@01.software/sdk 0.2.9-dev.260310.cf511cb → 0.2.9-dev.260311.892250f

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.
Files changed (58) hide show
  1. package/README.md +21 -8
  2. package/dist/auth.cjs +3 -1
  3. package/dist/auth.cjs.map +1 -1
  4. package/dist/auth.d.cts +36 -3
  5. package/dist/auth.d.ts +36 -3
  6. package/dist/auth.js +3 -1
  7. package/dist/auth.js.map +1 -1
  8. package/dist/index.cjs +214 -231
  9. package/dist/index.cjs.map +1 -1
  10. package/dist/index.d.cts +321 -155
  11. package/dist/index.d.ts +321 -155
  12. package/dist/index.js +217 -231
  13. package/dist/index.js.map +1 -1
  14. package/dist/{payload-types-Cq93wqIe.d.cts → payload-types-BjvBwB8Z.d.cts} +1601 -1373
  15. package/dist/{payload-types-Cq93wqIe.d.ts → payload-types-BjvBwB8Z.d.ts} +1601 -1373
  16. package/dist/ui/code-block.cjs +182 -0
  17. package/dist/ui/code-block.cjs.map +1 -0
  18. package/dist/ui/code-block.d.cts +62 -0
  19. package/dist/ui/code-block.d.ts +62 -0
  20. package/dist/ui/code-block.js +152 -0
  21. package/dist/ui/code-block.js.map +1 -0
  22. package/dist/{flow.cjs → ui/flow.cjs} +120 -96
  23. package/dist/ui/flow.cjs.map +1 -0
  24. package/dist/{flow.d.cts → ui/flow.d.cts} +27 -11
  25. package/dist/{flow.d.ts → ui/flow.d.ts} +27 -11
  26. package/dist/{flow.js → ui/flow.js} +119 -94
  27. package/dist/ui/flow.js.map +1 -0
  28. package/dist/{components.cjs → ui/form.cjs} +27 -520
  29. package/dist/ui/form.cjs.map +1 -0
  30. package/dist/ui/form.d.cts +37 -0
  31. package/dist/ui/form.d.ts +37 -0
  32. package/dist/{components.js → ui/form.js} +20 -516
  33. package/dist/ui/form.js.map +1 -0
  34. package/dist/ui/image.cjs +208 -0
  35. package/dist/ui/image.cjs.map +1 -0
  36. package/dist/ui/image.d.cts +44 -0
  37. package/dist/ui/image.d.ts +44 -0
  38. package/dist/ui/image.js +180 -0
  39. package/dist/ui/image.js.map +1 -0
  40. package/dist/ui/rich-text.cjs +258 -0
  41. package/dist/ui/rich-text.cjs.map +1 -0
  42. package/dist/ui/rich-text.d.cts +110 -0
  43. package/dist/ui/rich-text.d.ts +110 -0
  44. package/dist/ui/rich-text.js +235 -0
  45. package/dist/ui/rich-text.js.map +1 -0
  46. package/dist/{webhook-NRdVwXN7.d.cts → webhook-CszIpUKn.d.cts} +2 -2
  47. package/dist/{webhook-C_7s0K66.d.ts → webhook-_LdLdjGa.d.ts} +2 -2
  48. package/dist/webhook.d.cts +2 -2
  49. package/dist/webhook.d.ts +2 -2
  50. package/package.json +47 -12
  51. package/dist/auth-CVVo5UT5.d.ts +0 -298
  52. package/dist/auth-CqgrT1qd.d.cts +0 -298
  53. package/dist/components.cjs.map +0 -1
  54. package/dist/components.d.cts +0 -240
  55. package/dist/components.d.ts +0 -240
  56. package/dist/components.js.map +0 -1
  57. package/dist/flow.cjs.map +0 -1
  58. package/dist/flow.js.map +0 -1
