expo-backend-types 0.32.0 → 0.33.0-EXPO-308-auth.2

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 (116) hide show
  1. package/dist/src/exports.d.ts +4 -0
  2. package/dist/src/exports.js +4 -0
  3. package/dist/src/i18n/es.d.ts +84 -0
  4. package/dist/src/i18n/es.js +84 -0
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/src/image/constants.d.ts +5 -0
  7. package/dist/src/image/constants.js +9 -0
  8. package/dist/src/location/dto/find-all-location.dto.js +2 -2
  9. package/dist/src/location/exports.d.ts +0 -1
  10. package/dist/src/location/exports.js +0 -1
  11. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  12. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  13. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  14. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  15. package/dist/src/message/dto/template.dto.d.ts +2 -2
  16. package/dist/src/mi-expo/dto/get-me.dto.d.ts +337 -0
  17. package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
  18. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
  19. package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
  20. package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
  21. package/dist/src/mi-expo/dto/login.dto.js +31 -0
  22. package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
  23. package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
  24. package/dist/src/mi-expo/exports.d.ts +4 -0
  25. package/dist/src/mi-expo/exports.js +21 -0
  26. package/dist/src/otp/constants.d.ts +2 -0
  27. package/dist/src/otp/constants.js +6 -0
  28. package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
  29. package/dist/src/otp/dto/send-otp.dto.js +35 -0
  30. package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
  31. package/dist/src/otp/dto/verify-otp.dto.js +46 -0
  32. package/dist/src/otp/exports.d.ts +2 -0
  33. package/dist/src/otp/exports.js +19 -0
  34. package/dist/src/prisma/constants.d.ts +1 -0
  35. package/dist/src/prisma/constants.js +5 -0
  36. package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
  37. package/dist/src/profile/dto/create-profile.dto.js +9 -7
  38. package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
  39. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  40. package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
  41. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  42. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +75 -11
  43. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  44. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +32 -13
  45. package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
  46. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
  47. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  48. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +47 -7
  49. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  50. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +47 -7
  51. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  52. package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
  53. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  54. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
  55. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  56. package/dist/src/profile/dto/profile.dto.d.ts +44 -30
  57. package/dist/src/profile/dto/profile.dto.js +6 -63
  58. package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
  59. package/dist/src/profile/dto/update-profile.dto.js +9 -6
  60. package/dist/src/schema/exports.d.ts +2 -0
  61. package/dist/src/schema/exports.js +19 -0
  62. package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
  63. package/dist/src/schema/profile.schema.d.ts +74 -0
  64. package/dist/src/schema/profile.schema.js +133 -0
  65. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
  66. package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
  67. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  68. package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
  69. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  70. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
  71. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  72. package/dist/src/ticket/constants.d.ts +16 -0
  73. package/dist/src/ticket/constants.js +272 -0
  74. package/dist/src/ticket/dto/create-ticket.dto.d.ts +134 -0
  75. package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
  76. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +75 -0
  77. package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
  78. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +201 -0
  79. package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
  80. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +201 -0
  81. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
  82. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +201 -0
  83. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
  84. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +201 -0
  85. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
  86. package/dist/src/ticket/dto/find-ticket.dto.d.ts +75 -0
  87. package/dist/src/ticket/dto/find-ticket.dto.js +10 -0
  88. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +7 -0
  89. package/dist/src/ticket/dto/generate-pdf.dto.js +13 -0
  90. package/dist/src/ticket/dto/ticket.dto.d.ts +76 -0
  91. package/dist/src/ticket/dto/ticket.dto.js +29 -0
  92. package/dist/src/ticket/dto/update-ticket.dto.d.ts +125 -0
  93. package/dist/src/ticket/dto/update-ticket.dto.js +21 -0
  94. package/dist/src/ticket/exports.d.ts +10 -0
  95. package/dist/src/ticket/exports.js +27 -0
  96. package/dist/src/webhook/constants.d.ts +1 -0
  97. package/dist/src/webhook/constants.js +5 -0
  98. package/dist/types/prisma-schema/edge.js +56 -24
  99. package/dist/types/prisma-schema/index-browser.js +42 -15
  100. package/dist/types/prisma-schema/index.d.ts +8596 -3316
  101. package/dist/types/prisma-schema/index.js +56 -24
  102. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  103. package/dist/types/prisma-schema/package.json +8 -2
  104. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  105. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  106. package/dist/types/prisma-schema/runtime/index-browser.d.ts +3 -1
  107. package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
  108. package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
  109. package/dist/types/prisma-schema/runtime/library.js +55 -55
  110. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  111. package/dist/types/prisma-schema/runtime/wasm.js +17 -17
  112. package/dist/types/prisma-schema/schema.prisma +47 -1
  113. package/dist/types/prisma-schema/wasm.js +42 -15
  114. package/dist/types/schema.d.ts +1082 -48
  115. package/package.json +41 -37
  116. /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
@@ -17,12 +17,12 @@ exports.Prisma = Prisma
17
17
  exports.$Enums = {}
