@creator.co/creatorco-prisma-client 1.0.19 → 1.0.20

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/wasm.js DELETED
@@ -1,1274 +0,0 @@
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.ImageScalarFieldEnum = {
573
- id: 'id',
574
- url: 'url',
575
- size: 'size',
576
- campaignImageId: 'campaignImageId'
577
- };
578
-
579
- exports.Prisma.BrandImageScalarFieldEnum = {
580
- id: 'id',
581
- url: 'url',
582
- size: 'size',
583
- brandImageId: 'brandImageId'
584
- };
585
-
586
- exports.Prisma.CountryScalarFieldEnum = {
587
- id: 'id',
588
- countryCode: 'countryCode',
589
- countryName: 'countryName',
590
- teleCode: 'teleCode'
591
- };
592
-
593
- exports.Prisma.StateScalarFieldEnum = {
594
- id: 'id',
595
- countryId: 'countryId',
596
- stateCode: 'stateCode',
597
- stateName: 'stateName'
598
- };
599
-
600
- exports.Prisma.PaymentTransactionScalarFieldEnum = {
601
- id: 'id',
602
- amount: 'amount',
603
- balance: 'balance',
604
- type: 'type',
605
- date: 'date',
606
- notes: 'notes',
607
- metaData: 'metaData',
608
- accountId: 'accountId',
609
- brandId: 'brandId',
610
- creatorId: 'creatorId',
611
- prevTransactionId: 'prevTransactionId'
612
- };
613
-
614
- exports.Prisma.BrandAffiliateLinkScalarFieldEnum = {
615
- id: 'id',
616
- created: 'created',
617
- description: 'description',
618
- urlPath: 'urlPath',
619
- commission: 'commission',
620
- metaData: 'metaData',
621
- brandId: 'brandId'
622
- };
623
-
624
- exports.Prisma.AffiliateLinkScalarFieldEnum = {
625
- id: 'id',
626
- created: 'created',
627
- metaData: 'metaData',
628
- userId: 'userId',
629
- brandAffiliateLinkId: 'brandAffiliateLinkId'
630
- };
631
-
632
- exports.Prisma.AffiliateClickScalarFieldEnum = {
633
- id: 'id',
634
- created: 'created',
635
- visitorIp: 'visitorIp',
636
- metaData: 'metaData',
637
- affiliateLinkId: 'affiliateLinkId'
638
- };
639
-
640
- exports.Prisma.AffiliateEventScalarFieldEnum = {
641
- id: 'id',
642
- event: 'event',
643
- created: 'created',
644
- visitorIp: 'visitorIp',
645
- urlPath: 'urlPath',
646
- revenue: 'revenue',
647
- commissionAmount: 'commissionAmount',
648
- commissionPercent: 'commissionPercent',
649
- metaData: 'metaData',
650
- affiliateClickId: 'affiliateClickId'
651
- };
652
-
653
- exports.Prisma.SavedFileScalarFieldEnum = {
654
- id: 'id',
655
- title: 'title',
656
- type: 'type',
657
- url: 'url',
658
- savedDate: 'savedDate',
659
- metaData: 'metaData',
660
- brandId: 'brandId'
661
- };
662
-
663
- exports.Prisma.CampaignInviteScalarFieldEnum = {
664
- id: 'id',
665
- socialProfileId: 'socialProfileId',
666
- brandId: 'brandId',
667
- campaignId: 'campaignId',
668
- optInId: 'optInId',
669
- code: 'code',
670
- createdAt: 'createdAt',
671
- declineDate: 'declineDate',
672
- declineReason: 'declineReason',
673
- metaData: 'metaData'
674
- };
675
-
676
- exports.Prisma.CreatorListScalarFieldEnum = {
677
- id: 'id',
678
- brandId: 'brandId',
679
- campaignId: 'campaignId',
680
- created: 'created',
681
- archived: 'archived',
682
- title: 'title',
683
- metaData: 'metaData'
684
- };
685
-
686
- exports.Prisma.CreatorListItemScalarFieldEnum = {
687
- id: 'id',
688
- socialProfileId: 'socialProfileId',
689
- creatorListId: 'creatorListId',
690
- saved: 'saved',
691
- invited: 'invited',
692
- tags: 'tags',
693
- feedback: 'feedback',
694
- archived: 'archived',
695
- metaData: 'metaData'
696
- };
697
-
698
- exports.Prisma.SocialProfileScalarFieldEnum = {
699
- id: 'id',
700
- socialId: 'socialId',
701
- userId: 'userId',
702
- platform: 'platform',
703
- username: 'username',
704
- fullname: 'fullname',
705
- profileUrl: 'profileUrl',
706
- profilePicUrl: 'profilePicUrl',
707
- followerCount: 'followerCount',
708
- engagement: 'engagement',
709
- avgViews: 'avgViews',
710
- verified: 'verified',
711
- metaData: 'metaData',
712
- audienceData: 'audienceData',
713
- phylloData: 'phylloData',
714
- created: 'created',
715
- updated: 'updated'
716
- };
717
-
718
- exports.Prisma.MessageTemplateScalarFieldEnum = {
719
- id: 'id',
720
- label: 'label',
721
- template: 'template',
722
- brandId: 'brandId',
723
- metaData: 'metaData'
724
- };
725
-
726
- exports.Prisma.EmailTemplateScalarFieldEnum = {
727
- id: 'id',
728
- label: 'label',
729
- subject: 'subject',
730
- template: 'template',
731
- brandId: 'brandId',
732
- metaData: 'metaData'
733
- };
734
-
735
- exports.Prisma.SocialListeningListScalarFieldEnum = {
736
- id: 'id',
737
- brandId: 'brandId',
738
- campaignId: 'campaignId',
739
- created: 'created',
740
- updated: 'updated',
741
- title: 'title',
742
- postType: 'postType',
743
- filters: 'filters',
744
- lastFetched: 'lastFetched'
745
- };
746
-
747
- exports.Prisma.ListToSocialPostScalarFieldEnum = {
748
- id: 'id',
749
- listId: 'listId',
750
- postId: 'postId'
751
- };
752
-
753
- exports.Prisma.OptInViewScalarFieldEnum = {
754
- id: 'id',
755
- title: 'title',
756
- filters: 'filters',
757
- campaignId: 'campaignId'
758
- };
759
-
760
- exports.Prisma.RakutenActivityScalarFieldEnum = {
761
- id: 'id',
762
- orderId: 'orderId',
763
- metaData: 'metaData',
764
- created: 'created',
765
- clicks: 'clicks',
766
- orders: 'orders',
767
- sales: 'sales',
768
- commission: 'commission',
769
- advertiserId: 'advertiserId',
770
- userId: 'userId'
771
- };
772
-
773
- exports.Prisma.ImpactRadiusEventScalarFieldEnum = {
774
- id: 'id',
775
- type: 'type',
776
- created: 'created',
777
- amount: 'amount',
778
- commission: 'commission',
779
- metaData: 'metaData',
780
- userId: 'userId',
781
- brandId: 'brandId'
782
- };
783
-
784
- exports.Prisma.CreatorSearchFilterScalarFieldEnum = {
785
- id: 'id',
786
- brandId: 'brandId',
787
- title: 'title',
788
- filters: 'filters',
789
- createdAt: 'createdAt',
790
- updatedAt: 'updatedAt'
791
- };
792
-
793
- exports.Prisma.SequenceScalarFieldEnum = {
794
- id: 'id',
795
- campaignId: 'campaignId',
796
- creatorListId: 'creatorListId',
797
- title: 'title',
798
- createdAt: 'createdAt',
799
- completed: 'completed',
800
- brandId: 'brandId',
801
- enabled: 'enabled'
802
- };
803
-
804
- exports.Prisma.SequenceStepScalarFieldEnum = {
805
- id: 'id',
806
- sequenceId: 'sequenceId',
807
- createdAt: 'createdAt',
808
- emailTemplateId: 'emailTemplateId',
809
- daysAfterPrevious: 'daysAfterPrevious',
810
- order: 'order',
811
- stepId: 'stepId'
812
- };
813
-
814
- exports.Prisma.SequenceOutboundEmailScalarFieldEnum = {
815
- id: 'id',
816
- sequenceId: 'sequenceId',
817
- creatorListItemId: 'creatorListItemId',
818
- sequenceStepId: 'sequenceStepId',
819
- sentAt: 'sentAt'
820
- };
821
-
822
- exports.Prisma.SequenceInboundEmailScalarFieldEnum = {
823
- id: 'id',
824
- sequenceId: 'sequenceId',
825
- creatorListItemId: 'creatorListItemId',
826
- receivedAt: 'receivedAt',
827
- msgHash: 'msgHash'
828
- };
829
-
830
- exports.Prisma.SequenceImapCheckpointScalarFieldEnum = {
831
- sequenceId: 'sequenceId',
832
- creatorListItemId: 'creatorListItemId',
833
- lastReadMsgDate: 'lastReadMsgDate',
834
- createdAt: 'createdAt',
835
- updatedAt: 'updatedAt'
836
- };
837
-
838
- exports.Prisma.SortOrder = {
839
- asc: 'asc',
840
- desc: 'desc'
841
- };
842
-
843
- exports.Prisma.JsonNullValueInput = {
844
- JsonNull: Prisma.JsonNull
845
- };
846
-
847
- exports.Prisma.NullableJsonNullValueInput = {
848
- DbNull: Prisma.DbNull,
849
- JsonNull: Prisma.JsonNull
850
- };
851
-
852
- exports.Prisma.QueryMode = {
853
- default: 'default',
854
- insensitive: 'insensitive'
855
- };
856
-
857
- exports.Prisma.JsonNullValueFilter = {
858
- DbNull: Prisma.DbNull,
859
- JsonNull: Prisma.JsonNull,
860
- AnyNull: Prisma.AnyNull
861
- };
862
-
863
- exports.Prisma.NullsOrder = {
864
- first: 'first',
865
- last: 'last'
866
- };
867
-
868
- exports.Prisma.UserOrderByRelevanceFieldEnum = {
869
- role: 'role',
870
- email: 'email',
871
- password: 'password',
872
- firstName: 'firstName',
873
- lastName: 'lastName',
874
- phone: 'phone',
875
- phoneShort: 'phoneShort',
876
- profilePicUrl: 'profilePicUrl',
877
- forgotPasswordKey: 'forgotPasswordKey',
878
- affiliateSlug: 'affiliateSlug',
879
- closedReason: 'closedReason'
880
- };
881
-
882
- exports.Prisma.CreatorProfileOrderByRelevanceFieldEnum = {
883
- country: 'country',
884
- region: 'region',
885
- gender: 'gender',
886
- shippingAddress1: 'shippingAddress1',
887
- shippingAddress2: 'shippingAddress2',
888
- shippingCity: 'shippingCity',
889
- shippingRegion: 'shippingRegion',
890
- shippingCountry: 'shippingCountry',
891
- shippingPostcode: 'shippingPostcode',
892
- phylloUserId: 'phylloUserId',
893
- profileSlug: 'profileSlug',
894
- walletAddress: 'walletAddress'
895
- };
896
-
897
- exports.Prisma.InstagramProfileOrderByRelevanceFieldEnum = {
898
- instagramId: 'instagramId',
899
- username: 'username',
900
- url: 'url',
901
- profilePicUrl: 'profilePicUrl',
902
- fullName: 'fullName',
903
- bio: 'bio',
904
- externalUrl: 'externalUrl',
905
- category: 'category',
906
- profilePicUrlHd: 'profilePicUrlHd',
907
- visibility: 'visibility'
908
- };
909
-
910
- exports.Prisma.TiktokProfileOrderByRelevanceFieldEnum = {
911
- tiktokId: 'tiktokId',
912
- username: 'username',
913
- url: 'url',
914
- profilePicUrl: 'profilePicUrl',
915
- handle: 'handle',
916
- nickname: 'nickname',
917
- visibility: 'visibility'
918
- };
919
-
920
- exports.Prisma.YoutubeProfileOrderByRelevanceFieldEnum = {
921
- youtubeId: 'youtubeId',
922
- username: 'username',
923
- url: 'url',
924
- profilePicUrl: 'profilePicUrl',
925
- fullName: 'fullName',
926
- description: 'description',
927
- country: 'country',
928
- visibility: 'visibility'
929
- };
930
-
931
- exports.Prisma.TwitchProfileOrderByRelevanceFieldEnum = {
932
- twitchId: 'twitchId',
933
- username: 'username',
934
- url: 'url',
935
- profilePicUrl: 'profilePicUrl',
936
- visibility: 'visibility'
937
- };
938
-
939
- exports.Prisma.FacebookProfileOrderByRelevanceFieldEnum = {
940
- facebookId: 'facebookId',
941
- username: 'username',
942
- url: 'url',
943
- profilePicUrl: 'profilePicUrl',
944
- visibility: 'visibility'
945
- };
946
-
947
- exports.Prisma.TwitterProfileOrderByRelevanceFieldEnum = {
948
- twitterId: 'twitterId',
949
- username: 'username',
950
- url: 'url',
951
- profilePicUrl: 'profilePicUrl',
952
- visibility: 'visibility'
953
- };
954
-
955
- exports.Prisma.BrandOrderByRelevanceFieldEnum = {
956
- name: 'name',
957
- description: 'description',
958
- website: 'website',
959
- logoUrl: 'logoUrl',
960
- affiliateBaseUrl: 'affiliateBaseUrl',
961
- searchName: 'searchName'
962
- };
963
-
964
- exports.Prisma.SearchContactsOrderByRelevanceFieldEnum = {
965
- type: 'type'
966
- };
967
-
968
- exports.Prisma.ReportCreditsOrderByRelevanceFieldEnum = {
969
- type: 'type'
970
- };
971
-
972
- exports.Prisma.BrandToImageOrderByRelevanceFieldEnum = {
973
- type: 'type'
974
- };
975
-
976
- exports.Prisma.ChatOrderByRelevanceFieldEnum = {
977
- conversationId: 'conversationId'
978
- };
979
-
980
- exports.Prisma.MessageOrderByRelevanceFieldEnum = {
981
- sender: 'sender',
982
- content: 'content',
983
- type: 'type',
984
- messageSid: 'messageSid'
985
- };
986
-
987
- exports.Prisma.CampaignOrderByRelevanceFieldEnum = {
988
- title: 'title',
989
- slug: 'slug',
990
- status: 'status',
991
- description: 'description',
992
- productDescription: 'productDescription',
993
- prizeDescription: 'prizeDescription',
994
- strategy: 'strategy',
995
- socialChannel: 'socialChannel',
996
- visuals: 'visuals',
997
- caption: 'caption',
998
- password: 'password',
999
- paymentType: 'paymentType',
1000
- affiliateLinkPath: 'affiliateLinkPath'
1001
- };
1002
-
1003
- exports.Prisma.CampaignToImageOrderByRelevanceFieldEnum = {
1004
- type: 'type'
1005
- };
1006
-
1007
- exports.Prisma.VariableOrderByRelevanceFieldEnum = {
1008
- title: 'title',
1009
- description: 'description'
1010
- };
1011
-
1012
- exports.Prisma.VariableOptionOrderByRelevanceFieldEnum = {
1013
- title: 'title',
1014
- description: 'description'
1015
- };
1016
-
1017
- exports.Prisma.StepOrderByRelevanceFieldEnum = {
1018
- slug: 'slug',
1019
- title: 'title',
1020
- description: 'description'
1021
- };
1022
-
1023
- exports.Prisma.CampaignStepOrderByRelevanceFieldEnum = {
1024
- actionee: 'actionee',
1025
- instructions: 'instructions',
1026
- customStepTitle: 'customStepTitle'
1027
- };
1028
-
1029
- exports.Prisma.CategoryOrderByRelevanceFieldEnum = {
1030
- slug: 'slug',
1031
- title: 'title'
1032
- };
1033
-
1034
- exports.Prisma.OptInOrderByRelevanceFieldEnum = {
1035
- status: 'status',
1036
- instructions: 'instructions',
1037
- paymentStatus: 'paymentStatus'
1038
- };
1039
-
1040
- exports.Prisma.TrolleyPaymentOrderByRelevanceFieldEnum = {
1041
- paymentId: 'paymentId'
1042
- };
1043
-
1044
- exports.Prisma.SocialPostOrderByRelevanceFieldEnum = {
1045
- phylloId: 'phylloId',
1046
- title: 'title',
1047
- description: 'description',
1048
- url: 'url',
1049
- urlPath: 'urlPath',
1050
- format: 'format',
1051
- type: 'type',
1052
- platform: 'platform',
1053
- visibility: 'visibility'
1054
- };
1055
-
1056
- exports.Prisma.ImageOrderByRelevanceFieldEnum = {
1057
- url: 'url',
1058
- size: 'size'
1059
- };
1060
-
1061
- exports.Prisma.BrandImageOrderByRelevanceFieldEnum = {
1062
- url: 'url',
1063
- size: 'size'
1064
- };
1065
-
1066
- exports.Prisma.CountryOrderByRelevanceFieldEnum = {
1067
- countryCode: 'countryCode',
1068
- countryName: 'countryName',
1069
- teleCode: 'teleCode'
1070
- };
1071
-
1072
- exports.Prisma.StateOrderByRelevanceFieldEnum = {
1073
- stateCode: 'stateCode',
1074
- stateName: 'stateName'
1075
- };
1076
-
1077
- exports.Prisma.PaymentTransactionOrderByRelevanceFieldEnum = {
1078
- type: 'type',
1079
- notes: 'notes'
1080
- };
1081
-
1082
- exports.Prisma.BrandAffiliateLinkOrderByRelevanceFieldEnum = {
1083
- description: 'description',
1084
- urlPath: 'urlPath'
1085
- };
1086
-
1087
- exports.Prisma.AffiliateClickOrderByRelevanceFieldEnum = {
1088
- visitorIp: 'visitorIp'
1089
- };
1090
-
1091
- exports.Prisma.AffiliateEventOrderByRelevanceFieldEnum = {
1092
- event: 'event',
1093
- visitorIp: 'visitorIp',
1094
- urlPath: 'urlPath'
1095
- };
1096
-
1097
- exports.Prisma.SavedFileOrderByRelevanceFieldEnum = {
1098
- title: 'title',
1099
- type: 'type',
1100
- url: 'url'
1101
- };
1102
-
1103
- exports.Prisma.CampaignInviteOrderByRelevanceFieldEnum = {
1104
- code: 'code',
1105
- declineReason: 'declineReason'
1106
- };
1107
-
1108
- exports.Prisma.CreatorListOrderByRelevanceFieldEnum = {
1109
- title: 'title'
1110
- };
1111
-
1112
- exports.Prisma.CreatorListItemOrderByRelevanceFieldEnum = {
1113
- feedback: 'feedback'
1114
- };
1115
-
1116
- exports.Prisma.SocialProfileOrderByRelevanceFieldEnum = {
1117
- socialId: 'socialId',
1118
- platform: 'platform',
1119
- username: 'username',
1120
- fullname: 'fullname',
1121
- profileUrl: 'profileUrl',
1122
- profilePicUrl: 'profilePicUrl'
1123
- };
1124
-
1125
- exports.Prisma.MessageTemplateOrderByRelevanceFieldEnum = {
1126
- label: 'label',
1127
- template: 'template'
1128
- };
1129
-
1130
- exports.Prisma.EmailTemplateOrderByRelevanceFieldEnum = {
1131
- label: 'label',
1132
- subject: 'subject',
1133
- template: 'template'
1134
- };
1135
-
1136
- exports.Prisma.SocialListeningListOrderByRelevanceFieldEnum = {
1137
- title: 'title',
1138
- postType: 'postType'
1139
- };
1140
-
1141
- exports.Prisma.OptInViewOrderByRelevanceFieldEnum = {
1142
- title: 'title'
1143
- };
1144
-
1145
- exports.Prisma.RakutenActivityOrderByRelevanceFieldEnum = {
1146
- orderId: 'orderId'
1147
- };
1148
-
1149
- exports.Prisma.ImpactRadiusEventOrderByRelevanceFieldEnum = {
1150
- type: 'type'
1151
- };
1152
-
1153
- exports.Prisma.CreatorSearchFilterOrderByRelevanceFieldEnum = {
1154
- title: 'title'
1155
- };
1156
-
1157
- exports.Prisma.SequenceOrderByRelevanceFieldEnum = {
1158
- title: 'title'
1159
- };
1160
-
1161
- exports.Prisma.SequenceInboundEmailOrderByRelevanceFieldEnum = {
1162
- msgHash: 'msgHash'
1163
- };
1164
- exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
1165
- optIn: 'optIn',
1166
- tip: 'tip',
1167
- affiliate: 'affiliate'
1168
- };
1169
-
1170
- exports.trolleyPaymentStatus = exports.$Enums.trolleyPaymentStatus = {
1171
- pending: 'pending',
1172
- processing: 'processing',
1173
- processed: 'processed',
1174
- failed: 'failed',
1175
- returned: 'returned'
1176
- };
1177
-
1178
- exports.Prisma.ModelName = {
1179
- User: 'User',
1180
- Log: 'Log',
1181
- CreatorProfile: 'CreatorProfile',
1182
- InstagramProfile: 'InstagramProfile',
1183
- TiktokProfile: 'TiktokProfile',
1184
- YoutubeProfile: 'YoutubeProfile',
1185
- TwitchProfile: 'TwitchProfile',
1186
- FacebookProfile: 'FacebookProfile',
1187
- TwitterProfile: 'TwitterProfile',
1188
- BrandUserProfile: 'BrandUserProfile',
1189
- Brand: 'Brand',
1190
- SearchContacts: 'SearchContacts',
1191
- ReportCredits: 'ReportCredits',
1192
- BrandToImage: 'BrandToImage',
1193
- BrandToCategory: 'BrandToCategory',
1194
- CreatorToCategory: 'CreatorToCategory',
1195
- Chat: 'Chat',
1196
- Message: 'Message',
1197
- Campaign: 'Campaign',
1198
- CampaignPin: 'CampaignPin',
1199
- CampaignToImage: 'CampaignToImage',
1200
- CampaignToCategory: 'CampaignToCategory',
1201
- CampaignToCountry: 'CampaignToCountry',
1202
- Variable: 'Variable',
1203
- VariableOption: 'VariableOption',
1204
- Step: 'Step',
1205
- CampaignStep: 'CampaignStep',
1206
- OptInStep: 'OptInStep',
1207
- Category: 'Category',
1208
- OptIn: 'OptIn',
1209
- TrolleyPayment: 'TrolleyPayment',
1210
- OptInVariable: 'OptInVariable',
1211
- SocialPost: 'SocialPost',
1212
- Image: 'Image',
1213
- BrandImage: 'BrandImage',
1214
- Country: 'Country',
1215
- State: 'State',
1216
- PaymentTransaction: 'PaymentTransaction',
1217
- BrandAffiliateLink: 'BrandAffiliateLink',
1218
- AffiliateLink: 'AffiliateLink',
1219
- AffiliateClick: 'AffiliateClick',
1220
- AffiliateEvent: 'AffiliateEvent',
1221
- SavedFile: 'SavedFile',
1222
- CampaignInvite: 'CampaignInvite',
1223
- CreatorList: 'CreatorList',
1224
- CreatorListItem: 'CreatorListItem',
1225
- SocialProfile: 'SocialProfile',
1226
- MessageTemplate: 'MessageTemplate',
1227
- EmailTemplate: 'EmailTemplate',
1228
- SocialListeningList: 'SocialListeningList',
1229
- ListToSocialPost: 'ListToSocialPost',
1230
- OptInView: 'OptInView',
1231
- RakutenActivity: 'RakutenActivity',
1232
- ImpactRadiusEvent: 'ImpactRadiusEvent',
1233
- CreatorSearchFilter: 'CreatorSearchFilter',
1234
- Sequence: 'Sequence',
1235
- SequenceStep: 'SequenceStep',
1236
- SequenceOutboundEmail: 'SequenceOutboundEmail',
1237
- SequenceInboundEmail: 'SequenceInboundEmail',
1238
- SequenceImapCheckpoint: 'SequenceImapCheckpoint'
1239
- };
1240
-
1241
- /**
1242
- * This is a stub Prisma Client that will error at runtime if called.
1243
- */
1244
- class PrismaClient {
1245
- constructor() {
1246
- return new Proxy(this, {
1247
- get(target, prop) {
1248
- const runtime = detectRuntime()
1249
- const edgeRuntimeName = {
1250
- 'workerd': 'Cloudflare Workers',
1251
- 'deno': 'Deno and Deno Deploy',
1252
- 'netlify': 'Netlify Edge Functions',
1253
- 'edge-light': 'Vercel Edge Functions or Edge Middleware',
1254
- }[runtime]
1255
-
1256
- let message = 'PrismaClient is unable to run in '
1257
- if (edgeRuntimeName !== undefined) {
1258
- message += edgeRuntimeName + '. As an alternative, try Accelerate: https://pris.ly/d/accelerate.'
1259
- } else {
1260
- message += 'this browser environment, or has been bundled for the browser (running in `' + runtime + '`).'
1261
- }
1262
-
1263
- message += `
1264
- If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
1265
-
1266
- throw new Error(message)
1267
- }
1268
- })
1269
- }
1270
- }
1271
-
1272
- exports.PrismaClient = PrismaClient
1273
-
1274
- Object.assign(exports, Prisma)