@creator.co/creatorco-prisma-client 1.0.86-alpha-d8684af → 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/package.json CHANGED
@@ -92,7 +92,7 @@
92
92
  },
93
93
  "./*": "./*"
94
94
  },
95
- "version": "1.0.86-alpha-d8684af",
95
+ "version": "1.0.87",
96
96
  "sideEffects": false,
97
97
  "description": "Prisma client for creatorco Database"
98
98
  }
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 SequenceOutboundEmail[]
1299
- sequenceInboundEmails SequenceInboundEmail[]
1300
- sequenceImapCheckpoints SequenceImapCheckpoint[]
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 Int @id @default(autoincrement()) // Auto-increment ID
1864
- sequenceId Int // Foreign key to Sequence model
1865
- type Int // Type of the email (1 for Gmail, 2 for Outlook)
1866
- typeId String // threadId for Gmail, conversationId for Outlook
1867
- replyCount Int @default(0)
1868
- createdAt DateTime @default(now()) // Timestamp when the record is created
1869
- updatedAt DateTime @updatedAt // Timestamp for when the record is updated
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
- sequence Sequence @relation(fields: [sequenceId], references: [id])
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',