expo-backend-types 0.24.0-EXPO-288-EB-Imagenes.1 → 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 (62) hide show
  1. package/dist/src/i18n/es.d.ts +78 -24
  2. package/dist/src/i18n/es.js +78 -24
  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/prisma-schema/default.d.ts +1 -1
  37. package/dist/types/prisma-schema/edge.d.ts +1 -1
  38. package/dist/types/prisma-schema/edge.js +7 -11
  39. package/dist/types/prisma-schema/index-browser.js +4 -7
  40. package/dist/types/prisma-schema/index.d.ts +1036 -805
  41. package/dist/types/prisma-schema/index.js +7 -11
  42. package/dist/types/prisma-schema/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  43. package/dist/types/prisma-schema/package.json +1 -14
  44. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -21
  45. package/dist/types/prisma-schema/runtime/edge.js +18 -21
  46. package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
  47. package/dist/types/prisma-schema/runtime/library.d.ts +87 -297
  48. package/dist/types/prisma-schema/runtime/library.js +61 -64
  49. package/dist/types/prisma-schema/runtime/react-native.js +28 -31
  50. package/dist/types/prisma-schema/runtime/wasm.js +19 -22
  51. package/dist/types/prisma-schema/wasm.d.ts +1 -1
  52. package/dist/types/prisma-schema/wasm.js +4 -7
  53. package/dist/types/schema.d.ts +524 -44
  54. package/package.json +4 -5
  55. package/dist/src/image/dto/delete-image.dto.d.ts +0 -18
  56. package/dist/src/image/dto/delete-image.dto.js +0 -12
  57. package/dist/src/image/dto/image.dto.d.ts +0 -24
  58. package/dist/src/image/dto/image.dto.js +0 -18
  59. package/dist/src/image/dto/update-image.dto.d.ts +0 -18
  60. package/dist/src/image/dto/update-image.dto.js +0 -15
  61. package/dist/src/image/exports.d.ts +0 -3
  62. package/dist/src/image/exports.js +0 -20
@@ -703,7 +703,39 @@ export interface paths {
703
703
  patch: operations["ProfileController_update"];
704
704
  trace?: never;
705
705
  };
