@cimplify/sdk 0.104.0 → 0.104.1

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 (71) hide show
  1. package/dist/advanced.d.mts +3 -7
  2. package/dist/advanced.d.ts +3 -7
  3. package/dist/advanced.js +23 -23
  4. package/dist/advanced.mjs +4 -4
  5. package/dist/{client-BuLcOWLv.d.ts → catalogue-BlQ85Uma.d.mts} +415 -763
  6. package/dist/{client-D5AoobFc.d.mts → catalogue-C8TqOj9K.d.ts} +415 -763
  7. package/dist/{payment-g0HFkEDU.d.mts → checkout-BqK9XUz5.d.mts} +3824 -1446
  8. package/dist/{payment-g0HFkEDU.d.ts → checkout-BqK9XUz5.d.ts} +3824 -1446
  9. package/dist/{chunk-GOHSXBKW.mjs → chunk-33VCYWVL.mjs} +25 -1
  10. package/dist/{chunk-2WPVUIHX.mjs → chunk-6G3ANKQA.mjs} +1030 -360
  11. package/dist/{chunk-E4K2VQDD.js → chunk-BWEIMKLF.js} +541 -16
  12. package/dist/{chunk-IQFFSKE2.js → chunk-DQEXY542.js} +1345 -746
  13. package/dist/{chunk-CNN7Z2IP.js → chunk-EV2EVOYS.js} +27 -0
  14. package/dist/{chunk-YVAEY3VC.js → chunk-HYFA67A7.js} +1034 -364
  15. package/dist/{chunk-5RT4HYMP.mjs → chunk-L5SNEU2O.mjs} +524 -15
  16. package/dist/{chunk-4BKOKHE3.js → chunk-RBNBSQI7.mjs} +217 -19
  17. package/dist/{chunk-H3RATH4B.mjs → chunk-SFUJMS5E.js} +261 -2
  18. package/dist/{chunk-DYIAX3WI.mjs → chunk-U54CWUUT.mjs} +11 -2
  19. package/dist/{chunk-OKADBZAI.mjs → chunk-UFOWPN3D.mjs} +808 -574
  20. package/dist/{chunk-OCCNG6MO.mjs → chunk-V4457OKB.mjs} +1310 -722
  21. package/dist/{chunk-5BDYDZ4U.js → chunk-WXREIBFW.js} +892 -657
  22. package/dist/{chunk-7PDEX54K.js → chunk-XAUSDMMZ.js} +13 -3
  23. package/dist/{client-BVNWjk6W.d.ts → client-DhXeiUrf.d.ts} +2 -2
  24. package/dist/{client-fM716k7G.d.mts → client-mXiUrV4X.d.mts} +2 -2
  25. package/dist/{index-BtcoqrY1.d.ts → index-B0AdZvrM.d.mts} +9 -4
  26. package/dist/{index-D7Tf3v7c.d.mts → index-CK8Nk5uQ.d.ts} +9 -4
  27. package/dist/index-DPWI5XcU.d.ts +8 -0
  28. package/dist/index-DVfUh-ci.d.mts +8 -0
  29. package/dist/index.d.mts +31 -14
  30. package/dist/index.d.ts +31 -14
  31. package/dist/index.js +305 -133
  32. package/dist/index.mjs +6 -6
  33. package/dist/mock/cli.mjs +1442 -386
  34. package/dist/mock/library.js +1168 -352
  35. package/dist/mock/library.mjs +1168 -352
  36. package/dist/mock/msw.js +1168 -352
  37. package/dist/mock/msw.mjs +1168 -352
  38. package/dist/{price-BLIeAb8K.d.ts → price-6hQIIac9.d.ts} +1 -1
  39. package/dist/{price-Czq_cTC_.d.mts → price-BUDv1rI7.d.mts} +1 -1
  40. package/dist/react.d.mts +10 -5
  41. package/dist/react.d.ts +10 -5
  42. package/dist/react.js +227 -197
  43. package/dist/react.mjs +90 -60
  44. package/dist/{server-DKK_D-PP.d.ts → server-DJ0mSs9i.d.mts} +31 -57
  45. package/dist/{server-BkVhOIwn.d.mts → server-DSTX76Ki.d.ts} +31 -57
  46. package/dist/server.d.mts +3 -4
  47. package/dist/server.d.ts +3 -4
  48. package/dist/server.js +11 -11
  49. package/dist/server.mjs +5 -5
  50. package/dist/styles.css +2 -2
  51. package/dist/testing/msw.d.mts +2 -2
  52. package/dist/testing/msw.d.ts +2 -2
  53. package/dist/testing/msw.js +4 -4
  54. package/dist/testing/msw.mjs +3 -3
  55. package/dist/testing/suite.d.mts +5 -6
  56. package/dist/testing/suite.d.ts +5 -6
  57. package/dist/testing/suite.js +29 -28
  58. package/dist/testing/suite.mjs +10 -9
  59. package/dist/testing.d.mts +2177 -14
  60. package/dist/testing.d.ts +2177 -14
  61. package/dist/testing.js +167 -89
  62. package/dist/testing.mjs +24 -10
  63. package/dist/utils.d.mts +3 -4
  64. package/dist/utils.d.ts +3 -4
  65. package/dist/utils.js +35 -31
  66. package/dist/utils.mjs +2 -2
  67. package/package.json +9 -9
  68. package/registry/order-history.json +1 -1
  69. package/registry/order-summary.json +1 -1
  70. package/dist/link-D9iSVxt5.d.mts +0 -308
  71. package/dist/link-D9iSVxt5.d.ts +0 -308
@@ -1,10 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  import { $ZodType } from 'zod/v4/core';
3
- export { A as AddFirstProductOptions, a as AddFirstProductResult, P as ProductSummary, T as TestClientHandle, c as createTestClient, f as fixtures } from './client-fM716k7G.mjs';
4
- import './client-D5AoobFc.mjs';
5
- import './payment-g0HFkEDU.mjs';
6
- import './link-D9iSVxt5.mjs';
7
- import './server-BkVhOIwn.mjs';
3
+ export { A as AddFirstProductOptions, a as AddFirstProductResult, P as ProductSummary, T as TestClientHandle, c as createTestClient, f as fixtures } from './client-mXiUrV4X.mjs';
4
+ import './catalogue-BlQ85Uma.mjs';
5
+ import './checkout-BqK9XUz5.mjs';
6
+ import './server-DJ0mSs9i.mjs';
8
7
  import 'hono';
9
8
 
10
9
  /**
@@ -1434,8 +1433,10 @@ declare const assertCart: (value: unknown) => asserts value is {
1434
1433
  };
1435
1434
 
1436
1435
  /**
1437
- * Checkout schemas — request body and response shapes for `POST /checkout`
1438
- * and the subsequent `POST /payments/authorization` flow.
1436
+ * Deprecated CheckoutService compatibility schemas. These validate the flat
1437
+ * SDK adapter input and its legacy projection over PurchaseIntent. They do
1438
+ * not describe a backend `/checkout` endpoint, and deprecated action
1439
+ * submission is owner-fenced through the PurchaseIntent attempt route.
1439
1440
  */
1440
1441
 
1441
1442
  declare const CheckoutCustomerSchema: z.ZodObject<{
@@ -1455,10 +1456,18 @@ declare const CheckoutBodySchema: z.ZodObject<{
1455
1456
  notes: z.ZodOptional<z.ZodString>;
1456
1457
  save_details: z.ZodOptional<z.ZodBoolean>;
1457
1458
  }, z.core.$strip>;
1458
- order_type: z.ZodString;
1459
+ order_type: z.ZodEnum<{
1460
+ readonly DELIVERY: "delivery";
1461
+ readonly PICKUP: "pickup";
1462
+ readonly DINE_IN: "dine-in";
1463
+ readonly WALK_IN: "walk-in";
1464
+ }>;
1459
1465
  address_info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1460
1466
  delivery_rate_id: z.ZodOptional<z.ZodString>;
1461
- payment_method: z.ZodString;
1467
+ payment_method: z.ZodEnum<{
1468
+ readonly MOBILE_MONEY: "mobile_money";
1469
+ readonly CARD: "card";
1470
+ }>;
1462
1471
  mobile_money_details: z.ZodOptional<z.ZodObject<{
1463
1472
  phone_number: z.ZodString;
1464
1473
  provider: z.ZodString;
@@ -1478,8 +1487,8 @@ declare const assertCheckoutBody: (value: unknown) => asserts value is {
1478
1487
  notes?: string | undefined;
1479
1488
  save_details?: boolean | undefined;
1480
1489
  };
1481
- order_type: string;
1482
- payment_method: string;
1490
+ order_type: "delivery" | "pickup" | "dine-in" | "walk-in";
1491
+ payment_method: "mobile_money" | "card";
1483
1492
  location_id?: string | undefined;
1484
1493
  address_info?: Record<string, unknown> | undefined;
1485
1494
  delivery_rate_id?: string | undefined;
@@ -1532,6 +1541,13 @@ declare const NextActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1532
1541
  }, z.core.$strip>;
1533
1542
  }, z.core.$strip>]>;
1534
1543
  display_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1544
+ }, z.core.$strip>, z.ZodObject<{
1545
+ type: z.ZodLiteral<"terms_changed">;
1546
+ replacement: z.ZodUnknown;
1547
+ deltas: z.ZodArray<z.ZodUnknown>;
1548
+ }, z.core.$strip>, z.ZodObject<{
1549
+ type: z.ZodLiteral<"selection_unavailable">;
1550
+ lines: z.ZodArray<z.ZodUnknown>;
1535
1551
  }, z.core.$strip>, z.ZodObject<{
1536
1552
  type: z.ZodLiteral<"poll">;
1537
1553
  }, z.core.$strip>], "type">;
@@ -1582,6 +1598,13 @@ declare const CheckoutResponseSchema: z.ZodObject<{
1582
1598
  }, z.core.$strip>;
1583
1599
  }, z.core.$strip>]>;
1584
1600
  display_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1601
+ }, z.core.$strip>, z.ZodObject<{
1602
+ type: z.ZodLiteral<"terms_changed">;
1603
+ replacement: z.ZodUnknown;
1604
+ deltas: z.ZodArray<z.ZodUnknown>;
1605
+ }, z.core.$strip>, z.ZodObject<{
1606
+ type: z.ZodLiteral<"selection_unavailable">;
1607
+ lines: z.ZodArray<z.ZodUnknown>;
1585
1608
  }, z.core.$strip>, z.ZodObject<{
1586
1609
  type: z.ZodLiteral<"poll">;
1587
1610
  }, z.core.$strip>], "type">;
@@ -1621,6 +1644,13 @@ declare const assertCheckoutResponse: (value: unknown) => asserts value is {
1621
1644
  };
1622
1645
  };
1623
1646
  display_text?: string | null | undefined;
1647
+ } | {
1648
+ type: "terms_changed";
1649
+ replacement: unknown;
1650
+ deltas: unknown[];
1651
+ } | {
1652
+ type: "selection_unavailable";
1653
+ lines: unknown[];
1624
1654
  } | {
1625
1655
  type: "poll";
1626
1656
  };
@@ -1642,6 +1672,1376 @@ declare const assertCheckoutResponse: (value: unknown) => asserts value is {
1642
1672
  public_key?: string | null | undefined;
1643
1673
  };
1644
1674
 
