expo-backend-types 0.30.0-EXPO-308-auth.14 → 0.30.0-EXPO-308-auth.16

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 (62) hide show
  1. package/dist/src/auth/dto/login-mi-expo.dto.js +1 -1
  2. package/dist/src/exports.d.ts +1 -0
  3. package/dist/src/exports.js +1 -0
  4. package/dist/src/message/dto/non-read-messages.dto.js +1 -1
  5. package/dist/src/message/dto/send-message-to-phone.dto.js +1 -1
  6. package/dist/src/otp/dto/send-otp.dto.js +1 -1
  7. package/dist/src/otp/dto/verify-otp.dto.js +1 -1
  8. package/dist/src/profile/dto/create-profile.dto.d.ts +468 -82
  9. package/dist/src/profile/dto/create-profile.dto.js +80 -4
  10. package/dist/src/profile/dto/delete-profile.dto.d.ts +73 -0
  11. package/dist/src/profile/dto/delete-profile.dto.js +4 -3
  12. package/dist/src/profile/dto/find-all-profile.dto.d.ts +266 -39
  13. package/dist/src/profile/dto/find-all-profile.dto.js +19 -3
  14. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +440 -79
  15. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +26 -4
  16. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +309 -58
  17. package/dist/src/profile/dto/find-by-id-profile.dto.js +21 -3
  18. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +73 -0
  19. package/dist/src/profile/dto/find-by-phone-number.dto.js +4 -3
  20. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +223 -35
  21. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +13 -3
  22. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +257 -38
  23. package/dist/src/profile/dto/find-by-tags-profile.dto.js +18 -3
  24. package/dist/src/profile/dto/find-trash.dto.d.ts +75 -11
  25. package/dist/src/profile/dto/find-trash.dto.js +18 -3
  26. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +443 -58
  27. package/dist/src/profile/dto/find-with-active-chat.dto.js +20 -3
  28. package/dist/src/profile/dto/profile.dto.js +1 -1
  29. package/dist/src/profile/dto/update-profile.dto.d.ts +244 -60
  30. package/dist/src/profile/dto/update-profile.dto.js +48 -4
  31. package/dist/src/profile/exports.d.ts +12 -12
  32. package/dist/src/profile/exports.js +12 -12
  33. package/dist/src/schema/exports.d.ts +1 -0
  34. package/dist/src/schema/exports.js +18 -0
  35. package/dist/src/{profile/schema → schema}/profile.schema.js +1 -1
  36. package/dist/src/tag/dto/massive-allocation.dto.js +1 -1
  37. package/dist/src/tag/dto/massive-deallocation.dto.js +1 -1
  38. package/dist/types/schema.d.ts +0 -4
  39. package/package.json +23 -25
  40. package/dist/src/profile/schema/create-profile.schema.d.ts +0 -405
  41. package/dist/src/profile/schema/create-profile.schema.js +0 -83
  42. package/dist/src/profile/schema/delete-profile.schema.d.ts +0 -73
  43. package/dist/src/profile/schema/delete-profile.schema.js +0 -6
  44. package/dist/src/profile/schema/find-all-profile.schema.d.ts +0 -227
  45. package/dist/src/profile/schema/find-all-profile.schema.js +0 -21
  46. package/dist/src/profile/schema/find-by-date-range-profile.schema.d.ts +0 -361
  47. package/dist/src/profile/schema/find-by-date-range-profile.schema.js +0 -27
  48. package/dist/src/profile/schema/find-by-id-profile.schema.d.ts +0 -251
  49. package/dist/src/profile/schema/find-by-id-profile.schema.js +0 -23
  50. package/dist/src/profile/schema/find-by-phone-number.schema.d.ts +0 -73
  51. package/dist/src/profile/schema/find-by-phone-number.schema.js +0 -6
  52. package/dist/src/profile/schema/find-by-tag-groups-profile.schema.d.ts +0 -188
  53. package/dist/src/profile/schema/find-by-tag-groups-profile.schema.js +0 -15
  54. package/dist/src/profile/schema/find-by-tags-profile.schema.d.ts +0 -219
  55. package/dist/src/profile/schema/find-by-tags-profile.schema.js +0 -20
  56. package/dist/src/profile/schema/find-trash.schema.d.ts +0 -64
  57. package/dist/src/profile/schema/find-trash.schema.js +0 -20
  58. package/dist/src/profile/schema/find-with-active-chat.schema.d.ts +0 -385
  59. package/dist/src/profile/schema/find-with-active-chat.schema.js +0 -22
  60. package/dist/src/profile/schema/update-profile.schema.d.ts +0 -196
  61. package/dist/src/profile/schema/update-profile.schema.js +0 -51
  62. /package/dist/src/{profile/schema → schema}/profile.schema.d.ts +0 -0
