@creator.co/creatorco-prisma-client 1.0.82 → 1.0.83
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 +28 -6
- package/index-browser.js +23 -1
- package/index.d.ts +1606 -119
- package/index.js +28 -6
- package/package.json +1 -1
- package/schema.prisma +19 -0
- package/wasm.js +23 -1
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -1099,6 +1099,25 @@ view LatestCreatorPaymentTransaction {
|
|
|
1099
1099
|
@@map("latest_creator_payment_transaction")
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
|
+
view SocialPostAnalytics {
|
|
1103
|
+
id Int @id
|
|
1104
|
+
campaignId Int
|
|
1105
|
+
platform String?
|
|
1106
|
+
reach Int
|
|
1107
|
+
likes Int
|
|
1108
|
+
comments Int
|
|
1109
|
+
impressions Int
|
|
1110
|
+
views Int
|
|
1111
|
+
replays Int
|
|
1112
|
+
shares Int
|
|
1113
|
+
saves Int
|
|
1114
|
+
engagement_rate Float
|
|
1115
|
+
posted DateTime?
|
|
1116
|
+
userId Int
|
|
1117
|
+
|
|
1118
|
+
@@map("socialpost_analytics")
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1102
1121
|
model ExternalAffiliateClick {
|
|
1103
1122
|
id Int @id @default(autoincrement())
|
|
1104
1123
|
program String
|
package/wasm.js
CHANGED
|
@@ -1197,6 +1197,23 @@ exports.Prisma.LatestCreatorPaymentTransactionScalarFieldEnum = {
|
|
|
1197
1197
|
creatorId: 'creatorId'
|
|
1198
1198
|
};
|
|
1199
1199
|
|
|
1200
|
+
exports.Prisma.SocialPostAnalyticsScalarFieldEnum = {
|
|
1201
|
+
id: 'id',
|
|
1202
|
+
campaignId: 'campaignId',
|
|
1203
|
+
platform: 'platform',
|
|
1204
|
+
reach: 'reach',
|
|
1205
|
+
likes: 'likes',
|
|
1206
|
+
comments: 'comments',
|
|
1207
|
+
impressions: 'impressions',
|
|
1208
|
+
views: 'views',
|
|
1209
|
+
replays: 'replays',
|
|
1210
|
+
shares: 'shares',
|
|
1211
|
+
saves: 'saves',
|
|
1212
|
+
engagement_rate: 'engagement_rate',
|
|
1213
|
+
posted: 'posted',
|
|
1214
|
+
userId: 'userId'
|
|
1215
|
+
};
|
|
1216
|
+
|
|
1200
1217
|
exports.Prisma.SortOrder = {
|
|
1201
1218
|
asc: 'asc',
|
|
1202
1219
|
desc: 'desc'
|
|
@@ -1667,6 +1684,10 @@ exports.Prisma.LatestCreatorPaymentTransactionOrderByRelevanceFieldEnum = {
|
|
|
1667
1684
|
type: 'type',
|
|
1668
1685
|
notes: 'notes'
|
|
1669
1686
|
};
|
|
1687
|
+
|
|
1688
|
+
exports.Prisma.SocialPostAnalyticsOrderByRelevanceFieldEnum = {
|
|
1689
|
+
platform: 'platform'
|
|
1690
|
+
};
|
|
1670
1691
|
exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
|
|
1671
1692
|
optIn: 'optIn',
|
|
1672
1693
|
tip: 'tip',
|
|
@@ -1797,7 +1818,8 @@ exports.Prisma.ModelName = {
|
|
|
1797
1818
|
EmailProvider: 'EmailProvider',
|
|
1798
1819
|
EmailTracking: 'EmailTracking',
|
|
1799
1820
|
SequenceOutboundReplyEmail: 'SequenceOutboundReplyEmail',
|
|
1800
|
-
LatestCreatorPaymentTransaction: 'LatestCreatorPaymentTransaction'
|
|
1821
|
+
LatestCreatorPaymentTransaction: 'LatestCreatorPaymentTransaction',
|
|
1822
|
+
SocialPostAnalytics: 'SocialPostAnalytics'
|
|
1801
1823
|
};
|
|
1802
1824
|
|
|
1803
1825
|
/**
|