@01.software/sdk 0.17.0 → 0.18.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.
@@ -22,8 +22,6 @@ interface Config {
22
22
  'webhook-deliveries': WebhookDelivery;
23
23
  tenants: Tenant;
24
24
  'tenant-metadata': TenantMetadatum;
25
- 'tenant-auth-settings': TenantAuthSetting;
26
- 'tenant-community-settings': TenantCommunitySetting;
27
25
  'api-usage': ApiUsage;
28
26
  'tenant-analytics-daily': TenantAnalyticsDaily;
29
27
  'analytics-event-schemas': AnalyticsEventSchema;
@@ -99,6 +97,11 @@ interface Config {
99
97
  'thread-categories': ThreadCategory;
100
98
  reports: Report;
101
99
  'community-bans': CommunityBan;
100
+ 'event-calendars': EventCalendar;
101
+ events: Event;
102
+ 'event-tags': EventTag;
103
+ 'event-occurrences': EventOccurrence;
104
+ 'event-registrations': EventRegistration;
102
105
  forms: Form;
103
106
  'form-submissions': FormSubmission;
104
107
  'payload-kv': PayloadKv;
@@ -165,8 +168,6 @@ interface Config {
165
168
  'webhook-deliveries': WebhookDeliveriesSelect<false> | WebhookDeliveriesSelect<true>;
166
169
  tenants: TenantsSelect<false> | TenantsSelect<true>;
167
170
  'tenant-metadata': TenantMetadataSelect<false> | TenantMetadataSelect<true>;
168
- 'tenant-auth-settings': TenantAuthSettingsSelect<false> | TenantAuthSettingsSelect<true>;
169
- 'tenant-community-settings': TenantCommunitySettingsSelect<false> | TenantCommunitySettingsSelect<true>;
170
171
  'api-usage': ApiUsageSelect<false> | ApiUsageSelect<true>;
171
172
  'tenant-analytics-daily': TenantAnalyticsDailySelect<false> | TenantAnalyticsDailySelect<true>;
172
173
  'analytics-event-schemas': AnalyticsEventSchemasSelect<false> | AnalyticsEventSchemasSelect<true>;
@@ -242,6 +243,11 @@ interface Config {
242
243
  'thread-categories': ThreadCategoriesSelect<false> | ThreadCategoriesSelect<true>;
243
244
  reports: ReportsSelect<false> | ReportsSelect<true>;
244
245
  'community-bans': CommunityBansSelect<false> | CommunityBansSelect<true>;
246
+ 'event-calendars': EventCalendarsSelect<false> | EventCalendarsSelect<true>;
247
+ events: EventsSelect<false> | EventsSelect<true>;
248
+ 'event-tags': EventTagsSelect<false> | EventTagsSelect<true>;
249
+ 'event-occurrences': EventOccurrencesSelect<false> | EventOccurrencesSelect<true>;
250
+ 'event-registrations': EventRegistrationsSelect<false> | EventRegistrationsSelect<true>;
245
251
  forms: FormsSelect<false> | FormsSelect<true>;
246
252
  'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
247
253
  'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
@@ -408,14 +414,14 @@ interface Tenant {
408
414
  * Features available to this tenant. Determined automatically by the plan.
409
415
  */
410
416
  features?: {
411
- feature: 'ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community';
417
+ feature: 'ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events';
412
418
  provenance: string;
413
419
  id?: string | null;
414
420
  }[] | null;
415
421
  /**
416
422
  * Features this tenant has opted out of. Only effective for features granted by the plan.
417
423
  */
418
- disabledFeatures?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community')[] | null;
424
+ disabledFeatures?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events')[] | null;
419
425
  /**
420
426
  * Dev mode shows configuration tools like the field settings panel. Turn off after setup for a clean production UI.
421
427
  */
@@ -440,10 +446,6 @@ interface Tenant {
440
446
  * e.g. Main Server, Analytics
441
447
  */
442
448
  name?: string | null;
443
- /**
444
- * Choose what this webhook should receive. Leave empty to receive every change notification.
445
- */
446
- purpose?: ('events' | 'verification' | 'password-reset') | null;
447
449
  /**
448
450
  * The URL to send webhooks to. Must be HTTPS.
449
451
  */
@@ -568,7 +570,7 @@ interface Image {
568
570
  interface FieldConfig {
569
571
  id: string;
570
572
  tenant?: (string | null) | Tenant;
571
- 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' | 'customer-profiles' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-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';
573
+ 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' | 'customer-profiles' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-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' | 'event-calendars' | 'events' | 'event-tags' | 'event-occurrences' | 'event-registrations';
572
574
  isHidden?: boolean | null;
573
575
  hiddenFields?: {
574
576
  [k: string]: unknown;
@@ -1039,36 +1041,6 @@ interface BrandLogo {
1039
1041
  };
1040
1042
  };
1041
1043
  }
1042
- /**
1043
- * This interface was referenced by `Config`'s JSON-Schema
1044
- * via the `definition` "tenant-auth-settings".
1045
- */
1046
- interface TenantAuthSetting {
1047
- id: string;
1048
- tenant?: (string | null) | Tenant;
1049
- /**
1050
- * Require customer email verification before registration-dependent auth flows proceed.
1051
- */
1052
- requiresEmailVerification?: boolean | null;
1053
- updatedAt: string;
1054
- createdAt: string;
1055
- deletedAt?: string | null;
1056
- }
1057
- /**
1058
- * This interface was referenced by `Config`'s JSON-Schema
1059
- * via the `definition` "tenant-community-settings".
1060
- */
1061
- interface TenantCommunitySetting {
1062
- id: string;
1063
- tenant?: (string | null) | Tenant;
1064
- /**
1065
- * When enabled, new customer-created threads remain pending until approved by an admin.
1066
- */
1067
- requiresPostApproval?: boolean | null;
1068
- updatedAt: string;
1069
- createdAt: string;
1070
- deletedAt?: string | null;
1071
- }
1072
1044
  /**
1073
1045
  * This interface was referenced by `Config`'s JSON-Schema
1074
1046
  * via the `definition` "api-usage".
@@ -1375,7 +1347,7 @@ interface Plan {
1375
1347
  /**
1376
1348
  * Features allowed for this plan
1377
1349
  */
1378
- featuresAllowed?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community')[] | null;
1350
+ featuresAllowed?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events')[] | null;
1379
1351
  /**
1380
1352
  * Quota limits (storageBytes, apiPerMonth, ...)
1381
1353
  */
@@ -2367,7 +2339,6 @@ interface Customer {
2367
2339
  * External provider user ID
2368
2340
  */
2369
2341
  providerUserId?: string | null;
2370
- isEmailVerified?: boolean | null;
2371
2342
  lastLoginAt?: string | null;
2372
2343
  /**
2373
2344
  * Last password change timestamp (used for JWT revocation)
@@ -2442,7 +2413,6 @@ interface Customer {
2442
2413
  anonymizedAt?: string | null;
2443
2414
  hashedPassword?: string | null;
2444
2415
  salt?: string | null;
2445
- verificationToken?: string | null;
2446
2416
  resetPasswordToken?: string | null;
2447
2417
  resetPasswordExpiresAt?: string | null;
2448
2418
  loginAttemptCount?: number | null;
@@ -2553,8 +2523,11 @@ interface CustomerProfile {
2553
2523
  id: string;
2554
2524
  tenant?: (string | null) | Tenant;
2555
2525
  customer: string | Customer;
2526
+ /**
2527
+ * Public username shown like @01works.
2528
+ */
2556
2529
  handle?: string | null;
2557
- displayName: string;
2530
+ displayName?: string | null;
2558
2531
  avatar?: (string | null) | Image;
2559
2532
  bio?: string | null;
2560
2533
  bioRichText?: {
@@ -2572,7 +2545,7 @@ interface CustomerProfile {
2572
2545
  };
2573
2546
  [k: string]: unknown;
2574
2547
  } | null;
2575
- joinedAt: string;
2548
+ joinedAt?: string | null;
2576
2549
  isPublic?: boolean | null;
2577
2550
  anonymizedAt?: string | null;
2578
2551
  metadata?: {
@@ -4374,6 +4347,331 @@ interface CommunityBan {
4374
4347
  updatedAt: string;
4375
4348
  createdAt: string;
4376
4349
  }
4350
+ /**
4351
+ * This interface was referenced by `Config`'s JSON-Schema
4352
+ * via the `definition` "event-calendars".
4353
+ */
4354
+ interface EventCalendar {
4355
+ id: string;
4356
+ _order?: string | null;
4357
+ tenant?: (string | null) | Tenant;
4358
+ title: string;
4359
+ /**
4360
+ * Short summary for listing/cards
4361
+ */
4362
+ description?: string | null;
4363
+ content?: {
4364
+ root: {
4365
+ type: string;
4366
+ children: {
4367
+ type: any;
4368
+ version: number;
4369
+ [k: string]: unknown;
4370
+ }[];
4371
+ direction: ('ltr' | 'rtl') | null;
4372
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
4373
+ indent: number;
4374
+ version: number;
4375
+ };
4376
+ [k: string]: unknown;
4377
+ } | null;
4378
+ publicListing?: {
4379
+ showPastOccurrences?: boolean | null;
4380
+ defaultRangeMonths?: number | null;
4381
+ };
4382
+ defaultLocation?: {
4383
+ name?: string | null;
4384
+ address?: string | null;
4385
+ onlineUrl?: string | null;
4386
+ };
4387
+ defaultRegistration?: {
4388
+ policy?: ('none' | 'rsvp' | 'approval' | 'external') | null;
4389
+ capacity?: number | null;
4390
+ };
4391
+ seo?: {
4392
+ /**
4393
+ * Search result title (falls back to document title)
4394
+ */
4395
+ title?: string | null;
4396
+ /**
4397
+ * Search result description
4398
+ */
4399
+ description?: string | null;
4400
+ /**
4401
+ * Block search engine indexing
4402
+ */
4403
+ noIndex?: boolean | null;
4404
+ /**
4405
+ * Canonical URL (prevents duplicate content)
4406
+ */
4407
+ canonical?: string | null;
4408
+ openGraph?: {
4409
+ /**
4410
+ * OG title (falls back to seo.title)
4411
+ */
4412
+ title?: string | null;
4413
+ /**
4414
+ * OG description (falls back to seo.description)
4415
+ */
4416
+ description?: string | null;
4417
+ /**
4418
+ * OG / Twitter Card image (1200×630 recommended)
4419
+ */
4420
+ image?: (string | null) | Image;
4421
+ };
4422
+ };
4423
+ /**
4424
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
4425
+ */
4426
+ generateSlug?: boolean | null;
4427
+ slug?: string | null;
4428
+ timezone: string;
4429
+ color?: string | null;
4430
+ visibility: 'public' | 'unlisted' | 'members' | 'private';
4431
+ publishedAt?: string | null;
4432
+ metadata?: {
4433
+ [k: string]: unknown;
4434
+ } | unknown[] | string | number | boolean | null;
4435
+ updatedAt: string;
4436
+ createdAt: string;
4437
+ deletedAt?: string | null;
4438
+ _status?: ('draft' | 'published') | null;
4439
+ }
4440
+ /**
4441
+ * This interface was referenced by `Config`'s JSON-Schema
4442
+ * via the `definition` "events".
4443
+ */
4444
+ interface Event {
4445
+ id: string;
4446
+ _order?: string | null;
4447
+ tenant?: (string | null) | Tenant;
4448
+ title: string;
4449
+ /**
4450
+ * Short summary for listing/cards
4451
+ */
4452
+ description?: string | null;
4453
+ content?: {
4454
+ root: {
4455
+ type: string;
4456
+ children: {
4457
+ type: any;
4458
+ version: number;
4459
+ [k: string]: unknown;
4460
+ }[];
4461
+ direction: ('ltr' | 'rtl') | null;
4462
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
4463
+ indent: number;
4464
+ version: number;
4465
+ };
4466
+ [k: string]: unknown;
4467
+ } | null;
4468
+ eventCalendars: (string | EventCalendar)[];
4469
+ tags?: (string | EventTag)[] | null;
4470
+ organizer?: {
4471
+ name?: string | null;
4472
+ url?: string | null;
4473
+ user?: (string | null) | User;
4474
+ };
4475
+ startsAt: string;
4476
+ endsAt: string;
4477
+ timezone: string;
4478
+ isAllDay?: boolean | null;
4479
+ recurrence?: {
4480
+ /**
4481
+ * RFC 5545 RRULE string
4482
+ */
4483
+ rrule?: string | null;
4484
+ rdates?: {
4485
+ date?: string | null;
4486
+ id?: string | null;
4487
+ }[] | null;
4488
+ exdates?: {
4489
+ date?: string | null;
4490
+ id?: string | null;
4491
+ }[] | null;
4492
+ materializationMonths?: number | null;
4493
+ };
4494
+ location?: {
4495
+ type?: ('physical' | 'online' | 'hybrid' | 'hidden') | null;
4496
+ name?: string | null;
4497
+ address?: string | null;
4498
+ onlineUrl?: string | null;
4499
+ onlineNote?: string | null;
4500
+ privateNote?: string | null;
4501
+ };
4502
+ registrationPolicy?: ('none' | 'rsvp' | 'approval' | 'external') | null;
4503
+ waitlistPolicy: 'disabled' | 'auto_waitlist';
4504
+ externalRegistrationUrl?: string | null;
4505
+ seo?: {
4506
+ /**
4507
+ * Search result title (falls back to document title)
4508
+ */
4509
+ title?: string | null;
4510
+ /**
4511
+ * Search result description
4512
+ */
4513
+ description?: string | null;
4514
+ /**
4515
+ * Block search engine indexing
4516
+ */
4517
+ noIndex?: boolean | null;
4518
+ /**
4519
+ * Canonical URL (prevents duplicate content)
4520
+ */
4521
+ canonical?: string | null;
4522
+ openGraph?: {
4523
+ /**
4524
+ * OG title (falls back to seo.title)
4525
+ */
4526
+ title?: string | null;
4527
+ /**
4528
+ * OG description (falls back to seo.description)
4529
+ */
4530
+ description?: string | null;
4531
+ /**
4532
+ * OG / Twitter Card image (1200×630 recommended)
4533
+ */
4534
+ image?: (string | null) | Image;
4535
+ };
4536
+ };
4537
+ /**
4538
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
4539
+ */
4540
+ generateSlug?: boolean | null;
4541
+ slug?: string | null;
4542
+ status: 'draft' | 'published' | 'archived' | 'canceled';
4543
+ coverImage?: (string | null) | Image;
4544
+ visibility: 'inherit' | 'public' | 'unlisted' | 'members' | 'private';
4545
+ sourceType: 'native' | 'external';
4546
+ externalSource?: {
4547
+ provider?: string | null;
4548
+ sourceId?: string | null;
4549
+ url?: string | null;
4550
+ };
4551
+ publishedAt?: string | null;
4552
+ metadata?: {
4553
+ [k: string]: unknown;
4554
+ } | unknown[] | string | number | boolean | null;
4555
+ updatedAt: string;
4556
+ createdAt: string;
4557
+ deletedAt?: string | null;
4558
+ _status?: ('draft' | 'published') | null;
4559
+ }
4560
+ /**
4561
+ * This interface was referenced by `Config`'s JSON-Schema
4562
+ * via the `definition` "event-tags".
4563
+ */
4564
+ interface EventTag {
4565
+ id: string;
4566
+ _order?: string | null;
4567
+ tenant?: (string | null) | Tenant;
4568
+ title: string;
4569
+ /**
4570
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
4571
+ */
4572
+ generateSlug?: boolean | null;
4573
+ slug?: string | null;
4574
+ /**
4575
+ * Short summary for listing/cards
4576
+ */
4577
+ description?: string | null;
4578
+ image?: (string | null) | Image;
4579
+ parent?: (string | null) | EventTag;
4580
+ color?: string | null;
4581
+ updatedAt: string;
4582
+ createdAt: string;
4583
+ deletedAt?: string | null;
4584
+ }
4585
+ /**
4586
+ * This interface was referenced by `Config`'s JSON-Schema
4587
+ * via the `definition` "event-occurrences".
4588
+ */
4589
+ interface EventOccurrence {
4590
+ id: string;
4591
+ tenant?: (string | null) | Tenant;
4592
+ event: string | Event;
4593
+ /**
4594
+ * RECURRENCE-ID based on original DTSTART
4595
+ */
4596
+ instanceKey: string;
4597
+ startsAt: string;
4598
+ endsAt: string;
4599
+ timezone: string;
4600
+ isAllDay?: boolean | null;
4601
+ status: 'scheduled' | 'canceled' | 'completed';
4602
+ locationOverride?: {
4603
+ name?: string | null;
4604
+ address?: string | null;
4605
+ onlineUrl?: string | null;
4606
+ note?: string | null;
4607
+ privateNote?: string | null;
4608
+ };
4609
+ capacity?: number | null;
4610
+ registrationCount?: number | null;
4611
+ waitlistCount?: number | null;
4612
+ checkInWindow?: {
4613
+ opensAt?: string | null;
4614
+ closesAt?: string | null;
4615
+ };
4616
+ cancellation?: {
4617
+ canceledAt?: string | null;
4618
+ reason?: string | null;
4619
+ };
4620
+ metadata?: {
4621
+ [k: string]: unknown;
4622
+ } | unknown[] | string | number | boolean | null;
4623
+ updatedAt: string;
4624
+ createdAt: string;
4625
+ deletedAt?: string | null;
4626
+ }
4627
+ /**
4628
+ * This interface was referenced by `Config`'s JSON-Schema
4629
+ * via the `definition` "event-registrations".
4630
+ */
4631
+ interface EventRegistration {
4632
+ id: string;
4633
+ tenant?: (string | null) | Tenant;
4634
+ event: string | Event;
4635
+ occurrence: string | EventOccurrence;
4636
+ customer?: (string | null) | Customer;
4637
+ registrationStatus: 'pending' | 'going' | 'waitlisted' | 'declined' | 'canceled';
4638
+ attendanceStatus: 'not_checked_in' | 'checked_in' | 'no_show';
4639
+ quantity: number;
4640
+ attendeeSnapshot?: {
4641
+ name?: string | null;
4642
+ email?: string | null;
4643
+ phone?: string | null;
4644
+ };
4645
+ attendeeEmail?: string | null;
4646
+ answers?: {
4647
+ question?: string | null;
4648
+ answer?: string | null;
4649
+ id?: string | null;
4650
+ }[] | null;
4651
+ approval?: {
4652
+ approvedAt?: string | null;
4653
+ approvedBy?: (string | null) | User;
4654
+ note?: string | null;
4655
+ };
4656
+ cancellation?: {
4657
+ canceledAt?: string | null;
4658
+ reason?: string | null;
4659
+ };
4660
+ checkIn?: {
4661
+ checkedInAt?: string | null;
4662
+ checkedInBy?: (string | null) | User;
4663
+ };
4664
+ guestTokenHash?: string | null;
4665
+ guestTokenExpiresAt?: string | null;
4666
+ piiRetentionUntil?: string | null;
4667
+ piiRedactedAt?: string | null;
4668
+ metadata?: {
4669
+ [k: string]: unknown;
4670
+ } | unknown[] | string | number | boolean | null;
4671
+ updatedAt: string;
4672
+ createdAt: string;
4673
+ deletedAt?: string | null;
4674
+ }
4377
4675
  /**
4378
4676
  * This interface was referenced by `Config`'s JSON-Schema
4379
4677
  * via the `definition` "forms".
@@ -4619,12 +4917,6 @@ interface PayloadLockedDocument {
4619
4917
  } | null) | ({
4620
4918
  relationTo: 'tenant-metadata';
4621
4919
  value: string | TenantMetadatum;
4622
- } | null) | ({
4623
- relationTo: 'tenant-auth-settings';
4624
- value: string | TenantAuthSetting;
4625
- } | null) | ({
4626
- relationTo: 'tenant-community-settings';
4627
- value: string | TenantCommunitySetting;
4628
4920
  } | null) | ({
4629
4921
  relationTo: 'api-usage';
4630
4922
  value: string | ApiUsage;
@@ -4850,6 +5142,21 @@ interface PayloadLockedDocument {
4850
5142
  } | null) | ({
4851
5143
  relationTo: 'community-bans';
4852
5144
  value: string | CommunityBan;
5145
+ } | null) | ({
5146
+ relationTo: 'event-calendars';
5147
+ value: string | EventCalendar;
5148
+ } | null) | ({
5149
+ relationTo: 'events';
5150
+ value: string | Event;
5151
+ } | null) | ({
5152
+ relationTo: 'event-tags';
5153
+ value: string | EventTag;
5154
+ } | null) | ({
5155
+ relationTo: 'event-occurrences';
5156
+ value: string | EventOccurrence;
5157
+ } | null) | ({
5158
+ relationTo: 'event-registrations';
5159
+ value: string | EventRegistration;
4853
5160
  } | null) | ({
4854
5161
  relationTo: 'forms';
4855
5162
  value: string | Form;
@@ -5196,7 +5503,6 @@ interface TenantsSelect<T extends boolean = true> {
5196
5503
  };
5197
5504
  webhooks?: T | {
5198
5505
  name?: T;
5199
- purpose?: T;
5200
5506
  url?: T;
5201
5507
  secret?: T;
5202
5508
  isEnabled?: T;
@@ -5281,28 +5587,6 @@ interface TenantMetadataSelect<T extends boolean = true> {
5281
5587
  createdAt?: T;
5282
5588
  deletedAt?: T;
5283
5589
  }
5284
- /**
5285
- * This interface was referenced by `Config`'s JSON-Schema
5286
- * via the `definition` "tenant-auth-settings_select".
5287
- */
5288
- interface TenantAuthSettingsSelect<T extends boolean = true> {
5289
- tenant?: T;
5290
- requiresEmailVerification?: T;
5291
- updatedAt?: T;
5292
- createdAt?: T;
5293
- deletedAt?: T;
5294
- }
5295
- /**
5296
- * This interface was referenced by `Config`'s JSON-Schema
5297
- * via the `definition` "tenant-community-settings_select".
5298
- */
5299
- interface TenantCommunitySettingsSelect<T extends boolean = true> {
5300
- tenant?: T;
5301
- requiresPostApproval?: T;
5302
- updatedAt?: T;
5303
- createdAt?: T;
5304
- deletedAt?: T;
5305
- }
5306
5590
  /**
5307
5591
  * This interface was referenced by `Config`'s JSON-Schema
5308
5592
  * via the `definition` "api-usage_select".
@@ -6185,7 +6469,6 @@ interface CustomersSelect<T extends boolean = true> {
6185
6469
  isGuest?: T;
6186
6470
  authProvider?: T;
6187
6471
  providerUserId?: T;
6188
- isEmailVerified?: T;
6189
6472
  lastLoginAt?: T;
6190
6473
  passwordChangedAt?: T;
6191
6474
  orders?: T;
@@ -6236,7 +6519,6 @@ interface CustomersSelect<T extends boolean = true> {
6236
6519
  anonymizedAt?: T;
6237
6520
  hashedPassword?: T;
6238
6521
  salt?: T;
6239
- verificationToken?: T;
6240
6522
  resetPasswordToken?: T;
6241
6523
  resetPasswordExpiresAt?: T;
6242
6524
  loginAttemptCount?: T;
@@ -7389,6 +7671,224 @@ interface CommunityBansSelect<T extends boolean = true> {
7389
7671
  updatedAt?: T;
7390
7672
  createdAt?: T;
7391
7673
  }
7674
+ /**
7675
+ * This interface was referenced by `Config`'s JSON-Schema
7676
+ * via the `definition` "event-calendars_select".
7677
+ */
7678
+ interface EventCalendarsSelect<T extends boolean = true> {
7679
+ _order?: T;
7680
+ tenant?: T;
7681
+ title?: T;
7682
+ description?: T;
7683
+ content?: T;
7684
+ publicListing?: T | {
7685
+ showPastOccurrences?: T;
7686
+ defaultRangeMonths?: T;
7687
+ };
7688
+ defaultLocation?: T | {
7689
+ name?: T;
7690
+ address?: T;
7691
+ onlineUrl?: T;
7692
+ };
7693
+ defaultRegistration?: T | {
7694
+ policy?: T;
7695
+ capacity?: T;
7696
+ };
7697
+ seo?: T | {
7698
+ title?: T;
7699
+ description?: T;
7700
+ noIndex?: T;
7701
+ canonical?: T;
7702
+ openGraph?: T | {
7703
+ title?: T;
7704
+ description?: T;
7705
+ image?: T;
7706
+ };
7707
+ };
7708
+ generateSlug?: T;
7709
+ slug?: T;
7710
+ timezone?: T;
7711
+ color?: T;
7712
+ visibility?: T;
7713
+ publishedAt?: T;
7714
+ metadata?: T;
7715
+ updatedAt?: T;
7716
+ createdAt?: T;
7717
+ deletedAt?: T;
7718
+ _status?: T;
7719
+ }
7720
+ /**
7721
+ * This interface was referenced by `Config`'s JSON-Schema
7722
+ * via the `definition` "events_select".
7723
+ */
7724
+ interface EventsSelect<T extends boolean = true> {
7725
+ _order?: T;
7726
+ tenant?: T;
7727
+ title?: T;
7728
+ description?: T;
7729
+ content?: T;
7730
+ eventCalendars?: T;
7731
+ tags?: T;
7732
+ organizer?: T | {
7733
+ name?: T;
7734
+ url?: T;
7735
+ user?: T;
7736
+ };
7737
+ startsAt?: T;
7738
+ endsAt?: T;
7739
+ timezone?: T;
7740
+ isAllDay?: T;
7741
+ recurrence?: T | {
7742
+ rrule?: T;
7743
+ rdates?: T | {
7744
+ date?: T;
7745
+ id?: T;
7746
+ };
7747
+ exdates?: T | {
7748
+ date?: T;
7749
+ id?: T;
7750
+ };
7751
+ materializationMonths?: T;
7752
+ };
7753
+ location?: T | {
7754
+ type?: T;
7755
+ name?: T;
7756
+ address?: T;
7757
+ onlineUrl?: T;
7758
+ onlineNote?: T;
7759
+ privateNote?: T;
7760
+ };
7761
+ registrationPolicy?: T;
7762
+ waitlistPolicy?: T;
7763
+ externalRegistrationUrl?: T;
7764
+ seo?: T | {
7765
+ title?: T;
7766
+ description?: T;
7767
+ noIndex?: T;
7768
+ canonical?: T;
7769
+ openGraph?: T | {
7770
+ title?: T;
7771
+ description?: T;
7772
+ image?: T;
7773
+ };
7774
+ };
7775
+ generateSlug?: T;
7776
+ slug?: T;
7777
+ status?: T;
7778
+ coverImage?: T;
7779
+ visibility?: T;
7780
+ sourceType?: T;
7781
+ externalSource?: T | {
7782
+ provider?: T;
7783
+ sourceId?: T;
7784
+ url?: T;
7785
+ };
7786
+ publishedAt?: T;
7787
+ metadata?: T;
7788
+ updatedAt?: T;
7789
+ createdAt?: T;
7790
+ deletedAt?: T;
7791
+ _status?: T;
7792
+ }
7793
+ /**
7794
+ * This interface was referenced by `Config`'s JSON-Schema
7795
+ * via the `definition` "event-tags_select".
7796
+ */
7797
+ interface EventTagsSelect<T extends boolean = true> {
7798
+ _order?: T;
7799
+ tenant?: T;
7800
+ title?: T;
7801
+ generateSlug?: T;
7802
+ slug?: T;
7803
+ description?: T;
7804
+ image?: T;
7805
+ parent?: T;
7806
+ color?: T;
7807
+ updatedAt?: T;
7808
+ createdAt?: T;
7809
+ deletedAt?: T;
7810
+ }
7811
+ /**
7812
+ * This interface was referenced by `Config`'s JSON-Schema
7813
+ * via the `definition` "event-occurrences_select".
7814
+ */
7815
+ interface EventOccurrencesSelect<T extends boolean = true> {
7816
+ tenant?: T;
7817
+ event?: T;
7818
+ instanceKey?: T;
7819
+ startsAt?: T;
7820
+ endsAt?: T;
7821
+ timezone?: T;
7822
+ isAllDay?: T;
7823
+ status?: T;
7824
+ locationOverride?: T | {
7825
+ name?: T;
7826
+ address?: T;
7827
+ onlineUrl?: T;
7828
+ note?: T;
7829
+ privateNote?: T;
7830
+ };
7831
+ capacity?: T;
7832
+ registrationCount?: T;
7833
+ waitlistCount?: T;
7834
+ checkInWindow?: T | {
7835
+ opensAt?: T;
7836
+ closesAt?: T;
7837
+ };
7838
+ cancellation?: T | {
7839
+ canceledAt?: T;
7840
+ reason?: T;
7841
+ };
7842
+ metadata?: T;
7843
+ updatedAt?: T;
7844
+ createdAt?: T;
7845
+ deletedAt?: T;
7846
+ }
7847
+ /**
7848
+ * This interface was referenced by `Config`'s JSON-Schema
7849
+ * via the `definition` "event-registrations_select".
7850
+ */
7851
+ interface EventRegistrationsSelect<T extends boolean = true> {
7852
+ tenant?: T;
7853
+ event?: T;
7854
+ occurrence?: T;
7855
+ customer?: T;
7856
+ registrationStatus?: T;
7857
+ attendanceStatus?: T;
7858
+ quantity?: T;
7859
+ attendeeSnapshot?: T | {
7860
+ name?: T;
7861
+ email?: T;
7862
+ phone?: T;
7863
+ };
7864
+ attendeeEmail?: T;
7865
+ answers?: T | {
7866
+ question?: T;
7867
+ answer?: T;
7868
+ id?: T;
7869
+ };
7870
+ approval?: T | {
7871
+ approvedAt?: T;
7872
+ approvedBy?: T;
7873
+ note?: T;
7874
+ };
7875
+ cancellation?: T | {
7876
+ canceledAt?: T;
7877
+ reason?: T;
7878
+ };
7879
+ checkIn?: T | {
7880
+ checkedInAt?: T;
7881
+ checkedInBy?: T;
7882
+ };
7883
+ guestTokenHash?: T;
7884
+ guestTokenExpiresAt?: T;
7885
+ piiRetentionUntil?: T;
7886
+ piiRedactedAt?: T;
7887
+ metadata?: T;
7888
+ updatedAt?: T;
7889
+ createdAt?: T;
7890
+ deletedAt?: T;
7891
+ }
7392
7892
  /**
7393
7893
  * This interface was referenced by `Config`'s JSON-Schema
7394
7894
  * via the `definition` "forms_select".
@@ -7575,4 +8075,4 @@ declare module 'payload' {
7575
8075
  }
7576
8076
  }
7577
8077
 
7578
- export type { Config as C, Document as D, Form as F, Image as I, Order as O, Product as P, Return as R, Transaction as T, Video as V, Cart as a, CartItem as b, OrderItem as c, Fulfillment as d, Post as e, PostCategory as f, PostTag as g, ProductVariant as h, Tenant as i };
8078
+ export type { Config as C, Document as D, Form as F, Image as I, Order as O, Product as P, Return as R, Transaction as T, Video as V, Cart as a, CartItem as b, OrderItem as c, Fulfillment as d, Post as e, PostCategory as f, PostTag as g, ProductVariant as h, Tenant as i, CustomerProfile as j, Thread as k, Comment as l, Reaction as m };