@cimplify/sdk 0.45.0 → 0.45.2

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 (38) hide show
  1. package/dist/advanced.d.mts +1 -1
  2. package/dist/advanced.d.ts +1 -1
  3. package/dist/{chunk-W72W6M6M.mjs → chunk-EMEUSFSR.mjs} +32 -12
  4. package/dist/{chunk-GCSZYC5C.js → chunk-F4CGIOIJ.js} +32 -12
  5. package/dist/{chunk-T4E4R4YG.js → chunk-JNXCY43J.js} +2 -2
  6. package/dist/{chunk-D3TVW7JP.mjs → chunk-YVIIBCJR.mjs} +1 -1
  7. package/dist/{client-5B9IPDmf.d.ts → client-Bsd4Vi_y.d.ts} +1 -0
  8. package/dist/{client-CpVMRI8V.d.mts → client-C5LcbNxL.d.mts} +1 -0
  9. package/dist/{client-DMhRxuzm.d.ts → client-DjzIoewX.d.ts} +1 -1
  10. package/dist/{client-Cwb1sMr3.d.mts → client-EM8xKCPO.d.mts} +1 -1
  11. package/dist/index.d.mts +1 -1
  12. package/dist/index.d.ts +1 -1
  13. package/dist/mock/cli.mjs +32 -12
  14. package/dist/mock/library.js +32 -12
  15. package/dist/mock/library.mjs +32 -12
  16. package/dist/mock/msw.js +32 -12
  17. package/dist/mock/msw.mjs +32 -12
  18. package/dist/react.d.mts +120 -45
  19. package/dist/react.d.ts +120 -45
  20. package/dist/react.js +453 -97
  21. package/dist/react.mjs +452 -98
  22. package/dist/server.d.mts +2 -2
  23. package/dist/server.d.ts +2 -2
  24. package/dist/styles.css +2 -2
  25. package/dist/testing/msw.js +2 -2
  26. package/dist/testing/msw.mjs +1 -1
  27. package/dist/testing/suite.d.mts +2 -2
  28. package/dist/testing/suite.d.ts +2 -2
  29. package/dist/testing/suite.js +21 -21
  30. package/dist/testing/suite.mjs +2 -2
  31. package/dist/testing.d.mts +2 -2
  32. package/dist/testing.d.ts +2 -2
  33. package/dist/testing.js +77 -77
  34. package/dist/testing.mjs +3 -3
  35. package/package.json +1 -1
  36. package/registry/booking-page.json +19 -0
  37. package/registry/bookings-page.json +17 -0
  38. package/registry/index.json +24 -0
@@ -1,4 +1,4 @@
1
- export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, a6 as CimplifyElement, a5 as CimplifyElements, aa as ELEMENT_TYPES, a9 as EVENT_TYPES, ae as ElementEventType, ac as ElementOptions, ad as ElementType, ab as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, a8 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, p as SchedulingService, a7 as createElements } from './client-CpVMRI8V.mjs';
1
+ export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, a6 as CimplifyElement, a5 as CimplifyElements, aa as ELEMENT_TYPES, a9 as EVENT_TYPES, ae as ElementEventType, ac as ElementOptions, ad as ElementType, ab as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, a8 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, p as SchedulingService, a7 as createElements } from './client-C5LcbNxL.mjs';
2
2
  import './payment-4JSLNTVM.mjs';
3
3
 
4
4
  declare function generateIdempotencyKey(prefix?: string): string;
@@ -1,4 +1,4 @@
1
- export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, a6 as CimplifyElement, a5 as CimplifyElements, aa as ELEMENT_TYPES, a9 as EVENT_TYPES, ae as ElementEventType, ac as ElementOptions, ad as ElementType, ab as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, a8 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, p as SchedulingService, a7 as createElements } from './client-5B9IPDmf.js';
1
+ export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, a6 as CimplifyElement, a5 as CimplifyElements, aa as ELEMENT_TYPES, a9 as EVENT_TYPES, ae as ElementEventType, ac as ElementOptions, ad as ElementType, ab as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, a8 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, p as SchedulingService, a7 as createElements } from './client-Bsd4Vi_y.js';
2
2
  import './payment-4JSLNTVM.js';
3
3
 
4
4
  declare function generateIdempotencyKey(prefix?: string): string;
@@ -5674,17 +5674,15 @@ function createLinkService({ clock, ids }) {
5674
5674
  }
5675
5675
 
5676
5676
  // src/mock/seeds/image.ts
