@01.software/sdk 0.9.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,3 @@
1
- /**
2
- * This file was automatically generated by Payload.
3
- * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
4
- * and re-run `payload generate:types` to regenerate this file.
5
- */
6
- /**
7
- * Supported timezones in IANA format.
8
- *
9
- * This interface was referenced by `Config`'s JSON-Schema
10
- * via the `definition` "supportedTimezones".
11
- */
12
- type SupportedTimezones = 'Pacific/Midway' | 'Pacific/Niue' | 'Pacific/Honolulu' | 'Pacific/Rarotonga' | 'America/Anchorage' | 'Pacific/Gambier' | 'America/Los_Angeles' | 'America/Tijuana' | 'America/Denver' | 'America/Phoenix' | 'America/Chicago' | 'America/Guatemala' | 'America/New_York' | 'America/Bogota' | 'America/Caracas' | 'America/Santiago' | 'America/Buenos_Aires' | 'America/Sao_Paulo' | 'Atlantic/South_Georgia' | 'Atlantic/Azores' | 'Atlantic/Cape_Verde' | 'Europe/London' | 'Europe/Berlin' | 'Africa/Lagos' | 'Europe/Athens' | 'Africa/Cairo' | 'Europe/Moscow' | 'Asia/Riyadh' | 'Asia/Dubai' | 'Asia/Baku' | 'Asia/Karachi' | 'Asia/Tashkent' | 'Asia/Calcutta' | 'Asia/Dhaka' | 'Asia/Almaty' | 'Asia/Jakarta' | 'Asia/Bangkok' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Tokyo' | 'Asia/Seoul' | 'Australia/Brisbane' | 'Australia/Sydney' | 'Pacific/Guam' | 'Pacific/Noumea' | 'Pacific/Auckland' | 'Pacific/Fiji';
13
1
  interface Config {
14
2
  auth: {
15
3
  users: UserAuthOperations;
@@ -69,9 +57,11 @@ interface Config {
69
57
  playlists: Playlist;
70
58
  'playlist-categories': PlaylistCategory;
71
59
  'playlist-tags': PlaylistTag;
72
- musics: Music;
73
- 'music-categories': MusicCategory;
74
- 'music-tags': MusicTag;
60
+ tracks: Track;
61
+ 'track-assets': TrackAsset;
62
+ 'playlist-tracks': PlaylistTrack;
63
+ 'track-categories': TrackCategory;
64
+ 'track-tags': TrackTag;
75
65
  galleries: Gallery;
76
66
  'gallery-categories': GalleryCategory;
77
67
  'gallery-tags': GalleryTag;
@@ -141,7 +131,10 @@ interface Config {
141
131
  posts: 'posts';
142
132
  };
143
133
  playlists: {
144
- tracks: 'musics';
134
+ items: 'playlist-tracks';
135
+ };
136
+ tracks: {
137
+ playlistEntries: 'playlist-tracks';
145
138
  };
146
139
  galleries: {
147
140
  items: 'gallery-items';
@@ -199,9 +192,11 @@ interface Config {
199
192
  playlists: PlaylistsSelect<false> | PlaylistsSelect<true>;
200
193
  'playlist-categories': PlaylistCategoriesSelect<false> | PlaylistCategoriesSelect<true>;
201
194
  'playlist-tags': PlaylistTagsSelect<false> | PlaylistTagsSelect<true>;
202
- musics: MusicsSelect<false> | MusicsSelect<true>;
203
- 'music-categories': MusicCategoriesSelect<false> | MusicCategoriesSelect<true>;
204
- 'music-tags': MusicTagsSelect<false> | MusicTagsSelect<true>;
195
+ tracks: TracksSelect<false> | TracksSelect<true>;
196
+ 'track-assets': TrackAssetsSelect<false> | TrackAssetsSelect<true>;
197
+ 'playlist-tracks': PlaylistTracksSelect<false> | PlaylistTracksSelect<true>;
198
+ 'track-categories': TrackCategoriesSelect<false> | TrackCategoriesSelect<true>;
199
+ 'track-tags': TrackTagsSelect<false> | TrackTagsSelect<true>;
205
200
  galleries: GalleriesSelect<false> | GalleriesSelect<true>;
206
201
  'gallery-categories': GalleryCategoriesSelect<false> | GalleryCategoriesSelect<true>;
207
202
  'gallery-tags': GalleryTagsSelect<false> | GalleryTagsSelect<true>;
@@ -527,7 +522,7 @@ interface Image {
527
522
  interface FieldConfig {
528
523
  id: string;
529
524
  tenant?: (string | null) | Tenant;
530
- collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | 'canvases' | 'canvas-categories' | 'canvas-tags' | 'canvas-node-types' | 'canvas-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms' | 'threads' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'thread-categories';
525
+ collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'playlist-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';
531
526
  isHidden?: boolean | null;
532
527
  hiddenFields?: {
533
528
  [k: string]: unknown;
@@ -1212,7 +1207,6 @@ interface Product {
1212
1207
  * Short summary for listing/cards
1213
1208
  */
1214
1209
  description?: string | null;
1215
- thumbnail?: (string | null) | Image;
1216
1210
  images?: (string | Image)[] | null;
1217
1211
  videos?: (string | Video)[] | null;
1218
1212
  content?: {
@@ -1261,6 +1255,19 @@ interface Product {
1261
1255
  * Maximum order quantity
1262
1256
  */
1263
1257
  maxOrderQuantity?: number | null;
1258
+ /**
1259
+ * Derived listing projection for product cards and search
1260
+ */
1261
+ listing?: {
1262
+ selectionHintVariant?: (string | null) | ProductVariant;
1263
+ primaryImage?: (string | null) | Image;
1264
+ minPrice?: number | null;
1265
+ maxPrice?: number | null;
1266
+ minCompareAtPrice?: number | null;
1267
+ maxCompareAtPrice?: number | null;
1268
+ isPriceRange?: boolean | null;
1269
+ availableForSale?: boolean | null;
1270
+ };
1264
1271
  metadata?: {
1265
1272
  [k: string]: unknown;
1266
1273
  } | unknown[] | string | number | boolean | null;
@@ -1296,6 +1303,7 @@ interface Product {
1296
1303
  image?: (string | null) | Image;
1297
1304
  };
1298
1305
  };
1306
+ thumbnail?: (string | null) | Image;
1299
1307
  /**
1300
1308
  * When enabled, the slug will auto-generate from the title field on save and autosave.
1301
1309
  */
@@ -1344,6 +1352,8 @@ interface Video {
1344
1352
  [k: string]: unknown;
1345
1353
  } | null;
1346
1354
  sourceLiveStream?: (string | null) | LiveStream;
1355
+ categories?: (string | VideoCategory)[] | null;
1356
+ tags?: (string | VideoTag)[] | null;
1347
1357
  muxStatus?: ('waiting' | 'preparing' | 'ready' | 'errored') | null;
1348
1358
  durationSeconds?: number | null;
1349
1359
  muxAspectRatio?: string | null;
@@ -1393,8 +1403,6 @@ interface Video {
1393
1403
  thumbnail?: (string | null) | Image;
1394
1404
  isFeatured?: boolean | null;
1395
1405
  publishedAt?: string | null;
1396
- categories?: (string | VideoCategory)[] | null;
1397
- tags?: (string | VideoTag)[] | null;
1398
1406
  metadata?: {
1399
1407
  [k: string]: unknown;
1400
1408
  } | unknown[] | string | number | boolean | null;
@@ -1552,6 +1560,8 @@ interface ProductVariant {
1552
1560
  tenant?: (string | null) | Tenant;
1553
1561
  product: string | Product;
1554
1562
  title?: string | null;
1563
+ thumbnail?: (string | null) | Image;
1564
+ images?: (string | Image)[] | null;
1555
1565
  /**
1556
1566
  * Variant-specific SKU
1557
1567
  */
@@ -1590,6 +1600,7 @@ interface ProductVariant {
1590
1600
  * Option value combination for this variant (e.g. Black + S)
1591
1601
  */
1592
1602
  optionValues?: (string | ProductOptionValue)[] | null;
1603
+ optionKey?: string | null;
1593
1604
  isActive?: boolean | null;
1594
1605
  metadata?: {
1595
1606
  [k: string]: unknown;
@@ -1866,7 +1877,6 @@ interface ProductCollection {
1866
1877
  };
1867
1878
  [k: string]: unknown;
1868
1879
  } | null;
1869
- thumbnail?: (string | null) | Image;
1870
1880
  images?: (string | Image)[] | null;
1871
1881
  products?: (string | Product)[] | null;
1872
1882
  seo?: {
@@ -1901,6 +1911,7 @@ interface ProductCollection {
1901
1911
  image?: (string | null) | Image;
1902
1912
  };
1903
1913
  };
1914
+ thumbnail?: (string | null) | Image;
1904
1915
  /**
1905
1916
  * When enabled, the slug will auto-generate from the title field on save and autosave.
1906
1917
  */
@@ -2774,6 +2785,7 @@ interface Document {
2774
2785
  keyword?: string | null;
2775
2786
  id?: string | null;
2776
2787
  }[] | null;
2788
+ categories?: (string | DocumentCategory)[] | null;
2777
2789
  seo?: {
2778
2790
  /**
2779
2791
  * Search result title (falls back to document title)
@@ -2812,7 +2824,6 @@ interface Document {
2812
2824
  generateSlug?: boolean | null;
2813
2825
  slug?: string | null;
2814
2826
  type?: (string | null) | DocumentType;
2815
- categories?: (string | DocumentCategory)[] | null;
2816
2827
  jurisdiction?: string | null;
2817
2828
  language?: string | null;
2818
2829
  /**
@@ -2833,9 +2844,9 @@ interface Document {
2833
2844
  }
2834
2845
  /**
2835
2846
  * This interface was referenced by `Config`'s JSON-Schema
2836
- * via the `definition` "document-types".
2847
+ * via the `definition` "document-categories".
2837
2848
  */
2838
- interface DocumentType {
2849
+ interface DocumentCategory {
2839
2850
  id: string;
2840
2851
  _order?: string | null;
2841
2852
  tenant?: (string | null) | Tenant;
@@ -2850,6 +2861,7 @@ interface DocumentType {
2850
2861
  */
2851
2862
  description?: string | null;
2852
2863
  image?: (string | null) | Image;
2864
+ parent?: (string | null) | DocumentCategory;
2853
2865
  color?: string | null;
2854
2866
  updatedAt: string;
2855
2867
  createdAt: string;
@@ -2857,9 +2869,9 @@ interface DocumentType {
2857
2869
  }
2858
2870
  /**
2859
2871
  * This interface was referenced by `Config`'s JSON-Schema
2860
- * via the `definition` "document-categories".
2872
+ * via the `definition` "document-types".
2861
2873
  */
2862
- interface DocumentCategory {
2874
+ interface DocumentType {
2863
2875
  id: string;
2864
2876
  _order?: string | null;
2865
2877
  tenant?: (string | null) | Tenant;
@@ -2874,7 +2886,6 @@ interface DocumentCategory {
2874
2886
  */
2875
2887
  description?: string | null;
2876
2888
  image?: (string | null) | Image;
2877
- parent?: (string | null) | DocumentCategory;
2878
2889
  color?: string | null;
2879
2890
  updatedAt: string;
2880
2891
  createdAt: string;
@@ -2896,8 +2907,8 @@ interface Playlist {
2896
2907
  videos?: (string | Video)[] | null;
2897
2908
  categories?: (string | PlaylistCategory)[] | null;
2898
2909
  tags?: (string | PlaylistTag)[] | null;
2899
- tracks?: {
2900
- docs?: (string | Music)[];
2910
+ items?: {
2911
+ docs?: (string | PlaylistTrack)[];
2901
2912
  hasNextPage?: boolean;
2902
2913
  totalDocs?: number;
2903
2914
  };
@@ -2936,6 +2947,7 @@ interface Playlist {
2936
2947
  thumbnail?: (string | null) | Image;
2937
2948
  coverArt?: (string | null) | Image;
2938
2949
  isCollaborative?: boolean | null;
2950
+ customer?: (string | null) | Customer;
2939
2951
  /**
2940
2952
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2941
2953
  */
@@ -3003,23 +3015,40 @@ interface PlaylistTag {
3003
3015
  }
3004
3016
  /**
3005
3017
  * This interface was referenced by `Config`'s JSON-Schema
3006
- * via the `definition` "musics".
3018
+ * via the `definition` "playlist-tracks".
3007
3019
  */
3008
- interface Music {
3020
+ interface PlaylistTrack {
3021
+ id: string;
3022
+ '_playlist-tracks_items_order'?: string | null;
3023
+ _order?: string | null;
3024
+ tenant?: (string | null) | Tenant;
3025
+ playlist?: (string | null) | Playlist;
3026
+ track?: (string | null) | Track;
3027
+ addedAt?: string | null;
3028
+ addedBy?: (string | null) | Customer;
3029
+ titleOverride?: string | null;
3030
+ artistOverride?: string | null;
3031
+ note?: string | null;
3032
+ visibility?: ('visible' | 'hidden') | null;
3033
+ metadata?: {
3034
+ [k: string]: unknown;
3035
+ } | unknown[] | string | number | boolean | null;
3036
+ updatedAt: string;
3037
+ createdAt: string;
3038
+ deletedAt?: string | null;
3039
+ }
3040
+ /**
3041
+ * This interface was referenced by `Config`'s JSON-Schema
3042
+ * via the `definition` "tracks".
3043
+ */
3044
+ interface Track {
3009
3045
  id: string;
3010
- _musics_tracks_order?: string | null;
3011
3046
  _order?: string | null;
3012
3047
  tenant?: (string | null) | Tenant;
3013
- playlist: string | Playlist;
3014
- sourceUrl?: string | null;
3015
- /**
3016
- * Provider (e.g. youtube, soundcloud)
3017
- */
3018
- sourceProvider?: string | null;
3019
- sourceId?: string | null;
3020
3048
  /**
3021
- * Auto-filled from YouTube
3049
+ * Source type of this track
3022
3050
  */
3051
+ kind?: ('owned_asset' | 'external_reference') | null;
3023
3052
  title: string;
3024
3053
  /**
3025
3054
  * Short summary for listing/cards
@@ -3040,14 +3069,17 @@ interface Music {
3040
3069
  };
3041
3070
  [k: string]: unknown;
3042
3071
  } | null;
3043
- /**
3044
- * Auto-filled from YouTube channel
3045
- */
3046
3072
  artist?: string | null;
3047
3073
  album?: string | null;
3048
3074
  releaseDate?: string | null;
3049
- categories?: (string | MusicCategory)[] | null;
3050
- tags?: (string | MusicTag)[] | null;
3075
+ categories?: (string | TrackCategory)[] | null;
3076
+ tags?: (string | TrackTag)[] | null;
3077
+ playlistEntries?: {
3078
+ docs?: (string | PlaylistTrack)[];
3079
+ hasNextPage?: boolean;
3080
+ totalDocs?: number;
3081
+ };
3082
+ asset?: (string | null) | TrackAsset;
3051
3083
  /**
3052
3084
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3053
3085
  */
@@ -3058,13 +3090,20 @@ interface Music {
3058
3090
  isFeatured?: boolean | null;
3059
3091
  publishedAt?: string | null;
3060
3092
  /**
3061
- * Duration in seconds (auto-filled)
3093
+ * Duration in seconds
3062
3094
  */
3063
3095
  durationSeconds?: number | null;
3064
3096
  isEmbeddable?: boolean | null;
3065
3097
  metadata?: {
3066
3098
  [k: string]: unknown;
3067
3099
  } | unknown[] | string | number | boolean | null;
3100
+ sourceUrl?: string | null;
3101
+ /**
3102
+ * Provider (e.g. youtube, soundcloud)
3103
+ */
3104
+ sourceProvider?: string | null;
3105
+ sourceId?: string | null;
3106
+ createdBy?: (string | null) | Customer;
3068
3107
  /**
3069
3108
  * ISRC
3070
3109
  */
@@ -3077,9 +3116,9 @@ interface Music {
3077
3116
  }
3078
3117
  /**
3079
3118
  * This interface was referenced by `Config`'s JSON-Schema
3080
- * via the `definition` "music-categories".
3119
+ * via the `definition` "track-categories".
3081
3120
  */
3082
- interface MusicCategory {
3121
+ interface TrackCategory {
3083
3122
  id: string;
3084
3123
  _order?: string | null;
3085
3124
  tenant?: (string | null) | Tenant;
@@ -3094,7 +3133,7 @@ interface MusicCategory {
3094
3133
  */
3095
3134
  description?: string | null;
3096
3135
  image?: (string | null) | Image;
3097
- parent?: (string | null) | MusicCategory;
3136
+ parent?: (string | null) | TrackCategory;
3098
3137
  color?: string | null;
3099
3138
  updatedAt: string;
3100
3139
  createdAt: string;
@@ -3102,9 +3141,9 @@ interface MusicCategory {
3102
3141
  }
3103
3142
  /**
3104
3143
  * This interface was referenced by `Config`'s JSON-Schema
3105
- * via the `definition` "music-tags".
3144
+ * via the `definition` "track-tags".
3106
3145
  */
3107
- interface MusicTag {
3146
+ interface TrackTag {
3108
3147
  id: string;
3109
3148
  _order?: string | null;
3110
3149
  tenant?: (string | null) | Tenant;
@@ -3119,12 +3158,37 @@ interface MusicTag {
3119
3158
  */
3120
3159
  description?: string | null;
3121
3160
  image?: (string | null) | Image;
3122
- parent?: (string | null) | MusicTag;
3161
+ parent?: (string | null) | TrackTag;
3123
3162
  color?: string | null;
3124
3163
  updatedAt: string;
3125
3164
  createdAt: string;
3126
3165
  deletedAt?: string | null;
3127
3166
  }
3167
+ /**
3168
+ * This interface was referenced by `Config`'s JSON-Schema
3169
+ * via the `definition` "track-assets".
3170
+ */
3171
+ interface TrackAsset {
3172
+ id: string;
3173
+ tenant?: (string | null) | Tenant;
3174
+ title?: string | null;
3175
+ customer?: (string | null) | Customer;
3176
+ metadata?: {
3177
+ [k: string]: unknown;
3178
+ } | unknown[] | string | number | boolean | null;
3179
+ prefix?: string | null;
3180
+ updatedAt: string;
3181
+ createdAt: string;
3182
+ url?: string | null;
3183
+ thumbnailURL?: string | null;
3184
+ filename?: string | null;
3185
+ mimeType?: string | null;
3186
+ filesize?: number | null;
3187
+ width?: number | null;
3188
+ height?: number | null;
3189
+ focalX?: number | null;
3190
+ focalY?: number | null;
3191
+ }
3128
3192
  /**
3129
3193
  * This interface was referenced by `Config`'s JSON-Schema
3130
3194
  * via the `definition` "galleries".
@@ -3389,6 +3453,7 @@ interface Canvase {
3389
3453
  [k: string]: unknown;
3390
3454
  } | unknown[] | string | number | boolean | null;
3391
3455
  categories?: (string | CanvasCategory)[] | null;
3456
+ tags?: (string | CanvasTag)[] | null;
3392
3457
  seo?: {
3393
3458
  /**
3394
3459
  * Search result title (falls back to document title)
@@ -3430,7 +3495,6 @@ interface Canvase {
3430
3495
  status?: ('draft' | 'published' | 'archived') | null;
3431
3496
  isFeatured?: boolean | null;
3432
3497
  publishedAt?: string | null;
3433
- tags?: (string | CanvasTag)[] | null;
3434
3498
  metadata?: {
3435
3499
  [k: string]: unknown;
3436
3500
  } | unknown[] | string | number | boolean | null;
@@ -4176,14 +4240,20 @@ interface PayloadLockedDocument {
4176
4240
  relationTo: 'playlist-tags';
4177
4241
  value: string | PlaylistTag;
4178
4242
  } | null) | ({
4179
- relationTo: 'musics';
4180
- value: string | Music;
4243
+ relationTo: 'tracks';
4244
+ value: string | Track;
4245
+ } | null) | ({
4246
+ relationTo: 'track-assets';
4247
+ value: string | TrackAsset;
4248
+ } | null) | ({
4249
+ relationTo: 'playlist-tracks';
4250
+ value: string | PlaylistTrack;
4181
4251
  } | null) | ({
4182
- relationTo: 'music-categories';
4183
- value: string | MusicCategory;
4252
+ relationTo: 'track-categories';
4253
+ value: string | TrackCategory;
4184
4254
  } | null) | ({
4185
- relationTo: 'music-tags';
4186
- value: string | MusicTag;
4255
+ relationTo: 'track-tags';
4256
+ value: string | TrackTag;
4187
4257
  } | null) | ({
4188
4258
  relationTo: 'galleries';
4189
4259
  value: string | Gallery;
@@ -4817,7 +4887,6 @@ interface ProductsSelect<T extends boolean = true> {
4817
4887
  title?: T;
4818
4888
  subtitle?: T;
4819
4889
  description?: T;
4820
- thumbnail?: T;
4821
4890
  images?: T;
4822
4891
  videos?: T;
4823
4892
  content?: T;
@@ -4831,6 +4900,16 @@ interface ProductsSelect<T extends boolean = true> {
4831
4900
  collections?: T;
4832
4901
  minOrderQuantity?: T;
4833
4902
  maxOrderQuantity?: T;
4903
+ listing?: T | {
4904
+ selectionHintVariant?: T;
4905
+ primaryImage?: T;
4906
+ minPrice?: T;
4907
+ maxPrice?: T;
4908
+ minCompareAtPrice?: T;
4909
+ maxCompareAtPrice?: T;
4910
+ isPriceRange?: T;
4911
+ availableForSale?: T;
4912
+ };
4834
4913
  metadata?: T;
4835
4914
  seo?: T | {
4836
4915
  title?: T;
@@ -4843,6 +4922,7 @@ interface ProductsSelect<T extends boolean = true> {
4843
4922
  image?: T;
4844
4923
  };
4845
4924
  };
4925
+ thumbnail?: T;
4846
4926
  generateSlug?: T;
4847
4927
  slug?: T;
4848
4928
  status?: T;
@@ -4866,6 +4946,8 @@ interface ProductVariantsSelect<T extends boolean = true> {
4866
4946
  tenant?: T;
4867
4947
  product?: T;
4868
4948
  title?: T;
4949
+ thumbnail?: T;
4950
+ images?: T;
4869
4951
  sku?: T;
4870
4952
  price?: T;
4871
4953
  compareAtPrice?: T;
@@ -4877,6 +4959,7 @@ interface ProductVariantsSelect<T extends boolean = true> {
4877
4959
  requiresShipping?: T;
4878
4960
  externalId?: T;
4879
4961
  optionValues?: T;
4962
+ optionKey?: T;
4880
4963
  isActive?: T;
4881
4964
  metadata?: T;
4882
4965
  updatedAt?: T;
@@ -4961,7 +5044,6 @@ interface ProductCollectionsSelect<T extends boolean = true> {
4961
5044
  title?: T;
4962
5045
  description?: T;
4963
5046
  content?: T;
4964
- thumbnail?: T;
4965
5047
  images?: T;
4966
5048
  products?: T;
4967
5049
  seo?: T | {
@@ -4975,6 +5057,7 @@ interface ProductCollectionsSelect<T extends boolean = true> {
4975
5057
  image?: T;
4976
5058
  };
4977
5059
  };
5060
+ thumbnail?: T;
4978
5061
  generateSlug?: T;
4979
5062
  slug?: T;
4980
5063
  status?: T;
@@ -5659,6 +5742,7 @@ interface DocumentsSelect<T extends boolean = true> {
5659
5742
  keyword?: T;
5660
5743
  id?: T;
5661
5744
  };
5745
+ categories?: T;
5662
5746
  seo?: T | {
5663
5747
  title?: T;
5664
5748
  description?: T;
@@ -5673,7 +5757,6 @@ interface DocumentsSelect<T extends boolean = true> {
5673
5757
  generateSlug?: T;
5674
5758
  slug?: T;
5675
5759
  type?: T;
5676
- categories?: T;
5677
5760
  jurisdiction?: T;
5678
5761
  language?: T;
5679
5762
  supersededBy?: T;
@@ -5734,7 +5817,7 @@ interface PlaylistsSelect<T extends boolean = true> {
5734
5817
  videos?: T;
5735
5818
  categories?: T;
5736
5819
  tags?: T;
5737
- tracks?: T;
5820
+ items?: T;
5738
5821
  seo?: T | {
5739
5822
  title?: T;
5740
5823
  description?: T;
@@ -5749,6 +5832,7 @@ interface PlaylistsSelect<T extends boolean = true> {
5749
5832
  thumbnail?: T;
5750
5833
  coverArt?: T;
5751
5834
  isCollaborative?: T;
5835
+ customer?: T;
5752
5836
  generateSlug?: T;
5753
5837
  slug?: T;
5754
5838
  status?: T;
@@ -5797,16 +5881,12 @@ interface PlaylistTagsSelect<T extends boolean = true> {
5797
5881
  }
5798
5882
  /**
5799
5883
  * This interface was referenced by `Config`'s JSON-Schema
5800
- * via the `definition` "musics_select".
5884
+ * via the `definition` "tracks_select".
5801
5885
  */
5802
- interface MusicsSelect<T extends boolean = true> {
5803
- _musics_tracks_order?: T;
5886
+ interface TracksSelect<T extends boolean = true> {
5804
5887
  _order?: T;
5805
5888
  tenant?: T;
5806
- playlist?: T;
5807
- sourceUrl?: T;
5808
- sourceProvider?: T;
5809
- sourceId?: T;
5889
+ kind?: T;
5810
5890
  title?: T;
5811
5891
  description?: T;
5812
5892
  content?: T;
@@ -5815,6 +5895,8 @@ interface MusicsSelect<T extends boolean = true> {
5815
5895
  releaseDate?: T;
5816
5896
  categories?: T;
5817
5897
  tags?: T;
5898
+ playlistEntries?: T;
5899
+ asset?: T;
5818
5900
  generateSlug?: T;
5819
5901
  slug?: T;
5820
5902
  thumbnail?: T;
@@ -5824,6 +5906,10 @@ interface MusicsSelect<T extends boolean = true> {
5824
5906
  durationSeconds?: T;
5825
5907
  isEmbeddable?: T;
5826
5908
  metadata?: T;
5909
+ sourceUrl?: T;
5910
+ sourceProvider?: T;
5911
+ sourceId?: T;
5912
+ createdBy?: T;
5827
5913
  isrc?: T;
5828
5914
  isExplicit?: T;
5829
5915
  previewUrl?: T;
@@ -5833,9 +5919,52 @@ interface MusicsSelect<T extends boolean = true> {
5833
5919
  }
5834
5920
  /**
5835
5921
  * This interface was referenced by `Config`'s JSON-Schema
5836
- * via the `definition` "music-categories_select".
5922
+ * via the `definition` "track-assets_select".
5837
5923
  */
5838
- interface MusicCategoriesSelect<T extends boolean = true> {
5924
+ interface TrackAssetsSelect<T extends boolean = true> {
5925
+ tenant?: T;
5926
+ title?: T;
5927
+ customer?: T;
5928
+ metadata?: T;
5929
+ prefix?: T;
5930
+ updatedAt?: T;
5931
+ createdAt?: T;
5932
+ url?: T;
5933
+ thumbnailURL?: T;
5934
+ filename?: T;
5935
+ mimeType?: T;
5936
+ filesize?: T;
5937
+ width?: T;
5938
+ height?: T;
5939
+ focalX?: T;
5940
+ focalY?: T;
5941
+ }
5942
+ /**
5943
+ * This interface was referenced by `Config`'s JSON-Schema
5944
+ * via the `definition` "playlist-tracks_select".
5945
+ */
5946
+ interface PlaylistTracksSelect<T extends boolean = true> {
5947
+ '_playlist-tracks_items_order'?: T;
5948
+ _order?: T;
5949
+ tenant?: T;
5950
+ playlist?: T;
5951
+ track?: T;
5952
+ addedAt?: T;
5953
+ addedBy?: T;
5954
+ titleOverride?: T;
5955
+ artistOverride?: T;
5956
+ note?: T;
5957
+ visibility?: T;
5958
+ metadata?: T;
5959
+ updatedAt?: T;
5960
+ createdAt?: T;
5961
+ deletedAt?: T;
5962
+ }
5963
+ /**
5964
+ * This interface was referenced by `Config`'s JSON-Schema
5965
+ * via the `definition` "track-categories_select".
5966
+ */
5967
+ interface TrackCategoriesSelect<T extends boolean = true> {
5839
5968
  _order?: T;
5840
5969
  tenant?: T;
5841
5970
  title?: T;
@@ -5851,9 +5980,9 @@ interface MusicCategoriesSelect<T extends boolean = true> {
5851
5980
  }
5852
5981
  /**
5853
5982
  * This interface was referenced by `Config`'s JSON-Schema
5854
- * via the `definition` "music-tags_select".
5983
+ * via the `definition` "track-tags_select".
5855
5984
  */
5856
- interface MusicTagsSelect<T extends boolean = true> {
5985
+ interface TrackTagsSelect<T extends boolean = true> {
5857
5986
  _order?: T;
5858
5987
  tenant?: T;
5859
5988
  title?: T;
@@ -6031,6 +6160,7 @@ interface CanvasesSelect<T extends boolean = true> {
6031
6160
  videos?: T;
6032
6161
  canvas?: T;
6033
6162
  categories?: T;
6163
+ tags?: T;
6034
6164
  seo?: T | {
6035
6165
  title?: T;
6036
6166
  description?: T;
@@ -6048,7 +6178,6 @@ interface CanvasesSelect<T extends boolean = true> {
6048
6178
  status?: T;
6049
6179
  isFeatured?: T;
6050
6180
  publishedAt?: T;
6051
- tags?: T;
6052
6181
  metadata?: T;
6053
6182
  updatedAt?: T;
6054
6183
  createdAt?: T;
@@ -6173,6 +6302,8 @@ interface VideosSelect<T extends boolean = true> {
6173
6302
  description?: T;
6174
6303
  content?: T;
6175
6304
  sourceLiveStream?: T;
6305
+ categories?: T;
6306
+ tags?: T;
6176
6307
  muxStatus?: T;
6177
6308
  durationSeconds?: T;
6178
6309
  muxAspectRatio?: T;
@@ -6198,8 +6329,6 @@ interface VideosSelect<T extends boolean = true> {
6198
6329
  thumbnail?: T;
6199
6330
  isFeatured?: T;
6200
6331
  publishedAt?: T;
6201
- categories?: T;
6202
- tags?: T;
6203
6332
  metadata?: T;
6204
6333
  viewCount?: T;
6205
6334
  aspectRatio?: T;
@@ -6622,16 +6751,9 @@ interface CollectionsWidget {
6622
6751
  };
6623
6752
  width: 'full';
6624
6753
  }
6625
- /**
6626
- * This interface was referenced by `Config`'s JSON-Schema
6627
- * via the `definition` "auth".
6628
- */
6629
- interface Auth {
6630
- [k: string]: unknown;
6631
- }
6632
6754
  declare module 'payload' {
6633
6755
  interface GeneratedTypes extends Config {
6634
6756
  }
6635
6757
  }
6636
6758
 
6637
- export type { PostTag as $, Audience as A, BrandLogo as B, Config as C, Brand as D, EmailLog as E, Form as F, ShippingPolicy as G, ProductCollection as H, IframeBlock as I, Customer as J, CustomerGroup as K, LiveStream as L, CustomerAddress as M, FulfillmentItem as N, Order as O, Product as P, ReturnItem as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, OrderStatusLog as W, Discount as X, Post as Y, PostAuthor as Z, PostCategory as _, OrderItem as a, ReturnsSelect as a$, Document as a0, DocumentType as a1, DocumentCategory as a2, Playlist as a3, PlaylistCategory as a4, PlaylistTag as a5, Music as a6, MusicCategory as a7, MusicTag as a8, Gallery as a9, ImagesSelect as aA, SystemMediaSelect as aB, AudiencesSelect as aC, EmailLogsSelect as aD, ApiKeysSelect as aE, PersonalAccessTokensSelect as aF, TenantsSelect as aG, TenantMetadataSelect as aH, ApiUsageSelect as aI, SubscriptionsSelect as aJ, BillingHistorySelect as aK, TenantLogosSelect as aL, ProductsSelect as aM, ProductVariantsSelect as aN, ProductOptionsSelect as aO, ProductOptionValuesSelect as aP, ProductCategoriesSelect as aQ, ProductTagsSelect as aR, ProductCollectionsSelect as aS, BrandsSelect as aT, BrandLogosSelect as aU, OrdersSelect as aV, OrderItemsSelect as aW, TransactionsSelect as aX, OrderStatusLogsSelect as aY, FulfillmentsSelect as aZ, FulfillmentItemsSelect as a_, GalleryCategory as aa, GalleryTag as ab, GalleryItem as ac, Link as ad, LinkCategory as ae, LinkTag as af, Canvase as ag, CanvasCategory as ah, CanvasTag as ai, CanvasNodeType as aj, CanvasEdgeType as ak, Thread as al, ThreadCategory as am, Comment as an, Reaction as ao, ReactionType as ap, Bookmark as aq, Report as ar, CommunityBan as as, FormSubmission as at, PayloadKv as au, PayloadLockedDocument as av, PayloadPreference as aw, PayloadMigration as ax, UsersSelect as ay, FieldConfigsSelect as az, Fulfillment as b, ReturnItemsSelect as b0, ShippingPoliciesSelect as b1, CustomersSelect as b2, CustomerAddressesSelect as b3, CustomerGroupsSelect as b4, CartsSelect as b5, CartItemsSelect as b6, DiscountsSelect as b7, PostsSelect as b8, PostAuthorsSelect as b9, LiveStreamsSelect as bA, ThreadsSelect as bB, CommentsSelect as bC, ReactionsSelect as bD, ReactionTypesSelect as bE, BookmarksSelect as bF, ThreadCategoriesSelect as bG, ReportsSelect as bH, CommunityBansSelect as bI, FormsSelect as bJ, FormSubmissionsSelect as bK, PayloadKvSelect as bL, PayloadLockedDocumentsSelect as bM, PayloadPreferencesSelect as bN, PayloadMigrationsSelect as bO, CollectionsWidget as bP, Auth as bQ, PostCategoriesSelect as ba, PostTagsSelect as bb, DocumentsSelect as bc, DocumentCategoriesSelect as bd, DocumentTypesSelect as be, PlaylistsSelect as bf, PlaylistCategoriesSelect as bg, PlaylistTagsSelect as bh, MusicsSelect as bi, MusicCategoriesSelect as bj, MusicTagsSelect as bk, GalleriesSelect as bl, GalleryCategoriesSelect as bm, GalleryTagsSelect as bn, GalleryItemsSelect as bo, LinksSelect as bp, LinkCategoriesSelect as bq, LinkTagsSelect as br, CanvasesSelect as bs, CanvasNodeTypesSelect as bt, CanvasEdgeTypesSelect as bu, CanvasCategoriesSelect as bv, CanvasTagsSelect as bw, VideosSelect as bx, VideoCategoriesSelect as by, VideoTagsSelect as bz, Cart as c, CartItem as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, Image as j, FieldConfig as k, SystemMedia as l, ApiKey as m, PersonalAccessToken as n, TenantMetadatum as o, ApiUsage as p, Subscription as q, BillingHistory as r, TenantLogo as s, VideoCategory as t, VideoTag as u, ProductVariant as v, ProductOptionValue as w, ProductOption as x, ProductCategory as y, ProductTag as z };
6759
+ 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, OrderItem as a, Fulfillment as b, Cart as c, CartItem as d, Post as e, PostCategory as f, PostTag as g, ProductVariant as h, Tenant as i };