Intro
These are classes that the app developers can use to interact with Sesami Experience.
These classes have some common attributes:
Attributes
Session ID
This is the ID for the current booking flow of the Experience. It will be generated when the calendar modal opens and sent to each extension that wants to load in any step. So using it, the extension can find the relation between information given in different steps.
public getSessionId: () => string
Shop ID
The current shop.
public getShopId: () => string
Product ID
The current product in the Experience.
public getProductId: () => string
Variant ID
The selected variant of the service.
public getVariantId: () => string
Quantity
The selected quantity for the service.
public getQuantity: () => number
Resources
The selected resources with the user, such as coach, room, etc.
public getResources: () => Resource[]
Locale
The Experience's current locale.
public getLocale: () => string
Timezone
The Experience's current timezone.
public getTimezone: () => string
Slot
Selected slot's date and time.
public getSlot: () => Date