@01.software/sdk 0.7.1 → 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,88 +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
- /**
1491
- * Sell without tracking inventory
1492
- */
1493
- isUnlimited?: boolean | null;
1494
- stock?: number | null;
1495
- /**
1496
- * Paid orders in transit (informational — stock alone gates new purchases)
1497
- */
1498
- reservedStock?: number | null;
1499
- /**
1500
- * Price adjustment (add/subtract from base price)
1501
- */
1502
- priceAdjustment?: number | null;
1503
- /**
1504
- * Option-specific barcode
1505
- */
1506
- barcode?: string | null;
1554
+ option: string | ProductOption;
1507
1555
  /**
1508
- * Option-specific weight (g)
1556
+ * Display label (e.g. Black, S)
1509
1557
  */
1510
- weight?: number | null;
1558
+ value: string;
1511
1559
  /**
1512
- * External system ID
1560
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1513
1561
  */
1514
- externalId?: string | null;
1562
+ generateSlug?: boolean | null;
1563
+ slug?: string | null;
1515
1564
  metadata?: {
1516
1565
  [k: string]: unknown;
1517
1566
  } | unknown[] | string | number | boolean | null;
@@ -1519,6 +1568,29 @@ interface ProductOption {
1519
1568
  createdAt: string;
1520
1569
  deletedAt?: string | null;
1521
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
+ }
1522
1594
  /**
1523
1595
  * This interface was referenced by `Config`'s JSON-Schema
1524
1596
  * via the `definition` "product-categories".
@@ -1673,21 +1745,21 @@ interface ShippingPolicy {
1673
1745
  */
1674
1746
  title: string;
1675
1747
  /**
1676
- * Base shipping fee
1748
+ * Amount in KRW (won)
1677
1749
  */
1678
- baseFee: number;
1750
+ baseAmount: number;
1679
1751
  /**
1680
- * Free shipping above this amount (empty = no free shipping)
1752
+ * Amount in KRW (won)
1681
1753
  */
1682
- freeShippingThreshold?: number | null;
1754
+ freeShippingMinAmount?: number | null;
1683
1755
  /**
1684
- * Extra fee for Jeju island
1756
+ * Amount in KRW (won)
1685
1757
  */
1686
- jejuExtraFee?: number | null;
1758
+ jejuExtraAmount?: number | null;
1687
1759
  /**
1688
- * Extra fee for remote islands
1760
+ * Amount in KRW (won)
1689
1761
  */
1690
- islandExtraFee?: number | null;
1762
+ remoteAreaExtraAmount?: number | null;
1691
1763
  /**
1692
1764
  * Short summary for listing/cards
1693
1765
  */
