expo-backend-types 0.5.0 → 0.6.0-EXPO-287-EB-CarpetaEvento.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/dist/src/canned-response/dto/canned-response.dto.d.ts +42 -0
  2. package/dist/src/canned-response/dto/canned-response.dto.js +23 -0
  3. package/dist/src/canned-response/dto/create-canned-response.dto.d.ts +66 -0
  4. package/dist/src/canned-response/dto/create-canned-response.dto.js +17 -0
  5. package/dist/src/canned-response/dto/delete-canned-response.dto.d.ts +41 -0
  6. package/dist/src/canned-response/dto/delete-canned-response.dto.js +10 -0
  7. package/dist/src/canned-response/dto/get-all-canned-response.dto.d.ts +78 -0
  8. package/dist/src/canned-response/dto/get-all-canned-response.dto.js +16 -0
  9. package/dist/src/canned-response/dto/update-canned-response.dto.d.ts +66 -0
  10. package/dist/src/canned-response/dto/update-canned-response.dto.js +17 -0
  11. package/dist/src/canned-response/exports.d.ts +5 -0
  12. package/dist/src/canned-response/exports.js +22 -0
  13. package/dist/src/comment/dto/comment.dto.d.ts +3 -3
  14. package/dist/src/comment/dto/create-comment.dto.d.ts +3 -3
  15. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +5 -5
  16. package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +3 -3
  17. package/dist/src/exports.d.ts +1 -0
  18. package/dist/src/exports.js +1 -0
  19. package/dist/src/i18n/es.d.ts +31 -0
  20. package/dist/src/i18n/es.js +31 -0
  21. package/dist/src/i18n/es.js.map +1 -1
  22. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -2
  23. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  24. package/dist/src/tag/dto/massive-allocation.dto.d.ts +10 -10
  25. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +10 -10
  26. package/dist/types/schema.d.ts +220 -2
  27. 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,5 @@
1
+ export * from './dto/canned-response.dto';
2
+ export * from './dto/create-canned-response.dto';
3
+ export * from './dto/delete-canned-response.dto';
4
+ export * from './dto/get-all-canned-response.dto';
5
+ export * from './dto/update-canned-response.dto';
@@ -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.ZodDate>;
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: Date | null;
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: Date | null;
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").ZodDate>;
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: Date | null;
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: Date | null;
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.ZodDate>;
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: Date | null;
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: Date | null;
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: Date | null;
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: Date | null;
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").ZodDate>;
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: Date | null;
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: Date | null;
64
+ solvedAt: string | null;
65
65
  isSolvable?: boolean | undefined;
66
66
  isSolved?: boolean | undefined;
67
67
  solvedBy?: string | undefined;
@@ -1,5 +1,6 @@
1
1
  export * from './account/exports';
2
2
  export * from './auth/exports';
3
+ export * from './canned-response/exports';
3
4
  export * from './comment/exports';
4
5
  export * from './event-folder/exports';
5
6
  export * from './event/exports';
@@ -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);
@@ -112,6 +112,19 @@ declare const _default: {
112
112
  readonly invalid: "La URL de la imagen de perfil no es válida";
113
113
  };
114
114
  };
115
+ readonly 'canned-response': {
116
+ readonly id: {
117
+ readonly uuid: "El ID debe ser un UUID";
118
+ };
119
+ readonly name: {
120
+ readonly required: "El nombre es requerido";
121
+ readonly min: "El nombre debe tener al menos 1 caracter";
122
+ };
123
+ readonly content: {
124
+ readonly required: "El contenido es requerido";
125
+ readonly min: "El contenido debe tener al menos 1 caracter";
126
+ };
127
+ };
115
128
  };
116
129
  readonly route: {
117
130
  readonly auth: {
@@ -205,6 +218,24 @@ declare const _default: {
205
218
  readonly conflict: "El comentario no es resoluble";
206
219
  };
207
220
  };
221
+ readonly 'canned-response': {
222
+ readonly create: {
223
+ readonly success: "Respuesta enlatada creada con éxito";
224
+ readonly conflict: "Error en la creacion de la respuesta";
225
+ };
226
+ readonly 'get-all': {
227
+ readonly success: "Respuestas enlatadas obtenidas con éxito";
228
+ readonly 'not-found': "No se encontraron respuestas enlatadas";
229
+ };
230
+ readonly update: {
231
+ readonly success: "Respuesta enlatada actualizada con éxito";
232
+ readonly 'not-found': "Respuesta enlatada no encontrada";
233
+ };
234
+ readonly delete: {
235
+ readonly success: "Respuesta enlatada eliminada con éxito";
236
+ readonly 'not-found': "Respuesta enlatada no encontrada";
237
+ };
238
+ };
208
239
  };
