controlresell 2.1.14 → 2.2.1
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 +3 -3
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +133 -0
- package/src/com/controlresell/models/filters/SavedFilters.js +13 -0
- package/src/com/controlresell/models/filters/SavedFilters.ts +12 -0
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +127 -0
- package/src/com/controlresell/models/filters/SavedFiltersPayload.js +10 -0
- package/src/com/controlresell/models/filters/SavedFiltersPayload.ts +9 -0
- package/src/com/controlresell/models/items/CreatedItems.d.ts +70 -70
- package/src/com/controlresell/models/items/Item.d.ts +36 -36
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +70 -70
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +70 -70
- package/src/com/controlresell/models/items/platforms/CreateItemOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +2 -2
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.d.ts +3 -3
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.js +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.ts +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +5 -5
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/PlatformFiltersContext.d.ts +12 -0
- package/src/com/controlresell/models/platforms/PlatformFiltersContext.js +9 -0
- package/src/com/controlresell/models/platforms/PlatformFiltersContext.ts +8 -0
- package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +6 -6
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +6 -6
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +4 -4
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +78 -78
- package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.d.ts +3 -0
- package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.js +2 -1
- package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.ts +2 -1
- package/src/com/controlresell/models/platforms/preferences/PlatformPreference.d.ts +3 -0
- package/src/com/controlresell/models/platforms/preferences/PlatformPreference.js +2 -1
- package/src/com/controlresell/models/platforms/preferences/PlatformPreference.ts +2 -1
- package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.d.ts +3 -0
- package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.js +2 -1
- package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.ts +2 -1
- package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +6 -6
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +4 -4
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +78 -78
- package/src/com/controlresell/models/preferences/CreatePreferencePayload.d.ts +18 -0
- package/src/com/controlresell/models/preferences/CreatePreferencePayload.js +11 -0
- package/src/com/controlresell/models/preferences/CreatePreferencePayload.ts +10 -0
- package/src/com/controlresell/models/preferences/Preference.d.ts +52 -0
- package/src/com/controlresell/models/preferences/Preference.js +16 -0
- package/src/com/controlresell/models/preferences/Preference.ts +15 -0
- package/src/com/controlresell/models/preferences/PreferenceType.d.ts +3 -0
- package/src/com/controlresell/models/preferences/PreferenceType.js +7 -0
- package/src/com/controlresell/models/preferences/PreferenceType.ts +6 -0
- package/src/com/controlresell/models/preferences/UpdatePreferencePayload.d.ts +12 -0
- package/src/com/controlresell/models/preferences/UpdatePreferencePayload.js +8 -0
- package/src/com/controlresell/models/preferences/UpdatePreferencePayload.ts +7 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +18 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.js +10 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.ts +9 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.d.ts +12 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.js +8 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.ts +7 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +12 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.js +9 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.ts +8 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.d.ts +3 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.js +7 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.ts +6 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.d.ts +27 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.js +9 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.ts +8 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +45 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.js +8 -0
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.ts +7 -0
- package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload.d.ts +24 -0
- package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload.js +8 -0
- package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload.ts +7 -0
- package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee.d.ts +12 -0
- package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee.js +8 -0
- package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee.ts +7 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePriceNegotiationProfile.d.ts +3 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePriceNegotiationProfile.js +7 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePriceNegotiationProfile.ts +6 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.d.ts +21 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.js +14 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.ts +13 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType.d.ts +3 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType.js +7 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType.ts +6 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType.d.ts +3 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType.js +7 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType.ts +6 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload.d.ts +9 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload.js +7 -0
- package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload.ts +6 -0
- package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.d.ts +45 -0
- package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.js +19 -0
- package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.ts +18 -0
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +3 -3
- package/src/com/controlresell/models/users/platforms/UserOnPlatformSessionMessage.d.ts +6 -6
- package/src/com/controlresell/models/users/preferences/UserPreference.d.ts +2 -2
- package/src/index.d.ts +21 -0
- package/src/index.js +46 -3
- package/src/index.ts +21 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PreferenceActionVariantPayloadSchema: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
5
|
+
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
|
|
6
|
+
payload: z.ZodString;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
9
|
+
payload: string;
|
|
10
|
+
}, {
|
|
11
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
12
|
+
payload: string;
|
|
13
|
+
}>, "many">;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
name: string;
|
|
16
|
+
actions: {
|
|
17
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
18
|
+
payload: string;
|
|
19
|
+
}[];
|
|
20
|
+
}, {
|
|
21
|
+
name: string;
|
|
22
|
+
actions: {
|
|
23
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
24
|
+
payload: string;
|
|
25
|
+
}[];
|
|
26
|
+
}>;
|
|
27
|
+
export type PreferenceActionVariantPayload = z.infer<typeof PreferenceActionVariantPayloadSchema>;
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreferenceActionVariantPayloadSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const PreferenceActionPayload_1 = require("./PreferenceActionPayload");
|
|
6
|
+
exports.PreferenceActionVariantPayloadSchema = zod_1.z.object({
|
|
7
|
+
name: zod_1.z.string(),
|
|
8
|
+
actions: zod_1.z.array(PreferenceActionPayload_1.PreferenceActionPayloadSchema)
|
|
9
|
+
});
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
import {PreferenceActionPayloadSchema} from "./PreferenceActionPayload"
|
|
3
|
+
|
|
4
|
+
export const PreferenceActionVariantPayloadSchema = z.object({
|
|
5
|
+
name: z.string(),
|
|
6
|
+
actions: z.array(PreferenceActionPayloadSchema)
|
|
7
|
+
})
|
|
8
|
+
export type PreferenceActionVariantPayload = z.infer<typeof PreferenceActionVariantPayloadSchema>
|
package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PreferenceActionsPayloadSchema: z.ZodObject<{
|
|
3
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
6
|
+
type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
|
|
7
|
+
payload: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
10
|
+
payload: string;
|
|
11
|
+
}, {
|
|
12
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
13
|
+
payload: string;
|
|
14
|
+
}>, "many">;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: string;
|
|
17
|
+
actions: {
|
|
18
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
19
|
+
payload: string;
|
|
20
|
+
}[];
|
|
21
|
+
}, {
|
|
22
|
+
name: string;
|
|
23
|
+
actions: {
|
|
24
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
25
|
+
payload: string;
|
|
26
|
+
}[];
|
|
27
|
+
}>, "many">;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
variants: {
|
|
30
|
+
name: string;
|
|
31
|
+
actions: {
|
|
32
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
33
|
+
payload: string;
|
|
34
|
+
}[];
|
|
35
|
+
}[];
|
|
36
|
+
}, {
|
|
37
|
+
variants: {
|
|
38
|
+
name: string;
|
|
39
|
+
actions: {
|
|
40
|
+
type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
|
|
41
|
+
payload: string;
|
|
42
|
+
}[];
|
|
43
|
+
}[];
|
|
44
|
+
}>;
|
|
45
|
+
export type PreferenceActionsPayload = z.infer<typeof PreferenceActionsPayloadSchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreferenceActionsPayloadSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const PreferenceActionVariantPayload_1 = require("./PreferenceActionVariantPayload");
|
|
6
|
+
exports.PreferenceActionsPayloadSchema = zod_1.z.object({
|
|
7
|
+
variants: zod_1.z.array(PreferenceActionVariantPayload_1.PreferenceActionVariantPayloadSchema)
|
|
8
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
import {PreferenceActionVariantPayloadSchema} from "./PreferenceActionVariantPayload"
|
|
3
|
+
|
|
4
|
+
export const PreferenceActionsPayloadSchema = z.object({
|
|
5
|
+
variants: z.array(PreferenceActionVariantPayloadSchema)
|
|
6
|
+
})
|
|
7
|
+
export type PreferenceActionsPayload = z.infer<typeof PreferenceActionsPayloadSchema>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PreferenceFeesPayloadSchema: z.ZodObject<{
|
|
3
|
+
fees: z.ZodArray<z.ZodObject<{
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
value: z.ZodNumber;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
value: number;
|
|
8
|
+
name: string;
|
|
9
|
+
}, {
|
|
10
|
+
value: number;
|
|
11
|
+
name: string;
|
|
12
|
+
}>, "many">;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
fees: {
|
|
15
|
+
value: number;
|
|
16
|
+
name: string;
|
|
17
|
+
}[];
|
|
18
|
+
}, {
|
|
19
|
+
fees: {
|
|
20
|
+
value: number;
|
|
21
|
+
name: string;
|
|
22
|
+
}[];
|
|
23
|
+
}>;
|
|
24
|
+
export type PreferenceFeesPayload = z.infer<typeof PreferenceFeesPayloadSchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreferenceFeesPayloadSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const PreferenceFeesPayloadFee_1 = require("./PreferenceFeesPayloadFee");
|
|
6
|
+
exports.PreferenceFeesPayloadSchema = zod_1.z.object({
|
|
7
|
+
fees: zod_1.z.array(PreferenceFeesPayloadFee_1.PreferenceFeesPayloadFeeSchema)
|
|
8
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
import {PreferenceFeesPayloadFeeSchema} from "./PreferenceFeesPayloadFee"
|
|
3
|
+
|
|
4
|
+
export const PreferenceFeesPayloadSchema = z.object({
|
|
5
|
+
fees: z.array(PreferenceFeesPayloadFeeSchema)
|
|
6
|
+
})
|
|
7
|
+
export type PreferenceFeesPayload = z.infer<typeof PreferenceFeesPayloadSchema>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PreferenceFeesPayloadFeeSchema: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
value: z.ZodNumber;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
value: number;
|
|
7
|
+
name: string;
|
|
8
|
+
}, {
|
|
9
|
+
value: number;
|
|
10
|
+
name: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type PreferenceFeesPayloadFee = z.infer<typeof PreferenceFeesPayloadFeeSchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreferenceFeesPayloadFeeSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PreferenceFeesPayloadFeeSchema = zod_1.z.object({
|
|
6
|
+
name: zod_1.z.string(),
|
|
7
|
+
value: zod_1.z.number()
|
|
8
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreferencePriceNegotiationProfileSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PreferencePriceNegotiationProfileSchema = zod_1.z.enum([
|
|
6
|
+
"AUTO", "MODERATE", "CONSERVATIVE"
|
|
7
|
+
]);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PreferencePricePayloadSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
|
|
4
|
+
value: z.ZodNumber;
|
|
5
|
+
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
6
|
+
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7
|
+
negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO", "MODERATE", "CONSERVATIVE"]>>>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
value: number;
|
|
10
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
11
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
12
|
+
roundStep?: number | null | undefined;
|
|
13
|
+
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
value: number;
|
|
16
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
17
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
18
|
+
roundStep?: number | null | undefined;
|
|
19
|
+
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
export type PreferencePricePayload = z.infer<typeof PreferencePricePayloadSchema>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreferencePricePayloadSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const PreferencePricePayloadType_1 = require("./PreferencePricePayloadType");
|
|
6
|
+
const PreferencePricePayloadRoundType_1 = require("./PreferencePricePayloadRoundType");
|
|
7
|
+
const PreferencePriceNegotiationProfile_1 = require("./PreferencePriceNegotiationProfile");
|
|
8
|
+
exports.PreferencePricePayloadSchema = zod_1.z.object({
|
|
9
|
+
type: PreferencePricePayloadType_1.PreferencePricePayloadTypeSchema,
|
|
10
|
+
value: zod_1.z.number(),
|
|
11
|
+
roundType: PreferencePricePayloadRoundType_1.PreferencePricePayloadRoundTypeSchema.nullish(),
|
|
12
|
+
roundStep: zod_1.z.number().nullish(),
|
|
13
|
+
negotiationProfile: PreferencePriceNegotiationProfile_1.PreferencePriceNegotiationProfileSchema.nullish()
|
|
14
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
import {PreferencePricePayloadTypeSchema} from "./PreferencePricePayloadType"
|
|
3
|
+
import {PreferencePricePayloadRoundTypeSchema} from "./PreferencePricePayloadRoundType"
|
|
4
|
+
import {PreferencePriceNegotiationProfileSchema} from "./PreferencePriceNegotiationProfile"
|
|
5
|
+
|
|
6
|
+
export const PreferencePricePayloadSchema = z.object({
|
|
7
|
+
type: PreferencePricePayloadTypeSchema,
|
|
8
|
+
value: z.number(),
|
|
9
|
+
roundType: PreferencePricePayloadRoundTypeSchema.nullish(),
|
|
10
|
+
roundStep: z.number().nullish(),
|
|
11
|
+
negotiationProfile: PreferencePriceNegotiationProfileSchema.nullish()
|
|
12
|
+
})
|
|
13
|
+
export type PreferencePricePayload = z.infer<typeof PreferencePricePayloadSchema>
|
package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreferencePricePayloadRoundTypeSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PreferencePricePayloadRoundTypeSchema = zod_1.z.enum([
|
|
6
|
+
"NEAREST", "UP", "DOWN", "CUSTOM"
|
|
7
|
+
]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PreferenceTextPayloadSchema: z.ZodObject<{
|
|
3
|
+
text: z.ZodString;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
text: string;
|
|
6
|
+
}, {
|
|
7
|
+
text: string;
|
|
8
|
+
}>;
|
|
9
|
+
export type PreferenceTextPayload = z.infer<typeof PreferenceTextPayloadSchema>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PreferenceVisionPayloadSchema: z.ZodObject<{
|
|
3
|
+
doRemoveBackground: z.ZodBoolean;
|
|
4
|
+
doSmartCrop: z.ZodBoolean;
|
|
5
|
+
doChangeBackground: z.ZodBoolean;
|
|
6
|
+
doRotate: z.ZodBoolean;
|
|
7
|
+
doAddBorders: z.ZodBoolean;
|
|
8
|
+
shadow: z.ZodBoolean;
|
|
9
|
+
targetWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
targetHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
newBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
newBackgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
rotationAngle: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
borderSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
doRemoveBackground: boolean;
|
|
18
|
+
doSmartCrop: boolean;
|
|
19
|
+
doChangeBackground: boolean;
|
|
20
|
+
doRotate: boolean;
|
|
21
|
+
doAddBorders: boolean;
|
|
22
|
+
shadow: boolean;
|
|
23
|
+
targetWidth?: number | null | undefined;
|
|
24
|
+
targetHeight?: number | null | undefined;
|
|
25
|
+
newBackgroundColor?: string | null | undefined;
|
|
26
|
+
newBackgroundUrl?: string | null | undefined;
|
|
27
|
+
rotationAngle?: number | null | undefined;
|
|
28
|
+
borderSize?: number | null | undefined;
|
|
29
|
+
borderColor?: string | null | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
doRemoveBackground: boolean;
|
|
32
|
+
doSmartCrop: boolean;
|
|
33
|
+
doChangeBackground: boolean;
|
|
34
|
+
doRotate: boolean;
|
|
35
|
+
doAddBorders: boolean;
|
|
36
|
+
shadow: boolean;
|
|
37
|
+
targetWidth?: number | null | undefined;
|
|
38
|
+
targetHeight?: number | null | undefined;
|
|
39
|
+
newBackgroundColor?: string | null | undefined;
|
|
40
|
+
newBackgroundUrl?: string | null | undefined;
|
|
41
|
+
rotationAngle?: number | null | undefined;
|
|
42
|
+
borderSize?: number | null | undefined;
|
|
43
|
+
borderColor?: string | null | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
export type PreferenceVisionPayload = z.infer<typeof PreferenceVisionPayloadSchema>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreferenceVisionPayloadSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PreferenceVisionPayloadSchema = zod_1.z.object({
|
|
6
|
+
doRemoveBackground: zod_1.z.boolean(),
|
|
7
|
+
doSmartCrop: zod_1.z.boolean(),
|
|
8
|
+
doChangeBackground: zod_1.z.boolean(),
|
|
9
|
+
doRotate: zod_1.z.boolean(),
|
|
10
|
+
doAddBorders: zod_1.z.boolean(),
|
|
11
|
+
shadow: zod_1.z.boolean(),
|
|
12
|
+
targetWidth: zod_1.z.number().int().nullish(),
|
|
13
|
+
targetHeight: zod_1.z.number().int().nullish(),
|
|
14
|
+
newBackgroundColor: zod_1.z.string().nullish(),
|
|
15
|
+
newBackgroundUrl: zod_1.z.string().nullish(),
|
|
16
|
+
rotationAngle: zod_1.z.number().int().nullish(),
|
|
17
|
+
borderSize: zod_1.z.number().int().nullish(),
|
|
18
|
+
borderColor: zod_1.z.string().nullish()
|
|
19
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
|
|
3
|
+
export const PreferenceVisionPayloadSchema = z.object({
|
|
4
|
+
doRemoveBackground: z.boolean(),
|
|
5
|
+
doSmartCrop: z.boolean(),
|
|
6
|
+
doChangeBackground: z.boolean(),
|
|
7
|
+
doRotate: z.boolean(),
|
|
8
|
+
doAddBorders: z.boolean(),
|
|
9
|
+
shadow: z.boolean(),
|
|
10
|
+
targetWidth: z.number().int().nullish(),
|
|
11
|
+
targetHeight: z.number().int().nullish(),
|
|
12
|
+
newBackgroundColor: z.string().nullish(),
|
|
13
|
+
newBackgroundUrl: z.string().nullish(),
|
|
14
|
+
rotationAngle: z.number().int().nullish(),
|
|
15
|
+
borderSize: z.number().int().nullish(),
|
|
16
|
+
borderColor: z.string().nullish()
|
|
17
|
+
})
|
|
18
|
+
export type PreferenceVisionPayload = z.infer<typeof PreferenceVisionPayloadSchema>
|
|
@@ -19,7 +19,7 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
|
|
|
19
19
|
platform: "VINTED" | "SHOPIFY";
|
|
20
20
|
accountId: string;
|
|
21
21
|
}>;
|
|
22
|
-
job: z.ZodEnum<["AUTH_OTP", "AUTH_LOGIN", "AUTH_DATA", "ACCOUNTS_PING", "ACCOUNTS_ACTIVITY", "POSTS_CREATE", "POSTS_LIST", "POSTS_GET", "POSTS_DELETE", "POSTS_UPDATE", "POSTS_COMPLETION", "POSTS_SOLD", "ORDERS_LIST", "ORDERS_LABELS_GET", "ORDERS_LABELS_CREATE", "CONVERSATIONS_INBOX_GET", "CONVERSATIONS_GET", "CONVERSATIONS_MESSAGES_CREATE", "CONVERSATIONS_OFFERS_CREATE", "CONVERSATIONS_OFFERS_UPDATE"]>;
|
|
22
|
+
job: z.ZodEnum<["AUTH_OTP", "AUTH_LOGIN", "AUTH_DATA", "ACCOUNTS_PING", "ACCOUNTS_ACTIVITY", "POSTS_CREATE", "POSTS_REPUBLISH", "POSTS_LIST", "POSTS_GET", "POSTS_DELETE", "POSTS_UPDATE", "POSTS_COMPLETION", "POSTS_SOLD", "ORDERS_LIST", "ORDERS_LABELS_GET", "ORDERS_LABELS_CREATE", "CONVERSATIONS_INBOX_GET", "CONVERSATIONS_FAVORITES_LIST", "CONVERSATIONS_GET", "CONVERSATIONS_MESSAGES_CREATE", "CONVERSATIONS_OFFERS_CREATE", "CONVERSATIONS_OFFERS_UPDATE"]>;
|
|
23
23
|
done: z.ZodBoolean;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
account: {
|
|
@@ -29,7 +29,7 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
|
|
|
29
29
|
platform: "VINTED" | "SHOPIFY";
|
|
30
30
|
accountId: string;
|
|
31
31
|
};
|
|
32
|
-
job: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE";
|
|
32
|
+
job: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_REPUBLISH" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_FAVORITES_LIST" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE";
|
|
33
33
|
done: boolean;
|
|
34
34
|
}, {
|
|
35
35
|
account: {
|
|
@@ -39,7 +39,7 @@ export declare const PlatformJobUpdateSchema: z.ZodObject<{
|
|
|
39
39
|
platform: "VINTED" | "SHOPIFY";
|
|
40
40
|
accountId: string;
|
|
41
41
|
};
|
|
42
|
-
job: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE";
|
|
42
|
+
job: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_REPUBLISH" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_FAVORITES_LIST" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE";
|
|
43
43
|
done: boolean;
|
|
44
44
|
}>;
|
|
45
45
|
export type PlatformJobUpdate = z.infer<typeof PlatformJobUpdateSchema>;
|
|
@@ -2,17 +2,17 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const UserOnPlatformSessionMessageSchema: z.ZodObject<{
|
|
3
3
|
otp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
4
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
-
launch: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTH_OTP", "AUTH_LOGIN", "AUTH_DATA", "ACCOUNTS_PING", "ACCOUNTS_ACTIVITY", "POSTS_CREATE", "POSTS_LIST", "POSTS_GET", "POSTS_DELETE", "POSTS_UPDATE", "POSTS_COMPLETION", "POSTS_SOLD", "ORDERS_LIST", "ORDERS_LABELS_GET", "ORDERS_LABELS_CREATE", "CONVERSATIONS_INBOX_GET", "CONVERSATIONS_GET", "CONVERSATIONS_MESSAGES_CREATE", "CONVERSATIONS_OFFERS_CREATE", "CONVERSATIONS_OFFERS_UPDATE"]>>>;
|
|
6
|
-
done: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTH_OTP", "AUTH_LOGIN", "AUTH_DATA", "ACCOUNTS_PING", "ACCOUNTS_ACTIVITY", "POSTS_CREATE", "POSTS_LIST", "POSTS_GET", "POSTS_DELETE", "POSTS_UPDATE", "POSTS_COMPLETION", "POSTS_SOLD", "ORDERS_LIST", "ORDERS_LABELS_GET", "ORDERS_LABELS_CREATE", "CONVERSATIONS_INBOX_GET", "CONVERSATIONS_GET", "CONVERSATIONS_MESSAGES_CREATE", "CONVERSATIONS_OFFERS_CREATE", "CONVERSATIONS_OFFERS_UPDATE"]>>>;
|
|
5
|
+
launch: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTH_OTP", "AUTH_LOGIN", "AUTH_DATA", "ACCOUNTS_PING", "ACCOUNTS_ACTIVITY", "POSTS_CREATE", "POSTS_REPUBLISH", "POSTS_LIST", "POSTS_GET", "POSTS_DELETE", "POSTS_UPDATE", "POSTS_COMPLETION", "POSTS_SOLD", "ORDERS_LIST", "ORDERS_LABELS_GET", "ORDERS_LABELS_CREATE", "CONVERSATIONS_INBOX_GET", "CONVERSATIONS_FAVORITES_LIST", "CONVERSATIONS_GET", "CONVERSATIONS_MESSAGES_CREATE", "CONVERSATIONS_OFFERS_CREATE", "CONVERSATIONS_OFFERS_UPDATE"]>>>;
|
|
6
|
+
done: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTH_OTP", "AUTH_LOGIN", "AUTH_DATA", "ACCOUNTS_PING", "ACCOUNTS_ACTIVITY", "POSTS_CREATE", "POSTS_REPUBLISH", "POSTS_LIST", "POSTS_GET", "POSTS_DELETE", "POSTS_UPDATE", "POSTS_COMPLETION", "POSTS_SOLD", "ORDERS_LIST", "ORDERS_LABELS_GET", "ORDERS_LABELS_CREATE", "CONVERSATIONS_INBOX_GET", "CONVERSATIONS_FAVORITES_LIST", "CONVERSATIONS_GET", "CONVERSATIONS_MESSAGES_CREATE", "CONVERSATIONS_OFFERS_CREATE", "CONVERSATIONS_OFFERS_UPDATE"]>>>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
error?: string | null | undefined;
|
|
9
9
|
otp?: number | null | undefined;
|
|
10
|
-
done?: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE" | null | undefined;
|
|
11
|
-
launch?: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE" | null | undefined;
|
|
10
|
+
done?: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_REPUBLISH" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_FAVORITES_LIST" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE" | null | undefined;
|
|
11
|
+
launch?: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_REPUBLISH" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_FAVORITES_LIST" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE" | null | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
error?: string | null | undefined;
|
|
14
14
|
otp?: number | null | undefined;
|
|
15
|
-
done?: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE" | null | undefined;
|
|
16
|
-
launch?: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE" | null | undefined;
|
|
15
|
+
done?: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_REPUBLISH" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_FAVORITES_LIST" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE" | null | undefined;
|
|
16
|
+
launch?: "AUTH_OTP" | "AUTH_LOGIN" | "AUTH_DATA" | "ACCOUNTS_PING" | "ACCOUNTS_ACTIVITY" | "POSTS_CREATE" | "POSTS_REPUBLISH" | "POSTS_LIST" | "POSTS_GET" | "POSTS_DELETE" | "POSTS_UPDATE" | "POSTS_COMPLETION" | "POSTS_SOLD" | "ORDERS_LIST" | "ORDERS_LABELS_GET" | "ORDERS_LABELS_CREATE" | "CONVERSATIONS_INBOX_GET" | "CONVERSATIONS_FAVORITES_LIST" | "CONVERSATIONS_GET" | "CONVERSATIONS_MESSAGES_CREATE" | "CONVERSATIONS_OFFERS_CREATE" | "CONVERSATIONS_OFFERS_UPDATE" | null | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export type UserOnPlatformSessionMessage = z.infer<typeof UserOnPlatformSessionMessageSchema>;
|
|
@@ -7,12 +7,12 @@ export declare const UserPreferenceSchema: z.ZodObject<{
|
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
id: number;
|
|
9
9
|
userId: string | number;
|
|
10
|
-
titleTemplate?: string | null | undefined;
|
|
11
10
|
descriptionTemplate?: string | null | undefined;
|
|
11
|
+
titleTemplate?: string | null | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
id: number;
|
|
14
14
|
userId: string | number;
|
|
15
|
-
titleTemplate?: string | null | undefined;
|
|
16
15
|
descriptionTemplate?: string | null | undefined;
|
|
16
|
+
titleTemplate?: string | null | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export type UserPreference = z.infer<typeof UserPreferenceSchema>;
|
package/src/index.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export { FeeRecurrenceSchema, FeeRecurrence } from "./com/controlresell/models/f
|
|
|
29
29
|
export { SpotConfigSchema, SpotConfig } from "./com/controlresell/models/fields/SpotConfig";
|
|
30
30
|
export { SpotDefaultValueSchema, SpotDefaultValue } from "./com/controlresell/models/fields/SpotDefaultValue";
|
|
31
31
|
export { SpotValueSchema, SpotValue } from "./com/controlresell/models/fields/SpotValue";
|
|
32
|
+
export { SavedFiltersSchema, SavedFilters } from "./com/controlresell/models/filters/SavedFilters";
|
|
33
|
+
export { SavedFiltersPayloadSchema, SavedFiltersPayload } from "./com/controlresell/models/filters/SavedFiltersPayload";
|
|
32
34
|
export { CreatedItemsSchema, CreatedItems } from "./com/controlresell/models/items/CreatedItems";
|
|
33
35
|
export { ItemSchema, Item } from "./com/controlresell/models/items/Item";
|
|
34
36
|
export { ItemFiltersContextSchema, ItemFiltersContext } from "./com/controlresell/models/items/ItemFiltersContext";
|
|
@@ -74,6 +76,7 @@ export { SizeSchema, Size } from "./com/controlresell/models/metadata/sizes/Size
|
|
|
74
76
|
export { StatusSchema, Status } from "./com/controlresell/models/metadata/statuses/Status";
|
|
75
77
|
export { CreateNotificationTokenPayloadSchema, CreateNotificationTokenPayload } from "./com/controlresell/models/notifications/CreateNotificationTokenPayload";
|
|
76
78
|
export { NotificationTokenSchema, NotificationToken } from "./com/controlresell/models/notifications/NotificationToken";
|
|
79
|
+
export { PlatformFiltersContextSchema, PlatformFiltersContext } from "./com/controlresell/models/platforms/PlatformFiltersContext";
|
|
77
80
|
export { ConversationSchema, Conversation } from "./com/controlresell/models/platforms/conversations/Conversation";
|
|
78
81
|
export { ConversationOnPlatformUpdateRequestSchema, ConversationOnPlatformUpdateRequest } from "./com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest";
|
|
79
82
|
export { CreateConversationPayloadSchema, CreateConversationPayload } from "./com/controlresell/models/platforms/conversations/CreateConversationPayload";
|
|
@@ -116,6 +119,24 @@ export { UpdateTransactionPayloadSchema, UpdateTransactionPayload } from "./com/
|
|
|
116
119
|
export { CreateItemInTransactionPayloadSchema, CreateItemInTransactionPayload } from "./com/controlresell/models/platforms/transactions/items/CreateItemInTransactionPayload";
|
|
117
120
|
export { ItemInTransactionSchema, ItemInTransaction } from "./com/controlresell/models/platforms/transactions/items/ItemInTransaction";
|
|
118
121
|
export { TransactionWithItemsSchema, TransactionWithItems } from "./com/controlresell/models/platforms/transactions/items/TransactionWithItems";
|
|
122
|
+
export { CreatePreferencePayloadSchema, CreatePreferencePayload } from "./com/controlresell/models/preferences/CreatePreferencePayload";
|
|
123
|
+
export { PreferenceSchema, Preference } from "./com/controlresell/models/preferences/Preference";
|
|
124
|
+
export { PreferenceTypeSchema, PreferenceType } from "./com/controlresell/models/preferences/PreferenceType";
|
|
125
|
+
export { UpdatePreferencePayloadSchema, UpdatePreferencePayload } from "./com/controlresell/models/preferences/UpdatePreferencePayload";
|
|
126
|
+
export { PreferenceCaseSchema, PreferenceCase } from "./com/controlresell/models/preferences/cases/PreferenceCase";
|
|
127
|
+
export { PreferenceCasePayloadSchema, PreferenceCasePayload } from "./com/controlresell/models/preferences/cases/PreferenceCasePayload";
|
|
128
|
+
export { PreferenceActionPayloadSchema, PreferenceActionPayload } from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload";
|
|
129
|
+
export { PreferenceActionPayloadTypeSchema, PreferenceActionPayloadType } from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType";
|
|
130
|
+
export { PreferenceActionVariantPayloadSchema, PreferenceActionVariantPayload } from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload";
|
|
131
|
+
export { PreferenceActionsPayloadSchema, PreferenceActionsPayload } from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload";
|
|
132
|
+
export { PreferenceFeesPayloadSchema, PreferenceFeesPayload } from "./com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload";
|
|
133
|
+
export { PreferenceFeesPayloadFeeSchema, PreferenceFeesPayloadFee } from "./com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee";
|
|
134
|
+
export { PreferencePriceNegotiationProfileSchema, PreferencePriceNegotiationProfile } from "./com/controlresell/models/preferences/payloads/prices/PreferencePriceNegotiationProfile";
|
|
135
|
+
export { PreferencePricePayloadSchema, PreferencePricePayload } from "./com/controlresell/models/preferences/payloads/prices/PreferencePricePayload";
|
|
136
|
+
export { PreferencePricePayloadRoundTypeSchema, PreferencePricePayloadRoundType } from "./com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType";
|
|
137
|
+
export { PreferencePricePayloadTypeSchema, PreferencePricePayloadType } from "./com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType";
|
|
138
|
+
export { PreferenceTextPayloadSchema, PreferenceTextPayload } from "./com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload";
|
|
139
|
+
export { PreferenceVisionPayloadSchema, PreferenceVisionPayload } from "./com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload";
|
|
119
140
|
export { CreateUserPayloadSchema, CreateUserPayload } from "./com/controlresell/models/users/CreateUserPayload";
|
|
120
141
|
export { GettingStartedStepsSchema, GettingStartedSteps } from "./com/controlresell/models/users/GettingStartedSteps";
|
|
121
142
|
export { UpdateUserPayloadSchema, UpdateUserPayload } from "./com/controlresell/models/users/UpdateUserPayload";
|