@creator.co/creatorco-prisma-client 1.0.20-alpha-995a7a0 → 1.0.21

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