@01.software/sdk 0.2.9-dev.260306.4e16dd4 → 0.2.9-dev.260309.c56872d

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.
@@ -44,12 +44,14 @@ interface Config {
44
44
  orders: Order;
45
45
  'order-products': OrderProduct;
46
46
  transactions: Transaction;
47
+ 'order-status-logs': OrderStatusLog;
47
48
  fulfillments: Fulfillment;
48
49
  'fulfillment-items': FulfillmentItem;
49
50
  returns: Return;
50
51
  'return-products': ReturnProduct;
51
52
  exchanges: Exchange;
52
53
  'exchange-products': ExchangeProduct;
54
+ 'shipping-policies': ShippingPolicy;
53
55
  customers: Customer;
54
56
  'customer-addresses': CustomerAddress;
55
57
  'customer-groups': CustomerGroup;
@@ -57,7 +59,6 @@ interface Config {
57
59
  carts: Cart;
58
60
  'cart-items': CartItem;
59
61
  discounts: Discount;
60
- 'shipping-policies': ShippingPolicy;
61
62
  posts: Post;
62
63
  'post-authors': PostAuthor;
63
64
  'post-categories': PostCategory;
@@ -70,8 +71,16 @@ interface Config {
70
71
  playlists: Playlist;
71
72
  musics: Music;
72
73
  'playlist-images': PlaylistImage;
74
+ galleries: Gallery;
75
+ 'gallery-images': GalleryImage;
76
+ 'gallery-categories': GalleryCategory;
73
77
  flows: Flow;
78
+ 'flow-node-types': FlowNodeType;
79
+ 'flow-edge-types': FlowEdgeType;
74
80
  'flow-images': FlowImage;
81
+ videos: Video;
82
+ 'live-streams': LiveStream;
83
+ 'live-stream-images': LiveStreamImage;
75
84
  forms: Form;
76
85
  'form-submissions': FormSubmission;
77
86
  'payload-kv': PayloadKv;
@@ -120,6 +129,9 @@ interface Config {
120
129
  playlists: {
121
130
  musics: 'musics';
122
131
  };
132
+ galleries: {
133
+ images: 'gallery-images';
134
+ };
123
135
  };
124
136
  collectionsSelect: {
125
137
  users: UsersSelect<false> | UsersSelect<true>;
@@ -145,12 +157,14 @@ interface Config {
145
157
  orders: OrdersSelect<false> | OrdersSelect<true>;
146
158
  'order-products': OrderProductsSelect<false> | OrderProductsSelect<true>;
147
159
  transactions: TransactionsSelect<false> | TransactionsSelect<true>;
160
+ 'order-status-logs': OrderStatusLogsSelect<false> | OrderStatusLogsSelect<true>;
148
161
  fulfillments: FulfillmentsSelect<false> | FulfillmentsSelect<true>;
149
162
  'fulfillment-items': FulfillmentItemsSelect<false> | FulfillmentItemsSelect<true>;
150
163
  returns: ReturnsSelect<false> | ReturnsSelect<true>;
151
164
  'return-products': ReturnProductsSelect<false> | ReturnProductsSelect<true>;
152
165
  exchanges: ExchangesSelect<false> | ExchangesSelect<true>;
153
166
  'exchange-products': ExchangeProductsSelect<false> | ExchangeProductsSelect<true>;
167
+ 'shipping-policies': ShippingPoliciesSelect<false> | ShippingPoliciesSelect<true>;
154
168
  customers: CustomersSelect<false> | CustomersSelect<true>;
155
169
  'customer-addresses': CustomerAddressesSelect<false> | CustomerAddressesSelect<true>;
156
170
  'customer-groups': CustomerGroupsSelect<false> | CustomerGroupsSelect<true>;
@@ -158,7 +172,6 @@ interface Config {
158
172
  carts: CartsSelect<false> | CartsSelect<true>;
159
173
  'cart-items': CartItemsSelect<false> | CartItemsSelect<true>;
160
174
  discounts: DiscountsSelect<false> | DiscountsSelect<true>;
161
- 'shipping-policies': ShippingPoliciesSelect<false> | ShippingPoliciesSelect<true>;
162
175
  posts: PostsSelect<false> | PostsSelect<true>;
163
176
  'post-authors': PostAuthorsSelect<false> | PostAuthorsSelect<true>;
164
177
  'post-categories': PostCategoriesSelect<false> | PostCategoriesSelect<true>;
@@ -171,8 +184,16 @@ interface Config {
171
184
  playlists: PlaylistsSelect<false> | PlaylistsSelect<true>;
172
185
  musics: MusicsSelect<false> | MusicsSelect<true>;
173
186
  'playlist-images': PlaylistImagesSelect<false> | PlaylistImagesSelect<true>;
187
+ galleries: GalleriesSelect<false> | GalleriesSelect<true>;
188
+ 'gallery-images': GalleryImagesSelect<false> | GalleryImagesSelect<true>;
189
+ 'gallery-categories': GalleryCategoriesSelect<false> | GalleryCategoriesSelect<true>;
174
190
  flows: FlowsSelect<false> | FlowsSelect<true>;
191
+ 'flow-node-types': FlowNodeTypesSelect<false> | FlowNodeTypesSelect<true>;
192
+ 'flow-edge-types': FlowEdgeTypesSelect<false> | FlowEdgeTypesSelect<true>;
175
193
  'flow-images': FlowImagesSelect<false> | FlowImagesSelect<true>;
194
+ videos: VideosSelect<false> | VideosSelect<true>;
195
+ 'live-streams': LiveStreamsSelect<false> | LiveStreamsSelect<true>;
196
+ 'live-stream-images': LiveStreamImagesSelect<false> | LiveStreamImagesSelect<true>;
176
197
  forms: FormsSelect<false> | FormsSelect<true>;
177
198
  'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
178
199
  'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
@@ -308,8 +329,12 @@ interface User {
308
329
  interface Tenant {
309
330
  id: string;
310
331
  name: string;
332
+ /**
333
+ * Tenant owner. Only the owner can delete the tenant or transfer ownership.
334
+ */
335
+ owner: string | User;
311
336
  plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
312
- features?: ('ecommerce' | 'playlists' | 'forms' | 'posts' | 'documents' | 'flows')[] | null;
337
+ features?: ('ecommerce' | 'playlists' | 'galleries' | 'forms' | 'posts' | 'documents' | 'flows' | 'videos' | 'live-streaming')[] | null;
313
338
  /**
314
339
  * Allowed CORS origins for browser SDK requests. Empty = all origins allowed.
315
340
  */
@@ -721,6 +746,14 @@ interface ApiUsage {
721
746
  * Total document count across all tenant-scoped collections
722
747
  */
723
748
  totalDocuments?: number | null;
749
+ /**
750
+ * Number of video documents
751
+ */
752
+ videoCount?: number | null;
753
+ /**
754
+ * Weighted video minutes used (duration × quality multiplier)
755
+ */
756
+ videoMinutesUsed?: number | null;
724
757
  updatedAt: string;
725
758
  createdAt: string;
726
759
  }
@@ -1031,7 +1064,15 @@ interface ProductImage {
1031
1064
  focalX?: number | null;
1032
1065
  focalY?: number | null;
1033
1066
  sizes?: {
1034
- '384'?: {
1067
+ '200'?: {
1068
+ url?: string | null;
1069
+ width?: number | null;
1070
+ height?: number | null;
1071
+ mimeType?: string | null;
1072
+ filesize?: number | null;
1073
+ filename?: string | null;
1074
+ };
1075
+ '400'?: {
1035
1076
  url?: string | null;
1036
1077
  width?: number | null;
1037
1078
  height?: number | null;
@@ -1039,7 +1080,7 @@ interface ProductImage {
1039
1080
  filesize?: number | null;
1040
1081
  filename?: string | null;
1041
1082
  };
1042
- '768'?: {
1083
+ '800'?: {
1043
1084
  url?: string | null;
1044
1085
  width?: number | null;
1045
1086
  height?: number | null;
@@ -1047,7 +1088,7 @@ interface ProductImage {
1047
1088
  filesize?: number | null;
1048
1089
  filename?: string | null;
1049
1090
  };
1050
- '1536'?: {
1091
+ '1600'?: {
1051
1092
  url?: string | null;
1052
1093
  width?: number | null;
1053
1094
  height?: number | null;
@@ -1321,6 +1362,10 @@ interface Order {
1321
1362
  totalAmount?: number | null;
1322
1363
  discountCode?: string | null;
1323
1364
  discountAmount?: number | null;
1365
+ /**
1366
+ * Cumulative refunded amount
1367
+ */
1368
+ refundedAmount?: number | null;
1324
1369
  /**
1325
1370
  * Internal notes (not visible to customers)
1326
1371
  */
@@ -1488,7 +1533,15 @@ interface CustomerGroupImage {
1488
1533
  focalX?: number | null;
1489
1534
  focalY?: number | null;
1490
1535
  sizes?: {
1491
- '384'?: {
1536
+ '200'?: {
1537
+ url?: string | null;
1538
+ width?: number | null;
1539
+ height?: number | null;
1540
+ mimeType?: string | null;
1541
+ filesize?: number | null;
1542
+ filename?: string | null;
1543
+ };
1544
+ '400'?: {
1492
1545
  url?: string | null;
1493
1546
  width?: number | null;
1494
1547
  height?: number | null;
@@ -1496,7 +1549,7 @@ interface CustomerGroupImage {
1496
1549
  filesize?: number | null;
1497
1550
  filename?: string | null;
1498
1551
  };
1499
- '768'?: {
1552
+ '800'?: {
1500
1553
  url?: string | null;
1501
1554
  width?: number | null;
1502
1555
  height?: number | null;
@@ -1504,7 +1557,7 @@ interface CustomerGroupImage {
1504
1557
  filesize?: number | null;
1505
1558
  filename?: string | null;
1506
1559
  };
1507
- '1536'?: {
1560
+ '1600'?: {
1508
1561
  url?: string | null;
1509
1562
  width?: number | null;
1510
1563
  height?: number | null;
@@ -1567,6 +1620,7 @@ interface OrderProduct {
1567
1620
  interface Transaction {
1568
1621
  id: string;
1569
1622
  tenant?: (string | null) | Tenant;
1623
+ type: 'payment' | 'refund';
1570
1624
  status: 'pending' | 'paid' | 'failed' | 'canceled';
1571
1625
  order: string | Order;
1572
1626
  paymentId?: string | null;
@@ -1648,7 +1702,7 @@ interface ReturnProduct {
1648
1702
  tenant?: (string | null) | Tenant;
1649
1703
  return: string | Return;
1650
1704
  order: string | Order;
1651
- status: 'requested' | 'processing' | 'approved' | 'rejected';
1705
+ status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
1652
1706
  orderProduct: string | OrderProduct;
1653
1707
  product: string | Product;
1654
1708
  variant: string | ProductVariant;
@@ -1707,6 +1761,27 @@ interface ExchangeProduct {
1707
1761
  updatedAt: string;
1708
1762
  createdAt: string;
1709
1763
  }
1764
+ /**
1765
+ * This interface was referenced by `Config`'s JSON-Schema
1766
+ * via the `definition` "order-status-logs".
1767
+ */
1768
+ interface OrderStatusLog {
1769
+ id: string;
1770
+ tenant?: (string | null) | Tenant;
1771
+ order: string | Order;
1772
+ fromStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
1773
+ toStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
1774
+ /**
1775
+ * 'user:{id}' | 'api:updateOrder' | 'system:transaction:{paymentId}' | 'system:fulfillment:{id}' | 'system:return:{id}'
1776
+ */
1777
+ changedBy: string;
1778
+ reason?: string | null;
1779
+ metadata?: {
1780
+ [k: string]: unknown;
1781
+ } | unknown[] | string | number | boolean | null;
1782
+ updatedAt: string;
1783
+ createdAt: string;
1784
+ }
1710
1785
  /**
1711
1786
  * This interface was referenced by `Config`'s JSON-Schema
1712
1787
  * via the `definition` "carts".
@@ -1916,7 +1991,15 @@ interface PostImage {
1916
1991
  focalX?: number | null;
1917
1992
  focalY?: number | null;
1918
1993
  sizes?: {
1919
- '384'?: {
1994
+ '200'?: {
1995
+ url?: string | null;
1996
+ width?: number | null;
1997
+ height?: number | null;
1998
+ mimeType?: string | null;
1999
+ filesize?: number | null;
2000
+ filename?: string | null;
2001
+ };
2002
+ '400'?: {
1920
2003
  url?: string | null;
1921
2004
  width?: number | null;
1922
2005
  height?: number | null;
@@ -1924,7 +2007,7 @@ interface PostImage {
1924
2007
  filesize?: number | null;
1925
2008
  filename?: string | null;
1926
2009
  };
1927
- '768'?: {
2010
+ '800'?: {
1928
2011
  url?: string | null;
1929
2012
  width?: number | null;
1930
2013
  height?: number | null;
@@ -1932,7 +2015,7 @@ interface PostImage {
1932
2015
  filesize?: number | null;
1933
2016
  filename?: string | null;
1934
2017
  };
1935
- '1536'?: {
2018
+ '1600'?: {
1936
2019
  url?: string | null;
1937
2020
  width?: number | null;
1938
2021
  height?: number | null;
@@ -2132,7 +2215,15 @@ interface DocumentImage {
2132
2215
  focalX?: number | null;
2133
2216
  focalY?: number | null;
2134
2217
  sizes?: {
2135
- '384'?: {
2218
+ '200'?: {
2219
+ url?: string | null;
2220
+ width?: number | null;
2221
+ height?: number | null;
2222
+ mimeType?: string | null;
2223
+ filesize?: number | null;
2224
+ filename?: string | null;
2225
+ };
2226
+ '400'?: {
2136
2227
  url?: string | null;
2137
2228
  width?: number | null;
2138
2229
  height?: number | null;
@@ -2140,7 +2231,7 @@ interface DocumentImage {
2140
2231
  filesize?: number | null;
2141
2232
  filename?: string | null;
2142
2233
  };
2143
- '768'?: {
2234
+ '800'?: {
2144
2235
  url?: string | null;
2145
2236
  width?: number | null;
2146
2237
  height?: number | null;
@@ -2148,7 +2239,7 @@ interface DocumentImage {
2148
2239
  filesize?: number | null;
2149
2240
  filename?: string | null;
2150
2241
  };
2151
- '1536'?: {
2242
+ '1600'?: {
2152
2243
  url?: string | null;
2153
2244
  width?: number | null;
2154
2245
  height?: number | null;
@@ -2269,7 +2360,7 @@ interface PlaylistImage {
2269
2360
  focalX?: number | null;
2270
2361
  focalY?: number | null;
2271
2362
  sizes?: {
2272
- '384'?: {
2363
+ '200'?: {
2273
2364
  url?: string | null;
2274
2365
  width?: number | null;
2275
2366
  height?: number | null;
@@ -2277,7 +2368,7 @@ interface PlaylistImage {
2277
2368
  filesize?: number | null;
2278
2369
  filename?: string | null;
2279
2370
  };
2280
- '768'?: {
2371
+ '400'?: {
2281
2372
  url?: string | null;
2282
2373
  width?: number | null;
2283
2374
  height?: number | null;
@@ -2285,7 +2376,15 @@ interface PlaylistImage {
2285
2376
  filesize?: number | null;
2286
2377
  filename?: string | null;
2287
2378
  };
2288
- '1536'?: {
2379
+ '800'?: {
2380
+ url?: string | null;
2381
+ width?: number | null;
2382
+ height?: number | null;
2383
+ mimeType?: string | null;
2384
+ filesize?: number | null;
2385
+ filename?: string | null;
2386
+ };
2387
+ '1600'?: {
2289
2388
  url?: string | null;
2290
2389
  width?: number | null;
2291
2390
  height?: number | null;
@@ -2297,22 +2396,27 @@ interface PlaylistImage {
2297
2396
  }
2298
2397
  /**
2299
2398
  * This interface was referenced by `Config`'s JSON-Schema
2300
- * via the `definition` "flows".
2399
+ * via the `definition` "galleries".
2301
2400
  */
2302
- interface Flow {
2401
+ interface Gallery {
2303
2402
  id: string;
2403
+ _order?: string | null;
2304
2404
  tenant?: (string | null) | Tenant;
2305
2405
  title: string;
2406
+ description?: string | null;
2407
+ images?: {
2408
+ docs?: (string | GalleryImage)[];
2409
+ hasNextPage?: boolean;
2410
+ totalDocs?: number;
2411
+ };
2412
+ categories?: (string | GalleryCategory)[] | null;
2413
+ status: 'draft' | 'published';
2414
+ thumbnail?: (string | null) | GalleryImage;
2306
2415
  /**
2307
2416
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2308
2417
  */
2309
2418
  generateSlug?: boolean | null;
2310
2419
  slug?: string | null;
2311
- description?: string | null;
2312
- canvas: {
2313
- [k: string]: unknown;
2314
- } | unknown[] | string | number | boolean | null;
2315
- status?: ('draft' | 'published') | null;
2316
2420
  metadata?: {
2317
2421
  [k: string]: unknown;
2318
2422
  } | unknown[] | string | number | boolean | null;
@@ -2322,11 +2426,29 @@ interface Flow {
2322
2426
  }
2323
2427
  /**
2324
2428
  * This interface was referenced by `Config`'s JSON-Schema
2325
- * via the `definition` "flow-images".
2429
+ * via the `definition` "gallery-images".
2326
2430
  */
2327
- interface FlowImage {
2431
+ interface GalleryImage {
2328
2432
  id: string;
2433
+ '_gallery-images_images_order'?: string | null;
2329
2434
  tenant?: (string | null) | Tenant;
2435
+ gallery: string | Gallery;
2436
+ title?: string | null;
2437
+ content?: {
2438
+ root: {
2439
+ type: string;
2440
+ children: {
2441
+ type: any;
2442
+ version: number;
2443
+ [k: string]: unknown;
2444
+ }[];
2445
+ direction: ('ltr' | 'rtl') | null;
2446
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
2447
+ indent: number;
2448
+ version: number;
2449
+ };
2450
+ [k: string]: unknown;
2451
+ } | null;
2330
2452
  alt?: string | null;
2331
2453
  lqip?: string | null;
2332
2454
  palette?: {
@@ -2350,7 +2472,15 @@ interface FlowImage {
2350
2472
  focalX?: number | null;
2351
2473
  focalY?: number | null;
2352
2474
  sizes?: {
2353
- '384'?: {
2475
+ '200'?: {
2476
+ url?: string | null;
2477
+ width?: number | null;
2478
+ height?: number | null;
2479
+ mimeType?: string | null;
2480
+ filesize?: number | null;
2481
+ filename?: string | null;
2482
+ };
2483
+ '400'?: {
2354
2484
  url?: string | null;
2355
2485
  width?: number | null;
2356
2486
  height?: number | null;
@@ -2358,7 +2488,7 @@ interface FlowImage {
2358
2488
  filesize?: number | null;
2359
2489
  filename?: string | null;
2360
2490
  };
2361
- '768'?: {
2491
+ '800'?: {
2362
2492
  url?: string | null;
2363
2493
  width?: number | null;
2364
2494
  height?: number | null;
@@ -2366,7 +2496,7 @@ interface FlowImage {
2366
2496
  filesize?: number | null;
2367
2497
  filename?: string | null;
2368
2498
  };
2369
- '1536'?: {
2499
+ '1600'?: {
2370
2500
  url?: string | null;
2371
2501
  width?: number | null;
2372
2502
  height?: number | null;
@@ -2378,107 +2508,423 @@ interface FlowImage {
2378
2508
  }
2379
2509
  /**
2380
2510
  * This interface was referenced by `Config`'s JSON-Schema
2381
- * via the `definition` "forms".
2511
+ * via the `definition` "gallery-categories".
2382
2512
  */
2383
- interface Form {
2513
+ interface GalleryCategory {
2384
2514
  id: string;
2385
2515
  _order?: string | null;
2386
2516
  tenant?: (string | null) | Tenant;
2387
2517
  title: string;
2518
+ /**
2519
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
2520
+ */
2521
+ generateSlug?: boolean | null;
2522
+ slug?: string | null;
2388
2523
  description?: string | null;
2389
- status: 'active' | 'inactive';
2524
+ image?: (string | null) | GalleryImage;
2525
+ parent?: (string | null) | GalleryCategory;
2526
+ color?: string | null;
2527
+ updatedAt: string;
2528
+ createdAt: string;
2529
+ deletedAt?: string | null;
2530
+ }
2531
+ /**
2532
+ * This interface was referenced by `Config`'s JSON-Schema
2533
+ * via the `definition` "flows".
2534
+ */
2535
+ interface Flow {
2536
+ id: string;
2537
+ tenant?: (string | null) | Tenant;
2538
+ title: string;
2390
2539
  /**
2391
2540
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2392
2541
  */
2393
2542
  generateSlug?: boolean | null;
2394
2543
  slug?: string | null;
2395
- fields?: ({
2396
- name: string;
2397
- label?: string | null;
2398
- width?: number | null;
2399
- required?: boolean | null;
2400
- defaultValue?: boolean | null;
2401
- id?: string | null;
2402
- blockName?: string | null;
2403
- blockType: 'checkbox';
2404
- } | {
2405
- name: string;
2406
- label?: string | null;
2407
- width?: number | null;
2408
- required?: boolean | null;
2409
- id?: string | null;
2410
- blockName?: string | null;
2411
- blockType: 'country';
2412
- } | {
2413
- name: string;
2414
- label?: string | null;
2415
- width?: number | null;
2416
- required?: boolean | null;
2417
- id?: string | null;
2418
- blockName?: string | null;
2419
- blockType: 'email';
2420
- } | {
2421
- message?: {
2422
- root: {
2423
- type: string;
2424
- children: {
2425
- type: any;
2426
- version: number;
2427
- [k: string]: unknown;
2428
- }[];
2429
- direction: ('ltr' | 'rtl') | null;
2430
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
2431
- indent: number;
2432
- version: number;
2433
- };
2434
- [k: string]: unknown;
2435
- } | null;
2436
- id?: string | null;
2437
- blockName?: string | null;
2438
- blockType: 'message';
2439
- } | {
2440
- name: string;
2441
- label?: string | null;
2544
+ description?: string | null;
2545
+ canvas: {
2546
+ [k: string]: unknown;
2547
+ } | unknown[] | string | number | boolean | null;
2548
+ status?: ('draft' | 'published') | null;
2549
+ metadata?: {
2550
+ [k: string]: unknown;
2551
+ } | unknown[] | string | number | boolean | null;
2552
+ updatedAt: string;
2553
+ createdAt: string;
2554
+ deletedAt?: string | null;
2555
+ _status?: ('draft' | 'published') | null;
2556
+ }
2557
+ /**
2558
+ * This interface was referenced by `Config`'s JSON-Schema
2559
+ * via the `definition` "flow-node-types".
2560
+ */
2561
+ interface FlowNodeType {
2562
+ id: string;
2563
+ _order?: string | null;
2564
+ tenant?: (string | null) | Tenant;
2565
+ title: string;
2566
+ /**
2567
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
2568
+ */
2569
+ generateSlug?: boolean | null;
2570
+ slug?: string | null;
2571
+ color?: string | null;
2572
+ defaultSize?: {
2442
2573
  width?: number | null;
2443
- defaultValue?: number | null;
2444
- required?: boolean | null;
2445
- id?: string | null;
2446
- blockName?: string | null;
2447
- blockType: 'number';
2448
- } | {
2574
+ height?: number | null;
2575
+ };
2576
+ /**
2577
+ * Display node with transparent background
2578
+ */
2579
+ transparentBackground?: boolean | null;
2580
+ /**
2581
+ * Define custom fields to display on node
2582
+ */
2583
+ fields?: {
2584
+ /**
2585
+ * English key (e.g. body, url)
2586
+ */
2449
2587
  name: string;
2450
- label?: string | null;
2451
- width?: number | null;
2452
- defaultValue?: string | null;
2453
- placeholder?: string | null;
2588
+ label: string;
2589
+ fieldType: 'text' | 'textarea' | 'number' | 'url' | 'color' | 'image' | 'select' | 'toggle';
2454
2590
  options?: {
2455
2591
  label: string;
2456
2592
  value: string;
2457
2593
  id?: string | null;
2458
2594
  }[] | null;
2595
+ defaultValue?: string | null;
2459
2596
  required?: boolean | null;
2460
2597
  id?: string | null;
2461
- blockName?: string | null;
2462
- blockType: 'select';
2463
- } | {
2464
- name: string;
2465
- label?: string | null;
2466
- width?: number | null;
2467
- required?: boolean | null;
2468
- id?: string | null;
2469
- blockName?: string | null;
2470
- blockType: 'state';
2471
- } | {
2598
+ }[] | null;
2599
+ updatedAt: string;
2600
+ createdAt: string;
2601
+ deletedAt?: string | null;
2602
+ }
2603
+ /**
2604
+ * This interface was referenced by `Config`'s JSON-Schema
2605
+ * via the `definition` "flow-edge-types".
2606
+ */
2607
+ interface FlowEdgeType {
2608
+ id: string;
2609
+ _order?: string | null;
2610
+ tenant?: (string | null) | Tenant;
2611
+ title: string;
2612
+ /**
2613
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
2614
+ */
2615
+ generateSlug?: boolean | null;
2616
+ slug?: string | null;
2617
+ color?: string | null;
2618
+ strokeWidth?: number | null;
2619
+ animated?: boolean | null;
2620
+ lineStyle?: ('default' | 'step' | 'smoothstep' | 'bezier') | null;
2621
+ /**
2622
+ * Define custom fields to display on edge
2623
+ */
2624
+ fields?: {
2625
+ /**
2626
+ * English key (e.g. condition, weight)
2627
+ */
2472
2628
  name: string;
2473
- label?: string | null;
2474
- width?: number | null;
2629
+ label: string;
2630
+ fieldType: 'text' | 'textarea' | 'number' | 'url' | 'color' | 'select' | 'toggle';
2631
+ options?: {
2632
+ label: string;
2633
+ value: string;
2634
+ id?: string | null;
2635
+ }[] | null;
2475
2636
  defaultValue?: string | null;
2476
2637
  required?: boolean | null;
2477
- placeholder?: string | null;
2478
2638
  id?: string | null;
2479
- blockName?: string | null;
2480
- blockType: 'text';
2481
- } | {
2639
+ }[] | null;
2640
+ updatedAt: string;
2641
+ createdAt: string;
2642
+ deletedAt?: string | null;
2643
+ }
2644
+ /**
2645
+ * This interface was referenced by `Config`'s JSON-Schema
2646
+ * via the `definition` "flow-images".
2647
+ */
2648
+ interface FlowImage {
2649
+ id: string;
2650
+ tenant?: (string | null) | Tenant;
2651
+ alt?: string | null;
2652
+ lqip?: string | null;
2653
+ palette?: {
2654
+ vibrant?: string | null;
2655
+ muted?: string | null;
2656
+ darkVibrant?: string | null;
2657
+ darkMuted?: string | null;
2658
+ lightVibrant?: string | null;
2659
+ lightMuted?: string | null;
2660
+ };
2661
+ prefix?: string | null;
2662
+ updatedAt: string;
2663
+ createdAt: string;
2664
+ url?: string | null;
2665
+ thumbnailURL?: string | null;
2666
+ filename?: string | null;
2667
+ mimeType?: string | null;
2668
+ filesize?: number | null;
2669
+ width?: number | null;
2670
+ height?: number | null;
2671
+ focalX?: number | null;
2672
+ focalY?: number | null;
2673
+ sizes?: {
2674
+ '200'?: {
2675
+ url?: string | null;
2676
+ width?: number | null;
2677
+ height?: number | null;
2678
+ mimeType?: string | null;
2679
+ filesize?: number | null;
2680
+ filename?: string | null;
2681
+ };
2682
+ '400'?: {
2683
+ url?: string | null;
2684
+ width?: number | null;
2685
+ height?: number | null;
2686
+ mimeType?: string | null;
2687
+ filesize?: number | null;
2688
+ filename?: string | null;
2689
+ };
2690
+ '800'?: {
2691
+ url?: string | null;
2692
+ width?: number | null;
2693
+ height?: number | null;
2694
+ mimeType?: string | null;
2695
+ filesize?: number | null;
2696
+ filename?: string | null;
2697
+ };
2698
+ '1600'?: {
2699
+ url?: string | null;
2700
+ width?: number | null;
2701
+ height?: number | null;
2702
+ mimeType?: string | null;
2703
+ filesize?: number | null;
2704
+ filename?: string | null;
2705
+ };
2706
+ };
2707
+ }
2708
+ /**
2709
+ * This interface was referenced by `Config`'s JSON-Schema
2710
+ * via the `definition` "videos".
2711
+ */
2712
+ interface Video {
2713
+ id: string;
2714
+ tenant?: (string | null) | Tenant;
2715
+ title?: string | null;
2716
+ filename?: string | null;
2717
+ description?: string | null;
2718
+ sourceLiveStream?: (string | null) | LiveStream;
2719
+ status?: ('waiting' | 'preparing' | 'ready' | 'errored') | null;
2720
+ duration?: number | null;
2721
+ aspectRatio?: string | null;
2722
+ maxResolution?: string | null;
2723
+ videoQuality?: ('basic' | 'plus' | 'premium') | null;
2724
+ mp4Support?: ('none' | 'standard' | 'capped-1080p') | null;
2725
+ muxAssetId?: string | null;
2726
+ muxPlaybackId?: string | null;
2727
+ muxUploadId?: string | null;
2728
+ metadata?: {
2729
+ [k: string]: unknown;
2730
+ } | unknown[] | string | number | boolean | null;
2731
+ updatedAt: string;
2732
+ createdAt: string;
2733
+ deletedAt?: string | null;
2734
+ }
2735
+ /**
2736
+ * This interface was referenced by `Config`'s JSON-Schema
2737
+ * via the `definition` "live-streams".
2738
+ */
2739
+ interface LiveStream {
2740
+ id: string;
2741
+ tenant?: (string | null) | Tenant;
2742
+ title?: string | null;
2743
+ description?: string | null;
2744
+ muxLiveStreamId?: string | null;
2745
+ muxPlaybackId?: string | null;
2746
+ streamKey?: string | null;
2747
+ status?: ('idle' | 'active' | 'disabled') | null;
2748
+ latencyMode?: ('standard' | 'reduced' | 'low') | null;
2749
+ /**
2750
+ * Reconnect window (seconds)
2751
+ */
2752
+ reconnectWindow?: number | null;
2753
+ activeAssetId?: string | null;
2754
+ recentAssetIds?: {
2755
+ [k: string]: unknown;
2756
+ } | unknown[] | string | number | boolean | null;
2757
+ updatedAt: string;
2758
+ createdAt: string;
2759
+ deletedAt?: string | null;
2760
+ }
2761
+ /**
2762
+ * This interface was referenced by `Config`'s JSON-Schema
2763
+ * via the `definition` "live-stream-images".
2764
+ */
2765
+ interface LiveStreamImage {
2766
+ id: string;
2767
+ tenant?: (string | null) | Tenant;
2768
+ alt?: string | null;
2769
+ lqip?: string | null;
2770
+ palette?: {
2771
+ vibrant?: string | null;
2772
+ muted?: string | null;
2773
+ darkVibrant?: string | null;
2774
+ darkMuted?: string | null;
2775
+ lightVibrant?: string | null;
2776
+ lightMuted?: string | null;
2777
+ };
2778
+ prefix?: string | null;
2779
+ updatedAt: string;
2780
+ createdAt: string;
2781
+ url?: string | null;
2782
+ thumbnailURL?: string | null;
2783
+ filename?: string | null;
2784
+ mimeType?: string | null;
2785
+ filesize?: number | null;
2786
+ width?: number | null;
2787
+ height?: number | null;
2788
+ focalX?: number | null;
2789
+ focalY?: number | null;
2790
+ sizes?: {
2791
+ '200'?: {
2792
+ url?: string | null;
2793
+ width?: number | null;
2794
+ height?: number | null;
2795
+ mimeType?: string | null;
2796
+ filesize?: number | null;
2797
+ filename?: string | null;
2798
+ };
2799
+ '400'?: {
2800
+ url?: string | null;
2801
+ width?: number | null;
2802
+ height?: number | null;
2803
+ mimeType?: string | null;
2804
+ filesize?: number | null;
2805
+ filename?: string | null;
2806
+ };
2807
+ '800'?: {
2808
+ url?: string | null;
2809
+ width?: number | null;
2810
+ height?: number | null;
2811
+ mimeType?: string | null;
2812
+ filesize?: number | null;
2813
+ filename?: string | null;
2814
+ };
2815
+ '1600'?: {
2816
+ url?: string | null;
2817
+ width?: number | null;
2818
+ height?: number | null;
2819
+ mimeType?: string | null;
2820
+ filesize?: number | null;
2821
+ filename?: string | null;
2822
+ };
2823
+ };
2824
+ }
2825
+ /**
2826
+ * This interface was referenced by `Config`'s JSON-Schema
2827
+ * via the `definition` "forms".
2828
+ */
2829
+ interface Form {
2830
+ id: string;
2831
+ _order?: string | null;
2832
+ tenant?: (string | null) | Tenant;
2833
+ title: string;
2834
+ description?: string | null;
2835
+ status: 'active' | 'inactive';
2836
+ /**
2837
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
2838
+ */
2839
+ generateSlug?: boolean | null;
2840
+ slug?: string | null;
2841
+ fields?: ({
2842
+ name: string;
2843
+ label?: string | null;
2844
+ width?: number | null;
2845
+ required?: boolean | null;
2846
+ defaultValue?: boolean | null;
2847
+ id?: string | null;
2848
+ blockName?: string | null;
2849
+ blockType: 'checkbox';
2850
+ } | {
2851
+ name: string;
2852
+ label?: string | null;
2853
+ width?: number | null;
2854
+ required?: boolean | null;
2855
+ id?: string | null;
2856
+ blockName?: string | null;
2857
+ blockType: 'country';
2858
+ } | {
2859
+ name: string;
2860
+ label?: string | null;
2861
+ width?: number | null;
2862
+ required?: boolean | null;
2863
+ id?: string | null;
2864
+ blockName?: string | null;
2865
+ blockType: 'email';
2866
+ } | {
2867
+ message?: {
2868
+ root: {
2869
+ type: string;
2870
+ children: {
2871
+ type: any;
2872
+ version: number;
2873
+ [k: string]: unknown;
2874
+ }[];
2875
+ direction: ('ltr' | 'rtl') | null;
2876
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
2877
+ indent: number;
2878
+ version: number;
2879
+ };
2880
+ [k: string]: unknown;
2881
+ } | null;
2882
+ id?: string | null;
2883
+ blockName?: string | null;
2884
+ blockType: 'message';
2885
+ } | {
2886
+ name: string;
2887
+ label?: string | null;
2888
+ width?: number | null;
2889
+ defaultValue?: number | null;
2890
+ required?: boolean | null;
2891
+ id?: string | null;
2892
+ blockName?: string | null;
2893
+ blockType: 'number';
2894
+ } | {
2895
+ name: string;
2896
+ label?: string | null;
2897
+ width?: number | null;
2898
+ defaultValue?: string | null;
2899
+ placeholder?: string | null;
2900
+ options?: {
2901
+ label: string;
2902
+ value: string;
2903
+ id?: string | null;
2904
+ }[] | null;
2905
+ required?: boolean | null;
2906
+ id?: string | null;
2907
+ blockName?: string | null;
2908
+ blockType: 'select';
2909
+ } | {
2910
+ name: string;
2911
+ label?: string | null;
2912
+ width?: number | null;
2913
+ required?: boolean | null;
2914
+ id?: string | null;
2915
+ blockName?: string | null;
2916
+ blockType: 'state';
2917
+ } | {
2918
+ name: string;
2919
+ label?: string | null;
2920
+ width?: number | null;
2921
+ defaultValue?: string | null;
2922
+ required?: boolean | null;
2923
+ placeholder?: string | null;
2924
+ id?: string | null;
2925
+ blockName?: string | null;
2926
+ blockType: 'text';
2927
+ } | {
2482
2928
  name: string;
2483
2929
  label?: string | null;
2484
2930
  width?: number | null;
@@ -2648,6 +3094,9 @@ interface PayloadLockedDocument {
2648
3094
  } | null) | ({
2649
3095
  relationTo: 'transactions';
2650
3096
  value: string | Transaction;
3097
+ } | null) | ({
3098
+ relationTo: 'order-status-logs';
3099
+ value: string | OrderStatusLog;
2651
3100
  } | null) | ({
2652
3101
  relationTo: 'fulfillments';
2653
3102
  value: string | Fulfillment;
@@ -2666,6 +3115,9 @@ interface PayloadLockedDocument {
2666
3115
  } | null) | ({
2667
3116
  relationTo: 'exchange-products';
2668
3117
  value: string | ExchangeProduct;
3118
+ } | null) | ({
3119
+ relationTo: 'shipping-policies';
3120
+ value: string | ShippingPolicy;
2669
3121
  } | null) | ({
2670
3122
  relationTo: 'customers';
2671
3123
  value: string | Customer;
@@ -2687,9 +3139,6 @@ interface PayloadLockedDocument {
2687
3139
  } | null) | ({
2688
3140
  relationTo: 'discounts';
2689
3141
  value: string | Discount;
2690
- } | null) | ({
2691
- relationTo: 'shipping-policies';
2692
- value: string | ShippingPolicy;
2693
3142
  } | null) | ({
2694
3143
  relationTo: 'posts';
2695
3144
  value: string | Post;
@@ -2726,12 +3175,36 @@ interface PayloadLockedDocument {
2726
3175
  } | null) | ({
2727
3176
  relationTo: 'playlist-images';
2728
3177
  value: string | PlaylistImage;
3178
+ } | null) | ({
3179
+ relationTo: 'galleries';
3180
+ value: string | Gallery;
3181
+ } | null) | ({
3182
+ relationTo: 'gallery-images';
3183
+ value: string | GalleryImage;
3184
+ } | null) | ({
3185
+ relationTo: 'gallery-categories';
3186
+ value: string | GalleryCategory;
2729
3187
  } | null) | ({
2730
3188
  relationTo: 'flows';
2731
3189
  value: string | Flow;
3190
+ } | null) | ({
3191
+ relationTo: 'flow-node-types';
3192
+ value: string | FlowNodeType;
3193
+ } | null) | ({
3194
+ relationTo: 'flow-edge-types';
3195
+ value: string | FlowEdgeType;
2732
3196
  } | null) | ({
2733
3197
  relationTo: 'flow-images';
2734
3198
  value: string | FlowImage;
3199
+ } | null) | ({
3200
+ relationTo: 'videos';
3201
+ value: string | Video;
3202
+ } | null) | ({
3203
+ relationTo: 'live-streams';
3204
+ value: string | LiveStream;
3205
+ } | null) | ({
3206
+ relationTo: 'live-stream-images';
3207
+ value: string | LiveStreamImage;
2735
3208
  } | null) | ({
2736
3209
  relationTo: 'forms';
2737
3210
  value: string | Form;
@@ -2872,6 +3345,7 @@ interface EmailLogsSelect<T extends boolean = true> {
2872
3345
  */
2873
3346
  interface TenantsSelect<T extends boolean = true> {
2874
3347
  name?: T;
3348
+ owner?: T;
2875
3349
  plan?: T;
2876
3350
  features?: T;
2877
3351
  cors?: T | {
@@ -2963,6 +3437,8 @@ interface ApiUsageSelect<T extends boolean = true> {
2963
3437
  storageUsed?: T;
2964
3438
  storageLimit?: T;
2965
3439
  totalDocuments?: T;
3440
+ videoCount?: T;
3441
+ videoMinutesUsed?: T;
2966
3442
  updatedAt?: T;
2967
3443
  createdAt?: T;
2968
3444
  }
@@ -3425,7 +3901,7 @@ interface ProductImagesSelect<T extends boolean = true> {
3425
3901
  focalX?: T;
3426
3902
  focalY?: T;
3427
3903
  sizes?: T | {
3428
- '384'?: T | {
3904
+ '200'?: T | {
3429
3905
  url?: T;
3430
3906
  width?: T;
3431
3907
  height?: T;
@@ -3433,7 +3909,7 @@ interface ProductImagesSelect<T extends boolean = true> {
3433
3909
  filesize?: T;
3434
3910
  filename?: T;
3435
3911
  };
3436
- '768'?: T | {
3912
+ '400'?: T | {
3437
3913
  url?: T;
3438
3914
  width?: T;
3439
3915
  height?: T;
@@ -3441,7 +3917,15 @@ interface ProductImagesSelect<T extends boolean = true> {
3441
3917
  filesize?: T;
3442
3918
  filename?: T;
3443
3919
  };
3444
- '1536'?: T | {
3920
+ '800'?: T | {
3921
+ url?: T;
3922
+ width?: T;
3923
+ height?: T;
3924
+ mimeType?: T;
3925
+ filesize?: T;
3926
+ filename?: T;
3927
+ };
3928
+ '1600'?: T | {
3445
3929
  url?: T;
3446
3930
  width?: T;
3447
3931
  height?: T;
@@ -3462,6 +3946,7 @@ interface OrdersSelect<T extends boolean = true> {
3462
3946
  totalAmount?: T;
3463
3947
  discountCode?: T;
3464
3948
  discountAmount?: T;
3949
+ refundedAmount?: T;
3465
3950
  notes?: T;
3466
3951
  customer?: T;
3467
3952
  customerSnapshot?: T | {
@@ -3509,6 +3994,7 @@ interface OrderProductsSelect<T extends boolean = true> {
3509
3994
  */
3510
3995
  interface TransactionsSelect<T extends boolean = true> {
3511
3996
  tenant?: T;
3997
+ type?: T;
3512
3998
  status?: T;
3513
3999
  order?: T;
3514
4000
  paymentId?: T;
@@ -3518,6 +4004,21 @@ interface TransactionsSelect<T extends boolean = true> {
3518
4004
  updatedAt?: T;
3519
4005
  createdAt?: T;
3520
4006
  }
4007
+ /**
4008
+ * This interface was referenced by `Config`'s JSON-Schema
4009
+ * via the `definition` "order-status-logs_select".
4010
+ */
4011
+ interface OrderStatusLogsSelect<T extends boolean = true> {
4012
+ tenant?: T;
4013
+ order?: T;
4014
+ fromStatus?: T;
4015
+ toStatus?: T;
4016
+ changedBy?: T;
4017
+ reason?: T;
4018
+ metadata?: T;
4019
+ updatedAt?: T;
4020
+ createdAt?: T;
4021
+ }
3521
4022
  /**
3522
4023
  * This interface was referenced by `Config`'s JSON-Schema
3523
4024
  * via the `definition` "fulfillments_select".
@@ -3614,6 +4115,26 @@ interface ExchangeProductsSelect<T extends boolean = true> {
3614
4115
  updatedAt?: T;
3615
4116
  createdAt?: T;
3616
4117
  }
4118
+ /**
4119
+ * This interface was referenced by `Config`'s JSON-Schema
4120
+ * via the `definition` "shipping-policies_select".
4121
+ */
4122
+ interface ShippingPoliciesSelect<T extends boolean = true> {
4123
+ _order?: T;
4124
+ tenant?: T;
4125
+ title?: T;
4126
+ baseFee?: T;
4127
+ freeShippingThreshold?: T;
4128
+ jejuExtraFee?: T;
4129
+ islandExtraFee?: T;
4130
+ generateSlug?: T;
4131
+ slug?: T;
4132
+ isDefault?: T;
4133
+ metadata?: T;
4134
+ updatedAt?: T;
4135
+ createdAt?: T;
4136
+ deletedAt?: T;
4137
+ }
3617
4138
  /**
3618
4139
  * This interface was referenced by `Config`'s JSON-Schema
3619
4140
  * via the `definition` "customers_select".
@@ -3712,7 +4233,15 @@ interface CustomerGroupImagesSelect<T extends boolean = true> {
3712
4233
  focalX?: T;
3713
4234
  focalY?: T;
3714
4235
  sizes?: T | {
3715
- '384'?: T | {
4236
+ '200'?: T | {
4237
+ url?: T;
4238
+ width?: T;
4239
+ height?: T;
4240
+ mimeType?: T;
4241
+ filesize?: T;
4242
+ filename?: T;
4243
+ };
4244
+ '400'?: T | {
3716
4245
  url?: T;
3717
4246
  width?: T;
3718
4247
  height?: T;
@@ -3720,7 +4249,7 @@ interface CustomerGroupImagesSelect<T extends boolean = true> {
3720
4249
  filesize?: T;
3721
4250
  filename?: T;
3722
4251
  };
3723
- '768'?: T | {
4252
+ '800'?: T | {
3724
4253
  url?: T;
3725
4254
  width?: T;
3726
4255
  height?: T;
@@ -3728,7 +4257,7 @@ interface CustomerGroupImagesSelect<T extends boolean = true> {
3728
4257
  filesize?: T;
3729
4258
  filename?: T;
3730
4259
  };
3731
- '1536'?: T | {
4260
+ '1600'?: T | {
3732
4261
  url?: T;
3733
4262
  width?: T;
3734
4263
  height?: T;
@@ -3798,37 +4327,17 @@ interface DiscountsSelect<T extends boolean = true> {
3798
4327
  value?: T;
3799
4328
  id?: T;
3800
4329
  };
3801
- minOrderAmount?: T;
3802
- maxDiscountAmount?: T;
3803
- startsAt?: T;
3804
- endsAt?: T;
3805
- applicableProducts?: T;
3806
- applicableCategories?: T;
3807
- type?: T;
3808
- isActive?: T;
3809
- usageLimit?: T;
3810
- usageCount?: T;
3811
- perCustomerLimit?: T;
3812
- metadata?: T;
3813
- updatedAt?: T;
3814
- createdAt?: T;
3815
- deletedAt?: T;
3816
- }
3817
- /**
3818
- * This interface was referenced by `Config`'s JSON-Schema
3819
- * via the `definition` "shipping-policies_select".
3820
- */
3821
- interface ShippingPoliciesSelect<T extends boolean = true> {
3822
- _order?: T;
3823
- tenant?: T;
3824
- title?: T;
3825
- baseFee?: T;
3826
- freeShippingThreshold?: T;
3827
- jejuExtraFee?: T;
3828
- islandExtraFee?: T;
3829
- generateSlug?: T;
3830
- slug?: T;
3831
- isDefault?: T;
4330
+ minOrderAmount?: T;
4331
+ maxDiscountAmount?: T;
4332
+ startsAt?: T;
4333
+ endsAt?: T;
4334
+ applicableProducts?: T;
4335
+ applicableCategories?: T;
4336
+ type?: T;
4337
+ isActive?: T;
4338
+ usageLimit?: T;
4339
+ usageCount?: T;
4340
+ perCustomerLimit?: T;
3832
4341
  metadata?: T;
3833
4342
  updatedAt?: T;
3834
4343
  createdAt?: T;
@@ -3942,7 +4451,15 @@ interface PostImagesSelect<T extends boolean = true> {
3942
4451
  focalX?: T;
3943
4452
  focalY?: T;
3944
4453
  sizes?: T | {
3945
- '384'?: T | {
4454
+ '200'?: T | {
4455
+ url?: T;
4456
+ width?: T;
4457
+ height?: T;
4458
+ mimeType?: T;
4459
+ filesize?: T;
4460
+ filename?: T;
4461
+ };
4462
+ '400'?: T | {
3946
4463
  url?: T;
3947
4464
  width?: T;
3948
4465
  height?: T;
@@ -3950,7 +4467,7 @@ interface PostImagesSelect<T extends boolean = true> {
3950
4467
  filesize?: T;
3951
4468
  filename?: T;
3952
4469
  };
3953
- '768'?: T | {
4470
+ '800'?: T | {
3954
4471
  url?: T;
3955
4472
  width?: T;
3956
4473
  height?: T;
@@ -3958,7 +4475,7 @@ interface PostImagesSelect<T extends boolean = true> {
3958
4475
  filesize?: T;
3959
4476
  filename?: T;
3960
4477
  };
3961
- '1536'?: T | {
4478
+ '1600'?: T | {
3962
4479
  url?: T;
3963
4480
  width?: T;
3964
4481
  height?: T;
@@ -4061,7 +4578,15 @@ interface DocumentImagesSelect<T extends boolean = true> {
4061
4578
  focalX?: T;
4062
4579
  focalY?: T;
4063
4580
  sizes?: T | {
4064
- '384'?: T | {
4581
+ '200'?: T | {
4582
+ url?: T;
4583
+ width?: T;
4584
+ height?: T;
4585
+ mimeType?: T;
4586
+ filesize?: T;
4587
+ filename?: T;
4588
+ };
4589
+ '400'?: T | {
4065
4590
  url?: T;
4066
4591
  width?: T;
4067
4592
  height?: T;
@@ -4069,7 +4594,7 @@ interface DocumentImagesSelect<T extends boolean = true> {
4069
4594
  filesize?: T;
4070
4595
  filename?: T;
4071
4596
  };
4072
- '768'?: T | {
4597
+ '800'?: T | {
4073
4598
  url?: T;
4074
4599
  width?: T;
4075
4600
  height?: T;
@@ -4077,7 +4602,7 @@ interface DocumentImagesSelect<T extends boolean = true> {
4077
4602
  filesize?: T;
4078
4603
  filename?: T;
4079
4604
  };
4080
- '1536'?: T | {
4605
+ '1600'?: T | {
4081
4606
  url?: T;
4082
4607
  width?: T;
4083
4608
  height?: T;
@@ -4153,7 +4678,102 @@ interface PlaylistImagesSelect<T extends boolean = true> {
4153
4678
  focalX?: T;
4154
4679
  focalY?: T;
4155
4680
  sizes?: T | {
4156
- '384'?: T | {
4681
+ '200'?: T | {
4682
+ url?: T;
4683
+ width?: T;
4684
+ height?: T;
4685
+ mimeType?: T;
4686
+ filesize?: T;
4687
+ filename?: T;
4688
+ };
4689
+ '400'?: T | {
4690
+ url?: T;
4691
+ width?: T;
4692
+ height?: T;
4693
+ mimeType?: T;
4694
+ filesize?: T;
4695
+ filename?: T;
4696
+ };
4697
+ '800'?: T | {
4698
+ url?: T;
4699
+ width?: T;
4700
+ height?: T;
4701
+ mimeType?: T;
4702
+ filesize?: T;
4703
+ filename?: T;
4704
+ };
4705
+ '1600'?: T | {
4706
+ url?: T;
4707
+ width?: T;
4708
+ height?: T;
4709
+ mimeType?: T;
4710
+ filesize?: T;
4711
+ filename?: T;
4712
+ };
4713
+ };
4714
+ }
4715
+ /**
4716
+ * This interface was referenced by `Config`'s JSON-Schema
4717
+ * via the `definition` "galleries_select".
4718
+ */
4719
+ interface GalleriesSelect<T extends boolean = true> {
4720
+ _order?: T;
4721
+ tenant?: T;
4722
+ title?: T;
4723
+ description?: T;
4724
+ images?: T;
4725
+ categories?: T;
4726
+ status?: T;
4727
+ thumbnail?: T;
4728
+ generateSlug?: T;
4729
+ slug?: T;
4730
+ metadata?: T;
4731
+ updatedAt?: T;
4732
+ createdAt?: T;
4733
+ deletedAt?: T;
4734
+ }
4735
+ /**
4736
+ * This interface was referenced by `Config`'s JSON-Schema
4737
+ * via the `definition` "gallery-images_select".
4738
+ */
4739
+ interface GalleryImagesSelect<T extends boolean = true> {
4740
+ '_gallery-images_images_order'?: T;
4741
+ tenant?: T;
4742
+ gallery?: T;
4743
+ title?: T;
4744
+ content?: T;
4745
+ alt?: T;
4746
+ lqip?: T;
4747
+ palette?: T | {
4748
+ vibrant?: T;
4749
+ muted?: T;
4750
+ darkVibrant?: T;
4751
+ darkMuted?: T;
4752
+ lightVibrant?: T;
4753
+ lightMuted?: T;
4754
+ };
4755
+ prefix?: T;
4756
+ updatedAt?: T;
4757
+ createdAt?: T;
4758
+ url?: T;
4759
+ thumbnailURL?: T;
4760
+ filename?: T;
4761
+ mimeType?: T;
4762
+ filesize?: T;
4763
+ width?: T;
4764
+ height?: T;
4765
+ focalX?: T;
4766
+ focalY?: T;
4767
+ sizes?: T | {
4768
+ '200'?: T | {
4769
+ url?: T;
4770
+ width?: T;
4771
+ height?: T;
4772
+ mimeType?: T;
4773
+ filesize?: T;
4774
+ filename?: T;
4775
+ };
4776
+ '400'?: T | {
4157
4777
  url?: T;
4158
4778
  width?: T;
4159
4779
  height?: T;
@@ -4161,7 +4781,7 @@ interface PlaylistImagesSelect<T extends boolean = true> {
4161
4781
  filesize?: T;
4162
4782
  filename?: T;
4163
4783
  };
4164
- '768'?: T | {
4784
+ '800'?: T | {
4165
4785
  url?: T;
4166
4786
  width?: T;
4167
4787
  height?: T;
@@ -4169,7 +4789,7 @@ interface PlaylistImagesSelect<T extends boolean = true> {
4169
4789
  filesize?: T;
4170
4790
  filename?: T;
4171
4791
  };
4172
- '1536'?: T | {
4792
+ '1600'?: T | {
4173
4793
  url?: T;
4174
4794
  width?: T;
4175
4795
  height?: T;
@@ -4179,6 +4799,24 @@ interface PlaylistImagesSelect<T extends boolean = true> {
4179
4799
  };
4180
4800
  };
4181
4801
  }
4802
+ /**
4803
+ * This interface was referenced by `Config`'s JSON-Schema
4804
+ * via the `definition` "gallery-categories_select".
4805
+ */
4806
+ interface GalleryCategoriesSelect<T extends boolean = true> {
4807
+ _order?: T;
4808
+ tenant?: T;
4809
+ title?: T;
4810
+ generateSlug?: T;
4811
+ slug?: T;
4812
+ description?: T;
4813
+ image?: T;
4814
+ parent?: T;
4815
+ color?: T;
4816
+ updatedAt?: T;
4817
+ createdAt?: T;
4818
+ deletedAt?: T;
4819
+ }
4182
4820
  /**
4183
4821
  * This interface was referenced by `Config`'s JSON-Schema
4184
4822
  * via the `definition` "flows_select".
@@ -4195,6 +4833,71 @@ interface FlowsSelect<T extends boolean = true> {
4195
4833
  updatedAt?: T;
4196
4834
  createdAt?: T;
4197
4835
  deletedAt?: T;
4836
+ _status?: T;
4837
+ }
4838
+ /**
4839
+ * This interface was referenced by `Config`'s JSON-Schema
4840
+ * via the `definition` "flow-node-types_select".
4841
+ */
4842
+ interface FlowNodeTypesSelect<T extends boolean = true> {
4843
+ _order?: T;
4844
+ tenant?: T;
4845
+ title?: T;
4846
+ generateSlug?: T;
4847
+ slug?: T;
4848
+ color?: T;
4849
+ defaultSize?: T | {
4850
+ width?: T;
4851
+ height?: T;
4852
+ };
4853
+ transparentBackground?: T;
4854
+ fields?: T | {
4855
+ name?: T;
4856
+ label?: T;
4857
+ fieldType?: T;
4858
+ options?: T | {
4859
+ label?: T;
4860
+ value?: T;
4861
+ id?: T;
4862
+ };
4863
+ defaultValue?: T;
4864
+ required?: T;
4865
+ id?: T;
4866
+ };
4867
+ updatedAt?: T;
4868
+ createdAt?: T;
4869
+ deletedAt?: T;
4870
+ }
4871
+ /**
4872
+ * This interface was referenced by `Config`'s JSON-Schema
4873
+ * via the `definition` "flow-edge-types_select".
4874
+ */
4875
+ interface FlowEdgeTypesSelect<T extends boolean = true> {
4876
+ _order?: T;
4877
+ tenant?: T;
4878
+ title?: T;
4879
+ generateSlug?: T;
4880
+ slug?: T;
4881
+ color?: T;
4882
+ strokeWidth?: T;
4883
+ animated?: T;
4884
+ lineStyle?: T;
4885
+ fields?: T | {
4886
+ name?: T;
4887
+ label?: T;
4888
+ fieldType?: T;
4889
+ options?: T | {
4890
+ label?: T;
4891
+ value?: T;
4892
+ id?: T;
4893
+ };
4894
+ defaultValue?: T;
4895
+ required?: T;
4896
+ id?: T;
4897
+ };
4898
+ updatedAt?: T;
4899
+ createdAt?: T;
4900
+ deletedAt?: T;
4198
4901
  }
4199
4902
  /**
4200
4903
  * This interface was referenced by `Config`'s JSON-Schema
@@ -4225,7 +4928,122 @@ interface FlowImagesSelect<T extends boolean = true> {
4225
4928
  focalX?: T;
4226
4929
  focalY?: T;
4227
4930
  sizes?: T | {
4228
- '384'?: T | {
4931
+ '200'?: T | {
4932
+ url?: T;
4933
+ width?: T;
4934
+ height?: T;
4935
+ mimeType?: T;
4936
+ filesize?: T;
4937
+ filename?: T;
4938
+ };
4939
+ '400'?: T | {
4940
+ url?: T;
4941
+ width?: T;
4942
+ height?: T;
4943
+ mimeType?: T;
4944
+ filesize?: T;
4945
+ filename?: T;
4946
+ };
4947
+ '800'?: T | {
4948
+ url?: T;
4949
+ width?: T;
4950
+ height?: T;
4951
+ mimeType?: T;
4952
+ filesize?: T;
4953
+ filename?: T;
4954
+ };
4955
+ '1600'?: T | {
4956
+ url?: T;
4957
+ width?: T;
4958
+ height?: T;
4959
+ mimeType?: T;
4960
+ filesize?: T;
4961
+ filename?: T;
4962
+ };
4963
+ };
4964
+ }
4965
+ /**
4966
+ * This interface was referenced by `Config`'s JSON-Schema
4967
+ * via the `definition` "videos_select".
4968
+ */
4969
+ interface VideosSelect<T extends boolean = true> {
4970
+ tenant?: T;
4971
+ title?: T;
4972
+ filename?: T;
4973
+ description?: T;
4974
+ sourceLiveStream?: T;
4975
+ status?: T;
4976
+ duration?: T;
4977
+ aspectRatio?: T;
4978
+ maxResolution?: T;
4979
+ videoQuality?: T;
4980
+ mp4Support?: T;
4981
+ muxAssetId?: T;
4982
+ muxPlaybackId?: T;
4983
+ muxUploadId?: T;
4984
+ metadata?: T;
4985
+ updatedAt?: T;
4986
+ createdAt?: T;
4987
+ deletedAt?: T;
4988
+ }
4989
+ /**
4990
+ * This interface was referenced by `Config`'s JSON-Schema
4991
+ * via the `definition` "live-streams_select".
4992
+ */
4993
+ interface LiveStreamsSelect<T extends boolean = true> {
4994
+ tenant?: T;
4995
+ title?: T;
4996
+ description?: T;
4997
+ muxLiveStreamId?: T;
4998
+ muxPlaybackId?: T;
4999
+ streamKey?: T;
5000
+ status?: T;
5001
+ latencyMode?: T;
5002
+ reconnectWindow?: T;
5003
+ activeAssetId?: T;
5004
+ recentAssetIds?: T;
5005
+ updatedAt?: T;
5006
+ createdAt?: T;
5007
+ deletedAt?: T;
5008
+ }
5009
+ /**
5010
+ * This interface was referenced by `Config`'s JSON-Schema
5011
+ * via the `definition` "live-stream-images_select".
5012
+ */
5013
+ interface LiveStreamImagesSelect<T extends boolean = true> {
5014
+ tenant?: T;
5015
+ alt?: T;
5016
+ lqip?: T;
5017
+ palette?: T | {
5018
+ vibrant?: T;
5019
+ muted?: T;
5020
+ darkVibrant?: T;
5021
+ darkMuted?: T;
5022
+ lightVibrant?: T;
5023
+ lightMuted?: T;
5024
+ };
5025
+ prefix?: T;
5026
+ updatedAt?: T;
5027
+ createdAt?: T;
5028
+ url?: T;
5029
+ thumbnailURL?: T;
5030
+ filename?: T;
5031
+ mimeType?: T;
5032
+ filesize?: T;
5033
+ width?: T;
5034
+ height?: T;
5035
+ focalX?: T;
5036
+ focalY?: T;
5037
+ sizes?: T | {
5038
+ '200'?: T | {
5039
+ url?: T;
5040
+ width?: T;
5041
+ height?: T;
5042
+ mimeType?: T;
5043
+ filesize?: T;
5044
+ filename?: T;
5045
+ };
5046
+ '400'?: T | {
4229
5047
  url?: T;
4230
5048
  width?: T;
4231
5049
  height?: T;
@@ -4233,7 +5051,7 @@ interface FlowImagesSelect<T extends boolean = true> {
4233
5051
  filesize?: T;
4234
5052
  filename?: T;
4235
5053
  };
4236
- '768'?: T | {
5054
+ '800'?: T | {
4237
5055
  url?: T;
4238
5056
  width?: T;
4239
5057
  height?: T;
@@ -4241,7 +5059,7 @@ interface FlowImagesSelect<T extends boolean = true> {
4241
5059
  filesize?: T;
4242
5060
  filename?: T;
4243
5061
  };
4244
- '1536'?: T | {
5062
+ '1600'?: T | {
4245
5063
  url?: T;
4246
5064
  width?: T;
4247
5065
  height?: T;
@@ -4444,4 +5262,4 @@ declare module 'payload' {
4444
5262
  }
4445
5263
  }
4446
5264
 
4447
- export type { DocumentCategory as $, Audience as A, BrandLogo as B, CartItem as C, FulfillmentItem as D, EmailLog as E, Form as F, ReturnProduct as G, Exchange as H, IframeBlock as I, ExchangeProduct as J, Cart as K, Discount as L, Media as M, Post as N, Order as O, ProductOption as P, PostImage as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, PostAuthor as V, PostCategory as W, PostTag as X, Document as Y, DocumentType as Z, DocumentImage as _, OrderProduct as a, PayloadKvSelect as a$, Playlist as a0, Music as a1, PlaylistImage as a2, Flow as a3, FlowImage as a4, FormSubmission as a5, PayloadKv as a6, PayloadLockedDocument as a7, PayloadPreference as a8, PayloadMigration as a9, ReturnProductsSelect as aA, ExchangesSelect as aB, ExchangeProductsSelect as aC, CustomersSelect as aD, CustomerAddressesSelect as aE, CustomerGroupsSelect as aF, CustomerGroupImagesSelect as aG, CartsSelect as aH, CartItemsSelect as aI, DiscountsSelect as aJ, ShippingPoliciesSelect as aK, PostsSelect as aL, PostAuthorsSelect as aM, PostCategoriesSelect as aN, PostTagsSelect as aO, PostImagesSelect as aP, DocumentsSelect as aQ, DocumentCategoriesSelect as aR, DocumentTypesSelect as aS, DocumentImagesSelect as aT, PlaylistsSelect as aU, MusicsSelect as aV, PlaylistImagesSelect as aW, FlowsSelect as aX, FlowImagesSelect as aY, FormsSelect as aZ, FormSubmissionsSelect as a_, UsersSelect as aa, MediaSelect as ab, AudiencesSelect as ac, EmailLogsSelect as ad, TenantsSelect as ae, TenantMetadataSelect as af, ApiUsageSelect as ag, SubscriptionsSelect as ah, BillingHistorySelect as ai, TenantLogosSelect as aj, TenantOgImagesSelect as ak, ProductsSelect as al, ProductVariantsSelect as am, ProductOptionsSelect as an, ProductCategoriesSelect as ao, ProductTagsSelect as ap, ProductCollectionsSelect as aq, BrandsSelect as ar, BrandLogosSelect as as, ProductImagesSelect as at, OrdersSelect as au, OrderProductsSelect as av, TransactionsSelect as aw, FulfillmentsSelect as ax, FulfillmentItemsSelect as ay, ReturnsSelect as az, Fulfillment as b, PayloadLockedDocumentsSelect as b0, PayloadPreferencesSelect as b1, PayloadMigrationsSelect as b2, CollectionsWidget as b3, Auth as b4, Config as c, CustomerAuthOperations as d, PlayerBlock as e, CodeBlock as f, User as g, Tenant as h, TenantMetadatum as i, TenantOgImage as j, ApiUsage as k, Subscription as l, BillingHistory as m, TenantLogo as n, Product as o, ProductImage as p, ProductVariant as q, ProductCategory as r, ProductTag as s, ProductCollection as t, Brand as u, ShippingPolicy as v, Customer as w, CustomerGroup as x, CustomerGroupImage as y, CustomerAddress as z };
5265
+ export type { DocumentImage as $, Audience as A, BrandLogo as B, Cart as C, CustomerGroupImage as D, Exchange as E, Form as F, CustomerAddress as G, FulfillmentItem as H, IframeBlock as I, ReturnProduct as J, ExchangeProduct as K, OrderStatusLog as L, Media as M, Discount as N, Order as O, Product as P, Post as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, PostImage as V, PostAuthor as W, PostCategory as X, PostTag as Y, Document as Z, DocumentType as _, OrderProduct as a, DocumentCategoriesSelect as a$, DocumentCategory as a0, Playlist as a1, Music as a2, PlaylistImage as a3, Gallery as a4, GalleryImage as a5, GalleryCategory as a6, Flow as a7, FlowNodeType as a8, FlowEdgeType as a9, BrandsSelect as aA, BrandLogosSelect as aB, ProductImagesSelect as aC, OrdersSelect as aD, OrderProductsSelect as aE, TransactionsSelect as aF, OrderStatusLogsSelect as aG, FulfillmentsSelect as aH, FulfillmentItemsSelect as aI, ReturnsSelect as aJ, ReturnProductsSelect as aK, ExchangesSelect as aL, ExchangeProductsSelect as aM, ShippingPoliciesSelect as aN, CustomersSelect as aO, CustomerAddressesSelect as aP, CustomerGroupsSelect as aQ, CustomerGroupImagesSelect as aR, CartsSelect as aS, CartItemsSelect as aT, DiscountsSelect as aU, PostsSelect as aV, PostAuthorsSelect as aW, PostCategoriesSelect as aX, PostTagsSelect as aY, PostImagesSelect as aZ, DocumentsSelect as a_, FlowImage as aa, Video as ab, LiveStream as ac, LiveStreamImage as ad, FormSubmission as ae, PayloadKv as af, PayloadLockedDocument as ag, PayloadPreference as ah, PayloadMigration as ai, UsersSelect as aj, MediaSelect as ak, AudiencesSelect as al, EmailLogsSelect as am, TenantsSelect as an, TenantMetadataSelect as ao, ApiUsageSelect as ap, SubscriptionsSelect as aq, BillingHistorySelect as ar, TenantLogosSelect as as, TenantOgImagesSelect as at, ProductsSelect as au, ProductVariantsSelect as av, ProductOptionsSelect as aw, ProductCategoriesSelect as ax, ProductTagsSelect as ay, ProductCollectionsSelect as az, Fulfillment as b, DocumentTypesSelect as b0, DocumentImagesSelect as b1, PlaylistsSelect as b2, MusicsSelect as b3, PlaylistImagesSelect as b4, GalleriesSelect as b5, GalleryImagesSelect as b6, GalleryCategoriesSelect as b7, FlowsSelect as b8, FlowNodeTypesSelect as b9, FlowEdgeTypesSelect as ba, FlowImagesSelect as bb, VideosSelect as bc, LiveStreamsSelect as bd, LiveStreamImagesSelect as be, FormsSelect as bf, FormSubmissionsSelect as bg, PayloadKvSelect as bh, PayloadLockedDocumentsSelect as bi, PayloadPreferencesSelect as bj, PayloadMigrationsSelect as bk, CollectionsWidget as bl, Auth as bm, CartItem as c, Config as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, EmailLog as j, TenantMetadatum as k, TenantOgImage as l, ApiUsage as m, Subscription as n, BillingHistory as o, TenantLogo as p, ProductImage as q, ProductVariant as r, ProductOption as s, ProductCategory as t, ProductTag as u, ProductCollection as v, Brand as w, ShippingPolicy as x, Customer as y, CustomerGroup as z };