@cimplify/sdk 0.28.0 → 0.30.0

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.
@@ -1,4 +1,4 @@
1
- import { a9 as Category, N as Product, a5 as AddOnWithOptions, d as Pagination, h as CimplifyError, U as ProductWithDetails, X as ProductVariant, _ as VariantAxis, a3 as VariantAxisSelection, a4 as AddOn, ab as Collection, ag as BundleSummary, af as Bundle, as as Composite, az as ComponentSelectionInput, aA as CompositePriceResult, C as ChosenPrice, aH as ProductTaxonomy, aI as TaxonomyWithChildren, bN as EligiblePlansQuery, bM as ProductBillingPlan, aG as ProductTimeProfile, aJ as ProductAvailabilityNow, aL as Deal, aM as ProductDealInfo, aN as DiscountValidation, aP as TagsResponse, B as CustomAttributeDefinition, F as CustomAttributeValue, J as PropertyFacet, T as TaxonomyAttributeTemplate, L as KnowledgeArticle, br as UICart, bc as Cart, bd as CartItem, bv as CartSummary, bt as AddToCartInput, bu as UpdateCartItemInput, a$ as DiscountDetails, M as Money, a as CurrencyCode, bb as LineConfiguration, bA as AuthorizationType, bC as PaymentMethod, bE as InitializePaymentResult, bI as SubmitAuthorizationInput, bG as PaymentStatusResponse, t as DurationUnit, bQ as Subscription, bT as SubscriptionWithDetails } from './payment-k8feV7r8.js';
1
+ import { ak as Category, O as Product, ag as AddOnWithOptions, d as Pagination, h as CimplifyError, a5 as ProductWithDetails, a7 as ProductVariant, a9 as VariantAxis, ae as VariantAxisSelection, af as AddOn, am as Collection, ar as BundleSummary, aq as Bundle, aD as Composite, aK as ComponentSelectionInput, aL as CompositePriceResult, C as ChosenPrice, aS as ProductTaxonomy, aT as TaxonomyWithChildren, bY as EligiblePlansQuery, bX as ProductBillingPlan, aR as ProductTimeProfile, aU as ProductAvailabilityNow, aW as Deal, aX as ProductDealInfo, aY as DiscountValidation, a_ as TagsResponse, F as CustomAttributeDefinition, G as CustomAttributeValue, K as PropertyFacet, T as TaxonomyAttributeTemplate, N as KnowledgeArticle, bC as UICart, bn as Cart, bo as CartItem, bG as CartSummary, bE as AddToCartInput, bF as UpdateCartItemInput, ba as DiscountDetails, M as Money, a as CurrencyCode, bm as LineConfiguration, bL as AuthorizationType, bN as PaymentMethod, bP as InitializePaymentResult, bT as SubmitAuthorizationInput, bR as PaymentStatusResponse, S as SchedulingMode, t as DurationUnit, b$ as Subscription, c2 as SubscriptionWithDetails } from './payment-DnU_eLuT.js';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -292,7 +292,7 @@ type OrderStatus = "pending" | "created" | "confirmed" | "in_preparation" | "rea
292
292
  type PaymentState = "not_paid" | "paid" | "partially_refunded" | "refunded";
293
293
  type OrderChannel = "qr" | "taker" | "staff" | "web" | "dashboard" | "tap" | "chat";
294
294
  type LineType = "product" | "service" | "bundle" | "composite" | "digital";