1675
+ declare const PurchaseIntentSourceInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1676
+ kind: z.ZodLiteral<"product">;
1677
+ product_id: z.ZodString;
1678
+ }, z.core.$strict>, z.ZodObject<{
1679
+ kind: z.ZodLiteral<"collection">;
1680
+ collection_id: z.ZodString;
1681
+ }, z.core.$strict>, z.ZodObject<{
1682
+ kind: z.ZodLiteral<"sale">;
1683
+ sale_id: z.ZodString;
1684
+ }, z.core.$strict>, z.ZodObject<{
1685
+ kind: z.ZodLiteral<"post">;
1686
+ signed_handoff: z.ZodString;
1687
+ }, z.core.$strict>, z.ZodObject<{
1688
+ kind: z.ZodLiteral<"live">;
1689
+ signed_handoff: z.ZodString;
1690
+ signed_beat_identity: z.ZodString;
1691
+ }, z.core.$strict>, z.ZodObject<{
1692
+ kind: z.ZodLiteral<"cart">;
1693
+ cart_id: z.ZodString;
1694
+ }, z.core.$strict>, z.ZodObject<{
1695
+ kind: z.ZodLiteral<"chat">;
1696
+ thread_id: z.ZodString;
1697
+ }, z.core.$strict>], "kind">;
1698
+ declare const PurchaseIntentTenderPreferenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1699
+ method_kind: z.ZodLiteral<"card">;
1700
+ stored_instrument_id: z.ZodOptional<z.ZodString>;
1701
+ }, z.core.$strict>, z.ZodObject<{
1702
+ method_kind: z.ZodLiteral<"mobile_money">;
1703
+ authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
1704
+ authority_kind: z.ZodLiteral<"transient">;
1705
+ phone_number: z.ZodString;
1706
+ network: z.ZodEnum<{
1707
+ readonly MTN: "mtn";
1708
+ readonly TELECEL: "telecel";
1709
+ readonly AIRTEL: "airtel";
1710
+ }>;
1711
+ }, z.core.$strict>, z.ZodObject<{
1712
+ authority_kind: z.ZodLiteral<"saved_reference">;
1713
+ stored_instrument_id: z.ZodString;
1714
+ }, z.core.$strict>], "authority_kind">;
1715
+ }, z.core.$strict>], "method_kind">;
1716
+ declare const MintPurchaseIntentRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
1717
+ source: z.ZodUnion<readonly [z.ZodObject<{
1718
+ kind: z.ZodLiteral<"cart">;
1719
+ cart_id: z.ZodString;
1720
+ }, z.core.$strict>, z.ZodObject<{
1721
+ kind: z.ZodLiteral<"chat">;
1722
+ thread_id: z.ZodString;
1723
+ }, z.core.$strict>]>;
1724
+ checkout: z.ZodObject<{
1725
+ customer: z.ZodObject<{
1726
+ name: z.ZodString;
1727
+ email: z.ZodString;
1728
+ phone: z.ZodString;
1729
+ notes: z.ZodOptional<z.ZodString>;
1730
+ save_details: z.ZodOptional<z.ZodBoolean>;
1731
+ }, z.core.$strip>;
1732
+ order_type: z.ZodString;
1733
+ address_info: z.ZodObject<{
1734
+ street_address: z.ZodOptional<z.ZodString>;
1735
+ apartment: z.ZodOptional<z.ZodString>;
1736
+ city: z.ZodOptional<z.ZodString>;
1737
+ region: z.ZodOptional<z.ZodString>;
1738
+ postal_code: z.ZodOptional<z.ZodString>;
1739
+ country: z.ZodOptional<z.ZodString>;
1740
+ delivery_instructions: z.ZodOptional<z.ZodString>;
1741
+ phone_for_delivery: z.ZodOptional<z.ZodString>;
1742
+ latitude: z.ZodOptional<z.ZodNumber>;
1743
+ longitude: z.ZodOptional<z.ZodNumber>;
1744
+ pickup_time: z.ZodOptional<z.ZodString>;
1745
+ guest_count: z.ZodOptional<z.ZodNumber>;
1746
+ seating_time: z.ZodOptional<z.ZodString>;
1747
+ seating_requests: z.ZodOptional<z.ZodString>;
1748
+ }, z.core.$strip>;
1749
+ location_id: z.ZodOptional<z.ZodString>;
1750
+ delivery_rate_id: z.ZodOptional<z.ZodString>;
1751
+ special_instructions: z.ZodOptional<z.ZodString>;
1752
+ link_address_id: z.ZodOptional<z.ZodString>;
1753
+ link_payment_method_id: z.ZodOptional<z.ZodString>;
1754
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1755
+ pay_currency: z.ZodOptional<z.ZodString>;
1756
+ fx_quote_id: z.ZodOptional<z.ZodString>;
1757
+ use_store_credit: z.ZodOptional<z.ZodBoolean>;
1758
+ voucher_code: z.ZodOptional<z.ZodString>;
1759
+ pay_deposit: z.ZodOptional<z.ZodBoolean>;
1760
+ tender_preference: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1761
+ method_kind: z.ZodLiteral<"card">;
1762
+ stored_instrument_id: z.ZodOptional<z.ZodString>;
1763
+ }, z.core.$strict>, z.ZodObject<{
1764
+ method_kind: z.ZodLiteral<"mobile_money">;
1765
+ authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
1766
+ authority_kind: z.ZodLiteral<"transient">;
1767
+ phone_number: z.ZodString;
1768
+ network: z.ZodEnum<{
1769
+ readonly MTN: "mtn";
1770
+ readonly TELECEL: "telecel";
1771
+ readonly AIRTEL: "airtel";
1772
+ }>;
1773
+ }, z.core.$strict>, z.ZodObject<{
1774
+ authority_kind: z.ZodLiteral<"saved_reference">;
1775
+ stored_instrument_id: z.ZodString;
1776
+ }, z.core.$strict>], "authority_kind">;
1777
+ }, z.core.$strict>], "method_kind">>;
1778
+ }, z.core.$strip>;
1779
+ client_intent_key: z.ZodString;
1780
+ destination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1781
+ address_id: z.ZodString;
1782
+ delivery_rate_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1783
+ }, z.core.$strip>>>;
1784
+ }, z.core.$strict>, z.ZodObject<{
1785
+ source: z.ZodUnion<readonly [z.ZodObject<{
1786
+ kind: z.ZodLiteral<"product">;
1787
+ product_id: z.ZodString;
1788
+ }, z.core.$strict>, z.ZodObject<{
1789
+ kind: z.ZodLiteral<"collection">;
1790
+ collection_id: z.ZodString;
1791
+ }, z.core.$strict>, z.ZodObject<{
1792
+ kind: z.ZodLiteral<"sale">;
1793
+ sale_id: z.ZodString;
1794
+ }, z.core.$strict>, z.ZodObject<{
1795
+ kind: z.ZodLiteral<"post">;
1796
+ signed_handoff: z.ZodString;
1797
+ }, z.core.$strict>, z.ZodObject<{
1798
+ kind: z.ZodLiteral<"live">;
1799
+ signed_handoff: z.ZodString;
1800
+ signed_beat_identity: z.ZodString;
1801
+ }, z.core.$strict>]>;
1802
+ lines: z.ZodArray<z.ZodObject<{
1803
+ sellable: z.ZodObject<{
1804
+ kind: z.ZodEnum<{
1805
+ readonly PRODUCT: "product";
1806
+ readonly VARIANT: "variant";
1807
+ }>;
1808
+ product_id: z.ZodString;
1809
+ variant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1810
+ location_id: z.ZodString;
1811
+ }, z.core.$strip>;
1812
+ quantity: z.ZodNumber;
1813
+ configuration: z.ZodObject<{
1814
+ kind: z.ZodLiteral<"simple">;
1815
+ variant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1816
+ add_ons: z.ZodOptional<z.ZodArray<z.ZodObject<{
1817
+ option_id: z.ZodString;
1818
+ quantity: z.ZodNumber;
1819
+ }, z.core.$strip>>>;
1820
+ customer_inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1821
+ field_id: z.ZodString;
1822
+ field_name: z.ZodOptional<z.ZodString>;
1823
+ field_type: z.ZodOptional<z.ZodString>;
1824
+ value: z.ZodUnknown;
1825
+ }, z.core.$strip>>>;
1826
+ }, z.core.$strip>;
1827
+ offer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1828
+ kind: z.ZodEnum<{
1829
+ readonly CATALOGUE: "catalogue";
1830
+ readonly SALE: "sale";
1831
+ readonly RAPID: "rapid";
1832
+ }>;
1833
+ id: z.ZodString;
1834
+ version: z.ZodString;
1835
+ }, z.core.$strip>>>;
1836
+ }, z.core.$strip>>;
1837
+ client_intent_key: z.ZodString;
1838
+ destination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1839
+ address_id: z.ZodString;
1840
+ delivery_rate_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1841
+ }, z.core.$strip>>>;
1842
+ }, z.core.$strict>]>;
1843
+ declare const CheckoutTermsViewSchema: z.ZodObject<{
1844
+ id: z.ZodString;
1845
+ intent_revision: z.ZodNumber;
1846
+ terms_version: z.ZodNumber;
1847
+ terms_digest: z.ZodString;
1848
+ money: z.ZodObject<{
1849
+ currency: z.ZodString;
1850
+ subtotal: z.ZodString;
1851
+ discount_total: z.ZodString;
1852
+ tax_total: z.ZodString;
1853
+ delivery_total: z.ZodString;
1854
+ statutory_total: z.ZodString;
1855
+ total_obligation: z.ZodString;
1856
+ due_now: z.ZodString;
1857
+ rail_amount: z.ZodString;
1858
+ store_credit_consumed: z.ZodString;
1859
+ voucher_credit_consumed: z.ZodString;
1860
+ }, z.core.$strip>;
1861
+ material: z.ZodObject<{
1862
+ line_digest: z.ZodString;
1863
+ destination_digest: z.ZodString;
1864
+ delivery_promise_digest: z.ZodString;
1865
+ entitlement_digest: z.ZodString;
1866
+ cancellation_terms_digest: z.ZodString;
1867
+ }, z.core.$strip>;
1868
+ compliance: z.ZodObject<{
1869
+ policy_name: z.ZodString;
1870
+ policy_version: z.ZodNumber;
1871
+ lane: z.ZodEnum<{
1872
+ readonly COMMERCE_CORE: "commerce_core";
1873
+ readonly NATIVE: "native";
1874
+ readonly STORE_KIT: "store_kit";
1875
+ readonly PERMITTED_EXTERNAL: "permitted_external";
1876
+ readonly BROWSE_ONLY: "browse_only";
1877
+ }>;
1878
+ reason_code: z.ZodEnum<{
1879
+ readonly COMMERCE_CORE: "commerce_core";
1880
+ readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
1881
+ readonly STORE_KIT_REQUIRED: "store_kit_required";
1882
+ readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
1883
+ readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
1884
+ readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
1885
+ readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
1886
+ }>;
1887
+ evidence_digest: z.ZodString;
1888
+ }, z.core.$strip>;
1889
+ payment_options: z.ZodArray<z.ZodObject<{
1890
+ id: z.ZodString;
1891
+ rank: z.ZodNumber;
1892
+ method_kind: z.ZodEnum<{
1893
+ readonly CARD: "card";
1894
+ readonly MOBILE_MONEY: "mobile_money";
1895
+ readonly OFFLINE: "offline";
1896
+ }>;
1897
+ collection_mode: z.ZodEnum<{
1898
+ readonly REQUEST_TO_PAY: "request_to_pay";
1899
+ readonly MANDATE_DEBIT: "mandate_debit";
1900
+ readonly CREDENTIAL_CHARGE: "credential_charge";
1901
+ readonly OFFLINE_TENDER: "offline_tender";
1902
+ }>;
1903
+ provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1904
+ readonly STRIPE: "stripe";
1905
+ readonly PAYSTACK: "paystack";
1906
+ readonly CELLULANT: "cellulant";
1907
+ readonly MTN_MOMO: "mtn_momo";
1908
+ }>>>;
1909
+ instrument: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
1910
+ kind: z.ZodLiteral<"card">;
1911
+ brand: z.ZodString;
1912
+ last4: z.ZodString;
1913
+ exp_month: z.ZodNumber;
1914
+ exp_year: z.ZodNumber;
1915
+ }, z.core.$strip>, z.ZodObject<{
1916
+ kind: z.ZodLiteral<"mobile_money">;
1917
+ network: z.ZodString;
1918
+ masked_number: z.ZodString;
1919
+ }, z.core.$strip>, z.ZodObject<{
1920
+ kind: z.ZodLiteral<"erased">;
1921
+ }, z.core.$strip>], "kind">>>;
1922
+ principal_amount: z.ZodString;
1923
+ fee_amount: z.ZodString;
1924
+ customer_debit_amount: z.ZodString;
1925
+ currency: z.ZodString;
1926
+ status: z.ZodEnum<{
1927
+ readonly ELIGIBLE: "eligible";
1928
+ readonly INELIGIBLE: "ineligible";
1929
+ readonly EXPIRED: "expired";
1930
+ }>;
1931
+ expected_next_action: z.ZodEnum<{
1932
+ readonly NONE: "none";
1933
+ readonly PROVIDER_APPROVAL: "provider_approval";
1934
+ readonly STEP_UP: "step_up";
1935
+ }>;
1936
+ expires_at: z.ZodISODateTime;
1937
+ }, z.core.$strip>>;
1938
+ valid_until: z.ZodISODateTime;
1939
+ created_at: z.ZodISODateTime;
1940
+ }, z.core.$strict>;
1941
+ declare const PurchaseIntentViewSchema: z.ZodObject<{
1942
+ id: z.ZodString;
1943
+ seller_business_id: z.ZodString;
1944
+ principal: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
1945
+ kind: z.ZodLiteral<"account">;
1946
+ account_id: z.ZodString;
1947
+ }, z.core.$strict>, z.ZodObject<{
1948
+ kind: z.ZodLiteral<"business">;
1949
+ business_id: z.ZodString;
1950
+ }, z.core.$strict>, z.ZodObject<{
1951
+ kind: z.ZodLiteral<"guest">;
1952
+ }, z.core.$strict>, z.ZodObject<{
1953
+ kind: z.ZodLiteral<"recognised">;
1954
+ verified: z.ZodBoolean;
1955
+ }, z.core.$strict>], "kind">>>;
1956
+ revision: z.ZodNumber;
1957
+ status: z.ZodEnum<{
1958
+ readonly DRAFT: "draft";
1959
+ readonly OPEN: "open";
1960
+ readonly CONVERTED: "converted";
1961
+ readonly CANCELLED: "cancelled";
1962
+ readonly EXPIRED: "expired";
1963
+ }>;
1964
+ source: z.ZodObject<{
1965
+ kind: z.ZodEnum<{
1966
+ readonly PRODUCT: "product";
1967
+ readonly COLLECTION: "collection";
1968
+ readonly SALE: "sale";
1969
+ readonly POST: "post";
1970
+ readonly LIVE: "live";
1971
+ readonly CART: "cart";
1972
+ readonly CHAT: "chat";
1973
+ readonly MANUAL: "manual";
1974
+ }>;
1975
+ source_id: z.ZodString;
1976
+ social_post_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1977
+ source_version: z.ZodString;
1978
+ seller_business_id: z.ZodString;
1979
+ subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
1980
+ kind: z.ZodLiteral<"account">;
1981
+ account_id: z.ZodString;
1982
+ }, z.core.$strict>, z.ZodObject<{
1983
+ kind: z.ZodLiteral<"business">;
1984
+ business_id: z.ZodString;
1985
+ }, z.core.$strict>], "kind">;
1986
+ binding_digest: z.ZodString;
1987
+ }, z.core.$strict>;
1988
+ lines: z.ZodArray<z.ZodObject<{
1989
+ sellable: z.ZodObject<{
1990
+ kind: z.ZodEnum<{
1991
+ readonly PRODUCT: "product";
1992
+ readonly VARIANT: "variant";
1993
+ }>;
1994
+ product_id: z.ZodString;
1995
+ variant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1996
+ location_id: z.ZodString;
1997
+ }, z.core.$strip>;
1998
+ quantity: z.ZodNumber;
1999
+ offer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2000
+ kind: z.ZodEnum<{
2001
+ readonly CATALOGUE: "catalogue";
2002
+ readonly SALE: "sale";
2003
+ readonly RAPID: "rapid";
2004
+ }>;
2005
+ id: z.ZodString;
2006
+ version: z.ZodString;
2007
+ }, z.core.$strip>>>;
2008
+ id: z.ZodString;
2009
+ ordinal: z.ZodNumber;
2010
+ configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
2011
+ kind: z.ZodLiteral<"simple">;
2012
+ variant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2013
+ add_ons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2014
+ option_id: z.ZodString;
2015
+ quantity: z.ZodNumber;
2016
+ }, z.core.$strip>>>;
2017
+ customer_inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2018
+ field_id: z.ZodString;
2019
+ field_name: z.ZodOptional<z.ZodString>;
2020
+ field_type: z.ZodOptional<z.ZodString>;
2021
+ value: z.ZodUnknown;
2022
+ }, z.core.$strip>>>;
2023
+ }, z.core.$strip>, z.ZodObject<{
2024
+ kind: z.ZodLiteral<"cart">;
2025
+ configuration: z.ZodObject<{
2026
+ type: z.ZodEnum<{
2027
+ service: "service";
2028
+ digital: "digital";
2029
+ bundle: "bundle";
2030
+ composite: "composite";
2031
+ simple: "simple";
2032
+ }>;
2033
+ }, z.core.$loose>;
2034
+ }, z.core.$strip>], "kind">;
2035
+ }, z.core.$strip>>;
2036
+ line_pricing: z.ZodArray<z.ZodObject<{
2037
+ intent_line_id: z.ZodString;
2038
+ quantity: z.ZodNumber;
2039
+ unit_price: z.ZodString;
2040
+ line_subtotal: z.ZodString;
2041
+ currency: z.ZodString;
2042
+ }, z.core.$strict>>;
2043
+ current_terms: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2044
+ id: z.ZodString;
2045
+ intent_revision: z.ZodNumber;
2046
+ terms_version: z.ZodNumber;
2047
+ terms_digest: z.ZodString;
2048
+ money: z.ZodObject<{
2049
+ currency: z.ZodString;
2050
+ subtotal: z.ZodString;
2051
+ discount_total: z.ZodString;
2052
+ tax_total: z.ZodString;
2053
+ delivery_total: z.ZodString;
2054
+ statutory_total: z.ZodString;
2055
+ total_obligation: z.ZodString;
2056
+ due_now: z.ZodString;
2057
+ rail_amount: z.ZodString;
2058
+ store_credit_consumed: z.ZodString;
2059
+ voucher_credit_consumed: z.ZodString;
2060
+ }, z.core.$strip>;
2061
+ material: z.ZodObject<{
2062
+ line_digest: z.ZodString;
2063
+ destination_digest: z.ZodString;
2064
+ delivery_promise_digest: z.ZodString;
2065
+ entitlement_digest: z.ZodString;
2066
+ cancellation_terms_digest: z.ZodString;
2067
+ }, z.core.$strip>;
2068
+ compliance: z.ZodObject<{
2069
+ policy_name: z.ZodString;
2070
+ policy_version: z.ZodNumber;
2071
+ lane: z.ZodEnum<{
2072
+ readonly COMMERCE_CORE: "commerce_core";
2073
+ readonly NATIVE: "native";
2074
+ readonly STORE_KIT: "store_kit";
2075
+ readonly PERMITTED_EXTERNAL: "permitted_external";
2076
+ readonly BROWSE_ONLY: "browse_only";
2077
+ }>;
2078
+ reason_code: z.ZodEnum<{
2079
+ readonly COMMERCE_CORE: "commerce_core";
2080
+ readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
2081
+ readonly STORE_KIT_REQUIRED: "store_kit_required";
2082
+ readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
2083
+ readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
2084
+ readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
2085
+ readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
2086
+ }>;
2087
+ evidence_digest: z.ZodString;
2088
+ }, z.core.$strip>;
2089
+ payment_options: z.ZodArray<z.ZodObject<{
2090
+ id: z.ZodString;
2091
+ rank: z.ZodNumber;
2092
+ method_kind: z.ZodEnum<{
2093
+ readonly CARD: "card";
2094
+ readonly MOBILE_MONEY: "mobile_money";
2095
+ readonly OFFLINE: "offline";
2096
+ }>;
2097
+ collection_mode: z.ZodEnum<{
2098
+ readonly REQUEST_TO_PAY: "request_to_pay";
2099
+ readonly MANDATE_DEBIT: "mandate_debit";
2100
+ readonly CREDENTIAL_CHARGE: "credential_charge";
2101
+ readonly OFFLINE_TENDER: "offline_tender";
2102
+ }>;
2103
+ provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2104
+ readonly STRIPE: "stripe";
2105
+ readonly PAYSTACK: "paystack";
2106
+ readonly CELLULANT: "cellulant";
2107
+ readonly MTN_MOMO: "mtn_momo";
2108
+ }>>>;
2109
+ instrument: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2110
+ kind: z.ZodLiteral<"card">;
2111
+ brand: z.ZodString;
2112
+ last4: z.ZodString;
2113
+ exp_month: z.ZodNumber;
2114
+ exp_year: z.ZodNumber;
2115
+ }, z.core.$strip>, z.ZodObject<{
2116
+ kind: z.ZodLiteral<"mobile_money">;
2117
+ network: z.ZodString;
2118
+ masked_number: z.ZodString;
2119
+ }, z.core.$strip>, z.ZodObject<{
2120
+ kind: z.ZodLiteral<"erased">;
2121
+ }, z.core.$strip>], "kind">>>;
2122
+ principal_amount: z.ZodString;
2123
+ fee_amount: z.ZodString;
2124
+ customer_debit_amount: z.ZodString;
2125
+ currency: z.ZodString;
2126
+ status: z.ZodEnum<{
2127
+ readonly ELIGIBLE: "eligible";
2128
+ readonly INELIGIBLE: "ineligible";
2129
+ readonly EXPIRED: "expired";
2130
+ }>;
2131
+ expected_next_action: z.ZodEnum<{
2132
+ readonly NONE: "none";
2133
+ readonly PROVIDER_APPROVAL: "provider_approval";
2134
+ readonly STEP_UP: "step_up";
2135
+ }>;
2136
+ expires_at: z.ZodISODateTime;
2137
+ }, z.core.$strip>>;
2138
+ valid_until: z.ZodISODateTime;
2139
+ created_at: z.ZodISODateTime;
2140
+ }, z.core.$strict>>>;
2141
+ converted_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2142
+ expires_at: z.ZodISODateTime;
2143
+ created_at: z.ZodISODateTime;
2144
+ updated_at: z.ZodISODateTime;
2145
+ }, z.core.$strict>;
2146
+ declare const ConfirmPurchaseIntentRequestSchema: z.ZodObject<{
2147
+ accepted_intent_revision: z.ZodNumber;
2148
+ accepted_terms_version: z.ZodNumber;
2149
+ accepted_due_now: z.ZodString;
2150
+ accepted_customer_debit_amount: z.ZodString;
2151
+ currency: z.ZodString;
2152
+ payment_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2153
+ idempotency_key: z.ZodString;
2154
+ }, z.core.$strict>;
2155
+ declare const PreparePurchaseIntentRequestSchema: z.ZodObject<{
2156
+ expected_intent_revision: z.ZodNumber;
2157
+ idempotency_key: z.ZodString;
2158
+ checkout: z.ZodObject<{
2159
+ customer: z.ZodObject<{
2160
+ name: z.ZodString;
2161
+ email: z.ZodString;
2162
+ phone: z.ZodString;
2163
+ notes: z.ZodOptional<z.ZodString>;
2164
+ save_details: z.ZodOptional<z.ZodBoolean>;
2165
+ }, z.core.$strip>;
2166
+ order_type: z.ZodString;
2167
+ address_info: z.ZodObject<{
2168
+ street_address: z.ZodOptional<z.ZodString>;
2169
+ apartment: z.ZodOptional<z.ZodString>;
2170
+ city: z.ZodOptional<z.ZodString>;
2171
+ region: z.ZodOptional<z.ZodString>;
2172
+ postal_code: z.ZodOptional<z.ZodString>;
2173
+ country: z.ZodOptional<z.ZodString>;
2174
+ delivery_instructions: z.ZodOptional<z.ZodString>;
2175
+ phone_for_delivery: z.ZodOptional<z.ZodString>;
2176
+ latitude: z.ZodOptional<z.ZodNumber>;
2177
+ longitude: z.ZodOptional<z.ZodNumber>;
2178
+ pickup_time: z.ZodOptional<z.ZodString>;
2179
+ guest_count: z.ZodOptional<z.ZodNumber>;
2180
+ seating_time: z.ZodOptional<z.ZodString>;
2181
+ seating_requests: z.ZodOptional<z.ZodString>;
2182
+ }, z.core.$strip>;
2183
+ location_id: z.ZodOptional<z.ZodString>;
2184
+ delivery_rate_id: z.ZodOptional<z.ZodString>;
2185
+ special_instructions: z.ZodOptional<z.ZodString>;
2186
+ link_address_id: z.ZodOptional<z.ZodString>;
2187
+ link_payment_method_id: z.ZodOptional<z.ZodString>;
2188
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2189
+ pay_currency: z.ZodOptional<z.ZodString>;
2190
+ fx_quote_id: z.ZodOptional<z.ZodString>;
2191
+ use_store_credit: z.ZodOptional<z.ZodBoolean>;
2192
+ voucher_code: z.ZodOptional<z.ZodString>;
2193
+ pay_deposit: z.ZodOptional<z.ZodBoolean>;
2194
+ tender_preference: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2195
+ method_kind: z.ZodLiteral<"card">;
2196
+ stored_instrument_id: z.ZodOptional<z.ZodString>;
2197
+ }, z.core.$strict>, z.ZodObject<{
2198
+ method_kind: z.ZodLiteral<"mobile_money">;
2199
+ authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
2200
+ authority_kind: z.ZodLiteral<"transient">;
2201
+ phone_number: z.ZodString;
2202
+ network: z.ZodEnum<{
2203
+ readonly MTN: "mtn";
2204
+ readonly TELECEL: "telecel";
2205
+ readonly AIRTEL: "airtel";
2206
+ }>;
2207
+ }, z.core.$strict>, z.ZodObject<{
2208
+ authority_kind: z.ZodLiteral<"saved_reference">;
2209
+ stored_instrument_id: z.ZodString;
2210
+ }, z.core.$strict>], "authority_kind">;
2211
+ }, z.core.$strict>], "method_kind">>;
2212
+ }, z.core.$strip>;
2213
+ }, z.core.$strict>;
2214
+ declare const SubmitPurchaseIntentActionRequestSchema: z.ZodObject<{
2215
+ authorization: z.ZodDiscriminatedUnion<[z.ZodObject<{
2216
+ type: z.ZodLiteral<"otp">;
2217
+ value: z.ZodString;
2218
+ }, z.core.$strict>, z.ZodObject<{
2219
+ type: z.ZodLiteral<"pin">;
2220
+ value: z.ZodString;
2221
+ }, z.core.$strict>, z.ZodObject<{
2222
+ type: z.ZodLiteral<"phone">;
2223
+ value: z.ZodString;
2224
+ }, z.core.$strict>, z.ZodObject<{
2225
+ type: z.ZodLiteral<"birthday">;
2226
+ value: z.ZodString;
2227
+ }, z.core.$strict>, z.ZodObject<{
2228
+ type: z.ZodLiteral<"address">;
2229
+ address: z.ZodString;
2230
+ city: z.ZodString;
2231
+ state: z.ZodString;
2232
+ zip_code: z.ZodString;
2233
+ }, z.core.$strict>], "type">;
2234
+ }, z.core.$strict>;
2235
+ declare const ConfirmPurchaseIntentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2236
+ intent_id: z.ZodString;
2237
+ attempt_id: z.ZodString;
2238
+ order_id: z.ZodString;
2239
+ order_number: z.ZodOptional<z.ZodString>;
2240
+ payment_id: z.ZodOptional<z.ZodString>;
2241
+ status: z.ZodLiteral<"order_created">;
2242
+ }, z.core.$loose>, z.ZodObject<{
2243
+ intent_id: z.ZodString;
2244
+ attempt_id: z.ZodString;
2245
+ order_id: z.ZodString;
2246
+ order_number: z.ZodOptional<z.ZodString>;
2247
+ payment_id: z.ZodOptional<z.ZodString>;
2248
+ status: z.ZodLiteral<"collection_processing">;
2249
+ }, z.core.$loose>, z.ZodObject<{
2250
+ intent_id: z.ZodString;
2251
+ attempt_id: z.ZodString;
2252
+ order_id: z.ZodString;
2253
+ order_number: z.ZodOptional<z.ZodString>;
2254
+ payment_id: z.ZodOptional<z.ZodString>;
2255
+ status: z.ZodLiteral<"payment_outcome_unknown">;
2256
+ }, z.core.$loose>, z.ZodObject<{
2257
+ intent_id: z.ZodString;
2258
+ attempt_id: z.ZodString;
2259
+ order_id: z.ZodString;
2260
+ order_number: z.ZodOptional<z.ZodString>;
2261
+ payment_id: z.ZodOptional<z.ZodString>;
2262
+ status: z.ZodLiteral<"payment_failed">;
2263
+ }, z.core.$loose>, z.ZodObject<{
2264
+ authorization_url: z.ZodString;
2265
+ intent_id: z.ZodString;
2266
+ attempt_id: z.ZodString;
2267
+ order_id: z.ZodString;
2268
+ order_number: z.ZodOptional<z.ZodString>;
2269
+ payment_id: z.ZodOptional<z.ZodString>;
2270
+ status: z.ZodLiteral<"redirect_required">;
2271
+ }, z.core.$loose>, z.ZodObject<{
2272
+ provider: z.ZodEnum<{
2273
+ readonly STRIPE: "stripe";
2274
+ readonly PAYSTACK: "paystack";
2275
+ readonly CELLULANT: "cellulant";
2276
+ readonly MTN_MOMO: "mtn_momo";
2277
+ }>;
2278
+ client_secret: z.ZodString;
2279
+ public_key: z.ZodString;
2280
+ provider_account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2281
+ intent_id: z.ZodString;
2282
+ attempt_id: z.ZodString;
2283
+ order_id: z.ZodString;
2284
+ order_number: z.ZodOptional<z.ZodString>;
2285
+ payment_id: z.ZodOptional<z.ZodString>;
2286
+ status: z.ZodLiteral<"card_popup_required">;
2287
+ }, z.core.$loose>, z.ZodObject<{
2288
+ authorization_type: z.ZodUnion<readonly [z.ZodEnum<{
2289
+ phone: "phone";
2290
+ otp: "otp";
2291
+ pin: "pin";
2292
+ birthday: "birthday";
2293
+ }>, z.ZodObject<{
2294
+ address: z.ZodObject<{
2295
+ address: z.ZodString;
2296
+ city: z.ZodString;
2297
+ state: z.ZodString;
2298
+ zip_code: z.ZodString;
2299
+ }, z.core.$strip>;
2300
+ }, z.core.$strip>]>;
2301
+ display_text: z.ZodOptional<z.ZodString>;
2302
+ intent_id: z.ZodString;
2303
+ attempt_id: z.ZodString;
2304
+ order_id: z.ZodString;
2305
+ order_number: z.ZodOptional<z.ZodString>;
2306
+ payment_id: z.ZodOptional<z.ZodString>;
2307
+ status: z.ZodLiteral<"authorization_required">;
2308
+ }, z.core.$loose>, z.ZodObject<{
2309
+ status: z.ZodLiteral<"terms_changed">;
2310
+ intent_id: z.ZodString;
2311
+ replacement: z.ZodObject<{
2312
+ id: z.ZodString;
2313
+ intent_revision: z.ZodNumber;
2314
+ terms_version: z.ZodNumber;
2315
+ terms_digest: z.ZodString;
2316
+ money: z.ZodObject<{
2317
+ currency: z.ZodString;
2318
+ subtotal: z.ZodString;
2319
+ discount_total: z.ZodString;
2320
+ tax_total: z.ZodString;
2321
+ delivery_total: z.ZodString;
2322
+ statutory_total: z.ZodString;
2323
+ total_obligation: z.ZodString;
2324
+ due_now: z.ZodString;
2325
+ rail_amount: z.ZodString;
2326
+ store_credit_consumed: z.ZodString;
2327
+ voucher_credit_consumed: z.ZodString;
2328
+ }, z.core.$strip>;
2329
+ material: z.ZodObject<{
2330
+ line_digest: z.ZodString;
2331
+ destination_digest: z.ZodString;
2332
+ delivery_promise_digest: z.ZodString;
2333
+ entitlement_digest: z.ZodString;
2334
+ cancellation_terms_digest: z.ZodString;
2335
+ }, z.core.$strip>;
2336
+ compliance: z.ZodObject<{
2337
+ policy_name: z.ZodString;
2338
+ policy_version: z.ZodNumber;
2339
+ lane: z.ZodEnum<{
2340
+ readonly COMMERCE_CORE: "commerce_core";
2341
+ readonly NATIVE: "native";
2342
+ readonly STORE_KIT: "store_kit";
2343
+ readonly PERMITTED_EXTERNAL: "permitted_external";
2344
+ readonly BROWSE_ONLY: "browse_only";
2345
+ }>;
2346
+ reason_code: z.ZodEnum<{
2347
+ readonly COMMERCE_CORE: "commerce_core";
2348
+ readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
2349
+ readonly STORE_KIT_REQUIRED: "store_kit_required";
2350
+ readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
2351
+ readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
2352
+ readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
2353
+ readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
2354
+ }>;
2355
+ evidence_digest: z.ZodString;
2356
+ }, z.core.$strip>;
2357
+ payment_options: z.ZodArray<z.ZodObject<{
2358
+ id: z.ZodString;
2359
+ rank: z.ZodNumber;
2360
+ method_kind: z.ZodEnum<{
2361
+ readonly CARD: "card";
2362
+ readonly MOBILE_MONEY: "mobile_money";
2363
+ readonly OFFLINE: "offline";
2364
+ }>;
2365
+ collection_mode: z.ZodEnum<{
2366
+ readonly REQUEST_TO_PAY: "request_to_pay";
2367
+ readonly MANDATE_DEBIT: "mandate_debit";
2368
+ readonly CREDENTIAL_CHARGE: "credential_charge";
2369
+ readonly OFFLINE_TENDER: "offline_tender";
2370
+ }>;
2371
+ provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2372
+ readonly STRIPE: "stripe";
2373
+ readonly PAYSTACK: "paystack";
2374
+ readonly CELLULANT: "cellulant";
2375
+ readonly MTN_MOMO: "mtn_momo";
2376
+ }>>>;
2377
+ instrument: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2378
+ kind: z.ZodLiteral<"card">;
2379
+ brand: z.ZodString;
2380
+ last4: z.ZodString;
2381
+ exp_month: z.ZodNumber;
2382
+ exp_year: z.ZodNumber;
2383
+ }, z.core.$strip>, z.ZodObject<{
2384
+ kind: z.ZodLiteral<"mobile_money">;
2385
+ network: z.ZodString;
2386
+ masked_number: z.ZodString;
2387
+ }, z.core.$strip>, z.ZodObject<{
2388
+ kind: z.ZodLiteral<"erased">;
2389
+ }, z.core.$strip>], "kind">>>;
2390
+ principal_amount: z.ZodString;
2391
+ fee_amount: z.ZodString;
2392
+ customer_debit_amount: z.ZodString;
2393
+ currency: z.ZodString;
2394
+ status: z.ZodEnum<{
2395
+ readonly ELIGIBLE: "eligible";
2396
+ readonly INELIGIBLE: "ineligible";
2397
+ readonly EXPIRED: "expired";
2398
+ }>;
2399
+ expected_next_action: z.ZodEnum<{
2400
+ readonly NONE: "none";
2401
+ readonly PROVIDER_APPROVAL: "provider_approval";
2402
+ readonly STEP_UP: "step_up";
2403
+ }>;
2404
+ expires_at: z.ZodISODateTime;
2405
+ }, z.core.$strip>>;
2406
+ valid_until: z.ZodISODateTime;
2407
+ created_at: z.ZodISODateTime;
2408
+ }, z.core.$strict>;
2409
+ deltas: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2410
+ kind: z.ZodLiteral<"money">;
2411
+ component: z.ZodEnum<{
2412
+ readonly SUBTOTAL: "subtotal";
2413
+ readonly DISCOUNT_TOTAL: "discount_total";
2414
+ readonly TAX_TOTAL: "tax_total";
2415
+ readonly DELIVERY_TOTAL: "delivery_total";
2416
+ readonly STATUTORY_TOTAL: "statutory_total";
2417
+ readonly TOTAL_OBLIGATION: "total_obligation";
2418
+ readonly DUE_NOW: "due_now";
2419
+ readonly RAIL_AMOUNT: "rail_amount";
2420
+ readonly STORE_CREDIT_CONSUMED: "store_credit_consumed";
2421
+ readonly VOUCHER_CREDIT_CONSUMED: "voucher_credit_consumed";
2422
+ }>;
2423
+ accepted: z.ZodString;
2424
+ replacement: z.ZodString;
2425
+ }, z.core.$strip>, z.ZodObject<{
2426
+ kind: z.ZodLiteral<"material">;
2427
+ component: z.ZodEnum<{
2428
+ readonly LINES: "lines";
2429
+ readonly DESTINATION: "destination";
2430
+ readonly DELIVERY_PROMISE: "delivery_promise";
2431
+ readonly ENTITLEMENT: "entitlement";
2432
+ readonly CANCELLATION_TERMS: "cancellation_terms";
2433
+ readonly COMPLIANCE: "compliance";
2434
+ readonly CURRENCY: "currency";
2435
+ }>;
2436
+ }, z.core.$strip>, z.ZodObject<{
2437
+ kind: z.ZodLiteral<"payment_option">;
2438
+ accepted_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2439
+ accepted_customer_debit_amount: z.ZodString;
2440
+ replacement_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2441
+ replacement_customer_debit_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2442
+ }, z.core.$strip>], "kind">>;
2443
+ }, z.core.$loose>, z.ZodObject<{
2444
+ status: z.ZodLiteral<"selection_unavailable">;
2445
+ intent_id: z.ZodString;
2446
+ lines: z.ZodArray<z.ZodObject<{
2447
+ line_id: z.ZodString;
2448
+ reason: z.ZodEnum<{
2449
+ readonly SOURCE_UNAVAILABLE: "source_unavailable";
2450
+ readonly OFFER_ENDED: "offer_ended";
2451
+ readonly OFFER_CHANGED: "offer_changed";
2452
+ readonly SELLABLE_UNAVAILABLE: "sellable_unavailable";
2453
+ readonly COMPLIANCE_CHANGED: "compliance_changed";
2454
+ readonly PAYMENT_OPTION_CHANGED: "payment_option_changed";
2455
+ }>;
2456
+ }, z.core.$strip>>;
2457
+ }, z.core.$loose>, z.ZodObject<{
2458
+ status: z.ZodLiteral<"offer_ended">;
2459
+ intent_id: z.ZodString;
2460
+ }, z.core.$loose>, z.ZodObject<{
2461
+ status: z.ZodLiteral<"source_unavailable">;
2462
+ intent_id: z.ZodString;
2463
+ }, z.core.$loose>], "status">;
2464
+ type MintPurchaseIntentRequest = z.infer<typeof MintPurchaseIntentRequestSchema>;
2465
+ type PurchaseIntentView = z.infer<typeof PurchaseIntentViewSchema>;
2466
+ type CheckoutTermsView = z.infer<typeof CheckoutTermsViewSchema>;
2467
+ type ConfirmPurchaseIntentRequest = z.infer<typeof ConfirmPurchaseIntentRequestSchema>;
2468
+ type PreparePurchaseIntentRequest = z.infer<typeof PreparePurchaseIntentRequestSchema>;
2469
+ type SubmitPurchaseIntentActionRequest = z.infer<typeof SubmitPurchaseIntentActionRequestSchema>;
2470
+ type ConfirmPurchaseIntentResponse = z.infer<typeof ConfirmPurchaseIntentResponseSchema>;
2471
+ declare const assertMintPurchaseIntentRequest: (value: unknown) => asserts value is {
2472
+ source: {
2473
+ kind: "cart";
2474
+ cart_id: string;
2475
+ } | {
2476
+ kind: "chat";
2477
+ thread_id: string;
2478
+ };
2479
+ checkout: {
2480
+ customer: {
2481
+ name: string;
2482
+ email: string;
2483
+ phone: string;
2484
+ notes?: string | undefined;
2485
+ save_details?: boolean | undefined;
2486
+ };
2487
+ order_type: string;
2488
+ address_info: {
2489
+ street_address?: string | undefined;
2490
+ apartment?: string | undefined;
2491
+ city?: string | undefined;
2492
+ region?: string | undefined;
2493
+ postal_code?: string | undefined;
2494
+ country?: string | undefined;
2495
+ delivery_instructions?: string | undefined;
2496
+ phone_for_delivery?: string | undefined;
2497
+ latitude?: number | undefined;
2498
+ longitude?: number | undefined;
2499
+ pickup_time?: string | undefined;
2500
+ guest_count?: number | undefined;
2501
+ seating_time?: string | undefined;
2502
+ seating_requests?: string | undefined;
2503
+ };
2504
+ location_id?: string | undefined;
2505
+ delivery_rate_id?: string | undefined;
2506
+ special_instructions?: string | undefined;
2507
+ link_address_id?: string | undefined;
2508
+ link_payment_method_id?: string | undefined;
2509
+ metadata?: Record<string, unknown> | undefined;
2510
+ pay_currency?: string | undefined;
2511
+ fx_quote_id?: string | undefined;
2512
+ use_store_credit?: boolean | undefined;
2513
+ voucher_code?: string | undefined;
2514
+ pay_deposit?: boolean | undefined;
2515
+ tender_preference?: {
2516
+ method_kind: "card";
2517
+ stored_instrument_id?: string | undefined;
2518
+ } | {
2519
+ method_kind: "mobile_money";
2520
+ authority: {
2521
+ authority_kind: "transient";
2522
+ phone_number: string;
2523
+ network: "mtn" | "telecel" | "airtel";
2524
+ } | {
2525
+ authority_kind: "saved_reference";
2526
+ stored_instrument_id: string;
2527
+ };
2528
+ } | undefined;
2529
+ };
2530
+ client_intent_key: string;
2531
+ destination?: {
2532
+ address_id: string;
2533
+ delivery_rate_id?: string | null | undefined;
2534
+ } | null | undefined;
2535
+ } | {
2536
+ source: {
2537
+ kind: "product";
2538
+ product_id: string;
2539
+ } | {
2540
+ kind: "collection";
2541
+ collection_id: string;
2542
+ } | {
2543
+ kind: "sale";
2544
+ sale_id: string;
2545
+ } | {
2546
+ kind: "post";
2547
+ signed_handoff: string;
2548
+ } | {
2549
+ kind: "live";
2550
+ signed_handoff: string;
2551
+ signed_beat_identity: string;
2552
+ };
2553
+ lines: {
2554
+ sellable: {
2555
+ kind: "product" | "variant";
2556
+ product_id: string;
2557
+ location_id: string;
2558
+ variant_id?: string | null | undefined;
2559
+ };
2560
+ quantity: number;
2561
+ configuration: {
2562
+ kind: "simple";
2563
+ variant_id?: string | null | undefined;
2564
+ add_ons?: {
2565
+ option_id: string;
2566
+ quantity: number;
2567
+ }[] | undefined;
2568
+ customer_inputs?: {
2569
+ field_id: string;
2570
+ value: unknown;
2571
+ field_name?: string | undefined;
2572
+ field_type?: string | undefined;
2573
+ }[] | undefined;
2574
+ };
2575
+ offer?: {
2576
+ kind: "sale" | "catalogue" | "rapid";
2577
+ id: string;
2578
+ version: string;
2579
+ } | null | undefined;
2580
+ }[];
2581
+ client_intent_key: string;
2582
+ destination?: {
2583
+ address_id: string;
2584
+ delivery_rate_id?: string | null | undefined;
2585
+ } | null | undefined;
2586
+ };
2587
+ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2588
+ id: string;
2589
+ seller_business_id: string;
2590
+ revision: number;
2591
+ status: "cancelled" | "draft" | "open" | "expired" | "converted";
2592
+ source: {
2593
+ kind: "product" | "cart" | "manual" | "live" | "collection" | "sale" | "post" | "chat";
2594
+ source_id: string;
2595
+ source_version: string;
2596
+ seller_business_id: string;
2597
+ subject: {
2598
+ kind: "account";
2599
+ account_id: string;
2600
+ } | {
2601
+ kind: "business";
2602
+ business_id: string;
2603
+ };
2604
+ binding_digest: string;
2605
+ social_post_id?: string | null | undefined;
2606
+ };
2607
+ lines: {
2608
+ sellable: {
2609
+ kind: "product" | "variant";
2610
+ product_id: string;
2611
+ location_id: string;
2612
+ variant_id?: string | null | undefined;
2613
+ };
2614
+ quantity: number;
2615
+ id: string;
2616
+ ordinal: number;
2617
+ configuration: {
2618
+ kind: "simple";
2619
+ variant_id?: string | null | undefined;
2620
+ add_ons?: {
2621
+ option_id: string;
2622
+ quantity: number;
2623
+ }[] | undefined;
2624
+ customer_inputs?: {
2625
+ field_id: string;
2626
+ value: unknown;
2627
+ field_name?: string | undefined;
2628
+ field_type?: string | undefined;
2629
+ }[] | undefined;
2630
+ } | {
2631
+ kind: "cart";
2632
+ configuration: {
2633
+ [x: string]: unknown;
2634
+ type: "service" | "digital" | "bundle" | "composite" | "simple";
2635
+ };
2636
+ };
2637
+ offer?: {
2638
+ kind: "sale" | "catalogue" | "rapid";
2639
+ id: string;
2640
+ version: string;
2641
+ } | null | undefined;
2642
+ }[];
2643
+ line_pricing: {
2644
+ intent_line_id: string;
2645
+ quantity: number;
2646
+ unit_price: string;
2647
+ line_subtotal: string;
2648
+ currency: string;
2649
+ }[];
2650
+ expires_at: string;
2651
+ created_at: string;
2652
+ updated_at: string;
2653
+ principal?: {
2654
+ kind: "account";
2655
+ account_id: string;
2656
+ } | {
2657
+ kind: "business";
2658
+ business_id: string;
2659
+ } | {
2660
+ kind: "guest";
2661
+ } | {
2662
+ kind: "recognised";
2663
+ verified: boolean;
2664
+ } | null | undefined;
2665
+ current_terms?: {
2666
+ id: string;
2667
+ intent_revision: number;
2668
+ terms_version: number;
2669
+ terms_digest: string;
2670
+ money: {
2671
+ currency: string;
2672
+ subtotal: string;
2673
+ discount_total: string;
2674
+ tax_total: string;
2675
+ delivery_total: string;
2676
+ statutory_total: string;
2677
+ total_obligation: string;
2678
+ due_now: string;
2679
+ rail_amount: string;
2680
+ store_credit_consumed: string;
2681
+ voucher_credit_consumed: string;
2682
+ };
2683
+ material: {
2684
+ line_digest: string;
2685
+ destination_digest: string;
2686
+ delivery_promise_digest: string;
2687
+ entitlement_digest: string;
2688
+ cancellation_terms_digest: string;
2689
+ };
2690
+ compliance: {
2691
+ policy_name: string;
2692
+ policy_version: number;
2693
+ lane: "commerce_core" | "native" | "store_kit" | "permitted_external" | "browse_only";
2694
+ reason_code: "commerce_core" | "physical_goods_native" | "store_kit_required" | "permitted_external_purchase" | "distribution_authority_unverified" | "product_policy_unresolved" | "mixed_lane_unsupported";
2695
+ evidence_digest: string;
2696
+ };
2697
+ payment_options: {
2698
+ id: string;
2699
+ rank: number;
2700
+ method_kind: "mobile_money" | "card" | "offline";
2701
+ collection_mode: "request_to_pay" | "mandate_debit" | "credential_charge" | "offline_tender";
2702
+ principal_amount: string;
2703
+ fee_amount: string;
2704
+ customer_debit_amount: string;
2705
+ currency: string;
2706
+ status: "expired" | "eligible" | "ineligible";
2707
+ expected_next_action: "none" | "provider_approval" | "step_up";
2708
+ expires_at: string;
2709
+ provider?: "stripe" | "paystack" | "cellulant" | "mtn_momo" | null | undefined;
2710
+ instrument?: {
2711
+ kind: "card";
2712
+ brand: string;
2713
+ last4: string;
2714
+ exp_month: number;
2715
+ exp_year: number;
2716
+ } | {
2717
+ kind: "mobile_money";
2718
+ network: string;
2719
+ masked_number: string;
2720
+ } | {
2721
+ kind: "erased";
2722
+ } | null | undefined;
2723
+ }[];
2724
+ valid_until: string;
2725
+ created_at: string;
2726
+ } | null | undefined;
2727
+ converted_order_id?: string | null | undefined;
2728
+ };
2729
+ declare const assertCheckoutTermsView: (value: unknown) => asserts value is {
2730
+ id: string;
2731
+ intent_revision: number;
2732
+ terms_version: number;
2733
+ terms_digest: string;
2734
+ money: {
2735
+ currency: string;
2736
+ subtotal: string;
2737
+ discount_total: string;
2738
+ tax_total: string;
2739
+ delivery_total: string;
2740
+ statutory_total: string;
2741
+ total_obligation: string;
2742
+ due_now: string;
2743
+ rail_amount: string;
2744
+ store_credit_consumed: string;
2745
+ voucher_credit_consumed: string;
2746
+ };
2747
+ material: {
2748
+ line_digest: string;
2749
+ destination_digest: string;
2750
+ delivery_promise_digest: string;
2751
+ entitlement_digest: string;
2752
+ cancellation_terms_digest: string;
2753
+ };
2754
+ compliance: {
2755
+ policy_name: string;
2756
+ policy_version: number;
2757
+ lane: "commerce_core" | "native" | "store_kit" | "permitted_external" | "browse_only";
2758
+ reason_code: "commerce_core" | "physical_goods_native" | "store_kit_required" | "permitted_external_purchase" | "distribution_authority_unverified" | "product_policy_unresolved" | "mixed_lane_unsupported";
2759
+ evidence_digest: string;
2760
+ };
2761
+ payment_options: {
2762
+ id: string;
2763
+ rank: number;
2764
+ method_kind: "mobile_money" | "card" | "offline";
2765
+ collection_mode: "request_to_pay" | "mandate_debit" | "credential_charge" | "offline_tender";
2766
+ principal_amount: string;
2767
+ fee_amount: string;
2768
+ customer_debit_amount: string;
2769
+ currency: string;
2770
+ status: "expired" | "eligible" | "ineligible";
2771
+ expected_next_action: "none" | "provider_approval" | "step_up";
2772
+ expires_at: string;
2773
+ provider?: "stripe" | "paystack" | "cellulant" | "mtn_momo" | null | undefined;
2774
+ instrument?: {
2775
+ kind: "card";
2776
+ brand: string;
2777
+ last4: string;
2778
+ exp_month: number;
2779
+ exp_year: number;
2780
+ } | {
2781
+ kind: "mobile_money";
2782
+ network: string;
2783
+ masked_number: string;
2784
+ } | {
2785
+ kind: "erased";
2786
+ } | null | undefined;
2787
+ }[];
2788
+ valid_until: string;
2789
+ created_at: string;
2790
+ };
2791
+ declare const assertConfirmPurchaseIntentRequest: (value: unknown) => asserts value is {
2792
+ accepted_intent_revision: number;
2793
+ accepted_terms_version: number;
2794
+ accepted_due_now: string;
2795
+ accepted_customer_debit_amount: string;
2796
+ currency: string;
2797
+ idempotency_key: string;
2798
+ payment_option_id?: string | null | undefined;
2799
+ };
2800
+ declare const assertPreparePurchaseIntentRequest: (value: unknown) => asserts value is {
2801
+ expected_intent_revision: number;
2802
+ idempotency_key: string;
2803
+ checkout: {
2804
+ customer: {
2805
+ name: string;
2806
+ email: string;
2807
+ phone: string;
2808
+ notes?: string | undefined;
2809
+ save_details?: boolean | undefined;
2810
+ };
2811
+ order_type: string;
2812
+ address_info: {
2813
+ street_address?: string | undefined;
2814
+ apartment?: string | undefined;
2815
+ city?: string | undefined;
2816
+ region?: string | undefined;
2817
+ postal_code?: string | undefined;
2818
+ country?: string | undefined;
2819
+ delivery_instructions?: string | undefined;
2820
+ phone_for_delivery?: string | undefined;
2821
+ latitude?: number | undefined;
2822
+ longitude?: number | undefined;
2823
+ pickup_time?: string | undefined;
2824
+ guest_count?: number | undefined;
2825
+ seating_time?: string | undefined;
2826
+ seating_requests?: string | undefined;
2827
+ };
2828
+ location_id?: string | undefined;
2829
+ delivery_rate_id?: string | undefined;
2830
+ special_instructions?: string | undefined;
2831
+ link_address_id?: string | undefined;
2832
+ link_payment_method_id?: string | undefined;
2833
+ metadata?: Record<string, unknown> | undefined;
2834
+ pay_currency?: string | undefined;
2835
+ fx_quote_id?: string | undefined;
2836
+ use_store_credit?: boolean | undefined;
2837
+ voucher_code?: string | undefined;
2838
+ pay_deposit?: boolean | undefined;
2839
+ tender_preference?: {
2840
+ method_kind: "card";
2841
+ stored_instrument_id?: string | undefined;
2842
+ } | {
2843
+ method_kind: "mobile_money";
2844
+ authority: {
2845
+ authority_kind: "transient";
2846
+ phone_number: string;
2847
+ network: "mtn" | "telecel" | "airtel";
2848
+ } | {
2849
+ authority_kind: "saved_reference";
2850
+ stored_instrument_id: string;
2851
+ };
2852
+ } | undefined;
2853
+ };
2854
+ };
2855
+ declare const assertSubmitPurchaseIntentActionRequest: (value: unknown) => asserts value is {
2856
+ authorization: {
2857
+ type: "otp";
2858
+ value: string;
2859
+ } | {
2860
+ type: "pin";
2861
+ value: string;
2862
+ } | {
2863
+ type: "phone";
2864
+ value: string;
2865
+ } | {
2866
+ type: "birthday";
2867
+ value: string;
2868
+ } | {
2869
+ type: "address";
2870
+ address: string;
2871
+ city: string;
2872
+ state: string;
2873
+ zip_code: string;
2874
+ };
2875
+ };
2876
+ declare const assertConfirmPurchaseIntentResponse: (value: unknown) => asserts value is {
2877
+ [x: string]: unknown;
2878
+ intent_id: string;
2879
+ attempt_id: string;
2880
+ order_id: string;
2881
+ status: "order_created";
2882
+ order_number?: string | undefined;
2883
+ payment_id?: string | undefined;
2884
+ } | {
2885
+ [x: string]: unknown;
2886
+ intent_id: string;
2887
+ attempt_id: string;
2888
+ order_id: string;
2889
+ status: "collection_processing";
2890
+ order_number?: string | undefined;
2891
+ payment_id?: string | undefined;
2892
+ } | {
2893
+ [x: string]: unknown;
2894
+ intent_id: string;
2895
+ attempt_id: string;
2896
+ order_id: string;
2897
+ status: "payment_outcome_unknown";
2898
+ order_number?: string | undefined;
2899
+ payment_id?: string | undefined;
2900
+ } | {
2901
+ [x: string]: unknown;
2902
+ intent_id: string;
2903
+ attempt_id: string;
2904
+ order_id: string;
2905
+ status: "payment_failed";
2906
+ order_number?: string | undefined;
2907
+ payment_id?: string | undefined;
2908
+ } | {
2909
+ [x: string]: unknown;
2910
+ authorization_url: string;
2911
+ intent_id: string;
2912
+ attempt_id: string;
2913
+ order_id: string;
2914
+ status: "redirect_required";
2915
+ order_number?: string | undefined;
2916
+ payment_id?: string | undefined;
2917
+ } | {
2918
+ [x: string]: unknown;
2919
+ provider: "stripe" | "paystack" | "cellulant" | "mtn_momo";
2920
+ client_secret: string;
2921
+ public_key: string;
2922
+ intent_id: string;
2923
+ attempt_id: string;
2924
+ order_id: string;
2925
+ status: "card_popup_required";
2926
+ provider_account_id?: string | null | undefined;
2927
+ order_number?: string | undefined;
2928
+ payment_id?: string | undefined;
2929
+ } | {
2930
+ [x: string]: unknown;
2931
+ authorization_type: "phone" | "otp" | "pin" | "birthday" | {
2932
+ address: {
2933
+ address: string;
2934
+ city: string;
2935
+ state: string;
2936
+ zip_code: string;
2937
+ };
2938
+ };
2939
+ intent_id: string;
2940
+ attempt_id: string;
2941
+ order_id: string;
2942
+ status: "authorization_required";
2943
+ display_text?: string | undefined;
2944
+ order_number?: string | undefined;
2945
+ payment_id?: string | undefined;
2946
+ } | {
2947
+ [x: string]: unknown;
2948
+ status: "terms_changed";
2949
+ intent_id: string;
2950
+ replacement: {
2951
+ id: string;
2952
+ intent_revision: number;
2953
+ terms_version: number;
2954
+ terms_digest: string;
2955
+ money: {
2956
+ currency: string;
2957
+ subtotal: string;
2958
+ discount_total: string;
2959
+ tax_total: string;
2960
+ delivery_total: string;
2961
+ statutory_total: string;
2962
+ total_obligation: string;
2963
+ due_now: string;
2964
+ rail_amount: string;
2965
+ store_credit_consumed: string;
2966
+ voucher_credit_consumed: string;
2967
+ };
2968
+ material: {
2969
+ line_digest: string;
2970
+ destination_digest: string;
2971
+ delivery_promise_digest: string;
2972
+ entitlement_digest: string;
2973
+ cancellation_terms_digest: string;
2974
+ };
2975
+ compliance: {
2976
+ policy_name: string;
2977
+ policy_version: number;
2978
+ lane: "commerce_core" | "native" | "store_kit" | "permitted_external" | "browse_only";
2979
+ reason_code: "commerce_core" | "physical_goods_native" | "store_kit_required" | "permitted_external_purchase" | "distribution_authority_unverified" | "product_policy_unresolved" | "mixed_lane_unsupported";
2980
+ evidence_digest: string;
2981
+ };
2982
+ payment_options: {
2983
+ id: string;
2984
+ rank: number;
2985
+ method_kind: "mobile_money" | "card" | "offline";
2986
+ collection_mode: "request_to_pay" | "mandate_debit" | "credential_charge" | "offline_tender";
2987
+ principal_amount: string;
2988
+ fee_amount: string;
2989
+ customer_debit_amount: string;
2990
+ currency: string;
2991
+ status: "expired" | "eligible" | "ineligible";
2992
+ expected_next_action: "none" | "provider_approval" | "step_up";
2993
+ expires_at: string;
2994
+ provider?: "stripe" | "paystack" | "cellulant" | "mtn_momo" | null | undefined;
2995
+ instrument?: {
2996
+ kind: "card";
2997
+ brand: string;
2998
+ last4: string;
2999
+ exp_month: number;
3000
+ exp_year: number;
3001
+ } | {
3002
+ kind: "mobile_money";
3003
+ network: string;
3004
+ masked_number: string;
3005
+ } | {
3006
+ kind: "erased";
3007
+ } | null | undefined;
3008
+ }[];
3009
+ valid_until: string;
3010
+ created_at: string;
3011
+ };
3012
+ deltas: ({
3013
+ kind: "money";
3014
+ component: "subtotal" | "discount_total" | "tax_total" | "delivery_total" | "statutory_total" | "total_obligation" | "due_now" | "rail_amount" | "store_credit_consumed" | "voucher_credit_consumed";
3015
+ accepted: string;
3016
+ replacement: string;
3017
+ } | {
3018
+ kind: "material";
3019
+ component: "currency" | "lines" | "destination" | "delivery_promise" | "entitlement" | "cancellation_terms" | "compliance";
3020
+ } | {
3021
+ kind: "payment_option";
3022
+ accepted_customer_debit_amount: string;
3023
+ accepted_option_id?: string | null | undefined;
3024
+ replacement_option_id?: string | null | undefined;
3025
+ replacement_customer_debit_amount?: string | null | undefined;
3026
+ })[];
3027
+ } | {
3028
+ [x: string]: unknown;
3029
+ status: "selection_unavailable";
3030
+ intent_id: string;
3031
+ lines: {
3032
+ line_id: string;
3033
+ reason: "source_unavailable" | "offer_ended" | "offer_changed" | "sellable_unavailable" | "compliance_changed" | "payment_option_changed";
3034
+ }[];
3035
+ } | {
3036
+ [x: string]: unknown;
3037
+ status: "offer_ended";
3038
+ intent_id: string;
3039
+ } | {
3040
+ [x: string]: unknown;
3041
+ status: "source_unavailable";
3042
+ intent_id: string;
3043
+ };
3044
+
1645
3045
  /** Link OTP verification wire input. `challenge_id` remains optional only for
1646
3046
  * clients talking to the bounded rolling-deployment compatibility bridge. */
