controlresell 2.1.13 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/package.json +3 -3
  2. package/src/com/controlresell/models/items/CreatedItems.d.ts +14 -0
  3. package/src/com/controlresell/models/items/Item.d.ts +7 -0
  4. package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +9 -0
  5. package/src/com/controlresell/models/items/UpdatedItem.d.ts +14 -0
  6. package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +5 -0
  7. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.d.ts +3 -3
  8. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.js +1 -1
  9. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.ts +1 -1
  10. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +5 -5
  11. package/src/com/controlresell/models/metadata/labels/Label.d.ts +3 -0
  12. package/src/com/controlresell/models/metadata/labels/Label.js +2 -1
  13. package/src/com/controlresell/models/metadata/labels/Label.ts +2 -1
  14. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +9 -0
  15. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.d.ts +3 -0
  16. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.js +2 -1
  17. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.ts +2 -1
  18. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.d.ts +3 -0
  19. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.js +2 -1
  20. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.ts +2 -1
  21. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.d.ts +3 -0
  22. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.js +2 -1
  23. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.ts +2 -1
  24. package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +9 -0
  25. package/src/com/controlresell/models/preferences/CreatePreferencePayload.d.ts +18 -0
  26. package/src/com/controlresell/models/preferences/CreatePreferencePayload.js +11 -0
  27. package/src/com/controlresell/models/preferences/CreatePreferencePayload.ts +10 -0
  28. package/src/com/controlresell/models/preferences/Preference.d.ts +52 -0
  29. package/src/com/controlresell/models/preferences/Preference.js +16 -0
  30. package/src/com/controlresell/models/preferences/Preference.ts +15 -0
  31. package/src/com/controlresell/models/preferences/PreferenceType.d.ts +3 -0
  32. package/src/com/controlresell/models/preferences/PreferenceType.js +7 -0
  33. package/src/com/controlresell/models/preferences/PreferenceType.ts +6 -0
  34. package/src/com/controlresell/models/preferences/UpdatePreferencePayload.d.ts +12 -0
  35. package/src/com/controlresell/models/preferences/UpdatePreferencePayload.js +8 -0
  36. package/src/com/controlresell/models/preferences/UpdatePreferencePayload.ts +7 -0
  37. package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +18 -0
  38. package/src/com/controlresell/models/preferences/cases/PreferenceCase.js +10 -0
  39. package/src/com/controlresell/models/preferences/cases/PreferenceCase.ts +9 -0
  40. package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.d.ts +12 -0
  41. package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.js +8 -0
  42. package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.ts +7 -0
  43. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +12 -0
  44. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.js +9 -0
  45. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.ts +8 -0
  46. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.d.ts +3 -0
  47. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.js +7 -0
  48. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.ts +6 -0
  49. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.d.ts +27 -0
  50. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.js +9 -0
  51. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.ts +8 -0
  52. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +45 -0
  53. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.js +8 -0
  54. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.ts +7 -0
  55. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload.d.ts +24 -0
  56. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload.js +8 -0
  57. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload.ts +7 -0
  58. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee.d.ts +12 -0
  59. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee.js +8 -0
  60. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee.ts +7 -0
  61. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.d.ts +18 -0
  62. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.js +12 -0
  63. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.ts +11 -0
  64. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType.d.ts +3 -0
  65. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType.js +7 -0
  66. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType.ts +6 -0
  67. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType.d.ts +3 -0
  68. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType.js +7 -0
  69. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType.ts +6 -0
  70. package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload.d.ts +9 -0
  71. package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload.js +7 -0
  72. package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload.ts +6 -0
  73. package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.d.ts +45 -0
  74. package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.js +19 -0
  75. package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.ts +18 -0
  76. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +3 -3
  77. package/src/com/controlresell/models/users/platforms/UserOnPlatformSessionMessage.d.ts +6 -6
  78. package/src/com/controlresell/models/users/preferences/UserPreference.d.ts +2 -2
  79. package/src/index.d.ts +17 -0
  80. package/src/index.js +36 -1
  81. package/src/index.ts +17 -0
