expo-backend-types 0.11.0-EXPO-249-EB-Modelo.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/event/dto/create-event.dto.d.ts +166 -0
- package/dist/src/event/dto/create-event.dto.js +33 -0
- package/dist/src/event/dto/delete-event.dto.d.ts +71 -0
- package/dist/src/event/dto/delete-event.dto.js +10 -0
- package/dist/src/event/dto/get-all-event.dto.d.ts +1113 -0
- package/dist/src/event/dto/get-all-event.dto.js +26 -0
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +548 -0
- package/dist/src/event/dto/get-by-id-event.dto.js +25 -0
- package/dist/src/event/dto/update-event.dto.d.ts +373 -0
- package/dist/src/event/dto/update-event.dto.js +41 -0
- package/dist/src/event/exports.d.ts +5 -0
- package/dist/src/event/exports.js +5 -0
- package/dist/src/event-folder/dto/event-folder.dto.js +3 -1
- 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 +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/i18n/es.d.ts +31 -8
- package/dist/src/i18n/es.js +31 -8
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/profile/exports.d.ts +0 -1
- package/dist/src/profile/exports.js +0 -1
- 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 +324 -56
- package/package.json +1 -2
- package/dist/src/message/dto/message.dto.d.ts +0 -173
- package/dist/src/message/dto/message.dto.js +0 -38
- package/dist/src/message/exports.d.ts +0 -1
- package/dist/src/message/exports.js +0 -18
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +0 -728
- package/dist/src/profile/dto/find-with-active-chat.dto.js +0 -26
package/dist/src/i18n/es.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es.js","sourceRoot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oBAAoB;aAC9B;YACD,oBAAoB,EAAE;gBACpB,WAAW,EAAE,sBAAsB;gBACnC,sBAAsB,EAAE,6CAA6C;gBACrE,OAAO,EAAE,oBAAoB;aAC9B;YACD,MAAM,EAAE;gBACN,2BAA2B,EACzB,4CAA4C;gBAC9C,OAAO,EAAE,yBAAyB;gBAClC,oBAAoB,EAAE,iCAAiC;gBACvD,6BAA6B,EAAE,sCAAsC;gBACrE,uCAAuC,EACrC,iDAAiD;gBACnD,QAAQ,EAAE,iCAAiC;aAC5C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,4BAA4B;gBACrC,WAAW,EAAE,sBAAsB;aACpC;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,sBAAsB;gBACnC,QAAQ,EAAE,sCAAsC;aACjD;YACD,oBAAoB,EAAE;gBACpB,OAAO,EAAE,oBAAoB;gBAC7B,cAAc,EAAE,gBAAgB;aACjC;YACD,sBAAsB,EAAE;gBACtB,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,sBAAsB;aACpC;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE,oBAAoB;aAC9B;SACF;KACF;CACO,CAAC"}
|
@@ -7,6 +7,5 @@ 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';
|
11
10
|
export * from './dto/profile.dto';
|
12
11
|
export * from './dto/update-profile.dto';
|
@@ -23,7 +23,6 @@ __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);
|
27
26
|
__exportStar(require("./dto/profile.dto"), exports);
|
28
27
|
__exportStar(require("./dto/update-profile.dto"), exports);
|
29
28
|
//# 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
|
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\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": "60c48a393c3b4b9e93bb9a36d4fa70424c19748a34deb61b5a9f51d4fcaa16b1",
|
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
|
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\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": "60c48a393c3b4b9e93bb9a36d4fa70424c19748a34deb61b5a9f51d4fcaa16b1",
|
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
|
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,14 +511,30 @@ export interface paths {
|
|
511
511
|
patch?: never;
|
512
512
|
trace?: never;
|
513
513
|
};
|
514
|
-
"/
|
514
|
+
"/event/create": {
|
515
515
|
parameters: {
|
516
516
|
query?: never;
|
517
517
|
header?: never;
|
518
518
|
path?: never;
|
519
519
|
cookie?: never;
|
520
520
|
};
|
521
|
-
get
|
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": {
|
531
|
+
parameters: {
|
532
|
+
query?: never;
|
533
|
+
header?: never;
|
534
|
+
path?: never;
|
535
|
+
cookie?: never;
|
536
|
+
};
|
537
|
+
get: operations["EventController_findAll"];
|
522
538
|
put?: never;
|
523
539
|
post?: never;
|
524
540
|
delete?: never;
|
@@ -527,14 +543,30 @@ export interface paths {
|
|
527
543
|
patch?: never;
|
528
544
|
trace?: never;
|
529
545
|
};
|
530
|
-
"/
|
546
|
+
"/event/{id}": {
|
531
547
|
parameters: {
|
532
548
|
query?: never;
|
533
549
|
header?: never;
|
534
550
|
path?: never;
|
535
551
|
cookie?: never;
|
536
552
|
};
|
537
|
-
get: operations["
|
553
|
+
get: operations["EventController_findById"];
|
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"];
|
538
570
|
put?: never;
|
539
571
|
post?: never;
|
540
572
|
delete?: never;
|
@@ -1132,7 +1164,7 @@ export interface components {
|
|
1132
1164
|
updated_at: string;
|
1133
1165
|
};
|
1134
1166
|
GetAllEventFolderResponseDto: {
|
1135
|
-
|
1167
|
+
folders: {
|
1136
1168
|
id: string;
|
1137
1169
|
name: string;
|
1138
1170
|
color: string;
|
@@ -1189,42 +1221,166 @@ export interface components {
|
|
1189
1221
|
created_at: string;
|
1190
1222
|
updated_at: string;
|
1191
1223
|
};
|
1192
|
-
|
1193
|
-
|
1224
|
+
CreateEventDto: {
|
1225
|
+
name: string;
|
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: {
|
1194
1249
|
id: string;
|
1195
|
-
|
1196
|
-
|
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;
|
1250
|
+
name: string;
|
1251
|
+
color: string;
|
1211
1252
|
created_at: string;
|
1212
1253
|
updated_at: string;
|
1213
|
-
|
1254
|
+
events: {
|
1214
1255
|
id: string;
|
1215
1256
|
name: string;
|
1216
|
-
|
1217
|
-
|
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: {
|
1281
|
+
id: string;
|
1282
|
+
name: string;
|
1283
|
+
date: string;
|
1284
|
+
location: string;
|
1285
|
+
folderId: null;
|
1286
|
+
tagAssistedId: string;
|
1287
|
+
tagConfirmedId: string;
|
1288
|
+
supraEventId: null;
|
1289
|
+
created_at: string;
|
1290
|
+
updated_at: string;
|
1291
|
+
supraEvent: null;
|
1292
|
+
subEvents: {
|
1293
|
+
id: string;
|
1294
|
+
name: string;
|
1295
|
+
date: string;
|
1296
|
+
location: string;
|
1297
|
+
folderId: null;
|
1298
|
+
tagAssistedId: string;
|
1299
|
+
tagConfirmedId: string;
|
1300
|
+
supraEventId: null;
|
1218
1301
|
created_at: string;
|
1219
1302
|
updated_at: string;
|
1220
|
-
group: {
|
1221
|
-
color: string;
|
1222
|
-
isExclusive: boolean;
|
1223
|
-
};
|
1224
1303
|
}[];
|
1225
1304
|
}[];
|
1226
1305
|
};
|
1227
|
-
|
1306
|
+
GetByIdEventResponseDto: {
|
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: {
|
1228
1384
|
profiles: {
|
1229
1385
|
id: string;
|
1230
1386
|
shortId: number;
|
@@ -1252,28 +1408,10 @@ export interface components {
|
|
1252
1408
|
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
1253
1409
|
created_at: string;
|
1254
1410
|
updated_at: string;
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
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";
|
1411
|
+
group: {
|
1412
|
+
color: string;
|
1413
|
+
isExclusive: boolean;
|
1275
1414
|
};
|
1276
|
-
created_at: string;
|
1277
1415
|
}[];
|
1278
1416
|
}[];
|
1279
1417
|
};
|
@@ -2513,7 +2651,38 @@ export interface operations {
|
|
2513
2651
|
};
|
2514
2652
|
};
|
2515
2653
|
};
|
2516
|
-
|
2654
|
+
EventController_create: {
|
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: {
|
2517
2686
|
parameters: {
|
2518
2687
|
query?: never;
|
2519
2688
|
header?: never;
|
@@ -2527,12 +2696,111 @@ export interface operations {
|
|
2527
2696
|
[name: string]: unknown;
|
2528
2697
|
};
|
2529
2698
|
content: {
|
2530
|
-
"application/json": components["schemas"]["
|
2699
|
+
"application/json": components["schemas"]["GetAllEventsResponseDto"];
|
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"];
|
2531
2737
|
};
|
2532
2738
|
};
|
2533
2739
|
};
|
2534
2740
|
};
|
2535
|
-
|
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"];
|
2799
|
+
};
|
2800
|
+
};
|
2801
|
+
};
|
2802
|
+
};
|
2803
|
+
ProfileController_findAll: {
|
2536
2804
|
parameters: {
|
2537
2805
|
query?: never;
|
2538
2806
|
header?: never;
|
@@ -2546,7 +2814,7 @@ export interface operations {
|
|
2546
2814
|
[name: string]: unknown;
|
2547
2815
|
};
|
2548
2816
|
content: {
|
2549
|
-
"application/json": components["schemas"]["
|
2817
|
+
"application/json": components["schemas"]["FindAllProfileResponseDto"];
|
2550
2818
|
};
|
2551
2819
|
};
|
2552
2820
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.11.0
|
3
|
+
"version": "0.11.0",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -49,7 +49,6 @@
|
|
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",
|
53
52
|
"i18n-js": "^4.4.3",
|
54
53
|
"json-to-pretty-yaml": "^1.2.2",
|
55
54
|
"openapi3-ts": "^4.4.0",
|