@creator.co/creatorco-prisma-client 1.0.21-alpha-f0d1b14 → 1.0.22-alpha-6b3aed6

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
@@ -323,6 +323,11 @@ export type ShopifyStore = $Result.DefaultSelection<Prisma.$ShopifyStorePayload>
323
323
  *
324
324
  */
325
325
  export type ShopifyProduct = $Result.DefaultSelection<Prisma.$ShopifyProductPayload>
326
+ /**
327
+ * Model CampaignToShopifyProduct
328
+ *
329
+ */
330
+ export type CampaignToShopifyProduct = $Result.DefaultSelection<Prisma.$CampaignToShopifyProductPayload>
326
331
 
327
332
  /**
328
333
  * Enums
@@ -1098,6 +1103,16 @@ export class PrismaClient<
1098
1103
  * ```
1099
1104
  */
1100
1105
  get shopifyProduct(): Prisma.ShopifyProductDelegate<ExtArgs>;
1106
+
1107
+ /**
1108
+ * `prisma.campaignToShopifyProduct`: Exposes CRUD operations for the **CampaignToShopifyProduct** model.
1109
+ * Example usage:
1110
+ * ```ts
1111
+ * // Fetch zero or more CampaignToShopifyProducts
1112
+ * const campaignToShopifyProducts = await prisma.campaignToShopifyProduct.findMany()
1113
+ * ```
1114
+ */
1115
+ get campaignToShopifyProduct(): Prisma.CampaignToShopifyProductDelegate<ExtArgs>;
1101
1116
  }
1102
1117
 
1103
1118
  export namespace Prisma {
@@ -1629,7 +1644,8 @@ export namespace Prisma {
1629
1644
  SequenceInboundEmail: 'SequenceInboundEmail',
1630
1645
  SequenceImapCheckpoint: 'SequenceImapCheckpoint',
1631
1646
  ShopifyStore: 'ShopifyStore',
1632
- ShopifyProduct: 'ShopifyProduct'
1647
+ ShopifyProduct: 'ShopifyProduct',
1648
+ CampaignToShopifyProduct: 'CampaignToShopifyProduct'
1633
1649
  };
1634
1650
 
1635
1651
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -1646,7 +1662,7 @@ export namespace Prisma {
1646
1662
 
1647
1663
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1648
1664
  meta: {
1649
- modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToCategory' | 'campaignToCountry' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | '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'
1665
+ modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToCategory' | 'campaignToCountry' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | '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' | 'campaignToShopifyProduct'
1650
1666
  txIsolationLevel: Prisma.TransactionIsolationLevel
1651
1667
  },
1652
1668
  model: {
@@ -5742,6 +5758,72 @@ export namespace Prisma {
5742
5758
  }
5743
5759
  }
5744
5760
  }
5761
+ CampaignToShopifyProduct: {
5762
+ payload: Prisma.$CampaignToShopifyProductPayload<ExtArgs>
5763
+ fields: Prisma.CampaignToShopifyProductFieldRefs
5764
+ operations: {
5765
+ findUnique: {
5766
+ args: Prisma.CampaignToShopifyProductFindUniqueArgs<ExtArgs>,
5767
+ result: $Utils.PayloadToResult<Prisma.$CampaignToShopifyProductPayload> | null
5768
+ }
5769
+ findUniqueOrThrow: {
5770
+ args: Prisma.CampaignToShopifyProductFindUniqueOrThrowArgs<ExtArgs>,
5771
+ result: $Utils.PayloadToResult<Prisma.$CampaignToShopifyProductPayload>
5772
+ }
5773
+ findFirst: {
5774
+ args: Prisma.CampaignToShopifyProductFindFirstArgs<ExtArgs>,
5775
+ result: $Utils.PayloadToResult<Prisma.$CampaignToShopifyProductPayload> | null
5776
+ }
5777
+ findFirstOrThrow: {
5778
+ args: Prisma.CampaignToShopifyProductFindFirstOrThrowArgs<ExtArgs>,
5779
+ result: $Utils.PayloadToResult<Prisma.$CampaignToShopifyProductPayload>
5780
+ }
5781
+ findMany: {
5782
+ args: Prisma.CampaignToShopifyProductFindManyArgs<ExtArgs>,
5783
+ result: $Utils.PayloadToResult<Prisma.$CampaignToShopifyProductPayload>[]
5784
+ }
5785
+ create: {
5786
+ args: Prisma.CampaignToShopifyProductCreateArgs<ExtArgs>,
5787
+ result: $Utils.PayloadToResult<Prisma.$CampaignToShopifyProductPayload>
5788
+ }
5789
+ createMany: {
5790
+ args: Prisma.CampaignToShopifyProductCreateManyArgs<ExtArgs>,
5791
+ result: Prisma.BatchPayload
5792
+ }
5793
+ delete: {
5794
+ args: Prisma.CampaignToShopifyProductDeleteArgs<ExtArgs>,
5795
+ result: $Utils.PayloadToResult<Prisma.$CampaignToShopifyProductPayload>
5796
+ }
5797
+ update: {
5798
+ args: Prisma.CampaignToShopifyProductUpdateArgs<ExtArgs>,
5799
+ result: $Utils.PayloadToResult<Prisma.$CampaignToShopifyProductPayload>
5800
+ }
5801
+ deleteMany: {
5802
+ args: Prisma.CampaignToShopifyProductDeleteManyArgs<ExtArgs>,
5803
+ result: Prisma.BatchPayload
5804
+ }
5805
+ updateMany: {
5806
+ args: Prisma.CampaignToShopifyProductUpdateManyArgs<ExtArgs>,
5807
+ result: Prisma.BatchPayload
5808
+ }
5809
+ upsert: {
5810
+ args: Prisma.CampaignToShopifyProductUpsertArgs<ExtArgs>,
5811
+ result: $Utils.PayloadToResult<Prisma.$CampaignToShopifyProductPayload>
5812
+ }
5813
+ aggregate: {
5814
+ args: Prisma.CampaignToShopifyProductAggregateArgs<ExtArgs>,
5815
+ result: $Utils.Optional<AggregateCampaignToShopifyProduct>
5816
+ }
5817
+ groupBy: {
5818
+ args: Prisma.CampaignToShopifyProductGroupByArgs<ExtArgs>,
5819
+ result: $Utils.Optional<CampaignToShopifyProductGroupByOutputType>[]
5820
+ }
5821
+ count: {
5822
+ args: Prisma.CampaignToShopifyProductCountArgs<ExtArgs>,
5823
+ result: $Utils.Optional<CampaignToShopifyProductCountAggregateOutputType> | number
5824
+ }
5825
+ }
5826
+ }
5745
5827
  }