@@ -1701,7 +1773,7 @@ interface ShippingPolicy {
1701
1773
  * Estimated delivery days
1702
1774
  */
1703
1775
  estimatedDays?: number | null;
1704
- status?: ('active' | 'inactive') | null;
1776
+ isActive?: boolean | null;
1705
1777
  isDefault?: boolean | null;
1706
1778
  metadata?: {
1707
1779
  [k: string]: unknown;
@@ -1797,6 +1869,7 @@ interface Order {
1797
1869
  id: string;
1798
1870
  tenant?: (string | null) | Tenant;
1799
1871
  orderNumber: string;
1872
+ cartToken?: string | null;
1800
1873
  status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
1801
1874
  totalAmount?: number | null;
1802
1875
  discountCode?: string | null;
@@ -1806,18 +1879,27 @@ interface Order {
1806
1879
  */
1807
1880
  refundedAmount?: number | null;
1808
1881
  /**
1809
- * Shipping fee at time of order
1882
+ * Shipping amount at time of order
1810
1883
  */
1811
- shippingFee?: number | null;
1884
+ shippingAmount?: number | null;
1885
+ /**
1886
+ * Item subtotal (excl. shipping & discount)
1887
+ */
1888
+ subtotalAmount?: number | null;
1889
+ taxAmount?: number | null;
1812
1890
  source?: ('web' | 'app' | 'manual') | null;
1891
+ currency?: string | null;
1813
1892
  /**
1814
1893
  * Internal admin notes (not visible to customers)
1815
1894
  */
1816
1895
  adminNotes?: string | null;
1896
+ cancelReason?: string | null;
1897
+ canceledAt?: string | null;
1898
+ completedAt?: string | null;
1817
1899
  /**
1818
- * Notes left by customer at checkout
1900
+ * Note left by customer at checkout
1819
1901
  */
1820
- customerNotes?: string | null;
1902
+ customerNote?: string | null;
1821
1903
  customer?: (string | null) | Customer;
1822
1904
  /**
1823
1905
  * Customer info at the time of order
@@ -1831,12 +1913,19 @@ interface Order {
1831
1913
  recipientName?: string | null;
1832
1914
  phone?: string | null;
1833
1915
  postalCode?: string | null;
1834
- address1?: string | null;
1835
- address2?: string | null;
1916
+ address?: string | null;
1917
+ detailAddress?: string | null;
1836
1918
  deliveryMessage?: string | null;
1837
1919
  };
1838
- products?: {
1839
- 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)[];
1840
1929
  hasNextPage?: boolean;
1841
1930
  totalDocs?: number;
1842
1931
  };
@@ -1855,16 +1944,12 @@ interface Order {
1855
1944
  hasNextPage?: boolean;
1856
1945
  totalDocs?: number;
1857
1946
  };
1858
- exchanges?: {
1859
- docs?: (string | Exchange)[];
1860
- hasNextPage?: boolean;
1861
- totalDocs?: number;
1862
- };
1863
1947
  metadata?: {
1864
1948
  [k: string]: unknown;
1865
1949
  } | unknown[] | string | number | boolean | null;
1866
1950
  updatedAt: string;
1867
1951
  createdAt: string;
1952
+ deletedAt?: string | null;
1868
1953
  }
1869
1954
  /**
1870
1955
  * This interface was referenced by `Config`'s JSON-Schema
@@ -1882,7 +1967,7 @@ interface Customer {
1882
1967
  /**
1883
1968
  * External provider user ID
1884
1969
  */
1885
- socialId?: string | null;
1970
+ providerUserId?: string | null;
1886
1971
  /**
1887
1972
  * Internal notes (not visible to customers)
1888
1973
  */
@@ -1899,30 +1984,75 @@ interface Customer {
1899
1984
  hasNextPage?: boolean;
1900
1985
  totalDocs?: number;
1901
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;
1902
2027
  hashedPassword?: string | null;
1903
2028
  salt?: string | null;
1904
2029
  verificationToken?: string | null;
1905
2030
  resetPasswordToken?: string | null;
1906
- resetPasswordExpiry?: string | null;
1907
- loginAttempts?: number | null;
2031
+ resetPasswordExpiresAt?: string | null;
2032
+ loginAttemptCount?: number | null;
1908
2033
  lockedUntil?: string | null;
1909
2034
  authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
1910
2035
  isGuest?: boolean | null;
1911
- isVerified?: boolean | null;
1912
- /**
1913
- * Marketing email consent
1914
- */
1915
- marketingConsent?: boolean | null;
1916
- /**
1917
- * Date marketing consent was given
1918
- */
1919
- consentedAt?: string | null;
2036
+ isEmailVerified?: boolean | null;
1920
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;
1921
2050
  metadata?: {
1922
2051
  [k: string]: unknown;
1923
2052
  } | unknown[] | string | number | boolean | null;
1924
2053
  updatedAt: string;
1925
2054
  createdAt: string;
2055
+ deletedAt?: string | null;
1926
2056
  collection: 'customers';
1927
2057
  }
1928
2058
  /**
@@ -1945,7 +2075,7 @@ interface CustomerGroup {
1945
2075
  description?: string | null;
1946
2076
  color?: string | null;
1947
2077
  image?: (string | null) | Image;
1948
- status?: ('active' | 'inactive') | null;
2078
+ isActive?: boolean | null;
1949
2079
  metadata?: {
1950
2080
  [k: string]: unknown;
1951
2081
  } | unknown[] | string | number | boolean | null;
@@ -1982,15 +2112,14 @@ interface CustomerAddress {
1982
2112
  }
1983
2113
  /**
1984
2114
  * This interface was referenced by `Config`'s JSON-Schema
1985
- * via the `definition` "order-products".
2115
+ * via the `definition` "order-items".
1986
2116
  */
1987
- interface OrderProduct {
2117
+ interface OrderItem {
1988
2118
  id: string;
1989
2119
  tenant?: (string | null) | Tenant;
1990
2120
  order: string | Order;
1991
2121
  product: string | Product;
1992
2122
  variant?: (string | null) | ProductVariant;
1993
- option?: (string | null) | ProductOption;
1994
2123
  quantity: number;
1995
2124
  /**
1996
2125
  * Price per unit at time of order
@@ -2000,7 +2129,7 @@ interface OrderProduct {
2000
2129
  * unitPrice × quantity
2001
2130
  */
2002
2131
  totalPrice: number;
2003
- title?: string | null;
2132
+ productTitle?: string | null;
2004
2133
  updatedAt: string;
2005
2134
  createdAt: string;
2006
2135
  }
@@ -2014,19 +2143,50 @@ interface Transaction {
2014
2143
  type: 'payment' | 'refund';
2015
2144
  status: 'pending' | 'paid' | 'failed' | 'canceled';
2016
2145
  order: string | Order;
2017
- paymentId?: string | null;
2146
+ amount?: number | null;
2018
2147
  paymentMethod?: string | null;
2148
+ /**
2149
+ * Installment months (0 = lump sum)
2150
+ */
2151
+ installmentMonths?: number | null;
2152
+ approvedAt?: string | null;
2019
2153
  receiptUrl?: string | null;
2020
- 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;
2021
2176
  /**
2022
- * Payment gateway provider (e.g. toss, stripe)
2177
+ * Payment gateway (e.g. toss, stripe)
2023
2178
  */
2024
2179
  pgProvider?: string | null;
2180
+ /**
2181
+ * Legal retention deadline (5 years, Electronic Financial Transactions Act)
2182
+ */
2183
+ retainUntil?: string | null;
2025
2184
  metadata?: {
2026
2185
  [k: string]: unknown;
2027
2186
  } | unknown[] | string | number | boolean | null;
2028
2187
  updatedAt: string;
2029
2188
  createdAt: string;
2189
+ deletedAt?: string | null;
2030
2190
  }
2031
2191
  /**
2032
2192
  * This interface was referenced by `Config`'s JSON-Schema
@@ -2038,10 +2198,15 @@ interface Fulfillment {
2038
2198
  order: string | Order;
2039
2199
  status: 'pending' | 'packed' | 'shipped' | 'delivered' | 'failed';
2040
2200
  /**
2041
- * Shipping carrier name (e.g. CJ Logistics, FedEx, UPS)
2201
+ * Carrier name (e.g. CJ Logistics, FedEx)
2042
2202
  */
2043
2203
  carrier?: string | null;
2044
2204
  trackingNumber?: string | null;
2205
+ /**
2206
+ * Tracking URL (auto-derived from carrier + trackingNumber)
2207
+ */
2208
+ trackingUrl?: string | null;
2209
+ packedAt?: string | null;
2045
2210
  shippedAt?: string | null;
2046
2211
  deliveredAt?: string | null;
2047
2212
  items?: {
@@ -2058,6 +2223,7 @@ interface Fulfillment {
2058
2223
  } | unknown[] | string | number | boolean | null;
2059
2224
  updatedAt: string;
2060
2225
  createdAt: string;
2226
+ deletedAt?: string | null;
2061
2227
  }
2062
2228
  /**
2063
2229
  * This interface was referenced by `Config`'s JSON-Schema
@@ -2067,7 +2233,7 @@ interface FulfillmentItem {
2067
2233
  id: string;
2068
2234
  tenant?: (string | null) | Tenant;
2069
2235
  fulfillment: string | Fulfillment;
2070
- orderProduct: string | OrderProduct;
2236
+ orderItem: string | OrderItem;
2071
2237
  quantity: number;
2072
2238
  updatedAt: string;
2073
2239
  createdAt: string;
@@ -2079,15 +2245,21 @@ interface FulfillmentItem {
2079
2245
  interface Return {
2080
2246
  id: string;
2081
2247
  tenant?: (string | null) | Tenant;
2248
+ returnNumber?: string | null;
2082
2249
  order: string | Order;
2250
+ type: 'refund' | 'exchange';
2251
+ /**
2252
+ * New order created for exchange
2253
+ */
2254
+ exchangeOrder?: (string | null) | Order;
2083
2255
  status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
2084
2256
  reason?: ('change_of_mind' | 'defective' | 'wrong_delivery' | 'damaged' | 'other') | null;
2085
2257
  /**
2086
2258
  * Detailed return reason
2087
2259
  */
2088
2260
  reasonDetail?: string | null;
2089
- returnProducts?: {
2090
- docs?: (string | ReturnProduct)[];
2261
+ items?: {
2262
+ docs?: (string | ReturnItem)[];
2091
2263
  hasNextPage?: boolean;
2092
2264
  totalDocs?: number;
2093
2265
  };
@@ -2106,80 +2278,23 @@ interface Return {
2106
2278
  } | unknown[] | string | number | boolean | null;
2107
2279
  updatedAt: string;
2108
2280
  createdAt: string;
2281
+ deletedAt?: string | null;
2109
2282
  }
2110
2283
  /**
2111
2284
  * This interface was referenced by `Config`'s JSON-Schema
2112
- * via the `definition` "return-products".
2285
+ * via the `definition` "return-items".
2113
2286
  */
2114
- interface ReturnProduct {
2287
+ interface ReturnItem {
2115
2288
  id: string;
2116
2289
  tenant?: (string | null) | Tenant;
2117
2290
  return: string | Return;
2118
2291
  order: string | Order;
2119
2292
  status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
2120
- orderProduct: string | OrderProduct;
2121
- product: string | Product;
2122
- variant: string | ProductVariant;
2123
- option: string | ProductOption;
2124
- quantity: number;
2125
- title?: string | null;
2126
- updatedAt: string;
2127
- createdAt: string;
2128
- }
2129
- /**
2130
- * This interface was referenced by `Config`'s JSON-Schema
2131
- * via the `definition` "exchanges".
2132
- */
2133
- interface Exchange {
2134
- id: string;
2135
- tenant?: (string | null) | Tenant;
2136
- order: string | Order;
2137
- status: 'requested' | 'processing' | 'shipped' | 'completed' | 'rejected';
2138
- reason?: ('wrong_size' | 'wrong_color' | 'defective' | 'other') | null;
2139
- /**
2140
- * Detailed exchange reason
2141
- */
2142
- reasonDetail?: string | null;
2143
- shippingFee?: number | null;
2144
- /**
2145
- * Internal notes
2146
- */
2147
- adminNotes?: string | null;
2148
- completedAt?: string | null;
2149
- exchangeProducts?: {
2150
- docs?: (string | ExchangeProduct)[];
2151
- hasNextPage?: boolean;
2152
- totalDocs?: number;
2153
- };
2154
- metadata?: {
2155
- [k: string]: unknown;
2156
- } | unknown[] | string | number | boolean | null;
2157
- updatedAt: string;
2158
- createdAt: string;
2159
- }
2160
- /**
2161
- * This interface was referenced by `Config`'s JSON-Schema
2162
- * via the `definition` "exchange-products".
2163
- */
2164
- interface ExchangeProduct {
2165
- id: string;
2166
- tenant?: (string | null) | Tenant;
2167
- exchange: string | Exchange;
2168
- order: string | Order;
2169
- orderProduct: string | OrderProduct;
2293
+ orderItem: string | OrderItem;
2170
2294
  product: string | Product;
2171
2295
  variant?: (string | null) | ProductVariant;
2172
- option?: (string | null) | ProductOption;
2173
2296
  quantity: number;
2174
- /**
2175
- * New variant to exchange to
2176
- */
2177
- newVariant?: (string | null) | ProductVariant;
2178
- /**
2179
- * New option to exchange to
2180
- */
2181
- newOption?: (string | null) | ProductOption;
2182
- title?: string | null;
2297
+ productTitle?: string | null;
2183
2298
  updatedAt: string;
2184
2299
  createdAt: string;
2185
2300
  }
@@ -2212,25 +2327,43 @@ interface Cart {
2212
2327
  id: string;
2213
2328
  tenant?: (string | null) | Tenant;
2214
2329
  customer?: (string | null) | Customer;
2215
- status: 'active' | 'completed' | 'abandoned';
2330
+ /**
2331
+ * Guest checkout email
2332
+ */
2333
+ email?: string | null;
2216
2334
  shippingAddress?: {
2217
2335
  recipientName?: string | null;
2218
2336
  phone?: string | null;
2219
2337
  postalCode?: string | null;
2220
- address1?: string | null;
2221
- address2?: string | null;
2338
+ address?: string | null;
2339
+ detailAddress?: string | null;
2222
2340
  deliveryMessage?: string | null;
2223
2341
  };
2224
2342
  discountCode?: string | null;
2225
- itemsTotal?: number | null;
2226
- shippingFee?: number | null;
2227
- discountAmount?: number | null;
2228
- totalAmount?: number | null;
2343
+ /**
2344
+ * Customer note
2345
+ */
2346
+ customerNote?: string | null;
2229
2347
  items?: {
2230
2348
  docs?: (string | CartItem)[];
2231
2349
  hasNextPage?: boolean;
2232
2350
  totalDocs?: number;
2233
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;
2234
2367
  expiresAt?: string | null;
2235
2368
  metadata?: {
2236
2369
  [k: string]: unknown;
@@ -2248,7 +2381,6 @@ interface CartItem {
2248
2381
  cart: string | Cart;
2249
2382
  product: string | Product;
2250
2383
  variant?: (string | null) | ProductVariant;
2251
- option?: (string | null) | ProductOption;
2252
2384
  quantity: number;
2253
2385
  /**
2254
2386
  * Price at the time of adding to cart
@@ -2268,7 +2400,7 @@ interface Discount {
2268
2400
  id: string;
2269
2401
  _order?: string | null;
2270
2402
  tenant?: (string | null) | Tenant;
2271
- type: 'percentage' | 'fixed_amount' | 'free_shipping' | 'tiered';
2403
+ discountType: 'percentage' | 'fixed_amount' | 'free_shipping' | 'tiered';
2272
2404
  /**
2273
2405
  * Internal name (e.g. New member 10% discount)
2274
2406
  */
@@ -2281,11 +2413,11 @@ interface Discount {
2281
2413
  /**
2282
2414
  * Internal description for admin reference
2283
2415
  */
2284
- description?: string | null;
2416
+ internalNote?: string | null;
2285
2417
  /**
2286
2418
  * Discount rate (%) or fixed amount
2287
2419
  */
2288
- value?: number | null;
2420
+ discountValue?: number | null;
2289
2421
  /**
2290
2422
  * Tiered discount rules (applied by order amount range)
2291
2423
  */
@@ -2298,41 +2430,48 @@ interface Discount {
2298
2430
  /**
2299
2431
  * Discount rate (%) or fixed amount
2300
2432
  */
2301
- value?: number | null;
2433
+ value: number;
2302
2434
  id?: string | null;
2303
2435
  }[] | null;
2304
2436
  /**
2305
- * Minimum order amount to apply
2437
+ * Amount in KRW (won)
2306
2438
  */
2307
2439
  minOrderAmount?: number | null;
2308
2440
  /**
2309
- * Max discount for percentage type
2441
+ * Amount in KRW (won)
2310
2442
  */
2311
2443
  maxDiscountAmount?: number | null;
2312
2444
  startsAt?: string | null;
2313
2445
  endsAt?: string | null;
2314
- /**
2315
- * Leave empty to apply to all products
2316
- */
2317
- applicableProducts?: (string | Product)[] | null;
2318
- /**
2319
- * Leave empty to apply to all categories
2320
- */
2321
- 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
+ };
2322
2456
  /**
2323
2457
  * Total usage limit (empty = unlimited)
2324
2458
  */
2325
- usageLimit?: number | null;
2326
- usageCount?: number | null;
2459
+ maxUses?: number | null;
2460
+ usesCount?: number | null;
2327
2461
  /**
2328
2462
  * Usage limit per customer (empty = unlimited)
2329
2463
  */
2330
- perCustomerLimit?: number | null;
2331
- customerGroups?: (string | CustomerGroup)[] | null;
2464
+ maxUsesPerCustomer?: number | null;
2465
+ discountMode?: ('code' | 'automatic') | null;
2466
+ /**
2467
+ * First order only
2468
+ */
2469
+ isFirstOrderOnly?: boolean | null;
2332
2470
  /**
2333
- * Auto-apply discount
2471
+ * Allow combining with other discounts
2334
2472
  */
2335
- isAutoApply?: boolean | null;
2473
+ isCombinable?: boolean | null;
2474
+ allocationMethod?: ('across' | 'each') | null;
2336
2475
  /**
2337
2476
  * Discount priority (higher = first)
2338
2477
  */
@@ -2420,9 +2559,21 @@ interface Post {
2420
2559
  customer?: (string | null) | Customer;
2421
2560
  isFeatured?: boolean | null;
2422
2561
  /**
2423
- * Read time (minutes)
2562
+ * Reading time (minutes)
2424
2563
  */
2425
- readTime?: number | null;
2564
+ readingMinutes?: number | null;
2565
+ /**
2566
+ * OG/Twitter excerpt (280 chars)
2567
+ */
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;
2426
2577
  metadata?: {
2427
2578
  [k: string]: unknown;
2428
2579
  } | unknown[] | string | number | boolean | null;
@@ -2453,7 +2604,7 @@ interface PostAuthor {
2453
2604
  hasNextPage?: boolean;
2454
2605
  totalDocs?: number;
2455
2606
  };
2456
- status?: ('active' | 'inactive') | null;
2607
+ isActive?: boolean | null;
2457
2608
  metadata?: {
2458
2609
  [k: string]: unknown;
2459
2610
  } | unknown[] | string | number | boolean | null;
@@ -2524,7 +2675,7 @@ interface Document {
2524
2675
  * Short summary for listing/cards
2525
2676
  */
2526
2677
  description?: string | null;
2527
- content: {
2678
+ content?: {
2528
2679
  root: {
2529
2680
  type: string;
2530
2681
  children: {
@@ -2538,7 +2689,7 @@ interface Document {
2538
2689
  version: number;
2539
2690
  };
2540
2691
  [k: string]: unknown;
2541
- };
2692
+ } | null;
2542
2693
  videos?: (string | Video)[] | null;
2543
2694
  /**
2544
2695
  * Document version (e.g. 1.0, 1.1, 2.0)
@@ -2547,11 +2698,11 @@ interface Document {
2547
2698
  /**
2548
2699
  * Effective date
2549
2700
  */
2550
- effectiveDate?: string | null;
2701
+ effectiveAt?: string | null;
2551
2702
  /**
2552
2703
  * Expiry date (optional)
2553
2704
  */
2554
- expiryDate?: string | null;
2705
+ expiresAt?: string | null;
2555
2706
  /**
2556
2707
  * Changelog (differences from previous version)
2557
2708
  */
@@ -2559,12 +2710,12 @@ interface Document {
2559
2710
  /**
2560
2711
  * Document that requires user agreement
2561
2712
  */
2562
- isRequired?: boolean | null;
2713
+ requiresAgreement?: boolean | null;
2563
2714
  /**
2564
- * Tags for search (e.g. GDPR, CCPA)
2715
+ * Keywords for search (e.g. GDPR, CCPA)
2565
2716
  */
2566
- tags?: {
2567
- tag?: string | null;
2717
+ keywords?: {
2718
+ keyword?: string | null;
2568
2719
  id?: string | null;
2569
2720
  }[] | null;
2570
2721
  seo?: {
@@ -2605,7 +2756,13 @@ interface Document {
2605
2756
  generateSlug?: boolean | null;
2606
2757
  slug?: string | null;
2607
2758
  type?: (string | null) | DocumentType;
2608
- 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;
2609
2766
  thumbnail?: (string | null) | Image;
2610
2767
  images?: (string | Image)[] | null;
2611
2768
  publishedAt?: string | null;
@@ -2683,7 +2840,7 @@ interface Playlist {
2683
2840
  videos?: (string | Video)[] | null;
2684
2841
  categories?: (string | PlaylistCategory)[] | null;
2685
2842
  tags?: (string | PlaylistTag)[] | null;
2686
- musics?: {
2843
+ tracks?: {
2687
2844
  docs?: (string | Music)[];
2688
2845
  hasNextPage?: boolean;
2689
2846
  totalDocs?: number;
@@ -2721,6 +2878,8 @@ interface Playlist {
2721
2878
  };
2722
2879
  };
2723
2880
  thumbnail?: (string | null) | Image;
2881
+ coverArt?: (string | null) | Image;
2882
+ isCollaborative?: boolean | null;
2724
2883
  /**
2725
2884
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2726
2885
  */
@@ -2729,10 +2888,6 @@ interface Playlist {
2729
2888
  status?: ('draft' | 'published' | 'archived') | null;
2730
2889
  publishedAt?: string | null;
2731
2890
  isFeatured?: boolean | null;
2732
- /**
2733
- * Total duration (seconds)
2734
- */
2735
- totalDuration?: number | null;
2736
2891
  metadata?: {
2737
2892
  [k: string]: unknown;
2738
2893
  } | unknown[] | string | number | boolean | null;
@@ -2796,11 +2951,16 @@ interface PlaylistTag {
2796
2951
  */
2797
2952
  interface Music {
2798
2953
  id: string;
2799
- _musics_musics_order?: string | null;
2954
+ _musics_tracks_order?: string | null;
2800
2955
  _order?: string | null;
2801
2956
  tenant?: (string | null) | Tenant;
2802
2957
  playlist: string | Playlist;
2803
- url: string;
2958
+ sourceUrl?: string | null;
2959
+ /**
2960
+ * Provider (e.g. youtube, soundcloud)
2961
+ */
2962
+ sourceProvider?: string | null;
2963
+ sourceId?: string | null;
2804
2964
  /**
2805
2965
  * Auto-filled from YouTube
2806
2966
  */
@@ -2838,17 +2998,23 @@ interface Music {
2838
2998
  generateSlug?: boolean | null;
2839
2999
  slug?: string | null;
2840
3000
  thumbnail?: (string | null) | Image;
2841
- status?: ('active' | 'inactive') | null;
3001
+ status?: ('draft' | 'published' | 'archived') | null;
2842
3002
  isFeatured?: boolean | null;
2843
3003
  publishedAt?: string | null;
2844
3004
  /**
2845
3005
  * Duration in seconds (auto-filled)
2846
3006
  */
2847
- duration?: number | null;
2848
- isValid?: boolean | null;
3007
+ durationSeconds?: number | null;
3008
+ isEmbeddable?: boolean | null;
2849
3009
  metadata?: {
2850
3010
  [k: string]: unknown;
2851
3011
  } | unknown[] | string | number | boolean | null;
3012
+ /**
3013
+ * ISRC
3014
+ */
3015
+ isrc?: string | null;
3016
+ isExplicit?: boolean | null;
3017
+ previewUrl?: string | null;
2852
3018
  updatedAt: string;
2853
3019
  createdAt: string;
2854
3020
  deletedAt?: string | null;
@@ -2956,6 +3122,7 @@ interface Gallery {
2956
3122
  image?: (string | null) | Image;
2957
3123
  };
2958
3124
  };
3125
+ coverLayout?: ('grid' | 'masonry' | 'carousel' | 'justified') | null;
2959
3126
  /**
2960
3127
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2961
3128
  */
@@ -3085,7 +3252,11 @@ interface Link {
3085
3252
  generateSlug?: boolean | null;
3086
3253
  slug?: string | null;
3087
3254
  type?: ('external' | 'social' | 'internal') | null;
3088
- 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;
3089
3260
  status?: ('draft' | 'published' | 'archived') | null;
3090
3261
  isFeatured?: boolean | null;
3091
3262
  metadata?: {
@@ -3288,7 +3459,7 @@ interface CanvasNodeType {
3288
3459
  /**
3289
3460
  * Display node with transparent background
3290
3461
  */
3291
- transparentBackground?: boolean | null;
3462
+ hasTransparentBackground?: boolean | null;
3292
3463
  /**
3293
3464
  * Define custom fields to display on node
3294
3465
  */
@@ -3347,7 +3518,7 @@ interface CanvasEdgeType {
3347
3518
  description?: string | null;
3348
3519
  color?: string | null;
3349
3520
  strokeWidth?: number | null;
3350
- animated?: boolean | null;
3521
+ isAnimated?: boolean | null;
3351
3522
  lineStyle?: ('default' | 'step' | 'smoothstep' | 'bezier') | null;
3352
3523
  markerStart?: ('none' | 'arrow' | 'arrowclosed') | null;
3353
3524
  markerEnd?: ('none' | 'arrow' | 'arrowclosed') | null;
@@ -3404,6 +3575,7 @@ interface Thread {
3404
3575
  hasNextPage?: boolean;
3405
3576
  totalDocs?: number;
3406
3577
  };
3578
+ status?: ('draft' | 'published' | 'archived') | null;
3407
3579
  /**
3408
3580
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3409
3581
  */
@@ -3417,7 +3589,14 @@ interface Thread {
3417
3589
  reactionCount?: number | null;
3418
3590
  reportCount?: number | null;
3419
3591
  isPinned?: boolean | null;
3420
- 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;
3421
3600
  isFeatured?: boolean | null;
3422
3601
  publishedAt?: string | null;
3423
3602
  metadata?: {
@@ -3461,14 +3640,18 @@ interface Comment {
3461
3640
  tenant?: (string | null) | Tenant;
3462
3641
  thread: string | Thread;
3463
3642
  customer: string | Customer;
3464
- content: string;
3643
+ body?: string | null;
3465
3644
  parent?: (string | null) | Comment;
3466
3645
  depth?: number | null;
3467
- rootId?: string | null;
3468
- 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;
3469
3651
  isEdited?: boolean | null;
3470
3652
  reactionCount?: number | null;
3471
3653
  reportCount?: number | null;
3654
+ replyCount?: number | null;
3472
3655
  metadata?: {
3473
3656
  [k: string]: unknown;
3474
3657
  } | unknown[] | string | number | boolean | null;
@@ -3548,6 +3731,12 @@ interface Report {
3548
3731
  customer: string | Customer;
3549
3732
  reason: 'spam' | 'harassment' | 'inappropriate' | 'off-topic' | 'other';
3550
3733
  reasonDetail?: string | null;
3734
+ moderationStatus?: ('pending' | 'reviewed' | 'resolved' | 'dismissed') | null;
3735
+ /**
3736
+ * Resolution notes
3737
+ */
3738
+ resolution?: string | null;
3739
+ reviewedAt?: string | null;
3551
3740
  updatedAt: string;
3552
3741
  createdAt: string;
3553
3742
  }
@@ -3564,7 +3753,15 @@ interface CommunityBan {
3564
3753
  */
3565
3754
  bannedUntil?: string | null;
3566
3755
  isPermanent: boolean;
3567
- 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;
3568
3765
  /**
3569
3766
  * Admin who issued the ban (auto-set)
3570
3767
  */
@@ -3585,7 +3782,7 @@ interface Form {
3585
3782
  * Short summary for listing/cards
3586
3783
  */
3587
3784
  description?: string | null;
3588
- status?: ('active' | 'inactive') | null;
3785
+ isActive?: boolean | null;
3589
3786
  /**
3590
3787
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3591
3788
  */
@@ -3823,6 +4020,9 @@ interface PayloadLockedDocument {
3823
4020
  } | null) | ({
3824
4021
  relationTo: 'product-options';
3825
4022
  value: string | ProductOption;
4023
+ } | null) | ({
4024
+ relationTo: 'product-option-values';
4025
+ value: string | ProductOptionValue;
3826
4026
  } | null) | ({
3827
4027
  relationTo: 'product-categories';
3828
4028
  value: string | ProductCategory;
@@ -3842,8 +4042,8 @@ interface PayloadLockedDocument {
3842
4042
  relationTo: 'orders';
3843
4043
  value: string | Order;
3844
4044
  } | null) | ({
3845
- relationTo: 'order-products';
3846
- value: string | OrderProduct;
4045
+ relationTo: 'order-items';
4046
+ value: string | OrderItem;
3847
4047
  } | null) | ({
3848
4048
  relationTo: 'transactions';
3849
4049
  value: string | Transaction;
@@ -3860,14 +4060,8 @@ interface PayloadLockedDocument {
3860
4060
  relationTo: 'returns';
3861
4061
  value: string | Return;
3862
4062
  } | null) | ({
3863
- relationTo: 'return-products';
3864
- value: string | ReturnProduct;
3865
- } | null) | ({
3866
- relationTo: 'exchanges';
3867
- value: string | Exchange;
3868
- } | null) | ({
3869
- relationTo: 'exchange-products';
3870
- value: string | ExchangeProduct;
4063
+ relationTo: 'return-items';
4064
+ value: string | ReturnItem;
3871
4065
  } | null) | ({
3872
4066
  relationTo: 'shipping-policies';
3873
4067
  value: string | ShippingPolicy;
@@ -4061,12 +4255,25 @@ interface UsersSelect<T extends boolean = true> {
4061
4255
  id?: T;
4062
4256
  };
4063
4257
  emailPreferences?: T | {
4064
- usageAlerts?: T;
4258
+ acceptsUsageAlerts?: T;
4065
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;
4066
4272
  authProvider?: T;
4067
4273
  googleSub?: T;
4068
4274
  updatedAt?: T;
4069
4275
  createdAt?: T;
4276
+ deletedAt?: T;
4070
4277
  email?: T;
4071
4278
  resetPasswordToken?: T;
4072
4279
  resetPasswordExpiration?: T;
@@ -4208,6 +4415,7 @@ interface AudiencesSelect<T extends boolean = true> {
4208
4415
  * via the `definition` "email-logs_select".
4209
4416
  */
4210
4417
  interface EmailLogsSelect<T extends boolean = true> {
4418
+ tenant?: T;
4211
4419
  to?: T;
4212
4420
  from?: T;
4213
4421
  subject?: T;
@@ -4215,6 +4423,11 @@ interface EmailLogsSelect<T extends boolean = true> {
4215
4423
  status?: T;
4216
4424
  sentAt?: T;
4217
4425
  error?: T;
4426
+ providerMessageId?: T;
4427
+ openedAt?: T;
4428
+ clickedAt?: T;
4429
+ bouncedAt?: T;
4430
+ recipientConsent?: T;
4218
4431
  updatedAt?: T;
4219
4432
  createdAt?: T;
4220
4433
  }
@@ -4224,12 +4437,16 @@ interface EmailLogsSelect<T extends boolean = true> {
4224
4437
  */
4225
4438
  interface TenantsSelect<T extends boolean = true> {
4226
4439
  name?: T;
4440
+ slug?: T;
4227
4441
  owner?: T;
4228
4442
  plan?: T;
4229
4443
  features?: T;
4230
- requireEmailVerification?: T;
4231
- requirePostApproval?: T;
4232
- devMode?: T;
4444
+ requiresEmailVerification?: T;
4445
+ requiresPostApproval?: T;
4446
+ isDevMode?: T;
4447
+ status?: T;
4448
+ trialEndsAt?: T;
4449
+ deletionScheduledAt?: T;
4233
4450
  cors?: T | {
4234
4451
  origin?: T;
4235
4452
  id?: T;
@@ -4237,14 +4454,17 @@ interface TenantsSelect<T extends boolean = true> {
4237
4454
  clientKey?: T;
4238
4455
  secretKeys?: T | {
4239
4456
  name?: T;
4240
- value?: T;
4457
+ keyHash?: T;
4458
+ prefix?: T;
4459
+ last4?: T;
4460
+ lastUsedAt?: T;
4241
4461
  id?: T;
4242
4462
  };
4243
4463
  webhooks?: T | {
4244
4464
  name?: T;
4245
4465
  url?: T;
4246
4466
  secret?: T;
4247
- enabled?: T;
4467
+ isEnabled?: T;
4248
4468
  id?: T;
4249
4469
  };
4250
4470
  members?: T;
@@ -4262,7 +4482,15 @@ interface TenantMetadataSelect<T extends boolean = true> {
4262
4482
  description?: T;
4263
4483
  keywords?: T;
4264
4484
  author?: T;
4265
- 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;
4266
4494
  };
4267
4495
  branding?: T | {
4268
4496
  logo?: T;
@@ -4314,15 +4542,17 @@ interface TenantMetadataSelect<T extends boolean = true> {
4314
4542
  interface ApiUsageSelect<T extends boolean = true> {
4315
4543
  tenant?: T;
4316
4544
  month?: T;
4317
- count?: T;
4545
+ apiCallCount?: T;
4318
4546
  plan?: T;
4319
- limit?: T;
4320
- storageUsed?: T;
4321
- storageLimit?: T;
4322
- totalDocuments?: T;
4547
+ apiCallLimit?: T;
4548
+ storageUsedBytes?: T;
4549
+ storageLimitBytes?: T;
4550
+ documentCount?: T;
4323
4551
  videoCount?: T;
4324
4552
  videoMinutesUsed?: T;
4325
4553
  deliveryMinutesUsed?: T;
4554
+ aiGenerationCount?: T;
4555
+ snapshottedAt?: T;
4326
4556
  updatedAt?: T;
4327
4557
  createdAt?: T;
4328
4558
  }
@@ -4340,7 +4570,10 @@ interface SubscriptionsSelect<T extends boolean = true> {
4340
4570
  provider?: T;
4341
4571
  currentPeriodStart?: T;
4342
4572
  currentPeriodEnd?: T;
4343
- nextBillingDate?: T;
4573
+ trialStartAt?: T;
4574
+ trialEndAt?: T;
4575
+ endedAt?: T;
4576
+ pastDueAt?: T;
4344
4577
  billingKey?: T;
4345
4578
  customerKey?: T;
4346
4579
  cardInfo?: T | {
@@ -4348,9 +4581,9 @@ interface SubscriptionsSelect<T extends boolean = true> {
4348
4581
  number?: T;
4349
4582
  cardType?: T;
4350
4583
  };
4351
- polarSubscriptionId?: T;
4352
- polarCustomerId?: T;
4353
- polarProductId?: T;
4584
+ providerSubscriptionId?: T;
4585
+ providerCustomerId?: T;
4586
+ providerMetadata?: T;
4354
4587
  cancelAtPeriodEnd?: T;
4355
4588
  canceledAt?: T;
4356
4589
  cancelReason?: T;
@@ -4360,7 +4593,7 @@ interface SubscriptionsSelect<T extends boolean = true> {
4360
4593
  pendingPlanChange?: T | {
4361
4594
  targetPlan?: T;
4362
4595
  targetAmount?: T;
4363
- effectiveDate?: T;
4596
+ effectiveAt?: T;
4364
4597
  };
4365
4598
  updatedAt?: T;
4366
4599
  createdAt?: T;
@@ -4381,7 +4614,7 @@ interface BillingHistorySelect<T extends boolean = true> {
4381
4614
  billingCycle?: T;
4382
4615
  periodStart?: T;
4383
4616
  periodEnd?: T;
4384
- orderId?: T;
4617
+ invoiceNumber?: T;
4385
4618
  orderName?: T;
4386
4619
  paymentKey?: T;
4387
4620
  tossResponse?: T;
@@ -4492,8 +4725,6 @@ interface ProductsSelect<T extends boolean = true> {
4492
4725
  thumbnail?: T;
4493
4726
  images?: T;
4494
4727
  videos?: T;
4495
- price?: T;
4496
- compareAtPrice?: T;
4497
4728
  content?: T;
4498
4729
  variants?: T;
4499
4730
  options?: T;
@@ -4503,9 +4734,6 @@ interface ProductsSelect<T extends boolean = true> {
4503
4734
  shippingPolicy?: T;
4504
4735
  weight?: T;
4505
4736
  collections?: T;
4506
- sku?: T;
4507
- barcode?: T;
4508
- externalId?: T;
4509
4737
  minOrderQuantity?: T;
4510
4738
  maxOrderQuantity?: T;
4511
4739
  metadata?: T;
@@ -4526,6 +4754,9 @@ interface ProductsSelect<T extends boolean = true> {
4526
4754
  isSoldOut?: T;
4527
4755
  isFeatured?: T;
4528
4756
  publishedAt?: T;
4757
+ vendor?: T;
4758
+ productType?: T;
4759
+ handle?: T;
4529
4760
  updatedAt?: T;
4530
4761
  createdAt?: T;
4531
4762
  deletedAt?: T;
@@ -4540,17 +4771,19 @@ interface ProductVariantsSelect<T extends boolean = true> {
4540
4771
  tenant?: T;
4541
4772
  product?: T;
4542
4773
  title?: T;
4543
- description?: T;
4544
4774
  sku?: T;
4545
4775
  price?: T;
4776
+ compareAtPrice?: T;
4777
+ isUnlimited?: T;
4778
+ stock?: T;
4779
+ reservedStock?: T;
4546
4780
  barcode?: T;
4547
4781
  weight?: T;
4548
- isSoldOut?: T;
4549
- images?: T;
4782
+ requiresShipping?: T;
4550
4783
  externalId?: T;
4551
- status?: T;
4784
+ optionValues?: T;
4785
+ isActive?: T;
4552
4786
  metadata?: T;
4553
- productOptions?: T;
4554
4787
  updatedAt?: T;
4555
4788
  createdAt?: T;
4556
4789
  deletedAt?: T;
@@ -4560,21 +4793,28 @@ interface ProductVariantsSelect<T extends boolean = true> {
4560
4793
  * via the `definition` "product-options_select".
4561
4794
  */
4562
4795
  interface ProductOptionsSelect<T extends boolean = true> {
4563
- '_product-options_productOptions_order'?: T;
4564
4796
  '_product-options_options_order'?: T;
4565
4797
  _order?: T;
4566
4798
  tenant?: T;
4567
4799
  product?: T;
4568
- variant?: T;
4569
4800
  title?: T;
4570
- sku?: T;
4571
- isUnlimited?: T;
4572
- stock?: T;
4573
- reservedStock?: T;
4574
- priceAdjustment?: T;
4575
- barcode?: T;
4576
- weight?: T;
4577
- 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;
4578
4818
  metadata?: T;
4579
4819
  updatedAt?: T;
4580
4820
  createdAt?: T;
@@ -4780,15 +5020,22 @@ interface BrandLogosSelect<T extends boolean = true> {
4780
5020
  interface OrdersSelect<T extends boolean = true> {
4781
5021
  tenant?: T;
4782
5022
  orderNumber?: T;
5023
+ cartToken?: T;
4783
5024
  status?: T;
4784
5025
  totalAmount?: T;
4785
5026
  discountCode?: T;
4786
5027
  discountAmount?: T;
4787
5028
  refundedAmount?: T;
4788
- shippingFee?: T;
5029
+ shippingAmount?: T;
5030
+ subtotalAmount?: T;
5031
+ taxAmount?: T;
4789
5032
  source?: T;
5033
+ currency?: T;
4790
5034
  adminNotes?: T;
4791
- customerNotes?: T;
5035
+ cancelReason?: T;
5036
+ canceledAt?: T;
5037
+ completedAt?: T;
5038
+ customerNote?: T;
4792
5039
  customer?: T;
4793
5040
  customerSnapshot?: T | {
4794
5041
  name?: T;
@@ -4799,33 +5046,39 @@ interface OrdersSelect<T extends boolean = true> {
4799
5046
  recipientName?: T;
4800
5047
  phone?: T;
4801
5048
  postalCode?: T;
4802
- address1?: T;
4803
- address2?: T;
5049
+ address?: T;
5050
+ detailAddress?: T;
4804
5051
  deliveryMessage?: T;
4805
5052
  };
4806
- products?: T;
5053
+ billingAddress?: T | {
5054
+ recipientName?: T;
5055
+ businessRegistrationNumber?: T;
5056
+ email?: T;
5057
+ phone?: T;
5058
+ address?: T;
5059
+ };
5060
+ items?: T;
4807
5061
  transactions?: T;
4808
5062
  fulfillments?: T;
4809
5063
  returns?: T;
4810
- exchanges?: T;
4811
5064
  metadata?: T;
4812
5065
  updatedAt?: T;
4813
5066
  createdAt?: T;
5067
+ deletedAt?: T;
4814
5068
  }
4815
5069
  /**
4816
5070
  * This interface was referenced by `Config`'s JSON-Schema
4817
- * via the `definition` "order-products_select".
5071
+ * via the `definition` "order-items_select".
4818
5072
  */
4819
- interface OrderProductsSelect<T extends boolean = true> {
5073
+ interface OrderItemsSelect<T extends boolean = true> {
4820
5074
  tenant?: T;
4821
5075
  order?: T;
4822
5076
  product?: T;
4823
5077
  variant?: T;
4824
- option?: T;
4825
5078
  quantity?: T;
4826
5079
  unitPrice?: T;
4827
5080
  totalPrice?: T;
4828
- title?: T;
5081
+ productTitle?: T;
4829
5082
  updatedAt?: T;
4830
5083
  createdAt?: T;
4831
5084
  }
@@ -4838,14 +5091,36 @@ interface TransactionsSelect<T extends boolean = true> {
4838
5091
  type?: T;
4839
5092
  status?: T;
4840
5093
  order?: T;
4841
- paymentId?: T;
5094
+ amount?: T;
4842
5095
  paymentMethod?: T;
5096
+ installmentMonths?: T;
5097
+ approvedAt?: T;
4843
5098
  receiptUrl?: T;
4844
- 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;
4845
5118
  pgProvider?: T;
5119
+ retainUntil?: T;
4846
5120
  metadata?: T;
4847
5121
  updatedAt?: T;
4848
5122
  createdAt?: T;
5123
+ deletedAt?: T;
4849
5124
  }
4850
5125
  /**
4851
5126
  * This interface was referenced by `Config`'s JSON-Schema
@@ -4872,6 +5147,8 @@ interface FulfillmentsSelect<T extends boolean = true> {
4872
5147
  status?: T;
4873
5148
  carrier?: T;
4874
5149
  trackingNumber?: T;
5150
+ trackingUrl?: T;
5151
+ packedAt?: T;
4875
5152
  shippedAt?: T;
4876
5153
  deliveredAt?: T;
4877
5154
  items?: T;
@@ -4879,6 +5156,7 @@ interface FulfillmentsSelect<T extends boolean = true> {
4879
5156
  metadata?: T;
4880
5157
  updatedAt?: T;
4881
5158
  createdAt?: T;
5159
+ deletedAt?: T;
4882
5160
  }
4883
5161
  /**
4884
5162
  * This interface was referenced by `Config`'s JSON-Schema
@@ -4887,7 +5165,7 @@ interface FulfillmentsSelect<T extends boolean = true> {
4887
5165
  interface FulfillmentItemsSelect<T extends boolean = true> {
4888
5166
  tenant?: T;
4889
5167
  fulfillment?: T;
4890
- orderProduct?: T;
5168
+ orderItem?: T;
4891
5169
  quantity?: T;
4892
5170
  updatedAt?: T;
4893
5171
  createdAt?: T;
@@ -4898,11 +5176,14 @@ interface FulfillmentItemsSelect<T extends boolean = true> {
4898
5176
  */
4899
5177
  interface ReturnsSelect<T extends boolean = true> {
4900
5178
  tenant?: T;
5179
+ returnNumber?: T;
4901
5180
  order?: T;
5181
+ type?: T;
5182
+ exchangeOrder?: T;
4902
5183
  status?: T;
4903
5184
  reason?: T;
4904
5185
  reasonDetail?: T;
4905
- returnProducts?: T;
5186
+ items?: T;
4906
5187
  adminNotes?: T;
4907
5188
  completedAt?: T;
4908
5189
  refundReceiptUrl?: T;
@@ -4910,59 +5191,22 @@ interface ReturnsSelect<T extends boolean = true> {
4910
5191
  metadata?: T;
4911
5192
  updatedAt?: T;
4912
5193
  createdAt?: T;
5194
+ deletedAt?: T;
4913
5195
  }
4914
5196
  /**
4915
5197
  * This interface was referenced by `Config`'s JSON-Schema
4916
- * via the `definition` "return-products_select".
5198
+ * via the `definition` "return-items_select".
4917
5199
  */
4918
- interface ReturnProductsSelect<T extends boolean = true> {
5200
+ interface ReturnItemsSelect<T extends boolean = true> {
4919
5201
  tenant?: T;
4920
5202
  return?: T;
4921
5203
  order?: T;
4922
5204
  status?: T;
4923
- orderProduct?: T;
4924
- product?: T;
4925
- variant?: T;
4926
- option?: T;
4927
- quantity?: T;
4928
- title?: T;
4929
- updatedAt?: T;
4930
- createdAt?: T;
4931
- }
4932
- /**
4933
- * This interface was referenced by `Config`'s JSON-Schema
4934
- * via the `definition` "exchanges_select".
4935
- */
4936
- interface ExchangesSelect<T extends boolean = true> {
4937
- tenant?: T;
4938
- order?: T;
4939
- status?: T;
4940
- reason?: T;
4941
- reasonDetail?: T;
4942
- shippingFee?: T;
4943
- adminNotes?: T;
4944
- completedAt?: T;
4945
- exchangeProducts?: T;
4946
- metadata?: T;
4947
- updatedAt?: T;
4948
- createdAt?: T;
4949
- }
4950
- /**
4951
- * This interface was referenced by `Config`'s JSON-Schema
4952
- * via the `definition` "exchange-products_select".
4953
- */
4954
- interface ExchangeProductsSelect<T extends boolean = true> {
4955
- tenant?: T;
4956
- exchange?: T;
4957
- order?: T;
4958
- orderProduct?: T;
5205
+ orderItem?: T;
4959
5206
  product?: T;
4960
5207
  variant?: T;
4961
- option?: T;
4962
5208
  quantity?: T;
4963
- newVariant?: T;
4964
- newOption?: T;
4965
- title?: T;
5209
+ productTitle?: T;
4966
5210
  updatedAt?: T;
4967
5211
  createdAt?: T;
4968
5212
  }
@@ -4974,15 +5218,15 @@ interface ShippingPoliciesSelect<T extends boolean = true> {
4974
5218
  _order?: T;
4975
5219
  tenant?: T;
4976
5220
  title?: T;
4977
- baseFee?: T;
4978
- freeShippingThreshold?: T;
4979
- jejuExtraFee?: T;
4980
- islandExtraFee?: T;
5221
+ baseAmount?: T;
5222
+ freeShippingMinAmount?: T;
5223
+ jejuExtraAmount?: T;
5224
+ remoteAreaExtraAmount?: T;
4981
5225
  description?: T;
4982
5226
  generateSlug?: T;
4983
5227
  slug?: T;
4984
5228
  estimatedDays?: T;
4985
- status?: T;
5229
+ isActive?: T;
4986
5230
  isDefault?: T;
4987
5231
  metadata?: T;
4988
5232
  updatedAt?: T;
@@ -5001,28 +5245,70 @@ interface CustomersSelect<T extends boolean = true> {
5001
5245
  email?: T;
5002
5246
  phone?: T;
5003
5247
  groups?: T;
5004
- socialId?: T;
5248
+ providerUserId?: T;
5005
5249
  note?: T;
5006
5250
  birthDate?: T;
5007
5251
  gender?: T;
5008
5252
  orders?: T;
5009
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;
5010
5285
  hashedPassword?: T;
5011
5286
  salt?: T;
5012
5287
  verificationToken?: T;
5013
5288
  resetPasswordToken?: T;
5014
- resetPasswordExpiry?: T;
5015
- loginAttempts?: T;
5289
+ resetPasswordExpiresAt?: T;
5290
+ loginAttemptCount?: T;
5016
5291
  lockedUntil?: T;
5017
5292
  authProvider?: T;
5018
5293
  isGuest?: T;
5019
- isVerified?: T;
5020
- marketingConsent?: T;
5021
- consentedAt?: T;
5294
+ isEmailVerified?: T;
5022
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;
5023
5308
  metadata?: T;
5024
5309
  updatedAt?: T;
5025
5310
  createdAt?: T;
5311
+ deletedAt?: T;
5026
5312
  }
5027
5313
  /**
5028
5314
  * This interface was referenced by `Config`'s JSON-Schema
@@ -5055,7 +5341,7 @@ interface CustomerGroupsSelect<T extends boolean = true> {
5055
5341
  description?: T;
5056
5342
  color?: T;
5057
5343
  image?: T;
5058
- status?: T;
5344
+ isActive?: T;
5059
5345
  metadata?: T;
5060
5346
  customers?: T;
5061
5347
  updatedAt?: T;
@@ -5069,21 +5355,27 @@ interface CustomerGroupsSelect<T extends boolean = true> {
5069
5355
  interface CartsSelect<T extends boolean = true> {
5070
5356
  tenant?: T;
5071
5357
  customer?: T;
5072
- status?: T;
5358
+ email?: T;
5073
5359
  shippingAddress?: T | {
5074
5360
  recipientName?: T;
5075
5361
  phone?: T;
5076
5362
  postalCode?: T;
5077
- address1?: T;
5078
- address2?: T;
5363
+ address?: T;
5364
+ detailAddress?: T;
5079
5365
  deliveryMessage?: T;
5080
5366
  };
5081
5367
  discountCode?: T;
5082
- itemsTotal?: T;
5083
- shippingFee?: T;
5368
+ customerNote?: T;
5369
+ items?: T;
5370
+ status?: T;
5371
+ currency?: T;
5372
+ subtotalAmount?: T;
5373
+ shippingAmount?: T;
5084
5374
  discountAmount?: T;
5085
5375
  totalAmount?: T;
5086
- items?: T;
5376
+ cartToken?: T;
5377
+ lastActivityAt?: T;
5378
+ abandonedAt?: T;
5087
5379
  expiresAt?: T;
5088
5380
  metadata?: T;
5089
5381
  updatedAt?: T;
@@ -5098,7 +5390,6 @@ interface CartItemsSelect<T extends boolean = true> {
5098
5390
  cart?: T;
5099
5391
  product?: T;
5100
5392
  variant?: T;
5101
- option?: T;
5102
5393
  quantity?: T;
5103
5394
  unitPrice?: T;
5104
5395
  metadata?: T;
@@ -5112,12 +5403,12 @@ interface CartItemsSelect<T extends boolean = true> {
5112
5403
  interface DiscountsSelect<T extends boolean = true> {
5113
5404
  _order?: T;
5114
5405
  tenant?: T;
5115
- type?: T;
5406
+ discountType?: T;
5116
5407
  title?: T;
5117
5408
  code?: T;
5118
5409
  isActive?: T;
5119
- description?: T;
5120
- value?: T;
5410
+ internalNote?: T;
5411
+ discountValue?: T;
5121
5412
  tiers?: T | {
5122
5413
  minAmount?: T;
5123
5414
  discountType?: T;
@@ -5128,13 +5419,23 @@ interface DiscountsSelect<T extends boolean = true> {
5128
5419
  maxDiscountAmount?: T;
5129
5420
  startsAt?: T;
5130
5421
  endsAt?: T;
5131
- applicableProducts?: T;
5132
- applicableCategories?: T;
5133
- usageLimit?: T;
5134
- usageCount?: T;
5135
- perCustomerLimit?: T;
5136
- customerGroups?: T;
5137
- 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;
5138
5439
  priority?: T;
5139
5440
  metadata?: T;
5140
5441
  updatedAt?: T;
@@ -5174,7 +5475,13 @@ interface PostsSelect<T extends boolean = true> {
5174
5475
  publishedAt?: T;
5175
5476
  customer?: T;
5176
5477
  isFeatured?: T;
5177
- readTime?: T;
5478
+ readingMinutes?: T;
5479
+ excerpt?: T;
5480
+ canonicalUrl?: T;
5481
+ visibility?: T;
5482
+ scheduledAt?: T;
5483
+ featuredUntil?: T;
5484
+ relatedPosts?: T;
5178
5485
  metadata?: T;
5179
5486
  updatedAt?: T;
5180
5487
  createdAt?: T;
@@ -5195,7 +5502,7 @@ interface PostAuthorsSelect<T extends boolean = true> {
5195
5502
  bio?: T;
5196
5503
  email?: T;
5197
5504
  posts?: T;
5198
- status?: T;
5505
+ isActive?: T;
5199
5506
  metadata?: T;
5200
5507
  updatedAt?: T;
5201
5508
  createdAt?: T;
@@ -5249,12 +5556,12 @@ interface DocumentsSelect<T extends boolean = true> {
5249
5556
  content?: T;
5250
5557
  videos?: T;
5251
5558
  version?: T;
5252
- effectiveDate?: T;
5253
- expiryDate?: T;
5559
+ effectiveAt?: T;
5560
+ expiresAt?: T;
5254
5561
  changeLog?: T;
5255
- isRequired?: T;
5256
- tags?: T | {
5257
- tag?: T;
5562
+ requiresAgreement?: T;
5563
+ keywords?: T | {
5564
+ keyword?: T;
5258
5565
  id?: T;
5259
5566
  };
5260
5567
  seo?: T | {
@@ -5271,7 +5578,10 @@ interface DocumentsSelect<T extends boolean = true> {
5271
5578
  generateSlug?: T;
5272
5579
  slug?: T;
5273
5580
  type?: T;
5274
- category?: T;
5581
+ categories?: T;
5582
+ jurisdiction?: T;
5583
+ language?: T;
5584
+ supersededBy?: T;
5275
5585
  thumbnail?: T;
5276
5586
  images?: T;
5277
5587
  publishedAt?: T;
@@ -5329,7 +5639,7 @@ interface PlaylistsSelect<T extends boolean = true> {
5329
5639
  videos?: T;
5330
5640
  categories?: T;
5331
5641
  tags?: T;
5332
- musics?: T;
5642
+ tracks?: T;
5333
5643
  seo?: T | {
5334
5644
  title?: T;
5335
5645
  description?: T;
@@ -5342,12 +5652,13 @@ interface PlaylistsSelect<T extends boolean = true> {
5342
5652
  };
5343
5653
  };
5344
5654
  thumbnail?: T;
5655
+ coverArt?: T;
5656
+ isCollaborative?: T;
5345
5657
  generateSlug?: T;
5346
5658
  slug?: T;
5347
5659
  status?: T;
5348
5660
  publishedAt?: T;
5349
5661
  isFeatured?: T;
5350
- totalDuration?: T;
5351
5662
  metadata?: T;
5352
5663
  updatedAt?: T;
5353
5664
  createdAt?: T;
@@ -5394,11 +5705,13 @@ interface PlaylistTagsSelect<T extends boolean = true> {
5394
5705
  * via the `definition` "musics_select".
5395
5706
  */
5396
5707
  interface MusicsSelect<T extends boolean = true> {
5397
- _musics_musics_order?: T;
5708
+ _musics_tracks_order?: T;
5398
5709
  _order?: T;
5399
5710
  tenant?: T;
5400
5711
  playlist?: T;
5401
- url?: T;
5712
+ sourceUrl?: T;
5713
+ sourceProvider?: T;
5714
+ sourceId?: T;
5402
5715
  title?: T;
5403
5716
  description?: T;
5404
5717
  content?: T;
@@ -5413,9 +5726,12 @@ interface MusicsSelect<T extends boolean = true> {
5413
5726
  status?: T;
5414
5727
  isFeatured?: T;
5415
5728
  publishedAt?: T;
5416
- duration?: T;
5417
- isValid?: T;
5729
+ durationSeconds?: T;
5730
+ isEmbeddable?: T;
5418
5731
  metadata?: T;
5732
+ isrc?: T;
5733
+ isExplicit?: T;
5734
+ previewUrl?: T;
5419
5735
  updatedAt?: T;
5420
5736
  createdAt?: T;
5421
5737
  deletedAt?: T;
@@ -5480,6 +5796,7 @@ interface GalleriesSelect<T extends boolean = true> {
5480
5796
  image?: T;
5481
5797
  };
5482
5798
  };
5799
+ coverLayout?: T;
5483
5800
  generateSlug?: T;
5484
5801
  slug?: T;
5485
5802
  thumbnail?: T;
@@ -5560,7 +5877,11 @@ interface LinksSelect<T extends boolean = true> {
5560
5877
  generateSlug?: T;
5561
5878
  slug?: T;
5562
5879
  type?: T;
5563
- thumbnail?: T;
5880
+ icon?: T;
5881
+ publishedAt?: T;
5882
+ platform?: T;
5883
+ opensInNewTab?: T;
5884
+ expiresAt?: T;
5564
5885
  status?: T;
5565
5886
  isFeatured?: T;
5566
5887
  metadata?: T;
@@ -5655,7 +5976,7 @@ interface CanvasNodeTypesSelect<T extends boolean = true> {
5655
5976
  width?: T;
5656
5977
  height?: T;
5657
5978
  };
5658
- transparentBackground?: T;
5979
+ hasTransparentBackground?: T;
5659
5980
  fields?: T | {
5660
5981
  name?: T;
5661
5982
  label?: T;
@@ -5689,7 +6010,7 @@ interface CanvasEdgeTypesSelect<T extends boolean = true> {
5689
6010
  description?: T;
5690
6011
  color?: T;
5691
6012
  strokeWidth?: T;
5692
- animated?: T;
6013
+ isAnimated?: T;
5693
6014
  lineStyle?: T;
5694
6015
  markerStart?: T;
5695
6016
  markerEnd?: T;
@@ -5757,11 +6078,11 @@ interface VideosSelect<T extends boolean = true> {
5757
6078
  description?: T;
5758
6079
  content?: T;
5759
6080
  sourceLiveStream?: T;
5760
- status?: T;
5761
- duration?: T;
5762
- aspectRatio?: T;
6081
+ muxStatus?: T;
6082
+ durationSeconds?: T;
6083
+ muxAspectRatio?: T;
5763
6084
  maxResolution?: T;
5764
- videoQuality?: T;
6085
+ quality?: T;
5765
6086
  mp4Support?: T;
5766
6087
  muxAssetId?: T;
5767
6088
  muxPlaybackId?: T;
@@ -5785,6 +6106,13 @@ interface VideosSelect<T extends boolean = true> {
5785
6106
  categories?: T;
5786
6107
  tags?: T;
5787
6108
  metadata?: T;
6109
+ viewCount?: T;
6110
+ aspectRatio?: T;
6111
+ chapters?: T | {
6112
+ title?: T;
6113
+ startSeconds?: T;
6114
+ id?: T;
6115
+ };
5788
6116
  updatedAt?: T;
5789
6117
  createdAt?: T;
5790
6118
  deletedAt?: T;
@@ -5835,12 +6163,12 @@ interface LiveStreamsSelect<T extends boolean = true> {
5835
6163
  description?: T;
5836
6164
  scheduledAt?: T;
5837
6165
  latencyMode?: T;
5838
- reconnectWindow?: T;
5839
- status?: T;
6166
+ reconnectWindowSeconds?: T;
6167
+ muxStatus?: T;
5840
6168
  muxLiveStreamId?: T;
5841
6169
  muxPlaybackId?: T;
5842
6170
  streamKey?: T;
5843
- activeAssetId?: T;
6171
+ muxActiveAssetId?: T;
5844
6172
  recentAssetIds?: T;
5845
6173
  seo?: T | {
5846
6174
  title?: T;
@@ -5858,6 +6186,10 @@ interface LiveStreamsSelect<T extends boolean = true> {
5858
6186
  thumbnail?: T;
5859
6187
  isFeatured?: T;
5860
6188
  metadata?: T;
6189
+ startedAt?: T;
6190
+ endedAt?: T;
6191
+ peakViewerCount?: T;
6192
+ viewCount?: T;
5861
6193
  updatedAt?: T;
5862
6194
  createdAt?: T;
5863
6195
  deletedAt?: T;
@@ -5873,6 +6205,7 @@ interface ThreadsSelect<T extends boolean = true> {
5873
6205
  content?: T;
5874
6206
  categories?: T;
5875
6207
  comments?: T;
6208
+ status?: T;
5876
6209
  generateSlug?: T;
5877
6210
  slug?: T;
5878
6211
  thumbnail?: T;
@@ -5883,7 +6216,11 @@ interface ThreadsSelect<T extends boolean = true> {
5883
6216
  reactionCount?: T;
5884
6217
  reportCount?: T;
5885
6218
  isPinned?: T;
5886
- allowComments?: T;
6219
+ allowsComments?: T;
6220
+ visibility?: T;
6221
+ isLocked?: T;
6222
+ lastActivityAt?: T;
6223
+ lastCommentBy?: T;
5887
6224
  isFeatured?: T;
5888
6225
  publishedAt?: T;
5889
6226
  metadata?: T;
@@ -5899,14 +6236,18 @@ interface CommentsSelect<T extends boolean = true> {
5899
6236
  tenant?: T;
5900
6237
  thread?: T;
5901
6238
  customer?: T;
5902
- content?: T;
6239
+ body?: T;
5903
6240
  parent?: T;
5904
6241
  depth?: T;
5905
- rootId?: T;
6242
+ rootComment?: T;
5906
6243
  status?: T;
6244
+ moderationStatus?: T;
6245
+ visibility?: T;
6246
+ editedAt?: T;
5907
6247
  isEdited?: T;
5908
6248
  reactionCount?: T;
5909
6249
  reportCount?: T;
6250
+ replyCount?: T;
5910
6251
  metadata?: T;
5911
6252
  updatedAt?: T;
5912
6253
  createdAt?: T;
@@ -5983,6 +6324,9 @@ interface ReportsSelect<T extends boolean = true> {
5983
6324
  customer?: T;
5984
6325
  reason?: T;
5985
6326
  reasonDetail?: T;
6327
+ moderationStatus?: T;
6328
+ resolution?: T;
6329
+ reviewedAt?: T;
5986
6330
  updatedAt?: T;
5987
6331
  createdAt?: T;
5988
6332
  }
@@ -5996,6 +6340,8 @@ interface CommunityBansSelect<T extends boolean = true> {
5996
6340
  bannedUntil?: T;
5997
6341
  isPermanent?: T;
5998
6342
  reason?: T;
6343
+ reasonDetail?: T;
6344
+ sourceReport?: T;
5999
6345
  bannedBy?: T;
6000
6346
  updatedAt?: T;
6001
6347
  createdAt?: T;
@@ -6009,7 +6355,7 @@ interface FormsSelect<T extends boolean = true> {
6009
6355
  tenant?: T;
6010
6356
  title?: T;
6011
6357
  description?: T;
6012
- status?: T;
6358
+ isActive?: T;
6013
6359
  generateSlug?: T;
6014
6360
  slug?: T;
6015
6361
  fields?: T | {
@@ -6193,4 +6539,4 @@ declare module 'payload' {
6193
6539
  }
6194
6540
  }
6195
6541
 
6196
- 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 };