@@ -0,0 +1,18 @@
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
+ }, "strip", z.ZodTypeAny, {
8
+ value: number;
9
+ type: "PERCENTAGE" | "ABSOLUTE";
10
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
11
+ roundStep?: number | null | undefined;
12
+ }, {
13
+ value: number;
14
+ type: "PERCENTAGE" | "ABSOLUTE";
15
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
16
+ roundStep?: number | null | undefined;
17
+ }>;
18
+ export type PreferencePricePayload = z.infer<typeof PreferencePricePayloadSchema>;
@@ -0,0 +1,12 @@
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
+ exports.PreferencePricePayloadSchema = zod_1.z.object({
8
+ type: PreferencePricePayloadType_1.PreferencePricePayloadTypeSchema,
9
+ value: zod_1.z.number(),
10
+ roundType: PreferencePricePayloadRoundType_1.PreferencePricePayloadRoundTypeSchema.nullish(),
11
+ roundStep: zod_1.z.number().nullish()
12
+ });
@@ -0,0 +1,11 @@
1
+ import {z} from "zod"
2
+ import {PreferencePricePayloadTypeSchema} from "./PreferencePricePayloadType"
3
+ import {PreferencePricePayloadRoundTypeSchema} from "./PreferencePricePayloadRoundType"
4
+
5
+ export const PreferencePricePayloadSchema = z.object({
6
+ type: PreferencePricePayloadTypeSchema,
7
+ value: z.number(),
8
+ roundType: PreferencePricePayloadRoundTypeSchema.nullish(),
9
+ roundStep: z.number().nullish()
10
+ })
11
+ export type PreferencePricePayload = z.infer<typeof PreferencePricePayloadSchema>
@@ -0,0 +1,3 @@
1
+ import { z } from "zod";
2
+ export declare const PreferencePricePayloadRoundTypeSchema: z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>;
3
+ export type PreferencePricePayloadRoundType = z.infer<typeof PreferencePricePayloadRoundTypeSchema>;
@@ -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,6 @@
1
+ import {z} from "zod"
2
+
3
+ export const PreferencePricePayloadRoundTypeSchema = z.enum([
4
+ "NEAREST", "UP", "DOWN", "CUSTOM"
5
+ ])
6
+ export type PreferencePricePayloadRoundType = z.infer<typeof PreferencePricePayloadRoundTypeSchema>
@@ -0,0 +1,3 @@
1
+ import { z } from "zod";
2
+ export declare const PreferencePricePayloadTypeSchema: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
3
+ export type PreferencePricePayloadType = z.infer<typeof PreferencePricePayloadTypeSchema>;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreferencePricePayloadTypeSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.PreferencePricePayloadTypeSchema = zod_1.z.enum([
6
+ "PERCENTAGE", "ABSOLUTE"
7
+ ]);
@@ -0,0 +1,6 @@
1
+ import {z} from "zod"
2
+
3
+ export const PreferencePricePayloadTypeSchema = z.enum([
4
+ "PERCENTAGE", "ABSOLUTE"
5
+ ])
6
+ export type PreferencePricePayloadType = z.infer<typeof PreferencePricePayloadTypeSchema>
@@ -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,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreferenceTextPayloadSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.PreferenceTextPayloadSchema = zod_1.z.object({
6
+ text: zod_1.z.string()
7
+ });
@@ -0,0 +1,6 @@
1
+ import {z} from "zod"
2
+
3
+ export const PreferenceTextPayloadSchema = z.object({
4
+ text: z.string()
5
+ })
6
+ 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
@@ -116,6 +116,23 @@ export { UpdateTransactionPayloadSchema, UpdateTransactionPayload } from "./com/
116
116
  export { CreateItemInTransactionPayloadSchema, CreateItemInTransactionPayload } from "./com/controlresell/models/platforms/transactions/items/CreateItemInTransactionPayload";
117
117
  export { ItemInTransactionSchema, ItemInTransaction } from "./com/controlresell/models/platforms/transactions/items/ItemInTransaction";
