📘
Упрокат і орендовані пристрої
rental
inventory_logistics
🛡️ RLS Protected
Процес і API-документація, отримана з коду.
Fachliche Bestimmung: Процесна документація і API, отримані з коду. Зробить всі зареєстровані процеси, можливості, стан машини, API та таблиці для моделювання та огляду.
⚡ Процес роботи (3)
🗄️ Моделі даних & поля (3)
🔌 Початкові точки (UI & API) (40)
🛡️ Регуляторна діяльність
⚡ Процес роботи
Наказ користувача: орендний агент
plan:command_rental_agent
Проверене Durable plan (durable_plan), старт: manual_command.
1. rental_agent
rental_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "rental_agent", "condition_fact": null}
Aktionen: rental_agent
Буквальна орендована
status:rental_booking
Оглядальна станна машина (обов'язуюча).
1. reserved
резервується
Статус <unk>зарезервований <unk> стан машини
2. picked_up
picked_up
Статус <unk>picked_up <unk> станції машинного орендного реєстрації.
3. returned
повернення
Статус <unk> повернути <unk> стан машини оренд
4. overdue
запізнення
Статус <unk> надлежної <unk> станції
5. cancelled
відменено
Статус <unk> скасований <unk> стан машини оренд.
Замов на оренду
status:rental_order
Оглядальна станна машина (обов'язуюча).
1. draft
проект
Статус <unk>проект <unk> станного машини орендований заказ.
2. reserved
резервується
Статус <unk>зарезервований <unk> стан машини оренду
3. active
активні
Статус <unk>активний<unk> стан машини оренду
4. closed
закрита
Статус <unk>завершений <unk> орендований заказ станчної машини.
5. cancelled
відменено
Статус <unk> скасований <unk> стан машинний оренд.
🗄️ Моделі даних & поля
🔌 Початкові точки (UI & API)
| Art | Метод | Останній пункт / шлях | Titel & Zweck | Право на |
|---|---|---|---|---|
| ⚡ REST API | GET | /api/v1/rental/availability |
check_availability
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/availability/product |
check_product_availability
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/bookings |
list_bookings
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/bookings/{booking_id} |
get_booking
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/bookings/{booking_id}/charge-preview |
booking_charge_preview
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/bookings/{booking_id}/kit |
list_kit_members
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/orders |
list_orders
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/orders/{order_id} |
get_order
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/orders/{order_id}/bookings |
list_order_bookings
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/products/rentable |
list_rentable_products
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/rate-cards |
list_rate_cards
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/rate-cards/resolve |
resolve_rate_card
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/settings |
get_rental_settings
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /api/v1/rental/utilisation |
rental_utilisation
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /portal/{slug}/vermietung |
rental_page
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /rental |
rental_page
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | GET | /rental/new |
rental_create_page
Semantic binding: inventory_only; mutation=False
|
rental
|
| ⚡ REST API | PATCH | /api/v1/rental/rate-cards/{rate_card_id} |
update_rate_card
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings |
create_booking
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/kit |
create_kit_booking
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/cancel |
cancel_booking
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/create-invoice |
create_hire_invoice
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/cycle-invoice |
create_cycle_invoice
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/deposit/apply |
apply_deposit
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/deposit/checkout |
start_deposit_checkout
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/deposit/collect |
collect_deposit
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/deposit/invoice |
create_deposit_invoice
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/deposit/refund |
refund_deposit
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/early-return |
early_return_booking
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/extend |
extend_booking
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/pickup |
pickup_booking
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/reschedule |
reschedule_booking
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/return |
return_booking
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/bookings/{booking_id}/swap-asset |
swap_booking_asset
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/orders |
create_order
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/orders/from-contract/{contract_id} |
create_order_from_contract
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/orders/from-product |
create_order_from_product
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /api/v1/rental/rate-cards |
create_rate_card
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | POST | /portal/{slug}/vermietung/anfragen |
rental_booking_request
Semantic binding: operator_surface; mutation=True
|
rental
|
| ⚡ REST API | PUT | /api/v1/rental/settings |
update_rental_settings
Semantic binding: operator_surface; mutation=True
|
rental
|
🛡️ Регуляторна діяльність
Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:
- Простерогідність
- Ізоляція клієнта (PostgreSQL RLS)