1647
3047
  declare const VerifyOtpRequestSchema: z.ZodObject<{
@@ -2258,10 +3658,18 @@ declare const PUBLIC_SCHEMAS: {
2258
3658
  notes: z.ZodOptional<z.ZodString>;
2259
3659
  save_details: z.ZodOptional<z.ZodBoolean>;
2260
3660
  }, z.core.$strip>;
2261
- order_type: z.ZodString;
3661
+ order_type: z.ZodEnum<{
3662
+ readonly DELIVERY: "delivery";
3663
+ readonly PICKUP: "pickup";
3664
+ readonly DINE_IN: "dine-in";
3665
+ readonly WALK_IN: "walk-in";
3666
+ }>;
2262
3667
  address_info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2263
3668
  delivery_rate_id: z.ZodOptional<z.ZodString>;
2264
- payment_method: z.ZodString;
3669
+ payment_method: z.ZodEnum<{
3670
+ readonly MOBILE_MONEY: "mobile_money";
3671
+ readonly CARD: "card";
3672
+ }>;
2265
3673
  mobile_money_details: z.ZodOptional<z.ZodObject<{
2266
3674
  phone_number: z.ZodString;
2267
3675
  provider: z.ZodString;
@@ -2318,6 +3726,13 @@ declare const PUBLIC_SCHEMAS: {
2318
3726
  }, z.core.$strip>;
2319
3727
  }, z.core.$strip>]>;
