expo-backend-types 0.32.0-EXPO-308-auth.1 → 0.32.0-EXPO-315-Marcelo-Tinelli.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/src/exports.d.ts +2 -3
  2. package/dist/src/exports.js +2 -3
  3. package/dist/src/i18n/es.d.ts +63 -20
  4. package/dist/src/i18n/es.js +63 -20
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/src/location/dto/find-all-location.dto.js +2 -2
  7. package/dist/src/{schema/location.schema.js → location/dto/location.dto.js} +2 -2
  8. package/dist/src/location/exports.d.ts +1 -0
  9. package/dist/src/location/exports.js +1 -0
  10. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  11. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  12. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  13. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  14. package/dist/src/message/dto/template.dto.d.ts +2 -2
  15. package/dist/src/profile/dto/create-profile.dto.d.ts +14 -48
  16. package/dist/src/profile/dto/create-profile.dto.js +7 -9
  17. package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -30
  18. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  19. package/dist/src/profile/dto/find-all-profile.dto.d.ts +7 -47
  20. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  21. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +11 -75
  22. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  23. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +13 -32
  24. package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -7
  25. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -30
  26. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  27. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +7 -47
  28. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  29. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +7 -47
  30. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  31. package/dist/src/profile/dto/find-trash.dto.d.ts +3 -7
  32. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  33. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +7 -47
  34. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  35. package/dist/src/profile/dto/profile.dto.d.ts +30 -44
  36. package/dist/src/profile/dto/profile.dto.js +63 -6
  37. package/dist/src/profile/dto/update-profile.dto.d.ts +12 -54
  38. package/dist/src/profile/dto/update-profile.dto.js +6 -9
  39. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +4 -2
  40. package/dist/src/shared/dto-modification/zod-without-dates.js +0 -8
  41. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  42. package/dist/src/tag/dto/massive-allocation.dto.d.ts +7 -47
  43. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  44. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +7 -47
  45. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  46. package/dist/src/ticket/dto/create-ticket.dto.d.ts +130 -0
  47. package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
  48. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +73 -0
  49. package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
  50. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +196 -0
  51. package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
  52. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +196 -0
  53. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
  54. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +196 -0
  55. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
  56. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +196 -0
  57. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
  58. package/dist/src/ticket/dto/find-ticket.dto.d.ts +73 -0
  59. package/dist/src/ticket/dto/find-ticket.dto.js +10 -0
  60. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +7 -0
  61. package/dist/src/ticket/dto/generate-pdf.dto.js +13 -0
  62. package/dist/src/ticket/dto/ticket.dto.d.ts +74 -0
  63. package/dist/src/ticket/dto/ticket.dto.js +29 -0
  64. package/dist/src/ticket/dto/update-ticket.dto.d.ts +121 -0
  65. package/dist/src/ticket/dto/update-ticket.dto.js +21 -0
  66. package/dist/src/ticket/exports.d.ts +10 -0
  67. package/dist/src/{otp → ticket}/exports.js +10 -2
  68. package/dist/types/prisma-schema/edge.js +47 -38
  69. package/dist/types/prisma-schema/index-browser.js +32 -18
  70. package/dist/types/prisma-schema/index.d.ts +4311 -5988
  71. package/dist/types/prisma-schema/index.js +47 -38
  72. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  73. package/dist/types/prisma-schema/package.json +2 -8
  74. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  75. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  76. package/dist/types/prisma-schema/runtime/index-browser.d.ts +1 -3
  77. package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
  78. package/dist/types/prisma-schema/runtime/library.d.ts +153 -205
  79. package/dist/types/prisma-schema/runtime/library.js +55 -55
  80. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  81. package/dist/types/prisma-schema/runtime/wasm.js +17 -17
  82. package/dist/types/prisma-schema/schema.prisma +32 -23
  83. package/dist/types/prisma-schema/wasm.js +32 -18
  84. package/dist/types/schema.d.ts +334 -316
  85. package/package.json +41 -32
  86. package/dist/src/image/constants.d.ts +0 -5
  87. package/dist/src/image/constants.js +0 -9
  88. package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -337
  89. package/dist/src/mi-expo/dto/get-me.dto.js +0 -16
  90. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -311
  91. package/dist/src/mi-expo/dto/login-with-phone.dto.js +0 -29
  92. package/dist/src/mi-expo/dto/login.dto.d.ts +0 -327
  93. package/dist/src/mi-expo/dto/login.dto.js +0 -31
  94. package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -352
  95. package/dist/src/mi-expo/dto/update-me.dto.js +0 -31
  96. package/dist/src/mi-expo/exports.d.ts +0 -4
  97. package/dist/src/mi-expo/exports.js +0 -21
  98. package/dist/src/otp/constants.d.ts +0 -2
  99. package/dist/src/otp/constants.js +0 -6
  100. package/dist/src/otp/dto/send-otp.dto.d.ts +0 -158
  101. package/dist/src/otp/dto/send-otp.dto.js +0 -35
  102. package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -455
  103. package/dist/src/otp/dto/verify-otp.dto.js +0 -46
  104. package/dist/src/otp/exports.d.ts +0 -2
  105. package/dist/src/prisma/constants.d.ts +0 -1
  106. package/dist/src/prisma/constants.js +0 -5
  107. package/dist/src/schema/exports.d.ts +0 -2
  108. package/dist/src/schema/exports.js +0 -19
  109. package/dist/src/schema/profile.schema.d.ts +0 -74
  110. package/dist/src/schema/profile.schema.js +0 -133
  111. package/dist/src/webhook/constants.d.ts +0 -1
  112. package/dist/src/webhook/constants.js +0 -5
  113. /package/dist/src/{schema/location.schema.d.ts → location/dto/location.dto.d.ts} +0 -0
