@creator.co/creatorco-prisma-client 1.0.53 → 1.0.55-alpha-2ec6ad0

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/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 CampaignToSocialPost
208
+ *
209
+ */
210
+ export type CampaignToSocialPost = $Result.DefaultSelection<Prisma.$CampaignToSocialPostPayload>
206
211
  /**
207
212
  * Model ArchivedSocialPost
208
213
  *
@@ -418,6 +423,15 @@ export const trolleyPaymentStatus: {
418
423
  export type trolleyPaymentStatus = (typeof trolleyPaymentStatus)[keyof typeof trolleyPaymentStatus]
419
424
 
420
425
 
426
+ export const CampaignToSocialPostStatus: {
427
+ pending: 'pending',
428
+ approved: 'approved',
429
+ declined: 'declined'
430
+ };
431
+
432
+ export type CampaignToSocialPostStatus = (typeof CampaignToSocialPostStatus)[keyof typeof CampaignToSocialPostStatus]
433
+
434
+
421
435
  export const ShopifyStoreSyncStatus: {
422
436
  syncing: 'syncing',
423
437
  synced: 'synced',
@@ -436,6 +450,10 @@ export type trolleyPaymentStatus = $Enums.trolleyPaymentStatus
436
450
 
437
451
  export const trolleyPaymentStatus: typeof $Enums.trolleyPaymentStatus
438
452
 
453
+ export type CampaignToSocialPostStatus = $Enums.CampaignToSocialPostStatus
454
+
455
+ export const CampaignToSocialPostStatus: typeof $Enums.CampaignToSocialPostStatus
456
+
439
457
  export type ShopifyStoreSyncStatus = $Enums.ShopifyStoreSyncStatus
440
458
 
441
459
  export const ShopifyStoreSyncStatus: typeof $Enums.ShopifyStoreSyncStatus
@@ -942,6 +960,16 @@ export class PrismaClient<
942
960
  */
943
961
  get socialPost(): Prisma.SocialPostDelegate<ExtArgs>;
944
962
 
963
+ /**
964
+ * `prisma.campaignToSocialPost`: Exposes CRUD operations for the **CampaignToSocialPost** model.
965
+ * Example usage:
966
+ * ```ts
967
+ * // Fetch zero or more CampaignToSocialPosts
968
+ * const campaignToSocialPosts = await prisma.campaignToSocialPost.findMany()
969
+ * ```
970
+ */
971
+ get campaignToSocialPost(): Prisma.CampaignToSocialPostDelegate<ExtArgs>;
972
+
945
973
  /**
946
974
  * `prisma.archivedSocialPost`: Exposes CRUD operations for the **ArchivedSocialPost** model.
947
975
  * Example usage:
@@ -1836,6 +1864,7 @@ export namespace Prisma {
1836
1864
  TrolleyPayment: 'TrolleyPayment',
1837
1865
  OptInVariable: 'OptInVariable',
1838
1866
  SocialPost: 'SocialPost',
1867
+ CampaignToSocialPost: 'CampaignToSocialPost',
1839
1868
  ArchivedSocialPost: 'ArchivedSocialPost',
1840
1869
  Image: 'Image',
1841
1870
  BrandImage: 'BrandImage',
@@ -1890,7 +1919,7 @@ export namespace Prisma {
1890
1919
 
1891
1920
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1892
1921
  meta: {
1893
- 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' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | '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'
1922
+ 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' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | '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'
1894
1923
  txIsolationLevel: Prisma.TransactionIsolationLevel
1895
1924
  },
1896
1925
  model: {
@@ -4554,6 +4583,76 @@ export namespace Prisma {
4554
4583
  }
4555
4584
  }
4556
4585
  }
4586
+ CampaignToSocialPost: {
4587
+ payload: Prisma.$CampaignToSocialPostPayload<ExtArgs>
4588
+ fields: Prisma.CampaignToSocialPostFieldRefs
4589
+ operations: {
4590
+ findUnique: {
4591
+ args: Prisma.CampaignToSocialPostFindUniqueArgs<ExtArgs>,
4592
+ result: $Utils.PayloadToResult<Prisma.$CampaignToSocialPostPayload> | null
4593
+ }
4594
+ findUniqueOrThrow: {
4595
+ args: Prisma.CampaignToSocialPostFindUniqueOrThrowArgs<ExtArgs>,
4596
+ result: $Utils.PayloadToResult<Prisma.$CampaignToSocialPostPayload>
4597
+ }
4598
+ findFirst: {
4599
+ args: Prisma.CampaignToSocialPostFindFirstArgs<ExtArgs>,
4600
+ result: $Utils.PayloadToResult<Prisma.$CampaignToSocialPostPayload> | null
4601
+ }
4602
+ findFirstOrThrow: {
4603
+ args: Prisma.CampaignToSocialPostFindFirstOrThrowArgs<ExtArgs>,
4604
+ result: $Utils.PayloadToResult<Prisma.$CampaignToSocialPostPayload>
4605
+ }
4606
+ findMany: {
4607
+ args: Prisma.CampaignToSocialPostFindManyArgs<ExtArgs>,
4608
+ result: $Utils.PayloadToResult<Prisma.$CampaignToSocialPostPayload>[]
4609
+ }
4610
+ create: {
4611
+ args: Prisma.CampaignToSocialPostCreateArgs<ExtArgs>,
4612
+ result: $Utils.PayloadToResult<Prisma.$CampaignToSocialPostPayload>
4613
+ }
4614
+ createMany: {
4615
+ args: Prisma.CampaignToSocialPostCreateManyArgs<ExtArgs>,
4616
+ result: Prisma.BatchPayload
4617
+ }
4618
+ createManyAndReturn: {
4619
+ args: Prisma.CampaignToSocialPostCreateManyAndReturnArgs<ExtArgs>,
4620
+ result: $Utils.PayloadToResult<Prisma.$CampaignToSocialPostPayload>[]
4621
+ }
4622
+ delete: {
4623
+ args: Prisma.CampaignToSocialPostDeleteArgs<ExtArgs>,
4624
+ result: $Utils.PayloadToResult<Prisma.$CampaignToSocialPostPayload>
4625
+ }
4626
+ update: {
4627
+ args: Prisma.CampaignToSocialPostUpdateArgs<ExtArgs>,
4628
+ result: $Utils.PayloadToResult<Prisma.$CampaignToSocialPostPayload>
4629
+ }
4630
+ deleteMany: {
4631
+ args: Prisma.CampaignToSocialPostDeleteManyArgs<ExtArgs>,
4632
+ result: Prisma.BatchPayload
4633
+ }
4634
+ updateMany: {
4635
+ args: Prisma.CampaignToSocialPostUpdateManyArgs<ExtArgs>,
4636
+ result: Prisma.BatchPayload
4637
+ }
4638
+ upsert: {
4639
+ args: Prisma.CampaignToSocialPostUpsertArgs<ExtArgs>,
4640
+ result: $Utils.PayloadToResult<Prisma.$CampaignToSocialPostPayload>
4641
+ }
4642
+ aggregate: {
4643
+ args: Prisma.CampaignToSocialPostAggregateArgs<ExtArgs>,
4644
+ result: $Utils.Optional<AggregateCampaignToSocialPost>
4645
+ }
4646
+ groupBy: {
4647
+ args: Prisma.CampaignToSocialPostGroupByArgs<ExtArgs>,
4648
+ result: $Utils.Optional<CampaignToSocialPostGroupByOutputType>[]
4649
+ }
4650
+ count: {
4651
+ args: Prisma.CampaignToSocialPostCountArgs<ExtArgs>,
4652
+ result: $Utils.Optional<CampaignToSocialPostCountAggregateOutputType> | number
4653
+ }
4654
+ }
4655
+ }
4557
4656
  ArchivedSocialPost: {
4558
4657
  payload: Prisma.$ArchivedSocialPostPayload<ExtArgs>
4559
4658
  fields: Prisma.ArchivedSocialPostFieldRefs
@@ -7865,6 +7964,7 @@ export namespace Prisma {
7865
7964
  campaignInvites: number
7866
7965
  campaignToShopifyProducts: number
7867
7966
  campaignToBrandAffiliateLinks: number
7967
+ linkedPosts: number
7868
7968
  creatorLists: number
7869
7969
  optInViews: number
7870
7970
  sequences: number
@@ -7884,6 +7984,7 @@ export namespace Prisma {
7884
7984
  campaignInvites?: boolean | CampaignCountOutputTypeCountCampaignInvitesArgs
7885
7985
  campaignToShopifyProducts?: boolean | CampaignCountOutputTypeCountCampaignToShopifyProductsArgs
7886
7986
  campaignToBrandAffiliateLinks?: boolean | CampaignCountOutputTypeCountCampaignToBrandAffiliateLinksArgs
7987
+ linkedPosts?: boolean | CampaignCountOutputTypeCountLinkedPostsArgs
7887
7988
  creatorLists?: boolean | CampaignCountOutputTypeCountCreatorListsArgs
7888
7989
  optInViews?: boolean | CampaignCountOutputTypeCountOptInViewsArgs
7889
7990
  sequences?: boolean | CampaignCountOutputTypeCountSequencesArgs
@@ -7985,6 +8086,13 @@ export namespace Prisma {
7985
8086
  where?: CampaignToBrandAffiliateLinkWhereInput
7986
8087
  }
7987
8088
 
8089
+ /**
8090
+ * CampaignCountOutputType without action
8091
+ */
8092
+ export type CampaignCountOutputTypeCountLinkedPostsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8093
+ where?: CampaignToSocialPostWhereInput
8094
+ }
8095
+
7988
8096
  /**
7989
8097
  * CampaignCountOutputType without action
7990
8098
  */
@@ -8434,10 +8542,12 @@ export namespace Prisma {
8434
8542
 
8435
8543
  export type SocialPostCountOutputType = {
8436
8544
  lists: number
8545
+ campaigns: number
8437
8546
  }
8438
8547
 
8439
8548
  export type SocialPostCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8440
8549
  lists?: boolean | SocialPostCountOutputTypeCountListsArgs
8550
+ campaigns?: boolean | SocialPostCountOutputTypeCountCampaignsArgs
8441
8551
  }
8442
8552
 
8443
8553
  // Custom InputTypes
@@ -8458,6 +8568,13 @@ export namespace Prisma {
8458
8568
  where?: ListToSocialPostWhereInput
8459
8569
  }
8460
8570
 
8571
+ /**
8572
+ * SocialPostCountOutputType without action
8573
+ */
8574
+ export type SocialPostCountOutputTypeCountCampaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8575
+ where?: CampaignToSocialPostWhereInput
8576
+ }
8577
+
8461
8578
 
8462
8579
  /**
8463
8580
  * Count Type CountryCountOutputType
@@ -30707,6 +30824,7 @@ export namespace Prisma {
30707
30824
  campaignInvites?: boolean | Campaign$campaignInvitesArgs<ExtArgs>
30708
30825
  campaignToShopifyProducts?: boolean | Campaign$campaignToShopifyProductsArgs<ExtArgs>
30709
30826
  campaignToBrandAffiliateLinks?: boolean | Campaign$campaignToBrandAffiliateLinksArgs<ExtArgs>
30827
+ linkedPosts?: boolean | Campaign$linkedPostsArgs<ExtArgs>
30710
30828
  brand?: boolean | BrandDefaultArgs<ExtArgs>
30711
30829
  creatorLists?: boolean | Campaign$creatorListsArgs<ExtArgs>
30712
30830
  optInViews?: boolean | Campaign$optInViewsArgs<ExtArgs>
@@ -30841,6 +30959,7 @@ export namespace Prisma {
30841
30959
  campaignInvites?: boolean | Campaign$campaignInvitesArgs<ExtArgs>
30842
30960
  campaignToShopifyProducts?: boolean | Campaign$campaignToShopifyProductsArgs<ExtArgs>
30843
30961
  campaignToBrandAffiliateLinks?: boolean | Campaign$campaignToBrandAffiliateLinksArgs<ExtArgs>
30962
+ linkedPosts?: boolean | Campaign$linkedPostsArgs<ExtArgs>
30844
30963
  brand?: boolean | BrandDefaultArgs<ExtArgs>
30845
30964
  creatorLists?: boolean | Campaign$creatorListsArgs<ExtArgs>
30846
30965
  optInViews?: boolean | Campaign$optInViewsArgs<ExtArgs>
@@ -30867,6 +30986,7 @@ export namespace Prisma {
30867
30986
  campaignInvites: Prisma.$CampaignInvitePayload<ExtArgs>[]
30868
30987
  campaignToShopifyProducts: Prisma.$CampaignToShopifyProductPayload<ExtArgs>[]
30869
30988
  campaignToBrandAffiliateLinks: Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>[]
30989
+ linkedPosts: Prisma.$CampaignToSocialPostPayload<ExtArgs>[]
30870
30990
  brand: Prisma.$BrandPayload<ExtArgs>
30871
30991
  creatorLists: Prisma.$CreatorListPayload<ExtArgs>[]
30872
30992
  optInViews: Prisma.$OptInViewPayload<ExtArgs>[]
@@ -31341,6 +31461,8 @@ export namespace Prisma {
31341
31461
 
31342
31462
  campaignToBrandAffiliateLinks<T extends Campaign$campaignToBrandAffiliateLinksArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$campaignToBrandAffiliateLinksArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'findMany'> | Null>;
31343
31463
 
31464
+ linkedPosts<T extends Campaign$linkedPostsArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$linkedPostsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
31465
+
31344
31466
  brand<T extends BrandDefaultArgs<ExtArgs> = {}>(args?: Subset<T, BrandDefaultArgs<ExtArgs>>): Prisma__BrandClient<$Result.GetResult<Prisma.$BrandPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
31345
31467
 
31346
31468
  creatorLists<T extends Campaign$creatorListsArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$creatorListsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CreatorListPayload<ExtArgs>, T, 'findMany'> | Null>;
@@ -31989,6 +32111,26 @@ export namespace Prisma {
31989
32111
  distinct?: CampaignToBrandAffiliateLinkScalarFieldEnum | CampaignToBrandAffiliateLinkScalarFieldEnum[]
31990
32112
  }
31991
32113
 
32114
+ /**
32115
+ * Campaign.linkedPosts
32116
+ */
32117
+ export type Campaign$linkedPostsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32118
+ /**
32119
+ * Select specific fields to fetch from the CampaignToSocialPost
32120
+ */
32121
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
32122
+ /**
32123
+ * Choose, which related nodes to fetch as well
32124
+ */
32125
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
32126
+ where?: CampaignToSocialPostWhereInput
32127
+ orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
32128
+ cursor?: CampaignToSocialPostWhereUniqueInput
32129
+ take?: number
32130
+ skip?: number
32131
+ distinct?: CampaignToSocialPostScalarFieldEnum | CampaignToSocialPostScalarFieldEnum[]
32132
+ }
32133
+
31992
32134
  /**
31993
32135
  * Campaign.creatorLists
31994
32136
  */
@@ -51290,6 +51432,7 @@ export namespace Prisma {
51290
51432
  user?: boolean | SocialPost$userArgs<ExtArgs>
51291
51433
  campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
51292
51434
  lists?: boolean | SocialPost$listsArgs<ExtArgs>
51435
+ campaigns?: boolean | SocialPost$campaignsArgs<ExtArgs>
51293
51436
  _count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
51294
51437
  }, ExtArgs["result"]["socialPost"]>
51295
51438
 
@@ -51371,6 +51514,7 @@ export namespace Prisma {
51371
51514
  user?: boolean | SocialPost$userArgs<ExtArgs>
51372
51515
  campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
51373
51516
  lists?: boolean | SocialPost$listsArgs<ExtArgs>
51517
+ campaigns?: boolean | SocialPost$campaignsArgs<ExtArgs>
51374
51518
  _count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
51375
51519
  }
51376
51520
  export type SocialPostIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -51384,6 +51528,7 @@ export namespace Prisma {
51384
51528
  user: Prisma.$UserPayload<ExtArgs> | null
51385
51529
  campaign: Prisma.$CampaignPayload<ExtArgs> | null
51386
51530
  lists: Prisma.$ListToSocialPostPayload<ExtArgs>[]
51531
+ campaigns: Prisma.$CampaignToSocialPostPayload<ExtArgs>[]
51387
51532
  }