209
240
  };
210
241
  export default _default;
@@ -114,6 +114,19 @@ exports.default = {
114
114
  invalid: 'La URL de la imagen de perfil no es válida',
115
115
  },
116
116
  },
117
+ 'canned-response': {
118
+ id: {
119
+ uuid: 'El ID debe ser un UUID',
120
+ },
121
+ name: {
122
+ required: 'El nombre es requerido',
123
+ min: 'El nombre debe tener al menos 1 caracter',
124
+ },
125
+ content: {
126
+ required: 'El contenido es requerido',
127
+ min: 'El contenido debe tener al menos 1 caracter',
128
+ },
129
+ },
117
130
  },
118
131
  route: {
119
132
  auth: {
@@ -207,6 +220,24 @@ exports.default = {
207
220
  conflict: 'El comentario no es resoluble',
208
221
  },
209
222
  },
223
+ 'canned-response': {
224
+ create: {
225
+ success: 'Respuesta enlatada creada con éxito',
226
+ conflict: 'Error en la creacion de la respuesta',
227
+ },
228
+ 'get-all': {
229
+ success: 'Respuestas enlatadas obtenidas con éxito',
230
+ 'not-found': 'No se encontraron respuestas enlatadas',
231
+ },
232
+ update: {
233
+ success: 'Respuesta enlatada actualizada con éxito',
234
+ 'not-found': 'Respuesta enlatada no encontrada',
235
+ },
236
+ delete: {
237
+ success: 'Respuesta enlatada eliminada con éxito',
238
+ 'not-found': 'Respuesta enlatada no encontrada',
239
+ },
240
+ },
210
241
  },
211
242
  };
212
243
  //# sourceMappingURL=es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,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ACN,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,kCAAkC;aAChD;SACF;QACD,OAAO,EAAE;YACP,MAAM,EAAE;gBACN,OAAO,EAAE,6BAA6B;gBACtC,WAAW,EAAE,sBAAsB;aACpC;YACD,gBAAgB,EAAE;gBAChB,OAAO,EAAE,uBAAuB;gBAChC,WAAW,EAAE,sBAAsB;aACpC;YACD,cAAc,EAAE;gBACd,OAAO,EAAE,kDAAkD;gBAC3D,WAAW,EAAE,0BAA0B;gBACvC,QAAQ,EAAE,+BAA+B;aAC1C;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,6BASa;AAoBN,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,MAA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AC,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"}
@@ -147,7 +147,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
147
147
  fullName: z.ZodString;
148
148
  firstName: z.ZodNullable<z.ZodString>;
149
149
  gender: z.ZodNullable<z.ZodString>;
150
- birthDate: z.ZodNullable<z.ZodDate>;
150
+ birthDate: z.ZodNullable<z.ZodString>;
151
151
  profilePictureUrl: z.ZodNullable<z.ZodString>;
152
152
  instagram: z.ZodNullable<z.ZodString>;
153
153
  mail: z.ZodNullable<z.ZodString>;
@@ -158,7 +158,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
158
158
  residenceLongitude: z.ZodNullable<z.ZodNumber>;
159
159
  residenceLatitude: z.ZodNullable<z.ZodNumber>;
160
160
  isInTrash: z.ZodBoolean;
161
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
161
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
162
162
  created_at: z.ZodString;
163
163
  updated_at: z.ZodString;
164
164
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -172,7 +172,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
172
172
  shortId: number;
173
173
  firstName: string | null;
174
174
  gender: string | null;
175
- birthDate: Date | null;
175
+ birthDate: string | null;
176
176
  instagram: string | null;
177
177
  mail: string | null;
178
178
  dni: string | null;
@@ -182,7 +182,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
182
182
  residenceLongitude: number | null;
183
183
  residenceLatitude: number | null;
184
184
  isInTrash: boolean;
