@cimplify/sdk 0.20.2 → 0.22.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.
Files changed (34) hide show
  1. package/dist/advanced.d.mts +2 -2
  2. package/dist/advanced.d.ts +2 -2
  3. package/dist/advanced.js +20 -20
  4. package/dist/advanced.mjs +1 -1
  5. package/dist/{chunk-WXFEO3LT.js → chunk-A7IQN5EK.js} +17 -17
  6. package/dist/{chunk-VTMRPTQ7.mjs → chunk-R4EYMPSN.mjs} +39 -0
  7. package/dist/{chunk-UVBJDWIV.js → chunk-VYSXEDBV.js} +39 -0
  8. package/dist/{chunk-X23RNZAD.mjs → chunk-W3DMONZR.mjs} +1 -1
  9. package/dist/{client-D4E9aJy7.d.mts → client-uvCOGdBp.d.ts} +24 -2
  10. package/dist/{client-VyO6Bqz2.d.ts → client-v1NFqZFG.d.mts} +24 -2
  11. package/dist/index.d.mts +4 -4
  12. package/dist/index.d.ts +4 -4
  13. package/dist/index.js +58 -58
  14. package/dist/index.mjs +2 -2
  15. package/dist/{payment-CKqMU4xT.d.ts → payment-DazihbCY.d.mts} +1 -0
  16. package/dist/{payment-CKqMU4xT.d.mts → payment-DazihbCY.d.ts} +1 -0
  17. package/dist/{price-e4beObLZ.d.ts → price-5_L8WK6Q.d.ts} +1 -1
  18. package/dist/{price-BqV_DjjQ.d.mts → price-BcHVTqqu.d.mts} +1 -1
  19. package/dist/react.d.mts +73 -9
  20. package/dist/react.d.ts +73 -9
  21. package/dist/react.js +329 -114
  22. package/dist/react.mjs +312 -99
  23. package/dist/styles.css +1 -1
  24. package/dist/utils.d.mts +2 -2
  25. package/dist/utils.d.ts +2 -2
  26. package/package.json +1 -1
  27. package/registry/booking-card.json +1 -1
  28. package/registry/booking-page.json +1 -1
  29. package/registry/order-detail-page.json +1 -1
  30. package/registry/order-history-page.json +1 -1
  31. package/registry/order-history.json +1 -1
  32. package/registry/order-summary.json +1 -1
  33. package/registry/product-card.json +1 -1
  34. package/registry/service-card.json +1 -1
@@ -1,5 +1,5 @@
1
- export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, k as CheckoutOperations, k as CheckoutService, K as CimplifyElement, J as CimplifyElements, W as ELEMENT_TYPES, V as EVENT_TYPES, _ as ElementEventType, Y as ElementOptions, Z as ElementType, X as ElementsOptions, F as FetchQuoteInput, q as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, p as LiteService, N as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, M as createElements, l as generateIdempotencyKey } from './client-D4E9aJy7.mjs';
2
- import './payment-CKqMU4xT.mjs';
1
+ export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, M as CimplifyElement, K as CimplifyElements, X as ELEMENT_TYPES, W as EVENT_TYPES, $ as ElementEventType, Z as ElementOptions, _ as ElementType, Y as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, V as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, N as createElements, m as generateIdempotencyKey } from './client-v1NFqZFG.mjs';
2
+ import './payment-DazihbCY.mjs';
3
3
 
4
4
  type Operator = "==" | "!=" | ">" | "<" | ">=" | "<=" | "contains" | "startsWith";
5
5
  type SortOrder = "asc" | "desc";
@@ -1,5 +1,5 @@
1
- export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, k as CheckoutOperations, k as CheckoutService, K as CimplifyElement, J as CimplifyElements, W as ELEMENT_TYPES, V as EVENT_TYPES, _ as ElementEventType, Y as ElementOptions, Z as ElementType, X as ElementsOptions, F as FetchQuoteInput, q as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, p as LiteService, N as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, M as createElements, l as generateIdempotencyKey } from './client-VyO6Bqz2.js';
2
- import './payment-CKqMU4xT.js';
1
+ export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, M as CimplifyElement, K as CimplifyElements, X as ELEMENT_TYPES, W as EVENT_TYPES, $ as ElementEventType, Z as ElementOptions, _ as ElementType, Y as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, V as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, N as createElements, m as generateIdempotencyKey } from './client-uvCOGdBp.js';
2
+ import './payment-DazihbCY.js';
3
3
 
4
4
  type Operator = "==" | "!=" | ">" | "<" | ">=" | "<=" | "contains" | "startsWith";
5
5
  type SortOrder = "asc" | "desc";
package/dist/advanced.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkFLPI2VVJ_js = require('./chunk-FLPI2VVJ.js');
4
- var chunkUVBJDWIV_js = require('./chunk-UVBJDWIV.js');
4
+ var chunkVYSXEDBV_js = require('./chunk-VYSXEDBV.js');
5
5
  require('./chunk-64OCG2TJ.js');
6
6
 
7
7
 
@@ -16,77 +16,77 @@ Object.defineProperty(exports, "query", {
16
16
  });
