@creator.co/creatorco-prisma-client 1.0.83 → 1.0.84
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 +13 -5
- package/index-browser.js +8 -0
- package/index.d.ts +118 -0
- package/index.js +13 -5
- package/package.json +1 -1
- package/schema.prisma +21 -13
- package/wasm.js +8 -0
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -1307,19 +1307,20 @@ model SocialProfile {
|
|
|
1307
1307
|
userId Int? // registered user id, if available
|
|
1308
1308
|
|
|
1309
1309
|
// social data
|
|
1310
|
-
platform
|
|
1311
|
-
username
|
|
1312
|
-
fullname
|
|
1313
|
-
profileUrl
|
|
1314
|
-
profilePicUrl
|
|
1315
|
-
followerCount
|
|
1316
|
-
engagement
|
|
1317
|
-
avgViews
|
|
1318
|
-
verified
|
|
1319
|
-
visibility
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1310
|
+
platform String
|
|
1311
|
+
username String
|
|
1312
|
+
fullname String? @db.VarChar(1024)
|
|
1313
|
+
profileUrl String?
|
|
1314
|
+
profilePicUrl String? @db.VarChar(2083) // need to specify length, default size is too small
|
|
1315
|
+
followerCount Int?
|
|
1316
|
+
engagement Float?
|
|
1317
|
+
avgViews Int?
|
|
1318
|
+
verified Boolean?
|
|
1319
|
+
visibility String @default("public")
|
|
1320
|
+
connectionStatus ConnectionStatus? // tracks Phyllo connection status
|
|
1321
|
+
metaData Json @default("{}")
|
|
1322
|
+
audienceData Json @default("{}")
|
|
1323
|
+
phylloData Json @default("{}")
|
|
1323
1324
|
|
|
1324
1325
|
created DateTime @default(now())
|
|
1325
1326
|
updated DateTime?
|
|
@@ -1335,6 +1336,13 @@ model SocialProfile {
|
|
|
1335
1336
|
@@map("socialprofile")
|
|
1336
1337
|
}
|
|
1337
1338
|
|
|
1339
|
+
enum ConnectionStatus {
|
|
1340
|
+
CONNECTED
|
|
1341
|
+
ERROR
|
|
1342
|
+
NOT_CONNECTED
|
|
1343
|
+
SESSION_EXPIRED
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1338
1346
|
enum SocialProfileContactSource {
|
|
1339
1347
|
MANUAL
|
|
1340
1348
|
IMAI
|
package/wasm.js
CHANGED
|
@@ -863,6 +863,7 @@ exports.Prisma.SocialProfileScalarFieldEnum = {
|
|
|
863
863
|
avgViews: 'avgViews',
|
|
864
864
|
verified: 'verified',
|
|
865
865
|
visibility: 'visibility',
|
|
866
|
+
connectionStatus: 'connectionStatus',
|
|
866
867
|
metaData: 'metaData',
|
|
867
868
|
audienceData: 'audienceData',
|
|
868
869
|
phylloData: 'phylloData',
|
|
@@ -1709,6 +1710,13 @@ exports.CampaignToSocialPostStatus = exports.$Enums.CampaignToSocialPostStatus =
|
|
|
1709
1710
|
declined: 'declined'
|
|
1710
1711
|
};
|
|
1711
1712
|
|
|
1713
|
+
exports.ConnectionStatus = exports.$Enums.ConnectionStatus = {
|
|
1714
|
+
CONNECTED: 'CONNECTED',
|
|
1715
|
+
ERROR: 'ERROR',
|
|
1716
|
+
NOT_CONNECTED: 'NOT_CONNECTED',
|
|
1717
|
+
SESSION_EXPIRED: 'SESSION_EXPIRED'
|
|
1718
|
+
};
|
|
1719
|
+
|
|
1712
1720
|
exports.SocialProfileContactSource = exports.$Enums.SocialProfileContactSource = {
|
|
1713
1721
|
MANUAL: 'MANUAL',
|
|
1714
1722
|
IMAI: 'IMAI'
|