@01.software/sdk 0.26.0 → 0.27.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.
Files changed (48) hide show
  1. package/README.md +28 -3
  2. package/dist/analytics/react.cjs +249 -0
  3. package/dist/analytics/react.cjs.map +1 -0
  4. package/dist/analytics/react.d.cts +8 -0
  5. package/dist/analytics/react.d.ts +8 -0
  6. package/dist/analytics/react.js +228 -0
  7. package/dist/analytics/react.js.map +1 -0
  8. package/dist/{const-CEiFBZMW.d.cts → const-C0GlmeJ_.d.cts} +5 -5
  9. package/dist/{const-R3AyqOHY.d.ts → const-D-xucnw4.d.ts} +5 -5
  10. package/dist/{image-TT8lTsk5.d.cts → image-BDz2-AaO.d.cts} +1 -1
  11. package/dist/{image-TT8lTsk5.d.ts → image-BDz2-AaO.d.ts} +1 -1
  12. package/dist/index.cjs +13 -3
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +9 -9
  15. package/dist/index.d.ts +9 -9
  16. package/dist/index.js +13 -3
  17. package/dist/index.js.map +1 -1
  18. package/dist/{payload-types-BF8VVFt6.d.cts → payload-types-BPvUmPAq.d.cts} +221 -53
  19. package/dist/{payload-types-BF8VVFt6.d.ts → payload-types-BPvUmPAq.d.ts} +221 -53
  20. package/dist/realtime.d.cts +2 -2
  21. package/dist/realtime.d.ts +2 -2
  22. package/dist/{server-DLdbWJVv.d.cts → server-BINWywT8.d.cts} +1 -1
  23. package/dist/{server-DLdbWJVv.d.ts → server-BINWywT8.d.ts} +1 -1
  24. package/dist/{server-CZrUwqDs.d.cts → server-_zvihptw.d.ts} +27 -4
  25. package/dist/{server-DULueNYi.d.ts → server-n3xK4Nks.d.cts} +27 -4
  26. package/dist/server.cjs +8 -0
  27. package/dist/server.cjs.map +1 -1
  28. package/dist/server.d.cts +4 -4
  29. package/dist/server.d.ts +4 -4
  30. package/dist/server.js +8 -0
  31. package/dist/server.js.map +1 -1
  32. package/dist/{types-CZ1laT6s.d.ts → types-BLdthWiW.d.ts} +1 -1
  33. package/dist/{types-lPRgx_rC.d.cts → types-DzWNu9pw.d.cts} +1 -1
  34. package/dist/ui/canvas/server.d.cts +1 -1
  35. package/dist/ui/canvas/server.d.ts +1 -1
  36. package/dist/ui/canvas.d.cts +3 -3
  37. package/dist/ui/canvas.d.ts +3 -3
  38. package/dist/ui/form.d.cts +1 -1
  39. package/dist/ui/form.d.ts +1 -1
  40. package/dist/ui/image.d.cts +1 -1
  41. package/dist/ui/image.d.ts +1 -1
  42. package/dist/ui/video.d.cts +2 -2
  43. package/dist/ui/video.d.ts +2 -2
  44. package/dist/{video-DbLL8yuc.d.cts → video-WR_TFO9a.d.cts} +1 -1
  45. package/dist/{video-DbLL8yuc.d.ts → video-WR_TFO9a.d.ts} +1 -1
  46. package/dist/webhook.d.cts +3 -3
  47. package/dist/webhook.d.ts +3 -3
  48. package/package.json +42 -26