17
17
  Object.defineProperty(exports, "AuthService", {
18
18
  enumerable: true,
19
- get: function () { return chunkUVBJDWIV_js.AuthService; }
19
+ get: function () { return chunkVYSXEDBV_js.AuthService; }
20
20
  });
21
21
  Object.defineProperty(exports, "BusinessService", {
22
22
  enumerable: true,
23
- get: function () { return chunkUVBJDWIV_js.BusinessService; }
23
+ get: function () { return chunkVYSXEDBV_js.BusinessService; }
24
24
  });
25
25
  Object.defineProperty(exports, "CartOperations", {
26
26
  enumerable: true,
27
- get: function () { return chunkUVBJDWIV_js.CartOperations; }
27
+ get: function () { return chunkVYSXEDBV_js.CartOperations; }
28
28
  });
29
29
  Object.defineProperty(exports, "CatalogueQueries", {
30
30
  enumerable: true,
31
- get: function () { return chunkUVBJDWIV_js.CatalogueQueries; }
31
+ get: function () { return chunkVYSXEDBV_js.CatalogueQueries; }
32
32
  });
33
33
  Object.defineProperty(exports, "CheckoutOperations", {
34
34
  enumerable: true,
35
- get: function () { return chunkUVBJDWIV_js.CheckoutService; }
35
+ get: function () { return chunkVYSXEDBV_js.CheckoutService; }
36
36
  });
37
37
  Object.defineProperty(exports, "CheckoutService", {
38
38
  enumerable: true,
39
- get: function () { return chunkUVBJDWIV_js.CheckoutService; }
39
+ get: function () { return chunkVYSXEDBV_js.CheckoutService; }
40
40
  });
41
41
  Object.defineProperty(exports, "CimplifyElement", {
42
42
  enumerable: true,
43
- get: function () { return chunkUVBJDWIV_js.CimplifyElement; }
43
+ get: function () { return chunkVYSXEDBV_js.CimplifyElement; }
44
44
  });
45
45
  Object.defineProperty(exports, "CimplifyElements", {
46
46
  enumerable: true,
47
- get: function () { return chunkUVBJDWIV_js.CimplifyElements; }
47
+ get: function () { return chunkVYSXEDBV_js.CimplifyElements; }
48
48
  });
49
49
  Object.defineProperty(exports, "ELEMENT_TYPES", {
50
50
  enumerable: true,
51
- get: function () { return chunkUVBJDWIV_js.ELEMENT_TYPES; }
51
+ get: function () { return chunkVYSXEDBV_js.ELEMENT_TYPES; }
52
52
  });
53
53
  Object.defineProperty(exports, "EVENT_TYPES", {
54
54
  enumerable: true,
55
- get: function () { return chunkUVBJDWIV_js.EVENT_TYPES; }
55
+ get: function () { return chunkVYSXEDBV_js.EVENT_TYPES; }
56
56
  });
57
57
  Object.defineProperty(exports, "FxService", {
58
58
  enumerable: true,
59
- get: function () { return chunkUVBJDWIV_js.FxService; }
59
+ get: function () { return chunkVYSXEDBV_js.FxService; }
60
60
  });
61
61
  Object.defineProperty(exports, "InventoryService", {
62
62
  enumerable: true,
63
- get: function () { return chunkUVBJDWIV_js.InventoryService; }
63
+ get: function () { return chunkVYSXEDBV_js.InventoryService; }
64
64
  });
65
65
  Object.defineProperty(exports, "LinkService", {
66
66
  enumerable: true,
67
- get: function () { return chunkUVBJDWIV_js.LinkService; }
67
+ get: function () { return chunkVYSXEDBV_js.LinkService; }
68
68
  });
69
69
  Object.defineProperty(exports, "LiteService", {
70
70
  enumerable: true,
71
- get: function () { return chunkUVBJDWIV_js.LiteService; }
71
+ get: function () { return chunkVYSXEDBV_js.LiteService; }
72
72
  });
73
73
  Object.defineProperty(exports, "MESSAGE_TYPES", {
74
74
  enumerable: true,
75
- get: function () { return chunkUVBJDWIV_js.MESSAGE_TYPES; }
75
+ get: function () { return chunkVYSXEDBV_js.MESSAGE_TYPES; }
76
76
  });
77
77
  Object.defineProperty(exports, "OrderQueries", {
78
78
  enumerable: true,
79
- get: function () { return chunkUVBJDWIV_js.OrderQueries; }
79
+ get: function () { return chunkVYSXEDBV_js.OrderQueries; }
80
80
  });
81
81
  Object.defineProperty(exports, "SchedulingService", {
82
82
  enumerable: true,
83
- get: function () { return chunkUVBJDWIV_js.SchedulingService; }
83
+ get: function () { return chunkVYSXEDBV_js.SchedulingService; }
84
84
  });
85
85
  Object.defineProperty(exports, "createElements", {
86
86
  enumerable: true,
87
- get: function () { return chunkUVBJDWIV_js.createElements; }
87
+ get: function () { return chunkVYSXEDBV_js.createElements; }
88
88
  });