5746
5828
  } & {
5747
5829
  other: {
@@ -6370,7 +6452,7 @@ export namespace Prisma {
6370
6452
  campaignPins: number
6371
6453
  socialPosts: number
6372
6454
  campaignInvites: number
6373
- shopifyProducts: number
6455
+ campaignToShopifyProducts: number
6374
6456
  creatorLists: number
6375
6457
  optInViews: number
6376
6458
  sequences: number
@@ -6386,7 +6468,7 @@ export namespace Prisma {
6386
6468
  campaignPins?: boolean | CampaignCountOutputTypeCountCampaignPinsArgs
6387
6469
  socialPosts?: boolean | CampaignCountOutputTypeCountSocialPostsArgs
6388
6470
  campaignInvites?: boolean | CampaignCountOutputTypeCountCampaignInvitesArgs
6389
- shopifyProducts?: boolean | CampaignCountOutputTypeCountShopifyProductsArgs
6471
+ campaignToShopifyProducts?: boolean | CampaignCountOutputTypeCountCampaignToShopifyProductsArgs
6390
6472
  creatorLists?: boolean | CampaignCountOutputTypeCountCreatorListsArgs
6391
6473
  optInViews?: boolean | CampaignCountOutputTypeCountOptInViewsArgs
6392
6474
  sequences?: boolean | CampaignCountOutputTypeCountSequencesArgs
@@ -6480,8 +6562,8 @@ export namespace Prisma {
6480
6562
  /**
6481
6563
  * CampaignCountOutputType without action
6482
6564
  */
6483
- export type CampaignCountOutputTypeCountShopifyProductsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
6484
- where?: ShopifyProductWhereInput
6565
+ export type CampaignCountOutputTypeCountCampaignToShopifyProductsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
6566
+ where?: CampaignToShopifyProductWhereInput
6485
6567
  }
6486
6568
 
6487
6569
 
@@ -7355,11 +7437,11 @@ export namespace Prisma {
7355
7437
  */
7356
7438
 
7357
7439
  export type ShopifyProductCountOutputType = {
7358
- campaigns: number
7440
+ campaignToShopifyProducts: number
7359
7441
  }
7360
7442
 
7361
7443
  export type ShopifyProductCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7362
- campaigns?: boolean | ShopifyProductCountOutputTypeCountCampaignsArgs
7444
+ campaignToShopifyProducts?: boolean | ShopifyProductCountOutputTypeCountCampaignToShopifyProductsArgs
7363
7445
  }
7364
7446
 
7365
7447
  // Custom InputTypes
@@ -7378,8 +7460,8 @@ export namespace Prisma {
7378
7460
  /**
7379
7461
  * ShopifyProductCountOutputType without action
7380
7462
  */
7381
- export type ShopifyProductCountOutputTypeCountCampaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7382
- where?: CampaignWhereInput
7463
+ export type ShopifyProductCountOutputTypeCountCampaignToShopifyProductsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7464
+ where?: CampaignToShopifyProductWhereInput
7383
7465
  }
7384
7466
 
7385
7467
 
@@ -28091,7 +28173,7 @@ export namespace Prisma {
28091
28173
  campaignPins?: boolean | Campaign$campaignPinsArgs<ExtArgs>
28092
28174
  socialPosts?: boolean | Campaign$socialPostsArgs<ExtArgs>
28093
28175
  campaignInvites?: boolean | Campaign$campaignInvitesArgs<ExtArgs>
28094
- shopifyProducts?: boolean | Campaign$shopifyProductsArgs<ExtArgs>
28176
+ campaignToShopifyProducts?: boolean | Campaign$campaignToShopifyProductsArgs<ExtArgs>
28095
28177
  brand?: boolean | BrandDefaultArgs<ExtArgs>
28096
28178
  creatorLists?: boolean | Campaign$creatorListsArgs<ExtArgs>
28097
28179
  optInViews?: boolean | Campaign$optInViewsArgs<ExtArgs>
@@ -28164,7 +28246,7 @@ export namespace Prisma {
28164
28246
  campaignPins?: boolean | Campaign$campaignPinsArgs<ExtArgs>
28165
28247
  socialPosts?: boolean | Campaign$socialPostsArgs<ExtArgs>
28166
28248
  campaignInvites?: boolean | Campaign$campaignInvitesArgs<ExtArgs>
28167
- shopifyProducts?: boolean | Campaign$shopifyProductsArgs<ExtArgs>
28249
+ campaignToShopifyProducts?: boolean | Campaign$campaignToShopifyProductsArgs<ExtArgs>
28168
28250
  brand?: boolean | BrandDefaultArgs<ExtArgs>
28169
28251
  creatorLists?: boolean | Campaign$creatorListsArgs<ExtArgs>
28170
28252
  optInViews?: boolean | Campaign$optInViewsArgs<ExtArgs>
@@ -28185,7 +28267,7 @@ export namespace Prisma {
28185
28267
  campaignPins: Prisma.$CampaignPinPayload<ExtArgs>[]
28186
28268
  socialPosts: Prisma.$SocialPostPayload<ExtArgs>[]
28187
28269
  campaignInvites: Prisma.$CampaignInvitePayload<ExtArgs>[]
28188
- shopifyProducts: Prisma.$ShopifyProductPayload<ExtArgs>[]
28270
+ campaignToShopifyProducts: Prisma.$CampaignToShopifyProductPayload<ExtArgs>[]
28189
28271
  brand: Prisma.$BrandPayload<ExtArgs>
28190
28272
  creatorLists: Prisma.$CreatorListPayload<ExtArgs>[]
28191
28273
  optInViews: Prisma.$OptInViewPayload<ExtArgs>[]
@@ -28627,7 +28709,7 @@ export namespace Prisma {
28627
28709
 
28628
28710
  campaignInvites<T extends Campaign$campaignInvitesArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$campaignInvitesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignInvitePayload<ExtArgs>, T, 'findMany'> | Null>;
28629
28711
 
28630
- shopifyProducts<T extends Campaign$shopifyProductsArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$shopifyProductsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShopifyProductPayload<ExtArgs>, T, 'findMany'> | Null>;
28712
+ campaignToShopifyProducts<T extends Campaign$campaignToShopifyProductsArgs<ExtArgs> = {}>(args?: Subset<T, Campaign$campaignToShopifyProductsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'findMany'> | Null>;
28631
28713
 
28632
28714
  brand<T extends BrandDefaultArgs<ExtArgs> = {}>(args?: Subset<T, BrandDefaultArgs<ExtArgs>>): Prisma__BrandClient<$Result.GetResult<Prisma.$BrandPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
28633
28715
 
@@ -29218,23 +29300,23 @@ export namespace Prisma {
29218
29300
 
29219
29301
 
29220
29302
  /**
29221
- * Campaign.shopifyProducts
29303
+ * Campaign.campaignToShopifyProducts
29222
29304
  */
29223
- export type Campaign$shopifyProductsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
29305
+ export type Campaign$campaignToShopifyProductsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
29224
29306
  /**
29225
- * Select specific fields to fetch from the ShopifyProduct
29307
+ * Select specific fields to fetch from the CampaignToShopifyProduct
29226
29308
  */
29227
- select?: ShopifyProductSelect<ExtArgs> | null
29309
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
29228
29310
  /**
29229
29311
  * Choose, which related nodes to fetch as well.
29230
29312
  */
29231
- include?: ShopifyProductInclude<ExtArgs> | null
29232
- where?: ShopifyProductWhereInput
29233
- orderBy?: ShopifyProductOrderByWithRelationAndSearchRelevanceInput | ShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
29234
- cursor?: ShopifyProductWhereUniqueInput
29313
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
29314
+ where?: CampaignToShopifyProductWhereInput
29315
+ orderBy?: CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput | CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
29316
+ cursor?: CampaignToShopifyProductWhereUniqueInput
29235
29317
  take?: number
29236
29318
  skip?: number
29237
- distinct?: ShopifyProductScalarFieldEnum | ShopifyProductScalarFieldEnum[]
29319
+ distinct?: CampaignToShopifyProductScalarFieldEnum | CampaignToShopifyProductScalarFieldEnum[]
29238
29320
  }
29239
29321
 
29240
29322
 
@@ -72073,10 +72155,6 @@ export namespace Prisma {
72073
72155
  shopifyId: string | null
72074
72156
  title: string | null
72075
72157
  handle: string | null
72076
- createdAt: Date | null
72077
- updatedAt: Date | null
72078
- tags: string | null
72079
- status: string | null
72080
72158
  lastSynced: Date | null
72081
72159
  shopifyStoreId: number | null
72082
72160
  }
@@ -72086,10 +72164,6 @@ export namespace Prisma {
72086
72164
  shopifyId: string | null
72087
72165
  title: string | null
72088
72166
  handle: string | null
72089
- createdAt: Date | null
72090
- updatedAt: Date | null
72091
- tags: string | null
72092
- status: string | null
72093
72167
  lastSynced: Date | null
72094
72168
  shopifyStoreId: number | null
72095
72169
  }
@@ -72099,10 +72173,6 @@ export namespace Prisma {
72099
72173
  shopifyId: number
72100
72174
  title: number
72101
72175
  handle: number
72102
- createdAt: number
72103
- updatedAt: number
72104
- tags: number
72105
- status: number
72106
72176
  metaData: number
72107
72177
  lastSynced: number
72108
72178
  shopifyStoreId: number
@@ -72125,10 +72195,6 @@ export namespace Prisma {
72125
72195
  shopifyId?: true
72126
72196
  title?: true
72127
72197
  handle?: true
72128
- createdAt?: true
72129
- updatedAt?: true
72130
- tags?: true
72131
- status?: true
72132
72198
  lastSynced?: true
72133
72199
  shopifyStoreId?: true
72134
72200
  }
@@ -72138,10 +72204,6 @@ export namespace Prisma {
72138
72204
  shopifyId?: true
72139
72205
  title?: true
72140
72206
  handle?: true
72141
- createdAt?: true
72142
- updatedAt?: true
72143
- tags?: true
72144
- status?: true
72145
72207
  lastSynced?: true
72146
72208
  shopifyStoreId?: true
72147
72209
  }
@@ -72151,10 +72213,6 @@ export namespace Prisma {
72151
72213
  shopifyId?: true
72152
72214
  title?: true
72153
72215
  handle?: true
72154
- createdAt?: true
72155
- updatedAt?: true
72156
- tags?: true
72157
- status?: true
72158
72216
  metaData?: true
72159
72217
  lastSynced?: true
72160
72218
  shopifyStoreId?: true
@@ -72252,10 +72310,6 @@ export namespace Prisma {
72252
72310
  shopifyId: string
72253
72311
  title: string
72254
72312
  handle: string
72255
- createdAt: Date | null
72256
- updatedAt: Date | null
72257
- tags: string | null
72258
- status: string | null
72259
72313
  metaData: JsonValue
72260
72314
  lastSynced: Date
72261
72315
  shopifyStoreId: number
@@ -72285,14 +72339,10 @@ export namespace Prisma {
72285
72339
  shopifyId?: boolean
72286
72340
  title?: boolean
72287
72341
  handle?: boolean
72288
- createdAt?: boolean
72289
- updatedAt?: boolean
72290
- tags?: boolean
72291
- status?: boolean
72292
72342
  metaData?: boolean
72293
72343
  lastSynced?: boolean
72294
72344
  shopifyStoreId?: boolean
72295
- campaigns?: boolean | ShopifyProduct$campaignsArgs<ExtArgs>
72345
+ campaignToShopifyProducts?: boolean | ShopifyProduct$campaignToShopifyProductsArgs<ExtArgs>
72296
72346
  shopifyStore?: boolean | ShopifyStoreDefaultArgs<ExtArgs>
72297
72347
  _count?: boolean | ShopifyProductCountOutputTypeDefaultArgs<ExtArgs>
72298
72348
  }, ExtArgs["result"]["shopifyProduct"]>
@@ -72302,17 +72352,13 @@ export namespace Prisma {
72302
72352
  shopifyId?: boolean
72303
72353
  title?: boolean
72304
72354
  handle?: boolean
72305
- createdAt?: boolean
72306
- updatedAt?: boolean
72307
- tags?: boolean
72308
- status?: boolean
72309
72355
  metaData?: boolean
72310
72356
  lastSynced?: boolean
72311
72357
  shopifyStoreId?: boolean
72312
72358
  }
72313
72359
 
72314
72360
  export type ShopifyProductInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72315
- campaigns?: boolean | ShopifyProduct$campaignsArgs<ExtArgs>
72361
+ campaignToShopifyProducts?: boolean | ShopifyProduct$campaignToShopifyProductsArgs<ExtArgs>
72316
72362
  shopifyStore?: boolean | ShopifyStoreDefaultArgs<ExtArgs>
72317
72363
  _count?: boolean | ShopifyProductCountOutputTypeDefaultArgs<ExtArgs>
72318
72364
  }
@@ -72321,7 +72367,7 @@ export namespace Prisma {
72321
72367
  export type $ShopifyProductPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72322
72368
  name: "ShopifyProduct"
72323
72369
  objects: {
72324
- campaigns: Prisma.$CampaignPayload<ExtArgs>[]
72370
+ campaignToShopifyProducts: Prisma.$CampaignToShopifyProductPayload<ExtArgs>[]
72325
72371
  shopifyStore: Prisma.$ShopifyStorePayload<ExtArgs>
72326
72372
  }
72327
72373
  scalars: $Extensions.GetPayloadResult<{
@@ -72329,10 +72375,6 @@ export namespace Prisma {
72329
72375
  shopifyId: string
72330
72376
  title: string
72331
72377
  handle: string
72332
- createdAt: Date | null
72333
- updatedAt: Date | null
72334
- tags: string | null
72335
- status: string | null
72336
72378
  metaData: Prisma.JsonValue
72337
72379
  lastSynced: Date
72338
72380
  shopifyStoreId: number
@@ -72701,7 +72743,7 @@ export namespace Prisma {
72701
72743
  export interface Prisma__ShopifyProductClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
72702
72744
  readonly [Symbol.toStringTag]: 'PrismaPromise';
72703
72745
 
72704
- campaigns<T extends ShopifyProduct$campaignsArgs<ExtArgs> = {}>(args?: Subset<T, ShopifyProduct$campaignsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, 'findMany'> | Null>;
72746
+ campaignToShopifyProducts<T extends ShopifyProduct$campaignToShopifyProductsArgs<ExtArgs> = {}>(args?: Subset<T, ShopifyProduct$campaignToShopifyProductsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'findMany'> | Null>;
72705
72747
 
72706
72748
  shopifyStore<T extends ShopifyStoreDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShopifyStoreDefaultArgs<ExtArgs>>): Prisma__ShopifyStoreClient<$Result.GetResult<Prisma.$ShopifyStorePayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
72707
72749
 
@@ -72730,364 +72772,1288 @@ export namespace Prisma {
72730
72772
 
72731
72773
 
72732
72774
  /**
72733
- * Fields of the ShopifyProduct model
72775
+ * Fields of the ShopifyProduct model
72776
+ */
72777
+ interface ShopifyProductFieldRefs {
72778
+ readonly id: FieldRef<"ShopifyProduct", 'Int'>
72779
+ readonly shopifyId: FieldRef<"ShopifyProduct", 'String'>
72780
+ readonly title: FieldRef<"ShopifyProduct", 'String'>
72781
+ readonly handle: FieldRef<"ShopifyProduct", 'String'>
72782
+ readonly metaData: FieldRef<"ShopifyProduct", 'Json'>
72783
+ readonly lastSynced: FieldRef<"ShopifyProduct", 'DateTime'>
72784
+ readonly shopifyStoreId: FieldRef<"ShopifyProduct", 'Int'>
72785
+ }
72786
+
72787
+
72788
+ // Custom InputTypes
72789
+
72790
+ /**
72791
+ * ShopifyProduct findUnique
72792
+ */
72793
+ export type ShopifyProductFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72794
+ /**
72795
+ * Select specific fields to fetch from the ShopifyProduct
72796
+ */
72797
+ select?: ShopifyProductSelect<ExtArgs> | null
72798
+ /**
72799
+ * Choose, which related nodes to fetch as well.
72800
+ */
72801
+ include?: ShopifyProductInclude<ExtArgs> | null
72802
+ /**
72803
+ * Filter, which ShopifyProduct to fetch.
72804
+ */
72805
+ where: ShopifyProductWhereUniqueInput
72806
+ }
72807
+
72808
+
72809
+ /**
72810
+ * ShopifyProduct findUniqueOrThrow
72811
+ */
72812
+ export type ShopifyProductFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72813
+ /**
72814
+ * Select specific fields to fetch from the ShopifyProduct
72815
+ */
72816
+ select?: ShopifyProductSelect<ExtArgs> | null
72817
+ /**
72818
+ * Choose, which related nodes to fetch as well.
72819
+ */
72820
+ include?: ShopifyProductInclude<ExtArgs> | null
72821
+ /**
72822
+ * Filter, which ShopifyProduct to fetch.
72823
+ */
72824
+ where: ShopifyProductWhereUniqueInput
72825
+ }
72826
+
72827
+
72828
+ /**
72829
+ * ShopifyProduct findFirst
72830
+ */
72831
+ export type ShopifyProductFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72832
+ /**
72833
+ * Select specific fields to fetch from the ShopifyProduct
72834
+ */
72835
+ select?: ShopifyProductSelect<ExtArgs> | null
72836
+ /**
72837
+ * Choose, which related nodes to fetch as well.
72838
+ */
72839
+ include?: ShopifyProductInclude<ExtArgs> | null
72840
+ /**
72841
+ * Filter, which ShopifyProduct to fetch.
72842
+ */
72843
+ where?: ShopifyProductWhereInput
72844
+ /**
72845
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
72846
+ *
72847
+ * Determine the order of ShopifyProducts to fetch.
72848
+ */
72849
+ orderBy?: ShopifyProductOrderByWithRelationAndSearchRelevanceInput | ShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
72850
+ /**
72851
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
72852
+ *
72853
+ * Sets the position for searching for ShopifyProducts.
72854
+ */
72855
+ cursor?: ShopifyProductWhereUniqueInput
72856
+ /**
72857
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72858
+ *
72859
+ * Take `±n` ShopifyProducts from the position of the cursor.
72860
+ */
72861
+ take?: number
72862
+ /**
72863
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72864
+ *
72865
+ * Skip the first `n` ShopifyProducts.
72866
+ */
72867
+ skip?: number
72868
+ /**
72869
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
72870
+ *
72871
+ * Filter by unique combinations of ShopifyProducts.
72872
+ */
72873
+ distinct?: ShopifyProductScalarFieldEnum | ShopifyProductScalarFieldEnum[]
72874
+ }
72875
+
72876
+
72877
+ /**
72878
+ * ShopifyProduct findFirstOrThrow
72879
+ */
72880
+ export type ShopifyProductFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72881
+ /**
72882
+ * Select specific fields to fetch from the ShopifyProduct
72883
+ */
72884
+ select?: ShopifyProductSelect<ExtArgs> | null
72885
+ /**
72886
+ * Choose, which related nodes to fetch as well.
72887
+ */
72888
+ include?: ShopifyProductInclude<ExtArgs> | null
72889
+ /**
72890
+ * Filter, which ShopifyProduct to fetch.
72891
+ */
72892
+ where?: ShopifyProductWhereInput
72893
+ /**
72894
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
72895
+ *
72896
+ * Determine the order of ShopifyProducts to fetch.
72897
+ */
72898
+ orderBy?: ShopifyProductOrderByWithRelationAndSearchRelevanceInput | ShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
72899
+ /**
72900
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
72901
+ *
72902
+ * Sets the position for searching for ShopifyProducts.
72903
+ */
72904
+ cursor?: ShopifyProductWhereUniqueInput
72905
+ /**
72906
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72907
+ *
72908
+ * Take `±n` ShopifyProducts from the position of the cursor.
72909
+ */
72910
+ take?: number
72911
+ /**
72912
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72913
+ *
72914
+ * Skip the first `n` ShopifyProducts.
72915
+ */
72916
+ skip?: number
72917
+ /**
72918
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
72919
+ *
72920
+ * Filter by unique combinations of ShopifyProducts.
72921
+ */
72922
+ distinct?: ShopifyProductScalarFieldEnum | ShopifyProductScalarFieldEnum[]
72923
+ }
72924
+
72925
+
72926
+ /**
72927
+ * ShopifyProduct findMany
72928
+ */
72929
+ export type ShopifyProductFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72930
+ /**
72931
+ * Select specific fields to fetch from the ShopifyProduct
72932
+ */
72933
+ select?: ShopifyProductSelect<ExtArgs> | null
72934
+ /**
72935
+ * Choose, which related nodes to fetch as well.
72936
+ */
72937
+ include?: ShopifyProductInclude<ExtArgs> | null
72938
+ /**
72939
+ * Filter, which ShopifyProducts to fetch.
72940
+ */
72941
+ where?: ShopifyProductWhereInput
72942
+ /**
72943
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
72944
+ *
72945
+ * Determine the order of ShopifyProducts to fetch.
72946
+ */
72947
+ orderBy?: ShopifyProductOrderByWithRelationAndSearchRelevanceInput | ShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
72948
+ /**
72949
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
72950
+ *
72951
+ * Sets the position for listing ShopifyProducts.
72952
+ */
72953
+ cursor?: ShopifyProductWhereUniqueInput
72954
+ /**
72955
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72956
+ *
72957
+ * Take `±n` ShopifyProducts from the position of the cursor.
72958
+ */
72959
+ take?: number
72960
+ /**
72961
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72962
+ *
72963
+ * Skip the first `n` ShopifyProducts.
72964
+ */
72965
+ skip?: number
72966
+ distinct?: ShopifyProductScalarFieldEnum | ShopifyProductScalarFieldEnum[]
72967
+ }
72968
+
72969
+
72970
+ /**
72971
+ * ShopifyProduct create
72972
+ */
72973
+ export type ShopifyProductCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72974
+ /**
72975
+ * Select specific fields to fetch from the ShopifyProduct
72976
+ */
72977
+ select?: ShopifyProductSelect<ExtArgs> | null
72978
+ /**
72979
+ * Choose, which related nodes to fetch as well.
72980
+ */
72981
+ include?: ShopifyProductInclude<ExtArgs> | null
72982
+ /**
72983
+ * The data needed to create a ShopifyProduct.
72984
+ */
72985
+ data: XOR<ShopifyProductCreateInput, ShopifyProductUncheckedCreateInput>
72986
+ }
72987
+
72988
+
72989
+ /**
72990
+ * ShopifyProduct createMany
72991
+ */
72992
+ export type ShopifyProductCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72993
+ /**
72994
+ * The data used to create many ShopifyProducts.
72995
+ */
72996
+ data: ShopifyProductCreateManyInput | ShopifyProductCreateManyInput[]
72997
+ skipDuplicates?: boolean
72998
+ }
72999
+
73000
+
73001
+ /**
73002
+ * ShopifyProduct update
73003
+ */
73004
+ export type ShopifyProductUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73005
+ /**
73006
+ * Select specific fields to fetch from the ShopifyProduct
73007
+ */
73008
+ select?: ShopifyProductSelect<ExtArgs> | null
73009
+ /**
73010
+ * Choose, which related nodes to fetch as well.
73011
+ */
73012
+ include?: ShopifyProductInclude<ExtArgs> | null
73013
+ /**
73014
+ * The data needed to update a ShopifyProduct.
73015
+ */
73016
+ data: XOR<ShopifyProductUpdateInput, ShopifyProductUncheckedUpdateInput>
73017
+ /**
73018
+ * Choose, which ShopifyProduct to update.
73019
+ */
73020
+ where: ShopifyProductWhereUniqueInput
73021
+ }
73022
+
73023
+
73024
+ /**
73025
+ * ShopifyProduct updateMany
73026
+ */
73027
+ export type ShopifyProductUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73028
+ /**
73029
+ * The data used to update ShopifyProducts.
73030
+ */
73031
+ data: XOR<ShopifyProductUpdateManyMutationInput, ShopifyProductUncheckedUpdateManyInput>
73032
+ /**
73033
+ * Filter which ShopifyProducts to update
73034
+ */
73035
+ where?: ShopifyProductWhereInput
73036
+ }
73037
+
73038
+
73039
+ /**
73040
+ * ShopifyProduct upsert
73041
+ */
73042
+ export type ShopifyProductUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73043
+ /**
73044
+ * Select specific fields to fetch from the ShopifyProduct
73045
+ */
73046
+ select?: ShopifyProductSelect<ExtArgs> | null
73047
+ /**
73048
+ * Choose, which related nodes to fetch as well.
73049
+ */
73050
+ include?: ShopifyProductInclude<ExtArgs> | null
73051
+ /**
73052
+ * The filter to search for the ShopifyProduct to update in case it exists.
73053
+ */
73054
+ where: ShopifyProductWhereUniqueInput
73055
+ /**
73056
+ * In case the ShopifyProduct found by the `where` argument doesn't exist, create a new ShopifyProduct with this data.
73057
+ */
73058
+ create: XOR<ShopifyProductCreateInput, ShopifyProductUncheckedCreateInput>
73059
+ /**
73060
+ * In case the ShopifyProduct was found with the provided `where` argument, update it with this data.
73061
+ */
73062
+ update: XOR<ShopifyProductUpdateInput, ShopifyProductUncheckedUpdateInput>
73063
+ }
73064
+
73065
+
73066
+ /**
73067
+ * ShopifyProduct delete
73068
+ */
73069
+ export type ShopifyProductDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73070
+ /**
73071
+ * Select specific fields to fetch from the ShopifyProduct
73072
+ */
73073
+ select?: ShopifyProductSelect<ExtArgs> | null
73074
+ /**
73075
+ * Choose, which related nodes to fetch as well.
73076
+ */
73077
+ include?: ShopifyProductInclude<ExtArgs> | null
73078
+ /**
73079
+ * Filter which ShopifyProduct to delete.
73080
+ */
73081
+ where: ShopifyProductWhereUniqueInput
73082
+ }
73083
+
73084
+
73085
+ /**
73086
+ * ShopifyProduct deleteMany
73087
+ */
73088
+ export type ShopifyProductDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73089
+ /**
73090
+ * Filter which ShopifyProducts to delete
73091
+ */
73092
+ where?: ShopifyProductWhereInput
73093
+ }
73094
+
73095
+
73096
+ /**
73097
+ * ShopifyProduct.campaignToShopifyProducts
73098
+ */
73099
+ export type ShopifyProduct$campaignToShopifyProductsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73100
+ /**
73101
+ * Select specific fields to fetch from the CampaignToShopifyProduct
73102
+ */
73103
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
73104
+ /**
73105
+ * Choose, which related nodes to fetch as well.
73106
+ */
73107
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
73108
+ where?: CampaignToShopifyProductWhereInput
73109
+ orderBy?: CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput | CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
73110
+ cursor?: CampaignToShopifyProductWhereUniqueInput
73111
+ take?: number
73112
+ skip?: number
73113
+ distinct?: CampaignToShopifyProductScalarFieldEnum | CampaignToShopifyProductScalarFieldEnum[]
73114
+ }
73115
+
73116
+
73117
+ /**
73118
+ * ShopifyProduct without action
73119
+ */
73120
+ export type ShopifyProductDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73121
+ /**
73122
+ * Select specific fields to fetch from the ShopifyProduct
73123
+ */
73124
+ select?: ShopifyProductSelect<ExtArgs> | null
73125
+ /**
73126
+ * Choose, which related nodes to fetch as well.
73127
+ */
73128
+ include?: ShopifyProductInclude<ExtArgs> | null
73129
+ }
73130
+
73131
+
73132
+
73133
+ /**
73134
+ * Model CampaignToShopifyProduct
73135
+ */
73136
+
73137
+ export type AggregateCampaignToShopifyProduct = {
73138
+ _count: CampaignToShopifyProductCountAggregateOutputType | null
73139
+ _avg: CampaignToShopifyProductAvgAggregateOutputType | null
73140
+ _sum: CampaignToShopifyProductSumAggregateOutputType | null
73141
+ _min: CampaignToShopifyProductMinAggregateOutputType | null
73142
+ _max: CampaignToShopifyProductMaxAggregateOutputType | null
73143
+ }
73144
+
73145
+ export type CampaignToShopifyProductAvgAggregateOutputType = {
73146
+ campaignId: number | null
73147
+ shopifyProductId: number | null
73148
+ }
73149
+
73150
+ export type CampaignToShopifyProductSumAggregateOutputType = {
73151
+ campaignId: number | null
73152
+ shopifyProductId: number | null
73153
+ }
73154
+
73155
+ export type CampaignToShopifyProductMinAggregateOutputType = {
73156
+ campaignId: number | null
73157
+ shopifyProductId: number | null
73158
+ }
73159
+
73160
+ export type CampaignToShopifyProductMaxAggregateOutputType = {
73161
+ campaignId: number | null
73162
+ shopifyProductId: number | null
73163
+ }
73164
+
73165
+ export type CampaignToShopifyProductCountAggregateOutputType = {
73166
+ campaignId: number
73167
+ shopifyProductId: number
73168
+ _all: number
73169
+ }
73170
+
73171
+
73172
+ export type CampaignToShopifyProductAvgAggregateInputType = {
73173
+ campaignId?: true
73174
+ shopifyProductId?: true
73175
+ }
73176
+
73177
+ export type CampaignToShopifyProductSumAggregateInputType = {
73178
+ campaignId?: true
73179
+ shopifyProductId?: true
73180
+ }
73181
+
73182
+ export type CampaignToShopifyProductMinAggregateInputType = {
73183
+ campaignId?: true
73184
+ shopifyProductId?: true
73185
+ }
73186
+
73187
+ export type CampaignToShopifyProductMaxAggregateInputType = {
73188
+ campaignId?: true
73189
+ shopifyProductId?: true
73190
+ }
73191
+
73192
+ export type CampaignToShopifyProductCountAggregateInputType = {
73193
+ campaignId?: true
73194
+ shopifyProductId?: true
73195
+ _all?: true
73196
+ }
73197
+
73198
+ export type CampaignToShopifyProductAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73199
+ /**
73200
+ * Filter which CampaignToShopifyProduct to aggregate.
73201
+ */
73202
+ where?: CampaignToShopifyProductWhereInput
73203
+ /**
73204
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
73205
+ *
73206
+ * Determine the order of CampaignToShopifyProducts to fetch.
73207
+ */
73208
+ orderBy?: CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput | CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
73209
+ /**
73210
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
73211
+ *
73212
+ * Sets the start position
73213
+ */
73214
+ cursor?: CampaignToShopifyProductWhereUniqueInput
73215
+ /**
73216
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
73217
+ *
73218
+ * Take `±n` CampaignToShopifyProducts from the position of the cursor.
73219
+ */
73220
+ take?: number
73221
+ /**
73222
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
73223
+ *
73224
+ * Skip the first `n` CampaignToShopifyProducts.
73225
+ */
73226
+ skip?: number
73227
+ /**
73228
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
73229
+ *
73230
+ * Count returned CampaignToShopifyProducts
73231
+ **/
73232
+ _count?: true | CampaignToShopifyProductCountAggregateInputType
73233
+ /**
73234
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
73235
+ *
73236
+ * Select which fields to average
73237
+ **/
73238
+ _avg?: CampaignToShopifyProductAvgAggregateInputType
73239
+ /**
73240
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
73241
+ *
73242
+ * Select which fields to sum
73243
+ **/
73244
+ _sum?: CampaignToShopifyProductSumAggregateInputType
73245
+ /**
73246
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
73247
+ *
73248
+ * Select which fields to find the minimum value
73249
+ **/
73250
+ _min?: CampaignToShopifyProductMinAggregateInputType
73251
+ /**
73252
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
73253
+ *
73254
+ * Select which fields to find the maximum value
73255
+ **/
73256
+ _max?: CampaignToShopifyProductMaxAggregateInputType
73257
+ }
73258
+
73259
+ export type GetCampaignToShopifyProductAggregateType<T extends CampaignToShopifyProductAggregateArgs> = {
73260
+ [P in keyof T & keyof AggregateCampaignToShopifyProduct]: P extends '_count' | 'count'
73261
+ ? T[P] extends true
73262
+ ? number
73263
+ : GetScalarType<T[P], AggregateCampaignToShopifyProduct[P]>
73264
+ : GetScalarType<T[P], AggregateCampaignToShopifyProduct[P]>
73265
+ }
73266
+
73267
+
73268
+
73269
+
73270
+ export type CampaignToShopifyProductGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73271
+ where?: CampaignToShopifyProductWhereInput
73272
+ orderBy?: CampaignToShopifyProductOrderByWithAggregationInput | CampaignToShopifyProductOrderByWithAggregationInput[]
73273
+ by: CampaignToShopifyProductScalarFieldEnum[] | CampaignToShopifyProductScalarFieldEnum
73274
+ having?: CampaignToShopifyProductScalarWhereWithAggregatesInput
73275
+ take?: number
73276
+ skip?: number
73277
+ _count?: CampaignToShopifyProductCountAggregateInputType | true
73278
+ _avg?: CampaignToShopifyProductAvgAggregateInputType
73279
+ _sum?: CampaignToShopifyProductSumAggregateInputType
73280
+ _min?: CampaignToShopifyProductMinAggregateInputType
73281
+ _max?: CampaignToShopifyProductMaxAggregateInputType
73282
+ }
73283
+
73284
+ export type CampaignToShopifyProductGroupByOutputType = {
73285
+ campaignId: number
73286
+ shopifyProductId: number
73287
+ _count: CampaignToShopifyProductCountAggregateOutputType | null
73288
+ _avg: CampaignToShopifyProductAvgAggregateOutputType | null
73289
+ _sum: CampaignToShopifyProductSumAggregateOutputType | null
73290
+ _min: CampaignToShopifyProductMinAggregateOutputType | null
73291
+ _max: CampaignToShopifyProductMaxAggregateOutputType | null
73292
+ }
73293
+
73294
+ type GetCampaignToShopifyProductGroupByPayload<T extends CampaignToShopifyProductGroupByArgs> = Prisma.PrismaPromise<
73295
+ Array<
73296
+ PickEnumerable<CampaignToShopifyProductGroupByOutputType, T['by']> &
73297
+ {
73298
+ [P in ((keyof T) & (keyof CampaignToShopifyProductGroupByOutputType))]: P extends '_count'
73299
+ ? T[P] extends boolean
73300
+ ? number
73301
+ : GetScalarType<T[P], CampaignToShopifyProductGroupByOutputType[P]>
73302
+ : GetScalarType<T[P], CampaignToShopifyProductGroupByOutputType[P]>
73303
+ }
73304
+ >
73305
+ >
73306
+
73307
+
73308
+ export type CampaignToShopifyProductSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
73309
+ campaignId?: boolean
73310
+ shopifyProductId?: boolean
73311
+ campaign?: boolean | CampaignDefaultArgs<ExtArgs>
73312
+ shopifyProduct?: boolean | ShopifyProductDefaultArgs<ExtArgs>
73313
+ }, ExtArgs["result"]["campaignToShopifyProduct"]>
73314
+
73315
+ export type CampaignToShopifyProductSelectScalar = {
73316
+ campaignId?: boolean
73317
+ shopifyProductId?: boolean
73318
+ }
73319
+
73320
+ export type CampaignToShopifyProductInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73321
+ campaign?: boolean | CampaignDefaultArgs<ExtArgs>
73322
+ shopifyProduct?: boolean | ShopifyProductDefaultArgs<ExtArgs>
73323
+ }
73324
+
73325
+
73326
+ export type $CampaignToShopifyProductPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73327
+ name: "CampaignToShopifyProduct"
73328
+ objects: {
73329
+ campaign: Prisma.$CampaignPayload<ExtArgs>
73330
+ shopifyProduct: Prisma.$ShopifyProductPayload<ExtArgs>
73331
+ }
73332
+ scalars: $Extensions.GetPayloadResult<{
73333
+ campaignId: number
73334
+ shopifyProductId: number
73335
+ }, ExtArgs["result"]["campaignToShopifyProduct"]>
73336
+ composites: {}
73337
+ }
73338
+
73339
+
73340
+ type CampaignToShopifyProductGetPayload<S extends boolean | null | undefined | CampaignToShopifyProductDefaultArgs> = $Result.GetResult<Prisma.$CampaignToShopifyProductPayload, S>
73341
+
73342
+ type CampaignToShopifyProductCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
73343
+ Omit<CampaignToShopifyProductFindManyArgs, 'select' | 'include' | 'distinct'> & {
73344
+ select?: CampaignToShopifyProductCountAggregateInputType | true
73345
+ }
73346
+
73347
+ export interface CampaignToShopifyProductDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
73348
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CampaignToShopifyProduct'], meta: { name: 'CampaignToShopifyProduct' } }
73349
+ /**
73350
+ * Find zero or one CampaignToShopifyProduct that matches the filter.
73351
+ * @param {CampaignToShopifyProductFindUniqueArgs} args - Arguments to find a CampaignToShopifyProduct
73352
+ * @example
73353
+ * // Get one CampaignToShopifyProduct
73354
+ * const campaignToShopifyProduct = await prisma.campaignToShopifyProduct.findUnique({
73355
+ * where: {
73356
+ * // ... provide filter here
73357
+ * }
73358
+ * })
73359
+ **/
73360
+ findUnique<T extends CampaignToShopifyProductFindUniqueArgs<ExtArgs>>(
73361
+ args: SelectSubset<T, CampaignToShopifyProductFindUniqueArgs<ExtArgs>>
73362
+ ): Prisma__CampaignToShopifyProductClient<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
73363
+
73364
+ /**
73365
+ * Find one CampaignToShopifyProduct that matches the filter or throw an error with `error.code='P2025'`
73366
+ * if no matches were found.
73367
+ * @param {CampaignToShopifyProductFindUniqueOrThrowArgs} args - Arguments to find a CampaignToShopifyProduct
73368
+ * @example
73369
+ * // Get one CampaignToShopifyProduct
73370
+ * const campaignToShopifyProduct = await prisma.campaignToShopifyProduct.findUniqueOrThrow({
73371
+ * where: {
73372
+ * // ... provide filter here
73373
+ * }
73374
+ * })
73375
+ **/
73376
+ findUniqueOrThrow<T extends CampaignToShopifyProductFindUniqueOrThrowArgs<ExtArgs>>(
73377
+ args?: SelectSubset<T, CampaignToShopifyProductFindUniqueOrThrowArgs<ExtArgs>>
73378
+ ): Prisma__CampaignToShopifyProductClient<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
73379
+
73380
+ /**
73381
+ * Find the first CampaignToShopifyProduct that matches the filter.
73382
+ * Note, that providing `undefined` is treated as the value not being there.
73383
+ * Read more here: https://pris.ly/d/null-undefined
73384
+ * @param {CampaignToShopifyProductFindFirstArgs} args - Arguments to find a CampaignToShopifyProduct
73385
+ * @example
73386
+ * // Get one CampaignToShopifyProduct
73387
+ * const campaignToShopifyProduct = await prisma.campaignToShopifyProduct.findFirst({
73388
+ * where: {
73389
+ * // ... provide filter here
73390
+ * }
73391
+ * })
73392
+ **/
73393
+ findFirst<T extends CampaignToShopifyProductFindFirstArgs<ExtArgs>>(
73394
+ args?: SelectSubset<T, CampaignToShopifyProductFindFirstArgs<ExtArgs>>
73395
+ ): Prisma__CampaignToShopifyProductClient<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
73396
+
73397
+ /**
73398
+ * Find the first CampaignToShopifyProduct that matches the filter or
73399
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
73400
+ * Note, that providing `undefined` is treated as the value not being there.
73401
+ * Read more here: https://pris.ly/d/null-undefined
73402
+ * @param {CampaignToShopifyProductFindFirstOrThrowArgs} args - Arguments to find a CampaignToShopifyProduct
73403
+ * @example
73404
+ * // Get one CampaignToShopifyProduct
73405
+ * const campaignToShopifyProduct = await prisma.campaignToShopifyProduct.findFirstOrThrow({
73406
+ * where: {
73407
+ * // ... provide filter here
73408
+ * }
73409
+ * })
73410
+ **/
73411
+ findFirstOrThrow<T extends CampaignToShopifyProductFindFirstOrThrowArgs<ExtArgs>>(
73412
+ args?: SelectSubset<T, CampaignToShopifyProductFindFirstOrThrowArgs<ExtArgs>>
73413
+ ): Prisma__CampaignToShopifyProductClient<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
73414
+
73415
+ /**
73416
+ * Find zero or more CampaignToShopifyProducts that matches the filter.
73417
+ * Note, that providing `undefined` is treated as the value not being there.
73418
+ * Read more here: https://pris.ly/d/null-undefined
73419
+ * @param {CampaignToShopifyProductFindManyArgs=} args - Arguments to filter and select certain fields only.
73420
+ * @example
73421
+ * // Get all CampaignToShopifyProducts
73422
+ * const campaignToShopifyProducts = await prisma.campaignToShopifyProduct.findMany()
73423
+ *
73424
+ * // Get first 10 CampaignToShopifyProducts
73425
+ * const campaignToShopifyProducts = await prisma.campaignToShopifyProduct.findMany({ take: 10 })
73426
+ *
73427
+ * // Only select the `campaignId`
73428
+ * const campaignToShopifyProductWithCampaignIdOnly = await prisma.campaignToShopifyProduct.findMany({ select: { campaignId: true } })
73429
+ *
73430
+ **/
73431
+ findMany<T extends CampaignToShopifyProductFindManyArgs<ExtArgs>>(
73432
+ args?: SelectSubset<T, CampaignToShopifyProductFindManyArgs<ExtArgs>>
73433
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'findMany'>>
73434
+
73435
+ /**
73436
+ * Create a CampaignToShopifyProduct.
73437
+ * @param {CampaignToShopifyProductCreateArgs} args - Arguments to create a CampaignToShopifyProduct.
73438
+ * @example
73439
+ * // Create one CampaignToShopifyProduct
73440
+ * const CampaignToShopifyProduct = await prisma.campaignToShopifyProduct.create({
73441
+ * data: {
73442
+ * // ... data to create a CampaignToShopifyProduct
73443
+ * }
73444
+ * })
73445
+ *
73446
+ **/
73447
+ create<T extends CampaignToShopifyProductCreateArgs<ExtArgs>>(
73448
+ args: SelectSubset<T, CampaignToShopifyProductCreateArgs<ExtArgs>>
73449
+ ): Prisma__CampaignToShopifyProductClient<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
73450
+
73451
+ /**
73452
+ * Create many CampaignToShopifyProducts.
73453
+ * @param {CampaignToShopifyProductCreateManyArgs} args - Arguments to create many CampaignToShopifyProducts.
73454
+ * @example
73455
+ * // Create many CampaignToShopifyProducts
73456
+ * const campaignToShopifyProduct = await prisma.campaignToShopifyProduct.createMany({
73457
+ * data: {
73458
+ * // ... provide data here
73459
+ * }
73460
+ * })
73461
+ *
73462
+ **/
73463
+ createMany<T extends CampaignToShopifyProductCreateManyArgs<ExtArgs>>(
73464
+ args?: SelectSubset<T, CampaignToShopifyProductCreateManyArgs<ExtArgs>>
73465
+ ): Prisma.PrismaPromise<BatchPayload>
73466
+
73467
+ /**
73468
+ * Delete a CampaignToShopifyProduct.
73469
+ * @param {CampaignToShopifyProductDeleteArgs} args - Arguments to delete one CampaignToShopifyProduct.
73470
+ * @example
73471
+ * // Delete one CampaignToShopifyProduct
73472
+ * const CampaignToShopifyProduct = await prisma.campaignToShopifyProduct.delete({
73473
+ * where: {
73474
+ * // ... filter to delete one CampaignToShopifyProduct
73475
+ * }
73476
+ * })
73477
+ *
73478
+ **/
73479
+ delete<T extends CampaignToShopifyProductDeleteArgs<ExtArgs>>(
73480
+ args: SelectSubset<T, CampaignToShopifyProductDeleteArgs<ExtArgs>>
73481
+ ): Prisma__CampaignToShopifyProductClient<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
73482
+
73483
+ /**
73484
+ * Update one CampaignToShopifyProduct.
73485
+ * @param {CampaignToShopifyProductUpdateArgs} args - Arguments to update one CampaignToShopifyProduct.
73486
+ * @example
73487
+ * // Update one CampaignToShopifyProduct
73488
+ * const campaignToShopifyProduct = await prisma.campaignToShopifyProduct.update({
73489
+ * where: {
73490
+ * // ... provide filter here
73491
+ * },
73492
+ * data: {
73493
+ * // ... provide data here
73494
+ * }
73495
+ * })
73496
+ *
73497
+ **/
73498
+ update<T extends CampaignToShopifyProductUpdateArgs<ExtArgs>>(
73499
+ args: SelectSubset<T, CampaignToShopifyProductUpdateArgs<ExtArgs>>
73500
+ ): Prisma__CampaignToShopifyProductClient<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
73501
+
73502
+ /**
73503
+ * Delete zero or more CampaignToShopifyProducts.
73504
+ * @param {CampaignToShopifyProductDeleteManyArgs} args - Arguments to filter CampaignToShopifyProducts to delete.
73505
+ * @example
73506
+ * // Delete a few CampaignToShopifyProducts
73507
+ * const { count } = await prisma.campaignToShopifyProduct.deleteMany({
73508
+ * where: {
73509
+ * // ... provide filter here
73510
+ * }
73511
+ * })
73512
+ *
73513
+ **/
73514
+ deleteMany<T extends CampaignToShopifyProductDeleteManyArgs<ExtArgs>>(
73515
+ args?: SelectSubset<T, CampaignToShopifyProductDeleteManyArgs<ExtArgs>>
73516
+ ): Prisma.PrismaPromise<BatchPayload>
73517
+
73518
+ /**
73519
+ * Update zero or more CampaignToShopifyProducts.
73520
+ * Note, that providing `undefined` is treated as the value not being there.
73521
+ * Read more here: https://pris.ly/d/null-undefined
73522
+ * @param {CampaignToShopifyProductUpdateManyArgs} args - Arguments to update one or more rows.
73523
+ * @example
73524
+ * // Update many CampaignToShopifyProducts
73525
+ * const campaignToShopifyProduct = await prisma.campaignToShopifyProduct.updateMany({
73526
+ * where: {
73527
+ * // ... provide filter here
73528
+ * },
73529
+ * data: {
73530
+ * // ... provide data here
73531
+ * }
73532
+ * })
73533
+ *
73534
+ **/
73535
+ updateMany<T extends CampaignToShopifyProductUpdateManyArgs<ExtArgs>>(
73536
+ args: SelectSubset<T, CampaignToShopifyProductUpdateManyArgs<ExtArgs>>
73537
+ ): Prisma.PrismaPromise<BatchPayload>
73538
+
73539
+ /**
73540
+ * Create or update one CampaignToShopifyProduct.
73541
+ * @param {CampaignToShopifyProductUpsertArgs} args - Arguments to update or create a CampaignToShopifyProduct.
73542
+ * @example
73543
+ * // Update or create a CampaignToShopifyProduct
73544
+ * const campaignToShopifyProduct = await prisma.campaignToShopifyProduct.upsert({
73545
+ * create: {
73546
+ * // ... data to create a CampaignToShopifyProduct
73547
+ * },
73548
+ * update: {
73549
+ * // ... in case it already exists, update
73550
+ * },
73551
+ * where: {
73552
+ * // ... the filter for the CampaignToShopifyProduct we want to update
73553
+ * }
73554
+ * })
73555
+ **/
73556
+ upsert<T extends CampaignToShopifyProductUpsertArgs<ExtArgs>>(
73557
+ args: SelectSubset<T, CampaignToShopifyProductUpsertArgs<ExtArgs>>
73558
+ ): Prisma__CampaignToShopifyProductClient<$Result.GetResult<Prisma.$CampaignToShopifyProductPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
73559
+
73560
+ /**
73561
+ * Count the number of CampaignToShopifyProducts.
73562
+ * Note, that providing `undefined` is treated as the value not being there.
73563
+ * Read more here: https://pris.ly/d/null-undefined
73564
+ * @param {CampaignToShopifyProductCountArgs} args - Arguments to filter CampaignToShopifyProducts to count.
73565
+ * @example
73566
+ * // Count the number of CampaignToShopifyProducts
73567
+ * const count = await prisma.campaignToShopifyProduct.count({
73568
+ * where: {
73569
+ * // ... the filter for the CampaignToShopifyProducts we want to count
73570
+ * }
73571
+ * })
73572
+ **/
73573
+ count<T extends CampaignToShopifyProductCountArgs>(
73574
+ args?: Subset<T, CampaignToShopifyProductCountArgs>,
73575
+ ): Prisma.PrismaPromise<
73576
+ T extends $Utils.Record<'select', any>
73577
+ ? T['select'] extends true
73578
+ ? number
73579
+ : GetScalarType<T['select'], CampaignToShopifyProductCountAggregateOutputType>
73580
+ : number
73581
+ >
73582
+
73583
+ /**
73584
+ * Allows you to perform aggregations operations on a CampaignToShopifyProduct.
73585
+ * Note, that providing `undefined` is treated as the value not being there.
73586
+ * Read more here: https://pris.ly/d/null-undefined
73587
+ * @param {CampaignToShopifyProductAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
73588
+ * @example
73589
+ * // Ordered by age ascending
73590
+ * // Where email contains prisma.io
73591
+ * // Limited to the 10 users
73592
+ * const aggregations = await prisma.user.aggregate({
73593
+ * _avg: {
73594
+ * age: true,
73595
+ * },
73596
+ * where: {
73597
+ * email: {
73598
+ * contains: "prisma.io",
73599
+ * },
73600
+ * },
73601
+ * orderBy: {
73602
+ * age: "asc",
73603
+ * },
73604
+ * take: 10,
73605
+ * })
73606
+ **/
73607
+ aggregate<T extends CampaignToShopifyProductAggregateArgs>(args: Subset<T, CampaignToShopifyProductAggregateArgs>): Prisma.PrismaPromise<GetCampaignToShopifyProductAggregateType<T>>
73608
+
73609
+ /**
73610
+ * Group by CampaignToShopifyProduct.
73611
+ * Note, that providing `undefined` is treated as the value not being there.
73612
+ * Read more here: https://pris.ly/d/null-undefined
73613
+ * @param {CampaignToShopifyProductGroupByArgs} args - Group by arguments.
73614
+ * @example
73615
+ * // Group by city, order by createdAt, get count
73616
+ * const result = await prisma.user.groupBy({
73617
+ * by: ['city', 'createdAt'],
73618
+ * orderBy: {
73619
+ * createdAt: true
73620
+ * },
73621
+ * _count: {
73622
+ * _all: true
73623
+ * },
73624
+ * })
73625
+ *
73626
+ **/
73627
+ groupBy<
73628
+ T extends CampaignToShopifyProductGroupByArgs,
73629
+ HasSelectOrTake extends Or<
73630
+ Extends<'skip', Keys<T>>,
73631
+ Extends<'take', Keys<T>>
73632
+ >,
73633
+ OrderByArg extends True extends HasSelectOrTake
73634
+ ? { orderBy: CampaignToShopifyProductGroupByArgs['orderBy'] }
73635
+ : { orderBy?: CampaignToShopifyProductGroupByArgs['orderBy'] },
73636
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
73637
+ ByFields extends MaybeTupleToUnion<T['by']>,
73638
+ ByValid extends Has<ByFields, OrderFields>,
73639
+ HavingFields extends GetHavingFields<T['having']>,
73640
+ HavingValid extends Has<ByFields, HavingFields>,
73641
+ ByEmpty extends T['by'] extends never[] ? True : False,
73642
+ InputErrors extends ByEmpty extends True
73643
+ ? `Error: "by" must not be empty.`
73644
+ : HavingValid extends False
73645
+ ? {
73646
+ [P in HavingFields]: P extends ByFields
73647
+ ? never
73648
+ : P extends string
73649
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
73650
+ : [
73651
+ Error,
73652
+ 'Field ',
73653
+ P,
73654
+ ` in "having" needs to be provided in "by"`,
73655
+ ]
73656
+ }[HavingFields]
73657
+ : 'take' extends Keys<T>
73658
+ ? 'orderBy' extends Keys<T>
73659
+ ? ByValid extends True
73660
+ ? {}
73661
+ : {
73662
+ [P in OrderFields]: P extends ByFields
73663
+ ? never
73664
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
73665
+ }[OrderFields]
73666
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
73667
+ : 'skip' extends Keys<T>
73668
+ ? 'orderBy' extends Keys<T>
73669
+ ? ByValid extends True
73670
+ ? {}
73671
+ : {
73672
+ [P in OrderFields]: P extends ByFields
73673
+ ? never
73674
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
73675
+ }[OrderFields]
73676
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
73677
+ : ByValid extends True
73678
+ ? {}
73679
+ : {
73680
+ [P in OrderFields]: P extends ByFields
73681
+ ? never
73682
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
73683
+ }[OrderFields]
73684
+ >(args: SubsetIntersection<T, CampaignToShopifyProductGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCampaignToShopifyProductGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
73685
+ /**
73686
+ * Fields of the CampaignToShopifyProduct model
73687
+ */
73688
+ readonly fields: CampaignToShopifyProductFieldRefs;
73689
+ }
73690
+
73691
+ /**
73692
+ * The delegate class that acts as a "Promise-like" for CampaignToShopifyProduct.
73693
+ * Why is this prefixed with `Prisma__`?
73694
+ * Because we want to prevent naming conflicts as mentioned in
73695
+ * https://github.com/prisma/prisma-client-js/issues/707
73696
+ */
73697
+ export interface Prisma__CampaignToShopifyProductClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
73698
+ readonly [Symbol.toStringTag]: 'PrismaPromise';
73699
+
73700
+ campaign<T extends CampaignDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CampaignDefaultArgs<ExtArgs>>): Prisma__CampaignClient<$Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
73701
+
73702
+ shopifyProduct<T extends ShopifyProductDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ShopifyProductDefaultArgs<ExtArgs>>): Prisma__ShopifyProductClient<$Result.GetResult<Prisma.$ShopifyProductPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
73703
+
73704
+ /**
73705
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
73706
+ * @param onfulfilled The callback to execute when the Promise is resolved.
73707
+ * @param onrejected The callback to execute when the Promise is rejected.
73708
+ * @returns A Promise for the completion of which ever callback is executed.
73709
+ */
73710
+ 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>;
73711
+ /**
73712
+ * Attaches a callback for only the rejection of the Promise.
73713
+ * @param onrejected The callback to execute when the Promise is rejected.
73714
+ * @returns A Promise for the completion of the callback.
73715
+ */
73716
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
73717
+ /**
73718
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
73719
+ * resolved value cannot be modified from the callback.
73720
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
73721
+ * @returns A Promise for the completion of the callback.
73722
+ */
73723
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
73724
+ }
73725
+
73726
+
73727
+
73728
+ /**
73729
+ * Fields of the CampaignToShopifyProduct model
72734
73730
  */
72735
- interface ShopifyProductFieldRefs {
72736
- readonly id: FieldRef<"ShopifyProduct", 'Int'>
72737
- readonly shopifyId: FieldRef<"ShopifyProduct", 'String'>
72738
- readonly title: FieldRef<"ShopifyProduct", 'String'>
72739
- readonly handle: FieldRef<"ShopifyProduct", 'String'>
72740
- readonly createdAt: FieldRef<"ShopifyProduct", 'DateTime'>
72741
- readonly updatedAt: FieldRef<"ShopifyProduct", 'DateTime'>
72742
- readonly tags: FieldRef<"ShopifyProduct", 'String'>
72743
- readonly status: FieldRef<"ShopifyProduct", 'String'>
72744
- readonly metaData: FieldRef<"ShopifyProduct", 'Json'>
72745
- readonly lastSynced: FieldRef<"ShopifyProduct", 'DateTime'>
72746
- readonly shopifyStoreId: FieldRef<"ShopifyProduct", 'Int'>
73731
+ interface CampaignToShopifyProductFieldRefs {
73732
+ readonly campaignId: FieldRef<"CampaignToShopifyProduct", 'Int'>
73733
+ readonly shopifyProductId: FieldRef<"CampaignToShopifyProduct", 'Int'>
72747
73734
  }
72748
73735
 
72749
73736
 
72750
73737
  // Custom InputTypes
72751
73738
 
72752
73739
  /**
72753
- * ShopifyProduct findUnique
73740
+ * CampaignToShopifyProduct findUnique
72754
73741
  */
72755
- export type ShopifyProductFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73742
+ export type CampaignToShopifyProductFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72756
73743
  /**
72757
- * Select specific fields to fetch from the ShopifyProduct
73744
+ * Select specific fields to fetch from the CampaignToShopifyProduct
72758
73745
  */
72759
- select?: ShopifyProductSelect<ExtArgs> | null
73746
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
72760
73747
  /**
72761
73748
  * Choose, which related nodes to fetch as well.
72762
73749
  */
72763
- include?: ShopifyProductInclude<ExtArgs> | null
73750
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
72764
73751
  /**
72765
- * Filter, which ShopifyProduct to fetch.
73752
+ * Filter, which CampaignToShopifyProduct to fetch.
72766
73753
  */
72767
- where: ShopifyProductWhereUniqueInput
73754
+ where: CampaignToShopifyProductWhereUniqueInput
72768
73755
  }
72769
73756
 
72770
73757
 
72771
73758
  /**
72772
- * ShopifyProduct findUniqueOrThrow
73759
+ * CampaignToShopifyProduct findUniqueOrThrow
72773
73760
  */
72774
- export type ShopifyProductFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73761
+ export type CampaignToShopifyProductFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72775
73762
  /**
72776
- * Select specific fields to fetch from the ShopifyProduct
73763
+ * Select specific fields to fetch from the CampaignToShopifyProduct
72777
73764
  */
72778
- select?: ShopifyProductSelect<ExtArgs> | null
73765
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
72779
73766
  /**
72780
73767
  * Choose, which related nodes to fetch as well.
72781
73768
  */
72782
- include?: ShopifyProductInclude<ExtArgs> | null
73769
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
72783
73770
  /**
72784
- * Filter, which ShopifyProduct to fetch.
73771
+ * Filter, which CampaignToShopifyProduct to fetch.
72785
73772
  */
72786
- where: ShopifyProductWhereUniqueInput
73773
+ where: CampaignToShopifyProductWhereUniqueInput
72787
73774
  }
72788
73775
 
72789
73776
 
72790
73777
  /**
72791
- * ShopifyProduct findFirst
73778
+ * CampaignToShopifyProduct findFirst
72792
73779
  */
72793
- export type ShopifyProductFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73780
+ export type CampaignToShopifyProductFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72794
73781
  /**
72795
- * Select specific fields to fetch from the ShopifyProduct
73782
+ * Select specific fields to fetch from the CampaignToShopifyProduct
72796
73783
  */
72797
- select?: ShopifyProductSelect<ExtArgs> | null
73784
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
72798
73785
  /**
72799
73786
  * Choose, which related nodes to fetch as well.
72800
73787
  */
72801
- include?: ShopifyProductInclude<ExtArgs> | null
73788
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
72802
73789
  /**
72803
- * Filter, which ShopifyProduct to fetch.
73790
+ * Filter, which CampaignToShopifyProduct to fetch.
72804
73791
  */
72805
- where?: ShopifyProductWhereInput
73792
+ where?: CampaignToShopifyProductWhereInput
72806
73793
  /**
72807
73794
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
72808
73795
  *
72809
- * Determine the order of ShopifyProducts to fetch.
73796
+ * Determine the order of CampaignToShopifyProducts to fetch.
72810
73797
  */
72811
- orderBy?: ShopifyProductOrderByWithRelationAndSearchRelevanceInput | ShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
73798
+ orderBy?: CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput | CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
72812
73799
  /**
72813
73800
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
72814
73801
  *
72815
- * Sets the position for searching for ShopifyProducts.
73802
+ * Sets the position for searching for CampaignToShopifyProducts.
72816
73803
  */
72817
- cursor?: ShopifyProductWhereUniqueInput
73804
+ cursor?: CampaignToShopifyProductWhereUniqueInput
72818
73805
  /**
72819
73806
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72820
73807
  *
72821
- * Take `±n` ShopifyProducts from the position of the cursor.
73808
+ * Take `±n` CampaignToShopifyProducts from the position of the cursor.
72822
73809
  */
72823
73810
  take?: number
72824
73811
  /**
72825
73812
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72826
73813
  *
72827
- * Skip the first `n` ShopifyProducts.
73814
+ * Skip the first `n` CampaignToShopifyProducts.
72828
73815
  */
72829
73816
  skip?: number
72830
73817
  /**
72831
73818
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
72832
73819
  *
72833
- * Filter by unique combinations of ShopifyProducts.
73820
+ * Filter by unique combinations of CampaignToShopifyProducts.
72834
73821
  */
72835
- distinct?: ShopifyProductScalarFieldEnum | ShopifyProductScalarFieldEnum[]
73822
+ distinct?: CampaignToShopifyProductScalarFieldEnum | CampaignToShopifyProductScalarFieldEnum[]
72836
73823
  }
72837
73824
 
72838
73825
 
72839
73826
  /**
72840
- * ShopifyProduct findFirstOrThrow
73827
+ * CampaignToShopifyProduct findFirstOrThrow
72841
73828
  */
72842
- export type ShopifyProductFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73829
+ export type CampaignToShopifyProductFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72843
73830
  /**
72844
- * Select specific fields to fetch from the ShopifyProduct
73831
+ * Select specific fields to fetch from the CampaignToShopifyProduct
72845
73832
  */
72846
- select?: ShopifyProductSelect<ExtArgs> | null
73833
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
72847
73834
  /**
72848
73835
  * Choose, which related nodes to fetch as well.
72849
73836
  */
72850
- include?: ShopifyProductInclude<ExtArgs> | null
73837
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
72851
73838
  /**
72852
- * Filter, which ShopifyProduct to fetch.
73839
+ * Filter, which CampaignToShopifyProduct to fetch.
72853
73840
  */
72854
- where?: ShopifyProductWhereInput
73841
+ where?: CampaignToShopifyProductWhereInput
72855
73842
  /**
72856
73843
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
72857
73844
  *
72858
- * Determine the order of ShopifyProducts to fetch.
73845
+ * Determine the order of CampaignToShopifyProducts to fetch.
72859
73846
  */
72860
- orderBy?: ShopifyProductOrderByWithRelationAndSearchRelevanceInput | ShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
73847
+ orderBy?: CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput | CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
72861
73848
  /**
72862
73849
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
72863
73850
  *
72864
- * Sets the position for searching for ShopifyProducts.
73851
+ * Sets the position for searching for CampaignToShopifyProducts.
72865
73852
  */
72866
- cursor?: ShopifyProductWhereUniqueInput
73853
+ cursor?: CampaignToShopifyProductWhereUniqueInput
72867
73854
  /**
72868
73855
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72869
73856
  *
72870
- * Take `±n` ShopifyProducts from the position of the cursor.
73857
+ * Take `±n` CampaignToShopifyProducts from the position of the cursor.
72871
73858
  */
72872
73859
  take?: number
72873
73860
  /**
72874
73861
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72875
73862
  *
72876
- * Skip the first `n` ShopifyProducts.
73863
+ * Skip the first `n` CampaignToShopifyProducts.
72877
73864
  */
72878
73865
  skip?: number
72879
73866
  /**
72880
73867
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
72881
73868
  *
72882
- * Filter by unique combinations of ShopifyProducts.
73869
+ * Filter by unique combinations of CampaignToShopifyProducts.
72883
73870
  */
72884
- distinct?: ShopifyProductScalarFieldEnum | ShopifyProductScalarFieldEnum[]
73871
+ distinct?: CampaignToShopifyProductScalarFieldEnum | CampaignToShopifyProductScalarFieldEnum[]
72885
73872
  }
72886
73873
 
72887
73874
 
72888
73875
  /**
72889
- * ShopifyProduct findMany
73876
+ * CampaignToShopifyProduct findMany
72890
73877
  */
72891
- export type ShopifyProductFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73878
+ export type CampaignToShopifyProductFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72892
73879
  /**
72893
- * Select specific fields to fetch from the ShopifyProduct
73880
+ * Select specific fields to fetch from the CampaignToShopifyProduct
72894
73881
  */
72895
- select?: ShopifyProductSelect<ExtArgs> | null
73882
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
72896
73883
  /**
72897
73884
  * Choose, which related nodes to fetch as well.
72898
73885
  */
72899
- include?: ShopifyProductInclude<ExtArgs> | null
73886
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
72900
73887
  /**
72901
- * Filter, which ShopifyProducts to fetch.
73888
+ * Filter, which CampaignToShopifyProducts to fetch.
72902
73889
  */
72903
- where?: ShopifyProductWhereInput
73890
+ where?: CampaignToShopifyProductWhereInput
72904
73891
  /**
72905
73892
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
72906
73893
  *
72907
- * Determine the order of ShopifyProducts to fetch.
73894
+ * Determine the order of CampaignToShopifyProducts to fetch.
72908
73895
  */
72909
- orderBy?: ShopifyProductOrderByWithRelationAndSearchRelevanceInput | ShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
73896
+ orderBy?: CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput | CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput[]
72910
73897
  /**
72911
73898
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
72912
73899
  *
72913
- * Sets the position for listing ShopifyProducts.
73900
+ * Sets the position for listing CampaignToShopifyProducts.
72914
73901
  */
72915
- cursor?: ShopifyProductWhereUniqueInput
73902
+ cursor?: CampaignToShopifyProductWhereUniqueInput
72916
73903
  /**
72917
73904
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72918
73905
  *
72919
- * Take `±n` ShopifyProducts from the position of the cursor.
73906
+ * Take `±n` CampaignToShopifyProducts from the position of the cursor.
72920
73907
  */
72921
73908
  take?: number
72922
73909
  /**
72923
73910
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72924
73911
  *
72925
- * Skip the first `n` ShopifyProducts.
73912
+ * Skip the first `n` CampaignToShopifyProducts.
72926
73913
  */
72927
73914
  skip?: number
72928
- distinct?: ShopifyProductScalarFieldEnum | ShopifyProductScalarFieldEnum[]
73915
+ distinct?: CampaignToShopifyProductScalarFieldEnum | CampaignToShopifyProductScalarFieldEnum[]
72929
73916
  }
72930
73917
 
72931
73918
 
72932
73919
  /**
72933
- * ShopifyProduct create
73920
+ * CampaignToShopifyProduct create
72934
73921
  */
72935
- export type ShopifyProductCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73922
+ export type CampaignToShopifyProductCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72936
73923
  /**
72937
- * Select specific fields to fetch from the ShopifyProduct
73924
+ * Select specific fields to fetch from the CampaignToShopifyProduct
72938
73925
  */
72939
- select?: ShopifyProductSelect<ExtArgs> | null
73926
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
72940
73927
  /**
72941
73928
  * Choose, which related nodes to fetch as well.
72942
73929
  */
72943
- include?: ShopifyProductInclude<ExtArgs> | null
73930
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
72944
73931
  /**
72945
- * The data needed to create a ShopifyProduct.
73932
+ * The data needed to create a CampaignToShopifyProduct.
72946
73933
  */
72947
- data: XOR<ShopifyProductCreateInput, ShopifyProductUncheckedCreateInput>
73934
+ data: XOR<CampaignToShopifyProductCreateInput, CampaignToShopifyProductUncheckedCreateInput>
72948
73935
  }
72949
73936
 
72950
73937
 
72951
73938
  /**
72952
- * ShopifyProduct createMany
73939
+ * CampaignToShopifyProduct createMany
72953
73940
  */
72954
- export type ShopifyProductCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73941
+ export type CampaignToShopifyProductCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72955
73942
  /**
72956
- * The data used to create many ShopifyProducts.
73943
+ * The data used to create many CampaignToShopifyProducts.
72957
73944
  */
72958
- data: ShopifyProductCreateManyInput | ShopifyProductCreateManyInput[]
73945
+ data: CampaignToShopifyProductCreateManyInput | CampaignToShopifyProductCreateManyInput[]
72959
73946
  skipDuplicates?: boolean
72960
73947
  }
72961
73948
 
72962
73949
 
72963
73950
  /**
72964
- * ShopifyProduct update
73951
+ * CampaignToShopifyProduct update
72965
73952
  */
72966
- export type ShopifyProductUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73953
+ export type CampaignToShopifyProductUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72967
73954
  /**
72968
- * Select specific fields to fetch from the ShopifyProduct
73955
+ * Select specific fields to fetch from the CampaignToShopifyProduct
72969
73956
  */
72970
- select?: ShopifyProductSelect<ExtArgs> | null
73957
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
72971
73958
  /**
72972
73959
  * Choose, which related nodes to fetch as well.
72973
73960
  */
72974
- include?: ShopifyProductInclude<ExtArgs> | null
73961
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
72975
73962
  /**
72976
- * The data needed to update a ShopifyProduct.
73963
+ * The data needed to update a CampaignToShopifyProduct.
72977
73964
  */
72978
- data: XOR<ShopifyProductUpdateInput, ShopifyProductUncheckedUpdateInput>
73965
+ data: XOR<CampaignToShopifyProductUpdateInput, CampaignToShopifyProductUncheckedUpdateInput>
72979
73966
  /**
72980
- * Choose, which ShopifyProduct to update.
73967
+ * Choose, which CampaignToShopifyProduct to update.
72981
73968
  */
72982
- where: ShopifyProductWhereUniqueInput
73969
+ where: CampaignToShopifyProductWhereUniqueInput
72983
73970
  }
72984
73971
 
72985
73972
 
72986
73973
  /**
72987
- * ShopifyProduct updateMany
73974
+ * CampaignToShopifyProduct updateMany
72988
73975
  */
72989
- export type ShopifyProductUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73976
+ export type CampaignToShopifyProductUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
72990
73977
  /**
72991
- * The data used to update ShopifyProducts.
73978
+ * The data used to update CampaignToShopifyProducts.
72992
73979
  */
72993
- data: XOR<ShopifyProductUpdateManyMutationInput, ShopifyProductUncheckedUpdateManyInput>
73980
+ data: XOR<CampaignToShopifyProductUpdateManyMutationInput, CampaignToShopifyProductUncheckedUpdateManyInput>
72994
73981
  /**
72995
- * Filter which ShopifyProducts to update
73982
+ * Filter which CampaignToShopifyProducts to update
72996
73983
  */
72997
- where?: ShopifyProductWhereInput
73984
+ where?: CampaignToShopifyProductWhereInput
72998
73985
  }
72999
73986
 
73000
73987
 
73001
73988
  /**
73002
- * ShopifyProduct upsert
73989
+ * CampaignToShopifyProduct upsert
73003
73990
  */
73004
- export type ShopifyProductUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73991
+ export type CampaignToShopifyProductUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73005
73992
  /**
73006
- * Select specific fields to fetch from the ShopifyProduct
73993
+ * Select specific fields to fetch from the CampaignToShopifyProduct
73007
73994
  */
73008
- select?: ShopifyProductSelect<ExtArgs> | null
73995
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
73009
73996
  /**
73010
73997
  * Choose, which related nodes to fetch as well.
73011
73998
  */
73012
- include?: ShopifyProductInclude<ExtArgs> | null
73999
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
73013
74000
  /**
73014
- * The filter to search for the ShopifyProduct to update in case it exists.
74001
+ * The filter to search for the CampaignToShopifyProduct to update in case it exists.
73015
74002
  */
73016
- where: ShopifyProductWhereUniqueInput
74003
+ where: CampaignToShopifyProductWhereUniqueInput
73017
74004
  /**
73018
- * In case the ShopifyProduct found by the `where` argument doesn't exist, create a new ShopifyProduct with this data.
74005
+ * In case the CampaignToShopifyProduct found by the `where` argument doesn't exist, create a new CampaignToShopifyProduct with this data.
73019
74006
  */
73020
- create: XOR<ShopifyProductCreateInput, ShopifyProductUncheckedCreateInput>
74007
+ create: XOR<CampaignToShopifyProductCreateInput, CampaignToShopifyProductUncheckedCreateInput>
73021
74008
  /**
73022
- * In case the ShopifyProduct was found with the provided `where` argument, update it with this data.
74009
+ * In case the CampaignToShopifyProduct was found with the provided `where` argument, update it with this data.
73023
74010
  */
73024
- update: XOR<ShopifyProductUpdateInput, ShopifyProductUncheckedUpdateInput>
74011
+ update: XOR<CampaignToShopifyProductUpdateInput, CampaignToShopifyProductUncheckedUpdateInput>
73025
74012
  }
73026
74013
 
73027
74014
 
73028
74015
  /**
73029
- * ShopifyProduct delete
74016
+ * CampaignToShopifyProduct delete
73030
74017
  */
73031
- export type ShopifyProductDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74018
+ export type CampaignToShopifyProductDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73032
74019
  /**
73033
- * Select specific fields to fetch from the ShopifyProduct
74020
+ * Select specific fields to fetch from the CampaignToShopifyProduct
73034
74021
  */
73035
- select?: ShopifyProductSelect<ExtArgs> | null
74022
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
73036
74023
  /**
73037
74024
  * Choose, which related nodes to fetch as well.
73038
74025
  */
73039
- include?: ShopifyProductInclude<ExtArgs> | null
74026
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
73040
74027
  /**
73041
- * Filter which ShopifyProduct to delete.
74028
+ * Filter which CampaignToShopifyProduct to delete.
73042
74029
  */
73043
- where: ShopifyProductWhereUniqueInput
74030
+ where: CampaignToShopifyProductWhereUniqueInput
73044
74031
  }
73045
74032
 
73046
74033
 
73047
74034
  /**
73048
- * ShopifyProduct deleteMany
74035
+ * CampaignToShopifyProduct deleteMany
73049
74036
  */
73050
- export type ShopifyProductDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73051
- /**
73052
- * Filter which ShopifyProducts to delete
73053
- */
73054
- where?: ShopifyProductWhereInput
73055
- }
73056
-
73057
-
73058
- /**
73059
- * ShopifyProduct.campaigns
73060
- */
73061
- export type ShopifyProduct$campaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73062
- /**
73063
- * Select specific fields to fetch from the Campaign
73064
- */
73065
- select?: CampaignSelect<ExtArgs> | null
74037
+ export type CampaignToShopifyProductDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73066
74038
  /**
73067
- * Choose, which related nodes to fetch as well.
74039
+ * Filter which CampaignToShopifyProducts to delete
73068
74040
  */
73069
- include?: CampaignInclude<ExtArgs> | null
73070
- where?: CampaignWhereInput
73071
- orderBy?: CampaignOrderByWithRelationAndSearchRelevanceInput | CampaignOrderByWithRelationAndSearchRelevanceInput[]
73072
- cursor?: CampaignWhereUniqueInput
73073
- take?: number
73074
- skip?: number
73075
- distinct?: CampaignScalarFieldEnum | CampaignScalarFieldEnum[]
74041
+ where?: CampaignToShopifyProductWhereInput
73076
74042
  }
73077
74043
 
73078
74044
 
73079
74045
  /**
73080
- * ShopifyProduct without action
74046
+ * CampaignToShopifyProduct without action
73081
74047
  */
73082
- export type ShopifyProductDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74048
+ export type CampaignToShopifyProductDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
73083
74049
  /**
73084
- * Select specific fields to fetch from the ShopifyProduct
74050
+ * Select specific fields to fetch from the CampaignToShopifyProduct
73085
74051
  */
73086
- select?: ShopifyProductSelect<ExtArgs> | null
74052
+ select?: CampaignToShopifyProductSelect<ExtArgs> | null
73087
74053
  /**
73088
74054
  * Choose, which related nodes to fetch as well.
73089
74055
  */
73090
- include?: ShopifyProductInclude<ExtArgs> | null
74056
+ include?: CampaignToShopifyProductInclude<ExtArgs> | null
73091
74057
  }
73092
74058
 
73093
74059
 
@@ -74033,10 +74999,6 @@ export namespace Prisma {
74033
74999
  shopifyId: 'shopifyId',
74034
75000
  title: 'title',
74035
75001
  handle: 'handle',
74036
- createdAt: 'createdAt',
74037
- updatedAt: 'updatedAt',
74038
- tags: 'tags',
74039
- status: 'status',
74040
75002
  metaData: 'metaData',
74041
75003
  lastSynced: 'lastSynced',
74042
75004
  shopifyStoreId: 'shopifyStoreId'
@@ -74045,6 +75007,14 @@ export namespace Prisma {
74045
75007
  export type ShopifyProductScalarFieldEnum = (typeof ShopifyProductScalarFieldEnum)[keyof typeof ShopifyProductScalarFieldEnum]
74046
75008
 
74047
75009
 
75010
+ export const CampaignToShopifyProductScalarFieldEnum: {
75011
+ campaignId: 'campaignId',
75012
+ shopifyProductId: 'shopifyProductId'
75013
+ };
75014
+
75015
+ export type CampaignToShopifyProductScalarFieldEnum = (typeof CampaignToShopifyProductScalarFieldEnum)[keyof typeof CampaignToShopifyProductScalarFieldEnum]
75016
+
75017
+
74048
75018
  export const SortOrder: {
74049
75019
  asc: 'asc',
74050
75020
  desc: 'desc'
@@ -74541,9 +75511,7 @@ export namespace Prisma {
74541
75511
  export const ShopifyProductOrderByRelevanceFieldEnum: {
74542
75512
  shopifyId: 'shopifyId',
74543
75513
  title: 'title',
74544
- handle: 'handle',
74545
- tags: 'tags',
74546
- status: 'status'
75514
+ handle: 'handle'
74547
75515
  };
74548
75516
 
74549
75517
  export type ShopifyProductOrderByRelevanceFieldEnum = (typeof ShopifyProductOrderByRelevanceFieldEnum)[keyof typeof ShopifyProductOrderByRelevanceFieldEnum]
@@ -76503,7 +77471,7 @@ export namespace Prisma {
76503
77471
  campaignPins?: CampaignPinListRelationFilter
76504
77472
  socialPosts?: SocialPostListRelationFilter
76505
77473
  campaignInvites?: CampaignInviteListRelationFilter
76506
- shopifyProducts?: ShopifyProductListRelationFilter
77474
+ campaignToShopifyProducts?: CampaignToShopifyProductListRelationFilter
76507
77475
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
76508
77476
  creatorLists?: CreatorListListRelationFilter
76509
77477
  optInViews?: OptInViewListRelationFilter
@@ -76572,7 +77540,7 @@ export namespace Prisma {
76572
77540
  campaignPins?: CampaignPinOrderByRelationAggregateInput
76573
77541
  socialPosts?: SocialPostOrderByRelationAggregateInput
76574
77542
  campaignInvites?: CampaignInviteOrderByRelationAggregateInput
76575
- shopifyProducts?: ShopifyProductOrderByRelationAggregateInput
77543
+ campaignToShopifyProducts?: CampaignToShopifyProductOrderByRelationAggregateInput
76576
77544
  brand?: BrandOrderByWithRelationAndSearchRelevanceInput
76577
77545
  creatorLists?: CreatorListOrderByRelationAggregateInput
76578
77546
  optInViews?: OptInViewOrderByRelationAggregateInput
@@ -76645,7 +77613,7 @@ export namespace Prisma {
76645
77613
  campaignPins?: CampaignPinListRelationFilter
76646
77614
  socialPosts?: SocialPostListRelationFilter
76647
77615
  campaignInvites?: CampaignInviteListRelationFilter
76648
- shopifyProducts?: ShopifyProductListRelationFilter
77616
+ campaignToShopifyProducts?: CampaignToShopifyProductListRelationFilter
76649
77617
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
76650
77618
  creatorLists?: CreatorListListRelationFilter
76651
77619
  optInViews?: OptInViewListRelationFilter
@@ -79846,14 +80814,10 @@ export namespace Prisma {
79846
80814
  shopifyId?: StringFilter<"ShopifyProduct"> | string
79847
80815
  title?: StringFilter<"ShopifyProduct"> | string
79848
80816
  handle?: StringFilter<"ShopifyProduct"> | string
79849
- createdAt?: DateTimeNullableFilter<"ShopifyProduct"> | Date | string | null
79850
- updatedAt?: DateTimeNullableFilter<"ShopifyProduct"> | Date | string | null
79851
- tags?: StringNullableFilter<"ShopifyProduct"> | string | null
79852
- status?: StringNullableFilter<"ShopifyProduct"> | string | null
79853
80817
  metaData?: JsonFilter<"ShopifyProduct">
79854
80818
  lastSynced?: DateTimeFilter<"ShopifyProduct"> | Date | string
79855
80819
  shopifyStoreId?: IntFilter<"ShopifyProduct"> | number
79856
- campaigns?: CampaignListRelationFilter
80820
+ campaignToShopifyProducts?: CampaignToShopifyProductListRelationFilter
79857
80821
  shopifyStore?: XOR<ShopifyStoreRelationFilter, ShopifyStoreWhereInput>
79858
80822
  }
79859
80823
 
@@ -79862,14 +80826,10 @@ export namespace Prisma {
79862
80826
  shopifyId?: SortOrder
79863
80827
  title?: SortOrder
79864
80828
  handle?: SortOrder
79865
- createdAt?: SortOrderInput | SortOrder
79866
- updatedAt?: SortOrderInput | SortOrder
79867
- tags?: SortOrderInput | SortOrder
79868
- status?: SortOrderInput | SortOrder
79869
80829
  metaData?: SortOrder
79870
80830
  lastSynced?: SortOrder
79871
80831
  shopifyStoreId?: SortOrder
79872
- campaigns?: CampaignOrderByRelationAggregateInput
80832
+ campaignToShopifyProducts?: CampaignToShopifyProductOrderByRelationAggregateInput
79873
80833
  shopifyStore?: ShopifyStoreOrderByWithRelationAndSearchRelevanceInput
79874
80834
  _relevance?: ShopifyProductOrderByRelevanceInput
79875
80835
  }
@@ -79882,14 +80842,10 @@ export namespace Prisma {
79882
80842
  NOT?: ShopifyProductWhereInput | ShopifyProductWhereInput[]
79883
80843
  title?: StringFilter<"ShopifyProduct"> | string
79884
80844
  handle?: StringFilter<"ShopifyProduct"> | string
79885
- createdAt?: DateTimeNullableFilter<"ShopifyProduct"> | Date | string | null
79886
- updatedAt?: DateTimeNullableFilter<"ShopifyProduct"> | Date | string | null
79887
- tags?: StringNullableFilter<"ShopifyProduct"> | string | null
79888
- status?: StringNullableFilter<"ShopifyProduct"> | string | null
79889
80845
  metaData?: JsonFilter<"ShopifyProduct">
79890
80846
  lastSynced?: DateTimeFilter<"ShopifyProduct"> | Date | string
79891
80847
  shopifyStoreId?: IntFilter<"ShopifyProduct"> | number
79892
- campaigns?: CampaignListRelationFilter
80848
+ campaignToShopifyProducts?: CampaignToShopifyProductListRelationFilter
79893
80849
  shopifyStore?: XOR<ShopifyStoreRelationFilter, ShopifyStoreWhereInput>
79894
80850
  }, "id" | "shopifyId">
79895
80851
 
@@ -79898,10 +80854,6 @@ export namespace Prisma {
79898
80854
  shopifyId?: SortOrder
79899
80855
  title?: SortOrder
79900
80856
  handle?: SortOrder
79901
- createdAt?: SortOrderInput | SortOrder
79902
- updatedAt?: SortOrderInput | SortOrder
79903
- tags?: SortOrderInput | SortOrder
79904
- status?: SortOrderInput | SortOrder
79905
80857
  metaData?: SortOrder
79906
80858
  lastSynced?: SortOrder
79907
80859
  shopifyStoreId?: SortOrder
@@ -79920,15 +80872,57 @@ export namespace Prisma {
79920
80872
  shopifyId?: StringWithAggregatesFilter<"ShopifyProduct"> | string
79921
80873
  title?: StringWithAggregatesFilter<"ShopifyProduct"> | string
79922
80874
  handle?: StringWithAggregatesFilter<"ShopifyProduct"> | string
79923
- createdAt?: DateTimeNullableWithAggregatesFilter<"ShopifyProduct"> | Date | string | null
79924
- updatedAt?: DateTimeNullableWithAggregatesFilter<"ShopifyProduct"> | Date | string | null
79925
- tags?: StringNullableWithAggregatesFilter<"ShopifyProduct"> | string | null
79926
- status?: StringNullableWithAggregatesFilter<"ShopifyProduct"> | string | null
79927
80875
  metaData?: JsonWithAggregatesFilter<"ShopifyProduct">
79928
80876
  lastSynced?: DateTimeWithAggregatesFilter<"ShopifyProduct"> | Date | string
79929
80877
  shopifyStoreId?: IntWithAggregatesFilter<"ShopifyProduct"> | number
79930
80878
  }
79931
80879
 
80880
+ export type CampaignToShopifyProductWhereInput = {
80881
+ AND?: CampaignToShopifyProductWhereInput | CampaignToShopifyProductWhereInput[]
80882
+ OR?: CampaignToShopifyProductWhereInput[]
80883
+ NOT?: CampaignToShopifyProductWhereInput | CampaignToShopifyProductWhereInput[]
80884
+ campaignId?: IntFilter<"CampaignToShopifyProduct"> | number
80885
+ shopifyProductId?: IntFilter<"CampaignToShopifyProduct"> | number
80886
+ campaign?: XOR<CampaignRelationFilter, CampaignWhereInput>
80887
+ shopifyProduct?: XOR<ShopifyProductRelationFilter, ShopifyProductWhereInput>
80888
+ }
80889
+
80890
+ export type CampaignToShopifyProductOrderByWithRelationAndSearchRelevanceInput = {
80891
+ campaignId?: SortOrder
80892
+ shopifyProductId?: SortOrder
80893
+ campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
80894
+ shopifyProduct?: ShopifyProductOrderByWithRelationAndSearchRelevanceInput
80895
+ }
80896
+
80897
+ export type CampaignToShopifyProductWhereUniqueInput = Prisma.AtLeast<{
80898
+ campaignId_shopifyProductId?: CampaignToShopifyProductCampaignIdShopifyProductIdCompoundUniqueInput
80899
+ AND?: CampaignToShopifyProductWhereInput | CampaignToShopifyProductWhereInput[]
80900
+ OR?: CampaignToShopifyProductWhereInput[]
80901
+ NOT?: CampaignToShopifyProductWhereInput | CampaignToShopifyProductWhereInput[]
80902
+ campaignId?: IntFilter<"CampaignToShopifyProduct"> | number
80903
+ shopifyProductId?: IntFilter<"CampaignToShopifyProduct"> | number
80904
+ campaign?: XOR<CampaignRelationFilter, CampaignWhereInput>
80905
+ shopifyProduct?: XOR<ShopifyProductRelationFilter, ShopifyProductWhereInput>
80906
+ }, "campaignId_shopifyProductId">
80907
+
80908
+ export type CampaignToShopifyProductOrderByWithAggregationInput = {
80909
+ campaignId?: SortOrder
80910
+ shopifyProductId?: SortOrder
80911
+ _count?: CampaignToShopifyProductCountOrderByAggregateInput
80912
+ _avg?: CampaignToShopifyProductAvgOrderByAggregateInput
80913
+ _max?: CampaignToShopifyProductMaxOrderByAggregateInput
80914
+ _min?: CampaignToShopifyProductMinOrderByAggregateInput
80915
+ _sum?: CampaignToShopifyProductSumOrderByAggregateInput
80916
+ }
80917
+
80918
+ export type CampaignToShopifyProductScalarWhereWithAggregatesInput = {
80919
+ AND?: CampaignToShopifyProductScalarWhereWithAggregatesInput | CampaignToShopifyProductScalarWhereWithAggregatesInput[]
80920
+ OR?: CampaignToShopifyProductScalarWhereWithAggregatesInput[]
80921
+ NOT?: CampaignToShopifyProductScalarWhereWithAggregatesInput | CampaignToShopifyProductScalarWhereWithAggregatesInput[]
80922
+ campaignId?: IntWithAggregatesFilter<"CampaignToShopifyProduct"> | number
80923
+ shopifyProductId?: IntWithAggregatesFilter<"CampaignToShopifyProduct"> | number
80924
+ }
80925
+
79932
80926
  export type UserCreateInput = {
79933
80927
  role: string
79934
80928
  email?: string | null
@@ -81910,7 +82904,7 @@ export namespace Prisma {
81910
82904
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
81911
82905
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
81912
82906
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
81913
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
82907
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
81914
82908
  brand: BrandCreateNestedOneWithoutCampaignsInput
81915
82909
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
81916
82910
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -81979,7 +82973,7 @@ export namespace Prisma {
81979
82973
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
81980
82974
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
81981
82975
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
81982
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
82976
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
81983
82977
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
81984
82978
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
81985
82979
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -82045,7 +83039,7 @@ export namespace Prisma {
82045
83039
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
82046
83040
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
82047
83041
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
82048
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
83042
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
82049
83043
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
82050
83044
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
82051
83045
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -82114,7 +83108,7 @@ export namespace Prisma {
82114
83108
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
82115
83109
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
82116
83110
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
82117
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
83111
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
82118
83112
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
82119
83113
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
82120
83114
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -85241,13 +86235,9 @@ export namespace Prisma {
85241
86235
  shopifyId: string
85242
86236
  title: string
85243
86237
  handle: string
85244
- createdAt?: Date | string | null
85245
- updatedAt?: Date | string | null
85246
- tags?: string | null
85247
- status?: string | null
85248
86238
  metaData?: JsonNullValueInput | InputJsonValue
85249
86239
  lastSynced?: Date | string
85250
- campaigns?: CampaignCreateNestedManyWithoutShopifyProductsInput
86240
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutShopifyProductInput
85251
86241
  shopifyStore: ShopifyStoreCreateNestedOneWithoutProductsInput
85252
86242
  }
85253
86243
 
@@ -85256,27 +86246,19 @@ export namespace Prisma {
85256
86246
  shopifyId: string
85257
86247
  title: string
85258
86248
  handle: string
85259
- createdAt?: Date | string | null
85260
- updatedAt?: Date | string | null
85261
- tags?: string | null
85262
- status?: string | null
85263
86249
  metaData?: JsonNullValueInput | InputJsonValue
85264
86250
  lastSynced?: Date | string
85265
86251
  shopifyStoreId: number
85266
- campaigns?: CampaignUncheckedCreateNestedManyWithoutShopifyProductsInput
86252
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutShopifyProductInput
85267
86253
  }
85268
86254
 
85269
86255
  export type ShopifyProductUpdateInput = {
85270
86256
  shopifyId?: StringFieldUpdateOperationsInput | string
85271
86257
  title?: StringFieldUpdateOperationsInput | string
85272
86258
  handle?: StringFieldUpdateOperationsInput | string
85273
- createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
85274
- updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
85275
- tags?: NullableStringFieldUpdateOperationsInput | string | null
85276
- status?: NullableStringFieldUpdateOperationsInput | string | null
85277
86259
  metaData?: JsonNullValueInput | InputJsonValue
85278
86260
  lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
85279
- campaigns?: CampaignUpdateManyWithoutShopifyProductsNestedInput
86261
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutShopifyProductNestedInput
85280
86262
  shopifyStore?: ShopifyStoreUpdateOneRequiredWithoutProductsNestedInput
85281
86263
  }
85282
86264
 
@@ -85285,14 +86267,10 @@ export namespace Prisma {
85285
86267
  shopifyId?: StringFieldUpdateOperationsInput | string
85286
86268
  title?: StringFieldUpdateOperationsInput | string
85287
86269
  handle?: StringFieldUpdateOperationsInput | string
85288
- createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
85289
- updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
85290
- tags?: NullableStringFieldUpdateOperationsInput | string | null
85291
- status?: NullableStringFieldUpdateOperationsInput | string | null
85292
86270
  metaData?: JsonNullValueInput | InputJsonValue
85293
86271
  lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
85294
86272
  shopifyStoreId?: IntFieldUpdateOperationsInput | number
85295
- campaigns?: CampaignUncheckedUpdateManyWithoutShopifyProductsNestedInput
86273
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutShopifyProductNestedInput
85296
86274
  }
85297
86275
 
85298
86276
  export type ShopifyProductCreateManyInput = {
@@ -85300,10 +86278,6 @@ export namespace Prisma {
85300
86278
  shopifyId: string
85301
86279
  title: string
85302
86280
  handle: string
85303
- createdAt?: Date | string | null
85304
- updatedAt?: Date | string | null
85305
- tags?: string | null
85306
- status?: string | null
85307
86281
  metaData?: JsonNullValueInput | InputJsonValue
85308
86282
  lastSynced?: Date | string
85309
86283
  shopifyStoreId: number
@@ -85313,10 +86287,6 @@ export namespace Prisma {
85313
86287
  shopifyId?: StringFieldUpdateOperationsInput | string
85314
86288
  title?: StringFieldUpdateOperationsInput | string
85315
86289
  handle?: StringFieldUpdateOperationsInput | string
85316
- createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
85317
- updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
85318
- tags?: NullableStringFieldUpdateOperationsInput | string | null
85319
- status?: NullableStringFieldUpdateOperationsInput | string | null
85320
86290
  metaData?: JsonNullValueInput | InputJsonValue
85321
86291
  lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
85322
86292
  }
@@ -85326,15 +86296,45 @@ export namespace Prisma {
85326
86296
  shopifyId?: StringFieldUpdateOperationsInput | string
85327
86297
  title?: StringFieldUpdateOperationsInput | string
85328
86298
  handle?: StringFieldUpdateOperationsInput | string
85329
- createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
85330
- updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
85331
- tags?: NullableStringFieldUpdateOperationsInput | string | null
85332
- status?: NullableStringFieldUpdateOperationsInput | string | null
85333
86299
  metaData?: JsonNullValueInput | InputJsonValue
85334
86300
  lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
85335
86301
  shopifyStoreId?: IntFieldUpdateOperationsInput | number
85336
86302
  }
85337
86303
 
86304
+ export type CampaignToShopifyProductCreateInput = {
86305
+ campaign: CampaignCreateNestedOneWithoutCampaignToShopifyProductsInput
86306
+ shopifyProduct: ShopifyProductCreateNestedOneWithoutCampaignToShopifyProductsInput
86307
+ }
86308
+
86309
+ export type CampaignToShopifyProductUncheckedCreateInput = {
86310
+ campaignId: number
86311
+ shopifyProductId: number
86312
+ }
86313
+
86314
+ export type CampaignToShopifyProductUpdateInput = {
86315
+ campaign?: CampaignUpdateOneRequiredWithoutCampaignToShopifyProductsNestedInput
86316
+ shopifyProduct?: ShopifyProductUpdateOneRequiredWithoutCampaignToShopifyProductsNestedInput
86317
+ }
86318
+
86319
+ export type CampaignToShopifyProductUncheckedUpdateInput = {
86320
+ campaignId?: IntFieldUpdateOperationsInput | number
86321
+ shopifyProductId?: IntFieldUpdateOperationsInput | number
86322
+ }
86323
+
86324
+ export type CampaignToShopifyProductCreateManyInput = {
86325
+ campaignId: number
86326
+ shopifyProductId: number
86327
+ }
86328
+
86329
+ export type CampaignToShopifyProductUpdateManyMutationInput = {
86330
+
86331
+ }
86332
+
86333
+ export type CampaignToShopifyProductUncheckedUpdateManyInput = {
86334
+ campaignId?: IntFieldUpdateOperationsInput | number
86335
+ shopifyProductId?: IntFieldUpdateOperationsInput | number
86336
+ }
86337
+
85338
86338
  export type IntFilter<$PrismaModel = never> = {
85339
86339
  equals?: number | IntFieldRefInput<$PrismaModel>
85340
86340
  in?: number[] | ListIntFieldRefInput<$PrismaModel>
@@ -87197,10 +88197,10 @@ export namespace Prisma {
87197
88197
  none?: CampaignToCountryWhereInput
87198
88198
  }
87199
88199
 
87200
- export type ShopifyProductListRelationFilter = {
87201
- every?: ShopifyProductWhereInput
87202
- some?: ShopifyProductWhereInput
87203
- none?: ShopifyProductWhereInput
88200
+ export type CampaignToShopifyProductListRelationFilter = {
88201
+ every?: CampaignToShopifyProductWhereInput
88202
+ some?: CampaignToShopifyProductWhereInput
88203
+ none?: CampaignToShopifyProductWhereInput
87204
88204
  }
87205
88205
 
87206
88206
  export type OptInViewListRelationFilter = {
@@ -87229,7 +88229,7 @@ export namespace Prisma {
87229
88229
  _count?: SortOrder
87230
88230
  }
87231
88231
 
87232
- export type ShopifyProductOrderByRelationAggregateInput = {
88232
+ export type CampaignToShopifyProductOrderByRelationAggregateInput = {
87233
88233
  _count?: SortOrder
87234
88234
  }
87235
88235
 
@@ -89661,6 +90661,16 @@ export namespace Prisma {
89661
90661
  creatorListItemId?: SortOrder
89662
90662
  }
89663
90663
 
90664
+ export type ShopifyProductListRelationFilter = {
90665
+ every?: ShopifyProductWhereInput
90666
+ some?: ShopifyProductWhereInput
90667
+ none?: ShopifyProductWhereInput
90668
+ }
90669
+
90670
+ export type ShopifyProductOrderByRelationAggregateInput = {
90671
+ _count?: SortOrder
90672
+ }
90673
+
89664
90674
  export type ShopifyStoreOrderByRelevanceInput = {
89665
90675
  fields: ShopifyStoreOrderByRelevanceFieldEnum | ShopifyStoreOrderByRelevanceFieldEnum[]
89666
90676
  sort: SortOrder
@@ -89721,10 +90731,6 @@ export namespace Prisma {
89721
90731
  shopifyId?: SortOrder
89722
90732
  title?: SortOrder
89723
90733
  handle?: SortOrder
89724
- createdAt?: SortOrder
89725
- updatedAt?: SortOrder
89726
- tags?: SortOrder
89727
- status?: SortOrder
89728
90734
  metaData?: SortOrder
89729
90735
  lastSynced?: SortOrder
89730
90736
  shopifyStoreId?: SortOrder
@@ -89740,10 +90746,6 @@ export namespace Prisma {
89740
90746
  shopifyId?: SortOrder
89741
90747
  title?: SortOrder
89742
90748
  handle?: SortOrder
89743
- createdAt?: SortOrder
89744
- updatedAt?: SortOrder
89745
- tags?: SortOrder
89746
- status?: SortOrder
89747
90749
  lastSynced?: SortOrder
89748
90750
  shopifyStoreId?: SortOrder
89749
90751
  }
@@ -89753,10 +90755,6 @@ export namespace Prisma {
89753
90755
  shopifyId?: SortOrder
89754
90756
  title?: SortOrder
89755
90757
  handle?: SortOrder
89756
- createdAt?: SortOrder
89757
- updatedAt?: SortOrder
89758
- tags?: SortOrder
89759
- status?: SortOrder
89760
90758
  lastSynced?: SortOrder
89761
90759
  shopifyStoreId?: SortOrder
89762
90760
  }
@@ -89766,6 +90764,41 @@ export namespace Prisma {
89766
90764
  shopifyStoreId?: SortOrder
89767
90765
  }
89768
90766
 
90767
+ export type ShopifyProductRelationFilter = {
90768
+ is?: ShopifyProductWhereInput
90769
+ isNot?: ShopifyProductWhereInput
90770
+ }
90771
+
90772
+ export type CampaignToShopifyProductCampaignIdShopifyProductIdCompoundUniqueInput = {
90773
+ campaignId: number
90774
+ shopifyProductId: number
90775
+ }
90776
+
90777
+ export type CampaignToShopifyProductCountOrderByAggregateInput = {
90778
+ campaignId?: SortOrder
90779
+ shopifyProductId?: SortOrder
90780
+ }
90781
+
90782
+ export type CampaignToShopifyProductAvgOrderByAggregateInput = {
90783
+ campaignId?: SortOrder
90784
+ shopifyProductId?: SortOrder
90785
+ }
90786
+
90787
+ export type CampaignToShopifyProductMaxOrderByAggregateInput = {
90788
+ campaignId?: SortOrder
90789
+ shopifyProductId?: SortOrder
90790
+ }
90791
+
90792
+ export type CampaignToShopifyProductMinOrderByAggregateInput = {
90793
+ campaignId?: SortOrder
90794
+ shopifyProductId?: SortOrder
90795
+ }
90796
+
90797
+ export type CampaignToShopifyProductSumOrderByAggregateInput = {
90798
+ campaignId?: SortOrder
90799
+ shopifyProductId?: SortOrder
90800
+ }
90801
+
89769
90802
  export type UserCreateNestedOneWithoutReferredUsersInput = {
89770
90803
  create?: XOR<UserCreateWithoutReferredUsersInput, UserUncheckedCreateWithoutReferredUsersInput>
89771
90804
  connectOrCreate?: UserCreateOrConnectWithoutReferredUsersInput
@@ -92165,10 +93198,11 @@ export namespace Prisma {
92165
93198
  connect?: CampaignInviteWhereUniqueInput | CampaignInviteWhereUniqueInput[]
92166
93199
  }
92167
93200
 
92168
- export type ShopifyProductCreateNestedManyWithoutCampaignsInput = {
92169
- create?: XOR<ShopifyProductCreateWithoutCampaignsInput, ShopifyProductUncheckedCreateWithoutCampaignsInput> | ShopifyProductCreateWithoutCampaignsInput[] | ShopifyProductUncheckedCreateWithoutCampaignsInput[]
92170
- connectOrCreate?: ShopifyProductCreateOrConnectWithoutCampaignsInput | ShopifyProductCreateOrConnectWithoutCampaignsInput[]
92171
- connect?: ShopifyProductWhereUniqueInput | ShopifyProductWhereUniqueInput[]
93201
+ export type CampaignToShopifyProductCreateNestedManyWithoutCampaignInput = {
93202
+ create?: XOR<CampaignToShopifyProductCreateWithoutCampaignInput, CampaignToShopifyProductUncheckedCreateWithoutCampaignInput> | CampaignToShopifyProductCreateWithoutCampaignInput[] | CampaignToShopifyProductUncheckedCreateWithoutCampaignInput[]
93203
+ connectOrCreate?: CampaignToShopifyProductCreateOrConnectWithoutCampaignInput | CampaignToShopifyProductCreateOrConnectWithoutCampaignInput[]
93204
+ createMany?: CampaignToShopifyProductCreateManyCampaignInputEnvelope
93205
+ connect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
92172
93206
  }
92173
93207
 
92174
93208
  export type BrandCreateNestedOneWithoutCampaignsInput = {
@@ -92261,10 +93295,11 @@ export namespace Prisma {
92261
93295
  connect?: CampaignInviteWhereUniqueInput | CampaignInviteWhereUniqueInput[]
92262
93296
  }
92263
93297
 
92264
- export type ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput = {
92265
- create?: XOR<ShopifyProductCreateWithoutCampaignsInput, ShopifyProductUncheckedCreateWithoutCampaignsInput> | ShopifyProductCreateWithoutCampaignsInput[] | ShopifyProductUncheckedCreateWithoutCampaignsInput[]
92266
- connectOrCreate?: ShopifyProductCreateOrConnectWithoutCampaignsInput | ShopifyProductCreateOrConnectWithoutCampaignsInput[]
92267
- connect?: ShopifyProductWhereUniqueInput | ShopifyProductWhereUniqueInput[]
93298
+ export type CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput = {
93299
+ create?: XOR<CampaignToShopifyProductCreateWithoutCampaignInput, CampaignToShopifyProductUncheckedCreateWithoutCampaignInput> | CampaignToShopifyProductCreateWithoutCampaignInput[] | CampaignToShopifyProductUncheckedCreateWithoutCampaignInput[]
93300
+ connectOrCreate?: CampaignToShopifyProductCreateOrConnectWithoutCampaignInput | CampaignToShopifyProductCreateOrConnectWithoutCampaignInput[]
93301
+ createMany?: CampaignToShopifyProductCreateManyCampaignInputEnvelope
93302
+ connect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
92268
93303
  }
92269
93304
 
92270
93305
  export type CreatorListUncheckedCreateNestedManyWithoutCampaignInput = {
@@ -92414,17 +93449,18 @@ export namespace Prisma {
92414
93449
  deleteMany?: CampaignInviteScalarWhereInput | CampaignInviteScalarWhereInput[]
92415
93450
  }
92416
93451
 
92417
- export type ShopifyProductUpdateManyWithoutCampaignsNestedInput = {
92418
- create?: XOR<ShopifyProductCreateWithoutCampaignsInput, ShopifyProductUncheckedCreateWithoutCampaignsInput> | ShopifyProductCreateWithoutCampaignsInput[] | ShopifyProductUncheckedCreateWithoutCampaignsInput[]
92419
- connectOrCreate?: ShopifyProductCreateOrConnectWithoutCampaignsInput | ShopifyProductCreateOrConnectWithoutCampaignsInput[]
92420
- upsert?: ShopifyProductUpsertWithWhereUniqueWithoutCampaignsInput | ShopifyProductUpsertWithWhereUniqueWithoutCampaignsInput[]
92421
- set?: ShopifyProductWhereUniqueInput | ShopifyProductWhereUniqueInput[]
92422
- disconnect?: ShopifyProductWhereUniqueInput | ShopifyProductWhereUniqueInput[]
92423
- delete?: ShopifyProductWhereUniqueInput | ShopifyProductWhereUniqueInput[]
92424
- connect?: ShopifyProductWhereUniqueInput | ShopifyProductWhereUniqueInput[]
92425
- update?: ShopifyProductUpdateWithWhereUniqueWithoutCampaignsInput | ShopifyProductUpdateWithWhereUniqueWithoutCampaignsInput[]
92426
- updateMany?: ShopifyProductUpdateManyWithWhereWithoutCampaignsInput | ShopifyProductUpdateManyWithWhereWithoutCampaignsInput[]
92427
- deleteMany?: ShopifyProductScalarWhereInput | ShopifyProductScalarWhereInput[]
93452
+ export type CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput = {
93453
+ create?: XOR<CampaignToShopifyProductCreateWithoutCampaignInput, CampaignToShopifyProductUncheckedCreateWithoutCampaignInput> | CampaignToShopifyProductCreateWithoutCampaignInput[] | CampaignToShopifyProductUncheckedCreateWithoutCampaignInput[]
93454
+ connectOrCreate?: CampaignToShopifyProductCreateOrConnectWithoutCampaignInput | CampaignToShopifyProductCreateOrConnectWithoutCampaignInput[]
93455
+ upsert?: CampaignToShopifyProductUpsertWithWhereUniqueWithoutCampaignInput | CampaignToShopifyProductUpsertWithWhereUniqueWithoutCampaignInput[]
93456
+ createMany?: CampaignToShopifyProductCreateManyCampaignInputEnvelope
93457
+ set?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
93458
+ disconnect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
93459
+ delete?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
93460
+ connect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
93461
+ update?: CampaignToShopifyProductUpdateWithWhereUniqueWithoutCampaignInput | CampaignToShopifyProductUpdateWithWhereUniqueWithoutCampaignInput[]
93462
+ updateMany?: CampaignToShopifyProductUpdateManyWithWhereWithoutCampaignInput | CampaignToShopifyProductUpdateManyWithWhereWithoutCampaignInput[]
93463
+ deleteMany?: CampaignToShopifyProductScalarWhereInput | CampaignToShopifyProductScalarWhereInput[]
92428
93464
  }
92429
93465
 
92430
93466
  export type BrandUpdateOneRequiredWithoutCampaignsNestedInput = {
@@ -92603,17 +93639,18 @@ export namespace Prisma {
92603
93639
  deleteMany?: CampaignInviteScalarWhereInput | CampaignInviteScalarWhereInput[]
92604
93640
  }
92605
93641
 
92606
- export type ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput = {
92607
- create?: XOR<ShopifyProductCreateWithoutCampaignsInput, ShopifyProductUncheckedCreateWithoutCampaignsInput> | ShopifyProductCreateWithoutCampaignsInput[] | ShopifyProductUncheckedCreateWithoutCampaignsInput[]
92608
- connectOrCreate?: ShopifyProductCreateOrConnectWithoutCampaignsInput | ShopifyProductCreateOrConnectWithoutCampaignsInput[]
92609
- upsert?: ShopifyProductUpsertWithWhereUniqueWithoutCampaignsInput | ShopifyProductUpsertWithWhereUniqueWithoutCampaignsInput[]
92610
- set?: ShopifyProductWhereUniqueInput | ShopifyProductWhereUniqueInput[]
92611
- disconnect?: ShopifyProductWhereUniqueInput | ShopifyProductWhereUniqueInput[]
92612
- delete?: ShopifyProductWhereUniqueInput | ShopifyProductWhereUniqueInput[]
92613
- connect?: ShopifyProductWhereUniqueInput | ShopifyProductWhereUniqueInput[]
92614
- update?: ShopifyProductUpdateWithWhereUniqueWithoutCampaignsInput | ShopifyProductUpdateWithWhereUniqueWithoutCampaignsInput[]
92615
- updateMany?: ShopifyProductUpdateManyWithWhereWithoutCampaignsInput | ShopifyProductUpdateManyWithWhereWithoutCampaignsInput[]
92616
- deleteMany?: ShopifyProductScalarWhereInput | ShopifyProductScalarWhereInput[]
93642
+ export type CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput = {
93643
+ create?: XOR<CampaignToShopifyProductCreateWithoutCampaignInput, CampaignToShopifyProductUncheckedCreateWithoutCampaignInput> | CampaignToShopifyProductCreateWithoutCampaignInput[] | CampaignToShopifyProductUncheckedCreateWithoutCampaignInput[]
93644
+ connectOrCreate?: CampaignToShopifyProductCreateOrConnectWithoutCampaignInput | CampaignToShopifyProductCreateOrConnectWithoutCampaignInput[]
93645
+ upsert?: CampaignToShopifyProductUpsertWithWhereUniqueWithoutCampaignInput | CampaignToShopifyProductUpsertWithWhereUniqueWithoutCampaignInput[]
93646
+ createMany?: CampaignToShopifyProductCreateManyCampaignInputEnvelope
93647
+ set?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
93648
+ disconnect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
93649
+ delete?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
93650
+ connect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
93651
+ update?: CampaignToShopifyProductUpdateWithWhereUniqueWithoutCampaignInput | CampaignToShopifyProductUpdateWithWhereUniqueWithoutCampaignInput[]
93652
+ updateMany?: CampaignToShopifyProductUpdateManyWithWhereWithoutCampaignInput | CampaignToShopifyProductUpdateManyWithWhereWithoutCampaignInput[]
93653
+ deleteMany?: CampaignToShopifyProductScalarWhereInput | CampaignToShopifyProductScalarWhereInput[]
92617
93654
  }
92618
93655
 
92619
93656
  export type CreatorListUncheckedUpdateManyWithoutCampaignNestedInput = {
@@ -95222,10 +96259,11 @@ export namespace Prisma {
95222
96259
  deleteMany?: ShopifyProductScalarWhereInput | ShopifyProductScalarWhereInput[]
95223
96260
  }
95224
96261
 
95225
- export type CampaignCreateNestedManyWithoutShopifyProductsInput = {
95226
- create?: XOR<CampaignCreateWithoutShopifyProductsInput, CampaignUncheckedCreateWithoutShopifyProductsInput> | CampaignCreateWithoutShopifyProductsInput[] | CampaignUncheckedCreateWithoutShopifyProductsInput[]
95227
- connectOrCreate?: CampaignCreateOrConnectWithoutShopifyProductsInput | CampaignCreateOrConnectWithoutShopifyProductsInput[]
95228
- connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
96262
+ export type CampaignToShopifyProductCreateNestedManyWithoutShopifyProductInput = {
96263
+ create?: XOR<CampaignToShopifyProductCreateWithoutShopifyProductInput, CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput> | CampaignToShopifyProductCreateWithoutShopifyProductInput[] | CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput[]
96264
+ connectOrCreate?: CampaignToShopifyProductCreateOrConnectWithoutShopifyProductInput | CampaignToShopifyProductCreateOrConnectWithoutShopifyProductInput[]
96265
+ createMany?: CampaignToShopifyProductCreateManyShopifyProductInputEnvelope
96266
+ connect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
95229
96267
  }
95230
96268
 
95231
96269
  export type ShopifyStoreCreateNestedOneWithoutProductsInput = {
@@ -95234,23 +96272,25 @@ export namespace Prisma {
95234
96272
  connect?: ShopifyStoreWhereUniqueInput
95235
96273
  }
95236
96274
 
95237
- export type CampaignUncheckedCreateNestedManyWithoutShopifyProductsInput = {
95238
- create?: XOR<CampaignCreateWithoutShopifyProductsInput, CampaignUncheckedCreateWithoutShopifyProductsInput> | CampaignCreateWithoutShopifyProductsInput[] | CampaignUncheckedCreateWithoutShopifyProductsInput[]
95239
- connectOrCreate?: CampaignCreateOrConnectWithoutShopifyProductsInput | CampaignCreateOrConnectWithoutShopifyProductsInput[]
95240
- connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
96275
+ export type CampaignToShopifyProductUncheckedCreateNestedManyWithoutShopifyProductInput = {
96276
+ create?: XOR<CampaignToShopifyProductCreateWithoutShopifyProductInput, CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput> | CampaignToShopifyProductCreateWithoutShopifyProductInput[] | CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput[]
96277
+ connectOrCreate?: CampaignToShopifyProductCreateOrConnectWithoutShopifyProductInput | CampaignToShopifyProductCreateOrConnectWithoutShopifyProductInput[]
96278
+ createMany?: CampaignToShopifyProductCreateManyShopifyProductInputEnvelope
96279
+ connect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
95241
96280
  }
95242
96281
 
95243
- export type CampaignUpdateManyWithoutShopifyProductsNestedInput = {
95244
- create?: XOR<CampaignCreateWithoutShopifyProductsInput, CampaignUncheckedCreateWithoutShopifyProductsInput> | CampaignCreateWithoutShopifyProductsInput[] | CampaignUncheckedCreateWithoutShopifyProductsInput[]
95245
- connectOrCreate?: CampaignCreateOrConnectWithoutShopifyProductsInput | CampaignCreateOrConnectWithoutShopifyProductsInput[]
95246
- upsert?: CampaignUpsertWithWhereUniqueWithoutShopifyProductsInput | CampaignUpsertWithWhereUniqueWithoutShopifyProductsInput[]
95247
- set?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
95248
- disconnect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
95249
- delete?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
95250
- connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
95251
- update?: CampaignUpdateWithWhereUniqueWithoutShopifyProductsInput | CampaignUpdateWithWhereUniqueWithoutShopifyProductsInput[]
95252
- updateMany?: CampaignUpdateManyWithWhereWithoutShopifyProductsInput | CampaignUpdateManyWithWhereWithoutShopifyProductsInput[]
95253
- deleteMany?: CampaignScalarWhereInput | CampaignScalarWhereInput[]
96282
+ export type CampaignToShopifyProductUpdateManyWithoutShopifyProductNestedInput = {
96283
+ create?: XOR<CampaignToShopifyProductCreateWithoutShopifyProductInput, CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput> | CampaignToShopifyProductCreateWithoutShopifyProductInput[] | CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput[]
96284
+ connectOrCreate?: CampaignToShopifyProductCreateOrConnectWithoutShopifyProductInput | CampaignToShopifyProductCreateOrConnectWithoutShopifyProductInput[]
96285
+ upsert?: CampaignToShopifyProductUpsertWithWhereUniqueWithoutShopifyProductInput | CampaignToShopifyProductUpsertWithWhereUniqueWithoutShopifyProductInput[]
96286
+ createMany?: CampaignToShopifyProductCreateManyShopifyProductInputEnvelope
96287
+ set?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
96288
+ disconnect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
96289
+ delete?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
96290
+ connect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
96291
+ update?: CampaignToShopifyProductUpdateWithWhereUniqueWithoutShopifyProductInput | CampaignToShopifyProductUpdateWithWhereUniqueWithoutShopifyProductInput[]
96292
+ updateMany?: CampaignToShopifyProductUpdateManyWithWhereWithoutShopifyProductInput | CampaignToShopifyProductUpdateManyWithWhereWithoutShopifyProductInput[]
96293
+ deleteMany?: CampaignToShopifyProductScalarWhereInput | CampaignToShopifyProductScalarWhereInput[]
95254
96294
  }
95255
96295
 
95256
96296
  export type ShopifyStoreUpdateOneRequiredWithoutProductsNestedInput = {
@@ -95261,17 +96301,46 @@ export namespace Prisma {
95261
96301
  update?: XOR<XOR<ShopifyStoreUpdateToOneWithWhereWithoutProductsInput, ShopifyStoreUpdateWithoutProductsInput>, ShopifyStoreUncheckedUpdateWithoutProductsInput>
95262
96302
  }
95263
96303
 
95264
- export type CampaignUncheckedUpdateManyWithoutShopifyProductsNestedInput = {
95265
- create?: XOR<CampaignCreateWithoutShopifyProductsInput, CampaignUncheckedCreateWithoutShopifyProductsInput> | CampaignCreateWithoutShopifyProductsInput[] | CampaignUncheckedCreateWithoutShopifyProductsInput[]
95266
- connectOrCreate?: CampaignCreateOrConnectWithoutShopifyProductsInput | CampaignCreateOrConnectWithoutShopifyProductsInput[]
95267
- upsert?: CampaignUpsertWithWhereUniqueWithoutShopifyProductsInput | CampaignUpsertWithWhereUniqueWithoutShopifyProductsInput[]
95268
- set?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
95269
- disconnect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
95270
- delete?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
95271
- connect?: CampaignWhereUniqueInput | CampaignWhereUniqueInput[]
95272
- update?: CampaignUpdateWithWhereUniqueWithoutShopifyProductsInput | CampaignUpdateWithWhereUniqueWithoutShopifyProductsInput[]
95273
- updateMany?: CampaignUpdateManyWithWhereWithoutShopifyProductsInput | CampaignUpdateManyWithWhereWithoutShopifyProductsInput[]
95274
- deleteMany?: CampaignScalarWhereInput | CampaignScalarWhereInput[]
96304
+ export type CampaignToShopifyProductUncheckedUpdateManyWithoutShopifyProductNestedInput = {
96305
+ create?: XOR<CampaignToShopifyProductCreateWithoutShopifyProductInput, CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput> | CampaignToShopifyProductCreateWithoutShopifyProductInput[] | CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput[]
96306
+ connectOrCreate?: CampaignToShopifyProductCreateOrConnectWithoutShopifyProductInput | CampaignToShopifyProductCreateOrConnectWithoutShopifyProductInput[]
96307
+ upsert?: CampaignToShopifyProductUpsertWithWhereUniqueWithoutShopifyProductInput | CampaignToShopifyProductUpsertWithWhereUniqueWithoutShopifyProductInput[]
96308
+ createMany?: CampaignToShopifyProductCreateManyShopifyProductInputEnvelope
96309
+ set?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
96310
+ disconnect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
96311
+ delete?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
96312
+ connect?: CampaignToShopifyProductWhereUniqueInput | CampaignToShopifyProductWhereUniqueInput[]
96313
+ update?: CampaignToShopifyProductUpdateWithWhereUniqueWithoutShopifyProductInput | CampaignToShopifyProductUpdateWithWhereUniqueWithoutShopifyProductInput[]
96314
+ updateMany?: CampaignToShopifyProductUpdateManyWithWhereWithoutShopifyProductInput | CampaignToShopifyProductUpdateManyWithWhereWithoutShopifyProductInput[]
96315
+ deleteMany?: CampaignToShopifyProductScalarWhereInput | CampaignToShopifyProductScalarWhereInput[]
96316
+ }
96317
+
96318
+ export type CampaignCreateNestedOneWithoutCampaignToShopifyProductsInput = {
96319
+ create?: XOR<CampaignCreateWithoutCampaignToShopifyProductsInput, CampaignUncheckedCreateWithoutCampaignToShopifyProductsInput>
96320
+ connectOrCreate?: CampaignCreateOrConnectWithoutCampaignToShopifyProductsInput
96321
+ connect?: CampaignWhereUniqueInput
96322
+ }
96323
+
96324
+ export type ShopifyProductCreateNestedOneWithoutCampaignToShopifyProductsInput = {
96325
+ create?: XOR<ShopifyProductCreateWithoutCampaignToShopifyProductsInput, ShopifyProductUncheckedCreateWithoutCampaignToShopifyProductsInput>
96326
+ connectOrCreate?: ShopifyProductCreateOrConnectWithoutCampaignToShopifyProductsInput
96327
+ connect?: ShopifyProductWhereUniqueInput
96328
+ }
96329
+
96330
+ export type CampaignUpdateOneRequiredWithoutCampaignToShopifyProductsNestedInput = {
96331
+ create?: XOR<CampaignCreateWithoutCampaignToShopifyProductsInput, CampaignUncheckedCreateWithoutCampaignToShopifyProductsInput>
96332
+ connectOrCreate?: CampaignCreateOrConnectWithoutCampaignToShopifyProductsInput
96333
+ upsert?: CampaignUpsertWithoutCampaignToShopifyProductsInput
96334
+ connect?: CampaignWhereUniqueInput
96335
+ update?: XOR<XOR<CampaignUpdateToOneWithWhereWithoutCampaignToShopifyProductsInput, CampaignUpdateWithoutCampaignToShopifyProductsInput>, CampaignUncheckedUpdateWithoutCampaignToShopifyProductsInput>
96336
+ }
96337
+
96338
+ export type ShopifyProductUpdateOneRequiredWithoutCampaignToShopifyProductsNestedInput = {
96339
+ create?: XOR<ShopifyProductCreateWithoutCampaignToShopifyProductsInput, ShopifyProductUncheckedCreateWithoutCampaignToShopifyProductsInput>
96340
+ connectOrCreate?: ShopifyProductCreateOrConnectWithoutCampaignToShopifyProductsInput
96341
+ upsert?: ShopifyProductUpsertWithoutCampaignToShopifyProductsInput
96342
+ connect?: ShopifyProductWhereUniqueInput
96343
+ update?: XOR<XOR<ShopifyProductUpdateToOneWithWhereWithoutCampaignToShopifyProductsInput, ShopifyProductUpdateWithoutCampaignToShopifyProductsInput>, ShopifyProductUncheckedUpdateWithoutCampaignToShopifyProductsInput>
95275
96344
  }
95276
96345
 
95277
96346
  export type NestedIntFilter<$PrismaModel = never> = {
@@ -100101,7 +101170,7 @@ export namespace Prisma {
100101
101170
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
100102
101171
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
100103
101172
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
100104
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
101173
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
100105
101174
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
100106
101175
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
100107
101176
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
@@ -100168,7 +101237,7 @@ export namespace Prisma {
100168
101237
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
100169
101238
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
100170
101239
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
100171
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
101240
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
100172
101241
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
100173
101242
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
100174
101243
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -103569,36 +104638,22 @@ export namespace Prisma {
103569
104638
  skipDuplicates?: boolean
103570
104639
  }
103571
104640
 
103572
- export type ShopifyProductCreateWithoutCampaignsInput = {
103573
- shopifyId: string
103574
- title: string
103575
- handle: string
103576
- createdAt?: Date | string | null
103577
- updatedAt?: Date | string | null
103578
- tags?: string | null
103579
- status?: string | null
103580
- metaData?: JsonNullValueInput | InputJsonValue
103581
- lastSynced?: Date | string
103582
- shopifyStore: ShopifyStoreCreateNestedOneWithoutProductsInput
104641
+ export type CampaignToShopifyProductCreateWithoutCampaignInput = {
104642
+ shopifyProduct: ShopifyProductCreateNestedOneWithoutCampaignToShopifyProductsInput
103583
104643
  }
103584
104644
 
103585
- export type ShopifyProductUncheckedCreateWithoutCampaignsInput = {
103586
- id?: number
103587
- shopifyId: string
103588
- title: string
103589
- handle: string
103590
- createdAt?: Date | string | null
103591
- updatedAt?: Date | string | null
103592
- tags?: string | null
103593
- status?: string | null
103594
- metaData?: JsonNullValueInput | InputJsonValue
103595
- lastSynced?: Date | string
103596
- shopifyStoreId: number
104645
+ export type CampaignToShopifyProductUncheckedCreateWithoutCampaignInput = {
104646
+ shopifyProductId: number
103597
104647
  }
103598
104648
 
103599
- export type ShopifyProductCreateOrConnectWithoutCampaignsInput = {
103600
- where: ShopifyProductWhereUniqueInput
103601
- create: XOR<ShopifyProductCreateWithoutCampaignsInput, ShopifyProductUncheckedCreateWithoutCampaignsInput>
104649
+ export type CampaignToShopifyProductCreateOrConnectWithoutCampaignInput = {
104650
+ where: CampaignToShopifyProductWhereUniqueInput
104651
+ create: XOR<CampaignToShopifyProductCreateWithoutCampaignInput, CampaignToShopifyProductUncheckedCreateWithoutCampaignInput>
104652
+ }
104653
+
104654
+ export type CampaignToShopifyProductCreateManyCampaignInputEnvelope = {
104655
+ data: CampaignToShopifyProductCreateManyCampaignInput | CampaignToShopifyProductCreateManyCampaignInput[]
104656
+ skipDuplicates?: boolean
103602
104657
  }
103603
104658
 
103604
104659
  export type BrandCreateWithoutCampaignsInput = {
@@ -103966,37 +105021,28 @@ export namespace Prisma {
103966
105021
  data: XOR<CampaignInviteUpdateManyMutationInput, CampaignInviteUncheckedUpdateManyWithoutCampaignInput>
103967
105022
  }
103968
105023
 
103969
- export type ShopifyProductUpsertWithWhereUniqueWithoutCampaignsInput = {
103970
- where: ShopifyProductWhereUniqueInput
103971
- update: XOR<ShopifyProductUpdateWithoutCampaignsInput, ShopifyProductUncheckedUpdateWithoutCampaignsInput>
103972
- create: XOR<ShopifyProductCreateWithoutCampaignsInput, ShopifyProductUncheckedCreateWithoutCampaignsInput>
105024
+ export type CampaignToShopifyProductUpsertWithWhereUniqueWithoutCampaignInput = {
105025
+ where: CampaignToShopifyProductWhereUniqueInput
105026
+ update: XOR<CampaignToShopifyProductUpdateWithoutCampaignInput, CampaignToShopifyProductUncheckedUpdateWithoutCampaignInput>
105027
+ create: XOR<CampaignToShopifyProductCreateWithoutCampaignInput, CampaignToShopifyProductUncheckedCreateWithoutCampaignInput>
103973
105028
  }
103974
105029
 
103975
- export type ShopifyProductUpdateWithWhereUniqueWithoutCampaignsInput = {
103976
- where: ShopifyProductWhereUniqueInput
103977
- data: XOR<ShopifyProductUpdateWithoutCampaignsInput, ShopifyProductUncheckedUpdateWithoutCampaignsInput>
105030
+ export type CampaignToShopifyProductUpdateWithWhereUniqueWithoutCampaignInput = {
105031
+ where: CampaignToShopifyProductWhereUniqueInput
105032
+ data: XOR<CampaignToShopifyProductUpdateWithoutCampaignInput, CampaignToShopifyProductUncheckedUpdateWithoutCampaignInput>
103978
105033
  }
103979
105034
 
103980
- export type ShopifyProductUpdateManyWithWhereWithoutCampaignsInput = {
103981
- where: ShopifyProductScalarWhereInput
103982
- data: XOR<ShopifyProductUpdateManyMutationInput, ShopifyProductUncheckedUpdateManyWithoutCampaignsInput>
105035
+ export type CampaignToShopifyProductUpdateManyWithWhereWithoutCampaignInput = {
105036
+ where: CampaignToShopifyProductScalarWhereInput
105037
+ data: XOR<CampaignToShopifyProductUpdateManyMutationInput, CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignInput>
103983
105038
  }
103984
105039
 
103985
- export type ShopifyProductScalarWhereInput = {
103986
- AND?: ShopifyProductScalarWhereInput | ShopifyProductScalarWhereInput[]
103987
- OR?: ShopifyProductScalarWhereInput[]
103988
- NOT?: ShopifyProductScalarWhereInput | ShopifyProductScalarWhereInput[]
103989
- id?: IntFilter<"ShopifyProduct"> | number
103990
- shopifyId?: StringFilter<"ShopifyProduct"> | string
103991
- title?: StringFilter<"ShopifyProduct"> | string
103992
- handle?: StringFilter<"ShopifyProduct"> | string
103993
- createdAt?: DateTimeNullableFilter<"ShopifyProduct"> | Date | string | null
103994
- updatedAt?: DateTimeNullableFilter<"ShopifyProduct"> | Date | string | null
103995
- tags?: StringNullableFilter<"ShopifyProduct"> | string | null
103996
- status?: StringNullableFilter<"ShopifyProduct"> | string | null
103997
- metaData?: JsonFilter<"ShopifyProduct">
103998
- lastSynced?: DateTimeFilter<"ShopifyProduct"> | Date | string
103999
- shopifyStoreId?: IntFilter<"ShopifyProduct"> | number
105040
+ export type CampaignToShopifyProductScalarWhereInput = {
105041
+ AND?: CampaignToShopifyProductScalarWhereInput | CampaignToShopifyProductScalarWhereInput[]
105042
+ OR?: CampaignToShopifyProductScalarWhereInput[]
105043
+ NOT?: CampaignToShopifyProductScalarWhereInput | CampaignToShopifyProductScalarWhereInput[]
105044
+ campaignId?: IntFilter<"CampaignToShopifyProduct"> | number
105045
+ shopifyProductId?: IntFilter<"CampaignToShopifyProduct"> | number
104000
105046
  }
104001
105047
 
104002
105048
  export type BrandUpsertWithoutCampaignsInput = {
@@ -104288,7 +105334,7 @@ export namespace Prisma {
104288
105334
  countries?: CampaignToCountryCreateNestedManyWithoutCampaignInput
104289
105335
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
104290
105336
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
104291
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
105337
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
104292
105338
  brand: BrandCreateNestedOneWithoutCampaignsInput
104293
105339
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
104294
105340
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -104356,7 +105402,7 @@ export namespace Prisma {
104356
105402
  countries?: CampaignToCountryUncheckedCreateNestedManyWithoutCampaignInput
104357
105403
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
104358
105404
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
104359
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
105405
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
104360
105406
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
104361
105407
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
104362
105408
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -104529,7 +105575,7 @@ export namespace Prisma {
104529
105575
  countries?: CampaignToCountryUpdateManyWithoutCampaignNestedInput
104530
105576
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
104531
105577
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
104532
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
105578
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
104533
105579
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
104534
105580
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
104535
105581
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -104597,7 +105643,7 @@ export namespace Prisma {
104597
105643
  countries?: CampaignToCountryUncheckedUpdateManyWithoutCampaignNestedInput
104598
105644
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
104599
105645
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
104600
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
105646
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
104601
105647
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
104602
105648
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
104603
105649
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -104662,7 +105708,7 @@ export namespace Prisma {
104662
105708
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
104663
105709
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
104664
105710
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
104665
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
105711
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
104666
105712
  brand: BrandCreateNestedOneWithoutCampaignsInput
104667
105713
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
104668
105714
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -104730,7 +105776,7 @@ export namespace Prisma {
104730
105776
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
104731
105777
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
104732
105778
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
104733
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
105779
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
104734
105780
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
104735
105781
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
104736
105782
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -104832,7 +105878,7 @@ export namespace Prisma {
104832
105878
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
104833
105879
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
104834
105880
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
104835
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
105881
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
104836
105882
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
104837
105883
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
104838
105884
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -104900,7 +105946,7 @@ export namespace Prisma {
104900
105946
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
104901
105947
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
104902
105948
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
104903
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
105949
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
104904
105950
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
104905
105951
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
104906
105952
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -104991,7 +106037,7 @@ export namespace Prisma {
104991
106037
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
104992
106038
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
104993
106039
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
104994
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
106040
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
104995
106041
  brand: BrandCreateNestedOneWithoutCampaignsInput
104996
106042
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
104997
106043
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -105059,7 +106105,7 @@ export namespace Prisma {
105059
106105
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
105060
106106
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
105061
106107
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
105062
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
106108
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
105063
106109
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
105064
106110
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
105065
106111
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -105160,7 +106206,7 @@ export namespace Prisma {
105160
106206
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
105161
106207
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
105162
106208
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
105163
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
106209
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
105164
106210
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
105165
106211
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
105166
106212
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -105228,7 +106274,7 @@ export namespace Prisma {
105228
106274
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
105229
106275
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
105230
106276
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
105231
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
106277
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
105232
106278
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
105233
106279
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
105234
106280
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -105319,7 +106365,7 @@ export namespace Prisma {
105319
106365
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
105320
106366
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
105321
106367
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
105322
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
106368
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
105323
106369
  brand: BrandCreateNestedOneWithoutCampaignsInput
105324
106370
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
105325
106371
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -105387,7 +106433,7 @@ export namespace Prisma {
105387
106433
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
105388
106434
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
105389
106435
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
105390
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
106436
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
105391
106437
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
105392
106438
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
105393
106439
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -105488,7 +106534,7 @@ export namespace Prisma {
105488
106534
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
105489
106535
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
105490
106536
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
105491
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
106537
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
105492
106538
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
105493
106539
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
105494
106540
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -105556,7 +106602,7 @@ export namespace Prisma {
105556
106602
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
105557
106603
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
105558
106604
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
105559
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
106605
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
105560
106606
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
105561
106607
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
105562
106608
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -105647,7 +106693,7 @@ export namespace Prisma {
105647
106693
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
105648
106694
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
105649
106695
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
105650
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
106696
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
105651
106697
  brand: BrandCreateNestedOneWithoutCampaignsInput
105652
106698
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
105653
106699
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -105715,7 +106761,7 @@ export namespace Prisma {
105715
106761
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
105716
106762
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
105717
106763
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
105718
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
106764
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
105719
106765
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
105720
106766
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
105721
106767
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -105842,7 +106888,7 @@ export namespace Prisma {
105842
106888
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
105843
106889
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
105844
106890
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
105845
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
106891
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
105846
106892
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
105847
106893
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
105848
106894
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -105910,7 +106956,7 @@ export namespace Prisma {
105910
106956
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
105911
106957
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
105912
106958
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
105913
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
106959
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
105914
106960
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
105915
106961
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
105916
106962
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -106168,7 +107214,7 @@ export namespace Prisma {
106168
107214
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
106169
107215
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
106170
107216
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
106171
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
107217
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
106172
107218
  brand: BrandCreateNestedOneWithoutCampaignsInput
106173
107219
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
106174
107220
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -106236,7 +107282,7 @@ export namespace Prisma {
106236
107282
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
106237
107283
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
106238
107284
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
106239
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
107285
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
106240
107286
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
106241
107287
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
106242
107288
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -106421,7 +107467,7 @@ export namespace Prisma {
106421
107467
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
106422
107468
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
106423
107469
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
106424
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
107470
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
106425
107471
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
106426
107472
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
106427
107473
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -106489,7 +107535,7 @@ export namespace Prisma {
106489
107535
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
106490
107536
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
106491
107537
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
106492
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
107538
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
106493
107539
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
106494
107540
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
106495
107541
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -106996,7 +108042,7 @@ export namespace Prisma {
106996
108042
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
106997
108043
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
106998
108044
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
106999
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
108045
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
107000
108046
  brand: BrandCreateNestedOneWithoutCampaignsInput
107001
108047
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
107002
108048
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -107064,7 +108110,7 @@ export namespace Prisma {
107064
108110
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
107065
108111
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
107066
108112
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
107067
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
108113
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
107068
108114
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
107069
108115
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
107070
108116
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -107422,7 +108468,7 @@ export namespace Prisma {
107422
108468
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
107423
108469
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
107424
108470
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
107425
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
108471
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
107426
108472
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
107427
108473
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
107428
108474
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -107490,7 +108536,7 @@ export namespace Prisma {
107490
108536
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
107491
108537
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
107492
108538
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
107493
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
108539
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
107494
108540
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
107495
108541
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
107496
108542
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -108134,7 +109180,7 @@ export namespace Prisma {
108134
109180
  countries?: CampaignToCountryCreateNestedManyWithoutCampaignInput
108135
109181
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
108136
109182
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
108137
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
109183
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
108138
109184
  brand: BrandCreateNestedOneWithoutCampaignsInput
108139
109185
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
108140
109186
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -108202,7 +109248,7 @@ export namespace Prisma {
108202
109248
  countries?: CampaignToCountryUncheckedCreateNestedManyWithoutCampaignInput
108203
109249
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
108204
109250
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
108205
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
109251
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
108206
109252
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
108207
109253
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
108208
109254
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -108394,7 +109440,7 @@ export namespace Prisma {
108394
109440
  countries?: CampaignToCountryUpdateManyWithoutCampaignNestedInput
108395
109441
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
108396
109442
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
108397
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
109443
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
108398
109444
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
108399
109445
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
108400
109446
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -108462,7 +109508,7 @@ export namespace Prisma {
108462
109508
  countries?: CampaignToCountryUncheckedUpdateManyWithoutCampaignNestedInput
108463
109509
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
108464
109510
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
108465
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
109511
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
108466
109512
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
108467
109513
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
108468
109514
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -110242,7 +111288,7 @@ export namespace Prisma {
110242
111288
  countries?: CampaignToCountryCreateNestedManyWithoutCampaignInput
110243
111289
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
110244
111290
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
110245
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
111291
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
110246
111292
  brand: BrandCreateNestedOneWithoutCampaignsInput
110247
111293
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
110248
111294
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -110310,7 +111356,7 @@ export namespace Prisma {
110310
111356
  countries?: CampaignToCountryUncheckedCreateNestedManyWithoutCampaignInput
110311
111357
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
110312
111358
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
110313
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
111359
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
110314
111360
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
110315
111361
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
110316
111362
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
@@ -110577,7 +111623,7 @@ export namespace Prisma {
110577
111623
  countries?: CampaignToCountryUpdateManyWithoutCampaignNestedInput
110578
111624
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
110579
111625
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
110580
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
111626
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
110581
111627
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
110582
111628
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
110583
111629
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -110645,7 +111691,7 @@ export namespace Prisma {
110645
111691
  countries?: CampaignToCountryUncheckedUpdateManyWithoutCampaignNestedInput
110646
111692
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
110647
111693
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
110648
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
111694
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
110649
111695
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
110650
111696
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
110651
111697
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -110940,7 +111986,7 @@ export namespace Prisma {
110940
111986
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
110941
111987
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
110942
111988
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
110943
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
111989
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
110944
111990
  brand: BrandCreateNestedOneWithoutCampaignsInput
110945
111991
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
110946
111992
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
@@ -111008,7 +112054,7 @@ export namespace Prisma {
111008
112054
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
111009
112055
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
111010
112056
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
111011
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
112057
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
111012
112058
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
111013
112059
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
111014
112060
  }
@@ -111243,7 +112289,7 @@ export namespace Prisma {
111243
112289
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
111244
112290
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
111245
112291
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
111246
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
112292
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
111247
112293
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
111248
112294
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
111249
112295
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
@@ -111311,7 +112357,7 @@ export namespace Prisma {
111311
112357
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
111312
112358
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
111313
112359
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
111314
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
112360
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
111315
112361
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
111316
112362
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
111317
112363
  }
@@ -112790,7 +113836,7 @@ export namespace Prisma {
112790
113836
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
112791
113837
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
112792
113838
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
112793
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
113839
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
112794
113840
  brand: BrandCreateNestedOneWithoutCampaignsInput
112795
113841
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
112796
113842
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
@@ -112858,7 +113904,7 @@ export namespace Prisma {
112858
113904
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
112859
113905
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
112860
113906
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
112861
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
113907
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
112862
113908
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
112863
113909
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
112864
113910
  }
@@ -112939,7 +113985,7 @@ export namespace Prisma {
112939
113985
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
112940
113986
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
112941
113987
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
112942
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
113988
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
112943
113989
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
112944
113990
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
112945
113991
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
@@ -113007,7 +114053,7 @@ export namespace Prisma {
113007
114053
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
113008
114054
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
113009
114055
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
113010
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
114056
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
113011
114057
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
113012
114058
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
113013
114059
  }
@@ -113760,7 +114806,7 @@ export namespace Prisma {
113760
114806
  campaignPins?: CampaignPinCreateNestedManyWithoutCampaignInput
113761
114807
  socialPosts?: SocialPostCreateNestedManyWithoutCampaignInput
113762
114808
  campaignInvites?: CampaignInviteCreateNestedManyWithoutCampaignInput
113763
- shopifyProducts?: ShopifyProductCreateNestedManyWithoutCampaignsInput
114809
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutCampaignInput
113764
114810
  brand: BrandCreateNestedOneWithoutCampaignsInput
113765
114811
  creatorLists?: CreatorListCreateNestedManyWithoutCampaignInput
113766
114812
  optInViews?: OptInViewCreateNestedManyWithoutCampaignInput
@@ -113828,7 +114874,7 @@ export namespace Prisma {
113828
114874
  campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutCampaignInput
113829
114875
  socialPosts?: SocialPostUncheckedCreateNestedManyWithoutCampaignInput
113830
114876
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutCampaignInput
113831
- shopifyProducts?: ShopifyProductUncheckedCreateNestedManyWithoutCampaignsInput
114877
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutCampaignInput
113832
114878
  creatorLists?: CreatorListUncheckedCreateNestedManyWithoutCampaignInput
113833
114879
  optInViews?: OptInViewUncheckedCreateNestedManyWithoutCampaignInput
113834
114880
  }
@@ -114114,7 +115160,7 @@ export namespace Prisma {
114114
115160
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
114115
115161
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
114116
115162
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
114117
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
115163
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
114118
115164
  brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
114119
115165
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
114120
115166
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
@@ -114182,7 +115228,7 @@ export namespace Prisma {
114182
115228
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
114183
115229
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
114184
115230
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
114185
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
115231
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
114186
115232
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
114187
115233
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
114188
115234
  }
@@ -115006,13 +116052,9 @@ export namespace Prisma {
115006
116052
  shopifyId: string
115007
116053
  title: string
115008
116054
  handle: string
115009
- createdAt?: Date | string | null
115010
- updatedAt?: Date | string | null
115011
- tags?: string | null
115012
- status?: string | null
115013
116055
  metaData?: JsonNullValueInput | InputJsonValue
115014
116056
  lastSynced?: Date | string
115015
- campaigns?: CampaignCreateNestedManyWithoutShopifyProductsInput
116057
+ campaignToShopifyProducts?: CampaignToShopifyProductCreateNestedManyWithoutShopifyProductInput
115016
116058
  }
115017
116059
 
115018
116060
  export type ShopifyProductUncheckedCreateWithoutShopifyStoreInput = {
@@ -115020,13 +116062,9 @@ export namespace Prisma {
115020
116062
  shopifyId: string
115021
116063
  title: string
115022
116064
  handle: string
115023
- createdAt?: Date | string | null
115024
- updatedAt?: Date | string | null
115025
- tags?: string | null
115026
- status?: string | null
115027
116065
  metaData?: JsonNullValueInput | InputJsonValue
115028
116066
  lastSynced?: Date | string
115029
- campaigns?: CampaignUncheckedCreateNestedManyWithoutShopifyProductsInput
116067
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedCreateNestedManyWithoutShopifyProductInput
115030
116068
  }
115031
116069
 
115032
116070
  export type ShopifyProductCreateOrConnectWithoutShopifyStoreInput = {
@@ -115135,6 +116173,19 @@ export namespace Prisma {
115135
116173
  data: XOR<ShopifyProductUpdateManyMutationInput, ShopifyProductUncheckedUpdateManyWithoutShopifyStoreInput>
115136
116174
  }
115137
116175
 
116176
+ export type ShopifyProductScalarWhereInput = {
116177
+ AND?: ShopifyProductScalarWhereInput | ShopifyProductScalarWhereInput[]
116178
+ OR?: ShopifyProductScalarWhereInput[]
116179
+ NOT?: ShopifyProductScalarWhereInput | ShopifyProductScalarWhereInput[]
116180
+ id?: IntFilter<"ShopifyProduct"> | number
116181
+ shopifyId?: StringFilter<"ShopifyProduct"> | string
116182
+ title?: StringFilter<"ShopifyProduct"> | string
116183
+ handle?: StringFilter<"ShopifyProduct"> | string
116184
+ metaData?: JsonFilter<"ShopifyProduct">
116185
+ lastSynced?: DateTimeFilter<"ShopifyProduct"> | Date | string
116186
+ shopifyStoreId?: IntFilter<"ShopifyProduct"> | number
116187
+ }
116188
+
115138
116189
  export type BrandUpsertWithoutShopifyStoresInput = {
115139
116190
  update: XOR<BrandUpdateWithoutShopifyStoresInput, BrandUncheckedUpdateWithoutShopifyStoresInput>
115140
116191
  create: XOR<BrandCreateWithoutShopifyStoresInput, BrandUncheckedCreateWithoutShopifyStoresInput>
@@ -115221,7 +116272,95 @@ export namespace Prisma {
115221
116272
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
115222
116273
  }
115223
116274
 
115224
- export type CampaignCreateWithoutShopifyProductsInput = {
116275
+ export type CampaignToShopifyProductCreateWithoutShopifyProductInput = {
116276
+ campaign: CampaignCreateNestedOneWithoutCampaignToShopifyProductsInput
116277
+ }
116278
+
116279
+ export type CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput = {
116280
+ campaignId: number
116281
+ }
116282
+
116283
+ export type CampaignToShopifyProductCreateOrConnectWithoutShopifyProductInput = {
116284
+ where: CampaignToShopifyProductWhereUniqueInput
116285
+ create: XOR<CampaignToShopifyProductCreateWithoutShopifyProductInput, CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput>
116286
+ }
116287
+
116288
+ export type CampaignToShopifyProductCreateManyShopifyProductInputEnvelope = {
116289
+ data: CampaignToShopifyProductCreateManyShopifyProductInput | CampaignToShopifyProductCreateManyShopifyProductInput[]
116290
+ skipDuplicates?: boolean
116291
+ }
116292
+
116293
+ export type ShopifyStoreCreateWithoutProductsInput = {
116294
+ shopifyId?: string | null
116295
+ name?: string | null
116296
+ url: string
116297
+ accessToken: string
116298
+ metaData?: JsonNullValueInput | InputJsonValue
116299
+ brand?: BrandCreateNestedOneWithoutShopifyStoresInput
116300
+ }
116301
+
116302
+ export type ShopifyStoreUncheckedCreateWithoutProductsInput = {
116303
+ id?: number
116304
+ shopifyId?: string | null
116305
+ name?: string | null
116306
+ url: string
116307
+ accessToken: string
116308
+ metaData?: JsonNullValueInput | InputJsonValue
116309
+ brandId: number
116310
+ }
116311
+
116312
+ export type ShopifyStoreCreateOrConnectWithoutProductsInput = {
116313
+ where: ShopifyStoreWhereUniqueInput
116314
+ create: XOR<ShopifyStoreCreateWithoutProductsInput, ShopifyStoreUncheckedCreateWithoutProductsInput>
116315
+ }
116316
+
116317
+ export type CampaignToShopifyProductUpsertWithWhereUniqueWithoutShopifyProductInput = {
116318
+ where: CampaignToShopifyProductWhereUniqueInput
116319
+ update: XOR<CampaignToShopifyProductUpdateWithoutShopifyProductInput, CampaignToShopifyProductUncheckedUpdateWithoutShopifyProductInput>
116320
+ create: XOR<CampaignToShopifyProductCreateWithoutShopifyProductInput, CampaignToShopifyProductUncheckedCreateWithoutShopifyProductInput>
116321
+ }
116322
+
116323
+ export type CampaignToShopifyProductUpdateWithWhereUniqueWithoutShopifyProductInput = {
116324
+ where: CampaignToShopifyProductWhereUniqueInput
116325
+ data: XOR<CampaignToShopifyProductUpdateWithoutShopifyProductInput, CampaignToShopifyProductUncheckedUpdateWithoutShopifyProductInput>
116326
+ }
116327
+
116328
+ export type CampaignToShopifyProductUpdateManyWithWhereWithoutShopifyProductInput = {
116329
+ where: CampaignToShopifyProductScalarWhereInput
116330
+ data: XOR<CampaignToShopifyProductUpdateManyMutationInput, CampaignToShopifyProductUncheckedUpdateManyWithoutShopifyProductInput>
116331
+ }
116332
+
116333
+ export type ShopifyStoreUpsertWithoutProductsInput = {
116334
+ update: XOR<ShopifyStoreUpdateWithoutProductsInput, ShopifyStoreUncheckedUpdateWithoutProductsInput>
116335
+ create: XOR<ShopifyStoreCreateWithoutProductsInput, ShopifyStoreUncheckedCreateWithoutProductsInput>
116336
+ where?: ShopifyStoreWhereInput
116337
+ }
116338
+
116339
+ export type ShopifyStoreUpdateToOneWithWhereWithoutProductsInput = {
116340
+ where?: ShopifyStoreWhereInput
116341
+ data: XOR<ShopifyStoreUpdateWithoutProductsInput, ShopifyStoreUncheckedUpdateWithoutProductsInput>
116342
+ }
116343
+
116344
+ export type ShopifyStoreUpdateWithoutProductsInput = {
116345
+ shopifyId?: NullableStringFieldUpdateOperationsInput | string | null
116346
+ name?: NullableStringFieldUpdateOperationsInput | string | null
116347
+ url?: StringFieldUpdateOperationsInput | string
116348
+ accessToken?: StringFieldUpdateOperationsInput | string
116349
+ metaData?: JsonNullValueInput | InputJsonValue
116350
+ brand?: BrandUpdateOneWithoutShopifyStoresNestedInput
116351
+ }
116352
+
116353
+ export type ShopifyStoreUncheckedUpdateWithoutProductsInput = {
116354
+ id?: IntFieldUpdateOperationsInput | number
116355
+ shopifyId?: NullableStringFieldUpdateOperationsInput | string | null
116356
+ name?: NullableStringFieldUpdateOperationsInput | string | null
116357
+ url?: StringFieldUpdateOperationsInput | string
116358
+ accessToken?: StringFieldUpdateOperationsInput | string
116359
+ metaData?: JsonNullValueInput | InputJsonValue
116360
+ brandId?: IntFieldUpdateOperationsInput | number
116361
+ }
116362
+
116363
+ export type CampaignCreateWithoutCampaignToShopifyProductsInput = {
115225
116364
  title: string
115226
116365
  slug?: string | null
115227
116366
  status?: string
@@ -115287,7 +116426,7 @@ export namespace Prisma {
115287
116426
  sequences?: SequenceCreateNestedManyWithoutCampaignInput
115288
116427
  }
115289
116428
 
115290
- export type CampaignUncheckedCreateWithoutShopifyProductsInput = {
116429
+ export type CampaignUncheckedCreateWithoutCampaignToShopifyProductsInput = {
115291
116430
  id?: number
115292
116431
  title: string
115293
116432
  slug?: string | null
@@ -115354,79 +116493,207 @@ export namespace Prisma {
115354
116493
  sequences?: SequenceUncheckedCreateNestedManyWithoutCampaignInput
115355
116494
  }
115356
116495
 
115357
- export type CampaignCreateOrConnectWithoutShopifyProductsInput = {
116496
+ export type CampaignCreateOrConnectWithoutCampaignToShopifyProductsInput = {
115358
116497
  where: CampaignWhereUniqueInput
115359
- create: XOR<CampaignCreateWithoutShopifyProductsInput, CampaignUncheckedCreateWithoutShopifyProductsInput>
116498
+ create: XOR<CampaignCreateWithoutCampaignToShopifyProductsInput, CampaignUncheckedCreateWithoutCampaignToShopifyProductsInput>
115360
116499
  }
115361
116500
 
115362
- export type ShopifyStoreCreateWithoutProductsInput = {
115363
- shopifyId?: string | null
115364
- name?: string | null
115365
- url: string
115366
- accessToken: string
116501
+ export type ShopifyProductCreateWithoutCampaignToShopifyProductsInput = {
116502
+ shopifyId: string
116503
+ title: string
116504
+ handle: string
115367
116505
  metaData?: JsonNullValueInput | InputJsonValue
115368
- brand?: BrandCreateNestedOneWithoutShopifyStoresInput
116506
+ lastSynced?: Date | string
116507
+ shopifyStore: ShopifyStoreCreateNestedOneWithoutProductsInput
115369
116508
  }
115370
116509
 
115371
- export type ShopifyStoreUncheckedCreateWithoutProductsInput = {
116510
+ export type ShopifyProductUncheckedCreateWithoutCampaignToShopifyProductsInput = {
115372
116511
  id?: number
115373
- shopifyId?: string | null
115374
- name?: string | null
115375
- url: string
115376
- accessToken: string
116512
+ shopifyId: string
116513
+ title: string
116514
+ handle: string
115377
116515
  metaData?: JsonNullValueInput | InputJsonValue
115378
- brandId: number
116516
+ lastSynced?: Date | string
116517
+ shopifyStoreId: number
115379
116518
  }
115380
116519
 
115381
- export type ShopifyStoreCreateOrConnectWithoutProductsInput = {
115382
- where: ShopifyStoreWhereUniqueInput
115383
- create: XOR<ShopifyStoreCreateWithoutProductsInput, ShopifyStoreUncheckedCreateWithoutProductsInput>
116520
+ export type ShopifyProductCreateOrConnectWithoutCampaignToShopifyProductsInput = {
116521
+ where: ShopifyProductWhereUniqueInput
116522
+ create: XOR<ShopifyProductCreateWithoutCampaignToShopifyProductsInput, ShopifyProductUncheckedCreateWithoutCampaignToShopifyProductsInput>
115384
116523
  }
115385
116524
 
115386
- export type CampaignUpsertWithWhereUniqueWithoutShopifyProductsInput = {
115387
- where: CampaignWhereUniqueInput
115388
- update: XOR<CampaignUpdateWithoutShopifyProductsInput, CampaignUncheckedUpdateWithoutShopifyProductsInput>
115389
- create: XOR<CampaignCreateWithoutShopifyProductsInput, CampaignUncheckedCreateWithoutShopifyProductsInput>
116525
+ export type CampaignUpsertWithoutCampaignToShopifyProductsInput = {
116526
+ update: XOR<CampaignUpdateWithoutCampaignToShopifyProductsInput, CampaignUncheckedUpdateWithoutCampaignToShopifyProductsInput>
116527
+ create: XOR<CampaignCreateWithoutCampaignToShopifyProductsInput, CampaignUncheckedCreateWithoutCampaignToShopifyProductsInput>
116528
+ where?: CampaignWhereInput
115390
116529
  }
115391
116530
 
115392
- export type CampaignUpdateWithWhereUniqueWithoutShopifyProductsInput = {
115393
- where: CampaignWhereUniqueInput
115394
- data: XOR<CampaignUpdateWithoutShopifyProductsInput, CampaignUncheckedUpdateWithoutShopifyProductsInput>
116531
+ export type CampaignUpdateToOneWithWhereWithoutCampaignToShopifyProductsInput = {
116532
+ where?: CampaignWhereInput
116533
+ data: XOR<CampaignUpdateWithoutCampaignToShopifyProductsInput, CampaignUncheckedUpdateWithoutCampaignToShopifyProductsInput>
115395
116534
  }
115396
116535
 
115397
- export type CampaignUpdateManyWithWhereWithoutShopifyProductsInput = {
115398
- where: CampaignScalarWhereInput
115399
- data: XOR<CampaignUpdateManyMutationInput, CampaignUncheckedUpdateManyWithoutShopifyProductsInput>
116536
+ export type CampaignUpdateWithoutCampaignToShopifyProductsInput = {
116537
+ title?: StringFieldUpdateOperationsInput | string
116538
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
116539
+ status?: StringFieldUpdateOperationsInput | string
116540
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
116541
+ publishDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
116542
+ description?: NullableStringFieldUpdateOperationsInput | string | null
116543
+ productDescription?: NullableStringFieldUpdateOperationsInput | string | null
116544
+ prizeDescription?: NullableStringFieldUpdateOperationsInput | string | null
116545
+ strategy?: NullableStringFieldUpdateOperationsInput | string | null
116546
+ socialChannel?: NullableStringFieldUpdateOperationsInput | string | null
116547
+ socialChannels?: NullableJsonNullValueInput | InputJsonValue
116548
+ facebookReach?: NullableIntFieldUpdateOperationsInput | number | null
116549
+ facebookEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116550
+ instagramReach?: NullableIntFieldUpdateOperationsInput | number | null
116551
+ instagramEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116552
+ youtubeReach?: NullableIntFieldUpdateOperationsInput | number | null
116553
+ youtubeEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116554
+ twitterReach?: NullableIntFieldUpdateOperationsInput | number | null
116555
+ twitterEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116556
+ tiktokReach?: NullableIntFieldUpdateOperationsInput | number | null
116557
+ tiktokEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116558
+ twitchReach?: NullableIntFieldUpdateOperationsInput | number | null
116559
+ twitchEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116560
+ quantity?: IntFieldUpdateOperationsInput | number
116561
+ holdCost?: NullableFloatFieldUpdateOperationsInput | number | null
116562
+ value?: NullableFloatFieldUpdateOperationsInput | number | null
116563
+ paidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
116564
+ minAge?: NullableIntFieldUpdateOperationsInput | number | null
116565
+ maxAge?: NullableIntFieldUpdateOperationsInput | number | null
116566
+ visuals?: NullableStringFieldUpdateOperationsInput | string | null
116567
+ photoTags?: NullableJsonNullValueInput | InputJsonValue
116568
+ hashtags?: NullableJsonNullValueInput | InputJsonValue
116569
+ storyHashtags?: NullableJsonNullValueInput | InputJsonValue
116570
+ storyMentions?: NullableJsonNullValueInput | InputJsonValue
116571
+ caption?: NullableStringFieldUpdateOperationsInput | string | null
116572
+ password?: NullableStringFieldUpdateOperationsInput | string | null
116573
+ contentFormats?: NullableJsonNullValueInput | InputJsonValue
116574
+ paidCampaign?: NullableBoolFieldUpdateOperationsInput | boolean | null
116575
+ minPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
116576
+ maxPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
116577
+ paymentType?: NullableStringFieldUpdateOperationsInput | string | null
116578
+ monthlyActivatedGoal?: NullableIntFieldUpdateOperationsInput | number | null
116579
+ expectedOptIns?: NullableIntFieldUpdateOperationsInput | number | null
116580
+ goalActivations?: NullableFloatFieldUpdateOperationsInput | number | null
116581
+ goalOptIns?: NullableFloatFieldUpdateOperationsInput | number | null
116582
+ requiresShipping?: NullableBoolFieldUpdateOperationsInput | boolean | null
116583
+ disableQualifications?: NullableBoolFieldUpdateOperationsInput | boolean | null
116584
+ disableActivations?: NullableBoolFieldUpdateOperationsInput | boolean | null
116585
+ affiliateLinkPath?: NullableStringFieldUpdateOperationsInput | string | null
116586
+ metaData?: JsonNullValueInput | InputJsonValue
116587
+ steps?: CampaignStepUpdateManyWithoutCampaignNestedInput
116588
+ categories?: CampaignToCategoryUpdateManyWithoutCampaignNestedInput
116589
+ optIns?: OptInUpdateManyWithoutCampaignNestedInput
116590
+ images?: CampaignToImageUpdateManyWithoutCampaignNestedInput
116591
+ variables?: VariableUpdateManyWithoutCampaignNestedInput
116592
+ countries?: CampaignToCountryUpdateManyWithoutCampaignNestedInput
116593
+ campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
116594
+ socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
116595
+ campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
116596
+ brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
116597
+ creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
116598
+ optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
116599
+ sequences?: SequenceUpdateManyWithoutCampaignNestedInput
115400
116600
  }
115401
116601
 
115402
- export type ShopifyStoreUpsertWithoutProductsInput = {
115403
- update: XOR<ShopifyStoreUpdateWithoutProductsInput, ShopifyStoreUncheckedUpdateWithoutProductsInput>
115404
- create: XOR<ShopifyStoreCreateWithoutProductsInput, ShopifyStoreUncheckedCreateWithoutProductsInput>
115405
- where?: ShopifyStoreWhereInput
116602
+ export type CampaignUncheckedUpdateWithoutCampaignToShopifyProductsInput = {
116603
+ id?: IntFieldUpdateOperationsInput | number
116604
+ title?: StringFieldUpdateOperationsInput | string
116605
+ slug?: NullableStringFieldUpdateOperationsInput | string | null
116606
+ status?: StringFieldUpdateOperationsInput | string
116607
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
116608
+ publishDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
116609
+ description?: NullableStringFieldUpdateOperationsInput | string | null
116610
+ productDescription?: NullableStringFieldUpdateOperationsInput | string | null
116611
+ prizeDescription?: NullableStringFieldUpdateOperationsInput | string | null
116612
+ strategy?: NullableStringFieldUpdateOperationsInput | string | null
116613
+ socialChannel?: NullableStringFieldUpdateOperationsInput | string | null
116614
+ socialChannels?: NullableJsonNullValueInput | InputJsonValue
116615
+ facebookReach?: NullableIntFieldUpdateOperationsInput | number | null
116616
+ facebookEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116617
+ instagramReach?: NullableIntFieldUpdateOperationsInput | number | null
116618
+ instagramEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116619
+ youtubeReach?: NullableIntFieldUpdateOperationsInput | number | null
116620
+ youtubeEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116621
+ twitterReach?: NullableIntFieldUpdateOperationsInput | number | null
116622
+ twitterEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116623
+ tiktokReach?: NullableIntFieldUpdateOperationsInput | number | null
116624
+ tiktokEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116625
+ twitchReach?: NullableIntFieldUpdateOperationsInput | number | null
116626
+ twitchEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
116627
+ quantity?: IntFieldUpdateOperationsInput | number
116628
+ holdCost?: NullableFloatFieldUpdateOperationsInput | number | null
116629
+ value?: NullableFloatFieldUpdateOperationsInput | number | null
116630
+ paidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
116631
+ minAge?: NullableIntFieldUpdateOperationsInput | number | null
116632
+ maxAge?: NullableIntFieldUpdateOperationsInput | number | null
116633
+ visuals?: NullableStringFieldUpdateOperationsInput | string | null
116634
+ photoTags?: NullableJsonNullValueInput | InputJsonValue
116635
+ hashtags?: NullableJsonNullValueInput | InputJsonValue
116636
+ storyHashtags?: NullableJsonNullValueInput | InputJsonValue
116637
+ storyMentions?: NullableJsonNullValueInput | InputJsonValue
116638
+ caption?: NullableStringFieldUpdateOperationsInput | string | null
116639
+ password?: NullableStringFieldUpdateOperationsInput | string | null
116640
+ contentFormats?: NullableJsonNullValueInput | InputJsonValue
116641
+ paidCampaign?: NullableBoolFieldUpdateOperationsInput | boolean | null
116642
+ minPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
116643
+ maxPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
116644
+ paymentType?: NullableStringFieldUpdateOperationsInput | string | null
116645
+ monthlyActivatedGoal?: NullableIntFieldUpdateOperationsInput | number | null
116646
+ expectedOptIns?: NullableIntFieldUpdateOperationsInput | number | null
116647
+ goalActivations?: NullableFloatFieldUpdateOperationsInput | number | null
116648
+ goalOptIns?: NullableFloatFieldUpdateOperationsInput | number | null
116649
+ requiresShipping?: NullableBoolFieldUpdateOperationsInput | boolean | null
116650
+ disableQualifications?: NullableBoolFieldUpdateOperationsInput | boolean | null
116651
+ disableActivations?: NullableBoolFieldUpdateOperationsInput | boolean | null
116652
+ affiliateLinkPath?: NullableStringFieldUpdateOperationsInput | string | null
116653
+ metaData?: JsonNullValueInput | InputJsonValue
116654
+ brandId?: IntFieldUpdateOperationsInput | number
116655
+ steps?: CampaignStepUncheckedUpdateManyWithoutCampaignNestedInput
116656
+ categories?: CampaignToCategoryUncheckedUpdateManyWithoutCampaignNestedInput
116657
+ optIns?: OptInUncheckedUpdateManyWithoutCampaignNestedInput
116658
+ images?: CampaignToImageUncheckedUpdateManyWithoutCampaignNestedInput
116659
+ variables?: VariableUncheckedUpdateManyWithoutCampaignNestedInput
116660
+ countries?: CampaignToCountryUncheckedUpdateManyWithoutCampaignNestedInput
116661
+ campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
116662
+ socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
116663
+ campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
116664
+ creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
116665
+ optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
116666
+ sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
115406
116667
  }
115407
116668
 
115408
- export type ShopifyStoreUpdateToOneWithWhereWithoutProductsInput = {
115409
- where?: ShopifyStoreWhereInput
115410
- data: XOR<ShopifyStoreUpdateWithoutProductsInput, ShopifyStoreUncheckedUpdateWithoutProductsInput>
116669
+ export type ShopifyProductUpsertWithoutCampaignToShopifyProductsInput = {
116670
+ update: XOR<ShopifyProductUpdateWithoutCampaignToShopifyProductsInput, ShopifyProductUncheckedUpdateWithoutCampaignToShopifyProductsInput>
116671
+ create: XOR<ShopifyProductCreateWithoutCampaignToShopifyProductsInput, ShopifyProductUncheckedCreateWithoutCampaignToShopifyProductsInput>
116672
+ where?: ShopifyProductWhereInput
115411
116673
  }
115412
116674
 
115413
- export type ShopifyStoreUpdateWithoutProductsInput = {
115414
- shopifyId?: NullableStringFieldUpdateOperationsInput | string | null
115415
- name?: NullableStringFieldUpdateOperationsInput | string | null
115416
- url?: StringFieldUpdateOperationsInput | string
115417
- accessToken?: StringFieldUpdateOperationsInput | string
116675
+ export type ShopifyProductUpdateToOneWithWhereWithoutCampaignToShopifyProductsInput = {
116676
+ where?: ShopifyProductWhereInput
116677
+ data: XOR<ShopifyProductUpdateWithoutCampaignToShopifyProductsInput, ShopifyProductUncheckedUpdateWithoutCampaignToShopifyProductsInput>
116678
+ }
116679
+
116680
+ export type ShopifyProductUpdateWithoutCampaignToShopifyProductsInput = {
116681
+ shopifyId?: StringFieldUpdateOperationsInput | string
116682
+ title?: StringFieldUpdateOperationsInput | string
116683
+ handle?: StringFieldUpdateOperationsInput | string
115418
116684
  metaData?: JsonNullValueInput | InputJsonValue
115419
- brand?: BrandUpdateOneWithoutShopifyStoresNestedInput
116685
+ lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
116686
+ shopifyStore?: ShopifyStoreUpdateOneRequiredWithoutProductsNestedInput
115420
116687
  }
115421
116688
 
115422
- export type ShopifyStoreUncheckedUpdateWithoutProductsInput = {
116689
+ export type ShopifyProductUncheckedUpdateWithoutCampaignToShopifyProductsInput = {
115423
116690
  id?: IntFieldUpdateOperationsInput | number
115424
- shopifyId?: NullableStringFieldUpdateOperationsInput | string | null
115425
- name?: NullableStringFieldUpdateOperationsInput | string | null
115426
- url?: StringFieldUpdateOperationsInput | string
115427
- accessToken?: StringFieldUpdateOperationsInput | string
116691
+ shopifyId?: StringFieldUpdateOperationsInput | string
116692
+ title?: StringFieldUpdateOperationsInput | string
116693
+ handle?: StringFieldUpdateOperationsInput | string
115428
116694
  metaData?: JsonNullValueInput | InputJsonValue
115429
- brandId?: IntFieldUpdateOperationsInput | number
116695
+ lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
116696
+ shopifyStoreId?: IntFieldUpdateOperationsInput | number
115430
116697
  }
115431
116698
 
115432
116699
  export type UserCreateManyReferrerInput = {
@@ -116537,7 +117804,7 @@ export namespace Prisma {
116537
117804
  campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
116538
117805
  socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
116539
117806
  campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
116540
- shopifyProducts?: ShopifyProductUpdateManyWithoutCampaignsNestedInput
117807
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutCampaignNestedInput
116541
117808
  creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
116542
117809
  optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
116543
117810
  sequences?: SequenceUpdateManyWithoutCampaignNestedInput
@@ -116604,7 +117871,7 @@ export namespace Prisma {
116604
117871
  campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
116605
117872
  socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
116606
117873
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
116607
- shopifyProducts?: ShopifyProductUncheckedUpdateManyWithoutCampaignsNestedInput
117874
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignNestedInput
116608
117875
  creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
116609
117876
  optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
116610
117877
  sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
@@ -117385,6 +118652,10 @@ export namespace Prisma {
117385
118652
  metaData?: NullableJsonNullValueInput | InputJsonValue
117386
118653
  }
117387
118654
 
118655
+ export type CampaignToShopifyProductCreateManyCampaignInput = {
118656
+ shopifyProductId: number
118657
+ }
118658
+
117388
118659
  export type CreatorListCreateManyCampaignInput = {
117389
118660
  id?: number
117390
118661
  brandId: number
@@ -117742,45 +119013,16 @@ export namespace Prisma {
117742
119013
  metaData?: NullableJsonNullValueInput | InputJsonValue
117743
119014
  }
117744
119015
 
117745
- export type ShopifyProductUpdateWithoutCampaignsInput = {
117746
- shopifyId?: StringFieldUpdateOperationsInput | string
117747
- title?: StringFieldUpdateOperationsInput | string
117748
- handle?: StringFieldUpdateOperationsInput | string
117749
- createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
117750
- updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
117751
- tags?: NullableStringFieldUpdateOperationsInput | string | null
117752
- status?: NullableStringFieldUpdateOperationsInput | string | null
117753
- metaData?: JsonNullValueInput | InputJsonValue
117754
- lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
117755
- shopifyStore?: ShopifyStoreUpdateOneRequiredWithoutProductsNestedInput
119016
+ export type CampaignToShopifyProductUpdateWithoutCampaignInput = {
119017
+ shopifyProduct?: ShopifyProductUpdateOneRequiredWithoutCampaignToShopifyProductsNestedInput
117756
119018
  }
117757
119019
 
117758
- export type ShopifyProductUncheckedUpdateWithoutCampaignsInput = {
117759
- id?: IntFieldUpdateOperationsInput | number
117760
- shopifyId?: StringFieldUpdateOperationsInput | string
117761
- title?: StringFieldUpdateOperationsInput | string
117762
- handle?: StringFieldUpdateOperationsInput | string
117763
- createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
117764
- updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
117765
- tags?: NullableStringFieldUpdateOperationsInput | string | null
117766
- status?: NullableStringFieldUpdateOperationsInput | string | null
117767
- metaData?: JsonNullValueInput | InputJsonValue
117768
- lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
117769
- shopifyStoreId?: IntFieldUpdateOperationsInput | number
119020
+ export type CampaignToShopifyProductUncheckedUpdateWithoutCampaignInput = {
119021
+ shopifyProductId?: IntFieldUpdateOperationsInput | number
117770
119022
  }
117771
119023
 
117772
- export type ShopifyProductUncheckedUpdateManyWithoutCampaignsInput = {
117773
- id?: IntFieldUpdateOperationsInput | number
117774
- shopifyId?: StringFieldUpdateOperationsInput | string
117775
- title?: StringFieldUpdateOperationsInput | string
117776
- handle?: StringFieldUpdateOperationsInput | string
117777
- createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
117778
- updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
117779
- tags?: NullableStringFieldUpdateOperationsInput | string | null
117780
- status?: NullableStringFieldUpdateOperationsInput | string | null
117781
- metaData?: JsonNullValueInput | InputJsonValue
117782
- lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
117783
- shopifyStoreId?: IntFieldUpdateOperationsInput | number
119024
+ export type CampaignToShopifyProductUncheckedUpdateManyWithoutCampaignInput = {
119025
+ shopifyProductId?: IntFieldUpdateOperationsInput | number
117784
119026
  }
117785
119027
 
117786
119028
  export type CreatorListUpdateWithoutCampaignInput = {
@@ -118999,10 +120241,6 @@ export namespace Prisma {
118999
120241
  shopifyId: string
119000
120242
  title: string
119001
120243
  handle: string
119002
- createdAt?: Date | string | null
119003
- updatedAt?: Date | string | null
119004
- tags?: string | null
119005
- status?: string | null
119006
120244
  metaData?: JsonNullValueInput | InputJsonValue
119007
120245
  lastSynced?: Date | string
119008
120246
  }
@@ -119011,13 +120249,9 @@ export namespace Prisma {
119011
120249
  shopifyId?: StringFieldUpdateOperationsInput | string
119012
120250
  title?: StringFieldUpdateOperationsInput | string
119013
120251
  handle?: StringFieldUpdateOperationsInput | string
119014
- createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
119015
- updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
119016
- tags?: NullableStringFieldUpdateOperationsInput | string | null
119017
- status?: NullableStringFieldUpdateOperationsInput | string | null
119018
120252
  metaData?: JsonNullValueInput | InputJsonValue
119019
120253
  lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
119020
- campaigns?: CampaignUpdateManyWithoutShopifyProductsNestedInput
120254
+ campaignToShopifyProducts?: CampaignToShopifyProductUpdateManyWithoutShopifyProductNestedInput
119021
120255
  }
119022
120256
 
119023
120257
  export type ShopifyProductUncheckedUpdateWithoutShopifyStoreInput = {
@@ -119025,13 +120259,9 @@ export namespace Prisma {
119025
120259
  shopifyId?: StringFieldUpdateOperationsInput | string
119026
120260
  title?: StringFieldUpdateOperationsInput | string
119027
120261
  handle?: StringFieldUpdateOperationsInput | string
119028
- createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
119029
- updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
119030
- tags?: NullableStringFieldUpdateOperationsInput | string | null
119031
- status?: NullableStringFieldUpdateOperationsInput | string | null
119032
120262
  metaData?: JsonNullValueInput | InputJsonValue
119033
120263
  lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
119034
- campaigns?: CampaignUncheckedUpdateManyWithoutShopifyProductsNestedInput
120264
+ campaignToShopifyProducts?: CampaignToShopifyProductUncheckedUpdateManyWithoutShopifyProductNestedInput
119035
120265
  }
119036
120266
 
119037
120267
  export type ShopifyProductUncheckedUpdateManyWithoutShopifyStoreInput = {
@@ -119039,200 +120269,24 @@ export namespace Prisma {
119039
120269
  shopifyId?: StringFieldUpdateOperationsInput | string
119040
120270
  title?: StringFieldUpdateOperationsInput | string
119041
120271
  handle?: StringFieldUpdateOperationsInput | string
119042
- createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
119043
- updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
119044
- tags?: NullableStringFieldUpdateOperationsInput | string | null
119045
- status?: NullableStringFieldUpdateOperationsInput | string | null
119046
120272
  metaData?: JsonNullValueInput | InputJsonValue
119047
120273
  lastSynced?: DateTimeFieldUpdateOperationsInput | Date | string
119048
120274
  }
119049
120275
 
119050
- export type CampaignUpdateWithoutShopifyProductsInput = {
119051
- title?: StringFieldUpdateOperationsInput | string
119052
- slug?: NullableStringFieldUpdateOperationsInput | string | null
119053
- status?: StringFieldUpdateOperationsInput | string
119054
- date?: DateTimeFieldUpdateOperationsInput | Date | string
119055
- publishDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
119056
- description?: NullableStringFieldUpdateOperationsInput | string | null
119057
- productDescription?: NullableStringFieldUpdateOperationsInput | string | null
119058
- prizeDescription?: NullableStringFieldUpdateOperationsInput | string | null
119059
- strategy?: NullableStringFieldUpdateOperationsInput | string | null
119060
- socialChannel?: NullableStringFieldUpdateOperationsInput | string | null
119061
- socialChannels?: NullableJsonNullValueInput | InputJsonValue
119062
- facebookReach?: NullableIntFieldUpdateOperationsInput | number | null
119063
- facebookEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119064
- instagramReach?: NullableIntFieldUpdateOperationsInput | number | null
119065
- instagramEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119066
- youtubeReach?: NullableIntFieldUpdateOperationsInput | number | null
119067
- youtubeEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119068
- twitterReach?: NullableIntFieldUpdateOperationsInput | number | null
119069
- twitterEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119070
- tiktokReach?: NullableIntFieldUpdateOperationsInput | number | null
119071
- tiktokEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119072
- twitchReach?: NullableIntFieldUpdateOperationsInput | number | null
119073
- twitchEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119074
- quantity?: IntFieldUpdateOperationsInput | number
119075
- holdCost?: NullableFloatFieldUpdateOperationsInput | number | null
119076
- value?: NullableFloatFieldUpdateOperationsInput | number | null
119077
- paidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
119078
- minAge?: NullableIntFieldUpdateOperationsInput | number | null
119079
- maxAge?: NullableIntFieldUpdateOperationsInput | number | null
119080
- visuals?: NullableStringFieldUpdateOperationsInput | string | null
119081
- photoTags?: NullableJsonNullValueInput | InputJsonValue
119082
- hashtags?: NullableJsonNullValueInput | InputJsonValue
119083
- storyHashtags?: NullableJsonNullValueInput | InputJsonValue
119084
- storyMentions?: NullableJsonNullValueInput | InputJsonValue
119085
- caption?: NullableStringFieldUpdateOperationsInput | string | null
119086
- password?: NullableStringFieldUpdateOperationsInput | string | null
119087
- contentFormats?: NullableJsonNullValueInput | InputJsonValue
119088
- paidCampaign?: NullableBoolFieldUpdateOperationsInput | boolean | null
119089
- minPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
119090
- maxPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
119091
- paymentType?: NullableStringFieldUpdateOperationsInput | string | null
119092
- monthlyActivatedGoal?: NullableIntFieldUpdateOperationsInput | number | null
119093
- expectedOptIns?: NullableIntFieldUpdateOperationsInput | number | null
119094
- goalActivations?: NullableFloatFieldUpdateOperationsInput | number | null
119095
- goalOptIns?: NullableFloatFieldUpdateOperationsInput | number | null
119096
- requiresShipping?: NullableBoolFieldUpdateOperationsInput | boolean | null
119097
- disableQualifications?: NullableBoolFieldUpdateOperationsInput | boolean | null
119098
- disableActivations?: NullableBoolFieldUpdateOperationsInput | boolean | null
119099
- affiliateLinkPath?: NullableStringFieldUpdateOperationsInput | string | null
119100
- metaData?: JsonNullValueInput | InputJsonValue
119101
- steps?: CampaignStepUpdateManyWithoutCampaignNestedInput
119102
- categories?: CampaignToCategoryUpdateManyWithoutCampaignNestedInput
119103
- optIns?: OptInUpdateManyWithoutCampaignNestedInput
119104
- images?: CampaignToImageUpdateManyWithoutCampaignNestedInput
119105
- variables?: VariableUpdateManyWithoutCampaignNestedInput
119106
- countries?: CampaignToCountryUpdateManyWithoutCampaignNestedInput
119107
- campaignPins?: CampaignPinUpdateManyWithoutCampaignNestedInput
119108
- socialPosts?: SocialPostUpdateManyWithoutCampaignNestedInput
119109
- campaignInvites?: CampaignInviteUpdateManyWithoutCampaignNestedInput
119110
- brand?: BrandUpdateOneRequiredWithoutCampaignsNestedInput
119111
- creatorLists?: CreatorListUpdateManyWithoutCampaignNestedInput
119112
- optInViews?: OptInViewUpdateManyWithoutCampaignNestedInput
119113
- sequences?: SequenceUpdateManyWithoutCampaignNestedInput
120276
+ export type CampaignToShopifyProductCreateManyShopifyProductInput = {
120277
+ campaignId: number
119114
120278
  }
119115
120279
 
119116
- export type CampaignUncheckedUpdateWithoutShopifyProductsInput = {
119117
- id?: IntFieldUpdateOperationsInput | number
119118
- title?: StringFieldUpdateOperationsInput | string
119119
- slug?: NullableStringFieldUpdateOperationsInput | string | null
119120
- status?: StringFieldUpdateOperationsInput | string
119121
- date?: DateTimeFieldUpdateOperationsInput | Date | string
119122
- publishDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
119123
- description?: NullableStringFieldUpdateOperationsInput | string | null
119124
- productDescription?: NullableStringFieldUpdateOperationsInput | string | null
119125
- prizeDescription?: NullableStringFieldUpdateOperationsInput | string | null
119126
- strategy?: NullableStringFieldUpdateOperationsInput | string | null
119127
- socialChannel?: NullableStringFieldUpdateOperationsInput | string | null
119128
- socialChannels?: NullableJsonNullValueInput | InputJsonValue
119129
- facebookReach?: NullableIntFieldUpdateOperationsInput | number | null
119130
- facebookEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119131
- instagramReach?: NullableIntFieldUpdateOperationsInput | number | null
119132
- instagramEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119133
- youtubeReach?: NullableIntFieldUpdateOperationsInput | number | null
119134
- youtubeEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119135
- twitterReach?: NullableIntFieldUpdateOperationsInput | number | null
119136
- twitterEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119137
- tiktokReach?: NullableIntFieldUpdateOperationsInput | number | null
119138
- tiktokEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119139
- twitchReach?: NullableIntFieldUpdateOperationsInput | number | null
119140
- twitchEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119141
- quantity?: IntFieldUpdateOperationsInput | number
119142
- holdCost?: NullableFloatFieldUpdateOperationsInput | number | null
119143
- value?: NullableFloatFieldUpdateOperationsInput | number | null
119144
- paidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
119145
- minAge?: NullableIntFieldUpdateOperationsInput | number | null
119146
- maxAge?: NullableIntFieldUpdateOperationsInput | number | null
119147
- visuals?: NullableStringFieldUpdateOperationsInput | string | null
119148
- photoTags?: NullableJsonNullValueInput | InputJsonValue
119149
- hashtags?: NullableJsonNullValueInput | InputJsonValue
119150
- storyHashtags?: NullableJsonNullValueInput | InputJsonValue
119151
- storyMentions?: NullableJsonNullValueInput | InputJsonValue
119152
- caption?: NullableStringFieldUpdateOperationsInput | string | null
119153
- password?: NullableStringFieldUpdateOperationsInput | string | null
119154
- contentFormats?: NullableJsonNullValueInput | InputJsonValue
119155
- paidCampaign?: NullableBoolFieldUpdateOperationsInput | boolean | null
119156
- minPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
119157
- maxPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
119158
- paymentType?: NullableStringFieldUpdateOperationsInput | string | null
119159
- monthlyActivatedGoal?: NullableIntFieldUpdateOperationsInput | number | null
119160
- expectedOptIns?: NullableIntFieldUpdateOperationsInput | number | null
119161
- goalActivations?: NullableFloatFieldUpdateOperationsInput | number | null
119162
- goalOptIns?: NullableFloatFieldUpdateOperationsInput | number | null
119163
- requiresShipping?: NullableBoolFieldUpdateOperationsInput | boolean | null
119164
- disableQualifications?: NullableBoolFieldUpdateOperationsInput | boolean | null
119165
- disableActivations?: NullableBoolFieldUpdateOperationsInput | boolean | null
119166
- affiliateLinkPath?: NullableStringFieldUpdateOperationsInput | string | null
119167
- metaData?: JsonNullValueInput | InputJsonValue
119168
- brandId?: IntFieldUpdateOperationsInput | number
119169
- steps?: CampaignStepUncheckedUpdateManyWithoutCampaignNestedInput
119170
- categories?: CampaignToCategoryUncheckedUpdateManyWithoutCampaignNestedInput
119171
- optIns?: OptInUncheckedUpdateManyWithoutCampaignNestedInput
119172
- images?: CampaignToImageUncheckedUpdateManyWithoutCampaignNestedInput
119173
- variables?: VariableUncheckedUpdateManyWithoutCampaignNestedInput
119174
- countries?: CampaignToCountryUncheckedUpdateManyWithoutCampaignNestedInput
119175
- campaignPins?: CampaignPinUncheckedUpdateManyWithoutCampaignNestedInput
119176
- socialPosts?: SocialPostUncheckedUpdateManyWithoutCampaignNestedInput
119177
- campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutCampaignNestedInput
119178
- creatorLists?: CreatorListUncheckedUpdateManyWithoutCampaignNestedInput
119179
- optInViews?: OptInViewUncheckedUpdateManyWithoutCampaignNestedInput
119180
- sequences?: SequenceUncheckedUpdateManyWithoutCampaignNestedInput
120280
+ export type CampaignToShopifyProductUpdateWithoutShopifyProductInput = {
120281
+ campaign?: CampaignUpdateOneRequiredWithoutCampaignToShopifyProductsNestedInput
119181
120282
  }
119182
120283
 
119183
- export type CampaignUncheckedUpdateManyWithoutShopifyProductsInput = {
119184
- id?: IntFieldUpdateOperationsInput | number
119185
- title?: StringFieldUpdateOperationsInput | string
119186
- slug?: NullableStringFieldUpdateOperationsInput | string | null
119187
- status?: StringFieldUpdateOperationsInput | string
119188
- date?: DateTimeFieldUpdateOperationsInput | Date | string
119189
- publishDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
119190
- description?: NullableStringFieldUpdateOperationsInput | string | null
119191
- productDescription?: NullableStringFieldUpdateOperationsInput | string | null
119192
- prizeDescription?: NullableStringFieldUpdateOperationsInput | string | null
119193
- strategy?: NullableStringFieldUpdateOperationsInput | string | null
119194
- socialChannel?: NullableStringFieldUpdateOperationsInput | string | null
119195
- socialChannels?: NullableJsonNullValueInput | InputJsonValue
119196
- facebookReach?: NullableIntFieldUpdateOperationsInput | number | null
119197
- facebookEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119198
- instagramReach?: NullableIntFieldUpdateOperationsInput | number | null
119199
- instagramEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119200
- youtubeReach?: NullableIntFieldUpdateOperationsInput | number | null
119201
- youtubeEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119202
- twitterReach?: NullableIntFieldUpdateOperationsInput | number | null
119203
- twitterEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119204
- tiktokReach?: NullableIntFieldUpdateOperationsInput | number | null
119205
- tiktokEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119206
- twitchReach?: NullableIntFieldUpdateOperationsInput | number | null
119207
- twitchEngagement?: NullableFloatFieldUpdateOperationsInput | number | null
119208
- quantity?: IntFieldUpdateOperationsInput | number
119209
- holdCost?: NullableFloatFieldUpdateOperationsInput | number | null
119210
- value?: NullableFloatFieldUpdateOperationsInput | number | null
119211
- paidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
119212
- minAge?: NullableIntFieldUpdateOperationsInput | number | null
119213
- maxAge?: NullableIntFieldUpdateOperationsInput | number | null
119214
- visuals?: NullableStringFieldUpdateOperationsInput | string | null
119215
- photoTags?: NullableJsonNullValueInput | InputJsonValue
119216
- hashtags?: NullableJsonNullValueInput | InputJsonValue
119217
- storyHashtags?: NullableJsonNullValueInput | InputJsonValue
119218
- storyMentions?: NullableJsonNullValueInput | InputJsonValue
119219
- caption?: NullableStringFieldUpdateOperationsInput | string | null
119220
- password?: NullableStringFieldUpdateOperationsInput | string | null
119221
- contentFormats?: NullableJsonNullValueInput | InputJsonValue
119222
- paidCampaign?: NullableBoolFieldUpdateOperationsInput | boolean | null
119223
- minPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
119224
- maxPaidAmount?: NullableFloatFieldUpdateOperationsInput | number | null
119225
- paymentType?: NullableStringFieldUpdateOperationsInput | string | null
119226
- monthlyActivatedGoal?: NullableIntFieldUpdateOperationsInput | number | null
119227
- expectedOptIns?: NullableIntFieldUpdateOperationsInput | number | null
119228
- goalActivations?: NullableFloatFieldUpdateOperationsInput | number | null
119229
- goalOptIns?: NullableFloatFieldUpdateOperationsInput | number | null
119230
- requiresShipping?: NullableBoolFieldUpdateOperationsInput | boolean | null
119231
- disableQualifications?: NullableBoolFieldUpdateOperationsInput | boolean | null
119232
- disableActivations?: NullableBoolFieldUpdateOperationsInput | boolean | null
119233
- affiliateLinkPath?: NullableStringFieldUpdateOperationsInput | string | null
119234
- metaData?: JsonNullValueInput | InputJsonValue
119235
- brandId?: IntFieldUpdateOperationsInput | number
120284
+ export type CampaignToShopifyProductUncheckedUpdateWithoutShopifyProductInput = {
120285
+ campaignId?: IntFieldUpdateOperationsInput | number
120286
+ }
120287
+
120288
+ export type CampaignToShopifyProductUncheckedUpdateManyWithoutShopifyProductInput = {
120289
+ campaignId?: IntFieldUpdateOperationsInput | number
119236
120290
  }
119237
120291
 
119238
120292
 
@@ -119596,6 +120650,10 @@ export namespace Prisma {
119596
120650
  * @deprecated Use ShopifyProductDefaultArgs instead
119597
120651
  */
119598
120652
  export type ShopifyProductArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShopifyProductDefaultArgs<ExtArgs>
120653
+ /**
120654
+ * @deprecated Use CampaignToShopifyProductDefaultArgs instead
120655
+ */
120656
+ export type CampaignToShopifyProductArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CampaignToShopifyProductDefaultArgs<ExtArgs>
119599
120657
 
119600
120658
  /**
119601
120659
  * Batch Payload for updateMany & deleteMany & createMany