@revenexx/sdk 0.0.5 → 0.0.6

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
@@ -13,6 +13,7 @@ import { LocationType } from "./enums/location-type";
13
13
  import { MarketStatus } from "./enums/market-status";
14
14
  import { OrderCommentVisibility } from "./enums/order-comment-visibility";
15
15
  import { OrderItemType } from "./enums/order-item-type";
16
+ import { OrderListKind } from "./enums/order-list-kind";
16
17
  import { OrderPaymentStatus } from "./enums/order-payment-status";
17
18
  import { OrganizationStatus } from "./enums/organization-status";
18
19
  import { PageStatus } from "./enums/page-status";
@@ -22,6 +23,7 @@ import { PriceEntryType } from "./enums/price-entry-type";
22
23
  import { PriceListStatus } from "./enums/price-list-status";
23
24
  import { ShippingMethodMatrixBasis } from "./enums/shipping-method-matrix-basis";
24
25
  import { ShippingMethodPricingType } from "./enums/shipping-method-pricing-type";
26
+ import { StoreAssetRequestVisibility } from "./enums/store-asset-request-visibility";
25
27
  import { AttributeBooleanStatus } from "./enums/attribute-boolean-status";
26
28
  import { AttributeDatetimeStatus } from "./enums/attribute-datetime-status";
27
29
  import { AttributeEmailStatus } from "./enums/attribute-email-status";
@@ -315,6 +317,115 @@ export declare namespace Models {
315
317
  */
316
318
  naming_convention?: object | null;
317
319
  };
320
+ /**
321
+ *
322
+ */
323
+ export type AssetResource = {
324
+ /**
325
+ *
326
+ */
327
+ alt_text: string | null;
328
+ /**
329
+ *
330
+ */
331
+ content_hash: string | null;
332
+ /**
333
+ *
334
+ */
335
+ created_at: string;
336
+ /**
337
+ *
338
+ */
339
+ deleted_at: string;
340
+ /**
341
+ *
342
+ */
343
+ description: string | null;
344
+ /**
345
+ *
346
+ */
347
+ display_name: string | null;
348
+ /**
349
+ *
350
+ */
351
+ dominant_color: string | null;
352
+ /**
353
+ *
354
+ */
355
+ duration_ms: number | null;
356
+ /**
357
+ *
358
+ */
359
+ folder_id: string | null;
360
+ /**
361
+ *
362
+ */
363
+ height: number | null;
364
+ /**
365
+ *
366
+ */
367
+ id: string;
368
+ /**
369
+ *
370
+ */
371
+ kind: string;
372
+ /**
373
+ *
374
+ */
375
+ metadata: any[];
376
+ /**
377
+ *
378
+ */
379
+ mime_type: string;
380
+ /**
381
+ *
382
+ */
383
+ original_name: string;
384
+ /**
385
+ *
386
+ */
387
+ page_count: number | null;
388
+ /**
389
+ *
390
+ */
391
+ path_name: string;
392
+ /**
393
+ *
394
+ */
395
+ processed_at: string;
396
+ /**
397
+ *
398
+ */
399
+ size_bytes: number;
400
+ /**
401
+ *
402
+ */
403
+ status: string;
404
+ /**
405
+ *
406
+ */
407
+ tags: any[];
408
+ /**
409
+ *
410
+ */
411
+ tenant_id: string;
412
+ /**
413
+ *
414
+ */
415
+ updated_at: string;
416
+ /**
417
+ *
418
+ */
419
+ url: string;
420
+ /**
421
+ *
422
+ */
423
+ visibility: string;
424
+ /**
425
+ *
426
+ */
427
+ width: number | null;
428
+ };
318
429
  /**
319
430
  *
320
431
  */
@@ -845,6 +956,10 @@ export declare namespace Models {
845
956
  *
846
957
  */
847
958
  export type AuthMeRequest = {
959
+ /**
960
+ * Optional session to verify — answers 401 when the session is expired or revoked.
961
+ */
962
+ session_id?: string | null;
848
963
  /**
849
964
  *
850
965
  */
@@ -904,23 +1019,23 @@ export declare namespace Models {
904
1019
  /**
905
1020
  *
906
1021
  */
907
- first_name?: string;
1022
+ first_name?: string | null;
908
1023
  /**
909
1024
  *
910
1025
  */
911
- last_name?: string;
1026
+ last_name?: string | null;
912
1027
  /**
913
1028
  * BCP 47, e.g. de-DE
914
1029
  */
915
- locale?: string;
1030
+ locale?: string | null;
916
1031
  /**
917
1032
  * Join an existing organization.
918
1033
  */
919
- organization_id?: string;
1034
+ organization_id?: string | null;
920
1035
  /**
921
1036
  * Found a new organization; the contact becomes its admin.
922
1037
  */
923
- organization_name?: string;
1038
+ organization_name?: string | null;
924
1039
  /**
925
1040
  *
926
1041
  */
@@ -1056,7 +1171,7 @@ export declare namespace Models {
1056
1171
  /**
1057
1172
  * Merge the session carts into this cart instead of adopting them.
1058
1173
  */
1059
- target_cart_id?: string;
1174
+ target_cart_id?: string | null;
1060
1175
  };
1061
1176
  /**
1062
1177
  * A cart needs an owner: 'contact_id' (customer) or 'session_key' (guest).
@@ -1065,35 +1180,35 @@ export declare namespace Models {
1065
1180
  /**
1066
1181
  *
1067
1182
  */
1068
- channel_id?: string;
1183
+ channel_id?: string | null;
1069
1184
  /**
1070
1185
  * Owning customer contact.
1071
1186
  */
1072
- contact_id?: string;
1187
+ contact_id?: string | null;
1073
1188
  /**
1074
1189
  * ISO 4217 code (default EUR).
1075
1190
  */
1076
- currency?: string;
1191
+ currency?: string | null;
1077
1192
  /**
1078
1193
  * Make this THE current cart of its owner.
1079
1194
  */
1080
- is_current?: boolean;
1195
+ is_current?: boolean | null;
1081
1196
  /**
1082
1197
  *
1083
1198
  */
1084
- market_id?: string;
1199
+ market_id?: string | null;
1085
1200
  /**
1086
1201
  * Free-form metadata.
1087
1202
  */
1088
- metadata?: object;
1203
+ metadata?: object | null;
1089
1204
  /**
1090
1205
  * Display name (default 'Cart').
1091
1206
  */
1092
- name?: string;
1207
+ name?: string | null;
1093
1208
  /**
1094
1209
  * Owning guest session.
1095
1210
  */
1096
- session_key?: string;
1211
+ session_key?: string | null;
1097
1212
  };
1098
1213
  /**
1099
1214
  *
@@ -1106,7 +1221,7 @@ export declare namespace Models {
1106
1221
  /**
1107
1222
  * Export profile to run; ad-hoc JSON/CSV export when omitted.
1108
1223
  */
1109
- profile_id?: string;
1224
+ profile_id?: string | null;
1110
1225
  };
1111
1226
  /**
1112
1227
  * Import into an existing cart ('target_cart_id') or a new cart (owner 'contact_id'/'session_key' required).
@@ -1115,7 +1230,7 @@ export declare namespace Models {
1115
1230
  /**
1116
1231
  * Owner of a newly created cart.
1117
1232
  */
1118
- contact_id?: string;
1233
+ contact_id?: string | null;
1119
1234
  /**
1120
1235
  * Raw CSV content (alternative to payload for csv profiles).
1121
1236
  */
@@ -1131,7 +1246,7 @@ export declare namespace Models {
1131
1246
  /**
1132
1247
  * Import profile to run; ad-hoc import when omitted.
1133
1248
  */
1134
- profile_id?: string;
1249
+ profile_id?: string | null;
1135
1250
  /**
1136
1251
  * Guest owner of a newly created cart.
1137
1252
  */
@@ -1139,7 +1254,7 @@ export declare namespace Models {
1139
1254
  /**
1140
1255
  * Existing active cart to import into.
1141
1256
  */
1142
- target_cart_id?: string;
1257
+ target_cart_id?: string | null;
1143
1258
  };
1144
1259
  /**
1145
1260
  *
@@ -1225,43 +1340,43 @@ export declare namespace Models {
1225
1340
  /**
1226
1341
  * Free-form configuration — configured lines never merge.
1227
1342
  */
1228
- configuration?: object;
1343
+ configuration?: object | null;
1229
1344
  /**
1230
1345
  * Defaults to the cart's currency.
1231
1346
  */
1232
- currency?: string;
1347
+ currency?: string | null;
1233
1348
  /**
1234
1349
  * Free-form metadata.
1235
1350
  */
1236
- metadata?: object;
1351
+ metadata?: object | null;
1237
1352
  /**
1238
1353
  * Falls back to 'sku' when omitted.
1239
1354
  */
1240
- name?: string;
1355
+ name?: string | null;
1241
1356
  /**
1242
1357
  *
1243
1358
  */
1244
- position?: number;
1359
+ position?: number | null;
1245
1360
  /**
1246
1361
  *
1247
1362
  */
1248
- product_id?: string;
1363
+ product_id?: string | null;
1249
1364
  /**
1250
1365
  * Default 1.
1251
1366
  */
1252
- quantity?: number;
1367
+ quantity?: number | null;
1253
1368
  /**
1254
1369
  *
1255
1370
  */
1256
- sku?: string;
1371
+ sku?: string | null;
1257
1372
  /**
1258
1373
  * Loose product snapshot at add-time (price, name, image, …).
1259
1374
  */
1260
- snapshot?: object;
1375
+ snapshot?: object | null;
1261
1376
  /**
1262
1377
  *
1263
1378
  */
1264
- tax_rate?: number;
1379
+ tax_rate?: number | null;
1265
1380
  /**
1266
1381
  * Line type (default 'product'). Plain product lines merge by product+price; configurations always stand alone.
1267
1382
  */
@@ -1269,11 +1384,11 @@ export declare namespace Models {
1269
1384
  /**
1270
1385
  *
1271
1386
  */
1272
- unit?: string;
1387
+ unit?: string | null;
1273
1388
  /**
1274
1389
  * Per-unit net price — line_total is always derived.
1275
1390
  */
1276
- unit_price?: number;
1391
+ unit_price?: number | null;
1277
1392
  };
1278
1393
  /**
1279
1394
  * Partial update — omitted fields keep their current value.
@@ -1282,43 +1397,43 @@ export declare namespace Models {
1282
1397
  /**
1283
1398
  * Free-form configuration — configured lines never merge.
1284
1399
  */
1285
- configuration?: object;
1400
+ configuration?: object | null;
1286
1401
  /**
1287
1402
  * Defaults to the cart's currency.
1288
1403
  */
1289
- currency?: string;
1404
+ currency?: string | null;
1290
1405
  /**
1291
1406
  * Free-form metadata.
1292
1407
  */
1293
- metadata?: object;
1408
+ metadata?: object | null;
1294
1409
  /**
1295
1410
  * Falls back to 'sku' when omitted.
1296
1411
  */
1297
- name?: string;
1412
+ name?: string | null;
1298
1413
  /**
1299
1414
  *
1300
1415
  */
1301
- position?: number;
1416
+ position?: number | null;
1302
1417
  /**
1303
1418
  *
1304
1419
  */
1305
- product_id?: string;
1420
+ product_id?: string | null;
1306
1421
  /**
1307
1422
  * Default 1.
1308
1423
  */
1309
- quantity?: number;
1424
+ quantity?: number | null;
1310
1425
  /**
1311
1426
  *
1312
1427
  */
1313
- sku?: string;
1428
+ sku?: string | null;
1314
1429
  /**
1315
1430
  * Loose product snapshot at add-time (price, name, image, …).
1316
1431
  */
1317
- snapshot?: object;
1432
+ snapshot?: object | null;
1318
1433
  /**
1319
1434
  *
1320
1435
  */
1321
- tax_rate?: number;
1436
+ tax_rate?: number | null;
1322
1437
  /**
1323
1438
  * Line type (default 'product'). Plain product lines merge by product+price; configurations always stand alone.
1324
1439
  */
@@ -1326,11 +1441,11 @@ export declare namespace Models {
1326
1441
  /**
1327
1442
  *
1328
1443
  */
1329
- unit?: string;
1444
+ unit?: string | null;
1330
1445
  /**
1331
1446
  * Per-unit net price — line_total is always derived.
1332
1447
  */
1333
- unit_price?: number;
1448
+ unit_price?: number | null;
1334
1449
  };
1335
1450
  /**
1336
1451
  *
@@ -1361,7 +1476,7 @@ export declare namespace Models {
1361
1476
  /**
1362
1477
  * External order reference from order management.
1363
1478
  */
1364
- order_ref?: string;
1479
+ order_ref?: string | null;
1365
1480
  };
1366
1481
  /**
1367
1482
  * Only safe columns are updatable — status moves through the lifecycle routes.
@@ -1370,23 +1485,23 @@ export declare namespace Models {
1370
1485
  /**
1371
1486
  *
1372
1487
  */
1373
- channel_id?: string;
1488
+ channel_id?: string | null;
1374
1489
  /**
1375
1490
  * ISO 4217 code.
1376
1491
  */
1377
- currency?: string;
1492
+ currency?: string | null;
1378
1493
  /**
1379
1494
  *
1380
1495
  */
1381
- market_id?: string;
1496
+ market_id?: string | null;
1382
1497
  /**
1383
1498
  * Free-form metadata.
1384
1499
  */
1385
- metadata?: object;
1500
+ metadata?: object | null;
1386
1501
  /**
1387
1502
  *
1388
1503
  */
1389
- name?: string;
1504
+ name?: string | null;
1390
1505
  };