2320
3728
  display_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3729
+ }, z.core.$strip>, z.ZodObject<{
3730
+ type: z.ZodLiteral<"terms_changed">;
3731
+ replacement: z.ZodUnknown;
3732
+ deltas: z.ZodArray<z.ZodUnknown>;
3733
+ }, z.core.$strip>, z.ZodObject<{
3734
+ type: z.ZodLiteral<"selection_unavailable">;
3735
+ lines: z.ZodArray<z.ZodUnknown>;
2321
3736
  }, z.core.$strip>, z.ZodObject<{
2322
3737
  type: z.ZodLiteral<"poll">;
2323
3738
  }, z.core.$strip>], "type">;
@@ -2359,6 +3774,754 @@ declare const PUBLIC_SCHEMAS: {
2359
3774
  expires_in: z.ZodNumber;
2360
3775
  is_new_account: z.ZodBoolean;
2361
3776
  }, z.core.$strict>;
3777
+ readonly MintPurchaseIntentRequest: z.ZodUnion<readonly [z.ZodObject<{
3778
+ source: z.ZodUnion<readonly [z.ZodObject<{
3779
+ kind: z.ZodLiteral<"cart">;
3780
+ cart_id: z.ZodString;
3781
+ }, z.core.$strict>, z.ZodObject<{
3782
+ kind: z.ZodLiteral<"chat">;
3783
+ thread_id: z.ZodString;
3784
+ }, z.core.$strict>]>;
3785
+ checkout: z.ZodObject<{
3786
+ customer: z.ZodObject<{
3787
+ name: z.ZodString;
3788
+ email: z.ZodString;
3789
+ phone: z.ZodString;
3790
+ notes: z.ZodOptional<z.ZodString>;
3791
+ save_details: z.ZodOptional<z.ZodBoolean>;
3792
+ }, z.core.$strip>;
3793
+ order_type: z.ZodString;
3794
+ address_info: z.ZodObject<{
3795
+ street_address: z.ZodOptional<z.ZodString>;
3796
+ apartment: z.ZodOptional<z.ZodString>;
3797
+ city: z.ZodOptional<z.ZodString>;
3798
+ region: z.ZodOptional<z.ZodString>;
3799
+ postal_code: z.ZodOptional<z.ZodString>;
3800
+ country: z.ZodOptional<z.ZodString>;
3801
+ delivery_instructions: z.ZodOptional<z.ZodString>;
3802
+ phone_for_delivery: z.ZodOptional<z.ZodString>;
3803
+ latitude: z.ZodOptional<z.ZodNumber>;
3804
+ longitude: z.ZodOptional<z.ZodNumber>;
3805
+ pickup_time: z.ZodOptional<z.ZodString>;
3806
+ guest_count: z.ZodOptional<z.ZodNumber>;
3807
+ seating_time: z.ZodOptional<z.ZodString>;
3808
+ seating_requests: z.ZodOptional<z.ZodString>;
3809
+ }, z.core.$strip>;
3810
+ location_id: z.ZodOptional<z.ZodString>;
3811
+ delivery_rate_id: z.ZodOptional<z.ZodString>;
3812
+ special_instructions: z.ZodOptional<z.ZodString>;
3813
+ link_address_id: z.ZodOptional<z.ZodString>;
3814
+ link_payment_method_id: z.ZodOptional<z.ZodString>;
3815
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3816
+ pay_currency: z.ZodOptional<z.ZodString>;
3817
+ fx_quote_id: z.ZodOptional<z.ZodString>;
3818
+ use_store_credit: z.ZodOptional<z.ZodBoolean>;
3819
+ voucher_code: z.ZodOptional<z.ZodString>;
3820
+ pay_deposit: z.ZodOptional<z.ZodBoolean>;
3821
+ tender_preference: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3822
+ method_kind: z.ZodLiteral<"card">;
3823
+ stored_instrument_id: z.ZodOptional<z.ZodString>;
3824
+ }, z.core.$strict>, z.ZodObject<{
3825
+ method_kind: z.ZodLiteral<"mobile_money">;
3826
+ authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
3827
+ authority_kind: z.ZodLiteral<"transient">;
3828
+ phone_number: z.ZodString;
3829
+ network: z.ZodEnum<{
3830
+ readonly MTN: "mtn";
3831
+ readonly TELECEL: "telecel";
3832
+ readonly AIRTEL: "airtel";
3833
+ }>;
3834
+ }, z.core.$strict>, z.ZodObject<{
3835
+ authority_kind: z.ZodLiteral<"saved_reference">;
3836
+ stored_instrument_id: z.ZodString;
3837
+ }, z.core.$strict>], "authority_kind">;
3838
+ }, z.core.$strict>], "method_kind">>;
3839
+ }, z.core.$strip>;
3840
+ client_intent_key: z.ZodString;
3841
+ destination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3842
+ address_id: z.ZodString;
3843
+ delivery_rate_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3844
+ }, z.core.$strip>>>;
3845
+ }, z.core.$strict>, z.ZodObject<{
3846
+ source: z.ZodUnion<readonly [z.ZodObject<{
3847
+ kind: z.ZodLiteral<"product">;
3848
+ product_id: z.ZodString;
3849
+ }, z.core.$strict>, z.ZodObject<{
3850
+ kind: z.ZodLiteral<"collection">;
3851
+ collection_id: z.ZodString;
3852
+ }, z.core.$strict>, z.ZodObject<{
3853
+ kind: z.ZodLiteral<"sale">;
3854
+ sale_id: z.ZodString;
3855
+ }, z.core.$strict>, z.ZodObject<{
3856
+ kind: z.ZodLiteral<"post">;
3857
+ signed_handoff: z.ZodString;
3858
+ }, z.core.$strict>, z.ZodObject<{
3859
+ kind: z.ZodLiteral<"live">;
3860
+ signed_handoff: z.ZodString;
3861
+ signed_beat_identity: z.ZodString;
3862
+ }, z.core.$strict>]>;
3863
+ lines: z.ZodArray<z.ZodObject<{
3864
+ sellable: z.ZodObject<{
3865
+ kind: z.ZodEnum<{
3866
+ readonly PRODUCT: "product";
3867
+ readonly VARIANT: "variant";
3868
+ }>;
3869
+ product_id: z.ZodString;
3870
+ variant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3871
+ location_id: z.ZodString;
3872
+ }, z.core.$strip>;
3873
+ quantity: z.ZodNumber;
3874
+ configuration: z.ZodObject<{
3875
+ kind: z.ZodLiteral<"simple">;
3876
+ variant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3877
+ add_ons: z.ZodOptional<z.ZodArray<z.ZodObject<{
3878
+ option_id: z.ZodString;
3879
+ quantity: z.ZodNumber;
3880
+ }, z.core.$strip>>>;
3881
+ customer_inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
3882
+ field_id: z.ZodString;
3883
+ field_name: z.ZodOptional<z.ZodString>;
3884
+ field_type: z.ZodOptional<z.ZodString>;
3885
+ value: z.ZodUnknown;
3886
+ }, z.core.$strip>>>;
3887
+ }, z.core.$strip>;
3888
+ offer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3889
+ kind: z.ZodEnum<{
3890
+ readonly CATALOGUE: "catalogue";
3891
+ readonly SALE: "sale";
3892
+ readonly RAPID: "rapid";
3893
+ }>;
3894
+ id: z.ZodString;
3895
+ version: z.ZodString;
3896
+ }, z.core.$strip>>>;
3897
+ }, z.core.$strip>>;
3898
+ client_intent_key: z.ZodString;
3899
+ destination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3900
+ address_id: z.ZodString;
3901
+ delivery_rate_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3902
+ }, z.core.$strip>>>;
3903
+ }, z.core.$strict>]>;
3904
+ readonly PurchaseIntentView: z.ZodObject<{
3905
+ id: z.ZodString;
3906
+ seller_business_id: z.ZodString;
3907
+ principal: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3908
+ kind: z.ZodLiteral<"account">;
3909
+ account_id: z.ZodString;
3910
+ }, z.core.$strict>, z.ZodObject<{
3911
+ kind: z.ZodLiteral<"business">;
3912
+ business_id: z.ZodString;
3913
+ }, z.core.$strict>, z.ZodObject<{
3914
+ kind: z.ZodLiteral<"guest">;
3915
+ }, z.core.$strict>, z.ZodObject<{
3916
+ kind: z.ZodLiteral<"recognised">;
3917
+ verified: z.ZodBoolean;
3918
+ }, z.core.$strict>], "kind">>>;
3919
+ revision: z.ZodNumber;
3920
+ status: z.ZodEnum<{
3921
+ readonly DRAFT: "draft";
3922
+ readonly OPEN: "open";
3923
+ readonly CONVERTED: "converted";
3924
+ readonly CANCELLED: "cancelled";
3925
+ readonly EXPIRED: "expired";
3926
+ }>;
3927
+ source: z.ZodObject<{
3928
+ kind: z.ZodEnum<{
3929
+ readonly PRODUCT: "product";
3930
+ readonly COLLECTION: "collection";
3931
+ readonly SALE: "sale";
3932
+ readonly POST: "post";
3933
+ readonly LIVE: "live";
3934
+ readonly CART: "cart";
3935
+ readonly CHAT: "chat";
3936
+ readonly MANUAL: "manual";
3937
+ }>;
3938
+ source_id: z.ZodString;
3939
+ social_post_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3940
+ source_version: z.ZodString;
3941
+ seller_business_id: z.ZodString;
3942
+ subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
3943
+ kind: z.ZodLiteral<"account">;
3944
+ account_id: z.ZodString;
3945
+ }, z.core.$strict>, z.ZodObject<{
3946
+ kind: z.ZodLiteral<"business">;
3947
+ business_id: z.ZodString;
3948
+ }, z.core.$strict>], "kind">;
3949
+ binding_digest: z.ZodString;
3950
+ }, z.core.$strict>;
3951
+ lines: z.ZodArray<z.ZodObject<{
3952
+ sellable: z.ZodObject<{
3953
+ kind: z.ZodEnum<{
3954
+ readonly PRODUCT: "product";
3955
+ readonly VARIANT: "variant";
3956
+ }>;
3957
+ product_id: z.ZodString;
3958
+ variant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3959
+ location_id: z.ZodString;
3960
+ }, z.core.$strip>;
3961
+ quantity: z.ZodNumber;
3962
+ offer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3963
+ kind: z.ZodEnum<{
3964
+ readonly CATALOGUE: "catalogue";
3965
+ readonly SALE: "sale";
3966
+ readonly RAPID: "rapid";
3967
+ }>;
3968
+ id: z.ZodString;
3969
+ version: z.ZodString;
3970
+ }, z.core.$strip>>>;
3971
+ id: z.ZodString;
3972
+ ordinal: z.ZodNumber;
3973
+ configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
3974
+ kind: z.ZodLiteral<"simple">;
3975
+ variant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3976
+ add_ons: z.ZodOptional<z.ZodArray<z.ZodObject<{
3977
+ option_id: z.ZodString;
3978
+ quantity: z.ZodNumber;
3979
+ }, z.core.$strip>>>;
3980
+ customer_inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
3981
+ field_id: z.ZodString;
3982
+ field_name: z.ZodOptional<z.ZodString>;
3983
+ field_type: z.ZodOptional<z.ZodString>;
3984
+ value: z.ZodUnknown;
3985
+ }, z.core.$strip>>>;
3986
+ }, z.core.$strip>, z.ZodObject<{
3987
+ kind: z.ZodLiteral<"cart">;
3988
+ configuration: z.ZodObject<{
3989
+ type: z.ZodEnum<{
3990
+ service: "service";
3991
+ digital: "digital";
3992
+ bundle: "bundle";
3993
+ composite: "composite";
3994
+ simple: "simple";
3995
+ }>;
3996
+ }, z.core.$loose>;
3997
+ }, z.core.$strip>], "kind">;
3998
+ }, z.core.$strip>>;
3999
+ line_pricing: z.ZodArray<z.ZodObject<{
4000
+ intent_line_id: z.ZodString;
4001
+ quantity: z.ZodNumber;
4002
+ unit_price: z.ZodString;
4003
+ line_subtotal: z.ZodString;
4004
+ currency: z.ZodString;
4005
+ }, z.core.$strict>>;
4006
+ current_terms: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4007
+ id: z.ZodString;
4008
+ intent_revision: z.ZodNumber;
4009
+ terms_version: z.ZodNumber;
4010
+ terms_digest: z.ZodString;
4011
+ money: z.ZodObject<{
4012
+ currency: z.ZodString;
4013
+ subtotal: z.ZodString;
4014
+ discount_total: z.ZodString;
4015
+ tax_total: z.ZodString;
4016
+ delivery_total: z.ZodString;
4017
+ statutory_total: z.ZodString;
4018
+ total_obligation: z.ZodString;
4019
+ due_now: z.ZodString;
4020
+ rail_amount: z.ZodString;
4021
+ store_credit_consumed: z.ZodString;
4022
+ voucher_credit_consumed: z.ZodString;
4023
+ }, z.core.$strip>;
4024
+ material: z.ZodObject<{
4025
+ line_digest: z.ZodString;
4026
+ destination_digest: z.ZodString;
4027
+ delivery_promise_digest: z.ZodString;
4028
+ entitlement_digest: z.ZodString;
4029
+ cancellation_terms_digest: z.ZodString;
4030
+ }, z.core.$strip>;
4031
+ compliance: z.ZodObject<{
4032
+ policy_name: z.ZodString;
4033
+ policy_version: z.ZodNumber;
4034
+ lane: z.ZodEnum<{
4035
+ readonly COMMERCE_CORE: "commerce_core";
4036
+ readonly NATIVE: "native";
4037
+ readonly STORE_KIT: "store_kit";
4038
+ readonly PERMITTED_EXTERNAL: "permitted_external";
4039
+ readonly BROWSE_ONLY: "browse_only";
4040
+ }>;
4041
+ reason_code: z.ZodEnum<{
4042
+ readonly COMMERCE_CORE: "commerce_core";
4043
+ readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
4044
+ readonly STORE_KIT_REQUIRED: "store_kit_required";
4045
+ readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
4046
+ readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
4047
+ readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
4048
+ readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
4049
+ }>;
4050
+ evidence_digest: z.ZodString;
4051
+ }, z.core.$strip>;
4052
+ payment_options: z.ZodArray<z.ZodObject<{
4053
+ id: z.ZodString;
4054
+ rank: z.ZodNumber;
4055
+ method_kind: z.ZodEnum<{
4056
+ readonly CARD: "card";
4057
+ readonly MOBILE_MONEY: "mobile_money";
4058
+ readonly OFFLINE: "offline";
4059
+ }>;
4060
+ collection_mode: z.ZodEnum<{
4061
+ readonly REQUEST_TO_PAY: "request_to_pay";
4062
+ readonly MANDATE_DEBIT: "mandate_debit";
4063
+ readonly CREDENTIAL_CHARGE: "credential_charge";
4064
+ readonly OFFLINE_TENDER: "offline_tender";
4065
+ }>;
4066
+ provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4067
+ readonly STRIPE: "stripe";
4068
+ readonly PAYSTACK: "paystack";
4069
+ readonly CELLULANT: "cellulant";
4070
+ readonly MTN_MOMO: "mtn_momo";
4071
+ }>>>;
4072
+ instrument: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
4073
+ kind: z.ZodLiteral<"card">;
4074
+ brand: z.ZodString;
4075
+ last4: z.ZodString;
4076
+ exp_month: z.ZodNumber;
4077
+ exp_year: z.ZodNumber;
4078
+ }, z.core.$strip>, z.ZodObject<{
4079
+ kind: z.ZodLiteral<"mobile_money">;
4080
+ network: z.ZodString;
4081
+ masked_number: z.ZodString;
4082
+ }, z.core.$strip>, z.ZodObject<{
4083
+ kind: z.ZodLiteral<"erased">;
4084
+ }, z.core.$strip>], "kind">>>;
4085
+ principal_amount: z.ZodString;
4086
+ fee_amount: z.ZodString;
4087
+ customer_debit_amount: z.ZodString;
4088
+ currency: z.ZodString;
4089
+ status: z.ZodEnum<{
4090
+ readonly ELIGIBLE: "eligible";
4091
+ readonly INELIGIBLE: "ineligible";
4092
+ readonly EXPIRED: "expired";
4093
+ }>;
4094
+ expected_next_action: z.ZodEnum<{
4095
+ readonly NONE: "none";
4096
+ readonly PROVIDER_APPROVAL: "provider_approval";
4097
+ readonly STEP_UP: "step_up";
4098
+ }>;
4099
+ expires_at: z.ZodISODateTime;
4100
+ }, z.core.$strip>>;
4101
+ valid_until: z.ZodISODateTime;
4102
+ created_at: z.ZodISODateTime;
4103
+ }, z.core.$strict>>>;
4104
+ converted_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4105
+ expires_at: z.ZodISODateTime;
4106
+ created_at: z.ZodISODateTime;
4107
+ updated_at: z.ZodISODateTime;
4108
+ }, z.core.$strict>;
4109
+ readonly CheckoutTermsView: z.ZodObject<{
4110
+ id: z.ZodString;
4111
+ intent_revision: z.ZodNumber;
4112
+ terms_version: z.ZodNumber;
4113
+ terms_digest: z.ZodString;
4114
+ money: z.ZodObject<{
4115
+ currency: z.ZodString;
4116
+ subtotal: z.ZodString;
4117
+ discount_total: z.ZodString;
4118
+ tax_total: z.ZodString;
4119
+ delivery_total: z.ZodString;
4120
+ statutory_total: z.ZodString;
4121
+ total_obligation: z.ZodString;
4122
+ due_now: z.ZodString;
4123
+ rail_amount: z.ZodString;
4124
+ store_credit_consumed: z.ZodString;
4125
+ voucher_credit_consumed: z.ZodString;
4126
+ }, z.core.$strip>;
4127
+ material: z.ZodObject<{
4128
+ line_digest: z.ZodString;
4129
+ destination_digest: z.ZodString;
4130
+ delivery_promise_digest: z.ZodString;
4131
+ entitlement_digest: z.ZodString;
4132
+ cancellation_terms_digest: z.ZodString;
4133
+ }, z.core.$strip>;
4134
+ compliance: z.ZodObject<{
4135
+ policy_name: z.ZodString;
4136
+ policy_version: z.ZodNumber;
4137
+ lane: z.ZodEnum<{
4138
+ readonly COMMERCE_CORE: "commerce_core";
4139
+ readonly NATIVE: "native";
4140
+ readonly STORE_KIT: "store_kit";
4141
+ readonly PERMITTED_EXTERNAL: "permitted_external";
4142
+ readonly BROWSE_ONLY: "browse_only";
4143
+ }>;
4144
+ reason_code: z.ZodEnum<{
4145
+ readonly COMMERCE_CORE: "commerce_core";
4146
+ readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
4147
+ readonly STORE_KIT_REQUIRED: "store_kit_required";
4148
+ readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
4149
+ readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
4150
+ readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
4151
+ readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
4152
+ }>;
4153
+ evidence_digest: z.ZodString;
4154
+ }, z.core.$strip>;
4155
+ payment_options: z.ZodArray<z.ZodObject<{
4156
+ id: z.ZodString;
4157
+ rank: z.ZodNumber;
4158
+ method_kind: z.ZodEnum<{
4159
+ readonly CARD: "card";
4160
+ readonly MOBILE_MONEY: "mobile_money";
4161
+ readonly OFFLINE: "offline";
4162
+ }>;
4163
+ collection_mode: z.ZodEnum<{
4164
+ readonly REQUEST_TO_PAY: "request_to_pay";
4165
+ readonly MANDATE_DEBIT: "mandate_debit";
4166
+ readonly CREDENTIAL_CHARGE: "credential_charge";
4167
+ readonly OFFLINE_TENDER: "offline_tender";
4168
+ }>;
4169
+ provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4170
+ readonly STRIPE: "stripe";
4171
+ readonly PAYSTACK: "paystack";
4172
+ readonly CELLULANT: "cellulant";
4173
+ readonly MTN_MOMO: "mtn_momo";
4174
+ }>>>;
4175
+ instrument: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
4176
+ kind: z.ZodLiteral<"card">;
4177
+ brand: z.ZodString;
4178
+ last4: z.ZodString;
4179
+ exp_month: z.ZodNumber;
4180
+ exp_year: z.ZodNumber;
4181
+ }, z.core.$strip>, z.ZodObject<{
4182
+ kind: z.ZodLiteral<"mobile_money">;
4183
+ network: z.ZodString;
4184
+ masked_number: z.ZodString;
4185
+ }, z.core.$strip>, z.ZodObject<{
4186
+ kind: z.ZodLiteral<"erased">;
4187
+ }, z.core.$strip>], "kind">>>;
4188
+ principal_amount: z.ZodString;
4189
+ fee_amount: z.ZodString;
4190
+ customer_debit_amount: z.ZodString;
4191
+ currency: z.ZodString;
4192
+ status: z.ZodEnum<{
4193
+ readonly ELIGIBLE: "eligible";
4194
+ readonly INELIGIBLE: "ineligible";
4195
+ readonly EXPIRED: "expired";
4196
+ }>;
4197
+ expected_next_action: z.ZodEnum<{
4198
+ readonly NONE: "none";
4199
+ readonly PROVIDER_APPROVAL: "provider_approval";
4200
+ readonly STEP_UP: "step_up";
4201
+ }>;
4202
+ expires_at: z.ZodISODateTime;
4203
+ }, z.core.$strip>>;
4204
+ valid_until: z.ZodISODateTime;
4205
+ created_at: z.ZodISODateTime;
4206
+ }, z.core.$strict>;
4207
+ readonly ConfirmPurchaseIntentRequest: z.ZodObject<{
4208
+ accepted_intent_revision: z.ZodNumber;
4209
+ accepted_terms_version: z.ZodNumber;
4210
+ accepted_due_now: z.ZodString;
4211
+ accepted_customer_debit_amount: z.ZodString;
4212
+ currency: z.ZodString;
4213
+ payment_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4214
+ idempotency_key: z.ZodString;
4215
+ }, z.core.$strict>;
4216
+ readonly PreparePurchaseIntentRequest: z.ZodObject<{
4217
+ expected_intent_revision: z.ZodNumber;
4218
+ idempotency_key: z.ZodString;
4219
+ checkout: z.ZodObject<{
4220
+ customer: z.ZodObject<{
4221
+ name: z.ZodString;
4222
+ email: z.ZodString;
4223
+ phone: z.ZodString;
4224
+ notes: z.ZodOptional<z.ZodString>;
4225
+ save_details: z.ZodOptional<z.ZodBoolean>;
4226
+ }, z.core.$strip>;
4227
+ order_type: z.ZodString;
4228
+ address_info: z.ZodObject<{
4229
+ street_address: z.ZodOptional<z.ZodString>;
4230
+ apartment: z.ZodOptional<z.ZodString>;
4231
+ city: z.ZodOptional<z.ZodString>;
4232
+ region: z.ZodOptional<z.ZodString>;
4233
+ postal_code: z.ZodOptional<z.ZodString>;
4234
+ country: z.ZodOptional<z.ZodString>;
4235
+ delivery_instructions: z.ZodOptional<z.ZodString>;
4236
+ phone_for_delivery: z.ZodOptional<z.ZodString>;
4237
+ latitude: z.ZodOptional<z.ZodNumber>;
4238
+ longitude: z.ZodOptional<z.ZodNumber>;
4239
+ pickup_time: z.ZodOptional<z.ZodString>;
4240
+ guest_count: z.ZodOptional<z.ZodNumber>;
4241
+ seating_time: z.ZodOptional<z.ZodString>;
4242
+ seating_requests: z.ZodOptional<z.ZodString>;
4243
+ }, z.core.$strip>;
4244
+ location_id: z.ZodOptional<z.ZodString>;
4245
+ delivery_rate_id: z.ZodOptional<z.ZodString>;
4246
+ special_instructions: z.ZodOptional<z.ZodString>;
4247
+ link_address_id: z.ZodOptional<z.ZodString>;
4248
+ link_payment_method_id: z.ZodOptional<z.ZodString>;
4249
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4250
+ pay_currency: z.ZodOptional<z.ZodString>;
4251
+ fx_quote_id: z.ZodOptional<z.ZodString>;
4252
+ use_store_credit: z.ZodOptional<z.ZodBoolean>;
4253
+ voucher_code: z.ZodOptional<z.ZodString>;
4254
+ pay_deposit: z.ZodOptional<z.ZodBoolean>;
4255
+ tender_preference: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4256
+ method_kind: z.ZodLiteral<"card">;
4257
+ stored_instrument_id: z.ZodOptional<z.ZodString>;
4258
+ }, z.core.$strict>, z.ZodObject<{
4259
+ method_kind: z.ZodLiteral<"mobile_money">;
4260
+ authority: z.ZodDiscriminatedUnion<[z.ZodObject<{
4261
+ authority_kind: z.ZodLiteral<"transient">;
4262
+ phone_number: z.ZodString;
4263
+ network: z.ZodEnum<{
4264
+ readonly MTN: "mtn";
4265
+ readonly TELECEL: "telecel";
4266
+ readonly AIRTEL: "airtel";
4267
+ }>;
4268
+ }, z.core.$strict>, z.ZodObject<{
4269
+ authority_kind: z.ZodLiteral<"saved_reference">;
4270
+ stored_instrument_id: z.ZodString;
4271
+ }, z.core.$strict>], "authority_kind">;
4272
+ }, z.core.$strict>], "method_kind">>;
4273
+ }, z.core.$strip>;
4274
+ }, z.core.$strict>;
4275
+ readonly SubmitPurchaseIntentActionRequest: z.ZodObject<{
4276
+ authorization: z.ZodDiscriminatedUnion<[z.ZodObject<{
4277
+ type: z.ZodLiteral<"otp">;
4278
+ value: z.ZodString;
4279
+ }, z.core.$strict>, z.ZodObject<{
4280
+ type: z.ZodLiteral<"pin">;
4281
+ value: z.ZodString;
4282
+ }, z.core.$strict>, z.ZodObject<{
4283
+ type: z.ZodLiteral<"phone">;
4284
+ value: z.ZodString;
4285
+ }, z.core.$strict>, z.ZodObject<{
4286
+ type: z.ZodLiteral<"birthday">;
4287
+ value: z.ZodString;
4288
+ }, z.core.$strict>, z.ZodObject<{
4289
+ type: z.ZodLiteral<"address">;
4290
+ address: z.ZodString;
4291
+ city: z.ZodString;
4292
+ state: z.ZodString;
4293
+ zip_code: z.ZodString;
4294
+ }, z.core.$strict>], "type">;
4295
+ }, z.core.$strict>;
4296
+ readonly ConfirmPurchaseIntentResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
4297
+ intent_id: z.ZodString;
4298
+ attempt_id: z.ZodString;
4299
+ order_id: z.ZodString;
4300
+ order_number: z.ZodOptional<z.ZodString>;
4301
+ payment_id: z.ZodOptional<z.ZodString>;
4302
+ status: z.ZodLiteral<"order_created">;
4303
+ }, z.core.$loose>, z.ZodObject<{
4304
+ intent_id: z.ZodString;
4305
+ attempt_id: z.ZodString;
4306
+ order_id: z.ZodString;
4307
+ order_number: z.ZodOptional<z.ZodString>;
4308
+ payment_id: z.ZodOptional<z.ZodString>;
4309
+ status: z.ZodLiteral<"collection_processing">;
4310
+ }, z.core.$loose>, z.ZodObject<{
4311
+ intent_id: z.ZodString;
4312
+ attempt_id: z.ZodString;
4313
+ order_id: z.ZodString;
4314
+ order_number: z.ZodOptional<z.ZodString>;
4315
+ payment_id: z.ZodOptional<z.ZodString>;
4316
+ status: z.ZodLiteral<"payment_outcome_unknown">;
4317
+ }, z.core.$loose>, z.ZodObject<{
4318
+ intent_id: z.ZodString;
4319
+ attempt_id: z.ZodString;
4320
+ order_id: z.ZodString;
4321
+ order_number: z.ZodOptional<z.ZodString>;
4322
+ payment_id: z.ZodOptional<z.ZodString>;
4323
+ status: z.ZodLiteral<"payment_failed">;
4324
+ }, z.core.$loose>, z.ZodObject<{
4325
+ authorization_url: z.ZodString;
4326
+ intent_id: z.ZodString;
4327
+ attempt_id: z.ZodString;
4328
+ order_id: z.ZodString;
4329
+ order_number: z.ZodOptional<z.ZodString>;
4330
+ payment_id: z.ZodOptional<z.ZodString>;
4331
+ status: z.ZodLiteral<"redirect_required">;
4332
+ }, z.core.$loose>, z.ZodObject<{
4333
+ provider: z.ZodEnum<{
4334
+ readonly STRIPE: "stripe";
4335
+ readonly PAYSTACK: "paystack";
4336
+ readonly CELLULANT: "cellulant";
4337
+ readonly MTN_MOMO: "mtn_momo";
4338
+ }>;
4339
+ client_secret: z.ZodString;
4340
+ public_key: z.ZodString;
4341
+ provider_account_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4342
+ intent_id: z.ZodString;
4343
+ attempt_id: z.ZodString;
4344
+ order_id: z.ZodString;
4345
+ order_number: z.ZodOptional<z.ZodString>;
4346
+ payment_id: z.ZodOptional<z.ZodString>;
4347
+ status: z.ZodLiteral<"card_popup_required">;
4348
+ }, z.core.$loose>, z.ZodObject<{
4349
+ authorization_type: z.ZodUnion<readonly [z.ZodEnum<{
4350
+ phone: "phone";
4351
+ otp: "otp";
4352
+ pin: "pin";
4353
+ birthday: "birthday";
4354
+ }>, z.ZodObject<{
4355
+ address: z.ZodObject<{
4356
+ address: z.ZodString;
4357
+ city: z.ZodString;
4358
+ state: z.ZodString;
4359
+ zip_code: z.ZodString;
4360
+ }, z.core.$strip>;
4361
+ }, z.core.$strip>]>;
4362
+ display_text: z.ZodOptional<z.ZodString>;
4363
+ intent_id: z.ZodString;
4364
+ attempt_id: z.ZodString;
4365
+ order_id: z.ZodString;
4366
+ order_number: z.ZodOptional<z.ZodString>;
4367
+ payment_id: z.ZodOptional<z.ZodString>;
4368
+ status: z.ZodLiteral<"authorization_required">;
4369
+ }, z.core.$loose>, z.ZodObject<{
4370
+ status: z.ZodLiteral<"terms_changed">;
4371
+ intent_id: z.ZodString;
4372
+ replacement: z.ZodObject<{
4373
+ id: z.ZodString;
4374
+ intent_revision: z.ZodNumber;
4375
+ terms_version: z.ZodNumber;
4376
+ terms_digest: z.ZodString;
4377
+ money: z.ZodObject<{
4378
+ currency: z.ZodString;
4379
+ subtotal: z.ZodString;
4380
+ discount_total: z.ZodString;
4381
+ tax_total: z.ZodString;
4382
+ delivery_total: z.ZodString;
4383
+ statutory_total: z.ZodString;
4384
+ total_obligation: z.ZodString;
4385
+ due_now: z.ZodString;
4386
+ rail_amount: z.ZodString;
4387
+ store_credit_consumed: z.ZodString;
4388
+ voucher_credit_consumed: z.ZodString;
4389
+ }, z.core.$strip>;
4390
+ material: z.ZodObject<{
4391
+ line_digest: z.ZodString;
4392
+ destination_digest: z.ZodString;
4393
+ delivery_promise_digest: z.ZodString;
4394
+ entitlement_digest: z.ZodString;
4395
+ cancellation_terms_digest: z.ZodString;
4396
+ }, z.core.$strip>;
4397
+ compliance: z.ZodObject<{
4398
+ policy_name: z.ZodString;
4399
+ policy_version: z.ZodNumber;
4400
+ lane: z.ZodEnum<{
4401
+ readonly COMMERCE_CORE: "commerce_core";
4402
+ readonly NATIVE: "native";
4403
+ readonly STORE_KIT: "store_kit";
4404
+ readonly PERMITTED_EXTERNAL: "permitted_external";
4405
+ readonly BROWSE_ONLY: "browse_only";
4406
+ }>;
4407
+ reason_code: z.ZodEnum<{
4408
+ readonly COMMERCE_CORE: "commerce_core";
4409
+ readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
4410
+ readonly STORE_KIT_REQUIRED: "store_kit_required";
4411
+ readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
4412
+ readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
4413
+ readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
4414
+ readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
4415
+ }>;
4416
+ evidence_digest: z.ZodString;
4417
+ }, z.core.$strip>;
4418
+ payment_options: z.ZodArray<z.ZodObject<{
4419
+ id: z.ZodString;
4420
+ rank: z.ZodNumber;
4421
+ method_kind: z.ZodEnum<{
4422
+ readonly CARD: "card";
4423
+ readonly MOBILE_MONEY: "mobile_money";
4424
+ readonly OFFLINE: "offline";
4425
+ }>;
4426
+ collection_mode: z.ZodEnum<{
4427
+ readonly REQUEST_TO_PAY: "request_to_pay";
4428
+ readonly MANDATE_DEBIT: "mandate_debit";
4429
+ readonly CREDENTIAL_CHARGE: "credential_charge";
4430
+ readonly OFFLINE_TENDER: "offline_tender";
4431
+ }>;
4432
+ provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4433
+ readonly STRIPE: "stripe";
4434
+ readonly PAYSTACK: "paystack";
4435
+ readonly CELLULANT: "cellulant";
4436
+ readonly MTN_MOMO: "mtn_momo";
4437
+ }>>>;
4438
+ instrument: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
4439
+ kind: z.ZodLiteral<"card">;
4440
+ brand: z.ZodString;
4441
+ last4: z.ZodString;
4442
+ exp_month: z.ZodNumber;
4443
+ exp_year: z.ZodNumber;
4444
+ }, z.core.$strip>, z.ZodObject<{
4445
+ kind: z.ZodLiteral<"mobile_money">;
4446
+ network: z.ZodString;
4447
+ masked_number: z.ZodString;
4448
+ }, z.core.$strip>, z.ZodObject<{
4449
+ kind: z.ZodLiteral<"erased">;
4450
+ }, z.core.$strip>], "kind">>>;
4451
+ principal_amount: z.ZodString;
4452
+ fee_amount: z.ZodString;
4453
+ customer_debit_amount: z.ZodString;
4454
+ currency: z.ZodString;
4455
+ status: z.ZodEnum<{
4456
+ readonly ELIGIBLE: "eligible";
4457
+ readonly INELIGIBLE: "ineligible";
4458
+ readonly EXPIRED: "expired";
4459
+ }>;
4460
+ expected_next_action: z.ZodEnum<{
4461
+ readonly NONE: "none";
4462
+ readonly PROVIDER_APPROVAL: "provider_approval";
4463
+ readonly STEP_UP: "step_up";
4464
+ }>;
4465
+ expires_at: z.ZodISODateTime;
4466
+ }, z.core.$strip>>;
4467
+ valid_until: z.ZodISODateTime;
4468
+ created_at: z.ZodISODateTime;
4469
+ }, z.core.$strict>;
4470
+ deltas: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4471
+ kind: z.ZodLiteral<"money">;
4472
+ component: z.ZodEnum<{
4473
+ readonly SUBTOTAL: "subtotal";
4474
+ readonly DISCOUNT_TOTAL: "discount_total";
4475
+ readonly TAX_TOTAL: "tax_total";
4476
+ readonly DELIVERY_TOTAL: "delivery_total";
4477
+ readonly STATUTORY_TOTAL: "statutory_total";
4478
+ readonly TOTAL_OBLIGATION: "total_obligation";
4479
+ readonly DUE_NOW: "due_now";
4480
+ readonly RAIL_AMOUNT: "rail_amount";
4481
+ readonly STORE_CREDIT_CONSUMED: "store_credit_consumed";
4482
+ readonly VOUCHER_CREDIT_CONSUMED: "voucher_credit_consumed";
4483
+ }>;
4484
+ accepted: z.ZodString;
4485
+ replacement: z.ZodString;
4486
+ }, z.core.$strip>, z.ZodObject<{
4487
+ kind: z.ZodLiteral<"material">;
4488
+ component: z.ZodEnum<{
4489
+ readonly LINES: "lines";
4490
+ readonly DESTINATION: "destination";
4491
+ readonly DELIVERY_PROMISE: "delivery_promise";
4492
+ readonly ENTITLEMENT: "entitlement";
4493
+ readonly CANCELLATION_TERMS: "cancellation_terms";
4494
+ readonly COMPLIANCE: "compliance";
4495
+ readonly CURRENCY: "currency";
4496
+ }>;
4497
+ }, z.core.$strip>, z.ZodObject<{
4498
+ kind: z.ZodLiteral<"payment_option">;
4499
+ accepted_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4500
+ accepted_customer_debit_amount: z.ZodString;
4501
+ replacement_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4502
+ replacement_customer_debit_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4503
+ }, z.core.$strip>], "kind">>;
4504
+ }, z.core.$loose>, z.ZodObject<{
4505
+ status: z.ZodLiteral<"selection_unavailable">;
4506
+ intent_id: z.ZodString;
4507
+ lines: z.ZodArray<z.ZodObject<{
4508
+ line_id: z.ZodString;
4509
+ reason: z.ZodEnum<{
4510
+ readonly SOURCE_UNAVAILABLE: "source_unavailable";
4511
+ readonly OFFER_ENDED: "offer_ended";
4512
+ readonly OFFER_CHANGED: "offer_changed";
4513
+ readonly SELLABLE_UNAVAILABLE: "sellable_unavailable";
4514
+ readonly COMPLIANCE_CHANGED: "compliance_changed";
4515
+ readonly PAYMENT_OPTION_CHANGED: "payment_option_changed";
4516
+ }>;
4517
+ }, z.core.$strip>>;
4518
+ }, z.core.$loose>, z.ZodObject<{
4519
+ status: z.ZodLiteral<"offer_ended">;
4520
+ intent_id: z.ZodString;
4521
+ }, z.core.$loose>, z.ZodObject<{
4522
+ status: z.ZodLiteral<"source_unavailable">;
4523
+ intent_id: z.ZodString;
4524
+ }, z.core.$loose>], "status">;
2362
4525
  };