@@ -71,6 +71,7 @@ interface Config {
71
71
  'document-images': DocumentImage;
72
72
  playlists: Playlist;
73
73
  'playlist-categories': PlaylistCategory;
74
+ 'playlist-tags': PlaylistTag;
74
75
  musics: Music;
75
76
  'playlist-images': PlaylistImage;
76
77
  galleries: Gallery;
@@ -80,6 +81,7 @@ interface Config {
80
81
  flows: Flow;
81
82
  'flow-node-types': FlowNodeType;
82
83
  'flow-edge-types': FlowEdgeType;
84
+ 'flow-categories': FlowCategory;
83
85
  'flow-images': FlowImage;
84
86
  'flow-tags': FlowTag;
85
87
  videos: Video;
@@ -191,6 +193,7 @@ interface Config {
191
193
  'document-images': DocumentImagesSelect<false> | DocumentImagesSelect<true>;
192
194
  playlists: PlaylistsSelect<false> | PlaylistsSelect<true>;
193
195
  'playlist-categories': PlaylistCategoriesSelect<false> | PlaylistCategoriesSelect<true>;
196
+ 'playlist-tags': PlaylistTagsSelect<false> | PlaylistTagsSelect<true>;
194
197
  musics: MusicsSelect<false> | MusicsSelect<true>;
195
198
  'playlist-images': PlaylistImagesSelect<false> | PlaylistImagesSelect<true>;
196
199
  galleries: GalleriesSelect<false> | GalleriesSelect<true>;
@@ -200,6 +203,7 @@ interface Config {
200
203
  flows: FlowsSelect<false> | FlowsSelect<true>;
201
204
  'flow-node-types': FlowNodeTypesSelect<false> | FlowNodeTypesSelect<true>;
202
205
  'flow-edge-types': FlowEdgeTypesSelect<false> | FlowEdgeTypesSelect<true>;
206
+ 'flow-categories': FlowCategoriesSelect<false> | FlowCategoriesSelect<true>;
203
207
  'flow-images': FlowImagesSelect<false> | FlowImagesSelect<true>;
204
208
  'flow-tags': FlowTagsSelect<false> | FlowTagsSelect<true>;
205
209
  videos: VideosSelect<false> | VideosSelect<true>;
@@ -394,7 +398,7 @@ interface Tenant {
394
398
  interface FieldConfig {
395
399
  id: string;
396
400
  tenant?: (string | null) | Tenant;
397
- collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'customers' | 'customer-groups' | 'carts' | 'transactions' | 'returns' | 'exchanges' | 'post-authors' | 'documents' | 'posts' | 'post-categories' | 'post-tags' | 'playlists' | 'playlist-categories' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'document-categories' | 'document-types' | 'flows' | 'flow-tags' | 'flow-node-types' | 'flow-edge-types' | 'forms' | 'musics' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams';
401
+ collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'customers' | 'customer-groups' | 'carts' | 'transactions' | 'returns' | 'exchanges' | 'post-authors' | 'documents' | 'posts' | 'post-categories' | 'post-tags' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'document-categories' | 'document-types' | 'flows' | 'flow-categories' | 'flow-tags' | 'flow-node-types' | 'flow-edge-types' | 'forms' | 'musics' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams';
398
402
  isHidden?: boolean | null;
399
403
  hiddenFields?: {
400
404
  [k: string]: unknown;
@@ -516,6 +520,46 @@ interface TenantMetadatum {
516
520
  */
517
521
  themeColor?: string | null;
518
522
  };
523
+ seo?: {
524
+ /**
525
+ * Robots meta tag (e.g., "index, follow" or "noindex, nofollow")
526
+ */
527
+ robots?: string | null;
528
+ /**
529
+ * Google Site Verification code
530
+ */
531
+ googleSiteVerification?: string | null;
532
+ /**
533
+ * Bing Site Verification code
534
+ */
535
+ bingSiteVerification?: string | null;
536
+ /**
537
+ * Naver Site Verification code
538
+ */
539
+ naverSiteVerification?: string | null;
540
+ /**
541
+ * Canonical URL (if different from site URL)
542
+ */
543
+ canonicalUrl?: string | null;
544
+ };
545
+ analytics?: {
546
+ /**
547
+ * Google Analytics ID (e.g., G-XXXXXXXXXX)
548
+ */
549
+ googleAnalyticsId?: string | null;
550
+ /**
551
+ * Google Tag Manager ID (e.g., GTM-XXXXXXX)
552
+ */
553
+ googleTagManagerId?: string | null;
554
+ /**
555
+ * Facebook Pixel ID
556
+ */
557
+ facebookPixelId?: string | null;
558
+ /**
559
+ * LinkedIn Partner ID
560
+ */
561
+ linkedInPartnerId?: string | null;
562
+ };
519
563
  openGraph?: {
520
564
  /**
521
565
  * Open Graph title (falls back to site title)
@@ -564,28 +608,6 @@ interface TenantMetadatum {
564
608
  */
565
609
  twitterImage?: (string | null) | TenantOgImage;
566
610
  };
567
- seo?: {
568
- /**
569
- * Robots meta tag (e.g., "index, follow" or "noindex, nofollow")
570
- */
571
- robots?: string | null;
572
- /**
573
- * Google Site Verification code
574
- */
575
- googleSiteVerification?: string | null;
576
- /**
577
- * Bing Site Verification code
578
- */
579
- bingSiteVerification?: string | null;
580
- /**
581
- * Naver Site Verification code
582
- */
583
- naverSiteVerification?: string | null;
584
- /**
585
- * Canonical URL (if different from site URL)
586
- */
587
- canonicalUrl?: string | null;
588
- };
589
611
  pwa?: {
590
612
  /**
591
613
  * Short name for PWA (12 characters max)
@@ -600,24 +622,6 @@ interface TenantMetadatum {
600
622
  */
601
623
  display?: ('fullscreen' | 'standalone' | 'minimal-ui' | 'browser') | null;
602
624
  };
603
- analytics?: {
604
- /**
605
- * Google Analytics ID (e.g., G-XXXXXXXXXX)
606
- */
607
- googleAnalyticsId?: string | null;
608
- /**
609
- * Google Tag Manager ID (e.g., GTM-XXXXXXX)
610
- */
611
- googleTagManagerId?: string | null;
612
- /**
613
- * Facebook Pixel ID
614
- */
615
- facebookPixelId?: string | null;
616
- /**
617
- * LinkedIn Partner ID
618
- */
619
- linkedInPartnerId?: string | null;
620
- };
621
625
  updatedAt: string;
622
626
  createdAt: string;
623
627
  }
@@ -799,8 +803,6 @@ interface ApiUsage {
799
803
  */
800
804
  interface Subscription {
801
805
  id: string;
802
- provider: 'toss' | 'polar';
803
- currency: 'KRW' | 'USD';
804
806
  tenant: string | Tenant;
805
807
  plan: 'starter' | 'basic' | 'pro';
806
808
  billingCycle: 'monthly' | 'yearly';
@@ -809,6 +811,11 @@ interface Subscription {
809
811
  */
810
812
  amount: number;
811
813
  status: 'active' | 'past_due' | 'canceled' | 'expired' | 'suspended';
814
+ currency: 'KRW' | 'USD';
815
+ provider: 'toss' | 'polar';
816
+ currentPeriodStart?: string | null;
817
+ currentPeriodEnd?: string | null;
818
+ nextBillingDate?: string | null;
812
819
  /**
813
820
  * Toss billing key (AES-256-GCM encrypted)
814
821
  */
@@ -840,9 +847,6 @@ interface Subscription {
840
847
  * Polar product ID
841
848
  */
842
849
  polarProductId?: string | null;
843
- currentPeriodStart?: string | null;
844
- currentPeriodEnd?: string | null;
845
- nextBillingDate?: string | null;
846
850
  cancelAtPeriodEnd?: boolean | null;
847
851
  canceledAt?: string | null;
848
852
  cancelReason?: string | null;
@@ -863,8 +867,6 @@ interface Subscription {
863
867
  */
864
868
  interface BillingHistory {
865
869
  id: string;
866
- provider: 'toss' | 'polar';
867
- currency: 'KRW' | 'USD';
868
870
  tenant: string | Tenant;
869
871
  subscription?: (string | null) | Subscription;
870
872
  type: 'payment' | 'refund' | 'plan_change';
@@ -874,21 +876,23 @@ interface BillingHistory {
874
876
  */
875
877
  amount: number;
876
878
  /**
877
- * Toss payment key
879
+ * Plan at time of payment
878
880
  */
879
- paymentKey?: string | null;
881
+ plan?: string | null;
882
+ provider: 'toss' | 'polar';
883
+ currency: 'KRW' | 'USD';
884
+ billingCycle?: ('monthly' | 'yearly') | null;
885
+ periodStart?: string | null;
886
+ periodEnd?: string | null;
880
887
  /**
881
888
  * Unique order number
882
889
  */
883
890
  orderId: string;
884
891
  orderName?: string | null;
885
892
  /**
886
- * Plan at time of payment
893
+ * Toss payment key
887
894
  */
888
- plan?: string | null;
889
- billingCycle?: ('monthly' | 'yearly') | null;
890
- periodStart?: string | null;
891
- periodEnd?: string | null;
895
+ paymentKey?: string | null;
892
896
  /**
893
897
  * Full Toss API response
894
898
  */
@@ -1011,24 +1015,19 @@ interface Product {
1011
1015
  tenant?: (string | null) | Tenant;
1012
1016
  title: string;
1013
1017
  subtitle?: string | null;
1018
+ /**
1019
+ * Short summary for listing/cards
1020
+ */
1021
+ description?: string | null;
1014
1022
  thumbnail?: (string | null) | ProductImage;
1015
1023
  images?: (string | ProductImage)[] | null;
1024
+ videos?: (string | Video)[] | null;
1016
1025
  price: number;
1017
1026
  /**
1018
1027
  * Original price before discount
1019
1028
  */
1020
1029
  compareAtPrice?: number | null;
1021
- variants?: {
1022
- docs?: (string | ProductVariant)[];
1023
- hasNextPage?: boolean;
1024
- totalDocs?: number;
1025
- };
1026
- options?: {
1027
- docs?: (string | ProductOption)[];
1028
- hasNextPage?: boolean;
1029
- totalDocs?: number;
1030
- };
1031
- description?: {
1030
+ content?: {
1032
1031
  root: {
1033
1032
  type: string;
1034
1033
  children: {
@@ -1043,24 +1042,18 @@ interface Product {
1043
1042
  };
1044
1043
  [k: string]: unknown;
1045
1044
  } | null;
1046
- /**
1047
- * When enabled, the slug will auto-generate from the title field on save and autosave.
1048
- */
1049
- generateSlug?: boolean | null;
1050
- slug?: string | null;
1051
- /**
1052
- * Stock Keeping Unit
1053
- */
1054
- sku?: string | null;
1055
- status?: ('draft' | 'published' | 'archived') | null;
1056
- isSoldOut?: boolean | null;
1057
- categories?: (string | ProductCategory)[] | null;
1058
- tags?: (string | ProductTag)[] | null;
1059
- collections?: {
1060
- docs?: (string | ProductCollection)[];
1045
+ variants?: {
1046
+ docs?: (string | ProductVariant)[];
1047
+ hasNextPage?: boolean;
1048
+ totalDocs?: number;
1049
+ };
1050
+ options?: {
1051
+ docs?: (string | ProductOption)[];
1061
1052
  hasNextPage?: boolean;
1062
1053
  totalDocs?: number;
1063
1054
  };
1055
+ categories?: (string | ProductCategory)[] | null;
1056
+ tags?: (string | ProductTag)[] | null;
1064
1057
  brand?: (string | null) | Brand;
1065
1058
  shippingPolicy?: (string | null) | ShippingPolicy;
1066
1059
  /**
@@ -1076,8 +1069,34 @@ interface Product {
1076
1069
  * Digital product (no shipping required)
1077
1070
  */
1078
1071
  isDigital?: boolean | null;
1079
- isFeatured?: boolean | null;
1080
- publishedAt?: string | null;
1072
+ collections?: {
1073
+ docs?: (string | ProductCollection)[];
1074
+ hasNextPage?: boolean;
1075
+ totalDocs?: number;
1076
+ };
1077
+ /**
1078
+ * Stock Keeping Unit
1079
+ */
1080
+ sku?: string | null;
1081
+ /**
1082
+ * UPC/EAN barcode
1083
+ */
1084
+ barcode?: string | null;
1085
+ /**
1086
+ * External system ID (ERP, POS)
1087
+ */
1088
+ externalId?: string | null;
1089
+ /**
1090
+ * Minimum order quantity
1091
+ */
1092
+ minOrderQuantity?: number | null;
1093
+ /**
1094
+ * Maximum order quantity
1095
+ */
1096
+ maxOrderQuantity?: number | null;
1097
+ metadata?: {
1098
+ [k: string]: unknown;
1099
+ } | unknown[] | string | number | boolean | null;
1081
1100
  seo?: {
1082
1101
  /**
1083
1102
  * Search result title (falls back to document title)
@@ -1111,24 +1130,14 @@ interface Product {
1111
1130
  };
1112
1131
  };
1113
1132
  /**
1114
- * External system ID (ERP, POS)
1115
- */
1116
- externalId?: string | null;
1117
- /**
1118
- * UPC/EAN barcode
1119
- */
1120
- barcode?: string | null;
1121
- /**
1122
- * Minimum order quantity
1123
- */
1124
- minOrderQuantity?: number | null;
1125
- /**
1126
- * Maximum order quantity
1133
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1127
1134
  */
1128
- maxOrderQuantity?: number | null;
1129
- metadata?: {
1130
- [k: string]: unknown;
1131
- } | unknown[] | string | number | boolean | null;
1135
+ generateSlug?: boolean | null;
1136
+ slug?: string | null;
1137
+ status?: ('draft' | 'published' | 'archived') | null;
1138
+ isSoldOut?: boolean | null;
1139
+ isFeatured?: boolean | null;
1140
+ publishedAt?: string | null;
1132
1141
  updatedAt: string;
1133
1142
  createdAt: string;
1134
1143
  deletedAt?: string | null;
@@ -1199,164 +1208,15 @@ interface ProductImage {
1199
1208
  }
1200
1209
  /**
1201
1210
  * This interface was referenced by `Config`'s JSON-Schema
1202
- * via the `definition` "product-variants".
1211
+ * via the `definition` "videos".
1203
1212
  */
1204
- interface ProductVariant {
1213
+ interface Video {
1205
1214
  id: string;
1206
- _order?: string | null;
1207
- '_product-variants_variants_order'?: string | null;
1208
1215
  tenant?: (string | null) | Tenant;
1209
- product: string | Product;
1210
- title: string;
1211
- /**
1212
- * Variant-specific SKU
1213
- */
1214
- sku?: string | null;
1215
- /**
1216
- * Override price (uses product price if empty)
1217
- */
1218
- price?: number | null;
1219
- /**
1220
- * Barcode (EAN, UPC, etc.)
1221
- */
1222
- barcode?: string | null;
1223
- /**
1224
- * Weight in grams (g)
1225
- */
1226
- weight?: number | null;
1227
- isSoldOut?: boolean | null;
1228
- images?: (string | ProductImage)[] | null;
1229
- dimensions?: {
1230
- width?: number | null;
1231
- height?: number | null;
1232
- depth?: number | null;
1233
- };
1234
- /**
1235
- * External system ID
1236
- */
1237
- externalId?: string | null;
1238
- status?: ('active' | 'inactive') | null;
1239
- /**
1240
- * Sort order
1241
- */
1242
- position?: number | null;
1243
- metadata?: {
1244
- [k: string]: unknown;
1245
- } | unknown[] | string | number | boolean | null;
1246
- productOptions?: {
1247
- docs?: (string | ProductOption)[];
1248
- hasNextPage?: boolean;
1249
- totalDocs?: number;
1250
- };
1251
- updatedAt: string;
1252
- createdAt: string;
1253
- deletedAt?: string | null;
1254
- }
1255
- /**
1256
- * This interface was referenced by `Config`'s JSON-Schema
1257
- * via the `definition` "product-options".
1258
- */
1259
- interface ProductOption {
1260
- id: string;
1261
- _order?: string | null;
1262
- '_product-options_productOptions_order'?: string | null;
1263
- '_product-options_options_order'?: string | null;
1264
- tenant?: (string | null) | Tenant;
1265
- product: string | Product;
1266
- variant?: (string | null) | ProductVariant;
1267
1216
  title?: string | null;
1268
- /**
1269
- * Option-specific SKU
1270
- */
1271
- sku?: string | null;
1272
- stock: number;
1273
- /**
1274
- * Reserved by carts (available = stock - reservedStock)
1275
- */
1276
- reservedStock?: number | null;
1277
- /**
1278
- * Price adjustment (add/subtract from base price)
1279
- */
1280
- priceAdjustment?: number | null;
1281
- /**
1282
- * Option-specific barcode
1283
- */
1284
- barcode?: string | null;
1285
- /**
1286
- * Option-specific weight (g)
1287
- */
1288
- weight?: number | null;
1289
- /**
1290
- * Low stock alert threshold
1291
- */
1292
- lowStockThreshold?: number | null;
1293
- /**
1294
- * External system ID
1295
- */
1296
- externalId?: string | null;
1297
- metadata?: {
1298
- [k: string]: unknown;
1299
- } | unknown[] | string | number | boolean | null;
1300
- updatedAt: string;
1301
- createdAt: string;
1302
- deletedAt?: string | null;
1303
- }
1304
- /**
1305
- * This interface was referenced by `Config`'s JSON-Schema
1306
- * via the `definition` "product-categories".
1307
- */
1308
- interface ProductCategory {
1309
- id: string;
1310
- _order?: string | null;
1311
- tenant?: (string | null) | Tenant;
1312
- title: string;
1313
- /**
1314
- * When enabled, the slug will auto-generate from the title field on save and autosave.
1315
- */
1316
- generateSlug?: boolean | null;
1317
- slug?: string | null;
1318
- description?: string | null;
1319
- image?: (string | null) | ProductImage;
1320
- parent?: (string | null) | ProductCategory;
1321
- color?: string | null;
1322
- updatedAt: string;
1323
- createdAt: string;
1324
- deletedAt?: string | null;
1325
- }
1326
- /**
1327
- * This interface was referenced by `Config`'s JSON-Schema
1328
- * via the `definition` "product-tags".
1329
- */
1330
- interface ProductTag {
1331
- id: string;
1332
- _order?: string | null;
1333
- tenant?: (string | null) | Tenant;
1334
- title: string;
1335
- /**
1336
- * When enabled, the slug will auto-generate from the title field on save and autosave.
1337
- */
1338
- generateSlug?: boolean | null;
1339
- slug?: string | null;
1217
+ filename?: string | null;
1340
1218
  description?: string | null;
1341
- image?: (string | null) | ProductImage;
1342
- parent?: (string | null) | ProductTag;
1343
- color?: string | null;
1344
- updatedAt: string;
1345
- createdAt: string;
1346
- deletedAt?: string | null;
1347
- }
1348
- /**
1349
- * This interface was referenced by `Config`'s JSON-Schema
1350
- * via the `definition` "product-collections".
1351
- */
1352
- interface ProductCollection {
1353
- id: string;
1354
- _order?: string | null;
1355
- tenant?: (string | null) | Tenant;
1356
- title: string;
1357
- thumbnail?: (string | null) | ProductImage;
1358
- images?: (string | ProductImage)[] | null;
1359
- description?: {
1219
+ content?: {
1360
1220
  root: {
1361
1221
  type: string;
1362
1222
  children: {
@@ -1371,16 +1231,16 @@ interface ProductCollection {
1371
1231
  };
1372
1232
  [k: string]: unknown;
1373
1233
  } | null;
1374
- products?: (string | Product)[] | null;
1375
- /**
1376
- * When enabled, the slug will auto-generate from the title field on save and autosave.
1377
- */
1378
- generateSlug?: boolean | null;
1379
- slug?: string | null;
1380
- status?: ('draft' | 'published' | 'archived') | null;
1381
- sortOrder?: ('manual' | 'alphabetical' | 'price-asc' | 'price-desc' | 'newest') | null;
1382
- isFeatured?: boolean | null;
1383
- publishedAt?: string | null;
1234
+ sourceLiveStream?: (string | null) | LiveStream;
1235
+ status?: ('waiting' | 'preparing' | 'ready' | 'errored') | null;
1236
+ duration?: number | null;
1237
+ aspectRatio?: string | null;
1238
+ maxResolution?: string | null;
1239
+ videoQuality?: ('basic' | 'plus' | 'premium') | null;
1240
+ mp4Support?: ('none' | 'standard' | 'capped-1080p') | null;
1241
+ muxAssetId?: string | null;
1242
+ muxPlaybackId?: string | null;
1243
+ muxUploadId?: string | null;
1384
1244
  seo?: {
1385
1245
  /**
1386
1246
  * Search result title (falls back to document title)
@@ -1410,63 +1270,19 @@ interface ProductCollection {
1410
1270
  /**
1411
1271
  * OG / Twitter Card image (1200×630 recommended)
1412
1272
  */
1413
- image?: (string | null) | ProductImage;
1273
+ image?: (string | null) | VideoImage;
1414
1274
  };
1415
1275
  };
1416
- metadata?: {
1417
- [k: string]: unknown;
1418
- } | unknown[] | string | number | boolean | null;
1419
- updatedAt: string;
1420
- createdAt: string;
1421
- deletedAt?: string | null;
1422
- }
1423
- /**
1424
- * This interface was referenced by `Config`'s JSON-Schema
1425
- * via the `definition` "brands".
1426
- */
1427
- interface Brand {
1428
- id: string;
1429
- _order?: string | null;
1430
- tenant?: (string | null) | Tenant;
1431
- name: string;
1276
+ thumbnail?: (string | null) | VideoImage;
1432
1277
  /**
1433
1278
  * When enabled, the slug will auto-generate from the title field on save and autosave.
1434
1279
  */
1435
1280
  generateSlug?: boolean | null;
1436
1281
  slug?: string | null;
1437
- /**
1438
- * Primary brand logo
1439
- */
1440
- logo?: (string | null) | BrandLogo;
1441
- /**
1442
- * Logo for dark mode (optional)
1443
- */
1444
- logoDark?: (string | null) | BrandLogo;
1445
- /**
1446
- * Logo mark / Icon (optional)
1447
- */
1448
- logomark?: (string | null) | BrandLogo;
1449
- description?: {
1450
- root: {
1451
- type: string;
1452
- children: {
1453
- type: any;
1454
- version: number;
1455
- [k: string]: unknown;
1456
- }[];
1457
- direction: ('ltr' | 'rtl') | null;
1458
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1459
- indent: number;
1460
- version: number;
1461
- };
1462
- [k: string]: unknown;
1463
- } | null;
1464
- /**
1465
- * Brand official website URL
1466
- */
1467
- website?: string | null;
1282
+ publishedAt?: string | null;
1468
1283
  isFeatured?: boolean | null;
1469
- status?: ('draft' | 'published') | null;
1284
+ categories?: (string | VideoCategory)[] | null;
1285
+ tags?: (string | VideoTag)[] | null;
1470
1286
  metadata?: {
1471
1287
  [k: string]: unknown;
1472
1288
  } | unknown[] | string | number | boolean | null;
@@ -1476,45 +1292,35 @@ interface Brand {
1476
1292
  }
1477
1293
  /**
1478
1294
  * This interface was referenced by `Config`'s JSON-Schema
1479
- * via the `definition` "shipping-policies".
1295
+ * via the `definition` "live-streams".
1480
1296
  */
1481
- interface ShippingPolicy {
1297
+ interface LiveStream {
1482
1298
  id: string;
1483
- _order?: string | null;
1484
1299
  tenant?: (string | null) | Tenant;
1300
+ title?: string | null;
1301
+ description?: string | null;
1302
+ isFeatured?: boolean | null;
1485
1303
  /**
1486
- * e.g. Standard shipping, Large items
1487
- */
1488
- title: string;
1489
- /**
1490
- * Base shipping fee
1491
- */
1492
- baseFee: number;
1493
- /**
1494
- * Free shipping above this amount (empty = no free shipping)
1495
- */
1496
- freeShippingThreshold?: number | null;
1497
- /**
1498
- * Extra fee for Jeju island
1499
- */
1500
- jejuExtraFee?: number | null;
1501
- /**
1502
- * Extra fee for remote islands
1304
+ * Scheduled start time
1503
1305
  */
1504
- islandExtraFee?: number | null;
1306
+ scheduledAt?: string | null;
1307
+ thumbnail?: (string | null) | LiveStreamImage;
1505
1308
  /**
1506
1309
  * When enabled, the slug will auto-generate from the title field on save and autosave.
1507
1310
  */
1508
1311
  generateSlug?: boolean | null;
1509
1312
  slug?: string | null;
1510
- description?: string | null;
1313
+ muxLiveStreamId?: string | null;
1314
+ muxPlaybackId?: string | null;
1315
+ streamKey?: string | null;
1316
+ status?: ('idle' | 'active' | 'disabled') | null;
1317
+ latencyMode?: ('standard' | 'reduced' | 'low') | null;
1511
1318
  /**
1512
- * Estimated delivery days
1319
+ * Reconnect window (seconds)
1513
1320
  */
1514
- estimatedDays?: number | null;
1515
- status?: ('active' | 'inactive') | null;
1516
- isDefault?: boolean | null;
1517
- metadata?: {
1321
+ reconnectWindow?: number | null;
1322
+ activeAssetId?: string | null;
1323
+ recentAssetIds?: {
1518
1324
  [k: string]: unknown;
1519
1325
  } | unknown[] | string | number | boolean | null;
1520
1326
  updatedAt: string;
@@ -1523,175 +1329,73 @@ interface ShippingPolicy {
1523
1329
  }
1524
1330
  /**
1525
1331
  * This interface was referenced by `Config`'s JSON-Schema
1526
- * via the `definition` "orders".
1332
+ * via the `definition` "live-stream-images".
1527
1333
  */
1528
- interface Order {
1334
+ interface LiveStreamImage {
1529
1335
  id: string;
1530
1336
  tenant?: (string | null) | Tenant;
1531
- orderNumber: string;
1532
- status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
1533
- totalAmount?: number | null;
1534
- discountCode?: string | null;
1535
- discountAmount?: number | null;
1536
- /**
1537
- * Cumulative refunded amount
1538
- */
1539
- refundedAmount?: number | null;
1540
- /**
1541
- * Shipping fee at time of order
1542
- */
1543
- shippingFee?: number | null;
1544
- source?: ('web' | 'app' | 'manual') | null;
1545
- /**
1546
- * Internal admin notes (not visible to customers)
1547
- */
1548
- adminNotes?: string | null;
1549
- /**
1550
- * Notes left by customer at checkout
1551
- */
1552
- customerNotes?: string | null;
1553
- customer?: (string | null) | Customer;
1554
- /**
1555
- * Customer info at the time of order
1556
- */
1557
- customerSnapshot?: {
1558
- name?: string | null;
1559
- email?: string | null;
1560
- phone?: string | null;
1561
- };
1562
- shippingAddress?: {
1563
- recipientName?: string | null;
1564
- phone?: string | null;
1565
- postalCode?: string | null;
1566
- address1?: string | null;
1567
- address2?: string | null;
1568
- deliveryMessage?: string | null;
1569
- };
1570
- products?: {
1571
- docs?: (string | OrderProduct)[];
1572
- hasNextPage?: boolean;
1573
- totalDocs?: number;
1574
- };
1575
- transactions?: {
1576
- docs?: (string | Transaction)[];
1577
- hasNextPage?: boolean;
1578
- totalDocs?: number;
1579
- };
1580
- fulfillments?: {
1581
- docs?: (string | Fulfillment)[];
1582
- hasNextPage?: boolean;
1583
- totalDocs?: number;
1584
- };
1585
- returns?: {
1586
- docs?: (string | Return)[];
1587
- hasNextPage?: boolean;
1588
- totalDocs?: number;
1589
- };
1590
- exchanges?: {
1591
- docs?: (string | Exchange)[];
1592
- hasNextPage?: boolean;
1593
- totalDocs?: number;
1594
- };
1595
- metadata?: {
1596
- [k: string]: unknown;
1597
- } | unknown[] | string | number | boolean | null;
1598
- updatedAt: string;
1599
- createdAt: string;
1600
- }
1601
- /**
1602
- * This interface was referenced by `Config`'s JSON-Schema
1603
- * via the `definition` "customers".
1604
- */
1605
- interface Customer {
1606
- id: string;
1607
- _customers_customers_order?: string | null;
1608
- _order?: string | null;
1609
- tenant?: (string | null) | Tenant;
1610
- name: string;
1611
- email?: string | null;
1612
- phone?: string | null;
1613
- groups?: (string | CustomerGroup)[] | null;
1614
- /**
1615
- * External provider user ID
1616
- */
1617
- socialId?: string | null;
1618
- /**
1619
- * Internal notes (not visible to customers)
1620
- */
1621
- note?: string | null;
1622
- birthDate?: string | null;
1623
- gender?: ('male' | 'female' | 'other' | 'prefer_not_to_say') | null;
1624
- orders?: {
1625
- docs?: (string | Order)[];
1626
- hasNextPage?: boolean;
1627
- totalDocs?: number;
1628
- };
1629
- addresses?: {
1630
- docs?: (string | CustomerAddress)[];
1631
- hasNextPage?: boolean;
1632
- totalDocs?: number;
1337
+ alt?: string | null;
1338
+ lqip?: string | null;
1339
+ palette?: {
1340
+ vibrant?: string | null;
1341
+ muted?: string | null;
1342
+ darkVibrant?: string | null;
1343
+ darkMuted?: string | null;
1344
+ lightVibrant?: string | null;
1345
+ lightMuted?: string | null;
1633
1346
  };
1634
- hashedPassword?: string | null;
1635
- salt?: string | null;
1636
- verificationToken?: string | null;
1637
- resetPasswordToken?: string | null;
1638
- resetPasswordExpiry?: string | null;
1639
- loginAttempts?: number | null;
1640
- lockedUntil?: string | null;
1641
- authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
1642
- isGuest?: boolean | null;
1643
- isVerified?: boolean | null;
1644
- /**
1645
- * Marketing email consent
1646
- */
1647
- marketingConsent?: boolean | null;
1648
- /**
1649
- * Date marketing consent was given
1650
- */
1651
- consentedAt?: string | null;
1652
- lastLoginAt?: string | null;
1653
- metadata?: {
1654
- [k: string]: unknown;
1655
- } | unknown[] | string | number | boolean | null;
1347
+ prefix?: string | null;
1656
1348
  updatedAt: string;
1657
1349
  createdAt: string;
1658
- collection: 'customers';
1659
- }
1660
- /**
1661
- * This interface was referenced by `Config`'s JSON-Schema
1662
- * via the `definition` "customer-groups".
1663
- */
1664
- interface CustomerGroup {
1665
- id: string;
1666
- _order?: string | null;
1667
- tenant?: (string | null) | Tenant;
1668
- title: string;
1669
- /**
1670
- * When enabled, the slug will auto-generate from the title field on save and autosave.
1671
- */
1672
- generateSlug?: boolean | null;
1673
- slug?: string | null;
1674
- description?: string | null;
1675
- color?: string | null;
1676
- image?: (string | null) | CustomerGroupImage;
1677
- status?: ('active' | 'inactive') | null;
1678
- metadata?: {
1679
- [k: string]: unknown;
1680
- } | unknown[] | string | number | boolean | null;
1681
- customers?: {
1682
- docs?: (string | Customer)[];
1683
- hasNextPage?: boolean;
1684
- totalDocs?: number;
1350
+ url?: string | null;
1351
+ thumbnailURL?: string | null;
1352
+ filename?: string | null;
1353
+ mimeType?: string | null;
1354
+ filesize?: number | null;
1355
+ width?: number | null;
1356
+ height?: number | null;
1357
+ focalX?: number | null;
1358
+ focalY?: number | null;
1359
+ sizes?: {
1360
+ '200'?: {
1361
+ url?: string | null;
1362
+ width?: number | null;
1363
+ height?: number | null;
1364
+ mimeType?: string | null;
1365
+ filesize?: number | null;
1366
+ filename?: string | null;
1367
+ };
1368
+ '400'?: {
1369
+ url?: string | null;
1370
+ width?: number | null;
1371
+ height?: number | null;
1372
+ mimeType?: string | null;
1373
+ filesize?: number | null;
1374
+ filename?: string | null;
1375
+ };
1376
+ '800'?: {
1377
+ url?: string | null;
1378
+ width?: number | null;
1379
+ height?: number | null;
1380
+ mimeType?: string | null;
1381
+ filesize?: number | null;
1382
+ filename?: string | null;
1383
+ };
1384
+ '1600'?: {
1385
+ url?: string | null;
1386
+ width?: number | null;
1387
+ height?: number | null;
1388
+ mimeType?: string | null;
1389
+ filesize?: number | null;
1390
+ filename?: string | null;
1391
+ };
1685
1392
  };
1686
- updatedAt: string;
1687
- createdAt: string;
1688
- deletedAt?: string | null;
1689
1393
  }
1690
1394
  /**
1691
1395
  * This interface was referenced by `Config`'s JSON-Schema
1692
- * via the `definition` "customer-group-images".
1396
+ * via the `definition` "video-images".
1693
1397
  */
1694
- interface CustomerGroupImage {
1398
+ interface VideoImage {
1695
1399
  id: string;
1696
1400
  tenant?: (string | null) | Tenant;
1697
1401
  alt?: string | null;
@@ -1753,373 +1457,294 @@ interface CustomerGroupImage {
1753
1457
  }
1754
1458
  /**
1755
1459
  * This interface was referenced by `Config`'s JSON-Schema
1756
- * via the `definition` "customer-addresses".
1460
+ * via the `definition` "video-categories".
1757
1461
  */
1758
- interface CustomerAddress {
1462
+ interface VideoCategory {
1759
1463
  id: string;
1464
+ _order?: string | null;
1760
1465
  tenant?: (string | null) | Tenant;
1761
- customer: string | Customer;
1762
- label?: string | null;
1763
- recipientName?: string | null;
1764
- phone?: string | null;
1765
- postalCode?: string | null;
1766
- address1?: string | null;
1767
- address2?: string | null;
1768
- isDefault?: boolean | null;
1466
+ title: string;
1769
1467
  /**
1770
- * Default delivery message
1468
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1771
1469
  */
1772
- deliveryMessage?: string | null;
1470
+ generateSlug?: boolean | null;
1471
+ slug?: string | null;
1472
+ description?: string | null;
1473
+ image?: (string | null) | VideoImage;
1474
+ parent?: (string | null) | VideoCategory;
1475
+ color?: string | null;
1773
1476
  updatedAt: string;
1774
1477
  createdAt: string;
1478
+ deletedAt?: string | null;
1775
1479
  }
1776
1480
  /**
1777
1481
  * This interface was referenced by `Config`'s JSON-Schema
1778
- * via the `definition` "order-products".
1482
+ * via the `definition` "video-tags".
1779
1483
  */
1780
- interface OrderProduct {
1484
+ interface VideoTag {
1781
1485
  id: string;
1486
+ _order?: string | null;
1782
1487
  tenant?: (string | null) | Tenant;
1783
- order: string | Order;
1784
- product: string | Product;
1785
- variant?: (string | null) | ProductVariant;
1786
- option?: (string | null) | ProductOption;
1787
- quantity: number;
1788
- /**
1789
- * Price per unit at time of order
1790
- */
1791
- unitPrice: number;
1488
+ title: string;
1792
1489
  /**
1793
- * unitPrice × quantity
1490
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1794
1491
  */
1795
- totalPrice: number;
1796
- title?: string | null;
1492
+ generateSlug?: boolean | null;
1493
+ slug?: string | null;
1494
+ description?: string | null;
1495
+ image?: (string | null) | VideoImage;
1496
+ parent?: (string | null) | VideoTag;
1497
+ color?: string | null;
1797
1498
  updatedAt: string;
1798
1499
  createdAt: string;
1500
+ deletedAt?: string | null;
1799
1501
  }
1800
1502
  /**
1801
1503
  * This interface was referenced by `Config`'s JSON-Schema
1802
- * via the `definition` "transactions".
1504
+ * via the `definition` "product-variants".
1803
1505
  */
1804
- interface Transaction {
1506
+ interface ProductVariant {
1805
1507
  id: string;
1508
+ _order?: string | null;
1509
+ '_product-variants_variants_order'?: string | null;
1806
1510
  tenant?: (string | null) | Tenant;
1807
- type: 'payment' | 'refund';
1808
- status: 'pending' | 'paid' | 'failed' | 'canceled';
1809
- order: string | Order;
1810
- paymentId?: string | null;
1811
- paymentMethod?: string | null;
1812
- receiptUrl?: string | null;
1813
- totalAmount?: number | null;
1511
+ product: string | Product;
1512
+ title: string;
1814
1513
  /**
1815
- * Payment gateway provider (e.g. toss, stripe)
1514
+ * Variant-specific SKU
1816
1515
  */
1817
- pgProvider?: string | null;
1818
- metadata?: {
1819
- [k: string]: unknown;
1820
- } | unknown[] | string | number | boolean | null;
1821
- updatedAt: string;
1822
- createdAt: string;
1823
- }
1824
- /**
1825
- * This interface was referenced by `Config`'s JSON-Schema
1826
- * via the `definition` "fulfillments".
1827
- */
1828
- interface Fulfillment {
1829
- id: string;
1830
- tenant?: (string | null) | Tenant;
1831
- order: string | Order;
1832
- status: 'pending' | 'packed' | 'shipped' | 'delivered' | 'failed';
1516
+ sku?: string | null;
1833
1517
  /**
1834
- * Shipping carrier name (e.g. CJ Logistics, FedEx, UPS)
1518
+ * Override price (uses product price if empty)
1835
1519
  */
1836
- carrier?: string | null;
1837
- trackingNumber?: string | null;
1838
- shippedAt?: string | null;
1839
- deliveredAt?: string | null;
1840
- items?: {
1841
- docs?: (string | FulfillmentItem)[];
1842
- hasNextPage?: boolean;
1843
- totalDocs?: number;
1520
+ price?: number | null;
1521
+ /**
1522
+ * Barcode (EAN, UPC, etc.)
1523
+ */
1524
+ barcode?: string | null;
1525
+ /**
1526
+ * Weight in grams (g)
1527
+ */
1528
+ weight?: number | null;
1529
+ isSoldOut?: boolean | null;
1530
+ images?: (string | ProductImage)[] | null;
1531
+ dimensions?: {
1532
+ width?: number | null;
1533
+ height?: number | null;
1534
+ depth?: number | null;
1844
1535
  };
1536
+ /**
1537
+ * External system ID
1538
+ */
1539
+ externalId?: string | null;
1540
+ status?: ('active' | 'inactive') | null;
1541
+ /**
1542
+ * Sort order
1543
+ */
1544
+ position?: number | null;
1845
1545
  metadata?: {
1846
1546
  [k: string]: unknown;
1847
1547
  } | unknown[] | string | number | boolean | null;
1548
+ productOptions?: {
1549
+ docs?: (string | ProductOption)[];
1550
+ hasNextPage?: boolean;
1551
+ totalDocs?: number;
1552
+ };
1848
1553
  updatedAt: string;
1849
1554
  createdAt: string;
1555
+ deletedAt?: string | null;
1850
1556
  }
1851
1557
  /**
1852
1558
  * This interface was referenced by `Config`'s JSON-Schema
1853
- * via the `definition` "fulfillment-items".
1854
- */
1855
- interface FulfillmentItem {
1856
- id: string;
1857
- tenant?: (string | null) | Tenant;
1858
- fulfillment: string | Fulfillment;
1859
- orderProduct: string | OrderProduct;
1860
- quantity: number;
1861
- updatedAt: string;
1862
- createdAt: string;
1863
- }
1864
- /**
1865
- * This interface was referenced by `Config`'s JSON-Schema
1866
- * via the `definition` "returns".
1559
+ * via the `definition` "product-options".
1867
1560
  */
1868
- interface Return {
1561
+ interface ProductOption {
1869
1562
  id: string;
1563
+ _order?: string | null;
1564
+ '_product-options_productOptions_order'?: string | null;
1565
+ '_product-options_options_order'?: string | null;
1870
1566
  tenant?: (string | null) | Tenant;
1871
- order: string | Order;
1872
- status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
1873
- reason?: ('change_of_mind' | 'defective' | 'wrong_delivery' | 'damaged' | 'other') | null;
1567
+ product: string | Product;
1568
+ variant?: (string | null) | ProductVariant;
1569
+ title?: string | null;
1874
1570
  /**
1875
- * Detailed return reason
1571
+ * Option-specific SKU
1876
1572
  */
1877
- reasonDetail?: string | null;
1878
- returnProducts?: {
1879
- docs?: (string | ReturnProduct)[];
1880
- hasNextPage?: boolean;
1881
- totalDocs?: number;
1882
- };
1573
+ sku?: string | null;
1574
+ stock: number;
1883
1575
  /**
1884
- * Internal notes
1576
+ * Reserved by carts (available = stock - reservedStock)
1885
1577
  */
1886
- adminNotes?: string | null;
1887
- completedAt?: string | null;
1578
+ reservedStock?: number | null;
1888
1579
  /**
1889
- * Refund receipt URL
1580
+ * Price adjustment (add/subtract from base price)
1890
1581
  */
1891
- refundReceiptUrl?: string | null;
1892
- refundAmount: number;
1582
+ priceAdjustment?: number | null;
1583
+ /**
1584
+ * Option-specific barcode
1585
+ */
1586
+ barcode?: string | null;
1587
+ /**
1588
+ * Option-specific weight (g)
1589
+ */
1590
+ weight?: number | null;
1591
+ /**
1592
+ * Low stock alert threshold
1593
+ */
1594
+ lowStockThreshold?: number | null;
1595
+ /**
1596
+ * External system ID
1597
+ */
1598
+ externalId?: string | null;
1599
+ metadata?: {
1600
+ [k: string]: unknown;
1601
+ } | unknown[] | string | number | boolean | null;
1893
1602
  updatedAt: string;
1894
1603
  createdAt: string;
1604
+ deletedAt?: string | null;
1895
1605
  }
1896
1606
  /**
1897
1607
  * This interface was referenced by `Config`'s JSON-Schema
1898
- * via the `definition` "return-products".
1608
+ * via the `definition` "product-categories".
1899
1609
  */
1900
- interface ReturnProduct {
1610
+ interface ProductCategory {
1901
1611
  id: string;
1612
+ _order?: string | null;
1902
1613
  tenant?: (string | null) | Tenant;
1903
- return: string | Return;
1904
- order: string | Order;
1905
- status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
1906
- orderProduct: string | OrderProduct;
1907
- product: string | Product;
1908
- variant: string | ProductVariant;
1909
- option: string | ProductOption;
1910
- quantity: number;
1911
- title?: string | null;
1614
+ title: string;
1615
+ /**
1616
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1617
+ */
1618
+ generateSlug?: boolean | null;
1619
+ slug?: string | null;
1620
+ description?: string | null;
1621
+ image?: (string | null) | ProductImage;
1622
+ parent?: (string | null) | ProductCategory;
1623
+ color?: string | null;
1912
1624
  updatedAt: string;
1913
1625
  createdAt: string;
1626
+ deletedAt?: string | null;
1914
1627
  }
1915
1628
  /**
1916
1629
  * This interface was referenced by `Config`'s JSON-Schema
1917
- * via the `definition` "exchanges".
1630
+ * via the `definition` "product-tags".
1918
1631
  */
1919
- interface Exchange {
1632
+ interface ProductTag {
1920
1633
  id: string;
1634
+ _order?: string | null;
1921
1635
  tenant?: (string | null) | Tenant;
1922
- order: string | Order;
1923
- status: 'requested' | 'processing' | 'shipped' | 'completed' | 'rejected';
1924
- reason?: ('wrong_size' | 'wrong_color' | 'defective' | 'other') | null;
1925
- /**
1926
- * Detailed exchange reason
1927
- */
1928
- reasonDetail?: string | null;
1929
- shippingFee?: number | null;
1636
+ title: string;
1930
1637
  /**
1931
- * Internal notes
1638
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1932
1639
  */
1933
- adminNotes?: string | null;
1934
- completedAt?: string | null;
1935
- exchangeProducts?: {
1936
- docs?: (string | ExchangeProduct)[];
1937
- hasNextPage?: boolean;
1938
- totalDocs?: number;
1939
- };
1640
+ generateSlug?: boolean | null;
1641
+ slug?: string | null;
1642
+ description?: string | null;
1643
+ image?: (string | null) | ProductImage;
1644
+ parent?: (string | null) | ProductTag;
1645
+ color?: string | null;
1940
1646
  updatedAt: string;
1941
1647
  createdAt: string;
1648
+ deletedAt?: string | null;
1942
1649
  }
1943
1650
  /**
1944
1651
  * This interface was referenced by `Config`'s JSON-Schema
1945
- * via the `definition` "exchange-products".
1652
+ * via the `definition` "brands".
1946
1653
  */
1947
- interface ExchangeProduct {
1654
+ interface Brand {
1948
1655
  id: string;
1656
+ _order?: string | null;
1949
1657
  tenant?: (string | null) | Tenant;
1950
- exchange: string | Exchange;
1951
- order: string | Order;
1952
- orderProduct: string | OrderProduct;
1953
- product: string | Product;
1954
- variant?: (string | null) | ProductVariant;
1955
- option?: (string | null) | ProductOption;
1956
- quantity: number;
1658
+ name: string;
1957
1659
  /**
1958
- * New variant to exchange to
1660
+ * Short intro for listing/cards
1959
1661
  */
1960
- newVariant?: (string | null) | ProductVariant;
1662
+ description?: string | null;
1663
+ content?: {
1664
+ root: {
1665
+ type: string;
1666
+ children: {
1667
+ type: any;
1668
+ version: number;
1669
+ [k: string]: unknown;
1670
+ }[];
1671
+ direction: ('ltr' | 'rtl') | null;
1672
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1673
+ indent: number;
1674
+ version: number;
1675
+ };
1676
+ [k: string]: unknown;
1677
+ } | null;
1961
1678
  /**
1962
- * New option to exchange to
1679
+ * Primary brand logo
1963
1680
  */
1964
- newOption?: (string | null) | ProductOption;
1965
- title?: string | null;
1966
- updatedAt: string;
1967
- createdAt: string;
1968
- }
1969
- /**
1970
- * This interface was referenced by `Config`'s JSON-Schema
1971
- * via the `definition` "order-status-logs".
1972
- */
1973
- interface OrderStatusLog {
1974
- id: string;
1975
- tenant?: (string | null) | Tenant;
1976
- order: string | Order;
1977
- fromStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
1978
- toStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
1681
+ logo?: (string | null) | BrandLogo;
1979
1682
  /**
1980
- * 'user:{id}' | 'api:updateOrder' | 'system:transaction:{paymentId}' | 'system:fulfillment:{id}' | 'system:return:{id}'
1683
+ * Logo for dark mode (optional)
1981
1684
  */
1982
- changedBy: string;
1983
- reason?: string | null;
1685
+ logoDark?: (string | null) | BrandLogo;
1686
+ /**
1687
+ * Logo mark / Icon (optional)
1688
+ */
1689
+ logomark?: (string | null) | BrandLogo;
1690
+ /**
1691
+ * Brand official website URL
1692
+ */
1693
+ website?: string | null;
1694
+ /**
1695
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1696
+ */
1697
+ generateSlug?: boolean | null;
1698
+ slug?: string | null;
1699
+ status?: ('draft' | 'published') | null;
1700
+ isFeatured?: boolean | null;
1984
1701
  metadata?: {
1985
1702
  [k: string]: unknown;
1986
1703
  } | unknown[] | string | number | boolean | null;
1987
1704
  updatedAt: string;
1988
1705
  createdAt: string;
1706
+ deletedAt?: string | null;
1989
1707
  }
1990
1708
  /**
1991
1709
  * This interface was referenced by `Config`'s JSON-Schema
1992
- * via the `definition` "carts".
1710
+ * via the `definition` "shipping-policies".
1993
1711
  */
1994
- interface Cart {
1712
+ interface ShippingPolicy {
1995
1713
  id: string;
1714
+ _order?: string | null;
1996
1715
  tenant?: (string | null) | Tenant;
1997
- customer?: (string | null) | Customer;
1998
- status: 'active' | 'completed' | 'abandoned';
1999
- shippingAddress?: {
2000
- recipientName?: string | null;
2001
- phone?: string | null;
2002
- postalCode?: string | null;
2003
- address1?: string | null;
2004
- address2?: string | null;
2005
- deliveryMessage?: string | null;
2006
- };
2007
- discountCode?: string | null;
2008
- itemsTotal?: number | null;
2009
- shippingFee?: number | null;
2010
- discountAmount?: number | null;
2011
- totalAmount?: number | null;
2012
- items?: {
2013
- docs?: (string | CartItem)[];
2014
- hasNextPage?: boolean;
2015
- totalDocs?: number;
2016
- };
2017
- expiresAt?: string | null;
2018
- metadata?: {
2019
- [k: string]: unknown;
2020
- } | unknown[] | string | number | boolean | null;
2021
- updatedAt: string;
2022
- createdAt: string;
2023
- }
2024
- /**
2025
- * This interface was referenced by `Config`'s JSON-Schema
2026
- * via the `definition` "cart-items".
2027
- */
2028
- interface CartItem {
2029
- id: string;
2030
- tenant?: (string | null) | Tenant;
2031
- cart: string | Cart;
2032
- product: string | Product;
2033
- variant?: (string | null) | ProductVariant;
2034
- option?: (string | null) | ProductOption;
2035
- quantity: number;
2036
- /**
2037
- * Price at the time of adding to cart
2038
- */
2039
- unitPrice: number;
2040
- metadata?: {
2041
- [k: string]: unknown;
2042
- } | unknown[] | string | number | boolean | null;
2043
- updatedAt: string;
2044
- createdAt: string;
2045
- }
2046
- /**
2047
- * This interface was referenced by `Config`'s JSON-Schema
2048
- * via the `definition` "discounts".
2049
- */
2050
- interface Discount {
2051
- id: string;
2052
- _order?: string | null;
2053
- tenant?: (string | null) | Tenant;
2054
- /**
2055
- * Unique discount code
2056
- */
2057
- code: string;
2058
1716
  /**
2059
- * Internal name (e.g. New member 10% discount)
1717
+ * e.g. Standard shipping, Large items
2060
1718
  */
2061
1719
  title: string;
2062
1720
  /**
2063
- * Internal description for admin reference
2064
- */
2065
- description?: string | null;
2066
- /**
2067
- * Discount rate (%) or fixed amount
2068
- */
2069
- value?: number | null;
2070
- /**
2071
- * Tiered discount rules (applied by order amount range)
2072
- */
2073
- tiers?: {
2074
- /**
2075
- * Minimum order amount for this tier
2076
- */
2077
- minAmount: number;
2078
- discountType: 'percentage' | 'fixed_amount';
2079
- /**
2080
- * Discount rate (%) or fixed amount
2081
- */
2082
- value?: number | null;
2083
- id?: string | null;
2084
- }[] | null;
2085
- /**
2086
- * Minimum order amount to apply
2087
- */
2088
- minOrderAmount?: number | null;
2089
- /**
2090
- * Max discount for percentage type
2091
- */
2092
- maxDiscountAmount?: number | null;
2093
- startsAt?: string | null;
2094
- endsAt?: string | null;
2095
- /**
2096
- * Leave empty to apply to all products
1721
+ * Base shipping fee
2097
1722
  */
2098
- applicableProducts?: (string | Product)[] | null;
1723
+ baseFee: number;
2099
1724
  /**
2100
- * Leave empty to apply to all categories
1725
+ * Free shipping above this amount (empty = no free shipping)
2101
1726
  */
2102
- applicableCategories?: (string | ProductCategory)[] | null;
2103
- type: 'percentage' | 'fixed_amount' | 'free_shipping' | 'tiered';
2104
- isActive?: boolean | null;
1727
+ freeShippingThreshold?: number | null;
2105
1728
  /**
2106
- * Total usage limit (empty = unlimited)
1729
+ * Extra fee for Jeju island
2107
1730
  */
2108
- usageLimit?: number | null;
2109
- usageCount?: number | null;
1731
+ jejuExtraFee?: number | null;
2110
1732
  /**
2111
- * Usage limit per customer (empty = unlimited)
1733
+ * Extra fee for remote islands
2112
1734
  */
2113
- perCustomerLimit?: number | null;
2114
- customerGroups?: (string | CustomerGroup)[] | null;
1735
+ islandExtraFee?: number | null;
2115
1736
  /**
2116
- * Auto-apply discount
1737
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
2117
1738
  */
2118
- isAutoApply?: boolean | null;
1739
+ generateSlug?: boolean | null;
1740
+ slug?: string | null;
1741
+ description?: string | null;
2119
1742
  /**
2120
- * Discount priority (higher = first)
1743
+ * Estimated delivery days
2121
1744
  */
2122
- priority?: number | null;
1745
+ estimatedDays?: number | null;
1746
+ status?: ('active' | 'inactive') | null;
1747
+ isDefault?: boolean | null;
2123
1748
  metadata?: {
2124
1749
  [k: string]: unknown;
2125
1750
  } | unknown[] | string | number | boolean | null;
@@ -2129,19 +1754,16 @@ interface Discount {
2129
1754
  }
2130
1755
  /**
2131
1756
  * This interface was referenced by `Config`'s JSON-Schema
2132
- * via the `definition` "posts".
1757
+ * via the `definition` "product-collections".
2133
1758
  */
2134
- interface Post {
1759
+ interface ProductCollection {
2135
1760
  id: string;
2136
1761
  _order?: string | null;
2137
1762
  tenant?: (string | null) | Tenant;
2138
1763
  title: string;
2139
- subtitle?: string | null;
2140
- /**
2141
- * Brief summary for listing pages
2142
- */
2143
- excerpt?: string | null;
2144
- content?: {
1764
+ thumbnail?: (string | null) | ProductImage;
1765
+ images?: (string | ProductImage)[] | null;
1766
+ description?: {
2145
1767
  root: {
2146
1768
  type: string;
2147
1769
  children: {
@@ -2156,22 +1778,7 @@ interface Post {
2156
1778
  };
2157
1779
  [k: string]: unknown;
2158
1780
  } | null;
2159
- thumbnail?: (string | null) | PostImage;
2160
- images?: (string | PostImage)[] | null;
2161
- /**
2162
- * When enabled, the slug will auto-generate from the title field on save and autosave.
2163
- */
2164
- generateSlug?: boolean | null;
2165
- slug?: string | null;
2166
- author?: (string | null) | PostAuthor;
2167
- publishedAt?: string | null;
2168
- categories?: (string | PostCategory)[] | null;
2169
- tags?: (string | PostTag)[] | null;
2170
- isFeatured?: boolean | null;
2171
- /**
2172
- * Read time (minutes)
2173
- */
2174
- readTime?: number | null;
1781
+ products?: (string | Product)[] | null;
2175
1782
  seo?: {
2176
1783
  /**
2177
1784
  * Search result title (falls back to document title)
@@ -2201,104 +1808,18 @@ interface Post {
2201
1808
  /**
2202
1809
  * OG / Twitter Card image (1200×630 recommended)
2203
1810
  */
2204
- image?: (string | null) | PostImage;
2205
- };
2206
- };
2207
- metadata?: {
2208
- [k: string]: unknown;
2209
- } | unknown[] | string | number | boolean | null;
2210
- updatedAt: string;
2211
- createdAt: string;
2212
- deletedAt?: string | null;
2213
- _status?: ('draft' | 'published') | null;
2214
- }
2215
- /**
2216
- * This interface was referenced by `Config`'s JSON-Schema
2217
- * via the `definition` "post-images".
2218
- */
2219
- interface PostImage {
2220
- id: string;
2221
- tenant?: (string | null) | Tenant;
2222
- alt?: string | null;
2223
- lqip?: string | null;
2224
- palette?: {
2225
- vibrant?: string | null;
2226
- muted?: string | null;
2227
- darkVibrant?: string | null;
2228
- darkMuted?: string | null;
2229
- lightVibrant?: string | null;
2230
- lightMuted?: string | null;
2231
- };
2232
- prefix?: string | null;
2233
- updatedAt: string;
2234
- createdAt: string;
2235
- url?: string | null;
2236
- thumbnailURL?: string | null;
2237
- filename?: string | null;
2238
- mimeType?: string | null;
2239
- filesize?: number | null;
2240
- width?: number | null;
2241
- height?: number | null;
2242
- focalX?: number | null;
2243
- focalY?: number | null;
2244
- sizes?: {
2245
- '200'?: {
2246
- url?: string | null;
2247
- width?: number | null;
2248
- height?: number | null;
2249
- mimeType?: string | null;
2250
- filesize?: number | null;
2251
- filename?: string | null;
2252
- };
2253
- '400'?: {
2254
- url?: string | null;
2255
- width?: number | null;
2256
- height?: number | null;
2257
- mimeType?: string | null;
2258
- filesize?: number | null;
2259
- filename?: string | null;
2260
- };
2261
- '800'?: {
2262
- url?: string | null;
2263
- width?: number | null;
2264
- height?: number | null;
2265
- mimeType?: string | null;
2266
- filesize?: number | null;
2267
- filename?: string | null;
2268
- };
2269
- '1600'?: {
2270
- url?: string | null;
2271
- width?: number | null;
2272
- height?: number | null;
2273
- mimeType?: string | null;
2274
- filesize?: number | null;
2275
- filename?: string | null;
1811
+ image?: (string | null) | ProductImage;
2276
1812
  };
2277
1813
  };
2278
- }
2279
- /**
2280
- * This interface was referenced by `Config`'s JSON-Schema
2281
- * via the `definition` "post-authors".
2282
- */
2283
- interface PostAuthor {
2284
- id: string;
2285
- _order?: string | null;
2286
- tenant?: (string | null) | Tenant;
2287
- name: string;
2288
1814
  /**
2289
1815
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2290
1816
  */
2291
1817
  generateSlug?: boolean | null;
2292
1818
  slug?: string | null;
2293
- avatar?: (string | null) | PostImage;
2294
- bio?: string | null;
2295
- posts?: {
2296
- docs?: (string | Post)[];
2297
- hasNextPage?: boolean;
2298
- totalDocs?: number;
2299
- };
2300
- email?: string | null;
2301
- status?: ('active' | 'inactive') | null;
1819
+ status?: ('draft' | 'published' | 'archived') | null;
1820
+ sortOrder?: ('manual' | 'alphabetical' | 'price-asc' | 'price-desc' | 'newest') | null;
1821
+ isFeatured?: boolean | null;
1822
+ publishedAt?: string | null;
2302
1823
  metadata?: {
2303
1824
  [k: string]: unknown;
2304
1825
  } | unknown[] | string | number | boolean | null;
@@ -2308,109 +1829,643 @@ interface PostAuthor {
2308
1829
  }
2309
1830
  /**
2310
1831
  * This interface was referenced by `Config`'s JSON-Schema
2311
- * via the `definition` "post-categories".
1832
+ * via the `definition` "orders".
2312
1833
  */
2313
- interface PostCategory {
1834
+ interface Order {
2314
1835
  id: string;
2315
- _order?: string | null;
2316
1836
  tenant?: (string | null) | Tenant;
2317
- title: string;
1837
+ orderNumber: string;
1838
+ status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
1839
+ totalAmount?: number | null;
1840
+ discountCode?: string | null;
1841
+ discountAmount?: number | null;
2318
1842
  /**
2319
- * When enabled, the slug will auto-generate from the title field on save and autosave.
1843
+ * Cumulative refunded amount
2320
1844
  */
2321
- generateSlug?: boolean | null;
2322
- slug?: string | null;
2323
- description?: string | null;
2324
- image?: (string | null) | PostImage;
2325
- parent?: (string | null) | PostCategory;
1845
+ refundedAmount?: number | null;
1846
+ /**
1847
+ * Shipping fee at time of order
1848
+ */
1849
+ shippingFee?: number | null;
1850
+ source?: ('web' | 'app' | 'manual') | null;
1851
+ /**
1852
+ * Internal admin notes (not visible to customers)
1853
+ */
1854
+ adminNotes?: string | null;
1855
+ /**
1856
+ * Notes left by customer at checkout
1857
+ */
1858
+ customerNotes?: string | null;
1859
+ customer?: (string | null) | Customer;
1860
+ /**
1861
+ * Customer info at the time of order
1862
+ */
1863
+ customerSnapshot?: {
1864
+ name?: string | null;
1865
+ email?: string | null;
1866
+ phone?: string | null;
1867
+ };
1868
+ shippingAddress?: {
1869
+ recipientName?: string | null;
1870
+ phone?: string | null;
1871
+ postalCode?: string | null;
1872
+ address1?: string | null;
1873
+ address2?: string | null;
1874
+ deliveryMessage?: string | null;
1875
+ };
1876
+ products?: {
1877
+ docs?: (string | OrderProduct)[];
1878
+ hasNextPage?: boolean;
1879
+ totalDocs?: number;
1880
+ };
1881
+ transactions?: {
1882
+ docs?: (string | Transaction)[];
1883
+ hasNextPage?: boolean;
1884
+ totalDocs?: number;
1885
+ };
1886
+ fulfillments?: {
1887
+ docs?: (string | Fulfillment)[];
1888
+ hasNextPage?: boolean;
1889
+ totalDocs?: number;
1890
+ };
1891
+ returns?: {
1892
+ docs?: (string | Return)[];
1893
+ hasNextPage?: boolean;
1894
+ totalDocs?: number;
1895
+ };
1896
+ exchanges?: {
1897
+ docs?: (string | Exchange)[];
1898
+ hasNextPage?: boolean;
1899
+ totalDocs?: number;
1900
+ };
1901
+ metadata?: {
1902
+ [k: string]: unknown;
1903
+ } | unknown[] | string | number | boolean | null;
1904
+ updatedAt: string;
1905
+ createdAt: string;
1906
+ }
1907
+ /**
1908
+ * This interface was referenced by `Config`'s JSON-Schema
1909
+ * via the `definition` "customers".
1910
+ */
1911
+ interface Customer {
1912
+ id: string;
1913
+ _customers_customers_order?: string | null;
1914
+ _order?: string | null;
1915
+ tenant?: (string | null) | Tenant;
1916
+ name: string;
1917
+ email?: string | null;
1918
+ phone?: string | null;
1919
+ groups?: (string | CustomerGroup)[] | null;
1920
+ /**
1921
+ * External provider user ID
1922
+ */
1923
+ socialId?: string | null;
1924
+ /**
1925
+ * Internal notes (not visible to customers)
1926
+ */
1927
+ note?: string | null;
1928
+ birthDate?: string | null;
1929
+ gender?: ('male' | 'female' | 'other' | 'prefer_not_to_say') | null;
1930
+ orders?: {
1931
+ docs?: (string | Order)[];
1932
+ hasNextPage?: boolean;
1933
+ totalDocs?: number;
1934
+ };
1935
+ addresses?: {
1936
+ docs?: (string | CustomerAddress)[];
1937
+ hasNextPage?: boolean;
1938
+ totalDocs?: number;
1939
+ };
1940
+ hashedPassword?: string | null;
1941
+ salt?: string | null;
1942
+ verificationToken?: string | null;
1943
+ resetPasswordToken?: string | null;
1944
+ resetPasswordExpiry?: string | null;
1945
+ loginAttempts?: number | null;
1946
+ lockedUntil?: string | null;
1947
+ authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
1948
+ isGuest?: boolean | null;
1949
+ isVerified?: boolean | null;
1950
+ /**
1951
+ * Marketing email consent
1952
+ */
1953
+ marketingConsent?: boolean | null;
1954
+ /**
1955
+ * Date marketing consent was given
1956
+ */
1957
+ consentedAt?: string | null;
1958
+ lastLoginAt?: string | null;
1959
+ metadata?: {
1960
+ [k: string]: unknown;
1961
+ } | unknown[] | string | number | boolean | null;
1962
+ updatedAt: string;
1963
+ createdAt: string;
1964
+ collection: 'customers';
1965
+ }
1966
+ /**
1967
+ * This interface was referenced by `Config`'s JSON-Schema
1968
+ * via the `definition` "customer-groups".
1969
+ */
1970
+ interface CustomerGroup {
1971
+ id: string;
1972
+ _order?: string | null;
1973
+ tenant?: (string | null) | Tenant;
1974
+ title: string;
1975
+ /**
1976
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1977
+ */
1978
+ generateSlug?: boolean | null;
1979
+ slug?: string | null;
1980
+ description?: string | null;
2326
1981
  color?: string | null;
1982
+ image?: (string | null) | CustomerGroupImage;
1983
+ status?: ('active' | 'inactive') | null;
1984
+ metadata?: {
1985
+ [k: string]: unknown;
1986
+ } | unknown[] | string | number | boolean | null;
1987
+ customers?: {
1988
+ docs?: (string | Customer)[];
1989
+ hasNextPage?: boolean;
1990
+ totalDocs?: number;
1991
+ };
1992
+ updatedAt: string;
1993
+ createdAt: string;
1994
+ deletedAt?: string | null;
1995
+ }
1996
+ /**
1997
+ * This interface was referenced by `Config`'s JSON-Schema
1998
+ * via the `definition` "customer-group-images".
1999
+ */
2000
+ interface CustomerGroupImage {
2001
+ id: string;
2002
+ tenant?: (string | null) | Tenant;
2003
+ alt?: string | null;
2004
+ lqip?: string | null;
2005
+ palette?: {
2006
+ vibrant?: string | null;
2007
+ muted?: string | null;
2008
+ darkVibrant?: string | null;
2009
+ darkMuted?: string | null;
2010
+ lightVibrant?: string | null;
2011
+ lightMuted?: string | null;
2012
+ };
2013
+ prefix?: string | null;
2014
+ updatedAt: string;
2015
+ createdAt: string;
2016
+ url?: string | null;
2017
+ thumbnailURL?: string | null;
2018
+ filename?: string | null;
2019
+ mimeType?: string | null;
2020
+ filesize?: number | null;
2021
+ width?: number | null;
2022
+ height?: number | null;
2023
+ focalX?: number | null;
2024
+ focalY?: number | null;
2025
+ sizes?: {
2026
+ '200'?: {
2027
+ url?: string | null;
2028
+ width?: number | null;
2029
+ height?: number | null;
2030
+ mimeType?: string | null;
2031
+ filesize?: number | null;
2032
+ filename?: string | null;
2033
+ };
2034
+ '400'?: {
2035
+ url?: string | null;
2036
+ width?: number | null;
2037
+ height?: number | null;
2038
+ mimeType?: string | null;
2039
+ filesize?: number | null;
2040
+ filename?: string | null;
2041
+ };
2042
+ '800'?: {
2043
+ url?: string | null;
2044
+ width?: number | null;
2045
+ height?: number | null;
2046
+ mimeType?: string | null;
2047
+ filesize?: number | null;
2048
+ filename?: string | null;
2049
+ };
2050
+ '1600'?: {
2051
+ url?: string | null;
2052
+ width?: number | null;
2053
+ height?: number | null;
2054
+ mimeType?: string | null;
2055
+ filesize?: number | null;
2056
+ filename?: string | null;
2057
+ };
2058
+ };
2059
+ }
2060
+ /**
2061
+ * This interface was referenced by `Config`'s JSON-Schema
2062
+ * via the `definition` "customer-addresses".
2063
+ */
2064
+ interface CustomerAddress {
2065
+ id: string;
2066
+ tenant?: (string | null) | Tenant;
2067
+ customer: string | Customer;
2068
+ label?: string | null;
2069
+ recipientName?: string | null;
2070
+ phone?: string | null;
2071
+ postalCode?: string | null;
2072
+ address1?: string | null;
2073
+ address2?: string | null;
2074
+ isDefault?: boolean | null;
2075
+ /**
2076
+ * Default delivery message
2077
+ */
2078
+ deliveryMessage?: string | null;
2079
+ updatedAt: string;
2080
+ createdAt: string;
2081
+ }
2082
+ /**
2083
+ * This interface was referenced by `Config`'s JSON-Schema
2084
+ * via the `definition` "order-products".
2085
+ */
2086
+ interface OrderProduct {
2087
+ id: string;
2088
+ tenant?: (string | null) | Tenant;
2089
+ order: string | Order;
2090
+ product: string | Product;
2091
+ variant?: (string | null) | ProductVariant;
2092
+ option?: (string | null) | ProductOption;
2093
+ quantity: number;
2094
+ /**
2095
+ * Price per unit at time of order
2096
+ */
2097
+ unitPrice: number;
2098
+ /**
2099
+ * unitPrice × quantity
2100
+ */
2101
+ totalPrice: number;
2102
+ title?: string | null;
2103
+ updatedAt: string;
2104
+ createdAt: string;
2105
+ }
2106
+ /**
2107
+ * This interface was referenced by `Config`'s JSON-Schema
2108
+ * via the `definition` "transactions".
2109
+ */
2110
+ interface Transaction {
2111
+ id: string;
2112
+ tenant?: (string | null) | Tenant;
2113
+ type: 'payment' | 'refund';
2114
+ status: 'pending' | 'paid' | 'failed' | 'canceled';
2115
+ order: string | Order;
2116
+ paymentId?: string | null;
2117
+ paymentMethod?: string | null;
2118
+ receiptUrl?: string | null;
2119
+ totalAmount?: number | null;
2120
+ /**
2121
+ * Payment gateway provider (e.g. toss, stripe)
2122
+ */
2123
+ pgProvider?: string | null;
2124
+ metadata?: {
2125
+ [k: string]: unknown;
2126
+ } | unknown[] | string | number | boolean | null;
2127
+ updatedAt: string;
2128
+ createdAt: string;
2129
+ }
2130
+ /**
2131
+ * This interface was referenced by `Config`'s JSON-Schema
2132
+ * via the `definition` "fulfillments".
2133
+ */
2134
+ interface Fulfillment {
2135
+ id: string;
2136
+ tenant?: (string | null) | Tenant;
2137
+ order: string | Order;
2138
+ status: 'pending' | 'packed' | 'shipped' | 'delivered' | 'failed';
2139
+ /**
2140
+ * Shipping carrier name (e.g. CJ Logistics, FedEx, UPS)
2141
+ */
2142
+ carrier?: string | null;
2143
+ trackingNumber?: string | null;
2144
+ shippedAt?: string | null;
2145
+ deliveredAt?: string | null;
2146
+ items?: {
2147
+ docs?: (string | FulfillmentItem)[];
2148
+ hasNextPage?: boolean;
2149
+ totalDocs?: number;
2150
+ };
2151
+ metadata?: {
2152
+ [k: string]: unknown;
2153
+ } | unknown[] | string | number | boolean | null;
2154
+ updatedAt: string;
2155
+ createdAt: string;
2156
+ }
2157
+ /**
2158
+ * This interface was referenced by `Config`'s JSON-Schema
2159
+ * via the `definition` "fulfillment-items".
2160
+ */
2161
+ interface FulfillmentItem {
2162
+ id: string;
2163
+ tenant?: (string | null) | Tenant;
2164
+ fulfillment: string | Fulfillment;
2165
+ orderProduct: string | OrderProduct;
2166
+ quantity: number;
2167
+ updatedAt: string;
2168
+ createdAt: string;
2169
+ }
2170
+ /**
2171
+ * This interface was referenced by `Config`'s JSON-Schema
2172
+ * via the `definition` "returns".
2173
+ */
2174
+ interface Return {
2175
+ id: string;
2176
+ tenant?: (string | null) | Tenant;
2177
+ order: string | Order;
2178
+ status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
2179
+ reason?: ('change_of_mind' | 'defective' | 'wrong_delivery' | 'damaged' | 'other') | null;
2180
+ /**
2181
+ * Detailed return reason
2182
+ */
2183
+ reasonDetail?: string | null;
2184
+ returnProducts?: {
2185
+ docs?: (string | ReturnProduct)[];
2186
+ hasNextPage?: boolean;
2187
+ totalDocs?: number;
2188
+ };
2189
+ /**
2190
+ * Internal notes
2191
+ */
2192
+ adminNotes?: string | null;
2193
+ completedAt?: string | null;
2194
+ /**
2195
+ * Refund receipt URL
2196
+ */
2197
+ refundReceiptUrl?: string | null;
2198
+ refundAmount: number;
2199
+ updatedAt: string;
2200
+ createdAt: string;
2201
+ }
2202
+ /**
2203
+ * This interface was referenced by `Config`'s JSON-Schema
2204
+ * via the `definition` "return-products".
2205
+ */
2206
+ interface ReturnProduct {
2207
+ id: string;
2208
+ tenant?: (string | null) | Tenant;
2209
+ return: string | Return;
2210
+ order: string | Order;
2211
+ status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
2212
+ orderProduct: string | OrderProduct;
2213
+ product: string | Product;
2214
+ variant: string | ProductVariant;
2215
+ option: string | ProductOption;
2216
+ quantity: number;
2217
+ title?: string | null;
2327
2218
  updatedAt: string;
2328
2219
  createdAt: string;
2329
- deletedAt?: string | null;
2330
2220
  }
2331
2221
  /**
2332
2222
  * This interface was referenced by `Config`'s JSON-Schema
2333
- * via the `definition` "post-tags".
2223
+ * via the `definition` "exchanges".
2334
2224
  */
2335
- interface PostTag {
2225
+ interface Exchange {
2336
2226
  id: string;
2337
- _order?: string | null;
2338
2227
  tenant?: (string | null) | Tenant;
2339
- title: string;
2228
+ order: string | Order;
2229
+ status: 'requested' | 'processing' | 'shipped' | 'completed' | 'rejected';
2230
+ reason?: ('wrong_size' | 'wrong_color' | 'defective' | 'other') | null;
2340
2231
  /**
2341
- * When enabled, the slug will auto-generate from the title field on save and autosave.
2232
+ * Detailed exchange reason
2342
2233
  */
2343
- generateSlug?: boolean | null;
2344
- slug?: string | null;
2345
- description?: string | null;
2346
- image?: (string | null) | PostImage;
2347
- parent?: (string | null) | PostTag;
2348
- color?: string | null;
2234
+ reasonDetail?: string | null;
2235
+ shippingFee?: number | null;
2236
+ /**
2237
+ * Internal notes
2238
+ */
2239
+ adminNotes?: string | null;
2240
+ completedAt?: string | null;
2241
+ exchangeProducts?: {
2242
+ docs?: (string | ExchangeProduct)[];
2243
+ hasNextPage?: boolean;
2244
+ totalDocs?: number;
2245
+ };
2349
2246
  updatedAt: string;
2350
2247
  createdAt: string;
2351
- deletedAt?: string | null;
2352
2248
  }
2353
2249
  /**
2354
2250
  * This interface was referenced by `Config`'s JSON-Schema
2355
- * via the `definition` "documents".
2251
+ * via the `definition` "exchange-products".
2356
2252
  */
2357
- interface Document {
2253
+ interface ExchangeProduct {
2358
2254
  id: string;
2359
- _order?: string | null;
2360
2255
  tenant?: (string | null) | Tenant;
2361
- title: string;
2362
- summary?: string | null;
2363
- content: {
2364
- root: {
2365
- type: string;
2366
- children: {
2367
- type: any;
2368
- version: number;
2369
- [k: string]: unknown;
2370
- }[];
2371
- direction: ('ltr' | 'rtl') | null;
2372
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
2373
- indent: number;
2374
- version: number;
2375
- };
2256
+ exchange: string | Exchange;
2257
+ order: string | Order;
2258
+ orderProduct: string | OrderProduct;
2259
+ product: string | Product;
2260
+ variant?: (string | null) | ProductVariant;
2261
+ option?: (string | null) | ProductOption;
2262
+ quantity: number;
2263
+ /**
2264
+ * New variant to exchange to
2265
+ */
2266
+ newVariant?: (string | null) | ProductVariant;
2267
+ /**
2268
+ * New option to exchange to
2269
+ */
2270
+ newOption?: (string | null) | ProductOption;
2271
+ title?: string | null;
2272
+ updatedAt: string;
2273
+ createdAt: string;
2274
+ }
2275
+ /**
2276
+ * This interface was referenced by `Config`'s JSON-Schema
2277
+ * via the `definition` "order-status-logs".
2278
+ */
2279
+ interface OrderStatusLog {
2280
+ id: string;
2281
+ tenant?: (string | null) | Tenant;
2282
+ order: string | Order;
2283
+ fromStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
2284
+ toStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
2285
+ /**
2286
+ * 'user:{id}' | 'api:updateOrder' | 'system:transaction:{paymentId}' | 'system:fulfillment:{id}' | 'system:return:{id}'
2287
+ */
2288
+ changedBy: string;
2289
+ reason?: string | null;
2290
+ metadata?: {
2376
2291
  [k: string]: unknown;
2292
+ } | unknown[] | string | number | boolean | null;
2293
+ updatedAt: string;
2294
+ createdAt: string;
2295
+ }
2296
+ /**
2297
+ * This interface was referenced by `Config`'s JSON-Schema
2298
+ * via the `definition` "carts".
2299
+ */
2300
+ interface Cart {
2301
+ id: string;
2302
+ tenant?: (string | null) | Tenant;
2303
+ customer?: (string | null) | Customer;
2304
+ status: 'active' | 'completed' | 'abandoned';
2305
+ shippingAddress?: {
2306
+ recipientName?: string | null;
2307
+ phone?: string | null;
2308
+ postalCode?: string | null;
2309
+ address1?: string | null;
2310
+ address2?: string | null;
2311
+ deliveryMessage?: string | null;
2312
+ };
2313
+ discountCode?: string | null;
2314
+ itemsTotal?: number | null;
2315
+ shippingFee?: number | null;
2316
+ discountAmount?: number | null;
2317
+ totalAmount?: number | null;
2318
+ items?: {
2319
+ docs?: (string | CartItem)[];
2320
+ hasNextPage?: boolean;
2321
+ totalDocs?: number;
2377
2322
  };
2323
+ expiresAt?: string | null;
2324
+ metadata?: {
2325
+ [k: string]: unknown;
2326
+ } | unknown[] | string | number | boolean | null;
2327
+ updatedAt: string;
2328
+ createdAt: string;
2329
+ }
2330
+ /**
2331
+ * This interface was referenced by `Config`'s JSON-Schema
2332
+ * via the `definition` "cart-items".
2333
+ */
2334
+ interface CartItem {
2335
+ id: string;
2336
+ tenant?: (string | null) | Tenant;
2337
+ cart: string | Cart;
2338
+ product: string | Product;
2339
+ variant?: (string | null) | ProductVariant;
2340
+ option?: (string | null) | ProductOption;
2341
+ quantity: number;
2378
2342
  /**
2379
- * Tags for search (e.g. GDPR, CCPA)
2343
+ * Price at the time of adding to cart
2380
2344
  */
2381
- tags?: {
2382
- tag?: string | null;
2345
+ unitPrice: number;
2346
+ metadata?: {
2347
+ [k: string]: unknown;
2348
+ } | unknown[] | string | number | boolean | null;
2349
+ updatedAt: string;
2350
+ createdAt: string;
2351
+ }
2352
+ /**
2353
+ * This interface was referenced by `Config`'s JSON-Schema
2354
+ * via the `definition` "discounts".
2355
+ */
2356
+ interface Discount {
2357
+ id: string;
2358
+ _order?: string | null;
2359
+ tenant?: (string | null) | Tenant;
2360
+ type: 'percentage' | 'fixed_amount' | 'free_shipping' | 'tiered';
2361
+ isActive?: boolean | null;
2362
+ /**
2363
+ * Unique discount code
2364
+ */
2365
+ code: string;
2366
+ /**
2367
+ * Internal name (e.g. New member 10% discount)
2368
+ */
2369
+ title: string;
2370
+ /**
2371
+ * Internal description for admin reference
2372
+ */
2373
+ description?: string | null;
2374
+ /**
2375
+ * Discount rate (%) or fixed amount
2376
+ */
2377
+ value?: number | null;
2378
+ /**
2379
+ * Tiered discount rules (applied by order amount range)
2380
+ */
2381
+ tiers?: {
2382
+ /**
2383
+ * Minimum order amount for this tier
2384
+ */
2385
+ minAmount: number;
2386
+ discountType: 'percentage' | 'fixed_amount';
2387
+ /**
2388
+ * Discount rate (%) or fixed amount
2389
+ */
2390
+ value?: number | null;
2383
2391
  id?: string | null;
2384
2392
  }[] | null;
2385
2393
  /**
2386
- * Changelog (differences from previous version)
2394
+ * Minimum order amount to apply
2387
2395
  */
2388
- changeLog?: string | null;
2396
+ minOrderAmount?: number | null;
2389
2397
  /**
2390
- * When enabled, the slug will auto-generate from the title field on save and autosave.
2398
+ * Max discount for percentage type
2391
2399
  */
2392
- generateSlug?: boolean | null;
2393
- slug?: string | null;
2394
- type?: (string | null) | DocumentType;
2400
+ maxDiscountAmount?: number | null;
2401
+ startsAt?: string | null;
2402
+ endsAt?: string | null;
2395
2403
  /**
2396
- * Document version (e.g. 1.0, 1.1, 2.0)
2404
+ * Leave empty to apply to all products
2397
2405
  */
2398
- version?: string | null;
2406
+ applicableProducts?: (string | Product)[] | null;
2399
2407
  /**
2400
- * Effective date
2408
+ * Leave empty to apply to all categories
2401
2409
  */
2402
- effectiveDate?: string | null;
2410
+ applicableCategories?: (string | ProductCategory)[] | null;
2403
2411
  /**
2404
- * Expiry date (optional)
2412
+ * Total usage limit (empty = unlimited)
2405
2413
  */
2406
- expiryDate?: string | null;
2407
- category?: (string | null) | DocumentCategory;
2414
+ usageLimit?: number | null;
2415
+ usageCount?: number | null;
2408
2416
  /**
2409
- * Document that requires user agreement
2417
+ * Usage limit per customer (empty = unlimited)
2410
2418
  */
2411
- isRequired?: boolean | null;
2412
- thumbnail?: (string | null) | DocumentImage;
2413
- images?: (string | DocumentImage)[] | null;
2419
+ perCustomerLimit?: number | null;
2420
+ customerGroups?: (string | CustomerGroup)[] | null;
2421
+ /**
2422
+ * Auto-apply discount
2423
+ */
2424
+ isAutoApply?: boolean | null;
2425
+ /**
2426
+ * Discount priority (higher = first)
2427
+ */
2428
+ priority?: number | null;
2429
+ metadata?: {
2430
+ [k: string]: unknown;
2431
+ } | unknown[] | string | number | boolean | null;
2432
+ updatedAt: string;
2433
+ createdAt: string;
2434
+ deletedAt?: string | null;
2435
+ }
2436
+ /**
2437
+ * This interface was referenced by `Config`'s JSON-Schema
2438
+ * via the `definition` "posts".
2439
+ */
2440
+ interface Post {
2441
+ id: string;
2442
+ _order?: string | null;
2443
+ tenant?: (string | null) | Tenant;
2444
+ title: string;
2445
+ subtitle?: string | null;
2446
+ /**
2447
+ * Brief summary for listing pages
2448
+ */
2449
+ description?: string | null;
2450
+ content?: {
2451
+ root: {
2452
+ type: string;
2453
+ children: {
2454
+ type: any;
2455
+ version: number;
2456
+ [k: string]: unknown;
2457
+ }[];
2458
+ direction: ('ltr' | 'rtl') | null;
2459
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
2460
+ indent: number;
2461
+ version: number;
2462
+ };
2463
+ [k: string]: unknown;
2464
+ } | null;
2465
+ author?: (string | null) | PostAuthor;
2466
+ categories?: (string | PostCategory)[] | null;
2467
+ tags?: (string | PostTag)[] | null;
2468
+ videos?: (string | Video)[] | null;
2414
2469
  seo?: {
2415
2470
  /**
2416
2471
  * Search result title (falls back to document title)
@@ -2440,9 +2495,22 @@ interface Document {
2440
2495
  /**
2441
2496
  * OG / Twitter Card image (1200×630 recommended)
2442
2497
  */
2443
- image?: (string | null) | DocumentImage;
2498
+ image?: (string | null) | PostImage;
2444
2499
  };
2445
2500
  };
2501
+ thumbnail?: (string | null) | PostImage;
2502
+ images?: (string | PostImage)[] | null;
2503
+ /**
2504
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
2505
+ */
2506
+ generateSlug?: boolean | null;
2507
+ slug?: string | null;
2508
+ publishedAt?: string | null;
2509
+ isFeatured?: boolean | null;
2510
+ /**
2511
+ * Read time (minutes)
2512
+ */
2513
+ readTime?: number | null;
2446
2514
  metadata?: {
2447
2515
  [k: string]: unknown;
2448
2516
  } | unknown[] | string | number | boolean | null;
@@ -2453,30 +2521,39 @@ interface Document {
2453
2521
  }
2454
2522
  /**
2455
2523
  * This interface was referenced by `Config`'s JSON-Schema
2456
- * via the `definition` "document-types".
2524
+ * via the `definition` "post-authors".
2457
2525
  */
2458
- interface DocumentType {
2526
+ interface PostAuthor {
2459
2527
  id: string;
2460
2528
  _order?: string | null;
2461
2529
  tenant?: (string | null) | Tenant;
2462
- title: string;
2530
+ name: string;
2463
2531
  /**
2464
2532
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2465
2533
  */
2466
2534
  generateSlug?: boolean | null;
2467
2535
  slug?: string | null;
2468
- description?: string | null;
2469
- image?: (string | null) | DocumentImage;
2470
- color?: string | null;
2536
+ avatar?: (string | null) | PostImage;
2537
+ bio?: string | null;
2538
+ posts?: {
2539
+ docs?: (string | Post)[];
2540
+ hasNextPage?: boolean;
2541
+ totalDocs?: number;
2542
+ };
2543
+ email?: string | null;
2544
+ status?: ('active' | 'inactive') | null;
2545
+ metadata?: {
2546
+ [k: string]: unknown;
2547
+ } | unknown[] | string | number | boolean | null;
2471
2548
  updatedAt: string;
2472
2549
  createdAt: string;
2473
2550
  deletedAt?: string | null;
2474
2551
  }
2475
2552
  /**
2476
2553
  * This interface was referenced by `Config`'s JSON-Schema
2477
- * via the `definition` "document-images".
2554
+ * via the `definition` "post-images".
2478
2555
  */
2479
- interface DocumentImage {
2556
+ interface PostImage {
2480
2557
  id: string;
2481
2558
  tenant?: (string | null) | Tenant;
2482
2559
  alt?: string | null;
@@ -2538,9 +2615,9 @@ interface DocumentImage {
2538
2615
  }
2539
2616
  /**
2540
2617
  * This interface was referenced by `Config`'s JSON-Schema
2541
- * via the `definition` "document-categories".
2618
+ * via the `definition` "post-categories".
2542
2619
  */
2543
- interface DocumentCategory {
2620
+ interface PostCategory {
2544
2621
  id: string;
2545
2622
  _order?: string | null;
2546
2623
  tenant?: (string | null) | Tenant;
@@ -2551,8 +2628,8 @@ interface DocumentCategory {
2551
2628
  generateSlug?: boolean | null;
2552
2629
  slug?: string | null;
2553
2630
  description?: string | null;
2554
- image?: (string | null) | DocumentImage;
2555
- parent?: (string | null) | DocumentCategory;
2631
+ image?: (string | null) | PostImage;
2632
+ parent?: (string | null) | PostCategory;
2556
2633
  color?: string | null;
2557
2634
  updatedAt: string;
2558
2635
  createdAt: string;
@@ -2560,185 +2637,79 @@ interface DocumentCategory {
2560
2637
  }
2561
2638
  /**
2562
2639
  * This interface was referenced by `Config`'s JSON-Schema
2563
- * via the `definition` "playlists".
2640
+ * via the `definition` "post-tags".
2564
2641
  */
2565
- interface Playlist {
2642
+ interface PostTag {
2566
2643
  id: string;
2567
2644
  _order?: string | null;
2568
2645
  tenant?: (string | null) | Tenant;
2569
2646
  title: string;
2570
- description?: string | null;
2571
- musics?: {
2572
- docs?: (string | Music)[];
2573
- hasNextPage?: boolean;
2574
- totalDocs?: number;
2575
- };
2576
- categories?: (string | PlaylistCategory)[] | null;
2577
- image?: (string | null) | PlaylistImage;
2578
2647
  /**
2579
2648
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2580
2649
  */
2581
2650
  generateSlug?: boolean | null;
2582
2651
  slug?: string | null;
2583
- status?: ('draft' | 'published') | null;
2584
- isFeatured?: boolean | null;
2585
- /**
2586
- * Total duration (seconds)
2587
- */
2588
- totalDuration?: number | null;
2589
- metadata?: {
2590
- [k: string]: unknown;
2591
- } | unknown[] | string | number | boolean | null;
2652
+ description?: string | null;
2653
+ image?: (string | null) | PostImage;
2654
+ parent?: (string | null) | PostTag;
2655
+ color?: string | null;
2592
2656
  updatedAt: string;
2593
2657
  createdAt: string;
2594
2658
  deletedAt?: string | null;
2595
2659
  }
2596
2660
  /**
2597
2661
  * This interface was referenced by `Config`'s JSON-Schema
2598
- * via the `definition` "musics".
2662
+ * via the `definition` "documents".
2599
2663
  */
2600
- interface Music {
2664
+ interface Document {
2601
2665
  id: string;
2602
2666
  _order?: string | null;
2603
- _musics_musics_order?: string | null;
2604
2667
  tenant?: (string | null) | Tenant;
2605
- playlist: string | Playlist;
2606
- url: string;
2668
+ title: string;
2669
+ description?: string | null;
2670
+ content: {
2671
+ root: {
2672
+ type: string;
2673
+ children: {
2674
+ type: any;
2675
+ version: number;
2676
+ [k: string]: unknown;
2677
+ }[];
2678
+ direction: ('ltr' | 'rtl') | null;
2679
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
2680
+ indent: number;
2681
+ version: number;
2682
+ };
2683
+ [k: string]: unknown;
2684
+ };
2685
+ videos?: (string | Video)[] | null;
2607
2686
  /**
2608
- * Auto-filled from YouTube
2687
+ * Document version (e.g. 1.0, 1.1, 2.0)
2609
2688
  */
2610
- title: string;
2689
+ version?: string | null;
2611
2690
  /**
2612
- * Auto-filled from YouTube channel
2691
+ * Effective date
2613
2692
  */
2614
- artist?: string | null;
2693
+ effectiveDate?: string | null;
2615
2694
  /**
2616
- * Duration in seconds (auto-filled from YouTube)
2695
+ * Expiry date (optional)
2617
2696
  */
2618
- duration?: number | null;
2619
- album?: string | null;
2620
- genre?: string | null;
2621
- releaseDate?: string | null;
2622
- metadata?: {
2623
- [k: string]: unknown;
2624
- } | unknown[] | string | number | boolean | null;
2625
- isValid?: boolean | null;
2626
- updatedAt: string;
2627
- createdAt: string;
2628
- deletedAt?: string | null;
2629
- }
2630
- /**
2631
- * This interface was referenced by `Config`'s JSON-Schema
2632
- * via the `definition` "playlist-categories".
2633
- */
2634
- interface PlaylistCategory {
2635
- id: string;
2636
- _order?: string | null;
2637
- tenant?: (string | null) | Tenant;
2638
- title: string;
2697
+ expiryDate?: string | null;
2639
2698
  /**
2640
- * When enabled, the slug will auto-generate from the title field on save and autosave.
2699
+ * Changelog (differences from previous version)
2641
2700
  */
2642
- generateSlug?: boolean | null;
2643
- slug?: string | null;
2644
- description?: string | null;
2645
- image?: (string | null) | PlaylistImage;
2646
- parent?: (string | null) | PlaylistCategory;
2647
- color?: string | null;
2648
- updatedAt: string;
2649
- createdAt: string;
2650
- deletedAt?: string | null;
2651
- }
2652
- /**
2653
- * This interface was referenced by `Config`'s JSON-Schema
2654
- * via the `definition` "playlist-images".
2655
- */
2656
- interface PlaylistImage {
2657
- id: string;
2658
- tenant?: (string | null) | Tenant;
2659
- alt?: string | null;
2660
- lqip?: string | null;
2661
- palette?: {
2662
- vibrant?: string | null;
2663
- muted?: string | null;
2664
- darkVibrant?: string | null;
2665
- darkMuted?: string | null;
2666
- lightVibrant?: string | null;
2667
- lightMuted?: string | null;
2668
- };
2669
- prefix?: string | null;
2670
- updatedAt: string;
2671
- createdAt: string;
2672
- url?: string | null;
2673
- thumbnailURL?: string | null;
2674
- filename?: string | null;
2675
- mimeType?: string | null;
2676
- filesize?: number | null;
2677
- width?: number | null;
2678
- height?: number | null;
2679
- focalX?: number | null;
2680
- focalY?: number | null;
2681
- sizes?: {
2682
- '200'?: {
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
- '400'?: {
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
- '800'?: {
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
- '1600'?: {
2707
- url?: string | null;
2708
- width?: number | null;
2709
- height?: number | null;
2710
- mimeType?: string | null;
2711
- filesize?: number | null;
2712
- filename?: string | null;
2713
- };
2714
- };
2715
- }
2716
- /**
2717
- * This interface was referenced by `Config`'s JSON-Schema
2718
- * via the `definition` "galleries".
2719
- */
2720
- interface Gallery {
2721
- id: string;
2722
- _order?: string | null;
2723
- tenant?: (string | null) | Tenant;
2724
- title: string;
2725
- description?: string | null;
2726
- images?: {
2727
- docs?: (string | GalleryImage)[];
2728
- hasNextPage?: boolean;
2729
- totalDocs?: number;
2730
- };
2731
- categories?: (string | GalleryCategory)[] | null;
2732
- tags?: (string | GalleryTag)[] | null;
2733
- status: 'draft' | 'published';
2734
- thumbnail?: (string | null) | GalleryImage;
2701
+ changeLog?: string | null;
2735
2702
  /**
2736
- * When enabled, the slug will auto-generate from the title field on save and autosave.
2703
+ * Document that requires user agreement
2737
2704
  */
2738
- generateSlug?: boolean | null;
2739
- slug?: string | null;
2740
- isFeatured?: boolean | null;
2741
- publishedAt?: string | null;
2705
+ isRequired?: boolean | null;
2706
+ /**
2707
+ * Tags for search (e.g. GDPR, CCPA)
2708
+ */
2709
+ tags?: {
2710
+ tag?: string | null;
2711
+ id?: string | null;
2712
+ }[] | null;
2742
2713
  seo?: {
2743
2714
  /**
2744
2715
  * Search result title (falls back to document title)
@@ -2768,41 +2739,35 @@ interface Gallery {
2768
2739
  /**
2769
2740
  * OG / Twitter Card image (1200×630 recommended)
2770
2741
  */
2771
- image?: (string | null) | GalleryImage;
2742
+ image?: (string | null) | DocumentImage;
2772
2743
  };
2773
2744
  };
2745
+ /**
2746
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
2747
+ */
2748
+ generateSlug?: boolean | null;
2749
+ slug?: string | null;
2750
+ type?: (string | null) | DocumentType;
2751
+ category?: (string | null) | DocumentCategory;
2752
+ thumbnail?: (string | null) | DocumentImage;
2753
+ images?: (string | DocumentImage)[] | null;
2754
+ publishedAt?: string | null;
2755
+ isFeatured?: boolean | null;
2774
2756
  metadata?: {
2775
2757
  [k: string]: unknown;
2776
2758
  } | unknown[] | string | number | boolean | null;
2777
2759
  updatedAt: string;
2778
2760
  createdAt: string;
2779
2761
  deletedAt?: string | null;
2762
+ _status?: ('draft' | 'published') | null;
2780
2763
  }
2781
2764
  /**
2782
2765
  * This interface was referenced by `Config`'s JSON-Schema
2783
- * via the `definition` "gallery-images".
2766
+ * via the `definition` "document-images".
2784
2767
  */
2785
- interface GalleryImage {
2768
+ interface DocumentImage {
2786
2769
  id: string;
2787
- '_gallery-images_images_order'?: string | null;
2788
2770
  tenant?: (string | null) | Tenant;
2789
- gallery: string | Gallery;
2790
- title?: string | null;
2791
- content?: {
2792
- root: {
2793
- type: string;
2794
- children: {
2795
- type: any;
2796
- version: number;
2797
- [k: string]: unknown;
2798
- }[];
2799
- direction: ('ltr' | 'rtl') | null;
2800
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
2801
- indent: number;
2802
- version: number;
2803
- };
2804
- [k: string]: unknown;
2805
- } | null;
2806
2771
  alt?: string | null;
2807
2772
  lqip?: string | null;
2808
2773
  palette?: {
@@ -2862,9 +2827,9 @@ interface GalleryImage {
2862
2827
  }
2863
2828
  /**
2864
2829
  * This interface was referenced by `Config`'s JSON-Schema
2865
- * via the `definition` "gallery-categories".
2830
+ * via the `definition` "document-types".
2866
2831
  */
2867
- interface GalleryCategory {
2832
+ interface DocumentType {
2868
2833
  id: string;
2869
2834
  _order?: string | null;
2870
2835
  tenant?: (string | null) | Tenant;
@@ -2875,8 +2840,7 @@ interface GalleryCategory {
2875
2840
  generateSlug?: boolean | null;
2876
2841
  slug?: string | null;
2877
2842
  description?: string | null;
2878
- image?: (string | null) | GalleryImage;
2879
- parent?: (string | null) | GalleryCategory;
2843
+ image?: (string | null) | DocumentImage;
2880
2844
  color?: string | null;
2881
2845
  updatedAt: string;
2882
2846
  createdAt: string;
@@ -2884,9 +2848,9 @@ interface GalleryCategory {
2884
2848
  }
2885
2849
  /**
2886
2850
  * This interface was referenced by `Config`'s JSON-Schema
2887
- * via the `definition` "gallery-tags".
2851
+ * via the `definition` "document-categories".
2888
2852
  */
2889
- interface GalleryTag {
2853
+ interface DocumentCategory {
2890
2854
  id: string;
2891
2855
  _order?: string | null;
2892
2856
  tenant?: (string | null) | Tenant;
@@ -2897,8 +2861,8 @@ interface GalleryTag {
2897
2861
  generateSlug?: boolean | null;
2898
2862
  slug?: string | null;
2899
2863
  description?: string | null;
2900
- image?: (string | null) | GalleryImage;
2901
- parent?: (string | null) | GalleryTag;
2864
+ image?: (string | null) | DocumentImage;
2865
+ parent?: (string | null) | DocumentCategory;
2902
2866
  color?: string | null;
2903
2867
  updatedAt: string;
2904
2868
  createdAt: string;
@@ -2906,38 +2870,101 @@ interface GalleryTag {
2906
2870
  }
2907
2871
  /**
2908
2872
  * This interface was referenced by `Config`'s JSON-Schema
2909
- * via the `definition` "flows".
2873
+ * via the `definition` "playlists".
2910
2874
  */
2911
- interface Flow {
2875
+ interface Playlist {
2912
2876
  id: string;
2877
+ _order?: string | null;
2913
2878
  tenant?: (string | null) | Tenant;
2914
2879
  title: string;
2880
+ description?: string | null;
2881
+ videos?: (string | Video)[] | null;
2882
+ categories?: (string | PlaylistCategory)[] | null;
2883
+ tags?: (string | PlaylistTag)[] | null;
2884
+ musics?: {
2885
+ docs?: (string | Music)[];
2886
+ hasNextPage?: boolean;
2887
+ totalDocs?: number;
2888
+ };
2889
+ seo?: {
2890
+ /**
2891
+ * Search result title (falls back to document title)
2892
+ */
2893
+ title?: string | null;
2894
+ /**
2895
+ * Search result description
2896
+ */
2897
+ description?: string | null;
2898
+ /**
2899
+ * Block search engine indexing
2900
+ */
2901
+ noIndex?: boolean | null;
2902
+ /**
2903
+ * Canonical URL (prevents duplicate content)
2904
+ */
2905
+ canonical?: string | null;
2906
+ openGraph?: {
2907
+ /**
2908
+ * OG title (falls back to seo.title)
2909
+ */
2910
+ title?: string | null;
2911
+ /**
2912
+ * OG description (falls back to seo.description)
2913
+ */
2914
+ description?: string | null;
2915
+ /**
2916
+ * OG / Twitter Card image (1200×630 recommended)
2917
+ */
2918
+ image?: (string | null) | PlaylistImage;
2919
+ };
2920
+ };
2921
+ thumbnail?: (string | null) | PlaylistImage;
2915
2922
  /**
2916
2923
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2917
2924
  */
2918
2925
  generateSlug?: boolean | null;
2919
2926
  slug?: string | null;
2920
- description?: string | null;
2921
- canvas: {
2922
- [k: string]: unknown;
2923
- } | unknown[] | string | number | boolean | null;
2924
- status?: ('draft' | 'published') | null;
2927
+ status?: ('draft' | 'published' | 'archived') | null;
2928
+ publishedAt?: string | null;
2925
2929
  isFeatured?: boolean | null;
2926
- thumbnail?: (string | null) | FlowImage;
2927
- tags?: (string | FlowTag)[] | null;
2930
+ /**
2931
+ * Total duration (seconds)
2932
+ */
2933
+ totalDuration?: number | null;
2928
2934
  metadata?: {
2929
2935
  [k: string]: unknown;
2930
2936
  } | unknown[] | string | number | boolean | null;
2931
2937
  updatedAt: string;
2932
2938
  createdAt: string;
2933
2939
  deletedAt?: string | null;
2934
- _status?: ('draft' | 'published') | null;
2935
2940
  }
2936
2941
  /**
2937
2942
  * This interface was referenced by `Config`'s JSON-Schema
2938
- * via the `definition` "flow-images".
2943
+ * via the `definition` "playlist-categories".
2939
2944
  */
2940
- interface FlowImage {
2945
+ interface PlaylistCategory {
2946
+ id: string;
2947
+ _order?: string | null;
2948
+ tenant?: (string | null) | Tenant;
2949
+ title: string;
2950
+ /**
2951
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
2952
+ */
2953
+ generateSlug?: boolean | null;
2954
+ slug?: string | null;
2955
+ description?: string | null;
2956
+ image?: (string | null) | PlaylistImage;
2957
+ parent?: (string | null) | PlaylistCategory;
2958
+ color?: string | null;
2959
+ updatedAt: string;
2960
+ createdAt: string;
2961
+ deletedAt?: string | null;
2962
+ }
2963
+ /**
2964
+ * This interface was referenced by `Config`'s JSON-Schema
2965
+ * via the `definition` "playlist-images".
2966
+ */
2967
+ interface PlaylistImage {
2941
2968
  id: string;
2942
2969
  tenant?: (string | null) | Tenant;
2943
2970
  alt?: string | null;
@@ -2999,9 +3026,9 @@ interface FlowImage {
2999
3026
  }
3000
3027
  /**
3001
3028
  * This interface was referenced by `Config`'s JSON-Schema
3002
- * via the `definition` "flow-tags".
3029
+ * via the `definition` "playlist-tags".
3003
3030
  */
3004
- interface FlowTag {
3031
+ interface PlaylistTag {
3005
3032
  id: string;
3006
3033
  _order?: string | null;
3007
3034
  tenant?: (string | null) | Tenant;
@@ -3012,8 +3039,8 @@ interface FlowTag {
3012
3039
  generateSlug?: boolean | null;
3013
3040
  slug?: string | null;
3014
3041
  description?: string | null;
3015
- image?: (string | null) | FlowImage;
3016
- parent?: (string | null) | FlowTag;
3042
+ image?: (string | null) | PlaylistImage;
3043
+ parent?: (string | null) | PlaylistTag;
3017
3044
  color?: string | null;
3018
3045
  updatedAt: string;
3019
3046
  createdAt: string;
@@ -3021,123 +3048,56 @@ interface FlowTag {
3021
3048
  }
3022
3049
  /**
3023
3050
  * This interface was referenced by `Config`'s JSON-Schema
3024
- * via the `definition` "flow-node-types".
3051
+ * via the `definition` "musics".
3025
3052
  */
3026
- interface FlowNodeType {
3053
+ interface Music {
3027
3054
  id: string;
3028
3055
  _order?: string | null;
3056
+ _musics_musics_order?: string | null;
3029
3057
  tenant?: (string | null) | Tenant;
3030
- title: string;
3031
- /**
3032
- * When enabled, the slug will auto-generate from the title field on save and autosave.
3033
- */
3034
- generateSlug?: boolean | null;
3035
- slug?: string | null;
3036
- color?: string | null;
3037
- defaultSize?: {
3038
- width?: number | null;
3039
- height?: number | null;
3040
- };
3041
- /**
3042
- * Display node with transparent background
3043
- */
3044
- transparentBackground?: boolean | null;
3058
+ playlist: string | Playlist;
3059
+ url: string;
3045
3060
  /**
3046
- * Define custom fields to display on node
3061
+ * Auto-filled from YouTube
3047
3062
  */
3048
- fields?: {
3049
- /**
3050
- * English key (e.g. body, url)
3051
- */
3052
- name: string;
3053
- label: string;
3054
- fieldType: 'text' | 'textarea' | 'number' | 'url' | 'color' | 'image' | 'select' | 'toggle';
3055
- options?: {
3056
- label: string;
3057
- value: string;
3058
- id?: string | null;
3059
- }[] | null;
3060
- defaultValue?: string | null;
3061
- required?: boolean | null;
3062
- id?: string | null;
3063
- }[] | null;
3064
- updatedAt: string;
3065
- createdAt: string;
3066
- deletedAt?: string | null;
3067
- }
3068
- /**
3069
- * This interface was referenced by `Config`'s JSON-Schema
3070
- * via the `definition` "flow-edge-types".
3071
- */
3072
- interface FlowEdgeType {
3073
- id: string;
3074
- _order?: string | null;
3075
- tenant?: (string | null) | Tenant;
3076
3063
  title: string;
3077
3064
  /**
3078
- * When enabled, the slug will auto-generate from the title field on save and autosave.
3065
+ * Auto-filled from YouTube channel
3079
3066
  */
3080
- generateSlug?: boolean | null;
3081
- slug?: string | null;
3082
- color?: string | null;
3083
- strokeWidth?: number | null;
3084
- animated?: boolean | null;
3085
- lineStyle?: ('default' | 'step' | 'smoothstep' | 'bezier') | null;
3086
- markerStart?: ('none' | 'arrow' | 'arrowclosed') | null;
3087
- markerEnd?: ('none' | 'arrow' | 'arrowclosed') | null;
3067
+ artist?: string | null;
3088
3068
  /**
3089
- * Define custom fields to display on edge
3069
+ * Duration in seconds (auto-filled from YouTube)
3090
3070
  */
3091
- fields?: {
3092
- /**
3093
- * English key (e.g. condition, weight)
3094
- */
3095
- name: string;
3096
- label: string;
3097
- fieldType: 'text' | 'textarea' | 'number' | 'url' | 'color' | 'select' | 'toggle';
3098
- options?: {
3099
- label: string;
3100
- value: string;
3101
- id?: string | null;
3102
- }[] | null;
3103
- defaultValue?: string | null;
3104
- required?: boolean | null;
3105
- id?: string | null;
3106
- }[] | null;
3107
- updatedAt: string;
3108
- createdAt: string;
3109
- deletedAt?: string | null;
3110
- }
3111
- /**
3112
- * This interface was referenced by `Config`'s JSON-Schema
3113
- * via the `definition` "videos".
3114
- */
3115
- interface Video {
3116
- id: string;
3117
- tenant?: (string | null) | Tenant;
3118
- title?: string | null;
3119
- filename?: string | null;
3120
- description?: string | null;
3121
- sourceLiveStream?: (string | null) | LiveStream;
3122
- status?: ('waiting' | 'preparing' | 'ready' | 'errored') | null;
3123
3071
  duration?: number | null;
3124
- aspectRatio?: string | null;
3125
- maxResolution?: string | null;
3126
- videoQuality?: ('basic' | 'plus' | 'premium') | null;
3127
- mp4Support?: ('none' | 'standard' | 'capped-1080p') | null;
3128
- muxAssetId?: string | null;
3129
- muxPlaybackId?: string | null;
3130
- muxUploadId?: string | null;
3131
- thumbnail?: (string | null) | VideoImage;
3132
- /**
3133
- * When enabled, the slug will auto-generate from the title field on save and autosave.
3134
- */
3135
- generateSlug?: boolean | null;
3136
- slug?: string | null;
3137
- publishedAt?: string | null;
3138
- isFeatured?: boolean | null;
3139
- categories?: (string | VideoCategory)[] | null;
3140
- tags?: (string | VideoTag)[] | null;
3072
+ album?: string | null;
3073
+ genre?: string | null;
3074
+ releaseDate?: string | null;
3075
+ metadata?: {
3076
+ [k: string]: unknown;
3077
+ } | unknown[] | string | number | boolean | null;
3078
+ isValid?: boolean | null;
3079
+ updatedAt: string;
3080
+ createdAt: string;
3081
+ deletedAt?: string | null;
3082
+ }
3083
+ /**
3084
+ * This interface was referenced by `Config`'s JSON-Schema
3085
+ * via the `definition` "galleries".
3086
+ */
3087
+ interface Gallery {
3088
+ id: string;
3089
+ _order?: string | null;
3090
+ tenant?: (string | null) | Tenant;
3091
+ title: string;
3092
+ description?: string | null;
3093
+ videos?: (string | Video)[] | null;
3094
+ categories?: (string | GalleryCategory)[] | null;
3095
+ tags?: (string | GalleryTag)[] | null;
3096
+ images?: {
3097
+ docs?: (string | GalleryImage)[];
3098
+ hasNextPage?: boolean;
3099
+ totalDocs?: number;
3100
+ };
3141
3101
  seo?: {
3142
3102
  /**
3143
3103
  * Search result title (falls back to document title)
@@ -3167,9 +3127,18 @@ interface Video {
3167
3127
  /**
3168
3128
  * OG / Twitter Card image (1200×630 recommended)
3169
3129
  */
3170
- image?: (string | null) | VideoImage;
3130
+ image?: (string | null) | GalleryImage;
3171
3131
  };
3172
3132
  };
3133
+ status: 'draft' | 'published' | 'archived';
3134
+ thumbnail?: (string | null) | GalleryImage;
3135
+ /**
3136
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
3137
+ */
3138
+ generateSlug?: boolean | null;
3139
+ slug?: string | null;
3140
+ isFeatured?: boolean | null;
3141
+ publishedAt?: string | null;
3173
3142
  metadata?: {
3174
3143
  [k: string]: unknown;
3175
3144
  } | unknown[] | string | number | boolean | null;
@@ -3179,47 +3148,51 @@ interface Video {
3179
3148
  }
3180
3149
  /**
3181
3150
  * This interface was referenced by `Config`'s JSON-Schema
3182
- * via the `definition` "live-streams".
3151
+ * via the `definition` "gallery-categories".
3183
3152
  */
3184
- interface LiveStream {
3153
+ interface GalleryCategory {
3185
3154
  id: string;
3155
+ _order?: string | null;
3186
3156
  tenant?: (string | null) | Tenant;
3187
- title?: string | null;
3188
- description?: string | null;
3189
- /**
3190
- * Scheduled start time
3191
- */
3192
- scheduledAt?: string | null;
3193
- thumbnail?: (string | null) | LiveStreamImage;
3157
+ title: string;
3194
3158
  /**
3195
3159
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3196
3160
  */
3197
3161
  generateSlug?: boolean | null;
3198
3162
  slug?: string | null;
3199
- muxLiveStreamId?: string | null;
3200
- muxPlaybackId?: string | null;
3201
- streamKey?: string | null;
3202
- status?: ('idle' | 'active' | 'disabled') | null;
3203
- latencyMode?: ('standard' | 'reduced' | 'low') | null;
3204
- /**
3205
- * Reconnect window (seconds)
3206
- */
3207
- reconnectWindow?: number | null;
3208
- activeAssetId?: string | null;
3209
- recentAssetIds?: {
3210
- [k: string]: unknown;
3211
- } | unknown[] | string | number | boolean | null;
3163
+ description?: string | null;
3164
+ image?: (string | null) | GalleryImage;
3165
+ parent?: (string | null) | GalleryCategory;
3166
+ color?: string | null;
3212
3167
  updatedAt: string;
3213
3168
  createdAt: string;
3214
3169
  deletedAt?: string | null;
3215
3170
  }
3216
3171
  /**
3217
3172
  * This interface was referenced by `Config`'s JSON-Schema
3218
- * via the `definition` "live-stream-images".
3173
+ * via the `definition` "gallery-images".
3219
3174
  */
3220
- interface LiveStreamImage {
3175
+ interface GalleryImage {
3221
3176
  id: string;
3177
+ '_gallery-images_images_order'?: string | null;
3222
3178
  tenant?: (string | null) | Tenant;
3179
+ gallery: string | Gallery;
3180
+ title?: string | null;
3181
+ content?: {
3182
+ root: {
3183
+ type: string;
3184
+ children: {
3185
+ type: any;
3186
+ version: number;
3187
+ [k: string]: unknown;
3188
+ }[];
3189
+ direction: ('ltr' | 'rtl') | null;
3190
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
3191
+ indent: number;
3192
+ version: number;
3193
+ };
3194
+ [k: string]: unknown;
3195
+ } | null;
3223
3196
  alt?: string | null;
3224
3197
  lqip?: string | null;
3225
3198
  palette?: {
@@ -3279,9 +3252,117 @@ interface LiveStreamImage {
3279
3252
  }
3280
3253
  /**
3281
3254
  * This interface was referenced by `Config`'s JSON-Schema
3282
- * via the `definition` "video-images".
3255
+ * via the `definition` "gallery-tags".
3283
3256
  */
3284
- interface VideoImage {
3257
+ interface GalleryTag {
3258
+ id: string;
3259
+ _order?: string | null;
3260
+ tenant?: (string | null) | Tenant;
3261
+ title: string;
3262
+ /**
3263
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
3264
+ */
3265
+ generateSlug?: boolean | null;
3266
+ slug?: string | null;
3267
+ description?: string | null;
3268
+ image?: (string | null) | GalleryImage;
3269
+ parent?: (string | null) | GalleryTag;
3270
+ color?: string | null;
3271
+ updatedAt: string;
3272
+ createdAt: string;
3273
+ deletedAt?: string | null;
3274
+ }
3275
+ /**
3276
+ * This interface was referenced by `Config`'s JSON-Schema
3277
+ * via the `definition` "flows".
3278
+ */
3279
+ interface Flow {
3280
+ id: string;
3281
+ tenant?: (string | null) | Tenant;
3282
+ title: string;
3283
+ description?: string | null;
3284
+ videos?: (string | Video)[] | null;
3285
+ canvas: {
3286
+ [k: string]: unknown;
3287
+ } | unknown[] | string | number | boolean | null;
3288
+ categories?: (string | FlowCategory)[] | null;
3289
+ seo?: {
3290
+ /**
3291
+ * Search result title (falls back to document title)
3292
+ */
3293
+ title?: string | null;
3294
+ /**
3295
+ * Search result description
3296
+ */
3297
+ description?: string | null;
3298
+ /**
3299
+ * Block search engine indexing
3300
+ */
3301
+ noIndex?: boolean | null;
3302
+ /**
3303
+ * Canonical URL (prevents duplicate content)
3304
+ */
3305
+ canonical?: string | null;
3306
+ openGraph?: {
3307
+ /**
3308
+ * OG title (falls back to seo.title)
3309
+ */
3310
+ title?: string | null;
3311
+ /**
3312
+ * OG description (falls back to seo.description)
3313
+ */
3314
+ description?: string | null;
3315
+ /**
3316
+ * OG / Twitter Card image (1200×630 recommended)
3317
+ */
3318
+ image?: (string | null) | FlowImage;
3319
+ };
3320
+ };
3321
+ /**
3322
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
3323
+ */
3324
+ generateSlug?: boolean | null;
3325
+ slug?: string | null;
3326
+ status?: ('draft' | 'published' | 'archived') | null;
3327
+ isFeatured?: boolean | null;
3328
+ publishedAt?: string | null;
3329
+ thumbnail?: (string | null) | FlowImage;
3330
+ tags?: (string | FlowTag)[] | null;
3331
+ metadata?: {
3332
+ [k: string]: unknown;
3333
+ } | unknown[] | string | number | boolean | null;
3334
+ updatedAt: string;
3335
+ createdAt: string;
3336
+ deletedAt?: string | null;
3337
+ _status?: ('draft' | 'published') | null;
3338
+ }
3339
+ /**
3340
+ * This interface was referenced by `Config`'s JSON-Schema
3341
+ * via the `definition` "flow-categories".
3342
+ */
3343
+ interface FlowCategory {
3344
+ id: string;
3345
+ _order?: string | null;
3346
+ tenant?: (string | null) | Tenant;
3347
+ title: string;
3348
+ /**
3349
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
3350
+ */
3351
+ generateSlug?: boolean | null;
3352
+ slug?: string | null;
3353
+ description?: string | null;
3354
+ image?: (string | null) | FlowImage;
3355
+ parent?: (string | null) | FlowCategory;
3356
+ color?: string | null;
3357
+ updatedAt: string;
3358
+ createdAt: string;
3359
+ deletedAt?: string | null;
3360
+ }
3361
+ /**
3362
+ * This interface was referenced by `Config`'s JSON-Schema
3363
+ * via the `definition` "flow-images".
3364
+ */
3365
+ interface FlowImage {
3285
3366
  id: string;
3286
3367
  tenant?: (string | null) | Tenant;
3287
3368
  alt?: string | null;
@@ -3343,9 +3424,9 @@ interface VideoImage {
3343
3424
  }
3344
3425
  /**
3345
3426
  * This interface was referenced by `Config`'s JSON-Schema
3346
- * via the `definition` "video-categories".
3427
+ * via the `definition` "flow-tags".
3347
3428
  */
3348
- interface VideoCategory {
3429
+ interface FlowTag {
3349
3430
  id: string;
3350
3431
  _order?: string | null;
3351
3432
  tenant?: (string | null) | Tenant;
@@ -3356,8 +3437,8 @@ interface VideoCategory {
3356
3437
  generateSlug?: boolean | null;
3357
3438
  slug?: string | null;
3358
3439
  description?: string | null;
3359
- image?: (string | null) | VideoImage;
3360
- parent?: (string | null) | VideoCategory;
3440
+ image?: (string | null) | FlowImage;
3441
+ parent?: (string | null) | FlowTag;
3361
3442
  color?: string | null;
3362
3443
  updatedAt: string;
3363
3444
  createdAt: string;
@@ -3365,9 +3446,55 @@ interface VideoCategory {
3365
3446
  }
3366
3447
  /**
3367
3448
  * This interface was referenced by `Config`'s JSON-Schema
3368
- * via the `definition` "video-tags".
3449
+ * via the `definition` "flow-node-types".
3369
3450
  */
3370
- interface VideoTag {
3451
+ interface FlowNodeType {
3452
+ id: string;
3453
+ _order?: string | null;
3454
+ tenant?: (string | null) | Tenant;
3455
+ title: string;
3456
+ /**
3457
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
3458
+ */
3459
+ generateSlug?: boolean | null;
3460
+ slug?: string | null;
3461
+ color?: string | null;
3462
+ defaultSize?: {
3463
+ width?: number | null;
3464
+ height?: number | null;
3465
+ };
3466
+ /**
3467
+ * Display node with transparent background
3468
+ */
3469
+ transparentBackground?: boolean | null;
3470
+ /**
3471
+ * Define custom fields to display on node
3472
+ */
3473
+ fields?: {
3474
+ /**
3475
+ * English key (e.g. body, url)
3476
+ */
3477
+ name: string;
3478
+ label: string;
3479
+ fieldType: 'text' | 'textarea' | 'number' | 'url' | 'color' | 'image' | 'select' | 'toggle';
3480
+ options?: {
3481
+ label: string;
3482
+ value: string;
3483
+ id?: string | null;
3484
+ }[] | null;
3485
+ defaultValue?: string | null;
3486
+ required?: boolean | null;
3487
+ id?: string | null;
3488
+ }[] | null;
3489
+ updatedAt: string;
3490
+ createdAt: string;
3491
+ deletedAt?: string | null;
3492
+ }
3493
+ /**
3494
+ * This interface was referenced by `Config`'s JSON-Schema
3495
+ * via the `definition` "flow-edge-types".
3496
+ */
3497
+ interface FlowEdgeType {
3371
3498
  id: string;
3372
3499
  _order?: string | null;
3373
3500
  tenant?: (string | null) | Tenant;
@@ -3377,10 +3504,31 @@ interface VideoTag {
3377
3504
  */
3378
3505
  generateSlug?: boolean | null;
3379
3506
  slug?: string | null;
3380
- description?: string | null;
3381
- image?: (string | null) | VideoImage;
3382
- parent?: (string | null) | VideoTag;
3383
3507
  color?: string | null;
3508
+ strokeWidth?: number | null;
3509
+ animated?: boolean | null;
3510
+ lineStyle?: ('default' | 'step' | 'smoothstep' | 'bezier') | null;
3511
+ markerStart?: ('none' | 'arrow' | 'arrowclosed') | null;
3512
+ markerEnd?: ('none' | 'arrow' | 'arrowclosed') | null;
3513
+ /**
3514
+ * Define custom fields to display on edge
3515
+ */
3516
+ fields?: {
3517
+ /**
3518
+ * English key (e.g. condition, weight)
3519
+ */
3520
+ name: string;
3521
+ label: string;
3522
+ fieldType: 'text' | 'textarea' | 'number' | 'url' | 'color' | 'select' | 'toggle';
3523
+ options?: {
3524
+ label: string;
3525
+ value: string;
3526
+ id?: string | null;
3527
+ }[] | null;
3528
+ defaultValue?: string | null;
3529
+ required?: boolean | null;
3530
+ id?: string | null;
3531
+ }[] | null;
3384
3532
  updatedAt: string;
3385
3533
  createdAt: string;
3386
3534
  deletedAt?: string | null;
@@ -3738,6 +3886,9 @@ interface PayloadLockedDocument {
3738
3886
  } | null) | ({
3739
3887
  relationTo: 'playlist-categories';
3740
3888
  value: string | PlaylistCategory;
3889
+ } | null) | ({
3890
+ relationTo: 'playlist-tags';
3891
+ value: string | PlaylistTag;
3741
3892
  } | null) | ({
3742
3893
  relationTo: 'musics';
3743
3894
  value: string | Music;
@@ -3765,6 +3916,9 @@ interface PayloadLockedDocument {
3765
3916
  } | null) | ({
3766
3917
  relationTo: 'flow-edge-types';
3767
3918
  value: string | FlowEdgeType;
3919
+ } | null) | ({
3920
+ relationTo: 'flow-categories';
3921
+ value: string | FlowCategory;
3768
3922
  } | null) | ({
3769
3923
  relationTo: 'flow-images';
3770
3924
  value: string | FlowImage;
@@ -3985,6 +4139,19 @@ interface TenantMetadataSelect<T extends boolean = true> {
3985
4139
  favicon?: T;
3986
4140
  themeColor?: T;
3987
4141
  };
4142
+ seo?: T | {
4143
+ robots?: T;
4144
+ googleSiteVerification?: T;
4145
+ bingSiteVerification?: T;
4146
+ naverSiteVerification?: T;
4147
+ canonicalUrl?: T;
4148
+ };
4149
+ analytics?: T | {
4150
+ googleAnalyticsId?: T;
4151
+ googleTagManagerId?: T;
4152
+ facebookPixelId?: T;
4153
+ linkedInPartnerId?: T;
4154
+ };
3988
4155
  openGraph?: T | {
3989
4156
  ogTitle?: T;
3990
4157
  ogDescription?: T;
@@ -4000,24 +4167,11 @@ interface TenantMetadataSelect<T extends boolean = true> {
4000
4167
  twitterDescription?: T;
4001
4168
  twitterImage?: T;
4002
4169
  };
4003
- seo?: T | {
4004
- robots?: T;
4005
- googleSiteVerification?: T;
4006
- bingSiteVerification?: T;
4007
- naverSiteVerification?: T;
4008
- canonicalUrl?: T;
4009
- };
4010
4170
  pwa?: T | {
4011
4171
  shortName?: T;
4012
4172
  backgroundColor?: T;
4013
4173
  display?: T;
4014
4174
  };
4015
- analytics?: T | {
4016
- googleAnalyticsId?: T;
4017
- googleTagManagerId?: T;
4018
- facebookPixelId?: T;
4019
- linkedInPartnerId?: T;
4020
- };
4021
4175
  updatedAt?: T;
4022
4176
  createdAt?: T;
4023
4177
  }
@@ -4045,13 +4199,16 @@ interface ApiUsageSelect<T extends boolean = true> {
4045
4199
  * via the `definition` "subscriptions_select".
4046
4200
  */
4047
4201
  interface SubscriptionsSelect<T extends boolean = true> {
4048
- provider?: T;
4049
- currency?: T;
4050
4202
  tenant?: T;
4051
4203
  plan?: T;
4052
4204
  billingCycle?: T;
4053
4205
  amount?: T;
4054
4206
  status?: T;
4207
+ currency?: T;
4208
+ provider?: T;
4209
+ currentPeriodStart?: T;
4210
+ currentPeriodEnd?: T;
4211
+ nextBillingDate?: T;
4055
4212
  billingKey?: T;
4056
4213
  customerKey?: T;
4057
4214
  cardInfo?: T | {
@@ -4062,9 +4219,6 @@ interface SubscriptionsSelect<T extends boolean = true> {
4062
4219
  polarSubscriptionId?: T;
4063
4220
  polarCustomerId?: T;
4064
4221
  polarProductId?: T;
4065
- currentPeriodStart?: T;
4066
- currentPeriodEnd?: T;
4067
- nextBillingDate?: T;
4068
4222
  cancelAtPeriodEnd?: T;
4069
4223
  canceledAt?: T;
4070
4224
  cancelReason?: T;
@@ -4084,20 +4238,20 @@ interface SubscriptionsSelect<T extends boolean = true> {
4084
4238
  * via the `definition` "billing-history_select".
4085
4239
  */
4086
4240
  interface BillingHistorySelect<T extends boolean = true> {
4087
- provider?: T;
4088
- currency?: T;
4089
4241
  tenant?: T;
4090
4242
  subscription?: T;
4091
4243
  type?: T;
4092
4244
  status?: T;
4093
4245
  amount?: T;
4094
- paymentKey?: T;
4095
- orderId?: T;
4096
- orderName?: T;
4097
4246
  plan?: T;
4247
+ provider?: T;
4248
+ currency?: T;
4098
4249
  billingCycle?: T;
4099
4250
  periodStart?: T;
4100
4251
  periodEnd?: T;
4252
+ orderId?: T;
4253
+ orderName?: T;
4254
+ paymentKey?: T;
4101
4255
  tossResponse?: T;
4102
4256
  polarOrderId?: T;
4103
4257
  polarResponse?: T;
@@ -4241,21 +4395,17 @@ interface ProductsSelect<T extends boolean = true> {
4241
4395
  tenant?: T;
4242
4396
  title?: T;
4243
4397
  subtitle?: T;
4398
+ description?: T;
4244
4399
  thumbnail?: T;
4245
4400
  images?: T;
4401
+ videos?: T;
4246
4402
  price?: T;
4247
4403
  compareAtPrice?: T;
4404
+ content?: T;
4248
4405
  variants?: T;
4249
4406
  options?: T;
4250
- description?: T;
4251
- generateSlug?: T;
4252
- slug?: T;
4253
- sku?: T;
4254
- status?: T;
4255
- isSoldOut?: T;
4256
4407
  categories?: T;
4257
4408
  tags?: T;
4258
- collections?: T;
4259
4409
  brand?: T;
4260
4410
  shippingPolicy?: T;
4261
4411
  weight?: T;
@@ -4265,8 +4415,13 @@ interface ProductsSelect<T extends boolean = true> {
4265
4415
  depth?: T;
4266
4416
  };
4267
4417
  isDigital?: T;
4268
- isFeatured?: T;
4269
- publishedAt?: T;
4418
+ collections?: T;
4419
+ sku?: T;
4420
+ barcode?: T;
4421
+ externalId?: T;
4422
+ minOrderQuantity?: T;
4423
+ maxOrderQuantity?: T;
4424
+ metadata?: T;
4270
4425
  seo?: T | {
4271
4426
  title?: T;
4272
4427
  description?: T;
@@ -4278,11 +4433,12 @@ interface ProductsSelect<T extends boolean = true> {
4278
4433
  image?: T;
4279
4434
  };
4280
4435
  };
4281
- externalId?: T;
4282
- barcode?: T;
4283
- minOrderQuantity?: T;
4284
- maxOrderQuantity?: T;
4285
- metadata?: T;
4436
+ generateSlug?: T;
4437
+ slug?: T;
4438
+ status?: T;
4439
+ isSoldOut?: T;
4440
+ isFeatured?: T;
4441
+ publishedAt?: T;
4286
4442
  updatedAt?: T;
4287
4443
  createdAt?: T;
4288
4444
  deletedAt?: T;
@@ -4390,12 +4546,6 @@ interface ProductCollectionsSelect<T extends boolean = true> {
4390
4546
  images?: T;
4391
4547
  description?: T;
4392
4548
  products?: T;
4393
- generateSlug?: T;
4394
- slug?: T;
4395
- status?: T;
4396
- sortOrder?: T;
4397
- isFeatured?: T;
4398
- publishedAt?: T;
4399
4549
  seo?: T | {
4400
4550
  title?: T;
4401
4551
  description?: T;
@@ -4407,6 +4557,12 @@ interface ProductCollectionsSelect<T extends boolean = true> {
4407
4557
  image?: T;
4408
4558
  };
4409
4559
  };
4560
+ generateSlug?: T;
4561
+ slug?: T;
4562
+ status?: T;
4563
+ sortOrder?: T;
4564
+ isFeatured?: T;
4565
+ publishedAt?: T;
4410
4566
  metadata?: T;
4411
4567
  updatedAt?: T;
4412
4568
  createdAt?: T;
@@ -4420,15 +4576,16 @@ interface BrandsSelect<T extends boolean = true> {
4420
4576
  _order?: T;
4421
4577
  tenant?: T;
4422
4578
  name?: T;
4423
- generateSlug?: T;
4424
- slug?: T;
4579
+ description?: T;
4580
+ content?: T;
4425
4581
  logo?: T;
4426
4582
  logoDark?: T;
4427
4583
  logomark?: T;
4428
- description?: T;
4429
4584
  website?: T;
4430
- isFeatured?: T;
4585
+ generateSlug?: T;
4586
+ slug?: T;
4431
4587
  status?: T;
4588
+ isFeatured?: T;
4432
4589
  metadata?: T;
4433
4590
  updatedAt?: T;
4434
4591
  createdAt?: T;
@@ -4983,6 +5140,8 @@ interface CartItemsSelect<T extends boolean = true> {
4983
5140
  interface DiscountsSelect<T extends boolean = true> {
4984
5141
  _order?: T;
4985
5142
  tenant?: T;
5143
+ type?: T;
5144
+ isActive?: T;
4986
5145
  code?: T;
4987
5146
  title?: T;
4988
5147
  description?: T;
@@ -4999,8 +5158,6 @@ interface DiscountsSelect<T extends boolean = true> {
4999
5158
  endsAt?: T;
5000
5159
  applicableProducts?: T;
5001
5160
  applicableCategories?: T;
5002
- type?: T;
5003
- isActive?: T;
5004
5161
  usageLimit?: T;
5005
5162
  usageCount?: T;
5006
5163
  perCustomerLimit?: T;
@@ -5021,18 +5178,12 @@ interface PostsSelect<T extends boolean = true> {
5021
5178
  tenant?: T;
5022
5179
  title?: T;
5023
5180
  subtitle?: T;
5024
- excerpt?: T;
5181
+ description?: T;
5025
5182
  content?: T;
5026
- thumbnail?: T;
5027
- images?: T;
5028
- generateSlug?: T;
5029
- slug?: T;
5030
5183
  author?: T;
5031
- publishedAt?: T;
5032
5184
  categories?: T;
5033
5185
  tags?: T;
5034
- isFeatured?: T;
5035
- readTime?: T;
5186
+ videos?: T;
5036
5187
  seo?: T | {
5037
5188
  title?: T;
5038
5189
  description?: T;
@@ -5044,6 +5195,13 @@ interface PostsSelect<T extends boolean = true> {
5044
5195
  image?: T;
5045
5196
  };
5046
5197
  };
5198
+ thumbnail?: T;
5199
+ images?: T;
5200
+ generateSlug?: T;
5201
+ slug?: T;
5202
+ publishedAt?: T;
5203
+ isFeatured?: T;
5204
+ readTime?: T;
5047
5205
  metadata?: T;
5048
5206
  updatedAt?: T;
5049
5207
  createdAt?: T;
@@ -5177,23 +5335,18 @@ interface DocumentsSelect<T extends boolean = true> {
5177
5335
  _order?: T;
5178
5336
  tenant?: T;
5179
5337
  title?: T;
5180
- summary?: T;
5338
+ description?: T;
5181
5339
  content?: T;
5182
- tags?: T | {
5183
- tag?: T;
5184
- id?: T;
5185
- };
5186
- changeLog?: T;
5187
- generateSlug?: T;
5188
- slug?: T;
5189
- type?: T;
5340
+ videos?: T;
5190
5341
  version?: T;
5191
5342
  effectiveDate?: T;
5192
5343
  expiryDate?: T;
5193
- category?: T;
5344
+ changeLog?: T;
5194
5345
  isRequired?: T;
5195
- thumbnail?: T;
5196
- images?: T;
5346
+ tags?: T | {
5347
+ tag?: T;
5348
+ id?: T;
5349
+ };
5197
5350
  seo?: T | {
5198
5351
  title?: T;
5199
5352
  description?: T;
@@ -5205,6 +5358,14 @@ interface DocumentsSelect<T extends boolean = true> {
5205
5358
  image?: T;
5206
5359
  };
5207
5360
  };
5361
+ generateSlug?: T;
5362
+ slug?: T;
5363
+ type?: T;
5364
+ category?: T;
5365
+ thumbnail?: T;
5366
+ images?: T;
5367
+ publishedAt?: T;
5368
+ isFeatured?: T;
5208
5369
  metadata?: T;
5209
5370
  updatedAt?: T;
5210
5371
  createdAt?: T;
@@ -5318,12 +5479,26 @@ interface PlaylistsSelect<T extends boolean = true> {
5318
5479
  tenant?: T;
5319
5480
  title?: T;
5320
5481
  description?: T;
5321
- musics?: T;
5482
+ videos?: T;
5322
5483
  categories?: T;
5323
- image?: T;
5484
+ tags?: T;
5485
+ musics?: T;
5486
+ seo?: T | {
5487
+ title?: T;
5488
+ description?: T;
5489
+ noIndex?: T;
5490
+ canonical?: T;
5491
+ openGraph?: T | {
5492
+ title?: T;
5493
+ description?: T;
5494
+ image?: T;
5495
+ };
5496
+ };
5497
+ thumbnail?: T;
5324
5498
  generateSlug?: T;
5325
5499
  slug?: T;
5326
5500
  status?: T;
5501
+ publishedAt?: T;
5327
5502
  isFeatured?: T;
5328
5503
  totalDuration?: T;
5329
5504
  metadata?: T;
@@ -5349,6 +5524,24 @@ interface PlaylistCategoriesSelect<T extends boolean = true> {
5349
5524
  createdAt?: T;
5350
5525
  deletedAt?: T;
5351
5526
  }
5527
+ /**
5528
+ * This interface was referenced by `Config`'s JSON-Schema
5529
+ * via the `definition` "playlist-tags_select".
5530
+ */
5531
+ interface PlaylistTagsSelect<T extends boolean = true> {
5532
+ _order?: T;
5533
+ tenant?: T;
5534
+ title?: T;
5535
+ generateSlug?: T;
5536
+ slug?: T;
5537
+ description?: T;
5538
+ image?: T;
5539
+ parent?: T;
5540
+ color?: T;
5541
+ updatedAt?: T;
5542
+ createdAt?: T;
5543
+ deletedAt?: T;
5544
+ }
5352
5545
  /**
5353
5546
  * This interface was referenced by `Config`'s JSON-Schema
5354
5547
  * via the `definition` "musics_select".
@@ -5443,15 +5636,10 @@ interface GalleriesSelect<T extends boolean = true> {
5443
5636
  tenant?: T;
5444
5637
  title?: T;
5445
5638
  description?: T;
5446
- images?: T;
5639
+ videos?: T;
5447
5640
  categories?: T;
5448
5641
  tags?: T;
5449
- status?: T;
5450
- thumbnail?: T;
5451
- generateSlug?: T;
5452
- slug?: T;
5453
- isFeatured?: T;
5454
- publishedAt?: T;
5642
+ images?: T;
5455
5643
  seo?: T | {
5456
5644
  title?: T;
5457
5645
  description?: T;
@@ -5463,6 +5651,12 @@ interface GalleriesSelect<T extends boolean = true> {
5463
5651
  image?: T;
5464
5652
  };
5465
5653
  };
5654
+ status?: T;
5655
+ thumbnail?: T;
5656
+ generateSlug?: T;
5657
+ slug?: T;
5658
+ isFeatured?: T;
5659
+ publishedAt?: T;
5466
5660
  metadata?: T;
5467
5661
  updatedAt?: T;
5468
5662
  createdAt?: T;
@@ -5578,12 +5772,26 @@ interface GalleryTagsSelect<T extends boolean = true> {
5578
5772
  interface FlowsSelect<T extends boolean = true> {
5579
5773
  tenant?: T;
5580
5774
  title?: T;
5581
- generateSlug?: T;
5582
- slug?: T;
5583
5775
  description?: T;
5776
+ videos?: T;
5584
5777
  canvas?: T;
5778
+ categories?: T;
5779
+ seo?: T | {
5780
+ title?: T;
5781
+ description?: T;
5782
+ noIndex?: T;
5783
+ canonical?: T;
5784
+ openGraph?: T | {
5785
+ title?: T;
5786
+ description?: T;
5787
+ image?: T;
5788
+ };
5789
+ };
5790
+ generateSlug?: T;
5791
+ slug?: T;
5585
5792
  status?: T;
5586
5793
  isFeatured?: T;
5794
+ publishedAt?: T;
5587
5795
  thumbnail?: T;
5588
5796
  tags?: T;
5589
5797
  metadata?: T;
@@ -5658,6 +5866,24 @@ interface FlowEdgeTypesSelect<T extends boolean = true> {
5658
5866
  createdAt?: T;
5659
5867
  deletedAt?: T;
5660
5868
  }
5869
+ /**
5870
+ * This interface was referenced by `Config`'s JSON-Schema
5871
+ * via the `definition` "flow-categories_select".
5872
+ */
5873
+ interface FlowCategoriesSelect<T extends boolean = true> {
5874
+ _order?: T;
5875
+ tenant?: T;
5876
+ title?: T;
5877
+ generateSlug?: T;
5878
+ slug?: T;
5879
+ description?: T;
5880
+ image?: T;
5881
+ parent?: T;
5882
+ color?: T;
5883
+ updatedAt?: T;
5884
+ createdAt?: T;
5885
+ deletedAt?: T;
5886
+ }
5661
5887
  /**
5662
5888
  * This interface was referenced by `Config`'s JSON-Schema
5663
5889
  * via the `definition` "flow-images_select".
@@ -5748,6 +5974,7 @@ interface VideosSelect<T extends boolean = true> {
5748
5974
  title?: T;
5749
5975
  filename?: T;
5750
5976
  description?: T;
5977
+ content?: T;
5751
5978
  sourceLiveStream?: T;
5752
5979
  status?: T;
5753
5980
  duration?: T;
@@ -5758,13 +5985,6 @@ interface VideosSelect<T extends boolean = true> {
5758
5985
  muxAssetId?: T;
5759
5986
  muxPlaybackId?: T;
5760
5987
  muxUploadId?: T;
5761
- thumbnail?: T;
5762
- generateSlug?: T;
5763
- slug?: T;
5764
- publishedAt?: T;
5765
- isFeatured?: T;
5766
- categories?: T;
5767
- tags?: T;
5768
5988
  seo?: T | {
5769
5989
  title?: T;
5770
5990
  description?: T;
@@ -5776,6 +5996,13 @@ interface VideosSelect<T extends boolean = true> {
5776
5996
  image?: T;
5777
5997
  };
5778
5998
  };
5999
+ thumbnail?: T;
6000
+ generateSlug?: T;
6001
+ slug?: T;
6002
+ publishedAt?: T;
6003
+ isFeatured?: T;
6004
+ categories?: T;
6005
+ tags?: T;
5779
6006
  metadata?: T;
5780
6007
  updatedAt?: T;
5781
6008
  createdAt?: T;
@@ -5888,6 +6115,7 @@ interface LiveStreamsSelect<T extends boolean = true> {
5888
6115
  tenant?: T;
5889
6116
  title?: T;
5890
6117
  description?: T;
6118
+ isFeatured?: T;
5891
6119
  scheduledAt?: T;
5892
6120
  thumbnail?: T;
5893
6121
  generateSlug?: T;
@@ -6160,4 +6388,4 @@ declare module 'payload' {
6160
6388
  }
6161
6389
  }
6162
6390
 
6163
- export type { DocumentType as $, Audience as A, BrandLogo as B, Cart as C, CustomerGroup as D, Exchange as E, Form as F, CustomerGroupImage as G, CustomerAddress as H, IframeBlock as I, FulfillmentItem as J, ReturnProduct as K, ExchangeProduct as L, Media as M, OrderStatusLog as N, Order as O, Product as P, Discount as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Post as V, PostImage as W, PostAuthor as X, PostCategory as Y, PostTag as Z, Document as _, OrderProduct as a, CartItemsSelect as a$, DocumentImage as a0, DocumentCategory as a1, Playlist as a2, Music as a3, PlaylistCategory as a4, PlaylistImage as a5, Gallery as a6, GalleryImage as a7, GalleryCategory as a8, GalleryTag as a9, TenantLogosSelect as aA, TenantOgImagesSelect as aB, ProductsSelect as aC, ProductVariantsSelect as aD, ProductOptionsSelect as aE, ProductCategoriesSelect as aF, ProductTagsSelect as aG, ProductCollectionsSelect as aH, BrandsSelect as aI, BrandLogosSelect as aJ, ProductImagesSelect as aK, OrdersSelect as aL, OrderProductsSelect as aM, TransactionsSelect as aN, OrderStatusLogsSelect as aO, FulfillmentsSelect as aP, FulfillmentItemsSelect as aQ, ReturnsSelect as aR, ReturnProductsSelect as aS, ExchangesSelect as aT, ExchangeProductsSelect as aU, ShippingPoliciesSelect as aV, CustomersSelect as aW, CustomerAddressesSelect as aX, CustomerGroupsSelect as aY, CustomerGroupImagesSelect as aZ, CartsSelect as a_, Flow as aa, FlowImage as ab, FlowTag as ac, FlowNodeType as ad, FlowEdgeType as ae, Video as af, LiveStream as ag, LiveStreamImage as ah, VideoImage as ai, VideoCategory as aj, VideoTag as ak, FormSubmission as al, PayloadKv as am, PayloadLockedDocument as an, PayloadPreference as ao, PayloadMigration as ap, UsersSelect as aq, FieldConfigsSelect as ar, MediaSelect as as, AudiencesSelect as at, EmailLogsSelect as au, TenantsSelect as av, TenantMetadataSelect as aw, ApiUsageSelect as ax, SubscriptionsSelect as ay, BillingHistorySelect as az, Fulfillment as b, DiscountsSelect as b0, PostsSelect as b1, PostAuthorsSelect as b2, PostCategoriesSelect as b3, PostTagsSelect as b4, PostImagesSelect as b5, DocumentsSelect as b6, DocumentCategoriesSelect as b7, DocumentTypesSelect as b8, DocumentImagesSelect as b9, Auth as bA, PlaylistsSelect as ba, PlaylistCategoriesSelect as bb, MusicsSelect as bc, PlaylistImagesSelect as bd, GalleriesSelect as be, GalleryImagesSelect as bf, GalleryCategoriesSelect as bg, GalleryTagsSelect as bh, FlowsSelect as bi, FlowNodeTypesSelect as bj, FlowEdgeTypesSelect as bk, FlowImagesSelect as bl, FlowTagsSelect as bm, VideosSelect as bn, VideoCategoriesSelect as bo, VideoTagsSelect as bp, VideoImagesSelect as bq, LiveStreamsSelect as br, LiveStreamImagesSelect as bs, FormsSelect as bt, FormSubmissionsSelect as bu, PayloadKvSelect as bv, PayloadLockedDocumentsSelect as bw, PayloadPreferencesSelect as bx, PayloadMigrationsSelect as by, CollectionsWidget as bz, CartItem as c, Config as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, FieldConfig as j, EmailLog as k, TenantMetadatum as l, TenantOgImage as m, ApiUsage as n, Subscription as o, BillingHistory as p, TenantLogo as q, ProductImage as r, ProductVariant as s, ProductOption as t, ProductCategory as u, ProductTag as v, ProductCollection as w, Brand as x, ShippingPolicy as y, Customer as z };
6391
+ export type { Post as $, Audience as A, BrandLogo as B, Cart as C, Brand as D, Exchange as E, Form as F, ShippingPolicy as G, ProductCollection as H, IframeBlock as I, Customer as J, CustomerGroup as K, LiveStream as L, Media as M, CustomerGroupImage as N, Order as O, Product as P, CustomerAddress as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, FulfillmentItem as W, ReturnProduct as X, ExchangeProduct as Y, OrderStatusLog as Z, Discount as _, OrderProduct as a, CustomerGroupImagesSelect as a$, PostAuthor as a0, PostImage as a1, PostCategory as a2, PostTag as a3, Document as a4, DocumentImage as a5, DocumentType as a6, DocumentCategory as a7, Playlist as a8, PlaylistCategory as a9, SubscriptionsSelect as aA, BillingHistorySelect as aB, TenantLogosSelect as aC, TenantOgImagesSelect as aD, ProductsSelect as aE, ProductVariantsSelect as aF, ProductOptionsSelect as aG, ProductCategoriesSelect as aH, ProductTagsSelect as aI, ProductCollectionsSelect as aJ, BrandsSelect as aK, BrandLogosSelect as aL, ProductImagesSelect as aM, OrdersSelect as aN, OrderProductsSelect as aO, TransactionsSelect as aP, OrderStatusLogsSelect as aQ, FulfillmentsSelect as aR, FulfillmentItemsSelect as aS, ReturnsSelect as aT, ReturnProductsSelect as aU, ExchangesSelect as aV, ExchangeProductsSelect as aW, ShippingPoliciesSelect as aX, CustomersSelect as aY, CustomerAddressesSelect as aZ, CustomerGroupsSelect as a_, PlaylistImage as aa, PlaylistTag as ab, Music as ac, Gallery as ad, GalleryCategory as ae, GalleryImage as af, GalleryTag as ag, Flow as ah, FlowCategory as ai, FlowImage as aj, FlowTag as ak, FlowNodeType as al, FlowEdgeType as am, FormSubmission as an, PayloadKv as ao, PayloadLockedDocument as ap, PayloadPreference as aq, PayloadMigration as ar, UsersSelect as as, FieldConfigsSelect as at, MediaSelect as au, AudiencesSelect as av, EmailLogsSelect as aw, TenantsSelect as ax, TenantMetadataSelect as ay, ApiUsageSelect as az, Fulfillment as b, CartsSelect as b0, CartItemsSelect as b1, DiscountsSelect as b2, PostsSelect as b3, PostAuthorsSelect as b4, PostCategoriesSelect as b5, PostTagsSelect as b6, PostImagesSelect as b7, DocumentsSelect as b8, DocumentCategoriesSelect as b9, PayloadLockedDocumentsSelect as bA, PayloadPreferencesSelect as bB, PayloadMigrationsSelect as bC, CollectionsWidget as bD, Auth as bE, DocumentTypesSelect as ba, DocumentImagesSelect as bb, PlaylistsSelect as bc, PlaylistCategoriesSelect as bd, PlaylistTagsSelect as be, MusicsSelect as bf, PlaylistImagesSelect as bg, GalleriesSelect as bh, GalleryImagesSelect as bi, GalleryCategoriesSelect as bj, GalleryTagsSelect as bk, FlowsSelect as bl, FlowNodeTypesSelect as bm, FlowEdgeTypesSelect as bn, FlowCategoriesSelect as bo, FlowImagesSelect as bp, FlowTagsSelect as bq, VideosSelect as br, VideoCategoriesSelect as bs, VideoTagsSelect as bt, VideoImagesSelect as bu, LiveStreamsSelect as bv, LiveStreamImagesSelect as bw, FormsSelect as bx, FormSubmissionsSelect as by, PayloadKvSelect as bz, CartItem as c, Config as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, FieldConfig as j, EmailLog as k, TenantMetadatum as l, TenantOgImage as m, ApiUsage as n, Subscription as o, BillingHistory as p, TenantLogo as q, ProductImage as r, LiveStreamImage as s, VideoImage as t, VideoCategory as u, VideoTag as v, ProductVariant as w, ProductOption as x, ProductCategory as y, ProductTag as z };