@getivy/node-sdk 0.1.0-alpha.30 → 0.1.0-alpha.32

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.
@@ -303,8 +303,8 @@ export interface CheckoutsessionCreateResponse {
303
303
  createdAt: string;
304
304
 
305
305
  /**
306
- * The customer facing id. This id is displayed to the user during the checkout and
307
- * in the merchant dashboard.
306
+ * @deprecated Currently only visible in the merchant dashboard. This id used to be
307
+ * displayed to the user during the checkout.
308
308
  */
309
309
  displayId: string;
310
310
 
@@ -357,7 +357,7 @@ export interface CheckoutsessionCreateResponse {
357
357
  appId?: string;
358
358
 
359
359
  /**
360
- * The billing address of the customer. Required when handshake=true.
360
+ * The billing address of the customer.
361
361
  */
362
362
  billingAddress?: CheckoutsessionCreateResponse.BillingAddress;
363
363
 
@@ -411,16 +411,9 @@ export interface CheckoutsessionCreateResponse {
411
411
  */
412
412
  handshake?: boolean;
413
413
 
414
- impactOffsetProjects?: Array<string>;
415
-
416
414
  /**
417
- * The incentive mode of the checkout session. For any use-case apart from
418
- * e-commerce, please use `white_label` as the value. If set to `white_label`, the
419
- * checkout session will be white labeled. If set to `sustainable`, the checkout
420
- * session will contain sustainable incentives for users.
415
+ * @deprecated
421
416
  */
422
- incentiveMode?: 'white_label' | 'sustainable';
423
-
424
417
  lineItems?: Array<CheckoutsessionCreateResponse.LineItem>;
425
418
 
426
419
  /**
@@ -428,7 +421,7 @@ export interface CheckoutsessionCreateResponse {
428
421
  * given language. Users can change the language in the Checkout. If not provided,
429
422
  * the language of the Checkout is determined by the browser's language.
430
423
  */
431
- locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'it' | 'pt' | 'sv' | 'pl' | 'sk';
424
+ locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'it' | 'pt' | 'sv' | 'pl' | 'sk' | 'lt';
432
425
 
433
426
  mandate?: CheckoutsessionCreateResponse.Mandate;
434
427
 
@@ -701,15 +694,8 @@ export interface CheckoutsessionCreateResponse {
701
694
  */
702
695
  metadata?: Record<string, unknown>;
703
696
 
704
- offsetProject?: string;
705
-
706
697
  paymentSchemeSelection?: string;
707
698
 
708
- /**
709
- * The shop-plugin version.
710
- */
711
- plugin?: string;
712
-
713
699
  /**
714
700
  * Prefill known data to skip steps in the checkout.
715
701
  */
@@ -727,12 +713,6 @@ export interface CheckoutsessionCreateResponse {
727
713
  */
728
714
  required?: CheckoutsessionCreateResponse.Required;
729
715
 
730
- selectedShippingMethodId?: string;
731
-
732
- shippingAddress?: CheckoutsessionCreateResponse.ShippingAddress;
733
-
734
- shippingMethods?: Array<CheckoutsessionCreateResponse.ShippingMethod>;
735
-
736
716
  /**
737
717
  * The logo of the shop provided as a URL.
738
718
  */
@@ -1052,7 +1032,7 @@ export namespace CheckoutsessionCreateResponse {
1052
1032
  }
1053
1033
 
1054
1034
  /**
1055
- * The billing address of the customer. Required when handshake=true.
1035
+ * The billing address of the customer.
1056
1036
  */
1057
1037
  export interface BillingAddress {
1058
1038
  city: string;
@@ -1330,9 +1310,6 @@ export namespace CheckoutsessionCreateResponse {
1330
1310
  id: string;
1331
1311
  }
1332
1312
 
1333
- /**
1334
- * The line items of the Checkout.
1335
- */
1336
1313
  export interface LineItem {
1337
1314
  /**
1338
1315
  * The total amount of all line items, i.e. single amount \* quantity. Given in
@@ -1419,628 +1396,16 @@ export namespace CheckoutsessionCreateResponse {
1419
1396
  */
1420
1397
  phone: boolean;
1421
1398
  }
1399
+ }
1422
1400
 
1423
- export interface ShippingAddress {
1424
- city: string;
1425
-
1426
- /**
1427
- * The country code in
1428
- * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
1429
- */
1430
- country:
1431
- | 'AF'
1432
- | 'AL'
1433
- | 'DZ'
1434
- | 'AS'
1435
- | 'AD'
1436
- | 'AO'
1437
- | 'AI'
1438
- | 'AQ'
1439
- | 'AG'
1440
- | 'AR'
1441
- | 'AM'
1442
- | 'AW'
1443
- | 'AU'
1444
- | 'AT'
1445
- | 'AZ'
1446
- | 'BS'
1447
- | 'BH'
1448
- | 'BD'
1449
- | 'BB'
1450
- | 'BY'
1451
- | 'BE'
1452
- | 'BZ'
1453
- | 'BJ'
1454
- | 'BM'
1455
- | 'BT'
1456
- | 'BO'
1457
- | 'BA'
1458
- | 'BW'
1459
- | 'BV'
1460
- | 'BR'
1461
- | 'IO'
1462
- | 'BN'
1463
- | 'BG'
1464
- | 'BF'
1465
- | 'BI'
1466
- | 'KH'
1467
- | 'CM'
1468
- | 'CA'
1469
- | 'CV'
1470
- | 'KY'
1471
- | 'CF'
1472
- | 'TD'
1473
- | 'CL'
1474
- | 'CN'
1475
- | 'CX'
1476
- | 'CC'
1477
- | 'CO'
1478
- | 'KM'
1479
- | 'CG'
1480
- | 'CD'
1481
- | 'CK'
1482
- | 'CR'
1483
- | 'CI'
1484
- | 'HR'
1485
- | 'CU'
1486
- | 'CY'
1487
- | 'CZ'
1488
- | 'DK'
1489
- | 'DJ'
1490
- | 'DM'
1491
- | 'DO'
1492
- | 'EC'
1493
- | 'EG'
1494
- | 'SV'
1495
- | 'GQ'
1496
- | 'ER'
1497
- | 'EE'
1498
- | 'ET'
1499
- | 'FK'
1500
- | 'FO'
1501
- | 'FJ'
1502
- | 'FI'
1503
- | 'FR'
1504
- | 'GF'
1505
- | 'PF'
1506
- | 'TF'
1507
- | 'GA'
1508
- | 'GM'
1509
- | 'GE'
1510
- | 'DE'
1511
- | 'GH'
1512
- | 'GI'
1513
- | 'GR'
1514
- | 'GL'
1515
- | 'GD'
1516
- | 'GP'
1517
- | 'GU'
1518
- | 'GT'
1519
- | 'GN'
1520
- | 'GW'
1521
- | 'GY'
1522
- | 'HT'
1523
- | 'HM'
1524
- | 'VA'
1525
- | 'HN'
1526
- | 'HK'
1527
- | 'HU'
1528
- | 'IS'
1529
- | 'IN'
1530
- | 'ID'
1531
- | 'IR'
1532
- | 'IQ'
1533
- | 'IE'
1534
- | 'IL'
1535
- | 'IT'
1536
- | 'JM'
1537
- | 'JP'
1538
- | 'JO'
1539
- | 'KZ'
1540
- | 'KE'
1541
- | 'KI'
1542
- | 'KP'
1543
- | 'KR'
1544
- | 'KW'
1545
- | 'KG'
1546
- | 'LA'
1547
- | 'LV'
1548
- | 'LB'
1549
- | 'LS'
1550
- | 'LR'
1551
- | 'LY'
1552
- | 'LI'
1553
- | 'LT'
1554
- | 'LU'
1555
- | 'MO'
1556
- | 'MG'
1557
- | 'MW'
1558
- | 'MY'
1559
- | 'MV'
1560
- | 'ML'
1561
- | 'MT'
1562
- | 'MH'
1563
- | 'MQ'
1564
- | 'MR'
1565
- | 'MU'
1566
- | 'YT'
1567
- | 'MX'
1568
- | 'FM'
1569
- | 'MD'
1570
- | 'MC'
1571
- | 'MN'
1572
- | 'MS'
1573
- | 'MA'
1574
- | 'MZ'
1575
- | 'MM'
1576
- | 'NA'
1577
- | 'NR'
1578
- | 'NP'
1579
- | 'NL'
1580
- | 'NC'
1581
- | 'NZ'
1582
- | 'NI'
1583
- | 'NE'
1584
- | 'NG'
1585
- | 'NU'
1586
- | 'NF'
1587
- | 'MP'
1588
- | 'MK'
1589
- | 'NO'
1590
- | 'OM'
1591
- | 'PK'
1592
- | 'PW'
1593
- | 'PS'
1594
- | 'PA'
1595
- | 'PG'
1596
- | 'PY'
1597
- | 'PE'
1598
- | 'PH'
1599
- | 'PN'
1600
- | 'PL'
1601
- | 'PT'
1602
- | 'PR'
1603
- | 'QA'
1604
- | 'RE'
1605
- | 'RO'
1606
- | 'RU'
1607
- | 'RW'
1608
- | 'SH'
1609
- | 'KN'
1610
- | 'LC'
1611
- | 'PM'
1612
- | 'VC'
1613
- | 'WS'
1614
- | 'SM'
1615
- | 'ST'
1616
- | 'SA'
1617
- | 'SN'
1618
- | 'SC'
1619
- | 'SL'
1620
- | 'SG'
1621
- | 'SK'
1622
- | 'SI'
1623
- | 'SB'
1624
- | 'SO'
1625
- | 'ZA'
1626
- | 'GS'
1627
- | 'ES'
1628
- | 'LK'
1629
- | 'SD'
1630
- | 'SR'
1631
- | 'SJ'
1632
- | 'SZ'
1633
- | 'SE'
1634
- | 'CH'
1635
- | 'SY'
1636
- | 'TW'
1637
- | 'TJ'
1638
- | 'TZ'
1639
- | 'TH'
1640
- | 'TL'
1641
- | 'TG'
1642
- | 'TK'
1643
- | 'TO'
1644
- | 'TT'
1645
- | 'TN'
1646
- | 'TR'
1647
- | 'TM'
1648
- | 'TC'
1649
- | 'TV'
1650
- | 'UG'
1651
- | 'UA'
1652
- | 'AE'
1653
- | 'GB'
1654
- | 'US'
1655
- | 'UM'
1656
- | 'UY'
1657
- | 'UZ'
1658
- | 'VU'
1659
- | 'VE'
1660
- | 'VN'
1661
- | 'VG'
1662
- | 'VI'
1663
- | 'WF'
1664
- | 'EH'
1665
- | 'YE'
1666
- | 'ZM'
1667
- | 'ZW'
1668
- | 'AX'
1669
- | 'BQ'
1670
- | 'CW'
1671
- | 'GG'
1672
- | 'IM'
1673
- | 'JE'
1674
- | 'ME'
1675
- | 'BL'
1676
- | 'MF'
1677
- | 'RS'
1678
- | 'SX'
1679
- | 'SS'
1680
- | 'XK';
1681
-
1682
- line1: string;
1683
-
1684
- zipCode: string;
1685
-
1686
- firstName?: string;
1687
-
1688
- lastName?: string;
1689
-
1690
- line2?: string;
1691
-
1692
- region?: string;
1693
- }
1401
+ export interface CheckoutsessionRetrieveResponse {
1402
+ /**
1403
+ * The unique identifier of the Checkout within Ivy.
1404
+ */
1405
+ id: string;
1694
1406
 
1695
1407
  /**
1696
- * The shipping methods of the Checkout.
1697
- */
1698
- export interface ShippingMethod {
1699
- /**
1700
- * The customer-facing name of the shipping method.
1701
- */
1702
- name: string;
1703
-
1704
- /**
1705
- * The price of the shipping method in decimals, i.e. 10.23 represents EUR 10.23.
1706
- */
1707
- price: number;
1708
-
1709
- /**
1710
- * The unique identifier of the shipping method within Ivy.
1711
- */
1712
- id?: string;
1713
-
1714
- /**
1715
- * The list of countries where the shipping method is available.
1716
- */
1717
- countries?: Array<
1718
- | 'AF'
1719
- | 'AL'
1720
- | 'DZ'
1721
- | 'AS'
1722
- | 'AD'
1723
- | 'AO'
1724
- | 'AI'
1725
- | 'AQ'
1726
- | 'AG'
1727
- | 'AR'
1728
- | 'AM'
1729
- | 'AW'
1730
- | 'AU'
1731
- | 'AT'
1732
- | 'AZ'
1733
- | 'BS'
1734
- | 'BH'
1735
- | 'BD'
1736
- | 'BB'
1737
- | 'BY'
1738
- | 'BE'
1739
- | 'BZ'
1740
- | 'BJ'
1741
- | 'BM'
1742
- | 'BT'
1743
- | 'BO'
1744
- | 'BA'
1745
- | 'BW'
1746
- | 'BV'
1747
- | 'BR'
1748
- | 'IO'
1749
- | 'BN'
1750
- | 'BG'
1751
- | 'BF'
1752
- | 'BI'
1753
- | 'KH'
1754
- | 'CM'
1755
- | 'CA'
1756
- | 'CV'
1757
- | 'KY'
1758
- | 'CF'
1759
- | 'TD'
1760
- | 'CL'
1761
- | 'CN'
1762
- | 'CX'
1763
- | 'CC'
1764
- | 'CO'
1765
- | 'KM'
1766
- | 'CG'
1767
- | 'CD'
1768
- | 'CK'
1769
- | 'CR'
1770
- | 'CI'
1771
- | 'HR'
1772
- | 'CU'
1773
- | 'CY'
1774
- | 'CZ'
1775
- | 'DK'
1776
- | 'DJ'
1777
- | 'DM'
1778
- | 'DO'
1779
- | 'EC'
1780
- | 'EG'
1781
- | 'SV'
1782
- | 'GQ'
1783
- | 'ER'
1784
- | 'EE'
1785
- | 'ET'
1786
- | 'FK'
1787
- | 'FO'
1788
- | 'FJ'
1789
- | 'FI'
1790
- | 'FR'
1791
- | 'GF'
1792
- | 'PF'
1793
- | 'TF'
1794
- | 'GA'
1795
- | 'GM'
1796
- | 'GE'
1797
- | 'DE'
1798
- | 'GH'
1799
- | 'GI'
1800
- | 'GR'
1801
- | 'GL'
1802
- | 'GD'
1803
- | 'GP'
1804
- | 'GU'
1805
- | 'GT'
1806
- | 'GN'
1807
- | 'GW'
1808
- | 'GY'
1809
- | 'HT'
1810
- | 'HM'
1811
- | 'VA'
1812
- | 'HN'
1813
- | 'HK'
1814
- | 'HU'
1815
- | 'IS'
1816
- | 'IN'
1817
- | 'ID'
1818
- | 'IR'
1819
- | 'IQ'
1820
- | 'IE'
1821
- | 'IL'
1822
- | 'IT'
1823
- | 'JM'
1824
- | 'JP'
1825
- | 'JO'
1826
- | 'KZ'
1827
- | 'KE'
1828
- | 'KI'
1829
- | 'KP'
1830
- | 'KR'
1831
- | 'KW'
1832
- | 'KG'
1833
- | 'LA'
1834
- | 'LV'
1835
- | 'LB'
1836
- | 'LS'
1837
- | 'LR'
1838
- | 'LY'
1839
- | 'LI'
1840
- | 'LT'
1841
- | 'LU'
1842
- | 'MO'
1843
- | 'MG'
1844
- | 'MW'
1845
- | 'MY'
1846
- | 'MV'
1847
- | 'ML'
1848
- | 'MT'
1849
- | 'MH'
1850
- | 'MQ'
1851
- | 'MR'
1852
- | 'MU'
1853
- | 'YT'
1854
- | 'MX'
1855
- | 'FM'
1856
- | 'MD'
1857
- | 'MC'
1858
- | 'MN'
1859
- | 'MS'
1860
- | 'MA'
1861
- | 'MZ'
1862
- | 'MM'
1863
- | 'NA'
1864
- | 'NR'
1865
- | 'NP'
1866
- | 'NL'
1867
- | 'NC'
1868
- | 'NZ'
1869
- | 'NI'
1870
- | 'NE'
1871
- | 'NG'
1872
- | 'NU'
1873
- | 'NF'
1874
- | 'MP'
1875
- | 'MK'
1876
- | 'NO'
1877
- | 'OM'
1878
- | 'PK'
1879
- | 'PW'
1880
- | 'PS'
1881
- | 'PA'
1882
- | 'PG'
1883
- | 'PY'
1884
- | 'PE'
1885
- | 'PH'
1886
- | 'PN'
1887
- | 'PL'
1888
- | 'PT'
1889
- | 'PR'
1890
- | 'QA'
1891
- | 'RE'
1892
- | 'RO'
1893
- | 'RU'
1894
- | 'RW'
1895
- | 'SH'
1896
- | 'KN'
1897
- | 'LC'
1898
- | 'PM'
1899
- | 'VC'
1900
- | 'WS'
1901
- | 'SM'
1902
- | 'ST'
1903
- | 'SA'
1904
- | 'SN'
1905
- | 'SC'
1906
- | 'SL'
1907
- | 'SG'
1908
- | 'SK'
1909
- | 'SI'
1910
- | 'SB'
1911
- | 'SO'
1912
- | 'ZA'
1913
- | 'GS'
1914
- | 'ES'
1915
- | 'LK'
1916
- | 'SD'
1917
- | 'SR'
1918
- | 'SJ'
1919
- | 'SZ'
1920
- | 'SE'
1921
- | 'CH'
1922
- | 'SY'
1923
- | 'TW'
1924
- | 'TJ'
1925
- | 'TZ'
1926
- | 'TH'
1927
- | 'TL'
1928
- | 'TG'
1929
- | 'TK'
1930
- | 'TO'
1931
- | 'TT'
1932
- | 'TN'
1933
- | 'TR'
1934
- | 'TM'
1935
- | 'TC'
1936
- | 'TV'
1937
- | 'UG'
1938
- | 'UA'
1939
- | 'AE'
1940
- | 'GB'
1941
- | 'US'
1942
- | 'UM'
1943
- | 'UY'
1944
- | 'UZ'
1945
- | 'VU'
1946
- | 'VE'
1947
- | 'VN'
1948
- | 'VG'
1949
- | 'VI'
1950
- | 'WF'
1951
- | 'EH'
1952
- | 'YE'
1953
- | 'ZM'
1954
- | 'ZW'
1955
- | 'AX'
1956
- | 'BQ'
1957
- | 'CW'
1958
- | 'GG'
1959
- | 'IM'
1960
- | 'JE'
1961
- | 'ME'
1962
- | 'BL'
1963
- | 'MF'
1964
- | 'RS'
1965
- | 'SX'
1966
- | 'SS'
1967
- | 'XK'
1968
- >;
1969
-
1970
- /**
1971
- * The delivery estimate of the shipping method.
1972
- */
1973
- deliveryEstimate?: ShippingMethod.DeliveryEstimate;
1974
-
1975
- /**
1976
- * The unique identifier within your system of the shipping method.
1977
- */
1978
- reference?: string;
1979
-
1980
- /**
1981
- * @deprecated Deprecated in favor of deliveryEstimate
1982
- */
1983
- timeFrame?: string;
1984
- }
1985
-
1986
- export namespace ShippingMethod {
1987
- /**
1988
- * The delivery estimate of the shipping method.
1989
- */
1990
- export interface DeliveryEstimate {
1991
- /**
1992
- * The maximum delivery time.
1993
- */
1994
- maximum?: DeliveryEstimate.Maximum;
1995
-
1996
- /**
1997
- * The minimum delivery time.
1998
- */
1999
- minimum?: DeliveryEstimate.Minimum;
2000
- }
2001
-
2002
- export namespace DeliveryEstimate {
2003
- /**
2004
- * The maximum delivery time.
2005
- */
2006
- export interface Maximum {
2007
- /**
2008
- * The unit of the time duration.
2009
- */
2010
- unit: 'hour' | 'day' | 'business_day' | 'week' | 'month';
2011
-
2012
- /**
2013
- * The value of the time duration.
2014
- */
2015
- value: number;
2016
- }
2017
-
2018
- /**
2019
- * The minimum delivery time.
2020
- */
2021
- export interface Minimum {
2022
- /**
2023
- * The unit of the time duration.
2024
- */
2025
- unit: 'hour' | 'day' | 'business_day' | 'week' | 'month';
2026
-
2027
- /**
2028
- * The value of the time duration.
2029
- */
2030
- value: number;
2031
- }
2032
- }
2033
- }
2034
- }
2035
-
2036
- export interface CheckoutsessionRetrieveResponse {
2037
- /**
2038
- * The unique identifier of the Checkout within Ivy.
2039
- */
2040
- id: string;
2041
-
2042
- /**
2043
- * The markets where the user of the Checkout can select banks from.
1408
+ * The markets where the user of the Checkout can select banks from.
2044
1409
  */
2045
1410
  availableMarkets: Array<
2046
1411
  | 'AF'
@@ -2298,8 +1663,8 @@ export interface CheckoutsessionRetrieveResponse {
2298
1663
  createdAt: string;
2299
1664
 
2300
1665
  /**
2301
- * The customer facing id. This id is displayed to the user during the checkout and
2302
- * in the merchant dashboard.
1666
+ * @deprecated Currently only visible in the merchant dashboard. This id used to be
1667
+ * displayed to the user during the checkout.
2303
1668
  */
2304
1669
  displayId: string;
2305
1670
 
@@ -2352,7 +1717,7 @@ export interface CheckoutsessionRetrieveResponse {
2352
1717
  appId?: string;
2353
1718
 
2354
1719
  /**
2355
- * The billing address of the customer. Required when handshake=true.
1720
+ * The billing address of the customer.
2356
1721
  */
2357
1722
  billingAddress?: CheckoutsessionRetrieveResponse.BillingAddress;
2358
1723
 
@@ -2406,16 +1771,9 @@ export interface CheckoutsessionRetrieveResponse {
2406
1771
  */
2407
1772
  handshake?: boolean;
2408
1773
 
2409
- impactOffsetProjects?: Array<string>;
2410
-
2411
1774
  /**
2412
- * The incentive mode of the checkout session. For any use-case apart from
2413
- * e-commerce, please use `white_label` as the value. If set to `white_label`, the
2414
- * checkout session will be white labeled. If set to `sustainable`, the checkout
2415
- * session will contain sustainable incentives for users.
1775
+ * @deprecated
2416
1776
  */
2417
- incentiveMode?: 'white_label' | 'sustainable';
2418
-
2419
1777
  lineItems?: Array<CheckoutsessionRetrieveResponse.LineItem>;
2420
1778
 
2421
1779
  /**
@@ -2423,7 +1781,7 @@ export interface CheckoutsessionRetrieveResponse {
2423
1781
  * given language. Users can change the language in the Checkout. If not provided,
2424
1782
  * the language of the Checkout is determined by the browser's language.
2425
1783
  */
2426
- locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'it' | 'pt' | 'sv' | 'pl' | 'sk';
1784
+ locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'it' | 'pt' | 'sv' | 'pl' | 'sk' | 'lt';
2427
1785
 
2428
1786
  mandate?: CheckoutsessionRetrieveResponse.Mandate;
2429
1787
 
@@ -2696,15 +2054,8 @@ export interface CheckoutsessionRetrieveResponse {
2696
2054
  */
2697
2055
  metadata?: Record<string, unknown>;
2698
2056
 
2699
- offsetProject?: string;
2700
-
2701
2057
  paymentSchemeSelection?: string;
2702
2058
 
2703
- /**
2704
- * The shop-plugin version.
2705
- */
2706
- plugin?: string;
2707
-
2708
2059
  /**
2709
2060
  * Prefill known data to skip steps in the checkout.
2710
2061
  */
@@ -2722,12 +2073,6 @@ export interface CheckoutsessionRetrieveResponse {
2722
2073
  */
2723
2074
  required?: CheckoutsessionRetrieveResponse.Required;
2724
2075
 
2725
- selectedShippingMethodId?: string;
2726
-
2727
- shippingAddress?: CheckoutsessionRetrieveResponse.ShippingAddress;
2728
-
2729
- shippingMethods?: Array<CheckoutsessionRetrieveResponse.ShippingMethod>;
2730
-
2731
2076
  /**
2732
2077
  * The logo of the shop provided as a URL.
2733
2078
  */
@@ -3047,7 +2392,7 @@ export namespace CheckoutsessionRetrieveResponse {
3047
2392
  }
3048
2393
 
3049
2394
  /**
3050
- * The billing address of the customer. Required when handshake=true.
2395
+ * The billing address of the customer.
3051
2396
  */
3052
2397
  export interface BillingAddress {
3053
2398
  city: string;
@@ -3325,9 +2670,6 @@ export namespace CheckoutsessionRetrieveResponse {
3325
2670
  id: string;
3326
2671
  }
3327
2672
 
3328
- /**
3329
- * The line items of the Checkout.
3330
- */
3331
2673
  export interface LineItem {
3332
2674
  /**
3333
2675
  * The total amount of all line items, i.e. single amount \* quantity. Given in
@@ -3414,628 +2756,16 @@ export namespace CheckoutsessionRetrieveResponse {
3414
2756
  */
3415
2757
  phone: boolean;
3416
2758
  }
2759
+ }
3417
2760
 
3418
- export interface ShippingAddress {
3419
- city: string;
3420
-
3421
- /**
3422
- * The country code in
3423
- * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
3424
- */
3425
- country:
3426
- | 'AF'
3427
- | 'AL'
3428
- | 'DZ'
3429
- | 'AS'
3430
- | 'AD'
3431
- | 'AO'
3432
- | 'AI'
3433
- | 'AQ'
3434
- | 'AG'
3435
- | 'AR'
3436
- | 'AM'
3437
- | 'AW'
3438
- | 'AU'
3439
- | 'AT'
3440
- | 'AZ'
3441
- | 'BS'
3442
- | 'BH'
3443
- | 'BD'
3444
- | 'BB'
3445
- | 'BY'
3446
- | 'BE'
3447
- | 'BZ'
3448
- | 'BJ'
3449
- | 'BM'
3450
- | 'BT'
3451
- | 'BO'
3452
- | 'BA'
3453
- | 'BW'
3454
- | 'BV'
3455
- | 'BR'
3456
- | 'IO'
3457
- | 'BN'
3458
- | 'BG'
3459
- | 'BF'
3460
- | 'BI'
3461
- | 'KH'
3462
- | 'CM'
3463
- | 'CA'
3464
- | 'CV'
3465
- | 'KY'
3466
- | 'CF'
3467
- | 'TD'
3468
- | 'CL'
3469
- | 'CN'
3470
- | 'CX'
3471
- | 'CC'
3472
- | 'CO'
3473
- | 'KM'
3474
- | 'CG'
3475
- | 'CD'
3476
- | 'CK'
3477
- | 'CR'
3478
- | 'CI'
3479
- | 'HR'
3480
- | 'CU'
3481
- | 'CY'
3482
- | 'CZ'
3483
- | 'DK'
3484
- | 'DJ'
3485
- | 'DM'
3486
- | 'DO'
3487
- | 'EC'
3488
- | 'EG'
3489
- | 'SV'
3490
- | 'GQ'
3491
- | 'ER'
3492
- | 'EE'
3493
- | 'ET'
3494
- | 'FK'
3495
- | 'FO'
3496
- | 'FJ'
3497
- | 'FI'
3498
- | 'FR'
3499
- | 'GF'
3500
- | 'PF'
3501
- | 'TF'
3502
- | 'GA'
3503
- | 'GM'
3504
- | 'GE'
3505
- | 'DE'
3506
- | 'GH'
3507
- | 'GI'
3508
- | 'GR'
3509
- | 'GL'
3510
- | 'GD'
3511
- | 'GP'
3512
- | 'GU'
3513
- | 'GT'
3514
- | 'GN'
3515
- | 'GW'
3516
- | 'GY'
3517
- | 'HT'
3518
- | 'HM'
3519
- | 'VA'
3520
- | 'HN'
3521
- | 'HK'
3522
- | 'HU'
3523
- | 'IS'
3524
- | 'IN'
3525
- | 'ID'
3526
- | 'IR'
3527
- | 'IQ'
3528
- | 'IE'
3529
- | 'IL'
3530
- | 'IT'
3531
- | 'JM'
3532
- | 'JP'
3533
- | 'JO'
3534
- | 'KZ'
3535
- | 'KE'
3536
- | 'KI'
3537
- | 'KP'
3538
- | 'KR'
3539
- | 'KW'
3540
- | 'KG'
3541
- | 'LA'
3542
- | 'LV'
3543
- | 'LB'
3544
- | 'LS'
3545
- | 'LR'
3546
- | 'LY'
3547
- | 'LI'
3548
- | 'LT'
3549
- | 'LU'
3550
- | 'MO'
3551
- | 'MG'
3552
- | 'MW'
3553
- | 'MY'
3554
- | 'MV'
3555
- | 'ML'
3556
- | 'MT'
3557
- | 'MH'
3558
- | 'MQ'
3559
- | 'MR'
3560
- | 'MU'
3561
- | 'YT'
3562
- | 'MX'
3563
- | 'FM'
3564
- | 'MD'
3565
- | 'MC'
3566
- | 'MN'
3567
- | 'MS'
3568
- | 'MA'
3569
- | 'MZ'
3570
- | 'MM'
3571
- | 'NA'
3572
- | 'NR'
3573
- | 'NP'
3574
- | 'NL'
3575
- | 'NC'
3576
- | 'NZ'
3577
- | 'NI'
3578
- | 'NE'
3579
- | 'NG'
3580
- | 'NU'
3581
- | 'NF'
3582
- | 'MP'
3583
- | 'MK'
3584
- | 'NO'
3585
- | 'OM'
3586
- | 'PK'
3587
- | 'PW'
3588
- | 'PS'
3589
- | 'PA'
3590
- | 'PG'
3591
- | 'PY'
3592
- | 'PE'
3593
- | 'PH'
3594
- | 'PN'
3595
- | 'PL'
3596
- | 'PT'
3597
- | 'PR'
3598
- | 'QA'
3599
- | 'RE'
3600
- | 'RO'
3601
- | 'RU'
3602
- | 'RW'
3603
- | 'SH'
3604
- | 'KN'
3605
- | 'LC'
3606
- | 'PM'
3607
- | 'VC'
3608
- | 'WS'
3609
- | 'SM'
3610
- | 'ST'
3611
- | 'SA'
3612
- | 'SN'
3613
- | 'SC'
3614
- | 'SL'
3615
- | 'SG'
3616
- | 'SK'
3617
- | 'SI'
3618
- | 'SB'
3619
- | 'SO'
3620
- | 'ZA'
3621
- | 'GS'
3622
- | 'ES'
3623
- | 'LK'
3624
- | 'SD'
3625
- | 'SR'
3626
- | 'SJ'
3627
- | 'SZ'
3628
- | 'SE'
3629
- | 'CH'
3630
- | 'SY'
3631
- | 'TW'
3632
- | 'TJ'
3633
- | 'TZ'
3634
- | 'TH'
3635
- | 'TL'
3636
- | 'TG'
3637
- | 'TK'
3638
- | 'TO'
3639
- | 'TT'
3640
- | 'TN'
3641
- | 'TR'
3642
- | 'TM'
3643
- | 'TC'
3644
- | 'TV'
3645
- | 'UG'
3646
- | 'UA'
3647
- | 'AE'
3648
- | 'GB'
3649
- | 'US'
3650
- | 'UM'
3651
- | 'UY'
3652
- | 'UZ'
3653
- | 'VU'
3654
- | 'VE'
3655
- | 'VN'
3656
- | 'VG'
3657
- | 'VI'
3658
- | 'WF'
3659
- | 'EH'
3660
- | 'YE'
3661
- | 'ZM'
3662
- | 'ZW'
3663
- | 'AX'
3664
- | 'BQ'
3665
- | 'CW'
3666
- | 'GG'
3667
- | 'IM'
3668
- | 'JE'
3669
- | 'ME'
3670
- | 'BL'
3671
- | 'MF'
3672
- | 'RS'
3673
- | 'SX'
3674
- | 'SS'
3675
- | 'XK';
3676
-
3677
- line1: string;
3678
-
3679
- zipCode: string;
3680
-
3681
- firstName?: string;
3682
-
3683
- lastName?: string;
3684
-
3685
- line2?: string;
3686
-
3687
- region?: string;
3688
- }
2761
+ export interface CheckoutsessionExpireResponse {
2762
+ /**
2763
+ * The unique identifier of the Checkout within Ivy.
2764
+ */
2765
+ id: string;
3689
2766
 
3690
2767
  /**
3691
- * The shipping methods of the Checkout.
3692
- */
3693
- export interface ShippingMethod {
3694
- /**
3695
- * The customer-facing name of the shipping method.
3696
- */
3697
- name: string;
3698
-
3699
- /**
3700
- * The price of the shipping method in decimals, i.e. 10.23 represents EUR 10.23.
3701
- */
3702
- price: number;
3703
-
3704
- /**
3705
- * The unique identifier of the shipping method within Ivy.
3706
- */
3707
- id?: string;
3708
-
3709
- /**
3710
- * The list of countries where the shipping method is available.
3711
- */
3712
- countries?: Array<
3713
- | 'AF'
3714
- | 'AL'
3715
- | 'DZ'
3716
- | 'AS'
3717
- | 'AD'
3718
- | 'AO'
3719
- | 'AI'
3720
- | 'AQ'
3721
- | 'AG'
3722
- | 'AR'
3723
- | 'AM'
3724
- | 'AW'
3725
- | 'AU'
3726
- | 'AT'
3727
- | 'AZ'
3728
- | 'BS'
3729
- | 'BH'
3730
- | 'BD'
3731
- | 'BB'
3732
- | 'BY'
3733
- | 'BE'
3734
- | 'BZ'
3735
- | 'BJ'
3736
- | 'BM'
3737
- | 'BT'
3738
- | 'BO'
3739
- | 'BA'
3740
- | 'BW'
3741
- | 'BV'
3742
- | 'BR'
3743
- | 'IO'
3744
- | 'BN'
3745
- | 'BG'
3746
- | 'BF'
3747
- | 'BI'
3748
- | 'KH'
3749
- | 'CM'
3750
- | 'CA'
3751
- | 'CV'
3752
- | 'KY'
3753
- | 'CF'
3754
- | 'TD'
3755
- | 'CL'
3756
- | 'CN'
3757
- | 'CX'
3758
- | 'CC'
3759
- | 'CO'
3760
- | 'KM'
3761
- | 'CG'
3762
- | 'CD'
3763
- | 'CK'
3764
- | 'CR'
3765
- | 'CI'
3766
- | 'HR'
3767
- | 'CU'
3768
- | 'CY'
3769
- | 'CZ'
3770
- | 'DK'
3771
- | 'DJ'
3772
- | 'DM'
3773
- | 'DO'
3774
- | 'EC'
3775
- | 'EG'
3776
- | 'SV'
3777
- | 'GQ'
3778
- | 'ER'
3779
- | 'EE'
3780
- | 'ET'
3781
- | 'FK'
3782
- | 'FO'
3783
- | 'FJ'
3784
- | 'FI'
3785
- | 'FR'
3786
- | 'GF'
3787
- | 'PF'
3788
- | 'TF'
3789
- | 'GA'
3790
- | 'GM'
3791
- | 'GE'
3792
- | 'DE'
3793
- | 'GH'
3794
- | 'GI'
3795
- | 'GR'
3796
- | 'GL'
3797
- | 'GD'
3798
- | 'GP'
3799
- | 'GU'
3800
- | 'GT'
3801
- | 'GN'
3802
- | 'GW'
3803
- | 'GY'
3804
- | 'HT'
3805
- | 'HM'
3806
- | 'VA'
3807
- | 'HN'
3808
- | 'HK'
3809
- | 'HU'
3810
- | 'IS'
3811
- | 'IN'
3812
- | 'ID'
3813
- | 'IR'
3814
- | 'IQ'
3815
- | 'IE'
3816
- | 'IL'
3817
- | 'IT'
3818
- | 'JM'
3819
- | 'JP'
3820
- | 'JO'
3821
- | 'KZ'
3822
- | 'KE'
3823
- | 'KI'
3824
- | 'KP'
3825
- | 'KR'
3826
- | 'KW'
3827
- | 'KG'
3828
- | 'LA'
3829
- | 'LV'
3830
- | 'LB'
3831
- | 'LS'
3832
- | 'LR'
3833
- | 'LY'
3834
- | 'LI'
3835
- | 'LT'
3836
- | 'LU'
3837
- | 'MO'
3838
- | 'MG'
3839
- | 'MW'
3840
- | 'MY'
3841
- | 'MV'
3842
- | 'ML'
3843
- | 'MT'
3844
- | 'MH'
3845
- | 'MQ'
3846
- | 'MR'
3847
- | 'MU'
3848
- | 'YT'
3849
- | 'MX'
3850
- | 'FM'
3851
- | 'MD'
3852
- | 'MC'
3853
- | 'MN'
3854
- | 'MS'
3855
- | 'MA'
3856
- | 'MZ'
3857
- | 'MM'
3858
- | 'NA'
3859
- | 'NR'
3860
- | 'NP'
3861
- | 'NL'
3862
- | 'NC'
3863
- | 'NZ'
3864
- | 'NI'
3865
- | 'NE'
3866
- | 'NG'
3867
- | 'NU'
3868
- | 'NF'
3869
- | 'MP'
3870
- | 'MK'
3871
- | 'NO'
3872
- | 'OM'
3873
- | 'PK'
3874
- | 'PW'
3875
- | 'PS'
3876
- | 'PA'
3877
- | 'PG'
3878
- | 'PY'
3879
- | 'PE'
3880
- | 'PH'
3881
- | 'PN'
3882
- | 'PL'
3883
- | 'PT'
3884
- | 'PR'
3885
- | 'QA'
3886
- | 'RE'
3887
- | 'RO'
3888
- | 'RU'
3889
- | 'RW'
3890
- | 'SH'
3891
- | 'KN'
3892
- | 'LC'
3893
- | 'PM'
3894
- | 'VC'
3895
- | 'WS'
3896
- | 'SM'
3897
- | 'ST'
3898
- | 'SA'
3899
- | 'SN'
3900
- | 'SC'
3901
- | 'SL'
3902
- | 'SG'
3903
- | 'SK'
3904
- | 'SI'
3905
- | 'SB'
3906
- | 'SO'
3907
- | 'ZA'
3908
- | 'GS'
3909
- | 'ES'
3910
- | 'LK'
3911
- | 'SD'
3912
- | 'SR'
3913
- | 'SJ'
3914
- | 'SZ'
3915
- | 'SE'
3916
- | 'CH'
3917
- | 'SY'
3918
- | 'TW'
3919
- | 'TJ'
3920
- | 'TZ'
3921
- | 'TH'
3922
- | 'TL'
3923
- | 'TG'
3924
- | 'TK'
3925
- | 'TO'
3926
- | 'TT'
3927
- | 'TN'
3928
- | 'TR'
3929
- | 'TM'
3930
- | 'TC'
3931
- | 'TV'
3932
- | 'UG'
3933
- | 'UA'
3934
- | 'AE'
3935
- | 'GB'
3936
- | 'US'
3937
- | 'UM'
3938
- | 'UY'
3939
- | 'UZ'
3940
- | 'VU'
3941
- | 'VE'
3942
- | 'VN'
3943
- | 'VG'
3944
- | 'VI'
3945
- | 'WF'
3946
- | 'EH'
3947
- | 'YE'
3948
- | 'ZM'
3949
- | 'ZW'
3950
- | 'AX'
3951
- | 'BQ'
3952
- | 'CW'
3953
- | 'GG'
3954
- | 'IM'
3955
- | 'JE'
3956
- | 'ME'
3957
- | 'BL'
3958
- | 'MF'
3959
- | 'RS'
3960
- | 'SX'
3961
- | 'SS'
3962
- | 'XK'
3963
- >;
3964
-
3965
- /**
3966
- * The delivery estimate of the shipping method.
3967
- */
3968
- deliveryEstimate?: ShippingMethod.DeliveryEstimate;
3969
-
3970
- /**
3971
- * The unique identifier within your system of the shipping method.
3972
- */
3973
- reference?: string;
3974
-
3975
- /**
3976
- * @deprecated Deprecated in favor of deliveryEstimate
3977
- */
3978
- timeFrame?: string;
3979
- }
3980
-
3981
- export namespace ShippingMethod {
3982
- /**
3983
- * The delivery estimate of the shipping method.
3984
- */
3985
- export interface DeliveryEstimate {
3986
- /**
3987
- * The maximum delivery time.
3988
- */
3989
- maximum?: DeliveryEstimate.Maximum;
3990
-
3991
- /**
3992
- * The minimum delivery time.
3993
- */
3994
- minimum?: DeliveryEstimate.Minimum;
3995
- }
3996
-
3997
- export namespace DeliveryEstimate {
3998
- /**
3999
- * The maximum delivery time.
4000
- */
4001
- export interface Maximum {
4002
- /**
4003
- * The unit of the time duration.
4004
- */
4005
- unit: 'hour' | 'day' | 'business_day' | 'week' | 'month';
4006
-
4007
- /**
4008
- * The value of the time duration.
4009
- */
4010
- value: number;
4011
- }
4012
-
4013
- /**
4014
- * The minimum delivery time.
4015
- */
4016
- export interface Minimum {
4017
- /**
4018
- * The unit of the time duration.
4019
- */
4020
- unit: 'hour' | 'day' | 'business_day' | 'week' | 'month';
4021
-
4022
- /**
4023
- * The value of the time duration.
4024
- */
4025
- value: number;
4026
- }
4027
- }
4028
- }
4029
- }
4030
-
4031
- export interface CheckoutsessionExpireResponse {
4032
- /**
4033
- * The unique identifier of the Checkout within Ivy.
4034
- */
4035
- id: string;
4036
-
4037
- /**
4038
- * The markets where the user of the Checkout can select banks from.
2768
+ * The markets where the user of the Checkout can select banks from.
4039
2769
  */
4040
2770
  availableMarkets: Array<
4041
2771
  | 'AF'
@@ -4293,8 +3023,8 @@ export interface CheckoutsessionExpireResponse {
4293
3023
  createdAt: string;
4294
3024
 
4295
3025
  /**
4296
- * The customer facing id. This id is displayed to the user during the checkout and
4297
- * in the merchant dashboard.
3026
+ * @deprecated Currently only visible in the merchant dashboard. This id used to be
3027
+ * displayed to the user during the checkout.
4298
3028
  */
4299
3029
  displayId: string;
4300
3030
 
@@ -4347,7 +3077,7 @@ export interface CheckoutsessionExpireResponse {
4347
3077
  appId?: string;
4348
3078
 
4349
3079
  /**
4350
- * The billing address of the customer. Required when handshake=true.
3080
+ * The billing address of the customer.
4351
3081
  */
4352
3082
  billingAddress?: CheckoutsessionExpireResponse.BillingAddress;
4353
3083
 
@@ -4401,16 +3131,9 @@ export interface CheckoutsessionExpireResponse {
4401
3131
  */
4402
3132
  handshake?: boolean;
4403
3133
 
4404
- impactOffsetProjects?: Array<string>;
4405
-
4406
3134
  /**
4407
- * The incentive mode of the checkout session. For any use-case apart from
4408
- * e-commerce, please use `white_label` as the value. If set to `white_label`, the
4409
- * checkout session will be white labeled. If set to `sustainable`, the checkout
4410
- * session will contain sustainable incentives for users.
3135
+ * @deprecated
4411
3136
  */
4412
- incentiveMode?: 'white_label' | 'sustainable';
4413
-
4414
3137
  lineItems?: Array<CheckoutsessionExpireResponse.LineItem>;
4415
3138
 
4416
3139
  /**
@@ -4418,7 +3141,7 @@ export interface CheckoutsessionExpireResponse {
4418
3141
  * given language. Users can change the language in the Checkout. If not provided,
4419
3142
  * the language of the Checkout is determined by the browser's language.
4420
3143
  */
4421
- locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'it' | 'pt' | 'sv' | 'pl' | 'sk';
3144
+ locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'it' | 'pt' | 'sv' | 'pl' | 'sk' | 'lt';
4422
3145
 
4423
3146
  mandate?: CheckoutsessionExpireResponse.Mandate;
4424
3147
 
@@ -4691,15 +3414,8 @@ export interface CheckoutsessionExpireResponse {
4691
3414
  */
4692
3415
  metadata?: Record<string, unknown>;
4693
3416
 
4694
- offsetProject?: string;
4695
-
4696
3417
  paymentSchemeSelection?: string;
4697
3418
 
4698
- /**
4699
- * The shop-plugin version.
4700
- */
4701
- plugin?: string;
4702
-
4703
3419
  /**
4704
3420
  * Prefill known data to skip steps in the checkout.
4705
3421
  */
@@ -4717,12 +3433,6 @@ export interface CheckoutsessionExpireResponse {
4717
3433
  */
4718
3434
  required?: CheckoutsessionExpireResponse.Required;
4719
3435
 
4720
- selectedShippingMethodId?: string;
4721
-
4722
- shippingAddress?: CheckoutsessionExpireResponse.ShippingAddress;
4723
-
4724
- shippingMethods?: Array<CheckoutsessionExpireResponse.ShippingMethod>;
4725
-
4726
3436
  /**
4727
3437
  * The logo of the shop provided as a URL.
4728
3438
  */
@@ -4902,809 +3612,156 @@ export namespace CheckoutsessionExpireResponse {
4902
3612
  | 'NR'
4903
3613
  | 'NP'
4904
3614
  | 'NL'
4905
- | 'NC'
4906
- | 'NZ'
4907
- | 'NI'
4908
- | 'NE'
4909
- | 'NG'
4910
- | 'NU'
4911
- | 'NF'
4912
- | 'MP'
4913
- | 'MK'
4914
- | 'NO'
4915
- | 'OM'
4916
- | 'PK'
4917
- | 'PW'
4918
- | 'PS'
4919
- | 'PA'
4920
- | 'PG'
4921
- | 'PY'
4922
- | 'PE'
4923
- | 'PH'
4924
- | 'PN'
4925
- | 'PL'
4926
- | 'PT'
4927
- | 'PR'
4928
- | 'QA'
4929
- | 'RE'
4930
- | 'RO'
4931
- | 'RU'
4932
- | 'RW'
4933
- | 'SH'
4934
- | 'KN'
4935
- | 'LC'
4936
- | 'PM'
4937
- | 'VC'
4938
- | 'WS'
4939
- | 'SM'
4940
- | 'ST'
4941
- | 'SA'
4942
- | 'SN'
4943
- | 'SC'
4944
- | 'SL'
4945
- | 'SG'
4946
- | 'SK'
4947
- | 'SI'
4948
- | 'SB'
4949
- | 'SO'
4950
- | 'ZA'
4951
- | 'GS'
4952
- | 'ES'
4953
- | 'LK'
4954
- | 'SD'
4955
- | 'SR'
4956
- | 'SJ'
4957
- | 'SZ'
4958
- | 'SE'
4959
- | 'CH'
4960
- | 'SY'
4961
- | 'TW'
4962
- | 'TJ'
4963
- | 'TZ'
4964
- | 'TH'
4965
- | 'TL'
4966
- | 'TG'
4967
- | 'TK'
4968
- | 'TO'
4969
- | 'TT'
4970
- | 'TN'
4971
- | 'TR'
4972
- | 'TM'
4973
- | 'TC'
4974
- | 'TV'
4975
- | 'UG'
4976
- | 'UA'
4977
- | 'AE'
4978
- | 'GB'
4979
- | 'US'
4980
- | 'UM'
4981
- | 'UY'
4982
- | 'UZ'
4983
- | 'VU'
4984
- | 'VE'
4985
- | 'VN'
4986
- | 'VG'
4987
- | 'VI'
4988
- | 'WF'
4989
- | 'EH'
4990
- | 'YE'
4991
- | 'ZM'
4992
- | 'ZW'
4993
- | 'AX'
4994
- | 'BQ'
4995
- | 'CW'
4996
- | 'GG'
4997
- | 'IM'
4998
- | 'JE'
4999
- | 'ME'
5000
- | 'BL'
5001
- | 'MF'
5002
- | 'RS'
5003
- | 'SX'
5004
- | 'SS'
5005
- | 'XK';
5006
-
5007
- line1: string;
5008
-
5009
- zipCode: string;
5010
-
5011
- firstName?: string;
5012
-
5013
- lastName?: string;
5014
-
5015
- line2?: string;
5016
-
5017
- region?: string;
5018
- }
5019
- }
5020
-
5021
- /**
5022
- * The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
5023
- * represents EUR 10.23. Any amount of decimal places can be provided on
5024
- * initialization, but the actual transfer amount is rounded to 2 decimal places,
5025
- * as this is the format accepted by most banks.
5026
- */
5027
- export interface Price {
5028
- currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
5029
-
5030
- /**
5031
- * The total amount to be paid.
5032
- */
5033
- total: number;
5034
-
5035
- shipping?: number;
5036
-
5037
- subTotal?: number;
5038
-
5039
- totalNet?: number;
5040
-
5041
- vat?: number;
5042
- }
5043
-
5044
- /**
5045
- * The billing address of the customer. Required when handshake=true.
5046
- */
5047
- export interface BillingAddress {
5048
- city: string;
5049
-
5050
- /**
5051
- * The country code in
5052
- * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
5053
- */
5054
- country:
5055
- | 'AF'
5056
- | 'AL'
5057
- | 'DZ'
5058
- | 'AS'
5059
- | 'AD'
5060
- | 'AO'
5061
- | 'AI'
5062
- | 'AQ'
5063
- | 'AG'
5064
- | 'AR'
5065
- | 'AM'
5066
- | 'AW'
5067
- | 'AU'
5068
- | 'AT'
5069
- | 'AZ'
5070
- | 'BS'
5071
- | 'BH'
5072
- | 'BD'
5073
- | 'BB'
5074
- | 'BY'
5075
- | 'BE'
5076
- | 'BZ'
5077
- | 'BJ'
5078
- | 'BM'
5079
- | 'BT'
5080
- | 'BO'
5081
- | 'BA'
5082
- | 'BW'
5083
- | 'BV'
5084
- | 'BR'
5085
- | 'IO'
5086
- | 'BN'
5087
- | 'BG'
5088
- | 'BF'
5089
- | 'BI'
5090
- | 'KH'
5091
- | 'CM'
5092
- | 'CA'
5093
- | 'CV'
5094
- | 'KY'
5095
- | 'CF'
5096
- | 'TD'
5097
- | 'CL'
5098
- | 'CN'
5099
- | 'CX'
5100
- | 'CC'
5101
- | 'CO'
5102
- | 'KM'
5103
- | 'CG'
5104
- | 'CD'
5105
- | 'CK'
5106
- | 'CR'
5107
- | 'CI'
5108
- | 'HR'
5109
- | 'CU'
5110
- | 'CY'
5111
- | 'CZ'
5112
- | 'DK'
5113
- | 'DJ'
5114
- | 'DM'
5115
- | 'DO'
5116
- | 'EC'
5117
- | 'EG'
5118
- | 'SV'
5119
- | 'GQ'
5120
- | 'ER'
5121
- | 'EE'
5122
- | 'ET'
5123
- | 'FK'
5124
- | 'FO'
5125
- | 'FJ'
5126
- | 'FI'
5127
- | 'FR'
5128
- | 'GF'
5129
- | 'PF'
5130
- | 'TF'
5131
- | 'GA'
5132
- | 'GM'
5133
- | 'GE'
5134
- | 'DE'
5135
- | 'GH'
5136
- | 'GI'
5137
- | 'GR'
5138
- | 'GL'
5139
- | 'GD'
5140
- | 'GP'
5141
- | 'GU'
5142
- | 'GT'
5143
- | 'GN'
5144
- | 'GW'
5145
- | 'GY'
5146
- | 'HT'
5147
- | 'HM'
5148
- | 'VA'
5149
- | 'HN'
5150
- | 'HK'
5151
- | 'HU'
5152
- | 'IS'
5153
- | 'IN'
5154
- | 'ID'
5155
- | 'IR'
5156
- | 'IQ'
5157
- | 'IE'
5158
- | 'IL'
5159
- | 'IT'
5160
- | 'JM'
5161
- | 'JP'
5162
- | 'JO'
5163
- | 'KZ'
5164
- | 'KE'
5165
- | 'KI'
5166
- | 'KP'
5167
- | 'KR'
5168
- | 'KW'
5169
- | 'KG'
5170
- | 'LA'
5171
- | 'LV'
5172
- | 'LB'
5173
- | 'LS'
5174
- | 'LR'
5175
- | 'LY'
5176
- | 'LI'
5177
- | 'LT'
5178
- | 'LU'
5179
- | 'MO'
5180
- | 'MG'
5181
- | 'MW'
5182
- | 'MY'
5183
- | 'MV'
5184
- | 'ML'
5185
- | 'MT'
5186
- | 'MH'
5187
- | 'MQ'
5188
- | 'MR'
5189
- | 'MU'
5190
- | 'YT'
5191
- | 'MX'
5192
- | 'FM'
5193
- | 'MD'
5194
- | 'MC'
5195
- | 'MN'
5196
- | 'MS'
5197
- | 'MA'
5198
- | 'MZ'
5199
- | 'MM'
5200
- | 'NA'
5201
- | 'NR'
5202
- | 'NP'
5203
- | 'NL'
5204
- | 'NC'
5205
- | 'NZ'
5206
- | 'NI'
5207
- | 'NE'
5208
- | 'NG'
5209
- | 'NU'
5210
- | 'NF'
5211
- | 'MP'
5212
- | 'MK'
5213
- | 'NO'
5214
- | 'OM'
5215
- | 'PK'
5216
- | 'PW'
5217
- | 'PS'
5218
- | 'PA'
5219
- | 'PG'
5220
- | 'PY'
5221
- | 'PE'
5222
- | 'PH'
5223
- | 'PN'
5224
- | 'PL'
5225
- | 'PT'
5226
- | 'PR'
5227
- | 'QA'
5228
- | 'RE'
5229
- | 'RO'
5230
- | 'RU'
5231
- | 'RW'
5232
- | 'SH'
5233
- | 'KN'
5234
- | 'LC'
5235
- | 'PM'
5236
- | 'VC'
5237
- | 'WS'
5238
- | 'SM'
5239
- | 'ST'
5240
- | 'SA'
5241
- | 'SN'
5242
- | 'SC'
5243
- | 'SL'
5244
- | 'SG'
5245
- | 'SK'
5246
- | 'SI'
5247
- | 'SB'
5248
- | 'SO'
5249
- | 'ZA'
5250
- | 'GS'
5251
- | 'ES'
5252
- | 'LK'
5253
- | 'SD'
5254
- | 'SR'
5255
- | 'SJ'
5256
- | 'SZ'
5257
- | 'SE'
5258
- | 'CH'
5259
- | 'SY'
5260
- | 'TW'
5261
- | 'TJ'
5262
- | 'TZ'
5263
- | 'TH'
5264
- | 'TL'
5265
- | 'TG'
5266
- | 'TK'
5267
- | 'TO'
5268
- | 'TT'
5269
- | 'TN'
5270
- | 'TR'
5271
- | 'TM'
5272
- | 'TC'
5273
- | 'TV'
5274
- | 'UG'
5275
- | 'UA'
5276
- | 'AE'
5277
- | 'GB'
5278
- | 'US'
5279
- | 'UM'
5280
- | 'UY'
5281
- | 'UZ'
5282
- | 'VU'
5283
- | 'VE'
5284
- | 'VN'
5285
- | 'VG'
5286
- | 'VI'
5287
- | 'WF'
5288
- | 'EH'
5289
- | 'YE'
5290
- | 'ZM'
5291
- | 'ZW'
5292
- | 'AX'
5293
- | 'BQ'
5294
- | 'CW'
5295
- | 'GG'
5296
- | 'IM'
5297
- | 'JE'
5298
- | 'ME'
5299
- | 'BL'
5300
- | 'MF'
5301
- | 'RS'
5302
- | 'SX'
5303
- | 'SS'
5304
- | 'XK';
5305
-
5306
- line1: string;
5307
-
5308
- zipCode: string;
5309
-
5310
- firstName?: string;
5311
-
5312
- lastName?: string;
5313
-
5314
- line2?: string;
5315
-
5316
- region?: string;
5317
- }
5318
-
5319
- export interface Customer {
5320
- id: string;
5321
- }
5322
-
5323
- /**
5324
- * The line items of the Checkout.
5325
- */
5326
- export interface LineItem {
5327
- /**
5328
- * The total amount of all line items, i.e. single amount \* quantity. Given in
5329
- * decimals, i.e. 10.23 represents EUR 10.23.
5330
- */
5331
- amount: number;
5332
-
5333
- /**
5334
- * The name of the line item.
5335
- */
5336
- name: string;
5337
-
5338
- /**
5339
- * The quantity of the line item.
5340
- */
5341
- quantity: number;
5342
-
5343
- /**
5344
- * The net amount of a single item.
5345
- */
5346
- singleNet: number;
5347
-
5348
- /**
5349
- * The VAT amount of a single item.
5350
- */
5351
- singleVat: number;
5352
-
5353
- /**
5354
- * The category as [MCC](https://en.wikipedia.org/wiki/Merchant_category_code) of
5355
- * the line item.
5356
- */
5357
- category?: string;
5358
-
5359
- /**
5360
- * The
5361
- * [EAN](https://en.wikipedia.org/wiki/International_Article_Number#:~:text=The%20International%20Article%20Number%20(also,configuration%2C%20from%20a%20specific%20manufacturer.)
5362
- * of the line item.
5363
- */
5364
- EAN?: string;
5365
-
5366
- /**
5367
- * The image of the line item as a URL.
5368
- */
5369
- image?: string;
5370
-
5371
- /**
5372
- * The internal unique identifier of the line item.
5373
- */
5374
- referenceId?: string;
5375
- }
5376
-
5377
- export interface Mandate {
5378
- setup: boolean;
5379
-
5380
- /**
5381
- * The name of the account holder who signs the mandate
5382
- */
5383
- accountHolderName?: string;
5384
-
5385
- referenceId?: string;
5386
-
5387
- userNotificationEmail?: string;
5388
- }
5389
-
5390
- /**
5391
- * Prefill known data to skip steps in the checkout.
5392
- */
5393
- export interface Prefill {
5394
- /**
5395
- * The known bank id. Customers will skip the bank selection and go directly to the
5396
- * bank's login. Required for financial address prefill.
5397
- */
5398
- bankId?: string;
5399
- }
5400
-
5401
- /**
5402
- * Only applicable for express Checkout Sessions. The given fields will be required
5403
- * input within the Ivy express Checkout.
5404
- */
5405
- export interface Required {
5406
- /**
5407
- * If set to true, the phone number will be required input within the Ivy express
5408
- * Checkout.
5409
- */
5410
- phone: boolean;
5411
- }
5412
-
5413
- export interface ShippingAddress {
5414
- city: string;
5415
-
5416
- /**
5417
- * The country code in
5418
- * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
5419
- */
5420
- country:
5421
- | 'AF'
5422
- | 'AL'
5423
- | 'DZ'
5424
- | 'AS'
5425
- | 'AD'
5426
- | 'AO'
5427
- | 'AI'
5428
- | 'AQ'
5429
- | 'AG'
5430
- | 'AR'
5431
- | 'AM'
5432
- | 'AW'
5433
- | 'AU'
5434
- | 'AT'
5435
- | 'AZ'
5436
- | 'BS'
5437
- | 'BH'
5438
- | 'BD'
5439
- | 'BB'
5440
- | 'BY'
5441
- | 'BE'
5442
- | 'BZ'
5443
- | 'BJ'
5444
- | 'BM'
5445
- | 'BT'
5446
- | 'BO'
5447
- | 'BA'
5448
- | 'BW'
5449
- | 'BV'
5450
- | 'BR'
5451
- | 'IO'
5452
- | 'BN'
5453
- | 'BG'
5454
- | 'BF'
5455
- | 'BI'
5456
- | 'KH'
5457
- | 'CM'
5458
- | 'CA'
5459
- | 'CV'
5460
- | 'KY'
5461
- | 'CF'
5462
- | 'TD'
5463
- | 'CL'
5464
- | 'CN'
5465
- | 'CX'
5466
- | 'CC'
5467
- | 'CO'
5468
- | 'KM'
5469
- | 'CG'
5470
- | 'CD'
5471
- | 'CK'
5472
- | 'CR'
5473
- | 'CI'
5474
- | 'HR'
5475
- | 'CU'
5476
- | 'CY'
5477
- | 'CZ'
5478
- | 'DK'
5479
- | 'DJ'
5480
- | 'DM'
5481
- | 'DO'
5482
- | 'EC'
5483
- | 'EG'
5484
- | 'SV'
5485
- | 'GQ'
5486
- | 'ER'
5487
- | 'EE'
5488
- | 'ET'
5489
- | 'FK'
5490
- | 'FO'
5491
- | 'FJ'
5492
- | 'FI'
5493
- | 'FR'
5494
- | 'GF'
5495
- | 'PF'
5496
- | 'TF'
5497
- | 'GA'
5498
- | 'GM'
5499
- | 'GE'
5500
- | 'DE'
5501
- | 'GH'
5502
- | 'GI'
5503
- | 'GR'
5504
- | 'GL'
5505
- | 'GD'
5506
- | 'GP'
5507
- | 'GU'
5508
- | 'GT'
5509
- | 'GN'
5510
- | 'GW'
5511
- | 'GY'
5512
- | 'HT'
5513
- | 'HM'
5514
- | 'VA'
5515
- | 'HN'
5516
- | 'HK'
5517
- | 'HU'
5518
- | 'IS'
5519
- | 'IN'
5520
- | 'ID'
5521
- | 'IR'
5522
- | 'IQ'
5523
- | 'IE'
5524
- | 'IL'
5525
- | 'IT'
5526
- | 'JM'
5527
- | 'JP'
5528
- | 'JO'
5529
- | 'KZ'
5530
- | 'KE'
5531
- | 'KI'
5532
- | 'KP'
5533
- | 'KR'
5534
- | 'KW'
5535
- | 'KG'
5536
- | 'LA'
5537
- | 'LV'
5538
- | 'LB'
5539
- | 'LS'
5540
- | 'LR'
5541
- | 'LY'
5542
- | 'LI'
5543
- | 'LT'
5544
- | 'LU'
5545
- | 'MO'
5546
- | 'MG'
5547
- | 'MW'
5548
- | 'MY'
5549
- | 'MV'
5550
- | 'ML'
5551
- | 'MT'
5552
- | 'MH'
5553
- | 'MQ'
5554
- | 'MR'
5555
- | 'MU'
5556
- | 'YT'
5557
- | 'MX'
5558
- | 'FM'
5559
- | 'MD'
5560
- | 'MC'
5561
- | 'MN'
5562
- | 'MS'
5563
- | 'MA'
5564
- | 'MZ'
5565
- | 'MM'
5566
- | 'NA'
5567
- | 'NR'
5568
- | 'NP'
5569
- | 'NL'
5570
- | 'NC'
5571
- | 'NZ'
5572
- | 'NI'
5573
- | 'NE'
5574
- | 'NG'
5575
- | 'NU'
5576
- | 'NF'
5577
- | 'MP'
5578
- | 'MK'
5579
- | 'NO'
5580
- | 'OM'
5581
- | 'PK'
5582
- | 'PW'
5583
- | 'PS'
5584
- | 'PA'
5585
- | 'PG'
5586
- | 'PY'
5587
- | 'PE'
5588
- | 'PH'
5589
- | 'PN'
5590
- | 'PL'
5591
- | 'PT'
5592
- | 'PR'
5593
- | 'QA'
5594
- | 'RE'
5595
- | 'RO'
5596
- | 'RU'
5597
- | 'RW'
5598
- | 'SH'
5599
- | 'KN'
5600
- | 'LC'
5601
- | 'PM'
5602
- | 'VC'
5603
- | 'WS'
5604
- | 'SM'
5605
- | 'ST'
5606
- | 'SA'
5607
- | 'SN'
5608
- | 'SC'
5609
- | 'SL'
5610
- | 'SG'
5611
- | 'SK'
5612
- | 'SI'
5613
- | 'SB'
5614
- | 'SO'
5615
- | 'ZA'
5616
- | 'GS'
5617
- | 'ES'
5618
- | 'LK'
5619
- | 'SD'
5620
- | 'SR'
5621
- | 'SJ'
5622
- | 'SZ'
5623
- | 'SE'
5624
- | 'CH'
5625
- | 'SY'
5626
- | 'TW'
5627
- | 'TJ'
5628
- | 'TZ'
5629
- | 'TH'
5630
- | 'TL'
5631
- | 'TG'
5632
- | 'TK'
5633
- | 'TO'
5634
- | 'TT'
5635
- | 'TN'
5636
- | 'TR'
5637
- | 'TM'
5638
- | 'TC'
5639
- | 'TV'
5640
- | 'UG'
5641
- | 'UA'
5642
- | 'AE'
5643
- | 'GB'
5644
- | 'US'
5645
- | 'UM'
5646
- | 'UY'
5647
- | 'UZ'
5648
- | 'VU'
5649
- | 'VE'
5650
- | 'VN'
5651
- | 'VG'
5652
- | 'VI'
5653
- | 'WF'
5654
- | 'EH'
5655
- | 'YE'
5656
- | 'ZM'
5657
- | 'ZW'
5658
- | 'AX'
5659
- | 'BQ'
5660
- | 'CW'
5661
- | 'GG'
5662
- | 'IM'
5663
- | 'JE'
5664
- | 'ME'
5665
- | 'BL'
5666
- | 'MF'
5667
- | 'RS'
5668
- | 'SX'
5669
- | 'SS'
5670
- | 'XK';
3615
+ | 'NC'
3616
+ | 'NZ'
3617
+ | 'NI'
3618
+ | 'NE'
3619
+ | 'NG'
3620
+ | 'NU'
3621
+ | 'NF'
3622
+ | 'MP'
3623
+ | 'MK'
3624
+ | 'NO'
3625
+ | 'OM'
3626
+ | 'PK'
3627
+ | 'PW'
3628
+ | 'PS'
3629
+ | 'PA'
3630
+ | 'PG'
3631
+ | 'PY'
3632
+ | 'PE'
3633
+ | 'PH'
3634
+ | 'PN'
3635
+ | 'PL'
3636
+ | 'PT'
3637
+ | 'PR'
3638
+ | 'QA'
3639
+ | 'RE'
3640
+ | 'RO'
3641
+ | 'RU'
3642
+ | 'RW'
3643
+ | 'SH'
3644
+ | 'KN'
3645
+ | 'LC'
3646
+ | 'PM'
3647
+ | 'VC'
3648
+ | 'WS'
3649
+ | 'SM'
3650
+ | 'ST'
3651
+ | 'SA'
3652
+ | 'SN'
3653
+ | 'SC'
3654
+ | 'SL'
3655
+ | 'SG'
3656
+ | 'SK'
3657
+ | 'SI'
3658
+ | 'SB'
3659
+ | 'SO'
3660
+ | 'ZA'
3661
+ | 'GS'
3662
+ | 'ES'
3663
+ | 'LK'
3664
+ | 'SD'
3665
+ | 'SR'
3666
+ | 'SJ'
3667
+ | 'SZ'
3668
+ | 'SE'
3669
+ | 'CH'
3670
+ | 'SY'
3671
+ | 'TW'
3672
+ | 'TJ'
3673
+ | 'TZ'
3674
+ | 'TH'
3675
+ | 'TL'
3676
+ | 'TG'
3677
+ | 'TK'
3678
+ | 'TO'
3679
+ | 'TT'
3680
+ | 'TN'
3681
+ | 'TR'
3682
+ | 'TM'
3683
+ | 'TC'
3684
+ | 'TV'
3685
+ | 'UG'
3686
+ | 'UA'
3687
+ | 'AE'
3688
+ | 'GB'
3689
+ | 'US'
3690
+ | 'UM'
3691
+ | 'UY'
3692
+ | 'UZ'
3693
+ | 'VU'
3694
+ | 'VE'
3695
+ | 'VN'
3696
+ | 'VG'
3697
+ | 'VI'
3698
+ | 'WF'
3699
+ | 'EH'
3700
+ | 'YE'
3701
+ | 'ZM'
3702
+ | 'ZW'
3703
+ | 'AX'
3704
+ | 'BQ'
3705
+ | 'CW'
3706
+ | 'GG'
3707
+ | 'IM'
3708
+ | 'JE'
3709
+ | 'ME'
3710
+ | 'BL'
3711
+ | 'MF'
3712
+ | 'RS'
3713
+ | 'SX'
3714
+ | 'SS'
3715
+ | 'XK';
5671
3716
 
5672
- line1: string;
3717
+ line1: string;
5673
3718
 
5674
- zipCode: string;
3719
+ zipCode: string;
5675
3720
 
5676
- firstName?: string;
3721
+ firstName?: string;
5677
3722
 
5678
- lastName?: string;
3723
+ lastName?: string;
5679
3724
 
5680
- line2?: string;
3725
+ line2?: string;
5681
3726
 
5682
- region?: string;
3727
+ region?: string;
3728
+ }
5683
3729
  }
5684
3730
 
5685
3731
  /**
5686
- * The shipping methods of the Checkout.
3732
+ * The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
3733
+ * represents EUR 10.23. Any amount of decimal places can be provided on
3734
+ * initialization, but the actual transfer amount is rounded to 2 decimal places,
3735
+ * as this is the format accepted by most banks.
5687
3736
  */
5688
- export interface ShippingMethod {
5689
- /**
5690
- * The customer-facing name of the shipping method.
5691
- */
5692
- name: string;
3737
+ export interface Price {
3738
+ currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
5693
3739
 
5694
3740
  /**
5695
- * The price of the shipping method in decimals, i.e. 10.23 represents EUR 10.23.
3741
+ * The total amount to be paid.
5696
3742
  */
5697
- price: number;
3743
+ total: number;
5698
3744
 
5699
- /**
5700
- * The unique identifier of the shipping method within Ivy.
5701
- */
5702
- id?: string;
3745
+ shipping?: number;
3746
+
3747
+ subTotal?: number;
3748
+
3749
+ totalNet?: number;
3750
+
3751
+ vat?: number;
3752
+ }
3753
+
3754
+ /**
3755
+ * The billing address of the customer.
3756
+ */
3757
+ export interface BillingAddress {
3758
+ city: string;
5703
3759
 
5704
3760
  /**
5705
- * The list of countries where the shipping method is available.
3761
+ * The country code in
3762
+ * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
5706
3763
  */
5707
- countries?: Array<
3764
+ country:
5708
3765
  | 'AF'
5709
3766
  | 'AL'
5710
3767
  | 'DZ'
@@ -5954,72 +4011,110 @@ export namespace CheckoutsessionExpireResponse {
5954
4011
  | 'RS'
5955
4012
  | 'SX'
5956
4013
  | 'SS'
5957
- | 'XK'
5958
- >;
4014
+ | 'XK';
4015
+
4016
+ line1: string;
4017
+
4018
+ zipCode: string;
4019
+
4020
+ firstName?: string;
4021
+
4022
+ lastName?: string;
4023
+
4024
+ line2?: string;
4025
+
4026
+ region?: string;
4027
+ }
4028
+
4029
+ export interface Customer {
4030
+ id: string;
4031
+ }
5959
4032
 
4033
+ export interface LineItem {
5960
4034
  /**
5961
- * The delivery estimate of the shipping method.
4035
+ * The total amount of all line items, i.e. single amount \* quantity. Given in
4036
+ * decimals, i.e. 10.23 represents EUR 10.23.
5962
4037
  */
5963
- deliveryEstimate?: ShippingMethod.DeliveryEstimate;
4038
+ amount: number;
5964
4039
 
5965
4040
  /**
5966
- * The unique identifier within your system of the shipping method.
4041
+ * The name of the line item.
5967
4042
  */
5968
- reference?: string;
4043
+ name: string;
5969
4044
 
5970
4045
  /**
5971
- * @deprecated Deprecated in favor of deliveryEstimate
4046
+ * The quantity of the line item.
5972
4047
  */
5973
- timeFrame?: string;
5974
- }
4048
+ quantity: number;
5975
4049
 
5976
- export namespace ShippingMethod {
5977
4050
  /**
5978
- * The delivery estimate of the shipping method.
4051
+ * The net amount of a single item.
5979
4052
  */
5980
- export interface DeliveryEstimate {
5981
- /**
5982
- * The maximum delivery time.
5983
- */
5984
- maximum?: DeliveryEstimate.Maximum;
4053
+ singleNet: number;
5985
4054
 
5986
- /**
5987
- * The minimum delivery time.
5988
- */
5989
- minimum?: DeliveryEstimate.Minimum;
5990
- }
4055
+ /**
4056
+ * The VAT amount of a single item.
4057
+ */
4058
+ singleVat: number;
5991
4059
 
5992
- export namespace DeliveryEstimate {
5993
- /**
5994
- * The maximum delivery time.
5995
- */
5996
- export interface Maximum {
5997
- /**
5998
- * The unit of the time duration.
5999
- */
6000
- unit: 'hour' | 'day' | 'business_day' | 'week' | 'month';
4060
+ /**
4061
+ * The category as [MCC](https://en.wikipedia.org/wiki/Merchant_category_code) of
4062
+ * the line item.
4063
+ */
4064
+ category?: string;
6001
4065
 
6002
- /**
6003
- * The value of the time duration.
6004
- */
6005
- value: number;
6006
- }
4066
+ /**
4067
+ * The
4068
+ * [EAN](https://en.wikipedia.org/wiki/International_Article_Number#:~:text=The%20International%20Article%20Number%20(also,configuration%2C%20from%20a%20specific%20manufacturer.)
4069
+ * of the line item.
4070
+ */
4071
+ EAN?: string;
6007
4072
 
6008
- /**
6009
- * The minimum delivery time.
6010
- */
6011
- export interface Minimum {
6012
- /**
6013
- * The unit of the time duration.
6014
- */
6015
- unit: 'hour' | 'day' | 'business_day' | 'week' | 'month';
4073
+ /**
4074
+ * The image of the line item as a URL.
4075
+ */
4076
+ image?: string;
6016
4077
 
6017
- /**
6018
- * The value of the time duration.
6019
- */
6020
- value: number;
6021
- }
6022
- }
4078
+ /**
4079
+ * The internal unique identifier of the line item.
4080
+ */
4081
+ referenceId?: string;
4082
+ }
4083
+
4084
+ export interface Mandate {
4085
+ setup: boolean;
4086
+
4087
+ /**
4088
+ * The name of the account holder who signs the mandate
4089
+ */
4090
+ accountHolderName?: string;
4091
+
4092
+ referenceId?: string;
4093
+
4094
+ userNotificationEmail?: string;
4095
+ }
4096
+
4097
+ /**
4098
+ * Prefill known data to skip steps in the checkout.
4099
+ */
4100
+ export interface Prefill {
4101
+ /**
4102
+ * The known bank id. Customers will skip the bank selection and go directly to the
4103
+ * bank's login. Required for financial address prefill.
4104
+ */
4105
+ bankId?: string;
4106
+ }
4107
+
4108
+ /**
4109
+ * Only applicable for express Checkout Sessions. The given fields will be required
4110
+ * input within the Ivy express Checkout.
4111
+ */
4112
+ export interface Required {
4113
+ /**
4114
+ * If set to true, the phone number will be required input within the Ivy express
4115
+ * Checkout.
4116
+ */
4117
+ phone: boolean;
6023
4118
  }
6024
4119
  }
6025
4120
 
@@ -6052,8 +4147,8 @@ export interface CheckoutsessionCreateParams {
6052
4147
  completeCallbackUrl?: string;
6053
4148
 
6054
4149
  /**
6055
- * The Epoch time in seconds at which the Checkout Session was created. By default,
6056
- * time of Checkout creation at Ivy.
4150
+ * @deprecated The Epoch time in seconds at which the Checkout Session was created.
4151
+ * By default, time of Checkout creation at Ivy.
6057
4152
  */
6058
4153
  created?: number;
6059
4154
 
@@ -6069,9 +4164,8 @@ export interface CheckoutsessionCreateParams {
6069
4164
  disableBankSelection?: boolean;
6070
4165
 
6071
4166
  /**
6072
- * The customer facing id. This id is displayed to the user during the checkout and
6073
- * in the merchant dashboard. It does not need to be unique and should be a
6074
- * customer-friendly id.
4167
+ * @deprecated Currently only visible in the merchant dashboard. This id used to be
4168
+ * displayed to the user during the checkout.
6075
4169
  */
6076
4170
  displayId?: string;
6077
4171
 
@@ -6083,8 +4177,8 @@ export interface CheckoutsessionCreateParams {
6083
4177
 
6084
4178
  /**
6085
4179
  * The Epoch time in seconds at which the Checkout Session will expire. It can be
6086
- * anywhere from 30 minutes to 24 hours after Checkout Session creation. By
6087
- * default, this value is 1 hour from creation.
4180
+ * anywhere from 5 minutes to 6 days after Checkout Session creation. By default,
4181
+ * this value is 1 hour from creation.
6088
4182
  */
6089
4183
  expiresAt?: number;
6090
4184
 
@@ -6104,7 +4198,7 @@ export interface CheckoutsessionCreateParams {
6104
4198
  * change the language in the checkout. If not provided, the language of the
6105
4199
  * checkout is determined by the browser's language.
6106
4200
  */
6107
- locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'it' | 'pt' | 'sv' | 'pl' | 'sk';
4201
+ locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'it' | 'pt' | 'sv' | 'pl' | 'sk' | 'lt';
6108
4202
 
6109
4203
  /**
6110
4204
  * The mandate setup for the payment. Relevant for