118
118
  export { TransactionWithItemsSchema, TransactionWithItems } from "./com/controlresell/models/platforms/transactions/items/TransactionWithItems";
119
+ export { CreatePreferencePayloadSchema, CreatePreferencePayload } from "./com/controlresell/models/preferences/CreatePreferencePayload";
120
+ export { PreferenceSchema, Preference } from "./com/controlresell/models/preferences/Preference";
121
+ export { PreferenceTypeSchema, PreferenceType } from "./com/controlresell/models/preferences/PreferenceType";
122
+ export { UpdatePreferencePayloadSchema, UpdatePreferencePayload } from "./com/controlresell/models/preferences/UpdatePreferencePayload";
123
+ export { PreferenceCaseSchema, PreferenceCase } from "./com/controlresell/models/preferences/cases/PreferenceCase";
124
+ export { PreferenceCasePayloadSchema, PreferenceCasePayload } from "./com/controlresell/models/preferences/cases/PreferenceCasePayload";
125
+ export { PreferenceActionPayloadSchema, PreferenceActionPayload } from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload";
126
+ export { PreferenceActionPayloadTypeSchema, PreferenceActionPayloadType } from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType";
127
+ export { PreferenceActionVariantPayloadSchema, PreferenceActionVariantPayload } from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload";
128
+ export { PreferenceActionsPayloadSchema, PreferenceActionsPayload } from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload";
129
+ export { PreferenceFeesPayloadSchema, PreferenceFeesPayload } from "./com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload";
130
+ export { PreferenceFeesPayloadFeeSchema, PreferenceFeesPayloadFee } from "./com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee";
131
+ export { PreferencePricePayloadSchema, PreferencePricePayload } from "./com/controlresell/models/preferences/payloads/prices/PreferencePricePayload";
132
+ export { PreferencePricePayloadRoundTypeSchema, PreferencePricePayloadRoundType } from "./com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType";
133
+ export { PreferencePricePayloadTypeSchema, PreferencePricePayloadType } from "./com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType";
134
+ export { PreferenceTextPayloadSchema, PreferenceTextPayload } from "./com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload";
135
+ export { PreferenceVisionPayloadSchema, PreferenceVisionPayload } from "./com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload";
119
136
  export { CreateUserPayloadSchema, CreateUserPayload } from "./com/controlresell/models/users/CreateUserPayload";
120
137
  export { GettingStartedStepsSchema, GettingStartedSteps } from "./com/controlresell/models/users/GettingStartedSteps";
121
138
  export { UpdateUserPayloadSchema, UpdateUserPayload } from "./com/controlresell/models/users/UpdateUserPayload";