51388
51533
  scalars: $Extensions.GetPayloadResult<{
51389
51534
  id: number
@@ -51815,6 +51960,1106 @@ export namespace Prisma {
51815
51960
 
51816
51961
  lists<T extends SocialPost$listsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$listsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ListToSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
51817
51962
 
51963
+ campaigns<T extends SocialPost$campaignsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$campaignsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
51964
+
51965
+ /**
51966
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
51967
+ * @param onfulfilled The callback to execute when the Promise is resolved.
51968
+ * @param onrejected The callback to execute when the Promise is rejected.
51969
+ * @returns A Promise for the completion of which ever callback is executed.
51970
+ */
51971
+ 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>;
51972
+ /**
51973
+ * Attaches a callback for only the rejection of the Promise.
51974
+ * @param onrejected The callback to execute when the Promise is rejected.
51975
+ * @returns A Promise for the completion of the callback.
51976
+ */
51977
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
51978
+ /**
51979
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
51980
+ * resolved value cannot be modified from the callback.
51981
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
51982
+ * @returns A Promise for the completion of the callback.
51983
+ */
51984
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
51985
+ }
51986
+
51987
+
51988
+
51989
+ /**
51990
+ * Fields of the SocialPost model
51991
+ */
51992
+ interface SocialPostFieldRefs {
51993
+ readonly id: FieldRef<"SocialPost", 'Int'>
51994
+ readonly externalId: FieldRef<"SocialPost", 'String'>
51995
+ readonly phylloId: FieldRef<"SocialPost", 'String'>
51996
+ readonly metaData: FieldRef<"SocialPost", 'Json'>
51997
+ readonly lastFetched: FieldRef<"SocialPost", 'DateTime'>
51998
+ readonly lastWebhook: FieldRef<"SocialPost", 'DateTime'>
51999
+ readonly posted: FieldRef<"SocialPost", 'DateTime'>
52000
+ readonly title: FieldRef<"SocialPost", 'String'>
52001
+ readonly description: FieldRef<"SocialPost", 'String'>
52002
+ readonly url: FieldRef<"SocialPost", 'String'>
52003
+ readonly format: FieldRef<"SocialPost", 'String'>
52004
+ readonly type: FieldRef<"SocialPost", 'String'>
52005
+ readonly platform: FieldRef<"SocialPost", 'String'>
52006
+ readonly visibility: FieldRef<"SocialPost", 'String'>
52007
+ readonly isSponsored: FieldRef<"SocialPost", 'Boolean'>
52008
+ readonly hasCollaborators: FieldRef<"SocialPost", 'Boolean'>
52009
+ readonly isOwnedByUser: FieldRef<"SocialPost", 'Boolean'>
52010
+ readonly views: FieldRef<"SocialPost", 'Int'>
52011
+ readonly replays: FieldRef<"SocialPost", 'Int'>
52012
+ readonly impressions: FieldRef<"SocialPost", 'Int'>
52013
+ readonly impressionsOrganic: FieldRef<"SocialPost", 'Int'>
52014
+ readonly impressionsPaid: FieldRef<"SocialPost", 'Int'>
52015
+ readonly reach: FieldRef<"SocialPost", 'Int'>
52016
+ readonly reachOrganic: FieldRef<"SocialPost", 'Int'>
52017
+ readonly reachPaid: FieldRef<"SocialPost", 'Int'>
52018
+ readonly watchHours: FieldRef<"SocialPost", 'Float'>
52019
+ readonly likes: FieldRef<"SocialPost", 'Int'>
52020
+ readonly dislikes: FieldRef<"SocialPost", 'Int'>
52021
+ readonly comments: FieldRef<"SocialPost", 'Int'>
52022
+ readonly saves: FieldRef<"SocialPost", 'Int'>
52023
+ readonly shares: FieldRef<"SocialPost", 'Int'>
52024
+ readonly userId: FieldRef<"SocialPost", 'Int'>
52025
+ readonly campaignId: FieldRef<"SocialPost", 'Int'>
52026
+ }
52027
+
52028
+
52029
+ // Custom InputTypes
52030
+ /**
52031
+ * SocialPost findUnique
52032
+ */
52033
+ export type SocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52034
+ /**
52035
+ * Select specific fields to fetch from the SocialPost
52036
+ */
52037
+ select?: SocialPostSelect<ExtArgs> | null
52038
+ /**
52039
+ * Choose, which related nodes to fetch as well
52040
+ */
52041
+ include?: SocialPostInclude<ExtArgs> | null
52042
+ /**
52043
+ * Filter, which SocialPost to fetch.
52044
+ */
52045
+ where: SocialPostWhereUniqueInput
52046
+ }
52047
+
52048
+ /**
52049
+ * SocialPost findUniqueOrThrow
52050
+ */
52051
+ export type SocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52052
+ /**
52053
+ * Select specific fields to fetch from the SocialPost
52054
+ */
52055
+ select?: SocialPostSelect<ExtArgs> | null
52056
+ /**
52057
+ * Choose, which related nodes to fetch as well
52058
+ */
52059
+ include?: SocialPostInclude<ExtArgs> | null
52060
+ /**
52061
+ * Filter, which SocialPost to fetch.
52062
+ */
52063
+ where: SocialPostWhereUniqueInput
52064
+ }
52065
+
52066
+ /**
52067
+ * SocialPost findFirst
52068
+ */
52069
+ export type SocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52070
+ /**
52071
+ * Select specific fields to fetch from the SocialPost
52072
+ */
52073
+ select?: SocialPostSelect<ExtArgs> | null
52074
+ /**
52075
+ * Choose, which related nodes to fetch as well
52076
+ */
52077
+ include?: SocialPostInclude<ExtArgs> | null
52078
+ /**
52079
+ * Filter, which SocialPost to fetch.
52080
+ */
52081
+ where?: SocialPostWhereInput
52082
+ /**
52083
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52084
+ *
52085
+ * Determine the order of SocialPosts to fetch.
52086
+ */
52087
+ orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
52088
+ /**
52089
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
52090
+ *
52091
+ * Sets the position for searching for SocialPosts.
52092
+ */
52093
+ cursor?: SocialPostWhereUniqueInput
52094
+ /**
52095
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52096
+ *
52097
+ * Take `±n` SocialPosts from the position of the cursor.
52098
+ */
52099
+ take?: number
52100
+ /**
52101
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52102
+ *
52103
+ * Skip the first `n` SocialPosts.
52104
+ */
52105
+ skip?: number
52106
+ /**
52107
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
52108
+ *
52109
+ * Filter by unique combinations of SocialPosts.
52110
+ */
52111
+ distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
52112
+ }
52113
+
52114
+ /**
52115
+ * SocialPost findFirstOrThrow
52116
+ */
52117
+ export type SocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52118
+ /**
52119
+ * Select specific fields to fetch from the SocialPost
52120
+ */
52121
+ select?: SocialPostSelect<ExtArgs> | null
52122
+ /**
52123
+ * Choose, which related nodes to fetch as well
52124
+ */
52125
+ include?: SocialPostInclude<ExtArgs> | null
52126
+ /**
52127
+ * Filter, which SocialPost to fetch.
52128
+ */
52129
+ where?: SocialPostWhereInput
52130
+ /**
52131
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52132
+ *
52133
+ * Determine the order of SocialPosts to fetch.
52134
+ */
52135
+ orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
52136
+ /**
52137
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
52138
+ *
52139
+ * Sets the position for searching for SocialPosts.
52140
+ */
52141
+ cursor?: SocialPostWhereUniqueInput
52142
+ /**
52143
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52144
+ *
52145
+ * Take `±n` SocialPosts from the position of the cursor.
52146
+ */
52147
+ take?: number
52148
+ /**
52149
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52150
+ *
52151
+ * Skip the first `n` SocialPosts.
52152
+ */
52153
+ skip?: number
52154
+ /**
52155
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
52156
+ *
52157
+ * Filter by unique combinations of SocialPosts.
52158
+ */
52159
+ distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
52160
+ }
52161
+
52162
+ /**
52163
+ * SocialPost findMany
52164
+ */
52165
+ export type SocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52166
+ /**
52167
+ * Select specific fields to fetch from the SocialPost
52168
+ */
52169
+ select?: SocialPostSelect<ExtArgs> | null
52170
+ /**
52171
+ * Choose, which related nodes to fetch as well
52172
+ */
52173
+ include?: SocialPostInclude<ExtArgs> | null
52174
+ /**
52175
+ * Filter, which SocialPosts to fetch.
52176
+ */
52177
+ where?: SocialPostWhereInput
52178
+ /**
52179
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52180
+ *
52181
+ * Determine the order of SocialPosts to fetch.
52182
+ */
52183
+ orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
52184
+ /**
52185
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
52186
+ *
52187
+ * Sets the position for listing SocialPosts.
52188
+ */
52189
+ cursor?: SocialPostWhereUniqueInput
52190
+ /**
52191
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52192
+ *
52193
+ * Take `±n` SocialPosts from the position of the cursor.
52194
+ */
52195
+ take?: number
52196
+ /**
52197
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52198
+ *
52199
+ * Skip the first `n` SocialPosts.
52200
+ */
52201
+ skip?: number
52202
+ distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
52203
+ }
52204
+
52205
+ /**
52206
+ * SocialPost create
52207
+ */
52208
+ export type SocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52209
+ /**
52210
+ * Select specific fields to fetch from the SocialPost
52211
+ */
52212
+ select?: SocialPostSelect<ExtArgs> | null
52213
+ /**
52214
+ * Choose, which related nodes to fetch as well
52215
+ */
52216
+ include?: SocialPostInclude<ExtArgs> | null
52217
+ /**
52218
+ * The data needed to create a SocialPost.
52219
+ */
52220
+ data: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
52221
+ }
52222
+
52223
+ /**
52224
+ * SocialPost createMany
52225
+ */
52226
+ export type SocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52227
+ /**
52228
+ * The data used to create many SocialPosts.
52229
+ */
52230
+ data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
52231
+ skipDuplicates?: boolean
52232
+ }
52233
+
52234
+ /**
52235
+ * SocialPost createManyAndReturn
52236
+ */
52237
+ export type SocialPostCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52238
+ /**
52239
+ * Select specific fields to fetch from the SocialPost
52240
+ */
52241
+ select?: SocialPostSelectCreateManyAndReturn<ExtArgs> | null
52242
+ /**
52243
+ * The data used to create many SocialPosts.
52244
+ */
52245
+ data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
52246
+ skipDuplicates?: boolean
52247
+ /**
52248
+ * Choose, which related nodes to fetch as well
52249
+ */
52250
+ include?: SocialPostIncludeCreateManyAndReturn<ExtArgs> | null
52251
+ }
52252
+
52253
+ /**
52254
+ * SocialPost update
52255
+ */
52256
+ export type SocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52257
+ /**
52258
+ * Select specific fields to fetch from the SocialPost
52259
+ */
52260
+ select?: SocialPostSelect<ExtArgs> | null
52261
+ /**
52262
+ * Choose, which related nodes to fetch as well
52263
+ */
52264
+ include?: SocialPostInclude<ExtArgs> | null
52265
+ /**
52266
+ * The data needed to update a SocialPost.
52267
+ */
52268
+ data: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
52269
+ /**
52270
+ * Choose, which SocialPost to update.
52271
+ */
52272
+ where: SocialPostWhereUniqueInput
52273
+ }
52274
+
52275
+ /**
52276
+ * SocialPost updateMany
52277
+ */
52278
+ export type SocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52279
+ /**
52280
+ * The data used to update SocialPosts.
52281
+ */
52282
+ data: XOR<SocialPostUpdateManyMutationInput, SocialPostUncheckedUpdateManyInput>
52283
+ /**
52284
+ * Filter which SocialPosts to update
52285
+ */
52286
+ where?: SocialPostWhereInput
52287
+ }
52288
+
52289
+ /**
52290
+ * SocialPost upsert
52291
+ */
52292
+ export type SocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52293
+ /**
52294
+ * Select specific fields to fetch from the SocialPost
52295
+ */
52296
+ select?: SocialPostSelect<ExtArgs> | null
52297
+ /**
52298
+ * Choose, which related nodes to fetch as well
52299
+ */
52300
+ include?: SocialPostInclude<ExtArgs> | null
52301
+ /**
52302
+ * The filter to search for the SocialPost to update in case it exists.
52303
+ */
52304
+ where: SocialPostWhereUniqueInput
52305
+ /**
52306
+ * In case the SocialPost found by the `where` argument doesn't exist, create a new SocialPost with this data.
52307
+ */
52308
+ create: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
52309
+ /**
52310
+ * In case the SocialPost was found with the provided `where` argument, update it with this data.
52311
+ */
52312
+ update: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
52313
+ }
52314
+
52315
+ /**
52316
+ * SocialPost delete
52317
+ */
52318
+ export type SocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52319
+ /**
52320
+ * Select specific fields to fetch from the SocialPost
52321
+ */
52322
+ select?: SocialPostSelect<ExtArgs> | null
52323
+ /**
52324
+ * Choose, which related nodes to fetch as well
52325
+ */
52326
+ include?: SocialPostInclude<ExtArgs> | null
52327
+ /**
52328
+ * Filter which SocialPost to delete.
52329
+ */
52330
+ where: SocialPostWhereUniqueInput
52331
+ }
52332
+
52333
+ /**
52334
+ * SocialPost deleteMany
52335
+ */
52336
+ export type SocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52337
+ /**
52338
+ * Filter which SocialPosts to delete
52339
+ */
52340
+ where?: SocialPostWhereInput
52341
+ }
52342
+
52343
+ /**
52344
+ * SocialPost.user
52345
+ */
52346
+ export type SocialPost$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52347
+ /**
52348
+ * Select specific fields to fetch from the User
52349
+ */
52350
+ select?: UserSelect<ExtArgs> | null
52351
+ /**
52352
+ * Choose, which related nodes to fetch as well
52353
+ */
52354
+ include?: UserInclude<ExtArgs> | null
52355
+ where?: UserWhereInput
52356
+ }
52357
+
52358
+ /**
52359
+ * SocialPost.campaign
52360
+ */
52361
+ export type SocialPost$campaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52362
+ /**
52363
+ * Select specific fields to fetch from the Campaign
52364
+ */
52365
+ select?: CampaignSelect<ExtArgs> | null
52366
+ /**
52367
+ * Choose, which related nodes to fetch as well
52368
+ */
52369
+ include?: CampaignInclude<ExtArgs> | null
52370
+ where?: CampaignWhereInput
52371
+ }
52372
+
52373
+ /**
52374
+ * SocialPost.lists
52375
+ */
52376
+ export type SocialPost$listsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52377
+ /**
52378
+ * Select specific fields to fetch from the ListToSocialPost
52379
+ */
52380
+ select?: ListToSocialPostSelect<ExtArgs> | null
52381
+ /**
52382
+ * Choose, which related nodes to fetch as well
52383
+ */
52384
+ include?: ListToSocialPostInclude<ExtArgs> | null
52385
+ where?: ListToSocialPostWhereInput
52386
+ orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
52387
+ cursor?: ListToSocialPostWhereUniqueInput
52388
+ take?: number
52389
+ skip?: number
52390
+ distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
52391
+ }
52392
+
52393
+ /**
52394
+ * SocialPost.campaigns
52395
+ */
52396
+ export type SocialPost$campaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52397
+ /**
52398
+ * Select specific fields to fetch from the CampaignToSocialPost
52399
+ */
52400
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
52401
+ /**
52402
+ * Choose, which related nodes to fetch as well
52403
+ */
52404
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
52405
+ where?: CampaignToSocialPostWhereInput
52406
+ orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
52407
+ cursor?: CampaignToSocialPostWhereUniqueInput
52408
+ take?: number
52409
+ skip?: number
52410
+ distinct?: CampaignToSocialPostScalarFieldEnum | CampaignToSocialPostScalarFieldEnum[]
52411
+ }
52412
+
52413
+ /**
52414
+ * SocialPost without action
52415
+ */
52416
+ export type SocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52417
+ /**
52418
+ * Select specific fields to fetch from the SocialPost
52419
+ */
52420
+ select?: SocialPostSelect<ExtArgs> | null
52421
+ /**
52422
+ * Choose, which related nodes to fetch as well
52423
+ */
52424
+ include?: SocialPostInclude<ExtArgs> | null
52425
+ }
52426
+
52427
+
52428
+ /**
52429
+ * Model CampaignToSocialPost
52430
+ */
52431
+
52432
+ export type AggregateCampaignToSocialPost = {
52433
+ _count: CampaignToSocialPostCountAggregateOutputType | null
52434
+ _avg: CampaignToSocialPostAvgAggregateOutputType | null
52435
+ _sum: CampaignToSocialPostSumAggregateOutputType | null
52436
+ _min: CampaignToSocialPostMinAggregateOutputType | null
52437
+ _max: CampaignToSocialPostMaxAggregateOutputType | null
52438
+ }
52439
+
52440
+ export type CampaignToSocialPostAvgAggregateOutputType = {
52441
+ campaignId: number | null
52442
+ socialPostId: number | null
52443
+ }
52444
+
52445
+ export type CampaignToSocialPostSumAggregateOutputType = {
52446
+ campaignId: number | null
52447
+ socialPostId: number | null
52448
+ }
52449
+
52450
+ export type CampaignToSocialPostMinAggregateOutputType = {
52451
+ campaignId: number | null
52452
+ socialPostId: number | null
52453
+ status: $Enums.CampaignToSocialPostStatus | null
52454
+ created: Date | null
52455
+ }
52456
+
52457
+ export type CampaignToSocialPostMaxAggregateOutputType = {
52458
+ campaignId: number | null
52459
+ socialPostId: number | null
52460
+ status: $Enums.CampaignToSocialPostStatus | null
52461
+ created: Date | null
52462
+ }
52463
+
52464
+ export type CampaignToSocialPostCountAggregateOutputType = {
52465
+ campaignId: number
52466
+ socialPostId: number
52467
+ status: number
52468
+ created: number
52469
+ metaData: number
52470
+ _all: number
52471
+ }
52472
+
52473
+
52474
+ export type CampaignToSocialPostAvgAggregateInputType = {
52475
+ campaignId?: true
52476
+ socialPostId?: true
52477
+ }
52478
+
52479
+ export type CampaignToSocialPostSumAggregateInputType = {
52480
+ campaignId?: true
52481
+ socialPostId?: true
52482
+ }
52483
+
52484
+ export type CampaignToSocialPostMinAggregateInputType = {
52485
+ campaignId?: true
52486
+ socialPostId?: true
52487
+ status?: true
52488
+ created?: true
52489
+ }
52490
+
52491
+ export type CampaignToSocialPostMaxAggregateInputType = {
52492
+ campaignId?: true
52493
+ socialPostId?: true
52494
+ status?: true
52495
+ created?: true
52496
+ }
52497
+
52498
+ export type CampaignToSocialPostCountAggregateInputType = {
52499
+ campaignId?: true
52500
+ socialPostId?: true
52501
+ status?: true
52502
+ created?: true
52503
+ metaData?: true
52504
+ _all?: true
52505
+ }
52506
+
52507
+ export type CampaignToSocialPostAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52508
+ /**
52509
+ * Filter which CampaignToSocialPost to aggregate.
52510
+ */
52511
+ where?: CampaignToSocialPostWhereInput
52512
+ /**
52513
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52514
+ *
52515
+ * Determine the order of CampaignToSocialPosts to fetch.
52516
+ */
52517
+ orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
52518
+ /**
52519
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
52520
+ *
52521
+ * Sets the start position
52522
+ */
52523
+ cursor?: CampaignToSocialPostWhereUniqueInput
52524
+ /**
52525
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52526
+ *
52527
+ * Take `±n` CampaignToSocialPosts from the position of the cursor.
52528
+ */
52529
+ take?: number
52530
+ /**
52531
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52532
+ *
52533
+ * Skip the first `n` CampaignToSocialPosts.
52534
+ */
52535
+ skip?: number
52536
+ /**
52537
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
52538
+ *
52539
+ * Count returned CampaignToSocialPosts
52540
+ **/
52541
+ _count?: true | CampaignToSocialPostCountAggregateInputType
52542
+ /**
52543
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
52544
+ *
52545
+ * Select which fields to average
52546
+ **/
52547
+ _avg?: CampaignToSocialPostAvgAggregateInputType
52548
+ /**
52549
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
52550
+ *
52551
+ * Select which fields to sum
52552
+ **/
52553
+ _sum?: CampaignToSocialPostSumAggregateInputType
52554
+ /**
52555
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
52556
+ *
52557
+ * Select which fields to find the minimum value
52558
+ **/
52559
+ _min?: CampaignToSocialPostMinAggregateInputType
52560
+ /**
52561
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
52562
+ *
52563
+ * Select which fields to find the maximum value
52564
+ **/
52565
+ _max?: CampaignToSocialPostMaxAggregateInputType
52566
+ }
52567
+
52568
+ export type GetCampaignToSocialPostAggregateType<T extends CampaignToSocialPostAggregateArgs> = {
52569
+ [P in keyof T & keyof AggregateCampaignToSocialPost]: P extends '_count' | 'count'
52570
+ ? T[P] extends true
52571
+ ? number
52572
+ : GetScalarType<T[P], AggregateCampaignToSocialPost[P]>
52573
+ : GetScalarType<T[P], AggregateCampaignToSocialPost[P]>
52574
+ }
52575
+
52576
+
52577
+
52578
+
52579
+ export type CampaignToSocialPostGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52580
+ where?: CampaignToSocialPostWhereInput
52581
+ orderBy?: CampaignToSocialPostOrderByWithAggregationInput | CampaignToSocialPostOrderByWithAggregationInput[]
52582
+ by: CampaignToSocialPostScalarFieldEnum[] | CampaignToSocialPostScalarFieldEnum
52583
+ having?: CampaignToSocialPostScalarWhereWithAggregatesInput
52584
+ take?: number
52585
+ skip?: number
52586
+ _count?: CampaignToSocialPostCountAggregateInputType | true
52587
+ _avg?: CampaignToSocialPostAvgAggregateInputType
52588
+ _sum?: CampaignToSocialPostSumAggregateInputType
52589
+ _min?: CampaignToSocialPostMinAggregateInputType
52590
+ _max?: CampaignToSocialPostMaxAggregateInputType
52591
+ }
52592
+
52593
+ export type CampaignToSocialPostGroupByOutputType = {
52594
+ campaignId: number
52595
+ socialPostId: number
52596
+ status: $Enums.CampaignToSocialPostStatus
52597
+ created: Date
52598
+ metaData: JsonValue
52599
+ _count: CampaignToSocialPostCountAggregateOutputType | null
52600
+ _avg: CampaignToSocialPostAvgAggregateOutputType | null
52601
+ _sum: CampaignToSocialPostSumAggregateOutputType | null
52602
+ _min: CampaignToSocialPostMinAggregateOutputType | null
52603
+ _max: CampaignToSocialPostMaxAggregateOutputType | null
52604
+ }
52605
+
52606
+ type GetCampaignToSocialPostGroupByPayload<T extends CampaignToSocialPostGroupByArgs> = Prisma.PrismaPromise<
52607
+ Array<
52608
+ PickEnumerable<CampaignToSocialPostGroupByOutputType, T['by']> &
52609
+ {
52610
+ [P in ((keyof T) & (keyof CampaignToSocialPostGroupByOutputType))]: P extends '_count'
52611
+ ? T[P] extends boolean
52612
+ ? number
52613
+ : GetScalarType<T[P], CampaignToSocialPostGroupByOutputType[P]>
52614
+ : GetScalarType<T[P], CampaignToSocialPostGroupByOutputType[P]>
52615
+ }
52616
+ >
52617
+ >
52618
+
52619
+
52620
+ export type CampaignToSocialPostSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
52621
+ campaignId?: boolean
52622
+ socialPostId?: boolean
52623
+ status?: boolean
52624
+ created?: boolean
52625
+ metaData?: boolean
52626
+ campaign?: boolean | CampaignDefaultArgs<ExtArgs>
52627
+ socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
52628
+ }, ExtArgs["result"]["campaignToSocialPost"]>
52629
+
52630
+ export type CampaignToSocialPostSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
52631
+ campaignId?: boolean
52632
+ socialPostId?: boolean
52633
+ status?: boolean
52634
+ created?: boolean
52635
+ metaData?: boolean
52636
+ campaign?: boolean | CampaignDefaultArgs<ExtArgs>
52637
+ socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
52638
+ }, ExtArgs["result"]["campaignToSocialPost"]>
52639
+
52640
+ export type CampaignToSocialPostSelectScalar = {
52641
+ campaignId?: boolean
52642
+ socialPostId?: boolean
52643
+ status?: boolean
52644
+ created?: boolean
52645
+ metaData?: boolean
52646
+ }
52647
+
52648
+ export type CampaignToSocialPostInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52649
+ campaign?: boolean | CampaignDefaultArgs<ExtArgs>
52650
+ socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
52651
+ }
52652
+ export type CampaignToSocialPostIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52653
+ campaign?: boolean | CampaignDefaultArgs<ExtArgs>
52654
+ socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
52655
+ }
52656
+
52657
+ export type $CampaignToSocialPostPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52658
+ name: "CampaignToSocialPost"
52659
+ objects: {
52660
+ campaign: Prisma.$CampaignPayload<ExtArgs>
52661
+ socialPost: Prisma.$SocialPostPayload<ExtArgs>
52662
+ }
52663
+ scalars: $Extensions.GetPayloadResult<{
52664
+ campaignId: number
52665
+ socialPostId: number
52666
+ status: $Enums.CampaignToSocialPostStatus
52667
+ created: Date
52668
+ metaData: Prisma.JsonValue
52669
+ }, ExtArgs["result"]["campaignToSocialPost"]>
52670
+ composites: {}
52671
+ }
52672
+
52673
+ type CampaignToSocialPostGetPayload<S extends boolean | null | undefined | CampaignToSocialPostDefaultArgs> = $Result.GetResult<Prisma.$CampaignToSocialPostPayload, S>
52674
+
52675
+ type CampaignToSocialPostCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
52676
+ Omit<CampaignToSocialPostFindManyArgs, 'select' | 'include' | 'distinct'> & {
52677
+ select?: CampaignToSocialPostCountAggregateInputType | true
52678
+ }
52679
+
52680
+ export interface CampaignToSocialPostDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
52681
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CampaignToSocialPost'], meta: { name: 'CampaignToSocialPost' } }
52682
+ /**
52683
+ * Find zero or one CampaignToSocialPost that matches the filter.
52684
+ * @param {CampaignToSocialPostFindUniqueArgs} args - Arguments to find a CampaignToSocialPost
52685
+ * @example
52686
+ * // Get one CampaignToSocialPost
52687
+ * const campaignToSocialPost = await prisma.campaignToSocialPost.findUnique({
52688
+ * where: {
52689
+ * // ... provide filter here
52690
+ * }
52691
+ * })
52692
+ **/
52693
+ findUnique<T extends CampaignToSocialPostFindUniqueArgs<ExtArgs>>(
52694
+ args: SelectSubset<T, CampaignToSocialPostFindUniqueArgs<ExtArgs>>
52695
+ ): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
52696
+
52697
+ /**
52698
+ * Find one CampaignToSocialPost that matches the filter or throw an error with `error.code='P2025'`
52699
+ * if no matches were found.
52700
+ * @param {CampaignToSocialPostFindUniqueOrThrowArgs} args - Arguments to find a CampaignToSocialPost
52701
+ * @example
52702
+ * // Get one CampaignToSocialPost
52703
+ * const campaignToSocialPost = await prisma.campaignToSocialPost.findUniqueOrThrow({
52704
+ * where: {
52705
+ * // ... provide filter here
52706
+ * }
52707
+ * })
52708
+ **/
52709
+ findUniqueOrThrow<T extends CampaignToSocialPostFindUniqueOrThrowArgs<ExtArgs>>(
52710
+ args?: SelectSubset<T, CampaignToSocialPostFindUniqueOrThrowArgs<ExtArgs>>
52711
+ ): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
52712
+
52713
+ /**
52714
+ * Find the first CampaignToSocialPost that matches the filter.
52715
+ * Note, that providing `undefined` is treated as the value not being there.
52716
+ * Read more here: https://pris.ly/d/null-undefined
52717
+ * @param {CampaignToSocialPostFindFirstArgs} args - Arguments to find a CampaignToSocialPost
52718
+ * @example
52719
+ * // Get one CampaignToSocialPost
52720
+ * const campaignToSocialPost = await prisma.campaignToSocialPost.findFirst({
52721
+ * where: {
52722
+ * // ... provide filter here
52723
+ * }
52724
+ * })
52725
+ **/
52726
+ findFirst<T extends CampaignToSocialPostFindFirstArgs<ExtArgs>>(
52727
+ args?: SelectSubset<T, CampaignToSocialPostFindFirstArgs<ExtArgs>>
52728
+ ): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
52729
+
52730
+ /**
52731
+ * Find the first CampaignToSocialPost that matches the filter or
52732
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
52733
+ * Note, that providing `undefined` is treated as the value not being there.
52734
+ * Read more here: https://pris.ly/d/null-undefined
52735
+ * @param {CampaignToSocialPostFindFirstOrThrowArgs} args - Arguments to find a CampaignToSocialPost
52736
+ * @example
52737
+ * // Get one CampaignToSocialPost
52738
+ * const campaignToSocialPost = await prisma.campaignToSocialPost.findFirstOrThrow({
52739
+ * where: {
52740
+ * // ... provide filter here
52741
+ * }
52742
+ * })
52743
+ **/
52744
+ findFirstOrThrow<T extends CampaignToSocialPostFindFirstOrThrowArgs<ExtArgs>>(
52745
+ args?: SelectSubset<T, CampaignToSocialPostFindFirstOrThrowArgs<ExtArgs>>
52746
+ ): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
52747
+
52748
+ /**
52749
+ * Find zero or more CampaignToSocialPosts that matches the filter.
52750
+ * Note, that providing `undefined` is treated as the value not being there.
52751
+ * Read more here: https://pris.ly/d/null-undefined
52752
+ * @param {CampaignToSocialPostFindManyArgs} args - Arguments to filter and select certain fields only.
52753
+ * @example
52754
+ * // Get all CampaignToSocialPosts
52755
+ * const campaignToSocialPosts = await prisma.campaignToSocialPost.findMany()
52756
+ *
52757
+ * // Get first 10 CampaignToSocialPosts
52758
+ * const campaignToSocialPosts = await prisma.campaignToSocialPost.findMany({ take: 10 })
52759
+ *
52760
+ * // Only select the `campaignId`
52761
+ * const campaignToSocialPostWithCampaignIdOnly = await prisma.campaignToSocialPost.findMany({ select: { campaignId: true } })
52762
+ *
52763
+ **/
52764
+ findMany<T extends CampaignToSocialPostFindManyArgs<ExtArgs>>(
52765
+ args?: SelectSubset<T, CampaignToSocialPostFindManyArgs<ExtArgs>>
52766
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findMany'>>
52767
+
52768
+ /**
52769
+ * Create a CampaignToSocialPost.
52770
+ * @param {CampaignToSocialPostCreateArgs} args - Arguments to create a CampaignToSocialPost.
52771
+ * @example
52772
+ * // Create one CampaignToSocialPost
52773
+ * const CampaignToSocialPost = await prisma.campaignToSocialPost.create({
52774
+ * data: {
52775
+ * // ... data to create a CampaignToSocialPost
52776
+ * }
52777
+ * })
52778
+ *
52779
+ **/
52780
+ create<T extends CampaignToSocialPostCreateArgs<ExtArgs>>(
52781
+ args: SelectSubset<T, CampaignToSocialPostCreateArgs<ExtArgs>>
52782
+ ): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
52783
+
52784
+ /**
52785
+ * Create many CampaignToSocialPosts.
52786
+ * @param {CampaignToSocialPostCreateManyArgs} args - Arguments to create many CampaignToSocialPosts.
52787
+ * @example
52788
+ * // Create many CampaignToSocialPosts
52789
+ * const campaignToSocialPost = await prisma.campaignToSocialPost.createMany({
52790
+ * data: [
52791
+ * // ... provide data here
52792
+ * ]
52793
+ * })
52794
+ *
52795
+ **/
52796
+ createMany<T extends CampaignToSocialPostCreateManyArgs<ExtArgs>>(
52797
+ args?: SelectSubset<T, CampaignToSocialPostCreateManyArgs<ExtArgs>>
52798
+ ): Prisma.PrismaPromise<BatchPayload>
52799
+
52800
+ /**
52801
+ * Create many CampaignToSocialPosts and returns the data saved in the database.
52802
+ * @param {CampaignToSocialPostCreateManyAndReturnArgs} args - Arguments to create many CampaignToSocialPosts.
52803
+ * @example
52804
+ * // Create many CampaignToSocialPosts
52805
+ * const campaignToSocialPost = await prisma.campaignToSocialPost.createManyAndReturn({
52806
+ * data: [
52807
+ * // ... provide data here
52808
+ * ]
52809
+ * })
52810
+ *
52811
+ * // Create many CampaignToSocialPosts and only return the `campaignId`
52812
+ * const campaignToSocialPostWithCampaignIdOnly = await prisma.campaignToSocialPost.createManyAndReturn({
52813
+ * select: { campaignId: true },
52814
+ * data: [
52815
+ * // ... provide data here
52816
+ * ]
52817
+ * })
52818
+ * Note, that providing `undefined` is treated as the value not being there.
52819
+ * Read more here: https://pris.ly/d/null-undefined
52820
+ *
52821
+ **/
52822
+ createManyAndReturn<T extends CampaignToSocialPostCreateManyAndReturnArgs<ExtArgs>>(
52823
+ args?: SelectSubset<T, CampaignToSocialPostCreateManyAndReturnArgs<ExtArgs>>
52824
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'createManyAndReturn'>>
52825
+
52826
+ /**
52827
+ * Delete a CampaignToSocialPost.
52828
+ * @param {CampaignToSocialPostDeleteArgs} args - Arguments to delete one CampaignToSocialPost.
52829
+ * @example
52830
+ * // Delete one CampaignToSocialPost
52831
+ * const CampaignToSocialPost = await prisma.campaignToSocialPost.delete({
52832
+ * where: {
52833
+ * // ... filter to delete one CampaignToSocialPost
52834
+ * }
52835
+ * })
52836
+ *
52837
+ **/
52838
+ delete<T extends CampaignToSocialPostDeleteArgs<ExtArgs>>(
52839
+ args: SelectSubset<T, CampaignToSocialPostDeleteArgs<ExtArgs>>
52840
+ ): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
52841
+
52842
+ /**
52843
+ * Update one CampaignToSocialPost.
52844
+ * @param {CampaignToSocialPostUpdateArgs} args - Arguments to update one CampaignToSocialPost.
52845
+ * @example
52846
+ * // Update one CampaignToSocialPost
52847
+ * const campaignToSocialPost = await prisma.campaignToSocialPost.update({
52848
+ * where: {
52849
+ * // ... provide filter here
52850
+ * },
52851
+ * data: {
52852
+ * // ... provide data here
52853
+ * }
52854
+ * })
52855
+ *
52856
+ **/
52857
+ update<T extends CampaignToSocialPostUpdateArgs<ExtArgs>>(
52858
+ args: SelectSubset<T, CampaignToSocialPostUpdateArgs<ExtArgs>>
52859
+ ): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
52860
+
52861
+ /**
52862
+ * Delete zero or more CampaignToSocialPosts.
52863
+ * @param {CampaignToSocialPostDeleteManyArgs} args - Arguments to filter CampaignToSocialPosts to delete.
52864
+ * @example
52865
+ * // Delete a few CampaignToSocialPosts
52866
+ * const { count } = await prisma.campaignToSocialPost.deleteMany({
52867
+ * where: {
52868
+ * // ... provide filter here
52869
+ * }
52870
+ * })
52871
+ *
52872
+ **/
52873
+ deleteMany<T extends CampaignToSocialPostDeleteManyArgs<ExtArgs>>(
52874
+ args?: SelectSubset<T, CampaignToSocialPostDeleteManyArgs<ExtArgs>>
52875
+ ): Prisma.PrismaPromise<BatchPayload>
52876
+
52877
+ /**
52878
+ * Update zero or more CampaignToSocialPosts.
52879
+ * Note, that providing `undefined` is treated as the value not being there.
52880
+ * Read more here: https://pris.ly/d/null-undefined
52881
+ * @param {CampaignToSocialPostUpdateManyArgs} args - Arguments to update one or more rows.
52882
+ * @example
52883
+ * // Update many CampaignToSocialPosts
52884
+ * const campaignToSocialPost = await prisma.campaignToSocialPost.updateMany({
52885
+ * where: {
52886
+ * // ... provide filter here
52887
+ * },
52888
+ * data: {
52889
+ * // ... provide data here
52890
+ * }
52891
+ * })
52892
+ *
52893
+ **/
52894
+ updateMany<T extends CampaignToSocialPostUpdateManyArgs<ExtArgs>>(
52895
+ args: SelectSubset<T, CampaignToSocialPostUpdateManyArgs<ExtArgs>>
52896
+ ): Prisma.PrismaPromise<BatchPayload>
52897
+
52898
+ /**
52899
+ * Create or update one CampaignToSocialPost.
52900
+ * @param {CampaignToSocialPostUpsertArgs} args - Arguments to update or create a CampaignToSocialPost.
52901
+ * @example
52902
+ * // Update or create a CampaignToSocialPost
52903
+ * const campaignToSocialPost = await prisma.campaignToSocialPost.upsert({
52904
+ * create: {
52905
+ * // ... data to create a CampaignToSocialPost
52906
+ * },
52907
+ * update: {
52908
+ * // ... in case it already exists, update
52909
+ * },
52910
+ * where: {
52911
+ * // ... the filter for the CampaignToSocialPost we want to update
52912
+ * }
52913
+ * })
52914
+ **/
52915
+ upsert<T extends CampaignToSocialPostUpsertArgs<ExtArgs>>(
52916
+ args: SelectSubset<T, CampaignToSocialPostUpsertArgs<ExtArgs>>
52917
+ ): Prisma__CampaignToSocialPostClient<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
52918
+
52919
+ /**
52920
+ * Count the number of CampaignToSocialPosts.
52921
+ * Note, that providing `undefined` is treated as the value not being there.
52922
+ * Read more here: https://pris.ly/d/null-undefined
52923
+ * @param {CampaignToSocialPostCountArgs} args - Arguments to filter CampaignToSocialPosts to count.
52924
+ * @example
52925
+ * // Count the number of CampaignToSocialPosts
52926
+ * const count = await prisma.campaignToSocialPost.count({
52927
+ * where: {
52928
+ * // ... the filter for the CampaignToSocialPosts we want to count
52929
+ * }
52930
+ * })
52931
+ **/
52932
+ count<T extends CampaignToSocialPostCountArgs>(
52933
+ args?: Subset<T, CampaignToSocialPostCountArgs>,
52934
+ ): Prisma.PrismaPromise<
52935
+ T extends $Utils.Record<'select', any>
52936
+ ? T['select'] extends true
52937
+ ? number
52938
+ : GetScalarType<T['select'], CampaignToSocialPostCountAggregateOutputType>
52939
+ : number
52940
+ >
52941
+
52942
+ /**
52943
+ * Allows you to perform aggregations operations on a CampaignToSocialPost.
52944
+ * Note, that providing `undefined` is treated as the value not being there.
52945
+ * Read more here: https://pris.ly/d/null-undefined
52946
+ * @param {CampaignToSocialPostAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
52947
+ * @example
52948
+ * // Ordered by age ascending
52949
+ * // Where email contains prisma.io
52950
+ * // Limited to the 10 users
52951
+ * const aggregations = await prisma.user.aggregate({
52952
+ * _avg: {
52953
+ * age: true,
52954
+ * },
52955
+ * where: {
52956
+ * email: {
52957
+ * contains: "prisma.io",
52958
+ * },
52959
+ * },
52960
+ * orderBy: {
52961
+ * age: "asc",
52962
+ * },
52963
+ * take: 10,
52964
+ * })
52965
+ **/
52966
+ aggregate<T extends CampaignToSocialPostAggregateArgs>(args: Subset<T, CampaignToSocialPostAggregateArgs>): Prisma.PrismaPromise<GetCampaignToSocialPostAggregateType<T>>
52967
+
52968
+ /**
52969
+ * Group by CampaignToSocialPost.
52970
+ * Note, that providing `undefined` is treated as the value not being there.
52971
+ * Read more here: https://pris.ly/d/null-undefined
52972
+ * @param {CampaignToSocialPostGroupByArgs} args - Group by arguments.
52973
+ * @example
52974
+ * // Group by city, order by createdAt, get count
52975
+ * const result = await prisma.user.groupBy({
52976
+ * by: ['city', 'createdAt'],
52977
+ * orderBy: {
52978
+ * createdAt: true
52979
+ * },
52980
+ * _count: {
52981
+ * _all: true
52982
+ * },
52983
+ * })
52984
+ *
52985
+ **/
52986
+ groupBy<
52987
+ T extends CampaignToSocialPostGroupByArgs,
52988
+ HasSelectOrTake extends Or<
52989
+ Extends<'skip', Keys<T>>,
52990
+ Extends<'take', Keys<T>>
52991
+ >,
52992
+ OrderByArg extends True extends HasSelectOrTake
52993
+ ? { orderBy: CampaignToSocialPostGroupByArgs['orderBy'] }
52994
+ : { orderBy?: CampaignToSocialPostGroupByArgs['orderBy'] },
52995
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
52996
+ ByFields extends MaybeTupleToUnion<T['by']>,
52997
+ ByValid extends Has<ByFields, OrderFields>,
52998
+ HavingFields extends GetHavingFields<T['having']>,
52999
+ HavingValid extends Has<ByFields, HavingFields>,
53000
+ ByEmpty extends T['by'] extends never[] ? True : False,
53001
+ InputErrors extends ByEmpty extends True
53002
+ ? `Error: "by" must not be empty.`
53003
+ : HavingValid extends False
53004
+ ? {
53005
+ [P in HavingFields]: P extends ByFields
53006
+ ? never
53007
+ : P extends string
53008
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
53009
+ : [
53010
+ Error,
53011
+ 'Field ',
53012
+ P,
53013
+ ` in "having" needs to be provided in "by"`,
53014
+ ]
53015
+ }[HavingFields]
53016
+ : 'take' extends Keys<T>
53017
+ ? 'orderBy' extends Keys<T>
53018
+ ? ByValid extends True
53019
+ ? {}
53020
+ : {
53021
+ [P in OrderFields]: P extends ByFields
53022
+ ? never
53023
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
53024
+ }[OrderFields]
53025
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
53026
+ : 'skip' extends Keys<T>
53027
+ ? 'orderBy' extends Keys<T>
53028
+ ? ByValid extends True
53029
+ ? {}
53030
+ : {
53031
+ [P in OrderFields]: P extends ByFields
53032
+ ? never
53033
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
53034
+ }[OrderFields]
53035
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
53036
+ : ByValid extends True
53037
+ ? {}
53038
+ : {
53039
+ [P in OrderFields]: P extends ByFields
53040
+ ? never
53041
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
53042
+ }[OrderFields]
53043
+ >(args: SubsetIntersection<T, CampaignToSocialPostGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCampaignToSocialPostGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
53044
+ /**
53045
+ * Fields of the CampaignToSocialPost model
53046
+ */
53047
+ readonly fields: CampaignToSocialPostFieldRefs;
53048
+ }
53049
+
53050
+ /**
53051
+ * The delegate class that acts as a "Promise-like" for CampaignToSocialPost.
53052
+ * Why is this prefixed with `Prisma__`?
53053
+ * Because we want to prevent naming conflicts as mentioned in
53054
+ * https://github.com/prisma/prisma-client-js/issues/707
53055
+ */
53056
+ export interface Prisma__CampaignToSocialPostClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
53057
+ readonly [Symbol.toStringTag]: 'PrismaPromise';
53058
+
53059
+ campaign<T extends CampaignDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CampaignDefaultArgs<ExtArgs>>): Prisma__CampaignClient<$Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
53060
+
53061
+ socialPost<T extends SocialPostDefaultArgs<ExtArgs> = {}>(args?: Subset<T, SocialPostDefaultArgs<ExtArgs>>): Prisma__SocialPostClient<$Result.GetResult<Prisma.$SocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
53062
+
51818
53063
  /**
51819
53064
  * Attaches callbacks for the resolution and/or rejection of the Promise.
51820
53065
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -51840,421 +53085,343 @@ export namespace Prisma {
51840
53085
 
51841
53086
 
51842
53087
  /**
51843
- * Fields of the SocialPost model
53088
+ * Fields of the CampaignToSocialPost model
51844
53089
  */
51845
- interface SocialPostFieldRefs {
51846
- readonly id: FieldRef<"SocialPost", 'Int'>
51847
- readonly externalId: FieldRef<"SocialPost", 'String'>
51848
- readonly phylloId: FieldRef<"SocialPost", 'String'>
51849
- readonly metaData: FieldRef<"SocialPost", 'Json'>
51850
- readonly lastFetched: FieldRef<"SocialPost", 'DateTime'>
51851
- readonly lastWebhook: FieldRef<"SocialPost", 'DateTime'>
51852
- readonly posted: FieldRef<"SocialPost", 'DateTime'>
51853
- readonly title: FieldRef<"SocialPost", 'String'>
51854
- readonly description: FieldRef<"SocialPost", 'String'>
51855
- readonly url: FieldRef<"SocialPost", 'String'>
51856
- readonly format: FieldRef<"SocialPost", 'String'>
51857
- readonly type: FieldRef<"SocialPost", 'String'>
51858
- readonly platform: FieldRef<"SocialPost", 'String'>
51859
- readonly visibility: FieldRef<"SocialPost", 'String'>
51860
- readonly isSponsored: FieldRef<"SocialPost", 'Boolean'>
51861
- readonly hasCollaborators: FieldRef<"SocialPost", 'Boolean'>
51862
- readonly isOwnedByUser: FieldRef<"SocialPost", 'Boolean'>
51863
- readonly views: FieldRef<"SocialPost", 'Int'>
51864
- readonly replays: FieldRef<"SocialPost", 'Int'>
51865
- readonly impressions: FieldRef<"SocialPost", 'Int'>
51866
- readonly impressionsOrganic: FieldRef<"SocialPost", 'Int'>
51867
- readonly impressionsPaid: FieldRef<"SocialPost", 'Int'>
51868
- readonly reach: FieldRef<"SocialPost", 'Int'>
51869
- readonly reachOrganic: FieldRef<"SocialPost", 'Int'>
51870
- readonly reachPaid: FieldRef<"SocialPost", 'Int'>
51871
- readonly watchHours: FieldRef<"SocialPost", 'Float'>
51872
- readonly likes: FieldRef<"SocialPost", 'Int'>
51873
- readonly dislikes: FieldRef<"SocialPost", 'Int'>
51874
- readonly comments: FieldRef<"SocialPost", 'Int'>
51875
- readonly saves: FieldRef<"SocialPost", 'Int'>
51876
- readonly shares: FieldRef<"SocialPost", 'Int'>
51877
- readonly userId: FieldRef<"SocialPost", 'Int'>
51878
- readonly campaignId: FieldRef<"SocialPost", 'Int'>
53090
+ interface CampaignToSocialPostFieldRefs {
53091
+ readonly campaignId: FieldRef<"CampaignToSocialPost", 'Int'>
53092
+ readonly socialPostId: FieldRef<"CampaignToSocialPost", 'Int'>
53093
+ readonly status: FieldRef<"CampaignToSocialPost", 'CampaignToSocialPostStatus'>
53094
+ readonly created: FieldRef<"CampaignToSocialPost", 'DateTime'>
53095
+ readonly metaData: FieldRef<"CampaignToSocialPost", 'Json'>
51879
53096
  }
51880
53097
 
51881
53098
 
51882
53099
  // Custom InputTypes
51883
53100
  /**
51884
- * SocialPost findUnique
53101
+ * CampaignToSocialPost findUnique
51885
53102
  */
51886
- export type SocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53103
+ export type CampaignToSocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
51887
53104
  /**
51888
- * Select specific fields to fetch from the SocialPost
53105
+ * Select specific fields to fetch from the CampaignToSocialPost
51889
53106
  */
51890
- select?: SocialPostSelect<ExtArgs> | null
53107
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
51891
53108
  /**
51892
53109
  * Choose, which related nodes to fetch as well
51893
53110
  */
51894
- include?: SocialPostInclude<ExtArgs> | null
53111
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
51895
53112
  /**
51896
- * Filter, which SocialPost to fetch.
53113
+ * Filter, which CampaignToSocialPost to fetch.
51897
53114
  */
51898
- where: SocialPostWhereUniqueInput
53115
+ where: CampaignToSocialPostWhereUniqueInput
51899
53116
  }
51900
53117
 
51901
53118
  /**
51902
- * SocialPost findUniqueOrThrow
53119
+ * CampaignToSocialPost findUniqueOrThrow
51903
53120
  */
51904
- export type SocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53121
+ export type CampaignToSocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
51905
53122
  /**
51906
- * Select specific fields to fetch from the SocialPost
53123
+ * Select specific fields to fetch from the CampaignToSocialPost
51907
53124
  */
51908
- select?: SocialPostSelect<ExtArgs> | null
53125
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
51909
53126
  /**
51910
53127
  * Choose, which related nodes to fetch as well
51911
53128
  */
51912
- include?: SocialPostInclude<ExtArgs> | null
53129
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
51913
53130
  /**
51914
- * Filter, which SocialPost to fetch.
53131
+ * Filter, which CampaignToSocialPost to fetch.
51915
53132
  */
51916
- where: SocialPostWhereUniqueInput
53133
+ where: CampaignToSocialPostWhereUniqueInput
51917
53134
  }
