Reserves models¶
Models of the banquet/reserve endpoints.
Generated by python -m codegen from the iikoCloud OpenAPI specification. Do not edit by hand.
AddOrderItemsToBanquetRequest
¶
Bases: IikoModel
Request for add order items to banquet.
CancelReserveRequest
¶
Bases: IikoModel
Request for canceling the reservation.
cancel_reason
instance-attribute
¶
cancel_reason: ReserveCancelReason
Reason to cancel planned event.
ChangeBanquetOrderItemsRequest
¶
ChangeReserveEstimatedStartTimeRequest
¶
Bases: IikoModel
Request to change reserve/banquet estimated start time.
new_estimated_start_time
instance-attribute
¶
new_estimated_start_time: IikoDateTime
New estimated start time of reserve/banquet.
Color
¶
CreateOrderSettingsBase
¶
CreateReserveRequest
¶
Bases: IikoModel
Banquet/reserve creation model.
create_reserve_settings
class-attribute
instance-attribute
¶
create_reserve_settings: CreateOrderSettingsBase | None = (
None
)
Reserve creation parameters.
estimated_start_time
instance-attribute
¶
estimated_start_time: IikoDateTime
Estimated time when reserve will be closed or banquet will be started (Local for the terminal). Reservation can be made up to 90 days prior to the date.
event_type
class-attribute
instance-attribute
¶
Event type.
Allowed from version 8.5.6.
external_number
class-attribute
instance-attribute
¶
Banquet/reserve external number.
Allowed from version 8.0.6.
guests
class-attribute
instance-attribute
¶
guests: ReserveGuestsInfo | None = None
Guests information.
guests_count
class-attribute
instance-attribute
¶
guests_count: int | None = None
Deprecated. Number of guests.
order
class-attribute
instance-attribute
¶
order: ReserveOrder | None = None
Order. Used only at a banquet.
organization_id
instance-attribute
¶
organization_id: str
Organization ID of a new banquet/reserve.
Can be obtained by /api/1/organizations operation.
phone
instance-attribute
¶
phone: str
Telephone number. Must begin with symbol "+" and must be at least 8 digits.
should_remind
instance-attribute
¶
should_remind: bool
Whether to remind staff to prepare table beforehand.
terminal_group_id
class-attribute
instance-attribute
¶
terminal_group_id: str | None = None
Front group ID an banquet/reserve must be sent to.
Can be obtained by /api/1/terminal_groups operation.
transport_to_front_timeout
class-attribute
instance-attribute
¶
transport_to_front_timeout: int | None = None
Deprecated. Timeout in seconds that specifies how much time is given for banquet/reserve to reach iikoFront. After this time, banquet/reserve is nullified if iikoFront doesn't take it. By default - 8 seconds.
Font
¶
FontStyle
¶
GetRestaurantSectionsRequest
¶
GetRestaurantSectionsResponse
¶
Bases: IikoModel
Response which contains all restaurant sections of specified terminal groups for which banquet/reserve booking are available.
GetRestaurantSectionsWorkloadRequest
¶
Bases: IikoModel
Request for check restaurant sections workload.
date_from
instance-attribute
¶
date_from: IikoDateTime
Estimated start time (Local for the terminal). Lower limit.
Order details are stored for 90 days.
date_to
class-attribute
instance-attribute
¶
date_to: IikoDateTime | None = None
Estimated start time (Local for the terminal). Upper limit.
GetRestaurantSectionsWorkloadResponse
¶
GetTerminalGroupsByOrganizationsRequest
¶
ReserveGuestsInfo
¶
ReserveInWorkload
¶
Bases: IikoModel
Banquet/reserve.
estimated_start_time
instance-attribute
¶
estimated_start_time: IikoDateTime
Estimated time when reserve will be closed or banquet will be started (Local for the terminal).
ReserveOrder
¶
Bases: IikoModel
Order.
cheque_additional_info
class-attribute
instance-attribute
¶
cheque_additional_info: ChequeAdditionalInfo | None = None
Cheque additional information.
combos
class-attribute
instance-attribute
¶
Combos included in order.
discounts_info
class-attribute
instance-attribute
¶
discounts_info: DiscountsInfo | None = None
Discounts/surcharges.
external_data
class-attribute
instance-attribute
¶
external_data: list[ExternalData] | None = None
Order external data.
Allowed from version 8.0.6.
loyalty_info
class-attribute
instance-attribute
¶
loyalty_info: LoyaltyInfo | None = None
Information about Loyalty app.
order_type_id
class-attribute
instance-attribute
¶
order_type_id: str | None = None
Order type ID.
Can be obtained by /api/1/deliveries/order_types operation
payments
class-attribute
instance-attribute
¶
Order payment components.
Type LoyaltyCard allowed from version 7.1.5.
source_key
class-attribute
instance-attribute
¶
source_key: str | None = None
The string key (marker) of the source (partner - api user) that created the order. Needed to limit the visibility of orders for external integration.
tips
class-attribute
instance-attribute
¶
tips: list[TipsPayment] | None = None
Order tips components.
ReservesByIdRequest
¶
Bases: IikoModel
Request for information about banquets/reserves using IDs.
RestaurantSection
¶
Bases: IikoModel
Restaurant section.
schema_
class-attribute
instance-attribute
¶
schema_: SectionSchema | None = Field(
default=None, alias="schema"
)
Table layout.
SectionSchema
¶
Bases: IikoModel
Table layout.
ellipse_elements
instance-attribute
¶
ellipse_elements: list[RestaurantSectionEllipse]
Collection of restaurant section ellipses.
mark_elements
instance-attribute
¶
mark_elements: list[RestaurantSectionMark]
Collection of restaurant section marks.
rectangle_elements
instance-attribute
¶
rectangle_elements: list[RestaurantSectionRectangle]
Collection of restaurant section rectangles.
table_elements
instance-attribute
¶
table_elements: list[RestaurantSectionTable]
Collection of restaurant section tables.