@@ -160,6 +160,13 @@ interface Config {
160
160
  posts: {
161
161
  comments: 'comments';
162
162
  };
163
+ events: {
164
+ occurrences: 'event-occurrences';
165
+ registrations: 'event-registrations';
166
+ };
167
+ 'event-occurrences': {
168
+ registrations: 'event-registrations';
169
+ };
163
170
  'payload-folders': {
164
171
  documentsAndFolders: 'payload-folders' | 'images' | 'system-media';
165
172
  };
@@ -961,7 +968,7 @@ interface Webhook {
961
968
  /**
962
969
  * Receives create/update events for this collection.
963
970
  */
964
- collection: 'tenant-metadata' | 'tenant-logos' | 'images' | 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-categories' | 'product-tags' | 'product-collections' | 'brands' | 'brand-logos' | 'orders' | 'order-items' | 'transactions' | 'fulfillments' | 'fulfillment-items' | 'returns' | 'return-items' | 'carts' | 'cart-items' | 'discounts' | 'promotions' | 'shipping-policies' | 'customers' | 'customer-profiles' | 'customer-addresses' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-items' | 'gallery-categories' | 'gallery-tags' | 'links' | 'link-categories' | 'link-tags' | 'forms' | 'form-submissions' | 'articles' | 'article-authors' | 'article-categories' | 'article-tags' | 'documents' | 'document-categories' | 'document-types' | 'canvases' | 'canvas-node-types' | 'canvas-edge-types' | 'canvas-categories' | 'canvas-tags' | 'canvas-nodes' | 'canvas-edges' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'customer-profile-lists' | 'reports' | 'community-bans' | 'event-calendars' | 'events' | 'event-categories' | 'event-occurrences' | 'event-tags';
971
+ collection: 'tenant-metadata' | 'tenant-logos' | 'images' | 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-categories' | 'product-tags' | 'product-collections' | 'brands' | 'brand-logos' | 'orders' | 'order-items' | 'transactions' | 'fulfillments' | 'fulfillment-items' | 'returns' | 'return-items' | 'carts' | 'cart-items' | 'discounts' | 'promotions' | 'shipping-policies' | 'customers' | 'customer-profiles' | 'customer-addresses' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-items' | 'gallery-categories' | 'gallery-tags' | 'links' | 'link-categories' | 'link-tags' | 'forms' | 'form-submissions' | 'articles' | 'article-authors' | 'article-categories' | 'article-tags' | 'documents' | 'document-categories' | 'document-types' | 'canvases' | 'canvas-node-types' | 'canvas-edge-types' | 'canvas-categories' | 'canvas-tags' | 'canvas-nodes' | 'canvas-edges' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'customer-profile-lists' | 'event-calendars' | 'events' | 'event-categories' | 'event-occurrences' | 'event-tags';
965
972
  id?: string | null;
966
973
  }[] | null;
967
974
  isActive?: boolean | null;
@@ -1646,7 +1653,7 @@ interface Product {
1646
1653
  id: string;
1647
1654
  _order?: string | null;
1648
1655
  tenant?: (string | null) | Tenant;
1649
- title: string;
1656
+ title?: string | null;
1650
1657
  /**
1651
1658
  * Secondary display line shown in cards, listings, and detail headers.
1652
1659
  */
@@ -1714,13 +1721,37 @@ interface Product {
1714
1721
  * Derived listing projection for product cards and search
1715
1722
  */
1716
1723
  listing?: {
1724
+ /**
1725
+ * Variant prioritized for product cards. Automatically derived from sellable variants, active variants, and sort order.
1726
+ */
1717
1727
  selectionHintVariant?: (string | null) | ProductVariant;
1728
+ /**
1729
+ * Primary image for product cards/search. Product media is preferred, then variant media is used as fallback.
1730
+ */
1718
1731
  primaryImage?: (string | null) | Image;
1732
+ /**
1733
+ * Lowest active variant price. Automatically recalculated when variants change.
1734
+ */
1719
1735
  minPrice?: number | null;
1736
+ /**
1737
+ * Highest active variant price. Automatically recalculated when variants change.
1738
+ */
1720
1739
  maxPrice?: number | null;
1740
+ /**
1741
+ * Lowest compare-at price across active variants. Automatically recalculated when variants change.
1742
+ */
1721
1743
  minCompareAtPrice?: number | null;
1744
+ /**
1745
+ * Highest compare-at price across active variants. Automatically recalculated when variants change.
1746
+ */
1722
1747
  maxCompareAtPrice?: number | null;
1748
+ /**
1749
+ * Automatically enabled when the minimum and maximum active variant prices differ.
1750
+ */
1723
1751
  isPriceRange?: boolean | null;
1752
+ /**
1753
+ * Automatically enabled when at least one active variant is sellable.
1754
+ */
1724
1755
  availableForSale?: boolean | null;
1725
1756
  };
1726
1757
  metadata?: {
@@ -1785,7 +1816,7 @@ interface Product {
1785
1816
  interface Video {
1786
1817
  id: string;
1787
1818
  tenant?: (string | null) | Tenant;
1788
- title: string;
1819
+ title?: string | null;
1789
1820
  /**
1790
1821
  * Secondary display line shown in cards, listings, and detail headers.
1791
1822
  */
@@ -1892,7 +1923,7 @@ interface Video {
1892
1923
  interface LiveStream {
1893
1924
  id: string;
1894
1925
  tenant?: (string | null) | Tenant;
1895
- title: string;
1926
+ title?: string | null;
1896
1927
  /**
1897
1928
  * Secondary display line shown in cards, listings, and detail headers.
1898
1929
  */
@@ -1985,7 +2016,7 @@ interface VideoCategory {
1985
2016
  id: string;
1986
2017
  _order?: string | null;
1987
2018
  tenant?: (string | null) | Tenant;
1988
- title: string;
2019
+ title?: string | null;
1989
2020
  /**
1990
2021
  * When enabled, the slug will auto-generate from the title field on save and autosave.
1991
2022
  */
@@ -2010,7 +2041,7 @@ interface VideoTag {
2010
2041
  id: string;
2011
2042
  _order?: string | null;
2012
2043
  tenant?: (string | null) | Tenant;
2013
- title: string;
2044
+ title?: string | null;
2014
2045
  /**
2015
2046
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2016
2047
  */
@@ -2036,7 +2067,13 @@ interface ProductVariant {
2036
2067
  '_product-variants_variants_order'?: string | null;
2037
2068
  _order?: string | null;
2038
2069
  tenant?: (string | null) | Tenant;
2070
+ /**
2071
+ * Parent product for this variant. It cannot be moved to another product after creation.
2072
+ */
2039
2073
  product: string | Product;
2074
+ /**
2075
+ * Optional variant display label. The option value combination remains the canonical variant identity.
2076
+ */
2040
2077
  title?: string | null;
2041
2078
  thumbnail?: (string | null) | Image;
2042
2079
  images?: (string | Image)[] | null;
@@ -2056,6 +2093,9 @@ interface ProductVariant {
2056
2093
  * Sell without tracking inventory
2057
2094
  */
2058
2095
  isUnlimited?: boolean | null;
2096
+ /**
2097
+ * Tracked inventory. Available quantity is stock - reservedStock; isUnlimited bypasses stock tracking.
2098
+ */
2059
2099
  stock?: number | null;
2060
2100
  /**
2061
2101
  * Paid orders in transit (available quantity is stock - reservedStock)
@@ -2069,6 +2109,9 @@ interface ProductVariant {
2069
2109
  * Variant-specific weight (g)
2070
2110
  */
2071
2111
  weight?: number | null;
2112
+ /**
2113
+ * Enable for physical variants that require shipping.
2114
+ */
2072
2115
  requiresShipping?: boolean | null;
2073
2116
  /**
2074
2117
  * External system ID
@@ -2096,6 +2139,9 @@ interface ProductOptionValue {
2096
2139
  '_product-option-values_values_order'?: string | null;
2097
2140
  _order?: string | null;
2098
2141
  tenant?: (string | null) | Tenant;
2142
+ /**
2143
+ * Parent option for this value. It cannot be moved to another option after creation.
2144
+ */
2099
2145
  option: string | ProductOption;
2100
2146
  /**
2101
2147
  * Display label (e.g. Black, S)
@@ -2128,6 +2174,9 @@ interface ProductOption {
2128
2174
  '_product-options_options_order'?: string | null;
2129
2175
  _order?: string | null;
2130
2176
  tenant?: (string | null) | Tenant;
2177
+ /**
2178
+ * Parent product for this option. It cannot be moved to another product after creation.
2179
+ */
2131
2180
  product: string | Product;
2132
2181
  /**
2133
2182
  * Option name (e.g. Color, Size)
@@ -2150,7 +2199,7 @@ interface ProductCategory {
2150
2199
  id: string;
2151
2200
  _order?: string | null;
2152
2201
  tenant?: (string | null) | Tenant;
2153
- title: string;
2202
+ title?: string | null;
2154
2203
  /**
2155
2204
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2156
2205
  */
@@ -2175,7 +2224,7 @@ interface ProductTag {
2175
2224
  id: string;
2176
2225
  _order?: string | null;
2177
2226
  tenant?: (string | null) | Tenant;
2178
- title: string;
2227
+ title?: string | null;
2179
2228
  /**
2180
2229
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2181
2230
  */
@@ -2389,7 +2438,7 @@ interface ShippingPolicy {
2389
2438
  /**
2390
2439
  * e.g. Standard shipping, Large items
2391
2440
  */
2392
- title: string;
2441
+ title?: string | null;
2393
2442
  /**
2394
2443
  * Amount in KRW (won)
2395
2444
  */
@@ -2436,7 +2485,7 @@ interface ProductCollection {
2436
2485
  id: string;
2437
2486
  _order?: string | null;
2438
2487
  tenant?: (string | null) | Tenant;
2439
- title: string;
2488
+ title?: string | null;
2440
2489
  /**
2441
2490
  * Secondary display line shown in cards, listings, and detail headers.
2442
2491
  */
@@ -2760,7 +2809,7 @@ interface CustomerGroup {
2760
2809
  id: string;
2761
2810
  _order?: string | null;
2762
2811
  tenant?: (string | null) | Tenant;
2763
- title: string;
2812
+ title?: string | null;
2764
2813
  /**
2765
2814
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2766
2815
  */
@@ -2962,6 +3011,12 @@ interface Transaction {
2962
3011
  receiptUrl?: string | null;
2963
3012
  pgPaymentId?: string | null;
2964
3013
  pgOrderId?: string | null;
3014
+ providerEventId?: string | null;
3015
+ providerStatus?: string | null;
3016
+ confirmedAmount?: number | null;
3017
+ confirmedCurrency?: string | null;
3018
+ confirmedAt?: string | null;
3019
+ confirmationSource?: ('provider_webhook' | 'provider_lookup' | 'provider_api_confirm' | 'manual_server') | null;
2965
3020
  cashReceipt?: {
2966
3021
  issuanceType?: ('none' | 'personal' | 'business') | null;
2967
3022
  /**
@@ -3145,7 +3200,7 @@ interface CustomerProfileList {
3145
3200
  id: string;
3146
3201
  _order?: string | null;
3147
3202
  tenant?: (string | null) | Tenant;
3148
- title: string;
3203
+ title?: string | null;
3149
3204
  /**
3150
3205
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3151
3206
  */
@@ -3379,7 +3434,7 @@ interface Article {
3379
3434
  id: string;
3380
3435
  _order?: string | null;
3381
3436
  tenant?: (string | null) | Tenant;
3382
- title: string;
3437
+ title?: string | null;
3383
3438
  /**
3384
3439
  * Secondary display line shown in cards, listings, and detail headers.
3385
3440
  */
@@ -3522,7 +3577,7 @@ interface ArticleCategory {
3522
3577
  id: string;
3523
3578
  _order?: string | null;
3524
3579
  tenant?: (string | null) | Tenant;
3525
- title: string;
3580
+ title?: string | null;
3526
3581
  /**
3527
3582
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3528
3583
  */
@@ -3547,7 +3602,7 @@ interface ArticleTag {
3547
3602
  id: string;
3548
3603
  _order?: string | null;
3549
3604
  tenant?: (string | null) | Tenant;
3550
- title: string;
3605
+ title?: string | null;
3551
3606
  /**
3552
3607
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3553
3608
  */
@@ -3572,7 +3627,7 @@ interface Document {
3572
3627
  id: string;
3573
3628
  _order?: string | null;
3574
3629
  tenant?: (string | null) | Tenant;
3575
- title: string;
3630
+ title?: string | null;
3576
3631
  /**
3577
3632
  * Secondary display line shown in cards, listings, and detail headers.
3578
3633
  */
@@ -3692,7 +3747,7 @@ interface DocumentCategory {
3692
3747
  id: string;
3693
3748
  _order?: string | null;
3694
3749
  tenant?: (string | null) | Tenant;
3695
- title: string;
3750
+ title?: string | null;
3696
3751
  /**
3697
3752
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3698
3753
  */
@@ -3717,7 +3772,7 @@ interface DocumentType {
3717
3772
  id: string;
3718
3773
  _order?: string | null;
3719
3774
  tenant?: (string | null) | Tenant;
3720
- title: string;
3775
+ title?: string | null;
3721
3776
  /**
3722
3777
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3723
3778
  */
@@ -3741,7 +3796,7 @@ interface Playlist {
3741
3796
  id: string;
3742
3797
  _order?: string | null;
3743
3798
  tenant?: (string | null) | Tenant;
3744
- title: string;
3799
+ title?: string | null;
3745
3800
  /**
3746
3801
  * Secondary display line shown in cards, listings, and detail headers.
3747
3802
  */
@@ -3815,7 +3870,7 @@ interface PlaylistCategory {
3815
3870
  id: string;
3816
3871
  _order?: string | null;
3817
3872
  tenant?: (string | null) | Tenant;
3818
- title: string;
3873
+ title?: string | null;
3819
3874
  /**
3820
3875
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3821
3876
  */
@@ -3840,7 +3895,7 @@ interface PlaylistTag {
3840
3895
  id: string;
3841
3896
  _order?: string | null;
3842
3897
  tenant?: (string | null) | Tenant;
3843
- title: string;
3898
+ title?: string | null;
3844
3899
  /**
3845
3900
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3846
3901
  */
@@ -3865,7 +3920,7 @@ interface Track {
3865
3920
  id: string;
3866
3921
  _order?: string | null;
3867
3922
  tenant?: (string | null) | Tenant;
3868
- title: string;
3923
+ title?: string | null;
3869
3924
  /**
3870
3925
  * Short summary for listing/cards
3871
3926
  */
@@ -3932,7 +3987,7 @@ interface TrackCategory {
3932
3987
  id: string;
3933
3988
  _order?: string | null;
3934
3989
  tenant?: (string | null) | Tenant;
3935
- title: string;
3990
+ title?: string | null;
3936
3991
  /**
3937
3992
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3938
3993
  */
@@ -3957,7 +4012,7 @@ interface TrackTag {
3957
4012
  id: string;
3958
4013
  _order?: string | null;
3959
4014
  tenant?: (string | null) | Tenant;
3960
- title: string;
4015
+ title?: string | null;
3961
4016
  /**
3962
4017
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3963
4018
  */
@@ -4007,7 +4062,7 @@ interface Gallery {
4007
4062
  id: string;
4008
4063
  _order?: string | null;
4009
4064
  tenant?: (string | null) | Tenant;
4010
- title: string;
4065
+ title?: string | null;
4011
4066
  /**
4012
4067
  * Secondary display line shown in cards, listings, and detail headers.
4013
4068
  */
@@ -4084,7 +4139,7 @@ interface GalleryCategory {
4084
4139
  id: string;
4085
4140
  _order?: string | null;
4086
4141
  tenant?: (string | null) | Tenant;
4087
- title: string;
4142
+ title?: string | null;
4088
4143
  /**
4089
4144
  * When enabled, the slug will auto-generate from the title field on save and autosave.
4090
4145
  */
@@ -4109,7 +4164,7 @@ interface GalleryTag {
4109
4164
  id: string;
4110
4165
  _order?: string | null;
4111
4166
  tenant?: (string | null) | Tenant;
4112
- title: string;
4167
+ title?: string | null;
4113
4168
  /**
4114
4169
  * When enabled, the slug will auto-generate from the title field on save and autosave.
4115
4170
  */
@@ -4173,7 +4228,7 @@ interface Link {
4173
4228
  id: string;
4174
4229
  _order?: string | null;
4175
4230
  tenant?: (string | null) | Tenant;
4176
- title: string;
4231
+ title?: string | null;
4177
4232
  /**
4178
4233
  * Secondary display line shown in cards, listings, and detail headers.
4179
4234
  */
@@ -4235,7 +4290,7 @@ interface LinkCategory {
4235
4290
  id: string;
4236
4291
  _order?: string | null;
4237
4292
  tenant?: (string | null) | Tenant;
4238
- title: string;
4293
+ title?: string | null;
4239
4294
  /**
4240
4295
  * When enabled, the slug will auto-generate from the title field on save and autosave.
4241
4296
  */
@@ -4260,7 +4315,7 @@ interface LinkTag {
4260
4315
  id: string;
4261
4316
  _order?: string | null;
4262
4317
  tenant?: (string | null) | Tenant;
4263
- title: string;
4318
+ title?: string | null;
4264
4319
  /**
4265
4320
  * When enabled, the slug will auto-generate from the title field on save and autosave.
4266
4321
  */
@@ -4284,7 +4339,7 @@ interface LinkTag {
4284
4339
  interface Canvase {
4285
4340
  id: string;
4286
4341
  tenant?: (string | null) | Tenant;
4287
- title: string;
4342
+ title?: string | null;
4288
4343
  /**
4289
4344
  * Secondary display line shown in cards, listings, and detail headers.
4290
4345
  */
@@ -4355,7 +4410,7 @@ interface CanvasCategory {
4355
4410
  id: string;
4356
4411
  _order?: string | null;
4357
4412
  tenant?: (string | null) | Tenant;
4358
- title: string;
4413
+ title?: string | null;
4359
4414
  /**
4360
4415
  * When enabled, the slug will auto-generate from the title field on save and autosave.
4361
4416
  */
@@ -4380,7 +4435,7 @@ interface CanvasTag {
4380
4435
  id: string;
4381
4436
  _order?: string | null;
4382
4437
  tenant?: (string | null) | Tenant;
4383
- title: string;
4438
+ title?: string | null;
4384
4439
  /**
4385
4440
  * When enabled, the slug will auto-generate from the title field on save and autosave.
4386
4441
  */
@@ -4405,7 +4460,7 @@ interface CanvasNodeType {
4405
4460
  id: string;
4406
4461
  _order?: string | null;
4407
4462
  tenant?: (string | null) | Tenant;
4408
- title: string;
4463
+ title?: string | null;
4409
4464
  /**
4410
4465
  * When enabled, the slug will auto-generate from the title field on save and autosave.
4411
4466
  */
@@ -4470,7 +4525,7 @@ interface CanvasEdgeType {
4470
4525
  id: string;
4471
4526
  _order?: string | null;
4472
4527
  tenant?: (string | null) | Tenant;
4473
- title: string;
4528
+ title?: string | null;
4474
4529
  /**
4475
4530
  * When enabled, the slug will auto-generate from the title field on save and autosave.
4476
4531
  */
@@ -4667,7 +4722,7 @@ interface PostCategory {
4667
4722
  id: string;
4668
4723
  _order?: string | null;
4669
4724
  tenant?: (string | null) | Tenant;
4670
- title: string;
4725
+ title?: string | null;
4671
4726
  /**
4672
4727
  * When enabled, the slug will auto-generate from the title field on save and autosave.
4673
4728
  */
@@ -4758,7 +4813,7 @@ interface ReactionType {
4758
4813
  id: string;
4759
4814
  _order?: string | null;
4760
4815
  tenant?: (string | null) | Tenant;
4761
- title: string;
4816
+ title?: string | null;
4762
4817
  /**
4763
4818
  * When enabled, the slug will auto-generate from the title field on save and autosave.
4764
4819
  */
@@ -4852,7 +4907,7 @@ interface EventCalendar {
4852
4907
  id: string;
4853
4908
  _order?: string | null;
4854
4909
  tenant?: (string | null) | Tenant;
4855
- title: string;
4910
+ title?: string | null;
4856
4911
  /**
4857
4912
  * Secondary display line shown in cards, listings, and detail headers.
4858
4913
  */
@@ -4876,8 +4931,17 @@ interface EventCalendar {
4876
4931
  };
4877
4932
  [k: string]: unknown;
4878
4933
  } | null;
4934
+ /**
4935
+ * Default listing behavior for the public event calendar.
4936
+ */
4879
4937
  publicListing?: {
4938
+ /**
4939
+ * Controls whether public listings include past occurrences.
4940
+ */
4880
4941
  showPastOccurrences?: boolean | null;
4942
+ /**
4943
+ * Default number of future months shown in public listings.
4944
+ */
4881
4945
  defaultRangeMonths?: number | null;
4882
4946
  };
4883
4947
  seo?: {
@@ -4918,9 +4982,15 @@ interface EventCalendar {
4918
4982
  generateSlug?: boolean | null;
4919
4983
  slug?: string | null;
4920
4984
  status?: ('draft' | 'published' | 'archived') | null;
4921
- timezone: string;
4985
+ /**
4986
+ * Default IANA time zone for this calendar.
4987
+ */
4988
+ timezone?: string | null;
4922
4989
  color?: string | null;
4923
- visibility: 'public' | 'unlisted' | 'members' | 'private';
4990
+ /**
4991
+ * Visibility for the tenant-global calendar.
4992
+ */
4993
+ visibility?: ('public' | 'unlisted' | 'private') | null;
4924
4994
  publishedAt?: string | null;
4925
4995
  metadata?: {
4926
4996
  [k: string]: unknown;
@@ -4937,7 +5007,7 @@ interface Event {
4937
5007
  id: string;
4938
5008
  _order?: string | null;
4939
5009
  tenant?: (string | null) | Tenant;
4940
- title: string;
5010
+ title?: string | null;
4941
5011
  /**
4942
5012
  * Secondary display line shown in cards, listings, and detail headers.
4943
5013
  */
@@ -4967,15 +5037,30 @@ interface Event {
4967
5037
  * Products shown with this event. Available only when the Event commerce recipe is active for the tenant.
4968
5038
  */
4969
5039
  products?: (string | Product)[] | null;
5040
+ /**
5041
+ * Organizer display details. Linked users must belong to the same workspace.
5042
+ */
4970
5043
  organizer?: {
4971
5044
  name?: string | null;
4972
5045
  url?: string | null;
4973
5046
  user?: (string | null) | User;
4974
5047
  };
5048
+ /**
5049
+ * Primary start time. For recurring events, this is the first occurrence anchor.
5050
+ */
4975
5051
  startsAt: string;
5052
+ /**
5053
+ * Primary end time. Must be after the start time.
5054
+ */
4976
5055
  endsAt: string;
4977
- timezone: string;
5056
+ /**
5057
+ * IANA time zone used to expand recurring occurrences.
5058
+ */
5059
+ timezone?: string | null;
4978
5060
  isAllDay?: boolean | null;
5061
+ /**
5062
+ * Optional. Leave empty for a one-time event.
5063
+ */
4979
5064
  recurrence?: {
4980
5065
  /**
4981
5066
  * RFC 5545 RRULE string
@@ -4989,8 +5074,14 @@ interface Event {
4989
5074
  date?: string | null;
4990
5075
  id?: string | null;
4991
5076
  }[] | null;
5077
+ /**
5078
+ * Number of future months to materialize. Allowed range is 1-12.
5079
+ */
4992
5080
  materializationMonths?: number | null;
4993
5081
  };
5082
+ /**
5083
+ * Location details shown to attendees. Private notes are hidden from public API reads.
5084
+ */
4994
5085
  location?: {
4995
5086
  type?: ('physical' | 'online' | 'hybrid' | 'hidden') | null;
4996
5087
  name?: string | null;
@@ -4999,9 +5090,34 @@ interface Event {
4999
5090
  onlineNote?: string | null;
5000
5091
  privateNote?: string | null;
5001
5092
  };
5093
+ /**
5094
+ * Registration mode. RSVP goes straight to Going; Approval stays pending until an operator approves it.
5095
+ */
5002
5096
  registrationPolicy?: ('none' | 'rsvp' | 'approval' | 'external') | null;
5097
+ /**
5098
+ * Controls whether full RSVP events accept waitlisted registrations.
5099
+ */
5003
5100
  waitlistPolicy?: ('disabled' | 'auto_waitlist') | null;
5101
+ /**
5102
+ * URL used when registration is handled outside this workspace.
5103
+ */
5004
5104
  externalRegistrationUrl?: string | null;
5105
+ /**
5106
+ * Occurrences generated for this event. Review schedule, capacity, and registration counts here, then open an occurrence to adjust operational values.
5107
+ */
5108
+ occurrences?: {
5109
+ docs?: (string | EventOccurrence)[];
5110
+ hasNextPage?: boolean;
5111
+ totalDocs?: number;
5112
+ };
5113
+ /**
5114
+ * Registrations for this event. Creation and lifecycle status changes are handled by the registration collection and lifecycle actions.
5115
+ */
5116
+ registrations?: {
5117
+ docs?: (string | EventRegistration)[];
5118
+ hasNextPage?: boolean;
5119
+ totalDocs?: number;
5120
+ };
5005
5121
  seo?: {
5006
5122
  /**
5007
5123
  * Search result title (falls back to document title)
@@ -5039,10 +5155,19 @@ interface Event {
5039
5155
  */
5040
5156
  generateSlug?: boolean | null;
5041
5157
  slug?: string | null;
5042
- status: 'draft' | 'published' | 'archived' | 'canceled';
5158
+ status?: ('draft' | 'published' | 'archived' | 'canceled') | null;
5043
5159
  coverImage?: (string | null) | Image;
5044
- visibility: 'inherit' | 'public' | 'unlisted' | 'members' | 'private';
5160
+ /**
5161
+ * Public API visibility. Unlisted events are hidden from listings but remain available by direct lookup.
5162
+ */
5163
+ visibility?: ('public' | 'unlisted' | 'private') | null;
5164
+ /**
5165
+ * Marks whether this event is authored here or imported from an external source.
5166
+ */
5045
5167
  sourceType?: ('native' | 'external') | null;
5168
+ /**
5169
+ * External event identity. Public API reads expose only provider and URL.
5170
+ */
5046
5171
  externalSource?: {
5047
5172
  provider?: string | null;
5048
5173
  sourceId?: string | null;
@@ -5064,7 +5189,7 @@ interface EventCategory {
5064
5189
  id: string;
5065
5190
  _order?: string | null;
5066
5191
  tenant?: (string | null) | Tenant;
5067
- title: string;
5192
+ title?: string | null;
5068
5193
  /**
5069
5194
  * When enabled, the slug will auto-generate from the title field on save and autosave.
5070
5195
  */
@@ -5089,7 +5214,7 @@ interface EventTag {
5089
5214
  id: string;
5090
5215
  _order?: string | null;
5091
5216
  tenant?: (string | null) | Tenant;
5092
- title: string;
5217
+ title?: string | null;
5093
5218
  /**
5094
5219
  * When enabled, the slug will auto-generate from the title field on save and autosave.
5095
5220
  */
@@ -5113,16 +5238,20 @@ interface EventTag {
5113
5238
  interface EventOccurrence {
5114
5239
  id: string;
5115
5240
  tenant?: (string | null) | Tenant;
5241
+ /**
5242
+ * Human-readable occurrence title shown in relationship fields and lists. Generated from the event title and start time.
5243
+ */
5244
+ displayTitle?: string | null;
5116
5245
  event: string | Event;
5117
5246
  /**
5118
5247
  * RECURRENCE-ID based on original DTSTART
5119
5248
  */
5120
- instanceKey: string;
5249
+ instanceKey?: string | null;
5121
5250
  startsAt: string;
5122
5251
  endsAt: string;
5123
- timezone: string;
5252
+ timezone?: string | null;
5124
5253
  isAllDay?: boolean | null;
5125
- status: 'scheduled' | 'canceled' | 'completed';
5254
+ status?: ('scheduled' | 'canceled' | 'completed') | null;
5126
5255
  /**
5127
5256
  * Location override for this occurrence only. Leave empty to use the event default location.
5128
5257
  */
@@ -5134,7 +5263,7 @@ interface EventOccurrence {
5134
5263
  privateNote?: string | null;
5135
5264
  };
5136
5265
  /**
5137
- * Capacity for this occurrence. Leave empty to inherit the event default registration settings.
5266
+ * Capacity for this occurrence. Leave empty for unlimited registrations.
5138
5267
  */
5139
5268
  capacity?: number | null;
5140
5269
  registrationCount?: number | null;
@@ -5143,6 +5272,14 @@ interface EventOccurrence {
5143
5272
  opensAt?: string | null;
5144
5273
  closesAt?: string | null;
5145
5274
  };
5275
+ /**
5276
+ * Registrations linked to this occurrence. Registration status and check-in are managed through the registration collection and lifecycle actions.
5277
+ */
5278
+ registrations?: {
5279
+ docs?: (string | EventRegistration)[];
5280
+ hasNextPage?: boolean;
5281
+ totalDocs?: number;
5282
+ };
5146
5283
  cancellation?: {
5147
5284
  canceledAt?: string | null;
5148
5285
  reason?: string | null;
@@ -5161,15 +5298,30 @@ interface EventOccurrence {
5161
5298
  interface EventRegistration {
5162
5299
  id: string;
5163
5300
  tenant?: (string | null) | Tenant;
5301
+ /**
5302
+ * Event this registration belongs to.
5303
+ */
5164
5304
  event: string | Event;
5305
+ /**
5306
+ * Occurrence this registration belongs to. Must belong to the same workspace as the event.
5307
+ */
5165
5308
  occurrence: string | EventOccurrence;
5309
+ /**
5310
+ * Linked customer for authenticated registrations. Guest registrations may leave this empty.
5311
+ */
5166
5312
  customer?: (string | null) | Customer;
5167
- registrationStatus: 'pending' | 'going' | 'waitlisted' | 'declined' | 'canceled';
5168
- attendanceStatus: 'not_checked_in' | 'checked_in' | 'no_show';
5313
+ /**
5314
+ * Registration lifecycle status used for capacity accounting. Managed separately from attendance status.
5315
+ */
5316
+ registrationStatus?: ('pending' | 'going' | 'waitlisted' | 'declined' | 'canceled') | null;
5317
+ /**
5318
+ * On-site attendance state. It changes to checked-in or no-show only for going registrations.
5319
+ */
5320
+ attendanceStatus?: ('not_checked_in' | 'checked_in' | 'no_show') | null;
5169
5321
  /**
5170
5322
  * Number of attendees for this registration. Used for ticketing and capacity calculations.
5171
5323
  */
5172
- quantity: number;
5324
+ quantity?: number | null;
5173
5325
  /**
5174
5326
  * PII snapshot captured at registration time. Hidden from publishable-key reads and subject to retention cleanup.
5175
5327
  */
@@ -5198,10 +5350,16 @@ interface EventRegistration {
5198
5350
  approvedBy?: (string | null) | User;
5199
5351
  note?: string | null;
5200
5352
  };
5353
+ /**
5354
+ * Cancellation timestamp and internal reason. Hidden from public API reads.
5355
+ */
5201
5356
  cancellation?: {
5202
5357
  canceledAt?: string | null;
5203
5358
  reason?: string | null;
5204
5359
  };
5360
+ /**
5361
+ * Check-in audit data written by operator actions.
5362
+ */
5205
5363
  checkIn?: {
5206
5364
  checkedInAt?: string | null;
5207
5365
  checkedInBy?: (string | null) | User;
@@ -6678,6 +6836,12 @@ interface TransactionsSelect<T extends boolean = true> {
6678
6836
  receiptUrl?: T;
6679
6837
  pgPaymentId?: T;
6680
6838
  pgOrderId?: T;
6839
+ providerEventId?: T;
6840
+ providerStatus?: T;
6841
+ confirmedAmount?: T;
6842
+ confirmedCurrency?: T;
6843
+ confirmedAt?: T;
6844
+ confirmationSource?: T;
6681
6845
  cashReceipt?: T | {
6682
6846
  issuanceType?: T;
6683
6847
  registrationNumber?: T;
@@ -8169,6 +8333,8 @@ interface EventsSelect<T extends boolean = true> {
8169
8333
  registrationPolicy?: T;
8170
8334
  waitlistPolicy?: T;
8171
8335
  externalRegistrationUrl?: T;
8336
+ occurrences?: T;
8337
+ registrations?: T;
8172
8338
  seo?: T | {
8173
8339
  title?: T;
8174
8340
  description?: T;
@@ -8239,6 +8405,7 @@ interface EventTagsSelect<T extends boolean = true> {
8239
8405
  */
8240
8406
  interface EventOccurrencesSelect<T extends boolean = true> {
8241
8407
  tenant?: T;
8408
+ displayTitle?: T;
8242
8409
  event?: T;
8243
8410
  instanceKey?: T;
8244
8411
  startsAt?: T;
@@ -8260,6 +8427,7 @@ interface EventOccurrencesSelect<T extends boolean = true> {
8260
8427
  opensAt?: T;
8261
8428
  closesAt?: T;
8262
8429
  };
8430
+ registrations?: T;
8263
8431
  cancellation?: T | {
8264
8432
  canceledAt?: T;
8265
8433
  reason?: T;