@creator.co/creatorco-prisma-client 1.0.41 → 1.0.42-alpha-60c9b5d
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/edge.js +29 -10
- package/index-browser.js +23 -4
- package/index.d.ts +3419 -746
- package/index.js +29 -10
- package/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/libquery_engine-darwin.dylib.node +0 -0
- package/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/libquery_engine-linux-arm64-openssl-1.0.x.so.node +0 -0
- package/libquery_engine-linux-arm64-openssl-3.0.x.so.node +0 -0
- package/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/package.json +1 -1
- package/query_engine-windows.dll.node +0 -0
- package/runtime/edge-esm.js +11 -11
- package/runtime/edge.js +11 -11
- package/runtime/library.d.ts +1 -0
- package/runtime/library.js +34 -34
- package/runtime/react-native.js +3 -3
- package/runtime/wasm.js +10 -10
- package/schema.prisma +24 -7
- package/wasm.js +23 -4
package/schema.prisma
CHANGED
|
@@ -768,13 +768,14 @@ model OptIn {
|
|
|
768
768
|
campaign Campaign @relation(fields: [campaignId], references: [id], onDelete: Cascade)
|
|
769
769
|
currentStep CampaignStep? @relation(fields: [currentStepId], references: [id])
|
|
770
770
|
|
|
771
|
-
variables
|
|
772
|
-
optInSteps
|
|
773
|
-
chat
|
|
774
|
-
campaignInvites
|
|
775
|
-
trolleyPayments
|
|
776
|
-
affiliateClicks
|
|
777
|
-
productListItems
|
|
771
|
+
variables OptInVariable[]
|
|
772
|
+
optInSteps OptInStep[]
|
|
773
|
+
chat Chat?
|
|
774
|
+
campaignInvites CampaignInvite[]
|
|
775
|
+
trolleyPayments TrolleyPayment[]
|
|
776
|
+
affiliateClicks AffiliateClick[]
|
|
777
|
+
productListItems OptinToProductListItem[]
|
|
778
|
+
ExternalAffiliateClick ExternalAffiliateClick[]
|
|
778
779
|
|
|
779
780
|
@@index([userId])
|
|
780
781
|
@@index([campaignId])
|
|
@@ -982,6 +983,22 @@ model PaymentTransaction {
|
|
|
982
983
|
@@index([accountId])
|
|
983
984
|
}
|
|
984
985
|
|
|
986
|
+
model ExternalAffiliateClick {
|
|
987
|
+
id Int @id @default(autoincrement())
|
|
988
|
+
program String
|
|
989
|
+
created DateTime @default(now())
|
|
990
|
+
ipv4 String?
|
|
991
|
+
ipv6 String?
|
|
992
|
+
linkUrl String
|
|
993
|
+
metaData Json @default("{}")
|
|
994
|
+
|
|
995
|
+
optInId Int
|
|
996
|
+
optin OptIn @relation(fields: [optInId], references: [id])
|
|
997
|
+
|
|
998
|
+
@@index([optInId])
|
|
999
|
+
@@map("external_affiliate_click")
|
|
1000
|
+
}
|
|
1001
|
+
|
|
985
1002
|
model BrandAffiliateLink {
|
|
986
1003
|
id Int @id @default(autoincrement())
|
|
987
1004
|
created DateTime @default(now())
|
package/wasm.js
CHANGED
|
@@ -16,12 +16,12 @@ exports.Prisma = Prisma
|
|
|
16
16
|
exports.$Enums = {}
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* Prisma Client JS version: 5.
|
|
20
|
-
* Query Engine version:
|
|
19
|
+
* Prisma Client JS version: 5.15.0
|
|
20
|
+
* Query Engine version: 12e25d8d06f6ea5a0252864dd9a03b1bb51f3022
|
|
21
21
|
*/
|
|
22
22
|
Prisma.prismaVersion = {
|
|
23
|
-
client: "5.
|
|
24
|
-
engine: "
|
|
23
|
+
client: "5.15.0",
|
|
24
|
+
engine: "12e25d8d06f6ea5a0252864dd9a03b1bb51f3022"
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
Prisma.PrismaClientKnownRequestError = () => {
|
|
@@ -693,6 +693,17 @@ exports.Prisma.PaymentTransactionScalarFieldEnum = {
|
|
|
693
693
|
prevTransactionId: 'prevTransactionId'
|
|
694
694
|
};
|
|
695
695
|
|
|
696
|
+
exports.Prisma.ExternalAffiliateClickScalarFieldEnum = {
|
|
697
|
+
id: 'id',
|
|
698
|
+
program: 'program',
|
|
699
|
+
created: 'created',
|
|
700
|
+
ipv4: 'ipv4',
|
|
701
|
+
ipv6: 'ipv6',
|
|
702
|
+
linkUrl: 'linkUrl',
|
|
703
|
+
metaData: 'metaData',
|
|
704
|
+
optInId: 'optInId'
|
|
705
|
+
};
|
|
706
|
+
|
|
696
707
|
exports.Prisma.BrandAffiliateLinkScalarFieldEnum = {
|
|
697
708
|
id: 'id',
|
|
698
709
|
created: 'created',
|
|
@@ -1221,6 +1232,13 @@ exports.Prisma.PaymentTransactionOrderByRelevanceFieldEnum = {
|
|
|
1221
1232
|
notes: 'notes'
|
|
1222
1233
|
};
|
|
1223
1234
|
|
|
1235
|
+
exports.Prisma.ExternalAffiliateClickOrderByRelevanceFieldEnum = {
|
|
1236
|
+
program: 'program',
|
|
1237
|
+
ipv4: 'ipv4',
|
|
1238
|
+
ipv6: 'ipv6',
|
|
1239
|
+
linkUrl: 'linkUrl'
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1224
1242
|
exports.Prisma.BrandAffiliateLinkOrderByRelevanceFieldEnum = {
|
|
1225
1243
|
description: 'description',
|
|
1226
1244
|
urlPath: 'urlPath'
|
|
@@ -1389,6 +1407,7 @@ exports.Prisma.ModelName = {
|
|
|
1389
1407
|
Country: 'Country',
|
|
1390
1408
|
State: 'State',
|
|
1391
1409
|
PaymentTransaction: 'PaymentTransaction',
|
|
1410
|
+
ExternalAffiliateClick: 'ExternalAffiliateClick',
|
|
1392
1411
|
BrandAffiliateLink: 'BrandAffiliateLink',
|
|
1393
1412
|
AffiliateLink: 'AffiliateLink',
|
|
1394
1413
|
AffiliateClick: 'AffiliateClick',
|