expo-backend-types 0.10.0-EXPO-247-EB-Evento.6 → 0.11.0-EXPO-249-EB-Modelo.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/event/exports.d.ts +0 -5
- package/dist/src/event/exports.js +0 -5
- package/dist/src/event-folder/dto/event-folder.dto.js +1 -3
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +6 -6
- package/dist/src/event-folder/dto/get-all-event-folder.dto.js +1 -1
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +8 -31
- package/dist/src/i18n/es.js +8 -31
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/message/dto/message.dto.d.ts +173 -0
- package/dist/src/message/dto/message.dto.js +38 -0
- package/dist/src/message/exports.d.ts +1 -0
- package/dist/src/message/exports.js +18 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +728 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.js +26 -0
- package/dist/src/profile/exports.d.ts +1 -0
- package/dist/src/profile/exports.js +1 -0
- package/dist/types/prisma-schema/edge.js +2 -2
- package/dist/types/prisma-schema/index.js +2 -2
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -1
- package/dist/types/schema.d.ts +56 -324
- package/package.json +2 -1
- package/dist/src/event/dto/create-event.dto.d.ts +0 -166
- package/dist/src/event/dto/create-event.dto.js +0 -33
- package/dist/src/event/dto/delete-event.dto.d.ts +0 -71
- package/dist/src/event/dto/delete-event.dto.js +0 -10
- package/dist/src/event/dto/get-all-event.dto.d.ts +0 -1113
- package/dist/src/event/dto/get-all-event.dto.js +0 -26
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +0 -548
- package/dist/src/event/dto/get-by-id-event.dto.js +0 -25
- package/dist/src/event/dto/update-event.dto.d.ts +0 -373
- package/dist/src/event/dto/update-event.dto.js +0 -41
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.FindWithActiveChatResponseDto = exports.findWithActiveChatResponseSchema = void 0;
|
7
|
+
const message_dto_1 = require("../../message/dto/message.dto");
|
8
|
+
const profile_dto_1 = require("./profile.dto");
|
9
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
|
+
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
11
|
+
const zod_1 = __importDefault(require("zod"));
|
12
|
+
exports.findWithActiveChatResponseSchema = zod_1.default.object({
|
13
|
+
profiles: zod_1.default.array(profile_dto_1.profileSchema.merge(zod_1.default.object({
|
14
|
+
tags: zod_1.default.array(tag_dto_1.tagSchema),
|
15
|
+
inChat: zod_1.default.boolean(),
|
16
|
+
messages: zod_1.default.array(message_dto_1.messageSchema.pick({
|
17
|
+
state: true,
|
18
|
+
message: true,
|
19
|
+
created_at: true,
|
20
|
+
})),
|
21
|
+
}))),
|
22
|
+
});
|
23
|
+
class FindWithActiveChatResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findWithActiveChatResponseSchema) {
|
24
|
+
}
|
25
|
+
exports.FindWithActiveChatResponseDto = FindWithActiveChatResponseDto;
|
26
|
+
//# sourceMappingURL=find-with-active-chat.dto.js.map
|
@@ -7,5 +7,6 @@ export * from './dto/find-by-phone-number.dto';
|
|
7
7
|
export * from './dto/find-by-tag-groups-profile.dto';
|
8
8
|
export * from './dto/find-by-tags-profile.dto';
|
9
9
|
export * from './dto/find-trash.dto';
|
10
|
+
export * from './dto/find-with-active-chat.dto';
|
10
11
|
export * from './dto/profile.dto';
|
11
12
|
export * from './dto/update-profile.dto';
|
@@ -23,6 +23,7 @@ __exportStar(require("./dto/find-by-phone-number.dto"), exports);
|
|
23
23
|
__exportStar(require("./dto/find-by-tag-groups-profile.dto"), exports);
|
24
24
|
__exportStar(require("./dto/find-by-tags-profile.dto"), exports);
|
25
25
|
__exportStar(require("./dto/find-trash.dto"), exports);
|
26
|
+
__exportStar(require("./dto/find-with-active-chat.dto"), exports);
|
26
27
|
__exportStar(require("./dto/profile.dto"), exports);
|
27
28
|
__exportStar(require("./dto/update-profile.dto"), exports);
|
28
29
|
//# sourceMappingURL=exports.js.map
|
@@ -322,8 +322,8 @@ const config = {
|
|
322
322
|
}
|
323
323
|
}
|
324
324
|
},
|
325
|
-
"inlineSchema": "generator toDist {\n output = \"../dist/types/prisma-schema\"\n provider = \"prisma-client-js\"\n}\n\ngenerator client {\n output = \"../types/prisma-schema\"\n provider = \"prisma-client-js\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n relationMode = \"foreignKeys\"\n}\n\nmodel Account {\n id String @id @default(uuid())\n username String @unique\n password String\n role Role @default(USER)\n\n comments Comment[] @relation(\"ACCOUNT_X_COMMENT\")\n solvableComments Comment[] @relation(\"ACCOUNT_X_SOLVED_COMMENT\")\n tags Tag[] @relation(\"ACCOUNT_X_TAG\")\n\n globalFilter Tag[] @relation(\"GLOBAL_FILTER_X_ACCOUNT\")\n isGlobalFilterActive Boolean @default(false) @map(\"is_global_filter_active\")\n fcmToken String[] @map(\"fcm_token\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"ACCOUNT\")\n}\n\nenum Role {\n USER\n ADMIN\n FORM\n}\n\nmodel Profile {\n id String @id @default(uuid())\n shortId Int @map(\"short_id\")\n\n phoneNumber String @unique @map(\"phone_number\")\n secondaryPhoneNumber String? @unique @map(\"secondary_phone_number\")\n fullName String @map(\"full_name\")\n firstName String? @map(\"first_name\")\n gender String?\n birthDate DateTime? @map(\"birth_date\")\n profilePictureUrl String? @map(\"profile_picture_url\")\n instagram String?\n mail String?\n dni String?\n alternativeNames String[] @map(\"alternative_names\")\n\n comments Comment[] @relation(\"PROFILE_X_COMMENT\")\n messages Message[] @relation(\"PROFILE_X_MESSAGE\")\n tags Tag[] @relation(\"PROFILE_X_TAG\")\n\n birthLocationId String? @map(\"birth_location_id\")\n birthLocation Location? @relation(\"PROFILE_X_BIRTH_LOCATION\", fields: [birthLocationId], references: [id])\n\n residenceLocationId String? @map(\"residence_location_id\")\n residenceLocation Location? @relation(\"PROFILE_X_RESIDENCE_LOCATION\", fields: [residenceLocationId], references: [id])\n\n isInTrash Boolean @default(false) @map(\"is_in_trash\")\n movedToTrashDate DateTime? @map(\"moved_to_trash_date\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"PROFILE\")\n}\n\nmodel Location {\n id String @id @default(uuid())\n latitude Float\n longitude Float\n country String\n state String\n city String\n\n birthProfiles Profile[] @relation(\"PROFILE_X_BIRTH_LOCATION\")\n residenceProfiles Profile[] @relation(\"PROFILE_X_RESIDENCE_LOCATION\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@unique([latitude, longitude])\n @@map(\"LOCATION\")\n}\n\nmodel Comment {\n id String @id @default(uuid())\n content String\n\n createdBy String @map(\"created_by\")\n account Account @relation(\"ACCOUNT_X_COMMENT\", fields: [createdBy], references: [id])\n\n profileId String @map(\"perfil_id\")\n profile Profile @relation(\"PROFILE_X_COMMENT\", fields: [profileId], references: [id], onDelete: Cascade)\n\n isSolvable Boolean @default(false) @map(\"is_solvable\")\n isSolved Boolean @default(false) @map(\"is_solved\")\n solvedAt DateTime? @map(\"solved_at\")\n\n solvedById String? @map(\"solved_by\")\n solvedBy Account? @relation(\"ACCOUNT_X_SOLVED_COMMENT\", fields: [solvedById], references: [id])\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"COMMENT\")\n}\n\nmodel Tag {\n id String @id @default(uuid())\n name String\n type TagType @default(PROFILE)\n\n groupId String @map(\"group_id\")\n group TagGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)\n\n assistedEvent Event? @relation(\"EVENT_X_TAG_ASISTED\")\n confirmedEvent Event? @relation(\"EVENT_X_TAG_CONFIRMED\")\n\n accounts Account[] @relation(\"ACCOUNT_X_TAG\")\n profiles Profile[] @relation(\"PROFILE_X_TAG\")\n accountsGlobalFilter Account[] @relation(\"GLOBAL_FILTER_X_ACCOUNT\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"TAG\")\n}\n\nmodel TagGroup {\n id String @id @default(uuid())\n name String\n color String\n isExclusive Boolean @map(\"is_exclusive\")\n tags Tag[]\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"TAG_GROUP\")\n}\n\nmodel Event {\n id String @id @default(uuid())\n name String\n date DateTime\n location String\n\n folderId String? @map(\"folder_id\")\n folder EventFolder? @relation(\"EVENT_FOLDER_X_EVENT\", fields: [folderId], references: [id], onDelete: Cascade)\n\n tagAssistedId String @unique @map(\"tag_assisted\")\n tagAssisted Tag @relation(\"EVENT_X_TAG_ASISTED\", fields: [tagAssistedId], references: [id])\n\n tagConfirmedId String @unique @map(\"tag_confirmed\")\n tagConfirmed Tag @relation(\"EVENT_X_TAG_CONFIRMED\", fields: [tagConfirmedId], references: [id])\n\n supraEventId String? @map(\"supra_event_id\")\n supraEvent Event? @relation(\"SubEvents\", fields: [supraEventId], references: [id], onDelete: Cascade)\n\n subEvents Event[] @relation(\"SubEvents\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"EVENT\")\n}\n\nmodel EventFolder {\n id String @id @default(uuid())\n name String\n color String\n events Event[] @relation(\"EVENT_FOLDER_X_EVENT\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"EVENT_FOLDER\")\n}\n\nmodel Message {\n id String @id @default(uuid())\n wamId String @unique @map(\"wam_id\")\n message Json\n\n profilePhoneNumber String @map(\"profile_phone_number\")\n profile Profile @relation(\"PROFILE_X_MESSAGE\", fields: [profilePhoneNumber], references: [phoneNumber], onDelete: Cascade)\n\n state MessageState @default(SENT)\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"MESSAGE\")\n}\n\nmodel CannedResponse {\n id String @id @default(uuid())\n name String\n content String\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"CANNED_RESPONSE\")\n}\n\nmodel Enums {\n id String @id\n templateStatus TemplateStatus\n templateCategory TemplateCategory\n}\n\nenum TemplateStatus {\n APRROVED\n PENDING\n REJECTED\n}\n\nenum TemplateCategory {\n MARKETING\n UTILITY\n AUTHENTICATION\n}\n\nenum TagType {\n PROFILE\n EVENT\n PARTICIPANT\n NOT_IN_SYSTEM\n}\n\nenum MessageState {\n SENT\n RECEIVED\n SEEN\n}\n",
|
326
|
-
"inlineSchemaHash": "
|
325
|
+
"inlineSchema": "generator toDist {\n output = \"../dist/types/prisma-schema\"\n provider = \"prisma-client-js\"\n}\n\ngenerator client {\n output = \"../types/prisma-schema\"\n provider = \"prisma-client-js\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n relationMode = \"foreignKeys\"\n}\n\nmodel Account {\n id String @id @default(uuid())\n username String @unique\n password String\n role Role @default(USER)\n\n comments Comment[] @relation(\"ACCOUNT_X_COMMENT\")\n solvableComments Comment[] @relation(\"ACCOUNT_X_SOLVED_COMMENT\")\n tags Tag[] @relation(\"ACCOUNT_X_TAG\")\n\n globalFilter Tag[] @relation(\"GLOBAL_FILTER_X_ACCOUNT\")\n isGlobalFilterActive Boolean @default(false) @map(\"is_global_filter_active\")\n fcmToken String[] @map(\"fcm_token\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"ACCOUNT\")\n}\n\nenum Role {\n USER\n ADMIN\n FORM\n}\n\nmodel Profile {\n id String @id @default(uuid())\n shortId Int @map(\"short_id\")\n\n phoneNumber String @unique @map(\"phone_number\")\n secondaryPhoneNumber String? @unique @map(\"secondary_phone_number\")\n fullName String @map(\"full_name\")\n firstName String? @map(\"first_name\")\n gender String?\n birthDate DateTime? @map(\"birth_date\")\n profilePictureUrl String? @map(\"profile_picture_url\")\n instagram String?\n mail String?\n dni String?\n alternativeNames String[] @map(\"alternative_names\")\n\n comments Comment[] @relation(\"PROFILE_X_COMMENT\")\n messages Message[] @relation(\"PROFILE_X_MESSAGE\")\n tags Tag[] @relation(\"PROFILE_X_TAG\")\n\n birthLocationId String? @map(\"birth_location_id\")\n birthLocation Location? @relation(\"PROFILE_X_BIRTH_LOCATION\", fields: [birthLocationId], references: [id])\n\n residenceLocationId String? @map(\"residence_location_id\")\n residenceLocation Location? @relation(\"PROFILE_X_RESIDENCE_LOCATION\", fields: [residenceLocationId], references: [id])\n\n isInTrash Boolean @default(false) @map(\"is_in_trash\")\n movedToTrashDate DateTime? @map(\"moved_to_trash_date\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"PROFILE\")\n}\n\nmodel Location {\n id String @id @default(uuid())\n latitude Float\n longitude Float\n country String\n state String\n city String\n\n birthProfiles Profile[] @relation(\"PROFILE_X_BIRTH_LOCATION\")\n residenceProfiles Profile[] @relation(\"PROFILE_X_RESIDENCE_LOCATION\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@unique([latitude, longitude])\n @@map(\"LOCATION\")\n}\n\nmodel Comment {\n id String @id @default(uuid())\n content String\n\n createdBy String @map(\"created_by\")\n account Account @relation(\"ACCOUNT_X_COMMENT\", fields: [createdBy], references: [id])\n\n profileId String @map(\"perfil_id\")\n profile Profile @relation(\"PROFILE_X_COMMENT\", fields: [profileId], references: [id], onDelete: Cascade)\n\n isSolvable Boolean @default(false) @map(\"is_solvable\")\n isSolved Boolean @default(false) @map(\"is_solved\")\n solvedAt DateTime? @map(\"solved_at\")\n\n solvedById String? @map(\"solved_by\")\n solvedBy Account? @relation(\"ACCOUNT_X_SOLVED_COMMENT\", fields: [solvedById], references: [id])\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"COMMENT\")\n}\n\nmodel Tag {\n id String @id @default(uuid())\n name String\n type TagType @default(PROFILE)\n\n groupId String @map(\"group_id\")\n group TagGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)\n\n assistedEvent Event? @relation(\"EVENT_X_TAG_ASISTED\")\n confirmedEvent Event? @relation(\"EVENT_X_TAG_CONFIRMED\")\n\n accounts Account[] @relation(\"ACCOUNT_X_TAG\")\n profiles Profile[] @relation(\"PROFILE_X_TAG\")\n accountsGlobalFilter Account[] @relation(\"GLOBAL_FILTER_X_ACCOUNT\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"TAG\")\n}\n\nmodel TagGroup {\n id String @id @default(uuid())\n name String\n color String\n isExclusive Boolean @map(\"is_exclusive\")\n tags Tag[]\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"TAG_GROUP\")\n}\n\nmodel Event {\n id String @id @default(uuid())\n name String\n date DateTime\n location String\n\n folderId String? @map(\"folder_id\")\n folder EventFolder? @relation(\"EVENT_FOLDER_X_EVENT\", fields: [folderId], references: [id], onDelete: Cascade)\n\n tagAssistedId String @unique @map(\"tag_assisted\")\n tagAssisted Tag @relation(\"EVENT_X_TAG_ASISTED\", fields: [tagAssistedId], references: [id])\n\n tagConfirmedId String @unique @map(\"tag_confirmed\")\n tagConfirmed Tag @relation(\"EVENT_X_TAG_CONFIRMED\", fields: [tagConfirmedId], references: [id])\n\n supraEventId String? @map(\"supra_event_id\")\n supraEvent Event? @relation(\"SubEvents\", fields: [supraEventId], references: [id], onDelete: Cascade)\n\n subEvents Event[] @relation(\"SubEvents\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"EVENT\")\n}\n\nmodel EventFolder {\n id String @id @default(uuid())\n name String\n color String\n events Event[] @relation(\"EVENT_FOLDER_X_EVENT\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"EVENT_FOLDER\")\n}\n\nmodel Message {\n id String @id @default(uuid())\n wamId String @unique @map(\"wam_id\")\n message Json @db.JsonB\n\n profilePhoneNumber String @map(\"profile_phone_number\")\n profile Profile @relation(\"PROFILE_X_MESSAGE\", fields: [profilePhoneNumber], references: [phoneNumber], onDelete: Cascade)\n\n state MessageState @default(SENT)\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"MESSAGE\")\n}\n\nmodel CannedResponse {\n id String @id @default(uuid())\n name String\n content String\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"CANNED_RESPONSE\")\n}\n\nmodel Enums {\n id String @id\n templateStatus TemplateStatus\n templateCategory TemplateCategory\n}\n\nenum TemplateStatus {\n APRROVED\n PENDING\n REJECTED\n}\n\nenum TemplateCategory {\n MARKETING\n UTILITY\n AUTHENTICATION\n}\n\nenum TagType {\n PROFILE\n EVENT\n PARTICIPANT\n NOT_IN_SYSTEM\n}\n\nenum MessageState {\n SENT\n RECEIVED\n SEEN\n}\n",
|
326
|
+
"inlineSchemaHash": "368728e10a2fb61d59cca722c157f9345777f32b15fae0e2eedacfc62aa61899",
|
327
327
|
"copyEngine": true
|
328
328
|
}
|
329
329
|
config.dirname = '/'
|
@@ -323,8 +323,8 @@ const config = {
|
|
323
323
|
}
|
324
324
|
}
|
325
325
|
},
|
326
|
-
"inlineSchema": "generator toDist {\n output = \"../dist/types/prisma-schema\"\n provider = \"prisma-client-js\"\n}\n\ngenerator client {\n output = \"../types/prisma-schema\"\n provider = \"prisma-client-js\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n relationMode = \"foreignKeys\"\n}\n\nmodel Account {\n id String @id @default(uuid())\n username String @unique\n password String\n role Role @default(USER)\n\n comments Comment[] @relation(\"ACCOUNT_X_COMMENT\")\n solvableComments Comment[] @relation(\"ACCOUNT_X_SOLVED_COMMENT\")\n tags Tag[] @relation(\"ACCOUNT_X_TAG\")\n\n globalFilter Tag[] @relation(\"GLOBAL_FILTER_X_ACCOUNT\")\n isGlobalFilterActive Boolean @default(false) @map(\"is_global_filter_active\")\n fcmToken String[] @map(\"fcm_token\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"ACCOUNT\")\n}\n\nenum Role {\n USER\n ADMIN\n FORM\n}\n\nmodel Profile {\n id String @id @default(uuid())\n shortId Int @map(\"short_id\")\n\n phoneNumber String @unique @map(\"phone_number\")\n secondaryPhoneNumber String? @unique @map(\"secondary_phone_number\")\n fullName String @map(\"full_name\")\n firstName String? @map(\"first_name\")\n gender String?\n birthDate DateTime? @map(\"birth_date\")\n profilePictureUrl String? @map(\"profile_picture_url\")\n instagram String?\n mail String?\n dni String?\n alternativeNames String[] @map(\"alternative_names\")\n\n comments Comment[] @relation(\"PROFILE_X_COMMENT\")\n messages Message[] @relation(\"PROFILE_X_MESSAGE\")\n tags Tag[] @relation(\"PROFILE_X_TAG\")\n\n birthLocationId String? @map(\"birth_location_id\")\n birthLocation Location? @relation(\"PROFILE_X_BIRTH_LOCATION\", fields: [birthLocationId], references: [id])\n\n residenceLocationId String? @map(\"residence_location_id\")\n residenceLocation Location? @relation(\"PROFILE_X_RESIDENCE_LOCATION\", fields: [residenceLocationId], references: [id])\n\n isInTrash Boolean @default(false) @map(\"is_in_trash\")\n movedToTrashDate DateTime? @map(\"moved_to_trash_date\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"PROFILE\")\n}\n\nmodel Location {\n id String @id @default(uuid())\n latitude Float\n longitude Float\n country String\n state String\n city String\n\n birthProfiles Profile[] @relation(\"PROFILE_X_BIRTH_LOCATION\")\n residenceProfiles Profile[] @relation(\"PROFILE_X_RESIDENCE_LOCATION\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@unique([latitude, longitude])\n @@map(\"LOCATION\")\n}\n\nmodel Comment {\n id String @id @default(uuid())\n content String\n\n createdBy String @map(\"created_by\")\n account Account @relation(\"ACCOUNT_X_COMMENT\", fields: [createdBy], references: [id])\n\n profileId String @map(\"perfil_id\")\n profile Profile @relation(\"PROFILE_X_COMMENT\", fields: [profileId], references: [id], onDelete: Cascade)\n\n isSolvable Boolean @default(false) @map(\"is_solvable\")\n isSolved Boolean @default(false) @map(\"is_solved\")\n solvedAt DateTime? @map(\"solved_at\")\n\n solvedById String? @map(\"solved_by\")\n solvedBy Account? @relation(\"ACCOUNT_X_SOLVED_COMMENT\", fields: [solvedById], references: [id])\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"COMMENT\")\n}\n\nmodel Tag {\n id String @id @default(uuid())\n name String\n type TagType @default(PROFILE)\n\n groupId String @map(\"group_id\")\n group TagGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)\n\n assistedEvent Event? @relation(\"EVENT_X_TAG_ASISTED\")\n confirmedEvent Event? @relation(\"EVENT_X_TAG_CONFIRMED\")\n\n accounts Account[] @relation(\"ACCOUNT_X_TAG\")\n profiles Profile[] @relation(\"PROFILE_X_TAG\")\n accountsGlobalFilter Account[] @relation(\"GLOBAL_FILTER_X_ACCOUNT\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"TAG\")\n}\n\nmodel TagGroup {\n id String @id @default(uuid())\n name String\n color String\n isExclusive Boolean @map(\"is_exclusive\")\n tags Tag[]\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"TAG_GROUP\")\n}\n\nmodel Event {\n id String @id @default(uuid())\n name String\n date DateTime\n location String\n\n folderId String? @map(\"folder_id\")\n folder EventFolder? @relation(\"EVENT_FOLDER_X_EVENT\", fields: [folderId], references: [id], onDelete: Cascade)\n\n tagAssistedId String @unique @map(\"tag_assisted\")\n tagAssisted Tag @relation(\"EVENT_X_TAG_ASISTED\", fields: [tagAssistedId], references: [id])\n\n tagConfirmedId String @unique @map(\"tag_confirmed\")\n tagConfirmed Tag @relation(\"EVENT_X_TAG_CONFIRMED\", fields: [tagConfirmedId], references: [id])\n\n supraEventId String? @map(\"supra_event_id\")\n supraEvent Event? @relation(\"SubEvents\", fields: [supraEventId], references: [id], onDelete: Cascade)\n\n subEvents Event[] @relation(\"SubEvents\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"EVENT\")\n}\n\nmodel EventFolder {\n id String @id @default(uuid())\n name String\n color String\n events Event[] @relation(\"EVENT_FOLDER_X_EVENT\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"EVENT_FOLDER\")\n}\n\nmodel Message {\n id String @id @default(uuid())\n wamId String @unique @map(\"wam_id\")\n message Json\n\n profilePhoneNumber String @map(\"profile_phone_number\")\n profile Profile @relation(\"PROFILE_X_MESSAGE\", fields: [profilePhoneNumber], references: [phoneNumber], onDelete: Cascade)\n\n state MessageState @default(SENT)\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"MESSAGE\")\n}\n\nmodel CannedResponse {\n id String @id @default(uuid())\n name String\n content String\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"CANNED_RESPONSE\")\n}\n\nmodel Enums {\n id String @id\n templateStatus TemplateStatus\n templateCategory TemplateCategory\n}\n\nenum TemplateStatus {\n APRROVED\n PENDING\n REJECTED\n}\n\nenum TemplateCategory {\n MARKETING\n UTILITY\n AUTHENTICATION\n}\n\nenum TagType {\n PROFILE\n EVENT\n PARTICIPANT\n NOT_IN_SYSTEM\n}\n\nenum MessageState {\n SENT\n RECEIVED\n SEEN\n}\n",
|
327
|
-
"inlineSchemaHash": "
|
326
|
+
"inlineSchema": "generator toDist {\n output = \"../dist/types/prisma-schema\"\n provider = \"prisma-client-js\"\n}\n\ngenerator client {\n output = \"../types/prisma-schema\"\n provider = \"prisma-client-js\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n relationMode = \"foreignKeys\"\n}\n\nmodel Account {\n id String @id @default(uuid())\n username String @unique\n password String\n role Role @default(USER)\n\n comments Comment[] @relation(\"ACCOUNT_X_COMMENT\")\n solvableComments Comment[] @relation(\"ACCOUNT_X_SOLVED_COMMENT\")\n tags Tag[] @relation(\"ACCOUNT_X_TAG\")\n\n globalFilter Tag[] @relation(\"GLOBAL_FILTER_X_ACCOUNT\")\n isGlobalFilterActive Boolean @default(false) @map(\"is_global_filter_active\")\n fcmToken String[] @map(\"fcm_token\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"ACCOUNT\")\n}\n\nenum Role {\n USER\n ADMIN\n FORM\n}\n\nmodel Profile {\n id String @id @default(uuid())\n shortId Int @map(\"short_id\")\n\n phoneNumber String @unique @map(\"phone_number\")\n secondaryPhoneNumber String? @unique @map(\"secondary_phone_number\")\n fullName String @map(\"full_name\")\n firstName String? @map(\"first_name\")\n gender String?\n birthDate DateTime? @map(\"birth_date\")\n profilePictureUrl String? @map(\"profile_picture_url\")\n instagram String?\n mail String?\n dni String?\n alternativeNames String[] @map(\"alternative_names\")\n\n comments Comment[] @relation(\"PROFILE_X_COMMENT\")\n messages Message[] @relation(\"PROFILE_X_MESSAGE\")\n tags Tag[] @relation(\"PROFILE_X_TAG\")\n\n birthLocationId String? @map(\"birth_location_id\")\n birthLocation Location? @relation(\"PROFILE_X_BIRTH_LOCATION\", fields: [birthLocationId], references: [id])\n\n residenceLocationId String? @map(\"residence_location_id\")\n residenceLocation Location? @relation(\"PROFILE_X_RESIDENCE_LOCATION\", fields: [residenceLocationId], references: [id])\n\n isInTrash Boolean @default(false) @map(\"is_in_trash\")\n movedToTrashDate DateTime? @map(\"moved_to_trash_date\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"PROFILE\")\n}\n\nmodel Location {\n id String @id @default(uuid())\n latitude Float\n longitude Float\n country String\n state String\n city String\n\n birthProfiles Profile[] @relation(\"PROFILE_X_BIRTH_LOCATION\")\n residenceProfiles Profile[] @relation(\"PROFILE_X_RESIDENCE_LOCATION\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@unique([latitude, longitude])\n @@map(\"LOCATION\")\n}\n\nmodel Comment {\n id String @id @default(uuid())\n content String\n\n createdBy String @map(\"created_by\")\n account Account @relation(\"ACCOUNT_X_COMMENT\", fields: [createdBy], references: [id])\n\n profileId String @map(\"perfil_id\")\n profile Profile @relation(\"PROFILE_X_COMMENT\", fields: [profileId], references: [id], onDelete: Cascade)\n\n isSolvable Boolean @default(false) @map(\"is_solvable\")\n isSolved Boolean @default(false) @map(\"is_solved\")\n solvedAt DateTime? @map(\"solved_at\")\n\n solvedById String? @map(\"solved_by\")\n solvedBy Account? @relation(\"ACCOUNT_X_SOLVED_COMMENT\", fields: [solvedById], references: [id])\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"COMMENT\")\n}\n\nmodel Tag {\n id String @id @default(uuid())\n name String\n type TagType @default(PROFILE)\n\n groupId String @map(\"group_id\")\n group TagGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)\n\n assistedEvent Event? @relation(\"EVENT_X_TAG_ASISTED\")\n confirmedEvent Event? @relation(\"EVENT_X_TAG_CONFIRMED\")\n\n accounts Account[] @relation(\"ACCOUNT_X_TAG\")\n profiles Profile[] @relation(\"PROFILE_X_TAG\")\n accountsGlobalFilter Account[] @relation(\"GLOBAL_FILTER_X_ACCOUNT\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"TAG\")\n}\n\nmodel TagGroup {\n id String @id @default(uuid())\n name String\n color String\n isExclusive Boolean @map(\"is_exclusive\")\n tags Tag[]\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"TAG_GROUP\")\n}\n\nmodel Event {\n id String @id @default(uuid())\n name String\n date DateTime\n location String\n\n folderId String? @map(\"folder_id\")\n folder EventFolder? @relation(\"EVENT_FOLDER_X_EVENT\", fields: [folderId], references: [id], onDelete: Cascade)\n\n tagAssistedId String @unique @map(\"tag_assisted\")\n tagAssisted Tag @relation(\"EVENT_X_TAG_ASISTED\", fields: [tagAssistedId], references: [id])\n\n tagConfirmedId String @unique @map(\"tag_confirmed\")\n tagConfirmed Tag @relation(\"EVENT_X_TAG_CONFIRMED\", fields: [tagConfirmedId], references: [id])\n\n supraEventId String? @map(\"supra_event_id\")\n supraEvent Event? @relation(\"SubEvents\", fields: [supraEventId], references: [id], onDelete: Cascade)\n\n subEvents Event[] @relation(\"SubEvents\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"EVENT\")\n}\n\nmodel EventFolder {\n id String @id @default(uuid())\n name String\n color String\n events Event[] @relation(\"EVENT_FOLDER_X_EVENT\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"EVENT_FOLDER\")\n}\n\nmodel Message {\n id String @id @default(uuid())\n wamId String @unique @map(\"wam_id\")\n message Json @db.JsonB\n\n profilePhoneNumber String @map(\"profile_phone_number\")\n profile Profile @relation(\"PROFILE_X_MESSAGE\", fields: [profilePhoneNumber], references: [phoneNumber], onDelete: Cascade)\n\n state MessageState @default(SENT)\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"MESSAGE\")\n}\n\nmodel CannedResponse {\n id String @id @default(uuid())\n name String\n content String\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"CANNED_RESPONSE\")\n}\n\nmodel Enums {\n id String @id\n templateStatus TemplateStatus\n templateCategory TemplateCategory\n}\n\nenum TemplateStatus {\n APRROVED\n PENDING\n REJECTED\n}\n\nenum TemplateCategory {\n MARKETING\n UTILITY\n AUTHENTICATION\n}\n\nenum TagType {\n PROFILE\n EVENT\n PARTICIPANT\n NOT_IN_SYSTEM\n}\n\nenum MessageState {\n SENT\n RECEIVED\n SEEN\n}\n",
|
327
|
+
"inlineSchemaHash": "368728e10a2fb61d59cca722c157f9345777f32b15fae0e2eedacfc62aa61899",
|
328
328
|
"copyEngine": true
|
329
329
|
}
|
330
330
|
|
@@ -191,7 +191,7 @@ model EventFolder {
|
|
191
191
|
model Message {
|
192
192
|
id String @id @default(uuid())
|
193
193
|
wamId String @unique @map("wam_id")
|
194
|
-
message Json
|
194
|
+
message Json @db.JsonB
|
195
195
|
|
196
196
|
profilePhoneNumber String @map("profile_phone_number")
|
197
197
|
profile Profile @relation("PROFILE_X_MESSAGE", fields: [profilePhoneNumber], references: [phoneNumber], onDelete: Cascade)
|
package/dist/types/schema.d.ts
CHANGED
@@ -511,30 +511,14 @@ export interface paths {
|
|
511
511
|
patch?: never;
|
512
512
|
trace?: never;
|
513
513
|
};
|
514
|
-
"/
|
515
|
-
parameters: {
|
516
|
-
query?: never;
|
517
|
-
header?: never;
|
518
|
-
path?: never;
|
519
|
-
cookie?: never;
|
520
|
-
};
|
521
|
-
get?: never;
|
522
|
-
put?: never;
|
523
|
-
post: operations["EventController_create"];
|
524
|
-
delete?: never;
|
525
|
-
options?: never;
|
526
|
-
head?: never;
|
527
|
-
patch?: never;
|
528
|
-
trace?: never;
|
529
|
-
};
|
530
|
-
"/event/all": {
|
514
|
+
"/profile/all": {
|
531
515
|
parameters: {
|
532
516
|
query?: never;
|
533
517
|
header?: never;
|
534
518
|
path?: never;
|
535
519
|
cookie?: never;
|
536
520
|
};
|
537
|
-
get: operations["
|
521
|
+
get: operations["ProfileController_findAll"];
|
538
522
|
put?: never;
|
539
523
|
post?: never;
|
540
524
|
delete?: never;
|
@@ -543,30 +527,14 @@ export interface paths {
|
|
543
527
|
patch?: never;
|
544
528
|
trace?: never;
|
545
529
|
};
|
546
|
-
"/
|
530
|
+
"/profile/all-with-active-chat": {
|
547
531
|
parameters: {
|
548
532
|
query?: never;
|
549
533
|
header?: never;
|
550
534
|
path?: never;
|
551
535
|
cookie?: never;
|
552
536
|
};
|
553
|
-
get: operations["
|
554
|
-
put?: never;
|
555
|
-
post?: never;
|
556
|
-
delete: operations["EventController_remove"];
|
557
|
-
options?: never;
|
558
|
-
head?: never;
|
559
|
-
patch: operations["EventController_update"];
|
560
|
-
trace?: never;
|
561
|
-
};
|
562
|
-
"/profile/all": {
|
563
|
-
parameters: {
|
564
|
-
query?: never;
|
565
|
-
header?: never;
|
566
|
-
path?: never;
|
567
|
-
cookie?: never;
|
568
|
-
};
|
569
|
-
get: operations["ProfileController_findAll"];
|
537
|
+
get: operations["ProfileController_findAllWithActiveChat"];
|
570
538
|
put?: never;
|
571
539
|
post?: never;
|
572
540
|
delete?: never;
|
@@ -1164,7 +1132,7 @@ export interface components {
|
|
1164
1132
|
updated_at: string;
|
1165
1133
|
};
|
1166
1134
|
GetAllEventFolderResponseDto: {
|
1167
|
-
|
1135
|
+
eventFolders: {
|
1168
1136
|
id: string;
|
1169
1137
|
name: string;
|
1170
1138
|
color: string;
|
@@ -1221,166 +1189,42 @@ export interface components {
|
|
1221
1189
|
created_at: string;
|
1222
1190
|
updated_at: string;
|
1223
1191
|
};
|
1224
|
-
|
1225
|
-
|
1226
|
-
date: string;
|
1227
|
-
location: string;
|
1228
|
-
folderId: null;
|
1229
|
-
subEvents?: {
|
1230
|
-
name: string;
|
1231
|
-
date: string;
|
1232
|
-
location: string;
|
1233
|
-
}[];
|
1234
|
-
};
|
1235
|
-
CreateEventResponseDto: {
|
1236
|
-
id: string;
|
1237
|
-
name: string;
|
1238
|
-
date: string;
|
1239
|
-
location: string;
|
1240
|
-
folderId: null;
|
1241
|
-
tagAssistedId: string;
|
1242
|
-
tagConfirmedId: string;
|
1243
|
-
supraEventId: null;
|
1244
|
-
created_at: string;
|
1245
|
-
updated_at: string;
|
1246
|
-
};
|
1247
|
-
GetAllEventsResponseDto: {
|
1248
|
-
folders: {
|
1249
|
-
id: string;
|
1250
|
-
name: string;
|
1251
|
-
color: string;
|
1252
|
-
created_at: string;
|
1253
|
-
updated_at: string;
|
1254
|
-
events: {
|
1255
|
-
id: string;
|
1256
|
-
name: string;
|
1257
|
-
date: string;
|
1258
|
-
location: string;
|
1259
|
-
folderId: null;
|
1260
|
-
tagAssistedId: string;
|
1261
|
-
tagConfirmedId: string;
|
1262
|
-
supraEventId: null;
|
1263
|
-
created_at: string;
|
1264
|
-
updated_at: string;
|
1265
|
-
supraEvent: null;
|
1266
|
-
subEvents: {
|
1267
|
-
id: string;
|
1268
|
-
name: string;
|
1269
|
-
date: string;
|
1270
|
-
location: string;
|
1271
|
-
folderId: null;
|
1272
|
-
tagAssistedId: string;
|
1273
|
-
tagConfirmedId: string;
|
1274
|
-
supraEventId: null;
|
1275
|
-
created_at: string;
|
1276
|
-
updated_at: string;
|
1277
|
-
}[];
|
1278
|
-
}[];
|
1279
|
-
}[];
|
1280
|
-
withoutFolder: {
|
1192
|
+
FindAllProfileResponseDto: {
|
1193
|
+
profiles: {
|
1281
1194
|
id: string;
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1195
|
+
shortId: number;
|
1196
|
+
phoneNumber: string;
|
1197
|
+
secondaryPhoneNumber: null;
|
1198
|
+
fullName: string;
|
1199
|
+
firstName: null;
|
1200
|
+
gender: null;
|
1201
|
+
birthDate: null;
|
1202
|
+
profilePictureUrl: null;
|
1203
|
+
instagram: null;
|
1204
|
+
mail: null;
|
1205
|
+
dni: null;
|
1206
|
+
alternativeNames: string[];
|
1207
|
+
birthLocationId: null;
|
1208
|
+
residenceLocationId: null;
|
1209
|
+
isInTrash: boolean;
|
1210
|
+
movedToTrashDate: null;
|
1289
1211
|
created_at: string;
|
1290
1212
|
updated_at: string;
|
1291
|
-
|
1292
|
-
subEvents: {
|
1213
|
+
tags: {
|
1293
1214
|
id: string;
|
1294
1215
|
name: string;
|
1295
|
-
|
1296
|
-
|
1297
|
-
folderId: null;
|
1298
|
-
tagAssistedId: string;
|
1299
|
-
tagConfirmedId: string;
|
1300
|
-
supraEventId: null;
|
1216
|
+
groupId: string;
|
1217
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
1301
1218
|
created_at: string;
|
1302
1219
|
updated_at: string;
|
1220
|
+
group: {
|
1221
|
+
color: string;
|
1222
|
+
isExclusive: boolean;
|
1223
|
+
};
|
1303
1224
|
}[];
|
1304
1225
|
}[];
|
1305
1226
|
};
|
1306
|
-
|
1307
|
-
id: string;
|
1308
|
-
name: string;
|
1309
|
-
date: string;
|
1310
|
-
location: string;
|
1311
|
-
folderId: null;
|
1312
|
-
tagAssistedId: string;
|
1313
|
-
tagConfirmedId: string;
|
1314
|
-
supraEventId: null;
|
1315
|
-
created_at: string;
|
1316
|
-
updated_at: string;
|
1317
|
-
subEvents: {
|
1318
|
-
id: string;
|
1319
|
-
name: string;
|
1320
|
-
date: string;
|
1321
|
-
location: string;
|
1322
|
-
folderId: null;
|
1323
|
-
tagAssistedId: string;
|
1324
|
-
tagConfirmedId: string;
|
1325
|
-
supraEventId: null;
|
1326
|
-
created_at: string;
|
1327
|
-
updated_at: string;
|
1328
|
-
}[];
|
1329
|
-
supraEvent: null;
|
1330
|
-
};
|
1331
|
-
UpdateEventDto: {
|
1332
|
-
name: string;
|
1333
|
-
folderId: null;
|
1334
|
-
date: string;
|
1335
|
-
location: string;
|
1336
|
-
subEvents: {
|
1337
|
-
name: string;
|
1338
|
-
location: string;
|
1339
|
-
date: string;
|
1340
|
-
id: string | "";
|
1341
|
-
}[];
|
1342
|
-
};
|
1343
|
-
UpdateEventResponseDto: {
|
1344
|
-
id: string;
|
1345
|
-
name: string;
|
1346
|
-
date: string;
|
1347
|
-
location: string;
|
1348
|
-
folderId: null;
|
1349
|
-
tagAssistedId: string;
|
1350
|
-
tagConfirmedId: string;
|
1351
|
-
supraEventId: null;
|
1352
|
-
created_at: string;
|
1353
|
-
updated_at: string;
|
1354
|
-
tagAssisted: {
|
1355
|
-
id: string;
|
1356
|
-
name: string;
|
1357
|
-
groupId: string;
|
1358
|
-
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
1359
|
-
created_at: string;
|
1360
|
-
updated_at: string;
|
1361
|
-
group: {
|
1362
|
-
id: string;
|
1363
|
-
name: string;
|
1364
|
-
color: string;
|
1365
|
-
isExclusive: boolean;
|
1366
|
-
created_at: string;
|
1367
|
-
updated_at: string;
|
1368
|
-
};
|
1369
|
-
};
|
1370
|
-
};
|
1371
|
-
DeleteEventResponseDto: {
|
1372
|
-
id: string;
|
1373
|
-
name: string;
|
1374
|
-
date: string;
|
1375
|
-
location: string;
|
1376
|
-
folderId: null;
|
1377
|
-
tagAssistedId: string;
|
1378
|
-
tagConfirmedId: string;
|
1379
|
-
supraEventId: null;
|
1380
|
-
created_at: string;
|
1381
|
-
updated_at: string;
|
1382
|
-
};
|
1383
|
-
FindAllProfileResponseDto: {
|
1227
|
+
FindWithActiveChatResponseDto: {
|
1384
1228
|
profiles: {
|
1385
1229
|
id: string;
|
1386
1230
|
shortId: number;
|
@@ -1408,10 +1252,28 @@ export interface components {
|
|
1408
1252
|
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
1409
1253
|
created_at: string;
|
1410
1254
|
updated_at: string;
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1255
|
+
}[];
|
1256
|
+
inChat: boolean;
|
1257
|
+
messages: {
|
1258
|
+
state: "SENT" | "RECEIVED" | "SEEN";
|
1259
|
+
message: {
|
1260
|
+
id: string;
|
1261
|
+
from?: string;
|
1262
|
+
to?: string;
|
1263
|
+
timestamp: number;
|
1264
|
+
text: {
|
1265
|
+
body: string;
|
1266
|
+
};
|
1267
|
+
type: "text";
|
1268
|
+
} | {
|
1269
|
+
id: string;
|
1270
|
+
from?: string;
|
1271
|
+
to?: string;
|
1272
|
+
timestamp: number;
|
1273
|
+
templateName: string;
|
1274
|
+
type: "template";
|
1414
1275
|
};
|
1276
|
+
created_at: string;
|
1415
1277
|
}[];
|
1416
1278
|
}[];
|
1417
1279
|
};
|
@@ -2651,38 +2513,7 @@ export interface operations {
|
|
2651
2513
|
};
|
2652
2514
|
};
|
2653
2515
|
};
|
2654
|
-
|
2655
|
-
parameters: {
|
2656
|
-
query?: never;
|
2657
|
-
header?: never;
|
2658
|
-
path?: never;
|
2659
|
-
cookie?: never;
|
2660
|
-
};
|
2661
|
-
requestBody: {
|
2662
|
-
content: {
|
2663
|
-
"application/json": components["schemas"]["CreateEventDto"];
|
2664
|
-
};
|
2665
|
-
};
|
2666
|
-
responses: {
|
2667
|
-
201: {
|
2668
|
-
headers: {
|
2669
|
-
[name: string]: unknown;
|
2670
|
-
};
|
2671
|
-
content: {
|
2672
|
-
"application/json": components["schemas"]["CreateEventResponseDto"];
|
2673
|
-
};
|
2674
|
-
};
|
2675
|
-
409: {
|
2676
|
-
headers: {
|
2677
|
-
[name: string]: unknown;
|
2678
|
-
};
|
2679
|
-
content: {
|
2680
|
-
"application/json": components["schemas"]["ErrorDto"];
|
2681
|
-
};
|
2682
|
-
};
|
2683
|
-
};
|
2684
|
-
};
|
2685
|
-
EventController_findAll: {
|
2516
|
+
ProfileController_findAll: {
|
2686
2517
|
parameters: {
|
2687
2518
|
query?: never;
|
2688
2519
|
header?: never;
|
@@ -2696,111 +2527,12 @@ export interface operations {
|
|
2696
2527
|
[name: string]: unknown;
|
2697
2528
|
};
|
2698
2529
|
content: {
|
2699
|
-
"application/json": components["schemas"]["
|
2700
|
-
};
|
2701
|
-
};
|
2702
|
-
404: {
|
2703
|
-
headers: {
|
2704
|
-
[name: string]: unknown;
|
2705
|
-
};
|
2706
|
-
content: {
|
2707
|
-
"application/json": components["schemas"]["ErrorDto"];
|
2708
|
-
};
|
2709
|
-
};
|
2710
|
-
};
|
2711
|
-
};
|
2712
|
-
EventController_findById: {
|
2713
|
-
parameters: {
|
2714
|
-
query?: never;
|
2715
|
-
header?: never;
|
2716
|
-
path: {
|
2717
|
-
id: string;
|
2718
|
-
};
|
2719
|
-
cookie?: never;
|
2720
|
-
};
|
2721
|
-
requestBody?: never;
|
2722
|
-
responses: {
|
2723
|
-
200: {
|
2724
|
-
headers: {
|
2725
|
-
[name: string]: unknown;
|
2726
|
-
};
|
2727
|
-
content: {
|
2728
|
-
"application/json": components["schemas"]["GetByIdEventResponseDto"];
|
2729
|
-
};
|
2730
|
-
};
|
2731
|
-
404: {
|
2732
|
-
headers: {
|
2733
|
-
[name: string]: unknown;
|
2734
|
-
};
|
2735
|
-
content: {
|
2736
|
-
"application/json": components["schemas"]["ErrorDto"];
|
2737
|
-
};
|
2738
|
-
};
|
2739
|
-
};
|
2740
|
-
};
|
2741
|
-
EventController_remove: {
|
2742
|
-
parameters: {
|
2743
|
-
query?: never;
|
2744
|
-
header?: never;
|
2745
|
-
path: {
|
2746
|
-
id: string;
|
2747
|
-
};
|
2748
|
-
cookie?: never;
|
2749
|
-
};
|
2750
|
-
requestBody?: never;
|
2751
|
-
responses: {
|
2752
|
-
404: {
|
2753
|
-
headers: {
|
2754
|
-
[name: string]: unknown;
|
2755
|
-
};
|
2756
|
-
content: {
|
2757
|
-
"application/json": components["schemas"]["ErrorDto"];
|
2758
|
-
};
|
2759
|
-
};
|
2760
|
-
410: {
|
2761
|
-
headers: {
|
2762
|
-
[name: string]: unknown;
|
2763
|
-
};
|
2764
|
-
content: {
|
2765
|
-
"application/json": components["schemas"]["DeleteEventResponseDto"];
|
2766
|
-
};
|
2767
|
-
};
|
2768
|
-
};
|
2769
|
-
};
|
2770
|
-
EventController_update: {
|
2771
|
-
parameters: {
|
2772
|
-
query?: never;
|
2773
|
-
header?: never;
|
2774
|
-
path: {
|
2775
|
-
id: string;
|
2776
|
-
};
|
2777
|
-
cookie?: never;
|
2778
|
-
};
|
2779
|
-
requestBody: {
|
2780
|
-
content: {
|
2781
|
-
"application/json": components["schemas"]["UpdateEventDto"];
|
2782
|
-
};
|
2783
|
-
};
|
2784
|
-
responses: {
|
2785
|
-
200: {
|
2786
|
-
headers: {
|
2787
|
-
[name: string]: unknown;
|
2788
|
-
};
|
2789
|
-
content: {
|
2790
|
-
"application/json": components["schemas"]["UpdateEventResponseDto"];
|
2791
|
-
};
|
2792
|
-
};
|
2793
|
-
404: {
|
2794
|
-
headers: {
|
2795
|
-
[name: string]: unknown;
|
2796
|
-
};
|
2797
|
-
content: {
|
2798
|
-
"application/json": components["schemas"]["ErrorDto"];
|
2530
|
+
"application/json": components["schemas"]["FindAllProfileResponseDto"];
|
2799
2531
|
};
|
2800
2532
|
};
|
2801
2533
|
};
|
2802
2534
|
};
|
2803
|
-
|
2535
|
+
ProfileController_findAllWithActiveChat: {
|
2804
2536
|
parameters: {
|
2805
2537
|
query?: never;
|
2806
2538
|
header?: never;
|
@@ -2814,7 +2546,7 @@ export interface operations {
|
|
2814
2546
|
[name: string]: unknown;
|
2815
2547
|
};
|
2816
2548
|
content: {
|
2817
|
-
"application/json": components["schemas"]["
|
2549
|
+
"application/json": components["schemas"]["FindWithActiveChatResponseDto"];
|
2818
2550
|
};
|
2819
2551
|
};
|
2820
2552
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.11.0-EXPO-249-EB-Modelo.1",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -49,6 +49,7 @@
|
|
49
49
|
"class-transformer": "^0.5.1",
|
50
50
|
"class-validator": "^0.14.1",
|
51
51
|
"country-state-city": "^3.2.1",
|
52
|
+
"date-fns": "^4.1.0",
|
52
53
|
"i18n-js": "^4.4.3",
|
53
54
|
"json-to-pretty-yaml": "^1.2.2",
|
54
55
|
"openapi3-ts": "^4.4.0",
|