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