@@ -1,13 +1,77 @@
1
- declare const FindTrashResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
2
- profiles: import("zod").ZodArray<import("zod").ZodObject<{
3
- id: import("zod").ZodString;
4
- phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
5
- fullName: import("zod").ZodString;
6
- profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
7
- created_at: import("zod").ZodString;
8
- isInTrash: import("zod").ZodBoolean;
9
- movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
10
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
1
+ import z from 'zod';
2
+ export declare const findTrashResponseSchema: z.ZodObject<{
3
+ profiles: z.ZodArray<z.ZodObject<Pick<{
4
+ id: z.ZodString;
5
+ shortId: z.ZodNumber;
6
+ firstTimeMiExpo: z.ZodBoolean;
7
+ username: z.ZodNullable<z.ZodString>;
8
+ password: z.ZodNullable<z.ZodString>;
9
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
+ isPhoneVerified: z.ZodBoolean;
11
+ secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
12
+ fullName: z.ZodString;
13
+ firstName: z.ZodNullable<z.ZodString>;
14
+ gender: z.ZodNullable<z.ZodString>;
15
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
16
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
17
+ instagram: z.ZodNullable<z.ZodString>;
18
+ mail: z.ZodNullable<z.ZodString>;
19
+ dni: z.ZodNullable<z.ZodString>;
20
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
21
+ birthLocationId: z.ZodNullable<z.ZodString>;
22
+ residenceLocationId: z.ZodNullable<z.ZodString>;
23
+ isInTrash: z.ZodBoolean;
24
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
25
+ created_at: z.ZodDate;
26
+ updated_at: z.ZodDate;
27
+ }, "id" | "phoneNumber" | "fullName" | "profilePictureUrl" | "created_at" | "isInTrash" | "movedToTrashDate">, "strip", z.ZodTypeAny, {
28
+ id: string;
29
+ phoneNumber: string;
30
+ fullName: string;
31
+ profilePictureUrl: string | null;
32
+ created_at: Date;
33
+ isInTrash: boolean;
34
+ movedToTrashDate: Date | null;
35
+ }, {
36
+ id: string;
37
+ phoneNumber: string;
38
+ fullName: string;
39
+ profilePictureUrl: string | null;
40
+ created_at: Date;
41
+ isInTrash: boolean;
42
+ movedToTrashDate: Date | null;
43
+ }>, "many">;
44
+ }, "strip", z.ZodTypeAny, {
45
+ profiles: {
46
+ id: string;
47
+ phoneNumber: string;
48
+ fullName: string;
49
+ profilePictureUrl: string | null;
50
+ created_at: Date;
51
+ isInTrash: boolean;
52
+ movedToTrashDate: Date | null;
53
+ }[];
54
+ }, {
55
+ profiles: {
56
+ id: string;
57
+ phoneNumber: string;
58
+ fullName: string;
59
+ profilePictureUrl: string | null;
60
+ created_at: Date;
61
+ isInTrash: boolean;
62
+ movedToTrashDate: Date | null;
63
+ }[];
64
+ }>;
65
+ declare const FindTrashResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
66
+ profiles: z.ZodArray<z.ZodObject<{
67
+ id: z.ZodString;
68
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
69
+ fullName: z.ZodString;
70
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
71
+ created_at: z.ZodString;
72
+ isInTrash: z.ZodBoolean;
73
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
74
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
11
75
  id: string;
12
76
  phoneNumber: string;
13
77
  fullName: string;
@@ -24,7 +88,7 @@ declare const FindTrashResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
24
88
  isInTrash: boolean;
25
89
  movedToTrashDate: string | null;
26
90
  }>, "many">;
27
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
91
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
28
92
  profiles: {
29
93
  id: string;
30
94
  phoneNumber: string;
@@ -1,9 +1,24 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindTrashResponseDto = void 0;
4
- const find_trash_schema_1 = require("../schema/find-trash.schema");
6
+ exports.FindTrashResponseDto = exports.findTrashResponseSchema = void 0;
7
+ const profile_schema_1 = require("../../schema/profile.schema");
5
8
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- class FindTrashResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(find_trash_schema_1.findTrashResponseSchema) {
9
+ const zod_1 = __importDefault(require("zod"));
10
+ exports.findTrashResponseSchema = zod_1.default.object({
11
+ profiles: zod_1.default.array(profile_schema_1.profileSchema.pick({
12
+ id: true,
13
+ fullName: true,
14
+ profilePictureUrl: true,
15
+ created_at: true,
16
+ isInTrash: true,
17
+ phoneNumber: true,
18
+ movedToTrashDate: true,
19
+ })),
20
+ });
21
+ class FindTrashResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findTrashResponseSchema) {
7
22
  }
8
23
  exports.FindTrashResponseDto = FindTrashResponseDto;
9
24
  //# sourceMappingURL=find-trash.dto.js.map