expo-backend-types 0.23.0 → 0.24.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 (29) hide show
  1. package/dist/src/i18n/es.d.ts +51 -0
  2. package/dist/src/i18n/es.js +51 -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/message.dto.d.ts +46 -16
  16. package/dist/src/message/dto/message.dto.js +1 -1
  17. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +40 -0
  18. package/dist/src/message/dto/send-message-to-phone.dto.js +23 -0
  19. package/dist/src/message/dto/send-template-to-tags.dto.d.ts +40 -0
  20. package/dist/src/message/dto/send-template-to-tags.dto.js +23 -0
  21. package/dist/src/message/dto/template.dto.d.ts +154 -0
  22. package/dist/src/message/dto/template.dto.js +63 -0
  23. package/dist/src/message/dto/update-template.dto.d.ts +88 -0
  24. package/dist/src/message/dto/update-template.dto.js +23 -0
  25. package/dist/src/message/exports.d.ts +9 -0
  26. package/dist/src/message/exports.js +9 -0
  27. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +36 -36
  28. package/dist/types/schema.d.ts +401 -2
  29. package/package.json +1 -1
@@ -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;