order3000 1.13.1 → 2.0.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.
package/dist/client.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { ai as ListAdsOptions, aj as ListAdsResponse, A as Ad, x as CreateAdRequest, y as CreateAdResponse, aE as PatchAdRequest, aF as PatchAdResponse, aX as SaveAdKeywordsRequest, aY as SaveAdKeywordsResponse, aV as SaveAdCalloutsRequest, aW as SaveAdCalloutsResponse, aZ as SaveAdNegativeKeywordsRequest, a_ as SaveAdNegativeKeywordsResponse, a$ as SaveAdWebsitePagesRequest, b0 as SaveAdWebsitePagesResponse, b5 as SetAdBudgetRequest, b6 as SetAdBudgetResponse, _ as EditMetaAdRequest, $ as EditMetaAdResponse, S as DeleteAdResponse, a9 as GetAreaOptions, c as Area, a8 as GetAreaAvailabilityOptions, e as AreaAvailabilityResponse, b9 as SubmitAreaBookingRequestPayload, h as AreaBookingRequestResponse, ak as ListArticlesOptions, al as ListArticlesResponse, m as Article, aG as PatchArticleRequest, a5 as FeatureImage, bq as UploadFeatureImageArgs, aK as PatchFeatureImageRequest, am as ListAssetsOptions, an as ListAssetsResponse, n as Asset, B as Basket, a as AddToBasketRequest, b as AddToBasketResponse, aR as RemoveFromBasketResponse, R as DeclaredReturn, t as BasketTotals, a6 as FetchBeverageResponse, W as EditBeverageRequest, X as EditBeverageResponse, bm as UploadAssetArgs, bn as UploadAssetResponse, ab as GetCalloutsResponse, z as CreateCalloutRequest, D as CreateCalloutResponse, bi as UpdateCalloutRequest, bj as UpdateCalloutResponse, T as DeleteCalloutResponse, a7 as FetchDishResponse, Y as EditDishRequest, Z as EditDishResponse, ao as ListEventsOptions, ap as ListEventsResponse, G as CreateEventRequest, H as CreateEventResponse, ac as GetEventOptions, a2 as EventByAccessor, aI as PatchEventRequest, aJ as PatchEventResponse, U as DeleteEventResponse, ad as GetEventSlotAvailabilityOptions, a4 as EventSlotAvailabilityResponse, bo as UploadEventAssetArgs, bp as UploadEventAssetResponse, ae as GetMenuOptions, as as Menu, av as MenuBundle, aA as MenuSubscription, ah as LatestOrder, aM as PlaceOrderRequest, aN as PlaceOrderResponse, v as ConfirmOrderRequest, w as ConfirmOrderResponse, K as CreatePaymentIntentRequest, L as CreatePaymentIntentResponse, E as CreateDeltaPaymentIntentRequest, F as CreateDeltaPaymentIntentResponse, aP as ReduceDeltaPaymentIntentRequest, aQ as ReduceDeltaPaymentIntentResponse, I as CreateMenuPublicationRequest, J as CreateMenuPublicationResponse, b7 as SetMenuPublicationBlocksRequest, b8 as SetMenuPublicationBlocksResponse, aS as RenderMenuPublicationPdfRequest, aT as RenderMenuPublicationPdfResponse, C as ComposeMenuPublicationBookletRequest, u as ComposeMenuPublicationBookletResponse, aq as MakeReservationRequest, ar as MakeReservationResponse, aU as RitualByAccessor, ba as SubscribeRequest, bb as SubscribeResponse, be as SubscriptionCreditStatus, bd as SubscriptionCredit, r as BasketItemMetadata, br as Venue, ag as GetWebsitePagesResponse, M as CreateWebsitePageRequest, N as CreateWebsitePageResponse, bk as UpdateWebsitePageRequest, bl as UpdateWebsitePageResponse, V as DeleteWebsitePageResponse, P as Currency, b3 as ScheduleTimeSlot, Q as DayOfWeek } from './index-BYRSx8Te.mjs';
2
- export { d as O3KAreaAsset, f as O3KAreaAvailabilityWindow, g as O3KAreaBookingMode, i as O3KAreaBookingRequestSource, j as O3KAreaBookingRequestStatus, k as O3KAreaBookingStatus, l as O3KAreaFeature, o as O3KBasketItem, p as O3KBasketItemDeposit, q as O3KBasketItemMenuItemRef, s as O3KBasketStatus, O as O3KCropArea, a0 as O3KEvent, a1 as O3KEventAsset, a3 as O3KEventMenu, aa as O3KGetArticleResponse, af as O3KGetVenueResponse, at as O3KMenuAsset, au as O3KMenuBeverage, aw as O3KMenuBundleDeposit, ax as O3KMenuDish, ay as O3KMenuItem, az as O3KMenuItemType, aB as O3KMenuSubscriptionPoster, aC as O3KOrderFulfillmentType, aD as O3KOrderStatus, aH as O3KPatchArticleResponse, aL as O3KPaymentStatus, aO as O3KPromotion, b1 as O3KSchedule, b2 as O3KScheduleOverride, b4 as O3KScheduleWithTimeSlots, bc as O3KSubscriberStatus, bf as O3KSubscriptionPeriod, bg as O3KTimeSlot, bh as O3KUnit } from './index-BYRSx8Te.mjs';
1
+ import { ai as ListAdsOptions, aj as ListAdsResponse, A as Ad, x as CreateAdRequest, y as CreateAdResponse, aE as PatchAdRequest, aF as PatchAdResponse, aX as SaveAdKeywordsRequest, aY as SaveAdKeywordsResponse, aV as SaveAdCalloutsRequest, aW as SaveAdCalloutsResponse, aZ as SaveAdNegativeKeywordsRequest, a_ as SaveAdNegativeKeywordsResponse, a$ as SaveAdWebsitePagesRequest, b0 as SaveAdWebsitePagesResponse, b5 as SetAdBudgetRequest, b6 as SetAdBudgetResponse, _ as EditMetaAdRequest, $ as EditMetaAdResponse, S as DeleteAdResponse, a9 as GetAreaOptions, c as Area, a8 as GetAreaAvailabilityOptions, e as AreaAvailabilityResponse, b9 as SubmitAreaBookingRequestPayload, h as AreaBookingRequestResponse, ak as ListArticlesOptions, al as ListArticlesResponse, m as Article, aG as PatchArticleRequest, a5 as FeatureImage, bq as UploadFeatureImageArgs, aK as PatchFeatureImageRequest, am as ListAssetsOptions, an as ListAssetsResponse, n as Asset, B as Basket, a as AddToBasketRequest, b as AddToBasketResponse, aR as RemoveFromBasketResponse, R as DeclaredReturn, t as BasketTotals, a6 as FetchBeverageResponse, W as EditBeverageRequest, X as EditBeverageResponse, bm as UploadAssetArgs, bn as UploadAssetResponse, ab as GetCalloutsResponse, z as CreateCalloutRequest, D as CreateCalloutResponse, bi as UpdateCalloutRequest, bj as UpdateCalloutResponse, T as DeleteCalloutResponse, a7 as FetchDishResponse, Y as EditDishRequest, Z as EditDishResponse, ao as ListEventsOptions, ap as ListEventsResponse, G as CreateEventRequest, H as CreateEventResponse, ac as GetEventOptions, a2 as EventByAccessor, aI as PatchEventRequest, aJ as PatchEventResponse, U as DeleteEventResponse, ad as GetEventSlotAvailabilityOptions, a4 as EventSlotAvailabilityResponse, bo as UploadEventAssetArgs, bp as UploadEventAssetResponse, ae as GetMenuOptions, as as Menu, av as MenuBundle, aA as MenuSubscription, ah as LatestOrder, aM as PlaceOrderRequest, aN as PlaceOrderResponse, v as ConfirmOrderRequest, w as ConfirmOrderResponse, K as CreatePaymentIntentRequest, L as CreatePaymentIntentResponse, E as CreateDeltaPaymentIntentRequest, F as CreateDeltaPaymentIntentResponse, aP as ReduceDeltaPaymentIntentRequest, aQ as ReduceDeltaPaymentIntentResponse, I as CreateMenuPublicationRequest, J as CreateMenuPublicationResponse, b7 as SetMenuPublicationBlocksRequest, b8 as SetMenuPublicationBlocksResponse, aS as RenderMenuPublicationPdfRequest, aT as RenderMenuPublicationPdfResponse, C as ComposeMenuPublicationBookletRequest, u as ComposeMenuPublicationBookletResponse, aq as MakeReservationRequest, ar as MakeReservationResponse, aU as RitualByAccessor, ba as SubscribeRequest, bb as SubscribeResponse, be as SubscriptionCreditStatus, bd as SubscriptionCredit, r as BasketItemMetadata, br as Venue, ag as GetWebsitePagesResponse, M as CreateWebsitePageRequest, N as CreateWebsitePageResponse, bk as UpdateWebsitePageRequest, bl as UpdateWebsitePageResponse, V as DeleteWebsitePageResponse, P as Currency, b3 as ScheduleTimeSlot, Q as DayOfWeek } from './index-D7ZH0AzE.mjs';
2
+ export { d as O3KAreaAsset, f as O3KAreaAvailabilityWindow, g as O3KAreaBookingMode, i as O3KAreaBookingRequestSource, j as O3KAreaBookingRequestStatus, k as O3KAreaBookingStatus, l as O3KAreaFeature, o as O3KBasketItem, p as O3KBasketItemDeposit, q as O3KBasketItemMenuItemRef, s as O3KBasketStatus, O as O3KCropArea, a0 as O3KEvent, a1 as O3KEventAsset, a3 as O3KEventMenu, aa as O3KGetArticleResponse, af as O3KGetVenueResponse, at as O3KMenuAsset, au as O3KMenuBeverage, aw as O3KMenuBundleDeposit, ax as O3KMenuDish, ay as O3KMenuItem, az as O3KMenuItemType, aB as O3KMenuSubscriptionPoster, aC as O3KOrderFulfillmentType, aD as O3KOrderStatus, aH as O3KPatchArticleResponse, aL as O3KPaymentStatus, aO as O3KPromotion, b1 as O3KSchedule, b2 as O3KScheduleOverride, b4 as O3KScheduleWithTimeSlots, bc as O3KSubscriberStatus, bf as O3KSubscriptionPeriod, bg as O3KTimeSlot, bh as O3KUnit } from './index-D7ZH0AzE.mjs';
3
3
  import { z as z$1 } from 'zod';
