@creator.co/creatorco-prisma-client 1.0.46-alpha-cbcafab → 1.0.46

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.46-alpha-cbcafab",
82
+ "version": "1.0.46",
83
83
  "sideEffects": false,
84
84
  "description": "Prisma client for creatorco Database"
85
85
  }
package/schema.prisma CHANGED
@@ -1283,11 +1283,12 @@ model ImpactRadiusEvent {
1283
1283
  }
1284
1284
 
1285
1285
  model ShareASaleEvent {
1286
- id Int @id @default(autoincrement())
1287
- created DateTime @default(now())
1288
- saleAmount Float? @map("sale_amount")
1289
- commission Float?
1290
- metaData Json @default("{}") @map("meta_data")
1286
+ id Int @id @default(autoincrement())
1287
+ transactionId String? @unique @map("transaction_id")
1288
+ created DateTime @default(now())
1289
+ saleAmount Decimal? @map("sale_amount") @db.Decimal(9, 2)
1290
+ commission Decimal? @db.Decimal(9, 2)
1291
+ metaData Json @default("{}") @map("meta_data")
1291
1292
 
1292
1293
  optInId Int? @map("optin_id")
1293
1294
 
package/wasm.js CHANGED
@@ -884,6 +884,7 @@ exports.Prisma.ImpactRadiusEventScalarFieldEnum = {
884
884
 
885
885
  exports.Prisma.ShareASaleEventScalarFieldEnum = {
886
886
  id: 'id',
887
+ transactionId: 'transactionId',
887
888
  created: 'created',
888
889
  saleAmount: 'saleAmount',
889
890
  commission: 'commission',
@@ -1328,6 +1329,10 @@ exports.Prisma.ImpactRadiusEventOrderByRelevanceFieldEnum = {
1328
1329
  type: 'type'
1329
1330
  };
1330
1331
 
1332
+ exports.Prisma.ShareASaleEventOrderByRelevanceFieldEnum = {
1333
+ transactionId: 'transactionId'
1334
+ };
1335
+
1331
1336
  exports.Prisma.CreatorSearchFilterOrderByRelevanceFieldEnum = {
1332
1337
  title: 'title'
1333
1338
  };