@revenexx/sdk 0.0.2 → 0.0.4

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/types/models.d.ts CHANGED
@@ -755,6 +755,51 @@ export declare namespace Models {
755
755
  */
756
756
  existing?: string[];
757
757
  };
758
+ /**
759
+ *
760
+ */
761
+ export type Comment = {
762
+ /**
763
+ *
764
+ */
765
+ author_id?: string | null;
766
+ /**
767
+ *
768
+ */
769
+ author_name?: string | null;
770
+ /**
771
+ *
772
+ */
773
+ block_uuids?: object;
774
+ /**
775
+ *
776
+ */
777
+ body?: string;
778
+ /**
779
+ *
780
+ */
781
+ created_at?: string;
782
+ /**
783
+ *
784
+ */
785
+ id?: string;
786
+ /**
787
+ *
788
+ */
789
+ page_id?: string;
790
+ /**
791
+ *
792
+ */
793
+ parent_id?: string | null;
794
+ /**
795
+ *
796
+ */
797
+ resolved?: boolean;
798
+ /**
799
+ *
800
+ */
801
+ updated_at?: string | null;
802
+ };
758
803
  /**
759
804
  *
760
805
  */
@@ -812,6 +857,125 @@ export declare namespace Models {
812
857
  */
813
858
  updated_at?: string;
814
859
  };
860
+ /**
861
+ * Published page resolved for one language: nested block tree with i18n fallback applied and scheduled blocks filtered.
862
+ */
863
+ export type DeliveryPage = {
864
+ /**
865
+ * Field name → ordered block list ({ uuid, bundle, props, options, children }).
866
+ */
867
+ fields?: object;
868
+ /**
869
+ *
870
+ */
871
+ page?: object;
872
+ };
873
+ /**
874
+ * The blökkli adapter state: page, translations, edit state + mutation log, materialized field lists, mutated options/entity values, text field values, droppable field values and violations.
875
+ */
876
+ export type EditorState = {
877
+ /**
878
+ *
879
+ */
880
+ currentUserIsOwner?: boolean;
881
+ /**
882
+ *
883
+ */
884
+ droppableFieldValues?: object[];
885
+ /**
886
+ *
887
+ */
888
+ editState?: object | null;
889
+ /**
890
+ *
891
+ */
892
+ fields?: object[];
893
+ /**
894
+ *
895
+ */
896
+ ignoredAnalyzeIdentifiers?: string[];
897
+ /**
898
+ *
899
+ */
900
+ langcode?: string;
901
+ /**
902
+ *
903
+ */
904
+ mutatedEntity?: object;
905
+ /**
906
+ *
907
+ */
908
+ mutatedHostOptions?: object;
909
+ /**
910
+ *
911
+ */
912
+ mutatedOptions?: object;
913
+ /**
914
+ *
915
+ */
916
+ mutations?: object[];
917
+ /**
918
+ *
919
+ */
920
+ page?: object;
921
+ /**
922
+ *
923
+ */
924
+ textFieldValues?: object[];
925
+ /**
926
+ *
927
+ */
928
+ translations?: object[];
929
+ /**
930
+ *
931
+ */
932
+ violations?: object[];
933
+ };
934
+ /**
935
+ *
936
+ */
937
+ export type EligiblePaymentMethod = {
938
+ /**
939
+ *
940
+ */
941
+ code?: string;
942
+ /**
943
+ *
944
+ */
945
+ currency?: string;
946
+ /**
947
+ *
948
+ */
949
+ description?: string | null;
950
+ /**
951
+ *
952
+ */
953
+ fee?: number;
954
+ /**
955
+ *
956
+ */
957
+ fee_type?: string;
958
+ /**
959
+ *
960
+ */
961
+ kind?: string;
962
+ /**
963
+ *
964
+ */
965
+ labels?: object | null;
966
+ /**
967
+ *
968
+ */
969
+ name?: string;
970
+ /**
971
+ *
972
+ */
973
+ position?: number;
974
+ /**
975
+ *
976
+ */
977
+ provider?: string | null;
978
+ };
815
979
  /**
816
980
  * Uniform gateway error response.
817
981
  */
@@ -1010,6 +1174,133 @@ export declare namespace Models {
1010
1174
  */
1011
1175
  updated_at?: string;
1012
1176
  };
1177
+ /**
1178
+ *
1179
+ */
1180
+ export type ItemAvailability = {
1181
+ /**
1182
+ *
1183
+ */
1184
+ available?: number;
1185
+ /**
1186
+ *
1187
+ */
1188
+ locations?: object[];
1189
+ /**
1190
+ *
1191
+ */
1192
+ on_hand?: number;
1193
+ /**
1194
+ *
1195
+ */
1196
+ orderable?: boolean;
1197
+ /**
1198
+ *
1199
+ */
1200
+ product_id?: string | null;
1201
+ /**
1202
+ *
1203
+ */
1204
+ requested?: number;
1205
+ /**
1206
+ *
1207
+ */
1208
+ reserved?: number;
1209
+ /**
1210
+ *
1211
+ */
1212
+ sku?: string | null;
1213
+ /**
1214
+ * false = unknown to inventory; the storefront decides whether untracked items sell freely.
1215
+ */
1216
+ tracked?: boolean;
1217
+ };
1218
+ /**
1219
+ *
1220
+ */
1221
+ export type LibraryItem = {
1222
+ /**
1223
+ *
1224
+ */
1225
+ bundle?: string;
1226
+ /**
1227
+ *
1228
+ */
1229
+ created_at?: string;
1230
+ /**
1231
+ *
1232
+ */
1233
+ created_by?: string | null;
1234
+ /**
1235
+ *
1236
+ */
1237
+ deleted_at?: string | null;
1238
+ /**
1239
+ *
1240
+ */
1241
+ id?: string;
1242
+ /**
1243
+ *
1244
+ */
1245
+ label?: string;
1246
+ /**
1247
+ *
1248
+ */
1249
+ tree?: object;
1250
+ /**
1251
+ *
1252
+ */
1253
+ updated_at?: string;
1254
+ };
1255
+ /**
1256
+ *
1257
+ */
1258
+ export type Location = {
1259
+ /**
1260
+ *
1261
+ */
1262
+ address?: object | null;
1263
+ /**
1264
+ *
1265
+ */
1266
+ code?: string;
1267
+ /**
1268
+ *
1269
+ */
1270
+ created_at?: string;
1271
+ /**
1272
+ *
1273
+ */
1274
+ enabled?: boolean;
1275
+ /**
1276
+ *
1277
+ */
1278
+ id?: string;
1279
+ /**
1280
+ *
1281
+ */
1282
+ labels?: object | null;
1283
+ /**
1284
+ *
1285
+ */
1286
+ metadata?: object | null;
1287
+ /**
1288
+ *
1289
+ */
1290
+ name?: string;
1291
+ /**
1292
+ *
1293
+ */
1294
+ priority?: number;
1295
+ /**
1296
+ *
1297
+ */
1298
+ type?: string;
1299
+ /**
1300
+ *
1301
+ */
1302
+ updated_at?: string;
1303
+ };
1013
1304
  /**
1014
1305
  *
1015
1306
  */