89
89
  Object.defineProperty(exports, "generateIdempotencyKey", {
90
90
  enumerable: true,
91
- get: function () { return chunkUVBJDWIV_js.generateIdempotencyKey; }
91
+ get: function () { return chunkVYSXEDBV_js.generateIdempotencyKey; }
92
92
  });
package/dist/advanced.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  export { QueryBuilder, query } from './chunk-LM3CJ4L7.mjs';
2
- export { AuthService, BusinessService, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LinkService, LiteService, MESSAGE_TYPES, OrderQueries, SchedulingService, createElements, generateIdempotencyKey } from './chunk-VTMRPTQ7.mjs';
2
+ export { AuthService, BusinessService, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LinkService, LiteService, MESSAGE_TYPES, OrderQueries, SchedulingService, createElements, generateIdempotencyKey } from './chunk-R4EYMPSN.mjs';
3
3
  import './chunk-JFT63H34.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUVBJDWIV_js = require('./chunk-UVBJDWIV.js');
3
+ var chunkVYSXEDBV_js = require('./chunk-VYSXEDBV.js');
4
4
  var chunk64OCG2TJ_js = require('./chunk-64OCG2TJ.js');
5
5
 
6
6
  // src/activity.ts
@@ -29,7 +29,7 @@ var ActivityService = class {
29
29
  this.sendEvents([event]);
30
30
  }
31
31
  async getState() {
32
- return chunkUVBJDWIV_js.safe(this.client.get("/api/v1/activity/state"));
32
+ return chunkVYSXEDBV_js.safe(this.client.get("/api/v1/activity/state"));
33
33
  }