4
4
  import { z } from 'zod/v4';
5
5
  import { RealtimePostgresChangesPayload, RealtimeChannel, SupabaseClient } from '@supabase/supabase-js';
@@ -776,8 +776,23 @@ type ParticipantStatus = z$1.infer<typeof participantStatusSchema>;
776
776
  interface TeamDeliveryAddress {
777
777
  street: string;
778
778
  city: string;
779
- state: string;
780
- postalCode: string;
779
+ /**
780
+ * `region` and `postcode`, NOT `state` and `postalCode`.
781
+ *
782
+ * This type is the wire contract of order3000's team-order endpoints, and
783
+ * that contract is `DeliveryAddressSchema` — derived from the `addresses`
784
+ * table, which names these columns `region` and `postcode`. The old spelling
785
+ * never matched the API this SDK wraps: a caller who believed the type and
786
+ * sent `postalCode` would have had it dropped server-side, and the required
787
+ * `postcode` rejected as missing.
788
+ *
789
+ * It stayed invisible because the one caller spreads a correctly-named
790
+ * object, so the runtime payload was always right and only the declaration
791
+ * lied. `postcode` is the house term everywhere (label, key, field, column);
792
+ * external APIs get mapped at the adapter line, never mirrored inward.
793
+ */
794
+ region?: string | null;
795
+ postcode: string;
781
796
  country: string;
782
797
  }