@@ -1190,52 +1481,1351 @@ export declare namespace Models {
1190
1481
  /**
1191
1482
  *
1192
1483
  */
1193
- export type Organization = {
1484
+ export type MutationRequest = {
1194
1485
  /**
1195
1486
  *
1196
1487
  */
1197
- created_at?: string;
1488
+ langcode?: string;
1198
1489
  /**
1199
1490
  *
1200
1491
  */
1201
- external_team_id?: string | null;
1492
+ payload?: object;
1202
1493
  /**
1203
- *
1494
+ * Mutation plugin id (add, move, delete, duplicate, update_field_value, ...).
1204
1495
  */
1205
- id?: string;
1496
+ plugin: string;
1497
+ };
1498
+ /**
1499
+ * blökkli MutationResponseLike: success flag plus the full re-materialized editor state.
1500
+ */
1501
+ export type MutationResponse = {
1206
1502
  /**
1207
- *
1503
+ * Full editor state (see pages.editor.state).
1208
1504
  */
1209
- name?: string;
1505
+ state?: object;
1210
1506
  /**
1211
1507
  *
1212
1508
  */
1213
- settings?: object | null;
1509
+ success?: boolean;
1214
1510
  /**
1215
1511
  *
1216
1512
  */
1217
- status?: string;
1513
+ violations?: object[];
1514
+ };
1515
+ /**
1516
+ *
1517
+ */
1518
+ export type NumberRange = {
1519
+ /**
1520
+ *
1521
+ */
1522
+ channel_id?: string | null;
1523
+ /**
1524
+ *
1525
+ */
1526
+ code?: string;
1527
+ /**
1528
+ *
1529
+ */
1530
+ counter?: number;
1531
+ /**
1532
+ *
1533
+ */
1534
+ created_at?: string;
1535
+ /**
1536
+ *
1537
+ */
1538
+ id?: string;
1539
+ /**
1540
+ *
1541
+ */
1542
+ metadata?: object | null;
1543
+ /**
1544
+ *
1545
+ */
1546
+ padding?: number;
1547
+ /**
1548
+ *
1549
+ */
1550
+ position_step?: number;
1551
+ /**
1552
+ *
1553
+ */
1554
+ prefix?: string;
1555
+ /**
1556
+ *
1557
+ */
1558
+ step?: number;
1559
+ /**
1560
+ *
1561
+ */
1562
+ suffix?: string;
1563
+ /**
1564
+ *
1565
+ */
1566
+ updated_at?: string;
1567
+ };
1568
+ /**
1569
+ *
1570
+ */
1571
+ export type Order = {
1572
+ /**
1573
+ *
1574
+ */
1575
+ acknowledged_at?: string | null;
1576
+ /**
1577
+ *
1578
+ */
1579
+ billing_address?: object | null;
1580
+ /**
1581
+ *
1582
+ */
1583
+ buyer?: object | null;
1584
+ /**
1585
+ *
1586
+ */
1587
+ cancelled_at?: string | null;
1588
+ /**
1589
+ *
1590
+ */
1591
+ cart_id?: string | null;
1592
+ /**
1593
+ *
1594
+ */
1595
+ channel_id?: string | null;
1596
+ /**
1597
+ *
1598
+ */
1599
+ completed_at?: string | null;
1600
+ /**
1601
+ *
1602
+ */
1603
+ contact_id?: string | null;
1604
+ /**
1605
+ *
1606
+ */
1607
+ created_at?: string;
1608
+ /**
1609
+ *
1610
+ */
1611
+ currency?: string;
1612
+ /**
1613
+ *
1614
+ */
1615
+ customer_order_number?: string | null;
1616
+ /**
1617
+ *
1618
+ */
1619
+ external_ref?: string | null;
1620
+ /**
1621
+ *
1622
+ */
1623
+ fulfillment_status?: string;
1624
+ /**
1625
+ *
1626
+ */
1627
+ grand_total?: number;
1628
+ /**
1629
+ *
1630
+ */
1631
+ hold_reason?: string | null;
1632
+ /**
1633
+ *
1634
+ */
1635
+ id?: string;
1636
+ /**
1637
+ *
1638
+ */
1639
+ item_count?: number;
1640
+ /**
1641
+ *
1642
+ */
1643
+ market_id?: string | null;
1644
+ /**
1645
+ *
1646
+ */
1647
+ metadata?: object | null;
1648
+ /**
1649
+ *
1650
+ */
1651
+ number?: string;
1652
+ /**
1653
+ *
1654
+ */
1655
+ on_hold?: boolean;
1656
+ /**
1657
+ *
1658
+ */
1659
+ organization_id?: string | null;
1660
+ /**
1661
+ *
1662
+ */
1663
+ payment?: object | null;
1664
+ /**
1665
+ *
1666
+ */
1667
+ payment_status?: string;
1668
+ /**
1669
+ *
1670
+ */
1671
+ placed_at?: string | null;
1672
+ /**
1673
+ *
1674
+ */
1675
+ shipping?: object | null;
1676
+ /**
1677
+ *
1678
+ */
1679
+ shipping_address?: object | null;
1680
+ /**
1681
+ *
1682
+ */
1683
+ shipping_total?: number;
1684
+ /**
1685
+ *
1686
+ */
1687
+ status?: string;
1688
+ /**
1689
+ *
1690
+ */
1691
+ subtotal?: number;
1692
+ /**
1693
+ *
1694
+ */
1695
+ tax_total?: number;
1696
+ /**
1697
+ *
1698
+ */
1699
+ updated_at?: string;
1700
+ /**
1701
+ *
1702
+ */
1703
+ user_data?: object | null;
1704
+ };
1705
+ /**
1706
+ *
1707
+ */
1708
+ export type OrderCancellation = {
1709
+ /**
1710
+ *
1711
+ */
1712
+ cancelled_by?: string | null;
1713
+ /**
1714
+ *
1715
+ */
1716
+ created_at?: string;
1717
+ /**
1718
+ *
1719
+ */
1720
+ id?: string;
1721
+ /**
1722
+ *
1723
+ */
1724
+ order_id?: string;
1725
+ /**
1726
+ *
1727
+ */
1728
+ positions?: object | null;
1729
+ /**
1730
+ *
1731
+ */
1732
+ reason?: string | null;
1733
+ /**
1734
+ *
1735
+ */
1736
+ scope?: string;
1737
+ };
1738
+ /**
1739
+ *
1740
+ */
1741
+ export type OrderComment = {
1742
+ /**
1743
+ *
1744
+ */
1745
+ author?: string | null;
1746
+ /**
1747
+ *
1748
+ */
1749
+ body?: string;
1750
+ /**
1751
+ *
1752
+ */
1753
+ created_at?: string;
1754
+ /**
1755
+ *
1756
+ */
1757
+ id?: string;
1758
+ /**
1759
+ *
1760
+ */
1761
+ order_id?: string;
1762
+ /**
1763
+ *
1764
+ */
1765
+ visibility?: string;
1766
+ };
1767
+ /**
1768
+ * The order aggregate: every column of the order plus its items, shipments (with positions), returns and cancellations.
1769
+ */
1770
+ export type OrderDetail = {
1771
+ /**
1772
+ *
1773
+ */
1774
+ acknowledged_at?: string | null;
1775
+ /**
1776
+ *
1777
+ */
1778
+ billing_address?: object | null;
1779
+ /**
1780
+ *
1781
+ */
1782
+ buyer?: object | null;
1783
+ /**
1784
+ *
1785
+ */
1786
+ cancellations?: OrderCancellation[];
1787
+ /**
1788
+ *
1789
+ */
1790
+ cancelled_at?: string | null;
1791
+ /**
1792
+ *
1793
+ */
1794
+ cart_id?: string | null;
1795
+ /**
1796
+ *
1797
+ */
1798
+ channel_id?: string | null;
1799
+ /**
1800
+ *
1801
+ */
1802
+ completed_at?: string | null;
1803
+ /**
1804
+ *
1805
+ */
1806
+ contact_id?: string | null;
1807
+ /**
1808
+ *
1809
+ */
1810
+ created_at?: string;
1811
+ /**
1812
+ *
1813
+ */
1814
+ currency?: string;
1815
+ /**
1816
+ *
1817
+ */
1818
+ customer_order_number?: string | null;
1819
+ /**
1820
+ *
1821
+ */
1822
+ external_ref?: string | null;
1823
+ /**
1824
+ *
1825
+ */
1826
+ fulfillment_status?: string;
1827
+ /**
1828
+ *
1829
+ */
1830
+ grand_total?: number;
1831
+ /**
1832
+ *
1833
+ */
1834
+ hold_reason?: string | null;
1835
+ /**
1836
+ *
1837
+ */
1838
+ id?: string;
1839
+ /**
1840
+ *
1841
+ */
1842
+ item_count?: number;
1843
+ /**
1844
+ *
1845
+ */
1846
+ items?: OrderItem[];
1847
+ /**
1848
+ *
1849
+ */
1850
+ market_id?: string | null;
1851
+ /**
1852
+ *
1853
+ */
1854
+ metadata?: object | null;
1855
+ /**
1856
+ *
1857
+ */
1858
+ number?: string;
1859
+ /**
1860
+ *
1861
+ */
1862
+ on_hold?: boolean;
1863
+ /**
1864
+ *
1865
+ */
1866
+ organization_id?: string | null;
1867
+ /**
1868
+ *
1869
+ */
1870
+ payment?: object | null;
1871
+ /**
1872
+ *
1873
+ */
1874
+ payment_status?: string;
1875
+ /**
1876
+ *
1877
+ */
1878
+ placed_at?: string | null;
1879
+ /**
1880
+ *
1881
+ */
1882
+ returns?: OrderReturn[];
1883
+ /**
1884
+ *
1885
+ */
1886
+ shipments?: OrderShipment[];
1887
+ /**
1888
+ *
1889
+ */
1890
+ shipping?: object | null;
1891
+ /**
1892
+ *
1893
+ */
1894
+ shipping_address?: object | null;
1895
+ /**
1896
+ *
1897
+ */
1898
+ shipping_total?: number;
1899
+ /**
1900
+ *
1901
+ */
1902
+ status?: string;
1903
+ /**
1904
+ *
1905
+ */
1906
+ subtotal?: number;
1907
+ /**
1908
+ *
1909
+ */
1910
+ tax_total?: number;
1911
+ /**
1912
+ *
1913
+ */
1914
+ updated_at?: string;
1915
+ /**
1916
+ *
1917
+ */
1918
+ user_data?: object | null;
1919
+ };
1920
+ /**
1921
+ *
1922
+ */
1923
+ export type OrderEvent = {
1924
+ /**
1925
+ *
1926
+ */
1927
+ actor?: string | null;
1928
+ /**
1929
+ *
1930
+ */
1931
+ created_at?: string;
1932
+ /**
1933
+ *
1934
+ */
1935
+ id?: string;
1936
+ /**
1937
+ *
1938
+ */
1939
+ name?: string;
1940
+ /**
1941
+ *
1942
+ */
1943
+ order_id?: string;
1944
+ /**
1945
+ *
1946
+ */
1947
+ payload?: object | null;
1948
+ };
1949
+ /**
1950
+ *
1951
+ */
1952
+ export type OrderItem = {
1953
+ /**
1954
+ *
1955
+ */
1956
+ configuration?: object | null;
1957
+ /**
1958
+ *
1959
+ */
1960
+ cost_center?: string | null;
1961
+ /**
1962
+ *
1963
+ */
1964
+ created_at?: string;
1965
+ /**
1966
+ *
1967
+ */
1968
+ id?: string;
1969
+ /**
1970
+ *
1971
+ */
1972
+ line_total?: number;
1973
+ /**
1974
+ *
1975
+ */
1976
+ metadata?: object | null;
1977
+ /**
1978
+ *
1979
+ */
1980
+ name?: string;
1981
+ /**
1982
+ *
1983
+ */
1984
+ order_id?: string;
1985
+ /**
1986
+ *
1987
+ */
1988
+ position?: number;
1989
+ /**
1990
+ *
1991
+ */
1992
+ position_text?: string | null;
1993
+ /**
1994
+ *
1995
+ */
1996
+ product?: object | null;
1997
+ /**
1998
+ *
1999
+ */
2000
+ product_id?: string | null;
2001
+ /**
2002
+ *
2003
+ */
2004
+ quantity?: number;
2005
+ /**
2006
+ *
2007
+ */
2008
+ quantity_cancelled?: number;
2009
+ /**
2010
+ *
2011
+ */
2012
+ quantity_returned?: number;
2013
+ /**
2014
+ *
2015
+ */
2016
+ quantity_shipped?: number;
2017
+ /**
2018
+ *
2019
+ */
2020
+ sku?: string | null;
2021
+ /**
2022
+ *
2023
+ */
2024
+ tax_amount?: number;
2025
+ /**
2026
+ *
2027
+ */
2028
+ tax_rate?: number;
2029
+ /**
2030
+ *
2031
+ */
2032
+ type?: string;
2033
+ /**
2034
+ *
2035
+ */
2036
+ unit?: string | null;
2037
+ /**
2038
+ *
2039
+ */
2040
+ unit_price?: number;
2041
+ /**
2042
+ *
2043
+ */
2044
+ updated_at?: string;
2045
+ /**
2046
+ *
2047
+ */
2048
+ user_data?: object | null;
2049
+ };
2050
+ /**
2051
+ *
2052
+ */
2053
+ export type OrderReturn = {
2054
+ /**
2055
+ *
2056
+ */
2057
+ completed_at?: string | null;
2058
+ /**
2059
+ *
2060
+ */
2061
+ created_at?: string;
2062
+ /**
2063
+ *
2064
+ */
2065
+ id?: string;
2066
+ /**
2067
+ *
2068
+ */
2069
+ metadata?: object | null;
2070
+ /**
2071
+ *
2072
+ */
2073
+ number?: string;
2074
+ /**
2075
+ *
2076
+ */
2077
+ order_id?: string;
2078
+ /**
2079
+ *
2080
+ */
2081
+ positions?: object;
2082
+ /**
2083
+ *
2084
+ */
2085
+ reason?: string | null;
2086
+ /**
2087
+ *
2088
+ */
2089
+ received_at?: string | null;
2090
+ /**
2091
+ *
2092
+ */
2093
+ registered_at?: string;
2094
+ /**
2095
+ *
2096
+ */
2097
+ rejected_at?: string | null;
2098
+ /**
2099
+ *
2100
+ */
2101
+ resolution?: string | null;
2102
+ /**
2103
+ *
2104
+ */
2105
+ status?: string;
2106
+ /**
2107
+ *
2108
+ */
2109
+ updated_at?: string;
2110
+ };
2111
+ /**
2112
+ *
2113
+ */
2114
+ export type OrderShipment = {
2115
+ /**
2116
+ *
2117
+ */
2118
+ carrier?: string | null;
2119
+ /**
2120
+ *
2121
+ */
2122
+ created_at?: string;
2123
+ /**
2124
+ *
2125
+ */
2126
+ id?: string;
2127
+ /**
2128
+ *
2129
+ */
2130
+ metadata?: object | null;
2131
+ /**
2132
+ *
2133
+ */
2134
+ number?: string;
2135
+ /**
2136
+ *
2137
+ */
2138
+ order_id?: string;
2139
+ /**
2140
+ *
2141
+ */
2142
+ shipped_at?: string;
2143
+ /**
2144
+ *
2145
+ */
2146
+ tracking_code?: string | null;
2147
+ /**
2148
+ *
2149
+ */
2150
+ tracking_url?: string | null;
2151
+ };
2152
+ /**
2153
+ *
2154
+ */
2155
+ export type Organization = {
2156
+ /**
2157
+ *
2158
+ */
2159
+ created_at?: string;
2160
+ /**
2161
+ *
2162
+ */
2163
+ external_team_id?: string | null;
2164
+ /**
2165
+ *
2166
+ */
2167
+ id?: string;
2168
+ /**
2169
+ *
2170
+ */
2171
+ name?: string;
2172
+ /**
2173
+ *
2174
+ */
2175
+ settings?: object | null;
2176
+ /**
2177
+ *
2178
+ */
2179
+ status?: string;
2180
+ /**
2181
+ *
2182
+ */
2183
+ updated_at?: string;
2184
+ /**
2185
+ *
2186
+ */
2187
+ vat_id?: string | null;
2188
+ };
2189
+ /**
2190
+ *
2191
+ */
2192
+ export type Page = {
2193
+ /**
2194
+ *
2195
+ */
2196
+ analyze_ignored?: object;
2197
+ /**
2198
+ *
2199
+ */
2200
+ bundle?: string;
2201
+ /**
2202
+ *
2203
+ */
2204
+ created_at?: string;
2205
+ /**
2206
+ *
2207
+ */
2208
+ created_by?: string | null;
2209
+ /**
2210
+ *
2211
+ */
2212
+ deleted_at?: string | null;
2213
+ /**
2214
+ *
2215
+ */
2216
+ host_options?: object;
2217
+ /**
2218
+ *
2219
+ */
2220
+ id?: string;
2221
+ /**
2222
+ *
2223
+ */
2224
+ meta?: object;
2225
+ /**
2226
+ *
2227
+ */
2228
+ published_revision_id?: string | null;
2229
+ /**
2230
+ *
2231
+ */
2232
+ slug?: string | null;
2233
+ /**
2234
+ *
2235
+ */
2236
+ source_language?: string;
2237
+ /**
2238
+ *
2239
+ */
2240
+ status?: string;
2241
+ /**
2242
+ *
2243
+ */
2244
+ title?: string;
2245
+ /**
2246
+ *
2247
+ */
2248
+ updated_at?: string;
2249
+ /**
2250
+ *
2251
+ */
2252
+ updated_by?: string | null;
2253
+ };
2254
+ /**
2255
+ *
2256
+ */
2257
+ export type PageCreateRequest = {
2258
+ /**
2259
+ *
2260
+ */
2261
+ bundle?: string;
2262
+ /**
2263
+ *
2264
+ */
2265
+ hostOptions?: object;
2266
+ /**
2267
+ *
2268
+ */
2269
+ meta?: object;
2270
+ /**
2271
+ *
2272
+ */
2273
+ slug?: string;
2274
+ /**
2275
+ *
2276
+ */
2277
+ sourceLanguage?: string;
2278
+ /**
2279
+ *
2280
+ */
2281
+ title: string;
2282
+ };
2283
+ /**
2284
+ *
2285
+ */
2286
+ export type Payment = {
2287
+ /**
2288
+ *
2289
+ */
2290
+ amount?: number;
2291
+ /**
2292
+ *
2293
+ */
2294
+ authorized_at?: string | null;
2295
+ /**
2296
+ *
2297
+ */
2298
+ captured_at?: string | null;
2299
+ /**
2300
+ *
2301
+ */
2302
+ cart_id?: string | null;
2303
+ /**
2304
+ *
2305
+ */
2306
+ contact_id?: string | null;
2307
+ /**
2308
+ *
2309
+ */
2310
+ created_at?: string;
2311
+ /**
2312
+ *
2313
+ */
2314
+ currency?: string;
2315
+ /**
2316
+ *
2317
+ */
2318
+ error_message?: string | null;
2319
+ /**
2320
+ *
2321
+ */
2322
+ failed_at?: string | null;
2323
+ /**
2324
+ *
2325
+ */
2326
+ fee_amount?: number;
2327
+ /**
2328
+ *
2329
+ */
2330
+ id?: string;
2331
+ /**
2332
+ *
2333
+ */
2334
+ idempotency_key?: string | null;
2335
+ /**
2336
+ *
2337
+ */
2338
+ kind?: string;
2339
+ /**
2340
+ *
2341
+ */
2342
+ metadata?: object | null;
2343
+ /**
2344
+ *
2345
+ */
2346
+ method_code?: string;
2347
+ /**
2348
+ *
2349
+ */
2350
+ next_action?: object | null;
2351
+ /**
2352
+ *
2353
+ */
2354
+ order_ref?: string | null;
2355
+ /**
2356
+ *
2357
+ */
2358
+ provider?: string | null;
2359
+ /**
2360
+ *
2361
+ */
2362
+ psp_payment_id?: string | null;
2363
+ /**
2364
+ *
2365
+ */
2366
+ refunded_at?: string | null;
2367
+ /**
2368
+ *
2369
+ */
2370
+ status?: string;
2371
+ /**
2372
+ *
2373
+ */
2374
+ updated_at?: string;
2375
+ };
2376
+ /**
2377
+ *
2378
+ */
2379
+ export type PaymentMethod = {
2380
+ /**
2381
+ *
2382
+ */
2383
+ code?: string;
2384
+ /**
2385
+ *
2386
+ */
2387
+ countries?: object | null;
2388
+ /**
2389
+ *
2390
+ */
2391
+ created_at?: string;
2392
+ /**
2393
+ *
2394
+ */
2395
+ description?: string | null;
2396
+ /**
2397
+ *
2398
+ */
2399
+ enabled?: boolean;
2400
+ /**
2401
+ *
2402
+ */
2403
+ fee_amount?: number;
2404
+ /**
2405
+ *
2406
+ */
2407
+ fee_currency?: string;
2408
+ /**
2409
+ *
2410
+ */
2411
+ fee_type?: string;
2412
+ /**
2413
+ *
2414
+ */
2415
+ id?: string;
2416
+ /**
2417
+ *
2418
+ */
2419
+ kind?: string;
2420
+ /**
2421
+ *
2422
+ */
2423
+ labels?: object | null;
2424
+ /**
2425
+ *
2426
+ */
2427
+ max_order_value?: number | null;
2428
+ /**
2429
+ *
2430
+ */
2431
+ metadata?: object | null;
2432
+ /**
2433
+ *
2434
+ */
2435
+ min_order_value?: number | null;
2436
+ /**
2437
+ *
2438
+ */
2439
+ name?: string;
2440
+ /**
2441
+ *
2442
+ */
2443
+ position?: number;
2444
+ /**
2445
+ *
2446
+ */
2447
+ provider?: string | null;
2448
+ /**
2449
+ *
2450
+ */
2451
+ provider_method?: string | null;
2452
+ /**
2453
+ *
2454
+ */
2455
+ updated_at?: string;
2456
+ };
2457
+ /**
2458
+ *
2459
+ */
2460
+ export type PaymentProvider = {
2461
+ /**
2462
+ *
2463
+ */
2464
+ created_at?: string;
2465
+ /**
2466
+ *
2467
+ */
2468
+ credentials?: object | null;
2469
+ /**
2470
+ *
2471
+ */
2472
+ enabled?: boolean;
2473
+ /**
2474
+ *
2475
+ */
2476
+ id?: string;
2477
+ /**
2478
+ *
2479
+ */
2480
+ name?: string;
2481
+ /**
2482
+ *
2483
+ */
2484
+ options?: object | null;
2485
+ /**
2486
+ *
2487
+ */
2488
+ provider?: string;
2489
+ /**
2490
+ *
2491
+ */
2492
+ test_mode?: boolean;
2493
+ /**
2494
+ *
2495
+ */
2496
+ updated_at?: string;
2497
+ /**
2498
+ *
2499
+ */
2500
+ webhook_secret?: string | null;
2501
+ };
2502
+ /**
2503
+ *
2504
+ */
2505
+ export type PriceEntry = {
2506
+ /**
2507
+ *
2508
+ */
2509
+ created_at?: string;
2510
+ /**
2511
+ *
2512
+ */
2513
+ id?: string;
2514
+ /**
2515
+ *
2516
+ */
2517
+ metadata?: object | null;
2518
+ /**
2519
+ *
2520
+ */
2521
+ price_list_id?: string;
2522
+ /**
2523
+ *
2524
+ */
2525
+ price_type?: string;
2526
+ /**
2527
+ *
2528
+ */
2529
+ product_id?: string | null;
2530
+ /**
2531
+ *
2532
+ */
2533
+ quantity_min?: number;
2534
+ /**
2535
+ *
2536
+ */
2537
+ sku?: string | null;
2538
+ /**
2539
+ *
2540
+ */
2541
+ unit?: string | null;
2542
+ /**
2543
+ *
2544
+ */
2545
+ unit_price?: number;
2546
+ /**
2547
+ *
2548
+ */
2549
+ updated_at?: string;
2550
+ /**
2551
+ *
2552
+ */
2553
+ valid_from?: string | null;
2554
+ /**
2555
+ *
2556
+ */
2557
+ valid_until?: string | null;
2558
+ };
2559
+ /**
2560
+ *
2561
+ */
2562
+ export type PriceList = {
2563
+ /**
2564
+ *
2565
+ */
2566
+ channel_id?: string | null;
2567
+ /**
2568
+ *
2569
+ */
2570
+ code?: string;
2571
+ /**
2572
+ *
2573
+ */
2574
+ contact_id?: string | null;
2575
+ /**
2576
+ *
2577
+ */
2578
+ created_at?: string;
2579
+ /**
2580
+ *
2581
+ */
2582
+ currency?: string;
2583
+ /**
2584
+ *
2585
+ */
2586
+ description?: string | null;
2587
+ /**
2588
+ *
2589
+ */
2590
+ id?: string;
2591
+ /**
2592
+ *
2593
+ */
2594
+ is_default?: boolean;
2595
+ /**
2596
+ *
2597
+ */
2598
+ labels?: object | null;
2599
+ /**
2600
+ *
2601
+ */
2602
+ market_id?: string | null;
2603
+ /**
2604
+ *
2605
+ */
2606
+ metadata?: object | null;
2607
+ /**
2608
+ *
2609
+ */
2610
+ name?: string;
2611
+ /**
2612
+ *
2613
+ */
2614
+ organization_id?: string | null;
2615
+ /**
2616
+ *
2617
+ */
2618
+ priority?: number;
2619
+ /**
2620
+ *
2621
+ */
2622
+ status?: string;
2623
+ /**
2624
+ *
2625
+ */
2626
+ tax_included?: boolean;
2627
+ /**
2628
+ *
2629
+ */
2630
+ updated_at?: string;
2631
+ /**
2632
+ *
2633
+ */
2634
+ valid_from?: string | null;
2635
+ /**
2636
+ *
2637
+ */
2638
+ valid_until?: string | null;
2639
+ };
2640
+ /**
2641
+ *
2642
+ */
2643
+ export type ProductAssociations = {
2644
+ /**
2645
+ *
2646
+ */
2647
+ association_type_id?: string;
2648
+ /**
2649
+ *
2650
+ */
2651
+ created_at?: string;
2652
+ /**
2653
+ *
2654
+ */
2655
+ id?: string;
2656
+ /**
2657
+ *
2658
+ */
2659
+ position?: number;
2660
+ /**
2661
+ *
2662
+ */
2663
+ product_id?: string;
2664
+ /**
2665
+ *
2666
+ */
2667
+ quantity?: number | null;
2668
+ /**
2669
+ *
2670
+ */
2671
+ target_product_id?: string;
2672
+ };
2673
+ /**
2674
+ *
2675
+ */
2676
+ export type ProductCategories = {
2677
+ /**
2678
+ *
2679
+ */
2680
+ category_id?: string;
2681
+ /**
2682
+ *
2683
+ */
2684
+ created_at?: string;
2685
+ /**
2686
+ *
2687
+ */
2688
+ id?: string;
2689
+ /**
2690
+ *
2691
+ */
2692
+ position?: number;
2693
+ /**
2694
+ *
2695
+ */
2696
+ product_id?: string;
2697
+ };
2698
+ /**
2699
+ *
2700
+ */
2701
+ export type Products = {
2702
+ /**
2703
+ *
2704
+ */
2705
+ attribute_values?: object;
2706
+ /**
2707
+ *
2708
+ */
2709
+ completeness?: object | null;
2710
+ /**
2711
+ *
2712
+ */
2713
+ created_at?: string;
2714
+ /**
2715
+ *
2716
+ */
2717
+ deleted_at?: string | null;
2718
+ /**
2719
+ *
2720
+ */
2721
+ enabled?: boolean;
2722
+ /**
2723
+ *
2724
+ */
2725
+ family_id?: string | null;
2726
+ /**
2727
+ *
2728
+ */
2729
+ family_variant_id?: string | null;
2730
+ /**
2731
+ *
2732
+ */
2733
+ id?: string;
2734
+ /**
2735
+ *
2736
+ */
2737
+ kind?: string;
2738
+ /**
2739
+ *
2740
+ */
2741
+ parent_id?: string | null;
2742
+ /**
2743
+ *
2744
+ */
2745
+ quantified_associations?: object | null;
2746
+ /**
2747
+ *
2748
+ */
2749
+ sku?: string;
2750
+ /**
2751
+ *
2752
+ */
2753
+ updated_at?: string;
2754
+ };
2755
+ /**
2756
+ *
2757
+ */
2758
+ export type ReferenceEntities = {
2759
+ /**
2760
+ *
2761
+ */
2762
+ code?: string;
2763
+ /**
2764
+ *
2765
+ */
2766
+ created_at?: string;
2767
+ /**
2768
+ *
2769
+ */
2770
+ id?: string;
2771
+ /**
2772
+ *
2773
+ */
2774
+ image?: string | null;
2775
+ /**
2776
+ *
2777
+ */
2778
+ labels?: object | null;
1218
2779
  /**
1219
2780
  *
1220
2781
  */
1221
2782
  updated_at?: string;
2783
+ };
2784
+ /**
2785
+ *
2786
+ */
2787
+ export type ReferenceEntityRecords = {
2788
+ /**
2789
+ *
2790
+ */
2791
+ attribute_values?: object;
2792
+ /**
2793
+ *
2794
+ */
2795
+ code?: string;
2796
+ /**
2797
+ *
2798
+ */
2799
+ created_at?: string;
1222
2800
  /**
1223
2801
  *
1224
2802
  */
1225
- vat_id?: string | null;
2803
+ id?: string;
2804
+ /**
2805
+ *
2806
+ */
2807
+ labels?: object | null;
2808
+ /**
2809
+ *
2810
+ */
2811
+ reference_entity_id?: string;
2812
+ /**
2813
+ *
2814
+ */
2815
+ updated_at?: string;
1226
2816
  };
1227
2817
  /**
1228
2818
  *
1229
2819
  */
1230
- export type ProductAssociations = {
2820
+ export type Reservation = {
1231
2821
  /**
1232
2822
  *
1233
2823
  */
1234
- association_type_id?: string;
2824
+ created_at?: string;
1235
2825
  /**
1236
2826
  *
1237
2827
  */
1238
- created_at?: string;
2828
+ expires_at?: string | null;
1239
2829
  /**
1240
2830
  *
1241
2831
  */
@@ -1243,57 +2833,106 @@ export declare namespace Models {
1243
2833
  /**
1244
2834
  *
1245
2835
  */
1246
- position?: number;
2836
+ location_id?: string;
1247
2837
  /**
1248
2838
  *
1249
2839
  */
1250
- product_id?: string;
2840
+ metadata?: object | null;
1251
2841
  /**
1252
2842
  *
1253
2843
  */
1254
- quantity?: number | null;
2844
+ order_ref?: string;
1255
2845
  /**
1256
2846
  *
1257
2847
  */
1258
- target_product_id?: string;
2848
+ product_id?: string | null;
2849
+ /**
2850
+ *
2851
+ */
2852
+ quantity?: number;
2853
+ /**
2854
+ *
2855
+ */
2856
+ sku?: string | null;
2857
+ /**
2858
+ *
2859
+ */
2860
+ status?: string;
2861
+ /**
2862
+ *
2863
+ */
2864
+ updated_at?: string;
1259
2865
  };
1260
2866
  /**
1261
2867
  *
1262
2868
  */
1263
- export type ProductCategories = {
2869
+ export type ResolvedPrice = {
1264
2870
  /**
1265
2871
  *
1266
2872
  */
1267
- category_id?: string;
2873
+ currency?: string | null;
1268
2874
  /**
1269
2875
  *
1270
2876
  */
1271
- created_at?: string;
2877
+ line_total?: number | null;
2878
+ /**
2879
+ * true = no price for this buyer context — show "price on request", never 0.
2880
+ */
2881
+ on_request?: boolean;
1272
2882
  /**
1273
2883
  *
1274
2884
  */
1275
- id?: string;
2885
+ price_list?: object | null;
1276
2886
  /**
1277
2887
  *
1278
2888
  */
1279
- position?: number;
2889
+ product_id?: string | null;
1280
2890
  /**
1281
2891
  *
1282
2892
  */
1283
- product_id?: string;
2893
+ quantity?: number;
2894
+ /**
2895
+ *
2896
+ */
2897
+ sku?: string | null;
2898
+ /**
2899
+ *
2900
+ */
2901
+ tax_included?: boolean | null;
2902
+ /**
2903
+ *
2904
+ */
2905
+ tiers?: object[];
2906
+ /**
2907
+ *
2908
+ */
2909
+ unit_price?: number | null;
1284
2910
  };
1285
2911
  /**
1286
2912
  *
1287
2913
  */
1288
- export type Products = {
2914
+ export type SeedRequest = {
1289
2915
  /**
1290
2916
  *
1291
2917
  */
1292
- attribute_values?: object;
2918
+ pages?: object[];
2919
+ };
2920
+ /**
2921
+ *
2922
+ */
2923
+ export type ShippingMethod = {
1293
2924
  /**
1294
2925
  *
1295
2926
  */
1296
- completeness?: object | null;
2927
+ carrier?: string | null;
2928
+ /**
2929
+ *
2930
+ */
2931
+ code?: string;
2932
+ /**
2933
+ *
2934
+ */
2935
+ countries?: object | null;
1297
2936
  /**
1298
2937
  *
1299
2938
  */
@@ -1301,7 +2940,11 @@ export declare namespace Models {
1301
2940
  /**
1302
2941
  *
1303
2942
  */
1304
- deleted_at?: string | null;
2943
+ currency?: string;
2944
+ /**
2945
+ *
2946
+ */
2947
+ description?: string | null;
1305
2948
  /**
1306
2949
  *
1307
2950
  */
@@ -1309,11 +2952,15 @@ export declare namespace Models {
1309
2952
  /**
1310
2953
  *
1311
2954
  */
1312
- family_id?: string | null;
2955
+ eta_days_max?: number | null;
1313
2956
  /**
1314
2957
  *
1315
2958
  */
1316
- family_variant_id?: string | null;
2959
+ eta_days_min?: number | null;
2960
+ /**
2961
+ *
2962
+ */
2963
+ free_above?: number | null;
1317
2964
  /**
1318
2965
  *
1319
2966
  */
@@ -1321,19 +2968,35 @@ export declare namespace Models {
1321
2968
  /**
1322
2969
  *
1323
2970
  */
1324
- kind?: string;
2971
+ labels?: object | null;
1325
2972
  /**
1326
2973
  *
1327
2974
  */
1328
- parent_id?: string | null;
2975
+ matrix_attribute?: string | null;
1329
2976
  /**
1330
2977
  *
1331
2978
  */
1332
- quantified_associations?: object | null;
2979
+ matrix_basis?: string | null;
1333
2980
  /**
1334
2981
  *
1335
2982
  */
1336
- sku?: string;
2983
+ metadata?: object | null;
2984
+ /**
2985
+ *
2986
+ */
2987
+ name?: string;
2988
+ /**
2989
+ *
2990
+ */
2991
+ position?: number;
2992
+ /**
2993
+ *
2994
+ */
2995
+ price?: number;
2996
+ /**
2997
+ *
2998
+ */
2999
+ pricing_type?: string;
1337
3000
  /**
1338
3001
  *
1339
3002
  */
@@ -1342,15 +3005,68 @@ export declare namespace Models {
1342
3005
  /**
1343
3006
  *
1344
3007
  */
1345
- export type ReferenceEntities = {
3008
+ export type ShippingRate = {
3009
+ /**
3010
+ *
3011
+ */
3012
+ carrier?: string | null;
1346
3013
  /**
1347
3014
  *
1348
3015
  */
1349
3016
  code?: string;
3017
+ /**
3018
+ *
3019
+ */
3020
+ currency?: string;
3021
+ /**
3022
+ *
3023
+ */
3024
+ description?: string | null;
3025
+ /**
3026
+ *
3027
+ */
3028
+ eta_days_max?: number | null;
3029
+ /**
3030
+ *
3031
+ */
3032
+ eta_days_min?: number | null;
3033
+ /**
3034
+ *
3035
+ */
3036
+ free_reason?: string;
3037
+ /**
3038
+ *
3039
+ */
3040
+ labels?: object | null;
3041
+ /**
3042
+ *
3043
+ */
3044
+ name?: string;
3045
+ /**
3046
+ *
3047
+ */
3048
+ position?: number;
3049
+ /**
3050
+ *
3051
+ */
3052
+ price?: number;
3053
+ /**
3054
+ *
3055
+ */
3056
+ pricing_type?: string;
3057
+ };
3058
+ /**
3059
+ *
3060
+ */
3061
+ export type ShippingRateTier = {
1350
3062
  /**
1351
3063
  *
1352
3064
  */
1353
3065
  created_at?: string;
3066
+ /**
3067
+ *
3068
+ */
3069
+ from_value?: number;
1354
3070
  /**
1355
3071
  *
1356
3072
  */
@@ -1358,11 +3074,15 @@ export declare namespace Models {
1358
3074
  /**
1359
3075
  *
1360
3076
  */
1361
- image?: string | null;
3077
+ method_id?: string;
1362
3078
  /**
1363
3079
  *
1364
3080
  */
1365
- labels?: object | null;
3081
+ position?: number;
3082
+ /**
3083
+ *
3084
+ */
3085
+ price?: number;
1366
3086
  /**
1367
3087
  *
1368
3088
  */
@@ -1371,15 +3091,52 @@ export declare namespace Models {
1371
3091
  /**
1372
3092
  *
1373
3093
  */
1374
- export type ReferenceEntityRecords = {
3094
+ export type StockLevel = {
1375
3095
  /**
1376
3096
  *
1377
3097
  */
1378
- attribute_values?: object;
3098
+ created_at?: string;
1379
3099
  /**
1380
3100
  *
1381
3101
  */
1382
- code?: string;
3102
+ id?: string;
3103
+ /**
3104
+ *
3105
+ */
3106
+ location_id?: string;
3107
+ /**
3108
+ *
3109
+ */
3110
+ metadata?: object | null;
3111
+ /**
3112
+ *
3113
+ */
3114
+ on_hand?: number;
3115
+ /**
3116
+ *
3117
+ */
3118
+ product_id?: string | null;
3119
+ /**
3120
+ *
3121
+ */
3122
+ reorder_point?: number | null;
3123
+ /**
3124
+ *
3125
+ */
3126
+ reserved?: number;
3127
+ /**
3128
+ *
3129
+ */
3130
+ sku?: string | null;
3131
+ /**
3132
+ *
3133
+ */
3134
+ updated_at?: string;
3135
+ };
3136
+ /**
3137
+ *
3138
+ */
3139
+ export type StockMovement = {
1383
3140
  /**
1384
3141
  *
1385
3142
  */
@@ -1391,11 +3148,76 @@ export declare namespace Models {
1391
3148
  /**
1392
3149
  *
1393
3150
  */
1394
- labels?: object | null;
3151
+ location_id?: string;
1395
3152
  /**
1396
3153
  *
1397
3154
  */
1398
- reference_entity_id?: string;
3155
+ metadata?: object | null;
3156
+ /**
3157
+ *
3158
+ */
3159
+ order_ref?: string | null;
3160
+ /**
3161
+ *
3162
+ */
3163
+ product_id?: string | null;
3164
+ /**
3165
+ *
3166
+ */
3167
+ quantity?: number;
3168
+ /**
3169
+ *
3170
+ */
3171
+ reason?: string | null;
3172
+ /**
3173
+ *
3174
+ */
3175
+ sku?: string | null;
3176
+ /**
3177
+ *
3178
+ */
3179
+ type?: string;
3180
+ };
3181
+ /**
3182
+ *
3183
+ */
3184
+ export type Template = {
3185
+ /**
3186
+ *
3187
+ */
3188
+ created_at?: string;
3189
+ /**
3190
+ *
3191
+ */
3192
+ created_by?: string | null;
3193
+ /**
3194
+ *
3195
+ */
3196
+ description?: string | null;
3197
+ /**
3198
+ *
3199
+ */
3200
+ field_name?: string | null;
3201
+ /**
3202
+ *
3203
+ */
3204
+ id?: string;
3205
+ /**
3206
+ *
3207
+ */
3208
+ is_default?: boolean;
3209
+ /**
3210
+ *
3211
+ */
3212
+ label?: string;
3213
+ /**
3214
+ *
3215
+ */
3216
+ page_bundle?: string | null;
3217
+ /**
3218
+ *
3219
+ */
3220
+ tree?: object;
1399
3221
  /**
1400
3222
  *
1401
3223
  */