expo-backend-types 0.24.0 → 0.25.0-EXPO-251-EB-Whatsapp.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/src/i18n/es.d.ts +78 -0
  2. package/dist/src/i18n/es.js +78 -0
  3. package/dist/src/i18n/es.js.map +1 -1
  4. package/dist/src/location/dto/arg-city.dto.d.ts +2 -2
  5. package/dist/src/message/dto/create-template.dto.d.ts +93 -0
  6. package/dist/src/message/dto/create-template.dto.js +24 -0
  7. package/dist/src/message/dto/delete-template.dto.d.ts +18 -0
  8. package/dist/src/message/dto/delete-template.dto.js +15 -0
  9. package/dist/src/message/dto/find-messages-by-phone.dto.d.ts +316 -0
  10. package/dist/src/message/dto/find-messages-by-phone.dto.js +24 -0
  11. package/dist/src/message/dto/find-template-by-id.dto.d.ts +245 -0
  12. package/dist/src/message/dto/find-template-by-id.dto.js +23 -0
  13. package/dist/src/message/dto/find-templates.dto.d.ts +109 -0
  14. package/dist/src/message/dto/find-templates.dto.js +20 -0
  15. package/dist/src/message/dto/get-last-message-timestamp.dto.d.ts +18 -0
  16. package/dist/src/message/dto/get-last-message-timestamp.dto.js +15 -0
  17. package/dist/src/message/dto/message.dto.d.ts +46 -16
  18. package/dist/src/message/dto/message.dto.js +1 -1
  19. package/dist/src/message/dto/non-read-messages.dto.d.ts +76 -0
  20. package/dist/src/message/dto/non-read-messages.dto.js +21 -0
  21. package/dist/src/message/dto/read-messages.dto.d.ts +18 -0
  22. package/dist/src/message/dto/read-messages.dto.js +15 -0
  23. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +40 -0
  24. package/dist/src/message/dto/send-message-to-phone.dto.js +23 -0
  25. package/dist/src/message/dto/send-template-to-tags.dto.d.ts +40 -0
  26. package/dist/src/message/dto/send-template-to-tags.dto.js +23 -0
  27. package/dist/src/message/dto/template.dto.d.ts +154 -0
  28. package/dist/src/message/dto/template.dto.js +63 -0
  29. package/dist/src/message/dto/update-template.dto.d.ts +88 -0
  30. package/dist/src/message/dto/update-template.dto.js +23 -0
  31. package/dist/src/message/exports.d.ts +9 -0
  32. package/dist/src/message/exports.js +9 -0
  33. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +36 -36
  34. package/dist/src/webhook/dto/webhook.dto.d.ts +86 -0
  35. package/dist/src/webhook/dto/webhook.dto.js +3 -0
  36. package/dist/types/schema.d.ts +602 -2
  37. package/package.json +2 -1