5677
- var CIMPLIFY_CDN_BASE_URL = "https://static-tmp.cimplify.io";
5678
- function seedImage(industry, slug, unsplashId, size = 800) {
5679
- {
5680
- return `${CIMPLIFY_CDN_BASE_URL}/seed/${industry}/${slug}.jpg`;
5681
- }
5677
+ var CDN_BASE_URL = "https://static-tmp.cimplify.io";
5678
+ function seedImage(industry, photoId) {
5679
+ return `${CDN_BASE_URL}/seed/${industry}/${photoId}.jpg`;
5682
5680
  }
5683
5681
 
5684
5682
  // src/mock/seeds/default.ts
5685
5683
  var ISO = "2026-01-01T00:00:00.000Z";
5686
5684
  var BUSINESS_ID = "bus_default_akua_bakery";
5687
- var img = (id) => seedImage("bakery", id);
5685
+ var img = (photoId) => seedImage("bakery", photoId);
5688
5686
  function makeProduct(input, categoryIds) {
5689
5687
  const catId = categoryIds.get(input.category);
5690
5688
  return {
@@ -7062,7 +7060,7 @@ var PHOTO = {
7062
7060
  feast: "1559847844-5315695dadae",
7063
7061
  byo: "1551782450-a2132b4ba21d"
7064
7062
  };
7065
- var photoFor = (slug) => seedImage("restaurant", slug, PHOTO[slug] ?? "1414235077428-338989a2e8c0");
7063
+ var photoFor = (slug) => seedImage("restaurant", PHOTO[slug] ?? "1414235077428-338989a2e8c0");
7066
7064
  function seedRestaurant(registry) {
7067
7065
  const businessId = "bus_mamas_kitchen";
7068
7066
  const business = {
@@ -7522,7 +7520,29 @@ function seedRestaurant(registry) {
7522
7520
 
7523
7521
  // src/mock/seeds/retail.ts
7524
7522
  var ISO5 = "2026-01-01T00:00:00.000Z";
7525
- var photoFor2 = (slug) => seedImage("retail", slug);
7523
+ var PHOTO2 = {
7524
+ "android-flagship": "1592750475338-74b7b21085ab",
7525
+ "android-mid": "1511707171634-5f897ff02aa9",
7526
+ "phone-budget": "1574944985070-8f3ebc6b79d2",
7527
+ "laptop-pro": "1517336714731-489689fd1ca8",
7528
+ "laptop-air": "1496181133206-80ce9b88a853",
7529
+ "laptop-budget": "1601784551446-20c9e07cdbdb",
7530
+ "headphones-anc": "1505740420928-5e560c06d30e",
7531
+ "earbuds-pro": "1572569511254-d8f925fe2cbb",
7532
+ "speaker-bt": "1612287230202-1ff1d85d1bdf",
7533
+ "phone-case": "1611532736597-de2d4265fba3",
7534
+ "screen-protector": "1568952433726-3896e3881c65",
7535
+ "fast-charger": "1620794108219-aedbaded4eea",
7536
+ "laptop-sleeve": "1604671801908-6f0c6a092c05",
7537
+ "wireless-mouse": "1594732832278-abd644401426",
7538
+ "mech-keyboard": "1583394838336-acd977736f90",
7539
+ "gaming-controller": "1542751371-adc38448a05e",
7540
+ "gaming-headset": "1606220945770-b5b6c2c55bf1",
7541
+ "console-handheld": "1593642634524-b40b5baae6bb",
7542
+ wfh: "1605236453806-6ff36851218e",
7543
+ "game-pack": "1606144042614-b2417e99c4e3"
7544
+ };
7545
+ var photoFor2 = (slug) => seedImage("retail", PHOTO2[slug] ?? "1517336714731-489689fd1ca8");
7526
7546
  function seedRetail(registry) {
7527
7547
  const businessId = "bus_currents_electronics";
7528
7548
  const business = {
@@ -8017,7 +8037,7 @@ var PHOTO3 = {
8017
8037
  couples: "1591343395082-e120087004b4",
8018
8038
  custom: "1540555700478-4be289fbecef"
8019
8039
  };
8020
- var photoFor3 = (slug) => seedImage("services", slug, PHOTO3[slug] ?? "1540555700478-4be289fbecef");
8040
+ var photoFor3 = (slug) => seedImage("services", PHOTO3[slug] ?? "1540555700478-4be289fbecef");
8021
8041
  function seedServices(registry) {
8022
8042
  const businessId = "bus_serene_spa";
8023
8043
  const business = {
@@ -8425,7 +8445,7 @@ var PHOTO4 = {
8425
8445
  "trash-bags": "1605600659908-0ef719419d41",
8426
8446
  essentials: "1542838132-92c53300491e"
8427
8447
  };
8428
- var photoFor4 = (slug) => seedImage("grocery", slug, PHOTO4[slug] ?? "1542838132-92c53300491e");
8448
+ var photoFor4 = (slug) => seedImage("grocery", PHOTO4[slug] ?? "1542838132-92c53300491e");
8429
8449
  function seedGrocery(registry) {
8430
8450
  const businessId = "bus_freshmart";
8431
8451
  const business = {
@@ -8704,7 +8724,7 @@ var PHOTO5 = {
8704
8724
  "knit-beanie": "1542838132-92c53300491e",
8705
8725
  "studio-sock-3pack": "1602810318383-e386cc2a3ccf"
8706
8726
  };
8707
- var photoFor5 = (slug) => seedImage("fashion", slug, PHOTO5[slug] ?? "1556905055-8f358a7a47b2", 900);
8727
+ var photoFor5 = (slug) => seedImage("fashion", PHOTO5[slug] ?? "1556905055-8f358a7a47b2");
8708
8728
  var SIZES = ["XS", "S", "M", "L", "XL", "2XL"];
8709
8729
  function seedFashion(registry) {
8710
8730
  const businessId = "bus_studio_frx";
@@ -8719,7 +8739,7 @@ function seedFashion(registry) {
8719
8739
  default_address: "Osu Oxford Street, Accra",
8720
8740
  default_offers_table_service: false,
8721
8741
  default_accepts_online_orders: true,
8722
- image: seedImage("fashion", "business-hero"),
8742
+ image: seedImage("fashion", "1490481651871-ab68de25d43d"),
8723
8743
  status: "active",
8724
8744
  created_at: ISO8,
8725
8745
  updated_at: ISO8,
@@ -5676,17 +5676,15 @@ function createLinkService({ clock, ids }) {
5676
5676
  }
5677
5677
 
5678
5678
  // src/mock/seeds/image.ts
5679
- var CIMPLIFY_CDN_BASE_URL = "https://static-tmp.cimplify.io";
5680
- function seedImage(industry, slug, unsplashId, size = 800) {
5681
- {
5682
- return `${CIMPLIFY_CDN_BASE_URL}/seed/${industry}/${slug}.jpg`;
5683
- }
5679
+ var CDN_BASE_URL = "https://static-tmp.cimplify.io";
5680
+ function seedImage(industry, photoId) {
5681
+ return `${CDN_BASE_URL}/seed/${industry}/${photoId}.jpg`;
5684
5682
  }
5685
5683
 
5686
5684
  // src/mock/seeds/default.ts
5687
5685
  var ISO = "2026-01-01T00:00:00.000Z";
5688
5686
  var BUSINESS_ID = "bus_default_akua_bakery";
5689
- var img = (id) => seedImage("bakery", id);
5687
+ var img = (photoId) => seedImage("bakery", photoId);
5690
5688
  function makeProduct(input, categoryIds) {
5691
5689
  const catId = categoryIds.get(input.category);
5692
5690
  return {
@@ -7064,7 +7062,7 @@ var PHOTO = {
7064
7062
  feast: "1559847844-5315695dadae",
7065
7063
  byo: "1551782450-a2132b4ba21d"
7066
7064
  };
7067
- var photoFor = (slug) => seedImage("restaurant", slug, PHOTO[slug] ?? "1414235077428-338989a2e8c0");
7065
+ var photoFor = (slug) => seedImage("restaurant", PHOTO[slug] ?? "1414235077428-338989a2e8c0");
7068
7066
  function seedRestaurant(registry) {
7069
7067
  const businessId = "bus_mamas_kitchen";
7070
7068
  const business = {
@@ -7524,7 +7522,29 @@ function seedRestaurant(registry) {
7524
7522
 
7525
7523
  // src/mock/seeds/retail.ts
7526
7524
  var ISO5 = "2026-01-01T00:00:00.000Z";
7527
- var photoFor2 = (slug) => seedImage("retail", slug);
7525
+ var PHOTO2 = {
7526
+ "android-flagship": "1592750475338-74b7b21085ab",
7527
+ "android-mid": "1511707171634-5f897ff02aa9",
7528
+ "phone-budget": "1574944985070-8f3ebc6b79d2",
7529
+ "laptop-pro": "1517336714731-489689fd1ca8",
7530
+ "laptop-air": "1496181133206-80ce9b88a853",
7531
+ "laptop-budget": "1601784551446-20c9e07cdbdb",
7532
+ "headphones-anc": "1505740420928-5e560c06d30e",
7533
+ "earbuds-pro": "1572569511254-d8f925fe2cbb",
7534
+ "speaker-bt": "1612287230202-1ff1d85d1bdf",
7535
+ "phone-case": "1611532736597-de2d4265fba3",
7536
+ "screen-protector": "1568952433726-3896e3881c65",
7537
+ "fast-charger": "1620794108219-aedbaded4eea",
7538
+ "laptop-sleeve": "1604671801908-6f0c6a092c05",
7539
+ "wireless-mouse": "1594732832278-abd644401426",
7540
+ "mech-keyboard": "1583394838336-acd977736f90",
7541
+ "gaming-controller": "1542751371-adc38448a05e",
7542
+ "gaming-headset": "1606220945770-b5b6c2c55bf1",
7543
+ "console-handheld": "1593642634524-b40b5baae6bb",
7544
+ wfh: "1605236453806-6ff36851218e",
7545
+ "game-pack": "1606144042614-b2417e99c4e3"
7546
+ };
7547
+ var photoFor2 = (slug) => seedImage("retail", PHOTO2[slug] ?? "1517336714731-489689fd1ca8");
7528
7548
  function seedRetail(registry) {
7529
7549
  const businessId = "bus_currents_electronics";
7530
7550
  const business = {
@@ -8019,7 +8039,7 @@ var PHOTO3 = {
8019
8039
  couples: "1591343395082-e120087004b4",
8020
8040
  custom: "1540555700478-4be289fbecef"
8021
8041
  };
8022
- var photoFor3 = (slug) => seedImage("services", slug, PHOTO3[slug] ?? "1540555700478-4be289fbecef");
8042
+ var photoFor3 = (slug) => seedImage("services", PHOTO3[slug] ?? "1540555700478-4be289fbecef");
8023
8043
  function seedServices(registry) {
8024
8044
  const businessId = "bus_serene_spa";
8025
8045
  const business = {
@@ -8427,7 +8447,7 @@ var PHOTO4 = {
8427
8447
  "trash-bags": "1605600659908-0ef719419d41",
8428
8448
  essentials: "1542838132-92c53300491e"
8429
8449
  };
8430
- var photoFor4 = (slug) => seedImage("grocery", slug, PHOTO4[slug] ?? "1542838132-92c53300491e");
8450
+ var photoFor4 = (slug) => seedImage("grocery", PHOTO4[slug] ?? "1542838132-92c53300491e");
8431
8451
  function seedGrocery(registry) {
8432
8452
  const businessId = "bus_freshmart";
8433
8453
  const business = {
@@ -8706,7 +8726,7 @@ var PHOTO5 = {
8706
8726
  "knit-beanie": "1542838132-92c53300491e",
8707
8727
  "studio-sock-3pack": "1602810318383-e386cc2a3ccf"
8708
8728
  };
8709
- var photoFor5 = (slug) => seedImage("fashion", slug, PHOTO5[slug] ?? "1556905055-8f358a7a47b2", 900);
8729
+ var photoFor5 = (slug) => seedImage("fashion", PHOTO5[slug] ?? "1556905055-8f358a7a47b2");
8710
8730
  var SIZES = ["XS", "S", "M", "L", "XL", "2XL"];
8711
8731
  function seedFashion(registry) {
8712
8732
  const businessId = "bus_studio_frx";
@@ -8721,7 +8741,7 @@ function seedFashion(registry) {
8721
8741
  default_address: "Osu Oxford Street, Accra",
8722
8742
  default_offers_table_service: false,
8723
8743
  default_accepts_online_orders: true,
8724
- image: seedImage("fashion", "business-hero"),
8744
+ image: seedImage("fashion", "1490481651871-ab68de25d43d"),
8725
8745
  status: "active",
8726
8746
  created_at: ISO8,
8727
8747
  updated_at: ISO8,
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkLLZZMHSU_js = require('./chunk-LLZZMHSU.js');
4
- var chunkGCSZYC5C_js = require('./chunk-GCSZYC5C.js');
4
+ var chunkF4CGIOIJ_js = require('./chunk-F4CGIOIJ.js');
5
5
  var zod = require('zod');
6
6
 
7
7
  var cimplifyRegistry = zod.z.registry();
@@ -595,7 +595,7 @@ async function toForwardedRequest(input, init) {
595
595
  };
596
596
  }
597
597
  function createTestClient(options = {}) {
598
- const mock = chunkGCSZYC5C_js.createMockApp(options);
598
+ const mock = chunkF4CGIOIJ_js.createMockApp(options);
599
599
  let sessionToken;
600
600
  const fetchImpl = async (input, init) => {
601
601
  const url = typeof input === "string" ? input : input instanceof URL ? input.toString() : input.url;
@@ -1,5 +1,5 @@
1
1
  import { createCimplifyClient } from './chunk-RR3ZJQW5.mjs';
2
- import { createMockApp } from './chunk-W72W6M6M.mjs';
2
+ import { createMockApp } from './chunk-EMEUSFSR.mjs';
3
3
  import { z } from 'zod';
4
4
 
5
5
  var cimplifyRegistry = z.registry();
@@ -469,6 +469,7 @@ interface Order {
469
469
  items: LineItem[];
470
470
  computed_payment_status?: string;
471
471
  is_service_only?: boolean;
472
+ source_proposal_id?: string;
472
473
  }
473
474
  interface OrderHistory {
474
475
  id: string;
@@ -469,6 +469,7 @@ interface Order {
469
469
  items: LineItem[];
470
470
  computed_payment_status?: string;
471
471
  is_service_only?: boolean;
472
+ source_proposal_id?: string;
472
473
  }
473
474
  interface OrderHistory {
474
475
  id: string;
@@ -1,4 +1,4 @@
1
- import { C as CimplifyClient } from './client-5B9IPDmf.js';
1
+ import { C as CimplifyClient } from './client-Bsd4Vi_y.js';
2
2
  import { C as CreateAppOptions, A as AppHandle } from './server-UARbamIZ.js';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { C as CimplifyClient } from './client-CpVMRI8V.mjs';
1
+ import { C as CimplifyClient } from './client-C5LcbNxL.mjs';
2
2
  import { C as CreateAppOptions, A as AppHandle } from './server-UARbamIZ.mjs';
3
3
 
4
4
  /**
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { aC as AUTHORIZATION_TYPE, aH as AUTH_MUTATION, ar as AbortablePromise, K as ActivityRecommendation, M as ActivityRecommendationsResponse, s as ActivityService, J as ActivityStateResponse, cJ as AddressData, da as AddressInfo, bf as AmountToPay, cU as AuthResponse, A as AuthService, n as AuthStatus, dc as AuthenticatedCustomer, de as AuthenticatedData, x as AutocompletePrediction, y as AutocompleteResponse, cz as AvailabilityResult, cf as AvailableSlot, ci as Booking, cs as BookingModificationType, ch as BookingStatus, cj as BookingWithDetails, bB as BufferTimes, bW as Business, c8 as BusinessHours, bV as BusinessPreferences, B as BusinessService, c7 as BusinessSettings, bU as BusinessType, c5 as BusinessWithLocations, av as CHECKOUT_MODE, aI as CHECKOUT_MUTATION, ay as CHECKOUT_STEP, aE as CONTACT_TYPE, cq as CancelBookingInput, cr as CancelBookingResult, bv as CancelOrderInput, bD as CancellationPolicy, j as CartOperations, b as CatalogueQueries, b2 as CatalogueResult, b3 as CatalogueSnapshot, c9 as CategoryInfo, $ as ChatAttachment, Z as ChatConversation, _ as ChatConversationResponse, Y as ChatMessage, a0 as ChatWidgetStarter, cn as CheckSlotAvailabilityInput, co as CheckSlotAvailabilityResult, cX as CheckoutAddressInfo, di as CheckoutCartData, dh as CheckoutCartItem, cZ as CheckoutCustomerInfo, aj as CheckoutFormData, bt as CheckoutInput, af as CheckoutMode, l as CheckoutOperations, ag as CheckoutOrderType, ah as CheckoutPaymentMethod, ak as CheckoutResult, l as CheckoutService, ap as CheckoutStatus, aq as CheckoutStatusContext, ai as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, a6 as CimplifyElement, a5 as CimplifyElements, au as ContactType, a2 as ContentType, cF as CreateAddressInput, cH as CreateMobileMoneyInput, cA as Customer, cB as CustomerAddress, cl as CustomerBooking, ck as CustomerBookingServiceItem, cD as CustomerLinkPreferences, cC as CustomerMobileMoney, bA as CustomerServicePreferences, aM as DEFAULT_COUNTRY, aL as DEFAULT_CURRENCY, aD as DEVICE_TYPE, cg as DayAvailability, bP as DeliveryFeeDetails, W as DeliveryFeeResponse, V as DeliveryService, bK as DepositResult, at as DeviceType, N as DismissMessageResponse, aa as ELEMENT_TYPES, a9 as EVENT_TYPES, d9 as ElementAppearance, dl as ElementEventHandler, ae as ElementEventType, ac as ElementOptions, ad as ElementType, df as ElementsCheckoutData, dg as ElementsCheckoutResult, dd as ElementsCustomerInfo, ab as ElementsOptions, cL as EnrollAndLinkOrderInput, cO as EnrollAndLinkOrderResult, cI as EnrollmentData, aP as Err, be as FeeBearerType, F as FetchQuoteInput, bc as FulfillmentLink, bb as FulfillmentStatus, ba as FulfillmentType, c$ as FxQuote, c_ as FxQuoteRequest, d0 as FxRateResponse, r as FxService, cm as GetAvailableSlotsInput, m as GetOrdersOptions, G as GetProductsOptions, dk as IframeToParentMessage, I as InventoryService, aG as LINK_MUTATION, aF as LINK_QUERY, bg as LineItem, b7 as LineType, cE as LinkData, cN as LinkEnrollResult, L as LinkService, cP as LinkSession, cM as LinkStatusResult, a3 as LiteBootstrap, q as LiteService, bZ as Location, bN as LocationBooking, bX as LocationTaxBehavior, bY as LocationTaxOverrides, c0 as LocationTimeProfile, c6 as LocationWithDetails, a8 as MESSAGE_TYPES, aB as MOBILE_MONEY_PROVIDER, cK as MobileMoneyData, cY as MobileMoneyDetails, as as MobileMoneyProvider, al as NextAction, aK as ORDER_MUTATION, aw as ORDER_TYPE, d7 as ObservabilityHooks, aO as Ok, bh as Order, b6 as OrderChannel, bs as OrderFilter, bd as OrderFulfillmentSummary, bm as OrderGroup, bq as OrderGroupDetails, bn as OrderGroupPayment, bk as OrderGroupPaymentState, bl as OrderGroupPaymentStatus, bp as OrderGroupPaymentSummary, bj as OrderGroupStatus, bi as OrderHistory, b8 as OrderLineState, b9 as OrderLineStatus, br as OrderPaymentEvent, O as OrderQueries, bo as OrderSplitDetail, b4 as OrderStatus, d8 as OrderType, o as OtpResult, ax as PAYMENT_METHOD, aJ as PAYMENT_MUTATION, az as PAYMENT_STATE, aA as PICKUP_TIME_TYPE, dj as ParentToIframeMessage, db as PaymentMethodInfo, b5 as PaymentState, cW as PickupTime, cV as PickupTimeType, z as PlaceDetailsResponse, w as PlacesService, P as PriceQuote, bF as PricingOverrides, ao as ProcessAndResolveOptions, am as ProcessCheckoutOptions, an as ProcessCheckoutResult, bO as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bw as RefundOrderInput, bS as RelatedCandidate, bR as RelatedProduct, bT as RelatedProductsEnrichment, bQ as RelationType, bz as ReminderMethod, bC as ReminderSettings, k as ReorderResult, d1 as RequestContext, d4 as RequestErrorEvent, cS as RequestOtpInput, h as RequestSource, d2 as RequestStartEvent, d3 as RequestSuccessEvent, cp as RescheduleBookingInput, ct as RescheduleBookingResult, cw as RescheduleHistoryRecord, bI as ResourceAssignment, aN as Result, d5 as RetryEvent, cR as RevokeAllSessionsResult, cQ as RevokeSessionResult, c2 as Room, bG as SchedulingMetadata, bJ as SchedulingResult, p as SchedulingService, a1 as SenderType, ca as Service, cu as ServiceAvailabilityParams, cv as ServiceAvailabilityResult, c3 as ServiceCharge, bE as ServiceNotes, bL as ServiceScheduleRequest, bx as ServiceStatus, H as SessionActivityData, d6 as SessionChangeEvent, E as SessionMessage, cd as SlotResourceInfo, ce as SlotStaffInfo, cb as Staff, bH as StaffAssignment, by as StaffRole, bM as StaffScheduleItem, cy as StockLevel, cx as StockStatus, c4 as StorefrontBootstrap, S as SubscriptionService, X as SupportService, c1 as Table, a4 as TableInfo, b_ as TimeRange, b$ as TimeRanges, cc as TimeSlot, D as TrackCategoryViewOptions, T as TrackProductViewOptions, cG as UpdateAddressInput, bu as UpdateOrderStatusInput, U as UpdateProfileInput, v as UploadInitResponse, u as UploadResult, t as UploadService, cT as VerifyOtpInput, b0 as combine, b1 as combineObject, c as createCimplifyClient, a7 as createElements, aR as err, aW as flatMap, a_ as fromPromise, aX as getOrElse, aT as isErr, aS as isOk, aV as mapError, aU as mapResult, aQ as ok, aZ as toNullable, a$ as tryCatch, aY as unwrap } from './client-CpVMRI8V.mjs';
1
+ export { aC as AUTHORIZATION_TYPE, aH as AUTH_MUTATION, ar as AbortablePromise, K as ActivityRecommendation, M as ActivityRecommendationsResponse, s as ActivityService, J as ActivityStateResponse, cJ as AddressData, da as AddressInfo, bf as AmountToPay, cU as AuthResponse, A as AuthService, n as AuthStatus, dc as AuthenticatedCustomer, de as AuthenticatedData, x as AutocompletePrediction, y as AutocompleteResponse, cz as AvailabilityResult, cf as AvailableSlot, ci as Booking, cs as BookingModificationType, ch as BookingStatus, cj as BookingWithDetails, bB as BufferTimes, bW as Business, c8 as BusinessHours, bV as BusinessPreferences, B as BusinessService, c7 as BusinessSettings, bU as BusinessType, c5 as BusinessWithLocations, av as CHECKOUT_MODE, aI as CHECKOUT_MUTATION, ay as CHECKOUT_STEP, aE as CONTACT_TYPE, cq as CancelBookingInput, cr as CancelBookingResult, bv as CancelOrderInput, bD as CancellationPolicy, j as CartOperations, b as CatalogueQueries, b2 as CatalogueResult, b3 as CatalogueSnapshot, c9 as CategoryInfo, $ as ChatAttachment, Z as ChatConversation, _ as ChatConversationResponse, Y as ChatMessage, a0 as ChatWidgetStarter, cn as CheckSlotAvailabilityInput, co as CheckSlotAvailabilityResult, cX as CheckoutAddressInfo, di as CheckoutCartData, dh as CheckoutCartItem, cZ as CheckoutCustomerInfo, aj as CheckoutFormData, bt as CheckoutInput, af as CheckoutMode, l as CheckoutOperations, ag as CheckoutOrderType, ah as CheckoutPaymentMethod, ak as CheckoutResult, l as CheckoutService, ap as CheckoutStatus, aq as CheckoutStatusContext, ai as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, a6 as CimplifyElement, a5 as CimplifyElements, au as ContactType, a2 as ContentType, cF as CreateAddressInput, cH as CreateMobileMoneyInput, cA as Customer, cB as CustomerAddress, cl as CustomerBooking, ck as CustomerBookingServiceItem, cD as CustomerLinkPreferences, cC as CustomerMobileMoney, bA as CustomerServicePreferences, aM as DEFAULT_COUNTRY, aL as DEFAULT_CURRENCY, aD as DEVICE_TYPE, cg as DayAvailability, bP as DeliveryFeeDetails, W as DeliveryFeeResponse, V as DeliveryService, bK as DepositResult, at as DeviceType, N as DismissMessageResponse, aa as ELEMENT_TYPES, a9 as EVENT_TYPES, d9 as ElementAppearance, dl as ElementEventHandler, ae as ElementEventType, ac as ElementOptions, ad as ElementType, df as ElementsCheckoutData, dg as ElementsCheckoutResult, dd as ElementsCustomerInfo, ab as ElementsOptions, cL as EnrollAndLinkOrderInput, cO as EnrollAndLinkOrderResult, cI as EnrollmentData, aP as Err, be as FeeBearerType, F as FetchQuoteInput, bc as FulfillmentLink, bb as FulfillmentStatus, ba as FulfillmentType, c$ as FxQuote, c_ as FxQuoteRequest, d0 as FxRateResponse, r as FxService, cm as GetAvailableSlotsInput, m as GetOrdersOptions, G as GetProductsOptions, dk as IframeToParentMessage, I as InventoryService, aG as LINK_MUTATION, aF as LINK_QUERY, bg as LineItem, b7 as LineType, cE as LinkData, cN as LinkEnrollResult, L as LinkService, cP as LinkSession, cM as LinkStatusResult, a3 as LiteBootstrap, q as LiteService, bZ as Location, bN as LocationBooking, bX as LocationTaxBehavior, bY as LocationTaxOverrides, c0 as LocationTimeProfile, c6 as LocationWithDetails, a8 as MESSAGE_TYPES, aB as MOBILE_MONEY_PROVIDER, cK as MobileMoneyData, cY as MobileMoneyDetails, as as MobileMoneyProvider, al as NextAction, aK as ORDER_MUTATION, aw as ORDER_TYPE, d7 as ObservabilityHooks, aO as Ok, bh as Order, b6 as OrderChannel, bs as OrderFilter, bd as OrderFulfillmentSummary, bm as OrderGroup, bq as OrderGroupDetails, bn as OrderGroupPayment, bk as OrderGroupPaymentState, bl as OrderGroupPaymentStatus, bp as OrderGroupPaymentSummary, bj as OrderGroupStatus, bi as OrderHistory, b8 as OrderLineState, b9 as OrderLineStatus, br as OrderPaymentEvent, O as OrderQueries, bo as OrderSplitDetail, b4 as OrderStatus, d8 as OrderType, o as OtpResult, ax as PAYMENT_METHOD, aJ as PAYMENT_MUTATION, az as PAYMENT_STATE, aA as PICKUP_TIME_TYPE, dj as ParentToIframeMessage, db as PaymentMethodInfo, b5 as PaymentState, cW as PickupTime, cV as PickupTimeType, z as PlaceDetailsResponse, w as PlacesService, P as PriceQuote, bF as PricingOverrides, ao as ProcessAndResolveOptions, am as ProcessCheckoutOptions, an as ProcessCheckoutResult, bO as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bw as RefundOrderInput, bS as RelatedCandidate, bR as RelatedProduct, bT as RelatedProductsEnrichment, bQ as RelationType, bz as ReminderMethod, bC as ReminderSettings, k as ReorderResult, d1 as RequestContext, d4 as RequestErrorEvent, cS as RequestOtpInput, h as RequestSource, d2 as RequestStartEvent, d3 as RequestSuccessEvent, cp as RescheduleBookingInput, ct as RescheduleBookingResult, cw as RescheduleHistoryRecord, bI as ResourceAssignment, aN as Result, d5 as RetryEvent, cR as RevokeAllSessionsResult, cQ as RevokeSessionResult, c2 as Room, bG as SchedulingMetadata, bJ as SchedulingResult, p as SchedulingService, a1 as SenderType, ca as Service, cu as ServiceAvailabilityParams, cv as ServiceAvailabilityResult, c3 as ServiceCharge, bE as ServiceNotes, bL as ServiceScheduleRequest, bx as ServiceStatus, H as SessionActivityData, d6 as SessionChangeEvent, E as SessionMessage, cd as SlotResourceInfo, ce as SlotStaffInfo, cb as Staff, bH as StaffAssignment, by as StaffRole, bM as StaffScheduleItem, cy as StockLevel, cx as StockStatus, c4 as StorefrontBootstrap, S as SubscriptionService, X as SupportService, c1 as Table, a4 as TableInfo, b_ as TimeRange, b$ as TimeRanges, cc as TimeSlot, D as TrackCategoryViewOptions, T as TrackProductViewOptions, cG as UpdateAddressInput, bu as UpdateOrderStatusInput, U as UpdateProfileInput, v as UploadInitResponse, u as UploadResult, t as UploadService, cT as VerifyOtpInput, b0 as combine, b1 as combineObject, c as createCimplifyClient, a7 as createElements, aR as err, aW as flatMap, a_ as fromPromise, aX as getOrElse, aT as isErr, aS as isOk, aV as mapError, aU as mapResult, aQ as ok, aZ as toNullable, a$ as tryCatch, aY as unwrap } from './client-C5LcbNxL.mjs';
2
2
  import { A as ApiError } from './payment-4JSLNTVM.mjs';
3
3
  export { ai as AddOn, bf as AddOnDetails, bC as AddOnGroupDetails, ak as AddOnOption, bB as AddOnOptionDetails, al as AddOnOptionPrice, aj as AddOnWithOptions, bI as AddToCartInput, bO as AddressAuthorizationData, Y as AddressValue, b5 as AdjustmentType, bb as AppliedDiscount, z as AttributeAppliesTo, y as AttributeType, G as AttributeValidationRules, B as AttributeVisibility, bP as AuthorizationType, ba as BenefitType, bY as BillingFrequency, b_ as BillingMarkupType, bZ as BillingPlanType, at as Bundle, ax as BundleComponentData, ay as BundleComponentInfo, aA as BundleComponentVariantView, az as BundleComponentView, as as BundlePriceType, av as BundleProduct, bl as BundleSelectionData, bi as BundleSelectionInput, bk as BundleStoredSelection, au as BundleSummary, aw as BundleWithDetails, bq as Cart, bg as CartAddOn, b3 as CartChannel, br as CartItem, bE as CartItemDetails, bH as CartMutationResult, bG as CartNotice, b2 as CartStatus, bK as CartSummary, bs as CartTotals, an as Category, ao as CategorySummary, C as ChosenPrice, h as CimplifyError, ap as Collection, ar as CollectionProduct, aq as CollectionSummary, aI as ComponentGroup, aJ as ComponentGroupWithComponents, aP as ComponentPriceBreakdown, bj as ComponentSchedulingData, aN as ComponentSelectionInput, aF as ComponentSourceType, aG as Composite, aM as CompositeComponent, aL as CompositeComponentView, aK as CompositeGroupView, bn as CompositePriceBreakdown, aO as CompositePriceResult, aD as CompositePricingMode, bo as CompositeSelectionData, aN as CompositeSelectionInput, bm as CompositeStoredSelection, aH as CompositeWithDetails, a as CurrencyCode, H as CustomAttributeDefinition, J as CustomAttributeValue, a5 as CustomerInputValue, w as DURATION_UNIT, $ as DateRangeValue, aZ as Deal, aY as DealBenefitType, u as DepositType, t as DigitalProductType, bc as DiscountBreakdown, bd as DiscountDetails, a$ as DiscountValidation, bv as DisplayAddOn, bw as DisplayAddOnOption, bt as DisplayCart, bu as DisplayCartItem, D as DisplayMode, v as DurationUnit, g as ERROR_HINTS, c0 as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, O as FacetValue, c1 as FormattedPlanOption, aE as GroupPricingBehavior, X as INPUT_FIELD_TYPE, I as IdempotencyMismatchError, bT as InitializePaymentResult, W as InputFieldType, a2 as InputFieldValidation, s as InventoryType, Q as KnowledgeArticle, bp as LineConfiguration, aS as LocationProductPrice, a0 as LocationValue, F as MeasurementValue, M as Money, q as PRODUCT_TYPE, d as Pagination, P as PaginationParams, bS as Payment, bW as PaymentErrorDetails, bR as PaymentMethod, bN as PaymentMethodType, bQ as PaymentProcessingState, bM as PaymentProvider, bU as PaymentResponse, bL as PaymentStatus, bV as PaymentStatusResponse, _ as PhoneValue, aR as Price, b6 as PriceAdjustment, b9 as PriceDecisionPath, aQ as PriceEntryType, b8 as PricePathTaxInfo, b4 as PriceSource, U as Product, am as ProductAddOn, aT as ProductAvailability, aX as ProductAvailabilityNow, b$ as ProductBillingPlan, a_ as ProductDealInfo, a4 as ProductInputField, L as ProductProperty, r as ProductRenderHint, aV as ProductTaxonomy, aU as ProductTimeProfile, p as ProductType, aa as ProductVariant, af as ProductVariantValue, a8 as ProductWithDetails, N as PropertyFacet, K as PropertySource, a6 as QuantityPricingTier, R as RENDER_HINT, a7 as RelatedProductView, x as SalesChannel, S as SchedulingMode, be as SelectedAddOnOption, a3 as SemanticKind, a1 as SignatureValue, bX as SubmitAuthorizationInput, c3 as Subscription, c5 as SubscriptionInvoice, c4 as SubscriptionItem, c2 as SubscriptionStatus, c6 as SubscriptionWithDetails, b0 as Tag, b1 as TagsResponse, b7 as TaxPathComponent, T as TaxonomyAttributeTemplate, aW as TaxonomyWithChildren, bF as UICart, bx as UICartBusiness, bz as UICartCustomer, by as UICartLocation, bA as UICartPricing, bJ as UpdateCartItemInput, ac as VariantAxis, ah as VariantAxisSelection, ae as VariantAxisValue, aC as VariantAxisValueView, aB as VariantAxisView, ad as VariantAxisWithValues, bh as VariantDetails, bD as VariantDetailsDTO, ab as VariantDisplayAttribute, ag as VariantLocationAvailability, V as VariantStrategy, a9 as VariantView, Z as ZERO, c as currencyCode, n as enrichError, l as getErrorHint, j as isCimplifyError, k as isIdempotencyMismatchError, o as isRetryableError, i as isSupportedCurrency, m as money, b as moneyFromNumber } from './payment-4JSLNTVM.mjs';
4
4
  export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, u as formatPriceRange, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, t as getPriceRange, r as getProductCurrency, g as getTaxAmount, s as getUnitPriceAtQuantity, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-yMe4VZqR.mjs';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { aC as AUTHORIZATION_TYPE, aH as AUTH_MUTATION, ar as AbortablePromise, K as ActivityRecommendation, M as ActivityRecommendationsResponse, s as ActivityService, J as ActivityStateResponse, cJ as AddressData, da as AddressInfo, bf as AmountToPay, cU as AuthResponse, A as AuthService, n as AuthStatus, dc as AuthenticatedCustomer, de as AuthenticatedData, x as AutocompletePrediction, y as AutocompleteResponse, cz as AvailabilityResult, cf as AvailableSlot, ci as Booking, cs as BookingModificationType, ch as BookingStatus, cj as BookingWithDetails, bB as BufferTimes, bW as Business, c8 as BusinessHours, bV as BusinessPreferences, B as BusinessService, c7 as BusinessSettings, bU as BusinessType, c5 as BusinessWithLocations, av as CHECKOUT_MODE, aI as CHECKOUT_MUTATION, ay as CHECKOUT_STEP, aE as CONTACT_TYPE, cq as CancelBookingInput, cr as CancelBookingResult, bv as CancelOrderInput, bD as CancellationPolicy, j as CartOperations, b as CatalogueQueries, b2 as CatalogueResult, b3 as CatalogueSnapshot, c9 as CategoryInfo, $ as ChatAttachment, Z as ChatConversation, _ as ChatConversationResponse, Y as ChatMessage, a0 as ChatWidgetStarter, cn as CheckSlotAvailabilityInput, co as CheckSlotAvailabilityResult, cX as CheckoutAddressInfo, di as CheckoutCartData, dh as CheckoutCartItem, cZ as CheckoutCustomerInfo, aj as CheckoutFormData, bt as CheckoutInput, af as CheckoutMode, l as CheckoutOperations, ag as CheckoutOrderType, ah as CheckoutPaymentMethod, ak as CheckoutResult, l as CheckoutService, ap as CheckoutStatus, aq as CheckoutStatusContext, ai as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, a6 as CimplifyElement, a5 as CimplifyElements, au as ContactType, a2 as ContentType, cF as CreateAddressInput, cH as CreateMobileMoneyInput, cA as Customer, cB as CustomerAddress, cl as CustomerBooking, ck as CustomerBookingServiceItem, cD as CustomerLinkPreferences, cC as CustomerMobileMoney, bA as CustomerServicePreferences, aM as DEFAULT_COUNTRY, aL as DEFAULT_CURRENCY, aD as DEVICE_TYPE, cg as DayAvailability, bP as DeliveryFeeDetails, W as DeliveryFeeResponse, V as DeliveryService, bK as DepositResult, at as DeviceType, N as DismissMessageResponse, aa as ELEMENT_TYPES, a9 as EVENT_TYPES, d9 as ElementAppearance, dl as ElementEventHandler, ae as ElementEventType, ac as ElementOptions, ad as ElementType, df as ElementsCheckoutData, dg as ElementsCheckoutResult, dd as ElementsCustomerInfo, ab as ElementsOptions, cL as EnrollAndLinkOrderInput, cO as EnrollAndLinkOrderResult, cI as EnrollmentData, aP as Err, be as FeeBearerType, F as FetchQuoteInput, bc as FulfillmentLink, bb as FulfillmentStatus, ba as FulfillmentType, c$ as FxQuote, c_ as FxQuoteRequest, d0 as FxRateResponse, r as FxService, cm as GetAvailableSlotsInput, m as GetOrdersOptions, G as GetProductsOptions, dk as IframeToParentMessage, I as InventoryService, aG as LINK_MUTATION, aF as LINK_QUERY, bg as LineItem, b7 as LineType, cE as LinkData, cN as LinkEnrollResult, L as LinkService, cP as LinkSession, cM as LinkStatusResult, a3 as LiteBootstrap, q as LiteService, bZ as Location, bN as LocationBooking, bX as LocationTaxBehavior, bY as LocationTaxOverrides, c0 as LocationTimeProfile, c6 as LocationWithDetails, a8 as MESSAGE_TYPES, aB as MOBILE_MONEY_PROVIDER, cK as MobileMoneyData, cY as MobileMoneyDetails, as as MobileMoneyProvider, al as NextAction, aK as ORDER_MUTATION, aw as ORDER_TYPE, d7 as ObservabilityHooks, aO as Ok, bh as Order, b6 as OrderChannel, bs as OrderFilter, bd as OrderFulfillmentSummary, bm as OrderGroup, bq as OrderGroupDetails, bn as OrderGroupPayment, bk as OrderGroupPaymentState, bl as OrderGroupPaymentStatus, bp as OrderGroupPaymentSummary, bj as OrderGroupStatus, bi as OrderHistory, b8 as OrderLineState, b9 as OrderLineStatus, br as OrderPaymentEvent, O as OrderQueries, bo as OrderSplitDetail, b4 as OrderStatus, d8 as OrderType, o as OtpResult, ax as PAYMENT_METHOD, aJ as PAYMENT_MUTATION, az as PAYMENT_STATE, aA as PICKUP_TIME_TYPE, dj as ParentToIframeMessage, db as PaymentMethodInfo, b5 as PaymentState, cW as PickupTime, cV as PickupTimeType, z as PlaceDetailsResponse, w as PlacesService, P as PriceQuote, bF as PricingOverrides, ao as ProcessAndResolveOptions, am as ProcessCheckoutOptions, an as ProcessCheckoutResult, bO as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bw as RefundOrderInput, bS as RelatedCandidate, bR as RelatedProduct, bT as RelatedProductsEnrichment, bQ as RelationType, bz as ReminderMethod, bC as ReminderSettings, k as ReorderResult, d1 as RequestContext, d4 as RequestErrorEvent, cS as RequestOtpInput, h as RequestSource, d2 as RequestStartEvent, d3 as RequestSuccessEvent, cp as RescheduleBookingInput, ct as RescheduleBookingResult, cw as RescheduleHistoryRecord, bI as ResourceAssignment, aN as Result, d5 as RetryEvent, cR as RevokeAllSessionsResult, cQ as RevokeSessionResult, c2 as Room, bG as SchedulingMetadata, bJ as SchedulingResult, p as SchedulingService, a1 as SenderType, ca as Service, cu as ServiceAvailabilityParams, cv as ServiceAvailabilityResult, c3 as ServiceCharge, bE as ServiceNotes, bL as ServiceScheduleRequest, bx as ServiceStatus, H as SessionActivityData, d6 as SessionChangeEvent, E as SessionMessage, cd as SlotResourceInfo, ce as SlotStaffInfo, cb as Staff, bH as StaffAssignment, by as StaffRole, bM as StaffScheduleItem, cy as StockLevel, cx as StockStatus, c4 as StorefrontBootstrap, S as SubscriptionService, X as SupportService, c1 as Table, a4 as TableInfo, b_ as TimeRange, b$ as TimeRanges, cc as TimeSlot, D as TrackCategoryViewOptions, T as TrackProductViewOptions, cG as UpdateAddressInput, bu as UpdateOrderStatusInput, U as UpdateProfileInput, v as UploadInitResponse, u as UploadResult, t as UploadService, cT as VerifyOtpInput, b0 as combine, b1 as combineObject, c as createCimplifyClient, a7 as createElements, aR as err, aW as flatMap, a_ as fromPromise, aX as getOrElse, aT as isErr, aS as isOk, aV as mapError, aU as mapResult, aQ as ok, aZ as toNullable, a$ as tryCatch, aY as unwrap } from './client-5B9IPDmf.js';
1
+ export { aC as AUTHORIZATION_TYPE, aH as AUTH_MUTATION, ar as AbortablePromise, K as ActivityRecommendation, M as ActivityRecommendationsResponse, s as ActivityService, J as ActivityStateResponse, cJ as AddressData, da as AddressInfo, bf as AmountToPay, cU as AuthResponse, A as AuthService, n as AuthStatus, dc as AuthenticatedCustomer, de as AuthenticatedData, x as AutocompletePrediction, y as AutocompleteResponse, cz as AvailabilityResult, cf as AvailableSlot, ci as Booking, cs as BookingModificationType, ch as BookingStatus, cj as BookingWithDetails, bB as BufferTimes, bW as Business, c8 as BusinessHours, bV as BusinessPreferences, B as BusinessService, c7 as BusinessSettings, bU as BusinessType, c5 as BusinessWithLocations, av as CHECKOUT_MODE, aI as CHECKOUT_MUTATION, ay as CHECKOUT_STEP, aE as CONTACT_TYPE, cq as CancelBookingInput, cr as CancelBookingResult, bv as CancelOrderInput, bD as CancellationPolicy, j as CartOperations, b as CatalogueQueries, b2 as CatalogueResult, b3 as CatalogueSnapshot, c9 as CategoryInfo, $ as ChatAttachment, Z as ChatConversation, _ as ChatConversationResponse, Y as ChatMessage, a0 as ChatWidgetStarter, cn as CheckSlotAvailabilityInput, co as CheckSlotAvailabilityResult, cX as CheckoutAddressInfo, di as CheckoutCartData, dh as CheckoutCartItem, cZ as CheckoutCustomerInfo, aj as CheckoutFormData, bt as CheckoutInput, af as CheckoutMode, l as CheckoutOperations, ag as CheckoutOrderType, ah as CheckoutPaymentMethod, ak as CheckoutResult, l as CheckoutService, ap as CheckoutStatus, aq as CheckoutStatusContext, ai as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, a6 as CimplifyElement, a5 as CimplifyElements, au as ContactType, a2 as ContentType, cF as CreateAddressInput, cH as CreateMobileMoneyInput, cA as Customer, cB as CustomerAddress, cl as CustomerBooking, ck as CustomerBookingServiceItem, cD as CustomerLinkPreferences, cC as CustomerMobileMoney, bA as CustomerServicePreferences, aM as DEFAULT_COUNTRY, aL as DEFAULT_CURRENCY, aD as DEVICE_TYPE, cg as DayAvailability, bP as DeliveryFeeDetails, W as DeliveryFeeResponse, V as DeliveryService, bK as DepositResult, at as DeviceType, N as DismissMessageResponse, aa as ELEMENT_TYPES, a9 as EVENT_TYPES, d9 as ElementAppearance, dl as ElementEventHandler, ae as ElementEventType, ac as ElementOptions, ad as ElementType, df as ElementsCheckoutData, dg as ElementsCheckoutResult, dd as ElementsCustomerInfo, ab as ElementsOptions, cL as EnrollAndLinkOrderInput, cO as EnrollAndLinkOrderResult, cI as EnrollmentData, aP as Err, be as FeeBearerType, F as FetchQuoteInput, bc as FulfillmentLink, bb as FulfillmentStatus, ba as FulfillmentType, c$ as FxQuote, c_ as FxQuoteRequest, d0 as FxRateResponse, r as FxService, cm as GetAvailableSlotsInput, m as GetOrdersOptions, G as GetProductsOptions, dk as IframeToParentMessage, I as InventoryService, aG as LINK_MUTATION, aF as LINK_QUERY, bg as LineItem, b7 as LineType, cE as LinkData, cN as LinkEnrollResult, L as LinkService, cP as LinkSession, cM as LinkStatusResult, a3 as LiteBootstrap, q as LiteService, bZ as Location, bN as LocationBooking, bX as LocationTaxBehavior, bY as LocationTaxOverrides, c0 as LocationTimeProfile, c6 as LocationWithDetails, a8 as MESSAGE_TYPES, aB as MOBILE_MONEY_PROVIDER, cK as MobileMoneyData, cY as MobileMoneyDetails, as as MobileMoneyProvider, al as NextAction, aK as ORDER_MUTATION, aw as ORDER_TYPE, d7 as ObservabilityHooks, aO as Ok, bh as Order, b6 as OrderChannel, bs as OrderFilter, bd as OrderFulfillmentSummary, bm as OrderGroup, bq as OrderGroupDetails, bn as OrderGroupPayment, bk as OrderGroupPaymentState, bl as OrderGroupPaymentStatus, bp as OrderGroupPaymentSummary, bj as OrderGroupStatus, bi as OrderHistory, b8 as OrderLineState, b9 as OrderLineStatus, br as OrderPaymentEvent, O as OrderQueries, bo as OrderSplitDetail, b4 as OrderStatus, d8 as OrderType, o as OtpResult, ax as PAYMENT_METHOD, aJ as PAYMENT_MUTATION, az as PAYMENT_STATE, aA as PICKUP_TIME_TYPE, dj as ParentToIframeMessage, db as PaymentMethodInfo, b5 as PaymentState, cW as PickupTime, cV as PickupTimeType, z as PlaceDetailsResponse, w as PlacesService, P as PriceQuote, bF as PricingOverrides, ao as ProcessAndResolveOptions, am as ProcessCheckoutOptions, an as ProcessCheckoutResult, bO as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bw as RefundOrderInput, bS as RelatedCandidate, bR as RelatedProduct, bT as RelatedProductsEnrichment, bQ as RelationType, bz as ReminderMethod, bC as ReminderSettings, k as ReorderResult, d1 as RequestContext, d4 as RequestErrorEvent, cS as RequestOtpInput, h as RequestSource, d2 as RequestStartEvent, d3 as RequestSuccessEvent, cp as RescheduleBookingInput, ct as RescheduleBookingResult, cw as RescheduleHistoryRecord, bI as ResourceAssignment, aN as Result, d5 as RetryEvent, cR as RevokeAllSessionsResult, cQ as RevokeSessionResult, c2 as Room, bG as SchedulingMetadata, bJ as SchedulingResult, p as SchedulingService, a1 as SenderType, ca as Service, cu as ServiceAvailabilityParams, cv as ServiceAvailabilityResult, c3 as ServiceCharge, bE as ServiceNotes, bL as ServiceScheduleRequest, bx as ServiceStatus, H as SessionActivityData, d6 as SessionChangeEvent, E as SessionMessage, cd as SlotResourceInfo, ce as SlotStaffInfo, cb as Staff, bH as StaffAssignment, by as StaffRole, bM as StaffScheduleItem, cy as StockLevel, cx as StockStatus, c4 as StorefrontBootstrap, S as SubscriptionService, X as SupportService, c1 as Table, a4 as TableInfo, b_ as TimeRange, b$ as TimeRanges, cc as TimeSlot, D as TrackCategoryViewOptions, T as TrackProductViewOptions, cG as UpdateAddressInput, bu as UpdateOrderStatusInput, U as UpdateProfileInput, v as UploadInitResponse, u as UploadResult, t as UploadService, cT as VerifyOtpInput, b0 as combine, b1 as combineObject, c as createCimplifyClient, a7 as createElements, aR as err, aW as flatMap, a_ as fromPromise, aX as getOrElse, aT as isErr, aS as isOk, aV as mapError, aU as mapResult, aQ as ok, aZ as toNullable, a$ as tryCatch, aY as unwrap } from './client-Bsd4Vi_y.js';
2
2
  import { A as ApiError } from './payment-4JSLNTVM.js';
3
3
  export { ai as AddOn, bf as AddOnDetails, bC as AddOnGroupDetails, ak as AddOnOption, bB as AddOnOptionDetails, al as AddOnOptionPrice, aj as AddOnWithOptions, bI as AddToCartInput, bO as AddressAuthorizationData, Y as AddressValue, b5 as AdjustmentType, bb as AppliedDiscount, z as AttributeAppliesTo, y as AttributeType, G as AttributeValidationRules, B as AttributeVisibility, bP as AuthorizationType, ba as BenefitType, bY as BillingFrequency, b_ as BillingMarkupType, bZ as BillingPlanType, at as Bundle, ax as BundleComponentData, ay as BundleComponentInfo, aA as BundleComponentVariantView, az as BundleComponentView, as as BundlePriceType, av as BundleProduct, bl as BundleSelectionData, bi as BundleSelectionInput, bk as BundleStoredSelection, au as BundleSummary, aw as BundleWithDetails, bq as Cart, bg as CartAddOn, b3 as CartChannel, br as CartItem, bE as CartItemDetails, bH as CartMutationResult, bG as CartNotice, b2 as CartStatus, bK as CartSummary, bs as CartTotals, an as Category, ao as CategorySummary, C as ChosenPrice, h as CimplifyError, ap as Collection, ar as CollectionProduct, aq as CollectionSummary, aI as ComponentGroup, aJ as ComponentGroupWithComponents, aP as ComponentPriceBreakdown, bj as ComponentSchedulingData, aN as ComponentSelectionInput, aF as ComponentSourceType, aG as Composite, aM as CompositeComponent, aL as CompositeComponentView, aK as CompositeGroupView, bn as CompositePriceBreakdown, aO as CompositePriceResult, aD as CompositePricingMode, bo as CompositeSelectionData, aN as CompositeSelectionInput, bm as CompositeStoredSelection, aH as CompositeWithDetails, a as CurrencyCode, H as CustomAttributeDefinition, J as CustomAttributeValue, a5 as CustomerInputValue, w as DURATION_UNIT, $ as DateRangeValue, aZ as Deal, aY as DealBenefitType, u as DepositType, t as DigitalProductType, bc as DiscountBreakdown, bd as DiscountDetails, a$ as DiscountValidation, bv as DisplayAddOn, bw as DisplayAddOnOption, bt as DisplayCart, bu as DisplayCartItem, D as DisplayMode, v as DurationUnit, g as ERROR_HINTS, c0 as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, O as FacetValue, c1 as FormattedPlanOption, aE as GroupPricingBehavior, X as INPUT_FIELD_TYPE, I as IdempotencyMismatchError, bT as InitializePaymentResult, W as InputFieldType, a2 as InputFieldValidation, s as InventoryType, Q as KnowledgeArticle, bp as LineConfiguration, aS as LocationProductPrice, a0 as LocationValue, F as MeasurementValue, M as Money, q as PRODUCT_TYPE, d as Pagination, P as PaginationParams, bS as Payment, bW as PaymentErrorDetails, bR as PaymentMethod, bN as PaymentMethodType, bQ as PaymentProcessingState, bM as PaymentProvider, bU as PaymentResponse, bL as PaymentStatus, bV as PaymentStatusResponse, _ as PhoneValue, aR as Price, b6 as PriceAdjustment, b9 as PriceDecisionPath, aQ as PriceEntryType, b8 as PricePathTaxInfo, b4 as PriceSource, U as Product, am as ProductAddOn, aT as ProductAvailability, aX as ProductAvailabilityNow, b$ as ProductBillingPlan, a_ as ProductDealInfo, a4 as ProductInputField, L as ProductProperty, r as ProductRenderHint, aV as ProductTaxonomy, aU as ProductTimeProfile, p as ProductType, aa as ProductVariant, af as ProductVariantValue, a8 as ProductWithDetails, N as PropertyFacet, K as PropertySource, a6 as QuantityPricingTier, R as RENDER_HINT, a7 as RelatedProductView, x as SalesChannel, S as SchedulingMode, be as SelectedAddOnOption, a3 as SemanticKind, a1 as SignatureValue, bX as SubmitAuthorizationInput, c3 as Subscription, c5 as SubscriptionInvoice, c4 as SubscriptionItem, c2 as SubscriptionStatus, c6 as SubscriptionWithDetails, b0 as Tag, b1 as TagsResponse, b7 as TaxPathComponent, T as TaxonomyAttributeTemplate, aW as TaxonomyWithChildren, bF as UICart, bx as UICartBusiness, bz as UICartCustomer, by as UICartLocation, bA as UICartPricing, bJ as UpdateCartItemInput, ac as VariantAxis, ah as VariantAxisSelection, ae as VariantAxisValue, aC as VariantAxisValueView, aB as VariantAxisView, ad as VariantAxisWithValues, bh as VariantDetails, bD as VariantDetailsDTO, ab as VariantDisplayAttribute, ag as VariantLocationAvailability, V as VariantStrategy, a9 as VariantView, Z as ZERO, c as currencyCode, n as enrichError, l as getErrorHint, j as isCimplifyError, k as isIdempotencyMismatchError, o as isRetryableError, i as isSupportedCurrency, m as money, b as moneyFromNumber } from './payment-4JSLNTVM.js';
4
4
  export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, u as formatPriceRange, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, t as getPriceRange, r as getProductCurrency, g as getTaxAmount, s as getUnitPriceAtQuantity, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-PbBuEWp7.js';
package/dist/mock/cli.mjs CHANGED
@@ -6378,17 +6378,15 @@ function createLinkService({ clock, ids }) {
6378
6378
  }
6379
6379
 
6380
6380
  // src/mock/seeds/image.ts
6381
- var CIMPLIFY_CDN_BASE_URL = "https://static-tmp.cimplify.io";
6382
- function seedImage(industry, slug, unsplashId, size = 800) {
6383
- {
6384
- return `${CIMPLIFY_CDN_BASE_URL}/seed/${industry}/${slug}.jpg`;
6385
- }
6381
+ var CDN_BASE_URL = "https://static-tmp.cimplify.io";
6382
+ function seedImage(industry, photoId) {
6383
+ return `${CDN_BASE_URL}/seed/${industry}/${photoId}.jpg`;
6386
6384
  }
6387
6385
 
6388
6386
  // src/mock/seeds/default.ts
6389
6387
  var ISO = "2026-01-01T00:00:00.000Z";
6390
6388
  var BUSINESS_ID = "bus_default_akua_bakery";
6391
- var img = (id) => seedImage("bakery", id);
6389
+ var img = (photoId) => seedImage("bakery", photoId);
6392
6390
  function makeProduct(input, categoryIds) {
6393
6391
  const catId = categoryIds.get(input.category);
6394
6392
  return {
@@ -7766,7 +7764,7 @@ var PHOTO = {
7766
7764
  feast: "1559847844-5315695dadae",
7767
7765
  byo: "1551782450-a2132b4ba21d"
7768
7766
  };
7769
- var photoFor = (slug) => seedImage("restaurant", slug, PHOTO[slug] ?? "1414235077428-338989a2e8c0");
7767
+ var photoFor = (slug) => seedImage("restaurant", PHOTO[slug] ?? "1414235077428-338989a2e8c0");
7770
7768
  function seedRestaurant(registry) {
7771
7769
  const businessId = "bus_mamas_kitchen";
7772
7770
  const business = {
@@ -8226,7 +8224,29 @@ function seedRestaurant(registry) {
8226
8224
 
8227
8225
  // src/mock/seeds/retail.ts
8228
8226
  var ISO5 = "2026-01-01T00:00:00.000Z";
8229
- var photoFor2 = (slug) => seedImage("retail", slug);
8227
+ var PHOTO2 = {
8228
+ "android-flagship": "1592750475338-74b7b21085ab",
8229
+ "android-mid": "1511707171634-5f897ff02aa9",
8230
+ "phone-budget": "1574944985070-8f3ebc6b79d2",
8231
+ "laptop-pro": "1517336714731-489689fd1ca8",
8232
+ "laptop-air": "1496181133206-80ce9b88a853",
8233
+ "laptop-budget": "1601784551446-20c9e07cdbdb",
8234
+ "headphones-anc": "1505740420928-5e560c06d30e",
8235
+ "earbuds-pro": "1572569511254-d8f925fe2cbb",
8236
+ "speaker-bt": "1612287230202-1ff1d85d1bdf",
8237
+ "phone-case": "1611532736597-de2d4265fba3",
8238
+ "screen-protector": "1568952433726-3896e3881c65",
8239
+ "fast-charger": "1620794108219-aedbaded4eea",
8240
+ "laptop-sleeve": "1604671801908-6f0c6a092c05",
8241
+ "wireless-mouse": "1594732832278-abd644401426",
8242
+ "mech-keyboard": "1583394838336-acd977736f90",
8243
+ "gaming-controller": "1542751371-adc38448a05e",
8244
+ "gaming-headset": "1606220945770-b5b6c2c55bf1",
8245
+ "console-handheld": "1593642634524-b40b5baae6bb",
8246
+ wfh: "1605236453806-6ff36851218e",
8247
+ "game-pack": "1606144042614-b2417e99c4e3"
8248
+ };
8249
+ var photoFor2 = (slug) => seedImage("retail", PHOTO2[slug] ?? "1517336714731-489689fd1ca8");
8230
8250
  function seedRetail(registry) {
8231
8251
  const businessId = "bus_currents_electronics";
8232
8252
  const business = {
@@ -8721,7 +8741,7 @@ var PHOTO3 = {
8721
8741
  couples: "1591343395082-e120087004b4",
8722
8742
  custom: "1540555700478-4be289fbecef"
8723
8743
  };
8724
- var photoFor3 = (slug) => seedImage("services", slug, PHOTO3[slug] ?? "1540555700478-4be289fbecef");
8744
+ var photoFor3 = (slug) => seedImage("services", PHOTO3[slug] ?? "1540555700478-4be289fbecef");
8725
8745
  function seedServices(registry) {
8726
8746
  const businessId = "bus_serene_spa";
8727
8747
  const business = {
@@ -9129,7 +9149,7 @@ var PHOTO4 = {
9129
9149
  "trash-bags": "1605600659908-0ef719419d41",
9130
9150
  essentials: "1542838132-92c53300491e"
9131
9151
  };
9132
- var photoFor4 = (slug) => seedImage("grocery", slug, PHOTO4[slug] ?? "1542838132-92c53300491e");
9152
+ var photoFor4 = (slug) => seedImage("grocery", PHOTO4[slug] ?? "1542838132-92c53300491e");
9133
9153
  function seedGrocery(registry) {
9134
9154
  const businessId = "bus_freshmart";
9135
9155
  const business = {
@@ -9408,7 +9428,7 @@ var PHOTO5 = {
9408
9428
  "knit-beanie": "1542838132-92c53300491e",
9409
9429
  "studio-sock-3pack": "1602810318383-e386cc2a3ccf"
9410
9430
  };
9411
- var photoFor5 = (slug) => seedImage("fashion", slug, PHOTO5[slug] ?? "1556905055-8f358a7a47b2", 900);
9431
+ var photoFor5 = (slug) => seedImage("fashion", PHOTO5[slug] ?? "1556905055-8f358a7a47b2");
9412
9432
  var SIZES = ["XS", "S", "M", "L", "XL", "2XL"];
9413
9433
  function seedFashion(registry) {
9414
9434
  const businessId = "bus_studio_frx";
@@ -9423,7 +9443,7 @@ function seedFashion(registry) {
9423
9443
  default_address: "Osu Oxford Street, Accra",
9424
9444
  default_offers_table_service: false,
9425
9445
  default_accepts_online_orders: true,
9426
- image: seedImage("fashion", "business-hero"),
9446
+ image: seedImage("fashion", "1490481651871-ab68de25d43d"),
9427
9447
  status: "active",
9428
9448
  created_at: ISO8,
9429
9449
  updated_at: ISO8,
@@ -5746,17 +5746,15 @@ function createLinkService({ clock, ids }) {
5746
5746
  }
5747
5747
 
5748
5748
  // src/mock/seeds/image.ts
5749
- var CIMPLIFY_CDN_BASE_URL = "https://static-tmp.cimplify.io";
5750
- function seedImage(industry, slug, unsplashId, size = 800) {
5751
- {
5752
- return `${CIMPLIFY_CDN_BASE_URL}/seed/${industry}/${slug}.jpg`;
5753
- }
5749
+ var CDN_BASE_URL = "https://static-tmp.cimplify.io";
5750
+ function seedImage(industry, photoId) {
5751
+ return `${CDN_BASE_URL}/seed/${industry}/${photoId}.jpg`;
5754
5752
  }
5755
5753
 
5756
5754
  // src/mock/seeds/default.ts
5757
5755
  var ISO = "2026-01-01T00:00:00.000Z";
5758
5756
  var BUSINESS_ID = "bus_default_akua_bakery";
5759
- var img = (id) => seedImage("bakery", id);
5757
+ var img = (photoId) => seedImage("bakery", photoId);
5760
5758
  function makeProduct(input, categoryIds) {
5761
5759
  const catId = categoryIds.get(input.category);
5762
5760
  return {
@@ -7134,7 +7132,7 @@ var PHOTO = {
7134
7132
  feast: "1559847844-5315695dadae",
7135
7133
  byo: "1551782450-a2132b4ba21d"
7136
7134
  };
7137
- var photoFor = (slug) => seedImage("restaurant", slug, PHOTO[slug] ?? "1414235077428-338989a2e8c0");
7135
+ var photoFor = (slug) => seedImage("restaurant", PHOTO[slug] ?? "1414235077428-338989a2e8c0");
7138
7136
  function seedRestaurant(registry) {
7139
7137
  const businessId = "bus_mamas_kitchen";
7140
7138
  const business = {
@@ -7594,7 +7592,29 @@ function seedRestaurant(registry) {
7594
7592
 
7595
7593
  // src/mock/seeds/retail.ts
7596
7594
  var ISO5 = "2026-01-01T00:00:00.000Z";
7597
- var photoFor2 = (slug) => seedImage("retail", slug);
7595
+ var PHOTO2 = {
7596
+ "android-flagship": "1592750475338-74b7b21085ab",
7597
+ "android-mid": "1511707171634-5f897ff02aa9",
7598
+ "phone-budget": "1574944985070-8f3ebc6b79d2",
7599
+ "laptop-pro": "1517336714731-489689fd1ca8",
7600
+ "laptop-air": "1496181133206-80ce9b88a853",
7601
+ "laptop-budget": "1601784551446-20c9e07cdbdb",
7602
+ "headphones-anc": "1505740420928-5e560c06d30e",
7603
+ "earbuds-pro": "1572569511254-d8f925fe2cbb",
7604
+ "speaker-bt": "1612287230202-1ff1d85d1bdf",
7605
+ "phone-case": "1611532736597-de2d4265fba3",
7606
+ "screen-protector": "1568952433726-3896e3881c65",
7607
+ "fast-charger": "1620794108219-aedbaded4eea",
7608
+ "laptop-sleeve": "1604671801908-6f0c6a092c05",
7609
+ "wireless-mouse": "1594732832278-abd644401426",
7610
+ "mech-keyboard": "1583394838336-acd977736f90",
7611
+ "gaming-controller": "1542751371-adc38448a05e",
7612
+ "gaming-headset": "1606220945770-b5b6c2c55bf1",
7613
+ "console-handheld": "1593642634524-b40b5baae6bb",
7614
+ wfh: "1605236453806-6ff36851218e",
7615
+ "game-pack": "1606144042614-b2417e99c4e3"
7616
+ };
7617
+ var photoFor2 = (slug) => seedImage("retail", PHOTO2[slug] ?? "1517336714731-489689fd1ca8");
7598
7618
  function seedRetail(registry) {
7599
7619
  const businessId = "bus_currents_electronics";
7600
7620
  const business = {
@@ -8089,7 +8109,7 @@ var PHOTO3 = {
8089
8109
  couples: "1591343395082-e120087004b4",
8090
8110
  custom: "1540555700478-4be289fbecef"
8091
8111
  };
8092
- var photoFor3 = (slug) => seedImage("services", slug, PHOTO3[slug] ?? "1540555700478-4be289fbecef");
8112
+ var photoFor3 = (slug) => seedImage("services", PHOTO3[slug] ?? "1540555700478-4be289fbecef");
8093
8113
  function seedServices(registry) {
8094
8114
  const businessId = "bus_serene_spa";
8095
8115
  const business = {
@@ -8497,7 +8517,7 @@ var PHOTO4 = {
8497
8517
  "trash-bags": "1605600659908-0ef719419d41",
8498
8518
  essentials: "1542838132-92c53300491e"
8499
8519
  };
8500
- var photoFor4 = (slug) => seedImage("grocery", slug, PHOTO4[slug] ?? "1542838132-92c53300491e");
8520
+ var photoFor4 = (slug) => seedImage("grocery", PHOTO4[slug] ?? "1542838132-92c53300491e");
8501
8521
  function seedGrocery(registry) {
8502
8522
  const businessId = "bus_freshmart";
8503
8523
  const business = {
@@ -8776,7 +8796,7 @@ var PHOTO5 = {
8776
8796
  "knit-beanie": "1542838132-92c53300491e",
8777
8797
  "studio-sock-3pack": "1602810318383-e386cc2a3ccf"
8778
8798
  };
8779
- var photoFor5 = (slug) => seedImage("fashion", slug, PHOTO5[slug] ?? "1556905055-8f358a7a47b2", 900);
8799
+ var photoFor5 = (slug) => seedImage("fashion", PHOTO5[slug] ?? "1556905055-8f358a7a47b2");
8780
8800
  var SIZES = ["XS", "S", "M", "L", "XL", "2XL"];
8781
8801
  function seedFashion(registry) {
8782
8802
  const businessId = "bus_studio_frx";
@@ -8791,7 +8811,7 @@ function seedFashion(registry) {
8791
8811
  default_address: "Osu Oxford Street, Accra",
8792
8812
  default_offers_table_service: false,
8793
8813
  default_accepts_online_orders: true,
8794
- image: seedImage("fashion", "business-hero"),
8814
+ image: seedImage("fashion", "1490481651871-ab68de25d43d"),
8795
8815
  status: "active",
8796
8816
  created_at: ISO8,
8797
8817
  updated_at: ISO8,