@01.software/sdk 0.2.2 → 0.2.4
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.
- package/dist/{auth-BwIP4t_T.d.ts → auth-CWsLf5vd.d.ts} +1 -1
- package/dist/{auth-BwRoNck8.d.cts → auth-DTkwMgvi.d.cts} +1 -1
- package/dist/auth.d.cts +2 -2
- package/dist/auth.d.ts +2 -2
- package/dist/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/metadata.cjs +2 -1
- package/dist/metadata.cjs.map +1 -1
- package/dist/metadata.d.cts +1 -1
- package/dist/metadata.d.ts +1 -1
- package/dist/metadata.js +2 -1
- package/dist/metadata.js.map +1 -1
- package/dist/{payload-types-DPdUroGM.d.cts → payload-types-BFIUYPDZ.d.cts} +596 -583
- package/dist/{payload-types-DPdUroGM.d.ts → payload-types-BFIUYPDZ.d.ts} +596 -583
- package/dist/{webhook-DRpqvA6W.d.ts → webhook-BBp77Khg.d.ts} +1 -1
- package/dist/{webhook-4iCoQzsv.d.cts → webhook-BM5spkSP.d.cts} +1 -1
- package/dist/webhook.d.cts +2 -2
- package/dist/webhook.d.ts +2 -2
- package/package.json +3 -3
|
@@ -27,20 +27,20 @@ interface Config {
|
|
|
27
27
|
'email-logs': EmailLog;
|
|
28
28
|
tenants: Tenant;
|
|
29
29
|
'tenant-metadata': TenantMetadatum;
|
|
30
|
-
'tenant-logos': TenantLogo;
|
|
31
|
-
'tenant-og-images': TenantOgImage;
|
|
32
30
|
'api-usage': ApiUsage;
|
|
33
31
|
subscriptions: Subscription;
|
|
34
32
|
'billing-history': BillingHistory;
|
|
33
|
+
'tenant-logos': TenantLogo;
|
|
34
|
+
'tenant-og-images': TenantOgImage;
|
|
35
35
|
products: Product;
|
|
36
36
|
'product-variants': ProductVariant;
|
|
37
37
|
'product-options': ProductOption;
|
|
38
38
|
'product-categories': ProductCategory;
|
|
39
39
|
'product-tags': ProductTag;
|
|
40
|
-
'product-images': ProductImage;
|
|
41
40
|
'product-collections': ProductCollection;
|
|
42
41
|
brands: Brand;
|
|
43
42
|
'brand-logos': BrandLogo;
|
|
43
|
+
'product-images': ProductImage;
|
|
44
44
|
orders: Order;
|
|
45
45
|
'order-products': OrderProduct;
|
|
46
46
|
returns: Return;
|
|
@@ -59,17 +59,17 @@ interface Config {
|
|
|
59
59
|
discounts: Discount;
|
|
60
60
|
'shipping-policies': ShippingPolicy;
|
|
61
61
|
posts: Post;
|
|
62
|
+
'post-authors': PostAuthor;
|
|
62
63
|
'post-categories': PostCategory;
|
|
63
64
|
'post-tags': PostTag;
|
|
64
65
|
'post-images': PostImage;
|
|
65
|
-
authors: Author;
|
|
66
66
|
documents: Document;
|
|
67
67
|
'document-categories': DocumentCategory;
|
|
68
68
|
'document-types': DocumentType;
|
|
69
69
|
'document-images': DocumentImage;
|
|
70
70
|
playlists: Playlist;
|
|
71
|
-
'playlist-images': PlaylistImage;
|
|
72
71
|
musics: Music;
|
|
72
|
+
'playlist-images': PlaylistImage;
|
|
73
73
|
forms: Form;
|
|
74
74
|
'form-submissions': FormSubmission;
|
|
75
75
|
'payload-kv': PayloadKv;
|
|
@@ -112,7 +112,7 @@ interface Config {
|
|
|
112
112
|
carts: {
|
|
113
113
|
items: 'cart-items';
|
|
114
114
|
};
|
|
115
|
-
authors: {
|
|
115
|
+
'post-authors': {
|
|
116
116
|
posts: 'posts';
|
|
117
117
|
};
|
|
118
118
|
playlists: {
|
|
@@ -126,20 +126,20 @@ interface Config {
|
|
|
126
126
|
'email-logs': EmailLogsSelect<false> | EmailLogsSelect<true>;
|
|
127
127
|
tenants: TenantsSelect<false> | TenantsSelect<true>;
|
|
128
128
|
'tenant-metadata': TenantMetadataSelect<false> | TenantMetadataSelect<true>;
|
|
129
|
-
'tenant-logos': TenantLogosSelect<false> | TenantLogosSelect<true>;
|
|
130
|
-
'tenant-og-images': TenantOgImagesSelect<false> | TenantOgImagesSelect<true>;
|
|
131
129
|
'api-usage': ApiUsageSelect<false> | ApiUsageSelect<true>;
|
|
132
130
|
subscriptions: SubscriptionsSelect<false> | SubscriptionsSelect<true>;
|
|
133
131
|
'billing-history': BillingHistorySelect<false> | BillingHistorySelect<true>;
|
|
132
|
+
'tenant-logos': TenantLogosSelect<false> | TenantLogosSelect<true>;
|
|
133
|
+
'tenant-og-images': TenantOgImagesSelect<false> | TenantOgImagesSelect<true>;
|
|
134
134
|
products: ProductsSelect<false> | ProductsSelect<true>;
|
|
135
135
|
'product-variants': ProductVariantsSelect<false> | ProductVariantsSelect<true>;
|
|
136
136
|
'product-options': ProductOptionsSelect<false> | ProductOptionsSelect<true>;
|
|
137
137
|
'product-categories': ProductCategoriesSelect<false> | ProductCategoriesSelect<true>;
|
|
138
138
|
'product-tags': ProductTagsSelect<false> | ProductTagsSelect<true>;
|
|
139
|
-
'product-images': ProductImagesSelect<false> | ProductImagesSelect<true>;
|
|
140
139
|
'product-collections': ProductCollectionsSelect<false> | ProductCollectionsSelect<true>;
|
|
141
140
|
brands: BrandsSelect<false> | BrandsSelect<true>;
|
|
142
141
|
'brand-logos': BrandLogosSelect<false> | BrandLogosSelect<true>;
|
|
142
|
+
'product-images': ProductImagesSelect<false> | ProductImagesSelect<true>;
|
|
143
143
|
orders: OrdersSelect<false> | OrdersSelect<true>;
|
|
144
144
|
'order-products': OrderProductsSelect<false> | OrderProductsSelect<true>;
|
|
145
145
|
returns: ReturnsSelect<false> | ReturnsSelect<true>;
|
|
@@ -158,17 +158,17 @@ interface Config {
|
|
|
158
158
|
discounts: DiscountsSelect<false> | DiscountsSelect<true>;
|
|
159
159
|
'shipping-policies': ShippingPoliciesSelect<false> | ShippingPoliciesSelect<true>;
|
|
160
160
|
posts: PostsSelect<false> | PostsSelect<true>;
|
|
161
|
+
'post-authors': PostAuthorsSelect<false> | PostAuthorsSelect<true>;
|
|
161
162
|
'post-categories': PostCategoriesSelect<false> | PostCategoriesSelect<true>;
|
|
162
163
|
'post-tags': PostTagsSelect<false> | PostTagsSelect<true>;
|
|
163
164
|
'post-images': PostImagesSelect<false> | PostImagesSelect<true>;
|
|
164
|
-
authors: AuthorsSelect<false> | AuthorsSelect<true>;
|
|
165
165
|
documents: DocumentsSelect<false> | DocumentsSelect<true>;
|
|
166
166
|
'document-categories': DocumentCategoriesSelect<false> | DocumentCategoriesSelect<true>;
|
|
167
167
|
'document-types': DocumentTypesSelect<false> | DocumentTypesSelect<true>;
|
|
168
168
|
'document-images': DocumentImagesSelect<false> | DocumentImagesSelect<true>;
|
|
169
169
|
playlists: PlaylistsSelect<false> | PlaylistsSelect<true>;
|
|
170
|
-
'playlist-images': PlaylistImagesSelect<false> | PlaylistImagesSelect<true>;
|
|
171
170
|
musics: MusicsSelect<false> | MusicsSelect<true>;
|
|
171
|
+
'playlist-images': PlaylistImagesSelect<false> | PlaylistImagesSelect<true>;
|
|
172
172
|
forms: FormsSelect<false> | FormsSelect<true>;
|
|
173
173
|
'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
|
|
174
174
|
'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
|
|
@@ -177,12 +177,15 @@ interface Config {
|
|
|
177
177
|
'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
|
|
178
178
|
};
|
|
179
179
|
db: {
|
|
180
|
-
defaultIDType:
|
|
180
|
+
defaultIDType: string;
|
|
181
181
|
};
|
|
182
182
|
fallbackLocale: null;
|
|
183
183
|
globals: {};
|
|
184
184
|
globalsSelect: {};
|
|
185
185
|
locale: null;
|
|
186
|
+
widgets: {
|
|
187
|
+
collections: CollectionsWidget;
|
|
188
|
+
};
|
|
186
189
|
user: User | Customer;
|
|
187
190
|
jobs: {
|
|
188
191
|
tasks: unknown;
|
|
@@ -265,10 +268,10 @@ interface CodeBlock {
|
|
|
265
268
|
* via the `definition` "users".
|
|
266
269
|
*/
|
|
267
270
|
interface User {
|
|
268
|
-
id:
|
|
271
|
+
id: string;
|
|
269
272
|
roles: ('super-admin' | 'user')[];
|
|
270
273
|
tenants?: {
|
|
271
|
-
tenant:
|
|
274
|
+
tenant: string | Tenant;
|
|
272
275
|
roles: ('tenant-admin' | 'tenant-viewer')[];
|
|
273
276
|
id?: string | null;
|
|
274
277
|
}[] | null;
|
|
@@ -299,7 +302,7 @@ interface User {
|
|
|
299
302
|
* via the `definition` "tenants".
|
|
300
303
|
*/
|
|
301
304
|
interface Tenant {
|
|
302
|
-
id:
|
|
305
|
+
id: string;
|
|
303
306
|
name: string;
|
|
304
307
|
/**
|
|
305
308
|
* Allowed CORS origins for browser SDK requests. Empty = all origins allowed.
|
|
@@ -343,8 +346,8 @@ interface Tenant {
|
|
|
343
346
|
* via the `definition` "media".
|
|
344
347
|
*/
|
|
345
348
|
interface Media {
|
|
346
|
-
id:
|
|
347
|
-
tenant?: (
|
|
349
|
+
id: string;
|
|
350
|
+
tenant?: (string | null) | Tenant;
|
|
348
351
|
alt?: string | null;
|
|
349
352
|
caption?: string | null;
|
|
350
353
|
/**
|
|
@@ -369,7 +372,7 @@ interface Media {
|
|
|
369
372
|
* via the `definition` "audiences".
|
|
370
373
|
*/
|
|
371
374
|
interface Audience {
|
|
372
|
-
id:
|
|
375
|
+
id: string;
|
|
373
376
|
email: string;
|
|
374
377
|
firstName?: string | null;
|
|
375
378
|
lastName?: string | null;
|
|
@@ -389,7 +392,7 @@ interface Audience {
|
|
|
389
392
|
* via the `definition` "email-logs".
|
|
390
393
|
*/
|
|
391
394
|
interface EmailLog {
|
|
392
|
-
id:
|
|
395
|
+
id: string;
|
|
393
396
|
to: string;
|
|
394
397
|
from?: string | null;
|
|
395
398
|
subject: string;
|
|
@@ -405,8 +408,8 @@ interface EmailLog {
|
|
|
405
408
|
* via the `definition` "tenant-metadata".
|
|
406
409
|
*/
|
|
407
410
|
interface TenantMetadatum {
|
|
408
|
-
id:
|
|
409
|
-
tenant?: (
|
|
411
|
+
id: string;
|
|
412
|
+
tenant?: (string | null) | Tenant;
|
|
410
413
|
siteInfo?: {
|
|
411
414
|
/**
|
|
412
415
|
* Site title (used in browser tab and SEO)
|
|
@@ -433,19 +436,19 @@ interface TenantMetadatum {
|
|
|
433
436
|
/**
|
|
434
437
|
* Primary logo
|
|
435
438
|
*/
|
|
436
|
-
logo?: (
|
|
439
|
+
logo?: (string | null) | BrandLogo;
|
|
437
440
|
/**
|
|
438
441
|
* Logo for dark mode (optional)
|
|
439
442
|
*/
|
|
440
|
-
logoDark?: (
|
|
443
|
+
logoDark?: (string | null) | BrandLogo;
|
|
441
444
|
/**
|
|
442
445
|
* Logo mark / Icon (optional)
|
|
443
446
|
*/
|
|
444
|
-
logomark?: (
|
|
447
|
+
logomark?: (string | null) | BrandLogo;
|
|
445
448
|
/**
|
|
446
449
|
* Favicon (will be resized automatically)
|
|
447
450
|
*/
|
|
448
|
-
favicon?: (
|
|
451
|
+
favicon?: (string | null) | BrandLogo;
|
|
449
452
|
/**
|
|
450
453
|
* Theme color for mobile browsers (hex color)
|
|
451
454
|
*/
|
|
@@ -463,7 +466,7 @@ interface TenantMetadatum {
|
|
|
463
466
|
/**
|
|
464
467
|
* Open Graph image (1200x630 recommended)
|
|
465
468
|
*/
|
|
466
|
-
ogImage?: (
|
|
469
|
+
ogImage?: (string | null) | TenantOgImage;
|
|
467
470
|
/**
|
|
468
471
|
* Open Graph type
|
|
469
472
|
*/
|
|
@@ -497,7 +500,7 @@ interface TenantMetadatum {
|
|
|
497
500
|
/**
|
|
498
501
|
* Twitter card image (falls back to OG image)
|
|
499
502
|
*/
|
|
500
|
-
twitterImage?: (
|
|
503
|
+
twitterImage?: (string | null) | TenantOgImage;
|
|
501
504
|
};
|
|
502
505
|
seo?: {
|
|
503
506
|
/**
|
|
@@ -561,8 +564,8 @@ interface TenantMetadatum {
|
|
|
561
564
|
* via the `definition` "brand-logos".
|
|
562
565
|
*/
|
|
563
566
|
interface BrandLogo {
|
|
564
|
-
id:
|
|
565
|
-
tenant?: (
|
|
567
|
+
id: string;
|
|
568
|
+
tenant?: (string | null) | Tenant;
|
|
566
569
|
alt?: string | null;
|
|
567
570
|
lqip?: string | null;
|
|
568
571
|
palette?: {
|
|
@@ -649,8 +652,8 @@ interface BrandLogo {
|
|
|
649
652
|
* via the `definition` "tenant-og-images".
|
|
650
653
|
*/
|
|
651
654
|
interface TenantOgImage {
|
|
652
|
-
id:
|
|
653
|
-
tenant?: (
|
|
655
|
+
id: string;
|
|
656
|
+
tenant?: (string | null) | Tenant;
|
|
654
657
|
alt?: string | null;
|
|
655
658
|
lqip?: string | null;
|
|
656
659
|
palette?: {
|
|
@@ -684,101 +687,13 @@ interface TenantOgImage {
|
|
|
684
687
|
};
|
|
685
688
|
};
|
|
686
689
|
}
|
|
687
|
-
/**
|
|
688
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
689
|
-
* via the `definition` "tenant-logos".
|
|
690
|
-
*/
|
|
691
|
-
interface TenantLogo {
|
|
692
|
-
id: number;
|
|
693
|
-
tenant?: (number | null) | Tenant;
|
|
694
|
-
alt?: string | null;
|
|
695
|
-
lqip?: string | null;
|
|
696
|
-
palette?: {
|
|
697
|
-
vibrant?: string | null;
|
|
698
|
-
muted?: string | null;
|
|
699
|
-
darkVibrant?: string | null;
|
|
700
|
-
darkMuted?: string | null;
|
|
701
|
-
lightVibrant?: string | null;
|
|
702
|
-
lightMuted?: string | null;
|
|
703
|
-
};
|
|
704
|
-
prefix?: string | null;
|
|
705
|
-
updatedAt: string;
|
|
706
|
-
createdAt: string;
|
|
707
|
-
url?: string | null;
|
|
708
|
-
thumbnailURL?: string | null;
|
|
709
|
-
filename?: string | null;
|
|
710
|
-
mimeType?: string | null;
|
|
711
|
-
filesize?: number | null;
|
|
712
|
-
width?: number | null;
|
|
713
|
-
height?: number | null;
|
|
714
|
-
focalX?: number | null;
|
|
715
|
-
focalY?: number | null;
|
|
716
|
-
sizes?: {
|
|
717
|
-
'16'?: {
|
|
718
|
-
url?: string | null;
|
|
719
|
-
width?: number | null;
|
|
720
|
-
height?: number | null;
|
|
721
|
-
mimeType?: string | null;
|
|
722
|
-
filesize?: number | null;
|
|
723
|
-
filename?: string | null;
|
|
724
|
-
};
|
|
725
|
-
'32'?: {
|
|
726
|
-
url?: string | null;
|
|
727
|
-
width?: number | null;
|
|
728
|
-
height?: number | null;
|
|
729
|
-
mimeType?: string | null;
|
|
730
|
-
filesize?: number | null;
|
|
731
|
-
filename?: string | null;
|
|
732
|
-
};
|
|
733
|
-
'64'?: {
|
|
734
|
-
url?: string | null;
|
|
735
|
-
width?: number | null;
|
|
736
|
-
height?: number | null;
|
|
737
|
-
mimeType?: string | null;
|
|
738
|
-
filesize?: number | null;
|
|
739
|
-
filename?: string | null;
|
|
740
|
-
};
|
|
741
|
-
'128'?: {
|
|
742
|
-
url?: string | null;
|
|
743
|
-
width?: number | null;
|
|
744
|
-
height?: number | null;
|
|
745
|
-
mimeType?: string | null;
|
|
746
|
-
filesize?: number | null;
|
|
747
|
-
filename?: string | null;
|
|
748
|
-
};
|
|
749
|
-
'180'?: {
|
|
750
|
-
url?: string | null;
|
|
751
|
-
width?: number | null;
|
|
752
|
-
height?: number | null;
|
|
753
|
-
mimeType?: string | null;
|
|
754
|
-
filesize?: number | null;
|
|
755
|
-
filename?: string | null;
|
|
756
|
-
};
|
|
757
|
-
'192'?: {
|
|
758
|
-
url?: string | null;
|
|
759
|
-
width?: number | null;
|
|
760
|
-
height?: number | null;
|
|
761
|
-
mimeType?: string | null;
|
|
762
|
-
filesize?: number | null;
|
|
763
|
-
filename?: string | null;
|
|
764
|
-
};
|
|
765
|
-
'512'?: {
|
|
766
|
-
url?: string | null;
|
|
767
|
-
width?: number | null;
|
|
768
|
-
height?: number | null;
|
|
769
|
-
mimeType?: string | null;
|
|
770
|
-
filesize?: number | null;
|
|
771
|
-
filename?: string | null;
|
|
772
|
-
};
|
|
773
|
-
};
|
|
774
|
-
}
|
|
775
690
|
/**
|
|
776
691
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
777
692
|
* via the `definition` "api-usage".
|
|
778
693
|
*/
|
|
779
694
|
interface ApiUsage {
|
|
780
|
-
id:
|
|
781
|
-
tenant?: (
|
|
695
|
+
id: string;
|
|
696
|
+
tenant?: (string | null) | Tenant;
|
|
782
697
|
/**
|
|
783
698
|
* YYYY-MM format
|
|
784
699
|
*/
|
|
@@ -809,10 +724,10 @@ interface ApiUsage {
|
|
|
809
724
|
* via the `definition` "subscriptions".
|
|
810
725
|
*/
|
|
811
726
|
interface Subscription {
|
|
812
|
-
id:
|
|
727
|
+
id: string;
|
|
813
728
|
provider: 'toss' | 'polar';
|
|
814
729
|
currency: 'KRW' | 'USD';
|
|
815
|
-
tenant:
|
|
730
|
+
tenant: string | Tenant;
|
|
816
731
|
plan: 'starter' | 'basic' | 'pro';
|
|
817
732
|
billingCycle: 'monthly' | 'yearly';
|
|
818
733
|
/**
|
|
@@ -873,11 +788,11 @@ interface Subscription {
|
|
|
873
788
|
* via the `definition` "billing-history".
|
|
874
789
|
*/
|
|
875
790
|
interface BillingHistory {
|
|
876
|
-
id:
|
|
791
|
+
id: string;
|
|
877
792
|
provider: 'toss' | 'polar';
|
|
878
793
|
currency: 'KRW' | 'USD';
|
|
879
|
-
tenant:
|
|
880
|
-
subscription?: (
|
|
794
|
+
tenant: string | Tenant;
|
|
795
|
+
subscription?: (string | null) | Subscription;
|
|
881
796
|
type: 'payment' | 'refund' | 'plan_change';
|
|
882
797
|
status: 'success' | 'failed' | 'refunded' | 'partial_refund';
|
|
883
798
|
/**
|
|
@@ -920,22 +835,110 @@ interface BillingHistory {
|
|
|
920
835
|
/**
|
|
921
836
|
* 재시도 원본 결제 내역
|
|
922
837
|
*/
|
|
923
|
-
retryOf?: (
|
|
838
|
+
retryOf?: (string | null) | BillingHistory;
|
|
839
|
+
updatedAt: string;
|
|
840
|
+
createdAt: string;
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
844
|
+
* via the `definition` "tenant-logos".
|
|
845
|
+
*/
|
|
846
|
+
interface TenantLogo {
|
|
847
|
+
id: string;
|
|
848
|
+
tenant?: (string | null) | Tenant;
|
|
849
|
+
alt?: string | null;
|
|
850
|
+
lqip?: string | null;
|
|
851
|
+
palette?: {
|
|
852
|
+
vibrant?: string | null;
|
|
853
|
+
muted?: string | null;
|
|
854
|
+
darkVibrant?: string | null;
|
|
855
|
+
darkMuted?: string | null;
|
|
856
|
+
lightVibrant?: string | null;
|
|
857
|
+
lightMuted?: string | null;
|
|
858
|
+
};
|
|
859
|
+
prefix?: string | null;
|
|
924
860
|
updatedAt: string;
|
|
925
861
|
createdAt: string;
|
|
862
|
+
url?: string | null;
|
|
863
|
+
thumbnailURL?: string | null;
|
|
864
|
+
filename?: string | null;
|
|
865
|
+
mimeType?: string | null;
|
|
866
|
+
filesize?: number | null;
|
|
867
|
+
width?: number | null;
|
|
868
|
+
height?: number | null;
|
|
869
|
+
focalX?: number | null;
|
|
870
|
+
focalY?: number | null;
|
|
871
|
+
sizes?: {
|
|
872
|
+
'16'?: {
|
|
873
|
+
url?: string | null;
|
|
874
|
+
width?: number | null;
|
|
875
|
+
height?: number | null;
|
|
876
|
+
mimeType?: string | null;
|
|
877
|
+
filesize?: number | null;
|
|
878
|
+
filename?: string | null;
|
|
879
|
+
};
|
|
880
|
+
'32'?: {
|
|
881
|
+
url?: string | null;
|
|
882
|
+
width?: number | null;
|
|
883
|
+
height?: number | null;
|
|
884
|
+
mimeType?: string | null;
|
|
885
|
+
filesize?: number | null;
|
|
886
|
+
filename?: string | null;
|
|
887
|
+
};
|
|
888
|
+
'64'?: {
|
|
889
|
+
url?: string | null;
|
|
890
|
+
width?: number | null;
|
|
891
|
+
height?: number | null;
|
|
892
|
+
mimeType?: string | null;
|
|
893
|
+
filesize?: number | null;
|
|
894
|
+
filename?: string | null;
|
|
895
|
+
};
|
|
896
|
+
'128'?: {
|
|
897
|
+
url?: string | null;
|
|
898
|
+
width?: number | null;
|
|
899
|
+
height?: number | null;
|
|
900
|
+
mimeType?: string | null;
|
|
901
|
+
filesize?: number | null;
|
|
902
|
+
filename?: string | null;
|
|
903
|
+
};
|
|
904
|
+
'180'?: {
|
|
905
|
+
url?: string | null;
|
|
906
|
+
width?: number | null;
|
|
907
|
+
height?: number | null;
|
|
908
|
+
mimeType?: string | null;
|
|
909
|
+
filesize?: number | null;
|
|
910
|
+
filename?: string | null;
|
|
911
|
+
};
|
|
912
|
+
'192'?: {
|
|
913
|
+
url?: string | null;
|
|
914
|
+
width?: number | null;
|
|
915
|
+
height?: number | null;
|
|
916
|
+
mimeType?: string | null;
|
|
917
|
+
filesize?: number | null;
|
|
918
|
+
filename?: string | null;
|
|
919
|
+
};
|
|
920
|
+
'512'?: {
|
|
921
|
+
url?: string | null;
|
|
922
|
+
width?: number | null;
|
|
923
|
+
height?: number | null;
|
|
924
|
+
mimeType?: string | null;
|
|
925
|
+
filesize?: number | null;
|
|
926
|
+
filename?: string | null;
|
|
927
|
+
};
|
|
928
|
+
};
|
|
926
929
|
}
|
|
927
930
|
/**
|
|
928
931
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
929
932
|
* via the `definition` "products".
|
|
930
933
|
*/
|
|
931
934
|
interface Product {
|
|
932
|
-
id:
|
|
935
|
+
id: string;
|
|
933
936
|
_order?: string | null;
|
|
934
|
-
tenant?: (
|
|
937
|
+
tenant?: (string | null) | Tenant;
|
|
935
938
|
title: string;
|
|
936
939
|
subtitle?: string | null;
|
|
937
|
-
thumbnail?: (
|
|
938
|
-
images?: (
|
|
940
|
+
thumbnail?: (string | null) | ProductImage;
|
|
941
|
+
images?: (string | ProductImage)[] | null;
|
|
939
942
|
description?: {
|
|
940
943
|
root: {
|
|
941
944
|
type: string;
|
|
@@ -957,12 +960,12 @@ interface Product {
|
|
|
957
960
|
*/
|
|
958
961
|
compareAtPrice?: number | null;
|
|
959
962
|
variants?: {
|
|
960
|
-
docs?: (
|
|
963
|
+
docs?: (string | ProductVariant)[];
|
|
961
964
|
hasNextPage?: boolean;
|
|
962
965
|
totalDocs?: number;
|
|
963
966
|
};
|
|
964
967
|
options?: {
|
|
965
|
-
docs?: (
|
|
968
|
+
docs?: (string | ProductOption)[];
|
|
966
969
|
hasNextPage?: boolean;
|
|
967
970
|
totalDocs?: number;
|
|
968
971
|
};
|
|
@@ -978,7 +981,7 @@ interface Product {
|
|
|
978
981
|
/**
|
|
979
982
|
* SNS 공유 시 표시되는 이미지입니다. 1200x630px 권장.
|
|
980
983
|
*/
|
|
981
|
-
image?: (
|
|
984
|
+
image?: (string | null) | Media;
|
|
982
985
|
};
|
|
983
986
|
/**
|
|
984
987
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
@@ -991,15 +994,15 @@ interface Product {
|
|
|
991
994
|
sku?: string | null;
|
|
992
995
|
status?: ('draft' | 'published' | 'archived') | null;
|
|
993
996
|
isSoldOut?: boolean | null;
|
|
994
|
-
categories?: (
|
|
995
|
-
tags?: (
|
|
997
|
+
categories?: (string | ProductCategory)[] | null;
|
|
998
|
+
tags?: (string | ProductTag)[] | null;
|
|
996
999
|
collections?: {
|
|
997
|
-
docs?: (
|
|
1000
|
+
docs?: (string | ProductCollection)[];
|
|
998
1001
|
hasNextPage?: boolean;
|
|
999
1002
|
totalDocs?: number;
|
|
1000
1003
|
};
|
|
1001
|
-
brand?: (
|
|
1002
|
-
shippingPolicy?: (
|
|
1004
|
+
brand?: (string | null) | Brand;
|
|
1005
|
+
shippingPolicy?: (string | null) | ShippingPolicy;
|
|
1003
1006
|
metadata?: {
|
|
1004
1007
|
[k: string]: unknown;
|
|
1005
1008
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -1011,8 +1014,8 @@ interface Product {
|
|
|
1011
1014
|
* via the `definition` "product-images".
|
|
1012
1015
|
*/
|
|
1013
1016
|
interface ProductImage {
|
|
1014
|
-
id:
|
|
1015
|
-
tenant?: (
|
|
1017
|
+
id: string;
|
|
1018
|
+
tenant?: (string | null) | Tenant;
|
|
1016
1019
|
alt?: string | null;
|
|
1017
1020
|
lqip?: string | null;
|
|
1018
1021
|
palette?: {
|
|
@@ -1067,11 +1070,11 @@ interface ProductImage {
|
|
|
1067
1070
|
* via the `definition` "product-variants".
|
|
1068
1071
|
*/
|
|
1069
1072
|
interface ProductVariant {
|
|
1070
|
-
id:
|
|
1073
|
+
id: string;
|
|
1071
1074
|
_order?: string | null;
|
|
1072
1075
|
'_product-variants_variants_order'?: string | null;
|
|
1073
|
-
tenant?: (
|
|
1074
|
-
product:
|
|
1076
|
+
tenant?: (string | null) | Tenant;
|
|
1077
|
+
product: string | Product;
|
|
1075
1078
|
title: string;
|
|
1076
1079
|
/**
|
|
1077
1080
|
* Variant-specific SKU
|
|
@@ -1090,12 +1093,12 @@ interface ProductVariant {
|
|
|
1090
1093
|
*/
|
|
1091
1094
|
weight?: number | null;
|
|
1092
1095
|
isSoldOut?: boolean | null;
|
|
1093
|
-
images?: (
|
|
1096
|
+
images?: (string | ProductImage)[] | null;
|
|
1094
1097
|
metadata?: {
|
|
1095
1098
|
[k: string]: unknown;
|
|
1096
1099
|
} | unknown[] | string | number | boolean | null;
|
|
1097
1100
|
productOptions?: {
|
|
1098
|
-
docs?: (
|
|
1101
|
+
docs?: (string | ProductOption)[];
|
|
1099
1102
|
hasNextPage?: boolean;
|
|
1100
1103
|
totalDocs?: number;
|
|
1101
1104
|
};
|
|
@@ -1107,13 +1110,13 @@ interface ProductVariant {
|
|
|
1107
1110
|
* via the `definition` "product-options".
|
|
1108
1111
|
*/
|
|
1109
1112
|
interface ProductOption {
|
|
1110
|
-
id:
|
|
1113
|
+
id: string;
|
|
1111
1114
|
_order?: string | null;
|
|
1112
1115
|
'_product-options_productOptions_order'?: string | null;
|
|
1113
1116
|
'_product-options_options_order'?: string | null;
|
|
1114
|
-
tenant?: (
|
|
1115
|
-
product:
|
|
1116
|
-
variant?: (
|
|
1117
|
+
tenant?: (string | null) | Tenant;
|
|
1118
|
+
product: string | Product;
|
|
1119
|
+
variant?: (string | null) | ProductVariant;
|
|
1117
1120
|
title?: string | null;
|
|
1118
1121
|
/**
|
|
1119
1122
|
* Option-specific SKU
|
|
@@ -1139,9 +1142,9 @@ interface ProductOption {
|
|
|
1139
1142
|
* via the `definition` "product-categories".
|
|
1140
1143
|
*/
|
|
1141
1144
|
interface ProductCategory {
|
|
1142
|
-
id:
|
|
1145
|
+
id: string;
|
|
1143
1146
|
_order?: string | null;
|
|
1144
|
-
tenant?: (
|
|
1147
|
+
tenant?: (string | null) | Tenant;
|
|
1145
1148
|
title: string;
|
|
1146
1149
|
/**
|
|
1147
1150
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
@@ -1149,8 +1152,8 @@ interface ProductCategory {
|
|
|
1149
1152
|
generateSlug?: boolean | null;
|
|
1150
1153
|
slug?: string | null;
|
|
1151
1154
|
description?: string | null;
|
|
1152
|
-
image?: (
|
|
1153
|
-
parent?: (
|
|
1155
|
+
image?: (string | null) | ProductImage;
|
|
1156
|
+
parent?: (string | null) | ProductCategory;
|
|
1154
1157
|
color?: string | null;
|
|
1155
1158
|
updatedAt: string;
|
|
1156
1159
|
createdAt: string;
|
|
@@ -1160,9 +1163,9 @@ interface ProductCategory {
|
|
|
1160
1163
|
* via the `definition` "product-tags".
|
|
1161
1164
|
*/
|
|
1162
1165
|
interface ProductTag {
|
|
1163
|
-
id:
|
|
1166
|
+
id: string;
|
|
1164
1167
|
_order?: string | null;
|
|
1165
|
-
tenant?: (
|
|
1168
|
+
tenant?: (string | null) | Tenant;
|
|
1166
1169
|
title: string;
|
|
1167
1170
|
/**
|
|
1168
1171
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
@@ -1170,8 +1173,8 @@ interface ProductTag {
|
|
|
1170
1173
|
generateSlug?: boolean | null;
|
|
1171
1174
|
slug?: string | null;
|
|
1172
1175
|
description?: string | null;
|
|
1173
|
-
image?: (
|
|
1174
|
-
parent?: (
|
|
1176
|
+
image?: (string | null) | ProductImage;
|
|
1177
|
+
parent?: (string | null) | ProductTag;
|
|
1175
1178
|
color?: string | null;
|
|
1176
1179
|
updatedAt: string;
|
|
1177
1180
|
createdAt: string;
|
|
@@ -1181,12 +1184,12 @@ interface ProductTag {
|
|
|
1181
1184
|
* via the `definition` "product-collections".
|
|
1182
1185
|
*/
|
|
1183
1186
|
interface ProductCollection {
|
|
1184
|
-
id:
|
|
1187
|
+
id: string;
|
|
1185
1188
|
_order?: string | null;
|
|
1186
|
-
tenant?: (
|
|
1189
|
+
tenant?: (string | null) | Tenant;
|
|
1187
1190
|
title: string;
|
|
1188
|
-
thumbnail?: (
|
|
1189
|
-
images?: (
|
|
1191
|
+
thumbnail?: (string | null) | ProductImage;
|
|
1192
|
+
images?: (string | ProductImage)[] | null;
|
|
1190
1193
|
description?: {
|
|
1191
1194
|
root: {
|
|
1192
1195
|
type: string;
|
|
@@ -1202,7 +1205,7 @@ interface ProductCollection {
|
|
|
1202
1205
|
};
|
|
1203
1206
|
[k: string]: unknown;
|
|
1204
1207
|
} | null;
|
|
1205
|
-
products?: (
|
|
1208
|
+
products?: (string | Product)[] | null;
|
|
1206
1209
|
/**
|
|
1207
1210
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1208
1211
|
*/
|
|
@@ -1221,9 +1224,9 @@ interface ProductCollection {
|
|
|
1221
1224
|
* via the `definition` "brands".
|
|
1222
1225
|
*/
|
|
1223
1226
|
interface Brand {
|
|
1224
|
-
id:
|
|
1227
|
+
id: string;
|
|
1225
1228
|
_order?: string | null;
|
|
1226
|
-
tenant?: (
|
|
1229
|
+
tenant?: (string | null) | Tenant;
|
|
1227
1230
|
name: string;
|
|
1228
1231
|
/**
|
|
1229
1232
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
@@ -1233,15 +1236,15 @@ interface Brand {
|
|
|
1233
1236
|
/**
|
|
1234
1237
|
* Primary brand logo
|
|
1235
1238
|
*/
|
|
1236
|
-
logo?: (
|
|
1239
|
+
logo?: (string | null) | BrandLogo;
|
|
1237
1240
|
/**
|
|
1238
1241
|
* Logo for dark mode (optional)
|
|
1239
1242
|
*/
|
|
1240
|
-
logoDark?: (
|
|
1243
|
+
logoDark?: (string | null) | BrandLogo;
|
|
1241
1244
|
/**
|
|
1242
1245
|
* Logo mark / Icon (optional)
|
|
1243
1246
|
*/
|
|
1244
|
-
logomark?: (
|
|
1247
|
+
logomark?: (string | null) | BrandLogo;
|
|
1245
1248
|
description?: string | null;
|
|
1246
1249
|
/**
|
|
1247
1250
|
* Brand official website URL
|
|
@@ -1258,9 +1261,9 @@ interface Brand {
|
|
|
1258
1261
|
* via the `definition` "shipping-policies".
|
|
1259
1262
|
*/
|
|
1260
1263
|
interface ShippingPolicy {
|
|
1261
|
-
id:
|
|
1264
|
+
id: string;
|
|
1262
1265
|
_order?: string | null;
|
|
1263
|
-
tenant?: (
|
|
1266
|
+
tenant?: (string | null) | Tenant;
|
|
1264
1267
|
/**
|
|
1265
1268
|
* e.g. 기본 배송비, 대형 상품
|
|
1266
1269
|
*/
|
|
@@ -1298,11 +1301,11 @@ interface ShippingPolicy {
|
|
|
1298
1301
|
* via the `definition` "orders".
|
|
1299
1302
|
*/
|
|
1300
1303
|
interface Order {
|
|
1301
|
-
id:
|
|
1302
|
-
tenant?: (
|
|
1304
|
+
id: string;
|
|
1305
|
+
tenant?: (string | null) | Tenant;
|
|
1303
1306
|
orderNumber: string;
|
|
1304
1307
|
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
1305
|
-
customer?: (
|
|
1308
|
+
customer?: (string | null) | Customer;
|
|
1306
1309
|
/**
|
|
1307
1310
|
* Customer info at the time of order
|
|
1308
1311
|
*/
|
|
@@ -1330,27 +1333,27 @@ interface Order {
|
|
|
1330
1333
|
deliveryMessage?: string | null;
|
|
1331
1334
|
};
|
|
1332
1335
|
products?: {
|
|
1333
|
-
docs?: (
|
|
1336
|
+
docs?: (string | OrderProduct)[];
|
|
1334
1337
|
hasNextPage?: boolean;
|
|
1335
1338
|
totalDocs?: number;
|
|
1336
1339
|
};
|
|
1337
1340
|
transactions?: {
|
|
1338
|
-
docs?: (
|
|
1341
|
+
docs?: (string | Transaction)[];
|
|
1339
1342
|
hasNextPage?: boolean;
|
|
1340
1343
|
totalDocs?: number;
|
|
1341
1344
|
};
|
|
1342
1345
|
returns?: {
|
|
1343
|
-
docs?: (
|
|
1346
|
+
docs?: (string | Return)[];
|
|
1344
1347
|
hasNextPage?: boolean;
|
|
1345
1348
|
totalDocs?: number;
|
|
1346
1349
|
};
|
|
1347
1350
|
exchanges?: {
|
|
1348
|
-
docs?: (
|
|
1351
|
+
docs?: (string | Exchange)[];
|
|
1349
1352
|
hasNextPage?: boolean;
|
|
1350
1353
|
totalDocs?: number;
|
|
1351
1354
|
};
|
|
1352
1355
|
fulfillments?: {
|
|
1353
|
-
docs?: (
|
|
1356
|
+
docs?: (string | Fulfillment)[];
|
|
1354
1357
|
hasNextPage?: boolean;
|
|
1355
1358
|
totalDocs?: number;
|
|
1356
1359
|
};
|
|
@@ -1362,8 +1365,8 @@ interface Order {
|
|
|
1362
1365
|
* via the `definition` "customers".
|
|
1363
1366
|
*/
|
|
1364
1367
|
interface Customer {
|
|
1365
|
-
id:
|
|
1366
|
-
tenant?: (
|
|
1368
|
+
id: string;
|
|
1369
|
+
tenant?: (string | null) | Tenant;
|
|
1367
1370
|
name: string;
|
|
1368
1371
|
email?: string | null;
|
|
1369
1372
|
phone?: string | null;
|
|
@@ -1396,14 +1399,14 @@ interface Customer {
|
|
|
1396
1399
|
metadata?: {
|
|
1397
1400
|
[k: string]: unknown;
|
|
1398
1401
|
} | unknown[] | string | number | boolean | null;
|
|
1399
|
-
groups?: (
|
|
1402
|
+
groups?: (string | CustomerGroup)[] | null;
|
|
1400
1403
|
orders?: {
|
|
1401
|
-
docs?: (
|
|
1404
|
+
docs?: (string | Order)[];
|
|
1402
1405
|
hasNextPage?: boolean;
|
|
1403
1406
|
totalDocs?: number;
|
|
1404
1407
|
};
|
|
1405
1408
|
addresses?: {
|
|
1406
|
-
docs?: (
|
|
1409
|
+
docs?: (string | CustomerAddress)[];
|
|
1407
1410
|
hasNextPage?: boolean;
|
|
1408
1411
|
totalDocs?: number;
|
|
1409
1412
|
};
|
|
@@ -1416,9 +1419,9 @@ interface Customer {
|
|
|
1416
1419
|
* via the `definition` "customer-groups".
|
|
1417
1420
|
*/
|
|
1418
1421
|
interface CustomerGroup {
|
|
1419
|
-
id:
|
|
1422
|
+
id: string;
|
|
1420
1423
|
_order?: string | null;
|
|
1421
|
-
tenant?: (
|
|
1424
|
+
tenant?: (string | null) | Tenant;
|
|
1422
1425
|
title: string;
|
|
1423
1426
|
/**
|
|
1424
1427
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
@@ -1427,12 +1430,12 @@ interface CustomerGroup {
|
|
|
1427
1430
|
slug?: string | null;
|
|
1428
1431
|
description?: string | null;
|
|
1429
1432
|
color?: string | null;
|
|
1430
|
-
image?: (
|
|
1433
|
+
image?: (string | null) | CustomerGroupImage;
|
|
1431
1434
|
metadata?: {
|
|
1432
1435
|
[k: string]: unknown;
|
|
1433
1436
|
} | unknown[] | string | number | boolean | null;
|
|
1434
1437
|
customers?: {
|
|
1435
|
-
docs?: (
|
|
1438
|
+
docs?: (string | Customer)[];
|
|
1436
1439
|
hasNextPage?: boolean;
|
|
1437
1440
|
totalDocs?: number;
|
|
1438
1441
|
};
|
|
@@ -1444,8 +1447,8 @@ interface CustomerGroup {
|
|
|
1444
1447
|
* via the `definition` "customer-group-images".
|
|
1445
1448
|
*/
|
|
1446
1449
|
interface CustomerGroupImage {
|
|
1447
|
-
id:
|
|
1448
|
-
tenant?: (
|
|
1450
|
+
id: string;
|
|
1451
|
+
tenant?: (string | null) | Tenant;
|
|
1449
1452
|
alt?: string | null;
|
|
1450
1453
|
lqip?: string | null;
|
|
1451
1454
|
palette?: {
|
|
@@ -1500,9 +1503,9 @@ interface CustomerGroupImage {
|
|
|
1500
1503
|
* via the `definition` "customer-addresses".
|
|
1501
1504
|
*/
|
|
1502
1505
|
interface CustomerAddress {
|
|
1503
|
-
id:
|
|
1504
|
-
tenant?: (
|
|
1505
|
-
customer:
|
|
1506
|
+
id: string;
|
|
1507
|
+
tenant?: (string | null) | Tenant;
|
|
1508
|
+
customer: string | Customer;
|
|
1506
1509
|
label?: string | null;
|
|
1507
1510
|
recipientName?: string | null;
|
|
1508
1511
|
phone?: string | null;
|
|
@@ -1522,12 +1525,12 @@ interface CustomerAddress {
|
|
|
1522
1525
|
* via the `definition` "order-products".
|
|
1523
1526
|
*/
|
|
1524
1527
|
interface OrderProduct {
|
|
1525
|
-
id:
|
|
1526
|
-
tenant?: (
|
|
1527
|
-
order:
|
|
1528
|
-
product:
|
|
1529
|
-
variant?: (
|
|
1530
|
-
option?: (
|
|
1528
|
+
id: string;
|
|
1529
|
+
tenant?: (string | null) | Tenant;
|
|
1530
|
+
order: string | Order;
|
|
1531
|
+
product: string | Product;
|
|
1532
|
+
variant?: (string | null) | ProductVariant;
|
|
1533
|
+
option?: (string | null) | ProductOption;
|
|
1531
1534
|
quantity: number;
|
|
1532
1535
|
/**
|
|
1533
1536
|
* Price per unit at time of order
|
|
@@ -1546,10 +1549,10 @@ interface OrderProduct {
|
|
|
1546
1549
|
* via the `definition` "transactions".
|
|
1547
1550
|
*/
|
|
1548
1551
|
interface Transaction {
|
|
1549
|
-
id:
|
|
1550
|
-
tenant?: (
|
|
1552
|
+
id: string;
|
|
1553
|
+
tenant?: (string | null) | Tenant;
|
|
1551
1554
|
status: 'pending' | 'paid' | 'failed' | 'canceled';
|
|
1552
|
-
order:
|
|
1555
|
+
order: string | Order;
|
|
1553
1556
|
paymentId?: string | null;
|
|
1554
1557
|
paymentMethod?: string | null;
|
|
1555
1558
|
receiptUrl?: string | null;
|
|
@@ -1562,9 +1565,9 @@ interface Transaction {
|
|
|
1562
1565
|
* via the `definition` "returns".
|
|
1563
1566
|
*/
|
|
1564
1567
|
interface Return {
|
|
1565
|
-
id:
|
|
1566
|
-
tenant?: (
|
|
1567
|
-
order:
|
|
1568
|
+
id: string;
|
|
1569
|
+
tenant?: (string | null) | Tenant;
|
|
1570
|
+
order: string | Order;
|
|
1568
1571
|
status: 'requested' | 'processing' | 'approved' | 'rejected' | 'completed';
|
|
1569
1572
|
reason?: ('change_of_mind' | 'defective' | 'wrong_delivery' | 'damaged' | 'other') | null;
|
|
1570
1573
|
/**
|
|
@@ -1572,7 +1575,7 @@ interface Return {
|
|
|
1572
1575
|
*/
|
|
1573
1576
|
reasonDetail?: string | null;
|
|
1574
1577
|
returnProducts?: {
|
|
1575
|
-
docs?: (
|
|
1578
|
+
docs?: (string | ReturnProduct)[];
|
|
1576
1579
|
hasNextPage?: boolean;
|
|
1577
1580
|
totalDocs?: number;
|
|
1578
1581
|
};
|
|
@@ -1585,15 +1588,15 @@ interface Return {
|
|
|
1585
1588
|
* via the `definition` "return-products".
|
|
1586
1589
|
*/
|
|
1587
1590
|
interface ReturnProduct {
|
|
1588
|
-
id:
|
|
1589
|
-
tenant?: (
|
|
1590
|
-
return:
|
|
1591
|
-
order:
|
|
1591
|
+
id: string;
|
|
1592
|
+
tenant?: (string | null) | Tenant;
|
|
1593
|
+
return: string | Return;
|
|
1594
|
+
order: string | Order;
|
|
1592
1595
|
status: 'requested' | 'processing' | 'approved' | 'rejected';
|
|
1593
|
-
orderProduct:
|
|
1594
|
-
product:
|
|
1595
|
-
variant:
|
|
1596
|
-
option:
|
|
1596
|
+
orderProduct: string | OrderProduct;
|
|
1597
|
+
product: string | Product;
|
|
1598
|
+
variant: string | ProductVariant;
|
|
1599
|
+
option: string | ProductOption;
|
|
1597
1600
|
quantity: number;
|
|
1598
1601
|
title?: string | null;
|
|
1599
1602
|
updatedAt: string;
|
|
@@ -1604,9 +1607,9 @@ interface ReturnProduct {
|
|
|
1604
1607
|
* via the `definition` "exchanges".
|
|
1605
1608
|
*/
|
|
1606
1609
|
interface Exchange {
|
|
1607
|
-
id:
|
|
1608
|
-
tenant?: (
|
|
1609
|
-
order:
|
|
1610
|
+
id: string;
|
|
1611
|
+
tenant?: (string | null) | Tenant;
|
|
1612
|
+
order: string | Order;
|
|
1610
1613
|
status: 'requested' | 'processing' | 'shipped' | 'completed' | 'rejected';
|
|
1611
1614
|
reason?: ('wrong_size' | 'wrong_color' | 'defective' | 'other') | null;
|
|
1612
1615
|
/**
|
|
@@ -1615,7 +1618,7 @@ interface Exchange {
|
|
|
1615
1618
|
reasonDetail?: string | null;
|
|
1616
1619
|
shippingFee?: number | null;
|
|
1617
1620
|
exchangeProducts?: {
|
|
1618
|
-
docs?: (
|
|
1621
|
+
docs?: (string | ExchangeProduct)[];
|
|
1619
1622
|
hasNextPage?: boolean;
|
|
1620
1623
|
totalDocs?: number;
|
|
1621
1624
|
};
|
|
@@ -1627,23 +1630,23 @@ interface Exchange {
|
|
|
1627
1630
|
* via the `definition` "exchange-products".
|
|
1628
1631
|
*/
|
|
1629
1632
|
interface ExchangeProduct {
|
|
1630
|
-
id:
|
|
1631
|
-
tenant?: (
|
|
1632
|
-
exchange:
|
|
1633
|
-
order:
|
|
1634
|
-
orderProduct:
|
|
1635
|
-
product:
|
|
1636
|
-
variant?: (
|
|
1637
|
-
option?: (
|
|
1633
|
+
id: string;
|
|
1634
|
+
tenant?: (string | null) | Tenant;
|
|
1635
|
+
exchange: string | Exchange;
|
|
1636
|
+
order: string | Order;
|
|
1637
|
+
orderProduct: string | OrderProduct;
|
|
1638
|
+
product: string | Product;
|
|
1639
|
+
variant?: (string | null) | ProductVariant;
|
|
1640
|
+
option?: (string | null) | ProductOption;
|
|
1638
1641
|
quantity: number;
|
|
1639
1642
|
/**
|
|
1640
1643
|
* New variant to exchange to
|
|
1641
1644
|
*/
|
|
1642
|
-
newVariant?: (
|
|
1645
|
+
newVariant?: (string | null) | ProductVariant;
|
|
1643
1646
|
/**
|
|
1644
1647
|
* New option to exchange to
|
|
1645
1648
|
*/
|
|
1646
|
-
newOption?: (
|
|
1649
|
+
newOption?: (string | null) | ProductOption;
|
|
1647
1650
|
title?: string | null;
|
|
1648
1651
|
updatedAt: string;
|
|
1649
1652
|
createdAt: string;
|
|
@@ -1653,9 +1656,9 @@ interface ExchangeProduct {
|
|
|
1653
1656
|
* via the `definition` "fulfillments".
|
|
1654
1657
|
*/
|
|
1655
1658
|
interface Fulfillment {
|
|
1656
|
-
id:
|
|
1657
|
-
tenant?: (
|
|
1658
|
-
order:
|
|
1659
|
+
id: string;
|
|
1660
|
+
tenant?: (string | null) | Tenant;
|
|
1661
|
+
order: string | Order;
|
|
1659
1662
|
status: 'pending' | 'packed' | 'shipped' | 'delivered' | 'failed';
|
|
1660
1663
|
/**
|
|
1661
1664
|
* Shipping carrier name (e.g. CJ Logistics, FedEx, UPS)
|
|
@@ -1665,7 +1668,7 @@ interface Fulfillment {
|
|
|
1665
1668
|
shippedAt?: string | null;
|
|
1666
1669
|
deliveredAt?: string | null;
|
|
1667
1670
|
items?: {
|
|
1668
|
-
docs?: (
|
|
1671
|
+
docs?: (string | FulfillmentItem)[];
|
|
1669
1672
|
hasNextPage?: boolean;
|
|
1670
1673
|
totalDocs?: number;
|
|
1671
1674
|
};
|
|
@@ -1680,10 +1683,10 @@ interface Fulfillment {
|
|
|
1680
1683
|
* via the `definition` "fulfillment-items".
|
|
1681
1684
|
*/
|
|
1682
1685
|
interface FulfillmentItem {
|
|
1683
|
-
id:
|
|
1684
|
-
tenant?: (
|
|
1685
|
-
fulfillment:
|
|
1686
|
-
orderProduct:
|
|
1686
|
+
id: string;
|
|
1687
|
+
tenant?: (string | null) | Tenant;
|
|
1688
|
+
fulfillment: string | Fulfillment;
|
|
1689
|
+
orderProduct: string | OrderProduct;
|
|
1687
1690
|
quantity: number;
|
|
1688
1691
|
updatedAt: string;
|
|
1689
1692
|
createdAt: string;
|
|
@@ -1693,9 +1696,9 @@ interface FulfillmentItem {
|
|
|
1693
1696
|
* via the `definition` "carts".
|
|
1694
1697
|
*/
|
|
1695
1698
|
interface Cart {
|
|
1696
|
-
id:
|
|
1697
|
-
tenant?: (
|
|
1698
|
-
customer?: (
|
|
1699
|
+
id: string;
|
|
1700
|
+
tenant?: (string | null) | Tenant;
|
|
1701
|
+
customer?: (string | null) | Customer;
|
|
1699
1702
|
status: 'active' | 'completed' | 'abandoned';
|
|
1700
1703
|
shippingAddress?: {
|
|
1701
1704
|
recipientName?: string | null;
|
|
@@ -1711,7 +1714,7 @@ interface Cart {
|
|
|
1711
1714
|
discountAmount?: number | null;
|
|
1712
1715
|
totalAmount?: number | null;
|
|
1713
1716
|
items?: {
|
|
1714
|
-
docs?: (
|
|
1717
|
+
docs?: (string | CartItem)[];
|
|
1715
1718
|
hasNextPage?: boolean;
|
|
1716
1719
|
totalDocs?: number;
|
|
1717
1720
|
};
|
|
@@ -1727,12 +1730,12 @@ interface Cart {
|
|
|
1727
1730
|
* via the `definition` "cart-items".
|
|
1728
1731
|
*/
|
|
1729
1732
|
interface CartItem {
|
|
1730
|
-
id:
|
|
1731
|
-
tenant?: (
|
|
1732
|
-
cart:
|
|
1733
|
-
product:
|
|
1734
|
-
variant?: (
|
|
1735
|
-
option?: (
|
|
1733
|
+
id: string;
|
|
1734
|
+
tenant?: (string | null) | Tenant;
|
|
1735
|
+
cart: string | Cart;
|
|
1736
|
+
product: string | Product;
|
|
1737
|
+
variant?: (string | null) | ProductVariant;
|
|
1738
|
+
option?: (string | null) | ProductOption;
|
|
1736
1739
|
quantity: number;
|
|
1737
1740
|
/**
|
|
1738
1741
|
* Price at the time of adding to cart
|
|
@@ -1749,8 +1752,8 @@ interface CartItem {
|
|
|
1749
1752
|
* via the `definition` "discounts".
|
|
1750
1753
|
*/
|
|
1751
1754
|
interface Discount {
|
|
1752
|
-
id:
|
|
1753
|
-
tenant?: (
|
|
1755
|
+
id: string;
|
|
1756
|
+
tenant?: (string | null) | Tenant;
|
|
1754
1757
|
/**
|
|
1755
1758
|
* Unique discount code
|
|
1756
1759
|
*/
|
|
@@ -1806,11 +1809,11 @@ interface Discount {
|
|
|
1806
1809
|
/**
|
|
1807
1810
|
* Leave empty to apply to all products
|
|
1808
1811
|
*/
|
|
1809
|
-
applicableProducts?: (
|
|
1812
|
+
applicableProducts?: (string | Product)[] | null;
|
|
1810
1813
|
/**
|
|
1811
1814
|
* Leave empty to apply to all categories
|
|
1812
1815
|
*/
|
|
1813
|
-
applicableCategories?: (
|
|
1816
|
+
applicableCategories?: (string | ProductCategory)[] | null;
|
|
1814
1817
|
metadata?: {
|
|
1815
1818
|
[k: string]: unknown;
|
|
1816
1819
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -1822,9 +1825,9 @@ interface Discount {
|
|
|
1822
1825
|
* via the `definition` "posts".
|
|
1823
1826
|
*/
|
|
1824
1827
|
interface Post {
|
|
1825
|
-
id:
|
|
1828
|
+
id: string;
|
|
1826
1829
|
_order?: string | null;
|
|
1827
|
-
tenant?: (
|
|
1830
|
+
tenant?: (string | null) | Tenant;
|
|
1828
1831
|
title: string;
|
|
1829
1832
|
subtitle?: string | null;
|
|
1830
1833
|
/**
|
|
@@ -1858,19 +1861,19 @@ interface Post {
|
|
|
1858
1861
|
/**
|
|
1859
1862
|
* SNS 공유 시 표시되는 이미지입니다. 1200x630px 권장.
|
|
1860
1863
|
*/
|
|
1861
|
-
image?: (
|
|
1864
|
+
image?: (string | null) | Media;
|
|
1862
1865
|
};
|
|
1863
|
-
thumbnail?: (
|
|
1864
|
-
images?: (
|
|
1866
|
+
thumbnail?: (string | null) | PostImage;
|
|
1867
|
+
images?: (string | PostImage)[] | null;
|
|
1865
1868
|
/**
|
|
1866
1869
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1867
1870
|
*/
|
|
1868
1871
|
generateSlug?: boolean | null;
|
|
1869
1872
|
slug?: string | null;
|
|
1870
|
-
author?: (
|
|
1873
|
+
author?: (string | null) | PostAuthor;
|
|
1871
1874
|
publishedAt?: string | null;
|
|
1872
|
-
categories?: (
|
|
1873
|
-
tags?: (
|
|
1875
|
+
categories?: (string | PostCategory)[] | null;
|
|
1876
|
+
tags?: (string | PostTag)[] | null;
|
|
1874
1877
|
metadata?: {
|
|
1875
1878
|
[k: string]: unknown;
|
|
1876
1879
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -1883,8 +1886,8 @@ interface Post {
|
|
|
1883
1886
|
* via the `definition` "post-images".
|
|
1884
1887
|
*/
|
|
1885
1888
|
interface PostImage {
|
|
1886
|
-
id:
|
|
1887
|
-
tenant?: (
|
|
1889
|
+
id: string;
|
|
1890
|
+
tenant?: (string | null) | Tenant;
|
|
1888
1891
|
alt?: string | null;
|
|
1889
1892
|
lqip?: string | null;
|
|
1890
1893
|
palette?: {
|
|
@@ -1936,22 +1939,22 @@ interface PostImage {
|
|
|
1936
1939
|
}
|
|
1937
1940
|
/**
|
|
1938
1941
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1939
|
-
* via the `definition` "authors".
|
|
1942
|
+
* via the `definition` "post-authors".
|
|
1940
1943
|
*/
|
|
1941
|
-
interface
|
|
1942
|
-
id:
|
|
1944
|
+
interface PostAuthor {
|
|
1945
|
+
id: string;
|
|
1943
1946
|
_order?: string | null;
|
|
1944
|
-
tenant?: (
|
|
1947
|
+
tenant?: (string | null) | Tenant;
|
|
1945
1948
|
name: string;
|
|
1946
1949
|
/**
|
|
1947
1950
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1948
1951
|
*/
|
|
1949
1952
|
generateSlug?: boolean | null;
|
|
1950
1953
|
slug?: string | null;
|
|
1951
|
-
avatar?: (
|
|
1954
|
+
avatar?: (string | null) | PostImage;
|
|
1952
1955
|
bio?: string | null;
|
|
1953
1956
|
posts?: {
|
|
1954
|
-
docs?: (
|
|
1957
|
+
docs?: (string | Post)[];
|
|
1955
1958
|
hasNextPage?: boolean;
|
|
1956
1959
|
totalDocs?: number;
|
|
1957
1960
|
};
|
|
@@ -1966,9 +1969,9 @@ interface Author {
|
|
|
1966
1969
|
* via the `definition` "post-categories".
|
|
1967
1970
|
*/
|
|
1968
1971
|
interface PostCategory {
|
|
1969
|
-
id:
|
|
1972
|
+
id: string;
|
|
1970
1973
|
_order?: string | null;
|
|
1971
|
-
tenant?: (
|
|
1974
|
+
tenant?: (string | null) | Tenant;
|
|
1972
1975
|
title: string;
|
|
1973
1976
|
/**
|
|
1974
1977
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
@@ -1976,8 +1979,8 @@ interface PostCategory {
|
|
|
1976
1979
|
generateSlug?: boolean | null;
|
|
1977
1980
|
slug?: string | null;
|
|
1978
1981
|
description?: string | null;
|
|
1979
|
-
image?: (
|
|
1980
|
-
parent?: (
|
|
1982
|
+
image?: (string | null) | PostImage;
|
|
1983
|
+
parent?: (string | null) | PostCategory;
|
|
1981
1984
|
color?: string | null;
|
|
1982
1985
|
updatedAt: string;
|
|
1983
1986
|
createdAt: string;
|
|
@@ -1987,9 +1990,9 @@ interface PostCategory {
|
|
|
1987
1990
|
* via the `definition` "post-tags".
|
|
1988
1991
|
*/
|
|
1989
1992
|
interface PostTag {
|
|
1990
|
-
id:
|
|
1993
|
+
id: string;
|
|
1991
1994
|
_order?: string | null;
|
|
1992
|
-
tenant?: (
|
|
1995
|
+
tenant?: (string | null) | Tenant;
|
|
1993
1996
|
title: string;
|
|
1994
1997
|
/**
|
|
1995
1998
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
@@ -1997,8 +2000,8 @@ interface PostTag {
|
|
|
1997
2000
|
generateSlug?: boolean | null;
|
|
1998
2001
|
slug?: string | null;
|
|
1999
2002
|
description?: string | null;
|
|
2000
|
-
image?: (
|
|
2001
|
-
parent?: (
|
|
2003
|
+
image?: (string | null) | PostImage;
|
|
2004
|
+
parent?: (string | null) | PostTag;
|
|
2002
2005
|
color?: string | null;
|
|
2003
2006
|
updatedAt: string;
|
|
2004
2007
|
createdAt: string;
|
|
@@ -2008,9 +2011,9 @@ interface PostTag {
|
|
|
2008
2011
|
* via the `definition` "documents".
|
|
2009
2012
|
*/
|
|
2010
2013
|
interface Document {
|
|
2011
|
-
id:
|
|
2014
|
+
id: string;
|
|
2012
2015
|
_order?: string | null;
|
|
2013
|
-
tenant?: (
|
|
2016
|
+
tenant?: (string | null) | Tenant;
|
|
2014
2017
|
title: string;
|
|
2015
2018
|
summary?: string | null;
|
|
2016
2019
|
content: {
|
|
@@ -2051,14 +2054,14 @@ interface Document {
|
|
|
2051
2054
|
/**
|
|
2052
2055
|
* SNS 공유 시 표시되는 이미지입니다. 1200x630px 권장.
|
|
2053
2056
|
*/
|
|
2054
|
-
image?: (
|
|
2057
|
+
image?: (string | null) | Media;
|
|
2055
2058
|
};
|
|
2056
2059
|
/**
|
|
2057
2060
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2058
2061
|
*/
|
|
2059
2062
|
generateSlug?: boolean | null;
|
|
2060
2063
|
slug?: string | null;
|
|
2061
|
-
type?: (
|
|
2064
|
+
type?: (string | null) | DocumentType;
|
|
2062
2065
|
/**
|
|
2063
2066
|
* Document version (e.g. 1.0, 1.1, 2.0)
|
|
2064
2067
|
*/
|
|
@@ -2071,7 +2074,7 @@ interface Document {
|
|
|
2071
2074
|
* Expiry date (optional)
|
|
2072
2075
|
*/
|
|
2073
2076
|
expiryDate?: string | null;
|
|
2074
|
-
category?: (
|
|
2077
|
+
category?: (string | null) | DocumentCategory;
|
|
2075
2078
|
/**
|
|
2076
2079
|
* Document that requires user agreement
|
|
2077
2080
|
*/
|
|
@@ -2088,9 +2091,9 @@ interface Document {
|
|
|
2088
2091
|
* via the `definition` "document-types".
|
|
2089
2092
|
*/
|
|
2090
2093
|
interface DocumentType {
|
|
2091
|
-
id:
|
|
2094
|
+
id: string;
|
|
2092
2095
|
_order?: string | null;
|
|
2093
|
-
tenant?: (
|
|
2096
|
+
tenant?: (string | null) | Tenant;
|
|
2094
2097
|
title: string;
|
|
2095
2098
|
/**
|
|
2096
2099
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
@@ -2098,7 +2101,7 @@ interface DocumentType {
|
|
|
2098
2101
|
generateSlug?: boolean | null;
|
|
2099
2102
|
slug?: string | null;
|
|
2100
2103
|
description?: string | null;
|
|
2101
|
-
image?: (
|
|
2104
|
+
image?: (string | null) | DocumentImage;
|
|
2102
2105
|
color?: string | null;
|
|
2103
2106
|
updatedAt: string;
|
|
2104
2107
|
createdAt: string;
|
|
@@ -2108,8 +2111,8 @@ interface DocumentType {
|
|
|
2108
2111
|
* via the `definition` "document-images".
|
|
2109
2112
|
*/
|
|
2110
2113
|
interface DocumentImage {
|
|
2111
|
-
id:
|
|
2112
|
-
tenant?: (
|
|
2114
|
+
id: string;
|
|
2115
|
+
tenant?: (string | null) | Tenant;
|
|
2113
2116
|
alt?: string | null;
|
|
2114
2117
|
lqip?: string | null;
|
|
2115
2118
|
palette?: {
|
|
@@ -2164,9 +2167,9 @@ interface DocumentImage {
|
|
|
2164
2167
|
* via the `definition` "document-categories".
|
|
2165
2168
|
*/
|
|
2166
2169
|
interface DocumentCategory {
|
|
2167
|
-
id:
|
|
2170
|
+
id: string;
|
|
2168
2171
|
_order?: string | null;
|
|
2169
|
-
tenant?: (
|
|
2172
|
+
tenant?: (string | null) | Tenant;
|
|
2170
2173
|
title: string;
|
|
2171
2174
|
/**
|
|
2172
2175
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
@@ -2174,8 +2177,8 @@ interface DocumentCategory {
|
|
|
2174
2177
|
generateSlug?: boolean | null;
|
|
2175
2178
|
slug?: string | null;
|
|
2176
2179
|
description?: string | null;
|
|
2177
|
-
image?: (
|
|
2178
|
-
parent?: (
|
|
2180
|
+
image?: (string | null) | DocumentImage;
|
|
2181
|
+
parent?: (string | null) | DocumentCategory;
|
|
2179
2182
|
color?: string | null;
|
|
2180
2183
|
updatedAt: string;
|
|
2181
2184
|
createdAt: string;
|
|
@@ -2185,12 +2188,12 @@ interface DocumentCategory {
|
|
|
2185
2188
|
* via the `definition` "playlists".
|
|
2186
2189
|
*/
|
|
2187
2190
|
interface Playlist {
|
|
2188
|
-
id:
|
|
2189
|
-
tenant?: (
|
|
2191
|
+
id: string;
|
|
2192
|
+
tenant?: (string | null) | Tenant;
|
|
2190
2193
|
title: string;
|
|
2191
2194
|
description?: string | null;
|
|
2192
2195
|
musics?: {
|
|
2193
|
-
docs?: (
|
|
2196
|
+
docs?: (string | Music)[];
|
|
2194
2197
|
hasNextPage?: boolean;
|
|
2195
2198
|
totalDocs?: number;
|
|
2196
2199
|
};
|
|
@@ -2206,9 +2209,9 @@ interface Playlist {
|
|
|
2206
2209
|
/**
|
|
2207
2210
|
* SNS 공유 시 표시되는 이미지입니다. 1200x630px 권장.
|
|
2208
2211
|
*/
|
|
2209
|
-
image?: (
|
|
2212
|
+
image?: (string | null) | Media;
|
|
2210
2213
|
};
|
|
2211
|
-
image?: (
|
|
2214
|
+
image?: (string | null) | PlaylistImage;
|
|
2212
2215
|
/**
|
|
2213
2216
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2214
2217
|
*/
|
|
@@ -2225,10 +2228,10 @@ interface Playlist {
|
|
|
2225
2228
|
* via the `definition` "musics".
|
|
2226
2229
|
*/
|
|
2227
2230
|
interface Music {
|
|
2228
|
-
id:
|
|
2231
|
+
id: string;
|
|
2229
2232
|
_musics_musics_order?: string | null;
|
|
2230
|
-
tenant?: (
|
|
2231
|
-
playlist:
|
|
2233
|
+
tenant?: (string | null) | Tenant;
|
|
2234
|
+
playlist: string | Playlist;
|
|
2232
2235
|
url: string;
|
|
2233
2236
|
/**
|
|
2234
2237
|
* Auto-filled from YouTube
|
|
@@ -2254,8 +2257,8 @@ interface Music {
|
|
|
2254
2257
|
* via the `definition` "playlist-images".
|
|
2255
2258
|
*/
|
|
2256
2259
|
interface PlaylistImage {
|
|
2257
|
-
id:
|
|
2258
|
-
tenant?: (
|
|
2260
|
+
id: string;
|
|
2261
|
+
tenant?: (string | null) | Tenant;
|
|
2259
2262
|
alt?: string | null;
|
|
2260
2263
|
lqip?: string | null;
|
|
2261
2264
|
palette?: {
|
|
@@ -2310,8 +2313,8 @@ interface PlaylistImage {
|
|
|
2310
2313
|
* via the `definition` "forms".
|
|
2311
2314
|
*/
|
|
2312
2315
|
interface Form {
|
|
2313
|
-
id:
|
|
2314
|
-
tenant?: (
|
|
2316
|
+
id: string;
|
|
2317
|
+
tenant?: (string | null) | Tenant;
|
|
2315
2318
|
title: string;
|
|
2316
2319
|
description?: string | null;
|
|
2317
2320
|
status: 'active' | 'inactive';
|
|
@@ -2477,9 +2480,9 @@ interface Form {
|
|
|
2477
2480
|
* via the `definition` "form-submissions".
|
|
2478
2481
|
*/
|
|
2479
2482
|
interface FormSubmission {
|
|
2480
|
-
id:
|
|
2481
|
-
tenant?: (
|
|
2482
|
-
form:
|
|
2483
|
+
id: string;
|
|
2484
|
+
tenant?: (string | null) | Tenant;
|
|
2485
|
+
form: string | Form;
|
|
2483
2486
|
submissionData?: {
|
|
2484
2487
|
field: string;
|
|
2485
2488
|
value: string;
|
|
@@ -2493,7 +2496,7 @@ interface FormSubmission {
|
|
|
2493
2496
|
* via the `definition` "payload-kv".
|
|
2494
2497
|
*/
|
|
2495
2498
|
interface PayloadKv {
|
|
2496
|
-
id:
|
|
2499
|
+
id: string;
|
|
2497
2500
|
key: string;
|
|
2498
2501
|
data: {
|
|
2499
2502
|
[k: string]: unknown;
|
|
@@ -2504,168 +2507,168 @@ interface PayloadKv {
|
|
|
2504
2507
|
* via the `definition` "payload-locked-documents".
|
|
2505
2508
|
*/
|
|
2506
2509
|
interface PayloadLockedDocument {
|
|
2507
|
-
id:
|
|
2510
|
+
id: string;
|
|
2508
2511
|
document?: ({
|
|
2509
2512
|
relationTo: 'users';
|
|
2510
|
-
value:
|
|
2513
|
+
value: string | User;
|
|
2511
2514
|
} | null) | ({
|
|
2512
2515
|
relationTo: 'media';
|
|
2513
|
-
value:
|
|
2516
|
+
value: string | Media;
|
|
2514
2517
|
} | null) | ({
|
|
2515
2518
|
relationTo: 'audiences';
|
|
2516
|
-
value:
|
|
2519
|
+
value: string | Audience;
|
|
2517
2520
|
} | null) | ({
|
|
2518
2521
|
relationTo: 'email-logs';
|
|
2519
|
-
value:
|
|
2522
|
+
value: string | EmailLog;
|
|
2520
2523
|
} | null) | ({
|
|
2521
2524
|
relationTo: 'tenants';
|
|
2522
|
-
value:
|
|
2525
|
+
value: string | Tenant;
|
|
2523
2526
|
} | null) | ({
|
|
2524
2527
|
relationTo: 'tenant-metadata';
|
|
2525
|
-
value:
|
|
2526
|
-
} | null) | ({
|
|
2527
|
-
relationTo: 'tenant-logos';
|
|
2528
|
-
value: number | TenantLogo;
|
|
2529
|
-
} | null) | ({
|
|
2530
|
-
relationTo: 'tenant-og-images';
|
|
2531
|
-
value: number | TenantOgImage;
|
|
2528
|
+
value: string | TenantMetadatum;
|
|
2532
2529
|
} | null) | ({
|
|
2533
2530
|
relationTo: 'api-usage';
|
|
2534
|
-
value:
|
|
2531
|
+
value: string | ApiUsage;
|
|
2535
2532
|
} | null) | ({
|
|
2536
2533
|
relationTo: 'subscriptions';
|
|
2537
|
-
value:
|
|
2534
|
+
value: string | Subscription;
|
|
2538
2535
|
} | null) | ({
|
|
2539
2536
|
relationTo: 'billing-history';
|
|
2540
|
-
value:
|
|
2537
|
+
value: string | BillingHistory;
|
|
2538
|
+
} | null) | ({
|
|
2539
|
+
relationTo: 'tenant-logos';
|
|
2540
|
+
value: string | TenantLogo;
|
|
2541
|
+
} | null) | ({
|
|
2542
|
+
relationTo: 'tenant-og-images';
|
|
2543
|
+
value: string | TenantOgImage;
|
|
2541
2544
|
} | null) | ({
|
|
2542
2545
|
relationTo: 'products';
|
|
2543
|
-
value:
|
|
2546
|
+
value: string | Product;
|
|
2544
2547
|
} | null) | ({
|
|
2545
2548
|
relationTo: 'product-variants';
|
|
2546
|
-
value:
|
|
2549
|
+
value: string | ProductVariant;
|
|
2547
2550
|
} | null) | ({
|
|
2548
2551
|
relationTo: 'product-options';
|
|
2549
|
-
value:
|
|
2552
|
+
value: string | ProductOption;
|
|
2550
2553
|
} | null) | ({
|
|
2551
2554
|
relationTo: 'product-categories';
|
|
2552
|
-
value:
|
|
2555
|
+
value: string | ProductCategory;
|
|
2553
2556
|
} | null) | ({
|
|
2554
2557
|
relationTo: 'product-tags';
|
|
2555
|
-
value:
|
|
2556
|
-
} | null) | ({
|
|
2557
|
-
relationTo: 'product-images';
|
|
2558
|
-
value: number | ProductImage;
|
|
2558
|
+
value: string | ProductTag;
|
|
2559
2559
|
} | null) | ({
|
|
2560
2560
|
relationTo: 'product-collections';
|
|
2561
|
-
value:
|
|
2561
|
+
value: string | ProductCollection;
|
|
2562
2562
|
} | null) | ({
|
|
2563
2563
|
relationTo: 'brands';
|
|
2564
|
-
value:
|
|
2564
|
+
value: string | Brand;
|
|
2565
2565
|
} | null) | ({
|
|
2566
2566
|
relationTo: 'brand-logos';
|
|
2567
|
-
value:
|
|
2567
|
+
value: string | BrandLogo;
|
|
2568
|
+
} | null) | ({
|
|
2569
|
+
relationTo: 'product-images';
|
|
2570
|
+
value: string | ProductImage;
|
|
2568
2571
|
} | null) | ({
|
|
2569
2572
|
relationTo: 'orders';
|
|
2570
|
-
value:
|
|
2573
|
+
value: string | Order;
|
|
2571
2574
|
} | null) | ({
|
|
2572
2575
|
relationTo: 'order-products';
|
|
2573
|
-
value:
|
|
2576
|
+
value: string | OrderProduct;
|
|
2574
2577
|
} | null) | ({
|
|
2575
2578
|
relationTo: 'returns';
|
|
2576
|
-
value:
|
|
2579
|
+
value: string | Return;
|
|
2577
2580
|
} | null) | ({
|
|
2578
2581
|
relationTo: 'return-products';
|
|
2579
|
-
value:
|
|
2582
|
+
value: string | ReturnProduct;
|
|
2580
2583
|
} | null) | ({
|
|
2581
2584
|
relationTo: 'exchanges';
|
|
2582
|
-
value:
|
|
2585
|
+
value: string | Exchange;
|
|
2583
2586
|
} | null) | ({
|
|
2584
2587
|
relationTo: 'exchange-products';
|
|
2585
|
-
value:
|
|
2588
|
+
value: string | ExchangeProduct;
|
|
2586
2589
|
} | null) | ({
|
|
2587
2590
|
relationTo: 'fulfillments';
|
|
2588
|
-
value:
|
|
2591
|
+
value: string | Fulfillment;
|
|
2589
2592
|
} | null) | ({
|
|
2590
2593
|
relationTo: 'fulfillment-items';
|
|
2591
|
-
value:
|
|
2594
|
+
value: string | FulfillmentItem;
|
|
2592
2595
|
} | null) | ({
|
|
2593
2596
|
relationTo: 'transactions';
|
|
2594
|
-
value:
|
|
2597
|
+
value: string | Transaction;
|
|
2595
2598
|
} | null) | ({
|
|
2596
2599
|
relationTo: 'customers';
|
|
2597
|
-
value:
|
|
2600
|
+
value: string | Customer;
|
|
2598
2601
|
} | null) | ({
|
|
2599
2602
|
relationTo: 'customer-addresses';
|
|
2600
|
-
value:
|
|
2603
|
+
value: string | CustomerAddress;
|
|
2601
2604
|
} | null) | ({
|
|
2602
2605
|
relationTo: 'customer-groups';
|
|
2603
|
-
value:
|
|
2606
|
+
value: string | CustomerGroup;
|
|
2604
2607
|
} | null) | ({
|
|
2605
2608
|
relationTo: 'customer-group-images';
|
|
2606
|
-
value:
|
|
2609
|
+
value: string | CustomerGroupImage;
|
|
2607
2610
|
} | null) | ({
|
|
2608
2611
|
relationTo: 'carts';
|
|
2609
|
-
value:
|
|
2612
|
+
value: string | Cart;
|
|
2610
2613
|
} | null) | ({
|
|
2611
2614
|
relationTo: 'cart-items';
|
|
2612
|
-
value:
|
|
2615
|
+
value: string | CartItem;
|
|
2613
2616
|
} | null) | ({
|
|
2614
2617
|
relationTo: 'discounts';
|
|
2615
|
-
value:
|
|
2618
|
+
value: string | Discount;
|
|
2616
2619
|
} | null) | ({
|
|
2617
2620
|
relationTo: 'shipping-policies';
|
|
2618
|
-
value:
|
|
2621
|
+
value: string | ShippingPolicy;
|
|
2619
2622
|
} | null) | ({
|
|
2620
2623
|
relationTo: 'posts';
|
|
2621
|
-
value:
|
|
2624
|
+
value: string | Post;
|
|
2625
|
+
} | null) | ({
|
|
2626
|
+
relationTo: 'post-authors';
|
|
2627
|
+
value: string | PostAuthor;
|
|
2622
2628
|
} | null) | ({
|
|
2623
2629
|
relationTo: 'post-categories';
|
|
2624
|
-
value:
|
|
2630
|
+
value: string | PostCategory;
|
|
2625
2631
|
} | null) | ({
|
|
2626
2632
|
relationTo: 'post-tags';
|
|
2627
|
-
value:
|
|
2633
|
+
value: string | PostTag;
|
|
2628
2634
|
} | null) | ({
|
|
2629
2635
|
relationTo: 'post-images';
|
|
2630
|
-
value:
|
|
2631
|
-
} | null) | ({
|
|
2632
|
-
relationTo: 'authors';
|
|
2633
|
-
value: number | Author;
|
|
2636
|
+
value: string | PostImage;
|
|
2634
2637
|
} | null) | ({
|
|
2635
2638
|
relationTo: 'documents';
|
|
2636
|
-
value:
|
|
2639
|
+
value: string | Document;
|
|
2637
2640
|
} | null) | ({
|
|
2638
2641
|
relationTo: 'document-categories';
|
|
2639
|
-
value:
|
|
2642
|
+
value: string | DocumentCategory;
|
|
2640
2643
|
} | null) | ({
|
|
2641
2644
|
relationTo: 'document-types';
|
|
2642
|
-
value:
|
|
2645
|
+
value: string | DocumentType;
|
|
2643
2646
|
} | null) | ({
|
|
2644
2647
|
relationTo: 'document-images';
|
|
2645
|
-
value:
|
|
2648
|
+
value: string | DocumentImage;
|
|
2646
2649
|
} | null) | ({
|
|
2647
2650
|
relationTo: 'playlists';
|
|
2648
|
-
value:
|
|
2649
|
-
} | null) | ({
|
|
2650
|
-
relationTo: 'playlist-images';
|
|
2651
|
-
value: number | PlaylistImage;
|
|
2651
|
+
value: string | Playlist;
|
|
2652
2652
|
} | null) | ({
|
|
2653
2653
|
relationTo: 'musics';
|
|
2654
|
-
value:
|
|
2654
|
+
value: string | Music;
|
|
2655
|
+
} | null) | ({
|
|
2656
|
+
relationTo: 'playlist-images';
|
|
2657
|
+
value: string | PlaylistImage;
|
|
2655
2658
|
} | null) | ({
|
|
2656
2659
|
relationTo: 'forms';
|
|
2657
|
-
value:
|
|
2660
|
+
value: string | Form;
|
|
2658
2661
|
} | null) | ({
|
|
2659
2662
|
relationTo: 'form-submissions';
|
|
2660
|
-
value:
|
|
2663
|
+
value: string | FormSubmission;
|
|
2661
2664
|
} | null);
|
|
2662
2665
|
globalSlug?: string | null;
|
|
2663
2666
|
user: {
|
|
2664
2667
|
relationTo: 'users';
|
|
2665
|
-
value:
|
|
2668
|
+
value: string | User;
|
|
2666
2669
|
} | {
|
|
2667
2670
|
relationTo: 'customers';
|
|
2668
|
-
value:
|
|
2671
|
+
value: string | Customer;
|
|
2669
2672
|
};
|
|
2670
2673
|
updatedAt: string;
|
|
2671
2674
|
createdAt: string;
|
|
@@ -2675,13 +2678,13 @@ interface PayloadLockedDocument {
|
|
|
2675
2678
|
* via the `definition` "payload-preferences".
|
|
2676
2679
|
*/
|
|
2677
2680
|
interface PayloadPreference {
|
|
2678
|
-
id:
|
|
2681
|
+
id: string;
|
|
2679
2682
|
user: {
|
|
2680
2683
|
relationTo: 'users';
|
|
2681
|
-
value:
|
|
2684
|
+
value: string | User;
|
|
2682
2685
|
} | {
|
|
2683
2686
|
relationTo: 'customers';
|
|
2684
|
-
value:
|
|
2687
|
+
value: string | Customer;
|
|
2685
2688
|
};
|
|
2686
2689
|
key?: string | null;
|
|
2687
2690
|
value?: {
|
|
@@ -2695,7 +2698,7 @@ interface PayloadPreference {
|
|
|
2695
2698
|
* via the `definition` "payload-migrations".
|
|
2696
2699
|
*/
|
|
2697
2700
|
interface PayloadMigration {
|
|
2698
|
-
id:
|
|
2701
|
+
id: string;
|
|
2699
2702
|
name?: string | null;
|
|
2700
2703
|
batch?: number | null;
|
|
2701
2704
|
updatedAt: string;
|
|
@@ -2871,50 +2874,132 @@ interface TenantMetadataSelect<T extends boolean = true> {
|
|
|
2871
2874
|
}
|
|
2872
2875
|
/**
|
|
2873
2876
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2874
|
-
* via the `definition` "
|
|
2877
|
+
* via the `definition` "api-usage_select".
|
|
2875
2878
|
*/
|
|
2876
|
-
interface
|
|
2879
|
+
interface ApiUsageSelect<T extends boolean = true> {
|
|
2877
2880
|
tenant?: T;
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
lightVibrant?: T;
|
|
2886
|
-
lightMuted?: T;
|
|
2887
|
-
};
|
|
2888
|
-
prefix?: T;
|
|
2881
|
+
month?: T;
|
|
2882
|
+
count?: T;
|
|
2883
|
+
plan?: T;
|
|
2884
|
+
limit?: T;
|
|
2885
|
+
storageUsed?: T;
|
|
2886
|
+
storageLimit?: T;
|
|
2887
|
+
totalDocuments?: T;
|
|
2889
2888
|
updatedAt?: T;
|
|
2890
2889
|
createdAt?: T;
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2890
|
+
}
|
|
2891
|
+
/**
|
|
2892
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2893
|
+
* via the `definition` "subscriptions_select".
|
|
2894
|
+
*/
|
|
2895
|
+
interface SubscriptionsSelect<T extends boolean = true> {
|
|
2896
|
+
provider?: T;
|
|
2897
|
+
currency?: T;
|
|
2898
|
+
tenant?: T;
|
|
2899
|
+
plan?: T;
|
|
2900
|
+
billingCycle?: T;
|
|
2901
|
+
amount?: T;
|
|
2902
|
+
status?: T;
|
|
2903
|
+
billingKey?: T;
|
|
2904
|
+
customerKey?: T;
|
|
2905
|
+
cardInfo?: T | {
|
|
2906
|
+
issuerCode?: T;
|
|
2907
|
+
number?: T;
|
|
2908
|
+
cardType?: T;
|
|
2909
|
+
};
|
|
2910
|
+
polarSubscriptionId?: T;
|
|
2911
|
+
polarCustomerId?: T;
|
|
2912
|
+
polarProductId?: T;
|
|
2913
|
+
currentPeriodStart?: T;
|
|
2914
|
+
currentPeriodEnd?: T;
|
|
2915
|
+
nextBillingDate?: T;
|
|
2916
|
+
cancelAtPeriodEnd?: T;
|
|
2917
|
+
canceledAt?: T;
|
|
2918
|
+
cancelReason?: T;
|
|
2919
|
+
retryCount?: T;
|
|
2920
|
+
graceDeadline?: T;
|
|
2921
|
+
lastPaymentError?: T;
|
|
2922
|
+
pendingPlanChange?: T | {
|
|
2923
|
+
targetPlan?: T;
|
|
2924
|
+
targetAmount?: T;
|
|
2925
|
+
effectiveDate?: T;
|
|
2926
|
+
};
|
|
2927
|
+
updatedAt?: T;
|
|
2928
|
+
createdAt?: T;
|
|
2929
|
+
}
|
|
2930
|
+
/**
|
|
2931
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2932
|
+
* via the `definition` "billing-history_select".
|
|
2933
|
+
*/
|
|
2934
|
+
interface BillingHistorySelect<T extends boolean = true> {
|
|
2935
|
+
provider?: T;
|
|
2936
|
+
currency?: T;
|
|
2937
|
+
tenant?: T;
|
|
2938
|
+
subscription?: T;
|
|
2939
|
+
type?: T;
|
|
2940
|
+
status?: T;
|
|
2941
|
+
amount?: T;
|
|
2942
|
+
paymentKey?: T;
|
|
2943
|
+
orderId?: T;
|
|
2944
|
+
orderName?: T;
|
|
2945
|
+
plan?: T;
|
|
2946
|
+
billingCycle?: T;
|
|
2947
|
+
periodStart?: T;
|
|
2948
|
+
periodEnd?: T;
|
|
2949
|
+
tossResponse?: T;
|
|
2950
|
+
polarOrderId?: T;
|
|
2951
|
+
polarResponse?: T;
|
|
2952
|
+
errorMessage?: T;
|
|
2953
|
+
retryOf?: T;
|
|
2954
|
+
updatedAt?: T;
|
|
2955
|
+
createdAt?: T;
|
|
2956
|
+
}
|
|
2957
|
+
/**
|
|
2958
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2959
|
+
* via the `definition` "tenant-logos_select".
|
|
2960
|
+
*/
|
|
2961
|
+
interface TenantLogosSelect<T extends boolean = true> {
|
|
2962
|
+
tenant?: T;
|
|
2963
|
+
alt?: T;
|
|
2964
|
+
lqip?: T;
|
|
2965
|
+
palette?: T | {
|
|
2966
|
+
vibrant?: T;
|
|
2967
|
+
muted?: T;
|
|
2968
|
+
darkVibrant?: T;
|
|
2969
|
+
darkMuted?: T;
|
|
2970
|
+
lightVibrant?: T;
|
|
2971
|
+
lightMuted?: T;
|
|
2972
|
+
};
|
|
2973
|
+
prefix?: T;
|
|
2974
|
+
updatedAt?: T;
|
|
2975
|
+
createdAt?: T;
|
|
2976
|
+
url?: T;
|
|
2977
|
+
thumbnailURL?: T;
|
|
2978
|
+
filename?: T;
|
|
2979
|
+
mimeType?: T;
|
|
2980
|
+
filesize?: T;
|
|
2981
|
+
width?: T;
|
|
2982
|
+
height?: T;
|
|
2983
|
+
focalX?: T;
|
|
2984
|
+
focalY?: T;
|
|
2985
|
+
sizes?: T | {
|
|
2986
|
+
'16'?: T | {
|
|
2987
|
+
url?: T;
|
|
2988
|
+
width?: T;
|
|
2989
|
+
height?: T;
|
|
2990
|
+
mimeType?: T;
|
|
2991
|
+
filesize?: T;
|
|
2992
|
+
filename?: T;
|
|
2993
|
+
};
|
|
2994
|
+
'32'?: T | {
|
|
2995
|
+
url?: T;
|
|
2996
|
+
width?: T;
|
|
2997
|
+
height?: T;
|
|
2998
|
+
mimeType?: T;
|
|
2999
|
+
filesize?: T;
|
|
3000
|
+
filename?: T;
|
|
3001
|
+
};
|
|
3002
|
+
'64'?: T | {
|
|
2918
3003
|
url?: T;
|
|
2919
3004
|
width?: T;
|
|
2920
3005
|
height?: T;
|
|
@@ -2995,88 +3080,6 @@ interface TenantOgImagesSelect<T extends boolean = true> {
|
|
|
2995
3080
|
};
|
|
2996
3081
|
};
|
|
2997
3082
|
}
|
|
2998
|
-
/**
|
|
2999
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
3000
|
-
* via the `definition` "api-usage_select".
|
|
3001
|
-
*/
|
|
3002
|
-
interface ApiUsageSelect<T extends boolean = true> {
|
|
3003
|
-
tenant?: T;
|
|
3004
|
-
month?: T;
|
|
3005
|
-
count?: T;
|
|
3006
|
-
plan?: T;
|
|
3007
|
-
limit?: T;
|
|
3008
|
-
storageUsed?: T;
|
|
3009
|
-
storageLimit?: T;
|
|
3010
|
-
totalDocuments?: T;
|
|
3011
|
-
updatedAt?: T;
|
|
3012
|
-
createdAt?: T;
|
|
3013
|
-
}
|
|
3014
|
-
/**
|
|
3015
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
3016
|
-
* via the `definition` "subscriptions_select".
|
|
3017
|
-
*/
|
|
3018
|
-
interface SubscriptionsSelect<T extends boolean = true> {
|
|
3019
|
-
provider?: T;
|
|
3020
|
-
currency?: T;
|
|
3021
|
-
tenant?: T;
|
|
3022
|
-
plan?: T;
|
|
3023
|
-
billingCycle?: T;
|
|
3024
|
-
amount?: T;
|
|
3025
|
-
status?: T;
|
|
3026
|
-
billingKey?: T;
|
|
3027
|
-
customerKey?: T;
|
|
3028
|
-
cardInfo?: T | {
|
|
3029
|
-
issuerCode?: T;
|
|
3030
|
-
number?: T;
|
|
3031
|
-
cardType?: T;
|
|
3032
|
-
};
|
|
3033
|
-
polarSubscriptionId?: T;
|
|
3034
|
-
polarCustomerId?: T;
|
|
3035
|
-
polarProductId?: T;
|
|
3036
|
-
currentPeriodStart?: T;
|
|
3037
|
-
currentPeriodEnd?: T;
|
|
3038
|
-
nextBillingDate?: T;
|
|
3039
|
-
cancelAtPeriodEnd?: T;
|
|
3040
|
-
canceledAt?: T;
|
|
3041
|
-
cancelReason?: T;
|
|
3042
|
-
retryCount?: T;
|
|
3043
|
-
graceDeadline?: T;
|
|
3044
|
-
lastPaymentError?: T;
|
|
3045
|
-
pendingPlanChange?: T | {
|
|
3046
|
-
targetPlan?: T;
|
|
3047
|
-
targetAmount?: T;
|
|
3048
|
-
effectiveDate?: T;
|
|
3049
|
-
};
|
|
3050
|
-
updatedAt?: T;
|
|
3051
|
-
createdAt?: T;
|
|
3052
|
-
}
|
|
3053
|
-
/**
|
|
3054
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
3055
|
-
* via the `definition` "billing-history_select".
|
|
3056
|
-
*/
|
|
3057
|
-
interface BillingHistorySelect<T extends boolean = true> {
|
|
3058
|
-
provider?: T;
|
|
3059
|
-
currency?: T;
|
|
3060
|
-
tenant?: T;
|
|
3061
|
-
subscription?: T;
|
|
3062
|
-
type?: T;
|
|
3063
|
-
status?: T;
|
|
3064
|
-
amount?: T;
|
|
3065
|
-
paymentKey?: T;
|
|
3066
|
-
orderId?: T;
|
|
3067
|
-
orderName?: T;
|
|
3068
|
-
plan?: T;
|
|
3069
|
-
billingCycle?: T;
|
|
3070
|
-
periodStart?: T;
|
|
3071
|
-
periodEnd?: T;
|
|
3072
|
-
tossResponse?: T;
|
|
3073
|
-
polarOrderId?: T;
|
|
3074
|
-
polarResponse?: T;
|
|
3075
|
-
errorMessage?: T;
|
|
3076
|
-
retryOf?: T;
|
|
3077
|
-
updatedAt?: T;
|
|
3078
|
-
createdAt?: T;
|
|
3079
|
-
}
|
|
3080
3083
|
/**
|
|
3081
3084
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3082
3085
|
* via the `definition` "products_select".
|
|
@@ -3187,61 +3190,6 @@ interface ProductTagsSelect<T extends boolean = true> {
|
|
|
3187
3190
|
updatedAt?: T;
|
|
3188
3191
|
createdAt?: T;
|
|
3189
3192
|
}
|
|
3190
|
-
/**
|
|
3191
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
3192
|
-
* via the `definition` "product-images_select".
|
|
3193
|
-
*/
|
|
3194
|
-
interface ProductImagesSelect<T extends boolean = true> {
|
|
3195
|
-
tenant?: T;
|
|
3196
|
-
alt?: T;
|
|
3197
|
-
lqip?: T;
|
|
3198
|
-
palette?: T | {
|
|
3199
|
-
vibrant?: T;
|
|
3200
|
-
muted?: T;
|
|
3201
|
-
darkVibrant?: T;
|
|
3202
|
-
darkMuted?: T;
|
|
3203
|
-
lightVibrant?: T;
|
|
3204
|
-
lightMuted?: T;
|
|
3205
|
-
};
|
|
3206
|
-
prefix?: T;
|
|
3207
|
-
updatedAt?: T;
|
|
3208
|
-
createdAt?: T;
|
|
3209
|
-
url?: T;
|
|
3210
|
-
thumbnailURL?: T;
|
|
3211
|
-
filename?: T;
|
|
3212
|
-
mimeType?: T;
|
|
3213
|
-
filesize?: T;
|
|
3214
|
-
width?: T;
|
|
3215
|
-
height?: T;
|
|
3216
|
-
focalX?: T;
|
|
3217
|
-
focalY?: T;
|
|
3218
|
-
sizes?: T | {
|
|
3219
|
-
'384'?: T | {
|
|
3220
|
-
url?: T;
|
|
3221
|
-
width?: T;
|
|
3222
|
-
height?: T;
|
|
3223
|
-
mimeType?: T;
|
|
3224
|
-
filesize?: T;
|
|
3225
|
-
filename?: T;
|
|
3226
|
-
};
|
|
3227
|
-
'768'?: T | {
|
|
3228
|
-
url?: T;
|
|
3229
|
-
width?: T;
|
|
3230
|
-
height?: T;
|
|
3231
|
-
mimeType?: T;
|
|
3232
|
-
filesize?: T;
|
|
3233
|
-
filename?: T;
|
|
3234
|
-
};
|
|
3235
|
-
'1536'?: T | {
|
|
3236
|
-
url?: T;
|
|
3237
|
-
width?: T;
|
|
3238
|
-
height?: T;
|
|
3239
|
-
mimeType?: T;
|
|
3240
|
-
filesize?: T;
|
|
3241
|
-
filename?: T;
|
|
3242
|
-
};
|
|
3243
|
-
};
|
|
3244
|
-
}
|
|
3245
3193
|
/**
|
|
3246
3194
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3247
3195
|
* via the `definition` "product-collections_select".
|
|
@@ -3368,6 +3316,61 @@ interface BrandLogosSelect<T extends boolean = true> {
|
|
|
3368
3316
|
};
|
|
3369
3317
|
};
|
|
3370
3318
|
}
|
|
3319
|
+
/**
|
|
3320
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
3321
|
+
* via the `definition` "product-images_select".
|
|
3322
|
+
*/
|
|
3323
|
+
interface ProductImagesSelect<T extends boolean = true> {
|
|
3324
|
+
tenant?: T;
|
|
3325
|
+
alt?: T;
|
|
3326
|
+
lqip?: T;
|
|
3327
|
+
palette?: T | {
|
|
3328
|
+
vibrant?: T;
|
|
3329
|
+
muted?: T;
|
|
3330
|
+
darkVibrant?: T;
|
|
3331
|
+
darkMuted?: T;
|
|
3332
|
+
lightVibrant?: T;
|
|
3333
|
+
lightMuted?: T;
|
|
3334
|
+
};
|
|
3335
|
+
prefix?: T;
|
|
3336
|
+
updatedAt?: T;
|
|
3337
|
+
createdAt?: T;
|
|
3338
|
+
url?: T;
|
|
3339
|
+
thumbnailURL?: T;
|
|
3340
|
+
filename?: T;
|
|
3341
|
+
mimeType?: T;
|
|
3342
|
+
filesize?: T;
|
|
3343
|
+
width?: T;
|
|
3344
|
+
height?: T;
|
|
3345
|
+
focalX?: T;
|
|
3346
|
+
focalY?: T;
|
|
3347
|
+
sizes?: T | {
|
|
3348
|
+
'384'?: T | {
|
|
3349
|
+
url?: T;
|
|
3350
|
+
width?: T;
|
|
3351
|
+
height?: T;
|
|
3352
|
+
mimeType?: T;
|
|
3353
|
+
filesize?: T;
|
|
3354
|
+
filename?: T;
|
|
3355
|
+
};
|
|
3356
|
+
'768'?: T | {
|
|
3357
|
+
url?: T;
|
|
3358
|
+
width?: T;
|
|
3359
|
+
height?: T;
|
|
3360
|
+
mimeType?: T;
|
|
3361
|
+
filesize?: T;
|
|
3362
|
+
filename?: T;
|
|
3363
|
+
};
|
|
3364
|
+
'1536'?: T | {
|
|
3365
|
+
url?: T;
|
|
3366
|
+
width?: T;
|
|
3367
|
+
height?: T;
|
|
3368
|
+
mimeType?: T;
|
|
3369
|
+
filesize?: T;
|
|
3370
|
+
filename?: T;
|
|
3371
|
+
};
|
|
3372
|
+
};
|
|
3373
|
+
}
|
|
3371
3374
|
/**
|
|
3372
3375
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3373
3376
|
* via the `definition` "orders_select".
|
|
@@ -3774,6 +3777,23 @@ interface PostsSelect<T extends boolean = true> {
|
|
|
3774
3777
|
createdAt?: T;
|
|
3775
3778
|
_status?: T;
|
|
3776
3779
|
}
|
|
3780
|
+
/**
|
|
3781
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
3782
|
+
* via the `definition` "post-authors_select".
|
|
3783
|
+
*/
|
|
3784
|
+
interface PostAuthorsSelect<T extends boolean = true> {
|
|
3785
|
+
_order?: T;
|
|
3786
|
+
tenant?: T;
|
|
3787
|
+
name?: T;
|
|
3788
|
+
generateSlug?: T;
|
|
3789
|
+
slug?: T;
|
|
3790
|
+
avatar?: T;
|
|
3791
|
+
bio?: T;
|
|
3792
|
+
posts?: T;
|
|
3793
|
+
metadata?: T;
|
|
3794
|
+
updatedAt?: T;
|
|
3795
|
+
createdAt?: T;
|
|
3796
|
+
}
|
|
3777
3797
|
/**
|
|
3778
3798
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3779
3799
|
* via the `definition` "post-categories_select".
|
|
@@ -3863,23 +3883,6 @@ interface PostImagesSelect<T extends boolean = true> {
|
|
|
3863
3883
|
};
|
|
3864
3884
|
};
|
|
3865
3885
|
}
|
|
3866
|
-
/**
|
|
3867
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
3868
|
-
* via the `definition` "authors_select".
|
|
3869
|
-
*/
|
|
3870
|
-
interface AuthorsSelect<T extends boolean = true> {
|
|
3871
|
-
_order?: T;
|
|
3872
|
-
tenant?: T;
|
|
3873
|
-
name?: T;
|
|
3874
|
-
generateSlug?: T;
|
|
3875
|
-
slug?: T;
|
|
3876
|
-
avatar?: T;
|
|
3877
|
-
bio?: T;
|
|
3878
|
-
posts?: T;
|
|
3879
|
-
metadata?: T;
|
|
3880
|
-
updatedAt?: T;
|
|
3881
|
-
createdAt?: T;
|
|
3882
|
-
}
|
|
3883
3886
|
/**
|
|
3884
3887
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3885
3888
|
* via the `definition` "documents_select".
|
|
@@ -4022,6 +4025,23 @@ interface PlaylistsSelect<T extends boolean = true> {
|
|
|
4022
4025
|
updatedAt?: T;
|
|
4023
4026
|
createdAt?: T;
|
|
4024
4027
|
}
|
|
4028
|
+
/**
|
|
4029
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4030
|
+
* via the `definition` "musics_select".
|
|
4031
|
+
*/
|
|
4032
|
+
interface MusicsSelect<T extends boolean = true> {
|
|
4033
|
+
_musics_musics_order?: T;
|
|
4034
|
+
tenant?: T;
|
|
4035
|
+
playlist?: T;
|
|
4036
|
+
url?: T;
|
|
4037
|
+
title?: T;
|
|
4038
|
+
artist?: T;
|
|
4039
|
+
duration?: T;
|
|
4040
|
+
metadata?: T;
|
|
4041
|
+
isValid?: T;
|
|
4042
|
+
updatedAt?: T;
|
|
4043
|
+
createdAt?: T;
|
|
4044
|
+
}
|
|
4025
4045
|
/**
|
|
4026
4046
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4027
4047
|
* via the `definition` "playlist-images_select".
|
|
@@ -4077,23 +4097,6 @@ interface PlaylistImagesSelect<T extends boolean = true> {
|
|
|
4077
4097
|
};
|
|
4078
4098
|
};
|
|
4079
4099
|
}
|
|
4080
|
-
/**
|
|
4081
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
4082
|
-
* via the `definition` "musics_select".
|
|
4083
|
-
*/
|
|
4084
|
-
interface MusicsSelect<T extends boolean = true> {
|
|
4085
|
-
_musics_musics_order?: T;
|
|
4086
|
-
tenant?: T;
|
|
4087
|
-
playlist?: T;
|
|
4088
|
-
url?: T;
|
|
4089
|
-
title?: T;
|
|
4090
|
-
artist?: T;
|
|
4091
|
-
duration?: T;
|
|
4092
|
-
metadata?: T;
|
|
4093
|
-
isValid?: T;
|
|
4094
|
-
updatedAt?: T;
|
|
4095
|
-
createdAt?: T;
|
|
4096
|
-
}
|
|
4097
4100
|
/**
|
|
4098
4101
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4099
4102
|
* via the `definition` "forms_select".
|
|
@@ -4262,6 +4265,16 @@ interface PayloadMigrationsSelect<T extends boolean = true> {
|
|
|
4262
4265
|
updatedAt?: T;
|
|
4263
4266
|
createdAt?: T;
|
|
4264
4267
|
}
|
|
4268
|
+
/**
|
|
4269
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4270
|
+
* via the `definition` "collections_widget".
|
|
4271
|
+
*/
|
|
4272
|
+
interface CollectionsWidget {
|
|
4273
|
+
data?: {
|
|
4274
|
+
[k: string]: unknown;
|
|
4275
|
+
};
|
|
4276
|
+
width: 'full';
|
|
4277
|
+
}
|
|
4265
4278
|
/**
|
|
4266
4279
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4267
4280
|
* via the `definition` "auth".
|
|
@@ -4274,4 +4287,4 @@ declare module 'payload' {
|
|
|
4274
4287
|
}
|
|
4275
4288
|
}
|
|
4276
4289
|
|
|
4277
|
-
export type { DocumentCategory as $, Audience as A, BrandLogo as B, CartItem as C, ReturnProduct as D, EmailLog as E, Form as F, Exchange as G, ExchangeProduct as H, IframeBlock as I, FulfillmentItem as J, Cart as K, Discount as L, Media as M, Post as N, Order as O, ProductOption as P, PostImage as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U,
|
|
4290
|
+
export type { DocumentCategory as $, Audience as A, BrandLogo as B, CartItem as C, ReturnProduct as D, EmailLog as E, Form as F, Exchange as G, ExchangeProduct as H, IframeBlock as I, FulfillmentItem as J, Cart as K, Discount as L, Media as M, Post as N, Order as O, ProductOption as P, PostImage as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, PostAuthor as V, PostCategory as W, PostTag as X, Document as Y, DocumentType as Z, DocumentImage as _, OrderProduct as a, CollectionsWidget as a$, Playlist as a0, Music as a1, PlaylistImage as a2, FormSubmission as a3, PayloadKv as a4, PayloadLockedDocument as a5, PayloadPreference as a6, PayloadMigration as a7, UsersSelect as a8, MediaSelect as a9, TransactionsSelect as aA, CustomersSelect as aB, CustomerAddressesSelect as aC, CustomerGroupsSelect as aD, CustomerGroupImagesSelect as aE, CartsSelect as aF, CartItemsSelect as aG, DiscountsSelect as aH, ShippingPoliciesSelect as aI, PostsSelect as aJ, PostAuthorsSelect as aK, PostCategoriesSelect as aL, PostTagsSelect as aM, PostImagesSelect as aN, DocumentsSelect as aO, DocumentCategoriesSelect as aP, DocumentTypesSelect as aQ, DocumentImagesSelect as aR, PlaylistsSelect as aS, MusicsSelect as aT, PlaylistImagesSelect 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, ApiUsageSelect as ae, SubscriptionsSelect as af, BillingHistorySelect as ag, TenantLogosSelect as ah, TenantOgImagesSelect as ai, ProductsSelect as aj, ProductVariantsSelect as ak, ProductOptionsSelect as al, ProductCategoriesSelect as am, ProductTagsSelect as an, ProductCollectionsSelect as ao, BrandsSelect as ap, BrandLogosSelect as aq, ProductImagesSelect as ar, OrdersSelect as as, OrderProductsSelect as at, ReturnsSelect as au, ReturnProductsSelect as av, ExchangesSelect as aw, ExchangeProductsSelect as ax, FulfillmentsSelect as ay, FulfillmentItemsSelect as az, Fulfillment as b, Auth as b0, Config as c, CustomerAuthOperations as d, PlayerBlock as e, CodeBlock as f, User as g, Tenant as h, TenantMetadatum as i, TenantOgImage as j, ApiUsage as k, Subscription as l, BillingHistory as m, TenantLogo as n, Product as o, ProductImage as p, ProductVariant as q, ProductCategory as r, ProductTag as s, ProductCollection as t, Brand as u, ShippingPolicy as v, Customer as w, CustomerGroup as x, CustomerGroupImage as y, CustomerAddress as z };
|