@01.software/sdk 0.1.6 → 0.1.8
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 +3 -0
- package/dist/{auth-BIQrgvB-.d.cts → auth-BnCTXZG0.d.cts} +1 -1
- package/dist/{auth-CRlgtFpv.d.ts → auth-Cxfq94pG.d.ts} +1 -1
- package/dist/auth.d.cts +2 -2
- package/dist/auth.d.ts +2 -2
- 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/metadata.cjs +70 -0
- package/dist/metadata.cjs.map +1 -0
- package/dist/metadata.d.cts +18 -0
- package/dist/metadata.d.ts +18 -0
- package/dist/metadata.js +50 -0
- package/dist/metadata.js.map +1 -0
- package/dist/{payload-types-XZDjUjRT.d.cts → payload-types-DcOQUD4x.d.cts} +438 -187
- package/dist/{payload-types-XZDjUjRT.d.ts → payload-types-DcOQUD4x.d.ts} +438 -187
- package/dist/{webhook-CFVJAqOx.d.ts → webhook-E1YlE_k1.d.cts} +2 -2
- package/dist/{webhook-BkbRPVAd.d.cts → webhook-xdgxEN8s.d.ts} +2 -2
- package/dist/webhook.d.cts +2 -2
- package/dist/webhook.d.ts +2 -2
- package/package.json +11 -1
|
@@ -51,6 +51,8 @@ interface Config {
|
|
|
51
51
|
transactions: Transaction;
|
|
52
52
|
customers: Customer;
|
|
53
53
|
'customer-addresses': CustomerAddress;
|
|
54
|
+
'customer-groups': CustomerGroup;
|
|
55
|
+
'customer-group-images': CustomerGroupImage;
|
|
54
56
|
carts: Cart;
|
|
55
57
|
'cart-items': CartItem;
|
|
56
58
|
discounts: Discount;
|
|
@@ -103,6 +105,9 @@ interface Config {
|
|
|
103
105
|
orders: 'orders';
|
|
104
106
|
addresses: 'customer-addresses';
|
|
105
107
|
};
|
|
108
|
+
'customer-groups': {
|
|
109
|
+
customers: 'customers';
|
|
110
|
+
};
|
|
106
111
|
carts: {
|
|
107
112
|
items: 'cart-items';
|
|
108
113
|
};
|
|
@@ -144,6 +149,8 @@ interface Config {
|
|
|
144
149
|
transactions: TransactionsSelect<false> | TransactionsSelect<true>;
|
|
145
150
|
customers: CustomersSelect<false> | CustomersSelect<true>;
|
|
146
151
|
'customer-addresses': CustomerAddressesSelect<false> | CustomerAddressesSelect<true>;
|
|
152
|
+
'customer-groups': CustomerGroupsSelect<false> | CustomerGroupsSelect<true>;
|
|
153
|
+
'customer-group-images': CustomerGroupImagesSelect<false> | CustomerGroupImagesSelect<true>;
|
|
147
154
|
carts: CartsSelect<false> | CartsSelect<true>;
|
|
148
155
|
'cart-items': CartItemsSelect<false> | CartItemsSelect<true>;
|
|
149
156
|
discounts: DiscountsSelect<false> | DiscountsSelect<true>;
|
|
@@ -911,17 +918,6 @@ interface Product {
|
|
|
911
918
|
tenant?: (number | null) | Tenant;
|
|
912
919
|
title: string;
|
|
913
920
|
subtitle?: string | null;
|
|
914
|
-
/**
|
|
915
|
-
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
916
|
-
*/
|
|
917
|
-
generateSlug?: boolean | null;
|
|
918
|
-
slug?: string | null;
|
|
919
|
-
/**
|
|
920
|
-
* Stock Keeping Unit
|
|
921
|
-
*/
|
|
922
|
-
sku?: string | null;
|
|
923
|
-
status?: ('draft' | 'published' | 'archived') | null;
|
|
924
|
-
isSoldOut?: boolean | null;
|
|
925
921
|
thumbnail?: (number | null) | ProductImage;
|
|
926
922
|
images?: (number | ProductImage)[] | null;
|
|
927
923
|
description?: {
|
|
@@ -944,13 +940,6 @@ interface Product {
|
|
|
944
940
|
* Original price before discount
|
|
945
941
|
*/
|
|
946
942
|
compareAtPrice?: number | null;
|
|
947
|
-
categories?: (number | ProductCategory)[] | null;
|
|
948
|
-
tags?: (number | ProductTag)[] | null;
|
|
949
|
-
brand?: (number | null) | Brand;
|
|
950
|
-
shippingPolicy?: (number | null) | ShippingPolicy;
|
|
951
|
-
metadata?: {
|
|
952
|
-
[k: string]: unknown;
|
|
953
|
-
} | unknown[] | string | number | boolean | null;
|
|
954
943
|
variants?: {
|
|
955
944
|
docs?: (number | ProductVariant)[];
|
|
956
945
|
hasNextPage?: boolean;
|
|
@@ -961,6 +950,38 @@ interface Product {
|
|
|
961
950
|
hasNextPage?: boolean;
|
|
962
951
|
totalDocs?: number;
|
|
963
952
|
};
|
|
953
|
+
meta?: {
|
|
954
|
+
/**
|
|
955
|
+
* 검색엔진에 표시되는 제목입니다. 한글 기준 30자, 영문 기준 60자 이내를 권장합니다.
|
|
956
|
+
*/
|
|
957
|
+
title?: string | null;
|
|
958
|
+
/**
|
|
959
|
+
* 검색엔진에 표시되는 설명입니다. 한글 기준 80자, 영문 기준 160자 이내를 권장합니다.
|
|
960
|
+
*/
|
|
961
|
+
description?: string | null;
|
|
962
|
+
/**
|
|
963
|
+
* SNS 공유 시 표시되는 이미지입니다. 1200x630px 권장.
|
|
964
|
+
*/
|
|
965
|
+
image?: (number | null) | Media;
|
|
966
|
+
};
|
|
967
|
+
/**
|
|
968
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
969
|
+
*/
|
|
970
|
+
generateSlug?: boolean | null;
|
|
971
|
+
slug?: string | null;
|
|
972
|
+
/**
|
|
973
|
+
* Stock Keeping Unit
|
|
974
|
+
*/
|
|
975
|
+
sku?: string | null;
|
|
976
|
+
status?: ('draft' | 'published' | 'archived') | null;
|
|
977
|
+
isSoldOut?: boolean | null;
|
|
978
|
+
categories?: (number | ProductCategory)[] | null;
|
|
979
|
+
tags?: (number | ProductTag)[] | null;
|
|
980
|
+
brand?: (number | null) | Brand;
|
|
981
|
+
shippingPolicy?: (number | null) | ShippingPolicy;
|
|
982
|
+
metadata?: {
|
|
983
|
+
[k: string]: unknown;
|
|
984
|
+
} | unknown[] | string | number | boolean | null;
|
|
964
985
|
updatedAt: string;
|
|
965
986
|
createdAt: string;
|
|
966
987
|
}
|
|
@@ -1012,6 +1033,75 @@ interface ProductImage {
|
|
|
1012
1033
|
};
|
|
1013
1034
|
};
|
|
1014
1035
|
}
|
|
1036
|
+
/**
|
|
1037
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1038
|
+
* via the `definition` "product-variants".
|
|
1039
|
+
*/
|
|
1040
|
+
interface ProductVariant {
|
|
1041
|
+
id: number;
|
|
1042
|
+
_order?: string | null;
|
|
1043
|
+
'_product-variants_variants_order'?: string | null;
|
|
1044
|
+
tenant?: (number | null) | Tenant;
|
|
1045
|
+
product: number | Product;
|
|
1046
|
+
title: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* Variant-specific SKU
|
|
1049
|
+
*/
|
|
1050
|
+
sku?: string | null;
|
|
1051
|
+
/**
|
|
1052
|
+
* Override price (uses product price if empty)
|
|
1053
|
+
*/
|
|
1054
|
+
price?: number | null;
|
|
1055
|
+
/**
|
|
1056
|
+
* Barcode (EAN, UPC, etc.)
|
|
1057
|
+
*/
|
|
1058
|
+
barcode?: string | null;
|
|
1059
|
+
/**
|
|
1060
|
+
* Weight in grams (g)
|
|
1061
|
+
*/
|
|
1062
|
+
weight?: number | null;
|
|
1063
|
+
isSoldOut?: boolean | null;
|
|
1064
|
+
images?: (number | ProductImage)[] | null;
|
|
1065
|
+
metadata?: {
|
|
1066
|
+
[k: string]: unknown;
|
|
1067
|
+
} | unknown[] | string | number | boolean | null;
|
|
1068
|
+
productOptions?: {
|
|
1069
|
+
docs?: (number | ProductOption)[];
|
|
1070
|
+
hasNextPage?: boolean;
|
|
1071
|
+
totalDocs?: number;
|
|
1072
|
+
};
|
|
1073
|
+
updatedAt: string;
|
|
1074
|
+
createdAt: string;
|
|
1075
|
+
}
|
|
1076
|
+
/**
|
|
1077
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1078
|
+
* via the `definition` "product-options".
|
|
1079
|
+
*/
|
|
1080
|
+
interface ProductOption {
|
|
1081
|
+
id: number;
|
|
1082
|
+
_order?: string | null;
|
|
1083
|
+
'_product-options_productOptions_order'?: string | null;
|
|
1084
|
+
'_product-options_options_order'?: string | null;
|
|
1085
|
+
tenant?: (number | null) | Tenant;
|
|
1086
|
+
product: number | Product;
|
|
1087
|
+
variant?: (number | null) | ProductVariant;
|
|
1088
|
+
title?: string | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* Option-specific SKU
|
|
1091
|
+
*/
|
|
1092
|
+
sku?: string | null;
|
|
1093
|
+
stock: number;
|
|
1094
|
+
/**
|
|
1095
|
+
* Reserved by carts (available = stock - reservedStock)
|
|
1096
|
+
*/
|
|
1097
|
+
reservedStock?: number | null;
|
|
1098
|
+
/**
|
|
1099
|
+
* Price adjustment (add/subtract from base price)
|
|
1100
|
+
*/
|
|
1101
|
+
priceAdjustment?: number | null;
|
|
1102
|
+
updatedAt: string;
|
|
1103
|
+
createdAt: string;
|
|
1104
|
+
}
|
|
1015
1105
|
/**
|
|
1016
1106
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1017
1107
|
* via the `definition` "product-categories".
|
|
@@ -1120,75 +1210,6 @@ interface ShippingPolicy {
|
|
|
1120
1210
|
updatedAt: string;
|
|
1121
1211
|
createdAt: string;
|
|
1122
1212
|
}
|
|
1123
|
-
/**
|
|
1124
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1125
|
-
* via the `definition` "product-variants".
|
|
1126
|
-
*/
|
|
1127
|
-
interface ProductVariant {
|
|
1128
|
-
id: number;
|
|
1129
|
-
_order?: string | null;
|
|
1130
|
-
'_product-variants_variants_order'?: string | null;
|
|
1131
|
-
tenant?: (number | null) | Tenant;
|
|
1132
|
-
product: number | Product;
|
|
1133
|
-
title: string;
|
|
1134
|
-
/**
|
|
1135
|
-
* Variant-specific SKU
|
|
1136
|
-
*/
|
|
1137
|
-
sku?: string | null;
|
|
1138
|
-
/**
|
|
1139
|
-
* Override price (uses product price if empty)
|
|
1140
|
-
*/
|
|
1141
|
-
price?: number | null;
|
|
1142
|
-
/**
|
|
1143
|
-
* Barcode (EAN, UPC, etc.)
|
|
1144
|
-
*/
|
|
1145
|
-
barcode?: string | null;
|
|
1146
|
-
/**
|
|
1147
|
-
* Weight in grams (g)
|
|
1148
|
-
*/
|
|
1149
|
-
weight?: number | null;
|
|
1150
|
-
isSoldOut?: boolean | null;
|
|
1151
|
-
images?: (number | ProductImage)[] | null;
|
|
1152
|
-
metadata?: {
|
|
1153
|
-
[k: string]: unknown;
|
|
1154
|
-
} | unknown[] | string | number | boolean | null;
|
|
1155
|
-
productOptions?: {
|
|
1156
|
-
docs?: (number | ProductOption)[];
|
|
1157
|
-
hasNextPage?: boolean;
|
|
1158
|
-
totalDocs?: number;
|
|
1159
|
-
};
|
|
1160
|
-
updatedAt: string;
|
|
1161
|
-
createdAt: string;
|
|
1162
|
-
}
|
|
1163
|
-
/**
|
|
1164
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1165
|
-
* via the `definition` "product-options".
|
|
1166
|
-
*/
|
|
1167
|
-
interface ProductOption {
|
|
1168
|
-
id: number;
|
|
1169
|
-
_order?: string | null;
|
|
1170
|
-
'_product-options_productOptions_order'?: string | null;
|
|
1171
|
-
'_product-options_options_order'?: string | null;
|
|
1172
|
-
tenant?: (number | null) | Tenant;
|
|
1173
|
-
product: number | Product;
|
|
1174
|
-
variant?: (number | null) | ProductVariant;
|
|
1175
|
-
title?: string | null;
|
|
1176
|
-
/**
|
|
1177
|
-
* Option-specific SKU
|
|
1178
|
-
*/
|
|
1179
|
-
sku?: string | null;
|
|
1180
|
-
stock: number;
|
|
1181
|
-
/**
|
|
1182
|
-
* Reserved by carts (available = stock - reservedStock)
|
|
1183
|
-
*/
|
|
1184
|
-
reservedStock?: number | null;
|
|
1185
|
-
/**
|
|
1186
|
-
* Price adjustment (add/subtract from base price)
|
|
1187
|
-
*/
|
|
1188
|
-
priceAdjustment?: number | null;
|
|
1189
|
-
updatedAt: string;
|
|
1190
|
-
createdAt: string;
|
|
1191
|
-
}
|
|
1192
1213
|
/**
|
|
1193
1214
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1194
1215
|
* via the `definition` "orders".
|
|
@@ -1276,6 +1297,7 @@ interface Customer {
|
|
|
1276
1297
|
metadata?: {
|
|
1277
1298
|
[k: string]: unknown;
|
|
1278
1299
|
} | unknown[] | string | number | boolean | null;
|
|
1300
|
+
groups?: (number | CustomerGroup)[] | null;
|
|
1279
1301
|
orders?: {
|
|
1280
1302
|
docs?: (number | Order)[];
|
|
1281
1303
|
hasNextPage?: boolean;
|
|
@@ -1290,6 +1312,82 @@ interface Customer {
|
|
|
1290
1312
|
createdAt: string;
|
|
1291
1313
|
collection: 'customers';
|
|
1292
1314
|
}
|
|
1315
|
+
/**
|
|
1316
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1317
|
+
* via the `definition` "customer-groups".
|
|
1318
|
+
*/
|
|
1319
|
+
interface CustomerGroup {
|
|
1320
|
+
id: number;
|
|
1321
|
+
_order?: string | null;
|
|
1322
|
+
tenant?: (number | null) | Tenant;
|
|
1323
|
+
title: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1326
|
+
*/
|
|
1327
|
+
generateSlug?: boolean | null;
|
|
1328
|
+
slug?: string | null;
|
|
1329
|
+
description?: string | null;
|
|
1330
|
+
color?: string | null;
|
|
1331
|
+
image?: (number | null) | CustomerGroupImage;
|
|
1332
|
+
metadata?: {
|
|
1333
|
+
[k: string]: unknown;
|
|
1334
|
+
} | unknown[] | string | number | boolean | null;
|
|
1335
|
+
customers?: {
|
|
1336
|
+
docs?: (number | Customer)[];
|
|
1337
|
+
hasNextPage?: boolean;
|
|
1338
|
+
totalDocs?: number;
|
|
1339
|
+
};
|
|
1340
|
+
updatedAt: string;
|
|
1341
|
+
createdAt: string;
|
|
1342
|
+
}
|
|
1343
|
+
/**
|
|
1344
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1345
|
+
* via the `definition` "customer-group-images".
|
|
1346
|
+
*/
|
|
1347
|
+
interface CustomerGroupImage {
|
|
1348
|
+
id: number;
|
|
1349
|
+
tenant?: (number | null) | Tenant;
|
|
1350
|
+
alt?: string | null;
|
|
1351
|
+
lqip?: string | null;
|
|
1352
|
+
palette?: {
|
|
1353
|
+
vibrant?: string | null;
|
|
1354
|
+
muted?: string | null;
|
|
1355
|
+
darkVibrant?: string | null;
|
|
1356
|
+
darkMuted?: string | null;
|
|
1357
|
+
lightVibrant?: string | null;
|
|
1358
|
+
lightMuted?: string | null;
|
|
1359
|
+
};
|
|
1360
|
+
prefix?: string | null;
|
|
1361
|
+
updatedAt: string;
|
|
1362
|
+
createdAt: string;
|
|
1363
|
+
url?: string | null;
|
|
1364
|
+
thumbnailURL?: string | null;
|
|
1365
|
+
filename?: string | null;
|
|
1366
|
+
mimeType?: string | null;
|
|
1367
|
+
filesize?: number | null;
|
|
1368
|
+
width?: number | null;
|
|
1369
|
+
height?: number | null;
|
|
1370
|
+
focalX?: number | null;
|
|
1371
|
+
focalY?: number | null;
|
|
1372
|
+
sizes?: {
|
|
1373
|
+
'512'?: {
|
|
1374
|
+
url?: string | null;
|
|
1375
|
+
width?: number | null;
|
|
1376
|
+
height?: number | null;
|
|
1377
|
+
mimeType?: string | null;
|
|
1378
|
+
filesize?: number | null;
|
|
1379
|
+
filename?: string | null;
|
|
1380
|
+
};
|
|
1381
|
+
'1024'?: {
|
|
1382
|
+
url?: string | null;
|
|
1383
|
+
width?: number | null;
|
|
1384
|
+
height?: number | null;
|
|
1385
|
+
mimeType?: string | null;
|
|
1386
|
+
filesize?: number | null;
|
|
1387
|
+
filename?: string | null;
|
|
1388
|
+
};
|
|
1389
|
+
};
|
|
1390
|
+
}
|
|
1293
1391
|
/**
|
|
1294
1392
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1295
1393
|
* via the `definition` "customer-addresses".
|
|
@@ -1586,22 +1684,12 @@ interface Post {
|
|
|
1586
1684
|
id: number;
|
|
1587
1685
|
_order?: string | null;
|
|
1588
1686
|
tenant?: (number | null) | Tenant;
|
|
1589
|
-
thumbnail?: (number | null) | PostImage;
|
|
1590
1687
|
title: string;
|
|
1591
1688
|
subtitle?: string | null;
|
|
1592
|
-
/**
|
|
1593
|
-
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1594
|
-
*/
|
|
1595
|
-
generateSlug?: boolean | null;
|
|
1596
|
-
slug?: string | null;
|
|
1597
|
-
author?: (number | null) | Author;
|
|
1598
1689
|
/**
|
|
1599
1690
|
* Brief summary for listing pages
|
|
1600
1691
|
*/
|
|
1601
1692
|
excerpt?: string | null;
|
|
1602
|
-
publishedAt?: string | null;
|
|
1603
|
-
categories?: (number | PostCategory)[] | null;
|
|
1604
|
-
tags?: (number | PostTag)[] | null;
|
|
1605
1693
|
content?: {
|
|
1606
1694
|
root: {
|
|
1607
1695
|
type: string;
|
|
@@ -1617,6 +1705,30 @@ interface Post {
|
|
|
1617
1705
|
};
|
|
1618
1706
|
[k: string]: unknown;
|
|
1619
1707
|
} | null;
|
|
1708
|
+
meta?: {
|
|
1709
|
+
/**
|
|
1710
|
+
* 검색엔진에 표시되는 제목입니다. 한글 기준 30자, 영문 기준 60자 이내를 권장합니다.
|
|
1711
|
+
*/
|
|
1712
|
+
title?: string | null;
|
|
1713
|
+
/**
|
|
1714
|
+
* 검색엔진에 표시되는 설명입니다. 한글 기준 80자, 영문 기준 160자 이내를 권장합니다.
|
|
1715
|
+
*/
|
|
1716
|
+
description?: string | null;
|
|
1717
|
+
/**
|
|
1718
|
+
* SNS 공유 시 표시되는 이미지입니다. 1200x630px 권장.
|
|
1719
|
+
*/
|
|
1720
|
+
image?: (number | null) | Media;
|
|
1721
|
+
};
|
|
1722
|
+
thumbnail?: (number | null) | PostImage;
|
|
1723
|
+
/**
|
|
1724
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1725
|
+
*/
|
|
1726
|
+
generateSlug?: boolean | null;
|
|
1727
|
+
slug?: string | null;
|
|
1728
|
+
author?: (number | null) | Author;
|
|
1729
|
+
publishedAt?: string | null;
|
|
1730
|
+
categories?: (number | PostCategory)[] | null;
|
|
1731
|
+
tags?: (number | PostTag)[] | null;
|
|
1620
1732
|
updatedAt: string;
|
|
1621
1733
|
createdAt: string;
|
|
1622
1734
|
_status?: ('draft' | 'published') | null;
|
|
@@ -1736,32 +1848,14 @@ interface PostTag {
|
|
|
1736
1848
|
createdAt: string;
|
|
1737
1849
|
}
|
|
1738
1850
|
/**
|
|
1739
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1740
|
-
* via the `definition` "documents".
|
|
1741
|
-
*/
|
|
1742
|
-
interface Document {
|
|
1743
|
-
id: number;
|
|
1744
|
-
_order?: string | null;
|
|
1745
|
-
tenant?: (number | null) | Tenant;
|
|
1746
|
-
title: string;
|
|
1747
|
-
/**
|
|
1748
|
-
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1749
|
-
*/
|
|
1750
|
-
generateSlug?: boolean | null;
|
|
1751
|
-
slug?: string | null;
|
|
1752
|
-
type: 'terms_of_service' | 'privacy_policy' | 'guide' | 'notice' | 'legal_notice' | 'refund_policy' | 'other';
|
|
1753
|
-
/**
|
|
1754
|
-
* Document version (e.g. 1.0, 1.1, 2.0)
|
|
1755
|
-
*/
|
|
1756
|
-
version: string;
|
|
1757
|
-
/**
|
|
1758
|
-
* Effective date
|
|
1759
|
-
*/
|
|
1760
|
-
effectiveDate?: string | null;
|
|
1761
|
-
/**
|
|
1762
|
-
* Expiry date (optional)
|
|
1763
|
-
*/
|
|
1764
|
-
expiryDate?: string | null;
|
|
1851
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1852
|
+
* via the `definition` "documents".
|
|
1853
|
+
*/
|
|
1854
|
+
interface Document {
|
|
1855
|
+
id: number;
|
|
1856
|
+
_order?: string | null;
|
|
1857
|
+
tenant?: (number | null) | Tenant;
|
|
1858
|
+
title: string;
|
|
1765
1859
|
summary?: string | null;
|
|
1766
1860
|
content: {
|
|
1767
1861
|
root: {
|
|
@@ -1778,7 +1872,6 @@ interface Document {
|
|
|
1778
1872
|
};
|
|
1779
1873
|
[k: string]: unknown;
|
|
1780
1874
|
};
|
|
1781
|
-
category?: (number | null) | DocumentCategory;
|
|
1782
1875
|
/**
|
|
1783
1876
|
* Tags for search (e.g. GDPR, CCPA)
|
|
1784
1877
|
*/
|
|
@@ -1786,14 +1879,47 @@ interface Document {
|
|
|
1786
1879
|
tag?: string | null;
|
|
1787
1880
|
id?: string | null;
|
|
1788
1881
|
}[] | null;
|
|
1789
|
-
/**
|
|
1790
|
-
* Document that requires user agreement
|
|
1791
|
-
*/
|
|
1792
|
-
isRequired?: boolean | null;
|
|
1793
1882
|
/**
|
|
1794
1883
|
* Changelog (differences from previous version)
|
|
1795
1884
|
*/
|
|
1796
1885
|
changeLog?: string | null;
|
|
1886
|
+
meta?: {
|
|
1887
|
+
/**
|
|
1888
|
+
* 검색엔진에 표시되는 제목입니다. 한글 기준 30자, 영문 기준 60자 이내를 권장합니다.
|
|
1889
|
+
*/
|
|
1890
|
+
title?: string | null;
|
|
1891
|
+
/**
|
|
1892
|
+
* 검색엔진에 표시되는 설명입니다. 한글 기준 80자, 영문 기준 160자 이내를 권장합니다.
|
|
1893
|
+
*/
|
|
1894
|
+
description?: string | null;
|
|
1895
|
+
/**
|
|
1896
|
+
* SNS 공유 시 표시되는 이미지입니다. 1200x630px 권장.
|
|
1897
|
+
*/
|
|
1898
|
+
image?: (number | null) | Media;
|
|
1899
|
+
};
|
|
1900
|
+
/**
|
|
1901
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1902
|
+
*/
|
|
1903
|
+
generateSlug?: boolean | null;
|
|
1904
|
+
slug?: string | null;
|
|
1905
|
+
type: 'terms_of_service' | 'privacy_policy' | 'guide' | 'notice' | 'legal_notice' | 'refund_policy' | 'other';
|
|
1906
|
+
/**
|
|
1907
|
+
* Document version (e.g. 1.0, 1.1, 2.0)
|
|
1908
|
+
*/
|
|
1909
|
+
version: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* Effective date
|
|
1912
|
+
*/
|
|
1913
|
+
effectiveDate?: string | null;
|
|
1914
|
+
/**
|
|
1915
|
+
* Expiry date (optional)
|
|
1916
|
+
*/
|
|
1917
|
+
expiryDate?: string | null;
|
|
1918
|
+
category?: (number | null) | DocumentCategory;
|
|
1919
|
+
/**
|
|
1920
|
+
* Document that requires user agreement
|
|
1921
|
+
*/
|
|
1922
|
+
isRequired?: boolean | null;
|
|
1797
1923
|
updatedAt: string;
|
|
1798
1924
|
createdAt: string;
|
|
1799
1925
|
_status?: ('draft' | 'published') | null;
|
|
@@ -1874,19 +2000,59 @@ interface DocumentImage {
|
|
|
1874
2000
|
interface Playlist {
|
|
1875
2001
|
id: number;
|
|
1876
2002
|
tenant?: (number | null) | Tenant;
|
|
1877
|
-
image?: (number | null) | PlaylistImage;
|
|
1878
2003
|
title: string;
|
|
1879
|
-
/**
|
|
1880
|
-
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1881
|
-
*/
|
|
1882
|
-
generateSlug?: boolean | null;
|
|
1883
|
-
slug?: string | null;
|
|
1884
2004
|
description?: string | null;
|
|
1885
2005
|
musics?: {
|
|
1886
2006
|
docs?: (number | Music)[];
|
|
1887
2007
|
hasNextPage?: boolean;
|
|
1888
2008
|
totalDocs?: number;
|
|
1889
2009
|
};
|
|
2010
|
+
meta?: {
|
|
2011
|
+
/**
|
|
2012
|
+
* 검색엔진에 표시되는 제목입니다. 한글 기준 30자, 영문 기준 60자 이내를 권장합니다.
|
|
2013
|
+
*/
|
|
2014
|
+
title?: string | null;
|
|
2015
|
+
/**
|
|
2016
|
+
* 검색엔진에 표시되는 설명입니다. 한글 기준 80자, 영문 기준 160자 이내를 권장합니다.
|
|
2017
|
+
*/
|
|
2018
|
+
description?: string | null;
|
|
2019
|
+
/**
|
|
2020
|
+
* SNS 공유 시 표시되는 이미지입니다. 1200x630px 권장.
|
|
2021
|
+
*/
|
|
2022
|
+
image?: (number | null) | Media;
|
|
2023
|
+
};
|
|
2024
|
+
image?: (number | null) | PlaylistImage;
|
|
2025
|
+
/**
|
|
2026
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2027
|
+
*/
|
|
2028
|
+
generateSlug?: boolean | null;
|
|
2029
|
+
slug?: string | null;
|
|
2030
|
+
updatedAt: string;
|
|
2031
|
+
createdAt: string;
|
|
2032
|
+
}
|
|
2033
|
+
/**
|
|
2034
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2035
|
+
* via the `definition` "musics".
|
|
2036
|
+
*/
|
|
2037
|
+
interface Music {
|
|
2038
|
+
id: number;
|
|
2039
|
+
_musics_musics_order?: string | null;
|
|
2040
|
+
tenant?: (number | null) | Tenant;
|
|
2041
|
+
playlist: number | Playlist;
|
|
2042
|
+
url: string;
|
|
2043
|
+
/**
|
|
2044
|
+
* Auto-filled from YouTube
|
|
2045
|
+
*/
|
|
2046
|
+
title: string;
|
|
2047
|
+
/**
|
|
2048
|
+
* Auto-filled from YouTube channel
|
|
2049
|
+
*/
|
|
2050
|
+
artist?: string | null;
|
|
2051
|
+
/**
|
|
2052
|
+
* Duration in seconds (auto-filled from YouTube)
|
|
2053
|
+
*/
|
|
2054
|
+
duration?: number | null;
|
|
2055
|
+
isValid?: boolean | null;
|
|
1890
2056
|
updatedAt: string;
|
|
1891
2057
|
createdAt: string;
|
|
1892
2058
|
}
|
|
@@ -1938,32 +2104,6 @@ interface PlaylistImage {
|
|
|
1938
2104
|
};
|
|
1939
2105
|
};
|
|
1940
2106
|
}
|
|
1941
|
-
/**
|
|
1942
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1943
|
-
* via the `definition` "musics".
|
|
1944
|
-
*/
|
|
1945
|
-
interface Music {
|
|
1946
|
-
id: number;
|
|
1947
|
-
_musics_musics_order?: string | null;
|
|
1948
|
-
tenant?: (number | null) | Tenant;
|
|
1949
|
-
playlist: number | Playlist;
|
|
1950
|
-
url: string;
|
|
1951
|
-
/**
|
|
1952
|
-
* Auto-filled from YouTube
|
|
1953
|
-
*/
|
|
1954
|
-
title: string;
|
|
1955
|
-
/**
|
|
1956
|
-
* Auto-filled from YouTube channel
|
|
1957
|
-
*/
|
|
1958
|
-
artist?: string | null;
|
|
1959
|
-
/**
|
|
1960
|
-
* Duration in seconds (auto-filled from YouTube)
|
|
1961
|
-
*/
|
|
1962
|
-
duration?: number | null;
|
|
1963
|
-
isValid?: boolean | null;
|
|
1964
|
-
updatedAt: string;
|
|
1965
|
-
createdAt: string;
|
|
1966
|
-
}
|
|
1967
2107
|
/**
|
|
1968
2108
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1969
2109
|
* via the `definition` "galleries".
|
|
@@ -1972,15 +2112,29 @@ interface Gallery {
|
|
|
1972
2112
|
id: number;
|
|
1973
2113
|
_order?: string | null;
|
|
1974
2114
|
tenant?: (number | null) | Tenant;
|
|
1975
|
-
thumbnail?: (number | null) | GalleryImage;
|
|
1976
2115
|
title: string;
|
|
2116
|
+
description?: string | null;
|
|
2117
|
+
images: (number | GalleryImage)[];
|
|
2118
|
+
meta?: {
|
|
2119
|
+
/**
|
|
2120
|
+
* 검색엔진에 표시되는 제목입니다. 한글 기준 30자, 영문 기준 60자 이내를 권장합니다.
|
|
2121
|
+
*/
|
|
2122
|
+
title?: string | null;
|
|
2123
|
+
/**
|
|
2124
|
+
* 검색엔진에 표시되는 설명입니다. 한글 기준 80자, 영문 기준 160자 이내를 권장합니다.
|
|
2125
|
+
*/
|
|
2126
|
+
description?: string | null;
|
|
2127
|
+
/**
|
|
2128
|
+
* SNS 공유 시 표시되는 이미지입니다. 1200x630px 권장.
|
|
2129
|
+
*/
|
|
2130
|
+
image?: (number | null) | Media;
|
|
2131
|
+
};
|
|
2132
|
+
thumbnail?: (number | null) | GalleryImage;
|
|
1977
2133
|
/**
|
|
1978
2134
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1979
2135
|
*/
|
|
1980
2136
|
generateSlug?: boolean | null;
|
|
1981
2137
|
slug?: string | null;
|
|
1982
|
-
description?: string | null;
|
|
1983
|
-
images: (number | GalleryImage)[];
|
|
1984
2138
|
updatedAt: string;
|
|
1985
2139
|
createdAt: string;
|
|
1986
2140
|
}
|
|
@@ -2322,6 +2476,12 @@ interface PayloadLockedDocument {
|
|
|
2322
2476
|
} | null) | ({
|
|
2323
2477
|
relationTo: 'customer-addresses';
|
|
2324
2478
|
value: number | CustomerAddress;
|
|
2479
|
+
} | null) | ({
|
|
2480
|
+
relationTo: 'customer-groups';
|
|
2481
|
+
value: number | CustomerGroup;
|
|
2482
|
+
} | null) | ({
|
|
2483
|
+
relationTo: 'customer-group-images';
|
|
2484
|
+
value: number | CustomerGroupImage;
|
|
2325
2485
|
} | null) | ({
|
|
2326
2486
|
relationTo: 'carts';
|
|
2327
2487
|
value: number | Cart;
|
|
@@ -2801,23 +2961,28 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
2801
2961
|
tenant?: T;
|
|
2802
2962
|
title?: T;
|
|
2803
2963
|
subtitle?: T;
|
|
2804
|
-
generateSlug?: T;
|
|
2805
|
-
slug?: T;
|
|
2806
|
-
sku?: T;
|
|
2807
|
-
status?: T;
|
|
2808
|
-
isSoldOut?: T;
|
|
2809
2964
|
thumbnail?: T;
|
|
2810
2965
|
images?: T;
|
|
2811
2966
|
description?: T;
|
|
2812
2967
|
price?: T;
|
|
2813
2968
|
compareAtPrice?: T;
|
|
2969
|
+
variants?: T;
|
|
2970
|
+
options?: T;
|
|
2971
|
+
meta?: T | {
|
|
2972
|
+
title?: T;
|
|
2973
|
+
description?: T;
|
|
2974
|
+
image?: T;
|
|
2975
|
+
};
|
|
2976
|
+
generateSlug?: T;
|
|
2977
|
+
slug?: T;
|
|
2978
|
+
sku?: T;
|
|
2979
|
+
status?: T;
|
|
2980
|
+
isSoldOut?: T;
|
|
2814
2981
|
categories?: T;
|
|
2815
2982
|
tags?: T;
|
|
2816
2983
|
brand?: T;
|
|
2817
2984
|
shippingPolicy?: T;
|
|
2818
2985
|
metadata?: T;
|
|
2819
|
-
variants?: T;
|
|
2820
|
-
options?: T;
|
|
2821
2986
|
updatedAt?: T;
|
|
2822
2987
|
createdAt?: T;
|
|
2823
2988
|
}
|
|
@@ -3228,6 +3393,7 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
3228
3393
|
lockedUntil?: T;
|
|
3229
3394
|
note?: T;
|
|
3230
3395
|
metadata?: T;
|
|
3396
|
+
groups?: T;
|
|
3231
3397
|
orders?: T;
|
|
3232
3398
|
addresses?: T;
|
|
3233
3399
|
updatedAt?: T;
|
|
@@ -3251,6 +3417,71 @@ interface CustomerAddressesSelect<T extends boolean = true> {
|
|
|
3251
3417
|
updatedAt?: T;
|
|
3252
3418
|
createdAt?: T;
|
|
3253
3419
|
}
|
|
3420
|
+
/**
|
|
3421
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
3422
|
+
* via the `definition` "customer-groups_select".
|
|
3423
|
+
*/
|
|
3424
|
+
interface CustomerGroupsSelect<T extends boolean = true> {
|
|
3425
|
+
_order?: T;
|
|
3426
|
+
tenant?: T;
|
|
3427
|
+
title?: T;
|
|
3428
|
+
generateSlug?: T;
|
|
3429
|
+
slug?: T;
|
|
3430
|
+
description?: T;
|
|
3431
|
+
color?: T;
|
|
3432
|
+
image?: T;
|
|
3433
|
+
metadata?: T;
|
|
3434
|
+
customers?: T;
|
|
3435
|
+
updatedAt?: T;
|
|
3436
|
+
createdAt?: T;
|
|
3437
|
+
}
|
|
3438
|
+
/**
|
|
3439
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
3440
|
+
* via the `definition` "customer-group-images_select".
|
|
3441
|
+
*/
|
|
3442
|
+
interface CustomerGroupImagesSelect<T extends boolean = true> {
|
|
3443
|
+
tenant?: T;
|
|
3444
|
+
alt?: T;
|
|
3445
|
+
lqip?: T;
|
|
3446
|
+
palette?: T | {
|
|
3447
|
+
vibrant?: T;
|
|
3448
|
+
muted?: T;
|
|
3449
|
+
darkVibrant?: T;
|
|
3450
|
+
darkMuted?: T;
|
|
3451
|
+
lightVibrant?: T;
|
|
3452
|
+
lightMuted?: T;
|
|
3453
|
+
};
|
|
3454
|
+
prefix?: T;
|
|
3455
|
+
updatedAt?: T;
|
|
3456
|
+
createdAt?: T;
|
|
3457
|
+
url?: T;
|
|
3458
|
+
thumbnailURL?: T;
|
|
3459
|
+
filename?: T;
|
|
3460
|
+
mimeType?: T;
|
|
3461
|
+
filesize?: T;
|
|
3462
|
+
width?: T;
|
|
3463
|
+
height?: T;
|
|
3464
|
+
focalX?: T;
|
|
3465
|
+
focalY?: T;
|
|
3466
|
+
sizes?: T | {
|
|
3467
|
+
'512'?: T | {
|
|
3468
|
+
url?: T;
|
|
3469
|
+
width?: T;
|
|
3470
|
+
height?: T;
|
|
3471
|
+
mimeType?: T;
|
|
3472
|
+
filesize?: T;
|
|
3473
|
+
filename?: T;
|
|
3474
|
+
};
|
|
3475
|
+
'1024'?: T | {
|
|
3476
|
+
url?: T;
|
|
3477
|
+
width?: T;
|
|
3478
|
+
height?: T;
|
|
3479
|
+
mimeType?: T;
|
|
3480
|
+
filesize?: T;
|
|
3481
|
+
filename?: T;
|
|
3482
|
+
};
|
|
3483
|
+
};
|
|
3484
|
+
}
|
|
3254
3485
|
/**
|
|
3255
3486
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3256
3487
|
* via the `definition` "carts_select".
|
|
@@ -3338,17 +3569,22 @@ interface ShippingPoliciesSelect<T extends boolean = true> {
|
|
|
3338
3569
|
interface PostsSelect<T extends boolean = true> {
|
|
3339
3570
|
_order?: T;
|
|
3340
3571
|
tenant?: T;
|
|
3341
|
-
thumbnail?: T;
|
|
3342
3572
|
title?: T;
|
|
3343
3573
|
subtitle?: T;
|
|
3574
|
+
excerpt?: T;
|
|
3575
|
+
content?: T;
|
|
3576
|
+
meta?: T | {
|
|
3577
|
+
title?: T;
|
|
3578
|
+
description?: T;
|
|
3579
|
+
image?: T;
|
|
3580
|
+
};
|
|
3581
|
+
thumbnail?: T;
|
|
3344
3582
|
generateSlug?: T;
|
|
3345
3583
|
slug?: T;
|
|
3346
3584
|
author?: T;
|
|
3347
|
-
excerpt?: T;
|
|
3348
3585
|
publishedAt?: T;
|
|
3349
3586
|
categories?: T;
|
|
3350
3587
|
tags?: T;
|
|
3351
|
-
content?: T;
|
|
3352
3588
|
updatedAt?: T;
|
|
3353
3589
|
createdAt?: T;
|
|
3354
3590
|
_status?: T;
|
|
@@ -3458,21 +3694,26 @@ interface DocumentsSelect<T extends boolean = true> {
|
|
|
3458
3694
|
_order?: T;
|
|
3459
3695
|
tenant?: T;
|
|
3460
3696
|
title?: T;
|
|
3697
|
+
summary?: T;
|
|
3698
|
+
content?: T;
|
|
3699
|
+
tags?: T | {
|
|
3700
|
+
tag?: T;
|
|
3701
|
+
id?: T;
|
|
3702
|
+
};
|
|
3703
|
+
changeLog?: T;
|
|
3704
|
+
meta?: T | {
|
|
3705
|
+
title?: T;
|
|
3706
|
+
description?: T;
|
|
3707
|
+
image?: T;
|
|
3708
|
+
};
|
|
3461
3709
|
generateSlug?: T;
|
|
3462
3710
|
slug?: T;
|
|
3463
3711
|
type?: T;
|
|
3464
3712
|
version?: T;
|
|
3465
3713
|
effectiveDate?: T;
|
|
3466
3714
|
expiryDate?: T;
|
|
3467
|
-
summary?: T;
|
|
3468
|
-
content?: T;
|
|
3469
3715
|
category?: T;
|
|
3470
|
-
tags?: T | {
|
|
3471
|
-
tag?: T;
|
|
3472
|
-
id?: T;
|
|
3473
|
-
};
|
|
3474
3716
|
isRequired?: T;
|
|
3475
|
-
changeLog?: T;
|
|
3476
3717
|
updatedAt?: T;
|
|
3477
3718
|
createdAt?: T;
|
|
3478
3719
|
_status?: T;
|
|
@@ -3547,12 +3788,17 @@ interface DocumentImagesSelect<T extends boolean = true> {
|
|
|
3547
3788
|
*/
|
|
3548
3789
|
interface PlaylistsSelect<T extends boolean = true> {
|
|
3549
3790
|
tenant?: T;
|
|
3550
|
-
image?: T;
|
|
3551
3791
|
title?: T;
|
|
3552
|
-
generateSlug?: T;
|
|
3553
|
-
slug?: T;
|
|
3554
3792
|
description?: T;
|
|
3555
3793
|
musics?: T;
|
|
3794
|
+
meta?: T | {
|
|
3795
|
+
title?: T;
|
|
3796
|
+
description?: T;
|
|
3797
|
+
image?: T;
|
|
3798
|
+
};
|
|
3799
|
+
image?: T;
|
|
3800
|
+
generateSlug?: T;
|
|
3801
|
+
slug?: T;
|
|
3556
3802
|
updatedAt?: T;
|
|
3557
3803
|
createdAt?: T;
|
|
3558
3804
|
}
|
|
@@ -3626,12 +3872,17 @@ interface MusicsSelect<T extends boolean = true> {
|
|
|
3626
3872
|
interface GalleriesSelect<T extends boolean = true> {
|
|
3627
3873
|
_order?: T;
|
|
3628
3874
|
tenant?: T;
|
|
3629
|
-
thumbnail?: T;
|
|
3630
3875
|
title?: T;
|
|
3631
|
-
generateSlug?: T;
|
|
3632
|
-
slug?: T;
|
|
3633
3876
|
description?: T;
|
|
3634
3877
|
images?: T;
|
|
3878
|
+
meta?: T | {
|
|
3879
|
+
title?: T;
|
|
3880
|
+
description?: T;
|
|
3881
|
+
image?: T;
|
|
3882
|
+
};
|
|
3883
|
+
thumbnail?: T;
|
|
3884
|
+
generateSlug?: T;
|
|
3885
|
+
slug?: T;
|
|
3635
3886
|
updatedAt?: T;
|
|
3636
3887
|
createdAt?: T;
|
|
3637
3888
|
}
|
|
@@ -3862,4 +4113,4 @@ declare module 'payload' {
|
|
|
3862
4113
|
}
|
|
3863
4114
|
}
|
|
3864
4115
|
|
|
3865
|
-
export type {
|
|
4116
|
+
export type { PlaylistImage as $, Audience as A, BrandLogo as B, CartItem as C, ExchangeProduct as D, EmailLog as E, Fulfillment as F, FulfillmentItem as G, Cart as H, IframeBlock as I, Discount as J, Post as K, PostImage as L, Media as M, Author as N, Order as O, ProductOption as P, PostCategory as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, PostTag as V, Document as W, DocumentCategory as X, DocumentImage as Y, Playlist as Z, Music as _, OrderProduct as a, Auth as a$, Gallery as a0, GalleryImage as a1, Form as a2, FormSubmission as a3, PayloadKv as a4, PayloadLockedDocument as a5, PayloadPreference as a6, PayloadMigration as a7, UsersSelect as a8, MediaSelect as a9, CustomersSelect as aA, CustomerAddressesSelect as aB, CustomerGroupsSelect as aC, CustomerGroupImagesSelect as aD, CartsSelect as aE, CartItemsSelect as aF, DiscountsSelect as aG, ShippingPoliciesSelect as aH, PostsSelect as aI, PostCategoriesSelect as aJ, PostTagsSelect as aK, PostImagesSelect as aL, AuthorsSelect as aM, DocumentsSelect as aN, DocumentCategoriesSelect as aO, DocumentImagesSelect as aP, PlaylistsSelect as aQ, PlaylistImagesSelect as aR, MusicsSelect as aS, GalleriesSelect as aT, GalleryImagesSelect as aU, FormsSelect as aV, FormSubmissionsSelect as aW, PayloadKvSelect as aX, PayloadLockedDocumentsSelect as aY, PayloadPreferencesSelect as aZ, PayloadMigrationsSelect as a_, AudiencesSelect as aa, EmailLogsSelect as ab, TenantsSelect as ac, TenantMetadataSelect as ad, TenantLogosSelect as ae, TenantOgImagesSelect as af, ApiUsageSelect as ag, SubscriptionsSelect as ah, BillingHistorySelect as ai, ProductsSelect as aj, ProductVariantsSelect as ak, ProductOptionsSelect as al, ProductCategoriesSelect as am, ProductTagsSelect as an, ProductImagesSelect as ao, BrandsSelect as ap, BrandLogosSelect as aq, OrdersSelect as ar, OrderProductsSelect as as, ReturnsSelect as at, ReturnProductsSelect as au, ExchangesSelect as av, ExchangeProductsSelect as aw, FulfillmentsSelect as ax, FulfillmentItemsSelect as ay, TransactionsSelect as az, Config as b, CustomerAuthOperations as c, PlayerBlock as d, CodeBlock as e, User as f, Tenant as g, TenantMetadatum as h, TenantOgImage as i, TenantLogo as j, ApiUsage as k, Subscription as l, BillingHistory as m, Product as n, ProductImage as o, ProductVariant as p, ProductCategory as q, ProductTag as r, Brand as s, ShippingPolicy as t, Customer as u, CustomerGroup as v, CustomerGroupImage as w, CustomerAddress as x, ReturnProduct as y, Exchange as z };
|