controlresell 2.0.10 → 2.1.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/package.json +2 -2
- package/src/com/controlresell/models/customers/VerifyCustomerRequest.d.ts +9 -0
- package/src/com/controlresell/models/customers/VerifyCustomerRequest.js +7 -0
- package/src/com/controlresell/models/customers/VerifyCustomerRequest.ts +6 -0
- package/src/com/controlresell/models/customers/contracts/Contract.d.ts +4 -4
- package/src/com/controlresell/models/customers/contracts/PrepareContractResponse.d.ts +4 -4
- package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
- package/src/com/controlresell/models/items/CreatedItems.d.ts +74 -74
- package/src/com/controlresell/models/items/Item.d.ts +48 -48
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +6 -6
- package/src/com/controlresell/models/items/ItemFiltersContext.js +2 -2
- package/src/com/controlresell/models/items/ItemFiltersContext.ts +2 -2
- package/src/com/controlresell/models/items/ItemPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +70 -70
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +74 -74
- package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
- package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +10 -10
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +70 -70
- package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +149 -55
- package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +193 -75
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.d.ts +97 -27
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.js +6 -4
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.ts +6 -4
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.d.ts +12 -0
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.js +8 -0
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.ts +7 -0
- package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.d.ts +5 -5
- package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.js +1 -1
- package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.ts +1 -1
- package/src/com/controlresell/models/platforms/conversations/messages/PaginatedConversationMessages.d.ts +133 -39
- package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.d.ts +45 -0
- package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.js +10 -0
- package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.ts +9 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/ConversationMessageFile.d.ts +48 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/ConversationMessageFile.js +11 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/ConversationMessageFile.ts +10 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/CreateConversationMessageFilePayload.d.ts +12 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/CreateConversationMessageFilePayload.js +8 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/CreateConversationMessageFilePayload.ts +7 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/UpdateConversationMessageFilePayload.d.ts +9 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/UpdateConversationMessageFilePayload.js +7 -0
- package/src/com/controlresell/models/platforms/conversations/messages/files/UpdateConversationMessageFilePayload.ts +6 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationMessageOffer.d.ts +21 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationMessageOffer.js +12 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationMessageOffer.ts +11 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.d.ts +9 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.js +7 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.ts +6 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/CreateConversationMessageOfferPayload.d.ts +15 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/CreateConversationMessageOfferPayload.js +10 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/CreateConversationMessageOfferPayload.ts +9 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/UpdateConversationMessageOfferPayload.d.ts +9 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/UpdateConversationMessageOfferPayload.js +8 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/UpdateConversationMessageOfferPayload.ts +7 -0
- package/src/com/controlresell/models/platforms/conversations/users/ConversationUser.d.ts +4 -4
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +10 -10
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +3 -0
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.js +1 -0
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.ts +1 -0
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +45 -42
- package/src/com/controlresell/models/platforms/orders/Order.js +1 -0
- package/src/com/controlresell/models/platforms/orders/Order.ts +1 -0
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +5 -2
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.js +1 -0
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.ts +1 -0
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +16 -16
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1126 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.js +10 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.ts +9 -0
- package/src/com/controlresell/models/platforms/transactions/CreateTransactionPayload.d.ts +21 -0
- package/src/com/controlresell/models/platforms/transactions/CreateTransactionPayload.js +11 -0
- package/src/com/controlresell/models/platforms/transactions/CreateTransactionPayload.ts +10 -0
- package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +167 -0
- package/src/com/controlresell/models/platforms/transactions/Transaction.js +15 -0
- package/src/com/controlresell/models/platforms/transactions/Transaction.ts +14 -0
- package/src/com/controlresell/models/platforms/transactions/UpdateTransactionPayload.d.ts +18 -0
- package/src/com/controlresell/models/platforms/transactions/UpdateTransactionPayload.js +10 -0
- package/src/com/controlresell/models/platforms/transactions/UpdateTransactionPayload.ts +9 -0
- package/src/com/controlresell/models/platforms/transactions/items/CreateItemInTransactionPayload.d.ts +9 -0
- package/src/com/controlresell/models/platforms/transactions/items/CreateItemInTransactionPayload.js +7 -0
- package/src/com/controlresell/models/platforms/transactions/items/CreateItemInTransactionPayload.ts +6 -0
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +102 -0
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.js +10 -0
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.ts +9 -0
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +959 -0
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.js +10 -0
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.ts +9 -0
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/User.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/files/File.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +8 -8
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +11 -11
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/UserOnPlatformSessionMessage.d.ts +6 -6
- package/src/index.d.ts +18 -1
- package/src/index.js +18 -1
- package/src/index.ts +18 -1
- package/src/com/controlresell/models/{connector → users/platforms}/UserOnPlatformRequest.d.ts +2 -2
- /package/src/com/controlresell/models/{connector → users/platforms}/UserOnPlatformRequest.js +0 -0
- /package/src/com/controlresell/models/{connector → users/platforms}/UserOnPlatformRequest.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "controlresell",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"typescript": "^5.8.3"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"controlresell-connector": "^0.0.
|
|
20
|
+
"controlresell-connector": "^0.0.30",
|
|
21
21
|
"zod": "^3.24.3",
|
|
22
22
|
"zodable-idschema": "^1.0.0"
|
|
23
23
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const VerifyCustomerRequestSchema: z.ZodObject<{
|
|
3
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
code?: string | null | undefined;
|
|
6
|
+
}, {
|
|
7
|
+
code?: string | null | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export type VerifyCustomerRequest = z.infer<typeof VerifyCustomerRequestSchema>;
|
|
@@ -14,14 +14,14 @@ export declare const ContractSchema: z.ZodObject<{
|
|
|
14
14
|
path: string;
|
|
15
15
|
id: string;
|
|
16
16
|
userId: string | number;
|
|
17
|
-
createdAt: Date;
|
|
18
17
|
signedUrl: string;
|
|
18
|
+
createdAt: Date;
|
|
19
19
|
}, {
|
|
20
20
|
path: string;
|
|
21
21
|
id: string;
|
|
22
22
|
userId: string | number;
|
|
23
|
-
createdAt: Date;
|
|
24
23
|
signedUrl: string;
|
|
24
|
+
createdAt: Date;
|
|
25
25
|
}>>>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
id: number;
|
|
@@ -32,8 +32,8 @@ export declare const ContractSchema: z.ZodObject<{
|
|
|
32
32
|
path: string;
|
|
33
33
|
id: string;
|
|
34
34
|
userId: string | number;
|
|
35
|
-
createdAt: Date;
|
|
36
35
|
signedUrl: string;
|
|
36
|
+
createdAt: Date;
|
|
37
37
|
} | null | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
id: number;
|
|
@@ -44,8 +44,8 @@ export declare const ContractSchema: z.ZodObject<{
|
|
|
44
44
|
path: string;
|
|
45
45
|
id: string;
|
|
46
46
|
userId: string | number;
|
|
47
|
-
createdAt: Date;
|
|
48
47
|
signedUrl: string;
|
|
48
|
+
createdAt: Date;
|
|
49
49
|
} | null | undefined;
|
|
50
50
|
}>;
|
|
51
51
|
export type Contract = z.infer<typeof ContractSchema>;
|
|
@@ -10,30 +10,30 @@ export declare const PrepareContractResponseSchema: z.ZodObject<{
|
|
|
10
10
|
path: string;
|
|
11
11
|
id: string;
|
|
12
12
|
userId: string | number;
|
|
13
|
-
createdAt: Date;
|
|
14
13
|
signedUrl: string;
|
|
14
|
+
createdAt: Date;
|
|
15
15
|
}, {
|
|
16
16
|
path: string;
|
|
17
17
|
id: string;
|
|
18
18
|
userId: string | number;
|
|
19
|
-
createdAt: Date;
|
|
20
19
|
signedUrl: string;
|
|
20
|
+
createdAt: Date;
|
|
21
21
|
}>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
file: {
|
|
24
24
|
path: string;
|
|
25
25
|
id: string;
|
|
26
26
|
userId: string | number;
|
|
27
|
-
createdAt: Date;
|
|
28
27
|
signedUrl: string;
|
|
28
|
+
createdAt: Date;
|
|
29
29
|
};
|
|
30
30
|
}, {
|
|
31
31
|
file: {
|
|
32
32
|
path: string;
|
|
33
33
|
id: string;
|
|
34
34
|
userId: string | number;
|
|
35
|
-
createdAt: Date;
|
|
36
35
|
signedUrl: string;
|
|
36
|
+
createdAt: Date;
|
|
37
37
|
};
|
|
38
38
|
}>;
|
|
39
39
|
export type PrepareContractResponse = z.infer<typeof PrepareContractResponseSchema>;
|
|
@@ -18,31 +18,31 @@ export declare const FeeSchema: z.ZodObject<{
|
|
|
18
18
|
value: number;
|
|
19
19
|
type: string;
|
|
20
20
|
id: string | number;
|
|
21
|
-
name: string;
|
|
22
21
|
userId: string | number;
|
|
23
22
|
createdAt: Date;
|
|
24
|
-
|
|
23
|
+
name: string;
|
|
25
24
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
26
25
|
startDate: Date;
|
|
27
26
|
active: boolean;
|
|
27
|
+
updatedAt: Date;
|
|
28
28
|
description?: string | null | undefined;
|
|
29
|
-
itemId?: string | number | null | undefined;
|
|
30
29
|
endDate?: Date | null | undefined;
|
|
30
|
+
itemId?: string | number | null | undefined;
|
|
31
31
|
parentFeeId?: string | number | null | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
value: number;
|
|
34
34
|
type: string;
|
|
35
35
|
id: string | number;
|
|
36
|
-
name: string;
|
|
37
36
|
userId: string | number;
|
|
38
37
|
createdAt: Date;
|
|
39
|
-
|
|
38
|
+
name: string;
|
|
40
39
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
41
40
|
startDate: Date;
|
|
42
41
|
active: boolean;
|
|
42
|
+
updatedAt: Date;
|
|
43
43
|
description?: string | null | undefined;
|
|
44
|
-
itemId?: string | number | null | undefined;
|
|
45
44
|
endDate?: Date | null | undefined;
|
|
45
|
+
itemId?: string | number | null | undefined;
|
|
46
46
|
parentFeeId?: string | number | null | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export type Fee = z.infer<typeof FeeSchema>;
|
|
@@ -19,35 +19,35 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
19
19
|
path: string;
|
|
20
20
|
id: string;
|
|
21
21
|
userId: string | number;
|
|
22
|
-
createdAt: Date;
|
|
23
22
|
signedUrl: string;
|
|
23
|
+
createdAt: Date;
|
|
24
24
|
}, {
|
|
25
25
|
path: string;
|
|
26
26
|
id: string;
|
|
27
27
|
userId: string | number;
|
|
28
|
-
createdAt: Date;
|
|
29
28
|
signedUrl: string;
|
|
29
|
+
createdAt: Date;
|
|
30
30
|
}>>>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
itemId: string | number;
|
|
33
32
|
fileId: string;
|
|
33
|
+
itemId: string | number;
|
|
34
34
|
file?: {
|
|
35
35
|
path: string;
|
|
36
36
|
id: string;
|
|
37
37
|
userId: string | number;
|
|
38
|
-
createdAt: Date;
|
|
39
38
|
signedUrl: string;
|
|
39
|
+
createdAt: Date;
|
|
40
40
|
} | null | undefined;
|
|
41
41
|
index?: number | null | undefined;
|
|
42
42
|
}, {
|
|
43
|
-
itemId: string | number;
|
|
44
43
|
fileId: string;
|
|
44
|
+
itemId: string | number;
|
|
45
45
|
file?: {
|
|
46
46
|
path: string;
|
|
47
47
|
id: string;
|
|
48
48
|
userId: string | number;
|
|
49
|
-
createdAt: Date;
|
|
50
49
|
signedUrl: string;
|
|
50
|
+
createdAt: Date;
|
|
51
51
|
} | null | undefined;
|
|
52
52
|
index?: number | null | undefined;
|
|
53
53
|
}>, "many">>>;
|
|
@@ -83,31 +83,31 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
83
83
|
value: number;
|
|
84
84
|
type: string;
|
|
85
85
|
id: string | number;
|
|
86
|
-
name: string;
|
|
87
86
|
userId: string | number;
|
|
88
87
|
createdAt: Date;
|
|
89
|
-
|
|
88
|
+
name: string;
|
|
90
89
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
91
90
|
startDate: Date;
|
|
92
91
|
active: boolean;
|
|
92
|
+
updatedAt: Date;
|
|
93
93
|
description?: string | null | undefined;
|
|
94
|
-
itemId?: string | number | null | undefined;
|
|
95
94
|
endDate?: Date | null | undefined;
|
|
95
|
+
itemId?: string | number | null | undefined;
|
|
96
96
|
parentFeeId?: string | number | null | undefined;
|
|
97
97
|
}, {
|
|
98
98
|
value: number;
|
|
99
99
|
type: string;
|
|
100
100
|
id: string | number;
|
|
101
|
-
name: string;
|
|
102
101
|
userId: string | number;
|
|
103
102
|
createdAt: Date;
|
|
104
|
-
|
|
103
|
+
name: string;
|
|
105
104
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
106
105
|
startDate: Date;
|
|
107
106
|
active: boolean;
|
|
107
|
+
updatedAt: Date;
|
|
108
108
|
description?: string | null | undefined;
|
|
109
|
-
itemId?: string | number | null | undefined;
|
|
110
109
|
endDate?: Date | null | undefined;
|
|
110
|
+
itemId?: string | number | null | undefined;
|
|
111
111
|
parentFeeId?: string | number | null | undefined;
|
|
112
112
|
}>, "many">>>;
|
|
113
113
|
feesSum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -122,14 +122,14 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
122
122
|
createdAt: z.ZodDate;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
124
|
id: string | number;
|
|
125
|
-
name: string;
|
|
126
125
|
createdAt: Date;
|
|
126
|
+
name: string;
|
|
127
127
|
isUserLabel: boolean;
|
|
128
128
|
userId?: string | number | null | undefined;
|
|
129
129
|
}, {
|
|
130
130
|
id: string | number;
|
|
131
|
-
name: string;
|
|
132
131
|
createdAt: Date;
|
|
132
|
+
name: string;
|
|
133
133
|
isUserLabel: boolean;
|
|
134
134
|
userId?: string | number | null | undefined;
|
|
135
135
|
}>>>;
|
|
@@ -138,8 +138,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
138
138
|
labelId: string | number;
|
|
139
139
|
label?: {
|
|
140
140
|
id: string | number;
|
|
141
|
-
name: string;
|
|
142
141
|
createdAt: Date;
|
|
142
|
+
name: string;
|
|
143
143
|
isUserLabel: boolean;
|
|
144
144
|
userId?: string | number | null | undefined;
|
|
145
145
|
} | null | undefined;
|
|
@@ -148,8 +148,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
148
148
|
labelId: string | number;
|
|
149
149
|
label?: {
|
|
150
150
|
id: string | number;
|
|
151
|
-
name: string;
|
|
152
151
|
createdAt: Date;
|
|
152
|
+
name: string;
|
|
153
153
|
isUserLabel: boolean;
|
|
154
154
|
userId?: string | number | null | undefined;
|
|
155
155
|
} | null | undefined;
|
|
@@ -247,71 +247,71 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
247
247
|
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
249
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
250
|
+
userId: string | number;
|
|
251
|
+
name: string;
|
|
250
252
|
platform: "VINTED" | "SHOPIFY";
|
|
251
253
|
accountId: string;
|
|
252
|
-
name: string;
|
|
253
|
-
userId: string | number;
|
|
254
254
|
}, {
|
|
255
255
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
256
|
+
userId: string | number;
|
|
257
|
+
name: string;
|
|
256
258
|
platform: "VINTED" | "SHOPIFY";
|
|
257
259
|
accountId: string;
|
|
258
|
-
name: string;
|
|
259
|
-
userId: string | number;
|
|
260
260
|
}>>>;
|
|
261
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
262
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
263
263
|
id: string;
|
|
264
|
-
accountId: string;
|
|
265
264
|
itemId: string | number;
|
|
265
|
+
accountId: string;
|
|
266
266
|
platformId: string;
|
|
267
267
|
platformUrl: string;
|
|
268
268
|
platformPrice: number;
|
|
269
269
|
account?: {
|
|
270
270
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
271
|
+
userId: string | number;
|
|
272
|
+
name: string;
|
|
271
273
|
platform: "VINTED" | "SHOPIFY";
|
|
272
274
|
accountId: string;
|
|
273
|
-
name: string;
|
|
274
|
-
userId: string | number;
|
|
275
275
|
} | null | undefined;
|
|
276
276
|
}, {
|
|
277
277
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
278
278
|
id: string;
|
|
279
|
-
accountId: string;
|
|
280
279
|
itemId: string | number;
|
|
280
|
+
accountId: string;
|
|
281
281
|
platformId: string;
|
|
282
282
|
platformUrl: string;
|
|
283
283
|
platformPrice: number;
|
|
284
284
|
account?: {
|
|
285
285
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
286
|
+
userId: string | number;
|
|
287
|
+
name: string;
|
|
286
288
|
platform: "VINTED" | "SHOPIFY";
|
|
287
289
|
accountId: string;
|
|
288
|
-
name: string;
|
|
289
|
-
userId: string | number;
|
|
290
290
|
} | null | undefined;
|
|
291
291
|
}>, "many">>>;
|
|
292
292
|
createdAt: z.ZodDate;
|
|
293
293
|
updatedAt: z.ZodDate;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
295
|
id: string | number;
|
|
296
|
-
name: string;
|
|
297
296
|
userId: string | number;
|
|
298
297
|
createdAt: Date;
|
|
298
|
+
name: string;
|
|
299
299
|
updatedAt: Date;
|
|
300
300
|
sold: boolean;
|
|
301
301
|
description?: string | null | undefined;
|
|
302
|
+
customerId?: string | number | null | undefined;
|
|
302
303
|
colorIds?: number[] | null | undefined;
|
|
303
304
|
packageSizeId?: number | null | undefined;
|
|
304
305
|
sizeId?: number | null | undefined;
|
|
305
|
-
customerId?: string | number | null | undefined;
|
|
306
306
|
files?: {
|
|
307
|
-
itemId: string | number;
|
|
308
307
|
fileId: string;
|
|
308
|
+
itemId: string | number;
|
|
309
309
|
file?: {
|
|
310
310
|
path: string;
|
|
311
311
|
id: string;
|
|
312
312
|
userId: string | number;
|
|
313
|
-
createdAt: Date;
|
|
314
313
|
signedUrl: string;
|
|
314
|
+
createdAt: Date;
|
|
315
315
|
} | null | undefined;
|
|
316
316
|
index?: number | null | undefined;
|
|
317
317
|
}[] | null | undefined;
|
|
@@ -330,16 +330,16 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
330
330
|
value: number;
|
|
331
331
|
type: string;
|
|
332
332
|
id: string | number;
|
|
333
|
-
name: string;
|
|
334
333
|
userId: string | number;
|
|
335
334
|
createdAt: Date;
|
|
336
|
-
|
|
335
|
+
name: string;
|
|
337
336
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
338
337
|
startDate: Date;
|
|
339
338
|
active: boolean;
|
|
339
|
+
updatedAt: Date;
|
|
340
340
|
description?: string | null | undefined;
|
|
341
|
-
itemId?: string | number | null | undefined;
|
|
342
341
|
endDate?: Date | null | undefined;
|
|
342
|
+
itemId?: string | number | null | undefined;
|
|
343
343
|
parentFeeId?: string | number | null | undefined;
|
|
344
344
|
}[] | null | undefined;
|
|
345
345
|
feesSum?: number | null | undefined;
|
|
@@ -348,8 +348,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
348
348
|
labelId: string | number;
|
|
349
349
|
label?: {
|
|
350
350
|
id: string | number;
|
|
351
|
-
name: string;
|
|
352
351
|
createdAt: Date;
|
|
352
|
+
name: string;
|
|
353
353
|
isUserLabel: boolean;
|
|
354
354
|
userId?: string | number | null | undefined;
|
|
355
355
|
} | null | undefined;
|
|
@@ -387,40 +387,40 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
387
387
|
platforms?: {
|
|
388
388
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
389
389
|
id: string;
|
|
390
|
-
accountId: string;
|
|
391
390
|
itemId: string | number;
|
|
391
|
+
accountId: string;
|
|
392
392
|
platformId: string;
|
|
393
393
|
platformUrl: string;
|
|
394
394
|
platformPrice: number;
|
|
395
395
|
account?: {
|
|
396
396
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
397
|
+
userId: string | number;
|
|
398
|
+
name: string;
|
|
397
399
|
platform: "VINTED" | "SHOPIFY";
|
|
398
400
|
accountId: string;
|
|
399
|
-
name: string;
|
|
400
|
-
userId: string | number;
|
|
401
401
|
} | null | undefined;
|
|
402
402
|
}[] | null | undefined;
|
|
403
403
|
}, {
|
|
404
404
|
id: string | number;
|
|
405
|
-
name: string;
|
|
406
405
|
userId: string | number;
|
|
407
406
|
createdAt: Date;
|
|
407
|
+
name: string;
|
|
408
408
|
updatedAt: Date;
|
|
409
409
|
sold: boolean;
|
|
410
410
|
description?: string | null | undefined;
|
|
411
|
+
customerId?: string | number | null | undefined;
|
|
411
412
|
colorIds?: number[] | null | undefined;
|
|
412
413
|
packageSizeId?: number | null | undefined;
|
|
413
414
|
sizeId?: number | null | undefined;
|
|
414
|
-
customerId?: string | number | null | undefined;
|
|
415
415
|
files?: {
|
|
416
|
-
itemId: string | number;
|
|
417
416
|
fileId: string;
|
|
417
|
+
itemId: string | number;
|
|
418
418
|
file?: {
|
|
419
419
|
path: string;
|
|
420
420
|
id: string;
|
|
421
421
|
userId: string | number;
|
|
422
|
-
createdAt: Date;
|
|
423
422
|
signedUrl: string;
|
|
423
|
+
createdAt: Date;
|
|
424
424
|
} | null | undefined;
|
|
425
425
|
index?: number | null | undefined;
|
|
426
426
|
}[] | null | undefined;
|
|
@@ -439,16 +439,16 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
439
439
|
value: number;
|
|
440
440
|
type: string;
|
|
441
441
|
id: string | number;
|
|
442
|
-
name: string;
|
|
443
442
|
userId: string | number;
|
|
444
443
|
createdAt: Date;
|
|
445
|
-
|
|
444
|
+
name: string;
|
|
446
445
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
447
446
|
startDate: Date;
|
|
448
447
|
active: boolean;
|
|
448
|
+
updatedAt: Date;
|
|
449
449
|
description?: string | null | undefined;
|
|
450
|
-
itemId?: string | number | null | undefined;
|
|
451
450
|
endDate?: Date | null | undefined;
|
|
451
|
+
itemId?: string | number | null | undefined;
|
|
452
452
|
parentFeeId?: string | number | null | undefined;
|
|
453
453
|
}[] | null | undefined;
|
|
454
454
|
feesSum?: number | null | undefined;
|
|
@@ -457,8 +457,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
457
457
|
labelId: string | number;
|
|
458
458
|
label?: {
|
|
459
459
|
id: string | number;
|
|
460
|
-
name: string;
|
|
461
460
|
createdAt: Date;
|
|
461
|
+
name: string;
|
|
462
462
|
isUserLabel: boolean;
|
|
463
463
|
userId?: string | number | null | undefined;
|
|
464
464
|
} | null | undefined;
|
|
@@ -496,17 +496,17 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
496
496
|
platforms?: {
|
|
497
497
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
498
498
|
id: string;
|
|
499
|
-
accountId: string;
|
|
500
499
|
itemId: string | number;
|
|
500
|
+
accountId: string;
|
|
501
501
|
platformId: string;
|
|
502
502
|
platformUrl: string;
|
|
503
503
|
platformPrice: number;
|
|
504
504
|
account?: {
|
|
505
505
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
506
|
+
userId: string | number;
|
|
507
|
+
name: string;
|
|
506
508
|
platform: "VINTED" | "SHOPIFY";
|
|
507
509
|
accountId: string;
|
|
508
|
-
name: string;
|
|
509
|
-
userId: string | number;
|
|
510
510
|
} | null | undefined;
|
|
511
511
|
}[] | null | undefined;
|
|
512
512
|
}>, "many">;
|
|
@@ -518,39 +518,39 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
518
518
|
createdAt: z.ZodDate;
|
|
519
519
|
}, "strip", z.ZodTypeAny, {
|
|
520
520
|
id: string | number;
|
|
521
|
-
name: string;
|
|
522
521
|
createdAt: Date;
|
|
522
|
+
name: string;
|
|
523
523
|
isUserLabel: boolean;
|
|
524
524
|
userId?: string | number | null | undefined;
|
|
525
525
|
}, {
|
|
526
526
|
id: string | number;
|
|
527
|
-
name: string;
|
|
528
527
|
createdAt: Date;
|
|
528
|
+
name: string;
|
|
529
529
|
isUserLabel: boolean;
|
|
530
530
|
userId?: string | number | null | undefined;
|
|
531
531
|
}>, "many">;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
533
|
items: {
|
|
534
534
|
id: string | number;
|
|
535
|
-
name: string;
|
|
536
535
|
userId: string | number;
|
|
537
536
|
createdAt: Date;
|
|
537
|
+
name: string;
|
|
538
538
|
updatedAt: Date;
|
|
539
539
|
sold: boolean;
|
|
540
540
|
description?: string | null | undefined;
|
|
541
|
+
customerId?: string | number | null | undefined;
|
|
541
542
|
colorIds?: number[] | null | undefined;
|
|
542
543
|
packageSizeId?: number | null | undefined;
|
|
543
544
|
sizeId?: number | null | undefined;
|
|
544
|
-
customerId?: string | number | null | undefined;
|
|
545
545
|
files?: {
|
|
546
|
-
itemId: string | number;
|
|
547
546
|
fileId: string;
|
|
547
|
+
itemId: string | number;
|
|
548
548
|
file?: {
|
|
549
549
|
path: string;
|
|
550
550
|
id: string;
|
|
551
551
|
userId: string | number;
|
|
552
|
-
createdAt: Date;
|
|
553
552
|
signedUrl: string;
|
|
553
|
+
createdAt: Date;
|
|
554
554
|
} | null | undefined;
|
|
555
555
|
index?: number | null | undefined;
|
|
556
556
|
}[] | null | undefined;
|
|
@@ -569,16 +569,16 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
569
569
|
value: number;
|
|
570
570
|
type: string;
|
|
571
571
|
id: string | number;
|
|
572
|
-
name: string;
|
|
573
572
|
userId: string | number;
|
|
574
573
|
createdAt: Date;
|
|
575
|
-
|
|
574
|
+
name: string;
|
|
576
575
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
577
576
|
startDate: Date;
|
|
578
577
|
active: boolean;
|
|
578
|
+
updatedAt: Date;
|
|
579
579
|
description?: string | null | undefined;
|
|
580
|
-
itemId?: string | number | null | undefined;
|
|
581
580
|
endDate?: Date | null | undefined;
|
|
581
|
+
itemId?: string | number | null | undefined;
|
|
582
582
|
parentFeeId?: string | number | null | undefined;
|
|
583
583
|
}[] | null | undefined;
|
|
584
584
|
feesSum?: number | null | undefined;
|
|
@@ -587,8 +587,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
587
587
|
labelId: string | number;
|
|
588
588
|
label?: {
|
|
589
589
|
id: string | number;
|
|
590
|
-
name: string;
|
|
591
590
|
createdAt: Date;
|
|
591
|
+
name: string;
|
|
592
592
|
isUserLabel: boolean;
|
|
593
593
|
userId?: string | number | null | undefined;
|
|
594
594
|
} | null | undefined;
|
|
@@ -626,49 +626,49 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
626
626
|
platforms?: {
|
|
627
627
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
628
628
|
id: string;
|
|
629
|
-
accountId: string;
|
|
630
629
|
itemId: string | number;
|
|
630
|
+
accountId: string;
|
|
631
631
|
platformId: string;
|
|
632
632
|
platformUrl: string;
|
|
633
633
|
platformPrice: number;
|
|
634
634
|
account?: {
|
|
635
635
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
636
|
+
userId: string | number;
|
|
637
|
+
name: string;
|
|
636
638
|
platform: "VINTED" | "SHOPIFY";
|
|
637
639
|
accountId: string;
|
|
638
|
-
name: string;
|
|
639
|
-
userId: string | number;
|
|
640
640
|
} | null | undefined;
|
|
641
641
|
}[] | null | undefined;
|
|
642
642
|
}[];
|
|
643
643
|
newUserLabels: {
|
|
644
644
|
id: string | number;
|
|
645
|
-
name: string;
|
|
646
645
|
createdAt: Date;
|
|
646
|
+
name: string;
|
|
647
647
|
isUserLabel: boolean;
|
|
648
648
|
userId?: string | number | null | undefined;
|
|
649
649
|
}[];
|
|
650
650
|
}, {
|
|
651
651
|
items: {
|
|
652
652
|
id: string | number;
|
|
653
|
-
name: string;
|
|
654
653
|
userId: string | number;
|
|
655
654
|
createdAt: Date;
|
|
655
|
+
name: string;
|
|
656
656
|
updatedAt: Date;
|
|
657
657
|
sold: boolean;
|
|
658
658
|
description?: string | null | undefined;
|
|
659
|
+
customerId?: string | number | null | undefined;
|
|
659
660
|
colorIds?: number[] | null | undefined;
|
|
660
661
|
packageSizeId?: number | null | undefined;
|
|
661
662
|
sizeId?: number | null | undefined;
|
|
662
|
-
customerId?: string | number | null | undefined;
|
|
663
663
|
files?: {
|
|
664
|
-
itemId: string | number;
|
|
665
664
|
fileId: string;
|
|
665
|
+
itemId: string | number;
|
|
666
666
|
file?: {
|
|
667
667
|
path: string;
|
|
668
668
|
id: string;
|
|
669
669
|
userId: string | number;
|
|
670
|
-
createdAt: Date;
|
|
671
670
|
signedUrl: string;
|
|
671
|
+
createdAt: Date;
|
|
672
672
|
} | null | undefined;
|
|
673
673
|
index?: number | null | undefined;
|
|
674
674
|
}[] | null | undefined;
|
|
@@ -687,16 +687,16 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
687
687
|
value: number;
|
|
688
688
|
type: string;
|
|
689
689
|
id: string | number;
|
|
690
|
-
name: string;
|
|
691
690
|
userId: string | number;
|
|
692
691
|
createdAt: Date;
|
|
693
|
-
|
|
692
|
+
name: string;
|
|
694
693
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
695
694
|
startDate: Date;
|
|
696
695
|
active: boolean;
|
|
696
|
+
updatedAt: Date;
|
|
697
697
|
description?: string | null | undefined;
|
|
698
|
-
itemId?: string | number | null | undefined;
|
|
699
698
|
endDate?: Date | null | undefined;
|
|
699
|
+
itemId?: string | number | null | undefined;
|
|
700
700
|
parentFeeId?: string | number | null | undefined;
|
|
701
701
|
}[] | null | undefined;
|
|
702
702
|
feesSum?: number | null | undefined;
|
|
@@ -705,8 +705,8 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
705
705
|
labelId: string | number;
|
|
706
706
|
label?: {
|
|
707
707
|
id: string | number;
|
|
708
|
-
name: string;
|
|
709
708
|
createdAt: Date;
|
|
709
|
+
name: string;
|
|
710
710
|
isUserLabel: boolean;
|
|
711
711
|
userId?: string | number | null | undefined;
|
|
712
712
|
} | null | undefined;
|
|
@@ -744,24 +744,24 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
744
744
|
platforms?: {
|
|
745
745
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
746
746
|
id: string;
|
|
747
|
-
accountId: string;
|
|
748
747
|
itemId: string | number;
|
|
748
|
+
accountId: string;
|
|
749
749
|
platformId: string;
|
|
750
750
|
platformUrl: string;
|
|
751
751
|
platformPrice: number;
|
|
752
752
|
account?: {
|
|
753
753
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
754
|
+
userId: string | number;
|
|
755
|
+
name: string;
|
|
754
756
|
platform: "VINTED" | "SHOPIFY";
|
|
755
757
|
accountId: string;
|
|
756
|
-
name: string;
|
|
757
|
-
userId: string | number;
|
|
758
758
|
} | null | undefined;
|
|
759
759
|
}[] | null | undefined;
|
|
760
760
|
}[];
|
|
761
761
|
newUserLabels: {
|
|
762
762
|
id: string | number;
|
|
763
|
-
name: string;
|
|
764
763
|
createdAt: Date;
|
|
764
|
+
name: string;
|
|
765
765
|
isUserLabel: boolean;
|
|
766
766
|
userId?: string | number | null | undefined;
|
|
767
767
|
}[];
|