@keystrokehq/ramp 0.1.4 → 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 -15
- package/dist/actions/create-department.d.cts.map +1 -1
- package/dist/actions/create-department.d.mts +3 -15
- 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 -16
- package/dist/actions/create-inventory-item-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.mts +3 -16
- 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 -17
- package/dist/actions/create-memo.d.cts.map +1 -1
- package/dist/actions/create-memo.d.mts +3 -17
- 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 -22
- package/dist/actions/create-mileage-reimbursement.d.cts.map +1 -1
- package/dist/actions/create-mileage-reimbursement.d.mts +3 -22
- 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 -19
- package/dist/actions/create-new-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.mts +3 -19
- 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 -16
- package/dist/actions/create-tax-code-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.mts +3 -16
- 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 -23
- package/dist/actions/create-user-invite.d.cts.map +1 -1
- package/dist/actions/create-user-invite.d.mts +3 -23
- 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 -17
- package/dist/actions/create-webhook-subscription.d.cts.map +1 -1
- package/dist/actions/create-webhook-subscription.d.mts +3 -17
- 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 -15
- package/dist/actions/deactivate-user.d.cts.map +1 -1
- package/dist/actions/deactivate-user.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-accounting-account.d.cts.map +1 -1
- package/dist/actions/delete-accounting-account.d.mts +3 -15
- 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 -13
- package/dist/actions/delete-accounting-connection.d.cts.map +1 -1
- package/dist/actions/delete-accounting-connection.d.mts +3 -13
- 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 -15
- package/dist/actions/delete-accounting-fields.d.cts.map +1 -1
- package/dist/actions/delete-accounting-fields.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-accounting-tax-code-options.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.d.mts +3 -15
- 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 -13
- package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-code.d.mts +3 -13
- 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 -16
- package/dist/actions/delete-accounting-tax-rates.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.d.mts +3 -16
- 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 -15
- package/dist/actions/delete-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/delete-accounting-vendors.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-custom-field-option.d.cts.map +1 -1
- package/dist/actions/delete-custom-field-option.d.mts +3 -15
- 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 -13
- package/dist/actions/delete-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/delete-inventory-item-field.d.mts +3 -13
- 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 -16
- package/dist/actions/delete-spend-allocation-delete-users.d.cts.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.d.mts +3 -16
- 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 -15
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -15
- 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 -16
- package/dist/actions/fetch-accounting-account.d.cts.map +1 -1
- package/dist/actions/fetch-accounting-account.d.mts +3 -16
- 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 -16
- package/dist/actions/fetch-accounting-vendor.d.cts.map +1 -1
- package/dist/actions/fetch-accounting-vendor.d.mts +3 -16
- 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 -15
- package/dist/actions/fetch-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.d.mts +3 -15
- 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 -20
- package/dist/actions/get-accounting-accounts.d.cts.map +1 -1
- package/dist/actions/get-accounting-accounts.d.mts +3 -20
- 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 -13
- package/dist/actions/get-accounting-all-connections.d.cts.map +1 -1
- package/dist/actions/get-accounting-all-connections.d.mts +3 -13
- 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 -15
- package/dist/actions/get-accounting-connection-by-id.d.cts.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.d.mts +3 -15
- 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 -13
- package/dist/actions/get-accounting-connection.d.cts.map +1 -1
- package/dist/actions/get-accounting-connection.d.mts +3 -13
- 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 -16
- package/dist/actions/get-accounting-fields.d.cts.map +1 -1
- package/dist/actions/get-accounting-fields.d.mts +3 -16
- 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 -16
- package/dist/actions/get-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/get-accounting-vendors.d.mts +3 -16
- 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 -45
- package/dist/actions/get-all-transactions.d.cts.map +1 -1
- package/dist/actions/get-all-transactions.d.mts +3 -45
- 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 -15
- package/dist/actions/get-card-vault-resource.d.cts.map +1 -1
- package/dist/actions/get-card-vault-resource.d.mts +3 -15
- 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 -15
- package/dist/actions/get-card.d.cts.map +1 -1
- package/dist/actions/get-card.d.mts +3 -15
- 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 -15
- package/dist/actions/get-custom-field-option.d.cts.map +1 -1
- package/dist/actions/get-custom-field-option.d.mts +3 -15
- 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 -15
- package/dist/actions/get-department.d.cts.map +1 -1
- package/dist/actions/get-department.d.mts +3 -15
- 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 -13
- package/dist/actions/get-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/get-inventory-item-field.d.mts +3 -13
- 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 -15
- package/dist/actions/get-memo.d.cts.map +1 -1
- package/dist/actions/get-memo.d.mts +3 -15
- 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 -15
- package/dist/actions/get-reimbursement.d.cts.map +1 -1
- package/dist/actions/get-reimbursement.d.mts +3 -15
- 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 -15
- package/dist/actions/get-spend-limit.d.cts.map +1 -1
- package/dist/actions/get-spend-limit.d.mts +3 -15
- 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 -16
- package/dist/actions/get-statement.d.cts.map +1 -1
- package/dist/actions/get-statement.d.mts +3 -16
- 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 -15
- package/dist/actions/get-transaction.d.cts.map +1 -1
- package/dist/actions/get-transaction.d.mts +3 -15
- 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 -15
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -15
- 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 -15
- package/dist/actions/get-users-deferred-status.d.cts.map +1 -1
- package/dist/actions/get-users-deferred-status.d.mts +3 -15
- 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 -15
- package/dist/actions/get-vendor.d.cts.map +1 -1
- package/dist/actions/get-vendor.d.mts +3 -15
- 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 -15
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -15
- 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 -26
- package/dist/actions/issue-virtual-card.d.cts.map +1 -1
- package/dist/actions/issue-virtual-card.d.mts +3 -26
- 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 -20
- package/dist/actions/list-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.d.mts +3 -20
- 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 -16
- package/dist/actions/list-accounting-tax-rates.d.cts.map +1 -1
- package/dist/actions/list-accounting-tax-rates.d.mts +3 -16
- 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 -22
- package/dist/actions/list-cards.d.cts.map +1 -1
- package/dist/actions/list-cards.d.mts +3 -22
- 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 -16
- package/dist/actions/list-departments.d.cts.map +1 -1
- package/dist/actions/list-departments.d.mts +3 -16
- 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 -24
- package/dist/actions/list-memos.d.cts.map +1 -1
- package/dist/actions/list-memos.d.mts +3 -24
- 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 -33
- package/dist/actions/list-reimbursements.d.cts.map +1 -1
- package/dist/actions/list-reimbursements.d.mts +3 -33
- 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 -18
- package/dist/actions/list-statements.d.cts.map +1 -1
- package/dist/actions/list-statements.d.mts +3 -18
- 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 -22
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -22
- 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 -17
- package/dist/actions/list-vendors-accounts.d.cts.map +1 -1
- package/dist/actions/list-vendors-accounts.d.mts +3 -17
- 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 -17
- package/dist/actions/list-vendors-contacts.d.cts.map +1 -1
- package/dist/actions/list-vendors-contacts.d.mts +3 -17
- 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 -19
- package/dist/actions/list-vendors-credits.d.cts.map +1 -1
- package/dist/actions/list-vendors-credits.d.mts +3 -19
- 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 -21
- package/dist/actions/list-vendors.d.cts.map +1 -1
- package/dist/actions/list-vendors.d.mts +3 -21
- 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 -13
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -13
- 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 -15
- package/dist/actions/options-for-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.d.mts +3 -15
- 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 -19
- package/dist/actions/patch-accounting-connection.d.cts.map +1 -1
- package/dist/actions/patch-accounting-connection.d.mts +3 -19
- 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 -33
- package/dist/actions/patch-card-resource.d.cts.map +1 -1
- package/dist/actions/patch-card-resource.d.mts +3 -33
- 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 -20
- package/dist/actions/patch-custom-field-option.d.cts.map +1 -1
- package/dist/actions/patch-custom-field-option.d.mts +3 -20
- 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 -18
- package/dist/actions/patch-gl-account-resource.d.cts.map +1 -1
- package/dist/actions/patch-gl-account-resource.d.mts +3 -18
- 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 -16
- package/dist/actions/patch-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/patch-inventory-item-field.d.mts +3 -16
- 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 -21
- package/dist/actions/post-accounting-accounts.d.cts.map +1 -1
- package/dist/actions/post-accounting-accounts.d.mts +3 -21
- 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 -19
- package/dist/actions/post-accounting-connection.d.cts.map +1 -1
- package/dist/actions/post-accounting-connection.d.mts +3 -19
- 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 -19
- package/dist/actions/post-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/post-accounting-vendors.d.mts +3 -19
- 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 -19
- package/dist/actions/post-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/post-inventory-item-options.d.mts +3 -19
- 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 -53
- package/dist/actions/post-physical-card.d.cts.map +1 -1
- package/dist/actions/post-physical-card.d.mts +3 -53
- 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 -15
- package/dist/actions/reactivate-accounting-connection.d.cts.map +1 -1
- package/dist/actions/reactivate-accounting-connection.d.mts +3 -15
- 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 -15
- package/dist/actions/reactivate-user.d.cts.map +1 -1
- package/dist/actions/reactivate-user.d.mts +3 -15
- 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 -22
- package/dist/actions/submit-reimbursement-receipt.d.cts.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.d.mts +3 -22
- 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 -16
- package/dist/actions/suspend-card.d.cts.map +1 -1
- package/dist/actions/suspend-card.d.mts +3 -16
- 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 -16
- package/dist/actions/terminate-card.d.cts.map +1 -1
- package/dist/actions/terminate-card.d.mts +3 -16
- 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 -18
- package/dist/actions/update-accounting-field.d.cts.map +1 -1
- package/dist/actions/update-accounting-field.d.mts +3 -18
- 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 -16
- package/dist/actions/update-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.mts +3 -16
- 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 -17
- package/dist/actions/update-accounting-tax-code-options.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.mts +3 -17
- 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 -16
- package/dist/actions/update-accounting-tax-code.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-code.d.mts +3 -16
- 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 -18
- package/dist/actions/update-accounting-tax-rate.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-rate.d.mts +3 -18
- 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 -18
- package/dist/actions/update-accounting-vendor.d.cts.map +1 -1
- package/dist/actions/update-accounting-vendor.d.mts +3 -18
- 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 -17
- package/dist/actions/update-card-limit.d.cts.map +1 -1
- package/dist/actions/update-card-limit.d.mts +3 -17
- 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 -18
- package/dist/actions/update-department.d.cts.map +1 -1
- package/dist/actions/update-department.d.mts +3 -18
- 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 -40
- package/dist/actions/update-limits.d.cts.map +1 -1
- package/dist/actions/update-limits.d.mts +3 -40
- 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 -24
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -24
- 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 -21
- package/dist/actions/upload-new-options.d.cts.map +1 -1
- package/dist/actions/upload-new-options.d.mts +3 -21
- 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 -20
- package/dist/actions/upload-tax-code-options.d.cts.map +1 -1
- package/dist/actions/upload-tax-code-options.d.mts +3 -20
- 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 -21
- package/dist/actions/upload-tax-rates.d.cts.map +1 -1
- package/dist/actions/upload-tax-rates.d.mts +3 -21
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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":"create-mileage-reimbursement.mjs","names":[],"sources":["../../src/actions/create-mileage-reimbursement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateMileageReimbursementInput = z.object({\n memo: z.string().describe(\"Memo or note describing the purpose of the mileage reimbursement. This field is required.\"),\n distance: z.union([z.string(), z.number()]),\n trip_date: z.string().describe(\"Date of the trip in ISO 8601 date format (YYYY-MM-DD).\"),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip.\").optional(),\n end_location: z.string().describe(\"Ending location of the trip.\").optional(),\n reimbursee_id: z.string().describe(\"Unique identifier (UUID) of the user to be reimbursed.\"),\n distance_units: z.enum([\"KILOMETERS\", \"MILES\"]).describe(\"Distance units for mileage reimbursement.\").optional(),\n start_location: z.string().describe(\"Starting location of the trip.\").optional(),\n});\nconst RampCreateMileageReimbursement_ReimbursementTypeSchema = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of the reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementStateSchema = z.enum([\"APPROVED\", \"AWAITING_EXPORT\", \"AWAITING_PAYMENT\", \"AWAITING_PUSH_PAYMENT\", \"CANCELED\", \"DELETED\", \"DRAFT\", \"EXPORTED\", \"EXPORT_FAILED\", \"EXPORT_INITIATED\", \"EXPORT_MARKED_AS_FAILED\", \"EXPORT_SUCCESSFUL\", \"FAILED_REIMBURSEMENT\", \"INIT\", \"MANUALLY_REIMBURSED\", \"MISSING_ACH\", \"PENDING\", \"PROCESSING\", \"PUSH_PAYMENT_FAILED\", \"PUSH_PAYMENT_INITIATED\", \"REIMBURSED\", \"REIMBURSED_VIA_PUSH\", \"REJECTED\"]).describe(\"Current state of the reimbursement.\");\nconst RampCreateMileageReimbursement_AttendeeSchema = z.object({\n name: z.string().describe(\"Name of the attendee\").nullable(),\n user_id: z.string().describe(\"User ID of the attendee if they are a Ramp user\").nullable().optional(),\n}).passthrough().describe(\"Attendee information for a reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementDirectionSchema = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of the reimbursement.\");\nconst RampCreateMileageReimbursement_LineItemAmountSchema = z.object({\n amount: z.number().int().describe(\"Numeric value of the line item amount in minor currency units\").nullable(),\n currency_code: z.string().describe(\"Currency code for the line item\").nullable(),\n}).passthrough().describe(\"Amount object for a line item.\");\nconst RampCreateMileageReimbursement_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Internal identifier for the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n type: z.string().describe(\"Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for an accounting field.\");\nconst RampCreateMileageReimbursement_AccountingFieldSelectionSchema = z.object({\n id: z.string().describe(\"Internal identifier for the accounting field selection\").nullable().optional(),\n name: z.string().describe(\"Name of the accounting field selection\").nullable().optional(),\n type: z.string().describe(\"Type of the accounting field selection\").nullable().optional(),\n source: z.record(z.string(), z.unknown()).describe(\"Source information for the accounting field selection\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampCreateMileageReimbursement_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field selection\").nullable().optional(),\n provider_name: z.string().describe(\"Provider name for the accounting field selection\").nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampCreateMileageReimbursement_LineItemSchema = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampCreateMileageReimbursement_LineItemAmountSchema.nullable(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\"),\n}).passthrough().describe(\"Individual line item within a reimbursement.\");\nconst RampCreateMileageReimbursement_SyncStatusSchema = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Current sync status of the reimbursement.\");\nconst RampCreateMileageReimbursement_MoneyAmountSchema = z.object({\n amount: z.number().int().describe(\"Numeric value of the amount in minor currency units (e.g., cents)\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate for minor units\").nullable().optional(),\n}).passthrough().describe(\"Amount object with currency information.\");\nconst RampCreateMileageReimbursement_ExpenseGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense group\").nullable(),\n name: z.string().describe(\"Name of the expense group\").nullable(),\n}).passthrough().describe(\"Expense group information.\");\nexport const RampCreateMileageReimbursementOutput = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\").nullable(),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampCreateMileageReimbursement_ReimbursementTypeSchema.nullable(),\n state: RampCreateMileageReimbursement_ReimbursementStateSchema.nullable(),\n amount: z.number().describe(\"The amount that the payor pays.\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID associated with the reimbursement if a Trip ID is available.\").nullable().optional(),\n user_id: z.string().describe(\"Unique identifier of the person who made the reimbursement.\").nullable(),\n currency: z.string().describe(\"The currency that the payor pays with.\").nullable(),\n distance: z.number().describe(\"The distance of the reimbursement in miles, for mileage reimbursements.\").nullable().optional(),\n merchant: z.string().describe(\"The name of the merchant that the reimbursement is associated with.\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt IDs associated with the reimbursement.\").nullable().optional(),\n attendees: z.array(RampCreateMileageReimbursement_AttendeeSchema).describe(\"List of attendees for the reimbursement.\").nullable().optional(),\n direction: RampCreateMileageReimbursement_ReimbursementDirectionSchema.nullable(),\n entity_id: z.string().describe(\"Unique identifier of the associated business entity.\").nullable().optional(),\n synced_at: z.string().describe(\"Time when reimbursement has been synced. Will be None if the reimbursement is not synced.\").nullable().optional(),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip, for mileage reimbursements.\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the reimbursement is created. Presented in ISO8601 format.\").nullable(),\n line_items: z.array(RampCreateMileageReimbursement_LineItemSchema).describe(\"List of line items related to the reimbursement.\").nullable().optional(),\n payment_id: z.string().describe(\"The unique identifier of the payment batch that the reimbursement is associated with, once paid.\").nullable().optional(),\n updated_at: z.string().describe(\"Time at which the reimbursement was last updated. Presented in ISO8601 format.\").nullable().optional(),\n user_email: z.string().describe(\"Email of the person who made the reimbursement.\").nullable(),\n approved_at: z.string().describe(\"Time at which the reimbursement is approved. Presented in ISO8601 format.\").nullable().optional(),\n employee_id: z.string().describe(\"Employee ID of the person who made the reimbursement.\").nullable().optional(),\n merchant_id: z.string().describe(\"The unique identifier of the merchant. Note that this field may be empty when merchant is populated if Ramp does not recognize the merchant.\").nullable().optional(),\n sync_status: RampCreateMileageReimbursement_SyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements.\").nullable().optional(),\n payee_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted\").nullable().optional(),\n expense_group: RampCreateMileageReimbursement_ExpenseGroupSchema.nullable().optional(),\n spend_limit_id: z.string().describe(\"Spend limit to which the reimbursement is attributed, if it exists.\").nullable().optional(),\n start_location: z.string().describe(\"Starting location of the trip, for mileage reimbursements.\").nullable().optional(),\n user_full_name: z.string().describe(\"Full name of the person who made the reimbursement.\").nullable(),\n accounting_date: z.string().describe(\"The date for the reimbursement for accounting purposes. If not specified, falls back to the transaction date.\").nullable().optional(),\n payment_batch_id: z.string().describe(\"The unique identifier of the reimbursement payment batch that the reimbursement is associated with.\").nullable().optional(),\n transaction_date: z.string().describe(\"Date of the transaction in ISO 8601 date format.\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment. Presented in ISO8601 format.\").nullable().optional(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement.\").nullable().optional(),\n original_reimbursement_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n}).passthrough().describe(\"Complete mileage reimbursement details returned by the API.\");\n\nexport const rampCreateMileageReimbursement = action(\"RAMP_CREATE_MILEAGE_REIMBURSEMENT\", {\n slug: \"ramp-create-mileage-reimbursement\",\n name: \"Create Mileage Reimbursement\",\n description: \"Tool to create a mileage reimbursement in Ramp. Use when a user needs to submit a reimbursement for business-related travel distance. Requires distance, reimbursee_id, and trip_date as mandatory fields.\",\n input: RampCreateMileageReimbursementInput,\n output: RampCreateMileageReimbursementOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC;CAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,gBAAgB,EAAE,KAAK,CAAC,cAAc,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACjF,CAAC;AACD,MAAM,yDAAyD,EAAE,KAAK;CAAC;CAAW;CAAiB;CAAgB;CAAmB;AAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxL,MAAM,0DAA0D,EAAE,KAAK;CAAC;CAAY;CAAmB;CAAoB;CAAyB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AS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,cAAc,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,kDAAkD,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,6BAA6B,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-mileage-reimbursement.mjs","names":[],"sources":["../../src/actions/create-mileage-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 RampCreateMileageReimbursementInput = z.object({\n memo: z.string().describe(\"Memo or note describing the purpose of the mileage reimbursement. This field is required.\"),\n distance: z.union([z.string(), z.number()]),\n trip_date: z.string().describe(\"Date of the trip in ISO 8601 date format (YYYY-MM-DD).\"),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip.\").optional(),\n end_location: z.string().describe(\"Ending location of the trip.\").optional(),\n reimbursee_id: z.string().describe(\"Unique identifier (UUID) of the user to be reimbursed.\"),\n distance_units: z.enum([\"KILOMETERS\", \"MILES\"]).describe(\"Distance units for mileage reimbursement.\").optional(),\n start_location: z.string().describe(\"Starting location of the trip.\").optional(),\n});\nconst RampCreateMileageReimbursement_ReimbursementTypeSchema = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of the reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementStateSchema = z.enum([\"APPROVED\", \"AWAITING_EXPORT\", \"AWAITING_PAYMENT\", \"AWAITING_PUSH_PAYMENT\", \"CANCELED\", \"DELETED\", \"DRAFT\", \"EXPORTED\", \"EXPORT_FAILED\", \"EXPORT_INITIATED\", \"EXPORT_MARKED_AS_FAILED\", \"EXPORT_SUCCESSFUL\", \"FAILED_REIMBURSEMENT\", \"INIT\", \"MANUALLY_REIMBURSED\", \"MISSING_ACH\", \"PENDING\", \"PROCESSING\", \"PUSH_PAYMENT_FAILED\", \"PUSH_PAYMENT_INITIATED\", \"REIMBURSED\", \"REIMBURSED_VIA_PUSH\", \"REJECTED\"]).describe(\"Current state of the reimbursement.\");\nconst RampCreateMileageReimbursement_AttendeeSchema = z.object({\n name: z.string().describe(\"Name of the attendee\").nullable(),\n user_id: z.string().describe(\"User ID of the attendee if they are a Ramp user\").nullable().optional(),\n}).passthrough().describe(\"Attendee information for a reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementDirectionSchema = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of the reimbursement.\");\nconst RampCreateMileageReimbursement_LineItemAmountSchema = z.object({\n amount: z.number().int().describe(\"Numeric value of the line item amount in minor currency units\").nullable(),\n currency_code: z.string().describe(\"Currency code for the line item\").nullable(),\n}).passthrough().describe(\"Amount object for a line item.\");\nconst RampCreateMileageReimbursement_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Internal identifier for the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n type: z.string().describe(\"Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for an accounting field.\");\nconst RampCreateMileageReimbursement_AccountingFieldSelectionSchema = z.object({\n id: z.string().describe(\"Internal identifier for the accounting field selection\").nullable().optional(),\n name: z.string().describe(\"Name of the accounting field selection\").nullable().optional(),\n type: z.string().describe(\"Type of the accounting field selection\").nullable().optional(),\n source: z.record(z.string(), z.unknown()).describe(\"Source information for the accounting field selection\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampCreateMileageReimbursement_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field selection\").nullable().optional(),\n provider_name: z.string().describe(\"Provider name for the accounting field selection\").nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampCreateMileageReimbursement_LineItemSchema = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampCreateMileageReimbursement_LineItemAmountSchema.nullable(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\"),\n}).passthrough().describe(\"Individual line item within a reimbursement.\");\nconst RampCreateMileageReimbursement_SyncStatusSchema = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Current sync status of the reimbursement.\");\nconst RampCreateMileageReimbursement_MoneyAmountSchema = z.object({\n amount: z.number().int().describe(\"Numeric value of the amount in minor currency units (e.g., cents)\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate for minor units\").nullable().optional(),\n}).passthrough().describe(\"Amount object with currency information.\");\nconst RampCreateMileageReimbursement_ExpenseGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense group\").nullable(),\n name: z.string().describe(\"Name of the expense group\").nullable(),\n}).passthrough().describe(\"Expense group information.\");\nexport const RampCreateMileageReimbursementOutput = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\").nullable(),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampCreateMileageReimbursement_ReimbursementTypeSchema.nullable(),\n state: RampCreateMileageReimbursement_ReimbursementStateSchema.nullable(),\n amount: z.number().describe(\"The amount that the payor pays.\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID associated with the reimbursement if a Trip ID is available.\").nullable().optional(),\n user_id: z.string().describe(\"Unique identifier of the person who made the reimbursement.\").nullable(),\n currency: z.string().describe(\"The currency that the payor pays with.\").nullable(),\n distance: z.number().describe(\"The distance of the reimbursement in miles, for mileage reimbursements.\").nullable().optional(),\n merchant: z.string().describe(\"The name of the merchant that the reimbursement is associated with.\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt IDs associated with the reimbursement.\").nullable().optional(),\n attendees: z.array(RampCreateMileageReimbursement_AttendeeSchema).describe(\"List of attendees for the reimbursement.\").nullable().optional(),\n direction: RampCreateMileageReimbursement_ReimbursementDirectionSchema.nullable(),\n entity_id: z.string().describe(\"Unique identifier of the associated business entity.\").nullable().optional(),\n synced_at: z.string().describe(\"Time when reimbursement has been synced. Will be None if the reimbursement is not synced.\").nullable().optional(),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip, for mileage reimbursements.\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the reimbursement is created. Presented in ISO8601 format.\").nullable(),\n line_items: z.array(RampCreateMileageReimbursement_LineItemSchema).describe(\"List of line items related to the reimbursement.\").nullable().optional(),\n payment_id: z.string().describe(\"The unique identifier of the payment batch that the reimbursement is associated with, once paid.\").nullable().optional(),\n updated_at: z.string().describe(\"Time at which the reimbursement was last updated. Presented in ISO8601 format.\").nullable().optional(),\n user_email: z.string().describe(\"Email of the person who made the reimbursement.\").nullable(),\n approved_at: z.string().describe(\"Time at which the reimbursement is approved. Presented in ISO8601 format.\").nullable().optional(),\n employee_id: z.string().describe(\"Employee ID of the person who made the reimbursement.\").nullable().optional(),\n merchant_id: z.string().describe(\"The unique identifier of the merchant. Note that this field may be empty when merchant is populated if Ramp does not recognize the merchant.\").nullable().optional(),\n sync_status: RampCreateMileageReimbursement_SyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements.\").nullable().optional(),\n payee_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted\").nullable().optional(),\n expense_group: RampCreateMileageReimbursement_ExpenseGroupSchema.nullable().optional(),\n spend_limit_id: z.string().describe(\"Spend limit to which the reimbursement is attributed, if it exists.\").nullable().optional(),\n start_location: z.string().describe(\"Starting location of the trip, for mileage reimbursements.\").nullable().optional(),\n user_full_name: z.string().describe(\"Full name of the person who made the reimbursement.\").nullable(),\n accounting_date: z.string().describe(\"The date for the reimbursement for accounting purposes. If not specified, falls back to the transaction date.\").nullable().optional(),\n payment_batch_id: z.string().describe(\"The unique identifier of the reimbursement payment batch that the reimbursement is associated with.\").nullable().optional(),\n transaction_date: z.string().describe(\"Date of the transaction in ISO 8601 date format.\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment. Presented in ISO8601 format.\").nullable().optional(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement.\").nullable().optional(),\n original_reimbursement_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n}).passthrough().describe(\"Complete mileage reimbursement details returned by the API.\");\n\nexport const rampCreateMileageReimbursement: AppAction<\n typeof RampCreateMileageReimbursementInput,\n typeof RampCreateMileageReimbursementOutput,\n typeof ramp.credential\n> = action(\"RAMP_CREATE_MILEAGE_REIMBURSEMENT\", {\n slug: \"ramp-create-mileage-reimbursement\",\n name: \"Create Mileage Reimbursement\",\n description: \"Tool to create a mileage reimbursement in Ramp. Use when a user needs to submit a reimbursement for business-related travel distance. Requires distance, reimbursee_id, and trip_date as mandatory fields.\",\n input: RampCreateMileageReimbursementInput,\n output: RampCreateMileageReimbursementOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC;CAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,gBAAgB,EAAE,KAAK,CAAC,cAAc,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACjF,CAAC;AACD,MAAM,yDAAyD,EAAE,KAAK;CAAC;CAAW;CAAiB;CAAgB;CAAmB;AAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxL,MAAM,0DAA0D,EAAE,KAAK;CAAC;CAAY;C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AAS,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,cAAc,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,kDAAkD,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,6BAA6B,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-new-custom-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateNewCustomAccountingFieldInput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\"),\n name: z.string().describe(\"Name of the custom accounting field.\"),\n input_type: z.enum([\"SINGLE_CHOICE\", \"BOOLEAN\", \"FREE_FORM_TEXT\"]).describe(\"The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.\"),\n is_splittable: z.boolean().describe(\"If set to True, the accounting field can be used to annotate split line items.\").optional(),\n is_required_for: z.array(z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\"])).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").optional(),\n});\nexport const RampCreateNewCustomAccountingFieldOutput = z.object({\n id: z.string().describe(\"External ID of the custom accounting field\").nullable(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the custom accounting field\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created\").nullable(),\n input_type: z.string().describe(\"The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated\").nullable(),\n display_name: z.string().describe(\"Optional display name for the accounting field\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)\").nullable().optional(),\n is_required_for: z.array(z.string()).describe(\"Types of objects that require this accounting field\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this field\").nullable().optional(),\n}).passthrough().describe(\"Response from creating a new custom accounting field.\");\n\nexport const rampCreateNewCustomAccountingField = action(\"RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-new-custom-accounting-field\",\n name: \"Create New Custom Accounting Field\",\n description: \"Tool for creating a new custom accounting field. Note: This operation requires elevated permissions not available in the demo API.\",\n input: RampCreateNewCustomAccountingFieldInput,\n output: RampCreateNewCustomAccountingFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-new-custom-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampCreateNewCustomAccountingFieldInput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\"),\n name: z.string().describe(\"Name of the custom accounting field.\"),\n input_type: z.enum([\"SINGLE_CHOICE\", \"BOOLEAN\", \"FREE_FORM_TEXT\"]).describe(\"The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.\"),\n is_splittable: z.boolean().describe(\"If set to True, the accounting field can be used to annotate split line items.\").optional(),\n is_required_for: z.array(z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\"])).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").optional(),\n});\nexport const RampCreateNewCustomAccountingFieldOutput = z.object({\n id: z.string().describe(\"External ID of the custom accounting field\").nullable(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the custom accounting field\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created\").nullable(),\n input_type: z.string().describe(\"The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated\").nullable(),\n display_name: z.string().describe(\"Optional display name for the accounting field\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)\").nullable().optional(),\n is_required_for: z.array(z.string()).describe(\"Types of objects that require this accounting field\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this field\").nullable().optional(),\n}).passthrough().describe(\"Response from creating a new custom accounting field.\");\n\nexport const rampCreateNewCustomAccountingField: AppAction<\n typeof RampCreateNewCustomAccountingFieldInput,\n typeof RampCreateNewCustomAccountingFieldOutput,\n typeof ramp.credential\n> = action(\"RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-new-custom-accounting-field\",\n name: \"Create New Custom Accounting Field\",\n description: \"Tool for creating a new custom accounting field. Note: This operation requires elevated permissions not available in the demo API.\",\n input: RampCreateNewCustomAccountingFieldInput,\n output: RampCreateNewCustomAccountingFieldOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mEAAmE;CAC/I,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC/H,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAgB;EAAkB;EAAiB;CAAa,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC1P,CAAC;AACD,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4C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keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-new-custom-accounting-field.d.ts
|
|
@@ -32,25 +34,7 @@ declare const RampCreateNewCustomAccountingFieldOutput: z.ZodObject<{
|
|
|
32
34
|
is_required_for: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
33
35
|
accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const rampCreateNewCustomAccountingField:
|
|
36
|
-
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
input_type: "SINGLE_CHOICE" | "BOOLEAN" | "FREE_FORM_TEXT";
|
|
39
|
-
is_splittable?: boolean | undefined;
|
|
40
|
-
is_required_for?: ("BILL" | "BILL_PAYMENT" | "PURCHASE_ORDER" | "REIMBURSEMENT" | "TRANSACTION")[] | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
accessToken: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
accessToken: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const rampCreateNewCustomAccountingField: AppAction<typeof RampCreateNewCustomAccountingFieldInput, typeof RampCreateNewCustomAccountingFieldOutput, typeof ramp.credential>;
|
|
54
38
|
//#endregion
|
|
55
39
|
export { rampCreateNewCustomAccountingField };
|
|
56
40
|
//# sourceMappingURL=create-new-custom-accounting-field.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-new-custom-accounting-field.d.cts","names":[],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-new-custom-accounting-field.d.cts","names":[],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAOvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAexC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-new-custom-accounting-field.d.ts
|
|
@@ -32,25 +34,7 @@ declare const RampCreateNewCustomAccountingFieldOutput: z.ZodObject<{
|
|
|
32
34
|
is_required_for: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
33
35
|
accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const rampCreateNewCustomAccountingField:
|
|
36
|
-
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
input_type: "SINGLE_CHOICE" | "BOOLEAN" | "FREE_FORM_TEXT";
|
|
39
|
-
is_splittable?: boolean | undefined;
|
|
40
|
-
is_required_for?: ("BILL" | "BILL_PAYMENT" | "PURCHASE_ORDER" | "REIMBURSEMENT" | "TRANSACTION")[] | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
accessToken: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
accessToken: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const rampCreateNewCustomAccountingField: AppAction<typeof RampCreateNewCustomAccountingFieldInput, typeof RampCreateNewCustomAccountingFieldOutput, typeof ramp.credential>;
|
|
54
38
|
//#endregion
|
|
55
39
|
export { rampCreateNewCustomAccountingField };
|
|
56
40
|
//# sourceMappingURL=create-new-custom-accounting-field.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-new-custom-accounting-field.d.mts","names":[],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-new-custom-accounting-field.d.mts","names":[],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAOvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAexC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-new-custom-accounting-field.mjs","names":[],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateNewCustomAccountingFieldInput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\"),\n name: z.string().describe(\"Name of the custom accounting field.\"),\n input_type: z.enum([\"SINGLE_CHOICE\", \"BOOLEAN\", \"FREE_FORM_TEXT\"]).describe(\"The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.\"),\n is_splittable: z.boolean().describe(\"If set to True, the accounting field can be used to annotate split line items.\").optional(),\n is_required_for: z.array(z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\"])).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").optional(),\n});\nexport const RampCreateNewCustomAccountingFieldOutput = z.object({\n id: z.string().describe(\"External ID of the custom accounting field\").nullable(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the custom accounting field\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created\").nullable(),\n input_type: z.string().describe(\"The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated\").nullable(),\n display_name: z.string().describe(\"Optional display name for the accounting field\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)\").nullable().optional(),\n is_required_for: z.array(z.string()).describe(\"Types of objects that require this accounting field\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this field\").nullable().optional(),\n}).passthrough().describe(\"Response from creating a new custom accounting field.\");\n\nexport const rampCreateNewCustomAccountingField = action(\"RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-new-custom-accounting-field\",\n name: \"Create New Custom Accounting Field\",\n description: \"Tool for creating a new custom accounting field. Note: This operation requires elevated permissions not available in the demo API.\",\n input: RampCreateNewCustomAccountingFieldInput,\n output: RampCreateNewCustomAccountingFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-new-custom-accounting-field.mjs","names":[],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampCreateNewCustomAccountingFieldInput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\"),\n name: z.string().describe(\"Name of the custom accounting field.\"),\n input_type: z.enum([\"SINGLE_CHOICE\", \"BOOLEAN\", \"FREE_FORM_TEXT\"]).describe(\"The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.\"),\n is_splittable: z.boolean().describe(\"If set to True, the accounting field can be used to annotate split line items.\").optional(),\n is_required_for: z.array(z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\"])).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").optional(),\n});\nexport const RampCreateNewCustomAccountingFieldOutput = z.object({\n id: z.string().describe(\"External ID of the custom accounting field\").nullable(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the custom accounting field\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created\").nullable(),\n input_type: z.string().describe(\"The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated\").nullable(),\n display_name: z.string().describe(\"Optional display name for the accounting field\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)\").nullable().optional(),\n is_required_for: z.array(z.string()).describe(\"Types of objects that require this accounting field\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this field\").nullable().optional(),\n}).passthrough().describe(\"Response from creating a new custom accounting field.\");\n\nexport const rampCreateNewCustomAccountingField: AppAction<\n typeof RampCreateNewCustomAccountingFieldInput,\n typeof RampCreateNewCustomAccountingFieldOutput,\n typeof ramp.credential\n> = action(\"RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-new-custom-accounting-field\",\n name: \"Create New Custom Accounting Field\",\n description: \"Tool for creating a new custom accounting field. Note: This operation requires elevated permissions not available in the demo API.\",\n input: RampCreateNewCustomAccountingFieldInput,\n output: RampCreateNewCustomAccountingFieldOutput,\n});\n"],"mappings":";;;AA4BA,MAAa,qCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAChE,YAAY,EAAE,KAAK;GAAC;GAAiB;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAC/I,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC/H,iBAAiB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAgB;GAAkB;GAAiB;EAAa,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC1P,CAwBS;CACP,QAxBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAC1H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tax-code-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateTaxCodeAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\"),\n display_name: z.string().describe(\"The name of the tax code field as shown on Ramp. If not provided, the name field will be used as the display name.\").optional(),\n}).describe(\"Request to create a new tax code accounting field.\");\nexport const RampCreateTaxCodeAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of tax code field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the tax code field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code field is associated with.\").nullable(),\n}).passthrough().describe(\"Response from creating a new tax code accounting field.\");\n\nexport const rampCreateTaxCodeAccountingField = action(\"RAMP_CREATE_TAX_CODE_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-tax-code-accounting-field\",\n name: \"Create Tax Code Accounting Field\",\n description: \"Tool to create a new tax code accounting field in Ramp. There can only be one active tax code accounting field per accounting connection. Use when you need to set up tax code tracking for an accounting integration.\",\n input: RampCreateTaxCodeAccountingFieldInput,\n output: RampCreateTaxCodeAccountingFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tax-code-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampCreateTaxCodeAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\"),\n display_name: z.string().describe(\"The name of the tax code field as shown on Ramp. If not provided, the name field will be used as the display name.\").optional(),\n}).describe(\"Request to create a new tax code accounting field.\");\nexport const RampCreateTaxCodeAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of tax code field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the tax code field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code field is associated with.\").nullable(),\n}).passthrough().describe(\"Response from creating a new tax code accounting field.\");\n\nexport const rampCreateTaxCodeAccountingField: AppAction<\n typeof RampCreateTaxCodeAccountingFieldInput,\n typeof RampCreateTaxCodeAccountingFieldOutput,\n typeof ramp.credential\n> = action(\"RAMP_CREATE_TAX_CODE_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-tax-code-accounting-field\",\n name: \"Create Tax Code Accounting Field\",\n description: \"Tool to create a new tax code accounting field in Ramp. There can only be one active tax code accounting field per accounting connection. Use when you need to set up tax code tracking for an accounting integration.\",\n input: RampCreateTaxCodeAccountingFieldInput,\n output: RampCreateTaxCodeAccountingFieldOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,mCAITC,eAAAA,OAAO,yCAAyC;CAClD,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/create-tax-code-accounting-field.d.ts
|
|
@@ -12,22 +14,7 @@ declare const RampCreateTaxCodeAccountingFieldOutput: z.ZodObject<{
|
|
|
12
14
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const rampCreateTaxCodeAccountingField:
|
|
16
|
-
name: string;
|
|
17
|
-
display_name?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const rampCreateTaxCodeAccountingField: AppAction<typeof RampCreateTaxCodeAccountingFieldInput, typeof RampCreateTaxCodeAccountingFieldOutput, typeof ramp.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { rampCreateTaxCodeAccountingField };
|
|
33
20
|
//# sourceMappingURL=create-tax-code-accounting-field.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tax-code-accounting-field.d.cts","names":[],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tax-code-accounting-field.d.cts","names":[],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,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/create-tax-code-accounting-field.d.ts
|
|
@@ -12,22 +14,7 @@ declare const RampCreateTaxCodeAccountingFieldOutput: z.ZodObject<{
|
|
|
12
14
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const rampCreateTaxCodeAccountingField:
|
|
16
|
-
name: string;
|
|
17
|
-
display_name?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const rampCreateTaxCodeAccountingField: AppAction<typeof RampCreateTaxCodeAccountingFieldInput, typeof RampCreateTaxCodeAccountingFieldOutput, typeof ramp.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { rampCreateTaxCodeAccountingField };
|
|
33
20
|
//# sourceMappingURL=create-tax-code-accounting-field.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tax-code-accounting-field.d.mts","names":[],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tax-code-accounting-field.d.mts","names":[],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tax-code-accounting-field.mjs","names":[],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateTaxCodeAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\"),\n display_name: z.string().describe(\"The name of the tax code field as shown on Ramp. If not provided, the name field will be used as the display name.\").optional(),\n}).describe(\"Request to create a new tax code accounting field.\");\nexport const RampCreateTaxCodeAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of tax code field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the tax code field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code field is associated with.\").nullable(),\n}).passthrough().describe(\"Response from creating a new tax code accounting field.\");\n\nexport const rampCreateTaxCodeAccountingField = action(\"RAMP_CREATE_TAX_CODE_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-tax-code-accounting-field\",\n name: \"Create Tax Code Accounting Field\",\n description: \"Tool to create a new tax code accounting field in Ramp. There can only be one active tax code accounting field per accounting connection. Use when you need to set up tax code tracking for an accounting integration.\",\n input: RampCreateTaxCodeAccountingFieldInput,\n output: RampCreateTaxCodeAccountingFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-tax-code-accounting-field.mjs","names":[],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampCreateTaxCodeAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\"),\n display_name: z.string().describe(\"The name of the tax code field as shown on Ramp. If not provided, the name field will be used as the display name.\").optional(),\n}).describe(\"Request to create a new tax code accounting field.\");\nexport const RampCreateTaxCodeAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of tax code field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the tax code field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code field is associated with.\").nullable(),\n}).passthrough().describe(\"Response from creating a new tax code accounting field.\");\n\nexport const rampCreateTaxCodeAccountingField: AppAction<\n typeof RampCreateTaxCodeAccountingFieldInput,\n typeof RampCreateTaxCodeAccountingFieldOutput,\n typeof ramp.credential\n> = action(\"RAMP_CREATE_TAX_CODE_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-tax-code-accounting-field\",\n name: \"Create Tax Code Accounting Field\",\n description: \"Tool to create a new tax code accounting field in Ramp. There can only be one active tax code accounting field per accounting connection. Use when you need to set up tax code tracking for an accounting integration.\",\n input: RampCreateTaxCodeAccountingFieldInput,\n output: RampCreateTaxCodeAccountingFieldOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,mCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACnK,CAAC,CAAC,CAAC,SAAS,oDAiBH;CACP,QAjBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-invite.cjs","names":["z","action"],"sources":["../../src/actions/create-user-invite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateUserInviteInput = z.object({\n role: z.enum([\"AUDITOR\", \"BUSINESS_ADMIN\", \"BUSINESS_BOOKKEEPER\", \"BUSINESS_OWNER\", \"BUSINESS_USER\", \"GUEST_USER\", \"IT_ADMIN\"]).describe(\"The employee's role in the organization. Note that BUSINESS_OWNER is not an invitable role\"),\n email: z.string().describe(\"The employee's email address where the invite will be sent\"),\n last_name: z.string().describe(\"Last name of the employee (max 255 characters)\"),\n first_name: z.string().describe(\"First name of the employee (max 255 characters)\"),\n is_manager: z.boolean().describe(\"Whether the employee is a manager\").optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location. Use this to assign the user to a specific entity (locations are mapped to entities with many-to-one relationship)\").optional(),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format)\").optional(),\n idempotency_key: z.string().describe(\"A unique value generated by the client which the server uses to recognize subsequent retries of the same request. Use a random generated UUID to avoid collisions\"),\n direct_manager_id: z.string().describe(\"Unique identifier of the employee's direct manager (UUID format)\").optional(),\n});\nexport const RampCreateUserInviteOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /developer/v1/users/deferred/status/<task_id>\").nullable(),\n}).passthrough();\n\nexport const rampCreateUserInvite = action(\"RAMP_CREATE_USER_INVITE\", {\n slug: \"ramp-create-user-invite\",\n name: \"Create User Invite\",\n description: \"Tool to create a user invite for onboarding new employees to Ramp. Triggers an async task to send an invite email. Users must accept the invite to be onboarded. Assign users to specific entities using location_id.\",\n input: RampCreateUserInviteInput,\n output: RampCreateUserInviteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-invite.cjs","names":["z","action"],"sources":["../../src/actions/create-user-invite.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 RampCreateUserInviteInput = z.object({\n role: z.enum([\"AUDITOR\", \"BUSINESS_ADMIN\", \"BUSINESS_BOOKKEEPER\", \"BUSINESS_OWNER\", \"BUSINESS_USER\", \"GUEST_USER\", \"IT_ADMIN\"]).describe(\"The employee's role in the organization. Note that BUSINESS_OWNER is not an invitable role\"),\n email: z.string().describe(\"The employee's email address where the invite will be sent\"),\n last_name: z.string().describe(\"Last name of the employee (max 255 characters)\"),\n first_name: z.string().describe(\"First name of the employee (max 255 characters)\"),\n is_manager: z.boolean().describe(\"Whether the employee is a manager\").optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location. Use this to assign the user to a specific entity (locations are mapped to entities with many-to-one relationship)\").optional(),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format)\").optional(),\n idempotency_key: z.string().describe(\"A unique value generated by the client which the server uses to recognize subsequent retries of the same request. Use a random generated UUID to avoid collisions\"),\n direct_manager_id: z.string().describe(\"Unique identifier of the employee's direct manager (UUID format)\").optional(),\n});\nexport const RampCreateUserInviteOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /developer/v1/users/deferred/status/<task_id>\").nullable(),\n}).passthrough();\n\nexport const rampCreateUserInvite: AppAction<\n typeof RampCreateUserInviteInput,\n typeof RampCreateUserInviteOutput,\n typeof ramp.credential\n> = action(\"RAMP_CREATE_USER_INVITE\", {\n slug: \"ramp-create-user-invite\",\n name: \"Create User Invite\",\n description: \"Tool to create a user invite for onboarding new employees to Ramp. Triggers an async task to send an invite email. Users must accept the invite to be onboarded. Assign users to specific entities using location_id.\",\n input: RampCreateUserInviteInput,\n output: RampCreateUserInviteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAkB;EAAuB;EAAkB;EAAiB;EAAc;CAAU,CAAC,CAAC,CAAC,SAAS,4FAA4F;CACrO,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CAC7M,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;CACxM,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACtH,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,EAC1J,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,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/create-user-invite.d.ts
|
|
@@ -23,29 +25,7 @@ declare const RampCreateUserInviteInput: z.ZodObject<{
|
|
|
23
25
|
declare const RampCreateUserInviteOutput: z.ZodObject<{
|
|
24
26
|
id: z.ZodNullable<z.ZodString>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const rampCreateUserInvite:
|
|
27
|
-
role: "AUDITOR" | "BUSINESS_ADMIN" | "BUSINESS_BOOKKEEPER" | "BUSINESS_OWNER" | "BUSINESS_USER" | "GUEST_USER" | "IT_ADMIN";
|
|
28
|
-
email: string;
|
|
29
|
-
last_name: string;
|
|
30
|
-
first_name: string;
|
|
31
|
-
idempotency_key: string;
|
|
32
|
-
is_manager?: boolean | undefined;
|
|
33
|
-
location_id?: string | undefined;
|
|
34
|
-
department_id?: string | undefined;
|
|
35
|
-
direct_manager_id?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
accessToken: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
accessToken: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const rampCreateUserInvite: AppAction<typeof RampCreateUserInviteInput, typeof RampCreateUserInviteOutput, typeof ramp.credential>;
|
|
49
29
|
//#endregion
|
|
50
30
|
export { rampCreateUserInvite };
|
|
51
31
|
//# sourceMappingURL=create-user-invite.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-invite.d.cts","names":[],"sources":["../../src/actions/create-user-invite.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-invite.d.cts","names":[],"sources":["../../src/actions/create-user-invite.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/create-user-invite.d.ts
|
|
@@ -23,29 +25,7 @@ declare const RampCreateUserInviteInput: z.ZodObject<{
|
|
|
23
25
|
declare const RampCreateUserInviteOutput: z.ZodObject<{
|
|
24
26
|
id: z.ZodNullable<z.ZodString>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const rampCreateUserInvite:
|
|
27
|
-
role: "AUDITOR" | "BUSINESS_ADMIN" | "BUSINESS_BOOKKEEPER" | "BUSINESS_OWNER" | "BUSINESS_USER" | "GUEST_USER" | "IT_ADMIN";
|
|
28
|
-
email: string;
|
|
29
|
-
last_name: string;
|
|
30
|
-
first_name: string;
|
|
31
|
-
idempotency_key: string;
|
|
32
|
-
is_manager?: boolean | undefined;
|
|
33
|
-
location_id?: string | undefined;
|
|
34
|
-
department_id?: string | undefined;
|
|
35
|
-
direct_manager_id?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
accessToken: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
accessToken: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const rampCreateUserInvite: AppAction<typeof RampCreateUserInviteInput, typeof RampCreateUserInviteOutput, typeof ramp.credential>;
|
|
49
29
|
//#endregion
|
|
50
30
|
export { rampCreateUserInvite };
|
|
51
31
|
//# sourceMappingURL=create-user-invite.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-invite.d.mts","names":[],"sources":["../../src/actions/create-user-invite.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-invite.d.mts","names":[],"sources":["../../src/actions/create-user-invite.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-invite.mjs","names":[],"sources":["../../src/actions/create-user-invite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateUserInviteInput = z.object({\n role: z.enum([\"AUDITOR\", \"BUSINESS_ADMIN\", \"BUSINESS_BOOKKEEPER\", \"BUSINESS_OWNER\", \"BUSINESS_USER\", \"GUEST_USER\", \"IT_ADMIN\"]).describe(\"The employee's role in the organization. Note that BUSINESS_OWNER is not an invitable role\"),\n email: z.string().describe(\"The employee's email address where the invite will be sent\"),\n last_name: z.string().describe(\"Last name of the employee (max 255 characters)\"),\n first_name: z.string().describe(\"First name of the employee (max 255 characters)\"),\n is_manager: z.boolean().describe(\"Whether the employee is a manager\").optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location. Use this to assign the user to a specific entity (locations are mapped to entities with many-to-one relationship)\").optional(),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format)\").optional(),\n idempotency_key: z.string().describe(\"A unique value generated by the client which the server uses to recognize subsequent retries of the same request. Use a random generated UUID to avoid collisions\"),\n direct_manager_id: z.string().describe(\"Unique identifier of the employee's direct manager (UUID format)\").optional(),\n});\nexport const RampCreateUserInviteOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /developer/v1/users/deferred/status/<task_id>\").nullable(),\n}).passthrough();\n\nexport const rampCreateUserInvite = action(\"RAMP_CREATE_USER_INVITE\", {\n slug: \"ramp-create-user-invite\",\n name: \"Create User Invite\",\n description: \"Tool to create a user invite for onboarding new employees to Ramp. Triggers an async task to send an invite email. Users must accept the invite to be onboarded. Assign users to specific entities using location_id.\",\n input: RampCreateUserInviteInput,\n output: RampCreateUserInviteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-invite.mjs","names":[],"sources":["../../src/actions/create-user-invite.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 RampCreateUserInviteInput = z.object({\n role: z.enum([\"AUDITOR\", \"BUSINESS_ADMIN\", \"BUSINESS_BOOKKEEPER\", \"BUSINESS_OWNER\", \"BUSINESS_USER\", \"GUEST_USER\", \"IT_ADMIN\"]).describe(\"The employee's role in the organization. Note that BUSINESS_OWNER is not an invitable role\"),\n email: z.string().describe(\"The employee's email address where the invite will be sent\"),\n last_name: z.string().describe(\"Last name of the employee (max 255 characters)\"),\n first_name: z.string().describe(\"First name of the employee (max 255 characters)\"),\n is_manager: z.boolean().describe(\"Whether the employee is a manager\").optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location. Use this to assign the user to a specific entity (locations are mapped to entities with many-to-one relationship)\").optional(),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format)\").optional(),\n idempotency_key: z.string().describe(\"A unique value generated by the client which the server uses to recognize subsequent retries of the same request. Use a random generated UUID to avoid collisions\"),\n direct_manager_id: z.string().describe(\"Unique identifier of the employee's direct manager (UUID format)\").optional(),\n});\nexport const RampCreateUserInviteOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /developer/v1/users/deferred/status/<task_id>\").nullable(),\n}).passthrough();\n\nexport const rampCreateUserInvite: AppAction<\n typeof RampCreateUserInviteInput,\n typeof RampCreateUserInviteOutput,\n typeof ramp.credential\n> = action(\"RAMP_CREATE_USER_INVITE\", {\n slug: \"ramp-create-user-invite\",\n name: \"Create User Invite\",\n description: \"Tool to create a user invite for onboarding new employees to Ramp. Triggers an async task to send an invite email. Users must accept the invite to be onboarded. Assign users to specific entities using location_id.\",\n input: RampCreateUserInviteInput,\n output: RampCreateUserInviteOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,EAAE,OAAO;EAChD,MAAM,EAAE,KAAK;GAAC;GAAW;GAAkB;GAAuB;GAAkB;GAAiB;GAAc;EAAU,CAAC,CAAC,CAAC,SAAS,4FAA4F;EACrO,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACjF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;EAC7M,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC5G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;EACxM,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACtH,CAaS;CACP,QAbwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,EAC1J,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook-subscription.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateWebhookSubscriptionInput = z.object({\n event_types: z.array(z.enum([\"bills.approved\", \"bills.created\", \"bills.paid\", \"bills.rejected\", \"item_receipts.created\", \"purchase_orders.archived\", \"purchase_orders.created\", \"purchase_orders.updated\", \"reimbursements.ready_for_review\", \"reimbursements.ready_to_sync\", \"reimbursements.sync_requested\", \"spend_requests.comment_created\", \"tests.test_event\", \"transactions.authorized\", \"transactions.cleared\", \"transactions.ready_for_review\", \"transactions.ready_to_sync\", \"transactions.sync_requested\", \"unified_requests.external_approval_request\", \"unified_requests.external_approval_request_reset\", \"vendors.activated\", \"webhooks.verification\"]).describe(\"Event types that can be subscribed to for webhook notifications.\")).describe(\"List of event types to subscribe to. The webhook will receive notifications for these events\"),\n endpoint_url: z.string().describe(\"URL where webhook events will be sent. Must be a valid HTTPS URL that can receive POST requests\"),\n additional_headers: z.record(z.string(), z.unknown()).describe(\"Optional headers to include with webhook requests. Max 5 headers allowed. Header names max 100 chars, values max 1000 chars\").optional(),\n});\nconst RampCreateWebhookSubscription_WebhookStatusSchema = z.enum([\"active\", \"inactive\", \"pending_verification\"]).describe(\"Status of a webhook subscription.\");\nexport const RampCreateWebhookSubscriptionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the webhook subscription\").nullable(),\n secret: z.string().describe(\"Secret key for verifying webhook signatures. Use this to validate that webhook requests are from Ramp\").nullable(),\n status: RampCreateWebhookSubscription_WebhookStatusSchema.nullable(),\n created_at: z.string().describe(\"ISO-8601 timestamp when the subscription was created\").nullable(),\n updated_at: z.string().describe(\"ISO-8601 timestamp when the subscription was last updated\").nullable(),\n business_id: z.string().describe(\"UUID of the business that this webhook subscription is for\").nullable().optional(),\n event_types: z.array(z.string()).describe(\"Types of events this subscription will receive\"),\n endpoint_url: z.string().describe(\"URL where webhook events will be sent\").nullable(),\n additional_headers: z.record(z.string(), z.unknown()).describe(\"Headers to include with webhook requests\").nullable().optional(),\n}).passthrough();\n\nexport const rampCreateWebhookSubscription = action(\"RAMP_CREATE_WEBHOOK_SUBSCRIPTION\", {\n slug: \"ramp-create-webhook-subscription\",\n name: \"Create Webhook Subscription\",\n description: \"Tool to create a new webhook subscription for receiving event notifications from Ramp. Use when you need to set up real-time notifications for events like transactions, bills, or reimbursements. The newly registered subscription will be in pending verification state and requires endpoint verification with the provided challenge.\",\n input: RampCreateWebhookSubscriptionInput,\n output: RampCreateWebhookSubscriptionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook-subscription.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook-subscription.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 RampCreateWebhookSubscriptionInput = z.object({\n event_types: z.array(z.enum([\"bills.approved\", \"bills.created\", \"bills.paid\", \"bills.rejected\", \"item_receipts.created\", \"purchase_orders.archived\", \"purchase_orders.created\", \"purchase_orders.updated\", \"reimbursements.ready_for_review\", \"reimbursements.ready_to_sync\", \"reimbursements.sync_requested\", \"spend_requests.comment_created\", \"tests.test_event\", \"transactions.authorized\", \"transactions.cleared\", \"transactions.ready_for_review\", \"transactions.ready_to_sync\", \"transactions.sync_requested\", \"unified_requests.external_approval_request\", \"unified_requests.external_approval_request_reset\", \"vendors.activated\", \"webhooks.verification\"]).describe(\"Event types that can be subscribed to for webhook notifications.\")).describe(\"List of event types to subscribe to. The webhook will receive notifications for these events\"),\n endpoint_url: z.string().describe(\"URL where webhook events will be sent. Must be a valid HTTPS URL that can receive POST requests\"),\n additional_headers: z.record(z.string(), z.unknown()).describe(\"Optional headers to include with webhook requests. Max 5 headers allowed. Header names max 100 chars, values max 1000 chars\").optional(),\n});\nconst RampCreateWebhookSubscription_WebhookStatusSchema = z.enum([\"active\", \"inactive\", \"pending_verification\"]).describe(\"Status of a webhook subscription.\");\nexport const RampCreateWebhookSubscriptionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the webhook subscription\").nullable(),\n secret: z.string().describe(\"Secret key for verifying webhook signatures. Use this to validate that webhook requests are from Ramp\").nullable(),\n status: RampCreateWebhookSubscription_WebhookStatusSchema.nullable(),\n created_at: z.string().describe(\"ISO-8601 timestamp when the subscription was created\").nullable(),\n updated_at: z.string().describe(\"ISO-8601 timestamp when the subscription was last updated\").nullable(),\n business_id: z.string().describe(\"UUID of the business that this webhook subscription is for\").nullable().optional(),\n event_types: z.array(z.string()).describe(\"Types of events this subscription will receive\"),\n endpoint_url: z.string().describe(\"URL where webhook events will be sent\").nullable(),\n additional_headers: z.record(z.string(), z.unknown()).describe(\"Headers to include with webhook requests\").nullable().optional(),\n}).passthrough();\n\nexport const rampCreateWebhookSubscription: AppAction<\n typeof RampCreateWebhookSubscriptionInput,\n typeof RampCreateWebhookSubscriptionOutput,\n typeof ramp.credential\n> = action(\"RAMP_CREATE_WEBHOOK_SUBSCRIPTION\", {\n slug: \"ramp-create-webhook-subscription\",\n name: \"Create Webhook Subscription\",\n description: \"Tool to create a new webhook subscription for receiving event notifications from Ramp. Use when you need to set up real-time notifications for events like transactions, bills, or reimbursements. The newly registered subscription will be in pending verification state and requires endpoint verification with the provided challenge.\",\n input: RampCreateWebhookSubscriptionInput,\n output: RampCreateWebhookSubscriptionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAiB;EAAc;EAAkB;EAAyB;EAA4B;EAA2B;EAA2B;EAAmC;EAAgC;EAAiC;EAAkC;EAAoB;EAA2B;EAAwB;EAAiC;EAA8B;EAA+B;EAA8C;EAAoD;EAAqB;CAAuB,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,8FAA8F;CAC5zB,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACnI,oBAAoBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;AACzM,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAY;AAAsB,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC7J,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC9I,QAAQ,kDAAkD,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,oBAAoBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,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/create-webhook-subscription.d.ts
|
|
@@ -44,23 +46,7 @@ declare const RampCreateWebhookSubscriptionOutput: z.ZodObject<{
|
|
|
44
46
|
endpoint_url: z.ZodNullable<z.ZodString>;
|
|
45
47
|
additional_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const rampCreateWebhookSubscription:
|
|
48
|
-
event_types: ("bills.approved" | "bills.created" | "bills.paid" | "bills.rejected" | "item_receipts.created" | "purchase_orders.archived" | "purchase_orders.created" | "purchase_orders.updated" | "reimbursements.ready_for_review" | "reimbursements.ready_to_sync" | "reimbursements.sync_requested" | "spend_requests.comment_created" | "tests.test_event" | "transactions.authorized" | "transactions.cleared" | "transactions.ready_for_review" | "transactions.ready_to_sync" | "transactions.sync_requested" | "unified_requests.external_approval_request" | "unified_requests.external_approval_request_reset" | "vendors.activated" | "webhooks.verification")[];
|
|
49
|
-
endpoint_url: string;
|
|
50
|
-
additional_headers?: Record<string, unknown> | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
accessToken: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
58
|
-
connectionId: z.ZodString;
|
|
59
|
-
entityId: z.ZodString;
|
|
60
|
-
instanceId: z.ZodString;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
-
accessToken: z.ZodString;
|
|
63
|
-
}, z.core.$strip>>]>;
|
|
49
|
+
declare const rampCreateWebhookSubscription: AppAction<typeof RampCreateWebhookSubscriptionInput, typeof RampCreateWebhookSubscriptionOutput, typeof ramp.credential>;
|
|
64
50
|
//#endregion
|
|
65
51
|
export { rampCreateWebhookSubscription };
|
|
66
52
|
//# sourceMappingURL=create-webhook-subscription.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook-subscription.d.cts","names":[],"sources":["../../src/actions/create-webhook-subscription.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook-subscription.d.cts","names":[],"sources":["../../src/actions/create-webhook-subscription.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAYnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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/create-webhook-subscription.d.ts
|
|
@@ -44,23 +46,7 @@ declare const RampCreateWebhookSubscriptionOutput: z.ZodObject<{
|
|
|
44
46
|
endpoint_url: z.ZodNullable<z.ZodString>;
|
|
45
47
|
additional_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const rampCreateWebhookSubscription:
|
|
48
|
-
event_types: ("bills.approved" | "bills.created" | "bills.paid" | "bills.rejected" | "item_receipts.created" | "purchase_orders.archived" | "purchase_orders.created" | "purchase_orders.updated" | "reimbursements.ready_for_review" | "reimbursements.ready_to_sync" | "reimbursements.sync_requested" | "spend_requests.comment_created" | "tests.test_event" | "transactions.authorized" | "transactions.cleared" | "transactions.ready_for_review" | "transactions.ready_to_sync" | "transactions.sync_requested" | "unified_requests.external_approval_request" | "unified_requests.external_approval_request_reset" | "vendors.activated" | "webhooks.verification")[];
|
|
49
|
-
endpoint_url: string;
|
|
50
|
-
additional_headers?: Record<string, unknown> | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
accessToken: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
|
|
58
|
-
connectionId: z.ZodString;
|
|
59
|
-
entityId: z.ZodString;
|
|
60
|
-
instanceId: z.ZodString;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
-
accessToken: z.ZodString;
|
|
63
|
-
}, z.core.$strip>>]>;
|
|
49
|
+
declare const rampCreateWebhookSubscription: AppAction<typeof RampCreateWebhookSubscriptionInput, typeof RampCreateWebhookSubscriptionOutput, typeof ramp.credential>;
|
|
64
50
|
//#endregion
|
|
65
51
|
export { rampCreateWebhookSubscription };
|
|
66
52
|
//# sourceMappingURL=create-webhook-subscription.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook-subscription.d.mts","names":[],"sources":["../../src/actions/create-webhook-subscription.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook-subscription.d.mts","names":[],"sources":["../../src/actions/create-webhook-subscription.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAYnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,IAAA,CAAK,UAAA"}
|