706
- "/image/update/{id}": {
706
+ "/csv/download-profiles": {
707
+ parameters: {
708
+ query?: never;
709
+ header?: never;
710
+ path?: never;
711
+ cookie?: never;
712
+ };
713
+ get: operations["CsvController_downloadProfiles"];
714
+ put?: never;
715
+ post?: never;
716
+ delete?: never;
717
+ options?: never;
718
+ head?: never;
719
+ patch?: never;
720
+ trace?: never;
721
+ };
722
+ "/csv/download-all-tables": {
723
+ parameters: {
724
+ query?: never;
725
+ header?: never;
726
+ path?: never;
727
+ cookie?: never;
728
+ };
729
+ get: operations["CsvController_downloadAllTables"];
730
+ put?: never;
731
+ post?: never;
732
+ delete?: never;
733
+ options?: never;
734
+ head?: never;
735
+ patch?: never;
736
+ trace?: never;
737
+ };
738
+ "/message/create-template": {
707
739
  parameters: {
708
740
  query?: never;
709
741
  header?: never;
@@ -712,14 +744,46 @@ export interface paths {
712
744
  };
713
745
  get?: never;
714
746
  put?: never;
747
+ post: operations["MessageController_createTemplate"];
748
+ delete?: never;
749
+ options?: never;
750
+ head?: never;
751
+ patch?: never;
752
+ trace?: never;
753
+ };
754
+ "/message/templates": {
755
+ parameters: {
756
+ query?: never;
757
+ header?: never;
758
+ path?: never;
759
+ cookie?: never;
760
+ };
761
+ get: operations["MessageController_findTemplates"];
762
+ put?: never;
715
763
  post?: never;
716
764
  delete?: never;
717
765
  options?: never;
718
766
  head?: never;
719
- patch: operations["ImageController_updateImage"];
767
+ patch?: never;
720
768
  trace?: never;
721
769
  };
722
- "/image/delete/{id}": {
770
+ "/message/template/{id}": {
771
+ parameters: {
772
+ query?: never;
773
+ header?: never;
774
+ path?: never;
775
+ cookie?: never;
776
+ };
777
+ get: operations["MessageController_findTemplateById"];
778
+ put?: never;
779
+ post?: never;
780
+ delete?: never;
781
+ options?: never;
782
+ head?: never;
783
+ patch?: never;
784
+ trace?: never;
785
+ };
786
+ "/message/template/{metaId}": {
723
787
  parameters: {
724
788
  query?: never;
725
789
  header?: never;
@@ -729,20 +793,52 @@ export interface paths {
729
793
  get?: never;
730
794
  put?: never;
731
795
  post?: never;
732
- delete: operations["ImageController_deleteImage"];
796
+ delete: operations["MessageController_deleteTemplate"];
797
+ options?: never;
798
+ head?: never;
799
+ patch: operations["MessageController_updateTemplate"];
800
+ trace?: never;
801
+ };
802
+ "/message/send-message-to-phone": {
803
+ parameters: {
804
+ query?: never;
805
+ header?: never;
806
+ path?: never;
807
+ cookie?: never;
808
+ };
809
+ get?: never;
810
+ put?: never;
811
+ post: operations["MessageController_sendMessageToPhone"];
812
+ delete?: never;
733
813
  options?: never;
734
814
  head?: never;
735
815
  patch?: never;
736
816
  trace?: never;
737
817
  };
738
- "/csv/download-profiles": {
818
+ "/message/send-template-to-tags": {
739
819
  parameters: {
740
820
  query?: never;
741
821
  header?: never;
742
822
  path?: never;
743
823
  cookie?: never;
744
824
  };
745
- get: operations["CsvController_downloadProfiles"];
825
+ get?: never;
826
+ put?: never;
827
+ post: operations["MessageController_sendTemplateToTags"];
828
+ delete?: never;
829
+ options?: never;
830
+ head?: never;
831
+ patch?: never;
832
+ trace?: never;
833
+ };
834
+ "/message/find-messages-by-phone/{phone}": {
835
+ parameters: {
836
+ query?: never;
837
+ header?: never;
838
+ path?: never;
839
+ cookie?: never;
840
+ };
841
+ get: operations["MessageController_findMessagesByPhone"];
746
842
  put?: never;
747
843
  post?: never;
748
844
  delete?: never;
@@ -751,14 +847,46 @@ export interface paths {
751
847
  patch?: never;
752
848
  trace?: never;
753
849
  };
754
- "/csv/download-all-tables": {
850
+ "/message/read-messages/{phone}": {
755
851
  parameters: {
756
852
  query?: never;
757
853
  header?: never;
758
854
  path?: never;
759
855
  cookie?: never;
760
856
  };
761
- get: operations["CsvController_downloadAllTables"];
857
+ get?: never;
858
+ put?: never;
859
+ post: operations["MessageController_readMessages"];
860
+ delete?: never;
861
+ options?: never;
862
+ head?: never;
863
+ patch?: never;
864
+ trace?: never;
865
+ };
866
+ "/message/non-read-messages": {
867
+ parameters: {
868
+ query?: never;
869
+ header?: never;
870
+ path?: never;
871
+ cookie?: never;
872
+ };
873
+ get: operations["MessageController_nonReadMessages"];
874
+ put?: never;
875
+ post?: never;
876
+ delete?: never;
877
+ options?: never;
878
+ head?: never;
879
+ patch?: never;
880
+ trace?: never;
881
+ };
882
+ "/message/last-message-timestamp/{phone}": {
883
+ parameters: {
884
+ query?: never;
885
+ header?: never;
886
+ path?: never;
887
+ cookie?: never;
888
+ };
889
+ get: operations["MessageController_getLastMessageTimestamp"];
762
890
  put?: never;
763
891
  post?: never;
764
892
  delete?: never;
@@ -767,6 +895,22 @@ export interface paths {
767
895
  patch?: never;
768
896
  trace?: never;
769
897
  };
898
+ "/webhook": {
899
+ parameters: {
900
+ query?: never;
901
+ header?: never;
902
+ path?: never;
903
+ cookie?: never;
904
+ };
905
+ get: operations["WebhookController_verify"];
906
+ put?: never;
907
+ post: operations["WebhookController_receiveMessage"];
908
+ delete?: never;
909
+ options?: never;
910
+ head?: never;
911
+ patch?: never;
912
+ trace?: never;
913
+ };
770
914
  }
771
915
  export type webhooks = Record<string, never>;
772
916
  export interface components {
@@ -1566,7 +1710,7 @@ export interface components {
1566
1710
  id: string;
1567
1711
  from?: string;
1568
1712
  to?: string;
1569
- timestamp: number;
1713
+ timestamp: string;
1570
1714
  text: {
1571
1715
  body: string;
1572
1716
  };
@@ -1575,7 +1719,7 @@ export interface components {
1575
1719
  id: string;
1576
1720
  from?: string;
1577
1721
  to?: string;
1578
- timestamp: number;
1722
+ timestamp: string;
1579
1723
  templateName: string;
1580
1724
  type: "template";
1581
1725
  };
@@ -1869,12 +2013,6 @@ export interface components {
1869
2013
  };
1870
2014
  tags?: string[];
1871
2015
  };
1872
- UpdateImageResponseDto: {
1873
- message: string;
1874
- };
1875
- DeleteImageResponseDto: {
1876
- message: string;
1877
- };
1878
2016
  DownloadProfilesDto: {
1879
2017
  password: string;
1880
2018
  };
@@ -1883,6 +2021,99 @@ export interface components {
1883
2021
  password: string;
1884
2022
  };
1885
2023
  Buffer: Record<string, never>;
2024
+ CreateTemplateDto: {
2025
+ name: string;
2026
+ content: string;
2027
+ buttons: string[];
2028
+ };
2029
+ CreateTemplateResponseDto: {
2030
+ message: string;
2031
+ };
2032
+ FindTemplatesResponseDto: {
2033
+ templates: {
2034
+ name: string;
2035
+ id: string;
2036
+ status: "APRROVED" | "PENDING" | "REJECTED";
2037
+ }[];
2038
+ };
2039
+ FindTemplateByIdResponseDto: {
2040
+ template: {
2041
+ name: string;
2042
+ language: string;
2043
+ status: "APRROVED" | "PENDING" | "REJECTED";
2044
+ id: string;
2045
+ category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
2046
+ components: ({
2047
+ type: "BODY";
2048
+ text: string;
2049
+ } | {
2050
+ type: "BUTTONS";
2051
+ buttons: {
2052
+ text: string;
2053
+ type: "QUICK_REPLY";
2054
+ }[];
2055
+ })[];
2056
+ };
2057
+ };
2058
+ UpdateTemplateDto: {
2059
+ content: string;
2060
+ buttons: string[];
2061
+ };
2062
+ DeleteTemplateResponseDto: {
2063
+ success: boolean;
2064
+ };
2065
+ SendMessageToPhoneDto: {
2066
+ phone: string;
2067
+ message: string;
2068
+ };
2069
+ SendMessageToPhoneResponseDto: {
2070
+ success: boolean;
2071
+ };
2072
+ SendTemplateToTagsDto: {
2073
+ tags: string[];
2074
+ templateName: string;
2075
+ };
2076
+ SendTemplateToTagsResponseDto: {
2077
+ success: boolean;
2078
+ };
2079
+ FindMessagesByPhoneNumberResponseDto: {
2080
+ inChat: boolean;
2081
+ messages: {
2082
+ message: {
2083
+ id: string;
2084
+ from?: string;
2085
+ to?: string;
2086
+ timestamp: string;
2087
+ text: {
2088
+ body: string;
2089
+ };
2090
+ type: "text";
2091
+ } | {
2092
+ id: string;
2093
+ from?: string;
2094
+ to?: string;
2095
+ timestamp: string;
2096
+ templateName: string;
2097
+ type: "template";
2098
+ };
2099
+ created_at: string;
2100
+ state: "SENT" | "RECEIVED" | "SEEN";
2101
+ }[];
2102
+ };
2103
+ ReadMessagesResponseDto: {
2104
+ success: boolean;
2105
+ };
2106
+ NonReadMessagesDto: {
2107
+ messages: {
2108
+ profilePhoneNumber: string;
2109
+ _count: {
2110
+ id: number;
2111
+ };
2112
+ }[];
2113
+ };
2114
+ GetLastMessageTimestampResponseDto: {
2115
+ timestamp: number;
2116
+ };
1886
2117
  };
1887
2118
  responses: never;
1888
2119
  parameters: never;
@@ -3312,26 +3543,28 @@ export interface operations {
3312
3543
  };
3313
3544
  };
3314
3545
  };
3315
- ImageController_updateImage: {
3546
+ CsvController_downloadProfiles: {
3316
3547
  parameters: {
3317
3548
  query?: never;
3318
3549
  header?: never;
3319
- path: {
3320
- id: string;
3321
- };
3550
+ path?: never;
3322
3551
  cookie?: never;
3323
3552
  };
3324
- requestBody?: never;
3553
+ requestBody: {
3554
+ content: {
3555
+ "application/json": components["schemas"]["DownloadProfilesDto"];
3556
+ };
3557
+ };
3325
3558
  responses: {
3326
- 200: {
3559
+ 409: {
3327
3560
  headers: {
3328
3561
  [name: string]: unknown;
3329
3562
  };
3330
3563
  content: {
3331
- "application/json": components["schemas"]["UpdateImageResponseDto"];
3564
+ "application/json": components["schemas"]["ErrorDto"];
3332
3565
  };
3333
3566
  };
3334
- 409: {
3567
+ 500: {
3335
3568
  headers: {
3336
3569
  [name: string]: unknown;
3337
3570
  };
@@ -3339,15 +3572,30 @@ export interface operations {
3339
3572
  "application/json": components["schemas"]["ErrorDto"];
3340
3573
  };
3341
3574
  };
3342
- 422: {
3575
+ default: {
3343
3576
  headers: {
3344
3577
  [name: string]: unknown;
3345
3578
  };
3346
3579
  content: {
3347
- "application/json": components["schemas"]["ErrorDto"];
3580
+ "application/json": components["schemas"]["StreamableFile"];
3348
3581
  };
3349
3582
  };
3350
- 500: {
3583
+ };
3584
+ };
3585
+ CsvController_downloadAllTables: {
3586
+ parameters: {
3587
+ query?: never;
3588
+ header?: never;
3589
+ path?: never;
3590
+ cookie?: never;
3591
+ };
3592
+ requestBody: {
3593
+ content: {
3594
+ "application/json": components["schemas"]["DownloadAllTablesDto"];
3595
+ };
3596
+ };
3597
+ responses: {
3598
+ 409: {
3351
3599
  headers: {
3352
3600
  [name: string]: unknown;
3353
3601
  };
@@ -3355,9 +3603,59 @@ export interface operations {
3355
3603
  "application/json": components["schemas"]["ErrorDto"];
3356
3604
  };
3357
3605
  };
3606
+ default: {
3607
+ headers: {
3608
+ [name: string]: unknown;
3609
+ };
3610
+ content: {
3611
+ "application/json": components["schemas"]["Buffer"];
3612
+ };
3613
+ };
3614
+ };
3615
+ };
3616
+ MessageController_createTemplate: {
3617
+ parameters: {
3618
+ query?: never;
3619
+ header?: never;
3620
+ path?: never;
3621
+ cookie?: never;
3622
+ };
3623
+ requestBody: {
3624
+ content: {
3625
+ "application/json": components["schemas"]["CreateTemplateDto"];
3626
+ };
3627
+ };
3628
+ responses: {
3629
+ 201: {
3630
+ headers: {
3631
+ [name: string]: unknown;
3632
+ };
3633
+ content: {
3634
+ "application/json": components["schemas"]["CreateTemplateResponseDto"];
3635
+ };
3636
+ };
3637
+ };
3638
+ };
3639
+ MessageController_findTemplates: {
3640
+ parameters: {
3641
+ query?: never;
3642
+ header?: never;
3643
+ path?: never;
3644
+ cookie?: never;
3645
+ };
3646
+ requestBody?: never;
3647
+ responses: {
3648
+ 200: {
3649
+ headers: {
3650
+ [name: string]: unknown;
3651
+ };
3652
+ content: {
3653
+ "application/json": components["schemas"]["FindTemplatesResponseDto"];
3654
+ };
3655
+ };
3358
3656
  };
3359
3657
  };
3360
- ImageController_deleteImage: {
3658
+ MessageController_findTemplateById: {
3361
3659
  parameters: {
3362
3660
  query?: never;
3363
3661
  header?: never;
@@ -3373,7 +3671,28 @@ export interface operations {
3373
3671
  [name: string]: unknown;
3374
3672
  };
3375
3673
  content: {
3376
- "application/json": components["schemas"]["DeleteImageResponseDto"];
3674
+ "application/json": components["schemas"]["FindTemplateByIdResponseDto"];
3675
+ };
3676
+ };
3677
+ };
3678
+ };
3679
+ MessageController_deleteTemplate: {
3680
+ parameters: {
3681
+ query?: never;
3682
+ header?: never;
3683
+ path: {
3684
+ metaId: string;
3685
+ };
3686
+ cookie?: never;
3687
+ };
3688
+ requestBody?: never;
3689
+ responses: {
3690
+ 200: {
3691
+ headers: {
3692
+ [name: string]: unknown;
3693
+ };
3694
+ content: {
3695
+ "application/json": components["schemas"]["DeleteTemplateResponseDto"];
3377
3696
  };
3378
3697
  };
3379
3698
  404: {
@@ -3384,7 +3703,32 @@ export interface operations {
3384
3703
  "application/json": components["schemas"]["ErrorDto"];
3385
3704
  };
3386
3705
  };
3387
- 500: {
3706
+ };
3707
+ };
3708
+ MessageController_updateTemplate: {
3709
+ parameters: {
3710
+ query?: never;
3711
+ header?: never;
3712
+ path: {
3713
+ metaId: string;
3714
+ };
3715
+ cookie?: never;
3716
+ };
3717
+ requestBody: {
3718
+ content: {
3719
+ "application/json": components["schemas"]["UpdateTemplateDto"];
3720
+ };
3721
+ };
3722
+ responses: {
3723
+ 200: {
3724
+ headers: {
3725
+ [name: string]: unknown;
3726
+ };
3727
+ content: {
3728
+ "application/json": components["schemas"]["UpdateTemplateDto"];
3729
+ };
3730
+ };
3731
+ 404: {
3388
3732
  headers: {
3389
3733
  [name: string]: unknown;
3390
3734
  };
@@ -3394,7 +3738,7 @@ export interface operations {
3394
3738
  };
3395
3739
  };
3396
3740
  };
3397
- CsvController_downloadProfiles: {
3741
+ MessageController_sendMessageToPhone: {
3398
3742
  parameters: {
3399
3743
  query?: never;
3400
3744
  header?: never;
@@ -3403,16 +3747,16 @@ export interface operations {
3403
3747
  };
3404
3748
  requestBody: {
3405
3749
  content: {
3406
- "application/json": components["schemas"]["DownloadProfilesDto"];
3750
+ "application/json": components["schemas"]["SendMessageToPhoneDto"];
3407
3751
  };
3408
3752
  };
3409
3753
  responses: {
3410
- 409: {
3754
+ 200: {
3411
3755
  headers: {
3412
3756
  [name: string]: unknown;
3413
3757
  };
3414
3758
  content: {
3415
- "application/json": components["schemas"]["ErrorDto"];
3759
+ "application/json": components["schemas"]["SendMessageToPhoneResponseDto"];
3416
3760
  };
3417
3761
  };
3418
3762
  500: {
@@ -3423,30 +3767,80 @@ export interface operations {
3423
3767
  "application/json": components["schemas"]["ErrorDto"];
3424
3768
  };
3425
3769
  };
3426
- default: {
3770
+ };
3771
+ };
3772
+ MessageController_sendTemplateToTags: {
3773
+ parameters: {
3774
+ query?: never;
3775
+ header?: never;
3776
+ path?: never;
3777
+ cookie?: never;
3778
+ };
3779
+ requestBody: {
3780
+ content: {
3781
+ "application/json": components["schemas"]["SendTemplateToTagsDto"];
3782
+ };
3783
+ };
3784
+ responses: {
3785
+ 200: {
3427
3786
  headers: {
3428
3787
  [name: string]: unknown;
3429
3788
  };
3430
3789
  content: {
3431
- "application/json": components["schemas"]["StreamableFile"];
3790
+ "application/json": components["schemas"]["SendTemplateToTagsResponseDto"];
3432
3791
  };
3433
3792
  };
3434
3793
  };
3435
3794
  };
3436
- CsvController_downloadAllTables: {
3795
+ MessageController_findMessagesByPhone: {
3437
3796
  parameters: {
3438
3797
  query?: never;
3439
3798
  header?: never;
3440
- path?: never;
3799
+ path: {
3800
+ phone: string;
3801
+ };
3441
3802
  cookie?: never;
3442
3803
  };
3443
- requestBody: {
3444
- content: {
3445
- "application/json": components["schemas"]["DownloadAllTablesDto"];
3804
+ requestBody?: never;
3805
+ responses: {
3806
+ 200: {
3807
+ headers: {
3808
+ [name: string]: unknown;
3809
+ };
3810
+ content: {
3811
+ "application/json": components["schemas"]["FindMessagesByPhoneNumberResponseDto"];
3812
+ };
3813
+ };
3814
+ 404: {
3815
+ headers: {
3816
+ [name: string]: unknown;
3817
+ };
3818
+ content: {
3819
+ "application/json": components["schemas"]["ErrorDto"];
3820
+ };
3446
3821
  };
3447
3822
  };
3823
+ };
3824
+ MessageController_readMessages: {
3825
+ parameters: {
3826
+ query?: never;
3827
+ header?: never;
3828
+ path: {
3829
+ phone: string;
3830
+ };
3831
+ cookie?: never;
3832
+ };
3833
+ requestBody?: never;
3448
3834
  responses: {
3449
- 409: {
3835
+ 200: {
3836
+ headers: {
3837
+ [name: string]: unknown;
3838
+ };
3839
+ content: {
3840
+ "application/json": components["schemas"]["ReadMessagesResponseDto"];
3841
+ };
3842
+ };
3843
+ 500: {
3450
3844
  headers: {
3451
3845
  [name: string]: unknown;
3452
3846
  };
@@ -3454,13 +3848,99 @@ export interface operations {
3454
3848
  "application/json": components["schemas"]["ErrorDto"];
3455
3849
  };
3456
3850
  };
3457
- default: {
3851
+ };
3852
+ };
3853
+ MessageController_nonReadMessages: {
3854
+ parameters: {
3855
+ query?: never;
3856
+ header?: never;
3857
+ path?: never;
3858
+ cookie?: never;
3859
+ };
3860
+ requestBody?: never;
3861
+ responses: {
3862
+ 200: {
3458
3863
  headers: {
3459
3864
  [name: string]: unknown;
3460
3865
  };
3461
3866
  content: {
3462
- "application/json": components["schemas"]["Buffer"];
3867
+ "application/json": components["schemas"]["NonReadMessagesDto"];
3868
+ };
3869
+ };
3870
+ };
3871
+ };
3872
+ MessageController_getLastMessageTimestamp: {
3873
+ parameters: {
3874
+ query?: never;
3875
+ header?: never;
3876
+ path: {
3877
+ phone: string;
3878
+ };
3879
+ cookie?: never;
3880
+ };
3881
+ requestBody?: never;
3882
+ responses: {
3883
+ 200: {
3884
+ headers: {
3885
+ [name: string]: unknown;
3886
+ };
3887
+ content: {
3888
+ "application/json": components["schemas"]["GetLastMessageTimestampResponseDto"];
3889
+ };
3890
+ };
3891
+ };
3892
+ };
3893
+ WebhookController_verify: {
3894
+ parameters: {
3895
+ query: {
3896
+ "hub.mode": string;
3897
+ "hub.verify_token": string;
3898
+ "hub.challenge": string;
3899
+ };
3900
+ header?: never;
3901
+ path?: never;
3902
+ cookie?: never;
3903
+ };
3904
+ requestBody?: never;
3905
+ responses: {
3906
+ 200: {
3907
+ headers: {
3908
+ [name: string]: unknown;
3909
+ };
3910
+ content: {
3911
+ "application/json": string;
3912
+ };
3913
+ };
3914
+ 400: {
3915
+ headers: {
3916
+ [name: string]: unknown;
3917
+ };
3918
+ content?: never;
3919
+ };
3920
+ 403: {
3921
+ headers: {
3922
+ [name: string]: unknown;
3923
+ };
3924
+ content?: never;
3925
+ };
3926
+ };
3927
+ };
3928
+ WebhookController_receiveMessage: {
3929
+ parameters: {
3930
+ query?: never;
3931
+ header: {
3932
+ "x-hub-signature-256": string;
3933
+ };
3934
+ path?: never;
3935
+ cookie?: never;
3936
+ };
3937
+ requestBody?: never;
3938
+ responses: {
3939
+ 201: {
3940
+ headers: {
3941
+ [name: string]: unknown;
3463
3942
  };
3943
+ content?: never;
3464
3944
  };
3465
3945
  };
3466
3946
  };