expo-backend-types 0.6.0-EXPO-286-EB-Location.2 → 0.6.0-EXPO-286-EB-Location.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/canned-response/dto/canned-response.dto.d.ts +42 -0
- package/dist/src/canned-response/dto/canned-response.dto.js +23 -0
- package/dist/src/canned-response/dto/create-canned-response.dto.d.ts +66 -0
- package/dist/src/canned-response/dto/create-canned-response.dto.js +17 -0
- package/dist/src/canned-response/dto/delete-canned-response.dto.d.ts +41 -0
- package/dist/src/canned-response/dto/delete-canned-response.dto.js +10 -0
- package/dist/src/canned-response/dto/get-all-canned-response.dto.d.ts +78 -0
- package/dist/src/canned-response/dto/get-all-canned-response.dto.js +16 -0
- package/dist/src/canned-response/dto/update-canned-response.dto.d.ts +66 -0
- package/dist/src/canned-response/dto/update-canned-response.dto.js +17 -0
- package/dist/src/canned-response/exports.d.ts +5 -0
- package/dist/src/canned-response/exports.js +22 -0
- package/dist/src/comment/dto/comment.dto.d.ts +3 -3
- package/dist/src/comment/dto/create-comment.dto.d.ts +3 -3
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +5 -5
- package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +3 -3
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +31 -0
- package/dist/src/i18n/es.js +31 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -2
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +10 -10
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +10 -10
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/schema.d.ts +220 -2
- package/package.json +1 -1
@@ -0,0 +1,42 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const cannedResponseSchema: z.ZodObject<{
|
3
|
+
id: z.ZodString;
|
4
|
+
name: z.ZodString;
|
5
|
+
content: z.ZodString;
|
6
|
+
created_at: z.ZodDate;
|
7
|
+
updated_at: z.ZodDate;
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
9
|
+
id: string;
|
10
|
+
name: string;
|
11
|
+
content: string;
|
12
|
+
created_at: Date;
|
13
|
+
updated_at: Date;
|
14
|
+
}, {
|
15
|
+
id: string;
|
16
|
+
name: string;
|
17
|
+
content: string;
|
18
|
+
created_at: Date;
|
19
|
+
updated_at: Date;
|
20
|
+
}>;
|
21
|
+
declare const CannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
22
|
+
id: z.ZodString;
|
23
|
+
name: z.ZodString;
|
24
|
+
content: z.ZodString;
|
25
|
+
created_at: z.ZodString;
|
26
|
+
updated_at: z.ZodString;
|
27
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
28
|
+
id: string;
|
29
|
+
name: string;
|
30
|
+
content: string;
|
31
|
+
created_at: string;
|
32
|
+
updated_at: string;
|
33
|
+
}, {
|
34
|
+
id: string;
|
35
|
+
name: string;
|
36
|
+
content: string;
|
37
|
+
created_at: string;
|
38
|
+
updated_at: string;
|
39
|
+
}>>;
|
40
|
+
export declare class CannedResponseDto extends CannedResponseDto_base {
|
41
|
+
}
|
42
|
+
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CannedResponseDto = exports.cannedResponseSchema = void 0;
|
4
|
+
const translate_1 = require("../../i18n/translate");
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
+
const zod_1 = require("zod");
|
7
|
+
exports.cannedResponseSchema = zod_1.z.object({
|
8
|
+
id: zod_1.z.string().uuid({
|
9
|
+
message: (0, translate_1.translate)('model.canned-response.id.uuid'),
|
10
|
+
}),
|
11
|
+
name: zod_1.z.string().min(1, {
|
12
|
+
message: (0, translate_1.translate)('model.canned-response.name.min'),
|
13
|
+
}),
|
14
|
+
content: zod_1.z.string().min(1, {
|
15
|
+
message: (0, translate_1.translate)('model.canned-response.content.min'),
|
16
|
+
}),
|
17
|
+
created_at: zod_1.z.date(),
|
18
|
+
updated_at: zod_1.z.date(),
|
19
|
+
});
|
20
|
+
class CannedResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.cannedResponseSchema) {
|
21
|
+
}
|
22
|
+
exports.CannedResponseDto = CannedResponseDto;
|
23
|
+
//# sourceMappingURL=canned-response.dto.js.map
|
@@ -0,0 +1,66 @@
|
|
1
|
+
export declare const createCannedResponseSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
content: import("zod").ZodString;
|
5
|
+
created_at: import("zod").ZodDate;
|
6
|
+
updated_at: import("zod").ZodDate;
|
7
|
+
}, "name" | "content">, "strip", import("zod").ZodTypeAny, {
|
8
|
+
name: string;
|
9
|
+
content: string;
|
10
|
+
}, {
|
11
|
+
name: string;
|
12
|
+
content: string;
|
13
|
+
}>;
|
14
|
+
declare const CreateCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
15
|
+
name: import("zod").ZodString;
|
16
|
+
content: import("zod").ZodString;
|
17
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
18
|
+
name: string;
|
19
|
+
content: string;
|
20
|
+
}, {
|
21
|
+
name: string;
|
22
|
+
content: string;
|
23
|
+
}>>;
|
24
|
+
export declare class CreateCannedResponseDto extends CreateCannedResponseDto_base {
|
25
|
+
}
|
26
|
+
export declare const createCannedResponseResponseSchema: import("zod").ZodObject<{
|
27
|
+
id: import("zod").ZodString;
|
28
|
+
name: import("zod").ZodString;
|
29
|
+
content: import("zod").ZodString;
|
30
|
+
created_at: import("zod").ZodDate;
|
31
|
+
updated_at: import("zod").ZodDate;
|
32
|
+
}, "strip", import("zod").ZodTypeAny, {
|
33
|
+
id: string;
|
34
|
+
name: string;
|
35
|
+
content: string;
|
36
|
+
created_at: Date;
|
37
|
+
updated_at: Date;
|
38
|
+
}, {
|
39
|
+
id: string;
|
40
|
+
name: string;
|
41
|
+
content: string;
|
42
|
+
created_at: Date;
|
43
|
+
updated_at: Date;
|
44
|
+
}>;
|
45
|
+
declare const CreateCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
46
|
+
id: import("zod").ZodString;
|
47
|
+
name: import("zod").ZodString;
|
48
|
+
content: import("zod").ZodString;
|
49
|
+
created_at: import("zod").ZodString;
|
50
|
+
updated_at: import("zod").ZodString;
|
51
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
52
|
+
id: string;
|
53
|
+
name: string;
|
54
|
+
content: string;
|
55
|
+
created_at: string;
|
56
|
+
updated_at: string;
|
57
|
+
}, {
|
58
|
+
id: string;
|
59
|
+
name: string;
|
60
|
+
content: string;
|
61
|
+
created_at: string;
|
62
|
+
updated_at: string;
|
63
|
+
}>>;
|
64
|
+
export declare class CreateCannedResponseResponseDto extends CreateCannedResponseResponseDto_base {
|
65
|
+
}
|
66
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateCannedResponseResponseDto = exports.createCannedResponseResponseSchema = exports.CreateCannedResponseDto = exports.createCannedResponseSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const canned_response_dto_1 = require("./canned-response.dto");
|
6
|
+
exports.createCannedResponseSchema = canned_response_dto_1.cannedResponseSchema.pick({
|
7
|
+
name: true,
|
8
|
+
content: true,
|
9
|
+
});
|
10
|
+
class CreateCannedResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createCannedResponseSchema) {
|
11
|
+
}
|
12
|
+
exports.CreateCannedResponseDto = CreateCannedResponseDto;
|
13
|
+
exports.createCannedResponseResponseSchema = canned_response_dto_1.cannedResponseSchema;
|
14
|
+
class CreateCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createCannedResponseResponseSchema) {
|
15
|
+
}
|
16
|
+
exports.CreateCannedResponseResponseDto = CreateCannedResponseResponseDto;
|
17
|
+
//# sourceMappingURL=create-canned-response.dto.js.map
|
@@ -0,0 +1,41 @@
|
|
1
|
+
export declare const deleteCannedResponseResponseSchema: import("zod").ZodObject<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
content: import("zod").ZodString;
|
5
|
+
created_at: import("zod").ZodDate;
|
6
|
+
updated_at: import("zod").ZodDate;
|
7
|
+
}, "strip", import("zod").ZodTypeAny, {
|
8
|
+
id: string;
|
9
|
+
name: string;
|
10
|
+
content: string;
|
11
|
+
created_at: Date;
|
12
|
+
updated_at: Date;
|
13
|
+
}, {
|
14
|
+
id: string;
|
15
|
+
name: string;
|
16
|
+
content: string;
|
17
|
+
created_at: Date;
|
18
|
+
updated_at: Date;
|
19
|
+
}>;
|
20
|
+
declare const DeleteCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
21
|
+
id: import("zod").ZodString;
|
22
|
+
name: import("zod").ZodString;
|
23
|
+
content: import("zod").ZodString;
|
24
|
+
created_at: import("zod").ZodString;
|
25
|
+
updated_at: import("zod").ZodString;
|
26
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
27
|
+
id: string;
|
28
|
+
name: string;
|
29
|
+
content: string;
|
30
|
+
created_at: string;
|
31
|
+
updated_at: string;
|
32
|
+
}, {
|
33
|
+
id: string;
|
34
|
+
name: string;
|
35
|
+
content: string;
|
36
|
+
created_at: string;
|
37
|
+
updated_at: string;
|
38
|
+
}>>;
|
39
|
+
export declare class DeleteCannedResponseResponseDto extends DeleteCannedResponseResponseDto_base {
|
40
|
+
}
|
41
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeleteCannedResponseResponseDto = exports.deleteCannedResponseResponseSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const canned_response_dto_1 = require("./canned-response.dto");
|
6
|
+
exports.deleteCannedResponseResponseSchema = canned_response_dto_1.cannedResponseSchema;
|
7
|
+
class DeleteCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteCannedResponseResponseSchema) {
|
8
|
+
}
|
9
|
+
exports.DeleteCannedResponseResponseDto = DeleteCannedResponseResponseDto;
|
10
|
+
//# sourceMappingURL=delete-canned-response.dto.js.map
|
@@ -0,0 +1,78 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const getAllCannedResponseResponseSchema: z.ZodObject<{
|
3
|
+
cannedResponses: z.ZodArray<z.ZodObject<{
|
4
|
+
id: z.ZodString;
|
5
|
+
name: z.ZodString;
|
6
|
+
content: z.ZodString;
|
7
|
+
created_at: z.ZodDate;
|
8
|
+
updated_at: z.ZodDate;
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
10
|
+
id: string;
|
11
|
+
name: string;
|
12
|
+
content: string;
|
13
|
+
created_at: Date;
|
14
|
+
updated_at: Date;
|
15
|
+
}, {
|
16
|
+
id: string;
|
17
|
+
name: string;
|
18
|
+
content: string;
|
19
|
+
created_at: Date;
|
20
|
+
updated_at: Date;
|
21
|
+
}>, "many">;
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
23
|
+
cannedResponses: {
|
24
|
+
id: string;
|
25
|
+
name: string;
|
26
|
+
content: string;
|
27
|
+
created_at: Date;
|
28
|
+
updated_at: Date;
|
29
|
+
}[];
|
30
|
+
}, {
|
31
|
+
cannedResponses: {
|
32
|
+
id: string;
|
33
|
+
name: string;
|
34
|
+
content: string;
|
35
|
+
created_at: Date;
|
36
|
+
updated_at: Date;
|
37
|
+
}[];
|
38
|
+
}>;
|
39
|
+
declare const GetAllCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
40
|
+
cannedResponses: z.ZodArray<z.ZodObject<{
|
41
|
+
id: z.ZodString;
|
42
|
+
name: z.ZodString;
|
43
|
+
content: z.ZodString;
|
44
|
+
created_at: z.ZodString;
|
45
|
+
updated_at: z.ZodString;
|
46
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
47
|
+
id: string;
|
48
|
+
name: string;
|
49
|
+
content: string;
|
50
|
+
created_at: string;
|
51
|
+
updated_at: string;
|
52
|
+
}, {
|
53
|
+
id: string;
|
54
|
+
name: string;
|
55
|
+
content: string;
|
56
|
+
created_at: string;
|
57
|
+
updated_at: string;
|
58
|
+
}>, "many">;
|
59
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
60
|
+
cannedResponses: {
|
61
|
+
id: string;
|
62
|
+
name: string;
|
63
|
+
content: string;
|
64
|
+
created_at: string;
|
65
|
+
updated_at: string;
|
66
|
+
}[];
|
67
|
+
}, {
|
68
|
+
cannedResponses: {
|
69
|
+
id: string;
|
70
|
+
name: string;
|
71
|
+
content: string;
|
72
|
+
created_at: string;
|
73
|
+
updated_at: string;
|
74
|
+
}[];
|
75
|
+
}>>;
|
76
|
+
export declare class GetAllCannedResponseResponseDto extends GetAllCannedResponseResponseDto_base {
|
77
|
+
}
|
78
|
+
export {};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.GetAllCannedResponseResponseDto = exports.getAllCannedResponseResponseSchema = void 0;
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
+
const zod_1 = __importDefault(require("zod"));
|
9
|
+
const canned_response_dto_1 = require("./canned-response.dto");
|
10
|
+
exports.getAllCannedResponseResponseSchema = zod_1.default.object({
|
11
|
+
cannedResponses: zod_1.default.array(canned_response_dto_1.cannedResponseSchema),
|
12
|
+
});
|
13
|
+
class GetAllCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllCannedResponseResponseSchema) {
|
14
|
+
}
|
15
|
+
exports.GetAllCannedResponseResponseDto = GetAllCannedResponseResponseDto;
|
16
|
+
//# sourceMappingURL=get-all-canned-response.dto.js.map
|
@@ -0,0 +1,66 @@
|
|
1
|
+
export declare const updateCannedResponseSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
content: import("zod").ZodString;
|
5
|
+
created_at: import("zod").ZodDate;
|
6
|
+
updated_at: import("zod").ZodDate;
|
7
|
+
}, "name" | "content">, "strip", import("zod").ZodTypeAny, {
|
8
|
+
name: string;
|
9
|
+
content: string;
|
10
|
+
}, {
|
11
|
+
name: string;
|
12
|
+
content: string;
|
13
|
+
}>;
|
14
|
+
declare const UpdateCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
15
|
+
name: import("zod").ZodString;
|
16
|
+
content: import("zod").ZodString;
|
17
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
18
|
+
name: string;
|
19
|
+
content: string;
|
20
|
+
}, {
|
21
|
+
name: string;
|
22
|
+
content: string;
|
23
|
+
}>>;
|
24
|
+
export declare class UpdateCannedResponseDto extends UpdateCannedResponseDto_base {
|
25
|
+
}
|
26
|
+
export declare const updateCannedResponseResponseSchema: import("zod").ZodObject<{
|
27
|
+
id: import("zod").ZodString;
|
28
|
+
name: import("zod").ZodString;
|
29
|
+
content: import("zod").ZodString;
|
30
|
+
created_at: import("zod").ZodDate;
|
31
|
+
updated_at: import("zod").ZodDate;
|
32
|
+
}, "strip", import("zod").ZodTypeAny, {
|
33
|
+
id: string;
|
34
|
+
name: string;
|
35
|
+
content: string;
|
36
|
+
created_at: Date;
|
37
|
+
updated_at: Date;
|
38
|
+
}, {
|
39
|
+
id: string;
|
40
|
+
name: string;
|
41
|
+
content: string;
|
42
|
+
created_at: Date;
|
43
|
+
updated_at: Date;
|
44
|
+
}>;
|
45
|
+
declare const UpdateCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
46
|
+
id: import("zod").ZodString;
|
47
|
+
name: import("zod").ZodString;
|
48
|
+
content: import("zod").ZodString;
|
49
|
+
created_at: import("zod").ZodString;
|
50
|
+
updated_at: import("zod").ZodString;
|
51
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
52
|
+
id: string;
|
53
|
+
name: string;
|
54
|
+
content: string;
|
55
|
+
created_at: string;
|
56
|
+
updated_at: string;
|
57
|
+
}, {
|
58
|
+
id: string;
|
59
|
+
name: string;
|
60
|
+
content: string;
|
61
|
+
created_at: string;
|
62
|
+
updated_at: string;
|
63
|
+
}>>;
|
64
|
+
export declare class UpdateCannedResponseResponseDto extends UpdateCannedResponseResponseDto_base {
|
65
|
+
}
|
66
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateCannedResponseResponseDto = exports.updateCannedResponseResponseSchema = exports.UpdateCannedResponseDto = exports.updateCannedResponseSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const canned_response_dto_1 = require("./canned-response.dto");
|
6
|
+
exports.updateCannedResponseSchema = canned_response_dto_1.cannedResponseSchema.pick({
|
7
|
+
name: true,
|
8
|
+
content: true,
|
9
|
+
});
|
10
|
+
class UpdateCannedResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateCannedResponseSchema) {
|
11
|
+
}
|
12
|
+
exports.UpdateCannedResponseDto = UpdateCannedResponseDto;
|
13
|
+
exports.updateCannedResponseResponseSchema = canned_response_dto_1.cannedResponseSchema;
|
14
|
+
class UpdateCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateCannedResponseResponseSchema) {
|
15
|
+
}
|
16
|
+
exports.UpdateCannedResponseResponseDto = UpdateCannedResponseResponseDto;
|
17
|
+
//# sourceMappingURL=update-canned-response.dto.js.map
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dto/canned-response.dto"), exports);
|
18
|
+
__exportStar(require("./dto/create-canned-response.dto"), exports);
|
19
|
+
__exportStar(require("./dto/delete-canned-response.dto"), exports);
|
20
|
+
__exportStar(require("./dto/get-all-canned-response.dto"), exports);
|
21
|
+
__exportStar(require("./dto/update-canned-response.dto"), exports);
|
22
|
+
//# sourceMappingURL=exports.js.map
|
@@ -40,7 +40,7 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
|
|
40
40
|
profileId: z.ZodString;
|
41
41
|
isSolvable: z.ZodDefault<z.ZodBoolean>;
|
42
42
|
isSolved: z.ZodDefault<z.ZodBoolean>;
|
43
|
-
solvedAt: z.ZodNullable<z.
|
43
|
+
solvedAt: z.ZodNullable<z.ZodString>;
|
44
44
|
solvedBy: z.ZodOptional<z.ZodString>;
|
45
45
|
created_at: z.ZodString;
|
46
46
|
updated_at: z.ZodString;
|
@@ -53,7 +53,7 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
|
|
53
53
|
createdBy: string;
|
54
54
|
profileId: string;
|
55
55
|
isSolved: boolean;
|
56
|
-
solvedAt:
|
56
|
+
solvedAt: string | null;
|
57
57
|
solvedBy?: string | undefined;
|
58
58
|
}, {
|
59
59
|
id: string;
|
@@ -62,7 +62,7 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
|
|
62
62
|
updated_at: string;
|
63
63
|
createdBy: string;
|
64
64
|
profileId: string;
|
65
|
-
solvedAt:
|
65
|
+
solvedAt: string | null;
|
66
66
|
isSolvable?: boolean | undefined;
|
67
67
|
isSolved?: boolean | undefined;
|
68
68
|
solvedBy?: string | undefined;
|
@@ -74,7 +74,7 @@ declare const CreateCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
74
74
|
profileId: import("zod").ZodString;
|
75
75
|
isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
76
76
|
isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
77
|
-
solvedAt: import("zod").ZodNullable<import("zod").
|
77
|
+
solvedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
78
78
|
solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
79
79
|
created_at: import("zod").ZodString;
|
80
80
|
updated_at: import("zod").ZodString;
|
@@ -87,7 +87,7 @@ declare const CreateCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
87
87
|
createdBy: string;
|
88
88
|
profileId: string;
|
89
89
|
isSolved: boolean;
|
90
|
-
solvedAt:
|
90
|
+
solvedAt: string | null;
|
91
91
|
solvedBy?: string | undefined;
|
92
92
|
}, {
|
93
93
|
id: string;
|
@@ -96,7 +96,7 @@ declare const CreateCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
96
96
|
updated_at: string;
|
97
97
|
createdBy: string;
|
98
98
|
profileId: string;
|
99
|
-
solvedAt:
|
99
|
+
solvedAt: string | null;
|
100
100
|
isSolvable?: boolean | undefined;
|
101
101
|
isSolved?: boolean | undefined;
|
102
102
|
solvedBy?: string | undefined;
|
@@ -99,7 +99,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
|
|
99
99
|
profileId: z.ZodString;
|
100
100
|
isSolvable: z.ZodDefault<z.ZodBoolean>;
|
101
101
|
isSolved: z.ZodDefault<z.ZodBoolean>;
|
102
|
-
solvedAt: z.ZodNullable<z.
|
102
|
+
solvedAt: z.ZodNullable<z.ZodString>;
|
103
103
|
solvedBy: z.ZodOptional<z.ZodString>;
|
104
104
|
created_at: z.ZodString;
|
105
105
|
updated_at: z.ZodString;
|
@@ -122,7 +122,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
|
|
122
122
|
createdBy: string;
|
123
123
|
profileId: string;
|
124
124
|
isSolved: boolean;
|
125
|
-
solvedAt:
|
125
|
+
solvedAt: string | null;
|
126
126
|
solvedBy?: string | undefined;
|
127
127
|
}, {
|
128
128
|
account: {
|
@@ -134,7 +134,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
|
|
134
134
|
updated_at: string;
|
135
135
|
createdBy: string;
|
136
136
|
profileId: string;
|
137
|
-
solvedAt:
|
137
|
+
solvedAt: string | null;
|
138
138
|
isSolvable?: boolean | undefined;
|
139
139
|
isSolved?: boolean | undefined;
|
140
140
|
solvedBy?: string | undefined;
|
@@ -152,7 +152,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
|
|
152
152
|
createdBy: string;
|
153
153
|
profileId: string;
|
154
154
|
isSolved: boolean;
|
155
|
-
solvedAt:
|
155
|
+
solvedAt: string | null;
|
156
156
|
solvedBy?: string | undefined;
|
157
157
|
}[];
|
158
158
|
}, {
|
@@ -166,7 +166,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
|
|
166
166
|
updated_at: string;
|
167
167
|
createdBy: string;
|
168
168
|
profileId: string;
|
169
|
-
solvedAt:
|
169
|
+
solvedAt: string | null;
|
170
170
|
isSolvable?: boolean | undefined;
|
171
171
|
isSolved?: boolean | undefined;
|
172
172
|
solvedBy?: string | undefined;
|
@@ -39,7 +39,7 @@ declare const ToggleSolveCommentResponseDto_base: import("@anatine/zod-nestjs").
|
|
39
39
|
profileId: import("zod").ZodString;
|
40
40
|
isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
41
41
|
isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
42
|
-
solvedAt: import("zod").ZodNullable<import("zod").
|
42
|
+
solvedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
43
43
|
solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
44
44
|
created_at: import("zod").ZodString;
|
45
45
|
updated_at: import("zod").ZodString;
|
@@ -52,7 +52,7 @@ declare const ToggleSolveCommentResponseDto_base: import("@anatine/zod-nestjs").
|
|
52
52
|
createdBy: string;
|
53
53
|
profileId: string;
|
54
54
|
isSolved: boolean;
|
55
|
-
solvedAt:
|
55
|
+
solvedAt: string | null;
|
56
56
|
solvedBy?: string | undefined;
|
57
57
|
}, {
|
58
58
|
id: string;
|
@@ -61,7 +61,7 @@ declare const ToggleSolveCommentResponseDto_base: import("@anatine/zod-nestjs").
|
|
61
61
|
updated_at: string;
|
62
62
|
createdBy: string;
|
63
63
|
profileId: string;
|
64
|
-
solvedAt:
|
64
|
+
solvedAt: string | null;
|
65
65
|
isSolvable?: boolean | undefined;
|
66
66
|
isSolved?: boolean | undefined;
|
67
67
|
solvedBy?: string | undefined;
|
package/dist/src/exports.d.ts
CHANGED
package/dist/src/exports.js
CHANGED
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./account/exports"), exports);
|
18
18
|
__exportStar(require("./auth/exports"), exports);
|
19
|
+
__exportStar(require("./canned-response/exports"), exports);
|
19
20
|
__exportStar(require("./comment/exports"), exports);
|
20
21
|
__exportStar(require("./event-folder/exports"), exports);
|
21
22
|
__exportStar(require("./event/exports"), exports);
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -123,6 +123,19 @@ declare const _default: {
|
|
123
123
|
readonly minmax: "La longitud debe estar entre -180 y 180";
|
124
124
|
};
|
125
125
|
};
|
126
|
+
readonly 'canned-response': {
|
127
|
+
readonly id: {
|
128
|
+
readonly uuid: "El ID debe ser un UUID";
|
129
|
+
};
|
130
|
+
readonly name: {
|
131
|
+
readonly required: "El nombre es requerido";
|
132
|
+
readonly min: "El nombre debe tener al menos 1 caracter";
|
133
|
+
};
|
134
|
+
readonly content: {
|
135
|
+
readonly required: "El contenido es requerido";
|
136
|
+
readonly min: "El contenido debe tener al menos 1 caracter";
|
137
|
+
};
|
138
|
+
};
|
126
139
|
};
|
127
140
|
readonly route: {
|
128
141
|
readonly auth: {
|
@@ -236,6 +249,24 @@ declare const _default: {
|
|
236
249
|
readonly 'not-found': "País no encontrado";
|
237
250
|
};
|
238
251
|
};
|
252
|
+
readonly 'canned-response': {
|
253
|
+
readonly create: {
|
254
|
+
readonly success: "Respuesta enlatada creada con éxito";
|
255
|
+
readonly conflict: "Error en la creacion de la respuesta";
|
256
|
+
};
|
257
|
+
readonly 'get-all': {
|
258
|
+
readonly success: "Respuestas enlatadas obtenidas con éxito";
|
259
|
+
readonly 'not-found': "No se encontraron respuestas enlatadas";
|
260
|
+
};
|
261
|
+
readonly update: {
|
262
|
+
readonly success: "Respuesta enlatada actualizada con éxito";
|
263
|
+
readonly 'not-found': "Respuesta enlatada no encontrada";
|
264
|
+
};
|
265
|
+
readonly delete: {
|
266
|
+
readonly success: "Respuesta enlatada eliminada con éxito";
|
267
|
+
readonly 'not-found': "Respuesta enlatada no encontrada";
|
268
|
+
};
|
269
|
+
};
|
239
270
|
};
|
240
271
|
};
|
241
272
|
export default _default;
|
package/dist/src/i18n/es.js
CHANGED
@@ -125,6 +125,19 @@ exports.default = {
|
|
125
125
|
minmax: 'La longitud debe estar entre -180 y 180',
|
126
126
|
},
|
127
127
|
},
|
128
|
+
'canned-response': {
|
129
|
+
id: {
|
130
|
+
uuid: 'El ID debe ser un UUID',
|
131
|
+
},
|
132
|
+
name: {
|
133
|
+
required: 'El nombre es requerido',
|
134
|
+
min: 'El nombre debe tener al menos 1 caracter',
|
135
|
+
},
|
136
|
+
content: {
|
137
|
+
required: 'El contenido es requerido',
|
138
|
+
min: 'El contenido debe tener al menos 1 caracter',
|
139
|
+
},
|
140
|
+
},
|
128
141
|
},
|
129
142
|
route: {
|
130
143
|
auth: {
|
@@ -238,6 +251,24 @@ exports.default = {
|
|
238
251
|
'not-found': 'País no encontrado',
|
239
252
|
},
|
240
253
|
},
|
254
|
+
'canned-response': {
|
255
|
+
create: {
|
256
|
+
success: 'Respuesta enlatada creada con éxito',
|
257
|
+
conflict: 'Error en la creacion de la respuesta',
|
258
|
+
},
|
259
|
+
'get-all': {
|
260
|
+
success: 'Respuestas enlatadas obtenidas con éxito',
|
261
|
+
'not-found': 'No se encontraron respuestas enlatadas',
|
262
|
+
},
|
263
|
+
update: {
|
264
|
+
success: 'Respuesta enlatada actualizada con éxito',
|
265
|
+
'not-found': 'Respuesta enlatada no encontrada',
|
266
|
+
},
|
267
|
+
delete: {
|
268
|
+
success: 'Respuesta enlatada eliminada con éxito',
|
269
|
+
'not-found': 'Respuesta enlatada no encontrada',
|
270
|
+
},
|
271
|
+
},
|
241
272
|
},
|
242
273
|
};
|
243
274
|
//# sourceMappingURL=es.js.map
|
package/dist/src/i18n/es.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,oBAAoB;YACpC,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ,EAAE,+FAA+F;QACzG,WAAW,EAAE,oGAAoG;KAClH;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,OAAO,EAAE;gBACP,GAAG,EAAE,6CAA6C;aACnD;YACD,UAAU,EAAE;gBACV,QAAQ,EAAE,4CAA4C;aACvD;SACF;QACD,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,QAAQ,EAAE,oBAAoB;gBAC9B,IAAI,EAAE,wBAAwB;aAC/B;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,mCAAmC;aAC9C;YACD,KAAK,EAAE;gBACL,QAAQ,EAAE,uBAAuB;gBACjC,KAAK,EAAE,mCAAmC;aAC3C;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,4BAA4B;gBACtC,GAAG,EAAE,gDAAgD;aACtD;YACD,IAAI,EAAE;gBACJ,QAAQ,EAAE,qBAAqB;gBAC/B,OAAO,EAAE,oBAAoB;aAC9B;SACF;QACD,GAAG,EAAE;YACH,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,IAAI,EAAE;gBACJ,QAAQ,EAAE,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AA0B;gBACvC,QAAQ,EAAE,+BAA+B;aAC1C;SACF;QACD,QAAQ,EAAE;YACR,UAAU,EAAE;gBACV,OAAO,EAAE,uBAAuB;aACjC;YACD,0BAA0B,EAAE;gBAC1B,OAAO,EAAE,oCAAoC;gBAC7C,WAAW,EAAE,4CAA4C;aAC1D;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE,mCAAmC;aAC7C;YACD,eAAe,EAAE;gBACf,OAAO,EAAE,kBAAkB;aAC5B;YACD,mBAAmB,EAAE;gBACnB,OAAO,EAAE,mBAAmB;gBAC5B,iBAAiB,EAAE,4DAA4D;gBAC/E,WAAW,EAAE,oBAAoB;aAClC;SACF;QACD,iBAAiB,EAAE;YACjB,MAAM,EAAE;gBACN,OAAO,EAAE,qCAAqC;gBAC9C,QAAQ,EAAE,sCAAsC;aACjD;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,0CAA0C;gBACnD,WAAW,EAAE,wCAAwC;aACtD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,0CAA0C;gBACnD,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,wCAAwC;gBACjD,WAAW,EAAE,kCAAkC;aAChD;SACF;KACF;CACO,CAAC"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { OpenApiZodAny } from '@anatine/zod-openapi';
|
2
|
-
import { z, ZodArray, ZodDate, ZodIntersection, ZodObject, ZodTypeAny, ZodUnion } from 'zod';
|
2
|
+
import { z, ZodArray, ZodDate, ZodIntersection, ZodNullable, ZodObject, ZodOptional, ZodTypeAny, ZodUnion } from 'zod';
|
3
3
|
export type ReplaceDatesWithStrings<T extends ZodTypeAny> = T extends ZodDate ? ReturnType<typeof z.string> : T extends ZodObject<infer Shape> ? ZodObject<{
|
4
4
|
[k in keyof Shape]: ReplaceDatesWithStrings<Shape[k]>;
|
5
5
|
}> : T extends ZodArray<infer Item> ? ZodArray<ReplaceDatesWithStrings<Item>> : T extends ZodUnion<infer Options> ? ZodUnion<{
|
6
6
|
[k in keyof Options]: ReplaceDatesWithStrings<Options[k]>;
|
7
|
-
}> : T extends ZodIntersection<infer Left, infer Right> ? ZodIntersection<ReplaceDatesWithStrings<Left>, ReplaceDatesWithStrings<Right>> : T;
|
7
|
+
}> : T extends ZodIntersection<infer Left, infer Right> ? ZodIntersection<ReplaceDatesWithStrings<Left>, ReplaceDatesWithStrings<Right>> : T extends ZodNullable<infer Inner> ? ZodNullable<ReplaceDatesWithStrings<Inner>> : T extends ZodOptional<infer Inner> ? ZodOptional<ReplaceDatesWithStrings<Inner>> : T;
|
8
8
|
export declare const replaceDatesWithStrings: <T extends OpenApiZodAny>(schema: T) => ReplaceDatesWithStrings<T>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,
|
1
|
+
{"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,6BAWa;AAwBN,MAAM,uBAAuB,GAAG,CACrC,MAAS,EACmB,EAAE;IAC9B,IAAI,MAAM,YAAY,aAAO,EAAE,CAAC;QAC9B,OAAO,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAgC,CAAC;IAC7D,CAAC;IAED,IAAI,MAAM,YAAY,eAAS,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAgB,EAAE,CAAC;QACjC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YAC/B,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAA,+BAAuB,EAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QAC7D,CAAC;QACD,OAAO,OAAC,CAAC,MAAM,CAAC,QAAQ,CAA+B,CAAC;IAC1D,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,IAAA,+BAAuB,EAAC,MAAM,CAAC,OAAO,CAAC,CACV,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAS,EAAE,EAAE,CAAC,IAAA,+BAAuB,EAAC,MAAM,CAAC,CAAC,CAC1C,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,qBAAe,EAAE,CAAC;QACtC,OAAO,OAAC,CAAC,YAAY,CACnB,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EACzC,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CACb,CAAC;IAClC,CAAC;IAGD,OAAO,MAAoC,CAAC;AAC9C,CAAC,CAAC;AApCW,QAAA,uBAAuB,2BAoClC"}
|
@@ -137,7 +137,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
137
137
|
fullName: z.ZodString;
|
138
138
|
firstName: z.ZodNullable<z.ZodString>;
|
139
139
|
gender: z.ZodNullable<z.ZodString>;
|
140
|
-
birthDate: z.ZodNullable<z.
|
140
|
+
birthDate: z.ZodNullable<z.ZodString>;
|
141
141
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
142
142
|
instagram: z.ZodNullable<z.ZodString>;
|
143
143
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -146,7 +146,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
146
146
|
birthLocationId: z.ZodNullable<z.ZodString>;
|
147
147
|
residenceLocationId: z.ZodNullable<z.ZodString>;
|
148
148
|
isInTrash: z.ZodBoolean;
|
149
|
-
movedToTrashDate: z.ZodNullable<z.
|
149
|
+
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
150
150
|
created_at: z.ZodString;
|
151
151
|
updated_at: z.ZodString;
|
152
152
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
@@ -160,7 +160,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
160
160
|
shortId: number;
|
161
161
|
firstName: string | null;
|
162
162
|
gender: string | null;
|
163
|
-
birthDate:
|
163
|
+
birthDate: string | null;
|
164
164
|
instagram: string | null;
|
165
165
|
mail: string | null;
|
166
166
|
dni: string | null;
|
@@ -168,7 +168,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
168
168
|
birthLocationId: string | null;
|
169
169
|
residenceLocationId: string | null;
|
170
170
|
isInTrash: boolean;
|
171
|
-
movedToTrashDate:
|
171
|
+
movedToTrashDate: string | null;
|
172
172
|
}, {
|
173
173
|
id: string;
|
174
174
|
phoneNumber: string;
|
@@ -180,7 +180,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
180
180
|
shortId: number;
|
181
181
|
firstName: string | null;
|
182
182
|
gender: string | null;
|
183
|
-
birthDate:
|
183
|
+
birthDate: string | null;
|
184
184
|
instagram: string | null;
|
185
185
|
mail: string | null;
|
186
186
|
dni: string | null;
|
@@ -188,7 +188,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
188
188
|
birthLocationId: string | null;
|
189
189
|
residenceLocationId: string | null;
|
190
190
|
isInTrash: boolean;
|
191
|
-
movedToTrashDate:
|
191
|
+
movedToTrashDate: string | null;
|
192
192
|
}>, "many">;
|
193
193
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
194
194
|
profiles: {
|
@@ -202,7 +202,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
202
202
|
shortId: number;
|
203
203
|
firstName: string | null;
|
204
204
|
gender: string | null;
|
205
|
-
birthDate:
|
205
|
+
birthDate: string | null;
|
206
206
|
instagram: string | null;
|
207
207
|
mail: string | null;
|
208
208
|
dni: string | null;
|
@@ -210,7 +210,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
210
210
|
birthLocationId: string | null;
|
211
211
|
residenceLocationId: string | null;
|
212
212
|
isInTrash: boolean;
|
213
|
-
movedToTrashDate:
|
213
|
+
movedToTrashDate: string | null;
|
214
214
|
}[];
|
215
215
|
}, {
|
216
216
|
profiles: {
|
@@ -224,7 +224,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
224
224
|
shortId: number;
|
225
225
|
firstName: string | null;
|
226
226
|
gender: string | null;
|
227
|
-
birthDate:
|
227
|
+
birthDate: string | null;
|
228
228
|
instagram: string | null;
|
229
229
|
mail: string | null;
|
230
230
|
dni: string | null;
|
@@ -232,7 +232,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
232
232
|
birthLocationId: string | null;
|
233
233
|
residenceLocationId: string | null;
|
234
234
|
isInTrash: boolean;
|
235
|
-
movedToTrashDate:
|
235
|
+
movedToTrashDate: string | null;
|
236
236
|
}[];
|
237
237
|
}>>;
|
238
238
|
export declare class MassiveAllocationResponseDto extends MassiveAllocationResponseDto_base {
|
@@ -137,7 +137,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
137
137
|
fullName: z.ZodString;
|
138
138
|
firstName: z.ZodNullable<z.ZodString>;
|
139
139
|
gender: z.ZodNullable<z.ZodString>;
|
140
|
-
birthDate: z.ZodNullable<z.
|
140
|
+
birthDate: z.ZodNullable<z.ZodString>;
|
141
141
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
142
142
|
instagram: z.ZodNullable<z.ZodString>;
|
143
143
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -146,7 +146,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
146
146
|
birthLocationId: z.ZodNullable<z.ZodString>;
|
147
147
|
residenceLocationId: z.ZodNullable<z.ZodString>;
|
148
148
|
isInTrash: z.ZodBoolean;
|
149
|
-
movedToTrashDate: z.ZodNullable<z.
|
149
|
+
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
150
150
|
created_at: z.ZodString;
|
151
151
|
updated_at: z.ZodString;
|
152
152
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
@@ -160,7 +160,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
160
160
|
shortId: number;
|
161
161
|
firstName: string | null;
|
162
162
|
gender: string | null;
|
163
|
-
birthDate:
|
163
|
+
birthDate: string | null;
|
164
164
|
instagram: string | null;
|
165
165
|
mail: string | null;
|
166
166
|
dni: string | null;
|
@@ -168,7 +168,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
168
168
|
birthLocationId: string | null;
|
169
169
|
residenceLocationId: string | null;
|
170
170
|
isInTrash: boolean;
|
171
|
-
movedToTrashDate:
|
171
|
+
movedToTrashDate: string | null;
|
172
172
|
}, {
|
173
173
|
id: string;
|
174
174
|
phoneNumber: string;
|
@@ -180,7 +180,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
180
180
|
shortId: number;
|
181
181
|
firstName: string | null;
|
182
182
|
gender: string | null;
|
183
|
-
birthDate:
|
183
|
+
birthDate: string | null;
|
184
184
|
instagram: string | null;
|
185
185
|
mail: string | null;
|
186
186
|
dni: string | null;
|
@@ -188,7 +188,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
188
188
|
birthLocationId: string | null;
|
189
189
|
residenceLocationId: string | null;
|
190
190
|
isInTrash: boolean;
|
191
|
-
movedToTrashDate:
|
191
|
+
movedToTrashDate: string | null;
|
192
192
|
}>, "many">;
|
193
193
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
194
194
|
profiles: {
|
@@ -202,7 +202,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
202
202
|
shortId: number;
|
203
203
|
firstName: string | null;
|
204
204
|
gender: string | null;
|
205
|
-
birthDate:
|
205
|
+
birthDate: string | null;
|
206
206
|
instagram: string | null;
|
207
207
|
mail: string | null;
|
208
208
|
dni: string | null;
|
@@ -210,7 +210,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
210
210
|
birthLocationId: string | null;
|
211
211
|
residenceLocationId: string | null;
|
212
212
|
isInTrash: boolean;
|
213
|
-
movedToTrashDate:
|
213
|
+
movedToTrashDate: string | null;
|
214
214
|
}[];
|
215
215
|
}, {
|
216
216
|
profiles: {
|
@@ -224,7 +224,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
224
224
|
shortId: number;
|
225
225
|
firstName: string | null;
|
226
226
|
gender: string | null;
|
227
|
-
birthDate:
|
227
|
+
birthDate: string | null;
|
228
228
|
instagram: string | null;
|
229
229
|
mail: string | null;
|
230
230
|
dni: string | null;
|
@@ -232,7 +232,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
232
232
|
birthLocationId: string | null;
|
233
233
|
residenceLocationId: string | null;
|
234
234
|
isInTrash: boolean;
|
235
|
-
movedToTrashDate:
|
235
|
+
movedToTrashDate: string | null;
|
236
236
|
}[];
|
237
237
|
}>>;
|
238
238
|
export declare class MassiveDeallocationResponseDto extends MassiveDeallocationResponseDto_base {
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./schema"), exports);
|
18
|
-
__exportStar(require("./prisma-schema/index"), exports);
|
19
17
|
__exportStar(require("./dto"), exports);
|
18
|
+
__exportStar(require("./prisma-schema/index"), exports);
|
19
|
+
__exportStar(require("./schema"), exports);
|
20
20
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,wDAAsC;AACtC,2CAAyB"}
|
package/dist/types/schema.d.ts
CHANGED
@@ -367,6 +367,70 @@ export interface paths {
|
|
367
367
|
patch?: never;
|
368
368
|
trace?: never;
|
369
369
|
};
|
370
|
+
"/canned-response/create": {
|
371
|
+
parameters: {
|
372
|
+
query?: never;
|
373
|
+
header?: never;
|
374
|
+
path?: never;
|
375
|
+
cookie?: never;
|
376
|
+
};
|
377
|
+
get?: never;
|
378
|
+
put?: never;
|
379
|
+
post: operations["CannedResponseController_createCannedResponse"];
|
380
|
+
delete?: never;
|
381
|
+
options?: never;
|
382
|
+
head?: never;
|
383
|
+
patch?: never;
|
384
|
+
trace?: never;
|
385
|
+
};
|
386
|
+
"/canned-response/all": {
|
387
|
+
parameters: {
|
388
|
+
query?: never;
|
389
|
+
header?: never;
|
390
|
+
path?: never;
|
391
|
+
cookie?: never;
|
392
|
+
};
|
393
|
+
get: operations["CannedResponseController_getAllCannedResponses"];
|
394
|
+
put?: never;
|
395
|
+
post?: never;
|
396
|
+
delete?: never;
|
397
|
+
options?: never;
|
398
|
+
head?: never;
|
399
|
+
patch?: never;
|
400
|
+
trace?: never;
|
401
|
+
};
|
402
|
+
"/canned-response/update/{id}": {
|
403
|
+
parameters: {
|
404
|
+
query?: never;
|
405
|
+
header?: never;
|
406
|
+
path?: never;
|
407
|
+
cookie?: never;
|
408
|
+
};
|
409
|
+
get?: never;
|
410
|
+
put?: never;
|
411
|
+
post?: never;
|
412
|
+
delete?: never;
|
413
|
+
options?: never;
|
414
|
+
head?: never;
|
415
|
+
patch: operations["CannedResponseController_updateCannedResponse"];
|
416
|
+
trace?: never;
|
417
|
+
};
|
418
|
+
"/canned-response/delete/{id}": {
|
419
|
+
parameters: {
|
420
|
+
query?: never;
|
421
|
+
header?: never;
|
422
|
+
path?: never;
|
423
|
+
cookie?: never;
|
424
|
+
};
|
425
|
+
get?: never;
|
426
|
+
put?: never;
|
427
|
+
post?: never;
|
428
|
+
delete: operations["CannedResponseController_deleteCannedResponse"];
|
429
|
+
options?: never;
|
430
|
+
head?: never;
|
431
|
+
patch?: never;
|
432
|
+
trace?: never;
|
433
|
+
};
|
370
434
|
}
|
371
435
|
export type webhooks = Record<string, never>;
|
372
436
|
export interface components {
|
@@ -794,6 +858,44 @@ export interface components {
|
|
794
858
|
longitude?: string | null;
|
795
859
|
}[];
|
796
860
|
};
|
861
|
+
CreateCannedResponseDto: {
|
862
|
+
name: string;
|
863
|
+
content: string;
|
864
|
+
};
|
865
|
+
CreateCannedResponseResponseDto: {
|
866
|
+
id: string;
|
867
|
+
name: string;
|
868
|
+
content: string;
|
869
|
+
created_at: string;
|
870
|
+
updated_at: string;
|
871
|
+
};
|
872
|
+
GetAllCannedResponseResponseDto: {
|
873
|
+
cannedResponses: {
|
874
|
+
id: string;
|
875
|
+
name: string;
|
876
|
+
content: string;
|
877
|
+
created_at: string;
|
878
|
+
updated_at: string;
|
879
|
+
}[];
|
880
|
+
};
|
881
|
+
UpdateCannedResponseDto: {
|
882
|
+
name: string;
|
883
|
+
content: string;
|
884
|
+
};
|
885
|
+
UpdateCannedResponseResponseDto: {
|
886
|
+
id: string;
|
887
|
+
name: string;
|
888
|
+
content: string;
|
889
|
+
created_at: string;
|
890
|
+
updated_at: string;
|
891
|
+
};
|
892
|
+
DeleteCannedResponseResponseDto: {
|
893
|
+
id: string;
|
894
|
+
name: string;
|
895
|
+
content: string;
|
896
|
+
created_at: string;
|
897
|
+
updated_at: string;
|
898
|
+
};
|
797
899
|
};
|
798
900
|
responses: never;
|
799
901
|
parameters: never;
|
@@ -1332,7 +1434,9 @@ export interface operations {
|
|
1332
1434
|
parameters: {
|
1333
1435
|
query?: never;
|
1334
1436
|
header?: never;
|
1335
|
-
path
|
1437
|
+
path: {
|
1438
|
+
id: string;
|
1439
|
+
};
|
1336
1440
|
cookie?: never;
|
1337
1441
|
};
|
1338
1442
|
requestBody?: never;
|
@@ -1359,7 +1463,9 @@ export interface operations {
|
|
1359
1463
|
parameters: {
|
1360
1464
|
query?: never;
|
1361
1465
|
header?: never;
|
1362
|
-
path
|
1466
|
+
path: {
|
1467
|
+
id: string;
|
1468
|
+
};
|
1363
1469
|
cookie?: never;
|
1364
1470
|
};
|
1365
1471
|
requestBody?: never;
|
@@ -1505,4 +1611,116 @@ export interface operations {
|
|
1505
1611
|
};
|
1506
1612
|
};
|
1507
1613
|
};
|
1614
|
+
CannedResponseController_createCannedResponse: {
|
1615
|
+
parameters: {
|
1616
|
+
query?: never;
|
1617
|
+
header?: never;
|
1618
|
+
path?: never;
|
1619
|
+
cookie?: never;
|
1620
|
+
};
|
1621
|
+
requestBody: {
|
1622
|
+
content: {
|
1623
|
+
"application/json": components["schemas"]["CreateCannedResponseDto"];
|
1624
|
+
};
|
1625
|
+
};
|
1626
|
+
responses: {
|
1627
|
+
201: {
|
1628
|
+
headers: {
|
1629
|
+
[name: string]: unknown;
|
1630
|
+
};
|
1631
|
+
content: {
|
1632
|
+
"application/json": components["schemas"]["CreateCannedResponseResponseDto"];
|
1633
|
+
};
|
1634
|
+
};
|
1635
|
+
409: {
|
1636
|
+
headers: {
|
1637
|
+
[name: string]: unknown;
|
1638
|
+
};
|
1639
|
+
content: {
|
1640
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1641
|
+
};
|
1642
|
+
};
|
1643
|
+
};
|
1644
|
+
};
|
1645
|
+
CannedResponseController_getAllCannedResponses: {
|
1646
|
+
parameters: {
|
1647
|
+
query?: never;
|
1648
|
+
header?: never;
|
1649
|
+
path?: never;
|
1650
|
+
cookie?: never;
|
1651
|
+
};
|
1652
|
+
requestBody?: never;
|
1653
|
+
responses: {
|
1654
|
+
200: {
|
1655
|
+
headers: {
|
1656
|
+
[name: string]: unknown;
|
1657
|
+
};
|
1658
|
+
content: {
|
1659
|
+
"application/json": components["schemas"]["GetAllCannedResponseResponseDto"];
|
1660
|
+
};
|
1661
|
+
};
|
1662
|
+
};
|
1663
|
+
};
|
1664
|
+
CannedResponseController_updateCannedResponse: {
|
1665
|
+
parameters: {
|
1666
|
+
query?: never;
|
1667
|
+
header?: never;
|
1668
|
+
path: {
|
1669
|
+
id: string;
|
1670
|
+
};
|
1671
|
+
cookie?: never;
|
1672
|
+
};
|
1673
|
+
requestBody: {
|
1674
|
+
content: {
|
1675
|
+
"application/json": components["schemas"]["UpdateCannedResponseDto"];
|
1676
|
+
};
|
1677
|
+
};
|
1678
|
+
responses: {
|
1679
|
+
200: {
|
1680
|
+
headers: {
|
1681
|
+
[name: string]: unknown;
|
1682
|
+
};
|
1683
|
+
content: {
|
1684
|
+
"application/json": components["schemas"]["UpdateCannedResponseResponseDto"];
|
1685
|
+
};
|
1686
|
+
};
|
1687
|
+
404: {
|
1688
|
+
headers: {
|
1689
|
+
[name: string]: unknown;
|
1690
|
+
};
|
1691
|
+
content: {
|
1692
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1693
|
+
};
|
1694
|
+
};
|
1695
|
+
};
|
1696
|
+
};
|
1697
|
+
CannedResponseController_deleteCannedResponse: {
|
1698
|
+
parameters: {
|
1699
|
+
query?: never;
|
1700
|
+
header?: never;
|
1701
|
+
path: {
|
1702
|
+
id: string;
|
1703
|
+
};
|
1704
|
+
cookie?: never;
|
1705
|
+
};
|
1706
|
+
requestBody?: never;
|
1707
|
+
responses: {
|
1708
|
+
200: {
|
1709
|
+
headers: {
|
1710
|
+
[name: string]: unknown;
|
1711
|
+
};
|
1712
|
+
content: {
|
1713
|
+
"application/json": components["schemas"]["DeleteCannedResponseResponseDto"];
|
1714
|
+
};
|
1715
|
+
};
|
1716
|
+
404: {
|
1717
|
+
headers: {
|
1718
|
+
[name: string]: unknown;
|
1719
|
+
};
|
1720
|
+
content: {
|
1721
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1722
|
+
};
|
1723
|
+
};
|
1724
|
+
};
|
1725
|
+
};
|
1508
1726
|
}
|