@@ -0,0 +1,154 @@
1
+ import z from 'zod';
2
+ declare const buttonsSchema: z.ZodObject<{
3
+ type: z.ZodLiteral<"BUTTONS">;
4
+ buttons: z.ZodArray<z.ZodObject<{
5
+ text: z.ZodString;
6
+ type: z.ZodLiteral<"QUICK_REPLY">;
7
+ }, "strip", z.ZodTypeAny, {
8
+ type: "QUICK_REPLY";
9
+ text: string;
10
+ }, {
11
+ type: "QUICK_REPLY";
12
+ text: string;
13
+ }>, "many">;
14
+ }, "strip", z.ZodTypeAny, {
15
+ type: "BUTTONS";
16
+ buttons: {
17
+ type: "QUICK_REPLY";
18
+ text: string;
19
+ }[];
20
+ }, {
21
+ type: "BUTTONS";
22
+ buttons: {
23
+ type: "QUICK_REPLY";
24
+ text: string;
25
+ }[];
26
+ }>;
27
+ declare const componentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
28
+ type: z.ZodLiteral<"BODY">;
29
+ text: z.ZodString;
30
+ }, "strip", z.ZodTypeAny, {
31
+ type: "BODY";
32
+ text: string;
33
+ }, {
34
+ type: "BODY";
35
+ text: string;
36
+ }>, z.ZodObject<{
37
+ type: z.ZodLiteral<"BUTTONS">;
38
+ buttons: z.ZodArray<z.ZodObject<{
39
+ text: z.ZodString;
40
+ type: z.ZodLiteral<"QUICK_REPLY">;
41
+ }, "strip", z.ZodTypeAny, {
42
+ type: "QUICK_REPLY";
43
+ text: string;
44
+ }, {
45
+ type: "QUICK_REPLY";
46
+ text: string;
47
+ }>, "many">;
48
+ }, "strip", z.ZodTypeAny, {
49
+ type: "BUTTONS";
50
+ buttons: {
51
+ type: "QUICK_REPLY";
52
+ text: string;
53
+ }[];
54
+ }, {
55
+ type: "BUTTONS";
56
+ buttons: {
57
+ type: "QUICK_REPLY";
58
+ text: string;
59
+ }[];
60
+ }>]>;
61
+ export declare const templateSchema: z.ZodObject<{
62
+ name: z.ZodEffects<z.ZodString, string, string>;
63
+ content: z.ZodString;
64
+ buttons: z.ZodArray<z.ZodString, "many">;
65
+ id: z.ZodString;
66
+ language: z.ZodString;
67
+ components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
68
+ type: z.ZodLiteral<"BODY">;
69
+ text: z.ZodString;
70
+ }, "strip", z.ZodTypeAny, {
71
+ type: "BODY";
72
+ text: string;
73
+ }, {
74
+ type: "BODY";
75
+ text: string;
76
+ }>, z.ZodObject<{
77
+ type: z.ZodLiteral<"BUTTONS">;
78
+ buttons: z.ZodArray<z.ZodObject<{
79
+ text: z.ZodString;
80
+ type: z.ZodLiteral<"QUICK_REPLY">;
81
+ }, "strip", z.ZodTypeAny, {
82
+ type: "QUICK_REPLY";
83
+ text: string;
84
+ }, {
85
+ type: "QUICK_REPLY";
86
+ text: string;
87
+ }>, "many">;
88
+ }, "strip", z.ZodTypeAny, {
89
+ type: "BUTTONS";
90
+ buttons: {
91
+ type: "QUICK_REPLY";
92
+ text: string;
93
+ }[];
94
+ }, {
95
+ type: "BUTTONS";
96
+ buttons: {
97
+ type: "QUICK_REPLY";
98
+ text: string;
99
+ }[];
100
+ }>]>, "many">;
101
+ allow_category_change: z.ZodBoolean;
102
+ category: z.ZodNativeEnum<{
103
+ MARKETING: "MARKETING";
104
+ UTILITY: "UTILITY";
105
+ AUTHENTICATION: "AUTHENTICATION";
106
+ }>;
107
+ status: z.ZodNativeEnum<{
108
+ APRROVED: "APRROVED";
109
+ PENDING: "PENDING";
110
+ REJECTED: "REJECTED";
111
+ }>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ id: string;
114
+ name: string;
115
+ content: string;
116
+ buttons: string[];
117
+ status: "APRROVED" | "PENDING" | "REJECTED";
118
+ language: string;
119
+ components: ({
120
+ type: "BUTTONS";
121
+ buttons: {
122
+ type: "QUICK_REPLY";
123
+ text: string;
124
+ }[];
125
+ } | {
126
+ type: "BODY";
127
+ text: string;
128
+ })[];
129
+ allow_category_change: boolean;
130
+ category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
131
+ }, {
132
+ id: string;
133
+ name: string;
134
+ content: string;
135
+ buttons: string[];
136
+ status: "APRROVED" | "PENDING" | "REJECTED";
137
+ language: string;
138
+ components: ({
139
+ type: "BUTTONS";
140
+ buttons: {
141
+ type: "QUICK_REPLY";
142
+ text: string;
143
+ }[];
144
+ } | {
145
+ type: "BODY";
146
+ text: string;
147
+ })[];
148
+ allow_category_change: boolean;
149
+ category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
150
+ }>;
151
+ export type Buttons = z.infer<typeof buttonsSchema>;
152
+ export type TemplateType = z.infer<typeof templateSchema>;
153
+ export type Components = z.infer<typeof componentSchema>;
154
+ export {};
@@ -0,0 +1,63 @@
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.templateSchema = void 0;
7
+ const translate_1 = require("../../i18n/translate");
8
+ const zod_1 = __importDefault(require("zod"));
9
+ const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
10
+ const buttonsSchema = zod_1.default.object({
11
+ type: zod_1.default.literal('BUTTONS'),
12
+ buttons: zod_1.default.array(zod_1.default.object({
13
+ text: zod_1.default.string(),
14
+ type: zod_1.default.literal('QUICK_REPLY'),
15
+ })),
16
+ });
17
+ const bodySchema = zod_1.default.object({
18
+ type: zod_1.default.literal('BODY'),
19
+ text: zod_1.default.string(),
20
+ });
21
+ const componentSchema = zod_1.default.discriminatedUnion('type', [
22
+ bodySchema,
23
+ buttonsSchema,
24
+ ]);
25
+ exports.templateSchema = zod_1.default.object({
26
+ name: zod_1.default
27
+ .string()
28
+ .min(1, {
29
+ message: (0, translate_1.translate)('model.template.name.min'),
30
+ })
31
+ .max(512, {
32
+ message: (0, translate_1.translate)('model.template.name.max'),
33
+ })
34
+ .toLowerCase()
35
+ .trim()
36
+ .refine((value) => {
37
+ return /^[a-z_]*$/.test(value);
38
+ }, {
39
+ message: (0, translate_1.translate)('model.template.name.invalid'),
40
+ }),
41
+ content: zod_1.default
42
+ .string()
43
+ .max(768, {
44
+ message: (0, translate_1.translate)('model.template.content.max'),
45
+ })
46
+ .min(1, {
47
+ message: (0, translate_1.translate)('model.template.content.min'),
48
+ }),
49
+ buttons: zod_1.default
50
+ .array(zod_1.default.string().max(25, {
51
+ message: (0, translate_1.translate)('model.template.buttons.max-length'),
52
+ }))
53
+ .max(10, {
54
+ message: (0, translate_1.translate)('model.template.buttons.max'),
55
+ }),
56
+ id: zod_1.default.string(),
57
+ language: zod_1.default.string(),
58
+ components: zod_1.default.array(componentSchema),
59
+ allow_category_change: zod_1.default.boolean(),
60
+ category: zod_1.default.nativeEnum(prisma_schema_1.TemplateCategory),
61
+ status: zod_1.default.nativeEnum(prisma_schema_1.TemplateStatus),
62
+ });
63
+ //# sourceMappingURL=template.dto.js.map
@@ -0,0 +1,88 @@
1
+ import z from 'zod';
2
+ export declare const updateTemplateSchema: z.ZodObject<Pick<{
3
+ name: z.ZodEffects<z.ZodString, string, string>;
4
+ content: z.ZodString;
5
+ buttons: z.ZodArray<z.ZodString, "many">;
6
+ id: z.ZodString;
7
+ language: z.ZodString;
8
+ components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9
+ type: z.ZodLiteral<"BODY">;
10
+ text: z.ZodString;
11
+ }, "strip", z.ZodTypeAny, {
12
+ type: "BODY";
13
+ text: string;
14
+ }, {
15
+ type: "BODY";
16
+ text: string;
17
+ }>, z.ZodObject<{
18
+ type: z.ZodLiteral<"BUTTONS">;
19
+ buttons: z.ZodArray<z.ZodObject<{
20
+ text: z.ZodString;
21
+ type: z.ZodLiteral<"QUICK_REPLY">;
22
+ }, "strip", z.ZodTypeAny, {
23
+ type: "QUICK_REPLY";
24
+ text: string;
25
+ }, {
26
+ type: "QUICK_REPLY";
27
+ text: string;
28
+ }>, "many">;
29
+ }, "strip", z.ZodTypeAny, {
30
+ type: "BUTTONS";
31
+ buttons: {
32
+ type: "QUICK_REPLY";
33
+ text: string;
34
+ }[];
35
+ }, {
36
+ type: "BUTTONS";
37
+ buttons: {
38
+ type: "QUICK_REPLY";
39
+ text: string;
40
+ }[];
41
+ }>]>, "many">;
42
+ allow_category_change: z.ZodBoolean;
43
+ category: z.ZodNativeEnum<{
44
+ MARKETING: "MARKETING";
45
+ UTILITY: "UTILITY";
46
+ AUTHENTICATION: "AUTHENTICATION";
47
+ }>;
48
+ status: z.ZodNativeEnum<{
49
+ APRROVED: "APRROVED";
50
+ PENDING: "PENDING";
51
+ REJECTED: "REJECTED";
52
+ }>;
53
+ }, "content" | "buttons">, "strip", z.ZodTypeAny, {
54
+ content: string;
55
+ buttons: string[];
56
+ }, {
57
+ content: string;
58
+ buttons: string[];
59
+ }>;
60
+ declare const UpdateTemplateDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
61
+ content: z.ZodString;
62
+ buttons: z.ZodArray<z.ZodString, "many">;
63
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
64
+ content: string;
65
+ buttons: string[];
66
+ }, {
67
+ content: string;
68
+ buttons: string[];
69
+ }>>;
70
+ export declare class UpdateTemplateDto extends UpdateTemplateDto_base {
71
+ }
72
+ export declare const updateTemplateResponseSchema: z.ZodObject<{
73
+ success: z.ZodBoolean;
74
+ }, "strip", z.ZodTypeAny, {
75
+ success: boolean;
76
+ }, {
77
+ success: boolean;
78
+ }>;
79
+ declare const UpdateTemplateResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
80
+ success: z.ZodBoolean;
81
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
82
+ success: boolean;
83
+ }, {
84
+ success: boolean;
85
+ }>>;
86
+ export declare class UpdateTemplateResponseDto extends UpdateTemplateResponseDto_base {
87
+ }
88
+ export {};
@@ -0,0 +1,23 @@
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.UpdateTemplateResponseDto = exports.updateTemplateResponseSchema = exports.UpdateTemplateDto = exports.updateTemplateSchema = void 0;
7
+ const template_dto_1 = require("./template.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const zod_1 = __importDefault(require("zod"));
10
+ exports.updateTemplateSchema = template_dto_1.templateSchema.pick({
11
+ content: true,
12
+ buttons: true,
13
+ });
14
+ class UpdateTemplateDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTemplateSchema) {
15
+ }
16
+ exports.UpdateTemplateDto = UpdateTemplateDto;
17
+ exports.updateTemplateResponseSchema = zod_1.default.object({
18
+ success: zod_1.default.boolean(),
19
+ });
20
+ class UpdateTemplateResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTemplateResponseSchema) {
21
+ }
22
+ exports.UpdateTemplateResponseDto = UpdateTemplateResponseDto;
23
+ //# sourceMappingURL=update-template.dto.js.map
@@ -1 +1,10 @@
1
+ export * from './dto/create-template.dto';
2
+ export * from './dto/delete-template.dto';
3
+ export * from './dto/find-messages-by-phone.dto';
4
+ export * from './dto/find-template-by-id.dto';
5
+ export * from './dto/find-templates.dto';
1
6
  export * from './dto/message.dto';