51918
53135
 
51919
53136
  /**
51920
- * SocialPost findFirst
53137
+ * CampaignToSocialPost findFirst
51921
53138
  */
51922
- export type SocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53139
+ export type CampaignToSocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
51923
53140
  /**
51924
- * Select specific fields to fetch from the SocialPost
53141
+ * Select specific fields to fetch from the CampaignToSocialPost
51925
53142
  */
51926
- select?: SocialPostSelect<ExtArgs> | null
53143
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
51927
53144
  /**
51928
53145
  * Choose, which related nodes to fetch as well
51929
53146
  */
51930
- include?: SocialPostInclude<ExtArgs> | null
53147
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
51931
53148
  /**
51932
- * Filter, which SocialPost to fetch.
53149
+ * Filter, which CampaignToSocialPost to fetch.
51933
53150
  */
51934
- where?: SocialPostWhereInput
53151
+ where?: CampaignToSocialPostWhereInput
51935
53152
  /**
51936
53153
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
51937
53154
  *
51938
- * Determine the order of SocialPosts to fetch.
53155
+ * Determine the order of CampaignToSocialPosts to fetch.
51939
53156
  */
51940
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
53157
+ orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
51941
53158
  /**
51942
53159
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
51943
53160
  *
51944
- * Sets the position for searching for SocialPosts.
53161
+ * Sets the position for searching for CampaignToSocialPosts.
51945
53162
  */
51946
- cursor?: SocialPostWhereUniqueInput
53163
+ cursor?: CampaignToSocialPostWhereUniqueInput
51947
53164
  /**
51948
53165
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
51949
53166
  *
51950
- * Take `±n` SocialPosts from the position of the cursor.
53167
+ * Take `±n` CampaignToSocialPosts from the position of the cursor.
51951
53168
  */
51952
53169
  take?: number
51953
53170
  /**
51954
53171
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
51955
53172
  *
51956
- * Skip the first `n` SocialPosts.
53173
+ * Skip the first `n` CampaignToSocialPosts.
51957
53174
  */
51958
53175
  skip?: number
51959
53176
  /**
51960
53177
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
51961
53178
  *
51962
- * Filter by unique combinations of SocialPosts.
53179
+ * Filter by unique combinations of CampaignToSocialPosts.
51963
53180
  */
51964
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
53181
+ distinct?: CampaignToSocialPostScalarFieldEnum | CampaignToSocialPostScalarFieldEnum[]
51965
53182
  }
51966
53183
 
51967
53184
  /**
51968
- * SocialPost findFirstOrThrow
53185
+ * CampaignToSocialPost findFirstOrThrow
51969
53186
  */
51970
- export type SocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53187
+ export type CampaignToSocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
51971
53188
  /**
51972
- * Select specific fields to fetch from the SocialPost
53189
+ * Select specific fields to fetch from the CampaignToSocialPost
51973
53190
  */
51974
- select?: SocialPostSelect<ExtArgs> | null
53191
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
51975
53192
  /**
51976
53193
  * Choose, which related nodes to fetch as well
51977
53194
  */
51978
- include?: SocialPostInclude<ExtArgs> | null
53195
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
51979
53196
  /**
51980
- * Filter, which SocialPost to fetch.
53197
+ * Filter, which CampaignToSocialPost to fetch.
51981
53198
  */
51982
- where?: SocialPostWhereInput
53199
+ where?: CampaignToSocialPostWhereInput
51983
53200
  /**
51984
53201
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
51985
53202
  *
51986
- * Determine the order of SocialPosts to fetch.
53203
+ * Determine the order of CampaignToSocialPosts to fetch.
51987
53204
  */
51988
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
53205
+ orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
51989
53206
  /**
51990
53207
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
51991
53208
  *
51992
- * Sets the position for searching for SocialPosts.
53209
+ * Sets the position for searching for CampaignToSocialPosts.
51993
53210
  */
51994
- cursor?: SocialPostWhereUniqueInput
53211
+ cursor?: CampaignToSocialPostWhereUniqueInput
51995
53212
  /**
51996
53213
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
51997
53214
  *
51998
- * Take `±n` SocialPosts from the position of the cursor.
53215
+ * Take `±n` CampaignToSocialPosts from the position of the cursor.
51999
53216
  */
52000
53217
  take?: number
52001
53218
  /**
52002
53219
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52003
53220
  *
52004
- * Skip the first `n` SocialPosts.
53221
+ * Skip the first `n` CampaignToSocialPosts.
52005
53222
  */
52006
53223
  skip?: number
52007
53224
  /**
52008
53225
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
52009
53226
  *
52010
- * Filter by unique combinations of SocialPosts.
53227
+ * Filter by unique combinations of CampaignToSocialPosts.
52011
53228
  */
52012
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
53229
+ distinct?: CampaignToSocialPostScalarFieldEnum | CampaignToSocialPostScalarFieldEnum[]
52013
53230
  }
52014
53231
 
52015
53232
  /**
52016
- * SocialPost findMany
53233
+ * CampaignToSocialPost findMany
52017
53234
  */
52018
- export type SocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53235
+ export type CampaignToSocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52019
53236
  /**
52020
- * Select specific fields to fetch from the SocialPost
53237
+ * Select specific fields to fetch from the CampaignToSocialPost
52021
53238
  */
52022
- select?: SocialPostSelect<ExtArgs> | null
53239
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
52023
53240
  /**
52024
53241
  * Choose, which related nodes to fetch as well
52025
53242
  */
52026
- include?: SocialPostInclude<ExtArgs> | null
53243
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
52027
53244
  /**
52028
- * Filter, which SocialPosts to fetch.
53245
+ * Filter, which CampaignToSocialPosts to fetch.
52029
53246
  */
52030
- where?: SocialPostWhereInput
53247
+ where?: CampaignToSocialPostWhereInput
52031
53248
  /**
52032
53249
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52033
53250
  *
52034
- * Determine the order of SocialPosts to fetch.
53251
+ * Determine the order of CampaignToSocialPosts to fetch.
52035
53252
  */
52036
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
53253
+ orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
52037
53254
  /**
52038
53255
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
52039
53256
  *
52040
- * Sets the position for listing SocialPosts.
53257
+ * Sets the position for listing CampaignToSocialPosts.
52041
53258
  */
52042
- cursor?: SocialPostWhereUniqueInput
53259
+ cursor?: CampaignToSocialPostWhereUniqueInput
52043
53260
  /**
52044
53261
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52045
53262
  *
52046
- * Take `±n` SocialPosts from the position of the cursor.
53263
+ * Take `±n` CampaignToSocialPosts from the position of the cursor.
52047
53264
  */
52048
53265
  take?: number
52049
53266
  /**
52050
53267
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52051
53268
  *
52052
- * Skip the first `n` SocialPosts.
53269
+ * Skip the first `n` CampaignToSocialPosts.
52053
53270
  */
52054
53271
  skip?: number
52055
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
53272
+ distinct?: CampaignToSocialPostScalarFieldEnum | CampaignToSocialPostScalarFieldEnum[]
52056
53273
  }
52057
53274
 
52058
53275
  /**
52059
- * SocialPost create
53276
+ * CampaignToSocialPost create
52060
53277
  */
52061
- export type SocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53278
+ export type CampaignToSocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52062
53279
  /**
52063
- * Select specific fields to fetch from the SocialPost
53280
+ * Select specific fields to fetch from the CampaignToSocialPost
52064
53281
  */
52065
- select?: SocialPostSelect<ExtArgs> | null
53282
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
52066
53283
  /**
52067
53284
  * Choose, which related nodes to fetch as well
52068
53285
  */
52069
- include?: SocialPostInclude<ExtArgs> | null
53286
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
52070
53287
  /**
52071
- * The data needed to create a SocialPost.
53288
+ * The data needed to create a CampaignToSocialPost.
52072
53289
  */
52073
- data: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
53290
+ data: XOR<CampaignToSocialPostCreateInput, CampaignToSocialPostUncheckedCreateInput>
52074
53291
  }
52075
53292
 
52076
53293
  /**
52077
- * SocialPost createMany
53294
+ * CampaignToSocialPost createMany
52078
53295
  */
52079
- export type SocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53296
+ export type CampaignToSocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52080
53297
  /**
52081
- * The data used to create many SocialPosts.
53298
+ * The data used to create many CampaignToSocialPosts.
52082
53299
  */
52083
- data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
53300
+ data: CampaignToSocialPostCreateManyInput | CampaignToSocialPostCreateManyInput[]
52084
53301
  skipDuplicates?: boolean
52085
53302
  }
52086
53303
 
52087
53304
  /**
52088
- * SocialPost createManyAndReturn
53305
+ * CampaignToSocialPost createManyAndReturn
52089
53306
  */
52090
- export type SocialPostCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53307
+ export type CampaignToSocialPostCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52091
53308
  /**
52092
- * Select specific fields to fetch from the SocialPost
53309
+ * Select specific fields to fetch from the CampaignToSocialPost
52093
53310
  */
52094
- select?: SocialPostSelectCreateManyAndReturn<ExtArgs> | null
53311
+ select?: CampaignToSocialPostSelectCreateManyAndReturn<ExtArgs> | null
52095
53312
  /**
52096
- * The data used to create many SocialPosts.
53313
+ * The data used to create many CampaignToSocialPosts.
52097
53314
  */
52098
- data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
53315
+ data: CampaignToSocialPostCreateManyInput | CampaignToSocialPostCreateManyInput[]
52099
53316
  skipDuplicates?: boolean
52100
53317
  /**
52101
53318
  * Choose, which related nodes to fetch as well
52102
53319
  */
52103
- include?: SocialPostIncludeCreateManyAndReturn<ExtArgs> | null
53320
+ include?: CampaignToSocialPostIncludeCreateManyAndReturn<ExtArgs> | null
52104
53321
  }
52105
53322
 
52106
53323
  /**
52107
- * SocialPost update
53324
+ * CampaignToSocialPost update
52108
53325
  */
52109
- export type SocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53326
+ export type CampaignToSocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52110
53327
  /**
52111
- * Select specific fields to fetch from the SocialPost
53328
+ * Select specific fields to fetch from the CampaignToSocialPost
52112
53329
  */
52113
- select?: SocialPostSelect<ExtArgs> | null
53330
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
52114
53331
  /**
52115
53332
  * Choose, which related nodes to fetch as well
52116
53333
  */
52117
- include?: SocialPostInclude<ExtArgs> | null
53334
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
52118
53335
  /**
52119
- * The data needed to update a SocialPost.
53336
+ * The data needed to update a CampaignToSocialPost.
52120
53337
  */
52121
- data: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
53338
+ data: XOR<CampaignToSocialPostUpdateInput, CampaignToSocialPostUncheckedUpdateInput>
52122
53339
  /**
52123
- * Choose, which SocialPost to update.
53340
+ * Choose, which CampaignToSocialPost to update.
52124
53341
  */
52125
- where: SocialPostWhereUniqueInput
53342
+ where: CampaignToSocialPostWhereUniqueInput
52126
53343
  }
52127
53344
 
52128
53345
  /**
52129
- * SocialPost updateMany
53346
+ * CampaignToSocialPost updateMany
52130
53347
  */
52131
- export type SocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53348
+ export type CampaignToSocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52132
53349
  /**
52133
- * The data used to update SocialPosts.
53350
+ * The data used to update CampaignToSocialPosts.
52134
53351
  */
52135
- data: XOR<SocialPostUpdateManyMutationInput, SocialPostUncheckedUpdateManyInput>
53352
+ data: XOR<CampaignToSocialPostUpdateManyMutationInput, CampaignToSocialPostUncheckedUpdateManyInput>
52136
53353
  /**
52137
- * Filter which SocialPosts to update
53354
+ * Filter which CampaignToSocialPosts to update
52138
53355
  */