18
18
 
19
19
  /**
20
- * Prisma Client JS version: 5.22.0
21
- * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
20
+ * Prisma Client JS version: 6.4.1
21
+ * Query Engine version: a9055b89e58b4b5bfb59600785423b1db3d0e75d
22
22
  */
23
23
  Prisma.prismaVersion = {
24
- client: "5.22.0",
25
- engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
24
+ client: "6.4.1",
25
+ engine: "a9055b89e58b4b5bfb59600785423b1db3d0e75d"
26
26
  }
27
27
 
28
28
  Prisma.PrismaClientKnownRequestError = () => {
@@ -50,11 +50,6 @@ Prisma.PrismaClientValidationError = () => {
50
50
  throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
51
51
  In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
52
52
  )}
53
- Prisma.NotFoundError = () => {
54
- const runtimeName = getRuntime().prettyName;
55
- throw new Error(`NotFoundError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
56
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
57
- )}
58
53
  Prisma.Decimal = Decimal
59
54
 
60
55
  /**
@@ -136,7 +131,11 @@ exports.Prisma.AccountScalarFieldEnum = {
136
131
  exports.Prisma.ProfileScalarFieldEnum = {
137
132
  id: 'id',
138
133
  shortId: 'shortId',
134
+ firstTimeMiExpo: 'firstTimeMiExpo',
135
+ username: 'username',
136
+ password: 'password',
139
137
  phoneNumber: 'phoneNumber',
138
+ isPhoneVerified: 'isPhoneVerified',
140
139
  secondaryPhoneNumber: 'secondaryPhoneNumber',
141
140
  fullName: 'fullName',
142
141
  firstName: 'firstName',
@@ -155,6 +154,15 @@ exports.Prisma.ProfileScalarFieldEnum = {
155
154
  updated_at: 'updated_at'
156
155
  };
157
156
 
157
+ exports.Prisma.OtpScalarFieldEnum = {
158
+ id: 'id',
159
+ code: 'code',
160
+ ownerPhoneNumber: 'ownerPhoneNumber',
161
+ expiresAt: 'expiresAt',
162
+ created_at: 'created_at',
163
+ updated_at: 'updated_at'
164
+ };
165
+
158
166
  exports.Prisma.LocationScalarFieldEnum = {
159
167
  id: 'id',
160
168
  latitude: 'latitude',
@@ -239,6 +247,17 @@ exports.Prisma.CannedResponseScalarFieldEnum = {
239
247
  updated_at: 'updated_at'
240
248
  };
241
249
 
250
+ exports.Prisma.TicketScalarFieldEnum = {
251
+ id: 'id',
252
+ eventId: 'eventId',
253
+ type: 'type',
254
+ status: 'status',
255
+ fullName: 'fullName',
256
+ mail: 'mail',
257
+ created_at: 'created_at',
258
+ updated_at: 'updated_at'
259
+ };
260
+
242
261
  exports.Prisma.EnumsScalarFieldEnum = {
243
262
  id: 'id',
244
263
  templateStatus: 'templateStatus',
@@ -298,6 +317,18 @@ exports.MessageState = exports.$Enums.MessageState = {
298
317
  SEEN: 'SEEN'
299
318
  };
300
319
 
320
+ exports.TicketType = exports.$Enums.TicketType = {
321
+ PARTICIPANT: 'PARTICIPANT',
322
+ STAFF: 'STAFF',
323
+ SPECTATOR: 'SPECTATOR'
324
+ };
325
+
326
+ exports.TicketStatus = exports.$Enums.TicketStatus = {
327
+ BOOKED: 'BOOKED',
328
+ PAID: 'PAID',
329
+ FREE: 'FREE'
330
+ };
331
+
301
332
  exports.TemplateStatus = exports.$Enums.TemplateStatus = {
302
333
  APPROVED: 'APPROVED',
303
334
  PENDING: 'PENDING',
@@ -310,15 +341,10 @@ exports.TemplateCategory = exports.$Enums.TemplateCategory = {
310
341
  AUTHENTICATION: 'AUTHENTICATION'
311
342
  };
312
343
 
313
- exports.TicketType = exports.$Enums.TicketType = {
314
- PARTICIPANT: 'PARTICIPANT',
315
- STAFF: 'STAFF',
316
- SPECTATOR: 'SPECTATOR'
317
- };
318
-
319
344
  exports.Prisma.ModelName = {
320
345
  Account: 'Account',
321
346
  Profile: 'Profile',
347
+ Otp: 'Otp',
322
348
  Location: 'Location',
323
349
  Comment: 'Comment',
324
350
  Tag: 'Tag',
@@ -327,6 +353,7 @@ exports.Prisma.ModelName = {
327
353
  EventFolder: 'EventFolder',
328
354
  Message: 'Message',
329
355
  CannedResponse: 'CannedResponse',
356
+ Ticket: 'Ticket',
330
357
  Enums: 'Enums',
331
358
  EventTicket: 'EventTicket'
332
359
  };