@creator.co/creatorco-prisma-client 1.0.24-alpha-b01aec2 → 1.0.24-alpha-ab9f46d

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
@@ -73,7 +73,7 @@
73
73
  },
74
74
  "./*": "./*"
75
75
  },
76
- "version": "1.0.24-alpha-b01aec2",
76
+ "version": "1.0.24-alpha-ab9f46d",
77
77
  "sideEffects": false,
78
78
  "description": "Prisma client for creatorco Database"
79
79
  }
package/schema.prisma CHANGED
@@ -297,6 +297,7 @@ model BrandUserProfile {
297
297
  id Int @id @default(autoincrement())
298
298
  userId Int
299
299
  brandId Int
300
+ agencyPrivileges Boolean @default(false)
300
301
 
301
302
  user User @relation(fields: [userId], references: [id], onDelete: Cascade)
302
303
  brand Brand @relation(fields: [brandId], references: [id], onDelete: Cascade)
@@ -464,7 +465,6 @@ model Campaign {
464
465
  status String @default("draft") // draft, paused, pending, private, publish, trash
465
466
  date DateTime @default(now())
466
467
  publishDate DateTime?
467
- sfSyncDate DateTime?
468
468
  description String? @db.Text
469
469
  productDescription String? @db.Text
470
470
  prizeDescription String? @db.Text
@@ -529,7 +529,6 @@ model Campaign {
529
529
  sequences Sequence[]
530
530
 
531
531
  @@index([brandId])
532
- @@index([sfSyncDate])
533
532
  @@map("campaign")
534
533
  }
535
534
 
package/wasm.js CHANGED
@@ -299,7 +299,8 @@ exports.Prisma.TwitterProfileScalarFieldEnum = {
299
299
  exports.Prisma.BrandUserProfileScalarFieldEnum = {
300
300
  id: 'id',
301
301
  userId: 'userId',
302
- brandId: 'brandId'
302
+ brandId: 'brandId',
303
+ agencyPrivileges: 'agencyPrivileges'
303
304
  };
304
305
 
305
306
  exports.Prisma.BrandScalarFieldEnum = {
@@ -384,7 +385,6 @@ exports.Prisma.CampaignScalarFieldEnum = {
384
385
  status: 'status',
385
386
  date: 'date',
386
387
  publishDate: 'publishDate',
387
- sfSyncDate: 'sfSyncDate',
388
388
  description: 'description',
389
389
  productDescription: 'productDescription',
390
390
  prizeDescription: 'prizeDescription',