783
798
  interface CreateTeamOrderRequest {
@@ -1391,15 +1406,524 @@ declare function getScheduleInfo(schedule: ScheduleInput | null | undefined): Sc
1391
1406
  declare const deliveryAddressSchema: z.ZodObject<{
1392
1407
  street: z.ZodString;
1393
1408
  city: z.ZodString;
1394
- state: z.ZodString;
1395
- postalCode: z.ZodString;
1396
- country: z.ZodString;
1409
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1410
+ postcode: z.ZodString;
1411
+ country: z.ZodEnum<{
1412
+ AD: "AD";
1413
+ AE: "AE";
1414
+ AF: "AF";
1415
+ AG: "AG";
1416
+ AI: "AI";
1417
+ AL: "AL";
1418
+ AM: "AM";
1419
+ AO: "AO";
1420
+ AQ: "AQ";
1421
+ AR: "AR";
1422
+ AS: "AS";
1423
+ AT: "AT";
1424
+ AU: "AU";
1425
+ AW: "AW";
1426
+ AX: "AX";
1427
+ AZ: "AZ";
1428
+ BA: "BA";
1429
+ BB: "BB";
1430
+ BD: "BD";
1431
+ BE: "BE";
1432
+ BF: "BF";
1433
+ BG: "BG";
1434
+ BH: "BH";
1435
+ BI: "BI";
1436
+ BJ: "BJ";
1437
+ BL: "BL";
1438
+ BM: "BM";
1439
+ BN: "BN";
1440
+ BO: "BO";
1441
+ BQ: "BQ";
1442
+ BR: "BR";
1443
+ BS: "BS";
1444
+ BT: "BT";
1445
+ BV: "BV";
1446
+ BW: "BW";
1447
+ BY: "BY";
1448
+ BZ: "BZ";
1449
+ CA: "CA";
1450
+ CC: "CC";
1451
+ CD: "CD";
1452
+ CF: "CF";
1453
+ CG: "CG";
1454
+ CH: "CH";
1455
+ CI: "CI";
1456
+ CK: "CK";
1457
+ CL: "CL";
1458
+ CM: "CM";
1459
+ CN: "CN";
1460
+ CO: "CO";
1461
+ CR: "CR";
1462
+ CU: "CU";
1463
+ CV: "CV";
1464
+ CW: "CW";
1465
+ CX: "CX";
1466
+ CY: "CY";
1467
+ CZ: "CZ";
1468
+ DE: "DE";
1469
+ DJ: "DJ";
1470
+ DK: "DK";
1471
+ DM: "DM";
1472
+ DO: "DO";
1473
+ DZ: "DZ";
1474
+ EC: "EC";
1475
+ EE: "EE";
1476
+ EG: "EG";
1477
+ EH: "EH";
1478
+ ER: "ER";
1479
+ ES: "ES";
1480
+ ET: "ET";
1481
+ FI: "FI";
1482
+ FJ: "FJ";
1483
+ FK: "FK";
1484
+ FM: "FM";
1485
+ FO: "FO";
1486
+ FR: "FR";
1487
+ GA: "GA";
1488
+ GB: "GB";
1489
+ GD: "GD";
1490
+ GE: "GE";
1491
+ GF: "GF";
1492
+ GG: "GG";
1493
+ GH: "GH";
1494
+ GI: "GI";
1495
+ GL: "GL";
1496
+ GM: "GM";
1497
+ GN: "GN";
1498
+ GP: "GP";
1499
+ GQ: "GQ";
1500
+ GR: "GR";
1501
+ GS: "GS";
1502
+ GT: "GT";
1503
+ GU: "GU";
1504
+ GW: "GW";
1505
+ GY: "GY";
1506
+ HK: "HK";
1507
+ HM: "HM";
1508
+ HN: "HN";
1509
+ HR: "HR";
1510
+ HT: "HT";
1511
+ HU: "HU";
1512
+ ID: "ID";
1513
+ IE: "IE";
1514
+ IL: "IL";
1515
+ IM: "IM";
1516
+ IN: "IN";
1517
+ IO: "IO";
1518
+ IQ: "IQ";
1519
+ IR: "IR";
1520
+ IS: "IS";
1521
+ IT: "IT";
1522
+ JE: "JE";
1523
+ JM: "JM";
1524
+ JO: "JO";
1525
+ JP: "JP";
1526
+ KE: "KE";
1527
+ KG: "KG";
1528
+ KH: "KH";
1529
+ KI: "KI";
1530
+ KM: "KM";
1531
+ KN: "KN";
1532
+ KP: "KP";
1533
+ KR: "KR";
1534
+ KW: "KW";
1535
+ KY: "KY";
1536
+ KZ: "KZ";
1537
+ LA: "LA";
1538
+ LB: "LB";
1539
+ LC: "LC";
1540
+ LI: "LI";
1541
+ LK: "LK";
1542
+ LR: "LR";
1543
+ LS: "LS";
1544
+ LT: "LT";
1545
+ LU: "LU";
1546
+ LV: "LV";
1547
+ LY: "LY";
1548
+ MA: "MA";
1549
+ MC: "MC";
1550
+ MD: "MD";
1551
+ ME: "ME";
1552
+ MF: "MF";
1553
+ MG: "MG";
1554
+ MH: "MH";
1555
+ MK: "MK";
1556
+ ML: "ML";
1557
+ MM: "MM";
1558
+ MN: "MN";
1559
+ MO: "MO";
1560
+ MP: "MP";
1561
+ MQ: "MQ";
1562
+ MR: "MR";
1563
+ MS: "MS";
1564
+ MT: "MT";
1565
+ MU: "MU";
1566
+ MV: "MV";
1567
+ MW: "MW";
1568
+ MX: "MX";
1569
+ MY: "MY";
1570
+ MZ: "MZ";
1571
+ NA: "NA";
1572
+ NC: "NC";
1573
+ NE: "NE";
1574
+ NF: "NF";
1575
+ NG: "NG";
1576
+ NI: "NI";
1577
+ NL: "NL";
1578
+ NO: "NO";
1579
+ NP: "NP";
1580
+ NR: "NR";
1581
+ NU: "NU";
1582
+ NZ: "NZ";
1583
+ OM: "OM";
1584
+ PA: "PA";
1585
+ PE: "PE";
1586
+ PF: "PF";
1587
+ PG: "PG";
1588
+ PH: "PH";
1589
+ PK: "PK";
1590
+ PL: "PL";
1591
+ PM: "PM";
1592
+ PN: "PN";
1593
+ PR: "PR";
1594
+ PS: "PS";
1595
+ PT: "PT";
1596
+ PW: "PW";
1597
+ PY: "PY";
1598
+ QA: "QA";
1599
+ RE: "RE";
1600
+ RO: "RO";
1601
+ RS: "RS";
1602
+ RU: "RU";
1603
+ RW: "RW";
1604
+ SA: "SA";
1605
+ SB: "SB";
1606
+ SC: "SC";
1607
+ SD: "SD";
1608
+ SE: "SE";
1609
+ SG: "SG";
1610
+ SH: "SH";
1611
+ SI: "SI";
1612
+ SJ: "SJ";
1613
+ SK: "SK";
1614
+ SL: "SL";
1615
+ SM: "SM";
1616
+ SN: "SN";
1617
+ SO: "SO";
1618
+ SR: "SR";
1619
+ SS: "SS";
1620
+ ST: "ST";
1621
+ SV: "SV";
1622
+ SX: "SX";
1623
+ SY: "SY";
1624
+ SZ: "SZ";
1625
+ TC: "TC";
1626
+ TD: "TD";
1627
+ TF: "TF";
1628
+ TG: "TG";
1629
+ TH: "TH";
1630
+ TJ: "TJ";
1631
+ TK: "TK";
1632
+ TL: "TL";
1633
+ TM: "TM";
1634
+ TN: "TN";
1635
+ TO: "TO";
1636
+ TR: "TR";
1637
+ TT: "TT";
1638
+ TV: "TV";
1639
+ TW: "TW";
1640
+ TZ: "TZ";
1641
+ UA: "UA";
1642
+ UG: "UG";
1643
+ UM: "UM";
1644
+ US: "US";
1645
+ UY: "UY";
1646
+ UZ: "UZ";
1647
+ VA: "VA";
1648
+ VC: "VC";
1649
+ VE: "VE";
1650
+ VG: "VG";
1651
+ VI: "VI";
1652
+ VN: "VN";
1653
+ VU: "VU";
1654
+ WF: "WF";
1655
+ WS: "WS";
1656
+ YE: "YE";
1657
+ YT: "YT";
1658
+ ZA: "ZA";
1659
+ ZM: "ZM";
1660
+ ZW: "ZW";
1661
+ }>;
1397
1662
  }, z.core.$strip>;
1398
1663
 
1399
1664
  /**
1400
1665
  * Generated by Kubb (https://kubb.dev/).
1401
1666
  * Do not edit manually.
1402
1667
  */
1668
+ declare const countryEnum: {
1669
+ readonly AD: "AD";
1670
+ readonly AE: "AE";
1671
+ readonly AF: "AF";
1672
+ readonly AG: "AG";
1673
+ readonly AI: "AI";
1674
+ readonly AL: "AL";
1675
+ readonly AM: "AM";
1676
+ readonly AO: "AO";
1677
+ readonly AQ: "AQ";
1678
+ readonly AR: "AR";
1679
+ readonly AS: "AS";
1680
+ readonly AT: "AT";
1681
+ readonly AU: "AU";
1682
+ readonly AW: "AW";
1683
+ readonly AX: "AX";
1684
+ readonly AZ: "AZ";
1685
+ readonly BA: "BA";
1686
+ readonly BB: "BB";
1687
+ readonly BD: "BD";
1688
+ readonly BE: "BE";
1689
+ readonly BF: "BF";
1690
+ readonly BG: "BG";
1691
+ readonly BH: "BH";
1692
+ readonly BI: "BI";
1693
+ readonly BJ: "BJ";
1694
+ readonly BL: "BL";
1695
+ readonly BM: "BM";
1696
+ readonly BN: "BN";
1697
+ readonly BO: "BO";
1698
+ readonly BQ: "BQ";
1699
+ readonly BR: "BR";
1700
+ readonly BS: "BS";
1701
+ readonly BT: "BT";
1702
+ readonly BV: "BV";
1703
+ readonly BW: "BW";
1704
+ readonly BY: "BY";
1705
+ readonly BZ: "BZ";
1706
+ readonly CA: "CA";
1707
+ readonly CC: "CC";
1708
+ readonly CD: "CD";
1709
+ readonly CF: "CF";
1710
+ readonly CG: "CG";
1711
+ readonly CH: "CH";
1712
+ readonly CI: "CI";
1713
+ readonly CK: "CK";
1714
+ readonly CL: "CL";
1715
+ readonly CM: "CM";
1716
+ readonly CN: "CN";
1717
+ readonly CO: "CO";
1718
+ readonly CR: "CR";
1719
+ readonly CU: "CU";
1720
+ readonly CV: "CV";
1721
+ readonly CW: "CW";
1722
+ readonly CX: "CX";
1723
+ readonly CY: "CY";
1724
+ readonly CZ: "CZ";
1725
+ readonly DE: "DE";
1726
+ readonly DJ: "DJ";
1727
+ readonly DK: "DK";
1728
+ readonly DM: "DM";
1729
+ readonly DO: "DO";
1730
+ readonly DZ: "DZ";
1731
+ readonly EC: "EC";
1732
+ readonly EE: "EE";
1733
+ readonly EG: "EG";
1734
+ readonly EH: "EH";
1735
+ readonly ER: "ER";
1736
+ readonly ES: "ES";
1737
+ readonly ET: "ET";
1738
+ readonly FI: "FI";
1739
+ readonly FJ: "FJ";
1740
+ readonly FK: "FK";
1741
+ readonly FM: "FM";
1742
+ readonly FO: "FO";
1743
+ readonly FR: "FR";
1744
+ readonly GA: "GA";
1745
+ readonly GB: "GB";
1746
+ readonly GD: "GD";
1747
+ readonly GE: "GE";
1748
+ readonly GF: "GF";
1749
+ readonly GG: "GG";
1750
+ readonly GH: "GH";
1751
+ readonly GI: "GI";
1752
+ readonly GL: "GL";
1753
+ readonly GM: "GM";
1754
+ readonly GN: "GN";
1755
+ readonly GP: "GP";
1756
+ readonly GQ: "GQ";
1757
+ readonly GR: "GR";
1758
+ readonly GS: "GS";
1759
+ readonly GT: "GT";
1760
+ readonly GU: "GU";
1761
+ readonly GW: "GW";
1762
+ readonly GY: "GY";
1763
+ readonly HK: "HK";
1764
+ readonly HM: "HM";
1765
+ readonly HN: "HN";
1766
+ readonly HR: "HR";
1767
+ readonly HT: "HT";
1768
+ readonly HU: "HU";
1769
+ readonly ID: "ID";
1770
+ readonly IE: "IE";
1771
+ readonly IL: "IL";
1772
+ readonly IM: "IM";
1773
+ readonly IN: "IN";
1774
+ readonly IO: "IO";
1775
+ readonly IQ: "IQ";
1776
+ readonly IR: "IR";
1777
+ readonly IS: "IS";
1778
+ readonly IT: "IT";
1779
+ readonly JE: "JE";
1780
+ readonly JM: "JM";
1781
+ readonly JO: "JO";
1782
+ readonly JP: "JP";
1783
+ readonly KE: "KE";
1784
+ readonly KG: "KG";
1785
+ readonly KH: "KH";
1786
+ readonly KI: "KI";
1787
+ readonly KM: "KM";
1788
+ readonly KN: "KN";
1789
+ readonly KP: "KP";
1790
+ readonly KR: "KR";
1791
+ readonly KW: "KW";
1792
+ readonly KY: "KY";
1793
+ readonly KZ: "KZ";
1794
+ readonly LA: "LA";
1795
+ readonly LB: "LB";
1796
+ readonly LC: "LC";
1797
+ readonly LI: "LI";
1798
+ readonly LK: "LK";
1799
+ readonly LR: "LR";
1800
+ readonly LS: "LS";
1801
+ readonly LT: "LT";
1802
+ readonly LU: "LU";
1803
+ readonly LV: "LV";
1804
+ readonly LY: "LY";
1805
+ readonly MA: "MA";
1806
+ readonly MC: "MC";
1807
+ readonly MD: "MD";
1808
+ readonly ME: "ME";
1809
+ readonly MF: "MF";
1810
+ readonly MG: "MG";
1811
+ readonly MH: "MH";
1812
+ readonly MK: "MK";
1813
+ readonly ML: "ML";
1814
+ readonly MM: "MM";
1815
+ readonly MN: "MN";
1816
+ readonly MO: "MO";
1817
+ readonly MP: "MP";
1818
+ readonly MQ: "MQ";
1819
+ readonly MR: "MR";
1820
+ readonly MS: "MS";
1821
+ readonly MT: "MT";
1822
+ readonly MU: "MU";
1823
+ readonly MV: "MV";
1824
+ readonly MW: "MW";
1825
+ readonly MX: "MX";
1826
+ readonly MY: "MY";
1827
+ readonly MZ: "MZ";
1828
+ readonly NA: "NA";
1829
+ readonly NC: "NC";
1830
+ readonly NE: "NE";
1831
+ readonly NF: "NF";
1832
+ readonly NG: "NG";
1833
+ readonly NI: "NI";
1834
+ readonly NL: "NL";
1835
+ readonly NO: "NO";
1836
+ readonly NP: "NP";
1837
+ readonly NR: "NR";
1838
+ readonly NU: "NU";
1839
+ readonly NZ: "NZ";
1840
+ readonly OM: "OM";
1841
+ readonly PA: "PA";
1842
+ readonly PE: "PE";
1843
+ readonly PF: "PF";
1844
+ readonly PG: "PG";
1845
+ readonly PH: "PH";
1846
+ readonly PK: "PK";
1847
+ readonly PL: "PL";
1848
+ readonly PM: "PM";
1849
+ readonly PN: "PN";
1850
+ readonly PR: "PR";
1851
+ readonly PS: "PS";
1852
+ readonly PT: "PT";
1853
+ readonly PW: "PW";
1854
+ readonly PY: "PY";
1855
+ readonly QA: "QA";
1856
+ readonly RE: "RE";
1857
+ readonly RO: "RO";
1858
+ readonly RS: "RS";
1859
+ readonly RU: "RU";
1860
+ readonly RW: "RW";
1861
+ readonly SA: "SA";
1862
+ readonly SB: "SB";
1863
+ readonly SC: "SC";
1864
+ readonly SD: "SD";
1865
+ readonly SE: "SE";
1866
+ readonly SG: "SG";
1867
+ readonly SH: "SH";
1868
+ readonly SI: "SI";
1869
+ readonly SJ: "SJ";
1870
+ readonly SK: "SK";
1871
+ readonly SL: "SL";
1872
+ readonly SM: "SM";
1873
+ readonly SN: "SN";
1874
+ readonly SO: "SO";
1875
+ readonly SR: "SR";
1876
+ readonly SS: "SS";
1877
+ readonly ST: "ST";
1878
+ readonly SV: "SV";
1879
+ readonly SX: "SX";
1880
+ readonly SY: "SY";
1881
+ readonly SZ: "SZ";
1882
+ readonly TC: "TC";
1883
+ readonly TD: "TD";
1884
+ readonly TF: "TF";
1885
+ readonly TG: "TG";
1886
+ readonly TH: "TH";
1887
+ readonly TJ: "TJ";
1888
+ readonly TK: "TK";
1889
+ readonly TL: "TL";
1890
+ readonly TM: "TM";
1891
+ readonly TN: "TN";
1892
+ readonly TO: "TO";
1893
+ readonly TR: "TR";
1894
+ readonly TT: "TT";
1895
+ readonly TV: "TV";
1896
+ readonly TW: "TW";
1897
+ readonly TZ: "TZ";
1898
+ readonly UA: "UA";
1899
+ readonly UG: "UG";
1900
+ readonly UM: "UM";
1901
+ readonly US: "US";
1902
+ readonly UY: "UY";
1903
+ readonly UZ: "UZ";
1904
+ readonly VA: "VA";
1905
+ readonly VC: "VC";
1906
+ readonly VE: "VE";
1907
+ readonly VG: "VG";
1908
+ readonly VI: "VI";
1909
+ readonly VN: "VN";
1910
+ readonly VU: "VU";
1911
+ readonly WF: "WF";
1912
+ readonly WS: "WS";
1913
+ readonly YE: "YE";
1914
+ readonly YT: "YT";
1915
+ readonly ZA: "ZA";
1916
+ readonly ZM: "ZM";
1917
+ readonly ZW: "ZW";
1918
+ };
1919
+ type CountryEnumKey = (typeof countryEnum)[keyof typeof countryEnum];
1920
+ type Country = CountryEnumKey;
1921
+
1922
+ /**
1923
+ * Generated by Kubb (https://kubb.dev/).
1924
+ * Do not edit manually.
1925
+ */
1926
+
1403
1927
  /**
1404
1928
  * DeliveryAddress
1405
1929
  */
@@ -1415,15 +1939,15 @@ type DeliveryAddress = {
1415
1939
  /**
1416
1940
  * @type string
1417
1941
  */
1418
- state: string;
1942
+ region?: string | null;
1419
1943
  /**
1420
1944
  * @type string
1421
1945
  */
1422
- postalCode: string;
1946
+ postcode: string;
1423
1947
  /**
1424
1948
  * @type string
1425
1949
  */
1426
- country: string;
1950
+ country: Country;
1427
1951
  };
1428
1952
 
1429
1953
  interface O3KClientConfig {
package/dist/client.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { a as paymentMethodSchema, f as fulfillmentTypeSchema, t as teamOrderStatusSchema, p as participantStatusSchema } from './deliveryAddressSchema-DZlkW-QX.mjs';
2
- export { d as O3KDeliveryAddressSchema } from './deliveryAddressSchema-DZlkW-QX.mjs';
1
+ import { a as paymentMethodSchema, f as fulfillmentTypeSchema, t as teamOrderStatusSchema, p as participantStatusSchema } from './deliveryAddressSchema-DQqwND91.mjs';
2
+ export { d as O3KDeliveryAddressSchema } from './deliveryAddressSchema-DQqwND91.mjs';
3
3
  import { createClient } from '@supabase/supabase-js';
4
4
  import 'zod/v4';
5
5