@01.software/sdk 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/README.md +5 -2
  2. package/dist/auth.d.cts +1 -1
  3. package/dist/auth.d.ts +1 -1
  4. package/dist/const-BsO3aVX_.d.cts +19 -0
  5. package/dist/const-DZyvV9wU.d.ts +19 -0
  6. package/dist/index.cjs +285 -86
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +114 -196
  9. package/dist/index.d.ts +114 -196
  10. package/dist/index.js +285 -86
  11. package/dist/index.js.map +1 -1
  12. package/dist/{payload-types-ggU6BNuH.d.cts → payload-types-BsjHfeAF.d.cts} +68 -7
  13. package/dist/{payload-types-ggU6BNuH.d.ts → payload-types-BsjHfeAF.d.ts} +68 -7
  14. package/dist/realtime-DupPIYx-.d.cts +33 -0
  15. package/dist/realtime-DupPIYx-.d.ts +33 -0
  16. package/dist/realtime.cjs +263 -0
  17. package/dist/realtime.cjs.map +1 -0
  18. package/dist/realtime.d.cts +38 -0
  19. package/dist/realtime.d.ts +38 -0
  20. package/dist/realtime.js +241 -0
  21. package/dist/realtime.js.map +1 -0
  22. package/dist/ui/code-block.cjs +3 -1
  23. package/dist/ui/code-block.cjs.map +1 -1
  24. package/dist/ui/code-block.js +4 -2
  25. package/dist/ui/code-block.js.map +1 -1
  26. package/dist/ui/flow.cjs +282 -39
  27. package/dist/ui/flow.cjs.map +1 -1
  28. package/dist/ui/flow.d.cts +104 -3
  29. package/dist/ui/flow.d.ts +104 -3
  30. package/dist/ui/flow.js +270 -24
  31. package/dist/ui/flow.js.map +1 -1
  32. package/dist/ui/form.d.cts +1 -1
  33. package/dist/ui/form.d.ts +1 -1
  34. package/dist/ui/rich-text.cjs +8 -1
  35. package/dist/ui/rich-text.cjs.map +1 -1
  36. package/dist/ui/rich-text.d.cts +20 -1
  37. package/dist/ui/rich-text.d.ts +20 -1
  38. package/dist/ui/rich-text.js +8 -1
  39. package/dist/ui/rich-text.js.map +1 -1
  40. package/dist/ui/video.cjs +219 -0
  41. package/dist/ui/video.cjs.map +1 -0
  42. package/dist/ui/video.d.cts +96 -0
  43. package/dist/ui/video.d.ts +96 -0
  44. package/dist/ui/video.js +191 -0
  45. package/dist/ui/video.js.map +1 -0
  46. package/dist/video-DbLL8yuc.d.cts +85 -0
  47. package/dist/video-DbLL8yuc.d.ts +85 -0
  48. package/dist/webhook-BBWl8O2f.d.ts +20 -0
  49. package/dist/webhook-CkL56e65.d.cts +20 -0
  50. package/dist/webhook.cjs +8 -8
  51. package/dist/webhook.cjs.map +1 -1
  52. package/dist/webhook.d.cts +3 -2
  53. package/dist/webhook.d.ts +3 -2
  54. package/dist/webhook.js +8 -8
  55. package/dist/webhook.js.map +1 -1
  56. package/package.json +30 -4
  57. package/dist/webhook-B54a-HGd.d.ts +0 -35
  58. package/dist/webhook-DInps2xX.d.cts +0 -35