@@ -8,7 +8,7 @@ export interface paths {
8
8
  };
9
9
  get?: never;
10
10
  put?: never;
11
- post: operations["AuthController_loginAccount"];
11
+ post: operations["AuthController_loginUser"];
12
12
  delete?: never;
13
13
  options?: never;
14
14
  head?: never;
@@ -742,9 +742,9 @@ export interface paths {
742
742
  path?: never;
743
743
  cookie?: never;
744
744
  };
745
- get: operations["CsvController_downloadProfiles"];
745
+ get?: never;
746
746
  put?: never;
747
- post?: never;
747
+ post: operations["CsvController_downloadProfiles"];
748
748
  delete?: never;
749
749
  options?: never;
750
750
  head?: never;
@@ -758,9 +758,9 @@ export interface paths {
758
758
  path?: never;
759
759
  cookie?: never;
760
760
  };
761
- get: operations["CsvController_downloadAllTables"];
761
+ get?: never;
762
762
  put?: never;
763
- post?: never;
763
+ post: operations["CsvController_downloadAllTables"];
764
764
  delete?: never;
765
765
  options?: never;
766
766
  head?: never;
@@ -927,87 +927,87 @@ export interface paths {
927
927
  patch?: never;
928
928
  trace?: never;
929
929
  };