package/src/index.js CHANGED
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ItemHistoryTypeWithCountSchema = exports.ItemHistoryTypeSchema = exports.ItemHistorySchema = exports.CreateItemHistoryPayloadSchema = exports.UpdateItemFilePayloadSchema = exports.ItemFileSchema = exports.CreateItemFilePayloadSchema = exports.ItemFieldPayloadSchema = exports.ItemFieldSchema = exports.ItemAnalysisRequestSchema = exports.ItemAnalysisCompletionSchema = exports.UpdatedItemSchema = exports.ItemsWithFiltersSchema = exports.ItemSortSchema = exports.ItemSoldPayloadSchema = exports.ItemPayloadSchema = exports.ItemFiltersContextSchema = exports.ItemSchema = exports.CreatedItemsSchema = exports.SpotValueSchema = exports.SpotDefaultValueSchema = exports.SpotConfigSchema = exports.FeeRecurrenceSchema = exports.FeeSchema = exports.PrepareContractResponseSchema = exports.PrepareContractPayloadSchema = exports.CreateContractPayloadSchema = exports.ContractItemSchema = exports.ContractSchema = exports.VerifyCustomerRequestSchema = exports.CustomerSchema = exports.SizeRootSchema = exports.SizeGroupSchema = exports.PackageSizesAndStatusesSchema = exports.ColorRootSchema = exports.CatalogRootSchema = exports.CatalogSchema = exports.SwitchAccountPayloadSchema = exports.ResetPasswordPayloadSchema = exports.RegisterPayloadSchema = exports.RefreshTokenPayloadSchema = exports.LoginPayloadSchema = exports.EmailPayloadSchema = exports.CreateAuthCodePayloadSchema = exports.AuthTokenSchema = exports.AuthCodeTypeSchema = exports.AuthCodeSchema = exports.VersionsSchema = exports.RabbitMQRoutingKeySchema = exports.ControlResellEnvironmentSchema = void 0;
4
4
  exports.UpdateConversationUserPayloadSchema = exports.CreateConversationUserPayloadSchema = exports.ConversationUserSchema = exports.TranslationContextSchema = exports.TranslatedMessageSchema = exports.CreateTranslatedMessagePayloadSchema = exports.UpdateConversationMessageOfferPayloadSchema = exports.CreateConversationMessageOfferPayloadSchema = exports.ConversationOfferUpdateRequestSchema = exports.ConversationOfferRequestSchema = exports.ConversationMessageOfferSchema = exports.UpdateConversationMessageFilePayloadSchema = exports.CreateConversationMessageFilePayloadSchema = exports.ConversationMessageFileSchema = exports.UpdateConversationMessagePayloadSchema = exports.PaginatedConversationMessagesSchema = exports.CreateConversationMessagePayloadSchema = exports.ConversationMessageRequestSchema = exports.ConversationMessageSchema = exports.UserConversationsSchema = exports.UpdateConversationPayloadSchema = exports.CreateConversationPayloadSchema = exports.ConversationOnPlatformUpdateRequestSchema = exports.ConversationSchema = exports.NotificationTokenSchema = exports.CreateNotificationTokenPayloadSchema = exports.StatusSchema = exports.SizeSchema = exports.PlaceSchema = exports.CreatePlacePayloadSchema = exports.PackageSizeSchema = exports.LabelSchema = exports.CreateLabelPayloadSchema = exports.ColorSchema = exports.CreateBrandPayloadSchema = exports.BrandSchema = exports.InvestmentSummaryBreakdownSchema = exports.InvestmentSummarySchema = exports.UpdateItemOnPlatformPayloadSchema = exports.PlatformInfoSchema = exports.ItemOnPlatformsRequestWithItemSchema = exports.ItemOnPlatformsRequestSchema = exports.ItemOnPlatformUpdateRequestSchema = exports.ItemOnPlatformStatusSchema = exports.ItemOnPlatformSchema = exports.CreateItemOnPlatformPayloadSchema = exports.ItemLabelSchema = exports.CreateItemLabelPayloadSchema = exports.ItemHistoryScheduledPayloadSchema = exports.ItemHistoryFailedToPublishPayloadSchema = void 0;