34
34
  async getRecommendations(options) {
35
35
  const params = new URLSearchParams();
@@ -37,10 +37,10 @@ var ActivityService = class {
37
37
  if (options?.limit) params.set("limit", String(options.limit));
38
38
  const query = params.toString();
39
39
  const path = query ? `/api/v1/activity/recommendations?${query}` : "/api/v1/activity/recommendations";
40
- return chunkUVBJDWIV_js.safe(this.client.get(path));
40
+ return chunkVYSXEDBV_js.safe(this.client.get(path));
41
41
  }
42
42
  async dismissMessage(code) {
43
- return chunkUVBJDWIV_js.safe(
43
+ return chunkVYSXEDBV_js.safe(
44
44
  this.client.post("/api/v1/activity/messages/dismiss", { code })
45
45
  );
46
46
  }
@@ -66,7 +66,7 @@ var DeliveryService = class {
66
66
  params.set("dropoff_lat", String(dropoffLat));
67
67
  params.set("dropoff_lng", String(dropoffLng));
68
68
  if (country) params.set("country", country);
69
- return chunkUVBJDWIV_js.safe(
69
+ return chunkVYSXEDBV_js.safe(
70
70
  this.client.get(`/api/v1/delivery/fee?${params.toString()}`)
71
71
  );
72
72
  }
@@ -597,67 +597,67 @@ var CimplifyClient = class {
597
597
  }
598
598
  get catalogue() {
599
599
  if (!this._catalogue) {
600
- this._catalogue = new chunkUVBJDWIV_js.CatalogueQueries(this);
600
+ this._catalogue = new chunkVYSXEDBV_js.CatalogueQueries(this);
601
601
  }
602
602
  return this._catalogue;
603
603
  }
604
604
  get cart() {
605
605
  if (!this._cart) {
606
- this._cart = new chunkUVBJDWIV_js.CartOperations(this);
606
+ this._cart = new chunkVYSXEDBV_js.CartOperations(this);
607
607
  }
608
608
  return this._cart;
609
609
  }
610
610
  get checkout() {
611
611
  if (!this._checkout) {
612
- this._checkout = new chunkUVBJDWIV_js.CheckoutService(this);
612
+ this._checkout = new chunkVYSXEDBV_js.CheckoutService(this);
613
613
  }
614
614
  return this._checkout;
615
615
  }
616
616
  get orders() {
617
617
  if (!this._orders) {
618
- this._orders = new chunkUVBJDWIV_js.OrderQueries(this);
618
+ this._orders = new chunkVYSXEDBV_js.OrderQueries(this);
619
619
  }
620
620
  return this._orders;
621
621
  }
622
622
  get link() {
623
623
  if (!this._link) {
624
- this._link = new chunkUVBJDWIV_js.LinkService(this);
624
+ this._link = new chunkVYSXEDBV_js.LinkService(this);
625
625
  }
626
626
  return this._link;
627
627
  }
628
628
  get auth() {
629
629
  if (!this._auth) {
630
- this._auth = new chunkUVBJDWIV_js.AuthService(this);
630
+ this._auth = new chunkVYSXEDBV_js.AuthService(this);
631
631
  }
632
632
  return this._auth;
633
633
  }
634
634
  get business() {
635
635
  if (!this._business) {
636
- this._business = new chunkUVBJDWIV_js.BusinessService(this);
636
+ this._business = new chunkVYSXEDBV_js.BusinessService(this);
637
637
  }
638
638
  return this._business;
639
639
  }
640
640
  get inventory() {
641
641
  if (!this._inventory) {
642
- this._inventory = new chunkUVBJDWIV_js.InventoryService(this);
642
+ this._inventory = new chunkVYSXEDBV_js.InventoryService(this);
643
643
  }
644
644
  return this._inventory;
645
645
  }
646
646
  get scheduling() {
647
647
  if (!this._scheduling) {
648
- this._scheduling = new chunkUVBJDWIV_js.SchedulingService(this);
648
+ this._scheduling = new chunkVYSXEDBV_js.SchedulingService(this);
649
649
  }
650
650
  return this._scheduling;
651
651
  }
652
652
  get lite() {
653
653
  if (!this._lite) {
654
- this._lite = new chunkUVBJDWIV_js.LiteService(this);
654
+ this._lite = new chunkVYSXEDBV_js.LiteService(this);
655
655
  }
656
656
  return this._lite;
657
657
  }
658
658
  get fx() {
659
659
  if (!this._fx) {
660
- this._fx = new chunkUVBJDWIV_js.FxService(this);
660
+ this._fx = new chunkVYSXEDBV_js.FxService(this);
661
661
  }
662
662
  return this._fx;
663
663
  }
@@ -677,7 +677,7 @@ var CimplifyClient = class {
677
677
  if (businessId) {
678
678
  this.setBusinessId(businessId);
679
679
  }
680
- return chunkUVBJDWIV_js.createElements(this, businessId ?? this.businessId ?? void 0, options);
680
+ return chunkVYSXEDBV_js.createElements(this, businessId ?? this.businessId ?? void 0, options);
681
681
  }
682
682
  };
683
683
  function createCimplifyClient(config = {}) {
@@ -560,6 +560,25 @@ var CatalogueQueries = class {
560
560
  };
561
561
 
562
562
  // src/cart.ts
563
+ function lineItemToCartInput(item) {
564
+ const config = item.configuration;
565
+ const input = {
566
+ item_id: item.product_id,
567
+ quantity: item.quantity
568
+ };
569
+ if (config.variant) {
570
+ input.variant_id = config.variant.variant_id;
571
+ }
572
+ if (config.add_ons && config.add_ons.selected_options.length > 0) {
573
+ input.add_on_options = config.add_ons.selected_options.map((o) => o.option_id);
574
+ }
575
+ if (config.type === "bundle") {
576
+ input.bundle_selections = config.input;
577
+ } else if (config.type === "composite") {
578
+ input.composite_selections = config.input;
579
+ }
580
+ return input;
581
+ }
563
582
  function isUICartResponse(value) {
564
583
  return "cart" in value;
565
584
  }
@@ -636,6 +655,26 @@ var CartOperations = class {
636
655
  async removeCoupon() {
637
656
  return safe(this.client.delete("/api/v1/cart/coupons/current"));
638
657
  }
658
+ async reorderFromOrder(orderId) {
659
+ const orderResult = await this.client.orders.get(orderId);
660
+ if (!orderResult.ok) return orderResult;
661
+ const order = orderResult.value;
662
+ if (!order.items || order.items.length === 0) {
663
+ return ok({ added: [], failed: [] });
664
+ }
665
+ const added = [];
666
+ const failed = [];
667
+ for (const item of order.items) {
668
+ const input = lineItemToCartInput(item);
669
+ const result = await this.addItem(input);
670
+ if (result.ok) {
671
+ added.push({ item_id: input.item_id });
672
+ } else {
673
+ failed.push({ item_id: input.item_id, error: result.error });
674
+ }
675
+ }
676
+ return ok({ added, failed });
677
+ }
639
678
  async isEmpty() {
640
679
  const countResult = await this.getCount();
641
680
  if (!countResult.ok) return countResult;
@@ -562,6 +562,25 @@ var CatalogueQueries = class {
562
562
  };
563
563
 
564
564
  // src/cart.ts
565
+ function lineItemToCartInput(item) {
566
+ const config = item.configuration;
567
+ const input = {
568
+ item_id: item.product_id,
569
+ quantity: item.quantity
570
+ };
571
+ if (config.variant) {
572
+ input.variant_id = config.variant.variant_id;
573
+ }
574
+ if (config.add_ons && config.add_ons.selected_options.length > 0) {
575
+ input.add_on_options = config.add_ons.selected_options.map((o) => o.option_id);
576
+ }
577
+ if (config.type === "bundle") {
578
+ input.bundle_selections = config.input;
579
+ } else if (config.type === "composite") {
580
+ input.composite_selections = config.input;
581
+ }
582
+ return input;
583
+ }
565
584
  function isUICartResponse(value) {
566
585
  return "cart" in value;
567
586
  }
@@ -638,6 +657,26 @@ var CartOperations = class {
638
657
  async removeCoupon() {
639
658
  return safe(this.client.delete("/api/v1/cart/coupons/current"));
640
659
  }
660
+ async reorderFromOrder(orderId) {
661
+ const orderResult = await this.client.orders.get(orderId);
662
+ if (!orderResult.ok) return orderResult;
663
+ const order = orderResult.value;
664
+ if (!order.items || order.items.length === 0) {
665
+ return ok({ added: [], failed: [] });
666
+ }
667
+ const added = [];
668
+ const failed = [];
669
+ for (const item of order.items) {
670
+ const input = lineItemToCartInput(item);
671
+ const result = await this.addItem(input);
672
+ if (result.ok) {
673
+ added.push({ item_id: input.item_id });
674
+ } else {
675
+ failed.push({ item_id: input.item_id, error: result.error });
676
+ }
677
+ }
678
+ return ok({ added, failed });
679
+ }
641
680
  async isEmpty() {
642
681
  const countResult = await this.getCount();
643
682
  if (!countResult.ok) return countResult;
@@ -1,4 +1,4 @@
1
- import { safe, CatalogueQueries, CartOperations, CheckoutService, OrderQueries, LinkService, AuthService, BusinessService, InventoryService, SchedulingService, LiteService, FxService, createElements } from './chunk-VTMRPTQ7.mjs';
1
+ import { safe, CatalogueQueries, CartOperations, CheckoutService, OrderQueries, LinkService, AuthService, BusinessService, InventoryService, SchedulingService, LiteService, FxService, createElements } from './chunk-R4EYMPSN.mjs';
2
2
  import { CimplifyError, ErrorCode, enrichError } from './chunk-JFT63H34.mjs';
3
3
 
4
4
  // src/activity.ts
@@ -1,4 +1,4 @@
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';
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-DazihbCY.js';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -257,6 +257,15 @@ declare class CatalogueQueries {
257
257
  getKnowledgeArticles(): Promise<Result<KnowledgeArticle[], CimplifyError>>;
258
258
  }
259
259
 
260
+ interface ReorderResult {
261
+ added: {
262
+ item_id: string;
263
+ }[];
264
+ failed: {
265
+ item_id: string;
266
+ error: CimplifyError;
267
+ }[];
268
+ }
260
269
  declare class CartOperations {
261
270
  private client;
262
271
  constructor(client: CimplifyClient);
@@ -273,6 +282,7 @@ declare class CartOperations {
273
282
  clear(): Promise<Result<Cart, CimplifyError>>;
274
283
  applyCoupon(code: string): Promise<Result<Cart, CimplifyError>>;
275
284
  removeCoupon(): Promise<Result<Cart, CimplifyError>>;
285
+ reorderFromOrder(orderId: string): Promise<Result<ReorderResult, CimplifyError>>;
276
286
  isEmpty(): Promise<Result<boolean, CimplifyError>>;
277
287
  hasItem(productId: string, variantId?: string): Promise<Result<boolean, CimplifyError>>;
278
288
  findItem(productId: string, variantId?: string): Promise<Result<CartItem | undefined, CimplifyError>>;
@@ -1457,9 +1467,21 @@ interface TimeSlot {
1457
1467
  staff_name?: string;
1458
1468
  remaining_capacity?: number;
1459
1469
  }
1470
+ interface SlotResourceInfo {
1471
+ resource_id: string;
1472
+ name: string;
1473
+ resource_type: string;
1474
+ }
1475
+ interface SlotStaffInfo {
1476
+ staff_id: string;
1477
+ name: string;
1478
+ }
1460
1479
  interface AvailableSlot extends TimeSlot {
1461
1480
  price?: Money;
1462
1481
  duration_minutes?: number;
1482
+ available_staff?: SlotStaffInfo[];
1483
+ available_resources?: SlotResourceInfo[];
1484
+ capacity_available?: number;
1463
1485
  }
1464
1486
  interface DayAvailability {
1465
1487
  date: string;
@@ -2176,4 +2198,4 @@ declare class CimplifyClient {
2176
2198
  }
2177
2199
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2178
2200
 
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 };
2201
+ export { type ElementEventType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, type DeliveryFeeResponse as E, type FetchQuoteInput as F, type GetProductsOptions as G, type LiteBootstrap as H, InventoryService as I, type TableInfo as J, CimplifyElements as K, LinkService as L, CimplifyElement as M, createElements 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, MESSAGE_TYPES as V, EVENT_TYPES as W, ELEMENT_TYPES as X, type ElementsOptions as Y, type ElementOptions as Z, type ElementType as _, type CimplifyConfig as a, type FeeBearerType as a$, type CheckoutMode as a0, type CheckoutOrderType as a1, type CheckoutPaymentMethod as a2, type CheckoutStep as a3, type CheckoutFormData as a4, type CheckoutResult as a5, type NextAction as a6, type ProcessCheckoutOptions as a7, type ProcessCheckoutResult as a8, type ProcessAndResolveOptions as a9, type Err as aA, ok as aB, err as aC, isOk as aD, isErr as aE, mapResult as aF, mapError as aG, flatMap as aH, getOrElse as aI, unwrap as aJ, toNullable as aK, fromPromise as aL, tryCatch as aM, combine as aN, combineObject as aO, type CatalogueResult as aP, type CatalogueSnapshot as aQ, type OrderStatus as aR, type PaymentState as aS, type OrderChannel as aT, type LineType as aU, type OrderLineState as aV, type OrderLineStatus as aW, type FulfillmentType as aX, type FulfillmentStatus as aY, type FulfillmentLink as aZ, type OrderFulfillmentSummary as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type AbortablePromise as ac, type MobileMoneyProvider as ad, type DeviceType as ae, type ContactType as af, CHECKOUT_MODE as ag, ORDER_TYPE as ah, PAYMENT_METHOD as ai, CHECKOUT_STEP as aj, PAYMENT_STATE as ak, PICKUP_TIME_TYPE as al, MOBILE_MONEY_PROVIDER as am, AUTHORIZATION_TYPE as an, DEVICE_TYPE as ao, CONTACT_TYPE as ap, LINK_QUERY as aq, LINK_MUTATION as ar, AUTH_MUTATION as as, CHECKOUT_MUTATION as at, PAYMENT_MUTATION as au, ORDER_MUTATION as av, DEFAULT_CURRENCY as aw, DEFAULT_COUNTRY as ax, type Result as ay, type Ok as az, CatalogueQueries as b, type SlotStaffInfo as b$, type AmountToPay as b0, type LineItem as b1, type Order as b2, type OrderHistory as b3, type OrderGroupStatus as b4, type OrderGroupPaymentState as b5, type OrderGroupPaymentStatus as b6, type OrderGroup as b7, type OrderGroupPayment as b8, type OrderSplitDetail as b9, type DeliveryFeeDetails as bA, type RelationType as bB, type RelatedProduct as bC, type RelatedCandidate as bD, type RelatedProductsEnrichment as bE, type BusinessType as bF, type BusinessPreferences as bG, type Business as bH, type LocationTaxBehavior as bI, type LocationTaxOverrides as bJ, type Location as bK, type TimeRange as bL, type TimeRanges as bM, type LocationTimeProfile as bN, type Table as bO, type Room as bP, type ServiceCharge as bQ, type StorefrontBootstrap as bR, type BusinessWithLocations as bS, type LocationWithDetails as bT, type BusinessSettings as bU, type BusinessHours as bV, type CategoryInfo as bW, type Service as bX, type Staff as bY, type TimeSlot as bZ, type SlotResourceInfo as b_, type OrderGroupPaymentSummary as ba, type OrderGroupDetails as bb, type OrderPaymentEvent as bc, type OrderFilter as bd, type CheckoutInput as be, type UpdateOrderStatusInput as bf, type CancelOrderInput as bg, type RefundOrderInput as bh, type ServiceStatus as bi, type StaffRole as bj, type ReminderMethod as bk, type CustomerServicePreferences as bl, type BufferTimes as bm, type ReminderSettings as bn, type CancellationPolicy as bo, type ServiceNotes as bp, type PricingOverrides as bq, type SchedulingMetadata as br, type StaffAssignment as bs, type ResourceAssignment as bt, type SchedulingResult as bu, type DepositResult as bv, type ServiceScheduleRequest as bw, type StaffScheduleItem as bx, type LocationAppointment as by, type ProviderResolutionSource as bz, createCimplifyClient as c, type ElementsCustomerInfo as c$, type AvailableSlot as c0, type DayAvailability as c1, type BookingStatus as c2, type Booking as c3, type BookingWithDetails as c4, type CustomerBookingServiceItem as c5, type CustomerBooking as c6, type GetAvailableSlotsInput as c7, type CheckSlotAvailabilityInput as c8, type CheckSlotAvailabilityResult as c9, type EnrollAndLinkOrderResult as cA, type LinkSession as cB, type RevokeSessionResult as cC, type RevokeAllSessionsResult as cD, type RequestOtpInput as cE, type VerifyOtpInput as cF, type AuthResponse as cG, type PickupTimeType as cH, type PickupTime as cI, type CheckoutAddressInfo as cJ, type MobileMoneyDetails as cK, type CheckoutCustomerInfo as cL, type FxQuoteRequest as cM, type FxQuote as cN, type FxRateResponse as cO, type RequestContext as cP, type RequestStartEvent as cQ, type RequestSuccessEvent as cR, type RequestErrorEvent as cS, type RetryEvent as cT, type SessionChangeEvent as cU, type ObservabilityHooks as cV, type OrderType as cW, type ElementAppearance as cX, type AddressInfo as cY, type PaymentMethodInfo as cZ, type AuthenticatedCustomer as c_, type RescheduleBookingInput as ca, type CancelBookingInput as cb, type CancelBookingResult as cc, type RescheduleBookingResult as cd, type ServiceAvailabilityParams as ce, type ServiceAvailabilityResult as cf, type StockStatus as cg, type StockLevel as ch, type ProductStock as ci, type VariantStock as cj, type LocationStock as ck, type AvailabilityResult as cl, type Customer as cm, type CustomerAddress as cn, type CustomerMobileMoney as co, type CustomerLinkPreferences as cp, type LinkData as cq, type CreateAddressInput as cr, type UpdateAddressInput as cs, type CreateMobileMoneyInput as ct, type EnrollmentData as cu, type AddressData as cv, type MobileMoneyData as cw, type EnrollAndLinkOrderInput as cx, type LinkStatusResult as cy, type LinkEnrollResult as cz, type QuoteBundleSelectionInput as d, type AuthenticatedData as d0, type ElementsCheckoutData as d1, type ElementsCheckoutResult as d2, type CheckoutCartItem as d3, type CheckoutCartData as d4, type ParentToIframeMessage as d5, type IframeToParentMessage as d6, type ElementEventHandler as d7, 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, LiteService as q, FxService as r, ActivityService as s, type TrackCategoryViewOptions as t, type SessionMessage as u, type SessionActivityData as v, type ActivityStateResponse as w, type ActivityRecommendation as x, type ActivityRecommendationsResponse as y, DeliveryService as z };
@@ -1,4 +1,4 @@
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';
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-DazihbCY.mjs';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -257,6 +257,15 @@ declare class CatalogueQueries {
257
257
  getKnowledgeArticles(): Promise<Result<KnowledgeArticle[], CimplifyError>>;
258
258
  }
259
259
 
260
+ interface ReorderResult {
261
+ added: {
262
+ item_id: string;
263
+ }[];
264
+ failed: {
265
+ item_id: string;
266
+ error: CimplifyError;
267
+ }[];
268
+ }
260
269
  declare class CartOperations {
261
270
  private client;
262
271
  constructor(client: CimplifyClient);
@@ -273,6 +282,7 @@ declare class CartOperations {
273
282
  clear(): Promise<Result<Cart, CimplifyError>>;
274
283
  applyCoupon(code: string): Promise<Result<Cart, CimplifyError>>;
275
284
  removeCoupon(): Promise<Result<Cart, CimplifyError>>;
285
+ reorderFromOrder(orderId: string): Promise<Result<ReorderResult, CimplifyError>>;
276
286
  isEmpty(): Promise<Result<boolean, CimplifyError>>;
277
287
  hasItem(productId: string, variantId?: string): Promise<Result<boolean, CimplifyError>>;
278
288
  findItem(productId: string, variantId?: string): Promise<Result<CartItem | undefined, CimplifyError>>;
@@ -1457,9 +1467,21 @@ interface TimeSlot {
1457
1467
  staff_name?: string;
1458
1468
  remaining_capacity?: number;
1459
1469
  }
1470
+ interface SlotResourceInfo {
1471
+ resource_id: string;
1472
+ name: string;
1473
+ resource_type: string;
1474
+ }
1475
+ interface SlotStaffInfo {
1476
+ staff_id: string;
1477
+ name: string;
1478
+ }
1460
1479
  interface AvailableSlot extends TimeSlot {
1461
1480
  price?: Money;
1462
1481
  duration_minutes?: number;
1482
+ available_staff?: SlotStaffInfo[];
1483
+ available_resources?: SlotResourceInfo[];
1484
+ capacity_available?: number;
1463
1485
  }
1464
1486
  interface DayAvailability {
1465
1487
  date: string;
@@ -2176,4 +2198,4 @@ declare class CimplifyClient {
2176
2198
  }
2177
2199
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2178
2200
 
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 };
2201
+ export { type ElementEventType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, type DeliveryFeeResponse as E, type FetchQuoteInput as F, type GetProductsOptions as G, type LiteBootstrap as H, InventoryService as I, type TableInfo as J, CimplifyElements as K, LinkService as L, CimplifyElement as M, createElements 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, MESSAGE_TYPES as V, EVENT_TYPES as W, ELEMENT_TYPES as X, type ElementsOptions as Y, type ElementOptions as Z, type ElementType as _, type CimplifyConfig as a, type FeeBearerType as a$, type CheckoutMode as a0, type CheckoutOrderType as a1, type CheckoutPaymentMethod as a2, type CheckoutStep as a3, type CheckoutFormData as a4, type CheckoutResult as a5, type NextAction as a6, type ProcessCheckoutOptions as a7, type ProcessCheckoutResult as a8, type ProcessAndResolveOptions as a9, type Err as aA, ok as aB, err as aC, isOk as aD, isErr as aE, mapResult as aF, mapError as aG, flatMap as aH, getOrElse as aI, unwrap as aJ, toNullable as aK, fromPromise as aL, tryCatch as aM, combine as aN, combineObject as aO, type CatalogueResult as aP, type CatalogueSnapshot as aQ, type OrderStatus as aR, type PaymentState as aS, type OrderChannel as aT, type LineType as aU, type OrderLineState as aV, type OrderLineStatus as aW, type FulfillmentType as aX, type FulfillmentStatus as aY, type FulfillmentLink as aZ, type OrderFulfillmentSummary as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type AbortablePromise as ac, type MobileMoneyProvider as ad, type DeviceType as ae, type ContactType as af, CHECKOUT_MODE as ag, ORDER_TYPE as ah, PAYMENT_METHOD as ai, CHECKOUT_STEP as aj, PAYMENT_STATE as ak, PICKUP_TIME_TYPE as al, MOBILE_MONEY_PROVIDER as am, AUTHORIZATION_TYPE as an, DEVICE_TYPE as ao, CONTACT_TYPE as ap, LINK_QUERY as aq, LINK_MUTATION as ar, AUTH_MUTATION as as, CHECKOUT_MUTATION as at, PAYMENT_MUTATION as au, ORDER_MUTATION as av, DEFAULT_CURRENCY as aw, DEFAULT_COUNTRY as ax, type Result as ay, type Ok as az, CatalogueQueries as b, type SlotStaffInfo as b$, type AmountToPay as b0, type LineItem as b1, type Order as b2, type OrderHistory as b3, type OrderGroupStatus as b4, type OrderGroupPaymentState as b5, type OrderGroupPaymentStatus as b6, type OrderGroup as b7, type OrderGroupPayment as b8, type OrderSplitDetail as b9, type DeliveryFeeDetails as bA, type RelationType as bB, type RelatedProduct as bC, type RelatedCandidate as bD, type RelatedProductsEnrichment as bE, type BusinessType as bF, type BusinessPreferences as bG, type Business as bH, type LocationTaxBehavior as bI, type LocationTaxOverrides as bJ, type Location as bK, type TimeRange as bL, type TimeRanges as bM, type LocationTimeProfile as bN, type Table as bO, type Room as bP, type ServiceCharge as bQ, type StorefrontBootstrap as bR, type BusinessWithLocations as bS, type LocationWithDetails as bT, type BusinessSettings as bU, type BusinessHours as bV, type CategoryInfo as bW, type Service as bX, type Staff as bY, type TimeSlot as bZ, type SlotResourceInfo as b_, type OrderGroupPaymentSummary as ba, type OrderGroupDetails as bb, type OrderPaymentEvent as bc, type OrderFilter as bd, type CheckoutInput as be, type UpdateOrderStatusInput as bf, type CancelOrderInput as bg, type RefundOrderInput as bh, type ServiceStatus as bi, type StaffRole as bj, type ReminderMethod as bk, type CustomerServicePreferences as bl, type BufferTimes as bm, type ReminderSettings as bn, type CancellationPolicy as bo, type ServiceNotes as bp, type PricingOverrides as bq, type SchedulingMetadata as br, type StaffAssignment as bs, type ResourceAssignment as bt, type SchedulingResult as bu, type DepositResult as bv, type ServiceScheduleRequest as bw, type StaffScheduleItem as bx, type LocationAppointment as by, type ProviderResolutionSource as bz, createCimplifyClient as c, type ElementsCustomerInfo as c$, type AvailableSlot as c0, type DayAvailability as c1, type BookingStatus as c2, type Booking as c3, type BookingWithDetails as c4, type CustomerBookingServiceItem as c5, type CustomerBooking as c6, type GetAvailableSlotsInput as c7, type CheckSlotAvailabilityInput as c8, type CheckSlotAvailabilityResult as c9, type EnrollAndLinkOrderResult as cA, type LinkSession as cB, type RevokeSessionResult as cC, type RevokeAllSessionsResult as cD, type RequestOtpInput as cE, type VerifyOtpInput as cF, type AuthResponse as cG, type PickupTimeType as cH, type PickupTime as cI, type CheckoutAddressInfo as cJ, type MobileMoneyDetails as cK, type CheckoutCustomerInfo as cL, type FxQuoteRequest as cM, type FxQuote as cN, type FxRateResponse as cO, type RequestContext as cP, type RequestStartEvent as cQ, type RequestSuccessEvent as cR, type RequestErrorEvent as cS, type RetryEvent as cT, type SessionChangeEvent as cU, type ObservabilityHooks as cV, type OrderType as cW, type ElementAppearance as cX, type AddressInfo as cY, type PaymentMethodInfo as cZ, type AuthenticatedCustomer as c_, type RescheduleBookingInput as ca, type CancelBookingInput as cb, type CancelBookingResult as cc, type RescheduleBookingResult as cd, type ServiceAvailabilityParams as ce, type ServiceAvailabilityResult as cf, type StockStatus as cg, type StockLevel as ch, type ProductStock as ci, type VariantStock as cj, type LocationStock as ck, type AvailabilityResult as cl, type Customer as cm, type CustomerAddress as cn, type CustomerMobileMoney as co, type CustomerLinkPreferences as cp, type LinkData as cq, type CreateAddressInput as cr, type UpdateAddressInput as cs, type CreateMobileMoneyInput as ct, type EnrollmentData as cu, type AddressData as cv, type MobileMoneyData as cw, type EnrollAndLinkOrderInput as cx, type LinkStatusResult as cy, type LinkEnrollResult as cz, type QuoteBundleSelectionInput as d, type AuthenticatedData as d0, type ElementsCheckoutData as d1, type ElementsCheckoutResult as d2, type CheckoutCartItem as d3, type CheckoutCartData as d4, type ParentToIframeMessage as d5, type IframeToParentMessage as d6, type ElementEventHandler as d7, 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, LiteService as q, FxService as r, ActivityService as s, type TrackCategoryViewOptions as t, type SessionMessage as u, type SessionActivityData as v, type ActivityStateResponse as w, type ActivityRecommendation as x, type ActivityRecommendationsResponse as y, DeliveryService as z };