@keystrokehq/ramp 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/actions/create-department.cjs +1 -1
- package/dist/actions/create-department.cjs.map +1 -1
- package/dist/actions/create-department.d.cts +1 -1
- package/dist/actions/create-department.d.mts +1 -1
- package/dist/actions/create-department.mjs +1 -1
- package/dist/actions/create-department.mjs.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.cjs +1 -1
- package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.cts +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.mts +1 -1
- package/dist/actions/create-inventory-item-accounting-field.mjs +1 -1
- package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
- package/dist/actions/create-memo.cjs +1 -1
- package/dist/actions/create-memo.cjs.map +1 -1
- package/dist/actions/create-memo.d.cts +1 -1
- package/dist/actions/create-memo.d.mts +1 -1
- package/dist/actions/create-memo.mjs +1 -1
- package/dist/actions/create-memo.mjs.map +1 -1
- package/dist/actions/create-mileage-reimbursement.cjs +9 -9
- package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
- package/dist/actions/create-mileage-reimbursement.d.cts +13 -13
- package/dist/actions/create-mileage-reimbursement.d.mts +13 -13
- package/dist/actions/create-mileage-reimbursement.mjs +9 -9
- package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.cjs +1 -1
- package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.cts +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.mts +1 -1
- package/dist/actions/create-new-custom-accounting-field.mjs +1 -1
- package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.cjs +1 -1
- package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.cts +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.mts +1 -1
- package/dist/actions/create-tax-code-accounting-field.mjs +1 -1
- package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
- package/dist/actions/create-user-invite.cjs +1 -1
- package/dist/actions/create-user-invite.cjs.map +1 -1
- package/dist/actions/create-user-invite.d.cts +1 -1
- package/dist/actions/create-user-invite.d.mts +1 -1
- package/dist/actions/create-user-invite.mjs +1 -1
- package/dist/actions/create-user-invite.mjs.map +1 -1
- package/dist/actions/create-webhook-subscription.cjs +3 -3
- package/dist/actions/create-webhook-subscription.cjs.map +1 -1
- package/dist/actions/create-webhook-subscription.d.cts +4 -4
- package/dist/actions/create-webhook-subscription.d.mts +4 -4
- package/dist/actions/create-webhook-subscription.mjs +3 -3
- package/dist/actions/create-webhook-subscription.mjs.map +1 -1
- package/dist/actions/deactivate-user.cjs +1 -1
- package/dist/actions/deactivate-user.cjs.map +1 -1
- package/dist/actions/deactivate-user.d.cts +1 -1
- package/dist/actions/deactivate-user.d.cts.map +1 -1
- package/dist/actions/deactivate-user.d.mts +1 -1
- package/dist/actions/deactivate-user.d.mts.map +1 -1
- package/dist/actions/deactivate-user.mjs +1 -1
- package/dist/actions/deactivate-user.mjs.map +1 -1
- package/dist/actions/delete-accounting-account.cjs +1 -1
- package/dist/actions/delete-accounting-account.cjs.map +1 -1
- package/dist/actions/delete-accounting-account.d.cts +1 -1
- package/dist/actions/delete-accounting-account.d.mts +1 -1
- package/dist/actions/delete-accounting-account.mjs +1 -1
- package/dist/actions/delete-accounting-account.mjs.map +1 -1
- package/dist/actions/delete-accounting-connection.cjs +1 -1
- package/dist/actions/delete-accounting-connection.cjs.map +1 -1
- package/dist/actions/delete-accounting-connection.d.cts +1 -1
- package/dist/actions/delete-accounting-connection.d.mts +1 -1
- package/dist/actions/delete-accounting-connection.mjs +1 -1
- package/dist/actions/delete-accounting-connection.mjs.map +1 -1
- package/dist/actions/delete-accounting-fields.cjs +1 -1
- package/dist/actions/delete-accounting-fields.cjs.map +1 -1
- package/dist/actions/delete-accounting-fields.d.cts +1 -1
- package/dist/actions/delete-accounting-fields.d.mts +1 -1
- package/dist/actions/delete-accounting-fields.mjs +1 -1
- package/dist/actions/delete-accounting-fields.mjs.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.d.cts +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.d.mts +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.cjs +1 -1
- package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.d.cts +1 -1
- package/dist/actions/delete-accounting-tax-code-options.d.mts +1 -1
- package/dist/actions/delete-accounting-tax-code-options.mjs +1 -1
- package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code.cjs +1 -1
- package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code.d.cts +1 -1
- package/dist/actions/delete-accounting-tax-code.d.mts +1 -1
- package/dist/actions/delete-accounting-tax-code.mjs +1 -1
- package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.cjs +1 -1
- package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.d.cts +1 -1
- package/dist/actions/delete-accounting-tax-rates.d.mts +1 -1
- package/dist/actions/delete-accounting-tax-rates.mjs +1 -1
- package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
- package/dist/actions/delete-accounting-vendors.cjs +1 -1
- package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
- package/dist/actions/delete-accounting-vendors.d.cts +1 -1
- package/dist/actions/delete-accounting-vendors.d.mts +1 -1
- package/dist/actions/delete-accounting-vendors.mjs +1 -1
- package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
- package/dist/actions/delete-custom-field-option.cjs +1 -1
- package/dist/actions/delete-custom-field-option.cjs.map +1 -1
- package/dist/actions/delete-custom-field-option.d.cts +1 -1
- package/dist/actions/delete-custom-field-option.d.mts +1 -1
- package/dist/actions/delete-custom-field-option.mjs +1 -1
- package/dist/actions/delete-custom-field-option.mjs.map +1 -1
- package/dist/actions/delete-inventory-item-field.cjs +1 -1
- package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
- package/dist/actions/delete-inventory-item-field.d.cts +1 -1
- package/dist/actions/delete-inventory-item-field.d.mts +1 -1
- package/dist/actions/delete-inventory-item-field.mjs +1 -1
- package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.cjs +8 -8
- package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.d.cts +13 -13
- package/dist/actions/delete-spend-allocation-delete-users.d.mts +13 -13
- package/dist/actions/delete-spend-allocation-delete-users.mjs +8 -8
- package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-accounting-account.cjs +2 -2
- package/dist/actions/fetch-accounting-account.cjs.map +1 -1
- package/dist/actions/fetch-accounting-account.d.cts +2 -2
- package/dist/actions/fetch-accounting-account.d.mts +2 -2
- package/dist/actions/fetch-accounting-account.mjs +2 -2
- package/dist/actions/fetch-accounting-account.mjs.map +1 -1
- package/dist/actions/fetch-accounting-vendor.cjs +2 -2
- package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
- package/dist/actions/fetch-accounting-vendor.d.cts +2 -2
- package/dist/actions/fetch-accounting-vendor.d.mts +2 -2
- package/dist/actions/fetch-accounting-vendor.mjs +2 -2
- package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.cjs +2 -2
- package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.d.cts +2 -2
- package/dist/actions/fetch-custom-accounting-field.d.mts +2 -2
- package/dist/actions/fetch-custom-accounting-field.mjs +2 -2
- package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/get-accounting-accounts.cjs +4 -4
- package/dist/actions/get-accounting-accounts.cjs.map +1 -1
- package/dist/actions/get-accounting-accounts.d.cts +4 -4
- package/dist/actions/get-accounting-accounts.d.mts +4 -4
- package/dist/actions/get-accounting-accounts.mjs +4 -4
- package/dist/actions/get-accounting-accounts.mjs.map +1 -1
- package/dist/actions/get-accounting-all-connections.cjs +2 -2
- package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
- package/dist/actions/get-accounting-all-connections.d.cts +2 -2
- package/dist/actions/get-accounting-all-connections.d.mts +2 -2
- package/dist/actions/get-accounting-all-connections.mjs +2 -2
- package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.cjs +2 -2
- package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.d.cts +2 -2
- package/dist/actions/get-accounting-connection-by-id.d.mts +2 -2
- package/dist/actions/get-accounting-connection-by-id.mjs +2 -2
- package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
- package/dist/actions/get-accounting-connection.cjs +2 -2
- package/dist/actions/get-accounting-connection.cjs.map +1 -1
- package/dist/actions/get-accounting-connection.d.cts +2 -2
- package/dist/actions/get-accounting-connection.d.mts +2 -2
- package/dist/actions/get-accounting-connection.mjs +2 -2
- package/dist/actions/get-accounting-connection.mjs.map +1 -1
- package/dist/actions/get-accounting-fields.cjs +3 -3
- package/dist/actions/get-accounting-fields.cjs.map +1 -1
- package/dist/actions/get-accounting-fields.d.cts +3 -3
- package/dist/actions/get-accounting-fields.d.mts +3 -3
- package/dist/actions/get-accounting-fields.mjs +3 -3
- package/dist/actions/get-accounting-fields.mjs.map +1 -1
- package/dist/actions/get-accounting-vendors.cjs +3 -3
- package/dist/actions/get-accounting-vendors.cjs.map +1 -1
- package/dist/actions/get-accounting-vendors.d.cts +3 -3
- package/dist/actions/get-accounting-vendors.d.mts +3 -3
- package/dist/actions/get-accounting-vendors.mjs +3 -3
- package/dist/actions/get-accounting-vendors.mjs.map +1 -1
- package/dist/actions/get-all-transactions.cjs +3 -3
- package/dist/actions/get-all-transactions.cjs.map +1 -1
- package/dist/actions/get-all-transactions.d.cts +3 -3
- package/dist/actions/get-all-transactions.d.mts +3 -3
- package/dist/actions/get-all-transactions.mjs +3 -3
- package/dist/actions/get-all-transactions.mjs.map +1 -1
- package/dist/actions/get-card-vault-resource.cjs +1 -1
- package/dist/actions/get-card-vault-resource.cjs.map +1 -1
- package/dist/actions/get-card-vault-resource.d.cts +1 -1
- package/dist/actions/get-card-vault-resource.d.mts +1 -1
- package/dist/actions/get-card-vault-resource.mjs +1 -1
- package/dist/actions/get-card-vault-resource.mjs.map +1 -1
- package/dist/actions/get-card.cjs +5 -5
- package/dist/actions/get-card.cjs.map +1 -1
- package/dist/actions/get-card.d.cts +5 -5
- package/dist/actions/get-card.d.mts +5 -5
- package/dist/actions/get-card.mjs +5 -5
- package/dist/actions/get-card.mjs.map +1 -1
- package/dist/actions/get-custom-field-option.cjs +1 -1
- package/dist/actions/get-custom-field-option.cjs.map +1 -1
- package/dist/actions/get-custom-field-option.d.cts +1 -1
- package/dist/actions/get-custom-field-option.d.mts +1 -1
- package/dist/actions/get-custom-field-option.mjs +1 -1
- package/dist/actions/get-custom-field-option.mjs.map +1 -1
- package/dist/actions/get-department.cjs +1 -1
- package/dist/actions/get-department.cjs.map +1 -1
- package/dist/actions/get-department.d.cts +1 -1
- package/dist/actions/get-department.d.mts +1 -1
- package/dist/actions/get-department.mjs +1 -1
- package/dist/actions/get-department.mjs.map +1 -1
- package/dist/actions/get-inventory-item-field.cjs +1 -1
- package/dist/actions/get-inventory-item-field.cjs.map +1 -1
- package/dist/actions/get-inventory-item-field.d.cts +1 -1
- package/dist/actions/get-inventory-item-field.d.mts +1 -1
- package/dist/actions/get-inventory-item-field.mjs +1 -1
- package/dist/actions/get-inventory-item-field.mjs.map +1 -1
- package/dist/actions/get-memo.cjs +1 -1
- package/dist/actions/get-memo.cjs.map +1 -1
- package/dist/actions/get-memo.d.cts +1 -1
- package/dist/actions/get-memo.d.mts +1 -1
- package/dist/actions/get-memo.mjs +1 -1
- package/dist/actions/get-memo.mjs.map +1 -1
- package/dist/actions/get-reimbursement.cjs +5 -5
- package/dist/actions/get-reimbursement.cjs.map +1 -1
- package/dist/actions/get-reimbursement.d.cts +7 -7
- package/dist/actions/get-reimbursement.d.mts +7 -7
- package/dist/actions/get-reimbursement.mjs +5 -5
- package/dist/actions/get-reimbursement.mjs.map +1 -1
- package/dist/actions/get-spend-limit.cjs +14 -14
- package/dist/actions/get-spend-limit.cjs.map +1 -1
- package/dist/actions/get-spend-limit.d.cts +19 -19
- package/dist/actions/get-spend-limit.d.mts +19 -19
- package/dist/actions/get-spend-limit.mjs +14 -14
- package/dist/actions/get-spend-limit.mjs.map +1 -1
- package/dist/actions/get-statement.cjs +1 -1
- package/dist/actions/get-statement.cjs.map +1 -1
- package/dist/actions/get-statement.d.cts +1 -1
- package/dist/actions/get-statement.d.mts +1 -1
- package/dist/actions/get-statement.mjs +1 -1
- package/dist/actions/get-statement.mjs.map +1 -1
- package/dist/actions/get-transaction.cjs +1 -1
- package/dist/actions/get-transaction.cjs.map +1 -1
- package/dist/actions/get-transaction.d.cts +1 -1
- package/dist/actions/get-transaction.d.mts +1 -1
- package/dist/actions/get-transaction.mjs +1 -1
- package/dist/actions/get-transaction.mjs.map +1 -1
- package/dist/actions/get-user.cjs +2 -2
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +2 -2
- package/dist/actions/get-user.d.mts +2 -2
- package/dist/actions/get-user.mjs +2 -2
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users-deferred-status.cjs +3 -3
- package/dist/actions/get-users-deferred-status.cjs.map +1 -1
- package/dist/actions/get-users-deferred-status.d.cts +3 -3
- package/dist/actions/get-users-deferred-status.d.mts +3 -3
- package/dist/actions/get-users-deferred-status.mjs +3 -3
- package/dist/actions/get-users-deferred-status.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +3 -3
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +6 -6
- package/dist/actions/get-vendor.d.mts +6 -6
- package/dist/actions/get-vendor.mjs +3 -3
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -1
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +1 -1
- package/dist/actions/get-webhook.d.mts +1 -1
- package/dist/actions/get-webhook.mjs +1 -1
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/issue-virtual-card.cjs +3 -3
- package/dist/actions/issue-virtual-card.cjs.map +1 -1
- package/dist/actions/issue-virtual-card.d.cts +3 -3
- package/dist/actions/issue-virtual-card.d.mts +3 -3
- package/dist/actions/issue-virtual-card.mjs +3 -3
- package/dist/actions/issue-virtual-card.mjs.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.cjs +3 -3
- package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.d.cts +3 -3
- package/dist/actions/list-accounting-inventory-item-options.d.mts +3 -3
- package/dist/actions/list-accounting-inventory-item-options.mjs +3 -3
- package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/list-accounting-tax-rates.cjs +3 -3
- package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
- package/dist/actions/list-accounting-tax-rates.d.cts +3 -3
- package/dist/actions/list-accounting-tax-rates.d.mts +3 -3
- package/dist/actions/list-accounting-tax-rates.mjs +3 -3
- package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
- package/dist/actions/list-cards.cjs +7 -7
- package/dist/actions/list-cards.cjs.map +1 -1
- package/dist/actions/list-cards.d.cts +7 -7
- package/dist/actions/list-cards.d.mts +7 -7
- package/dist/actions/list-cards.mjs +7 -7
- package/dist/actions/list-cards.mjs.map +1 -1
- package/dist/actions/list-departments.cjs +3 -3
- package/dist/actions/list-departments.cjs.map +1 -1
- package/dist/actions/list-departments.d.cts +3 -3
- package/dist/actions/list-departments.d.mts +3 -3
- package/dist/actions/list-departments.mjs +3 -3
- package/dist/actions/list-departments.mjs.map +1 -1
- package/dist/actions/list-memos.cjs +3 -3
- package/dist/actions/list-memos.cjs.map +1 -1
- package/dist/actions/list-memos.d.cts +3 -3
- package/dist/actions/list-memos.d.mts +3 -3
- package/dist/actions/list-memos.mjs +3 -3
- package/dist/actions/list-memos.mjs.map +1 -1
- package/dist/actions/list-reimbursements.cjs +7 -7
- package/dist/actions/list-reimbursements.cjs.map +1 -1
- package/dist/actions/list-reimbursements.d.cts +9 -9
- package/dist/actions/list-reimbursements.d.mts +9 -9
- package/dist/actions/list-reimbursements.mjs +7 -7
- package/dist/actions/list-reimbursements.mjs.map +1 -1
- package/dist/actions/list-statements.cjs +6 -6
- package/dist/actions/list-statements.cjs.map +1 -1
- package/dist/actions/list-statements.d.cts +15 -15
- package/dist/actions/list-statements.d.mts +15 -15
- package/dist/actions/list-statements.mjs +6 -6
- package/dist/actions/list-statements.mjs.map +1 -1
- package/dist/actions/list-users.cjs +4 -4
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +4 -4
- package/dist/actions/list-users.d.mts +4 -4
- package/dist/actions/list-users.mjs +4 -4
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-vendors-accounts.cjs +3 -3
- package/dist/actions/list-vendors-accounts.cjs.map +1 -1
- package/dist/actions/list-vendors-accounts.d.cts +3 -3
- package/dist/actions/list-vendors-accounts.d.mts +3 -3
- package/dist/actions/list-vendors-accounts.mjs +3 -3
- package/dist/actions/list-vendors-accounts.mjs.map +1 -1
- package/dist/actions/list-vendors-contacts.cjs +3 -3
- package/dist/actions/list-vendors-contacts.cjs.map +1 -1
- package/dist/actions/list-vendors-contacts.d.cts +3 -3
- package/dist/actions/list-vendors-contacts.d.mts +3 -3
- package/dist/actions/list-vendors-contacts.mjs +3 -3
- package/dist/actions/list-vendors-contacts.mjs.map +1 -1
- package/dist/actions/list-vendors-credits.cjs +9 -9
- package/dist/actions/list-vendors-credits.cjs.map +1 -1
- package/dist/actions/list-vendors-credits.d.cts +21 -21
- package/dist/actions/list-vendors-credits.d.mts +21 -21
- package/dist/actions/list-vendors-credits.mjs +9 -9
- package/dist/actions/list-vendors-credits.mjs.map +1 -1
- package/dist/actions/list-vendors.cjs +5 -5
- package/dist/actions/list-vendors.cjs.map +1 -1
- package/dist/actions/list-vendors.d.cts +6 -6
- package/dist/actions/list-vendors.d.mts +6 -6
- package/dist/actions/list-vendors.mjs +5 -5
- package/dist/actions/list-vendors.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +2 -2
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +2 -2
- package/dist/actions/list-webhooks.d.mts +2 -2
- package/dist/actions/list-webhooks.mjs +2 -2
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.cjs +3 -3
- package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.d.cts +3 -3
- package/dist/actions/options-for-custom-accounting-field.d.mts +3 -3
- package/dist/actions/options-for-custom-accounting-field.mjs +3 -3
- package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/patch-accounting-connection.cjs +2 -2
- package/dist/actions/patch-accounting-connection.cjs.map +1 -1
- package/dist/actions/patch-accounting-connection.d.cts +2 -2
- package/dist/actions/patch-accounting-connection.d.mts +2 -2
- package/dist/actions/patch-accounting-connection.mjs +2 -2
- package/dist/actions/patch-accounting-connection.mjs.map +1 -1
- package/dist/actions/patch-card-resource.cjs +1 -1
- package/dist/actions/patch-card-resource.cjs.map +1 -1
- package/dist/actions/patch-card-resource.d.cts +1 -1
- package/dist/actions/patch-card-resource.d.mts +1 -1
- package/dist/actions/patch-card-resource.mjs +1 -1
- package/dist/actions/patch-card-resource.mjs.map +1 -1
- package/dist/actions/patch-custom-field-option.cjs +1 -1
- package/dist/actions/patch-custom-field-option.cjs.map +1 -1
- package/dist/actions/patch-custom-field-option.d.cts +1 -1
- package/dist/actions/patch-custom-field-option.d.mts +1 -1
- package/dist/actions/patch-custom-field-option.mjs +1 -1
- package/dist/actions/patch-custom-field-option.mjs.map +1 -1
- package/dist/actions/patch-gl-account-resource.cjs +2 -2
- package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
- package/dist/actions/patch-gl-account-resource.d.cts +2 -2
- package/dist/actions/patch-gl-account-resource.d.mts +2 -2
- package/dist/actions/patch-gl-account-resource.mjs +2 -2
- package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
- package/dist/actions/patch-inventory-item-field.cjs +1 -1
- package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
- package/dist/actions/patch-inventory-item-field.d.cts +1 -1
- package/dist/actions/patch-inventory-item-field.d.mts +1 -1
- package/dist/actions/patch-inventory-item-field.mjs +1 -1
- package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
- package/dist/actions/post-accounting-accounts.cjs +4 -4
- package/dist/actions/post-accounting-accounts.cjs.map +1 -1
- package/dist/actions/post-accounting-accounts.d.cts +5 -4
- package/dist/actions/post-accounting-accounts.d.mts +5 -4
- package/dist/actions/post-accounting-accounts.mjs +4 -4
- package/dist/actions/post-accounting-accounts.mjs.map +1 -1
- package/dist/actions/post-accounting-connection.cjs +2 -2
- package/dist/actions/post-accounting-connection.cjs.map +1 -1
- package/dist/actions/post-accounting-connection.d.cts +2 -2
- package/dist/actions/post-accounting-connection.d.mts +2 -2
- package/dist/actions/post-accounting-connection.mjs +2 -2
- package/dist/actions/post-accounting-connection.mjs.map +1 -1
- package/dist/actions/post-accounting-vendors.cjs +4 -4
- package/dist/actions/post-accounting-vendors.cjs.map +1 -1
- package/dist/actions/post-accounting-vendors.d.cts +5 -4
- package/dist/actions/post-accounting-vendors.d.mts +5 -4
- package/dist/actions/post-accounting-vendors.mjs +4 -4
- package/dist/actions/post-accounting-vendors.mjs.map +1 -1
- package/dist/actions/post-inventory-item-options.cjs +3 -3
- package/dist/actions/post-inventory-item-options.cjs.map +1 -1
- package/dist/actions/post-inventory-item-options.d.cts +4 -3
- package/dist/actions/post-inventory-item-options.d.mts +4 -3
- package/dist/actions/post-inventory-item-options.mjs +3 -3
- package/dist/actions/post-inventory-item-options.mjs.map +1 -1
- package/dist/actions/post-physical-card.cjs +2 -2
- package/dist/actions/post-physical-card.cjs.map +1 -1
- package/dist/actions/post-physical-card.d.cts +3 -3
- package/dist/actions/post-physical-card.d.mts +3 -3
- package/dist/actions/post-physical-card.mjs +2 -2
- package/dist/actions/post-physical-card.mjs.map +1 -1
- package/dist/actions/reactivate-accounting-connection.cjs +2 -2
- package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
- package/dist/actions/reactivate-accounting-connection.d.cts +2 -2
- package/dist/actions/reactivate-accounting-connection.d.mts +2 -2
- package/dist/actions/reactivate-accounting-connection.mjs +2 -2
- package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
- package/dist/actions/reactivate-user.cjs +1 -1
- package/dist/actions/reactivate-user.cjs.map +1 -1
- package/dist/actions/reactivate-user.d.cts +1 -1
- package/dist/actions/reactivate-user.d.cts.map +1 -1
- package/dist/actions/reactivate-user.d.mts +1 -1
- package/dist/actions/reactivate-user.d.mts.map +1 -1
- package/dist/actions/reactivate-user.mjs +1 -1
- package/dist/actions/reactivate-user.mjs.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.cjs +9 -9
- package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.d.cts +13 -13
- package/dist/actions/submit-reimbursement-receipt.d.mts +13 -13
- package/dist/actions/submit-reimbursement-receipt.mjs +9 -9
- package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
- package/dist/actions/suspend-card.cjs +1 -1
- package/dist/actions/suspend-card.cjs.map +1 -1
- package/dist/actions/suspend-card.d.cts +1 -1
- package/dist/actions/suspend-card.d.mts +1 -1
- package/dist/actions/suspend-card.mjs +1 -1
- package/dist/actions/suspend-card.mjs.map +1 -1
- package/dist/actions/terminate-card.cjs +1 -1
- package/dist/actions/terminate-card.cjs.map +1 -1
- package/dist/actions/terminate-card.d.cts +1 -1
- package/dist/actions/terminate-card.d.mts +1 -1
- package/dist/actions/terminate-card.mjs +1 -1
- package/dist/actions/terminate-card.mjs.map +1 -1
- package/dist/actions/update-accounting-field.cjs +1 -1
- package/dist/actions/update-accounting-field.cjs.map +1 -1
- package/dist/actions/update-accounting-field.d.cts +1 -1
- package/dist/actions/update-accounting-field.d.mts +1 -1
- package/dist/actions/update-accounting-field.mjs +1 -1
- package/dist/actions/update-accounting-field.mjs.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.cjs +1 -1
- package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.cts +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.mts +1 -1
- package/dist/actions/update-accounting-inventory-item-options.mjs +1 -1
- package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.cjs +1 -1
- package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.cts +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.mts +1 -1
- package/dist/actions/update-accounting-tax-code-options.mjs +1 -1
- package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-code.cjs +1 -1
- package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-code.d.cts +1 -1
- package/dist/actions/update-accounting-tax-code.d.mts +1 -1
- package/dist/actions/update-accounting-tax-code.mjs +1 -1
- package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-rate.cjs +1 -1
- package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-rate.d.cts +1 -1
- package/dist/actions/update-accounting-tax-rate.d.mts +1 -1
- package/dist/actions/update-accounting-tax-rate.mjs +1 -1
- package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
- package/dist/actions/update-accounting-vendor.cjs +2 -2
- package/dist/actions/update-accounting-vendor.cjs.map +1 -1
- package/dist/actions/update-accounting-vendor.d.cts +2 -2
- package/dist/actions/update-accounting-vendor.d.mts +2 -2
- package/dist/actions/update-accounting-vendor.mjs +2 -2
- package/dist/actions/update-accounting-vendor.mjs.map +1 -1
- package/dist/actions/update-card-limit.cjs +4 -4
- package/dist/actions/update-card-limit.cjs.map +1 -1
- package/dist/actions/update-card-limit.d.cts +4 -4
- package/dist/actions/update-card-limit.d.mts +4 -4
- package/dist/actions/update-card-limit.mjs +4 -4
- package/dist/actions/update-card-limit.mjs.map +1 -1
- package/dist/actions/update-department.cjs +1 -1
- package/dist/actions/update-department.cjs.map +1 -1
- package/dist/actions/update-department.d.cts +1 -1
- package/dist/actions/update-department.d.mts +1 -1
- package/dist/actions/update-department.mjs +1 -1
- package/dist/actions/update-department.mjs.map +1 -1
- package/dist/actions/update-limits.cjs +9 -9
- package/dist/actions/update-limits.cjs.map +1 -1
- package/dist/actions/update-limits.d.cts +15 -14
- package/dist/actions/update-limits.d.mts +15 -14
- package/dist/actions/update-limits.mjs +9 -9
- package/dist/actions/update-limits.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -1
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +1 -1
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +1 -1
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -1
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/actions/upload-new-options.cjs +3 -3
- package/dist/actions/upload-new-options.cjs.map +1 -1
- package/dist/actions/upload-new-options.d.cts +4 -3
- package/dist/actions/upload-new-options.d.mts +4 -3
- package/dist/actions/upload-new-options.mjs +3 -3
- package/dist/actions/upload-new-options.mjs.map +1 -1
- package/dist/actions/upload-tax-code-options.cjs +3 -3
- package/dist/actions/upload-tax-code-options.cjs.map +1 -1
- package/dist/actions/upload-tax-code-options.d.cts +4 -3
- package/dist/actions/upload-tax-code-options.d.mts +4 -3
- package/dist/actions/upload-tax-code-options.mjs +3 -3
- package/dist/actions/upload-tax-code-options.mjs.map +1 -1
- package/dist/actions/upload-tax-rates.cjs +3 -3
- package/dist/actions/upload-tax-rates.cjs.map +1 -1
- package/dist/actions/upload-tax-rates.d.cts +4 -3
- package/dist/actions/upload-tax-rates.d.mts +4 -3
- package/dist/actions/upload-tax-rates.mjs +3 -3
- package/dist/actions/upload-tax-rates.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateUserInput = z.object({\n role: z.enum([\"AUDITOR\", \"BUSINESS_ADMIN\", \"BUSINESS_BOOKKEEPER\", \"BUSINESS_OWNER\", \"BUSINESS_USER\", \"GUEST_USER\", \"IT_ADMIN\"]).describe(\"User role in the Ramp organization.\").optional(),\n user_id: z.string().describe(\"Unique identifier of the user to update (UUID format)\"),\n last_name: z.string().describe(\"Last name of the user\").optional(),\n first_name: z.string().describe(\"First name of the user\").optional(),\n is_manager: z.boolean().describe(\"Whether the employee is a manager\").optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location (UUID format)\").optional(),\n auto_promote: z.boolean().describe(\"Whether to automatically promote the user's manager to manager role\").optional(),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format)\").optional(),\n direct_manager_id: z.string().describe(\"Unique identifier of the employee's direct manager (UUID format). Set to null to remove manager assignment.\").optional(),\n scheduled_deactivation_date: z.string().describe(\"The date when the user is scheduled to be deactivated (YYYY-MM-DD format). Set to null to clear the scheduled deactivation.\").optional(),\n});\nexport const RampUpdateUserOutput = z.
|
|
1
|
+
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateUserInput = z.object({\n role: z.enum([\"AUDITOR\", \"BUSINESS_ADMIN\", \"BUSINESS_BOOKKEEPER\", \"BUSINESS_OWNER\", \"BUSINESS_USER\", \"GUEST_USER\", \"IT_ADMIN\"]).describe(\"User role in the Ramp organization.\").optional(),\n user_id: z.string().describe(\"Unique identifier of the user to update (UUID format)\"),\n last_name: z.string().describe(\"Last name of the user\").optional(),\n first_name: z.string().describe(\"First name of the user\").optional(),\n is_manager: z.boolean().describe(\"Whether the employee is a manager\").optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location (UUID format)\").optional(),\n auto_promote: z.boolean().describe(\"Whether to automatically promote the user's manager to manager role\").optional(),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format)\").optional(),\n direct_manager_id: z.string().describe(\"Unique identifier of the employee's direct manager (UUID format). Set to null to remove manager assignment.\").optional(),\n scheduled_deactivation_date: z.string().describe(\"The date when the user is scheduled to be deactivated (YYYY-MM-DD format). Set to null to clear the scheduled deactivation.\").optional(),\n});\nexport const RampUpdateUserOutput = z.record(z.string(), z.unknown()).describe(\"Response from updating a user. Returns 204 No Content on success.\");\n\nexport const rampUpdateUser = action(\"RAMP_UPDATE_USER\", {\n slug: \"ramp-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user in your Ramp organization. Use when modifying user information such as name, department, role, or manager assignments.\",\n input: RampUpdateUserInput,\n output: RampUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAkB;EAAuB;EAAkB;EAAiB;EAAc;CAAU,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACzL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC/J,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;AAC3L,CAAC;AACD,MAAa,uBAAuBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAElJ,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ declare const RampUpdateUserInput: z.ZodObject<{
|
|
|
21
21
|
direct_manager_id: z.ZodOptional<z.ZodString>;
|
|
22
22
|
scheduled_deactivation_date: z.ZodOptional<z.ZodString>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
|
-
declare const RampUpdateUserOutput: z.
|
|
24
|
+
declare const RampUpdateUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25
25
|
declare const rampUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
user_id: string;
|
|
27
27
|
role?: "AUDITOR" | "BUSINESS_ADMIN" | "BUSINESS_BOOKKEEPER" | "BUSINESS_OWNER" | "BUSINESS_USER" | "GUEST_USER" | "IT_ADMIN" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -21,7 +21,7 @@ declare const RampUpdateUserInput: z.ZodObject<{
|
|
|
21
21
|
direct_manager_id: z.ZodOptional<z.ZodString>;
|
|
22
22
|
scheduled_deactivation_date: z.ZodOptional<z.ZodString>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
|
-
declare const RampUpdateUserOutput: z.
|
|
24
|
+
declare const RampUpdateUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25
25
|
declare const rampUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
user_id: string;
|
|
27
27
|
role?: "AUDITOR" | "BUSINESS_ADMIN" | "BUSINESS_BOOKKEEPER" | "BUSINESS_OWNER" | "BUSINESS_USER" | "GUEST_USER" | "IT_ADMIN" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -24,7 +24,7 @@ const rampUpdateUser = action("RAMP_UPDATE_USER", {
|
|
|
24
24
|
direct_manager_id: z.string().describe("Unique identifier of the employee's direct manager (UUID format). Set to null to remove manager assignment.").optional(),
|
|
25
25
|
scheduled_deactivation_date: z.string().describe("The date when the user is scheduled to be deactivated (YYYY-MM-DD format). Set to null to clear the scheduled deactivation.").optional()
|
|
26
26
|
}),
|
|
27
|
-
output: z.
|
|
27
|
+
output: z.record(z.string(), z.unknown()).describe("Response from updating a user. Returns 204 No Content on success.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { rampUpdateUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateUserInput = z.object({\n role: z.enum([\"AUDITOR\", \"BUSINESS_ADMIN\", \"BUSINESS_BOOKKEEPER\", \"BUSINESS_OWNER\", \"BUSINESS_USER\", \"GUEST_USER\", \"IT_ADMIN\"]).describe(\"User role in the Ramp organization.\").optional(),\n user_id: z.string().describe(\"Unique identifier of the user to update (UUID format)\"),\n last_name: z.string().describe(\"Last name of the user\").optional(),\n first_name: z.string().describe(\"First name of the user\").optional(),\n is_manager: z.boolean().describe(\"Whether the employee is a manager\").optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location (UUID format)\").optional(),\n auto_promote: z.boolean().describe(\"Whether to automatically promote the user's manager to manager role\").optional(),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format)\").optional(),\n direct_manager_id: z.string().describe(\"Unique identifier of the employee's direct manager (UUID format). Set to null to remove manager assignment.\").optional(),\n scheduled_deactivation_date: z.string().describe(\"The date when the user is scheduled to be deactivated (YYYY-MM-DD format). Set to null to clear the scheduled deactivation.\").optional(),\n});\nexport const RampUpdateUserOutput = z.
|
|
1
|
+
{"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateUserInput = z.object({\n role: z.enum([\"AUDITOR\", \"BUSINESS_ADMIN\", \"BUSINESS_BOOKKEEPER\", \"BUSINESS_OWNER\", \"BUSINESS_USER\", \"GUEST_USER\", \"IT_ADMIN\"]).describe(\"User role in the Ramp organization.\").optional(),\n user_id: z.string().describe(\"Unique identifier of the user to update (UUID format)\"),\n last_name: z.string().describe(\"Last name of the user\").optional(),\n first_name: z.string().describe(\"First name of the user\").optional(),\n is_manager: z.boolean().describe(\"Whether the employee is a manager\").optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location (UUID format)\").optional(),\n auto_promote: z.boolean().describe(\"Whether to automatically promote the user's manager to manager role\").optional(),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format)\").optional(),\n direct_manager_id: z.string().describe(\"Unique identifier of the employee's direct manager (UUID format). Set to null to remove manager assignment.\").optional(),\n scheduled_deactivation_date: z.string().describe(\"The date when the user is scheduled to be deactivated (YYYY-MM-DD format). Set to null to clear the scheduled deactivation.\").optional(),\n});\nexport const RampUpdateUserOutput = z.record(z.string(), z.unknown()).describe(\"Response from updating a user. Returns 204 No Content on success.\");\n\nexport const rampUpdateUser = action(\"RAMP_UPDATE_USER\", {\n slug: \"ramp-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user in your Ramp organization. Use when modifying user information such as name, department, role, or manager assignments.\",\n input: RampUpdateUserInput,\n output: RampUpdateUserOutput,\n});\n"],"mappings":";;AAkBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBiC,EAAE,OAAO;EAC1C,MAAM,EAAE,KAAK;GAAC;GAAW;GAAkB;GAAuB;GAAkB;GAAiB;GAAc;EAAU,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACzL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACnE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACxG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACnH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC5G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EAC/J,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CAC3L,CAOS;CACP,QAPkC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAOrE;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const RampUploadNewOptionsInput = zod.z.object({
|
|
|
6
6
|
id: zod.z.string().describe("Remote/external ID of custom accounting field option from ERP system."),
|
|
7
7
|
code: zod.z.string().describe("Code of the custom accounting field option; e.g. 400-100.").optional(),
|
|
8
8
|
value: zod.z.string().describe("e.g. Employees:Salaries & Wages")
|
|
9
|
-
})).describe("A list of field options for a given custom accounting field."),
|
|
9
|
+
}).passthrough()).describe("A list of field options for a given custom accounting field."),
|
|
10
10
|
field_id: zod.z.string().describe("UUID of the custom accounting field.")
|
|
11
11
|
});
|
|
12
12
|
const RampUploadNewOptions_UploadedOptionSchema = zod.z.object({
|
|
@@ -21,12 +21,12 @@ const RampUploadNewOptions_UploadedOptionSchema = zod.z.object({
|
|
|
21
21
|
display_name: zod.z.string().describe("Optional display name for the field option.").nullable().optional(),
|
|
22
22
|
provider_name: zod.z.string().describe("The name of the accounting provider (e.g., XERO, NETSUITE).").nullable().optional(),
|
|
23
23
|
accounting_connection_id: zod.z.string().describe("The accounting connection ID associated with this option.").nullable().optional()
|
|
24
|
-
}).describe("Represents an individual uploaded field option in the response.");
|
|
24
|
+
}).passthrough().describe("Represents an individual uploaded field option in the response.");
|
|
25
25
|
const RampUploadNewOptionsOutput = zod.z.object({
|
|
26
26
|
options: zod.z.array(RampUploadNewOptions_UploadedOptionSchema).describe("List of field option objects that were uploaded."),
|
|
27
27
|
uploaded: zod.z.array(zod.z.string()).describe("List of ramp_ids for the newly uploaded field options."),
|
|
28
28
|
accounting_connection_id: zod.z.string().describe("The accounting connection ID associated with the uploaded options.").nullable().optional()
|
|
29
|
-
}).describe("Response from uploading new options for a custom accounting field.");
|
|
29
|
+
}).passthrough().describe("Response from uploading new options for a custom accounting field.");
|
|
30
30
|
const rampUploadNewOptions = require_action.action("RAMP_UPLOAD_NEW_OPTIONS", {
|
|
31
31
|
slug: "ramp-upload-new-options",
|
|
32
32
|
name: "Upload New Options for Custom Accounting Field",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-new-options.cjs","names":["z","action"],"sources":["../../src/actions/upload-new-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadNewOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field option from ERP system.\"),\n code: z.string().describe(\"Code of the custom accounting field option; e.g. 400-100.\").optional(),\n value: z.string().describe(\"e.g. Employees:Salaries & Wages\"),\n})).describe(\"A list of field options for a given custom accounting field.\"),\n field_id: z.string().describe(\"UUID of the custom accounting field.\"),\n});\nconst RampUploadNewOptions_UploadedOptionSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the custom accounting field option.\").nullable(),\n code: z.string().describe(\"Code of the custom accounting field option.\").nullable().optional(),\n value: z.string().describe(\"The display value of the field option.\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the field option.\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the field option is currently active.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the field option was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the field option was last updated.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility status of the field option (e.g., VISIBLE).\").nullable().optional(),\n display_name: z.string().describe(\"Optional display name for the field option.\").nullable().optional(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., XERO, NETSUITE).\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this option.\").nullable().optional(),\n}).describe(\"Represents an individual uploaded field option in the response.\");\nexport const RampUploadNewOptionsOutput = z.object({\n options: z.array(RampUploadNewOptions_UploadedOptionSchema).describe(\"List of field option objects that were uploaded.\"),\n uploaded: z.array(z.string()).describe(\"List of ramp_ids for the newly uploaded field options.\"),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with the uploaded options.\").nullable().optional(),\n}).describe(\"Response from uploading new options for a custom accounting field.\");\n\nexport const rampUploadNewOptions = action(\"RAMP_UPLOAD_NEW_OPTIONS\", {\n slug: \"ramp-upload-new-options\",\n name: \"Upload New Options for Custom Accounting Field\",\n description: \"Tool for uploading new options for a given accounting field.\",\n input: RampUploadNewOptionsInput,\n output: RampUploadNewOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;
|
|
1
|
+
{"version":3,"file":"upload-new-options.cjs","names":["z","action"],"sources":["../../src/actions/upload-new-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadNewOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field option from ERP system.\"),\n code: z.string().describe(\"Code of the custom accounting field option; e.g. 400-100.\").optional(),\n value: z.string().describe(\"e.g. Employees:Salaries & Wages\"),\n}).passthrough()).describe(\"A list of field options for a given custom accounting field.\"),\n field_id: z.string().describe(\"UUID of the custom accounting field.\"),\n});\nconst RampUploadNewOptions_UploadedOptionSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the custom accounting field option.\").nullable(),\n code: z.string().describe(\"Code of the custom accounting field option.\").nullable().optional(),\n value: z.string().describe(\"The display value of the field option.\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the field option.\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the field option is currently active.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the field option was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the field option was last updated.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility status of the field option (e.g., VISIBLE).\").nullable().optional(),\n display_name: z.string().describe(\"Optional display name for the field option.\").nullable().optional(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., XERO, NETSUITE).\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this option.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual uploaded field option in the response.\");\nexport const RampUploadNewOptionsOutput = z.object({\n options: z.array(RampUploadNewOptions_UploadedOptionSchema).describe(\"List of field option objects that were uploaded.\"),\n uploaded: z.array(z.string()).describe(\"List of ramp_ids for the newly uploaded field options.\"),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with the uploaded options.\").nullable().optional(),\n}).passthrough().describe(\"Response from uploading new options for a custom accounting field.\");\n\nexport const rampUploadNewOptions = action(\"RAMP_UPLOAD_NEW_OPTIONS\", {\n slug: \"ramp-upload-new-options\",\n name: \"Upload New Options for Custom Accounting Field\",\n description: \"Tool for uploading new options for a given accounting field.\",\n input: RampUploadNewOptionsInput,\n output: RampUploadNewOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACtE,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kDAAkD;CACvH,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD;CAC/F,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const RampUploadNewOptionsInput: z.ZodObject<{
|
|
|
6
6
|
id: z.ZodString;
|
|
7
7
|
code: z.ZodOptional<z.ZodString>;
|
|
8
8
|
value: z.ZodString;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
10
|
field_id: z.ZodString;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const RampUploadNewOptionsOutput: z.ZodObject<{
|
|
@@ -22,12 +22,13 @@ declare const RampUploadNewOptionsOutput: z.ZodObject<{
|
|
|
22
22
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
26
|
uploaded: z.ZodArray<z.ZodString>;
|
|
27
27
|
accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const rampUploadNewOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
options: {
|
|
31
|
+
[x: string]: unknown;
|
|
31
32
|
id: string;
|
|
32
33
|
value: string;
|
|
33
34
|
code?: string | undefined;
|
|
@@ -6,7 +6,7 @@ declare const RampUploadNewOptionsInput: z.ZodObject<{
|
|
|
6
6
|
id: z.ZodString;
|
|
7
7
|
code: z.ZodOptional<z.ZodString>;
|
|
8
8
|
value: z.ZodString;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
10
|
field_id: z.ZodString;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const RampUploadNewOptionsOutput: z.ZodObject<{
|
|
@@ -22,12 +22,13 @@ declare const RampUploadNewOptionsOutput: z.ZodObject<{
|
|
|
22
22
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
26
|
uploaded: z.ZodArray<z.ZodString>;
|
|
27
27
|
accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const rampUploadNewOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
options: {
|
|
31
|
+
[x: string]: unknown;
|
|
31
32
|
id: string;
|
|
32
33
|
value: string;
|
|
33
34
|
code?: string | undefined;
|
|
@@ -6,7 +6,7 @@ const RampUploadNewOptionsInput = z.object({
|
|
|
6
6
|
id: z.string().describe("Remote/external ID of custom accounting field option from ERP system."),
|
|
7
7
|
code: z.string().describe("Code of the custom accounting field option; e.g. 400-100.").optional(),
|
|
8
8
|
value: z.string().describe("e.g. Employees:Salaries & Wages")
|
|
9
|
-
})).describe("A list of field options for a given custom accounting field."),
|
|
9
|
+
}).passthrough()).describe("A list of field options for a given custom accounting field."),
|
|
10
10
|
field_id: z.string().describe("UUID of the custom accounting field.")
|
|
11
11
|
});
|
|
12
12
|
const RampUploadNewOptions_UploadedOptionSchema = z.object({
|
|
@@ -21,7 +21,7 @@ const RampUploadNewOptions_UploadedOptionSchema = z.object({
|
|
|
21
21
|
display_name: z.string().describe("Optional display name for the field option.").nullable().optional(),
|
|
22
22
|
provider_name: z.string().describe("The name of the accounting provider (e.g., XERO, NETSUITE).").nullable().optional(),
|
|
23
23
|
accounting_connection_id: z.string().describe("The accounting connection ID associated with this option.").nullable().optional()
|
|
24
|
-
}).describe("Represents an individual uploaded field option in the response.");
|
|
24
|
+
}).passthrough().describe("Represents an individual uploaded field option in the response.");
|
|
25
25
|
const rampUploadNewOptions = action("RAMP_UPLOAD_NEW_OPTIONS", {
|
|
26
26
|
slug: "ramp-upload-new-options",
|
|
27
27
|
name: "Upload New Options for Custom Accounting Field",
|
|
@@ -31,7 +31,7 @@ const rampUploadNewOptions = action("RAMP_UPLOAD_NEW_OPTIONS", {
|
|
|
31
31
|
options: z.array(RampUploadNewOptions_UploadedOptionSchema).describe("List of field option objects that were uploaded."),
|
|
32
32
|
uploaded: z.array(z.string()).describe("List of ramp_ids for the newly uploaded field options."),
|
|
33
33
|
accounting_connection_id: z.string().describe("The accounting connection ID associated with the uploaded options.").nullable().optional()
|
|
34
|
-
}).describe("Response from uploading new options for a custom accounting field.")
|
|
34
|
+
}).passthrough().describe("Response from uploading new options for a custom accounting field.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { rampUploadNewOptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-new-options.mjs","names":[],"sources":["../../src/actions/upload-new-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadNewOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field option from ERP system.\"),\n code: z.string().describe(\"Code of the custom accounting field option; e.g. 400-100.\").optional(),\n value: z.string().describe(\"e.g. Employees:Salaries & Wages\"),\n})).describe(\"A list of field options for a given custom accounting field.\"),\n field_id: z.string().describe(\"UUID of the custom accounting field.\"),\n});\nconst RampUploadNewOptions_UploadedOptionSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the custom accounting field option.\").nullable(),\n code: z.string().describe(\"Code of the custom accounting field option.\").nullable().optional(),\n value: z.string().describe(\"The display value of the field option.\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the field option.\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the field option is currently active.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the field option was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the field option was last updated.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility status of the field option (e.g., VISIBLE).\").nullable().optional(),\n display_name: z.string().describe(\"Optional display name for the field option.\").nullable().optional(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., XERO, NETSUITE).\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this option.\").nullable().optional(),\n}).describe(\"Represents an individual uploaded field option in the response.\");\nexport const RampUploadNewOptionsOutput = z.object({\n options: z.array(RampUploadNewOptions_UploadedOptionSchema).describe(\"List of field option objects that were uploaded.\"),\n uploaded: z.array(z.string()).describe(\"List of ramp_ids for the newly uploaded field options.\"),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with the uploaded options.\").nullable().optional(),\n}).describe(\"Response from uploading new options for a custom accounting field.\");\n\nexport const rampUploadNewOptions = action(\"RAMP_UPLOAD_NEW_OPTIONS\", {\n slug: \"ramp-upload-new-options\",\n name: \"Upload New Options for Custom Accounting Field\",\n description: \"Tool for uploading new options for a given accounting field.\",\n input: RampUploadNewOptionsInput,\n output: RampUploadNewOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;
|
|
1
|
+
{"version":3,"file":"upload-new-options.mjs","names":[],"sources":["../../src/actions/upload-new-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadNewOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field option from ERP system.\"),\n code: z.string().describe(\"Code of the custom accounting field option; e.g. 400-100.\").optional(),\n value: z.string().describe(\"e.g. Employees:Salaries & Wages\"),\n}).passthrough()).describe(\"A list of field options for a given custom accounting field.\"),\n field_id: z.string().describe(\"UUID of the custom accounting field.\"),\n});\nconst RampUploadNewOptions_UploadedOptionSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the custom accounting field option.\").nullable(),\n code: z.string().describe(\"Code of the custom accounting field option.\").nullable().optional(),\n value: z.string().describe(\"The display value of the field option.\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the field option.\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the field option is currently active.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the field option was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the field option was last updated.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility status of the field option (e.g., VISIBLE).\").nullable().optional(),\n display_name: z.string().describe(\"Optional display name for the field option.\").nullable().optional(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., XERO, NETSUITE).\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this option.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual uploaded field option in the response.\");\nexport const RampUploadNewOptionsOutput = z.object({\n options: z.array(RampUploadNewOptions_UploadedOptionSchema).describe(\"List of field option objects that were uploaded.\"),\n uploaded: z.array(z.string()).describe(\"List of ramp_ids for the newly uploaded field options.\"),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with the uploaded options.\").nullable().optional(),\n}).passthrough().describe(\"Response from uploading new options for a custom accounting field.\");\n\nexport const rampUploadNewOptions = action(\"RAMP_UPLOAD_NEW_OPTIONS\", {\n slug: \"ramp-upload-new-options\",\n name: \"Upload New Options for Custom Accounting Field\",\n description: \"Tool for uploading new options for a given accounting field.\",\n input: RampUploadNewOptionsInput,\n output: RampUploadNewOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACtE,CAAC;AACD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAO3F,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kDAAkD;EACvH,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD;EAC/F,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RampUploadTaxCodeOptionsInput = zod.z.object({ options: zod.z.array(zod.z.
|
|
|
5
5
|
id: zod.z.string().describe("Unique identifier for the tax code option (from your accounting system)"),
|
|
6
6
|
name: zod.z.string().describe("Display name of the tax code option"),
|
|
7
7
|
tax_rate_ids: zod.z.array(zod.z.string()).describe("List of tax rate IDs associated with this tax code option").optional()
|
|
8
|
-
}).describe("A tax code option to be uploaded.")).describe("A list of tax code options to upload. Must contain at least 1 option and at most 500 options per API call.") }).describe("Request to upload tax code options to Ramp.");
|
|
8
|
+
}).passthrough().describe("A tax code option to be uploaded.")).describe("A list of tax code options to upload. Must contain at least 1 option and at most 500 options per API call.") }).describe("Request to upload tax code options to Ramp.");
|
|
9
9
|
const RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("Remote/external ID of the tax code option").nullable(),
|
|
11
11
|
name: zod.z.string().describe("Display name of the tax code option").nullable(),
|
|
@@ -13,8 +13,8 @@ const RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema = zod.z.object({
|
|
|
13
13
|
is_active: zod.z.boolean().describe("Whether the tax code option is active").nullable(),
|
|
14
14
|
tax_rate_ids: zod.z.array(zod.z.string()).describe("List of tax rate IDs associated with this tax code option"),
|
|
15
15
|
accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the tax code option is associated with").nullable()
|
|
16
|
-
}).describe("A successfully uploaded tax code option with full details.");
|
|
17
|
-
const RampUploadTaxCodeOptionsOutput = zod.z.object({ options: zod.z.array(RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema).describe("A list of tax code options that were successfully uploaded") }).describe("Response from uploading tax code options.");
|
|
16
|
+
}).passthrough().describe("A successfully uploaded tax code option with full details.");
|
|
17
|
+
const RampUploadTaxCodeOptionsOutput = zod.z.object({ options: zod.z.array(RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema).describe("A list of tax code options that were successfully uploaded") }).passthrough().describe("Response from uploading tax code options.");
|
|
18
18
|
const rampUploadTaxCodeOptions = require_action.action("RAMP_UPLOAD_TAX_CODE_OPTIONS", {
|
|
19
19
|
slug: "ramp-upload-tax-code-options",
|
|
20
20
|
name: "Upload Tax Code Options",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-tax-code-options.cjs","names":["z","action"],"sources":["../../src/actions/upload-tax-code-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadTaxCodeOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the tax code option (from your accounting system)\"),\n name: z.string().describe(\"Display name of the tax code option\"),\n tax_rate_ids: z.array(z.string()).describe(\"List of tax rate IDs associated with this tax code option\").optional(),\n}).describe(\"A tax code option to be uploaded.\")).describe(\"A list of tax code options to upload. Must contain at least 1 option and at most 500 options per API call.\"),\n}).describe(\"Request to upload tax code options to Ramp.\");\nconst RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the tax code option\").nullable(),\n name: z.string().describe(\"Display name of the tax code option\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this tax code option\").nullable(),\n is_active: z.boolean().describe(\"Whether the tax code option is active\").nullable(),\n tax_rate_ids: z.array(z.string()).describe(\"List of tax rate IDs associated with this tax code option\"),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code option is associated with\").nullable(),\n}).describe(\"A successfully uploaded tax code option with full details.\");\nexport const RampUploadTaxCodeOptionsOutput = z.object({\n options: z.array(RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema).describe(\"A list of tax code options that were successfully uploaded\"),\n}).describe(\"Response from uploading tax code options.\");\n\nexport const rampUploadTaxCodeOptions = action(\"RAMP_UPLOAD_TAX_CODE_OPTIONS\", {\n slug: \"ramp-upload-tax-code-options\",\n name: \"Upload Tax Code Options\",\n description: \"Tool to upload tax code options to Ramp. Use when you need to create or update tax codes in the accounting system. Requires an active tax code accounting field for the accounting connection.\",\n input: RampUploadTaxCodeOptionsInput,\n output: RampUploadTaxCodeOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,4GAA4G,
|
|
1
|
+
{"version":3,"file":"upload-tax-code-options.cjs","names":["z","action"],"sources":["../../src/actions/upload-tax-code-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadTaxCodeOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the tax code option (from your accounting system)\"),\n name: z.string().describe(\"Display name of the tax code option\"),\n tax_rate_ids: z.array(z.string()).describe(\"List of tax rate IDs associated with this tax code option\").optional(),\n}).passthrough().describe(\"A tax code option to be uploaded.\")).describe(\"A list of tax code options to upload. Must contain at least 1 option and at most 500 options per API call.\"),\n}).describe(\"Request to upload tax code options to Ramp.\");\nconst RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the tax code option\").nullable(),\n name: z.string().describe(\"Display name of the tax code option\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this tax code option\").nullable(),\n is_active: z.boolean().describe(\"Whether the tax code option is active\").nullable(),\n tax_rate_ids: z.array(z.string()).describe(\"List of tax rate IDs associated with this tax code option\"),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code option is associated with\").nullable(),\n}).passthrough().describe(\"A successfully uploaded tax code option with full details.\");\nexport const RampUploadTaxCodeOptionsOutput = z.object({\n options: z.array(RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema).describe(\"A list of tax code options that were successfully uploaded\"),\n}).passthrough().describe(\"Response from uploading tax code options.\");\n\nexport const rampUploadTaxCodeOptions = action(\"RAMP_UPLOAD_TAX_CODE_OPTIONS\", {\n slug: \"ramp-upload-tax-code-options\",\n name: \"Upload Tax Code Options\",\n description: \"Tool to upload tax code options to Ramp. Use when you need to create or update tax codes in the accounting system. Requires an active tax code accounting field for the accounting connection.\",\n input: RampUploadTaxCodeOptionsInput,\n output: RampUploadTaxCodeOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,4GAA4G,EACrL,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;CACtG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,4DAA4D,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const RampUploadTaxCodeOptionsInput: z.ZodObject<{
|
|
|
6
6
|
id: z.ZodString;
|
|
7
7
|
name: z.ZodString;
|
|
8
8
|
tax_rate_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const RampUploadTaxCodeOptionsOutput: z.ZodObject<{
|
|
12
12
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -16,10 +16,11 @@ declare const RampUploadTaxCodeOptionsOutput: z.ZodObject<{
|
|
|
16
16
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
17
17
|
tax_rate_ids: z.ZodArray<z.ZodString>;
|
|
18
18
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const rampUploadTaxCodeOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
options: {
|
|
23
|
+
[x: string]: unknown;
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|
|
25
26
|
tax_rate_ids?: string[] | undefined;
|
|
@@ -6,7 +6,7 @@ declare const RampUploadTaxCodeOptionsInput: z.ZodObject<{
|
|
|
6
6
|
id: z.ZodString;
|
|
7
7
|
name: z.ZodString;
|
|
8
8
|
tax_rate_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const RampUploadTaxCodeOptionsOutput: z.ZodObject<{
|
|
12
12
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -16,10 +16,11 @@ declare const RampUploadTaxCodeOptionsOutput: z.ZodObject<{
|
|
|
16
16
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
17
17
|
tax_rate_ids: z.ZodArray<z.ZodString>;
|
|
18
18
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const rampUploadTaxCodeOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
options: {
|
|
23
|
+
[x: string]: unknown;
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|
|
25
26
|
tax_rate_ids?: string[] | undefined;
|
|
@@ -5,7 +5,7 @@ const RampUploadTaxCodeOptionsInput = z.object({ options: z.array(z.object({
|
|
|
5
5
|
id: z.string().describe("Unique identifier for the tax code option (from your accounting system)"),
|
|
6
6
|
name: z.string().describe("Display name of the tax code option"),
|
|
7
7
|
tax_rate_ids: z.array(z.string()).describe("List of tax rate IDs associated with this tax code option").optional()
|
|
8
|
-
}).describe("A tax code option to be uploaded.")).describe("A list of tax code options to upload. Must contain at least 1 option and at most 500 options per API call.") }).describe("Request to upload tax code options to Ramp.");
|
|
8
|
+
}).passthrough().describe("A tax code option to be uploaded.")).describe("A list of tax code options to upload. Must contain at least 1 option and at most 500 options per API call.") }).describe("Request to upload tax code options to Ramp.");
|
|
9
9
|
const RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema = z.object({
|
|
10
10
|
id: z.string().describe("Remote/external ID of the tax code option").nullable(),
|
|
11
11
|
name: z.string().describe("Display name of the tax code option").nullable(),
|
|
@@ -13,13 +13,13 @@ const RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema = z.object({
|
|
|
13
13
|
is_active: z.boolean().describe("Whether the tax code option is active").nullable(),
|
|
14
14
|
tax_rate_ids: z.array(z.string()).describe("List of tax rate IDs associated with this tax code option"),
|
|
15
15
|
accounting_connection_id: z.string().describe("ID of the accounting connection that the tax code option is associated with").nullable()
|
|
16
|
-
}).describe("A successfully uploaded tax code option with full details.");
|
|
16
|
+
}).passthrough().describe("A successfully uploaded tax code option with full details.");
|
|
17
17
|
const rampUploadTaxCodeOptions = action("RAMP_UPLOAD_TAX_CODE_OPTIONS", {
|
|
18
18
|
slug: "ramp-upload-tax-code-options",
|
|
19
19
|
name: "Upload Tax Code Options",
|
|
20
20
|
description: "Tool to upload tax code options to Ramp. Use when you need to create or update tax codes in the accounting system. Requires an active tax code accounting field for the accounting connection.",
|
|
21
21
|
input: RampUploadTaxCodeOptionsInput,
|
|
22
|
-
output: z.object({ options: z.array(RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema).describe("A list of tax code options that were successfully uploaded") }).describe("Response from uploading tax code options.")
|
|
22
|
+
output: z.object({ options: z.array(RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema).describe("A list of tax code options that were successfully uploaded") }).passthrough().describe("Response from uploading tax code options.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { rampUploadTaxCodeOptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-tax-code-options.mjs","names":[],"sources":["../../src/actions/upload-tax-code-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadTaxCodeOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the tax code option (from your accounting system)\"),\n name: z.string().describe(\"Display name of the tax code option\"),\n tax_rate_ids: z.array(z.string()).describe(\"List of tax rate IDs associated with this tax code option\").optional(),\n}).describe(\"A tax code option to be uploaded.\")).describe(\"A list of tax code options to upload. Must contain at least 1 option and at most 500 options per API call.\"),\n}).describe(\"Request to upload tax code options to Ramp.\");\nconst RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the tax code option\").nullable(),\n name: z.string().describe(\"Display name of the tax code option\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this tax code option\").nullable(),\n is_active: z.boolean().describe(\"Whether the tax code option is active\").nullable(),\n tax_rate_ids: z.array(z.string()).describe(\"List of tax rate IDs associated with this tax code option\"),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code option is associated with\").nullable(),\n}).describe(\"A successfully uploaded tax code option with full details.\");\nexport const RampUploadTaxCodeOptionsOutput = z.object({\n options: z.array(RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema).describe(\"A list of tax code options that were successfully uploaded\"),\n}).describe(\"Response from uploading tax code options.\");\n\nexport const rampUploadTaxCodeOptions = action(\"RAMP_UPLOAD_TAX_CODE_OPTIONS\", {\n slug: \"ramp-upload-tax-code-options\",\n name: \"Upload Tax Code Options\",\n description: \"Tool to upload tax code options to Ramp. Use when you need to create or update tax codes in the accounting system. Requires an active tax code accounting field for the accounting connection.\",\n input: RampUploadTaxCodeOptionsInput,\n output: RampUploadTaxCodeOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,SAAS,EAAE,MAAM,EAAE,OAAO;CAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,4GAA4G,
|
|
1
|
+
{"version":3,"file":"upload-tax-code-options.mjs","names":[],"sources":["../../src/actions/upload-tax-code-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadTaxCodeOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the tax code option (from your accounting system)\"),\n name: z.string().describe(\"Display name of the tax code option\"),\n tax_rate_ids: z.array(z.string()).describe(\"List of tax rate IDs associated with this tax code option\").optional(),\n}).passthrough().describe(\"A tax code option to be uploaded.\")).describe(\"A list of tax code options to upload. Must contain at least 1 option and at most 500 options per API call.\"),\n}).describe(\"Request to upload tax code options to Ramp.\");\nconst RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the tax code option\").nullable(),\n name: z.string().describe(\"Display name of the tax code option\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this tax code option\").nullable(),\n is_active: z.boolean().describe(\"Whether the tax code option is active\").nullable(),\n tax_rate_ids: z.array(z.string()).describe(\"List of tax rate IDs associated with this tax code option\"),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code option is associated with\").nullable(),\n}).passthrough().describe(\"A successfully uploaded tax code option with full details.\");\nexport const RampUploadTaxCodeOptionsOutput = z.object({\n options: z.array(RampUploadTaxCodeOptions_TaxCodeOptionOutputSchema).describe(\"A list of tax code options that were successfully uploaded\"),\n}).passthrough().describe(\"Response from uploading tax code options.\");\n\nexport const rampUploadTaxCodeOptions = action(\"RAMP_UPLOAD_TAX_CODE_OPTIONS\", {\n slug: \"ramp-upload-tax-code-options\",\n name: \"Upload Tax Code Options\",\n description: \"Tool to upload tax code options to Ramp. Use when you need to create or update tax codes in the accounting system. Requires an active tax code accounting field for the accounting connection.\",\n input: RampUploadTaxCodeOptionsInput,\n output: RampUploadTaxCodeOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,SAAS,EAAE,MAAM,EAAE,OAAO;CAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,CAAC,SAAS,4GAA4G,EACrL,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D;CACtG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAKtF,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,4DAA4D,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const RampUploadTaxRatesInput = zod.z.object({ tax_rates: zod.z.array(zod.z.obje
|
|
|
6
6
|
name: zod.z.string().describe("Display name of the tax rate"),
|
|
7
7
|
rate: zod.z.string().describe("The tax rate as a decimal string (e.g., '0.05' for 5%, '0.07' for 7%)"),
|
|
8
8
|
accounting_gl_account_id: zod.z.string().describe("The Ramp UUID of the GL account to associate with this tax rate. Required for API-based accounting connections.").optional()
|
|
9
|
-
}).describe("A tax rate to be uploaded.")).describe("A list of tax rates to upload. Maximum 500 tax rates per API call. All-or-nothing validation: if any tax rate fails validation or violates a database constraint, the entire batch is rejected. Ensure tax rates do not already exist on Ramp before uploading.") }).describe("Request to upload tax rates to Ramp.");
|
|
9
|
+
}).passthrough().describe("A tax rate to be uploaded.")).describe("A list of tax rates to upload. Maximum 500 tax rates per API call. All-or-nothing validation: if any tax rate fails validation or violates a database constraint, the entire batch is rejected. Ensure tax rates do not already exist on Ramp before uploading.") }).describe("Request to upload tax rates to Ramp.");
|
|
10
10
|
const RampUploadTaxRates_TaxRateOutputSchema = zod.z.object({
|
|
11
11
|
id: zod.z.string().describe("Remote/external ID of the tax rate").nullable(),
|
|
12
12
|
name: zod.z.string().describe("Display name of the tax rate").nullable(),
|
|
@@ -14,11 +14,11 @@ const RampUploadTaxRates_TaxRateOutputSchema = zod.z.object({
|
|
|
14
14
|
ramp_id: zod.z.string().describe("Ramp's unique identifier for this tax rate").nullable(),
|
|
15
15
|
accounting_connection_id: zod.z.string().describe("ID of the accounting connection this tax rate belongs to").nullable(),
|
|
16
16
|
accounting_gl_account_id: zod.z.string().describe("The Ramp UUID of the GL account associated with this tax rate").nullable().optional()
|
|
17
|
-
}).describe("A successfully uploaded tax rate with full details.");
|
|
17
|
+
}).passthrough().describe("A successfully uploaded tax rate with full details.");
|
|
18
18
|
const RampUploadTaxRatesOutput = zod.z.object({
|
|
19
19
|
tax_rates: zod.z.array(RampUploadTaxRates_TaxRateOutputSchema).describe("A list of tax rates that were successfully uploaded").nullable().optional(),
|
|
20
20
|
accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the tax rates are uploaded to").nullable().optional()
|
|
21
|
-
}).describe("Response from uploading tax rates.");
|
|
21
|
+
}).passthrough().describe("Response from uploading tax rates.");
|
|
22
22
|
const rampUploadTaxRates = require_action.action("RAMP_UPLOAD_TAX_RATES", {
|
|
23
23
|
slug: "ramp-upload-tax-rates",
|
|
24
24
|
name: "Upload Accounting Tax Rates",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-tax-rates.cjs","names":["z","action"],"sources":["../../src/actions/upload-tax-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadTaxRatesInput = z.object({\n tax_rates: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the tax rate (from your ERP system)\"),\n name: z.string().describe(\"Display name of the tax rate\"),\n rate: z.string().describe(\"The tax rate as a decimal string (e.g., '0.05' for 5%, '0.07' for 7%)\"),\n accounting_gl_account_id: z.string().describe(\"The Ramp UUID of the GL account to associate with this tax rate. Required for API-based accounting connections.\").optional(),\n}).describe(\"A tax rate to be uploaded.\")).describe(\"A list of tax rates to upload. Maximum 500 tax rates per API call. All-or-nothing validation: if any tax rate fails validation or violates a database constraint, the entire batch is rejected. Ensure tax rates do not already exist on Ramp before uploading.\"),\n}).describe(\"Request to upload tax rates to Ramp.\");\nconst RampUploadTaxRates_TaxRateOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the tax rate\").nullable(),\n name: z.string().describe(\"Display name of the tax rate\").nullable(),\n rate: z.string().describe(\"The tax rate as a decimal string\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this tax rate\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection this tax rate belongs to\").nullable(),\n accounting_gl_account_id: z.string().describe(\"The Ramp UUID of the GL account associated with this tax rate\").nullable().optional(),\n}).describe(\"A successfully uploaded tax rate with full details.\");\nexport const RampUploadTaxRatesOutput = z.object({\n tax_rates: z.array(RampUploadTaxRates_TaxRateOutputSchema).describe(\"A list of tax rates that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax rates are uploaded to\").nullable().optional(),\n}).describe(\"Response from uploading tax rates.\");\n\nexport const rampUploadTaxRates = action(\"RAMP_UPLOAD_TAX_RATES\", {\n slug: \"ramp-upload-tax-rates\",\n name: \"Upload Accounting Tax Rates\",\n description: \"Tool to batch upload tax rates to Ramp. Supports up to 500 tax rates per call with all-or-nothing validation. Use when you need to create tax rates in Ramp's accounting system. Ensure data is sanitized and tax rates do not already exist before uploading.\",\n input: RampUploadTaxRatesInput,\n output: RampUploadTaxRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,iQAAiQ,
|
|
1
|
+
{"version":3,"file":"upload-tax-rates.cjs","names":["z","action"],"sources":["../../src/actions/upload-tax-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadTaxRatesInput = z.object({\n tax_rates: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the tax rate (from your ERP system)\"),\n name: z.string().describe(\"Display name of the tax rate\"),\n rate: z.string().describe(\"The tax rate as a decimal string (e.g., '0.05' for 5%, '0.07' for 7%)\"),\n accounting_gl_account_id: z.string().describe(\"The Ramp UUID of the GL account to associate with this tax rate. Required for API-based accounting connections.\").optional(),\n}).passthrough().describe(\"A tax rate to be uploaded.\")).describe(\"A list of tax rates to upload. Maximum 500 tax rates per API call. All-or-nothing validation: if any tax rate fails validation or violates a database constraint, the entire batch is rejected. Ensure tax rates do not already exist on Ramp before uploading.\"),\n}).describe(\"Request to upload tax rates to Ramp.\");\nconst RampUploadTaxRates_TaxRateOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the tax rate\").nullable(),\n name: z.string().describe(\"Display name of the tax rate\").nullable(),\n rate: z.string().describe(\"The tax rate as a decimal string\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this tax rate\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection this tax rate belongs to\").nullable(),\n accounting_gl_account_id: z.string().describe(\"The Ramp UUID of the GL account associated with this tax rate\").nullable().optional(),\n}).passthrough().describe(\"A successfully uploaded tax rate with full details.\");\nexport const RampUploadTaxRatesOutput = z.object({\n tax_rates: z.array(RampUploadTaxRates_TaxRateOutputSchema).describe(\"A list of tax rates that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax rates are uploaded to\").nullable().optional(),\n}).passthrough().describe(\"Response from uploading tax rates.\");\n\nexport const rampUploadTaxRates = action(\"RAMP_UPLOAD_TAX_RATES\", {\n slug: \"ramp-upload-tax-rates\",\n name: \"Upload Accounting Tax Rates\",\n description: \"Tool to batch upload tax rates to Ramp. Supports up to 500 tax rates per call with all-or-nothing validation. Use when you need to create tax rates in Ramp's accounting system. Ensure data is sanitized and tax rates do not already exist before uploading.\",\n input: RampUploadTaxRatesInput,\n output: RampUploadTaxRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,iQAAiQ,EACnU,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,WAAWA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const RampUploadTaxRatesInput: z.ZodObject<{
|
|
|
7
7
|
name: z.ZodString;
|
|
8
8
|
rate: z.ZodString;
|
|
9
9
|
accounting_gl_account_id: z.ZodOptional<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const RampUploadTaxRatesOutput: z.ZodObject<{
|
|
13
13
|
tax_rates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -17,11 +17,12 @@ declare const RampUploadTaxRatesOutput: z.ZodObject<{
|
|
|
17
17
|
ramp_id: z.ZodNullable<z.ZodString>;
|
|
18
18
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
19
19
|
accounting_gl_account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
21
|
accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const rampUploadTaxRates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
tax_rates: {
|
|
25
|
+
[x: string]: unknown;
|
|
25
26
|
id: string;
|
|
26
27
|
name: string;
|
|
27
28
|
rate: string;
|
|
@@ -7,7 +7,7 @@ declare const RampUploadTaxRatesInput: z.ZodObject<{
|
|
|
7
7
|
name: z.ZodString;
|
|
8
8
|
rate: z.ZodString;
|
|
9
9
|
accounting_gl_account_id: z.ZodOptional<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const RampUploadTaxRatesOutput: z.ZodObject<{
|
|
13
13
|
tax_rates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -17,11 +17,12 @@ declare const RampUploadTaxRatesOutput: z.ZodObject<{
|
|
|
17
17
|
ramp_id: z.ZodNullable<z.ZodString>;
|
|
18
18
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
19
19
|
accounting_gl_account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
21
|
accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const rampUploadTaxRates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
tax_rates: {
|
|
25
|
+
[x: string]: unknown;
|
|
25
26
|
id: string;
|
|
26
27
|
name: string;
|
|
27
28
|
rate: string;
|
|
@@ -6,7 +6,7 @@ const RampUploadTaxRatesInput = z.object({ tax_rates: z.array(z.object({
|
|
|
6
6
|
name: z.string().describe("Display name of the tax rate"),
|
|
7
7
|
rate: z.string().describe("The tax rate as a decimal string (e.g., '0.05' for 5%, '0.07' for 7%)"),
|
|
8
8
|
accounting_gl_account_id: z.string().describe("The Ramp UUID of the GL account to associate with this tax rate. Required for API-based accounting connections.").optional()
|
|
9
|
-
}).describe("A tax rate to be uploaded.")).describe("A list of tax rates to upload. Maximum 500 tax rates per API call. All-or-nothing validation: if any tax rate fails validation or violates a database constraint, the entire batch is rejected. Ensure tax rates do not already exist on Ramp before uploading.") }).describe("Request to upload tax rates to Ramp.");
|
|
9
|
+
}).passthrough().describe("A tax rate to be uploaded.")).describe("A list of tax rates to upload. Maximum 500 tax rates per API call. All-or-nothing validation: if any tax rate fails validation or violates a database constraint, the entire batch is rejected. Ensure tax rates do not already exist on Ramp before uploading.") }).describe("Request to upload tax rates to Ramp.");
|
|
10
10
|
const RampUploadTaxRates_TaxRateOutputSchema = z.object({
|
|
11
11
|
id: z.string().describe("Remote/external ID of the tax rate").nullable(),
|
|
12
12
|
name: z.string().describe("Display name of the tax rate").nullable(),
|
|
@@ -14,7 +14,7 @@ const RampUploadTaxRates_TaxRateOutputSchema = z.object({
|
|
|
14
14
|
ramp_id: z.string().describe("Ramp's unique identifier for this tax rate").nullable(),
|
|
15
15
|
accounting_connection_id: z.string().describe("ID of the accounting connection this tax rate belongs to").nullable(),
|
|
16
16
|
accounting_gl_account_id: z.string().describe("The Ramp UUID of the GL account associated with this tax rate").nullable().optional()
|
|
17
|
-
}).describe("A successfully uploaded tax rate with full details.");
|
|
17
|
+
}).passthrough().describe("A successfully uploaded tax rate with full details.");
|
|
18
18
|
const rampUploadTaxRates = action("RAMP_UPLOAD_TAX_RATES", {
|
|
19
19
|
slug: "ramp-upload-tax-rates",
|
|
20
20
|
name: "Upload Accounting Tax Rates",
|
|
@@ -23,7 +23,7 @@ const rampUploadTaxRates = action("RAMP_UPLOAD_TAX_RATES", {
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
tax_rates: z.array(RampUploadTaxRates_TaxRateOutputSchema).describe("A list of tax rates that were successfully uploaded").nullable().optional(),
|
|
25
25
|
accounting_connection_id: z.string().describe("ID of the accounting connection that the tax rates are uploaded to").nullable().optional()
|
|
26
|
-
}).describe("Response from uploading tax rates.")
|
|
26
|
+
}).passthrough().describe("Response from uploading tax rates.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { rampUploadTaxRates };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-tax-rates.mjs","names":[],"sources":["../../src/actions/upload-tax-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadTaxRatesInput = z.object({\n tax_rates: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the tax rate (from your ERP system)\"),\n name: z.string().describe(\"Display name of the tax rate\"),\n rate: z.string().describe(\"The tax rate as a decimal string (e.g., '0.05' for 5%, '0.07' for 7%)\"),\n accounting_gl_account_id: z.string().describe(\"The Ramp UUID of the GL account to associate with this tax rate. Required for API-based accounting connections.\").optional(),\n}).describe(\"A tax rate to be uploaded.\")).describe(\"A list of tax rates to upload. Maximum 500 tax rates per API call. All-or-nothing validation: if any tax rate fails validation or violates a database constraint, the entire batch is rejected. Ensure tax rates do not already exist on Ramp before uploading.\"),\n}).describe(\"Request to upload tax rates to Ramp.\");\nconst RampUploadTaxRates_TaxRateOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the tax rate\").nullable(),\n name: z.string().describe(\"Display name of the tax rate\").nullable(),\n rate: z.string().describe(\"The tax rate as a decimal string\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this tax rate\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection this tax rate belongs to\").nullable(),\n accounting_gl_account_id: z.string().describe(\"The Ramp UUID of the GL account associated with this tax rate\").nullable().optional(),\n}).describe(\"A successfully uploaded tax rate with full details.\");\nexport const RampUploadTaxRatesOutput = z.object({\n tax_rates: z.array(RampUploadTaxRates_TaxRateOutputSchema).describe(\"A list of tax rates that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax rates are uploaded to\").nullable().optional(),\n}).describe(\"Response from uploading tax rates.\");\n\nexport const rampUploadTaxRates = action(\"RAMP_UPLOAD_TAX_RATES\", {\n slug: \"ramp-upload-tax-rates\",\n name: \"Upload Accounting Tax Rates\",\n description: \"Tool to batch upload tax rates to Ramp. Supports up to 500 tax rates per call with all-or-nothing validation. Use when you need to create tax rates in Ramp's accounting system. Ensure data is sanitized and tax rates do not already exist before uploading.\",\n input: RampUploadTaxRatesInput,\n output: RampUploadTaxRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,WAAW,EAAE,MAAM,EAAE,OAAO;CAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,iQAAiQ,
|
|
1
|
+
{"version":3,"file":"upload-tax-rates.mjs","names":[],"sources":["../../src/actions/upload-tax-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUploadTaxRatesInput = z.object({\n tax_rates: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the tax rate (from your ERP system)\"),\n name: z.string().describe(\"Display name of the tax rate\"),\n rate: z.string().describe(\"The tax rate as a decimal string (e.g., '0.05' for 5%, '0.07' for 7%)\"),\n accounting_gl_account_id: z.string().describe(\"The Ramp UUID of the GL account to associate with this tax rate. Required for API-based accounting connections.\").optional(),\n}).passthrough().describe(\"A tax rate to be uploaded.\")).describe(\"A list of tax rates to upload. Maximum 500 tax rates per API call. All-or-nothing validation: if any tax rate fails validation or violates a database constraint, the entire batch is rejected. Ensure tax rates do not already exist on Ramp before uploading.\"),\n}).describe(\"Request to upload tax rates to Ramp.\");\nconst RampUploadTaxRates_TaxRateOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the tax rate\").nullable(),\n name: z.string().describe(\"Display name of the tax rate\").nullable(),\n rate: z.string().describe(\"The tax rate as a decimal string\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this tax rate\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection this tax rate belongs to\").nullable(),\n accounting_gl_account_id: z.string().describe(\"The Ramp UUID of the GL account associated with this tax rate\").nullable().optional(),\n}).passthrough().describe(\"A successfully uploaded tax rate with full details.\");\nexport const RampUploadTaxRatesOutput = z.object({\n tax_rates: z.array(RampUploadTaxRates_TaxRateOutputSchema).describe(\"A list of tax rates that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax rates are uploaded to\").nullable().optional(),\n}).passthrough().describe(\"Response from uploading tax rates.\");\n\nexport const rampUploadTaxRates = action(\"RAMP_UPLOAD_TAX_RATES\", {\n slug: \"ramp-upload-tax-rates\",\n name: \"Upload Accounting Tax Rates\",\n description: \"Tool to batch upload tax rates to Ramp. Supports up to 500 tax rates per call with all-or-nothing validation. Use when you need to create tax rates in Ramp's accounting system. Ensure data is sanitized and tax rates do not already exist before uploading.\",\n input: RampUploadTaxRatesInput,\n output: RampUploadTaxRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,WAAW,EAAE,MAAM,EAAE,OAAO;CAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,CAAC,SAAS,iQAAiQ,EACnU,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAM/E,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,WAAW,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
package/dist/execute.cjs
CHANGED
|
@@ -2,7 +2,7 @@ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
|
2
2
|
//#region src/execute.ts
|
|
3
3
|
const APP_SLUG = "ramp";
|
|
4
4
|
/** Pinned app version — updated on regeneration. */
|
|
5
|
-
const APP_VERSION = "
|
|
5
|
+
const APP_VERSION = "20260707_00";
|
|
6
6
|
async function executeRampTool(tool, args) {
|
|
7
7
|
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
8
|
app: APP_SLUG,
|
package/dist/execute.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"ramp\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"ramp\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260707_00\";\n\nexport async function executeRampTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,gBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
|
2
2
|
//#region src/execute.ts
|
|
3
3
|
const APP_SLUG = "ramp";
|
|
4
4
|
/** Pinned app version — updated on regeneration. */
|
|
5
|
-
const APP_VERSION = "
|
|
5
|
+
const APP_VERSION = "20260707_00";
|
|
6
6
|
async function executeRampTool(tool, args) {
|
|
7
7
|
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
8
|
app: APP_SLUG,
|
package/dist/execute.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"ramp\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"ramp\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260707_00\";\n\nexport async function executeRampTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,gBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|