@creator.co/creatorco-prisma-client 1.0.16 → 1.0.18
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/default.d.ts +1 -0
- package/default.js +1 -0
- package/edge.d.ts +1 -1
- package/edge.js +39 -11
- package/index-browser.js +46 -19
- package/index.d.ts +2028 -289
- package/index.js +40 -12
- 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 +67 -2
- package/query_engine-windows.dll.node +0 -0
- package/runtime/edge-esm.js +27 -74
- package/runtime/edge.js +27 -74
- package/runtime/index-browser.js +1 -1
- package/runtime/library.d.ts +207 -152
- package/runtime/library.js +59 -57
- package/runtime/wasm.js +94 -0
- package/schema.prisma +52 -2
- package/wasm.d.ts +1 -0
- package/wasm.js +1287 -0
package/wasm.js
ADDED
|
@@ -0,0 +1,1287 @@
|
|
|
1
|
+
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
|
|
4
|
+
const {
|
|
5
|
+
Decimal,
|
|
6
|
+
objectEnumValues,
|
|
7
|
+
makeStrictEnum,
|
|
8
|
+
Public,
|
|
9
|
+
detectRuntime,
|
|
10
|
+
} = require('./runtime/index-browser.js')
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
const Prisma = {}
|
|
14
|
+
|
|
15
|
+
exports.Prisma = Prisma
|
|
16
|
+
exports.$Enums = {}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Prisma Client JS version: 5.9.1
|
|
20
|
+
* Query Engine version: 23fdc5965b1e05fc54e5f26ed3de66776b93de64
|
|
21
|
+
*/
|
|
22
|
+
Prisma.prismaVersion = {
|
|
23
|
+
client: "5.9.1",
|
|
24
|
+
engine: "23fdc5965b1e05fc54e5f26ed3de66776b93de64"
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
Prisma.PrismaClientKnownRequestError = () => {
|
|
28
|
+
throw new Error(`PrismaClientKnownRequestError is unable to be run ${runtimeDescription}.
|
|
29
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
30
|
+
)};
|
|
31
|
+
Prisma.PrismaClientUnknownRequestError = () => {
|
|
32
|
+
throw new Error(`PrismaClientUnknownRequestError is unable to be run ${runtimeDescription}.
|
|
33
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
34
|
+
)}
|
|
35
|
+
Prisma.PrismaClientRustPanicError = () => {
|
|
36
|
+
throw new Error(`PrismaClientRustPanicError is unable to be run ${runtimeDescription}.
|
|
37
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
38
|
+
)}
|
|
39
|
+
Prisma.PrismaClientInitializationError = () => {
|
|
40
|
+
throw new Error(`PrismaClientInitializationError is unable to be run ${runtimeDescription}.
|
|
41
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
42
|
+
)}
|
|
43
|
+
Prisma.PrismaClientValidationError = () => {
|
|
44
|
+
throw new Error(`PrismaClientValidationError is unable to be run ${runtimeDescription}.
|
|
45
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
46
|
+
)}
|
|
47
|
+
Prisma.NotFoundError = () => {
|
|
48
|
+
throw new Error(`NotFoundError is unable to be run ${runtimeDescription}.
|
|
49
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
50
|
+
)}
|
|
51
|
+
Prisma.Decimal = Decimal
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Re-export of sql-template-tag
|
|
55
|
+
*/
|
|
56
|
+
Prisma.sql = () => {
|
|
57
|
+
throw new Error(`sqltag is unable to be run ${runtimeDescription}.
|
|
58
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
59
|
+
)}
|
|
60
|
+
Prisma.empty = () => {
|
|
61
|
+
throw new Error(`empty is unable to be run ${runtimeDescription}.
|
|
62
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
63
|
+
)}
|
|
64
|
+
Prisma.join = () => {
|
|
65
|
+
throw new Error(`join is unable to be run ${runtimeDescription}.
|
|
66
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
67
|
+
)}
|
|
68
|
+
Prisma.raw = () => {
|
|
69
|
+
throw new Error(`raw is unable to be run ${runtimeDescription}.
|
|
70
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
71
|
+
)}
|
|
72
|
+
Prisma.validator = Public.validator
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Extensions
|
|
76
|
+
*/
|
|
77
|
+
Prisma.getExtensionContext = () => {
|
|
78
|
+
throw new Error(`Extensions.getExtensionContext is unable to be run ${runtimeDescription}.
|
|
79
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
80
|
+
)}
|
|
81
|
+
Prisma.defineExtension = () => {
|
|
82
|
+
throw new Error(`Extensions.defineExtension is unable to be run ${runtimeDescription}.
|
|
83
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
84
|
+
)}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Shorthand utilities for JSON filtering
|
|
88
|
+
*/
|
|
89
|
+
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
90
|
+
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
91
|
+
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
92
|
+
|
|
93
|
+
Prisma.NullTypes = {
|
|
94
|
+
DbNull: objectEnumValues.classes.DbNull,
|
|
95
|
+
JsonNull: objectEnumValues.classes.JsonNull,
|
|
96
|
+
AnyNull: objectEnumValues.classes.AnyNull
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Enums
|
|
101
|
+
*/
|
|
102
|
+
|
|
103
|
+
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
104
|
+
ReadUncommitted: 'ReadUncommitted',
|
|
105
|
+
ReadCommitted: 'ReadCommitted',
|
|
106
|
+
RepeatableRead: 'RepeatableRead',
|
|
107
|
+
Serializable: 'Serializable'
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
exports.Prisma.UserScalarFieldEnum = {
|
|
111
|
+
id: 'id',
|
|
112
|
+
role: 'role',
|
|
113
|
+
email: 'email',
|
|
114
|
+
password: 'password',
|
|
115
|
+
registered: 'registered',
|
|
116
|
+
lastLoginDate: 'lastLoginDate',
|
|
117
|
+
firstName: 'firstName',
|
|
118
|
+
lastName: 'lastName',
|
|
119
|
+
phone: 'phone',
|
|
120
|
+
phoneCode: 'phoneCode',
|
|
121
|
+
phoneShort: 'phoneShort',
|
|
122
|
+
profilePicUrl: 'profilePicUrl',
|
|
123
|
+
forgotPasswordKey: 'forgotPasswordKey',
|
|
124
|
+
affiliateSlug: 'affiliateSlug',
|
|
125
|
+
closed: 'closed',
|
|
126
|
+
closedReason: 'closedReason',
|
|
127
|
+
usercomLastSynced: 'usercomLastSynced',
|
|
128
|
+
extraData: 'extraData',
|
|
129
|
+
referrerId: 'referrerId'
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
exports.Prisma.LogScalarFieldEnum = {
|
|
133
|
+
id: 'id',
|
|
134
|
+
userId: 'userId',
|
|
135
|
+
data: 'data'
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
exports.Prisma.CreatorProfileScalarFieldEnum = {
|
|
139
|
+
id: 'id',
|
|
140
|
+
country: 'country',
|
|
141
|
+
region: 'region',
|
|
142
|
+
birthDate: 'birthDate',
|
|
143
|
+
interests: 'interests',
|
|
144
|
+
gender: 'gender',
|
|
145
|
+
shippingAddress1: 'shippingAddress1',
|
|
146
|
+
shippingAddress2: 'shippingAddress2',
|
|
147
|
+
shippingCity: 'shippingCity',
|
|
148
|
+
shippingRegion: 'shippingRegion',
|
|
149
|
+
shippingCountry: 'shippingCountry',
|
|
150
|
+
shippingPostcode: 'shippingPostcode',
|
|
151
|
+
phylloUserId: 'phylloUserId',
|
|
152
|
+
profileSlug: 'profileSlug',
|
|
153
|
+
profileSettings: 'profileSettings',
|
|
154
|
+
walletAddress: 'walletAddress',
|
|
155
|
+
userId: 'userId'
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
exports.Prisma.InstagramProfileScalarFieldEnum = {
|
|
159
|
+
id: 'id',
|
|
160
|
+
instagramId: 'instagramId',
|
|
161
|
+
username: 'username',
|
|
162
|
+
url: 'url',
|
|
163
|
+
profilePicUrl: 'profilePicUrl',
|
|
164
|
+
followerCount: 'followerCount',
|
|
165
|
+
engagement: 'engagement',
|
|
166
|
+
lastUpdated: 'lastUpdated',
|
|
167
|
+
fullName: 'fullName',
|
|
168
|
+
isBusiness: 'isBusiness',
|
|
169
|
+
isPrivate: 'isPrivate',
|
|
170
|
+
isVerified: 'isVerified',
|
|
171
|
+
mediaCount: 'mediaCount',
|
|
172
|
+
followingCount: 'followingCount',
|
|
173
|
+
totalComments: 'totalComments',
|
|
174
|
+
totalLikes: 'totalLikes',
|
|
175
|
+
avgComments: 'avgComments',
|
|
176
|
+
avgLikes: 'avgLikes',
|
|
177
|
+
bio: 'bio',
|
|
178
|
+
externalUrl: 'externalUrl',
|
|
179
|
+
hasHighlightReels: 'hasHighlightReels',
|
|
180
|
+
category: 'category',
|
|
181
|
+
hasClips: 'hasClips',
|
|
182
|
+
hasGuides: 'hasGuides',
|
|
183
|
+
hasChannel: 'hasChannel',
|
|
184
|
+
totalIgtvVideos: 'totalIgtvVideos',
|
|
185
|
+
profilePicUrlHd: 'profilePicUrlHd',
|
|
186
|
+
lastStoriesUpdate: 'lastStoriesUpdate',
|
|
187
|
+
extraData: 'extraData',
|
|
188
|
+
phylloData: 'phylloData',
|
|
189
|
+
audienceData: 'audienceData',
|
|
190
|
+
visibility: 'visibility',
|
|
191
|
+
userId: 'userId',
|
|
192
|
+
brandId: 'brandId'
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
exports.Prisma.TiktokProfileScalarFieldEnum = {
|
|
196
|
+
id: 'id',
|
|
197
|
+
tiktokId: 'tiktokId',
|
|
198
|
+
username: 'username',
|
|
199
|
+
url: 'url',
|
|
200
|
+
profilePicUrl: 'profilePicUrl',
|
|
201
|
+
followerCount: 'followerCount',
|
|
202
|
+
engagement: 'engagement',
|
|
203
|
+
lastUpdated: 'lastUpdated',
|
|
204
|
+
handle: 'handle',
|
|
205
|
+
nickname: 'nickname',
|
|
206
|
+
followingCount: 'followingCount',
|
|
207
|
+
totalComments: 'totalComments',
|
|
208
|
+
totalLikes: 'totalLikes',
|
|
209
|
+
extraData: 'extraData',
|
|
210
|
+
phylloData: 'phylloData',
|
|
211
|
+
audienceData: 'audienceData',
|
|
212
|
+
visibility: 'visibility',
|
|
213
|
+
userId: 'userId',
|
|
214
|
+
brandId: 'brandId'
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
exports.Prisma.YoutubeProfileScalarFieldEnum = {
|
|
218
|
+
id: 'id',
|
|
219
|
+
youtubeId: 'youtubeId',
|
|
220
|
+
username: 'username',
|
|
221
|
+
url: 'url',
|
|
222
|
+
profilePicUrl: 'profilePicUrl',
|
|
223
|
+
followerCount: 'followerCount',
|
|
224
|
+
engagement: 'engagement',
|
|
225
|
+
lastUpdated: 'lastUpdated',
|
|
226
|
+
followingCount: 'followingCount',
|
|
227
|
+
fullName: 'fullName',
|
|
228
|
+
isVerified: 'isVerified',
|
|
229
|
+
subscribers: 'subscribers',
|
|
230
|
+
description: 'description',
|
|
231
|
+
country: 'country',
|
|
232
|
+
totalViews: 'totalViews',
|
|
233
|
+
totalVideos: 'totalVideos',
|
|
234
|
+
extraData: 'extraData',
|
|
235
|
+
phylloData: 'phylloData',
|
|
236
|
+
audienceData: 'audienceData',
|
|
237
|
+
visibility: 'visibility',
|
|
238
|
+
userId: 'userId',
|
|
239
|
+
brandId: 'brandId'
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
exports.Prisma.TwitchProfileScalarFieldEnum = {
|
|
243
|
+
id: 'id',
|
|
244
|
+
twitchId: 'twitchId',
|
|
245
|
+
username: 'username',
|
|
246
|
+
url: 'url',
|
|
247
|
+
profilePicUrl: 'profilePicUrl',
|
|
248
|
+
followerCount: 'followerCount',
|
|
249
|
+
engagement: 'engagement',
|
|
250
|
+
lastUpdated: 'lastUpdated',
|
|
251
|
+
extraData: 'extraData',
|
|
252
|
+
phylloData: 'phylloData',
|
|
253
|
+
visibility: 'visibility',
|
|
254
|
+
userId: 'userId'
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
exports.Prisma.FacebookProfileScalarFieldEnum = {
|
|
258
|
+
id: 'id',
|
|
259
|
+
facebookId: 'facebookId',
|
|
260
|
+
username: 'username',
|
|
261
|
+
url: 'url',
|
|
262
|
+
profilePicUrl: 'profilePicUrl',
|
|
263
|
+
followerCount: 'followerCount',
|
|
264
|
+
engagement: 'engagement',
|
|
265
|
+
lastUpdated: 'lastUpdated',
|
|
266
|
+
extraData: 'extraData',
|
|
267
|
+
phylloData: 'phylloData',
|
|
268
|
+
visibility: 'visibility',
|
|
269
|
+
userId: 'userId'
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
exports.Prisma.TwitterProfileScalarFieldEnum = {
|
|
273
|
+
id: 'id',
|
|
274
|
+
twitterId: 'twitterId',
|
|
275
|
+
username: 'username',
|
|
276
|
+
url: 'url',
|
|
277
|
+
profilePicUrl: 'profilePicUrl',
|
|
278
|
+
followerCount: 'followerCount',
|
|
279
|
+
engagement: 'engagement',
|
|
280
|
+
lastUpdated: 'lastUpdated',
|
|
281
|
+
extraData: 'extraData',
|
|
282
|
+
phylloData: 'phylloData',
|
|
283
|
+
visibility: 'visibility',
|
|
284
|
+
userId: 'userId'
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
exports.Prisma.BrandUserProfileScalarFieldEnum = {
|
|
288
|
+
id: 'id',
|
|
289
|
+
userId: 'userId',
|
|
290
|
+
brandId: 'brandId'
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
exports.Prisma.BrandScalarFieldEnum = {
|
|
294
|
+
id: 'id',
|
|
295
|
+
name: 'name',
|
|
296
|
+
description: 'description',
|
|
297
|
+
website: 'website',
|
|
298
|
+
monthlyContacts: 'monthlyContacts',
|
|
299
|
+
monthlyReports: 'monthlyReports',
|
|
300
|
+
lastContactDistribution: 'lastContactDistribution',
|
|
301
|
+
logoUrl: 'logoUrl',
|
|
302
|
+
affiliateBaseUrl: 'affiliateBaseUrl',
|
|
303
|
+
affiliateCommission: 'affiliateCommission',
|
|
304
|
+
extraData: 'extraData',
|
|
305
|
+
specialistId: 'specialistId',
|
|
306
|
+
parentBrandId: 'parentBrandId',
|
|
307
|
+
searchName: 'searchName'
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
exports.Prisma.SearchContactsScalarFieldEnum = {
|
|
311
|
+
id: 'id',
|
|
312
|
+
type: 'type',
|
|
313
|
+
prevQty: 'prevQty',
|
|
314
|
+
changeQty: 'changeQty',
|
|
315
|
+
currentQty: 'currentQty',
|
|
316
|
+
created: 'created',
|
|
317
|
+
prevQtyPostId: 'prevQtyPostId',
|
|
318
|
+
brandId: 'brandId'
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
exports.Prisma.ReportCreditsScalarFieldEnum = {
|
|
322
|
+
id: 'id',
|
|
323
|
+
type: 'type',
|
|
324
|
+
prevQty: 'prevQty',
|
|
325
|
+
changeQty: 'changeQty',
|
|
326
|
+
currentQty: 'currentQty',
|
|
327
|
+
created: 'created',
|
|
328
|
+
prevQtyPostId: 'prevQtyPostId',
|
|
329
|
+
brandId: 'brandId'
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
exports.Prisma.BrandToImageScalarFieldEnum = {
|
|
333
|
+
id: 'id',
|
|
334
|
+
brandId: 'brandId',
|
|
335
|
+
type: 'type'
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
exports.Prisma.BrandToCategoryScalarFieldEnum = {
|
|
339
|
+
brandId: 'brandId',
|
|
340
|
+
categoryId: 'categoryId'
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
exports.Prisma.CreatorToCategoryScalarFieldEnum = {
|
|
344
|
+
creatorProfileId: 'creatorProfileId',
|
|
345
|
+
categoryId: 'categoryId'
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
exports.Prisma.ChatScalarFieldEnum = {
|
|
349
|
+
id: 'id',
|
|
350
|
+
created: 'created',
|
|
351
|
+
conversationId: 'conversationId',
|
|
352
|
+
metaData: 'metaData',
|
|
353
|
+
optInId: 'optInId'
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
exports.Prisma.MessageScalarFieldEnum = {
|
|
357
|
+
id: 'id',
|
|
358
|
+
created: 'created',
|
|
359
|
+
sender: 'sender',
|
|
360
|
+
content: 'content',
|
|
361
|
+
read: 'read',
|
|
362
|
+
type: 'type',
|
|
363
|
+
messageSid: 'messageSid',
|
|
364
|
+
userId: 'userId',
|
|
365
|
+
chatId: 'chatId'
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
exports.Prisma.CampaignScalarFieldEnum = {
|
|
369
|
+
id: 'id',
|
|
370
|
+
title: 'title',
|
|
371
|
+
slug: 'slug',
|
|
372
|
+
status: 'status',
|
|
373
|
+
date: 'date',
|
|
374
|
+
publishDate: 'publishDate',
|
|
375
|
+
description: 'description',
|
|
376
|
+
productDescription: 'productDescription',
|
|
377
|
+
prizeDescription: 'prizeDescription',
|
|
378
|
+
strategy: 'strategy',
|
|
379
|
+
socialChannel: 'socialChannel',
|
|
380
|
+
socialChannels: 'socialChannels',
|
|
381
|
+
facebookReach: 'facebookReach',
|
|
382
|
+
facebookEngagement: 'facebookEngagement',
|
|
383
|
+
instagramReach: 'instagramReach',
|
|
384
|
+
instagramEngagement: 'instagramEngagement',
|
|
385
|
+
youtubeReach: 'youtubeReach',
|
|
386
|
+
youtubeEngagement: 'youtubeEngagement',
|
|
387
|
+
twitterReach: 'twitterReach',
|
|
388
|
+
twitterEngagement: 'twitterEngagement',
|
|
389
|
+
tiktokReach: 'tiktokReach',
|
|
390
|
+
tiktokEngagement: 'tiktokEngagement',
|
|
391
|
+
twitchReach: 'twitchReach',
|
|
392
|
+
twitchEngagement: 'twitchEngagement',
|
|
393
|
+
quantity: 'quantity',
|
|
394
|
+
holdCost: 'holdCost',
|
|
395
|
+
value: 'value',
|
|
396
|
+
paidAmount: 'paidAmount',
|
|
397
|
+
minAge: 'minAge',
|
|
398
|
+
maxAge: 'maxAge',
|
|
399
|
+
visuals: 'visuals',
|
|
400
|
+
photoTags: 'photoTags',
|
|
401
|
+
hashtags: 'hashtags',
|
|
402
|
+
storyHashtags: 'storyHashtags',
|
|
403
|
+
storyMentions: 'storyMentions',
|
|
404
|
+
caption: 'caption',
|
|
405
|
+
password: 'password',
|
|
406
|
+
contentFormats: 'contentFormats',
|
|
407
|
+
paidCampaign: 'paidCampaign',
|
|
408
|
+
minPaidAmount: 'minPaidAmount',
|
|
409
|
+
maxPaidAmount: 'maxPaidAmount',
|
|
410
|
+
paymentType: 'paymentType',
|
|
411
|
+
monthlyActivatedGoal: 'monthlyActivatedGoal',
|
|
412
|
+
expectedOptIns: 'expectedOptIns',
|
|
413
|
+
goalActivations: 'goalActivations',
|
|
414
|
+
goalOptIns: 'goalOptIns',
|
|
415
|
+
requiresShipping: 'requiresShipping',
|
|
416
|
+
disableQualifications: 'disableQualifications',
|
|
417
|
+
disableActivations: 'disableActivations',
|
|
418
|
+
affiliateLinkPath: 'affiliateLinkPath',
|
|
419
|
+
metaData: 'metaData',
|
|
420
|
+
brandId: 'brandId'
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
exports.Prisma.CampaignPinScalarFieldEnum = {
|
|
424
|
+
id: 'id',
|
|
425
|
+
userId: 'userId',
|
|
426
|
+
campaignId: 'campaignId',
|
|
427
|
+
created: 'created',
|
|
428
|
+
notified: 'notified'
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
exports.Prisma.CampaignToImageScalarFieldEnum = {
|
|
432
|
+
id: 'id',
|
|
433
|
+
campaignId: 'campaignId',
|
|
434
|
+
type: 'type'
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
exports.Prisma.CampaignToCategoryScalarFieldEnum = {
|
|
438
|
+
campaignId: 'campaignId',
|
|
439
|
+
categoryId: 'categoryId'
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
exports.Prisma.CampaignToCountryScalarFieldEnum = {
|
|
443
|
+
campaignId: 'campaignId',
|
|
444
|
+
countryId: 'countryId'
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
exports.Prisma.VariableScalarFieldEnum = {
|
|
448
|
+
id: 'id',
|
|
449
|
+
title: 'title',
|
|
450
|
+
description: 'description',
|
|
451
|
+
metaData: 'metaData',
|
|
452
|
+
campaignId: 'campaignId'
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
exports.Prisma.VariableOptionScalarFieldEnum = {
|
|
456
|
+
id: 'id',
|
|
457
|
+
title: 'title',
|
|
458
|
+
description: 'description',
|
|
459
|
+
metaData: 'metaData',
|
|
460
|
+
variableId: 'variableId'
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
exports.Prisma.StepScalarFieldEnum = {
|
|
464
|
+
id: 'id',
|
|
465
|
+
slug: 'slug',
|
|
466
|
+
title: 'title',
|
|
467
|
+
description: 'description',
|
|
468
|
+
data: 'data'
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
exports.Prisma.CampaignStepScalarFieldEnum = {
|
|
472
|
+
id: 'id',
|
|
473
|
+
placement: 'placement',
|
|
474
|
+
stepSettings: 'stepSettings',
|
|
475
|
+
actionee: 'actionee',
|
|
476
|
+
instructions: 'instructions',
|
|
477
|
+
customStepTitle: 'customStepTitle',
|
|
478
|
+
customForm: 'customForm',
|
|
479
|
+
metaData: 'metaData',
|
|
480
|
+
campaignId: 'campaignId',
|
|
481
|
+
stepId: 'stepId'
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
exports.Prisma.OptInStepScalarFieldEnum = {
|
|
485
|
+
id: 'id',
|
|
486
|
+
completed: 'completed',
|
|
487
|
+
data: 'data',
|
|
488
|
+
optInId: 'optInId',
|
|
489
|
+
campaignStepId: 'campaignStepId',
|
|
490
|
+
socialPostId: 'socialPostId'
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
exports.Prisma.CategoryScalarFieldEnum = {
|
|
494
|
+
id: 'id',
|
|
495
|
+
slug: 'slug',
|
|
496
|
+
title: 'title'
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
exports.Prisma.OptInScalarFieldEnum = {
|
|
500
|
+
id: 'id',
|
|
501
|
+
status: 'status',
|
|
502
|
+
created: 'created',
|
|
503
|
+
activated: 'activated',
|
|
504
|
+
completed: 'completed',
|
|
505
|
+
cancelled: 'cancelled',
|
|
506
|
+
cancelledData: 'cancelledData',
|
|
507
|
+
cancelRequested: 'cancelRequested',
|
|
508
|
+
reinvited: 'reinvited',
|
|
509
|
+
seen: 'seen',
|
|
510
|
+
instructions: 'instructions',
|
|
511
|
+
paymentAmount: 'paymentAmount',
|
|
512
|
+
paymentStatus: 'paymentStatus',
|
|
513
|
+
extraData: 'extraData',
|
|
514
|
+
userId: 'userId',
|
|
515
|
+
campaignId: 'campaignId',
|
|
516
|
+
currentStepId: 'currentStepId'
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
exports.Prisma.TrolleyPaymentScalarFieldEnum = {
|
|
520
|
+
id: 'id',
|
|
521
|
+
paymentId: 'paymentId',
|
|
522
|
+
type: 'type',
|
|
523
|
+
status: 'status',
|
|
524
|
+
optInId: 'optInId',
|
|
525
|
+
paymentAmount: 'paymentAmount',
|
|
526
|
+
metaData: 'metaData'
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
exports.Prisma.OptInVariableScalarFieldEnum = {
|
|
530
|
+
id: 'id',
|
|
531
|
+
optInId: 'optInId',
|
|
532
|
+
variableId: 'variableId',
|
|
533
|
+
selectedOptionId: 'selectedOptionId'
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
exports.Prisma.SocialPostScalarFieldEnum = {
|
|
537
|
+
id: 'id',
|
|
538
|
+
phylloId: 'phylloId',
|
|
539
|
+
metaData: 'metaData',
|
|
540
|
+
data: 'data',
|
|
541
|
+
lastFetched: 'lastFetched',
|
|
542
|
+
lastWebhook: 'lastWebhook',
|
|
543
|
+
posted: 'posted',
|
|
544
|
+
title: 'title',
|
|
545
|
+
description: 'description',
|
|
546
|
+
url: 'url',
|
|
547
|
+
urlPath: 'urlPath',
|
|
548
|
+
format: 'format',
|
|
549
|
+
type: 'type',
|
|
550
|
+
platform: 'platform',
|
|
551
|
+
visibility: 'visibility',
|
|
552
|
+
isSponsored: 'isSponsored',
|
|
553
|
+
hasCollaborators: 'hasCollaborators',
|
|
554
|
+
isOwnedByUser: 'isOwnedByUser',
|
|
555
|
+
views: 'views',
|
|
556
|
+
impressions: 'impressions',
|
|
557
|
+
impressionsOrganic: 'impressionsOrganic',
|
|
558
|
+
impressionsPaid: 'impressionsPaid',
|
|
559
|
+
reach: 'reach',
|
|
560
|
+
reachOrganic: 'reachOrganic',
|
|
561
|
+
reachPaid: 'reachPaid',
|
|
562
|
+
watchHours: 'watchHours',
|
|
563
|
+
likes: 'likes',
|
|
564
|
+
dislikes: 'dislikes',
|
|
565
|
+
comments: 'comments',
|
|
566
|
+
saves: 'saves',
|
|
567
|
+
shares: 'shares',
|
|
568
|
+
userId: 'userId',
|
|
569
|
+
campaignId: 'campaignId'
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
exports.Prisma.SocialPostTagScalarFieldEnum = {
|
|
573
|
+
id: 'id',
|
|
574
|
+
title: 'title',
|
|
575
|
+
type: 'type',
|
|
576
|
+
socialPostId: 'socialPostId'
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
exports.Prisma.ImageScalarFieldEnum = {
|
|
580
|
+
id: 'id',
|
|
581
|
+
url: 'url',
|
|
582
|
+
size: 'size',
|
|
583
|
+
campaignImageId: 'campaignImageId'
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
exports.Prisma.BrandImageScalarFieldEnum = {
|
|
587
|
+
id: 'id',
|
|
588
|
+
url: 'url',
|
|
589
|
+
size: 'size',
|
|
590
|
+
brandImageId: 'brandImageId'
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
exports.Prisma.CountryScalarFieldEnum = {
|
|
594
|
+
id: 'id',
|
|
595
|
+
countryCode: 'countryCode',
|
|
596
|
+
countryName: 'countryName',
|
|
597
|
+
teleCode: 'teleCode'
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
exports.Prisma.StateScalarFieldEnum = {
|
|
601
|
+
id: 'id',
|
|
602
|
+
countryId: 'countryId',
|
|
603
|
+
stateCode: 'stateCode',
|
|
604
|
+
stateName: 'stateName'
|
|
605
|
+
};
|
|
606
|
+
|
|
607
|
+
exports.Prisma.PaymentTransactionScalarFieldEnum = {
|
|
608
|
+
id: 'id',
|
|
609
|
+
amount: 'amount',
|
|
610
|
+
balance: 'balance',
|
|
611
|
+
type: 'type',
|
|
612
|
+
date: 'date',
|
|
613
|
+
notes: 'notes',
|
|
614
|
+
metaData: 'metaData',
|
|
615
|
+
accountId: 'accountId',
|
|
616
|
+
brandId: 'brandId',
|
|
617
|
+
creatorId: 'creatorId',
|
|
618
|
+
prevTransactionId: 'prevTransactionId'
|
|
619
|
+
};
|
|
620
|
+
|
|
621
|
+
exports.Prisma.BrandAffiliateLinkScalarFieldEnum = {
|
|
622
|
+
id: 'id',
|
|
623
|
+
created: 'created',
|
|
624
|
+
description: 'description',
|
|
625
|
+
urlPath: 'urlPath',
|
|
626
|
+
commission: 'commission',
|
|
627
|
+
metaData: 'metaData',
|
|
628
|
+
brandId: 'brandId'
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
exports.Prisma.AffiliateLinkScalarFieldEnum = {
|
|
632
|
+
id: 'id',
|
|
633
|
+
created: 'created',
|
|
634
|
+
metaData: 'metaData',
|
|
635
|
+
userId: 'userId',
|
|
636
|
+
brandAffiliateLinkId: 'brandAffiliateLinkId'
|
|
637
|
+
};
|
|
638
|
+
|
|
639
|
+
exports.Prisma.AffiliateClickScalarFieldEnum = {
|
|
640
|
+
id: 'id',
|
|
641
|
+
created: 'created',
|
|
642
|
+
visitorIp: 'visitorIp',
|
|
643
|
+
metaData: 'metaData',
|
|
644
|
+
affiliateLinkId: 'affiliateLinkId'
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
exports.Prisma.AffiliateEventScalarFieldEnum = {
|
|
648
|
+
id: 'id',
|
|
649
|
+
event: 'event',
|
|
650
|
+
created: 'created',
|
|
651
|
+
visitorIp: 'visitorIp',
|
|
652
|
+
urlPath: 'urlPath',
|
|
653
|
+
revenue: 'revenue',
|
|
654
|
+
commissionAmount: 'commissionAmount',
|
|
655
|
+
commissionPercent: 'commissionPercent',
|
|
656
|
+
metaData: 'metaData',
|
|
657
|
+
affiliateClickId: 'affiliateClickId'
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
exports.Prisma.SavedFileScalarFieldEnum = {
|
|
661
|
+
id: 'id',
|
|
662
|
+
title: 'title',
|
|
663
|
+
type: 'type',
|
|
664
|
+
url: 'url',
|
|
665
|
+
savedDate: 'savedDate',
|
|
666
|
+
metaData: 'metaData',
|
|
667
|
+
brandId: 'brandId'
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
exports.Prisma.CampaignInviteScalarFieldEnum = {
|
|
671
|
+
id: 'id',
|
|
672
|
+
socialProfileId: 'socialProfileId',
|
|
673
|
+
brandId: 'brandId',
|
|
674
|
+
campaignId: 'campaignId',
|
|
675
|
+
optInId: 'optInId',
|
|
676
|
+
code: 'code',
|
|
677
|
+
createdAt: 'createdAt',
|
|
678
|
+
declineDate: 'declineDate',
|
|
679
|
+
declineReason: 'declineReason',
|
|
680
|
+
metaData: 'metaData'
|
|
681
|
+
};
|
|
682
|
+
|
|
683
|
+
exports.Prisma.CreatorListScalarFieldEnum = {
|
|
684
|
+
id: 'id',
|
|
685
|
+
brandId: 'brandId',
|
|
686
|
+
campaignId: 'campaignId',
|
|
687
|
+
created: 'created',
|
|
688
|
+
archived: 'archived',
|
|
689
|
+
title: 'title',
|
|
690
|
+
metaData: 'metaData'
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
exports.Prisma.CreatorListItemScalarFieldEnum = {
|
|
694
|
+
id: 'id',
|
|
695
|
+
socialProfileId: 'socialProfileId',
|
|
696
|
+
creatorListId: 'creatorListId',
|
|
697
|
+
saved: 'saved',
|
|
698
|
+
invited: 'invited',
|
|
699
|
+
tags: 'tags',
|
|
700
|
+
feedback: 'feedback',
|
|
701
|
+
archived: 'archived',
|
|
702
|
+
metaData: 'metaData'
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
exports.Prisma.SocialProfileScalarFieldEnum = {
|
|
706
|
+
id: 'id',
|
|
707
|
+
socialId: 'socialId',
|
|
708
|
+
userId: 'userId',
|
|
709
|
+
platform: 'platform',
|
|
710
|
+
username: 'username',
|
|
711
|
+
fullname: 'fullname',
|
|
712
|
+
profileUrl: 'profileUrl',
|
|
713
|
+
profilePicUrl: 'profilePicUrl',
|
|
714
|
+
followerCount: 'followerCount',
|
|
715
|
+
engagement: 'engagement',
|
|
716
|
+
avgViews: 'avgViews',
|
|
717
|
+
verified: 'verified',
|
|
718
|
+
metaData: 'metaData',
|
|
719
|
+
audienceData: 'audienceData',
|
|
720
|
+
phylloData: 'phylloData',
|
|
721
|
+
created: 'created',
|
|
722
|
+
updated: 'updated'
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
exports.Prisma.MessageTemplateScalarFieldEnum = {
|
|
726
|
+
id: 'id',
|
|
727
|
+
label: 'label',
|
|
728
|
+
template: 'template',
|
|
729
|
+
brandId: 'brandId',
|
|
730
|
+
metaData: 'metaData'
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
exports.Prisma.EmailTemplateScalarFieldEnum = {
|
|
734
|
+
id: 'id',
|
|
735
|
+
label: 'label',
|
|
736
|
+
subject: 'subject',
|
|
737
|
+
template: 'template',
|
|
738
|
+
brandId: 'brandId',
|
|
739
|
+
metaData: 'metaData'
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
exports.Prisma.SocialListeningListScalarFieldEnum = {
|
|
743
|
+
id: 'id',
|
|
744
|
+
brandId: 'brandId',
|
|
745
|
+
campaignId: 'campaignId',
|
|
746
|
+
created: 'created',
|
|
747
|
+
updated: 'updated',
|
|
748
|
+
title: 'title',
|
|
749
|
+
postType: 'postType',
|
|
750
|
+
filters: 'filters',
|
|
751
|
+
lastFetched: 'lastFetched'
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
exports.Prisma.ListToSocialPostScalarFieldEnum = {
|
|
755
|
+
id: 'id',
|
|
756
|
+
listId: 'listId',
|
|
757
|
+
postId: 'postId'
|
|
758
|
+
};
|
|
759
|
+
|
|
760
|
+
exports.Prisma.OptInViewScalarFieldEnum = {
|
|
761
|
+
id: 'id',
|
|
762
|
+
title: 'title',
|
|
763
|
+
filters: 'filters',
|
|
764
|
+
campaignId: 'campaignId'
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
exports.Prisma.RakutenActivityScalarFieldEnum = {
|
|
768
|
+
id: 'id',
|
|
769
|
+
orderId: 'orderId',
|
|
770
|
+
metaData: 'metaData',
|
|
771
|
+
created: 'created',
|
|
772
|
+
clicks: 'clicks',
|
|
773
|
+
orders: 'orders',
|
|
774
|
+
sales: 'sales',
|
|
775
|
+
commission: 'commission',
|
|
776
|
+
advertiserId: 'advertiserId',
|
|
777
|
+
userId: 'userId'
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
exports.Prisma.ImpactRadiusEventScalarFieldEnum = {
|
|
781
|
+
id: 'id',
|
|
782
|
+
type: 'type',
|
|
783
|
+
created: 'created',
|
|
784
|
+
amount: 'amount',
|
|
785
|
+
commission: 'commission',
|
|
786
|
+
metaData: 'metaData',
|
|
787
|
+
userId: 'userId',
|
|
788
|
+
brandId: 'brandId'
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
exports.Prisma.CreatorSearchFilterScalarFieldEnum = {
|
|
792
|
+
id: 'id',
|
|
793
|
+
brandId: 'brandId',
|
|
794
|
+
title: 'title',
|
|
795
|
+
filters: 'filters',
|
|
796
|
+
createdAt: 'createdAt',
|
|
797
|
+
updatedAt: 'updatedAt'
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
exports.Prisma.SequenceScalarFieldEnum = {
|
|
801
|
+
id: 'id',
|
|
802
|
+
campaignId: 'campaignId',
|
|
803
|
+
creatorListId: 'creatorListId',
|
|
804
|
+
title: 'title',
|
|
805
|
+
createdAt: 'createdAt',
|
|
806
|
+
completed: 'completed',
|
|
807
|
+
brandId: 'brandId',
|
|
808
|
+
enabled: 'enabled'
|
|
809
|
+
};
|
|
810
|
+
|
|
811
|
+
exports.Prisma.SequenceStepScalarFieldEnum = {
|
|
812
|
+
id: 'id',
|
|
813
|
+
sequenceId: 'sequenceId',
|
|
814
|
+
createdAt: 'createdAt',
|
|
815
|
+
emailTemplateId: 'emailTemplateId',
|
|
816
|
+
daysAfterPrevious: 'daysAfterPrevious',
|
|
817
|
+
order: 'order',
|
|
818
|
+
stepId: 'stepId'
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
exports.Prisma.SequenceOutboundEmailScalarFieldEnum = {
|
|
822
|
+
id: 'id',
|
|
823
|
+
sequenceId: 'sequenceId',
|
|
824
|
+
creatorListItemId: 'creatorListItemId',
|
|
825
|
+
sequenceStepId: 'sequenceStepId',
|
|
826
|
+
sentAt: 'sentAt'
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
exports.Prisma.SequenceInboundEmailScalarFieldEnum = {
|
|
830
|
+
id: 'id',
|
|
831
|
+
sequenceId: 'sequenceId',
|
|
832
|
+
creatorListItemId: 'creatorListItemId',
|
|
833
|
+
receivedAt: 'receivedAt',
|
|
834
|
+
msgHash: 'msgHash'
|
|
835
|
+
};
|
|
836
|
+
|
|
837
|
+
exports.Prisma.SequenceImapCheckpointScalarFieldEnum = {
|
|
838
|
+
sequenceId: 'sequenceId',
|
|
839
|
+
creatorListItemId: 'creatorListItemId',
|
|
840
|
+
lastReadMsgDate: 'lastReadMsgDate',
|
|
841
|
+
createdAt: 'createdAt',
|
|
842
|
+
updatedAt: 'updatedAt'
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
exports.Prisma.SortOrder = {
|
|
846
|
+
asc: 'asc',
|
|
847
|
+
desc: 'desc'
|
|
848
|
+
};
|
|
849
|
+
|
|
850
|
+
exports.Prisma.JsonNullValueInput = {
|
|
851
|
+
JsonNull: Prisma.JsonNull
|
|
852
|
+
};
|
|
853
|
+
|
|
854
|
+
exports.Prisma.NullableJsonNullValueInput = {
|
|
855
|
+
DbNull: Prisma.DbNull,
|
|
856
|
+
JsonNull: Prisma.JsonNull
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
exports.Prisma.QueryMode = {
|
|
860
|
+
default: 'default',
|
|
861
|
+
insensitive: 'insensitive'
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
exports.Prisma.JsonNullValueFilter = {
|
|
865
|
+
DbNull: Prisma.DbNull,
|
|
866
|
+
JsonNull: Prisma.JsonNull,
|
|
867
|
+
AnyNull: Prisma.AnyNull
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
exports.Prisma.NullsOrder = {
|
|
871
|
+
first: 'first',
|
|
872
|
+
last: 'last'
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
exports.Prisma.UserOrderByRelevanceFieldEnum = {
|
|
876
|
+
role: 'role',
|
|
877
|
+
email: 'email',
|
|
878
|
+
password: 'password',
|
|
879
|
+
firstName: 'firstName',
|
|
880
|
+
lastName: 'lastName',
|
|
881
|
+
phone: 'phone',
|
|
882
|
+
phoneShort: 'phoneShort',
|
|
883
|
+
profilePicUrl: 'profilePicUrl',
|
|
884
|
+
forgotPasswordKey: 'forgotPasswordKey',
|
|
885
|
+
affiliateSlug: 'affiliateSlug',
|
|
886
|
+
closedReason: 'closedReason'
|
|
887
|
+
};
|
|
888
|
+
|
|
889
|
+
exports.Prisma.CreatorProfileOrderByRelevanceFieldEnum = {
|
|
890
|
+
country: 'country',
|
|
891
|
+
region: 'region',
|
|
892
|
+
gender: 'gender',
|
|
893
|
+
shippingAddress1: 'shippingAddress1',
|
|
894
|
+
shippingAddress2: 'shippingAddress2',
|
|
895
|
+
shippingCity: 'shippingCity',
|
|
896
|
+
shippingRegion: 'shippingRegion',
|
|
897
|
+
shippingCountry: 'shippingCountry',
|
|
898
|
+
shippingPostcode: 'shippingPostcode',
|
|
899
|
+
phylloUserId: 'phylloUserId',
|
|
900
|
+
profileSlug: 'profileSlug',
|
|
901
|
+
walletAddress: 'walletAddress'
|
|
902
|
+
};
|
|
903
|
+
|
|
904
|
+
exports.Prisma.InstagramProfileOrderByRelevanceFieldEnum = {
|
|
905
|
+
instagramId: 'instagramId',
|
|
906
|
+
username: 'username',
|
|
907
|
+
url: 'url',
|
|
908
|
+
profilePicUrl: 'profilePicUrl',
|
|
909
|
+
fullName: 'fullName',
|
|
910
|
+
bio: 'bio',
|
|
911
|
+
externalUrl: 'externalUrl',
|
|
912
|
+
category: 'category',
|
|
913
|
+
profilePicUrlHd: 'profilePicUrlHd',
|
|
914
|
+
visibility: 'visibility'
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
exports.Prisma.TiktokProfileOrderByRelevanceFieldEnum = {
|
|
918
|
+
tiktokId: 'tiktokId',
|
|
919
|
+
username: 'username',
|
|
920
|
+
url: 'url',
|
|
921
|
+
profilePicUrl: 'profilePicUrl',
|
|
922
|
+
handle: 'handle',
|
|
923
|
+
nickname: 'nickname',
|
|
924
|
+
visibility: 'visibility'
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
exports.Prisma.YoutubeProfileOrderByRelevanceFieldEnum = {
|
|
928
|
+
youtubeId: 'youtubeId',
|
|
929
|
+
username: 'username',
|
|
930
|
+
url: 'url',
|
|
931
|
+
profilePicUrl: 'profilePicUrl',
|
|
932
|
+
fullName: 'fullName',
|
|
933
|
+
description: 'description',
|
|
934
|
+
country: 'country',
|
|
935
|
+
visibility: 'visibility'
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
exports.Prisma.TwitchProfileOrderByRelevanceFieldEnum = {
|
|
939
|
+
twitchId: 'twitchId',
|
|
940
|
+
username: 'username',
|
|
941
|
+
url: 'url',
|
|
942
|
+
profilePicUrl: 'profilePicUrl',
|
|
943
|
+
visibility: 'visibility'
|
|
944
|
+
};
|
|
945
|
+
|
|
946
|
+
exports.Prisma.FacebookProfileOrderByRelevanceFieldEnum = {
|
|
947
|
+
facebookId: 'facebookId',
|
|
948
|
+
username: 'username',
|
|
949
|
+
url: 'url',
|
|
950
|
+
profilePicUrl: 'profilePicUrl',
|
|
951
|
+
visibility: 'visibility'
|
|
952
|
+
};
|
|
953
|
+
|
|
954
|
+
exports.Prisma.TwitterProfileOrderByRelevanceFieldEnum = {
|
|
955
|
+
twitterId: 'twitterId',
|
|
956
|
+
username: 'username',
|
|
957
|
+
url: 'url',
|
|
958
|
+
profilePicUrl: 'profilePicUrl',
|
|
959
|
+
visibility: 'visibility'
|
|
960
|
+
};
|
|
961
|
+
|
|
962
|
+
exports.Prisma.BrandOrderByRelevanceFieldEnum = {
|
|
963
|
+
name: 'name',
|
|
964
|
+
description: 'description',
|
|
965
|
+
website: 'website',
|
|
966
|
+
logoUrl: 'logoUrl',
|
|
967
|
+
affiliateBaseUrl: 'affiliateBaseUrl',
|
|
968
|
+
searchName: 'searchName'
|
|
969
|
+
};
|
|
970
|
+
|
|
971
|
+
exports.Prisma.SearchContactsOrderByRelevanceFieldEnum = {
|
|
972
|
+
type: 'type'
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
exports.Prisma.ReportCreditsOrderByRelevanceFieldEnum = {
|
|
976
|
+
type: 'type'
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
exports.Prisma.BrandToImageOrderByRelevanceFieldEnum = {
|
|
980
|
+
type: 'type'
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
exports.Prisma.ChatOrderByRelevanceFieldEnum = {
|
|
984
|
+
conversationId: 'conversationId'
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
exports.Prisma.MessageOrderByRelevanceFieldEnum = {
|
|
988
|
+
sender: 'sender',
|
|
989
|
+
content: 'content',
|
|
990
|
+
type: 'type',
|
|
991
|
+
messageSid: 'messageSid'
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
exports.Prisma.CampaignOrderByRelevanceFieldEnum = {
|
|
995
|
+
title: 'title',
|
|
996
|
+
slug: 'slug',
|
|
997
|
+
status: 'status',
|
|
998
|
+
description: 'description',
|
|
999
|
+
productDescription: 'productDescription',
|
|
1000
|
+
prizeDescription: 'prizeDescription',
|
|
1001
|
+
strategy: 'strategy',
|
|
1002
|
+
socialChannel: 'socialChannel',
|
|
1003
|
+
visuals: 'visuals',
|
|
1004
|
+
caption: 'caption',
|
|
1005
|
+
password: 'password',
|
|
1006
|
+
paymentType: 'paymentType',
|
|
1007
|
+
affiliateLinkPath: 'affiliateLinkPath'
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
exports.Prisma.CampaignToImageOrderByRelevanceFieldEnum = {
|
|
1011
|
+
type: 'type'
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
exports.Prisma.VariableOrderByRelevanceFieldEnum = {
|
|
1015
|
+
title: 'title',
|
|
1016
|
+
description: 'description'
|
|
1017
|
+
};
|
|
1018
|
+
|
|
1019
|
+
exports.Prisma.VariableOptionOrderByRelevanceFieldEnum = {
|
|
1020
|
+
title: 'title',
|
|
1021
|
+
description: 'description'
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
exports.Prisma.StepOrderByRelevanceFieldEnum = {
|
|
1025
|
+
slug: 'slug',
|
|
1026
|
+
title: 'title',
|
|
1027
|
+
description: 'description'
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
exports.Prisma.CampaignStepOrderByRelevanceFieldEnum = {
|
|
1031
|
+
actionee: 'actionee',
|
|
1032
|
+
instructions: 'instructions',
|
|
1033
|
+
customStepTitle: 'customStepTitle'
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
exports.Prisma.CategoryOrderByRelevanceFieldEnum = {
|
|
1037
|
+
slug: 'slug',
|
|
1038
|
+
title: 'title'
|
|
1039
|
+
};
|
|
1040
|
+
|
|
1041
|
+
exports.Prisma.OptInOrderByRelevanceFieldEnum = {
|
|
1042
|
+
status: 'status',
|
|
1043
|
+
instructions: 'instructions',
|
|
1044
|
+
paymentStatus: 'paymentStatus'
|
|
1045
|
+
};
|
|
1046
|
+
|
|
1047
|
+
exports.Prisma.TrolleyPaymentOrderByRelevanceFieldEnum = {
|
|
1048
|
+
paymentId: 'paymentId'
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1051
|
+
exports.Prisma.SocialPostOrderByRelevanceFieldEnum = {
|
|
1052
|
+
phylloId: 'phylloId',
|
|
1053
|
+
title: 'title',
|
|
1054
|
+
description: 'description',
|
|
1055
|
+
url: 'url',
|
|
1056
|
+
urlPath: 'urlPath',
|
|
1057
|
+
format: 'format',
|
|
1058
|
+
type: 'type',
|
|
1059
|
+
platform: 'platform',
|
|
1060
|
+
visibility: 'visibility'
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
exports.Prisma.SocialPostTagOrderByRelevanceFieldEnum = {
|
|
1064
|
+
title: 'title',
|
|
1065
|
+
type: 'type'
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
exports.Prisma.ImageOrderByRelevanceFieldEnum = {
|
|
1069
|
+
url: 'url',
|
|
1070
|
+
size: 'size'
|
|
1071
|
+
};
|
|
1072
|
+
|
|
1073
|
+
exports.Prisma.BrandImageOrderByRelevanceFieldEnum = {
|
|
1074
|
+
url: 'url',
|
|
1075
|
+
size: 'size'
|
|
1076
|
+
};
|
|
1077
|
+
|
|
1078
|
+
exports.Prisma.CountryOrderByRelevanceFieldEnum = {
|
|
1079
|
+
countryCode: 'countryCode',
|
|
1080
|
+
countryName: 'countryName',
|
|
1081
|
+
teleCode: 'teleCode'
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
exports.Prisma.StateOrderByRelevanceFieldEnum = {
|
|
1085
|
+
stateCode: 'stateCode',
|
|
1086
|
+
stateName: 'stateName'
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
exports.Prisma.PaymentTransactionOrderByRelevanceFieldEnum = {
|
|
1090
|
+
type: 'type',
|
|
1091
|
+
notes: 'notes'
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
exports.Prisma.BrandAffiliateLinkOrderByRelevanceFieldEnum = {
|
|
1095
|
+
description: 'description',
|
|
1096
|
+
urlPath: 'urlPath'
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
exports.Prisma.AffiliateClickOrderByRelevanceFieldEnum = {
|
|
1100
|
+
visitorIp: 'visitorIp'
|
|
1101
|
+
};
|
|
1102
|
+
|
|
1103
|
+
exports.Prisma.AffiliateEventOrderByRelevanceFieldEnum = {
|
|
1104
|
+
event: 'event',
|
|
1105
|
+
visitorIp: 'visitorIp',
|
|
1106
|
+
urlPath: 'urlPath'
|
|
1107
|
+
};
|
|
1108
|
+
|
|
1109
|
+
exports.Prisma.SavedFileOrderByRelevanceFieldEnum = {
|
|
1110
|
+
title: 'title',
|
|
1111
|
+
type: 'type',
|
|
1112
|
+
url: 'url'
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
exports.Prisma.CampaignInviteOrderByRelevanceFieldEnum = {
|
|
1116
|
+
code: 'code',
|
|
1117
|
+
declineReason: 'declineReason'
|
|
1118
|
+
};
|
|
1119
|
+
|
|
1120
|
+
exports.Prisma.CreatorListOrderByRelevanceFieldEnum = {
|
|
1121
|
+
title: 'title'
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
exports.Prisma.CreatorListItemOrderByRelevanceFieldEnum = {
|
|
1125
|
+
feedback: 'feedback'
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
exports.Prisma.SocialProfileOrderByRelevanceFieldEnum = {
|
|
1129
|
+
socialId: 'socialId',
|
|
1130
|
+
platform: 'platform',
|
|
1131
|
+
username: 'username',
|
|
1132
|
+
fullname: 'fullname',
|
|
1133
|
+
profileUrl: 'profileUrl',
|
|
1134
|
+
profilePicUrl: 'profilePicUrl'
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
exports.Prisma.MessageTemplateOrderByRelevanceFieldEnum = {
|
|
1138
|
+
label: 'label',
|
|
1139
|
+
template: 'template'
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
exports.Prisma.EmailTemplateOrderByRelevanceFieldEnum = {
|
|
1143
|
+
label: 'label',
|
|
1144
|
+
subject: 'subject',
|
|
1145
|
+
template: 'template'
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1148
|
+
exports.Prisma.SocialListeningListOrderByRelevanceFieldEnum = {
|
|
1149
|
+
title: 'title',
|
|
1150
|
+
postType: 'postType'
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
exports.Prisma.OptInViewOrderByRelevanceFieldEnum = {
|
|
1154
|
+
title: 'title'
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
exports.Prisma.RakutenActivityOrderByRelevanceFieldEnum = {
|
|
1158
|
+
orderId: 'orderId'
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
exports.Prisma.ImpactRadiusEventOrderByRelevanceFieldEnum = {
|
|
1162
|
+
type: 'type'
|
|
1163
|
+
};
|
|
1164
|
+
|
|
1165
|
+
exports.Prisma.CreatorSearchFilterOrderByRelevanceFieldEnum = {
|
|
1166
|
+
title: 'title'
|
|
1167
|
+
};
|
|
1168
|
+
|
|
1169
|
+
exports.Prisma.SequenceOrderByRelevanceFieldEnum = {
|
|
1170
|
+
title: 'title'
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
exports.Prisma.SequenceInboundEmailOrderByRelevanceFieldEnum = {
|
|
1174
|
+
msgHash: 'msgHash'
|
|
1175
|
+
};
|
|
1176
|
+
exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
|
|
1177
|
+
optIn: 'optIn',
|
|
1178
|
+
tip: 'tip',
|
|
1179
|
+
affiliate: 'affiliate'
|
|
1180
|
+
};
|
|
1181
|
+
|
|
1182
|
+
exports.trolleyPaymentStatus = exports.$Enums.trolleyPaymentStatus = {
|
|
1183
|
+
pending: 'pending',
|
|
1184
|
+
processing: 'processing',
|
|
1185
|
+
processed: 'processed',
|
|
1186
|
+
failed: 'failed',
|
|
1187
|
+
returned: 'returned'
|
|
1188
|
+
};
|
|
1189
|
+
|
|
1190
|
+
exports.Prisma.ModelName = {
|
|
1191
|
+
User: 'User',
|
|
1192
|
+
Log: 'Log',
|
|
1193
|
+
CreatorProfile: 'CreatorProfile',
|
|
1194
|
+
InstagramProfile: 'InstagramProfile',
|
|
1195
|
+
TiktokProfile: 'TiktokProfile',
|
|
1196
|
+
YoutubeProfile: 'YoutubeProfile',
|
|
1197
|
+
TwitchProfile: 'TwitchProfile',
|
|
1198
|
+
FacebookProfile: 'FacebookProfile',
|
|
1199
|
+
TwitterProfile: 'TwitterProfile',
|
|
1200
|
+
BrandUserProfile: 'BrandUserProfile',
|
|
1201
|
+
Brand: 'Brand',
|
|
1202
|
+
SearchContacts: 'SearchContacts',
|
|
1203
|
+
ReportCredits: 'ReportCredits',
|
|
1204
|
+
BrandToImage: 'BrandToImage',
|
|
1205
|
+
BrandToCategory: 'BrandToCategory',
|
|
1206
|
+
CreatorToCategory: 'CreatorToCategory',
|
|
1207
|
+
Chat: 'Chat',
|
|
1208
|
+
Message: 'Message',
|
|
1209
|
+
Campaign: 'Campaign',
|
|
1210
|
+
CampaignPin: 'CampaignPin',
|
|
1211
|
+
CampaignToImage: 'CampaignToImage',
|
|
1212
|
+
CampaignToCategory: 'CampaignToCategory',
|
|
1213
|
+
CampaignToCountry: 'CampaignToCountry',
|
|
1214
|
+
Variable: 'Variable',
|
|
1215
|
+
VariableOption: 'VariableOption',
|
|
1216
|
+
Step: 'Step',
|
|
1217
|
+
CampaignStep: 'CampaignStep',
|
|
1218
|
+
OptInStep: 'OptInStep',
|
|
1219
|
+
Category: 'Category',
|
|
1220
|
+
OptIn: 'OptIn',
|
|
1221
|
+
TrolleyPayment: 'TrolleyPayment',
|
|
1222
|
+
OptInVariable: 'OptInVariable',
|
|
1223
|
+
SocialPost: 'SocialPost',
|
|
1224
|
+
SocialPostTag: 'SocialPostTag',
|
|
1225
|
+
Image: 'Image',
|
|
1226
|
+
BrandImage: 'BrandImage',
|
|
1227
|
+
Country: 'Country',
|
|
1228
|
+
State: 'State',
|
|
1229
|
+
PaymentTransaction: 'PaymentTransaction',
|
|
1230
|
+
BrandAffiliateLink: 'BrandAffiliateLink',
|
|
1231
|
+
AffiliateLink: 'AffiliateLink',
|
|
1232
|
+
AffiliateClick: 'AffiliateClick',
|
|
1233
|
+
AffiliateEvent: 'AffiliateEvent',
|
|
1234
|
+
SavedFile: 'SavedFile',
|
|
1235
|
+
CampaignInvite: 'CampaignInvite',
|
|
1236
|
+
CreatorList: 'CreatorList',
|
|
1237
|
+
CreatorListItem: 'CreatorListItem',
|
|
1238
|
+
SocialProfile: 'SocialProfile',
|
|
1239
|
+
MessageTemplate: 'MessageTemplate',
|
|
1240
|
+
EmailTemplate: 'EmailTemplate',
|
|
1241
|
+
SocialListeningList: 'SocialListeningList',
|
|
1242
|
+
ListToSocialPost: 'ListToSocialPost',
|
|
1243
|
+
OptInView: 'OptInView',
|
|
1244
|
+
RakutenActivity: 'RakutenActivity',
|
|
1245
|
+
ImpactRadiusEvent: 'ImpactRadiusEvent',
|
|
1246
|
+
CreatorSearchFilter: 'CreatorSearchFilter',
|
|
1247
|
+
Sequence: 'Sequence',
|
|
1248
|
+
SequenceStep: 'SequenceStep',
|
|
1249
|
+
SequenceOutboundEmail: 'SequenceOutboundEmail',
|
|
1250
|
+
SequenceInboundEmail: 'SequenceInboundEmail',
|
|
1251
|
+
SequenceImapCheckpoint: 'SequenceImapCheckpoint'
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* This is a stub Prisma Client that will error at runtime if called.
|
|
1256
|
+
*/
|
|
1257
|
+
class PrismaClient {
|
|
1258
|
+
constructor() {
|
|
1259
|
+
return new Proxy(this, {
|
|
1260
|
+
get(target, prop) {
|
|
1261
|
+
const runtime = detectRuntime()
|
|
1262
|
+
const edgeRuntimeName = {
|
|
1263
|
+
'workerd': 'Cloudflare Workers',
|
|
1264
|
+
'deno': 'Deno and Deno Deploy',
|
|
1265
|
+
'netlify': 'Netlify Edge Functions',
|
|
1266
|
+
'edge-light': 'Vercel Edge Functions or Edge Middleware',
|
|
1267
|
+
}[runtime]
|
|
1268
|
+
|
|
1269
|
+
let message = 'PrismaClient is unable to run in '
|
|
1270
|
+
if (edgeRuntimeName !== undefined) {
|
|
1271
|
+
message += edgeRuntimeName + '. As an alternative, try Accelerate: https://pris.ly/d/accelerate.'
|
|
1272
|
+
} else {
|
|
1273
|
+
message += 'this browser environment, or has been bundled for the browser (running in `' + runtime + '`).'
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
message += `
|
|
1277
|
+
If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
|
|
1278
|
+
|
|
1279
|
+
throw new Error(message)
|
|
1280
|
+
}
|
|
1281
|
+
})
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
exports.PrismaClient = PrismaClient
|
|
1286
|
+
|
|
1287
|
+
Object.assign(exports, Prisma)
|