@creator.co/creatorco-prisma-client 1.0.66 → 1.0.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/edge.js +15 -4
- package/index-browser.js +11 -0
- package/index.d.ts +2053 -312
- package/index.js +15 -4
- package/package.json +1 -1
- package/schema.prisma +44 -24
- package/wasm.js +11 -0
package/index.d.ts
CHANGED
|
@@ -203,6 +203,11 @@ export type OptInVariable = $Result.DefaultSelection<Prisma.$OptInVariablePayloa
|
|
|
203
203
|
*
|
|
204
204
|
*/
|
|
205
205
|
export type SocialPost = $Result.DefaultSelection<Prisma.$SocialPostPayload>
|
|
206
|
+
/**
|
|
207
|
+
* Model PublicSocialPost
|
|
208
|
+
*
|
|
209
|
+
*/
|
|
210
|
+
export type PublicSocialPost = $Result.DefaultSelection<Prisma.$PublicSocialPostPayload>
|
|
206
211
|
/**
|
|
207
212
|
* Model CampaignToSocialPost
|
|
208
213
|
*
|
|
@@ -985,6 +990,16 @@ export class PrismaClient<
|
|
|
985
990
|
*/
|
|
986
991
|
get socialPost(): Prisma.SocialPostDelegate<ExtArgs>;
|
|
987
992
|
|
|
993
|
+
/**
|
|
994
|
+
* `prisma.publicSocialPost`: Exposes CRUD operations for the **PublicSocialPost** model.
|
|
995
|
+
* Example usage:
|
|
996
|
+
* ```ts
|
|
997
|
+
* // Fetch zero or more PublicSocialPosts
|
|
998
|
+
* const publicSocialPosts = await prisma.publicSocialPost.findMany()
|
|
999
|
+
* ```
|
|
1000
|
+
*/
|
|
1001
|
+
get publicSocialPost(): Prisma.PublicSocialPostDelegate<ExtArgs>;
|
|
1002
|
+
|
|
988
1003
|
/**
|
|
989
1004
|
* `prisma.campaignToSocialPost`: Exposes CRUD operations for the **CampaignToSocialPost** model.
|
|
990
1005
|
* Example usage:
|
|
@@ -1939,6 +1954,7 @@ export namespace Prisma {
|
|
|
1939
1954
|
TrolleyPayment: 'TrolleyPayment',
|
|
1940
1955
|
OptInVariable: 'OptInVariable',
|
|
1941
1956
|
SocialPost: 'SocialPost',
|
|
1957
|
+
PublicSocialPost: 'PublicSocialPost',
|
|
1942
1958
|
CampaignToSocialPost: 'CampaignToSocialPost',
|
|
1943
1959
|
ArchivedSocialPost: 'ArchivedSocialPost',
|
|
1944
1960
|
Image: 'Image',
|
|
@@ -1999,7 +2015,7 @@ export namespace Prisma {
|
|
|
1999
2015
|
|
|
2000
2016
|
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2001
2017
|
meta: {
|
|
2002
|
-
modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'campaignToSocialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'pendingBrandInvoicePayment' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'affiliatePayoutBatch' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'cjEvent' | 'shareASaleEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct' | 'shopifyDiscountCode' | 'shopifySale' | 'creatorFlag' | 'brandContract' | 'file' | 'creditRefundBatch'
|
|
2018
|
+
modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'publicSocialPost' | 'campaignToSocialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'pendingBrandInvoicePayment' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'affiliatePayoutBatch' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'cjEvent' | 'shareASaleEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct' | 'shopifyDiscountCode' | 'shopifySale' | 'creatorFlag' | 'brandContract' | 'file' | 'creditRefundBatch'
|
|
2003
2019
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
2004
2020
|
},
|
|
2005
2021
|
model: {
|
|
@@ -4663,6 +4679,76 @@ export namespace Prisma {
|
|
|
4663
4679
|
}
|
|
4664
4680
|
}
|
|
4665
4681
|
}
|
|
4682
|
+
PublicSocialPost: {
|
|
4683
|
+
payload: Prisma.$PublicSocialPostPayload<ExtArgs>
|
|
4684
|
+
fields: Prisma.PublicSocialPostFieldRefs
|
|
4685
|
+
operations: {
|
|
4686
|
+
findUnique: {
|
|
4687
|
+
args: Prisma.PublicSocialPostFindUniqueArgs<ExtArgs>,
|
|
4688
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload> | null
|
|
4689
|
+
}
|
|
4690
|
+
findUniqueOrThrow: {
|
|
4691
|
+
args: Prisma.PublicSocialPostFindUniqueOrThrowArgs<ExtArgs>,
|
|
4692
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4693
|
+
}
|
|
4694
|
+
findFirst: {
|
|
4695
|
+
args: Prisma.PublicSocialPostFindFirstArgs<ExtArgs>,
|
|
4696
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload> | null
|
|
4697
|
+
}
|
|
4698
|
+
findFirstOrThrow: {
|
|
4699
|
+
args: Prisma.PublicSocialPostFindFirstOrThrowArgs<ExtArgs>,
|
|
4700
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4701
|
+
}
|
|
4702
|
+
findMany: {
|
|
4703
|
+
args: Prisma.PublicSocialPostFindManyArgs<ExtArgs>,
|
|
4704
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>[]
|
|
4705
|
+
}
|
|
4706
|
+
create: {
|
|
4707
|
+
args: Prisma.PublicSocialPostCreateArgs<ExtArgs>,
|
|
4708
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4709
|
+
}
|
|
4710
|
+
createMany: {
|
|
4711
|
+
args: Prisma.PublicSocialPostCreateManyArgs<ExtArgs>,
|
|
4712
|
+
result: Prisma.BatchPayload
|
|
4713
|
+
}
|
|
4714
|
+
createManyAndReturn: {
|
|
4715
|
+
args: Prisma.PublicSocialPostCreateManyAndReturnArgs<ExtArgs>,
|
|
4716
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>[]
|
|
4717
|
+
}
|
|
4718
|
+
delete: {
|
|
4719
|
+
args: Prisma.PublicSocialPostDeleteArgs<ExtArgs>,
|
|
4720
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4721
|
+
}
|
|
4722
|
+
update: {
|
|
4723
|
+
args: Prisma.PublicSocialPostUpdateArgs<ExtArgs>,
|
|
4724
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4725
|
+
}
|
|
4726
|
+
deleteMany: {
|
|
4727
|
+
args: Prisma.PublicSocialPostDeleteManyArgs<ExtArgs>,
|
|
4728
|
+
result: Prisma.BatchPayload
|
|
4729
|
+
}
|
|
4730
|
+
updateMany: {
|
|
4731
|
+
args: Prisma.PublicSocialPostUpdateManyArgs<ExtArgs>,
|
|
4732
|
+
result: Prisma.BatchPayload
|
|
4733
|
+
}
|
|
4734
|
+
upsert: {
|
|
4735
|
+
args: Prisma.PublicSocialPostUpsertArgs<ExtArgs>,
|
|
4736
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4737
|
+
}
|
|
4738
|
+
aggregate: {
|
|
4739
|
+
args: Prisma.PublicSocialPostAggregateArgs<ExtArgs>,
|
|
4740
|
+
result: $Utils.Optional<AggregatePublicSocialPost>
|
|
4741
|
+
}
|
|
4742
|
+
groupBy: {
|
|
4743
|
+
args: Prisma.PublicSocialPostGroupByArgs<ExtArgs>,
|
|
4744
|
+
result: $Utils.Optional<PublicSocialPostGroupByOutputType>[]
|
|
4745
|
+
}
|
|
4746
|
+
count: {
|
|
4747
|
+
args: Prisma.PublicSocialPostCountArgs<ExtArgs>,
|
|
4748
|
+
result: $Utils.Optional<PublicSocialPostCountAggregateOutputType> | number
|
|
4749
|
+
}
|
|
4750
|
+
}
|
|
4751
|
+
}
|
|
4666
4752
|
CampaignToSocialPost: {
|
|
4667
4753
|
payload: Prisma.$CampaignToSocialPostPayload<ExtArgs>
|
|
4668
4754
|
fields: Prisma.CampaignToSocialPostFieldRefs
|
|
@@ -9063,11 +9149,13 @@ export namespace Prisma {
|
|
|
9063
9149
|
export type SocialPostCountOutputType = {
|
|
9064
9150
|
lists: number
|
|
9065
9151
|
campaigns: number
|
|
9152
|
+
publicPosts: number
|
|
9066
9153
|
}
|
|
9067
9154
|
|
|
9068
9155
|
export type SocialPostCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9069
9156
|
lists?: boolean | SocialPostCountOutputTypeCountListsArgs
|
|
9070
9157
|
campaigns?: boolean | SocialPostCountOutputTypeCountCampaignsArgs
|
|
9158
|
+
publicPosts?: boolean | SocialPostCountOutputTypeCountPublicPostsArgs
|
|
9071
9159
|
}
|
|
9072
9160
|
|
|
9073
9161
|
// Custom InputTypes
|
|
@@ -9095,6 +9183,13 @@ export namespace Prisma {
|
|
|
9095
9183
|
where?: CampaignToSocialPostWhereInput
|
|
9096
9184
|
}
|
|
9097
9185
|
|
|
9186
|
+
/**
|
|
9187
|
+
* SocialPostCountOutputType without action
|
|
9188
|
+
*/
|
|
9189
|
+
export type SocialPostCountOutputTypeCountPublicPostsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9190
|
+
where?: PublicSocialPostWhereInput
|
|
9191
|
+
}
|
|
9192
|
+
|
|
9098
9193
|
|
|
9099
9194
|
/**
|
|
9100
9195
|
* Count Type CountryCountOutputType
|
|
@@ -52286,6 +52381,7 @@ export namespace Prisma {
|
|
|
52286
52381
|
campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
|
|
52287
52382
|
lists?: boolean | SocialPost$listsArgs<ExtArgs>
|
|
52288
52383
|
campaigns?: boolean | SocialPost$campaignsArgs<ExtArgs>
|
|
52384
|
+
publicPosts?: boolean | SocialPost$publicPostsArgs<ExtArgs>
|
|
52289
52385
|
_count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
|
|
52290
52386
|
}, ExtArgs["result"]["socialPost"]>
|
|
52291
52387
|
|
|
@@ -52368,6 +52464,7 @@ export namespace Prisma {
|
|
|
52368
52464
|
campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
|
|
52369
52465
|
lists?: boolean | SocialPost$listsArgs<ExtArgs>
|
|
52370
52466
|
campaigns?: boolean | SocialPost$campaignsArgs<ExtArgs>
|
|
52467
|
+
publicPosts?: boolean | SocialPost$publicPostsArgs<ExtArgs>
|
|
52371
52468
|
_count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
|
|
52372
52469
|
}
|
|
52373
52470
|
export type SocialPostIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
@@ -52382,6 +52479,7 @@ export namespace Prisma {
|
|
|
52382
52479
|
campaign: Prisma.$CampaignPayload<ExtArgs> | null
|
|
52383
52480
|
lists: Prisma.$ListToSocialPostPayload<ExtArgs>[]
|
|
52384
52481
|
campaigns: Prisma.$CampaignToSocialPostPayload<ExtArgs>[]
|
|
52482
|
+
publicPosts: Prisma.$PublicSocialPostPayload<ExtArgs>[]
|
|
52385
52483
|
}
|
|
52386
52484
|
scalars: $Extensions.GetPayloadResult<{
|
|
52387
52485
|
id: number
|
|
@@ -52815,6 +52913,8 @@ export namespace Prisma {
|
|
|
52815
52913
|
|
|
52816
52914
|
campaigns<T extends SocialPost$campaignsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$campaignsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
|
|
52817
52915
|
|
|
52916
|
+
publicPosts<T extends SocialPost$publicPostsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$publicPostsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
|
|
52917
|
+
|
|
52818
52918
|
/**
|
|
52819
52919
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
52820
52920
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -53263,6 +53363,26 @@ export namespace Prisma {
|
|
|
53263
53363
|
distinct?: CampaignToSocialPostScalarFieldEnum | CampaignToSocialPostScalarFieldEnum[]
|
|
53264
53364
|
}
|
|
53265
53365
|
|
|
53366
|
+
/**
|
|
53367
|
+
* SocialPost.publicPosts
|
|
53368
|
+
*/
|
|
53369
|
+
export type SocialPost$publicPostsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53370
|
+
/**
|
|
53371
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
53372
|
+
*/
|
|
53373
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
53374
|
+
/**
|
|
53375
|
+
* Choose, which related nodes to fetch as well
|
|
53376
|
+
*/
|
|
53377
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
53378
|
+
where?: PublicSocialPostWhereInput
|
|
53379
|
+
orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53380
|
+
cursor?: PublicSocialPostWhereUniqueInput
|
|
53381
|
+
take?: number
|
|
53382
|
+
skip?: number
|
|
53383
|
+
distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
|
|
53384
|
+
}
|
|
53385
|
+
|
|
53266
53386
|
/**
|
|
53267
53387
|
* SocialPost without action
|
|
53268
53388
|
*/
|
|
@@ -53279,391 +53399,432 @@ export namespace Prisma {
|
|
|
53279
53399
|
|
|
53280
53400
|
|
|
53281
53401
|
/**
|
|
53282
|
-
* Model
|
|
53402
|
+
* Model PublicSocialPost
|
|
53283
53403
|
*/
|
|
53284
53404
|
|
|
53285
|
-
export type
|
|
53286
|
-
_count:
|
|
53287
|
-
_avg:
|
|
53288
|
-
_sum:
|
|
53289
|
-
_min:
|
|
53290
|
-
_max:
|
|
53405
|
+
export type AggregatePublicSocialPost = {
|
|
53406
|
+
_count: PublicSocialPostCountAggregateOutputType | null
|
|
53407
|
+
_avg: PublicSocialPostAvgAggregateOutputType | null
|
|
53408
|
+
_sum: PublicSocialPostSumAggregateOutputType | null
|
|
53409
|
+
_min: PublicSocialPostMinAggregateOutputType | null
|
|
53410
|
+
_max: PublicSocialPostMaxAggregateOutputType | null
|
|
53291
53411
|
}
|
|
53292
53412
|
|
|
53293
|
-
export type
|
|
53294
|
-
|
|
53413
|
+
export type PublicSocialPostAvgAggregateOutputType = {
|
|
53414
|
+
id: number | null
|
|
53295
53415
|
socialPostId: number | null
|
|
53416
|
+
views: number | null
|
|
53417
|
+
likes: number | null
|
|
53418
|
+
comments: number | null
|
|
53419
|
+
saves: number | null
|
|
53420
|
+
shares: number | null
|
|
53296
53421
|
}
|
|
53297
53422
|
|
|
53298
|
-
export type
|
|
53299
|
-
|
|
53423
|
+
export type PublicSocialPostSumAggregateOutputType = {
|
|
53424
|
+
id: number | null
|
|
53300
53425
|
socialPostId: number | null
|
|
53426
|
+
views: number | null
|
|
53427
|
+
likes: number | null
|
|
53428
|
+
comments: number | null
|
|
53429
|
+
saves: number | null
|
|
53430
|
+
shares: number | null
|
|
53301
53431
|
}
|
|
53302
53432
|
|
|
53303
|
-
export type
|
|
53304
|
-
|
|
53433
|
+
export type PublicSocialPostMinAggregateOutputType = {
|
|
53434
|
+
id: number | null
|
|
53305
53435
|
socialPostId: number | null
|
|
53306
|
-
|
|
53307
|
-
|
|
53436
|
+
views: number | null
|
|
53437
|
+
likes: number | null
|
|
53438
|
+
comments: number | null
|
|
53439
|
+
saves: number | null
|
|
53440
|
+
shares: number | null
|
|
53308
53441
|
}
|
|
53309
53442
|
|
|
53310
|
-
export type
|
|
53311
|
-
|
|
53443
|
+
export type PublicSocialPostMaxAggregateOutputType = {
|
|
53444
|
+
id: number | null
|
|
53312
53445
|
socialPostId: number | null
|
|
53313
|
-
|
|
53314
|
-
|
|
53446
|
+
views: number | null
|
|
53447
|
+
likes: number | null
|
|
53448
|
+
comments: number | null
|
|
53449
|
+
saves: number | null
|
|
53450
|
+
shares: number | null
|
|
53315
53451
|
}
|
|
53316
53452
|
|
|
53317
|
-
export type
|
|
53318
|
-
|
|
53453
|
+
export type PublicSocialPostCountAggregateOutputType = {
|
|
53454
|
+
id: number
|
|
53319
53455
|
socialPostId: number
|
|
53320
|
-
|
|
53321
|
-
|
|
53322
|
-
|
|
53456
|
+
views: number
|
|
53457
|
+
likes: number
|
|
53458
|
+
comments: number
|
|
53459
|
+
saves: number
|
|
53460
|
+
shares: number
|
|
53323
53461
|
_all: number
|
|
53324
53462
|
}
|
|
53325
53463
|
|
|
53326
53464
|
|
|
53327
|
-
export type
|
|
53328
|
-
|
|
53465
|
+
export type PublicSocialPostAvgAggregateInputType = {
|
|
53466
|
+
id?: true
|
|
53329
53467
|
socialPostId?: true
|
|
53468
|
+
views?: true
|
|
53469
|
+
likes?: true
|
|
53470
|
+
comments?: true
|
|
53471
|
+
saves?: true
|
|
53472
|
+
shares?: true
|
|
53330
53473
|
}
|
|
53331
53474
|
|
|
53332
|
-
export type
|
|
53333
|
-
|
|
53475
|
+
export type PublicSocialPostSumAggregateInputType = {
|
|
53476
|
+
id?: true
|
|
53334
53477
|
socialPostId?: true
|
|
53478
|
+
views?: true
|
|
53479
|
+
likes?: true
|
|
53480
|
+
comments?: true
|
|
53481
|
+
saves?: true
|
|
53482
|
+
shares?: true
|
|
53335
53483
|
}
|
|
53336
53484
|
|
|
53337
|
-
export type
|
|
53338
|
-
|
|
53485
|
+
export type PublicSocialPostMinAggregateInputType = {
|
|
53486
|
+
id?: true
|
|
53339
53487
|
socialPostId?: true
|
|
53340
|
-
|
|
53341
|
-
|
|
53488
|
+
views?: true
|
|
53489
|
+
likes?: true
|
|
53490
|
+
comments?: true
|
|
53491
|
+
saves?: true
|
|
53492
|
+
shares?: true
|
|
53342
53493
|
}
|
|
53343
53494
|
|
|
53344
|
-
export type
|
|
53345
|
-
|
|
53495
|
+
export type PublicSocialPostMaxAggregateInputType = {
|
|
53496
|
+
id?: true
|
|
53346
53497
|
socialPostId?: true
|
|
53347
|
-
|
|
53348
|
-
|
|
53498
|
+
views?: true
|
|
53499
|
+
likes?: true
|
|
53500
|
+
comments?: true
|
|
53501
|
+
saves?: true
|
|
53502
|
+
shares?: true
|
|
53349
53503
|
}
|
|
53350
53504
|
|
|
53351
|
-
export type
|
|
53352
|
-
|
|
53505
|
+
export type PublicSocialPostCountAggregateInputType = {
|
|
53506
|
+
id?: true
|
|
53353
53507
|
socialPostId?: true
|
|
53354
|
-
|
|
53355
|
-
|
|
53356
|
-
|
|
53508
|
+
views?: true
|
|
53509
|
+
likes?: true
|
|
53510
|
+
comments?: true
|
|
53511
|
+
saves?: true
|
|
53512
|
+
shares?: true
|
|
53357
53513
|
_all?: true
|
|
53358
53514
|
}
|
|
53359
53515
|
|
|
53360
|
-
export type
|
|
53516
|
+
export type PublicSocialPostAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53361
53517
|
/**
|
|
53362
|
-
* Filter which
|
|
53518
|
+
* Filter which PublicSocialPost to aggregate.
|
|
53363
53519
|
*/
|
|
53364
|
-
where?:
|
|
53520
|
+
where?: PublicSocialPostWhereInput
|
|
53365
53521
|
/**
|
|
53366
53522
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
53367
53523
|
*
|
|
53368
|
-
* Determine the order of
|
|
53524
|
+
* Determine the order of PublicSocialPosts to fetch.
|
|
53369
53525
|
*/
|
|
53370
|
-
orderBy?:
|
|
53526
|
+
orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53371
53527
|
/**
|
|
53372
53528
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
53373
53529
|
*
|
|
53374
53530
|
* Sets the start position
|
|
53375
53531
|
*/
|
|
53376
|
-
cursor?:
|
|
53532
|
+
cursor?: PublicSocialPostWhereUniqueInput
|
|
53377
53533
|
/**
|
|
53378
53534
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53379
53535
|
*
|
|
53380
|
-
* Take `±n`
|
|
53536
|
+
* Take `±n` PublicSocialPosts from the position of the cursor.
|
|
53381
53537
|
*/
|
|
53382
53538
|
take?: number
|
|
53383
53539
|
/**
|
|
53384
53540
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53385
53541
|
*
|
|
53386
|
-
* Skip the first `n`
|
|
53542
|
+
* Skip the first `n` PublicSocialPosts.
|
|
53387
53543
|
*/
|
|
53388
53544
|
skip?: number
|
|
53389
53545
|
/**
|
|
53390
53546
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
53391
53547
|
*
|
|
53392
|
-
* Count returned
|
|
53548
|
+
* Count returned PublicSocialPosts
|
|
53393
53549
|
**/
|
|
53394
|
-
_count?: true |
|
|
53550
|
+
_count?: true | PublicSocialPostCountAggregateInputType
|
|
53395
53551
|
/**
|
|
53396
53552
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
53397
53553
|
*
|
|
53398
53554
|
* Select which fields to average
|
|
53399
53555
|
**/
|
|
53400
|
-
_avg?:
|
|
53556
|
+
_avg?: PublicSocialPostAvgAggregateInputType
|
|
53401
53557
|
/**
|
|
53402
53558
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
53403
53559
|
*
|
|
53404
53560
|
* Select which fields to sum
|
|
53405
53561
|
**/
|
|
53406
|
-
_sum?:
|
|
53562
|
+
_sum?: PublicSocialPostSumAggregateInputType
|
|
53407
53563
|
/**
|
|
53408
53564
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
53409
53565
|
*
|
|
53410
53566
|
* Select which fields to find the minimum value
|
|
53411
53567
|
**/
|
|
53412
|
-
_min?:
|
|
53568
|
+
_min?: PublicSocialPostMinAggregateInputType
|
|
53413
53569
|
/**
|
|
53414
53570
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
53415
53571
|
*
|
|
53416
53572
|
* Select which fields to find the maximum value
|
|
53417
53573
|
**/
|
|
53418
|
-
_max?:
|
|
53574
|
+
_max?: PublicSocialPostMaxAggregateInputType
|
|
53419
53575
|
}
|
|
53420
53576
|
|
|
53421
|
-
export type
|
|
53422
|
-
[P in keyof T & keyof
|
|
53577
|
+
export type GetPublicSocialPostAggregateType<T extends PublicSocialPostAggregateArgs> = {
|
|
53578
|
+
[P in keyof T & keyof AggregatePublicSocialPost]: P extends '_count' | 'count'
|
|
53423
53579
|
? T[P] extends true
|
|
53424
53580
|
? number
|
|
53425
|
-
: GetScalarType<T[P],
|
|
53426
|
-
: GetScalarType<T[P],
|
|
53581
|
+
: GetScalarType<T[P], AggregatePublicSocialPost[P]>
|
|
53582
|
+
: GetScalarType<T[P], AggregatePublicSocialPost[P]>
|
|
53427
53583
|
}
|
|
53428
53584
|
|
|
53429
53585
|
|
|
53430
53586
|
|
|
53431
53587
|
|
|
53432
|
-
export type
|
|
53433
|
-
where?:
|
|
53434
|
-
orderBy?:
|
|
53435
|
-
by:
|
|
53436
|
-
having?:
|
|
53588
|
+
export type PublicSocialPostGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53589
|
+
where?: PublicSocialPostWhereInput
|
|
53590
|
+
orderBy?: PublicSocialPostOrderByWithAggregationInput | PublicSocialPostOrderByWithAggregationInput[]
|
|
53591
|
+
by: PublicSocialPostScalarFieldEnum[] | PublicSocialPostScalarFieldEnum
|
|
53592
|
+
having?: PublicSocialPostScalarWhereWithAggregatesInput
|
|
53437
53593
|
take?: number
|
|
53438
53594
|
skip?: number
|
|
53439
|
-
_count?:
|
|
53440
|
-
_avg?:
|
|
53441
|
-
_sum?:
|
|
53442
|
-
_min?:
|
|
53443
|
-
_max?:
|
|
53595
|
+
_count?: PublicSocialPostCountAggregateInputType | true
|
|
53596
|
+
_avg?: PublicSocialPostAvgAggregateInputType
|
|
53597
|
+
_sum?: PublicSocialPostSumAggregateInputType
|
|
53598
|
+
_min?: PublicSocialPostMinAggregateInputType
|
|
53599
|
+
_max?: PublicSocialPostMaxAggregateInputType
|
|
53444
53600
|
}
|
|
53445
53601
|
|
|
53446
|
-
export type
|
|
53447
|
-
|
|
53602
|
+
export type PublicSocialPostGroupByOutputType = {
|
|
53603
|
+
id: number
|
|
53448
53604
|
socialPostId: number
|
|
53449
|
-
|
|
53450
|
-
|
|
53451
|
-
|
|
53452
|
-
|
|
53453
|
-
|
|
53454
|
-
|
|
53455
|
-
|
|
53456
|
-
|
|
53605
|
+
views: number | null
|
|
53606
|
+
likes: number | null
|
|
53607
|
+
comments: number | null
|
|
53608
|
+
saves: number | null
|
|
53609
|
+
shares: number | null
|
|
53610
|
+
_count: PublicSocialPostCountAggregateOutputType | null
|
|
53611
|
+
_avg: PublicSocialPostAvgAggregateOutputType | null
|
|
53612
|
+
_sum: PublicSocialPostSumAggregateOutputType | null
|
|
53613
|
+
_min: PublicSocialPostMinAggregateOutputType | null
|
|
53614
|
+
_max: PublicSocialPostMaxAggregateOutputType | null
|
|
53457
53615
|
}
|
|
53458
53616
|
|
|
53459
|
-
type
|
|
53617
|
+
type GetPublicSocialPostGroupByPayload<T extends PublicSocialPostGroupByArgs> = Prisma.PrismaPromise<
|
|
53460
53618
|
Array<
|
|
53461
|
-
PickEnumerable<
|
|
53619
|
+
PickEnumerable<PublicSocialPostGroupByOutputType, T['by']> &
|
|
53462
53620
|
{
|
|
53463
|
-
[P in ((keyof T) & (keyof
|
|
53621
|
+
[P in ((keyof T) & (keyof PublicSocialPostGroupByOutputType))]: P extends '_count'
|
|
53464
53622
|
? T[P] extends boolean
|
|
53465
53623
|
? number
|
|
53466
|
-
: GetScalarType<T[P],
|
|
53467
|
-
: GetScalarType<T[P],
|
|
53624
|
+
: GetScalarType<T[P], PublicSocialPostGroupByOutputType[P]>
|
|
53625
|
+
: GetScalarType<T[P], PublicSocialPostGroupByOutputType[P]>
|
|
53468
53626
|
}
|
|
53469
53627
|
>
|
|
53470
53628
|
>
|
|
53471
53629
|
|
|
53472
53630
|
|
|
53473
|
-
export type
|
|
53474
|
-
|
|
53631
|
+
export type PublicSocialPostSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
53632
|
+
id?: boolean
|
|
53475
53633
|
socialPostId?: boolean
|
|
53476
|
-
|
|
53477
|
-
|
|
53478
|
-
|
|
53479
|
-
|
|
53634
|
+
views?: boolean
|
|
53635
|
+
likes?: boolean
|
|
53636
|
+
comments?: boolean
|
|
53637
|
+
saves?: boolean
|
|
53638
|
+
shares?: boolean
|
|
53480
53639
|
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
53481
|
-
}, ExtArgs["result"]["
|
|
53640
|
+
}, ExtArgs["result"]["publicSocialPost"]>
|
|
53482
53641
|
|
|
53483
|
-
export type
|
|
53484
|
-
|
|
53642
|
+
export type PublicSocialPostSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
53643
|
+
id?: boolean
|
|
53485
53644
|
socialPostId?: boolean
|
|
53486
|
-
|
|
53487
|
-
|
|
53488
|
-
|
|
53489
|
-
|
|
53645
|
+
views?: boolean
|
|
53646
|
+
likes?: boolean
|
|
53647
|
+
comments?: boolean
|
|
53648
|
+
saves?: boolean
|
|
53649
|
+
shares?: boolean
|
|
53490
53650
|
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
53491
|
-
}, ExtArgs["result"]["
|
|
53651
|
+
}, ExtArgs["result"]["publicSocialPost"]>
|
|
53492
53652
|
|
|
53493
|
-
export type
|
|
53494
|
-
|
|
53653
|
+
export type PublicSocialPostSelectScalar = {
|
|
53654
|
+
id?: boolean
|
|
53495
53655
|
socialPostId?: boolean
|
|
53496
|
-
|
|
53497
|
-
|
|
53498
|
-
|
|
53656
|
+
views?: boolean
|
|
53657
|
+
likes?: boolean
|
|
53658
|
+
comments?: boolean
|
|
53659
|
+
saves?: boolean
|
|
53660
|
+
shares?: boolean
|
|
53499
53661
|
}
|
|
53500
53662
|
|
|
53501
|
-
export type
|
|
53502
|
-
campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
|
53663
|
+
export type PublicSocialPostInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53503
53664
|
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
53504
53665
|
}
|
|
53505
|
-
export type
|
|
53506
|
-
campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
|
53666
|
+
export type PublicSocialPostIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53507
53667
|
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
53508
53668
|
}
|
|
53509
53669
|
|
|
53510
|
-
export type $
|
|
53511
|
-
name: "
|
|
53670
|
+
export type $PublicSocialPostPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53671
|
+
name: "PublicSocialPost"
|
|
53512
53672
|
objects: {
|
|
53513
|
-
campaign: Prisma.$CampaignPayload<ExtArgs>
|
|
53514
53673
|
socialPost: Prisma.$SocialPostPayload<ExtArgs>
|
|
53515
53674
|
}
|
|
53516
53675
|
scalars: $Extensions.GetPayloadResult<{
|
|
53517
|
-
|
|
53676
|
+
id: number
|
|
53518
53677
|
socialPostId: number
|
|
53519
|
-
|
|
53520
|
-
|
|
53521
|
-
|
|
53522
|
-
|
|
53678
|
+
views: number | null
|
|
53679
|
+
likes: number | null
|
|
53680
|
+
comments: number | null
|
|
53681
|
+
saves: number | null
|
|
53682
|
+
shares: number | null
|
|
53683
|
+
}, ExtArgs["result"]["publicSocialPost"]>
|
|
53523
53684
|
composites: {}
|
|
53524
53685
|
}
|
|
53525
53686
|
|
|
53526
|
-
type
|
|
53687
|
+
type PublicSocialPostGetPayload<S extends boolean | null | undefined | PublicSocialPostDefaultArgs> = $Result.GetResult<Prisma.$PublicSocialPostPayload, S>
|
|
53527
53688
|
|
|
53528
|
-
type
|
|
53529
|
-
Omit<
|
|
53530
|
-
select?:
|
|
53689
|
+
type PublicSocialPostCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
53690
|
+
Omit<PublicSocialPostFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
53691
|
+
select?: PublicSocialPostCountAggregateInputType | true
|
|
53531
53692
|
}
|
|
53532
53693
|
|
|
53533
|
-
export interface
|
|
53534
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['
|
|
53694
|
+
export interface PublicSocialPostDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
53695
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PublicSocialPost'], meta: { name: 'PublicSocialPost' } }
|
|
53535
53696
|
/**
|
|
53536
|
-
* Find zero or one
|
|
53537
|
-
* @param {
|
|
53697
|
+
* Find zero or one PublicSocialPost that matches the filter.
|
|
53698
|
+
* @param {PublicSocialPostFindUniqueArgs} args - Arguments to find a PublicSocialPost
|
|
53538
53699
|
* @example
|
|
53539
|
-
* // Get one
|
|
53540
|
-
* const
|
|
53700
|
+
* // Get one PublicSocialPost
|
|
53701
|
+
* const publicSocialPost = await prisma.publicSocialPost.findUnique({
|
|
53541
53702
|
* where: {
|
|
53542
53703
|
* // ... provide filter here
|
|
53543
53704
|
* }
|
|
53544
53705
|
* })
|
|
53545
53706
|
**/
|
|
53546
|
-
findUnique<T extends
|
|
53547
|
-
args: SelectSubset<T,
|
|
53548
|
-
):
|
|
53707
|
+
findUnique<T extends PublicSocialPostFindUniqueArgs<ExtArgs>>(
|
|
53708
|
+
args: SelectSubset<T, PublicSocialPostFindUniqueArgs<ExtArgs>>
|
|
53709
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
|
|
53549
53710
|
|
|
53550
53711
|
/**
|
|
53551
|
-
* Find one
|
|
53712
|
+
* Find one PublicSocialPost that matches the filter or throw an error with `error.code='P2025'`
|
|
53552
53713
|
* if no matches were found.
|
|
53553
|
-
* @param {
|
|
53714
|
+
* @param {PublicSocialPostFindUniqueOrThrowArgs} args - Arguments to find a PublicSocialPost
|
|
53554
53715
|
* @example
|
|
53555
|
-
* // Get one
|
|
53556
|
-
* const
|
|
53716
|
+
* // Get one PublicSocialPost
|
|
53717
|
+
* const publicSocialPost = await prisma.publicSocialPost.findUniqueOrThrow({
|
|
53557
53718
|
* where: {
|
|
53558
53719
|
* // ... provide filter here
|
|
53559
53720
|
* }
|
|
53560
53721
|
* })
|
|
53561
53722
|
**/
|
|
53562
|
-
findUniqueOrThrow<T extends
|
|
53563
|
-
args?: SelectSubset<T,
|
|
53564
|
-
):
|
|
53723
|
+
findUniqueOrThrow<T extends PublicSocialPostFindUniqueOrThrowArgs<ExtArgs>>(
|
|
53724
|
+
args?: SelectSubset<T, PublicSocialPostFindUniqueOrThrowArgs<ExtArgs>>
|
|
53725
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
|
|
53565
53726
|
|
|
53566
53727
|
/**
|
|
53567
|
-
* Find the first
|
|
53728
|
+
* Find the first PublicSocialPost that matches the filter.
|
|
53568
53729
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
53569
53730
|
* Read more here: https://pris.ly/d/null-undefined
|
|
53570
|
-
* @param {
|
|
53731
|
+
* @param {PublicSocialPostFindFirstArgs} args - Arguments to find a PublicSocialPost
|
|
53571
53732
|
* @example
|
|
53572
|
-
* // Get one
|
|
53573
|
-
* const
|
|
53733
|
+
* // Get one PublicSocialPost
|
|
53734
|
+
* const publicSocialPost = await prisma.publicSocialPost.findFirst({
|
|
53574
53735
|
* where: {
|
|
53575
53736
|
* // ... provide filter here
|
|
53576
53737
|
* }
|
|
53577
53738
|
* })
|
|
53578
53739
|
**/
|
|
53579
|
-
findFirst<T extends
|
|
53580
|
-
args?: SelectSubset<T,
|
|
53581
|
-
):
|
|
53740
|
+
findFirst<T extends PublicSocialPostFindFirstArgs<ExtArgs>>(
|
|
53741
|
+
args?: SelectSubset<T, PublicSocialPostFindFirstArgs<ExtArgs>>
|
|
53742
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
|
|
53582
53743
|
|
|
53583
53744
|
/**
|
|
53584
|
-
* Find the first
|
|
53745
|
+
* Find the first PublicSocialPost that matches the filter or
|
|
53585
53746
|
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
53586
53747
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
53587
53748
|
* Read more here: https://pris.ly/d/null-undefined
|
|
53588
|
-
* @param {
|
|
53749
|
+
* @param {PublicSocialPostFindFirstOrThrowArgs} args - Arguments to find a PublicSocialPost
|
|
53589
53750
|
* @example
|
|
53590
|
-
* // Get one
|
|
53591
|
-
* const
|
|
53751
|
+
* // Get one PublicSocialPost
|
|
53752
|
+
* const publicSocialPost = await prisma.publicSocialPost.findFirstOrThrow({
|
|
53592
53753
|
* where: {
|
|
53593
53754
|
* // ... provide filter here
|
|
53594
53755
|
* }
|
|
53595
53756
|
* })
|
|
53596
53757
|
**/
|
|
53597
|
-
findFirstOrThrow<T extends
|
|
53598
|
-
args?: SelectSubset<T,
|
|
53599
|
-
):
|
|
53758
|
+
findFirstOrThrow<T extends PublicSocialPostFindFirstOrThrowArgs<ExtArgs>>(
|
|
53759
|
+
args?: SelectSubset<T, PublicSocialPostFindFirstOrThrowArgs<ExtArgs>>
|
|
53760
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
|
|
53600
53761
|
|
|
53601
53762
|
/**
|
|
53602
|
-
* Find zero or more
|
|
53763
|
+
* Find zero or more PublicSocialPosts that matches the filter.
|
|
53603
53764
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
53604
53765
|
* Read more here: https://pris.ly/d/null-undefined
|
|
53605
|
-
* @param {
|
|
53766
|
+
* @param {PublicSocialPostFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
53606
53767
|
* @example
|
|
53607
|
-
* // Get all
|
|
53608
|
-
* const
|
|
53768
|
+
* // Get all PublicSocialPosts
|
|
53769
|
+
* const publicSocialPosts = await prisma.publicSocialPost.findMany()
|
|
53609
53770
|
*
|
|
53610
|
-
* // Get first 10
|
|
53611
|
-
* const
|
|
53771
|
+
* // Get first 10 PublicSocialPosts
|
|
53772
|
+
* const publicSocialPosts = await prisma.publicSocialPost.findMany({ take: 10 })
|
|
53612
53773
|
*
|
|
53613
|
-
* // Only select the `
|
|
53614
|
-
* const
|
|
53774
|
+
* // Only select the `id`
|
|
53775
|
+
* const publicSocialPostWithIdOnly = await prisma.publicSocialPost.findMany({ select: { id: true } })
|
|
53615
53776
|
*
|
|
53616
53777
|
**/
|
|
53617
|
-
findMany<T extends
|
|
53618
|
-
args?: SelectSubset<T,
|
|
53619
|
-
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$
|
|
53778
|
+
findMany<T extends PublicSocialPostFindManyArgs<ExtArgs>>(
|
|
53779
|
+
args?: SelectSubset<T, PublicSocialPostFindManyArgs<ExtArgs>>
|
|
53780
|
+
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findMany'>>
|
|
53620
53781
|
|
|
53621
53782
|
/**
|
|
53622
|
-
* Create a
|
|
53623
|
-
* @param {
|
|
53783
|
+
* Create a PublicSocialPost.
|
|
53784
|
+
* @param {PublicSocialPostCreateArgs} args - Arguments to create a PublicSocialPost.
|
|
53624
53785
|
* @example
|
|
53625
|
-
* // Create one
|
|
53626
|
-
* const
|
|
53786
|
+
* // Create one PublicSocialPost
|
|
53787
|
+
* const PublicSocialPost = await prisma.publicSocialPost.create({
|
|
53627
53788
|
* data: {
|
|
53628
|
-
* // ... data to create a
|
|
53789
|
+
* // ... data to create a PublicSocialPost
|
|
53629
53790
|
* }
|
|
53630
53791
|
* })
|
|
53631
53792
|
*
|
|
53632
53793
|
**/
|
|
53633
|
-
create<T extends
|
|
53634
|
-
args: SelectSubset<T,
|
|
53635
|
-
):
|
|
53794
|
+
create<T extends PublicSocialPostCreateArgs<ExtArgs>>(
|
|
53795
|
+
args: SelectSubset<T, PublicSocialPostCreateArgs<ExtArgs>>
|
|
53796
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
|
|
53636
53797
|
|
|
53637
53798
|
/**
|
|
53638
|
-
* Create many
|
|
53639
|
-
* @param {
|
|
53799
|
+
* Create many PublicSocialPosts.
|
|
53800
|
+
* @param {PublicSocialPostCreateManyArgs} args - Arguments to create many PublicSocialPosts.
|
|
53640
53801
|
* @example
|
|
53641
|
-
* // Create many
|
|
53642
|
-
* const
|
|
53802
|
+
* // Create many PublicSocialPosts
|
|
53803
|
+
* const publicSocialPost = await prisma.publicSocialPost.createMany({
|
|
53643
53804
|
* data: [
|
|
53644
53805
|
* // ... provide data here
|
|
53645
53806
|
* ]
|
|
53646
53807
|
* })
|
|
53647
53808
|
*
|
|
53648
53809
|
**/
|
|
53649
|
-
createMany<T extends
|
|
53650
|
-
args?: SelectSubset<T,
|
|
53810
|
+
createMany<T extends PublicSocialPostCreateManyArgs<ExtArgs>>(
|
|
53811
|
+
args?: SelectSubset<T, PublicSocialPostCreateManyArgs<ExtArgs>>
|
|
53651
53812
|
): Prisma.PrismaPromise<BatchPayload>
|
|
53652
53813
|
|
|
53653
53814
|
/**
|
|
53654
|
-
* Create many
|
|
53655
|
-
* @param {
|
|
53815
|
+
* Create many PublicSocialPosts and returns the data saved in the database.
|
|
53816
|
+
* @param {PublicSocialPostCreateManyAndReturnArgs} args - Arguments to create many PublicSocialPosts.
|
|
53656
53817
|
* @example
|
|
53657
|
-
* // Create many
|
|
53658
|
-
* const
|
|
53818
|
+
* // Create many PublicSocialPosts
|
|
53819
|
+
* const publicSocialPost = await prisma.publicSocialPost.createManyAndReturn({
|
|
53659
53820
|
* data: [
|
|
53660
53821
|
* // ... provide data here
|
|
53661
53822
|
* ]
|
|
53662
53823
|
* })
|
|
53663
53824
|
*
|
|
53664
|
-
* // Create many
|
|
53665
|
-
* const
|
|
53666
|
-
* select: {
|
|
53825
|
+
* // Create many PublicSocialPosts and only return the `id`
|
|
53826
|
+
* const publicSocialPostWithIdOnly = await prisma.publicSocialPost.createManyAndReturn({
|
|
53827
|
+
* select: { id: true },
|
|
53667
53828
|
* data: [
|
|
53668
53829
|
* // ... provide data here
|
|
53669
53830
|
* ]
|
|
@@ -53672,32 +53833,32 @@ export namespace Prisma {
|
|
|
53672
53833
|
* Read more here: https://pris.ly/d/null-undefined
|
|
53673
53834
|
*
|
|
53674
53835
|
**/
|
|
53675
|
-
createManyAndReturn<T extends
|
|
53676
|
-
args?: SelectSubset<T,
|
|
53677
|
-
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$
|
|
53836
|
+
createManyAndReturn<T extends PublicSocialPostCreateManyAndReturnArgs<ExtArgs>>(
|
|
53837
|
+
args?: SelectSubset<T, PublicSocialPostCreateManyAndReturnArgs<ExtArgs>>
|
|
53838
|
+
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'createManyAndReturn'>>
|
|
53678
53839
|
|
|
53679
53840
|
/**
|
|
53680
|
-
* Delete a
|
|
53681
|
-
* @param {
|
|
53841
|
+
* Delete a PublicSocialPost.
|
|
53842
|
+
* @param {PublicSocialPostDeleteArgs} args - Arguments to delete one PublicSocialPost.
|
|
53682
53843
|
* @example
|
|
53683
|
-
* // Delete one
|
|
53684
|
-
* const
|
|
53844
|
+
* // Delete one PublicSocialPost
|
|
53845
|
+
* const PublicSocialPost = await prisma.publicSocialPost.delete({
|
|
53685
53846
|
* where: {
|
|
53686
|
-
* // ... filter to delete one
|
|
53847
|
+
* // ... filter to delete one PublicSocialPost
|
|
53687
53848
|
* }
|
|
53688
53849
|
* })
|
|
53689
53850
|
*
|
|
53690
53851
|
**/
|
|
53691
|
-
delete<T extends
|
|
53692
|
-
args: SelectSubset<T,
|
|
53693
|
-
):
|
|
53852
|
+
delete<T extends PublicSocialPostDeleteArgs<ExtArgs>>(
|
|
53853
|
+
args: SelectSubset<T, PublicSocialPostDeleteArgs<ExtArgs>>
|
|
53854
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
|
|
53694
53855
|
|
|
53695
53856
|
/**
|
|
53696
|
-
* Update one
|
|
53697
|
-
* @param {
|
|
53857
|
+
* Update one PublicSocialPost.
|
|
53858
|
+
* @param {PublicSocialPostUpdateArgs} args - Arguments to update one PublicSocialPost.
|
|
53698
53859
|
* @example
|
|
53699
|
-
* // Update one
|
|
53700
|
-
* const
|
|
53860
|
+
* // Update one PublicSocialPost
|
|
53861
|
+
* const publicSocialPost = await prisma.publicSocialPost.update({
|
|
53701
53862
|
* where: {
|
|
53702
53863
|
* // ... provide filter here
|
|
53703
53864
|
* },
|
|
@@ -53707,34 +53868,34 @@ export namespace Prisma {
|
|
|
53707
53868
|
* })
|
|
53708
53869
|
*
|
|
53709
53870
|
**/
|
|
53710
|
-
update<T extends
|
|
53711
|
-
args: SelectSubset<T,
|
|
53712
|
-
):
|
|
53871
|
+
update<T extends PublicSocialPostUpdateArgs<ExtArgs>>(
|
|
53872
|
+
args: SelectSubset<T, PublicSocialPostUpdateArgs<ExtArgs>>
|
|
53873
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
|
|
53713
53874
|
|
|
53714
53875
|
/**
|
|
53715
|
-
* Delete zero or more
|
|
53716
|
-
* @param {
|
|
53876
|
+
* Delete zero or more PublicSocialPosts.
|
|
53877
|
+
* @param {PublicSocialPostDeleteManyArgs} args - Arguments to filter PublicSocialPosts to delete.
|
|
53717
53878
|
* @example
|
|
53718
|
-
* // Delete a few
|
|
53719
|
-
* const { count } = await prisma.
|
|
53879
|
+
* // Delete a few PublicSocialPosts
|
|
53880
|
+
* const { count } = await prisma.publicSocialPost.deleteMany({
|
|
53720
53881
|
* where: {
|
|
53721
53882
|
* // ... provide filter here
|
|
53722
53883
|
* }
|
|
53723
53884
|
* })
|
|
53724
53885
|
*
|
|
53725
53886
|
**/
|
|
53726
|
-
deleteMany<T extends
|
|
53727
|
-
args?: SelectSubset<T,
|
|
53887
|
+
deleteMany<T extends PublicSocialPostDeleteManyArgs<ExtArgs>>(
|
|
53888
|
+
args?: SelectSubset<T, PublicSocialPostDeleteManyArgs<ExtArgs>>
|
|
53728
53889
|
): Prisma.PrismaPromise<BatchPayload>
|
|
53729
53890
|
|
|
53730
53891
|
/**
|
|
53731
|
-
* Update zero or more
|
|
53892
|
+
* Update zero or more PublicSocialPosts.
|
|
53732
53893
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
53733
53894
|
* Read more here: https://pris.ly/d/null-undefined
|
|
53734
|
-
* @param {
|
|
53895
|
+
* @param {PublicSocialPostUpdateManyArgs} args - Arguments to update one or more rows.
|
|
53735
53896
|
* @example
|
|
53736
|
-
* // Update many
|
|
53737
|
-
* const
|
|
53897
|
+
* // Update many PublicSocialPosts
|
|
53898
|
+
* const publicSocialPost = await prisma.publicSocialPost.updateMany({
|
|
53738
53899
|
* where: {
|
|
53739
53900
|
* // ... provide filter here
|
|
53740
53901
|
* },
|
|
@@ -53744,59 +53905,59 @@ export namespace Prisma {
|
|
|
53744
53905
|
* })
|
|
53745
53906
|
*
|
|
53746
53907
|
**/
|
|
53747
|
-
updateMany<T extends
|
|
53748
|
-
args: SelectSubset<T,
|
|
53908
|
+
updateMany<T extends PublicSocialPostUpdateManyArgs<ExtArgs>>(
|
|
53909
|
+
args: SelectSubset<T, PublicSocialPostUpdateManyArgs<ExtArgs>>
|
|
53749
53910
|
): Prisma.PrismaPromise<BatchPayload>
|
|
53750
53911
|
|
|
53751
53912
|
/**
|
|
53752
|
-
* Create or update one
|
|
53753
|
-
* @param {
|
|
53913
|
+
* Create or update one PublicSocialPost.
|
|
53914
|
+
* @param {PublicSocialPostUpsertArgs} args - Arguments to update or create a PublicSocialPost.
|
|
53754
53915
|
* @example
|
|
53755
|
-
* // Update or create a
|
|
53756
|
-
* const
|
|
53916
|
+
* // Update or create a PublicSocialPost
|
|
53917
|
+
* const publicSocialPost = await prisma.publicSocialPost.upsert({
|
|
53757
53918
|
* create: {
|
|
53758
|
-
* // ... data to create a
|
|
53919
|
+
* // ... data to create a PublicSocialPost
|
|
53759
53920
|
* },
|
|
53760
53921
|
* update: {
|
|
53761
53922
|
* // ... in case it already exists, update
|
|
53762
53923
|
* },
|
|
53763
53924
|
* where: {
|
|
53764
|
-
* // ... the filter for the
|
|
53925
|
+
* // ... the filter for the PublicSocialPost we want to update
|
|
53765
53926
|
* }
|
|
53766
53927
|
* })
|
|
53767
53928
|
**/
|
|
53768
|
-
upsert<T extends
|
|
53769
|
-
args: SelectSubset<T,
|
|
53770
|
-
):
|
|
53929
|
+
upsert<T extends PublicSocialPostUpsertArgs<ExtArgs>>(
|
|
53930
|
+
args: SelectSubset<T, PublicSocialPostUpsertArgs<ExtArgs>>
|
|
53931
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
|
|
53771
53932
|
|
|
53772
53933
|
/**
|
|
53773
|
-
* Count the number of
|
|
53934
|
+
* Count the number of PublicSocialPosts.
|
|
53774
53935
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
53775
53936
|
* Read more here: https://pris.ly/d/null-undefined
|
|
53776
|
-
* @param {
|
|
53937
|
+
* @param {PublicSocialPostCountArgs} args - Arguments to filter PublicSocialPosts to count.
|
|
53777
53938
|
* @example
|
|
53778
|
-
* // Count the number of
|
|
53779
|
-
* const count = await prisma.
|
|
53939
|
+
* // Count the number of PublicSocialPosts
|
|
53940
|
+
* const count = await prisma.publicSocialPost.count({
|
|
53780
53941
|
* where: {
|
|
53781
|
-
* // ... the filter for the
|
|
53942
|
+
* // ... the filter for the PublicSocialPosts we want to count
|
|
53782
53943
|
* }
|
|
53783
53944
|
* })
|
|
53784
53945
|
**/
|
|
53785
|
-
count<T extends
|
|
53786
|
-
args?: Subset<T,
|
|
53946
|
+
count<T extends PublicSocialPostCountArgs>(
|
|
53947
|
+
args?: Subset<T, PublicSocialPostCountArgs>,
|
|
53787
53948
|
): Prisma.PrismaPromise<
|
|
53788
53949
|
T extends $Utils.Record<'select', any>
|
|
53789
53950
|
? T['select'] extends true
|
|
53790
53951
|
? number
|
|
53791
|
-
: GetScalarType<T['select'],
|
|
53952
|
+
: GetScalarType<T['select'], PublicSocialPostCountAggregateOutputType>
|
|
53792
53953
|
: number
|
|
53793
53954
|
>
|
|
53794
53955
|
|
|
53795
53956
|
/**
|
|
53796
|
-
* Allows you to perform aggregations operations on a
|
|
53957
|
+
* Allows you to perform aggregations operations on a PublicSocialPost.
|
|
53797
53958
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
53798
53959
|
* Read more here: https://pris.ly/d/null-undefined
|
|
53799
|
-
* @param {
|
|
53960
|
+
* @param {PublicSocialPostAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
53800
53961
|
* @example
|
|
53801
53962
|
* // Ordered by age ascending
|
|
53802
53963
|
* // Where email contains prisma.io
|
|
@@ -53816,13 +53977,13 @@ export namespace Prisma {
|
|
|
53816
53977
|
* take: 10,
|
|
53817
53978
|
* })
|
|
53818
53979
|
**/
|
|
53819
|
-
aggregate<T extends
|
|
53980
|
+
aggregate<T extends PublicSocialPostAggregateArgs>(args: Subset<T, PublicSocialPostAggregateArgs>): Prisma.PrismaPromise<GetPublicSocialPostAggregateType<T>>
|
|
53820
53981
|
|
|
53821
53982
|
/**
|
|
53822
|
-
* Group by
|
|
53983
|
+
* Group by PublicSocialPost.
|
|
53823
53984
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
53824
53985
|
* Read more here: https://pris.ly/d/null-undefined
|
|
53825
|
-
* @param {
|
|
53986
|
+
* @param {PublicSocialPostGroupByArgs} args - Group by arguments.
|
|
53826
53987
|
* @example
|
|
53827
53988
|
* // Group by city, order by createdAt, get count
|
|
53828
53989
|
* const result = await prisma.user.groupBy({
|
|
@@ -53837,14 +53998,1014 @@ export namespace Prisma {
|
|
|
53837
53998
|
*
|
|
53838
53999
|
**/
|
|
53839
54000
|
groupBy<
|
|
53840
|
-
T extends
|
|
54001
|
+
T extends PublicSocialPostGroupByArgs,
|
|
53841
54002
|
HasSelectOrTake extends Or<
|
|
53842
54003
|
Extends<'skip', Keys<T>>,
|
|
53843
54004
|
Extends<'take', Keys<T>>
|
|
53844
54005
|
>,
|
|
53845
54006
|
OrderByArg extends True extends HasSelectOrTake
|
|
53846
|
-
? { orderBy:
|
|
53847
|
-
: { orderBy?:
|
|
54007
|
+
? { orderBy: PublicSocialPostGroupByArgs['orderBy'] }
|
|
54008
|
+
: { orderBy?: PublicSocialPostGroupByArgs['orderBy'] },
|
|
54009
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
54010
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
54011
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
54012
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
54013
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
54014
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
54015
|
+
InputErrors extends ByEmpty extends True
|
|
54016
|
+
? `Error: "by" must not be empty.`
|
|
54017
|
+
: HavingValid extends False
|
|
54018
|
+
? {
|
|
54019
|
+
[P in HavingFields]: P extends ByFields
|
|
54020
|
+
? never
|
|
54021
|
+
: P extends string
|
|
54022
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
54023
|
+
: [
|
|
54024
|
+
Error,
|
|
54025
|
+
'Field ',
|
|
54026
|
+
P,
|
|
54027
|
+
` in "having" needs to be provided in "by"`,
|
|
54028
|
+
]
|
|
54029
|
+
}[HavingFields]
|
|
54030
|
+
: 'take' extends Keys<T>
|
|
54031
|
+
? 'orderBy' extends Keys<T>
|
|
54032
|
+
? ByValid extends True
|
|
54033
|
+
? {}
|
|
54034
|
+
: {
|
|
54035
|
+
[P in OrderFields]: P extends ByFields
|
|
54036
|
+
? never
|
|
54037
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
54038
|
+
}[OrderFields]
|
|
54039
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
54040
|
+
: 'skip' extends Keys<T>
|
|
54041
|
+
? 'orderBy' extends Keys<T>
|
|
54042
|
+
? ByValid extends True
|
|
54043
|
+
? {}
|
|
54044
|
+
: {
|
|
54045
|
+
[P in OrderFields]: P extends ByFields
|
|
54046
|
+
? never
|
|
54047
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
54048
|
+
}[OrderFields]
|
|
54049
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
54050
|
+
: ByValid extends True
|
|
54051
|
+
? {}
|
|
54052
|
+
: {
|
|
54053
|
+
[P in OrderFields]: P extends ByFields
|
|
54054
|
+
? never
|
|
54055
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
54056
|
+
}[OrderFields]
|
|
54057
|
+
>(args: SubsetIntersection<T, PublicSocialPostGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPublicSocialPostGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
54058
|
+
/**
|
|
54059
|
+
* Fields of the PublicSocialPost model
|
|
54060
|
+
*/
|
|
54061
|
+
readonly fields: PublicSocialPostFieldRefs;
|
|
54062
|
+
}
|
|
54063
|
+
|
|
54064
|
+
/**
|
|
54065
|
+
* The delegate class that acts as a "Promise-like" for PublicSocialPost.
|
|
54066
|
+
* Why is this prefixed with `Prisma__`?
|
|
54067
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
54068
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
54069
|
+
*/
|
|
54070
|
+
export interface Prisma__PublicSocialPostClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
54071
|
+
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
54072
|
+
|
|
54073
|
+
socialPost<T extends SocialPostDefaultArgs<ExtArgs> = {}>(args?: Subset<T, SocialPostDefaultArgs<ExtArgs>>): Prisma__SocialPostClient<$Result.GetResult<Prisma.$SocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
|
|
54074
|
+
|
|
54075
|
+
/**
|
|
54076
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
54077
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
54078
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
54079
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
54080
|
+
*/
|
|
54081
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
54082
|
+
/**
|
|
54083
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
54084
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
54085
|
+
* @returns A Promise for the completion of the callback.
|
|
54086
|
+
*/
|
|
54087
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
54088
|
+
/**
|
|
54089
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
54090
|
+
* resolved value cannot be modified from the callback.
|
|
54091
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
54092
|
+
* @returns A Promise for the completion of the callback.
|
|
54093
|
+
*/
|
|
54094
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
|
|
54095
|
+
}
|
|
54096
|
+
|
|
54097
|
+
|
|
54098
|
+
|
|
54099
|
+
/**
|
|
54100
|
+
* Fields of the PublicSocialPost model
|
|
54101
|
+
*/
|
|
54102
|
+
interface PublicSocialPostFieldRefs {
|
|
54103
|
+
readonly id: FieldRef<"PublicSocialPost", 'Int'>
|
|
54104
|
+
readonly socialPostId: FieldRef<"PublicSocialPost", 'Int'>
|
|
54105
|
+
readonly views: FieldRef<"PublicSocialPost", 'Int'>
|
|
54106
|
+
readonly likes: FieldRef<"PublicSocialPost", 'Int'>
|
|
54107
|
+
readonly comments: FieldRef<"PublicSocialPost", 'Int'>
|
|
54108
|
+
readonly saves: FieldRef<"PublicSocialPost", 'Int'>
|
|
54109
|
+
readonly shares: FieldRef<"PublicSocialPost", 'Int'>
|
|
54110
|
+
}
|
|
54111
|
+
|
|
54112
|
+
|
|
54113
|
+
// Custom InputTypes
|
|
54114
|
+
/**
|
|
54115
|
+
* PublicSocialPost findUnique
|
|
54116
|
+
*/
|
|
54117
|
+
export type PublicSocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54118
|
+
/**
|
|
54119
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54120
|
+
*/
|
|
54121
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
54122
|
+
/**
|
|
54123
|
+
* Choose, which related nodes to fetch as well
|
|
54124
|
+
*/
|
|
54125
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
54126
|
+
/**
|
|
54127
|
+
* Filter, which PublicSocialPost to fetch.
|
|
54128
|
+
*/
|
|
54129
|
+
where: PublicSocialPostWhereUniqueInput
|
|
54130
|
+
}
|
|
54131
|
+
|
|
54132
|
+
/**
|
|
54133
|
+
* PublicSocialPost findUniqueOrThrow
|
|
54134
|
+
*/
|
|
54135
|
+
export type PublicSocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54136
|
+
/**
|
|
54137
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54138
|
+
*/
|
|
54139
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
54140
|
+
/**
|
|
54141
|
+
* Choose, which related nodes to fetch as well
|
|
54142
|
+
*/
|
|
54143
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
54144
|
+
/**
|
|
54145
|
+
* Filter, which PublicSocialPost to fetch.
|
|
54146
|
+
*/
|
|
54147
|
+
where: PublicSocialPostWhereUniqueInput
|
|
54148
|
+
}
|
|
54149
|
+
|
|
54150
|
+
/**
|
|
54151
|
+
* PublicSocialPost findFirst
|
|
54152
|
+
*/
|
|
54153
|
+
export type PublicSocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54154
|
+
/**
|
|
54155
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54156
|
+
*/
|
|
54157
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
54158
|
+
/**
|
|
54159
|
+
* Choose, which related nodes to fetch as well
|
|
54160
|
+
*/
|
|
54161
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
54162
|
+
/**
|
|
54163
|
+
* Filter, which PublicSocialPost to fetch.
|
|
54164
|
+
*/
|
|
54165
|
+
where?: PublicSocialPostWhereInput
|
|
54166
|
+
/**
|
|
54167
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
54168
|
+
*
|
|
54169
|
+
* Determine the order of PublicSocialPosts to fetch.
|
|
54170
|
+
*/
|
|
54171
|
+
orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
54172
|
+
/**
|
|
54173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
54174
|
+
*
|
|
54175
|
+
* Sets the position for searching for PublicSocialPosts.
|
|
54176
|
+
*/
|
|
54177
|
+
cursor?: PublicSocialPostWhereUniqueInput
|
|
54178
|
+
/**
|
|
54179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
54180
|
+
*
|
|
54181
|
+
* Take `±n` PublicSocialPosts from the position of the cursor.
|
|
54182
|
+
*/
|
|
54183
|
+
take?: number
|
|
54184
|
+
/**
|
|
54185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
54186
|
+
*
|
|
54187
|
+
* Skip the first `n` PublicSocialPosts.
|
|
54188
|
+
*/
|
|
54189
|
+
skip?: number
|
|
54190
|
+
/**
|
|
54191
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
54192
|
+
*
|
|
54193
|
+
* Filter by unique combinations of PublicSocialPosts.
|
|
54194
|
+
*/
|
|
54195
|
+
distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
|
|
54196
|
+
}
|
|
54197
|
+
|
|
54198
|
+
/**
|
|
54199
|
+
* PublicSocialPost findFirstOrThrow
|
|
54200
|
+
*/
|
|
54201
|
+
export type PublicSocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54202
|
+
/**
|
|
54203
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54204
|
+
*/
|
|
54205
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
54206
|
+
/**
|
|
54207
|
+
* Choose, which related nodes to fetch as well
|
|
54208
|
+
*/
|
|
54209
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
54210
|
+
/**
|
|
54211
|
+
* Filter, which PublicSocialPost to fetch.
|
|
54212
|
+
*/
|
|
54213
|
+
where?: PublicSocialPostWhereInput
|
|
54214
|
+
/**
|
|
54215
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
54216
|
+
*
|
|
54217
|
+
* Determine the order of PublicSocialPosts to fetch.
|
|
54218
|
+
*/
|
|
54219
|
+
orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
54220
|
+
/**
|
|
54221
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
54222
|
+
*
|
|
54223
|
+
* Sets the position for searching for PublicSocialPosts.
|
|
54224
|
+
*/
|
|
54225
|
+
cursor?: PublicSocialPostWhereUniqueInput
|
|
54226
|
+
/**
|
|
54227
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
54228
|
+
*
|
|
54229
|
+
* Take `±n` PublicSocialPosts from the position of the cursor.
|
|
54230
|
+
*/
|
|
54231
|
+
take?: number
|
|
54232
|
+
/**
|
|
54233
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
54234
|
+
*
|
|
54235
|
+
* Skip the first `n` PublicSocialPosts.
|
|
54236
|
+
*/
|
|
54237
|
+
skip?: number
|
|
54238
|
+
/**
|
|
54239
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
54240
|
+
*
|
|
54241
|
+
* Filter by unique combinations of PublicSocialPosts.
|
|
54242
|
+
*/
|
|
54243
|
+
distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
|
|
54244
|
+
}
|
|
54245
|
+
|
|
54246
|
+
/**
|
|
54247
|
+
* PublicSocialPost findMany
|
|
54248
|
+
*/
|
|
54249
|
+
export type PublicSocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54250
|
+
/**
|
|
54251
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54252
|
+
*/
|
|
54253
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
54254
|
+
/**
|
|
54255
|
+
* Choose, which related nodes to fetch as well
|
|
54256
|
+
*/
|
|
54257
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
54258
|
+
/**
|
|
54259
|
+
* Filter, which PublicSocialPosts to fetch.
|
|
54260
|
+
*/
|
|
54261
|
+
where?: PublicSocialPostWhereInput
|
|
54262
|
+
/**
|
|
54263
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
54264
|
+
*
|
|
54265
|
+
* Determine the order of PublicSocialPosts to fetch.
|
|
54266
|
+
*/
|
|
54267
|
+
orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
54268
|
+
/**
|
|
54269
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
54270
|
+
*
|
|
54271
|
+
* Sets the position for listing PublicSocialPosts.
|
|
54272
|
+
*/
|
|
54273
|
+
cursor?: PublicSocialPostWhereUniqueInput
|
|
54274
|
+
/**
|
|
54275
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
54276
|
+
*
|
|
54277
|
+
* Take `±n` PublicSocialPosts from the position of the cursor.
|
|
54278
|
+
*/
|
|
54279
|
+
take?: number
|
|
54280
|
+
/**
|
|
54281
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
54282
|
+
*
|
|
54283
|
+
* Skip the first `n` PublicSocialPosts.
|
|
54284
|
+
*/
|
|
54285
|
+
skip?: number
|
|
54286
|
+
distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
|
|
54287
|
+
}
|
|
54288
|
+
|
|
54289
|
+
/**
|
|
54290
|
+
* PublicSocialPost create
|
|
54291
|
+
*/
|
|
54292
|
+
export type PublicSocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54293
|
+
/**
|
|
54294
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54295
|
+
*/
|
|
54296
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
54297
|
+
/**
|
|
54298
|
+
* Choose, which related nodes to fetch as well
|
|
54299
|
+
*/
|
|
54300
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
54301
|
+
/**
|
|
54302
|
+
* The data needed to create a PublicSocialPost.
|
|
54303
|
+
*/
|
|
54304
|
+
data: XOR<PublicSocialPostCreateInput, PublicSocialPostUncheckedCreateInput>
|
|
54305
|
+
}
|
|
54306
|
+
|
|
54307
|
+
/**
|
|
54308
|
+
* PublicSocialPost createMany
|
|
54309
|
+
*/
|
|
54310
|
+
export type PublicSocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54311
|
+
/**
|
|
54312
|
+
* The data used to create many PublicSocialPosts.
|
|
54313
|
+
*/
|
|
54314
|
+
data: PublicSocialPostCreateManyInput | PublicSocialPostCreateManyInput[]
|
|
54315
|
+
skipDuplicates?: boolean
|
|
54316
|
+
}
|
|
54317
|
+
|
|
54318
|
+
/**
|
|
54319
|
+
* PublicSocialPost createManyAndReturn
|
|
54320
|
+
*/
|
|
54321
|
+
export type PublicSocialPostCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54322
|
+
/**
|
|
54323
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54324
|
+
*/
|
|
54325
|
+
select?: PublicSocialPostSelectCreateManyAndReturn<ExtArgs> | null
|
|
54326
|
+
/**
|
|
54327
|
+
* The data used to create many PublicSocialPosts.
|
|
54328
|
+
*/
|
|
54329
|
+
data: PublicSocialPostCreateManyInput | PublicSocialPostCreateManyInput[]
|
|
54330
|
+
skipDuplicates?: boolean
|
|
54331
|
+
/**
|
|
54332
|
+
* Choose, which related nodes to fetch as well
|
|
54333
|
+
*/
|
|
54334
|
+
include?: PublicSocialPostIncludeCreateManyAndReturn<ExtArgs> | null
|
|
54335
|
+
}
|
|
54336
|
+
|
|
54337
|
+
/**
|
|
54338
|
+
* PublicSocialPost update
|
|
54339
|
+
*/
|
|
54340
|
+
export type PublicSocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54341
|
+
/**
|
|
54342
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54343
|
+
*/
|
|
54344
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
54345
|
+
/**
|
|
54346
|
+
* Choose, which related nodes to fetch as well
|
|
54347
|
+
*/
|
|
54348
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
54349
|
+
/**
|
|
54350
|
+
* The data needed to update a PublicSocialPost.
|
|
54351
|
+
*/
|
|
54352
|
+
data: XOR<PublicSocialPostUpdateInput, PublicSocialPostUncheckedUpdateInput>
|
|
54353
|
+
/**
|
|
54354
|
+
* Choose, which PublicSocialPost to update.
|
|
54355
|
+
*/
|
|
54356
|
+
where: PublicSocialPostWhereUniqueInput
|
|
54357
|
+
}
|
|
54358
|
+
|
|
54359
|
+
/**
|
|
54360
|
+
* PublicSocialPost updateMany
|
|
54361
|
+
*/
|
|
54362
|
+
export type PublicSocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54363
|
+
/**
|
|
54364
|
+
* The data used to update PublicSocialPosts.
|
|
54365
|
+
*/
|
|
54366
|
+
data: XOR<PublicSocialPostUpdateManyMutationInput, PublicSocialPostUncheckedUpdateManyInput>
|
|
54367
|
+
/**
|
|
54368
|
+
* Filter which PublicSocialPosts to update
|
|
54369
|
+
*/
|
|
54370
|
+
where?: PublicSocialPostWhereInput
|
|
54371
|
+
}
|
|
54372
|
+
|
|
54373
|
+
/**
|
|
54374
|
+
* PublicSocialPost upsert
|
|
54375
|
+
*/
|
|
54376
|
+
export type PublicSocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54377
|
+
/**
|
|
54378
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54379
|
+
*/
|
|
54380
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
54381
|
+
/**
|
|
54382
|
+
* Choose, which related nodes to fetch as well
|
|
54383
|
+
*/
|
|
54384
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
54385
|
+
/**
|
|
54386
|
+
* The filter to search for the PublicSocialPost to update in case it exists.
|
|
54387
|
+
*/
|
|
54388
|
+
where: PublicSocialPostWhereUniqueInput
|
|
54389
|
+
/**
|
|
54390
|
+
* In case the PublicSocialPost found by the `where` argument doesn't exist, create a new PublicSocialPost with this data.
|
|
54391
|
+
*/
|
|
54392
|
+
create: XOR<PublicSocialPostCreateInput, PublicSocialPostUncheckedCreateInput>
|
|
54393
|
+
/**
|
|
54394
|
+
* In case the PublicSocialPost was found with the provided `where` argument, update it with this data.
|
|
54395
|
+
*/
|
|
54396
|
+
update: XOR<PublicSocialPostUpdateInput, PublicSocialPostUncheckedUpdateInput>
|
|
54397
|
+
}
|
|
54398
|
+
|
|
54399
|
+
/**
|
|
54400
|
+
* PublicSocialPost delete
|
|
54401
|
+
*/
|
|
54402
|
+
export type PublicSocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54403
|
+
/**
|
|
54404
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54405
|
+
*/
|
|
54406
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
54407
|
+
/**
|
|
54408
|
+
* Choose, which related nodes to fetch as well
|
|
54409
|
+
*/
|
|
54410
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
54411
|
+
/**
|
|
54412
|
+
* Filter which PublicSocialPost to delete.
|
|
54413
|
+
*/
|
|
54414
|
+
where: PublicSocialPostWhereUniqueInput
|
|
54415
|
+
}
|
|
54416
|
+
|
|
54417
|
+
/**
|
|
54418
|
+
* PublicSocialPost deleteMany
|
|
54419
|
+
*/
|
|
54420
|
+
export type PublicSocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54421
|
+
/**
|
|
54422
|
+
* Filter which PublicSocialPosts to delete
|
|
54423
|
+
*/
|
|
54424
|
+
where?: PublicSocialPostWhereInput
|
|
54425
|
+
}
|
|
54426
|
+
|
|
54427
|
+
/**
|
|
54428
|
+
* PublicSocialPost without action
|
|
54429
|
+
*/
|
|
54430
|
+
export type PublicSocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54431
|
+
/**
|
|
54432
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
54433
|
+
*/
|
|
54434
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
54435
|
+
/**
|
|
54436
|
+
* Choose, which related nodes to fetch as well
|
|
54437
|
+
*/
|
|
54438
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
54439
|
+
}
|
|
54440
|
+
|
|
54441
|
+
|
|
54442
|
+
/**
|
|
54443
|
+
* Model CampaignToSocialPost
|
|
54444
|
+
*/
|
|
54445
|
+
|
|
54446
|
+
export type AggregateCampaignToSocialPost = {
|
|
54447
|
+
_count: CampaignToSocialPostCountAggregateOutputType | null
|
|
54448
|
+
_avg: CampaignToSocialPostAvgAggregateOutputType | null
|
|
54449
|
+
_sum: CampaignToSocialPostSumAggregateOutputType | null
|
|
54450
|
+
_min: CampaignToSocialPostMinAggregateOutputType | null
|
|
54451
|
+
_max: CampaignToSocialPostMaxAggregateOutputType | null
|
|
54452
|
+
}
|
|
54453
|
+
|
|
54454
|
+
export type CampaignToSocialPostAvgAggregateOutputType = {
|
|
54455
|
+
campaignId: number | null
|
|
54456
|
+
socialPostId: number | null
|
|
54457
|
+
}
|
|
54458
|
+
|
|
54459
|
+
export type CampaignToSocialPostSumAggregateOutputType = {
|
|
54460
|
+
campaignId: number | null
|
|
54461
|
+
socialPostId: number | null
|
|
54462
|
+
}
|
|
54463
|
+
|
|
54464
|
+
export type CampaignToSocialPostMinAggregateOutputType = {
|
|
54465
|
+
campaignId: number | null
|
|
54466
|
+
socialPostId: number | null
|
|
54467
|
+
status: $Enums.CampaignToSocialPostStatus | null
|
|
54468
|
+
created: Date | null
|
|
54469
|
+
}
|
|
54470
|
+
|
|
54471
|
+
export type CampaignToSocialPostMaxAggregateOutputType = {
|
|
54472
|
+
campaignId: number | null
|
|
54473
|
+
socialPostId: number | null
|
|
54474
|
+
status: $Enums.CampaignToSocialPostStatus | null
|
|
54475
|
+
created: Date | null
|
|
54476
|
+
}
|
|
54477
|
+
|
|
54478
|
+
export type CampaignToSocialPostCountAggregateOutputType = {
|
|
54479
|
+
campaignId: number
|
|
54480
|
+
socialPostId: number
|
|
54481
|
+
status: number
|
|
54482
|
+
created: number
|
|
54483
|
+
metaData: number
|
|
54484
|
+
_all: number
|
|
54485
|
+
}
|
|
54486
|
+
|
|
54487
|
+
|
|
54488
|
+
export type CampaignToSocialPostAvgAggregateInputType = {
|
|
54489
|
+
campaignId?: true
|
|
54490
|
+
socialPostId?: true
|
|
54491
|
+
}
|
|
54492
|
+
|
|
54493
|
+
export type CampaignToSocialPostSumAggregateInputType = {
|
|
54494
|
+
campaignId?: true
|
|
54495
|
+
socialPostId?: true
|
|
54496
|
+
}
|
|
54497
|
+
|
|
54498
|
+
export type CampaignToSocialPostMinAggregateInputType = {
|
|
54499
|
+
campaignId?: true
|
|
54500
|
+
socialPostId?: true
|
|
54501
|
+
status?: true
|
|
54502
|
+
created?: true
|
|
54503
|
+
}
|
|
54504
|
+
|
|
54505
|
+
export type CampaignToSocialPostMaxAggregateInputType = {
|
|
54506
|
+
campaignId?: true
|
|
54507
|
+
socialPostId?: true
|
|
54508
|
+
status?: true
|
|
54509
|
+
created?: true
|
|
54510
|
+
}
|
|
54511
|
+
|
|
54512
|
+
export type CampaignToSocialPostCountAggregateInputType = {
|
|
54513
|
+
campaignId?: true
|
|
54514
|
+
socialPostId?: true
|
|
54515
|
+
status?: true
|
|
54516
|
+
created?: true
|
|
54517
|
+
metaData?: true
|
|
54518
|
+
_all?: true
|
|
54519
|
+
}
|
|
54520
|
+
|
|
54521
|
+
export type CampaignToSocialPostAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54522
|
+
/**
|
|
54523
|
+
* Filter which CampaignToSocialPost to aggregate.
|
|
54524
|
+
*/
|
|
54525
|
+
where?: CampaignToSocialPostWhereInput
|
|
54526
|
+
/**
|
|
54527
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
54528
|
+
*
|
|
54529
|
+
* Determine the order of CampaignToSocialPosts to fetch.
|
|
54530
|
+
*/
|
|
54531
|
+
orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
54532
|
+
/**
|
|
54533
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
54534
|
+
*
|
|
54535
|
+
* Sets the start position
|
|
54536
|
+
*/
|
|
54537
|
+
cursor?: CampaignToSocialPostWhereUniqueInput
|
|
54538
|
+
/**
|
|
54539
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
54540
|
+
*
|
|
54541
|
+
* Take `±n` CampaignToSocialPosts from the position of the cursor.
|
|
54542
|
+
*/
|
|
54543
|
+
take?: number
|
|
54544
|
+
/**
|
|
54545
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
54546
|
+
*
|
|
54547
|
+
* Skip the first `n` CampaignToSocialPosts.
|
|
54548
|
+
*/
|
|
54549
|
+
skip?: number
|
|
54550
|
+
/**
|
|
54551
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
54552
|
+
*
|
|
54553
|
+
* Count returned CampaignToSocialPosts
|
|
54554
|
+
**/
|
|
54555
|
+
_count?: true | CampaignToSocialPostCountAggregateInputType
|
|
54556
|
+
/**
|
|
54557
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
54558
|
+
*
|
|
54559
|
+
* Select which fields to average
|
|
54560
|
+
**/
|
|
54561
|
+
_avg?: CampaignToSocialPostAvgAggregateInputType
|
|
54562
|
+
/**
|
|
54563
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
54564
|
+
*
|
|
54565
|
+
* Select which fields to sum
|
|
54566
|
+
**/
|
|
54567
|
+
_sum?: CampaignToSocialPostSumAggregateInputType
|
|
54568
|
+
/**
|
|
54569
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
54570
|
+
*
|
|
54571
|
+
* Select which fields to find the minimum value
|
|
54572
|
+
**/
|
|
54573
|
+
_min?: CampaignToSocialPostMinAggregateInputType
|
|
54574
|
+
/**
|
|
54575
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
54576
|
+
*
|
|
54577
|
+
* Select which fields to find the maximum value
|
|
54578
|
+
**/
|
|
54579
|
+
_max?: CampaignToSocialPostMaxAggregateInputType
|
|
54580
|
+
}
|
|
54581
|
+
|
|
54582
|
+
export type GetCampaignToSocialPostAggregateType<T extends CampaignToSocialPostAggregateArgs> = {
|
|
54583
|
+
[P in keyof T & keyof AggregateCampaignToSocialPost]: P extends '_count' | 'count'
|
|
54584
|
+
? T[P] extends true
|
|
54585
|
+
? number
|
|
54586
|
+
: GetScalarType<T[P], AggregateCampaignToSocialPost[P]>
|
|
54587
|
+
: GetScalarType<T[P], AggregateCampaignToSocialPost[P]>
|
|
54588
|
+
}
|
|
54589
|
+
|
|
54590
|
+
|
|
54591
|
+
|
|
54592
|
+
|
|
54593
|
+
export type CampaignToSocialPostGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54594
|
+
where?: CampaignToSocialPostWhereInput
|
|
54595
|
+
orderBy?: CampaignToSocialPostOrderByWithAggregationInput | CampaignToSocialPostOrderByWithAggregationInput[]
|
|
54596
|
+
by: CampaignToSocialPostScalarFieldEnum[] | CampaignToSocialPostScalarFieldEnum
|
|
54597
|
+
having?: CampaignToSocialPostScalarWhereWithAggregatesInput
|
|
54598
|
+
take?: number
|
|
54599
|
+
skip?: number
|
|
54600
|
+
_count?: CampaignToSocialPostCountAggregateInputType | true
|
|
54601
|
+
_avg?: CampaignToSocialPostAvgAggregateInputType
|
|
54602
|
+
_sum?: CampaignToSocialPostSumAggregateInputType
|
|
54603
|
+
_min?: CampaignToSocialPostMinAggregateInputType
|
|
54604
|
+
_max?: CampaignToSocialPostMaxAggregateInputType
|
|
54605
|
+
}
|
|
54606
|
+
|
|
54607
|
+
export type CampaignToSocialPostGroupByOutputType = {
|
|
54608
|
+
campaignId: number
|
|
54609
|
+
socialPostId: number
|
|
54610
|
+
status: $Enums.CampaignToSocialPostStatus
|
|
54611
|
+
created: Date
|
|
54612
|
+
metaData: JsonValue
|
|
54613
|
+
_count: CampaignToSocialPostCountAggregateOutputType | null
|
|
54614
|
+
_avg: CampaignToSocialPostAvgAggregateOutputType | null
|
|
54615
|
+
_sum: CampaignToSocialPostSumAggregateOutputType | null
|
|
54616
|
+
_min: CampaignToSocialPostMinAggregateOutputType | null
|
|
54617
|
+
_max: CampaignToSocialPostMaxAggregateOutputType | null
|
|
54618
|
+
}
|
|
54619
|
+
|
|
54620
|
+
type GetCampaignToSocialPostGroupByPayload<T extends CampaignToSocialPostGroupByArgs> = Prisma.PrismaPromise<
|
|
54621
|
+
Array<
|
|
54622
|
+
PickEnumerable<CampaignToSocialPostGroupByOutputType, T['by']> &
|
|
54623
|
+
{
|
|
54624
|
+
[P in ((keyof T) & (keyof CampaignToSocialPostGroupByOutputType))]: P extends '_count'
|
|
54625
|
+
? T[P] extends boolean
|
|
54626
|
+
? number
|
|
54627
|
+
: GetScalarType<T[P], CampaignToSocialPostGroupByOutputType[P]>
|
|
54628
|
+
: GetScalarType<T[P], CampaignToSocialPostGroupByOutputType[P]>
|
|
54629
|
+
}
|
|
54630
|
+
>
|
|
54631
|
+
>
|
|
54632
|
+
|
|
54633
|
+
|
|
54634
|
+
export type CampaignToSocialPostSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
54635
|
+
campaignId?: boolean
|
|
54636
|
+
socialPostId?: boolean
|
|
54637
|
+
status?: boolean
|
|
54638
|
+
created?: boolean
|
|
54639
|
+
metaData?: boolean
|
|
54640
|
+
campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
|
54641
|
+
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
54642
|
+
}, ExtArgs["result"]["campaignToSocialPost"]>
|
|
54643
|
+
|
|
54644
|
+
export type CampaignToSocialPostSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
54645
|
+
campaignId?: boolean
|
|
54646
|
+
socialPostId?: boolean
|
|
54647
|
+
status?: boolean
|
|
54648
|
+
created?: boolean
|
|
54649
|
+
metaData?: boolean
|
|
54650
|
+
campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
|
54651
|
+
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
54652
|
+
}, ExtArgs["result"]["campaignToSocialPost"]>
|
|
54653
|
+
|
|
54654
|
+
export type CampaignToSocialPostSelectScalar = {
|
|
54655
|
+
campaignId?: boolean
|
|
54656
|
+
socialPostId?: boolean
|
|
54657
|
+
status?: boolean
|
|
54658
|
+
created?: boolean
|
|
54659
|
+
metaData?: boolean
|
|
54660
|
+
}
|
|
54661
|
+
|
|
54662
|
+
export type CampaignToSocialPostInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54663
|
+
campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
|
54664
|
+
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
54665
|
+
}
|
|
54666
|
+
export type CampaignToSocialPostIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54667
|
+
campaign?: boolean | CampaignDefaultArgs<ExtArgs>
|
|
54668
|
+
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
54669
|
+
}
|
|
54670
|
+
|
|
54671
|
+
export type $CampaignToSocialPostPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
54672
|
+
name: "CampaignToSocialPost"
|
|
54673
|
+
objects: {
|
|
54674
|
+
campaign: Prisma.$CampaignPayload<ExtArgs>
|
|
54675
|
+
socialPost: Prisma.$SocialPostPayload<ExtArgs>
|
|
54676
|
+
}
|
|
54677
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
54678
|
+
campaignId: number
|
|
54679
|
+
socialPostId: number
|
|
54680
|
+
status: $Enums.CampaignToSocialPostStatus
|
|
54681
|
+
created: Date
|
|
54682
|
+
metaData: Prisma.JsonValue
|
|
54683
|
+
}, ExtArgs["result"]["campaignToSocialPost"]>
|
|
54684
|
+
composites: {}
|
|
54685
|
+
}
|
|
54686
|
+
|
|
54687
|
+
type CampaignToSocialPostGetPayload<S extends boolean | null | undefined | CampaignToSocialPostDefaultArgs> = $Result.GetResult<Prisma.$CampaignToSocialPostPayload, S>
|
|
54688
|
+
|
|
54689
|
+
type CampaignToSocialPostCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
54690
|
+
Omit<CampaignToSocialPostFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
54691
|
+
select?: CampaignToSocialPostCountAggregateInputType | true
|
|
54692
|
+
}
|
|
54693
|
+
|
|
54694
|
+
export interface CampaignToSocialPostDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
54695
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CampaignToSocialPost'], meta: { name: 'CampaignToSocialPost' } }
|
|
54696
|
+
/**
|
|
54697
|
+
* Find zero or one CampaignToSocialPost that matches the filter.
|
|
54698
|
+
* @param {CampaignToSocialPostFindUniqueArgs} args - Arguments to find a CampaignToSocialPost
|
|
54699
|
+
* @example
|
|
54700
|
+
* // Get one CampaignToSocialPost
|
|
54701
|
+
* const campaignToSocialPost = await prisma.campaignToSocialPost.findUnique({
|
|
54702
|
+
* where: {
|
|
54703
|
+
* // ... provide filter here
|
|
54704
|
+
* }
|
|
54705
|
+
* })
|
|
54706
|
+
**/
|
|
54707
|
+
findUnique<T extends CampaignToSocialPostFindUniqueArgs<ExtArgs>>(
|
|
54708
|
+
args: SelectSubset<T, CampaignToSocialPostFindUniqueArgs<ExtArgs>>
|
|
54709
|
+
): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
|
|
54710
|
+
|
|
54711
|
+
/**
|
|
54712
|
+
* Find one CampaignToSocialPost that matches the filter or throw an error with `error.code='P2025'`
|
|
54713
|
+
* if no matches were found.
|
|
54714
|
+
* @param {CampaignToSocialPostFindUniqueOrThrowArgs} args - Arguments to find a CampaignToSocialPost
|
|
54715
|
+
* @example
|
|
54716
|
+
* // Get one CampaignToSocialPost
|
|
54717
|
+
* const campaignToSocialPost = await prisma.campaignToSocialPost.findUniqueOrThrow({
|
|
54718
|
+
* where: {
|
|
54719
|
+
* // ... provide filter here
|
|
54720
|
+
* }
|
|
54721
|
+
* })
|
|
54722
|
+
**/
|
|
54723
|
+
findUniqueOrThrow<T extends CampaignToSocialPostFindUniqueOrThrowArgs<ExtArgs>>(
|
|
54724
|
+
args?: SelectSubset<T, CampaignToSocialPostFindUniqueOrThrowArgs<ExtArgs>>
|
|
54725
|
+
): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
|
|
54726
|
+
|
|
54727
|
+
/**
|
|
54728
|
+
* Find the first CampaignToSocialPost that matches the filter.
|
|
54729
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
54730
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
54731
|
+
* @param {CampaignToSocialPostFindFirstArgs} args - Arguments to find a CampaignToSocialPost
|
|
54732
|
+
* @example
|
|
54733
|
+
* // Get one CampaignToSocialPost
|
|
54734
|
+
* const campaignToSocialPost = await prisma.campaignToSocialPost.findFirst({
|
|
54735
|
+
* where: {
|
|
54736
|
+
* // ... provide filter here
|
|
54737
|
+
* }
|
|
54738
|
+
* })
|
|
54739
|
+
**/
|
|
54740
|
+
findFirst<T extends CampaignToSocialPostFindFirstArgs<ExtArgs>>(
|
|
54741
|
+
args?: SelectSubset<T, CampaignToSocialPostFindFirstArgs<ExtArgs>>
|
|
54742
|
+
): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
|
|
54743
|
+
|
|
54744
|
+
/**
|
|
54745
|
+
* Find the first CampaignToSocialPost that matches the filter or
|
|
54746
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
54747
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
54748
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
54749
|
+
* @param {CampaignToSocialPostFindFirstOrThrowArgs} args - Arguments to find a CampaignToSocialPost
|
|
54750
|
+
* @example
|
|
54751
|
+
* // Get one CampaignToSocialPost
|
|
54752
|
+
* const campaignToSocialPost = await prisma.campaignToSocialPost.findFirstOrThrow({
|
|
54753
|
+
* where: {
|
|
54754
|
+
* // ... provide filter here
|
|
54755
|
+
* }
|
|
54756
|
+
* })
|
|
54757
|
+
**/
|
|
54758
|
+
findFirstOrThrow<T extends CampaignToSocialPostFindFirstOrThrowArgs<ExtArgs>>(
|
|
54759
|
+
args?: SelectSubset<T, CampaignToSocialPostFindFirstOrThrowArgs<ExtArgs>>
|
|
54760
|
+
): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
|
|
54761
|
+
|
|
54762
|
+
/**
|
|
54763
|
+
* Find zero or more CampaignToSocialPosts that matches the filter.
|
|
54764
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
54765
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
54766
|
+
* @param {CampaignToSocialPostFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
54767
|
+
* @example
|
|
54768
|
+
* // Get all CampaignToSocialPosts
|
|
54769
|
+
* const campaignToSocialPosts = await prisma.campaignToSocialPost.findMany()
|
|
54770
|
+
*
|
|
54771
|
+
* // Get first 10 CampaignToSocialPosts
|
|
54772
|
+
* const campaignToSocialPosts = await prisma.campaignToSocialPost.findMany({ take: 10 })
|
|
54773
|
+
*
|
|
54774
|
+
* // Only select the `campaignId`
|
|
54775
|
+
* const campaignToSocialPostWithCampaignIdOnly = await prisma.campaignToSocialPost.findMany({ select: { campaignId: true } })
|
|
54776
|
+
*
|
|
54777
|
+
**/
|
|
54778
|
+
findMany<T extends CampaignToSocialPostFindManyArgs<ExtArgs>>(
|
|
54779
|
+
args?: SelectSubset<T, CampaignToSocialPostFindManyArgs<ExtArgs>>
|
|
54780
|
+
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findMany'>>
|
|
54781
|
+
|
|
54782
|
+
/**
|
|
54783
|
+
* Create a CampaignToSocialPost.
|
|
54784
|
+
* @param {CampaignToSocialPostCreateArgs} args - Arguments to create a CampaignToSocialPost.
|
|
54785
|
+
* @example
|
|
54786
|
+
* // Create one CampaignToSocialPost
|
|
54787
|
+
* const CampaignToSocialPost = await prisma.campaignToSocialPost.create({
|
|
54788
|
+
* data: {
|
|
54789
|
+
* // ... data to create a CampaignToSocialPost
|
|
54790
|
+
* }
|
|
54791
|
+
* })
|
|
54792
|
+
*
|
|
54793
|
+
**/
|
|
54794
|
+
create<T extends CampaignToSocialPostCreateArgs<ExtArgs>>(
|
|
54795
|
+
args: SelectSubset<T, CampaignToSocialPostCreateArgs<ExtArgs>>
|
|
54796
|
+
): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
|
|
54797
|
+
|
|
54798
|
+
/**
|
|
54799
|
+
* Create many CampaignToSocialPosts.
|
|
54800
|
+
* @param {CampaignToSocialPostCreateManyArgs} args - Arguments to create many CampaignToSocialPosts.
|
|
54801
|
+
* @example
|
|
54802
|
+
* // Create many CampaignToSocialPosts
|
|
54803
|
+
* const campaignToSocialPost = await prisma.campaignToSocialPost.createMany({
|
|
54804
|
+
* data: [
|
|
54805
|
+
* // ... provide data here
|
|
54806
|
+
* ]
|
|
54807
|
+
* })
|
|
54808
|
+
*
|
|
54809
|
+
**/
|
|
54810
|
+
createMany<T extends CampaignToSocialPostCreateManyArgs<ExtArgs>>(
|
|
54811
|
+
args?: SelectSubset<T, CampaignToSocialPostCreateManyArgs<ExtArgs>>
|
|
54812
|
+
): Prisma.PrismaPromise<BatchPayload>
|
|
54813
|
+
|
|
54814
|
+
/**
|
|
54815
|
+
* Create many CampaignToSocialPosts and returns the data saved in the database.
|
|
54816
|
+
* @param {CampaignToSocialPostCreateManyAndReturnArgs} args - Arguments to create many CampaignToSocialPosts.
|
|
54817
|
+
* @example
|
|
54818
|
+
* // Create many CampaignToSocialPosts
|
|
54819
|
+
* const campaignToSocialPost = await prisma.campaignToSocialPost.createManyAndReturn({
|
|
54820
|
+
* data: [
|
|
54821
|
+
* // ... provide data here
|
|
54822
|
+
* ]
|
|
54823
|
+
* })
|
|
54824
|
+
*
|
|
54825
|
+
* // Create many CampaignToSocialPosts and only return the `campaignId`
|
|
54826
|
+
* const campaignToSocialPostWithCampaignIdOnly = await prisma.campaignToSocialPost.createManyAndReturn({
|
|
54827
|
+
* select: { campaignId: true },
|
|
54828
|
+
* data: [
|
|
54829
|
+
* // ... provide data here
|
|
54830
|
+
* ]
|
|
54831
|
+
* })
|
|
54832
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
54833
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
54834
|
+
*
|
|
54835
|
+
**/
|
|
54836
|
+
createManyAndReturn<T extends CampaignToSocialPostCreateManyAndReturnArgs<ExtArgs>>(
|
|
54837
|
+
args?: SelectSubset<T, CampaignToSocialPostCreateManyAndReturnArgs<ExtArgs>>
|
|
54838
|
+
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'createManyAndReturn'>>
|
|
54839
|
+
|
|
54840
|
+
/**
|
|
54841
|
+
* Delete a CampaignToSocialPost.
|
|
54842
|
+
* @param {CampaignToSocialPostDeleteArgs} args - Arguments to delete one CampaignToSocialPost.
|
|
54843
|
+
* @example
|
|
54844
|
+
* // Delete one CampaignToSocialPost
|
|
54845
|
+
* const CampaignToSocialPost = await prisma.campaignToSocialPost.delete({
|
|
54846
|
+
* where: {
|
|
54847
|
+
* // ... filter to delete one CampaignToSocialPost
|
|
54848
|
+
* }
|
|
54849
|
+
* })
|
|
54850
|
+
*
|
|
54851
|
+
**/
|
|
54852
|
+
delete<T extends CampaignToSocialPostDeleteArgs<ExtArgs>>(
|
|
54853
|
+
args: SelectSubset<T, CampaignToSocialPostDeleteArgs<ExtArgs>>
|
|
54854
|
+
): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
|
|
54855
|
+
|
|
54856
|
+
/**
|
|
54857
|
+
* Update one CampaignToSocialPost.
|
|
54858
|
+
* @param {CampaignToSocialPostUpdateArgs} args - Arguments to update one CampaignToSocialPost.
|
|
54859
|
+
* @example
|
|
54860
|
+
* // Update one CampaignToSocialPost
|
|
54861
|
+
* const campaignToSocialPost = await prisma.campaignToSocialPost.update({
|
|
54862
|
+
* where: {
|
|
54863
|
+
* // ... provide filter here
|
|
54864
|
+
* },
|
|
54865
|
+
* data: {
|
|
54866
|
+
* // ... provide data here
|
|
54867
|
+
* }
|
|
54868
|
+
* })
|
|
54869
|
+
*
|
|
54870
|
+
**/
|
|
54871
|
+
update<T extends CampaignToSocialPostUpdateArgs<ExtArgs>>(
|
|
54872
|
+
args: SelectSubset<T, CampaignToSocialPostUpdateArgs<ExtArgs>>
|
|
54873
|
+
): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
|
|
54874
|
+
|
|
54875
|
+
/**
|
|
54876
|
+
* Delete zero or more CampaignToSocialPosts.
|
|
54877
|
+
* @param {CampaignToSocialPostDeleteManyArgs} args - Arguments to filter CampaignToSocialPosts to delete.
|
|
54878
|
+
* @example
|
|
54879
|
+
* // Delete a few CampaignToSocialPosts
|
|
54880
|
+
* const { count } = await prisma.campaignToSocialPost.deleteMany({
|
|
54881
|
+
* where: {
|
|
54882
|
+
* // ... provide filter here
|
|
54883
|
+
* }
|
|
54884
|
+
* })
|
|
54885
|
+
*
|
|
54886
|
+
**/
|
|
54887
|
+
deleteMany<T extends CampaignToSocialPostDeleteManyArgs<ExtArgs>>(
|
|
54888
|
+
args?: SelectSubset<T, CampaignToSocialPostDeleteManyArgs<ExtArgs>>
|
|
54889
|
+
): Prisma.PrismaPromise<BatchPayload>
|
|
54890
|
+
|
|
54891
|
+
/**
|
|
54892
|
+
* Update zero or more CampaignToSocialPosts.
|
|
54893
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
54894
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
54895
|
+
* @param {CampaignToSocialPostUpdateManyArgs} args - Arguments to update one or more rows.
|
|
54896
|
+
* @example
|
|
54897
|
+
* // Update many CampaignToSocialPosts
|
|
54898
|
+
* const campaignToSocialPost = await prisma.campaignToSocialPost.updateMany({
|
|
54899
|
+
* where: {
|
|
54900
|
+
* // ... provide filter here
|
|
54901
|
+
* },
|
|
54902
|
+
* data: {
|
|
54903
|
+
* // ... provide data here
|
|
54904
|
+
* }
|
|
54905
|
+
* })
|
|
54906
|
+
*
|
|
54907
|
+
**/
|
|
54908
|
+
updateMany<T extends CampaignToSocialPostUpdateManyArgs<ExtArgs>>(
|
|
54909
|
+
args: SelectSubset<T, CampaignToSocialPostUpdateManyArgs<ExtArgs>>
|
|
54910
|
+
): Prisma.PrismaPromise<BatchPayload>
|
|
54911
|
+
|
|
54912
|
+
/**
|
|
54913
|
+
* Create or update one CampaignToSocialPost.
|
|
54914
|
+
* @param {CampaignToSocialPostUpsertArgs} args - Arguments to update or create a CampaignToSocialPost.
|
|
54915
|
+
* @example
|
|
54916
|
+
* // Update or create a CampaignToSocialPost
|
|
54917
|
+
* const campaignToSocialPost = await prisma.campaignToSocialPost.upsert({
|
|
54918
|
+
* create: {
|
|
54919
|
+
* // ... data to create a CampaignToSocialPost
|
|
54920
|
+
* },
|
|
54921
|
+
* update: {
|
|
54922
|
+
* // ... in case it already exists, update
|
|
54923
|
+
* },
|
|
54924
|
+
* where: {
|
|
54925
|
+
* // ... the filter for the CampaignToSocialPost we want to update
|
|
54926
|
+
* }
|
|
54927
|
+
* })
|
|
54928
|
+
**/
|
|
54929
|
+
upsert<T extends CampaignToSocialPostUpsertArgs<ExtArgs>>(
|
|
54930
|
+
args: SelectSubset<T, CampaignToSocialPostUpsertArgs<ExtArgs>>
|
|
54931
|
+
): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
|
|
54932
|
+
|
|
54933
|
+
/**
|
|
54934
|
+
* Count the number of CampaignToSocialPosts.
|
|
54935
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
54936
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
54937
|
+
* @param {CampaignToSocialPostCountArgs} args - Arguments to filter CampaignToSocialPosts to count.
|
|
54938
|
+
* @example
|
|
54939
|
+
* // Count the number of CampaignToSocialPosts
|
|
54940
|
+
* const count = await prisma.campaignToSocialPost.count({
|
|
54941
|
+
* where: {
|
|
54942
|
+
* // ... the filter for the CampaignToSocialPosts we want to count
|
|
54943
|
+
* }
|
|
54944
|
+
* })
|
|
54945
|
+
**/
|
|
54946
|
+
count<T extends CampaignToSocialPostCountArgs>(
|
|
54947
|
+
args?: Subset<T, CampaignToSocialPostCountArgs>,
|
|
54948
|
+
): Prisma.PrismaPromise<
|
|
54949
|
+
T extends $Utils.Record<'select', any>
|
|
54950
|
+
? T['select'] extends true
|
|
54951
|
+
? number
|
|
54952
|
+
: GetScalarType<T['select'], CampaignToSocialPostCountAggregateOutputType>
|
|
54953
|
+
: number
|
|
54954
|
+
>
|
|
54955
|
+
|
|
54956
|
+
/**
|
|
54957
|
+
* Allows you to perform aggregations operations on a CampaignToSocialPost.
|
|
54958
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
54959
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
54960
|
+
* @param {CampaignToSocialPostAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
54961
|
+
* @example
|
|
54962
|
+
* // Ordered by age ascending
|
|
54963
|
+
* // Where email contains prisma.io
|
|
54964
|
+
* // Limited to the 10 users
|
|
54965
|
+
* const aggregations = await prisma.user.aggregate({
|
|
54966
|
+
* _avg: {
|
|
54967
|
+
* age: true,
|
|
54968
|
+
* },
|
|
54969
|
+
* where: {
|
|
54970
|
+
* email: {
|
|
54971
|
+
* contains: "prisma.io",
|
|
54972
|
+
* },
|
|
54973
|
+
* },
|
|
54974
|
+
* orderBy: {
|
|
54975
|
+
* age: "asc",
|
|
54976
|
+
* },
|
|
54977
|
+
* take: 10,
|
|
54978
|
+
* })
|
|
54979
|
+
**/
|
|
54980
|
+
aggregate<T extends CampaignToSocialPostAggregateArgs>(args: Subset<T, CampaignToSocialPostAggregateArgs>): Prisma.PrismaPromise<GetCampaignToSocialPostAggregateType<T>>
|
|
54981
|
+
|
|
54982
|
+
/**
|
|
54983
|
+
* Group by CampaignToSocialPost.
|
|
54984
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
54985
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
54986
|
+
* @param {CampaignToSocialPostGroupByArgs} args - Group by arguments.
|
|
54987
|
+
* @example
|
|
54988
|
+
* // Group by city, order by createdAt, get count
|
|
54989
|
+
* const result = await prisma.user.groupBy({
|
|
54990
|
+
* by: ['city', 'createdAt'],
|
|
54991
|
+
* orderBy: {
|
|
54992
|
+
* createdAt: true
|
|
54993
|
+
* },
|
|
54994
|
+
* _count: {
|
|
54995
|
+
* _all: true
|
|
54996
|
+
* },
|
|
54997
|
+
* })
|
|
54998
|
+
*
|
|
54999
|
+
**/
|
|
55000
|
+
groupBy<
|
|
55001
|
+
T extends CampaignToSocialPostGroupByArgs,
|
|
55002
|
+
HasSelectOrTake extends Or<
|
|
55003
|
+
Extends<'skip', Keys<T>>,
|
|
55004
|
+
Extends<'take', Keys<T>>
|
|
55005
|
+
>,
|
|
55006
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
55007
|
+
? { orderBy: CampaignToSocialPostGroupByArgs['orderBy'] }
|
|
55008
|
+
: { orderBy?: CampaignToSocialPostGroupByArgs['orderBy'] },
|
|
53848
55009
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
53849
55010
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
53850
55011
|
ByValid extends Has<ByFields, OrderFields>,
|
|
@@ -80278,7 +81439,7 @@ export namespace Prisma {
|
|
|
80278
81439
|
amount: number | null
|
|
80279
81440
|
commission: number | null
|
|
80280
81441
|
metaData: JsonValue
|
|
80281
|
-
userId: number
|
|
81442
|
+
userId: number | null
|
|
80282
81443
|
brandId: number | null
|
|
80283
81444
|
optInId: number | null
|
|
80284
81445
|
_count: ImpactRadiusEventCountAggregateOutputType | null
|
|
@@ -80312,7 +81473,7 @@ export namespace Prisma {
|
|
|
80312
81473
|
userId?: boolean
|
|
80313
81474
|
brandId?: boolean
|
|
80314
81475
|
optInId?: boolean
|
|
80315
|
-
user?: boolean |
|
|
81476
|
+
user?: boolean | ImpactRadiusEvent$userArgs<ExtArgs>
|
|
80316
81477
|
brand?: boolean | ImpactRadiusEvent$brandArgs<ExtArgs>
|
|
80317
81478
|
optIn?: boolean | ImpactRadiusEvent$optInArgs<ExtArgs>
|
|
80318
81479
|
}, ExtArgs["result"]["impactRadiusEvent"]>
|
|
@@ -80327,7 +81488,7 @@ export namespace Prisma {
|
|
|
80327
81488
|
userId?: boolean
|
|
80328
81489
|
brandId?: boolean
|
|
80329
81490
|
optInId?: boolean
|
|
80330
|
-
user?: boolean |
|
|
81491
|
+
user?: boolean | ImpactRadiusEvent$userArgs<ExtArgs>
|
|
80331
81492
|
brand?: boolean | ImpactRadiusEvent$brandArgs<ExtArgs>
|
|
80332
81493
|
optIn?: boolean | ImpactRadiusEvent$optInArgs<ExtArgs>
|
|
80333
81494
|
}, ExtArgs["result"]["impactRadiusEvent"]>
|
|
@@ -80345,12 +81506,12 @@ export namespace Prisma {
|
|
|
80345
81506
|
}
|
|
80346
81507
|
|
|
80347
81508
|
export type ImpactRadiusEventInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
80348
|
-
user?: boolean |
|
|
81509
|
+
user?: boolean | ImpactRadiusEvent$userArgs<ExtArgs>
|
|
80349
81510
|
brand?: boolean | ImpactRadiusEvent$brandArgs<ExtArgs>
|
|
80350
81511
|
optIn?: boolean | ImpactRadiusEvent$optInArgs<ExtArgs>
|
|
80351
81512
|
}
|
|
80352
81513
|
export type ImpactRadiusEventIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
80353
|
-
user?: boolean |
|
|
81514
|
+
user?: boolean | ImpactRadiusEvent$userArgs<ExtArgs>
|
|
80354
81515
|
brand?: boolean | ImpactRadiusEvent$brandArgs<ExtArgs>
|
|
80355
81516
|
optIn?: boolean | ImpactRadiusEvent$optInArgs<ExtArgs>
|
|
80356
81517
|
}
|
|
@@ -80358,7 +81519,7 @@ export namespace Prisma {
|
|
|
80358
81519
|
export type $ImpactRadiusEventPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
80359
81520
|
name: "ImpactRadiusEvent"
|
|
80360
81521
|
objects: {
|
|
80361
|
-
user: Prisma.$UserPayload<ExtArgs>
|
|
81522
|
+
user: Prisma.$UserPayload<ExtArgs> | null
|
|
80362
81523
|
brand: Prisma.$BrandPayload<ExtArgs> | null
|
|
80363
81524
|
optIn: Prisma.$OptInPayload<ExtArgs> | null
|
|
80364
81525
|
}
|
|
@@ -80369,7 +81530,7 @@ export namespace Prisma {
|
|
|
80369
81530
|
amount: number | null
|
|
80370
81531
|
commission: number | null
|
|
80371
81532
|
metaData: Prisma.JsonValue
|
|
80372
|
-
userId: number
|
|
81533
|
+
userId: number | null
|
|
80373
81534
|
brandId: number | null
|
|
80374
81535
|
optInId: number | null
|
|
80375
81536
|
}, ExtArgs["result"]["impactRadiusEvent"]>
|
|
@@ -80762,7 +81923,7 @@ export namespace Prisma {
|
|
|
80762
81923
|
export interface Prisma__ImpactRadiusEventClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
80763
81924
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
80764
81925
|
|
|
80765
|
-
user<T extends
|
|
81926
|
+
user<T extends ImpactRadiusEvent$userArgs<ExtArgs> = {}>(args?: Subset<T, ImpactRadiusEvent$userArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
80766
81927
|
|
|
80767
81928
|
brand<T extends ImpactRadiusEvent$brandArgs<ExtArgs> = {}>(args?: Subset<T, ImpactRadiusEvent$brandArgs<ExtArgs>>): Prisma__BrandClient<$Result.GetResult<Prisma.$BrandPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
80768
81929
|
|
|
@@ -81122,6 +82283,21 @@ export namespace Prisma {
|
|
|
81122
82283
|
where?: ImpactRadiusEventWhereInput
|
|
81123
82284
|
}
|
|
81124
82285
|
|
|
82286
|
+
/**
|
|
82287
|
+
* ImpactRadiusEvent.user
|
|
82288
|
+
*/
|
|
82289
|
+
export type ImpactRadiusEvent$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
82290
|
+
/**
|
|
82291
|
+
* Select specific fields to fetch from the User
|
|
82292
|
+
*/
|
|
82293
|
+
select?: UserSelect<ExtArgs> | null
|
|
82294
|
+
/**
|
|
82295
|
+
* Choose, which related nodes to fetch as well
|
|
82296
|
+
*/
|
|
82297
|
+
include?: UserInclude<ExtArgs> | null
|
|
82298
|
+
where?: UserWhereInput
|
|
82299
|
+
}
|
|
82300
|
+
|
|
81125
82301
|
/**
|
|
81126
82302
|
* ImpactRadiusEvent.brand
|
|
81127
82303
|
*/
|
|
@@ -81379,7 +82555,7 @@ export namespace Prisma {
|
|
|
81379
82555
|
amount: number | null
|
|
81380
82556
|
commission: number | null
|
|
81381
82557
|
metaData: JsonValue
|
|
81382
|
-
userId: number
|
|
82558
|
+
userId: number | null
|
|
81383
82559
|
brandId: number | null
|
|
81384
82560
|
optInId: number | null
|
|
81385
82561
|
_count: CjEventCountAggregateOutputType | null
|
|
@@ -81413,7 +82589,7 @@ export namespace Prisma {
|
|
|
81413
82589
|
userId?: boolean
|
|
81414
82590
|
brandId?: boolean
|
|
81415
82591
|
optInId?: boolean
|
|
81416
|
-
user?: boolean |
|
|
82592
|
+
user?: boolean | CjEvent$userArgs<ExtArgs>
|
|
81417
82593
|
brand?: boolean | CjEvent$brandArgs<ExtArgs>
|
|
81418
82594
|
optIn?: boolean | CjEvent$optInArgs<ExtArgs>
|
|
81419
82595
|
}, ExtArgs["result"]["cjEvent"]>
|
|
@@ -81428,7 +82604,7 @@ export namespace Prisma {
|
|
|
81428
82604
|
userId?: boolean
|
|
81429
82605
|
brandId?: boolean
|
|
81430
82606
|
optInId?: boolean
|
|
81431
|
-
user?: boolean |
|
|
82607
|
+
user?: boolean | CjEvent$userArgs<ExtArgs>
|
|
81432
82608
|
brand?: boolean | CjEvent$brandArgs<ExtArgs>
|
|
81433
82609
|
optIn?: boolean | CjEvent$optInArgs<ExtArgs>
|
|
81434
82610
|
}, ExtArgs["result"]["cjEvent"]>
|
|
@@ -81446,12 +82622,12 @@ export namespace Prisma {
|
|
|
81446
82622
|
}
|
|
81447
82623
|
|
|
81448
82624
|
export type CjEventInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
81449
|
-
user?: boolean |
|
|
82625
|
+
user?: boolean | CjEvent$userArgs<ExtArgs>
|
|
81450
82626
|
brand?: boolean | CjEvent$brandArgs<ExtArgs>
|
|
81451
82627
|
optIn?: boolean | CjEvent$optInArgs<ExtArgs>
|
|
81452
82628
|
}
|
|
81453
82629
|
export type CjEventIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
81454
|
-
user?: boolean |
|
|
82630
|
+
user?: boolean | CjEvent$userArgs<ExtArgs>
|
|
81455
82631
|
brand?: boolean | CjEvent$brandArgs<ExtArgs>
|
|
81456
82632
|
optIn?: boolean | CjEvent$optInArgs<ExtArgs>
|
|
81457
82633
|
}
|
|
@@ -81459,7 +82635,7 @@ export namespace Prisma {
|
|
|
81459
82635
|
export type $CjEventPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
81460
82636
|
name: "CjEvent"
|
|
81461
82637
|
objects: {
|
|
81462
|
-
user: Prisma.$UserPayload<ExtArgs>
|
|
82638
|
+
user: Prisma.$UserPayload<ExtArgs> | null
|
|
81463
82639
|
brand: Prisma.$BrandPayload<ExtArgs> | null
|
|
81464
82640
|
optIn: Prisma.$OptInPayload<ExtArgs> | null
|
|
81465
82641
|
}
|
|
@@ -81470,7 +82646,7 @@ export namespace Prisma {
|
|
|
81470
82646
|
amount: number | null
|
|
81471
82647
|
commission: number | null
|
|
81472
82648
|
metaData: Prisma.JsonValue
|
|
81473
|
-
userId: number
|
|
82649
|
+
userId: number | null
|
|
81474
82650
|
brandId: number | null
|
|
81475
82651
|
optInId: number | null
|
|
81476
82652
|
}, ExtArgs["result"]["cjEvent"]>
|
|
@@ -81863,7 +83039,7 @@ export namespace Prisma {
|
|
|
81863
83039
|
export interface Prisma__CjEventClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
81864
83040
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
81865
83041
|
|
|
81866
|
-
user<T extends
|
|
83042
|
+
user<T extends CjEvent$userArgs<ExtArgs> = {}>(args?: Subset<T, CjEvent$userArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
81867
83043
|
|
|
81868
83044
|
brand<T extends CjEvent$brandArgs<ExtArgs> = {}>(args?: Subset<T, CjEvent$brandArgs<ExtArgs>>): Prisma__BrandClient<$Result.GetResult<Prisma.$BrandPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
81869
83045
|
|
|
@@ -82223,6 +83399,21 @@ export namespace Prisma {
|
|
|
82223
83399
|
where?: CjEventWhereInput
|
|
82224
83400
|
}
|
|
82225
83401
|
|
|
83402
|
+
/**
|
|
83403
|
+
* CjEvent.user
|
|
83404
|
+
*/
|
|
83405
|
+
export type CjEvent$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
83406
|
+
/**
|
|
83407
|
+
* Select specific fields to fetch from the User
|
|
83408
|
+
*/
|
|
83409
|
+
select?: UserSelect<ExtArgs> | null
|
|
83410
|
+
/**
|
|
83411
|
+
* Choose, which related nodes to fetch as well
|
|
83412
|
+
*/
|
|
83413
|
+
include?: UserInclude<ExtArgs> | null
|
|
83414
|
+
where?: UserWhereInput
|
|
83415
|
+
}
|
|
83416
|
+
|
|
82226
83417
|
/**
|
|
82227
83418
|
* CjEvent.brand
|
|
82228
83419
|
*/
|
|
@@ -100772,6 +101963,19 @@ export namespace Prisma {
|
|
|
100772
101963
|
export type SocialPostScalarFieldEnum = (typeof SocialPostScalarFieldEnum)[keyof typeof SocialPostScalarFieldEnum]
|
|
100773
101964
|
|
|
100774
101965
|
|
|
101966
|
+
export const PublicSocialPostScalarFieldEnum: {
|
|
101967
|
+
id: 'id',
|
|
101968
|
+
socialPostId: 'socialPostId',
|
|
101969
|
+
views: 'views',
|
|
101970
|
+
likes: 'likes',
|
|
101971
|
+
comments: 'comments',
|
|
101972
|
+
saves: 'saves',
|
|
101973
|
+
shares: 'shares'
|
|
101974
|
+
};
|
|
101975
|
+
|
|
101976
|
+
export type PublicSocialPostScalarFieldEnum = (typeof PublicSocialPostScalarFieldEnum)[keyof typeof PublicSocialPostScalarFieldEnum]
|
|
101977
|
+
|
|
101978
|
+
|
|
100775
101979
|
export const CampaignToSocialPostScalarFieldEnum: {
|
|
100776
101980
|
campaignId: 'campaignId',
|
|
100777
101981
|
socialPostId: 'socialPostId',
|
|
@@ -105583,6 +106787,7 @@ export namespace Prisma {
|
|
|
105583
106787
|
campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
|
|
105584
106788
|
lists?: ListToSocialPostListRelationFilter
|
|
105585
106789
|
campaigns?: CampaignToSocialPostListRelationFilter
|
|
106790
|
+
publicPosts?: PublicSocialPostListRelationFilter
|
|
105586
106791
|
}
|
|
105587
106792
|
|
|
105588
106793
|
export type SocialPostOrderByWithRelationAndSearchRelevanceInput = {
|
|
@@ -105623,6 +106828,7 @@ export namespace Prisma {
|
|
|
105623
106828
|
campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
|
|
105624
106829
|
lists?: ListToSocialPostOrderByRelationAggregateInput
|
|
105625
106830
|
campaigns?: CampaignToSocialPostOrderByRelationAggregateInput
|
|
106831
|
+
publicPosts?: PublicSocialPostOrderByRelationAggregateInput
|
|
105626
106832
|
_relevance?: SocialPostOrderByRelevanceInput
|
|
105627
106833
|
}
|
|
105628
106834
|
|
|
@@ -105668,6 +106874,7 @@ export namespace Prisma {
|
|
|
105668
106874
|
campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
|
|
105669
106875
|
lists?: ListToSocialPostListRelationFilter
|
|
105670
106876
|
campaigns?: CampaignToSocialPostListRelationFilter
|
|
106877
|
+
publicPosts?: PublicSocialPostListRelationFilter
|
|
105671
106878
|
}, "id" | "phylloId" | "platform_externalId">
|
|
105672
106879
|
|
|
105673
106880
|
export type SocialPostOrderByWithAggregationInput = {
|
|
@@ -105750,6 +106957,73 @@ export namespace Prisma {
|
|
|
105750
106957
|
campaignId?: IntNullableWithAggregatesFilter<"SocialPost"> | number | null
|
|
105751
106958
|
}
|
|
105752
106959
|
|
|
106960
|
+
export type PublicSocialPostWhereInput = {
|
|
106961
|
+
AND?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
|
|
106962
|
+
OR?: PublicSocialPostWhereInput[]
|
|
106963
|
+
NOT?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
|
|
106964
|
+
id?: IntFilter<"PublicSocialPost"> | number
|
|
106965
|
+
socialPostId?: IntFilter<"PublicSocialPost"> | number
|
|
106966
|
+
views?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106967
|
+
likes?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106968
|
+
comments?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106969
|
+
saves?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106970
|
+
shares?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106971
|
+
socialPost?: XOR<SocialPostRelationFilter, SocialPostWhereInput>
|
|
106972
|
+
}
|
|
106973
|
+
|
|
106974
|
+
export type PublicSocialPostOrderByWithRelationAndSearchRelevanceInput = {
|
|
106975
|
+
id?: SortOrder
|
|
106976
|
+
socialPostId?: SortOrder
|
|
106977
|
+
views?: SortOrderInput | SortOrder
|
|
106978
|
+
likes?: SortOrderInput | SortOrder
|
|
106979
|
+
comments?: SortOrderInput | SortOrder
|
|
106980
|
+
saves?: SortOrderInput | SortOrder
|
|
106981
|
+
shares?: SortOrderInput | SortOrder
|
|
106982
|
+
socialPost?: SocialPostOrderByWithRelationAndSearchRelevanceInput
|
|
106983
|
+
}
|
|
106984
|
+
|
|
106985
|
+
export type PublicSocialPostWhereUniqueInput = Prisma.AtLeast<{
|
|
106986
|
+
id?: number
|
|
106987
|
+
socialPostId?: number
|
|
106988
|
+
AND?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
|
|
106989
|
+
OR?: PublicSocialPostWhereInput[]
|
|
106990
|
+
NOT?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
|
|
106991
|
+
views?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106992
|
+
likes?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106993
|
+
comments?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106994
|
+
saves?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106995
|
+
shares?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106996
|
+
socialPost?: XOR<SocialPostRelationFilter, SocialPostWhereInput>
|
|
106997
|
+
}, "id" | "socialPostId">
|
|
106998
|
+
|
|
106999
|
+
export type PublicSocialPostOrderByWithAggregationInput = {
|
|
107000
|
+
id?: SortOrder
|
|
107001
|
+
socialPostId?: SortOrder
|
|
107002
|
+
views?: SortOrderInput | SortOrder
|
|
107003
|
+
likes?: SortOrderInput | SortOrder
|
|
107004
|
+
comments?: SortOrderInput | SortOrder
|
|
107005
|
+
saves?: SortOrderInput | SortOrder
|
|
107006
|
+
shares?: SortOrderInput | SortOrder
|
|
107007
|
+
_count?: PublicSocialPostCountOrderByAggregateInput
|
|
107008
|
+
_avg?: PublicSocialPostAvgOrderByAggregateInput
|
|
107009
|
+
_max?: PublicSocialPostMaxOrderByAggregateInput
|
|
107010
|
+
_min?: PublicSocialPostMinOrderByAggregateInput
|
|
107011
|
+
_sum?: PublicSocialPostSumOrderByAggregateInput
|
|
107012
|
+
}
|
|
107013
|
+
|
|
107014
|
+
export type PublicSocialPostScalarWhereWithAggregatesInput = {
|
|
107015
|
+
AND?: PublicSocialPostScalarWhereWithAggregatesInput | PublicSocialPostScalarWhereWithAggregatesInput[]
|
|
107016
|
+
OR?: PublicSocialPostScalarWhereWithAggregatesInput[]
|
|
107017
|
+
NOT?: PublicSocialPostScalarWhereWithAggregatesInput | PublicSocialPostScalarWhereWithAggregatesInput[]
|
|
107018
|
+
id?: IntWithAggregatesFilter<"PublicSocialPost"> | number
|
|
107019
|
+
socialPostId?: IntWithAggregatesFilter<"PublicSocialPost"> | number
|
|
107020
|
+
views?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
|
|
107021
|
+
likes?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
|
|
107022
|
+
comments?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
|
|
107023
|
+
saves?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
|
|
107024
|
+
shares?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
|
|
107025
|
+
}
|
|
107026
|
+
|
|
105753
107027
|
export type CampaignToSocialPostWhereInput = {
|
|
105754
107028
|
AND?: CampaignToSocialPostWhereInput | CampaignToSocialPostWhereInput[]
|
|
105755
107029
|
OR?: CampaignToSocialPostWhereInput[]
|
|
@@ -107729,10 +109003,10 @@ export namespace Prisma {
|
|
|
107729
109003
|
amount?: FloatNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
107730
109004
|
commission?: FloatNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
107731
109005
|
metaData?: JsonFilter<"ImpactRadiusEvent">
|
|
107732
|
-
userId?:
|
|
109006
|
+
userId?: IntNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
107733
109007
|
brandId?: IntNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
107734
109008
|
optInId?: IntNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
107735
|
-
user?: XOR<
|
|
109009
|
+
user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
|
|
107736
109010
|
brand?: XOR<BrandNullableRelationFilter, BrandWhereInput> | null
|
|
107737
109011
|
optIn?: XOR<OptInNullableRelationFilter, OptInWhereInput> | null
|
|
107738
109012
|
}
|
|
@@ -107744,7 +109018,7 @@ export namespace Prisma {
|
|
|
107744
109018
|
amount?: SortOrderInput | SortOrder
|
|
107745
109019
|
commission?: SortOrderInput | SortOrder
|
|
107746
109020
|
metaData?: SortOrder
|
|
107747
|
-
userId?: SortOrder
|
|
109021
|
+
userId?: SortOrderInput | SortOrder
|
|
107748
109022
|
brandId?: SortOrderInput | SortOrder
|
|
107749
109023
|
optInId?: SortOrderInput | SortOrder
|
|
107750
109024
|
user?: UserOrderByWithRelationAndSearchRelevanceInput
|
|
@@ -107763,10 +109037,10 @@ export namespace Prisma {
|
|
|
107763
109037
|
amount?: FloatNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
107764
109038
|
commission?: FloatNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
107765
109039
|
metaData?: JsonFilter<"ImpactRadiusEvent">
|
|
107766
|
-
userId?:
|
|
109040
|
+
userId?: IntNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
107767
109041
|
brandId?: IntNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
107768
109042
|
optInId?: IntNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
107769
|
-
user?: XOR<
|
|
109043
|
+
user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
|
|
107770
109044
|
brand?: XOR<BrandNullableRelationFilter, BrandWhereInput> | null
|
|
107771
109045
|
optIn?: XOR<OptInNullableRelationFilter, OptInWhereInput> | null
|
|
107772
109046
|
}, "id">
|
|
@@ -107778,7 +109052,7 @@ export namespace Prisma {
|
|
|
107778
109052
|
amount?: SortOrderInput | SortOrder
|
|
107779
109053
|
commission?: SortOrderInput | SortOrder
|
|
107780
109054
|
metaData?: SortOrder
|
|
107781
|
-
userId?: SortOrder
|
|
109055
|
+
userId?: SortOrderInput | SortOrder
|
|
107782
109056
|
brandId?: SortOrderInput | SortOrder
|
|
107783
109057
|
optInId?: SortOrderInput | SortOrder
|
|
107784
109058
|
_count?: ImpactRadiusEventCountOrderByAggregateInput
|
|
@@ -107798,7 +109072,7 @@ export namespace Prisma {
|
|
|
107798
109072
|
amount?: FloatNullableWithAggregatesFilter<"ImpactRadiusEvent"> | number | null
|
|
107799
109073
|
commission?: FloatNullableWithAggregatesFilter<"ImpactRadiusEvent"> | number | null
|
|
107800
109074
|
metaData?: JsonWithAggregatesFilter<"ImpactRadiusEvent">
|
|
107801
|
-
userId?:
|
|
109075
|
+
userId?: IntNullableWithAggregatesFilter<"ImpactRadiusEvent"> | number | null
|
|
107802
109076
|
brandId?: IntNullableWithAggregatesFilter<"ImpactRadiusEvent"> | number | null
|
|
107803
109077
|
optInId?: IntNullableWithAggregatesFilter<"ImpactRadiusEvent"> | number | null
|
|
107804
109078
|
}
|
|
@@ -107813,10 +109087,10 @@ export namespace Prisma {
|
|
|
107813
109087
|
amount?: FloatNullableFilter<"CjEvent"> | number | null
|
|
107814
109088
|
commission?: FloatNullableFilter<"CjEvent"> | number | null
|
|
107815
109089
|
metaData?: JsonFilter<"CjEvent">
|
|
107816
|
-
userId?:
|
|
109090
|
+
userId?: IntNullableFilter<"CjEvent"> | number | null
|
|
107817
109091
|
brandId?: IntNullableFilter<"CjEvent"> | number | null
|
|
107818
109092
|
optInId?: IntNullableFilter<"CjEvent"> | number | null
|
|
107819
|
-
user?: XOR<
|
|
109093
|
+
user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
|
|
107820
109094
|
brand?: XOR<BrandNullableRelationFilter, BrandWhereInput> | null
|
|
107821
109095
|
optIn?: XOR<OptInNullableRelationFilter, OptInWhereInput> | null
|
|
107822
109096
|
}
|
|
@@ -107828,7 +109102,7 @@ export namespace Prisma {
|
|
|
107828
109102
|
amount?: SortOrderInput | SortOrder
|
|
107829
109103
|
commission?: SortOrderInput | SortOrder
|
|
107830
109104
|
metaData?: SortOrder
|
|
107831
|
-
userId?: SortOrder
|
|
109105
|
+
userId?: SortOrderInput | SortOrder
|
|
107832
109106
|
brandId?: SortOrderInput | SortOrder
|
|
107833
109107
|
optInId?: SortOrderInput | SortOrder
|
|
107834
109108
|
user?: UserOrderByWithRelationAndSearchRelevanceInput
|
|
@@ -107847,10 +109121,10 @@ export namespace Prisma {
|
|
|
107847
109121
|
amount?: FloatNullableFilter<"CjEvent"> | number | null
|
|
107848
109122
|
commission?: FloatNullableFilter<"CjEvent"> | number | null
|
|
107849
109123
|
metaData?: JsonFilter<"CjEvent">
|
|
107850
|
-
userId?:
|
|
109124
|
+
userId?: IntNullableFilter<"CjEvent"> | number | null
|
|
107851
109125
|
brandId?: IntNullableFilter<"CjEvent"> | number | null
|
|
107852
109126
|
optInId?: IntNullableFilter<"CjEvent"> | number | null
|
|
107853
|
-
user?: XOR<
|
|
109127
|
+
user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
|
|
107854
109128
|
brand?: XOR<BrandNullableRelationFilter, BrandWhereInput> | null
|
|
107855
109129
|
optIn?: XOR<OptInNullableRelationFilter, OptInWhereInput> | null
|
|
107856
109130
|
}, "id">
|
|
@@ -107862,7 +109136,7 @@ export namespace Prisma {
|
|
|
107862
109136
|
amount?: SortOrderInput | SortOrder
|
|
107863
109137
|
commission?: SortOrderInput | SortOrder
|
|
107864
109138
|
metaData?: SortOrder
|
|
107865
|
-
userId?: SortOrder
|
|
109139
|
+
userId?: SortOrderInput | SortOrder
|
|
107866
109140
|
brandId?: SortOrderInput | SortOrder
|
|
107867
109141
|
optInId?: SortOrderInput | SortOrder
|
|
107868
109142
|
_count?: CjEventCountOrderByAggregateInput
|
|
@@ -107882,7 +109156,7 @@ export namespace Prisma {
|
|
|
107882
109156
|
amount?: FloatNullableWithAggregatesFilter<"CjEvent"> | number | null
|
|
107883
109157
|
commission?: FloatNullableWithAggregatesFilter<"CjEvent"> | number | null
|
|
107884
109158
|
metaData?: JsonWithAggregatesFilter<"CjEvent">
|
|
107885
|
-
userId?:
|
|
109159
|
+
userId?: IntNullableWithAggregatesFilter<"CjEvent"> | number | null
|
|
107886
109160
|
brandId?: IntNullableWithAggregatesFilter<"CjEvent"> | number | null
|
|
107887
109161
|
optInId?: IntNullableWithAggregatesFilter<"CjEvent"> | number | null
|
|
107888
109162
|
}
|
|
@@ -112687,6 +113961,7 @@ export namespace Prisma {
|
|
|
112687
113961
|
campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
|
|
112688
113962
|
lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
112689
113963
|
campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
113964
|
+
publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
|
|
112690
113965
|
}
|
|
112691
113966
|
|
|
112692
113967
|
export type SocialPostUncheckedCreateInput = {
|
|
@@ -112725,6 +114000,7 @@ export namespace Prisma {
|
|
|
112725
114000
|
campaignId?: number | null
|
|
112726
114001
|
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
112727
114002
|
campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
114003
|
+
publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
112728
114004
|
}
|
|
112729
114005
|
|
|
112730
114006
|
export type SocialPostUpdateInput = {
|
|
@@ -112762,6 +114038,7 @@ export namespace Prisma {
|
|
|
112762
114038
|
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
112763
114039
|
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
112764
114040
|
campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
114041
|
+
publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
112765
114042
|
}
|
|
112766
114043
|
|
|
112767
114044
|
export type SocialPostUncheckedUpdateInput = {
|
|
@@ -112800,6 +114077,7 @@ export namespace Prisma {
|
|
|
112800
114077
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
112801
114078
|
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
112802
114079
|
campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
114080
|
+
publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
112803
114081
|
}
|
|
112804
114082
|
|
|
112805
114083
|
export type SocialPostCreateManyInput = {
|
|
@@ -112907,6 +114185,72 @@ export namespace Prisma {
|
|
|
112907
114185
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
112908
114186
|
}
|
|
112909
114187
|
|
|
114188
|
+
export type PublicSocialPostCreateInput = {
|
|
114189
|
+
views?: number | null
|
|
114190
|
+
likes?: number | null
|
|
114191
|
+
comments?: number | null
|
|
114192
|
+
saves?: number | null
|
|
114193
|
+
shares?: number | null
|
|
114194
|
+
socialPost: SocialPostCreateNestedOneWithoutPublicPostsInput
|
|
114195
|
+
}
|
|
114196
|
+
|
|
114197
|
+
export type PublicSocialPostUncheckedCreateInput = {
|
|
114198
|
+
id?: number
|
|
114199
|
+
socialPostId: number
|
|
114200
|
+
views?: number | null
|
|
114201
|
+
likes?: number | null
|
|
114202
|
+
comments?: number | null
|
|
114203
|
+
saves?: number | null
|
|
114204
|
+
shares?: number | null
|
|
114205
|
+
}
|
|
114206
|
+
|
|
114207
|
+
export type PublicSocialPostUpdateInput = {
|
|
114208
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114209
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114210
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114211
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114212
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114213
|
+
socialPost?: SocialPostUpdateOneRequiredWithoutPublicPostsNestedInput
|
|
114214
|
+
}
|
|
114215
|
+
|
|
114216
|
+
export type PublicSocialPostUncheckedUpdateInput = {
|
|
114217
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
114218
|
+
socialPostId?: IntFieldUpdateOperationsInput | number
|
|
114219
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114220
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114221
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114222
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114223
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114224
|
+
}
|
|
114225
|
+
|
|
114226
|
+
export type PublicSocialPostCreateManyInput = {
|
|
114227
|
+
id?: number
|
|
114228
|
+
socialPostId: number
|
|
114229
|
+
views?: number | null
|
|
114230
|
+
likes?: number | null
|
|
114231
|
+
comments?: number | null
|
|
114232
|
+
saves?: number | null
|
|
114233
|
+
shares?: number | null
|
|
114234
|
+
}
|
|
114235
|
+
|
|
114236
|
+
export type PublicSocialPostUpdateManyMutationInput = {
|
|
114237
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114238
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114239
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114240
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114241
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114242
|
+
}
|
|
114243
|
+
|
|
114244
|
+
export type PublicSocialPostUncheckedUpdateManyInput = {
|
|
114245
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
114246
|
+
socialPostId?: IntFieldUpdateOperationsInput | number
|
|
114247
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114248
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114249
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114250
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114251
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114252
|
+
}
|
|
114253
|
+
|
|
112910
114254
|
export type CampaignToSocialPostCreateInput = {
|
|
112911
114255
|
status?: $Enums.CampaignToSocialPostStatus
|
|
112912
114256
|
created?: Date | string
|
|
@@ -114879,7 +116223,7 @@ export namespace Prisma {
|
|
|
114879
116223
|
amount?: number | null
|
|
114880
116224
|
commission?: number | null
|
|
114881
116225
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
114882
|
-
user
|
|
116226
|
+
user?: UserCreateNestedOneWithoutImpactRadiusEventsInput
|
|
114883
116227
|
brand?: BrandCreateNestedOneWithoutImpactRadiusEventsInput
|
|
114884
116228
|
optIn?: OptInCreateNestedOneWithoutImpactRadiusEventInput
|
|
114885
116229
|
}
|
|
@@ -114891,7 +116235,7 @@ export namespace Prisma {
|
|
|
114891
116235
|
amount?: number | null
|
|
114892
116236
|
commission?: number | null
|
|
114893
116237
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
114894
|
-
userId
|
|
116238
|
+
userId?: number | null
|
|
114895
116239
|
brandId?: number | null
|
|
114896
116240
|
optInId?: number | null
|
|
114897
116241
|
}
|
|
@@ -114902,7 +116246,7 @@ export namespace Prisma {
|
|
|
114902
116246
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
114903
116247
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
114904
116248
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
114905
|
-
user?:
|
|
116249
|
+
user?: UserUpdateOneWithoutImpactRadiusEventsNestedInput
|
|
114906
116250
|
brand?: BrandUpdateOneWithoutImpactRadiusEventsNestedInput
|
|
114907
116251
|
optIn?: OptInUpdateOneWithoutImpactRadiusEventNestedInput
|
|
114908
116252
|
}
|
|
@@ -114914,7 +116258,7 @@ export namespace Prisma {
|
|
|
114914
116258
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
114915
116259
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
114916
116260
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
114917
|
-
userId?:
|
|
116261
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114918
116262
|
brandId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114919
116263
|
optInId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114920
116264
|
}
|
|
@@ -114926,7 +116270,7 @@ export namespace Prisma {
|
|
|
114926
116270
|
amount?: number | null
|
|
114927
116271
|
commission?: number | null
|
|
114928
116272
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
114929
|
-
userId
|
|
116273
|
+
userId?: number | null
|
|
114930
116274
|
brandId?: number | null
|
|
114931
116275
|
optInId?: number | null
|
|
114932
116276
|
}
|
|
@@ -114946,7 +116290,7 @@ export namespace Prisma {
|
|
|
114946
116290
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
114947
116291
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
114948
116292
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
114949
|
-
userId?:
|
|
116293
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114950
116294
|
brandId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114951
116295
|
optInId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114952
116296
|
}
|
|
@@ -114957,7 +116301,7 @@ export namespace Prisma {
|
|
|
114957
116301
|
amount?: number | null
|
|
114958
116302
|
commission?: number | null
|
|
114959
116303
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
114960
|
-
user
|
|
116304
|
+
user?: UserCreateNestedOneWithoutCjEventsInput
|
|
114961
116305
|
brand?: BrandCreateNestedOneWithoutCjEventsInput
|
|
114962
116306
|
optIn?: OptInCreateNestedOneWithoutCjEventInput
|
|
114963
116307
|
}
|
|
@@ -114969,7 +116313,7 @@ export namespace Prisma {
|
|
|
114969
116313
|
amount?: number | null
|
|
114970
116314
|
commission?: number | null
|
|
114971
116315
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
114972
|
-
userId
|
|
116316
|
+
userId?: number | null
|
|
114973
116317
|
brandId?: number | null
|
|
114974
116318
|
optInId?: number | null
|
|
114975
116319
|
}
|
|
@@ -114980,7 +116324,7 @@ export namespace Prisma {
|
|
|
114980
116324
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
114981
116325
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
114982
116326
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
114983
|
-
user?:
|
|
116327
|
+
user?: UserUpdateOneWithoutCjEventsNestedInput
|
|
114984
116328
|
brand?: BrandUpdateOneWithoutCjEventsNestedInput
|
|
114985
116329
|
optIn?: OptInUpdateOneWithoutCjEventNestedInput
|
|
114986
116330
|
}
|
|
@@ -114992,7 +116336,7 @@ export namespace Prisma {
|
|
|
114992
116336
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
114993
116337
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
114994
116338
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
114995
|
-
userId?:
|
|
116339
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114996
116340
|
brandId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114997
116341
|
optInId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114998
116342
|
}
|
|
@@ -115004,7 +116348,7 @@ export namespace Prisma {
|
|
|
115004
116348
|
amount?: number | null
|
|
115005
116349
|
commission?: number | null
|
|
115006
116350
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
115007
|
-
userId
|
|
116351
|
+
userId?: number | null
|
|
115008
116352
|
brandId?: number | null
|
|
115009
116353
|
optInId?: number | null
|
|
115010
116354
|
}
|
|
@@ -115024,7 +116368,7 @@ export namespace Prisma {
|
|
|
115024
116368
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
115025
116369
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
115026
116370
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
115027
|
-
userId?:
|
|
116371
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
115028
116372
|
brandId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
115029
116373
|
optInId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
115030
116374
|
}
|
|
@@ -119330,10 +120674,20 @@ export namespace Prisma {
|
|
|
119330
120674
|
none?: ListToSocialPostWhereInput
|
|
119331
120675
|
}
|
|
119332
120676
|
|
|
120677
|
+
export type PublicSocialPostListRelationFilter = {
|
|
120678
|
+
every?: PublicSocialPostWhereInput
|
|
120679
|
+
some?: PublicSocialPostWhereInput
|
|
120680
|
+
none?: PublicSocialPostWhereInput
|
|
120681
|
+
}
|
|
120682
|
+
|
|
119333
120683
|
export type ListToSocialPostOrderByRelationAggregateInput = {
|
|
119334
120684
|
_count?: SortOrder
|
|
119335
120685
|
}
|
|
119336
120686
|
|
|
120687
|
+
export type PublicSocialPostOrderByRelationAggregateInput = {
|
|
120688
|
+
_count?: SortOrder
|
|
120689
|
+
}
|
|
120690
|
+
|
|
119337
120691
|
export type SocialPostOrderByRelevanceInput = {
|
|
119338
120692
|
fields: SocialPostOrderByRelevanceFieldEnum | SocialPostOrderByRelevanceFieldEnum[]
|
|
119339
120693
|
sort: SortOrder
|
|
@@ -119491,6 +120845,61 @@ export namespace Prisma {
|
|
|
119491
120845
|
campaignId?: SortOrder
|
|
119492
120846
|
}
|
|
119493
120847
|
|
|
120848
|
+
export type SocialPostRelationFilter = {
|
|
120849
|
+
is?: SocialPostWhereInput
|
|
120850
|
+
isNot?: SocialPostWhereInput
|
|
120851
|
+
}
|
|
120852
|
+
|
|
120853
|
+
export type PublicSocialPostCountOrderByAggregateInput = {
|
|
120854
|
+
id?: SortOrder
|
|
120855
|
+
socialPostId?: SortOrder
|
|
120856
|
+
views?: SortOrder
|
|
120857
|
+
likes?: SortOrder
|
|
120858
|
+
comments?: SortOrder
|
|
120859
|
+
saves?: SortOrder
|
|
120860
|
+
shares?: SortOrder
|
|
120861
|
+
}
|
|
120862
|
+
|
|
120863
|
+
export type PublicSocialPostAvgOrderByAggregateInput = {
|
|
120864
|
+
id?: SortOrder
|
|
120865
|
+
socialPostId?: SortOrder
|
|
120866
|
+
views?: SortOrder
|
|
120867
|
+
likes?: SortOrder
|
|
120868
|
+
comments?: SortOrder
|
|
120869
|
+
saves?: SortOrder
|
|
120870
|
+
shares?: SortOrder
|
|
120871
|
+
}
|
|
120872
|
+
|
|
120873
|
+
export type PublicSocialPostMaxOrderByAggregateInput = {
|
|
120874
|
+
id?: SortOrder
|
|
120875
|
+
socialPostId?: SortOrder
|
|
120876
|
+
views?: SortOrder
|
|
120877
|
+
likes?: SortOrder
|
|
120878
|
+
comments?: SortOrder
|
|
120879
|
+
saves?: SortOrder
|
|
120880
|
+
shares?: SortOrder
|
|
120881
|
+
}
|
|
120882
|
+
|
|
120883
|
+
export type PublicSocialPostMinOrderByAggregateInput = {
|
|
120884
|
+
id?: SortOrder
|
|
120885
|
+
socialPostId?: SortOrder
|
|
120886
|
+
views?: SortOrder
|
|
120887
|
+
likes?: SortOrder
|
|
120888
|
+
comments?: SortOrder
|
|
120889
|
+
saves?: SortOrder
|
|
120890
|
+
shares?: SortOrder
|
|
120891
|
+
}
|
|
120892
|
+
|
|
120893
|
+
export type PublicSocialPostSumOrderByAggregateInput = {
|
|
120894
|
+
id?: SortOrder
|
|
120895
|
+
socialPostId?: SortOrder
|
|
120896
|
+
views?: SortOrder
|
|
120897
|
+
likes?: SortOrder
|
|
120898
|
+
comments?: SortOrder
|
|
120899
|
+
saves?: SortOrder
|
|
120900
|
+
shares?: SortOrder
|
|
120901
|
+
}
|
|
120902
|
+
|
|
119494
120903
|
export type EnumCampaignToSocialPostStatusFilter<$PrismaModel = never> = {
|
|
119495
120904
|
equals?: $Enums.CampaignToSocialPostStatus | EnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
|
|
119496
120905
|
in?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
|
|
@@ -119498,11 +120907,6 @@ export namespace Prisma {
|
|
|
119498
120907
|
not?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel> | $Enums.CampaignToSocialPostStatus
|
|
119499
120908
|
}
|
|
119500
120909
|
|
|
119501
|
-
export type SocialPostRelationFilter = {
|
|
119502
|
-
is?: SocialPostWhereInput
|
|
119503
|
-
isNot?: SocialPostWhereInput
|
|
119504
|
-
}
|
|
119505
|
-
|
|
119506
120910
|
export type CampaignToSocialPostCampaignIdSocialPostIdCompoundUniqueInput = {
|
|
119507
120911
|
campaignId: number
|
|
119508
120912
|
socialPostId: number
|
|
@@ -127165,6 +128569,13 @@ export namespace Prisma {
|
|
|
127165
128569
|
connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
|
|
127166
128570
|
}
|
|
127167
128571
|
|
|
128572
|
+
export type PublicSocialPostCreateNestedManyWithoutSocialPostInput = {
|
|
128573
|
+
create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
|
|
128574
|
+
connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
|
|
128575
|
+
createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
|
|
128576
|
+
connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
|
|
128577
|
+
}
|
|
128578
|
+
|
|
127168
128579
|
export type ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
|
|
127169
128580
|
create?: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput> | ListToSocialPostCreateWithoutSocialPostInput[] | ListToSocialPostUncheckedCreateWithoutSocialPostInput[]
|
|
127170
128581
|
connectOrCreate?: ListToSocialPostCreateOrConnectWithoutSocialPostInput | ListToSocialPostCreateOrConnectWithoutSocialPostInput[]
|
|
@@ -127179,6 +128590,13 @@ export namespace Prisma {
|
|
|
127179
128590
|
connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
|
|
127180
128591
|
}
|
|
127181
128592
|
|
|
128593
|
+
export type PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
|
|
128594
|
+
create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
|
|
128595
|
+
connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
|
|
128596
|
+
createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
|
|
128597
|
+
connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
|
|
128598
|
+
}
|
|
128599
|
+
|
|
127182
128600
|
export type UserUpdateOneWithoutSocialPostsNestedInput = {
|
|
127183
128601
|
create?: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
|
|
127184
128602
|
connectOrCreate?: UserCreateOrConnectWithoutSocialPostsInput
|
|
@@ -127227,6 +128645,20 @@ export namespace Prisma {
|
|
|
127227
128645
|
deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
|
|
127228
128646
|
}
|
|
127229
128647
|
|
|
128648
|
+
export type PublicSocialPostUpdateManyWithoutSocialPostNestedInput = {
|
|
128649
|
+
create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
|
|
128650
|
+
connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
|
|
128651
|
+
upsert?: PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput | PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput[]
|
|
128652
|
+
createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
|
|
128653
|
+
set?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
|
|
128654
|
+
disconnect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
|
|
128655
|
+
delete?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
|
|
128656
|
+
connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
|
|
128657
|
+
update?: PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput | PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput[]
|
|
128658
|
+
updateMany?: PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput | PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput[]
|
|
128659
|
+
deleteMany?: PublicSocialPostScalarWhereInput | PublicSocialPostScalarWhereInput[]
|
|
128660
|
+
}
|
|
128661
|
+
|
|
127230
128662
|
export type ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput = {
|
|
127231
128663
|
create?: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput> | ListToSocialPostCreateWithoutSocialPostInput[] | ListToSocialPostUncheckedCreateWithoutSocialPostInput[]
|
|
127232
128664
|
connectOrCreate?: ListToSocialPostCreateOrConnectWithoutSocialPostInput | ListToSocialPostCreateOrConnectWithoutSocialPostInput[]
|
|
@@ -127255,6 +128687,34 @@ export namespace Prisma {
|
|
|
127255
128687
|
deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
|
|
127256
128688
|
}
|
|
127257
128689
|
|
|
128690
|
+
export type PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput = {
|
|
128691
|
+
create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
|
|
128692
|
+
connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
|
|
128693
|
+
upsert?: PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput | PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput[]
|
|
128694
|
+
createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
|
|
128695
|
+
set?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
|
|
128696
|
+
disconnect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
|
|
128697
|
+
delete?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
|
|
128698
|
+
connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
|
|
128699
|
+
update?: PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput | PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput[]
|
|
128700
|
+
updateMany?: PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput | PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput[]
|
|
128701
|
+
deleteMany?: PublicSocialPostScalarWhereInput | PublicSocialPostScalarWhereInput[]
|
|
128702
|
+
}
|
|
128703
|
+
|
|
128704
|
+
export type SocialPostCreateNestedOneWithoutPublicPostsInput = {
|
|
128705
|
+
create?: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
|
|
128706
|
+
connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostsInput
|
|
128707
|
+
connect?: SocialPostWhereUniqueInput
|
|
128708
|
+
}
|
|
128709
|
+
|
|
128710
|
+
export type SocialPostUpdateOneRequiredWithoutPublicPostsNestedInput = {
|
|
128711
|
+
create?: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
|
|
128712
|
+
connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostsInput
|
|
128713
|
+
upsert?: SocialPostUpsertWithoutPublicPostsInput
|
|
128714
|
+
connect?: SocialPostWhereUniqueInput
|
|
128715
|
+
update?: XOR<XOR<SocialPostUpdateToOneWithWhereWithoutPublicPostsInput, SocialPostUpdateWithoutPublicPostsInput>, SocialPostUncheckedUpdateWithoutPublicPostsInput>
|
|
128716
|
+
}
|
|
128717
|
+
|
|
127258
128718
|
export type CampaignCreateNestedOneWithoutLinkedPostsInput = {
|
|
127259
128719
|
create?: XOR<CampaignCreateWithoutLinkedPostsInput, CampaignUncheckedCreateWithoutLinkedPostsInput>
|
|
127260
128720
|
connectOrCreate?: CampaignCreateOrConnectWithoutLinkedPostsInput
|
|
@@ -128571,10 +130031,12 @@ export namespace Prisma {
|
|
|
128571
130031
|
connect?: OptInWhereUniqueInput
|
|
128572
130032
|
}
|
|
128573
130033
|
|
|
128574
|
-
export type
|
|
130034
|
+
export type UserUpdateOneWithoutImpactRadiusEventsNestedInput = {
|
|
128575
130035
|
create?: XOR<UserCreateWithoutImpactRadiusEventsInput, UserUncheckedCreateWithoutImpactRadiusEventsInput>
|
|
128576
130036
|
connectOrCreate?: UserCreateOrConnectWithoutImpactRadiusEventsInput
|
|
128577
130037
|
upsert?: UserUpsertWithoutImpactRadiusEventsInput
|
|
130038
|
+
disconnect?: UserWhereInput | boolean
|
|
130039
|
+
delete?: UserWhereInput | boolean
|
|
128578
130040
|
connect?: UserWhereUniqueInput
|
|
128579
130041
|
update?: XOR<XOR<UserUpdateToOneWithWhereWithoutImpactRadiusEventsInput, UserUpdateWithoutImpactRadiusEventsInput>, UserUncheckedUpdateWithoutImpactRadiusEventsInput>
|
|
128580
130042
|
}
|
|
@@ -128617,10 +130079,12 @@ export namespace Prisma {
|
|
|
128617
130079
|
connect?: OptInWhereUniqueInput
|
|
128618
130080
|
}
|
|
128619
130081
|
|
|
128620
|
-
export type
|
|
130082
|
+
export type UserUpdateOneWithoutCjEventsNestedInput = {
|
|
128621
130083
|
create?: XOR<UserCreateWithoutCjEventsInput, UserUncheckedCreateWithoutCjEventsInput>
|
|
128622
130084
|
connectOrCreate?: UserCreateOrConnectWithoutCjEventsInput
|
|
128623
130085
|
upsert?: UserUpsertWithoutCjEventsInput
|
|
130086
|
+
disconnect?: UserWhereInput | boolean
|
|
130087
|
+
delete?: UserWhereInput | boolean
|
|
128624
130088
|
connect?: UserWhereUniqueInput
|
|
128625
130089
|
update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCjEventsInput, UserUpdateWithoutCjEventsInput>, UserUncheckedUpdateWithoutCjEventsInput>
|
|
128626
130090
|
}
|
|
@@ -130813,6 +132277,7 @@ export namespace Prisma {
|
|
|
130813
132277
|
campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
|
|
130814
132278
|
lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
130815
132279
|
campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
132280
|
+
publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
|
|
130816
132281
|
}
|
|
130817
132282
|
|
|
130818
132283
|
export type SocialPostUncheckedCreateWithoutUserInput = {
|
|
@@ -130850,6 +132315,7 @@ export namespace Prisma {
|
|
|
130850
132315
|
campaignId?: number | null
|
|
130851
132316
|
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
130852
132317
|
campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
132318
|
+
publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
130853
132319
|
}
|
|
130854
132320
|
|
|
130855
132321
|
export type SocialPostCreateOrConnectWithoutUserInput = {
|
|
@@ -132334,7 +133800,7 @@ export namespace Prisma {
|
|
|
132334
133800
|
amount?: FloatNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
132335
133801
|
commission?: FloatNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
132336
133802
|
metaData?: JsonFilter<"ImpactRadiusEvent">
|
|
132337
|
-
userId?:
|
|
133803
|
+
userId?: IntNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
132338
133804
|
brandId?: IntNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
132339
133805
|
optInId?: IntNullableFilter<"ImpactRadiusEvent"> | number | null
|
|
132340
133806
|
}
|
|
@@ -132365,7 +133831,7 @@ export namespace Prisma {
|
|
|
132365
133831
|
amount?: FloatNullableFilter<"CjEvent"> | number | null
|
|
132366
133832
|
commission?: FloatNullableFilter<"CjEvent"> | number | null
|
|
132367
133833
|
metaData?: JsonFilter<"CjEvent">
|
|
132368
|
-
userId?:
|
|
133834
|
+
userId?: IntNullableFilter<"CjEvent"> | number | null
|
|
132369
133835
|
brandId?: IntNullableFilter<"CjEvent"> | number | null
|
|
132370
133836
|
optInId?: IntNullableFilter<"CjEvent"> | number | null
|
|
132371
133837
|
}
|
|
@@ -136372,7 +137838,7 @@ export namespace Prisma {
|
|
|
136372
137838
|
amount?: number | null
|
|
136373
137839
|
commission?: number | null
|
|
136374
137840
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
136375
|
-
user
|
|
137841
|
+
user?: UserCreateNestedOneWithoutImpactRadiusEventsInput
|
|
136376
137842
|
optIn?: OptInCreateNestedOneWithoutImpactRadiusEventInput
|
|
136377
137843
|
}
|
|
136378
137844
|
|
|
@@ -136383,7 +137849,7 @@ export namespace Prisma {
|
|
|
136383
137849
|
amount?: number | null
|
|
136384
137850
|
commission?: number | null
|
|
136385
137851
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
136386
|
-
userId
|
|
137852
|
+
userId?: number | null
|
|
136387
137853
|
optInId?: number | null
|
|
136388
137854
|
}
|
|
136389
137855
|
|
|
@@ -136403,7 +137869,7 @@ export namespace Prisma {
|
|
|
136403
137869
|
amount?: number | null
|
|
136404
137870
|
commission?: number | null
|
|
136405
137871
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
136406
|
-
user
|
|
137872
|
+
user?: UserCreateNestedOneWithoutCjEventsInput
|
|
136407
137873
|
optIn?: OptInCreateNestedOneWithoutCjEventInput
|
|
136408
137874
|
}
|
|
136409
137875
|
|
|
@@ -136414,7 +137880,7 @@ export namespace Prisma {
|
|
|
136414
137880
|
amount?: number | null
|
|
136415
137881
|
commission?: number | null
|
|
136416
137882
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
136417
|
-
userId
|
|
137883
|
+
userId?: number | null
|
|
136418
137884
|
optInId?: number | null
|
|
136419
137885
|
}
|
|
136420
137886
|
|
|
@@ -139824,6 +141290,7 @@ export namespace Prisma {
|
|
|
139824
141290
|
user?: UserCreateNestedOneWithoutSocialPostsInput
|
|
139825
141291
|
lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
139826
141292
|
campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
141293
|
+
publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
|
|
139827
141294
|
}
|
|
139828
141295
|
|
|
139829
141296
|
export type SocialPostUncheckedCreateWithoutCampaignInput = {
|
|
@@ -139861,6 +141328,7 @@ export namespace Prisma {
|
|
|
139861
141328
|
userId?: number | null
|
|
139862
141329
|
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
139863
141330
|
campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
141331
|
+
publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
139864
141332
|
}
|
|
139865
141333
|
|
|
139866
141334
|
export type SocialPostCreateOrConnectWithoutCampaignInput = {
|
|
@@ -145389,7 +146857,7 @@ export namespace Prisma {
|
|
|
145389
146857
|
amount?: number | null
|
|
145390
146858
|
commission?: number | null
|
|
145391
146859
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
145392
|
-
user
|
|
146860
|
+
user?: UserCreateNestedOneWithoutImpactRadiusEventsInput
|
|
145393
146861
|
brand?: BrandCreateNestedOneWithoutImpactRadiusEventsInput
|
|
145394
146862
|
}
|
|
145395
146863
|
|
|
@@ -145400,7 +146868,7 @@ export namespace Prisma {
|
|
|
145400
146868
|
amount?: number | null
|
|
145401
146869
|
commission?: number | null
|
|
145402
146870
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
145403
|
-
userId
|
|
146871
|
+
userId?: number | null
|
|
145404
146872
|
brandId?: number | null
|
|
145405
146873
|
}
|
|
145406
146874
|
|
|
@@ -145420,7 +146888,7 @@ export namespace Prisma {
|
|
|
145420
146888
|
amount?: number | null
|
|
145421
146889
|
commission?: number | null
|
|
145422
146890
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
145423
|
-
user
|
|
146891
|
+
user?: UserCreateNestedOneWithoutCjEventsInput
|
|
145424
146892
|
brand?: BrandCreateNestedOneWithoutCjEventsInput
|
|
145425
146893
|
}
|
|
145426
146894
|
|
|
@@ -145431,7 +146899,7 @@ export namespace Prisma {
|
|
|
145431
146899
|
amount?: number | null
|
|
145432
146900
|
commission?: number | null
|
|
145433
146901
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
145434
|
-
userId
|
|
146902
|
+
userId?: number | null
|
|
145435
146903
|
brandId?: number | null
|
|
145436
146904
|
}
|
|
145437
146905
|
|
|
@@ -146758,6 +148226,33 @@ export namespace Prisma {
|
|
|
146758
148226
|
skipDuplicates?: boolean
|
|
146759
148227
|
}
|
|
146760
148228
|
|
|
148229
|
+
export type PublicSocialPostCreateWithoutSocialPostInput = {
|
|
148230
|
+
views?: number | null
|
|
148231
|
+
likes?: number | null
|
|
148232
|
+
comments?: number | null
|
|
148233
|
+
saves?: number | null
|
|
148234
|
+
shares?: number | null
|
|
148235
|
+
}
|
|
148236
|
+
|
|
148237
|
+
export type PublicSocialPostUncheckedCreateWithoutSocialPostInput = {
|
|
148238
|
+
id?: number
|
|
148239
|
+
views?: number | null
|
|
148240
|
+
likes?: number | null
|
|
148241
|
+
comments?: number | null
|
|
148242
|
+
saves?: number | null
|
|
148243
|
+
shares?: number | null
|
|
148244
|
+
}
|
|
148245
|
+
|
|
148246
|
+
export type PublicSocialPostCreateOrConnectWithoutSocialPostInput = {
|
|
148247
|
+
where: PublicSocialPostWhereUniqueInput
|
|
148248
|
+
create: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
|
|
148249
|
+
}
|
|
148250
|
+
|
|
148251
|
+
export type PublicSocialPostCreateManySocialPostInputEnvelope = {
|
|
148252
|
+
data: PublicSocialPostCreateManySocialPostInput | PublicSocialPostCreateManySocialPostInput[]
|
|
148253
|
+
skipDuplicates?: boolean
|
|
148254
|
+
}
|
|
148255
|
+
|
|
146761
148256
|
export type UserUpsertWithoutSocialPostsInput = {
|
|
146762
148257
|
update: XOR<UserUpdateWithoutSocialPostsInput, UserUncheckedUpdateWithoutSocialPostsInput>
|
|
146763
148258
|
create: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
|
|
@@ -147071,6 +148566,201 @@ export namespace Prisma {
|
|
|
147071
148566
|
data: XOR<CampaignToSocialPostUpdateManyMutationInput, CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostInput>
|
|
147072
148567
|
}
|
|
147073
148568
|
|
|
148569
|
+
export type PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput = {
|
|
148570
|
+
where: PublicSocialPostWhereUniqueInput
|
|
148571
|
+
update: XOR<PublicSocialPostUpdateWithoutSocialPostInput, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
|
|
148572
|
+
create: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
|
|
148573
|
+
}
|
|
148574
|
+
|
|
148575
|
+
export type PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput = {
|
|
148576
|
+
where: PublicSocialPostWhereUniqueInput
|
|
148577
|
+
data: XOR<PublicSocialPostUpdateWithoutSocialPostInput, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
|
|
148578
|
+
}
|
|
148579
|
+
|
|
148580
|
+
export type PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput = {
|
|
148581
|
+
where: PublicSocialPostScalarWhereInput
|
|
148582
|
+
data: XOR<PublicSocialPostUpdateManyMutationInput, PublicSocialPostUncheckedUpdateManyWithoutSocialPostInput>
|
|
148583
|
+
}
|
|
148584
|
+
|
|
148585
|
+
export type PublicSocialPostScalarWhereInput = {
|
|
148586
|
+
AND?: PublicSocialPostScalarWhereInput | PublicSocialPostScalarWhereInput[]
|
|
148587
|
+
OR?: PublicSocialPostScalarWhereInput[]
|
|
148588
|
+
NOT?: PublicSocialPostScalarWhereInput | PublicSocialPostScalarWhereInput[]
|
|
148589
|
+
id?: IntFilter<"PublicSocialPost"> | number
|
|
148590
|
+
socialPostId?: IntFilter<"PublicSocialPost"> | number
|
|
148591
|
+
views?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
148592
|
+
likes?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
148593
|
+
comments?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
148594
|
+
saves?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
148595
|
+
shares?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
148596
|
+
}
|
|
148597
|
+
|
|
148598
|
+
export type SocialPostCreateWithoutPublicPostsInput = {
|
|
148599
|
+
externalId: string
|
|
148600
|
+
phylloId?: string | null
|
|
148601
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
148602
|
+
lastFetched?: Date | string | null
|
|
148603
|
+
lastWebhook?: Date | string | null
|
|
148604
|
+
posted?: Date | string | null
|
|
148605
|
+
title?: string | null
|
|
148606
|
+
description?: string | null
|
|
148607
|
+
url?: string | null
|
|
148608
|
+
format?: string | null
|
|
148609
|
+
type?: string | null
|
|
148610
|
+
platform?: string | null
|
|
148611
|
+
visibility?: string | null
|
|
148612
|
+
isSponsored?: boolean | null
|
|
148613
|
+
hasCollaborators?: boolean | null
|
|
148614
|
+
isOwnedByUser?: boolean | null
|
|
148615
|
+
views?: number | null
|
|
148616
|
+
replays?: number | null
|
|
148617
|
+
impressions?: number | null
|
|
148618
|
+
impressionsOrganic?: number | null
|
|
148619
|
+
impressionsPaid?: number | null
|
|
148620
|
+
reach?: number | null
|
|
148621
|
+
reachOrganic?: number | null
|
|
148622
|
+
reachPaid?: number | null
|
|
148623
|
+
watchHours?: number | null
|
|
148624
|
+
likes?: number | null
|
|
148625
|
+
dislikes?: number | null
|
|
148626
|
+
comments?: number | null
|
|
148627
|
+
saves?: number | null
|
|
148628
|
+
shares?: number | null
|
|
148629
|
+
user?: UserCreateNestedOneWithoutSocialPostsInput
|
|
148630
|
+
campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
|
|
148631
|
+
lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
148632
|
+
campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
148633
|
+
}
|
|
148634
|
+
|
|
148635
|
+
export type SocialPostUncheckedCreateWithoutPublicPostsInput = {
|
|
148636
|
+
id?: number
|
|
148637
|
+
externalId: string
|
|
148638
|
+
phylloId?: string | null
|
|
148639
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
148640
|
+
lastFetched?: Date | string | null
|
|
148641
|
+
lastWebhook?: Date | string | null
|
|
148642
|
+
posted?: Date | string | null
|
|
148643
|
+
title?: string | null
|
|
148644
|
+
description?: string | null
|
|
148645
|
+
url?: string | null
|
|
148646
|
+
format?: string | null
|
|
148647
|
+
type?: string | null
|
|
148648
|
+
platform?: string | null
|
|
148649
|
+
visibility?: string | null
|
|
148650
|
+
isSponsored?: boolean | null
|
|
148651
|
+
hasCollaborators?: boolean | null
|
|
148652
|
+
isOwnedByUser?: boolean | null
|
|
148653
|
+
views?: number | null
|
|
148654
|
+
replays?: number | null
|
|
148655
|
+
impressions?: number | null
|
|
148656
|
+
impressionsOrganic?: number | null
|
|
148657
|
+
impressionsPaid?: number | null
|
|
148658
|
+
reach?: number | null
|
|
148659
|
+
reachOrganic?: number | null
|
|
148660
|
+
reachPaid?: number | null
|
|
148661
|
+
watchHours?: number | null
|
|
148662
|
+
likes?: number | null
|
|
148663
|
+
dislikes?: number | null
|
|
148664
|
+
comments?: number | null
|
|
148665
|
+
saves?: number | null
|
|
148666
|
+
shares?: number | null
|
|
148667
|
+
userId?: number | null
|
|
148668
|
+
campaignId?: number | null
|
|
148669
|
+
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
148670
|
+
campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
148671
|
+
}
|
|
148672
|
+
|
|
148673
|
+
export type SocialPostCreateOrConnectWithoutPublicPostsInput = {
|
|
148674
|
+
where: SocialPostWhereUniqueInput
|
|
148675
|
+
create: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
|
|
148676
|
+
}
|
|
148677
|
+
|
|
148678
|
+
export type SocialPostUpsertWithoutPublicPostsInput = {
|
|
148679
|
+
update: XOR<SocialPostUpdateWithoutPublicPostsInput, SocialPostUncheckedUpdateWithoutPublicPostsInput>
|
|
148680
|
+
create: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
|
|
148681
|
+
where?: SocialPostWhereInput
|
|
148682
|
+
}
|
|
148683
|
+
|
|
148684
|
+
export type SocialPostUpdateToOneWithWhereWithoutPublicPostsInput = {
|
|
148685
|
+
where?: SocialPostWhereInput
|
|
148686
|
+
data: XOR<SocialPostUpdateWithoutPublicPostsInput, SocialPostUncheckedUpdateWithoutPublicPostsInput>
|
|
148687
|
+
}
|
|
148688
|
+
|
|
148689
|
+
export type SocialPostUpdateWithoutPublicPostsInput = {
|
|
148690
|
+
externalId?: StringFieldUpdateOperationsInput | string
|
|
148691
|
+
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148692
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
148693
|
+
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148694
|
+
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148695
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148696
|
+
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148697
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148698
|
+
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148699
|
+
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148700
|
+
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148701
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148702
|
+
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148703
|
+
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148704
|
+
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148705
|
+
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148706
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148707
|
+
replays?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148708
|
+
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148709
|
+
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148710
|
+
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148711
|
+
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148712
|
+
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148713
|
+
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148714
|
+
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
148715
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148716
|
+
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148717
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148718
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148719
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148720
|
+
user?: UserUpdateOneWithoutSocialPostsNestedInput
|
|
148721
|
+
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
148722
|
+
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
148723
|
+
campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
148724
|
+
}
|
|
148725
|
+
|
|
148726
|
+
export type SocialPostUncheckedUpdateWithoutPublicPostsInput = {
|
|
148727
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
148728
|
+
externalId?: StringFieldUpdateOperationsInput | string
|
|
148729
|
+
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148730
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
148731
|
+
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148732
|
+
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148733
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148734
|
+
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148735
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148736
|
+
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148737
|
+
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148738
|
+
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148739
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148740
|
+
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148741
|
+
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148742
|
+
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148743
|
+
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148744
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148745
|
+
replays?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148746
|
+
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148747
|
+
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148748
|
+
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148749
|
+
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148750
|
+
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148751
|
+
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148752
|
+
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
148753
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148754
|
+
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148755
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148756
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148757
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148758
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148759
|
+
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148760
|
+
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
148761
|
+
campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
148762
|
+
}
|
|
148763
|
+
|
|
147074
148764
|
export type CampaignCreateWithoutLinkedPostsInput = {
|
|
147075
148765
|
title: string
|
|
147076
148766
|
slug?: string | null
|
|
@@ -147253,6 +148943,7 @@ export namespace Prisma {
|
|
|
147253
148943
|
user?: UserCreateNestedOneWithoutSocialPostsInput
|
|
147254
148944
|
campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
|
|
147255
148945
|
lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
148946
|
+
publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
|
|
147256
148947
|
}
|
|
147257
148948
|
|
|
147258
148949
|
export type SocialPostUncheckedCreateWithoutCampaignsInput = {
|
|
@@ -147290,6 +148981,7 @@ export namespace Prisma {
|
|
|
147290
148981
|
userId?: number | null
|
|
147291
148982
|
campaignId?: number | null
|
|
147292
148983
|
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
148984
|
+
publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
147293
148985
|
}
|
|
147294
148986
|
|
|
147295
148987
|
export type SocialPostCreateOrConnectWithoutCampaignsInput = {
|
|
@@ -147496,6 +149188,7 @@ export namespace Prisma {
|
|
|
147496
149188
|
user?: UserUpdateOneWithoutSocialPostsNestedInput
|
|
147497
149189
|
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
147498
149190
|
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
149191
|
+
publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
147499
149192
|
}
|
|
147500
149193
|
|
|
147501
149194
|
export type SocialPostUncheckedUpdateWithoutCampaignsInput = {
|
|
@@ -147533,6 +149226,7 @@ export namespace Prisma {
|
|
|
147533
149226
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
147534
149227
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
147535
149228
|
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
149229
|
+
publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
147536
149230
|
}
|
|
147537
149231
|
|
|
147538
149232
|
export type CampaignToImageCreateWithoutSizesInput = {
|
|
@@ -153393,6 +155087,7 @@ export namespace Prisma {
|
|
|
153393
155087
|
user?: UserCreateNestedOneWithoutSocialPostsInput
|
|
153394
155088
|
campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
|
|
153395
155089
|
campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
155090
|
+
publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
|
|
153396
155091
|
}
|
|
153397
155092
|
|
|
153398
155093
|
export type SocialPostUncheckedCreateWithoutListsInput = {
|
|
@@ -153430,6 +155125,7 @@ export namespace Prisma {
|
|
|
153430
155125
|
userId?: number | null
|
|
153431
155126
|
campaignId?: number | null
|
|
153432
155127
|
campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
155128
|
+
publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
153433
155129
|
}
|
|
153434
155130
|
|
|
153435
155131
|
export type SocialPostCreateOrConnectWithoutListsInput = {
|
|
@@ -153516,6 +155212,7 @@ export namespace Prisma {
|
|
|
153516
155212
|
user?: UserUpdateOneWithoutSocialPostsNestedInput
|
|
153517
155213
|
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
153518
155214
|
campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
155215
|
+
publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
153519
155216
|
}
|
|
153520
155217
|
|
|
153521
155218
|
export type SocialPostUncheckedUpdateWithoutListsInput = {
|
|
@@ -153553,6 +155250,7 @@ export namespace Prisma {
|
|
|
153553
155250
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
153554
155251
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
153555
155252
|
campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
155253
|
+
publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
153556
155254
|
}
|
|
153557
155255
|
|
|
153558
155256
|
export type CampaignCreateWithoutOptInViewsInput = {
|
|
@@ -161113,6 +162811,7 @@ export namespace Prisma {
|
|
|
161113
162811
|
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
161114
162812
|
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
161115
162813
|
campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
162814
|
+
publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
161116
162815
|
}
|
|
161117
162816
|
|
|
161118
162817
|
export type SocialPostUncheckedUpdateWithoutUserInput = {
|
|
@@ -161150,6 +162849,7 @@ export namespace Prisma {
|
|
|
161150
162849
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
161151
162850
|
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
161152
162851
|
campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
162852
|
+
publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
161153
162853
|
}
|
|
161154
162854
|
|
|
161155
162855
|
export type SocialPostUncheckedUpdateManyWithoutUserInput = {
|
|
@@ -161997,7 +163697,7 @@ export namespace Prisma {
|
|
|
161997
163697
|
amount?: number | null
|
|
161998
163698
|
commission?: number | null
|
|
161999
163699
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162000
|
-
userId
|
|
163700
|
+
userId?: number | null
|
|
162001
163701
|
optInId?: number | null
|
|
162002
163702
|
}
|
|
162003
163703
|
|
|
@@ -162008,7 +163708,7 @@ export namespace Prisma {
|
|
|
162008
163708
|
amount?: number | null
|
|
162009
163709
|
commission?: number | null
|
|
162010
163710
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162011
|
-
userId
|
|
163711
|
+
userId?: number | null
|
|
162012
163712
|
optInId?: number | null
|
|
162013
163713
|
}
|
|
162014
163714
|
|
|
@@ -162732,7 +164432,7 @@ export namespace Prisma {
|
|
|
162732
164432
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162733
164433
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162734
164434
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162735
|
-
user?:
|
|
164435
|
+
user?: UserUpdateOneWithoutImpactRadiusEventsNestedInput
|
|
162736
164436
|
optIn?: OptInUpdateOneWithoutImpactRadiusEventNestedInput
|
|
162737
164437
|
}
|
|
162738
164438
|
|
|
@@ -162743,7 +164443,7 @@ export namespace Prisma {
|
|
|
162743
164443
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162744
164444
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162745
164445
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162746
|
-
userId?:
|
|
164446
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162747
164447
|
optInId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162748
164448
|
}
|
|
162749
164449
|
|
|
@@ -162754,7 +164454,7 @@ export namespace Prisma {
|
|
|
162754
164454
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162755
164455
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162756
164456
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162757
|
-
userId?:
|
|
164457
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162758
164458
|
optInId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162759
164459
|
}
|
|
162760
164460
|
|
|
@@ -162764,7 +164464,7 @@ export namespace Prisma {
|
|
|
162764
164464
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162765
164465
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162766
164466
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162767
|
-
user?:
|
|
164467
|
+
user?: UserUpdateOneWithoutCjEventsNestedInput
|
|
162768
164468
|
optIn?: OptInUpdateOneWithoutCjEventNestedInput
|
|
162769
164469
|
}
|
|
162770
164470
|
|
|
@@ -162775,7 +164475,7 @@ export namespace Prisma {
|
|
|
162775
164475
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162776
164476
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162777
164477
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162778
|
-
userId?:
|
|
164478
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162779
164479
|
optInId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162780
164480
|
}
|
|
162781
164481
|
|
|
@@ -162786,7 +164486,7 @@ export namespace Prisma {
|
|
|
162786
164486
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162787
164487
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
162788
164488
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162789
|
-
userId?:
|
|
164489
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162790
164490
|
optInId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162791
164491
|
}
|
|
162792
164492
|
|
|
@@ -163552,6 +165252,7 @@ export namespace Prisma {
|
|
|
163552
165252
|
user?: UserUpdateOneWithoutSocialPostsNestedInput
|
|
163553
165253
|
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
163554
165254
|
campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
165255
|
+
publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
163555
165256
|
}
|
|
163556
165257
|
|
|
163557
165258
|
export type SocialPostUncheckedUpdateWithoutCampaignInput = {
|
|
@@ -163589,6 +165290,7 @@ export namespace Prisma {
|
|
|
163589
165290
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
163590
165291
|
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
163591
165292
|
campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
165293
|
+
publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
163592
165294
|
}
|
|
163593
165295
|
|
|
163594
165296
|
export type SocialPostUncheckedUpdateManyWithoutCampaignInput = {
|
|
@@ -164295,7 +165997,7 @@ export namespace Prisma {
|
|
|
164295
165997
|
amount?: number | null
|
|
164296
165998
|
commission?: number | null
|
|
164297
165999
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
164298
|
-
userId
|
|
166000
|
+
userId?: number | null
|
|
164299
166001
|
brandId?: number | null
|
|
164300
166002
|
}
|
|
164301
166003
|
|
|
@@ -164306,7 +166008,7 @@ export namespace Prisma {
|
|
|
164306
166008
|
amount?: number | null
|
|
164307
166009
|
commission?: number | null
|
|
164308
166010
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
164309
|
-
userId
|
|
166011
|
+
userId?: number | null
|
|
164310
166012
|
brandId?: number | null
|
|
164311
166013
|
}
|
|
164312
166014
|
|
|
@@ -164505,7 +166207,7 @@ export namespace Prisma {
|
|
|
164505
166207
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164506
166208
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164507
166209
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
164508
|
-
user?:
|
|
166210
|
+
user?: UserUpdateOneWithoutImpactRadiusEventsNestedInput
|
|
164509
166211
|
brand?: BrandUpdateOneWithoutImpactRadiusEventsNestedInput
|
|
164510
166212
|
}
|
|
164511
166213
|
|
|
@@ -164516,7 +166218,7 @@ export namespace Prisma {
|
|
|
164516
166218
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164517
166219
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164518
166220
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
164519
|
-
userId?:
|
|
166221
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
164520
166222
|
brandId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
164521
166223
|
}
|
|
164522
166224
|
|
|
@@ -164527,7 +166229,7 @@ export namespace Prisma {
|
|
|
164527
166229
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164528
166230
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164529
166231
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
164530
|
-
userId?:
|
|
166232
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
164531
166233
|
brandId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
164532
166234
|
}
|
|
164533
166235
|
|
|
@@ -164537,7 +166239,7 @@ export namespace Prisma {
|
|
|
164537
166239
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164538
166240
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164539
166241
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
164540
|
-
user?:
|
|
166242
|
+
user?: UserUpdateOneWithoutCjEventsNestedInput
|
|
164541
166243
|
brand?: BrandUpdateOneWithoutCjEventsNestedInput
|
|
164542
166244
|
}
|
|
164543
166245
|
|
|
@@ -164548,7 +166250,7 @@ export namespace Prisma {
|
|
|
164548
166250
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164549
166251
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164550
166252
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
164551
|
-
userId?:
|
|
166253
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
164552
166254
|
brandId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
164553
166255
|
}
|
|
164554
166256
|
|
|
@@ -164559,7 +166261,7 @@ export namespace Prisma {
|
|
|
164559
166261
|
amount?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164560
166262
|
commission?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
164561
166263
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
164562
|
-
userId?:
|
|
166264
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
164563
166265
|
brandId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
164564
166266
|
}
|
|
164565
166267
|
|
|
@@ -164623,6 +166325,15 @@ export namespace Prisma {
|
|
|
164623
166325
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
164624
166326
|
}
|
|
164625
166327
|
|
|
166328
|
+
export type PublicSocialPostCreateManySocialPostInput = {
|
|
166329
|
+
id?: number
|
|
166330
|
+
views?: number | null
|
|
166331
|
+
likes?: number | null
|
|
166332
|
+
comments?: number | null
|
|
166333
|
+
saves?: number | null
|
|
166334
|
+
shares?: number | null
|
|
166335
|
+
}
|
|
166336
|
+
|
|
164626
166337
|
export type ListToSocialPostUpdateWithoutSocialPostInput = {
|
|
164627
166338
|
list?: SocialListeningListUpdateOneRequiredWithoutPostsNestedInput
|
|
164628
166339
|
}
|
|
@@ -164658,6 +166369,32 @@ export namespace Prisma {
|
|
|
164658
166369
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
164659
166370
|
}
|
|
164660
166371
|
|
|
166372
|
+
export type PublicSocialPostUpdateWithoutSocialPostInput = {
|
|
166373
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166374
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166375
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166376
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166377
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166378
|
+
}
|
|
166379
|
+
|
|
166380
|
+
export type PublicSocialPostUncheckedUpdateWithoutSocialPostInput = {
|
|
166381
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
166382
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166383
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166384
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166385
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166386
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166387
|
+
}
|
|
166388
|
+
|
|
166389
|
+
export type PublicSocialPostUncheckedUpdateManyWithoutSocialPostInput = {
|
|
166390
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
166391
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166392
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166393
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166394
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166395
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
166396
|
+
}
|
|
166397
|
+
|
|
164661
166398
|
export type StateCreateManyCountryInput = {
|
|
164662
166399
|
id?: number
|
|
164663
166400
|
stateCode: string
|
|
@@ -165865,6 +167602,10 @@ export namespace Prisma {
|
|
|
165865
167602
|
* @deprecated Use SocialPostDefaultArgs instead
|
|
165866
167603
|
*/
|
|
165867
167604
|
export type SocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialPostDefaultArgs<ExtArgs>
|
|
167605
|
+
/**
|
|
167606
|
+
* @deprecated Use PublicSocialPostDefaultArgs instead
|
|
167607
|
+
*/
|
|
167608
|
+
export type PublicSocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PublicSocialPostDefaultArgs<ExtArgs>
|
|
165868
167609
|
/**
|
|
165869
167610
|
* @deprecated Use CampaignToSocialPostDefaultArgs instead
|
|
165870
167611
|
*/
|