5
- exports.UserPreferenceSchema = exports.UserOnPlatformStatusSchema = exports.UserOnPlatformSessionMessageSchema = exports.UserOnPlatformRequestSchema = exports.UserOnPlatformSchema = exports.UpdateUserOnPlatformPayloadSchema = exports.PlatformJobUpdateSchema = exports.PlatformAuthRequestSchema = exports.CreateUserOnPlatformPayloadSchema = exports.FileSchema = exports.CreateFilePayloadSchema = exports.FieldsWithDataSchema = exports.FieldTypeSchema = exports.FieldPayloadSchema = exports.FieldConfigSchema = exports.FieldSchema = exports.AffiliateSchema = exports.WalletSchema = exports.UserContextSchema = exports.UserSchema = exports.UpdateUserPayloadSchema = exports.GettingStartedStepsSchema = exports.CreateUserPayloadSchema = exports.TransactionWithItemsSchema = exports.ItemInTransactionSchema = exports.CreateItemInTransactionPayloadSchema = exports.UpdateTransactionPayloadSchema = exports.TransactionSchema = exports.CreateTransactionPayloadSchema = exports.UpdatePlatformPreferencePayloadSchema = exports.PlatformPreferenceSchema = exports.CreatePlatformPreferencePayloadSchema = exports.OrderWithItemsSchema = exports.ItemInOrderSchema = exports.CreateItemInOrderPayloadSchema = exports.UpdateOrderPayloadSchema = exports.OrderOnPlatformUpdateRequestSchema = exports.OrderSchema = exports.CreateOrderPayloadSchema = exports.OrderLabelSchema = exports.CreateOrderLabelPayloadSchema = void 0;
5
+ exports.CreateUserOnPlatformPayloadSchema = exports.FileSchema = exports.CreateFilePayloadSchema = exports.FieldsWithDataSchema = exports.FieldTypeSchema = exports.FieldPayloadSchema = exports.FieldConfigSchema = exports.FieldSchema = exports.AffiliateSchema = exports.WalletSchema = exports.UserContextSchema = exports.UserSchema = exports.UpdateUserPayloadSchema = exports.GettingStartedStepsSchema = exports.CreateUserPayloadSchema = exports.PreferenceVisionPayloadSchema = exports.PreferenceTextPayloadSchema = exports.PreferencePricePayloadTypeSchema = exports.PreferencePricePayloadRoundTypeSchema = exports.PreferencePricePayloadSchema = exports.PreferenceFeesPayloadFeeSchema = exports.PreferenceFeesPayloadSchema = exports.PreferenceActionsPayloadSchema = exports.PreferenceActionVariantPayloadSchema = exports.PreferenceActionPayloadTypeSchema = exports.PreferenceActionPayloadSchema = exports.PreferenceCasePayloadSchema = exports.PreferenceCaseSchema = exports.UpdatePreferencePayloadSchema = exports.PreferenceTypeSchema = exports.PreferenceSchema = exports.CreatePreferencePayloadSchema = exports.TransactionWithItemsSchema = exports.ItemInTransactionSchema = exports.CreateItemInTransactionPayloadSchema = exports.UpdateTransactionPayloadSchema = exports.TransactionSchema = exports.CreateTransactionPayloadSchema = exports.UpdatePlatformPreferencePayloadSchema = exports.PlatformPreferenceSchema = exports.CreatePlatformPreferencePayloadSchema = exports.OrderWithItemsSchema = exports.ItemInOrderSchema = exports.CreateItemInOrderPayloadSchema = exports.UpdateOrderPayloadSchema = exports.OrderOnPlatformUpdateRequestSchema = exports.OrderSchema = exports.CreateOrderPayloadSchema = exports.OrderLabelSchema = exports.CreateOrderLabelPayloadSchema = void 0;
6
+ exports.UserPreferenceSchema = exports.UserOnPlatformStatusSchema = exports.UserOnPlatformSessionMessageSchema = exports.UserOnPlatformRequestSchema = exports.UserOnPlatformSchema = exports.UpdateUserOnPlatformPayloadSchema = exports.PlatformJobUpdateSchema = exports.PlatformAuthRequestSchema = void 0;
6
7
  var ControlResellEnvironment_1 = require("./com/controlresell/models/application/ControlResellEnvironment");
7
8
  Object.defineProperty(exports, "ControlResellEnvironmentSchema", { enumerable: true, get: function () { return ControlResellEnvironment_1.ControlResellEnvironmentSchema; } });
8
9
  var RabbitMQRoutingKey_1 = require("./com/controlresell/models/application/RabbitMQRoutingKey");
