@01.software/sdk 0.1.8 → 0.2.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.
@@ -38,6 +38,7 @@ interface Config {
38
38
  'product-categories': ProductCategory;
39
39
  'product-tags': ProductTag;
40
40
  'product-images': ProductImage;
41
+ 'product-collections': ProductCollection;
41
42
  brands: Brand;
42
43
  'brand-logos': BrandLogo;
43
44
  orders: Order;
@@ -68,8 +69,6 @@ interface Config {
68
69
  playlists: Playlist;
69
70
  'playlist-images': PlaylistImage;
70
71
  musics: Music;
71
- galleries: Gallery;
72
- 'gallery-images': GalleryImage;
73
72
  forms: Form;
74
73
  'form-submissions': FormSubmission;
75
74
  'payload-kv': PayloadKv;
@@ -81,6 +80,7 @@ interface Config {
81
80
  products: {
82
81
  variants: 'product-variants';
83
82
  options: 'product-options';
83
+ collections: 'product-collections';
84
84
  };
85
85
  'product-variants': {
86
86
  productOptions: 'product-options';
@@ -136,6 +136,7 @@ interface Config {
136
136
  'product-categories': ProductCategoriesSelect<false> | ProductCategoriesSelect<true>;
137
137
  'product-tags': ProductTagsSelect<false> | ProductTagsSelect<true>;
138
138
  'product-images': ProductImagesSelect<false> | ProductImagesSelect<true>;
139
+ 'product-collections': ProductCollectionsSelect<false> | ProductCollectionsSelect<true>;
139
140
  brands: BrandsSelect<false> | BrandsSelect<true>;
140
141
  'brand-logos': BrandLogosSelect<false> | BrandLogosSelect<true>;
141
142
  orders: OrdersSelect<false> | OrdersSelect<true>;
@@ -166,8 +167,6 @@ interface Config {
166
167
  playlists: PlaylistsSelect<false> | PlaylistsSelect<true>;
167
168
  'playlist-images': PlaylistImagesSelect<false> | PlaylistImagesSelect<true>;
168
169
  musics: MusicsSelect<false> | MusicsSelect<true>;
169
- galleries: GalleriesSelect<false> | GalleriesSelect<true>;
170
- 'gallery-images': GalleryImagesSelect<false> | GalleryImagesSelect<true>;
171
170
  forms: FormsSelect<false> | FormsSelect<true>;
172
171
  'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
173
172
  'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
@@ -307,7 +306,7 @@ interface Tenant {
307
306
  origin: string;
308
307
  id?: string | null;
309
308
  }[] | null;
310
- features?: ('ecommerce' | 'playlists' | 'links' | 'forms' | 'galleries' | 'posts' | 'documents')[] | null;
309
+ features?: ('ecommerce' | 'playlists' | 'links' | 'forms' | 'posts' | 'documents')[] | null;
311
310
  plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
312
311
  clientKey: string;
313
312
  secretKeys?: {
@@ -319,6 +318,10 @@ interface Tenant {
319
318
  * The URL to send webhooks to.
320
319
  */
321
320
  webhookUrl?: string | null;
321
+ /**
322
+ * HMAC-SHA256 secret for webhook signature verification. Sent as x-webhook-signature header.
323
+ */
324
+ webhookSecret?: string | null;
322
325
  updatedAt: string;
323
326
  createdAt: string;
324
327
  }
@@ -977,6 +980,11 @@ interface Product {
977
980
  isSoldOut?: boolean | null;
978
981
  categories?: (number | ProductCategory)[] | null;
979
982
  tags?: (number | ProductTag)[] | null;
983
+ collections?: {
984
+ docs?: (number | ProductCollection)[];
985
+ hasNextPage?: boolean;
986
+ totalDocs?: number;
987
+ };
980
988
  brand?: (number | null) | Brand;
981
989
  shippingPolicy?: (number | null) | ShippingPolicy;
982
990
  metadata?: {
@@ -1015,7 +1023,7 @@ interface ProductImage {
1015
1023
  focalX?: number | null;
1016
1024
  focalY?: number | null;
1017
1025
  sizes?: {
1018
- '512'?: {
1026
+ '384'?: {
1019
1027
  url?: string | null;
1020
1028
  width?: number | null;
1021
1029
  height?: number | null;
@@ -1023,7 +1031,15 @@ interface ProductImage {
1023
1031
  filesize?: number | null;
1024
1032
  filename?: string | null;
1025
1033
  };
1026
- '1024'?: {
1034
+ '768'?: {
1035
+ url?: string | null;
1036
+ width?: number | null;
1037
+ height?: number | null;
1038
+ mimeType?: string | null;
1039
+ filesize?: number | null;
1040
+ filename?: string | null;
1041
+ };
1042
+ '1536'?: {
1027
1043
  url?: string | null;
1028
1044
  width?: number | null;
1029
1045
  height?: number | null;
@@ -1099,6 +1115,9 @@ interface ProductOption {
1099
1115
  * Price adjustment (add/subtract from base price)
1100
1116
  */
1101
1117
  priceAdjustment?: number | null;
1118
+ metadata?: {
1119
+ [k: string]: unknown;
1120
+ } | unknown[] | string | number | boolean | null;
1102
1121
  updatedAt: string;
1103
1122
  createdAt: string;
1104
1123
  }
@@ -1144,6 +1163,46 @@ interface ProductTag {
1144
1163
  updatedAt: string;
1145
1164
  createdAt: string;
1146
1165
  }
1166
+ /**
1167
+ * This interface was referenced by `Config`'s JSON-Schema
1168
+ * via the `definition` "product-collections".
1169
+ */
1170
+ interface ProductCollection {
1171
+ id: number;
1172
+ _order?: string | null;
1173
+ tenant?: (number | null) | Tenant;
1174
+ title: string;
1175
+ thumbnail?: (number | null) | ProductImage;
1176
+ images?: (number | ProductImage)[] | null;
1177
+ description?: {
1178
+ root: {
1179
+ type: string;
1180
+ children: {
1181
+ type: any;
1182
+ version: number;
1183
+ [k: string]: unknown;
1184
+ }[];
1185
+ direction: ('ltr' | 'rtl') | null;
1186
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1187
+ indent: number;
1188
+ version: number;
1189
+ };
1190
+ [k: string]: unknown;
1191
+ } | null;
1192
+ products?: (number | Product)[] | null;
1193
+ /**
1194
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1195
+ */
1196
+ generateSlug?: boolean | null;
1197
+ slug?: string | null;
1198
+ status?: ('draft' | 'published' | 'archived') | null;
1199
+ sortOrder?: ('manual' | 'alphabetical' | 'price-asc' | 'price-desc' | 'newest') | null;
1200
+ metadata?: {
1201
+ [k: string]: unknown;
1202
+ } | unknown[] | string | number | boolean | null;
1203
+ updatedAt: string;
1204
+ createdAt: string;
1205
+ }
1147
1206
  /**
1148
1207
  * This interface was referenced by `Config`'s JSON-Schema
1149
1208
  * via the `definition` "brands".
@@ -1175,6 +1234,9 @@ interface Brand {
1175
1234
  * Brand official website URL
1176
1235
  */
1177
1236
  website?: string | null;
1237
+ metadata?: {
1238
+ [k: string]: unknown;
1239
+ } | unknown[] | string | number | boolean | null;
1178
1240
  updatedAt: string;
1179
1241
  createdAt: string;
1180
1242
  }
@@ -1206,7 +1268,15 @@ interface ShippingPolicy {
1206
1268
  * Extra fee for remote islands
1207
1269
  */
1208
1270
  islandExtraFee?: number | null;
1271
+ /**
1272
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
1273
+ */
1274
+ generateSlug?: boolean | null;
1275
+ slug?: string | null;
1209
1276
  isDefault?: boolean | null;
1277
+ metadata?: {
1278
+ [k: string]: unknown;
1279
+ } | unknown[] | string | number | boolean | null;
1210
1280
  updatedAt: string;
1211
1281
  createdAt: string;
1212
1282
  }
@@ -1235,6 +1305,9 @@ interface Order {
1235
1305
  * Internal notes (not visible to customers)
1236
1306
  */
1237
1307
  notes?: string | null;
1308
+ metadata?: {
1309
+ [k: string]: unknown;
1310
+ } | unknown[] | string | number | boolean | null;
1238
1311
  shippingAddress?: {
1239
1312
  recipientName?: string | null;
1240
1313
  phone?: string | null;
@@ -1370,7 +1443,15 @@ interface CustomerGroupImage {
1370
1443
  focalX?: number | null;
1371
1444
  focalY?: number | null;
1372
1445
  sizes?: {
1373
- '512'?: {
1446
+ '384'?: {
1447
+ url?: string | null;
1448
+ width?: number | null;
1449
+ height?: number | null;
1450
+ mimeType?: string | null;
1451
+ filesize?: number | null;
1452
+ filename?: string | null;
1453
+ };
1454
+ '768'?: {
1374
1455
  url?: string | null;
1375
1456
  width?: number | null;
1376
1457
  height?: number | null;
@@ -1378,7 +1459,7 @@ interface CustomerGroupImage {
1378
1459
  filesize?: number | null;
1379
1460
  filename?: string | null;
1380
1461
  };
1381
- '1024'?: {
1462
+ '1536'?: {
1382
1463
  url?: string | null;
1383
1464
  width?: number | null;
1384
1465
  height?: number | null;
@@ -1550,7 +1631,10 @@ interface Fulfillment {
1550
1631
  tenant?: (number | null) | Tenant;
1551
1632
  order: number | Order;
1552
1633
  status: 'pending' | 'packed' | 'shipped' | 'delivered' | 'failed';
1553
- carrier?: ('cj' | 'hanjin' | 'lotte' | 'epost' | 'logen' | 'other') | null;
1634
+ /**
1635
+ * Shipping carrier name (e.g. CJ Logistics, FedEx, UPS)
1636
+ */
1637
+ carrier?: string | null;
1554
1638
  trackingNumber?: string | null;
1555
1639
  shippedAt?: string | null;
1556
1640
  deliveredAt?: string | null;
@@ -1559,6 +1643,9 @@ interface Fulfillment {
1559
1643
  hasNextPage?: boolean;
1560
1644
  totalDocs?: number;
1561
1645
  };
1646
+ metadata?: {
1647
+ [k: string]: unknown;
1648
+ } | unknown[] | string | number | boolean | null;
1562
1649
  updatedAt: string;
1563
1650
  createdAt: string;
1564
1651
  }
@@ -1603,6 +1690,9 @@ interface Cart {
1603
1690
  totalDocs?: number;
1604
1691
  };
1605
1692
  expiresAt?: string | null;
1693
+ metadata?: {
1694
+ [k: string]: unknown;
1695
+ } | unknown[] | string | number | boolean | null;
1606
1696
  updatedAt: string;
1607
1697
  createdAt: string;
1608
1698
  }
@@ -1622,6 +1712,9 @@ interface CartItem {
1622
1712
  * Price at the time of adding to cart
1623
1713
  */
1624
1714
  unitPrice: number;
1715
+ metadata?: {
1716
+ [k: string]: unknown;
1717
+ } | unknown[] | string | number | boolean | null;
1625
1718
  updatedAt: string;
1626
1719
  createdAt: string;
1627
1720
  }
@@ -1640,6 +1733,10 @@ interface Discount {
1640
1733
  * Internal name (e.g. 신규가입 10% 할인)
1641
1734
  */
1642
1735
  title: string;
1736
+ /**
1737
+ * Internal description for admin reference
1738
+ */
1739
+ description?: string | null;
1643
1740
  type: 'percentage' | 'fixed_amount' | 'free_shipping';
1644
1741
  /**
1645
1742
  * Discount rate (%) or fixed amount
@@ -1673,6 +1770,9 @@ interface Discount {
1673
1770
  * Leave empty to apply to all categories
1674
1771
  */
1675
1772
  applicableCategories?: (number | ProductCategory)[] | null;
1773
+ metadata?: {
1774
+ [k: string]: unknown;
1775
+ } | unknown[] | string | number | boolean | null;
1676
1776
  updatedAt: string;
1677
1777
  createdAt: string;
1678
1778
  }
@@ -1720,6 +1820,7 @@ interface Post {
1720
1820
  image?: (number | null) | Media;
1721
1821
  };
1722
1822
  thumbnail?: (number | null) | PostImage;
1823
+ images?: (number | PostImage)[] | null;
1723
1824
  /**
1724
1825
  * When enabled, the slug will auto-generate from the title field on save and autosave.
1725
1826
  */
@@ -1729,6 +1830,9 @@ interface Post {
1729
1830
  publishedAt?: string | null;
1730
1831
  categories?: (number | PostCategory)[] | null;
1731
1832
  tags?: (number | PostTag)[] | null;
1833
+ metadata?: {
1834
+ [k: string]: unknown;
1835
+ } | unknown[] | string | number | boolean | null;
1732
1836
  updatedAt: string;
1733
1837
  createdAt: string;
1734
1838
  _status?: ('draft' | 'published') | null;
@@ -1763,7 +1867,15 @@ interface PostImage {
1763
1867
  focalX?: number | null;
1764
1868
  focalY?: number | null;
1765
1869
  sizes?: {
1766
- '512'?: {
1870
+ '384'?: {
1871
+ url?: string | null;
1872
+ width?: number | null;
1873
+ height?: number | null;
1874
+ mimeType?: string | null;
1875
+ filesize?: number | null;
1876
+ filename?: string | null;
1877
+ };
1878
+ '768'?: {
1767
1879
  url?: string | null;
1768
1880
  width?: number | null;
1769
1881
  height?: number | null;
@@ -1771,7 +1883,7 @@ interface PostImage {
1771
1883
  filesize?: number | null;
1772
1884
  filename?: string | null;
1773
1885
  };
1774
- '1024'?: {
1886
+ '1536'?: {
1775
1887
  url?: string | null;
1776
1888
  width?: number | null;
1777
1889
  height?: number | null;
@@ -1802,6 +1914,9 @@ interface Author {
1802
1914
  hasNextPage?: boolean;
1803
1915
  totalDocs?: number;
1804
1916
  };
1917
+ metadata?: {
1918
+ [k: string]: unknown;
1919
+ } | unknown[] | string | number | boolean | null;
1805
1920
  updatedAt: string;
1806
1921
  createdAt: string;
1807
1922
  }
@@ -1920,6 +2035,9 @@ interface Document {
1920
2035
  * Document that requires user agreement
1921
2036
  */
1922
2037
  isRequired?: boolean | null;
2038
+ metadata?: {
2039
+ [k: string]: unknown;
2040
+ } | unknown[] | string | number | boolean | null;
1923
2041
  updatedAt: string;
1924
2042
  createdAt: string;
1925
2043
  _status?: ('draft' | 'published') | null;
@@ -1975,7 +2093,7 @@ interface DocumentImage {
1975
2093
  focalX?: number | null;
1976
2094
  focalY?: number | null;
1977
2095
  sizes?: {
1978
- '512'?: {
2096
+ '384'?: {
1979
2097
  url?: string | null;
1980
2098
  width?: number | null;
1981
2099
  height?: number | null;
@@ -1983,7 +2101,15 @@ interface DocumentImage {
1983
2101
  filesize?: number | null;
1984
2102
  filename?: string | null;
1985
2103
  };
1986
- '1024'?: {
2104
+ '768'?: {
2105
+ url?: string | null;
2106
+ width?: number | null;
2107
+ height?: number | null;
2108
+ mimeType?: string | null;
2109
+ filesize?: number | null;
2110
+ filename?: string | null;
2111
+ };
2112
+ '1536'?: {
1987
2113
  url?: string | null;
1988
2114
  width?: number | null;
1989
2115
  height?: number | null;
@@ -2027,6 +2153,9 @@ interface Playlist {
2027
2153
  */
2028
2154
  generateSlug?: boolean | null;
2029
2155
  slug?: string | null;
2156
+ metadata?: {
2157
+ [k: string]: unknown;
2158
+ } | unknown[] | string | number | boolean | null;
2030
2159
  updatedAt: string;
2031
2160
  createdAt: string;
2032
2161
  }
@@ -2052,6 +2181,9 @@ interface Music {
2052
2181
  * Duration in seconds (auto-filled from YouTube)
2053
2182
  */
2054
2183
  duration?: number | null;
2184
+ metadata?: {
2185
+ [k: string]: unknown;
2186
+ } | unknown[] | string | number | boolean | null;
2055
2187
  isValid?: boolean | null;
2056
2188
  updatedAt: string;
2057
2189
  createdAt: string;
@@ -2086,7 +2218,7 @@ interface PlaylistImage {
2086
2218
  focalX?: number | null;
2087
2219
  focalY?: number | null;
2088
2220
  sizes?: {
2089
- '512'?: {
2221
+ '384'?: {
2090
2222
  url?: string | null;
2091
2223
  width?: number | null;
2092
2224
  height?: number | null;
@@ -2094,7 +2226,7 @@ interface PlaylistImage {
2094
2226
  filesize?: number | null;
2095
2227
  filename?: string | null;
2096
2228
  };
2097
- '1024'?: {
2229
+ '768'?: {
2098
2230
  url?: string | null;
2099
2231
  width?: number | null;
2100
2232
  height?: number | null;
@@ -2102,81 +2234,7 @@ interface PlaylistImage {
2102
2234
  filesize?: number | null;
2103
2235
  filename?: string | null;
2104
2236
  };
2105
- };
2106
- }
2107
- /**
2108
- * This interface was referenced by `Config`'s JSON-Schema
2109
- * via the `definition` "galleries".
2110
- */
2111
- interface Gallery {
2112
- id: number;
2113
- _order?: string | null;
2114
- tenant?: (number | null) | Tenant;
2115
- title: string;
2116
- description?: string | null;
2117
- images: (number | GalleryImage)[];
2118
- meta?: {
2119
- /**
2120
- * 검색엔진에 표시되는 제목입니다. 한글 기준 30자, 영문 기준 60자 이내를 권장합니다.
2121
- */
2122
- title?: string | null;
2123
- /**
2124
- * 검색엔진에 표시되는 설명입니다. 한글 기준 80자, 영문 기준 160자 이내를 권장합니다.
2125
- */
2126
- description?: string | null;
2127
- /**
2128
- * SNS 공유 시 표시되는 이미지입니다. 1200x630px 권장.
2129
- */
2130
- image?: (number | null) | Media;
2131
- };
2132
- thumbnail?: (number | null) | GalleryImage;
2133
- /**
2134
- * When enabled, the slug will auto-generate from the title field on save and autosave.
2135
- */
2136
- generateSlug?: boolean | null;
2137
- slug?: string | null;
2138
- updatedAt: string;
2139
- createdAt: string;
2140
- }
2141
- /**
2142
- * This interface was referenced by `Config`'s JSON-Schema
2143
- * via the `definition` "gallery-images".
2144
- */
2145
- interface GalleryImage {
2146
- id: number;
2147
- tenant?: (number | null) | Tenant;
2148
- alt?: string | null;
2149
- lqip?: string | null;
2150
- palette?: {
2151
- vibrant?: string | null;
2152
- muted?: string | null;
2153
- darkVibrant?: string | null;
2154
- darkMuted?: string | null;
2155
- lightVibrant?: string | null;
2156
- lightMuted?: string | null;
2157
- };
2158
- prefix?: string | null;
2159
- updatedAt: string;
2160
- createdAt: string;
2161
- url?: string | null;
2162
- thumbnailURL?: string | null;
2163
- filename?: string | null;
2164
- mimeType?: string | null;
2165
- filesize?: number | null;
2166
- width?: number | null;
2167
- height?: number | null;
2168
- focalX?: number | null;
2169
- focalY?: number | null;
2170
- sizes?: {
2171
- '512'?: {
2172
- url?: string | null;
2173
- width?: number | null;
2174
- height?: number | null;
2175
- mimeType?: string | null;
2176
- filesize?: number | null;
2177
- filename?: string | null;
2178
- };
2179
- '1024'?: {
2237
+ '1536'?: {
2180
2238
  url?: string | null;
2181
2239
  width?: number | null;
2182
2240
  height?: number | null;
@@ -2437,6 +2495,9 @@ interface PayloadLockedDocument {
2437
2495
  } | null) | ({
2438
2496
  relationTo: 'product-images';
2439
2497
  value: number | ProductImage;
2498
+ } | null) | ({
2499
+ relationTo: 'product-collections';
2500
+ value: number | ProductCollection;
2440
2501
  } | null) | ({
2441
2502
  relationTo: 'brands';
2442
2503
  value: number | Brand;
@@ -2527,12 +2588,6 @@ interface PayloadLockedDocument {
2527
2588
  } | null) | ({
2528
2589
  relationTo: 'musics';
2529
2590
  value: number | Music;
2530
- } | null) | ({
2531
- relationTo: 'galleries';
2532
- value: number | Gallery;
2533
- } | null) | ({
2534
- relationTo: 'gallery-images';
2535
- value: number | GalleryImage;
2536
2591
  } | null) | ({
2537
2592
  relationTo: 'forms';
2538
2593
  value: number | Form;
@@ -2685,6 +2740,7 @@ interface TenantsSelect<T extends boolean = true> {
2685
2740
  id?: T;
2686
2741
  };
2687
2742
  webhookUrl?: T;
2743
+ webhookSecret?: T;
2688
2744
  updatedAt?: T;
2689
2745
  createdAt?: T;
2690
2746
  }
@@ -2980,6 +3036,7 @@ interface ProductsSelect<T extends boolean = true> {
2980
3036
  isSoldOut?: T;
2981
3037
  categories?: T;
2982
3038
  tags?: T;
3039
+ collections?: T;
2983
3040
  brand?: T;
2984
3041
  shippingPolicy?: T;
2985
3042
  metadata?: T;
@@ -3023,6 +3080,7 @@ interface ProductOptionsSelect<T extends boolean = true> {
3023
3080
  stock?: T;
3024
3081
  reservedStock?: T;
3025
3082
  priceAdjustment?: T;
3083
+ metadata?: T;
3026
3084
  updatedAt?: T;
3027
3085
  createdAt?: T;
3028
3086
  }
@@ -3089,7 +3147,7 @@ interface ProductImagesSelect<T extends boolean = true> {
3089
3147
  focalX?: T;
3090
3148
  focalY?: T;
3091
3149
  sizes?: T | {
3092
- '512'?: T | {
3150
+ '384'?: T | {
3093
3151
  url?: T;
3094
3152
  width?: T;
3095
3153
  height?: T;
@@ -3097,7 +3155,15 @@ interface ProductImagesSelect<T extends boolean = true> {
3097
3155
  filesize?: T;
3098
3156
  filename?: T;
3099
3157
  };
3100
- '1024'?: T | {
3158
+ '768'?: T | {
3159
+ url?: T;
3160
+ width?: T;
3161
+ height?: T;
3162
+ mimeType?: T;
3163
+ filesize?: T;
3164
+ filename?: T;
3165
+ };
3166
+ '1536'?: T | {
3101
3167
  url?: T;
3102
3168
  width?: T;
3103
3169
  height?: T;
@@ -3107,6 +3173,26 @@ interface ProductImagesSelect<T extends boolean = true> {
3107
3173
  };
3108
3174
  };
3109
3175
  }
3176
+ /**
3177
+ * This interface was referenced by `Config`'s JSON-Schema
3178
+ * via the `definition` "product-collections_select".
3179
+ */
3180
+ interface ProductCollectionsSelect<T extends boolean = true> {
3181
+ _order?: T;
3182
+ tenant?: T;
3183
+ title?: T;
3184
+ thumbnail?: T;
3185
+ images?: T;
3186
+ description?: T;
3187
+ products?: T;
3188
+ generateSlug?: T;
3189
+ slug?: T;
3190
+ status?: T;
3191
+ sortOrder?: T;
3192
+ metadata?: T;
3193
+ updatedAt?: T;
3194
+ createdAt?: T;
3195
+ }
3110
3196
  /**
3111
3197
  * This interface was referenced by `Config`'s JSON-Schema
3112
3198
  * via the `definition` "brands_select".
@@ -3122,6 +3208,7 @@ interface BrandsSelect<T extends boolean = true> {
3122
3208
  logomark?: T;
3123
3209
  description?: T;
3124
3210
  website?: T;
3211
+ metadata?: T;
3125
3212
  updatedAt?: T;
3126
3213
  createdAt?: T;
3127
3214
  }
@@ -3230,6 +3317,7 @@ interface OrdersSelect<T extends boolean = true> {
3230
3317
  discountCode?: T;
3231
3318
  discountAmount?: T;
3232
3319
  notes?: T;
3320
+ metadata?: T;
3233
3321
  shippingAddress?: T | {
3234
3322
  recipientName?: T;
3235
3323
  phone?: T;
@@ -3343,6 +3431,7 @@ interface FulfillmentsSelect<T extends boolean = true> {
3343
3431
  shippedAt?: T;
3344
3432
  deliveredAt?: T;
3345
3433
  items?: T;
3434
+ metadata?: T;
3346
3435
  updatedAt?: T;
3347
3436
  createdAt?: T;
3348
3437
  }
@@ -3464,7 +3553,7 @@ interface CustomerGroupImagesSelect<T extends boolean = true> {
3464
3553
  focalX?: T;
3465
3554
  focalY?: T;
3466
3555
  sizes?: T | {
3467
- '512'?: T | {
3556
+ '384'?: T | {
3468
3557
  url?: T;
3469
3558
  width?: T;
3470
3559
  height?: T;
@@ -3472,7 +3561,15 @@ interface CustomerGroupImagesSelect<T extends boolean = true> {
3472
3561
  filesize?: T;
3473
3562
  filename?: T;
3474
3563
  };
3475
- '1024'?: T | {
3564
+ '768'?: T | {
3565
+ url?: T;
3566
+ width?: T;
3567
+ height?: T;
3568
+ mimeType?: T;
3569
+ filesize?: T;
3570
+ filename?: T;
3571
+ };
3572
+ '1536'?: T | {
3476
3573
  url?: T;
3477
3574
  width?: T;
3478
3575
  height?: T;
@@ -3505,6 +3602,7 @@ interface CartsSelect<T extends boolean = true> {
3505
3602
  totalAmount?: T;
3506
3603
  items?: T;
3507
3604
  expiresAt?: T;
3605
+ metadata?: T;
3508
3606
  updatedAt?: T;
3509
3607
  createdAt?: T;
3510
3608
  }
@@ -3520,6 +3618,7 @@ interface CartItemsSelect<T extends boolean = true> {
3520
3618
  option?: T;
3521
3619
  quantity?: T;
3522
3620
  unitPrice?: T;
3621
+ metadata?: T;
3523
3622
  updatedAt?: T;
3524
3623
  createdAt?: T;
3525
3624
  }
@@ -3531,6 +3630,7 @@ interface DiscountsSelect<T extends boolean = true> {
3531
3630
  tenant?: T;
3532
3631
  code?: T;
3533
3632
  title?: T;
3633
+ description?: T;
3534
3634
  type?: T;
3535
3635
  value?: T;
3536
3636
  minOrderAmount?: T;
@@ -3543,6 +3643,7 @@ interface DiscountsSelect<T extends boolean = true> {
3543
3643
  isActive?: T;
3544
3644
  applicableProducts?: T;
3545
3645
  applicableCategories?: T;
3646
+ metadata?: T;
3546
3647
  updatedAt?: T;
3547
3648
  createdAt?: T;
3548
3649
  }
@@ -3558,7 +3659,10 @@ interface ShippingPoliciesSelect<T extends boolean = true> {
3558
3659
  freeShippingThreshold?: T;
3559
3660
  jejuExtraFee?: T;
3560
3661
  islandExtraFee?: T;
3662
+ generateSlug?: T;
3663
+ slug?: T;
3561
3664
  isDefault?: T;
3665
+ metadata?: T;
3562
3666
  updatedAt?: T;
3563
3667
  createdAt?: T;
3564
3668
  }
@@ -3579,12 +3683,14 @@ interface PostsSelect<T extends boolean = true> {
3579
3683
  image?: T;
3580
3684
  };
3581
3685
  thumbnail?: T;
3686
+ images?: T;
3582
3687
  generateSlug?: T;
3583
3688
  slug?: T;
3584
3689
  author?: T;
3585
3690
  publishedAt?: T;
3586
3691
  categories?: T;
3587
3692
  tags?: T;
3693
+ metadata?: T;
3588
3694
  updatedAt?: T;
3589
3695
  createdAt?: T;
3590
3696
  _status?: T;
@@ -3652,7 +3758,15 @@ interface PostImagesSelect<T extends boolean = true> {
3652
3758
  focalX?: T;
3653
3759
  focalY?: T;
3654
3760
  sizes?: T | {
3655
- '512'?: T | {
3761
+ '384'?: T | {
3762
+ url?: T;
3763
+ width?: T;
3764
+ height?: T;
3765
+ mimeType?: T;
3766
+ filesize?: T;
3767
+ filename?: T;
3768
+ };
3769
+ '768'?: T | {
3656
3770
  url?: T;
3657
3771
  width?: T;
3658
3772
  height?: T;
@@ -3660,7 +3774,7 @@ interface PostImagesSelect<T extends boolean = true> {
3660
3774
  filesize?: T;
3661
3775
  filename?: T;
3662
3776
  };
3663
- '1024'?: T | {
3777
+ '1536'?: T | {
3664
3778
  url?: T;
3665
3779
  width?: T;
3666
3780
  height?: T;
@@ -3683,6 +3797,7 @@ interface AuthorsSelect<T extends boolean = true> {
3683
3797
  avatar?: T;
3684
3798
  bio?: T;
3685
3799
  posts?: T;
3800
+ metadata?: T;
3686
3801
  updatedAt?: T;
3687
3802
  createdAt?: T;
3688
3803
  }
@@ -3714,6 +3829,7 @@ interface DocumentsSelect<T extends boolean = true> {
3714
3829
  expiryDate?: T;
3715
3830
  category?: T;
3716
3831
  isRequired?: T;
3832
+ metadata?: T;
3717
3833
  updatedAt?: T;
3718
3834
  createdAt?: T;
3719
3835
  _status?: T;
@@ -3764,7 +3880,7 @@ interface DocumentImagesSelect<T extends boolean = true> {
3764
3880
  focalX?: T;
3765
3881
  focalY?: T;
3766
3882
  sizes?: T | {
3767
- '512'?: T | {
3883
+ '384'?: T | {
3768
3884
  url?: T;
3769
3885
  width?: T;
3770
3886
  height?: T;
@@ -3772,7 +3888,15 @@ interface DocumentImagesSelect<T extends boolean = true> {
3772
3888
  filesize?: T;
3773
3889
  filename?: T;
3774
3890
  };
3775
- '1024'?: T | {
3891
+ '768'?: T | {
3892
+ url?: T;
3893
+ width?: T;
3894
+ height?: T;
3895
+ mimeType?: T;
3896
+ filesize?: T;
3897
+ filename?: T;
3898
+ };
3899
+ '1536'?: T | {
3776
3900
  url?: T;
3777
3901
  width?: T;
3778
3902
  height?: T;
@@ -3799,6 +3923,7 @@ interface PlaylistsSelect<T extends boolean = true> {
3799
3923
  image?: T;
3800
3924
  generateSlug?: T;
3801
3925
  slug?: T;
3926
+ metadata?: T;
3802
3927
  updatedAt?: T;
3803
3928
  createdAt?: T;
3804
3929
  }
@@ -3831,7 +3956,7 @@ interface PlaylistImagesSelect<T extends boolean = true> {
3831
3956
  focalX?: T;
3832
3957
  focalY?: T;
3833
3958
  sizes?: T | {
3834
- '512'?: T | {
3959
+ '384'?: T | {
3835
3960
  url?: T;
3836
3961
  width?: T;
3837
3962
  height?: T;
@@ -3839,7 +3964,15 @@ interface PlaylistImagesSelect<T extends boolean = true> {
3839
3964
  filesize?: T;
3840
3965
  filename?: T;
3841
3966
  };
3842
- '1024'?: T | {
3967
+ '768'?: T | {
3968
+ url?: T;
3969
+ width?: T;
3970
+ height?: T;
3971
+ mimeType?: T;
3972
+ filesize?: T;
3973
+ filename?: T;
3974
+ };
3975
+ '1536'?: T | {
3843
3976
  url?: T;
3844
3977
  width?: T;
3845
3978
  height?: T;
@@ -3861,78 +3994,11 @@ interface MusicsSelect<T extends boolean = true> {
3861
3994
  title?: T;
3862
3995
  artist?: T;
3863
3996
  duration?: T;
3997
+ metadata?: T;
3864
3998
  isValid?: T;
3865
3999
  updatedAt?: T;
3866
4000
  createdAt?: T;
3867
4001
  }
3868
- /**
3869
- * This interface was referenced by `Config`'s JSON-Schema
3870
- * via the `definition` "galleries_select".
3871
- */
3872
- interface GalleriesSelect<T extends boolean = true> {
3873
- _order?: T;
3874
- tenant?: T;
3875
- title?: T;
3876
- description?: T;
3877
- images?: T;
3878
- meta?: T | {
3879
- title?: T;
3880
- description?: T;
3881
- image?: T;
3882
- };
3883
- thumbnail?: T;
3884
- generateSlug?: T;
3885
- slug?: T;
3886
- updatedAt?: T;
3887
- createdAt?: T;
3888
- }
3889
- /**
3890
- * This interface was referenced by `Config`'s JSON-Schema
3891
- * via the `definition` "gallery-images_select".
3892
- */
3893
- interface GalleryImagesSelect<T extends boolean = true> {
3894
- tenant?: T;
3895
- alt?: T;
3896
- lqip?: T;
3897
- palette?: T | {
3898
- vibrant?: T;
3899
- muted?: T;
3900
- darkVibrant?: T;
3901
- darkMuted?: T;
3902
- lightVibrant?: T;
3903
- lightMuted?: T;
3904
- };
3905
- prefix?: T;
3906
- updatedAt?: T;
3907
- createdAt?: T;
3908
- url?: T;
3909
- thumbnailURL?: T;
3910
- filename?: T;
3911
- mimeType?: T;
3912
- filesize?: T;
3913
- width?: T;
3914
- height?: T;
3915
- focalX?: T;
3916
- focalY?: T;
3917
- sizes?: T | {
3918
- '512'?: T | {
3919
- url?: T;
3920
- width?: T;
3921
- height?: T;
3922
- mimeType?: T;
3923
- filesize?: T;
3924
- filename?: T;
3925
- };
3926
- '1024'?: T | {
3927
- url?: T;
3928
- width?: T;
3929
- height?: T;
3930
- mimeType?: T;
3931
- filesize?: T;
3932
- filename?: T;
3933
- };
3934
- };
3935
- }
3936
4002
  /**
3937
4003
  * This interface was referenced by `Config`'s JSON-Schema
3938
4004
  * via the `definition` "forms_select".
@@ -4113,4 +4179,4 @@ declare module 'payload' {
4113
4179
  }
4114
4180
  }
4115
4181
 
4116
- export type { PlaylistImage as $, Audience as A, BrandLogo as B, CartItem as C, ExchangeProduct as D, EmailLog as E, Fulfillment as F, FulfillmentItem as G, Cart as H, IframeBlock as I, Discount as J, Post as K, PostImage as L, Media as M, Author as N, Order as O, ProductOption as P, PostCategory as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, PostTag as V, Document as W, DocumentCategory as X, DocumentImage as Y, Playlist as Z, Music as _, OrderProduct as a, Auth as a$, Gallery as a0, GalleryImage as a1, Form as a2, FormSubmission as a3, PayloadKv as a4, PayloadLockedDocument as a5, PayloadPreference as a6, PayloadMigration as a7, UsersSelect as a8, MediaSelect as a9, CustomersSelect as aA, CustomerAddressesSelect as aB, CustomerGroupsSelect as aC, CustomerGroupImagesSelect as aD, CartsSelect as aE, CartItemsSelect as aF, DiscountsSelect as aG, ShippingPoliciesSelect as aH, PostsSelect as aI, PostCategoriesSelect as aJ, PostTagsSelect as aK, PostImagesSelect as aL, AuthorsSelect as aM, DocumentsSelect as aN, DocumentCategoriesSelect as aO, DocumentImagesSelect as aP, PlaylistsSelect as aQ, PlaylistImagesSelect as aR, MusicsSelect as aS, GalleriesSelect as aT, GalleryImagesSelect as aU, FormsSelect as aV, FormSubmissionsSelect as aW, PayloadKvSelect as aX, PayloadLockedDocumentsSelect as aY, PayloadPreferencesSelect as aZ, PayloadMigrationsSelect as a_, AudiencesSelect as aa, EmailLogsSelect as ab, TenantsSelect as ac, TenantMetadataSelect as ad, TenantLogosSelect as ae, TenantOgImagesSelect as af, ApiUsageSelect as ag, SubscriptionsSelect as ah, BillingHistorySelect as ai, ProductsSelect as aj, ProductVariantsSelect as ak, ProductOptionsSelect as al, ProductCategoriesSelect as am, ProductTagsSelect as an, ProductImagesSelect as ao, BrandsSelect as ap, BrandLogosSelect as aq, OrdersSelect as ar, OrderProductsSelect as as, ReturnsSelect as at, ReturnProductsSelect as au, ExchangesSelect as av, ExchangeProductsSelect as aw, FulfillmentsSelect as ax, FulfillmentItemsSelect as ay, TransactionsSelect as az, Config as b, CustomerAuthOperations as c, PlayerBlock as d, CodeBlock as e, User as f, Tenant as g, TenantMetadatum as h, TenantOgImage as i, TenantLogo as j, ApiUsage as k, Subscription as l, BillingHistory as m, Product as n, ProductImage as o, ProductVariant as p, ProductCategory as q, ProductTag as r, Brand as s, ShippingPolicy as t, Customer as u, CustomerGroup as v, CustomerGroupImage as w, CustomerAddress as x, ReturnProduct as y, Exchange as z };
4182
+ export type { Music as $, Audience as A, BrandLogo as B, CartItem as C, Exchange as D, EmailLog as E, Fulfillment as F, ExchangeProduct as G, FulfillmentItem as H, IframeBlock as I, Cart as J, Discount as K, Post as L, Media as M, PostImage as N, Order as O, ProductOption as P, Author as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, PostCategory as V, PostTag as W, Document as X, DocumentCategory as Y, DocumentImage as Z, Playlist as _, OrderProduct as a, PlaylistImage as a0, Form as a1, FormSubmission as a2, PayloadKv as a3, PayloadLockedDocument as a4, PayloadPreference as a5, PayloadMigration as a6, UsersSelect as a7, MediaSelect as a8, AudiencesSelect as a9, CustomersSelect as aA, CustomerAddressesSelect as aB, CustomerGroupsSelect as aC, CustomerGroupImagesSelect as aD, CartsSelect as aE, CartItemsSelect as aF, DiscountsSelect as aG, ShippingPoliciesSelect as aH, PostsSelect as aI, PostCategoriesSelect as aJ, PostTagsSelect as aK, PostImagesSelect as aL, AuthorsSelect as aM, DocumentsSelect as aN, DocumentCategoriesSelect as aO, DocumentImagesSelect as aP, PlaylistsSelect as aQ, PlaylistImagesSelect as aR, MusicsSelect as aS, FormsSelect as aT, FormSubmissionsSelect as aU, PayloadKvSelect as aV, PayloadLockedDocumentsSelect as aW, PayloadPreferencesSelect as aX, PayloadMigrationsSelect as aY, Auth as aZ, EmailLogsSelect as aa, TenantsSelect as ab, TenantMetadataSelect as ac, TenantLogosSelect as ad, TenantOgImagesSelect as ae, ApiUsageSelect as af, SubscriptionsSelect as ag, BillingHistorySelect as ah, ProductsSelect as ai, ProductVariantsSelect as aj, ProductOptionsSelect as ak, ProductCategoriesSelect as al, ProductTagsSelect as am, ProductImagesSelect as an, ProductCollectionsSelect as ao, BrandsSelect as ap, BrandLogosSelect as aq, OrdersSelect as ar, OrderProductsSelect as as, ReturnsSelect as at, ReturnProductsSelect as au, ExchangesSelect as av, ExchangeProductsSelect as aw, FulfillmentsSelect as ax, FulfillmentItemsSelect as ay, TransactionsSelect as az, Config as b, CustomerAuthOperations as c, PlayerBlock as d, CodeBlock as e, User as f, Tenant as g, TenantMetadatum as h, TenantOgImage as i, TenantLogo as j, ApiUsage as k, Subscription as l, BillingHistory as m, Product as n, ProductImage as o, ProductVariant as p, ProductCategory as q, ProductTag as r, ProductCollection as s, Brand as t, ShippingPolicy as u, Customer as v, CustomerGroup as w, CustomerGroupImage as x, CustomerAddress as y, ReturnProduct as z };