185
- movedToTrashDate: Date | null;
185
+ movedToTrashDate: string | null;
186
186
  }, {
187
187
  id: string;
188
188
  phoneNumber: string;
@@ -194,7 +194,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
194
194
  shortId: number;
195
195
  firstName: string | null;
196
196
  gender: string | null;
197
- birthDate: Date | null;
197
+ birthDate: string | null;
198
198
  instagram: string | null;
199
199
  mail: string | null;
200
200
  dni: string | null;
@@ -204,7 +204,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
204
204
  residenceLongitude: number | null;
205
205
  residenceLatitude: number | null;
206
206
  isInTrash: boolean;
207
- movedToTrashDate: Date | null;
207
+ movedToTrashDate: string | null;
208
208
  }>, "many">;
209
209
  }, z.UnknownKeysParam, z.ZodTypeAny, {
210
210
  profiles: {
@@ -218,7 +218,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
218
218
  shortId: number;
219
219
  firstName: string | null;
220
220
  gender: string | null;
221
- birthDate: Date | null;
221
+ birthDate: string | null;
222
222
  instagram: string | null;
223
223
  mail: string | null;
224
224
  dni: string | null;
@@ -228,7 +228,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
228
228
  residenceLongitude: number | null;
229
229
  residenceLatitude: number | null;
230
230
  isInTrash: boolean;
231
- movedToTrashDate: Date | null;
231
+ movedToTrashDate: string | null;
232
232
  }[];
233
233
  }, {
234
234
  profiles: {
@@ -242,7 +242,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
242
242
  shortId: number;
243
243
  firstName: string | null;
244
244
  gender: string | null;
245
- birthDate: Date | null;
245
+ birthDate: string | null;
246
246
  instagram: string | null;
247
247
  mail: string | null;
248
248
  dni: string | null;
@@ -252,7 +252,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
252
252
  residenceLongitude: number | null;
253
253
  residenceLatitude: number | null;
254
254
  isInTrash: boolean;
255
- movedToTrashDate: Date | null;
255
+ movedToTrashDate: string | null;
256
256
  }[];
257
257
  }>>;
258
258
  export declare class MassiveAllocationResponseDto extends MassiveAllocationResponseDto_base {
@@ -147,7 +147,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
147
147
  fullName: z.ZodString;
148
148
  firstName: z.ZodNullable<z.ZodString>;
149
149
  gender: z.ZodNullable<z.ZodString>;
150
- birthDate: z.ZodNullable<z.ZodDate>;
150
+ birthDate: z.ZodNullable<z.ZodString>;
151
151
  profilePictureUrl: z.ZodNullable<z.ZodString>;
152
152
  instagram: z.ZodNullable<z.ZodString>;
153
153
  mail: z.ZodNullable<z.ZodString>;
@@ -158,7 +158,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
158
158
  residenceLongitude: z.ZodNullable<z.ZodNumber>;
159
159
  residenceLatitude: z.ZodNullable<z.ZodNumber>;
160
160
  isInTrash: z.ZodBoolean;
161
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
161
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
162
162
  created_at: z.ZodString;
163
163
  updated_at: z.ZodString;
164
164
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -172,7 +172,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
172
172
  shortId: number;
173
173
  firstName: string | null;
174
174
  gender: string | null;
175
- birthDate: Date | null;
175
+ birthDate: string | null;
176
176
  instagram: string | null;
177
177
  mail: string | null;
178
178
  dni: string | null;
@@ -182,7 +182,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
182
182
  residenceLongitude: number | null;
183
183
  residenceLatitude: number | null;
184
184
  isInTrash: boolean;
185
- movedToTrashDate: Date | null;
185
+ movedToTrashDate: string | null;
186
186
  }, {
187
187
  id: string;
188
188
  phoneNumber: string;
@@ -194,7 +194,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
194
194
  shortId: number;
195
195
  firstName: string | null;
196
196
  gender: string | null;
197
- birthDate: Date | null;
197
+ birthDate: string | null;
198
198
  instagram: string | null;
199
199
  mail: string | null;
200
200
  dni: string | null;
@@ -204,7 +204,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
204
204
  residenceLongitude: number | null;
205
205
  residenceLatitude: number | null;
206
206
  isInTrash: boolean;
207
- movedToTrashDate: Date | null;
207
+ movedToTrashDate: string | null;
208
208
  }>, "many">;
