controlresell 2.25.3 → 2.25.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/api/requests/conversations/MessageStreamRequest.d.ts +3 -0
- package/src/com/controlresell/api/requests/conversations/MessageStreamRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/conversations/MessageStreamRequest.js +2 -1
- package/src/com/controlresell/api/requests/conversations/MessageStreamRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/conversations/MessageStreamRequest.ts +2 -1
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +7 -7
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +14 -14
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +11 -11
- package/src/com/controlresell/models/conversations/Conversation.d.ts +4 -4
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +4 -4
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +6 -6
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +6 -6
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +7 -4
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.js +1 -0
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.js.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.ts +1 -0
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +11 -6
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +11 -6
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +4 -4
- package/src/com/controlresell/models/items/CreatedItems.d.ts +34 -34
- package/src/com/controlresell/models/items/Item.d.ts +16 -16
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +14 -14
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +34 -34
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +14 -14
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +4 -4
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +6 -6
- package/src/com/controlresell/models/items/history/data/ItemHistoryActionCanceledPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.ts +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +20 -20
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +8 -8
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +4 -4
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +29 -29
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +6 -6
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +24 -24
- package/src/com/controlresell/models/transactions/Transaction.d.ts +8 -8
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +6 -6
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +24 -24
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +2 -2
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +74 -74
- package/src/com/controlresell/models/users/ws/UserWsPayload.js +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.js.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "controlresell",
|
|
3
|
-
"version": "2.25.
|
|
3
|
+
"version": "2.25.6",
|
|
4
4
|
"description": "Auto-generated zod project from Kotlin using zodable",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"typescript": "^5.9.3"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"controlresell-connector": "^1.5.
|
|
21
|
+
"controlresell-connector": "^1.5.18",
|
|
22
22
|
"zod": "^3.25.76",
|
|
23
23
|
"zodable-kotlin-primitives": "^1.0.0"
|
|
24
24
|
}
|
|
@@ -2,12 +2,15 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const MessageStreamRequestSchema: z.ZodObject<{
|
|
3
3
|
payload: z.ZodUnknown;
|
|
4
4
|
isFavorite: z.ZodBoolean;
|
|
5
|
+
favoriteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
6
|
}, "strip", z.ZodTypeAny, {
|
|
6
7
|
isFavorite: boolean;
|
|
7
8
|
payload?: unknown;
|
|
9
|
+
favoriteId?: string | null | undefined;
|
|
8
10
|
}, {
|
|
9
11
|
isFavorite: boolean;
|
|
10
12
|
payload?: unknown;
|
|
13
|
+
favoriteId?: string | null | undefined;
|
|
11
14
|
}>;
|
|
12
15
|
export type MessageStreamRequest = z.infer<typeof MessageStreamRequestSchema>;
|
|
13
16
|
//# sourceMappingURL=MessageStreamRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageStreamRequest.d.ts","sourceRoot":"","sources":["MessageStreamRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"MessageStreamRequest.d.ts","sourceRoot":"","sources":["MessageStreamRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageStreamRequest.js","sourceRoot":"","sources":["MessageStreamRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"MessageStreamRequest.js","sourceRoot":"","sources":["MessageStreamRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CACnC,CAAC,CAAA"}
|
|
@@ -3,6 +3,7 @@ import {JobResponseSchema} from "controlresell-connector"
|
|
|
3
3
|
|
|
4
4
|
export const MessageStreamRequestSchema = z.object({
|
|
5
5
|
payload: z.unknown(),
|
|
6
|
-
isFavorite: z.boolean()
|
|
6
|
+
isFavorite: z.boolean(),
|
|
7
|
+
favoriteId: z.string().nullish()
|
|
7
8
|
})
|
|
8
9
|
export type MessageStreamRequest = z.infer<typeof MessageStreamRequestSchema>
|
|
@@ -98,26 +98,26 @@ export declare const MessageStreamResponseSchema: z.ZodObject<{
|
|
|
98
98
|
}>, z.ZodObject<{
|
|
99
99
|
payload: z.ZodObject<{
|
|
100
100
|
accountId: z.ZodString;
|
|
101
|
-
otp: z.ZodString
|
|
101
|
+
otp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
103
|
accountId: string;
|
|
104
|
-
otp
|
|
104
|
+
otp?: string | null | undefined;
|
|
105
105
|
}, {
|
|
106
106
|
accountId: string;
|
|
107
|
-
otp
|
|
107
|
+
otp?: string | null | undefined;
|
|
108
108
|
}>;
|
|
109
109
|
type: z.ZodLiteral<"ACCOUNTS_OTP">;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
type: "ACCOUNTS_OTP";
|
|
112
112
|
payload: {
|
|
113
113
|
accountId: string;
|
|
114
|
-
otp
|
|
114
|
+
otp?: string | null | undefined;
|
|
115
115
|
};
|
|
116
116
|
}, {
|
|
117
117
|
type: "ACCOUNTS_OTP";
|
|
118
118
|
payload: {
|
|
119
119
|
accountId: string;
|
|
120
|
-
otp
|
|
120
|
+
otp?: string | null | undefined;
|
|
121
121
|
};
|
|
122
122
|
}>, z.ZodObject<{
|
|
123
123
|
payload: z.ZodObject<{
|
|
@@ -2254,7 +2254,7 @@ export declare const MessageStreamResponseSchema: z.ZodObject<{
|
|
|
2254
2254
|
type: "ACCOUNTS_OTP";
|
|
2255
2255
|
payload: {
|
|
2256
2256
|
accountId: string;
|
|
2257
|
-
otp
|
|
2257
|
+
otp?: string | null | undefined;
|
|
2258
2258
|
};
|
|
2259
2259
|
} | {
|
|
2260
2260
|
type: "ACCOUNTS_PING";
|
|
@@ -2651,7 +2651,7 @@ export declare const MessageStreamResponseSchema: z.ZodObject<{
|
|
|
2651
2651
|
type: "ACCOUNTS_OTP";
|
|
2652
2652
|
payload: {
|
|
2653
2653
|
accountId: string;
|
|
2654
|
-
otp
|
|
2654
|
+
otp?: string | null | undefined;
|
|
2655
2655
|
};
|
|
2656
2656
|
} | {
|
|
2657
2657
|
type: "ACCOUNTS_PING";
|
|
@@ -230,11 +230,11 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
230
230
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
231
231
|
data: z.ZodObject<{
|
|
232
232
|
targetItemHistoryId: z.ZodString;
|
|
233
|
-
reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "UNKNOWN"]>>>>;
|
|
233
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "UNKNOWN"]>>>>;
|
|
234
234
|
details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
235
235
|
}, "strip", z.ZodTypeAny, {
|
|
236
236
|
targetItemHistoryId: string;
|
|
237
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
237
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
238
238
|
details?: string | null | undefined;
|
|
239
239
|
}, {
|
|
240
240
|
targetItemHistoryId: string;
|
|
@@ -246,7 +246,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
246
246
|
type: "ACTION_CANCELED";
|
|
247
247
|
data: {
|
|
248
248
|
targetItemHistoryId: string;
|
|
249
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
249
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
250
250
|
details?: string | null | undefined;
|
|
251
251
|
};
|
|
252
252
|
}, {
|
|
@@ -1825,7 +1825,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
1825
1825
|
type: "ACTION_CANCELED";
|
|
1826
1826
|
data: {
|
|
1827
1827
|
targetItemHistoryId: string;
|
|
1828
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
1828
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
1829
1829
|
details?: string | null | undefined;
|
|
1830
1830
|
};
|
|
1831
1831
|
} | {
|
|
@@ -2399,6 +2399,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2399
2399
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2400
2400
|
locale?: string | null | undefined;
|
|
2401
2401
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
2402
|
+
restrictedUntil?: Date | null | undefined;
|
|
2402
2403
|
night?: {
|
|
2403
2404
|
startsAt: Date;
|
|
2404
2405
|
endsAt: Date;
|
|
@@ -2419,7 +2420,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2419
2420
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2420
2421
|
} | null | undefined;
|
|
2421
2422
|
cooldownEndsAt?: Date | null | undefined;
|
|
2422
|
-
restrictedUntil?: Date | null | undefined;
|
|
2423
2423
|
}, {
|
|
2424
2424
|
name: string;
|
|
2425
2425
|
userId: number;
|
|
@@ -2428,6 +2428,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2428
2428
|
status?: unknown;
|
|
2429
2429
|
locale?: string | null | undefined;
|
|
2430
2430
|
lockReason?: unknown;
|
|
2431
|
+
restrictedUntil?: Date | null | undefined;
|
|
2431
2432
|
night?: {
|
|
2432
2433
|
startsAt: Date;
|
|
2433
2434
|
endsAt: Date;
|
|
@@ -2448,7 +2449,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2448
2449
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2449
2450
|
} | null | undefined;
|
|
2450
2451
|
cooldownEndsAt?: Date | null | undefined;
|
|
2451
|
-
restrictedUntil?: Date | null | undefined;
|
|
2452
2452
|
}>>>;
|
|
2453
2453
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2454
2454
|
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2481,6 +2481,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2481
2481
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2482
2482
|
locale?: string | null | undefined;
|
|
2483
2483
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
2484
|
+
restrictedUntil?: Date | null | undefined;
|
|
2484
2485
|
night?: {
|
|
2485
2486
|
startsAt: Date;
|
|
2486
2487
|
endsAt: Date;
|
|
@@ -2501,7 +2502,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2501
2502
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2502
2503
|
} | null | undefined;
|
|
2503
2504
|
cooldownEndsAt?: Date | null | undefined;
|
|
2504
|
-
restrictedUntil?: Date | null | undefined;
|
|
2505
2505
|
} | null | undefined;
|
|
2506
2506
|
orderStatus?: "UNKNOWN" | "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_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
2507
2507
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
@@ -2529,6 +2529,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2529
2529
|
status?: unknown;
|
|
2530
2530
|
locale?: string | null | undefined;
|
|
2531
2531
|
lockReason?: unknown;
|
|
2532
|
+
restrictedUntil?: Date | null | undefined;
|
|
2532
2533
|
night?: {
|
|
2533
2534
|
startsAt: Date;
|
|
2534
2535
|
endsAt: Date;
|
|
@@ -2549,7 +2550,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
2549
2550
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2550
2551
|
} | null | undefined;
|
|
2551
2552
|
cooldownEndsAt?: Date | null | undefined;
|
|
2552
|
-
restrictedUntil?: Date | null | undefined;
|
|
2553
2553
|
} | null | undefined;
|
|
2554
2554
|
orderStatus?: unknown;
|
|
2555
2555
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
@@ -3370,6 +3370,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3370
3370
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3371
3371
|
locale?: string | null | undefined;
|
|
3372
3372
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3373
|
+
restrictedUntil?: Date | null | undefined;
|
|
3373
3374
|
night?: {
|
|
3374
3375
|
startsAt: Date;
|
|
3375
3376
|
endsAt: Date;
|
|
@@ -3390,7 +3391,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3390
3391
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3391
3392
|
} | null | undefined;
|
|
3392
3393
|
cooldownEndsAt?: Date | null | undefined;
|
|
3393
|
-
restrictedUntil?: Date | null | undefined;
|
|
3394
3394
|
} | null | undefined;
|
|
3395
3395
|
orderStatus?: "UNKNOWN" | "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_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
3396
3396
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
@@ -3441,7 +3441,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3441
3441
|
type: "ACTION_CANCELED";
|
|
3442
3442
|
data: {
|
|
3443
3443
|
targetItemHistoryId: string;
|
|
3444
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
3444
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
3445
3445
|
details?: string | null | undefined;
|
|
3446
3446
|
};
|
|
3447
3447
|
} | {
|
|
@@ -3883,6 +3883,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3883
3883
|
status?: unknown;
|
|
3884
3884
|
locale?: string | null | undefined;
|
|
3885
3885
|
lockReason?: unknown;
|
|
3886
|
+
restrictedUntil?: Date | null | undefined;
|
|
3886
3887
|
night?: {
|
|
3887
3888
|
startsAt: Date;
|
|
3888
3889
|
endsAt: Date;
|
|
@@ -3903,7 +3904,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
3903
3904
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3904
3905
|
} | null | undefined;
|
|
3905
3906
|
cooldownEndsAt?: Date | null | undefined;
|
|
3906
|
-
restrictedUntil?: Date | null | undefined;
|
|
3907
3907
|
} | null | undefined;
|
|
3908
3908
|
orderStatus?: unknown;
|
|
3909
3909
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
@@ -4401,6 +4401,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4401
4401
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4402
4402
|
locale?: string | null | undefined;
|
|
4403
4403
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
4404
|
+
restrictedUntil?: Date | null | undefined;
|
|
4404
4405
|
night?: {
|
|
4405
4406
|
startsAt: Date;
|
|
4406
4407
|
endsAt: Date;
|
|
@@ -4421,7 +4422,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4421
4422
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4422
4423
|
} | null | undefined;
|
|
4423
4424
|
cooldownEndsAt?: Date | null | undefined;
|
|
4424
|
-
restrictedUntil?: Date | null | undefined;
|
|
4425
4425
|
} | null | undefined;
|
|
4426
4426
|
orderStatus?: "UNKNOWN" | "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_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
4427
4427
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
@@ -4472,7 +4472,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4472
4472
|
type: "ACTION_CANCELED";
|
|
4473
4473
|
data: {
|
|
4474
4474
|
targetItemHistoryId: string;
|
|
4475
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
4475
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
4476
4476
|
details?: string | null | undefined;
|
|
4477
4477
|
};
|
|
4478
4478
|
} | {
|
|
@@ -4920,6 +4920,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4920
4920
|
status?: unknown;
|
|
4921
4921
|
locale?: string | null | undefined;
|
|
4922
4922
|
lockReason?: unknown;
|
|
4923
|
+
restrictedUntil?: Date | null | undefined;
|
|
4923
4924
|
night?: {
|
|
4924
4925
|
startsAt: Date;
|
|
4925
4926
|
endsAt: Date;
|
|
@@ -4940,7 +4941,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
4940
4941
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4941
4942
|
} | null | undefined;
|
|
4942
4943
|
cooldownEndsAt?: Date | null | undefined;
|
|
4943
|
-
restrictedUntil?: Date | null | undefined;
|
|
4944
4944
|
} | null | undefined;
|
|
4945
4945
|
orderStatus?: unknown;
|
|
4946
4946
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
@@ -227,11 +227,11 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
227
227
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
228
228
|
data: z.ZodObject<{
|
|
229
229
|
targetItemHistoryId: z.ZodString;
|
|
230
|
-
reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "UNKNOWN"]>>>>;
|
|
230
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "UNKNOWN"]>>>>;
|
|
231
231
|
details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
232
|
}, "strip", z.ZodTypeAny, {
|
|
233
233
|
targetItemHistoryId: string;
|
|
234
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
234
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
235
235
|
details?: string | null | undefined;
|
|
236
236
|
}, {
|
|
237
237
|
targetItemHistoryId: string;
|
|
@@ -243,7 +243,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
243
243
|
type: "ACTION_CANCELED";
|
|
244
244
|
data: {
|
|
245
245
|
targetItemHistoryId: string;
|
|
246
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
246
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
247
247
|
details?: string | null | undefined;
|
|
248
248
|
};
|
|
249
249
|
}, {
|
|
@@ -1822,7 +1822,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1822
1822
|
type: "ACTION_CANCELED";
|
|
1823
1823
|
data: {
|
|
1824
1824
|
targetItemHistoryId: string;
|
|
1825
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
1825
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
1826
1826
|
details?: string | null | undefined;
|
|
1827
1827
|
};
|
|
1828
1828
|
} | {
|
|
@@ -2396,6 +2396,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2396
2396
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2397
2397
|
locale?: string | null | undefined;
|
|
2398
2398
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
2399
|
+
restrictedUntil?: Date | null | undefined;
|
|
2399
2400
|
night?: {
|
|
2400
2401
|
startsAt: Date;
|
|
2401
2402
|
endsAt: Date;
|
|
@@ -2416,7 +2417,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2416
2417
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2417
2418
|
} | null | undefined;
|
|
2418
2419
|
cooldownEndsAt?: Date | null | undefined;
|
|
2419
|
-
restrictedUntil?: Date | null | undefined;
|
|
2420
2420
|
}, {
|
|
2421
2421
|
name: string;
|
|
2422
2422
|
userId: number;
|
|
@@ -2425,6 +2425,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2425
2425
|
status?: unknown;
|
|
2426
2426
|
locale?: string | null | undefined;
|
|
2427
2427
|
lockReason?: unknown;
|
|
2428
|
+
restrictedUntil?: Date | null | undefined;
|
|
2428
2429
|
night?: {
|
|
2429
2430
|
startsAt: Date;
|
|
2430
2431
|
endsAt: Date;
|
|
@@ -2445,7 +2446,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2445
2446
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2446
2447
|
} | null | undefined;
|
|
2447
2448
|
cooldownEndsAt?: Date | null | undefined;
|
|
2448
|
-
restrictedUntil?: Date | null | undefined;
|
|
2449
2449
|
}>>>;
|
|
2450
2450
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2451
2451
|
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2478,6 +2478,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2478
2478
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2479
2479
|
locale?: string | null | undefined;
|
|
2480
2480
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
2481
|
+
restrictedUntil?: Date | null | undefined;
|
|
2481
2482
|
night?: {
|
|
2482
2483
|
startsAt: Date;
|
|
2483
2484
|
endsAt: Date;
|
|
@@ -2498,7 +2499,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2498
2499
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2499
2500
|
} | null | undefined;
|
|
2500
2501
|
cooldownEndsAt?: Date | null | undefined;
|
|
2501
|
-
restrictedUntil?: Date | null | undefined;
|
|
2502
2502
|
} | null | undefined;
|
|
2503
2503
|
orderStatus?: "UNKNOWN" | "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_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
2504
2504
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
@@ -2526,6 +2526,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2526
2526
|
status?: unknown;
|
|
2527
2527
|
locale?: string | null | undefined;
|
|
2528
2528
|
lockReason?: unknown;
|
|
2529
|
+
restrictedUntil?: Date | null | undefined;
|
|
2529
2530
|
night?: {
|
|
2530
2531
|
startsAt: Date;
|
|
2531
2532
|
endsAt: Date;
|
|
@@ -2546,7 +2547,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2546
2547
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2547
2548
|
} | null | undefined;
|
|
2548
2549
|
cooldownEndsAt?: Date | null | undefined;
|
|
2549
|
-
restrictedUntil?: Date | null | undefined;
|
|
2550
2550
|
} | null | undefined;
|
|
2551
2551
|
orderStatus?: unknown;
|
|
2552
2552
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
@@ -3367,6 +3367,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3367
3367
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3368
3368
|
locale?: string | null | undefined;
|
|
3369
3369
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3370
|
+
restrictedUntil?: Date | null | undefined;
|
|
3370
3371
|
night?: {
|
|
3371
3372
|
startsAt: Date;
|
|
3372
3373
|
endsAt: Date;
|
|
@@ -3387,7 +3388,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3387
3388
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3388
3389
|
} | null | undefined;
|
|
3389
3390
|
cooldownEndsAt?: Date | null | undefined;
|
|
3390
|
-
restrictedUntil?: Date | null | undefined;
|
|
3391
3391
|
} | null | undefined;
|
|
3392
3392
|
orderStatus?: "UNKNOWN" | "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_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED" | null | undefined;
|
|
3393
3393
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
@@ -3438,7 +3438,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3438
3438
|
type: "ACTION_CANCELED";
|
|
3439
3439
|
data: {
|
|
3440
3440
|
targetItemHistoryId: string;
|
|
3441
|
-
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | null | undefined;
|
|
3441
|
+
reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
|
|
3442
3442
|
details?: string | null | undefined;
|
|
3443
3443
|
};
|
|
3444
3444
|
} | {
|
|
@@ -3880,6 +3880,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3880
3880
|
status?: unknown;
|
|
3881
3881
|
locale?: string | null | undefined;
|
|
3882
3882
|
lockReason?: unknown;
|
|
3883
|
+
restrictedUntil?: Date | null | undefined;
|
|
3883
3884
|
night?: {
|
|
3884
3885
|
startsAt: Date;
|
|
3885
3886
|
endsAt: Date;
|
|
@@ -3900,7 +3901,6 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3900
3901
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
3901
3902
|
} | null | undefined;
|
|
3902
3903
|
cooldownEndsAt?: Date | null | undefined;
|
|
3903
|
-
restrictedUntil?: Date | null | undefined;
|
|
3904
3904
|
} | null | undefined;
|
|
3905
3905
|
orderStatus?: unknown;
|
|
3906
3906
|
orderType?: "SALE" | "PURCHASE" | null | undefined;
|
|
@@ -62,6 +62,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
62
62
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
63
63
|
locale?: string | null | undefined;
|
|
64
64
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
65
|
+
restrictedUntil?: Date | null | undefined;
|
|
65
66
|
night?: {
|
|
66
67
|
startsAt: Date;
|
|
67
68
|
endsAt: Date;
|
|
@@ -82,7 +83,6 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
82
83
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
83
84
|
} | null | undefined;
|
|
84
85
|
cooldownEndsAt?: Date | null | undefined;
|
|
85
|
-
restrictedUntil?: Date | null | undefined;
|
|
86
86
|
}, {
|
|
87
87
|
name: string;
|
|
88
88
|
userId: number;
|
|
@@ -91,6 +91,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
91
91
|
status?: unknown;
|
|
92
92
|
locale?: string | null | undefined;
|
|
93
93
|
lockReason?: unknown;
|
|
94
|
+
restrictedUntil?: Date | null | undefined;
|
|
94
95
|
night?: {
|
|
95
96
|
startsAt: Date;
|
|
96
97
|
endsAt: Date;
|
|
@@ -111,7 +112,6 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
111
112
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
112
113
|
} | null | undefined;
|
|
113
114
|
cooldownEndsAt?: Date | null | undefined;
|
|
114
|
-
restrictedUntil?: Date | null | undefined;
|
|
115
115
|
}>>>;
|
|
116
116
|
lastMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
117
117
|
id: z.ZodString;
|
|
@@ -465,6 +465,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
465
465
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
466
466
|
locale?: string | null | undefined;
|
|
467
467
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
468
|
+
restrictedUntil?: Date | null | undefined;
|
|
468
469
|
night?: {
|
|
469
470
|
startsAt: Date;
|
|
470
471
|
endsAt: Date;
|
|
@@ -485,7 +486,6 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
485
486
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
486
487
|
} | null | undefined;
|
|
487
488
|
cooldownEndsAt?: Date | null | undefined;
|
|
488
|
-
restrictedUntil?: Date | null | undefined;
|
|
489
489
|
} | null | undefined;
|
|
490
490
|
lastRead?: Date | null | undefined;
|
|
491
491
|
lastMessage?: {
|
|
@@ -579,6 +579,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
579
579
|
status?: unknown;
|
|
580
580
|
locale?: string | null | undefined;
|
|
581
581
|
lockReason?: unknown;
|
|
582
|
+
restrictedUntil?: Date | null | undefined;
|
|
582
583
|
night?: {
|
|
583
584
|
startsAt: Date;
|
|
584
585
|
endsAt: Date;
|
|
@@ -599,7 +600,6 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
599
600
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
600
601
|
} | null | undefined;
|
|
601
602
|
cooldownEndsAt?: Date | null | undefined;
|
|
602
|
-
restrictedUntil?: Date | null | undefined;
|
|
603
603
|
} | null | undefined;
|
|
604
604
|
lastRead?: Date | null | undefined;
|
|
605
605
|
lastMessage?: {
|
|
@@ -885,6 +885,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
885
885
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
886
886
|
locale?: string | null | undefined;
|
|
887
887
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
888
|
+
restrictedUntil?: Date | null | undefined;
|
|
888
889
|
night?: {
|
|
889
890
|
startsAt: Date;
|
|
890
891
|
endsAt: Date;
|
|
@@ -905,7 +906,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
905
906
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
906
907
|
} | null | undefined;
|
|
907
908
|
cooldownEndsAt?: Date | null | undefined;
|
|
908
|
-
restrictedUntil?: Date | null | undefined;
|
|
909
909
|
}, {
|
|
910
910
|
name: string;
|
|
911
911
|
userId: number;
|
|
@@ -914,6 +914,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
914
914
|
status?: unknown;
|
|
915
915
|
locale?: string | null | undefined;
|
|
916
916
|
lockReason?: unknown;
|
|
917
|
+
restrictedUntil?: Date | null | undefined;
|
|
917
918
|
night?: {
|
|
918
919
|
startsAt: Date;
|
|
919
920
|
endsAt: Date;
|
|
@@ -934,7 +935,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
934
935
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
935
936
|
} | null | undefined;
|
|
936
937
|
cooldownEndsAt?: Date | null | undefined;
|
|
937
|
-
restrictedUntil?: Date | null | undefined;
|
|
938
938
|
}>;
|
|
939
939
|
}, "strip", z.ZodTypeAny, {
|
|
940
940
|
conversation: {
|
|
@@ -1093,6 +1093,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1093
1093
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1094
1094
|
locale?: string | null | undefined;
|
|
1095
1095
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
1096
|
+
restrictedUntil?: Date | null | undefined;
|
|
1096
1097
|
night?: {
|
|
1097
1098
|
startsAt: Date;
|
|
1098
1099
|
endsAt: Date;
|
|
@@ -1113,7 +1114,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1113
1114
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1114
1115
|
} | null | undefined;
|
|
1115
1116
|
cooldownEndsAt?: Date | null | undefined;
|
|
1116
|
-
restrictedUntil?: Date | null | undefined;
|
|
1117
1117
|
};
|
|
1118
1118
|
}, {
|
|
1119
1119
|
conversation: {
|
|
@@ -1272,6 +1272,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1272
1272
|
status?: unknown;
|
|
1273
1273
|
locale?: string | null | undefined;
|
|
1274
1274
|
lockReason?: unknown;
|
|
1275
|
+
restrictedUntil?: Date | null | undefined;
|
|
1275
1276
|
night?: {
|
|
1276
1277
|
startsAt: Date;
|
|
1277
1278
|
endsAt: Date;
|
|
@@ -1292,7 +1293,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1292
1293
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1293
1294
|
} | null | undefined;
|
|
1294
1295
|
cooldownEndsAt?: Date | null | undefined;
|
|
1295
|
-
restrictedUntil?: Date | null | undefined;
|
|
1296
1296
|
};
|
|
1297
1297
|
}>;
|
|
1298
1298
|
export type ConversationOnPlatformUpdateRequest = z.infer<typeof ConversationOnPlatformUpdateRequestSchema>;
|