@atomic-solutions/schemas 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +34 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +34 -37
- package/dist/index.js.map +1 -1
- package/dist/{payment.schema-CjccuGNs.d.cts → payment.schema-6SVuX8nC.d.cts} +232 -199
- package/dist/{payment.schema-CjccuGNs.d.ts → payment.schema-6SVuX8nC.d.ts} +232 -199
- package/dist/woocommerce/index.cjs +34 -36
- package/dist/woocommerce/index.cjs.map +1 -1
- package/dist/woocommerce/index.d.cts +1 -1
- package/dist/woocommerce/index.d.ts +1 -1
- package/dist/woocommerce/index.js +34 -37
- package/dist/woocommerce/index.js.map +1 -1
- package/dist/woocommerce-admin/index.d.cts +104 -104
- package/dist/woocommerce-admin/index.d.ts +104 -104
- package/package.json +1 -1
|
@@ -136,12 +136,12 @@ declare const couponSchema: z.ZodObject<{
|
|
|
136
136
|
key: z.ZodString;
|
|
137
137
|
value: z.ZodAny;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
key: string;
|
|
140
139
|
id: number;
|
|
140
|
+
key: string;
|
|
141
141
|
value?: any;
|
|
142
142
|
}, {
|
|
143
|
-
key: string;
|
|
144
143
|
id: number;
|
|
144
|
+
key: string;
|
|
145
145
|
value?: any;
|
|
146
146
|
}>, "many">>;
|
|
147
147
|
} & {
|
|
@@ -204,8 +204,8 @@ declare const couponSchema: z.ZodObject<{
|
|
|
204
204
|
maximum_amount: string;
|
|
205
205
|
email_restrictions: string[];
|
|
206
206
|
meta_data?: {
|
|
207
|
-
key: string;
|
|
208
207
|
id: number;
|
|
208
|
+
key: string;
|
|
209
209
|
value?: any;
|
|
210
210
|
}[] | undefined;
|
|
211
211
|
}, {
|
|
@@ -246,8 +246,8 @@ declare const couponSchema: z.ZodObject<{
|
|
|
246
246
|
maximum_amount: string;
|
|
247
247
|
email_restrictions: string[];
|
|
248
248
|
meta_data?: {
|
|
249
|
-
key: string;
|
|
250
249
|
id: number;
|
|
250
|
+
key: string;
|
|
251
251
|
value?: any;
|
|
252
252
|
}[] | undefined;
|
|
253
253
|
}>;
|
|
@@ -357,12 +357,12 @@ declare const customerSchema: z.ZodObject<{
|
|
|
357
357
|
key: z.ZodString;
|
|
358
358
|
value: z.ZodAny;
|
|
359
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
|
-
key: string;
|
|
361
360
|
id: number;
|
|
361
|
+
key: string;
|
|
362
362
|
value?: any;
|
|
363
363
|
}, {
|
|
364
|
-
key: string;
|
|
365
364
|
id: number;
|
|
365
|
+
key: string;
|
|
366
366
|
value?: any;
|
|
367
367
|
}>, "many">>;
|
|
368
368
|
} & {
|
|
@@ -504,8 +504,8 @@ declare const customerSchema: z.ZodObject<{
|
|
|
504
504
|
is_paying_customer: boolean;
|
|
505
505
|
avatar_url: string;
|
|
506
506
|
meta_data?: {
|
|
507
|
-
key: string;
|
|
508
507
|
id: number;
|
|
508
|
+
key: string;
|
|
509
509
|
value?: any;
|
|
510
510
|
}[] | undefined;
|
|
511
511
|
}, {
|
|
@@ -561,8 +561,8 @@ declare const customerSchema: z.ZodObject<{
|
|
|
561
561
|
is_paying_customer: boolean;
|
|
562
562
|
avatar_url: string;
|
|
563
563
|
meta_data?: {
|
|
564
|
-
key: string;
|
|
565
564
|
id: number;
|
|
565
|
+
key: string;
|
|
566
566
|
value?: any;
|
|
567
567
|
}[] | undefined;
|
|
568
568
|
}>;
|
|
@@ -633,12 +633,12 @@ declare const createCustomerSchema: z.ZodObject<Pick<{
|
|
|
633
633
|
key: z.ZodString;
|
|
634
634
|
value: z.ZodAny;
|
|
635
635
|
}, "strip", z.ZodTypeAny, {
|
|
636
|
-
key: string;
|
|
637
636
|
id: number;
|
|
637
|
+
key: string;
|
|
638
638
|
value?: any;
|
|
639
639
|
}, {
|
|
640
|
-
key: string;
|
|
641
640
|
id: number;
|
|
641
|
+
key: string;
|
|
642
642
|
value?: any;
|
|
643
643
|
}>, "many">>;
|
|
644
644
|
} & {
|
|
@@ -987,8 +987,8 @@ declare const orderLineItemSchema: z.ZodObject<{
|
|
|
987
987
|
total: string;
|
|
988
988
|
price: number;
|
|
989
989
|
id: number;
|
|
990
|
-
quantity: number;
|
|
991
990
|
name: string;
|
|
991
|
+
quantity: number;
|
|
992
992
|
sku: string;
|
|
993
993
|
total_tax: string;
|
|
994
994
|
subtotal: string;
|
|
@@ -1000,8 +1000,8 @@ declare const orderLineItemSchema: z.ZodObject<{
|
|
|
1000
1000
|
total: string;
|
|
1001
1001
|
price: number;
|
|
1002
1002
|
id: number;
|
|
1003
|
-
quantity: number;
|
|
1004
1003
|
name: string;
|
|
1004
|
+
quantity: number;
|
|
1005
1005
|
sku: string;
|
|
1006
1006
|
total_tax: string;
|
|
1007
1007
|
subtotal: string;
|
|
@@ -1077,12 +1077,12 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1077
1077
|
key: z.ZodString;
|
|
1078
1078
|
value: z.ZodAny;
|
|
1079
1079
|
}, "strip", z.ZodTypeAny, {
|
|
1080
|
-
key: string;
|
|
1081
1080
|
id: number;
|
|
1081
|
+
key: string;
|
|
1082
1082
|
value?: any;
|
|
1083
1083
|
}, {
|
|
1084
|
-
key: string;
|
|
1085
1084
|
id: number;
|
|
1085
|
+
key: string;
|
|
1086
1086
|
value?: any;
|
|
1087
1087
|
}>, "many">>;
|
|
1088
1088
|
} & {
|
|
@@ -1194,8 +1194,8 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1194
1194
|
total: string;
|
|
1195
1195
|
price: number;
|
|
1196
1196
|
id: number;
|
|
1197
|
-
quantity: number;
|
|
1198
1197
|
name: string;
|
|
1198
|
+
quantity: number;
|
|
1199
1199
|
sku: string;
|
|
1200
1200
|
total_tax: string;
|
|
1201
1201
|
subtotal: string;
|
|
@@ -1207,8 +1207,8 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1207
1207
|
total: string;
|
|
1208
1208
|
price: number;
|
|
1209
1209
|
id: number;
|
|
1210
|
-
quantity: number;
|
|
1211
1210
|
name: string;
|
|
1211
|
+
quantity: number;
|
|
1212
1212
|
sku: string;
|
|
1213
1213
|
total_tax: string;
|
|
1214
1214
|
subtotal: string;
|
|
@@ -1261,8 +1261,8 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1261
1261
|
total: string;
|
|
1262
1262
|
price: number;
|
|
1263
1263
|
id: number;
|
|
1264
|
-
quantity: number;
|
|
1265
1264
|
name: string;
|
|
1265
|
+
quantity: number;
|
|
1266
1266
|
sku: string;
|
|
1267
1267
|
total_tax: string;
|
|
1268
1268
|
subtotal: string;
|
|
@@ -1295,8 +1295,8 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1295
1295
|
shipping_total: string;
|
|
1296
1296
|
cart_tax: string;
|
|
1297
1297
|
meta_data?: {
|
|
1298
|
-
key: string;
|
|
1299
1298
|
id: number;
|
|
1299
|
+
key: string;
|
|
1300
1300
|
value?: any;
|
|
1301
1301
|
}[] | undefined;
|
|
1302
1302
|
payment_url?: string | undefined;
|
|
@@ -1343,8 +1343,8 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1343
1343
|
total: string;
|
|
1344
1344
|
price: number;
|
|
1345
1345
|
id: number;
|
|
1346
|
-
quantity: number;
|
|
1347
1346
|
name: string;
|
|
1347
|
+
quantity: number;
|
|
1348
1348
|
sku: string;
|
|
1349
1349
|
total_tax: string;
|
|
1350
1350
|
subtotal: string;
|
|
@@ -1377,8 +1377,8 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1377
1377
|
shipping_total: string;
|
|
1378
1378
|
cart_tax: string;
|
|
1379
1379
|
meta_data?: {
|
|
1380
|
-
key: string;
|
|
1381
1380
|
id: number;
|
|
1381
|
+
key: string;
|
|
1382
1382
|
value?: any;
|
|
1383
1383
|
}[] | undefined;
|
|
1384
1384
|
payment_url?: string | undefined;
|
|
@@ -1456,12 +1456,12 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
1456
1456
|
key: z.ZodString;
|
|
1457
1457
|
value: z.ZodAny;
|
|
1458
1458
|
}, "strip", z.ZodTypeAny, {
|
|
1459
|
-
key: string;
|
|
1460
1459
|
id: number;
|
|
1460
|
+
key: string;
|
|
1461
1461
|
value?: any;
|
|
1462
1462
|
}, {
|
|
1463
|
-
key: string;
|
|
1464
1463
|
id: number;
|
|
1464
|
+
key: string;
|
|
1465
1465
|
value?: any;
|
|
1466
1466
|
}>, "many">>;
|
|
1467
1467
|
} & {
|
|
@@ -1494,8 +1494,8 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
1494
1494
|
method_title: string;
|
|
1495
1495
|
method_description: string;
|
|
1496
1496
|
meta_data?: {
|
|
1497
|
-
key: string;
|
|
1498
1497
|
id: number;
|
|
1498
|
+
key: string;
|
|
1499
1499
|
value?: any;
|
|
1500
1500
|
}[] | undefined;
|
|
1501
1501
|
}, {
|
|
@@ -1521,8 +1521,8 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
1521
1521
|
method_title: string;
|
|
1522
1522
|
method_description: string;
|
|
1523
1523
|
meta_data?: {
|
|
1524
|
-
key: string;
|
|
1525
1524
|
id: number;
|
|
1525
|
+
key: string;
|
|
1526
1526
|
value?: any;
|
|
1527
1527
|
}[] | undefined;
|
|
1528
1528
|
}>;
|
|
@@ -1638,12 +1638,12 @@ declare const productCategorySchema: z.ZodObject<{
|
|
|
1638
1638
|
key: z.ZodString;
|
|
1639
1639
|
value: z.ZodAny;
|
|
1640
1640
|
}, "strip", z.ZodTypeAny, {
|
|
1641
|
-
key: string;
|
|
1642
1641
|
id: number;
|
|
1642
|
+
key: string;
|
|
1643
1643
|
value?: any;
|
|
1644
1644
|
}, {
|
|
1645
|
-
key: string;
|
|
1646
1645
|
id: number;
|
|
1646
|
+
key: string;
|
|
1647
1647
|
value?: any;
|
|
1648
1648
|
}>, "many">>;
|
|
1649
1649
|
} & {
|
|
@@ -1661,17 +1661,17 @@ declare const productCategorySchema: z.ZodObject<{
|
|
|
1661
1661
|
name: z.ZodString;
|
|
1662
1662
|
alt: z.ZodString;
|
|
1663
1663
|
}, "strip", z.ZodTypeAny, {
|
|
1664
|
+
alt: string;
|
|
1664
1665
|
id: number;
|
|
1665
1666
|
name: string;
|
|
1666
1667
|
src: string;
|
|
1667
|
-
alt: string;
|
|
1668
1668
|
date_created: string;
|
|
1669
1669
|
date_modified: string;
|
|
1670
1670
|
}, {
|
|
1671
|
+
alt: string;
|
|
1671
1672
|
id: number;
|
|
1672
1673
|
name: string;
|
|
1673
1674
|
src: string;
|
|
1674
|
-
alt: string;
|
|
1675
1675
|
date_created: string;
|
|
1676
1676
|
date_modified: string;
|
|
1677
1677
|
}>>;
|
|
@@ -1685,10 +1685,10 @@ declare const productCategorySchema: z.ZodObject<{
|
|
|
1685
1685
|
parent: number;
|
|
1686
1686
|
display: string;
|
|
1687
1687
|
image: {
|
|
1688
|
+
alt: string;
|
|
1688
1689
|
id: number;
|
|
1689
1690
|
name: string;
|
|
1690
1691
|
src: string;
|
|
1691
|
-
alt: string;
|
|
1692
1692
|
date_created: string;
|
|
1693
1693
|
date_modified: string;
|
|
1694
1694
|
} | null;
|
|
@@ -1710,8 +1710,8 @@ declare const productCategorySchema: z.ZodObject<{
|
|
|
1710
1710
|
}[] | undefined;
|
|
1711
1711
|
};
|
|
1712
1712
|
meta_data?: {
|
|
1713
|
-
key: string;
|
|
1714
1713
|
id: number;
|
|
1714
|
+
key: string;
|
|
1715
1715
|
value?: any;
|
|
1716
1716
|
}[] | undefined;
|
|
1717
1717
|
}, {
|
|
@@ -1722,10 +1722,10 @@ declare const productCategorySchema: z.ZodObject<{
|
|
|
1722
1722
|
parent: number;
|
|
1723
1723
|
display: string;
|
|
1724
1724
|
image: {
|
|
1725
|
+
alt: string;
|
|
1725
1726
|
id: number;
|
|
1726
1727
|
name: string;
|
|
1727
1728
|
src: string;
|
|
1728
|
-
alt: string;
|
|
1729
1729
|
date_created: string;
|
|
1730
1730
|
date_modified: string;
|
|
1731
1731
|
} | null;
|
|
@@ -1747,8 +1747,8 @@ declare const productCategorySchema: z.ZodObject<{
|
|
|
1747
1747
|
}[] | undefined;
|
|
1748
1748
|
};
|
|
1749
1749
|
meta_data?: {
|
|
1750
|
-
key: string;
|
|
1751
1750
|
id: number;
|
|
1751
|
+
key: string;
|
|
1752
1752
|
value?: any;
|
|
1753
1753
|
}[] | undefined;
|
|
1754
1754
|
}>;
|
|
@@ -1848,17 +1848,17 @@ declare const productImageSchema: z.ZodObject<{
|
|
|
1848
1848
|
name: z.ZodString;
|
|
1849
1849
|
alt: z.ZodString;
|
|
1850
1850
|
}, "strip", z.ZodTypeAny, {
|
|
1851
|
+
alt: string;
|
|
1851
1852
|
id: number;
|
|
1852
1853
|
name: string;
|
|
1853
1854
|
src: string;
|
|
1854
|
-
alt: string;
|
|
1855
1855
|
date_created: string;
|
|
1856
1856
|
date_modified: string;
|
|
1857
1857
|
}, {
|
|
1858
|
+
alt: string;
|
|
1858
1859
|
id: number;
|
|
1859
1860
|
name: string;
|
|
1860
1861
|
src: string;
|
|
1861
|
-
alt: string;
|
|
1862
1862
|
date_created: string;
|
|
1863
1863
|
date_modified: string;
|
|
1864
1864
|
}>;
|
|
@@ -1963,17 +1963,17 @@ declare const productSchema: z.ZodObject<{
|
|
|
1963
1963
|
name: z.ZodString;
|
|
1964
1964
|
alt: z.ZodString;
|
|
1965
1965
|
}, "strip", z.ZodTypeAny, {
|
|
1966
|
+
alt: string;
|
|
1966
1967
|
id: number;
|
|
1967
1968
|
name: string;
|
|
1968
1969
|
src: string;
|
|
1969
|
-
alt: string;
|
|
1970
1970
|
date_created: string;
|
|
1971
1971
|
date_modified: string;
|
|
1972
1972
|
}, {
|
|
1973
|
+
alt: string;
|
|
1973
1974
|
id: number;
|
|
1974
1975
|
name: string;
|
|
1975
1976
|
src: string;
|
|
1976
|
-
alt: string;
|
|
1977
1977
|
date_created: string;
|
|
1978
1978
|
date_modified: string;
|
|
1979
1979
|
}>, "many">;
|
|
@@ -2004,12 +2004,12 @@ declare const productSchema: z.ZodObject<{
|
|
|
2004
2004
|
key: z.ZodString;
|
|
2005
2005
|
value: z.ZodAny;
|
|
2006
2006
|
}, "strip", z.ZodTypeAny, {
|
|
2007
|
-
key: string;
|
|
2008
2007
|
id: number;
|
|
2008
|
+
key: string;
|
|
2009
2009
|
value?: any;
|
|
2010
2010
|
}, {
|
|
2011
|
-
key: string;
|
|
2012
2011
|
id: number;
|
|
2012
|
+
key: string;
|
|
2013
2013
|
value?: any;
|
|
2014
2014
|
}>, "many">;
|
|
2015
2015
|
on_sale: z.ZodBoolean;
|
|
@@ -2026,17 +2026,17 @@ declare const productSchema: z.ZodObject<{
|
|
|
2026
2026
|
description: string;
|
|
2027
2027
|
sku: string;
|
|
2028
2028
|
images: {
|
|
2029
|
+
alt: string;
|
|
2029
2030
|
id: number;
|
|
2030
2031
|
name: string;
|
|
2031
2032
|
src: string;
|
|
2032
|
-
alt: string;
|
|
2033
2033
|
date_created: string;
|
|
2034
2034
|
date_modified: string;
|
|
2035
2035
|
}[];
|
|
2036
2036
|
catalog_visibility: string;
|
|
2037
2037
|
meta_data: {
|
|
2038
|
-
key: string;
|
|
2039
2038
|
id: number;
|
|
2039
|
+
key: string;
|
|
2040
2040
|
value?: any;
|
|
2041
2041
|
}[];
|
|
2042
2042
|
date_created: string;
|
|
@@ -2087,17 +2087,17 @@ declare const productSchema: z.ZodObject<{
|
|
|
2087
2087
|
description: string;
|
|
2088
2088
|
sku: string;
|
|
2089
2089
|
images: {
|
|
2090
|
+
alt: string;
|
|
2090
2091
|
id: number;
|
|
2091
2092
|
name: string;
|
|
2092
2093
|
src: string;
|
|
2093
|
-
alt: string;
|
|
2094
2094
|
date_created: string;
|
|
2095
2095
|
date_modified: string;
|
|
2096
2096
|
}[];
|
|
2097
2097
|
catalog_visibility: string;
|
|
2098
2098
|
meta_data: {
|
|
2099
|
-
key: string;
|
|
2100
2099
|
id: number;
|
|
2100
|
+
key: string;
|
|
2101
2101
|
value?: any;
|
|
2102
2102
|
}[];
|
|
2103
2103
|
date_created: string;
|
|
@@ -2150,12 +2150,12 @@ declare const createCouponSchema: z.ZodObject<{
|
|
|
2150
2150
|
key: z.ZodString;
|
|
2151
2151
|
value: z.ZodAny;
|
|
2152
2152
|
}, "strip", z.ZodTypeAny, {
|
|
2153
|
-
key: string;
|
|
2154
2153
|
id: number;
|
|
2154
|
+
key: string;
|
|
2155
2155
|
value?: any;
|
|
2156
2156
|
}, {
|
|
2157
|
-
key: string;
|
|
2158
2157
|
id: number;
|
|
2158
|
+
key: string;
|
|
2159
2159
|
value?: any;
|
|
2160
2160
|
}>, "many">>;
|
|
2161
2161
|
_links: z.ZodObject<{
|
|
@@ -2273,8 +2273,8 @@ declare const createCouponSchema: z.ZodObject<{
|
|
|
2273
2273
|
maximum_amount: string;
|
|
2274
2274
|
email_restrictions: string[];
|
|
2275
2275
|
meta_data?: {
|
|
2276
|
-
key: string;
|
|
2277
2276
|
id: number;
|
|
2277
|
+
key: string;
|
|
2278
2278
|
value?: any;
|
|
2279
2279
|
}[] | undefined;
|
|
2280
2280
|
}, {
|
|
@@ -2313,8 +2313,8 @@ declare const createCouponSchema: z.ZodObject<{
|
|
|
2313
2313
|
maximum_amount: string;
|
|
2314
2314
|
email_restrictions: string[];
|
|
2315
2315
|
meta_data?: {
|
|
2316
|
-
key: string;
|
|
2317
2316
|
id: number;
|
|
2317
|
+
key: string;
|
|
2318
2318
|
value?: any;
|
|
2319
2319
|
}[] | undefined;
|
|
2320
2320
|
}>;
|
|
@@ -2330,12 +2330,12 @@ declare const createCategorySchema: z.ZodObject<{
|
|
|
2330
2330
|
key: z.ZodString;
|
|
2331
2331
|
value: z.ZodAny;
|
|
2332
2332
|
}, "strip", z.ZodTypeAny, {
|
|
2333
|
-
key: string;
|
|
2334
2333
|
id: number;
|
|
2334
|
+
key: string;
|
|
2335
2335
|
value?: any;
|
|
2336
2336
|
}, {
|
|
2337
|
-
key: string;
|
|
2338
2337
|
id: number;
|
|
2338
|
+
key: string;
|
|
2339
2339
|
value?: any;
|
|
2340
2340
|
}>, "many">>;
|
|
2341
2341
|
slug: z.ZodString;
|
|
@@ -2349,17 +2349,17 @@ declare const createCategorySchema: z.ZodObject<{
|
|
|
2349
2349
|
name: z.ZodString;
|
|
2350
2350
|
alt: z.ZodString;
|
|
2351
2351
|
}, "strip", z.ZodTypeAny, {
|
|
2352
|
+
alt: string;
|
|
2352
2353
|
id: number;
|
|
2353
2354
|
name: string;
|
|
2354
2355
|
src: string;
|
|
2355
|
-
alt: string;
|
|
2356
2356
|
date_created: string;
|
|
2357
2357
|
date_modified: string;
|
|
2358
2358
|
}, {
|
|
2359
|
+
alt: string;
|
|
2359
2360
|
id: number;
|
|
2360
2361
|
name: string;
|
|
2361
2362
|
src: string;
|
|
2362
|
-
alt: string;
|
|
2363
2363
|
date_created: string;
|
|
2364
2364
|
date_modified: string;
|
|
2365
2365
|
}>>;
|
|
@@ -2434,10 +2434,10 @@ declare const createCategorySchema: z.ZodObject<{
|
|
|
2434
2434
|
parent: number;
|
|
2435
2435
|
display: string;
|
|
2436
2436
|
image: {
|
|
2437
|
+
alt: string;
|
|
2437
2438
|
id: number;
|
|
2438
2439
|
name: string;
|
|
2439
2440
|
src: string;
|
|
2440
|
-
alt: string;
|
|
2441
2441
|
date_created: string;
|
|
2442
2442
|
date_modified: string;
|
|
2443
2443
|
} | null;
|
|
@@ -2458,8 +2458,8 @@ declare const createCategorySchema: z.ZodObject<{
|
|
|
2458
2458
|
}[] | undefined;
|
|
2459
2459
|
};
|
|
2460
2460
|
meta_data?: {
|
|
2461
|
-
key: string;
|
|
2462
2461
|
id: number;
|
|
2462
|
+
key: string;
|
|
2463
2463
|
value?: any;
|
|
2464
2464
|
}[] | undefined;
|
|
2465
2465
|
}, {
|
|
@@ -2469,10 +2469,10 @@ declare const createCategorySchema: z.ZodObject<{
|
|
|
2469
2469
|
parent: number;
|
|
2470
2470
|
display: string;
|
|
2471
2471
|
image: {
|
|
2472
|
+
alt: string;
|
|
2472
2473
|
id: number;
|
|
2473
2474
|
name: string;
|
|
2474
2475
|
src: string;
|
|
2475
|
-
alt: string;
|
|
2476
2476
|
date_created: string;
|
|
2477
2477
|
date_modified: string;
|
|
2478
2478
|
} | null;
|
|
@@ -2493,8 +2493,8 @@ declare const createCategorySchema: z.ZodObject<{
|
|
|
2493
2493
|
}[] | undefined;
|
|
2494
2494
|
};
|
|
2495
2495
|
meta_data?: {
|
|
2496
|
-
key: string;
|
|
2497
2496
|
id: number;
|
|
2497
|
+
key: string;
|
|
2498
2498
|
value?: any;
|
|
2499
2499
|
}[] | undefined;
|
|
2500
2500
|
}>;
|
|
@@ -2561,12 +2561,12 @@ declare const wcMetaDataSchema: z.ZodObject<{
|
|
|
2561
2561
|
key: z.ZodString;
|
|
2562
2562
|
value: z.ZodAny;
|
|
2563
2563
|
}, "strip", z.ZodTypeAny, {
|
|
2564
|
-
key: string;
|
|
2565
2564
|
id: number;
|
|
2565
|
+
key: string;
|
|
2566
2566
|
value?: any;
|
|
2567
2567
|
}, {
|
|
2568
|
-
key: string;
|
|
2569
2568
|
id: number;
|
|
2569
|
+
key: string;
|
|
2570
2570
|
value?: any;
|
|
2571
2571
|
}>;
|
|
2572
2572
|
declare const wcAddressSchema: z.ZodObject<{
|
|
@@ -2701,12 +2701,12 @@ declare const wcBaseResponseSchema: z.ZodObject<{
|
|
|
2701
2701
|
key: z.ZodString;
|
|
2702
2702
|
value: z.ZodAny;
|
|
2703
2703
|
}, "strip", z.ZodTypeAny, {
|
|
2704
|
-
key: string;
|
|
2705
2704
|
id: number;
|
|
2705
|
+
key: string;
|
|
2706
2706
|
value?: any;
|
|
2707
2707
|
}, {
|
|
2708
|
-
key: string;
|
|
2709
2708
|
id: number;
|
|
2709
|
+
key: string;
|
|
2710
2710
|
value?: any;
|
|
2711
2711
|
}>, "many">>;
|
|
2712
2712
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2726,8 +2726,8 @@ declare const wcBaseResponseSchema: z.ZodObject<{
|
|
|
2726
2726
|
}[] | undefined;
|
|
2727
2727
|
};
|
|
2728
2728
|
meta_data?: {
|
|
2729
|
-
key: string;
|
|
2730
2729
|
id: number;
|
|
2730
|
+
key: string;
|
|
2731
2731
|
value?: any;
|
|
2732
2732
|
}[] | undefined;
|
|
2733
2733
|
}, {
|
|
@@ -2747,8 +2747,8 @@ declare const wcBaseResponseSchema: z.ZodObject<{
|
|
|
2747
2747
|
}[] | undefined;
|
|
2748
2748
|
};
|
|
2749
2749
|
meta_data?: {
|
|
2750
|
-
key: string;
|
|
2751
2750
|
id: number;
|
|
2751
|
+
key: string;
|
|
2752
2752
|
value?: any;
|
|
2753
2753
|
}[] | undefined;
|
|
2754
2754
|
}>;
|
|
@@ -3311,17 +3311,17 @@ declare const schemas: {
|
|
|
3311
3311
|
name: zod.ZodString;
|
|
3312
3312
|
alt: zod.ZodString;
|
|
3313
3313
|
}, "strip", zod.ZodTypeAny, {
|
|
3314
|
+
alt: string;
|
|
3314
3315
|
id: number;
|
|
3315
3316
|
name: string;
|
|
3316
3317
|
src: string;
|
|
3317
|
-
alt: string;
|
|
3318
3318
|
date_created: string;
|
|
3319
3319
|
date_modified: string;
|
|
3320
3320
|
}, {
|
|
3321
|
+
alt: string;
|
|
3321
3322
|
id: number;
|
|
3322
3323
|
name: string;
|
|
3323
3324
|
src: string;
|
|
3324
|
-
alt: string;
|
|
3325
3325
|
date_created: string;
|
|
3326
3326
|
date_modified: string;
|
|
3327
3327
|
}>, "many">;
|
|
@@ -3352,12 +3352,12 @@ declare const schemas: {
|
|
|
3352
3352
|
key: zod.ZodString;
|
|
3353
3353
|
value: zod.ZodAny;
|
|
3354
3354
|
}, "strip", zod.ZodTypeAny, {
|
|
3355
|
-
key: string;
|
|
3356
3355
|
id: number;
|
|
3356
|
+
key: string;
|
|
3357
3357
|
value?: any;
|
|
3358
3358
|
}, {
|
|
3359
|
-
key: string;
|
|
3360
3359
|
id: number;
|
|
3360
|
+
key: string;
|
|
3361
3361
|
value?: any;
|
|
3362
3362
|
}>, "many">;
|
|
3363
3363
|
on_sale: zod.ZodBoolean;
|
|
@@ -3374,17 +3374,17 @@ declare const schemas: {
|
|
|
3374
3374
|
description: string;
|
|
3375
3375
|
sku: string;
|
|
3376
3376
|
images: {
|
|
3377
|
+
alt: string;
|
|
3377
3378
|
id: number;
|
|
3378
3379
|
name: string;
|
|
3379
3380
|
src: string;
|
|
3380
|
-
alt: string;
|
|
3381
3381
|
date_created: string;
|
|
3382
3382
|
date_modified: string;
|
|
3383
3383
|
}[];
|
|
3384
3384
|
catalog_visibility: string;
|
|
3385
3385
|
meta_data: {
|
|
3386
|
-
key: string;
|
|
3387
3386
|
id: number;
|
|
3387
|
+
key: string;
|
|
3388
3388
|
value?: any;
|
|
3389
3389
|
}[];
|
|
3390
3390
|
date_created: string;
|
|
@@ -3435,17 +3435,17 @@ declare const schemas: {
|
|
|
3435
3435
|
description: string;
|
|
3436
3436
|
sku: string;
|
|
3437
3437
|
images: {
|
|
3438
|
+
alt: string;
|
|
3438
3439
|
id: number;
|
|
3439
3440
|
name: string;
|
|
3440
3441
|
src: string;
|
|
3441
|
-
alt: string;
|
|
3442
3442
|
date_created: string;
|
|
3443
3443
|
date_modified: string;
|
|
3444
3444
|
}[];
|
|
3445
3445
|
catalog_visibility: string;
|
|
3446
3446
|
meta_data: {
|
|
3447
|
-
key: string;
|
|
3448
3447
|
id: number;
|
|
3448
|
+
key: string;
|
|
3449
3449
|
value?: any;
|
|
3450
3450
|
}[];
|
|
3451
3451
|
date_created: string;
|
|
@@ -3594,12 +3594,12 @@ declare const schemas: {
|
|
|
3594
3594
|
key: zod.ZodString;
|
|
3595
3595
|
value: zod.ZodAny;
|
|
3596
3596
|
}, "strip", zod.ZodTypeAny, {
|
|
3597
|
-
key: string;
|
|
3598
3597
|
id: number;
|
|
3598
|
+
key: string;
|
|
3599
3599
|
value?: any;
|
|
3600
3600
|
}, {
|
|
3601
|
-
key: string;
|
|
3602
3601
|
id: number;
|
|
3602
|
+
key: string;
|
|
3603
3603
|
value?: any;
|
|
3604
3604
|
}>, "many">>;
|
|
3605
3605
|
} & {
|
|
@@ -3617,17 +3617,17 @@ declare const schemas: {
|
|
|
3617
3617
|
name: zod.ZodString;
|
|
3618
3618
|
alt: zod.ZodString;
|
|
3619
3619
|
}, "strip", zod.ZodTypeAny, {
|
|
3620
|
+
alt: string;
|
|
3620
3621
|
id: number;
|
|
3621
3622
|
name: string;
|
|
3622
3623
|
src: string;
|
|
3623
|
-
alt: string;
|
|
3624
3624
|
date_created: string;
|
|
3625
3625
|
date_modified: string;
|
|
3626
3626
|
}, {
|
|
3627
|
+
alt: string;
|
|
3627
3628
|
id: number;
|
|
3628
3629
|
name: string;
|
|
3629
3630
|
src: string;
|
|
3630
|
-
alt: string;
|
|
3631
3631
|
date_created: string;
|
|
3632
3632
|
date_modified: string;
|
|
3633
3633
|
}>>;
|
|
@@ -3641,10 +3641,10 @@ declare const schemas: {
|
|
|
3641
3641
|
parent: number;
|
|
3642
3642
|
display: string;
|
|
3643
3643
|
image: {
|
|
3644
|
+
alt: string;
|
|
3644
3645
|
id: number;
|
|
3645
3646
|
name: string;
|
|
3646
3647
|
src: string;
|
|
3647
|
-
alt: string;
|
|
3648
3648
|
date_created: string;
|
|
3649
3649
|
date_modified: string;
|
|
3650
3650
|
} | null;
|
|
@@ -3666,8 +3666,8 @@ declare const schemas: {
|
|
|
3666
3666
|
}[] | undefined;
|
|
3667
3667
|
};
|
|
3668
3668
|
meta_data?: {
|
|
3669
|
-
key: string;
|
|
3670
3669
|
id: number;
|
|
3670
|
+
key: string;
|
|
3671
3671
|
value?: any;
|
|
3672
3672
|
}[] | undefined;
|
|
3673
3673
|
}, {
|
|
@@ -3678,10 +3678,10 @@ declare const schemas: {
|
|
|
3678
3678
|
parent: number;
|
|
3679
3679
|
display: string;
|
|
3680
3680
|
image: {
|
|
3681
|
+
alt: string;
|
|
3681
3682
|
id: number;
|
|
3682
3683
|
name: string;
|
|
3683
3684
|
src: string;
|
|
3684
|
-
alt: string;
|
|
3685
3685
|
date_created: string;
|
|
3686
3686
|
date_modified: string;
|
|
3687
3687
|
} | null;
|
|
@@ -3703,8 +3703,8 @@ declare const schemas: {
|
|
|
3703
3703
|
}[] | undefined;
|
|
3704
3704
|
};
|
|
3705
3705
|
meta_data?: {
|
|
3706
|
-
key: string;
|
|
3707
3706
|
id: number;
|
|
3707
|
+
key: string;
|
|
3708
3708
|
value?: any;
|
|
3709
3709
|
}[] | undefined;
|
|
3710
3710
|
}>;
|
|
@@ -3835,12 +3835,12 @@ declare const schemas: {
|
|
|
3835
3835
|
key: zod.ZodString;
|
|
3836
3836
|
value: zod.ZodAny;
|
|
3837
3837
|
}, "strip", zod.ZodTypeAny, {
|
|
3838
|
-
key: string;
|
|
3839
3838
|
id: number;
|
|
3839
|
+
key: string;
|
|
3840
3840
|
value?: any;
|
|
3841
3841
|
}, {
|
|
3842
|
-
key: string;
|
|
3843
3842
|
id: number;
|
|
3843
|
+
key: string;
|
|
3844
3844
|
value?: any;
|
|
3845
3845
|
}>, "many">>;
|
|
3846
3846
|
} & {
|
|
@@ -3952,8 +3952,8 @@ declare const schemas: {
|
|
|
3952
3952
|
total: string;
|
|
3953
3953
|
price: number;
|
|
3954
3954
|
id: number;
|
|
3955
|
-
quantity: number;
|
|
3956
3955
|
name: string;
|
|
3956
|
+
quantity: number;
|
|
3957
3957
|
sku: string;
|
|
3958
3958
|
total_tax: string;
|
|
3959
3959
|
subtotal: string;
|
|
@@ -3965,8 +3965,8 @@ declare const schemas: {
|
|
|
3965
3965
|
total: string;
|
|
3966
3966
|
price: number;
|
|
3967
3967
|
id: number;
|
|
3968
|
-
quantity: number;
|
|
3969
3968
|
name: string;
|
|
3969
|
+
quantity: number;
|
|
3970
3970
|
sku: string;
|
|
3971
3971
|
total_tax: string;
|
|
3972
3972
|
subtotal: string;
|
|
@@ -4019,8 +4019,8 @@ declare const schemas: {
|
|
|
4019
4019
|
total: string;
|
|
4020
4020
|
price: number;
|
|
4021
4021
|
id: number;
|
|
4022
|
-
quantity: number;
|
|
4023
4022
|
name: string;
|
|
4023
|
+
quantity: number;
|
|
4024
4024
|
sku: string;
|
|
4025
4025
|
total_tax: string;
|
|
4026
4026
|
subtotal: string;
|
|
@@ -4053,8 +4053,8 @@ declare const schemas: {
|
|
|
4053
4053
|
shipping_total: string;
|
|
4054
4054
|
cart_tax: string;
|
|
4055
4055
|
meta_data?: {
|
|
4056
|
-
key: string;
|
|
4057
4056
|
id: number;
|
|
4057
|
+
key: string;
|
|
4058
4058
|
value?: any;
|
|
4059
4059
|
}[] | undefined;
|
|
4060
4060
|
payment_url?: string | undefined;
|
|
@@ -4101,8 +4101,8 @@ declare const schemas: {
|
|
|
4101
4101
|
total: string;
|
|
4102
4102
|
price: number;
|
|
4103
4103
|
id: number;
|
|
4104
|
-
quantity: number;
|
|
4105
4104
|
name: string;
|
|
4105
|
+
quantity: number;
|
|
4106
4106
|
sku: string;
|
|
4107
4107
|
total_tax: string;
|
|
4108
4108
|
subtotal: string;
|
|
@@ -4135,8 +4135,8 @@ declare const schemas: {
|
|
|
4135
4135
|
shipping_total: string;
|
|
4136
4136
|
cart_tax: string;
|
|
4137
4137
|
meta_data?: {
|
|
4138
|
-
key: string;
|
|
4139
4138
|
id: number;
|
|
4139
|
+
key: string;
|
|
4140
4140
|
value?: any;
|
|
4141
4141
|
}[] | undefined;
|
|
4142
4142
|
payment_url?: string | undefined;
|
|
@@ -4162,8 +4162,8 @@ declare const schemas: {
|
|
|
4162
4162
|
total: string;
|
|
4163
4163
|
price: number;
|
|
4164
4164
|
id: number;
|
|
4165
|
-
quantity: number;
|
|
4166
4165
|
name: string;
|
|
4166
|
+
quantity: number;
|
|
4167
4167
|
sku: string;
|
|
4168
4168
|
total_tax: string;
|
|
4169
4169
|
subtotal: string;
|
|
@@ -4175,8 +4175,8 @@ declare const schemas: {
|
|
|
4175
4175
|
total: string;
|
|
4176
4176
|
price: number;
|
|
4177
4177
|
id: number;
|
|
4178
|
-
quantity: number;
|
|
4179
4178
|
name: string;
|
|
4179
|
+
quantity: number;
|
|
4180
4180
|
sku: string;
|
|
4181
4181
|
total_tax: string;
|
|
4182
4182
|
subtotal: string;
|
|
@@ -4289,12 +4289,12 @@ declare const schemas: {
|
|
|
4289
4289
|
key: zod.ZodString;
|
|
4290
4290
|
value: zod.ZodAny;
|
|
4291
4291
|
}, "strip", zod.ZodTypeAny, {
|
|
4292
|
-
key: string;
|
|
4293
4292
|
id: number;
|
|
4293
|
+
key: string;
|
|
4294
4294
|
value?: any;
|
|
4295
4295
|
}, {
|
|
4296
|
-
key: string;
|
|
4297
4296
|
id: number;
|
|
4297
|
+
key: string;
|
|
4298
4298
|
value?: any;
|
|
4299
4299
|
}>, "many">>;
|
|
4300
4300
|
} & {
|
|
@@ -4436,8 +4436,8 @@ declare const schemas: {
|
|
|
4436
4436
|
is_paying_customer: boolean;
|
|
4437
4437
|
avatar_url: string;
|
|
4438
4438
|
meta_data?: {
|
|
4439
|
-
key: string;
|
|
4440
4439
|
id: number;
|
|
4440
|
+
key: string;
|
|
4441
4441
|
value?: any;
|
|
4442
4442
|
}[] | undefined;
|
|
4443
4443
|
}, {
|
|
@@ -4493,8 +4493,8 @@ declare const schemas: {
|
|
|
4493
4493
|
is_paying_customer: boolean;
|
|
4494
4494
|
avatar_url: string;
|
|
4495
4495
|
meta_data?: {
|
|
4496
|
-
key: string;
|
|
4497
4496
|
id: number;
|
|
4497
|
+
key: string;
|
|
4498
4498
|
value?: any;
|
|
4499
4499
|
}[] | undefined;
|
|
4500
4500
|
}>;
|
|
@@ -4565,12 +4565,12 @@ declare const schemas: {
|
|
|
4565
4565
|
key: zod.ZodString;
|
|
4566
4566
|
value: zod.ZodAny;
|
|
4567
4567
|
}, "strip", zod.ZodTypeAny, {
|
|
4568
|
-
key: string;
|
|
4569
4568
|
id: number;
|
|
4569
|
+
key: string;
|
|
4570
4570
|
value?: any;
|
|
4571
4571
|
}, {
|
|
4572
|
-
key: string;
|
|
4573
4572
|
id: number;
|
|
4573
|
+
key: string;
|
|
4574
4574
|
value?: any;
|
|
4575
4575
|
}>, "many">>;
|
|
4576
4576
|
} & {
|
|
@@ -4942,12 +4942,12 @@ declare const schemas: {
|
|
|
4942
4942
|
key: zod.ZodString;
|
|
4943
4943
|
value: zod.ZodAny;
|
|
4944
4944
|
}, "strip", zod.ZodTypeAny, {
|
|
4945
|
-
key: string;
|
|
4946
4945
|
id: number;
|
|
4946
|
+
key: string;
|
|
4947
4947
|
value?: any;
|
|
4948
4948
|
}, {
|
|
4949
|
-
key: string;
|
|
4950
4949
|
id: number;
|
|
4950
|
+
key: string;
|
|
4951
4951
|
value?: any;
|
|
4952
4952
|
}>, "many">>;
|
|
4953
4953
|
} & {
|
|
@@ -5010,8 +5010,8 @@ declare const schemas: {
|
|
|
5010
5010
|
maximum_amount: string;
|
|
5011
5011
|
email_restrictions: string[];
|
|
5012
5012
|
meta_data?: {
|
|
5013
|
-
key: string;
|
|
5014
5013
|
id: number;
|
|
5014
|
+
key: string;
|
|
5015
5015
|
value?: any;
|
|
5016
5016
|
}[] | undefined;
|
|
5017
5017
|
}, {
|
|
@@ -5052,8 +5052,8 @@ declare const schemas: {
|
|
|
5052
5052
|
maximum_amount: string;
|
|
5053
5053
|
email_restrictions: string[];
|
|
5054
5054
|
meta_data?: {
|
|
5055
|
-
key: string;
|
|
5056
5055
|
id: number;
|
|
5056
|
+
key: string;
|
|
5057
5057
|
value?: any;
|
|
5058
5058
|
}[] | undefined;
|
|
5059
5059
|
}>;
|
|
@@ -5065,12 +5065,12 @@ declare const schemas: {
|
|
|
5065
5065
|
key: zod.ZodString;
|
|
5066
5066
|
value: zod.ZodAny;
|
|
5067
5067
|
}, "strip", zod.ZodTypeAny, {
|
|
5068
|
-
key: string;
|
|
5069
5068
|
id: number;
|
|
5069
|
+
key: string;
|
|
5070
5070
|
value?: any;
|
|
5071
5071
|
}, {
|
|
5072
|
-
key: string;
|
|
5073
5072
|
id: number;
|
|
5073
|
+
key: string;
|
|
5074
5074
|
value?: any;
|
|
5075
5075
|
}>, "many">>;
|
|
5076
5076
|
_links: zod.ZodObject<{
|
|
@@ -5188,8 +5188,8 @@ declare const schemas: {
|
|
|
5188
5188
|
maximum_amount: string;
|
|
5189
5189
|
email_restrictions: string[];
|
|
5190
5190
|
meta_data?: {
|
|
5191
|
-
key: string;
|
|
5192
5191
|
id: number;
|
|
5192
|
+
key: string;
|
|
5193
5193
|
value?: any;
|
|
5194
5194
|
}[] | undefined;
|
|
5195
5195
|
}, {
|
|
@@ -5228,8 +5228,8 @@ declare const schemas: {
|
|
|
5228
5228
|
maximum_amount: string;
|
|
5229
5229
|
email_restrictions: string[];
|
|
5230
5230
|
meta_data?: {
|
|
5231
|
-
key: string;
|
|
5232
5231
|
id: number;
|
|
5232
|
+
key: string;
|
|
5233
5233
|
value?: any;
|
|
5234
5234
|
}[] | undefined;
|
|
5235
5235
|
}>;
|
|
@@ -5334,12 +5334,12 @@ declare const schemas: {
|
|
|
5334
5334
|
key: zod.ZodString;
|
|
5335
5335
|
value: zod.ZodAny;
|
|
5336
5336
|
}, "strip", zod.ZodTypeAny, {
|
|
5337
|
-
key: string;
|
|
5338
5337
|
id: number;
|
|
5338
|
+
key: string;
|
|
5339
5339
|
value?: any;
|
|
5340
5340
|
}, {
|
|
5341
|
-
key: string;
|
|
5342
5341
|
id: number;
|
|
5342
|
+
key: string;
|
|
5343
5343
|
value?: any;
|
|
5344
5344
|
}>, "many">>;
|
|
5345
5345
|
} & {
|
|
@@ -5372,8 +5372,8 @@ declare const schemas: {
|
|
|
5372
5372
|
method_title: string;
|
|
5373
5373
|
method_description: string;
|
|
5374
5374
|
meta_data?: {
|
|
5375
|
-
key: string;
|
|
5376
5375
|
id: number;
|
|
5376
|
+
key: string;
|
|
5377
5377
|
value?: any;
|
|
5378
5378
|
}[] | undefined;
|
|
5379
5379
|
}, {
|
|
@@ -5399,8 +5399,8 @@ declare const schemas: {
|
|
|
5399
5399
|
method_title: string;
|
|
5400
5400
|
method_description: string;
|
|
5401
5401
|
meta_data?: {
|
|
5402
|
-
key: string;
|
|
5403
5402
|
id: number;
|
|
5403
|
+
key: string;
|
|
5404
5404
|
value?: any;
|
|
5405
5405
|
}[] | undefined;
|
|
5406
5406
|
}>;
|