@01.software/sdk 0.24.0 → 0.26.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.
@@ -7,6 +7,7 @@ interface Config {
7
7
  Player: PlayerBlock;
8
8
  Iframe: IframeBlock;
9
9
  Code: CodeBlock;
10
+ Carousel: CarouselBlock;
10
11
  };
11
12
  collections: {
12
13
  users: User;
@@ -22,10 +23,12 @@ interface Config {
22
23
  'webhook-deliveries': WebhookDelivery;
23
24
  tenants: Tenant;
24
25
  'tenant-metadata': TenantMetadatum;
26
+ 'tenant-web-analytics-config': TenantWebAnalyticsConfig;
25
27
  'api-usage': ApiUsage;
26
28
  'tenant-analytics-daily': TenantAnalyticsDaily;
27
29
  'analytics-event-schemas': AnalyticsEventSchema;
28
30
  'tenant-entitlements': TenantEntitlement;
31
+ 'tenant-purge-jobs': TenantPurgeJob;
29
32
  subscriptions: Subscription;
30
33
  'billing-history': BillingHistory;
31
34
  plans: Plan;
@@ -108,6 +111,7 @@ interface Config {
108
111
  forms: Form;
109
112
  'form-submissions': FormSubmission;
110
113
  'payload-kv': PayloadKv;
114
+ 'payload-folders': FolderInterface;
111
115
  'payload-locked-documents': PayloadLockedDocument;
112
116
  'payload-preferences': PayloadPreference;
113
117
  'payload-migrations': PayloadMigration;
@@ -156,6 +160,9 @@ interface Config {
156
160
  posts: {
157
161
  comments: 'comments';
158
162
  };
163
+ 'payload-folders': {
164
+ documentsAndFolders: 'payload-folders' | 'images' | 'system-media';
165
+ };
159
166
  };
160
167
  collectionsSelect: {
161
168
  users: UsersSelect<false> | UsersSelect<true>;
@@ -171,10 +178,12 @@ interface Config {
171
178
  'webhook-deliveries': WebhookDeliveriesSelect<false> | WebhookDeliveriesSelect<true>;
172
179
  tenants: TenantsSelect<false> | TenantsSelect<true>;
173
180
  'tenant-metadata': TenantMetadataSelect<false> | TenantMetadataSelect<true>;
181
+ 'tenant-web-analytics-config': TenantWebAnalyticsConfigSelect<false> | TenantWebAnalyticsConfigSelect<true>;
174
182
  'api-usage': ApiUsageSelect<false> | ApiUsageSelect<true>;
175
183
  'tenant-analytics-daily': TenantAnalyticsDailySelect<false> | TenantAnalyticsDailySelect<true>;
176
184
  'analytics-event-schemas': AnalyticsEventSchemasSelect<false> | AnalyticsEventSchemasSelect<true>;
177
185
  'tenant-entitlements': TenantEntitlementsSelect<false> | TenantEntitlementsSelect<true>;
186
+ 'tenant-purge-jobs': TenantPurgeJobsSelect<false> | TenantPurgeJobsSelect<true>;
178
187
  subscriptions: SubscriptionsSelect<false> | SubscriptionsSelect<true>;
179
188
  'billing-history': BillingHistorySelect<false> | BillingHistorySelect<true>;
180
189
  plans: PlansSelect<false> | PlansSelect<true>;
@@ -257,6 +266,7 @@ interface Config {
257
266
  forms: FormsSelect<false> | FormsSelect<true>;
258
267
  'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
259
268
  'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
269
+ 'payload-folders': PayloadFoldersSelect<false> | PayloadFoldersSelect<true>;
260
270
  'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
261
271
  'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
262
272
  'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
@@ -350,157 +360,30 @@ interface CodeBlock {
350
360
  }
351
361
  /**
352
362
  * This interface was referenced by `Config`'s JSON-Schema
353
- * via the `definition` "users".
363
+ * via the `definition` "CarouselBlock".
354
364
  */
355
- interface User {
356
- id: string;
357
- _users_members_order?: string | null;
358
- roles: ('super-admin' | 'user')[];
359
- tenants?: {
360
- tenant: string | Tenant;
361
- roles: ('tenant-admin' | 'tenant-editor' | 'tenant-viewer')[];
362
- id?: string | null;
363
- }[] | null;
364
- emailPreferences?: {
365
- acceptsUsageAlerts?: boolean | null;
366
- };
367
- /**
368
- * Admin contact phone number. Enter with or without country code according to operating policy.
369
- */
370
- phone?: string | null;
371
- isPhoneVerified?: boolean | null;
372
- lastLoginAt?: string | null;
373
- lastLoginIp?: string | null;
374
- isSuspended?: boolean | null;
375
- suspendedAt?: string | null;
376
- suspendedReason?: string | null;
377
- /**
378
- * Timezone used for admin UI and notifications, such as Asia/Seoul.
379
- */
380
- timezone?: string | null;
381
- /**
382
- * Admin UI language or locale code, such as ko or en.
383
- */
384
- locale?: string | null;
385
- avatar?: (string | null) | Image;
386
- anonymizedAt?: string | null;
387
- /**
388
- * Scheduled deletion date
389
- */
390
- deletionScheduledAt?: string | null;
391
- authProvider?: ('local' | 'google') | null;
392
- googleSub?: string | null;
393
- updatedAt: string;
394
- createdAt: string;
395
- deletedAt?: string | null;
396
- email: string;
397
- resetPasswordToken?: string | null;
398
- resetPasswordExpiration?: string | null;
399
- salt?: string | null;
400
- hash?: string | null;
401
- _verified?: boolean | null;
402
- _verificationToken?: string | null;
403
- loginAttempts?: number | null;
404
- lockUntil?: string | null;
405
- sessions?: {
406
- id: string;
407
- createdAt?: string | null;
408
- expiresAt: string;
409
- }[] | null;
410
- password?: string | null;
411
- collection: 'users';
412
- }
413
- /**
414
- * This interface was referenced by `Config`'s JSON-Schema
415
- * via the `definition` "tenants".
416
- */
417
- interface Tenant {
418
- id: string;
419
- name: string;
420
- /**
421
- * URL-safe identifier (auto-generated)
422
- */
423
- slug?: string | null;
424
- /**
425
- * Tenant owner. Only the owner can delete the tenant or transfer ownership.
426
- */
427
- owner: string | User;
428
- /**
429
- * Only features checked above will be enabled for this tenant.
430
- */
431
- enabledFeatures?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'articles' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events')[] | null;
432
- /**
433
- * Only selected relationship recipes are active for this tenant. Recipes whose required features are disabled keep their stored intent but remain inactive at runtime.
434
- */
435
- enabledRelationshipRecipes?: ('event-commerce' | 'shoppable-content' | 'product-content-access' | 'form-context' | 'document-acceptance')[] | null;
436
- featureVersion?: number | null;
437
- /**
438
- * Dev mode shows configuration tools like the field settings panel. Turn off after setup for a clean production UI.
439
- */
440
- isDevMode?: boolean | null;
441
- /**
442
- * Tenant lifecycle status. Managed by billing webhooks, deletion scheduling, or super-admin maintenance paths, not normal edits.
443
- */
444
- status?: ('active' | 'paused' | 'past_due' | 'canceled' | 'pending_deletion') | null;
445
- /**
446
- * A public key that is safe to include in browser code. (Starts with pk01_)
447
- */
448
- publishableKey: string;
449
- /**
450
- * Domains allowed to call this tenant’s API from a browser. Leave empty to allow every domain.
451
- */
452
- cors?: {
453
- origin: string;
454
- id?: string | null;
455
- }[] | null;
456
- /**
457
- * Trusted recipients for signed events. Sensitive payloads such as password-reset events may be delivered to these endpoints.
458
- */
459
- webhooks?: {
460
- /**
461
- * e.g. Main Server, Analytics
462
- */
463
- name?: string | null;
365
+ interface CarouselBlock {
366
+ slides: {
367
+ image: string | Image;
464
368
  /**
465
- * HTTPS URL that receives signed webhooks. Treat this endpoint as a recipient of sensitive tenant events.
369
+ * Falls back to the uploaded image alternative text when empty.
466
370
  */
467
- url: string;
371
+ alt?: string | null;
372
+ caption?: string | null;
468
373
  /**
469
- * Used to verify that webhook payloads really came from us. We sign every payload with this secret.
374
+ * Optional. When set, the slide image links to this URL.
470
375
  */
471
- secret?: string | null;
472
- isEnabled?: boolean | null;
376
+ href?: string | null;
473
377
  id?: string | null;
474
- }[] | null;
475
- /**
476
- * Users connected to this tenant
477
- */
478
- members?: {
479
- docs?: (string | User)[];
480
- hasNextPage?: boolean;
481
- totalDocs?: number;
482
- };
483
- webAnalytics: {
484
- enabled?: boolean | null;
485
- /**
486
- * Domains allowed to send analytics events. If empty, browser analytics is blocked.
487
- */
488
- allowedOrigins?: {
489
- origin: string;
490
- id?: string | null;
491
- }[] | null;
492
- /**
493
- * Timezone used to group daily analytics. Once data starts coming in, this is locked and cannot be changed.
494
- */
495
- timezone: string;
496
- /**
497
- * Automatically locked once the first analytics record is saved. Contact support to unlock.
498
- */
499
- tzLocked?: boolean | null;
500
- };
501
- updatedAt: string;
502
- createdAt: string;
503
- deletedAt?: string | null;
378
+ }[];
379
+ aspectRatio?: ('16:9' | '4:3' | '1:1' | '3:4') | null;
380
+ fit?: ('cover' | 'contain') | null;
381
+ showCaptions?: boolean | null;
382
+ showDots?: boolean | null;
383
+ showControls?: boolean | null;
384
+ id?: string | null;
385
+ blockName?: string | null;
386
+ blockType: 'Carousel';
504
387
  }
505
388
  /**
506
389
  * This interface was referenced by `Config`'s JSON-Schema
@@ -529,6 +412,7 @@ interface Image {
529
412
  uploadStatus?: ('ready' | 'finalizing' | 'failed') | null;
530
413
  processingStatus?: ('ready' | 'processing' | 'failed') | null;
531
414
  processingError?: string | null;
415
+ folder?: (string | null) | FolderInterface;
532
416
  updatedAt: string;
533
417
  createdAt: string;
534
418
  deletedAt?: string | null;
@@ -586,20 +470,150 @@ interface Image {
586
470
  }
587
471
  /**
588
472
  * This interface was referenced by `Config`'s JSON-Schema
589
- * via the `definition` "field-configs".
473
+ * via the `definition` "tenants".
590
474
  */
591
- interface FieldConfig {
475
+ interface Tenant {
592
476
  id: string;
593
- tenant?: (string | null) | Tenant;
594
- 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' | 'customer-profile-lists' | 'article-authors' | 'articles' | 'article-categories' | 'article-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' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'event-calendars' | 'events' | 'event-categories' | 'event-tags' | 'event-occurrences' | 'event-registrations';
595
- isHidden?: boolean | null;
596
- hiddenFields?: {
477
+ name: string;
478
+ /**
479
+ * URL-safe identifier (auto-generated)
480
+ */
481
+ slug?: string | null;
482
+ /**
483
+ * Tenant owner. Only the owner can delete the tenant or transfer ownership.
484
+ */
485
+ owner: string | User;
486
+ /**
487
+ * Only features checked above will be enabled for this tenant.
488
+ */
489
+ enabledFeatures?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'articles' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events')[] | null;
490
+ /**
491
+ * Only selected relationship recipes are active for this tenant. Recipes whose required features are disabled keep their stored intent but remain inactive at runtime.
492
+ */
493
+ enabledRelationshipRecipes?: ('event-commerce' | 'shoppable-content' | 'product-content-access' | 'form-context' | 'document-acceptance')[] | null;
494
+ featureVersion?: number | null;
495
+ provisioning?: {
597
496
  [k: string]: unknown;
598
497
  } | unknown[] | string | number | boolean | null;
498
+ /**
499
+ * Tenant lifecycle status. Managed by billing webhooks, deletion scheduling, or super-admin maintenance paths, not normal edits.
500
+ */
501
+ status?: ('active' | 'paused' | 'past_due' | 'canceled' | 'pending_deletion') | null;
502
+ /**
503
+ * A public key that is safe to include in browser code. (Starts with pk01_)
504
+ */
505
+ publishableKey: string;
506
+ /**
507
+ * Domains allowed to call this tenant’s API from a browser. Leave empty to block browser calls.
508
+ */
509
+ cors?: {
510
+ origin: string;
511
+ id?: string | null;
512
+ }[] | null;
513
+ /**
514
+ * Users connected to this tenant
515
+ */
516
+ members?: {
517
+ docs?: (string | User)[];
518
+ hasNextPage?: boolean;
519
+ totalDocs?: number;
520
+ };
599
521
  updatedAt: string;
600
522
  createdAt: string;
601
523
  deletedAt?: string | null;
602
524
  }
525
+ /**
526
+ * This interface was referenced by `Config`'s JSON-Schema
527
+ * via the `definition` "users".
528
+ */
529
+ interface User {
530
+ id: string;
531
+ _users_members_order?: string | null;
532
+ roles: ('super-admin' | 'user')[];
533
+ tenants?: {
534
+ tenant: string | Tenant;
535
+ roles: ('tenant-admin' | 'tenant-editor' | 'tenant-viewer')[];
536
+ id?: string | null;
537
+ }[] | null;
538
+ emailPreferences?: {
539
+ acceptsUsageAlerts?: boolean | null;
540
+ };
541
+ /**
542
+ * Admin contact phone number. Enter with or without country code according to operating policy.
543
+ */
544
+ phone?: string | null;
545
+ isPhoneVerified?: boolean | null;
546
+ lastLoginAt?: string | null;
547
+ lastLoginIp?: string | null;
548
+ isSuspended?: boolean | null;
549
+ suspendedAt?: string | null;
550
+ suspendedReason?: string | null;
551
+ /**
552
+ * Timezone used for admin UI and notifications, such as Asia/Seoul.
553
+ */
554
+ timezone?: string | null;
555
+ /**
556
+ * Admin UI language or locale code, such as ko or en.
557
+ */
558
+ locale?: string | null;
559
+ avatar?: (string | null) | Image;
560
+ anonymizedAt?: string | null;
561
+ /**
562
+ * Scheduled deletion date
563
+ */
564
+ deletionScheduledAt?: string | null;
565
+ authProvider?: ('local' | 'google') | null;
566
+ googleSub?: string | null;
567
+ updatedAt: string;
568
+ createdAt: string;
569
+ deletedAt?: string | null;
570
+ email: string;
571
+ resetPasswordToken?: string | null;
572
+ resetPasswordExpiration?: string | null;
573
+ salt?: string | null;
574
+ hash?: string | null;
575
+ _verified?: boolean | null;
576
+ _verificationToken?: string | null;
577
+ loginAttempts?: number | null;
578
+ lockUntil?: string | null;
579
+ sessions?: {
580
+ id: string;
581
+ createdAt?: string | null;
582
+ expiresAt: string;
583
+ }[] | null;
584
+ password?: string | null;
585
+ collection: 'users';
586
+ }
587
+ /**
588
+ * This interface was referenced by `Config`'s JSON-Schema
589
+ * via the `definition` "payload-folders".
590
+ */
591
+ interface FolderInterface {
592
+ id: string;
593
+ /**
594
+ * Required only for image folders. Leave empty for system media folders.
595
+ */
596
+ tenant?: (string | null) | Tenant;
597
+ name: string;
598
+ folder?: (string | null) | FolderInterface;
599
+ documentsAndFolders?: {
600
+ docs?: ({
601
+ relationTo?: 'payload-folders';
602
+ value: string | FolderInterface;
603
+ } | {
604
+ relationTo?: 'images';
605
+ value: string | Image;
606
+ } | {
607
+ relationTo?: 'system-media';
608
+ value: string | SystemMedia;
609
+ })[];
610
+ hasNextPage?: boolean;
611
+ totalDocs?: number;
612
+ };
613
+ folderType?: ('images' | 'system-media')[] | null;
614
+ updatedAt: string;
615
+ createdAt: string;
616
+ }
603
617
  /**
604
618
  * This interface was referenced by `Config`'s JSON-Schema
605
619
  * via the `definition` "system-media".
@@ -619,6 +633,7 @@ interface SystemMedia {
619
633
  */
620
634
  credit?: string | null;
621
635
  prefix?: string | null;
636
+ folder?: (string | null) | FolderInterface;
622
637
  updatedAt: string;
623
638
  createdAt: string;
624
639
  deletedAt?: string | null;
@@ -632,6 +647,22 @@ interface SystemMedia {
632
647
  focalX?: number | null;
633
648
  focalY?: number | null;
634
649
  }
650
+ /**
651
+ * This interface was referenced by `Config`'s JSON-Schema
652
+ * via the `definition` "field-configs".
653
+ */
654
+ interface FieldConfig {
655
+ id: string;
656
+ tenant?: (string | null) | Tenant;
657
+ 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' | 'customer-profile-lists' | 'article-authors' | 'articles' | 'article-categories' | 'article-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' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'event-calendars' | 'events' | 'event-categories' | 'event-tags' | 'event-occurrences' | 'event-registrations';
658
+ isHidden?: boolean | null;
659
+ hiddenFields?: {
660
+ [k: string]: unknown;
661
+ } | unknown[] | string | number | boolean | null;
662
+ updatedAt: string;
663
+ createdAt: string;
664
+ deletedAt?: string | null;
665
+ }
635
666
  /**
636
667
  * This interface was referenced by `Config`'s JSON-Schema
637
668
  * via the `definition` "audiences".
@@ -825,33 +856,119 @@ interface WebhookEvent {
825
856
  eventId: string;
826
857
  receivedAt?: string | null;
827
858
  /**
828
- * Raw provider event body. May contain sensitive security or payment context.
859
+ * Raw provider event body. May contain sensitive security or payment context.
860
+ */
861
+ payload?: {
862
+ [k: string]: unknown;
863
+ } | unknown[] | string | number | boolean | null;
864
+ updatedAt: string;
865
+ createdAt: string;
866
+ }
867
+ /**
868
+ * This interface was referenced by `Config`'s JSON-Schema
869
+ * via the `definition` "webhook-deliveries".
870
+ */
871
+ interface WebhookDelivery {
872
+ id: string;
873
+ tenant?: (string | null) | Tenant;
874
+ /**
875
+ * Active webhook endpoint used for this delivery attempt.
876
+ */
877
+ webhookId?: (string | null) | Webhook;
878
+ /**
879
+ * Value sent to receivers as x-webhook-delivery-id.
880
+ */
881
+ deliveryId?: string | null;
882
+ attempt: number;
883
+ /**
884
+ * Webhook delivery state. Updated by dispatcher and retry handling paths.
885
+ */
886
+ status: 'queued' | 'success' | 'failed' | 'dead';
887
+ /**
888
+ * Destination host with query string removed. Full URLs are not stored.
889
+ */
890
+ endpointHost?: string | null;
891
+ /**
892
+ * HMAC hash of the endpoint URL with query string removed.
893
+ */
894
+ endpointUrlHash?: string | null;
895
+ /**
896
+ * Collection that produced this delivery attempt.
897
+ */
898
+ collection?: string | null;
899
+ /**
900
+ * Operation that produced this delivery attempt.
901
+ */
902
+ operation?: string | null;
903
+ /**
904
+ * Path that produced the delivery attempt.
905
+ */
906
+ source?: ('registry' | 'retry_queue' | 'dlq_retry' | 'password_reset') | null;
907
+ /**
908
+ * HTTP status returned by the receiver.
909
+ */
910
+ statusCode?: number | null;
911
+ /**
912
+ * Delivery failure kind. Sensitive request body or headers are not stored.
913
+ */
914
+ errorKind?: string | null;
915
+ /**
916
+ * Truncated error message. Sensitive request body or headers are not stored.
917
+ */
918
+ errorMessage?: string | null;
919
+ /**
920
+ * Delivery attempt duration in milliseconds.
921
+ */
922
+ durationMs?: number | null;
923
+ /**
924
+ * Next scheduled retry time for a failed delivery.
925
+ */
926
+ nextRetryAt?: string | null;
927
+ /**
928
+ * Marks attempts produced by Redis retry or DLQ replay paths.
929
+ */
930
+ redelivery?: boolean | null;
931
+ /**
932
+ * Timestamp when the webhook request was dispatched to the endpoint.
829
933
  */
830
- payload?: {
831
- [k: string]: unknown;
832
- } | unknown[] | string | number | boolean | null;
934
+ dispatchedAt?: string | null;
833
935
  updatedAt: string;
834
936
  createdAt: string;
835
937
  }
836
938
  /**
837
939
  * This interface was referenced by `Config`'s JSON-Schema
838
- * via the `definition` "webhook-deliveries".
940
+ * via the `definition` "webhooks".
839
941
  */
840
- interface WebhookDelivery {
942
+ interface Webhook {
841
943
  id: string;
842
944
  tenant?: (string | null) | Tenant;
843
- webhookEventId?: (string | null) | WebhookEvent;
844
- attempt: number;
845
945
  /**
846
- * Webhook delivery state. Updated by dispatcher and retry handling paths.
946
+ * Webhook name
847
947
  */
848
- status: 'pending' | 'success' | 'failed' | 'dead';
948
+ name: string;
849
949
  /**
850
- * Timestamp when the webhook request was dispatched to the endpoint.
950
+ * Webhook endpoint HTTPS URL. Treat this endpoint as a recipient of sensitive workspace events.
851
951
  */
852
- dispatchedAt?: string | null;
952
+ url: string;
953
+ /**
954
+ * HMAC signing secret (immutable once set)
955
+ */
956
+ secret: string;
957
+ /**
958
+ * Collections to subscribe to. Leave empty to receive every supported collection event.
959
+ */
960
+ subscriptions?: {
961
+ /**
962
+ * Receives create/update events for this collection.
963
+ */
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';
965
+ id?: string | null;
966
+ }[] | null;
967
+ isActive?: boolean | null;
968
+ lastDispatchedAt?: string | null;
853
969
  updatedAt: string;
854
970
  createdAt: string;
971
+ deletedAt?: string | null;
855
972
  }
856
973
  /**
857
974
  * This interface was referenced by `Config`'s JSON-Schema
@@ -897,19 +1014,19 @@ interface TenantMetadatum {
897
1014
  /**
898
1015
  * Primary logo
899
1016
  */
900
- logo?: (string | null) | BrandLogo;
1017
+ logo?: (string | null) | TenantLogo;
901
1018
  /**
902
1019
  * Logo for dark mode (optional)
903
1020
  */
904
- logoDark?: (string | null) | BrandLogo;
1021
+ logoDark?: (string | null) | TenantLogo;
905
1022
  /**
906
1023
  * Logo mark / Icon (optional)
907
1024
  */
908
- logomark?: (string | null) | BrandLogo;
1025
+ logomark?: (string | null) | TenantLogo;
909
1026
  /**
910
1027
  * Favicon (will be resized automatically)
911
1028
  */
912
- favicon?: (string | null) | BrandLogo;
1029
+ favicon?: (string | null) | TenantLogo;
913
1030
  /**
914
1031
  * Theme color for mobile browsers (hex color)
915
1032
  */
@@ -1023,9 +1140,9 @@ interface TenantMetadatum {
1023
1140
  }
1024
1141
  /**
1025
1142
  * This interface was referenced by `Config`'s JSON-Schema
1026
- * via the `definition` "brand-logos".
1143
+ * via the `definition` "tenant-logos".
1027
1144
  */
1028
- interface BrandLogo {
1145
+ interface TenantLogo {
1029
1146
  id: string;
1030
1147
  tenant?: (string | null) | Tenant;
1031
1148
  /**
@@ -1116,6 +1233,33 @@ interface BrandLogo {
1116
1233
  };
1117
1234
  };
1118
1235
  }
1236
+ /**
1237
+ * This interface was referenced by `Config`'s JSON-Schema
1238
+ * via the `definition` "tenant-web-analytics-config".
1239
+ */
1240
+ interface TenantWebAnalyticsConfig {
1241
+ id: string;
1242
+ tenant?: (string | null) | Tenant;
1243
+ enabled?: boolean | null;
1244
+ /**
1245
+ * Domains allowed to send analytics events. If empty, browser analytics is blocked.
1246
+ */
1247
+ allowedOrigins?: {
1248
+ origin: string;
1249
+ id?: string | null;
1250
+ }[] | null;
1251
+ /**
1252
+ * Timezone used to group daily analytics. Once data starts coming in, this is locked and cannot be changed.
1253
+ */
1254
+ timezone: string;
1255
+ /**
1256
+ * Automatically locked once the first analytics record is saved. Contact support to unlock.
1257
+ */
1258
+ tzLocked?: boolean | null;
1259
+ updatedAt: string;
1260
+ createdAt: string;
1261
+ deletedAt?: string | null;
1262
+ }
1119
1263
  /**
1120
1264
  * This interface was referenced by `Config`'s JSON-Schema
1121
1265
  * via the `definition` "api-usage".
@@ -1214,7 +1358,7 @@ interface TenantAnalyticsDaily {
1214
1358
  */
1215
1359
  bucketTz: string;
1216
1360
  /**
1217
- * Hash of the dimension key set in this aggregate (shape mismatch detection). "pageview-only" when no custom events exist.
1361
+ * Deterministic aggregate schema shape hash for mismatch detection.
1218
1362
  */
1219
1363
  schemaShape: string;
1220
1364
  /**
@@ -1222,6 +1366,11 @@ interface TenantAnalyticsDaily {
1222
1366
  */
1223
1367
  eventDetails?: {
1224
1368
  eventName: string;
1369
+ count?: number | null;
1370
+ /**
1371
+ * Deterministic schema shape hash for this event detail row.
1372
+ */
1373
+ schemaShape?: string | null;
1225
1374
  dimensions?: {
1226
1375
  dimension: string;
1227
1376
  values?: {
@@ -1243,6 +1392,38 @@ interface TenantAnalyticsDaily {
1243
1392
  }[] | null;
1244
1393
  id?: string | null;
1245
1394
  }[] | null;
1395
+ /**
1396
+ * MCP tool usage aggregate. Populated by snapshot cron from daily Redis keys.
1397
+ */
1398
+ mcpUsage?: {
1399
+ toolCalls?: number | null;
1400
+ sessions?: number | null;
1401
+ convertedSessions?: number | null;
1402
+ conversionRate?: number | null;
1403
+ successfulWrites?: number | null;
1404
+ isPartial?: boolean | null;
1405
+ topTools?: {
1406
+ name: string;
1407
+ count: number;
1408
+ readOnly?: boolean | null;
1409
+ id?: string | null;
1410
+ }[] | null;
1411
+ transports?: {
1412
+ name: string;
1413
+ count: number;
1414
+ id?: string | null;
1415
+ }[] | null;
1416
+ httpDurationMs?: {
1417
+ p50?: number | null;
1418
+ p99?: number | null;
1419
+ buckets?: {
1420
+ bucket: string;
1421
+ label: string;
1422
+ count: number;
1423
+ id?: string | null;
1424
+ }[] | null;
1425
+ };
1426
+ };
1246
1427
  updatedAt: string;
1247
1428
  createdAt: string;
1248
1429
  }
@@ -1367,6 +1548,21 @@ interface Subscription {
1367
1548
  createdAt: string;
1368
1549
  deletedAt?: string | null;
1369
1550
  }
1551
+ /**
1552
+ * This interface was referenced by `Config`'s JSON-Schema
1553
+ * via the `definition` "tenant-purge-jobs".
1554
+ */
1555
+ interface TenantPurgeJob {
1556
+ id: string;
1557
+ tenantId: string;
1558
+ status: 'pending' | 'running' | 'failed' | 'ready-to-delete';
1559
+ currentCollection?: string | null;
1560
+ deletedCount?: number | null;
1561
+ failure?: string | null;
1562
+ completedAt?: string | null;
1563
+ updatedAt: string;
1564
+ createdAt: string;
1565
+ }
1370
1566
  /**
1371
1567
  * This interface was referenced by `Config`'s JSON-Schema
1372
1568
  * via the `definition` "billing-history".
@@ -1386,188 +1582,61 @@ interface BillingHistory {
1386
1582
  */
1387
1583
  plan: 'starter' | 'basic' | 'pro';
1388
1584
  provider: 'toss';
1389
- currency: 'KRW' | 'USD';
1390
- billingCycle?: ('monthly' | 'yearly') | null;
1391
- periodStart?: string | null;
1392
- periodEnd?: string | null;
1393
- /**
1394
- * Unique order number
1395
- */
1396
- invoiceNumber: string;
1397
- orderName?: string | null;
1398
- /**
1399
- * Toss payment key
1400
- */
1401
- paymentKey?: string | null;
1402
- /**
1403
- * Full Toss API response
1404
- */
1405
- tossResponse?: {
1406
- [k: string]: unknown;
1407
- } | unknown[] | string | number | boolean | null;
1408
- errorMessage?: string | null;
1409
- /**
1410
- * Original billing record for retry
1411
- */
1412
- retryOf?: (string | null) | BillingHistory;
1413
- updatedAt: string;
1414
- createdAt: string;
1415
- deletedAt?: string | null;
1416
- }
1417
- /**
1418
- * This interface was referenced by `Config`'s JSON-Schema
1419
- * via the `definition` "plans".
1420
- */
1421
- interface Plan {
1422
- id: string;
1423
- /**
1424
- * Plan identifier (free, starter, basic, pro, enterprise)
1425
- */
1426
- key: string;
1427
- /**
1428
- * Plan display name
1429
- */
1430
- name: string;
1431
- /**
1432
- * Reference-only feature list; enforced elsewhere.
1433
- */
1434
- featuresAllowed?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'articles' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events')[] | null;
1435
- /**
1436
- * Reference-only quotas such as storageBytes; enforced by entitlement and usage policy elsewhere.
1437
- */
1438
- quotas?: {
1439
- [k: string]: unknown;
1440
- } | unknown[] | string | number | boolean | null;
1441
- updatedAt: string;
1442
- createdAt: string;
1443
- deletedAt?: string | null;
1444
- }
1445
- /**
1446
- * This interface was referenced by `Config`'s JSON-Schema
1447
- * via the `definition` "webhooks".
1448
- */
1449
- interface Webhook {
1450
- id: string;
1451
- tenant?: (string | null) | Tenant;
1452
- /**
1453
- * Webhook name
1454
- */
1455
- name: string;
1456
- /**
1457
- * Webhook endpoint URL (http/https only)
1458
- */
1459
- url: string;
1460
- /**
1461
- * HMAC signing secret (immutable once set)
1462
- */
1463
- secret: string;
1464
- /**
1465
- * Subscribed event names
1466
- */
1467
- subscriptions?: {
1468
- event: string;
1469
- id?: string | null;
1470
- }[] | null;
1471
- isActive?: boolean | null;
1472
- lastDispatchedAt?: string | null;
1473
- updatedAt: string;
1474
- createdAt: string;
1475
- deletedAt?: string | null;
1476
- }
1477
- /**
1478
- * This interface was referenced by `Config`'s JSON-Schema
1479
- * via the `definition` "tenant-logos".
1480
- */
1481
- interface TenantLogo {
1482
- id: string;
1483
- tenant?: (string | null) | Tenant;
1484
- /**
1485
- * Alternative text for users who cannot see the image and for search/share context.
1486
- */
1487
- alt?: string | null;
1488
- /**
1489
- * Low quality image placeholder
1490
- */
1491
- lqip?: string | null;
1492
- palette?: {
1493
- vibrant?: string | null;
1494
- muted?: string | null;
1495
- darkVibrant?: string | null;
1496
- darkMuted?: string | null;
1497
- lightVibrant?: string | null;
1498
- lightMuted?: string | null;
1499
- };
1500
- prefix?: string | null;
1501
- updatedAt: string;
1502
- createdAt: string;
1503
- deletedAt?: string | null;
1504
- url?: string | null;
1505
- thumbnailURL?: string | null;
1506
- filename?: string | null;
1507
- mimeType?: string | null;
1508
- filesize?: number | null;
1509
- width?: number | null;
1510
- height?: number | null;
1511
- focalX?: number | null;
1512
- focalY?: number | null;
1513
- sizes?: {
1514
- '16'?: {
1515
- url?: string | null;
1516
- width?: number | null;
1517
- height?: number | null;
1518
- mimeType?: string | null;
1519
- filesize?: number | null;
1520
- filename?: string | null;
1521
- };
1522
- '32'?: {
1523
- url?: string | null;
1524
- width?: number | null;
1525
- height?: number | null;
1526
- mimeType?: string | null;
1527
- filesize?: number | null;
1528
- filename?: string | null;
1529
- };
1530
- '64'?: {
1531
- url?: string | null;
1532
- width?: number | null;
1533
- height?: number | null;
1534
- mimeType?: string | null;
1535
- filesize?: number | null;
1536
- filename?: string | null;
1537
- };
1538
- '128'?: {
1539
- url?: string | null;
1540
- width?: number | null;
1541
- height?: number | null;
1542
- mimeType?: string | null;
1543
- filesize?: number | null;
1544
- filename?: string | null;
1545
- };
1546
- '180'?: {
1547
- url?: string | null;
1548
- width?: number | null;
1549
- height?: number | null;
1550
- mimeType?: string | null;
1551
- filesize?: number | null;
1552
- filename?: string | null;
1553
- };
1554
- '192'?: {
1555
- url?: string | null;
1556
- width?: number | null;
1557
- height?: number | null;
1558
- mimeType?: string | null;
1559
- filesize?: number | null;
1560
- filename?: string | null;
1561
- };
1562
- '512'?: {
1563
- url?: string | null;
1564
- width?: number | null;
1565
- height?: number | null;
1566
- mimeType?: string | null;
1567
- filesize?: number | null;
1568
- filename?: string | null;
1569
- };
1570
- };
1585
+ currency: 'KRW' | 'USD';
1586
+ billingCycle?: ('monthly' | 'yearly') | null;
1587
+ periodStart?: string | null;
1588
+ periodEnd?: string | null;
1589
+ /**
1590
+ * Unique order number
1591
+ */
1592
+ invoiceNumber: string;
1593
+ orderName?: string | null;
1594
+ /**
1595
+ * Toss payment key
1596
+ */
1597
+ paymentKey?: string | null;
1598
+ /**
1599
+ * Full Toss API response
1600
+ */
1601
+ tossResponse?: {
1602
+ [k: string]: unknown;
1603
+ } | unknown[] | string | number | boolean | null;
1604
+ errorMessage?: string | null;
1605
+ /**
1606
+ * Original billing record for retry
1607
+ */
1608
+ retryOf?: (string | null) | BillingHistory;
1609
+ updatedAt: string;
1610
+ createdAt: string;
1611
+ deletedAt?: string | null;
1612
+ }
1613
+ /**
1614
+ * This interface was referenced by `Config`'s JSON-Schema
1615
+ * via the `definition` "plans".
1616
+ */
1617
+ interface Plan {
1618
+ id: string;
1619
+ /**
1620
+ * Plan identifier (free, starter, basic, pro, enterprise)
1621
+ */
1622
+ key: string;
1623
+ /**
1624
+ * Plan display name
1625
+ */
1626
+ name: string;
1627
+ /**
1628
+ * Reference-only feature list; enforced elsewhere.
1629
+ */
1630
+ featuresAllowed?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'articles' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events')[] | null;
1631
+ /**
1632
+ * Reference-only quotas such as storageBytes; enforced by entitlement and usage policy elsewhere.
1633
+ */
1634
+ quotas?: {
1635
+ [k: string]: unknown;
1636
+ } | unknown[] | string | number | boolean | null;
1637
+ updatedAt: string;
1638
+ createdAt: string;
1639
+ deletedAt?: string | null;
1571
1640
  }
1572
1641
  /**
1573
1642
  * This interface was referenced by `Config`'s JSON-Schema
@@ -1578,6 +1647,9 @@ interface Product {
1578
1647
  _order?: string | null;
1579
1648
  tenant?: (string | null) | Tenant;
1580
1649
  title: string;
1650
+ /**
1651
+ * Secondary display line shown in cards, listings, and detail headers.
1652
+ */
1581
1653
  subtitle?: string | null;
1582
1654
  /**
1583
1655
  * Short summary for listing/cards
@@ -1705,7 +1777,6 @@ interface Product {
1705
1777
  updatedAt: string;
1706
1778
  createdAt: string;
1707
1779
  deletedAt?: string | null;
1708
- _status?: ('draft' | 'published') | null;
1709
1780
  }
1710
1781
  /**
1711
1782
  * This interface was referenced by `Config`'s JSON-Schema
@@ -1715,6 +1786,10 @@ interface Video {
1715
1786
  id: string;
1716
1787
  tenant?: (string | null) | Tenant;
1717
1788
  title: string;
1789
+ /**
1790
+ * Secondary display line shown in cards, listings, and detail headers.
1791
+ */
1792
+ subtitle?: string | null;
1718
1793
  filename?: string | null;
1719
1794
  /**
1720
1795
  * Short summary for listing/cards
@@ -1818,6 +1893,10 @@ interface LiveStream {
1818
1893
  id: string;
1819
1894
  tenant?: (string | null) | Tenant;
1820
1895
  title: string;
1896
+ /**
1897
+ * Secondary display line shown in cards, listings, and detail headers.
1898
+ */
1899
+ subtitle?: string | null;
1821
1900
  /**
1822
1901
  * Short summary for listing/cards
1823
1902
  */
@@ -2203,7 +2282,101 @@ interface Brand {
2203
2282
  updatedAt: string;
2204
2283
  createdAt: string;
2205
2284
  deletedAt?: string | null;
2206
- _status?: ('draft' | 'published') | null;
2285
+ }
2286
+ /**
2287
+ * This interface was referenced by `Config`'s JSON-Schema
2288
+ * via the `definition` "brand-logos".
2289
+ */
2290
+ interface BrandLogo {
2291
+ id: string;
2292
+ tenant?: (string | null) | Tenant;
2293
+ /**
2294
+ * Alternative text for users who cannot see the image and for search/share context.
2295
+ */
2296
+ alt?: string | null;
2297
+ /**
2298
+ * Low quality image placeholder
2299
+ */
2300
+ lqip?: string | null;
2301
+ palette?: {
2302
+ vibrant?: string | null;
2303
+ muted?: string | null;
2304
+ darkVibrant?: string | null;
2305
+ darkMuted?: string | null;
2306
+ lightVibrant?: string | null;
2307
+ lightMuted?: string | null;
2308
+ };
2309
+ prefix?: string | null;
2310
+ updatedAt: string;
2311
+ createdAt: string;
2312
+ deletedAt?: string | null;
2313
+ url?: string | null;
2314
+ thumbnailURL?: string | null;
2315
+ filename?: string | null;
2316
+ mimeType?: string | null;
2317
+ filesize?: number | null;
2318
+ width?: number | null;
2319
+ height?: number | null;
2320
+ focalX?: number | null;
2321
+ focalY?: number | null;
2322
+ sizes?: {
2323
+ '16'?: {
2324
+ url?: string | null;
2325
+ width?: number | null;
2326
+ height?: number | null;
2327
+ mimeType?: string | null;
2328
+ filesize?: number | null;
2329
+ filename?: string | null;
2330
+ };
2331
+ '32'?: {
2332
+ url?: string | null;
2333
+ width?: number | null;
2334
+ height?: number | null;
2335
+ mimeType?: string | null;
2336
+ filesize?: number | null;
2337
+ filename?: string | null;
2338
+ };
2339
+ '64'?: {
2340
+ url?: string | null;
2341
+ width?: number | null;
2342
+ height?: number | null;
2343
+ mimeType?: string | null;
2344
+ filesize?: number | null;
2345
+ filename?: string | null;
2346
+ };
2347
+ '128'?: {
2348
+ url?: string | null;
2349
+ width?: number | null;
2350
+ height?: number | null;
2351
+ mimeType?: string | null;
2352
+ filesize?: number | null;
2353
+ filename?: string | null;
2354
+ };
2355
+ '180'?: {
2356
+ url?: string | null;
2357
+ width?: number | null;
2358
+ height?: number | null;
2359
+ mimeType?: string | null;
2360
+ filesize?: number | null;
2361
+ filename?: string | null;
2362
+ };
2363
+ '192'?: {
2364
+ url?: string | null;
2365
+ width?: number | null;
2366
+ height?: number | null;
2367
+ mimeType?: string | null;
2368
+ filesize?: number | null;
2369
+ filename?: string | null;
2370
+ };
2371
+ '512'?: {
2372
+ url?: string | null;
2373
+ width?: number | null;
2374
+ height?: number | null;
2375
+ mimeType?: string | null;
2376
+ filesize?: number | null;
2377
+ filename?: string | null;
2378
+ };
2379
+ };
2207
2380
  }
2208
2381
  /**
2209
2382
  * This interface was referenced by `Config`'s JSON-Schema
@@ -2264,6 +2437,10 @@ interface ProductCollection {
2264
2437
  _order?: string | null;
2265
2438
  tenant?: (string | null) | Tenant;
2266
2439
  title: string;
2440
+ /**
2441
+ * Secondary display line shown in cards, listings, and detail headers.
2442
+ */
2443
+ subtitle?: string | null;
2267
2444
  /**
2268
2445
  * Short summary for listing/cards
2269
2446
  */
@@ -2333,7 +2510,6 @@ interface ProductCollection {
2333
2510
  updatedAt: string;
2334
2511
  createdAt: string;
2335
2512
  deletedAt?: string | null;
2336
- _status?: ('draft' | 'published') | null;
2337
2513
  }
2338
2514
  /**
2339
2515
  * This interface was referenced by `Config`'s JSON-Schema
@@ -3205,7 +3381,7 @@ interface Article {
3205
3381
  tenant?: (string | null) | Tenant;
3206
3382
  title: string;
3207
3383
  /**
3208
- * Secondary title shown in article lists and at the top of the article page.
3384
+ * Secondary display line shown in cards, listings, and detail headers.
3209
3385
  */
3210
3386
  subtitle?: string | null;
3211
3387
  /**
@@ -3268,6 +3444,7 @@ interface Article {
3268
3444
  */
3269
3445
  generateSlug?: boolean | null;
3270
3446
  slug?: string | null;
3447
+ status?: ('draft' | 'published' | 'archived') | null;
3271
3448
  thumbnail?: (string | null) | Image;
3272
3449
  images?: (string | Image)[] | null;
3273
3450
  publishedAt?: string | null;
@@ -3286,7 +3463,7 @@ interface Article {
3286
3463
  canonicalUrl?: string | null;
3287
3464
  visibility?: ('public' | 'members' | 'paid') | null;
3288
3465
  /**
3289
- * Scheduled publish time. The scheduled publishing job uses this timestamp.
3466
+ * Scheduled publish metadata. No automatic publishing job runs from this field.
3290
3467
  */
3291
3468
  scheduledAt?: string | null;
3292
3469
  /**
@@ -3303,7 +3480,6 @@ interface Article {
3303
3480
  updatedAt: string;
3304
3481
  createdAt: string;
3305
3482
  deletedAt?: string | null;
3306
- _status?: ('draft' | 'published') | null;
3307
3483
  }
3308
3484
  /**
3309
3485
  * This interface was referenced by `Config`'s JSON-Schema
@@ -3397,6 +3573,10 @@ interface Document {
3397
3573
  _order?: string | null;
3398
3574
  tenant?: (string | null) | Tenant;
3399
3575
  title: string;
3576
+ /**
3577
+ * Secondary display line shown in cards, listings, and detail headers.
3578
+ */
3579
+ subtitle?: string | null;
3400
3580
  /**
3401
3581
  * Short summary for listing/cards
3402
3582
  */
@@ -3482,6 +3662,7 @@ interface Document {
3482
3662
  */
3483
3663
  generateSlug?: boolean | null;
3484
3664
  slug?: string | null;
3665
+ status?: ('draft' | 'published' | 'archived') | null;
3485
3666
  type?: (string | null) | DocumentType;
3486
3667
  jurisdiction?: string | null;
3487
3668
  /**
@@ -3502,7 +3683,6 @@ interface Document {
3502
3683
  updatedAt: string;
3503
3684
  createdAt: string;
3504
3685
  deletedAt?: string | null;
3505
- _status?: ('draft' | 'published') | null;
3506
3686
  }
3507
3687
  /**
3508
3688
  * This interface was referenced by `Config`'s JSON-Schema
@@ -3562,6 +3742,10 @@ interface Playlist {
3562
3742
  _order?: string | null;
3563
3743
  tenant?: (string | null) | Tenant;
3564
3744
  title: string;
3745
+ /**
3746
+ * Secondary display line shown in cards, listings, and detail headers.
3747
+ */
3748
+ subtitle?: string | null;
3565
3749
  /**
3566
3750
  * Short summary for listing/cards
3567
3751
  */
@@ -3622,7 +3806,6 @@ interface Playlist {
3622
3806
  updatedAt: string;
3623
3807
  createdAt: string;
3624
3808
  deletedAt?: string | null;
3625
- _status?: ('draft' | 'published') | null;
3626
3809
  }
3627
3810
  /**
3628
3811
  * This interface was referenced by `Config`'s JSON-Schema
@@ -3740,7 +3923,6 @@ interface Track {
3740
3923
  updatedAt: string;
3741
3924
  createdAt: string;
3742
3925
  deletedAt?: string | null;
3743
- _status?: ('draft' | 'published') | null;
3744
3926
  }
3745
3927
  /**
3746
3928
  * This interface was referenced by `Config`'s JSON-Schema
@@ -3826,6 +4008,10 @@ interface Gallery {
3826
4008
  _order?: string | null;
3827
4009
  tenant?: (string | null) | Tenant;
3828
4010
  title: string;
4011
+ /**
4012
+ * Secondary display line shown in cards, listings, and detail headers.
4013
+ */
4014
+ subtitle?: string | null;
3829
4015
  /**
3830
4016
  * Short summary for listing/cards
3831
4017
  */
@@ -3889,7 +4075,6 @@ interface Gallery {
3889
4075
  updatedAt: string;
3890
4076
  createdAt: string;
3891
4077
  deletedAt?: string | null;
3892
- _status?: ('draft' | 'published') | null;
3893
4078
  }
3894
4079
  /**
3895
4080
  * This interface was referenced by `Config`'s JSON-Schema
@@ -3956,6 +4141,7 @@ interface GalleryItem {
3956
4141
  * Short summary for listing/cards
3957
4142
  */
3958
4143
  description?: string | null;
4144
+ status?: ('draft' | 'published' | 'archived') | null;
3959
4145
  content?: {
3960
4146
  root: {
3961
4147
  type: string;
@@ -3978,7 +4164,6 @@ interface GalleryItem {
3978
4164
  updatedAt: string;
3979
4165
  createdAt: string;
3980
4166
  deletedAt?: string | null;
3981
- _status?: ('draft' | 'published') | null;
3982
4167
  }
3983
4168
  /**
3984
4169
  * This interface was referenced by `Config`'s JSON-Schema
@@ -3989,6 +4174,10 @@ interface Link {
3989
4174
  _order?: string | null;
3990
4175
  tenant?: (string | null) | Tenant;
3991
4176
  title: string;
4177
+ /**
4178
+ * Secondary display line shown in cards, listings, and detail headers.
4179
+ */
4180
+ subtitle?: string | null;
3992
4181
  /**
3993
4182
  * Link URL (internal or external)
3994
4183
  */
@@ -4037,7 +4226,6 @@ interface Link {
4037
4226
  updatedAt: string;
4038
4227
  createdAt: string;
4039
4228
  deletedAt?: string | null;
4040
- _status?: ('draft' | 'published') | null;
4041
4229
  }
4042
4230
  /**
4043
4231
  * This interface was referenced by `Config`'s JSON-Schema
@@ -4097,6 +4285,10 @@ interface Canvase {
4097
4285
  id: string;
4098
4286
  tenant?: (string | null) | Tenant;
4099
4287
  title: string;
4288
+ /**
4289
+ * Secondary display line shown in cards, listings, and detail headers.
4290
+ */
4291
+ subtitle?: string | null;
4100
4292
  /**
4101
4293
  * Short summary for listing/cards
4102
4294
  */
@@ -4154,7 +4346,6 @@ interface Canvase {
4154
4346
  updatedAt: string;
4155
4347
  createdAt: string;
4156
4348
  deletedAt?: string | null;
4157
- _status?: ('draft' | 'published') | null;
4158
4349
  }
4159
4350
  /**
4160
4351
  * This interface was referenced by `Config`'s JSON-Schema
@@ -4662,6 +4853,10 @@ interface EventCalendar {
4662
4853
  _order?: string | null;
4663
4854
  tenant?: (string | null) | Tenant;
4664
4855
  title: string;
4856
+ /**
4857
+ * Secondary display line shown in cards, listings, and detail headers.
4858
+ */
4859
+ subtitle?: string | null;
4665
4860
  /**
4666
4861
  * Short summary for listing/cards
4667
4862
  */
@@ -4722,6 +4917,7 @@ interface EventCalendar {
4722
4917
  */
4723
4918
  generateSlug?: boolean | null;
4724
4919
  slug?: string | null;
4920
+ status?: ('draft' | 'published' | 'archived') | null;
4725
4921
  timezone: string;
4726
4922
  color?: string | null;
4727
4923
  visibility: 'public' | 'unlisted' | 'members' | 'private';
@@ -4732,7 +4928,6 @@ interface EventCalendar {
4732
4928
  updatedAt: string;
4733
4929
  createdAt: string;
4734
4930
  deletedAt?: string | null;
4735
- _status?: ('draft' | 'published') | null;
4736
4931
  }
4737
4932
  /**
4738
4933
  * This interface was referenced by `Config`'s JSON-Schema
@@ -4743,6 +4938,10 @@ interface Event {
4743
4938
  _order?: string | null;
4744
4939
  tenant?: (string | null) | Tenant;
4745
4940
  title: string;
4941
+ /**
4942
+ * Secondary display line shown in cards, listings, and detail headers.
4943
+ */
4944
+ subtitle?: string | null;
4746
4945
  /**
4747
4946
  * Short summary for listing/cards
4748
4947
  */
@@ -4856,7 +5055,6 @@ interface Event {
4856
5055
  updatedAt: string;
4857
5056
  createdAt: string;
4858
5057
  deletedAt?: string | null;
4859
- _status?: ('draft' | 'published') | null;
4860
5058
  }
4861
5059
  /**
4862
5060
  * This interface was referenced by `Config`'s JSON-Schema
@@ -5264,301 +5462,10 @@ interface PayloadKv {
5264
5462
  */
5265
5463
  interface PayloadLockedDocument {
5266
5464
  id: string;
5267
- document?: ({
5465
+ document?: {
5268
5466
  relationTo: 'users';
5269
5467
  value: string | User;
5270
- } | null) | ({
5271
- relationTo: 'field-configs';
5272
- value: string | FieldConfig;
5273
- } | null) | ({
5274
- relationTo: 'images';
5275
- value: string | Image;
5276
- } | null) | ({
5277
- relationTo: 'system-media';
5278
- value: string | SystemMedia;
5279
- } | null) | ({
5280
- relationTo: 'audiences';
5281
- value: string | Audience;
5282
- } | null) | ({
5283
- relationTo: 'email-logs';
5284
- value: string | EmailLog;
5285
- } | null) | ({
5286
- relationTo: 'api-keys';
5287
- value: string | ApiKey;
5288
- } | null) | ({
5289
- relationTo: 'personal-access-tokens';
5290
- value: string | PersonalAccessToken;
5291
- } | null) | ({
5292
- relationTo: 'audit-logs';
5293
- value: string | AuditLog;
5294
- } | null) | ({
5295
- relationTo: 'webhook-events';
5296
- value: string | WebhookEvent;
5297
- } | null) | ({
5298
- relationTo: 'webhook-deliveries';
5299
- value: string | WebhookDelivery;
5300
- } | null) | ({
5301
- relationTo: 'tenants';
5302
- value: string | Tenant;
5303
- } | null) | ({
5304
- relationTo: 'tenant-metadata';
5305
- value: string | TenantMetadatum;
5306
- } | null) | ({
5307
- relationTo: 'api-usage';
5308
- value: string | ApiUsage;
5309
- } | null) | ({
5310
- relationTo: 'tenant-analytics-daily';
5311
- value: string | TenantAnalyticsDaily;
5312
- } | null) | ({
5313
- relationTo: 'analytics-event-schemas';
5314
- value: string | AnalyticsEventSchema;
5315
- } | null) | ({
5316
- relationTo: 'tenant-entitlements';
5317
- value: string | TenantEntitlement;
5318
- } | null) | ({
5319
- relationTo: 'subscriptions';
5320
- value: string | Subscription;
5321
- } | null) | ({
5322
- relationTo: 'billing-history';
5323
- value: string | BillingHistory;
5324
- } | null) | ({
5325
- relationTo: 'plans';
5326
- value: string | Plan;
5327
- } | null) | ({
5328
- relationTo: 'webhooks';
5329
- value: string | Webhook;
5330
- } | null) | ({
5331
- relationTo: 'tenant-logos';
5332
- value: string | TenantLogo;
5333
- } | null) | ({
5334
- relationTo: 'products';
5335
- value: string | Product;
5336
- } | null) | ({
5337
- relationTo: 'product-variants';
5338
- value: string | ProductVariant;
5339
- } | null) | ({
5340
- relationTo: 'product-options';
5341
- value: string | ProductOption;
5342
- } | null) | ({
5343
- relationTo: 'product-option-values';
5344
- value: string | ProductOptionValue;
5345
- } | null) | ({
5346
- relationTo: 'product-categories';
5347
- value: string | ProductCategory;
5348
- } | null) | ({
5349
- relationTo: 'product-tags';
5350
- value: string | ProductTag;
5351
- } | null) | ({
5352
- relationTo: 'product-collections';
5353
- value: string | ProductCollection;
5354
- } | null) | ({
5355
- relationTo: 'brands';
5356
- value: string | Brand;
5357
- } | null) | ({
5358
- relationTo: 'brand-logos';
5359
- value: string | BrandLogo;
5360
- } | null) | ({
5361
- relationTo: 'orders';
5362
- value: string | Order;
5363
- } | null) | ({
5364
- relationTo: 'order-items';
5365
- value: string | OrderItem;
5366
- } | null) | ({
5367
- relationTo: 'transactions';
5368
- value: string | Transaction;
5369
- } | null) | ({
5370
- relationTo: 'order-status-logs';
5371
- value: string | OrderStatusLog;
5372
- } | null) | ({
5373
- relationTo: 'fulfillments';
5374
- value: string | Fulfillment;
5375
- } | null) | ({
5376
- relationTo: 'fulfillment-items';
5377
- value: string | FulfillmentItem;
5378
- } | null) | ({
5379
- relationTo: 'returns';
5380
- value: string | Return;
5381
- } | null) | ({
5382
- relationTo: 'return-items';
5383
- value: string | ReturnItem;
5384
- } | null) | ({
5385
- relationTo: 'shipping-policies';
5386
- value: string | ShippingPolicy;
5387
- } | null) | ({
5388
- relationTo: 'customers';
5389
- value: string | Customer;
5390
- } | null) | ({
5391
- relationTo: 'customer-profiles';
5392
- value: string | CustomerProfile;
5393
- } | null) | ({
5394
- relationTo: 'customer-profile-lists';
5395
- value: string | CustomerProfileList;
5396
- } | null) | ({
5397
- relationTo: 'customer-addresses';
5398
- value: string | CustomerAddress;
5399
- } | null) | ({
5400
- relationTo: 'customer-groups';
5401
- value: string | CustomerGroup;
5402
- } | null) | ({
5403
- relationTo: 'carts';
5404
- value: string | Cart;
5405
- } | null) | ({
5406
- relationTo: 'cart-items';
5407
- value: string | CartItem;
5408
- } | null) | ({
5409
- relationTo: 'discounts';
5410
- value: string | Discount;
5411
- } | null) | ({
5412
- relationTo: 'promotions';
5413
- value: string | Promotion;
5414
- } | null) | ({
5415
- relationTo: 'articles';
5416
- value: string | Article;
5417
- } | null) | ({
5418
- relationTo: 'article-authors';
5419
- value: string | ArticleAuthor;
5420
- } | null) | ({
5421
- relationTo: 'article-categories';
5422
- value: string | ArticleCategory;
5423
- } | null) | ({
5424
- relationTo: 'article-tags';
5425
- value: string | ArticleTag;
5426
- } | null) | ({
5427
- relationTo: 'documents';
5428
- value: string | Document;
5429
- } | null) | ({
5430
- relationTo: 'document-categories';
5431
- value: string | DocumentCategory;
5432
- } | null) | ({
5433
- relationTo: 'document-types';
5434
- value: string | DocumentType;
5435
- } | null) | ({
5436
- relationTo: 'playlists';
5437
- value: string | Playlist;
5438
- } | null) | ({
5439
- relationTo: 'playlist-categories';
5440
- value: string | PlaylistCategory;
5441
- } | null) | ({
5442
- relationTo: 'playlist-tags';
5443
- value: string | PlaylistTag;
5444
- } | null) | ({
5445
- relationTo: 'tracks';
5446
- value: string | Track;
5447
- } | null) | ({
5448
- relationTo: 'track-assets';
5449
- value: string | TrackAsset;
5450
- } | null) | ({
5451
- relationTo: 'track-categories';
5452
- value: string | TrackCategory;
5453
- } | null) | ({
5454
- relationTo: 'track-tags';
5455
- value: string | TrackTag;
5456
- } | null) | ({
5457
- relationTo: 'galleries';
5458
- value: string | Gallery;
5459
- } | null) | ({
5460
- relationTo: 'gallery-categories';
5461
- value: string | GalleryCategory;
5462
- } | null) | ({
5463
- relationTo: 'gallery-tags';
5464
- value: string | GalleryTag;
5465
- } | null) | ({
5466
- relationTo: 'gallery-items';
5467
- value: string | GalleryItem;
5468
- } | null) | ({
5469
- relationTo: 'links';
5470
- value: string | Link;
5471
- } | null) | ({
5472
- relationTo: 'link-categories';
5473
- value: string | LinkCategory;
5474
- } | null) | ({
5475
- relationTo: 'link-tags';
5476
- value: string | LinkTag;
5477
- } | null) | ({
5478
- relationTo: 'canvases';
5479
- value: string | Canvase;
5480
- } | null) | ({
5481
- relationTo: 'canvas-node-types';
5482
- value: string | CanvasNodeType;
5483
- } | null) | ({
5484
- relationTo: 'canvas-edge-types';
5485
- value: string | CanvasEdgeType;
5486
- } | null) | ({
5487
- relationTo: 'canvas-categories';
5488
- value: string | CanvasCategory;
5489
- } | null) | ({
5490
- relationTo: 'canvas-tags';
5491
- value: string | CanvasTag;
5492
- } | null) | ({
5493
- relationTo: 'canvas-nodes';
5494
- value: string | CanvasNode;
5495
- } | null) | ({
5496
- relationTo: 'canvas-edges';
5497
- value: string | CanvasEdge;
5498
- } | null) | ({
5499
- relationTo: 'videos';
5500
- value: string | Video;
5501
- } | null) | ({
5502
- relationTo: 'video-categories';
5503
- value: string | VideoCategory;
5504
- } | null) | ({
5505
- relationTo: 'video-tags';
5506
- value: string | VideoTag;
5507
- } | null) | ({
5508
- relationTo: 'live-streams';
5509
- value: string | LiveStream;
5510
- } | null) | ({
5511
- relationTo: 'posts';
5512
- value: string | Post;
5513
- } | null) | ({
5514
- relationTo: 'comments';
5515
- value: string | Comment;
5516
- } | null) | ({
5517
- relationTo: 'reactions';
5518
- value: string | Reaction;
5519
- } | null) | ({
5520
- relationTo: 'reaction-types';
5521
- value: string | ReactionType;
5522
- } | null) | ({
5523
- relationTo: 'bookmarks';
5524
- value: string | Bookmark;
5525
- } | null) | ({
5526
- relationTo: 'post-categories';
5527
- value: string | PostCategory;
5528
- } | null) | ({
5529
- relationTo: 'reports';
5530
- value: string | Report;
5531
- } | null) | ({
5532
- relationTo: 'community-bans';
5533
- value: string | CommunityBan;
5534
- } | null) | ({
5535
- relationTo: 'event-calendars';
5536
- value: string | EventCalendar;
5537
- } | null) | ({
5538
- relationTo: 'events';
5539
- value: string | Event;
5540
- } | null) | ({
5541
- relationTo: 'event-categories';
5542
- value: string | EventCategory;
5543
- } | null) | ({
5544
- relationTo: 'event-tags';
5545
- value: string | EventTag;
5546
- } | null) | ({
5547
- relationTo: 'event-occurrences';
5548
- value: string | EventOccurrence;
5549
- } | null) | ({
5550
- relationTo: 'event-registrations';
5551
- value: string | EventRegistration;
5552
- } | null) | ({
5553
- relationTo: 'direct-upload-sessions';
5554
- value: string | DirectUploadSession;
5555
- } | null) | ({
5556
- relationTo: 'forms';
5557
- value: string | Form;
5558
- } | null) | ({
5559
- relationTo: 'form-submissions';
5560
- value: string | FormSubmission;
5561
- } | null);
5468
+ } | null;
5562
5469
  globalSlug?: string | null;
5563
5470
  user: {
5564
5471
  relationTo: 'users';
@@ -5681,6 +5588,7 @@ interface ImagesSelect<T extends boolean = true> {
5681
5588
  uploadStatus?: T;
5682
5589
  processingStatus?: T;
5683
5590
  processingError?: T;
5591
+ folder?: T;
5684
5592
  updatedAt?: T;
5685
5593
  createdAt?: T;
5686
5594
  deletedAt?: T;
@@ -5745,6 +5653,7 @@ interface SystemMediaSelect<T extends boolean = true> {
5745
5653
  caption?: T;
5746
5654
  credit?: T;
5747
5655
  prefix?: T;
5656
+ folder?: T;
5748
5657
  updatedAt?: T;
5749
5658
  createdAt?: T;
5750
5659
  deletedAt?: T;
@@ -5871,9 +5780,21 @@ interface WebhookEventsSelect<T extends boolean = true> {
5871
5780
  */
5872
5781
  interface WebhookDeliveriesSelect<T extends boolean = true> {
5873
5782
  tenant?: T;
5874
- webhookEventId?: T;
5783
+ webhookId?: T;
5784
+ deliveryId?: T;
5875
5785
  attempt?: T;
5876
5786
  status?: T;
5787
+ endpointHost?: T;
5788
+ endpointUrlHash?: T;
5789
+ collection?: T;
5790
+ operation?: T;
5791
+ source?: T;
5792
+ statusCode?: T;
5793
+ errorKind?: T;
5794
+ errorMessage?: T;
5795
+ durationMs?: T;
5796
+ nextRetryAt?: T;
5797
+ redelivery?: T;
5877
5798
  dispatchedAt?: T;
5878
5799
  updatedAt?: T;
5879
5800
  createdAt?: T;
@@ -5889,30 +5810,14 @@ interface TenantsSelect<T extends boolean = true> {
5889
5810
  enabledFeatures?: T;
5890
5811
  enabledRelationshipRecipes?: T;
5891
5812
  featureVersion?: T;
5892
- isDevMode?: T;
5813
+ provisioning?: T;
5893
5814
  status?: T;
5894
5815
  publishableKey?: T;
5895
5816
  cors?: T | {
5896
5817
  origin?: T;
5897
5818
  id?: T;
5898
5819
  };
5899
- webhooks?: T | {
5900
- name?: T;
5901
- url?: T;
5902
- secret?: T;
5903
- isEnabled?: T;
5904
- id?: T;
5905
- };
5906
5820
  members?: T;
5907
- webAnalytics?: T | {
5908
- enabled?: T;
5909
- allowedOrigins?: T | {
5910
- origin?: T;
5911
- id?: T;
5912
- };
5913
- timezone?: T;
5914
- tzLocked?: T;
5915
- };
5916
5821
  updatedAt?: T;
5917
5822
  createdAt?: T;
5918
5823
  deletedAt?: T;
@@ -5982,6 +5887,23 @@ interface TenantMetadataSelect<T extends boolean = true> {
5982
5887
  createdAt?: T;
5983
5888
  deletedAt?: T;
5984
5889
  }
5890
+ /**
5891
+ * This interface was referenced by `Config`'s JSON-Schema
5892
+ * via the `definition` "tenant-web-analytics-config_select".
5893
+ */
5894
+ interface TenantWebAnalyticsConfigSelect<T extends boolean = true> {
5895
+ tenant?: T;
5896
+ enabled?: T;
5897
+ allowedOrigins?: T | {
5898
+ origin?: T;
5899
+ id?: T;
5900
+ };
5901
+ timezone?: T;
5902
+ tzLocked?: T;
5903
+ updatedAt?: T;
5904
+ createdAt?: T;
5905
+ deletedAt?: T;
5906
+ }
5985
5907
  /**
5986
5908
  * This interface was referenced by `Config`'s JSON-Schema
5987
5909
  * via the `definition` "api-usage_select".
@@ -6041,6 +5963,8 @@ interface TenantAnalyticsDailySelect<T extends boolean = true> {
6041
5963
  schemaShape?: T;
6042
5964
  eventDetails?: T | {
6043
5965
  eventName?: T;
5966
+ count?: T;
5967
+ schemaShape?: T;
6044
5968
  dimensions?: T | {
6045
5969
  dimension?: T;
6046
5970
  values?: T | {
@@ -6062,6 +5986,35 @@ interface TenantAnalyticsDailySelect<T extends boolean = true> {
6062
5986
  };
6063
5987
  id?: T;
6064
5988
  };
5989
+ mcpUsage?: T | {
5990
+ toolCalls?: T;
5991
+ sessions?: T;
5992
+ convertedSessions?: T;
5993
+ conversionRate?: T;
5994
+ successfulWrites?: T;
5995
+ isPartial?: T;
5996
+ topTools?: T | {
5997
+ name?: T;
5998
+ count?: T;
5999
+ readOnly?: T;
6000
+ id?: T;
6001
+ };
6002
+ transports?: T | {
6003
+ name?: T;
6004
+ count?: T;
6005
+ id?: T;
6006
+ };
6007
+ httpDurationMs?: T | {
6008
+ p50?: T;
6009
+ p99?: T;
6010
+ buckets?: T | {
6011
+ bucket?: T;
6012
+ label?: T;
6013
+ count?: T;
6014
+ id?: T;
6015
+ };
6016
+ };
6017
+ };
6065
6018
  updatedAt?: T;
6066
6019
  createdAt?: T;
6067
6020
  }
@@ -6107,6 +6060,20 @@ interface TenantEntitlementsSelect<T extends boolean = true> {
6107
6060
  createdAt?: T;
6108
6061
  deletedAt?: T;
6109
6062
  }
6063
+ /**
6064
+ * This interface was referenced by `Config`'s JSON-Schema
6065
+ * via the `definition` "tenant-purge-jobs_select".
6066
+ */
6067
+ interface TenantPurgeJobsSelect<T extends boolean = true> {
6068
+ tenantId?: T;
6069
+ status?: T;
6070
+ currentCollection?: T;
6071
+ deletedCount?: T;
6072
+ failure?: T;
6073
+ completedAt?: T;
6074
+ updatedAt?: T;
6075
+ createdAt?: T;
6076
+ }
6110
6077
  /**
6111
6078
  * This interface was referenced by `Config`'s JSON-Schema
6112
6079
  * via the `definition` "subscriptions_select".
@@ -6197,7 +6164,7 @@ interface WebhooksSelect<T extends boolean = true> {
6197
6164
  url?: T;
6198
6165
  secret?: T;
6199
6166
  subscriptions?: T | {
6200
- event?: T;
6167
+ collection?: T;
6201
6168
  id?: T;
6202
6169
  };
6203
6170
  isActive?: T;
@@ -6353,7 +6320,6 @@ interface ProductsSelect<T extends boolean = true> {
6353
6320
  updatedAt?: T;
6354
6321
  createdAt?: T;
6355
6322
  deletedAt?: T;
6356
- _status?: T;
6357
6323
  }
6358
6324
  /**
6359
6325
  * This interface was referenced by `Config`'s JSON-Schema
@@ -6464,6 +6430,7 @@ interface ProductCollectionsSelect<T extends boolean = true> {
6464
6430
  _order?: T;
6465
6431
  tenant?: T;
6466
6432
  title?: T;
6433
+ subtitle?: T;
6467
6434
  description?: T;
6468
6435
  content?: T;
6469
6436
  images?: T;
@@ -6490,7 +6457,6 @@ interface ProductCollectionsSelect<T extends boolean = true> {
6490
6457
  updatedAt?: T;
6491
6458
  createdAt?: T;
6492
6459
  deletedAt?: T;
6493
- _status?: T;
6494
6460
  }
6495
6461
  /**
6496
6462
  * This interface was referenced by `Config`'s JSON-Schema
@@ -6526,7 +6492,6 @@ interface BrandsSelect<T extends boolean = true> {
6526
6492
  updatedAt?: T;
6527
6493
  createdAt?: T;
6528
6494
  deletedAt?: T;
6529
- _status?: T;
6530
6495
  }
6531
6496
  /**
6532
6497
  * This interface was referenced by `Config`'s JSON-Schema
@@ -7170,6 +7135,7 @@ interface ArticlesSelect<T extends boolean = true> {
7170
7135
  };
7171
7136
  generateSlug?: T;
7172
7137
  slug?: T;
7138
+ status?: T;
7173
7139
  thumbnail?: T;
7174
7140
  images?: T;
7175
7141
  publishedAt?: T;
@@ -7185,7 +7151,6 @@ interface ArticlesSelect<T extends boolean = true> {
7185
7151
  updatedAt?: T;
7186
7152
  createdAt?: T;
7187
7153
  deletedAt?: T;
7188
- _status?: T;
7189
7154
  }
7190
7155
  /**
7191
7156
  * This interface was referenced by `Config`'s JSON-Schema
@@ -7251,6 +7216,7 @@ interface DocumentsSelect<T extends boolean = true> {
7251
7216
  _order?: T;
7252
7217
  tenant?: T;
7253
7218
  title?: T;
7219
+ subtitle?: T;
7254
7220
  description?: T;
7255
7221
  content?: T;
7256
7222
  videos?: T;
@@ -7277,6 +7243,7 @@ interface DocumentsSelect<T extends boolean = true> {
7277
7243
  };
7278
7244
  generateSlug?: T;
7279
7245
  slug?: T;
7246
+ status?: T;
7280
7247
  type?: T;
7281
7248
  jurisdiction?: T;
7282
7249
  language?: T;
@@ -7289,7 +7256,6 @@ interface DocumentsSelect<T extends boolean = true> {
7289
7256
  updatedAt?: T;
7290
7257
  createdAt?: T;
7291
7258
  deletedAt?: T;
7292
- _status?: T;
7293
7259
  }
7294
7260
  /**
7295
7261
  * This interface was referenced by `Config`'s JSON-Schema
@@ -7334,6 +7300,7 @@ interface PlaylistsSelect<T extends boolean = true> {
7334
7300
  _order?: T;
7335
7301
  tenant?: T;
7336
7302
  title?: T;
7303
+ subtitle?: T;
7337
7304
  description?: T;
7338
7305
  videos?: T;
7339
7306
  categories?: T;
@@ -7362,7 +7329,6 @@ interface PlaylistsSelect<T extends boolean = true> {
7362
7329
  updatedAt?: T;
7363
7330
  createdAt?: T;
7364
7331
  deletedAt?: T;
7365
- _status?: T;
7366
7332
  }
7367
7333
  /**
7368
7334
  * This interface was referenced by `Config`'s JSON-Schema
@@ -7434,7 +7400,6 @@ interface TracksSelect<T extends boolean = true> {
7434
7400
  updatedAt?: T;
7435
7401
  createdAt?: T;
7436
7402
  deletedAt?: T;
7437
- _status?: T;
7438
7403
  }
7439
7404
  /**
7440
7405
  * This interface was referenced by `Config`'s JSON-Schema
@@ -7502,6 +7467,7 @@ interface GalleriesSelect<T extends boolean = true> {
7502
7467
  _order?: T;
7503
7468
  tenant?: T;
7504
7469
  title?: T;
7470
+ subtitle?: T;
7505
7471
  description?: T;
7506
7472
  videos?: T;
7507
7473
  categories?: T;
@@ -7529,7 +7495,6 @@ interface GalleriesSelect<T extends boolean = true> {
7529
7495
  updatedAt?: T;
7530
7496
  createdAt?: T;
7531
7497
  deletedAt?: T;
7532
- _status?: T;
7533
7498
  }
7534
7499
  /**
7535
7500
  * This interface was referenced by `Config`'s JSON-Schema
@@ -7578,13 +7543,13 @@ interface GalleryItemsSelect<T extends boolean = true> {
7578
7543
  gallery?: T;
7579
7544
  title?: T;
7580
7545
  description?: T;
7546
+ status?: T;
7581
7547
  content?: T;
7582
7548
  image?: T;
7583
7549
  metadata?: T;
7584
7550
  updatedAt?: T;
7585
7551
  createdAt?: T;
7586
7552
  deletedAt?: T;
7587
- _status?: T;
7588
7553
  }
7589
7554
  /**
7590
7555
  * This interface was referenced by `Config`'s JSON-Schema
@@ -7594,6 +7559,7 @@ interface LinksSelect<T extends boolean = true> {
7594
7559
  _order?: T;
7595
7560
  tenant?: T;
7596
7561
  title?: T;
7562
+ subtitle?: T;
7597
7563
  url?: T;
7598
7564
  description?: T;
7599
7565
  categories?: T;
@@ -7616,7 +7582,6 @@ interface LinksSelect<T extends boolean = true> {
7616
7582
  updatedAt?: T;
7617
7583
  createdAt?: T;
7618
7584
  deletedAt?: T;
7619
- _status?: T;
7620
7585
  }
7621
7586
  /**
7622
7587
  * This interface was referenced by `Config`'s JSON-Schema
@@ -7661,6 +7626,7 @@ interface LinkTagsSelect<T extends boolean = true> {
7661
7626
  interface CanvasesSelect<T extends boolean = true> {
7662
7627
  tenant?: T;
7663
7628
  title?: T;
7629
+ subtitle?: T;
7664
7630
  description?: T;
7665
7631
  videos?: T;
7666
7632
  canvas?: T;
@@ -7687,7 +7653,6 @@ interface CanvasesSelect<T extends boolean = true> {
7687
7653
  updatedAt?: T;
7688
7654
  createdAt?: T;
7689
7655
  deletedAt?: T;
7690
- _status?: T;
7691
7656
  }
7692
7657
  /**
7693
7658
  * This interface was referenced by `Config`'s JSON-Schema
@@ -7832,6 +7797,7 @@ interface CanvasEdgesSelect<T extends boolean = true> {
7832
7797
  interface VideosSelect<T extends boolean = true> {
7833
7798
  tenant?: T;
7834
7799
  title?: T;
7800
+ subtitle?: T;
7835
7801
  filename?: T;
7836
7802
  description?: T;
7837
7803
  content?: T;
@@ -7918,6 +7884,7 @@ interface VideoTagsSelect<T extends boolean = true> {
7918
7884
  interface LiveStreamsSelect<T extends boolean = true> {
7919
7885
  tenant?: T;
7920
7886
  title?: T;
7887
+ subtitle?: T;
7921
7888
  description?: T;
7922
7889
  scheduledAt?: T;
7923
7890
  latencyMode?: T;
@@ -8126,6 +8093,7 @@ interface EventCalendarsSelect<T extends boolean = true> {
8126
8093
  _order?: T;
8127
8094
  tenant?: T;
8128
8095
  title?: T;
8096
+ subtitle?: T;
8129
8097
  description?: T;
8130
8098
  content?: T;
8131
8099
  publicListing?: T | {
@@ -8145,6 +8113,7 @@ interface EventCalendarsSelect<T extends boolean = true> {
8145
8113
  };
8146
8114
  generateSlug?: T;
8147
8115
  slug?: T;
8116
+ status?: T;
8148
8117
  timezone?: T;
8149
8118
  color?: T;
8150
8119
  visibility?: T;
@@ -8153,7 +8122,6 @@ interface EventCalendarsSelect<T extends boolean = true> {
8153
8122
  updatedAt?: T;
8154
8123
  createdAt?: T;
8155
8124
  deletedAt?: T;
8156
- _status?: T;
8157
8125
  }
8158
8126
  /**
8159
8127
  * This interface was referenced by `Config`'s JSON-Schema
@@ -8163,6 +8131,7 @@ interface EventsSelect<T extends boolean = true> {
8163
8131
  _order?: T;
8164
8132
  tenant?: T;
8165
8133
  title?: T;
8134
+ subtitle?: T;
8166
8135
  description?: T;
8167
8136
  content?: T;
8168
8137
  categories?: T;
@@ -8227,7 +8196,6 @@ interface EventsSelect<T extends boolean = true> {
8227
8196
  updatedAt?: T;
8228
8197
  createdAt?: T;
8229
8198
  deletedAt?: T;
8230
- _status?: T;
8231
8199
  }
8232
8200
  /**
8233
8201
  * This interface was referenced by `Config`'s JSON-Schema
@@ -8511,6 +8479,19 @@ interface PayloadKvSelect<T extends boolean = true> {
8511
8479
  key?: T;
8512
8480
  data?: T;
8513
8481
  }
8482
+ /**
8483
+ * This interface was referenced by `Config`'s JSON-Schema
8484
+ * via the `definition` "payload-folders_select".
8485
+ */
8486
+ interface PayloadFoldersSelect<T extends boolean = true> {
8487
+ tenant?: T;
8488
+ name?: T;
8489
+ folder?: T;
8490
+ documentsAndFolders?: T;
8491
+ folderType?: T;
8492
+ updatedAt?: T;
8493
+ createdAt?: T;
8494
+ }
8514
8495
  /**
8515
8496
  * This interface was referenced by `Config`'s JSON-Schema
8516
8497
  * via the `definition` "payload-locked-documents_select".