209
209
  }, z.UnknownKeysParam, z.ZodTypeAny, {
210
210
  profiles: {
@@ -218,7 +218,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
218
218
  shortId: number;
219
219
  firstName: string | null;
220
220
  gender: string | null;
221
- birthDate: Date | null;
221
+ birthDate: string | null;
222
222
  instagram: string | null;
223
223
  mail: string | null;
224
224
  dni: string | null;
@@ -228,7 +228,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
228
228
  residenceLongitude: number | null;
229
229
  residenceLatitude: number | null;
230
230
  isInTrash: boolean;
231
- movedToTrashDate: Date | null;
231
+ movedToTrashDate: string | null;
232
232
  }[];
233
233
  }, {
234
234
  profiles: {
@@ -242,7 +242,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
242
242
  shortId: number;
243
243
  firstName: string | null;
244
244
  gender: string | null;
245
- birthDate: Date | null;
245
+ birthDate: string | null;
246
246
  instagram: string | null;
247
247
  mail: string | null;
248
248
  dni: string | null;
@@ -252,7 +252,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
252
252
  residenceLongitude: number | null;
253
253
  residenceLatitude: number | null;
254
254
  isInTrash: boolean;
255
- movedToTrashDate: Date | null;
255
+ movedToTrashDate: string | null;
256
256
  }[];
257
257
  }>>;
258
258
  export declare class MassiveDeallocationResponseDto extends MassiveDeallocationResponseDto_base {
@@ -287,6 +287,70 @@ export interface paths {
287
287
  patch: operations["CommentController_toggleSolveComment"];
288
288
  trace?: never;
289
289
  };
290
+ "/canned-response/create": {
291
+ parameters: {
292
+ query?: never;
293
+ header?: never;
294
+ path?: never;
295
+ cookie?: never;
296
+ };
297
+ get?: never;
298
+ put?: never;
299
+ post: operations["CannedResponseController_createCannedResponse"];
300
+ delete?: never;
301
+ options?: never;
302
+ head?: never;
303
+ patch?: never;
304
+ trace?: never;
305
+ };
306
+ "/canned-response/all": {
307
+ parameters: {
308
+ query?: never;
309
+ header?: never;
310
+ path?: never;
311
+ cookie?: never;
312
+ };
313
+ get: operations["CannedResponseController_getAllCannedResponses"];
314
+ put?: never;
315
+ post?: never;
316
+ delete?: never;
317
+ options?: never;
318
+ head?: never;
319
+ patch?: never;
320
+ trace?: never;
321
+ };
322
+ "/canned-response/update/{id}": {
323
+ parameters: {
324
+ query?: never;
325
+ header?: never;
326
+ path?: never;
327
+ cookie?: never;
328
+ };
329
+ get?: never;
330
+ put?: never;
331
+ post?: never;
332
+ delete?: never;
333
+ options?: never;
334
+ head?: never;
335
+ patch: operations["CannedResponseController_updateCannedResponse"];
336
+ trace?: never;
337
+ };
338
+ "/canned-response/delete/{id}": {
339
+ parameters: {
340
+ query?: never;
341
+ header?: never;
342
+ path?: never;
343
+ cookie?: never;
344
+ };
345
+ get?: never;
346
+ put?: never;
347
+ post?: never;
348
+ delete: operations["CannedResponseController_deleteCannedResponse"];
349
+ options?: never;
350
+ head?: never;
351
+ patch?: never;
352
+ trace?: never;
353
+ };
290
354
  }
291
355
  export type webhooks = Record<string, never>;
292
356
  export interface components {
@@ -671,6 +735,44 @@ export interface components {
671
735
  created_at: string;
672
736
  updated_at: string;
673
737
  };
738
+ CreateCannedResponseDto: {
739
+ name: string;
740
+ content: string;
741
+ };
742
+ CreateCannedResponseResponseDto: {
743
+ id: string;
744
+ name: string;
745
+ content: string;
746
+ created_at: string;
747
+ updated_at: string;
748
+ };
749
+ GetAllCannedResponseResponseDto: {
750
+ cannedResponses: {
751
+ id: string;
752
+ name: string;
753
+ content: string;
754
+ created_at: string;
755
+ updated_at: string;
756
+ }[];
757
+ };
758
+ UpdateCannedResponseDto: {
759
+ name: string;
760
+ content: string;
761
+ };
762
+ UpdateCannedResponseResponseDto: {
763
+ id: string;
764
+ name: string;
765
+ content: string;
766
+ created_at: string;
767
+ updated_at: string;
768
+ };
769
+ DeleteCannedResponseResponseDto: {
770
+ id: string;
771
+ name: string;
772
+ content: string;
773
+ created_at: string;
774
+ updated_at: string;
775
+ };
674
776
  };
