controlresell 2.9.2 → 2.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/com/controlresell/api/responses/ErrorResponse.d.ts +16 -0
- package/src/com/controlresell/api/responses/ErrorResponse.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/ErrorResponse.js +7 -0
- package/src/com/controlresell/api/responses/ErrorResponse.js.map +1 -0
- package/src/com/controlresell/api/responses/ErrorResponse.ts +8 -0
- package/src/com/controlresell/api/responses/items/ItemAction.d.ts +4 -0
- package/src/com/controlresell/api/responses/items/ItemAction.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/items/ItemAction.js +5 -0
- package/src/com/controlresell/api/responses/items/ItemAction.js.map +1 -0
- package/src/com/controlresell/api/responses/items/ItemAction.ts +6 -0
- package/src/com/controlresell/{inventory/models → api/responses}/items/ItemsWithFilters.d.ts +30 -144
- package/src/com/controlresell/{inventory/models → api/responses}/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/{inventory/models → api/responses}/items/ItemsWithFilters.js +2 -2
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.js.map +1 -0
- package/src/com/controlresell/{inventory/models → api/responses}/items/ItemsWithFilters.ts +2 -2
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +1995 -0
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/items/ListedItem.js +42 -0
- package/src/com/controlresell/api/responses/items/ListedItem.js.map +1 -0
- package/src/com/controlresell/api/responses/items/ListedItem.ts +43 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts +28 -28
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.d.ts +20 -20
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.d.ts +20 -20
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.d.ts +24 -24
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.js +4 -4
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.js.map +1 -1
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.ts +4 -4
- package/src/index.d.ts +4 -1
- package/src/index.d.ts.map +1 -1
- package/src/index.js +4 -1
- package/src/index.js.map +1 -1
- package/src/index.ts +4 -1
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "controlresell",
|
|
3
|
-
"version": "2.9.
|
|
4
|
-
"description": "Auto-generated zod project from Kotlin using guimauvedigital/zodable",
|
|
3
|
+
"version": "2.9.4",
|
|
5
4
|
"main": "src/index.js",
|
|
6
5
|
"scripts": {
|
|
7
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -9,6 +8,7 @@
|
|
|
9
8
|
"keywords": [],
|
|
10
9
|
"author": "",
|
|
11
10
|
"license": "ISC",
|
|
11
|
+
"description": "Auto-generated zod project from Kotlin using guimauvedigital/zodable",
|
|
12
12
|
"type": "module",
|
|
13
13
|
"types": "src/index.d.ts",
|
|
14
14
|
"files": [
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ErrorResponseSchema: z.ZodObject<{
|
|
3
|
+
key: z.ZodString;
|
|
4
|
+
message: z.ZodString;
|
|
5
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
message: string;
|
|
8
|
+
key: string;
|
|
9
|
+
params?: Record<string, string> | null | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
message: string;
|
|
12
|
+
key: string;
|
|
13
|
+
params?: Record<string, string> | null | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
16
|
+
//# sourceMappingURL=ErrorResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorResponse.d.ts","sourceRoot":"","sources":["ErrorResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAI9B,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorResponse.js","sourceRoot":"","sources":["ErrorResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;CAC5D,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemAction.d.ts","sourceRoot":"","sources":["ItemAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,gBAAgB,qCAE3B,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemAction.js","sourceRoot":"","sources":["ItemAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC;IACnC,SAAS,EAAE,WAAW;CACzB,CAAC,CAAA"}
|
package/src/com/controlresell/{inventory/models → api/responses}/items/ItemsWithFilters.d.ts
RENAMED
|
@@ -3,8 +3,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3
3
|
count: z.ZodNumber;
|
|
4
4
|
allItemsCount: z.ZodNumber;
|
|
5
5
|
rows: z.ZodArray<z.ZodObject<{
|
|
6
|
-
id: z.
|
|
7
|
-
userId: z.
|
|
6
|
+
id: z.ZodNumber;
|
|
7
|
+
userId: z.ZodNumber;
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -55,18 +55,18 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
55
55
|
} | null | undefined;
|
|
56
56
|
}>, "many">>>;
|
|
57
57
|
categoryId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
58
|
-
brandId: z.ZodOptional<z.ZodNullable<z.
|
|
58
|
+
brandId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
59
59
|
sex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
state: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61
61
|
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
62
|
purchasePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
63
|
purchaseDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
64
|
-
purchasePlaceId: z.ZodOptional<z.ZodNullable<z.
|
|
64
|
+
purchasePlaceId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
65
65
|
sold: z.ZodBoolean;
|
|
66
66
|
purchased: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
67
67
|
sellingPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
68
68
|
sellingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
69
|
-
sellingPlaceId: z.ZodOptional<z.ZodNullable<z.
|
|
69
|
+
sellingPlaceId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
70
70
|
estimatedPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
71
71
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
72
72
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -170,49 +170,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
170
170
|
}>, "many">>>;
|
|
171
171
|
colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
172
172
|
packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
173
|
-
customerId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
174
|
-
customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
175
|
-
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
176
|
-
userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
177
|
-
firstName: z.ZodString;
|
|
178
|
-
lastName: z.ZodString;
|
|
179
|
-
birthDate: z.ZodDate;
|
|
180
|
-
email: z.ZodString;
|
|
181
|
-
idNumber: z.ZodString;
|
|
182
|
-
phone: z.ZodString;
|
|
183
|
-
iban: z.ZodString;
|
|
184
|
-
bic: z.ZodString;
|
|
185
|
-
phoneVerified: z.ZodBoolean;
|
|
186
|
-
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
userId: string | number;
|
|
188
|
-
id: string | number;
|
|
189
|
-
email: string;
|
|
190
|
-
firstName: string;
|
|
191
|
-
lastName: string;
|
|
192
|
-
birthDate: Date;
|
|
193
|
-
idNumber: string;
|
|
194
|
-
phone: string;
|
|
195
|
-
iban: string;
|
|
196
|
-
bic: string;
|
|
197
|
-
phoneVerified: boolean;
|
|
198
|
-
}, {
|
|
199
|
-
userId: string | number;
|
|
200
|
-
id: string | number;
|
|
201
|
-
email: string;
|
|
202
|
-
firstName: string;
|
|
203
|
-
lastName: string;
|
|
204
|
-
birthDate: Date;
|
|
205
|
-
idNumber: string;
|
|
206
|
-
phone: string;
|
|
207
|
-
iban: string;
|
|
208
|
-
bic: string;
|
|
209
|
-
phoneVerified: boolean;
|
|
210
|
-
}>>>;
|
|
211
|
-
customerType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
|
-
customerPaid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
213
|
-
customerPaidDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
214
|
-
customerPaidType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
215
|
-
contractId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
216
173
|
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
217
174
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
218
175
|
fieldId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -1511,15 +1468,17 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1511
1468
|
viewsCount?: number | null | undefined;
|
|
1512
1469
|
favoritesCount?: number | null | undefined;
|
|
1513
1470
|
}>, "many">>>;
|
|
1471
|
+
actions: z.ZodArray<z.ZodEnum<["PUBLISH", "REPUBLISH"]>, "many">;
|
|
1514
1472
|
createdAt: z.ZodDate;
|
|
1515
1473
|
updatedAt: z.ZodDate;
|
|
1516
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1517
|
-
userId:
|
|
1518
|
-
id:
|
|
1475
|
+
userId: number;
|
|
1476
|
+
id: number;
|
|
1519
1477
|
updatedAt: Date;
|
|
1520
1478
|
name: string;
|
|
1521
1479
|
createdAt: Date;
|
|
1522
1480
|
sold: boolean;
|
|
1481
|
+
actions: ("REPUBLISH" | "PUBLISH")[];
|
|
1523
1482
|
state?: number | null | undefined;
|
|
1524
1483
|
colorIds?: number[] | null | undefined;
|
|
1525
1484
|
description?: string | null | undefined;
|
|
@@ -1557,15 +1516,15 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1557
1516
|
}[] | null | undefined;
|
|
1558
1517
|
sku?: string | null | undefined;
|
|
1559
1518
|
categoryId?: number | null | undefined;
|
|
1560
|
-
brandId?:
|
|
1519
|
+
brandId?: number | null | undefined;
|
|
1561
1520
|
sex?: string | null | undefined;
|
|
1562
1521
|
purchasePrice?: number | null | undefined;
|
|
1563
1522
|
purchaseDate?: Date | null | undefined;
|
|
1564
|
-
purchasePlaceId?:
|
|
1523
|
+
purchasePlaceId?: number | null | undefined;
|
|
1565
1524
|
purchased?: boolean | null | undefined;
|
|
1566
1525
|
sellingPrice?: number | null | undefined;
|
|
1567
1526
|
sellingDate?: Date | null | undefined;
|
|
1568
|
-
sellingPlaceId?:
|
|
1527
|
+
sellingPlaceId?: number | null | undefined;
|
|
1569
1528
|
estimatedPrice?: number | null | undefined;
|
|
1570
1529
|
fees?: {
|
|
1571
1530
|
value: number;
|
|
@@ -1584,25 +1543,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1584
1543
|
parentFeeId?: string | number | null | undefined;
|
|
1585
1544
|
}[] | null | undefined;
|
|
1586
1545
|
feesSum?: number | null | undefined;
|
|
1587
|
-
customerId?: string | number | null | undefined;
|
|
1588
|
-
customer?: {
|
|
1589
|
-
userId: string | number;
|
|
1590
|
-
id: string | number;
|
|
1591
|
-
email: string;
|
|
1592
|
-
firstName: string;
|
|
1593
|
-
lastName: string;
|
|
1594
|
-
birthDate: Date;
|
|
1595
|
-
idNumber: string;
|
|
1596
|
-
phone: string;
|
|
1597
|
-
iban: string;
|
|
1598
|
-
bic: string;
|
|
1599
|
-
phoneVerified: boolean;
|
|
1600
|
-
} | null | undefined;
|
|
1601
|
-
customerType?: string | null | undefined;
|
|
1602
|
-
customerPaid?: boolean | null | undefined;
|
|
1603
|
-
customerPaidDate?: Date | null | undefined;
|
|
1604
|
-
customerPaidType?: string | null | undefined;
|
|
1605
|
-
contractId?: string | number | null | undefined;
|
|
1606
1546
|
lastHistory?: {
|
|
1607
1547
|
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1608
1548
|
id: string;
|
|
@@ -1793,12 +1733,13 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1793
1733
|
favoritesCount?: number | null | undefined;
|
|
1794
1734
|
}[] | null | undefined;
|
|
1795
1735
|
}, {
|
|
1796
|
-
userId:
|
|
1797
|
-
id:
|
|
1736
|
+
userId: number;
|
|
1737
|
+
id: number;
|
|
1798
1738
|
updatedAt: Date;
|
|
1799
1739
|
name: string;
|
|
1800
1740
|
createdAt: Date;
|
|
1801
1741
|
sold: boolean;
|
|
1742
|
+
actions: ("REPUBLISH" | "PUBLISH")[];
|
|
1802
1743
|
state?: number | null | undefined;
|
|
1803
1744
|
colorIds?: number[] | null | undefined;
|
|
1804
1745
|
description?: string | null | undefined;
|
|
@@ -1836,15 +1777,15 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1836
1777
|
}[] | null | undefined;
|
|
1837
1778
|
sku?: string | null | undefined;
|
|
1838
1779
|
categoryId?: number | null | undefined;
|
|
1839
|
-
brandId?:
|
|
1780
|
+
brandId?: number | null | undefined;
|
|
1840
1781
|
sex?: string | null | undefined;
|
|
1841
1782
|
purchasePrice?: number | null | undefined;
|
|
1842
1783
|
purchaseDate?: Date | null | undefined;
|
|
1843
|
-
purchasePlaceId?:
|
|
1784
|
+
purchasePlaceId?: number | null | undefined;
|
|
1844
1785
|
purchased?: boolean | null | undefined;
|
|
1845
1786
|
sellingPrice?: number | null | undefined;
|
|
1846
1787
|
sellingDate?: Date | null | undefined;
|
|
1847
|
-
sellingPlaceId?:
|
|
1788
|
+
sellingPlaceId?: number | null | undefined;
|
|
1848
1789
|
estimatedPrice?: number | null | undefined;
|
|
1849
1790
|
fees?: {
|
|
1850
1791
|
value: number;
|
|
@@ -1863,25 +1804,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1863
1804
|
parentFeeId?: string | number | null | undefined;
|
|
1864
1805
|
}[] | null | undefined;
|
|
1865
1806
|
feesSum?: number | null | undefined;
|
|
1866
|
-
customerId?: string | number | null | undefined;
|
|
1867
|
-
customer?: {
|
|
1868
|
-
userId: string | number;
|
|
1869
|
-
id: string | number;
|
|
1870
|
-
email: string;
|
|
1871
|
-
firstName: string;
|
|
1872
|
-
lastName: string;
|
|
1873
|
-
birthDate: Date;
|
|
1874
|
-
idNumber: string;
|
|
1875
|
-
phone: string;
|
|
1876
|
-
iban: string;
|
|
1877
|
-
bic: string;
|
|
1878
|
-
phoneVerified: boolean;
|
|
1879
|
-
} | null | undefined;
|
|
1880
|
-
customerType?: string | null | undefined;
|
|
1881
|
-
customerPaid?: boolean | null | undefined;
|
|
1882
|
-
customerPaidDate?: Date | null | undefined;
|
|
1883
|
-
customerPaidType?: string | null | undefined;
|
|
1884
|
-
contractId?: string | number | null | undefined;
|
|
1885
1807
|
lastHistory?: {
|
|
1886
1808
|
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1887
1809
|
id: string;
|
|
@@ -2077,12 +1999,13 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2077
1999
|
}, "strip", z.ZodTypeAny, {
|
|
2078
2000
|
count: number;
|
|
2079
2001
|
rows: {
|
|
2080
|
-
userId:
|
|
2081
|
-
id:
|
|
2002
|
+
userId: number;
|
|
2003
|
+
id: number;
|
|
2082
2004
|
updatedAt: Date;
|
|
2083
2005
|
name: string;
|
|
2084
2006
|
createdAt: Date;
|
|
2085
2007
|
sold: boolean;
|
|
2008
|
+
actions: ("REPUBLISH" | "PUBLISH")[];
|
|
2086
2009
|
state?: number | null | undefined;
|
|
2087
2010
|
colorIds?: number[] | null | undefined;
|
|
2088
2011
|
description?: string | null | undefined;
|
|
@@ -2120,15 +2043,15 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2120
2043
|
}[] | null | undefined;
|
|
2121
2044
|
sku?: string | null | undefined;
|
|
2122
2045
|
categoryId?: number | null | undefined;
|
|
2123
|
-
brandId?:
|
|
2046
|
+
brandId?: number | null | undefined;
|
|
2124
2047
|
sex?: string | null | undefined;
|
|
2125
2048
|
purchasePrice?: number | null | undefined;
|
|
2126
2049
|
purchaseDate?: Date | null | undefined;
|
|
2127
|
-
purchasePlaceId?:
|
|
2050
|
+
purchasePlaceId?: number | null | undefined;
|
|
2128
2051
|
purchased?: boolean | null | undefined;
|
|
2129
2052
|
sellingPrice?: number | null | undefined;
|
|
2130
2053
|
sellingDate?: Date | null | undefined;
|
|
2131
|
-
sellingPlaceId?:
|
|
2054
|
+
sellingPlaceId?: number | null | undefined;
|
|
2132
2055
|
estimatedPrice?: number | null | undefined;
|
|
2133
2056
|
fees?: {
|
|
2134
2057
|
value: number;
|
|
@@ -2147,25 +2070,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2147
2070
|
parentFeeId?: string | number | null | undefined;
|
|
2148
2071
|
}[] | null | undefined;
|
|
2149
2072
|
feesSum?: number | null | undefined;
|
|
2150
|
-
customerId?: string | number | null | undefined;
|
|
2151
|
-
customer?: {
|
|
2152
|
-
userId: string | number;
|
|
2153
|
-
id: string | number;
|
|
2154
|
-
email: string;
|
|
2155
|
-
firstName: string;
|
|
2156
|
-
lastName: string;
|
|
2157
|
-
birthDate: Date;
|
|
2158
|
-
idNumber: string;
|
|
2159
|
-
phone: string;
|
|
2160
|
-
iban: string;
|
|
2161
|
-
bic: string;
|
|
2162
|
-
phoneVerified: boolean;
|
|
2163
|
-
} | null | undefined;
|
|
2164
|
-
customerType?: string | null | undefined;
|
|
2165
|
-
customerPaid?: boolean | null | undefined;
|
|
2166
|
-
customerPaidDate?: Date | null | undefined;
|
|
2167
|
-
customerPaidType?: string | null | undefined;
|
|
2168
|
-
contractId?: string | number | null | undefined;
|
|
2169
2073
|
lastHistory?: {
|
|
2170
2074
|
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2171
2075
|
id: string;
|
|
@@ -2362,12 +2266,13 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2362
2266
|
}, {
|
|
2363
2267
|
count: number;
|
|
2364
2268
|
rows: {
|
|
2365
|
-
userId:
|
|
2366
|
-
id:
|
|
2269
|
+
userId: number;
|
|
2270
|
+
id: number;
|
|
2367
2271
|
updatedAt: Date;
|
|
2368
2272
|
name: string;
|
|
2369
2273
|
createdAt: Date;
|
|
2370
2274
|
sold: boolean;
|
|
2275
|
+
actions: ("REPUBLISH" | "PUBLISH")[];
|
|
2371
2276
|
state?: number | null | undefined;
|
|
2372
2277
|
colorIds?: number[] | null | undefined;
|
|
2373
2278
|
description?: string | null | undefined;
|
|
@@ -2405,15 +2310,15 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2405
2310
|
}[] | null | undefined;
|
|
2406
2311
|
sku?: string | null | undefined;
|
|
2407
2312
|
categoryId?: number | null | undefined;
|
|
2408
|
-
brandId?:
|
|
2313
|
+
brandId?: number | null | undefined;
|
|
2409
2314
|
sex?: string | null | undefined;
|
|
2410
2315
|
purchasePrice?: number | null | undefined;
|
|
2411
2316
|
purchaseDate?: Date | null | undefined;
|
|
2412
|
-
purchasePlaceId?:
|
|
2317
|
+
purchasePlaceId?: number | null | undefined;
|
|
2413
2318
|
purchased?: boolean | null | undefined;
|
|
2414
2319
|
sellingPrice?: number | null | undefined;
|
|
2415
2320
|
sellingDate?: Date | null | undefined;
|
|
2416
|
-
sellingPlaceId?:
|
|
2321
|
+
sellingPlaceId?: number | null | undefined;
|
|
2417
2322
|
estimatedPrice?: number | null | undefined;
|
|
2418
2323
|
fees?: {
|
|
2419
2324
|
value: number;
|
|
@@ -2432,25 +2337,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2432
2337
|
parentFeeId?: string | number | null | undefined;
|
|
2433
2338
|
}[] | null | undefined;
|
|
2434
2339
|
feesSum?: number | null | undefined;
|
|
2435
|
-
customerId?: string | number | null | undefined;
|
|
2436
|
-
customer?: {
|
|
2437
|
-
userId: string | number;
|
|
2438
|
-
id: string | number;
|
|
2439
|
-
email: string;
|
|
2440
|
-
firstName: string;
|
|
2441
|
-
lastName: string;
|
|
2442
|
-
birthDate: Date;
|
|
2443
|
-
idNumber: string;
|
|
2444
|
-
phone: string;
|
|
2445
|
-
iban: string;
|
|
2446
|
-
bic: string;
|
|
2447
|
-
phoneVerified: boolean;
|
|
2448
|
-
} | null | undefined;
|
|
2449
|
-
customerType?: string | null | undefined;
|
|
2450
|
-
customerPaid?: boolean | null | undefined;
|
|
2451
|
-
customerPaidDate?: Date | null | undefined;
|
|
2452
|
-
customerPaidType?: string | null | undefined;
|
|
2453
|
-
contractId?: string | number | null | undefined;
|
|
2454
2340
|
lastHistory?: {
|
|
2455
2341
|
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2456
2342
|
id: string;
|
package/src/com/controlresell/{inventory/models → api/responses}/items/ItemsWithFilters.d.ts.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemsWithFilters.d.ts","sourceRoot":"","sources":["ItemsWithFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"ItemsWithFilters.d.ts","sourceRoot":"","sources":["ItemsWithFilters.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import {
|
|
2
|
+
import { ListedItemSchema } from "./ListedItem";
|
|
3
3
|
export const ItemsWithFiltersSchema = z.object({
|
|
4
4
|
count: z.number(),
|
|
5
5
|
allItemsCount: z.number(),
|
|
6
|
-
rows: z.array(
|
|
6
|
+
rows: z.array(ListedItemSchema),
|
|
7
7
|
currentPage: z.number(),
|
|
8
8
|
totalPages: z.number()
|
|
9
9
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemsWithFilters.js","sourceRoot":"","sources":["ItemsWithFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC;IAC/B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
|
-
import {
|
|
2
|
+
import {ListedItemSchema} from "./ListedItem"
|
|
3
3
|
|
|
4
4
|
export const ItemsWithFiltersSchema = z.object({
|
|
5
5
|
count: z.number(),
|
|
6
6
|
allItemsCount: z.number(),
|
|
7
|
-
rows: z.array(
|
|
7
|
+
rows: z.array(ListedItemSchema),
|
|
8
8
|
currentPage: z.number(),
|
|
9
9
|
totalPages: z.number()
|
|
10
10
|
})
|