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