@01.software/sdk 0.7.0 → 0.8.0

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.
@@ -36,21 +36,20 @@ interface Config {
36
36
  products: Product;
37
37
  'product-variants': ProductVariant;
38
38
  'product-options': ProductOption;
39
+ 'product-option-values': ProductOptionValue;
39
40
  'product-categories': ProductCategory;
40
41
  'product-tags': ProductTag;
41
42
  'product-collections': ProductCollection;
42
43
  brands: Brand;
43
44
  'brand-logos': BrandLogo;
44
45
  orders: Order;
45
- 'order-products': OrderProduct;
46
+ 'order-items': OrderItem;
46
47
  transactions: Transaction;
47
48
  'order-status-logs': OrderStatusLog;
48
49
  fulfillments: Fulfillment;
49
50
  'fulfillment-items': FulfillmentItem;
50
51
  returns: Return;
51
- 'return-products': ReturnProduct;
52
- exchanges: Exchange;
53
- 'exchange-products': ExchangeProduct;
52
+ 'return-items': ReturnItem;
54
53
  'shipping-policies': ShippingPolicy;
55
54
  customers: Customer;
56
55
  'customer-addresses': CustomerAddress;
@@ -111,24 +110,20 @@ interface Config {
111
110
  options: 'product-options';
112
111
  collections: 'product-collections';
113
112
  };
114
- 'product-variants': {
115
- productOptions: 'product-options';
113
+ 'product-options': {
114
+ values: 'product-option-values';
116
115
  };
117
116
  orders: {
118
- products: 'order-products';
117
+ items: 'order-items';
119
118
  transactions: 'transactions';
120
119
  fulfillments: 'fulfillments';
121
120
  returns: 'returns';
122
- exchanges: 'exchanges';
123
121
  };
124
122
  fulfillments: {
125
123
  items: 'fulfillment-items';
126
124
  };
127
125
  returns: {
128
- returnProducts: 'return-products';
129
- };
130
- exchanges: {
131
- exchangeProducts: 'exchange-products';
126
+ items: 'return-items';
132
127
  };
133
128
  customers: {
134
129
  orders: 'orders';
@@ -144,7 +139,7 @@ interface Config {
144
139
  posts: 'posts';
145
140
  };
146
141
  playlists: {
147
- musics: 'musics';
142
+ tracks: 'musics';
148
143
  };
149
144
  galleries: {
150
145
  items: 'gallery-items';
@@ -169,21 +164,20 @@ interface Config {
169
164
  products: ProductsSelect<false> | ProductsSelect<true>;
170
165
  'product-variants': ProductVariantsSelect<false> | ProductVariantsSelect<true>;
171
166
  'product-options': ProductOptionsSelect<false> | ProductOptionsSelect<true>;
167
+ 'product-option-values': ProductOptionValuesSelect<false> | ProductOptionValuesSelect<true>;
172
168
  'product-categories': ProductCategoriesSelect<false> | ProductCategoriesSelect<true>;
173
169
  'product-tags': ProductTagsSelect<false> | ProductTagsSelect<true>;
174
170
  'product-collections': ProductCollectionsSelect<false> | ProductCollectionsSelect<true>;
175
171
  brands: BrandsSelect<false> | BrandsSelect<true>;
176
172
  'brand-logos': BrandLogosSelect<false> | BrandLogosSelect<true>;
177
173
  orders: OrdersSelect<false> | OrdersSelect<true>;
178
- 'order-products': OrderProductsSelect<false> | OrderProductsSelect<true>;
174
+ 'order-items': OrderItemsSelect<false> | OrderItemsSelect<true>;
179
175
  transactions: TransactionsSelect<false> | TransactionsSelect<true>;
180
176
  'order-status-logs': OrderStatusLogsSelect<false> | OrderStatusLogsSelect<true>;
181
177
  fulfillments: FulfillmentsSelect<false> | FulfillmentsSelect<true>;
182
178
  'fulfillment-items': FulfillmentItemsSelect<false> | FulfillmentItemsSelect<true>;
183
179
  returns: ReturnsSelect<false> | ReturnsSelect<true>;
184
- 'return-products': ReturnProductsSelect<false> | ReturnProductsSelect<true>;
185
- exchanges: ExchangesSelect<false> | ExchangesSelect<true>;
186
- 'exchange-products': ExchangeProductsSelect<false> | ExchangeProductsSelect<true>;
180
+ 'return-items': ReturnItemsSelect<false> | ReturnItemsSelect<true>;
187
181
  'shipping-policies': ShippingPoliciesSelect<false> | ShippingPoliciesSelect<true>;
188
182
  customers: CustomersSelect<false> | CustomersSelect<true>;
189
183
  'customer-addresses': CustomerAddressesSelect<false> | CustomerAddressesSelect<true>;
@@ -335,12 +329,28 @@ interface User {
335
329
  id?: string | null;
336
330
  }[] | null;
337
331
  emailPreferences?: {
338
- usageAlerts?: boolean | null;
332
+ acceptsUsageAlerts?: boolean | null;
339
333
  };
334
+ phone?: string | null;
335
+ isPhoneVerified?: boolean | null;
336
+ lastLoginAt?: string | null;
337
+ lastLoginIp?: string | null;
338
+ isSuspended?: boolean | null;
339
+ suspendedAt?: string | null;
340
+ suspendedReason?: string | null;
341
+ timezone?: string | null;
342
+ locale?: string | null;
343
+ avatar?: (string | null) | Image;
344
+ anonymizedAt?: string | null;
345
+ /**
346
+ * Scheduled deletion date
347
+ */
348
+ deletionScheduledAt?: string | null;
340
349
  authProvider?: ('local' | 'google') | null;
341
350
  googleSub?: string | null;
342
351
  updatedAt: string;
343
352
  createdAt: string;
353
+ deletedAt?: string | null;
344
354
  email: string;
345
355
  resetPasswordToken?: string | null;
346
356
  resetPasswordExpiration?: string | null;
@@ -365,6 +375,10 @@ interface User {
365
375
  interface Tenant {
366
376
  id: string;
367
377
  name: string;
378
+ /**
379
+ * URL-safe identifier (auto-generated)
380
+ */
381
+ slug?: string | null;
368
382
  /**
369
383
  * Tenant owner. Only the owner can delete the tenant or transfer ownership.
370
384
  */
@@ -374,15 +388,18 @@ interface Tenant {
374
388
  /**
375
389
  * Require email verification on customer registration. Verification token is delivered via webhook (operation: verification). You must configure a webhook URL first.
376
390
  */
377
- requireEmailVerification?: boolean | null;
391
+ requiresEmailVerification?: boolean | null;
378
392
  /**
379
393
  * When enabled, new threads require admin approval before being published.
380
394
  */
381
- requirePostApproval?: boolean | null;
395
+ requiresPostApproval?: boolean | null;
382
396
  /**
383
397
  * Dev mode shows configuration tools like the field settings panel. Turn off after setup for a clean production UI.
384
398
  */
385
- devMode?: boolean | null;
399
+ isDevMode?: boolean | null;
400
+ status?: ('active' | 'paused' | 'past_due' | 'canceled' | 'pending_deletion') | null;
401
+ trialEndsAt?: string | null;
402
+ deletionScheduledAt?: string | null;
386
403
  /**
387
404
  * Allowed CORS origins for browser SDK requests. Empty = all origins allowed.
388
405
  */
@@ -393,7 +410,16 @@ interface Tenant {
393
410
  clientKey: string;
394
411
  secretKeys?: {
395
412
  name: string;
396
- value?: string | null;
413
+ keyHash?: string | null;
414
+ /**
415
+ * First 8 characters of the key (identification only)
416
+ */
417
+ prefix?: string | null;
418
+ /**
419
+ * Last 4 characters of the key
420
+ */
421
+ last4?: string | null;
422
+ lastUsedAt?: string | null;
397
423
  id?: string | null;
398
424
  }[] | null;
399
425
  /**
@@ -412,7 +438,7 @@ interface Tenant {
412
438
  * HMAC-SHA256 secret for webhook signature verification. Sent as x-webhook-signature header.
413
439
  */
414
440
  secret?: string | null;
415
- enabled?: boolean | null;
441
+ isEnabled?: boolean | null;
416
442
  id?: string | null;
417
443
  }[] | null;
418
444
  /**
@@ -426,21 +452,6 @@ interface Tenant {
426
452
  updatedAt: string;
427
453
  createdAt: string;
428
454
  }
429
- /**
430
- * This interface was referenced by `Config`'s JSON-Schema
431
- * via the `definition` "field-configs".
432
- */
433
- interface FieldConfig {
434
- id: string;
435
- tenant?: (string | null) | Tenant;
436
- collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'exchanges' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | 'canvases' | 'canvas-categories' | 'canvas-tags' | 'canvas-node-types' | 'canvas-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms' | 'threads' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'thread-categories';
437
- isHidden?: boolean | null;
438
- hiddenFields?: {
439
- [k: string]: unknown;
440
- } | unknown[] | string | number | boolean | null;
441
- updatedAt: string;
442
- createdAt: string;
443
- }
444
455
  /**
445
456
  * This interface was referenced by `Config`'s JSON-Schema
446
457
  * via the `definition` "images".
@@ -516,6 +527,21 @@ interface Image {
516
527
  };
517
528
  };
518
529
  }
530
+ /**
531
+ * This interface was referenced by `Config`'s JSON-Schema
532
+ * via the `definition` "field-configs".
533
+ */
534
+ interface FieldConfig {
535
+ id: string;
536
+ tenant?: (string | null) | Tenant;
537
+ collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | 'canvases' | 'canvas-categories' | 'canvas-tags' | 'canvas-node-types' | 'canvas-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms' | 'threads' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'thread-categories';
538
+ isHidden?: boolean | null;
539
+ hiddenFields?: {
540
+ [k: string]: unknown;
541
+ } | unknown[] | string | number | boolean | null;
542
+ updatedAt: string;
543
+ createdAt: string;
544
+ }
519
545
  /**
520
546
  * This interface was referenced by `Config`'s JSON-Schema
521
547
  * via the `definition` "system-media".
@@ -568,6 +594,10 @@ interface Audience {
568
594
  */
569
595
  interface EmailLog {
570
596
  id: string;
597
+ /**
598
+ * Originating tenant. NULL for system-level emails (super-admin only).
599
+ */
600
+ tenant?: (string | null) | Tenant;
571
601
  to: string;
572
602
  from?: string | null;
573
603
  subject: string;
@@ -575,6 +605,17 @@ interface EmailLog {
575
605
  status: 'sent' | 'failed';
576
606
  sentAt: string;
577
607
  error?: string | null;
608
+ /**
609
+ * Provider message ID (e.g. Resend)
610
+ */
611
+ providerMessageId?: string | null;
612
+ openedAt?: string | null;
613
+ clickedAt?: string | null;
614
+ bouncedAt?: string | null;
615
+ /**
616
+ * Consent category for compliance audit
617
+ */
618
+ recipientConsent?: ('marketing' | 'transactional' | 'service_notice') | null;
578
619
  updatedAt: string;
579
620
  createdAt: string;
580
621
  }
@@ -605,7 +646,18 @@ interface TenantMetadatum {
605
646
  /**
606
647
  * Full site URL (e.g., https://example.com)
607
648
  */
608
- siteUrl?: string | null;
649
+ url?: string | null;
650
+ };
651
+ /**
652
+ * Required by Korean e-commerce law
653
+ */
654
+ businessInfo?: {
655
+ businessRegistrationNumber?: string | null;
656
+ businessName?: string | null;
657
+ ceoName?: string | null;
658
+ businessAddress?: string | null;
659
+ businessEmail?: string | null;
660
+ onlineSalesRegistrationNumber?: string | null;
609
661
  };
610
662
  branding?: {
611
663
  /**
@@ -836,24 +888,24 @@ interface ApiUsage {
836
888
  * YYYY-MM format
837
889
  */
838
890
  month: string;
839
- count: number;
891
+ apiCallCount: number;
840
892
  plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
841
893
  /**
842
894
  * -1 means unlimited
843
895
  */
844
- limit: number;
896
+ apiCallLimit: number;
845
897
  /**
846
898
  * Storage usage in bytes
847
899
  */
848
- storageUsed?: number | null;
900
+ storageUsedBytes?: number | null;
849
901
  /**
850
902
  * Storage limit in bytes (-1 means unlimited)
851
903
  */
852
- storageLimit?: number | null;
904
+ storageLimitBytes?: number | null;
853
905
  /**
854
906
  * Total document count across all tenant-scoped collections
855
907
  */
856
- totalDocuments?: number | null;
908
+ documentCount?: number | null;
857
909
  /**
858
910
  * Number of video documents
859
911
  */
@@ -866,6 +918,11 @@ interface ApiUsage {
866
918
  * Monthly viewer watch time from Mux Data
867
919
  */
868
920
  deliveryMinutesUsed?: number | null;
921
+ /**
922
+ * AI generation count
923
+ */
924
+ aiGenerationCount?: number | null;
925
+ snapshottedAt?: string | null;
869
926
  updatedAt: string;
870
927
  createdAt: string;
871
928
  }
@@ -887,7 +944,10 @@ interface Subscription {
887
944
  provider: 'toss' | 'polar';
888
945
  currentPeriodStart?: string | null;
889
946
  currentPeriodEnd?: string | null;
890
- nextBillingDate?: string | null;
947
+ trialStartAt?: string | null;
948
+ trialEndAt?: string | null;
949
+ endedAt?: string | null;
950
+ pastDueAt?: string | null;
891
951
  /**
892
952
  * Toss billing key (AES-256-GCM encrypted)
893
953
  */
@@ -908,17 +968,19 @@ interface Subscription {
908
968
  cardType?: string | null;
909
969
  };
910
970
  /**
911
- * Polar subscription ID
971
+ * Provider subscription ID
912
972
  */
913
- polarSubscriptionId?: string | null;
973
+ providerSubscriptionId?: string | null;
914
974
  /**
915
- * Polar customer ID
975
+ * Provider customer ID
916
976
  */
917
- polarCustomerId?: string | null;
977
+ providerCustomerId?: string | null;
918
978
  /**
919
- * Polar product ID
979
+ * Additional provider metadata
920
980
  */
921
- polarProductId?: string | null;
981
+ providerMetadata?: {
982
+ [k: string]: unknown;
983
+ } | unknown[] | string | number | boolean | null;
922
984
  cancelAtPeriodEnd?: boolean | null;
923
985
  canceledAt?: string | null;
924
986
  cancelReason?: string | null;
@@ -928,7 +990,7 @@ interface Subscription {
928
990
  pendingPlanChange?: {
929
991
  targetPlan?: ('starter' | 'basic' | 'pro') | null;
930
992
  targetAmount?: number | null;
931
- effectiveDate?: string | null;
993
+ effectiveAt?: string | null;
932
994
  };
933
995
  updatedAt: string;
934
996
  createdAt: string;
@@ -950,7 +1012,7 @@ interface BillingHistory {
950
1012
  /**
951
1013
  * Plan at time of payment
952
1014
  */
953
- plan?: string | null;
1015
+ plan: 'starter' | 'basic' | 'pro';
954
1016
  provider: 'toss' | 'polar';
955
1017
  currency: 'KRW' | 'USD';
956
1018
  billingCycle?: ('monthly' | 'yearly') | null;
@@ -959,7 +1021,7 @@ interface BillingHistory {
959
1021
  /**
960
1022
  * Unique order number
961
1023
  */
962
- orderId: string;
1024
+ invoiceNumber: string;
963
1025
  orderName?: string | null;
964
1026
  /**
965
1027
  * Toss payment key
@@ -1097,11 +1159,6 @@ interface Product {
1097
1159
  thumbnail?: (string | null) | Image;
1098
1160
  images?: (string | Image)[] | null;
1099
1161
  videos?: (string | Video)[] | null;
1100
- price: number;
1101
- /**
1102
- * Original price before discount
1103
- */
1104
- compareAtPrice?: number | null;
1105
1162
  content?: {
1106
1163
  root: {
1107
1164
  type: string;
@@ -1140,18 +1197,6 @@ interface Product {
1140
1197
  hasNextPage?: boolean;
1141
1198
  totalDocs?: number;
1142
1199
  };
1143
- /**
1144
- * Stock Keeping Unit
1145
- */
1146
- sku?: string | null;
1147
- /**
1148
- * UPC/EAN barcode
1149
- */
1150
- barcode?: string | null;
1151
- /**
1152
- * External system ID (ERP, POS)
1153
- */
1154
- externalId?: string | null;
1155
1200
  /**
1156
1201
  * Minimum order quantity
1157
1202
  */
@@ -1204,6 +1249,12 @@ interface Product {
1204
1249
  isSoldOut?: boolean | null;
1205
1250
  isFeatured?: boolean | null;
1206
1251
  publishedAt?: string | null;
1252
+ vendor?: string | null;
1253
+ productType?: string | null;
1254
+ /**
1255
+ * URL handle (alternative to slug)
1256
+ */
1257
+ handle?: string | null;
1207
1258
  updatedAt: string;
1208
1259
  createdAt: string;
1209
1260
  deletedAt?: string | null;
@@ -1237,11 +1288,11 @@ interface Video {
1237
1288
  [k: string]: unknown;
1238
1289
  } | null;
1239
1290
  sourceLiveStream?: (string | null) | LiveStream;
1240
- status?: ('waiting' | 'preparing' | 'ready' | 'errored') | null;
1241
- duration?: number | null;
1242
- aspectRatio?: string | null;
1291
+ muxStatus?: ('waiting' | 'preparing' | 'ready' | 'errored') | null;
1292
+ durationSeconds?: number | null;
1293
+ muxAspectRatio?: string | null;
1243
1294
  maxResolution?: string | null;
1244
- videoQuality?: ('basic' | 'plus' | 'premium') | null;
1295
+ quality?: ('basic' | 'plus' | 'premium') | null;
1245
1296
  mp4Support?: ('none' | 'standard' | 'capped-1080p') | null;
1246
1297
  muxAssetId?: string | null;
1247
1298
  muxPlaybackId?: string | null;
@@ -1291,6 +1342,16 @@ interface Video {
1291
1342
  metadata?: {
1292
1343
  [k: string]: unknown;
1293
1344
  } | unknown[] | string | number | boolean | null;
1345
+ viewCount?: number | null;
1346
+ aspectRatio?: ('16_9' | '9_16' | '4_3' | '1_1') | null;
1347
+ /**
1348
+ * Chapter markers
1349
+ */
1350
+ chapters?: {
1351
+ title: string;
1352
+ startSeconds: number;
1353
+ id?: string | null;
1354
+ }[] | null;
1294
1355
  updatedAt: string;
1295
1356
  createdAt: string;
1296
1357
  deletedAt?: string | null;
@@ -1315,12 +1376,12 @@ interface LiveStream {
1315
1376
  /**
1316
1377
  * Reconnect window (seconds)
1317
1378
  */
1318
- reconnectWindow?: number | null;
1319
- status?: ('idle' | 'active' | 'disabled') | null;
1379
+ reconnectWindowSeconds?: number | null;
1380
+ muxStatus?: ('idle' | 'active' | 'disabled') | null;
1320
1381
  muxLiveStreamId?: string | null;
1321
1382
  muxPlaybackId?: string | null;
1322
1383
  streamKey?: string | null;
1323
- activeAssetId?: string | null;
1384
+ muxActiveAssetId?: string | null;
1324
1385
  recentAssetIds?: {
1325
1386
  [k: string]: unknown;
1326
1387
  } | unknown[] | string | number | boolean | null;
@@ -1366,6 +1427,10 @@ interface LiveStream {
1366
1427
  metadata?: {
1367
1428
  [k: string]: unknown;
1368
1429
  } | unknown[] | string | number | boolean | null;
1430
+ startedAt?: string | null;
1431
+ endedAt?: string | null;
1432
+ peakViewerCount?: number | null;
1433
+ viewCount?: number | null;
1369
1434
  updatedAt: string;
1370
1435
  createdAt: string;
1371
1436
  deletedAt?: string | null;
@@ -1430,84 +1495,72 @@ interface ProductVariant {
1430
1495
  _order?: string | null;
1431
1496
  tenant?: (string | null) | Tenant;
1432
1497
  product: string | Product;
1433
- title: string;
1434
- /**
1435
- * Short summary for listing/cards
1436
- */
1437
- description?: string | null;
1498
+ title?: string | null;
1438
1499
  /**
1439
1500
  * Variant-specific SKU
1440
1501
  */
1441
1502
  sku?: string | null;
1442
1503
  /**
1443
- * Override price (uses product price if empty)
1504
+ * Selling price (KRW)
1444
1505
  */
1445
1506
  price?: number | null;
1446
1507
  /**
1447
- * Barcode (EAN, UPC, etc.)
1508
+ * Original price before discount
1509
+ */
1510
+ compareAtPrice?: number | null;
1511
+ /**
1512
+ * Sell without tracking inventory
1513
+ */
1514
+ isUnlimited?: boolean | null;
1515
+ stock?: number | null;
1516
+ /**
1517
+ * Paid orders in transit (informational — stock alone gates new purchases)
1518
+ */
1519
+ reservedStock?: number | null;
1520
+ /**
1521
+ * Variant-specific barcode
1448
1522
  */
1449
1523
  barcode?: string | null;
1450
1524
  /**
1451
- * Weight in grams (g)
1525
+ * Variant-specific weight (g)
1452
1526
  */
1453
1527
  weight?: number | null;
1454
- isSoldOut?: boolean | null;
1455
- images?: (string | Image)[] | null;
1528
+ requiresShipping?: boolean | null;
1456
1529
  /**
1457
1530
  * External system ID
1458
1531
  */
1459
1532
  externalId?: string | null;
1460
- status?: ('active' | 'inactive') | null;
1533
+ /**
1534
+ * Option value combination for this variant (e.g. Black + S)
1535
+ */
1536
+ optionValues?: (string | ProductOptionValue)[] | null;
1537
+ isActive?: boolean | null;
1461
1538
  metadata?: {
1462
1539
  [k: string]: unknown;
1463
1540
  } | unknown[] | string | number | boolean | null;
1464
- productOptions?: {
1465
- docs?: (string | ProductOption)[];
1466
- hasNextPage?: boolean;
1467
- totalDocs?: number;
1468
- };
1469
1541
  updatedAt: string;
1470
1542
  createdAt: string;
1471
1543
  deletedAt?: string | null;
1472
1544
  }
1473
1545
  /**
1474
1546
  * This interface was referenced by `Config`'s JSON-Schema
1475
- * via the `definition` "product-options".
1547
+ * via the `definition` "product-option-values".
1476
1548
  */
1477
- interface ProductOption {
1549
+ interface ProductOptionValue {
1478
1550
  id: string;
1479
- '_product-options_productOptions_order'?: string | null;
1480
- '_product-options_options_order'?: string | null;
1551
+ '_product-option-values_values_order'?: string | null;
1481
1552
  _order?: string | null;
1482
1553
  tenant?: (string | null) | Tenant;
1483
- product: string | Product;
1484
- variant?: (string | null) | ProductVariant;
1485
- title?: string | null;
1486
- /**
1487
- * Option-specific SKU
1488
- */
1489
- sku?: string | null;
1490
- stock: number;
1491
- /**
1492
- * Paid orders in transit (informational — stock alone gates new purchases)
1493
- */
1494
- reservedStock?: number | null;
1495
- /**
1496
- * Price adjustment (add/subtract from base price)
1497
- */
1498
- priceAdjustment?: number | null;
1554
+ option: string | ProductOption;
1499
1555
  /**
1500
- * Option-specific barcode
1556
+ * Display label (e.g. Black, S)
1501
1557
  */
1502
- barcode?: string | null;
1558
+ value: string;
1503
1559
  /**
1504
- * Option-specific weight (g)
1505
- */
1506
- weight?: number | null;
1507
- /**
1508
- * External system ID
1560
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1509
1561
  */
1510
- externalId?: string | null;
1562
+ generateSlug?: boolean | null;
1563
+ slug?: string | null;
1511
1564
  metadata?: {
1512
1565
  [k: string]: unknown;
1513
1566
  } | unknown[] | string | number | boolean | null;
@@ -1515,6 +1568,29 @@ interface ProductOption {
1515
1568
  createdAt: string;
1516
1569
  deletedAt?: string | null;
1517
1570
  }
1571
+ /**
1572
+ * This interface was referenced by `Config`'s JSON-Schema
1573
+ * via the `definition` "product-options".
1574
+ */
1575
+ interface ProductOption {
1576
+ id: string;
1577
+ '_product-options_options_order'?: string | null;
1578
+ _order?: string | null;
1579
+ tenant?: (string | null) | Tenant;
1580
+ product: string | Product;
1581
+ /**
1582
+ * Option name (e.g. Color, Size)
1583
+ */
1584
+ title: string;
1585
+ values?: {
1586
+ docs?: (string | ProductOptionValue)[];
1587
+ hasNextPage?: boolean;
1588
+ totalDocs?: number;
1589
+ };
1590
+ updatedAt: string;
1591
+ createdAt: string;
1592
+ deletedAt?: string | null;
1593
+ }
1518
1594
  /**
1519
1595
  * This interface was referenced by `Config`'s JSON-Schema
1520
1596
  * via the `definition` "product-categories".
@@ -1669,21 +1745,21 @@ interface ShippingPolicy {
1669
1745
  */
1670
1746
  title: string;
1671
1747
  /**
1672
- * Base shipping fee
1748
+ * Amount in KRW (won)
1673
1749
  */
1674
- baseFee: number;
1750
+ baseAmount: number;
1675
1751
  /**
1676
- * Free shipping above this amount (empty = no free shipping)
1752
+ * Amount in KRW (won)
1677
1753
  */
1678
- freeShippingThreshold?: number | null;
1754
+ freeShippingMinAmount?: number | null;
1679
1755
  /**
1680
- * Extra fee for Jeju island
1756
+ * Amount in KRW (won)
1681
1757
  */
1682
- jejuExtraFee?: number | null;
1758
+ jejuExtraAmount?: number | null;
1683
1759
  /**
1684
- * Extra fee for remote islands
1760
+ * Amount in KRW (won)
1685
1761
  */
1686
- islandExtraFee?: number | null;
1762
+ remoteAreaExtraAmount?: number | null;
1687
1763
  /**
1688
1764
  * Short summary for listing/cards
1689
1765
  */
@@ -1697,7 +1773,7 @@ interface ShippingPolicy {
1697
1773
  * Estimated delivery days
1698
1774
  */
1699
1775
  estimatedDays?: number | null;
1700
- status?: ('active' | 'inactive') | null;
1776
+ isActive?: boolean | null;
1701
1777
  isDefault?: boolean | null;
1702
1778
  metadata?: {
1703
1779
  [k: string]: unknown;
@@ -1793,6 +1869,7 @@ interface Order {
1793
1869
  id: string;
1794
1870
  tenant?: (string | null) | Tenant;
1795
1871
  orderNumber: string;
1872
+ cartToken?: string | null;
1796
1873
  status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
1797
1874
  totalAmount?: number | null;
1798
1875
  discountCode?: string | null;
@@ -1802,18 +1879,27 @@ interface Order {
1802
1879
  */
1803
1880
  refundedAmount?: number | null;
1804
1881
  /**
1805
- * Shipping fee at time of order
1882
+ * Shipping amount at time of order
1883
+ */
1884
+ shippingAmount?: number | null;
1885
+ /**
1886
+ * Item subtotal (excl. shipping & discount)
1806
1887
  */
1807
- shippingFee?: number | null;
1888
+ subtotalAmount?: number | null;
1889
+ taxAmount?: number | null;
1808
1890
  source?: ('web' | 'app' | 'manual') | null;
1891
+ currency?: string | null;
1809
1892
  /**
1810
1893
  * Internal admin notes (not visible to customers)
1811
1894
  */
1812
1895
  adminNotes?: string | null;
1896
+ cancelReason?: string | null;
1897
+ canceledAt?: string | null;
1898
+ completedAt?: string | null;
1813
1899
  /**
1814
- * Notes left by customer at checkout
1900
+ * Note left by customer at checkout
1815
1901
  */
1816
- customerNotes?: string | null;
1902
+ customerNote?: string | null;
1817
1903
  customer?: (string | null) | Customer;
1818
1904
  /**
1819
1905
  * Customer info at the time of order
@@ -1827,12 +1913,19 @@ interface Order {
1827
1913
  recipientName?: string | null;
1828
1914
  phone?: string | null;
1829
1915
  postalCode?: string | null;
1830
- address1?: string | null;
1831
- address2?: string | null;
1916
+ address?: string | null;
1917
+ detailAddress?: string | null;
1832
1918
  deliveryMessage?: string | null;
1833
1919
  };
1834
- products?: {
1835
- docs?: (string | OrderProduct)[];
1920
+ billingAddress?: {
1921
+ recipientName?: string | null;
1922
+ businessRegistrationNumber?: string | null;
1923
+ email?: string | null;
1924
+ phone?: string | null;
1925
+ address?: string | null;
1926
+ };
1927
+ items?: {
1928
+ docs?: (string | OrderItem)[];
1836
1929
  hasNextPage?: boolean;
1837
1930
  totalDocs?: number;
1838
1931
  };
@@ -1851,16 +1944,12 @@ interface Order {
1851
1944
  hasNextPage?: boolean;
1852
1945
  totalDocs?: number;
1853
1946
  };
1854
- exchanges?: {
1855
- docs?: (string | Exchange)[];
1856
- hasNextPage?: boolean;
1857
- totalDocs?: number;
1858
- };
1859
1947
  metadata?: {
1860
1948
  [k: string]: unknown;
1861
1949
  } | unknown[] | string | number | boolean | null;
1862
1950
  updatedAt: string;
1863
1951
  createdAt: string;
1952
+ deletedAt?: string | null;
1864
1953
  }
1865
1954
  /**
1866
1955
  * This interface was referenced by `Config`'s JSON-Schema
@@ -1878,7 +1967,7 @@ interface Customer {
1878
1967
  /**
1879
1968
  * External provider user ID
1880
1969
  */
1881
- socialId?: string | null;
1970
+ providerUserId?: string | null;
1882
1971
  /**
1883
1972
  * Internal notes (not visible to customers)
1884
1973
  */
@@ -1895,30 +1984,75 @@ interface Customer {
1895
1984
  hasNextPage?: boolean;
1896
1985
  totalDocs?: number;
1897
1986
  };
1987
+ marketingConsent?: {
1988
+ email?: {
1989
+ isConsented?: boolean | null;
1990
+ consentedAt?: string | null;
1991
+ expiresAt?: string | null;
1992
+ unsubscribedAt?: string | null;
1993
+ };
1994
+ sms?: {
1995
+ isConsented?: boolean | null;
1996
+ consentedAt?: string | null;
1997
+ expiresAt?: string | null;
1998
+ unsubscribedAt?: string | null;
1999
+ };
2000
+ push?: {
2001
+ isConsented?: boolean | null;
2002
+ consentedAt?: string | null;
2003
+ expiresAt?: string | null;
2004
+ unsubscribedAt?: string | null;
2005
+ };
2006
+ /**
2007
+ * Channel through which consent was obtained (e.g. signup, checkout, import)
2008
+ */
2009
+ consentSource?: string | null;
2010
+ };
2011
+ guardianConsent?: {
2012
+ hasGuardianConsent?: boolean | null;
2013
+ guardianName?: string | null;
2014
+ guardianPhone?: string | null;
2015
+ guardianConsentedAt?: string | null;
2016
+ };
2017
+ /**
2018
+ * Withdrawal reason (internal)
2019
+ */
2020
+ withdrawReason?: string | null;
2021
+ withdrawnAt?: string | null;
2022
+ /**
2023
+ * Legal retention deadline (hard-delete eligible after this date)
2024
+ */
2025
+ retainUntil?: string | null;
2026
+ anonymizedAt?: string | null;
1898
2027
  hashedPassword?: string | null;
1899
2028
  salt?: string | null;
1900
2029
  verificationToken?: string | null;
1901
2030
  resetPasswordToken?: string | null;
1902
- resetPasswordExpiry?: string | null;
1903
- loginAttempts?: number | null;
2031
+ resetPasswordExpiresAt?: string | null;
2032
+ loginAttemptCount?: number | null;
1904
2033
  lockedUntil?: string | null;
1905
2034
  authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
1906
2035
  isGuest?: boolean | null;
1907
- isVerified?: boolean | null;
1908
- /**
1909
- * Marketing email consent
1910
- */
1911
- marketingConsent?: boolean | null;
1912
- /**
1913
- * Date marketing consent was given
1914
- */
1915
- consentedAt?: string | null;
2036
+ isEmailVerified?: boolean | null;
1916
2037
  lastLoginAt?: string | null;
2038
+ isMinor?: boolean | null;
2039
+ acceptsTos?: boolean | null;
2040
+ tosVersion?: string | null;
2041
+ defaultShippingAddress?: (string | null) | CustomerAddress;
2042
+ defaultBillingAddress?: (string | null) | CustomerAddress;
2043
+ totalOrderCount?: number | null;
2044
+ lifetimeValue?: number | null;
2045
+ firstOrderAt?: string | null;
2046
+ lastOrderAt?: string | null;
2047
+ threadCount?: number | null;
2048
+ commentCount?: number | null;
2049
+ reactionCount?: number | null;
1917
2050
  metadata?: {
1918
2051
  [k: string]: unknown;
1919
2052
  } | unknown[] | string | number | boolean | null;
1920
2053
  updatedAt: string;
1921
2054
  createdAt: string;
2055
+ deletedAt?: string | null;
1922
2056
  collection: 'customers';
1923
2057
  }
1924
2058
  /**
@@ -1941,7 +2075,7 @@ interface CustomerGroup {
1941
2075
  description?: string | null;
1942
2076
  color?: string | null;
1943
2077
  image?: (string | null) | Image;
1944
- status?: ('active' | 'inactive') | null;
2078
+ isActive?: boolean | null;
1945
2079
  metadata?: {
1946
2080
  [k: string]: unknown;
1947
2081
  } | unknown[] | string | number | boolean | null;
@@ -1978,15 +2112,14 @@ interface CustomerAddress {
1978
2112
  }
1979
2113
  /**
1980
2114
  * This interface was referenced by `Config`'s JSON-Schema
1981
- * via the `definition` "order-products".
2115
+ * via the `definition` "order-items".
1982
2116
  */
1983
- interface OrderProduct {
2117
+ interface OrderItem {
1984
2118
  id: string;
1985
2119
  tenant?: (string | null) | Tenant;
1986
2120
  order: string | Order;
1987
2121
  product: string | Product;
1988
2122
  variant?: (string | null) | ProductVariant;
1989
- option?: (string | null) | ProductOption;
1990
2123
  quantity: number;
1991
2124
  /**
1992
2125
  * Price per unit at time of order
@@ -1996,7 +2129,7 @@ interface OrderProduct {
1996
2129
  * unitPrice × quantity
1997
2130
  */
1998
2131
  totalPrice: number;
1999
- title?: string | null;
2132
+ productTitle?: string | null;
2000
2133
  updatedAt: string;
2001
2134
  createdAt: string;
2002
2135
  }
@@ -2010,19 +2143,50 @@ interface Transaction {
2010
2143
  type: 'payment' | 'refund';
2011
2144
  status: 'pending' | 'paid' | 'failed' | 'canceled';
2012
2145
  order: string | Order;
2013
- paymentId?: string | null;
2146
+ amount?: number | null;
2014
2147
  paymentMethod?: string | null;
2148
+ /**
2149
+ * Installment months (0 = lump sum)
2150
+ */
2151
+ installmentMonths?: number | null;
2152
+ approvedAt?: string | null;
2015
2153
  receiptUrl?: string | null;
2016
- totalAmount?: number | null;
2154
+ pgPaymentId?: string | null;
2155
+ pgOrderId?: string | null;
2156
+ cashReceipt?: {
2157
+ issuanceType?: ('none' | 'personal' | 'business') | null;
2158
+ /**
2159
+ * Personal: phone or cash receipt card number / Business: business registration number
2160
+ */
2161
+ registrationNumber?: string | null;
2162
+ issueNumber?: string | null;
2163
+ issuedAt?: string | null;
2164
+ };
2165
+ cardInfo?: {
2166
+ brand?: string | null;
2167
+ last4?: string | null;
2168
+ expMonth?: number | null;
2169
+ expYear?: number | null;
2170
+ issuerCode?: string | null;
2171
+ type?: ('credit' | 'debit' | 'gift') | null;
2172
+ owner?: string | null;
2173
+ };
2174
+ failureCode?: string | null;
2175
+ failureMessage?: string | null;
2017
2176
  /**
2018
- * Payment gateway provider (e.g. toss, stripe)
2177
+ * Payment gateway (e.g. toss, stripe)
2019
2178
  */
2020
2179
  pgProvider?: string | null;
2180
+ /**
2181
+ * Legal retention deadline (5 years, Electronic Financial Transactions Act)
2182
+ */
2183
+ retainUntil?: string | null;
2021
2184
  metadata?: {
2022
2185
  [k: string]: unknown;
2023
2186
  } | unknown[] | string | number | boolean | null;
2024
2187
  updatedAt: string;
2025
2188
  createdAt: string;
2189
+ deletedAt?: string | null;
2026
2190
  }
2027
2191
  /**
2028
2192
  * This interface was referenced by `Config`'s JSON-Schema
@@ -2034,10 +2198,15 @@ interface Fulfillment {
2034
2198
  order: string | Order;
2035
2199
  status: 'pending' | 'packed' | 'shipped' | 'delivered' | 'failed';
2036
2200
  /**
2037
- * Shipping carrier name (e.g. CJ Logistics, FedEx, UPS)
2201
+ * Carrier name (e.g. CJ Logistics, FedEx)
2038
2202
  */
2039
2203
  carrier?: string | null;
2040
2204
  trackingNumber?: string | null;
2205
+ /**
2206
+ * Tracking URL (auto-derived from carrier + trackingNumber)
2207
+ */
2208
+ trackingUrl?: string | null;
2209
+ packedAt?: string | null;
2041
2210
  shippedAt?: string | null;
2042
2211
  deliveredAt?: string | null;
2043
2212
  items?: {
@@ -2054,6 +2223,7 @@ interface Fulfillment {
2054
2223
  } | unknown[] | string | number | boolean | null;
2055
2224
  updatedAt: string;
2056
2225
  createdAt: string;
2226
+ deletedAt?: string | null;
2057
2227
  }
2058
2228
  /**
2059
2229
  * This interface was referenced by `Config`'s JSON-Schema
@@ -2063,7 +2233,7 @@ interface FulfillmentItem {
2063
2233
  id: string;
2064
2234
  tenant?: (string | null) | Tenant;
2065
2235
  fulfillment: string | Fulfillment;
2066
- orderProduct: string | OrderProduct;
2236
+ orderItem: string | OrderItem;
2067
2237
  quantity: number;
2068
2238
  updatedAt: string;
2069
2239
  createdAt: string;
@@ -2075,15 +2245,21 @@ interface FulfillmentItem {
2075
2245
  interface Return {
2076
2246
  id: string;
2077
2247
  tenant?: (string | null) | Tenant;
2248
+ returnNumber?: string | null;
2078
2249
  order: string | Order;
2250
+ type: 'refund' | 'exchange';
2251
+ /**
2252
+ * New order created for exchange
2253
+ */
2254
+ exchangeOrder?: (string | null) | Order;
2079
2255
  status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
2080
2256
  reason?: ('change_of_mind' | 'defective' | 'wrong_delivery' | 'damaged' | 'other') | null;
2081
2257
  /**
2082
2258
  * Detailed return reason
2083
2259
  */
2084
2260
  reasonDetail?: string | null;
2085
- returnProducts?: {
2086
- docs?: (string | ReturnProduct)[];
2261
+ items?: {
2262
+ docs?: (string | ReturnItem)[];
2087
2263
  hasNextPage?: boolean;
2088
2264
  totalDocs?: number;
2089
2265
  };
@@ -2102,80 +2278,23 @@ interface Return {
2102
2278
  } | unknown[] | string | number | boolean | null;
2103
2279
  updatedAt: string;
2104
2280
  createdAt: string;
2281
+ deletedAt?: string | null;
2105
2282
  }
2106
2283
  /**
2107
2284
  * This interface was referenced by `Config`'s JSON-Schema
2108
- * via the `definition` "return-products".
2285
+ * via the `definition` "return-items".
2109
2286
  */
2110
- interface ReturnProduct {
2287
+ interface ReturnItem {
2111
2288
  id: string;
2112
2289
  tenant?: (string | null) | Tenant;
2113
2290
  return: string | Return;
2114
2291
  order: string | Order;
2115
2292
  status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
2116
- orderProduct: string | OrderProduct;
2117
- product: string | Product;
2118
- variant: string | ProductVariant;
2119
- option: string | ProductOption;
2120
- quantity: number;
2121
- title?: string | null;
2122
- updatedAt: string;
2123
- createdAt: string;
2124
- }
2125
- /**
2126
- * This interface was referenced by `Config`'s JSON-Schema
2127
- * via the `definition` "exchanges".
2128
- */
2129
- interface Exchange {
2130
- id: string;
2131
- tenant?: (string | null) | Tenant;
2132
- order: string | Order;
2133
- status: 'requested' | 'processing' | 'shipped' | 'completed' | 'rejected';
2134
- reason?: ('wrong_size' | 'wrong_color' | 'defective' | 'other') | null;
2135
- /**
2136
- * Detailed exchange reason
2137
- */
2138
- reasonDetail?: string | null;
2139
- shippingFee?: number | null;
2140
- /**
2141
- * Internal notes
2142
- */
2143
- adminNotes?: string | null;
2144
- completedAt?: string | null;
2145
- exchangeProducts?: {
2146
- docs?: (string | ExchangeProduct)[];
2147
- hasNextPage?: boolean;
2148
- totalDocs?: number;
2149
- };
2150
- metadata?: {
2151
- [k: string]: unknown;
2152
- } | unknown[] | string | number | boolean | null;
2153
- updatedAt: string;
2154
- createdAt: string;
2155
- }
2156
- /**
2157
- * This interface was referenced by `Config`'s JSON-Schema
2158
- * via the `definition` "exchange-products".
2159
- */
2160
- interface ExchangeProduct {
2161
- id: string;
2162
- tenant?: (string | null) | Tenant;
2163
- exchange: string | Exchange;
2164
- order: string | Order;
2165
- orderProduct: string | OrderProduct;
2293
+ orderItem: string | OrderItem;
2166
2294
  product: string | Product;
2167
2295
  variant?: (string | null) | ProductVariant;
2168
- option?: (string | null) | ProductOption;
2169
2296
  quantity: number;
2170
- /**
2171
- * New variant to exchange to
2172
- */
2173
- newVariant?: (string | null) | ProductVariant;
2174
- /**
2175
- * New option to exchange to
2176
- */
2177
- newOption?: (string | null) | ProductOption;
2178
- title?: string | null;
2297
+ productTitle?: string | null;
2179
2298
  updatedAt: string;
2180
2299
  createdAt: string;
2181
2300
  }
@@ -2208,25 +2327,43 @@ interface Cart {
2208
2327
  id: string;
2209
2328
  tenant?: (string | null) | Tenant;
2210
2329
  customer?: (string | null) | Customer;
2211
- status: 'active' | 'completed' | 'abandoned';
2330
+ /**
2331
+ * Guest checkout email
2332
+ */
2333
+ email?: string | null;
2212
2334
  shippingAddress?: {
2213
2335
  recipientName?: string | null;
2214
2336
  phone?: string | null;
2215
2337
  postalCode?: string | null;
2216
- address1?: string | null;
2217
- address2?: string | null;
2338
+ address?: string | null;
2339
+ detailAddress?: string | null;
2218
2340
  deliveryMessage?: string | null;
2219
2341
  };
2220
2342
  discountCode?: string | null;
2221
- itemsTotal?: number | null;
2222
- shippingFee?: number | null;
2223
- discountAmount?: number | null;
2224
- totalAmount?: number | null;
2343
+ /**
2344
+ * Customer note
2345
+ */
2346
+ customerNote?: string | null;
2225
2347
  items?: {
2226
2348
  docs?: (string | CartItem)[];
2227
2349
  hasNextPage?: boolean;
2228
2350
  totalDocs?: number;
2229
2351
  };
2352
+ status: 'active' | 'completed' | 'abandoned';
2353
+ currency?: string | null;
2354
+ subtotalAmount?: number | null;
2355
+ /**
2356
+ * Amount in KRW (won)
2357
+ */
2358
+ shippingAmount?: number | null;
2359
+ /**
2360
+ * Amount in KRW (won)
2361
+ */
2362
+ discountAmount?: number | null;
2363
+ totalAmount?: number | null;
2364
+ cartToken?: string | null;
2365
+ lastActivityAt?: string | null;
2366
+ abandonedAt?: string | null;
2230
2367
  expiresAt?: string | null;
2231
2368
  metadata?: {
2232
2369
  [k: string]: unknown;
@@ -2244,7 +2381,6 @@ interface CartItem {
2244
2381
  cart: string | Cart;
2245
2382
  product: string | Product;
2246
2383
  variant?: (string | null) | ProductVariant;
2247
- option?: (string | null) | ProductOption;
2248
2384
  quantity: number;
2249
2385
  /**
2250
2386
  * Price at the time of adding to cart
@@ -2264,7 +2400,7 @@ interface Discount {
2264
2400
  id: string;
2265
2401
  _order?: string | null;
2266
2402
  tenant?: (string | null) | Tenant;
2267
- type: 'percentage' | 'fixed_amount' | 'free_shipping' | 'tiered';
2403
+ discountType: 'percentage' | 'fixed_amount' | 'free_shipping' | 'tiered';
2268
2404
  /**
2269
2405
  * Internal name (e.g. New member 10% discount)
2270
2406
  */
@@ -2277,11 +2413,11 @@ interface Discount {
2277
2413
  /**
2278
2414
  * Internal description for admin reference
2279
2415
  */
2280
- description?: string | null;
2416
+ internalNote?: string | null;
2281
2417
  /**
2282
2418
  * Discount rate (%) or fixed amount
2283
2419
  */
2284
- value?: number | null;
2420
+ discountValue?: number | null;
2285
2421
  /**
2286
2422
  * Tiered discount rules (applied by order amount range)
2287
2423
  */
@@ -2294,41 +2430,48 @@ interface Discount {
2294
2430
  /**
2295
2431
  * Discount rate (%) or fixed amount
2296
2432
  */
2297
- value?: number | null;
2433
+ value: number;
2298
2434
  id?: string | null;
2299
2435
  }[] | null;
2300
2436
  /**
2301
- * Minimum order amount to apply
2437
+ * Amount in KRW (won)
2302
2438
  */
2303
2439
  minOrderAmount?: number | null;
2304
2440
  /**
2305
- * Max discount for percentage type
2441
+ * Amount in KRW (won)
2306
2442
  */
2307
2443
  maxDiscountAmount?: number | null;
2308
2444
  startsAt?: string | null;
2309
2445
  endsAt?: string | null;
2310
- /**
2311
- * Leave empty to apply to all products
2312
- */
2313
- applicableProducts?: (string | Product)[] | null;
2314
- /**
2315
- * Leave empty to apply to all categories
2316
- */
2317
- applicableCategories?: (string | ProductCategory)[] | null;
2446
+ customerSelection?: {
2447
+ type?: ('all' | 'included' | 'excluded') | null;
2448
+ customers?: (string | Customer)[] | null;
2449
+ customerGroups?: (string | CustomerGroup)[] | null;
2450
+ };
2451
+ productSelection?: {
2452
+ type?: ('all' | 'included' | 'excluded') | null;
2453
+ products?: (string | Product)[] | null;
2454
+ categories?: (string | ProductCategory)[] | null;
2455
+ };
2318
2456
  /**
2319
2457
  * Total usage limit (empty = unlimited)
2320
2458
  */
2321
- usageLimit?: number | null;
2322
- usageCount?: number | null;
2459
+ maxUses?: number | null;
2460
+ usesCount?: number | null;
2323
2461
  /**
2324
2462
  * Usage limit per customer (empty = unlimited)
2325
2463
  */
2326
- perCustomerLimit?: number | null;
2327
- customerGroups?: (string | CustomerGroup)[] | null;
2464
+ maxUsesPerCustomer?: number | null;
2465
+ discountMode?: ('code' | 'automatic') | null;
2328
2466
  /**
2329
- * Auto-apply discount
2467
+ * First order only
2330
2468
  */
2331
- isAutoApply?: boolean | null;
2469
+ isFirstOrderOnly?: boolean | null;
2470
+ /**
2471
+ * Allow combining with other discounts
2472
+ */
2473
+ isCombinable?: boolean | null;
2474
+ allocationMethod?: ('across' | 'each') | null;
2332
2475
  /**
2333
2476
  * Discount priority (higher = first)
2334
2477
  */
@@ -2416,9 +2559,21 @@ interface Post {
2416
2559
  customer?: (string | null) | Customer;
2417
2560
  isFeatured?: boolean | null;
2418
2561
  /**
2419
- * Read time (minutes)
2562
+ * Reading time (minutes)
2563
+ */
2564
+ readingMinutes?: number | null;
2565
+ /**
2566
+ * OG/Twitter excerpt (280 chars)
2420
2567
  */
2421
- readTime?: number | null;
2568
+ excerpt?: string | null;
2569
+ canonicalUrl?: string | null;
2570
+ visibility?: ('public' | 'members' | 'paid') | null;
2571
+ scheduledAt?: string | null;
2572
+ featuredUntil?: string | null;
2573
+ /**
2574
+ * Related posts
2575
+ */
2576
+ relatedPosts?: (string | Post)[] | null;
2422
2577
  metadata?: {
2423
2578
  [k: string]: unknown;
2424
2579
  } | unknown[] | string | number | boolean | null;
@@ -2449,7 +2604,7 @@ interface PostAuthor {
2449
2604
  hasNextPage?: boolean;
2450
2605
  totalDocs?: number;
2451
2606
  };
2452
- status?: ('active' | 'inactive') | null;
2607
+ isActive?: boolean | null;
2453
2608
  metadata?: {
2454
2609
  [k: string]: unknown;
2455
2610
  } | unknown[] | string | number | boolean | null;
@@ -2520,7 +2675,7 @@ interface Document {
2520
2675
  * Short summary for listing/cards
2521
2676
  */
2522
2677
  description?: string | null;
2523
- content: {
2678
+ content?: {
2524
2679
  root: {
2525
2680
  type: string;
2526
2681
  children: {
@@ -2534,7 +2689,7 @@ interface Document {
2534
2689
  version: number;
2535
2690
  };
2536
2691
  [k: string]: unknown;
2537
- };
2692
+ } | null;
2538
2693
  videos?: (string | Video)[] | null;
2539
2694
  /**
2540
2695
  * Document version (e.g. 1.0, 1.1, 2.0)
@@ -2543,11 +2698,11 @@ interface Document {
2543
2698
  /**
2544
2699
  * Effective date
2545
2700
  */
2546
- effectiveDate?: string | null;
2701
+ effectiveAt?: string | null;
2547
2702
  /**
2548
2703
  * Expiry date (optional)
2549
2704
  */
2550
- expiryDate?: string | null;
2705
+ expiresAt?: string | null;
2551
2706
  /**
2552
2707
  * Changelog (differences from previous version)
2553
2708
  */
@@ -2555,12 +2710,12 @@ interface Document {
2555
2710
  /**
2556
2711
  * Document that requires user agreement
2557
2712
  */
2558
- isRequired?: boolean | null;
2713
+ requiresAgreement?: boolean | null;
2559
2714
  /**
2560
- * Tags for search (e.g. GDPR, CCPA)
2715
+ * Keywords for search (e.g. GDPR, CCPA)
2561
2716
  */
2562
- tags?: {
2563
- tag?: string | null;
2717
+ keywords?: {
2718
+ keyword?: string | null;
2564
2719
  id?: string | null;
2565
2720
  }[] | null;
2566
2721
  seo?: {
@@ -2601,7 +2756,13 @@ interface Document {
2601
2756
  generateSlug?: boolean | null;
2602
2757
  slug?: string | null;
2603
2758
  type?: (string | null) | DocumentType;
2604
- category?: (string | null) | DocumentCategory;
2759
+ categories?: (string | DocumentCategory)[] | null;
2760
+ jurisdiction?: string | null;
2761
+ language?: string | null;
2762
+ /**
2763
+ * Document that supersedes this one
2764
+ */
2765
+ supersededBy?: (string | null) | Document;
2605
2766
  thumbnail?: (string | null) | Image;
2606
2767
  images?: (string | Image)[] | null;
2607
2768
  publishedAt?: string | null;
@@ -2679,7 +2840,7 @@ interface Playlist {
2679
2840
  videos?: (string | Video)[] | null;
2680
2841
  categories?: (string | PlaylistCategory)[] | null;
2681
2842
  tags?: (string | PlaylistTag)[] | null;
2682
- musics?: {
2843
+ tracks?: {
2683
2844
  docs?: (string | Music)[];
2684
2845
  hasNextPage?: boolean;
2685
2846
  totalDocs?: number;
@@ -2717,6 +2878,8 @@ interface Playlist {
2717
2878
  };
2718
2879
  };
2719
2880
  thumbnail?: (string | null) | Image;
2881
+ coverArt?: (string | null) | Image;
2882
+ isCollaborative?: boolean | null;
2720
2883
  /**
2721
2884
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2722
2885
  */
@@ -2725,10 +2888,6 @@ interface Playlist {
2725
2888
  status?: ('draft' | 'published' | 'archived') | null;
2726
2889
  publishedAt?: string | null;
2727
2890
  isFeatured?: boolean | null;
2728
- /**
2729
- * Total duration (seconds)
2730
- */
2731
- totalDuration?: number | null;
2732
2891
  metadata?: {
2733
2892
  [k: string]: unknown;
2734
2893
  } | unknown[] | string | number | boolean | null;
@@ -2792,11 +2951,16 @@ interface PlaylistTag {
2792
2951
  */
2793
2952
  interface Music {
2794
2953
  id: string;
2795
- _musics_musics_order?: string | null;
2954
+ _musics_tracks_order?: string | null;
2796
2955
  _order?: string | null;
2797
2956
  tenant?: (string | null) | Tenant;
2798
2957
  playlist: string | Playlist;
2799
- url: string;
2958
+ sourceUrl?: string | null;
2959
+ /**
2960
+ * Provider (e.g. youtube, soundcloud)
2961
+ */
2962
+ sourceProvider?: string | null;
2963
+ sourceId?: string | null;
2800
2964
  /**
2801
2965
  * Auto-filled from YouTube
2802
2966
  */
@@ -2834,17 +2998,23 @@ interface Music {
2834
2998
  generateSlug?: boolean | null;
2835
2999
  slug?: string | null;
2836
3000
  thumbnail?: (string | null) | Image;
2837
- status?: ('active' | 'inactive') | null;
3001
+ status?: ('draft' | 'published' | 'archived') | null;
2838
3002
  isFeatured?: boolean | null;
2839
3003
  publishedAt?: string | null;
2840
3004
  /**
2841
3005
  * Duration in seconds (auto-filled)
2842
3006
  */
2843
- duration?: number | null;
2844
- isValid?: boolean | null;
3007
+ durationSeconds?: number | null;
3008
+ isEmbeddable?: boolean | null;
2845
3009
  metadata?: {
2846
3010
  [k: string]: unknown;
2847
3011
  } | unknown[] | string | number | boolean | null;
3012
+ /**
3013
+ * ISRC
3014
+ */
3015
+ isrc?: string | null;
3016
+ isExplicit?: boolean | null;
3017
+ previewUrl?: string | null;
2848
3018
  updatedAt: string;
2849
3019
  createdAt: string;
2850
3020
  deletedAt?: string | null;
@@ -2952,6 +3122,7 @@ interface Gallery {
2952
3122
  image?: (string | null) | Image;
2953
3123
  };
2954
3124
  };
3125
+ coverLayout?: ('grid' | 'masonry' | 'carousel' | 'justified') | null;
2955
3126
  /**
2956
3127
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2957
3128
  */
@@ -3081,7 +3252,11 @@ interface Link {
3081
3252
  generateSlug?: boolean | null;
3082
3253
  slug?: string | null;
3083
3254
  type?: ('external' | 'social' | 'internal') | null;
3084
- thumbnail?: (string | null) | Image;
3255
+ icon?: (string | null) | Image;
3256
+ publishedAt?: string | null;
3257
+ platform?: string | null;
3258
+ opensInNewTab?: boolean | null;
3259
+ expiresAt?: string | null;
3085
3260
  status?: ('draft' | 'published' | 'archived') | null;
3086
3261
  isFeatured?: boolean | null;
3087
3262
  metadata?: {
@@ -3284,7 +3459,7 @@ interface CanvasNodeType {
3284
3459
  /**
3285
3460
  * Display node with transparent background
3286
3461
  */
3287
- transparentBackground?: boolean | null;
3462
+ hasTransparentBackground?: boolean | null;
3288
3463
  /**
3289
3464
  * Define custom fields to display on node
3290
3465
  */
@@ -3343,7 +3518,7 @@ interface CanvasEdgeType {
3343
3518
  description?: string | null;
3344
3519
  color?: string | null;
3345
3520
  strokeWidth?: number | null;
3346
- animated?: boolean | null;
3521
+ isAnimated?: boolean | null;
3347
3522
  lineStyle?: ('default' | 'step' | 'smoothstep' | 'bezier') | null;
3348
3523
  markerStart?: ('none' | 'arrow' | 'arrowclosed') | null;
3349
3524
  markerEnd?: ('none' | 'arrow' | 'arrowclosed') | null;
@@ -3400,6 +3575,7 @@ interface Thread {
3400
3575
  hasNextPage?: boolean;
3401
3576
  totalDocs?: number;
3402
3577
  };
3578
+ status?: ('draft' | 'published' | 'archived') | null;
3403
3579
  /**
3404
3580
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3405
3581
  */
@@ -3413,7 +3589,14 @@ interface Thread {
3413
3589
  reactionCount?: number | null;
3414
3590
  reportCount?: number | null;
3415
3591
  isPinned?: boolean | null;
3416
- allowComments?: boolean | null;
3592
+ allowsComments?: boolean | null;
3593
+ visibility?: ('visible' | 'hidden') | null;
3594
+ /**
3595
+ * Lock comments
3596
+ */
3597
+ isLocked?: boolean | null;
3598
+ lastActivityAt?: string | null;
3599
+ lastCommentBy?: (string | null) | Customer;
3417
3600
  isFeatured?: boolean | null;
3418
3601
  publishedAt?: string | null;
3419
3602
  metadata?: {
@@ -3457,14 +3640,18 @@ interface Comment {
3457
3640
  tenant?: (string | null) | Tenant;
3458
3641
  thread: string | Thread;
3459
3642
  customer: string | Customer;
3460
- content: string;
3643
+ body?: string | null;
3461
3644
  parent?: (string | null) | Comment;
3462
3645
  depth?: number | null;
3463
- rootId?: string | null;
3464
- status?: ('published' | 'hidden' | 'reported') | null;
3646
+ rootComment?: (string | null) | Comment;
3647
+ status?: ('published' | 'hidden' | 'removed') | null;
3648
+ moderationStatus?: ('pending' | 'approved' | 'rejected' | 'reported') | null;
3649
+ visibility?: ('visible' | 'hidden' | 'removed') | null;
3650
+ editedAt?: string | null;
3465
3651
  isEdited?: boolean | null;
3466
3652
  reactionCount?: number | null;
3467
3653
  reportCount?: number | null;
3654
+ replyCount?: number | null;
3468
3655
  metadata?: {
3469
3656
  [k: string]: unknown;
3470
3657
  } | unknown[] | string | number | boolean | null;
@@ -3544,6 +3731,12 @@ interface Report {
3544
3731
  customer: string | Customer;
3545
3732
  reason: 'spam' | 'harassment' | 'inappropriate' | 'off-topic' | 'other';
3546
3733
  reasonDetail?: string | null;
3734
+ moderationStatus?: ('pending' | 'reviewed' | 'resolved' | 'dismissed') | null;
3735
+ /**
3736
+ * Resolution notes
3737
+ */
3738
+ resolution?: string | null;
3739
+ reviewedAt?: string | null;
3547
3740
  updatedAt: string;
3548
3741
  createdAt: string;
3549
3742
  }
@@ -3560,7 +3753,15 @@ interface CommunityBan {
3560
3753
  */
3561
3754
  bannedUntil?: string | null;
3562
3755
  isPermanent: boolean;
3563
- reason?: string | null;
3756
+ reason?: ('spam' | 'harassment' | 'ban_evasion' | 'repeated_violations' | 'other') | null;
3757
+ /**
3758
+ * Additional context (optional)
3759
+ */
3760
+ reasonDetail?: string | null;
3761
+ /**
3762
+ * Related report
3763
+ */
3764
+ sourceReport?: (string | null) | Report;
3564
3765
  /**
3565
3766
  * Admin who issued the ban (auto-set)
3566
3767
  */
@@ -3581,7 +3782,7 @@ interface Form {
3581
3782
  * Short summary for listing/cards
3582
3783
  */
3583
3784
  description?: string | null;
3584
- status?: ('active' | 'inactive') | null;
3785
+ isActive?: boolean | null;
3585
3786
  /**
3586
3787
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3587
3788
  */
@@ -3819,6 +4020,9 @@ interface PayloadLockedDocument {
3819
4020
  } | null) | ({
3820
4021
  relationTo: 'product-options';
3821
4022
  value: string | ProductOption;
4023
+ } | null) | ({
4024
+ relationTo: 'product-option-values';
4025
+ value: string | ProductOptionValue;
3822
4026
  } | null) | ({
3823
4027
  relationTo: 'product-categories';
3824
4028
  value: string | ProductCategory;
@@ -3838,8 +4042,8 @@ interface PayloadLockedDocument {
3838
4042
  relationTo: 'orders';
3839
4043
  value: string | Order;
3840
4044
  } | null) | ({
3841
- relationTo: 'order-products';
3842
- value: string | OrderProduct;
4045
+ relationTo: 'order-items';
4046
+ value: string | OrderItem;
3843
4047
  } | null) | ({
3844
4048
  relationTo: 'transactions';
3845
4049
  value: string | Transaction;
@@ -3856,14 +4060,8 @@ interface PayloadLockedDocument {
3856
4060
  relationTo: 'returns';
3857
4061
  value: string | Return;
3858
4062
  } | null) | ({
3859
- relationTo: 'return-products';
3860
- value: string | ReturnProduct;
3861
- } | null) | ({
3862
- relationTo: 'exchanges';
3863
- value: string | Exchange;
3864
- } | null) | ({
3865
- relationTo: 'exchange-products';
3866
- value: string | ExchangeProduct;
4063
+ relationTo: 'return-items';
4064
+ value: string | ReturnItem;
3867
4065
  } | null) | ({
3868
4066
  relationTo: 'shipping-policies';
3869
4067
  value: string | ShippingPolicy;
@@ -4057,12 +4255,25 @@ interface UsersSelect<T extends boolean = true> {
4057
4255
  id?: T;
4058
4256
  };
4059
4257
  emailPreferences?: T | {
4060
- usageAlerts?: T;
4258
+ acceptsUsageAlerts?: T;
4061
4259
  };
4260
+ phone?: T;
4261
+ isPhoneVerified?: T;
4262
+ lastLoginAt?: T;
4263
+ lastLoginIp?: T;
4264
+ isSuspended?: T;
4265
+ suspendedAt?: T;
4266
+ suspendedReason?: T;
4267
+ timezone?: T;
4268
+ locale?: T;
4269
+ avatar?: T;
4270
+ anonymizedAt?: T;
4271
+ deletionScheduledAt?: T;
4062
4272
  authProvider?: T;
4063
4273
  googleSub?: T;
4064
4274
  updatedAt?: T;
4065
4275
  createdAt?: T;
4276
+ deletedAt?: T;
4066
4277
  email?: T;
4067
4278
  resetPasswordToken?: T;
4068
4279
  resetPasswordExpiration?: T;
@@ -4204,6 +4415,7 @@ interface AudiencesSelect<T extends boolean = true> {
4204
4415
  * via the `definition` "email-logs_select".
4205
4416
  */
4206
4417
  interface EmailLogsSelect<T extends boolean = true> {
4418
+ tenant?: T;
4207
4419
  to?: T;
4208
4420
  from?: T;
4209
4421
  subject?: T;
@@ -4211,6 +4423,11 @@ interface EmailLogsSelect<T extends boolean = true> {
4211
4423
  status?: T;
4212
4424
  sentAt?: T;
4213
4425
  error?: T;
4426
+ providerMessageId?: T;
4427
+ openedAt?: T;
4428
+ clickedAt?: T;
4429
+ bouncedAt?: T;
4430
+ recipientConsent?: T;
4214
4431
  updatedAt?: T;
4215
4432
  createdAt?: T;
4216
4433
  }
@@ -4220,12 +4437,16 @@ interface EmailLogsSelect<T extends boolean = true> {
4220
4437
  */
4221
4438
  interface TenantsSelect<T extends boolean = true> {
4222
4439
  name?: T;
4440
+ slug?: T;
4223
4441
  owner?: T;
4224
4442
  plan?: T;
4225
4443
  features?: T;
4226
- requireEmailVerification?: T;
4227
- requirePostApproval?: T;
4228
- devMode?: T;
4444
+ requiresEmailVerification?: T;
4445
+ requiresPostApproval?: T;
4446
+ isDevMode?: T;
4447
+ status?: T;
4448
+ trialEndsAt?: T;
4449
+ deletionScheduledAt?: T;
4229
4450
  cors?: T | {
4230
4451
  origin?: T;
4231
4452
  id?: T;
@@ -4233,14 +4454,17 @@ interface TenantsSelect<T extends boolean = true> {
4233
4454
  clientKey?: T;
4234
4455
  secretKeys?: T | {
4235
4456
  name?: T;
4236
- value?: T;
4457
+ keyHash?: T;
4458
+ prefix?: T;
4459
+ last4?: T;
4460
+ lastUsedAt?: T;
4237
4461
  id?: T;
4238
4462
  };
4239
4463
  webhooks?: T | {
4240
4464
  name?: T;
4241
4465
  url?: T;
4242
4466
  secret?: T;
4243
- enabled?: T;
4467
+ isEnabled?: T;
4244
4468
  id?: T;
4245
4469
  };
4246
4470
  members?: T;
@@ -4258,7 +4482,15 @@ interface TenantMetadataSelect<T extends boolean = true> {
4258
4482
  description?: T;
4259
4483
  keywords?: T;
4260
4484
  author?: T;
4261
- siteUrl?: T;
4485
+ url?: T;
4486
+ };
4487
+ businessInfo?: T | {
4488
+ businessRegistrationNumber?: T;
4489
+ businessName?: T;
4490
+ ceoName?: T;
4491
+ businessAddress?: T;
4492
+ businessEmail?: T;
4493
+ onlineSalesRegistrationNumber?: T;
4262
4494
  };
4263
4495
  branding?: T | {
4264
4496
  logo?: T;
@@ -4310,15 +4542,17 @@ interface TenantMetadataSelect<T extends boolean = true> {
4310
4542
  interface ApiUsageSelect<T extends boolean = true> {
4311
4543
  tenant?: T;
4312
4544
  month?: T;
4313
- count?: T;
4545
+ apiCallCount?: T;
4314
4546
  plan?: T;
4315
- limit?: T;
4316
- storageUsed?: T;
4317
- storageLimit?: T;
4318
- totalDocuments?: T;
4547
+ apiCallLimit?: T;
4548
+ storageUsedBytes?: T;
4549
+ storageLimitBytes?: T;
4550
+ documentCount?: T;
4319
4551
  videoCount?: T;
4320
4552
  videoMinutesUsed?: T;
4321
4553
  deliveryMinutesUsed?: T;
4554
+ aiGenerationCount?: T;
4555
+ snapshottedAt?: T;
4322
4556
  updatedAt?: T;
4323
4557
  createdAt?: T;
4324
4558
  }
@@ -4336,7 +4570,10 @@ interface SubscriptionsSelect<T extends boolean = true> {
4336
4570
  provider?: T;
4337
4571
  currentPeriodStart?: T;
4338
4572
  currentPeriodEnd?: T;
4339
- nextBillingDate?: T;
4573
+ trialStartAt?: T;
4574
+ trialEndAt?: T;
4575
+ endedAt?: T;
4576
+ pastDueAt?: T;
4340
4577
  billingKey?: T;
4341
4578
  customerKey?: T;
4342
4579
  cardInfo?: T | {
@@ -4344,9 +4581,9 @@ interface SubscriptionsSelect<T extends boolean = true> {
4344
4581
  number?: T;
4345
4582
  cardType?: T;
4346
4583
  };
4347
- polarSubscriptionId?: T;
4348
- polarCustomerId?: T;
4349
- polarProductId?: T;
4584
+ providerSubscriptionId?: T;
4585
+ providerCustomerId?: T;
4586
+ providerMetadata?: T;
4350
4587
  cancelAtPeriodEnd?: T;
4351
4588
  canceledAt?: T;
4352
4589
  cancelReason?: T;
@@ -4356,7 +4593,7 @@ interface SubscriptionsSelect<T extends boolean = true> {
4356
4593
  pendingPlanChange?: T | {
4357
4594
  targetPlan?: T;
4358
4595
  targetAmount?: T;
4359
- effectiveDate?: T;
4596
+ effectiveAt?: T;
4360
4597
  };
4361
4598
  updatedAt?: T;
4362
4599
  createdAt?: T;
@@ -4377,7 +4614,7 @@ interface BillingHistorySelect<T extends boolean = true> {
4377
4614
  billingCycle?: T;
4378
4615
  periodStart?: T;
4379
4616
  periodEnd?: T;
4380
- orderId?: T;
4617
+ invoiceNumber?: T;
4381
4618
  orderName?: T;
4382
4619
  paymentKey?: T;
4383
4620
  tossResponse?: T;
@@ -4488,8 +4725,6 @@ interface ProductsSelect<T extends boolean = true> {
4488
4725
  thumbnail?: T;
4489
4726
  images?: T;
4490
4727
  videos?: T;
4491
- price?: T;
4492
- compareAtPrice?: T;
4493
4728
  content?: T;
4494
4729
  variants?: T;
4495
4730
  options?: T;
@@ -4499,9 +4734,6 @@ interface ProductsSelect<T extends boolean = true> {
4499
4734
  shippingPolicy?: T;
4500
4735
  weight?: T;
4501
4736
  collections?: T;
4502
- sku?: T;
4503
- barcode?: T;
4504
- externalId?: T;
4505
4737
  minOrderQuantity?: T;
4506
4738
  maxOrderQuantity?: T;
4507
4739
  metadata?: T;
@@ -4522,6 +4754,9 @@ interface ProductsSelect<T extends boolean = true> {
4522
4754
  isSoldOut?: T;
4523
4755
  isFeatured?: T;
4524
4756
  publishedAt?: T;
4757
+ vendor?: T;
4758
+ productType?: T;
4759
+ handle?: T;
4525
4760
  updatedAt?: T;
4526
4761
  createdAt?: T;
4527
4762
  deletedAt?: T;
@@ -4536,17 +4771,19 @@ interface ProductVariantsSelect<T extends boolean = true> {
4536
4771
  tenant?: T;
4537
4772
  product?: T;
4538
4773
  title?: T;
4539
- description?: T;
4540
4774
  sku?: T;
4541
4775
  price?: T;
4776
+ compareAtPrice?: T;
4777
+ isUnlimited?: T;
4778
+ stock?: T;
4779
+ reservedStock?: T;
4542
4780
  barcode?: T;
4543
4781
  weight?: T;
4544
- isSoldOut?: T;
4545
- images?: T;
4782
+ requiresShipping?: T;
4546
4783
  externalId?: T;
4547
- status?: T;
4784
+ optionValues?: T;
4785
+ isActive?: T;
4548
4786
  metadata?: T;
4549
- productOptions?: T;
4550
4787
  updatedAt?: T;
4551
4788
  createdAt?: T;
4552
4789
  deletedAt?: T;
@@ -4556,20 +4793,28 @@ interface ProductVariantsSelect<T extends boolean = true> {
4556
4793
  * via the `definition` "product-options_select".
4557
4794
  */
4558
4795
  interface ProductOptionsSelect<T extends boolean = true> {
4559
- '_product-options_productOptions_order'?: T;
4560
4796
  '_product-options_options_order'?: T;
4561
4797
  _order?: T;
4562
4798
  tenant?: T;
4563
4799
  product?: T;
4564
- variant?: T;
4565
4800
  title?: T;
4566
- sku?: T;
4567
- stock?: T;
4568
- reservedStock?: T;
4569
- priceAdjustment?: T;
4570
- barcode?: T;
4571
- weight?: T;
4572
- externalId?: T;
4801
+ values?: T;
4802
+ updatedAt?: T;
4803
+ createdAt?: T;
4804
+ deletedAt?: T;
4805
+ }
4806
+ /**
4807
+ * This interface was referenced by `Config`'s JSON-Schema
4808
+ * via the `definition` "product-option-values_select".
4809
+ */
4810
+ interface ProductOptionValuesSelect<T extends boolean = true> {
4811
+ '_product-option-values_values_order'?: T;
4812
+ _order?: T;
4813
+ tenant?: T;
4814
+ option?: T;
4815
+ value?: T;
4816
+ generateSlug?: T;
4817
+ slug?: T;
4573
4818
  metadata?: T;
4574
4819
  updatedAt?: T;
4575
4820
  createdAt?: T;
@@ -4775,15 +5020,22 @@ interface BrandLogosSelect<T extends boolean = true> {
4775
5020
  interface OrdersSelect<T extends boolean = true> {
4776
5021
  tenant?: T;
4777
5022
  orderNumber?: T;
5023
+ cartToken?: T;
4778
5024
  status?: T;
4779
5025
  totalAmount?: T;
4780
5026
  discountCode?: T;
4781
5027
  discountAmount?: T;
4782
5028
  refundedAmount?: T;
4783
- shippingFee?: T;
5029
+ shippingAmount?: T;
5030
+ subtotalAmount?: T;
5031
+ taxAmount?: T;
4784
5032
  source?: T;
5033
+ currency?: T;
4785
5034
  adminNotes?: T;
4786
- customerNotes?: T;
5035
+ cancelReason?: T;
5036
+ canceledAt?: T;
5037
+ completedAt?: T;
5038
+ customerNote?: T;
4787
5039
  customer?: T;
4788
5040
  customerSnapshot?: T | {
4789
5041
  name?: T;
@@ -4794,33 +5046,39 @@ interface OrdersSelect<T extends boolean = true> {
4794
5046
  recipientName?: T;
4795
5047
  phone?: T;
4796
5048
  postalCode?: T;
4797
- address1?: T;
4798
- address2?: T;
5049
+ address?: T;
5050
+ detailAddress?: T;
4799
5051
  deliveryMessage?: T;
4800
5052
  };
4801
- products?: T;
5053
+ billingAddress?: T | {
5054
+ recipientName?: T;
5055
+ businessRegistrationNumber?: T;
5056
+ email?: T;
5057
+ phone?: T;
5058
+ address?: T;
5059
+ };
5060
+ items?: T;
4802
5061
  transactions?: T;
4803
5062
  fulfillments?: T;
4804
5063
  returns?: T;
4805
- exchanges?: T;
4806
5064
  metadata?: T;
4807
5065
  updatedAt?: T;
4808
5066
  createdAt?: T;
5067
+ deletedAt?: T;
4809
5068
  }
4810
5069
  /**
4811
5070
  * This interface was referenced by `Config`'s JSON-Schema
4812
- * via the `definition` "order-products_select".
5071
+ * via the `definition` "order-items_select".
4813
5072
  */
4814
- interface OrderProductsSelect<T extends boolean = true> {
5073
+ interface OrderItemsSelect<T extends boolean = true> {
4815
5074
  tenant?: T;
4816
5075
  order?: T;
4817
5076
  product?: T;
4818
5077
  variant?: T;
4819
- option?: T;
4820
5078
  quantity?: T;
4821
5079
  unitPrice?: T;
4822
5080
  totalPrice?: T;
4823
- title?: T;
5081
+ productTitle?: T;
4824
5082
  updatedAt?: T;
4825
5083
  createdAt?: T;
4826
5084
  }
@@ -4833,14 +5091,36 @@ interface TransactionsSelect<T extends boolean = true> {
4833
5091
  type?: T;
4834
5092
  status?: T;
4835
5093
  order?: T;
4836
- paymentId?: T;
5094
+ amount?: T;
4837
5095
  paymentMethod?: T;
5096
+ installmentMonths?: T;
5097
+ approvedAt?: T;
4838
5098
  receiptUrl?: T;
4839
- totalAmount?: T;
5099
+ pgPaymentId?: T;
5100
+ pgOrderId?: T;
5101
+ cashReceipt?: T | {
5102
+ issuanceType?: T;
5103
+ registrationNumber?: T;
5104
+ issueNumber?: T;
5105
+ issuedAt?: T;
5106
+ };
5107
+ cardInfo?: T | {
5108
+ brand?: T;
5109
+ last4?: T;
5110
+ expMonth?: T;
5111
+ expYear?: T;
5112
+ issuerCode?: T;
5113
+ type?: T;
5114
+ owner?: T;
5115
+ };
5116
+ failureCode?: T;
5117
+ failureMessage?: T;
4840
5118
  pgProvider?: T;
5119
+ retainUntil?: T;
4841
5120
  metadata?: T;
4842
5121
  updatedAt?: T;
4843
5122
  createdAt?: T;
5123
+ deletedAt?: T;
4844
5124
  }
4845
5125
  /**
4846
5126
  * This interface was referenced by `Config`'s JSON-Schema
@@ -4867,6 +5147,8 @@ interface FulfillmentsSelect<T extends boolean = true> {
4867
5147
  status?: T;
4868
5148
  carrier?: T;
4869
5149
  trackingNumber?: T;
5150
+ trackingUrl?: T;
5151
+ packedAt?: T;
4870
5152
  shippedAt?: T;
4871
5153
  deliveredAt?: T;
4872
5154
  items?: T;
@@ -4874,6 +5156,7 @@ interface FulfillmentsSelect<T extends boolean = true> {
4874
5156
  metadata?: T;
4875
5157
  updatedAt?: T;
4876
5158
  createdAt?: T;
5159
+ deletedAt?: T;
4877
5160
  }
4878
5161
  /**
4879
5162
  * This interface was referenced by `Config`'s JSON-Schema
@@ -4882,7 +5165,7 @@ interface FulfillmentsSelect<T extends boolean = true> {
4882
5165
  interface FulfillmentItemsSelect<T extends boolean = true> {
4883
5166
  tenant?: T;
4884
5167
  fulfillment?: T;
4885
- orderProduct?: T;
5168
+ orderItem?: T;
4886
5169
  quantity?: T;
4887
5170
  updatedAt?: T;
4888
5171
  createdAt?: T;
@@ -4893,11 +5176,14 @@ interface FulfillmentItemsSelect<T extends boolean = true> {
4893
5176
  */
4894
5177
  interface ReturnsSelect<T extends boolean = true> {
4895
5178
  tenant?: T;
5179
+ returnNumber?: T;
4896
5180
  order?: T;
5181
+ type?: T;
5182
+ exchangeOrder?: T;
4897
5183
  status?: T;
4898
5184
  reason?: T;
4899
5185
  reasonDetail?: T;
4900
- returnProducts?: T;
5186
+ items?: T;
4901
5187
  adminNotes?: T;
4902
5188
  completedAt?: T;
4903
5189
  refundReceiptUrl?: T;
@@ -4905,59 +5191,22 @@ interface ReturnsSelect<T extends boolean = true> {
4905
5191
  metadata?: T;
4906
5192
  updatedAt?: T;
4907
5193
  createdAt?: T;
5194
+ deletedAt?: T;
4908
5195
  }
4909
5196
  /**
4910
5197
  * This interface was referenced by `Config`'s JSON-Schema
4911
- * via the `definition` "return-products_select".
5198
+ * via the `definition` "return-items_select".
4912
5199
  */
4913
- interface ReturnProductsSelect<T extends boolean = true> {
5200
+ interface ReturnItemsSelect<T extends boolean = true> {
4914
5201
  tenant?: T;
4915
5202
  return?: T;
4916
5203
  order?: T;
4917
5204
  status?: T;
4918
- orderProduct?: T;
5205
+ orderItem?: T;
4919
5206
  product?: T;
4920
5207
  variant?: T;
4921
- option?: T;
4922
5208
  quantity?: T;
4923
- title?: T;
4924
- updatedAt?: T;
4925
- createdAt?: T;
4926
- }
4927
- /**
4928
- * This interface was referenced by `Config`'s JSON-Schema
4929
- * via the `definition` "exchanges_select".
4930
- */
4931
- interface ExchangesSelect<T extends boolean = true> {
4932
- tenant?: T;
4933
- order?: T;
4934
- status?: T;
4935
- reason?: T;
4936
- reasonDetail?: T;
4937
- shippingFee?: T;
4938
- adminNotes?: T;
4939
- completedAt?: T;
4940
- exchangeProducts?: T;
4941
- metadata?: T;
4942
- updatedAt?: T;
4943
- createdAt?: T;
4944
- }
4945
- /**
4946
- * This interface was referenced by `Config`'s JSON-Schema
4947
- * via the `definition` "exchange-products_select".
4948
- */
4949
- interface ExchangeProductsSelect<T extends boolean = true> {
4950
- tenant?: T;
4951
- exchange?: T;
4952
- order?: T;
4953
- orderProduct?: T;
4954
- product?: T;
4955
- variant?: T;
4956
- option?: T;
4957
- quantity?: T;
4958
- newVariant?: T;
4959
- newOption?: T;
4960
- title?: T;
5209
+ productTitle?: T;
4961
5210
  updatedAt?: T;
4962
5211
  createdAt?: T;
4963
5212
  }
@@ -4969,15 +5218,15 @@ interface ShippingPoliciesSelect<T extends boolean = true> {
4969
5218
  _order?: T;
4970
5219
  tenant?: T;
4971
5220
  title?: T;
4972
- baseFee?: T;
4973
- freeShippingThreshold?: T;
4974
- jejuExtraFee?: T;
4975
- islandExtraFee?: T;
5221
+ baseAmount?: T;
5222
+ freeShippingMinAmount?: T;
5223
+ jejuExtraAmount?: T;
5224
+ remoteAreaExtraAmount?: T;
4976
5225
  description?: T;
4977
5226
  generateSlug?: T;
4978
5227
  slug?: T;
4979
5228
  estimatedDays?: T;
4980
- status?: T;
5229
+ isActive?: T;
4981
5230
  isDefault?: T;
4982
5231
  metadata?: T;
4983
5232
  updatedAt?: T;
@@ -4996,28 +5245,70 @@ interface CustomersSelect<T extends boolean = true> {
4996
5245
  email?: T;
4997
5246
  phone?: T;
4998
5247
  groups?: T;
4999
- socialId?: T;
5248
+ providerUserId?: T;
5000
5249
  note?: T;
5001
5250
  birthDate?: T;
5002
5251
  gender?: T;
5003
5252
  orders?: T;
5004
5253
  addresses?: T;
5254
+ marketingConsent?: T | {
5255
+ email?: T | {
5256
+ isConsented?: T;
5257
+ consentedAt?: T;
5258
+ expiresAt?: T;
5259
+ unsubscribedAt?: T;
5260
+ };
5261
+ sms?: T | {
5262
+ isConsented?: T;
5263
+ consentedAt?: T;
5264
+ expiresAt?: T;
5265
+ unsubscribedAt?: T;
5266
+ };
5267
+ push?: T | {
5268
+ isConsented?: T;
5269
+ consentedAt?: T;
5270
+ expiresAt?: T;
5271
+ unsubscribedAt?: T;
5272
+ };
5273
+ consentSource?: T;
5274
+ };
5275
+ guardianConsent?: T | {
5276
+ hasGuardianConsent?: T;
5277
+ guardianName?: T;
5278
+ guardianPhone?: T;
5279
+ guardianConsentedAt?: T;
5280
+ };
5281
+ withdrawReason?: T;
5282
+ withdrawnAt?: T;
5283
+ retainUntil?: T;
5284
+ anonymizedAt?: T;
5005
5285
  hashedPassword?: T;
5006
5286
  salt?: T;
5007
5287
  verificationToken?: T;
5008
5288
  resetPasswordToken?: T;
5009
- resetPasswordExpiry?: T;
5010
- loginAttempts?: T;
5289
+ resetPasswordExpiresAt?: T;
5290
+ loginAttemptCount?: T;
5011
5291
  lockedUntil?: T;
5012
5292
  authProvider?: T;
5013
5293
  isGuest?: T;
5014
- isVerified?: T;
5015
- marketingConsent?: T;
5016
- consentedAt?: T;
5294
+ isEmailVerified?: T;
5017
5295
  lastLoginAt?: T;
5296
+ isMinor?: T;
5297
+ acceptsTos?: T;
5298
+ tosVersion?: T;
5299
+ defaultShippingAddress?: T;
5300
+ defaultBillingAddress?: T;
5301
+ totalOrderCount?: T;
5302
+ lifetimeValue?: T;
5303
+ firstOrderAt?: T;
5304
+ lastOrderAt?: T;
5305
+ threadCount?: T;
5306
+ commentCount?: T;
5307
+ reactionCount?: T;
5018
5308
  metadata?: T;
5019
5309
  updatedAt?: T;
5020
5310
  createdAt?: T;
5311
+ deletedAt?: T;
5021
5312
  }
5022
5313
  /**
5023
5314
  * This interface was referenced by `Config`'s JSON-Schema
@@ -5050,7 +5341,7 @@ interface CustomerGroupsSelect<T extends boolean = true> {
5050
5341
  description?: T;
5051
5342
  color?: T;
5052
5343
  image?: T;
5053
- status?: T;
5344
+ isActive?: T;
5054
5345
  metadata?: T;
5055
5346
  customers?: T;
5056
5347
  updatedAt?: T;
@@ -5064,21 +5355,27 @@ interface CustomerGroupsSelect<T extends boolean = true> {
5064
5355
  interface CartsSelect<T extends boolean = true> {
5065
5356
  tenant?: T;
5066
5357
  customer?: T;
5067
- status?: T;
5358
+ email?: T;
5068
5359
  shippingAddress?: T | {
5069
5360
  recipientName?: T;
5070
5361
  phone?: T;
5071
5362
  postalCode?: T;
5072
- address1?: T;
5073
- address2?: T;
5363
+ address?: T;
5364
+ detailAddress?: T;
5074
5365
  deliveryMessage?: T;
5075
5366
  };
5076
5367
  discountCode?: T;
5077
- itemsTotal?: T;
5078
- shippingFee?: T;
5368
+ customerNote?: T;
5369
+ items?: T;
5370
+ status?: T;
5371
+ currency?: T;
5372
+ subtotalAmount?: T;
5373
+ shippingAmount?: T;
5079
5374
  discountAmount?: T;
5080
5375
  totalAmount?: T;
5081
- items?: T;
5376
+ cartToken?: T;
5377
+ lastActivityAt?: T;
5378
+ abandonedAt?: T;
5082
5379
  expiresAt?: T;
5083
5380
  metadata?: T;
5084
5381
  updatedAt?: T;
@@ -5093,7 +5390,6 @@ interface CartItemsSelect<T extends boolean = true> {
5093
5390
  cart?: T;
5094
5391
  product?: T;
5095
5392
  variant?: T;
5096
- option?: T;
5097
5393
  quantity?: T;
5098
5394
  unitPrice?: T;
5099
5395
  metadata?: T;
@@ -5107,12 +5403,12 @@ interface CartItemsSelect<T extends boolean = true> {
5107
5403
  interface DiscountsSelect<T extends boolean = true> {
5108
5404
  _order?: T;
5109
5405
  tenant?: T;
5110
- type?: T;
5406
+ discountType?: T;
5111
5407
  title?: T;
5112
5408
  code?: T;
5113
5409
  isActive?: T;
5114
- description?: T;
5115
- value?: T;
5410
+ internalNote?: T;
5411
+ discountValue?: T;
5116
5412
  tiers?: T | {
5117
5413
  minAmount?: T;
5118
5414
  discountType?: T;
@@ -5123,13 +5419,23 @@ interface DiscountsSelect<T extends boolean = true> {
5123
5419
  maxDiscountAmount?: T;
5124
5420
  startsAt?: T;
5125
5421
  endsAt?: T;
5126
- applicableProducts?: T;
5127
- applicableCategories?: T;
5128
- usageLimit?: T;
5129
- usageCount?: T;
5130
- perCustomerLimit?: T;
5131
- customerGroups?: T;
5132
- isAutoApply?: T;
5422
+ customerSelection?: T | {
5423
+ type?: T;
5424
+ customers?: T;
5425
+ customerGroups?: T;
5426
+ };
5427
+ productSelection?: T | {
5428
+ type?: T;
5429
+ products?: T;
5430
+ categories?: T;
5431
+ };
5432
+ maxUses?: T;
5433
+ usesCount?: T;
5434
+ maxUsesPerCustomer?: T;
5435
+ discountMode?: T;
5436
+ isFirstOrderOnly?: T;
5437
+ isCombinable?: T;
5438
+ allocationMethod?: T;
5133
5439
  priority?: T;
5134
5440
  metadata?: T;
5135
5441
  updatedAt?: T;
@@ -5169,7 +5475,13 @@ interface PostsSelect<T extends boolean = true> {
5169
5475
  publishedAt?: T;
5170
5476
  customer?: T;
5171
5477
  isFeatured?: T;
5172
- readTime?: T;
5478
+ readingMinutes?: T;
5479
+ excerpt?: T;
5480
+ canonicalUrl?: T;
5481
+ visibility?: T;
5482
+ scheduledAt?: T;
5483
+ featuredUntil?: T;
5484
+ relatedPosts?: T;
5173
5485
  metadata?: T;
5174
5486
  updatedAt?: T;
5175
5487
  createdAt?: T;
@@ -5190,7 +5502,7 @@ interface PostAuthorsSelect<T extends boolean = true> {
5190
5502
  bio?: T;
5191
5503
  email?: T;
5192
5504
  posts?: T;
5193
- status?: T;
5505
+ isActive?: T;
5194
5506
  metadata?: T;
5195
5507
  updatedAt?: T;
5196
5508
  createdAt?: T;
@@ -5244,12 +5556,12 @@ interface DocumentsSelect<T extends boolean = true> {
5244
5556
  content?: T;
5245
5557
  videos?: T;
5246
5558
  version?: T;
5247
- effectiveDate?: T;
5248
- expiryDate?: T;
5559
+ effectiveAt?: T;
5560
+ expiresAt?: T;
5249
5561
  changeLog?: T;
5250
- isRequired?: T;
5251
- tags?: T | {
5252
- tag?: T;
5562
+ requiresAgreement?: T;
5563
+ keywords?: T | {
5564
+ keyword?: T;
5253
5565
  id?: T;
5254
5566
  };
5255
5567
  seo?: T | {
@@ -5266,7 +5578,10 @@ interface DocumentsSelect<T extends boolean = true> {
5266
5578
  generateSlug?: T;
5267
5579
  slug?: T;
5268
5580
  type?: T;
5269
- category?: T;
5581
+ categories?: T;
5582
+ jurisdiction?: T;
5583
+ language?: T;
5584
+ supersededBy?: T;
5270
5585
  thumbnail?: T;
5271
5586
  images?: T;
5272
5587
  publishedAt?: T;
@@ -5324,7 +5639,7 @@ interface PlaylistsSelect<T extends boolean = true> {
5324
5639
  videos?: T;
5325
5640
  categories?: T;
5326
5641
  tags?: T;
5327
- musics?: T;
5642
+ tracks?: T;
5328
5643
  seo?: T | {
5329
5644
  title?: T;
5330
5645
  description?: T;
@@ -5337,12 +5652,13 @@ interface PlaylistsSelect<T extends boolean = true> {
5337
5652
  };
5338
5653
  };
5339
5654
  thumbnail?: T;
5655
+ coverArt?: T;
5656
+ isCollaborative?: T;
5340
5657
  generateSlug?: T;
5341
5658
  slug?: T;
5342
5659
  status?: T;
5343
5660
  publishedAt?: T;
5344
5661
  isFeatured?: T;
5345
- totalDuration?: T;
5346
5662
  metadata?: T;
5347
5663
  updatedAt?: T;
5348
5664
  createdAt?: T;
@@ -5389,11 +5705,13 @@ interface PlaylistTagsSelect<T extends boolean = true> {
5389
5705
  * via the `definition` "musics_select".
5390
5706
  */
5391
5707
  interface MusicsSelect<T extends boolean = true> {
5392
- _musics_musics_order?: T;
5708
+ _musics_tracks_order?: T;
5393
5709
  _order?: T;
5394
5710
  tenant?: T;
5395
5711
  playlist?: T;
5396
- url?: T;
5712
+ sourceUrl?: T;
5713
+ sourceProvider?: T;
5714
+ sourceId?: T;
5397
5715
  title?: T;
5398
5716
  description?: T;
5399
5717
  content?: T;
@@ -5408,9 +5726,12 @@ interface MusicsSelect<T extends boolean = true> {
5408
5726
  status?: T;
5409
5727
  isFeatured?: T;
5410
5728
  publishedAt?: T;
5411
- duration?: T;
5412
- isValid?: T;
5729
+ durationSeconds?: T;
5730
+ isEmbeddable?: T;
5413
5731
  metadata?: T;
5732
+ isrc?: T;
5733
+ isExplicit?: T;
5734
+ previewUrl?: T;
5414
5735
  updatedAt?: T;
5415
5736
  createdAt?: T;
5416
5737
  deletedAt?: T;
@@ -5475,6 +5796,7 @@ interface GalleriesSelect<T extends boolean = true> {
5475
5796
  image?: T;
5476
5797
  };
5477
5798
  };
5799
+ coverLayout?: T;
5478
5800
  generateSlug?: T;
5479
5801
  slug?: T;
5480
5802
  thumbnail?: T;
@@ -5555,7 +5877,11 @@ interface LinksSelect<T extends boolean = true> {
5555
5877
  generateSlug?: T;
5556
5878
  slug?: T;
5557
5879
  type?: T;
5558
- thumbnail?: T;
5880
+ icon?: T;
5881
+ publishedAt?: T;
5882
+ platform?: T;
5883
+ opensInNewTab?: T;
5884
+ expiresAt?: T;
5559
5885
  status?: T;
5560
5886
  isFeatured?: T;
5561
5887
  metadata?: T;
@@ -5650,7 +5976,7 @@ interface CanvasNodeTypesSelect<T extends boolean = true> {
5650
5976
  width?: T;
5651
5977
  height?: T;
5652
5978
  };
5653
- transparentBackground?: T;
5979
+ hasTransparentBackground?: T;
5654
5980
  fields?: T | {
5655
5981
  name?: T;
5656
5982
  label?: T;
@@ -5684,7 +6010,7 @@ interface CanvasEdgeTypesSelect<T extends boolean = true> {
5684
6010
  description?: T;
5685
6011
  color?: T;
5686
6012
  strokeWidth?: T;
5687
- animated?: T;
6013
+ isAnimated?: T;
5688
6014
  lineStyle?: T;
5689
6015
  markerStart?: T;
5690
6016
  markerEnd?: T;
@@ -5752,11 +6078,11 @@ interface VideosSelect<T extends boolean = true> {
5752
6078
  description?: T;
5753
6079
  content?: T;
5754
6080
  sourceLiveStream?: T;
5755
- status?: T;
5756
- duration?: T;
5757
- aspectRatio?: T;
6081
+ muxStatus?: T;
6082
+ durationSeconds?: T;
6083
+ muxAspectRatio?: T;
5758
6084
  maxResolution?: T;
5759
- videoQuality?: T;
6085
+ quality?: T;
5760
6086
  mp4Support?: T;
5761
6087
  muxAssetId?: T;
5762
6088
  muxPlaybackId?: T;
@@ -5780,6 +6106,13 @@ interface VideosSelect<T extends boolean = true> {
5780
6106
  categories?: T;
5781
6107
  tags?: T;
5782
6108
  metadata?: T;
6109
+ viewCount?: T;
6110
+ aspectRatio?: T;
6111
+ chapters?: T | {
6112
+ title?: T;
6113
+ startSeconds?: T;
6114
+ id?: T;
6115
+ };
5783
6116
  updatedAt?: T;
5784
6117
  createdAt?: T;
5785
6118
  deletedAt?: T;
@@ -5830,12 +6163,12 @@ interface LiveStreamsSelect<T extends boolean = true> {
5830
6163
  description?: T;
5831
6164
  scheduledAt?: T;
5832
6165
  latencyMode?: T;
5833
- reconnectWindow?: T;
5834
- status?: T;
6166
+ reconnectWindowSeconds?: T;
6167
+ muxStatus?: T;
5835
6168
  muxLiveStreamId?: T;
5836
6169
  muxPlaybackId?: T;
5837
6170
  streamKey?: T;
5838
- activeAssetId?: T;
6171
+ muxActiveAssetId?: T;
5839
6172
  recentAssetIds?: T;
5840
6173
  seo?: T | {
5841
6174
  title?: T;
@@ -5853,6 +6186,10 @@ interface LiveStreamsSelect<T extends boolean = true> {
5853
6186
  thumbnail?: T;
5854
6187
  isFeatured?: T;
5855
6188
  metadata?: T;
6189
+ startedAt?: T;
6190
+ endedAt?: T;
6191
+ peakViewerCount?: T;
6192
+ viewCount?: T;
5856
6193
  updatedAt?: T;
5857
6194
  createdAt?: T;
5858
6195
  deletedAt?: T;
@@ -5868,6 +6205,7 @@ interface ThreadsSelect<T extends boolean = true> {
5868
6205
  content?: T;
5869
6206
  categories?: T;
5870
6207
  comments?: T;
6208
+ status?: T;
5871
6209
  generateSlug?: T;
5872
6210
  slug?: T;
5873
6211
  thumbnail?: T;
@@ -5878,7 +6216,11 @@ interface ThreadsSelect<T extends boolean = true> {
5878
6216
  reactionCount?: T;
5879
6217
  reportCount?: T;
5880
6218
  isPinned?: T;
5881
- allowComments?: T;
6219
+ allowsComments?: T;
6220
+ visibility?: T;
6221
+ isLocked?: T;
6222
+ lastActivityAt?: T;
6223
+ lastCommentBy?: T;
5882
6224
  isFeatured?: T;
5883
6225
  publishedAt?: T;
5884
6226
  metadata?: T;
@@ -5894,14 +6236,18 @@ interface CommentsSelect<T extends boolean = true> {
5894
6236
  tenant?: T;
5895
6237
  thread?: T;
5896
6238
  customer?: T;
5897
- content?: T;
6239
+ body?: T;
5898
6240
  parent?: T;
5899
6241
  depth?: T;
5900
- rootId?: T;
6242
+ rootComment?: T;
5901
6243
  status?: T;
6244
+ moderationStatus?: T;
6245
+ visibility?: T;
6246
+ editedAt?: T;
5902
6247
  isEdited?: T;
5903
6248
  reactionCount?: T;
5904
6249
  reportCount?: T;
6250
+ replyCount?: T;
5905
6251
  metadata?: T;
5906
6252
  updatedAt?: T;
5907
6253
  createdAt?: T;
@@ -5978,6 +6324,9 @@ interface ReportsSelect<T extends boolean = true> {
5978
6324
  customer?: T;
5979
6325
  reason?: T;
5980
6326
  reasonDetail?: T;
6327
+ moderationStatus?: T;
6328
+ resolution?: T;
6329
+ reviewedAt?: T;
5981
6330
  updatedAt?: T;
5982
6331
  createdAt?: T;
5983
6332
  }
@@ -5991,6 +6340,8 @@ interface CommunityBansSelect<T extends boolean = true> {
5991
6340
  bannedUntil?: T;
5992
6341
  isPermanent?: T;
5993
6342
  reason?: T;
6343
+ reasonDetail?: T;
6344
+ sourceReport?: T;
5994
6345
  bannedBy?: T;
5995
6346
  updatedAt?: T;
5996
6347
  createdAt?: T;
@@ -6004,7 +6355,7 @@ interface FormsSelect<T extends boolean = true> {
6004
6355
  tenant?: T;
6005
6356
  title?: T;
6006
6357
  description?: T;
6007
- status?: T;
6358
+ isActive?: T;
6008
6359
  generateSlug?: T;
6009
6360
  slug?: T;
6010
6361
  fields?: T | {
@@ -6188,4 +6539,4 @@ declare module 'payload' {
6188
6539
  }
6189
6540
  }
6190
6541
 
6191
- export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a, ShippingPoliciesSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, MusicCategory as a6, MusicTag as a7, Gallery as a8, GalleryCategory as a9, SystemMediaSelect as aA, AudiencesSelect as aB, EmailLogsSelect as aC, TenantsSelect as aD, TenantMetadataSelect as aE, ApiUsageSelect as aF, SubscriptionsSelect as aG, BillingHistorySelect as aH, TenantLogosSelect as aI, ProductsSelect as aJ, ProductVariantsSelect as aK, ProductOptionsSelect as aL, ProductCategoriesSelect as aM, ProductTagsSelect as aN, ProductCollectionsSelect as aO, BrandsSelect as aP, BrandLogosSelect as aQ, OrdersSelect as aR, OrderProductsSelect as aS, TransactionsSelect as aT, OrderStatusLogsSelect as aU, FulfillmentsSelect as aV, FulfillmentItemsSelect as aW, ReturnsSelect as aX, ReturnProductsSelect as aY, ExchangesSelect as aZ, ExchangeProductsSelect as a_, GalleryTag as aa, GalleryItem as ab, Link as ac, LinkCategory as ad, LinkTag as ae, Canvase as af, CanvasCategory as ag, CanvasTag as ah, CanvasNodeType as ai, CanvasEdgeType as aj, Thread as ak, ThreadCategory as al, Comment as am, Reaction as an, ReactionType as ao, Bookmark as ap, Report as aq, CommunityBan as ar, FormSubmission as as, PayloadKv as at, PayloadLockedDocument as au, PayloadPreference as av, PayloadMigration as aw, UsersSelect as ax, FieldConfigsSelect as ay, ImagesSelect as az, Fulfillment as b, CustomersSelect as b0, CustomerAddressesSelect as b1, CustomerGroupsSelect as b2, CartsSelect as b3, CartItemsSelect as b4, DiscountsSelect as b5, PostsSelect as b6, PostAuthorsSelect as b7, PostCategoriesSelect as b8, PostTagsSelect as b9, CommentsSelect as bA, ReactionsSelect as bB, ReactionTypesSelect as bC, BookmarksSelect as bD, ThreadCategoriesSelect as bE, ReportsSelect as bF, CommunityBansSelect as bG, FormsSelect as bH, FormSubmissionsSelect as bI, PayloadKvSelect as bJ, PayloadLockedDocumentsSelect as bK, PayloadPreferencesSelect as bL, PayloadMigrationsSelect as bM, CollectionsWidget as bN, Auth as bO, DocumentsSelect as ba, DocumentCategoriesSelect as bb, DocumentTypesSelect as bc, PlaylistsSelect as bd, PlaylistCategoriesSelect as be, PlaylistTagsSelect as bf, MusicsSelect as bg, MusicCategoriesSelect as bh, MusicTagsSelect as bi, GalleriesSelect as bj, GalleryCategoriesSelect as bk, GalleryTagsSelect as bl, GalleryItemsSelect as bm, LinksSelect as bn, LinkCategoriesSelect as bo, LinkTagsSelect as bp, CanvasesSelect as bq, CanvasNodeTypesSelect as br, CanvasEdgeTypesSelect as bs, CanvasCategoriesSelect as bt, CanvasTagsSelect as bu, VideosSelect as bv, VideoCategoriesSelect as bw, VideoTagsSelect as bx, LiveStreamsSelect as by, ThreadsSelect as bz, Cart as c, CartItem as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, FieldConfig as j, Image as k, SystemMedia as l, EmailLog as m, TenantMetadatum as n, ApiUsage as o, Subscription as p, BillingHistory as q, TenantLogo as r, VideoCategory as s, VideoTag as t, ProductVariant as u, ProductOption as v, ProductCategory as w, ProductTag as x, Brand as y, ShippingPolicy as z };
6542
+ export type { DocumentType as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, EmailLog as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnItem 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, Video as V, Post as W, PostAuthor as X, PostCategory as Y, PostTag as Z, Document as _, OrderItem as a, CustomerAddressesSelect as a$, DocumentCategory as a0, Playlist as a1, PlaylistCategory as a2, PlaylistTag as a3, Music as a4, MusicCategory as a5, MusicTag as a6, Gallery as a7, GalleryCategory as a8, GalleryTag as a9, AudiencesSelect as aA, EmailLogsSelect as aB, TenantsSelect as aC, TenantMetadataSelect as aD, ApiUsageSelect as aE, SubscriptionsSelect as aF, BillingHistorySelect as aG, TenantLogosSelect as aH, ProductsSelect as aI, ProductVariantsSelect as aJ, ProductOptionsSelect as aK, ProductOptionValuesSelect as aL, ProductCategoriesSelect as aM, ProductTagsSelect as aN, ProductCollectionsSelect as aO, BrandsSelect as aP, BrandLogosSelect as aQ, OrdersSelect as aR, OrderItemsSelect as aS, TransactionsSelect as aT, OrderStatusLogsSelect as aU, FulfillmentsSelect as aV, FulfillmentItemsSelect as aW, ReturnsSelect as aX, ReturnItemsSelect as aY, ShippingPoliciesSelect as aZ, CustomersSelect as a_, GalleryItem as aa, Link as ab, LinkCategory as ac, LinkTag as ad, Canvase as ae, CanvasCategory as af, CanvasTag as ag, CanvasNodeType as ah, CanvasEdgeType as ai, Thread as aj, ThreadCategory as ak, Comment as al, Reaction as am, ReactionType as an, Bookmark as ao, Report as ap, CommunityBan as aq, FormSubmission as ar, PayloadKv as as, PayloadLockedDocument as at, PayloadPreference as au, PayloadMigration as av, UsersSelect as aw, FieldConfigsSelect as ax, ImagesSelect as ay, SystemMediaSelect as az, Fulfillment as b, CustomerGroupsSelect as b0, CartsSelect as b1, CartItemsSelect as b2, DiscountsSelect as b3, PostsSelect as b4, PostAuthorsSelect as b5, PostCategoriesSelect as b6, PostTagsSelect as b7, DocumentsSelect as b8, DocumentCategoriesSelect as b9, ReactionTypesSelect as bA, BookmarksSelect as bB, ThreadCategoriesSelect as bC, ReportsSelect as bD, CommunityBansSelect as bE, FormsSelect as bF, FormSubmissionsSelect as bG, PayloadKvSelect as bH, PayloadLockedDocumentsSelect as bI, PayloadPreferencesSelect as bJ, PayloadMigrationsSelect as bK, CollectionsWidget as bL, Auth as bM, DocumentTypesSelect as ba, PlaylistsSelect as bb, PlaylistCategoriesSelect as bc, PlaylistTagsSelect as bd, MusicsSelect as be, MusicCategoriesSelect as bf, MusicTagsSelect as bg, GalleriesSelect as bh, GalleryCategoriesSelect as bi, GalleryTagsSelect as bj, GalleryItemsSelect as bk, LinksSelect as bl, LinkCategoriesSelect as bm, LinkTagsSelect as bn, CanvasesSelect as bo, CanvasNodeTypesSelect as bp, CanvasEdgeTypesSelect as bq, CanvasCategoriesSelect as br, CanvasTagsSelect as bs, VideosSelect as bt, VideoCategoriesSelect as bu, VideoTagsSelect as bv, LiveStreamsSelect as bw, ThreadsSelect as bx, CommentsSelect as by, ReactionsSelect as bz, Cart as c, CartItem as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, Image as j, FieldConfig as k, SystemMedia as l, TenantMetadatum as m, ApiUsage as n, Subscription as o, BillingHistory as p, TenantLogo as q, VideoCategory as r, VideoTag as s, ProductVariant as t, ProductOptionValue as u, ProductOption as v, ProductCategory as w, ProductTag as x, Brand as y, ShippingPolicy as z };