controlresell 2.4.5 → 2.4.6
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/items/platforms/ItemOnPlatformUpdateRequest.d.ts +0 -10
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +11 -11
- package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +16 -30
- package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +15 -15
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.d.ts +7 -7
- package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/conversations/messages/PaginatedConversationMessages.d.ts +11 -11
- package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationMessageOffer.d.ts +3 -3
- package/src/com/controlresell/models/platforms/conversations/messages/offers/CreateConversationMessageOfferPayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/conversations/messages/offers/UpdateConversationMessageOfferPayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +15 -15
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +20 -38
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -5
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +5 -5
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +30 -30
|
@@ -18,9 +18,9 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
|
|
|
18
18
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
price: z.ZodNumber;
|
|
20
20
|
originalPrice: z.ZodNumber;
|
|
21
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "
|
|
21
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
23
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
24
24
|
id: string;
|
|
25
25
|
price: number;
|
|
26
26
|
messageId: string;
|
|
@@ -28,7 +28,7 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
|
|
|
28
28
|
transactionId?: string | null | undefined;
|
|
29
29
|
platformOfferId?: string | null | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
31
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
32
32
|
id: string;
|
|
33
33
|
price: number;
|
|
34
34
|
messageId: string;
|
|
@@ -97,13 +97,13 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
|
|
|
97
97
|
}>, "many">>>;
|
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
99
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
100
|
-
status: "
|
|
100
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
101
101
|
id: string;
|
|
102
102
|
createdAt: Date;
|
|
103
103
|
conversationId: string;
|
|
104
104
|
body?: string | null | undefined;
|
|
105
105
|
offer?: {
|
|
106
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
106
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
107
107
|
id: string;
|
|
108
108
|
price: number;
|
|
109
109
|
messageId: string;
|
|
@@ -133,13 +133,13 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
|
|
|
133
133
|
} | null | undefined;
|
|
134
134
|
}, {
|
|
135
135
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
136
|
-
status: "
|
|
136
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
137
137
|
id: string;
|
|
138
138
|
createdAt: Date;
|
|
139
139
|
conversationId: string;
|
|
140
140
|
body?: string | null | undefined;
|
|
141
141
|
offer?: {
|
|
142
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
142
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
143
143
|
id: string;
|
|
144
144
|
price: number;
|
|
145
145
|
messageId: string;
|
|
@@ -174,13 +174,13 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
|
|
|
174
174
|
count: number;
|
|
175
175
|
rows: {
|
|
176
176
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
177
|
-
status: "
|
|
177
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
178
178
|
id: string;
|
|
179
179
|
createdAt: Date;
|
|
180
180
|
conversationId: string;
|
|
181
181
|
body?: string | null | undefined;
|
|
182
182
|
offer?: {
|
|
183
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
183
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
184
184
|
id: string;
|
|
185
185
|
price: number;
|
|
186
186
|
messageId: string;
|
|
@@ -215,13 +215,13 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
|
|
|
215
215
|
count: number;
|
|
216
216
|
rows: {
|
|
217
217
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
218
|
-
status: "
|
|
218
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
219
219
|
id: string;
|
|
220
220
|
createdAt: Date;
|
|
221
221
|
conversationId: string;
|
|
222
222
|
body?: string | null | undefined;
|
|
223
223
|
offer?: {
|
|
224
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
224
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
225
225
|
id: string;
|
|
226
226
|
price: number;
|
|
227
227
|
messageId: string;
|
|
@@ -5,12 +5,12 @@ export declare const UpdateConversationMessagePayloadSchema: z.ZodObject<{
|
|
|
5
5
|
associatedPreferenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEGOTIATION", "REPUBLISH", "VISION", "TITLE", "DESCRIPTION", "LIFECYCLE", "FEES", "MESSAGES_QUESTIONS", "MESSAGES_STREAM", "MESSAGES_STREAM__ON_FAVORITE", "MESSAGES_STREAM__ON_FAVORITES", "MESSAGES_STREAM__ON_LOW_OFFER", "MESSAGES_STREAM__ON_CORRECT_OFFER", "MESSAGES_STREAM__ON_OFFER_REJECTED", "MESSAGES_STREAM__ON_NO_ANSWER", "MESSAGES_STREAM__ON_BUYER_PAID", "MESSAGES_STREAM__ON_ITEM_DELIVERED", "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE"]>>>;
|
|
6
6
|
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
status?: "
|
|
8
|
+
status?: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | null | undefined;
|
|
9
9
|
body?: string | null | undefined;
|
|
10
10
|
platformMessageId?: string | null | undefined;
|
|
11
11
|
associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
12
12
|
}, {
|
|
13
|
-
status?: "
|
|
13
|
+
status?: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | null | undefined;
|
|
14
14
|
body?: string | null | undefined;
|
|
15
15
|
platformMessageId?: string | null | undefined;
|
|
16
16
|
associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
@@ -6,9 +6,9 @@ export declare const ConversationMessageOfferSchema: z.ZodObject<{
|
|
|
6
6
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
price: z.ZodNumber;
|
|
8
8
|
originalPrice: z.ZodNumber;
|
|
9
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "
|
|
9
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
11
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
12
12
|
id: string;
|
|
13
13
|
price: number;
|
|
14
14
|
messageId: string;
|
|
@@ -16,7 +16,7 @@ export declare const ConversationMessageOfferSchema: z.ZodObject<{
|
|
|
16
16
|
transactionId?: string | null | undefined;
|
|
17
17
|
platformOfferId?: string | null | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
19
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
20
20
|
id: string;
|
|
21
21
|
price: number;
|
|
22
22
|
messageId: string;
|
|
@@ -4,15 +4,15 @@ export declare const CreateConversationMessageOfferPayloadSchema: z.ZodObject<{
|
|
|
4
4
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
price: z.ZodNumber;
|
|
6
6
|
originalPrice: z.ZodNumber;
|
|
7
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "
|
|
7
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
9
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
10
10
|
price: number;
|
|
11
11
|
originalPrice: number;
|
|
12
12
|
transactionId?: string | null | undefined;
|
|
13
13
|
platformOfferId?: string | null | undefined;
|
|
14
14
|
}, {
|
|
15
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
15
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
16
16
|
price: number;
|
|
17
17
|
originalPrice: number;
|
|
18
18
|
transactionId?: string | null | undefined;
|
|
@@ -2,13 +2,13 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const UpdateConversationMessageOfferPayloadSchema: z.ZodObject<{
|
|
3
3
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
4
|
platformOfferId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
-
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "
|
|
5
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>>>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
status?: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
7
|
+
status?: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED" | null | undefined;
|
|
8
8
|
transactionId?: string | null | undefined;
|
|
9
9
|
platformOfferId?: string | null | undefined;
|
|
10
10
|
}, {
|
|
11
|
-
status?: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
11
|
+
status?: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED" | null | undefined;
|
|
12
12
|
transactionId?: string | null | undefined;
|
|
13
13
|
platformOfferId?: string | null | undefined;
|
|
14
14
|
}>;
|
|
@@ -71,9 +71,9 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
71
71
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
72
|
price: z.ZodNumber;
|
|
73
73
|
originalPrice: z.ZodNumber;
|
|
74
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "
|
|
74
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
76
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
77
77
|
id: string;
|
|
78
78
|
price: number;
|
|
79
79
|
messageId: string;
|
|
@@ -81,7 +81,7 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
81
81
|
transactionId?: string | null | undefined;
|
|
82
82
|
platformOfferId?: string | null | undefined;
|
|
83
83
|
}, {
|
|
84
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
84
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
85
85
|
id: string;
|
|
86
86
|
price: number;
|
|
87
87
|
messageId: string;
|
|
@@ -150,13 +150,13 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
150
150
|
}>, "many">>>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
152
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
153
|
-
status: "
|
|
153
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
154
154
|
id: string;
|
|
155
155
|
createdAt: Date;
|
|
156
156
|
conversationId: string;
|
|
157
157
|
body?: string | null | undefined;
|
|
158
158
|
offer?: {
|
|
159
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
159
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
160
160
|
id: string;
|
|
161
161
|
price: number;
|
|
162
162
|
messageId: string;
|
|
@@ -186,13 +186,13 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
186
186
|
} | null | undefined;
|
|
187
187
|
}, {
|
|
188
188
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
189
|
-
status: "
|
|
189
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
190
190
|
id: string;
|
|
191
191
|
createdAt: Date;
|
|
192
192
|
conversationId: string;
|
|
193
193
|
body?: string | null | undefined;
|
|
194
194
|
offer?: {
|
|
195
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
195
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
196
196
|
id: string;
|
|
197
197
|
price: number;
|
|
198
198
|
messageId: string;
|
|
@@ -314,13 +314,13 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
314
314
|
}[] | null | undefined;
|
|
315
315
|
lastMessage?: {
|
|
316
316
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
317
|
-
status: "
|
|
317
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
318
318
|
id: string;
|
|
319
319
|
createdAt: Date;
|
|
320
320
|
conversationId: string;
|
|
321
321
|
body?: string | null | undefined;
|
|
322
322
|
offer?: {
|
|
323
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
323
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
324
324
|
id: string;
|
|
325
325
|
price: number;
|
|
326
326
|
messageId: string;
|
|
@@ -381,13 +381,13 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
381
381
|
}[] | null | undefined;
|
|
382
382
|
lastMessage?: {
|
|
383
383
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
384
|
-
status: "
|
|
384
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
385
385
|
id: string;
|
|
386
386
|
createdAt: Date;
|
|
387
387
|
conversationId: string;
|
|
388
388
|
body?: string | null | undefined;
|
|
389
389
|
offer?: {
|
|
390
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
390
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
391
391
|
id: string;
|
|
392
392
|
price: number;
|
|
393
393
|
messageId: string;
|
|
@@ -463,13 +463,13 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
463
463
|
}[] | null | undefined;
|
|
464
464
|
lastMessage?: {
|
|
465
465
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
466
|
-
status: "
|
|
466
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
467
467
|
id: string;
|
|
468
468
|
createdAt: Date;
|
|
469
469
|
conversationId: string;
|
|
470
470
|
body?: string | null | undefined;
|
|
471
471
|
offer?: {
|
|
472
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
472
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
473
473
|
id: string;
|
|
474
474
|
price: number;
|
|
475
475
|
messageId: string;
|
|
@@ -545,13 +545,13 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
545
545
|
}[] | null | undefined;
|
|
546
546
|
lastMessage?: {
|
|
547
547
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
548
|
-
status: "
|
|
548
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
549
549
|
id: string;
|
|
550
550
|
createdAt: Date;
|
|
551
551
|
conversationId: string;
|
|
552
552
|
body?: string | null | undefined;
|
|
553
553
|
offer?: {
|
|
554
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
554
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
555
555
|
id: string;
|
|
556
556
|
price: number;
|
|
557
557
|
messageId: string;
|
package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts
CHANGED
|
@@ -20,15 +20,15 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
20
20
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
price: z.ZodNumber;
|
|
22
22
|
originalPrice: z.ZodNumber;
|
|
23
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "
|
|
23
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
25
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
26
26
|
id: string;
|
|
27
27
|
price: number;
|
|
28
28
|
originalPrice: number;
|
|
29
29
|
transactionId?: string | null | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
31
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
32
32
|
id: string;
|
|
33
33
|
price: number;
|
|
34
34
|
originalPrice: number;
|
|
@@ -44,7 +44,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
44
44
|
photos?: string[] | null | undefined;
|
|
45
45
|
isHidden?: boolean | null | undefined;
|
|
46
46
|
offer?: {
|
|
47
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
47
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
48
48
|
id: string;
|
|
49
49
|
price: number;
|
|
50
50
|
originalPrice: number;
|
|
@@ -59,7 +59,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
59
59
|
photos?: string[] | null | undefined;
|
|
60
60
|
isHidden?: boolean | null | undefined;
|
|
61
61
|
offer?: {
|
|
62
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
62
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
63
63
|
id: string;
|
|
64
64
|
price: number;
|
|
65
65
|
originalPrice: number;
|
|
@@ -161,7 +161,6 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
161
161
|
posts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
162
162
|
platformId: z.ZodString;
|
|
163
163
|
platformUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
|
-
sold: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
165
164
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
166
165
|
post: z.ZodObject<{
|
|
167
166
|
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -233,7 +232,6 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
233
232
|
manufacturerLabelling?: string | null | undefined;
|
|
234
233
|
labels?: string[] | null | undefined;
|
|
235
234
|
}>;
|
|
236
|
-
data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
235
|
}, "strip", z.ZodTypeAny, {
|
|
238
236
|
platformId: string;
|
|
239
237
|
post: {
|
|
@@ -260,9 +258,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
260
258
|
manufacturerLabelling?: string | null | undefined;
|
|
261
259
|
labels?: string[] | null | undefined;
|
|
262
260
|
};
|
|
263
|
-
data?: string | null | undefined;
|
|
264
261
|
createdAt?: Date | null | undefined;
|
|
265
|
-
sold?: boolean | null | undefined;
|
|
266
262
|
platformUrl?: string | null | undefined;
|
|
267
263
|
}, {
|
|
268
264
|
platformId: string;
|
|
@@ -290,9 +286,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
290
286
|
manufacturerLabelling?: string | null | undefined;
|
|
291
287
|
labels?: string[] | null | undefined;
|
|
292
288
|
};
|
|
293
|
-
data?: string | null | undefined;
|
|
294
289
|
createdAt?: Date | null | undefined;
|
|
295
|
-
sold?: boolean | null | undefined;
|
|
296
290
|
platformUrl?: string | null | undefined;
|
|
297
291
|
}>, "many">>>;
|
|
298
292
|
orders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -301,10 +295,10 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
301
295
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
302
296
|
price: z.ZodNumber;
|
|
303
297
|
currencyCode: z.ZodString;
|
|
304
|
-
status: z.ZodEnum<["PAYMENT_VALIDATED", "
|
|
298
|
+
status: z.ZodEnum<["PAYMENT_VALIDATED", "ORDER_CANCELED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_RECEIVED", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "UNKNOWN"]>;
|
|
305
299
|
date: z.ZodDate;
|
|
306
300
|
}, "strip", z.ZodTypeAny, {
|
|
307
|
-
status: "PAYMENT_VALIDATED" | "
|
|
301
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
308
302
|
id: string;
|
|
309
303
|
date: Date;
|
|
310
304
|
price: number;
|
|
@@ -312,7 +306,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
312
306
|
conversationId?: string | null | undefined;
|
|
313
307
|
transactionId?: string | null | undefined;
|
|
314
308
|
}, {
|
|
315
|
-
status: "PAYMENT_VALIDATED" | "
|
|
309
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
316
310
|
id: string;
|
|
317
311
|
date: Date;
|
|
318
312
|
price: number;
|
|
@@ -381,7 +375,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
381
375
|
photos?: string[] | null | undefined;
|
|
382
376
|
isHidden?: boolean | null | undefined;
|
|
383
377
|
offer?: {
|
|
384
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
378
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
385
379
|
id: string;
|
|
386
380
|
price: number;
|
|
387
381
|
originalPrice: number;
|
|
@@ -455,13 +449,11 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
455
449
|
manufacturerLabelling?: string | null | undefined;
|
|
456
450
|
labels?: string[] | null | undefined;
|
|
457
451
|
};
|
|
458
|
-
data?: string | null | undefined;
|
|
459
452
|
createdAt?: Date | null | undefined;
|
|
460
|
-
sold?: boolean | null | undefined;
|
|
461
453
|
platformUrl?: string | null | undefined;
|
|
462
454
|
}[] | null | undefined;
|
|
463
455
|
orders?: {
|
|
464
|
-
status: "PAYMENT_VALIDATED" | "
|
|
456
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
465
457
|
id: string;
|
|
466
458
|
date: Date;
|
|
467
459
|
price: number;
|
|
@@ -492,7 +484,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
492
484
|
photos?: string[] | null | undefined;
|
|
493
485
|
isHidden?: boolean | null | undefined;
|
|
494
486
|
offer?: {
|
|
495
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
487
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
496
488
|
id: string;
|
|
497
489
|
price: number;
|
|
498
490
|
originalPrice: number;
|
|
@@ -566,13 +558,11 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
566
558
|
manufacturerLabelling?: string | null | undefined;
|
|
567
559
|
labels?: string[] | null | undefined;
|
|
568
560
|
};
|
|
569
|
-
data?: string | null | undefined;
|
|
570
561
|
createdAt?: Date | null | undefined;
|
|
571
|
-
sold?: boolean | null | undefined;
|
|
572
562
|
platformUrl?: string | null | undefined;
|
|
573
563
|
}[] | null | undefined;
|
|
574
564
|
orders?: {
|
|
575
|
-
status: "PAYMENT_VALIDATED" | "
|
|
565
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
576
566
|
id: string;
|
|
577
567
|
date: Date;
|
|
578
568
|
price: number;
|
|
@@ -607,7 +597,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
607
597
|
photos?: string[] | null | undefined;
|
|
608
598
|
isHidden?: boolean | null | undefined;
|
|
609
599
|
offer?: {
|
|
610
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
600
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
611
601
|
id: string;
|
|
612
602
|
price: number;
|
|
613
603
|
originalPrice: number;
|
|
@@ -681,13 +671,11 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
681
671
|
manufacturerLabelling?: string | null | undefined;
|
|
682
672
|
labels?: string[] | null | undefined;
|
|
683
673
|
};
|
|
684
|
-
data?: string | null | undefined;
|
|
685
674
|
createdAt?: Date | null | undefined;
|
|
686
|
-
sold?: boolean | null | undefined;
|
|
687
675
|
platformUrl?: string | null | undefined;
|
|
688
676
|
}[] | null | undefined;
|
|
689
677
|
orders?: {
|
|
690
|
-
status: "PAYMENT_VALIDATED" | "
|
|
678
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
691
679
|
id: string;
|
|
692
680
|
date: Date;
|
|
693
681
|
price: number;
|
|
@@ -722,7 +710,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
722
710
|
photos?: string[] | null | undefined;
|
|
723
711
|
isHidden?: boolean | null | undefined;
|
|
724
712
|
offer?: {
|
|
725
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
713
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
726
714
|
id: string;
|
|
727
715
|
price: number;
|
|
728
716
|
originalPrice: number;
|
|
@@ -796,13 +784,11 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
796
784
|
manufacturerLabelling?: string | null | undefined;
|
|
797
785
|
labels?: string[] | null | undefined;
|
|
798
786
|
};
|
|
799
|
-
data?: string | null | undefined;
|
|
800
787
|
createdAt?: Date | null | undefined;
|
|
801
|
-
sold?: boolean | null | undefined;
|
|
802
788
|
platformUrl?: string | null | undefined;
|
|
803
789
|
}[] | null | undefined;
|
|
804
790
|
orders?: {
|
|
805
|
-
status: "PAYMENT_VALIDATED" | "
|
|
791
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
806
792
|
id: string;
|
|
807
793
|
date: Date;
|
|
808
794
|
price: number;
|
|
@@ -869,7 +855,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
869
855
|
photos?: string[] | null | undefined;
|
|
870
856
|
isHidden?: boolean | null | undefined;
|
|
871
857
|
offer?: {
|
|
872
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
858
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
873
859
|
id: string;
|
|
874
860
|
price: number;
|
|
875
861
|
originalPrice: number;
|
|
@@ -943,13 +929,11 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
943
929
|
manufacturerLabelling?: string | null | undefined;
|
|
944
930
|
labels?: string[] | null | undefined;
|
|
945
931
|
};
|
|
946
|
-
data?: string | null | undefined;
|
|
947
932
|
createdAt?: Date | null | undefined;
|
|
948
|
-
sold?: boolean | null | undefined;
|
|
949
933
|
platformUrl?: string | null | undefined;
|
|
950
934
|
}[] | null | undefined;
|
|
951
935
|
orders?: {
|
|
952
|
-
status: "PAYMENT_VALIDATED" | "
|
|
936
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
953
937
|
id: string;
|
|
954
938
|
date: Date;
|
|
955
939
|
price: number;
|
|
@@ -994,7 +978,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
994
978
|
photos?: string[] | null | undefined;
|
|
995
979
|
isHidden?: boolean | null | undefined;
|
|
996
980
|
offer?: {
|
|
997
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
981
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
998
982
|
id: string;
|
|
999
983
|
price: number;
|
|
1000
984
|
originalPrice: number;
|
|
@@ -1068,13 +1052,11 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1068
1052
|
manufacturerLabelling?: string | null | undefined;
|
|
1069
1053
|
labels?: string[] | null | undefined;
|
|
1070
1054
|
};
|
|
1071
|
-
data?: string | null | undefined;
|
|
1072
1055
|
createdAt?: Date | null | undefined;
|
|
1073
|
-
sold?: boolean | null | undefined;
|
|
1074
1056
|
platformUrl?: string | null | undefined;
|
|
1075
1057
|
}[] | null | undefined;
|
|
1076
1058
|
orders?: {
|
|
1077
|
-
status: "PAYMENT_VALIDATED" | "
|
|
1059
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
1078
1060
|
id: string;
|
|
1079
1061
|
date: Date;
|
|
1080
1062
|
price: number;
|
package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["FavoriteOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,qCAAqC
|
|
1
|
+
{"version":3,"file":"FavoriteOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["FavoriteOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhD,CAAA;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAA"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CreateOrderPayloadSchema: z.ZodObject<{
|
|
3
3
|
platformOrderId: z.ZodString;
|
|
4
|
-
status: z.ZodEnum<["PAYMENT_VALIDATED", "
|
|
4
|
+
status: z.ZodEnum<["PAYMENT_VALIDATED", "ORDER_CANCELED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_RECEIVED", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "UNKNOWN"]>;
|
|
5
5
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
price: z.ZodNumber;
|
|
8
8
|
date: z.ZodDate;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
status: "PAYMENT_VALIDATED" | "
|
|
10
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
11
11
|
date: Date;
|
|
12
12
|
price: number;
|
|
13
13
|
platformOrderId: string;
|
|
14
14
|
conversationId?: string | null | undefined;
|
|
15
15
|
transactionId?: string | null | undefined;
|
|
16
16
|
}, {
|
|
17
|
-
status: "PAYMENT_VALIDATED" | "
|
|
17
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
18
18
|
date: Date;
|
|
19
19
|
price: number;
|
|
20
20
|
platformOrderId: string;
|
|
@@ -3,7 +3,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
accountId: z.ZodString;
|
|
5
5
|
platformOrderId: z.ZodString;
|
|
6
|
-
status: z.ZodEnum<["PAYMENT_VALIDATED", "
|
|
6
|
+
status: z.ZodEnum<["PAYMENT_VALIDATED", "ORDER_CANCELED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_RECEIVED", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "UNKNOWN"]>;
|
|
7
7
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
price: z.ZodNumber;
|
|
@@ -198,7 +198,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
198
198
|
} | null | undefined;
|
|
199
199
|
}>, "many">>>;
|
|
200
200
|
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
status: "PAYMENT_VALIDATED" | "
|
|
201
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
202
202
|
id: string;
|
|
203
203
|
date: Date;
|
|
204
204
|
price: number;
|
|
@@ -248,7 +248,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
248
248
|
} | null | undefined;
|
|
249
249
|
}[] | null | undefined;
|
|
250
250
|
}, {
|
|
251
|
-
status: "PAYMENT_VALIDATED" | "
|
|
251
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
252
252
|
id: string;
|
|
253
253
|
date: Date;
|
|
254
254
|
price: number;
|