@keystrokehq/ramp 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-department.cjs +1 -0
- package/dist/actions/create-department.cjs.map +1 -1
- package/dist/actions/create-department.d.cts +3 -3
- package/dist/actions/create-department.d.cts.map +1 -1
- package/dist/actions/create-department.d.mts +3 -3
- package/dist/actions/create-department.d.mts.map +1 -1
- package/dist/actions/create-department.mjs +1 -0
- package/dist/actions/create-department.mjs.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.cjs +1 -0
- package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.cts +3 -4
- package/dist/actions/create-inventory-item-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.mts +3 -4
- package/dist/actions/create-inventory-item-accounting-field.d.mts.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.mjs +1 -0
- package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
- package/dist/actions/create-memo.cjs +1 -0
- package/dist/actions/create-memo.cjs.map +1 -1
- package/dist/actions/create-memo.d.cts +3 -5
- package/dist/actions/create-memo.d.cts.map +1 -1
- package/dist/actions/create-memo.d.mts +3 -5
- package/dist/actions/create-memo.d.mts.map +1 -1
- package/dist/actions/create-memo.mjs +1 -0
- package/dist/actions/create-memo.mjs.map +1 -1
- package/dist/actions/create-mileage-reimbursement.cjs +1 -0
- package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
- package/dist/actions/create-mileage-reimbursement.d.cts +3 -10
- package/dist/actions/create-mileage-reimbursement.d.cts.map +1 -1
- package/dist/actions/create-mileage-reimbursement.d.mts +3 -10
- package/dist/actions/create-mileage-reimbursement.d.mts.map +1 -1
- package/dist/actions/create-mileage-reimbursement.mjs +1 -0
- package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.cjs +1 -0
- package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.cts +3 -7
- package/dist/actions/create-new-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.mts +3 -7
- package/dist/actions/create-new-custom-accounting-field.d.mts.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.mjs +1 -0
- package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.cjs +1 -0
- package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.cts +3 -4
- package/dist/actions/create-tax-code-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.mts +3 -4
- package/dist/actions/create-tax-code-accounting-field.d.mts.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.mjs +1 -0
- package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
- package/dist/actions/create-user-invite.cjs +1 -0
- package/dist/actions/create-user-invite.cjs.map +1 -1
- package/dist/actions/create-user-invite.d.cts +3 -11
- package/dist/actions/create-user-invite.d.cts.map +1 -1
- package/dist/actions/create-user-invite.d.mts +3 -11
- package/dist/actions/create-user-invite.d.mts.map +1 -1
- package/dist/actions/create-user-invite.mjs +1 -0
- package/dist/actions/create-user-invite.mjs.map +1 -1
- package/dist/actions/create-webhook-subscription.cjs +1 -0
- package/dist/actions/create-webhook-subscription.cjs.map +1 -1
- package/dist/actions/create-webhook-subscription.d.cts +3 -5
- package/dist/actions/create-webhook-subscription.d.cts.map +1 -1
- package/dist/actions/create-webhook-subscription.d.mts +3 -5
- package/dist/actions/create-webhook-subscription.d.mts.map +1 -1
- package/dist/actions/create-webhook-subscription.mjs +1 -0
- package/dist/actions/create-webhook-subscription.mjs.map +1 -1
- package/dist/actions/deactivate-user.cjs +1 -0
- package/dist/actions/deactivate-user.cjs.map +1 -1
- package/dist/actions/deactivate-user.d.cts +3 -3
- package/dist/actions/deactivate-user.d.cts.map +1 -1
- package/dist/actions/deactivate-user.d.mts +3 -3
- package/dist/actions/deactivate-user.d.mts.map +1 -1
- package/dist/actions/deactivate-user.mjs +1 -0
- package/dist/actions/deactivate-user.mjs.map +1 -1
- package/dist/actions/delete-accounting-account.cjs +1 -0
- package/dist/actions/delete-accounting-account.cjs.map +1 -1
- package/dist/actions/delete-accounting-account.d.cts +3 -3
- package/dist/actions/delete-accounting-account.d.cts.map +1 -1
- package/dist/actions/delete-accounting-account.d.mts +3 -3
- package/dist/actions/delete-accounting-account.d.mts.map +1 -1
- package/dist/actions/delete-accounting-account.mjs +1 -0
- package/dist/actions/delete-accounting-account.mjs.map +1 -1
- package/dist/actions/delete-accounting-connection.cjs +1 -0
- package/dist/actions/delete-accounting-connection.cjs.map +1 -1
- package/dist/actions/delete-accounting-connection.d.cts +3 -1
- package/dist/actions/delete-accounting-connection.d.cts.map +1 -1
- package/dist/actions/delete-accounting-connection.d.mts +3 -1
- package/dist/actions/delete-accounting-connection.d.mts.map +1 -1
- package/dist/actions/delete-accounting-connection.mjs +1 -0
- package/dist/actions/delete-accounting-connection.mjs.map +1 -1
- package/dist/actions/delete-accounting-fields.cjs +1 -0
- package/dist/actions/delete-accounting-fields.cjs.map +1 -1
- package/dist/actions/delete-accounting-fields.d.cts +3 -3
- package/dist/actions/delete-accounting-fields.d.cts.map +1 -1
- package/dist/actions/delete-accounting-fields.d.mts +3 -3
- package/dist/actions/delete-accounting-fields.d.mts.map +1 -1
- package/dist/actions/delete-accounting-fields.mjs +1 -0
- package/dist/actions/delete-accounting-fields.mjs.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -0
- package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.d.cts +3 -3
- package/dist/actions/delete-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.d.mts +3 -3
- package/dist/actions/delete-accounting-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -0
- package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.cjs +1 -0
- package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.d.cts +3 -3
- package/dist/actions/delete-accounting-tax-code-options.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.d.mts +3 -3
- package/dist/actions/delete-accounting-tax-code-options.d.mts.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.mjs +1 -0
- package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code.cjs +1 -0
- package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code.d.cts +3 -1
- package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-code.d.mts +3 -1
- package/dist/actions/delete-accounting-tax-code.d.mts.map +1 -1
- package/dist/actions/delete-accounting-tax-code.mjs +1 -0
- package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.cjs +1 -0
- package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.d.cts +3 -4
- package/dist/actions/delete-accounting-tax-rates.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.d.mts +3 -4
- package/dist/actions/delete-accounting-tax-rates.d.mts.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.mjs +1 -0
- package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
- package/dist/actions/delete-accounting-vendors.cjs +1 -0
- package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
- package/dist/actions/delete-accounting-vendors.d.cts +3 -3
- package/dist/actions/delete-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/delete-accounting-vendors.d.mts +3 -3
- package/dist/actions/delete-accounting-vendors.d.mts.map +1 -1
- package/dist/actions/delete-accounting-vendors.mjs +1 -0
- package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
- package/dist/actions/delete-custom-field-option.cjs +1 -0
- package/dist/actions/delete-custom-field-option.cjs.map +1 -1
- package/dist/actions/delete-custom-field-option.d.cts +3 -3
- package/dist/actions/delete-custom-field-option.d.cts.map +1 -1
- package/dist/actions/delete-custom-field-option.d.mts +3 -3
- package/dist/actions/delete-custom-field-option.d.mts.map +1 -1
- package/dist/actions/delete-custom-field-option.mjs +1 -0
- package/dist/actions/delete-custom-field-option.mjs.map +1 -1
- package/dist/actions/delete-inventory-item-field.cjs +1 -0
- package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
- package/dist/actions/delete-inventory-item-field.d.cts +3 -1
- package/dist/actions/delete-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/delete-inventory-item-field.d.mts +3 -1
- package/dist/actions/delete-inventory-item-field.d.mts.map +1 -1
- package/dist/actions/delete-inventory-item-field.mjs +1 -0
- package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.cjs +1 -0
- package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.d.cts +3 -4
- package/dist/actions/delete-spend-allocation-delete-users.d.cts.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.d.mts +3 -4
- package/dist/actions/delete-spend-allocation-delete-users.d.mts.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.mjs +1 -0
- package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-accounting-account.cjs +1 -0
- package/dist/actions/fetch-accounting-account.cjs.map +1 -1
- package/dist/actions/fetch-accounting-account.d.cts +3 -4
- package/dist/actions/fetch-accounting-account.d.cts.map +1 -1
- package/dist/actions/fetch-accounting-account.d.mts +3 -4
- package/dist/actions/fetch-accounting-account.d.mts.map +1 -1
- package/dist/actions/fetch-accounting-account.mjs +1 -0
- package/dist/actions/fetch-accounting-account.mjs.map +1 -1
- package/dist/actions/fetch-accounting-vendor.cjs +1 -0
- package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
- package/dist/actions/fetch-accounting-vendor.d.cts +3 -4
- package/dist/actions/fetch-accounting-vendor.d.cts.map +1 -1
- package/dist/actions/fetch-accounting-vendor.d.mts +3 -4
- package/dist/actions/fetch-accounting-vendor.d.mts.map +1 -1
- package/dist/actions/fetch-accounting-vendor.mjs +1 -0
- package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.cjs +1 -0
- package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.d.cts +3 -3
- package/dist/actions/fetch-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.d.mts +3 -3
- package/dist/actions/fetch-custom-accounting-field.d.mts.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.mjs +1 -0
- package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/get-accounting-accounts.cjs +1 -0
- package/dist/actions/get-accounting-accounts.cjs.map +1 -1
- package/dist/actions/get-accounting-accounts.d.cts +3 -8
- package/dist/actions/get-accounting-accounts.d.cts.map +1 -1
- package/dist/actions/get-accounting-accounts.d.mts +3 -8
- package/dist/actions/get-accounting-accounts.d.mts.map +1 -1
- package/dist/actions/get-accounting-accounts.mjs +1 -0
- package/dist/actions/get-accounting-accounts.mjs.map +1 -1
- package/dist/actions/get-accounting-all-connections.cjs +1 -0
- package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
- package/dist/actions/get-accounting-all-connections.d.cts +3 -1
- package/dist/actions/get-accounting-all-connections.d.cts.map +1 -1
- package/dist/actions/get-accounting-all-connections.d.mts +3 -1
- package/dist/actions/get-accounting-all-connections.d.mts.map +1 -1
- package/dist/actions/get-accounting-all-connections.mjs +1 -0
- package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.cjs +1 -0
- package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.d.cts +3 -3
- package/dist/actions/get-accounting-connection-by-id.d.cts.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.d.mts +3 -3
- package/dist/actions/get-accounting-connection-by-id.d.mts.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.mjs +1 -0
- package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
- package/dist/actions/get-accounting-connection.cjs +1 -0
- package/dist/actions/get-accounting-connection.cjs.map +1 -1
- package/dist/actions/get-accounting-connection.d.cts +3 -1
- package/dist/actions/get-accounting-connection.d.cts.map +1 -1
- package/dist/actions/get-accounting-connection.d.mts +3 -1
- package/dist/actions/get-accounting-connection.d.mts.map +1 -1
- package/dist/actions/get-accounting-connection.mjs +1 -0
- package/dist/actions/get-accounting-connection.mjs.map +1 -1
- package/dist/actions/get-accounting-fields.cjs +1 -0
- package/dist/actions/get-accounting-fields.cjs.map +1 -1
- package/dist/actions/get-accounting-fields.d.cts +3 -4
- package/dist/actions/get-accounting-fields.d.cts.map +1 -1
- package/dist/actions/get-accounting-fields.d.mts +3 -4
- package/dist/actions/get-accounting-fields.d.mts.map +1 -1
- package/dist/actions/get-accounting-fields.mjs +1 -0
- package/dist/actions/get-accounting-fields.mjs.map +1 -1
- package/dist/actions/get-accounting-vendors.cjs +1 -0
- package/dist/actions/get-accounting-vendors.cjs.map +1 -1
- package/dist/actions/get-accounting-vendors.d.cts +3 -4
- package/dist/actions/get-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/get-accounting-vendors.d.mts +3 -4
- package/dist/actions/get-accounting-vendors.d.mts.map +1 -1
- package/dist/actions/get-accounting-vendors.mjs +1 -0
- package/dist/actions/get-accounting-vendors.mjs.map +1 -1
- package/dist/actions/get-all-transactions.cjs +1 -0
- package/dist/actions/get-all-transactions.cjs.map +1 -1
- package/dist/actions/get-all-transactions.d.cts +3 -33
- package/dist/actions/get-all-transactions.d.cts.map +1 -1
- package/dist/actions/get-all-transactions.d.mts +3 -33
- package/dist/actions/get-all-transactions.d.mts.map +1 -1
- package/dist/actions/get-all-transactions.mjs +1 -0
- package/dist/actions/get-all-transactions.mjs.map +1 -1
- package/dist/actions/get-card-vault-resource.cjs +1 -0
- package/dist/actions/get-card-vault-resource.cjs.map +1 -1
- package/dist/actions/get-card-vault-resource.d.cts +3 -3
- package/dist/actions/get-card-vault-resource.d.cts.map +1 -1
- package/dist/actions/get-card-vault-resource.d.mts +3 -3
- package/dist/actions/get-card-vault-resource.d.mts.map +1 -1
- package/dist/actions/get-card-vault-resource.mjs +1 -0
- package/dist/actions/get-card-vault-resource.mjs.map +1 -1
- package/dist/actions/get-card.cjs +1 -0
- package/dist/actions/get-card.cjs.map +1 -1
- package/dist/actions/get-card.d.cts +3 -3
- package/dist/actions/get-card.d.cts.map +1 -1
- package/dist/actions/get-card.d.mts +3 -3
- package/dist/actions/get-card.d.mts.map +1 -1
- package/dist/actions/get-card.mjs +1 -0
- package/dist/actions/get-card.mjs.map +1 -1
- package/dist/actions/get-custom-field-option.cjs +1 -0
- package/dist/actions/get-custom-field-option.cjs.map +1 -1
- package/dist/actions/get-custom-field-option.d.cts +3 -3
- package/dist/actions/get-custom-field-option.d.cts.map +1 -1
- package/dist/actions/get-custom-field-option.d.mts +3 -3
- package/dist/actions/get-custom-field-option.d.mts.map +1 -1
- package/dist/actions/get-custom-field-option.mjs +1 -0
- package/dist/actions/get-custom-field-option.mjs.map +1 -1
- package/dist/actions/get-department.cjs +1 -0
- package/dist/actions/get-department.cjs.map +1 -1
- package/dist/actions/get-department.d.cts +3 -3
- package/dist/actions/get-department.d.cts.map +1 -1
- package/dist/actions/get-department.d.mts +3 -3
- package/dist/actions/get-department.d.mts.map +1 -1
- package/dist/actions/get-department.mjs +1 -0
- package/dist/actions/get-department.mjs.map +1 -1
- package/dist/actions/get-inventory-item-field.cjs +1 -0
- package/dist/actions/get-inventory-item-field.cjs.map +1 -1
- package/dist/actions/get-inventory-item-field.d.cts +3 -1
- package/dist/actions/get-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/get-inventory-item-field.d.mts +3 -1
- package/dist/actions/get-inventory-item-field.d.mts.map +1 -1
- package/dist/actions/get-inventory-item-field.mjs +1 -0
- package/dist/actions/get-inventory-item-field.mjs.map +1 -1
- package/dist/actions/get-memo.cjs +1 -0
- package/dist/actions/get-memo.cjs.map +1 -1
- package/dist/actions/get-memo.d.cts +3 -3
- package/dist/actions/get-memo.d.cts.map +1 -1
- package/dist/actions/get-memo.d.mts +3 -3
- package/dist/actions/get-memo.d.mts.map +1 -1
- package/dist/actions/get-memo.mjs +1 -0
- package/dist/actions/get-memo.mjs.map +1 -1
- package/dist/actions/get-reimbursement.cjs +1 -0
- package/dist/actions/get-reimbursement.cjs.map +1 -1
- package/dist/actions/get-reimbursement.d.cts +3 -3
- package/dist/actions/get-reimbursement.d.cts.map +1 -1
- package/dist/actions/get-reimbursement.d.mts +3 -3
- package/dist/actions/get-reimbursement.d.mts.map +1 -1
- package/dist/actions/get-reimbursement.mjs +1 -0
- package/dist/actions/get-reimbursement.mjs.map +1 -1
- package/dist/actions/get-spend-limit.cjs +1 -0
- package/dist/actions/get-spend-limit.cjs.map +1 -1
- package/dist/actions/get-spend-limit.d.cts +3 -3
- package/dist/actions/get-spend-limit.d.cts.map +1 -1
- package/dist/actions/get-spend-limit.d.mts +3 -3
- package/dist/actions/get-spend-limit.d.mts.map +1 -1
- package/dist/actions/get-spend-limit.mjs +1 -0
- package/dist/actions/get-spend-limit.mjs.map +1 -1
- package/dist/actions/get-statement.cjs +1 -0
- package/dist/actions/get-statement.cjs.map +1 -1
- package/dist/actions/get-statement.d.cts +3 -4
- package/dist/actions/get-statement.d.cts.map +1 -1
- package/dist/actions/get-statement.d.mts +3 -4
- package/dist/actions/get-statement.d.mts.map +1 -1
- package/dist/actions/get-statement.mjs +1 -0
- package/dist/actions/get-statement.mjs.map +1 -1
- package/dist/actions/get-transaction.cjs +1 -0
- package/dist/actions/get-transaction.cjs.map +1 -1
- package/dist/actions/get-transaction.d.cts +3 -3
- package/dist/actions/get-transaction.d.cts.map +1 -1
- package/dist/actions/get-transaction.d.mts +3 -3
- package/dist/actions/get-transaction.d.mts.map +1 -1
- package/dist/actions/get-transaction.mjs +1 -0
- package/dist/actions/get-transaction.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users-deferred-status.cjs +1 -0
- package/dist/actions/get-users-deferred-status.cjs.map +1 -1
- package/dist/actions/get-users-deferred-status.d.cts +3 -3
- package/dist/actions/get-users-deferred-status.d.cts.map +1 -1
- package/dist/actions/get-users-deferred-status.d.mts +3 -3
- package/dist/actions/get-users-deferred-status.d.mts.map +1 -1
- package/dist/actions/get-users-deferred-status.mjs +1 -0
- package/dist/actions/get-users-deferred-status.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +1 -0
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +3 -3
- package/dist/actions/get-vendor.d.cts.map +1 -1
- package/dist/actions/get-vendor.d.mts +3 -3
- package/dist/actions/get-vendor.d.mts.map +1 -1
- package/dist/actions/get-vendor.mjs +1 -0
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/issue-virtual-card.cjs +1 -0
- package/dist/actions/issue-virtual-card.cjs.map +1 -1
- package/dist/actions/issue-virtual-card.d.cts +3 -14
- package/dist/actions/issue-virtual-card.d.cts.map +1 -1
- package/dist/actions/issue-virtual-card.d.mts +3 -14
- package/dist/actions/issue-virtual-card.d.mts.map +1 -1
- package/dist/actions/issue-virtual-card.mjs +1 -0
- package/dist/actions/issue-virtual-card.mjs.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.cjs +1 -0
- package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.d.cts +3 -8
- package/dist/actions/list-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.d.mts +3 -8
- package/dist/actions/list-accounting-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.mjs +1 -0
- package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/list-accounting-tax-rates.cjs +1 -0
- package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
- package/dist/actions/list-accounting-tax-rates.d.cts +3 -4
- package/dist/actions/list-accounting-tax-rates.d.cts.map +1 -1
- package/dist/actions/list-accounting-tax-rates.d.mts +3 -4
- package/dist/actions/list-accounting-tax-rates.d.mts.map +1 -1
- package/dist/actions/list-accounting-tax-rates.mjs +1 -0
- package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
- package/dist/actions/list-cards.cjs +1 -0
- package/dist/actions/list-cards.cjs.map +1 -1
- package/dist/actions/list-cards.d.cts +3 -10
- package/dist/actions/list-cards.d.cts.map +1 -1
- package/dist/actions/list-cards.d.mts +3 -10
- package/dist/actions/list-cards.d.mts.map +1 -1
- package/dist/actions/list-cards.mjs +1 -0
- package/dist/actions/list-cards.mjs.map +1 -1
- package/dist/actions/list-departments.cjs +1 -0
- package/dist/actions/list-departments.cjs.map +1 -1
- package/dist/actions/list-departments.d.cts +3 -4
- package/dist/actions/list-departments.d.cts.map +1 -1
- package/dist/actions/list-departments.d.mts +3 -4
- package/dist/actions/list-departments.d.mts.map +1 -1
- package/dist/actions/list-departments.mjs +1 -0
- package/dist/actions/list-departments.mjs.map +1 -1
- package/dist/actions/list-memos.cjs +1 -0
- package/dist/actions/list-memos.cjs.map +1 -1
- package/dist/actions/list-memos.d.cts +3 -12
- package/dist/actions/list-memos.d.cts.map +1 -1
- package/dist/actions/list-memos.d.mts +3 -12
- package/dist/actions/list-memos.d.mts.map +1 -1
- package/dist/actions/list-memos.mjs +1 -0
- package/dist/actions/list-memos.mjs.map +1 -1
- package/dist/actions/list-reimbursements.cjs +1 -0
- package/dist/actions/list-reimbursements.cjs.map +1 -1
- package/dist/actions/list-reimbursements.d.cts +3 -21
- package/dist/actions/list-reimbursements.d.cts.map +1 -1
- package/dist/actions/list-reimbursements.d.mts +3 -21
- package/dist/actions/list-reimbursements.d.mts.map +1 -1
- package/dist/actions/list-reimbursements.mjs +1 -0
- package/dist/actions/list-reimbursements.mjs.map +1 -1
- package/dist/actions/list-statements.cjs +1 -0
- package/dist/actions/list-statements.cjs.map +1 -1
- package/dist/actions/list-statements.d.cts +3 -6
- package/dist/actions/list-statements.d.cts.map +1 -1
- package/dist/actions/list-statements.d.mts +3 -6
- package/dist/actions/list-statements.d.mts.map +1 -1
- package/dist/actions/list-statements.mjs +1 -0
- package/dist/actions/list-statements.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -10
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -10
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-vendors-accounts.cjs +1 -0
- package/dist/actions/list-vendors-accounts.cjs.map +1 -1
- package/dist/actions/list-vendors-accounts.d.cts +3 -5
- package/dist/actions/list-vendors-accounts.d.cts.map +1 -1
- package/dist/actions/list-vendors-accounts.d.mts +3 -5
- package/dist/actions/list-vendors-accounts.d.mts.map +1 -1
- package/dist/actions/list-vendors-accounts.mjs +1 -0
- package/dist/actions/list-vendors-accounts.mjs.map +1 -1
- package/dist/actions/list-vendors-contacts.cjs +1 -0
- package/dist/actions/list-vendors-contacts.cjs.map +1 -1
- package/dist/actions/list-vendors-contacts.d.cts +3 -5
- package/dist/actions/list-vendors-contacts.d.cts.map +1 -1
- package/dist/actions/list-vendors-contacts.d.mts +3 -5
- package/dist/actions/list-vendors-contacts.d.mts.map +1 -1
- package/dist/actions/list-vendors-contacts.mjs +1 -0
- package/dist/actions/list-vendors-contacts.mjs.map +1 -1
- package/dist/actions/list-vendors-credits.cjs +1 -0
- package/dist/actions/list-vendors-credits.cjs.map +1 -1
- package/dist/actions/list-vendors-credits.d.cts +3 -7
- package/dist/actions/list-vendors-credits.d.cts.map +1 -1
- package/dist/actions/list-vendors-credits.d.mts +3 -7
- package/dist/actions/list-vendors-credits.d.mts.map +1 -1
- package/dist/actions/list-vendors-credits.mjs +1 -0
- package/dist/actions/list-vendors-credits.mjs.map +1 -1
- package/dist/actions/list-vendors.cjs +1 -0
- package/dist/actions/list-vendors.cjs.map +1 -1
- package/dist/actions/list-vendors.d.cts +3 -9
- package/dist/actions/list-vendors.d.cts.map +1 -1
- package/dist/actions/list-vendors.d.mts +3 -9
- package/dist/actions/list-vendors.d.mts.map +1 -1
- package/dist/actions/list-vendors.mjs +1 -0
- package/dist/actions/list-vendors.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -1
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -1
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.cjs +1 -0
- package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.d.cts +3 -3
- package/dist/actions/options-for-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.d.mts +3 -3
- package/dist/actions/options-for-custom-accounting-field.d.mts.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.mjs +1 -0
- package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/patch-accounting-connection.cjs +1 -0
- package/dist/actions/patch-accounting-connection.cjs.map +1 -1
- package/dist/actions/patch-accounting-connection.d.cts +3 -7
- package/dist/actions/patch-accounting-connection.d.cts.map +1 -1
- package/dist/actions/patch-accounting-connection.d.mts +3 -7
- package/dist/actions/patch-accounting-connection.d.mts.map +1 -1
- package/dist/actions/patch-accounting-connection.mjs +1 -0
- package/dist/actions/patch-accounting-connection.mjs.map +1 -1
- package/dist/actions/patch-card-resource.cjs +1 -0
- package/dist/actions/patch-card-resource.cjs.map +1 -1
- package/dist/actions/patch-card-resource.d.cts +3 -21
- package/dist/actions/patch-card-resource.d.cts.map +1 -1
- package/dist/actions/patch-card-resource.d.mts +3 -21
- package/dist/actions/patch-card-resource.d.mts.map +1 -1
- package/dist/actions/patch-card-resource.mjs +1 -0
- package/dist/actions/patch-card-resource.mjs.map +1 -1
- package/dist/actions/patch-custom-field-option.cjs +1 -0
- package/dist/actions/patch-custom-field-option.cjs.map +1 -1
- package/dist/actions/patch-custom-field-option.d.cts +3 -8
- package/dist/actions/patch-custom-field-option.d.cts.map +1 -1
- package/dist/actions/patch-custom-field-option.d.mts +3 -8
- package/dist/actions/patch-custom-field-option.d.mts.map +1 -1
- package/dist/actions/patch-custom-field-option.mjs +1 -0
- package/dist/actions/patch-custom-field-option.mjs.map +1 -1
- package/dist/actions/patch-gl-account-resource.cjs +1 -0
- package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
- package/dist/actions/patch-gl-account-resource.d.cts +3 -6
- package/dist/actions/patch-gl-account-resource.d.cts.map +1 -1
- package/dist/actions/patch-gl-account-resource.d.mts +3 -6
- package/dist/actions/patch-gl-account-resource.d.mts.map +1 -1
- package/dist/actions/patch-gl-account-resource.mjs +1 -0
- package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
- package/dist/actions/patch-inventory-item-field.cjs +1 -0
- package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
- package/dist/actions/patch-inventory-item-field.d.cts +3 -4
- package/dist/actions/patch-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/patch-inventory-item-field.d.mts +3 -4
- package/dist/actions/patch-inventory-item-field.d.mts.map +1 -1
- package/dist/actions/patch-inventory-item-field.mjs +1 -0
- package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
- package/dist/actions/post-accounting-accounts.cjs +1 -0
- package/dist/actions/post-accounting-accounts.cjs.map +1 -1
- package/dist/actions/post-accounting-accounts.d.cts +3 -9
- package/dist/actions/post-accounting-accounts.d.cts.map +1 -1
- package/dist/actions/post-accounting-accounts.d.mts +3 -9
- package/dist/actions/post-accounting-accounts.d.mts.map +1 -1
- package/dist/actions/post-accounting-accounts.mjs +1 -0
- package/dist/actions/post-accounting-accounts.mjs.map +1 -1
- package/dist/actions/post-accounting-connection.cjs +1 -0
- package/dist/actions/post-accounting-connection.cjs.map +1 -1
- package/dist/actions/post-accounting-connection.d.cts +3 -7
- package/dist/actions/post-accounting-connection.d.cts.map +1 -1
- package/dist/actions/post-accounting-connection.d.mts +3 -7
- package/dist/actions/post-accounting-connection.d.mts.map +1 -1
- package/dist/actions/post-accounting-connection.mjs +1 -0
- package/dist/actions/post-accounting-connection.mjs.map +1 -1
- package/dist/actions/post-accounting-vendors.cjs +1 -0
- package/dist/actions/post-accounting-vendors.cjs.map +1 -1
- package/dist/actions/post-accounting-vendors.d.cts +3 -7
- package/dist/actions/post-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/post-accounting-vendors.d.mts +3 -7
- package/dist/actions/post-accounting-vendors.d.mts.map +1 -1
- package/dist/actions/post-accounting-vendors.mjs +1 -0
- package/dist/actions/post-accounting-vendors.mjs.map +1 -1
- package/dist/actions/post-inventory-item-options.cjs +1 -0
- package/dist/actions/post-inventory-item-options.cjs.map +1 -1
- package/dist/actions/post-inventory-item-options.d.cts +3 -7
- package/dist/actions/post-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/post-inventory-item-options.d.mts +3 -7
- package/dist/actions/post-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/post-inventory-item-options.mjs +1 -0
- package/dist/actions/post-inventory-item-options.mjs.map +1 -1
- package/dist/actions/post-physical-card.cjs +1 -0
- package/dist/actions/post-physical-card.cjs.map +1 -1
- package/dist/actions/post-physical-card.d.cts +3 -41
- package/dist/actions/post-physical-card.d.cts.map +1 -1
- package/dist/actions/post-physical-card.d.mts +3 -41
- package/dist/actions/post-physical-card.d.mts.map +1 -1
- package/dist/actions/post-physical-card.mjs +1 -0
- package/dist/actions/post-physical-card.mjs.map +1 -1
- package/dist/actions/reactivate-accounting-connection.cjs +1 -0
- package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
- package/dist/actions/reactivate-accounting-connection.d.cts +3 -3
- package/dist/actions/reactivate-accounting-connection.d.cts.map +1 -1
- package/dist/actions/reactivate-accounting-connection.d.mts +3 -3
- package/dist/actions/reactivate-accounting-connection.d.mts.map +1 -1
- package/dist/actions/reactivate-accounting-connection.mjs +1 -0
- package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
- package/dist/actions/reactivate-user.cjs +1 -0
- package/dist/actions/reactivate-user.cjs.map +1 -1
- package/dist/actions/reactivate-user.d.cts +3 -3
- package/dist/actions/reactivate-user.d.cts.map +1 -1
- package/dist/actions/reactivate-user.d.mts +3 -3
- package/dist/actions/reactivate-user.d.mts.map +1 -1
- package/dist/actions/reactivate-user.mjs +1 -0
- package/dist/actions/reactivate-user.mjs.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.cjs +1 -0
- package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.d.cts +3 -10
- package/dist/actions/submit-reimbursement-receipt.d.cts.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.d.mts +3 -10
- package/dist/actions/submit-reimbursement-receipt.d.mts.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.mjs +1 -0
- package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
- package/dist/actions/suspend-card.cjs +1 -0
- package/dist/actions/suspend-card.cjs.map +1 -1
- package/dist/actions/suspend-card.d.cts +3 -4
- package/dist/actions/suspend-card.d.cts.map +1 -1
- package/dist/actions/suspend-card.d.mts +3 -4
- package/dist/actions/suspend-card.d.mts.map +1 -1
- package/dist/actions/suspend-card.mjs +1 -0
- package/dist/actions/suspend-card.mjs.map +1 -1
- package/dist/actions/terminate-card.cjs +1 -0
- package/dist/actions/terminate-card.cjs.map +1 -1
- package/dist/actions/terminate-card.d.cts +3 -4
- package/dist/actions/terminate-card.d.cts.map +1 -1
- package/dist/actions/terminate-card.d.mts +3 -4
- package/dist/actions/terminate-card.d.mts.map +1 -1
- package/dist/actions/terminate-card.mjs +1 -0
- package/dist/actions/terminate-card.mjs.map +1 -1
- package/dist/actions/update-accounting-field.cjs +1 -0
- package/dist/actions/update-accounting-field.cjs.map +1 -1
- package/dist/actions/update-accounting-field.d.cts +3 -6
- package/dist/actions/update-accounting-field.d.cts.map +1 -1
- package/dist/actions/update-accounting-field.d.mts +3 -6
- package/dist/actions/update-accounting-field.d.mts.map +1 -1
- package/dist/actions/update-accounting-field.mjs +1 -0
- package/dist/actions/update-accounting-field.mjs.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.cjs +1 -0
- package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.cts +3 -4
- package/dist/actions/update-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.mts +3 -4
- package/dist/actions/update-accounting-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.mjs +1 -0
- package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.cjs +1 -0
- package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.cts +3 -5
- package/dist/actions/update-accounting-tax-code-options.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.mts +3 -5
- package/dist/actions/update-accounting-tax-code-options.d.mts.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.mjs +1 -0
- package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-code.cjs +1 -0
- package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-code.d.cts +3 -4
- package/dist/actions/update-accounting-tax-code.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-code.d.mts +3 -4
- package/dist/actions/update-accounting-tax-code.d.mts.map +1 -1
- package/dist/actions/update-accounting-tax-code.mjs +1 -0
- package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-rate.cjs +1 -0
- package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-rate.d.cts +3 -6
- package/dist/actions/update-accounting-tax-rate.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-rate.d.mts +3 -6
- package/dist/actions/update-accounting-tax-rate.d.mts.map +1 -1
- package/dist/actions/update-accounting-tax-rate.mjs +1 -0
- package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
- package/dist/actions/update-accounting-vendor.cjs +1 -0
- package/dist/actions/update-accounting-vendor.cjs.map +1 -1
- package/dist/actions/update-accounting-vendor.d.cts +3 -6
- package/dist/actions/update-accounting-vendor.d.cts.map +1 -1
- package/dist/actions/update-accounting-vendor.d.mts +3 -6
- package/dist/actions/update-accounting-vendor.d.mts.map +1 -1
- package/dist/actions/update-accounting-vendor.mjs +1 -0
- package/dist/actions/update-accounting-vendor.mjs.map +1 -1
- package/dist/actions/update-card-limit.cjs +1 -0
- package/dist/actions/update-card-limit.cjs.map +1 -1
- package/dist/actions/update-card-limit.d.cts +3 -5
- package/dist/actions/update-card-limit.d.cts.map +1 -1
- package/dist/actions/update-card-limit.d.mts +3 -5
- package/dist/actions/update-card-limit.d.mts.map +1 -1
- package/dist/actions/update-card-limit.mjs +1 -0
- package/dist/actions/update-card-limit.mjs.map +1 -1
- package/dist/actions/update-department.cjs +1 -0
- package/dist/actions/update-department.cjs.map +1 -1
- package/dist/actions/update-department.d.cts +3 -6
- package/dist/actions/update-department.d.cts.map +1 -1
- package/dist/actions/update-department.d.mts +3 -6
- package/dist/actions/update-department.d.mts.map +1 -1
- package/dist/actions/update-department.mjs +1 -0
- package/dist/actions/update-department.mjs.map +1 -1
- package/dist/actions/update-limits.cjs +1 -0
- package/dist/actions/update-limits.cjs.map +1 -1
- package/dist/actions/update-limits.d.cts +3 -28
- package/dist/actions/update-limits.d.cts.map +1 -1
- package/dist/actions/update-limits.d.mts +3 -28
- package/dist/actions/update-limits.d.mts.map +1 -1
- package/dist/actions/update-limits.mjs +1 -0
- package/dist/actions/update-limits.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -12
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -12
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/actions/upload-new-options.cjs +1 -0
- package/dist/actions/upload-new-options.cjs.map +1 -1
- package/dist/actions/upload-new-options.d.cts +3 -9
- package/dist/actions/upload-new-options.d.cts.map +1 -1
- package/dist/actions/upload-new-options.d.mts +3 -9
- package/dist/actions/upload-new-options.d.mts.map +1 -1
- package/dist/actions/upload-new-options.mjs +1 -0
- package/dist/actions/upload-new-options.mjs.map +1 -1
- package/dist/actions/upload-tax-code-options.cjs +1 -0
- package/dist/actions/upload-tax-code-options.cjs.map +1 -1
- package/dist/actions/upload-tax-code-options.d.cts +3 -8
- package/dist/actions/upload-tax-code-options.d.cts.map +1 -1
- package/dist/actions/upload-tax-code-options.d.mts +3 -8
- package/dist/actions/upload-tax-code-options.d.mts.map +1 -1
- package/dist/actions/upload-tax-code-options.mjs +1 -0
- package/dist/actions/upload-tax-code-options.mjs.map +1 -1
- package/dist/actions/upload-tax-rates.cjs +1 -0
- package/dist/actions/upload-tax-rates.cjs.map +1 -1
- package/dist/actions/upload-tax-rates.d.cts +3 -9
- package/dist/actions/upload-tax-rates.d.cts.map +1 -1
- package/dist/actions/upload-tax-rates.d.mts +3 -9
- package/dist/actions/upload-tax-rates.d.mts.map +1 -1
- package/dist/actions/upload-tax-rates.mjs +1 -0
- package/dist/actions/upload-tax-rates.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reimbursement.d.mts","names":[],"sources":["../../src/actions/get-reimbursement.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-reimbursement.d.mts","names":[],"sources":["../../src/actions/get-reimbursement.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAwBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiB1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reimbursement.mjs","names":[],"sources":["../../src/actions/get-reimbursement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetReimbursementInput = z.object({\n reimbursement_id: z.string().describe(\"ID of the reimbursement to retrieve\"),\n});\nconst RampGetReimbursement_LineItemAmountSchema = z.object({\n amount: z.number().describe(\"Numeric value of the line item amount\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code for the line item\").nullable().optional(),\n}).passthrough().describe(\"Amount object for a line item.\");\nconst RampGetReimbursement_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Internal identifier for the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n type: z.string().describe(\"Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for an accounting field.\");\nconst RampGetReimbursement_AccountingFieldSelectionSchema = z.object({\n id: z.string().describe(\"Internal identifier for the accounting field selection\").nullable().optional(),\n name: z.string().describe(\"Name of the accounting field selection\").nullable().optional(),\n type: z.string().describe(\"Type of the accounting field selection\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampGetReimbursement_CategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampGetReimbursement_LineItemSchema = z.object({\n amount: RampGetReimbursement_LineItemAmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampGetReimbursement_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\").nullable().optional(),\n}).passthrough().describe(\"Individual line item within a reimbursement.\");\nexport const RampGetReimbursementOutput = z.object({\n id: z.string().describe(\"Unique identifier for the reimbursement\").nullable(),\n state: z.string().describe(\"Current state of the reimbursement (e.g., PENDING, APPROVED, DECLINED, PAID)\").nullable().optional(),\n amount: z.number().describe(\"The reimbursement monetary value\").nullable(),\n user_id: z.string().describe(\"Identifier linking the reimbursement to a specific user\").nullable(),\n currency: z.string().describe(\"The currency code for the reimbursement amount (e.g., USD, EUR)\").nullable(),\n distance: z.number().describe(\"Distance for mileage reimbursements\").nullable().optional(),\n merchant: z.string().describe(\"Name or identifier of the merchant involved in the transaction (may be null for mileage reimbursements)\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"Collection of receipt identifiers or references associated with the reimbursement\"),\n direction: z.string().describe(\"Direction of payment (e.g., BUSINESS_TO_USER)\").nullable().optional(),\n entity_id: z.string().describe(\"Entity identifier for multi-entity organizations\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp indicating when the reimbursement record was created (ISO 8601 datetime format)\").nullable().optional(),\n line_items: z.array(RampGetReimbursement_LineItemSchema).describe(\"Array of individual line items within the reimbursement\").nullable().optional(),\n transaction_date: z.string().describe(\"The date when the transaction occurred (ISO 8601 date format)\").nullable().optional(),\n accounting_field_selections: z.array(RampGetReimbursement_AccountingFieldSelectionSchema).describe(\"Array of accounting field objects with category information\").nullable().optional(),\n}).passthrough().describe(\"Complete reimbursement details returned by the API.\");\n\nexport const rampGetReimbursement = action(\"RAMP_GET_REIMBURSEMENT\", {\n slug: \"ramp-get-reimbursement\",\n name: \"Get Reimbursement Details\",\n description: \"Tool for retrieving complete details of a specific reimbursement. Includes amount, status, user information, accounting details, receipts, and sync status. Use this to get comprehensive reimbursement information for approval workflows or detailed analysis.\",\n input: RampGetReimbursementInput,\n output: RampGetReimbursementOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-reimbursement.mjs","names":[],"sources":["../../src/actions/get-reimbursement.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampGetReimbursementInput = z.object({\n reimbursement_id: z.string().describe(\"ID of the reimbursement to retrieve\"),\n});\nconst RampGetReimbursement_LineItemAmountSchema = z.object({\n amount: z.number().describe(\"Numeric value of the line item amount\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code for the line item\").nullable().optional(),\n}).passthrough().describe(\"Amount object for a line item.\");\nconst RampGetReimbursement_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Internal identifier for the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n type: z.string().describe(\"Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for an accounting field.\");\nconst RampGetReimbursement_AccountingFieldSelectionSchema = z.object({\n id: z.string().describe(\"Internal identifier for the accounting field selection\").nullable().optional(),\n name: z.string().describe(\"Name of the accounting field selection\").nullable().optional(),\n type: z.string().describe(\"Type of the accounting field selection\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampGetReimbursement_CategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampGetReimbursement_LineItemSchema = z.object({\n amount: RampGetReimbursement_LineItemAmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampGetReimbursement_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\").nullable().optional(),\n}).passthrough().describe(\"Individual line item within a reimbursement.\");\nexport const RampGetReimbursementOutput = z.object({\n id: z.string().describe(\"Unique identifier for the reimbursement\").nullable(),\n state: z.string().describe(\"Current state of the reimbursement (e.g., PENDING, APPROVED, DECLINED, PAID)\").nullable().optional(),\n amount: z.number().describe(\"The reimbursement monetary value\").nullable(),\n user_id: z.string().describe(\"Identifier linking the reimbursement to a specific user\").nullable(),\n currency: z.string().describe(\"The currency code for the reimbursement amount (e.g., USD, EUR)\").nullable(),\n distance: z.number().describe(\"Distance for mileage reimbursements\").nullable().optional(),\n merchant: z.string().describe(\"Name or identifier of the merchant involved in the transaction (may be null for mileage reimbursements)\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"Collection of receipt identifiers or references associated with the reimbursement\"),\n direction: z.string().describe(\"Direction of payment (e.g., BUSINESS_TO_USER)\").nullable().optional(),\n entity_id: z.string().describe(\"Entity identifier for multi-entity organizations\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp indicating when the reimbursement record was created (ISO 8601 datetime format)\").nullable().optional(),\n line_items: z.array(RampGetReimbursement_LineItemSchema).describe(\"Array of individual line items within the reimbursement\").nullable().optional(),\n transaction_date: z.string().describe(\"The date when the transaction occurred (ISO 8601 date format)\").nullable().optional(),\n accounting_field_selections: z.array(RampGetReimbursement_AccountingFieldSelectionSchema).describe(\"Array of accounting field objects with category information\").nullable().optional(),\n}).passthrough().describe(\"Complete reimbursement details returned by the API.\");\n\nexport const rampGetReimbursement: AppAction<\n typeof RampGetReimbursementInput,\n typeof RampGetReimbursementOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_REIMBURSEMENT\", {\n slug: \"ramp-get-reimbursement\",\n name: \"Get Reimbursement Details\",\n description: \"Tool for retrieving complete details of a specific reimbursement. Includes amount, status, user information, accounting details, receipts, and sync status. Use this to get comprehensive reimbursement information for approval workflows or detailed analysis.\",\n input: RampGetReimbursementInput,\n output: RampGetReimbursementOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EAC7E,CAAC;AACD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AS,CAAC,CAAC,SAAS;EACjJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,6BAA6B,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-spend-limit.cjs","names":["z","action"],"sources":["../../src/actions/get-spend-limit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetSpendLimitInput = z.object({\n spend_limit_id: z.string().describe(\"The unique identifier (UUID) of the spend limit to retrieve\"),\n});\nconst RampGetSpendLimit_CardSchema = z.object({\n card_id: z.string().describe(\"Unique identifier of the card\").nullable(),\n last_four: z.string().describe(\"Last four digits of the card number\").nullable().optional(),\n created_at: z.string().describe(\"Card creation timestamp in ISO8601 format\").nullable().optional(),\n expiration: z.string().describe(\"Card expiration date in MMYY format\").nullable().optional(),\n is_ap_card: z.boolean().describe(\"Indicates if this is an accounts payable card\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the card\").nullable().optional(),\n cardholder_id: z.string().describe(\"Unique identifier of the cardholder\").nullable().optional(),\n via_new_product_or_service: z.boolean().describe(\"Indicates if card was created via new product or service\").nullable().optional(),\n}).passthrough().describe(\"Card information linked to the spend limit.\");\nconst RampGetSpendLimit_UserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the user\").nullable(),\n}).passthrough().describe(\"User with access to spend from the limit.\");\nconst RampGetSpendLimit_AmountCurrencySchema = z.object({\n amount: z.number().describe(\"Monetary amount in minor units (cents)\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate for minor units (e.g., 100 for cents to dollars)\").nullable().optional(),\n}).passthrough().describe(\"Amount and currency representation.\");\nconst RampGetSpendLimit_BalanceSchema = z.object({\n total: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n cleared: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n pending: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n}).passthrough().describe(\"Details about the current balance of the limit.\");\nconst RampGetSpendLimit_SuspensionSchema = z.object({\n inserted_at: z.string().describe(\"Timestamp when suspension was applied in ISO8601 format\").nullable(),\n acting_user_id: z.string().describe(\"ID of the user who initiated the suspension\").nullable(),\n suspended_by_ramp: z.boolean().describe(\"Indicates if the suspension was initiated by Ramp\").nullable(),\n}).passthrough().describe(\"Suspension (lock) on the limit.\");\nconst RampGetSpendLimit_RestrictionsSchema = z.object({\n limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n interval: z.string().describe(\"Spending interval (e.g., MONTHLY, YEARLY)\").nullable().optional(),\n auto_lock_date: z.string().describe(\"Date when the limit will be automatically locked in ISO8601 format\").nullable().optional(),\n allowed_vendors: z.array(z.number().int()).describe(\"List of allowed vendor IDs\").nullable().optional(),\n blocked_vendors: z.array(z.number().int()).describe(\"List of blocked vendor IDs\").nullable().optional(),\n temporary_limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n start_of_interval: z.string().describe(\"Start of current interval in ISO8601 format\").nullable().optional(),\n allowed_categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes\").nullable().optional(),\n blocked_categories: z.array(z.number().int()).describe(\"List of blocked merchant category codes\").nullable().optional(),\n next_interval_reset: z.string().describe(\"Next interval reset date in ISO8601 format\").nullable().optional(),\n transaction_amount_limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n}).passthrough().describe(\"Restrictions imposed on this limit.\");\nconst RampGetSpendLimit_PermittedSpendTypesSchema = z.object({\n primary_card_enabled: z.boolean().describe(\"Indicates if primary card spending is enabled\").nullable(),\n reimbursements_enabled: z.boolean().describe(\"Indicates if reimbursements are enabled\").nullable(),\n}).passthrough().describe(\"Specifies the permitted spend types of the limit.\");\nconst RampGetSpendLimit_FieldValueSchema = z.object({\n value: z.string().describe(\"The field value\").nullable().optional(),\n}).passthrough().describe(\"Field value for custom form fields.\");\nconst RampGetSpendLimit_FormFieldSchema = z.object({\n value: RampGetSpendLimit_FieldValueSchema.nullable().optional(),\n field_type: z.string().describe(\"Type of the field (e.g., TEXT)\").nullable().optional(),\n mapped_fields: z.array(z.string()).describe(\"List of mapped field identifiers\").nullable().optional(),\n}).passthrough().describe(\"Custom form field definition.\");\nconst RampGetSpendLimit_CustomFormFieldSchema = z.object({\n field: RampGetSpendLimit_FormFieldSchema.nullable().optional(),\n label: z.string().describe(\"Field label\").nullable().optional(),\n field_id: z.string().describe(\"Unique identifier of the field\").nullable().optional(),\n required: z.boolean().describe(\"Indicates if field is required\").nullable().optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Field conditions\").nullable().optional(),\n description: z.string().describe(\"Field description\").nullable().optional(),\n validation_errors: z.array(z.string()).describe(\"List of validation errors\").nullable().optional(),\n value_display_string: z.string().describe(\"Display string for the field value\").nullable().optional(),\n is_mapped_to_ironclad_field: z.boolean().describe(\"Indicates if mapped to Ironclad field\").nullable().optional(),\n is_used_in_approval_workflow_condition: z.boolean().describe(\"Indicates if used in approval workflow condition\").nullable().optional(),\n is_used_in_custom_form_workflow_condition: z.boolean().describe(\"Indicates if used in custom form workflow condition\").nullable().optional(),\n}).passthrough().describe(\"Custom form field with metadata.\");\nconst RampGetSpendLimit_CustomFormSchema = z.object({\n label: z.string().describe(\"Label of the custom form\").nullable().optional(),\n fields: z.array(RampGetSpendLimit_CustomFormFieldSchema).describe(\"List of fields in the custom form\").nullable().optional(),\n}).passthrough().describe(\"Custom form definition.\");\nconst RampGetSpendLimit_CustomFormCollectionLogEntrySchema = z.object({\n forms: z.array(RampGetSpendLimit_CustomFormSchema).describe(\"List of custom forms\").nullable().optional(),\n label: z.string().describe(\"Label of the collection\").nullable().optional(),\n}).passthrough().describe(\"Custom form collection log entry.\");\nconst RampGetSpendLimit_CustomFormCollectionResponseSchema = z.object({\n custom_form_collection_log_entry: RampGetSpendLimit_CustomFormCollectionLogEntrySchema.nullable().optional(),\n}).passthrough().describe(\"Custom form collection with an associated response log entry.\");\nexport const RampGetSpendLimitOutput = z.object({\n id: z.string().describe(\"Unique identifier of the limit\").nullable(),\n cards: z.array(RampGetSpendLimit_CardSchema).describe(\"List of cards linked to this limit\"),\n state: z.string().describe(\"Current state of the limit (ACTIVE, SUSPENDED, or TERMINATED)\").nullable(),\n users: z.array(RampGetSpendLimit_UserSchema).describe(\"Members who can spend from the limit\"),\n balance: RampGetSpendLimit_BalanceSchema.nullable().optional(),\n entity_id: z.string().describe(\"Associated business entity of the limit (UUID)\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the spend limit is created in ISO8601 format\").nullable(),\n suspension: RampGetSpendLimit_SuspensionSchema.nullable().optional(),\n display_name: z.string().describe(\"Display name of the limit and all linked cards\").nullable(),\n is_shareable: z.boolean().describe(\"Whether this spend limit is shareable\").nullable(),\n restrictions: RampGetSpendLimit_RestrictionsSchema.nullable().optional(),\n spend_program_id: z.string().describe(\"Unique identifier of the associated Spend Program (UUID)\").nullable().optional(),\n permitted_spend_types: RampGetSpendLimit_PermittedSpendTypesSchema.nullable(),\n has_program_overridden: z.boolean().describe(\"Indicates if the limit's settings override those of its Spend Program\").nullable(),\n custom_form_collection_response: RampGetSpendLimit_CustomFormCollectionResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about a spend limit.\");\n\nexport const rampGetSpendLimit = action(\"RAMP_GET_SPEND_LIMIT\", {\n slug: \"ramp-get-spend-limit\",\n name: \"Get Spend Limit\",\n description: \"Tool to fetch detailed information about a specific spend limit. Use when you need to retrieve comprehensive limit details including balance, restrictions, linked cards, and users.\",\n input: RampGetSpendLimitInput,\n output: RampGetSpendLimitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB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AAS;CACnE,OAAOA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oCAAoC;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrG,OAAOA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,sCAAsC;CAC5F,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,YAAY,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACrF,cAAc,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACvE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,uBAAuB,4CAA4C,SAAS;CAC5E,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/H,iCAAiC,qDAAqD,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-spend-limit.cjs","names":["z","action"],"sources":["../../src/actions/get-spend-limit.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampGetSpendLimitInput = z.object({\n spend_limit_id: z.string().describe(\"The unique identifier (UUID) of the spend limit to retrieve\"),\n});\nconst RampGetSpendLimit_CardSchema = z.object({\n card_id: z.string().describe(\"Unique identifier of the card\").nullable(),\n last_four: z.string().describe(\"Last four digits of the card number\").nullable().optional(),\n created_at: z.string().describe(\"Card creation timestamp in ISO8601 format\").nullable().optional(),\n expiration: z.string().describe(\"Card expiration date in MMYY format\").nullable().optional(),\n is_ap_card: z.boolean().describe(\"Indicates if this is an accounts payable card\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the card\").nullable().optional(),\n cardholder_id: z.string().describe(\"Unique identifier of the cardholder\").nullable().optional(),\n via_new_product_or_service: z.boolean().describe(\"Indicates if card was created via new product or service\").nullable().optional(),\n}).passthrough().describe(\"Card information linked to the spend limit.\");\nconst RampGetSpendLimit_UserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the user\").nullable(),\n}).passthrough().describe(\"User with access to spend from the limit.\");\nconst RampGetSpendLimit_AmountCurrencySchema = z.object({\n amount: z.number().describe(\"Monetary amount in minor units (cents)\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate for minor units (e.g., 100 for cents to dollars)\").nullable().optional(),\n}).passthrough().describe(\"Amount and currency representation.\");\nconst RampGetSpendLimit_BalanceSchema = z.object({\n total: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n cleared: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n pending: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n}).passthrough().describe(\"Details about the current balance of the limit.\");\nconst RampGetSpendLimit_SuspensionSchema = z.object({\n inserted_at: z.string().describe(\"Timestamp when suspension was applied in ISO8601 format\").nullable(),\n acting_user_id: z.string().describe(\"ID of the user who initiated the suspension\").nullable(),\n suspended_by_ramp: z.boolean().describe(\"Indicates if the suspension was initiated by Ramp\").nullable(),\n}).passthrough().describe(\"Suspension (lock) on the limit.\");\nconst RampGetSpendLimit_RestrictionsSchema = z.object({\n limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n interval: z.string().describe(\"Spending interval (e.g., MONTHLY, YEARLY)\").nullable().optional(),\n auto_lock_date: z.string().describe(\"Date when the limit will be automatically locked in ISO8601 format\").nullable().optional(),\n allowed_vendors: z.array(z.number().int()).describe(\"List of allowed vendor IDs\").nullable().optional(),\n blocked_vendors: z.array(z.number().int()).describe(\"List of blocked vendor IDs\").nullable().optional(),\n temporary_limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n start_of_interval: z.string().describe(\"Start of current interval in ISO8601 format\").nullable().optional(),\n allowed_categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes\").nullable().optional(),\n blocked_categories: z.array(z.number().int()).describe(\"List of blocked merchant category codes\").nullable().optional(),\n next_interval_reset: z.string().describe(\"Next interval reset date in ISO8601 format\").nullable().optional(),\n transaction_amount_limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n}).passthrough().describe(\"Restrictions imposed on this limit.\");\nconst RampGetSpendLimit_PermittedSpendTypesSchema = z.object({\n primary_card_enabled: z.boolean().describe(\"Indicates if primary card spending is enabled\").nullable(),\n reimbursements_enabled: z.boolean().describe(\"Indicates if reimbursements are enabled\").nullable(),\n}).passthrough().describe(\"Specifies the permitted spend types of the limit.\");\nconst RampGetSpendLimit_FieldValueSchema = z.object({\n value: z.string().describe(\"The field value\").nullable().optional(),\n}).passthrough().describe(\"Field value for custom form fields.\");\nconst RampGetSpendLimit_FormFieldSchema = z.object({\n value: RampGetSpendLimit_FieldValueSchema.nullable().optional(),\n field_type: z.string().describe(\"Type of the field (e.g., TEXT)\").nullable().optional(),\n mapped_fields: z.array(z.string()).describe(\"List of mapped field identifiers\").nullable().optional(),\n}).passthrough().describe(\"Custom form field definition.\");\nconst RampGetSpendLimit_CustomFormFieldSchema = z.object({\n field: RampGetSpendLimit_FormFieldSchema.nullable().optional(),\n label: z.string().describe(\"Field label\").nullable().optional(),\n field_id: z.string().describe(\"Unique identifier of the field\").nullable().optional(),\n required: z.boolean().describe(\"Indicates if field is required\").nullable().optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Field conditions\").nullable().optional(),\n description: z.string().describe(\"Field description\").nullable().optional(),\n validation_errors: z.array(z.string()).describe(\"List of validation errors\").nullable().optional(),\n value_display_string: z.string().describe(\"Display string for the field value\").nullable().optional(),\n is_mapped_to_ironclad_field: z.boolean().describe(\"Indicates if mapped to Ironclad field\").nullable().optional(),\n is_used_in_approval_workflow_condition: z.boolean().describe(\"Indicates if used in approval workflow condition\").nullable().optional(),\n is_used_in_custom_form_workflow_condition: z.boolean().describe(\"Indicates if used in custom form workflow condition\").nullable().optional(),\n}).passthrough().describe(\"Custom form field with metadata.\");\nconst RampGetSpendLimit_CustomFormSchema = z.object({\n label: z.string().describe(\"Label of the custom form\").nullable().optional(),\n fields: z.array(RampGetSpendLimit_CustomFormFieldSchema).describe(\"List of fields in the custom form\").nullable().optional(),\n}).passthrough().describe(\"Custom form definition.\");\nconst RampGetSpendLimit_CustomFormCollectionLogEntrySchema = z.object({\n forms: z.array(RampGetSpendLimit_CustomFormSchema).describe(\"List of custom forms\").nullable().optional(),\n label: z.string().describe(\"Label of the collection\").nullable().optional(),\n}).passthrough().describe(\"Custom form collection log entry.\");\nconst RampGetSpendLimit_CustomFormCollectionResponseSchema = z.object({\n custom_form_collection_log_entry: RampGetSpendLimit_CustomFormCollectionLogEntrySchema.nullable().optional(),\n}).passthrough().describe(\"Custom form collection with an associated response log entry.\");\nexport const RampGetSpendLimitOutput = z.object({\n id: z.string().describe(\"Unique identifier of the limit\").nullable(),\n cards: z.array(RampGetSpendLimit_CardSchema).describe(\"List of cards linked to this limit\"),\n state: z.string().describe(\"Current state of the limit (ACTIVE, SUSPENDED, or TERMINATED)\").nullable(),\n users: z.array(RampGetSpendLimit_UserSchema).describe(\"Members who can spend from the limit\"),\n balance: RampGetSpendLimit_BalanceSchema.nullable().optional(),\n entity_id: z.string().describe(\"Associated business entity of the limit (UUID)\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the spend limit is created in ISO8601 format\").nullable(),\n suspension: RampGetSpendLimit_SuspensionSchema.nullable().optional(),\n display_name: z.string().describe(\"Display name of the limit and all linked cards\").nullable(),\n is_shareable: z.boolean().describe(\"Whether this spend limit is shareable\").nullable(),\n restrictions: RampGetSpendLimit_RestrictionsSchema.nullable().optional(),\n spend_program_id: z.string().describe(\"Unique identifier of the associated Spend Program (UUID)\").nullable().optional(),\n permitted_spend_types: RampGetSpendLimit_PermittedSpendTypesSchema.nullable(),\n has_program_overridden: z.boolean().describe(\"Indicates if the limit's settings override those of its Spend Program\").nullable(),\n custom_form_collection_response: RampGetSpendLimit_CustomFormCollectionResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about a spend limit.\");\n\nexport const rampGetSpendLimit: AppAction<\n typeof RampGetSpendLimitInput,\n typeof RampGetSpendLimitOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_SPEND_LIMIT\", {\n slug: \"ramp-get-spend-limit\",\n name: \"Get Spend Limit\",\n description: \"Tool to fetch detailed information about a specific spend limit. Use when you need to retrieve comprehensive limit details including balance, restrictions, linked cards, and users.\",\n input: RampGetSpendLimitInput,\n output: RampGetSpendLimitOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EACnG,CAAC;AACD,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,C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CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,YAAY,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACrF,cAAc,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACvE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,uBAAuB,4CAA4C,SAAS;CAC5E,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/H,iCAAiC,qDAAqD,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-spend-limit.d.ts
|
|
@@ -105,9 +107,7 @@ declare const RampGetSpendLimitOutput: z.ZodObject<{
|
|
|
105
107
|
}, z.core.$loose>>>;
|
|
106
108
|
}, z.core.$loose>>>;
|
|
107
109
|
}, z.core.$loose>;
|
|
108
|
-
declare const rampGetSpendLimit:
|
|
109
|
-
spend_limit_id: string;
|
|
110
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
110
|
+
declare const rampGetSpendLimit: AppAction<typeof RampGetSpendLimitInput, typeof RampGetSpendLimitOutput, typeof ramp.credential>;
|
|
111
111
|
//#endregion
|
|
112
112
|
export { rampGetSpendLimit };
|
|
113
113
|
//# sourceMappingURL=get-spend-limit.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-spend-limit.d.cts","names":[],"sources":["../../src/actions/get-spend-limit.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-spend-limit.d.cts","names":[],"sources":["../../src/actions/get-spend-limit.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAgFtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-spend-limit.d.ts
|
|
@@ -105,9 +107,7 @@ declare const RampGetSpendLimitOutput: z.ZodObject<{
|
|
|
105
107
|
}, z.core.$loose>>>;
|
|
106
108
|
}, z.core.$loose>>>;
|
|
107
109
|
}, z.core.$loose>;
|
|
108
|
-
declare const rampGetSpendLimit:
|
|
109
|
-
spend_limit_id: string;
|
|
110
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
110
|
+
declare const rampGetSpendLimit: AppAction<typeof RampGetSpendLimitInput, typeof RampGetSpendLimitOutput, typeof ramp.credential>;
|
|
111
111
|
//#endregion
|
|
112
112
|
export { rampGetSpendLimit };
|
|
113
113
|
//# sourceMappingURL=get-spend-limit.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-spend-limit.d.mts","names":[],"sources":["../../src/actions/get-spend-limit.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-spend-limit.d.mts","names":[],"sources":["../../src/actions/get-spend-limit.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAgFtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-spend-limit.mjs","names":[],"sources":["../../src/actions/get-spend-limit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetSpendLimitInput = z.object({\n spend_limit_id: z.string().describe(\"The unique identifier (UUID) of the spend limit to retrieve\"),\n});\nconst RampGetSpendLimit_CardSchema = z.object({\n card_id: z.string().describe(\"Unique identifier of the card\").nullable(),\n last_four: z.string().describe(\"Last four digits of the card number\").nullable().optional(),\n created_at: z.string().describe(\"Card creation timestamp in ISO8601 format\").nullable().optional(),\n expiration: z.string().describe(\"Card expiration date in MMYY format\").nullable().optional(),\n is_ap_card: z.boolean().describe(\"Indicates if this is an accounts payable card\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the card\").nullable().optional(),\n cardholder_id: z.string().describe(\"Unique identifier of the cardholder\").nullable().optional(),\n via_new_product_or_service: z.boolean().describe(\"Indicates if card was created via new product or service\").nullable().optional(),\n}).passthrough().describe(\"Card information linked to the spend limit.\");\nconst RampGetSpendLimit_UserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the user\").nullable(),\n}).passthrough().describe(\"User with access to spend from the limit.\");\nconst RampGetSpendLimit_AmountCurrencySchema = z.object({\n amount: z.number().describe(\"Monetary amount in minor units (cents)\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate for minor units (e.g., 100 for cents to dollars)\").nullable().optional(),\n}).passthrough().describe(\"Amount and currency representation.\");\nconst RampGetSpendLimit_BalanceSchema = z.object({\n total: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n cleared: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n pending: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n}).passthrough().describe(\"Details about the current balance of the limit.\");\nconst RampGetSpendLimit_SuspensionSchema = z.object({\n inserted_at: z.string().describe(\"Timestamp when suspension was applied in ISO8601 format\").nullable(),\n acting_user_id: z.string().describe(\"ID of the user who initiated the suspension\").nullable(),\n suspended_by_ramp: z.boolean().describe(\"Indicates if the suspension was initiated by Ramp\").nullable(),\n}).passthrough().describe(\"Suspension (lock) on the limit.\");\nconst RampGetSpendLimit_RestrictionsSchema = z.object({\n limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n interval: z.string().describe(\"Spending interval (e.g., MONTHLY, YEARLY)\").nullable().optional(),\n auto_lock_date: z.string().describe(\"Date when the limit will be automatically locked in ISO8601 format\").nullable().optional(),\n allowed_vendors: z.array(z.number().int()).describe(\"List of allowed vendor IDs\").nullable().optional(),\n blocked_vendors: z.array(z.number().int()).describe(\"List of blocked vendor IDs\").nullable().optional(),\n temporary_limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n start_of_interval: z.string().describe(\"Start of current interval in ISO8601 format\").nullable().optional(),\n allowed_categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes\").nullable().optional(),\n blocked_categories: z.array(z.number().int()).describe(\"List of blocked merchant category codes\").nullable().optional(),\n next_interval_reset: z.string().describe(\"Next interval reset date in ISO8601 format\").nullable().optional(),\n transaction_amount_limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n}).passthrough().describe(\"Restrictions imposed on this limit.\");\nconst RampGetSpendLimit_PermittedSpendTypesSchema = z.object({\n primary_card_enabled: z.boolean().describe(\"Indicates if primary card spending is enabled\").nullable(),\n reimbursements_enabled: z.boolean().describe(\"Indicates if reimbursements are enabled\").nullable(),\n}).passthrough().describe(\"Specifies the permitted spend types of the limit.\");\nconst RampGetSpendLimit_FieldValueSchema = z.object({\n value: z.string().describe(\"The field value\").nullable().optional(),\n}).passthrough().describe(\"Field value for custom form fields.\");\nconst RampGetSpendLimit_FormFieldSchema = z.object({\n value: RampGetSpendLimit_FieldValueSchema.nullable().optional(),\n field_type: z.string().describe(\"Type of the field (e.g., TEXT)\").nullable().optional(),\n mapped_fields: z.array(z.string()).describe(\"List of mapped field identifiers\").nullable().optional(),\n}).passthrough().describe(\"Custom form field definition.\");\nconst RampGetSpendLimit_CustomFormFieldSchema = z.object({\n field: RampGetSpendLimit_FormFieldSchema.nullable().optional(),\n label: z.string().describe(\"Field label\").nullable().optional(),\n field_id: z.string().describe(\"Unique identifier of the field\").nullable().optional(),\n required: z.boolean().describe(\"Indicates if field is required\").nullable().optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Field conditions\").nullable().optional(),\n description: z.string().describe(\"Field description\").nullable().optional(),\n validation_errors: z.array(z.string()).describe(\"List of validation errors\").nullable().optional(),\n value_display_string: z.string().describe(\"Display string for the field value\").nullable().optional(),\n is_mapped_to_ironclad_field: z.boolean().describe(\"Indicates if mapped to Ironclad field\").nullable().optional(),\n is_used_in_approval_workflow_condition: z.boolean().describe(\"Indicates if used in approval workflow condition\").nullable().optional(),\n is_used_in_custom_form_workflow_condition: z.boolean().describe(\"Indicates if used in custom form workflow condition\").nullable().optional(),\n}).passthrough().describe(\"Custom form field with metadata.\");\nconst RampGetSpendLimit_CustomFormSchema = z.object({\n label: z.string().describe(\"Label of the custom form\").nullable().optional(),\n fields: z.array(RampGetSpendLimit_CustomFormFieldSchema).describe(\"List of fields in the custom form\").nullable().optional(),\n}).passthrough().describe(\"Custom form definition.\");\nconst RampGetSpendLimit_CustomFormCollectionLogEntrySchema = z.object({\n forms: z.array(RampGetSpendLimit_CustomFormSchema).describe(\"List of custom forms\").nullable().optional(),\n label: z.string().describe(\"Label of the collection\").nullable().optional(),\n}).passthrough().describe(\"Custom form collection log entry.\");\nconst RampGetSpendLimit_CustomFormCollectionResponseSchema = z.object({\n custom_form_collection_log_entry: RampGetSpendLimit_CustomFormCollectionLogEntrySchema.nullable().optional(),\n}).passthrough().describe(\"Custom form collection with an associated response log entry.\");\nexport const RampGetSpendLimitOutput = z.object({\n id: z.string().describe(\"Unique identifier of the limit\").nullable(),\n cards: z.array(RampGetSpendLimit_CardSchema).describe(\"List of cards linked to this limit\"),\n state: z.string().describe(\"Current state of the limit (ACTIVE, SUSPENDED, or TERMINATED)\").nullable(),\n users: z.array(RampGetSpendLimit_UserSchema).describe(\"Members who can spend from the limit\"),\n balance: RampGetSpendLimit_BalanceSchema.nullable().optional(),\n entity_id: z.string().describe(\"Associated business entity of the limit (UUID)\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the spend limit is created in ISO8601 format\").nullable(),\n suspension: RampGetSpendLimit_SuspensionSchema.nullable().optional(),\n display_name: z.string().describe(\"Display name of the limit and all linked cards\").nullable(),\n is_shareable: z.boolean().describe(\"Whether this spend limit is shareable\").nullable(),\n restrictions: RampGetSpendLimit_RestrictionsSchema.nullable().optional(),\n spend_program_id: z.string().describe(\"Unique identifier of the associated Spend Program (UUID)\").nullable().optional(),\n permitted_spend_types: RampGetSpendLimit_PermittedSpendTypesSchema.nullable(),\n has_program_overridden: z.boolean().describe(\"Indicates if the limit's settings override those of its Spend Program\").nullable(),\n custom_form_collection_response: RampGetSpendLimit_CustomFormCollectionResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about a spend limit.\");\n\nexport const rampGetSpendLimit = action(\"RAMP_GET_SPEND_LIMIT\", {\n slug: \"ramp-get-spend-limit\",\n name: \"Get Spend Limit\",\n description: \"Tool to fetch detailed information about a specific spend limit. Use when you need to retrieve comprehensive limit details including balance, restrictions, linked cards, and users.\",\n input: RampGetSpendLimitInput,\n output: RampGetSpendLimitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EACnG,CAAC;AACD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,+BAA+B,EAAE,OAAO,EAC5C,SAAS,EAAE,OAAO,CAAC,CA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C,CAAC,SAAS,sCAAsC;EAC5F,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,YAAY,mCAAmC,SAAS,CAAC,CAAC,SAAS;EACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACrF,cAAc,qCAAqC,SAAS,CAAC,CAAC,SAAS;EACvE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,uBAAuB,4CAA4C,SAAS;EAC5E,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/H,iCAAiC,qDAAqD,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-spend-limit.mjs","names":[],"sources":["../../src/actions/get-spend-limit.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampGetSpendLimitInput = z.object({\n spend_limit_id: z.string().describe(\"The unique identifier (UUID) of the spend limit to retrieve\"),\n});\nconst RampGetSpendLimit_CardSchema = z.object({\n card_id: z.string().describe(\"Unique identifier of the card\").nullable(),\n last_four: z.string().describe(\"Last four digits of the card number\").nullable().optional(),\n created_at: z.string().describe(\"Card creation timestamp in ISO8601 format\").nullable().optional(),\n expiration: z.string().describe(\"Card expiration date in MMYY format\").nullable().optional(),\n is_ap_card: z.boolean().describe(\"Indicates if this is an accounts payable card\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the card\").nullable().optional(),\n cardholder_id: z.string().describe(\"Unique identifier of the cardholder\").nullable().optional(),\n via_new_product_or_service: z.boolean().describe(\"Indicates if card was created via new product or service\").nullable().optional(),\n}).passthrough().describe(\"Card information linked to the spend limit.\");\nconst RampGetSpendLimit_UserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the user\").nullable(),\n}).passthrough().describe(\"User with access to spend from the limit.\");\nconst RampGetSpendLimit_AmountCurrencySchema = z.object({\n amount: z.number().describe(\"Monetary amount in minor units (cents)\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate for minor units (e.g., 100 for cents to dollars)\").nullable().optional(),\n}).passthrough().describe(\"Amount and currency representation.\");\nconst RampGetSpendLimit_BalanceSchema = z.object({\n total: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n cleared: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n pending: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n}).passthrough().describe(\"Details about the current balance of the limit.\");\nconst RampGetSpendLimit_SuspensionSchema = z.object({\n inserted_at: z.string().describe(\"Timestamp when suspension was applied in ISO8601 format\").nullable(),\n acting_user_id: z.string().describe(\"ID of the user who initiated the suspension\").nullable(),\n suspended_by_ramp: z.boolean().describe(\"Indicates if the suspension was initiated by Ramp\").nullable(),\n}).passthrough().describe(\"Suspension (lock) on the limit.\");\nconst RampGetSpendLimit_RestrictionsSchema = z.object({\n limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n interval: z.string().describe(\"Spending interval (e.g., MONTHLY, YEARLY)\").nullable().optional(),\n auto_lock_date: z.string().describe(\"Date when the limit will be automatically locked in ISO8601 format\").nullable().optional(),\n allowed_vendors: z.array(z.number().int()).describe(\"List of allowed vendor IDs\").nullable().optional(),\n blocked_vendors: z.array(z.number().int()).describe(\"List of blocked vendor IDs\").nullable().optional(),\n temporary_limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n start_of_interval: z.string().describe(\"Start of current interval in ISO8601 format\").nullable().optional(),\n allowed_categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes\").nullable().optional(),\n blocked_categories: z.array(z.number().int()).describe(\"List of blocked merchant category codes\").nullable().optional(),\n next_interval_reset: z.string().describe(\"Next interval reset date in ISO8601 format\").nullable().optional(),\n transaction_amount_limit: RampGetSpendLimit_AmountCurrencySchema.nullable().optional(),\n}).passthrough().describe(\"Restrictions imposed on this limit.\");\nconst RampGetSpendLimit_PermittedSpendTypesSchema = z.object({\n primary_card_enabled: z.boolean().describe(\"Indicates if primary card spending is enabled\").nullable(),\n reimbursements_enabled: z.boolean().describe(\"Indicates if reimbursements are enabled\").nullable(),\n}).passthrough().describe(\"Specifies the permitted spend types of the limit.\");\nconst RampGetSpendLimit_FieldValueSchema = z.object({\n value: z.string().describe(\"The field value\").nullable().optional(),\n}).passthrough().describe(\"Field value for custom form fields.\");\nconst RampGetSpendLimit_FormFieldSchema = z.object({\n value: RampGetSpendLimit_FieldValueSchema.nullable().optional(),\n field_type: z.string().describe(\"Type of the field (e.g., TEXT)\").nullable().optional(),\n mapped_fields: z.array(z.string()).describe(\"List of mapped field identifiers\").nullable().optional(),\n}).passthrough().describe(\"Custom form field definition.\");\nconst RampGetSpendLimit_CustomFormFieldSchema = z.object({\n field: RampGetSpendLimit_FormFieldSchema.nullable().optional(),\n label: z.string().describe(\"Field label\").nullable().optional(),\n field_id: z.string().describe(\"Unique identifier of the field\").nullable().optional(),\n required: z.boolean().describe(\"Indicates if field is required\").nullable().optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Field conditions\").nullable().optional(),\n description: z.string().describe(\"Field description\").nullable().optional(),\n validation_errors: z.array(z.string()).describe(\"List of validation errors\").nullable().optional(),\n value_display_string: z.string().describe(\"Display string for the field value\").nullable().optional(),\n is_mapped_to_ironclad_field: z.boolean().describe(\"Indicates if mapped to Ironclad field\").nullable().optional(),\n is_used_in_approval_workflow_condition: z.boolean().describe(\"Indicates if used in approval workflow condition\").nullable().optional(),\n is_used_in_custom_form_workflow_condition: z.boolean().describe(\"Indicates if used in custom form workflow condition\").nullable().optional(),\n}).passthrough().describe(\"Custom form field with metadata.\");\nconst RampGetSpendLimit_CustomFormSchema = z.object({\n label: z.string().describe(\"Label of the custom form\").nullable().optional(),\n fields: z.array(RampGetSpendLimit_CustomFormFieldSchema).describe(\"List of fields in the custom form\").nullable().optional(),\n}).passthrough().describe(\"Custom form definition.\");\nconst RampGetSpendLimit_CustomFormCollectionLogEntrySchema = z.object({\n forms: z.array(RampGetSpendLimit_CustomFormSchema).describe(\"List of custom forms\").nullable().optional(),\n label: z.string().describe(\"Label of the collection\").nullable().optional(),\n}).passthrough().describe(\"Custom form collection log entry.\");\nconst RampGetSpendLimit_CustomFormCollectionResponseSchema = z.object({\n custom_form_collection_log_entry: RampGetSpendLimit_CustomFormCollectionLogEntrySchema.nullable().optional(),\n}).passthrough().describe(\"Custom form collection with an associated response log entry.\");\nexport const RampGetSpendLimitOutput = z.object({\n id: z.string().describe(\"Unique identifier of the limit\").nullable(),\n cards: z.array(RampGetSpendLimit_CardSchema).describe(\"List of cards linked to this limit\"),\n state: z.string().describe(\"Current state of the limit (ACTIVE, SUSPENDED, or TERMINATED)\").nullable(),\n users: z.array(RampGetSpendLimit_UserSchema).describe(\"Members who can spend from the limit\"),\n balance: RampGetSpendLimit_BalanceSchema.nullable().optional(),\n entity_id: z.string().describe(\"Associated business entity of the limit (UUID)\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the spend limit is created in ISO8601 format\").nullable(),\n suspension: RampGetSpendLimit_SuspensionSchema.nullable().optional(),\n display_name: z.string().describe(\"Display name of the limit and all linked cards\").nullable(),\n is_shareable: z.boolean().describe(\"Whether this spend limit is shareable\").nullable(),\n restrictions: RampGetSpendLimit_RestrictionsSchema.nullable().optional(),\n spend_program_id: z.string().describe(\"Unique identifier of the associated Spend Program (UUID)\").nullable().optional(),\n permitted_spend_types: RampGetSpendLimit_PermittedSpendTypesSchema.nullable(),\n has_program_overridden: z.boolean().describe(\"Indicates if the limit's settings override those of its Spend Program\").nullable(),\n custom_form_collection_response: RampGetSpendLimit_CustomFormCollectionResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about a spend limit.\");\n\nexport const rampGetSpendLimit: AppAction<\n typeof RampGetSpendLimitInput,\n typeof RampGetSpendLimitOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_SPEND_LIMIT\", {\n slug: \"ramp-get-spend-limit\",\n name: \"Get Spend Limit\",\n description: \"Tool to fetch detailed information about a specific spend limit. Use when you need to retrieve comprehensive limit details including balance, restrictions, linked cards, and users.\",\n input: RampGetSpendLimitInput,\n output: RampGetSpendLimitOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EACnG,CAAC;AACD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CA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OAAO;CACP,QA3BqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,oCAAoC;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACrG,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,sCAAsC;EAC5F,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,YAAY,mCAAmC,SAAS,CAAC,CAAC,SAAS;EACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACrF,cAAc,qCAAqC,SAAS,CAAC,CAAC,SAAS;EACvE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,uBAAuB,4CAA4C,SAAS;EAC5E,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/H,iCAAiC,qDAAqD,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-statement.cjs","names":["z","action"],"sources":["../../src/actions/get-statement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetStatementInput = z.object({\n format: z.enum([\"json\", \"pdf\", \"csv\"]).default(\"json\").describe(\"Format of the statement: json, pdf, csv\").optional(),\n statement_id: z.string().describe(\"ID of the statement to retrieve\"),\n});\nconst RampGetStatement_MonetaryAmountSchema = z.object({\n amount: z.number().int().describe(\"The amount in minor units (e.g., cents).\").nullable(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD').\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor units to major currency units (e.g., 100 for USD).\").nullable(),\n}).passthrough().describe(\"Represents a monetary amount with currency information.\");\nconst RampGetStatement_StatementLineSchema = z.object({\n id: z.string().describe(\"Unique identifier for the statement line.\").nullable(),\n type: z.string().describe(\"Type of statement line (e.g., 'CARD_TRANSACTION').\").nullable(),\n cleared_at: z.string().describe(\"Timestamp when the transaction was cleared (ISO 8601 format).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Represents a line item within a statement.\");\nconst RampGetStatement_StatementDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement.\").nullable(),\n credits: RampGetStatement_MonetaryAmountSchema.nullable().optional(),\n end_date: z.string().describe(\"End date of the statement period (ISO 8601 format).\").nullable().optional(),\n payments: RampGetStatement_MonetaryAmountSchema.nullable(),\n start_date: z.string().describe(\"Start date of the statement period (ISO 8601 format).\").nullable().optional(),\n statement_url: z.string().describe(\"URL to download the statement PDF.\").nullable().optional(),\n ending_balance: RampGetStatement_MonetaryAmountSchema.nullable(),\n opening_balance: RampGetStatement_MonetaryAmountSchema.nullable(),\n statement_lines: z.array(RampGetStatement_StatementLineSchema).describe(\"List of statement line items.\").nullable().optional(),\n}).passthrough().describe(\"Detailed statement data returned by the API.\");\nconst RampGetStatement_FileDownloadDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement.\").nullable(),\n download_url: z.string().describe(\"URL to download the statement file.\").nullable().optional(),\n}).passthrough().describe(\"Data returned when requesting a statement in PDF or CSV format.\");\nexport const RampGetStatementOutput = z.object({\n response_data: z.union([RampGetStatement_StatementDataSchema, RampGetStatement_FileDownloadDataSchema]),\n}).passthrough();\n\nexport const rampGetStatement = action(\"RAMP_GET_STATEMENT\", {\n slug: \"ramp-get-statement\",\n name: \"Get Statement\",\n description: \"Tool for retrieving statement details or downloading statements. Supports JSON, PDF, and CSV formats for financial reporting.\",\n input: RampGetStatementInput,\n output: RampGetStatementOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-statement.cjs","names":["z","action"],"sources":["../../src/actions/get-statement.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampGetStatementInput = z.object({\n format: z.enum([\"json\", \"pdf\", \"csv\"]).default(\"json\").describe(\"Format of the statement: json, pdf, csv\").optional(),\n statement_id: z.string().describe(\"ID of the statement to retrieve\"),\n});\nconst RampGetStatement_MonetaryAmountSchema = z.object({\n amount: z.number().int().describe(\"The amount in minor units (e.g., cents).\").nullable(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD').\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor units to major currency units (e.g., 100 for USD).\").nullable(),\n}).passthrough().describe(\"Represents a monetary amount with currency information.\");\nconst RampGetStatement_StatementLineSchema = z.object({\n id: z.string().describe(\"Unique identifier for the statement line.\").nullable(),\n type: z.string().describe(\"Type of statement line (e.g., 'CARD_TRANSACTION').\").nullable(),\n cleared_at: z.string().describe(\"Timestamp when the transaction was cleared (ISO 8601 format).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Represents a line item within a statement.\");\nconst RampGetStatement_StatementDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement.\").nullable(),\n credits: RampGetStatement_MonetaryAmountSchema.nullable().optional(),\n end_date: z.string().describe(\"End date of the statement period (ISO 8601 format).\").nullable().optional(),\n payments: RampGetStatement_MonetaryAmountSchema.nullable(),\n start_date: z.string().describe(\"Start date of the statement period (ISO 8601 format).\").nullable().optional(),\n statement_url: z.string().describe(\"URL to download the statement PDF.\").nullable().optional(),\n ending_balance: RampGetStatement_MonetaryAmountSchema.nullable(),\n opening_balance: RampGetStatement_MonetaryAmountSchema.nullable(),\n statement_lines: z.array(RampGetStatement_StatementLineSchema).describe(\"List of statement line items.\").nullable().optional(),\n}).passthrough().describe(\"Detailed statement data returned by the API.\");\nconst RampGetStatement_FileDownloadDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement.\").nullable(),\n download_url: z.string().describe(\"URL to download the statement file.\").nullable().optional(),\n}).passthrough().describe(\"Data returned when requesting a statement in PDF or CSV format.\");\nexport const RampGetStatementOutput = z.object({\n response_data: z.union([RampGetStatement_StatementDataSchema, RampGetStatement_FileDownloadDataSchema]),\n}).passthrough();\n\nexport const rampGetStatement: AppAction<\n typeof RampGetStatementInput,\n typeof RampGetStatementOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_STATEMENT\", {\n slug: \"ramp-get-statement\",\n name: \"Get Statement\",\n description: \"Tool for retrieving statement details or downloading statements. Supports JSON, PDF, and CSV formats for financial reporting.\",\n input: RampGetStatementInput,\n output: RampGetStatementOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAO;CAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AACrE,CAAC;AACD,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,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,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,eAAeA,IAAAA,EAAE,MAAM,CAAC,sCAAsC,uCAAuC,CAAC,EACxG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-statement.d.ts
|
|
@@ -46,10 +48,7 @@ declare const RampGetStatementOutput: z.ZodObject<{
|
|
|
46
48
|
download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
49
|
}, z.core.$loose>]>;
|
|
48
50
|
}, z.core.$loose>;
|
|
49
|
-
declare const rampGetStatement:
|
|
50
|
-
statement_id: string;
|
|
51
|
-
format?: "json" | "pdf" | "csv" | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
51
|
+
declare const rampGetStatement: AppAction<typeof RampGetStatementInput, typeof RampGetStatementOutput, typeof ramp.credential>;
|
|
53
52
|
//#endregion
|
|
54
53
|
export { rampGetStatement };
|
|
55
54
|
//# sourceMappingURL=get-statement.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-statement.d.cts","names":[],"sources":["../../src/actions/get-statement.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-statement.d.cts","names":[],"sources":["../../src/actions/get-statement.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cA8BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-statement.d.ts
|
|
@@ -46,10 +48,7 @@ declare const RampGetStatementOutput: z.ZodObject<{
|
|
|
46
48
|
download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
49
|
}, z.core.$loose>]>;
|
|
48
50
|
}, z.core.$loose>;
|
|
49
|
-
declare const rampGetStatement:
|
|
50
|
-
statement_id: string;
|
|
51
|
-
format?: "json" | "pdf" | "csv" | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
51
|
+
declare const rampGetStatement: AppAction<typeof RampGetStatementInput, typeof RampGetStatementOutput, typeof ramp.credential>;
|
|
53
52
|
//#endregion
|
|
54
53
|
export { rampGetStatement };
|
|
55
54
|
//# sourceMappingURL=get-statement.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-statement.d.mts","names":[],"sources":["../../src/actions/get-statement.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-statement.d.mts","names":[],"sources":["../../src/actions/get-statement.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cA8BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-statement.mjs","names":[],"sources":["../../src/actions/get-statement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetStatementInput = z.object({\n format: z.enum([\"json\", \"pdf\", \"csv\"]).default(\"json\").describe(\"Format of the statement: json, pdf, csv\").optional(),\n statement_id: z.string().describe(\"ID of the statement to retrieve\"),\n});\nconst RampGetStatement_MonetaryAmountSchema = z.object({\n amount: z.number().int().describe(\"The amount in minor units (e.g., cents).\").nullable(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD').\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor units to major currency units (e.g., 100 for USD).\").nullable(),\n}).passthrough().describe(\"Represents a monetary amount with currency information.\");\nconst RampGetStatement_StatementLineSchema = z.object({\n id: z.string().describe(\"Unique identifier for the statement line.\").nullable(),\n type: z.string().describe(\"Type of statement line (e.g., 'CARD_TRANSACTION').\").nullable(),\n cleared_at: z.string().describe(\"Timestamp when the transaction was cleared (ISO 8601 format).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Represents a line item within a statement.\");\nconst RampGetStatement_StatementDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement.\").nullable(),\n credits: RampGetStatement_MonetaryAmountSchema.nullable().optional(),\n end_date: z.string().describe(\"End date of the statement period (ISO 8601 format).\").nullable().optional(),\n payments: RampGetStatement_MonetaryAmountSchema.nullable(),\n start_date: z.string().describe(\"Start date of the statement period (ISO 8601 format).\").nullable().optional(),\n statement_url: z.string().describe(\"URL to download the statement PDF.\").nullable().optional(),\n ending_balance: RampGetStatement_MonetaryAmountSchema.nullable(),\n opening_balance: RampGetStatement_MonetaryAmountSchema.nullable(),\n statement_lines: z.array(RampGetStatement_StatementLineSchema).describe(\"List of statement line items.\").nullable().optional(),\n}).passthrough().describe(\"Detailed statement data returned by the API.\");\nconst RampGetStatement_FileDownloadDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement.\").nullable(),\n download_url: z.string().describe(\"URL to download the statement file.\").nullable().optional(),\n}).passthrough().describe(\"Data returned when requesting a statement in PDF or CSV format.\");\nexport const RampGetStatementOutput = z.object({\n response_data: z.union([RampGetStatement_StatementDataSchema, RampGetStatement_FileDownloadDataSchema]),\n}).passthrough();\n\nexport const rampGetStatement = action(\"RAMP_GET_STATEMENT\", {\n slug: \"ramp-get-statement\",\n name: \"Get Statement\",\n description: \"Tool for retrieving statement details or downloading statements. Supports JSON, PDF, and CSV formats for financial reporting.\",\n input: RampGetStatementInput,\n output: RampGetStatementOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-statement.mjs","names":[],"sources":["../../src/actions/get-statement.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampGetStatementInput = z.object({\n format: z.enum([\"json\", \"pdf\", \"csv\"]).default(\"json\").describe(\"Format of the statement: json, pdf, csv\").optional(),\n statement_id: z.string().describe(\"ID of the statement to retrieve\"),\n});\nconst RampGetStatement_MonetaryAmountSchema = z.object({\n amount: z.number().int().describe(\"The amount in minor units (e.g., cents).\").nullable(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD').\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor units to major currency units (e.g., 100 for USD).\").nullable(),\n}).passthrough().describe(\"Represents a monetary amount with currency information.\");\nconst RampGetStatement_StatementLineSchema = z.object({\n id: z.string().describe(\"Unique identifier for the statement line.\").nullable(),\n type: z.string().describe(\"Type of statement line (e.g., 'CARD_TRANSACTION').\").nullable(),\n cleared_at: z.string().describe(\"Timestamp when the transaction was cleared (ISO 8601 format).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Represents a line item within a statement.\");\nconst RampGetStatement_StatementDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement.\").nullable(),\n credits: RampGetStatement_MonetaryAmountSchema.nullable().optional(),\n end_date: z.string().describe(\"End date of the statement period (ISO 8601 format).\").nullable().optional(),\n payments: RampGetStatement_MonetaryAmountSchema.nullable(),\n start_date: z.string().describe(\"Start date of the statement period (ISO 8601 format).\").nullable().optional(),\n statement_url: z.string().describe(\"URL to download the statement PDF.\").nullable().optional(),\n ending_balance: RampGetStatement_MonetaryAmountSchema.nullable(),\n opening_balance: RampGetStatement_MonetaryAmountSchema.nullable(),\n statement_lines: z.array(RampGetStatement_StatementLineSchema).describe(\"List of statement line items.\").nullable().optional(),\n}).passthrough().describe(\"Detailed statement data returned by the API.\");\nconst RampGetStatement_FileDownloadDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement.\").nullable(),\n download_url: z.string().describe(\"URL to download the statement file.\").nullable().optional(),\n}).passthrough().describe(\"Data returned when requesting a statement in PDF or CSV format.\");\nexport const RampGetStatementOutput = z.object({\n response_data: z.union([RampGetStatement_StatementDataSchema, RampGetStatement_FileDownloadDataSchema]),\n}).passthrough();\n\nexport const rampGetStatement: AppAction<\n typeof RampGetStatementInput,\n typeof RampGetStatementOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_STATEMENT\", {\n slug: \"ramp-get-statement\",\n name: \"Get Statement\",\n description: \"Tool for retrieving statement details or downloading statements. Supports JSON, PDF, and CSV formats for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AS,CAAC,CAAC,SAAS;CACzG,UAAU,sCAAsC,SAAS;CACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,gBAAgB,sCAAsC,SAAS;CAC/D,iBAAiB,sCAAsC,SAAS;CAChE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAK3F,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,EAAE,OAAO,EAC7C,eAAe,EAAE,MAAM,CAAC,sCAAsC,uCAAuC,CAAC,EACxG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transaction.cjs","names":["z","action"],"sources":["../../src/actions/get-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetTransactionInput = z.object({\n transaction_id: z.string().describe(\"ID of the transaction to retrieve\"),\n});\nconst RampGetTransaction_CardHolderSchema = z.object({\n user_id: z.string().describe(\"User identifier\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the cardholder\").nullable().optional(),\n first_name: z.string().describe(\"First name of the cardholder\").nullable().optional(),\n employee_id: z.string().describe(\"Employee identifier\").nullable().optional(),\n location_id: z.string().describe(\"Location identifier\").nullable().optional(),\n department_id: z.string().describe(\"Department identifier\").nullable().optional(),\n location_name: z.string().describe(\"Location name\").nullable().optional(),\n department_name: z.string().describe(\"Department name\").nullable().optional(),\n}).passthrough().describe(\"Card holder information\");\nconst RampGetTransaction_PolicyViolationSchema = z.object({\n memo: z.string().describe(\"Policy violation memo\").nullable().optional(),\n type: z.string().describe(\"Type of policy violation\").nullable().optional(),\n created_at: z.string().describe(\"When the violation was created\").nullable().optional(),\n}).passthrough().describe(\"Policy violation information\");\nexport const RampGetTransactionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the transaction\").nullable(),\n memo: z.string().describe(\"Memo or note associated with the transaction\").nullable().optional(),\n state: z.string().describe(\"Current state or status of the transaction\").nullable(),\n amount: z.number().describe(\"Transaction amount\").nullable(),\n card_id: z.string().describe(\"Identifier of the card used for the transaction\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID if associated with a trip\").nullable().optional(),\n disputes: z.array(z.record(z.string(), z.unknown())).describe(\"List of disputes\").nullable().optional(),\n limit_id: z.string().describe(\"Limit ID associated with the transaction\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt IDs\").nullable().optional(),\n entity_id: z.string().describe(\"Business entity ID\").nullable().optional(),\n trip_name: z.string().describe(\"Trip name if associated with a trip\").nullable().optional(),\n card_holder: RampGetTransaction_CardHolderSchema.nullable().optional(),\n merchant_id: z.string().describe(\"Unique identifier for the merchant\").nullable().optional(),\n sync_status: z.string().describe(\"Sync status of the transaction\").nullable().optional(),\n card_present: z.boolean().describe(\"Whether the card was physically present\").nullable().optional(),\n statement_id: z.string().describe(\"Statement ID for the transaction\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code for the transaction\").nullable().optional(),\n merchant_name: z.string().describe(\"Name of the merchant where the transaction occurred\").nullable().optional(),\n sk_category_id: z.number().int().describe(\"Ramp category ID\").nullable().optional(),\n accounting_date: z.string().describe(\"Date for accounting purposes\").nullable().optional(),\n settlement_date: z.string().describe(\"Date when the transaction was settled\").nullable().optional(),\n sk_category_name: z.string().describe(\"Ramp category name\").nullable().optional(),\n policy_violations: z.array(RampGetTransaction_PolicyViolationSchema).describe(\"List of policy violations\").nullable().optional(),\n merchant_descriptor: z.string().describe(\"Merchant descriptor\").nullable().optional(),\n user_transaction_time: z.string().describe(\"Timestamp when the transaction occurred\").nullable().optional(),\n}).passthrough().describe(\"Response containing transaction details\");\n\nexport const rampGetTransaction = action(\"RAMP_GET_TRANSACTION\", {\n slug: \"ramp-get-transaction\",\n name: \"Get Transaction Details\",\n description: \"Tool for retrieving complete details of a specific transaction. Includes merchant details, receipts, accounting codes, and dispute information.\",\n input: RampGetTransactionInput,\n output: RampGetTransactionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-transaction.cjs","names":["z","action"],"sources":["../../src/actions/get-transaction.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampGetTransactionInput = z.object({\n transaction_id: z.string().describe(\"ID of the transaction to retrieve\"),\n});\nconst RampGetTransaction_CardHolderSchema = z.object({\n user_id: z.string().describe(\"User identifier\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the cardholder\").nullable().optional(),\n first_name: z.string().describe(\"First name of the cardholder\").nullable().optional(),\n employee_id: z.string().describe(\"Employee identifier\").nullable().optional(),\n location_id: z.string().describe(\"Location identifier\").nullable().optional(),\n department_id: z.string().describe(\"Department identifier\").nullable().optional(),\n location_name: z.string().describe(\"Location name\").nullable().optional(),\n department_name: z.string().describe(\"Department name\").nullable().optional(),\n}).passthrough().describe(\"Card holder information\");\nconst RampGetTransaction_PolicyViolationSchema = z.object({\n memo: z.string().describe(\"Policy violation memo\").nullable().optional(),\n type: z.string().describe(\"Type of policy violation\").nullable().optional(),\n created_at: z.string().describe(\"When the violation was created\").nullable().optional(),\n}).passthrough().describe(\"Policy violation information\");\nexport const RampGetTransactionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the transaction\").nullable(),\n memo: z.string().describe(\"Memo or note associated with the transaction\").nullable().optional(),\n state: z.string().describe(\"Current state or status of the transaction\").nullable(),\n amount: z.number().describe(\"Transaction amount\").nullable(),\n card_id: z.string().describe(\"Identifier of the card used for the transaction\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID if associated with a trip\").nullable().optional(),\n disputes: z.array(z.record(z.string(), z.unknown())).describe(\"List of disputes\").nullable().optional(),\n limit_id: z.string().describe(\"Limit ID associated with the transaction\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt IDs\").nullable().optional(),\n entity_id: z.string().describe(\"Business entity ID\").nullable().optional(),\n trip_name: z.string().describe(\"Trip name if associated with a trip\").nullable().optional(),\n card_holder: RampGetTransaction_CardHolderSchema.nullable().optional(),\n merchant_id: z.string().describe(\"Unique identifier for the merchant\").nullable().optional(),\n sync_status: z.string().describe(\"Sync status of the transaction\").nullable().optional(),\n card_present: z.boolean().describe(\"Whether the card was physically present\").nullable().optional(),\n statement_id: z.string().describe(\"Statement ID for the transaction\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code for the transaction\").nullable().optional(),\n merchant_name: z.string().describe(\"Name of the merchant where the transaction occurred\").nullable().optional(),\n sk_category_id: z.number().int().describe(\"Ramp category ID\").nullable().optional(),\n accounting_date: z.string().describe(\"Date for accounting purposes\").nullable().optional(),\n settlement_date: z.string().describe(\"Date when the transaction was settled\").nullable().optional(),\n sk_category_name: z.string().describe(\"Ramp category name\").nullable().optional(),\n policy_violations: z.array(RampGetTransaction_PolicyViolationSchema).describe(\"List of policy violations\").nullable().optional(),\n merchant_descriptor: z.string().describe(\"Merchant descriptor\").nullable().optional(),\n user_transaction_time: z.string().describe(\"Timestamp when the transaction occurred\").nullable().optional(),\n}).passthrough().describe(\"Response containing transaction details\");\n\nexport const rampGetTransaction: AppAction<\n typeof RampGetTransactionInput,\n typeof RampGetTransactionOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_TRANSACTION\", {\n slug: \"ramp-get-transaction\",\n name: \"Get Transaction Details\",\n description: \"Tool for retrieving complete details of a specific transaction. Includes merchant details, receipts, accounting codes, and dispute information.\",\n input: RampGetTransactionInput,\n output: RampGetTransactionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACzE,CAAC;AACD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,2C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AA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,mBAAmBA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-transaction.d.ts
|
|
@@ -44,9 +46,7 @@ declare const RampGetTransactionOutput: z.ZodObject<{
|
|
|
44
46
|
merchant_descriptor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
user_transaction_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const rampGetTransaction:
|
|
48
|
-
transaction_id: string;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const rampGetTransaction: AppAction<typeof RampGetTransactionInput, typeof RampGetTransactionOutput, typeof ramp.credential>;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { rampGetTransaction };
|
|
52
52
|
//# sourceMappingURL=get-transaction.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transaction.d.cts","names":[],"sources":["../../src/actions/get-transaction.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-transaction.d.cts","names":[],"sources":["../../src/actions/get-transaction.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-transaction.d.ts
|
|
@@ -44,9 +46,7 @@ declare const RampGetTransactionOutput: z.ZodObject<{
|
|
|
44
46
|
merchant_descriptor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
user_transaction_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const rampGetTransaction:
|
|
48
|
-
transaction_id: string;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const rampGetTransaction: AppAction<typeof RampGetTransactionInput, typeof RampGetTransactionOutput, typeof ramp.credential>;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { rampGetTransaction };
|
|
52
52
|
//# sourceMappingURL=get-transaction.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transaction.d.mts","names":[],"sources":["../../src/actions/get-transaction.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-transaction.d.mts","names":[],"sources":["../../src/actions/get-transaction.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transaction.mjs","names":[],"sources":["../../src/actions/get-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetTransactionInput = z.object({\n transaction_id: z.string().describe(\"ID of the transaction to retrieve\"),\n});\nconst RampGetTransaction_CardHolderSchema = z.object({\n user_id: z.string().describe(\"User identifier\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the cardholder\").nullable().optional(),\n first_name: z.string().describe(\"First name of the cardholder\").nullable().optional(),\n employee_id: z.string().describe(\"Employee identifier\").nullable().optional(),\n location_id: z.string().describe(\"Location identifier\").nullable().optional(),\n department_id: z.string().describe(\"Department identifier\").nullable().optional(),\n location_name: z.string().describe(\"Location name\").nullable().optional(),\n department_name: z.string().describe(\"Department name\").nullable().optional(),\n}).passthrough().describe(\"Card holder information\");\nconst RampGetTransaction_PolicyViolationSchema = z.object({\n memo: z.string().describe(\"Policy violation memo\").nullable().optional(),\n type: z.string().describe(\"Type of policy violation\").nullable().optional(),\n created_at: z.string().describe(\"When the violation was created\").nullable().optional(),\n}).passthrough().describe(\"Policy violation information\");\nexport const RampGetTransactionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the transaction\").nullable(),\n memo: z.string().describe(\"Memo or note associated with the transaction\").nullable().optional(),\n state: z.string().describe(\"Current state or status of the transaction\").nullable(),\n amount: z.number().describe(\"Transaction amount\").nullable(),\n card_id: z.string().describe(\"Identifier of the card used for the transaction\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID if associated with a trip\").nullable().optional(),\n disputes: z.array(z.record(z.string(), z.unknown())).describe(\"List of disputes\").nullable().optional(),\n limit_id: z.string().describe(\"Limit ID associated with the transaction\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt IDs\").nullable().optional(),\n entity_id: z.string().describe(\"Business entity ID\").nullable().optional(),\n trip_name: z.string().describe(\"Trip name if associated with a trip\").nullable().optional(),\n card_holder: RampGetTransaction_CardHolderSchema.nullable().optional(),\n merchant_id: z.string().describe(\"Unique identifier for the merchant\").nullable().optional(),\n sync_status: z.string().describe(\"Sync status of the transaction\").nullable().optional(),\n card_present: z.boolean().describe(\"Whether the card was physically present\").nullable().optional(),\n statement_id: z.string().describe(\"Statement ID for the transaction\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code for the transaction\").nullable().optional(),\n merchant_name: z.string().describe(\"Name of the merchant where the transaction occurred\").nullable().optional(),\n sk_category_id: z.number().int().describe(\"Ramp category ID\").nullable().optional(),\n accounting_date: z.string().describe(\"Date for accounting purposes\").nullable().optional(),\n settlement_date: z.string().describe(\"Date when the transaction was settled\").nullable().optional(),\n sk_category_name: z.string().describe(\"Ramp category name\").nullable().optional(),\n policy_violations: z.array(RampGetTransaction_PolicyViolationSchema).describe(\"List of policy violations\").nullable().optional(),\n merchant_descriptor: z.string().describe(\"Merchant descriptor\").nullable().optional(),\n user_transaction_time: z.string().describe(\"Timestamp when the transaction occurred\").nullable().optional(),\n}).passthrough().describe(\"Response containing transaction details\");\n\nexport const rampGetTransaction = action(\"RAMP_GET_TRANSACTION\", {\n slug: \"ramp-get-transaction\",\n name: \"Get Transaction Details\",\n description: \"Tool for retrieving complete details of a specific transaction. Includes merchant details, receipts, accounting codes, and dispute information.\",\n input: RampGetTransactionInput,\n output: RampGetTransactionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-transaction.mjs","names":[],"sources":["../../src/actions/get-transaction.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampGetTransactionInput = z.object({\n transaction_id: z.string().describe(\"ID of the transaction to retrieve\"),\n});\nconst RampGetTransaction_CardHolderSchema = z.object({\n user_id: z.string().describe(\"User identifier\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the cardholder\").nullable().optional(),\n first_name: z.string().describe(\"First name of the cardholder\").nullable().optional(),\n employee_id: z.string().describe(\"Employee identifier\").nullable().optional(),\n location_id: z.string().describe(\"Location identifier\").nullable().optional(),\n department_id: z.string().describe(\"Department identifier\").nullable().optional(),\n location_name: z.string().describe(\"Location name\").nullable().optional(),\n department_name: z.string().describe(\"Department name\").nullable().optional(),\n}).passthrough().describe(\"Card holder information\");\nconst RampGetTransaction_PolicyViolationSchema = z.object({\n memo: z.string().describe(\"Policy violation memo\").nullable().optional(),\n type: z.string().describe(\"Type of policy violation\").nullable().optional(),\n created_at: z.string().describe(\"When the violation was created\").nullable().optional(),\n}).passthrough().describe(\"Policy violation information\");\nexport const RampGetTransactionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the transaction\").nullable(),\n memo: z.string().describe(\"Memo or note associated with the transaction\").nullable().optional(),\n state: z.string().describe(\"Current state or status of the transaction\").nullable(),\n amount: z.number().describe(\"Transaction amount\").nullable(),\n card_id: z.string().describe(\"Identifier of the card used for the transaction\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID if associated with a trip\").nullable().optional(),\n disputes: z.array(z.record(z.string(), z.unknown())).describe(\"List of disputes\").nullable().optional(),\n limit_id: z.string().describe(\"Limit ID associated with the transaction\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt IDs\").nullable().optional(),\n entity_id: z.string().describe(\"Business entity ID\").nullable().optional(),\n trip_name: z.string().describe(\"Trip name if associated with a trip\").nullable().optional(),\n card_holder: RampGetTransaction_CardHolderSchema.nullable().optional(),\n merchant_id: z.string().describe(\"Unique identifier for the merchant\").nullable().optional(),\n sync_status: z.string().describe(\"Sync status of the transaction\").nullable().optional(),\n card_present: z.boolean().describe(\"Whether the card was physically present\").nullable().optional(),\n statement_id: z.string().describe(\"Statement ID for the transaction\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code for the transaction\").nullable().optional(),\n merchant_name: z.string().describe(\"Name of the merchant where the transaction occurred\").nullable().optional(),\n sk_category_id: z.number().int().describe(\"Ramp category ID\").nullable().optional(),\n accounting_date: z.string().describe(\"Date for accounting purposes\").nullable().optional(),\n settlement_date: z.string().describe(\"Date when the transaction was settled\").nullable().optional(),\n sk_category_name: z.string().describe(\"Ramp category name\").nullable().optional(),\n policy_violations: z.array(RampGetTransaction_PolicyViolationSchema).describe(\"List of policy violations\").nullable().optional(),\n merchant_descriptor: z.string().describe(\"Merchant descriptor\").nullable().optional(),\n user_transaction_time: z.string().describe(\"Timestamp when the transaction occurred\").nullable().optional(),\n}).passthrough().describe(\"Response containing transaction details\");\n\nexport const rampGetTransaction: AppAction<\n typeof RampGetTransactionInput,\n typeof RampGetTransactionOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_TRANSACTION\", {\n slug: \"ramp-get-transaction\",\n name: \"Get Transaction Details\",\n description: \"Tool for retrieving complete details of a specific transaction. Includes merchant details, receipts, accounting codes, and dispute information.\",\n input: RampGetTransactionInput,\n output: RampGetTransactionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACzE,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO;CACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,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AC,SAAS;EAC9G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,mBAAmB,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to retrieve\"),\n});\nconst RampGetUser_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field.\").nullable(),\n value: z.string().describe(\"Value of the custom field.\").nullable(),\n}).passthrough().describe(\"Custom field metadata attached to a user.\");\nexport const RampGetUserOutput = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID format).\").nullable(),\n role: z.string().describe(\"The employee's role. Possible values: AUDITOR, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER, BUSINESS_OWNER, BUSINESS_USER, GUEST_USER, IT_ADMIN.\").nullable(),\n email: z.string().describe(\"The employee's email address.\").nullable(),\n phone: z.string().describe(\"The employee's phone number.\").nullable().optional(),\n status: z.string().describe(\"Current status of the user account. Possible values: INVITE_EXPIRED, INVITE_PENDING, USER_ACTIVE, USER_INACTIVE, USER_ONBOARDING, USER_SUSPENDED.\").nullable(),\n entity_id: z.string().describe(\"Unique identifier of business entity user is associated with (UUID format).\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the employee.\").nullable(),\n first_name: z.string().describe(\"First name of the employee.\").nullable(),\n is_manager: z.boolean().describe(\"Whether the employee is a manager.\").nullable(),\n manager_id: z.string().describe(\"Unique identifier of the employee's manager (UUID format).\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the company that the employee is working for (UUID format).\").nullable().optional(),\n employee_id: z.string().describe(\"An alternative identifier for an employee, coming from external systems, which can be used in place of an email.\").nullable().optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location (UUID format).\").nullable().optional(),\n custom_fields: z.array(RampGetUser_CustomFieldSchema).describe(\"A list of custom fields of the user.\"),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format).\").nullable().optional(),\n scheduled_deactivation_date: z.string().describe(\"The date when the user is scheduled to be deactivated. Presented in ISO8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about a Ramp user.\");\n\nexport const rampGetUser = action(\"RAMP_GET_USER\", {\n slug: \"ramp-get-user\",\n name: \"Get User\",\n description: \"Tool to retrieve detailed information about a specific Ramp user by their ID. Use when you need complete user profile information including role, status, department, and custom fields.\",\n input: RampGetUserInput,\n output: RampGetUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampGetUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to retrieve\"),\n});\nconst RampGetUser_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field.\").nullable(),\n value: z.string().describe(\"Value of the custom field.\").nullable(),\n}).passthrough().describe(\"Custom field metadata attached to a user.\");\nexport const RampGetUserOutput = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID format).\").nullable(),\n role: z.string().describe(\"The employee's role. Possible values: AUDITOR, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER, BUSINESS_OWNER, BUSINESS_USER, GUEST_USER, IT_ADMIN.\").nullable(),\n email: z.string().describe(\"The employee's email address.\").nullable(),\n phone: z.string().describe(\"The employee's phone number.\").nullable().optional(),\n status: z.string().describe(\"Current status of the user account. Possible values: INVITE_EXPIRED, INVITE_PENDING, USER_ACTIVE, USER_INACTIVE, USER_ONBOARDING, USER_SUSPENDED.\").nullable(),\n entity_id: z.string().describe(\"Unique identifier of business entity user is associated with (UUID format).\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the employee.\").nullable(),\n first_name: z.string().describe(\"First name of the employee.\").nullable(),\n is_manager: z.boolean().describe(\"Whether the employee is a manager.\").nullable(),\n manager_id: z.string().describe(\"Unique identifier of the employee's manager (UUID format).\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the company that the employee is working for (UUID format).\").nullable().optional(),\n employee_id: z.string().describe(\"An alternative identifier for an employee, coming from external systems, which can be used in place of an email.\").nullable().optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location (UUID format).\").nullable().optional(),\n custom_fields: z.array(RampGetUser_CustomFieldSchema).describe(\"A list of custom fields of the user.\"),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format).\").nullable().optional(),\n scheduled_deactivation_date: z.string().describe(\"The date when the user is scheduled to be deactivated. Presented in ISO8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about a Ramp user.\");\n\nexport const rampGetUser: AppAction<\n typeof RampGetUserInput,\n typeof RampGetUserOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_USER\", {\n slug: \"ramp-get-user\",\n name: \"Get User\",\n description: \"Tool to retrieve detailed information about a specific Ramp user by their ID. Use when you need complete user profile information including role, status, department, and custom fields.\",\n input: RampGetUserInput,\n output: RampGetUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mBAAmBA,IAAAA,EAAE,OAAO,EACvC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACrF,CAAC;AACD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,oBAAoBA,IAAAA,EAAE,OAAO;CACxC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC/K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CAC1L,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,sCAAsC;CACrG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,cAITC,eAAAA,OAAO,iBAAiB;CAC1B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user.d.ts
|
|
@@ -25,9 +27,7 @@ declare const RampGetUserOutput: z.ZodObject<{
|
|
|
25
27
|
department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
scheduled_deactivation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const rampGetUser:
|
|
29
|
-
user_id: string;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const rampGetUser: AppAction<typeof RampGetUserInput, typeof RampGetUserOutput, typeof ramp.credential>;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { rampGetUser };
|
|
33
33
|
//# sourceMappingURL=get-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;cAOhB,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmBjB,WAAA,EAAa,SAAA,QACjB,gBAAA,SACA,iBAAA,SACA,IAAA,CAAK,UAAA"}
|