controlresell 2.0.4 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/com/controlresell/models/auth/LoginPayload.d.ts +12 -0
- package/src/com/controlresell/models/auth/LoginPayload.js +8 -0
- package/src/com/controlresell/models/auth/LoginPayload.ts +7 -0
- package/src/com/controlresell/models/auth/RegisterPayload.d.ts +12 -0
- package/src/com/controlresell/models/auth/RegisterPayload.js +8 -0
- package/src/com/controlresell/models/auth/RegisterPayload.ts +7 -0
- package/src/com/controlresell/models/customers/Customer.d.ts +2 -2
- package/src/com/controlresell/models/items/CreatedItems.d.ts +6 -6
- package/src/com/controlresell/models/items/Item.d.ts +4 -4
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/items/ItemSort.d.ts +1 -1
- package/src/com/controlresell/models/items/ItemSort.js +1 -1
- package/src/com/controlresell/models/items/ItemSort.ts +1 -1
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +6 -6
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +6 -6
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +6 -6
- package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +6 -0
- package/src/com/controlresell/models/platforms/conversations/Conversation.js +3 -1
- package/src/com/controlresell/models/platforms/conversations/Conversation.ts +3 -1
- package/src/com/controlresell/models/platforms/conversations/CreateConversationPayload.d.ts +12 -0
- package/src/com/controlresell/models/platforms/conversations/CreateConversationPayload.js +8 -0
- package/src/com/controlresell/models/platforms/conversations/CreateConversationPayload.ts +7 -0
- package/src/com/controlresell/models/platforms/conversations/UpdateConversationPayload.d.ts +9 -0
- package/src/com/controlresell/models/platforms/conversations/UpdateConversationPayload.js +7 -0
- package/src/com/controlresell/models/platforms/conversations/UpdateConversationPayload.ts +6 -0
- package/src/com/controlresell/models/users/CreateUserPayload.d.ts +18 -0
- package/src/com/controlresell/models/users/CreateUserPayload.js +10 -0
- package/src/com/controlresell/models/users/CreateUserPayload.ts +9 -0
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +7 -4
- package/src/com/controlresell/models/users/UpdateUserPayload.js +1 -0
- package/src/com/controlresell/models/users/UpdateUserPayload.ts +1 -0
- package/src/com/controlresell/models/users/User.d.ts +6 -6
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +3 -0
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js +2 -1
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.ts +2 -1
- package/src/index.d.ts +5 -0
- package/src/index.js +5 -0
- package/src/index.ts +5 -0
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LoginPayloadSchema: z.ZodObject<{
|
|
3
|
+
email: z.ZodString;
|
|
4
|
+
password: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
email: string;
|
|
7
|
+
password: string;
|
|
8
|
+
}, {
|
|
9
|
+
email: string;
|
|
10
|
+
password: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type LoginPayload = z.infer<typeof LoginPayloadSchema>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const RegisterPayloadSchema: z.ZodObject<{
|
|
3
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
email?: string | null | undefined;
|
|
7
|
+
password?: string | null | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
email?: string | null | undefined;
|
|
10
|
+
password?: string | null | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export type RegisterPayload = z.infer<typeof RegisterPayloadSchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RegisterPayloadSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.RegisterPayloadSchema = zod_1.z.object({
|
|
6
|
+
email: zod_1.z.string().nullish(),
|
|
7
|
+
password: zod_1.z.string().nullish()
|
|
8
|
+
});
|
|
@@ -12,24 +12,24 @@ export declare const CustomerSchema: z.ZodObject<{
|
|
|
12
12
|
bic: z.ZodString;
|
|
13
13
|
phoneVerified: z.ZodBoolean;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
email: string;
|
|
15
16
|
id: string | number;
|
|
16
17
|
userId: string | number;
|
|
17
18
|
firstName: string;
|
|
18
19
|
lastName: string;
|
|
19
20
|
birthDate: Date;
|
|
20
|
-
email: string;
|
|
21
21
|
idNumber: string;
|
|
22
22
|
phone: string;
|
|
23
23
|
iban: string;
|
|
24
24
|
bic: string;
|
|
25
25
|
phoneVerified: boolean;
|
|
26
26
|
}, {
|
|
27
|
+
email: string;
|
|
27
28
|
id: string | number;
|
|
28
29
|
userId: string | number;
|
|
29
30
|
firstName: string;
|
|
30
31
|
lastName: string;
|
|
31
32
|
birthDate: Date;
|
|
32
|
-
email: string;
|
|
33
33
|
idNumber: string;
|
|
34
34
|
phone: string;
|
|
35
35
|
iban: string;
|
|
@@ -170,24 +170,24 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
170
170
|
bic: z.ZodString;
|
|
171
171
|
phoneVerified: z.ZodBoolean;
|
|
172
172
|
}, "strip", z.ZodTypeAny, {
|
|
173
|
+
email: string;
|
|
173
174
|
id: string | number;
|
|
174
175
|
userId: string | number;
|
|
175
176
|
firstName: string;
|
|
176
177
|
lastName: string;
|
|
177
178
|
birthDate: Date;
|
|
178
|
-
email: string;
|
|
179
179
|
idNumber: string;
|
|
180
180
|
phone: string;
|
|
181
181
|
iban: string;
|
|
182
182
|
bic: string;
|
|
183
183
|
phoneVerified: boolean;
|
|
184
184
|
}, {
|
|
185
|
+
email: string;
|
|
185
186
|
id: string | number;
|
|
186
187
|
userId: string | number;
|
|
187
188
|
firstName: string;
|
|
188
189
|
lastName: string;
|
|
189
190
|
birthDate: Date;
|
|
190
|
-
email: string;
|
|
191
191
|
idNumber: string;
|
|
192
192
|
phone: string;
|
|
193
193
|
iban: string;
|
|
@@ -355,12 +355,12 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
355
355
|
} | null | undefined;
|
|
356
356
|
}[] | null | undefined;
|
|
357
357
|
customer?: {
|
|
358
|
+
email: string;
|
|
358
359
|
id: string | number;
|
|
359
360
|
userId: string | number;
|
|
360
361
|
firstName: string;
|
|
361
362
|
lastName: string;
|
|
362
363
|
birthDate: Date;
|
|
363
|
-
email: string;
|
|
364
364
|
idNumber: string;
|
|
365
365
|
phone: string;
|
|
366
366
|
iban: string;
|
|
@@ -464,12 +464,12 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
464
464
|
} | null | undefined;
|
|
465
465
|
}[] | null | undefined;
|
|
466
466
|
customer?: {
|
|
467
|
+
email: string;
|
|
467
468
|
id: string | number;
|
|
468
469
|
userId: string | number;
|
|
469
470
|
firstName: string;
|
|
470
471
|
lastName: string;
|
|
471
472
|
birthDate: Date;
|
|
472
|
-
email: string;
|
|
473
473
|
idNumber: string;
|
|
474
474
|
phone: string;
|
|
475
475
|
iban: string;
|
|
@@ -594,12 +594,12 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
594
594
|
} | null | undefined;
|
|
595
595
|
}[] | null | undefined;
|
|
596
596
|
customer?: {
|
|
597
|
+
email: string;
|
|
597
598
|
id: string | number;
|
|
598
599
|
userId: string | number;
|
|
599
600
|
firstName: string;
|
|
600
601
|
lastName: string;
|
|
601
602
|
birthDate: Date;
|
|
602
|
-
email: string;
|
|
603
603
|
idNumber: string;
|
|
604
604
|
phone: string;
|
|
605
605
|
iban: string;
|
|
@@ -712,12 +712,12 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
712
712
|
} | null | undefined;
|
|
713
713
|
}[] | null | undefined;
|
|
714
714
|
customer?: {
|
|
715
|
+
email: string;
|
|
715
716
|
id: string | number;
|
|
716
717
|
userId: string | number;
|
|
717
718
|
firstName: string;
|
|
718
719
|
lastName: string;
|
|
719
720
|
birthDate: Date;
|
|
720
|
-
email: string;
|
|
721
721
|
idNumber: string;
|
|
722
722
|
phone: string;
|
|
723
723
|
iban: string;
|
|
@@ -169,24 +169,24 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
169
169
|
bic: z.ZodString;
|
|
170
170
|
phoneVerified: z.ZodBoolean;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
email: string;
|
|
172
173
|
id: string | number;
|
|
173
174
|
userId: string | number;
|
|
174
175
|
firstName: string;
|
|
175
176
|
lastName: string;
|
|
176
177
|
birthDate: Date;
|
|
177
|
-
email: string;
|
|
178
178
|
idNumber: string;
|
|
179
179
|
phone: string;
|
|
180
180
|
iban: string;
|
|
181
181
|
bic: string;
|
|
182
182
|
phoneVerified: boolean;
|
|
183
183
|
}, {
|
|
184
|
+
email: string;
|
|
184
185
|
id: string | number;
|
|
185
186
|
userId: string | number;
|
|
186
187
|
firstName: string;
|
|
187
188
|
lastName: string;
|
|
188
189
|
birthDate: Date;
|
|
189
|
-
email: string;
|
|
190
190
|
idNumber: string;
|
|
191
191
|
phone: string;
|
|
192
192
|
iban: string;
|
|
@@ -354,12 +354,12 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
354
354
|
} | null | undefined;
|
|
355
355
|
}[] | null | undefined;
|
|
356
356
|
customer?: {
|
|
357
|
+
email: string;
|
|
357
358
|
id: string | number;
|
|
358
359
|
userId: string | number;
|
|
359
360
|
firstName: string;
|
|
360
361
|
lastName: string;
|
|
361
362
|
birthDate: Date;
|
|
362
|
-
email: string;
|
|
363
363
|
idNumber: string;
|
|
364
364
|
phone: string;
|
|
365
365
|
iban: string;
|
|
@@ -463,12 +463,12 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
463
463
|
} | null | undefined;
|
|
464
464
|
}[] | null | undefined;
|
|
465
465
|
customer?: {
|
|
466
|
+
email: string;
|
|
466
467
|
id: string | number;
|
|
467
468
|
userId: string | number;
|
|
468
469
|
firstName: string;
|
|
469
470
|
lastName: string;
|
|
470
471
|
birthDate: Date;
|
|
471
|
-
email: string;
|
|
472
472
|
idNumber: string;
|
|
473
473
|
phone: string;
|
|
474
474
|
iban: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemFiltersContextSchema: z.ZodObject<{
|
|
3
|
-
sort: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MOST_RECENT", "OLDEST", "HIGHEST_PRICE", "LOWEST_PRICE"
|
|
3
|
+
sort: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MOST_RECENT", "OLDEST", "HIGHEST_PRICE", "LOWEST_PRICE"]>>>;
|
|
4
4
|
sold: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5
5
|
categoriesId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
6
6
|
brandsId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -17,7 +17,7 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
|
|
|
17
17
|
searchQuery: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
readyToPublish: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" |
|
|
20
|
+
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
21
21
|
sex?: string[] | null | undefined;
|
|
22
22
|
sold?: boolean | null | undefined;
|
|
23
23
|
categoriesId?: number[] | null | undefined;
|
|
@@ -34,7 +34,7 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
|
|
|
34
34
|
searchQuery?: string | null | undefined;
|
|
35
35
|
readyToPublish?: boolean | null | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" |
|
|
37
|
+
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
38
38
|
sex?: string[] | null | undefined;
|
|
39
39
|
sold?: boolean | null | undefined;
|
|
40
40
|
categoriesId?: number[] | null | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const ItemSortSchema: z.ZodEnum<["MOST_RECENT", "OLDEST", "HIGHEST_PRICE", "LOWEST_PRICE"
|
|
2
|
+
export declare const ItemSortSchema: z.ZodEnum<["MOST_RECENT", "OLDEST", "HIGHEST_PRICE", "LOWEST_PRICE"]>;
|
|
3
3
|
export type ItemSort = z.infer<typeof ItemSortSchema>;
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ItemSortSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.ItemSortSchema = zod_1.z.enum([
|
|
6
|
-
"MOST_RECENT", "OLDEST", "HIGHEST_PRICE", "LOWEST_PRICE"
|
|
6
|
+
"MOST_RECENT", "OLDEST", "HIGHEST_PRICE", "LOWEST_PRICE"
|
|
7
7
|
]);
|
|
@@ -172,24 +172,24 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
172
172
|
bic: z.ZodString;
|
|
173
173
|
phoneVerified: z.ZodBoolean;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
+
email: string;
|
|
175
176
|
id: string | number;
|
|
176
177
|
userId: string | number;
|
|
177
178
|
firstName: string;
|
|
178
179
|
lastName: string;
|
|
179
180
|
birthDate: Date;
|
|
180
|
-
email: string;
|
|
181
181
|
idNumber: string;
|
|
182
182
|
phone: string;
|
|
183
183
|
iban: string;
|
|
184
184
|
bic: string;
|
|
185
185
|
phoneVerified: boolean;
|
|
186
186
|
}, {
|
|
187
|
+
email: string;
|
|
187
188
|
id: string | number;
|
|
188
189
|
userId: string | number;
|
|
189
190
|
firstName: string;
|
|
190
191
|
lastName: string;
|
|
191
192
|
birthDate: Date;
|
|
192
|
-
email: string;
|
|
193
193
|
idNumber: string;
|
|
194
194
|
phone: string;
|
|
195
195
|
iban: string;
|
|
@@ -357,12 +357,12 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
357
357
|
} | null | undefined;
|
|
358
358
|
}[] | null | undefined;
|
|
359
359
|
customer?: {
|
|
360
|
+
email: string;
|
|
360
361
|
id: string | number;
|
|
361
362
|
userId: string | number;
|
|
362
363
|
firstName: string;
|
|
363
364
|
lastName: string;
|
|
364
365
|
birthDate: Date;
|
|
365
|
-
email: string;
|
|
366
366
|
idNumber: string;
|
|
367
367
|
phone: string;
|
|
368
368
|
iban: string;
|
|
@@ -466,12 +466,12 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
466
466
|
} | null | undefined;
|
|
467
467
|
}[] | null | undefined;
|
|
468
468
|
customer?: {
|
|
469
|
+
email: string;
|
|
469
470
|
id: string | number;
|
|
470
471
|
userId: string | number;
|
|
471
472
|
firstName: string;
|
|
472
473
|
lastName: string;
|
|
473
474
|
birthDate: Date;
|
|
474
|
-
email: string;
|
|
475
475
|
idNumber: string;
|
|
476
476
|
phone: string;
|
|
477
477
|
iban: string;
|
|
@@ -635,12 +635,12 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
635
635
|
} | null | undefined;
|
|
636
636
|
}[] | null | undefined;
|
|
637
637
|
customer?: {
|
|
638
|
+
email: string;
|
|
638
639
|
id: string | number;
|
|
639
640
|
userId: string | number;
|
|
640
641
|
firstName: string;
|
|
641
642
|
lastName: string;
|
|
642
643
|
birthDate: Date;
|
|
643
|
-
email: string;
|
|
644
644
|
idNumber: string;
|
|
645
645
|
phone: string;
|
|
646
646
|
iban: string;
|
|
@@ -767,12 +767,12 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
767
767
|
} | null | undefined;
|
|
768
768
|
}[] | null | undefined;
|
|
769
769
|
customer?: {
|
|
770
|
+
email: string;
|
|
770
771
|
id: string | number;
|
|
771
772
|
userId: string | number;
|
|
772
773
|
firstName: string;
|
|
773
774
|
lastName: string;
|
|
774
775
|
birthDate: Date;
|
|
775
|
-
email: string;
|
|
776
776
|
idNumber: string;
|
|
777
777
|
phone: string;
|
|
778
778
|
iban: string;
|
|
@@ -170,24 +170,24 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
170
170
|
bic: z.ZodString;
|
|
171
171
|
phoneVerified: z.ZodBoolean;
|
|
172
172
|
}, "strip", z.ZodTypeAny, {
|
|
173
|
+
email: string;
|
|
173
174
|
id: string | number;
|
|
174
175
|
userId: string | number;
|
|
175
176
|
firstName: string;
|
|
176
177
|
lastName: string;
|
|
177
178
|
birthDate: Date;
|
|
178
|
-
email: string;
|
|
179
179
|
idNumber: string;
|
|
180
180
|
phone: string;
|
|
181
181
|
iban: string;
|
|
182
182
|
bic: string;
|
|
183
183
|
phoneVerified: boolean;
|
|
184
184
|
}, {
|
|
185
|
+
email: string;
|
|
185
186
|
id: string | number;
|
|
186
187
|
userId: string | number;
|
|
187
188
|
firstName: string;
|
|
188
189
|
lastName: string;
|
|
189
190
|
birthDate: Date;
|
|
190
|
-
email: string;
|
|
191
191
|
idNumber: string;
|
|
192
192
|
phone: string;
|
|
193
193
|
iban: string;
|
|
@@ -355,12 +355,12 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
355
355
|
} | null | undefined;
|
|
356
356
|
}[] | null | undefined;
|
|
357
357
|
customer?: {
|
|
358
|
+
email: string;
|
|
358
359
|
id: string | number;
|
|
359
360
|
userId: string | number;
|
|
360
361
|
firstName: string;
|
|
361
362
|
lastName: string;
|
|
362
363
|
birthDate: Date;
|
|
363
|
-
email: string;
|
|
364
364
|
idNumber: string;
|
|
365
365
|
phone: string;
|
|
366
366
|
iban: string;
|
|
@@ -464,12 +464,12 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
464
464
|
} | null | undefined;
|
|
465
465
|
}[] | null | undefined;
|
|
466
466
|
customer?: {
|
|
467
|
+
email: string;
|
|
467
468
|
id: string | number;
|
|
468
469
|
userId: string | number;
|
|
469
470
|
firstName: string;
|
|
470
471
|
lastName: string;
|
|
471
472
|
birthDate: Date;
|
|
472
|
-
email: string;
|
|
473
473
|
idNumber: string;
|
|
474
474
|
phone: string;
|
|
475
475
|
iban: string;
|
|
@@ -601,12 +601,12 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
601
601
|
} | null | undefined;
|
|
602
602
|
}[] | null | undefined;
|
|
603
603
|
customer?: {
|
|
604
|
+
email: string;
|
|
604
605
|
id: string | number;
|
|
605
606
|
userId: string | number;
|
|
606
607
|
firstName: string;
|
|
607
608
|
lastName: string;
|
|
608
609
|
birthDate: Date;
|
|
609
|
-
email: string;
|
|
610
610
|
idNumber: string;
|
|
611
611
|
phone: string;
|
|
612
612
|
iban: string;
|
|
@@ -719,12 +719,12 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
719
719
|
} | null | undefined;
|
|
720
720
|
}[] | null | undefined;
|
|
721
721
|
customer?: {
|
|
722
|
+
email: string;
|
|
722
723
|
id: string | number;
|
|
723
724
|
userId: string | number;
|
|
724
725
|
firstName: string;
|
|
725
726
|
lastName: string;
|
|
726
727
|
birthDate: Date;
|
|
727
|
-
email: string;
|
|
728
728
|
idNumber: string;
|
|
729
729
|
phone: string;
|
|
730
730
|
iban: string;
|
|
@@ -180,24 +180,24 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
180
180
|
bic: z.ZodString;
|
|
181
181
|
phoneVerified: z.ZodBoolean;
|
|
182
182
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
email: string;
|
|
183
184
|
id: string | number;
|
|
184
185
|
userId: string | number;
|
|
185
186
|
firstName: string;
|
|
186
187
|
lastName: string;
|
|
187
188
|
birthDate: Date;
|
|
188
|
-
email: string;
|
|
189
189
|
idNumber: string;
|
|
190
190
|
phone: string;
|
|
191
191
|
iban: string;
|
|
192
192
|
bic: string;
|
|
193
193
|
phoneVerified: boolean;
|
|
194
194
|
}, {
|
|
195
|
+
email: string;
|
|
195
196
|
id: string | number;
|
|
196
197
|
userId: string | number;
|
|
197
198
|
firstName: string;
|
|
198
199
|
lastName: string;
|
|
199
200
|
birthDate: Date;
|
|
200
|
-
email: string;
|
|
201
201
|
idNumber: string;
|
|
202
202
|
phone: string;
|
|
203
203
|
iban: string;
|
|
@@ -365,12 +365,12 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
365
365
|
} | null | undefined;
|
|
366
366
|
}[] | null | undefined;
|
|
367
367
|
customer?: {
|
|
368
|
+
email: string;
|
|
368
369
|
id: string | number;
|
|
369
370
|
userId: string | number;
|
|
370
371
|
firstName: string;
|
|
371
372
|
lastName: string;
|
|
372
373
|
birthDate: Date;
|
|
373
|
-
email: string;
|
|
374
374
|
idNumber: string;
|
|
375
375
|
phone: string;
|
|
376
376
|
iban: string;
|
|
@@ -474,12 +474,12 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
474
474
|
} | null | undefined;
|
|
475
475
|
}[] | null | undefined;
|
|
476
476
|
customer?: {
|
|
477
|
+
email: string;
|
|
477
478
|
id: string | number;
|
|
478
479
|
userId: string | number;
|
|
479
480
|
firstName: string;
|
|
480
481
|
lastName: string;
|
|
481
482
|
birthDate: Date;
|
|
482
|
-
email: string;
|
|
483
483
|
idNumber: string;
|
|
484
484
|
phone: string;
|
|
485
485
|
iban: string;
|
|
@@ -585,12 +585,12 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
585
585
|
} | null | undefined;
|
|
586
586
|
}[] | null | undefined;
|
|
587
587
|
customer?: {
|
|
588
|
+
email: string;
|
|
588
589
|
id: string | number;
|
|
589
590
|
userId: string | number;
|
|
590
591
|
firstName: string;
|
|
591
592
|
lastName: string;
|
|
592
593
|
birthDate: Date;
|
|
593
|
-
email: string;
|
|
594
594
|
idNumber: string;
|
|
595
595
|
phone: string;
|
|
596
596
|
iban: string;
|
|
@@ -700,12 +700,12 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
700
700
|
} | null | undefined;
|
|
701
701
|
}[] | null | undefined;
|
|
702
702
|
customer?: {
|
|
703
|
+
email: string;
|
|
703
704
|
id: string | number;
|
|
704
705
|
userId: string | number;
|
|
705
706
|
firstName: string;
|
|
706
707
|
lastName: string;
|
|
707
708
|
birthDate: Date;
|
|
708
|
-
email: string;
|
|
709
709
|
idNumber: string;
|
|
710
710
|
phone: string;
|
|
711
711
|
iban: string;
|
|
@@ -2,11 +2,17 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const ConversationSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
accountId: z.ZodString;
|
|
5
|
+
platformConversationId: z.ZodString;
|
|
6
|
+
updatedAt: z.ZodDate;
|
|
5
7
|
}, "strip", z.ZodTypeAny, {
|
|
6
8
|
id: string;
|
|
7
9
|
accountId: string;
|
|
10
|
+
updatedAt: Date;
|
|
11
|
+
platformConversationId: string;
|
|
8
12
|
}, {
|
|
9
13
|
id: string;
|
|
10
14
|
accountId: string;
|
|
15
|
+
updatedAt: Date;
|
|
16
|
+
platformConversationId: string;
|
|
11
17
|
}>;
|
|
12
18
|
export type Conversation = z.infer<typeof ConversationSchema>;
|
|
@@ -4,5 +4,7 @@ exports.ConversationSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.ConversationSchema = zod_1.z.object({
|
|
6
6
|
id: zod_1.z.string().uuid(),
|
|
7
|
-
accountId: zod_1.z.string().uuid()
|
|
7
|
+
accountId: zod_1.z.string().uuid(),
|
|
8
|
+
platformConversationId: zod_1.z.string(),
|
|
9
|
+
updatedAt: zod_1.z.coerce.date()
|
|
8
10
|
});
|
|
@@ -2,6 +2,8 @@ import {z} from "zod"
|
|
|
2
2
|
|
|
3
3
|
export const ConversationSchema = z.object({
|
|
4
4
|
id: z.string().uuid(),
|
|
5
|
-
accountId: z.string().uuid()
|
|
5
|
+
accountId: z.string().uuid(),
|
|
6
|
+
platformConversationId: z.string(),
|
|
7
|
+
updatedAt: z.coerce.date()
|
|
6
8
|
})
|
|
7
9
|
export type Conversation = z.infer<typeof ConversationSchema>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const CreateConversationPayloadSchema: z.ZodObject<{
|
|
3
|
+
platformConversationId: z.ZodString;
|
|
4
|
+
updatedAt: z.ZodDate;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
updatedAt: Date;
|
|
7
|
+
platformConversationId: string;
|
|
8
|
+
}, {
|
|
9
|
+
updatedAt: Date;
|
|
10
|
+
platformConversationId: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type CreateConversationPayload = z.infer<typeof CreateConversationPayloadSchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateConversationPayloadSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.CreateConversationPayloadSchema = zod_1.z.object({
|
|
6
|
+
platformConversationId: zod_1.z.string(),
|
|
7
|
+
updatedAt: zod_1.z.coerce.date()
|
|
8
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const UpdateConversationPayloadSchema: z.ZodObject<{
|
|
3
|
+
updatedAt: z.ZodDate;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
updatedAt: Date;
|
|
6
|
+
}, {
|
|
7
|
+
updatedAt: Date;
|
|
8
|
+
}>;
|
|
9
|
+
export type UpdateConversationPayload = z.infer<typeof UpdateConversationPayloadSchema>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const CreateUserPayloadSchema: z.ZodObject<{
|
|
3
|
+
username: z.ZodString;
|
|
4
|
+
anonymous: z.ZodBoolean;
|
|
5
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
password: z.ZodString;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
password: string;
|
|
9
|
+
username: string;
|
|
10
|
+
anonymous: boolean;
|
|
11
|
+
email?: string | null | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
password: string;
|
|
14
|
+
username: string;
|
|
15
|
+
anonymous: boolean;
|
|
16
|
+
email?: string | null | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export type CreateUserPayload = z.infer<typeof CreateUserPayloadSchema>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateUserPayloadSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.CreateUserPayloadSchema = zod_1.z.object({
|
|
6
|
+
username: zod_1.z.string(),
|
|
7
|
+
anonymous: zod_1.z.boolean(),
|
|
8
|
+
email: zod_1.z.string().nullish(),
|
|
9
|
+
password: zod_1.z.string()
|
|
10
|
+
});
|
|
@@ -4,6 +4,7 @@ export declare const UpdateUserPayloadSchema: z.ZodObject<{
|
|
|
4
4
|
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
anonymous: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7
8
|
affiliate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
9
|
notificationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
10
|
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -19,10 +20,11 @@ export declare const UpdateUserPayloadSchema: z.ZodObject<{
|
|
|
19
20
|
defaultValue?: string | null | undefined;
|
|
20
21
|
}>, "many">>>;
|
|
21
22
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
|
|
23
|
+
email?: string | null | undefined;
|
|
23
24
|
password?: string | null | undefined;
|
|
25
|
+
username?: string | null | undefined;
|
|
24
26
|
firstName?: string | null | undefined;
|
|
25
|
-
|
|
27
|
+
anonymous?: boolean | null | undefined;
|
|
26
28
|
affiliate?: string | null | undefined;
|
|
27
29
|
notificationToken?: string | null | undefined;
|
|
28
30
|
phoneNumber?: string | null | undefined;
|
|
@@ -32,10 +34,11 @@ export declare const UpdateUserPayloadSchema: z.ZodObject<{
|
|
|
32
34
|
defaultValue?: string | null | undefined;
|
|
33
35
|
}[] | null | undefined;
|
|
34
36
|
}, {
|
|
35
|
-
|
|
37
|
+
email?: string | null | undefined;
|
|
36
38
|
password?: string | null | undefined;
|
|
39
|
+
username?: string | null | undefined;
|
|
37
40
|
firstName?: string | null | undefined;
|
|
38
|
-
|
|
41
|
+
anonymous?: boolean | null | undefined;
|
|
39
42
|
affiliate?: string | null | undefined;
|
|
40
43
|
notificationToken?: string | null | undefined;
|
|
41
44
|
phoneNumber?: string | null | undefined;
|
|
@@ -8,6 +8,7 @@ exports.UpdateUserPayloadSchema = zod_1.z.object({
|
|
|
8
8
|
firstName: zod_1.z.string().nullish(),
|
|
9
9
|
email: zod_1.z.string().nullish(),
|
|
10
10
|
password: zod_1.z.string().nullish(),
|
|
11
|
+
anonymous: zod_1.z.boolean().nullish(),
|
|
11
12
|
affiliate: zod_1.z.string().nullish(),
|
|
12
13
|
notificationToken: zod_1.z.string().nullish(),
|
|
13
14
|
phoneNumber: zod_1.z.string().nullish(),
|
|
@@ -6,6 +6,7 @@ export const UpdateUserPayloadSchema = z.object({
|
|
|
6
6
|
firstName: z.string().nullish(),
|
|
7
7
|
email: z.string().nullish(),
|
|
8
8
|
password: z.string().nullish(),
|
|
9
|
+
anonymous: z.boolean().nullish(),
|
|
9
10
|
affiliate: z.string().nullish(),
|
|
10
11
|
notificationToken: z.string().nullish(),
|
|
11
12
|
phoneNumber: z.string().nullish(),
|
|
@@ -23,24 +23,24 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
23
23
|
bic: z.ZodString;
|
|
24
24
|
phoneVerified: z.ZodBoolean;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
email: string;
|
|
26
27
|
id: string | number;
|
|
27
28
|
userId: string | number;
|
|
28
29
|
firstName: string;
|
|
29
30
|
lastName: string;
|
|
30
31
|
birthDate: Date;
|
|
31
|
-
email: string;
|
|
32
32
|
idNumber: string;
|
|
33
33
|
phone: string;
|
|
34
34
|
iban: string;
|
|
35
35
|
bic: string;
|
|
36
36
|
phoneVerified: boolean;
|
|
37
37
|
}, {
|
|
38
|
+
email: string;
|
|
38
39
|
id: string | number;
|
|
39
40
|
userId: string | number;
|
|
40
41
|
firstName: string;
|
|
41
42
|
lastName: string;
|
|
42
43
|
birthDate: Date;
|
|
43
|
-
email: string;
|
|
44
44
|
idNumber: string;
|
|
45
45
|
phone: string;
|
|
46
46
|
iban: string;
|
|
@@ -67,9 +67,9 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
67
67
|
updatedAt: Date;
|
|
68
68
|
anonymous: boolean;
|
|
69
69
|
lastLoginAt: Date;
|
|
70
|
+
email?: string | null | undefined;
|
|
70
71
|
password?: string | null | undefined;
|
|
71
72
|
firstName?: string | null | undefined;
|
|
72
|
-
email?: string | null | undefined;
|
|
73
73
|
affiliate?: string | null | undefined;
|
|
74
74
|
notificationToken?: string | null | undefined;
|
|
75
75
|
phoneNumber?: string | null | undefined;
|
|
@@ -79,12 +79,12 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
79
79
|
defaultValue?: string | null | undefined;
|
|
80
80
|
}[] | null | undefined;
|
|
81
81
|
customers?: {
|
|
82
|
+
email: string;
|
|
82
83
|
id: string | number;
|
|
83
84
|
userId: string | number;
|
|
84
85
|
firstName: string;
|
|
85
86
|
lastName: string;
|
|
86
87
|
birthDate: Date;
|
|
87
|
-
email: string;
|
|
88
88
|
idNumber: string;
|
|
89
89
|
phone: string;
|
|
90
90
|
iban: string;
|
|
@@ -98,9 +98,9 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
98
98
|
updatedAt: Date;
|
|
99
99
|
anonymous: boolean;
|
|
100
100
|
lastLoginAt: Date;
|
|
101
|
+
email?: string | null | undefined;
|
|
101
102
|
password?: string | null | undefined;
|
|
102
103
|
firstName?: string | null | undefined;
|
|
103
|
-
email?: string | null | undefined;
|
|
104
104
|
affiliate?: string | null | undefined;
|
|
105
105
|
notificationToken?: string | null | undefined;
|
|
106
106
|
phoneNumber?: string | null | undefined;
|
|
@@ -110,12 +110,12 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
110
110
|
defaultValue?: string | null | undefined;
|
|
111
111
|
}[] | null | undefined;
|
|
112
112
|
customers?: {
|
|
113
|
+
email: string;
|
|
113
114
|
id: string | number;
|
|
114
115
|
userId: string | number;
|
|
115
116
|
firstName: string;
|
|
116
117
|
lastName: string;
|
|
117
118
|
birthDate: Date;
|
|
118
|
-
email: string;
|
|
119
119
|
idNumber: string;
|
|
120
120
|
phone: string;
|
|
121
121
|
iban: string;
|
|
@@ -2,11 +2,14 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const UpdateUserOnPlatformPayloadSchema: z.ZodObject<{
|
|
3
3
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
4
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>>>;
|
|
5
|
+
credentials: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
6
|
}, "strip", z.ZodTypeAny, {
|
|
6
7
|
status?: "ERROR" | "CONNECTED" | "DISCONNECTED" | null | undefined;
|
|
8
|
+
credentials?: string | null | undefined;
|
|
7
9
|
name?: string | null | undefined;
|
|
8
10
|
}, {
|
|
9
11
|
status?: "ERROR" | "CONNECTED" | "DISCONNECTED" | null | undefined;
|
|
12
|
+
credentials?: string | null | undefined;
|
|
10
13
|
name?: string | null | undefined;
|
|
11
14
|
}>;
|
|
12
15
|
export type UpdateUserOnPlatformPayload = z.infer<typeof UpdateUserOnPlatformPayloadSchema>;
|
|
@@ -5,5 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const UserOnPlatformStatus_1 = require("./UserOnPlatformStatus");
|
|
6
6
|
exports.UpdateUserOnPlatformPayloadSchema = zod_1.z.object({
|
|
7
7
|
name: zod_1.z.string().nullish(),
|
|
8
|
-
status: UserOnPlatformStatus_1.UserOnPlatformStatusSchema.nullish()
|
|
8
|
+
status: UserOnPlatformStatus_1.UserOnPlatformStatusSchema.nullish(),
|
|
9
|
+
credentials: zod_1.z.string().nullish()
|
|
9
10
|
});
|
|
@@ -3,6 +3,7 @@ import {UserOnPlatformStatusSchema} from "./UserOnPlatformStatus"
|
|
|
3
3
|
|
|
4
4
|
export const UpdateUserOnPlatformPayloadSchema = z.object({
|
|
5
5
|
name: z.string().nullish(),
|
|
6
|
-
status: UserOnPlatformStatusSchema.nullish()
|
|
6
|
+
status: UserOnPlatformStatusSchema.nullish(),
|
|
7
|
+
credentials: z.string().nullish()
|
|
7
8
|
})
|
|
8
9
|
export type UpdateUserOnPlatformPayload = z.infer<typeof UpdateUserOnPlatformPayloadSchema>
|
package/src/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ export * from "./com/controlresell/models/application/ControlResellEnvironment";
|
|
|
2
2
|
export * from "./com/controlresell/models/application/RabbitMQRoutingKey";
|
|
3
3
|
export * from "./com/controlresell/models/application/Versions";
|
|
4
4
|
export * from "./com/controlresell/models/auth/AuthToken";
|
|
5
|
+
export * from "./com/controlresell/models/auth/LoginPayload";
|
|
5
6
|
export * from "./com/controlresell/models/auth/RefreshTokenPayload";
|
|
7
|
+
export * from "./com/controlresell/models/auth/RegisterPayload";
|
|
6
8
|
export * from "./com/controlresell/models/auth/SwitchAccountPayload";
|
|
7
9
|
export * from "./com/controlresell/models/catalogs/Catalog";
|
|
8
10
|
export * from "./com/controlresell/models/catalogs/CatalogRoot";
|
|
@@ -60,6 +62,8 @@ export * from "./com/controlresell/models/metadata/places/Place";
|
|
|
60
62
|
export * from "./com/controlresell/models/metadata/sizes/Size";
|
|
61
63
|
export * from "./com/controlresell/models/metadata/statuses/Status";
|
|
62
64
|
export * from "./com/controlresell/models/platforms/conversations/Conversation";
|
|
65
|
+
export * from "./com/controlresell/models/platforms/conversations/CreateConversationPayload";
|
|
66
|
+
export * from "./com/controlresell/models/platforms/conversations/UpdateConversationPayload";
|
|
63
67
|
export * from "./com/controlresell/models/platforms/labels/CreateOrderLabelPayload";
|
|
64
68
|
export * from "./com/controlresell/models/platforms/labels/OrderLabel";
|
|
65
69
|
export * from "./com/controlresell/models/platforms/orders/CreateOrderPayload";
|
|
@@ -67,6 +71,7 @@ export * from "./com/controlresell/models/platforms/orders/Order";
|
|
|
67
71
|
export * from "./com/controlresell/models/platforms/orders/UpdateOrderPayload";
|
|
68
72
|
export * from "./com/controlresell/models/platforms/orders/items/CreateItemInOrderPayload";
|
|
69
73
|
export * from "./com/controlresell/models/platforms/orders/items/ItemInOrder";
|
|
74
|
+
export * from "./com/controlresell/models/users/CreateUserPayload";
|
|
70
75
|
export * from "./com/controlresell/models/users/GettingStartedSteps";
|
|
71
76
|
export * from "./com/controlresell/models/users/UpdateUserPayload";
|
|
72
77
|
export * from "./com/controlresell/models/users/User";
|
package/src/index.js
CHANGED
|
@@ -18,7 +18,9 @@ __exportStar(require("./com/controlresell/models/application/ControlResellEnviro
|
|
|
18
18
|
__exportStar(require("./com/controlresell/models/application/RabbitMQRoutingKey"), exports);
|
|
19
19
|
__exportStar(require("./com/controlresell/models/application/Versions"), exports);
|
|
20
20
|
__exportStar(require("./com/controlresell/models/auth/AuthToken"), exports);
|
|
21
|
+
__exportStar(require("./com/controlresell/models/auth/LoginPayload"), exports);
|
|
21
22
|
__exportStar(require("./com/controlresell/models/auth/RefreshTokenPayload"), exports);
|
|
23
|
+
__exportStar(require("./com/controlresell/models/auth/RegisterPayload"), exports);
|
|
22
24
|
__exportStar(require("./com/controlresell/models/auth/SwitchAccountPayload"), exports);
|
|
23
25
|
__exportStar(require("./com/controlresell/models/catalogs/Catalog"), exports);
|
|
24
26
|
__exportStar(require("./com/controlresell/models/catalogs/CatalogRoot"), exports);
|
|
@@ -76,6 +78,8 @@ __exportStar(require("./com/controlresell/models/metadata/places/Place"), export
|
|
|
76
78
|
__exportStar(require("./com/controlresell/models/metadata/sizes/Size"), exports);
|
|
77
79
|
__exportStar(require("./com/controlresell/models/metadata/statuses/Status"), exports);
|
|
78
80
|
__exportStar(require("./com/controlresell/models/platforms/conversations/Conversation"), exports);
|
|
81
|
+
__exportStar(require("./com/controlresell/models/platforms/conversations/CreateConversationPayload"), exports);
|
|
82
|
+
__exportStar(require("./com/controlresell/models/platforms/conversations/UpdateConversationPayload"), exports);
|
|
79
83
|
__exportStar(require("./com/controlresell/models/platforms/labels/CreateOrderLabelPayload"), exports);
|
|
80
84
|
__exportStar(require("./com/controlresell/models/platforms/labels/OrderLabel"), exports);
|
|
81
85
|
__exportStar(require("./com/controlresell/models/platforms/orders/CreateOrderPayload"), exports);
|
|
@@ -83,6 +87,7 @@ __exportStar(require("./com/controlresell/models/platforms/orders/Order"), expor
|
|
|
83
87
|
__exportStar(require("./com/controlresell/models/platforms/orders/UpdateOrderPayload"), exports);
|
|
84
88
|
__exportStar(require("./com/controlresell/models/platforms/orders/items/CreateItemInOrderPayload"), exports);
|
|
85
89
|
__exportStar(require("./com/controlresell/models/platforms/orders/items/ItemInOrder"), exports);
|
|
90
|
+
__exportStar(require("./com/controlresell/models/users/CreateUserPayload"), exports);
|
|
86
91
|
__exportStar(require("./com/controlresell/models/users/GettingStartedSteps"), exports);
|
|
87
92
|
__exportStar(require("./com/controlresell/models/users/UpdateUserPayload"), exports);
|
|
88
93
|
__exportStar(require("./com/controlresell/models/users/User"), exports);
|
package/src/index.ts
CHANGED
|
@@ -2,7 +2,9 @@ export * from "./com/controlresell/models/application/ControlResellEnvironment"
|
|
|
2
2
|
export * from "./com/controlresell/models/application/RabbitMQRoutingKey"
|
|
3
3
|
export * from "./com/controlresell/models/application/Versions"
|
|
4
4
|
export * from "./com/controlresell/models/auth/AuthToken"
|
|
5
|
+
export * from "./com/controlresell/models/auth/LoginPayload"
|
|
5
6
|
export * from "./com/controlresell/models/auth/RefreshTokenPayload"
|
|
7
|
+
export * from "./com/controlresell/models/auth/RegisterPayload"
|
|
6
8
|
export * from "./com/controlresell/models/auth/SwitchAccountPayload"
|
|
7
9
|
export * from "./com/controlresell/models/catalogs/Catalog"
|
|
8
10
|
export * from "./com/controlresell/models/catalogs/CatalogRoot"
|
|
@@ -60,6 +62,8 @@ export * from "./com/controlresell/models/metadata/places/Place"
|
|
|
60
62
|
export * from "./com/controlresell/models/metadata/sizes/Size"
|
|
61
63
|
export * from "./com/controlresell/models/metadata/statuses/Status"
|
|
62
64
|
export * from "./com/controlresell/models/platforms/conversations/Conversation"
|
|
65
|
+
export * from "./com/controlresell/models/platforms/conversations/CreateConversationPayload"
|
|
66
|
+
export * from "./com/controlresell/models/platforms/conversations/UpdateConversationPayload"
|
|
63
67
|
export * from "./com/controlresell/models/platforms/labels/CreateOrderLabelPayload"
|
|
64
68
|
export * from "./com/controlresell/models/platforms/labels/OrderLabel"
|
|
65
69
|
export * from "./com/controlresell/models/platforms/orders/CreateOrderPayload"
|
|
@@ -67,6 +71,7 @@ export * from "./com/controlresell/models/platforms/orders/Order"
|
|
|
67
71
|
export * from "./com/controlresell/models/platforms/orders/UpdateOrderPayload"
|
|
68
72
|
export * from "./com/controlresell/models/platforms/orders/items/CreateItemInOrderPayload"
|
|
69
73
|
export * from "./com/controlresell/models/platforms/orders/items/ItemInOrder"
|
|
74
|
+
export * from "./com/controlresell/models/users/CreateUserPayload"
|
|
70
75
|
export * from "./com/controlresell/models/users/GettingStartedSteps"
|
|
71
76
|
export * from "./com/controlresell/models/users/UpdateUserPayload"
|
|
72
77
|
export * from "./com/controlresell/models/users/User"
|