2363
4526
  type PublicSchemaName = keyof typeof PUBLIC_SCHEMAS;
2364
4527
  /**
@@ -2377,4 +4540,4 @@ declare function listRegisteredSchemas(): Array<{
2377
4540
  meta: CimplifySchemaMeta;
2378
4541
  }>;
2379
4542
 
2380
- export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, type PublicSchemaName, RequestOtpResponseSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, VerifyOtpRequestSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };
4543
+ export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, type CheckoutTermsView, CheckoutTermsViewSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, type ConfirmPurchaseIntentRequest, ConfirmPurchaseIntentRequestSchema, type ConfirmPurchaseIntentResponse, ConfirmPurchaseIntentResponseSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, type MintPurchaseIntentRequest, MintPurchaseIntentRequestSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, type PreparePurchaseIntentRequest, PreparePurchaseIntentRequestSchema, ProductTypeSchema, type PublicSchemaName, PurchaseIntentSourceInputSchema, PurchaseIntentTenderPreferenceSchema, type PurchaseIntentView, PurchaseIntentViewSchema, RequestOtpResponseSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, type SubmitPurchaseIntentActionRequest, SubmitPurchaseIntentActionRequestSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, VerifyOtpRequestSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, assertCheckoutTermsView, assertConfirmPurchaseIntentRequest, assertConfirmPurchaseIntentResponse, assertMintPurchaseIntentRequest, assertPreparePurchaseIntentRequest, assertPurchaseIntentView, assertSubmitPurchaseIntentActionRequest, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };