@creator.co/creatorco-prisma-client 1.0.36 → 1.0.38

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
@@ -118,6 +118,11 @@ export type CampaignPin = $Result.DefaultSelection<Prisma.$CampaignPinPayload>
118
118
  *
119
119
  */
120
120
  export type CampaignToImage = $Result.DefaultSelection<Prisma.$CampaignToImagePayload>
121
+ /**
122
+ * Model CampaignToBrandAffiliateLink
123
+ *
124
+ */
125
+ export type CampaignToBrandAffiliateLink = $Result.DefaultSelection<Prisma.$CampaignToBrandAffiliateLinkPayload>
121
126
  /**
122
127
  * Model CampaignToCategory
123
128
  *
@@ -737,6 +742,16 @@ export class PrismaClient<
737
742
  */
738
743
  get campaignToImage(): Prisma.CampaignToImageDelegate<ExtArgs>;
739
744
 
745
+ /**
746
+ * `prisma.campaignToBrandAffiliateLink`: Exposes CRUD operations for the **CampaignToBrandAffiliateLink** model.
747
+ * Example usage:
748
+ * ```ts
749
+ * // Fetch zero or more CampaignToBrandAffiliateLinks
750
+ * const campaignToBrandAffiliateLinks = await prisma.campaignToBrandAffiliateLink.findMany()
751
+ * ```
752
+ */
753
+ get campaignToBrandAffiliateLink(): Prisma.CampaignToBrandAffiliateLinkDelegate<ExtArgs>;
754
+
740
755
  /**
741
756
  * `prisma.campaignToCategory`: Exposes CRUD operations for the **CampaignToCategory** model.
742
757
  * Example usage:
@@ -1714,6 +1729,7 @@ export namespace Prisma {
1714
1729
  Campaign: 'Campaign',
1715
1730
  CampaignPin: 'CampaignPin',
1716
1731
  CampaignToImage: 'CampaignToImage',
1732
+ CampaignToBrandAffiliateLink: 'CampaignToBrandAffiliateLink',
1717
1733
  CampaignToCategory: 'CampaignToCategory',
1718
1734
  CampaignToCountry: 'CampaignToCountry',
1719
1735
  ProductList: 'ProductList',
@@ -1778,7 +1794,7 @@ export namespace Prisma {
1778
1794
 
1779
1795
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1780
1796
  meta: {
1781
- modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'paymentTransaction' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct'
1797
+ 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' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct'
1782
1798
  txIsolationLevel: Prisma.TransactionIsolationLevel
1783
1799
  },
1784
1800
  model: {
@@ -3252,6 +3268,76 @@ export namespace Prisma {
3252
3268
  }
3253
3269
  }
3254
3270
  }
3271
+ CampaignToBrandAffiliateLink: {
3272
+ payload: Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>
3273
+ fields: Prisma.CampaignToBrandAffiliateLinkFieldRefs
3274
+ operations: {
3275
+ findUnique: {
3276
+ args: Prisma.CampaignToBrandAffiliateLinkFindUniqueArgs<ExtArgs>,
3277
+ result: $Utils.PayloadToResult<Prisma.$CampaignToBrandAffiliateLinkPayload> | null
3278
+ }
3279
+ findUniqueOrThrow: {
3280
+ args: Prisma.CampaignToBrandAffiliateLinkFindUniqueOrThrowArgs<ExtArgs>,
3281
+ result: $Utils.PayloadToResult<Prisma.$CampaignToBrandAffiliateLinkPayload>
3282
+ }
3283
+ findFirst: {
3284
+ args: Prisma.CampaignToBrandAffiliateLinkFindFirstArgs<ExtArgs>,
3285
+ result: $Utils.PayloadToResult<Prisma.$CampaignToBrandAffiliateLinkPayload> | null
3286
+ }
3287
+ findFirstOrThrow: {
3288
+ args: Prisma.CampaignToBrandAffiliateLinkFindFirstOrThrowArgs<ExtArgs>,
3289
+ result: $Utils.PayloadToResult<Prisma.$CampaignToBrandAffiliateLinkPayload>
3290
+ }
3291
+ findMany: {
3292
+ args: Prisma.CampaignToBrandAffiliateLinkFindManyArgs<ExtArgs>,
3293
+ result: $Utils.PayloadToResult<Prisma.$CampaignToBrandAffiliateLinkPayload>[]
3294
+ }
3295
+ create: {
3296
+ args: Prisma.CampaignToBrandAffiliateLinkCreateArgs<ExtArgs>,
3297
+ result: $Utils.PayloadToResult<Prisma.$CampaignToBrandAffiliateLinkPayload>
3298
+ }
3299
+ createMany: {
3300
+ args: Prisma.CampaignToBrandAffiliateLinkCreateManyArgs<ExtArgs>,
3301
+ result: Prisma.BatchPayload
3302
+ }
3303
+ createManyAndReturn: {
3304
+ args: Prisma.CampaignToBrandAffiliateLinkCreateManyAndReturnArgs<ExtArgs>,
3305
+ result: $Utils.PayloadToResult<Prisma.$CampaignToBrandAffiliateLinkPayload>[]
3306
+ }
3307
+ delete: {
3308
+ args: Prisma.CampaignToBrandAffiliateLinkDeleteArgs<ExtArgs>,
3309
+ result: $Utils.PayloadToResult<Prisma.$CampaignToBrandAffiliateLinkPayload>
3310
+ }
3311
+ update: {
3312
+ args: Prisma.CampaignToBrandAffiliateLinkUpdateArgs<ExtArgs>,
3313
+ result: $Utils.PayloadToResult<Prisma.$CampaignToBrandAffiliateLinkPayload>
3314
+ }
3315
+ deleteMany: {
3316
+ args: Prisma.CampaignToBrandAffiliateLinkDeleteManyArgs<ExtArgs>,
3317
+ result: Prisma.BatchPayload
3318
+ }
3319
+ updateMany: {
3320
+ args: Prisma.CampaignToBrandAffiliateLinkUpdateManyArgs<ExtArgs>,
3321
+ result: Prisma.BatchPayload
3322
+ }
3323
+ upsert: {
3324
+ args: Prisma.CampaignToBrandAffiliateLinkUpsertArgs<ExtArgs>,
3325
+ result: $Utils.PayloadToResult<Prisma.$CampaignToBrandAffiliateLinkPayload>
3326
+ }
3327
+ aggregate: {
3328
+ args: Prisma.CampaignToBrandAffiliateLinkAggregateArgs<ExtArgs>,
3329
+ result: $Utils.Optional<AggregateCampaignToBrandAffiliateLink>
3330
+ }
3331
+ groupBy: {
3332
+ args: Prisma.CampaignToBrandAffiliateLinkGroupByArgs<ExtArgs>,
3333
+ result: $Utils.Optional<CampaignToBrandAffiliateLinkGroupByOutputType>[]
3334
+ }
3335
+ count: {
3336
+ args: Prisma.CampaignToBrandAffiliateLinkCountArgs<ExtArgs>,
3337
+ result: $Utils.Optional<CampaignToBrandAffiliateLinkCountAggregateOutputType> | number
3338
+ }
3339
+ }
3340
+ }
3255
3341
  CampaignToCategory: {
3256
3342
  payload: Prisma.$CampaignToCategoryPayload<ExtArgs>
3257
3343
  fields: Prisma.CampaignToCategoryFieldRefs
@@ -7217,6 +7303,7 @@ export namespace Prisma {
7217
7303
  socialPosts: number
7218
7304
  campaignInvites: number
7219
7305
  campaignToShopifyProducts: number
7306
+ campaignToBrandAffiliateLinks: number
7220
7307
  creatorLists: number
7221
7308
  optInViews: number
7222
7309
  sequences: number
@@ -7234,6 +7321,7 @@ export namespace Prisma {
7234
7321
  socialPosts?: boolean | CampaignCountOutputTypeCountSocialPostsArgs
7235
7322
  campaignInvites?: boolean | CampaignCountOutputTypeCountCampaignInvitesArgs
7236
7323
  campaignToShopifyProducts?: boolean | CampaignCountOutputTypeCountCampaignToShopifyProductsArgs
7324
+ campaignToBrandAffiliateLinks?: boolean | CampaignCountOutputTypeCountCampaignToBrandAffiliateLinksArgs
7237
7325
  creatorLists?: boolean | CampaignCountOutputTypeCountCreatorListsArgs
7238
7326
  optInViews?: boolean | CampaignCountOutputTypeCountOptInViewsArgs
7239
7327
  sequences?: boolean | CampaignCountOutputTypeCountSequencesArgs
@@ -7327,6 +7415,13 @@ export namespace Prisma {
7327
7415
  where?: CampaignToShopifyProductWhereInput
7328
7416
  }
7329
7417
 
7418
+ /**
7419
+ * CampaignCountOutputType without action
7420
+ */
7421
+ export type CampaignCountOutputTypeCountCampaignToBrandAffiliateLinksArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7422
+ where?: CampaignToBrandAffiliateLinkWhereInput
7423
+ }
7424
+
7330
7425
  /**
7331
7426
  * CampaignCountOutputType without action
7332
7427
  */
@@ -7795,10 +7890,12 @@ export namespace Prisma {
7795
7890
 
7796
7891
  export type BrandAffiliateLinkCountOutputType = {
7797
7892
  affiliateLinks: number
7893
+ campaignToBrandAffiliateLink: number
7798
7894
  }
7799
7895
 
7800
7896
  export type BrandAffiliateLinkCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7801
7897
  affiliateLinks?: boolean | BrandAffiliateLinkCountOutputTypeCountAffiliateLinksArgs
7898
+ campaignToBrandAffiliateLink?: boolean | BrandAffiliateLinkCountOutputTypeCountCampaignToBrandAffiliateLinkArgs
7802
7899
  }
7803
7900
 
7804
7901
  // Custom InputTypes
@@ -7819,6 +7916,13 @@ export namespace Prisma {
7819
7916
  where?: AffiliateLinkWhereInput
7820
7917
  }
7821
7918
 
7919
+ /**
7920
+ * BrandAffiliateLinkCountOutputType without action
7921
+ */
7922
+ export type BrandAffiliateLinkCountOutputTypeCountCampaignToBrandAffiliateLinkArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7923
+ where?: CampaignToBrandAffiliateLinkWhereInput
7924
+ }
7925
+
7822
7926
 
7823
7927
  /**
7824
7928
  * Count Type AffiliateLinkCountOutputType
@@ -29498,6 +29602,7 @@ export namespace Prisma {
29498
29602
  socialPosts?: boolean | Campaign$socialPostsArgs<ExtArgs>
29499
29603
  campaignInvites?: boolean | Campaign$campaignInvitesArgs<ExtArgs>
29500
29604
  campaignToShopifyProducts?: boolean | Campaign$campaignToShopifyProductsArgs<ExtArgs>
29605
+ campaignToBrandAffiliateLinks?: boolean | Campaign$campaignToBrandAffiliateLinksArgs<ExtArgs>
29501
29606
  brand?: boolean | BrandDefaultArgs<ExtArgs>
29502
29607
  creatorLists?: boolean | Campaign$creatorListsArgs<ExtArgs>
29503
29608
  optInViews?: boolean | Campaign$optInViewsArgs<ExtArgs>
@@ -29574,6 +29679,7 @@ export namespace Prisma {
29574
29679
  socialPosts?: boolean | Campaign$socialPostsArgs<ExtArgs>
29575
29680
  campaignInvites?: boolean | Campaign$campaignInvitesArgs<ExtArgs>
29576
29681
  campaignToShopifyProducts?: boolean | Campaign$campaignToShopifyProductsArgs<ExtArgs>
29682
+ campaignToBrandAffiliateLinks?: boolean | Campaign$campaignToBrandAffiliateLinksArgs<ExtArgs>
29577
29683
  brand?: boolean | BrandDefaultArgs<ExtArgs>
29578
29684
  creatorLists?: boolean | Campaign$creatorListsArgs<ExtArgs>
29579
29685
  optInViews?: boolean | Campaign$optInViewsArgs<ExtArgs>
@@ -29596,6 +29702,7 @@ export namespace Prisma {
29596
29702
  socialPosts: Prisma.$SocialPostPayload<ExtArgs>[]
29597
29703
  campaignInvites: Prisma.$CampaignInvitePayload<ExtArgs>[]
29598
29704
  campaignToShopifyProducts: Prisma.$CampaignToShopifyProductPayload<ExtArgs>[]
29705
+ campaignToBrandAffiliateLinks: Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>[]
29599
29706
  brand: Prisma.$BrandPayload<ExtArgs>
29600
29707
  creatorLists: Prisma.$CreatorListPayload<ExtArgs>[]
29601
29708
  optInViews: Prisma.$OptInViewPayload<ExtArgs>[]
@@ -30068,6 +30175,8 @@ export namespace Prisma {
30068
30175
 
30069
30176
  campaignToShopifyProducts<T extends Campaign$campaignToShopifyProductsArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$campaignToShopifyProductsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'findMany'> | Null>;
30070
30177
 
30178
+ campaignToBrandAffiliateLinks<T extends Campaign$campaignToBrandAffiliateLinksArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$campaignToBrandAffiliateLinksArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'findMany'> | Null>;
30179
+
30071
30180
  brand<T extends BrandDefaultArgs<ExtArgs> = {}>(args?: Subset<T, BrandDefaultArgs<ExtArgs>>): Prisma__BrandClient<$Result.GetResult<Prisma.$BrandPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
30072
30181
 
30073
30182
  creatorLists<T extends Campaign$creatorListsArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$creatorListsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CreatorListPayload<ExtArgs>, T, 'findMany'> | Null>;
@@ -30694,6 +30803,26 @@ export namespace Prisma {
30694
30803
  distinct?: CampaignToShopifyProductScalarFieldEnum | CampaignToShopifyProductScalarFieldEnum[]
30695
30804
  }
30696
30805
 
30806
+ /**
30807
+ * Campaign.campaignToBrandAffiliateLinks
30808
+ */
30809
+ export type Campaign$campaignToBrandAffiliateLinksArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
30810
+ /**
30811
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
30812
+ */
30813
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
30814
+ /**
30815
+ * Choose, which related nodes to fetch as well
30816
+ */
30817
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
30818
+ where?: CampaignToBrandAffiliateLinkWhereInput
30819
+ orderBy?: CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput | CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput[]
30820
+ cursor?: CampaignToBrandAffiliateLinkWhereUniqueInput
30821
+ take?: number
30822
+ skip?: number
30823
+ distinct?: CampaignToBrandAffiliateLinkScalarFieldEnum | CampaignToBrandAffiliateLinkScalarFieldEnum[]
30824
+ }
30825
+
30697
30826
  /**
30698
30827
  * Campaign.creatorLists
30699
30828
  */
@@ -32760,354 +32889,368 @@ export namespace Prisma {
32760
32889
 
32761
32890
 
32762
32891
  /**
32763
- * Model CampaignToCategory
32892
+ * Model CampaignToBrandAffiliateLink
32764
32893
  */
32765
32894
 
32766
- export type AggregateCampaignToCategory = {
32767
- _count: CampaignToCategoryCountAggregateOutputType | null
32768
- _avg: CampaignToCategoryAvgAggregateOutputType | null
32769
- _sum: CampaignToCategorySumAggregateOutputType | null
32770
- _min: CampaignToCategoryMinAggregateOutputType | null
32771
- _max: CampaignToCategoryMaxAggregateOutputType | null
32895
+ export type AggregateCampaignToBrandAffiliateLink = {
32896
+ _count: CampaignToBrandAffiliateLinkCountAggregateOutputType | null
32897
+ _avg: CampaignToBrandAffiliateLinkAvgAggregateOutputType | null
32898
+ _sum: CampaignToBrandAffiliateLinkSumAggregateOutputType | null
32899
+ _min: CampaignToBrandAffiliateLinkMinAggregateOutputType | null
32900
+ _max: CampaignToBrandAffiliateLinkMaxAggregateOutputType | null
32772
32901
  }
32773
32902
 
32774
- export type CampaignToCategoryAvgAggregateOutputType = {
32903
+ export type CampaignToBrandAffiliateLinkAvgAggregateOutputType = {
32904
+ id: number | null
32775
32905
  campaignId: number | null
32776
- categoryId: number | null
32906
+ brandAffiliateLinkId: number | null
32777
32907
  }
32778
32908
 
32779
- export type CampaignToCategorySumAggregateOutputType = {
32909
+ export type CampaignToBrandAffiliateLinkSumAggregateOutputType = {
32910
+ id: number | null
32780
32911
  campaignId: number | null
32781
- categoryId: number | null
32912
+ brandAffiliateLinkId: number | null
32782
32913
  }
32783
32914
 
32784
- export type CampaignToCategoryMinAggregateOutputType = {
32915
+ export type CampaignToBrandAffiliateLinkMinAggregateOutputType = {
32916
+ id: number | null
32785
32917
  campaignId: number | null
32786
- categoryId: number | null
32918
+ brandAffiliateLinkId: number | null
32787
32919
  }
32788
32920
 
32789
- export type CampaignToCategoryMaxAggregateOutputType = {
32921
+ export type CampaignToBrandAffiliateLinkMaxAggregateOutputType = {
32922
+ id: number | null
32790
32923
  campaignId: number | null
32791
- categoryId: number | null
32924
+ brandAffiliateLinkId: number | null
32792
32925
  }
32793
32926
 
32794
- export type CampaignToCategoryCountAggregateOutputType = {
32927
+ export type CampaignToBrandAffiliateLinkCountAggregateOutputType = {
32928
+ id: number
32795
32929
  campaignId: number
32796
- categoryId: number
32930
+ brandAffiliateLinkId: number
32797
32931
  _all: number
32798
32932
  }
32799
32933
 
32800
32934
 
32801
- export type CampaignToCategoryAvgAggregateInputType = {
32935
+ export type CampaignToBrandAffiliateLinkAvgAggregateInputType = {
32936
+ id?: true
32802
32937
  campaignId?: true
32803
- categoryId?: true
32938
+ brandAffiliateLinkId?: true
32804
32939
  }
32805
32940
 
32806
- export type CampaignToCategorySumAggregateInputType = {
32941
+ export type CampaignToBrandAffiliateLinkSumAggregateInputType = {
32942
+ id?: true
32807
32943
  campaignId?: true
32808
- categoryId?: true
32944
+ brandAffiliateLinkId?: true
32809
32945
  }
32810
32946
 
32811
- export type CampaignToCategoryMinAggregateInputType = {
32947
+ export type CampaignToBrandAffiliateLinkMinAggregateInputType = {
32948
+ id?: true
32812
32949
  campaignId?: true
32813
- categoryId?: true
32950
+ brandAffiliateLinkId?: true
32814
32951
  }
32815
32952
 
32816
- export type CampaignToCategoryMaxAggregateInputType = {
32953
+ export type CampaignToBrandAffiliateLinkMaxAggregateInputType = {
32954
+ id?: true
32817
32955
  campaignId?: true
32818
- categoryId?: true
32956
+ brandAffiliateLinkId?: true
32819
32957
  }
32820
32958
 
32821
- export type CampaignToCategoryCountAggregateInputType = {
32959
+ export type CampaignToBrandAffiliateLinkCountAggregateInputType = {
32960
+ id?: true
32822
32961
  campaignId?: true
32823
- categoryId?: true
32962
+ brandAffiliateLinkId?: true
32824
32963
  _all?: true
32825
32964
  }
32826
32965
 
32827
- export type CampaignToCategoryAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32966
+ export type CampaignToBrandAffiliateLinkAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32828
32967
  /**
32829
- * Filter which CampaignToCategory to aggregate.
32968
+ * Filter which CampaignToBrandAffiliateLink to aggregate.
32830
32969
  */
32831
- where?: CampaignToCategoryWhereInput
32970
+ where?: CampaignToBrandAffiliateLinkWhereInput
32832
32971
  /**
32833
32972
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
32834
32973
  *
32835
- * Determine the order of CampaignToCategories to fetch.
32974
+ * Determine the order of CampaignToBrandAffiliateLinks to fetch.
32836
32975
  */
32837
- orderBy?: CampaignToCategoryOrderByWithRelationAndSearchRelevanceInput | CampaignToCategoryOrderByWithRelationAndSearchRelevanceInput[]
32976
+ orderBy?: CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput | CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput[]
32838
32977
  /**
32839
32978
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
32840
32979
  *
32841
32980
  * Sets the start position
32842
32981
  */
32843
- cursor?: CampaignToCategoryWhereUniqueInput
32982
+ cursor?: CampaignToBrandAffiliateLinkWhereUniqueInput
32844
32983
  /**
32845
32984
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32846
32985
  *
32847
- * Take `±n` CampaignToCategories from the position of the cursor.
32986
+ * Take `±n` CampaignToBrandAffiliateLinks from the position of the cursor.
32848
32987
  */
32849
32988
  take?: number
32850
32989
  /**
32851
32990
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32852
32991
  *
32853
- * Skip the first `n` CampaignToCategories.
32992
+ * Skip the first `n` CampaignToBrandAffiliateLinks.
32854
32993
  */
32855
32994
  skip?: number
32856
32995
  /**
32857
32996
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
32858
32997
  *
32859
- * Count returned CampaignToCategories
32998
+ * Count returned CampaignToBrandAffiliateLinks
32860
32999
  **/
32861
- _count?: true | CampaignToCategoryCountAggregateInputType
33000
+ _count?: true | CampaignToBrandAffiliateLinkCountAggregateInputType
32862
33001
  /**
32863
33002
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
32864
33003
  *
32865
33004
  * Select which fields to average
32866
33005
  **/
32867
- _avg?: CampaignToCategoryAvgAggregateInputType
33006
+ _avg?: CampaignToBrandAffiliateLinkAvgAggregateInputType
32868
33007
  /**
32869
33008
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
32870
33009
  *
32871
33010
  * Select which fields to sum
32872
33011
  **/
32873
- _sum?: CampaignToCategorySumAggregateInputType
33012
+ _sum?: CampaignToBrandAffiliateLinkSumAggregateInputType
32874
33013
  /**
32875
33014
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
32876
33015
  *
32877
33016
  * Select which fields to find the minimum value
32878
33017
  **/
32879
- _min?: CampaignToCategoryMinAggregateInputType
33018
+ _min?: CampaignToBrandAffiliateLinkMinAggregateInputType
32880
33019
  /**
32881
33020
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
32882
33021
  *
32883
33022
  * Select which fields to find the maximum value
32884
33023
  **/
32885
- _max?: CampaignToCategoryMaxAggregateInputType
33024
+ _max?: CampaignToBrandAffiliateLinkMaxAggregateInputType
32886
33025
  }
32887
33026
 
32888
- export type GetCampaignToCategoryAggregateType<T extends CampaignToCategoryAggregateArgs> = {
32889
- [P in keyof T & keyof AggregateCampaignToCategory]: P extends '_count' | 'count'
33027
+ export type GetCampaignToBrandAffiliateLinkAggregateType<T extends CampaignToBrandAffiliateLinkAggregateArgs> = {
33028
+ [P in keyof T & keyof AggregateCampaignToBrandAffiliateLink]: P extends '_count' | 'count'
32890
33029
  ? T[P] extends true
32891
33030
  ? number
32892
- : GetScalarType<T[P], AggregateCampaignToCategory[P]>
32893
- : GetScalarType<T[P], AggregateCampaignToCategory[P]>
33031
+ : GetScalarType<T[P], AggregateCampaignToBrandAffiliateLink[P]>
33032
+ : GetScalarType<T[P], AggregateCampaignToBrandAffiliateLink[P]>
32894
33033
  }
32895
33034
 
32896
33035
 
32897
33036
 
32898
33037
 
32899
- export type CampaignToCategoryGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32900
- where?: CampaignToCategoryWhereInput
32901
- orderBy?: CampaignToCategoryOrderByWithAggregationInput | CampaignToCategoryOrderByWithAggregationInput[]
32902
- by: CampaignToCategoryScalarFieldEnum[] | CampaignToCategoryScalarFieldEnum
32903
- having?: CampaignToCategoryScalarWhereWithAggregatesInput
33038
+ export type CampaignToBrandAffiliateLinkGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33039
+ where?: CampaignToBrandAffiliateLinkWhereInput
33040
+ orderBy?: CampaignToBrandAffiliateLinkOrderByWithAggregationInput | CampaignToBrandAffiliateLinkOrderByWithAggregationInput[]
33041
+ by: CampaignToBrandAffiliateLinkScalarFieldEnum[] | CampaignToBrandAffiliateLinkScalarFieldEnum
33042
+ having?: CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput
32904
33043
  take?: number
32905
33044
  skip?: number
32906
- _count?: CampaignToCategoryCountAggregateInputType | true
32907
- _avg?: CampaignToCategoryAvgAggregateInputType
32908
- _sum?: CampaignToCategorySumAggregateInputType
32909
- _min?: CampaignToCategoryMinAggregateInputType
32910
- _max?: CampaignToCategoryMaxAggregateInputType
33045
+ _count?: CampaignToBrandAffiliateLinkCountAggregateInputType | true
33046
+ _avg?: CampaignToBrandAffiliateLinkAvgAggregateInputType
33047
+ _sum?: CampaignToBrandAffiliateLinkSumAggregateInputType
33048
+ _min?: CampaignToBrandAffiliateLinkMinAggregateInputType
33049
+ _max?: CampaignToBrandAffiliateLinkMaxAggregateInputType
32911
33050
  }
32912
33051
 
32913
- export type CampaignToCategoryGroupByOutputType = {
33052
+ export type CampaignToBrandAffiliateLinkGroupByOutputType = {
33053
+ id: number
32914
33054
  campaignId: number
32915
- categoryId: number
32916
- _count: CampaignToCategoryCountAggregateOutputType | null
32917
- _avg: CampaignToCategoryAvgAggregateOutputType | null
32918
- _sum: CampaignToCategorySumAggregateOutputType | null
32919
- _min: CampaignToCategoryMinAggregateOutputType | null
32920
- _max: CampaignToCategoryMaxAggregateOutputType | null
33055
+ brandAffiliateLinkId: number
33056
+ _count: CampaignToBrandAffiliateLinkCountAggregateOutputType | null
33057
+ _avg: CampaignToBrandAffiliateLinkAvgAggregateOutputType | null
33058
+ _sum: CampaignToBrandAffiliateLinkSumAggregateOutputType | null
33059
+ _min: CampaignToBrandAffiliateLinkMinAggregateOutputType | null
33060
+ _max: CampaignToBrandAffiliateLinkMaxAggregateOutputType | null
32921
33061
  }
32922
33062
 
32923
- type GetCampaignToCategoryGroupByPayload<T extends CampaignToCategoryGroupByArgs> = Prisma.PrismaPromise<
33063
+ type GetCampaignToBrandAffiliateLinkGroupByPayload<T extends CampaignToBrandAffiliateLinkGroupByArgs> = Prisma.PrismaPromise<
32924
33064
  Array<
32925
- PickEnumerable<CampaignToCategoryGroupByOutputType, T['by']> &
33065
+ PickEnumerable<CampaignToBrandAffiliateLinkGroupByOutputType, T['by']> &
32926
33066
  {
32927
- [P in ((keyof T) & (keyof CampaignToCategoryGroupByOutputType))]: P extends '_count'
33067
+ [P in ((keyof T) & (keyof CampaignToBrandAffiliateLinkGroupByOutputType))]: P extends '_count'
32928
33068
  ? T[P] extends boolean
32929
33069
  ? number
32930
- : GetScalarType<T[P], CampaignToCategoryGroupByOutputType[P]>
32931
- : GetScalarType<T[P], CampaignToCategoryGroupByOutputType[P]>
33070
+ : GetScalarType<T[P], CampaignToBrandAffiliateLinkGroupByOutputType[P]>
33071
+ : GetScalarType<T[P], CampaignToBrandAffiliateLinkGroupByOutputType[P]>
32932
33072
  }
32933
33073
  >
32934
33074
  >
32935
33075
 
32936
33076
 
32937
- export type CampaignToCategorySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
33077
+ export type CampaignToBrandAffiliateLinkSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
33078
+ id?: boolean
32938
33079
  campaignId?: boolean
32939
- categoryId?: boolean
33080
+ brandAffiliateLinkId?: boolean
32940
33081
  campaign?: boolean | CampaignDefaultArgs<ExtArgs>
32941
- category?: boolean | CategoryDefaultArgs<ExtArgs>
32942
- }, ExtArgs["result"]["campaignToCategory"]>
33082
+ brandAffiliateLink?: boolean | BrandAffiliateLinkDefaultArgs<ExtArgs>
33083
+ }, ExtArgs["result"]["campaignToBrandAffiliateLink"]>
32943
33084
 
32944
- export type CampaignToCategorySelectScalar = {
33085
+ export type CampaignToBrandAffiliateLinkSelectScalar = {
33086
+ id?: boolean
32945
33087
  campaignId?: boolean
32946
- categoryId?: boolean
33088
+ brandAffiliateLinkId?: boolean
32947
33089
  }
32948
33090
 
32949
33091
 
32950
- export type CampaignToCategoryInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33092
+ export type CampaignToBrandAffiliateLinkInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32951
33093
  campaign?: boolean | CampaignDefaultArgs<ExtArgs>
32952
- category?: boolean | CategoryDefaultArgs<ExtArgs>
33094
+ brandAffiliateLink?: boolean | BrandAffiliateLinkDefaultArgs<ExtArgs>
32953
33095
  }
32954
33096
 
32955
33097
 
32956
- export type $CampaignToCategoryPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32957
- name: "CampaignToCategory"
33098
+ export type $CampaignToBrandAffiliateLinkPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33099
+ name: "CampaignToBrandAffiliateLink"
32958
33100
  objects: {
32959
33101
  campaign: Prisma.$CampaignPayload<ExtArgs>
32960
- category: Prisma.$CategoryPayload<ExtArgs>
33102
+ brandAffiliateLink: Prisma.$BrandAffiliateLinkPayload<ExtArgs>
32961
33103
  }
32962
33104
  scalars: $Extensions.GetPayloadResult<{
33105
+ id: number
32963
33106
  campaignId: number
32964
- categoryId: number
32965
- }, ExtArgs["result"]["campaignToCategory"]>
33107
+ brandAffiliateLinkId: number
33108
+ }, ExtArgs["result"]["campaignToBrandAffiliateLink"]>
32966
33109
  composites: {}
32967
33110
  }
32968
33111
 
32969
33112
 
32970
- type CampaignToCategoryGetPayload<S extends boolean | null | undefined | CampaignToCategoryDefaultArgs> = $Result.GetResult<Prisma.$CampaignToCategoryPayload, S>
33113
+ type CampaignToBrandAffiliateLinkGetPayload<S extends boolean | null | undefined | CampaignToBrandAffiliateLinkDefaultArgs> = $Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload, S>
32971
33114
 
32972
- type CampaignToCategoryCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
32973
- Omit<CampaignToCategoryFindManyArgs, 'select' | 'include' | 'distinct'> & {
32974
- select?: CampaignToCategoryCountAggregateInputType | true
33115
+ type CampaignToBrandAffiliateLinkCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
33116
+ Omit<CampaignToBrandAffiliateLinkFindManyArgs, 'select' | 'include' | 'distinct'> & {
33117
+ select?: CampaignToBrandAffiliateLinkCountAggregateInputType | true
32975
33118
  }
32976
33119
 
32977
- export interface CampaignToCategoryDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
32978
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CampaignToCategory'], meta: { name: 'CampaignToCategory' } }
33120
+ export interface CampaignToBrandAffiliateLinkDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
33121
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CampaignToBrandAffiliateLink'], meta: { name: 'CampaignToBrandAffiliateLink' } }
32979
33122
  /**
32980
- * Find zero or one CampaignToCategory that matches the filter.
32981
- * @param {CampaignToCategoryFindUniqueArgs} args - Arguments to find a CampaignToCategory
33123
+ * Find zero or one CampaignToBrandAffiliateLink that matches the filter.
33124
+ * @param {CampaignToBrandAffiliateLinkFindUniqueArgs} args - Arguments to find a CampaignToBrandAffiliateLink
32982
33125
  * @example
32983
- * // Get one CampaignToCategory
32984
- * const campaignToCategory = await prisma.campaignToCategory.findUnique({
33126
+ * // Get one CampaignToBrandAffiliateLink
33127
+ * const campaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.findUnique({
32985
33128
  * where: {
32986
33129
  * // ... provide filter here
32987
33130
  * }
32988
33131
  * })
32989
33132
  **/
32990
- findUnique<T extends CampaignToCategoryFindUniqueArgs<ExtArgs>>(
32991
- args: SelectSubset<T, CampaignToCategoryFindUniqueArgs<ExtArgs>>
32992
- ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
33133
+ findUnique<T extends CampaignToBrandAffiliateLinkFindUniqueArgs<ExtArgs>>(
33134
+ args: SelectSubset<T, CampaignToBrandAffiliateLinkFindUniqueArgs<ExtArgs>>
33135
+ ): Prisma__CampaignToBrandAffiliateLinkClient<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
32993
33136
 
32994
33137
  /**
32995
- * Find one CampaignToCategory that matches the filter or throw an error with `error.code='P2025'`
33138
+ * Find one CampaignToBrandAffiliateLink that matches the filter or throw an error with `error.code='P2025'`
32996
33139
  * if no matches were found.
32997
- * @param {CampaignToCategoryFindUniqueOrThrowArgs} args - Arguments to find a CampaignToCategory
33140
+ * @param {CampaignToBrandAffiliateLinkFindUniqueOrThrowArgs} args - Arguments to find a CampaignToBrandAffiliateLink
32998
33141
  * @example
32999
- * // Get one CampaignToCategory
33000
- * const campaignToCategory = await prisma.campaignToCategory.findUniqueOrThrow({
33142
+ * // Get one CampaignToBrandAffiliateLink
33143
+ * const campaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.findUniqueOrThrow({
33001
33144
  * where: {
33002
33145
  * // ... provide filter here
33003
33146
  * }
33004
33147
  * })
33005
33148
  **/
33006
- findUniqueOrThrow<T extends CampaignToCategoryFindUniqueOrThrowArgs<ExtArgs>>(
33007
- args?: SelectSubset<T, CampaignToCategoryFindUniqueOrThrowArgs<ExtArgs>>
33008
- ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
33149
+ findUniqueOrThrow<T extends CampaignToBrandAffiliateLinkFindUniqueOrThrowArgs<ExtArgs>>(
33150
+ args?: SelectSubset<T, CampaignToBrandAffiliateLinkFindUniqueOrThrowArgs<ExtArgs>>
33151
+ ): Prisma__CampaignToBrandAffiliateLinkClient<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
33009
33152
 
33010
33153
  /**
33011
- * Find the first CampaignToCategory that matches the filter.
33154
+ * Find the first CampaignToBrandAffiliateLink that matches the filter.
33012
33155
  * Note, that providing `undefined` is treated as the value not being there.
33013
33156
  * Read more here: https://pris.ly/d/null-undefined
33014
- * @param {CampaignToCategoryFindFirstArgs} args - Arguments to find a CampaignToCategory
33157
+ * @param {CampaignToBrandAffiliateLinkFindFirstArgs} args - Arguments to find a CampaignToBrandAffiliateLink
33015
33158
  * @example
33016
- * // Get one CampaignToCategory
33017
- * const campaignToCategory = await prisma.campaignToCategory.findFirst({
33159
+ * // Get one CampaignToBrandAffiliateLink
33160
+ * const campaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.findFirst({
33018
33161
  * where: {
33019
33162
  * // ... provide filter here
33020
33163
  * }
33021
33164
  * })
33022
33165
  **/
33023
- findFirst<T extends CampaignToCategoryFindFirstArgs<ExtArgs>>(
33024
- args?: SelectSubset<T, CampaignToCategoryFindFirstArgs<ExtArgs>>
33025
- ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
33166
+ findFirst<T extends CampaignToBrandAffiliateLinkFindFirstArgs<ExtArgs>>(
33167
+ args?: SelectSubset<T, CampaignToBrandAffiliateLinkFindFirstArgs<ExtArgs>>
33168
+ ): Prisma__CampaignToBrandAffiliateLinkClient<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
33026
33169
 
33027
33170
  /**
33028
- * Find the first CampaignToCategory that matches the filter or
33171
+ * Find the first CampaignToBrandAffiliateLink that matches the filter or
33029
33172
  * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
33030
33173
  * Note, that providing `undefined` is treated as the value not being there.
33031
33174
  * Read more here: https://pris.ly/d/null-undefined
33032
- * @param {CampaignToCategoryFindFirstOrThrowArgs} args - Arguments to find a CampaignToCategory
33175
+ * @param {CampaignToBrandAffiliateLinkFindFirstOrThrowArgs} args - Arguments to find a CampaignToBrandAffiliateLink
33033
33176
  * @example
33034
- * // Get one CampaignToCategory
33035
- * const campaignToCategory = await prisma.campaignToCategory.findFirstOrThrow({
33177
+ * // Get one CampaignToBrandAffiliateLink
33178
+ * const campaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.findFirstOrThrow({
33036
33179
  * where: {
33037
33180
  * // ... provide filter here
33038
33181
  * }
33039
33182
  * })
33040
33183
  **/
33041
- findFirstOrThrow<T extends CampaignToCategoryFindFirstOrThrowArgs<ExtArgs>>(
33042
- args?: SelectSubset<T, CampaignToCategoryFindFirstOrThrowArgs<ExtArgs>>
33043
- ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
33184
+ findFirstOrThrow<T extends CampaignToBrandAffiliateLinkFindFirstOrThrowArgs<ExtArgs>>(
33185
+ args?: SelectSubset<T, CampaignToBrandAffiliateLinkFindFirstOrThrowArgs<ExtArgs>>
33186
+ ): Prisma__CampaignToBrandAffiliateLinkClient<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
33044
33187
 
33045
33188
  /**
33046
- * Find zero or more CampaignToCategories that matches the filter.
33189
+ * Find zero or more CampaignToBrandAffiliateLinks that matches the filter.
33047
33190
  * Note, that providing `undefined` is treated as the value not being there.
33048
33191
  * Read more here: https://pris.ly/d/null-undefined
33049
- * @param {CampaignToCategoryFindManyArgs} args - Arguments to filter and select certain fields only.
33192
+ * @param {CampaignToBrandAffiliateLinkFindManyArgs} args - Arguments to filter and select certain fields only.
33050
33193
  * @example
33051
- * // Get all CampaignToCategories
33052
- * const campaignToCategories = await prisma.campaignToCategory.findMany()
33194
+ * // Get all CampaignToBrandAffiliateLinks
33195
+ * const campaignToBrandAffiliateLinks = await prisma.campaignToBrandAffiliateLink.findMany()
33053
33196
  *
33054
- * // Get first 10 CampaignToCategories
33055
- * const campaignToCategories = await prisma.campaignToCategory.findMany({ take: 10 })
33197
+ * // Get first 10 CampaignToBrandAffiliateLinks
33198
+ * const campaignToBrandAffiliateLinks = await prisma.campaignToBrandAffiliateLink.findMany({ take: 10 })
33056
33199
  *
33057
- * // Only select the `campaignId`
33058
- * const campaignToCategoryWithCampaignIdOnly = await prisma.campaignToCategory.findMany({ select: { campaignId: true } })
33200
+ * // Only select the `id`
33201
+ * const campaignToBrandAffiliateLinkWithIdOnly = await prisma.campaignToBrandAffiliateLink.findMany({ select: { id: true } })
33059
33202
  *
33060
33203
  **/
33061
- findMany<T extends CampaignToCategoryFindManyArgs<ExtArgs>>(
33062
- args?: SelectSubset<T, CampaignToCategoryFindManyArgs<ExtArgs>>
33063
- ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'findMany'>>
33204
+ findMany<T extends CampaignToBrandAffiliateLinkFindManyArgs<ExtArgs>>(
33205
+ args?: SelectSubset<T, CampaignToBrandAffiliateLinkFindManyArgs<ExtArgs>>
33206
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'findMany'>>
33064
33207
 
33065
33208
  /**
33066
- * Create a CampaignToCategory.
33067
- * @param {CampaignToCategoryCreateArgs} args - Arguments to create a CampaignToCategory.
33209
+ * Create a CampaignToBrandAffiliateLink.
33210
+ * @param {CampaignToBrandAffiliateLinkCreateArgs} args - Arguments to create a CampaignToBrandAffiliateLink.
33068
33211
  * @example
33069
- * // Create one CampaignToCategory
33070
- * const CampaignToCategory = await prisma.campaignToCategory.create({
33212
+ * // Create one CampaignToBrandAffiliateLink
33213
+ * const CampaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.create({
33071
33214
  * data: {
33072
- * // ... data to create a CampaignToCategory
33215
+ * // ... data to create a CampaignToBrandAffiliateLink
33073
33216
  * }
33074
33217
  * })
33075
33218
  *
33076
33219
  **/
33077
- create<T extends CampaignToCategoryCreateArgs<ExtArgs>>(
33078
- args: SelectSubset<T, CampaignToCategoryCreateArgs<ExtArgs>>
33079
- ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
33220
+ create<T extends CampaignToBrandAffiliateLinkCreateArgs<ExtArgs>>(
33221
+ args: SelectSubset<T, CampaignToBrandAffiliateLinkCreateArgs<ExtArgs>>
33222
+ ): Prisma__CampaignToBrandAffiliateLinkClient<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
33080
33223
 
33081
33224
  /**
33082
- * Create many CampaignToCategories.
33083
- * @param {CampaignToCategoryCreateManyArgs} args - Arguments to create many CampaignToCategories.
33225
+ * Create many CampaignToBrandAffiliateLinks.
33226
+ * @param {CampaignToBrandAffiliateLinkCreateManyArgs} args - Arguments to create many CampaignToBrandAffiliateLinks.
33084
33227
  * @example
33085
- * // Create many CampaignToCategories
33086
- * const campaignToCategory = await prisma.campaignToCategory.createMany({
33228
+ * // Create many CampaignToBrandAffiliateLinks
33229
+ * const campaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.createMany({
33087
33230
  * data: [
33088
33231
  * // ... provide data here
33089
33232
  * ]
33090
33233
  * })
33091
33234
  *
33092
33235
  **/
33093
- createMany<T extends CampaignToCategoryCreateManyArgs<ExtArgs>>(
33094
- args?: SelectSubset<T, CampaignToCategoryCreateManyArgs<ExtArgs>>
33236
+ createMany<T extends CampaignToBrandAffiliateLinkCreateManyArgs<ExtArgs>>(
33237
+ args?: SelectSubset<T, CampaignToBrandAffiliateLinkCreateManyArgs<ExtArgs>>
33095
33238
  ): Prisma.PrismaPromise<BatchPayload>
33096
33239
 
33097
33240
  /**
33098
- * Create many CampaignToCategories and returns the data saved in the database.
33099
- * @param {CampaignToCategoryCreateManyAndReturnArgs} args - Arguments to create many CampaignToCategories.
33241
+ * Create many CampaignToBrandAffiliateLinks and returns the data saved in the database.
33242
+ * @param {CampaignToBrandAffiliateLinkCreateManyAndReturnArgs} args - Arguments to create many CampaignToBrandAffiliateLinks.
33100
33243
  * @example
33101
- * // Create many CampaignToCategories
33102
- * const campaignToCategory = await prisma.campaignToCategory.createManyAndReturn({
33244
+ * // Create many CampaignToBrandAffiliateLinks
33245
+ * const campaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.createManyAndReturn({
33103
33246
  * data: [
33104
33247
  * // ... provide data here
33105
33248
  * ]
33106
33249
  * })
33107
33250
  *
33108
- * // Create many CampaignToCategories and only return the `campaignId`
33109
- * const campaignToCategoryWithCampaignIdOnly = await prisma.campaignToCategory.createManyAndReturn({
33110
- * select: { campaignId: true },
33251
+ * // Create many CampaignToBrandAffiliateLinks and only return the `id`
33252
+ * const campaignToBrandAffiliateLinkWithIdOnly = await prisma.campaignToBrandAffiliateLink.createManyAndReturn({
33253
+ * select: { id: true },
33111
33254
  * data: [
33112
33255
  * // ... provide data here
33113
33256
  * ]
@@ -33116,32 +33259,32 @@ export namespace Prisma {
33116
33259
  * Read more here: https://pris.ly/d/null-undefined
33117
33260
  *
33118
33261
  **/
33119
- createManyAndReturn<T extends CampaignToCategoryCreateManyAndReturnArgs<ExtArgs>>(
33120
- args?: SelectSubset<T, CampaignToCategoryCreateManyAndReturnArgs<ExtArgs>>
33121
- ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'createManyAndReturn'>>
33262
+ createManyAndReturn<T extends CampaignToBrandAffiliateLinkCreateManyAndReturnArgs<ExtArgs>>(
33263
+ args?: SelectSubset<T, CampaignToBrandAffiliateLinkCreateManyAndReturnArgs<ExtArgs>>
33264
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'createManyAndReturn'>>
33122
33265
 
33123
33266
  /**
33124
- * Delete a CampaignToCategory.
33125
- * @param {CampaignToCategoryDeleteArgs} args - Arguments to delete one CampaignToCategory.
33267
+ * Delete a CampaignToBrandAffiliateLink.
33268
+ * @param {CampaignToBrandAffiliateLinkDeleteArgs} args - Arguments to delete one CampaignToBrandAffiliateLink.
33126
33269
  * @example
33127
- * // Delete one CampaignToCategory
33128
- * const CampaignToCategory = await prisma.campaignToCategory.delete({
33270
+ * // Delete one CampaignToBrandAffiliateLink
33271
+ * const CampaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.delete({
33129
33272
  * where: {
33130
- * // ... filter to delete one CampaignToCategory
33273
+ * // ... filter to delete one CampaignToBrandAffiliateLink
33131
33274
  * }
33132
33275
  * })
33133
33276
  *
33134
33277
  **/
33135
- delete<T extends CampaignToCategoryDeleteArgs<ExtArgs>>(
33136
- args: SelectSubset<T, CampaignToCategoryDeleteArgs<ExtArgs>>
33137
- ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
33278
+ delete<T extends CampaignToBrandAffiliateLinkDeleteArgs<ExtArgs>>(
33279
+ args: SelectSubset<T, CampaignToBrandAffiliateLinkDeleteArgs<ExtArgs>>
33280
+ ): Prisma__CampaignToBrandAffiliateLinkClient<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
33138
33281
 
33139
33282
  /**
33140
- * Update one CampaignToCategory.
33141
- * @param {CampaignToCategoryUpdateArgs} args - Arguments to update one CampaignToCategory.
33283
+ * Update one CampaignToBrandAffiliateLink.
33284
+ * @param {CampaignToBrandAffiliateLinkUpdateArgs} args - Arguments to update one CampaignToBrandAffiliateLink.
33142
33285
  * @example
33143
- * // Update one CampaignToCategory
33144
- * const campaignToCategory = await prisma.campaignToCategory.update({
33286
+ * // Update one CampaignToBrandAffiliateLink
33287
+ * const campaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.update({
33145
33288
  * where: {
33146
33289
  * // ... provide filter here
33147
33290
  * },
@@ -33151,34 +33294,34 @@ export namespace Prisma {
33151
33294
  * })
33152
33295
  *
33153
33296
  **/
33154
- update<T extends CampaignToCategoryUpdateArgs<ExtArgs>>(
33155
- args: SelectSubset<T, CampaignToCategoryUpdateArgs<ExtArgs>>
33156
- ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
33297
+ update<T extends CampaignToBrandAffiliateLinkUpdateArgs<ExtArgs>>(
33298
+ args: SelectSubset<T, CampaignToBrandAffiliateLinkUpdateArgs<ExtArgs>>
33299
+ ): Prisma__CampaignToBrandAffiliateLinkClient<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
33157
33300
 
33158
33301
  /**
33159
- * Delete zero or more CampaignToCategories.
33160
- * @param {CampaignToCategoryDeleteManyArgs} args - Arguments to filter CampaignToCategories to delete.
33302
+ * Delete zero or more CampaignToBrandAffiliateLinks.
33303
+ * @param {CampaignToBrandAffiliateLinkDeleteManyArgs} args - Arguments to filter CampaignToBrandAffiliateLinks to delete.
33161
33304
  * @example
33162
- * // Delete a few CampaignToCategories
33163
- * const { count } = await prisma.campaignToCategory.deleteMany({
33305
+ * // Delete a few CampaignToBrandAffiliateLinks
33306
+ * const { count } = await prisma.campaignToBrandAffiliateLink.deleteMany({
33164
33307
  * where: {
33165
33308
  * // ... provide filter here
33166
33309
  * }
33167
33310
  * })
33168
33311
  *
33169
33312
  **/
33170
- deleteMany<T extends CampaignToCategoryDeleteManyArgs<ExtArgs>>(
33171
- args?: SelectSubset<T, CampaignToCategoryDeleteManyArgs<ExtArgs>>
33313
+ deleteMany<T extends CampaignToBrandAffiliateLinkDeleteManyArgs<ExtArgs>>(
33314
+ args?: SelectSubset<T, CampaignToBrandAffiliateLinkDeleteManyArgs<ExtArgs>>
33172
33315
  ): Prisma.PrismaPromise<BatchPayload>
33173
33316
 
33174
33317
  /**
33175
- * Update zero or more CampaignToCategories.
33318
+ * Update zero or more CampaignToBrandAffiliateLinks.
33176
33319
  * Note, that providing `undefined` is treated as the value not being there.
33177
33320
  * Read more here: https://pris.ly/d/null-undefined
33178
- * @param {CampaignToCategoryUpdateManyArgs} args - Arguments to update one or more rows.
33321
+ * @param {CampaignToBrandAffiliateLinkUpdateManyArgs} args - Arguments to update one or more rows.
33179
33322
  * @example
33180
- * // Update many CampaignToCategories
33181
- * const campaignToCategory = await prisma.campaignToCategory.updateMany({
33323
+ * // Update many CampaignToBrandAffiliateLinks
33324
+ * const campaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.updateMany({
33182
33325
  * where: {
33183
33326
  * // ... provide filter here
33184
33327
  * },
@@ -33188,59 +33331,59 @@ export namespace Prisma {
33188
33331
  * })
33189
33332
  *
33190
33333
  **/
33191
- updateMany<T extends CampaignToCategoryUpdateManyArgs<ExtArgs>>(
33192
- args: SelectSubset<T, CampaignToCategoryUpdateManyArgs<ExtArgs>>
33334
+ updateMany<T extends CampaignToBrandAffiliateLinkUpdateManyArgs<ExtArgs>>(
33335
+ args: SelectSubset<T, CampaignToBrandAffiliateLinkUpdateManyArgs<ExtArgs>>
33193
33336
  ): Prisma.PrismaPromise<BatchPayload>
33194
33337
 
33195
33338
  /**
33196
- * Create or update one CampaignToCategory.
33197
- * @param {CampaignToCategoryUpsertArgs} args - Arguments to update or create a CampaignToCategory.
33339
+ * Create or update one CampaignToBrandAffiliateLink.
33340
+ * @param {CampaignToBrandAffiliateLinkUpsertArgs} args - Arguments to update or create a CampaignToBrandAffiliateLink.
33198
33341
  * @example
33199
- * // Update or create a CampaignToCategory
33200
- * const campaignToCategory = await prisma.campaignToCategory.upsert({
33342
+ * // Update or create a CampaignToBrandAffiliateLink
33343
+ * const campaignToBrandAffiliateLink = await prisma.campaignToBrandAffiliateLink.upsert({
33201
33344
  * create: {
33202
- * // ... data to create a CampaignToCategory
33345
+ * // ... data to create a CampaignToBrandAffiliateLink
33203
33346
  * },
33204
33347
  * update: {
33205
33348
  * // ... in case it already exists, update
33206
33349
  * },
33207
33350
  * where: {
33208
- * // ... the filter for the CampaignToCategory we want to update
33351
+ * // ... the filter for the CampaignToBrandAffiliateLink we want to update
33209
33352
  * }
33210
33353
  * })
33211
33354
  **/
33212
- upsert<T extends CampaignToCategoryUpsertArgs<ExtArgs>>(
33213
- args: SelectSubset<T, CampaignToCategoryUpsertArgs<ExtArgs>>
33214
- ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
33355
+ upsert<T extends CampaignToBrandAffiliateLinkUpsertArgs<ExtArgs>>(
33356
+ args: SelectSubset<T, CampaignToBrandAffiliateLinkUpsertArgs<ExtArgs>>
33357
+ ): Prisma__CampaignToBrandAffiliateLinkClient<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
33215
33358
 
33216
33359
  /**
33217
- * Count the number of CampaignToCategories.
33360
+ * Count the number of CampaignToBrandAffiliateLinks.
33218
33361
  * Note, that providing `undefined` is treated as the value not being there.
33219
33362
  * Read more here: https://pris.ly/d/null-undefined
33220
- * @param {CampaignToCategoryCountArgs} args - Arguments to filter CampaignToCategories to count.
33363
+ * @param {CampaignToBrandAffiliateLinkCountArgs} args - Arguments to filter CampaignToBrandAffiliateLinks to count.
33221
33364
  * @example
33222
- * // Count the number of CampaignToCategories
33223
- * const count = await prisma.campaignToCategory.count({
33365
+ * // Count the number of CampaignToBrandAffiliateLinks
33366
+ * const count = await prisma.campaignToBrandAffiliateLink.count({
33224
33367
  * where: {
33225
- * // ... the filter for the CampaignToCategories we want to count
33368
+ * // ... the filter for the CampaignToBrandAffiliateLinks we want to count
33226
33369
  * }
33227
33370
  * })
33228
33371
  **/
33229
- count<T extends CampaignToCategoryCountArgs>(
33230
- args?: Subset<T, CampaignToCategoryCountArgs>,
33372
+ count<T extends CampaignToBrandAffiliateLinkCountArgs>(
33373
+ args?: Subset<T, CampaignToBrandAffiliateLinkCountArgs>,
33231
33374
  ): Prisma.PrismaPromise<
33232
33375
  T extends $Utils.Record<'select', any>
33233
33376
  ? T['select'] extends true
33234
33377
  ? number
33235
- : GetScalarType<T['select'], CampaignToCategoryCountAggregateOutputType>
33378
+ : GetScalarType<T['select'], CampaignToBrandAffiliateLinkCountAggregateOutputType>
33236
33379
  : number
33237
33380
  >
33238
33381
 
33239
33382
  /**
33240
- * Allows you to perform aggregations operations on a CampaignToCategory.
33383
+ * Allows you to perform aggregations operations on a CampaignToBrandAffiliateLink.
33241
33384
  * Note, that providing `undefined` is treated as the value not being there.
33242
33385
  * Read more here: https://pris.ly/d/null-undefined
33243
- * @param {CampaignToCategoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
33386
+ * @param {CampaignToBrandAffiliateLinkAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
33244
33387
  * @example
33245
33388
  * // Ordered by age ascending
33246
33389
  * // Where email contains prisma.io
@@ -33260,13 +33403,13 @@ export namespace Prisma {
33260
33403
  * take: 10,
33261
33404
  * })
33262
33405
  **/
33263
- aggregate<T extends CampaignToCategoryAggregateArgs>(args: Subset<T, CampaignToCategoryAggregateArgs>): Prisma.PrismaPromise<GetCampaignToCategoryAggregateType<T>>
33406
+ aggregate<T extends CampaignToBrandAffiliateLinkAggregateArgs>(args: Subset<T, CampaignToBrandAffiliateLinkAggregateArgs>): Prisma.PrismaPromise<GetCampaignToBrandAffiliateLinkAggregateType<T>>
33264
33407
 
33265
33408
  /**
33266
- * Group by CampaignToCategory.
33409
+ * Group by CampaignToBrandAffiliateLink.
33267
33410
  * Note, that providing `undefined` is treated as the value not being there.
33268
33411
  * Read more here: https://pris.ly/d/null-undefined
33269
- * @param {CampaignToCategoryGroupByArgs} args - Group by arguments.
33412
+ * @param {CampaignToBrandAffiliateLinkGroupByArgs} args - Group by arguments.
33270
33413
  * @example
33271
33414
  * // Group by city, order by createdAt, get count
33272
33415
  * const result = await prisma.user.groupBy({
@@ -33281,14 +33424,975 @@ export namespace Prisma {
33281
33424
  *
33282
33425
  **/
33283
33426
  groupBy<
33284
- T extends CampaignToCategoryGroupByArgs,
33427
+ T extends CampaignToBrandAffiliateLinkGroupByArgs,
33285
33428
  HasSelectOrTake extends Or<
33286
33429
  Extends<'skip', Keys<T>>,
33287
33430
  Extends<'take', Keys<T>>
33288
33431
  >,
33289
33432
  OrderByArg extends True extends HasSelectOrTake
33290
- ? { orderBy: CampaignToCategoryGroupByArgs['orderBy'] }
33291
- : { orderBy?: CampaignToCategoryGroupByArgs['orderBy'] },
33433
+ ? { orderBy: CampaignToBrandAffiliateLinkGroupByArgs['orderBy'] }
33434
+ : { orderBy?: CampaignToBrandAffiliateLinkGroupByArgs['orderBy'] },
33435
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
33436
+ ByFields extends MaybeTupleToUnion<T['by']>,
33437
+ ByValid extends Has<ByFields, OrderFields>,
33438
+ HavingFields extends GetHavingFields<T['having']>,
33439
+ HavingValid extends Has<ByFields, HavingFields>,
33440
+ ByEmpty extends T['by'] extends never[] ? True : False,
33441
+ InputErrors extends ByEmpty extends True
33442
+ ? `Error: "by" must not be empty.`
33443
+ : HavingValid extends False
33444
+ ? {
33445
+ [P in HavingFields]: P extends ByFields
33446
+ ? never
33447
+ : P extends string
33448
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
33449
+ : [
33450
+ Error,
33451
+ 'Field ',
33452
+ P,
33453
+ ` in "having" needs to be provided in "by"`,
33454
+ ]
33455
+ }[HavingFields]
33456
+ : 'take' extends Keys<T>
33457
+ ? 'orderBy' extends Keys<T>
33458
+ ? ByValid extends True
33459
+ ? {}
33460
+ : {
33461
+ [P in OrderFields]: P extends ByFields
33462
+ ? never
33463
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
33464
+ }[OrderFields]
33465
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
33466
+ : 'skip' extends Keys<T>
33467
+ ? 'orderBy' extends Keys<T>
33468
+ ? ByValid extends True
33469
+ ? {}
33470
+ : {
33471
+ [P in OrderFields]: P extends ByFields
33472
+ ? never
33473
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
33474
+ }[OrderFields]
33475
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
33476
+ : ByValid extends True
33477
+ ? {}
33478
+ : {
33479
+ [P in OrderFields]: P extends ByFields
33480
+ ? never
33481
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
33482
+ }[OrderFields]
33483
+ >(args: SubsetIntersection<T, CampaignToBrandAffiliateLinkGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCampaignToBrandAffiliateLinkGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
33484
+ /**
33485
+ * Fields of the CampaignToBrandAffiliateLink model
33486
+ */
33487
+ readonly fields: CampaignToBrandAffiliateLinkFieldRefs;
33488
+ }
33489
+
33490
+ /**
33491
+ * The delegate class that acts as a "Promise-like" for CampaignToBrandAffiliateLink.
33492
+ * Why is this prefixed with `Prisma__`?
33493
+ * Because we want to prevent naming conflicts as mentioned in
33494
+ * https://github.com/prisma/prisma-client-js/issues/707
33495
+ */
33496
+ export interface Prisma__CampaignToBrandAffiliateLinkClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
33497
+ readonly [Symbol.toStringTag]: 'PrismaPromise';
33498
+
33499
+ campaign<T extends CampaignDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CampaignDefaultArgs<ExtArgs>>): Prisma__CampaignClient<$Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
33500
+
33501
+ brandAffiliateLink<T extends BrandAffiliateLinkDefaultArgs<ExtArgs> = {}>(args?: Subset<T, BrandAffiliateLinkDefaultArgs<ExtArgs>>): Prisma__BrandAffiliateLinkClient<$Result.GetResult<Prisma.$BrandAffiliateLinkPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
33502
+
33503
+ /**
33504
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
33505
+ * @param onfulfilled The callback to execute when the Promise is resolved.
33506
+ * @param onrejected The callback to execute when the Promise is rejected.
33507
+ * @returns A Promise for the completion of which ever callback is executed.
33508
+ */
33509
+ 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>;
33510
+ /**
33511
+ * Attaches a callback for only the rejection of the Promise.
33512
+ * @param onrejected The callback to execute when the Promise is rejected.
33513
+ * @returns A Promise for the completion of the callback.
33514
+ */
33515
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
33516
+ /**
33517
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
33518
+ * resolved value cannot be modified from the callback.
33519
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
33520
+ * @returns A Promise for the completion of the callback.
33521
+ */
33522
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
33523
+ }
33524
+
33525
+
33526
+
33527
+ /**
33528
+ * Fields of the CampaignToBrandAffiliateLink model
33529
+ */
33530
+ interface CampaignToBrandAffiliateLinkFieldRefs {
33531
+ readonly id: FieldRef<"CampaignToBrandAffiliateLink", 'Int'>
33532
+ readonly campaignId: FieldRef<"CampaignToBrandAffiliateLink", 'Int'>
33533
+ readonly brandAffiliateLinkId: FieldRef<"CampaignToBrandAffiliateLink", 'Int'>
33534
+ }
33535
+
33536
+
33537
+ // Custom InputTypes
33538
+ /**
33539
+ * CampaignToBrandAffiliateLink findUnique
33540
+ */
33541
+ export type CampaignToBrandAffiliateLinkFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33542
+ /**
33543
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33544
+ */
33545
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33546
+ /**
33547
+ * Choose, which related nodes to fetch as well
33548
+ */
33549
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33550
+ /**
33551
+ * Filter, which CampaignToBrandAffiliateLink to fetch.
33552
+ */
33553
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
33554
+ }
33555
+
33556
+ /**
33557
+ * CampaignToBrandAffiliateLink findUniqueOrThrow
33558
+ */
33559
+ export type CampaignToBrandAffiliateLinkFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33560
+ /**
33561
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33562
+ */
33563
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33564
+ /**
33565
+ * Choose, which related nodes to fetch as well
33566
+ */
33567
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33568
+ /**
33569
+ * Filter, which CampaignToBrandAffiliateLink to fetch.
33570
+ */
33571
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
33572
+ }
33573
+
33574
+ /**
33575
+ * CampaignToBrandAffiliateLink findFirst
33576
+ */
33577
+ export type CampaignToBrandAffiliateLinkFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33578
+ /**
33579
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33580
+ */
33581
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33582
+ /**
33583
+ * Choose, which related nodes to fetch as well
33584
+ */
33585
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33586
+ /**
33587
+ * Filter, which CampaignToBrandAffiliateLink to fetch.
33588
+ */
33589
+ where?: CampaignToBrandAffiliateLinkWhereInput
33590
+ /**
33591
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
33592
+ *
33593
+ * Determine the order of CampaignToBrandAffiliateLinks to fetch.
33594
+ */
33595
+ orderBy?: CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput | CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput[]
33596
+ /**
33597
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
33598
+ *
33599
+ * Sets the position for searching for CampaignToBrandAffiliateLinks.
33600
+ */
33601
+ cursor?: CampaignToBrandAffiliateLinkWhereUniqueInput
33602
+ /**
33603
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33604
+ *
33605
+ * Take `±n` CampaignToBrandAffiliateLinks from the position of the cursor.
33606
+ */
33607
+ take?: number
33608
+ /**
33609
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33610
+ *
33611
+ * Skip the first `n` CampaignToBrandAffiliateLinks.
33612
+ */
33613
+ skip?: number
33614
+ /**
33615
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
33616
+ *
33617
+ * Filter by unique combinations of CampaignToBrandAffiliateLinks.
33618
+ */
33619
+ distinct?: CampaignToBrandAffiliateLinkScalarFieldEnum | CampaignToBrandAffiliateLinkScalarFieldEnum[]
33620
+ }
33621
+
33622
+ /**
33623
+ * CampaignToBrandAffiliateLink findFirstOrThrow
33624
+ */
33625
+ export type CampaignToBrandAffiliateLinkFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33626
+ /**
33627
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33628
+ */
33629
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33630
+ /**
33631
+ * Choose, which related nodes to fetch as well
33632
+ */
33633
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33634
+ /**
33635
+ * Filter, which CampaignToBrandAffiliateLink to fetch.
33636
+ */
33637
+ where?: CampaignToBrandAffiliateLinkWhereInput
33638
+ /**
33639
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
33640
+ *
33641
+ * Determine the order of CampaignToBrandAffiliateLinks to fetch.
33642
+ */
33643
+ orderBy?: CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput | CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput[]
33644
+ /**
33645
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
33646
+ *
33647
+ * Sets the position for searching for CampaignToBrandAffiliateLinks.
33648
+ */
33649
+ cursor?: CampaignToBrandAffiliateLinkWhereUniqueInput
33650
+ /**
33651
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33652
+ *
33653
+ * Take `±n` CampaignToBrandAffiliateLinks from the position of the cursor.
33654
+ */
33655
+ take?: number
33656
+ /**
33657
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33658
+ *
33659
+ * Skip the first `n` CampaignToBrandAffiliateLinks.
33660
+ */
33661
+ skip?: number
33662
+ /**
33663
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
33664
+ *
33665
+ * Filter by unique combinations of CampaignToBrandAffiliateLinks.
33666
+ */
33667
+ distinct?: CampaignToBrandAffiliateLinkScalarFieldEnum | CampaignToBrandAffiliateLinkScalarFieldEnum[]
33668
+ }
33669
+
33670
+ /**
33671
+ * CampaignToBrandAffiliateLink findMany
33672
+ */
33673
+ export type CampaignToBrandAffiliateLinkFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33674
+ /**
33675
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33676
+ */
33677
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33678
+ /**
33679
+ * Choose, which related nodes to fetch as well
33680
+ */
33681
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33682
+ /**
33683
+ * Filter, which CampaignToBrandAffiliateLinks to fetch.
33684
+ */
33685
+ where?: CampaignToBrandAffiliateLinkWhereInput
33686
+ /**
33687
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
33688
+ *
33689
+ * Determine the order of CampaignToBrandAffiliateLinks to fetch.
33690
+ */
33691
+ orderBy?: CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput | CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput[]
33692
+ /**
33693
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
33694
+ *
33695
+ * Sets the position for listing CampaignToBrandAffiliateLinks.
33696
+ */
33697
+ cursor?: CampaignToBrandAffiliateLinkWhereUniqueInput
33698
+ /**
33699
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33700
+ *
33701
+ * Take `±n` CampaignToBrandAffiliateLinks from the position of the cursor.
33702
+ */
33703
+ take?: number
33704
+ /**
33705
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33706
+ *
33707
+ * Skip the first `n` CampaignToBrandAffiliateLinks.
33708
+ */
33709
+ skip?: number
33710
+ distinct?: CampaignToBrandAffiliateLinkScalarFieldEnum | CampaignToBrandAffiliateLinkScalarFieldEnum[]
33711
+ }
33712
+
33713
+ /**
33714
+ * CampaignToBrandAffiliateLink create
33715
+ */
33716
+ export type CampaignToBrandAffiliateLinkCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33717
+ /**
33718
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33719
+ */
33720
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33721
+ /**
33722
+ * Choose, which related nodes to fetch as well
33723
+ */
33724
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33725
+ /**
33726
+ * The data needed to create a CampaignToBrandAffiliateLink.
33727
+ */
33728
+ data: XOR<CampaignToBrandAffiliateLinkCreateInput, CampaignToBrandAffiliateLinkUncheckedCreateInput>
33729
+ }
33730
+
33731
+ /**
33732
+ * CampaignToBrandAffiliateLink createMany
33733
+ */
33734
+ export type CampaignToBrandAffiliateLinkCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33735
+ /**
33736
+ * The data used to create many CampaignToBrandAffiliateLinks.
33737
+ */
33738
+ data: CampaignToBrandAffiliateLinkCreateManyInput | CampaignToBrandAffiliateLinkCreateManyInput[]
33739
+ skipDuplicates?: boolean
33740
+ }
33741
+
33742
+ /**
33743
+ * CampaignToBrandAffiliateLink createManyAndReturn
33744
+ */
33745
+ export type CampaignToBrandAffiliateLinkCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33746
+ /**
33747
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33748
+ */
33749
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33750
+ /**
33751
+ * Choose, which related nodes to fetch as well
33752
+ */
33753
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33754
+ /**
33755
+ * The data used to create many CampaignToBrandAffiliateLinks.
33756
+ */
33757
+ data: CampaignToBrandAffiliateLinkCreateManyInput | CampaignToBrandAffiliateLinkCreateManyInput[]
33758
+ skipDuplicates?: boolean
33759
+ }
33760
+
33761
+ /**
33762
+ * CampaignToBrandAffiliateLink update
33763
+ */
33764
+ export type CampaignToBrandAffiliateLinkUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33765
+ /**
33766
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33767
+ */
33768
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33769
+ /**
33770
+ * Choose, which related nodes to fetch as well
33771
+ */
33772
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33773
+ /**
33774
+ * The data needed to update a CampaignToBrandAffiliateLink.
33775
+ */
33776
+ data: XOR<CampaignToBrandAffiliateLinkUpdateInput, CampaignToBrandAffiliateLinkUncheckedUpdateInput>
33777
+ /**
33778
+ * Choose, which CampaignToBrandAffiliateLink to update.
33779
+ */
33780
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
33781
+ }
33782
+
33783
+ /**
33784
+ * CampaignToBrandAffiliateLink updateMany
33785
+ */
33786
+ export type CampaignToBrandAffiliateLinkUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33787
+ /**
33788
+ * The data used to update CampaignToBrandAffiliateLinks.
33789
+ */
33790
+ data: XOR<CampaignToBrandAffiliateLinkUpdateManyMutationInput, CampaignToBrandAffiliateLinkUncheckedUpdateManyInput>
33791
+ /**
33792
+ * Filter which CampaignToBrandAffiliateLinks to update
33793
+ */
33794
+ where?: CampaignToBrandAffiliateLinkWhereInput
33795
+ }
33796
+
33797
+ /**
33798
+ * CampaignToBrandAffiliateLink upsert
33799
+ */
33800
+ export type CampaignToBrandAffiliateLinkUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33801
+ /**
33802
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33803
+ */
33804
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33805
+ /**
33806
+ * Choose, which related nodes to fetch as well
33807
+ */
33808
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33809
+ /**
33810
+ * The filter to search for the CampaignToBrandAffiliateLink to update in case it exists.
33811
+ */
33812
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
33813
+ /**
33814
+ * In case the CampaignToBrandAffiliateLink found by the `where` argument doesn't exist, create a new CampaignToBrandAffiliateLink with this data.
33815
+ */
33816
+ create: XOR<CampaignToBrandAffiliateLinkCreateInput, CampaignToBrandAffiliateLinkUncheckedCreateInput>
33817
+ /**
33818
+ * In case the CampaignToBrandAffiliateLink was found with the provided `where` argument, update it with this data.
33819
+ */
33820
+ update: XOR<CampaignToBrandAffiliateLinkUpdateInput, CampaignToBrandAffiliateLinkUncheckedUpdateInput>
33821
+ }
33822
+
33823
+ /**
33824
+ * CampaignToBrandAffiliateLink delete
33825
+ */
33826
+ export type CampaignToBrandAffiliateLinkDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33827
+ /**
33828
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33829
+ */
33830
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33831
+ /**
33832
+ * Choose, which related nodes to fetch as well
33833
+ */
33834
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33835
+ /**
33836
+ * Filter which CampaignToBrandAffiliateLink to delete.
33837
+ */
33838
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
33839
+ }
33840
+
33841
+ /**
33842
+ * CampaignToBrandAffiliateLink deleteMany
33843
+ */
33844
+ export type CampaignToBrandAffiliateLinkDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33845
+ /**
33846
+ * Filter which CampaignToBrandAffiliateLinks to delete
33847
+ */
33848
+ where?: CampaignToBrandAffiliateLinkWhereInput
33849
+ }
33850
+
33851
+ /**
33852
+ * CampaignToBrandAffiliateLink without action
33853
+ */
33854
+ export type CampaignToBrandAffiliateLinkDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33855
+ /**
33856
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
33857
+ */
33858
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
33859
+ /**
33860
+ * Choose, which related nodes to fetch as well
33861
+ */
33862
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
33863
+ }
33864
+
33865
+
33866
+ /**
33867
+ * Model CampaignToCategory
33868
+ */
33869
+
33870
+ export type AggregateCampaignToCategory = {
33871
+ _count: CampaignToCategoryCountAggregateOutputType | null
33872
+ _avg: CampaignToCategoryAvgAggregateOutputType | null
33873
+ _sum: CampaignToCategorySumAggregateOutputType | null
33874
+ _min: CampaignToCategoryMinAggregateOutputType | null
33875
+ _max: CampaignToCategoryMaxAggregateOutputType | null
33876
+ }
33877
+
33878
+ export type CampaignToCategoryAvgAggregateOutputType = {
33879
+ campaignId: number | null
33880
+ categoryId: number | null
33881
+ }
33882
+
33883
+ export type CampaignToCategorySumAggregateOutputType = {
33884
+ campaignId: number | null
33885
+ categoryId: number | null
33886
+ }
33887
+
33888
+ export type CampaignToCategoryMinAggregateOutputType = {
33889
+ campaignId: number | null
33890
+ categoryId: number | null
33891
+ }
33892
+
33893
+ export type CampaignToCategoryMaxAggregateOutputType = {
33894
+ campaignId: number | null
33895
+ categoryId: number | null
33896
+ }
33897
+
33898
+ export type CampaignToCategoryCountAggregateOutputType = {
33899
+ campaignId: number
33900
+ categoryId: number
33901
+ _all: number
33902
+ }
33903
+
33904
+
33905
+ export type CampaignToCategoryAvgAggregateInputType = {
33906
+ campaignId?: true
33907
+ categoryId?: true
33908
+ }
33909
+
33910
+ export type CampaignToCategorySumAggregateInputType = {
33911
+ campaignId?: true
33912
+ categoryId?: true
33913
+ }
33914
+
33915
+ export type CampaignToCategoryMinAggregateInputType = {
33916
+ campaignId?: true
33917
+ categoryId?: true
33918
+ }
33919
+
33920
+ export type CampaignToCategoryMaxAggregateInputType = {
33921
+ campaignId?: true
33922
+ categoryId?: true
33923
+ }
33924
+
33925
+ export type CampaignToCategoryCountAggregateInputType = {
33926
+ campaignId?: true
33927
+ categoryId?: true
33928
+ _all?: true
33929
+ }
33930
+
33931
+ export type CampaignToCategoryAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33932
+ /**
33933
+ * Filter which CampaignToCategory to aggregate.
33934
+ */
33935
+ where?: CampaignToCategoryWhereInput
33936
+ /**
33937
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
33938
+ *
33939
+ * Determine the order of CampaignToCategories to fetch.
33940
+ */
33941
+ orderBy?: CampaignToCategoryOrderByWithRelationAndSearchRelevanceInput | CampaignToCategoryOrderByWithRelationAndSearchRelevanceInput[]
33942
+ /**
33943
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
33944
+ *
33945
+ * Sets the start position
33946
+ */
33947
+ cursor?: CampaignToCategoryWhereUniqueInput
33948
+ /**
33949
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33950
+ *
33951
+ * Take `±n` CampaignToCategories from the position of the cursor.
33952
+ */
33953
+ take?: number
33954
+ /**
33955
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33956
+ *
33957
+ * Skip the first `n` CampaignToCategories.
33958
+ */
33959
+ skip?: number
33960
+ /**
33961
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
33962
+ *
33963
+ * Count returned CampaignToCategories
33964
+ **/
33965
+ _count?: true | CampaignToCategoryCountAggregateInputType
33966
+ /**
33967
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
33968
+ *
33969
+ * Select which fields to average
33970
+ **/
33971
+ _avg?: CampaignToCategoryAvgAggregateInputType
33972
+ /**
33973
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
33974
+ *
33975
+ * Select which fields to sum
33976
+ **/
33977
+ _sum?: CampaignToCategorySumAggregateInputType
33978
+ /**
33979
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
33980
+ *
33981
+ * Select which fields to find the minimum value
33982
+ **/
33983
+ _min?: CampaignToCategoryMinAggregateInputType
33984
+ /**
33985
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
33986
+ *
33987
+ * Select which fields to find the maximum value
33988
+ **/
33989
+ _max?: CampaignToCategoryMaxAggregateInputType
33990
+ }
33991
+
33992
+ export type GetCampaignToCategoryAggregateType<T extends CampaignToCategoryAggregateArgs> = {
33993
+ [P in keyof T & keyof AggregateCampaignToCategory]: P extends '_count' | 'count'
33994
+ ? T[P] extends true
33995
+ ? number
33996
+ : GetScalarType<T[P], AggregateCampaignToCategory[P]>
33997
+ : GetScalarType<T[P], AggregateCampaignToCategory[P]>
33998
+ }
33999
+
34000
+
34001
+
34002
+
34003
+ export type CampaignToCategoryGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34004
+ where?: CampaignToCategoryWhereInput
34005
+ orderBy?: CampaignToCategoryOrderByWithAggregationInput | CampaignToCategoryOrderByWithAggregationInput[]
34006
+ by: CampaignToCategoryScalarFieldEnum[] | CampaignToCategoryScalarFieldEnum
34007
+ having?: CampaignToCategoryScalarWhereWithAggregatesInput
34008
+ take?: number
34009
+ skip?: number
34010
+ _count?: CampaignToCategoryCountAggregateInputType | true
34011
+ _avg?: CampaignToCategoryAvgAggregateInputType
34012
+ _sum?: CampaignToCategorySumAggregateInputType
34013
+ _min?: CampaignToCategoryMinAggregateInputType
34014
+ _max?: CampaignToCategoryMaxAggregateInputType
34015
+ }
34016
+
34017
+ export type CampaignToCategoryGroupByOutputType = {
34018
+ campaignId: number
34019
+ categoryId: number
34020
+ _count: CampaignToCategoryCountAggregateOutputType | null
34021
+ _avg: CampaignToCategoryAvgAggregateOutputType | null
34022
+ _sum: CampaignToCategorySumAggregateOutputType | null
34023
+ _min: CampaignToCategoryMinAggregateOutputType | null
34024
+ _max: CampaignToCategoryMaxAggregateOutputType | null
34025
+ }
34026
+
34027
+ type GetCampaignToCategoryGroupByPayload<T extends CampaignToCategoryGroupByArgs> = Prisma.PrismaPromise<
34028
+ Array<
34029
+ PickEnumerable<CampaignToCategoryGroupByOutputType, T['by']> &
34030
+ {
34031
+ [P in ((keyof T) & (keyof CampaignToCategoryGroupByOutputType))]: P extends '_count'
34032
+ ? T[P] extends boolean
34033
+ ? number
34034
+ : GetScalarType<T[P], CampaignToCategoryGroupByOutputType[P]>
34035
+ : GetScalarType<T[P], CampaignToCategoryGroupByOutputType[P]>
34036
+ }
34037
+ >
34038
+ >
34039
+
34040
+
34041
+ export type CampaignToCategorySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
34042
+ campaignId?: boolean
34043
+ categoryId?: boolean
34044
+ campaign?: boolean | CampaignDefaultArgs<ExtArgs>
34045
+ category?: boolean | CategoryDefaultArgs<ExtArgs>
34046
+ }, ExtArgs["result"]["campaignToCategory"]>
34047
+
34048
+ export type CampaignToCategorySelectScalar = {
34049
+ campaignId?: boolean
34050
+ categoryId?: boolean
34051
+ }
34052
+
34053
+
34054
+ export type CampaignToCategoryInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34055
+ campaign?: boolean | CampaignDefaultArgs<ExtArgs>
34056
+ category?: boolean | CategoryDefaultArgs<ExtArgs>
34057
+ }
34058
+
34059
+
34060
+ export type $CampaignToCategoryPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34061
+ name: "CampaignToCategory"
34062
+ objects: {
34063
+ campaign: Prisma.$CampaignPayload<ExtArgs>
34064
+ category: Prisma.$CategoryPayload<ExtArgs>
34065
+ }
34066
+ scalars: $Extensions.GetPayloadResult<{
34067
+ campaignId: number
34068
+ categoryId: number
34069
+ }, ExtArgs["result"]["campaignToCategory"]>
34070
+ composites: {}
34071
+ }
34072
+
34073
+
34074
+ type CampaignToCategoryGetPayload<S extends boolean | null | undefined | CampaignToCategoryDefaultArgs> = $Result.GetResult<Prisma.$CampaignToCategoryPayload, S>
34075
+
34076
+ type CampaignToCategoryCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
34077
+ Omit<CampaignToCategoryFindManyArgs, 'select' | 'include' | 'distinct'> & {
34078
+ select?: CampaignToCategoryCountAggregateInputType | true
34079
+ }
34080
+
34081
+ export interface CampaignToCategoryDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
34082
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CampaignToCategory'], meta: { name: 'CampaignToCategory' } }
34083
+ /**
34084
+ * Find zero or one CampaignToCategory that matches the filter.
34085
+ * @param {CampaignToCategoryFindUniqueArgs} args - Arguments to find a CampaignToCategory
34086
+ * @example
34087
+ * // Get one CampaignToCategory
34088
+ * const campaignToCategory = await prisma.campaignToCategory.findUnique({
34089
+ * where: {
34090
+ * // ... provide filter here
34091
+ * }
34092
+ * })
34093
+ **/
34094
+ findUnique<T extends CampaignToCategoryFindUniqueArgs<ExtArgs>>(
34095
+ args: SelectSubset<T, CampaignToCategoryFindUniqueArgs<ExtArgs>>
34096
+ ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
34097
+
34098
+ /**
34099
+ * Find one CampaignToCategory that matches the filter or throw an error with `error.code='P2025'`
34100
+ * if no matches were found.
34101
+ * @param {CampaignToCategoryFindUniqueOrThrowArgs} args - Arguments to find a CampaignToCategory
34102
+ * @example
34103
+ * // Get one CampaignToCategory
34104
+ * const campaignToCategory = await prisma.campaignToCategory.findUniqueOrThrow({
34105
+ * where: {
34106
+ * // ... provide filter here
34107
+ * }
34108
+ * })
34109
+ **/
34110
+ findUniqueOrThrow<T extends CampaignToCategoryFindUniqueOrThrowArgs<ExtArgs>>(
34111
+ args?: SelectSubset<T, CampaignToCategoryFindUniqueOrThrowArgs<ExtArgs>>
34112
+ ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
34113
+
34114
+ /**
34115
+ * Find the first CampaignToCategory that matches the filter.
34116
+ * Note, that providing `undefined` is treated as the value not being there.
34117
+ * Read more here: https://pris.ly/d/null-undefined
34118
+ * @param {CampaignToCategoryFindFirstArgs} args - Arguments to find a CampaignToCategory
34119
+ * @example
34120
+ * // Get one CampaignToCategory
34121
+ * const campaignToCategory = await prisma.campaignToCategory.findFirst({
34122
+ * where: {
34123
+ * // ... provide filter here
34124
+ * }
34125
+ * })
34126
+ **/
34127
+ findFirst<T extends CampaignToCategoryFindFirstArgs<ExtArgs>>(
34128
+ args?: SelectSubset<T, CampaignToCategoryFindFirstArgs<ExtArgs>>
34129
+ ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
34130
+
34131
+ /**
34132
+ * Find the first CampaignToCategory that matches the filter or
34133
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
34134
+ * Note, that providing `undefined` is treated as the value not being there.
34135
+ * Read more here: https://pris.ly/d/null-undefined
34136
+ * @param {CampaignToCategoryFindFirstOrThrowArgs} args - Arguments to find a CampaignToCategory
34137
+ * @example
34138
+ * // Get one CampaignToCategory
34139
+ * const campaignToCategory = await prisma.campaignToCategory.findFirstOrThrow({
34140
+ * where: {
34141
+ * // ... provide filter here
34142
+ * }
34143
+ * })
34144
+ **/
34145
+ findFirstOrThrow<T extends CampaignToCategoryFindFirstOrThrowArgs<ExtArgs>>(
34146
+ args?: SelectSubset<T, CampaignToCategoryFindFirstOrThrowArgs<ExtArgs>>
34147
+ ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
34148
+
34149
+ /**
34150
+ * Find zero or more CampaignToCategories that matches the filter.
34151
+ * Note, that providing `undefined` is treated as the value not being there.
34152
+ * Read more here: https://pris.ly/d/null-undefined
34153
+ * @param {CampaignToCategoryFindManyArgs} args - Arguments to filter and select certain fields only.
34154
+ * @example
34155
+ * // Get all CampaignToCategories
34156
+ * const campaignToCategories = await prisma.campaignToCategory.findMany()
34157
+ *
34158
+ * // Get first 10 CampaignToCategories
34159
+ * const campaignToCategories = await prisma.campaignToCategory.findMany({ take: 10 })
34160
+ *
34161
+ * // Only select the `campaignId`
34162
+ * const campaignToCategoryWithCampaignIdOnly = await prisma.campaignToCategory.findMany({ select: { campaignId: true } })
34163
+ *
34164
+ **/
34165
+ findMany<T extends CampaignToCategoryFindManyArgs<ExtArgs>>(
34166
+ args?: SelectSubset<T, CampaignToCategoryFindManyArgs<ExtArgs>>
34167
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'findMany'>>
34168
+
34169
+ /**
34170
+ * Create a CampaignToCategory.
34171
+ * @param {CampaignToCategoryCreateArgs} args - Arguments to create a CampaignToCategory.
34172
+ * @example
34173
+ * // Create one CampaignToCategory
34174
+ * const CampaignToCategory = await prisma.campaignToCategory.create({
34175
+ * data: {
34176
+ * // ... data to create a CampaignToCategory
34177
+ * }
34178
+ * })
34179
+ *
34180
+ **/
34181
+ create<T extends CampaignToCategoryCreateArgs<ExtArgs>>(
34182
+ args: SelectSubset<T, CampaignToCategoryCreateArgs<ExtArgs>>
34183
+ ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
34184
+
34185
+ /**
34186
+ * Create many CampaignToCategories.
34187
+ * @param {CampaignToCategoryCreateManyArgs} args - Arguments to create many CampaignToCategories.
34188
+ * @example
34189
+ * // Create many CampaignToCategories
34190
+ * const campaignToCategory = await prisma.campaignToCategory.createMany({
34191
+ * data: [
34192
+ * // ... provide data here
34193
+ * ]
34194
+ * })
34195
+ *
34196
+ **/
34197
+ createMany<T extends CampaignToCategoryCreateManyArgs<ExtArgs>>(
34198
+ args?: SelectSubset<T, CampaignToCategoryCreateManyArgs<ExtArgs>>
34199
+ ): Prisma.PrismaPromise<BatchPayload>
34200
+
34201
+ /**
34202
+ * Create many CampaignToCategories and returns the data saved in the database.
34203
+ * @param {CampaignToCategoryCreateManyAndReturnArgs} args - Arguments to create many CampaignToCategories.
34204
+ * @example
34205
+ * // Create many CampaignToCategories
34206
+ * const campaignToCategory = await prisma.campaignToCategory.createManyAndReturn({
34207
+ * data: [
34208
+ * // ... provide data here
34209
+ * ]
34210
+ * })
34211
+ *
34212
+ * // Create many CampaignToCategories and only return the `campaignId`
34213
+ * const campaignToCategoryWithCampaignIdOnly = await prisma.campaignToCategory.createManyAndReturn({
34214
+ * select: { campaignId: true },
34215
+ * data: [
34216
+ * // ... provide data here
34217
+ * ]
34218
+ * })
34219
+ * Note, that providing `undefined` is treated as the value not being there.
34220
+ * Read more here: https://pris.ly/d/null-undefined
34221
+ *
34222
+ **/
34223
+ createManyAndReturn<T extends CampaignToCategoryCreateManyAndReturnArgs<ExtArgs>>(
34224
+ args?: SelectSubset<T, CampaignToCategoryCreateManyAndReturnArgs<ExtArgs>>
34225
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'createManyAndReturn'>>
34226
+
34227
+ /**
34228
+ * Delete a CampaignToCategory.
34229
+ * @param {CampaignToCategoryDeleteArgs} args - Arguments to delete one CampaignToCategory.
34230
+ * @example
34231
+ * // Delete one CampaignToCategory
34232
+ * const CampaignToCategory = await prisma.campaignToCategory.delete({
34233
+ * where: {
34234
+ * // ... filter to delete one CampaignToCategory
34235
+ * }
34236
+ * })
34237
+ *
34238
+ **/
34239
+ delete<T extends CampaignToCategoryDeleteArgs<ExtArgs>>(
34240
+ args: SelectSubset<T, CampaignToCategoryDeleteArgs<ExtArgs>>
34241
+ ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
34242
+
34243
+ /**
34244
+ * Update one CampaignToCategory.
34245
+ * @param {CampaignToCategoryUpdateArgs} args - Arguments to update one CampaignToCategory.
34246
+ * @example
34247
+ * // Update one CampaignToCategory
34248
+ * const campaignToCategory = await prisma.campaignToCategory.update({
34249
+ * where: {
34250
+ * // ... provide filter here
34251
+ * },
34252
+ * data: {
34253
+ * // ... provide data here
34254
+ * }
34255
+ * })
34256
+ *
34257
+ **/
34258
+ update<T extends CampaignToCategoryUpdateArgs<ExtArgs>>(
34259
+ args: SelectSubset<T, CampaignToCategoryUpdateArgs<ExtArgs>>
34260
+ ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
34261
+
34262
+ /**
34263
+ * Delete zero or more CampaignToCategories.
34264
+ * @param {CampaignToCategoryDeleteManyArgs} args - Arguments to filter CampaignToCategories to delete.
34265
+ * @example
34266
+ * // Delete a few CampaignToCategories
34267
+ * const { count } = await prisma.campaignToCategory.deleteMany({
34268
+ * where: {
34269
+ * // ... provide filter here
34270
+ * }
34271
+ * })
34272
+ *
34273
+ **/
34274
+ deleteMany<T extends CampaignToCategoryDeleteManyArgs<ExtArgs>>(
34275
+ args?: SelectSubset<T, CampaignToCategoryDeleteManyArgs<ExtArgs>>
34276
+ ): Prisma.PrismaPromise<BatchPayload>
34277
+
34278
+ /**
34279
+ * Update zero or more CampaignToCategories.
34280
+ * Note, that providing `undefined` is treated as the value not being there.
34281
+ * Read more here: https://pris.ly/d/null-undefined
34282
+ * @param {CampaignToCategoryUpdateManyArgs} args - Arguments to update one or more rows.
34283
+ * @example
34284
+ * // Update many CampaignToCategories
34285
+ * const campaignToCategory = await prisma.campaignToCategory.updateMany({
34286
+ * where: {
34287
+ * // ... provide filter here
34288
+ * },
34289
+ * data: {
34290
+ * // ... provide data here
34291
+ * }
34292
+ * })
34293
+ *
34294
+ **/
34295
+ updateMany<T extends CampaignToCategoryUpdateManyArgs<ExtArgs>>(
34296
+ args: SelectSubset<T, CampaignToCategoryUpdateManyArgs<ExtArgs>>
34297
+ ): Prisma.PrismaPromise<BatchPayload>
34298
+
34299
+ /**
34300
+ * Create or update one CampaignToCategory.
34301
+ * @param {CampaignToCategoryUpsertArgs} args - Arguments to update or create a CampaignToCategory.
34302
+ * @example
34303
+ * // Update or create a CampaignToCategory
34304
+ * const campaignToCategory = await prisma.campaignToCategory.upsert({
34305
+ * create: {
34306
+ * // ... data to create a CampaignToCategory
34307
+ * },
34308
+ * update: {
34309
+ * // ... in case it already exists, update
34310
+ * },
34311
+ * where: {
34312
+ * // ... the filter for the CampaignToCategory we want to update
34313
+ * }
34314
+ * })
34315
+ **/
34316
+ upsert<T extends CampaignToCategoryUpsertArgs<ExtArgs>>(
34317
+ args: SelectSubset<T, CampaignToCategoryUpsertArgs<ExtArgs>>
34318
+ ): Prisma__CampaignToCategoryClient<$Result.GetResult<Prisma.$CampaignToCategoryPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
34319
+
34320
+ /**
34321
+ * Count the number of CampaignToCategories.
34322
+ * Note, that providing `undefined` is treated as the value not being there.
34323
+ * Read more here: https://pris.ly/d/null-undefined
34324
+ * @param {CampaignToCategoryCountArgs} args - Arguments to filter CampaignToCategories to count.
34325
+ * @example
34326
+ * // Count the number of CampaignToCategories
34327
+ * const count = await prisma.campaignToCategory.count({
34328
+ * where: {
34329
+ * // ... the filter for the CampaignToCategories we want to count
34330
+ * }
34331
+ * })
34332
+ **/
34333
+ count<T extends CampaignToCategoryCountArgs>(
34334
+ args?: Subset<T, CampaignToCategoryCountArgs>,
34335
+ ): Prisma.PrismaPromise<
34336
+ T extends $Utils.Record<'select', any>
34337
+ ? T['select'] extends true
34338
+ ? number
34339
+ : GetScalarType<T['select'], CampaignToCategoryCountAggregateOutputType>
34340
+ : number
34341
+ >
34342
+
34343
+ /**
34344
+ * Allows you to perform aggregations operations on a CampaignToCategory.
34345
+ * Note, that providing `undefined` is treated as the value not being there.
34346
+ * Read more here: https://pris.ly/d/null-undefined
34347
+ * @param {CampaignToCategoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
34348
+ * @example
34349
+ * // Ordered by age ascending
34350
+ * // Where email contains prisma.io
34351
+ * // Limited to the 10 users
34352
+ * const aggregations = await prisma.user.aggregate({
34353
+ * _avg: {
34354
+ * age: true,
34355
+ * },
34356
+ * where: {
34357
+ * email: {
34358
+ * contains: "prisma.io",
34359
+ * },
34360
+ * },
34361
+ * orderBy: {
34362
+ * age: "asc",
34363
+ * },
34364
+ * take: 10,
34365
+ * })
34366
+ **/
34367
+ aggregate<T extends CampaignToCategoryAggregateArgs>(args: Subset<T, CampaignToCategoryAggregateArgs>): Prisma.PrismaPromise<GetCampaignToCategoryAggregateType<T>>
34368
+
34369
+ /**
34370
+ * Group by CampaignToCategory.
34371
+ * Note, that providing `undefined` is treated as the value not being there.
34372
+ * Read more here: https://pris.ly/d/null-undefined
34373
+ * @param {CampaignToCategoryGroupByArgs} args - Group by arguments.
34374
+ * @example
34375
+ * // Group by city, order by createdAt, get count
34376
+ * const result = await prisma.user.groupBy({
34377
+ * by: ['city', 'createdAt'],
34378
+ * orderBy: {
34379
+ * createdAt: true
34380
+ * },
34381
+ * _count: {
34382
+ * _all: true
34383
+ * },
34384
+ * })
34385
+ *
34386
+ **/
34387
+ groupBy<
34388
+ T extends CampaignToCategoryGroupByArgs,
34389
+ HasSelectOrTake extends Or<
34390
+ Extends<'skip', Keys<T>>,
34391
+ Extends<'take', Keys<T>>
34392
+ >,
34393
+ OrderByArg extends True extends HasSelectOrTake
34394
+ ? { orderBy: CampaignToCategoryGroupByArgs['orderBy'] }
34395
+ : { orderBy?: CampaignToCategoryGroupByArgs['orderBy'] },
33292
34396
  OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
33293
34397
  ByFields extends MaybeTupleToUnion<T['by']>,
33294
34398
  ByValid extends Has<ByFields, OrderFields>,
@@ -56239,6 +57343,7 @@ export namespace Prisma {
56239
57343
  metaData?: boolean
56240
57344
  brandId?: boolean
56241
57345
  affiliateLinks?: boolean | BrandAffiliateLink$affiliateLinksArgs<ExtArgs>
57346
+ campaignToBrandAffiliateLink?: boolean | BrandAffiliateLink$campaignToBrandAffiliateLinkArgs<ExtArgs>
56242
57347
  brand?: boolean | BrandDefaultArgs<ExtArgs>
56243
57348
  _count?: boolean | BrandAffiliateLinkCountOutputTypeDefaultArgs<ExtArgs>
56244
57349
  }, ExtArgs["result"]["brandAffiliateLink"]>
@@ -56256,6 +57361,7 @@ export namespace Prisma {
56256
57361
 
56257
57362
  export type BrandAffiliateLinkInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
56258
57363
  affiliateLinks?: boolean | BrandAffiliateLink$affiliateLinksArgs<ExtArgs>
57364
+ campaignToBrandAffiliateLink?: boolean | BrandAffiliateLink$campaignToBrandAffiliateLinkArgs<ExtArgs>
56259
57365
  brand?: boolean | BrandDefaultArgs<ExtArgs>
56260
57366
  _count?: boolean | BrandAffiliateLinkCountOutputTypeDefaultArgs<ExtArgs>
56261
57367
  }
@@ -56265,6 +57371,7 @@ export namespace Prisma {
56265
57371
  name: "BrandAffiliateLink"
56266
57372
  objects: {
56267
57373
  affiliateLinks: Prisma.$AffiliateLinkPayload<ExtArgs>[]
57374
+ campaignToBrandAffiliateLink: Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>[]
56268
57375
  brand: Prisma.$BrandPayload<ExtArgs>
56269
57376
  }
56270
57377
  scalars: $Extensions.GetPayloadResult<{
@@ -56668,6 +57775,8 @@ export namespace Prisma {
56668
57775
 
56669
57776
  affiliateLinks<T extends BrandAffiliateLink$affiliateLinksArgs<ExtArgs> = {}>(args?: Subset<T, BrandAffiliateLink$affiliateLinksArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AffiliateLinkPayload<ExtArgs>, T, 'findMany'> | Null>;
56670
57777
 
57778
+ campaignToBrandAffiliateLink<T extends BrandAffiliateLink$campaignToBrandAffiliateLinkArgs<ExtArgs> = {}>(args?: Subset<T, BrandAffiliateLink$campaignToBrandAffiliateLinkArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToBrandAffiliateLinkPayload<ExtArgs>, T, 'findMany'> | Null>;
57779
+
56671
57780
  brand<T extends BrandDefaultArgs<ExtArgs> = {}>(args?: Subset<T, BrandDefaultArgs<ExtArgs>>): Prisma__BrandClient<$Result.GetResult<Prisma.$BrandPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
56672
57781
 
56673
57782
  /**
@@ -57042,6 +58151,26 @@ export namespace Prisma {
57042
58151
  distinct?: AffiliateLinkScalarFieldEnum | AffiliateLinkScalarFieldEnum[]
57043
58152
  }
57044
58153
 
58154
+ /**
58155
+ * BrandAffiliateLink.campaignToBrandAffiliateLink
58156
+ */
58157
+ export type BrandAffiliateLink$campaignToBrandAffiliateLinkArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
58158
+ /**
58159
+ * Select specific fields to fetch from the CampaignToBrandAffiliateLink
58160
+ */
58161
+ select?: CampaignToBrandAffiliateLinkSelect<ExtArgs> | null
58162
+ /**
58163
+ * Choose, which related nodes to fetch as well
58164
+ */
58165
+ include?: CampaignToBrandAffiliateLinkInclude<ExtArgs> | null
58166
+ where?: CampaignToBrandAffiliateLinkWhereInput
58167
+ orderBy?: CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput | CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput[]
58168
+ cursor?: CampaignToBrandAffiliateLinkWhereUniqueInput
58169
+ take?: number
58170
+ skip?: number
58171
+ distinct?: CampaignToBrandAffiliateLinkScalarFieldEnum | CampaignToBrandAffiliateLinkScalarFieldEnum[]
58172
+ }
58173
+
57045
58174
  /**
57046
58175
  * BrandAffiliateLink without action
57047
58176
  */
@@ -83556,6 +84685,15 @@ export namespace Prisma {
83556
84685
  export type CampaignToImageScalarFieldEnum = (typeof CampaignToImageScalarFieldEnum)[keyof typeof CampaignToImageScalarFieldEnum]
83557
84686
 
83558
84687
 
84688
+ export const CampaignToBrandAffiliateLinkScalarFieldEnum: {
84689
+ id: 'id',
84690
+ campaignId: 'campaignId',
84691
+ brandAffiliateLinkId: 'brandAffiliateLinkId'
84692
+ };
84693
+
84694
+ export type CampaignToBrandAffiliateLinkScalarFieldEnum = (typeof CampaignToBrandAffiliateLinkScalarFieldEnum)[keyof typeof CampaignToBrandAffiliateLinkScalarFieldEnum]
84695
+
84696
+
83559
84697
  export const CampaignToCategoryScalarFieldEnum: {
83560
84698
  campaignId: 'campaignId',
83561
84699
  categoryId: 'categoryId'
@@ -86728,6 +87866,7 @@ export namespace Prisma {
86728
87866
  socialPosts?: SocialPostListRelationFilter
86729
87867
  campaignInvites?: CampaignInviteListRelationFilter
86730
87868
  campaignToShopifyProducts?: CampaignToShopifyProductListRelationFilter
87869
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkListRelationFilter
86731
87870
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
86732
87871
  creatorLists?: CreatorListListRelationFilter
86733
87872
  optInViews?: OptInViewListRelationFilter
@@ -86799,6 +87938,7 @@ export namespace Prisma {
86799
87938
  socialPosts?: SocialPostOrderByRelationAggregateInput
86800
87939
  campaignInvites?: CampaignInviteOrderByRelationAggregateInput
86801
87940
  campaignToShopifyProducts?: CampaignToShopifyProductOrderByRelationAggregateInput
87941
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkOrderByRelationAggregateInput
86802
87942
  brand?: BrandOrderByWithRelationAndSearchRelevanceInput
86803
87943
  creatorLists?: CreatorListOrderByRelationAggregateInput
86804
87944
  optInViews?: OptInViewOrderByRelationAggregateInput
@@ -86874,6 +88014,7 @@ export namespace Prisma {
86874
88014
  socialPosts?: SocialPostListRelationFilter
86875
88015
  campaignInvites?: CampaignInviteListRelationFilter
86876
88016
  campaignToShopifyProducts?: CampaignToShopifyProductListRelationFilter
88017
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkListRelationFilter
86877
88018
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
86878
88019
  creatorLists?: CreatorListListRelationFilter
86879
88020
  optInViews?: OptInViewListRelationFilter
@@ -87111,6 +88252,56 @@ export namespace Prisma {
87111
88252
  type?: StringWithAggregatesFilter<"CampaignToImage"> | string
87112
88253
  }
87113
88254
 
88255
+ export type CampaignToBrandAffiliateLinkWhereInput = {
88256
+ AND?: CampaignToBrandAffiliateLinkWhereInput | CampaignToBrandAffiliateLinkWhereInput[]
88257
+ OR?: CampaignToBrandAffiliateLinkWhereInput[]
88258
+ NOT?: CampaignToBrandAffiliateLinkWhereInput | CampaignToBrandAffiliateLinkWhereInput[]
88259
+ id?: IntFilter<"CampaignToBrandAffiliateLink"> | number
88260
+ campaignId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
88261
+ brandAffiliateLinkId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
88262
+ campaign?: XOR<CampaignRelationFilter, CampaignWhereInput>
88263
+ brandAffiliateLink?: XOR<BrandAffiliateLinkRelationFilter, BrandAffiliateLinkWhereInput>
88264
+ }
88265
+
88266
+ export type CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput = {
88267
+ id?: SortOrder
88268
+ campaignId?: SortOrder
88269
+ brandAffiliateLinkId?: SortOrder
88270
+ campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
88271
+ brandAffiliateLink?: BrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput
88272
+ }
88273
+
88274
+ export type CampaignToBrandAffiliateLinkWhereUniqueInput = Prisma.AtLeast<{
88275
+ id?: number
88276
+ AND?: CampaignToBrandAffiliateLinkWhereInput | CampaignToBrandAffiliateLinkWhereInput[]
88277
+ OR?: CampaignToBrandAffiliateLinkWhereInput[]
88278
+ NOT?: CampaignToBrandAffiliateLinkWhereInput | CampaignToBrandAffiliateLinkWhereInput[]
88279
+ campaignId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
88280
+ brandAffiliateLinkId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
88281
+ campaign?: XOR<CampaignRelationFilter, CampaignWhereInput>
88282
+ brandAffiliateLink?: XOR<BrandAffiliateLinkRelationFilter, BrandAffiliateLinkWhereInput>
88283
+ }, "id">
88284
+
88285
+ export type CampaignToBrandAffiliateLinkOrderByWithAggregationInput = {
88286
+ id?: SortOrder
88287
+ campaignId?: SortOrder
88288
+ brandAffiliateLinkId?: SortOrder
88289
+ _count?: CampaignToBrandAffiliateLinkCountOrderByAggregateInput
88290
+ _avg?: CampaignToBrandAffiliateLinkAvgOrderByAggregateInput
88291
+ _max?: CampaignToBrandAffiliateLinkMaxOrderByAggregateInput
88292
+ _min?: CampaignToBrandAffiliateLinkMinOrderByAggregateInput
88293
+ _sum?: CampaignToBrandAffiliateLinkSumOrderByAggregateInput
88294
+ }
88295
+
88296
+ export type CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput = {
88297
+ AND?: CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput | CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput[]
88298
+ OR?: CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput[]
88299
+ NOT?: CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput | CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput[]
88300
+ id?: IntWithAggregatesFilter<"CampaignToBrandAffiliateLink"> | number
88301
+ campaignId?: IntWithAggregatesFilter<"CampaignToBrandAffiliateLink"> | number
88302
+ brandAffiliateLinkId?: IntWithAggregatesFilter<"CampaignToBrandAffiliateLink"> | number
88303
+ }
88304
+
87114
88305
  export type CampaignToCategoryWhereInput = {
87115
88306
  AND?: CampaignToCategoryWhereInput | CampaignToCategoryWhereInput[]
87116
88307
  OR?: CampaignToCategoryWhereInput[]
@@ -88824,6 +90015,7 @@ export namespace Prisma {
88824
90015
  metaData?: JsonFilter<"BrandAffiliateLink">
88825
90016
  brandId?: IntFilter<"BrandAffiliateLink"> | number
88826
90017
  affiliateLinks?: AffiliateLinkListRelationFilter
90018
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkListRelationFilter
88827
90019
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
88828
90020
  }
88829
90021
 
@@ -88836,6 +90028,7 @@ export namespace Prisma {
88836
90028
  metaData?: SortOrder
88837
90029
  brandId?: SortOrder
88838
90030
  affiliateLinks?: AffiliateLinkOrderByRelationAggregateInput
90031
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkOrderByRelationAggregateInput
88839
90032
  brand?: BrandOrderByWithRelationAndSearchRelevanceInput
88840
90033
  _relevance?: BrandAffiliateLinkOrderByRelevanceInput
88841
90034
  }
@@ -88852,6 +90045,7 @@ export namespace Prisma {
88852
90045
  metaData?: JsonFilter<"BrandAffiliateLink">
88853
90046
  brandId?: IntFilter<"BrandAffiliateLink"> | number
88854
90047
  affiliateLinks?: AffiliateLinkListRelationFilter
90048
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkListRelationFilter
88855
90049
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
88856
90050
  }, "id">
88857
90051
 
@@ -92691,6 +93885,7 @@ export namespace Prisma {
92691
93885
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
92692
93886
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
92693
93887
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
93888
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
92694
93889
  brand: BrandCreateNestedOneWithoutCampaignsInput
92695
93890
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
92696
93891
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -92762,6 +93957,7 @@ export namespace Prisma {
92762
93957
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
92763
93958
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
92764
93959
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
93960
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
92765
93961
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
92766
93962
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
92767
93963
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -92830,6 +94026,7 @@ export namespace Prisma {
92830
94026
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
92831
94027
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
92832
94028
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
94029
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
92833
94030
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
92834
94031
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
92835
94032
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -92901,6 +94098,7 @@ export namespace Prisma {
92901
94098
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
92902
94099
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
92903
94100
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
94101
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
92904
94102
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
92905
94103
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
92906
94104
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -93165,6 +94363,44 @@ export namespace Prisma {
93165
94363
  type?: StringFieldUpdateOperationsInput | string
93166
94364
  }
93167
94365
 
94366
+ export type CampaignToBrandAffiliateLinkCreateInput = {
94367
+ campaign: CampaignCreateNestedOneWithoutCampaignToBrandAffiliateLinksInput
94368
+ brandAffiliateLink: BrandAffiliateLinkCreateNestedOneWithoutCampaignToBrandAffiliateLinkInput
94369
+ }
94370
+
94371
+ export type CampaignToBrandAffiliateLinkUncheckedCreateInput = {
94372
+ id?: number
94373
+ campaignId: number
94374
+ brandAffiliateLinkId: number
94375
+ }
94376
+
94377
+ export type CampaignToBrandAffiliateLinkUpdateInput = {
94378
+ campaign?: CampaignUpdateOneRequiredWithoutCampaignToBrandAffiliateLinksNestedInput
94379
+ brandAffiliateLink?: BrandAffiliateLinkUpdateOneRequiredWithoutCampaignToBrandAffiliateLinkNestedInput
94380
+ }
94381
+
94382
+ export type CampaignToBrandAffiliateLinkUncheckedUpdateInput = {
94383
+ id?: IntFieldUpdateOperationsInput | number
94384
+ campaignId?: IntFieldUpdateOperationsInput | number
94385
+ brandAffiliateLinkId?: IntFieldUpdateOperationsInput | number
94386
+ }
94387
+
94388
+ export type CampaignToBrandAffiliateLinkCreateManyInput = {
94389
+ id?: number
94390
+ campaignId: number
94391
+ brandAffiliateLinkId: number
94392
+ }
94393
+
94394
+ export type CampaignToBrandAffiliateLinkUpdateManyMutationInput = {
94395
+
94396
+ }
94397
+
94398
+ export type CampaignToBrandAffiliateLinkUncheckedUpdateManyInput = {
94399
+ id?: IntFieldUpdateOperationsInput | number
94400
+ campaignId?: IntFieldUpdateOperationsInput | number
94401
+ brandAffiliateLinkId?: IntFieldUpdateOperationsInput | number
94402
+ }
94403
+
93168
94404
  export type CampaignToCategoryCreateInput = {
93169
94405
  campaign: CampaignCreateNestedOneWithoutCategoriesInput
93170
94406
  category: CategoryCreateNestedOneWithoutCampaignsInput
@@ -94878,6 +96114,7 @@ export namespace Prisma {
94878
96114
  commission?: number
94879
96115
  metaData?: JsonNullValueInput | InputJsonValue
94880
96116
  affiliateLinks?: AffiliateLinkCreateNestedManyWithoutBrandAffiliateLinkInput
96117
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutBrandAffiliateLinkInput
94881
96118
  brand: BrandCreateNestedOneWithoutAffiliateLinksInput
94882
96119
  }
94883
96120
 
@@ -94890,6 +96127,7 @@ export namespace Prisma {
94890
96127
  metaData?: JsonNullValueInput | InputJsonValue
94891
96128
  brandId: number
94892
96129
  affiliateLinks?: AffiliateLinkUncheckedCreateNestedManyWithoutBrandAffiliateLinkInput
96130
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutBrandAffiliateLinkInput
94893
96131
  }
94894
96132
 
94895
96133
  export type BrandAffiliateLinkUpdateInput = {
@@ -94899,6 +96137,7 @@ export namespace Prisma {
94899
96137
  commission?: FloatFieldUpdateOperationsInput | number
94900
96138
  metaData?: JsonNullValueInput | InputJsonValue
94901
96139
  affiliateLinks?: AffiliateLinkUpdateManyWithoutBrandAffiliateLinkNestedInput
96140
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkUpdateManyWithoutBrandAffiliateLinkNestedInput
94902
96141
  brand?: BrandUpdateOneRequiredWithoutAffiliateLinksNestedInput
94903
96142
  }
94904
96143
 
@@ -94911,6 +96150,7 @@ export namespace Prisma {
94911
96150
  metaData?: JsonNullValueInput | InputJsonValue
94912
96151
  brandId?: IntFieldUpdateOperationsInput | number
94913
96152
  affiliateLinks?: AffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkNestedInput
96153
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkNestedInput
94914
96154
  }
94915
96155
 
94916
96156
  export type BrandAffiliateLinkCreateManyInput = {
@@ -98559,6 +99799,12 @@ export namespace Prisma {
98559
99799
  none?: CampaignToShopifyProductWhereInput
98560
99800
  }
98561
99801
 
99802
+ export type CampaignToBrandAffiliateLinkListRelationFilter = {
99803
+ every?: CampaignToBrandAffiliateLinkWhereInput
99804
+ some?: CampaignToBrandAffiliateLinkWhereInput
99805
+ none?: CampaignToBrandAffiliateLinkWhereInput
99806
+ }
99807
+
98562
99808
  export type OptInViewListRelationFilter = {
98563
99809
  every?: OptInViewWhereInput
98564
99810
  some?: OptInViewWhereInput
@@ -98593,6 +99839,10 @@ export namespace Prisma {
98593
99839
  _count?: SortOrder
98594
99840
  }
98595
99841
 
99842
+ export type CampaignToBrandAffiliateLinkOrderByRelationAggregateInput = {
99843
+ _count?: SortOrder
99844
+ }
99845
+
98596
99846
  export type OptInViewOrderByRelationAggregateInput = {
98597
99847
  _count?: SortOrder
98598
99848
  }
@@ -98900,6 +100150,41 @@ export namespace Prisma {
98900
100150
  campaignId?: SortOrder
98901
100151
  }
98902
100152
 
100153
+ export type BrandAffiliateLinkRelationFilter = {
100154
+ is?: BrandAffiliateLinkWhereInput
100155
+ isNot?: BrandAffiliateLinkWhereInput
100156
+ }
100157
+
100158
+ export type CampaignToBrandAffiliateLinkCountOrderByAggregateInput = {
100159
+ id?: SortOrder
100160
+ campaignId?: SortOrder
100161
+ brandAffiliateLinkId?: SortOrder
100162
+ }
100163
+
100164
+ export type CampaignToBrandAffiliateLinkAvgOrderByAggregateInput = {
100165
+ id?: SortOrder
100166
+ campaignId?: SortOrder
100167
+ brandAffiliateLinkId?: SortOrder
100168
+ }
100169
+
100170
+ export type CampaignToBrandAffiliateLinkMaxOrderByAggregateInput = {
100171
+ id?: SortOrder
100172
+ campaignId?: SortOrder
100173
+ brandAffiliateLinkId?: SortOrder
100174
+ }
100175
+
100176
+ export type CampaignToBrandAffiliateLinkMinOrderByAggregateInput = {
100177
+ id?: SortOrder
100178
+ campaignId?: SortOrder
100179
+ brandAffiliateLinkId?: SortOrder
100180
+ }
100181
+
100182
+ export type CampaignToBrandAffiliateLinkSumOrderByAggregateInput = {
100183
+ id?: SortOrder
100184
+ campaignId?: SortOrder
100185
+ brandAffiliateLinkId?: SortOrder
100186
+ }
100187
+
98903
100188
  export type CampaignToCategoryCampaignIdCategoryIdCompoundUniqueInput = {
98904
100189
  campaignId: number
98905
100190
  categoryId: number
@@ -100255,11 +101540,6 @@ export namespace Prisma {
100255
101540
  brandId?: SortOrder
100256
101541
  }
100257
101542
 
100258
- export type BrandAffiliateLinkRelationFilter = {
100259
- is?: BrandAffiliateLinkWhereInput
100260
- isNot?: BrandAffiliateLinkWhereInput
100261
- }
100262
-
100263
101543
  export type AffiliateLinkCountOrderByAggregateInput = {
100264
101544
  id?: SortOrder
100265
101545
  created?: SortOrder
@@ -104024,6 +105304,13 @@ export namespace Prisma {
104024
105304
  connect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
104025
105305
  }
104026
105306
 
105307
+ export type CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput = {
105308
+ create?: XOR<CampaignToBrandAffiliateLinkCreateWithoutCampaignInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput> | CampaignToBrandAffiliateLinkCreateWithoutCampaignInput[] | CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput[]
105309
+ connectOrCreate?: CampaignToBrandAffiliateLinkCreateOrConnectWithoutCampaignInput | CampaignToBrandAffiliateLinkCreateOrConnectWithoutCampaignInput[]
105310
+ createMany?: CampaignToBrandAffiliateLinkCreateManyCampaignInputEnvelope
105311
+ connect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
105312
+ }
105313
+
104027
105314
  export type BrandCreateNestedOneWithoutCampaignsInput = {
104028
105315
  create?: XOR<BrandCreateWithoutCampaignsInput, BrandUncheckedCreateWithoutCampaignsInput>
104029
105316
  connectOrCreate?: BrandCreateOrConnectWithoutCampaignsInput
@@ -104128,6 +105415,13 @@ export namespace Prisma {
104128
105415
  connect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
104129
105416
  }
104130
105417
 
105418
+ export type CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput = {
105419
+ create?: XOR<CampaignToBrandAffiliateLinkCreateWithoutCampaignInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput> | CampaignToBrandAffiliateLinkCreateWithoutCampaignInput[] | CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput[]
105420
+ connectOrCreate?: CampaignToBrandAffiliateLinkCreateOrConnectWithoutCampaignInput | CampaignToBrandAffiliateLinkCreateOrConnectWithoutCampaignInput[]
105421
+ createMany?: CampaignToBrandAffiliateLinkCreateManyCampaignInputEnvelope
105422
+ connect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
105423
+ }
105424
+
104131
105425
  export type CreatorListUncheckedCreateNestedManyWithoutCampaignInput = {
104132
105426
  create?: XOR<CreatorListCreateWithoutCampaignInput, CreatorListUncheckedCreateWithoutCampaignInput> | CreatorListCreateWithoutCampaignInput[] | CreatorListUncheckedCreateWithoutCampaignInput[]
104133
105427
  connectOrCreate?: CreatorListCreateOrConnectWithoutCampaignInput | CreatorListCreateOrConnectWithoutCampaignInput[]
@@ -104303,6 +105597,20 @@ export namespace Prisma {
104303
105597
  deleteMany?: CampaignToShopifyProductScalarWhereInput | CampaignToShopifyProductScalarWhereInput[]
104304
105598
  }
104305
105599
 
105600
+ export type CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput = {
105601
+ create?: XOR<CampaignToBrandAffiliateLinkCreateWithoutCampaignInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput> | CampaignToBrandAffiliateLinkCreateWithoutCampaignInput[] | CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput[]
105602
+ connectOrCreate?: CampaignToBrandAffiliateLinkCreateOrConnectWithoutCampaignInput | CampaignToBrandAffiliateLinkCreateOrConnectWithoutCampaignInput[]
105603
+ upsert?: CampaignToBrandAffiliateLinkUpsertWithWhereUniqueWithoutCampaignInput | CampaignToBrandAffiliateLinkUpsertWithWhereUniqueWithoutCampaignInput[]
105604
+ createMany?: CampaignToBrandAffiliateLinkCreateManyCampaignInputEnvelope
105605
+ set?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
105606
+ disconnect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
105607
+ delete?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
105608
+ connect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
105609
+ update?: CampaignToBrandAffiliateLinkUpdateWithWhereUniqueWithoutCampaignInput | CampaignToBrandAffiliateLinkUpdateWithWhereUniqueWithoutCampaignInput[]
105610
+ updateMany?: CampaignToBrandAffiliateLinkUpdateManyWithWhereWithoutCampaignInput | CampaignToBrandAffiliateLinkUpdateManyWithWhereWithoutCampaignInput[]
105611
+ deleteMany?: CampaignToBrandAffiliateLinkScalarWhereInput | CampaignToBrandAffiliateLinkScalarWhereInput[]
105612
+ }
105613
+
104306
105614
  export type BrandUpdateOneRequiredWithoutCampaignsNestedInput = {
104307
105615
  create?: XOR<BrandCreateWithoutCampaignsInput, BrandUncheckedCreateWithoutCampaignsInput>
104308
105616
  connectOrCreate?: BrandCreateOrConnectWithoutCampaignsInput
@@ -104507,6 +105815,20 @@ export namespace Prisma {
104507
105815
  deleteMany?: CampaignToShopifyProductScalarWhereInput | CampaignToShopifyProductScalarWhereInput[]
104508
105816
  }
104509
105817
 
105818
+ export type CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput = {
105819
+ create?: XOR<CampaignToBrandAffiliateLinkCreateWithoutCampaignInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput> | CampaignToBrandAffiliateLinkCreateWithoutCampaignInput[] | CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput[]
105820
+ connectOrCreate?: CampaignToBrandAffiliateLinkCreateOrConnectWithoutCampaignInput | CampaignToBrandAffiliateLinkCreateOrConnectWithoutCampaignInput[]
105821
+ upsert?: CampaignToBrandAffiliateLinkUpsertWithWhereUniqueWithoutCampaignInput | CampaignToBrandAffiliateLinkUpsertWithWhereUniqueWithoutCampaignInput[]
105822
+ createMany?: CampaignToBrandAffiliateLinkCreateManyCampaignInputEnvelope
105823
+ set?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
105824
+ disconnect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
105825
+ delete?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
105826
+ connect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
105827
+ update?: CampaignToBrandAffiliateLinkUpdateWithWhereUniqueWithoutCampaignInput | CampaignToBrandAffiliateLinkUpdateWithWhereUniqueWithoutCampaignInput[]
105828
+ updateMany?: CampaignToBrandAffiliateLinkUpdateManyWithWhereWithoutCampaignInput | CampaignToBrandAffiliateLinkUpdateManyWithWhereWithoutCampaignInput[]
105829
+ deleteMany?: CampaignToBrandAffiliateLinkScalarWhereInput | CampaignToBrandAffiliateLinkScalarWhereInput[]
105830
+ }
105831
+
104510
105832
  export type CreatorListUncheckedUpdateManyWithoutCampaignNestedInput = {
104511
105833
  create?: XOR<CreatorListCreateWithoutCampaignInput, CreatorListUncheckedCreateWithoutCampaignInput> | CreatorListCreateWithoutCampaignInput[] | CreatorListUncheckedCreateWithoutCampaignInput[]
104512
105834
  connectOrCreate?: CreatorListCreateOrConnectWithoutCampaignInput | CreatorListCreateOrConnectWithoutCampaignInput[]
@@ -104633,6 +105955,34 @@ export namespace Prisma {
104633
105955
  deleteMany?: ImageScalarWhereInput | ImageScalarWhereInput[]
104634
105956
  }
104635
105957
 
105958
+ export type CampaignCreateNestedOneWithoutCampaignToBrandAffiliateLinksInput = {
105959
+ create?: XOR<CampaignCreateWithoutCampaignToBrandAffiliateLinksInput, CampaignUncheckedCreateWithoutCampaignToBrandAffiliateLinksInput>
105960
+ connectOrCreate?: CampaignCreateOrConnectWithoutCampaignToBrandAffiliateLinksInput
105961
+ connect?: CampaignWhereUniqueInput
105962
+ }
105963
+
105964
+ export type BrandAffiliateLinkCreateNestedOneWithoutCampaignToBrandAffiliateLinkInput = {
105965
+ create?: XOR<BrandAffiliateLinkCreateWithoutCampaignToBrandAffiliateLinkInput, BrandAffiliateLinkUncheckedCreateWithoutCampaignToBrandAffiliateLinkInput>
105966
+ connectOrCreate?: BrandAffiliateLinkCreateOrConnectWithoutCampaignToBrandAffiliateLinkInput
105967
+ connect?: BrandAffiliateLinkWhereUniqueInput
105968
+ }
105969
+
105970
+ export type CampaignUpdateOneRequiredWithoutCampaignToBrandAffiliateLinksNestedInput = {
105971
+ create?: XOR<CampaignCreateWithoutCampaignToBrandAffiliateLinksInput, CampaignUncheckedCreateWithoutCampaignToBrandAffiliateLinksInput>
105972
+ connectOrCreate?: CampaignCreateOrConnectWithoutCampaignToBrandAffiliateLinksInput
105973
+ upsert?: CampaignUpsertWithoutCampaignToBrandAffiliateLinksInput
105974
+ connect?: CampaignWhereUniqueInput
105975
+ update?: XOR<XOR<CampaignUpdateToOneWithWhereWithoutCampaignToBrandAffiliateLinksInput, CampaignUpdateWithoutCampaignToBrandAffiliateLinksInput>, CampaignUncheckedUpdateWithoutCampaignToBrandAffiliateLinksInput>
105976
+ }
105977
+
105978
+ export type BrandAffiliateLinkUpdateOneRequiredWithoutCampaignToBrandAffiliateLinkNestedInput = {
105979
+ create?: XOR<BrandAffiliateLinkCreateWithoutCampaignToBrandAffiliateLinkInput, BrandAffiliateLinkUncheckedCreateWithoutCampaignToBrandAffiliateLinkInput>
105980
+ connectOrCreate?: BrandAffiliateLinkCreateOrConnectWithoutCampaignToBrandAffiliateLinkInput
105981
+ upsert?: BrandAffiliateLinkUpsertWithoutCampaignToBrandAffiliateLinkInput
105982
+ connect?: BrandAffiliateLinkWhereUniqueInput
105983
+ update?: XOR<XOR<BrandAffiliateLinkUpdateToOneWithWhereWithoutCampaignToBrandAffiliateLinkInput, BrandAffiliateLinkUpdateWithoutCampaignToBrandAffiliateLinkInput>, BrandAffiliateLinkUncheckedUpdateWithoutCampaignToBrandAffiliateLinkInput>
105984
+ }
105985
+
104636
105986
  export type CampaignCreateNestedOneWithoutCategoriesInput = {
104637
105987
  create?: XOR<CampaignCreateWithoutCategoriesInput, CampaignUncheckedCreateWithoutCategoriesInput>
104638
105988
  connectOrCreate?: CampaignCreateOrConnectWithoutCategoriesInput
@@ -106044,6 +107394,13 @@ export namespace Prisma {
106044
107394
  connect?: AffiliateLinkWhereUniqueInput | AffiliateLinkWhereUniqueInput[]
106045
107395
  }
106046
107396
 
107397
+ export type CampaignToBrandAffiliateLinkCreateNestedManyWithoutBrandAffiliateLinkInput = {
107398
+ create?: XOR<CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput> | CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput[] | CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput[]
107399
+ connectOrCreate?: CampaignToBrandAffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput[]
107400
+ createMany?: CampaignToBrandAffiliateLinkCreateManyBrandAffiliateLinkInputEnvelope
107401
+ connect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
107402
+ }
107403
+
106047
107404
  export type BrandCreateNestedOneWithoutAffiliateLinksInput = {
106048
107405
  create?: XOR<BrandCreateWithoutAffiliateLinksInput, BrandUncheckedCreateWithoutAffiliateLinksInput>
106049
107406
  connectOrCreate?: BrandCreateOrConnectWithoutAffiliateLinksInput
@@ -106057,6 +107414,13 @@ export namespace Prisma {
106057
107414
  connect?: AffiliateLinkWhereUniqueInput | AffiliateLinkWhereUniqueInput[]
106058
107415
  }
106059
107416
 
107417
+ export type CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutBrandAffiliateLinkInput = {
107418
+ create?: XOR<CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput> | CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput[] | CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput[]
107419
+ connectOrCreate?: CampaignToBrandAffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput[]
107420
+ createMany?: CampaignToBrandAffiliateLinkCreateManyBrandAffiliateLinkInputEnvelope
107421
+ connect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
107422
+ }
107423
+
106060
107424
  export type AffiliateLinkUpdateManyWithoutBrandAffiliateLinkNestedInput = {
106061
107425
  create?: XOR<AffiliateLinkCreateWithoutBrandAffiliateLinkInput, AffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput> | AffiliateLinkCreateWithoutBrandAffiliateLinkInput[] | AffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput[]
106062
107426
  connectOrCreate?: AffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput | AffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput[]
@@ -106071,6 +107435,20 @@ export namespace Prisma {
106071
107435
  deleteMany?: AffiliateLinkScalarWhereInput | AffiliateLinkScalarWhereInput[]
106072
107436
  }
106073
107437
 
107438
+ export type CampaignToBrandAffiliateLinkUpdateManyWithoutBrandAffiliateLinkNestedInput = {
107439
+ create?: XOR<CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput> | CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput[] | CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput[]
107440
+ connectOrCreate?: CampaignToBrandAffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput[]
107441
+ upsert?: CampaignToBrandAffiliateLinkUpsertWithWhereUniqueWithoutBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkUpsertWithWhereUniqueWithoutBrandAffiliateLinkInput[]
107442
+ createMany?: CampaignToBrandAffiliateLinkCreateManyBrandAffiliateLinkInputEnvelope
107443
+ set?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
107444
+ disconnect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
107445
+ delete?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
107446
+ connect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
107447
+ update?: CampaignToBrandAffiliateLinkUpdateWithWhereUniqueWithoutBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkUpdateWithWhereUniqueWithoutBrandAffiliateLinkInput[]
107448
+ updateMany?: CampaignToBrandAffiliateLinkUpdateManyWithWhereWithoutBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkUpdateManyWithWhereWithoutBrandAffiliateLinkInput[]
107449
+ deleteMany?: CampaignToBrandAffiliateLinkScalarWhereInput | CampaignToBrandAffiliateLinkScalarWhereInput[]
107450
+ }
107451
+
106074
107452
  export type BrandUpdateOneRequiredWithoutAffiliateLinksNestedInput = {
106075
107453
  create?: XOR<BrandCreateWithoutAffiliateLinksInput, BrandUncheckedCreateWithoutAffiliateLinksInput>
106076
107454
  connectOrCreate?: BrandCreateOrConnectWithoutAffiliateLinksInput
@@ -106093,6 +107471,20 @@ export namespace Prisma {
106093
107471
  deleteMany?: AffiliateLinkScalarWhereInput | AffiliateLinkScalarWhereInput[]
106094
107472
  }
106095
107473
 
107474
+ export type CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkNestedInput = {
107475
+ create?: XOR<CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput> | CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput[] | CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput[]
107476
+ connectOrCreate?: CampaignToBrandAffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput[]
107477
+ upsert?: CampaignToBrandAffiliateLinkUpsertWithWhereUniqueWithoutBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkUpsertWithWhereUniqueWithoutBrandAffiliateLinkInput[]
107478
+ createMany?: CampaignToBrandAffiliateLinkCreateManyBrandAffiliateLinkInputEnvelope
107479
+ set?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
107480
+ disconnect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
107481
+ delete?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
107482
+ connect?: CampaignToBrandAffiliateLinkWhereUniqueInput | CampaignToBrandAffiliateLinkWhereUniqueInput[]
107483
+ update?: CampaignToBrandAffiliateLinkUpdateWithWhereUniqueWithoutBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkUpdateWithWhereUniqueWithoutBrandAffiliateLinkInput[]
107484
+ updateMany?: CampaignToBrandAffiliateLinkUpdateManyWithWhereWithoutBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkUpdateManyWithWhereWithoutBrandAffiliateLinkInput[]
107485
+ deleteMany?: CampaignToBrandAffiliateLinkScalarWhereInput | CampaignToBrandAffiliateLinkScalarWhereInput[]
107486
+ }
107487
+
106096
107488
  export type AffiliateClickCreateNestedManyWithoutAffiliateLinkInput = {
106097
107489
  create?: XOR<AffiliateClickCreateWithoutAffiliateLinkInput, AffiliateClickUncheckedCreateWithoutAffiliateLinkInput> | AffiliateClickCreateWithoutAffiliateLinkInput[] | AffiliateClickUncheckedCreateWithoutAffiliateLinkInput[]
106098
107490
  connectOrCreate?: AffiliateClickCreateOrConnectWithoutAffiliateLinkInput | AffiliateClickCreateOrConnectWithoutAffiliateLinkInput[]
@@ -112388,6 +113780,7 @@ export namespace Prisma {
112388
113780
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
112389
113781
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
112390
113782
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
113783
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
112391
113784
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
112392
113785
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
112393
113786
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
@@ -112457,6 +113850,7 @@ export namespace Prisma {
112457
113850
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
112458
113851
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
112459
113852
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
113853
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
112460
113854
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
112461
113855
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
112462
113856
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -112675,6 +114069,7 @@ export namespace Prisma {
112675
114069
  commission?: number
112676
114070
  metaData?: JsonNullValueInput | InputJsonValue
112677
114071
  affiliateLinks?: AffiliateLinkCreateNestedManyWithoutBrandAffiliateLinkInput
114072
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutBrandAffiliateLinkInput
112678
114073
  }
112679
114074
 
112680
114075
  export type BrandAffiliateLinkUncheckedCreateWithoutBrandInput = {
@@ -112685,6 +114080,7 @@ export namespace Prisma {
112685
114080
  commission?: number
112686
114081
  metaData?: JsonNullValueInput | InputJsonValue
112687
114082
  affiliateLinks?: AffiliateLinkUncheckedCreateNestedManyWithoutBrandAffiliateLinkInput
114083
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutBrandAffiliateLinkInput
112688
114084
  }
112689
114085
 
112690
114086
  export type BrandAffiliateLinkCreateOrConnectWithoutBrandInput = {
@@ -115992,6 +117388,25 @@ export namespace Prisma {
115992
117388
  skipDuplicates?: boolean
115993
117389
  }
115994
117390
 
117391
+ export type CampaignToBrandAffiliateLinkCreateWithoutCampaignInput = {
117392
+ brandAffiliateLink: BrandAffiliateLinkCreateNestedOneWithoutCampaignToBrandAffiliateLinkInput
117393
+ }
117394
+
117395
+ export type CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput = {
117396
+ id?: number
117397
+ brandAffiliateLinkId: number
117398
+ }
117399
+
117400
+ export type CampaignToBrandAffiliateLinkCreateOrConnectWithoutCampaignInput = {
117401
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
117402
+ create: XOR<CampaignToBrandAffiliateLinkCreateWithoutCampaignInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput>
117403
+ }
117404
+
117405
+ export type CampaignToBrandAffiliateLinkCreateManyCampaignInputEnvelope = {
117406
+ data: CampaignToBrandAffiliateLinkCreateManyCampaignInput | CampaignToBrandAffiliateLinkCreateManyCampaignInput[]
117407
+ skipDuplicates?: boolean
117408
+ }
117409
+
115995
117410
  export type BrandCreateWithoutCampaignsInput = {
115996
117411
  name: string
115997
117412
  description?: string | null
@@ -116407,6 +117822,31 @@ export namespace Prisma {
116407
117822
  shopifyProductId?: IntFilter<"CampaignToShopifyProduct"> | number
116408
117823
  }
116409
117824
 
117825
+ export type CampaignToBrandAffiliateLinkUpsertWithWhereUniqueWithoutCampaignInput = {
117826
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
117827
+ update: XOR<CampaignToBrandAffiliateLinkUpdateWithoutCampaignInput, CampaignToBrandAffiliateLinkUncheckedUpdateWithoutCampaignInput>
117828
+ create: XOR<CampaignToBrandAffiliateLinkCreateWithoutCampaignInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput>
117829
+ }
117830
+
117831
+ export type CampaignToBrandAffiliateLinkUpdateWithWhereUniqueWithoutCampaignInput = {
117832
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
117833
+ data: XOR<CampaignToBrandAffiliateLinkUpdateWithoutCampaignInput, CampaignToBrandAffiliateLinkUncheckedUpdateWithoutCampaignInput>
117834
+ }
117835
+
117836
+ export type CampaignToBrandAffiliateLinkUpdateManyWithWhereWithoutCampaignInput = {
117837
+ where: CampaignToBrandAffiliateLinkScalarWhereInput
117838
+ data: XOR<CampaignToBrandAffiliateLinkUpdateManyMutationInput, CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignInput>
117839
+ }
117840
+
117841
+ export type CampaignToBrandAffiliateLinkScalarWhereInput = {
117842
+ AND?: CampaignToBrandAffiliateLinkScalarWhereInput | CampaignToBrandAffiliateLinkScalarWhereInput[]
117843
+ OR?: CampaignToBrandAffiliateLinkScalarWhereInput[]
117844
+ NOT?: CampaignToBrandAffiliateLinkScalarWhereInput | CampaignToBrandAffiliateLinkScalarWhereInput[]
117845
+ id?: IntFilter<"CampaignToBrandAffiliateLink"> | number
117846
+ campaignId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
117847
+ brandAffiliateLinkId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
117848
+ }
117849
+
116410
117850
  export type BrandUpsertWithoutCampaignsInput = {
116411
117851
  update: XOR<BrandUpdateWithoutCampaignsInput, BrandUncheckedUpdateWithoutCampaignsInput>
116412
117852
  create: XOR<BrandCreateWithoutCampaignsInput, BrandUncheckedCreateWithoutCampaignsInput>
@@ -116701,6 +118141,7 @@ export namespace Prisma {
116701
118141
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
116702
118142
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
116703
118143
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
118144
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
116704
118145
  brand: BrandCreateNestedOneWithoutCampaignsInput
116705
118146
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
116706
118147
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -116764,127 +118205,443 @@ export namespace Prisma {
116764
118205
  steps?: CampaignStepUncheckedCreateNestedManyWithoutCampaignInput
116765
118206
  categories?: CampaignToCategoryUncheckedCreateNestedManyWithoutCampaignInput
116766
118207
  optIns?: OptInUncheckedCreateNestedManyWithoutCampaignInput
116767
- images?: CampaignToImageUncheckedCreateNestedManyWithoutCampaignInput
118208
+ images?: CampaignToImageUncheckedCreateNestedManyWithoutCampaignInput
118209
+ variables?: VariableUncheckedCreateNestedManyWithoutCampaignInput
118210
+ productLists?: CampaignToProductListUncheckedCreateNestedManyWithoutCampaignInput
118211
+ countries?: CampaignToCountryUncheckedCreateNestedManyWithoutCampaignInput
118212
+ socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
118213
+ campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
118214
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
118215
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
118216
+ creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
118217
+ optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
118218
+ sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
118219
+ }
118220
+
118221
+ export type CampaignCreateOrConnectWithoutCampaignPinsInput = {
118222
+ where: CampaignWhereUniqueInput
118223
+ create: XOR<CampaignCreateWithoutCampaignPinsInput, CampaignUncheckedCreateWithoutCampaignPinsInput>
118224
+ }
118225
+
118226
+ export type UserUpsertWithoutCampaignPinsInput = {
118227
+ update: XOR<UserUpdateWithoutCampaignPinsInput, UserUncheckedUpdateWithoutCampaignPinsInput>
118228
+ create: XOR<UserCreateWithoutCampaignPinsInput, UserUncheckedCreateWithoutCampaignPinsInput>
118229
+ where?: UserWhereInput
118230
+ }
118231
+
118232
+ export type UserUpdateToOneWithWhereWithoutCampaignPinsInput = {
118233
+ where?: UserWhereInput
118234
+ data: XOR<UserUpdateWithoutCampaignPinsInput, UserUncheckedUpdateWithoutCampaignPinsInput>
118235
+ }
118236
+
118237
+ export type UserUpdateWithoutCampaignPinsInput = {
118238
+ role?: StringFieldUpdateOperationsInput | string
118239
+ email?: NullableStringFieldUpdateOperationsInput | string | null
118240
+ password?: NullableStringFieldUpdateOperationsInput | string | null
118241
+ registered?: DateTimeFieldUpdateOperationsInput | Date | string
118242
+ lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
118243
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
118244
+ lastName?: NullableStringFieldUpdateOperationsInput | string | null
118245
+ phone?: NullableStringFieldUpdateOperationsInput | string | null
118246
+ phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
118247
+ phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
118248
+ profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
118249
+ forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
118250
+ affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
118251
+ closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
118252
+ closedReason?: NullableStringFieldUpdateOperationsInput | string | null
118253
+ usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
118254
+ extraData?: JsonNullValueInput | InputJsonValue
118255
+ referrer?: UserUpdateOneWithoutReferredUsersNestedInput
118256
+ referredUsers?: UserUpdateManyWithoutReferrerNestedInput
118257
+ logs?: LogUpdateManyWithoutUserNestedInput
118258
+ creatorProfile?: CreatorProfileUpdateOneWithoutUserNestedInput
118259
+ instagramProfile?: InstagramProfileUpdateOneWithoutUserNestedInput
118260
+ youtubeProfile?: YoutubeProfileUpdateOneWithoutUserNestedInput
118261
+ tiktokProfile?: TiktokProfileUpdateOneWithoutUserNestedInput
118262
+ facebookProfile?: FacebookProfileUpdateOneWithoutUserNestedInput
118263
+ twitterProfile?: TwitterProfileUpdateOneWithoutUserNestedInput
118264
+ twitchProfile?: TwitchProfileUpdateOneWithoutUserNestedInput
118265
+ brandProfiles?: BrandUserProfileUpdateManyWithoutUserNestedInput
118266
+ optIns?: OptInUpdateManyWithoutUserNestedInput
118267
+ assignedBrands?: BrandUpdateManyWithoutDedicatedSpecialistNestedInput
118268
+ messages?: MessageUpdateManyWithoutUserNestedInput
118269
+ socialPosts?: SocialPostUpdateManyWithoutUserNestedInput
118270
+ paymentTransactions?: PaymentTransactionUpdateManyWithoutCreatorNestedInput
118271
+ affiliateLinks?: AffiliateLinkUpdateManyWithoutAffiliateNestedInput
118272
+ socialProfiles?: SocialProfileUpdateManyWithoutUserNestedInput
118273
+ rakutenActivity?: RakutenActivityUpdateManyWithoutUserNestedInput
118274
+ impactRadiusEvents?: ImpactRadiusEventUpdateManyWithoutUserNestedInput
118275
+ }
118276
+
118277
+ export type UserUncheckedUpdateWithoutCampaignPinsInput = {
118278
+ id?: IntFieldUpdateOperationsInput | number
118279
+ role?: StringFieldUpdateOperationsInput | string
118280
+ email?: NullableStringFieldUpdateOperationsInput | string | null
118281
+ password?: NullableStringFieldUpdateOperationsInput | string | null
118282
+ registered?: DateTimeFieldUpdateOperationsInput | Date | string
118283
+ lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
118284
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
118285
+ lastName?: NullableStringFieldUpdateOperationsInput | string | null
118286
+ phone?: NullableStringFieldUpdateOperationsInput | string | null
118287
+ phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
118288
+ phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
118289
+ profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
118290
+ forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
118291
+ affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
118292
+ closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
118293
+ closedReason?: NullableStringFieldUpdateOperationsInput | string | null
118294
+ usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
118295
+ extraData?: JsonNullValueInput | InputJsonValue
118296
+ referrerId?: NullableIntFieldUpdateOperationsInput | number | null
118297
+ referredUsers?: UserUncheckedUpdateManyWithoutReferrerNestedInput
118298
+ logs?: LogUncheckedUpdateManyWithoutUserNestedInput
118299
+ creatorProfile?: CreatorProfileUncheckedUpdateOneWithoutUserNestedInput
118300
+ instagramProfile?: InstagramProfileUncheckedUpdateOneWithoutUserNestedInput
118301
+ youtubeProfile?: YoutubeProfileUncheckedUpdateOneWithoutUserNestedInput
118302
+ tiktokProfile?: TiktokProfileUncheckedUpdateOneWithoutUserNestedInput
118303
+ facebookProfile?: FacebookProfileUncheckedUpdateOneWithoutUserNestedInput
118304
+ twitterProfile?: TwitterProfileUncheckedUpdateOneWithoutUserNestedInput
118305
+ twitchProfile?: TwitchProfileUncheckedUpdateOneWithoutUserNestedInput
118306
+ brandProfiles?: BrandUserProfileUncheckedUpdateManyWithoutUserNestedInput
118307
+ optIns?: OptInUncheckedUpdateManyWithoutUserNestedInput
118308
+ assignedBrands?: BrandUncheckedUpdateManyWithoutDedicatedSpecialistNestedInput
118309
+ messages?: MessageUncheckedUpdateManyWithoutUserNestedInput
118310
+ socialPosts?: SocialPostUncheckedUpdateManyWithoutUserNestedInput
118311
+ paymentTransactions?: PaymentTransactionUncheckedUpdateManyWithoutCreatorNestedInput
118312
+ affiliateLinks?: AffiliateLinkUncheckedUpdateManyWithoutAffiliateNestedInput
118313
+ socialProfiles?: SocialProfileUncheckedUpdateManyWithoutUserNestedInput
118314
+ rakutenActivity?: RakutenActivityUncheckedUpdateManyWithoutUserNestedInput
118315
+ impactRadiusEvents?: ImpactRadiusEventUncheckedUpdateManyWithoutUserNestedInput
118316
+ }
118317
+
118318
+ export type CampaignUpsertWithoutCampaignPinsInput = {
118319
+ update: XOR<CampaignUpdateWithoutCampaignPinsInput, CampaignUncheckedUpdateWithoutCampaignPinsInput>
118320
+ create: XOR<CampaignCreateWithoutCampaignPinsInput, CampaignUncheckedCreateWithoutCampaignPinsInput>
118321
+ where?: CampaignWhereInput
118322
+ }
118323
+
118324
+ export type CampaignUpdateToOneWithWhereWithoutCampaignPinsInput = {
118325
+ where?: CampaignWhereInput
118326
+ data: XOR<CampaignUpdateWithoutCampaignPinsInput, CampaignUncheckedUpdateWithoutCampaignPinsInput>
118327
+ }
118328
+
118329
+ export type CampaignUpdateWithoutCampaignPinsInput = {
118330
+ title?: StringFieldUpdateOperationsInput | string
118331
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
118332
+ status?: StringFieldUpdateOperationsInput | string
118333
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
118334
+ publishDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
118335
+ sfSyncDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
118336
+ description?: NullableStringFieldUpdateOperationsInput | string | null
118337
+ productDescription?: NullableStringFieldUpdateOperationsInput | string | null
118338
+ prizeDescription?: NullableStringFieldUpdateOperationsInput | string | null
118339
+ strategy?: NullableStringFieldUpdateOperationsInput | string | null
118340
+ socialChannel?: NullableStringFieldUpdateOperationsInput | string | null
118341
+ socialChannels?: NullableJsonNullValueInput | InputJsonValue
118342
+ facebookReach?: NullableIntFieldUpdateOperationsInput | number | null
118343
+ facebookEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118344
+ instagramReach?: NullableIntFieldUpdateOperationsInput | number | null
118345
+ instagramEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118346
+ youtubeReach?: NullableIntFieldUpdateOperationsInput | number | null
118347
+ youtubeEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118348
+ twitterReach?: NullableIntFieldUpdateOperationsInput | number | null
118349
+ twitterEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118350
+ tiktokReach?: NullableIntFieldUpdateOperationsInput | number | null
118351
+ tiktokEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118352
+ twitchReach?: NullableIntFieldUpdateOperationsInput | number | null
118353
+ twitchEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118354
+ quantity?: IntFieldUpdateOperationsInput | number
118355
+ holdCost?: NullableFloatFieldUpdateOperationsInput | number | null
118356
+ value?: NullableFloatFieldUpdateOperationsInput | number | null
118357
+ paidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
118358
+ minAge?: NullableIntFieldUpdateOperationsInput | number | null
118359
+ maxAge?: NullableIntFieldUpdateOperationsInput | number | null
118360
+ visuals?: NullableStringFieldUpdateOperationsInput | string | null
118361
+ photoTags?: NullableJsonNullValueInput | InputJsonValue
118362
+ hashtags?: NullableJsonNullValueInput | InputJsonValue
118363
+ storyHashtags?: NullableJsonNullValueInput | InputJsonValue
118364
+ storyMentions?: NullableJsonNullValueInput | InputJsonValue
118365
+ caption?: NullableStringFieldUpdateOperationsInput | string | null
118366
+ password?: NullableStringFieldUpdateOperationsInput | string | null
118367
+ contentFormats?: NullableJsonNullValueInput | InputJsonValue
118368
+ paidCampaign?: NullableBoolFieldUpdateOperationsInput | boolean | null
118369
+ minPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
118370
+ maxPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
118371
+ paymentType?: NullableStringFieldUpdateOperationsInput | string | null
118372
+ monthlyActivatedGoal?: NullableIntFieldUpdateOperationsInput | number | null
118373
+ expectedOptIns?: NullableIntFieldUpdateOperationsInput | number | null
118374
+ goalActivations?: NullableFloatFieldUpdateOperationsInput | number | null
118375
+ goalOptIns?: NullableFloatFieldUpdateOperationsInput | number | null
118376
+ requiresShipping?: NullableBoolFieldUpdateOperationsInput | boolean | null
118377
+ disableQualifications?: NullableBoolFieldUpdateOperationsInput | boolean | null
118378
+ disableActivations?: NullableBoolFieldUpdateOperationsInput | boolean | null
118379
+ affiliateLinkPath?: NullableStringFieldUpdateOperationsInput | string | null
118380
+ metaData?: JsonNullValueInput | InputJsonValue
118381
+ steps?: CampaignStepUpdateManyWithoutCampaignNestedInput
118382
+ categories?: CampaignToCategoryUpdateManyWithoutCampaignNestedInput
118383
+ optIns?: OptInUpdateManyWithoutCampaignNestedInput
118384
+ images?: CampaignToImageUpdateManyWithoutCampaignNestedInput
118385
+ variables?: VariableUpdateManyWithoutCampaignNestedInput
118386
+ productLists?: CampaignToProductListUpdateManyWithoutCampaignNestedInput
118387
+ countries?: CampaignToCountryUpdateManyWithoutCampaignNestedInput
118388
+ socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
118389
+ campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
118390
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
118391
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
118392
+ brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
118393
+ creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
118394
+ optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
118395
+ sequences?: SequenceUpdateManyWithoutCampaignNestedInput
118396
+ }
118397
+
118398
+ export type CampaignUncheckedUpdateWithoutCampaignPinsInput = {
118399
+ id?: IntFieldUpdateOperationsInput | number
118400
+ title?: StringFieldUpdateOperationsInput | string
118401
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
118402
+ status?: StringFieldUpdateOperationsInput | string
118403
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
118404
+ publishDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
118405
+ sfSyncDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
118406
+ description?: NullableStringFieldUpdateOperationsInput | string | null
118407
+ productDescription?: NullableStringFieldUpdateOperationsInput | string | null
118408
+ prizeDescription?: NullableStringFieldUpdateOperationsInput | string | null
118409
+ strategy?: NullableStringFieldUpdateOperationsInput | string | null
118410
+ socialChannel?: NullableStringFieldUpdateOperationsInput | string | null
118411
+ socialChannels?: NullableJsonNullValueInput | InputJsonValue
118412
+ facebookReach?: NullableIntFieldUpdateOperationsInput | number | null
118413
+ facebookEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118414
+ instagramReach?: NullableIntFieldUpdateOperationsInput | number | null
118415
+ instagramEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118416
+ youtubeReach?: NullableIntFieldUpdateOperationsInput | number | null
118417
+ youtubeEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118418
+ twitterReach?: NullableIntFieldUpdateOperationsInput | number | null
118419
+ twitterEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118420
+ tiktokReach?: NullableIntFieldUpdateOperationsInput | number | null
118421
+ tiktokEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118422
+ twitchReach?: NullableIntFieldUpdateOperationsInput | number | null
118423
+ twitchEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
118424
+ quantity?: IntFieldUpdateOperationsInput | number
118425
+ holdCost?: NullableFloatFieldUpdateOperationsInput | number | null
118426
+ value?: NullableFloatFieldUpdateOperationsInput | number | null
118427
+ paidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
118428
+ minAge?: NullableIntFieldUpdateOperationsInput | number | null
118429
+ maxAge?: NullableIntFieldUpdateOperationsInput | number | null
118430
+ visuals?: NullableStringFieldUpdateOperationsInput | string | null
118431
+ photoTags?: NullableJsonNullValueInput | InputJsonValue
118432
+ hashtags?: NullableJsonNullValueInput | InputJsonValue
118433
+ storyHashtags?: NullableJsonNullValueInput | InputJsonValue
118434
+ storyMentions?: NullableJsonNullValueInput | InputJsonValue
118435
+ caption?: NullableStringFieldUpdateOperationsInput | string | null
118436
+ password?: NullableStringFieldUpdateOperationsInput | string | null
118437
+ contentFormats?: NullableJsonNullValueInput | InputJsonValue
118438
+ paidCampaign?: NullableBoolFieldUpdateOperationsInput | boolean | null
118439
+ minPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
118440
+ maxPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
118441
+ paymentType?: NullableStringFieldUpdateOperationsInput | string | null
118442
+ monthlyActivatedGoal?: NullableIntFieldUpdateOperationsInput | number | null
118443
+ expectedOptIns?: NullableIntFieldUpdateOperationsInput | number | null
118444
+ goalActivations?: NullableFloatFieldUpdateOperationsInput | number | null
118445
+ goalOptIns?: NullableFloatFieldUpdateOperationsInput | number | null
118446
+ requiresShipping?: NullableBoolFieldUpdateOperationsInput | boolean | null
118447
+ disableQualifications?: NullableBoolFieldUpdateOperationsInput | boolean | null
118448
+ disableActivations?: NullableBoolFieldUpdateOperationsInput | boolean | null
118449
+ affiliateLinkPath?: NullableStringFieldUpdateOperationsInput | string | null
118450
+ metaData?: JsonNullValueInput | InputJsonValue
118451
+ brandId?: IntFieldUpdateOperationsInput | number
118452
+ steps?: CampaignStepUncheckedUpdateManyWithoutCampaignNestedInput
118453
+ categories?: CampaignToCategoryUncheckedUpdateManyWithoutCampaignNestedInput
118454
+ optIns?: OptInUncheckedUpdateManyWithoutCampaignNestedInput
118455
+ images?: CampaignToImageUncheckedUpdateManyWithoutCampaignNestedInput
118456
+ variables?: VariableUncheckedUpdateManyWithoutCampaignNestedInput
118457
+ productLists?: CampaignToProductListUncheckedUpdateManyWithoutCampaignNestedInput
118458
+ countries?: CampaignToCountryUncheckedUpdateManyWithoutCampaignNestedInput
118459
+ socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
118460
+ campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
118461
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
118462
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
118463
+ creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
118464
+ optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
118465
+ sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
118466
+ }
118467
+
118468
+ export type CampaignCreateWithoutImagesInput = {
118469
+ title: string
118470
+ slug?: string | null
118471
+ status?: string
118472
+ date?: Date | string
118473
+ publishDate?: Date | string | null
118474
+ sfSyncDate?: Date | string | null
118475
+ description?: string | null
118476
+ productDescription?: string | null
118477
+ prizeDescription?: string | null
118478
+ strategy?: string | null
118479
+ socialChannel?: string | null
118480
+ socialChannels?: NullableJsonNullValueInput | InputJsonValue
118481
+ facebookReach?: number | null
118482
+ facebookEngagement?: number | null
118483
+ instagramReach?: number | null
118484
+ instagramEngagement?: number | null
118485
+ youtubeReach?: number | null
118486
+ youtubeEngagement?: number | null
118487
+ twitterReach?: number | null
118488
+ twitterEngagement?: number | null
118489
+ tiktokReach?: number | null
118490
+ tiktokEngagement?: number | null
118491
+ twitchReach?: number | null
118492
+ twitchEngagement?: number | null
118493
+ quantity?: number
118494
+ holdCost?: number | null
118495
+ value?: number | null
118496
+ paidAmount?: number | null
118497
+ minAge?: number | null
118498
+ maxAge?: number | null
118499
+ visuals?: string | null
118500
+ photoTags?: NullableJsonNullValueInput | InputJsonValue
118501
+ hashtags?: NullableJsonNullValueInput | InputJsonValue
118502
+ storyHashtags?: NullableJsonNullValueInput | InputJsonValue
118503
+ storyMentions?: NullableJsonNullValueInput | InputJsonValue
118504
+ caption?: string | null
118505
+ password?: string | null
118506
+ contentFormats?: NullableJsonNullValueInput | InputJsonValue
118507
+ paidCampaign?: boolean | null
118508
+ minPaidAmount?: number | null
118509
+ maxPaidAmount?: number | null
118510
+ paymentType?: string | null
118511
+ monthlyActivatedGoal?: number | null
118512
+ expectedOptIns?: number | null
118513
+ goalActivations?: number | null
118514
+ goalOptIns?: number | null
118515
+ requiresShipping?: boolean | null
118516
+ disableQualifications?: boolean | null
118517
+ disableActivations?: boolean | null
118518
+ affiliateLinkPath?: string | null
118519
+ metaData?: JsonNullValueInput | InputJsonValue
118520
+ steps?: CampaignStepCreateNestedManyWithoutCampaignInput
118521
+ categories?: CampaignToCategoryCreateNestedManyWithoutCampaignInput
118522
+ optIns?: OptInCreateNestedManyWithoutCampaignInput
118523
+ variables?: VariableCreateNestedManyWithoutCampaignInput
118524
+ productLists?: CampaignToProductListCreateNestedManyWithoutCampaignInput
118525
+ countries?: CampaignToCountryCreateNestedManyWithoutCampaignInput
118526
+ campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
118527
+ socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
118528
+ campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
118529
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
118530
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
118531
+ brand: BrandCreateNestedOneWithoutCampaignsInput
118532
+ creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
118533
+ optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
118534
+ sequences?: SequenceCreateNestedManyWithoutCampaignInput
118535
+ }
118536
+
118537
+ export type CampaignUncheckedCreateWithoutImagesInput = {
118538
+ id?: number
118539
+ title: string
118540
+ slug?: string | null
118541
+ status?: string
118542
+ date?: Date | string
118543
+ publishDate?: Date | string | null
118544
+ sfSyncDate?: Date | string | null
118545
+ description?: string | null
118546
+ productDescription?: string | null
118547
+ prizeDescription?: string | null
118548
+ strategy?: string | null
118549
+ socialChannel?: string | null
118550
+ socialChannels?: NullableJsonNullValueInput | InputJsonValue
118551
+ facebookReach?: number | null
118552
+ facebookEngagement?: number | null
118553
+ instagramReach?: number | null
118554
+ instagramEngagement?: number | null
118555
+ youtubeReach?: number | null
118556
+ youtubeEngagement?: number | null
118557
+ twitterReach?: number | null
118558
+ twitterEngagement?: number | null
118559
+ tiktokReach?: number | null
118560
+ tiktokEngagement?: number | null
118561
+ twitchReach?: number | null
118562
+ twitchEngagement?: number | null
118563
+ quantity?: number
118564
+ holdCost?: number | null
118565
+ value?: number | null
118566
+ paidAmount?: number | null
118567
+ minAge?: number | null
118568
+ maxAge?: number | null
118569
+ visuals?: string | null
118570
+ photoTags?: NullableJsonNullValueInput | InputJsonValue
118571
+ hashtags?: NullableJsonNullValueInput | InputJsonValue
118572
+ storyHashtags?: NullableJsonNullValueInput | InputJsonValue
118573
+ storyMentions?: NullableJsonNullValueInput | InputJsonValue
118574
+ caption?: string | null
118575
+ password?: string | null
118576
+ contentFormats?: NullableJsonNullValueInput | InputJsonValue
118577
+ paidCampaign?: boolean | null
118578
+ minPaidAmount?: number | null
118579
+ maxPaidAmount?: number | null
118580
+ paymentType?: string | null
118581
+ monthlyActivatedGoal?: number | null
118582
+ expectedOptIns?: number | null
118583
+ goalActivations?: number | null
118584
+ goalOptIns?: number | null
118585
+ requiresShipping?: boolean | null
118586
+ disableQualifications?: boolean | null
118587
+ disableActivations?: boolean | null
118588
+ affiliateLinkPath?: string | null
118589
+ metaData?: JsonNullValueInput | InputJsonValue
118590
+ brandId: number
118591
+ steps?: CampaignStepUncheckedCreateNestedManyWithoutCampaignInput
118592
+ categories?: CampaignToCategoryUncheckedCreateNestedManyWithoutCampaignInput
118593
+ optIns?: OptInUncheckedCreateNestedManyWithoutCampaignInput
116768
118594
  variables?: VariableUncheckedCreateNestedManyWithoutCampaignInput
116769
118595
  productLists?: CampaignToProductListUncheckedCreateNestedManyWithoutCampaignInput
116770
118596
  countries?: CampaignToCountryUncheckedCreateNestedManyWithoutCampaignInput
118597
+ campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
116771
118598
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
116772
118599
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
116773
118600
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
118601
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
116774
118602
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
116775
118603
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
116776
118604
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
116777
118605
  }
116778
118606
 
116779
- export type CampaignCreateOrConnectWithoutCampaignPinsInput = {
118607
+ export type CampaignCreateOrConnectWithoutImagesInput = {
116780
118608
  where: CampaignWhereUniqueInput
116781
- create: XOR<CampaignCreateWithoutCampaignPinsInput, CampaignUncheckedCreateWithoutCampaignPinsInput>
118609
+ create: XOR<CampaignCreateWithoutImagesInput, CampaignUncheckedCreateWithoutImagesInput>
116782
118610
  }
116783
118611
 
116784
- export type UserUpsertWithoutCampaignPinsInput = {
116785
- update: XOR<UserUpdateWithoutCampaignPinsInput, UserUncheckedUpdateWithoutCampaignPinsInput>
116786
- create: XOR<UserCreateWithoutCampaignPinsInput, UserUncheckedCreateWithoutCampaignPinsInput>
116787
- where?: UserWhereInput
118612
+ export type ImageCreateWithoutCampaignImageInput = {
118613
+ url: string
118614
+ size: string
116788
118615
  }
116789
118616
 
116790
- export type UserUpdateToOneWithWhereWithoutCampaignPinsInput = {
116791
- where?: UserWhereInput
116792
- data: XOR<UserUpdateWithoutCampaignPinsInput, UserUncheckedUpdateWithoutCampaignPinsInput>
118617
+ export type ImageUncheckedCreateWithoutCampaignImageInput = {
118618
+ id?: number
118619
+ url: string
118620
+ size: string
116793
118621
  }
116794
118622
 
116795
- export type UserUpdateWithoutCampaignPinsInput = {
116796
- role?: StringFieldUpdateOperationsInput | string
116797
- email?: NullableStringFieldUpdateOperationsInput | string | null
116798
- password?: NullableStringFieldUpdateOperationsInput | string | null
116799
- registered?: DateTimeFieldUpdateOperationsInput | Date | string
116800
- lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
116801
- firstName?: NullableStringFieldUpdateOperationsInput | string | null
116802
- lastName?: NullableStringFieldUpdateOperationsInput | string | null
116803
- phone?: NullableStringFieldUpdateOperationsInput | string | null
116804
- phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
116805
- phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
116806
- profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
116807
- forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
116808
- affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
116809
- closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
116810
- closedReason?: NullableStringFieldUpdateOperationsInput | string | null
116811
- usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
116812
- extraData?: JsonNullValueInput | InputJsonValue
116813
- referrer?: UserUpdateOneWithoutReferredUsersNestedInput
116814
- referredUsers?: UserUpdateManyWithoutReferrerNestedInput
116815
- logs?: LogUpdateManyWithoutUserNestedInput
116816
- creatorProfile?: CreatorProfileUpdateOneWithoutUserNestedInput
116817
- instagramProfile?: InstagramProfileUpdateOneWithoutUserNestedInput
116818
- youtubeProfile?: YoutubeProfileUpdateOneWithoutUserNestedInput
116819
- tiktokProfile?: TiktokProfileUpdateOneWithoutUserNestedInput
116820
- facebookProfile?: FacebookProfileUpdateOneWithoutUserNestedInput
116821
- twitterProfile?: TwitterProfileUpdateOneWithoutUserNestedInput
116822
- twitchProfile?: TwitchProfileUpdateOneWithoutUserNestedInput
116823
- brandProfiles?: BrandUserProfileUpdateManyWithoutUserNestedInput
116824
- optIns?: OptInUpdateManyWithoutUserNestedInput
116825
- assignedBrands?: BrandUpdateManyWithoutDedicatedSpecialistNestedInput
116826
- messages?: MessageUpdateManyWithoutUserNestedInput
116827
- socialPosts?: SocialPostUpdateManyWithoutUserNestedInput
116828
- paymentTransactions?: PaymentTransactionUpdateManyWithoutCreatorNestedInput
116829
- affiliateLinks?: AffiliateLinkUpdateManyWithoutAffiliateNestedInput
116830
- socialProfiles?: SocialProfileUpdateManyWithoutUserNestedInput
116831
- rakutenActivity?: RakutenActivityUpdateManyWithoutUserNestedInput
116832
- impactRadiusEvents?: ImpactRadiusEventUpdateManyWithoutUserNestedInput
118623
+ export type ImageCreateOrConnectWithoutCampaignImageInput = {
118624
+ where: ImageWhereUniqueInput
118625
+ create: XOR<ImageCreateWithoutCampaignImageInput, ImageUncheckedCreateWithoutCampaignImageInput>
116833
118626
  }
116834
118627
 
116835
- export type UserUncheckedUpdateWithoutCampaignPinsInput = {
116836
- id?: IntFieldUpdateOperationsInput | number
116837
- role?: StringFieldUpdateOperationsInput | string
116838
- email?: NullableStringFieldUpdateOperationsInput | string | null
116839
- password?: NullableStringFieldUpdateOperationsInput | string | null
116840
- registered?: DateTimeFieldUpdateOperationsInput | Date | string
116841
- lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
116842
- firstName?: NullableStringFieldUpdateOperationsInput | string | null
116843
- lastName?: NullableStringFieldUpdateOperationsInput | string | null
116844
- phone?: NullableStringFieldUpdateOperationsInput | string | null
116845
- phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
116846
- phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
116847
- profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
116848
- forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
116849
- affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
116850
- closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
116851
- closedReason?: NullableStringFieldUpdateOperationsInput | string | null
116852
- usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
116853
- extraData?: JsonNullValueInput | InputJsonValue
116854
- referrerId?: NullableIntFieldUpdateOperationsInput | number | null
116855
- referredUsers?: UserUncheckedUpdateManyWithoutReferrerNestedInput
116856
- logs?: LogUncheckedUpdateManyWithoutUserNestedInput
116857
- creatorProfile?: CreatorProfileUncheckedUpdateOneWithoutUserNestedInput
116858
- instagramProfile?: InstagramProfileUncheckedUpdateOneWithoutUserNestedInput
116859
- youtubeProfile?: YoutubeProfileUncheckedUpdateOneWithoutUserNestedInput
116860
- tiktokProfile?: TiktokProfileUncheckedUpdateOneWithoutUserNestedInput
116861
- facebookProfile?: FacebookProfileUncheckedUpdateOneWithoutUserNestedInput
116862
- twitterProfile?: TwitterProfileUncheckedUpdateOneWithoutUserNestedInput
116863
- twitchProfile?: TwitchProfileUncheckedUpdateOneWithoutUserNestedInput
116864
- brandProfiles?: BrandUserProfileUncheckedUpdateManyWithoutUserNestedInput
116865
- optIns?: OptInUncheckedUpdateManyWithoutUserNestedInput
116866
- assignedBrands?: BrandUncheckedUpdateManyWithoutDedicatedSpecialistNestedInput
116867
- messages?: MessageUncheckedUpdateManyWithoutUserNestedInput
116868
- socialPosts?: SocialPostUncheckedUpdateManyWithoutUserNestedInput
116869
- paymentTransactions?: PaymentTransactionUncheckedUpdateManyWithoutCreatorNestedInput
116870
- affiliateLinks?: AffiliateLinkUncheckedUpdateManyWithoutAffiliateNestedInput
116871
- socialProfiles?: SocialProfileUncheckedUpdateManyWithoutUserNestedInput
116872
- rakutenActivity?: RakutenActivityUncheckedUpdateManyWithoutUserNestedInput
116873
- impactRadiusEvents?: ImpactRadiusEventUncheckedUpdateManyWithoutUserNestedInput
118628
+ export type ImageCreateManyCampaignImageInputEnvelope = {
118629
+ data: ImageCreateManyCampaignImageInput | ImageCreateManyCampaignImageInput[]
118630
+ skipDuplicates?: boolean
116874
118631
  }
116875
118632
 
116876
- export type CampaignUpsertWithoutCampaignPinsInput = {
116877
- update: XOR<CampaignUpdateWithoutCampaignPinsInput, CampaignUncheckedUpdateWithoutCampaignPinsInput>
116878
- create: XOR<CampaignCreateWithoutCampaignPinsInput, CampaignUncheckedCreateWithoutCampaignPinsInput>
118633
+ export type CampaignUpsertWithoutImagesInput = {
118634
+ update: XOR<CampaignUpdateWithoutImagesInput, CampaignUncheckedUpdateWithoutImagesInput>
118635
+ create: XOR<CampaignCreateWithoutImagesInput, CampaignUncheckedCreateWithoutImagesInput>
116879
118636
  where?: CampaignWhereInput
116880
118637
  }
116881
118638
 
116882
- export type CampaignUpdateToOneWithWhereWithoutCampaignPinsInput = {
118639
+ export type CampaignUpdateToOneWithWhereWithoutImagesInput = {
116883
118640
  where?: CampaignWhereInput
116884
- data: XOR<CampaignUpdateWithoutCampaignPinsInput, CampaignUncheckedUpdateWithoutCampaignPinsInput>
118641
+ data: XOR<CampaignUpdateWithoutImagesInput, CampaignUncheckedUpdateWithoutImagesInput>
116885
118642
  }
116886
118643
 
116887
- export type CampaignUpdateWithoutCampaignPinsInput = {
118644
+ export type CampaignUpdateWithoutImagesInput = {
116888
118645
  title?: StringFieldUpdateOperationsInput | string
116889
118646
  slug?: NullableStringFieldUpdateOperationsInput | string | null
116890
118647
  status?: StringFieldUpdateOperationsInput | string
@@ -116939,20 +118696,21 @@ export namespace Prisma {
116939
118696
  steps?: CampaignStepUpdateManyWithoutCampaignNestedInput
116940
118697
  categories?: CampaignToCategoryUpdateManyWithoutCampaignNestedInput
116941
118698
  optIns?: OptInUpdateManyWithoutCampaignNestedInput
116942
- images?: CampaignToImageUpdateManyWithoutCampaignNestedInput
116943
118699
  variables?: VariableUpdateManyWithoutCampaignNestedInput
116944
118700
  productLists?: CampaignToProductListUpdateManyWithoutCampaignNestedInput
116945
118701
  countries?: CampaignToCountryUpdateManyWithoutCampaignNestedInput
118702
+ campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
116946
118703
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
116947
118704
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
116948
118705
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
118706
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
116949
118707
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
116950
118708
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
116951
118709
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
116952
118710
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
116953
118711
  }
116954
118712
 
116955
- export type CampaignUncheckedUpdateWithoutCampaignPinsInput = {
118713
+ export type CampaignUncheckedUpdateWithoutImagesInput = {
116956
118714
  id?: IntFieldUpdateOperationsInput | number
116957
118715
  title?: StringFieldUpdateOperationsInput | string
116958
118716
  slug?: NullableStringFieldUpdateOperationsInput | string | null
@@ -117009,19 +118767,46 @@ export namespace Prisma {
117009
118767
  steps?: CampaignStepUncheckedUpdateManyWithoutCampaignNestedInput
117010
118768
  categories?: CampaignToCategoryUncheckedUpdateManyWithoutCampaignNestedInput
117011
118769
  optIns?: OptInUncheckedUpdateManyWithoutCampaignNestedInput
117012
- images?: CampaignToImageUncheckedUpdateManyWithoutCampaignNestedInput
117013
118770
  variables?: VariableUncheckedUpdateManyWithoutCampaignNestedInput
117014
118771
  productLists?: CampaignToProductListUncheckedUpdateManyWithoutCampaignNestedInput
117015
118772
  countries?: CampaignToCountryUncheckedUpdateManyWithoutCampaignNestedInput
118773
+ campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
117016
118774
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
117017
118775
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
117018
118776
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
118777
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
117019
118778
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
117020
118779
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
117021
118780
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
117022
118781
  }
117023
118782
 
117024
- export type CampaignCreateWithoutImagesInput = {
118783
+ export type ImageUpsertWithWhereUniqueWithoutCampaignImageInput = {
118784
+ where: ImageWhereUniqueInput
118785
+ update: XOR<ImageUpdateWithoutCampaignImageInput, ImageUncheckedUpdateWithoutCampaignImageInput>
118786
+ create: XOR<ImageCreateWithoutCampaignImageInput, ImageUncheckedCreateWithoutCampaignImageInput>
118787
+ }
118788
+
118789
+ export type ImageUpdateWithWhereUniqueWithoutCampaignImageInput = {
118790
+ where: ImageWhereUniqueInput
118791
+ data: XOR<ImageUpdateWithoutCampaignImageInput, ImageUncheckedUpdateWithoutCampaignImageInput>
118792
+ }
118793
+
118794
+ export type ImageUpdateManyWithWhereWithoutCampaignImageInput = {
118795
+ where: ImageScalarWhereInput
118796
+ data: XOR<ImageUpdateManyMutationInput, ImageUncheckedUpdateManyWithoutCampaignImageInput>
118797
+ }
118798
+
118799
+ export type ImageScalarWhereInput = {
118800
+ AND?: ImageScalarWhereInput | ImageScalarWhereInput[]
118801
+ OR?: ImageScalarWhereInput[]
118802
+ NOT?: ImageScalarWhereInput | ImageScalarWhereInput[]
118803
+ id?: IntFilter<"Image"> | number
118804
+ url?: StringFilter<"Image"> | string
118805
+ size?: StringFilter<"Image"> | string
118806
+ campaignImageId?: IntFilter<"Image"> | number
118807
+ }
118808
+
118809
+ export type CampaignCreateWithoutCampaignToBrandAffiliateLinksInput = {
117025
118810
  title: string
117026
118811
  slug?: string | null
117027
118812
  status?: string
@@ -117076,6 +118861,7 @@ export namespace Prisma {
117076
118861
  steps?: CampaignStepCreateNestedManyWithoutCampaignInput
117077
118862
  categories?: CampaignToCategoryCreateNestedManyWithoutCampaignInput
117078
118863
  optIns?: OptInCreateNestedManyWithoutCampaignInput
118864
+ images?: CampaignToImageCreateNestedManyWithoutCampaignInput
117079
118865
  variables?: VariableCreateNestedManyWithoutCampaignInput
117080
118866
  productLists?: CampaignToProductListCreateNestedManyWithoutCampaignInput
117081
118867
  countries?: CampaignToCountryCreateNestedManyWithoutCampaignInput
@@ -117089,7 +118875,7 @@ export namespace Prisma {
117089
118875
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
117090
118876
  }
117091
118877
 
117092
- export type CampaignUncheckedCreateWithoutImagesInput = {
118878
+ export type CampaignUncheckedCreateWithoutCampaignToBrandAffiliateLinksInput = {
117093
118879
  id?: number
117094
118880
  title: string
117095
118881
  slug?: string | null
@@ -117146,6 +118932,7 @@ export namespace Prisma {
117146
118932
  steps?: CampaignStepUncheckedCreateNestedManyWithoutCampaignInput
117147
118933
  categories?: CampaignToCategoryUncheckedCreateNestedManyWithoutCampaignInput
117148
118934
  optIns?: OptInUncheckedCreateNestedManyWithoutCampaignInput
118935
+ images?: CampaignToImageUncheckedCreateNestedManyWithoutCampaignInput
117149
118936
  variables?: VariableUncheckedCreateNestedManyWithoutCampaignInput
117150
118937
  productLists?: CampaignToProductListUncheckedCreateNestedManyWithoutCampaignInput
117151
118938
  countries?: CampaignToCountryUncheckedCreateNestedManyWithoutCampaignInput
@@ -117158,44 +118945,49 @@ export namespace Prisma {
117158
118945
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
117159
118946
  }
117160
118947
 
117161
- export type CampaignCreateOrConnectWithoutImagesInput = {
118948
+ export type CampaignCreateOrConnectWithoutCampaignToBrandAffiliateLinksInput = {
117162
118949
  where: CampaignWhereUniqueInput
117163
- create: XOR<CampaignCreateWithoutImagesInput, CampaignUncheckedCreateWithoutImagesInput>
118950
+ create: XOR<CampaignCreateWithoutCampaignToBrandAffiliateLinksInput, CampaignUncheckedCreateWithoutCampaignToBrandAffiliateLinksInput>
117164
118951
  }
117165
118952
 
117166
- export type ImageCreateWithoutCampaignImageInput = {
117167
- url: string
117168
- size: string
118953
+ export type BrandAffiliateLinkCreateWithoutCampaignToBrandAffiliateLinkInput = {
118954
+ created?: Date | string
118955
+ description?: string | null
118956
+ urlPath: string
118957
+ commission?: number
118958
+ metaData?: JsonNullValueInput | InputJsonValue
118959
+ affiliateLinks?: AffiliateLinkCreateNestedManyWithoutBrandAffiliateLinkInput
118960
+ brand: BrandCreateNestedOneWithoutAffiliateLinksInput
117169
118961
  }
117170
118962
 
117171
- export type ImageUncheckedCreateWithoutCampaignImageInput = {
118963
+ export type BrandAffiliateLinkUncheckedCreateWithoutCampaignToBrandAffiliateLinkInput = {
117172
118964
  id?: number
117173
- url: string
117174
- size: string
117175
- }
117176
-
117177
- export type ImageCreateOrConnectWithoutCampaignImageInput = {
117178
- where: ImageWhereUniqueInput
117179
- create: XOR<ImageCreateWithoutCampaignImageInput, ImageUncheckedCreateWithoutCampaignImageInput>
118965
+ created?: Date | string
118966
+ description?: string | null
118967
+ urlPath: string
118968
+ commission?: number
118969
+ metaData?: JsonNullValueInput | InputJsonValue
118970
+ brandId: number
118971
+ affiliateLinks?: AffiliateLinkUncheckedCreateNestedManyWithoutBrandAffiliateLinkInput
117180
118972
  }
117181
118973
 
117182
- export type ImageCreateManyCampaignImageInputEnvelope = {
117183
- data: ImageCreateManyCampaignImageInput | ImageCreateManyCampaignImageInput[]
117184
- skipDuplicates?: boolean
118974
+ export type BrandAffiliateLinkCreateOrConnectWithoutCampaignToBrandAffiliateLinkInput = {
118975
+ where: BrandAffiliateLinkWhereUniqueInput
118976
+ create: XOR<BrandAffiliateLinkCreateWithoutCampaignToBrandAffiliateLinkInput, BrandAffiliateLinkUncheckedCreateWithoutCampaignToBrandAffiliateLinkInput>
117185
118977
  }
117186
118978
 
117187
- export type CampaignUpsertWithoutImagesInput = {
117188
- update: XOR<CampaignUpdateWithoutImagesInput, CampaignUncheckedUpdateWithoutImagesInput>
117189
- create: XOR<CampaignCreateWithoutImagesInput, CampaignUncheckedCreateWithoutImagesInput>
118979
+ export type CampaignUpsertWithoutCampaignToBrandAffiliateLinksInput = {
118980
+ update: XOR<CampaignUpdateWithoutCampaignToBrandAffiliateLinksInput, CampaignUncheckedUpdateWithoutCampaignToBrandAffiliateLinksInput>
118981
+ create: XOR<CampaignCreateWithoutCampaignToBrandAffiliateLinksInput, CampaignUncheckedCreateWithoutCampaignToBrandAffiliateLinksInput>
117190
118982
  where?: CampaignWhereInput
117191
118983
  }
117192
118984
 
117193
- export type CampaignUpdateToOneWithWhereWithoutImagesInput = {
118985
+ export type CampaignUpdateToOneWithWhereWithoutCampaignToBrandAffiliateLinksInput = {
117194
118986
  where?: CampaignWhereInput
117195
- data: XOR<CampaignUpdateWithoutImagesInput, CampaignUncheckedUpdateWithoutImagesInput>
118987
+ data: XOR<CampaignUpdateWithoutCampaignToBrandAffiliateLinksInput, CampaignUncheckedUpdateWithoutCampaignToBrandAffiliateLinksInput>
117196
118988
  }
117197
118989
 
117198
- export type CampaignUpdateWithoutImagesInput = {
118990
+ export type CampaignUpdateWithoutCampaignToBrandAffiliateLinksInput = {
117199
118991
  title?: StringFieldUpdateOperationsInput | string
117200
118992
  slug?: NullableStringFieldUpdateOperationsInput | string | null
117201
118993
  status?: StringFieldUpdateOperationsInput | string
@@ -117250,6 +119042,7 @@ export namespace Prisma {
117250
119042
  steps?: CampaignStepUpdateManyWithoutCampaignNestedInput
117251
119043
  categories?: CampaignToCategoryUpdateManyWithoutCampaignNestedInput
117252
119044
  optIns?: OptInUpdateManyWithoutCampaignNestedInput
119045
+ images?: CampaignToImageUpdateManyWithoutCampaignNestedInput
117253
119046
  variables?: VariableUpdateManyWithoutCampaignNestedInput
117254
119047
  productLists?: CampaignToProductListUpdateManyWithoutCampaignNestedInput
117255
119048
  countries?: CampaignToCountryUpdateManyWithoutCampaignNestedInput
@@ -117263,7 +119056,7 @@ export namespace Prisma {
117263
119056
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
117264
119057
  }
117265
119058
 
117266
- export type CampaignUncheckedUpdateWithoutImagesInput = {
119059
+ export type CampaignUncheckedUpdateWithoutCampaignToBrandAffiliateLinksInput = {
117267
119060
  id?: IntFieldUpdateOperationsInput | number
117268
119061
  title?: StringFieldUpdateOperationsInput | string
117269
119062
  slug?: NullableStringFieldUpdateOperationsInput | string | null
@@ -117320,6 +119113,7 @@ export namespace Prisma {
117320
119113
  steps?: CampaignStepUncheckedUpdateManyWithoutCampaignNestedInput
117321
119114
  categories?: CampaignToCategoryUncheckedUpdateManyWithoutCampaignNestedInput
117322
119115
  optIns?: OptInUncheckedUpdateManyWithoutCampaignNestedInput
119116
+ images?: CampaignToImageUncheckedUpdateManyWithoutCampaignNestedInput
117323
119117
  variables?: VariableUncheckedUpdateManyWithoutCampaignNestedInput
117324
119118
  productLists?: CampaignToProductListUncheckedUpdateManyWithoutCampaignNestedInput
117325
119119
  countries?: CampaignToCountryUncheckedUpdateManyWithoutCampaignNestedInput
@@ -117332,30 +119126,36 @@ export namespace Prisma {
117332
119126
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
117333
119127
  }
117334
119128
 
117335
- export type ImageUpsertWithWhereUniqueWithoutCampaignImageInput = {
117336
- where: ImageWhereUniqueInput
117337
- update: XOR<ImageUpdateWithoutCampaignImageInput, ImageUncheckedUpdateWithoutCampaignImageInput>
117338
- create: XOR<ImageCreateWithoutCampaignImageInput, ImageUncheckedCreateWithoutCampaignImageInput>
119129
+ export type BrandAffiliateLinkUpsertWithoutCampaignToBrandAffiliateLinkInput = {
119130
+ update: XOR<BrandAffiliateLinkUpdateWithoutCampaignToBrandAffiliateLinkInput, BrandAffiliateLinkUncheckedUpdateWithoutCampaignToBrandAffiliateLinkInput>
119131
+ create: XOR<BrandAffiliateLinkCreateWithoutCampaignToBrandAffiliateLinkInput, BrandAffiliateLinkUncheckedCreateWithoutCampaignToBrandAffiliateLinkInput>
119132
+ where?: BrandAffiliateLinkWhereInput
117339
119133
  }
117340
119134
 
117341
- export type ImageUpdateWithWhereUniqueWithoutCampaignImageInput = {
117342
- where: ImageWhereUniqueInput
117343
- data: XOR<ImageUpdateWithoutCampaignImageInput, ImageUncheckedUpdateWithoutCampaignImageInput>
119135
+ export type BrandAffiliateLinkUpdateToOneWithWhereWithoutCampaignToBrandAffiliateLinkInput = {
119136
+ where?: BrandAffiliateLinkWhereInput
119137
+ data: XOR<BrandAffiliateLinkUpdateWithoutCampaignToBrandAffiliateLinkInput, BrandAffiliateLinkUncheckedUpdateWithoutCampaignToBrandAffiliateLinkInput>
117344
119138
  }
117345
119139
 
117346
- export type ImageUpdateManyWithWhereWithoutCampaignImageInput = {
117347
- where: ImageScalarWhereInput
117348
- data: XOR<ImageUpdateManyMutationInput, ImageUncheckedUpdateManyWithoutCampaignImageInput>
119140
+ export type BrandAffiliateLinkUpdateWithoutCampaignToBrandAffiliateLinkInput = {
119141
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
119142
+ description?: NullableStringFieldUpdateOperationsInput | string | null
119143
+ urlPath?: StringFieldUpdateOperationsInput | string
119144
+ commission?: FloatFieldUpdateOperationsInput | number
119145
+ metaData?: JsonNullValueInput | InputJsonValue
119146
+ affiliateLinks?: AffiliateLinkUpdateManyWithoutBrandAffiliateLinkNestedInput
119147
+ brand?: BrandUpdateOneRequiredWithoutAffiliateLinksNestedInput
117349
119148
  }
117350
119149
 
117351
- export type ImageScalarWhereInput = {
117352
- AND?: ImageScalarWhereInput | ImageScalarWhereInput[]
117353
- OR?: ImageScalarWhereInput[]
117354
- NOT?: ImageScalarWhereInput | ImageScalarWhereInput[]
117355
- id?: IntFilter<"Image"> | number
117356
- url?: StringFilter<"Image"> | string
117357
- size?: StringFilter<"Image"> | string
117358
- campaignImageId?: IntFilter<"Image"> | number
119150
+ export type BrandAffiliateLinkUncheckedUpdateWithoutCampaignToBrandAffiliateLinkInput = {
119151
+ id?: IntFieldUpdateOperationsInput | number
119152
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
119153
+ description?: NullableStringFieldUpdateOperationsInput | string | null
119154
+ urlPath?: StringFieldUpdateOperationsInput | string
119155
+ commission?: FloatFieldUpdateOperationsInput | number
119156
+ metaData?: JsonNullValueInput | InputJsonValue
119157
+ brandId?: IntFieldUpdateOperationsInput | number
119158
+ affiliateLinks?: AffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkNestedInput
117359
119159
  }
117360
119160
 
117361
119161
  export type CampaignCreateWithoutCategoriesInput = {
@@ -117420,6 +119220,7 @@ export namespace Prisma {
117420
119220
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
117421
119221
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
117422
119222
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
119223
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
117423
119224
  brand: BrandCreateNestedOneWithoutCampaignsInput
117424
119225
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
117425
119226
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -117490,6 +119291,7 @@ export namespace Prisma {
117490
119291
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
117491
119292
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
117492
119293
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
119294
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
117493
119295
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
117494
119296
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
117495
119297
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -117593,6 +119395,7 @@ export namespace Prisma {
117593
119395
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
117594
119396
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
117595
119397
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
119398
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
117596
119399
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
117597
119400
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
117598
119401
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -117663,6 +119466,7 @@ export namespace Prisma {
117663
119466
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
117664
119467
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
117665
119468
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
119469
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
117666
119470
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
117667
119471
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
117668
119472
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -117756,6 +119560,7 @@ export namespace Prisma {
117756
119560
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
117757
119561
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
117758
119562
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
119563
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
117759
119564
  brand: BrandCreateNestedOneWithoutCampaignsInput
117760
119565
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
117761
119566
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -117826,6 +119631,7 @@ export namespace Prisma {
117826
119631
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
117827
119632
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
117828
119633
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
119634
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
117829
119635
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
117830
119636
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
117831
119637
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -117929,6 +119735,7 @@ export namespace Prisma {
117929
119735
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
117930
119736
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
117931
119737
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
119738
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
117932
119739
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
117933
119740
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
117934
119741
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -117999,6 +119806,7 @@ export namespace Prisma {
117999
119806
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
118000
119807
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
118001
119808
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
119809
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
118002
119810
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
118003
119811
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
118004
119812
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -118447,6 +120255,7 @@ export namespace Prisma {
118447
120255
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
118448
120256
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
118449
120257
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
120258
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
118450
120259
  brand: BrandCreateNestedOneWithoutCampaignsInput
118451
120260
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
118452
120261
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -118517,6 +120326,7 @@ export namespace Prisma {
118517
120326
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
118518
120327
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
118519
120328
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
120329
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
118520
120330
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
118521
120331
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
118522
120332
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -118624,6 +120434,7 @@ export namespace Prisma {
118624
120434
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
118625
120435
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
118626
120436
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
120437
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
118627
120438
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
118628
120439
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
118629
120440
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -118694,6 +120505,7 @@ export namespace Prisma {
118694
120505
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
118695
120506
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
118696
120507
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
120508
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
118697
120509
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
118698
120510
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
118699
120511
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -118963,6 +120775,7 @@ export namespace Prisma {
118963
120775
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
118964
120776
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
118965
120777
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
120778
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
118966
120779
  brand: BrandCreateNestedOneWithoutCampaignsInput
118967
120780
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
118968
120781
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -119033,6 +120846,7 @@ export namespace Prisma {
119033
120846
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
119034
120847
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
119035
120848
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
120849
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
119036
120850
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
119037
120851
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
119038
120852
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -119162,6 +120976,7 @@ export namespace Prisma {
119162
120976
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
119163
120977
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
119164
120978
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
120979
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
119165
120980
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
119166
120981
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
119167
120982
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -119232,6 +121047,7 @@ export namespace Prisma {
119232
121047
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
119233
121048
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
119234
121049
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
121050
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
119235
121051
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
119236
121052
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
119237
121053
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -119492,6 +121308,7 @@ export namespace Prisma {
119492
121308
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
119493
121309
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
119494
121310
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
121311
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
119495
121312
  brand: BrandCreateNestedOneWithoutCampaignsInput
119496
121313
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
119497
121314
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -119562,6 +121379,7 @@ export namespace Prisma {
119562
121379
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
119563
121380
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
119564
121381
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
121382
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
119565
121383
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
119566
121384
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
119567
121385
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -119753,6 +121571,7 @@ export namespace Prisma {
119753
121571
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
119754
121572
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
119755
121573
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
121574
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
119756
121575
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
119757
121576
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
119758
121577
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -119823,6 +121642,7 @@ export namespace Prisma {
119823
121642
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
119824
121643
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
119825
121644
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
121645
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
119826
121646
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
119827
121647
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
119828
121648
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -120340,6 +122160,7 @@ export namespace Prisma {
120340
122160
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
120341
122161
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
120342
122162
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
122163
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
120343
122164
  brand: BrandCreateNestedOneWithoutCampaignsInput
120344
122165
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
120345
122166
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -120410,6 +122231,7 @@ export namespace Prisma {
120410
122231
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
120411
122232
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
120412
122233
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
122234
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
120413
122235
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
120414
122236
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
120415
122237
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -120790,6 +122612,7 @@ export namespace Prisma {
120790
122612
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
120791
122613
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
120792
122614
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
122615
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
120793
122616
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
120794
122617
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
120795
122618
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -120860,6 +122683,7 @@ export namespace Prisma {
120860
122683
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
120861
122684
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
120862
122685
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
122686
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
120863
122687
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
120864
122688
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
120865
122689
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -121539,6 +123363,7 @@ export namespace Prisma {
121539
123363
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
121540
123364
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
121541
123365
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
123366
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
121542
123367
  brand: BrandCreateNestedOneWithoutCampaignsInput
121543
123368
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
121544
123369
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -121609,6 +123434,7 @@ export namespace Prisma {
121609
123434
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
121610
123435
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
121611
123436
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
123437
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
121612
123438
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
121613
123439
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
121614
123440
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -121803,6 +123629,7 @@ export namespace Prisma {
121803
123629
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
121804
123630
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
121805
123631
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
123632
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
121806
123633
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
121807
123634
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
121808
123635
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -121873,6 +123700,7 @@ export namespace Prisma {
121873
123700
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
121874
123701
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
121875
123702
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
123703
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
121876
123704
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
121877
123705
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
121878
123706
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -122619,6 +124447,25 @@ export namespace Prisma {
122619
124447
  skipDuplicates?: boolean
122620
124448
  }
122621
124449
 
124450
+ export type CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput = {
124451
+ campaign: CampaignCreateNestedOneWithoutCampaignToBrandAffiliateLinksInput
124452
+ }
124453
+
124454
+ export type CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput = {
124455
+ id?: number
124456
+ campaignId: number
124457
+ }
124458
+
124459
+ export type CampaignToBrandAffiliateLinkCreateOrConnectWithoutBrandAffiliateLinkInput = {
124460
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
124461
+ create: XOR<CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput>
124462
+ }
124463
+
124464
+ export type CampaignToBrandAffiliateLinkCreateManyBrandAffiliateLinkInputEnvelope = {
124465
+ data: CampaignToBrandAffiliateLinkCreateManyBrandAffiliateLinkInput | CampaignToBrandAffiliateLinkCreateManyBrandAffiliateLinkInput[]
124466
+ skipDuplicates?: boolean
124467
+ }
124468
+
122622
124469
  export type BrandCreateWithoutAffiliateLinksInput = {
122623
124470
  name: string
122624
124471
  description?: string | null
@@ -122717,6 +124564,22 @@ export namespace Prisma {
122717
124564
  data: XOR<AffiliateLinkUpdateManyMutationInput, AffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkInput>
122718
124565
  }
122719
124566
 
124567
+ export type CampaignToBrandAffiliateLinkUpsertWithWhereUniqueWithoutBrandAffiliateLinkInput = {
124568
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
124569
+ update: XOR<CampaignToBrandAffiliateLinkUpdateWithoutBrandAffiliateLinkInput, CampaignToBrandAffiliateLinkUncheckedUpdateWithoutBrandAffiliateLinkInput>
124570
+ create: XOR<CampaignToBrandAffiliateLinkCreateWithoutBrandAffiliateLinkInput, CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput>
124571
+ }
124572
+
124573
+ export type CampaignToBrandAffiliateLinkUpdateWithWhereUniqueWithoutBrandAffiliateLinkInput = {
124574
+ where: CampaignToBrandAffiliateLinkWhereUniqueInput
124575
+ data: XOR<CampaignToBrandAffiliateLinkUpdateWithoutBrandAffiliateLinkInput, CampaignToBrandAffiliateLinkUncheckedUpdateWithoutBrandAffiliateLinkInput>
124576
+ }
124577
+
124578
+ export type CampaignToBrandAffiliateLinkUpdateManyWithWhereWithoutBrandAffiliateLinkInput = {
124579
+ where: CampaignToBrandAffiliateLinkScalarWhereInput
124580
+ data: XOR<CampaignToBrandAffiliateLinkUpdateManyMutationInput, CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkInput>
124581
+ }
124582
+
122720
124583
  export type BrandUpsertWithoutAffiliateLinksInput = {
122721
124584
  update: XOR<BrandUpdateWithoutAffiliateLinksInput, BrandUncheckedUpdateWithoutAffiliateLinksInput>
122722
124585
  create: XOR<BrandCreateWithoutAffiliateLinksInput, BrandUncheckedCreateWithoutAffiliateLinksInput>
@@ -122926,6 +124789,7 @@ export namespace Prisma {
122926
124789
  urlPath: string
122927
124790
  commission?: number
122928
124791
  metaData?: JsonNullValueInput | InputJsonValue
124792
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutBrandAffiliateLinkInput
122929
124793
  brand: BrandCreateNestedOneWithoutAffiliateLinksInput
122930
124794
  }
122931
124795
 
@@ -122937,6 +124801,7 @@ export namespace Prisma {
122937
124801
  commission?: number
122938
124802
  metaData?: JsonNullValueInput | InputJsonValue
122939
124803
  brandId: number
124804
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutBrandAffiliateLinkInput
122940
124805
  }
122941
124806
 
122942
124807
  export type BrandAffiliateLinkCreateOrConnectWithoutAffiliateLinksInput = {
@@ -123069,6 +124934,7 @@ export namespace Prisma {
123069
124934
  urlPath?: StringFieldUpdateOperationsInput | string
123070
124935
  commission?: FloatFieldUpdateOperationsInput | number
123071
124936
  metaData?: JsonNullValueInput | InputJsonValue
124937
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkUpdateManyWithoutBrandAffiliateLinkNestedInput
123072
124938
  brand?: BrandUpdateOneRequiredWithoutAffiliateLinksNestedInput
123073
124939
  }
123074
124940
 
@@ -123080,6 +124946,7 @@ export namespace Prisma {
123080
124946
  commission?: FloatFieldUpdateOperationsInput | number
123081
124947
  metaData?: JsonNullValueInput | InputJsonValue
123082
124948
  brandId?: IntFieldUpdateOperationsInput | number
124949
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkNestedInput
123083
124950
  }
123084
124951
 
123085
124952
  export type OptInCreateWithoutAffiliateClicksInput = {
@@ -123683,6 +125550,7 @@ export namespace Prisma {
123683
125550
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
123684
125551
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
123685
125552
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
125553
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
123686
125554
  brand: BrandCreateNestedOneWithoutCampaignsInput
123687
125555
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
123688
125556
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -123753,6 +125621,7 @@ export namespace Prisma {
123753
125621
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
123754
125622
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
123755
125623
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
125624
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
123756
125625
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
123757
125626
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
123758
125627
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -124030,6 +125899,7 @@ export namespace Prisma {
124030
125899
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
124031
125900
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
124032
125901
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
125902
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
124033
125903
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
124034
125904
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
124035
125905
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -124100,6 +125970,7 @@ export namespace Prisma {
124100
125970
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
124101
125971
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
124102
125972
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
125973
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
124103
125974
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
124104
125975
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
124105
125976
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -124405,6 +126276,7 @@ export namespace Prisma {
124405
126276
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
124406
126277
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
124407
126278
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
126279
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
124408
126280
  brand: BrandCreateNestedOneWithoutCampaignsInput
124409
126281
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
124410
126282
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
@@ -124475,6 +126347,7 @@ export namespace Prisma {
124475
126347
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
124476
126348
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
124477
126349
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
126350
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
124478
126351
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
124479
126352
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
124480
126353
  }
@@ -124714,6 +126587,7 @@ export namespace Prisma {
124714
126587
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
124715
126588
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
124716
126589
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
126590
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
124717
126591
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
124718
126592
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
124719
126593
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
@@ -124784,6 +126658,7 @@ export namespace Prisma {
124784
126658
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
124785
126659
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
124786
126660
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
126661
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
124787
126662
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
124788
126663
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
124789
126664
  }
@@ -126285,6 +128160,7 @@ export namespace Prisma {
126285
128160
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
126286
128161
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
126287
128162
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
128163
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
126288
128164
  brand: BrandCreateNestedOneWithoutCampaignsInput
126289
128165
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
126290
128166
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
@@ -126355,6 +128231,7 @@ export namespace Prisma {
126355
128231
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
126356
128232
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
126357
128233
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
128234
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
126358
128235
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
126359
128236
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
126360
128237
  }
@@ -126438,6 +128315,7 @@ export namespace Prisma {
126438
128315
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
126439
128316
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
126440
128317
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
128318
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
126441
128319
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
126442
128320
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
126443
128321
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
@@ -126508,6 +128386,7 @@ export namespace Prisma {
126508
128386
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
126509
128387
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
126510
128388
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
128389
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
126511
128390
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
126512
128391
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
126513
128392
  }
@@ -127271,6 +129150,7 @@ export namespace Prisma {
127271
129150
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
127272
129151
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
127273
129152
  campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
129153
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
127274
129154
  brand: BrandCreateNestedOneWithoutCampaignsInput
127275
129155
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
127276
129156
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -127341,6 +129221,7 @@ export namespace Prisma {
127341
129221
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
127342
129222
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
127343
129223
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
129224
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
127344
129225
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
127345
129226
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
127346
129227
  }
@@ -127631,6 +129512,7 @@ export namespace Prisma {
127631
129512
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
127632
129513
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
127633
129514
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
129515
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
127634
129516
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
127635
129517
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
127636
129518
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -127701,6 +129583,7 @@ export namespace Prisma {
127701
129583
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
127702
129584
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
127703
129585
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
129586
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
127704
129587
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
127705
129588
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
127706
129589
  }
@@ -129017,6 +130900,7 @@ export namespace Prisma {
129017
130900
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
129018
130901
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
129019
130902
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
130903
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkCreateNestedManyWithoutCampaignInput
129020
130904
  brand: BrandCreateNestedOneWithoutCampaignsInput
129021
130905
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
129022
130906
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -129087,6 +130971,7 @@ export namespace Prisma {
129087
130971
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
129088
130972
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
129089
130973
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
130974
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedCreateNestedManyWithoutCampaignInput
129090
130975
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
129091
130976
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
129092
130977
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -129196,6 +131081,7 @@ export namespace Prisma {
129196
131081
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
129197
131082
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
129198
131083
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
131084
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
129199
131085
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
129200
131086
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
129201
131087
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -129266,6 +131152,7 @@ export namespace Prisma {
129266
131152
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
129267
131153
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
129268
131154
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
131155
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
129269
131156
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
129270
131157
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
129271
131158
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -130445,6 +132332,7 @@ export namespace Prisma {
130445
132332
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
130446
132333
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
130447
132334
  campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
132335
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUpdateManyWithoutCampaignNestedInput
130448
132336
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
130449
132337
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
130450
132338
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
@@ -130514,6 +132402,7 @@ export namespace Prisma {
130514
132402
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
130515
132403
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
130516
132404
  campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
132405
+ campaignToBrandAffiliateLinks?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignNestedInput
130517
132406
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
130518
132407
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
130519
132408
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -130768,6 +132657,7 @@ export namespace Prisma {
130768
132657
  commission?: FloatFieldUpdateOperationsInput | number
130769
132658
  metaData?: JsonNullValueInput | InputJsonValue
130770
132659
  affiliateLinks?: AffiliateLinkUpdateManyWithoutBrandAffiliateLinkNestedInput
132660
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkUpdateManyWithoutBrandAffiliateLinkNestedInput
130771
132661
  }
130772
132662
 
130773
132663
  export type BrandAffiliateLinkUncheckedUpdateWithoutBrandInput = {
@@ -130778,6 +132668,7 @@ export namespace Prisma {
130778
132668
  commission?: FloatFieldUpdateOperationsInput | number
130779
132669
  metaData?: JsonNullValueInput | InputJsonValue
130780
132670
  affiliateLinks?: AffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkNestedInput
132671
+ campaignToBrandAffiliateLink?: CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkNestedInput
130781
132672
  }
130782
132673
 
130783
132674
  export type BrandAffiliateLinkUncheckedUpdateManyWithoutBrandInput = {
@@ -131340,6 +133231,11 @@ export namespace Prisma {
131340
133231
  shopifyProductId: number
131341
133232
  }
131342
133233
 
133234
+ export type CampaignToBrandAffiliateLinkCreateManyCampaignInput = {
133235
+ id?: number
133236
+ brandAffiliateLinkId: number
133237
+ }
133238
+
131343
133239
  export type CreatorListCreateManyCampaignInput = {
131344
133240
  id?: number
131345
133241
  brandId: number
@@ -131729,6 +133625,20 @@ export namespace Prisma {
131729
133625
  shopifyProductId?: IntFieldUpdateOperationsInput | number
131730
133626
  }
131731
133627
 
133628
+ export type CampaignToBrandAffiliateLinkUpdateWithoutCampaignInput = {
133629
+ brandAffiliateLink?: BrandAffiliateLinkUpdateOneRequiredWithoutCampaignToBrandAffiliateLinkNestedInput
133630
+ }
133631
+
133632
+ export type CampaignToBrandAffiliateLinkUncheckedUpdateWithoutCampaignInput = {
133633
+ id?: IntFieldUpdateOperationsInput | number
133634
+ brandAffiliateLinkId?: IntFieldUpdateOperationsInput | number
133635
+ }
133636
+
133637
+ export type CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignInput = {
133638
+ id?: IntFieldUpdateOperationsInput | number
133639
+ brandAffiliateLinkId?: IntFieldUpdateOperationsInput | number
133640
+ }
133641
+
131732
133642
  export type CreatorListUpdateWithoutCampaignInput = {
131733
133643
  created?: DateTimeFieldUpdateOperationsInput | Date | string
131734
133644
  archived?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -132453,6 +134363,11 @@ export namespace Prisma {
132453
134363
  userId: number
132454
134364
  }
132455
134365
 
134366
+ export type CampaignToBrandAffiliateLinkCreateManyBrandAffiliateLinkInput = {
134367
+ id?: number
134368
+ campaignId: number
134369
+ }
134370
+
132456
134371
  export type AffiliateLinkUpdateWithoutBrandAffiliateLinkInput = {
132457
134372
  created?: DateTimeFieldUpdateOperationsInput | Date | string
132458
134373
  metaData?: JsonNullValueInput | InputJsonValue
@@ -132475,6 +134390,20 @@ export namespace Prisma {
132475
134390
  userId?: IntFieldUpdateOperationsInput | number
132476
134391
  }
132477
134392
 
134393
+ export type CampaignToBrandAffiliateLinkUpdateWithoutBrandAffiliateLinkInput = {
134394
+ campaign?: CampaignUpdateOneRequiredWithoutCampaignToBrandAffiliateLinksNestedInput
134395
+ }
134396
+
134397
+ export type CampaignToBrandAffiliateLinkUncheckedUpdateWithoutBrandAffiliateLinkInput = {
134398
+ id?: IntFieldUpdateOperationsInput | number
134399
+ campaignId?: IntFieldUpdateOperationsInput | number
134400
+ }
134401
+
134402
+ export type CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkInput = {
134403
+ id?: IntFieldUpdateOperationsInput | number
134404
+ campaignId?: IntFieldUpdateOperationsInput | number
134405
+ }
134406
+
132478
134407
  export type AffiliateClickCreateManyAffiliateLinkInput = {
132479
134408
  id?: number
132480
134409
  created?: Date | string
@@ -133326,6 +135255,10 @@ export namespace Prisma {
133326
135255
  * @deprecated Use CampaignToImageDefaultArgs instead
133327
135256
  */
133328
135257
  export type CampaignToImageArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CampaignToImageDefaultArgs<ExtArgs>
135258
+ /**
135259
+ * @deprecated Use CampaignToBrandAffiliateLinkDefaultArgs instead
135260
+ */
135261
+ export type CampaignToBrandAffiliateLinkArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CampaignToBrandAffiliateLinkDefaultArgs<ExtArgs>
133329
135262
  /**
133330
135263
  * @deprecated Use CampaignToCategoryDefaultArgs instead
133331
135264
  */