52139
- where?: SocialPostWhereInput
53356
+ where?: CampaignToSocialPostWhereInput
52140
53357
  }
52141
53358
 
52142
53359
  /**
52143
- * SocialPost upsert
53360
+ * CampaignToSocialPost upsert
52144
53361
  */
52145
- export type SocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53362
+ export type CampaignToSocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52146
53363
  /**
52147
- * Select specific fields to fetch from the SocialPost
53364
+ * Select specific fields to fetch from the CampaignToSocialPost
52148
53365
  */
52149
- select?: SocialPostSelect<ExtArgs> | null
53366
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
52150
53367
  /**
52151
53368
  * Choose, which related nodes to fetch as well
52152
53369
  */
52153
- include?: SocialPostInclude<ExtArgs> | null
53370
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
52154
53371
  /**
52155
- * The filter to search for the SocialPost to update in case it exists.
53372
+ * The filter to search for the CampaignToSocialPost to update in case it exists.
52156
53373
  */
52157
- where: SocialPostWhereUniqueInput
53374
+ where: CampaignToSocialPostWhereUniqueInput
52158
53375
  /**
52159
- * In case the SocialPost found by the `where` argument doesn't exist, create a new SocialPost with this data.
53376
+ * In case the CampaignToSocialPost found by the `where` argument doesn't exist, create a new CampaignToSocialPost with this data.
52160
53377
  */
52161
- create: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
53378
+ create: XOR<CampaignToSocialPostCreateInput, CampaignToSocialPostUncheckedCreateInput>
52162
53379
  /**
52163
- * In case the SocialPost was found with the provided `where` argument, update it with this data.
53380
+ * In case the CampaignToSocialPost was found with the provided `where` argument, update it with this data.
52164
53381
  */
52165
- update: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
53382
+ update: XOR<CampaignToSocialPostUpdateInput, CampaignToSocialPostUncheckedUpdateInput>
52166
53383
  }
52167
53384
 
52168
53385
  /**
52169
- * SocialPost delete
53386
+ * CampaignToSocialPost delete
52170
53387
  */
52171
- export type SocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53388
+ export type CampaignToSocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52172
53389
  /**
52173
- * Select specific fields to fetch from the SocialPost
53390
+ * Select specific fields to fetch from the CampaignToSocialPost
52174
53391
  */
52175
- select?: SocialPostSelect<ExtArgs> | null
53392
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
52176
53393
  /**
52177
53394
  * Choose, which related nodes to fetch as well
52178
53395
  */
52179
- include?: SocialPostInclude<ExtArgs> | null
53396
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
52180
53397
  /**
52181
- * Filter which SocialPost to delete.
53398
+ * Filter which CampaignToSocialPost to delete.
52182
53399
  */
52183
- where: SocialPostWhereUniqueInput
53400
+ where: CampaignToSocialPostWhereUniqueInput
52184
53401
  }
52185
53402
 
52186
53403
  /**
52187
- * SocialPost deleteMany
53404
+ * CampaignToSocialPost deleteMany
52188
53405
  */
52189
- export type SocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53406
+ export type CampaignToSocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52190
53407
  /**
52191
- * Filter which SocialPosts to delete
53408
+ * Filter which CampaignToSocialPosts to delete
52192
53409
  */
52193
- where?: SocialPostWhereInput
52194
- }
52195
-
52196
- /**
52197
- * SocialPost.user
52198
- */
52199
- export type SocialPost$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52200
- /**
52201
- * Select specific fields to fetch from the User
52202
- */
52203
- select?: UserSelect<ExtArgs> | null
52204
- /**
52205
- * Choose, which related nodes to fetch as well
52206
- */
52207
- include?: UserInclude<ExtArgs> | null
52208
- where?: UserWhereInput
53410
+ where?: CampaignToSocialPostWhereInput
52209
53411
  }
52210
53412
 
52211
53413
  /**
52212
- * SocialPost.campaign
53414
+ * CampaignToSocialPost without action
52213
53415
  */
52214
- export type SocialPost$campaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53416
+ export type CampaignToSocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52215
53417
  /**
52216
- * Select specific fields to fetch from the Campaign
53418
+ * Select specific fields to fetch from the CampaignToSocialPost
52217
53419
  */
52218
- select?: CampaignSelect<ExtArgs> | null
53420
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
52219
53421
  /**
52220
53422
  * Choose, which related nodes to fetch as well
52221
53423
  */
52222
- include?: CampaignInclude<ExtArgs> | null
52223
- where?: CampaignWhereInput
52224
- }
52225
-
52226
- /**
52227
- * SocialPost.lists
52228
- */
52229
- export type SocialPost$listsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52230
- /**
52231
- * Select specific fields to fetch from the ListToSocialPost
52232
- */
52233
- select?: ListToSocialPostSelect<ExtArgs> | null
52234
- /**
52235
- * Choose, which related nodes to fetch as well
52236
- */
52237
- include?: ListToSocialPostInclude<ExtArgs> | null
52238
- where?: ListToSocialPostWhereInput
52239
- orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
52240
- cursor?: ListToSocialPostWhereUniqueInput
52241
- take?: number
52242
- skip?: number
52243
- distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
52244
- }
52245
-
52246
- /**
52247
- * SocialPost without action
52248
- */
52249
- export type SocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52250
- /**
52251
- * Select specific fields to fetch from the SocialPost
52252
- */
52253
- select?: SocialPostSelect<ExtArgs> | null
52254
- /**
52255
- * Choose, which related nodes to fetch as well
52256
- */
52257
- include?: SocialPostInclude<ExtArgs> | null
53424
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
52258
53425
  }
52259
53426
 
52260
53427
 