@@ -305,9 +305,6 @@ interface User {
305
305
  emailPreferences?: {
306
306
  usageAlerts?: boolean | null;
307
307
  };
308
- fieldConfigs?: {
309
- [k: string]: unknown;
310
- } | unknown[] | string | number | boolean | null;
311
308
  updatedAt: string;
312
309
  createdAt: string;
313
310
  email: string;
@@ -340,6 +337,10 @@ interface Tenant {
340
337
  owner: string | User;
341
338
  plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
342
339
  features?: ('ecommerce' | 'playlists' | 'galleries' | 'forms' | 'posts' | 'documents' | 'flows' | 'videos' | 'live-streaming')[] | null;
340
+ /**
341
+ * Require email verification on customer registration. Verification token is delivered via webhook (operation: verification). You must configure a webhook URL first.
342
+ */
343
+ requireEmailVerification?: boolean | null;
343
344
  /**
344
345
  * Allowed CORS origins for browser SDK requests. Empty = all origins allowed.
345
346
  */
@@ -1301,6 +1302,9 @@ interface VideoCategory {
1301
1302
  */
1302
1303
  generateSlug?: boolean | null;
1303
1304
  slug?: string | null;
1305
+ /**
1306
+ * Short summary for listing/cards
1307
+ */
1304
1308
  description?: string | null;
1305
1309
  image?: (string | null) | Image;
1306
1310
  parent?: (string | null) | VideoCategory;
@@ -1323,6 +1327,9 @@ interface VideoTag {
1323
1327
  */
1324
1328
  generateSlug?: boolean | null;
1325
1329
  slug?: string | null;
1330
+ /**
1331
+ * Short summary for listing/cards
1332
+ */
1326
1333
  description?: string | null;
1327
1334
  image?: (string | null) | Image;
1328
1335
  parent?: (string | null) | VideoTag;
@@ -1449,6 +1456,9 @@ interface ProductCategory {
1449
1456
  */
1450
1457
  generateSlug?: boolean | null;
1451
1458
  slug?: string | null;
1459
+ /**
1460
+ * Short summary for listing/cards
1461
+ */
1452
1462
  description?: string | null;
1453
1463
  image?: (string | null) | Image;
1454
1464
  parent?: (string | null) | ProductCategory;
@@ -1471,6 +1481,9 @@ interface ProductTag {
1471
1481
  */
1472
1482
  generateSlug?: boolean | null;
1473
1483
  slug?: string | null;
1484
+ /**
1485
+ * Short summary for listing/cards
1486
+ */
1474
1487
  description?: string | null;
1475
1488
  image?: (string | null) | Image;
1476
1489
  parent?: (string | null) | ProductTag;
@@ -1489,7 +1502,7 @@ interface Brand {
1489
1502
  tenant?: (string | null) | Tenant;
1490
1503
  name: string;
1491
1504
  /**
1492
- * Short intro for listing/cards
1505
+ * Short summary for listing/cards
1493
1506
  */
1494
1507
  description?: string | null;
1495
1508
  content?: {
@@ -1809,6 +1822,9 @@ interface CustomerGroup {
1809
1822
  */
1810
1823
  generateSlug?: boolean | null;
1811
1824
  slug?: string | null;
1825
+ /**
1826
+ * Short summary for listing/cards
1827
+ */
1812
1828
  description?: string | null;
1813
1829
  color?: string | null;
1814
1830
  image?: (string | null) | Image;
@@ -2212,7 +2228,7 @@ interface Post {
2212
2228
  title: string;
2213
2229
  subtitle?: string | null;
2214
2230
  /**
2215
- * Brief summary for listing pages
2231
+ * Short summary for listing/cards
2216
2232
  */
2217
2233
  description?: string | null;
2218
2234
  content?: {
@@ -2331,6 +2347,9 @@ interface PostCategory {
2331
2347
  */
2332
2348
  generateSlug?: boolean | null;
2333
2349
  slug?: string | null;
2350
+ /**
2351
+ * Short summary for listing/cards
2352
+ */
2334
2353
  description?: string | null;
2335
2354
  image?: (string | null) | Image;
2336
2355
  parent?: (string | null) | PostCategory;
@@ -2353,6 +2372,9 @@ interface PostTag {
2353
2372
  */
2354
2373
  generateSlug?: boolean | null;
2355
2374
  slug?: string | null;
2375
+ /**
2376
+ * Short summary for listing/cards
2377
+ */
2356
2378
  description?: string | null;
2357
2379
  image?: (string | null) | Image;
2358
2380
  parent?: (string | null) | PostTag;
@@ -2370,6 +2392,9 @@ interface Document {
2370
2392
  _order?: string | null;
2371
2393
  tenant?: (string | null) | Tenant;
2372
2394
  title: string;
2395
+ /**
2396
+ * Short summary for listing/cards
2397
+ */
2373
2398
  description?: string | null;
2374
2399
  content: {
2375
2400
  root: {
@@ -2479,6 +2504,9 @@ interface DocumentType {
2479
2504
  */
2480
2505
  generateSlug?: boolean | null;
2481
2506
  slug?: string | null;
2507
+ /**
2508
+ * Short summary for listing/cards
2509
+ */
2482
2510
  description?: string | null;
2483
2511
  image?: (string | null) | Image;
2484
2512
  color?: string | null;
@@ -2500,6 +2528,9 @@ interface DocumentCategory {
2500
2528
  */
2501
2529
  generateSlug?: boolean | null;
2502
2530
  slug?: string | null;
2531
+ /**
2532
+ * Short summary for listing/cards
2533
+ */
2503
2534
  description?: string | null;
2504
2535
  image?: (string | null) | Image;
2505
2536
  parent?: (string | null) | DocumentCategory;
@@ -2517,6 +2548,9 @@ interface Playlist {
2517
2548
  _order?: string | null;
2518
2549
  tenant?: (string | null) | Tenant;
2519
2550
  title: string;
2551
+ /**
2552
+ * Short summary for listing/cards
2553
+ */
2520
2554
  description?: string | null;
2521
2555
  videos?: (string | Video)[] | null;
2522
2556
  categories?: (string | PlaylistCategory)[] | null;
@@ -2592,6 +2626,9 @@ interface PlaylistCategory {
2592
2626
  */
2593
2627
  generateSlug?: boolean | null;
2594
2628
  slug?: string | null;
2629
+ /**
2630
+ * Short summary for listing/cards
2631
+ */
2595
2632
  description?: string | null;
2596
2633
  image?: (string | null) | Image;
2597
2634
  parent?: (string | null) | PlaylistCategory;
@@ -2614,6 +2651,9 @@ interface PlaylistTag {
2614
2651
  */
2615
2652
  generateSlug?: boolean | null;
2616
2653
  slug?: string | null;
2654
+ /**
2655
+ * Short summary for listing/cards
2656
+ */
2617
2657
  description?: string | null;
2618
2658
  image?: (string | null) | Image;
2619
2659
  parent?: (string | null) | PlaylistTag;
@@ -2665,6 +2705,9 @@ interface Gallery {
2665
2705
  _order?: string | null;
2666
2706
  tenant?: (string | null) | Tenant;
2667
2707
  title: string;
2708
+ /**
2709
+ * Short summary for listing/cards
2710
+ */
2668
2711
  description?: string | null;
2669
2712
  videos?: (string | Video)[] | null;
2670
2713
  categories?: (string | GalleryCategory)[] | null;
@@ -2736,6 +2779,9 @@ interface GalleryCategory {
2736
2779
  */
2737
2780
  generateSlug?: boolean | null;
2738
2781
  slug?: string | null;
2782
+ /**
2783
+ * Short summary for listing/cards
2784
+ */
2739
2785
  description?: string | null;
2740
2786
  image?: (string | null) | Image;
2741
2787
  parent?: (string | null) | GalleryCategory;
@@ -2758,6 +2804,9 @@ interface GalleryTag {
2758
2804
  */
2759
2805
  generateSlug?: boolean | null;
2760
2806
  slug?: string | null;
2807
+ /**
2808
+ * Short summary for listing/cards
2809
+ */
2761
2810
  description?: string | null;
2762
2811
  image?: (string | null) | Image;
2763
2812
  parent?: (string | null) | GalleryTag;
@@ -2804,6 +2853,9 @@ interface Flow {
2804
2853
  id: string;
2805
2854
  tenant?: (string | null) | Tenant;
2806
2855
  title: string;
2856
+ /**
2857
+ * Short summary for listing/cards
2858
+ */
2807
2859
  description?: string | null;
2808
2860
  videos?: (string | Video)[] | null;
2809
2861
  canvas: {
@@ -2874,6 +2926,9 @@ interface FlowCategory {
2874
2926
  */
2875
2927
  generateSlug?: boolean | null;
2876
2928
  slug?: string | null;
2929
+ /**
2930
+ * Short summary for listing/cards
2931
+ */
2877
2932
  description?: string | null;
2878
2933
  image?: (string | null) | Image;
2879
2934
  parent?: (string | null) | FlowCategory;
@@ -2896,6 +2951,9 @@ interface FlowTag {
2896
2951
  */
2897
2952
  generateSlug?: boolean | null;
2898
2953
  slug?: string | null;
2954
+ /**
2955
+ * Short summary for listing/cards
2956
+ */
2899
2957
  description?: string | null;
2900
2958
  image?: (string | null) | Image;
2901
2959
  parent?: (string | null) | FlowTag;
@@ -3010,6 +3068,9 @@ interface Form {
3010
3068
  _order?: string | null;
3011
3069
  tenant?: (string | null) | Tenant;
3012
3070
  title: string;
3071
+ /**
3072
+ * Short summary for listing/cards
3073
+ */
3013
3074
  description?: string | null;
3014
3075
  status: 'active' | 'inactive';
3015
3076
  /**
@@ -3450,7 +3511,6 @@ interface UsersSelect<T extends boolean = true> {
3450
3511
  emailPreferences?: T | {
3451
3512
  usageAlerts?: T;
3452
3513
  };
3453
- fieldConfigs?: T;
3454
3514
  updatedAt?: T;
3455
3515
  createdAt?: T;
3456
3516
  email?: T;
@@ -3613,6 +3673,7 @@ interface TenantsSelect<T extends boolean = true> {
3613
3673
  owner?: T;
3614
3674
  plan?: T;
3615
3675
  features?: T;
3676
+ requireEmailVerification?: T;
3616
3677
  cors?: T | {
3617
3678
  origin?: T;
3618
3679
  id?: T;
@@ -5309,4 +5370,4 @@ declare module 'payload' {
5309
5370
  }
5310
5371
  }
5311
5372
 
5312
- export type { Document as $, Audience as A, BrandLogo as B, Cart 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, DocumentTypesSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, Gallery as a6, GalleryCategory as a7, GalleryTag as a8, GalleryItem as a9, ProductTagsSelect as aA, ProductCollectionsSelect as aB, BrandsSelect as aC, BrandLogosSelect as aD, OrdersSelect as aE, OrderProductsSelect as aF, TransactionsSelect as aG, OrderStatusLogsSelect as aH, FulfillmentsSelect as aI, FulfillmentItemsSelect as aJ, ReturnsSelect as aK, ReturnProductsSelect as aL, ExchangesSelect as aM, ExchangeProductsSelect as aN, ShippingPoliciesSelect as aO, CustomersSelect as aP, CustomerAddressesSelect as aQ, CustomerGroupsSelect as aR, CartsSelect as aS, CartItemsSelect as aT, DiscountsSelect as aU, PostsSelect as aV, PostAuthorsSelect as aW, PostCategoriesSelect as aX, PostTagsSelect as aY, DocumentsSelect as aZ, DocumentCategoriesSelect as a_, Flow as aa, FlowCategory as ab, FlowTag as ac, FlowNodeType as ad, FlowEdgeType as ae, FormSubmission as af, PayloadKv as ag, PayloadLockedDocument as ah, PayloadPreference as ai, PayloadMigration as aj, UsersSelect as ak, FieldConfigsSelect as al, ImagesSelect as am, SystemMediaSelect as an, AudiencesSelect as ao, EmailLogsSelect as ap, TenantsSelect as aq, TenantMetadataSelect as ar, ApiUsageSelect as as, SubscriptionsSelect as at, BillingHistorySelect as au, TenantLogosSelect as av, ProductsSelect as aw, ProductVariantsSelect as ax, ProductOptionsSelect as ay, ProductCategoriesSelect as az, Fulfillment as b, PlaylistsSelect as b0, PlaylistCategoriesSelect as b1, PlaylistTagsSelect as b2, MusicsSelect as b3, GalleriesSelect as b4, GalleryCategoriesSelect as b5, GalleryTagsSelect as b6, GalleryItemsSelect as b7, FlowsSelect as b8, FlowNodeTypesSelect as b9, FlowEdgeTypesSelect as ba, FlowCategoriesSelect as bb, FlowTagsSelect as bc, VideosSelect as bd, VideoCategoriesSelect as be, VideoTagsSelect as bf, LiveStreamsSelect 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, CartItem as c, Config 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 };
5373
+ 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, DocumentTypesSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, Gallery as a6, GalleryCategory as a7, GalleryTag as a8, GalleryItem as a9, ProductTagsSelect as aA, ProductCollectionsSelect as aB, BrandsSelect as aC, BrandLogosSelect as aD, OrdersSelect as aE, OrderProductsSelect as aF, TransactionsSelect as aG, OrderStatusLogsSelect as aH, FulfillmentsSelect as aI, FulfillmentItemsSelect as aJ, ReturnsSelect as aK, ReturnProductsSelect as aL, ExchangesSelect as aM, ExchangeProductsSelect as aN, ShippingPoliciesSelect as aO, CustomersSelect as aP, CustomerAddressesSelect as aQ, CustomerGroupsSelect as aR, CartsSelect as aS, CartItemsSelect as aT, DiscountsSelect as aU, PostsSelect as aV, PostAuthorsSelect as aW, PostCategoriesSelect as aX, PostTagsSelect as aY, DocumentsSelect as aZ, DocumentCategoriesSelect as a_, Flow as aa, FlowCategory as ab, FlowTag as ac, FlowNodeType as ad, FlowEdgeType as ae, FormSubmission as af, PayloadKv as ag, PayloadLockedDocument as ah, PayloadPreference as ai, PayloadMigration as aj, UsersSelect as ak, FieldConfigsSelect as al, ImagesSelect as am, SystemMediaSelect as an, AudiencesSelect as ao, EmailLogsSelect as ap, TenantsSelect as aq, TenantMetadataSelect as ar, ApiUsageSelect as as, SubscriptionsSelect as at, BillingHistorySelect as au, TenantLogosSelect as av, ProductsSelect as aw, ProductVariantsSelect as ax, ProductOptionsSelect as ay, ProductCategoriesSelect as az, Fulfillment as b, PlaylistsSelect as b0, PlaylistCategoriesSelect as b1, PlaylistTagsSelect as b2, MusicsSelect as b3, GalleriesSelect as b4, GalleryCategoriesSelect as b5, GalleryTagsSelect as b6, GalleryItemsSelect as b7, FlowsSelect as b8, FlowNodeTypesSelect as b9, FlowEdgeTypesSelect as ba, FlowCategoriesSelect as bb, FlowTagsSelect as bc, VideosSelect as bd, VideoCategoriesSelect as be, VideoTagsSelect as bf, LiveStreamsSelect 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, 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 };
@@ -305,9 +305,6 @@ interface User {
305
305
  emailPreferences?: {
306
306
  usageAlerts?: boolean | null;
307
307
  };
308
- fieldConfigs?: {
309
- [k: string]: unknown;
310
- } | unknown[] | string | number | boolean | null;
311
308
  updatedAt: string;
312
309
  createdAt: string;
313
310
  email: string;
@@ -340,6 +337,10 @@ interface Tenant {
340
337
  owner: string | User;
341
338
  plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
342
339
  features?: ('ecommerce' | 'playlists' | 'galleries' | 'forms' | 'posts' | 'documents' | 'flows' | 'videos' | 'live-streaming')[] | null;
340
+ /**
341
+ * Require email verification on customer registration. Verification token is delivered via webhook (operation: verification). You must configure a webhook URL first.
342
+ */
343
+ requireEmailVerification?: boolean | null;
343
344
  /**
344
345
  * Allowed CORS origins for browser SDK requests. Empty = all origins allowed.
345
346
  */
@@ -1301,6 +1302,9 @@ interface VideoCategory {
1301
1302
  */
1302
1303
  generateSlug?: boolean | null;
1303
1304
  slug?: string | null;
1305
+ /**
1306
+ * Short summary for listing/cards
1307
+ */
1304
1308
  description?: string | null;
1305
1309
  image?: (string | null) | Image;
1306
1310
  parent?: (string | null) | VideoCategory;
@@ -1323,6 +1327,9 @@ interface VideoTag {
1323
1327
  */
1324
1328
  generateSlug?: boolean | null;
1325
1329
  slug?: string | null;
1330
+ /**
1331
+ * Short summary for listing/cards
1332
+ */
1326
1333
  description?: string | null;
1327
1334
  image?: (string | null) | Image;
1328
1335
  parent?: (string | null) | VideoTag;
@@ -1449,6 +1456,9 @@ interface ProductCategory {
1449
1456
  */
1450
1457
  generateSlug?: boolean | null;
1451
1458
  slug?: string | null;
1459
+ /**
1460
+ * Short summary for listing/cards
1461
+ */
1452
1462
  description?: string | null;
1453
1463
  image?: (string | null) | Image;
1454
1464
  parent?: (string | null) | ProductCategory;
@@ -1471,6 +1481,9 @@ interface ProductTag {
1471
1481
  */
1472
1482
  generateSlug?: boolean | null;
1473
1483
  slug?: string | null;
1484
+ /**
1485
+ * Short summary for listing/cards
1486
+ */
1474
1487
  description?: string | null;
1475
1488
  image?: (string | null) | Image;
1476
1489
  parent?: (string | null) | ProductTag;
@@ -1489,7 +1502,7 @@ interface Brand {
1489
1502
  tenant?: (string | null) | Tenant;
1490
1503
  name: string;
1491
1504
  /**
1492
- * Short intro for listing/cards
1505
+ * Short summary for listing/cards
1493
1506
  */
1494
1507
  description?: string | null;
1495
1508
  content?: {
@@ -1809,6 +1822,9 @@ interface CustomerGroup {
1809
1822
  */
1810
1823
  generateSlug?: boolean | null;
1811
1824
  slug?: string | null;
1825
+ /**
1826
+ * Short summary for listing/cards
1827
+ */
1812
1828
  description?: string | null;
1813
1829
  color?: string | null;
1814
1830
  image?: (string | null) | Image;
@@ -2212,7 +2228,7 @@ interface Post {
2212
2228
  title: string;
2213
2229
  subtitle?: string | null;
2214
2230
  /**
2215
- * Brief summary for listing pages
2231
+ * Short summary for listing/cards
2216
2232
  */
2217
2233
  description?: string | null;
2218
2234
  content?: {
@@ -2331,6 +2347,9 @@ interface PostCategory {
2331
2347
  */
2332
2348
  generateSlug?: boolean | null;
2333
2349
  slug?: string | null;
2350
+ /**
2351
+ * Short summary for listing/cards
2352
+ */
2334
2353
  description?: string | null;
2335
2354
  image?: (string | null) | Image;
2336
2355
  parent?: (string | null) | PostCategory;
@@ -2353,6 +2372,9 @@ interface PostTag {
2353
2372
  */
2354
2373
  generateSlug?: boolean | null;
2355
2374
  slug?: string | null;
2375
+ /**
2376
+ * Short summary for listing/cards
2377
+ */
2356
2378
  description?: string | null;
2357
2379
  image?: (string | null) | Image;
2358
2380
  parent?: (string | null) | PostTag;
@@ -2370,6 +2392,9 @@ interface Document {
2370
2392
  _order?: string | null;
2371
2393
  tenant?: (string | null) | Tenant;
2372
2394
  title: string;
2395
+ /**
2396
+ * Short summary for listing/cards
2397
+ */
2373
2398
  description?: string | null;
2374
2399
  content: {
2375
2400
  root: {
@@ -2479,6 +2504,9 @@ interface DocumentType {
2479
2504
  */
2480
2505
  generateSlug?: boolean | null;
2481
2506
  slug?: string | null;
2507
+ /**
2508
+ * Short summary for listing/cards
2509
+ */
2482
2510
  description?: string | null;
2483
2511
  image?: (string | null) | Image;
2484
2512
  color?: string | null;
@@ -2500,6 +2528,9 @@ interface DocumentCategory {
2500
2528
  */
2501
2529
  generateSlug?: boolean | null;
2502
2530
  slug?: string | null;
2531
+ /**
2532
+ * Short summary for listing/cards
2533
+ */
2503
2534
  description?: string | null;
2504
2535
  image?: (string | null) | Image;
2505
2536
  parent?: (string | null) | DocumentCategory;
@@ -2517,6 +2548,9 @@ interface Playlist {
2517
2548
  _order?: string | null;
2518
2549
  tenant?: (string | null) | Tenant;
2519
2550
  title: string;
2551
+ /**
2552
+ * Short summary for listing/cards
2553
+ */
2520
2554
  description?: string | null;
2521
2555
  videos?: (string | Video)[] | null;
2522
2556
  categories?: (string | PlaylistCategory)[] | null;
@@ -2592,6 +2626,9 @@ interface PlaylistCategory {
2592
2626
  */
2593
2627
  generateSlug?: boolean | null;
2594
2628
  slug?: string | null;
2629
+ /**
2630
+ * Short summary for listing/cards
2631
+ */
2595
2632
  description?: string | null;
2596
2633
  image?: (string | null) | Image;
2597
2634
  parent?: (string | null) | PlaylistCategory;
@@ -2614,6 +2651,9 @@ interface PlaylistTag {
2614
2651
  */
2615
2652
  generateSlug?: boolean | null;
2616
2653
  slug?: string | null;
2654
+ /**
2655
+ * Short summary for listing/cards
2656
+ */
2617
2657
  description?: string | null;
2618
2658
  image?: (string | null) | Image;
2619
2659
  parent?: (string | null) | PlaylistTag;
@@ -2665,6 +2705,9 @@ interface Gallery {
2665
2705
  _order?: string | null;
2666
2706
  tenant?: (string | null) | Tenant;
2667
2707
  title: string;
2708
+ /**
2709
+ * Short summary for listing/cards
2710
+ */
2668
2711
  description?: string | null;
2669
2712
  videos?: (string | Video)[] | null;
2670
2713
  categories?: (string | GalleryCategory)[] | null;
@@ -2736,6 +2779,9 @@ interface GalleryCategory {
2736
2779
  */
2737
2780
  generateSlug?: boolean | null;
2738
2781
  slug?: string | null;
2782
+ /**
2783
+ * Short summary for listing/cards
2784
+ */
2739
2785
  description?: string | null;
2740
2786
  image?: (string | null) | Image;
2741
2787
  parent?: (string | null) | GalleryCategory;
@@ -2758,6 +2804,9 @@ interface GalleryTag {
2758
2804
  */
2759
2805
  generateSlug?: boolean | null;
2760
2806
  slug?: string | null;
2807
+ /**
2808
+ * Short summary for listing/cards
2809
+ */
2761
2810
  description?: string | null;
2762
2811
  image?: (string | null) | Image;
2763
2812
  parent?: (string | null) | GalleryTag;
@@ -2804,6 +2853,9 @@ interface Flow {
2804
2853
  id: string;
2805
2854
  tenant?: (string | null) | Tenant;
2806
2855
  title: string;
2856
+ /**
2857
+ * Short summary for listing/cards
2858
+ */
2807
2859
  description?: string | null;
2808
2860
  videos?: (string | Video)[] | null;
2809
2861
  canvas: {
@@ -2874,6 +2926,9 @@ interface FlowCategory {
2874
2926
  */
2875
2927
  generateSlug?: boolean | null;
2876
2928
  slug?: string | null;
2929
+ /**
2930
+ * Short summary for listing/cards
2931
+ */
2877
2932
  description?: string | null;
2878
2933
  image?: (string | null) | Image;
2879
2934
  parent?: (string | null) | FlowCategory;
@@ -2896,6 +2951,9 @@ interface FlowTag {
2896
2951
  */
2897
2952
  generateSlug?: boolean | null;
2898
2953
  slug?: string | null;
2954
+ /**
2955
+ * Short summary for listing/cards
2956
+ */
2899
2957
  description?: string | null;
2900
2958
  image?: (string | null) | Image;
2901
2959
  parent?: (string | null) | FlowTag;
@@ -3010,6 +3068,9 @@ interface Form {
3010
3068
  _order?: string | null;
3011
3069
  tenant?: (string | null) | Tenant;
3012
3070
  title: string;
3071
+ /**
3072
+ * Short summary for listing/cards
3073
+ */
3013
3074
  description?: string | null;
3014
3075
  status: 'active' | 'inactive';
3015
3076
  /**
@@ -3450,7 +3511,6 @@ interface UsersSelect<T extends boolean = true> {
3450
3511
  emailPreferences?: T | {
3451
3512
  usageAlerts?: T;
3452
3513
  };
3453
- fieldConfigs?: T;
3454
3514
  updatedAt?: T;
3455
3515
  createdAt?: T;
3456
3516
  email?: T;
@@ -3613,6 +3673,7 @@ interface TenantsSelect<T extends boolean = true> {
3613
3673
  owner?: T;
3614
3674
  plan?: T;
3615
3675
  features?: T;
3676
+ requireEmailVerification?: T;
3616
3677
  cors?: T | {
3617
3678
  origin?: T;
3618
3679
  id?: T;
@@ -5309,4 +5370,4 @@ declare module 'payload' {
5309
5370
  }
5310
5371
  }
5311
5372
 
5312
- export type { Document as $, Audience as A, BrandLogo as B, Cart 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, DocumentTypesSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, Gallery as a6, GalleryCategory as a7, GalleryTag as a8, GalleryItem as a9, ProductTagsSelect as aA, ProductCollectionsSelect as aB, BrandsSelect as aC, BrandLogosSelect as aD, OrdersSelect as aE, OrderProductsSelect as aF, TransactionsSelect as aG, OrderStatusLogsSelect as aH, FulfillmentsSelect as aI, FulfillmentItemsSelect as aJ, ReturnsSelect as aK, ReturnProductsSelect as aL, ExchangesSelect as aM, ExchangeProductsSelect as aN, ShippingPoliciesSelect as aO, CustomersSelect as aP, CustomerAddressesSelect as aQ, CustomerGroupsSelect as aR, CartsSelect as aS, CartItemsSelect as aT, DiscountsSelect as aU, PostsSelect as aV, PostAuthorsSelect as aW, PostCategoriesSelect as aX, PostTagsSelect as aY, DocumentsSelect as aZ, DocumentCategoriesSelect as a_, Flow as aa, FlowCategory as ab, FlowTag as ac, FlowNodeType as ad, FlowEdgeType as ae, FormSubmission as af, PayloadKv as ag, PayloadLockedDocument as ah, PayloadPreference as ai, PayloadMigration as aj, UsersSelect as ak, FieldConfigsSelect as al, ImagesSelect as am, SystemMediaSelect as an, AudiencesSelect as ao, EmailLogsSelect as ap, TenantsSelect as aq, TenantMetadataSelect as ar, ApiUsageSelect as as, SubscriptionsSelect as at, BillingHistorySelect as au, TenantLogosSelect as av, ProductsSelect as aw, ProductVariantsSelect as ax, ProductOptionsSelect as ay, ProductCategoriesSelect as az, Fulfillment as b, PlaylistsSelect as b0, PlaylistCategoriesSelect as b1, PlaylistTagsSelect as b2, MusicsSelect as b3, GalleriesSelect as b4, GalleryCategoriesSelect as b5, GalleryTagsSelect as b6, GalleryItemsSelect as b7, FlowsSelect as b8, FlowNodeTypesSelect as b9, FlowEdgeTypesSelect as ba, FlowCategoriesSelect as bb, FlowTagsSelect as bc, VideosSelect as bd, VideoCategoriesSelect as be, VideoTagsSelect as bf, LiveStreamsSelect 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, CartItem as c, Config 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 };
5373
+ 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, DocumentTypesSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, Gallery as a6, GalleryCategory as a7, GalleryTag as a8, GalleryItem as a9, ProductTagsSelect as aA, ProductCollectionsSelect as aB, BrandsSelect as aC, BrandLogosSelect as aD, OrdersSelect as aE, OrderProductsSelect as aF, TransactionsSelect as aG, OrderStatusLogsSelect as aH, FulfillmentsSelect as aI, FulfillmentItemsSelect as aJ, ReturnsSelect as aK, ReturnProductsSelect as aL, ExchangesSelect as aM, ExchangeProductsSelect as aN, ShippingPoliciesSelect as aO, CustomersSelect as aP, CustomerAddressesSelect as aQ, CustomerGroupsSelect as aR, CartsSelect as aS, CartItemsSelect as aT, DiscountsSelect as aU, PostsSelect as aV, PostAuthorsSelect as aW, PostCategoriesSelect as aX, PostTagsSelect as aY, DocumentsSelect as aZ, DocumentCategoriesSelect as a_, Flow as aa, FlowCategory as ab, FlowTag as ac, FlowNodeType as ad, FlowEdgeType as ae, FormSubmission as af, PayloadKv as ag, PayloadLockedDocument as ah, PayloadPreference as ai, PayloadMigration as aj, UsersSelect as ak, FieldConfigsSelect as al, ImagesSelect as am, SystemMediaSelect as an, AudiencesSelect as ao, EmailLogsSelect as ap, TenantsSelect as aq, TenantMetadataSelect as ar, ApiUsageSelect as as, SubscriptionsSelect as at, BillingHistorySelect as au, TenantLogosSelect as av, ProductsSelect as aw, ProductVariantsSelect as ax, ProductOptionsSelect as ay, ProductCategoriesSelect as az, Fulfillment as b, PlaylistsSelect as b0, PlaylistCategoriesSelect as b1, PlaylistTagsSelect as b2, MusicsSelect as b3, GalleriesSelect as b4, GalleryCategoriesSelect as b5, GalleryTagsSelect as b6, GalleryItemsSelect as b7, FlowsSelect as b8, FlowNodeTypesSelect as b9, FlowEdgeTypesSelect as ba, FlowCategoriesSelect as bb, FlowTagsSelect as bc, VideosSelect as bd, VideoCategoriesSelect as be, VideoTagsSelect as bf, LiveStreamsSelect 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, 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 };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Fetch-based SSE connection manager for real-time collection change events.
3
+ * Uses fetch + ReadableStream to support custom auth headers (unlike native EventSource).
4
+ */
5
+ interface RealtimeEvent {
6
+ collection: string;
7
+ operation: string;
8
+ id: string | null;
9
+ timestamp: string;
10
+ }
11
+ type RealtimeListener = (event: RealtimeEvent) => void;
12
+ declare class RealtimeConnection {
13
+ private baseUrl;
14
+ private clientKey;
15
+ private getToken;
16
+ private collections?;
17
+ private abortController;
18
+ private reconnectAttempt;
19
+ private noTokenAttempts;
20
+ private reconnectTimer;
21
+ private listeners;
22
+ private _connected;
23
+ constructor(baseUrl: string, clientKey: string, getToken: () => string | null, collections?: string[] | undefined);
24
+ get connected(): boolean;
25
+ addListener(fn: RealtimeListener): () => void;
26
+ connect(): void;
27
+ disconnect(): void;
28
+ private startStream;
29
+ private readStream;
30
+ private scheduleReconnect;
31
+ }
32
+
33
+ export { type RealtimeEvent as R, RealtimeConnection as a, type RealtimeListener as b };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Fetch-based SSE connection manager for real-time collection change events.
3
+ * Uses fetch + ReadableStream to support custom auth headers (unlike native EventSource).
4
+ */
5
+ interface RealtimeEvent {
6
+ collection: string;
7
+ operation: string;
8
+ id: string | null;
9
+ timestamp: string;
10
+ }
11
+ type RealtimeListener = (event: RealtimeEvent) => void;
12
+ declare class RealtimeConnection {
13
+ private baseUrl;
14
+ private clientKey;
15
+ private getToken;
16
+ private collections?;
17
+ private abortController;
18
+ private reconnectAttempt;
19
+ private noTokenAttempts;
20
+ private reconnectTimer;
21
+ private listeners;
22
+ private _connected;
23
+ constructor(baseUrl: string, clientKey: string, getToken: () => string | null, collections?: string[] | undefined);
24
+ get connected(): boolean;
25
+ addListener(fn: RealtimeListener): () => void;
26
+ connect(): void;
27
+ disconnect(): void;
28
+ private startStream;
29
+ private readStream;
30
+ private scheduleReconnect;
31
+ }
32
+
33
+ export { type RealtimeEvent as R, RealtimeConnection as a, type RealtimeListener as b };