@creator.co/creatorco-prisma-client 1.0.44-alpha-49cbfe3 → 1.0.44

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
@@ -79,7 +79,7 @@
79
79
  },
80
80
  "./*": "./*"
81
81
  },
82
- "version": "1.0.44-alpha-49cbfe3",
82
+ "version": "1.0.44",
83
83
  "sideEffects": false,
84
84
  "description": "Prisma client for creatorco Database"
85
85
  }
package/schema.prisma CHANGED
@@ -70,8 +70,7 @@ model User {
70
70
  socialProfiles SocialProfile[]
71
71
  rakutenActivity RakutenActivity[]
72
72
  impactRadiusEvents ImpactRadiusEvent[]
73
-
74
- fullName String? @default(dbgenerated())
73
+ // @@fulltext([firstName, lastName])
75
74
 
76
75
  @@index([phoneCode, phone])
77
76
  @@map("user")
@@ -778,6 +777,7 @@ model OptIn {
778
777
  affiliateClicks AffiliateClick[]
779
778
  productListItems OptinToProductListItem[]
780
779
  ExternalAffiliateClick ExternalAffiliateClick[]
780
+ ImpactRadiusEvent ImpactRadiusEvent[]
781
781
 
782
782
  @@index([userId])
783
783
  @@index([campaignId])
@@ -1272,9 +1272,11 @@ model ImpactRadiusEvent {
1272
1272
 
1273
1273
  userId Int
1274
1274
  brandId Int?
1275
+ optInId Int?
1275
1276
 
1276
1277
  user User @relation(fields: [userId], references: [id])
1277
1278
  brand Brand? @relation(fields: [brandId], references: [id])
1279
+ optIn OptIn? @relation(fields: [optInId], references: [id])
1278
1280
  }
1279
1281
 
1280
1282
  model CreatorSearchFilter {
package/wasm.js CHANGED
@@ -138,8 +138,7 @@ exports.Prisma.UserScalarFieldEnum = {
138
138
  closedReason: 'closedReason',
139
139
  usercomLastSynced: 'usercomLastSynced',
140
140
  extraData: 'extraData',
141
- referrerId: 'referrerId',
142
- fullName: 'fullName'
141
+ referrerId: 'referrerId'
143
142
  };
144
143
 
145
144
  exports.Prisma.LogScalarFieldEnum = {
@@ -877,7 +876,8 @@ exports.Prisma.ImpactRadiusEventScalarFieldEnum = {
877
876
  commission: 'commission',
878
877
  metaData: 'metaData',
879
878
  userId: 'userId',
880
- brandId: 'brandId'
879
+ brandId: 'brandId',
880
+ optInId: 'optInId'
881
881
  };
882
882
 
883
883
  exports.Prisma.CreatorSearchFilterScalarFieldEnum = {
@@ -1010,8 +1010,7 @@ exports.Prisma.UserOrderByRelevanceFieldEnum = {
1010
1010
  profilePicUrl: 'profilePicUrl',
1011
1011
  forgotPasswordKey: 'forgotPasswordKey',
1012
1012
  affiliateSlug: 'affiliateSlug',
1013
- closedReason: 'closedReason',
1014
- fullName: 'fullName'
1013
+ closedReason: 'closedReason'
1015
1014
  };
1016
1015
 
1017
1016
  exports.Prisma.CreatorProfileOrderByRelevanceFieldEnum = {