675
777
  responses: never;
676
778
  parameters: never;
@@ -1209,7 +1311,9 @@ export interface operations {
1209
1311
  parameters: {
1210
1312
  query?: never;
1211
1313
  header?: never;
1212
- path?: never;
1314
+ path: {
1315
+ id: string;
1316
+ };
1213
1317
  cookie?: never;
1214
1318
  };
1215
1319
  requestBody?: never;
@@ -1236,7 +1340,9 @@ export interface operations {
1236
1340
  parameters: {
1237
1341
  query?: never;
1238
1342
  header?: never;
1239
- path?: never;
1343
+ path: {
1344
+ id: string;
1345
+ };
1240
1346
  cookie?: never;
1241
1347
  };
1242
1348
  requestBody?: never;
@@ -1267,4 +1373,116 @@ export interface operations {
1267
1373
  };
1268
1374
  };
1269
1375
  };
1376
+ CannedResponseController_createCannedResponse: {
1377
+ parameters: {
1378
+ query?: never;
1379
+ header?: never;
1380
+ path?: never;
1381
+ cookie?: never;
1382
+ };
1383
+ requestBody: {
1384
+ content: {
1385
+ "application/json": components["schemas"]["CreateCannedResponseDto"];
1386
+ };
1387
+ };
1388
+ responses: {
1389
+ 201: {
1390
+ headers: {
1391
+ [name: string]: unknown;
1392
+ };
1393
+ content: {
1394
+ "application/json": components["schemas"]["CreateCannedResponseResponseDto"];
1395
+ };
1396
+ };
1397
+ 409: {
1398
+ headers: {
1399
+ [name: string]: unknown;
1400
+ };
1401
+ content: {
1402
+ "application/json": components["schemas"]["ErrorDto"];
1403
+ };
1404
+ };
1405
+ };
1406
+ };
1407
+ CannedResponseController_getAllCannedResponses: {
1408
+ parameters: {
1409
+ query?: never;
1410
+ header?: never;
1411
+ path?: never;
1412
+ cookie?: never;
1413
+ };
1414
+ requestBody?: never;
1415
+ responses: {
1416
+ 200: {
1417
+ headers: {
1418
+ [name: string]: unknown;
1419
+ };
1420
+ content: {
1421
+ "application/json": components["schemas"]["GetAllCannedResponseResponseDto"];
1422
+ };
1423
+ };
1424
+ };
1425
+ };
1426
+ CannedResponseController_updateCannedResponse: {
1427
+ parameters: {
1428
+ query?: never;
1429
+ header?: never;
1430
+ path: {
1431
+ id: string;
1432
+ };
1433
+ cookie?: never;
1434
+ };
1435
+ requestBody: {
1436
+ content: {
1437
+ "application/json": components["schemas"]["UpdateCannedResponseDto"];
1438
+ };
1439
+ };
1440
+ responses: {
1441
+ 200: {
1442
+ headers: {
1443
+ [name: string]: unknown;
1444
+ };
1445
+ content: {
1446
+ "application/json": components["schemas"]["UpdateCannedResponseResponseDto"];
1447
+ };
1448
+ };
1449
+ 404: {
1450
+ headers: {
1451
+ [name: string]: unknown;
1452
+ };
1453
+ content: {
1454
+ "application/json": components["schemas"]["ErrorDto"];
1455
+ };
1456
+ };
1457
+ };
1458
+ };
1459
+ CannedResponseController_deleteCannedResponse: {
1460
+ parameters: {
1461
+ query?: never;
1462
+ header?: never;
1463
+ path: {
1464
+ id: string;
1465
+ };
1466
+ cookie?: never;
1467
+ };
1468
+ requestBody?: never;
1469
+ responses: {
1470
+ 200: {
1471
+ headers: {
1472
+ [name: string]: unknown;
1473
+ };
1474
+ content: {
1475
+ "application/json": components["schemas"]["DeleteCannedResponseResponseDto"];
1476
+ };
1477
+ };
1478
+ 404: {
1479
+ headers: {
1480
+ [name: string]: unknown;
1481
+ };
1482
+ content: {
1483
+ "application/json": components["schemas"]["ErrorDto"];
1484
+ };
1485
+ };
1486
+ };
1487
+ };
1270
1488
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.5.0",
3
+ "version": "0.6.0-EXPO-287-EB-CarpetaEvento.1",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,