930
- "/webhook": {
930
+ "/ticket/create": {
931
931
  parameters: {
932
932
  query?: never;
933
933
  header?: never;
934
934
  path?: never;
935
935
  cookie?: never;
936
936
  };
937
- get: operations["WebhookController_verify"];
937
+ get?: never;
938
938
  put?: never;
939
- post: operations["WebhookController_receiveMessage"];
939
+ post: operations["TicketController_create"];
940
940
  delete?: never;
941
941
  options?: never;
942
942
  head?: never;
943
943
  patch?: never;
944
944
  trace?: never;
945
945
  };
946
- "/otp/send": {
946
+ "/ticket/all": {
947
947
  parameters: {
948
948
  query?: never;
949
949
  header?: never;
950
950
  path?: never;
951
951
  cookie?: never;
952
952
  };
953
- get?: never;
953
+ get: operations["TicketController_findAll"];
954
954
  put?: never;
955
- post: operations["OtpController_sendOtp"];
955
+ post?: never;
956
956
  delete?: never;
957
957
  options?: never;
958
958
  head?: never;
959
959
  patch?: never;
960
960
  trace?: never;
961
961
  };
962
- "/otp/verify": {
962
+ "/ticket/find-by-id/{id}": {
963
963
  parameters: {
964
964
  query?: never;
965
965
  header?: never;
966
966
  path?: never;
967
967
  cookie?: never;
968
968
  };
969
- get?: never;
969
+ get: operations["TicketController_findById"];
970
970
  put?: never;
971
- post: operations["OtpController_verifyOtp"];
971
+ post?: never;
972
972
  delete?: never;
973
973
  options?: never;
974
974
  head?: never;
975
975
  patch?: never;
976
976
  trace?: never;
977
977
  };
978
- "/mi-expo/login-with-phone": {
978
+ "/ticket/find-by-mail/{mail}": {
979
979
  parameters: {
980
980
  query?: never;
981
981
  header?: never;
982
982
  path?: never;
983
983
  cookie?: never;
984
984
  };
985
- get?: never;
985
+ get: operations["TicketController_findByMail"];
986
986
  put?: never;
987
- post: operations["MiExpoController_loginWithPhone"];
987
+ post?: never;
988
988
  delete?: never;
989
989
  options?: never;
990
990
  head?: never;
991
991
  patch?: never;
992
992
  trace?: never;
993
993
  };
994
- "/mi-expo/me": {
994
+ "/ticket/find-by-event/{eventId}": {
995
995
  parameters: {
996
996
  query?: never;
997
997
  header?: never;
998
998
  path?: never;
999
999
  cookie?: never;
1000
1000
  };
1001
- get: operations["MiExpoController_me"];
1001
+ get: operations["TicketController_findByEvent"];
1002
1002
  put?: never;
1003
1003
  post?: never;
1004
1004
  delete?: never;
1005
1005
  options?: never;
1006
1006
  head?: never;
1007
- patch: operations["MiExpoController_updateMe"];
1007
+ patch?: never;
1008
1008
  trace?: never;
1009
1009
  };
1010
- "/mi-expo/login": {
1010
+ "/ticket/update/{id}": {
1011
1011
  parameters: {
1012
1012
  query?: never;
1013
1013
  header?: never;
@@ -1016,7 +1016,71 @@ export interface paths {
1016
1016
  };
1017
1017
  get?: never;
1018
1018
  put?: never;
1019
- post: operations["MiExpoController_loginUsernamePassword"];
1019
+ post?: never;
1020
+ delete?: never;
1021
+ options?: never;
1022
+ head?: never;
1023
+ patch: operations["TicketController_update"];
1024
+ trace?: never;
1025
+ };
1026
+ "/ticket/delete/{id}": {
1027
+ parameters: {
1028
+ query?: never;
1029
+ header?: never;
1030
+ path?: never;
1031
+ cookie?: never;
1032
+ };
1033
+ get?: never;
1034
+ put?: never;
1035
+ post?: never;
1036
+ delete: operations["TicketController_delete"];
1037
+ options?: never;
1038
+ head?: never;
1039
+ patch?: never;
1040
+ trace?: never;
1041
+ };
1042
+ "/ticket/generate-pdf/{id}": {
1043
+ parameters: {
1044
+ query?: never;
1045
+ header?: never;
1046
+ path?: never;
1047
+ cookie?: never;
1048
+ };
1049
+ get: operations["TicketController_generatePdf"];
1050
+ put?: never;
1051
+ post?: never;
1052
+ delete?: never;
1053
+ options?: never;
1054
+ head?: never;
1055
+ patch?: never;
1056
+ trace?: never;
1057
+ };
1058
+ "/ticket/find-ticket/{id}": {
1059
+ parameters: {
1060
+ query?: never;
1061
+ header?: never;
1062
+ path?: never;
1063
+ cookie?: never;
1064
+ };
1065
+ get: operations["TicketController_findTicket"];
1066
+ put?: never;
1067
+ post?: never;
1068
+ delete?: never;
1069
+ options?: never;
1070
+ head?: never;
1071
+ patch?: never;
1072
+ trace?: never;
1073
+ };
1074
+ "/webhook": {
1075
+ parameters: {
1076
+ query?: never;
1077
+ header?: never;
1078
+ path?: never;
1079
+ cookie?: never;
1080
+ };
1081
+ get: operations["WebhookController_verify"];
1082
+ put?: never;
1083
+ post: operations["WebhookController_receiveMessage"];
1020
1084
  delete?: never;
1021
1085
  options?: never;
1022
1086
  head?: never;
@@ -1147,11 +1211,7 @@ export interface components {
1147
1211
  profiles: {
1148
1212
  id: string;
1149
1213
  shortId: number;
1150
- firstTimeMiExpo: boolean;
1151
- username: string | null;
1152
- password: string | null;
1153
1214
  phoneNumber: string;
1154
- isPhoneVerified: boolean;
1155
1215
  secondaryPhoneNumber: string | null;
1156
1216
  fullName: string;
1157
1217
  firstName: string | null;
@@ -1178,11 +1238,7 @@ export interface components {
1178
1238
  profiles: {
1179
1239
  id: string;
1180
1240
  shortId: number;
1181
- firstTimeMiExpo: boolean;
1182
- username: string | null;
1183
- password: string | null;
1184
1241
  phoneNumber: string;
1185
- isPhoneVerified: boolean;
1186
1242
  secondaryPhoneNumber: string | null;
1187
1243
  fullName: string;
1188
1244
  firstName: string | null;
@@ -1763,11 +1819,7 @@ export interface components {
1763
1819
  profiles: {
1764
1820
  id: string;
1765
1821
  shortId: number;
1766
- firstTimeMiExpo: boolean;
1767
- username: string | null;
1768
- password: string | null;
1769
1822
  phoneNumber: string;
1770
- isPhoneVerified: boolean;
1771
1823
  secondaryPhoneNumber: string | null;
1772
1824
  fullName: string;
1773
1825
  firstName: string | null;
@@ -1802,11 +1854,7 @@ export interface components {
1802
1854
  profiles: {
1803
1855
  id: string;
1804
1856
  shortId: number;
1805
- firstTimeMiExpo: boolean;
1806
- username: string | null;
1807
- password: string | null;
1808
1857
  phoneNumber: string;
1809
- isPhoneVerified: boolean;
1810
1858
  secondaryPhoneNumber: string | null;
1811
1859
  fullName: string;
1812
1860
  firstName: string | null;
@@ -1859,11 +1907,7 @@ export interface components {
1859
1907
  profiles: {
1860
1908
  id: string;
1861
1909
  shortId: number;
1862
- firstTimeMiExpo: boolean;
1863
- username: string | null;
1864
- password: string | null;
1865
1910
  phoneNumber: string;
1866
- isPhoneVerified: boolean;
1867
1911
  secondaryPhoneNumber: string | null;
1868
1912
  fullName: string;
1869
1913
  firstName: string | null;
@@ -1897,11 +1941,7 @@ export interface components {
1897
1941
  profiles: {
1898
1942
  id: string;
1899
1943
  shortId: number;
1900
- firstTimeMiExpo: boolean;
1901
- username: string | null;
1902
- password: string | null;
1903
1944
  phoneNumber: string;
1904
- isPhoneVerified: boolean;
1905
1945
  secondaryPhoneNumber: string | null;
1906
1946
  fullName: string;
1907
1947
  firstName: string | null;
@@ -1932,11 +1972,7 @@ export interface components {
1932
1972
  [key: string]: {
1933
1973
  id: string;
1934
1974
  shortId: number;
1935
- firstTimeMiExpo: boolean;
1936
- username: string | null;
1937
- password: string | null;
1938
1975
  phoneNumber: string;
1939
- isPhoneVerified: boolean;
1940
1976
  secondaryPhoneNumber: string | null;
1941
1977
  fullName: string;
1942
1978
  firstName: string | null;
@@ -1969,11 +2005,7 @@ export interface components {
1969
2005
  FindByPhoneNumberResponseDto: {
1970
2006
  id: string;
1971
2007
  shortId: number;
1972
- firstTimeMiExpo: boolean;
1973
- username: string | null;
1974
- password: string | null;
1975
2008
  phoneNumber: string;
1976
- isPhoneVerified: boolean;
1977
2009
  secondaryPhoneNumber: string | null;
1978
2010
  fullName: string;
1979
2011
  firstName: string | null;
@@ -2014,8 +2046,6 @@ export interface components {
2014
2046
  phoneNumber: string;
2015
2047
  profilePictureUrl: string | null;
2016
2048
  secondaryPhoneNumber: string | null;
2017
- username: string | null;
2018
- password: string | null;
2019
2049
  comments?: {
2020
2050
  content: string;
2021
2051
  isSolvable: boolean;
@@ -2058,10 +2088,7 @@ export interface components {
2058
2088
  FindByIdProfileResponseDto: {
2059
2089
  id: string;
2060
2090
  shortId: number;
2061
- firstTimeMiExpo: boolean;
2062
- username: string | null;
2063
2091
  phoneNumber: string;
2064
- isPhoneVerified: boolean;
2065
2092
  secondaryPhoneNumber: string | null;
2066
2093
  fullName: string;
2067
2094
  firstName: string | null;
@@ -2115,11 +2142,7 @@ export interface components {
2115
2142
  DeleteProfileResponseDto: {
2116
2143
  id: string;
2117
2144
  shortId: number;
2118
- firstTimeMiExpo: boolean;
2119
- username: string | null;
2120
- password: string | null;
2121
2145
  phoneNumber: string;
2122
- isPhoneVerified: boolean;
2123
2146
  secondaryPhoneNumber: string | null;
2124
2147
  fullName: string;
2125
2148
  firstName: string | null;
@@ -2150,9 +2173,6 @@ export interface components {
2150
2173
  secondaryPhoneNumber?: string | null;
2151
2174
  isInTrash?: boolean;
2152
2175
  movedToTrashDate?: string | null;
2153
- username?: string | null;
2154
- password?: string | null;
2155
- firstTimeMiExpo?: boolean;
2156
2176
  residence?: {
2157
2177
  city: string;
2158
2178
  country: string;
@@ -2279,203 +2299,126 @@ export interface components {
2279
2299
  GetLastMessageTimestampResponseDto: {
2280
2300
  timestamp: number;
2281
2301
  };
2282
- SendOtpDto: {
2283
- phoneNumber: string;
2284
- };
2285
- SendOtpResponseDto: {
2286
- response: {
2287
- hasVerified: boolean;
2288
- hasUsername: boolean;
2289
- success: true;
2290
- } | {
2291
- hasVerified: boolean;
2292
- hasUsername: boolean;
2293
- success: false;
2294
- message: string;
2295
- };
2302
+ CreateTicketDto: {
2303
+ eventId: string;
2304
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
2305
+ status: "BOOKED" | "PAID";
2306
+ fullName: string;
2307
+ mail: string;
2296
2308
  };
2297
- VerifyOtpDto: {
2298
- phoneNumber: string;
2299
- code: string;
2309
+ CreateTicketResponseDto: {
2310
+ id: string;
2311
+ eventId: string;
2312
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
2313
+ status: "BOOKED" | "PAID";
2314
+ fullName: string;
2315
+ mail: string;
2316
+ created_at: string;
2317
+ updated_at: string;
2300
2318
  };
2301
- VerifyOtpResponseDto: {
2302
- success: boolean;
2303
- profile: {
2319
+ FindAllTicketsResponseDto: {
2320
+ tickets: {
2304
2321
  id: string;
2305
- shortId: number;
2306
- firstTimeMiExpo: boolean;
2307
- username: string | null;
2308
- password: string | null;
2309
- phoneNumber: string;
2310
- isPhoneVerified: boolean;
2311
- secondaryPhoneNumber: string | null;
2322
+ eventId: string;
2323
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
2324
+ status: "BOOKED" | "PAID";
2312
2325
  fullName: string;
2313
- firstName: string | null;
2314
- gender: string | null;
2315
- birthDate: string | null;
2316
- profilePictureUrl: string | null;
2317
- instagram: string | null;
2318
- mail: string | null;
2319
- dni: string | null;
2320
- alternativeNames: string[];
2321
- birthLocationId: string | null;
2322
- residenceLocationId: string | null;
2323
- isInTrash: boolean;
2324
- movedToTrashDate: string | null;
2326
+ mail: string;
2325
2327
  created_at: string;
2326
2328
  updated_at: string;
2327
- residenceLocation: {
2328
- city: string;
2329
- country: string;
2330
- latitude: number;
2331
- longitude: number;
2332
- } | null;
2333
- birthLocation: {
2334
- city: string;
2335
- country: string;
2336
- latitude: number;
2337
- longitude: number;
2338
- } | null;
2339
- };
2340
- };
2341
- LoginWithPhoneDto: {
2342
- phoneNumber: string;
2329
+ event: {
2330
+ name: string;
2331
+ date: string;
2332
+ location: string;
2333
+ };
2334
+ }[];
2343
2335
  };
2344
- LoginWithPhoneResponseDto: {
2345
- tokens: {
2346
- accessToken: string;
2347
- refreshToken: string;
2348
- expiresIn: number;
2349
- };
2350
- profile: {
2336
+ FindByIdTicketResponseDto: {
2337
+ ticket: {
2351
2338
  id: string;
2352
- shortId: number;
2353
- firstTimeMiExpo: boolean;
2354
- username: string | null;
2355
- phoneNumber: string;
2356
- isPhoneVerified: boolean;
2357
- secondaryPhoneNumber: string | null;
2339
+ eventId: string;
2340
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
2341
+ status: "BOOKED" | "PAID";
2358
2342
  fullName: string;
2359
- firstName: string | null;
2360
- gender: string | null;
2361
- birthDate: string | null;
2362
- profilePictureUrl: string | null;
2363
- instagram: string | null;
2364
- mail: string | null;
2365
- dni: string | null;
2366
- alternativeNames: string[];
2367
- birthLocationId: string | null;
2368
- residenceLocationId: string | null;
2369
- isInTrash: boolean;
2370
- movedToTrashDate: string | null;
2343
+ mail: string;
2371
2344
  created_at: string;
2372
2345
  updated_at: string;
2346
+ event: {
2347
+ name: string;
2348
+ date: string;
2349
+ location: string;
2350
+ };
2373
2351
  };
2374
2352
  };
2375
- GetMiExpoMeResponseDto: {
2376
- id: string;
2377
- shortId: number;
2378
- firstTimeMiExpo: boolean;
2379
- username: string | null;
2380
- phoneNumber: string;
2381
- isPhoneVerified: boolean;
2382
- secondaryPhoneNumber: string | null;
2383
- fullName: string;
2384
- firstName: string | null;
2385
- gender: string | null;
2386
- birthDate: string | null;
2387
- profilePictureUrl: string | null;
2388
- instagram: string | null;
2389
- mail: string | null;
2390
- dni: string | null;
2391
- alternativeNames: string[];
2392
- birthLocationId: string | null;
2393
- residenceLocationId: string | null;
2394
- isInTrash: boolean;
2395
- movedToTrashDate: string | null;
2396
- created_at: string;
2397
- updated_at: string;
2398
- residenceLocation: {
2353
+ FindByMailTicketResponseDto: {
2354
+ tickets: {
2399
2355
  id: string;
2400
- latitude: number;
2401
- longitude: number;
2402
- country: string;
2403
- state: string;
2404
- city: string;
2356
+ eventId: string;
2357
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
2358
+ status: "BOOKED" | "PAID";
2359
+ fullName: string;
2360
+ mail: string;
2405
2361
  created_at: string;
2406
2362
  updated_at: string;
2407
- } | null;
2408
- birthLocation: {
2363
+ event: {
2364
+ name: string;
2365
+ date: string;
2366
+ location: string;
2367
+ };
2368
+ }[];
2369
+ };
2370
+ FindByEventTicketResponseDto: {
2371
+ tickets: {
2409
2372
  id: string;
2410
- latitude: number;
2411
- longitude: number;
2412
- country: string;
2413
- state: string;
2414
- city: string;
2373
+ eventId: string;
2374
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
2375
+ status: "BOOKED" | "PAID";
2376
+ fullName: string;
2377
+ mail: string;
2415
2378
  created_at: string;
2416
2379
  updated_at: string;
2417
- } | null;
2380
+ event: {
2381
+ name: string;
2382
+ date: string;
2383
+ location: string;
2384
+ };
2385
+ }[];
2418
2386
  };
2419
- UpdateMiExpoMeDto: {
2420
- birthDate: string | null;
2421
- dni: string | null;
2387
+ UpdateTicketDto: {
2388
+ type?: "PARTICIPANT" | "SPECTATOR" | "STAFF";
2389
+ status?: "BOOKED" | "PAID";
2390
+ fullName?: string;
2391
+ mail?: string;
2392
+ };
2393
+ UpdateTicketResponseDto: {
2394
+ id: string;
2395
+ eventId: string;
2396
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
2397
+ status: "BOOKED" | "PAID";
2422
2398
  fullName: string;
2423
- gender: string | null;
2424
- instagram: string | null;
2425
- mail: string | null;
2426
- password: string | null;
2427
- phoneNumber: string;
2428
- secondaryPhoneNumber: string | null;
2429
- username: string | null;
2430
- birth: {
2431
- city: string;
2432
- country: string;
2433
- latitude: number;
2434
- longitude: number;
2435
- state: string;
2436
- };
2437
- residence: {
2438
- city: string;
2439
- country: string;
2440
- latitude: number;
2441
- longitude: number;
2442
- state: string;
2443
- };
2399
+ mail: string;
2400
+ created_at: string;
2401
+ updated_at: string;
2444
2402
  };
2445
- LoginMiExpoDto: {
2446
- username: string;
2447
- password: string;
2403
+ DeleteTicketResponseDto: {
2404
+ id: string;
2405
+ eventId: string;
2406
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
2407
+ status: "BOOKED" | "PAID";
2408
+ fullName: string;
2409
+ mail: string;
2410
+ created_at: string;
2411
+ updated_at: string;
2448
2412
  };
2449
- LoginMiExpoResponseDto: {
2450
- user: {
2451
- id: string;
2452
- shortId: number;
2453
- firstTimeMiExpo: boolean;
2454
- username: string | null;
2455
- phoneNumber: string;
2456
- isPhoneVerified: boolean;
2457
- secondaryPhoneNumber: string | null;
2458
- fullName: string;
2459
- firstName: string | null;
2460
- gender: string | null;
2461
- birthDate: string | null;
2462
- profilePictureUrl: string | null;
2463
- instagram: string | null;
2464
- mail: string | null;
2465
- dni: string | null;
2466
- alternativeNames: string[];
2467
- birthLocationId: string | null;
2468
- residenceLocationId: string | null;
2469
- isInTrash: boolean;
2470
- movedToTrashDate: string | null;
2471
- created_at: string;
2472
- updated_at: string;
2473
- };
2474
- backendTokens: {
2475
- accessToken: string;
2476
- refreshToken: string;
2477
- expiresIn: number;
2478
- };
2413
+ FindTicketResponseDto: {
2414
+ id: string;
2415
+ eventId: string;
2416
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
2417
+ status: "BOOKED" | "PAID";
2418
+ fullName: string;
2419
+ mail: string;
2420
+ created_at: string;
2421
+ updated_at: string;
2479
2422
  };
2480
2423
  };
2481
2424
  responses: never;
@@ -2486,7 +2429,7 @@ export interface components {
2486
2429
  }
2487
2430
  export type $defs = Record<string, never>;
2488
2431
  export interface operations {
2489
- AuthController_loginAccount: {
2432
+ AuthController_loginUser: {
2490
2433
  parameters: {
2491
2434
  query?: never;
2492
2435
  header?: never;
@@ -4339,87 +4282,115 @@ export interface operations {
4339
4282
  };
4340
4283
  };
4341
4284
  };
4342
- WebhookController_verify: {
4285
+ TicketController_create: {
4343
4286
  parameters: {
4344
- query: {
4345
- "hub.mode": string;
4346
- "hub.verify_token": string;
4347
- "hub.challenge": string;
4348
- };
4287
+ query?: never;
4349
4288
  header?: never;
4350
4289
  path?: never;
4351
4290
  cookie?: never;
4352
4291
  };
4353
- requestBody?: never;
4292
+ requestBody: {
4293
+ content: {
4294
+ "application/json": components["schemas"]["CreateTicketDto"];
4295
+ };
4296
+ };
4354
4297
  responses: {
4355
- 200: {
4298
+ 201: {
4356
4299
  headers: {
4357
4300
  [name: string]: unknown;
4358
4301
  };
4359
4302
  content: {
4360
- "application/json": string;
4303
+ "application/json": components["schemas"]["CreateTicketResponseDto"];
4361
4304
  };
4362
4305
  };
4363
- 400: {
4306
+ };
4307
+ };
4308
+ TicketController_findAll: {
4309
+ parameters: {
4310
+ query?: never;
4311
+ header?: never;
4312
+ path?: never;
4313
+ cookie?: never;
4314
+ };
4315
+ requestBody?: never;
4316
+ responses: {
4317
+ 200: {
4364
4318
  headers: {
4365
4319
  [name: string]: unknown;
4366
4320
  };
4367
- content?: never;
4368
- };
4369
- 403: {
4370
- headers: {
4371
- [name: string]: unknown;
4321
+ content: {
4322
+ "application/json": components["schemas"]["FindAllTicketsResponseDto"];
4372
4323
  };
4373
- content?: never;
4374
4324
  };
4375
4325
  };
4376
4326
  };
4377
- WebhookController_receiveMessage: {
4327
+ TicketController_findById: {
4378
4328
  parameters: {
4379
4329
  query?: never;
4380
- header: {
4381
- "x-hub-signature-256": string;
4330
+ header?: never;
4331
+ path: {
4332
+ id: string;
4382
4333
  };
4383
- path?: never;
4384
4334
  cookie?: never;
4385
4335
  };
4386
4336
  requestBody?: never;
4387
4337
  responses: {
4388
- 201: {
4338
+ 200: {
4389
4339
  headers: {
4390
4340
  [name: string]: unknown;
4391
4341
  };
4392
- content?: never;
4342
+ content: {
4343
+ "application/json": components["schemas"]["FindByIdTicketResponseDto"];
4344
+ };
4345
+ };
4346
+ 404: {
4347
+ headers: {
4348
+ [name: string]: unknown;
4349
+ };
4350
+ content: {
4351
+ "application/json": components["schemas"]["ErrorDto"];
4352
+ };
4393
4353
  };
4394
4354
  };
4395
4355
  };
4396
- OtpController_sendOtp: {
4356
+ TicketController_findByMail: {
4397
4357
  parameters: {
4398
4358
  query?: never;
4399
4359
  header?: never;
4400
- path?: never;
4401
- cookie?: never;
4402
- };
4403
- requestBody: {
4404
- content: {
4405
- "application/json": components["schemas"]["SendOtpDto"];
4360
+ path: {
4361
+ mail: string;
4406
4362
  };
4363
+ cookie?: never;
4407
4364
  };
4365
+ requestBody?: never;
4408
4366
  responses: {
4409
4367
  200: {
4410
4368
  headers: {
4411
4369
  [name: string]: unknown;
4412
4370
  };
4413
4371
  content: {
4414
- "application/json": components["schemas"]["SendOtpResponseDto"];
4372
+ "application/json": components["schemas"]["FindByMailTicketResponseDto"];
4415
4373
  };
4416
4374
  };
4417
- 400: {
4375
+ };
4376
+ };
4377
+ TicketController_findByEvent: {
4378
+ parameters: {
4379
+ query?: never;
4380
+ header?: never;
4381
+ path: {
4382
+ eventId: string;
4383
+ };
4384
+ cookie?: never;
4385
+ };
4386
+ requestBody?: never;
4387
+ responses: {
4388
+ 200: {
4418
4389
  headers: {
4419
4390
  [name: string]: unknown;
4420
4391
  };
4421
4392
  content: {
4422
- "application/json": components["schemas"]["ErrorDto"];
4393
+ "application/json": components["schemas"]["FindByEventTicketResponseDto"];
4423
4394
  };
4424
4395
  };
4425
4396
  404: {
@@ -4432,16 +4403,18 @@ export interface operations {
4432
4403
  };
4433
4404
  };
4434
4405
  };
4435
- OtpController_verifyOtp: {
4406
+ TicketController_update: {
4436
4407
  parameters: {
4437
4408
  query?: never;
4438
4409
  header?: never;
4439
- path?: never;
4410
+ path: {
4411
+ id: string;
4412
+ };
4440
4413
  cookie?: never;
4441
4414
  };
4442
4415
  requestBody: {
4443
4416
  content: {
4444
- "application/json": components["schemas"]["VerifyOtpDto"];
4417
+ "application/json": components["schemas"]["UpdateTicketDto"];
4445
4418
  };
4446
4419
  };
4447
4420
  responses: {
@@ -4450,15 +4423,7 @@ export interface operations {
4450
4423
  [name: string]: unknown;
4451
4424
  };
4452
4425
  content: {
4453
- "application/json": components["schemas"]["VerifyOtpResponseDto"];
4454
- };
4455
- };
4456
- 400: {
4457
- headers: {
4458
- [name: string]: unknown;
4459
- };
4460
- content: {
4461
- "application/json": components["schemas"]["ErrorDto"];
4426
+ "application/json": components["schemas"]["UpdateTicketResponseDto"];
4462
4427
  };
4463
4428
  };
4464
4429
  404: {
@@ -4471,28 +4436,26 @@ export interface operations {
4471
4436
  };
4472
4437
  };
4473
4438
  };
4474
- MiExpoController_loginWithPhone: {
4439
+ TicketController_delete: {
4475
4440
  parameters: {
4476
4441
  query?: never;
4477
4442
  header?: never;
4478
- path?: never;
4479
- cookie?: never;
4480
- };
4481
- requestBody: {
4482
- content: {
4483
- "application/json": components["schemas"]["LoginWithPhoneDto"];
4443
+ path: {
4444
+ id: string;
4484
4445
  };
4446
+ cookie?: never;
4485
4447
  };
4448
+ requestBody?: never;
4486
4449
  responses: {
4487
4450
  200: {
4488
4451
  headers: {
4489
4452
  [name: string]: unknown;
4490
4453
  };
4491
4454
  content: {
4492
- "application/json": components["schemas"]["LoginWithPhoneResponseDto"];
4455
+ "application/json": components["schemas"]["DeleteTicketResponseDto"];
4493
4456
  };
4494
4457
  };
4495
- 401: {
4458
+ 404: {
4496
4459
  headers: {
4497
4460
  [name: string]: unknown;
4498
4461
  };
@@ -4502,11 +4465,13 @@ export interface operations {
4502
4465
  };
4503
4466
  };
4504
4467
  };
4505
- MiExpoController_me: {
4468
+ TicketController_generatePdf: {
4506
4469
  parameters: {
4507
4470
  query?: never;
4508
4471
  header?: never;
4509
- path?: never;
4472
+ path: {
4473
+ id: string;
4474
+ };
4510
4475
  cookie?: never;
4511
4476
  };
4512
4477
  requestBody?: never;
@@ -4516,62 +4481,115 @@ export interface operations {
4516
4481
  [name: string]: unknown;
4517
4482
  };
4518
4483
  content: {
4519
- "application/json": components["schemas"]["GetMiExpoMeResponseDto"];
4484
+ "application/json": components["schemas"];
4485
+ };
4486
+ };
4487
+ 404: {
4488
+ headers: {
4489
+ [name: string]: unknown;
4490
+ };
4491
+ content: {
4492
+ "application/json": components["schemas"]["ErrorDto"];
4520
4493
  };
4521
4494
  };
4522
4495
  };
4523
4496
  };
4524
- MiExpoController_updateMe: {
4497
+ TicketController_findTicket: {
4525
4498
  parameters: {
4526
4499
  query?: never;
4527
4500
  header?: never;
4528
- path?: never;
4529
- cookie?: never;
4530
- };
4531
- requestBody: {
4532
- content: {
4533
- "application/json": components["schemas"]["UpdateMiExpoMeDto"];
4501
+ path: {
4502
+ id: string;
4534
4503
  };
4504
+ cookie?: never;
4535
4505
  };
4506
+ requestBody?: never;
4536
4507
  responses: {
4537
4508
  200: {
4538
4509
  headers: {
4539
4510
  [name: string]: unknown;
4540
4511
  };
4541
4512
  content: {
4542
- "application/json": components["schemas"]["GetMiExpoMeResponseDto"];
4513
+ "application/json": components["schemas"]["FindTicketResponseDto"];
4514
+ };
4515
+ };
4516
+ 404: {
4517
+ headers: {
4518
+ [name: string]: unknown;
4519
+ };
4520
+ content: {
4521
+ "application/json": components["schemas"]["ErrorDto"];
4522
+ };
4523
+ };
4524
+ 409: {
4525
+ headers: {
4526
+ [name: string]: unknown;
4527
+ };
4528
+ content: {
4529
+ "application/json": components["schemas"]["ErrorDto"];
4530
+ };
4531
+ };
4532
+ 500: {
4533
+ headers: {
4534
+ [name: string]: unknown;
4535
+ };
4536
+ content: {
4537
+ "application/json": components["schemas"]["ErrorDto"];
4543
4538
  };
4544
4539
  };
4545
4540
  };
4546
4541
  };
4547
- MiExpoController_loginUsernamePassword: {
4542
+ WebhookController_verify: {
4548
4543
  parameters: {
4549
- query?: never;
4544
+ query: {
4545
+ "hub.mode": string;
4546
+ "hub.verify_token": string;
4547
+ "hub.challenge": string;
4548
+ };
4550
4549
  header?: never;
4551
4550
  path?: never;
4552
4551
  cookie?: never;
4553
4552
  };
4554
- requestBody: {
4555
- content: {
4556
- "application/json": components["schemas"]["LoginMiExpoDto"];
4557
- };
4558
- };
4553
+ requestBody?: never;
4559
4554
  responses: {
4560
4555
  200: {
4561
4556
  headers: {
4562
4557
  [name: string]: unknown;
4563
4558
  };
4564
4559
  content: {
4565
- "application/json": components["schemas"]["LoginMiExpoResponseDto"];
4560
+ "application/json": string;
4566
4561
  };
4567
4562
  };
4568
- 401: {
4563
+ 400: {
4569
4564
  headers: {
4570
4565
  [name: string]: unknown;
4571
4566
  };
4572
- content: {
4573
- "application/json": components["schemas"]["ErrorDto"];
4567
+ content?: never;
4568
+ };
4569
+ 403: {
4570
+ headers: {
4571
+ [name: string]: unknown;
4574
4572
  };
4573
+ content?: never;
4574
+ };
4575
+ };
4576
+ };
4577
+ WebhookController_receiveMessage: {
4578
+ parameters: {
4579
+ query?: never;
4580
+ header: {
4581
+ "x-hub-signature-256": string;
4582
+ };
4583
+ path?: never;
4584
+ cookie?: never;
4585
+ };
4586
+ requestBody?: never;
4587
+ responses: {
4588
+ 201: {
4589
+ headers: {
4590
+ [name: string]: unknown;
4591
+ };
4592
+ content?: never;
4575
4593
  };
4576
4594
  };
4577
4595
  };