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

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 ADDED
@@ -0,0 +1,1316 @@
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
+ tags: 'tags',
857
+ status: 'status',
858
+ metaData: 'metaData',
859
+ lastSynced: 'lastSynced',
860
+ shopifyStoreId: 'shopifyStoreId'
861
+ };
862
+
863
+ exports.Prisma.SortOrder = {
864
+ asc: 'asc',
865
+ desc: 'desc'
866
+ };
867
+
868
+ exports.Prisma.JsonNullValueInput = {
869
+ JsonNull: Prisma.JsonNull
870
+ };
871
+
872
+ exports.Prisma.NullableJsonNullValueInput = {
873
+ DbNull: Prisma.DbNull,
874
+ JsonNull: Prisma.JsonNull
875
+ };
876
+
877
+ exports.Prisma.QueryMode = {
878
+ default: 'default',
879
+ insensitive: 'insensitive'
880
+ };
881
+
882
+ exports.Prisma.JsonNullValueFilter = {
883
+ DbNull: Prisma.DbNull,
884
+ JsonNull: Prisma.JsonNull,
885
+ AnyNull: Prisma.AnyNull
886
+ };
887
+
888
+ exports.Prisma.NullsOrder = {
889
+ first: 'first',
890
+ last: 'last'
891
+ };
892
+
893
+ exports.Prisma.UserOrderByRelevanceFieldEnum = {
894
+ role: 'role',
895
+ email: 'email',
896
+ password: 'password',
897
+ firstName: 'firstName',
898
+ lastName: 'lastName',
899
+ phone: 'phone',
900
+ phoneShort: 'phoneShort',
901
+ profilePicUrl: 'profilePicUrl',
902
+ forgotPasswordKey: 'forgotPasswordKey',
903
+ affiliateSlug: 'affiliateSlug',
904
+ closedReason: 'closedReason'
905
+ };
906
+
907
+ exports.Prisma.CreatorProfileOrderByRelevanceFieldEnum = {
908
+ country: 'country',
909
+ region: 'region',
910
+ gender: 'gender',
911
+ shippingAddress1: 'shippingAddress1',
912
+ shippingAddress2: 'shippingAddress2',
913
+ shippingCity: 'shippingCity',
914
+ shippingRegion: 'shippingRegion',
915
+ shippingCountry: 'shippingCountry',
916
+ shippingPostcode: 'shippingPostcode',
917
+ phylloUserId: 'phylloUserId',
918
+ profileSlug: 'profileSlug',
919
+ walletAddress: 'walletAddress'
920
+ };
921
+
922
+ exports.Prisma.InstagramProfileOrderByRelevanceFieldEnum = {
923
+ instagramId: 'instagramId',
924
+ username: 'username',
925
+ url: 'url',
926
+ profilePicUrl: 'profilePicUrl',
927
+ fullName: 'fullName',
928
+ bio: 'bio',
929
+ externalUrl: 'externalUrl',
930
+ category: 'category',
931
+ profilePicUrlHd: 'profilePicUrlHd',
932
+ visibility: 'visibility'
933
+ };
934
+
935
+ exports.Prisma.TiktokProfileOrderByRelevanceFieldEnum = {
936
+ tiktokId: 'tiktokId',
937
+ username: 'username',
938
+ url: 'url',
939
+ profilePicUrl: 'profilePicUrl',
940
+ handle: 'handle',
941
+ nickname: 'nickname',
942
+ visibility: 'visibility'
943
+ };
944
+
945
+ exports.Prisma.YoutubeProfileOrderByRelevanceFieldEnum = {
946
+ youtubeId: 'youtubeId',
947
+ username: 'username',
948
+ url: 'url',
949
+ profilePicUrl: 'profilePicUrl',
950
+ fullName: 'fullName',
951
+ description: 'description',
952
+ country: 'country',
953
+ visibility: 'visibility'
954
+ };
955
+
956
+ exports.Prisma.TwitchProfileOrderByRelevanceFieldEnum = {
957
+ twitchId: 'twitchId',
958
+ username: 'username',
959
+ url: 'url',
960
+ profilePicUrl: 'profilePicUrl',
961
+ visibility: 'visibility'
962
+ };
963
+
964
+ exports.Prisma.FacebookProfileOrderByRelevanceFieldEnum = {
965
+ facebookId: 'facebookId',
966
+ username: 'username',
967
+ url: 'url',
968
+ profilePicUrl: 'profilePicUrl',
969
+ visibility: 'visibility'
970
+ };
971
+
972
+ exports.Prisma.TwitterProfileOrderByRelevanceFieldEnum = {
973
+ twitterId: 'twitterId',
974
+ username: 'username',
975
+ url: 'url',
976
+ profilePicUrl: 'profilePicUrl',
977
+ visibility: 'visibility'
978
+ };
979
+
980
+ exports.Prisma.BrandOrderByRelevanceFieldEnum = {
981
+ name: 'name',
982
+ description: 'description',
983
+ website: 'website',
984
+ logoUrl: 'logoUrl',
985
+ affiliateBaseUrl: 'affiliateBaseUrl',
986
+ searchName: 'searchName'
987
+ };
988
+
989
+ exports.Prisma.SearchContactsOrderByRelevanceFieldEnum = {
990
+ type: 'type'
991
+ };
992
+
993
+ exports.Prisma.ReportCreditsOrderByRelevanceFieldEnum = {
994
+ type: 'type'
995
+ };
996
+
997
+ exports.Prisma.BrandToImageOrderByRelevanceFieldEnum = {
998
+ type: 'type'
999
+ };
1000
+
1001
+ exports.Prisma.ChatOrderByRelevanceFieldEnum = {
1002
+ conversationId: 'conversationId'
1003
+ };
1004
+
1005
+ exports.Prisma.MessageOrderByRelevanceFieldEnum = {
1006
+ sender: 'sender',
1007
+ content: 'content',
1008
+ type: 'type',
1009
+ messageSid: 'messageSid'
1010
+ };
1011
+
1012
+ exports.Prisma.CampaignOrderByRelevanceFieldEnum = {
1013
+ title: 'title',
1014
+ slug: 'slug',
1015
+ status: 'status',
1016
+ description: 'description',
1017
+ productDescription: 'productDescription',
1018
+ prizeDescription: 'prizeDescription',
1019
+ strategy: 'strategy',
1020
+ socialChannel: 'socialChannel',
1021
+ visuals: 'visuals',
1022
+ caption: 'caption',
1023
+ password: 'password',
1024
+ paymentType: 'paymentType',
1025
+ affiliateLinkPath: 'affiliateLinkPath'
1026
+ };
1027
+
1028
+ exports.Prisma.CampaignToImageOrderByRelevanceFieldEnum = {
1029
+ type: 'type'
1030
+ };
1031
+
1032
+ exports.Prisma.VariableOrderByRelevanceFieldEnum = {
1033
+ title: 'title',
1034
+ description: 'description'
1035
+ };
1036
+
1037
+ exports.Prisma.VariableOptionOrderByRelevanceFieldEnum = {
1038
+ title: 'title',
1039
+ description: 'description'
1040
+ };
1041
+
1042
+ exports.Prisma.StepOrderByRelevanceFieldEnum = {
1043
+ slug: 'slug',
1044
+ title: 'title',
1045
+ description: 'description'
1046
+ };
1047
+
1048
+ exports.Prisma.CampaignStepOrderByRelevanceFieldEnum = {
1049
+ actionee: 'actionee',
1050
+ instructions: 'instructions',
1051
+ customStepTitle: 'customStepTitle'
1052
+ };
1053
+
1054
+ exports.Prisma.CategoryOrderByRelevanceFieldEnum = {
1055
+ slug: 'slug',
1056
+ title: 'title'
1057
+ };
1058
+
1059
+ exports.Prisma.OptInOrderByRelevanceFieldEnum = {
1060
+ status: 'status',
1061
+ instructions: 'instructions',
1062
+ paymentStatus: 'paymentStatus'
1063
+ };
1064
+
1065
+ exports.Prisma.TrolleyPaymentOrderByRelevanceFieldEnum = {
1066
+ paymentId: 'paymentId'
1067
+ };
1068
+
1069
+ exports.Prisma.SocialPostOrderByRelevanceFieldEnum = {
1070
+ phylloId: 'phylloId',
1071
+ title: 'title',
1072
+ description: 'description',
1073
+ url: 'url',
1074
+ urlPath: 'urlPath',
1075
+ format: 'format',
1076
+ type: 'type',
1077
+ platform: 'platform',
1078
+ visibility: 'visibility'
1079
+ };
1080
+
1081
+ exports.Prisma.ImageOrderByRelevanceFieldEnum = {
1082
+ url: 'url',
1083
+ size: 'size'
1084
+ };
1085
+
1086
+ exports.Prisma.BrandImageOrderByRelevanceFieldEnum = {
1087
+ url: 'url',
1088
+ size: 'size'
1089
+ };
1090
+
1091
+ exports.Prisma.CountryOrderByRelevanceFieldEnum = {
1092
+ countryCode: 'countryCode',
1093
+ countryName: 'countryName',
1094
+ teleCode: 'teleCode'
1095
+ };
1096
+
1097
+ exports.Prisma.StateOrderByRelevanceFieldEnum = {
1098
+ stateCode: 'stateCode',
1099
+ stateName: 'stateName'
1100
+ };
1101
+
1102
+ exports.Prisma.PaymentTransactionOrderByRelevanceFieldEnum = {
1103
+ type: 'type',
1104
+ notes: 'notes'
1105
+ };
1106
+
1107
+ exports.Prisma.BrandAffiliateLinkOrderByRelevanceFieldEnum = {
1108
+ description: 'description',
1109
+ urlPath: 'urlPath'
1110
+ };
1111
+
1112
+ exports.Prisma.AffiliateClickOrderByRelevanceFieldEnum = {
1113
+ visitorIp: 'visitorIp'
1114
+ };
1115
+
1116
+ exports.Prisma.AffiliateEventOrderByRelevanceFieldEnum = {
1117
+ event: 'event',
1118
+ visitorIp: 'visitorIp',
1119
+ urlPath: 'urlPath'
1120
+ };
1121
+
1122
+ exports.Prisma.SavedFileOrderByRelevanceFieldEnum = {
1123
+ title: 'title',
1124
+ type: 'type',
1125
+ url: 'url'
1126
+ };
1127
+
1128
+ exports.Prisma.CampaignInviteOrderByRelevanceFieldEnum = {
1129
+ code: 'code',
1130
+ declineReason: 'declineReason'
1131
+ };
1132
+
1133
+ exports.Prisma.CreatorListOrderByRelevanceFieldEnum = {
1134
+ title: 'title'
1135
+ };
1136
+
1137
+ exports.Prisma.CreatorListItemOrderByRelevanceFieldEnum = {
1138
+ feedback: 'feedback'
1139
+ };
1140
+
1141
+ exports.Prisma.SocialProfileOrderByRelevanceFieldEnum = {
1142
+ socialId: 'socialId',
1143
+ platform: 'platform',
1144
+ username: 'username',
1145
+ fullname: 'fullname',
1146
+ profileUrl: 'profileUrl',
1147
+ profilePicUrl: 'profilePicUrl'
1148
+ };
1149
+
1150
+ exports.Prisma.MessageTemplateOrderByRelevanceFieldEnum = {
1151
+ label: 'label',
1152
+ template: 'template'
1153
+ };
1154
+
1155
+ exports.Prisma.EmailTemplateOrderByRelevanceFieldEnum = {
1156
+ label: 'label',
1157
+ subject: 'subject',
1158
+ template: 'template'
1159
+ };
1160
+
1161
+ exports.Prisma.SocialListeningListOrderByRelevanceFieldEnum = {
1162
+ title: 'title',
1163
+ postType: 'postType'
1164
+ };
1165
+
1166
+ exports.Prisma.OptInViewOrderByRelevanceFieldEnum = {
1167
+ title: 'title'
1168
+ };
1169
+
1170
+ exports.Prisma.RakutenActivityOrderByRelevanceFieldEnum = {
1171
+ orderId: 'orderId'
1172
+ };
1173
+
1174
+ exports.Prisma.ImpactRadiusEventOrderByRelevanceFieldEnum = {
1175
+ type: 'type'
1176
+ };
1177
+
1178
+ exports.Prisma.CreatorSearchFilterOrderByRelevanceFieldEnum = {
1179
+ title: 'title'
1180
+ };
1181
+
1182
+ exports.Prisma.SequenceOrderByRelevanceFieldEnum = {
1183
+ title: 'title'
1184
+ };
1185
+
1186
+ exports.Prisma.SequenceInboundEmailOrderByRelevanceFieldEnum = {
1187
+ msgHash: 'msgHash'
1188
+ };
1189
+
1190
+ exports.Prisma.ShopifyStoreOrderByRelevanceFieldEnum = {
1191
+ shopifyId: 'shopifyId',
1192
+ name: 'name',
1193
+ url: 'url',
1194
+ accessToken: 'accessToken'
1195
+ };
1196
+
1197
+ exports.Prisma.ShopifyProductOrderByRelevanceFieldEnum = {
1198
+ shopifyId: 'shopifyId',
1199
+ title: 'title',
1200
+ handle: 'handle',
1201
+ tags: 'tags',
1202
+ status: 'status'
1203
+ };
1204
+ exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
1205
+ optIn: 'optIn',
1206
+ tip: 'tip',
1207
+ affiliate: 'affiliate'
1208
+ };
1209
+
1210
+ exports.trolleyPaymentStatus = exports.$Enums.trolleyPaymentStatus = {
1211
+ pending: 'pending',
1212
+ processing: 'processing',
1213
+ processed: 'processed',
1214
+ failed: 'failed',
1215
+ returned: 'returned'
1216
+ };
1217
+
1218
+ exports.Prisma.ModelName = {
1219
+ User: 'User',
1220
+ Log: 'Log',
1221
+ CreatorProfile: 'CreatorProfile',
1222
+ InstagramProfile: 'InstagramProfile',
1223
+ TiktokProfile: 'TiktokProfile',
1224
+ YoutubeProfile: 'YoutubeProfile',
1225
+ TwitchProfile: 'TwitchProfile',
1226
+ FacebookProfile: 'FacebookProfile',
1227
+ TwitterProfile: 'TwitterProfile',
1228
+ BrandUserProfile: 'BrandUserProfile',
1229
+ Brand: 'Brand',
1230
+ SearchContacts: 'SearchContacts',
1231
+ ReportCredits: 'ReportCredits',
1232
+ BrandToImage: 'BrandToImage',
1233
+ BrandToCategory: 'BrandToCategory',
1234
+ CreatorToCategory: 'CreatorToCategory',
1235
+ Chat: 'Chat',
1236
+ Message: 'Message',
1237
+ Campaign: 'Campaign',
1238
+ CampaignPin: 'CampaignPin',
1239
+ CampaignToImage: 'CampaignToImage',
1240
+ CampaignToCategory: 'CampaignToCategory',
1241
+ CampaignToCountry: 'CampaignToCountry',
1242
+ Variable: 'Variable',
1243
+ VariableOption: 'VariableOption',
1244
+ Step: 'Step',
1245
+ CampaignStep: 'CampaignStep',
1246
+ OptInStep: 'OptInStep',
1247
+ Category: 'Category',
1248
+ OptIn: 'OptIn',
1249
+ TrolleyPayment: 'TrolleyPayment',
1250
+ OptInVariable: 'OptInVariable',
1251
+ SocialPost: 'SocialPost',
1252
+ Image: 'Image',
1253
+ BrandImage: 'BrandImage',
1254
+ Country: 'Country',
1255
+ State: 'State',
1256
+ PaymentTransaction: 'PaymentTransaction',
1257
+ BrandAffiliateLink: 'BrandAffiliateLink',
1258
+ AffiliateLink: 'AffiliateLink',
1259
+ AffiliateClick: 'AffiliateClick',
1260
+ AffiliateEvent: 'AffiliateEvent',
1261
+ SavedFile: 'SavedFile',
1262
+ CampaignInvite: 'CampaignInvite',
1263
+ CreatorList: 'CreatorList',
1264
+ CreatorListItem: 'CreatorListItem',
1265
+ SocialProfile: 'SocialProfile',
1266
+ MessageTemplate: 'MessageTemplate',
1267
+ EmailTemplate: 'EmailTemplate',
1268
+ SocialListeningList: 'SocialListeningList',
1269
+ ListToSocialPost: 'ListToSocialPost',
1270
+ OptInView: 'OptInView',
1271
+ RakutenActivity: 'RakutenActivity',
1272
+ ImpactRadiusEvent: 'ImpactRadiusEvent',
1273
+ CreatorSearchFilter: 'CreatorSearchFilter',
1274
+ Sequence: 'Sequence',
1275
+ SequenceStep: 'SequenceStep',
1276
+ SequenceOutboundEmail: 'SequenceOutboundEmail',
1277
+ SequenceInboundEmail: 'SequenceInboundEmail',
1278
+ SequenceImapCheckpoint: 'SequenceImapCheckpoint',
1279
+ ShopifyStore: 'ShopifyStore',
1280
+ ShopifyProduct: 'ShopifyProduct'
1281
+ };
1282
+
1283
+ /**
1284
+ * This is a stub Prisma Client that will error at runtime if called.
1285
+ */
1286
+ class PrismaClient {
1287
+ constructor() {
1288
+ return new Proxy(this, {
1289
+ get(target, prop) {
1290
+ const runtime = detectRuntime()
1291
+ const edgeRuntimeName = {
1292
+ 'workerd': 'Cloudflare Workers',
1293
+ 'deno': 'Deno and Deno Deploy',
1294
+ 'netlify': 'Netlify Edge Functions',
1295
+ 'edge-light': 'Vercel Edge Functions or Edge Middleware',
1296
+ }[runtime]
1297
+
1298
+ let message = 'PrismaClient is unable to run in '
1299
+ if (edgeRuntimeName !== undefined) {
1300
+ message += edgeRuntimeName + '. As an alternative, try Accelerate: https://pris.ly/d/accelerate.'
1301
+ } else {
1302
+ message += 'this browser environment, or has been bundled for the browser (running in `' + runtime + '`).'
1303
+ }
1304
+
1305
+ message += `
1306
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
1307
+
1308
+ throw new Error(message)
1309
+ }
1310
+ })
1311
+ }
1312
+ }
1313
+
1314
+ exports.PrismaClient = PrismaClient
1315
+
1316
+ Object.assign(exports, Prisma)