1391
1506
  /**
1392
1507
  *
@@ -1547,7 +1662,7 @@ export declare namespace Models {
1547
1662
  /**
1548
1663
  * Localized display names keyed by locale.
1549
1664
  */
1550
- labels?: object;
1665
+ labels?: object | null;
1551
1666
  /**
1552
1667
  * Display name.
1553
1668
  */
@@ -1593,7 +1708,7 @@ export declare namespace Models {
1593
1708
  /**
1594
1709
  * Localized display names keyed by locale.
1595
1710
  */
1596
- labels?: object;
1711
+ labels?: object | null;
1597
1712
  /**
1598
1713
  * Display name.
1599
1714
  */
@@ -1880,7 +1995,7 @@ export declare namespace Models {
1880
1995
  /**
1881
1996
  *
1882
1997
  */
1883
- currency?: string;
1998
+ currency?: string | null;
1884
1999
  /**
1885
2000
  *
1886
2001
  */
@@ -2160,6 +2275,43 @@ export declare namespace Models {
2160
2275
  */
2161
2276
  labels?: object | null;
2162
2277
  };
2278
+ /**
2279
+ *
2280
+ */
2281
+ export type FolderResource = {
2282
+ /**
2283
+ *
2284
+ */
2285
+ created_at: string;
2286
+ /**
2287
+ *
2288
+ */
2289
+ id: string;
2290
+ /**
2291
+ *
2292
+ */
2293
+ is_system: boolean;
2294
+ /**
2295
+ *
2296
+ */
2297
+ name: string;
2298
+ /**
2299
+ *
2300
+ */
2301
+ parent_id: string | null;
2302
+ /**
2303
+ *
2304
+ */
2305
+ path: string;
2306
+ /**
2307
+ *
2308
+ */
2309
+ tenant_id: string;
2310
+ /**
2311
+ *
2312
+ */
2313
+ updated_at: string;
2314
+ };
2163
2315
  /**
2164
2316
  *
2165
2317
  */
@@ -2204,7 +2356,7 @@ export declare namespace Models {
2204
2356
  /**
2205
2357
  *
2206
2358
  */
2207
- product_id?: string;
2359
+ product_id?: string | null;
2208
2360
  /**
2209
2361
  * Signed delta (±on_hand) — must be non-zero.
2210
2362
  */
@@ -2212,7 +2364,7 @@ export declare namespace Models {
2212
2364
  /**
2213
2365
  *
2214
2366
  */
2215
- sku?: string;
2367
+ sku?: string | null;
2216
2368
  };
2217
2369
  /**
2218
2370
  *
@@ -2225,7 +2377,7 @@ export declare namespace Models {
2225
2377
  /**
2226
2378
  * Adjusted location (default 'main').
2227
2379
  */
2228
- location_code?: string;
2380
+ location_code?: string | null;
2229
2381
  /**
2230
2382
  * Mandatory audit reason — every adjustment is a ledger row.
2231
2383
  */
@@ -2238,15 +2390,15 @@ export declare namespace Models {
2238
2390
  /**
2239
2391
  *
2240
2392
  */
2241
- product_id?: string;
2393
+ product_id?: string | null;
2242
2394
  /**
2243
2395
  * Requested quantity for the orderable check (default 1).
2244
2396
  */
2245
- quantity?: number;
2397
+ quantity?: number | null;
2246
2398
  /**
2247
2399
  *
2248
2400
  */
2249
- sku?: string;
2401
+ sku?: string | null;
2250
2402
  };
2251
2403
  /**
2252
2404
  *
@@ -2259,7 +2411,7 @@ export declare namespace Models {
2259
2411
  /**
2260
2412
  * Restrict the check to one location (default: all enabled locations).
2261
2413
  */
2262
- location_code?: string;
2414
+ location_code?: string | null;
2263
2415
  };
2264
2416
  /**
2265
2417
  *
@@ -2281,11 +2433,11 @@ export declare namespace Models {
2281
2433
  /**
2282
2434
  * Receiving location (default 'main').
2283
2435
  */
2284
- location_code?: string;
2436
+ location_code?: string | null;
2285
2437
  /**
2286
2438
  * Ledger note (e.g. delivery note number).
2287
2439
  */
2288
- reason?: string;
2440
+ reason?: string | null;
2289
2441
  };
2290
2442
  /**
2291
2443
  *
@@ -2303,7 +2455,7 @@ export declare namespace Models {
2303
2455
  /**
2304
2456
  * Optional reservation expiry.
2305
2457
  */
2306
- expires_at?: string;
2458
+ expires_at?: string | null;
2307
2459
  /**
2308
2460
  * The items to reserve — all-or-nothing (at most 200).
2309
2461
  */
@@ -2324,15 +2476,15 @@ export declare namespace Models {
2324
2476
  /**
2325
2477
  * Restocking location (default 'main').
2326
2478
  */
2327
- location_code?: string;
2479
+ location_code?: string | null;
2328
2480
  /**
2329
2481
  * Originating order (ledger reference).
2330
2482
  */
2331
- order_ref?: string;
2483
+ order_ref?: string | null;
2332
2484
  /**
2333
2485
  * Ledger note (e.g. return reason).
2334
2486
  */
2335
- reason?: string;
2487
+ reason?: string | null;
2336
2488
  };
2337
2489
  /**
2338
2490
  * An item and its quantity: 'product_id' or 'sku'.
@@ -2341,7 +2493,7 @@ export declare namespace Models {
2341
2493
  /**
2342
2494
  *
2343
2495
  */
2344
- product_id?: string;
2496
+ product_id?: string | null;
2345
2497
  /**
2346
2498
  *
2347
2499
  */
@@ -2349,7 +2501,7 @@ export declare namespace Models {
2349
2501
  /**
2350
2502
  *
2351
2503
  */
2352
- sku?: string;
2504
+ sku?: string | null;
2353
2505
  };
2354
2506
  /**
2355
2507
  *
@@ -2608,7 +2760,7 @@ export declare namespace Models {
2608
2760
  /**
2609
2761
  *
2610
2762
  */
2611
- address?: object;
2763
+ address?: object | null;
2612
2764
  /**
2613
2765
  * Unique location code (per tenant).
2614
2766
  */
@@ -2620,11 +2772,11 @@ export declare namespace Models {
2620
2772
  /**
2621
2773
  * Localised display names ({de, en, …}).
2622
2774
  */
2623
- labels?: object;
2775
+ labels?: object | null;
2624
2776
  /**
2625
2777
  * Free-form metadata.
2626
2778
  */
2627
- metadata?: object;
2779
+ metadata?: object | null;
2628
2780
  /**
2629
2781
  *
2630
2782
  */
@@ -2645,7 +2797,7 @@ export declare namespace Models {
2645
2797
  /**
2646
2798
  *
2647
2799
  */
2648
- address?: object;
2800
+ address?: object | null;
2649
2801
  /**
2650
2802
  * Unique location code (per tenant).
2651
2803
  */
@@ -2657,11 +2809,11 @@ export declare namespace Models {
2657
2809
  /**
2658
2810
  * Localised display names ({de, en, …}).
2659
2811
  */
2660
- labels?: object;
2812
+ labels?: object | null;
2661
2813
  /**
2662
2814
  * Free-form metadata.
2663
2815
  */
2664
- metadata?: object;
2816
+ metadata?: object | null;
2665
2817
  /**
2666
2818
  *
2667
2819
  */
@@ -2724,6 +2876,10 @@ export declare namespace Models {
2724
2876
  *
2725
2877
  */
2726
2878
  export type MarketContext = {
2879
+ /**
2880
+ *
2881
+ */
2882
+ currencies?: MarketCurrency[];
2727
2883
  /**
2728
2884
  *
2729
2885
  */
@@ -2773,15 +2929,11 @@ export declare namespace Models {
2773
2929
  /**
2774
2930
  *
2775
2931
  */
2776
- export type MarketLocale = {
2932
+ export type MarketCurrency = {
2777
2933
  /**
2778
2934
  *
2779
2935
  */
2780
2936
  code?: string;
2781
- /**
2782
- *
2783
- */
2784
- country?: string;
2785
2937
  /**
2786
2938
  *
2787
2939
  */
@@ -2794,10 +2946,6 @@ export declare namespace Models {
2794
2946
  *
2795
2947
  */
2796
2948
  is_default?: boolean;
2797
- /**
2798
- *
2799
- */
2800
- language?: string;
2801
2949
  /**
2802
2950
  *
2803
2951
  */
@@ -2810,23 +2958,15 @@ export declare namespace Models {
2810
2958
  /**
2811
2959
  * The owning market comes from the route path ('market_id').
2812
2960
  */
2813
- export type MarketLocaleCreateRequest = {
2961
+ export type MarketCurrencyCreateRequest = {
2814
2962
  /**
2815
- * Locale code, e.g. 'de-DE' (unique per market).
2963
+ * ISO 4217 code, e.g. EUR (unique per market).
2816
2964
  */
2817
2965
  code: string;
2818
- /**
2819
- * ISO 3166-1 alpha-2 country code.
2820
- */
2821
- country: string;
2822
2966
  /**
2823
2967
  *
2824
2968
  */
2825
2969
  is_default?: boolean;
2826
- /**
2827
- * ISO 639-1 language code.
2828
- */
2829
- language: string;
2830
2970
  /**
2831
2971
  * Sort position (default 0).
2832
2972
  */
@@ -2835,23 +2975,15 @@ export declare namespace Models {
2835
2975
  /**
2836
2976
  * Partial update — omitted fields keep their current value.
2837
2977
  */
2838
- export type MarketLocaleUpdateRequest = {
2978
+ export type MarketCurrencyUpdateRequest = {
2839
2979
  /**
2840
- * Locale code, e.g. 'de-DE' (unique per market).
2980
+ * ISO 4217 code, e.g. EUR (unique per market).
2841
2981
  */
2842
2982
  code?: string;
2843
- /**
2844
- * ISO 3166-1 alpha-2 country code.
2845
- */
2846
- country?: string;
2847
2983
  /**
2848
2984
  *
2849
2985
  */
2850
2986
  is_default?: boolean;
2851
- /**
2852
- * ISO 639-1 language code.
2853
- */
2854
- language?: string;
2855
2987
  /**
2856
2988
  * Sort position (default 0).
2857
2989
  */
@@ -2860,7 +2992,7 @@ export declare namespace Models {
2860
2992
  /**
2861
2993
  *
2862
2994
  */
2863
- export type MarketTaxClass = {
2995
+ export type MarketLocale = {
2864
2996
  /**
2865
2997
  *
2866
2998
  */
@@ -2868,7 +3000,94 @@ export declare namespace Models {
2868
3000
  /**
2869
3001
  *
2870
3002
  */
2871
- created_at?: string;
3003
+ country?: string;
3004
+ /**
3005
+ *
3006
+ */
3007
+ created_at?: string;
3008
+ /**
3009
+ *
3010
+ */
3011
+ id?: string;
3012
+ /**
3013
+ *
3014
+ */
3015
+ is_default?: boolean;
3016
+ /**
3017
+ *
3018
+ */
3019
+ language?: string;
3020
+ /**
3021
+ *
3022
+ */
3023
+ market_id?: string;
3024
+ /**
3025
+ *
3026
+ */
3027
+ position?: number;
3028
+ };
3029
+ /**
3030
+ * The owning market comes from the route path ('market_id').
3031
+ */
3032
+ export type MarketLocaleCreateRequest = {
3033
+ /**
3034
+ * Locale code, e.g. 'de-DE' (unique per market).
3035
+ */
3036
+ code: string;
3037
+ /**
3038
+ * ISO 3166-1 alpha-2 country code.
3039
+ */
3040
+ country: string;
3041
+ /**
3042
+ *
3043
+ */
3044
+ is_default?: boolean;
3045
+ /**
3046
+ * ISO 639-1 language code.
3047
+ */
3048
+ language: string;
3049
+ /**
3050
+ * Sort position (default 0).
3051
+ */
3052
+ position?: number;
3053
+ };
3054
+ /**
3055
+ * Partial update — omitted fields keep their current value.
3056
+ */
3057
+ export type MarketLocaleUpdateRequest = {
3058
+ /**
3059
+ * Locale code, e.g. 'de-DE' (unique per market).
3060
+ */
3061
+ code?: string;
3062
+ /**
3063
+ * ISO 3166-1 alpha-2 country code.
3064
+ */
3065
+ country?: string;
3066
+ /**
3067
+ *
3068
+ */
3069
+ is_default?: boolean;
3070
+ /**
3071
+ * ISO 639-1 language code.
3072
+ */
3073
+ language?: string;
3074
+ /**
3075
+ * Sort position (default 0).
3076
+ */
3077
+ position?: number;
3078
+ };
3079
+ /**
3080
+ *
3081
+ */
3082
+ export type MarketTaxClass = {
3083
+ /**
3084
+ *
3085
+ */
3086
+ code?: string;
3087
+ /**
3088
+ *
3089
+ */
3090
+ created_at?: string;
2872
3091
  /**
2873
3092
  *
2874
3093
  */
@@ -3068,6 +3287,73 @@ export declare namespace Models {
3068
3287
  */
3069
3288
  units?: object | null;
3070
3289
  };
3290
+ /**
3291
+ *
3292
+ */
3293
+ export type Menu = {
3294
+ /**
3295
+ *
3296
+ */
3297
+ created_at?: string;
3298
+ /**
3299
+ *
3300
+ */
3301
+ created_by?: string | null;
3302
+ /**
3303
+ *
3304
+ */
3305
+ deleted_at?: string | null;
3306
+ /**
3307
+ *
3308
+ */
3309
+ id?: string;
3310
+ /**
3311
+ *
3312
+ */
3313
+ items?: object;
3314
+ /**
3315
+ *
3316
+ */
3317
+ label?: string;
3318
+ /**
3319
+ *
3320
+ */
3321
+ menu_key?: string;
3322
+ /**
3323
+ *
3324
+ */
3325
+ updated_at?: string;
3326
+ };
3327
+ /**
3328
+ * Partial update — omitted fields keep their current value.
3329
+ */
3330
+ export type MenuUpdateRequest = {
3331
+ /**
3332
+ *
3333
+ */
3334
+ items?: object[];
3335
+ /**
3336
+ *
3337
+ */
3338
+ label?: string;
3339
+ };
3340
+ /**
3341
+ * Create or update the menu identified by menuKey (idempotent per tenant). `items` is the ordered nav tree ([{ label, to, items? }]).
3342
+ */
3343
+ export type MenuUpsertRequest = {
3344
+ /**
3345
+ * Ordered menu entries ({ label, to?, items? }).
3346
+ */
3347
+ items?: object[];
3348
+ /**
3349
+ *
3350
+ */
3351
+ label: string;
3352
+ /**
3353
+ * Stable menu identifier, e.g. "main", "footer", "account".
3354
+ */
3355
+ menuKey: string;
3356
+ };
3071
3357
  /**
3072
3358
  *
3073
3359
  */
@@ -3075,11 +3361,11 @@ export declare namespace Models {
3075
3361
  /**
3076
3362
  *
3077
3363
  */
3078
- langcode?: string;
3364
+ langcode?: string | null;
3079
3365
  /**
3080
3366
  *
3081
3367
  */
3082
- payload?: object;
3368
+ payload?: object | null;
3083
3369
  /**
3084
3370
  * Mutation plugin id (add, move, delete, duplicate, update_field_value, ...).
3085
3371
  */
@@ -3612,7 +3898,284 @@ export declare namespace Models {
3612
3898
  /**
3613
3899
  *
3614
3900
  */
3615
- created_at?: string;
3901
+ created_at?: string;
3902
+ /**
3903
+ *
3904
+ */
3905
+ id?: string;
3906
+ /**
3907
+ *
3908
+ */
3909
+ line_total?: number;
3910
+ /**
3911
+ *
3912
+ */
3913
+ metadata?: object | null;
3914
+ /**
3915
+ *
3916
+ */
3917
+ name?: string;
3918
+ /**
3919
+ *
3920
+ */
3921
+ order_id?: string;
3922
+ /**
3923
+ *
3924
+ */
3925
+ position?: number;
3926
+ /**
3927
+ *
3928
+ */
3929
+ position_text?: string | null;
3930
+ /**
3931
+ *
3932
+ */
3933
+ product?: object | null;
3934
+ /**
3935
+ *
3936
+ */
3937
+ product_id?: string | null;
3938
+ /**
3939
+ *
3940
+ */
3941
+ quantity?: number;
3942
+ /**
3943
+ *
3944
+ */
3945
+ quantity_cancelled?: number;
3946
+ /**
3947
+ *
3948
+ */
3949
+ quantity_returned?: number;
3950
+ /**
3951
+ *
3952
+ */
3953
+ quantity_shipped?: number;
3954
+ /**
3955
+ *
3956
+ */
3957
+ sku?: string | null;
3958
+ /**
3959
+ *
3960
+ */
3961
+ tax_amount?: number;
3962
+ /**
3963
+ *
3964
+ */
3965
+ tax_rate?: number;
3966
+ /**
3967
+ *
3968
+ */
3969
+ type?: string;
3970
+ /**
3971
+ *
3972
+ */
3973
+ unit?: string | null;
3974
+ /**
3975
+ *
3976
+ */
3977
+ unit_price?: number;
3978
+ /**
3979
+ *
3980
+ */
3981
+ updated_at?: string;
3982
+ /**
3983
+ *
3984
+ */
3985
+ user_data?: object | null;
3986
+ };
3987
+ /**
3988
+ * A position of the placed order — needs an identity: 'name' or 'sku'. Items are SNAPSHOTS: carry the product copy, prices are frozen at place-time.
3989
+ */
3990
+ export type OrderItemCreateRequest = {
3991
+ /**
3992
+ * Free-form configuration of configured lines.
3993
+ */
3994
+ configuration?: object | null;
3995
+ /**
3996
+ *
3997
+ */
3998
+ cost_center?: string | null;
3999
+ /**
4000
+ * Free-form metadata.
4001
+ */
4002
+ metadata?: object | null;
4003
+ /**
4004
+ * Falls back to 'sku' when omitted.
4005
+ */
4006
+ name?: string | null;
4007
+ /**
4008
+ * Explicit position number; otherwise numbered in steps of the order range's position_step.
4009
+ */
4010
+ position?: number | null;
4011
+ /**
4012
+ *
4013
+ */
4014
+ position_text?: string | null;
4015
+ /**
4016
+ * Frozen product snapshot at place-time ('snapshot' is accepted as an alias).
4017
+ */
4018
+ product?: object | null;
4019
+ /**
4020
+ *
4021
+ */
4022
+ product_id?: string | null;
4023
+ /**
4024
+ * Default 1.
4025
+ */
4026
+ quantity?: number | null;
4027
+ /**
4028
+ *
4029
+ */
4030
+ sku?: string | null;
4031
+ /**
4032
+ * Alias for 'product'.
4033
+ */
4034
+ snapshot?: object | null;
4035
+ /**
4036
+ * Derived from line_total and tax_rate when omitted.
4037
+ */
4038
+ tax_amount?: number | null;
4039
+ /**
4040
+ * Percent (default 0).
4041
+ */
4042
+ tax_rate?: number | null;
4043
+ /**
4044
+ * Line type (default 'product').
4045
+ */
4046
+ type?: OrderItemType;
4047
+ /**
4048
+ *
4049
+ */
4050
+ unit?: string | null;
4051
+ /**
4052
+ * Per-unit net price — line_total is always derived.
4053
+ */
4054
+ unit_price?: number | null;
4055
+ /**
4056
+ * Free-form user data.
4057
+ */
4058
+ user_data?: object | null;
4059
+ };
4060
+ /**
4061
+ *
4062
+ */
4063
+ export type OrderItemsCancelRequest = {
4064
+ /**
4065
+ * Acting user/system.
4066
+ */
4067
+ cancelled_by?: string;
4068
+ /**
4069
+ *
4070
+ */
4071
+ positions: OrderCancelPosition[];
4072
+ /**
4073
+ *
4074
+ */
4075
+ reason?: string;
4076
+ };
4077
+ /**
4078
+ *
4079
+ */
4080
+ export type OrderList = {
4081
+ /**
4082
+ *
4083
+ */
4084
+ created_at?: string;
4085
+ /**
4086
+ *
4087
+ */
4088
+ id?: string;
4089
+ /**
4090
+ *
4091
+ */
4092
+ kind?: string;
4093
+ /**
4094
+ *
4095
+ */
4096
+ metadata?: object | null;
4097
+ /**
4098
+ *
4099
+ */
4100
+ name?: string;
4101
+ /**
4102
+ *
4103
+ */
4104
+ organization_id?: string | null;
4105
+ /**
4106
+ *
4107
+ */
4108
+ owner_id?: string;
4109
+ /**
4110
+ *
4111
+ */
4112
+ owner_name?: string;
4113
+ /**
4114
+ *
4115
+ */
4116
+ public?: boolean;
4117
+ /**
4118
+ *
4119
+ */
4120
+ updated_at?: string;
4121
+ };
4122
+ /**
4123
+ *
4124
+ */
4125
+ export type OrderListCreateRequest = {
4126
+ /**
4127
+ * Optional initial positions.
4128
+ */
4129
+ items?: OrderListItemInput[];
4130
+ /**
4131
+ * List kind (default 'shopping').
4132
+ */
4133
+ kind?: OrderListKind;
4134
+ /**
4135
+ *
4136
+ */
4137
+ metadata?: object | null;
4138
+ /**
4139
+ *
4140
+ */
4141
+ name: string;
4142
+ /**
4143
+ * Owning organization (scopes public sharing).
4144
+ */
4145
+ organization_id?: string | null;
4146
+ /**
4147
+ * Owning contact.
4148
+ */
4149
+ owner_id: string;
4150
+ /**
4151
+ * Owner display name (snapshot).
4152
+ */
4153
+ owner_name: string;
4154
+ /**
4155
+ * Shared read-only across the organization (default false).
4156
+ */
4157
+ public?: boolean;
4158
+ };
4159
+ /**
4160
+ *
4161
+ */
4162
+ export type OrderListItem = {
4163
+ /**
4164
+ *
4165
+ */
4166
+ category_slug?: string | null;
4167
+ /**
4168
+ *
4169
+ */
4170
+ cost_center_id?: string | null;
4171
+ /**
4172
+ *
4173
+ */
4174
+ created_at?: string;
4175
+ /**
4176
+ *
4177
+ */
4178
+ custom_sku?: string | null;
3616
4179
  /**
3617
4180
  *
3618
4181
  */
@@ -3620,19 +4183,19 @@ export declare namespace Models {
3620
4183
  /**
3621
4184
  *
3622
4185
  */
3623
- line_total?: number;
4186
+ image?: string | null;
3624
4187
  /**
3625
4188
  *
3626
4189
  */
3627
- metadata?: object | null;
4190
+ list_id?: string;
3628
4191
  /**
3629
4192
  *
3630
4193
  */
3631
- name?: string;
4194
+ metadata?: object | null;
3632
4195
  /**
3633
4196
  *
3634
4197
  */
3635
- order_id?: string;
4198
+ name?: string;
3636
4199
  /**
3637
4200
  *
3638
4201
  */
@@ -3640,11 +4203,11 @@ export declare namespace Models {
3640
4203
  /**
3641
4204
  *
3642
4205
  */
3643
- position_text?: string | null;
4206
+ position_texts?: object | null;
3644
4207
  /**
3645
4208
  *
3646
4209
  */
3647
- product?: object | null;
4210
+ price?: number | null;
3648
4211
  /**
3649
4212
  *
3650
4213
  */
@@ -3656,137 +4219,232 @@ export declare namespace Models {
3656
4219
  /**
3657
4220
  *
3658
4221
  */
3659
- quantity_cancelled?: number;
4222
+ sku?: string | null;
3660
4223
  /**
3661
4224
  *
3662
4225
  */
3663
- quantity_returned?: number;
4226
+ subcategory_slug?: string | null;
3664
4227
  /**
3665
4228
  *
3666
4229
  */
3667
- quantity_shipped?: number;
4230
+ tax_rate?: number | null;
3668
4231
  /**
3669
4232
  *
3670
4233
  */
3671
- sku?: string | null;
4234
+ unit?: string | null;
3672
4235
  /**
3673
4236
  *
3674
4237
  */
3675
- tax_amount?: number;
4238
+ updated_at?: string;
4239
+ };
4240
+ /**
4241
+ *
4242
+ */
4243
+ export type OrderListItemInput = {
3676
4244
  /**
3677
4245
  *
3678
4246
  */
3679
- tax_rate?: number;
4247
+ category_slug?: string | null;
4248
+ /**
4249
+ * Cost center reference (free-text).
4250
+ */
4251
+ cost_center_id?: string | null;
4252
+ /**
4253
+ * Customer's own article number.
4254
+ */
4255
+ custom_sku?: string | null;
3680
4256
  /**
3681
4257
  *
3682
4258
  */
3683
- type?: string;
4259
+ image?: string | null;
3684
4260
  /**
3685
4261
  *
3686
4262
  */
3687
- unit?: string | null;
4263
+ metadata?: object | null;
4264
+ /**
4265
+ * Display name (snapshot).
4266
+ */
4267
+ name: string;
4268
+ /**
4269
+ * Sort order (assigned automatically when omitted).
4270
+ */
4271
+ position?: number;
4272
+ /**
4273
+ * Per-position notes.
4274
+ */
4275
+ position_texts?: string[] | null;
4276
+ /**
4277
+ * Unit price snapshot.
4278
+ */
4279
+ price?: number | null;
4280
+ /**
4281
+ * Catalog product (alternative to sku).
4282
+ */
4283
+ product_id?: string | null;
4284
+ /**
4285
+ * Default 1.
4286
+ */
4287
+ quantity?: number;
4288
+ /**
4289
+ * Article SKU (alternative to product_id).
4290
+ */
4291
+ sku?: string | null;
3688
4292
  /**
3689
4293
  *
3690
4294
  */
3691
- unit_price?: number;
4295
+ subcategory_slug?: string | null;
3692
4296
  /**
3693
4297
  *
3694
4298
  */
3695
- updated_at?: string;
4299
+ tax_rate?: number | null;
3696
4300
  /**
3697
4301
  *
3698
4302
  */
3699
- user_data?: object | null;
4303
+ unit?: string | null;
3700
4304
  };
3701
4305
  /**
3702
- * A position of the placed order needs an identity: 'name' or 'sku'. Items are SNAPSHOTS: carry the product copy, prices are frozen at place-time.
4306
+ * Partial updateomitted fields keep their current value.
3703
4307
  */
3704
- export type OrderItemCreateRequest = {
4308
+ export type OrderListItemUpdateRequest = {
3705
4309
  /**
3706
- * Free-form configuration of configured lines.
4310
+ *
4311
+ */
4312
+ category_slug?: string | null;
4313
+ /**
4314
+ * Cost center reference (free-text).
4315
+ */
4316
+ cost_center_id?: string | null;
4317
+ /**
4318
+ * Customer's own article number.
3707
4319
  */
3708
- configuration?: object;
4320
+ custom_sku?: string | null;
3709
4321
  /**
3710
4322
  *
3711
4323
  */
3712
- cost_center?: string;
4324
+ image?: string | null;
3713
4325
  /**
3714
- * Free-form metadata.
4326
+ *
3715
4327
  */
3716
- metadata?: object;
4328
+ metadata?: object | null;
3717
4329
  /**
3718
- * Falls back to 'sku' when omitted.
4330
+ * Display name (snapshot).
3719
4331
  */
3720
4332
  name?: string;
3721
4333
  /**
3722
- * Explicit position number; otherwise numbered in steps of the order range's position_step.
4334
+ * Sort order (assigned automatically when omitted).
3723
4335
  */
3724
4336
  position?: number;
3725
4337
  /**
3726
- *
4338
+ * Per-position notes.
3727
4339
  */
3728
- position_text?: string;
4340
+ position_texts?: string[] | null;
3729
4341
  /**
3730
- * Frozen product snapshot at place-time ('snapshot' is accepted as an alias).
4342
+ * Unit price snapshot.
3731
4343
  */
3732
- product?: object;
4344
+ price?: number | null;
3733
4345
  /**
3734
- *
4346
+ * Catalog product (alternative to sku).
3735
4347
  */
3736
- product_id?: string;
4348
+ product_id?: string | null;
3737
4349
  /**
3738
4350
  * Default 1.
3739
4351
  */
3740
4352
  quantity?: number;
4353
+ /**
4354
+ * Article SKU (alternative to product_id).
4355
+ */
4356
+ sku?: string | null;
3741
4357
  /**
3742
4358
  *
3743
4359
  */
3744
- sku?: string;
4360
+ subcategory_slug?: string | null;
3745
4361
  /**
3746
- * Alias for 'product'.
4362
+ *
3747
4363
  */
3748
- snapshot?: object;
4364
+ tax_rate?: number | null;
3749
4365
  /**
3750
- * Derived from line_total and tax_rate when omitted.
4366
+ *
3751
4367
  */
3752
- tax_amount?: number;
4368
+ unit?: string | null;
4369
+ };
4370
+ /**
4371
+ * Replace ALL positions of the list (set semantics).
4372
+ */
4373
+ export type OrderListItemsReplaceRequest = {
3753
4374
  /**
3754
- * Percent (default 0).
4375
+ * The new full set of positions.
3755
4376
  */
3756
- tax_rate?: number;
4377
+ items: OrderListItemInput[];
4378
+ };
4379
+ /**
4380
+ * Partial update — rename, visibility or kind. Positions go through the items routes.
4381
+ */
4382
+ export type OrderListUpdateRequest = {
3757
4383
  /**
3758
- * Line type (default 'product').
4384
+ * List kind (default 'shopping').
3759
4385
  */
3760
- type?: OrderItemType;
4386
+ kind?: OrderListKind;
3761
4387
  /**
3762
4388
  *
3763
4389
  */
3764
- unit?: string;
4390
+ metadata?: object | null;
3765
4391
  /**
3766
- * Per-unit net price — line_total is always derived.
4392
+ *
3767
4393
  */
3768
- unit_price?: number;
4394
+ name?: string;
3769
4395
  /**
3770
- * Free-form user data.
4396
+ *
3771
4397
  */
3772
- user_data?: object;
4398
+ public?: boolean;
3773
4399
  };
3774
4400
  /**
3775
4401
  *
3776
4402
  */
3777
- export type OrderItemsCancelRequest = {
4403
+ export type OrderListWithItems = {
3778
4404
  /**
3779
- * Acting user/system.
4405
+ *
3780
4406
  */
3781
- cancelled_by?: string;
4407
+ created_at?: string;
3782
4408
  /**
3783
4409
  *
3784
4410
  */
3785
- positions: OrderCancelPosition[];
4411
+ id?: string;
3786
4412
  /**
3787
4413
  *
3788
4414
  */
3789
- reason?: string;
4415
+ items?: OrderListItem[];
4416
+ /**
4417
+ *
4418
+ */
4419
+ kind?: string;
4420
+ /**
4421
+ *
4422
+ */
4423
+ metadata?: object | null;
4424
+ /**
4425
+ *
4426
+ */
4427
+ name?: string;
4428
+ /**
4429
+ *
4430
+ */
4431
+ organization_id?: string | null;
4432
+ /**
4433
+ *
4434
+ */
4435
+ owner_id?: string;
4436
+ /**
4437
+ *
4438
+ */
4439
+ owner_name?: string;
4440
+ /**
4441
+ *
4442
+ */
4443
+ public?: boolean;
4444
+ /**
4445
+ *
4446
+ */
4447
+ updated_at?: string;
3790
4448
  };
3791
4449
  /**
3792
4450
  * Number pattern: '{prefix}{counter padded to padding}{suffix}'.
@@ -3890,35 +4548,35 @@ export declare namespace Models {
3890
4548
  /**
3891
4549
  * Frozen billing address.
3892
4550
  */
3893
- billing_address?: object;
4551
+ billing_address?: object | null;
3894
4552
  /**
3895
4553
  * Frozen buyer snapshot (name, email, …).
3896
4554
  */
3897
- buyer?: object;
4555
+ buyer?: object | null;
3898
4556
  /**
3899
4557
  * Source cart (the carts.order hand-over).
3900
4558
  */
3901
- cart_id?: string;
4559
+ cart_id?: string | null;
3902
4560
  /**
3903
4561
  *
3904
4562
  */
3905
- channel_id?: string;
4563
+ channel_id?: string | null;
3906
4564
  /**
3907
4565
  * Ordering customer contact.
3908
4566
  */
3909
- contact_id?: string;
4567
+ contact_id?: string | null;
3910
4568
  /**
3911
4569
  * ISO 4217 code (default EUR).
3912
4570
  */
3913
- currency?: string;
4571
+ currency?: string | null;
3914
4572
  /**
3915
4573
  * The buyer's own order/PO number.
3916
4574
  */
3917
- customer_order_number?: string;
4575
+ customer_order_number?: string | null;
3918
4576
  /**
3919
4577
  * Override — computed as subtotal + shipping + tax when omitted.
3920
4578
  */
3921
- grand_total?: number;
4579
+ grand_total?: number | null;
3922
4580
  /**
3923
4581
  * The order positions (at most 500).
3924
4582
  */
@@ -3926,35 +4584,35 @@ export declare namespace Models {
3926
4584
  /**
3927
4585
  *
3928
4586
  */
3929
- market_id?: string;
4587
+ market_id?: string | null;
3930
4588
  /**
3931
4589
  * Free-form metadata.
3932
4590
  */
3933
- metadata?: object;
4591
+ metadata?: object | null;
3934
4592
  /**
3935
4593
  * B2B organization.
3936
4594
  */
3937
- organization_id?: string;
4595
+ organization_id?: string | null;
3938
4596
  /**
3939
4597
  * Frozen payment snapshot — a known 'payment.status' seeds payment_status (otherwise 'open').
3940
4598
  */
3941
- payment?: object;
4599
+ payment?: object | null;
3942
4600
  /**
3943
4601
  * Frozen shipping snapshot — 'shipping.price' seeds shipping_total.
3944
4602
  */
3945
- shipping?: object;
4603
+ shipping?: object | null;
3946
4604
  /**
3947
4605
  * Frozen shipping address.
3948
4606
  */
3949
- shipping_address?: object;
4607
+ shipping_address?: object | null;
3950
4608
  /**
3951
4609
  * Shipping total (fallback when 'shipping.price' is absent).
3952
4610
  */
3953
- shipping_total?: number;
4611
+ shipping_total?: number | null;
3954
4612
  /**
3955
4613
  * Free-form user data.
3956
4614
  */
3957
- user_data?: object;
4615
+ user_data?: object | null;
3958
4616
  };
3959
4617
  /**
3960
4618
  *
@@ -4348,23 +5006,23 @@ export declare namespace Models {
4348
5006
  /**
4349
5007
  *
4350
5008
  */
4351
- bundle?: string;
5009
+ bundle?: string | null;
4352
5010
  /**
4353
5011
  *
4354
5012
  */
4355
- hostOptions?: object;
5013
+ hostOptions?: object | null;
4356
5014
  /**
4357
5015
  *
4358
5016
  */
4359
- meta?: object;
5017
+ meta?: object | null;
4360
5018
  /**
4361
5019
  *
4362
5020
  */
4363
- slug?: string;
5021
+ slug?: string | null;
4364
5022
  /**
4365
5023
  *
4366
5024
  */
4367
- sourceLanguage?: string;
5025
+ sourceLanguage?: string | null;
4368
5026
  /**
4369
5027
  *
4370
5028
  */
@@ -4545,15 +5203,15 @@ export declare namespace Models {
4545
5203
  /**
4546
5204
  * The cart this payment pays for.
4547
5205
  */
4548
- cart_id?: string;
5206
+ cart_id?: string | null;
4549
5207
  /**
4550
5208
  * Paying customer contact.
4551
5209
  */
4552
- contact_id?: string;
5210
+ contact_id?: string | null;
4553
5211
  /**
4554
5212
  * Buyer ISO country code for the eligibility check.
4555
5213
  */
4556
- country?: string;
5214
+ country?: string | null;
4557
5215
  /**
4558
5216
  * ISO 4217 code (default EUR).
4559
5217
  */
@@ -4561,11 +5219,11 @@ export declare namespace Models {
4561
5219
  /**
4562
5220
  * Same key answers the same payment instead of a duplicate.
4563
5221
  */
4564
- idempotency_key?: string;
5222
+ idempotency_key?: string | null;
4565
5223
  /**
4566
5224
  * Free-form metadata.
4567
5225
  */
4568
- metadata?: object;
5226
+ metadata?: object | null;
4569
5227
  /**
4570
5228
  * Code of a configured payment method.
4571
5229
  */
@@ -4573,11 +5231,11 @@ export declare namespace Models {
4573
5231
  /**
4574
5232
  * External order reference — also the webhook fallback key.
4575
5233
  */
4576
- order_ref?: string;
5234
+ order_ref?: string | null;
4577
5235
  /**
4578
5236
  * Where the PSP redirect flow returns the buyer to.
4579
5237
  */
4580
- return_url?: string;
5238
+ return_url?: string | null;
4581
5239
  };
4582
5240
  /**
4583
5241
  * The buyer context — restriction dimensions are ANDed, entries within a dimension ORed, empty = unrestricted.
@@ -4586,15 +5244,15 @@ export declare namespace Models {
4586
5244
  /**
4587
5245
  * Order amount the fees are computed against (default 0).
4588
5246
  */
4589
- amount?: number;
5247
+ amount?: number | null;
4590
5248
  /**
4591
5249
  * Buyer ISO country code — methods with country restrictions need it.
4592
5250
  */
4593
- country?: string;
5251
+ country?: string | null;
4594
5252
  /**
4595
5253
  * ISO 4217 code (default EUR).
4596
5254
  */
4597
- currency?: string;
5255
+ currency?: string | null;
4598
5256
  };
4599
5257
  /**
4600
5258
  *
@@ -4688,11 +5346,11 @@ export declare namespace Models {
4688
5346
  /**
4689
5347
  * Allowed ISO country codes — empty/omitted = unrestricted.
4690
5348
  */
4691
- countries?: string[];
5349
+ countries?: string[] | null;
4692
5350
  /**
4693
5351
  *
4694
5352
  */
4695
- description?: string;
5353
+ description?: string | null;
4696
5354
  /**
4697
5355
  * Disabled methods are never eligible (default false).
4698
5356
  */
@@ -4716,19 +5374,19 @@ export declare namespace Models {
4716
5374
  /**
4717
5375
  * Localized display names ({ de, en, … }).
4718
5376
  */
4719
- labels?: object;
5377
+ labels?: object | null;
4720
5378
  /**
4721
5379
  * Maximum order amount — omitted = no upper bound.
4722
5380
  */
4723
- max_order_value?: number;
5381
+ max_order_value?: number | null;
4724
5382
  /**
4725
5383
  * Free-form metadata.
4726
5384
  */
4727
- metadata?: object;
5385
+ metadata?: object | null;
4728
5386
  /**
4729
5387
  * Minimum order amount — omitted = no lower bound.
4730
5388
  */
4731
- min_order_value?: number;
5389
+ min_order_value?: number | null;
4732
5390
  /**
4733
5391
  * Display name.
4734
5392
  */
@@ -4740,11 +5398,11 @@ export declare namespace Models {
4740
5398
  /**
4741
5399
  * PSP code from the catalog — only for kind 'psp'.
4742
5400
  */
4743
- provider?: string;
5401
+ provider?: string | null;
4744
5402
  /**
4745
5403
  * The provider's payment method id (e.g. 'card', 'paypal').
4746
5404
  */
4747
- provider_method?: string;
5405
+ provider_method?: string | null;
4748
5406
  };
4749
5407
  /**
4750
5408
  * Partial update — omitted fields keep their current value.
@@ -4757,11 +5415,11 @@ export declare namespace Models {
4757
5415
  /**
4758
5416
  * Allowed ISO country codes — empty/omitted = unrestricted.
4759
5417
  */
4760
- countries?: string[];
5418
+ countries?: string[] | null;
4761
5419
  /**
4762
5420
  *
4763
5421
  */
4764
- description?: string;
5422
+ description?: string | null;
4765
5423
  /**
4766
5424
  * Disabled methods are never eligible (default false).
4767
5425
  */
@@ -4785,19 +5443,19 @@ export declare namespace Models {
4785
5443
  /**
4786
5444
  * Localized display names ({ de, en, … }).
4787
5445
  */
4788
- labels?: object;
5446
+ labels?: object | null;
4789
5447
  /**
4790
5448
  * Maximum order amount — omitted = no upper bound.
4791
5449
  */
4792
- max_order_value?: number;
5450
+ max_order_value?: number | null;
4793
5451
  /**
4794
5452
  * Free-form metadata.
4795
5453
  */
4796
- metadata?: object;
5454
+ metadata?: object | null;
4797
5455
  /**
4798
5456
  * Minimum order amount — omitted = no lower bound.
4799
5457
  */
4800
- min_order_value?: number;
5458
+ min_order_value?: number | null;
4801
5459
  /**
4802
5460
  * Display name.
4803
5461
  */
@@ -4809,11 +5467,11 @@ export declare namespace Models {
4809
5467
  /**
4810
5468
  * PSP code from the catalog — only for kind 'psp'.
4811
5469
  */
4812
- provider?: string;
5470
+ provider?: string | null;
4813
5471
  /**
4814
5472
  * The provider's payment method id (e.g. 'card', 'paypal').
4815
5473
  */
4816
- provider_method?: string;
5474
+ provider_method?: string | null;
4817
5475
  };
4818
5476
  /**
4819
5477
  *
@@ -4867,19 +5525,19 @@ export declare namespace Models {
4867
5525
  /**
4868
5526
  * PSP credentials — the catalog's credential_fields say which keys the auth scheme expects.
4869
5527
  */
4870
- credentials?: object;
5528
+ credentials?: object | null;
4871
5529
  /**
4872
5530
  * Only enabled providers transact (default false).
4873
5531
  */
4874
- enabled?: boolean;
5532
+ enabled?: boolean | null;
4875
5533
  /**
4876
5534
  * Display name — defaults to the catalog label.
4877
5535
  */
4878
- name?: string;
5536
+ name?: string | null;
4879
5537
  /**
4880
5538
  * Free-form provider options.
4881
5539
  */
4882
- options?: object;
5540
+ options?: object | null;
4883
5541
  /**
4884
5542
  * Provider code — must exist in the catalog (GET /payments/providers/catalog).
4885
5543
  */
@@ -4887,11 +5545,11 @@ export declare namespace Models {
4887
5545
  /**
4888
5546
  * Sandbox/test credentials (default true).
4889
5547
  */
4890
- test_mode?: boolean;
5548
+ test_mode?: boolean | null;
4891
5549
  /**
4892
5550
  * Shared secret for PSP callback verification.
4893
5551
  */
4894
- webhook_secret?: string;
5552
+ webhook_secret?: string | null;
4895
5553
  };
4896
5554
  /**
4897
5555
  * Partial update — omitted fields keep their current value.
@@ -4900,7 +5558,7 @@ export declare namespace Models {
4900
5558
  /**
4901
5559
  * PSP credentials — the catalog's credential_fields say which keys the auth scheme expects.
4902
5560
  */
4903
- credentials?: object;
5561
+ credentials?: object | null;
4904
5562
  /**
4905
5563
  * Only enabled providers transact (default false).
4906
5564
  */
@@ -4912,7 +5570,7 @@ export declare namespace Models {
4912
5570
  /**
4913
5571
  * Free-form provider options.
4914
5572
  */
4915
- options?: object;
5573
+ options?: object | null;
4916
5574
  /**
4917
5575
  * Provider code — must exist in the catalog (GET /payments/providers/catalog).
4918
5576
  */
@@ -4924,7 +5582,7 @@ export declare namespace Models {
4924
5582
  /**
4925
5583
  * Shared secret for PSP callback verification.
4926
5584
  */
4927
- webhook_secret?: string;
5585
+ webhook_secret?: string | null;
4928
5586
  };
4929
5587
  /**
4930
5588
  * The dispatch envelope from webhooks.revenexx.com — request.body carries the raw, vendor-shaped PSP callback (stripe payment intents or the generic {event, psp_payment_id?, order_ref?, error?} shape). Intentionally unconstrained so no PSP notification is ever rejected at the gate.
@@ -4937,7 +5595,7 @@ export declare namespace Models {
4937
5595
  /**
4938
5596
  * The complete new entry set (set semantics).
4939
5597
  */
4940
- entries: PriceEntryCreateRequest[];
5598
+ entries: PriceEntryReplaceItem[];
4941
5599
  };
4942
5600
  /**
4943
5601
  *
@@ -5003,7 +5661,48 @@ export declare namespace Models {
5003
5661
  /**
5004
5662
  * Free-form metadata.
5005
5663
  */
5006
- metadata?: object;
5664
+ metadata?: object | null;
5665
+ /**
5666
+ * Default 'standard'; 'on_request' is the explicit no-price marker — it stops resolution and answers "price on request".
5667
+ */
5668
+ price_type?: PriceEntryType;
5669
+ /**
5670
+ * Priced product.
5671
+ */
5672
+ product_id?: string | null;
5673
+ /**
5674
+ * Tier threshold (Staffelpreis): this price applies from this quantity (default 1).
5675
+ */
5676
+ quantity_min?: number;
5677
+ /**
5678
+ * Priced SKU (alternative to product_id).
5679
+ */
5680
+ sku?: string | null;
5681
+ /**
5682
+ *
5683
+ */
5684
+ unit?: string | null;
5685
+ /**
5686
+ * Per-unit price (default 0).
5687
+ */
5688
+ unit_price?: number;
5689
+ /**
5690
+ * Per-entry validity start (promo prices).
5691
+ */
5692
+ valid_from?: string | null;
5693
+ /**
5694
+ * Per-entry validity end.
5695
+ */
5696
+ valid_until?: string | null;
5697
+ };
5698
+ /**
5699
+ * An entry needs an identity: 'product_id' or 'sku' — every other field is normalized to its default when null/omitted.
5700
+ */
5701
+ export type PriceEntryReplaceItem = {
5702
+ /**
5703
+ * Free-form metadata.
5704
+ */
5705
+ metadata?: object | null;
5007
5706
  /**
5008
5707
  * Default 'standard'; 'on_request' is the explicit no-price marker — it stops resolution and answers "price on request".
5009
5708
  */
@@ -5011,31 +5710,31 @@ export declare namespace Models {
5011
5710
  /**
5012
5711
  * Priced product.
5013
5712
  */
5014
- product_id?: string;
5713
+ product_id?: string | null;
5015
5714
  /**
5016
5715
  * Tier threshold (Staffelpreis): this price applies from this quantity (default 1).
5017
5716
  */
5018
- quantity_min?: number;
5717
+ quantity_min?: number | null;
5019
5718
  /**
5020
5719
  * Priced SKU (alternative to product_id).
5021
5720
  */
5022
- sku?: string;
5721
+ sku?: string | null;
5023
5722
  /**
5024
5723
  *
5025
5724
  */
5026
- unit?: string;
5725
+ unit?: string | null;
5027
5726
  /**
5028
5727
  * Per-unit price (default 0).
5029
5728
  */
5030
- unit_price?: number;
5729
+ unit_price?: number | null;
5031
5730
  /**
5032
5731
  * Per-entry validity start (promo prices).
5033
5732
  */
5034
- valid_from?: string;
5733
+ valid_from?: string | null;
5035
5734
  /**
5036
5735
  * Per-entry validity end.
5037
5736
  */
5038
- valid_until?: string;
5737
+ valid_until?: string | null;
5039
5738
  };
5040
5739
  /**
5041
5740
  * Partial update — omitted fields keep their current value.
@@ -5044,7 +5743,7 @@ export declare namespace Models {
5044
5743
  /**
5045
5744
  * Free-form metadata.
5046
5745
  */
5047
- metadata?: object;
5746
+ metadata?: object | null;
5048
5747
  /**
5049
5748
  * Default 'standard'; 'on_request' is the explicit no-price marker — it stops resolution and answers "price on request".
5050
5749
  */
@@ -5052,7 +5751,7 @@ export declare namespace Models {
5052
5751
  /**
5053
5752
  * Priced product.
5054
5753
  */
5055
- product_id?: string;
5754
+ product_id?: string | null;
5056
5755
  /**
5057
5756
  * Tier threshold (Staffelpreis): this price applies from this quantity (default 1).
5058
5757
  */
@@ -5060,11 +5759,11 @@ export declare namespace Models {
5060
5759
  /**
5061
5760
  * Priced SKU (alternative to product_id).
5062
5761
  */
5063
- sku?: string;
5762
+ sku?: string | null;
5064
5763
  /**
5065
5764
  *
5066
5765
  */
5067
- unit?: string;
5766
+ unit?: string | null;
5068
5767
  /**
5069
5768
  * Per-unit price (default 0).
5070
5769
  */
@@ -5072,11 +5771,11 @@ export declare namespace Models {
5072
5771
  /**
5073
5772
  * Per-entry validity start (promo prices).
5074
5773
  */
5075
- valid_from?: string;
5774
+ valid_from?: string | null;
5076
5775
  /**
5077
5776
  * Per-entry validity end.
5078
5777
  */
5079
- valid_until?: string;
5778
+ valid_until?: string | null;
5080
5779
  };
5081
5780
  /**
5082
5781
  *
@@ -5166,7 +5865,7 @@ export declare namespace Models {
5166
5865
  /**
5167
5866
  * Scope: only this channel.
5168
5867
  */
5169
- channel_id?: string;
5868
+ channel_id?: string | null;
5170
5869
  /**
5171
5870
  * Unique list code per tenant.
5172
5871
  */
@@ -5174,7 +5873,7 @@ export declare namespace Models {
5174
5873
  /**
5175
5874
  * Scope: only this contact — beats every other scope.
5176
5875
  */
5177
- contact_id?: string;
5876
+ contact_id?: string | null;
5178
5877
  /**
5179
5878
  * ISO 4217 code (default EUR) — resolution only considers lists matching the requested currency.
5180
5879
  */
@@ -5182,7 +5881,7 @@ export declare namespace Models {
5182
5881
  /**
5183
5882
  *
5184
5883
  */
5185
- description?: string;
5884
+ description?: string | null;
5186
5885
  /**
5187
5886
  * Default lists resolve last within their group.
5188
5887
  */
@@ -5190,15 +5889,15 @@ export declare namespace Models {
5190
5889
  /**
5191
5890
  * Localised names ({de, en, …}).
5192
5891
  */
5193
- labels?: object;
5892
+ labels?: object | null;
5194
5893
  /**
5195
5894
  * Scope: only this market.
5196
5895
  */
5197
- market_id?: string;
5896
+ market_id?: string | null;
5198
5897
  /**
5199
5898
  * Free-form metadata.
5200
5899
  */
5201
- metadata?: object;
5900
+ metadata?: object | null;
5202
5901
  /**
5203
5902
  *
5204
5903
  */
@@ -5206,7 +5905,7 @@ export declare namespace Models {
5206
5905
  /**
5207
5906
  * Scope: only this organization.
5208
5907
  */
5209
- organization_id?: string;
5908
+ organization_id?: string | null;
5210
5909
  /**
5211
5910
  * Tie-breaker within a specificity group (higher wins, default 0).
5212
5911
  */
@@ -5222,11 +5921,11 @@ export declare namespace Models {
5222
5921
  /**
5223
5922
  * Validity window start.
5224
5923
  */
5225
- valid_from?: string;
5924
+ valid_from?: string | null;
5226
5925
  /**
5227
5926
  * Validity window end.
5228
5927
  */
5229
- valid_until?: string;
5928
+ valid_until?: string | null;
5230
5929
  };
5231
5930
  /**
5232
5931
  * Partial update — omitted fields keep their current value.
@@ -5235,7 +5934,7 @@ export declare namespace Models {
5235
5934
  /**
5236
5935
  * Scope: only this channel.
5237
5936
  */
5238
- channel_id?: string;
5937
+ channel_id?: string | null;
5239
5938
  /**
5240
5939
  * Unique list code per tenant.
5241
5940
  */
@@ -5243,7 +5942,7 @@ export declare namespace Models {
5243
5942
  /**
5244
5943
  * Scope: only this contact — beats every other scope.
5245
5944
  */
5246
- contact_id?: string;
5945
+ contact_id?: string | null;
5247
5946
  /**
5248
5947
  * ISO 4217 code (default EUR) — resolution only considers lists matching the requested currency.
5249
5948
  */
@@ -5251,7 +5950,7 @@ export declare namespace Models {
5251
5950
  /**
5252
5951
  *
5253
5952
  */
5254
- description?: string;
5953
+ description?: string | null;
5255
5954
  /**
5256
5955
  * Default lists resolve last within their group.
5257
5956
  */
@@ -5259,15 +5958,15 @@ export declare namespace Models {
5259
5958
  /**
5260
5959
  * Localised names ({de, en, …}).
5261
5960
  */
5262
- labels?: object;
5961
+ labels?: object | null;
5263
5962
  /**
5264
5963
  * Scope: only this market.
5265
5964
  */
5266
- market_id?: string;
5965
+ market_id?: string | null;
5267
5966
  /**
5268
5967
  * Free-form metadata.
5269
5968
  */
5270
- metadata?: object;
5969
+ metadata?: object | null;
5271
5970
  /**
5272
5971
  *
5273
5972
  */
@@ -5275,7 +5974,7 @@ export declare namespace Models {
5275
5974
  /**
5276
5975
  * Scope: only this organization.
5277
5976
  */
5278
- organization_id?: string;
5977
+ organization_id?: string | null;
5279
5978
  /**
5280
5979
  * Tie-breaker within a specificity group (higher wins, default 0).
5281
5980
  */
@@ -5291,11 +5990,11 @@ export declare namespace Models {
5291
5990
  /**
5292
5991
  * Validity window start.
5293
5992
  */
5294
- valid_from?: string;
5993
+ valid_from?: string | null;
5295
5994
  /**
5296
5995
  * Validity window end.
5297
5996
  */
5298
- valid_until?: string;
5997
+ valid_until?: string | null;
5299
5998
  };
5300
5999
  /**
5301
6000
  * Identify by 'product_id' or 'sku' — an item without identity resolves to on_request with a per-item error.
@@ -5304,15 +6003,15 @@ export declare namespace Models {
5304
6003
  /**
5305
6004
  * Product to price.
5306
6005
  */
5307
- product_id?: string;
6006
+ product_id?: string | null;
5308
6007
  /**
5309
6008
  * Requested quantity for tier selection and line_total (default 1; non-positive values fall back to 1).
5310
6009
  */
5311
- quantity?: number;
6010
+ quantity?: number | null;
5312
6011
  /**
5313
6012
  * SKU to price (alternative to product_id).
5314
6013
  */
5315
- sku?: string;
6014
+ sku?: string | null;
5316
6015
  };
5317
6016
  /**
5318
6017
  * Buyer context + items. Unpriceable items come back as on_request — a missing price is a first-class state, never 0.
@@ -5321,19 +6020,19 @@ export declare namespace Models {
5321
6020
  /**
5322
6021
  * Point in time for validity windows (ISO 8601 timestamp, default now).
5323
6022
  */
5324
- at?: string;
6023
+ at?: string | null;
5325
6024
  /**
5326
6025
  * Buyer context: channel.
5327
6026
  */
5328
- channel_id?: string;
6027
+ channel_id?: string | null;
5329
6028
  /**
5330
6029
  * Buyer context: contact — most specific scope.
5331
6030
  */
5332
- contact_id?: string;
6031
+ contact_id?: string | null;
5333
6032
  /**
5334
6033
  * ISO 4217 code (default EUR) — only lists in this currency resolve.
5335
6034
  */
5336
- currency?: string;
6035
+ currency?: string | null;
5337
6036
  /**
5338
6037
  * Items to price (at most 200 per call).
5339
6038
  */
@@ -5341,11 +6040,11 @@ export declare namespace Models {
5341
6040
  /**
5342
6041
  * Buyer context: market.
5343
6042
  */
5344
- market_id?: string;
6043
+ market_id?: string | null;
5345
6044
  /**
5346
6045
  * Buyer context: organization.
5347
6046
  */
5348
- organization_id?: string;
6047
+ organization_id?: string | null;
5349
6048
  };
5350
6049
  /**
5351
6050
  *
@@ -5489,6 +6188,23 @@ export declare namespace Models {
5489
6188
  */
5490
6189
  product_id?: string;
5491
6190
  };
6191
+ /**
6192
+ *
6193
+ */
6194
+ export type ProductTaxRef = {
6195
+ /**
6196
+ *
6197
+ */
6198
+ id?: string;
6199
+ /**
6200
+ *
6201
+ */
6202
+ sku?: string;
6203
+ /**
6204
+ *
6205
+ */
6206
+ tax_class?: string | null;
6207
+ };
5492
6208
  /**
5493
6209
  *
5494
6210
  */
@@ -5541,11 +6257,28 @@ export declare namespace Models {
5541
6257
  *
5542
6258
  */
5543
6259
  sku?: string;
6260
+ /**
6261
+ *
6262
+ */
6263
+ tax_class?: string | null;
5544
6264
  /**
5545
6265
  *
5546
6266
  */
5547
6267
  updated_at?: string;
5548
6268
  };
6269
+ /**
6270
+ *
6271
+ */
6272
+ export type ProductsBatchRequest = {
6273
+ /**
6274
+ *
6275
+ */
6276
+ ids?: string[];
6277
+ /**
6278
+ *
6279
+ */
6280
+ skus?: string[];
6281
+ };
5549
6282
  /**
5550
6283
  *
5551
6284
  */
@@ -5590,6 +6323,10 @@ export declare namespace Models {
5590
6323
  *
5591
6324
  */
5592
6325
  sku: string;
6326
+ /**
6327
+ *
6328
+ */
6329
+ tax_class?: string | null;
5593
6330
  };
5594
6331
  /**
5595
6332
  * Partial update — omitted fields keep their current value.
@@ -5635,6 +6372,10 @@ export declare namespace Models {
5635
6372
  *
5636
6373
  */
5637
6374
  sku?: string;
6375
+ /**
6376
+ *
6377
+ */
6378
+ tax_class?: string | null;
5638
6379
  };
5639
6380
  /**
5640
6381
  *
@@ -5855,18 +6596,34 @@ export declare namespace Models {
5855
6596
  *
5856
6597
  */
5857
6598
  sku?: string | null;
6599
+ /**
6600
+ * Resolved tax class code (from the product, or the market default).
6601
+ */
6602
+ tax_class?: string | null;
5858
6603
  /**
5859
6604
  *
5860
6605
  */
5861
6606
  tax_included?: boolean | null;
6607
+ /**
6608
+ * Tax rate % from markets.tax_classes for this market + tax_class.
6609
+ */
6610
+ tax_rate?: number | null;
5862
6611
  /**
5863
6612
  *
5864
6613
  */
5865
6614
  tiers?: object[];
5866
6615
  /**
5867
- *
6616
+ * Stored price as-is (net or gross per tax_included). Prefer unit_price_net/unit_price_gross.
5868
6617
  */
5869
6618
  unit_price?: number | null;
6619
+ /**
6620
+ * Gross unit price (incl. tax).
6621
+ */
6622
+ unit_price_gross?: number | null;
6623
+ /**
6624
+ * Net unit price (excl. tax).
6625
+ */
6626
+ unit_price_net?: number | null;
5870
6627
  };
5871
6628
  /**
5872
6629
  *
@@ -5875,7 +6632,11 @@ export declare namespace Models {
5875
6632
  /**
5876
6633
  *
5877
6634
  */
5878
- pages?: object[];
6635
+ menus?: object[] | null;
6636
+ /**
6637
+ *
6638
+ */
6639
+ pages?: object[] | null;
5879
6640
  };
5880
6641
  /**
5881
6642
  *
@@ -5957,6 +6718,10 @@ export declare namespace Models {
5957
6718
  *
5958
6719
  */
5959
6720
  pricing_type?: string;
6721
+ /**
6722
+ *
6723
+ */
6724
+ tax_class?: string | null;
5960
6725
  /**
5961
6726
  *
5962
6727
  */
@@ -6160,6 +6925,14 @@ export declare namespace Models {
6160
6925
  *
6161
6926
  */
6162
6927
  pricing_type?: string;
6928
+ /**
6929
+ * Shipping method tax class (or market default).
6930
+ */
6931
+ tax_class?: string | null;
6932
+ /**
6933
+ * Tax rate % from markets.tax_classes for this market + tax_class.
6934
+ */
6935
+ tax_rate?: number | null;
6163
6936
  };
6164
6937
  /**
6165
6938
  *
@@ -6211,6 +6984,23 @@ export declare namespace Models {
6211
6984
  */
6212
6985
  price?: number;
6213
6986
  };
6987
+ /**
6988
+ * A matrix tier of the new set (from_value → price) — null falls back to 0, position derives from the array order.
6989
+ */
6990
+ export type ShippingRateTierReplaceItem = {
6991
+ /**
6992
+ * Tier threshold (default 0) — the tier with the highest from_value at or below the measured value wins.
6993
+ */
6994
+ from_value?: number | null;
6995
+ /**
6996
+ * Ignored — derived from the array index.
6997
+ */
6998
+ position?: number | null;
6999
+ /**
7000
+ * Price of this tier (default 0).
7001
+ */
7002
+ price?: number | null;
7003
+ };
6214
7004
  /**
6215
7005
  * Partial update — omitted fields keep their current value.
6216
7006
  */
@@ -6235,7 +7025,7 @@ export declare namespace Models {
6235
7025
  /**
6236
7026
  * The complete new tier set (set semantics) — positions are derived from the array order.
6237
7027
  */
6238
- tiers: ShippingRateTierCreateRequest[];
7028
+ tiers: ShippingRateTierReplaceItem[];
6239
7029
  };
6240
7030
  /**
6241
7031
  * The buyer context the checkout resolves rates for — matrix methods need their measure (weight, quantity, order value or attribute) to apply.
@@ -6244,27 +7034,31 @@ export declare namespace Models {
6244
7034
  /**
6245
7035
  * Measure values for attribute matrices, keyed by attribute name.
6246
7036
  */
6247
- attributes?: object;
7037
+ attributes?: object | null;
6248
7038
  /**
6249
7039
  * Destination ISO 3166-1 alpha-2 code — checked against method country restrictions.
6250
7040
  */
6251
- country?: string;
7041
+ country?: string | null;
6252
7042
  /**
6253
7043
  * Echoed into the rates (default 'EUR').
6254
7044
  */
6255
- currency?: string;
7045
+ currency?: string | null;
7046
+ /**
7047
+ * Buyer market for tax resolution (else inferred from country, else first market).
7048
+ */
7049
+ market_id?: string | null;
6256
7050
  /**
6257
7051
  * Order value (default 0) — drives free-above thresholds and order_value matrices.
6258
7052
  */
6259
- order_value?: number;
7053
+ order_value?: number | null;
6260
7054
  /**
6261
7055
  * Total quantity — measure for quantity matrices.
6262
7056
  */
6263
- quantity?: number;
7057
+ quantity?: number | null;
6264
7058
  /**
6265
7059
  * Total weight — measure for weight matrices.
6266
7060
  */
6267
- weight?: number;
7061
+ weight?: number | null;
6268
7062
  };
6269
7063
  /**
6270
7064
  *
@@ -6322,7 +7116,7 @@ export declare namespace Models {
6322
7116
  /**
6323
7117
  * Free-form metadata.
6324
7118
  */
6325
- metadata?: object;
7119
+ metadata?: object | null;
6326
7120
  /**
6327
7121
  * Physical stock (default 0).
6328
7122
  */
@@ -6330,7 +7124,7 @@ export declare namespace Models {
6330
7124
  /**
6331
7125
  * Tracked product.
6332
7126
  */
6333
- product_id?: string;
7127
+ product_id?: string | null;
6334
7128
  /**
6335
7129
  *
6336
7130
  */
@@ -6342,7 +7136,7 @@ export declare namespace Models {
6342
7136
  /**
6343
7137
  * Tracked SKU (alternative to product_id).
6344
7138
  */
6345
- sku?: string;
7139
+ sku?: string | null;
6346
7140
  };
6347
7141
  /**
6348
7142
  * Partial update — omitted fields keep their current value.
@@ -6355,7 +7149,7 @@ export declare namespace Models {
6355
7149
  /**
6356
7150
  * Free-form metadata.
6357
7151
  */
6358
- metadata?: object;
7152
+ metadata?: object | null;
6359
7153
  /**
6360
7154
  * Physical stock (default 0).
6361
7155
  */
@@ -6363,7 +7157,7 @@ export declare namespace Models {
6363
7157
  /**
6364
7158
  * Tracked product.
6365
7159
  */
6366
- product_id?: string;
7160
+ product_id?: string | null;
6367
7161
  /**
6368
7162
  *
6369
7163
  */
@@ -6375,7 +7169,7 @@ export declare namespace Models {
6375
7169
  /**
6376
7170
  * Tracked SKU (alternative to product_id).
6377
7171
  */
6378
- sku?: string;
7172
+ sku?: string | null;
6379
7173
  };
6380
7174
  /**
6381
7175
  *
@@ -6422,6 +7216,141 @@ export declare namespace Models {
6422
7216
  */
6423
7217
  type?: string;
6424
7218
  };
7219
+ /**
7220
+ *
7221
+ */
7222
+ export type StoreAssetRequest = {
7223
+ /**
7224
+ *
7225
+ */
7226
+ alt_text?: string | null;
7227
+ /**
7228
+ *
7229
+ */
7230
+ description?: string | null;
7231
+ /**
7232
+ *
7233
+ */
7234
+ display_name?: string | null;
7235
+ /**
7236
+ *
7237
+ */
7238
+ file: string;
7239
+ /**
7240
+ *
7241
+ */
7242
+ folder_id?: string | null;
7243
+ /**
7244
+ *
7245
+ */
7246
+ keep_archive?: boolean | null;
7247
+ /**
7248
+ *
7249
+ */
7250
+ tags?: string[] | null;
7251
+ /**
7252
+ * Archives only: unpack the members after upload (see AssetController).
7253
+ */
7254
+ unpack?: boolean | null;
7255
+ /**
7256
+ *
7257
+ */
7258
+ visibility?: StoreAssetRequestVisibility;
7259
+ };
7260
+ /**
7261
+ *
7262
+ */
7263
+ export type SyncHistory = {
7264
+ /**
7265
+ *
7266
+ */
7267
+ bytes_synced: number | null;
7268
+ /**
7269
+ *
7270
+ */
7271
+ created_at: string | null;
7272
+ /**
7273
+ *
7274
+ */
7275
+ duration_ms: number | null;
7276
+ /**
7277
+ *
7278
+ */
7279
+ error: string | null;
7280
+ /**
7281
+ *
7282
+ */
7283
+ id: number;
7284
+ /**
7285
+ *
7286
+ */
7287
+ rule_id: string;
7288
+ /**
7289
+ *
7290
+ */
7291
+ run_id: string;
7292
+ /**
7293
+ *
7294
+ */
7295
+ source_path: string;
7296
+ /**
7297
+ *
7298
+ */
7299
+ status: string;
7300
+ /**
7301
+ *
7302
+ */
7303
+ target_asset_id: string | null;
7304
+ /**
7305
+ *
7306
+ */
7307
+ tenant_id: string;
7308
+ };
7309
+ /**
7310
+ *
7311
+ */
7312
+ export type SyncRuleResource = {
7313
+ /**
7314
+ *
7315
+ */
7316
+ created_at: string;
7317
+ /**
7318
+ *
7319
+ */
7320
+ enabled: boolean;
7321
+ /**
7322
+ *
7323
+ */
7324
+ id: string;
7325
+ /**
7326
+ *
7327
+ */
7328
+ last_run_at: string;
7329
+ /**
7330
+ *
7331
+ */
7332
+ options: any[];
7333
+ /**
7334
+ *
7335
+ */
7336
+ schedule: string;
7337
+ /**
7338
+ *
7339
+ */
7340
+ sftp_account_id: string;
7341
+ /**
7342
+ *
7343
+ */
7344
+ source_path: string;
7345
+ /**
7346
+ *
7347
+ */
7348
+ target_folder_id: string | null;
7349
+ /**
7350
+ *
7351
+ */
7352
+ tenant_id: string;
7353
+ };
6425
7354
  /**
6426
7355
  *
6427
7356
  */
@@ -7349,19 +8278,6 @@ export declare namespace Models {
7349
8278
  */
7350
8279
  transformations: boolean;
7351
8280
  };
7352
- /**
7353
- * Buckets List
7354
- */
7355
- export type BucketList = {
7356
- /**
7357
- * List of buckets.
7358
- */
7359
- buckets: Bucket[];
7360
- /**
7361
- * Total number of buckets that matched your query.
7362
- */
7363
- total: number;
7364
- };
7365
8281
  /**
7366
8282
  * Collection
7367
8283
  */