@@ -93165,6 +94332,17 @@ export namespace Prisma {
93165
94332
  export type SocialPostScalarFieldEnum = (typeof SocialPostScalarFieldEnum)[keyof typeof SocialPostScalarFieldEnum]
93166
94333
 
93167
94334
 
94335
+ export const CampaignToSocialPostScalarFieldEnum: {
94336
+ campaignId: 'campaignId',
94337
+ socialPostId: 'socialPostId',
94338
+ status: 'status',
94339
+ created: 'created',
94340
+ metaData: 'metaData'
94341
+ };
94342
+
94343
+ export type CampaignToSocialPostScalarFieldEnum = (typeof CampaignToSocialPostScalarFieldEnum)[keyof typeof CampaignToSocialPostScalarFieldEnum]
94344
+
94345
+
93168
94346
  export const ArchivedSocialPostScalarFieldEnum: {
93169
94347
  id: 'id',
93170
94348
  phylloId: 'phylloId',
@@ -94371,6 +95549,20 @@ export namespace Prisma {
94371
95549
 
94372
95550
 
94373
95551
 
95552
+ /**
95553
+ * Reference to a field of type 'CampaignToSocialPostStatus'
95554
+ */
95555
+ export type EnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CampaignToSocialPostStatus'>
95556
+
95557
+
95558
+
95559
+ /**
95560
+ * Reference to a field of type 'CampaignToSocialPostStatus[]'
95561
+ */
95562
+ export type ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CampaignToSocialPostStatus[]'>
95563
+
95564
+
95565
+
94374
95566
  /**
94375
95567
  * Reference to a field of type 'Decimal'
94376
95568
  */
@@ -96306,6 +97498,7 @@ export namespace Prisma {
96306
97498
  campaignInvites?: CampaignInviteListRelationFilter
96307
97499
  campaignToShopifyProducts?: CampaignToShopifyProductListRelationFilter
96308
97500
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkListRelationFilter
97501
+ linkedPosts?: CampaignToSocialPostListRelationFilter
96309
97502
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
96310
97503
  creatorLists?: CreatorListListRelationFilter
96311
97504
  optInViews?: OptInViewListRelationFilter
@@ -96379,6 +97572,7 @@ export namespace Prisma {
96379
97572
  campaignInvites?: CampaignInviteOrderByRelationAggregateInput
96380
97573
  campaignToShopifyProducts?: CampaignToShopifyProductOrderByRelationAggregateInput
96381
97574
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkOrderByRelationAggregateInput
97575
+ linkedPosts?: CampaignToSocialPostOrderByRelationAggregateInput
96382
97576
  brand?: BrandOrderByWithRelationAndSearchRelevanceInput
96383
97577
  creatorLists?: CreatorListOrderByRelationAggregateInput
96384
97578
  optInViews?: OptInViewOrderByRelationAggregateInput
@@ -96456,6 +97650,7 @@ export namespace Prisma {
96456
97650
  campaignInvites?: CampaignInviteListRelationFilter
96457
97651
  campaignToShopifyProducts?: CampaignToShopifyProductListRelationFilter
96458
97652
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkListRelationFilter
97653
+ linkedPosts?: CampaignToSocialPostListRelationFilter
96459
97654
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
96460
97655
  creatorLists?: CreatorListListRelationFilter
96461
97656
  optInViews?: OptInViewListRelationFilter
@@ -97789,6 +98984,7 @@ export namespace Prisma {
97789
98984
  user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
97790
98985
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
97791
98986
  lists?: ListToSocialPostListRelationFilter
98987
+ campaigns?: CampaignToSocialPostListRelationFilter
97792
98988
  }
97793
98989
 
97794
98990
  export type SocialPostOrderByWithRelationAndSearchRelevanceInput = {
@@ -97828,6 +99024,7 @@ export namespace Prisma {
97828
99024
  user?: UserOrderByWithRelationAndSearchRelevanceInput
97829
99025
  campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
97830
99026
  lists?: ListToSocialPostOrderByRelationAggregateInput
99027
+ campaigns?: CampaignToSocialPostOrderByRelationAggregateInput
97831
99028
  _relevance?: SocialPostOrderByRelevanceInput
97832
99029
  }
97833
99030
 
@@ -97872,6 +99069,7 @@ export namespace Prisma {
97872
99069
  user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
97873
99070
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
97874
99071
  lists?: ListToSocialPostListRelationFilter
99072
+ campaigns?: CampaignToSocialPostListRelationFilter
97875
99073
  }, "id" | "phylloId" | "platform_externalId">
97876
99074
 
97877
99075
  export type SocialPostOrderByWithAggregationInput = {
@@ -97954,6 +99152,67 @@ export namespace Prisma {
97954
99152
  campaignId?: IntNullableWithAggregatesFilter<"SocialPost"> | number | null
97955
99153
  }
97956
99154
 
99155
+ export type CampaignToSocialPostWhereInput = {
99156
+ AND?: CampaignToSocialPostWhereInput | CampaignToSocialPostWhereInput[]
99157
+ OR?: CampaignToSocialPostWhereInput[]
99158
+ NOT?: CampaignToSocialPostWhereInput | CampaignToSocialPostWhereInput[]
99159
+ campaignId?: IntFilter<"CampaignToSocialPost"> | number
99160
+ socialPostId?: IntFilter<"CampaignToSocialPost"> | number
99161
+ status?: EnumCampaignToSocialPostStatusFilter<"CampaignToSocialPost"> | $Enums.CampaignToSocialPostStatus
99162
+ created?: DateTimeFilter<"CampaignToSocialPost"> | Date | string
99163
+ metaData?: JsonFilter<"CampaignToSocialPost">
99164
+ campaign?: XOR<CampaignRelationFilter, CampaignWhereInput>
99165
+ socialPost?: XOR<SocialPostRelationFilter, SocialPostWhereInput>
99166
+ }
99167
+
99168
+ export type CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput = {
99169
+ campaignId?: SortOrder
99170
+ socialPostId?: SortOrder
99171
+ status?: SortOrder
99172
+ created?: SortOrder
99173
+ metaData?: SortOrder
99174
+ campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
99175
+ socialPost?: SocialPostOrderByWithRelationAndSearchRelevanceInput
99176
+ }
99177
+
99178
+ export type CampaignToSocialPostWhereUniqueInput = Prisma.AtLeast<{
99179
+ campaignId_socialPostId?: CampaignToSocialPostCampaignIdSocialPostIdCompoundUniqueInput
99180
+ AND?: CampaignToSocialPostWhereInput | CampaignToSocialPostWhereInput[]
99181
+ OR?: CampaignToSocialPostWhereInput[]
99182
+ NOT?: CampaignToSocialPostWhereInput | CampaignToSocialPostWhereInput[]
99183
+ campaignId?: IntFilter<"CampaignToSocialPost"> | number
99184
+ socialPostId?: IntFilter<"CampaignToSocialPost"> | number
99185
+ status?: EnumCampaignToSocialPostStatusFilter<"CampaignToSocialPost"> | $Enums.CampaignToSocialPostStatus
99186
+ created?: DateTimeFilter<"CampaignToSocialPost"> | Date | string
99187
+ metaData?: JsonFilter<"CampaignToSocialPost">
99188
+ campaign?: XOR<CampaignRelationFilter, CampaignWhereInput>
99189
+ socialPost?: XOR<SocialPostRelationFilter, SocialPostWhereInput>
99190
+ }, "campaignId_socialPostId">
99191
+
99192
+ export type CampaignToSocialPostOrderByWithAggregationInput = {
99193
+ campaignId?: SortOrder
99194
+ socialPostId?: SortOrder
99195
+ status?: SortOrder
99196
+ created?: SortOrder
99197
+ metaData?: SortOrder
99198
+ _count?: CampaignToSocialPostCountOrderByAggregateInput
99199
+ _avg?: CampaignToSocialPostAvgOrderByAggregateInput
99200
+ _max?: CampaignToSocialPostMaxOrderByAggregateInput
99201
+ _min?: CampaignToSocialPostMinOrderByAggregateInput
99202
+ _sum?: CampaignToSocialPostSumOrderByAggregateInput
99203
+ }
99204
+
99205
+ export type CampaignToSocialPostScalarWhereWithAggregatesInput = {
99206
+ AND?: CampaignToSocialPostScalarWhereWithAggregatesInput | CampaignToSocialPostScalarWhereWithAggregatesInput[]
99207
+ OR?: CampaignToSocialPostScalarWhereWithAggregatesInput[]
99208
+ NOT?: CampaignToSocialPostScalarWhereWithAggregatesInput | CampaignToSocialPostScalarWhereWithAggregatesInput[]
99209
+ campaignId?: IntWithAggregatesFilter<"CampaignToSocialPost"> | number
99210
+ socialPostId?: IntWithAggregatesFilter<"CampaignToSocialPost"> | number
99211
+ status?: EnumCampaignToSocialPostStatusWithAggregatesFilter<"CampaignToSocialPost"> | $Enums.CampaignToSocialPostStatus
99212
+ created?: DateTimeWithAggregatesFilter<"CampaignToSocialPost"> | Date | string
99213
+ metaData?: JsonWithAggregatesFilter<"CampaignToSocialPost">
99214
+ }
99215
+
97957
99216
  export type ArchivedSocialPostWhereInput = {
97958
99217
  AND?: ArchivedSocialPostWhereInput | ArchivedSocialPostWhereInput[]
97959
99218
  OR?: ArchivedSocialPostWhereInput[]
@@ -102823,6 +104082,7 @@ export namespace Prisma {
102823
104082
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
102824
104083
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
102825
104084
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
104085
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
102826
104086
  brand: BrandCreateNestedOneWithoutCampaignsInput
102827
104087
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
102828
104088
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -102896,6 +104156,7 @@ export namespace Prisma {
102896
104156
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
102897
104157
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
102898
104158
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
104159
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
102899
104160
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
102900
104161
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
102901
104162
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -102966,6 +104227,7 @@ export namespace Prisma {
102966
104227
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
102967
104228
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
102968
104229
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
104230
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
102969
104231
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
102970
104232
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
102971
104233
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -103039,6 +104301,7 @@ export namespace Prisma {
103039
104301
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
103040
104302
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
103041
104303
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
104304
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
103042
104305
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
103043
104306
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
103044
104307
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -104320,6 +105583,7 @@ export namespace Prisma {
104320
105583
  user?: UserCreateNestedOneWithoutSocialPostsInput
104321
105584
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
104322
105585
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
105586
+ campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
104323
105587
  }
104324
105588
 
104325
105589
  export type SocialPostUncheckedCreateInput = {
@@ -104357,6 +105621,7 @@ export namespace Prisma {
104357
105621
  userId?: number | null
104358
105622
  campaignId?: number | null
104359
105623
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
105624
+ campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
104360
105625
  }
104361
105626
 
104362
105627
  export type SocialPostUpdateInput = {
@@ -104390,151 +105655,207 @@ export namespace Prisma {
104390
105655
  comments?: NullableIntFieldUpdateOperationsInput | number | null
104391
105656
  saves?: NullableIntFieldUpdateOperationsInput | number | null
104392
105657
  shares?: NullableIntFieldUpdateOperationsInput | number | null
104393
- user?: UserUpdateOneWithoutSocialPostsNestedInput
104394
- campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
104395
- lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
105658
+ user?: UserUpdateOneWithoutSocialPostsNestedInput
105659
+ campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
105660
+ lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
105661
+ campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
105662
+ }
105663
+
105664
+ export type SocialPostUncheckedUpdateInput = {
105665
+ id?: IntFieldUpdateOperationsInput | number
105666
+ externalId?: StringFieldUpdateOperationsInput | string
105667
+ phylloId?: NullableStringFieldUpdateOperationsInput | string | null
105668
+ metaData?: JsonNullValueInput | InputJsonValue
105669
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
105670
+ lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
105671
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
105672
+ title?: NullableStringFieldUpdateOperationsInput | string | null
105673
+ description?: NullableStringFieldUpdateOperationsInput | string | null
105674
+ url?: NullableStringFieldUpdateOperationsInput | string | null
105675
+ format?: NullableStringFieldUpdateOperationsInput | string | null
105676
+ type?: NullableStringFieldUpdateOperationsInput | string | null
105677
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
105678
+ visibility?: NullableStringFieldUpdateOperationsInput | string | null
105679
+ isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
105680
+ hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
105681
+ isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
105682
+ views?: NullableIntFieldUpdateOperationsInput | number | null
105683
+ replays?: NullableIntFieldUpdateOperationsInput | number | null
105684
+ impressions?: NullableIntFieldUpdateOperationsInput | number | null
105685
+ impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
105686
+ impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
105687
+ reach?: NullableIntFieldUpdateOperationsInput | number | null
105688
+ reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
105689
+ reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
105690
+ watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
105691
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
105692
+ dislikes?: NullableIntFieldUpdateOperationsInput | number | null
105693
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
105694
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
105695
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
105696
+ userId?: NullableIntFieldUpdateOperationsInput | number | null
105697
+ campaignId?: NullableIntFieldUpdateOperationsInput | number | null
105698
+ lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
105699
+ campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
105700
+ }
105701
+
105702
+ export type SocialPostCreateManyInput = {
105703
+ id?: number
105704
+ externalId: string
105705
+ phylloId?: string | null
105706
+ metaData?: JsonNullValueInput | InputJsonValue
105707
+ lastFetched?: Date | string | null
105708
+ lastWebhook?: Date | string | null
105709
+ posted?: Date | string | null
105710
+ title?: string | null
105711
+ description?: string | null
105712
+ url?: string | null
105713
+ format?: string | null
105714
+ type?: string | null
105715
+ platform?: string | null
105716
+ visibility?: string | null
105717
+ isSponsored?: boolean | null
105718
+ hasCollaborators?: boolean | null
105719
+ isOwnedByUser?: boolean | null
105720
+ views?: number | null
105721
+ replays?: number | null
105722
+ impressions?: number | null
105723
+ impressionsOrganic?: number | null
105724
+ impressionsPaid?: number | null
105725
+ reach?: number | null
105726
+ reachOrganic?: number | null
105727
+ reachPaid?: number | null
105728
+ watchHours?: number | null
105729
+ likes?: number | null
105730
+ dislikes?: number | null
105731
+ comments?: number | null
105732
+ saves?: number | null
105733
+ shares?: number | null
105734
+ userId?: number | null
105735
+ campaignId?: number | null
105736
+ }
105737
+
105738
+ export type SocialPostUpdateManyMutationInput = {
105739
+ externalId?: StringFieldUpdateOperationsInput | string
105740
+ phylloId?: NullableStringFieldUpdateOperationsInput | string | null
105741
+ metaData?: JsonNullValueInput | InputJsonValue
105742
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
105743
+ lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
105744
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
105745
+ title?: NullableStringFieldUpdateOperationsInput | string | null
105746
+ description?: NullableStringFieldUpdateOperationsInput | string | null
105747
+ url?: NullableStringFieldUpdateOperationsInput | string | null
105748
+ format?: NullableStringFieldUpdateOperationsInput | string | null
105749
+ type?: NullableStringFieldUpdateOperationsInput | string | null
105750
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
105751
+ visibility?: NullableStringFieldUpdateOperationsInput | string | null
105752
+ isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
105753
+ hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
105754
+ isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
105755
+ views?: NullableIntFieldUpdateOperationsInput | number | null
105756
+ replays?: NullableIntFieldUpdateOperationsInput | number | null
105757
+ impressions?: NullableIntFieldUpdateOperationsInput | number | null
105758
+ impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
105759
+ impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
105760
+ reach?: NullableIntFieldUpdateOperationsInput | number | null
105761
+ reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
105762
+ reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
105763
+ watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
105764
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
105765
+ dislikes?: NullableIntFieldUpdateOperationsInput | number | null
105766
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
105767
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
105768
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
105769
+ }
105770
+
105771
+ export type SocialPostUncheckedUpdateManyInput = {
105772
+ id?: IntFieldUpdateOperationsInput | number
105773
+ externalId?: StringFieldUpdateOperationsInput | string
105774
+ phylloId?: NullableStringFieldUpdateOperationsInput | string | null
105775
+ metaData?: JsonNullValueInput | InputJsonValue
105776
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
105777
+ lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
105778
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
105779
+ title?: NullableStringFieldUpdateOperationsInput | string | null
105780
+ description?: NullableStringFieldUpdateOperationsInput | string | null
105781
+ url?: NullableStringFieldUpdateOperationsInput | string | null
105782
+ format?: NullableStringFieldUpdateOperationsInput | string | null
105783
+ type?: NullableStringFieldUpdateOperationsInput | string | null
105784
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
105785
+ visibility?: NullableStringFieldUpdateOperationsInput | string | null
105786
+ isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
105787
+ hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
105788
+ isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
105789
+ views?: NullableIntFieldUpdateOperationsInput | number | null
105790
+ replays?: NullableIntFieldUpdateOperationsInput | number | null
105791
+ impressions?: NullableIntFieldUpdateOperationsInput | number | null
105792
+ impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
105793
+ impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
105794
+ reach?: NullableIntFieldUpdateOperationsInput | number | null
105795
+ reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
105796
+ reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
105797
+ watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
105798
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
105799
+ dislikes?: NullableIntFieldUpdateOperationsInput | number | null
105800
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
105801
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
105802
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
105803
+ userId?: NullableIntFieldUpdateOperationsInput | number | null
105804
+ campaignId?: NullableIntFieldUpdateOperationsInput | number | null
104396
105805
  }
104397
105806
 
104398
- export type SocialPostUncheckedUpdateInput = {
104399
- id?: IntFieldUpdateOperationsInput | number
104400
- externalId?: StringFieldUpdateOperationsInput | string
104401
- phylloId?: NullableStringFieldUpdateOperationsInput | string | null
105807
+ export type CampaignToSocialPostCreateInput = {
105808
+ status?: $Enums.CampaignToSocialPostStatus
105809
+ created?: Date | string
104402
105810
  metaData?: JsonNullValueInput | InputJsonValue
104403
- lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
104404
- lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
104405
- posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
104406
- title?: NullableStringFieldUpdateOperationsInput | string | null
104407
- description?: NullableStringFieldUpdateOperationsInput | string | null
104408
- url?: NullableStringFieldUpdateOperationsInput | string | null
104409
- format?: NullableStringFieldUpdateOperationsInput | string | null
104410
- type?: NullableStringFieldUpdateOperationsInput | string | null
104411
- platform?: NullableStringFieldUpdateOperationsInput | string | null
104412
- visibility?: NullableStringFieldUpdateOperationsInput | string | null
104413
- isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
104414
- hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
104415
- isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
104416
- views?: NullableIntFieldUpdateOperationsInput | number | null
104417
- replays?: NullableIntFieldUpdateOperationsInput | number | null
104418
- impressions?: NullableIntFieldUpdateOperationsInput | number | null
104419
- impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
104420
- impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
104421
- reach?: NullableIntFieldUpdateOperationsInput | number | null
104422
- reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
104423
- reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
104424
- watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
104425
- likes?: NullableIntFieldUpdateOperationsInput | number | null
104426
- dislikes?: NullableIntFieldUpdateOperationsInput | number | null
104427
- comments?: NullableIntFieldUpdateOperationsInput | number | null
104428
- saves?: NullableIntFieldUpdateOperationsInput | number | null
104429
- shares?: NullableIntFieldUpdateOperationsInput | number | null
104430
- userId?: NullableIntFieldUpdateOperationsInput | number | null
104431
- campaignId?: NullableIntFieldUpdateOperationsInput | number | null
104432
- lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
105811
+ campaign: CampaignCreateNestedOneWithoutLinkedPostsInput
105812
+ socialPost: SocialPostCreateNestedOneWithoutCampaignsInput
104433
105813
  }
104434
105814
 
104435
- export type SocialPostCreateManyInput = {
104436
- id?: number
104437
- externalId: string
104438
- phylloId?: string | null
105815
+ export type CampaignToSocialPostUncheckedCreateInput = {
105816
+ campaignId: number
105817
+ socialPostId: number
105818
+ status?: $Enums.CampaignToSocialPostStatus
105819
+ created?: Date | string
104439
105820
  metaData?: JsonNullValueInput | InputJsonValue
104440
- lastFetched?: Date | string | null
104441
- lastWebhook?: Date | string | null
104442
- posted?: Date | string | null
104443
- title?: string | null
104444
- description?: string | null
104445
- url?: string | null
104446
- format?: string | null
104447
- type?: string | null
104448
- platform?: string | null
104449
- visibility?: string | null
104450
- isSponsored?: boolean | null
104451
- hasCollaborators?: boolean | null
104452
- isOwnedByUser?: boolean | null
104453
- views?: number | null
104454
- replays?: number | null
104455
- impressions?: number | null
104456
- impressionsOrganic?: number | null
104457
- impressionsPaid?: number | null
104458
- reach?: number | null
104459
- reachOrganic?: number | null
104460
- reachPaid?: number | null
104461
- watchHours?: number | null
104462
- likes?: number | null
104463
- dislikes?: number | null
104464
- comments?: number | null
104465
- saves?: number | null
104466
- shares?: number | null
104467
- userId?: number | null
104468
- campaignId?: number | null
104469
105821
  }
104470
105822
 
104471
- export type SocialPostUpdateManyMutationInput = {
104472
- externalId?: StringFieldUpdateOperationsInput | string
104473
- phylloId?: NullableStringFieldUpdateOperationsInput | string | null
105823
+ export type CampaignToSocialPostUpdateInput = {
105824
+ status?: EnumCampaignToSocialPostStatusFieldUpdateOperationsInput | $Enums.CampaignToSocialPostStatus
105825
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
104474
105826
  metaData?: JsonNullValueInput | InputJsonValue
104475
- lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
104476
- lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
104477
- posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
104478
- title?: NullableStringFieldUpdateOperationsInput | string | null
104479
- description?: NullableStringFieldUpdateOperationsInput | string | null
104480
- url?: NullableStringFieldUpdateOperationsInput | string | null
104481
- format?: NullableStringFieldUpdateOperationsInput | string | null
104482
- type?: NullableStringFieldUpdateOperationsInput | string | null
104483
- platform?: NullableStringFieldUpdateOperationsInput | string | null
104484
- visibility?: NullableStringFieldUpdateOperationsInput | string | null
104485
- isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
104486
- hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
104487
- isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
104488
- views?: NullableIntFieldUpdateOperationsInput | number | null
104489
- replays?: NullableIntFieldUpdateOperationsInput | number | null
104490
- impressions?: NullableIntFieldUpdateOperationsInput | number | null
104491
- impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
104492
- impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
104493
- reach?: NullableIntFieldUpdateOperationsInput | number | null
104494
- reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
104495
- reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
104496
- watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
104497
- likes?: NullableIntFieldUpdateOperationsInput | number | null
104498
- dislikes?: NullableIntFieldUpdateOperationsInput | number | null
104499
- comments?: NullableIntFieldUpdateOperationsInput | number | null
104500
- saves?: NullableIntFieldUpdateOperationsInput | number | null
104501
- shares?: NullableIntFieldUpdateOperationsInput | number | null
105827
+ campaign?: CampaignUpdateOneRequiredWithoutLinkedPostsNestedInput
105828
+ socialPost?: SocialPostUpdateOneRequiredWithoutCampaignsNestedInput
104502
105829
  }
104503
105830
 
104504
- export type SocialPostUncheckedUpdateManyInput = {
104505
- id?: IntFieldUpdateOperationsInput | number
104506
- externalId?: StringFieldUpdateOperationsInput | string
104507
- phylloId?: NullableStringFieldUpdateOperationsInput | string | null
105831
+ export type CampaignToSocialPostUncheckedUpdateInput = {
105832
+ campaignId?: IntFieldUpdateOperationsInput | number
105833
+ socialPostId?: IntFieldUpdateOperationsInput | number
105834
+ status?: EnumCampaignToSocialPostStatusFieldUpdateOperationsInput | $Enums.CampaignToSocialPostStatus
105835
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
105836
+ metaData?: JsonNullValueInput | InputJsonValue
105837
+ }
105838
+
105839
+ export type CampaignToSocialPostCreateManyInput = {
105840
+ campaignId: number
105841
+ socialPostId: number
105842
+ status?: $Enums.CampaignToSocialPostStatus
105843
+ created?: Date | string
105844
+ metaData?: JsonNullValueInput | InputJsonValue
105845
+ }
105846
+
105847
+ export type CampaignToSocialPostUpdateManyMutationInput = {
105848
+ status?: EnumCampaignToSocialPostStatusFieldUpdateOperationsInput | $Enums.CampaignToSocialPostStatus
105849
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
105850
+ metaData?: JsonNullValueInput | InputJsonValue
105851
+ }
105852
+
105853
+ export type CampaignToSocialPostUncheckedUpdateManyInput = {
105854
+ campaignId?: IntFieldUpdateOperationsInput | number
105855
+ socialPostId?: IntFieldUpdateOperationsInput | number
105856
+ status?: EnumCampaignToSocialPostStatusFieldUpdateOperationsInput | $Enums.CampaignToSocialPostStatus
105857
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
104508
105858
  metaData?: JsonNullValueInput | InputJsonValue
104509
- lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
104510
- lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
104511
- posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
104512
- title?: NullableStringFieldUpdateOperationsInput | string | null
104513
- description?: NullableStringFieldUpdateOperationsInput | string | null
104514
- url?: NullableStringFieldUpdateOperationsInput | string | null
104515
- format?: NullableStringFieldUpdateOperationsInput | string | null
104516
- type?: NullableStringFieldUpdateOperationsInput | string | null
104517
- platform?: NullableStringFieldUpdateOperationsInput | string | null
104518
- visibility?: NullableStringFieldUpdateOperationsInput | string | null
104519
- isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
104520
- hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
104521
- isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
104522
- views?: NullableIntFieldUpdateOperationsInput | number | null
104523
- replays?: NullableIntFieldUpdateOperationsInput | number | null
104524
- impressions?: NullableIntFieldUpdateOperationsInput | number | null
104525
- impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
104526
- impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
104527
- reach?: NullableIntFieldUpdateOperationsInput | number | null
104528
- reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
104529
- reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
104530
- watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
104531
- likes?: NullableIntFieldUpdateOperationsInput | number | null
104532
- dislikes?: NullableIntFieldUpdateOperationsInput | number | null
104533
- comments?: NullableIntFieldUpdateOperationsInput | number | null
104534
- saves?: NullableIntFieldUpdateOperationsInput | number | null
104535
- shares?: NullableIntFieldUpdateOperationsInput | number | null
104536
- userId?: NullableIntFieldUpdateOperationsInput | number | null
104537
- campaignId?: NullableIntFieldUpdateOperationsInput | number | null
104538
105859
  }
104539
105860
 
104540
105861
  export type ArchivedSocialPostCreateInput = {
@@ -109206,6 +110527,12 @@ export namespace Prisma {
109206
110527
  none?: CampaignToBrandAffiliateLinkWhereInput
109207
110528
  }
109208
110529
 
110530
+ export type CampaignToSocialPostListRelationFilter = {
110531
+ every?: CampaignToSocialPostWhereInput
110532
+ some?: CampaignToSocialPostWhereInput
110533
+ none?: CampaignToSocialPostWhereInput
110534
+ }
110535
+
109209
110536
  export type OptInViewListRelationFilter = {
109210
110537
  every?: OptInViewWhereInput
109211
110538
  some?: OptInViewWhereInput
@@ -109250,6 +110577,10 @@ export namespace Prisma {
109250
110577
  _count?: SortOrder
109251
110578
  }
109252
110579
 
110580
+ export type CampaignToSocialPostOrderByRelationAggregateInput = {
110581
+ _count?: SortOrder
110582
+ }
110583
+
109253
110584
  export type OptInViewOrderByRelationAggregateInput = {
109254
110585
  _count?: SortOrder
109255
110586
  }
@@ -110543,6 +111874,65 @@ export namespace Prisma {
110543
111874
  campaignId?: SortOrder
110544
111875
  }
110545
111876
 
111877
+ export type EnumCampaignToSocialPostStatusFilter<$PrismaModel = never> = {
111878
+ equals?: $Enums.CampaignToSocialPostStatus | EnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
111879
+ in?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
111880
+ notIn?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
111881
+ not?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel> | $Enums.CampaignToSocialPostStatus
111882
+ }
111883
+
111884
+ export type SocialPostRelationFilter = {
111885
+ is?: SocialPostWhereInput
111886
+ isNot?: SocialPostWhereInput
111887
+ }
111888
+
111889
+ export type CampaignToSocialPostCampaignIdSocialPostIdCompoundUniqueInput = {
111890
+ campaignId: number
111891
+ socialPostId: number
111892
+ }
111893
+
111894
+ export type CampaignToSocialPostCountOrderByAggregateInput = {
111895
+ campaignId?: SortOrder
111896
+ socialPostId?: SortOrder
111897
+ status?: SortOrder
111898
+ created?: SortOrder
111899
+ metaData?: SortOrder
111900
+ }
111901
+
111902
+ export type CampaignToSocialPostAvgOrderByAggregateInput = {
111903
+ campaignId?: SortOrder
111904
+ socialPostId?: SortOrder
111905
+ }
111906
+
111907
+ export type CampaignToSocialPostMaxOrderByAggregateInput = {
111908
+ campaignId?: SortOrder
111909
+ socialPostId?: SortOrder
111910
+ status?: SortOrder
111911
+ created?: SortOrder
111912
+ }
111913
+
111914
+ export type CampaignToSocialPostMinOrderByAggregateInput = {
111915
+ campaignId?: SortOrder
111916
+ socialPostId?: SortOrder
111917
+ status?: SortOrder
111918
+ created?: SortOrder
111919
+ }
111920
+
111921
+ export type CampaignToSocialPostSumOrderByAggregateInput = {
111922
+ campaignId?: SortOrder
111923
+ socialPostId?: SortOrder
111924
+ }
111925
+
111926
+ export type EnumCampaignToSocialPostStatusWithAggregatesFilter<$PrismaModel = never> = {
111927
+ equals?: $Enums.CampaignToSocialPostStatus | EnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
111928
+ in?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
111929
+ notIn?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
111930
+ not?: NestedEnumCampaignToSocialPostStatusWithAggregatesFilter<$PrismaModel> | $Enums.CampaignToSocialPostStatus
111931
+ _count?: NestedIntFilter<$PrismaModel>
111932
+ _min?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel>
111933
+ _max?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel>
111934
+ }
111935
+
110546
111936
  export type ArchivedSocialPostOrderByRelevanceInput = {
110547
111937
  fields: ArchivedSocialPostOrderByRelevanceFieldEnum | ArchivedSocialPostOrderByRelevanceFieldEnum[]
110548
111938
  sort: SortOrder
@@ -111658,11 +113048,6 @@ export namespace Prisma {
111658
113048
  isNot?: SocialListeningListWhereInput
111659
113049
  }
111660
113050
 
111661
- export type SocialPostRelationFilter = {
111662
- is?: SocialPostWhereInput
111663
- isNot?: SocialPostWhereInput
111664
- }
111665
-
111666
113051
  export type ListToSocialPostCountOrderByAggregateInput = {
111667
113052
  id?: SortOrder
111668
113053
  listId?: SortOrder
@@ -115320,6 +116705,13 @@ export namespace Prisma {
115320
116705
  connect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
115321
116706
  }
115322
116707
 
116708
+ export type CampaignToSocialPostCreateNestedManyWithoutCampaignInput = {
116709
+ create?: XOR<CampaignToSocialPostCreateWithoutCampaignInput, CampaignToSocialPostUncheckedCreateWithoutCampaignInput> | CampaignToSocialPostCreateWithoutCampaignInput[] | CampaignToSocialPostUncheckedCreateWithoutCampaignInput[]
116710
+ connectOrCreate?: CampaignToSocialPostCreateOrConnectWithoutCampaignInput | CampaignToSocialPostCreateOrConnectWithoutCampaignInput[]
116711
+ createMany?: CampaignToSocialPostCreateManyCampaignInputEnvelope
116712
+ connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
116713
+ }
116714
+
115323
116715
  export type BrandCreateNestedOneWithoutCampaignsInput = {
115324
116716
  create?: XOR<BrandCreateWithoutCampaignsInput, BrandUncheckedCreateWithoutCampaignsInput>
115325
116717
  connectOrCreate?: BrandCreateOrConnectWithoutCampaignsInput
@@ -115438,6 +116830,13 @@ export namespace Prisma {
115438
116830
  connect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
115439
116831
  }
115440
116832
 
116833
+ export type CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput = {
116834
+ create?: XOR<CampaignToSocialPostCreateWithoutCampaignInput, CampaignToSocialPostUncheckedCreateWithoutCampaignInput> | CampaignToSocialPostCreateWithoutCampaignInput[] | CampaignToSocialPostUncheckedCreateWithoutCampaignInput[]
116835
+ connectOrCreate?: CampaignToSocialPostCreateOrConnectWithoutCampaignInput | CampaignToSocialPostCreateOrConnectWithoutCampaignInput[]
116836
+ createMany?: CampaignToSocialPostCreateManyCampaignInputEnvelope
116837
+ connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
116838
+ }
116839
+
115441
116840
  export type CreatorListUncheckedCreateNestedManyWithoutCampaignInput = {
115442
116841
  create?: XOR<CreatorListCreateWithoutCampaignInput, CreatorListUncheckedCreateWithoutCampaignInput> | CreatorListCreateWithoutCampaignInput[] | CreatorListUncheckedCreateWithoutCampaignInput[]
115443
116842
  connectOrCreate?: CreatorListCreateOrConnectWithoutCampaignInput | CreatorListCreateOrConnectWithoutCampaignInput[]
@@ -115634,6 +117033,20 @@ export namespace Prisma {
115634
117033
  deleteMany?: CampaignToBrandAffiliateLinkScalarWhereInput | CampaignToBrandAffiliateLinkScalarWhereInput[]
115635
117034
  }
115636
117035
 
117036
+ export type CampaignToSocialPostUpdateManyWithoutCampaignNestedInput = {
117037
+ create?: XOR<CampaignToSocialPostCreateWithoutCampaignInput, CampaignToSocialPostUncheckedCreateWithoutCampaignInput> | CampaignToSocialPostCreateWithoutCampaignInput[] | CampaignToSocialPostUncheckedCreateWithoutCampaignInput[]
117038
+ connectOrCreate?: CampaignToSocialPostCreateOrConnectWithoutCampaignInput | CampaignToSocialPostCreateOrConnectWithoutCampaignInput[]
117039
+ upsert?: CampaignToSocialPostUpsertWithWhereUniqueWithoutCampaignInput | CampaignToSocialPostUpsertWithWhereUniqueWithoutCampaignInput[]
117040
+ createMany?: CampaignToSocialPostCreateManyCampaignInputEnvelope
117041
+ set?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
117042
+ disconnect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
117043
+ delete?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
117044
+ connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
117045
+ update?: CampaignToSocialPostUpdateWithWhereUniqueWithoutCampaignInput | CampaignToSocialPostUpdateWithWhereUniqueWithoutCampaignInput[]
117046
+ updateMany?: CampaignToSocialPostUpdateManyWithWhereWithoutCampaignInput | CampaignToSocialPostUpdateManyWithWhereWithoutCampaignInput[]
117047
+ deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
117048
+ }
117049
+
115637
117050
  export type BrandUpdateOneRequiredWithoutCampaignsNestedInput = {
115638
117051
  create?: XOR<BrandCreateWithoutCampaignsInput, BrandUncheckedCreateWithoutCampaignsInput>
115639
117052
  connectOrCreate?: BrandCreateOrConnectWithoutCampaignsInput
@@ -115866,6 +117279,20 @@ export namespace Prisma {
115866
117279
  deleteMany?: CampaignToBrandAffiliateLinkScalarWhereInput | CampaignToBrandAffiliateLinkScalarWhereInput[]
115867
117280
  }
115868
117281
 
117282
+ export type CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput = {
117283
+ create?: XOR<CampaignToSocialPostCreateWithoutCampaignInput, CampaignToSocialPostUncheckedCreateWithoutCampaignInput> | CampaignToSocialPostCreateWithoutCampaignInput[] | CampaignToSocialPostUncheckedCreateWithoutCampaignInput[]
117284
+ connectOrCreate?: CampaignToSocialPostCreateOrConnectWithoutCampaignInput | CampaignToSocialPostCreateOrConnectWithoutCampaignInput[]
117285
+ upsert?: CampaignToSocialPostUpsertWithWhereUniqueWithoutCampaignInput | CampaignToSocialPostUpsertWithWhereUniqueWithoutCampaignInput[]
117286
+ createMany?: CampaignToSocialPostCreateManyCampaignInputEnvelope
117287
+ set?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
117288
+ disconnect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
117289
+ delete?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
117290
+ connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
117291
+ update?: CampaignToSocialPostUpdateWithWhereUniqueWithoutCampaignInput | CampaignToSocialPostUpdateWithWhereUniqueWithoutCampaignInput[]
117292
+ updateMany?: CampaignToSocialPostUpdateManyWithWhereWithoutCampaignInput | CampaignToSocialPostUpdateManyWithWhereWithoutCampaignInput[]
117293
+ deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
117294
+ }
117295
+
115869
117296
  export type CreatorListUncheckedUpdateManyWithoutCampaignNestedInput = {
115870
117297
  create?: XOR<CreatorListCreateWithoutCampaignInput, CreatorListUncheckedCreateWithoutCampaignInput> | CreatorListCreateWithoutCampaignInput[] | CreatorListUncheckedCreateWithoutCampaignInput[]
115871
117298
  connectOrCreate?: CreatorListCreateOrConnectWithoutCampaignInput | CreatorListCreateOrConnectWithoutCampaignInput[]
@@ -117387,6 +118814,13 @@ export namespace Prisma {
117387
118814
  connect?: ListToSocialPostWhereUniqueInput | ListToSocialPostWhereUniqueInput[]
117388
118815
  }
117389
118816
 
118817
+ export type CampaignToSocialPostCreateNestedManyWithoutSocialPostInput = {
118818
+ create?: XOR<CampaignToSocialPostCreateWithoutSocialPostInput, CampaignToSocialPostUncheckedCreateWithoutSocialPostInput> | CampaignToSocialPostCreateWithoutSocialPostInput[] | CampaignToSocialPostUncheckedCreateWithoutSocialPostInput[]
118819
+ connectOrCreate?: CampaignToSocialPostCreateOrConnectWithoutSocialPostInput | CampaignToSocialPostCreateOrConnectWithoutSocialPostInput[]
118820
+ createMany?: CampaignToSocialPostCreateManySocialPostInputEnvelope
118821
+ connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
118822
+ }
118823
+
117390
118824
  export type ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
117391
118825
  create?: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput> | ListToSocialPostCreateWithoutSocialPostInput[] | ListToSocialPostUncheckedCreateWithoutSocialPostInput[]
117392
118826
  connectOrCreate?: ListToSocialPostCreateOrConnectWithoutSocialPostInput | ListToSocialPostCreateOrConnectWithoutSocialPostInput[]
@@ -117394,6 +118828,13 @@ export namespace Prisma {
117394
118828
  connect?: ListToSocialPostWhereUniqueInput | ListToSocialPostWhereUniqueInput[]
117395
118829
  }
117396
118830
 
118831
+ export type CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
118832
+ create?: XOR<CampaignToSocialPostCreateWithoutSocialPostInput, CampaignToSocialPostUncheckedCreateWithoutSocialPostInput> | CampaignToSocialPostCreateWithoutSocialPostInput[] | CampaignToSocialPostUncheckedCreateWithoutSocialPostInput[]
118833
+ connectOrCreate?: CampaignToSocialPostCreateOrConnectWithoutSocialPostInput | CampaignToSocialPostCreateOrConnectWithoutSocialPostInput[]
118834
+ createMany?: CampaignToSocialPostCreateManySocialPostInputEnvelope
118835
+ connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
118836
+ }
118837
+
117397
118838
  export type UserUpdateOneWithoutSocialPostsNestedInput = {
117398
118839
  create?: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
117399
118840
  connectOrCreate?: UserCreateOrConnectWithoutSocialPostsInput
@@ -117428,6 +118869,20 @@ export namespace Prisma {
117428
118869
  deleteMany?: ListToSocialPostScalarWhereInput | ListToSocialPostScalarWhereInput[]
117429
118870
  }
117430
118871
 
118872
+ export type CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput = {
118873
+ create?: XOR<CampaignToSocialPostCreateWithoutSocialPostInput, CampaignToSocialPostUncheckedCreateWithoutSocialPostInput> | CampaignToSocialPostCreateWithoutSocialPostInput[] | CampaignToSocialPostUncheckedCreateWithoutSocialPostInput[]
118874
+ connectOrCreate?: CampaignToSocialPostCreateOrConnectWithoutSocialPostInput | CampaignToSocialPostCreateOrConnectWithoutSocialPostInput[]
118875
+ upsert?: CampaignToSocialPostUpsertWithWhereUniqueWithoutSocialPostInput | CampaignToSocialPostUpsertWithWhereUniqueWithoutSocialPostInput[]
118876
+ createMany?: CampaignToSocialPostCreateManySocialPostInputEnvelope
118877
+ set?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
118878
+ disconnect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
118879
+ delete?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
118880
+ connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
118881
+ update?: CampaignToSocialPostUpdateWithWhereUniqueWithoutSocialPostInput | CampaignToSocialPostUpdateWithWhereUniqueWithoutSocialPostInput[]
118882
+ updateMany?: CampaignToSocialPostUpdateManyWithWhereWithoutSocialPostInput | CampaignToSocialPostUpdateManyWithWhereWithoutSocialPostInput[]
118883
+ deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
118884
+ }
118885
+
117431
118886
  export type ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput = {
117432
118887
  create?: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput> | ListToSocialPostCreateWithoutSocialPostInput[] | ListToSocialPostUncheckedCreateWithoutSocialPostInput[]
117433
118888
  connectOrCreate?: ListToSocialPostCreateOrConnectWithoutSocialPostInput | ListToSocialPostCreateOrConnectWithoutSocialPostInput[]
@@ -117442,6 +118897,52 @@ export namespace Prisma {
117442
118897
  deleteMany?: ListToSocialPostScalarWhereInput | ListToSocialPostScalarWhereInput[]
117443
118898
  }
117444
118899
 
118900
+ export type CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput = {
118901
+ create?: XOR<CampaignToSocialPostCreateWithoutSocialPostInput, CampaignToSocialPostUncheckedCreateWithoutSocialPostInput> | CampaignToSocialPostCreateWithoutSocialPostInput[] | CampaignToSocialPostUncheckedCreateWithoutSocialPostInput[]
118902
+ connectOrCreate?: CampaignToSocialPostCreateOrConnectWithoutSocialPostInput | CampaignToSocialPostCreateOrConnectWithoutSocialPostInput[]
118903
+ upsert?: CampaignToSocialPostUpsertWithWhereUniqueWithoutSocialPostInput | CampaignToSocialPostUpsertWithWhereUniqueWithoutSocialPostInput[]
118904
+ createMany?: CampaignToSocialPostCreateManySocialPostInputEnvelope
118905
+ set?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
118906
+ disconnect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
118907
+ delete?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
118908
+ connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
118909
+ update?: CampaignToSocialPostUpdateWithWhereUniqueWithoutSocialPostInput | CampaignToSocialPostUpdateWithWhereUniqueWithoutSocialPostInput[]
118910
+ updateMany?: CampaignToSocialPostUpdateManyWithWhereWithoutSocialPostInput | CampaignToSocialPostUpdateManyWithWhereWithoutSocialPostInput[]
118911
+ deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
118912
+ }
118913
+
118914
+ export type CampaignCreateNestedOneWithoutLinkedPostsInput = {
118915
+ create?: XOR<CampaignCreateWithoutLinkedPostsInput, CampaignUncheckedCreateWithoutLinkedPostsInput>
118916
+ connectOrCreate?: CampaignCreateOrConnectWithoutLinkedPostsInput
118917
+ connect?: CampaignWhereUniqueInput
118918
+ }
118919
+
118920
+ export type SocialPostCreateNestedOneWithoutCampaignsInput = {
118921
+ create?: XOR<SocialPostCreateWithoutCampaignsInput, SocialPostUncheckedCreateWithoutCampaignsInput>
118922
+ connectOrCreate?: SocialPostCreateOrConnectWithoutCampaignsInput
118923
+ connect?: SocialPostWhereUniqueInput
118924
+ }
118925
+
118926
+ export type EnumCampaignToSocialPostStatusFieldUpdateOperationsInput = {
118927
+ set?: $Enums.CampaignToSocialPostStatus
118928
+ }
118929
+
118930
+ export type CampaignUpdateOneRequiredWithoutLinkedPostsNestedInput = {
118931
+ create?: XOR<CampaignCreateWithoutLinkedPostsInput, CampaignUncheckedCreateWithoutLinkedPostsInput>
118932
+ connectOrCreate?: CampaignCreateOrConnectWithoutLinkedPostsInput
118933
+ upsert?: CampaignUpsertWithoutLinkedPostsInput
118934
+ connect?: CampaignWhereUniqueInput
118935
+ update?: XOR<XOR<CampaignUpdateToOneWithWhereWithoutLinkedPostsInput, CampaignUpdateWithoutLinkedPostsInput>, CampaignUncheckedUpdateWithoutLinkedPostsInput>
118936
+ }
118937
+
118938
+ export type SocialPostUpdateOneRequiredWithoutCampaignsNestedInput = {
118939
+ create?: XOR<SocialPostCreateWithoutCampaignsInput, SocialPostUncheckedCreateWithoutCampaignsInput>
118940
+ connectOrCreate?: SocialPostCreateOrConnectWithoutCampaignsInput
118941
+ upsert?: SocialPostUpsertWithoutCampaignsInput
118942
+ connect?: SocialPostWhereUniqueInput
118943
+ update?: XOR<XOR<SocialPostUpdateToOneWithWhereWithoutCampaignsInput, SocialPostUpdateWithoutCampaignsInput>, SocialPostUncheckedUpdateWithoutCampaignsInput>
118944
+ }
118945
+
117445
118946
  export type CampaignToImageCreateNestedOneWithoutSizesInput = {
117446
118947
  create?: XOR<CampaignToImageCreateWithoutSizesInput, CampaignToImageUncheckedCreateWithoutSizesInput>
117447
118948
  connectOrCreate?: CampaignToImageCreateOrConnectWithoutSizesInput
@@ -119726,6 +121227,23 @@ export namespace Prisma {
119726
121227
  _max?: NestedEnumtrolleyPaymentStatusFilter<$PrismaModel>
119727
121228
  }
119728
121229
 
121230
+ export type NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel = never> = {
121231
+ equals?: $Enums.CampaignToSocialPostStatus | EnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
121232
+ in?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
121233
+ notIn?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
121234
+ not?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel> | $Enums.CampaignToSocialPostStatus
121235
+ }
121236
+
121237
+ export type NestedEnumCampaignToSocialPostStatusWithAggregatesFilter<$PrismaModel = never> = {
121238
+ equals?: $Enums.CampaignToSocialPostStatus | EnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
121239
+ in?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
121240
+ notIn?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
121241
+ not?: NestedEnumCampaignToSocialPostStatusWithAggregatesFilter<$PrismaModel> | $Enums.CampaignToSocialPostStatus
121242
+ _count?: NestedIntFilter<$PrismaModel>
121243
+ _min?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel>
121244
+ _max?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel>
121245
+ }
121246
+
119729
121247
  export type NestedDecimalNullableFilter<$PrismaModel = never> = {
119730
121248
  equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null
119731
121249
  in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null
@@ -120584,6 +122102,7 @@ export namespace Prisma {
120584
122102
  shares?: number | null
120585
122103
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
120586
122104
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
122105
+ campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
120587
122106
  }
120588
122107
 
120589
122108
  export type SocialPostUncheckedCreateWithoutUserInput = {
@@ -120620,6 +122139,7 @@ export namespace Prisma {
120620
122139
  shares?: number | null
120621
122140
  campaignId?: number | null
120622
122141
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
122142
+ campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
120623
122143
  }
120624
122144
 
120625
122145
  export type SocialPostCreateOrConnectWithoutUserInput = {
@@ -124892,6 +126412,7 @@ export namespace Prisma {
124892
126412
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
124893
126413
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
124894
126414
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
126415
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
124895
126416
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
124896
126417
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
124897
126418
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
@@ -124963,6 +126484,7 @@ export namespace Prisma {
124963
126484
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
124964
126485
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
124965
126486
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
126487
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
124966
126488
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
124967
126489
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
124968
126490
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -128549,6 +130071,7 @@ export namespace Prisma {
128549
130071
  shares?: number | null
128550
130072
  user?: UserCreateNestedOneWithoutSocialPostsInput
128551
130073
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
130074
+ campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
128552
130075
  }
128553
130076
 
128554
130077
  export type SocialPostUncheckedCreateWithoutCampaignInput = {
@@ -128585,6 +130108,7 @@ export namespace Prisma {
128585
130108
  shares?: number | null
128586
130109
  userId?: number | null
128587
130110
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
130111
+ campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
128588
130112
  }
128589
130113
 
128590
130114
  export type SocialPostCreateOrConnectWithoutCampaignInput = {
@@ -128666,6 +130190,30 @@ export namespace Prisma {
128666
130190
  skipDuplicates?: boolean
128667
130191
  }
128668
130192
 
130193
+ export type CampaignToSocialPostCreateWithoutCampaignInput = {
130194
+ status?: $Enums.CampaignToSocialPostStatus
130195
+ created?: Date | string
130196
+ metaData?: JsonNullValueInput | InputJsonValue
130197
+ socialPost: SocialPostCreateNestedOneWithoutCampaignsInput
130198
+ }
130199
+
130200
+ export type CampaignToSocialPostUncheckedCreateWithoutCampaignInput = {
130201
+ socialPostId: number
130202
+ status?: $Enums.CampaignToSocialPostStatus
130203
+ created?: Date | string
130204
+ metaData?: JsonNullValueInput | InputJsonValue
130205
+ }
130206
+
130207
+ export type CampaignToSocialPostCreateOrConnectWithoutCampaignInput = {
130208
+ where: CampaignToSocialPostWhereUniqueInput
130209
+ create: XOR<CampaignToSocialPostCreateWithoutCampaignInput, CampaignToSocialPostUncheckedCreateWithoutCampaignInput>
130210
+ }
130211
+
130212
+ export type CampaignToSocialPostCreateManyCampaignInputEnvelope = {
130213
+ data: CampaignToSocialPostCreateManyCampaignInput | CampaignToSocialPostCreateManyCampaignInput[]
130214
+ skipDuplicates?: boolean
130215
+ }
130216
+
128669
130217
  export type BrandCreateWithoutCampaignsInput = {
128670
130218
  name: string
128671
130219
  description?: string | null
@@ -129138,6 +130686,33 @@ export namespace Prisma {
129138
130686
  brandAffiliateLinkId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
129139
130687
  }
129140
130688
 
130689
+ export type CampaignToSocialPostUpsertWithWhereUniqueWithoutCampaignInput = {
130690
+ where: CampaignToSocialPostWhereUniqueInput
130691
+ update: XOR<CampaignToSocialPostUpdateWithoutCampaignInput, CampaignToSocialPostUncheckedUpdateWithoutCampaignInput>
130692
+ create: XOR<CampaignToSocialPostCreateWithoutCampaignInput, CampaignToSocialPostUncheckedCreateWithoutCampaignInput>
130693
+ }
130694
+
130695
+ export type CampaignToSocialPostUpdateWithWhereUniqueWithoutCampaignInput = {
130696
+ where: CampaignToSocialPostWhereUniqueInput
130697
+ data: XOR<CampaignToSocialPostUpdateWithoutCampaignInput, CampaignToSocialPostUncheckedUpdateWithoutCampaignInput>
130698
+ }
130699
+
130700
+ export type CampaignToSocialPostUpdateManyWithWhereWithoutCampaignInput = {
130701
+ where: CampaignToSocialPostScalarWhereInput
130702
+ data: XOR<CampaignToSocialPostUpdateManyMutationInput, CampaignToSocialPostUncheckedUpdateManyWithoutCampaignInput>
130703
+ }
130704
+
130705
+ export type CampaignToSocialPostScalarWhereInput = {
130706
+ AND?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
130707
+ OR?: CampaignToSocialPostScalarWhereInput[]
130708
+ NOT?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
130709
+ campaignId?: IntFilter<"CampaignToSocialPost"> | number
130710
+ socialPostId?: IntFilter<"CampaignToSocialPost"> | number
130711
+ status?: EnumCampaignToSocialPostStatusFilter<"CampaignToSocialPost"> | $Enums.CampaignToSocialPostStatus
130712
+ created?: DateTimeFilter<"CampaignToSocialPost"> | Date | string
130713
+ metaData?: JsonFilter<"CampaignToSocialPost">
130714
+ }
130715
+
129141
130716
  export type BrandUpsertWithoutCampaignsInput = {
129142
130717
  update: XOR<BrandUpdateWithoutCampaignsInput, BrandUncheckedUpdateWithoutCampaignsInput>
129143
130718
  create: XOR<BrandCreateWithoutCampaignsInput, BrandUncheckedCreateWithoutCampaignsInput>
@@ -129480,6 +131055,7 @@ export namespace Prisma {
129480
131055
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
129481
131056
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
129482
131057
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
131058
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
129483
131059
  brand: BrandCreateNestedOneWithoutCampaignsInput
129484
131060
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
129485
131061
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -129552,6 +131128,7 @@ export namespace Prisma {
129552
131128
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
129553
131129
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
129554
131130
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
131131
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
129555
131132
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
129556
131133
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
129557
131134
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -129743,6 +131320,7 @@ export namespace Prisma {
129743
131320
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
129744
131321
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
129745
131322
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
131323
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
129746
131324
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
129747
131325
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
129748
131326
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -129815,6 +131393,7 @@ export namespace Prisma {
129815
131393
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
129816
131394
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
129817
131395
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
131396
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
129818
131397
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
129819
131398
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
129820
131399
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -129884,6 +131463,7 @@ export namespace Prisma {
129884
131463
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
129885
131464
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
129886
131465
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
131466
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
129887
131467
  brand: BrandCreateNestedOneWithoutCampaignsInput
129888
131468
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
129889
131469
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -129956,6 +131536,7 @@ export namespace Prisma {
129956
131536
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
129957
131537
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
129958
131538
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
131539
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
129959
131540
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
129960
131541
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
129961
131542
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -130062,6 +131643,7 @@ export namespace Prisma {
130062
131643
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
130063
131644
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
130064
131645
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
131646
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
130065
131647
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
130066
131648
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
130067
131649
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -130134,6 +131716,7 @@ export namespace Prisma {
130134
131716
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
130135
131717
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
130136
131718
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
131719
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
130137
131720
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
130138
131721
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
130139
131722
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -130229,6 +131812,7 @@ export namespace Prisma {
130229
131812
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
130230
131813
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
130231
131814
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
131815
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
130232
131816
  brand: BrandCreateNestedOneWithoutCampaignsInput
130233
131817
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
130234
131818
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -130301,6 +131885,7 @@ export namespace Prisma {
130301
131885
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
130302
131886
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
130303
131887
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
131888
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
130304
131889
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
130305
131890
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
130306
131891
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -130412,6 +131997,7 @@ export namespace Prisma {
130412
131997
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
130413
131998
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
130414
131999
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
132000
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
130415
132001
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
130416
132002
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
130417
132003
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -130484,6 +132070,7 @@ export namespace Prisma {
130484
132070
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
130485
132071
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
130486
132072
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
132073
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
130487
132074
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
130488
132075
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
130489
132076
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -130585,6 +132172,7 @@ export namespace Prisma {
130585
132172
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
130586
132173
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
130587
132174
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
132175
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
130588
132176
  brand: BrandCreateNestedOneWithoutCampaignsInput
130589
132177
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
130590
132178
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -130657,6 +132245,7 @@ export namespace Prisma {
130657
132245
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
130658
132246
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
130659
132247
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
132248
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
130660
132249
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
130661
132250
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
130662
132251
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -130762,6 +132351,7 @@ export namespace Prisma {
130762
132351
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
130763
132352
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
130764
132353
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
132354
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
130765
132355
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
130766
132356
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
130767
132357
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -130834,6 +132424,7 @@ export namespace Prisma {
130834
132424
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
130835
132425
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
130836
132426
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
132427
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
130837
132428
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
130838
132429
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
130839
132430
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -130929,6 +132520,7 @@ export namespace Prisma {
130929
132520
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
130930
132521
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
130931
132522
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
132523
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
130932
132524
  brand: BrandCreateNestedOneWithoutCampaignsInput
130933
132525
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
130934
132526
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -131001,6 +132593,7 @@ export namespace Prisma {
131001
132593
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
131002
132594
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
131003
132595
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
132596
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
131004
132597
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
131005
132598
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
131006
132599
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -131106,6 +132699,7 @@ export namespace Prisma {
131106
132699
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
131107
132700
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
131108
132701
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
132702
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
131109
132703
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
131110
132704
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
131111
132705
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -131178,6 +132772,7 @@ export namespace Prisma {
131178
132772
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
131179
132773
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
131180
132774
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
132775
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
131181
132776
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
131182
132777
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
131183
132778
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -131632,6 +133227,7 @@ export namespace Prisma {
131632
133227
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
131633
133228
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
131634
133229
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
133230
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
131635
133231
  brand: BrandCreateNestedOneWithoutCampaignsInput
131636
133232
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
131637
133233
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -131704,6 +133300,7 @@ export namespace Prisma {
131704
133300
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
131705
133301
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
131706
133302
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
133303
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
131707
133304
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
131708
133305
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
131709
133306
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -131813,6 +133410,7 @@ export namespace Prisma {
131813
133410
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
131814
133411
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
131815
133412
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
133413
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
131816
133414
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
131817
133415
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
131818
133416
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -131885,6 +133483,7 @@ export namespace Prisma {
131885
133483
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
131886
133484
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
131887
133485
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
133486
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
131888
133487
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
131889
133488
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
131890
133489
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -132180,6 +133779,7 @@ export namespace Prisma {
132180
133779
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
132181
133780
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
132182
133781
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
133782
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
132183
133783
  brand: BrandCreateNestedOneWithoutCampaignsInput
132184
133784
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
132185
133785
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -132252,6 +133852,7 @@ export namespace Prisma {
132252
133852
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
132253
133853
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
132254
133854
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
133855
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
132255
133856
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
132256
133857
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
132257
133858
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -132383,6 +133984,7 @@ export namespace Prisma {
132383
133984
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
132384
133985
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
132385
133986
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
133987
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
132386
133988
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
132387
133989
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
132388
133990
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -132455,6 +134057,7 @@ export namespace Prisma {
132455
134057
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
132456
134058
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
132457
134059
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
134060
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
132458
134061
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
132459
134062
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
132460
134063
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -132717,6 +134320,7 @@ export namespace Prisma {
132717
134320
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
132718
134321
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
132719
134322
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
134323
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
132720
134324
  brand: BrandCreateNestedOneWithoutCampaignsInput
132721
134325
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
132722
134326
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -132789,6 +134393,7 @@ export namespace Prisma {
132789
134393
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
132790
134394
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
132791
134395
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
134396
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
132792
134397
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
132793
134398
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
132794
134399
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -132994,6 +134599,7 @@ export namespace Prisma {
132994
134599
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
132995
134600
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
132996
134601
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
134602
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
132997
134603
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
132998
134604
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
132999
134605
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -133066,6 +134672,7 @@ export namespace Prisma {
133066
134672
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
133067
134673
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
133068
134674
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
134675
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
133069
134676
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
133070
134677
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
133071
134678
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -133623,6 +135230,7 @@ export namespace Prisma {
133623
135230
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
133624
135231
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
133625
135232
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
135233
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
133626
135234
  brand: BrandCreateNestedOneWithoutCampaignsInput
133627
135235
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
133628
135236
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -133695,6 +135303,7 @@ export namespace Prisma {
133695
135303
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
133696
135304
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
133697
135305
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
135306
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
133698
135307
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
133699
135308
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
133700
135309
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -134236,6 +135845,7 @@ export namespace Prisma {
134236
135845
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
134237
135846
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
134238
135847
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
135848
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
134239
135849
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
134240
135850
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
134241
135851
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -134308,6 +135918,7 @@ export namespace Prisma {
134308
135918
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
134309
135919
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
134310
135920
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
135921
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
134311
135922
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
134312
135923
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
134313
135924
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -135155,6 +136766,7 @@ export namespace Prisma {
135155
136766
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
135156
136767
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
135157
136768
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
136769
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
135158
136770
  brand: BrandCreateNestedOneWithoutCampaignsInput
135159
136771
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
135160
136772
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -135227,154 +136839,600 @@ export namespace Prisma {
135227
136839
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
135228
136840
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
135229
136841
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
136842
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
136843
+ creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
136844
+ optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
136845
+ sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
136846
+ ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutCampaignInput
136847
+ }
136848
+
136849
+ export type CampaignCreateOrConnectWithoutSocialPostsInput = {
136850
+ where: CampaignWhereUniqueInput
136851
+ create: XOR<CampaignCreateWithoutSocialPostsInput, CampaignUncheckedCreateWithoutSocialPostsInput>
136852
+ }
136853
+
136854
+ export type ListToSocialPostCreateWithoutSocialPostInput = {
136855
+ list: SocialListeningListCreateNestedOneWithoutPostsInput
136856
+ }
136857
+
136858
+ export type ListToSocialPostUncheckedCreateWithoutSocialPostInput = {
136859
+ id?: number
136860
+ listId: number
136861
+ }
136862
+
136863
+ export type ListToSocialPostCreateOrConnectWithoutSocialPostInput = {
136864
+ where: ListToSocialPostWhereUniqueInput
136865
+ create: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput>
136866
+ }
136867
+
136868
+ export type ListToSocialPostCreateManySocialPostInputEnvelope = {
136869
+ data: ListToSocialPostCreateManySocialPostInput | ListToSocialPostCreateManySocialPostInput[]
136870
+ skipDuplicates?: boolean
136871
+ }
136872
+
136873
+ export type CampaignToSocialPostCreateWithoutSocialPostInput = {
136874
+ status?: $Enums.CampaignToSocialPostStatus
136875
+ created?: Date | string
136876
+ metaData?: JsonNullValueInput | InputJsonValue
136877
+ campaign: CampaignCreateNestedOneWithoutLinkedPostsInput
136878
+ }
136879
+
136880
+ export type CampaignToSocialPostUncheckedCreateWithoutSocialPostInput = {
136881
+ campaignId: number
136882
+ status?: $Enums.CampaignToSocialPostStatus
136883
+ created?: Date | string
136884
+ metaData?: JsonNullValueInput | InputJsonValue
136885
+ }
136886
+
136887
+ export type CampaignToSocialPostCreateOrConnectWithoutSocialPostInput = {
136888
+ where: CampaignToSocialPostWhereUniqueInput
136889
+ create: XOR<CampaignToSocialPostCreateWithoutSocialPostInput, CampaignToSocialPostUncheckedCreateWithoutSocialPostInput>
136890
+ }
136891
+
136892
+ export type CampaignToSocialPostCreateManySocialPostInputEnvelope = {
136893
+ data: CampaignToSocialPostCreateManySocialPostInput | CampaignToSocialPostCreateManySocialPostInput[]
136894
+ skipDuplicates?: boolean
136895
+ }
136896
+
136897
+ export type UserUpsertWithoutSocialPostsInput = {
136898
+ update: XOR<UserUpdateWithoutSocialPostsInput, UserUncheckedUpdateWithoutSocialPostsInput>
136899
+ create: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
136900
+ where?: UserWhereInput
136901
+ }
136902
+
136903
+ export type UserUpdateToOneWithWhereWithoutSocialPostsInput = {
136904
+ where?: UserWhereInput
136905
+ data: XOR<UserUpdateWithoutSocialPostsInput, UserUncheckedUpdateWithoutSocialPostsInput>
136906
+ }
136907
+
136908
+ export type UserUpdateWithoutSocialPostsInput = {
136909
+ idmId?: NullableStringFieldUpdateOperationsInput | string | null
136910
+ role?: StringFieldUpdateOperationsInput | string
136911
+ email?: NullableStringFieldUpdateOperationsInput | string | null
136912
+ password?: NullableStringFieldUpdateOperationsInput | string | null
136913
+ registered?: DateTimeFieldUpdateOperationsInput | Date | string
136914
+ lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
136915
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
136916
+ lastName?: NullableStringFieldUpdateOperationsInput | string | null
136917
+ phone?: NullableStringFieldUpdateOperationsInput | string | null
136918
+ phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
136919
+ phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
136920
+ profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
136921
+ forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
136922
+ affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
136923
+ closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
136924
+ closedReason?: NullableStringFieldUpdateOperationsInput | string | null
136925
+ usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
136926
+ extraData?: JsonNullValueInput | InputJsonValue
136927
+ fullName?: NullableStringFieldUpdateOperationsInput | string | null
136928
+ phoneNormalised?: NullableStringFieldUpdateOperationsInput | string | null
136929
+ referrer?: UserUpdateOneWithoutReferredUsersNestedInput
136930
+ referredUsers?: UserUpdateManyWithoutReferrerNestedInput
136931
+ logs?: LogUpdateManyWithoutUserNestedInput
136932
+ creatorProfile?: CreatorProfileUpdateOneWithoutUserNestedInput
136933
+ instagramProfile?: InstagramProfileUpdateOneWithoutUserNestedInput
136934
+ youtubeProfile?: YoutubeProfileUpdateOneWithoutUserNestedInput
136935
+ tiktokProfile?: TiktokProfileUpdateOneWithoutUserNestedInput
136936
+ facebookProfile?: FacebookProfileUpdateOneWithoutUserNestedInput
136937
+ twitterProfile?: TwitterProfileUpdateOneWithoutUserNestedInput
136938
+ twitchProfile?: TwitchProfileUpdateOneWithoutUserNestedInput
136939
+ brandProfiles?: BrandUserProfileUpdateManyWithoutUserNestedInput
136940
+ optIns?: OptInUpdateManyWithoutUserNestedInput
136941
+ assignedBrands?: BrandUpdateManyWithoutDedicatedSpecialistNestedInput
136942
+ messages?: MessageUpdateManyWithoutUserNestedInput
136943
+ paymentTransactions?: PaymentTransactionUpdateManyWithoutCreatorNestedInput
136944
+ affiliateLinks?: AffiliateLinkUpdateManyWithoutAffiliateNestedInput
136945
+ campaignPins?: CampaignPinUpdateManyWithoutUserNestedInput
136946
+ socialProfiles?: SocialProfileUpdateManyWithoutUserNestedInput
136947
+ rakutenActivity?: RakutenActivityUpdateManyWithoutUserNestedInput
136948
+ impactRadiusEvents?: ImpactRadiusEventUpdateManyWithoutUserNestedInput
136949
+ cjEvents?: CjEventUpdateManyWithoutUserNestedInput
136950
+ flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
136951
+ flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
136952
+ flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
136953
+ }
136954
+
136955
+ export type UserUncheckedUpdateWithoutSocialPostsInput = {
136956
+ id?: IntFieldUpdateOperationsInput | number
136957
+ idmId?: NullableStringFieldUpdateOperationsInput | string | null
136958
+ role?: StringFieldUpdateOperationsInput | string
136959
+ email?: NullableStringFieldUpdateOperationsInput | string | null
136960
+ password?: NullableStringFieldUpdateOperationsInput | string | null
136961
+ registered?: DateTimeFieldUpdateOperationsInput | Date | string
136962
+ lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
136963
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
136964
+ lastName?: NullableStringFieldUpdateOperationsInput | string | null
136965
+ phone?: NullableStringFieldUpdateOperationsInput | string | null
136966
+ phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
136967
+ phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
136968
+ profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
136969
+ forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
136970
+ affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
136971
+ closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
136972
+ closedReason?: NullableStringFieldUpdateOperationsInput | string | null
136973
+ usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
136974
+ extraData?: JsonNullValueInput | InputJsonValue
136975
+ referrerId?: NullableIntFieldUpdateOperationsInput | number | null
136976
+ fullName?: NullableStringFieldUpdateOperationsInput | string | null
136977
+ phoneNormalised?: NullableStringFieldUpdateOperationsInput | string | null
136978
+ referredUsers?: UserUncheckedUpdateManyWithoutReferrerNestedInput
136979
+ logs?: LogUncheckedUpdateManyWithoutUserNestedInput
136980
+ creatorProfile?: CreatorProfileUncheckedUpdateOneWithoutUserNestedInput
136981
+ instagramProfile?: InstagramProfileUncheckedUpdateOneWithoutUserNestedInput
136982
+ youtubeProfile?: YoutubeProfileUncheckedUpdateOneWithoutUserNestedInput
136983
+ tiktokProfile?: TiktokProfileUncheckedUpdateOneWithoutUserNestedInput
136984
+ facebookProfile?: FacebookProfileUncheckedUpdateOneWithoutUserNestedInput
136985
+ twitterProfile?: TwitterProfileUncheckedUpdateOneWithoutUserNestedInput
136986
+ twitchProfile?: TwitchProfileUncheckedUpdateOneWithoutUserNestedInput
136987
+ brandProfiles?: BrandUserProfileUncheckedUpdateManyWithoutUserNestedInput
136988
+ optIns?: OptInUncheckedUpdateManyWithoutUserNestedInput
136989
+ assignedBrands?: BrandUncheckedUpdateManyWithoutDedicatedSpecialistNestedInput
136990
+ messages?: MessageUncheckedUpdateManyWithoutUserNestedInput
136991
+ paymentTransactions?: PaymentTransactionUncheckedUpdateManyWithoutCreatorNestedInput
136992
+ affiliateLinks?: AffiliateLinkUncheckedUpdateManyWithoutAffiliateNestedInput
136993
+ campaignPins?: CampaignPinUncheckedUpdateManyWithoutUserNestedInput
136994
+ socialProfiles?: SocialProfileUncheckedUpdateManyWithoutUserNestedInput
136995
+ rakutenActivity?: RakutenActivityUncheckedUpdateManyWithoutUserNestedInput
136996
+ impactRadiusEvents?: ImpactRadiusEventUncheckedUpdateManyWithoutUserNestedInput
136997
+ cjEvents?: CjEventUncheckedUpdateManyWithoutUserNestedInput
136998
+ flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
136999
+ flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
137000
+ flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
137001
+ }
137002
+
137003
+ export type CampaignUpsertWithoutSocialPostsInput = {
137004
+ update: XOR<CampaignUpdateWithoutSocialPostsInput, CampaignUncheckedUpdateWithoutSocialPostsInput>
137005
+ create: XOR<CampaignCreateWithoutSocialPostsInput, CampaignUncheckedCreateWithoutSocialPostsInput>
137006
+ where?: CampaignWhereInput
137007
+ }
137008
+
137009
+ export type CampaignUpdateToOneWithWhereWithoutSocialPostsInput = {
137010
+ where?: CampaignWhereInput
137011
+ data: XOR<CampaignUpdateWithoutSocialPostsInput, CampaignUncheckedUpdateWithoutSocialPostsInput>
137012
+ }
137013
+
137014
+ export type CampaignUpdateWithoutSocialPostsInput = {
137015
+ title?: StringFieldUpdateOperationsInput | string
137016
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
137017
+ status?: StringFieldUpdateOperationsInput | string
137018
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
137019
+ publishDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
137020
+ sfSyncDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
137021
+ description?: NullableStringFieldUpdateOperationsInput | string | null
137022
+ productDescription?: NullableStringFieldUpdateOperationsInput | string | null
137023
+ prizeDescription?: NullableStringFieldUpdateOperationsInput | string | null
137024
+ strategy?: NullableStringFieldUpdateOperationsInput | string | null
137025
+ socialChannel?: NullableStringFieldUpdateOperationsInput | string | null
137026
+ socialChannels?: NullableJsonNullValueInput | InputJsonValue
137027
+ facebookReach?: NullableIntFieldUpdateOperationsInput | number | null
137028
+ facebookEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137029
+ instagramReach?: NullableIntFieldUpdateOperationsInput | number | null
137030
+ instagramEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137031
+ youtubeReach?: NullableIntFieldUpdateOperationsInput | number | null
137032
+ youtubeEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137033
+ twitterReach?: NullableIntFieldUpdateOperationsInput | number | null
137034
+ twitterEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137035
+ tiktokReach?: NullableIntFieldUpdateOperationsInput | number | null
137036
+ tiktokEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137037
+ twitchReach?: NullableIntFieldUpdateOperationsInput | number | null
137038
+ twitchEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137039
+ quantity?: IntFieldUpdateOperationsInput | number
137040
+ holdCost?: NullableFloatFieldUpdateOperationsInput | number | null
137041
+ value?: NullableFloatFieldUpdateOperationsInput | number | null
137042
+ paidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
137043
+ minAge?: NullableIntFieldUpdateOperationsInput | number | null
137044
+ maxAge?: NullableIntFieldUpdateOperationsInput | number | null
137045
+ visuals?: NullableStringFieldUpdateOperationsInput | string | null
137046
+ photoTags?: NullableJsonNullValueInput | InputJsonValue
137047
+ hashtags?: NullableJsonNullValueInput | InputJsonValue
137048
+ storyHashtags?: NullableJsonNullValueInput | InputJsonValue
137049
+ storyMentions?: NullableJsonNullValueInput | InputJsonValue
137050
+ caption?: NullableStringFieldUpdateOperationsInput | string | null
137051
+ password?: NullableStringFieldUpdateOperationsInput | string | null
137052
+ contentFormats?: NullableJsonNullValueInput | InputJsonValue
137053
+ paidCampaign?: NullableBoolFieldUpdateOperationsInput | boolean | null
137054
+ minPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
137055
+ maxPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
137056
+ paymentType?: NullableStringFieldUpdateOperationsInput | string | null
137057
+ monthlyActivatedGoal?: NullableIntFieldUpdateOperationsInput | number | null
137058
+ expectedOptIns?: NullableIntFieldUpdateOperationsInput | number | null
137059
+ goalActivations?: NullableFloatFieldUpdateOperationsInput | number | null
137060
+ goalOptIns?: NullableFloatFieldUpdateOperationsInput | number | null
137061
+ requiresShipping?: NullableBoolFieldUpdateOperationsInput | boolean | null
137062
+ disableQualifications?: NullableBoolFieldUpdateOperationsInput | boolean | null
137063
+ disableActivations?: NullableBoolFieldUpdateOperationsInput | boolean | null
137064
+ affiliateLinkPath?: NullableStringFieldUpdateOperationsInput | string | null
137065
+ metaData?: JsonNullValueInput | InputJsonValue
137066
+ steps?: CampaignStepUpdateManyWithoutCampaignNestedInput
137067
+ categories?: CampaignToCategoryUpdateManyWithoutCampaignNestedInput
137068
+ optIns?: OptInUpdateManyWithoutCampaignNestedInput
137069
+ images?: CampaignToImageUpdateManyWithoutCampaignNestedInput
137070
+ variables?: VariableUpdateManyWithoutCampaignNestedInput
137071
+ productLists?: CampaignToProductListUpdateManyWithoutCampaignNestedInput
137072
+ countries?: CampaignToCountryUpdateManyWithoutCampaignNestedInput
137073
+ campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
137074
+ campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
137075
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
137076
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
137077
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
137078
+ brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
137079
+ creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
137080
+ optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
137081
+ sequences?: SequenceUpdateManyWithoutCampaignNestedInput
137082
+ ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutCampaignNestedInput
137083
+ }
137084
+
137085
+ export type CampaignUncheckedUpdateWithoutSocialPostsInput = {
137086
+ id?: IntFieldUpdateOperationsInput | number
137087
+ title?: StringFieldUpdateOperationsInput | string
137088
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
137089
+ status?: StringFieldUpdateOperationsInput | string
137090
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
137091
+ publishDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
137092
+ sfSyncDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
137093
+ description?: NullableStringFieldUpdateOperationsInput | string | null
137094
+ productDescription?: NullableStringFieldUpdateOperationsInput | string | null
137095
+ prizeDescription?: NullableStringFieldUpdateOperationsInput | string | null
137096
+ strategy?: NullableStringFieldUpdateOperationsInput | string | null
137097
+ socialChannel?: NullableStringFieldUpdateOperationsInput | string | null
137098
+ socialChannels?: NullableJsonNullValueInput | InputJsonValue
137099
+ facebookReach?: NullableIntFieldUpdateOperationsInput | number | null
137100
+ facebookEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137101
+ instagramReach?: NullableIntFieldUpdateOperationsInput | number | null
137102
+ instagramEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137103
+ youtubeReach?: NullableIntFieldUpdateOperationsInput | number | null
137104
+ youtubeEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137105
+ twitterReach?: NullableIntFieldUpdateOperationsInput | number | null
137106
+ twitterEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137107
+ tiktokReach?: NullableIntFieldUpdateOperationsInput | number | null
137108
+ tiktokEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137109
+ twitchReach?: NullableIntFieldUpdateOperationsInput | number | null
137110
+ twitchEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
137111
+ quantity?: IntFieldUpdateOperationsInput | number
137112
+ holdCost?: NullableFloatFieldUpdateOperationsInput | number | null
137113
+ value?: NullableFloatFieldUpdateOperationsInput | number | null
137114
+ paidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
137115
+ minAge?: NullableIntFieldUpdateOperationsInput | number | null
137116
+ maxAge?: NullableIntFieldUpdateOperationsInput | number | null
137117
+ visuals?: NullableStringFieldUpdateOperationsInput | string | null
137118
+ photoTags?: NullableJsonNullValueInput | InputJsonValue
137119
+ hashtags?: NullableJsonNullValueInput | InputJsonValue
137120
+ storyHashtags?: NullableJsonNullValueInput | InputJsonValue
137121
+ storyMentions?: NullableJsonNullValueInput | InputJsonValue
137122
+ caption?: NullableStringFieldUpdateOperationsInput | string | null
137123
+ password?: NullableStringFieldUpdateOperationsInput | string | null
137124
+ contentFormats?: NullableJsonNullValueInput | InputJsonValue
137125
+ paidCampaign?: NullableBoolFieldUpdateOperationsInput | boolean | null
137126
+ minPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
137127
+ maxPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
137128
+ paymentType?: NullableStringFieldUpdateOperationsInput | string | null
137129
+ monthlyActivatedGoal?: NullableIntFieldUpdateOperationsInput | number | null
137130
+ expectedOptIns?: NullableIntFieldUpdateOperationsInput | number | null
137131
+ goalActivations?: NullableFloatFieldUpdateOperationsInput | number | null
137132
+ goalOptIns?: NullableFloatFieldUpdateOperationsInput | number | null
137133
+ requiresShipping?: NullableBoolFieldUpdateOperationsInput | boolean | null
137134
+ disableQualifications?: NullableBoolFieldUpdateOperationsInput | boolean | null
137135
+ disableActivations?: NullableBoolFieldUpdateOperationsInput | boolean | null
137136
+ affiliateLinkPath?: NullableStringFieldUpdateOperationsInput | string | null
137137
+ metaData?: JsonNullValueInput | InputJsonValue
137138
+ brandId?: IntFieldUpdateOperationsInput | number
137139
+ steps?: CampaignStepUncheckedUpdateManyWithoutCampaignNestedInput
137140
+ categories?: CampaignToCategoryUncheckedUpdateManyWithoutCampaignNestedInput
137141
+ optIns?: OptInUncheckedUpdateManyWithoutCampaignNestedInput
137142
+ images?: CampaignToImageUncheckedUpdateManyWithoutCampaignNestedInput
137143
+ variables?: VariableUncheckedUpdateManyWithoutCampaignNestedInput
137144
+ productLists?: CampaignToProductListUncheckedUpdateManyWithoutCampaignNestedInput
137145
+ countries?: CampaignToCountryUncheckedUpdateManyWithoutCampaignNestedInput
137146
+ campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
137147
+ campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
137148
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
137149
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
137150
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
137151
+ creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
137152
+ optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
137153
+ sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
137154
+ ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutCampaignNestedInput
137155
+ }
137156
+
137157
+ export type ListToSocialPostUpsertWithWhereUniqueWithoutSocialPostInput = {
137158
+ where: ListToSocialPostWhereUniqueInput
137159
+ update: XOR<ListToSocialPostUpdateWithoutSocialPostInput, ListToSocialPostUncheckedUpdateWithoutSocialPostInput>
137160
+ create: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput>
137161
+ }
137162
+
137163
+ export type ListToSocialPostUpdateWithWhereUniqueWithoutSocialPostInput = {
137164
+ where: ListToSocialPostWhereUniqueInput
137165
+ data: XOR<ListToSocialPostUpdateWithoutSocialPostInput, ListToSocialPostUncheckedUpdateWithoutSocialPostInput>
137166
+ }
137167
+
137168
+ export type ListToSocialPostUpdateManyWithWhereWithoutSocialPostInput = {
137169
+ where: ListToSocialPostScalarWhereInput
137170
+ data: XOR<ListToSocialPostUpdateManyMutationInput, ListToSocialPostUncheckedUpdateManyWithoutSocialPostInput>
137171
+ }
137172
+
137173
+ export type ListToSocialPostScalarWhereInput = {
137174
+ AND?: ListToSocialPostScalarWhereInput | ListToSocialPostScalarWhereInput[]
137175
+ OR?: ListToSocialPostScalarWhereInput[]
137176
+ NOT?: ListToSocialPostScalarWhereInput | ListToSocialPostScalarWhereInput[]
137177
+ id?: IntFilter<"ListToSocialPost"> | number
137178
+ listId?: IntFilter<"ListToSocialPost"> | number
137179
+ postId?: IntFilter<"ListToSocialPost"> | number
137180
+ }
137181
+
137182
+ export type CampaignToSocialPostUpsertWithWhereUniqueWithoutSocialPostInput = {
137183
+ where: CampaignToSocialPostWhereUniqueInput
137184
+ update: XOR<CampaignToSocialPostUpdateWithoutSocialPostInput, CampaignToSocialPostUncheckedUpdateWithoutSocialPostInput>
137185
+ create: XOR<CampaignToSocialPostCreateWithoutSocialPostInput, CampaignToSocialPostUncheckedCreateWithoutSocialPostInput>
137186
+ }
137187
+
137188
+ export type CampaignToSocialPostUpdateWithWhereUniqueWithoutSocialPostInput = {
137189
+ where: CampaignToSocialPostWhereUniqueInput
137190
+ data: XOR<CampaignToSocialPostUpdateWithoutSocialPostInput, CampaignToSocialPostUncheckedUpdateWithoutSocialPostInput>
137191
+ }
137192
+
137193
+ export type CampaignToSocialPostUpdateManyWithWhereWithoutSocialPostInput = {
137194
+ where: CampaignToSocialPostScalarWhereInput
137195
+ data: XOR<CampaignToSocialPostUpdateManyMutationInput, CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostInput>
137196
+ }
137197
+
137198
+ export type CampaignCreateWithoutLinkedPostsInput = {
137199
+ title: string
137200
+ slug?: string | null
137201
+ status?: string
137202
+ date?: Date | string
137203
+ publishDate?: Date | string | null
137204
+ sfSyncDate?: Date | string | null
137205
+ description?: string | null
137206
+ productDescription?: string | null
137207
+ prizeDescription?: string | null
137208
+ strategy?: string | null
137209
+ socialChannel?: string | null
137210
+ socialChannels?: NullableJsonNullValueInput | InputJsonValue
137211
+ facebookReach?: number | null
137212
+ facebookEngagement?: number | null
137213
+ instagramReach?: number | null
137214
+ instagramEngagement?: number | null
137215
+ youtubeReach?: number | null
137216
+ youtubeEngagement?: number | null
137217
+ twitterReach?: number | null
137218
+ twitterEngagement?: number | null
137219
+ tiktokReach?: number | null
137220
+ tiktokEngagement?: number | null
137221
+ twitchReach?: number | null
137222
+ twitchEngagement?: number | null
137223
+ quantity?: number
137224
+ holdCost?: number | null
137225
+ value?: number | null
137226
+ paidAmount?: number | null
137227
+ minAge?: number | null
137228
+ maxAge?: number | null
137229
+ visuals?: string | null
137230
+ photoTags?: NullableJsonNullValueInput | InputJsonValue
137231
+ hashtags?: NullableJsonNullValueInput | InputJsonValue
137232
+ storyHashtags?: NullableJsonNullValueInput | InputJsonValue
137233
+ storyMentions?: NullableJsonNullValueInput | InputJsonValue
137234
+ caption?: string | null
137235
+ password?: string | null
137236
+ contentFormats?: NullableJsonNullValueInput | InputJsonValue
137237
+ paidCampaign?: boolean | null
137238
+ minPaidAmount?: number | null
137239
+ maxPaidAmount?: number | null
137240
+ paymentType?: string | null
137241
+ monthlyActivatedGoal?: number | null
137242
+ expectedOptIns?: number | null
137243
+ goalActivations?: number | null
137244
+ goalOptIns?: number | null
137245
+ requiresShipping?: boolean | null
137246
+ disableQualifications?: boolean | null
137247
+ disableActivations?: boolean | null
137248
+ affiliateLinkPath?: string | null
137249
+ metaData?: JsonNullValueInput | InputJsonValue
137250
+ steps?: CampaignStepCreateNestedManyWithoutCampaignInput
137251
+ categories?: CampaignToCategoryCreateNestedManyWithoutCampaignInput
137252
+ optIns?: OptInCreateNestedManyWithoutCampaignInput
137253
+ images?: CampaignToImageCreateNestedManyWithoutCampaignInput
137254
+ variables?: VariableCreateNestedManyWithoutCampaignInput
137255
+ productLists?: CampaignToProductListCreateNestedManyWithoutCampaignInput
137256
+ countries?: CampaignToCountryCreateNestedManyWithoutCampaignInput
137257
+ campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
137258
+ socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
137259
+ campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
137260
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
137261
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
137262
+ brand: BrandCreateNestedOneWithoutCampaignsInput
137263
+ creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
137264
+ optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
137265
+ sequences?: SequenceCreateNestedManyWithoutCampaignInput
137266
+ ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutCampaignInput
137267
+ }
137268
+
137269
+ export type CampaignUncheckedCreateWithoutLinkedPostsInput = {
137270
+ id?: number
137271
+ title: string
137272
+ slug?: string | null
137273
+ status?: string
137274
+ date?: Date | string
137275
+ publishDate?: Date | string | null
137276
+ sfSyncDate?: Date | string | null
137277
+ description?: string | null
137278
+ productDescription?: string | null
137279
+ prizeDescription?: string | null
137280
+ strategy?: string | null
137281
+ socialChannel?: string | null
137282
+ socialChannels?: NullableJsonNullValueInput | InputJsonValue
137283
+ facebookReach?: number | null
137284
+ facebookEngagement?: number | null
137285
+ instagramReach?: number | null
137286
+ instagramEngagement?: number | null
137287
+ youtubeReach?: number | null
137288
+ youtubeEngagement?: number | null
137289
+ twitterReach?: number | null
137290
+ twitterEngagement?: number | null
137291
+ tiktokReach?: number | null
137292
+ tiktokEngagement?: number | null
137293
+ twitchReach?: number | null
137294
+ twitchEngagement?: number | null
137295
+ quantity?: number
137296
+ holdCost?: number | null
137297
+ value?: number | null
137298
+ paidAmount?: number | null
137299
+ minAge?: number | null
137300
+ maxAge?: number | null
137301
+ visuals?: string | null
137302
+ photoTags?: NullableJsonNullValueInput | InputJsonValue
137303
+ hashtags?: NullableJsonNullValueInput | InputJsonValue
137304
+ storyHashtags?: NullableJsonNullValueInput | InputJsonValue
137305
+ storyMentions?: NullableJsonNullValueInput | InputJsonValue
137306
+ caption?: string | null
137307
+ password?: string | null
137308
+ contentFormats?: NullableJsonNullValueInput | InputJsonValue
137309
+ paidCampaign?: boolean | null
137310
+ minPaidAmount?: number | null
137311
+ maxPaidAmount?: number | null
137312
+ paymentType?: string | null
137313
+ monthlyActivatedGoal?: number | null
137314
+ expectedOptIns?: number | null
137315
+ goalActivations?: number | null
137316
+ goalOptIns?: number | null
137317
+ requiresShipping?: boolean | null
137318
+ disableQualifications?: boolean | null
137319
+ disableActivations?: boolean | null
137320
+ affiliateLinkPath?: string | null
137321
+ metaData?: JsonNullValueInput | InputJsonValue
137322
+ brandId: number
137323
+ steps?: CampaignStepUncheckedCreateNestedManyWithoutCampaignInput
137324
+ categories?: CampaignToCategoryUncheckedCreateNestedManyWithoutCampaignInput
137325
+ optIns?: OptInUncheckedCreateNestedManyWithoutCampaignInput
137326
+ images?: CampaignToImageUncheckedCreateNestedManyWithoutCampaignInput
137327
+ variables?: VariableUncheckedCreateNestedManyWithoutCampaignInput
137328
+ productLists?: CampaignToProductListUncheckedCreateNestedManyWithoutCampaignInput
137329
+ countries?: CampaignToCountryUncheckedCreateNestedManyWithoutCampaignInput
137330
+ campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
137331
+ socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
137332
+ campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
137333
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
137334
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
135230
137335
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
135231
137336
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
135232
137337
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
135233
137338
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutCampaignInput
135234
137339
  }
135235
137340
 
135236
- export type CampaignCreateOrConnectWithoutSocialPostsInput = {
137341
+ export type CampaignCreateOrConnectWithoutLinkedPostsInput = {
135237
137342
  where: CampaignWhereUniqueInput
135238
- create: XOR<CampaignCreateWithoutSocialPostsInput, CampaignUncheckedCreateWithoutSocialPostsInput>
137343
+ create: XOR<CampaignCreateWithoutLinkedPostsInput, CampaignUncheckedCreateWithoutLinkedPostsInput>
135239
137344
  }
135240
137345
 
135241
- export type ListToSocialPostCreateWithoutSocialPostInput = {
135242
- list: SocialListeningListCreateNestedOneWithoutPostsInput
137346
+ export type SocialPostCreateWithoutCampaignsInput = {
137347
+ externalId: string
137348
+ phylloId?: string | null
137349
+ metaData?: JsonNullValueInput | InputJsonValue
137350
+ lastFetched?: Date | string | null
137351
+ lastWebhook?: Date | string | null
137352
+ posted?: Date | string | null
137353
+ title?: string | null
137354
+ description?: string | null
137355
+ url?: string | null
137356
+ format?: string | null
137357
+ type?: string | null
137358
+ platform?: string | null
137359
+ visibility?: string | null
137360
+ isSponsored?: boolean | null
137361
+ hasCollaborators?: boolean | null
137362
+ isOwnedByUser?: boolean | null
137363
+ views?: number | null
137364
+ replays?: number | null
137365
+ impressions?: number | null
137366
+ impressionsOrganic?: number | null
137367
+ impressionsPaid?: number | null
137368
+ reach?: number | null
137369
+ reachOrganic?: number | null
137370
+ reachPaid?: number | null
137371
+ watchHours?: number | null
137372
+ likes?: number | null
137373
+ dislikes?: number | null
137374
+ comments?: number | null
137375
+ saves?: number | null
137376
+ shares?: number | null
137377
+ user?: UserCreateNestedOneWithoutSocialPostsInput
137378
+ campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
137379
+ lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
135243
137380
  }
135244
137381
 
135245
- export type ListToSocialPostUncheckedCreateWithoutSocialPostInput = {
137382
+ export type SocialPostUncheckedCreateWithoutCampaignsInput = {
135246
137383
  id?: number
135247
- listId: number
135248
- }
135249
-
135250
- export type ListToSocialPostCreateOrConnectWithoutSocialPostInput = {
135251
- where: ListToSocialPostWhereUniqueInput
135252
- create: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput>
135253
- }
135254
-
135255
- export type ListToSocialPostCreateManySocialPostInputEnvelope = {
135256
- data: ListToSocialPostCreateManySocialPostInput | ListToSocialPostCreateManySocialPostInput[]
135257
- skipDuplicates?: boolean
135258
- }
135259
-
135260
- export type UserUpsertWithoutSocialPostsInput = {
135261
- update: XOR<UserUpdateWithoutSocialPostsInput, UserUncheckedUpdateWithoutSocialPostsInput>
135262
- create: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
135263
- where?: UserWhereInput
135264
- }
135265
-
135266
- export type UserUpdateToOneWithWhereWithoutSocialPostsInput = {
135267
- where?: UserWhereInput
135268
- data: XOR<UserUpdateWithoutSocialPostsInput, UserUncheckedUpdateWithoutSocialPostsInput>
135269
- }
135270
-
135271
- export type UserUpdateWithoutSocialPostsInput = {
135272
- idmId?: NullableStringFieldUpdateOperationsInput | string | null
135273
- role?: StringFieldUpdateOperationsInput | string
135274
- email?: NullableStringFieldUpdateOperationsInput | string | null
135275
- password?: NullableStringFieldUpdateOperationsInput | string | null
135276
- registered?: DateTimeFieldUpdateOperationsInput | Date | string
135277
- lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
135278
- firstName?: NullableStringFieldUpdateOperationsInput | string | null
135279
- lastName?: NullableStringFieldUpdateOperationsInput | string | null
135280
- phone?: NullableStringFieldUpdateOperationsInput | string | null
135281
- phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
135282
- phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
135283
- profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
135284
- forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
135285
- affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
135286
- closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
135287
- closedReason?: NullableStringFieldUpdateOperationsInput | string | null
135288
- usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
135289
- extraData?: JsonNullValueInput | InputJsonValue
135290
- fullName?: NullableStringFieldUpdateOperationsInput | string | null
135291
- phoneNormalised?: NullableStringFieldUpdateOperationsInput | string | null
135292
- referrer?: UserUpdateOneWithoutReferredUsersNestedInput
135293
- referredUsers?: UserUpdateManyWithoutReferrerNestedInput
135294
- logs?: LogUpdateManyWithoutUserNestedInput
135295
- creatorProfile?: CreatorProfileUpdateOneWithoutUserNestedInput
135296
- instagramProfile?: InstagramProfileUpdateOneWithoutUserNestedInput
135297
- youtubeProfile?: YoutubeProfileUpdateOneWithoutUserNestedInput
135298
- tiktokProfile?: TiktokProfileUpdateOneWithoutUserNestedInput
135299
- facebookProfile?: FacebookProfileUpdateOneWithoutUserNestedInput
135300
- twitterProfile?: TwitterProfileUpdateOneWithoutUserNestedInput
135301
- twitchProfile?: TwitchProfileUpdateOneWithoutUserNestedInput
135302
- brandProfiles?: BrandUserProfileUpdateManyWithoutUserNestedInput
135303
- optIns?: OptInUpdateManyWithoutUserNestedInput
135304
- assignedBrands?: BrandUpdateManyWithoutDedicatedSpecialistNestedInput
135305
- messages?: MessageUpdateManyWithoutUserNestedInput
135306
- paymentTransactions?: PaymentTransactionUpdateManyWithoutCreatorNestedInput
135307
- affiliateLinks?: AffiliateLinkUpdateManyWithoutAffiliateNestedInput
135308
- campaignPins?: CampaignPinUpdateManyWithoutUserNestedInput
135309
- socialProfiles?: SocialProfileUpdateManyWithoutUserNestedInput
135310
- rakutenActivity?: RakutenActivityUpdateManyWithoutUserNestedInput
135311
- impactRadiusEvents?: ImpactRadiusEventUpdateManyWithoutUserNestedInput
135312
- cjEvents?: CjEventUpdateManyWithoutUserNestedInput
135313
- flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
135314
- flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
135315
- flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
137384
+ externalId: string
137385
+ phylloId?: string | null
137386
+ metaData?: JsonNullValueInput | InputJsonValue
137387
+ lastFetched?: Date | string | null
137388
+ lastWebhook?: Date | string | null
137389
+ posted?: Date | string | null
137390
+ title?: string | null
137391
+ description?: string | null
137392
+ url?: string | null
137393
+ format?: string | null
137394
+ type?: string | null
137395
+ platform?: string | null
137396
+ visibility?: string | null
137397
+ isSponsored?: boolean | null
137398
+ hasCollaborators?: boolean | null
137399
+ isOwnedByUser?: boolean | null
137400
+ views?: number | null
137401
+ replays?: number | null
137402
+ impressions?: number | null
137403
+ impressionsOrganic?: number | null
137404
+ impressionsPaid?: number | null
137405
+ reach?: number | null
137406
+ reachOrganic?: number | null
137407
+ reachPaid?: number | null
137408
+ watchHours?: number | null
137409
+ likes?: number | null
137410
+ dislikes?: number | null
137411
+ comments?: number | null
137412
+ saves?: number | null
137413
+ shares?: number | null
137414
+ userId?: number | null
137415
+ campaignId?: number | null
137416
+ lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
135316
137417
  }
135317
137418
 
135318
- export type UserUncheckedUpdateWithoutSocialPostsInput = {
135319
- id?: IntFieldUpdateOperationsInput | number
135320
- idmId?: NullableStringFieldUpdateOperationsInput | string | null
135321
- role?: StringFieldUpdateOperationsInput | string
135322
- email?: NullableStringFieldUpdateOperationsInput | string | null
135323
- password?: NullableStringFieldUpdateOperationsInput | string | null
135324
- registered?: DateTimeFieldUpdateOperationsInput | Date | string
135325
- lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
135326
- firstName?: NullableStringFieldUpdateOperationsInput | string | null
135327
- lastName?: NullableStringFieldUpdateOperationsInput | string | null
135328
- phone?: NullableStringFieldUpdateOperationsInput | string | null
135329
- phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
135330
- phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
135331
- profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
135332
- forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
135333
- affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
135334
- closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
135335
- closedReason?: NullableStringFieldUpdateOperationsInput | string | null
135336
- usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
135337
- extraData?: JsonNullValueInput | InputJsonValue
135338
- referrerId?: NullableIntFieldUpdateOperationsInput | number | null
135339
- fullName?: NullableStringFieldUpdateOperationsInput | string | null
135340
- phoneNormalised?: NullableStringFieldUpdateOperationsInput | string | null
135341
- referredUsers?: UserUncheckedUpdateManyWithoutReferrerNestedInput
135342
- logs?: LogUncheckedUpdateManyWithoutUserNestedInput
135343
- creatorProfile?: CreatorProfileUncheckedUpdateOneWithoutUserNestedInput
135344
- instagramProfile?: InstagramProfileUncheckedUpdateOneWithoutUserNestedInput
135345
- youtubeProfile?: YoutubeProfileUncheckedUpdateOneWithoutUserNestedInput
135346
- tiktokProfile?: TiktokProfileUncheckedUpdateOneWithoutUserNestedInput
135347
- facebookProfile?: FacebookProfileUncheckedUpdateOneWithoutUserNestedInput
135348
- twitterProfile?: TwitterProfileUncheckedUpdateOneWithoutUserNestedInput
135349
- twitchProfile?: TwitchProfileUncheckedUpdateOneWithoutUserNestedInput
135350
- brandProfiles?: BrandUserProfileUncheckedUpdateManyWithoutUserNestedInput
135351
- optIns?: OptInUncheckedUpdateManyWithoutUserNestedInput
135352
- assignedBrands?: BrandUncheckedUpdateManyWithoutDedicatedSpecialistNestedInput
135353
- messages?: MessageUncheckedUpdateManyWithoutUserNestedInput
135354
- paymentTransactions?: PaymentTransactionUncheckedUpdateManyWithoutCreatorNestedInput
135355
- affiliateLinks?: AffiliateLinkUncheckedUpdateManyWithoutAffiliateNestedInput
135356
- campaignPins?: CampaignPinUncheckedUpdateManyWithoutUserNestedInput
135357
- socialProfiles?: SocialProfileUncheckedUpdateManyWithoutUserNestedInput
135358
- rakutenActivity?: RakutenActivityUncheckedUpdateManyWithoutUserNestedInput
135359
- impactRadiusEvents?: ImpactRadiusEventUncheckedUpdateManyWithoutUserNestedInput
135360
- cjEvents?: CjEventUncheckedUpdateManyWithoutUserNestedInput
135361
- flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
135362
- flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
135363
- flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
137419
+ export type SocialPostCreateOrConnectWithoutCampaignsInput = {
137420
+ where: SocialPostWhereUniqueInput
137421
+ create: XOR<SocialPostCreateWithoutCampaignsInput, SocialPostUncheckedCreateWithoutCampaignsInput>
135364
137422
  }
135365
137423
 
135366
- export type CampaignUpsertWithoutSocialPostsInput = {
135367
- update: XOR<CampaignUpdateWithoutSocialPostsInput, CampaignUncheckedUpdateWithoutSocialPostsInput>
135368
- create: XOR<CampaignCreateWithoutSocialPostsInput, CampaignUncheckedCreateWithoutSocialPostsInput>
137424
+ export type CampaignUpsertWithoutLinkedPostsInput = {
137425
+ update: XOR<CampaignUpdateWithoutLinkedPostsInput, CampaignUncheckedUpdateWithoutLinkedPostsInput>
137426
+ create: XOR<CampaignCreateWithoutLinkedPostsInput, CampaignUncheckedCreateWithoutLinkedPostsInput>
135369
137427
  where?: CampaignWhereInput
135370
137428
  }
135371
137429
 
135372
- export type CampaignUpdateToOneWithWhereWithoutSocialPostsInput = {
137430
+ export type CampaignUpdateToOneWithWhereWithoutLinkedPostsInput = {
135373
137431
  where?: CampaignWhereInput
135374
- data: XOR<CampaignUpdateWithoutSocialPostsInput, CampaignUncheckedUpdateWithoutSocialPostsInput>
137432
+ data: XOR<CampaignUpdateWithoutLinkedPostsInput, CampaignUncheckedUpdateWithoutLinkedPostsInput>
135375
137433
  }
135376
137434
 
135377
- export type CampaignUpdateWithoutSocialPostsInput = {
137435
+ export type CampaignUpdateWithoutLinkedPostsInput = {
135378
137436
  title?: StringFieldUpdateOperationsInput | string
135379
137437
  slug?: NullableStringFieldUpdateOperationsInput | string | null
135380
137438
  status?: StringFieldUpdateOperationsInput | string
@@ -135434,6 +137492,7 @@ export namespace Prisma {
135434
137492
  productLists?: CampaignToProductListUpdateManyWithoutCampaignNestedInput
135435
137493
  countries?: CampaignToCountryUpdateManyWithoutCampaignNestedInput
135436
137494
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
137495
+ socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
135437
137496
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
135438
137497
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
135439
137498
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
@@ -135444,7 +137503,7 @@ export namespace Prisma {
135444
137503
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutCampaignNestedInput
135445
137504
  }
135446
137505
 
135447
- export type CampaignUncheckedUpdateWithoutSocialPostsInput = {
137506
+ export type CampaignUncheckedUpdateWithoutLinkedPostsInput = {
135448
137507
  id?: IntFieldUpdateOperationsInput | number
135449
137508
  title?: StringFieldUpdateOperationsInput | string
135450
137509
  slug?: NullableStringFieldUpdateOperationsInput | string | null
@@ -135506,6 +137565,7 @@ export namespace Prisma {
135506
137565
  productLists?: CampaignToProductListUncheckedUpdateManyWithoutCampaignNestedInput
135507
137566
  countries?: CampaignToCountryUncheckedUpdateManyWithoutCampaignNestedInput
135508
137567
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
137568
+ socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
135509
137569
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
135510
137570
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
135511
137571
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
@@ -135515,29 +137575,88 @@ export namespace Prisma {
135515
137575
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutCampaignNestedInput
135516
137576
  }
135517
137577
 
135518
- export type ListToSocialPostUpsertWithWhereUniqueWithoutSocialPostInput = {
135519
- where: ListToSocialPostWhereUniqueInput
135520
- update: XOR<ListToSocialPostUpdateWithoutSocialPostInput, ListToSocialPostUncheckedUpdateWithoutSocialPostInput>
135521
- create: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput>
137578
+ export type SocialPostUpsertWithoutCampaignsInput = {
137579
+ update: XOR<SocialPostUpdateWithoutCampaignsInput, SocialPostUncheckedUpdateWithoutCampaignsInput>
137580
+ create: XOR<SocialPostCreateWithoutCampaignsInput, SocialPostUncheckedCreateWithoutCampaignsInput>
137581
+ where?: SocialPostWhereInput
135522
137582
  }
135523
137583
 
135524
- export type ListToSocialPostUpdateWithWhereUniqueWithoutSocialPostInput = {
135525
- where: ListToSocialPostWhereUniqueInput
135526
- data: XOR<ListToSocialPostUpdateWithoutSocialPostInput, ListToSocialPostUncheckedUpdateWithoutSocialPostInput>
137584
+ export type SocialPostUpdateToOneWithWhereWithoutCampaignsInput = {
137585
+ where?: SocialPostWhereInput
137586
+ data: XOR<SocialPostUpdateWithoutCampaignsInput, SocialPostUncheckedUpdateWithoutCampaignsInput>
135527
137587
  }
135528
137588
 
135529
- export type ListToSocialPostUpdateManyWithWhereWithoutSocialPostInput = {
135530
- where: ListToSocialPostScalarWhereInput
135531
- data: XOR<ListToSocialPostUpdateManyMutationInput, ListToSocialPostUncheckedUpdateManyWithoutSocialPostInput>
137589
+ export type SocialPostUpdateWithoutCampaignsInput = {
137590
+ externalId?: StringFieldUpdateOperationsInput | string
137591
+ phylloId?: NullableStringFieldUpdateOperationsInput | string | null
137592
+ metaData?: JsonNullValueInput | InputJsonValue
137593
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
137594
+ lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
137595
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
137596
+ title?: NullableStringFieldUpdateOperationsInput | string | null
137597
+ description?: NullableStringFieldUpdateOperationsInput | string | null
137598
+ url?: NullableStringFieldUpdateOperationsInput | string | null
137599
+ format?: NullableStringFieldUpdateOperationsInput | string | null
137600
+ type?: NullableStringFieldUpdateOperationsInput | string | null
137601
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
137602
+ visibility?: NullableStringFieldUpdateOperationsInput | string | null
137603
+ isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
137604
+ hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
137605
+ isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
137606
+ views?: NullableIntFieldUpdateOperationsInput | number | null
137607
+ replays?: NullableIntFieldUpdateOperationsInput | number | null
137608
+ impressions?: NullableIntFieldUpdateOperationsInput | number | null
137609
+ impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
137610
+ impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
137611
+ reach?: NullableIntFieldUpdateOperationsInput | number | null
137612
+ reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
137613
+ reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
137614
+ watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
137615
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
137616
+ dislikes?: NullableIntFieldUpdateOperationsInput | number | null
137617
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
137618
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
137619
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
137620
+ user?: UserUpdateOneWithoutSocialPostsNestedInput
137621
+ campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
137622
+ lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
135532
137623
  }
135533
137624
 
135534
- export type ListToSocialPostScalarWhereInput = {
135535
- AND?: ListToSocialPostScalarWhereInput | ListToSocialPostScalarWhereInput[]
135536
- OR?: ListToSocialPostScalarWhereInput[]
135537
- NOT?: ListToSocialPostScalarWhereInput | ListToSocialPostScalarWhereInput[]
135538
- id?: IntFilter<"ListToSocialPost"> | number
135539
- listId?: IntFilter<"ListToSocialPost"> | number
135540
- postId?: IntFilter<"ListToSocialPost"> | number
137625
+ export type SocialPostUncheckedUpdateWithoutCampaignsInput = {
137626
+ id?: IntFieldUpdateOperationsInput | number
137627
+ externalId?: StringFieldUpdateOperationsInput | string
137628
+ phylloId?: NullableStringFieldUpdateOperationsInput | string | null
137629
+ metaData?: JsonNullValueInput | InputJsonValue
137630
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
137631
+ lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
137632
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
137633
+ title?: NullableStringFieldUpdateOperationsInput | string | null
137634
+ description?: NullableStringFieldUpdateOperationsInput | string | null
137635
+ url?: NullableStringFieldUpdateOperationsInput | string | null
137636
+ format?: NullableStringFieldUpdateOperationsInput | string | null
137637
+ type?: NullableStringFieldUpdateOperationsInput | string | null
137638
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
137639
+ visibility?: NullableStringFieldUpdateOperationsInput | string | null
137640
+ isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
137641
+ hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
137642
+ isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
137643
+ views?: NullableIntFieldUpdateOperationsInput | number | null
137644
+ replays?: NullableIntFieldUpdateOperationsInput | number | null
137645
+ impressions?: NullableIntFieldUpdateOperationsInput | number | null
137646
+ impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
137647
+ impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
137648
+ reach?: NullableIntFieldUpdateOperationsInput | number | null
137649
+ reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
137650
+ reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
137651
+ watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
137652
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
137653
+ dislikes?: NullableIntFieldUpdateOperationsInput | number | null
137654
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
137655
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
137656
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
137657
+ userId?: NullableIntFieldUpdateOperationsInput | number | null
137658
+ campaignId?: NullableIntFieldUpdateOperationsInput | number | null
137659
+ lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
135541
137660
  }
135542
137661
 
135543
137662
  export type CampaignToImageCreateWithoutSizesInput = {
@@ -136397,6 +138516,7 @@ export namespace Prisma {
136397
138516
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
136398
138517
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
136399
138518
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
138519
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
136400
138520
  brand: BrandCreateNestedOneWithoutCampaignsInput
136401
138521
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
136402
138522
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -136469,6 +138589,7 @@ export namespace Prisma {
136469
138589
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
136470
138590
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
136471
138591
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
138592
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
136472
138593
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
136473
138594
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
136474
138595
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -136630,6 +138751,7 @@ export namespace Prisma {
136630
138751
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
136631
138752
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
136632
138753
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
138754
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
136633
138755
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
136634
138756
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
136635
138757
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -136702,6 +138824,7 @@ export namespace Prisma {
136702
138824
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
136703
138825
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
136704
138826
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
138827
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
136705
138828
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
136706
138829
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
136707
138830
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -137897,6 +140020,7 @@ export namespace Prisma {
137897
140020
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
137898
140021
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
137899
140022
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
140023
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
137900
140024
  brand: BrandCreateNestedOneWithoutCampaignsInput
137901
140025
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
137902
140026
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -137969,6 +140093,7 @@ export namespace Prisma {
137969
140093
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
137970
140094
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
137971
140095
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
140096
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
137972
140097
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
137973
140098
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
137974
140099
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -138262,6 +140387,7 @@ export namespace Prisma {
138262
140387
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
138263
140388
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
138264
140389
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
140390
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
138265
140391
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
138266
140392
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
138267
140393
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -138334,6 +140460,7 @@ export namespace Prisma {
138334
140460
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
138335
140461
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
138336
140462
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
140463
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
138337
140464
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
138338
140465
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
138339
140466
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -138655,6 +140782,7 @@ export namespace Prisma {
138655
140782
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
138656
140783
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
138657
140784
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
140785
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
138658
140786
  brand: BrandCreateNestedOneWithoutCampaignsInput
138659
140787
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
138660
140788
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
@@ -138727,6 +140855,7 @@ export namespace Prisma {
138727
140855
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
138728
140856
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
138729
140857
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
140858
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
138730
140859
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
138731
140860
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
138732
140861
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutCampaignInput
@@ -138970,6 +141099,7 @@ export namespace Prisma {
138970
141099
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
138971
141100
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
138972
141101
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
141102
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
138973
141103
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
138974
141104
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
138975
141105
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
@@ -139042,6 +141172,7 @@ export namespace Prisma {
139042
141172
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
139043
141173
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
139044
141174
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
141175
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
139045
141176
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
139046
141177
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
139047
141178
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutCampaignNestedInput
@@ -140358,6 +142489,7 @@ export namespace Prisma {
140358
142489
  shares?: number | null
140359
142490
  user?: UserCreateNestedOneWithoutSocialPostsInput
140360
142491
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
142492
+ campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
140361
142493
  }
140362
142494
 
140363
142495
  export type SocialPostUncheckedCreateWithoutListsInput = {
@@ -140394,6 +142526,7 @@ export namespace Prisma {
140394
142526
  shares?: number | null
140395
142527
  userId?: number | null
140396
142528
  campaignId?: number | null
142529
+ campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
140397
142530
  }
140398
142531
 
140399
142532
  export type SocialPostCreateOrConnectWithoutListsInput = {
@@ -140479,6 +142612,7 @@ export namespace Prisma {
140479
142612
  shares?: NullableIntFieldUpdateOperationsInput | number | null
140480
142613
  user?: UserUpdateOneWithoutSocialPostsNestedInput
140481
142614
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
142615
+ campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
140482
142616
  }
140483
142617
 
140484
142618
  export type SocialPostUncheckedUpdateWithoutListsInput = {
@@ -140515,6 +142649,7 @@ export namespace Prisma {
140515
142649
  shares?: NullableIntFieldUpdateOperationsInput | number | null
140516
142650
  userId?: NullableIntFieldUpdateOperationsInput | number | null
140517
142651
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
142652
+ campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
140518
142653
  }
140519
142654
 
140520
142655
  export type CampaignCreateWithoutOptInViewsInput = {
@@ -140581,6 +142716,7 @@ export namespace Prisma {
140581
142716
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
140582
142717
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
140583
142718
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
142719
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
140584
142720
  brand: BrandCreateNestedOneWithoutCampaignsInput
140585
142721
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
140586
142722
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
@@ -140653,6 +142789,7 @@ export namespace Prisma {
140653
142789
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
140654
142790
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
140655
142791
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
142792
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
140656
142793
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
140657
142794
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
140658
142795
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutCampaignInput
@@ -140738,6 +142875,7 @@ export namespace Prisma {
140738
142875
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
140739
142876
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
140740
142877
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
142878
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
140741
142879
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
140742
142880
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
140743
142881
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
@@ -140810,6 +142948,7 @@ export namespace Prisma {
140810
142948
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
140811
142949
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
140812
142950
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
142951
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
140813
142952
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
140814
142953
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
140815
142954
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutCampaignNestedInput
@@ -142457,6 +144596,7 @@ export namespace Prisma {
142457
144596
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
142458
144597
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
142459
144598
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
144599
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
142460
144600
  brand: BrandCreateNestedOneWithoutCampaignsInput
142461
144601
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
142462
144602
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -142529,6 +144669,7 @@ export namespace Prisma {
142529
144669
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
142530
144670
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
142531
144671
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
144672
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
142532
144673
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
142533
144674
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
142534
144675
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutCampaignInput
@@ -142823,6 +144964,7 @@ export namespace Prisma {
142823
144964
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
142824
144965
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
142825
144966
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
144967
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
142826
144968
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
142827
144969
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
142828
144970
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -142895,6 +145037,7 @@ export namespace Prisma {
142895
145037
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
142896
145038
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
142897
145039
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
145040
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
142898
145041
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
142899
145042
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
142900
145043
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutCampaignNestedInput
@@ -144219,6 +146362,7 @@ export namespace Prisma {
144219
146362
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
144220
146363
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
144221
146364
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
146365
+ linkedPosts?: CampaignToSocialPostCreateNestedManyWithoutCampaignInput
144222
146366
  brand: BrandCreateNestedOneWithoutCampaignsInput
144223
146367
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
144224
146368
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -144291,6 +146435,7 @@ export namespace Prisma {
144291
146435
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
144292
146436
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
144293
146437
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
146438
+ linkedPosts?: CampaignToSocialPostUncheckedCreateNestedManyWithoutCampaignInput
144294
146439
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
144295
146440
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
144296
146441
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -144402,6 +146547,7 @@ export namespace Prisma {
144402
146547
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
144403
146548
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
144404
146549
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
146550
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
144405
146551
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
144406
146552
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
144407
146553
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -144474,6 +146620,7 @@ export namespace Prisma {
144474
146620
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
144475
146621
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
144476
146622
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
146623
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
144477
146624
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
144478
146625
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
144479
146626
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -146000,6 +148147,7 @@ export namespace Prisma {
146000
148147
  shares?: NullableIntFieldUpdateOperationsInput | number | null
146001
148148
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
146002
148149
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
148150
+ campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
146003
148151
  }
146004
148152
 
146005
148153
  export type SocialPostUncheckedUpdateWithoutUserInput = {
@@ -146036,6 +148184,7 @@ export namespace Prisma {
146036
148184
  shares?: NullableIntFieldUpdateOperationsInput | number | null
146037
148185
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
146038
148186
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
148187
+ campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
146039
148188
  }
146040
148189
 
146041
148190
  export type SocialPostUncheckedUpdateManyWithoutUserInput = {
@@ -146735,6 +148884,7 @@ export namespace Prisma {
146735
148884
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
146736
148885
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
146737
148886
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
148887
+ linkedPosts?: CampaignToSocialPostUpdateManyWithoutCampaignNestedInput
146738
148888
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
146739
148889
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
146740
148890
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
@@ -146806,6 +148956,7 @@ export namespace Prisma {
146806
148956
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
146807
148957
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
146808
148958
  campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
148959
+ linkedPosts?: CampaignToSocialPostUncheckedUpdateManyWithoutCampaignNestedInput
146809
148960
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
146810
148961
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
146811
148962
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -147676,6 +149827,13 @@ export namespace Prisma {
147676
149827
  brandAffiliateLinkId: number
147677
149828
  }
147678
149829
 
149830
+ export type CampaignToSocialPostCreateManyCampaignInput = {
149831
+ socialPostId: number
149832
+ status?: $Enums.CampaignToSocialPostStatus
149833
+ created?: Date | string
149834
+ metaData?: JsonNullValueInput | InputJsonValue
149835
+ }
149836
+
147679
149837
  export type CreatorListCreateManyCampaignInput = {
147680
149838
  id?: number
147681
149839
  brandId: number
@@ -147966,6 +150124,7 @@ export namespace Prisma {
147966
150124
  shares?: NullableIntFieldUpdateOperationsInput | number | null
147967
150125
  user?: UserUpdateOneWithoutSocialPostsNestedInput
147968
150126
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
150127
+ campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
147969
150128
  }
147970
150129
 
147971
150130
  export type SocialPostUncheckedUpdateWithoutCampaignInput = {
@@ -148002,6 +150161,7 @@ export namespace Prisma {
148002
150161
  shares?: NullableIntFieldUpdateOperationsInput | number | null
148003
150162
  userId?: NullableIntFieldUpdateOperationsInput | number | null
148004
150163
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
150164
+ campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
148005
150165
  }
148006
150166
 
148007
150167
  export type SocialPostUncheckedUpdateManyWithoutCampaignInput = {
@@ -148098,6 +150258,27 @@ export namespace Prisma {
148098
150258
  brandAffiliateLinkId?: IntFieldUpdateOperationsInput | number
148099
150259
  }
148100
150260
 
150261
+ export type CampaignToSocialPostUpdateWithoutCampaignInput = {
150262
+ status?: EnumCampaignToSocialPostStatusFieldUpdateOperationsInput | $Enums.CampaignToSocialPostStatus
150263
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
150264
+ metaData?: JsonNullValueInput | InputJsonValue
150265
+ socialPost?: SocialPostUpdateOneRequiredWithoutCampaignsNestedInput
150266
+ }
150267
+
150268
+ export type CampaignToSocialPostUncheckedUpdateWithoutCampaignInput = {
150269
+ socialPostId?: IntFieldUpdateOperationsInput | number
150270
+ status?: EnumCampaignToSocialPostStatusFieldUpdateOperationsInput | $Enums.CampaignToSocialPostStatus
150271
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
150272
+ metaData?: JsonNullValueInput | InputJsonValue
150273
+ }
150274
+
150275
+ export type CampaignToSocialPostUncheckedUpdateManyWithoutCampaignInput = {
150276
+ socialPostId?: IntFieldUpdateOperationsInput | number
150277
+ status?: EnumCampaignToSocialPostStatusFieldUpdateOperationsInput | $Enums.CampaignToSocialPostStatus
150278
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
150279
+ metaData?: JsonNullValueInput | InputJsonValue
150280
+ }
150281
+
148101
150282
  export type CreatorListUpdateWithoutCampaignInput = {
148102
150283
  created?: DateTimeFieldUpdateOperationsInput | Date | string
148103
150284
  archived?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -149001,6 +151182,13 @@ export namespace Prisma {
149001
151182
  listId: number
149002
151183
  }
149003
151184
 
151185
+ export type CampaignToSocialPostCreateManySocialPostInput = {
151186
+ campaignId: number
151187
+ status?: $Enums.CampaignToSocialPostStatus
151188
+ created?: Date | string
151189
+ metaData?: JsonNullValueInput | InputJsonValue
151190
+ }
151191
+
149004
151192
  export type ListToSocialPostUpdateWithoutSocialPostInput = {
149005
151193
  list?: SocialListeningListUpdateOneRequiredWithoutPostsNestedInput
149006
151194
  }
@@ -149015,6 +151203,27 @@ export namespace Prisma {
149015
151203
  listId?: IntFieldUpdateOperationsInput | number
149016
151204
  }
149017
151205
 
151206
+ export type CampaignToSocialPostUpdateWithoutSocialPostInput = {
151207
+ status?: EnumCampaignToSocialPostStatusFieldUpdateOperationsInput | $Enums.CampaignToSocialPostStatus
151208
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
151209
+ metaData?: JsonNullValueInput | InputJsonValue
151210
+ campaign?: CampaignUpdateOneRequiredWithoutLinkedPostsNestedInput
151211
+ }
151212
+
151213
+ export type CampaignToSocialPostUncheckedUpdateWithoutSocialPostInput = {
151214
+ campaignId?: IntFieldUpdateOperationsInput | number
151215
+ status?: EnumCampaignToSocialPostStatusFieldUpdateOperationsInput | $Enums.CampaignToSocialPostStatus
151216
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
151217
+ metaData?: JsonNullValueInput | InputJsonValue
151218
+ }
151219
+
151220
+ export type CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostInput = {
151221
+ campaignId?: IntFieldUpdateOperationsInput | number
151222
+ status?: EnumCampaignToSocialPostStatusFieldUpdateOperationsInput | $Enums.CampaignToSocialPostStatus
151223
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
151224
+ metaData?: JsonNullValueInput | InputJsonValue
151225
+ }
151226
+
149018
151227
  export type StateCreateManyCountryInput = {
149019
151228
  id?: number
149020
151229
  stateCode: string
@@ -150049,6 +152258,10 @@ export namespace Prisma {
150049
152258
  * @deprecated Use SocialPostDefaultArgs instead
150050
152259
  */
150051
152260
  export type SocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialPostDefaultArgs<ExtArgs>
152261
+ /**
152262
+ * @deprecated Use CampaignToSocialPostDefaultArgs instead
152263
+ */
152264
+ export type CampaignToSocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CampaignToSocialPostDefaultArgs<ExtArgs>
150052
152265
  /**
150053
152266
  * @deprecated Use ArchivedSocialPostDefaultArgs instead
150054
152267
  */