295
- type OrderLineState = "pending" | "in_preparation" | "ready" | "served" | "completed" | {
295
+ type OrderLineState = "pending" | "in_preparation" | "checked_out" | "ready" | "served" | "completed" | {
296
296
  partially_served: {
297
297
  served_quantity: number;
298
298
  };
@@ -309,7 +309,7 @@ interface OrderLineStatus {
309
309
  last_modified: string;
310
310
  modified_by: string;
311
311
  }
312
- type FulfillmentType = "appointment" | "shipment" | "order" | "digital";
312
+ type FulfillmentType = "booking" | "shipment" | "order" | "digital";
313
313
  type FulfillmentStatus = "pending" | "in_progress" | "completed" | "cancelled";
314
314
  interface FulfillmentLink {
315
315
  fulfillment_type: FulfillmentType;
@@ -527,7 +527,7 @@ interface RefundOrderInput {
527
527
  amount?: Money;
528
528
  reason?: string;
529
529
  }
530
- type ServiceStatus = "awaiting_scheduling" | "scheduled" | "deposit_paid" | "confirmed" | "in_progress" | "completed" | "rescheduled" | "no_show" | "cancelled";
530
+ type ServiceStatus = "awaiting_scheduling" | "scheduled" | "deposit_paid" | "confirmed" | "in_progress" | "checked_in" | "checked_out" | "overstay" | "completed" | "rescheduled" | "no_show" | "cancelled";
531
531
  type StaffRole = "primary" | "assistant" | "specialist" | "supervisor";
532
532
  type ReminderMethod = "sms" | "email" | "push" | "call" | "whatsapp";
533
533
  interface CustomerServicePreferences {
@@ -557,13 +557,15 @@ interface ReminderSettings {
557
557
  custom_reminder_message?: string;
558
558
  }
559
559
  interface CancellationPolicy {
560
- free_cancellation_hours: number;
561
- partial_refund_hours: number;
562
- no_refund_hours: number;
563
- cancellation_fee?: Money;
564
- reschedule_allowed: boolean;
565
- reschedule_fee?: Money;
566
- max_reschedules?: number;
560
+ cancellation_window_minutes: number;
561
+ no_show_deadline_minutes?: number;
562
+ cancellation_notice_days?: number;
563
+ no_show_fee: Money;
564
+ partial_refund_percentage: number;
565
+ max_free_reschedules: number;
566
+ reschedule_fee: Money;
567
+ early_termination_fee?: Money;
568
+ pro_rata_refund: boolean;
567
569
  }
568
570
  interface ServiceNotes {
569
571
  preparation_notes?: string;
@@ -633,7 +635,7 @@ interface StaffScheduleItem {
633
635
  service_status: ServiceStatus;
634
636
  notes?: string;
635
637
  }
636
- interface LocationAppointment {
638
+ interface LocationBooking {
637
639
  line_item_id: string;
638
640
  order_id: string;
639
641
  customer_name: string;
@@ -1433,6 +1435,8 @@ interface Service {
1433
1435
  name: string;
1434
1436
  description?: string;
1435
1437
  price?: Money;
1438
+ scheduling_mode?: SchedulingMode;
1439
+ duration_value?: number;
1436
1440
  duration_minutes: number;
1437
1441
  duration_unit?: DurationUnit;
1438
1442
  image_url?: string | null;
@@ -1488,7 +1492,7 @@ interface DayAvailability {
1488
1492
  slots: TimeSlot[];
1489
1493
  has_availability: boolean;
1490
1494
  }
1491
- type BookingStatus = "pending" | "confirmed" | "in_progress" | "completed" | "cancelled" | "no_show" | string;
1495
+ type BookingStatus = "booked" | "assigned" | "pending" | "confirmed" | "in_progress" | "checked_in" | "checked_out" | "overstay" | "completed" | "cancelled" | "no_show" | string;
1492
1496
  interface Booking {
1493
1497
  id: string;
1494
1498
  service_name: string;
@@ -1570,9 +1574,10 @@ interface CancelBookingInput {
1570
1574
  interface CancelBookingResult {
1571
1575
  message: string;
1572
1576
  }
1577
+ type BookingModificationType = "reschedule" | "extend" | "shorten" | "early_checkout";
1573
1578
  interface RescheduleBookingResult {
1574
1579
  success: boolean;
1575
- appointment_id: string;
1580
+ booking_id: string;
1576
1581
  old_time: {
1577
1582
  start: string;
1578
1583
  end: string;
@@ -1596,11 +1601,33 @@ interface ServiceAvailabilityParams {
1596
1601
  interface ServiceAvailabilityResult {
1597
1602
  service_id: string;
1598
1603
  location_id: string;
1604
+ scheduling_mode: SchedulingMode;
1605
+ duration_unit: string;
1606
+ duration_value: number;
1599
1607
  start_date: string;
1600
1608
  end_date: string;
1601
1609
  participant_count: number;
1602
1610
  availability: DayAvailability[];
1603
1611
  }
1612
+ interface RescheduleHistoryRecord {
1613
+ id: string;
1614
+ booking_id: string;
1615
+ order_id: string;
1616
+ order_item_id?: string | null;
1617
+ old_start_time: string;
1618
+ old_end_time: string;
1619
+ new_start_time: string;
1620
+ new_end_time: string;
1621
+ old_staff_id?: string | null;
1622
+ new_staff_id?: string | null;
1623
+ reason?: string | null;
1624
+ rescheduled_by: string;
1625
+ rescheduled_at: string;
1626
+ modification_type: BookingModificationType;
1627
+ reschedule_type: "customer" | "business" | "system";
1628
+ fee_applied: string | number;
1629
+ metadata?: Record<string, unknown> | null;
1630
+ }
1604
1631
 
1605
1632
  declare class SchedulingService {
1606
1633
  private client;
@@ -1789,6 +1816,52 @@ declare class SubscriptionService {
1789
1816
  }, CimplifyError>>;
1790
1817
  }
1791
1818
 
1819
+ interface UploadInitResponse {
1820
+ upload_id: string;
1821
+ upload_url: string;
1822
+ expires_in_secs: number;
1823
+ }
1824
+ interface UploadResult {
1825
+ id: string;
1826
+ url: string;
1827
+ filename: string;
1828
+ content_type: string;
1829
+ size_bytes: number;
1830
+ }
1831
+ declare class UploadService {
1832
+ private client;
1833
+ constructor(client: CimplifyClient);
1834
+ init(filename: string, contentType: string, sizeBytes: number): Promise<Result<UploadInitResponse, CimplifyError>>;
1835
+ confirm(uploadId: string): Promise<Result<UploadResult, CimplifyError>>;
1836
+ upload(file: File): Promise<Result<UploadResult, CimplifyError>>;
1837
+ }
1838
+
1839
+ interface AutocompletePrediction {
1840
+ description: string;
1841
+ place_id: string;
1842
+ }
1843
+ interface AutocompleteResponse {
1844
+ predictions: AutocompletePrediction[];
1845
+ }
1846
+ interface PlaceDetailsResponse {
1847
+ formatted_address: string;
1848
+ street_address?: string;
1849
+ apartment?: string;
1850
+ city?: string;
1851
+ region?: string;
1852
+ postal_code?: string;
1853
+ country?: string;
1854
+ latitude: number;
1855
+ longitude: number;
1856
+ place_id: string;
1857
+ }
1858
+ declare class PlacesService {
1859
+ private client;
1860
+ constructor(client: CimplifyClient);
1861
+ autocomplete(input: string, sessionToken?: string): Promise<Result<AutocompleteResponse, CimplifyError>>;
1862
+ details(placeId: string, sessionToken?: string): Promise<Result<PlaceDetailsResponse, CimplifyError>>;
1863
+ }
1864
+
1792
1865
  interface DeliveryFeeResponse {
1793
1866
  serviceable: boolean;
1794
1867
  fee: Money | null;
@@ -1801,6 +1874,53 @@ declare class DeliveryService {
1801
1874
  getFee(dropoffLat: number, dropoffLng: number, country?: string): Promise<Result<DeliveryFeeResponse, CimplifyError>>;
1802
1875
  }
1803
1876
 
1877
+ type SenderType = "customer" | "agent" | "system" | "bot";
1878
+ type ContentType = "text" | "image" | "video" | "audio" | "document" | "interactive";
1879
+ interface ChatMessage {
1880
+ id: string;
1881
+ sender_type: SenderType;
1882
+ content: string;
1883
+ content_type: ContentType;
1884
+ attachments: ChatAttachment[];
1885
+ metadata: Record<string, unknown>;
1886
+ created_at: string;
1887
+ }
1888
+ interface ChatAttachment {
1889
+ url: string;
1890
+ mime_type: string | null;
1891
+ filename: string | null;
1892
+ }
1893
+ interface ChatConversation {
1894
+ id: string;
1895
+ status: "open" | "assigned" | "waiting" | "resolved" | "closed";
1896
+ ai_enabled: boolean;
1897
+ message_count: number;
1898
+ created_at: string;
1899
+ last_message_at: string | null;
1900
+ }
1901
+ interface ChatConversationResponse {
1902
+ conversation: ChatConversation;
1903
+ messages: ChatMessage[];
1904
+ }
1905
+ interface ChatWidgetStarter {
1906
+ icon?: string;
1907
+ text: string;
1908
+ }
1909
+
1910
+ declare class SupportService {
1911
+ private client;
1912
+ constructor(client: CimplifyClient);
1913
+ /** Open (or resume) the customer's widget conversation. */
1914
+ openConversation(): Promise<Result<ChatConversationResponse, CimplifyError>>;
1915
+ /** Send a message in the active conversation. */
1916
+ sendMessage(content: string): Promise<Result<ChatMessage, CimplifyError>>;
1917
+ /** Poll for new messages since the given cursor. */
1918
+ getMessages(options?: {
1919
+ after?: string;
1920
+ limit?: number;
1921
+ }): Promise<Result<ChatMessage[], CimplifyError>>;
1922
+ }
1923
+
1804
1924
  type OrderType = "delivery" | "pickup" | "dine_in";
1805
1925
  declare const ELEMENT_TYPES: {
1806
1926
  readonly AUTH: "auth";
@@ -2162,6 +2282,8 @@ declare class CimplifyClient {
2162
2282
  private _checkout?;
2163
2283
  private _orders?;
2164
2284
  private _subscriptions?;
2285
+ private _uploads?;
2286
+ private _places?;
2165
2287
  private _link?;
2166
2288
  private _auth?;
2167
2289
  private _business?;
@@ -2171,6 +2293,7 @@ declare class CimplifyClient {
2171
2293
  private _fx?;
2172
2294
  private _activity?;
2173
2295
  private _delivery?;
2296
+ private _support?;
2174
2297
  constructor(config?: CimplifyConfig);
2175
2298
  getAccessToken(): string | null;
2176
2299
  getPublicKey(): string;
@@ -2207,6 +2330,8 @@ declare class CimplifyClient {
2207
2330
  get checkout(): CheckoutService;
2208
2331
  get orders(): OrderQueries;
2209
2332
  get subscriptions(): SubscriptionService;
2333
+ get uploads(): UploadService;
2334
+ get places(): PlacesService;
2210
2335
  get link(): LinkService;
2211
2336
  get auth(): AuthService;
2212
2337
  get business(): BusinessService;
@@ -2216,8 +2341,9 @@ declare class CimplifyClient {
2216
2341
  get fx(): FxService;
2217
2342
  get activity(): ActivityService;
2218
2343
  get delivery(): DeliveryService;
2344
+ get support(): SupportService;
2219
2345
  elements(businessId?: string, options?: ElementsOptions): CimplifyElements;
2220
2346
  }
2221
2347
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2222
2348
 
2223
- export { type ElementType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, DeliveryService as E, type FetchQuoteInput as F, type GetProductsOptions as G, type DeliveryFeeResponse as H, InventoryService as I, type LiteBootstrap as J, type TableInfo as K, LinkService as L, CimplifyElements as M, CimplifyElement as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SubscriptionService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, createElements as V, MESSAGE_TYPES as W, EVENT_TYPES as X, ELEMENT_TYPES as Y, type ElementsOptions as Z, type ElementOptions as _, type CimplifyConfig as a, type OrderFulfillmentSummary as a$, type ElementEventType as a0, type CheckoutMode as a1, type CheckoutOrderType as a2, type CheckoutPaymentMethod as a3, type CheckoutStep as a4, type CheckoutFormData as a5, type CheckoutResult as a6, type NextAction as a7, type ProcessCheckoutOptions as a8, type ProcessCheckoutResult as a9, type Ok as aA, type Err as aB, ok as aC, err as aD, isOk as aE, isErr as aF, mapResult as aG, mapError as aH, flatMap as aI, getOrElse as aJ, unwrap as aK, toNullable as aL, fromPromise as aM, tryCatch as aN, combine as aO, combineObject as aP, type CatalogueResult as aQ, type CatalogueSnapshot as aR, type OrderStatus as aS, type PaymentState as aT, type OrderChannel as aU, type LineType as aV, type OrderLineState as aW, type OrderLineStatus as aX, type FulfillmentType as aY, type FulfillmentStatus as aZ, type FulfillmentLink as a_, type ProcessAndResolveOptions as aa, type CheckoutStatus as ab, type CheckoutStatusContext as ac, type AbortablePromise as ad, type MobileMoneyProvider as ae, type DeviceType as af, type ContactType as ag, CHECKOUT_MODE as ah, ORDER_TYPE as ai, PAYMENT_METHOD as aj, CHECKOUT_STEP as ak, PAYMENT_STATE as al, PICKUP_TIME_TYPE as am, MOBILE_MONEY_PROVIDER as an, AUTHORIZATION_TYPE as ao, DEVICE_TYPE as ap, CONTACT_TYPE as aq, LINK_QUERY as ar, LINK_MUTATION as as, AUTH_MUTATION as at, CHECKOUT_MUTATION as au, PAYMENT_MUTATION as av, ORDER_MUTATION as aw, DEFAULT_CURRENCY as ax, DEFAULT_COUNTRY as ay, type Result as az, CatalogueQueries as b, type SlotResourceInfo as b$, type FeeBearerType as b0, type AmountToPay as b1, type LineItem as b2, type Order as b3, type OrderHistory as b4, type OrderGroupStatus as b5, type OrderGroupPaymentState as b6, type OrderGroupPaymentStatus as b7, type OrderGroup as b8, type OrderGroupPayment as b9, type ProviderResolutionSource as bA, type DeliveryFeeDetails as bB, type RelationType as bC, type RelatedProduct as bD, type RelatedCandidate as bE, type RelatedProductsEnrichment as bF, type BusinessType as bG, type BusinessPreferences as bH, type Business as bI, type LocationTaxBehavior as bJ, type LocationTaxOverrides as bK, type Location as bL, type TimeRange as bM, type TimeRanges as bN, type LocationTimeProfile as bO, type Table as bP, type Room as bQ, type ServiceCharge as bR, type StorefrontBootstrap as bS, type BusinessWithLocations as bT, type LocationWithDetails as bU, type BusinessSettings as bV, type BusinessHours as bW, type CategoryInfo as bX, type Service as bY, type Staff as bZ, type TimeSlot as b_, type OrderSplitDetail as ba, type OrderGroupPaymentSummary as bb, type OrderGroupDetails as bc, type OrderPaymentEvent as bd, type OrderFilter as be, type CheckoutInput as bf, type UpdateOrderStatusInput as bg, type CancelOrderInput as bh, type RefundOrderInput as bi, type ServiceStatus as bj, type StaffRole as bk, type ReminderMethod as bl, type CustomerServicePreferences as bm, type BufferTimes as bn, type ReminderSettings as bo, type CancellationPolicy as bp, type ServiceNotes as bq, type PricingOverrides as br, type SchedulingMetadata as bs, type StaffAssignment as bt, type ResourceAssignment as bu, type SchedulingResult as bv, type DepositResult as bw, type ServiceScheduleRequest as bx, type StaffScheduleItem as by, type LocationAppointment as bz, createCimplifyClient as c, type AuthenticatedCustomer as c$, type SlotStaffInfo as c0, type AvailableSlot as c1, type DayAvailability as c2, type BookingStatus as c3, type Booking as c4, type BookingWithDetails as c5, type CustomerBookingServiceItem as c6, type CustomerBooking as c7, type GetAvailableSlotsInput as c8, type CheckSlotAvailabilityInput as c9, type LinkEnrollResult as cA, type EnrollAndLinkOrderResult as cB, type LinkSession as cC, type RevokeSessionResult as cD, type RevokeAllSessionsResult as cE, type RequestOtpInput as cF, type VerifyOtpInput as cG, type AuthResponse as cH, type PickupTimeType as cI, type PickupTime as cJ, type CheckoutAddressInfo as cK, type MobileMoneyDetails as cL, type CheckoutCustomerInfo as cM, type FxQuoteRequest as cN, type FxQuote as cO, type FxRateResponse as cP, type RequestContext as cQ, type RequestStartEvent as cR, type RequestSuccessEvent as cS, type RequestErrorEvent as cT, type RetryEvent as cU, type SessionChangeEvent as cV, type ObservabilityHooks as cW, type OrderType as cX, type ElementAppearance as cY, type AddressInfo as cZ, type PaymentMethodInfo as c_, type CheckSlotAvailabilityResult as ca, type RescheduleBookingInput as cb, type CancelBookingInput as cc, type CancelBookingResult as cd, type RescheduleBookingResult as ce, type ServiceAvailabilityParams as cf, type ServiceAvailabilityResult as cg, type StockStatus as ch, type StockLevel as ci, type ProductStock as cj, type VariantStock as ck, type LocationStock as cl, type AvailabilityResult as cm, type Customer as cn, type CustomerAddress as co, type CustomerMobileMoney as cp, type CustomerLinkPreferences as cq, type LinkData as cr, type CreateAddressInput as cs, type UpdateAddressInput as ct, type CreateMobileMoneyInput as cu, type EnrollmentData as cv, type AddressData as cw, type MobileMoneyData as cx, type EnrollAndLinkOrderInput as cy, type LinkStatusResult as cz, type QuoteBundleSelectionInput as d, type ElementsCustomerInfo as d0, type AuthenticatedData as d1, type ElementsCheckoutData as d2, type ElementsCheckoutResult as d3, type CheckoutCartItem as d4, type CheckoutCartData as d5, type ParentToIframeMessage as d6, type IframeToParentMessage as d7, type ElementEventHandler as d8, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, SchedulingService as q, LiteService as r, FxService as s, ActivityService as t, type TrackCategoryViewOptions as u, type SessionMessage as v, type SessionActivityData as w, type ActivityStateResponse as x, type ActivityRecommendation as y, type ActivityRecommendationsResponse as z };
2349
+ export { type ChatConversationResponse as $, AuthService as A, BusinessService as B, CimplifyClient as C, type PlaceDetailsResponse as D, type TrackCategoryViewOptions as E, type FetchQuoteInput as F, type GetProductsOptions as G, type SessionMessage as H, InventoryService as I, type SessionActivityData as J, type ActivityStateResponse as K, LinkService as L, type ActivityRecommendation as M, type ActivityRecommendationsResponse as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SubscriptionService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, type DismissMessageResponse as V, DeliveryService as W, type DeliveryFeeResponse as X, SupportService as Y, type ChatMessage as Z, type ChatConversation as _, type CimplifyConfig as a, fromPromise as a$, type ChatAttachment as a0, type ChatWidgetStarter as a1, type SenderType as a2, type ContentType as a3, type LiteBootstrap as a4, type TableInfo as a5, CimplifyElements as a6, CimplifyElement as a7, createElements as a8, MESSAGE_TYPES as a9, PAYMENT_STATE as aA, PICKUP_TIME_TYPE as aB, MOBILE_MONEY_PROVIDER as aC, AUTHORIZATION_TYPE as aD, DEVICE_TYPE as aE, CONTACT_TYPE as aF, LINK_QUERY as aG, LINK_MUTATION as aH, AUTH_MUTATION as aI, CHECKOUT_MUTATION as aJ, PAYMENT_MUTATION as aK, ORDER_MUTATION as aL, DEFAULT_CURRENCY as aM, DEFAULT_COUNTRY as aN, type Result as aO, type Ok as aP, type Err as aQ, ok as aR, err as aS, isOk as aT, isErr as aU, mapResult as aV, mapError as aW, flatMap as aX, getOrElse as aY, unwrap as aZ, toNullable as a_, EVENT_TYPES as aa, ELEMENT_TYPES as ab, type ElementsOptions as ac, type ElementOptions as ad, type ElementType as ae, type ElementEventType as af, type CheckoutMode as ag, type CheckoutOrderType as ah, type CheckoutPaymentMethod as ai, type CheckoutStep as aj, type CheckoutFormData as ak, type CheckoutResult as al, type NextAction as am, type ProcessCheckoutOptions as an, type ProcessCheckoutResult as ao, type ProcessAndResolveOptions as ap, type CheckoutStatus as aq, type CheckoutStatusContext as ar, type AbortablePromise as as, type MobileMoneyProvider as at, type DeviceType as au, type ContactType as av, CHECKOUT_MODE as aw, ORDER_TYPE as ax, PAYMENT_METHOD as ay, CHECKOUT_STEP as az, CatalogueQueries as b, type TimeRange as b$, tryCatch as b0, combine as b1, combineObject as b2, type CatalogueResult as b3, type CatalogueSnapshot as b4, type OrderStatus as b5, type PaymentState as b6, type OrderChannel as b7, type LineType as b8, type OrderLineState as b9, type ReminderMethod as bA, type CustomerServicePreferences as bB, type BufferTimes as bC, type ReminderSettings as bD, type CancellationPolicy as bE, type ServiceNotes as bF, type PricingOverrides as bG, type SchedulingMetadata as bH, type StaffAssignment as bI, type ResourceAssignment as bJ, type SchedulingResult as bK, type DepositResult as bL, type ServiceScheduleRequest as bM, type StaffScheduleItem as bN, type LocationBooking as bO, type ProviderResolutionSource as bP, type DeliveryFeeDetails as bQ, type RelationType as bR, type RelatedProduct as bS, type RelatedCandidate as bT, type RelatedProductsEnrichment as bU, type BusinessType as bV, type BusinessPreferences as bW, type Business as bX, type LocationTaxBehavior as bY, type LocationTaxOverrides as bZ, type Location as b_, type OrderLineStatus as ba, type FulfillmentType as bb, type FulfillmentStatus as bc, type FulfillmentLink as bd, type OrderFulfillmentSummary as be, type FeeBearerType as bf, type AmountToPay as bg, type LineItem as bh, type Order as bi, type OrderHistory as bj, type OrderGroupStatus as bk, type OrderGroupPaymentState as bl, type OrderGroupPaymentStatus as bm, type OrderGroup as bn, type OrderGroupPayment as bo, type OrderSplitDetail as bp, type OrderGroupPaymentSummary as bq, type OrderGroupDetails as br, type OrderPaymentEvent as bs, type OrderFilter as bt, type CheckoutInput as bu, type UpdateOrderStatusInput as bv, type CancelOrderInput as bw, type RefundOrderInput as bx, type ServiceStatus as by, type StaffRole as bz, createCimplifyClient as c, type CheckoutAddressInfo as c$, type TimeRanges as c0, type LocationTimeProfile as c1, type Table as c2, type Room as c3, type ServiceCharge as c4, type StorefrontBootstrap as c5, type BusinessWithLocations as c6, type LocationWithDetails as c7, type BusinessSettings as c8, type BusinessHours as c9, type ProductStock as cA, type VariantStock as cB, type LocationStock as cC, type AvailabilityResult as cD, type Customer as cE, type CustomerAddress as cF, type CustomerMobileMoney as cG, type CustomerLinkPreferences as cH, type LinkData as cI, type CreateAddressInput as cJ, type UpdateAddressInput as cK, type CreateMobileMoneyInput as cL, type EnrollmentData as cM, type AddressData as cN, type MobileMoneyData as cO, type EnrollAndLinkOrderInput as cP, type LinkStatusResult as cQ, type LinkEnrollResult as cR, type EnrollAndLinkOrderResult as cS, type LinkSession as cT, type RevokeSessionResult as cU, type RevokeAllSessionsResult as cV, type RequestOtpInput as cW, type VerifyOtpInput as cX, type AuthResponse as cY, type PickupTimeType as cZ, type PickupTime as c_, type CategoryInfo as ca, type Service as cb, type Staff as cc, type TimeSlot as cd, type SlotResourceInfo as ce, type SlotStaffInfo as cf, type AvailableSlot as cg, type DayAvailability as ch, type BookingStatus as ci, type Booking as cj, type BookingWithDetails as ck, type CustomerBookingServiceItem as cl, type CustomerBooking as cm, type GetAvailableSlotsInput as cn, type CheckSlotAvailabilityInput as co, type CheckSlotAvailabilityResult as cp, type RescheduleBookingInput as cq, type CancelBookingInput as cr, type CancelBookingResult as cs, type BookingModificationType as ct, type RescheduleBookingResult as cu, type ServiceAvailabilityParams as cv, type ServiceAvailabilityResult as cw, type RescheduleHistoryRecord as cx, type StockStatus as cy, type StockLevel as cz, type QuoteBundleSelectionInput as d, type MobileMoneyDetails as d0, type CheckoutCustomerInfo as d1, type FxQuoteRequest as d2, type FxQuote as d3, type FxRateResponse as d4, type RequestContext as d5, type RequestStartEvent as d6, type RequestSuccessEvent as d7, type RequestErrorEvent as d8, type RetryEvent as d9, type SessionChangeEvent as da, type ObservabilityHooks as db, type OrderType as dc, type ElementAppearance as dd, type AddressInfo as de, type PaymentMethodInfo as df, type AuthenticatedCustomer as dg, type ElementsCustomerInfo as dh, type AuthenticatedData as di, type ElementsCheckoutData as dj, type ElementsCheckoutResult as dk, type CheckoutCartItem as dl, type CheckoutCartData as dm, type ParentToIframeMessage as dn, type IframeToParentMessage as dp, type ElementEventHandler as dq, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, SchedulingService as q, LiteService as r, FxService as s, ActivityService as t, UploadService as u, type UploadResult as v, type UploadInitResponse as w, PlacesService as x, type AutocompletePrediction as y, type AutocompleteResponse as z };
@@ -1,4 +1,4 @@
1
- import { a9 as Category, N as Product, a5 as AddOnWithOptions, d as Pagination, h as CimplifyError, U as ProductWithDetails, X as ProductVariant, _ as VariantAxis, a3 as VariantAxisSelection, a4 as AddOn, ab as Collection, ag as BundleSummary, af as Bundle, as as Composite, az as ComponentSelectionInput, aA as CompositePriceResult, C as ChosenPrice, aH as ProductTaxonomy, aI as TaxonomyWithChildren, bN as EligiblePlansQuery, bM as ProductBillingPlan, aG as ProductTimeProfile, aJ as ProductAvailabilityNow, aL as Deal, aM as ProductDealInfo, aN as DiscountValidation, aP as TagsResponse, B as CustomAttributeDefinition, F as CustomAttributeValue, J as PropertyFacet, T as TaxonomyAttributeTemplate, L as KnowledgeArticle, br as UICart, bc as Cart, bd as CartItem, bv as CartSummary, bt as AddToCartInput, bu as UpdateCartItemInput, a$ as DiscountDetails, M as Money, a as CurrencyCode, bb as LineConfiguration, bA as AuthorizationType, bC as PaymentMethod, bE as InitializePaymentResult, bI as SubmitAuthorizationInput, bG as PaymentStatusResponse, t as DurationUnit, bQ as Subscription, bT as SubscriptionWithDetails } from './payment-k8feV7r8.mjs';
1
+ import { ak as Category, O as Product, ag as AddOnWithOptions, d as Pagination, h as CimplifyError, a5 as ProductWithDetails, a7 as ProductVariant, a9 as VariantAxis, ae as VariantAxisSelection, af as AddOn, am as Collection, ar as BundleSummary, aq as Bundle, aD as Composite, aK as ComponentSelectionInput, aL as CompositePriceResult, C as ChosenPrice, aS as ProductTaxonomy, aT as TaxonomyWithChildren, bY as EligiblePlansQuery, bX as ProductBillingPlan, aR as ProductTimeProfile, aU as ProductAvailabilityNow, aW as Deal, aX as ProductDealInfo, aY as DiscountValidation, a_ as TagsResponse, F as CustomAttributeDefinition, G as CustomAttributeValue, K as PropertyFacet, T as TaxonomyAttributeTemplate, N as KnowledgeArticle, bC as UICart, bn as Cart, bo as CartItem, bG as CartSummary, bE as AddToCartInput, bF as UpdateCartItemInput, ba as DiscountDetails, M as Money, a as CurrencyCode, bm as LineConfiguration, bL as AuthorizationType, bN as PaymentMethod, bP as InitializePaymentResult, bT as SubmitAuthorizationInput, bR as PaymentStatusResponse, S as SchedulingMode, t as DurationUnit, b$ as Subscription, c2 as SubscriptionWithDetails } from './payment-DnU_eLuT.mjs';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -292,7 +292,7 @@ type OrderStatus = "pending" | "created" | "confirmed" | "in_preparation" | "rea
292
292
  type PaymentState = "not_paid" | "paid" | "partially_refunded" | "refunded";
293
293
  type OrderChannel = "qr" | "taker" | "staff" | "web" | "dashboard" | "tap" | "chat";
294
294
  type LineType = "product" | "service" | "bundle" | "composite" | "digital";
295
- type OrderLineState = "pending" | "in_preparation" | "ready" | "served" | "completed" | {
295
+ type OrderLineState = "pending" | "in_preparation" | "checked_out" | "ready" | "served" | "completed" | {
296
296
  partially_served: {
297
297
  served_quantity: number;
298
298
  };
@@ -309,7 +309,7 @@ interface OrderLineStatus {
309
309
  last_modified: string;
310
310
  modified_by: string;
311
311
  }
312
- type FulfillmentType = "appointment" | "shipment" | "order" | "digital";
312
+ type FulfillmentType = "booking" | "shipment" | "order" | "digital";
313
313
  type FulfillmentStatus = "pending" | "in_progress" | "completed" | "cancelled";
314
314
  interface FulfillmentLink {
315
315
  fulfillment_type: FulfillmentType;
@@ -527,7 +527,7 @@ interface RefundOrderInput {
527
527
  amount?: Money;
528
528
  reason?: string;
529
529
  }
530
- type ServiceStatus = "awaiting_scheduling" | "scheduled" | "deposit_paid" | "confirmed" | "in_progress" | "completed" | "rescheduled" | "no_show" | "cancelled";
530
+ type ServiceStatus = "awaiting_scheduling" | "scheduled" | "deposit_paid" | "confirmed" | "in_progress" | "checked_in" | "checked_out" | "overstay" | "completed" | "rescheduled" | "no_show" | "cancelled";
531
531
  type StaffRole = "primary" | "assistant" | "specialist" | "supervisor";
532
532
  type ReminderMethod = "sms" | "email" | "push" | "call" | "whatsapp";
533
533
  interface CustomerServicePreferences {
@@ -557,13 +557,15 @@ interface ReminderSettings {
557
557
  custom_reminder_message?: string;
558
558
  }
559
559
  interface CancellationPolicy {
560
- free_cancellation_hours: number;
561
- partial_refund_hours: number;
562
- no_refund_hours: number;
563
- cancellation_fee?: Money;
564
- reschedule_allowed: boolean;
565
- reschedule_fee?: Money;
566
- max_reschedules?: number;
560
+ cancellation_window_minutes: number;
561
+ no_show_deadline_minutes?: number;
562
+ cancellation_notice_days?: number;
563
+ no_show_fee: Money;
564
+ partial_refund_percentage: number;
565
+ max_free_reschedules: number;
566
+ reschedule_fee: Money;
567
+ early_termination_fee?: Money;
568
+ pro_rata_refund: boolean;
567
569
  }
568
570
  interface ServiceNotes {
569
571
  preparation_notes?: string;
@@ -633,7 +635,7 @@ interface StaffScheduleItem {
633
635
  service_status: ServiceStatus;
634
636
  notes?: string;
635
637
  }
636
- interface LocationAppointment {
638
+ interface LocationBooking {
637
639
  line_item_id: string;
638
640
  order_id: string;
639
641
  customer_name: string;
@@ -1433,6 +1435,8 @@ interface Service {
1433
1435
  name: string;
1434
1436
  description?: string;
1435
1437
  price?: Money;
1438
+ scheduling_mode?: SchedulingMode;
1439
+ duration_value?: number;
1436
1440
  duration_minutes: number;
1437
1441
  duration_unit?: DurationUnit;
1438
1442
  image_url?: string | null;
@@ -1488,7 +1492,7 @@ interface DayAvailability {
1488
1492
  slots: TimeSlot[];
1489
1493
  has_availability: boolean;
1490
1494
  }
1491
- type BookingStatus = "pending" | "confirmed" | "in_progress" | "completed" | "cancelled" | "no_show" | string;
1495
+ type BookingStatus = "booked" | "assigned" | "pending" | "confirmed" | "in_progress" | "checked_in" | "checked_out" | "overstay" | "completed" | "cancelled" | "no_show" | string;
1492
1496
  interface Booking {
1493
1497
  id: string;
1494
1498
  service_name: string;
@@ -1570,9 +1574,10 @@ interface CancelBookingInput {
1570
1574
  interface CancelBookingResult {
1571
1575
  message: string;
1572
1576
  }
1577
+ type BookingModificationType = "reschedule" | "extend" | "shorten" | "early_checkout";
1573
1578
  interface RescheduleBookingResult {
1574
1579
  success: boolean;
1575
- appointment_id: string;
1580
+ booking_id: string;
1576
1581
  old_time: {
1577
1582
  start: string;
1578
1583
  end: string;
@@ -1596,11 +1601,33 @@ interface ServiceAvailabilityParams {
1596
1601
  interface ServiceAvailabilityResult {
1597
1602
  service_id: string;
1598
1603
  location_id: string;
1604
+ scheduling_mode: SchedulingMode;
1605
+ duration_unit: string;
1606
+ duration_value: number;
1599
1607
  start_date: string;
1600
1608
  end_date: string;
1601
1609
  participant_count: number;
1602
1610
  availability: DayAvailability[];
1603
1611
  }
1612
+ interface RescheduleHistoryRecord {
1613
+ id: string;
1614
+ booking_id: string;
1615
+ order_id: string;
1616
+ order_item_id?: string | null;
1617
+ old_start_time: string;
1618
+ old_end_time: string;
1619
+ new_start_time: string;
1620
+ new_end_time: string;
1621
+ old_staff_id?: string | null;
1622
+ new_staff_id?: string | null;
1623
+ reason?: string | null;
1624
+ rescheduled_by: string;
1625
+ rescheduled_at: string;
1626
+ modification_type: BookingModificationType;
1627
+ reschedule_type: "customer" | "business" | "system";
1628
+ fee_applied: string | number;
1629
+ metadata?: Record<string, unknown> | null;
1630
+ }
1604
1631
 
1605
1632
  declare class SchedulingService {
1606
1633
  private client;
@@ -1789,6 +1816,52 @@ declare class SubscriptionService {
1789
1816
  }, CimplifyError>>;
1790
1817
  }
1791
1818
 
1819
+ interface UploadInitResponse {
1820
+ upload_id: string;
1821
+ upload_url: string;
1822
+ expires_in_secs: number;
1823
+ }
1824
+ interface UploadResult {
1825
+ id: string;
1826
+ url: string;
1827
+ filename: string;
1828
+ content_type: string;
1829
+ size_bytes: number;
1830
+ }
1831
+ declare class UploadService {
1832
+ private client;
1833
+ constructor(client: CimplifyClient);
1834
+ init(filename: string, contentType: string, sizeBytes: number): Promise<Result<UploadInitResponse, CimplifyError>>;
1835
+ confirm(uploadId: string): Promise<Result<UploadResult, CimplifyError>>;
1836
+ upload(file: File): Promise<Result<UploadResult, CimplifyError>>;
1837
+ }
1838
+
1839
+ interface AutocompletePrediction {
1840
+ description: string;
1841
+ place_id: string;
1842
+ }
1843
+ interface AutocompleteResponse {
1844
+ predictions: AutocompletePrediction[];
1845
+ }
1846
+ interface PlaceDetailsResponse {
1847
+ formatted_address: string;
1848
+ street_address?: string;
1849
+ apartment?: string;
1850
+ city?: string;
1851
+ region?: string;
1852
+ postal_code?: string;
1853
+ country?: string;
1854
+ latitude: number;
1855
+ longitude: number;
1856
+ place_id: string;
1857
+ }
1858
+ declare class PlacesService {
1859
+ private client;
1860
+ constructor(client: CimplifyClient);
1861
+ autocomplete(input: string, sessionToken?: string): Promise<Result<AutocompleteResponse, CimplifyError>>;
1862
+ details(placeId: string, sessionToken?: string): Promise<Result<PlaceDetailsResponse, CimplifyError>>;
1863
+ }
1864
+
1792
1865
  interface DeliveryFeeResponse {
1793
1866
  serviceable: boolean;
1794
1867
  fee: Money | null;
@@ -1801,6 +1874,53 @@ declare class DeliveryService {
1801
1874
  getFee(dropoffLat: number, dropoffLng: number, country?: string): Promise<Result<DeliveryFeeResponse, CimplifyError>>;
1802
1875
  }
1803
1876
 
1877
+ type SenderType = "customer" | "agent" | "system" | "bot";
1878
+ type ContentType = "text" | "image" | "video" | "audio" | "document" | "interactive";
1879
+ interface ChatMessage {
1880
+ id: string;
1881
+ sender_type: SenderType;
1882
+ content: string;
1883
+ content_type: ContentType;
1884
+ attachments: ChatAttachment[];
1885
+ metadata: Record<string, unknown>;
1886
+ created_at: string;
1887
+ }
1888
+ interface ChatAttachment {
1889
+ url: string;
1890
+ mime_type: string | null;
1891
+ filename: string | null;
1892
+ }
1893
+ interface ChatConversation {
1894
+ id: string;
1895
+ status: "open" | "assigned" | "waiting" | "resolved" | "closed";
1896
+ ai_enabled: boolean;
1897
+ message_count: number;
1898
+ created_at: string;
1899
+ last_message_at: string | null;
1900
+ }
1901
+ interface ChatConversationResponse {
1902
+ conversation: ChatConversation;
1903
+ messages: ChatMessage[];
1904
+ }
1905
+ interface ChatWidgetStarter {
1906
+ icon?: string;
1907
+ text: string;
1908
+ }
1909
+
1910
+ declare class SupportService {
1911
+ private client;
1912
+ constructor(client: CimplifyClient);
1913
+ /** Open (or resume) the customer's widget conversation. */
1914
+ openConversation(): Promise<Result<ChatConversationResponse, CimplifyError>>;
1915
+ /** Send a message in the active conversation. */
1916
+ sendMessage(content: string): Promise<Result<ChatMessage, CimplifyError>>;
1917
+ /** Poll for new messages since the given cursor. */
1918
+ getMessages(options?: {
1919
+ after?: string;
1920
+ limit?: number;
1921
+ }): Promise<Result<ChatMessage[], CimplifyError>>;
1922
+ }
1923
+
1804
1924
  type OrderType = "delivery" | "pickup" | "dine_in";
1805
1925
  declare const ELEMENT_TYPES: {
1806
1926
  readonly AUTH: "auth";
@@ -2162,6 +2282,8 @@ declare class CimplifyClient {
2162
2282
  private _checkout?;
2163
2283
  private _orders?;
2164
2284
  private _subscriptions?;
2285
+ private _uploads?;
2286
+ private _places?;
2165
2287
  private _link?;
2166
2288
  private _auth?;
2167
2289
  private _business?;
@@ -2171,6 +2293,7 @@ declare class CimplifyClient {
2171
2293
  private _fx?;
2172
2294
  private _activity?;
2173
2295
  private _delivery?;
2296
+ private _support?;
2174
2297
  constructor(config?: CimplifyConfig);
2175
2298
  getAccessToken(): string | null;
2176
2299
  getPublicKey(): string;
@@ -2207,6 +2330,8 @@ declare class CimplifyClient {
2207
2330
  get checkout(): CheckoutService;
2208
2331
  get orders(): OrderQueries;
2209
2332
  get subscriptions(): SubscriptionService;
2333
+ get uploads(): UploadService;
2334
+ get places(): PlacesService;
2210
2335
  get link(): LinkService;
2211
2336
  get auth(): AuthService;
2212
2337
  get business(): BusinessService;
@@ -2216,8 +2341,9 @@ declare class CimplifyClient {
2216
2341
  get fx(): FxService;
2217
2342
  get activity(): ActivityService;
2218
2343
  get delivery(): DeliveryService;
2344
+ get support(): SupportService;
2219
2345
  elements(businessId?: string, options?: ElementsOptions): CimplifyElements;
2220
2346
  }
2221
2347
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2222
2348
 
2223
- export { type ElementType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, DeliveryService as E, type FetchQuoteInput as F, type GetProductsOptions as G, type DeliveryFeeResponse as H, InventoryService as I, type LiteBootstrap as J, type TableInfo as K, LinkService as L, CimplifyElements as M, CimplifyElement as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SubscriptionService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, createElements as V, MESSAGE_TYPES as W, EVENT_TYPES as X, ELEMENT_TYPES as Y, type ElementsOptions as Z, type ElementOptions as _, type CimplifyConfig as a, type OrderFulfillmentSummary as a$, type ElementEventType as a0, type CheckoutMode as a1, type CheckoutOrderType as a2, type CheckoutPaymentMethod as a3, type CheckoutStep as a4, type CheckoutFormData as a5, type CheckoutResult as a6, type NextAction as a7, type ProcessCheckoutOptions as a8, type ProcessCheckoutResult as a9, type Ok as aA, type Err as aB, ok as aC, err as aD, isOk as aE, isErr as aF, mapResult as aG, mapError as aH, flatMap as aI, getOrElse as aJ, unwrap as aK, toNullable as aL, fromPromise as aM, tryCatch as aN, combine as aO, combineObject as aP, type CatalogueResult as aQ, type CatalogueSnapshot as aR, type OrderStatus as aS, type PaymentState as aT, type OrderChannel as aU, type LineType as aV, type OrderLineState as aW, type OrderLineStatus as aX, type FulfillmentType as aY, type FulfillmentStatus as aZ, type FulfillmentLink as a_, type ProcessAndResolveOptions as aa, type CheckoutStatus as ab, type CheckoutStatusContext as ac, type AbortablePromise as ad, type MobileMoneyProvider as ae, type DeviceType as af, type ContactType as ag, CHECKOUT_MODE as ah, ORDER_TYPE as ai, PAYMENT_METHOD as aj, CHECKOUT_STEP as ak, PAYMENT_STATE as al, PICKUP_TIME_TYPE as am, MOBILE_MONEY_PROVIDER as an, AUTHORIZATION_TYPE as ao, DEVICE_TYPE as ap, CONTACT_TYPE as aq, LINK_QUERY as ar, LINK_MUTATION as as, AUTH_MUTATION as at, CHECKOUT_MUTATION as au, PAYMENT_MUTATION as av, ORDER_MUTATION as aw, DEFAULT_CURRENCY as ax, DEFAULT_COUNTRY as ay, type Result as az, CatalogueQueries as b, type SlotResourceInfo as b$, type FeeBearerType as b0, type AmountToPay as b1, type LineItem as b2, type Order as b3, type OrderHistory as b4, type OrderGroupStatus as b5, type OrderGroupPaymentState as b6, type OrderGroupPaymentStatus as b7, type OrderGroup as b8, type OrderGroupPayment as b9, type ProviderResolutionSource as bA, type DeliveryFeeDetails as bB, type RelationType as bC, type RelatedProduct as bD, type RelatedCandidate as bE, type RelatedProductsEnrichment as bF, type BusinessType as bG, type BusinessPreferences as bH, type Business as bI, type LocationTaxBehavior as bJ, type LocationTaxOverrides as bK, type Location as bL, type TimeRange as bM, type TimeRanges as bN, type LocationTimeProfile as bO, type Table as bP, type Room as bQ, type ServiceCharge as bR, type StorefrontBootstrap as bS, type BusinessWithLocations as bT, type LocationWithDetails as bU, type BusinessSettings as bV, type BusinessHours as bW, type CategoryInfo as bX, type Service as bY, type Staff as bZ, type TimeSlot as b_, type OrderSplitDetail as ba, type OrderGroupPaymentSummary as bb, type OrderGroupDetails as bc, type OrderPaymentEvent as bd, type OrderFilter as be, type CheckoutInput as bf, type UpdateOrderStatusInput as bg, type CancelOrderInput as bh, type RefundOrderInput as bi, type ServiceStatus as bj, type StaffRole as bk, type ReminderMethod as bl, type CustomerServicePreferences as bm, type BufferTimes as bn, type ReminderSettings as bo, type CancellationPolicy as bp, type ServiceNotes as bq, type PricingOverrides as br, type SchedulingMetadata as bs, type StaffAssignment as bt, type ResourceAssignment as bu, type SchedulingResult as bv, type DepositResult as bw, type ServiceScheduleRequest as bx, type StaffScheduleItem as by, type LocationAppointment as bz, createCimplifyClient as c, type AuthenticatedCustomer as c$, type SlotStaffInfo as c0, type AvailableSlot as c1, type DayAvailability as c2, type BookingStatus as c3, type Booking as c4, type BookingWithDetails as c5, type CustomerBookingServiceItem as c6, type CustomerBooking as c7, type GetAvailableSlotsInput as c8, type CheckSlotAvailabilityInput as c9, type LinkEnrollResult as cA, type EnrollAndLinkOrderResult as cB, type LinkSession as cC, type RevokeSessionResult as cD, type RevokeAllSessionsResult as cE, type RequestOtpInput as cF, type VerifyOtpInput as cG, type AuthResponse as cH, type PickupTimeType as cI, type PickupTime as cJ, type CheckoutAddressInfo as cK, type MobileMoneyDetails as cL, type CheckoutCustomerInfo as cM, type FxQuoteRequest as cN, type FxQuote as cO, type FxRateResponse as cP, type RequestContext as cQ, type RequestStartEvent as cR, type RequestSuccessEvent as cS, type RequestErrorEvent as cT, type RetryEvent as cU, type SessionChangeEvent as cV, type ObservabilityHooks as cW, type OrderType as cX, type ElementAppearance as cY, type AddressInfo as cZ, type PaymentMethodInfo as c_, type CheckSlotAvailabilityResult as ca, type RescheduleBookingInput as cb, type CancelBookingInput as cc, type CancelBookingResult as cd, type RescheduleBookingResult as ce, type ServiceAvailabilityParams as cf, type ServiceAvailabilityResult as cg, type StockStatus as ch, type StockLevel as ci, type ProductStock as cj, type VariantStock as ck, type LocationStock as cl, type AvailabilityResult as cm, type Customer as cn, type CustomerAddress as co, type CustomerMobileMoney as cp, type CustomerLinkPreferences as cq, type LinkData as cr, type CreateAddressInput as cs, type UpdateAddressInput as ct, type CreateMobileMoneyInput as cu, type EnrollmentData as cv, type AddressData as cw, type MobileMoneyData as cx, type EnrollAndLinkOrderInput as cy, type LinkStatusResult as cz, type QuoteBundleSelectionInput as d, type ElementsCustomerInfo as d0, type AuthenticatedData as d1, type ElementsCheckoutData as d2, type ElementsCheckoutResult as d3, type CheckoutCartItem as d4, type CheckoutCartData as d5, type ParentToIframeMessage as d6, type IframeToParentMessage as d7, type ElementEventHandler as d8, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, SchedulingService as q, LiteService as r, FxService as s, ActivityService as t, type TrackCategoryViewOptions as u, type SessionMessage as v, type SessionActivityData as w, type ActivityStateResponse as x, type ActivityRecommendation as y, type ActivityRecommendationsResponse as z };
2349
+ export { type ChatConversationResponse as $, AuthService as A, BusinessService as B, CimplifyClient as C, type PlaceDetailsResponse as D, type TrackCategoryViewOptions as E, type FetchQuoteInput as F, type GetProductsOptions as G, type SessionMessage as H, InventoryService as I, type SessionActivityData as J, type ActivityStateResponse as K, LinkService as L, type ActivityRecommendation as M, type ActivityRecommendationsResponse as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SubscriptionService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, type DismissMessageResponse as V, DeliveryService as W, type DeliveryFeeResponse as X, SupportService as Y, type ChatMessage as Z, type ChatConversation as _, type CimplifyConfig as a, fromPromise as a$, type ChatAttachment as a0, type ChatWidgetStarter as a1, type SenderType as a2, type ContentType as a3, type LiteBootstrap as a4, type TableInfo as a5, CimplifyElements as a6, CimplifyElement as a7, createElements as a8, MESSAGE_TYPES as a9, PAYMENT_STATE as aA, PICKUP_TIME_TYPE as aB, MOBILE_MONEY_PROVIDER as aC, AUTHORIZATION_TYPE as aD, DEVICE_TYPE as aE, CONTACT_TYPE as aF, LINK_QUERY as aG, LINK_MUTATION as aH, AUTH_MUTATION as aI, CHECKOUT_MUTATION as aJ, PAYMENT_MUTATION as aK, ORDER_MUTATION as aL, DEFAULT_CURRENCY as aM, DEFAULT_COUNTRY as aN, type Result as aO, type Ok as aP, type Err as aQ, ok as aR, err as aS, isOk as aT, isErr as aU, mapResult as aV, mapError as aW, flatMap as aX, getOrElse as aY, unwrap as aZ, toNullable as a_, EVENT_TYPES as aa, ELEMENT_TYPES as ab, type ElementsOptions as ac, type ElementOptions as ad, type ElementType as ae, type ElementEventType as af, type CheckoutMode as ag, type CheckoutOrderType as ah, type CheckoutPaymentMethod as ai, type CheckoutStep as aj, type CheckoutFormData as ak, type CheckoutResult as al, type NextAction as am, type ProcessCheckoutOptions as an, type ProcessCheckoutResult as ao, type ProcessAndResolveOptions as ap, type CheckoutStatus as aq, type CheckoutStatusContext as ar, type AbortablePromise as as, type MobileMoneyProvider as at, type DeviceType as au, type ContactType as av, CHECKOUT_MODE as aw, ORDER_TYPE as ax, PAYMENT_METHOD as ay, CHECKOUT_STEP as az, CatalogueQueries as b, type TimeRange as b$, tryCatch as b0, combine as b1, combineObject as b2, type CatalogueResult as b3, type CatalogueSnapshot as b4, type OrderStatus as b5, type PaymentState as b6, type OrderChannel as b7, type LineType as b8, type OrderLineState as b9, type ReminderMethod as bA, type CustomerServicePreferences as bB, type BufferTimes as bC, type ReminderSettings as bD, type CancellationPolicy as bE, type ServiceNotes as bF, type PricingOverrides as bG, type SchedulingMetadata as bH, type StaffAssignment as bI, type ResourceAssignment as bJ, type SchedulingResult as bK, type DepositResult as bL, type ServiceScheduleRequest as bM, type StaffScheduleItem as bN, type LocationBooking as bO, type ProviderResolutionSource as bP, type DeliveryFeeDetails as bQ, type RelationType as bR, type RelatedProduct as bS, type RelatedCandidate as bT, type RelatedProductsEnrichment as bU, type BusinessType as bV, type BusinessPreferences as bW, type Business as bX, type LocationTaxBehavior as bY, type LocationTaxOverrides as bZ, type Location as b_, type OrderLineStatus as ba, type FulfillmentType as bb, type FulfillmentStatus as bc, type FulfillmentLink as bd, type OrderFulfillmentSummary as be, type FeeBearerType as bf, type AmountToPay as bg, type LineItem as bh, type Order as bi, type OrderHistory as bj, type OrderGroupStatus as bk, type OrderGroupPaymentState as bl, type OrderGroupPaymentStatus as bm, type OrderGroup as bn, type OrderGroupPayment as bo, type OrderSplitDetail as bp, type OrderGroupPaymentSummary as bq, type OrderGroupDetails as br, type OrderPaymentEvent as bs, type OrderFilter as bt, type CheckoutInput as bu, type UpdateOrderStatusInput as bv, type CancelOrderInput as bw, type RefundOrderInput as bx, type ServiceStatus as by, type StaffRole as bz, createCimplifyClient as c, type CheckoutAddressInfo as c$, type TimeRanges as c0, type LocationTimeProfile as c1, type Table as c2, type Room as c3, type ServiceCharge as c4, type StorefrontBootstrap as c5, type BusinessWithLocations as c6, type LocationWithDetails as c7, type BusinessSettings as c8, type BusinessHours as c9, type ProductStock as cA, type VariantStock as cB, type LocationStock as cC, type AvailabilityResult as cD, type Customer as cE, type CustomerAddress as cF, type CustomerMobileMoney as cG, type CustomerLinkPreferences as cH, type LinkData as cI, type CreateAddressInput as cJ, type UpdateAddressInput as cK, type CreateMobileMoneyInput as cL, type EnrollmentData as cM, type AddressData as cN, type MobileMoneyData as cO, type EnrollAndLinkOrderInput as cP, type LinkStatusResult as cQ, type LinkEnrollResult as cR, type EnrollAndLinkOrderResult as cS, type LinkSession as cT, type RevokeSessionResult as cU, type RevokeAllSessionsResult as cV, type RequestOtpInput as cW, type VerifyOtpInput as cX, type AuthResponse as cY, type PickupTimeType as cZ, type PickupTime as c_, type CategoryInfo as ca, type Service as cb, type Staff as cc, type TimeSlot as cd, type SlotResourceInfo as ce, type SlotStaffInfo as cf, type AvailableSlot as cg, type DayAvailability as ch, type BookingStatus as ci, type Booking as cj, type BookingWithDetails as ck, type CustomerBookingServiceItem as cl, type CustomerBooking as cm, type GetAvailableSlotsInput as cn, type CheckSlotAvailabilityInput as co, type CheckSlotAvailabilityResult as cp, type RescheduleBookingInput as cq, type CancelBookingInput as cr, type CancelBookingResult as cs, type BookingModificationType as ct, type RescheduleBookingResult as cu, type ServiceAvailabilityParams as cv, type ServiceAvailabilityResult as cw, type RescheduleHistoryRecord as cx, type StockStatus as cy, type StockLevel as cz, type QuoteBundleSelectionInput as d, type MobileMoneyDetails as d0, type CheckoutCustomerInfo as d1, type FxQuoteRequest as d2, type FxQuote as d3, type FxRateResponse as d4, type RequestContext as d5, type RequestStartEvent as d6, type RequestSuccessEvent as d7, type RequestErrorEvent as d8, type RetryEvent as d9, type SessionChangeEvent as da, type ObservabilityHooks as db, type OrderType as dc, type ElementAppearance as dd, type AddressInfo as de, type PaymentMethodInfo as df, type AuthenticatedCustomer as dg, type ElementsCustomerInfo as dh, type AuthenticatedData as di, type ElementsCheckoutData as dj, type ElementsCheckoutResult as dk, type CheckoutCartItem as dl, type CheckoutCartData as dm, type ParentToIframeMessage as dn, type IframeToParentMessage as dp, type ElementEventHandler as dq, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, SchedulingService as q, LiteService as r, FxService as s, ActivityService as t, UploadService as u, type UploadResult as v, type UploadInitResponse as w, PlacesService as x, type AutocompletePrediction as y, type AutocompleteResponse as z };