controlresell 2.4.9 → 2.4.19
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/CreatedItems.d.ts +42 -0
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +34 -0
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +42 -0
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +42 -0
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +26 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +33 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +26 -0
- package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +35 -0
- package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/ConversationUpdate.d.ts +811 -0
- package/src/com/controlresell/models/platforms/conversations/ConversationUpdate.d.ts.map +1 -0
- package/src/com/controlresell/models/platforms/conversations/ConversationUpdate.js +13 -0
- package/src/com/controlresell/models/platforms/conversations/ConversationUpdate.js.map +1 -0
- package/src/com/controlresell/models/platforms/conversations/ConversationUpdate.ts +11 -0
- package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +34 -0
- package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.d.ts +6 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.js +4 -1
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.js.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationOfferRequest.ts +4 -1
- package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationOffer.d.ts +16 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationOffer.d.ts.map +1 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationOffer.js +10 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationOffer.js.map +1 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationOffer.ts +8 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationParameters.d.ts +16 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationParameters.d.ts.map +1 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationParameters.js +11 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationParameters.js.map +1 -0
- package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationParameters.ts +9 -0
- package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +60 -0
- package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +37 -0
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/favorites/SendFavoritesRequest.d.ts +10 -0
- package/src/com/controlresell/models/platforms/favorites/SendFavoritesRequest.d.ts.map +1 -0
- package/src/com/controlresell/models/platforms/favorites/SendFavoritesRequest.js +8 -0
- package/src/com/controlresell/models/platforms/favorites/SendFavoritesRequest.js.map +1 -0
- package/src/com/controlresell/models/platforms/favorites/SendFavoritesRequest.ts +6 -0
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +42 -0
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +26 -0
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +34 -0
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +92 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +42 -0
- package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +34 -0
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +92 -0
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/Preference.d.ts +79 -0
- package/src/com/controlresell/models/preferences/Preference.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +68 -0
- package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts +237 -0
- package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.d.ts +168 -0
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts +69 -0
- package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts +69 -0
- package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +69 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +29 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts +40 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js +7 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js.map +1 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.ts +8 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +39 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.d.ts +10 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.d.ts.map +1 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.js +8 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.js.map +1 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextsPayload.ts +6 -0
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +306 -0
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +59 -0
- package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts +59 -0
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +98 -0
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +59 -0
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +26 -0
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +26 -0
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +18 -0
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js +3 -1
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.ts +3 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +18 -0
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.js +3 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.ts +3 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +550 -0
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.js +2 -0
- package/src/com/controlresell/models/users/ws/UserWsPayload.js.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.ts +2 -0
- package/src/index.d.ts +5 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +13 -3
- package/src/index.js.map +1 -1
- package/src/index.ts +5 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationUpdate.d.ts","sourceRoot":"","sources":["ConversationUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConversationUpdateSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zodable_idschema_1 = require("zodable-idschema");
|
|
6
|
+
const Conversation_1 = require("./Conversation");
|
|
7
|
+
const ConversationMessage_1 = require("./messages/ConversationMessage");
|
|
8
|
+
exports.ConversationUpdateSchema = zod_1.z.object({
|
|
9
|
+
userId: zodable_idschema_1.IdSchema,
|
|
10
|
+
conversation: Conversation_1.ConversationSchema,
|
|
11
|
+
newMessages: zod_1.z.array(ConversationMessage_1.ConversationMessageSchema)
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=ConversationUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationUpdate.js","sourceRoot":"","sources":["ConversationUpdate.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,uDAAyC;AACzC,iDAAiD;AACjD,wEAAwE;AAE3D,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,2BAAQ;IAChB,YAAY,EAAE,iCAAkB;IAChC,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,+CAAyB,CAAC;CAClD,CAAC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
import {IdSchema} from "zodable-idschema"
|
|
3
|
+
import {ConversationSchema} from "./Conversation"
|
|
4
|
+
import {ConversationMessageSchema} from "./messages/ConversationMessage"
|
|
5
|
+
|
|
6
|
+
export const ConversationUpdateSchema = z.object({
|
|
7
|
+
userId: IdSchema,
|
|
8
|
+
conversation: ConversationSchema,
|
|
9
|
+
newMessages: z.array(ConversationMessageSchema)
|
|
10
|
+
})
|
|
11
|
+
export type ConversationUpdate = z.infer<typeof ConversationUpdateSchema>
|
|
@@ -14,12 +14,26 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
14
14
|
name: z.ZodString;
|
|
15
15
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
17
|
+
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
startsAt: z.ZodDate;
|
|
19
|
+
endsAt: z.ZodDate;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
startsAt: Date;
|
|
22
|
+
endsAt: Date;
|
|
23
|
+
}, {
|
|
24
|
+
startsAt: Date;
|
|
25
|
+
endsAt: Date;
|
|
26
|
+
}>>>;
|
|
17
27
|
}, "strip", z.ZodTypeAny, {
|
|
18
28
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
19
29
|
userId: string | number;
|
|
20
30
|
name: string;
|
|
21
31
|
platform: "VINTED" | "SHOPIFY";
|
|
22
32
|
accountId: string;
|
|
33
|
+
night?: {
|
|
34
|
+
startsAt: Date;
|
|
35
|
+
endsAt: Date;
|
|
36
|
+
} | null | undefined;
|
|
23
37
|
locale?: string | null | undefined;
|
|
24
38
|
}, {
|
|
25
39
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
@@ -27,6 +41,10 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
27
41
|
name: string;
|
|
28
42
|
platform: "VINTED" | "SHOPIFY";
|
|
29
43
|
accountId: string;
|
|
44
|
+
night?: {
|
|
45
|
+
startsAt: Date;
|
|
46
|
+
endsAt: Date;
|
|
47
|
+
} | null | undefined;
|
|
30
48
|
locale?: string | null | undefined;
|
|
31
49
|
}>>>;
|
|
32
50
|
lastMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -268,6 +286,10 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
268
286
|
name: string;
|
|
269
287
|
platform: "VINTED" | "SHOPIFY";
|
|
270
288
|
accountId: string;
|
|
289
|
+
night?: {
|
|
290
|
+
startsAt: Date;
|
|
291
|
+
endsAt: Date;
|
|
292
|
+
} | null | undefined;
|
|
271
293
|
locale?: string | null | undefined;
|
|
272
294
|
} | null | undefined;
|
|
273
295
|
users?: {
|
|
@@ -335,6 +357,10 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
335
357
|
name: string;
|
|
336
358
|
platform: "VINTED" | "SHOPIFY";
|
|
337
359
|
accountId: string;
|
|
360
|
+
night?: {
|
|
361
|
+
startsAt: Date;
|
|
362
|
+
endsAt: Date;
|
|
363
|
+
} | null | undefined;
|
|
338
364
|
locale?: string | null | undefined;
|
|
339
365
|
} | null | undefined;
|
|
340
366
|
users?: {
|
|
@@ -407,6 +433,10 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
407
433
|
name: string;
|
|
408
434
|
platform: "VINTED" | "SHOPIFY";
|
|
409
435
|
accountId: string;
|
|
436
|
+
night?: {
|
|
437
|
+
startsAt: Date;
|
|
438
|
+
endsAt: Date;
|
|
439
|
+
} | null | undefined;
|
|
410
440
|
locale?: string | null | undefined;
|
|
411
441
|
} | null | undefined;
|
|
412
442
|
users?: {
|
|
@@ -480,6 +510,10 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
480
510
|
name: string;
|
|
481
511
|
platform: "VINTED" | "SHOPIFY";
|
|
482
512
|
accountId: string;
|
|
513
|
+
night?: {
|
|
514
|
+
startsAt: Date;
|
|
515
|
+
endsAt: Date;
|
|
516
|
+
} | null | undefined;
|
|
483
517
|
locale?: string | null | undefined;
|
|
484
518
|
} | null | undefined;
|
|
485
519
|
users?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserConversations.d.ts","sourceRoot":"","sources":["UserConversations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"UserConversations.d.ts","sourceRoot":"","sources":["UserConversations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
|
@@ -2,12 +2,18 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const ConversationOfferRequestSchema: z.ZodObject<{
|
|
3
3
|
price: z.ZodNumber;
|
|
4
4
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
+
isTestMode: z.ZodBoolean;
|
|
6
|
+
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"]>>>;
|
|
5
7
|
}, "strip", z.ZodTypeAny, {
|
|
6
8
|
price: number;
|
|
9
|
+
isTestMode: boolean;
|
|
7
10
|
transactionId?: string | null | undefined;
|
|
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;
|
|
8
12
|
}, {
|
|
9
13
|
price: number;
|
|
14
|
+
isTestMode: boolean;
|
|
10
15
|
transactionId?: string | null | undefined;
|
|
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;
|
|
11
17
|
}>;
|
|
12
18
|
export type ConversationOfferRequest = z.infer<typeof ConversationOfferRequestSchema>;
|
|
13
19
|
//# sourceMappingURL=ConversationOfferRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationOfferRequest.d.ts","sourceRoot":"","sources":["ConversationOfferRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"ConversationOfferRequest.d.ts","sourceRoot":"","sources":["ConversationOfferRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;EAKzC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA"}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConversationOfferRequestSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const PreferenceType_1 = require("../../../../preferences/PreferenceType");
|
|
5
6
|
exports.ConversationOfferRequestSchema = zod_1.z.object({
|
|
6
7
|
price: zod_1.z.number(),
|
|
7
|
-
transactionId: zod_1.z.string().uuid().nullish()
|
|
8
|
+
transactionId: zod_1.z.string().uuid().nullish(),
|
|
9
|
+
isTestMode: zod_1.z.boolean(),
|
|
10
|
+
associatedPreferenceType: PreferenceType_1.PreferenceTypeSchema.nullish()
|
|
8
11
|
});
|
|
9
12
|
//# sourceMappingURL=ConversationOfferRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationOfferRequest.js","sourceRoot":"","sources":["ConversationOfferRequest.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;
|
|
1
|
+
{"version":3,"file":"ConversationOfferRequest.js","sourceRoot":"","sources":["ConversationOfferRequest.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,2EAA2E;AAE9D,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC1C,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE;IACvB,wBAAwB,EAAE,qCAAoB,CAAC,OAAO,EAAE;CAC3D,CAAC,CAAA"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
|
+
import {PreferenceTypeSchema} from "../../../../preferences/PreferenceType"
|
|
2
3
|
|
|
3
4
|
export const ConversationOfferRequestSchema = z.object({
|
|
4
5
|
price: z.number(),
|
|
5
|
-
transactionId: z.string().uuid().nullish()
|
|
6
|
+
transactionId: z.string().uuid().nullish(),
|
|
7
|
+
isTestMode: z.boolean(),
|
|
8
|
+
associatedPreferenceType: PreferenceTypeSchema.nullish()
|
|
6
9
|
})
|
|
7
10
|
export type ConversationOfferRequest = z.infer<typeof ConversationOfferRequestSchema>
|
package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationOffer.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const NegotiationOfferSchema: z.ZodObject<{
|
|
3
|
+
proposedPrice: z.ZodNumber;
|
|
4
|
+
discountAmount: z.ZodNumber;
|
|
5
|
+
discountPercentage: z.ZodNumber;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
proposedPrice: number;
|
|
8
|
+
discountAmount: number;
|
|
9
|
+
discountPercentage: number;
|
|
10
|
+
}, {
|
|
11
|
+
proposedPrice: number;
|
|
12
|
+
discountAmount: number;
|
|
13
|
+
discountPercentage: number;
|
|
14
|
+
}>;
|
|
15
|
+
export type NegotiationOffer = z.infer<typeof NegotiationOfferSchema>;
|
|
16
|
+
//# sourceMappingURL=NegotiationOffer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NegotiationOffer.d.ts","sourceRoot":"","sources":["NegotiationOffer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationOffer.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NegotiationOfferSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.NegotiationOfferSchema = zod_1.z.object({
|
|
6
|
+
proposedPrice: zod_1.z.number(),
|
|
7
|
+
discountAmount: zod_1.z.number(),
|
|
8
|
+
discountPercentage: zod_1.z.number().int()
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=NegotiationOffer.js.map
|
package/src/com/controlresell/models/platforms/conversations/messages/offers/NegotiationOffer.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NegotiationOffer.js","sourceRoot":"","sources":["NegotiationOffer.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;IAC1B,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACvC,CAAC,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const NegotiationParametersSchema: z.ZodObject<{
|
|
3
|
+
isTestMode: z.ZodBoolean;
|
|
4
|
+
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"]>>>;
|
|
5
|
+
bypassManualMessageCheck: z.ZodBoolean;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
isTestMode: boolean;
|
|
8
|
+
bypassManualMessageCheck: boolean;
|
|
9
|
+
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;
|
|
10
|
+
}, {
|
|
11
|
+
isTestMode: boolean;
|
|
12
|
+
bypassManualMessageCheck: boolean;
|
|
13
|
+
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;
|
|
14
|
+
}>;
|
|
15
|
+
export type NegotiationParameters = z.infer<typeof NegotiationParametersSchema>;
|
|
16
|
+
//# sourceMappingURL=NegotiationParameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NegotiationParameters.d.ts","sourceRoot":"","sources":["NegotiationParameters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;EAItC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NegotiationParametersSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const PreferenceType_1 = require("../../../../preferences/PreferenceType");
|
|
6
|
+
exports.NegotiationParametersSchema = zod_1.z.object({
|
|
7
|
+
isTestMode: zod_1.z.boolean(),
|
|
8
|
+
associatedPreferenceType: PreferenceType_1.PreferenceTypeSchema.nullish(),
|
|
9
|
+
bypassManualMessageCheck: zod_1.z.boolean()
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=NegotiationParameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NegotiationParameters.js","sourceRoot":"","sources":["NegotiationParameters.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,2EAA2E;AAE9D,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE;IACvB,wBAAwB,EAAE,qCAAoB,CAAC,OAAO,EAAE;IACxD,wBAAwB,EAAE,OAAC,CAAC,OAAO,EAAE;CACxC,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
import {PreferenceTypeSchema} from "../../../../preferences/PreferenceType"
|
|
3
|
+
|
|
4
|
+
export const NegotiationParametersSchema = z.object({
|
|
5
|
+
isTestMode: z.boolean(),
|
|
6
|
+
associatedPreferenceType: PreferenceTypeSchema.nullish(),
|
|
7
|
+
bypassManualMessageCheck: z.boolean()
|
|
8
|
+
})
|
|
9
|
+
export type NegotiationParameters = z.infer<typeof NegotiationParametersSchema>
|
|
@@ -12,12 +12,26 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodString;
|
|
13
13
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
15
|
+
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
|
+
startsAt: z.ZodDate;
|
|
17
|
+
endsAt: z.ZodDate;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
startsAt: Date;
|
|
20
|
+
endsAt: Date;
|
|
21
|
+
}, {
|
|
22
|
+
startsAt: Date;
|
|
23
|
+
endsAt: Date;
|
|
24
|
+
}>>>;
|
|
15
25
|
}, "strip", z.ZodTypeAny, {
|
|
16
26
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
17
27
|
userId: string | number;
|
|
18
28
|
name: string;
|
|
19
29
|
platform: "VINTED" | "SHOPIFY";
|
|
20
30
|
accountId: string;
|
|
31
|
+
night?: {
|
|
32
|
+
startsAt: Date;
|
|
33
|
+
endsAt: Date;
|
|
34
|
+
} | null | undefined;
|
|
21
35
|
locale?: string | null | undefined;
|
|
22
36
|
}, {
|
|
23
37
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
@@ -25,6 +39,10 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
25
39
|
name: string;
|
|
26
40
|
platform: "VINTED" | "SHOPIFY";
|
|
27
41
|
accountId: string;
|
|
42
|
+
night?: {
|
|
43
|
+
startsAt: Date;
|
|
44
|
+
endsAt: Date;
|
|
45
|
+
} | null | undefined;
|
|
28
46
|
locale?: string | null | undefined;
|
|
29
47
|
}>>>;
|
|
30
48
|
conversation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -39,12 +57,26 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
39
57
|
name: z.ZodString;
|
|
40
58
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
59
|
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
60
|
+
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
61
|
+
startsAt: z.ZodDate;
|
|
62
|
+
endsAt: z.ZodDate;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
startsAt: Date;
|
|
65
|
+
endsAt: Date;
|
|
66
|
+
}, {
|
|
67
|
+
startsAt: Date;
|
|
68
|
+
endsAt: Date;
|
|
69
|
+
}>>>;
|
|
42
70
|
}, "strip", z.ZodTypeAny, {
|
|
43
71
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
44
72
|
userId: string | number;
|
|
45
73
|
name: string;
|
|
46
74
|
platform: "VINTED" | "SHOPIFY";
|
|
47
75
|
accountId: string;
|
|
76
|
+
night?: {
|
|
77
|
+
startsAt: Date;
|
|
78
|
+
endsAt: Date;
|
|
79
|
+
} | null | undefined;
|
|
48
80
|
locale?: string | null | undefined;
|
|
49
81
|
}, {
|
|
50
82
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
@@ -52,6 +84,10 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
52
84
|
name: string;
|
|
53
85
|
platform: "VINTED" | "SHOPIFY";
|
|
54
86
|
accountId: string;
|
|
87
|
+
night?: {
|
|
88
|
+
startsAt: Date;
|
|
89
|
+
endsAt: Date;
|
|
90
|
+
} | null | undefined;
|
|
55
91
|
locale?: string | null | undefined;
|
|
56
92
|
}>>>;
|
|
57
93
|
lastMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -293,6 +329,10 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
293
329
|
name: string;
|
|
294
330
|
platform: "VINTED" | "SHOPIFY";
|
|
295
331
|
accountId: string;
|
|
332
|
+
night?: {
|
|
333
|
+
startsAt: Date;
|
|
334
|
+
endsAt: Date;
|
|
335
|
+
} | null | undefined;
|
|
296
336
|
locale?: string | null | undefined;
|
|
297
337
|
} | null | undefined;
|
|
298
338
|
users?: {
|
|
@@ -360,6 +400,10 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
360
400
|
name: string;
|
|
361
401
|
platform: "VINTED" | "SHOPIFY";
|
|
362
402
|
accountId: string;
|
|
403
|
+
night?: {
|
|
404
|
+
startsAt: Date;
|
|
405
|
+
endsAt: Date;
|
|
406
|
+
} | null | undefined;
|
|
363
407
|
locale?: string | null | undefined;
|
|
364
408
|
} | null | undefined;
|
|
365
409
|
users?: {
|
|
@@ -429,6 +473,10 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
429
473
|
name: string;
|
|
430
474
|
platform: "VINTED" | "SHOPIFY";
|
|
431
475
|
accountId: string;
|
|
476
|
+
night?: {
|
|
477
|
+
startsAt: Date;
|
|
478
|
+
endsAt: Date;
|
|
479
|
+
} | null | undefined;
|
|
432
480
|
locale?: string | null | undefined;
|
|
433
481
|
} | null | undefined;
|
|
434
482
|
conversation?: {
|
|
@@ -442,6 +490,10 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
442
490
|
name: string;
|
|
443
491
|
platform: "VINTED" | "SHOPIFY";
|
|
444
492
|
accountId: string;
|
|
493
|
+
night?: {
|
|
494
|
+
startsAt: Date;
|
|
495
|
+
endsAt: Date;
|
|
496
|
+
} | null | undefined;
|
|
445
497
|
locale?: string | null | undefined;
|
|
446
498
|
} | null | undefined;
|
|
447
499
|
users?: {
|
|
@@ -511,6 +563,10 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
511
563
|
name: string;
|
|
512
564
|
platform: "VINTED" | "SHOPIFY";
|
|
513
565
|
accountId: string;
|
|
566
|
+
night?: {
|
|
567
|
+
startsAt: Date;
|
|
568
|
+
endsAt: Date;
|
|
569
|
+
} | null | undefined;
|
|
514
570
|
locale?: string | null | undefined;
|
|
515
571
|
} | null | undefined;
|
|
516
572
|
conversation?: {
|
|
@@ -524,6 +580,10 @@ export declare const FavoriteSchema: z.ZodObject<{
|
|
|
524
580
|
name: string;
|
|
525
581
|
platform: "VINTED" | "SHOPIFY";
|
|
526
582
|
accountId: string;
|
|
583
|
+
night?: {
|
|
584
|
+
startsAt: Date;
|
|
585
|
+
endsAt: Date;
|
|
586
|
+
} | null | undefined;
|
|
527
587
|
locale?: string | null | undefined;
|
|
528
588
|
} | null | undefined;
|
|
529
589
|
users?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Favorite.d.ts","sourceRoot":"","sources":["Favorite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"Favorite.d.ts","sourceRoot":"","sources":["Favorite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQzB,CAAA;AACF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA"}
|
package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts
CHANGED
|
@@ -174,6 +174,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
174
174
|
packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
175
175
|
photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
176
176
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
177
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
178
|
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
179
|
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
179
180
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -192,6 +193,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
192
193
|
description?: string | null | undefined;
|
|
193
194
|
price?: number | null | undefined;
|
|
194
195
|
isDraft?: boolean | null | undefined;
|
|
196
|
+
currency?: string | null | undefined;
|
|
195
197
|
brand?: string | null | undefined;
|
|
196
198
|
catalog?: string | null | undefined;
|
|
197
199
|
catalogId?: number | null | undefined;
|
|
@@ -215,6 +217,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
215
217
|
description?: string | null | undefined;
|
|
216
218
|
price?: number | null | undefined;
|
|
217
219
|
isDraft?: boolean | null | undefined;
|
|
220
|
+
currency?: string | null | undefined;
|
|
218
221
|
brand?: string | null | undefined;
|
|
219
222
|
catalog?: string | null | undefined;
|
|
220
223
|
catalogId?: number | null | undefined;
|
|
@@ -241,6 +244,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
241
244
|
description?: string | null | undefined;
|
|
242
245
|
price?: number | null | undefined;
|
|
243
246
|
isDraft?: boolean | null | undefined;
|
|
247
|
+
currency?: string | null | undefined;
|
|
244
248
|
brand?: string | null | undefined;
|
|
245
249
|
catalog?: string | null | undefined;
|
|
246
250
|
catalogId?: number | null | undefined;
|
|
@@ -269,6 +273,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
269
273
|
description?: string | null | undefined;
|
|
270
274
|
price?: number | null | undefined;
|
|
271
275
|
isDraft?: boolean | null | undefined;
|
|
276
|
+
currency?: string | null | undefined;
|
|
272
277
|
brand?: string | null | undefined;
|
|
273
278
|
catalog?: string | null | undefined;
|
|
274
279
|
catalogId?: number | null | undefined;
|
|
@@ -432,6 +437,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
432
437
|
description?: string | null | undefined;
|
|
433
438
|
price?: number | null | undefined;
|
|
434
439
|
isDraft?: boolean | null | undefined;
|
|
440
|
+
currency?: string | null | undefined;
|
|
435
441
|
brand?: string | null | undefined;
|
|
436
442
|
catalog?: string | null | undefined;
|
|
437
443
|
catalogId?: number | null | undefined;
|
|
@@ -541,6 +547,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
541
547
|
description?: string | null | undefined;
|
|
542
548
|
price?: number | null | undefined;
|
|
543
549
|
isDraft?: boolean | null | undefined;
|
|
550
|
+
currency?: string | null | undefined;
|
|
544
551
|
brand?: string | null | undefined;
|
|
545
552
|
catalog?: string | null | undefined;
|
|
546
553
|
catalogId?: number | null | undefined;
|
|
@@ -654,6 +661,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
654
661
|
description?: string | null | undefined;
|
|
655
662
|
price?: number | null | undefined;
|
|
656
663
|
isDraft?: boolean | null | undefined;
|
|
664
|
+
currency?: string | null | undefined;
|
|
657
665
|
brand?: string | null | undefined;
|
|
658
666
|
catalog?: string | null | undefined;
|
|
659
667
|
catalogId?: number | null | undefined;
|
|
@@ -767,6 +775,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
767
775
|
description?: string | null | undefined;
|
|
768
776
|
price?: number | null | undefined;
|
|
769
777
|
isDraft?: boolean | null | undefined;
|
|
778
|
+
currency?: string | null | undefined;
|
|
770
779
|
brand?: string | null | undefined;
|
|
771
780
|
catalog?: string | null | undefined;
|
|
772
781
|
catalogId?: number | null | undefined;
|
|
@@ -817,12 +826,26 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
817
826
|
name: z.ZodString;
|
|
818
827
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
819
828
|
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
829
|
+
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
830
|
+
startsAt: z.ZodDate;
|
|
831
|
+
endsAt: z.ZodDate;
|
|
832
|
+
}, "strip", z.ZodTypeAny, {
|
|
833
|
+
startsAt: Date;
|
|
834
|
+
endsAt: Date;
|
|
835
|
+
}, {
|
|
836
|
+
startsAt: Date;
|
|
837
|
+
endsAt: Date;
|
|
838
|
+
}>>>;
|
|
820
839
|
}, "strip", z.ZodTypeAny, {
|
|
821
840
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
822
841
|
userId: string | number;
|
|
823
842
|
name: string;
|
|
824
843
|
platform: "VINTED" | "SHOPIFY";
|
|
825
844
|
accountId: string;
|
|
845
|
+
night?: {
|
|
846
|
+
startsAt: Date;
|
|
847
|
+
endsAt: Date;
|
|
848
|
+
} | null | undefined;
|
|
826
849
|
locale?: string | null | undefined;
|
|
827
850
|
}, {
|
|
828
851
|
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
@@ -830,6 +853,10 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
830
853
|
name: string;
|
|
831
854
|
platform: "VINTED" | "SHOPIFY";
|
|
832
855
|
accountId: string;
|
|
856
|
+
night?: {
|
|
857
|
+
startsAt: Date;
|
|
858
|
+
endsAt: Date;
|
|
859
|
+
} | null | undefined;
|
|
833
860
|
locale?: string | null | undefined;
|
|
834
861
|
}>;
|
|
835
862
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -839,6 +866,10 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
839
866
|
name: string;
|
|
840
867
|
platform: "VINTED" | "SHOPIFY";
|
|
841
868
|
accountId: string;
|
|
869
|
+
night?: {
|
|
870
|
+
startsAt: Date;
|
|
871
|
+
endsAt: Date;
|
|
872
|
+
} | null | undefined;
|
|
842
873
|
locale?: string | null | undefined;
|
|
843
874
|
};
|
|
844
875
|
favorite: {
|
|
@@ -912,6 +943,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
912
943
|
description?: string | null | undefined;
|
|
913
944
|
price?: number | null | undefined;
|
|
914
945
|
isDraft?: boolean | null | undefined;
|
|
946
|
+
currency?: string | null | undefined;
|
|
915
947
|
brand?: string | null | undefined;
|
|
916
948
|
catalog?: string | null | undefined;
|
|
917
949
|
catalogId?: number | null | undefined;
|
|
@@ -962,6 +994,10 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
962
994
|
name: string;
|
|
963
995
|
platform: "VINTED" | "SHOPIFY";
|
|
964
996
|
accountId: string;
|
|
997
|
+
night?: {
|
|
998
|
+
startsAt: Date;
|
|
999
|
+
endsAt: Date;
|
|
1000
|
+
} | null | undefined;
|
|
965
1001
|
locale?: string | null | undefined;
|
|
966
1002
|
};
|
|
967
1003
|
favorite: {
|
|
@@ -1035,6 +1071,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1035
1071
|
description?: string | null | undefined;
|
|
1036
1072
|
price?: number | null | undefined;
|
|
1037
1073
|
isDraft?: boolean | null | undefined;
|
|
1074
|
+
currency?: string | null | undefined;
|
|
1038
1075
|
brand?: string | null | undefined;
|
|
1039
1076
|
catalog?: string | null | undefined;
|
|
1040
1077
|
catalogId?: number | null | undefined;
|
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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SendFavoritesRequestSchema: z.ZodObject<{
|
|
3
|
+
accountId: z.ZodString;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
accountId: string;
|
|
6
|
+
}, {
|
|
7
|
+
accountId: string;
|
|
8
|
+
}>;
|
|
9
|
+
export type SendFavoritesRequest = z.infer<typeof SendFavoritesRequestSchema>;
|
|
10
|
+
//# sourceMappingURL=SendFavoritesRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendFavoritesRequest.d.ts","sourceRoot":"","sources":["SendFavoritesRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendFavoritesRequestSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.SendFavoritesRequestSchema = zod_1.z.object({
|
|
6
|
+
accountId: zod_1.z.string().uuid()
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=SendFavoritesRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendFavoritesRequest.js","sourceRoot":"","sources":["SendFavoritesRequest.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC/B,CAAC,CAAA"}
|