@cimplify/sdk 0.18.0 → 0.20.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.
- package/dist/advanced.d.mts +2 -2
- package/dist/advanced.d.ts +2 -2
- package/dist/advanced.js +21 -21
- package/dist/advanced.mjs +2 -2
- package/dist/{chunk-RYQ5IPWX.js → chunk-2BSYTQAY.js} +18 -28
- package/dist/{chunk-KTTQC5HG.mjs → chunk-676BJ3EU.mjs} +43 -8
- package/dist/{chunk-2JI47EYJ.mjs → chunk-7KH2XJIW.mjs} +67 -12
- package/dist/{chunk-MJECWMOY.js → chunk-AVVLN353.js} +76 -40
- package/dist/{chunk-FTL2SXCG.mjs → chunk-HG7GG3TT.mjs} +18 -28
- package/dist/{chunk-DYKFSV77.js → chunk-KSN3RJFL.js} +86 -30
- package/dist/{client-BFFfuzJr.d.mts → client-D4E9aJy7.d.mts} +141 -7
- package/dist/{client-B1UtuyOg.d.ts → client-VyO6Bqz2.d.ts} +141 -7
- package/dist/index.d.mts +38 -5
- package/dist/index.d.ts +38 -5
- package/dist/index.js +101 -97
- package/dist/index.mjs +3 -3
- package/dist/{payment-D9FTaOse.d.mts → payment-CKqMU4xT.d.mts} +1052 -934
- package/dist/{payment-D9FTaOse.d.ts → payment-CKqMU4xT.d.ts} +1052 -934
- package/dist/{price-BD1iioLh.d.ts → price-BqV_DjjQ.d.mts} +1 -1
- package/dist/{price-9JsPuknm.d.mts → price-e4beObLZ.d.ts} +1 -1
- package/dist/react.d.mts +463 -11
- package/dist/react.d.ts +463 -11
- package/dist/react.js +1630 -113
- package/dist/react.mjs +1566 -65
- package/dist/styles.css +1 -1
- package/dist/utils.d.mts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +28 -28
- package/dist/utils.mjs +1 -1
- package/package.json +2 -2
- package/registry/availability-badge.json +1 -1
- package/registry/booking-page.json +1 -1
- package/registry/bundle-selector.json +1 -1
- package/registry/cart-summary.json +1 -1
- package/registry/composite-selector.json +1 -1
- package/registry/order-summary.json +1 -1
- package/registry/product-customizer.json +1 -1
- package/registry/search-input.json +1 -1
- package/registry/service-card.json +1 -1
- package/registry/variant-selector.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a5 as Category, J as Product, a1 as AddOnWithOptions, d as Pagination, h as CimplifyError, L as ProductWithDetails, O as ProductVariant, U as VariantAxis, $ as VariantAxisSelection, a0 as AddOn, a7 as Collection, ac as BundleSummary, ab as Bundle, ao as Composite, av as ComponentSelectionInput, aw as CompositePriceResult, C as ChosenPrice, aD as ProductTaxonomy, aE as TaxonomyWithChildren, bJ as EligiblePlansQuery, bI as ProductBillingPlan, aC as ProductTimeProfile, aF as ProductAvailabilityNow, aH as Deal, aI as ProductDealInfo, aJ as DiscountValidation, aL as TagsResponse, y as CustomAttributeDefinition, z as CustomAttributeValue, G as PropertyFacet, T as TaxonomyAttributeTemplate, K as KnowledgeArticle, bn as UICart, b8 as Cart, b9 as CartItem, br as CartSummary, bp as AddToCartInput, bq as UpdateCartItemInput, aX as DiscountDetails, M as Money, a as CurrencyCode, b7 as LineConfiguration, bw as AuthorizationType, by as PaymentMethod, bA as InitializePaymentResult, bE as SubmitAuthorizationInput, bC as PaymentStatusResponse, s as DurationUnit } from './payment-CKqMU4xT.mjs';
|
|
2
2
|
|
|
3
3
|
interface RequestContext {
|
|
4
4
|
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
@@ -204,10 +204,14 @@ declare class CatalogueQueries {
|
|
|
204
204
|
}): Promise<Result<Product[], CimplifyError>>;
|
|
205
205
|
searchCollections(query: string, limit?: number): Promise<Result<Collection[], CimplifyError>>;
|
|
206
206
|
getBundles(): Promise<Result<BundleSummary[], CimplifyError>>;
|
|
207
|
+
getBundle(id: string): Promise<Result<Bundle, CimplifyError>>;
|
|
208
|
+
getBundleBySlug(slug: string): Promise<Result<Bundle, CimplifyError>>;
|
|
207
209
|
searchBundles(query: string, limit?: number): Promise<Result<Bundle[], CimplifyError>>;
|
|
208
210
|
getComposites(options?: {
|
|
209
211
|
limit?: number;
|
|
210
212
|
}): Promise<Result<Composite[], CimplifyError>>;
|
|
213
|
+
getComposite(id: string): Promise<Result<Composite, CimplifyError>>;
|
|
214
|
+
getCompositeByProduct(productId: string): Promise<Result<Composite, CimplifyError>>;
|
|
211
215
|
calculateCompositePrice(compositeId: string, selections: ComponentSelectionInput[], locationId?: string): Promise<Result<CompositePriceResult, CimplifyError>>;
|
|
212
216
|
fetchQuote(input: FetchQuoteInput): Promise<Result<PriceQuote, CimplifyError>>;
|
|
213
217
|
getQuote(quoteId: string): Promise<Result<PriceQuote, CimplifyError>>;
|
|
@@ -216,6 +220,7 @@ declare class CatalogueQueries {
|
|
|
216
220
|
getTaxonomy(id: string): Promise<Result<TaxonomyWithChildren, CimplifyError>>;
|
|
217
221
|
getTaxonomyPath(id: string): Promise<Result<ProductTaxonomy[], CimplifyError>>;
|
|
218
222
|
searchTaxonomies(query: string, limit?: number): Promise<Result<ProductTaxonomy[], CimplifyError>>;
|
|
223
|
+
getEligibleBillingPlans(productId: string, query?: EligiblePlansQuery): Promise<Result<ProductBillingPlan[], CimplifyError>>;
|
|
219
224
|
getProductSchedules(productId: string): Promise<Result<ProductTimeProfile[], CimplifyError>>;
|
|
220
225
|
checkProductAvailableNow(productId: string, locationId: string): Promise<Result<ProductAvailabilityNow, CimplifyError>>;
|
|
221
226
|
getDeals(locationId?: string): Promise<Result<Deal[], CimplifyError>>;
|
|
@@ -239,12 +244,17 @@ declare class CatalogueQueries {
|
|
|
239
244
|
limit?: number;
|
|
240
245
|
offset?: number;
|
|
241
246
|
}): Promise<Result<TagsResponse, CimplifyError>>;
|
|
242
|
-
getAttributeDefinitions(): Promise<Result<CustomAttributeDefinition[], CimplifyError>>;
|
|
247
|
+
getAttributeDefinitions(namespace?: string): Promise<Result<CustomAttributeDefinition[], CimplifyError>>;
|
|
248
|
+
getProductAttributes(productId: string): Promise<Result<CustomAttributeValue[], CimplifyError>>;
|
|
249
|
+
getCategoryAttributes(categoryId: string): Promise<Result<CustomAttributeValue[], CimplifyError>>;
|
|
250
|
+
getCollectionAttributes(collectionId: string): Promise<Result<CustomAttributeValue[], CimplifyError>>;
|
|
243
251
|
getPropertyFacets(options?: {
|
|
244
252
|
category_id?: string;
|
|
245
253
|
product_type?: string;
|
|
246
254
|
}): Promise<Result<PropertyFacet[], CimplifyError>>;
|
|
247
255
|
getTaxonomyAttributes(taxonomyId: string): Promise<Result<TaxonomyAttributeTemplate[], CimplifyError>>;
|
|
256
|
+
searchKnowledge(query: string, limit?: number): Promise<Result<KnowledgeArticle[], CimplifyError>>;
|
|
257
|
+
getKnowledgeArticles(): Promise<Result<KnowledgeArticle[], CimplifyError>>;
|
|
248
258
|
}
|
|
249
259
|
|
|
250
260
|
declare class CartOperations {
|
|
@@ -270,7 +280,7 @@ declare class CartOperations {
|
|
|
270
280
|
|
|
271
281
|
type OrderStatus = "pending" | "created" | "confirmed" | "in_preparation" | "ready_to_serve" | "partially_served" | "served" | "delivered" | "picked_up" | "completed" | "cancelled" | "refunded";
|
|
272
282
|
type PaymentState = "not_paid" | "paid" | "partially_refunded" | "refunded";
|
|
273
|
-
type OrderChannel = "qr" | "taker" | "staff" | "web" | "dashboard" | "tap";
|
|
283
|
+
type OrderChannel = "qr" | "taker" | "staff" | "web" | "dashboard" | "tap" | "chat";
|
|
274
284
|
type LineType = "product" | "service" | "bundle" | "composite" | "digital";
|
|
275
285
|
type OrderLineState = "pending" | "in_preparation" | "ready" | "served" | "completed" | {
|
|
276
286
|
partially_served: {
|
|
@@ -350,6 +360,8 @@ interface Order {
|
|
|
350
360
|
applied_discount_codes: string[];
|
|
351
361
|
discount_details?: DiscountDetails;
|
|
352
362
|
delivery_address?: string;
|
|
363
|
+
delivery_fee: Money;
|
|
364
|
+
delivery_fee_details?: DeliveryFeeDetails;
|
|
353
365
|
tracking_token?: string;
|
|
354
366
|
tracking_link?: string;
|
|
355
367
|
pickup_time?: string;
|
|
@@ -363,13 +375,14 @@ interface Order {
|
|
|
363
375
|
cancelled_at?: string;
|
|
364
376
|
table_number?: string;
|
|
365
377
|
room_number?: string;
|
|
378
|
+
resource_id?: string;
|
|
366
379
|
location_id?: string;
|
|
367
380
|
was_placed_by_staff: boolean;
|
|
368
381
|
modified_by_staff: boolean;
|
|
369
382
|
delivery_required: boolean;
|
|
370
383
|
customer_will_pick_up: boolean;
|
|
371
384
|
total_price: Money;
|
|
372
|
-
|
|
385
|
+
subtotal: Money;
|
|
373
386
|
total_discount: Money;
|
|
374
387
|
service_charge?: Money;
|
|
375
388
|
tax?: Money;
|
|
@@ -377,6 +390,7 @@ interface Order {
|
|
|
377
390
|
currency: CurrencyCode;
|
|
378
391
|
bill_token?: string;
|
|
379
392
|
order_group_id?: string;
|
|
393
|
+
subscription_id?: string;
|
|
380
394
|
paid_via_group: boolean;
|
|
381
395
|
amount_to_pay: AmountToPay;
|
|
382
396
|
served_by?: string;
|
|
@@ -391,6 +405,9 @@ interface Order {
|
|
|
391
405
|
balance_due: Money;
|
|
392
406
|
deposit_due_date?: string;
|
|
393
407
|
final_payment_due_date?: string;
|
|
408
|
+
payment_terms_id?: string;
|
|
409
|
+
price_list_id?: string;
|
|
410
|
+
approval_status?: string;
|
|
394
411
|
version: number;
|
|
395
412
|
total_quantity: number;
|
|
396
413
|
items: LineItem[];
|
|
@@ -406,7 +423,9 @@ interface OrderHistory {
|
|
|
406
423
|
modified_at: string;
|
|
407
424
|
metadata?: Record<string, unknown>;
|
|
408
425
|
}
|
|
426
|
+
type OrderGroupStatus = "open" | "in_progress" | "ready_to_pay" | "split" | "partially_paid" | "paid" | "closed";
|
|
409
427
|
type OrderGroupPaymentState = "not_paid" | "partially_paid" | "fully_paid" | "partially_refunded" | "refunded";
|
|
428
|
+
type OrderGroupPaymentStatus = "pending" | "processing" | "completed" | "failed" | "refunded" | "cancelled" | "requires_action" | "disputed";
|
|
410
429
|
interface OrderGroup {
|
|
411
430
|
id: string;
|
|
412
431
|
business_id: string;
|
|
@@ -414,7 +433,7 @@ interface OrderGroup {
|
|
|
414
433
|
table_number: string;
|
|
415
434
|
created_at: string;
|
|
416
435
|
updated_at: string;
|
|
417
|
-
status:
|
|
436
|
+
status: OrderGroupStatus;
|
|
418
437
|
is_split: boolean;
|
|
419
438
|
is_closed: boolean;
|
|
420
439
|
total_amount?: Money;
|
|
@@ -432,7 +451,7 @@ interface OrderGroupPayment {
|
|
|
432
451
|
order_id?: string;
|
|
433
452
|
amount: Money;
|
|
434
453
|
payment_method: string;
|
|
435
|
-
status:
|
|
454
|
+
status: OrderGroupPaymentStatus;
|
|
436
455
|
created_at: string;
|
|
437
456
|
updated_at: string;
|
|
438
457
|
metadata?: Record<string, unknown>;
|
|
@@ -615,6 +634,44 @@ interface LocationAppointment {
|
|
|
615
634
|
assigned_resources: string[];
|
|
616
635
|
service_status: ServiceStatus;
|
|
617
636
|
}
|
|
637
|
+
type ProviderResolutionSource = "zone_config" | "location_default" | "fallback" | "best_price";
|
|
638
|
+
interface DeliveryFeeDetails {
|
|
639
|
+
zone_id: string;
|
|
640
|
+
zone_name: string;
|
|
641
|
+
provider: string;
|
|
642
|
+
provider_resolved_from: ProviderResolutionSource;
|
|
643
|
+
distance_km: Money;
|
|
644
|
+
base_fee: Money;
|
|
645
|
+
per_km_fee: Money;
|
|
646
|
+
surge_multiplier: Money;
|
|
647
|
+
calculated_fee: Money;
|
|
648
|
+
currency: string;
|
|
649
|
+
}
|
|
650
|
+
type RelationType = "upsell" | "cross_sell";
|
|
651
|
+
interface RelatedProduct {
|
|
652
|
+
id: string;
|
|
653
|
+
business_id: string;
|
|
654
|
+
source_product_id: string;
|
|
655
|
+
target_product_id: string;
|
|
656
|
+
relation_type: RelationType;
|
|
657
|
+
is_enabled: boolean;
|
|
658
|
+
display_order: number;
|
|
659
|
+
created_at: string;
|
|
660
|
+
updated_at: string;
|
|
661
|
+
metadata?: Record<string, unknown>;
|
|
662
|
+
}
|
|
663
|
+
interface RelatedCandidate {
|
|
664
|
+
product_id: string;
|
|
665
|
+
relation_type: RelationType;
|
|
666
|
+
source: string;
|
|
667
|
+
score: number;
|
|
668
|
+
is_enabled: boolean;
|
|
669
|
+
display_order: number;
|
|
670
|
+
}
|
|
671
|
+
interface RelatedProductsEnrichment {
|
|
672
|
+
upsells: RelatedCandidate[];
|
|
673
|
+
cross_sells: RelatedCandidate[];
|
|
674
|
+
}
|
|
618
675
|
|
|
619
676
|
declare const CHECKOUT_MODE: {
|
|
620
677
|
readonly LINK: "link";
|
|
@@ -905,6 +962,8 @@ interface CheckoutAddressInfo {
|
|
|
905
962
|
country?: string;
|
|
906
963
|
delivery_instructions?: string;
|
|
907
964
|
phone_for_delivery?: string;
|
|
965
|
+
latitude?: number;
|
|
966
|
+
longitude?: number;
|
|
908
967
|
pickup_time?: string;
|
|
909
968
|
guest_count?: number;
|
|
910
969
|
seating_time?: string;
|
|
@@ -1365,6 +1424,7 @@ interface Service {
|
|
|
1365
1424
|
description?: string;
|
|
1366
1425
|
price?: Money;
|
|
1367
1426
|
duration_minutes: number;
|
|
1427
|
+
duration_unit?: DurationUnit;
|
|
1368
1428
|
image_url?: string | null;
|
|
1369
1429
|
category_id?: string | null;
|
|
1370
1430
|
is_available: boolean;
|
|
@@ -1620,14 +1680,86 @@ interface TrackCategoryViewOptions {
|
|
|
1620
1680
|
categoryName?: string;
|
|
1621
1681
|
pagePath?: string;
|
|
1622
1682
|
}
|
|
1683
|
+
interface SessionMessage {
|
|
1684
|
+
code: string;
|
|
1685
|
+
level: "info" | "promotion" | "urgency" | "suggestion" | string;
|
|
1686
|
+
text: string;
|
|
1687
|
+
metadata?: Record<string, unknown>;
|
|
1688
|
+
dismissible: boolean;
|
|
1689
|
+
}
|
|
1690
|
+
interface SessionActivityData {
|
|
1691
|
+
viewed_products: Array<{
|
|
1692
|
+
product_id: string;
|
|
1693
|
+
product_name?: string;
|
|
1694
|
+
category_id?: string;
|
|
1695
|
+
price?: string;
|
|
1696
|
+
view_count: number;
|
|
1697
|
+
first_viewed_at: string;
|
|
1698
|
+
last_viewed_at: string;
|
|
1699
|
+
}>;
|
|
1700
|
+
viewed_categories: Array<{
|
|
1701
|
+
category_id: string;
|
|
1702
|
+
category_name?: string;
|
|
1703
|
+
view_count: number;
|
|
1704
|
+
last_viewed_at: string;
|
|
1705
|
+
}>;
|
|
1706
|
+
total_product_views: number;
|
|
1707
|
+
unique_products_viewed: number;
|
|
1708
|
+
total_searches: number;
|
|
1709
|
+
total_cart_adds: number;
|
|
1710
|
+
total_cart_removes: number;
|
|
1711
|
+
}
|
|
1712
|
+
interface ActivityStateResponse {
|
|
1713
|
+
activity: SessionActivityData | null;
|
|
1714
|
+
intent: string;
|
|
1715
|
+
messages: SessionMessage[];
|
|
1716
|
+
incentive: {
|
|
1717
|
+
template_id: string;
|
|
1718
|
+
agent_id: string;
|
|
1719
|
+
} | null;
|
|
1720
|
+
}
|
|
1721
|
+
interface ActivityRecommendation {
|
|
1722
|
+
product: Product;
|
|
1723
|
+
reason: string;
|
|
1724
|
+
}
|
|
1725
|
+
interface ActivityRecommendationsResponse {
|
|
1726
|
+
recommendations: ActivityRecommendation[];
|
|
1727
|
+
intent: string;
|
|
1728
|
+
incentive: {
|
|
1729
|
+
template_id: string;
|
|
1730
|
+
agent_id: string;
|
|
1731
|
+
} | null;
|
|
1732
|
+
}
|
|
1733
|
+
interface DismissMessageResponse {
|
|
1734
|
+
dismissed: string;
|
|
1735
|
+
messages: SessionMessage[];
|
|
1736
|
+
}
|
|
1623
1737
|
declare class ActivityService {
|
|
1624
1738
|
private client;
|
|
1625
1739
|
constructor(client: CimplifyClient);
|
|
1626
1740
|
trackProductView(productId: string, options?: TrackProductViewOptions): void;
|
|
1627
1741
|
trackCategoryView(categoryId: string, options?: TrackCategoryViewOptions): void;
|
|
1742
|
+
getState(): Promise<Result<ActivityStateResponse, CimplifyError>>;
|
|
1743
|
+
getRecommendations(options?: {
|
|
1744
|
+
location_id?: string;
|
|
1745
|
+
limit?: number;
|
|
1746
|
+
}): Promise<Result<ActivityRecommendationsResponse, CimplifyError>>;
|
|
1747
|
+
dismissMessage(code: string): Promise<Result<DismissMessageResponse, CimplifyError>>;
|
|
1628
1748
|
private sendEvents;
|
|
1629
1749
|
}
|
|
1630
1750
|
|
|
1751
|
+
interface DeliveryFeeResponse {
|
|
1752
|
+
serviceable: boolean;
|
|
1753
|
+
fee: Money | null;
|
|
1754
|
+
currency: string | null;
|
|
1755
|
+
details: DeliveryFeeDetails | null;
|
|
1756
|
+
}
|
|
1757
|
+
declare class DeliveryService {
|
|
1758
|
+
private client;
|
|
1759
|
+
constructor(client: CimplifyClient);
|
|
1760
|
+
getFee(dropoffLat: number, dropoffLng: number, country?: string): Promise<Result<DeliveryFeeResponse, CimplifyError>>;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1631
1763
|
type OrderType = "delivery" | "pickup" | "dine_in";
|
|
1632
1764
|
declare const ELEMENT_TYPES: {
|
|
1633
1765
|
readonly AUTH: "auth";
|
|
@@ -1995,6 +2127,7 @@ declare class CimplifyClient {
|
|
|
1995
2127
|
private _lite?;
|
|
1996
2128
|
private _fx?;
|
|
1997
2129
|
private _activity?;
|
|
2130
|
+
private _delivery?;
|
|
1998
2131
|
constructor(config?: CimplifyConfig);
|
|
1999
2132
|
getAccessToken(): string | null;
|
|
2000
2133
|
getPublicKey(): string;
|
|
@@ -2038,8 +2171,9 @@ declare class CimplifyClient {
|
|
|
2038
2171
|
get lite(): LiteService;
|
|
2039
2172
|
get fx(): FxService;
|
|
2040
2173
|
get activity(): ActivityService;
|
|
2174
|
+
get delivery(): DeliveryService;
|
|
2041
2175
|
elements(businessId?: string, options?: ElementsOptions): CimplifyElements;
|
|
2042
2176
|
}
|
|
2043
2177
|
declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
|
|
2044
2178
|
|
|
2045
|
-
export { type
|
|
2179
|
+
export { type CheckoutMode as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, type LiteBootstrap as E, type FetchQuoteInput as F, type GetProductsOptions as G, type TableInfo as H, InventoryService as I, CimplifyElements as J, CimplifyElement as K, LinkService as L, createElements as M, MESSAGE_TYPES as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SchedulingService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, EVENT_TYPES as V, ELEMENT_TYPES as W, type ElementsOptions as X, type ElementOptions as Y, type ElementType as Z, type ElementEventType as _, type CimplifyConfig as a, type AmountToPay as a$, type CheckoutOrderType as a0, type CheckoutPaymentMethod as a1, type CheckoutStep as a2, type CheckoutFormData as a3, type CheckoutResult as a4, type NextAction as a5, type ProcessCheckoutOptions as a6, type ProcessCheckoutResult as a7, type ProcessAndResolveOptions as a8, type CheckoutStatus as a9, ok as aA, err as aB, isOk as aC, isErr as aD, mapResult as aE, mapError as aF, flatMap as aG, getOrElse as aH, unwrap as aI, toNullable as aJ, fromPromise as aK, tryCatch as aL, combine as aM, combineObject as aN, type CatalogueResult as aO, type CatalogueSnapshot as aP, type OrderStatus as aQ, type PaymentState as aR, type OrderChannel as aS, type LineType as aT, type OrderLineState as aU, type OrderLineStatus as aV, type FulfillmentType as aW, type FulfillmentStatus as aX, type FulfillmentLink as aY, type OrderFulfillmentSummary as aZ, type FeeBearerType as a_, type CheckoutStatusContext as aa, type AbortablePromise as ab, type MobileMoneyProvider as ac, type DeviceType as ad, type ContactType as ae, CHECKOUT_MODE as af, ORDER_TYPE as ag, PAYMENT_METHOD as ah, CHECKOUT_STEP as ai, PAYMENT_STATE as aj, PICKUP_TIME_TYPE as ak, MOBILE_MONEY_PROVIDER as al, AUTHORIZATION_TYPE as am, DEVICE_TYPE as an, CONTACT_TYPE as ao, LINK_QUERY as ap, LINK_MUTATION as aq, AUTH_MUTATION as ar, CHECKOUT_MUTATION as as, PAYMENT_MUTATION as at, ORDER_MUTATION as au, DEFAULT_CURRENCY as av, DEFAULT_COUNTRY as aw, type Result as ax, type Ok as ay, type Err as az, CatalogueQueries as b, type BookingStatus as b$, type LineItem as b0, type Order as b1, type OrderHistory as b2, type OrderGroupStatus as b3, type OrderGroupPaymentState as b4, type OrderGroupPaymentStatus as b5, type OrderGroup as b6, type OrderGroupPayment as b7, type OrderSplitDetail as b8, type OrderGroupPaymentSummary as b9, type RelationType as bA, type RelatedProduct as bB, type RelatedCandidate as bC, type RelatedProductsEnrichment as bD, type BusinessType as bE, type BusinessPreferences as bF, type Business as bG, type LocationTaxBehavior as bH, type LocationTaxOverrides as bI, type Location as bJ, type TimeRange as bK, type TimeRanges as bL, type LocationTimeProfile as bM, type Table as bN, type Room as bO, type ServiceCharge as bP, type StorefrontBootstrap as bQ, type BusinessWithLocations as bR, type LocationWithDetails as bS, type BusinessSettings as bT, type BusinessHours as bU, type CategoryInfo as bV, type Service as bW, type Staff as bX, type TimeSlot as bY, type AvailableSlot as bZ, type DayAvailability as b_, type OrderGroupDetails as ba, type OrderPaymentEvent as bb, type OrderFilter as bc, type CheckoutInput as bd, type UpdateOrderStatusInput as be, type CancelOrderInput as bf, type RefundOrderInput as bg, type ServiceStatus as bh, type StaffRole as bi, type ReminderMethod as bj, type CustomerServicePreferences as bk, type BufferTimes as bl, type ReminderSettings as bm, type CancellationPolicy as bn, type ServiceNotes as bo, type PricingOverrides as bp, type SchedulingMetadata as bq, type StaffAssignment as br, type ResourceAssignment as bs, type SchedulingResult as bt, type DepositResult as bu, type ServiceScheduleRequest as bv, type StaffScheduleItem as bw, type LocationAppointment as bx, type ProviderResolutionSource as by, type DeliveryFeeDetails as bz, createCimplifyClient as c, type ElementsCheckoutResult as c$, type Booking as c0, type BookingWithDetails as c1, type CustomerBookingServiceItem as c2, type CustomerBooking as c3, type GetAvailableSlotsInput as c4, type CheckSlotAvailabilityInput as c5, type CheckSlotAvailabilityResult as c6, type RescheduleBookingInput as c7, type CancelBookingInput as c8, type CancelBookingResult as c9, type RevokeAllSessionsResult as cA, type RequestOtpInput as cB, type VerifyOtpInput as cC, type AuthResponse as cD, type PickupTimeType as cE, type PickupTime as cF, type CheckoutAddressInfo as cG, type MobileMoneyDetails as cH, type CheckoutCustomerInfo as cI, type FxQuoteRequest as cJ, type FxQuote as cK, type FxRateResponse as cL, type RequestContext as cM, type RequestStartEvent as cN, type RequestSuccessEvent as cO, type RequestErrorEvent as cP, type RetryEvent as cQ, type SessionChangeEvent as cR, type ObservabilityHooks as cS, type OrderType as cT, type ElementAppearance as cU, type AddressInfo as cV, type PaymentMethodInfo as cW, type AuthenticatedCustomer as cX, type ElementsCustomerInfo as cY, type AuthenticatedData as cZ, type ElementsCheckoutData as c_, type RescheduleBookingResult as ca, type ServiceAvailabilityParams as cb, type ServiceAvailabilityResult as cc, type StockStatus as cd, type StockLevel as ce, type ProductStock as cf, type VariantStock as cg, type LocationStock as ch, type AvailabilityResult as ci, type Customer as cj, type CustomerAddress as ck, type CustomerMobileMoney as cl, type CustomerLinkPreferences as cm, type LinkData as cn, type CreateAddressInput as co, type UpdateAddressInput as cp, type CreateMobileMoneyInput as cq, type EnrollmentData as cr, type AddressData as cs, type MobileMoneyData as ct, type EnrollAndLinkOrderInput as cu, type LinkStatusResult as cv, type LinkEnrollResult as cw, type EnrollAndLinkOrderResult as cx, type LinkSession as cy, type RevokeSessionResult as cz, type QuoteBundleSelectionInput as d, type CheckoutCartItem as d0, type CheckoutCartData as d1, type ParentToIframeMessage as d2, type IframeToParentMessage as d3, type ElementEventHandler as d4, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, CheckoutService as k, generateIdempotencyKey as l, type GetOrdersOptions as m, type AuthStatus as n, type OtpResult as o, LiteService as p, FxService as q, ActivityService as r, type TrackCategoryViewOptions as s, type SessionMessage as t, type SessionActivityData as u, type ActivityStateResponse as v, type ActivityRecommendation as w, type ActivityRecommendationsResponse as x, DeliveryService as y, type DeliveryFeeResponse as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a5 as Category, J as Product, a1 as AddOnWithOptions, d as Pagination, h as CimplifyError, L as ProductWithDetails, O as ProductVariant, U as VariantAxis, $ as VariantAxisSelection, a0 as AddOn, a7 as Collection, ac as BundleSummary, ab as Bundle, ao as Composite, av as ComponentSelectionInput, aw as CompositePriceResult, C as ChosenPrice, aD as ProductTaxonomy, aE as TaxonomyWithChildren, bJ as EligiblePlansQuery, bI as ProductBillingPlan, aC as ProductTimeProfile, aF as ProductAvailabilityNow, aH as Deal, aI as ProductDealInfo, aJ as DiscountValidation, aL as TagsResponse, y as CustomAttributeDefinition, z as CustomAttributeValue, G as PropertyFacet, T as TaxonomyAttributeTemplate, K as KnowledgeArticle, bn as UICart, b8 as Cart, b9 as CartItem, br as CartSummary, bp as AddToCartInput, bq as UpdateCartItemInput, aX as DiscountDetails, M as Money, a as CurrencyCode, b7 as LineConfiguration, bw as AuthorizationType, by as PaymentMethod, bA as InitializePaymentResult, bE as SubmitAuthorizationInput, bC as PaymentStatusResponse, s as DurationUnit } from './payment-CKqMU4xT.js';
|
|
2
2
|
|
|
3
3
|
interface RequestContext {
|
|
4
4
|
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
@@ -204,10 +204,14 @@ declare class CatalogueQueries {
|
|
|
204
204
|
}): Promise<Result<Product[], CimplifyError>>;
|
|
205
205
|
searchCollections(query: string, limit?: number): Promise<Result<Collection[], CimplifyError>>;
|
|
206
206
|
getBundles(): Promise<Result<BundleSummary[], CimplifyError>>;
|
|
207
|
+
getBundle(id: string): Promise<Result<Bundle, CimplifyError>>;
|
|
208
|
+
getBundleBySlug(slug: string): Promise<Result<Bundle, CimplifyError>>;
|
|
207
209
|
searchBundles(query: string, limit?: number): Promise<Result<Bundle[], CimplifyError>>;
|
|
208
210
|
getComposites(options?: {
|
|
209
211
|
limit?: number;
|
|
210
212
|
}): Promise<Result<Composite[], CimplifyError>>;
|
|
213
|
+
getComposite(id: string): Promise<Result<Composite, CimplifyError>>;
|
|
214
|
+
getCompositeByProduct(productId: string): Promise<Result<Composite, CimplifyError>>;
|
|
211
215
|
calculateCompositePrice(compositeId: string, selections: ComponentSelectionInput[], locationId?: string): Promise<Result<CompositePriceResult, CimplifyError>>;
|
|
212
216
|
fetchQuote(input: FetchQuoteInput): Promise<Result<PriceQuote, CimplifyError>>;
|
|
213
217
|
getQuote(quoteId: string): Promise<Result<PriceQuote, CimplifyError>>;
|
|
@@ -216,6 +220,7 @@ declare class CatalogueQueries {
|
|
|
216
220
|
getTaxonomy(id: string): Promise<Result<TaxonomyWithChildren, CimplifyError>>;
|
|
217
221
|
getTaxonomyPath(id: string): Promise<Result<ProductTaxonomy[], CimplifyError>>;
|
|
218
222
|
searchTaxonomies(query: string, limit?: number): Promise<Result<ProductTaxonomy[], CimplifyError>>;
|
|
223
|
+
getEligibleBillingPlans(productId: string, query?: EligiblePlansQuery): Promise<Result<ProductBillingPlan[], CimplifyError>>;
|
|
219
224
|
getProductSchedules(productId: string): Promise<Result<ProductTimeProfile[], CimplifyError>>;
|
|
220
225
|
checkProductAvailableNow(productId: string, locationId: string): Promise<Result<ProductAvailabilityNow, CimplifyError>>;
|
|
221
226
|
getDeals(locationId?: string): Promise<Result<Deal[], CimplifyError>>;
|
|
@@ -239,12 +244,17 @@ declare class CatalogueQueries {
|
|
|
239
244
|
limit?: number;
|
|
240
245
|
offset?: number;
|
|
241
246
|
}): Promise<Result<TagsResponse, CimplifyError>>;
|
|
242
|
-
getAttributeDefinitions(): Promise<Result<CustomAttributeDefinition[], CimplifyError>>;
|
|
247
|
+
getAttributeDefinitions(namespace?: string): Promise<Result<CustomAttributeDefinition[], CimplifyError>>;
|
|
248
|
+
getProductAttributes(productId: string): Promise<Result<CustomAttributeValue[], CimplifyError>>;
|
|
249
|
+
getCategoryAttributes(categoryId: string): Promise<Result<CustomAttributeValue[], CimplifyError>>;
|
|
250
|
+
getCollectionAttributes(collectionId: string): Promise<Result<CustomAttributeValue[], CimplifyError>>;
|
|
243
251
|
getPropertyFacets(options?: {
|
|
244
252
|
category_id?: string;
|
|
245
253
|
product_type?: string;
|
|
246
254
|
}): Promise<Result<PropertyFacet[], CimplifyError>>;
|
|
247
255
|
getTaxonomyAttributes(taxonomyId: string): Promise<Result<TaxonomyAttributeTemplate[], CimplifyError>>;
|
|
256
|
+
searchKnowledge(query: string, limit?: number): Promise<Result<KnowledgeArticle[], CimplifyError>>;
|
|
257
|
+
getKnowledgeArticles(): Promise<Result<KnowledgeArticle[], CimplifyError>>;
|
|
248
258
|
}
|
|
249
259
|
|
|
250
260
|
declare class CartOperations {
|
|
@@ -270,7 +280,7 @@ declare class CartOperations {
|
|
|
270
280
|
|
|
271
281
|
type OrderStatus = "pending" | "created" | "confirmed" | "in_preparation" | "ready_to_serve" | "partially_served" | "served" | "delivered" | "picked_up" | "completed" | "cancelled" | "refunded";
|
|
272
282
|
type PaymentState = "not_paid" | "paid" | "partially_refunded" | "refunded";
|
|
273
|
-
type OrderChannel = "qr" | "taker" | "staff" | "web" | "dashboard" | "tap";
|
|
283
|
+
type OrderChannel = "qr" | "taker" | "staff" | "web" | "dashboard" | "tap" | "chat";
|
|
274
284
|
type LineType = "product" | "service" | "bundle" | "composite" | "digital";
|
|
275
285
|
type OrderLineState = "pending" | "in_preparation" | "ready" | "served" | "completed" | {
|
|
276
286
|
partially_served: {
|
|
@@ -350,6 +360,8 @@ interface Order {
|
|
|
350
360
|
applied_discount_codes: string[];
|
|
351
361
|
discount_details?: DiscountDetails;
|
|
352
362
|
delivery_address?: string;
|
|
363
|
+
delivery_fee: Money;
|
|
364
|
+
delivery_fee_details?: DeliveryFeeDetails;
|
|
353
365
|
tracking_token?: string;
|
|
354
366
|
tracking_link?: string;
|
|
355
367
|
pickup_time?: string;
|
|
@@ -363,13 +375,14 @@ interface Order {
|
|
|
363
375
|
cancelled_at?: string;
|
|
364
376
|
table_number?: string;
|
|
365
377
|
room_number?: string;
|
|
378
|
+
resource_id?: string;
|
|
366
379
|
location_id?: string;
|
|
367
380
|
was_placed_by_staff: boolean;
|
|
368
381
|
modified_by_staff: boolean;
|
|
369
382
|
delivery_required: boolean;
|
|
370
383
|
customer_will_pick_up: boolean;
|
|
371
384
|
total_price: Money;
|
|
372
|
-
|
|
385
|
+
subtotal: Money;
|
|
373
386
|
total_discount: Money;
|
|
374
387
|
service_charge?: Money;
|
|
375
388
|
tax?: Money;
|
|
@@ -377,6 +390,7 @@ interface Order {
|
|
|
377
390
|
currency: CurrencyCode;
|
|
378
391
|
bill_token?: string;
|
|
379
392
|
order_group_id?: string;
|
|
393
|
+
subscription_id?: string;
|
|
380
394
|
paid_via_group: boolean;
|
|
381
395
|
amount_to_pay: AmountToPay;
|
|
382
396
|
served_by?: string;
|
|
@@ -391,6 +405,9 @@ interface Order {
|
|
|
391
405
|
balance_due: Money;
|
|
392
406
|
deposit_due_date?: string;
|
|
393
407
|
final_payment_due_date?: string;
|
|
408
|
+
payment_terms_id?: string;
|
|
409
|
+
price_list_id?: string;
|
|
410
|
+
approval_status?: string;
|
|
394
411
|
version: number;
|
|
395
412
|
total_quantity: number;
|
|
396
413
|
items: LineItem[];
|
|
@@ -406,7 +423,9 @@ interface OrderHistory {
|
|
|
406
423
|
modified_at: string;
|
|
407
424
|
metadata?: Record<string, unknown>;
|
|
408
425
|
}
|
|
426
|
+
type OrderGroupStatus = "open" | "in_progress" | "ready_to_pay" | "split" | "partially_paid" | "paid" | "closed";
|
|
409
427
|
type OrderGroupPaymentState = "not_paid" | "partially_paid" | "fully_paid" | "partially_refunded" | "refunded";
|
|
428
|
+
type OrderGroupPaymentStatus = "pending" | "processing" | "completed" | "failed" | "refunded" | "cancelled" | "requires_action" | "disputed";
|
|
410
429
|
interface OrderGroup {
|
|
411
430
|
id: string;
|
|
412
431
|
business_id: string;
|
|
@@ -414,7 +433,7 @@ interface OrderGroup {
|
|
|
414
433
|
table_number: string;
|
|
415
434
|
created_at: string;
|
|
416
435
|
updated_at: string;
|
|
417
|
-
status:
|
|
436
|
+
status: OrderGroupStatus;
|
|
418
437
|
is_split: boolean;
|
|
419
438
|
is_closed: boolean;
|
|
420
439
|
total_amount?: Money;
|
|
@@ -432,7 +451,7 @@ interface OrderGroupPayment {
|
|
|
432
451
|
order_id?: string;
|
|
433
452
|
amount: Money;
|
|
434
453
|
payment_method: string;
|
|
435
|
-
status:
|
|
454
|
+
status: OrderGroupPaymentStatus;
|
|
436
455
|
created_at: string;
|
|
437
456
|
updated_at: string;
|
|
438
457
|
metadata?: Record<string, unknown>;
|
|
@@ -615,6 +634,44 @@ interface LocationAppointment {
|
|
|
615
634
|
assigned_resources: string[];
|
|
616
635
|
service_status: ServiceStatus;
|
|
617
636
|
}
|
|
637
|
+
type ProviderResolutionSource = "zone_config" | "location_default" | "fallback" | "best_price";
|
|
638
|
+
interface DeliveryFeeDetails {
|
|
639
|
+
zone_id: string;
|
|
640
|
+
zone_name: string;
|
|
641
|
+
provider: string;
|
|
642
|
+
provider_resolved_from: ProviderResolutionSource;
|
|
643
|
+
distance_km: Money;
|
|
644
|
+
base_fee: Money;
|
|
645
|
+
per_km_fee: Money;
|
|
646
|
+
surge_multiplier: Money;
|
|
647
|
+
calculated_fee: Money;
|
|
648
|
+
currency: string;
|
|
649
|
+
}
|
|
650
|
+
type RelationType = "upsell" | "cross_sell";
|
|
651
|
+
interface RelatedProduct {
|
|
652
|
+
id: string;
|
|
653
|
+
business_id: string;
|
|
654
|
+
source_product_id: string;
|
|
655
|
+
target_product_id: string;
|
|
656
|
+
relation_type: RelationType;
|
|
657
|
+
is_enabled: boolean;
|
|
658
|
+
display_order: number;
|
|
659
|
+
created_at: string;
|
|
660
|
+
updated_at: string;
|
|
661
|
+
metadata?: Record<string, unknown>;
|
|
662
|
+
}
|
|
663
|
+
interface RelatedCandidate {
|
|
664
|
+
product_id: string;
|
|
665
|
+
relation_type: RelationType;
|
|
666
|
+
source: string;
|
|
667
|
+
score: number;
|
|
668
|
+
is_enabled: boolean;
|
|
669
|
+
display_order: number;
|
|
670
|
+
}
|
|
671
|
+
interface RelatedProductsEnrichment {
|
|
672
|
+
upsells: RelatedCandidate[];
|
|
673
|
+
cross_sells: RelatedCandidate[];
|
|
674
|
+
}
|
|
618
675
|
|
|
619
676
|
declare const CHECKOUT_MODE: {
|
|
620
677
|
readonly LINK: "link";
|
|
@@ -905,6 +962,8 @@ interface CheckoutAddressInfo {
|
|
|
905
962
|
country?: string;
|
|
906
963
|
delivery_instructions?: string;
|
|
907
964
|
phone_for_delivery?: string;
|
|
965
|
+
latitude?: number;
|
|
966
|
+
longitude?: number;
|
|
908
967
|
pickup_time?: string;
|
|
909
968
|
guest_count?: number;
|
|
910
969
|
seating_time?: string;
|
|
@@ -1365,6 +1424,7 @@ interface Service {
|
|
|
1365
1424
|
description?: string;
|
|
1366
1425
|
price?: Money;
|
|
1367
1426
|
duration_minutes: number;
|
|
1427
|
+
duration_unit?: DurationUnit;
|
|
1368
1428
|
image_url?: string | null;
|
|
1369
1429
|
category_id?: string | null;
|
|
1370
1430
|
is_available: boolean;
|
|
@@ -1620,14 +1680,86 @@ interface TrackCategoryViewOptions {
|
|
|
1620
1680
|
categoryName?: string;
|
|
1621
1681
|
pagePath?: string;
|
|
1622
1682
|
}
|
|
1683
|
+
interface SessionMessage {
|
|
1684
|
+
code: string;
|
|
1685
|
+
level: "info" | "promotion" | "urgency" | "suggestion" | string;
|
|
1686
|
+
text: string;
|
|
1687
|
+
metadata?: Record<string, unknown>;
|
|
1688
|
+
dismissible: boolean;
|
|
1689
|
+
}
|
|
1690
|
+
interface SessionActivityData {
|
|
1691
|
+
viewed_products: Array<{
|
|
1692
|
+
product_id: string;
|
|
1693
|
+
product_name?: string;
|
|
1694
|
+
category_id?: string;
|
|
1695
|
+
price?: string;
|
|
1696
|
+
view_count: number;
|
|
1697
|
+
first_viewed_at: string;
|
|
1698
|
+
last_viewed_at: string;
|
|
1699
|
+
}>;
|
|
1700
|
+
viewed_categories: Array<{
|
|
1701
|
+
category_id: string;
|
|
1702
|
+
category_name?: string;
|
|
1703
|
+
view_count: number;
|
|
1704
|
+
last_viewed_at: string;
|
|
1705
|
+
}>;
|
|
1706
|
+
total_product_views: number;
|
|
1707
|
+
unique_products_viewed: number;
|
|
1708
|
+
total_searches: number;
|
|
1709
|
+
total_cart_adds: number;
|
|
1710
|
+
total_cart_removes: number;
|
|
1711
|
+
}
|
|
1712
|
+
interface ActivityStateResponse {
|
|
1713
|
+
activity: SessionActivityData | null;
|
|
1714
|
+
intent: string;
|
|
1715
|
+
messages: SessionMessage[];
|
|
1716
|
+
incentive: {
|
|
1717
|
+
template_id: string;
|
|
1718
|
+
agent_id: string;
|
|
1719
|
+
} | null;
|
|
1720
|
+
}
|
|
1721
|
+
interface ActivityRecommendation {
|
|
1722
|
+
product: Product;
|
|
1723
|
+
reason: string;
|
|
1724
|
+
}
|
|
1725
|
+
interface ActivityRecommendationsResponse {
|
|
1726
|
+
recommendations: ActivityRecommendation[];
|
|
1727
|
+
intent: string;
|
|
1728
|
+
incentive: {
|
|
1729
|
+
template_id: string;
|
|
1730
|
+
agent_id: string;
|
|
1731
|
+
} | null;
|
|
1732
|
+
}
|
|
1733
|
+
interface DismissMessageResponse {
|
|
1734
|
+
dismissed: string;
|
|
1735
|
+
messages: SessionMessage[];
|
|
1736
|
+
}
|
|
1623
1737
|
declare class ActivityService {
|
|
1624
1738
|
private client;
|
|
1625
1739
|
constructor(client: CimplifyClient);
|
|
1626
1740
|
trackProductView(productId: string, options?: TrackProductViewOptions): void;
|
|
1627
1741
|
trackCategoryView(categoryId: string, options?: TrackCategoryViewOptions): void;
|
|
1742
|
+
getState(): Promise<Result<ActivityStateResponse, CimplifyError>>;
|
|
1743
|
+
getRecommendations(options?: {
|
|
1744
|
+
location_id?: string;
|
|
1745
|
+
limit?: number;
|
|
1746
|
+
}): Promise<Result<ActivityRecommendationsResponse, CimplifyError>>;
|
|
1747
|
+
dismissMessage(code: string): Promise<Result<DismissMessageResponse, CimplifyError>>;
|
|
1628
1748
|
private sendEvents;
|
|
1629
1749
|
}
|
|
1630
1750
|
|
|
1751
|
+
interface DeliveryFeeResponse {
|
|
1752
|
+
serviceable: boolean;
|
|
1753
|
+
fee: Money | null;
|
|
1754
|
+
currency: string | null;
|
|
1755
|
+
details: DeliveryFeeDetails | null;
|
|
1756
|
+
}
|
|
1757
|
+
declare class DeliveryService {
|
|
1758
|
+
private client;
|
|
1759
|
+
constructor(client: CimplifyClient);
|
|
1760
|
+
getFee(dropoffLat: number, dropoffLng: number, country?: string): Promise<Result<DeliveryFeeResponse, CimplifyError>>;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1631
1763
|
type OrderType = "delivery" | "pickup" | "dine_in";
|
|
1632
1764
|
declare const ELEMENT_TYPES: {
|
|
1633
1765
|
readonly AUTH: "auth";
|
|
@@ -1995,6 +2127,7 @@ declare class CimplifyClient {
|
|
|
1995
2127
|
private _lite?;
|
|
1996
2128
|
private _fx?;
|
|
1997
2129
|
private _activity?;
|
|
2130
|
+
private _delivery?;
|
|
1998
2131
|
constructor(config?: CimplifyConfig);
|
|
1999
2132
|
getAccessToken(): string | null;
|
|
2000
2133
|
getPublicKey(): string;
|
|
@@ -2038,8 +2171,9 @@ declare class CimplifyClient {
|
|
|
2038
2171
|
get lite(): LiteService;
|
|
2039
2172
|
get fx(): FxService;
|
|
2040
2173
|
get activity(): ActivityService;
|
|
2174
|
+
get delivery(): DeliveryService;
|
|
2041
2175
|
elements(businessId?: string, options?: ElementsOptions): CimplifyElements;
|
|
2042
2176
|
}
|
|
2043
2177
|
declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
|
|
2044
2178
|
|
|
2045
|
-
export { type
|
|
2179
|
+
export { type CheckoutMode as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, type LiteBootstrap as E, type FetchQuoteInput as F, type GetProductsOptions as G, type TableInfo as H, InventoryService as I, CimplifyElements as J, CimplifyElement as K, LinkService as L, createElements as M, MESSAGE_TYPES as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SchedulingService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, EVENT_TYPES as V, ELEMENT_TYPES as W, type ElementsOptions as X, type ElementOptions as Y, type ElementType as Z, type ElementEventType as _, type CimplifyConfig as a, type AmountToPay as a$, type CheckoutOrderType as a0, type CheckoutPaymentMethod as a1, type CheckoutStep as a2, type CheckoutFormData as a3, type CheckoutResult as a4, type NextAction as a5, type ProcessCheckoutOptions as a6, type ProcessCheckoutResult as a7, type ProcessAndResolveOptions as a8, type CheckoutStatus as a9, ok as aA, err as aB, isOk as aC, isErr as aD, mapResult as aE, mapError as aF, flatMap as aG, getOrElse as aH, unwrap as aI, toNullable as aJ, fromPromise as aK, tryCatch as aL, combine as aM, combineObject as aN, type CatalogueResult as aO, type CatalogueSnapshot as aP, type OrderStatus as aQ, type PaymentState as aR, type OrderChannel as aS, type LineType as aT, type OrderLineState as aU, type OrderLineStatus as aV, type FulfillmentType as aW, type FulfillmentStatus as aX, type FulfillmentLink as aY, type OrderFulfillmentSummary as aZ, type FeeBearerType as a_, type CheckoutStatusContext as aa, type AbortablePromise as ab, type MobileMoneyProvider as ac, type DeviceType as ad, type ContactType as ae, CHECKOUT_MODE as af, ORDER_TYPE as ag, PAYMENT_METHOD as ah, CHECKOUT_STEP as ai, PAYMENT_STATE as aj, PICKUP_TIME_TYPE as ak, MOBILE_MONEY_PROVIDER as al, AUTHORIZATION_TYPE as am, DEVICE_TYPE as an, CONTACT_TYPE as ao, LINK_QUERY as ap, LINK_MUTATION as aq, AUTH_MUTATION as ar, CHECKOUT_MUTATION as as, PAYMENT_MUTATION as at, ORDER_MUTATION as au, DEFAULT_CURRENCY as av, DEFAULT_COUNTRY as aw, type Result as ax, type Ok as ay, type Err as az, CatalogueQueries as b, type BookingStatus as b$, type LineItem as b0, type Order as b1, type OrderHistory as b2, type OrderGroupStatus as b3, type OrderGroupPaymentState as b4, type OrderGroupPaymentStatus as b5, type OrderGroup as b6, type OrderGroupPayment as b7, type OrderSplitDetail as b8, type OrderGroupPaymentSummary as b9, type RelationType as bA, type RelatedProduct as bB, type RelatedCandidate as bC, type RelatedProductsEnrichment as bD, type BusinessType as bE, type BusinessPreferences as bF, type Business as bG, type LocationTaxBehavior as bH, type LocationTaxOverrides as bI, type Location as bJ, type TimeRange as bK, type TimeRanges as bL, type LocationTimeProfile as bM, type Table as bN, type Room as bO, type ServiceCharge as bP, type StorefrontBootstrap as bQ, type BusinessWithLocations as bR, type LocationWithDetails as bS, type BusinessSettings as bT, type BusinessHours as bU, type CategoryInfo as bV, type Service as bW, type Staff as bX, type TimeSlot as bY, type AvailableSlot as bZ, type DayAvailability as b_, type OrderGroupDetails as ba, type OrderPaymentEvent as bb, type OrderFilter as bc, type CheckoutInput as bd, type UpdateOrderStatusInput as be, type CancelOrderInput as bf, type RefundOrderInput as bg, type ServiceStatus as bh, type StaffRole as bi, type ReminderMethod as bj, type CustomerServicePreferences as bk, type BufferTimes as bl, type ReminderSettings as bm, type CancellationPolicy as bn, type ServiceNotes as bo, type PricingOverrides as bp, type SchedulingMetadata as bq, type StaffAssignment as br, type ResourceAssignment as bs, type SchedulingResult as bt, type DepositResult as bu, type ServiceScheduleRequest as bv, type StaffScheduleItem as bw, type LocationAppointment as bx, type ProviderResolutionSource as by, type DeliveryFeeDetails as bz, createCimplifyClient as c, type ElementsCheckoutResult as c$, type Booking as c0, type BookingWithDetails as c1, type CustomerBookingServiceItem as c2, type CustomerBooking as c3, type GetAvailableSlotsInput as c4, type CheckSlotAvailabilityInput as c5, type CheckSlotAvailabilityResult as c6, type RescheduleBookingInput as c7, type CancelBookingInput as c8, type CancelBookingResult as c9, type RevokeAllSessionsResult as cA, type RequestOtpInput as cB, type VerifyOtpInput as cC, type AuthResponse as cD, type PickupTimeType as cE, type PickupTime as cF, type CheckoutAddressInfo as cG, type MobileMoneyDetails as cH, type CheckoutCustomerInfo as cI, type FxQuoteRequest as cJ, type FxQuote as cK, type FxRateResponse as cL, type RequestContext as cM, type RequestStartEvent as cN, type RequestSuccessEvent as cO, type RequestErrorEvent as cP, type RetryEvent as cQ, type SessionChangeEvent as cR, type ObservabilityHooks as cS, type OrderType as cT, type ElementAppearance as cU, type AddressInfo as cV, type PaymentMethodInfo as cW, type AuthenticatedCustomer as cX, type ElementsCustomerInfo as cY, type AuthenticatedData as cZ, type ElementsCheckoutData as c_, type RescheduleBookingResult as ca, type ServiceAvailabilityParams as cb, type ServiceAvailabilityResult as cc, type StockStatus as cd, type StockLevel as ce, type ProductStock as cf, type VariantStock as cg, type LocationStock as ch, type AvailabilityResult as ci, type Customer as cj, type CustomerAddress as ck, type CustomerMobileMoney as cl, type CustomerLinkPreferences as cm, type LinkData as cn, type CreateAddressInput as co, type UpdateAddressInput as cp, type CreateMobileMoneyInput as cq, type EnrollmentData as cr, type AddressData as cs, type MobileMoneyData as ct, type EnrollAndLinkOrderInput as cu, type LinkStatusResult as cv, type LinkEnrollResult as cw, type EnrollAndLinkOrderResult as cx, type LinkSession as cy, type RevokeSessionResult as cz, type QuoteBundleSelectionInput as d, type CheckoutCartItem as d0, type CheckoutCartData as d1, type ParentToIframeMessage as d2, type IframeToParentMessage as d3, type ElementEventHandler as d4, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, CheckoutService as k, generateIdempotencyKey as l, type GetOrdersOptions as m, type AuthStatus as n, type OtpResult as o, LiteService as p, FxService as q, ActivityService as r, type TrackCategoryViewOptions as s, type SessionMessage as t, type SessionActivityData as u, type ActivityStateResponse as v, type ActivityRecommendation as w, type ActivityRecommendationsResponse as x, DeliveryService as y, type DeliveryFeeResponse as z };
|