7
+ export * from './dto/send-message-to-phone.dto';
8
+ export * from './dto/send-template-to-tags.dto';
9
+ export * from './dto/template.dto';
10
+ export * from './dto/update-template.dto';
@@ -14,5 +14,14 @@ 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("./dto/create-template.dto"), exports);
18
+ __exportStar(require("./dto/delete-template.dto"), exports);
19
+ __exportStar(require("./dto/find-messages-by-phone.dto"), exports);
20
+ __exportStar(require("./dto/find-template-by-id.dto"), exports);
21
+ __exportStar(require("./dto/find-templates.dto"), exports);
17
22
  __exportStar(require("./dto/message.dto"), exports);
23
+ __exportStar(require("./dto/send-message-to-phone.dto"), exports);
24
+ __exportStar(require("./dto/send-template-to-tags.dto"), exports);
25
+ __exportStar(require("./dto/template.dto"), exports);
26
+ __exportStar(require("./dto/update-template.dto"), exports);
18
27
  //# sourceMappingURL=exports.js.map
@@ -56,7 +56,7 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
56
56
  id: z.ZodString;
57
57
  from: z.ZodOptional<z.ZodString>;
58
58
  to: z.ZodOptional<z.ZodString>;
59
- timestamp: z.ZodNumber;
59
+ timestamp: z.ZodString;
60
60
  }, {
61
61
  text: z.ZodObject<{
62
62
  body: z.ZodString;
@@ -70,26 +70,26 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
70
70
  }>, "strip", z.ZodTypeAny, {
71
71
  id: string;
72
72
  type: "text";
73
- timestamp: number;
74
73
  text: {
75
74
  body: string;
76
75
  };
76
+ timestamp: string;
77
77
  from?: string | undefined;
78
78
  to?: string | undefined;
79
79
  }, {
80
80
  id: string;
81
81
  type: "text";
82
- timestamp: number;
83
82
  text: {
84
83
  body: string;
85
84
  };
85
+ timestamp: string;
86
86
  from?: string | undefined;
87
87
  to?: string | undefined;
88
88
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
89
89
  id: z.ZodString;
90
90
  from: z.ZodOptional<z.ZodString>;
91
91
  to: z.ZodOptional<z.ZodString>;
92
- timestamp: z.ZodNumber;
92
+ timestamp: z.ZodString;
93
93
  }, {
94
94
  templateName: z.ZodString;
95
95
  }>, {
@@ -97,14 +97,14 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
97
97
  }>, "strip", z.ZodTypeAny, {
98
98
  id: string;
99
99
  type: "template";
100
- timestamp: number;
100
+ timestamp: string;
101
101
  templateName: string;
102
102
  from?: string | undefined;
103
103
  to?: string | undefined;
104
104
  }, {
105
105
  id: string;
106
106
  type: "template";
107
- timestamp: number;
107
+ timestamp: string;
108
108
  templateName: string;
109
109
  from?: string | undefined;
110
110
  to?: string | undefined;
@@ -120,16 +120,16 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
120
120
  message: {
121
121
  id: string;
122
122
  type: "text";
123
- timestamp: number;
124
123
  text: {
125
124
  body: string;
126
125
  };
126
+ timestamp: string;
127
127
  from?: string | undefined;
128
128
  to?: string | undefined;
129
129
  } | {
130
130
  id: string;
131
131
  type: "template";
132
- timestamp: number;
132
+ timestamp: string;
133
133
  templateName: string;
134
134
  from?: string | undefined;
135
135
  to?: string | undefined;
@@ -140,16 +140,16 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
140
140
  message: {
141
141
  id: string;
142
142
  type: "text";
143
- timestamp: number;
144
143
  text: {
145
144
  body: string;
146
145
  };
146
+ timestamp: string;
147
147
  from?: string | undefined;
148
148
  to?: string | undefined;
149
149
  } | {
150
150
  id: string;
151
151
  type: "template";
152
- timestamp: number;
152
+ timestamp: string;
153
153
  templateName: string;
154
154
  from?: string | undefined;
155
155
  to?: string | undefined;
@@ -181,16 +181,16 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
181
181
  message: {
182
182
  id: string;
183
183
  type: "text";
184
- timestamp: number;
185
184
  text: {
186
185
  body: string;
187
186
  };
187
+ timestamp: string;
188
188
  from?: string | undefined;
189
189
  to?: string | undefined;
190
190
  } | {
191
191
  id: string;
192
192
  type: "template";
193
- timestamp: number;
193
+ timestamp: string;
194
194
  templateName: string;
195
195
  from?: string | undefined;
196
196
  to?: string | undefined;
@@ -231,16 +231,16 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
231
231
  message: {
232
232
  id: string;
233
233
  type: "text";
234
- timestamp: number;
235
234
  text: {
236
235
  body: string;
237
236
  };
237
+ timestamp: string;
238
238
  from?: string | undefined;
239
239
  to?: string | undefined;
240
240
  } | {
241
241
  id: string;
242
242
  type: "template";
243
- timestamp: number;
243
+ timestamp: string;
244
244
  templateName: string;
245
245
  from?: string | undefined;
246
246
  to?: string | undefined;
@@ -283,16 +283,16 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
283
283
  message: {
284
284
  id: string;
285
285
  type: "text";
286
- timestamp: number;
287
286
  text: {
288
287
  body: string;
289
288
  };
289
+ timestamp: string;
290
290
  from?: string | undefined;
291
291
  to?: string | undefined;
292
292
  } | {
293
293
  id: string;
294
294
  type: "template";
295
- timestamp: number;
295
+ timestamp: string;
296
296
  templateName: string;
297
297
  from?: string | undefined;
298
298
  to?: string | undefined;
@@ -335,16 +335,16 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
335
335
  message: {
336
336
  id: string;
337
337
  type: "text";
338
- timestamp: number;
339
338
  text: {
340
339
  body: string;
341
340
  };
341
+ timestamp: string;
342
342
  from?: string | undefined;
343
343
  to?: string | undefined;
344
344
  } | {
345
345
  id: string;
346
346
  type: "template";
347
- timestamp: number;
347
+ timestamp: string;
348
348
  templateName: string;
349
349
  from?: string | undefined;
350
350
  to?: string | undefined;
@@ -417,7 +417,7 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
417
417
  id: z.ZodString;
418
418
  from: z.ZodOptional<z.ZodString>;
419
419
  to: z.ZodOptional<z.ZodString>;
420
- timestamp: z.ZodNumber;
420
+ timestamp: z.ZodString;
421
421
  }, {
422
422
  text: z.ZodObject<{
423
423
  body: z.ZodString;
@@ -431,26 +431,26 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
431
431
  }>, "strip", z.ZodTypeAny, {
432
432
  id: string;
433
433
  type: "text";
434
- timestamp: number;
435
434
  text: {
436
435
  body: string;
437
436
  };
437
+ timestamp: string;
438
438
  from?: string | undefined;
439
439
  to?: string | undefined;
440
440
  }, {
441
441
  id: string;
442
442
  type: "text";
443
- timestamp: number;
444
443
  text: {
445
444
  body: string;
446
445
  };
446
+ timestamp: string;
447
447
  from?: string | undefined;
448
448
  to?: string | undefined;
449
449
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
450
450
  id: z.ZodString;
451
451
  from: z.ZodOptional<z.ZodString>;
452
452
  to: z.ZodOptional<z.ZodString>;
453
- timestamp: z.ZodNumber;
453
+ timestamp: z.ZodString;
454
454
  }, {
455
455
  templateName: z.ZodString;
456
456
  }>, {
@@ -458,14 +458,14 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
458
458
  }>, "strip", z.ZodTypeAny, {
459
459
  id: string;
460
460
  type: "template";
461
- timestamp: number;
461
+ timestamp: string;
462
462
  templateName: string;
463
463
  from?: string | undefined;
464
464
  to?: string | undefined;
465
465
  }, {
466
466
  id: string;
467
467
  type: "template";
468
- timestamp: number;
468
+ timestamp: string;
469
469
  templateName: string;
470
470
  from?: string | undefined;
471
471
  to?: string | undefined;
@@ -480,16 +480,16 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
480
480
  message: {
481
481
  id: string;
482
482
  type: "text";
483
- timestamp: number;
484
483
  text: {
485
484
  body: string;
486
485
  };
486
+ timestamp: string;
487
487
  from?: string | undefined;
488
488
  to?: string | undefined;
489
489
  } | {
490
490
  id: string;
491
491
  type: "template";
492
- timestamp: number;
492
+ timestamp: string;
493
493
  templateName: string;
494
494
  from?: string | undefined;
495
495
  to?: string | undefined;
@@ -500,16 +500,16 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
500
500
  message: {
501
501
  id: string;
502
502
  type: "text";
503
- timestamp: number;
504
503
  text: {
505
504
  body: string;
506
505
  };
506
+ timestamp: string;
507
507
  from?: string | undefined;
508
508
  to?: string | undefined;
509
509
  } | {
510
510
  id: string;
511
511
  type: "template";
512
- timestamp: number;
512
+ timestamp: string;
513
513
  templateName: string;
514
514
  from?: string | undefined;
515
515
  to?: string | undefined;
@@ -541,16 +541,16 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
541
541
  message: {
542
542
  id: string;
543
543
  type: "text";
544
- timestamp: number;
545
544
  text: {
546
545
  body: string;
547
546
  };
547
+ timestamp: string;
548
548
  from?: string | undefined;
549
549
  to?: string | undefined;
550
550
  } | {
551
551
  id: string;
552
552
  type: "template";
553
- timestamp: number;
553
+ timestamp: string;
554
554
  templateName: string;
555
555
  from?: string | undefined;
556
556
  to?: string | undefined;
@@ -591,16 +591,16 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
591
591
  message: {
592
592
  id: string;
593
593
  type: "text";
594
- timestamp: number;
595
594
  text: {
596
595
  body: string;
597
596
  };
597
+ timestamp: string;
598
598
  from?: string | undefined;
599
599
  to?: string | undefined;
600
600
  } | {
601
601
  id: string;
602
602
  type: "template";
603
- timestamp: number;
603
+ timestamp: string;
604
604
  templateName: string;
605
605
  from?: string | undefined;
606
606
  to?: string | undefined;
@@ -643,16 +643,16 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
643
643
  message: {
644
644
  id: string;
645
645
  type: "text";
646
- timestamp: number;
647
646
  text: {
648
647
  body: string;
649
648
  };
649
+ timestamp: string;
650
650
  from?: string | undefined;
651
651
  to?: string | undefined;
652
652
  } | {
653
653
  id: string;
654
654
  type: "template";
655
- timestamp: number;
655
+ timestamp: string;
656
656
  templateName: string;
657
657
  from?: string | undefined;
658
658
  to?: string | undefined;
@@ -695,16 +695,16 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
695
695
  message: {
696
696
  id: string;
697
697
  type: "text";
698
- timestamp: number;
699
698
  text: {
700
699
  body: string;
701
700
  };
701
+ timestamp: string;
702
702
  from?: string | undefined;
703
703
  to?: string | undefined;
704
704
  } | {
705
705
  id: string;
706
706
  type: "template";
707
- timestamp: number;
707
+ timestamp: string;
708
708
  templateName: string;
709
709
  from?: string | undefined;
710
710
  to?: string | undefined;