@creator.co/creatorco-prisma-client 1.0.86 → 1.0.87
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.
- package/edge.js +6 -5
- package/index-browser.js +1 -0
- package/index.d.ts +368 -23
- package/index.js +6 -5
- package/package.json +1 -1
- package/schema.prisma +14 -11
- package/wasm.js +1 -0
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -1295,9 +1295,10 @@ model CreatorListItem {
|
|
|
1295
1295
|
creatorList CreatorList @relation(fields: [creatorListId], references: [id], onDelete: Cascade)
|
|
1296
1296
|
socialProfile SocialProfile? @relation(fields: [socialProfileId], references: [id], onDelete: Cascade)
|
|
1297
1297
|
|
|
1298
|
-
sequenceOutboundEmails
|
|
1299
|
-
sequenceInboundEmails
|
|
1300
|
-
sequenceImapCheckpoints
|
|
1298
|
+
sequenceOutboundEmails SequenceOutboundEmail[]
|
|
1299
|
+
sequenceInboundEmails SequenceInboundEmail[]
|
|
1300
|
+
sequenceImapCheckpoints SequenceImapCheckpoint[]
|
|
1301
|
+
sequenceOutboundReplyEmail SequenceOutboundReplyEmail[]
|
|
1301
1302
|
|
|
1302
1303
|
@@unique([creatorListId, socialProfileId])
|
|
1303
1304
|
@@index([creatorListId])
|
|
@@ -1860,15 +1861,17 @@ model EmailTracking {
|
|
|
1860
1861
|
}
|
|
1861
1862
|
|
|
1862
1863
|
model SequenceOutboundReplyEmail {
|
|
1863
|
-
id
|
|
1864
|
-
sequenceId
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1864
|
+
id Int @id @default(autoincrement()) // Auto-increment ID
|
|
1865
|
+
sequenceId Int // Foreign key to Sequence model
|
|
1866
|
+
listItemId Int? // Foreign key for ListItem
|
|
1867
|
+
type Int // Type of the email (1 for Gmail, 2 for Outlook)
|
|
1868
|
+
typeId String // threadId for Gmail, conversationId for Outlook
|
|
1869
|
+
replyCount Int @default(0)
|
|
1870
|
+
createdAt DateTime @default(now()) // Timestamp when the record is created
|
|
1871
|
+
updatedAt DateTime @updatedAt // Timestamp for when the record is updated
|
|
1870
1872
|
// Relations with other models
|
|
1871
|
-
|
|
1873
|
+
creatorListItem CreatorListItem? @relation(fields: [listItemId], references: [id])
|
|
1874
|
+
sequence Sequence @relation(fields: [sequenceId], references: [id])
|
|
1872
1875
|
|
|
1873
1876
|
@@map("sequenceoutboundreplyemail") // Custom table name
|
|
1874
1877
|
}
|
package/wasm.js
CHANGED
|
@@ -1181,6 +1181,7 @@ exports.Prisma.EmailTrackingScalarFieldEnum = {
|
|
|
1181
1181
|
exports.Prisma.SequenceOutboundReplyEmailScalarFieldEnum = {
|
|
1182
1182
|
id: 'id',
|
|
1183
1183
|
sequenceId: 'sequenceId',
|
|
1184
|
+
listItemId: 'listItemId',
|
|
1184
1185
|
type: 'type',
|
|
1185
1186
|
typeId: 'typeId',
|
|
1186
1187
|
replyCount: 'replyCount',
|