@01.software/sdk 0.2.9-dev.260305.4f1735b → 0.2.9-dev.260306.4e16dd4
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/README.md +26 -6
- package/dist/{auth-BfGmV75P.d.ts → auth-D_6MQo4x.d.ts} +1 -1
- package/dist/{auth-3qWmYUln.d.cts → auth-Hs3cAUfV.d.cts} +1 -1
- package/dist/auth.d.cts +2 -2
- package/dist/auth.d.ts +2 -2
- package/dist/components.cjs +353 -42
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.cts +158 -17
- package/dist/components.d.ts +158 -17
- package/dist/components.js +346 -34
- package/dist/components.js.map +1 -1
- package/dist/flow.cjs +148 -0
- package/dist/flow.cjs.map +1 -0
- package/dist/flow.d.cts +116 -0
- package/dist/flow.d.ts +116 -0
- package/dist/flow.js +123 -0
- package/dist/flow.js.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-Bpi16SHO.d.cts → payload-types-p9NaGmQA.d.cts} +292 -129
- package/dist/{payload-types-Bpi16SHO.d.ts → payload-types-p9NaGmQA.d.ts} +292 -129
- package/dist/{webhook-DMN-IPra.d.cts → webhook-B9foVPGW.d.cts} +2 -2
- package/dist/{webhook-Bk-i0A59.d.ts → webhook-CjgnfIo6.d.ts} +2 -2
- package/dist/webhook.d.cts +2 -2
- package/dist/webhook.d.ts +2 -2
- package/package.json +21 -2
|
@@ -70,6 +70,8 @@ interface Config {
|
|
|
70
70
|
playlists: Playlist;
|
|
71
71
|
musics: Music;
|
|
72
72
|
'playlist-images': PlaylistImage;
|
|
73
|
+
flows: Flow;
|
|
74
|
+
'flow-images': FlowImage;
|
|
73
75
|
forms: Form;
|
|
74
76
|
'form-submissions': FormSubmission;
|
|
75
77
|
'payload-kv': PayloadKv;
|
|
@@ -89,9 +91,9 @@ interface Config {
|
|
|
89
91
|
orders: {
|
|
90
92
|
products: 'order-products';
|
|
91
93
|
transactions: 'transactions';
|
|
94
|
+
fulfillments: 'fulfillments';
|
|
92
95
|
returns: 'returns';
|
|
93
96
|
exchanges: 'exchanges';
|
|
94
|
-
fulfillments: 'fulfillments';
|
|
95
97
|
};
|
|
96
98
|
fulfillments: {
|
|
97
99
|
items: 'fulfillment-items';
|
|
@@ -169,6 +171,8 @@ interface Config {
|
|
|
169
171
|
playlists: PlaylistsSelect<false> | PlaylistsSelect<true>;
|
|
170
172
|
musics: MusicsSelect<false> | MusicsSelect<true>;
|
|
171
173
|
'playlist-images': PlaylistImagesSelect<false> | PlaylistImagesSelect<true>;
|
|
174
|
+
flows: FlowsSelect<false> | FlowsSelect<true>;
|
|
175
|
+
'flow-images': FlowImagesSelect<false> | FlowImagesSelect<true>;
|
|
172
176
|
forms: FormsSelect<false> | FormsSelect<true>;
|
|
173
177
|
'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
|
|
174
178
|
'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
|
|
@@ -304,6 +308,8 @@ interface User {
|
|
|
304
308
|
interface Tenant {
|
|
305
309
|
id: string;
|
|
306
310
|
name: string;
|
|
311
|
+
plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
|
|
312
|
+
features?: ('ecommerce' | 'playlists' | 'forms' | 'posts' | 'documents' | 'flows')[] | null;
|
|
307
313
|
/**
|
|
308
314
|
* Allowed CORS origins for browser SDK requests. Empty = all origins allowed.
|
|
309
315
|
*/
|
|
@@ -311,8 +317,6 @@ interface Tenant {
|
|
|
311
317
|
origin: string;
|
|
312
318
|
id?: string | null;
|
|
313
319
|
}[] | null;
|
|
314
|
-
features?: ('ecommerce' | 'playlists' | 'forms' | 'posts' | 'documents')[] | null;
|
|
315
|
-
plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
|
|
316
320
|
clientKey: string;
|
|
317
321
|
secretKeys?: {
|
|
318
322
|
name: string;
|
|
@@ -940,21 +944,6 @@ interface Product {
|
|
|
940
944
|
subtitle?: string | null;
|
|
941
945
|
thumbnail?: (string | null) | ProductImage;
|
|
942
946
|
images?: (string | ProductImage)[] | null;
|
|
943
|
-
description?: {
|
|
944
|
-
root: {
|
|
945
|
-
type: string;
|
|
946
|
-
children: {
|
|
947
|
-
type: any;
|
|
948
|
-
version: number;
|
|
949
|
-
[k: string]: unknown;
|
|
950
|
-
}[];
|
|
951
|
-
direction: ('ltr' | 'rtl') | null;
|
|
952
|
-
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
953
|
-
indent: number;
|
|
954
|
-
version: number;
|
|
955
|
-
};
|
|
956
|
-
[k: string]: unknown;
|
|
957
|
-
} | null;
|
|
958
947
|
price: number;
|
|
959
948
|
/**
|
|
960
949
|
* Original price before discount
|
|
@@ -970,6 +959,21 @@ interface Product {
|
|
|
970
959
|
hasNextPage?: boolean;
|
|
971
960
|
totalDocs?: number;
|
|
972
961
|
};
|
|
962
|
+
description?: {
|
|
963
|
+
root: {
|
|
964
|
+
type: string;
|
|
965
|
+
children: {
|
|
966
|
+
type: any;
|
|
967
|
+
version: number;
|
|
968
|
+
[k: string]: unknown;
|
|
969
|
+
}[];
|
|
970
|
+
direction: ('ltr' | 'rtl') | null;
|
|
971
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
972
|
+
indent: number;
|
|
973
|
+
version: number;
|
|
974
|
+
};
|
|
975
|
+
[k: string]: unknown;
|
|
976
|
+
} | null;
|
|
973
977
|
/**
|
|
974
978
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
975
979
|
*/
|
|
@@ -1314,6 +1318,13 @@ interface Order {
|
|
|
1314
1318
|
tenant?: (string | null) | Tenant;
|
|
1315
1319
|
orderNumber: string;
|
|
1316
1320
|
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
1321
|
+
totalAmount?: number | null;
|
|
1322
|
+
discountCode?: string | null;
|
|
1323
|
+
discountAmount?: number | null;
|
|
1324
|
+
/**
|
|
1325
|
+
* Internal notes (not visible to customers)
|
|
1326
|
+
*/
|
|
1327
|
+
notes?: string | null;
|
|
1317
1328
|
customer?: (string | null) | Customer;
|
|
1318
1329
|
/**
|
|
1319
1330
|
* Customer info at the time of order
|
|
@@ -1323,16 +1334,6 @@ interface Order {
|
|
|
1323
1334
|
email?: string | null;
|
|
1324
1335
|
phone?: string | null;
|
|
1325
1336
|
};
|
|
1326
|
-
totalAmount?: number | null;
|
|
1327
|
-
discountCode?: string | null;
|
|
1328
|
-
discountAmount?: number | null;
|
|
1329
|
-
/**
|
|
1330
|
-
* Internal notes (not visible to customers)
|
|
1331
|
-
*/
|
|
1332
|
-
notes?: string | null;
|
|
1333
|
-
metadata?: {
|
|
1334
|
-
[k: string]: unknown;
|
|
1335
|
-
} | unknown[] | string | number | boolean | null;
|
|
1336
1337
|
shippingAddress?: {
|
|
1337
1338
|
recipientName?: string | null;
|
|
1338
1339
|
phone?: string | null;
|
|
@@ -1351,6 +1352,11 @@ interface Order {
|
|
|
1351
1352
|
hasNextPage?: boolean;
|
|
1352
1353
|
totalDocs?: number;
|
|
1353
1354
|
};
|
|
1355
|
+
fulfillments?: {
|
|
1356
|
+
docs?: (string | Fulfillment)[];
|
|
1357
|
+
hasNextPage?: boolean;
|
|
1358
|
+
totalDocs?: number;
|
|
1359
|
+
};
|
|
1354
1360
|
returns?: {
|
|
1355
1361
|
docs?: (string | Return)[];
|
|
1356
1362
|
hasNextPage?: boolean;
|
|
@@ -1361,11 +1367,9 @@ interface Order {
|
|
|
1361
1367
|
hasNextPage?: boolean;
|
|
1362
1368
|
totalDocs?: number;
|
|
1363
1369
|
};
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
totalDocs?: number;
|
|
1368
|
-
};
|
|
1370
|
+
metadata?: {
|
|
1371
|
+
[k: string]: unknown;
|
|
1372
|
+
} | unknown[] | string | number | boolean | null;
|
|
1369
1373
|
updatedAt: string;
|
|
1370
1374
|
createdAt: string;
|
|
1371
1375
|
}
|
|
@@ -1381,36 +1385,15 @@ interface Customer {
|
|
|
1381
1385
|
name: string;
|
|
1382
1386
|
email?: string | null;
|
|
1383
1387
|
phone?: string | null;
|
|
1384
|
-
|
|
1385
|
-
salt?: string | null;
|
|
1386
|
-
authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
|
|
1388
|
+
groups?: (string | CustomerGroup)[] | null;
|
|
1387
1389
|
/**
|
|
1388
1390
|
* External provider user ID
|
|
1389
1391
|
*/
|
|
1390
1392
|
socialId?: string | null;
|
|
1391
|
-
isGuest?: boolean | null;
|
|
1392
|
-
isVerified?: boolean | null;
|
|
1393
|
-
/**
|
|
1394
|
-
* Marketing email consent
|
|
1395
|
-
*/
|
|
1396
|
-
marketingConsent?: boolean | null;
|
|
1397
|
-
/**
|
|
1398
|
-
* Date marketing consent was given
|
|
1399
|
-
*/
|
|
1400
|
-
consentedAt?: string | null;
|
|
1401
|
-
verificationToken?: string | null;
|
|
1402
|
-
resetPasswordToken?: string | null;
|
|
1403
|
-
resetPasswordExpiry?: string | null;
|
|
1404
|
-
loginAttempts?: number | null;
|
|
1405
|
-
lockedUntil?: string | null;
|
|
1406
1393
|
/**
|
|
1407
1394
|
* Internal notes (not visible to customers)
|
|
1408
1395
|
*/
|
|
1409
1396
|
note?: string | null;
|
|
1410
|
-
metadata?: {
|
|
1411
|
-
[k: string]: unknown;
|
|
1412
|
-
} | unknown[] | string | number | boolean | null;
|
|
1413
|
-
groups?: (string | CustomerGroup)[] | null;
|
|
1414
1397
|
orders?: {
|
|
1415
1398
|
docs?: (string | Order)[];
|
|
1416
1399
|
hasNextPage?: boolean;
|
|
@@ -1421,6 +1404,27 @@ interface Customer {
|
|
|
1421
1404
|
hasNextPage?: boolean;
|
|
1422
1405
|
totalDocs?: number;
|
|
1423
1406
|
};
|
|
1407
|
+
hashedPassword?: string | null;
|
|
1408
|
+
salt?: string | null;
|
|
1409
|
+
verificationToken?: string | null;
|
|
1410
|
+
resetPasswordToken?: string | null;
|
|
1411
|
+
resetPasswordExpiry?: string | null;
|
|
1412
|
+
loginAttempts?: number | null;
|
|
1413
|
+
lockedUntil?: string | null;
|
|
1414
|
+
authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
|
|
1415
|
+
isGuest?: boolean | null;
|
|
1416
|
+
isVerified?: boolean | null;
|
|
1417
|
+
/**
|
|
1418
|
+
* Marketing email consent
|
|
1419
|
+
*/
|
|
1420
|
+
marketingConsent?: boolean | null;
|
|
1421
|
+
/**
|
|
1422
|
+
* Date marketing consent was given
|
|
1423
|
+
*/
|
|
1424
|
+
consentedAt?: string | null;
|
|
1425
|
+
metadata?: {
|
|
1426
|
+
[k: string]: unknown;
|
|
1427
|
+
} | unknown[] | string | number | boolean | null;
|
|
1424
1428
|
updatedAt: string;
|
|
1425
1429
|
createdAt: string;
|
|
1426
1430
|
collection: 'customers';
|
|
@@ -1572,6 +1576,46 @@ interface Transaction {
|
|
|
1572
1576
|
updatedAt: string;
|
|
1573
1577
|
createdAt: string;
|
|
1574
1578
|
}
|
|
1579
|
+
/**
|
|
1580
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1581
|
+
* via the `definition` "fulfillments".
|
|
1582
|
+
*/
|
|
1583
|
+
interface Fulfillment {
|
|
1584
|
+
id: string;
|
|
1585
|
+
tenant?: (string | null) | Tenant;
|
|
1586
|
+
order: string | Order;
|
|
1587
|
+
status: 'pending' | 'packed' | 'shipped' | 'delivered' | 'failed';
|
|
1588
|
+
/**
|
|
1589
|
+
* Shipping carrier name (e.g. CJ Logistics, FedEx, UPS)
|
|
1590
|
+
*/
|
|
1591
|
+
carrier?: string | null;
|
|
1592
|
+
trackingNumber?: string | null;
|
|
1593
|
+
shippedAt?: string | null;
|
|
1594
|
+
deliveredAt?: string | null;
|
|
1595
|
+
items?: {
|
|
1596
|
+
docs?: (string | FulfillmentItem)[];
|
|
1597
|
+
hasNextPage?: boolean;
|
|
1598
|
+
totalDocs?: number;
|
|
1599
|
+
};
|
|
1600
|
+
metadata?: {
|
|
1601
|
+
[k: string]: unknown;
|
|
1602
|
+
} | unknown[] | string | number | boolean | null;
|
|
1603
|
+
updatedAt: string;
|
|
1604
|
+
createdAt: string;
|
|
1605
|
+
}
|
|
1606
|
+
/**
|
|
1607
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1608
|
+
* via the `definition` "fulfillment-items".
|
|
1609
|
+
*/
|
|
1610
|
+
interface FulfillmentItem {
|
|
1611
|
+
id: string;
|
|
1612
|
+
tenant?: (string | null) | Tenant;
|
|
1613
|
+
fulfillment: string | Fulfillment;
|
|
1614
|
+
orderProduct: string | OrderProduct;
|
|
1615
|
+
quantity: number;
|
|
1616
|
+
updatedAt: string;
|
|
1617
|
+
createdAt: string;
|
|
1618
|
+
}
|
|
1575
1619
|
/**
|
|
1576
1620
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1577
1621
|
* via the `definition` "returns".
|
|
@@ -1663,46 +1707,6 @@ interface ExchangeProduct {
|
|
|
1663
1707
|
updatedAt: string;
|
|
1664
1708
|
createdAt: string;
|
|
1665
1709
|
}
|
|
1666
|
-
/**
|
|
1667
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1668
|
-
* via the `definition` "fulfillments".
|
|
1669
|
-
*/
|
|
1670
|
-
interface Fulfillment {
|
|
1671
|
-
id: string;
|
|
1672
|
-
tenant?: (string | null) | Tenant;
|
|
1673
|
-
order: string | Order;
|
|
1674
|
-
status: 'pending' | 'packed' | 'shipped' | 'delivered' | 'failed';
|
|
1675
|
-
/**
|
|
1676
|
-
* Shipping carrier name (e.g. CJ Logistics, FedEx, UPS)
|
|
1677
|
-
*/
|
|
1678
|
-
carrier?: string | null;
|
|
1679
|
-
trackingNumber?: string | null;
|
|
1680
|
-
shippedAt?: string | null;
|
|
1681
|
-
deliveredAt?: string | null;
|
|
1682
|
-
items?: {
|
|
1683
|
-
docs?: (string | FulfillmentItem)[];
|
|
1684
|
-
hasNextPage?: boolean;
|
|
1685
|
-
totalDocs?: number;
|
|
1686
|
-
};
|
|
1687
|
-
metadata?: {
|
|
1688
|
-
[k: string]: unknown;
|
|
1689
|
-
} | unknown[] | string | number | boolean | null;
|
|
1690
|
-
updatedAt: string;
|
|
1691
|
-
createdAt: string;
|
|
1692
|
-
}
|
|
1693
|
-
/**
|
|
1694
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1695
|
-
* via the `definition` "fulfillment-items".
|
|
1696
|
-
*/
|
|
1697
|
-
interface FulfillmentItem {
|
|
1698
|
-
id: string;
|
|
1699
|
-
tenant?: (string | null) | Tenant;
|
|
1700
|
-
fulfillment: string | Fulfillment;
|
|
1701
|
-
orderProduct: string | OrderProduct;
|
|
1702
|
-
quantity: number;
|
|
1703
|
-
updatedAt: string;
|
|
1704
|
-
createdAt: string;
|
|
1705
|
-
}
|
|
1706
1710
|
/**
|
|
1707
1711
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1708
1712
|
* via the `definition` "carts".
|
|
@@ -1779,7 +1783,6 @@ interface Discount {
|
|
|
1779
1783
|
* Internal description for admin reference
|
|
1780
1784
|
*/
|
|
1781
1785
|
description?: string | null;
|
|
1782
|
-
type: 'percentage' | 'fixed_amount' | 'free_shipping' | 'tiered';
|
|
1783
1786
|
/**
|
|
1784
1787
|
* Discount rate (%) or fixed amount
|
|
1785
1788
|
*/
|
|
@@ -1810,23 +1813,24 @@ interface Discount {
|
|
|
1810
1813
|
startsAt?: string | null;
|
|
1811
1814
|
endsAt?: string | null;
|
|
1812
1815
|
/**
|
|
1813
|
-
*
|
|
1816
|
+
* Leave empty to apply to all products
|
|
1814
1817
|
*/
|
|
1815
|
-
|
|
1816
|
-
usageCount?: number | null;
|
|
1818
|
+
applicableProducts?: (string | Product)[] | null;
|
|
1817
1819
|
/**
|
|
1818
|
-
*
|
|
1820
|
+
* Leave empty to apply to all categories
|
|
1819
1821
|
*/
|
|
1820
|
-
|
|
1822
|
+
applicableCategories?: (string | ProductCategory)[] | null;
|
|
1823
|
+
type: 'percentage' | 'fixed_amount' | 'free_shipping' | 'tiered';
|
|
1821
1824
|
isActive?: boolean | null;
|
|
1822
1825
|
/**
|
|
1823
|
-
*
|
|
1826
|
+
* Total usage limit (empty = unlimited)
|
|
1824
1827
|
*/
|
|
1825
|
-
|
|
1828
|
+
usageLimit?: number | null;
|
|
1829
|
+
usageCount?: number | null;
|
|
1826
1830
|
/**
|
|
1827
|
-
*
|
|
1831
|
+
* Usage limit per customer (empty = unlimited)
|
|
1828
1832
|
*/
|
|
1829
|
-
|
|
1833
|
+
perCustomerLimit?: number | null;
|
|
1830
1834
|
metadata?: {
|
|
1831
1835
|
[k: string]: unknown;
|
|
1832
1836
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -2291,6 +2295,87 @@ interface PlaylistImage {
|
|
|
2291
2295
|
};
|
|
2292
2296
|
};
|
|
2293
2297
|
}
|
|
2298
|
+
/**
|
|
2299
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2300
|
+
* via the `definition` "flows".
|
|
2301
|
+
*/
|
|
2302
|
+
interface Flow {
|
|
2303
|
+
id: string;
|
|
2304
|
+
tenant?: (string | null) | Tenant;
|
|
2305
|
+
title: string;
|
|
2306
|
+
/**
|
|
2307
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2308
|
+
*/
|
|
2309
|
+
generateSlug?: boolean | null;
|
|
2310
|
+
slug?: string | null;
|
|
2311
|
+
description?: string | null;
|
|
2312
|
+
canvas: {
|
|
2313
|
+
[k: string]: unknown;
|
|
2314
|
+
} | unknown[] | string | number | boolean | null;
|
|
2315
|
+
status?: ('draft' | 'published') | null;
|
|
2316
|
+
metadata?: {
|
|
2317
|
+
[k: string]: unknown;
|
|
2318
|
+
} | unknown[] | string | number | boolean | null;
|
|
2319
|
+
updatedAt: string;
|
|
2320
|
+
createdAt: string;
|
|
2321
|
+
deletedAt?: string | null;
|
|
2322
|
+
}
|
|
2323
|
+
/**
|
|
2324
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2325
|
+
* via the `definition` "flow-images".
|
|
2326
|
+
*/
|
|
2327
|
+
interface FlowImage {
|
|
2328
|
+
id: string;
|
|
2329
|
+
tenant?: (string | null) | Tenant;
|
|
2330
|
+
alt?: string | null;
|
|
2331
|
+
lqip?: string | null;
|
|
2332
|
+
palette?: {
|
|
2333
|
+
vibrant?: string | null;
|
|
2334
|
+
muted?: string | null;
|
|
2335
|
+
darkVibrant?: string | null;
|
|
2336
|
+
darkMuted?: string | null;
|
|
2337
|
+
lightVibrant?: string | null;
|
|
2338
|
+
lightMuted?: string | null;
|
|
2339
|
+
};
|
|
2340
|
+
prefix?: string | null;
|
|
2341
|
+
updatedAt: string;
|
|
2342
|
+
createdAt: string;
|
|
2343
|
+
url?: string | null;
|
|
2344
|
+
thumbnailURL?: string | null;
|
|
2345
|
+
filename?: string | null;
|
|
2346
|
+
mimeType?: string | null;
|
|
2347
|
+
filesize?: number | null;
|
|
2348
|
+
width?: number | null;
|
|
2349
|
+
height?: number | null;
|
|
2350
|
+
focalX?: number | null;
|
|
2351
|
+
focalY?: number | null;
|
|
2352
|
+
sizes?: {
|
|
2353
|
+
'384'?: {
|
|
2354
|
+
url?: string | null;
|
|
2355
|
+
width?: number | null;
|
|
2356
|
+
height?: number | null;
|
|
2357
|
+
mimeType?: string | null;
|
|
2358
|
+
filesize?: number | null;
|
|
2359
|
+
filename?: string | null;
|
|
2360
|
+
};
|
|
2361
|
+
'768'?: {
|
|
2362
|
+
url?: string | null;
|
|
2363
|
+
width?: number | null;
|
|
2364
|
+
height?: number | null;
|
|
2365
|
+
mimeType?: string | null;
|
|
2366
|
+
filesize?: number | null;
|
|
2367
|
+
filename?: string | null;
|
|
2368
|
+
};
|
|
2369
|
+
'1536'?: {
|
|
2370
|
+
url?: string | null;
|
|
2371
|
+
width?: number | null;
|
|
2372
|
+
height?: number | null;
|
|
2373
|
+
mimeType?: string | null;
|
|
2374
|
+
filesize?: number | null;
|
|
2375
|
+
filename?: string | null;
|
|
2376
|
+
};
|
|
2377
|
+
};
|
|
2378
|
+
}
|
|
2294
2379
|
/**
|
|
2295
2380
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2296
2381
|
* via the `definition` "forms".
|
|
@@ -2641,6 +2726,12 @@ interface PayloadLockedDocument {
|
|
|
2641
2726
|
} | null) | ({
|
|
2642
2727
|
relationTo: 'playlist-images';
|
|
2643
2728
|
value: string | PlaylistImage;
|
|
2729
|
+
} | null) | ({
|
|
2730
|
+
relationTo: 'flows';
|
|
2731
|
+
value: string | Flow;
|
|
2732
|
+
} | null) | ({
|
|
2733
|
+
relationTo: 'flow-images';
|
|
2734
|
+
value: string | FlowImage;
|
|
2644
2735
|
} | null) | ({
|
|
2645
2736
|
relationTo: 'forms';
|
|
2646
2737
|
value: string | Form;
|
|
@@ -2781,12 +2872,12 @@ interface EmailLogsSelect<T extends boolean = true> {
|
|
|
2781
2872
|
*/
|
|
2782
2873
|
interface TenantsSelect<T extends boolean = true> {
|
|
2783
2874
|
name?: T;
|
|
2875
|
+
plan?: T;
|
|
2876
|
+
features?: T;
|
|
2784
2877
|
cors?: T | {
|
|
2785
2878
|
origin?: T;
|
|
2786
2879
|
id?: T;
|
|
2787
2880
|
};
|
|
2788
|
-
features?: T;
|
|
2789
|
-
plan?: T;
|
|
2790
2881
|
clientKey?: T;
|
|
2791
2882
|
secretKeys?: T | {
|
|
2792
2883
|
name?: T;
|
|
@@ -3078,11 +3169,11 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
3078
3169
|
subtitle?: T;
|
|
3079
3170
|
thumbnail?: T;
|
|
3080
3171
|
images?: T;
|
|
3081
|
-
description?: T;
|
|
3082
3172
|
price?: T;
|
|
3083
3173
|
compareAtPrice?: T;
|
|
3084
3174
|
variants?: T;
|
|
3085
3175
|
options?: T;
|
|
3176
|
+
description?: T;
|
|
3086
3177
|
generateSlug?: T;
|
|
3087
3178
|
slug?: T;
|
|
3088
3179
|
sku?: T;
|
|
@@ -3368,17 +3459,16 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
3368
3459
|
tenant?: T;
|
|
3369
3460
|
orderNumber?: T;
|
|
3370
3461
|
status?: T;
|
|
3462
|
+
totalAmount?: T;
|
|
3463
|
+
discountCode?: T;
|
|
3464
|
+
discountAmount?: T;
|
|
3465
|
+
notes?: T;
|
|
3371
3466
|
customer?: T;
|
|
3372
3467
|
customerSnapshot?: T | {
|
|
3373
3468
|
name?: T;
|
|
3374
3469
|
email?: T;
|
|
3375
3470
|
phone?: T;
|
|
3376
3471
|
};
|
|
3377
|
-
totalAmount?: T;
|
|
3378
|
-
discountCode?: T;
|
|
3379
|
-
discountAmount?: T;
|
|
3380
|
-
notes?: T;
|
|
3381
|
-
metadata?: T;
|
|
3382
3472
|
shippingAddress?: T | {
|
|
3383
3473
|
recipientName?: T;
|
|
3384
3474
|
phone?: T;
|
|
@@ -3389,9 +3479,10 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
3389
3479
|
};
|
|
3390
3480
|
products?: T;
|
|
3391
3481
|
transactions?: T;
|
|
3482
|
+
fulfillments?: T;
|
|
3392
3483
|
returns?: T;
|
|
3393
3484
|
exchanges?: T;
|
|
3394
|
-
|
|
3485
|
+
metadata?: T;
|
|
3395
3486
|
updatedAt?: T;
|
|
3396
3487
|
createdAt?: T;
|
|
3397
3488
|
}
|
|
@@ -3534,24 +3625,24 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
3534
3625
|
name?: T;
|
|
3535
3626
|
email?: T;
|
|
3536
3627
|
phone?: T;
|
|
3628
|
+
groups?: T;
|
|
3629
|
+
socialId?: T;
|
|
3630
|
+
note?: T;
|
|
3631
|
+
orders?: T;
|
|
3632
|
+
addresses?: T;
|
|
3537
3633
|
hashedPassword?: T;
|
|
3538
3634
|
salt?: T;
|
|
3539
|
-
authProvider?: T;
|
|
3540
|
-
socialId?: T;
|
|
3541
|
-
isGuest?: T;
|
|
3542
|
-
isVerified?: T;
|
|
3543
|
-
marketingConsent?: T;
|
|
3544
|
-
consentedAt?: T;
|
|
3545
3635
|
verificationToken?: T;
|
|
3546
3636
|
resetPasswordToken?: T;
|
|
3547
3637
|
resetPasswordExpiry?: T;
|
|
3548
3638
|
loginAttempts?: T;
|
|
3549
3639
|
lockedUntil?: T;
|
|
3550
|
-
|
|
3640
|
+
authProvider?: T;
|
|
3641
|
+
isGuest?: T;
|
|
3642
|
+
isVerified?: T;
|
|
3643
|
+
marketingConsent?: T;
|
|
3644
|
+
consentedAt?: T;
|
|
3551
3645
|
metadata?: T;
|
|
3552
|
-
groups?: T;
|
|
3553
|
-
orders?: T;
|
|
3554
|
-
addresses?: T;
|
|
3555
3646
|
updatedAt?: T;
|
|
3556
3647
|
createdAt?: T;
|
|
3557
3648
|
}
|
|
@@ -3700,7 +3791,6 @@ interface DiscountsSelect<T extends boolean = true> {
|
|
|
3700
3791
|
code?: T;
|
|
3701
3792
|
title?: T;
|
|
3702
3793
|
description?: T;
|
|
3703
|
-
type?: T;
|
|
3704
3794
|
value?: T;
|
|
3705
3795
|
tiers?: T | {
|
|
3706
3796
|
minAmount?: T;
|
|
@@ -3712,12 +3802,13 @@ interface DiscountsSelect<T extends boolean = true> {
|
|
|
3712
3802
|
maxDiscountAmount?: T;
|
|
3713
3803
|
startsAt?: T;
|
|
3714
3804
|
endsAt?: T;
|
|
3805
|
+
applicableProducts?: T;
|
|
3806
|
+
applicableCategories?: T;
|
|
3807
|
+
type?: T;
|
|
3808
|
+
isActive?: T;
|
|
3715
3809
|
usageLimit?: T;
|
|
3716
3810
|
usageCount?: T;
|
|
3717
3811
|
perCustomerLimit?: T;
|
|
3718
|
-
isActive?: T;
|
|
3719
|
-
applicableProducts?: T;
|
|
3720
|
-
applicableCategories?: T;
|
|
3721
3812
|
metadata?: T;
|
|
3722
3813
|
updatedAt?: T;
|
|
3723
3814
|
createdAt?: T;
|
|
@@ -4088,6 +4179,78 @@ interface PlaylistImagesSelect<T extends boolean = true> {
|
|
|
4088
4179
|
};
|
|
4089
4180
|
};
|
|
4090
4181
|
}
|
|
4182
|
+
/**
|
|
4183
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4184
|
+
* via the `definition` "flows_select".
|
|
4185
|
+
*/
|
|
4186
|
+
interface FlowsSelect<T extends boolean = true> {
|
|
4187
|
+
tenant?: T;
|
|
4188
|
+
title?: T;
|
|
4189
|
+
generateSlug?: T;
|
|
4190
|
+
slug?: T;
|
|
4191
|
+
description?: T;
|
|
4192
|
+
canvas?: T;
|
|
4193
|
+
status?: T;
|
|
4194
|
+
metadata?: T;
|
|
4195
|
+
updatedAt?: T;
|
|
4196
|
+
createdAt?: T;
|
|
4197
|
+
deletedAt?: T;
|
|
4198
|
+
}
|
|
4199
|
+
/**
|
|
4200
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4201
|
+
* via the `definition` "flow-images_select".
|
|
4202
|
+
*/
|
|
4203
|
+
interface FlowImagesSelect<T extends boolean = true> {
|
|
4204
|
+
tenant?: T;
|
|
4205
|
+
alt?: T;
|
|
4206
|
+
lqip?: T;
|
|
4207
|
+
palette?: T | {
|
|
4208
|
+
vibrant?: T;
|
|
4209
|
+
muted?: T;
|
|
4210
|
+
darkVibrant?: T;
|
|
4211
|
+
darkMuted?: T;
|
|
4212
|
+
lightVibrant?: T;
|
|
4213
|
+
lightMuted?: T;
|
|
4214
|
+
};
|
|
4215
|
+
prefix?: T;
|
|
4216
|
+
updatedAt?: T;
|
|
4217
|
+
createdAt?: T;
|
|
4218
|
+
url?: T;
|
|
4219
|
+
thumbnailURL?: T;
|
|
4220
|
+
filename?: T;
|
|
4221
|
+
mimeType?: T;
|
|
4222
|
+
filesize?: T;
|
|
4223
|
+
width?: T;
|
|
4224
|
+
height?: T;
|
|
4225
|
+
focalX?: T;
|
|
4226
|
+
focalY?: T;
|
|
4227
|
+
sizes?: T | {
|
|
4228
|
+
'384'?: T | {
|
|
4229
|
+
url?: T;
|
|
4230
|
+
width?: T;
|
|
4231
|
+
height?: T;
|
|
4232
|
+
mimeType?: T;
|
|
4233
|
+
filesize?: T;
|
|
4234
|
+
filename?: T;
|
|
4235
|
+
};
|
|
4236
|
+
'768'?: T | {
|
|
4237
|
+
url?: T;
|
|
4238
|
+
width?: T;
|
|
4239
|
+
height?: T;
|
|
4240
|
+
mimeType?: T;
|
|
4241
|
+
filesize?: T;
|
|
4242
|
+
filename?: T;
|
|
4243
|
+
};
|
|
4244
|
+
'1536'?: T | {
|
|
4245
|
+
url?: T;
|
|
4246
|
+
width?: T;
|
|
4247
|
+
height?: T;
|
|
4248
|
+
mimeType?: T;
|
|
4249
|
+
filesize?: T;
|
|
4250
|
+
filename?: T;
|
|
4251
|
+
};
|
|
4252
|
+
};
|
|
4253
|
+
}
|
|
4091
4254
|
/**
|
|
4092
4255
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4093
4256
|
* via the `definition` "forms_select".
|
|
@@ -4281,4 +4444,4 @@ declare module 'payload' {
|
|
|
4281
4444
|
}
|
|
4282
4445
|
}
|
|
4283
4446
|
|
|
4284
|
-
export type { DocumentCategory as $, Audience as A, BrandLogo as B, CartItem as C,
|
|
4447
|
+
export type { DocumentCategory as $, Audience as A, BrandLogo as B, CartItem as C, FulfillmentItem as D, EmailLog as E, Form as F, ReturnProduct as G, Exchange as H, IframeBlock as I, ExchangeProduct 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, PayloadKvSelect as a$, Playlist as a0, Music as a1, PlaylistImage as a2, Flow as a3, FlowImage as a4, FormSubmission as a5, PayloadKv as a6, PayloadLockedDocument as a7, PayloadPreference as a8, PayloadMigration as a9, ReturnProductsSelect as aA, ExchangesSelect as aB, ExchangeProductsSelect as aC, CustomersSelect as aD, CustomerAddressesSelect as aE, CustomerGroupsSelect as aF, CustomerGroupImagesSelect as aG, CartsSelect as aH, CartItemsSelect as aI, DiscountsSelect as aJ, ShippingPoliciesSelect as aK, PostsSelect as aL, PostAuthorsSelect as aM, PostCategoriesSelect as aN, PostTagsSelect as aO, PostImagesSelect as aP, DocumentsSelect as aQ, DocumentCategoriesSelect as aR, DocumentTypesSelect as aS, DocumentImagesSelect as aT, PlaylistsSelect as aU, MusicsSelect as aV, PlaylistImagesSelect as aW, FlowsSelect as aX, FlowImagesSelect as aY, FormsSelect as aZ, FormSubmissionsSelect as a_, UsersSelect as aa, MediaSelect as ab, AudiencesSelect as ac, EmailLogsSelect as ad, TenantsSelect as ae, TenantMetadataSelect as af, ApiUsageSelect as ag, SubscriptionsSelect as ah, BillingHistorySelect as ai, TenantLogosSelect as aj, TenantOgImagesSelect as ak, ProductsSelect as al, ProductVariantsSelect as am, ProductOptionsSelect as an, ProductCategoriesSelect as ao, ProductTagsSelect as ap, ProductCollectionsSelect as aq, BrandsSelect as ar, BrandLogosSelect as as, ProductImagesSelect as at, OrdersSelect as au, OrderProductsSelect as av, TransactionsSelect as aw, FulfillmentsSelect as ax, FulfillmentItemsSelect as ay, ReturnsSelect as az, Fulfillment as b, PayloadLockedDocumentsSelect as b0, PayloadPreferencesSelect as b1, PayloadMigrationsSelect as b2, CollectionsWidget as b3, Auth as b4, 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 };
|