@@ -239,6 +240,40 @@ var ItemInTransaction_1 = require("./com/controlresell/models/platforms/transact
239
240
  Object.defineProperty(exports, "ItemInTransactionSchema", { enumerable: true, get: function () { return ItemInTransaction_1.ItemInTransactionSchema; } });
240
241
  var TransactionWithItems_1 = require("./com/controlresell/models/platforms/transactions/items/TransactionWithItems");
241
242
  Object.defineProperty(exports, "TransactionWithItemsSchema", { enumerable: true, get: function () { return TransactionWithItems_1.TransactionWithItemsSchema; } });
243
+ var CreatePreferencePayload_1 = require("./com/controlresell/models/preferences/CreatePreferencePayload");
244
+ Object.defineProperty(exports, "CreatePreferencePayloadSchema", { enumerable: true, get: function () { return CreatePreferencePayload_1.CreatePreferencePayloadSchema; } });
245
+ var Preference_1 = require("./com/controlresell/models/preferences/Preference");
246
+ Object.defineProperty(exports, "PreferenceSchema", { enumerable: true, get: function () { return Preference_1.PreferenceSchema; } });
247
+ var PreferenceType_1 = require("./com/controlresell/models/preferences/PreferenceType");
248
+ Object.defineProperty(exports, "PreferenceTypeSchema", { enumerable: true, get: function () { return PreferenceType_1.PreferenceTypeSchema; } });
249
+ var UpdatePreferencePayload_1 = require("./com/controlresell/models/preferences/UpdatePreferencePayload");
250
+ Object.defineProperty(exports, "UpdatePreferencePayloadSchema", { enumerable: true, get: function () { return UpdatePreferencePayload_1.UpdatePreferencePayloadSchema; } });
251
+ var PreferenceCase_1 = require("./com/controlresell/models/preferences/cases/PreferenceCase");
252
+ Object.defineProperty(exports, "PreferenceCaseSchema", { enumerable: true, get: function () { return PreferenceCase_1.PreferenceCaseSchema; } });
253
+ var PreferenceCasePayload_1 = require("./com/controlresell/models/preferences/cases/PreferenceCasePayload");
254
+ Object.defineProperty(exports, "PreferenceCasePayloadSchema", { enumerable: true, get: function () { return PreferenceCasePayload_1.PreferenceCasePayloadSchema; } });
255
+ var PreferenceActionPayload_1 = require("./com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload");
256
+ Object.defineProperty(exports, "PreferenceActionPayloadSchema", { enumerable: true, get: function () { return PreferenceActionPayload_1.PreferenceActionPayloadSchema; } });
257
+ var PreferenceActionPayloadType_1 = require("./com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType");
258
+ Object.defineProperty(exports, "PreferenceActionPayloadTypeSchema", { enumerable: true, get: function () { return PreferenceActionPayloadType_1.PreferenceActionPayloadTypeSchema; } });
259
+ var PreferenceActionVariantPayload_1 = require("./com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload");
260
+ Object.defineProperty(exports, "PreferenceActionVariantPayloadSchema", { enumerable: true, get: function () { return PreferenceActionVariantPayload_1.PreferenceActionVariantPayloadSchema; } });
261
+ var PreferenceActionsPayload_1 = require("./com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload");
262
+ Object.defineProperty(exports, "PreferenceActionsPayloadSchema", { enumerable: true, get: function () { return PreferenceActionsPayload_1.PreferenceActionsPayloadSchema; } });
263
+ var PreferenceFeesPayload_1 = require("./com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload");
264
+ Object.defineProperty(exports, "PreferenceFeesPayloadSchema", { enumerable: true, get: function () { return PreferenceFeesPayload_1.PreferenceFeesPayloadSchema; } });
265
+ var PreferenceFeesPayloadFee_1 = require("./com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee");
266
+ Object.defineProperty(exports, "PreferenceFeesPayloadFeeSchema", { enumerable: true, get: function () { return PreferenceFeesPayloadFee_1.PreferenceFeesPayloadFeeSchema; } });
267
+ var PreferencePricePayload_1 = require("./com/controlresell/models/preferences/payloads/prices/PreferencePricePayload");
268
+ Object.defineProperty(exports, "PreferencePricePayloadSchema", { enumerable: true, get: function () { return PreferencePricePayload_1.PreferencePricePayloadSchema; } });
269
+ var PreferencePricePayloadRoundType_1 = require("./com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType");
270
+ Object.defineProperty(exports, "PreferencePricePayloadRoundTypeSchema", { enumerable: true, get: function () { return PreferencePricePayloadRoundType_1.PreferencePricePayloadRoundTypeSchema; } });
271
+ var PreferencePricePayloadType_1 = require("./com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType");
272
+ Object.defineProperty(exports, "PreferencePricePayloadTypeSchema", { enumerable: true, get: function () { return PreferencePricePayloadType_1.PreferencePricePayloadTypeSchema; } });
273
+ var PreferenceTextPayload_1 = require("./com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload");
274
+ Object.defineProperty(exports, "PreferenceTextPayloadSchema", { enumerable: true, get: function () { return PreferenceTextPayload_1.PreferenceTextPayloadSchema; } });
275
+ var PreferenceVisionPayload_1 = require("./com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload");
276
+ Object.defineProperty(exports, "PreferenceVisionPayloadSchema", { enumerable: true, get: function () { return PreferenceVisionPayload_1.PreferenceVisionPayloadSchema; } });
242
277
  var CreateUserPayload_1 = require("./com/controlresell/models/users/CreateUserPayload");
243
278
  Object.defineProperty(exports, "CreateUserPayloadSchema", { enumerable: true, get: function () { return CreateUserPayload_1.CreateUserPayloadSchema; } });
244
279
  var GettingStartedSteps_1 = require("./com/controlresell/models/users/GettingStartedSteps");
package/src/index.ts CHANGED
@@ -116,6 +116,23 @@ export {UpdateTransactionPayloadSchema, UpdateTransactionPayload} from "./com/co
116
116
  export {CreateItemInTransactionPayloadSchema, CreateItemInTransactionPayload} from "./com/controlresell/models/platforms/transactions/items/CreateItemInTransactionPayload"
117
117
  export {ItemInTransactionSchema, ItemInTransaction} from "./com/controlresell/models/platforms/transactions/items/ItemInTransaction"
118
118
  export {TransactionWithItemsSchema, TransactionWithItems} from "./com/controlresell/models/platforms/transactions/items/TransactionWithItems"
119
+ export {CreatePreferencePayloadSchema, CreatePreferencePayload} from "./com/controlresell/models/preferences/CreatePreferencePayload"
120
+ export {PreferenceSchema, Preference} from "./com/controlresell/models/preferences/Preference"
121
+ export {PreferenceTypeSchema, PreferenceType} from "./com/controlresell/models/preferences/PreferenceType"
122
+ export {UpdatePreferencePayloadSchema, UpdatePreferencePayload} from "./com/controlresell/models/preferences/UpdatePreferencePayload"
123
+ export {PreferenceCaseSchema, PreferenceCase} from "./com/controlresell/models/preferences/cases/PreferenceCase"
124
+ export {PreferenceCasePayloadSchema, PreferenceCasePayload} from "./com/controlresell/models/preferences/cases/PreferenceCasePayload"
125
+ export {PreferenceActionPayloadSchema, PreferenceActionPayload} from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload"
126
+ export {PreferenceActionPayloadTypeSchema, PreferenceActionPayloadType} from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType"
127
+ export {PreferenceActionVariantPayloadSchema, PreferenceActionVariantPayload} from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload"
128
+ export {PreferenceActionsPayloadSchema, PreferenceActionsPayload} from "./com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload"
129
+ export {PreferenceFeesPayloadSchema, PreferenceFeesPayload} from "./com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload"
130
+ export {PreferenceFeesPayloadFeeSchema, PreferenceFeesPayloadFee} from "./com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee"
131
+ export {PreferencePricePayloadSchema, PreferencePricePayload} from "./com/controlresell/models/preferences/payloads/prices/PreferencePricePayload"
132
+ export {PreferencePricePayloadRoundTypeSchema, PreferencePricePayloadRoundType} from "./com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType"
133
+ export {PreferencePricePayloadTypeSchema, PreferencePricePayloadType} from "./com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType"
134
+ export {PreferenceTextPayloadSchema, PreferenceTextPayload} from "./com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload"
135
+ export {PreferenceVisionPayloadSchema, PreferenceVisionPayload} from "./com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload"
119
136
  export {CreateUserPayloadSchema, CreateUserPayload} from "./com/controlresell/models/users/CreateUserPayload"
120
137
  export {GettingStartedStepsSchema, GettingStartedSteps} from "./com/controlresell/models/users/GettingStartedSteps"
121
138
  export {UpdateUserPayloadSchema, UpdateUserPayload} from "./com/controlresell/models/users/UpdateUserPayload"