Skip to content

Commit db3d2a6

Browse files
matheusmartinsInspermatheusmartinsInsper
authored andcommitted
chore: eslint applied
1 parent fa67b93 commit db3d2a6

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/api/controllers/chat.controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import {
33
BlockUserDto,
44
DeleteMessage,
55
getBase64FromMediaMessageDto,
6+
getCatalogDto,
7+
getCollectionsDto,
68
MarkChatUnreadDto,
79
NumberDto,
810
PrivacySettingDto,
@@ -13,8 +15,6 @@ import {
1315
SendPresenceDto,
1416
UpdateMessageDto,
1517
WhatsAppNumberDto,
16-
getCatalogDto,
17-
getCollectionsDto,
1818
} from '@api/dto/chat.dto';
1919
import { InstanceDto } from '@api/dto/instance.dto';
2020
import { Query } from '@api/repository/repository.service';

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import {
44
BlockUserDto,
55
DeleteMessage,
66
getBase64FromMediaMessageDto,
7+
getCatalogDto,
8+
getCollectionsDto,
79
LastMessage,
810
MarkChatUnreadDto,
911
NumberBusiness,
@@ -13,8 +15,6 @@ import {
1315
SendPresenceDto,
1416
UpdateMessageDto,
1517
WhatsAppNumberDto,
16-
getCatalogDto,
17-
getCollectionsDto,
1818
} from '@api/dto/chat.dto';
1919
import {
2020
AcceptGroupInvite,
@@ -89,6 +89,7 @@ import makeWASocket, {
8989
BufferedEventData,
9090
BufferJSON,
9191
CacheStore,
92+
CatalogCollection,
9293
Chat,
9394
ConnectionState,
9495
Contact,
@@ -98,6 +99,7 @@ import makeWASocket, {
9899
fetchLatestBaileysVersion,
99100
generateWAMessageFromContent,
100101
getAggregateVotesInPollMessage,
102+
GetCatalogOptions,
101103
getContentType,
102104
getDevice,
103105
GroupMetadata,
@@ -111,6 +113,7 @@ import makeWASocket, {
111113
MiscMessageGenerationOptions,
112114
ParticipantAction,
113115
prepareWAMessageMedia,
116+
Product,
114117
proto,
115118
UserFacingSocketConfig,
116119
WABrowserDescription,
@@ -119,9 +122,6 @@ import makeWASocket, {
119122
WAMessageUpdate,
120123
WAPresence,
121124
WASocket,
122-
Product,
123-
GetCatalogOptions,
124-
CatalogCollection,
125125
} from 'baileys';
126126
import { Label } from 'baileys/lib/Types/Label';
127127
import { LabelAssociation } from 'baileys/lib/Types/LabelAssociation';

src/api/routes/chat.router.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ import { Contact, Message, MessageUpdate } from '@prisma/client';
2222
import {
2323
archiveChatSchema,
2424
blockUserSchema,
25+
catalogSchema,
26+
collectionsSchema,
2527
contactValidateSchema,
2628
deleteMessageSchema,
2729
markChatUnreadSchema,
@@ -36,8 +38,6 @@ import {
3638
readMessageSchema,
3739
updateMessageSchema,
3840
whatsappNumberSchema,
39-
catalogSchema,
40-
collectionsSchema,
4141
} from '@validate/validate.schema';
4242
import { RequestHandler, Router } from 'express';
4343

0 commit comments

Comments
 (0)