@creator.co/creatorco-prisma-client 1.0.60 → 1.0.61-alpha-b23a5b2

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
@@ -413,6 +413,11 @@ export type CreatorFlag = $Result.DefaultSelection<Prisma.$CreatorFlagPayload>
413
413
  *
414
414
  */
415
415
  export type BrandContract = $Result.DefaultSelection<Prisma.$BrandContractPayload>
416
+ /**
417
+ * Model EmailCredentials
418
+ *
419
+ */
420
+ export type EmailCredentials = $Result.DefaultSelection<Prisma.$EmailCredentialsPayload>
416
421
 
417
422
  /**
418
423
  * Enums
@@ -1394,6 +1399,16 @@ export class PrismaClient<
1394
1399
  * ```
1395
1400
  */
1396
1401
  get brandContract(): Prisma.BrandContractDelegate<ExtArgs>;
1402
+
1403
+ /**
1404
+ * `prisma.emailCredentials`: Exposes CRUD operations for the **EmailCredentials** model.
1405
+ * Example usage:
1406
+ * ```ts
1407
+ * // Fetch zero or more EmailCredentials
1408
+ * const emailCredentials = await prisma.emailCredentials.findMany()
1409
+ * ```
1410
+ */
1411
+ get emailCredentials(): Prisma.EmailCredentialsDelegate<ExtArgs>;
1397
1412
  }
1398
1413
 
1399
1414
  export namespace Prisma {
@@ -1950,7 +1965,8 @@ export namespace Prisma {
1950
1965
  ShopifyDiscountCode: 'ShopifyDiscountCode',
1951
1966
  ShopifySale: 'ShopifySale',
1952
1967
  CreatorFlag: 'CreatorFlag',
1953
- BrandContract: 'BrandContract'
1968
+ BrandContract: 'BrandContract',
1969
+ EmailCredentials: 'EmailCredentials'
1954
1970
  };
1955
1971
 
1956
1972
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -1967,7 +1983,7 @@ export namespace Prisma {
1967
1983
 
1968
1984
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1969
1985
  meta: {
1970
- modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'campaignToSocialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'pendingBrandInvoicePayment' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'affiliatePayoutBatch' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'cjEvent' | 'shareASaleEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct' | 'shopifyDiscountCode' | 'shopifySale' | 'creatorFlag' | 'brandContract'
1986
+ modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'campaignToSocialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'pendingBrandInvoicePayment' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'affiliatePayoutBatch' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'cjEvent' | 'shareASaleEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct' | 'shopifyDiscountCode' | 'shopifySale' | 'creatorFlag' | 'brandContract' | 'emailCredentials'
1971
1987
  txIsolationLevel: Prisma.TransactionIsolationLevel
1972
1988
  },
1973
1989
  model: {
@@ -7571,6 +7587,76 @@ export namespace Prisma {
7571
7587
  }
7572
7588
  }
7573
7589
  }
7590
+ EmailCredentials: {
7591
+ payload: Prisma.$EmailCredentialsPayload<ExtArgs>
7592
+ fields: Prisma.EmailCredentialsFieldRefs
7593
+ operations: {
7594
+ findUnique: {
7595
+ args: Prisma.EmailCredentialsFindUniqueArgs<ExtArgs>,
7596
+ result: $Utils.PayloadToResult<Prisma.$EmailCredentialsPayload> | null
7597
+ }
7598
+ findUniqueOrThrow: {
7599
+ args: Prisma.EmailCredentialsFindUniqueOrThrowArgs<ExtArgs>,
7600
+ result: $Utils.PayloadToResult<Prisma.$EmailCredentialsPayload>
7601
+ }
7602
+ findFirst: {
7603
+ args: Prisma.EmailCredentialsFindFirstArgs<ExtArgs>,
7604
+ result: $Utils.PayloadToResult<Prisma.$EmailCredentialsPayload> | null
7605
+ }
7606
+ findFirstOrThrow: {
7607
+ args: Prisma.EmailCredentialsFindFirstOrThrowArgs<ExtArgs>,
7608
+ result: $Utils.PayloadToResult<Prisma.$EmailCredentialsPayload>
7609
+ }
7610
+ findMany: {
7611
+ args: Prisma.EmailCredentialsFindManyArgs<ExtArgs>,
7612
+ result: $Utils.PayloadToResult<Prisma.$EmailCredentialsPayload>[]
7613
+ }
7614
+ create: {
7615
+ args: Prisma.EmailCredentialsCreateArgs<ExtArgs>,
7616
+ result: $Utils.PayloadToResult<Prisma.$EmailCredentialsPayload>
7617
+ }
7618
+ createMany: {
7619
+ args: Prisma.EmailCredentialsCreateManyArgs<ExtArgs>,
7620
+ result: Prisma.BatchPayload
7621
+ }
7622
+ createManyAndReturn: {
7623
+ args: Prisma.EmailCredentialsCreateManyAndReturnArgs<ExtArgs>,
7624
+ result: $Utils.PayloadToResult<Prisma.$EmailCredentialsPayload>[]
7625
+ }
7626
+ delete: {
7627
+ args: Prisma.EmailCredentialsDeleteArgs<ExtArgs>,
7628
+ result: $Utils.PayloadToResult<Prisma.$EmailCredentialsPayload>
7629
+ }
7630
+ update: {
7631
+ args: Prisma.EmailCredentialsUpdateArgs<ExtArgs>,
7632
+ result: $Utils.PayloadToResult<Prisma.$EmailCredentialsPayload>
7633
+ }
7634
+ deleteMany: {
7635
+ args: Prisma.EmailCredentialsDeleteManyArgs<ExtArgs>,
7636
+ result: Prisma.BatchPayload
7637
+ }
7638
+ updateMany: {
7639
+ args: Prisma.EmailCredentialsUpdateManyArgs<ExtArgs>,
7640
+ result: Prisma.BatchPayload
7641
+ }
7642
+ upsert: {
7643
+ args: Prisma.EmailCredentialsUpsertArgs<ExtArgs>,
7644
+ result: $Utils.PayloadToResult<Prisma.$EmailCredentialsPayload>
7645
+ }
7646
+ aggregate: {
7647
+ args: Prisma.EmailCredentialsAggregateArgs<ExtArgs>,
7648
+ result: $Utils.Optional<AggregateEmailCredentials>
7649
+ }
7650
+ groupBy: {
7651
+ args: Prisma.EmailCredentialsGroupByArgs<ExtArgs>,
7652
+ result: $Utils.Optional<EmailCredentialsGroupByOutputType>[]
7653
+ }
7654
+ count: {
7655
+ args: Prisma.EmailCredentialsCountArgs<ExtArgs>,
7656
+ result: $Utils.Optional<EmailCredentialsCountAggregateOutputType> | number
7657
+ }
7658
+ }
7659
+ }
7574
7660
  }
7575
7661
  } & {
7576
7662
  other: {
@@ -7987,6 +8073,7 @@ export namespace Prisma {
7987
8073
  productLists: number
7988
8074
  brandContracts: number
7989
8075
  childBrands: number
8076
+ smtpCredentials: number
7990
8077
  }
7991
8078
 
7992
8079
  export type BrandCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -8013,6 +8100,7 @@ export namespace Prisma {
8013
8100
  productLists?: boolean | BrandCountOutputTypeCountProductListsArgs
8014
8101
  brandContracts?: boolean | BrandCountOutputTypeCountBrandContractsArgs
8015
8102
  childBrands?: boolean | BrandCountOutputTypeCountChildBrandsArgs
8103
+ smtpCredentials?: boolean | BrandCountOutputTypeCountSmtpCredentialsArgs
8016
8104
  }
8017
8105
 
8018
8106
  // Custom InputTypes
@@ -8187,6 +8275,13 @@ export namespace Prisma {
8187
8275
  where?: BrandWhereInput
8188
8276
  }
8189
8277
 
8278
+ /**
8279
+ * BrandCountOutputType without action
8280
+ */
8281
+ export type BrandCountOutputTypeCountSmtpCredentialsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8282
+ where?: EmailCredentialsWhereInput
8283
+ }
8284
+
8190
8285
 
8191
8286
  /**
8192
8287
  * Count Type BrandToImageCountOutputType
@@ -9434,6 +9529,37 @@ export namespace Prisma {
9434
9529
  }
9435
9530
 
9436
9531
 
9532
+ /**
9533
+ * Count Type EmailCredentialsCountOutputType
9534
+ */
9535
+
9536
+ export type EmailCredentialsCountOutputType = {
9537
+ sequences: number
9538
+ }
9539
+
9540
+ export type EmailCredentialsCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9541
+ sequences?: boolean | EmailCredentialsCountOutputTypeCountSequencesArgs
9542
+ }
9543
+
9544
+ // Custom InputTypes
9545
+ /**
9546
+ * EmailCredentialsCountOutputType without action
9547
+ */
9548
+ export type EmailCredentialsCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9549
+ /**
9550
+ * Select specific fields to fetch from the EmailCredentialsCountOutputType
9551
+ */
9552
+ select?: EmailCredentialsCountOutputTypeSelect<ExtArgs> | null
9553
+ }
9554
+
9555
+ /**
9556
+ * EmailCredentialsCountOutputType without action
9557
+ */
9558
+ export type EmailCredentialsCountOutputTypeCountSequencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9559
+ where?: SequenceWhereInput
9560
+ }
9561
+
9562
+
9437
9563
  /**
9438
9564
  * Models
9439
9565
  */
@@ -21916,6 +22042,7 @@ export namespace Prisma {
21916
22042
  brandContracts?: boolean | Brand$brandContractsArgs<ExtArgs>
21917
22043
  parentBrand?: boolean | Brand$parentBrandArgs<ExtArgs>
21918
22044
  childBrands?: boolean | Brand$childBrandsArgs<ExtArgs>
22045
+ smtpCredentials?: boolean | Brand$smtpCredentialsArgs<ExtArgs>
21919
22046
  _count?: boolean | BrandCountOutputTypeDefaultArgs<ExtArgs>
21920
22047
  }, ExtArgs["result"]["brand"]>
21921
22048
 
@@ -21984,6 +22111,7 @@ export namespace Prisma {
21984
22111
  brandContracts?: boolean | Brand$brandContractsArgs<ExtArgs>
21985
22112
  parentBrand?: boolean | Brand$parentBrandArgs<ExtArgs>
21986
22113
  childBrands?: boolean | Brand$childBrandsArgs<ExtArgs>
22114
+ smtpCredentials?: boolean | Brand$smtpCredentialsArgs<ExtArgs>
21987
22115
  _count?: boolean | BrandCountOutputTypeDefaultArgs<ExtArgs>
21988
22116
  }
21989
22117
  export type BrandIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -22022,6 +22150,7 @@ export namespace Prisma {
22022
22150
  brandContracts: Prisma.$BrandContractPayload<ExtArgs>[]
22023
22151
  parentBrand: Prisma.$BrandPayload<ExtArgs> | null
22024
22152
  childBrands: Prisma.$BrandPayload<ExtArgs>[]
22153
+ smtpCredentials: Prisma.$EmailCredentialsPayload<ExtArgs>[]
22025
22154
  }
22026
22155
  scalars: $Extensions.GetPayloadResult<{
22027
22156
  id: number
@@ -22484,6 +22613,8 @@ export namespace Prisma {
22484
22613
 
22485
22614
  childBrands<T extends Brand$childBrandsArgs<ExtArgs> = {}>(args?: Subset<T, Brand$childBrandsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BrandPayload<ExtArgs>, T, 'findMany'> | Null>;
22486
22615
 
22616
+ smtpCredentials<T extends Brand$smtpCredentialsArgs<ExtArgs> = {}>(args?: Subset<T, Brand$smtpCredentialsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'findMany'> | Null>;
22617
+
22487
22618
  /**
22488
22619
  * Attaches callbacks for the resolution and/or rejection of the Promise.
22489
22620
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -23378,6 +23509,26 @@ export namespace Prisma {
23378
23509
  distinct?: BrandScalarFieldEnum | BrandScalarFieldEnum[]
23379
23510
  }
23380
23511
 
23512
+ /**
23513
+ * Brand.smtpCredentials
23514
+ */
23515
+ export type Brand$smtpCredentialsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23516
+ /**
23517
+ * Select specific fields to fetch from the EmailCredentials
23518
+ */
23519
+ select?: EmailCredentialsSelect<ExtArgs> | null
23520
+ /**
23521
+ * Choose, which related nodes to fetch as well
23522
+ */
23523
+ include?: EmailCredentialsInclude<ExtArgs> | null
23524
+ where?: EmailCredentialsWhereInput
23525
+ orderBy?: EmailCredentialsOrderByWithRelationAndSearchRelevanceInput | EmailCredentialsOrderByWithRelationAndSearchRelevanceInput[]
23526
+ cursor?: EmailCredentialsWhereUniqueInput
23527
+ take?: number
23528
+ skip?: number
23529
+ distinct?: EmailCredentialsScalarFieldEnum | EmailCredentialsScalarFieldEnum[]
23530
+ }
23531
+
23381
23532
  /**
23382
23533
  * Brand without action
23383
23534
  */
@@ -83885,6 +84036,7 @@ export namespace Prisma {
83885
84036
  campaignId: number | null
83886
84037
  creatorListId: number | null
83887
84038
  brandId: number | null
84039
+ emailCredentialsId: number | null
83888
84040
  }
83889
84041
 
83890
84042
  export type SequenceSumAggregateOutputType = {
@@ -83892,6 +84044,7 @@ export namespace Prisma {
83892
84044
  campaignId: number | null
83893
84045
  creatorListId: number | null
83894
84046
  brandId: number | null
84047
+ emailCredentialsId: number | null
83895
84048
  }
83896
84049
 
83897
84050
  export type SequenceMinAggregateOutputType = {
@@ -83903,6 +84056,7 @@ export namespace Prisma {
83903
84056
  completed: boolean | null
83904
84057
  brandId: number | null
83905
84058
  enabled: boolean | null
84059
+ emailCredentialsId: number | null
83906
84060
  }
83907
84061
 
83908
84062
  export type SequenceMaxAggregateOutputType = {
@@ -83914,6 +84068,7 @@ export namespace Prisma {
83914
84068
  completed: boolean | null
83915
84069
  brandId: number | null
83916
84070
  enabled: boolean | null
84071
+ emailCredentialsId: number | null
83917
84072
  }
83918
84073
 
83919
84074
  export type SequenceCountAggregateOutputType = {
@@ -83925,6 +84080,7 @@ export namespace Prisma {
83925
84080
  completed: number
83926
84081
  brandId: number
83927
84082
  enabled: number
84083
+ emailCredentialsId: number
83928
84084
  _all: number
83929
84085
  }
83930
84086
 
@@ -83934,6 +84090,7 @@ export namespace Prisma {
83934
84090
  campaignId?: true
83935
84091
  creatorListId?: true
83936
84092
  brandId?: true
84093
+ emailCredentialsId?: true
83937
84094
  }
83938
84095
 
83939
84096
  export type SequenceSumAggregateInputType = {
@@ -83941,6 +84098,7 @@ export namespace Prisma {
83941
84098
  campaignId?: true
83942
84099
  creatorListId?: true
83943
84100
  brandId?: true
84101
+ emailCredentialsId?: true
83944
84102
  }
83945
84103
 
83946
84104
  export type SequenceMinAggregateInputType = {
@@ -83952,6 +84110,7 @@ export namespace Prisma {
83952
84110
  completed?: true
83953
84111
  brandId?: true
83954
84112
  enabled?: true
84113
+ emailCredentialsId?: true
83955
84114
  }
83956
84115
 
83957
84116
  export type SequenceMaxAggregateInputType = {
@@ -83963,6 +84122,7 @@ export namespace Prisma {
83963
84122
  completed?: true
83964
84123
  brandId?: true
83965
84124
  enabled?: true
84125
+ emailCredentialsId?: true
83966
84126
  }
83967
84127
 
83968
84128
  export type SequenceCountAggregateInputType = {
@@ -83974,6 +84134,7 @@ export namespace Prisma {
83974
84134
  completed?: true
83975
84135
  brandId?: true
83976
84136
  enabled?: true
84137
+ emailCredentialsId?: true
83977
84138
  _all?: true
83978
84139
  }
83979
84140
 
@@ -84072,6 +84233,7 @@ export namespace Prisma {
84072
84233
  completed: boolean
84073
84234
  brandId: number
84074
84235
  enabled: boolean
84236
+ emailCredentialsId: number
84075
84237
  _count: SequenceCountAggregateOutputType | null
84076
84238
  _avg: SequenceAvgAggregateOutputType | null
84077
84239
  _sum: SequenceSumAggregateOutputType | null
@@ -84102,6 +84264,7 @@ export namespace Prisma {
84102
84264
  completed?: boolean
84103
84265
  brandId?: boolean
84104
84266
  enabled?: boolean
84267
+ emailCredentialsId?: boolean
84105
84268
  campaign?: boolean | CampaignDefaultArgs<ExtArgs>
84106
84269
  creatorList?: boolean | CreatorListDefaultArgs<ExtArgs>
84107
84270
  brand?: boolean | BrandDefaultArgs<ExtArgs>
@@ -84109,6 +84272,7 @@ export namespace Prisma {
84109
84272
  outboundEmails?: boolean | Sequence$outboundEmailsArgs<ExtArgs>
84110
84273
  inboundEmails?: boolean | Sequence$inboundEmailsArgs<ExtArgs>
84111
84274
  imapCheckpoints?: boolean | Sequence$imapCheckpointsArgs<ExtArgs>
84275
+ emailCredentials?: boolean | EmailCredentialsDefaultArgs<ExtArgs>
84112
84276
  _count?: boolean | SequenceCountOutputTypeDefaultArgs<ExtArgs>
84113
84277
  }, ExtArgs["result"]["sequence"]>
84114
84278
 
@@ -84121,9 +84285,11 @@ export namespace Prisma {
84121
84285
  completed?: boolean
84122
84286
  brandId?: boolean
84123
84287
  enabled?: boolean
84288
+ emailCredentialsId?: boolean
84124
84289
  campaign?: boolean | CampaignDefaultArgs<ExtArgs>
84125
84290
  creatorList?: boolean | CreatorListDefaultArgs<ExtArgs>
84126
84291
  brand?: boolean | BrandDefaultArgs<ExtArgs>
84292
+ emailCredentials?: boolean | EmailCredentialsDefaultArgs<ExtArgs>
84127
84293
  }, ExtArgs["result"]["sequence"]>
84128
84294
 
84129
84295
  export type SequenceSelectScalar = {
@@ -84135,6 +84301,7 @@ export namespace Prisma {
84135
84301
  completed?: boolean
84136
84302
  brandId?: boolean
84137
84303
  enabled?: boolean
84304
+ emailCredentialsId?: boolean
84138
84305
  }
84139
84306
 
84140
84307
  export type SequenceInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -84145,12 +84312,14 @@ export namespace Prisma {
84145
84312
  outboundEmails?: boolean | Sequence$outboundEmailsArgs<ExtArgs>
84146
84313
  inboundEmails?: boolean | Sequence$inboundEmailsArgs<ExtArgs>
84147
84314
  imapCheckpoints?: boolean | Sequence$imapCheckpointsArgs<ExtArgs>
84315
+ emailCredentials?: boolean | EmailCredentialsDefaultArgs<ExtArgs>
84148
84316
  _count?: boolean | SequenceCountOutputTypeDefaultArgs<ExtArgs>
84149
84317
  }
84150
84318
  export type SequenceIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
84151
84319
  campaign?: boolean | CampaignDefaultArgs<ExtArgs>
84152
84320
  creatorList?: boolean | CreatorListDefaultArgs<ExtArgs>
84153
84321
  brand?: boolean | BrandDefaultArgs<ExtArgs>
84322
+ emailCredentials?: boolean | EmailCredentialsDefaultArgs<ExtArgs>
84154
84323
  }
84155
84324
 
84156
84325
  export type $SequencePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -84163,6 +84332,7 @@ export namespace Prisma {
84163
84332
  outboundEmails: Prisma.$SequenceOutboundEmailPayload<ExtArgs>[]
84164
84333
  inboundEmails: Prisma.$SequenceInboundEmailPayload<ExtArgs>[]
84165
84334
  imapCheckpoints: Prisma.$SequenceImapCheckpointPayload<ExtArgs>[]
84335
+ emailCredentials: Prisma.$EmailCredentialsPayload<ExtArgs>
84166
84336
  }
84167
84337
  scalars: $Extensions.GetPayloadResult<{
84168
84338
  id: number
@@ -84173,6 +84343,7 @@ export namespace Prisma {
84173
84343
  completed: boolean
84174
84344
  brandId: number
84175
84345
  enabled: boolean
84346
+ emailCredentialsId: number
84176
84347
  }, ExtArgs["result"]["sequence"]>
84177
84348
  composites: {}
84178
84349
  }
@@ -84577,6 +84748,8 @@ export namespace Prisma {
84577
84748
 
84578
84749
  imapCheckpoints<T extends Sequence$imapCheckpointsArgs<ExtArgs> = {}>(args?: Subset<T, Sequence$imapCheckpointsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SequenceImapCheckpointPayload<ExtArgs>, T, 'findMany'> | Null>;
84579
84750
 
84751
+ emailCredentials<T extends EmailCredentialsDefaultArgs<ExtArgs> = {}>(args?: Subset<T, EmailCredentialsDefaultArgs<ExtArgs>>): Prisma__EmailCredentialsClient<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
84752
+
84580
84753
  /**
84581
84754
  * Attaches callbacks for the resolution and/or rejection of the Promise.
84582
84755
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -84613,6 +84786,7 @@ export namespace Prisma {
84613
84786
  readonly completed: FieldRef<"Sequence", 'Boolean'>
84614
84787
  readonly brandId: FieldRef<"Sequence", 'Int'>
84615
84788
  readonly enabled: FieldRef<"Sequence", 'Boolean'>
84789
+ readonly emailCredentialsId: FieldRef<"Sequence", 'Int'>
84616
84790
  }
84617
84791
 
84618
84792
 
@@ -97096,364 +97270,1512 @@ export namespace Prisma {
97096
97270
 
97097
97271
 
97098
97272
  /**
97099
- * Fields of the BrandContract model
97273
+ * Fields of the BrandContract model
97274
+ */
97275
+ interface BrandContractFieldRefs {
97276
+ readonly id: FieldRef<"BrandContract", 'Int'>
97277
+ readonly brandId: FieldRef<"BrandContract", 'Int'>
97278
+ readonly createdAt: FieldRef<"BrandContract", 'DateTime'>
97279
+ readonly updatedAt: FieldRef<"BrandContract", 'DateTime'>
97280
+ readonly file: FieldRef<"BrandContract", 'String'>
97281
+ readonly contractType: FieldRef<"BrandContract", 'String'>
97282
+ readonly startDate: FieldRef<"BrandContract", 'DateTime'>
97283
+ readonly endDate: FieldRef<"BrandContract", 'DateTime'>
97284
+ readonly archivedAt: FieldRef<"BrandContract", 'DateTime'>
97285
+ readonly createdByUserId: FieldRef<"BrandContract", 'Int'>
97286
+ readonly editedByUserId: FieldRef<"BrandContract", 'Int'>
97287
+ }
97288
+
97289
+
97290
+ // Custom InputTypes
97291
+ /**
97292
+ * BrandContract findUnique
97293
+ */
97294
+ export type BrandContractFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97295
+ /**
97296
+ * Select specific fields to fetch from the BrandContract
97297
+ */
97298
+ select?: BrandContractSelect<ExtArgs> | null
97299
+ /**
97300
+ * Choose, which related nodes to fetch as well
97301
+ */
97302
+ include?: BrandContractInclude<ExtArgs> | null
97303
+ /**
97304
+ * Filter, which BrandContract to fetch.
97305
+ */
97306
+ where: BrandContractWhereUniqueInput
97307
+ }
97308
+
97309
+ /**
97310
+ * BrandContract findUniqueOrThrow
97311
+ */
97312
+ export type BrandContractFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97313
+ /**
97314
+ * Select specific fields to fetch from the BrandContract
97315
+ */
97316
+ select?: BrandContractSelect<ExtArgs> | null
97317
+ /**
97318
+ * Choose, which related nodes to fetch as well
97319
+ */
97320
+ include?: BrandContractInclude<ExtArgs> | null
97321
+ /**
97322
+ * Filter, which BrandContract to fetch.
97323
+ */
97324
+ where: BrandContractWhereUniqueInput
97325
+ }
97326
+
97327
+ /**
97328
+ * BrandContract findFirst
97329
+ */
97330
+ export type BrandContractFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97331
+ /**
97332
+ * Select specific fields to fetch from the BrandContract
97333
+ */
97334
+ select?: BrandContractSelect<ExtArgs> | null
97335
+ /**
97336
+ * Choose, which related nodes to fetch as well
97337
+ */
97338
+ include?: BrandContractInclude<ExtArgs> | null
97339
+ /**
97340
+ * Filter, which BrandContract to fetch.
97341
+ */
97342
+ where?: BrandContractWhereInput
97343
+ /**
97344
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97345
+ *
97346
+ * Determine the order of BrandContracts to fetch.
97347
+ */
97348
+ orderBy?: BrandContractOrderByWithRelationAndSearchRelevanceInput | BrandContractOrderByWithRelationAndSearchRelevanceInput[]
97349
+ /**
97350
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
97351
+ *
97352
+ * Sets the position for searching for BrandContracts.
97353
+ */
97354
+ cursor?: BrandContractWhereUniqueInput
97355
+ /**
97356
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97357
+ *
97358
+ * Take `±n` BrandContracts from the position of the cursor.
97359
+ */
97360
+ take?: number
97361
+ /**
97362
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97363
+ *
97364
+ * Skip the first `n` BrandContracts.
97365
+ */
97366
+ skip?: number
97367
+ /**
97368
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
97369
+ *
97370
+ * Filter by unique combinations of BrandContracts.
97371
+ */
97372
+ distinct?: BrandContractScalarFieldEnum | BrandContractScalarFieldEnum[]
97373
+ }
97374
+
97375
+ /**
97376
+ * BrandContract findFirstOrThrow
97377
+ */
97378
+ export type BrandContractFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97379
+ /**
97380
+ * Select specific fields to fetch from the BrandContract
97381
+ */
97382
+ select?: BrandContractSelect<ExtArgs> | null
97383
+ /**
97384
+ * Choose, which related nodes to fetch as well
97385
+ */
97386
+ include?: BrandContractInclude<ExtArgs> | null
97387
+ /**
97388
+ * Filter, which BrandContract to fetch.
97389
+ */
97390
+ where?: BrandContractWhereInput
97391
+ /**
97392
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97393
+ *
97394
+ * Determine the order of BrandContracts to fetch.
97395
+ */
97396
+ orderBy?: BrandContractOrderByWithRelationAndSearchRelevanceInput | BrandContractOrderByWithRelationAndSearchRelevanceInput[]
97397
+ /**
97398
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
97399
+ *
97400
+ * Sets the position for searching for BrandContracts.
97401
+ */
97402
+ cursor?: BrandContractWhereUniqueInput
97403
+ /**
97404
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97405
+ *
97406
+ * Take `±n` BrandContracts from the position of the cursor.
97407
+ */
97408
+ take?: number
97409
+ /**
97410
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97411
+ *
97412
+ * Skip the first `n` BrandContracts.
97413
+ */
97414
+ skip?: number
97415
+ /**
97416
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
97417
+ *
97418
+ * Filter by unique combinations of BrandContracts.
97419
+ */
97420
+ distinct?: BrandContractScalarFieldEnum | BrandContractScalarFieldEnum[]
97421
+ }
97422
+
97423
+ /**
97424
+ * BrandContract findMany
97425
+ */
97426
+ export type BrandContractFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97427
+ /**
97428
+ * Select specific fields to fetch from the BrandContract
97429
+ */
97430
+ select?: BrandContractSelect<ExtArgs> | null
97431
+ /**
97432
+ * Choose, which related nodes to fetch as well
97433
+ */
97434
+ include?: BrandContractInclude<ExtArgs> | null
97435
+ /**
97436
+ * Filter, which BrandContracts to fetch.
97437
+ */
97438
+ where?: BrandContractWhereInput
97439
+ /**
97440
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97441
+ *
97442
+ * Determine the order of BrandContracts to fetch.
97443
+ */
97444
+ orderBy?: BrandContractOrderByWithRelationAndSearchRelevanceInput | BrandContractOrderByWithRelationAndSearchRelevanceInput[]
97445
+ /**
97446
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
97447
+ *
97448
+ * Sets the position for listing BrandContracts.
97449
+ */
97450
+ cursor?: BrandContractWhereUniqueInput
97451
+ /**
97452
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97453
+ *
97454
+ * Take `±n` BrandContracts from the position of the cursor.
97455
+ */
97456
+ take?: number
97457
+ /**
97458
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97459
+ *
97460
+ * Skip the first `n` BrandContracts.
97461
+ */
97462
+ skip?: number
97463
+ distinct?: BrandContractScalarFieldEnum | BrandContractScalarFieldEnum[]
97464
+ }
97465
+
97466
+ /**
97467
+ * BrandContract create
97468
+ */
97469
+ export type BrandContractCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97470
+ /**
97471
+ * Select specific fields to fetch from the BrandContract
97472
+ */
97473
+ select?: BrandContractSelect<ExtArgs> | null
97474
+ /**
97475
+ * Choose, which related nodes to fetch as well
97476
+ */
97477
+ include?: BrandContractInclude<ExtArgs> | null
97478
+ /**
97479
+ * The data needed to create a BrandContract.
97480
+ */
97481
+ data: XOR<BrandContractCreateInput, BrandContractUncheckedCreateInput>
97482
+ }
97483
+
97484
+ /**
97485
+ * BrandContract createMany
97486
+ */
97487
+ export type BrandContractCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97488
+ /**
97489
+ * The data used to create many BrandContracts.
97490
+ */
97491
+ data: BrandContractCreateManyInput | BrandContractCreateManyInput[]
97492
+ skipDuplicates?: boolean
97493
+ }
97494
+
97495
+ /**
97496
+ * BrandContract createManyAndReturn
97497
+ */
97498
+ export type BrandContractCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97499
+ /**
97500
+ * Select specific fields to fetch from the BrandContract
97501
+ */
97502
+ select?: BrandContractSelectCreateManyAndReturn<ExtArgs> | null
97503
+ /**
97504
+ * The data used to create many BrandContracts.
97505
+ */
97506
+ data: BrandContractCreateManyInput | BrandContractCreateManyInput[]
97507
+ skipDuplicates?: boolean
97508
+ /**
97509
+ * Choose, which related nodes to fetch as well
97510
+ */
97511
+ include?: BrandContractIncludeCreateManyAndReturn<ExtArgs> | null
97512
+ }
97513
+
97514
+ /**
97515
+ * BrandContract update
97516
+ */
97517
+ export type BrandContractUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97518
+ /**
97519
+ * Select specific fields to fetch from the BrandContract
97520
+ */
97521
+ select?: BrandContractSelect<ExtArgs> | null
97522
+ /**
97523
+ * Choose, which related nodes to fetch as well
97524
+ */
97525
+ include?: BrandContractInclude<ExtArgs> | null
97526
+ /**
97527
+ * The data needed to update a BrandContract.
97528
+ */
97529
+ data: XOR<BrandContractUpdateInput, BrandContractUncheckedUpdateInput>
97530
+ /**
97531
+ * Choose, which BrandContract to update.
97532
+ */
97533
+ where: BrandContractWhereUniqueInput
97534
+ }
97535
+
97536
+ /**
97537
+ * BrandContract updateMany
97538
+ */
97539
+ export type BrandContractUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97540
+ /**
97541
+ * The data used to update BrandContracts.
97542
+ */
97543
+ data: XOR<BrandContractUpdateManyMutationInput, BrandContractUncheckedUpdateManyInput>
97544
+ /**
97545
+ * Filter which BrandContracts to update
97546
+ */
97547
+ where?: BrandContractWhereInput
97548
+ }
97549
+
97550
+ /**
97551
+ * BrandContract upsert
97552
+ */
97553
+ export type BrandContractUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97554
+ /**
97555
+ * Select specific fields to fetch from the BrandContract
97556
+ */
97557
+ select?: BrandContractSelect<ExtArgs> | null
97558
+ /**
97559
+ * Choose, which related nodes to fetch as well
97560
+ */
97561
+ include?: BrandContractInclude<ExtArgs> | null
97562
+ /**
97563
+ * The filter to search for the BrandContract to update in case it exists.
97564
+ */
97565
+ where: BrandContractWhereUniqueInput
97566
+ /**
97567
+ * In case the BrandContract found by the `where` argument doesn't exist, create a new BrandContract with this data.
97568
+ */
97569
+ create: XOR<BrandContractCreateInput, BrandContractUncheckedCreateInput>
97570
+ /**
97571
+ * In case the BrandContract was found with the provided `where` argument, update it with this data.
97572
+ */
97573
+ update: XOR<BrandContractUpdateInput, BrandContractUncheckedUpdateInput>
97574
+ }
97575
+
97576
+ /**
97577
+ * BrandContract delete
97578
+ */
97579
+ export type BrandContractDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97580
+ /**
97581
+ * Select specific fields to fetch from the BrandContract
97582
+ */
97583
+ select?: BrandContractSelect<ExtArgs> | null
97584
+ /**
97585
+ * Choose, which related nodes to fetch as well
97586
+ */
97587
+ include?: BrandContractInclude<ExtArgs> | null
97588
+ /**
97589
+ * Filter which BrandContract to delete.
97590
+ */
97591
+ where: BrandContractWhereUniqueInput
97592
+ }
97593
+
97594
+ /**
97595
+ * BrandContract deleteMany
97596
+ */
97597
+ export type BrandContractDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97598
+ /**
97599
+ * Filter which BrandContracts to delete
97600
+ */
97601
+ where?: BrandContractWhereInput
97602
+ }
97603
+
97604
+ /**
97605
+ * BrandContract.editedByUser
97606
+ */
97607
+ export type BrandContract$editedByUserArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97608
+ /**
97609
+ * Select specific fields to fetch from the User
97610
+ */
97611
+ select?: UserSelect<ExtArgs> | null
97612
+ /**
97613
+ * Choose, which related nodes to fetch as well
97614
+ */
97615
+ include?: UserInclude<ExtArgs> | null
97616
+ where?: UserWhereInput
97617
+ }
97618
+
97619
+ /**
97620
+ * BrandContract without action
97621
+ */
97622
+ export type BrandContractDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97623
+ /**
97624
+ * Select specific fields to fetch from the BrandContract
97625
+ */
97626
+ select?: BrandContractSelect<ExtArgs> | null
97627
+ /**
97628
+ * Choose, which related nodes to fetch as well
97629
+ */
97630
+ include?: BrandContractInclude<ExtArgs> | null
97631
+ }
97632
+
97633
+
97634
+ /**
97635
+ * Model EmailCredentials
97636
+ */
97637
+
97638
+ export type AggregateEmailCredentials = {
97639
+ _count: EmailCredentialsCountAggregateOutputType | null
97640
+ _avg: EmailCredentialsAvgAggregateOutputType | null
97641
+ _sum: EmailCredentialsSumAggregateOutputType | null
97642
+ _min: EmailCredentialsMinAggregateOutputType | null
97643
+ _max: EmailCredentialsMaxAggregateOutputType | null
97644
+ }
97645
+
97646
+ export type EmailCredentialsAvgAggregateOutputType = {
97647
+ id: number | null
97648
+ smtpPort: number | null
97649
+ imapPort: number | null
97650
+ brandId: number | null
97651
+ }
97652
+
97653
+ export type EmailCredentialsSumAggregateOutputType = {
97654
+ id: number | null
97655
+ smtpPort: number | null
97656
+ imapPort: number | null
97657
+ brandId: number | null
97658
+ }
97659
+
97660
+ export type EmailCredentialsMinAggregateOutputType = {
97661
+ id: number | null
97662
+ smtpHost: string | null
97663
+ smtpUser: string | null
97664
+ smtpPassword: string | null
97665
+ smtpSenderName: string | null
97666
+ smtpSenderEmail: string | null
97667
+ smtpReplyToEmail: string | null
97668
+ smtpPort: number | null
97669
+ imapHost: string | null
97670
+ imapUser: string | null
97671
+ imapPassword: string | null
97672
+ imapPort: number | null
97673
+ imapIsSecure: boolean | null
97674
+ brandId: number | null
97675
+ }
97676
+
97677
+ export type EmailCredentialsMaxAggregateOutputType = {
97678
+ id: number | null
97679
+ smtpHost: string | null
97680
+ smtpUser: string | null
97681
+ smtpPassword: string | null
97682
+ smtpSenderName: string | null
97683
+ smtpSenderEmail: string | null
97684
+ smtpReplyToEmail: string | null
97685
+ smtpPort: number | null
97686
+ imapHost: string | null
97687
+ imapUser: string | null
97688
+ imapPassword: string | null
97689
+ imapPort: number | null
97690
+ imapIsSecure: boolean | null
97691
+ brandId: number | null
97692
+ }
97693
+
97694
+ export type EmailCredentialsCountAggregateOutputType = {
97695
+ id: number
97696
+ smtpHost: number
97697
+ smtpUser: number
97698
+ smtpPassword: number
97699
+ smtpSenderName: number
97700
+ smtpSenderEmail: number
97701
+ smtpReplyToEmail: number
97702
+ smtpPort: number
97703
+ imapHost: number
97704
+ imapUser: number
97705
+ imapPassword: number
97706
+ imapPort: number
97707
+ imapIsSecure: number
97708
+ metaData: number
97709
+ brandId: number
97710
+ _all: number
97711
+ }
97712
+
97713
+
97714
+ export type EmailCredentialsAvgAggregateInputType = {
97715
+ id?: true
97716
+ smtpPort?: true
97717
+ imapPort?: true
97718
+ brandId?: true
97719
+ }
97720
+
97721
+ export type EmailCredentialsSumAggregateInputType = {
97722
+ id?: true
97723
+ smtpPort?: true
97724
+ imapPort?: true
97725
+ brandId?: true
97726
+ }
97727
+
97728
+ export type EmailCredentialsMinAggregateInputType = {
97729
+ id?: true
97730
+ smtpHost?: true
97731
+ smtpUser?: true
97732
+ smtpPassword?: true
97733
+ smtpSenderName?: true
97734
+ smtpSenderEmail?: true
97735
+ smtpReplyToEmail?: true
97736
+ smtpPort?: true
97737
+ imapHost?: true
97738
+ imapUser?: true
97739
+ imapPassword?: true
97740
+ imapPort?: true
97741
+ imapIsSecure?: true
97742
+ brandId?: true
97743
+ }
97744
+
97745
+ export type EmailCredentialsMaxAggregateInputType = {
97746
+ id?: true
97747
+ smtpHost?: true
97748
+ smtpUser?: true
97749
+ smtpPassword?: true
97750
+ smtpSenderName?: true
97751
+ smtpSenderEmail?: true
97752
+ smtpReplyToEmail?: true
97753
+ smtpPort?: true
97754
+ imapHost?: true
97755
+ imapUser?: true
97756
+ imapPassword?: true
97757
+ imapPort?: true
97758
+ imapIsSecure?: true
97759
+ brandId?: true
97760
+ }
97761
+
97762
+ export type EmailCredentialsCountAggregateInputType = {
97763
+ id?: true
97764
+ smtpHost?: true
97765
+ smtpUser?: true
97766
+ smtpPassword?: true
97767
+ smtpSenderName?: true
97768
+ smtpSenderEmail?: true
97769
+ smtpReplyToEmail?: true
97770
+ smtpPort?: true
97771
+ imapHost?: true
97772
+ imapUser?: true
97773
+ imapPassword?: true
97774
+ imapPort?: true
97775
+ imapIsSecure?: true
97776
+ metaData?: true
97777
+ brandId?: true
97778
+ _all?: true
97779
+ }
97780
+
97781
+ export type EmailCredentialsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97782
+ /**
97783
+ * Filter which EmailCredentials to aggregate.
97784
+ */
97785
+ where?: EmailCredentialsWhereInput
97786
+ /**
97787
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97788
+ *
97789
+ * Determine the order of EmailCredentials to fetch.
97790
+ */
97791
+ orderBy?: EmailCredentialsOrderByWithRelationAndSearchRelevanceInput | EmailCredentialsOrderByWithRelationAndSearchRelevanceInput[]
97792
+ /**
97793
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
97794
+ *
97795
+ * Sets the start position
97796
+ */
97797
+ cursor?: EmailCredentialsWhereUniqueInput
97798
+ /**
97799
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97800
+ *
97801
+ * Take `±n` EmailCredentials from the position of the cursor.
97802
+ */
97803
+ take?: number
97804
+ /**
97805
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97806
+ *
97807
+ * Skip the first `n` EmailCredentials.
97808
+ */
97809
+ skip?: number
97810
+ /**
97811
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
97812
+ *
97813
+ * Count returned EmailCredentials
97814
+ **/
97815
+ _count?: true | EmailCredentialsCountAggregateInputType
97816
+ /**
97817
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
97818
+ *
97819
+ * Select which fields to average
97820
+ **/
97821
+ _avg?: EmailCredentialsAvgAggregateInputType
97822
+ /**
97823
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
97824
+ *
97825
+ * Select which fields to sum
97826
+ **/
97827
+ _sum?: EmailCredentialsSumAggregateInputType
97828
+ /**
97829
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
97830
+ *
97831
+ * Select which fields to find the minimum value
97832
+ **/
97833
+ _min?: EmailCredentialsMinAggregateInputType
97834
+ /**
97835
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
97836
+ *
97837
+ * Select which fields to find the maximum value
97838
+ **/
97839
+ _max?: EmailCredentialsMaxAggregateInputType
97840
+ }
97841
+
97842
+ export type GetEmailCredentialsAggregateType<T extends EmailCredentialsAggregateArgs> = {
97843
+ [P in keyof T & keyof AggregateEmailCredentials]: P extends '_count' | 'count'
97844
+ ? T[P] extends true
97845
+ ? number
97846
+ : GetScalarType<T[P], AggregateEmailCredentials[P]>
97847
+ : GetScalarType<T[P], AggregateEmailCredentials[P]>
97848
+ }
97849
+
97850
+
97851
+
97852
+
97853
+ export type EmailCredentialsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97854
+ where?: EmailCredentialsWhereInput
97855
+ orderBy?: EmailCredentialsOrderByWithAggregationInput | EmailCredentialsOrderByWithAggregationInput[]
97856
+ by: EmailCredentialsScalarFieldEnum[] | EmailCredentialsScalarFieldEnum
97857
+ having?: EmailCredentialsScalarWhereWithAggregatesInput
97858
+ take?: number
97859
+ skip?: number
97860
+ _count?: EmailCredentialsCountAggregateInputType | true
97861
+ _avg?: EmailCredentialsAvgAggregateInputType
97862
+ _sum?: EmailCredentialsSumAggregateInputType
97863
+ _min?: EmailCredentialsMinAggregateInputType
97864
+ _max?: EmailCredentialsMaxAggregateInputType
97865
+ }
97866
+
97867
+ export type EmailCredentialsGroupByOutputType = {
97868
+ id: number
97869
+ smtpHost: string
97870
+ smtpUser: string
97871
+ smtpPassword: string
97872
+ smtpSenderName: string
97873
+ smtpSenderEmail: string
97874
+ smtpReplyToEmail: string
97875
+ smtpPort: number
97876
+ imapHost: string
97877
+ imapUser: string
97878
+ imapPassword: string
97879
+ imapPort: number
97880
+ imapIsSecure: boolean
97881
+ metaData: JsonValue
97882
+ brandId: number
97883
+ _count: EmailCredentialsCountAggregateOutputType | null
97884
+ _avg: EmailCredentialsAvgAggregateOutputType | null
97885
+ _sum: EmailCredentialsSumAggregateOutputType | null
97886
+ _min: EmailCredentialsMinAggregateOutputType | null
97887
+ _max: EmailCredentialsMaxAggregateOutputType | null
97888
+ }
97889
+
97890
+ type GetEmailCredentialsGroupByPayload<T extends EmailCredentialsGroupByArgs> = Prisma.PrismaPromise<
97891
+ Array<
97892
+ PickEnumerable<EmailCredentialsGroupByOutputType, T['by']> &
97893
+ {
97894
+ [P in ((keyof T) & (keyof EmailCredentialsGroupByOutputType))]: P extends '_count'
97895
+ ? T[P] extends boolean
97896
+ ? number
97897
+ : GetScalarType<T[P], EmailCredentialsGroupByOutputType[P]>
97898
+ : GetScalarType<T[P], EmailCredentialsGroupByOutputType[P]>
97899
+ }
97900
+ >
97901
+ >
97902
+
97903
+
97904
+ export type EmailCredentialsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
97905
+ id?: boolean
97906
+ smtpHost?: boolean
97907
+ smtpUser?: boolean
97908
+ smtpPassword?: boolean
97909
+ smtpSenderName?: boolean
97910
+ smtpSenderEmail?: boolean
97911
+ smtpReplyToEmail?: boolean
97912
+ smtpPort?: boolean
97913
+ imapHost?: boolean
97914
+ imapUser?: boolean
97915
+ imapPassword?: boolean
97916
+ imapPort?: boolean
97917
+ imapIsSecure?: boolean
97918
+ metaData?: boolean
97919
+ brandId?: boolean
97920
+ brand?: boolean | BrandDefaultArgs<ExtArgs>
97921
+ sequences?: boolean | EmailCredentials$sequencesArgs<ExtArgs>
97922
+ _count?: boolean | EmailCredentialsCountOutputTypeDefaultArgs<ExtArgs>
97923
+ }, ExtArgs["result"]["emailCredentials"]>
97924
+
97925
+ export type EmailCredentialsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
97926
+ id?: boolean
97927
+ smtpHost?: boolean
97928
+ smtpUser?: boolean
97929
+ smtpPassword?: boolean
97930
+ smtpSenderName?: boolean
97931
+ smtpSenderEmail?: boolean
97932
+ smtpReplyToEmail?: boolean
97933
+ smtpPort?: boolean
97934
+ imapHost?: boolean
97935
+ imapUser?: boolean
97936
+ imapPassword?: boolean
97937
+ imapPort?: boolean
97938
+ imapIsSecure?: boolean
97939
+ metaData?: boolean
97940
+ brandId?: boolean
97941
+ brand?: boolean | BrandDefaultArgs<ExtArgs>
97942
+ }, ExtArgs["result"]["emailCredentials"]>
97943
+
97944
+ export type EmailCredentialsSelectScalar = {
97945
+ id?: boolean
97946
+ smtpHost?: boolean
97947
+ smtpUser?: boolean
97948
+ smtpPassword?: boolean
97949
+ smtpSenderName?: boolean
97950
+ smtpSenderEmail?: boolean
97951
+ smtpReplyToEmail?: boolean
97952
+ smtpPort?: boolean
97953
+ imapHost?: boolean
97954
+ imapUser?: boolean
97955
+ imapPassword?: boolean
97956
+ imapPort?: boolean
97957
+ imapIsSecure?: boolean
97958
+ metaData?: boolean
97959
+ brandId?: boolean
97960
+ }
97961
+
97962
+ export type EmailCredentialsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97963
+ brand?: boolean | BrandDefaultArgs<ExtArgs>
97964
+ sequences?: boolean | EmailCredentials$sequencesArgs<ExtArgs>
97965
+ _count?: boolean | EmailCredentialsCountOutputTypeDefaultArgs<ExtArgs>
97966
+ }
97967
+ export type EmailCredentialsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97968
+ brand?: boolean | BrandDefaultArgs<ExtArgs>
97969
+ }
97970
+
97971
+ export type $EmailCredentialsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97972
+ name: "EmailCredentials"
97973
+ objects: {
97974
+ brand: Prisma.$BrandPayload<ExtArgs>
97975
+ sequences: Prisma.$SequencePayload<ExtArgs>[]
97976
+ }
97977
+ scalars: $Extensions.GetPayloadResult<{
97978
+ id: number
97979
+ smtpHost: string
97980
+ smtpUser: string
97981
+ smtpPassword: string
97982
+ smtpSenderName: string
97983
+ smtpSenderEmail: string
97984
+ smtpReplyToEmail: string
97985
+ smtpPort: number
97986
+ imapHost: string
97987
+ imapUser: string
97988
+ imapPassword: string
97989
+ imapPort: number
97990
+ imapIsSecure: boolean
97991
+ metaData: Prisma.JsonValue
97992
+ brandId: number
97993
+ }, ExtArgs["result"]["emailCredentials"]>
97994
+ composites: {}
97995
+ }
97996
+
97997
+ type EmailCredentialsGetPayload<S extends boolean | null | undefined | EmailCredentialsDefaultArgs> = $Result.GetResult<Prisma.$EmailCredentialsPayload, S>
97998
+
97999
+ type EmailCredentialsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
98000
+ Omit<EmailCredentialsFindManyArgs, 'select' | 'include' | 'distinct'> & {
98001
+ select?: EmailCredentialsCountAggregateInputType | true
98002
+ }
98003
+
98004
+ export interface EmailCredentialsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
98005
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EmailCredentials'], meta: { name: 'EmailCredentials' } }
98006
+ /**
98007
+ * Find zero or one EmailCredentials that matches the filter.
98008
+ * @param {EmailCredentialsFindUniqueArgs} args - Arguments to find a EmailCredentials
98009
+ * @example
98010
+ * // Get one EmailCredentials
98011
+ * const emailCredentials = await prisma.emailCredentials.findUnique({
98012
+ * where: {
98013
+ * // ... provide filter here
98014
+ * }
98015
+ * })
98016
+ **/
98017
+ findUnique<T extends EmailCredentialsFindUniqueArgs<ExtArgs>>(
98018
+ args: SelectSubset<T, EmailCredentialsFindUniqueArgs<ExtArgs>>
98019
+ ): Prisma__EmailCredentialsClient<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
98020
+
98021
+ /**
98022
+ * Find one EmailCredentials that matches the filter or throw an error with `error.code='P2025'`
98023
+ * if no matches were found.
98024
+ * @param {EmailCredentialsFindUniqueOrThrowArgs} args - Arguments to find a EmailCredentials
98025
+ * @example
98026
+ * // Get one EmailCredentials
98027
+ * const emailCredentials = await prisma.emailCredentials.findUniqueOrThrow({
98028
+ * where: {
98029
+ * // ... provide filter here
98030
+ * }
98031
+ * })
98032
+ **/
98033
+ findUniqueOrThrow<T extends EmailCredentialsFindUniqueOrThrowArgs<ExtArgs>>(
98034
+ args?: SelectSubset<T, EmailCredentialsFindUniqueOrThrowArgs<ExtArgs>>
98035
+ ): Prisma__EmailCredentialsClient<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
98036
+
98037
+ /**
98038
+ * Find the first EmailCredentials that matches the filter.
98039
+ * Note, that providing `undefined` is treated as the value not being there.
98040
+ * Read more here: https://pris.ly/d/null-undefined
98041
+ * @param {EmailCredentialsFindFirstArgs} args - Arguments to find a EmailCredentials
98042
+ * @example
98043
+ * // Get one EmailCredentials
98044
+ * const emailCredentials = await prisma.emailCredentials.findFirst({
98045
+ * where: {
98046
+ * // ... provide filter here
98047
+ * }
98048
+ * })
98049
+ **/
98050
+ findFirst<T extends EmailCredentialsFindFirstArgs<ExtArgs>>(
98051
+ args?: SelectSubset<T, EmailCredentialsFindFirstArgs<ExtArgs>>
98052
+ ): Prisma__EmailCredentialsClient<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
98053
+
98054
+ /**
98055
+ * Find the first EmailCredentials that matches the filter or
98056
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
98057
+ * Note, that providing `undefined` is treated as the value not being there.
98058
+ * Read more here: https://pris.ly/d/null-undefined
98059
+ * @param {EmailCredentialsFindFirstOrThrowArgs} args - Arguments to find a EmailCredentials
98060
+ * @example
98061
+ * // Get one EmailCredentials
98062
+ * const emailCredentials = await prisma.emailCredentials.findFirstOrThrow({
98063
+ * where: {
98064
+ * // ... provide filter here
98065
+ * }
98066
+ * })
98067
+ **/
98068
+ findFirstOrThrow<T extends EmailCredentialsFindFirstOrThrowArgs<ExtArgs>>(
98069
+ args?: SelectSubset<T, EmailCredentialsFindFirstOrThrowArgs<ExtArgs>>
98070
+ ): Prisma__EmailCredentialsClient<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
98071
+
98072
+ /**
98073
+ * Find zero or more EmailCredentials that matches the filter.
98074
+ * Note, that providing `undefined` is treated as the value not being there.
98075
+ * Read more here: https://pris.ly/d/null-undefined
98076
+ * @param {EmailCredentialsFindManyArgs} args - Arguments to filter and select certain fields only.
98077
+ * @example
98078
+ * // Get all EmailCredentials
98079
+ * const emailCredentials = await prisma.emailCredentials.findMany()
98080
+ *
98081
+ * // Get first 10 EmailCredentials
98082
+ * const emailCredentials = await prisma.emailCredentials.findMany({ take: 10 })
98083
+ *
98084
+ * // Only select the `id`
98085
+ * const emailCredentialsWithIdOnly = await prisma.emailCredentials.findMany({ select: { id: true } })
98086
+ *
98087
+ **/
98088
+ findMany<T extends EmailCredentialsFindManyArgs<ExtArgs>>(
98089
+ args?: SelectSubset<T, EmailCredentialsFindManyArgs<ExtArgs>>
98090
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'findMany'>>
98091
+
98092
+ /**
98093
+ * Create a EmailCredentials.
98094
+ * @param {EmailCredentialsCreateArgs} args - Arguments to create a EmailCredentials.
98095
+ * @example
98096
+ * // Create one EmailCredentials
98097
+ * const EmailCredentials = await prisma.emailCredentials.create({
98098
+ * data: {
98099
+ * // ... data to create a EmailCredentials
98100
+ * }
98101
+ * })
98102
+ *
98103
+ **/
98104
+ create<T extends EmailCredentialsCreateArgs<ExtArgs>>(
98105
+ args: SelectSubset<T, EmailCredentialsCreateArgs<ExtArgs>>
98106
+ ): Prisma__EmailCredentialsClient<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
98107
+
98108
+ /**
98109
+ * Create many EmailCredentials.
98110
+ * @param {EmailCredentialsCreateManyArgs} args - Arguments to create many EmailCredentials.
98111
+ * @example
98112
+ * // Create many EmailCredentials
98113
+ * const emailCredentials = await prisma.emailCredentials.createMany({
98114
+ * data: [
98115
+ * // ... provide data here
98116
+ * ]
98117
+ * })
98118
+ *
98119
+ **/
98120
+ createMany<T extends EmailCredentialsCreateManyArgs<ExtArgs>>(
98121
+ args?: SelectSubset<T, EmailCredentialsCreateManyArgs<ExtArgs>>
98122
+ ): Prisma.PrismaPromise<BatchPayload>
98123
+
98124
+ /**
98125
+ * Create many EmailCredentials and returns the data saved in the database.
98126
+ * @param {EmailCredentialsCreateManyAndReturnArgs} args - Arguments to create many EmailCredentials.
98127
+ * @example
98128
+ * // Create many EmailCredentials
98129
+ * const emailCredentials = await prisma.emailCredentials.createManyAndReturn({
98130
+ * data: [
98131
+ * // ... provide data here
98132
+ * ]
98133
+ * })
98134
+ *
98135
+ * // Create many EmailCredentials and only return the `id`
98136
+ * const emailCredentialsWithIdOnly = await prisma.emailCredentials.createManyAndReturn({
98137
+ * select: { id: true },
98138
+ * data: [
98139
+ * // ... provide data here
98140
+ * ]
98141
+ * })
98142
+ * Note, that providing `undefined` is treated as the value not being there.
98143
+ * Read more here: https://pris.ly/d/null-undefined
98144
+ *
98145
+ **/
98146
+ createManyAndReturn<T extends EmailCredentialsCreateManyAndReturnArgs<ExtArgs>>(
98147
+ args?: SelectSubset<T, EmailCredentialsCreateManyAndReturnArgs<ExtArgs>>
98148
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'createManyAndReturn'>>
98149
+
98150
+ /**
98151
+ * Delete a EmailCredentials.
98152
+ * @param {EmailCredentialsDeleteArgs} args - Arguments to delete one EmailCredentials.
98153
+ * @example
98154
+ * // Delete one EmailCredentials
98155
+ * const EmailCredentials = await prisma.emailCredentials.delete({
98156
+ * where: {
98157
+ * // ... filter to delete one EmailCredentials
98158
+ * }
98159
+ * })
98160
+ *
98161
+ **/
98162
+ delete<T extends EmailCredentialsDeleteArgs<ExtArgs>>(
98163
+ args: SelectSubset<T, EmailCredentialsDeleteArgs<ExtArgs>>
98164
+ ): Prisma__EmailCredentialsClient<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
98165
+
98166
+ /**
98167
+ * Update one EmailCredentials.
98168
+ * @param {EmailCredentialsUpdateArgs} args - Arguments to update one EmailCredentials.
98169
+ * @example
98170
+ * // Update one EmailCredentials
98171
+ * const emailCredentials = await prisma.emailCredentials.update({
98172
+ * where: {
98173
+ * // ... provide filter here
98174
+ * },
98175
+ * data: {
98176
+ * // ... provide data here
98177
+ * }
98178
+ * })
98179
+ *
98180
+ **/
98181
+ update<T extends EmailCredentialsUpdateArgs<ExtArgs>>(
98182
+ args: SelectSubset<T, EmailCredentialsUpdateArgs<ExtArgs>>
98183
+ ): Prisma__EmailCredentialsClient<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
98184
+
98185
+ /**
98186
+ * Delete zero or more EmailCredentials.
98187
+ * @param {EmailCredentialsDeleteManyArgs} args - Arguments to filter EmailCredentials to delete.
98188
+ * @example
98189
+ * // Delete a few EmailCredentials
98190
+ * const { count } = await prisma.emailCredentials.deleteMany({
98191
+ * where: {
98192
+ * // ... provide filter here
98193
+ * }
98194
+ * })
98195
+ *
98196
+ **/
98197
+ deleteMany<T extends EmailCredentialsDeleteManyArgs<ExtArgs>>(
98198
+ args?: SelectSubset<T, EmailCredentialsDeleteManyArgs<ExtArgs>>
98199
+ ): Prisma.PrismaPromise<BatchPayload>
98200
+
98201
+ /**
98202
+ * Update zero or more EmailCredentials.
98203
+ * Note, that providing `undefined` is treated as the value not being there.
98204
+ * Read more here: https://pris.ly/d/null-undefined
98205
+ * @param {EmailCredentialsUpdateManyArgs} args - Arguments to update one or more rows.
98206
+ * @example
98207
+ * // Update many EmailCredentials
98208
+ * const emailCredentials = await prisma.emailCredentials.updateMany({
98209
+ * where: {
98210
+ * // ... provide filter here
98211
+ * },
98212
+ * data: {
98213
+ * // ... provide data here
98214
+ * }
98215
+ * })
98216
+ *
98217
+ **/
98218
+ updateMany<T extends EmailCredentialsUpdateManyArgs<ExtArgs>>(
98219
+ args: SelectSubset<T, EmailCredentialsUpdateManyArgs<ExtArgs>>
98220
+ ): Prisma.PrismaPromise<BatchPayload>
98221
+
98222
+ /**
98223
+ * Create or update one EmailCredentials.
98224
+ * @param {EmailCredentialsUpsertArgs} args - Arguments to update or create a EmailCredentials.
98225
+ * @example
98226
+ * // Update or create a EmailCredentials
98227
+ * const emailCredentials = await prisma.emailCredentials.upsert({
98228
+ * create: {
98229
+ * // ... data to create a EmailCredentials
98230
+ * },
98231
+ * update: {
98232
+ * // ... in case it already exists, update
98233
+ * },
98234
+ * where: {
98235
+ * // ... the filter for the EmailCredentials we want to update
98236
+ * }
98237
+ * })
98238
+ **/
98239
+ upsert<T extends EmailCredentialsUpsertArgs<ExtArgs>>(
98240
+ args: SelectSubset<T, EmailCredentialsUpsertArgs<ExtArgs>>
98241
+ ): Prisma__EmailCredentialsClient<$Result.GetResult<Prisma.$EmailCredentialsPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
98242
+
98243
+ /**
98244
+ * Count the number of EmailCredentials.
98245
+ * Note, that providing `undefined` is treated as the value not being there.
98246
+ * Read more here: https://pris.ly/d/null-undefined
98247
+ * @param {EmailCredentialsCountArgs} args - Arguments to filter EmailCredentials to count.
98248
+ * @example
98249
+ * // Count the number of EmailCredentials
98250
+ * const count = await prisma.emailCredentials.count({
98251
+ * where: {
98252
+ * // ... the filter for the EmailCredentials we want to count
98253
+ * }
98254
+ * })
98255
+ **/
98256
+ count<T extends EmailCredentialsCountArgs>(
98257
+ args?: Subset<T, EmailCredentialsCountArgs>,
98258
+ ): Prisma.PrismaPromise<
98259
+ T extends $Utils.Record<'select', any>
98260
+ ? T['select'] extends true
98261
+ ? number
98262
+ : GetScalarType<T['select'], EmailCredentialsCountAggregateOutputType>
98263
+ : number
98264
+ >
98265
+
98266
+ /**
98267
+ * Allows you to perform aggregations operations on a EmailCredentials.
98268
+ * Note, that providing `undefined` is treated as the value not being there.
98269
+ * Read more here: https://pris.ly/d/null-undefined
98270
+ * @param {EmailCredentialsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
98271
+ * @example
98272
+ * // Ordered by age ascending
98273
+ * // Where email contains prisma.io
98274
+ * // Limited to the 10 users
98275
+ * const aggregations = await prisma.user.aggregate({
98276
+ * _avg: {
98277
+ * age: true,
98278
+ * },
98279
+ * where: {
98280
+ * email: {
98281
+ * contains: "prisma.io",
98282
+ * },
98283
+ * },
98284
+ * orderBy: {
98285
+ * age: "asc",
98286
+ * },
98287
+ * take: 10,
98288
+ * })
98289
+ **/
98290
+ aggregate<T extends EmailCredentialsAggregateArgs>(args: Subset<T, EmailCredentialsAggregateArgs>): Prisma.PrismaPromise<GetEmailCredentialsAggregateType<T>>
98291
+
98292
+ /**
98293
+ * Group by EmailCredentials.
98294
+ * Note, that providing `undefined` is treated as the value not being there.
98295
+ * Read more here: https://pris.ly/d/null-undefined
98296
+ * @param {EmailCredentialsGroupByArgs} args - Group by arguments.
98297
+ * @example
98298
+ * // Group by city, order by createdAt, get count
98299
+ * const result = await prisma.user.groupBy({
98300
+ * by: ['city', 'createdAt'],
98301
+ * orderBy: {
98302
+ * createdAt: true
98303
+ * },
98304
+ * _count: {
98305
+ * _all: true
98306
+ * },
98307
+ * })
98308
+ *
98309
+ **/
98310
+ groupBy<
98311
+ T extends EmailCredentialsGroupByArgs,
98312
+ HasSelectOrTake extends Or<
98313
+ Extends<'skip', Keys<T>>,
98314
+ Extends<'take', Keys<T>>
98315
+ >,
98316
+ OrderByArg extends True extends HasSelectOrTake
98317
+ ? { orderBy: EmailCredentialsGroupByArgs['orderBy'] }
98318
+ : { orderBy?: EmailCredentialsGroupByArgs['orderBy'] },
98319
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
98320
+ ByFields extends MaybeTupleToUnion<T['by']>,
98321
+ ByValid extends Has<ByFields, OrderFields>,
98322
+ HavingFields extends GetHavingFields<T['having']>,
98323
+ HavingValid extends Has<ByFields, HavingFields>,
98324
+ ByEmpty extends T['by'] extends never[] ? True : False,
98325
+ InputErrors extends ByEmpty extends True
98326
+ ? `Error: "by" must not be empty.`
98327
+ : HavingValid extends False
98328
+ ? {
98329
+ [P in HavingFields]: P extends ByFields
98330
+ ? never
98331
+ : P extends string
98332
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
98333
+ : [
98334
+ Error,
98335
+ 'Field ',
98336
+ P,
98337
+ ` in "having" needs to be provided in "by"`,
98338
+ ]
98339
+ }[HavingFields]
98340
+ : 'take' extends Keys<T>
98341
+ ? 'orderBy' extends Keys<T>
98342
+ ? ByValid extends True
98343
+ ? {}
98344
+ : {
98345
+ [P in OrderFields]: P extends ByFields
98346
+ ? never
98347
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
98348
+ }[OrderFields]
98349
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
98350
+ : 'skip' extends Keys<T>
98351
+ ? 'orderBy' extends Keys<T>
98352
+ ? ByValid extends True
98353
+ ? {}
98354
+ : {
98355
+ [P in OrderFields]: P extends ByFields
98356
+ ? never
98357
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
98358
+ }[OrderFields]
98359
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
98360
+ : ByValid extends True
98361
+ ? {}
98362
+ : {
98363
+ [P in OrderFields]: P extends ByFields
98364
+ ? never
98365
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
98366
+ }[OrderFields]
98367
+ >(args: SubsetIntersection<T, EmailCredentialsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEmailCredentialsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
98368
+ /**
98369
+ * Fields of the EmailCredentials model
98370
+ */
98371
+ readonly fields: EmailCredentialsFieldRefs;
98372
+ }
98373
+
98374
+ /**
98375
+ * The delegate class that acts as a "Promise-like" for EmailCredentials.
98376
+ * Why is this prefixed with `Prisma__`?
98377
+ * Because we want to prevent naming conflicts as mentioned in
98378
+ * https://github.com/prisma/prisma-client-js/issues/707
98379
+ */
98380
+ export interface Prisma__EmailCredentialsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
98381
+ readonly [Symbol.toStringTag]: 'PrismaPromise';
98382
+
98383
+ brand<T extends BrandDefaultArgs<ExtArgs> = {}>(args?: Subset<T, BrandDefaultArgs<ExtArgs>>): Prisma__BrandClient<$Result.GetResult<Prisma.$BrandPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
98384
+
98385
+ sequences<T extends EmailCredentials$sequencesArgs<ExtArgs> = {}>(args?: Subset<T, EmailCredentials$sequencesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SequencePayload<ExtArgs>, T, 'findMany'> | Null>;
98386
+
98387
+ /**
98388
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
98389
+ * @param onfulfilled The callback to execute when the Promise is resolved.
98390
+ * @param onrejected The callback to execute when the Promise is rejected.
98391
+ * @returns A Promise for the completion of which ever callback is executed.
98392
+ */
98393
+ 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>;
98394
+ /**
98395
+ * Attaches a callback for only the rejection of the Promise.
98396
+ * @param onrejected The callback to execute when the Promise is rejected.
98397
+ * @returns A Promise for the completion of the callback.
98398
+ */
98399
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
98400
+ /**
98401
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
98402
+ * resolved value cannot be modified from the callback.
98403
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
98404
+ * @returns A Promise for the completion of the callback.
98405
+ */
98406
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
98407
+ }
98408
+
98409
+
98410
+
98411
+ /**
98412
+ * Fields of the EmailCredentials model
97100
98413
  */
97101
- interface BrandContractFieldRefs {
97102
- readonly id: FieldRef<"BrandContract", 'Int'>
97103
- readonly brandId: FieldRef<"BrandContract", 'Int'>
97104
- readonly createdAt: FieldRef<"BrandContract", 'DateTime'>
97105
- readonly updatedAt: FieldRef<"BrandContract", 'DateTime'>
97106
- readonly file: FieldRef<"BrandContract", 'String'>
97107
- readonly contractType: FieldRef<"BrandContract", 'String'>
97108
- readonly startDate: FieldRef<"BrandContract", 'DateTime'>
97109
- readonly endDate: FieldRef<"BrandContract", 'DateTime'>
97110
- readonly archivedAt: FieldRef<"BrandContract", 'DateTime'>
97111
- readonly createdByUserId: FieldRef<"BrandContract", 'Int'>
97112
- readonly editedByUserId: FieldRef<"BrandContract", 'Int'>
98414
+ interface EmailCredentialsFieldRefs {
98415
+ readonly id: FieldRef<"EmailCredentials", 'Int'>
98416
+ readonly smtpHost: FieldRef<"EmailCredentials", 'String'>
98417
+ readonly smtpUser: FieldRef<"EmailCredentials", 'String'>
98418
+ readonly smtpPassword: FieldRef<"EmailCredentials", 'String'>
98419
+ readonly smtpSenderName: FieldRef<"EmailCredentials", 'String'>
98420
+ readonly smtpSenderEmail: FieldRef<"EmailCredentials", 'String'>
98421
+ readonly smtpReplyToEmail: FieldRef<"EmailCredentials", 'String'>
98422
+ readonly smtpPort: FieldRef<"EmailCredentials", 'Int'>
98423
+ readonly imapHost: FieldRef<"EmailCredentials", 'String'>
98424
+ readonly imapUser: FieldRef<"EmailCredentials", 'String'>
98425
+ readonly imapPassword: FieldRef<"EmailCredentials", 'String'>
98426
+ readonly imapPort: FieldRef<"EmailCredentials", 'Int'>
98427
+ readonly imapIsSecure: FieldRef<"EmailCredentials", 'Boolean'>
98428
+ readonly metaData: FieldRef<"EmailCredentials", 'Json'>
98429
+ readonly brandId: FieldRef<"EmailCredentials", 'Int'>
97113
98430
  }
97114
98431
 
97115
98432
 
97116
98433
  // Custom InputTypes
97117
98434
  /**
97118
- * BrandContract findUnique
98435
+ * EmailCredentials findUnique
97119
98436
  */
97120
- export type BrandContractFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98437
+ export type EmailCredentialsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97121
98438
  /**
97122
- * Select specific fields to fetch from the BrandContract
98439
+ * Select specific fields to fetch from the EmailCredentials
97123
98440
  */
97124
- select?: BrandContractSelect<ExtArgs> | null
98441
+ select?: EmailCredentialsSelect<ExtArgs> | null
97125
98442
  /**
97126
98443
  * Choose, which related nodes to fetch as well
97127
98444
  */
97128
- include?: BrandContractInclude<ExtArgs> | null
98445
+ include?: EmailCredentialsInclude<ExtArgs> | null
97129
98446
  /**
97130
- * Filter, which BrandContract to fetch.
98447
+ * Filter, which EmailCredentials to fetch.
97131
98448
  */
97132
- where: BrandContractWhereUniqueInput
98449
+ where: EmailCredentialsWhereUniqueInput
97133
98450
  }
97134
98451
 
97135
98452
  /**
97136
- * BrandContract findUniqueOrThrow
98453
+ * EmailCredentials findUniqueOrThrow
97137
98454
  */
97138
- export type BrandContractFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98455
+ export type EmailCredentialsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97139
98456
  /**
97140
- * Select specific fields to fetch from the BrandContract
98457
+ * Select specific fields to fetch from the EmailCredentials
97141
98458
  */
97142
- select?: BrandContractSelect<ExtArgs> | null
98459
+ select?: EmailCredentialsSelect<ExtArgs> | null
97143
98460
  /**
97144
98461
  * Choose, which related nodes to fetch as well
97145
98462
  */
97146
- include?: BrandContractInclude<ExtArgs> | null
98463
+ include?: EmailCredentialsInclude<ExtArgs> | null
97147
98464
  /**
97148
- * Filter, which BrandContract to fetch.
98465
+ * Filter, which EmailCredentials to fetch.
97149
98466
  */
97150
- where: BrandContractWhereUniqueInput
98467
+ where: EmailCredentialsWhereUniqueInput
97151
98468
  }
97152
98469
 
97153
98470
  /**
97154
- * BrandContract findFirst
98471
+ * EmailCredentials findFirst
97155
98472
  */
97156
- export type BrandContractFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98473
+ export type EmailCredentialsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97157
98474
  /**
97158
- * Select specific fields to fetch from the BrandContract
98475
+ * Select specific fields to fetch from the EmailCredentials
97159
98476
  */
97160
- select?: BrandContractSelect<ExtArgs> | null
98477
+ select?: EmailCredentialsSelect<ExtArgs> | null
97161
98478
  /**
97162
98479
  * Choose, which related nodes to fetch as well
97163
98480
  */
97164
- include?: BrandContractInclude<ExtArgs> | null
98481
+ include?: EmailCredentialsInclude<ExtArgs> | null
97165
98482
  /**
97166
- * Filter, which BrandContract to fetch.
98483
+ * Filter, which EmailCredentials to fetch.
97167
98484
  */
97168
- where?: BrandContractWhereInput
98485
+ where?: EmailCredentialsWhereInput
97169
98486
  /**
97170
98487
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97171
98488
  *
97172
- * Determine the order of BrandContracts to fetch.
98489
+ * Determine the order of EmailCredentials to fetch.
97173
98490
  */
97174
- orderBy?: BrandContractOrderByWithRelationAndSearchRelevanceInput | BrandContractOrderByWithRelationAndSearchRelevanceInput[]
98491
+ orderBy?: EmailCredentialsOrderByWithRelationAndSearchRelevanceInput | EmailCredentialsOrderByWithRelationAndSearchRelevanceInput[]
97175
98492
  /**
97176
98493
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
97177
98494
  *
97178
- * Sets the position for searching for BrandContracts.
98495
+ * Sets the position for searching for EmailCredentials.
97179
98496
  */
97180
- cursor?: BrandContractWhereUniqueInput
98497
+ cursor?: EmailCredentialsWhereUniqueInput
97181
98498
  /**
97182
98499
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97183
98500
  *
97184
- * Take `±n` BrandContracts from the position of the cursor.
98501
+ * Take `±n` EmailCredentials from the position of the cursor.
97185
98502
  */
97186
98503
  take?: number
97187
98504
  /**
97188
98505
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97189
98506
  *
97190
- * Skip the first `n` BrandContracts.
98507
+ * Skip the first `n` EmailCredentials.
97191
98508
  */
97192
98509
  skip?: number
97193
98510
  /**
97194
98511
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
97195
98512
  *
97196
- * Filter by unique combinations of BrandContracts.
98513
+ * Filter by unique combinations of EmailCredentials.
97197
98514
  */
97198
- distinct?: BrandContractScalarFieldEnum | BrandContractScalarFieldEnum[]
98515
+ distinct?: EmailCredentialsScalarFieldEnum | EmailCredentialsScalarFieldEnum[]
97199
98516
  }
97200
98517
 
97201
98518
  /**
97202
- * BrandContract findFirstOrThrow
98519
+ * EmailCredentials findFirstOrThrow
97203
98520
  */
97204
- export type BrandContractFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98521
+ export type EmailCredentialsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97205
98522
  /**
97206
- * Select specific fields to fetch from the BrandContract
98523
+ * Select specific fields to fetch from the EmailCredentials
97207
98524
  */
97208
- select?: BrandContractSelect<ExtArgs> | null
98525
+ select?: EmailCredentialsSelect<ExtArgs> | null
97209
98526
  /**
97210
98527
  * Choose, which related nodes to fetch as well
97211
98528
  */
97212
- include?: BrandContractInclude<ExtArgs> | null
98529
+ include?: EmailCredentialsInclude<ExtArgs> | null
97213
98530
  /**
97214
- * Filter, which BrandContract to fetch.
98531
+ * Filter, which EmailCredentials to fetch.
97215
98532
  */
97216
- where?: BrandContractWhereInput
98533
+ where?: EmailCredentialsWhereInput
97217
98534
  /**
97218
98535
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97219
98536
  *
97220
- * Determine the order of BrandContracts to fetch.
98537
+ * Determine the order of EmailCredentials to fetch.
97221
98538
  */
97222
- orderBy?: BrandContractOrderByWithRelationAndSearchRelevanceInput | BrandContractOrderByWithRelationAndSearchRelevanceInput[]
98539
+ orderBy?: EmailCredentialsOrderByWithRelationAndSearchRelevanceInput | EmailCredentialsOrderByWithRelationAndSearchRelevanceInput[]
97223
98540
  /**
97224
98541
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
97225
98542
  *
97226
- * Sets the position for searching for BrandContracts.
98543
+ * Sets the position for searching for EmailCredentials.
97227
98544
  */
97228
- cursor?: BrandContractWhereUniqueInput
98545
+ cursor?: EmailCredentialsWhereUniqueInput
97229
98546
  /**
97230
98547
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97231
98548
  *
97232
- * Take `±n` BrandContracts from the position of the cursor.
98549
+ * Take `±n` EmailCredentials from the position of the cursor.
97233
98550
  */
97234
98551
  take?: number
97235
98552
  /**
97236
98553
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97237
98554
  *
97238
- * Skip the first `n` BrandContracts.
98555
+ * Skip the first `n` EmailCredentials.
97239
98556
  */
97240
98557
  skip?: number
97241
98558
  /**
97242
98559
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
97243
98560
  *
97244
- * Filter by unique combinations of BrandContracts.
98561
+ * Filter by unique combinations of EmailCredentials.
97245
98562
  */
97246
- distinct?: BrandContractScalarFieldEnum | BrandContractScalarFieldEnum[]
98563
+ distinct?: EmailCredentialsScalarFieldEnum | EmailCredentialsScalarFieldEnum[]
97247
98564
  }
97248
98565
 
97249
98566
  /**
97250
- * BrandContract findMany
98567
+ * EmailCredentials findMany
97251
98568
  */
97252
- export type BrandContractFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98569
+ export type EmailCredentialsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97253
98570
  /**
97254
- * Select specific fields to fetch from the BrandContract
98571
+ * Select specific fields to fetch from the EmailCredentials
97255
98572
  */
97256
- select?: BrandContractSelect<ExtArgs> | null
98573
+ select?: EmailCredentialsSelect<ExtArgs> | null
97257
98574
  /**
97258
98575
  * Choose, which related nodes to fetch as well
97259
98576
  */
97260
- include?: BrandContractInclude<ExtArgs> | null
98577
+ include?: EmailCredentialsInclude<ExtArgs> | null
97261
98578
  /**
97262
- * Filter, which BrandContracts to fetch.
98579
+ * Filter, which EmailCredentials to fetch.
97263
98580
  */
97264
- where?: BrandContractWhereInput
98581
+ where?: EmailCredentialsWhereInput
97265
98582
  /**
97266
98583
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97267
98584
  *
97268
- * Determine the order of BrandContracts to fetch.
98585
+ * Determine the order of EmailCredentials to fetch.
97269
98586
  */
97270
- orderBy?: BrandContractOrderByWithRelationAndSearchRelevanceInput | BrandContractOrderByWithRelationAndSearchRelevanceInput[]
98587
+ orderBy?: EmailCredentialsOrderByWithRelationAndSearchRelevanceInput | EmailCredentialsOrderByWithRelationAndSearchRelevanceInput[]
97271
98588
  /**
97272
98589
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
97273
98590
  *
97274
- * Sets the position for listing BrandContracts.
98591
+ * Sets the position for listing EmailCredentials.
97275
98592
  */
97276
- cursor?: BrandContractWhereUniqueInput
98593
+ cursor?: EmailCredentialsWhereUniqueInput
97277
98594
  /**
97278
98595
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97279
98596
  *
97280
- * Take `±n` BrandContracts from the position of the cursor.
98597
+ * Take `±n` EmailCredentials from the position of the cursor.
97281
98598
  */
97282
98599
  take?: number
97283
98600
  /**
97284
98601
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97285
98602
  *
97286
- * Skip the first `n` BrandContracts.
98603
+ * Skip the first `n` EmailCredentials.
97287
98604
  */
97288
98605
  skip?: number
97289
- distinct?: BrandContractScalarFieldEnum | BrandContractScalarFieldEnum[]
98606
+ distinct?: EmailCredentialsScalarFieldEnum | EmailCredentialsScalarFieldEnum[]
97290
98607
  }
97291
98608
 
97292
98609
  /**
97293
- * BrandContract create
98610
+ * EmailCredentials create
97294
98611
  */
97295
- export type BrandContractCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98612
+ export type EmailCredentialsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97296
98613
  /**
97297
- * Select specific fields to fetch from the BrandContract
98614
+ * Select specific fields to fetch from the EmailCredentials
97298
98615
  */
97299
- select?: BrandContractSelect<ExtArgs> | null
98616
+ select?: EmailCredentialsSelect<ExtArgs> | null
97300
98617
  /**
97301
98618
  * Choose, which related nodes to fetch as well
97302
98619
  */
97303
- include?: BrandContractInclude<ExtArgs> | null
98620
+ include?: EmailCredentialsInclude<ExtArgs> | null
97304
98621
  /**
97305
- * The data needed to create a BrandContract.
98622
+ * The data needed to create a EmailCredentials.
97306
98623
  */
97307
- data: XOR<BrandContractCreateInput, BrandContractUncheckedCreateInput>
98624
+ data: XOR<EmailCredentialsCreateInput, EmailCredentialsUncheckedCreateInput>
97308
98625
  }
97309
98626
 
97310
98627
  /**
97311
- * BrandContract createMany
98628
+ * EmailCredentials createMany
97312
98629
  */
97313
- export type BrandContractCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98630
+ export type EmailCredentialsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97314
98631
  /**
97315
- * The data used to create many BrandContracts.
98632
+ * The data used to create many EmailCredentials.
97316
98633
  */
97317
- data: BrandContractCreateManyInput | BrandContractCreateManyInput[]
98634
+ data: EmailCredentialsCreateManyInput | EmailCredentialsCreateManyInput[]
97318
98635
  skipDuplicates?: boolean
97319
98636
  }
97320
98637
 
97321
98638
  /**
97322
- * BrandContract createManyAndReturn
98639
+ * EmailCredentials createManyAndReturn
97323
98640
  */
97324
- export type BrandContractCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98641
+ export type EmailCredentialsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97325
98642
  /**
97326
- * Select specific fields to fetch from the BrandContract
98643
+ * Select specific fields to fetch from the EmailCredentials
97327
98644
  */
97328
- select?: BrandContractSelectCreateManyAndReturn<ExtArgs> | null
98645
+ select?: EmailCredentialsSelectCreateManyAndReturn<ExtArgs> | null
97329
98646
  /**
97330
- * The data used to create many BrandContracts.
98647
+ * The data used to create many EmailCredentials.
97331
98648
  */
97332
- data: BrandContractCreateManyInput | BrandContractCreateManyInput[]
98649
+ data: EmailCredentialsCreateManyInput | EmailCredentialsCreateManyInput[]
97333
98650
  skipDuplicates?: boolean
97334
98651
  /**
97335
98652
  * Choose, which related nodes to fetch as well
97336
98653
  */
97337
- include?: BrandContractIncludeCreateManyAndReturn<ExtArgs> | null
98654
+ include?: EmailCredentialsIncludeCreateManyAndReturn<ExtArgs> | null
97338
98655
  }
97339
98656
 
97340
98657
  /**
97341
- * BrandContract update
98658
+ * EmailCredentials update
97342
98659
  */
97343
- export type BrandContractUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98660
+ export type EmailCredentialsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97344
98661
  /**
97345
- * Select specific fields to fetch from the BrandContract
98662
+ * Select specific fields to fetch from the EmailCredentials
97346
98663
  */
97347
- select?: BrandContractSelect<ExtArgs> | null
98664
+ select?: EmailCredentialsSelect<ExtArgs> | null
97348
98665
  /**
97349
98666
  * Choose, which related nodes to fetch as well
97350
98667
  */
97351
- include?: BrandContractInclude<ExtArgs> | null
98668
+ include?: EmailCredentialsInclude<ExtArgs> | null
97352
98669
  /**
97353
- * The data needed to update a BrandContract.
98670
+ * The data needed to update a EmailCredentials.
97354
98671
  */
97355
- data: XOR<BrandContractUpdateInput, BrandContractUncheckedUpdateInput>
98672
+ data: XOR<EmailCredentialsUpdateInput, EmailCredentialsUncheckedUpdateInput>
97356
98673
  /**
97357
- * Choose, which BrandContract to update.
98674
+ * Choose, which EmailCredentials to update.
97358
98675
  */
97359
- where: BrandContractWhereUniqueInput
98676
+ where: EmailCredentialsWhereUniqueInput
97360
98677
  }
97361
98678
 
97362
98679
  /**
97363
- * BrandContract updateMany
98680
+ * EmailCredentials updateMany
97364
98681
  */
97365
- export type BrandContractUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98682
+ export type EmailCredentialsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97366
98683
  /**
97367
- * The data used to update BrandContracts.
98684
+ * The data used to update EmailCredentials.
97368
98685
  */
97369
- data: XOR<BrandContractUpdateManyMutationInput, BrandContractUncheckedUpdateManyInput>
98686
+ data: XOR<EmailCredentialsUpdateManyMutationInput, EmailCredentialsUncheckedUpdateManyInput>
97370
98687
  /**
97371
- * Filter which BrandContracts to update
98688
+ * Filter which EmailCredentials to update
97372
98689
  */
97373
- where?: BrandContractWhereInput
98690
+ where?: EmailCredentialsWhereInput
97374
98691
  }
97375
98692
 
97376
98693
  /**
97377
- * BrandContract upsert
98694
+ * EmailCredentials upsert
97378
98695
  */
97379
- export type BrandContractUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98696
+ export type EmailCredentialsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97380
98697
  /**
97381
- * Select specific fields to fetch from the BrandContract
98698
+ * Select specific fields to fetch from the EmailCredentials
97382
98699
  */
97383
- select?: BrandContractSelect<ExtArgs> | null
98700
+ select?: EmailCredentialsSelect<ExtArgs> | null
97384
98701
  /**
97385
98702
  * Choose, which related nodes to fetch as well
97386
98703
  */
97387
- include?: BrandContractInclude<ExtArgs> | null
98704
+ include?: EmailCredentialsInclude<ExtArgs> | null
97388
98705
  /**
97389
- * The filter to search for the BrandContract to update in case it exists.
98706
+ * The filter to search for the EmailCredentials to update in case it exists.
97390
98707
  */
97391
- where: BrandContractWhereUniqueInput
98708
+ where: EmailCredentialsWhereUniqueInput
97392
98709
  /**
97393
- * In case the BrandContract found by the `where` argument doesn't exist, create a new BrandContract with this data.
98710
+ * In case the EmailCredentials found by the `where` argument doesn't exist, create a new EmailCredentials with this data.
97394
98711
  */
97395
- create: XOR<BrandContractCreateInput, BrandContractUncheckedCreateInput>
98712
+ create: XOR<EmailCredentialsCreateInput, EmailCredentialsUncheckedCreateInput>
97396
98713
  /**
97397
- * In case the BrandContract was found with the provided `where` argument, update it with this data.
98714
+ * In case the EmailCredentials was found with the provided `where` argument, update it with this data.
97398
98715
  */
97399
- update: XOR<BrandContractUpdateInput, BrandContractUncheckedUpdateInput>
98716
+ update: XOR<EmailCredentialsUpdateInput, EmailCredentialsUncheckedUpdateInput>
97400
98717
  }
97401
98718
 
97402
98719
  /**
97403
- * BrandContract delete
98720
+ * EmailCredentials delete
97404
98721
  */
97405
- export type BrandContractDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98722
+ export type EmailCredentialsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97406
98723
  /**
97407
- * Select specific fields to fetch from the BrandContract
98724
+ * Select specific fields to fetch from the EmailCredentials
97408
98725
  */
97409
- select?: BrandContractSelect<ExtArgs> | null
98726
+ select?: EmailCredentialsSelect<ExtArgs> | null
97410
98727
  /**
97411
98728
  * Choose, which related nodes to fetch as well
97412
98729
  */
97413
- include?: BrandContractInclude<ExtArgs> | null
98730
+ include?: EmailCredentialsInclude<ExtArgs> | null
97414
98731
  /**
97415
- * Filter which BrandContract to delete.
98732
+ * Filter which EmailCredentials to delete.
97416
98733
  */
97417
- where: BrandContractWhereUniqueInput
98734
+ where: EmailCredentialsWhereUniqueInput
97418
98735
  }
97419
98736
 
97420
98737
  /**
97421
- * BrandContract deleteMany
98738
+ * EmailCredentials deleteMany
97422
98739
  */
97423
- export type BrandContractDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98740
+ export type EmailCredentialsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97424
98741
  /**
97425
- * Filter which BrandContracts to delete
98742
+ * Filter which EmailCredentials to delete
97426
98743
  */
97427
- where?: BrandContractWhereInput
98744
+ where?: EmailCredentialsWhereInput
97428
98745
  }
97429
98746
 
97430
98747
  /**
97431
- * BrandContract.editedByUser
98748
+ * EmailCredentials.sequences
97432
98749
  */
97433
- export type BrandContract$editedByUserArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98750
+ export type EmailCredentials$sequencesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97434
98751
  /**
97435
- * Select specific fields to fetch from the User
98752
+ * Select specific fields to fetch from the Sequence
97436
98753
  */
97437
- select?: UserSelect<ExtArgs> | null
98754
+ select?: SequenceSelect<ExtArgs> | null
97438
98755
  /**
97439
98756
  * Choose, which related nodes to fetch as well
97440
98757
  */
97441
- include?: UserInclude<ExtArgs> | null
97442
- where?: UserWhereInput
98758
+ include?: SequenceInclude<ExtArgs> | null
98759
+ where?: SequenceWhereInput
98760
+ orderBy?: SequenceOrderByWithRelationAndSearchRelevanceInput | SequenceOrderByWithRelationAndSearchRelevanceInput[]
98761
+ cursor?: SequenceWhereUniqueInput
98762
+ take?: number
98763
+ skip?: number
98764
+ distinct?: SequenceScalarFieldEnum | SequenceScalarFieldEnum[]
97443
98765
  }
97444
98766
 
97445
98767
  /**
97446
- * BrandContract without action
98768
+ * EmailCredentials without action
97447
98769
  */
97448
- export type BrandContractDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
98770
+ export type EmailCredentialsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
97449
98771
  /**
97450
- * Select specific fields to fetch from the BrandContract
98772
+ * Select specific fields to fetch from the EmailCredentials
97451
98773
  */
97452
- select?: BrandContractSelect<ExtArgs> | null
98774
+ select?: EmailCredentialsSelect<ExtArgs> | null
97453
98775
  /**
97454
98776
  * Choose, which related nodes to fetch as well
97455
98777
  */
97456
- include?: BrandContractInclude<ExtArgs> | null
98778
+ include?: EmailCredentialsInclude<ExtArgs> | null
97457
98779
  }
97458
98780
 
97459
98781
 
@@ -98511,7 +99833,8 @@ export namespace Prisma {
98511
99833
  createdAt: 'createdAt',
98512
99834
  completed: 'completed',
98513
99835
  brandId: 'brandId',
98514
- enabled: 'enabled'
99836
+ enabled: 'enabled',
99837
+ emailCredentialsId: 'emailCredentialsId'
98515
99838
  };
98516
99839
 
98517
99840
  export type SequenceScalarFieldEnum = (typeof SequenceScalarFieldEnum)[keyof typeof SequenceScalarFieldEnum]
@@ -98664,6 +99987,27 @@ export namespace Prisma {
98664
99987
  export type BrandContractScalarFieldEnum = (typeof BrandContractScalarFieldEnum)[keyof typeof BrandContractScalarFieldEnum]
98665
99988
 
98666
99989
 
99990
+ export const EmailCredentialsScalarFieldEnum: {
99991
+ id: 'id',
99992
+ smtpHost: 'smtpHost',
99993
+ smtpUser: 'smtpUser',
99994
+ smtpPassword: 'smtpPassword',
99995
+ smtpSenderName: 'smtpSenderName',
99996
+ smtpSenderEmail: 'smtpSenderEmail',
99997
+ smtpReplyToEmail: 'smtpReplyToEmail',
99998
+ smtpPort: 'smtpPort',
99999
+ imapHost: 'imapHost',
100000
+ imapUser: 'imapUser',
100001
+ imapPassword: 'imapPassword',
100002
+ imapPort: 'imapPort',
100003
+ imapIsSecure: 'imapIsSecure',
100004
+ metaData: 'metaData',
100005
+ brandId: 'brandId'
100006
+ };
100007
+
100008
+ export type EmailCredentialsScalarFieldEnum = (typeof EmailCredentialsScalarFieldEnum)[keyof typeof EmailCredentialsScalarFieldEnum]
100009
+
100010
+
98667
100011
  export const SortOrder: {
98668
100012
  asc: 'asc',
98669
100013
  desc: 'desc'
@@ -99278,6 +100622,21 @@ export namespace Prisma {
99278
100622
  export type BrandContractOrderByRelevanceFieldEnum = (typeof BrandContractOrderByRelevanceFieldEnum)[keyof typeof BrandContractOrderByRelevanceFieldEnum]
99279
100623
 
99280
100624
 
100625
+ export const EmailCredentialsOrderByRelevanceFieldEnum: {
100626
+ smtpHost: 'smtpHost',
100627
+ smtpUser: 'smtpUser',
100628
+ smtpPassword: 'smtpPassword',
100629
+ smtpSenderName: 'smtpSenderName',
100630
+ smtpSenderEmail: 'smtpSenderEmail',
100631
+ smtpReplyToEmail: 'smtpReplyToEmail',
100632
+ imapHost: 'imapHost',
100633
+ imapUser: 'imapUser',
100634
+ imapPassword: 'imapPassword'
100635
+ };
100636
+
100637
+ export type EmailCredentialsOrderByRelevanceFieldEnum = (typeof EmailCredentialsOrderByRelevanceFieldEnum)[keyof typeof EmailCredentialsOrderByRelevanceFieldEnum]
100638
+
100639
+
99281
100640
  /**
99282
100641
  * Field references
99283
100642
  */
@@ -100695,6 +102054,7 @@ export namespace Prisma {
100695
102054
  brandContracts?: BrandContractListRelationFilter
100696
102055
  parentBrand?: XOR<BrandNullableRelationFilter, BrandWhereInput> | null
100697
102056
  childBrands?: BrandListRelationFilter
102057
+ smtpCredentials?: EmailCredentialsListRelationFilter
100698
102058
  }
100699
102059
 
100700
102060
  export type BrandOrderByWithRelationAndSearchRelevanceInput = {
@@ -100740,6 +102100,7 @@ export namespace Prisma {
100740
102100
  brandContracts?: BrandContractOrderByRelationAggregateInput
100741
102101
  parentBrand?: BrandOrderByWithRelationAndSearchRelevanceInput
100742
102102
  childBrands?: BrandOrderByRelationAggregateInput
102103
+ smtpCredentials?: EmailCredentialsOrderByRelationAggregateInput
100743
102104
  _relevance?: BrandOrderByRelevanceInput
100744
102105
  }
100745
102106
 
@@ -100789,6 +102150,7 @@ export namespace Prisma {
100789
102150
  brandContracts?: BrandContractListRelationFilter
100790
102151
  parentBrand?: XOR<BrandNullableRelationFilter, BrandWhereInput> | null
100791
102152
  childBrands?: BrandListRelationFilter
102153
+ smtpCredentials?: EmailCredentialsListRelationFilter
100792
102154
  }, "id">
100793
102155
 
100794
102156
  export type BrandOrderByWithAggregationInput = {
@@ -105273,6 +106635,7 @@ export namespace Prisma {
105273
106635
  completed?: BoolFilter<"Sequence"> | boolean
105274
106636
  brandId?: IntFilter<"Sequence"> | number
105275
106637
  enabled?: BoolFilter<"Sequence"> | boolean
106638
+ emailCredentialsId?: IntFilter<"Sequence"> | number
105276
106639
  campaign?: XOR<CampaignRelationFilter, CampaignWhereInput>
105277
106640
  creatorList?: XOR<CreatorListRelationFilter, CreatorListWhereInput>
105278
106641
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
@@ -105280,6 +106643,7 @@ export namespace Prisma {
105280
106643
  outboundEmails?: SequenceOutboundEmailListRelationFilter
105281
106644
  inboundEmails?: SequenceInboundEmailListRelationFilter
105282
106645
  imapCheckpoints?: SequenceImapCheckpointListRelationFilter
106646
+ emailCredentials?: XOR<EmailCredentialsRelationFilter, EmailCredentialsWhereInput>
105283
106647
  }
105284
106648
 
105285
106649
  export type SequenceOrderByWithRelationAndSearchRelevanceInput = {
@@ -105291,6 +106655,7 @@ export namespace Prisma {
105291
106655
  completed?: SortOrder
105292
106656
  brandId?: SortOrder
105293
106657
  enabled?: SortOrder
106658
+ emailCredentialsId?: SortOrder
105294
106659
  campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
105295
106660
  creatorList?: CreatorListOrderByWithRelationAndSearchRelevanceInput
105296
106661
  brand?: BrandOrderByWithRelationAndSearchRelevanceInput
@@ -105298,6 +106663,7 @@ export namespace Prisma {
105298
106663
  outboundEmails?: SequenceOutboundEmailOrderByRelationAggregateInput
105299
106664
  inboundEmails?: SequenceInboundEmailOrderByRelationAggregateInput
105300
106665
  imapCheckpoints?: SequenceImapCheckpointOrderByRelationAggregateInput
106666
+ emailCredentials?: EmailCredentialsOrderByWithRelationAndSearchRelevanceInput
105301
106667
  _relevance?: SequenceOrderByRelevanceInput
105302
106668
  }
105303
106669
 
@@ -105313,6 +106679,7 @@ export namespace Prisma {
105313
106679
  completed?: BoolFilter<"Sequence"> | boolean
105314
106680
  brandId?: IntFilter<"Sequence"> | number
105315
106681
  enabled?: BoolFilter<"Sequence"> | boolean
106682
+ emailCredentialsId?: IntFilter<"Sequence"> | number
105316
106683
  campaign?: XOR<CampaignRelationFilter, CampaignWhereInput>
105317
106684
  creatorList?: XOR<CreatorListRelationFilter, CreatorListWhereInput>
105318
106685
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
@@ -105320,6 +106687,7 @@ export namespace Prisma {
105320
106687
  outboundEmails?: SequenceOutboundEmailListRelationFilter
105321
106688
  inboundEmails?: SequenceInboundEmailListRelationFilter
105322
106689
  imapCheckpoints?: SequenceImapCheckpointListRelationFilter
106690
+ emailCredentials?: XOR<EmailCredentialsRelationFilter, EmailCredentialsWhereInput>
105323
106691
  }, "id">
105324
106692
 
105325
106693
  export type SequenceOrderByWithAggregationInput = {
@@ -105331,6 +106699,7 @@ export namespace Prisma {
105331
106699
  completed?: SortOrder
105332
106700
  brandId?: SortOrder
105333
106701
  enabled?: SortOrder
106702
+ emailCredentialsId?: SortOrder
105334
106703
  _count?: SequenceCountOrderByAggregateInput
105335
106704
  _avg?: SequenceAvgOrderByAggregateInput
105336
106705
  _max?: SequenceMaxOrderByAggregateInput
@@ -105350,6 +106719,7 @@ export namespace Prisma {
105350
106719
  completed?: BoolWithAggregatesFilter<"Sequence"> | boolean
105351
106720
  brandId?: IntWithAggregatesFilter<"Sequence"> | number
105352
106721
  enabled?: BoolWithAggregatesFilter<"Sequence"> | boolean
106722
+ emailCredentialsId?: IntWithAggregatesFilter<"Sequence"> | number
105353
106723
  }
105354
106724
 
105355
106725
  export type SequenceStepWhereInput = {
@@ -106165,6 +107535,117 @@ export namespace Prisma {
106165
107535
  editedByUserId?: IntNullableWithAggregatesFilter<"BrandContract"> | number | null
106166
107536
  }
106167
107537
 
107538
+ export type EmailCredentialsWhereInput = {
107539
+ AND?: EmailCredentialsWhereInput | EmailCredentialsWhereInput[]
107540
+ OR?: EmailCredentialsWhereInput[]
107541
+ NOT?: EmailCredentialsWhereInput | EmailCredentialsWhereInput[]
107542
+ id?: IntFilter<"EmailCredentials"> | number
107543
+ smtpHost?: StringFilter<"EmailCredentials"> | string
107544
+ smtpUser?: StringFilter<"EmailCredentials"> | string
107545
+ smtpPassword?: StringFilter<"EmailCredentials"> | string
107546
+ smtpSenderName?: StringFilter<"EmailCredentials"> | string
107547
+ smtpSenderEmail?: StringFilter<"EmailCredentials"> | string
107548
+ smtpReplyToEmail?: StringFilter<"EmailCredentials"> | string
107549
+ smtpPort?: IntFilter<"EmailCredentials"> | number
107550
+ imapHost?: StringFilter<"EmailCredentials"> | string
107551
+ imapUser?: StringFilter<"EmailCredentials"> | string
107552
+ imapPassword?: StringFilter<"EmailCredentials"> | string
107553
+ imapPort?: IntFilter<"EmailCredentials"> | number
107554
+ imapIsSecure?: BoolFilter<"EmailCredentials"> | boolean
107555
+ metaData?: JsonFilter<"EmailCredentials">
107556
+ brandId?: IntFilter<"EmailCredentials"> | number
107557
+ brand?: XOR<BrandRelationFilter, BrandWhereInput>
107558
+ sequences?: SequenceListRelationFilter
107559
+ }
107560
+
107561
+ export type EmailCredentialsOrderByWithRelationAndSearchRelevanceInput = {
107562
+ id?: SortOrder
107563
+ smtpHost?: SortOrder
107564
+ smtpUser?: SortOrder
107565
+ smtpPassword?: SortOrder
107566
+ smtpSenderName?: SortOrder
107567
+ smtpSenderEmail?: SortOrder
107568
+ smtpReplyToEmail?: SortOrder
107569
+ smtpPort?: SortOrder
107570
+ imapHost?: SortOrder
107571
+ imapUser?: SortOrder
107572
+ imapPassword?: SortOrder
107573
+ imapPort?: SortOrder
107574
+ imapIsSecure?: SortOrder
107575
+ metaData?: SortOrder
107576
+ brandId?: SortOrder
107577
+ brand?: BrandOrderByWithRelationAndSearchRelevanceInput
107578
+ sequences?: SequenceOrderByRelationAggregateInput
107579
+ _relevance?: EmailCredentialsOrderByRelevanceInput
107580
+ }
107581
+
107582
+ export type EmailCredentialsWhereUniqueInput = Prisma.AtLeast<{
107583
+ id?: number
107584
+ AND?: EmailCredentialsWhereInput | EmailCredentialsWhereInput[]
107585
+ OR?: EmailCredentialsWhereInput[]
107586
+ NOT?: EmailCredentialsWhereInput | EmailCredentialsWhereInput[]
107587
+ smtpHost?: StringFilter<"EmailCredentials"> | string
107588
+ smtpUser?: StringFilter<"EmailCredentials"> | string
107589
+ smtpPassword?: StringFilter<"EmailCredentials"> | string
107590
+ smtpSenderName?: StringFilter<"EmailCredentials"> | string
107591
+ smtpSenderEmail?: StringFilter<"EmailCredentials"> | string
107592
+ smtpReplyToEmail?: StringFilter<"EmailCredentials"> | string
107593
+ smtpPort?: IntFilter<"EmailCredentials"> | number
107594
+ imapHost?: StringFilter<"EmailCredentials"> | string
107595
+ imapUser?: StringFilter<"EmailCredentials"> | string
107596
+ imapPassword?: StringFilter<"EmailCredentials"> | string
107597
+ imapPort?: IntFilter<"EmailCredentials"> | number
107598
+ imapIsSecure?: BoolFilter<"EmailCredentials"> | boolean
107599
+ metaData?: JsonFilter<"EmailCredentials">
107600
+ brandId?: IntFilter<"EmailCredentials"> | number
107601
+ brand?: XOR<BrandRelationFilter, BrandWhereInput>
107602
+ sequences?: SequenceListRelationFilter
107603
+ }, "id">
107604
+
107605
+ export type EmailCredentialsOrderByWithAggregationInput = {
107606
+ id?: SortOrder
107607
+ smtpHost?: SortOrder
107608
+ smtpUser?: SortOrder
107609
+ smtpPassword?: SortOrder
107610
+ smtpSenderName?: SortOrder
107611
+ smtpSenderEmail?: SortOrder
107612
+ smtpReplyToEmail?: SortOrder
107613
+ smtpPort?: SortOrder
107614
+ imapHost?: SortOrder
107615
+ imapUser?: SortOrder
107616
+ imapPassword?: SortOrder
107617
+ imapPort?: SortOrder
107618
+ imapIsSecure?: SortOrder
107619
+ metaData?: SortOrder
107620
+ brandId?: SortOrder
107621
+ _count?: EmailCredentialsCountOrderByAggregateInput
107622
+ _avg?: EmailCredentialsAvgOrderByAggregateInput
107623
+ _max?: EmailCredentialsMaxOrderByAggregateInput
107624
+ _min?: EmailCredentialsMinOrderByAggregateInput
107625
+ _sum?: EmailCredentialsSumOrderByAggregateInput
107626
+ }
107627
+
107628
+ export type EmailCredentialsScalarWhereWithAggregatesInput = {
107629
+ AND?: EmailCredentialsScalarWhereWithAggregatesInput | EmailCredentialsScalarWhereWithAggregatesInput[]
107630
+ OR?: EmailCredentialsScalarWhereWithAggregatesInput[]
107631
+ NOT?: EmailCredentialsScalarWhereWithAggregatesInput | EmailCredentialsScalarWhereWithAggregatesInput[]
107632
+ id?: IntWithAggregatesFilter<"EmailCredentials"> | number
107633
+ smtpHost?: StringWithAggregatesFilter<"EmailCredentials"> | string
107634
+ smtpUser?: StringWithAggregatesFilter<"EmailCredentials"> | string
107635
+ smtpPassword?: StringWithAggregatesFilter<"EmailCredentials"> | string
107636
+ smtpSenderName?: StringWithAggregatesFilter<"EmailCredentials"> | string
107637
+ smtpSenderEmail?: StringWithAggregatesFilter<"EmailCredentials"> | string
107638
+ smtpReplyToEmail?: StringWithAggregatesFilter<"EmailCredentials"> | string
107639
+ smtpPort?: IntWithAggregatesFilter<"EmailCredentials"> | number
107640
+ imapHost?: StringWithAggregatesFilter<"EmailCredentials"> | string
107641
+ imapUser?: StringWithAggregatesFilter<"EmailCredentials"> | string
107642
+ imapPassword?: StringWithAggregatesFilter<"EmailCredentials"> | string
107643
+ imapPort?: IntWithAggregatesFilter<"EmailCredentials"> | number
107644
+ imapIsSecure?: BoolWithAggregatesFilter<"EmailCredentials"> | boolean
107645
+ metaData?: JsonWithAggregatesFilter<"EmailCredentials">
107646
+ brandId?: IntWithAggregatesFilter<"EmailCredentials"> | number
107647
+ }
107648
+
106168
107649
  export type UserCreateInput = {
106169
107650
  idmId?: string | null
106170
107651
  role: string
@@ -107582,6 +109063,7 @@ export namespace Prisma {
107582
109063
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
107583
109064
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
107584
109065
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
109066
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
107585
109067
  }
107586
109068
 
107587
109069
  export type BrandUncheckedCreateInput = {
@@ -107625,6 +109107,7 @@ export namespace Prisma {
107625
109107
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
107626
109108
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
107627
109109
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
109110
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
107628
109111
  }
107629
109112
 
107630
109113
  export type BrandUpdateInput = {
@@ -107667,6 +109150,7 @@ export namespace Prisma {
107667
109150
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
107668
109151
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
107669
109152
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
109153
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
107670
109154
  }
107671
109155
 
107672
109156
  export type BrandUncheckedUpdateInput = {
@@ -107710,6 +109194,7 @@ export namespace Prisma {
107710
109194
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
107711
109195
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
107712
109196
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
109197
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
107713
109198
  }
107714
109199
 
107715
109200
  export type BrandCreateManyInput = {
@@ -112199,6 +113684,7 @@ export namespace Prisma {
112199
113684
  outboundEmails?: SequenceOutboundEmailCreateNestedManyWithoutSequenceInput
112200
113685
  inboundEmails?: SequenceInboundEmailCreateNestedManyWithoutSequenceInput
112201
113686
  imapCheckpoints?: SequenceImapCheckpointCreateNestedManyWithoutSequenceInput
113687
+ emailCredentials: EmailCredentialsCreateNestedOneWithoutSequencesInput
112202
113688
  }
112203
113689
 
112204
113690
  export type SequenceUncheckedCreateInput = {
@@ -112210,6 +113696,7 @@ export namespace Prisma {
112210
113696
  completed?: boolean
112211
113697
  brandId: number
112212
113698
  enabled?: boolean
113699
+ emailCredentialsId: number
112213
113700
  steps?: SequenceStepUncheckedCreateNestedManyWithoutSequenceInput
112214
113701
  outboundEmails?: SequenceOutboundEmailUncheckedCreateNestedManyWithoutSequenceInput
112215
113702
  inboundEmails?: SequenceInboundEmailUncheckedCreateNestedManyWithoutSequenceInput
@@ -112228,6 +113715,7 @@ export namespace Prisma {
112228
113715
  outboundEmails?: SequenceOutboundEmailUpdateManyWithoutSequenceNestedInput
112229
113716
  inboundEmails?: SequenceInboundEmailUpdateManyWithoutSequenceNestedInput
112230
113717
  imapCheckpoints?: SequenceImapCheckpointUpdateManyWithoutSequenceNestedInput
113718
+ emailCredentials?: EmailCredentialsUpdateOneRequiredWithoutSequencesNestedInput
112231
113719
  }
112232
113720
 
112233
113721
  export type SequenceUncheckedUpdateInput = {
@@ -112239,6 +113727,7 @@ export namespace Prisma {
112239
113727
  completed?: BoolFieldUpdateOperationsInput | boolean
112240
113728
  brandId?: IntFieldUpdateOperationsInput | number
112241
113729
  enabled?: BoolFieldUpdateOperationsInput | boolean
113730
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
112242
113731
  steps?: SequenceStepUncheckedUpdateManyWithoutSequenceNestedInput
112243
113732
  outboundEmails?: SequenceOutboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
112244
113733
  inboundEmails?: SequenceInboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
@@ -112254,6 +113743,7 @@ export namespace Prisma {
112254
113743
  completed?: boolean
112255
113744
  brandId: number
112256
113745
  enabled?: boolean
113746
+ emailCredentialsId: number
112257
113747
  }
112258
113748
 
112259
113749
  export type SequenceUpdateManyMutationInput = {
@@ -112272,6 +113762,7 @@ export namespace Prisma {
112272
113762
  completed?: BoolFieldUpdateOperationsInput | boolean
112273
113763
  brandId?: IntFieldUpdateOperationsInput | number
112274
113764
  enabled?: BoolFieldUpdateOperationsInput | boolean
113765
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
112275
113766
  }
112276
113767
 
112277
113768
  export type SequenceStepCreateInput = {
@@ -113020,6 +114511,132 @@ export namespace Prisma {
113020
114511
  editedByUserId?: NullableIntFieldUpdateOperationsInput | number | null
113021
114512
  }
113022
114513
 
114514
+ export type EmailCredentialsCreateInput = {
114515
+ smtpHost: string
114516
+ smtpUser: string
114517
+ smtpPassword: string
114518
+ smtpSenderName: string
114519
+ smtpSenderEmail: string
114520
+ smtpReplyToEmail: string
114521
+ smtpPort: number
114522
+ imapHost: string
114523
+ imapUser: string
114524
+ imapPassword: string
114525
+ imapPort: number
114526
+ imapIsSecure: boolean
114527
+ metaData?: JsonNullValueInput | InputJsonValue
114528
+ brand: BrandCreateNestedOneWithoutSmtpCredentialsInput
114529
+ sequences?: SequenceCreateNestedManyWithoutEmailCredentialsInput
114530
+ }
114531
+
114532
+ export type EmailCredentialsUncheckedCreateInput = {
114533
+ id?: number
114534
+ smtpHost: string
114535
+ smtpUser: string
114536
+ smtpPassword: string
114537
+ smtpSenderName: string
114538
+ smtpSenderEmail: string
114539
+ smtpReplyToEmail: string
114540
+ smtpPort: number
114541
+ imapHost: string
114542
+ imapUser: string
114543
+ imapPassword: string
114544
+ imapPort: number
114545
+ imapIsSecure: boolean
114546
+ metaData?: JsonNullValueInput | InputJsonValue
114547
+ brandId: number
114548
+ sequences?: SequenceUncheckedCreateNestedManyWithoutEmailCredentialsInput
114549
+ }
114550
+
114551
+ export type EmailCredentialsUpdateInput = {
114552
+ smtpHost?: StringFieldUpdateOperationsInput | string
114553
+ smtpUser?: StringFieldUpdateOperationsInput | string
114554
+ smtpPassword?: StringFieldUpdateOperationsInput | string
114555
+ smtpSenderName?: StringFieldUpdateOperationsInput | string
114556
+ smtpSenderEmail?: StringFieldUpdateOperationsInput | string
114557
+ smtpReplyToEmail?: StringFieldUpdateOperationsInput | string
114558
+ smtpPort?: IntFieldUpdateOperationsInput | number
114559
+ imapHost?: StringFieldUpdateOperationsInput | string
114560
+ imapUser?: StringFieldUpdateOperationsInput | string
114561
+ imapPassword?: StringFieldUpdateOperationsInput | string
114562
+ imapPort?: IntFieldUpdateOperationsInput | number
114563
+ imapIsSecure?: BoolFieldUpdateOperationsInput | boolean
114564
+ metaData?: JsonNullValueInput | InputJsonValue
114565
+ brand?: BrandUpdateOneRequiredWithoutSmtpCredentialsNestedInput
114566
+ sequences?: SequenceUpdateManyWithoutEmailCredentialsNestedInput
114567
+ }
114568
+
114569
+ export type EmailCredentialsUncheckedUpdateInput = {
114570
+ id?: IntFieldUpdateOperationsInput | number
114571
+ smtpHost?: StringFieldUpdateOperationsInput | string
114572
+ smtpUser?: StringFieldUpdateOperationsInput | string
114573
+ smtpPassword?: StringFieldUpdateOperationsInput | string
114574
+ smtpSenderName?: StringFieldUpdateOperationsInput | string
114575
+ smtpSenderEmail?: StringFieldUpdateOperationsInput | string
114576
+ smtpReplyToEmail?: StringFieldUpdateOperationsInput | string
114577
+ smtpPort?: IntFieldUpdateOperationsInput | number
114578
+ imapHost?: StringFieldUpdateOperationsInput | string
114579
+ imapUser?: StringFieldUpdateOperationsInput | string
114580
+ imapPassword?: StringFieldUpdateOperationsInput | string
114581
+ imapPort?: IntFieldUpdateOperationsInput | number
114582
+ imapIsSecure?: BoolFieldUpdateOperationsInput | boolean
114583
+ metaData?: JsonNullValueInput | InputJsonValue
114584
+ brandId?: IntFieldUpdateOperationsInput | number
114585
+ sequences?: SequenceUncheckedUpdateManyWithoutEmailCredentialsNestedInput
114586
+ }
114587
+
114588
+ export type EmailCredentialsCreateManyInput = {
114589
+ id?: number
114590
+ smtpHost: string
114591
+ smtpUser: string
114592
+ smtpPassword: string
114593
+ smtpSenderName: string
114594
+ smtpSenderEmail: string
114595
+ smtpReplyToEmail: string
114596
+ smtpPort: number
114597
+ imapHost: string
114598
+ imapUser: string
114599
+ imapPassword: string
114600
+ imapPort: number
114601
+ imapIsSecure: boolean
114602
+ metaData?: JsonNullValueInput | InputJsonValue
114603
+ brandId: number
114604
+ }
114605
+
114606
+ export type EmailCredentialsUpdateManyMutationInput = {
114607
+ smtpHost?: StringFieldUpdateOperationsInput | string
114608
+ smtpUser?: StringFieldUpdateOperationsInput | string
114609
+ smtpPassword?: StringFieldUpdateOperationsInput | string
114610
+ smtpSenderName?: StringFieldUpdateOperationsInput | string
114611
+ smtpSenderEmail?: StringFieldUpdateOperationsInput | string
114612
+ smtpReplyToEmail?: StringFieldUpdateOperationsInput | string
114613
+ smtpPort?: IntFieldUpdateOperationsInput | number
114614
+ imapHost?: StringFieldUpdateOperationsInput | string
114615
+ imapUser?: StringFieldUpdateOperationsInput | string
114616
+ imapPassword?: StringFieldUpdateOperationsInput | string
114617
+ imapPort?: IntFieldUpdateOperationsInput | number
114618
+ imapIsSecure?: BoolFieldUpdateOperationsInput | boolean
114619
+ metaData?: JsonNullValueInput | InputJsonValue
114620
+ }
114621
+
114622
+ export type EmailCredentialsUncheckedUpdateManyInput = {
114623
+ id?: IntFieldUpdateOperationsInput | number
114624
+ smtpHost?: StringFieldUpdateOperationsInput | string
114625
+ smtpUser?: StringFieldUpdateOperationsInput | string
114626
+ smtpPassword?: StringFieldUpdateOperationsInput | string
114627
+ smtpSenderName?: StringFieldUpdateOperationsInput | string
114628
+ smtpSenderEmail?: StringFieldUpdateOperationsInput | string
114629
+ smtpReplyToEmail?: StringFieldUpdateOperationsInput | string
114630
+ smtpPort?: IntFieldUpdateOperationsInput | number
114631
+ imapHost?: StringFieldUpdateOperationsInput | string
114632
+ imapUser?: StringFieldUpdateOperationsInput | string
114633
+ imapPassword?: StringFieldUpdateOperationsInput | string
114634
+ imapPort?: IntFieldUpdateOperationsInput | number
114635
+ imapIsSecure?: BoolFieldUpdateOperationsInput | boolean
114636
+ metaData?: JsonNullValueInput | InputJsonValue
114637
+ brandId?: IntFieldUpdateOperationsInput | number
114638
+ }
114639
+
113023
114640
  export type IntFilter<$PrismaModel = never> = {
113024
114641
  equals?: number | IntFieldRefInput<$PrismaModel>
113025
114642
  in?: number[] | ListIntFieldRefInput<$PrismaModel>
@@ -114416,6 +116033,12 @@ export namespace Prisma {
114416
116033
  none?: ProductListWhereInput
114417
116034
  }
114418
116035
 
116036
+ export type EmailCredentialsListRelationFilter = {
116037
+ every?: EmailCredentialsWhereInput
116038
+ some?: EmailCredentialsWhereInput
116039
+ none?: EmailCredentialsWhereInput
116040
+ }
116041
+
114419
116042
  export type CampaignOrderByRelationAggregateInput = {
114420
116043
  _count?: SortOrder
114421
116044
  }
@@ -114484,6 +116107,10 @@ export namespace Prisma {
114484
116107
  _count?: SortOrder
114485
116108
  }
114486
116109
 
116110
+ export type EmailCredentialsOrderByRelationAggregateInput = {
116111
+ _count?: SortOrder
116112
+ }
116113
+
114487
116114
  export type BrandOrderByRelevanceInput = {
114488
116115
  fields: BrandOrderByRelevanceFieldEnum | BrandOrderByRelevanceFieldEnum[]
114489
116116
  sort: SortOrder
@@ -117976,6 +119603,11 @@ export namespace Prisma {
117976
119603
  brandId?: SortOrder
117977
119604
  }
117978
119605
 
119606
+ export type EmailCredentialsRelationFilter = {
119607
+ is?: EmailCredentialsWhereInput
119608
+ isNot?: EmailCredentialsWhereInput
119609
+ }
119610
+
117979
119611
  export type SequenceOrderByRelevanceInput = {
117980
119612
  fields: SequenceOrderByRelevanceFieldEnum | SequenceOrderByRelevanceFieldEnum[]
117981
119613
  sort: SortOrder
@@ -117991,6 +119623,7 @@ export namespace Prisma {
117991
119623
  completed?: SortOrder
117992
119624
  brandId?: SortOrder
117993
119625
  enabled?: SortOrder
119626
+ emailCredentialsId?: SortOrder
117994
119627
  }
117995
119628
 
117996
119629
  export type SequenceAvgOrderByAggregateInput = {
@@ -117998,6 +119631,7 @@ export namespace Prisma {
117998
119631
  campaignId?: SortOrder
117999
119632
  creatorListId?: SortOrder
118000
119633
  brandId?: SortOrder
119634
+ emailCredentialsId?: SortOrder
118001
119635
  }
118002
119636
 
118003
119637
  export type SequenceMaxOrderByAggregateInput = {
@@ -118009,6 +119643,7 @@ export namespace Prisma {
118009
119643
  completed?: SortOrder
118010
119644
  brandId?: SortOrder
118011
119645
  enabled?: SortOrder
119646
+ emailCredentialsId?: SortOrder
118012
119647
  }
118013
119648
 
118014
119649
  export type SequenceMinOrderByAggregateInput = {
@@ -118020,6 +119655,7 @@ export namespace Prisma {
118020
119655
  completed?: SortOrder
118021
119656
  brandId?: SortOrder
118022
119657
  enabled?: SortOrder
119658
+ emailCredentialsId?: SortOrder
118023
119659
  }
118024
119660
 
118025
119661
  export type SequenceSumOrderByAggregateInput = {
@@ -118027,6 +119663,7 @@ export namespace Prisma {
118027
119663
  campaignId?: SortOrder
118028
119664
  creatorListId?: SortOrder
118029
119665
  brandId?: SortOrder
119666
+ emailCredentialsId?: SortOrder
118030
119667
  }
118031
119668
 
118032
119669
  export type SequenceRelationFilter = {
@@ -118663,6 +120300,78 @@ export namespace Prisma {
118663
120300
  editedByUserId?: SortOrder
118664
120301
  }
118665
120302
 
120303
+ export type EmailCredentialsOrderByRelevanceInput = {
120304
+ fields: EmailCredentialsOrderByRelevanceFieldEnum | EmailCredentialsOrderByRelevanceFieldEnum[]
120305
+ sort: SortOrder
120306
+ search: string
120307
+ }
120308
+
120309
+ export type EmailCredentialsCountOrderByAggregateInput = {
120310
+ id?: SortOrder
120311
+ smtpHost?: SortOrder
120312
+ smtpUser?: SortOrder
120313
+ smtpPassword?: SortOrder
120314
+ smtpSenderName?: SortOrder
120315
+ smtpSenderEmail?: SortOrder
120316
+ smtpReplyToEmail?: SortOrder
120317
+ smtpPort?: SortOrder
120318
+ imapHost?: SortOrder
120319
+ imapUser?: SortOrder
120320
+ imapPassword?: SortOrder
120321
+ imapPort?: SortOrder
120322
+ imapIsSecure?: SortOrder
120323
+ metaData?: SortOrder
120324
+ brandId?: SortOrder
120325
+ }
120326
+
120327
+ export type EmailCredentialsAvgOrderByAggregateInput = {
120328
+ id?: SortOrder
120329
+ smtpPort?: SortOrder
120330
+ imapPort?: SortOrder
120331
+ brandId?: SortOrder
120332
+ }
120333
+
120334
+ export type EmailCredentialsMaxOrderByAggregateInput = {
120335
+ id?: SortOrder
120336
+ smtpHost?: SortOrder
120337
+ smtpUser?: SortOrder
120338
+ smtpPassword?: SortOrder
120339
+ smtpSenderName?: SortOrder
120340
+ smtpSenderEmail?: SortOrder
120341
+ smtpReplyToEmail?: SortOrder
120342
+ smtpPort?: SortOrder
120343
+ imapHost?: SortOrder
120344
+ imapUser?: SortOrder
120345
+ imapPassword?: SortOrder
120346
+ imapPort?: SortOrder
120347
+ imapIsSecure?: SortOrder
120348
+ brandId?: SortOrder
120349
+ }
120350
+
120351
+ export type EmailCredentialsMinOrderByAggregateInput = {
120352
+ id?: SortOrder
120353
+ smtpHost?: SortOrder
120354
+ smtpUser?: SortOrder
120355
+ smtpPassword?: SortOrder
120356
+ smtpSenderName?: SortOrder
120357
+ smtpSenderEmail?: SortOrder
120358
+ smtpReplyToEmail?: SortOrder
120359
+ smtpPort?: SortOrder
120360
+ imapHost?: SortOrder
120361
+ imapUser?: SortOrder
120362
+ imapPassword?: SortOrder
120363
+ imapPort?: SortOrder
120364
+ imapIsSecure?: SortOrder
120365
+ brandId?: SortOrder
120366
+ }
120367
+
120368
+ export type EmailCredentialsSumOrderByAggregateInput = {
120369
+ id?: SortOrder
120370
+ smtpPort?: SortOrder
120371
+ imapPort?: SortOrder
120372
+ brandId?: SortOrder
120373
+ }
120374
+
118666
120375
  export type UserCreateNestedOneWithoutReferredUsersInput = {
118667
120376
  create?: XOR<UserCreateWithoutReferredUsersInput, UserUncheckedCreateWithoutReferredUsersInput>
118668
120377
  connectOrCreate?: UserCreateOrConnectWithoutReferredUsersInput
@@ -120226,6 +121935,13 @@ export namespace Prisma {
120226
121935
  connect?: BrandWhereUniqueInput | BrandWhereUniqueInput[]
120227
121936
  }
120228
121937
 
121938
+ export type EmailCredentialsCreateNestedManyWithoutBrandInput = {
121939
+ create?: XOR<EmailCredentialsCreateWithoutBrandInput, EmailCredentialsUncheckedCreateWithoutBrandInput> | EmailCredentialsCreateWithoutBrandInput[] | EmailCredentialsUncheckedCreateWithoutBrandInput[]
121940
+ connectOrCreate?: EmailCredentialsCreateOrConnectWithoutBrandInput | EmailCredentialsCreateOrConnectWithoutBrandInput[]
121941
+ createMany?: EmailCredentialsCreateManyBrandInputEnvelope
121942
+ connect?: EmailCredentialsWhereUniqueInput | EmailCredentialsWhereUniqueInput[]
121943
+ }
121944
+
120229
121945
  export type InstagramProfileUncheckedCreateNestedOneWithoutBrandInput = {
120230
121946
  create?: XOR<InstagramProfileCreateWithoutBrandInput, InstagramProfileUncheckedCreateWithoutBrandInput>
120231
121947
  connectOrCreate?: InstagramProfileCreateOrConnectWithoutBrandInput
@@ -120405,6 +122121,13 @@ export namespace Prisma {
120405
122121
  connect?: BrandWhereUniqueInput | BrandWhereUniqueInput[]
120406
122122
  }
120407
122123
 
122124
+ export type EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput = {
122125
+ create?: XOR<EmailCredentialsCreateWithoutBrandInput, EmailCredentialsUncheckedCreateWithoutBrandInput> | EmailCredentialsCreateWithoutBrandInput[] | EmailCredentialsUncheckedCreateWithoutBrandInput[]
122126
+ connectOrCreate?: EmailCredentialsCreateOrConnectWithoutBrandInput | EmailCredentialsCreateOrConnectWithoutBrandInput[]
122127
+ createMany?: EmailCredentialsCreateManyBrandInputEnvelope
122128
+ connect?: EmailCredentialsWhereUniqueInput | EmailCredentialsWhereUniqueInput[]
122129
+ }
122130
+
120408
122131
  export type UserUpdateOneWithoutAssignedBrandsNestedInput = {
120409
122132
  create?: XOR<UserCreateWithoutAssignedBrandsInput, UserUncheckedCreateWithoutAssignedBrandsInput>
120410
122133
  connectOrCreate?: UserCreateOrConnectWithoutAssignedBrandsInput
@@ -120777,6 +122500,20 @@ export namespace Prisma {
120777
122500
  deleteMany?: BrandScalarWhereInput | BrandScalarWhereInput[]
120778
122501
  }
120779
122502
 
122503
+ export type EmailCredentialsUpdateManyWithoutBrandNestedInput = {
122504
+ create?: XOR<EmailCredentialsCreateWithoutBrandInput, EmailCredentialsUncheckedCreateWithoutBrandInput> | EmailCredentialsCreateWithoutBrandInput[] | EmailCredentialsUncheckedCreateWithoutBrandInput[]
122505
+ connectOrCreate?: EmailCredentialsCreateOrConnectWithoutBrandInput | EmailCredentialsCreateOrConnectWithoutBrandInput[]
122506
+ upsert?: EmailCredentialsUpsertWithWhereUniqueWithoutBrandInput | EmailCredentialsUpsertWithWhereUniqueWithoutBrandInput[]
122507
+ createMany?: EmailCredentialsCreateManyBrandInputEnvelope
122508
+ set?: EmailCredentialsWhereUniqueInput | EmailCredentialsWhereUniqueInput[]
122509
+ disconnect?: EmailCredentialsWhereUniqueInput | EmailCredentialsWhereUniqueInput[]
122510
+ delete?: EmailCredentialsWhereUniqueInput | EmailCredentialsWhereUniqueInput[]
122511
+ connect?: EmailCredentialsWhereUniqueInput | EmailCredentialsWhereUniqueInput[]
122512
+ update?: EmailCredentialsUpdateWithWhereUniqueWithoutBrandInput | EmailCredentialsUpdateWithWhereUniqueWithoutBrandInput[]
122513
+ updateMany?: EmailCredentialsUpdateManyWithWhereWithoutBrandInput | EmailCredentialsUpdateManyWithWhereWithoutBrandInput[]
122514
+ deleteMany?: EmailCredentialsScalarWhereInput | EmailCredentialsScalarWhereInput[]
122515
+ }
122516
+
120780
122517
  export type InstagramProfileUncheckedUpdateOneWithoutBrandNestedInput = {
120781
122518
  create?: XOR<InstagramProfileCreateWithoutBrandInput, InstagramProfileUncheckedCreateWithoutBrandInput>
120782
122519
  connectOrCreate?: InstagramProfileCreateOrConnectWithoutBrandInput
@@ -121129,6 +122866,20 @@ export namespace Prisma {
121129
122866
  deleteMany?: BrandScalarWhereInput | BrandScalarWhereInput[]
121130
122867
  }
121131
122868
 
122869
+ export type EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput = {
122870
+ create?: XOR<EmailCredentialsCreateWithoutBrandInput, EmailCredentialsUncheckedCreateWithoutBrandInput> | EmailCredentialsCreateWithoutBrandInput[] | EmailCredentialsUncheckedCreateWithoutBrandInput[]
122871
+ connectOrCreate?: EmailCredentialsCreateOrConnectWithoutBrandInput | EmailCredentialsCreateOrConnectWithoutBrandInput[]
122872
+ upsert?: EmailCredentialsUpsertWithWhereUniqueWithoutBrandInput | EmailCredentialsUpsertWithWhereUniqueWithoutBrandInput[]
122873
+ createMany?: EmailCredentialsCreateManyBrandInputEnvelope
122874
+ set?: EmailCredentialsWhereUniqueInput | EmailCredentialsWhereUniqueInput[]
122875
+ disconnect?: EmailCredentialsWhereUniqueInput | EmailCredentialsWhereUniqueInput[]
122876
+ delete?: EmailCredentialsWhereUniqueInput | EmailCredentialsWhereUniqueInput[]
122877
+ connect?: EmailCredentialsWhereUniqueInput | EmailCredentialsWhereUniqueInput[]
122878
+ update?: EmailCredentialsUpdateWithWhereUniqueWithoutBrandInput | EmailCredentialsUpdateWithWhereUniqueWithoutBrandInput[]
122879
+ updateMany?: EmailCredentialsUpdateManyWithWhereWithoutBrandInput | EmailCredentialsUpdateManyWithWhereWithoutBrandInput[]
122880
+ deleteMany?: EmailCredentialsScalarWhereInput | EmailCredentialsScalarWhereInput[]
122881
+ }
122882
+
121132
122883
  export type SearchContactsCreateNestedOneWithoutNextQtyPostInput = {
121133
122884
  create?: XOR<SearchContactsCreateWithoutNextQtyPostInput, SearchContactsUncheckedCreateWithoutNextQtyPostInput>
121134
122885
  connectOrCreate?: SearchContactsCreateOrConnectWithoutNextQtyPostInput
@@ -125171,6 +126922,12 @@ export namespace Prisma {
125171
126922
  connect?: SequenceImapCheckpointWhereUniqueInput | SequenceImapCheckpointWhereUniqueInput[]
125172
126923
  }
125173
126924
 
126925
+ export type EmailCredentialsCreateNestedOneWithoutSequencesInput = {
126926
+ create?: XOR<EmailCredentialsCreateWithoutSequencesInput, EmailCredentialsUncheckedCreateWithoutSequencesInput>
126927
+ connectOrCreate?: EmailCredentialsCreateOrConnectWithoutSequencesInput
126928
+ connect?: EmailCredentialsWhereUniqueInput
126929
+ }
126930
+
125174
126931
  export type SequenceStepUncheckedCreateNestedManyWithoutSequenceInput = {
125175
126932
  create?: XOR<SequenceStepCreateWithoutSequenceInput, SequenceStepUncheckedCreateWithoutSequenceInput> | SequenceStepCreateWithoutSequenceInput[] | SequenceStepUncheckedCreateWithoutSequenceInput[]
125176
126933
  connectOrCreate?: SequenceStepCreateOrConnectWithoutSequenceInput | SequenceStepCreateOrConnectWithoutSequenceInput[]
@@ -125279,6 +127036,14 @@ export namespace Prisma {
125279
127036
  deleteMany?: SequenceImapCheckpointScalarWhereInput | SequenceImapCheckpointScalarWhereInput[]
125280
127037
  }
125281
127038
 
127039
+ export type EmailCredentialsUpdateOneRequiredWithoutSequencesNestedInput = {
127040
+ create?: XOR<EmailCredentialsCreateWithoutSequencesInput, EmailCredentialsUncheckedCreateWithoutSequencesInput>
127041
+ connectOrCreate?: EmailCredentialsCreateOrConnectWithoutSequencesInput
127042
+ upsert?: EmailCredentialsUpsertWithoutSequencesInput
127043
+ connect?: EmailCredentialsWhereUniqueInput
127044
+ update?: XOR<XOR<EmailCredentialsUpdateToOneWithWhereWithoutSequencesInput, EmailCredentialsUpdateWithoutSequencesInput>, EmailCredentialsUncheckedUpdateWithoutSequencesInput>
127045
+ }
127046
+
125282
127047
  export type SequenceStepUncheckedUpdateManyWithoutSequenceNestedInput = {
125283
127048
  create?: XOR<SequenceStepCreateWithoutSequenceInput, SequenceStepUncheckedCreateWithoutSequenceInput> | SequenceStepCreateWithoutSequenceInput[] | SequenceStepUncheckedCreateWithoutSequenceInput[]
125284
127049
  connectOrCreate?: SequenceStepCreateOrConnectWithoutSequenceInput | SequenceStepCreateOrConnectWithoutSequenceInput[]
@@ -125871,6 +127636,62 @@ export namespace Prisma {
125871
127636
  update?: XOR<XOR<UserUpdateToOneWithWhereWithoutContractsEditedInput, UserUpdateWithoutContractsEditedInput>, UserUncheckedUpdateWithoutContractsEditedInput>
125872
127637
  }
125873
127638
 
127639
+ export type BrandCreateNestedOneWithoutSmtpCredentialsInput = {
127640
+ create?: XOR<BrandCreateWithoutSmtpCredentialsInput, BrandUncheckedCreateWithoutSmtpCredentialsInput>
127641
+ connectOrCreate?: BrandCreateOrConnectWithoutSmtpCredentialsInput
127642
+ connect?: BrandWhereUniqueInput
127643
+ }
127644
+
127645
+ export type SequenceCreateNestedManyWithoutEmailCredentialsInput = {
127646
+ create?: XOR<SequenceCreateWithoutEmailCredentialsInput, SequenceUncheckedCreateWithoutEmailCredentialsInput> | SequenceCreateWithoutEmailCredentialsInput[] | SequenceUncheckedCreateWithoutEmailCredentialsInput[]
127647
+ connectOrCreate?: SequenceCreateOrConnectWithoutEmailCredentialsInput | SequenceCreateOrConnectWithoutEmailCredentialsInput[]
127648
+ createMany?: SequenceCreateManyEmailCredentialsInputEnvelope
127649
+ connect?: SequenceWhereUniqueInput | SequenceWhereUniqueInput[]
127650
+ }
127651
+
127652
+ export type SequenceUncheckedCreateNestedManyWithoutEmailCredentialsInput = {
127653
+ create?: XOR<SequenceCreateWithoutEmailCredentialsInput, SequenceUncheckedCreateWithoutEmailCredentialsInput> | SequenceCreateWithoutEmailCredentialsInput[] | SequenceUncheckedCreateWithoutEmailCredentialsInput[]
127654
+ connectOrCreate?: SequenceCreateOrConnectWithoutEmailCredentialsInput | SequenceCreateOrConnectWithoutEmailCredentialsInput[]
127655
+ createMany?: SequenceCreateManyEmailCredentialsInputEnvelope
127656
+ connect?: SequenceWhereUniqueInput | SequenceWhereUniqueInput[]
127657
+ }
127658
+
127659
+ export type BrandUpdateOneRequiredWithoutSmtpCredentialsNestedInput = {
127660
+ create?: XOR<BrandCreateWithoutSmtpCredentialsInput, BrandUncheckedCreateWithoutSmtpCredentialsInput>
127661
+ connectOrCreate?: BrandCreateOrConnectWithoutSmtpCredentialsInput
127662
+ upsert?: BrandUpsertWithoutSmtpCredentialsInput
127663
+ connect?: BrandWhereUniqueInput
127664
+ update?: XOR<XOR<BrandUpdateToOneWithWhereWithoutSmtpCredentialsInput, BrandUpdateWithoutSmtpCredentialsInput>, BrandUncheckedUpdateWithoutSmtpCredentialsInput>
127665
+ }
127666
+
127667
+ export type SequenceUpdateManyWithoutEmailCredentialsNestedInput = {
127668
+ create?: XOR<SequenceCreateWithoutEmailCredentialsInput, SequenceUncheckedCreateWithoutEmailCredentialsInput> | SequenceCreateWithoutEmailCredentialsInput[] | SequenceUncheckedCreateWithoutEmailCredentialsInput[]
127669
+ connectOrCreate?: SequenceCreateOrConnectWithoutEmailCredentialsInput | SequenceCreateOrConnectWithoutEmailCredentialsInput[]
127670
+ upsert?: SequenceUpsertWithWhereUniqueWithoutEmailCredentialsInput | SequenceUpsertWithWhereUniqueWithoutEmailCredentialsInput[]
127671
+ createMany?: SequenceCreateManyEmailCredentialsInputEnvelope
127672
+ set?: SequenceWhereUniqueInput | SequenceWhereUniqueInput[]
127673
+ disconnect?: SequenceWhereUniqueInput | SequenceWhereUniqueInput[]
127674
+ delete?: SequenceWhereUniqueInput | SequenceWhereUniqueInput[]
127675
+ connect?: SequenceWhereUniqueInput | SequenceWhereUniqueInput[]
127676
+ update?: SequenceUpdateWithWhereUniqueWithoutEmailCredentialsInput | SequenceUpdateWithWhereUniqueWithoutEmailCredentialsInput[]
127677
+ updateMany?: SequenceUpdateManyWithWhereWithoutEmailCredentialsInput | SequenceUpdateManyWithWhereWithoutEmailCredentialsInput[]
127678
+ deleteMany?: SequenceScalarWhereInput | SequenceScalarWhereInput[]
127679
+ }
127680
+
127681
+ export type SequenceUncheckedUpdateManyWithoutEmailCredentialsNestedInput = {
127682
+ create?: XOR<SequenceCreateWithoutEmailCredentialsInput, SequenceUncheckedCreateWithoutEmailCredentialsInput> | SequenceCreateWithoutEmailCredentialsInput[] | SequenceUncheckedCreateWithoutEmailCredentialsInput[]
127683
+ connectOrCreate?: SequenceCreateOrConnectWithoutEmailCredentialsInput | SequenceCreateOrConnectWithoutEmailCredentialsInput[]
127684
+ upsert?: SequenceUpsertWithWhereUniqueWithoutEmailCredentialsInput | SequenceUpsertWithWhereUniqueWithoutEmailCredentialsInput[]
127685
+ createMany?: SequenceCreateManyEmailCredentialsInputEnvelope
127686
+ set?: SequenceWhereUniqueInput | SequenceWhereUniqueInput[]
127687
+ disconnect?: SequenceWhereUniqueInput | SequenceWhereUniqueInput[]
127688
+ delete?: SequenceWhereUniqueInput | SequenceWhereUniqueInput[]
127689
+ connect?: SequenceWhereUniqueInput | SequenceWhereUniqueInput[]
127690
+ update?: SequenceUpdateWithWhereUniqueWithoutEmailCredentialsInput | SequenceUpdateWithWhereUniqueWithoutEmailCredentialsInput[]
127691
+ updateMany?: SequenceUpdateManyWithWhereWithoutEmailCredentialsInput | SequenceUpdateManyWithWhereWithoutEmailCredentialsInput[]
127692
+ deleteMany?: SequenceScalarWhereInput | SequenceScalarWhereInput[]
127693
+ }
127694
+
125874
127695
  export type NestedIntFilter<$PrismaModel = never> = {
125875
127696
  equals?: number | IntFieldRefInput<$PrismaModel>
125876
127697
  in?: number[] | ListIntFieldRefInput<$PrismaModel>
@@ -126974,6 +128795,7 @@ export namespace Prisma {
126974
128795
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
126975
128796
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
126976
128797
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
128798
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
126977
128799
  }
126978
128800
 
126979
128801
  export type BrandUncheckedCreateWithoutDedicatedSpecialistInput = {
@@ -127016,6 +128838,7 @@ export namespace Prisma {
127016
128838
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
127017
128839
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
127018
128840
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
128841
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
127019
128842
  }
127020
128843
 
127021
128844
  export type BrandCreateOrConnectWithoutDedicatedSpecialistInput = {
@@ -129276,6 +131099,7 @@ export namespace Prisma {
129276
131099
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
129277
131100
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
129278
131101
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
131102
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
129279
131103
  }
129280
131104
 
129281
131105
  export type BrandUncheckedCreateWithoutInstagramProfileInput = {
@@ -129318,6 +131142,7 @@ export namespace Prisma {
129318
131142
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
129319
131143
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
129320
131144
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
131145
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
129321
131146
  }
129322
131147
 
129323
131148
  export type BrandCreateOrConnectWithoutInstagramProfileInput = {
@@ -129487,6 +131312,7 @@ export namespace Prisma {
129487
131312
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
129488
131313
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
129489
131314
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
131315
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
129490
131316
  }
129491
131317
 
129492
131318
  export type BrandUncheckedUpdateWithoutInstagramProfileInput = {
@@ -129529,6 +131355,7 @@ export namespace Prisma {
129529
131355
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
129530
131356
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
129531
131357
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
131358
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
129532
131359
  }
129533
131360
 
129534
131361
  export type UserCreateWithoutTiktokProfileInput = {
@@ -129676,6 +131503,7 @@ export namespace Prisma {
129676
131503
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
129677
131504
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
129678
131505
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
131506
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
129679
131507
  }
129680
131508
 
129681
131509
  export type BrandUncheckedCreateWithoutTiktokProfileInput = {
@@ -129718,6 +131546,7 @@ export namespace Prisma {
129718
131546
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
129719
131547
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
129720
131548
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
131549
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
129721
131550
  }
129722
131551
 
129723
131552
  export type BrandCreateOrConnectWithoutTiktokProfileInput = {
@@ -129887,6 +131716,7 @@ export namespace Prisma {
129887
131716
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
129888
131717
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
129889
131718
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
131719
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
129890
131720
  }
129891
131721
 
129892
131722
  export type BrandUncheckedUpdateWithoutTiktokProfileInput = {
@@ -129929,6 +131759,7 @@ export namespace Prisma {
129929
131759
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
129930
131760
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
129931
131761
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
131762
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
129932
131763
  }
129933
131764
 
129934
131765
  export type UserCreateWithoutYoutubeProfileInput = {
@@ -130076,6 +131907,7 @@ export namespace Prisma {
130076
131907
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
130077
131908
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
130078
131909
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
131910
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
130079
131911
  }
130080
131912
 
130081
131913
  export type BrandUncheckedCreateWithoutYoutubeProfileInput = {
@@ -130118,6 +131950,7 @@ export namespace Prisma {
130118
131950
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
130119
131951
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
130120
131952
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
131953
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
130121
131954
  }
130122
131955
 
130123
131956
  export type BrandCreateOrConnectWithoutYoutubeProfileInput = {
@@ -130287,6 +132120,7 @@ export namespace Prisma {
130287
132120
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
130288
132121
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
130289
132122
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
132123
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
130290
132124
  }
130291
132125
 
130292
132126
  export type BrandUncheckedUpdateWithoutYoutubeProfileInput = {
@@ -130329,6 +132163,7 @@ export namespace Prisma {
130329
132163
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
130330
132164
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
130331
132165
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
132166
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
130332
132167
  }
130333
132168
 
130334
132169
  export type UserCreateWithoutTwitchProfileInput = {
@@ -131130,6 +132965,7 @@ export namespace Prisma {
131130
132965
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
131131
132966
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
131132
132967
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
132968
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
131133
132969
  }
131134
132970
 
131135
132971
  export type BrandUncheckedCreateWithoutBrandUsersInput = {
@@ -131172,6 +133008,7 @@ export namespace Prisma {
131172
133008
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
131173
133009
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
131174
133010
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
133011
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
131175
133012
  }
131176
133013
 
131177
133014
  export type BrandCreateOrConnectWithoutBrandUsersInput = {
@@ -131341,6 +133178,7 @@ export namespace Prisma {
131341
133178
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
131342
133179
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
131343
133180
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
133181
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
131344
133182
  }
131345
133183
 
131346
133184
  export type BrandUncheckedUpdateWithoutBrandUsersInput = {
@@ -131383,6 +133221,7 @@ export namespace Prisma {
131383
133221
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
131384
133222
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
131385
133223
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
133224
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
131386
133225
  }
131387
133226
 
131388
133227
  export type UserCreateWithoutAssignedBrandsInput = {
@@ -132251,6 +134090,7 @@ export namespace Prisma {
132251
134090
  outboundEmails?: SequenceOutboundEmailCreateNestedManyWithoutSequenceInput
132252
134091
  inboundEmails?: SequenceInboundEmailCreateNestedManyWithoutSequenceInput
132253
134092
  imapCheckpoints?: SequenceImapCheckpointCreateNestedManyWithoutSequenceInput
134093
+ emailCredentials: EmailCredentialsCreateNestedOneWithoutSequencesInput
132254
134094
  }
132255
134095
 
132256
134096
  export type SequenceUncheckedCreateWithoutBrandInput = {
@@ -132261,6 +134101,7 @@ export namespace Prisma {
132261
134101
  createdAt?: Date | string
132262
134102
  completed?: boolean
132263
134103
  enabled?: boolean
134104
+ emailCredentialsId: number
132264
134105
  steps?: SequenceStepUncheckedCreateNestedManyWithoutSequenceInput
132265
134106
  outboundEmails?: SequenceOutboundEmailUncheckedCreateNestedManyWithoutSequenceInput
132266
134107
  inboundEmails?: SequenceInboundEmailUncheckedCreateNestedManyWithoutSequenceInput
@@ -132473,6 +134314,7 @@ export namespace Prisma {
132473
134314
  productLists?: ProductListCreateNestedManyWithoutBrandInput
132474
134315
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
132475
134316
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
134317
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
132476
134318
  }
132477
134319
 
132478
134320
  export type BrandUncheckedCreateWithoutChildBrandsInput = {
@@ -132515,6 +134357,7 @@ export namespace Prisma {
132515
134357
  shopifyStores?: ShopifyStoreUncheckedCreateNestedManyWithoutBrandInput
132516
134358
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
132517
134359
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
134360
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
132518
134361
  }
132519
134362
 
132520
134363
  export type BrandCreateOrConnectWithoutChildBrandsInput = {
@@ -132561,6 +134404,7 @@ export namespace Prisma {
132561
134404
  productLists?: ProductListCreateNestedManyWithoutBrandInput
132562
134405
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
132563
134406
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
134407
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
132564
134408
  }
132565
134409
 
132566
134410
  export type BrandUncheckedCreateWithoutParentBrandInput = {
@@ -132603,6 +134447,7 @@ export namespace Prisma {
132603
134447
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
132604
134448
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
132605
134449
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
134450
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
132606
134451
  }
132607
134452
 
132608
134453
  export type BrandCreateOrConnectWithoutParentBrandInput = {
@@ -132615,6 +134460,51 @@ export namespace Prisma {
132615
134460
  skipDuplicates?: boolean
132616
134461
  }
132617
134462
 
134463
+ export type EmailCredentialsCreateWithoutBrandInput = {
134464
+ smtpHost: string
134465
+ smtpUser: string
134466
+ smtpPassword: string
134467
+ smtpSenderName: string
134468
+ smtpSenderEmail: string
134469
+ smtpReplyToEmail: string
134470
+ smtpPort: number
134471
+ imapHost: string
134472
+ imapUser: string
134473
+ imapPassword: string
134474
+ imapPort: number
134475
+ imapIsSecure: boolean
134476
+ metaData?: JsonNullValueInput | InputJsonValue
134477
+ sequences?: SequenceCreateNestedManyWithoutEmailCredentialsInput
134478
+ }
134479
+
134480
+ export type EmailCredentialsUncheckedCreateWithoutBrandInput = {
134481
+ id?: number
134482
+ smtpHost: string
134483
+ smtpUser: string
134484
+ smtpPassword: string
134485
+ smtpSenderName: string
134486
+ smtpSenderEmail: string
134487
+ smtpReplyToEmail: string
134488
+ smtpPort: number
134489
+ imapHost: string
134490
+ imapUser: string
134491
+ imapPassword: string
134492
+ imapPort: number
134493
+ imapIsSecure: boolean
134494
+ metaData?: JsonNullValueInput | InputJsonValue
134495
+ sequences?: SequenceUncheckedCreateNestedManyWithoutEmailCredentialsInput
134496
+ }
134497
+
134498
+ export type EmailCredentialsCreateOrConnectWithoutBrandInput = {
134499
+ where: EmailCredentialsWhereUniqueInput
134500
+ create: XOR<EmailCredentialsCreateWithoutBrandInput, EmailCredentialsUncheckedCreateWithoutBrandInput>
134501
+ }
134502
+
134503
+ export type EmailCredentialsCreateManyBrandInputEnvelope = {
134504
+ data: EmailCredentialsCreateManyBrandInput | EmailCredentialsCreateManyBrandInput[]
134505
+ skipDuplicates?: boolean
134506
+ }
134507
+
132618
134508
  export type UserUpsertWithoutAssignedBrandsInput = {
132619
134509
  update: XOR<UserUpdateWithoutAssignedBrandsInput, UserUncheckedUpdateWithoutAssignedBrandsInput>
132620
134510
  create: XOR<UserCreateWithoutAssignedBrandsInput, UserUncheckedCreateWithoutAssignedBrandsInput>
@@ -133428,6 +135318,7 @@ export namespace Prisma {
133428
135318
  completed?: BoolFilter<"Sequence"> | boolean
133429
135319
  brandId?: IntFilter<"Sequence"> | number
133430
135320
  enabled?: BoolFilter<"Sequence"> | boolean
135321
+ emailCredentialsId?: IntFilter<"Sequence"> | number
133431
135322
  }
133432
135323
 
133433
135324
  export type ImpactRadiusEventUpsertWithWhereUniqueWithoutBrandInput = {
@@ -133586,6 +135477,7 @@ export namespace Prisma {
133586
135477
  productLists?: ProductListUpdateManyWithoutBrandNestedInput
133587
135478
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
133588
135479
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
135480
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
133589
135481
  }
133590
135482
 
133591
135483
  export type BrandUncheckedUpdateWithoutChildBrandsInput = {
@@ -133628,6 +135520,7 @@ export namespace Prisma {
133628
135520
  shopifyStores?: ShopifyStoreUncheckedUpdateManyWithoutBrandNestedInput
133629
135521
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
133630
135522
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
135523
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
133631
135524
  }
133632
135525
 
133633
135526
  export type BrandUpsertWithWhereUniqueWithoutParentBrandInput = {
@@ -133646,6 +135539,43 @@ export namespace Prisma {
133646
135539
  data: XOR<BrandUpdateManyMutationInput, BrandUncheckedUpdateManyWithoutParentBrandInput>
133647
135540
  }
133648
135541
 
135542
+ export type EmailCredentialsUpsertWithWhereUniqueWithoutBrandInput = {
135543
+ where: EmailCredentialsWhereUniqueInput
135544
+ update: XOR<EmailCredentialsUpdateWithoutBrandInput, EmailCredentialsUncheckedUpdateWithoutBrandInput>
135545
+ create: XOR<EmailCredentialsCreateWithoutBrandInput, EmailCredentialsUncheckedCreateWithoutBrandInput>
135546
+ }
135547
+
135548
+ export type EmailCredentialsUpdateWithWhereUniqueWithoutBrandInput = {
135549
+ where: EmailCredentialsWhereUniqueInput
135550
+ data: XOR<EmailCredentialsUpdateWithoutBrandInput, EmailCredentialsUncheckedUpdateWithoutBrandInput>
135551
+ }
135552
+
135553
+ export type EmailCredentialsUpdateManyWithWhereWithoutBrandInput = {
135554
+ where: EmailCredentialsScalarWhereInput
135555
+ data: XOR<EmailCredentialsUpdateManyMutationInput, EmailCredentialsUncheckedUpdateManyWithoutBrandInput>
135556
+ }
135557
+
135558
+ export type EmailCredentialsScalarWhereInput = {
135559
+ AND?: EmailCredentialsScalarWhereInput | EmailCredentialsScalarWhereInput[]
135560
+ OR?: EmailCredentialsScalarWhereInput[]
135561
+ NOT?: EmailCredentialsScalarWhereInput | EmailCredentialsScalarWhereInput[]
135562
+ id?: IntFilter<"EmailCredentials"> | number
135563
+ smtpHost?: StringFilter<"EmailCredentials"> | string
135564
+ smtpUser?: StringFilter<"EmailCredentials"> | string
135565
+ smtpPassword?: StringFilter<"EmailCredentials"> | string
135566
+ smtpSenderName?: StringFilter<"EmailCredentials"> | string
135567
+ smtpSenderEmail?: StringFilter<"EmailCredentials"> | string
135568
+ smtpReplyToEmail?: StringFilter<"EmailCredentials"> | string
135569
+ smtpPort?: IntFilter<"EmailCredentials"> | number
135570
+ imapHost?: StringFilter<"EmailCredentials"> | string
135571
+ imapUser?: StringFilter<"EmailCredentials"> | string
135572
+ imapPassword?: StringFilter<"EmailCredentials"> | string
135573
+ imapPort?: IntFilter<"EmailCredentials"> | number
135574
+ imapIsSecure?: BoolFilter<"EmailCredentials"> | boolean
135575
+ metaData?: JsonFilter<"EmailCredentials">
135576
+ brandId?: IntFilter<"EmailCredentials"> | number
135577
+ }
135578
+
133649
135579
  export type SearchContactsCreateWithoutNextQtyPostInput = {
133650
135580
  type: string
133651
135581
  prevQty: number
@@ -133737,6 +135667,7 @@ export namespace Prisma {
133737
135667
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
133738
135668
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
133739
135669
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
135670
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
133740
135671
  }
133741
135672
 
133742
135673
  export type BrandUncheckedCreateWithoutSearchContactsInput = {
@@ -133779,6 +135710,7 @@ export namespace Prisma {
133779
135710
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
133780
135711
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
133781
135712
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
135713
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
133782
135714
  }
133783
135715
 
133784
135716
  export type BrandCreateOrConnectWithoutSearchContactsInput = {
@@ -133900,6 +135832,7 @@ export namespace Prisma {
133900
135832
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
133901
135833
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
133902
135834
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
135835
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
133903
135836
  }
133904
135837
 
133905
135838
  export type BrandUncheckedUpdateWithoutSearchContactsInput = {
@@ -133942,6 +135875,7 @@ export namespace Prisma {
133942
135875
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
133943
135876
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
133944
135877
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
135878
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
133945
135879
  }
133946
135880
 
133947
135881
  export type ReportCreditsCreateWithoutNextQtyPostInput = {
@@ -134035,6 +135969,7 @@ export namespace Prisma {
134035
135969
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
134036
135970
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
134037
135971
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
135972
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
134038
135973
  }
134039
135974
 
134040
135975
  export type BrandUncheckedCreateWithoutReportCreditsInput = {
@@ -134077,6 +136012,7 @@ export namespace Prisma {
134077
136012
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
134078
136013
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
134079
136014
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
136015
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
134080
136016
  }
134081
136017
 
134082
136018
  export type BrandCreateOrConnectWithoutReportCreditsInput = {
@@ -134198,6 +136134,7 @@ export namespace Prisma {
134198
136134
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
134199
136135
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
134200
136136
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
136137
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
134201
136138
  }
134202
136139
 
134203
136140
  export type BrandUncheckedUpdateWithoutReportCreditsInput = {
@@ -134240,6 +136177,7 @@ export namespace Prisma {
134240
136177
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
134241
136178
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
134242
136179
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
136180
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
134243
136181
  }
134244
136182
 
134245
136183
  export type BrandCreateWithoutImagesInput = {
@@ -134281,6 +136219,7 @@ export namespace Prisma {
134281
136219
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
134282
136220
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
134283
136221
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
136222
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
134284
136223
  }
134285
136224
 
134286
136225
  export type BrandUncheckedCreateWithoutImagesInput = {
@@ -134323,6 +136262,7 @@ export namespace Prisma {
134323
136262
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
134324
136263
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
134325
136264
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
136265
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
134326
136266
  }
134327
136267
 
134328
136268
  export type BrandCreateOrConnectWithoutImagesInput = {
@@ -134401,6 +136341,7 @@ export namespace Prisma {
134401
136341
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
134402
136342
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
134403
136343
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
136344
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
134404
136345
  }
134405
136346
 
134406
136347
  export type BrandUncheckedUpdateWithoutImagesInput = {
@@ -134443,6 +136384,7 @@ export namespace Prisma {
134443
136384
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
134444
136385
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
134445
136386
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
136387
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
134446
136388
  }
134447
136389
 
134448
136390
  export type BrandImageUpsertWithWhereUniqueWithoutBrandImageInput = {
@@ -134510,6 +136452,7 @@ export namespace Prisma {
134510
136452
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
134511
136453
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
134512
136454
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
136455
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
134513
136456
  }
134514
136457
 
134515
136458
  export type BrandUncheckedCreateWithoutCategoriesInput = {
@@ -134552,6 +136495,7 @@ export namespace Prisma {
134552
136495
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
134553
136496
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
134554
136497
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
136498
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
134555
136499
  }
134556
136500
 
134557
136501
  export type BrandCreateOrConnectWithoutCategoriesInput = {
@@ -134629,6 +136573,7 @@ export namespace Prisma {
134629
136573
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
134630
136574
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
134631
136575
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
136576
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
134632
136577
  }
134633
136578
 
134634
136579
  export type BrandUncheckedUpdateWithoutCategoriesInput = {
@@ -134671,6 +136616,7 @@ export namespace Prisma {
134671
136616
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
134672
136617
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
134673
136618
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
136619
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
134674
136620
  }
134675
136621
 
134676
136622
  export type CategoryUpsertWithoutBrandsInput = {
@@ -135754,6 +137700,7 @@ export namespace Prisma {
135754
137700
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
135755
137701
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
135756
137702
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
137703
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
135757
137704
  }
135758
137705
 
135759
137706
  export type BrandUncheckedCreateWithoutCampaignsInput = {
@@ -135796,6 +137743,7 @@ export namespace Prisma {
135796
137743
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
135797
137744
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
135798
137745
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
137746
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
135799
137747
  }
135800
137748
 
135801
137749
  export type BrandCreateOrConnectWithoutCampaignsInput = {
@@ -135866,6 +137814,7 @@ export namespace Prisma {
135866
137814
  outboundEmails?: SequenceOutboundEmailCreateNestedManyWithoutSequenceInput
135867
137815
  inboundEmails?: SequenceInboundEmailCreateNestedManyWithoutSequenceInput
135868
137816
  imapCheckpoints?: SequenceImapCheckpointCreateNestedManyWithoutSequenceInput
137817
+ emailCredentials: EmailCredentialsCreateNestedOneWithoutSequencesInput
135869
137818
  }
135870
137819
 
135871
137820
  export type SequenceUncheckedCreateWithoutCampaignInput = {
@@ -135876,6 +137825,7 @@ export namespace Prisma {
135876
137825
  completed?: boolean
135877
137826
  brandId: number
135878
137827
  enabled?: boolean
137828
+ emailCredentialsId: number
135879
137829
  steps?: SequenceStepUncheckedCreateNestedManyWithoutSequenceInput
135880
137830
  outboundEmails?: SequenceOutboundEmailUncheckedCreateNestedManyWithoutSequenceInput
135881
137831
  inboundEmails?: SequenceInboundEmailUncheckedCreateNestedManyWithoutSequenceInput
@@ -136268,6 +138218,7 @@ export namespace Prisma {
136268
138218
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
136269
138219
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
136270
138220
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
138221
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
136271
138222
  }
136272
138223
 
136273
138224
  export type BrandUncheckedUpdateWithoutCampaignsInput = {
@@ -136310,6 +138261,7 @@ export namespace Prisma {
136310
138261
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
136311
138262
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
136312
138263
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
138264
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
136313
138265
  }
136314
138266
 
136315
138267
  export type CreatorListUpsertWithWhereUniqueWithoutCampaignInput = {
@@ -138365,6 +140317,7 @@ export namespace Prisma {
138365
140317
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
138366
140318
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
138367
140319
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
140320
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
138368
140321
  }
138369
140322
 
138370
140323
  export type BrandUncheckedCreateWithoutProductListsInput = {
@@ -138407,6 +140360,7 @@ export namespace Prisma {
138407
140360
  shopifyStores?: ShopifyStoreUncheckedCreateNestedManyWithoutBrandInput
138408
140361
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
138409
140362
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
140363
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
138410
140364
  }
138411
140365
 
138412
140366
  export type BrandCreateOrConnectWithoutProductListsInput = {
@@ -138509,6 +140463,7 @@ export namespace Prisma {
138509
140463
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
138510
140464
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
138511
140465
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
140466
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
138512
140467
  }
138513
140468
 
138514
140469
  export type BrandUncheckedUpdateWithoutProductListsInput = {
@@ -138551,6 +140506,7 @@ export namespace Prisma {
138551
140506
  shopifyStores?: ShopifyStoreUncheckedUpdateManyWithoutBrandNestedInput
138552
140507
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
138553
140508
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
140509
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
138554
140510
  }
138555
140511
 
138556
140512
  export type ProductListItemUpsertWithWhereUniqueWithoutProductListInput = {
@@ -143472,6 +145428,7 @@ export namespace Prisma {
143472
145428
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
143473
145429
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
143474
145430
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
145431
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
143475
145432
  }
143476
145433
 
143477
145434
  export type BrandUncheckedCreateWithoutPendingBrandInvoicePaymentsInput = {
@@ -143514,6 +145471,7 @@ export namespace Prisma {
143514
145471
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
143515
145472
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
143516
145473
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
145474
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
143517
145475
  }
143518
145476
 
143519
145477
  export type BrandCreateOrConnectWithoutPendingBrandInvoicePaymentsInput = {
@@ -143571,6 +145529,7 @@ export namespace Prisma {
143571
145529
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
143572
145530
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
143573
145531
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
145532
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
143574
145533
  }
143575
145534
 
143576
145535
  export type BrandUncheckedUpdateWithoutPendingBrandInvoicePaymentsInput = {
@@ -143613,6 +145572,7 @@ export namespace Prisma {
143613
145572
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
143614
145573
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
143615
145574
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
145575
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
143616
145576
  }
143617
145577
 
143618
145578
  export type BrandCreateWithoutPaymentTransactionsInput = {
@@ -143654,6 +145614,7 @@ export namespace Prisma {
143654
145614
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
143655
145615
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
143656
145616
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
145617
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
143657
145618
  }
143658
145619
 
143659
145620
  export type BrandUncheckedCreateWithoutPaymentTransactionsInput = {
@@ -143696,6 +145657,7 @@ export namespace Prisma {
143696
145657
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
143697
145658
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
143698
145659
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
145660
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
143699
145661
  }
143700
145662
 
143701
145663
  export type BrandCreateOrConnectWithoutPaymentTransactionsInput = {
@@ -143923,6 +145885,7 @@ export namespace Prisma {
143923
145885
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
143924
145886
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
143925
145887
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
145888
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
143926
145889
  }
143927
145890
 
143928
145891
  export type BrandUncheckedUpdateWithoutPaymentTransactionsInput = {
@@ -143965,6 +145928,7 @@ export namespace Prisma {
143965
145928
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
143966
145929
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
143967
145930
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
145931
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
143968
145932
  }
143969
145933
 
143970
145934
  export type UserUpsertWithoutPaymentTransactionsInput = {
@@ -144689,6 +146653,7 @@ export namespace Prisma {
144689
146653
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
144690
146654
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
144691
146655
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
146656
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
144692
146657
  }
144693
146658
 
144694
146659
  export type BrandUncheckedCreateWithoutAffiliateLinksInput = {
@@ -144731,6 +146696,7 @@ export namespace Prisma {
144731
146696
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
144732
146697
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
144733
146698
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
146699
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
144734
146700
  }
144735
146701
 
144736
146702
  export type BrandCreateOrConnectWithoutAffiliateLinksInput = {
@@ -144820,6 +146786,7 @@ export namespace Prisma {
144820
146786
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
144821
146787
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
144822
146788
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
146789
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
144823
146790
  }
144824
146791
 
144825
146792
  export type BrandUncheckedUpdateWithoutAffiliateLinksInput = {
@@ -144862,6 +146829,7 @@ export namespace Prisma {
144862
146829
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
144863
146830
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
144864
146831
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
146832
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
144865
146833
  }
144866
146834
 
144867
146835
  export type AffiliateClickCreateWithoutAffiliateLinkInput = {
@@ -145876,6 +147844,7 @@ export namespace Prisma {
145876
147844
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
145877
147845
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
145878
147846
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
147847
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
145879
147848
  }
145880
147849
 
145881
147850
  export type BrandUncheckedCreateWithoutSavedfilesInput = {
@@ -145918,6 +147887,7 @@ export namespace Prisma {
145918
147887
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
145919
147888
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
145920
147889
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
147890
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
145921
147891
  }
145922
147892
 
145923
147893
  export type BrandCreateOrConnectWithoutSavedfilesInput = {
@@ -145975,6 +147945,7 @@ export namespace Prisma {
145975
147945
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
145976
147946
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
145977
147947
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
147948
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
145978
147949
  }
145979
147950
 
145980
147951
  export type BrandUncheckedUpdateWithoutSavedfilesInput = {
@@ -146017,6 +147988,7 @@ export namespace Prisma {
146017
147988
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
146018
147989
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
146019
147990
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
147991
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
146020
147992
  }
146021
147993
 
146022
147994
  export type BrandCreateWithoutCampaignInvitesInput = {
@@ -146058,6 +148030,7 @@ export namespace Prisma {
146058
148030
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
146059
148031
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
146060
148032
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
148033
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
146061
148034
  }
146062
148035
 
146063
148036
  export type BrandUncheckedCreateWithoutCampaignInvitesInput = {
@@ -146100,6 +148073,7 @@ export namespace Prisma {
146100
148073
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
146101
148074
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
146102
148075
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
148076
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
146103
148077
  }
146104
148078
 
146105
148079
  export type BrandCreateOrConnectWithoutCampaignInvitesInput = {
@@ -146425,6 +148399,7 @@ export namespace Prisma {
146425
148399
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
146426
148400
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
146427
148401
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
148402
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
146428
148403
  }
146429
148404
 
146430
148405
  export type BrandUncheckedUpdateWithoutCampaignInvitesInput = {
@@ -146467,6 +148442,7 @@ export namespace Prisma {
146467
148442
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
146468
148443
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
146469
148444
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
148445
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
146470
148446
  }
146471
148447
 
146472
148448
  export type CampaignUpsertWithoutCampaignInvitesInput = {
@@ -146831,6 +148807,7 @@ export namespace Prisma {
146831
148807
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
146832
148808
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
146833
148809
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
148810
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
146834
148811
  }
146835
148812
 
146836
148813
  export type BrandUncheckedCreateWithoutCreatorListsInput = {
@@ -146873,6 +148850,7 @@ export namespace Prisma {
146873
148850
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
146874
148851
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
146875
148852
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
148853
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
146876
148854
  }
146877
148855
 
146878
148856
  export type BrandCreateOrConnectWithoutCreatorListsInput = {
@@ -147039,6 +149017,7 @@ export namespace Prisma {
147039
149017
  outboundEmails?: SequenceOutboundEmailCreateNestedManyWithoutSequenceInput
147040
149018
  inboundEmails?: SequenceInboundEmailCreateNestedManyWithoutSequenceInput
147041
149019
  imapCheckpoints?: SequenceImapCheckpointCreateNestedManyWithoutSequenceInput
149020
+ emailCredentials: EmailCredentialsCreateNestedOneWithoutSequencesInput
147042
149021
  }
147043
149022
 
147044
149023
  export type SequenceUncheckedCreateWithoutCreatorListInput = {
@@ -147049,6 +149028,7 @@ export namespace Prisma {
147049
149028
  completed?: boolean
147050
149029
  brandId: number
147051
149030
  enabled?: boolean
149031
+ emailCredentialsId: number
147052
149032
  steps?: SequenceStepUncheckedCreateNestedManyWithoutSequenceInput
147053
149033
  outboundEmails?: SequenceOutboundEmailUncheckedCreateNestedManyWithoutSequenceInput
147054
149034
  inboundEmails?: SequenceInboundEmailUncheckedCreateNestedManyWithoutSequenceInput
@@ -147146,6 +149126,7 @@ export namespace Prisma {
147146
149126
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
147147
149127
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
147148
149128
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
149129
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
147149
149130
  }
147150
149131
 
147151
149132
  export type BrandUncheckedUpdateWithoutCreatorListsInput = {
@@ -147188,6 +149169,7 @@ export namespace Prisma {
147188
149169
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
147189
149170
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
147190
149171
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
149172
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
147191
149173
  }
147192
149174
 
147193
149175
  export type CampaignUpsertWithoutCreatorListsInput = {
@@ -148030,6 +150012,7 @@ export namespace Prisma {
148030
150012
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
148031
150013
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
148032
150014
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
150015
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
148033
150016
  }
148034
150017
 
148035
150018
  export type BrandUncheckedCreateWithoutMessageTemplateInput = {
@@ -148072,6 +150055,7 @@ export namespace Prisma {
148072
150055
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
148073
150056
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
148074
150057
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
150058
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
148075
150059
  }
148076
150060
 
148077
150061
  export type BrandCreateOrConnectWithoutMessageTemplateInput = {
@@ -148129,6 +150113,7 @@ export namespace Prisma {
148129
150113
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
148130
150114
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
148131
150115
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
150116
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
148132
150117
  }
148133
150118
 
148134
150119
  export type BrandUncheckedUpdateWithoutMessageTemplateInput = {
@@ -148171,6 +150156,7 @@ export namespace Prisma {
148171
150156
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
148172
150157
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
148173
150158
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
150159
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
148174
150160
  }
148175
150161
 
148176
150162
  export type BrandCreateWithoutEmailTemplatesInput = {
@@ -148212,6 +150198,7 @@ export namespace Prisma {
148212
150198
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
148213
150199
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
148214
150200
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
150201
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
148215
150202
  }
148216
150203
 
148217
150204
  export type BrandUncheckedCreateWithoutEmailTemplatesInput = {
@@ -148254,6 +150241,7 @@ export namespace Prisma {
148254
150241
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
148255
150242
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
148256
150243
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
150244
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
148257
150245
  }
148258
150246
 
148259
150247
  export type BrandCreateOrConnectWithoutEmailTemplatesInput = {
@@ -148340,6 +150328,7 @@ export namespace Prisma {
148340
150328
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
148341
150329
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
148342
150330
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
150331
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
148343
150332
  }
148344
150333
 
148345
150334
  export type BrandUncheckedUpdateWithoutEmailTemplatesInput = {
@@ -148382,6 +150371,7 @@ export namespace Prisma {
148382
150371
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
148383
150372
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
148384
150373
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
150374
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
148385
150375
  }
148386
150376
 
148387
150377
  export type SequenceStepUpsertWithWhereUniqueWithoutEmailTemplateInput = {
@@ -148452,6 +150442,7 @@ export namespace Prisma {
148452
150442
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
148453
150443
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
148454
150444
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
150445
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
148455
150446
  }
148456
150447
 
148457
150448
  export type BrandUncheckedCreateWithoutSocialListeningListsInput = {
@@ -148494,6 +150485,7 @@ export namespace Prisma {
148494
150485
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
148495
150486
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
148496
150487
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
150488
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
148497
150489
  }
148498
150490
 
148499
150491
  export type BrandCreateOrConnectWithoutSocialListeningListsInput = {
@@ -148570,6 +150562,7 @@ export namespace Prisma {
148570
150562
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
148571
150563
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
148572
150564
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
150565
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
148573
150566
  }
148574
150567
 
148575
150568
  export type BrandUncheckedUpdateWithoutSocialListeningListsInput = {
@@ -148612,6 +150605,7 @@ export namespace Prisma {
148612
150605
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
148613
150606
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
148614
150607
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
150608
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
148615
150609
  }
148616
150610
 
148617
150611
  export type ListToSocialPostUpsertWithWhereUniqueWithoutListInput = {
@@ -149519,6 +151513,7 @@ export namespace Prisma {
149519
151513
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
149520
151514
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
149521
151515
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
151516
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
149522
151517
  }
149523
151518
 
149524
151519
  export type BrandUncheckedCreateWithoutImpactRadiusEventsInput = {
@@ -149561,6 +151556,7 @@ export namespace Prisma {
149561
151556
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
149562
151557
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
149563
151558
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
151559
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
149564
151560
  }
149565
151561
 
149566
151562
  export type BrandCreateOrConnectWithoutImpactRadiusEventsInput = {
@@ -149802,6 +151798,7 @@ export namespace Prisma {
149802
151798
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
149803
151799
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
149804
151800
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
151801
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
149805
151802
  }
149806
151803
 
149807
151804
  export type BrandUncheckedUpdateWithoutImpactRadiusEventsInput = {
@@ -149844,6 +151841,7 @@ export namespace Prisma {
149844
151841
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
149845
151842
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
149846
151843
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
151844
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
149847
151845
  }
149848
151846
 
149849
151847
  export type OptInUpsertWithoutImpactRadiusEventInput = {
@@ -150069,6 +152067,7 @@ export namespace Prisma {
150069
152067
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
150070
152068
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
150071
152069
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
152070
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
150072
152071
  }
150073
152072
 
150074
152073
  export type BrandUncheckedCreateWithoutCjEventsInput = {
@@ -150111,6 +152110,7 @@ export namespace Prisma {
150111
152110
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
150112
152111
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
150113
152112
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
152113
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
150114
152114
  }
150115
152115
 
150116
152116
  export type BrandCreateOrConnectWithoutCjEventsInput = {
@@ -150352,6 +152352,7 @@ export namespace Prisma {
150352
152352
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
150353
152353
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
150354
152354
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
152355
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
150355
152356
  }
150356
152357
 
150357
152358
  export type BrandUncheckedUpdateWithoutCjEventsInput = {
@@ -150394,6 +152395,7 @@ export namespace Prisma {
150394
152395
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
150395
152396
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
150396
152397
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
152398
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
150397
152399
  }
150398
152400
 
150399
152401
  export type OptInUpsertWithoutCjEventInput = {
@@ -150663,6 +152665,7 @@ export namespace Prisma {
150663
152665
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
150664
152666
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
150665
152667
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
152668
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
150666
152669
  }
150667
152670
 
150668
152671
  export type BrandUncheckedCreateWithoutCreatorsearchfilterInput = {
@@ -150705,6 +152708,7 @@ export namespace Prisma {
150705
152708
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
150706
152709
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
150707
152710
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
152711
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
150708
152712
  }
150709
152713
 
150710
152714
  export type BrandCreateOrConnectWithoutCreatorsearchfilterInput = {
@@ -150762,6 +152766,7 @@ export namespace Prisma {
150762
152766
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
150763
152767
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
150764
152768
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
152769
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
150765
152770
  }
150766
152771
 
150767
152772
  export type BrandUncheckedUpdateWithoutCreatorsearchfilterInput = {
@@ -150804,6 +152809,7 @@ export namespace Prisma {
150804
152809
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
150805
152810
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
150806
152811
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
152812
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
150807
152813
  }
150808
152814
 
150809
152815
  export type CampaignCreateWithoutSequencesInput = {
@@ -151019,6 +153025,7 @@ export namespace Prisma {
151019
153025
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
151020
153026
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
151021
153027
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
153028
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
151022
153029
  }
151023
153030
 
151024
153031
  export type BrandUncheckedCreateWithoutSequencesInput = {
@@ -151061,6 +153068,7 @@ export namespace Prisma {
151061
153068
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
151062
153069
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
151063
153070
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
153071
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
151064
153072
  }
151065
153073
 
151066
153074
  export type BrandCreateOrConnectWithoutSequencesInput = {
@@ -151167,6 +153175,46 @@ export namespace Prisma {
151167
153175
  skipDuplicates?: boolean
151168
153176
  }
151169
153177
 
153178
+ export type EmailCredentialsCreateWithoutSequencesInput = {
153179
+ smtpHost: string
153180
+ smtpUser: string
153181
+ smtpPassword: string
153182
+ smtpSenderName: string
153183
+ smtpSenderEmail: string
153184
+ smtpReplyToEmail: string
153185
+ smtpPort: number
153186
+ imapHost: string
153187
+ imapUser: string
153188
+ imapPassword: string
153189
+ imapPort: number
153190
+ imapIsSecure: boolean
153191
+ metaData?: JsonNullValueInput | InputJsonValue
153192
+ brand: BrandCreateNestedOneWithoutSmtpCredentialsInput
153193
+ }
153194
+
153195
+ export type EmailCredentialsUncheckedCreateWithoutSequencesInput = {
153196
+ id?: number
153197
+ smtpHost: string
153198
+ smtpUser: string
153199
+ smtpPassword: string
153200
+ smtpSenderName: string
153201
+ smtpSenderEmail: string
153202
+ smtpReplyToEmail: string
153203
+ smtpPort: number
153204
+ imapHost: string
153205
+ imapUser: string
153206
+ imapPassword: string
153207
+ imapPort: number
153208
+ imapIsSecure: boolean
153209
+ metaData?: JsonNullValueInput | InputJsonValue
153210
+ brandId: number
153211
+ }
153212
+
153213
+ export type EmailCredentialsCreateOrConnectWithoutSequencesInput = {
153214
+ where: EmailCredentialsWhereUniqueInput
153215
+ create: XOR<EmailCredentialsCreateWithoutSequencesInput, EmailCredentialsUncheckedCreateWithoutSequencesInput>
153216
+ }
153217
+
151170
153218
  export type CampaignUpsertWithoutSequencesInput = {
151171
153219
  update: XOR<CampaignUpdateWithoutSequencesInput, CampaignUncheckedUpdateWithoutSequencesInput>
151172
153220
  create: XOR<CampaignCreateWithoutSequencesInput, CampaignUncheckedCreateWithoutSequencesInput>
@@ -151403,6 +153451,7 @@ export namespace Prisma {
151403
153451
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
151404
153452
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
151405
153453
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
153454
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
151406
153455
  }
151407
153456
 
151408
153457
  export type BrandUncheckedUpdateWithoutSequencesInput = {
@@ -151445,6 +153494,7 @@ export namespace Prisma {
151445
153494
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
151446
153495
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
151447
153496
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
153497
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
151448
153498
  }
151449
153499
 
151450
153500
  export type SequenceStepUpsertWithWhereUniqueWithoutSequenceInput = {
@@ -151511,6 +153561,52 @@ export namespace Prisma {
151511
153561
  data: XOR<SequenceImapCheckpointUpdateManyMutationInput, SequenceImapCheckpointUncheckedUpdateManyWithoutSequenceInput>
151512
153562
  }
151513
153563
 
153564
+ export type EmailCredentialsUpsertWithoutSequencesInput = {
153565
+ update: XOR<EmailCredentialsUpdateWithoutSequencesInput, EmailCredentialsUncheckedUpdateWithoutSequencesInput>
153566
+ create: XOR<EmailCredentialsCreateWithoutSequencesInput, EmailCredentialsUncheckedCreateWithoutSequencesInput>
153567
+ where?: EmailCredentialsWhereInput
153568
+ }
153569
+
153570
+ export type EmailCredentialsUpdateToOneWithWhereWithoutSequencesInput = {
153571
+ where?: EmailCredentialsWhereInput
153572
+ data: XOR<EmailCredentialsUpdateWithoutSequencesInput, EmailCredentialsUncheckedUpdateWithoutSequencesInput>
153573
+ }
153574
+
153575
+ export type EmailCredentialsUpdateWithoutSequencesInput = {
153576
+ smtpHost?: StringFieldUpdateOperationsInput | string
153577
+ smtpUser?: StringFieldUpdateOperationsInput | string
153578
+ smtpPassword?: StringFieldUpdateOperationsInput | string
153579
+ smtpSenderName?: StringFieldUpdateOperationsInput | string
153580
+ smtpSenderEmail?: StringFieldUpdateOperationsInput | string
153581
+ smtpReplyToEmail?: StringFieldUpdateOperationsInput | string
153582
+ smtpPort?: IntFieldUpdateOperationsInput | number
153583
+ imapHost?: StringFieldUpdateOperationsInput | string
153584
+ imapUser?: StringFieldUpdateOperationsInput | string
153585
+ imapPassword?: StringFieldUpdateOperationsInput | string
153586
+ imapPort?: IntFieldUpdateOperationsInput | number
153587
+ imapIsSecure?: BoolFieldUpdateOperationsInput | boolean
153588
+ metaData?: JsonNullValueInput | InputJsonValue
153589
+ brand?: BrandUpdateOneRequiredWithoutSmtpCredentialsNestedInput
153590
+ }
153591
+
153592
+ export type EmailCredentialsUncheckedUpdateWithoutSequencesInput = {
153593
+ id?: IntFieldUpdateOperationsInput | number
153594
+ smtpHost?: StringFieldUpdateOperationsInput | string
153595
+ smtpUser?: StringFieldUpdateOperationsInput | string
153596
+ smtpPassword?: StringFieldUpdateOperationsInput | string
153597
+ smtpSenderName?: StringFieldUpdateOperationsInput | string
153598
+ smtpSenderEmail?: StringFieldUpdateOperationsInput | string
153599
+ smtpReplyToEmail?: StringFieldUpdateOperationsInput | string
153600
+ smtpPort?: IntFieldUpdateOperationsInput | number
153601
+ imapHost?: StringFieldUpdateOperationsInput | string
153602
+ imapUser?: StringFieldUpdateOperationsInput | string
153603
+ imapPassword?: StringFieldUpdateOperationsInput | string
153604
+ imapPort?: IntFieldUpdateOperationsInput | number
153605
+ imapIsSecure?: BoolFieldUpdateOperationsInput | boolean
153606
+ metaData?: JsonNullValueInput | InputJsonValue
153607
+ brandId?: IntFieldUpdateOperationsInput | number
153608
+ }
153609
+
151514
153610
  export type SequenceCreateWithoutStepsInput = {
151515
153611
  title: string
151516
153612
  createdAt?: Date | string
@@ -151522,6 +153618,7 @@ export namespace Prisma {
151522
153618
  outboundEmails?: SequenceOutboundEmailCreateNestedManyWithoutSequenceInput
151523
153619
  inboundEmails?: SequenceInboundEmailCreateNestedManyWithoutSequenceInput
151524
153620
  imapCheckpoints?: SequenceImapCheckpointCreateNestedManyWithoutSequenceInput
153621
+ emailCredentials: EmailCredentialsCreateNestedOneWithoutSequencesInput
151525
153622
  }
151526
153623
 
151527
153624
  export type SequenceUncheckedCreateWithoutStepsInput = {
@@ -151533,6 +153630,7 @@ export namespace Prisma {
151533
153630
  completed?: boolean
151534
153631
  brandId: number
151535
153632
  enabled?: boolean
153633
+ emailCredentialsId: number
151536
153634
  outboundEmails?: SequenceOutboundEmailUncheckedCreateNestedManyWithoutSequenceInput
151537
153635
  inboundEmails?: SequenceInboundEmailUncheckedCreateNestedManyWithoutSequenceInput
151538
153636
  imapCheckpoints?: SequenceImapCheckpointUncheckedCreateNestedManyWithoutSequenceInput
@@ -151610,6 +153708,7 @@ export namespace Prisma {
151610
153708
  outboundEmails?: SequenceOutboundEmailUpdateManyWithoutSequenceNestedInput
151611
153709
  inboundEmails?: SequenceInboundEmailUpdateManyWithoutSequenceNestedInput
151612
153710
  imapCheckpoints?: SequenceImapCheckpointUpdateManyWithoutSequenceNestedInput
153711
+ emailCredentials?: EmailCredentialsUpdateOneRequiredWithoutSequencesNestedInput
151613
153712
  }
151614
153713
 
151615
153714
  export type SequenceUncheckedUpdateWithoutStepsInput = {
@@ -151621,6 +153720,7 @@ export namespace Prisma {
151621
153720
  completed?: BoolFieldUpdateOperationsInput | boolean
151622
153721
  brandId?: IntFieldUpdateOperationsInput | number
151623
153722
  enabled?: BoolFieldUpdateOperationsInput | boolean
153723
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
151624
153724
  outboundEmails?: SequenceOutboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
151625
153725
  inboundEmails?: SequenceInboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
151626
153726
  imapCheckpoints?: SequenceImapCheckpointUncheckedUpdateManyWithoutSequenceNestedInput
@@ -151681,6 +153781,7 @@ export namespace Prisma {
151681
153781
  steps?: SequenceStepCreateNestedManyWithoutSequenceInput
151682
153782
  inboundEmails?: SequenceInboundEmailCreateNestedManyWithoutSequenceInput
151683
153783
  imapCheckpoints?: SequenceImapCheckpointCreateNestedManyWithoutSequenceInput
153784
+ emailCredentials: EmailCredentialsCreateNestedOneWithoutSequencesInput
151684
153785
  }
151685
153786
 
151686
153787
  export type SequenceUncheckedCreateWithoutOutboundEmailsInput = {
@@ -151692,6 +153793,7 @@ export namespace Prisma {
151692
153793
  completed?: boolean
151693
153794
  brandId: number
151694
153795
  enabled?: boolean
153796
+ emailCredentialsId: number
151695
153797
  steps?: SequenceStepUncheckedCreateNestedManyWithoutSequenceInput
151696
153798
  inboundEmails?: SequenceInboundEmailUncheckedCreateNestedManyWithoutSequenceInput
151697
153799
  imapCheckpoints?: SequenceImapCheckpointUncheckedCreateNestedManyWithoutSequenceInput
@@ -151780,6 +153882,7 @@ export namespace Prisma {
151780
153882
  steps?: SequenceStepUpdateManyWithoutSequenceNestedInput
151781
153883
  inboundEmails?: SequenceInboundEmailUpdateManyWithoutSequenceNestedInput
151782
153884
  imapCheckpoints?: SequenceImapCheckpointUpdateManyWithoutSequenceNestedInput
153885
+ emailCredentials?: EmailCredentialsUpdateOneRequiredWithoutSequencesNestedInput
151783
153886
  }
151784
153887
 
151785
153888
  export type SequenceUncheckedUpdateWithoutOutboundEmailsInput = {
@@ -151791,6 +153894,7 @@ export namespace Prisma {
151791
153894
  completed?: BoolFieldUpdateOperationsInput | boolean
151792
153895
  brandId?: IntFieldUpdateOperationsInput | number
151793
153896
  enabled?: BoolFieldUpdateOperationsInput | boolean
153897
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
151794
153898
  steps?: SequenceStepUncheckedUpdateManyWithoutSequenceNestedInput
151795
153899
  inboundEmails?: SequenceInboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
151796
153900
  imapCheckpoints?: SequenceImapCheckpointUncheckedUpdateManyWithoutSequenceNestedInput
@@ -151875,6 +153979,7 @@ export namespace Prisma {
151875
153979
  steps?: SequenceStepCreateNestedManyWithoutSequenceInput
151876
153980
  outboundEmails?: SequenceOutboundEmailCreateNestedManyWithoutSequenceInput
151877
153981
  imapCheckpoints?: SequenceImapCheckpointCreateNestedManyWithoutSequenceInput
153982
+ emailCredentials: EmailCredentialsCreateNestedOneWithoutSequencesInput
151878
153983
  }
151879
153984
 
151880
153985
  export type SequenceUncheckedCreateWithoutInboundEmailsInput = {
@@ -151886,6 +153991,7 @@ export namespace Prisma {
151886
153991
  completed?: boolean
151887
153992
  brandId: number
151888
153993
  enabled?: boolean
153994
+ emailCredentialsId: number
151889
153995
  steps?: SequenceStepUncheckedCreateNestedManyWithoutSequenceInput
151890
153996
  outboundEmails?: SequenceOutboundEmailUncheckedCreateNestedManyWithoutSequenceInput
151891
153997
  imapCheckpoints?: SequenceImapCheckpointUncheckedCreateNestedManyWithoutSequenceInput
@@ -151950,6 +154056,7 @@ export namespace Prisma {
151950
154056
  steps?: SequenceStepUpdateManyWithoutSequenceNestedInput
151951
154057
  outboundEmails?: SequenceOutboundEmailUpdateManyWithoutSequenceNestedInput
151952
154058
  imapCheckpoints?: SequenceImapCheckpointUpdateManyWithoutSequenceNestedInput
154059
+ emailCredentials?: EmailCredentialsUpdateOneRequiredWithoutSequencesNestedInput
151953
154060
  }
151954
154061
 
151955
154062
  export type SequenceUncheckedUpdateWithoutInboundEmailsInput = {
@@ -151961,6 +154068,7 @@ export namespace Prisma {
151961
154068
  completed?: BoolFieldUpdateOperationsInput | boolean
151962
154069
  brandId?: IntFieldUpdateOperationsInput | number
151963
154070
  enabled?: BoolFieldUpdateOperationsInput | boolean
154071
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
151964
154072
  steps?: SequenceStepUncheckedUpdateManyWithoutSequenceNestedInput
151965
154073
  outboundEmails?: SequenceOutboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
151966
154074
  imapCheckpoints?: SequenceImapCheckpointUncheckedUpdateManyWithoutSequenceNestedInput
@@ -152015,6 +154123,7 @@ export namespace Prisma {
152015
154123
  steps?: SequenceStepCreateNestedManyWithoutSequenceInput
152016
154124
  outboundEmails?: SequenceOutboundEmailCreateNestedManyWithoutSequenceInput
152017
154125
  inboundEmails?: SequenceInboundEmailCreateNestedManyWithoutSequenceInput
154126
+ emailCredentials: EmailCredentialsCreateNestedOneWithoutSequencesInput
152018
154127
  }
152019
154128
 
152020
154129
  export type SequenceUncheckedCreateWithoutImapCheckpointsInput = {
@@ -152026,6 +154135,7 @@ export namespace Prisma {
152026
154135
  completed?: boolean
152027
154136
  brandId: number
152028
154137
  enabled?: boolean
154138
+ emailCredentialsId: number
152029
154139
  steps?: SequenceStepUncheckedCreateNestedManyWithoutSequenceInput
152030
154140
  outboundEmails?: SequenceOutboundEmailUncheckedCreateNestedManyWithoutSequenceInput
152031
154141
  inboundEmails?: SequenceInboundEmailUncheckedCreateNestedManyWithoutSequenceInput
@@ -152090,6 +154200,7 @@ export namespace Prisma {
152090
154200
  steps?: SequenceStepUpdateManyWithoutSequenceNestedInput
152091
154201
  outboundEmails?: SequenceOutboundEmailUpdateManyWithoutSequenceNestedInput
152092
154202
  inboundEmails?: SequenceInboundEmailUpdateManyWithoutSequenceNestedInput
154203
+ emailCredentials?: EmailCredentialsUpdateOneRequiredWithoutSequencesNestedInput
152093
154204
  }
152094
154205
 
152095
154206
  export type SequenceUncheckedUpdateWithoutImapCheckpointsInput = {
@@ -152101,6 +154212,7 @@ export namespace Prisma {
152101
154212
  completed?: BoolFieldUpdateOperationsInput | boolean
152102
154213
  brandId?: IntFieldUpdateOperationsInput | number
152103
154214
  enabled?: BoolFieldUpdateOperationsInput | boolean
154215
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
152104
154216
  steps?: SequenceStepUncheckedUpdateManyWithoutSequenceNestedInput
152105
154217
  outboundEmails?: SequenceOutboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
152106
154218
  inboundEmails?: SequenceInboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
@@ -152214,6 +154326,7 @@ export namespace Prisma {
152214
154326
  brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
152215
154327
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
152216
154328
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
154329
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
152217
154330
  }
152218
154331
 
152219
154332
  export type BrandUncheckedCreateWithoutShopifyStoresInput = {
@@ -152256,6 +154369,7 @@ export namespace Prisma {
152256
154369
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
152257
154370
  brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
152258
154371
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
154372
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
152259
154373
  }
152260
154374
 
152261
154375
  export type BrandCreateOrConnectWithoutShopifyStoresInput = {
@@ -152342,6 +154456,7 @@ export namespace Prisma {
152342
154456
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
152343
154457
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
152344
154458
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
154459
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
152345
154460
  }
152346
154461
 
152347
154462
  export type BrandUncheckedUpdateWithoutShopifyStoresInput = {
@@ -152384,6 +154499,7 @@ export namespace Prisma {
152384
154499
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
152385
154500
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
152386
154501
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
154502
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
152387
154503
  }
152388
154504
 
152389
154505
  export type CampaignToShopifyProductCreateWithoutShopifyProductInput = {
@@ -153888,6 +156004,7 @@ export namespace Prisma {
153888
156004
  productLists?: ProductListCreateNestedManyWithoutBrandInput
153889
156005
  parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
153890
156006
  childBrands?: BrandCreateNestedManyWithoutParentBrandInput
156007
+ smtpCredentials?: EmailCredentialsCreateNestedManyWithoutBrandInput
153891
156008
  }
153892
156009
 
153893
156010
  export type BrandUncheckedCreateWithoutBrandContractsInput = {
@@ -153930,6 +156047,7 @@ export namespace Prisma {
153930
156047
  shopifyStores?: ShopifyStoreUncheckedCreateNestedManyWithoutBrandInput
153931
156048
  productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
153932
156049
  childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
156050
+ smtpCredentials?: EmailCredentialsUncheckedCreateNestedManyWithoutBrandInput
153933
156051
  }
153934
156052
 
153935
156053
  export type BrandCreateOrConnectWithoutBrandContractsInput = {
@@ -154199,6 +156317,7 @@ export namespace Prisma {
154199
156317
  productLists?: ProductListUpdateManyWithoutBrandNestedInput
154200
156318
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
154201
156319
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
156320
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
154202
156321
  }
154203
156322
 
154204
156323
  export type BrandUncheckedUpdateWithoutBrandContractsInput = {
@@ -154241,6 +156360,7 @@ export namespace Prisma {
154241
156360
  shopifyStores?: ShopifyStoreUncheckedUpdateManyWithoutBrandNestedInput
154242
156361
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
154243
156362
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
156363
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
154244
156364
  }
154245
156365
 
154246
156366
  export type UserUpsertWithoutContractsCreatedInput = {
@@ -154467,6 +156587,247 @@ export namespace Prisma {
154467
156587
  contractsCreated?: BrandContractUncheckedUpdateManyWithoutCreatedByUserNestedInput
154468
156588
  }
154469
156589
 
156590
+ export type BrandCreateWithoutSmtpCredentialsInput = {
156591
+ name: string
156592
+ description?: string | null
156593
+ website: string
156594
+ monthlyContacts?: number | null
156595
+ monthlyReports?: number | null
156596
+ lastContactDistribution?: Date | string | null
156597
+ logoUrl?: string | null
156598
+ affiliateBaseUrl?: string | null
156599
+ affiliateCommission?: number | null
156600
+ extraData?: JsonNullValueInput | InputJsonValue
156601
+ searchName?: string | null
156602
+ dedicatedSpecialist?: UserCreateNestedOneWithoutAssignedBrandsInput
156603
+ instagramProfile?: InstagramProfileCreateNestedOneWithoutBrandInput
156604
+ youtubeProfile?: YoutubeProfileCreateNestedOneWithoutBrandInput
156605
+ tiktokProfile?: TiktokProfileCreateNestedOneWithoutBrandInput
156606
+ campaigns?: CampaignCreateNestedManyWithoutBrandInput
156607
+ brandUsers?: BrandUserProfileCreateNestedManyWithoutBrandInput
156608
+ searchContacts?: SearchContactsCreateNestedManyWithoutBrandInput
156609
+ reportCredits?: ReportCreditsCreateNestedManyWithoutBrandInput
156610
+ categories?: BrandToCategoryCreateNestedManyWithoutCampaignInput
156611
+ paymentTransactions?: PaymentTransactionCreateNestedManyWithoutBrandInput
156612
+ PendingBrandInvoicePayments?: PendingBrandInvoicePaymentCreateNestedManyWithoutBrandInput
156613
+ savedfiles?: SavedFileCreateNestedManyWithoutBrandInput
156614
+ creatorLists?: CreatorListCreateNestedManyWithoutBrandInput
156615
+ affiliateLinks?: BrandAffiliateLinkCreateNestedManyWithoutBrandInput
156616
+ messageTemplate?: MessageTemplateCreateNestedManyWithoutBrandInput
156617
+ emailTemplates?: EmailTemplateCreateNestedManyWithoutBrandInput
156618
+ socialListeningLists?: SocialListeningListCreateNestedManyWithoutBrandInput
156619
+ campaignInvites?: CampaignInviteCreateNestedManyWithoutBrandInput
156620
+ images?: BrandToImageCreateNestedManyWithoutBrandInput
156621
+ creatorsearchfilter?: CreatorSearchFilterCreateNestedManyWithoutBrandInput
156622
+ sequences?: SequenceCreateNestedManyWithoutBrandInput
156623
+ impactRadiusEvents?: ImpactRadiusEventCreateNestedManyWithoutBrandInput
156624
+ cjEvents?: CjEventCreateNestedManyWithoutBrandInput
156625
+ shopifyStores?: ShopifyStoreCreateNestedManyWithoutBrandInput
156626
+ productLists?: ProductListCreateNestedManyWithoutBrandInput
156627
+ brandContracts?: BrandContractCreateNestedManyWithoutBrandInput
156628
+ parentBrand?: BrandCreateNestedOneWithoutChildBrandsInput
156629
+ childBrands?: BrandCreateNestedManyWithoutParentBrandInput
156630
+ }
156631
+
156632
+ export type BrandUncheckedCreateWithoutSmtpCredentialsInput = {
156633
+ id?: number
156634
+ name: string
156635
+ description?: string | null
156636
+ website: string
156637
+ monthlyContacts?: number | null
156638
+ monthlyReports?: number | null
156639
+ lastContactDistribution?: Date | string | null
156640
+ logoUrl?: string | null
156641
+ affiliateBaseUrl?: string | null
156642
+ affiliateCommission?: number | null
156643
+ extraData?: JsonNullValueInput | InputJsonValue
156644
+ specialistId?: number | null
156645
+ parentBrandId?: number | null
156646
+ searchName?: string | null
156647
+ instagramProfile?: InstagramProfileUncheckedCreateNestedOneWithoutBrandInput
156648
+ youtubeProfile?: YoutubeProfileUncheckedCreateNestedOneWithoutBrandInput
156649
+ tiktokProfile?: TiktokProfileUncheckedCreateNestedOneWithoutBrandInput
156650
+ campaigns?: CampaignUncheckedCreateNestedManyWithoutBrandInput
156651
+ brandUsers?: BrandUserProfileUncheckedCreateNestedManyWithoutBrandInput
156652
+ searchContacts?: SearchContactsUncheckedCreateNestedManyWithoutBrandInput
156653
+ reportCredits?: ReportCreditsUncheckedCreateNestedManyWithoutBrandInput
156654
+ categories?: BrandToCategoryUncheckedCreateNestedManyWithoutCampaignInput
156655
+ paymentTransactions?: PaymentTransactionUncheckedCreateNestedManyWithoutBrandInput
156656
+ PendingBrandInvoicePayments?: PendingBrandInvoicePaymentUncheckedCreateNestedManyWithoutBrandInput
156657
+ savedfiles?: SavedFileUncheckedCreateNestedManyWithoutBrandInput
156658
+ creatorLists?: CreatorListUncheckedCreateNestedManyWithoutBrandInput
156659
+ affiliateLinks?: BrandAffiliateLinkUncheckedCreateNestedManyWithoutBrandInput
156660
+ messageTemplate?: MessageTemplateUncheckedCreateNestedManyWithoutBrandInput
156661
+ emailTemplates?: EmailTemplateUncheckedCreateNestedManyWithoutBrandInput
156662
+ socialListeningLists?: SocialListeningListUncheckedCreateNestedManyWithoutBrandInput
156663
+ campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutBrandInput
156664
+ images?: BrandToImageUncheckedCreateNestedManyWithoutBrandInput
156665
+ creatorsearchfilter?: CreatorSearchFilterUncheckedCreateNestedManyWithoutBrandInput
156666
+ sequences?: SequenceUncheckedCreateNestedManyWithoutBrandInput
156667
+ impactRadiusEvents?: ImpactRadiusEventUncheckedCreateNestedManyWithoutBrandInput
156668
+ cjEvents?: CjEventUncheckedCreateNestedManyWithoutBrandInput
156669
+ shopifyStores?: ShopifyStoreUncheckedCreateNestedManyWithoutBrandInput
156670
+ productLists?: ProductListUncheckedCreateNestedManyWithoutBrandInput
156671
+ brandContracts?: BrandContractUncheckedCreateNestedManyWithoutBrandInput
156672
+ childBrands?: BrandUncheckedCreateNestedManyWithoutParentBrandInput
156673
+ }
156674
+
156675
+ export type BrandCreateOrConnectWithoutSmtpCredentialsInput = {
156676
+ where: BrandWhereUniqueInput
156677
+ create: XOR<BrandCreateWithoutSmtpCredentialsInput, BrandUncheckedCreateWithoutSmtpCredentialsInput>
156678
+ }
156679
+
156680
+ export type SequenceCreateWithoutEmailCredentialsInput = {
156681
+ title: string
156682
+ createdAt?: Date | string
156683
+ completed?: boolean
156684
+ enabled?: boolean
156685
+ campaign: CampaignCreateNestedOneWithoutSequencesInput
156686
+ creatorList: CreatorListCreateNestedOneWithoutSequencesInput
156687
+ brand: BrandCreateNestedOneWithoutSequencesInput
156688
+ steps?: SequenceStepCreateNestedManyWithoutSequenceInput
156689
+ outboundEmails?: SequenceOutboundEmailCreateNestedManyWithoutSequenceInput
156690
+ inboundEmails?: SequenceInboundEmailCreateNestedManyWithoutSequenceInput
156691
+ imapCheckpoints?: SequenceImapCheckpointCreateNestedManyWithoutSequenceInput
156692
+ }
156693
+
156694
+ export type SequenceUncheckedCreateWithoutEmailCredentialsInput = {
156695
+ id?: number
156696
+ campaignId: number
156697
+ creatorListId: number
156698
+ title: string
156699
+ createdAt?: Date | string
156700
+ completed?: boolean
156701
+ brandId: number
156702
+ enabled?: boolean
156703
+ steps?: SequenceStepUncheckedCreateNestedManyWithoutSequenceInput
156704
+ outboundEmails?: SequenceOutboundEmailUncheckedCreateNestedManyWithoutSequenceInput
156705
+ inboundEmails?: SequenceInboundEmailUncheckedCreateNestedManyWithoutSequenceInput
156706
+ imapCheckpoints?: SequenceImapCheckpointUncheckedCreateNestedManyWithoutSequenceInput
156707
+ }
156708
+
156709
+ export type SequenceCreateOrConnectWithoutEmailCredentialsInput = {
156710
+ where: SequenceWhereUniqueInput
156711
+ create: XOR<SequenceCreateWithoutEmailCredentialsInput, SequenceUncheckedCreateWithoutEmailCredentialsInput>
156712
+ }
156713
+
156714
+ export type SequenceCreateManyEmailCredentialsInputEnvelope = {
156715
+ data: SequenceCreateManyEmailCredentialsInput | SequenceCreateManyEmailCredentialsInput[]
156716
+ skipDuplicates?: boolean
156717
+ }
156718
+
156719
+ export type BrandUpsertWithoutSmtpCredentialsInput = {
156720
+ update: XOR<BrandUpdateWithoutSmtpCredentialsInput, BrandUncheckedUpdateWithoutSmtpCredentialsInput>
156721
+ create: XOR<BrandCreateWithoutSmtpCredentialsInput, BrandUncheckedCreateWithoutSmtpCredentialsInput>
156722
+ where?: BrandWhereInput
156723
+ }
156724
+
156725
+ export type BrandUpdateToOneWithWhereWithoutSmtpCredentialsInput = {
156726
+ where?: BrandWhereInput
156727
+ data: XOR<BrandUpdateWithoutSmtpCredentialsInput, BrandUncheckedUpdateWithoutSmtpCredentialsInput>
156728
+ }
156729
+
156730
+ export type BrandUpdateWithoutSmtpCredentialsInput = {
156731
+ name?: StringFieldUpdateOperationsInput | string
156732
+ description?: NullableStringFieldUpdateOperationsInput | string | null
156733
+ website?: StringFieldUpdateOperationsInput | string
156734
+ monthlyContacts?: NullableIntFieldUpdateOperationsInput | number | null
156735
+ monthlyReports?: NullableIntFieldUpdateOperationsInput | number | null
156736
+ lastContactDistribution?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
156737
+ logoUrl?: NullableStringFieldUpdateOperationsInput | string | null
156738
+ affiliateBaseUrl?: NullableStringFieldUpdateOperationsInput | string | null
156739
+ affiliateCommission?: NullableFloatFieldUpdateOperationsInput | number | null
156740
+ extraData?: JsonNullValueInput | InputJsonValue
156741
+ searchName?: NullableStringFieldUpdateOperationsInput | string | null
156742
+ dedicatedSpecialist?: UserUpdateOneWithoutAssignedBrandsNestedInput
156743
+ instagramProfile?: InstagramProfileUpdateOneWithoutBrandNestedInput
156744
+ youtubeProfile?: YoutubeProfileUpdateOneWithoutBrandNestedInput
156745
+ tiktokProfile?: TiktokProfileUpdateOneWithoutBrandNestedInput
156746
+ campaigns?: CampaignUpdateManyWithoutBrandNestedInput
156747
+ brandUsers?: BrandUserProfileUpdateManyWithoutBrandNestedInput
156748
+ searchContacts?: SearchContactsUpdateManyWithoutBrandNestedInput
156749
+ reportCredits?: ReportCreditsUpdateManyWithoutBrandNestedInput
156750
+ categories?: BrandToCategoryUpdateManyWithoutCampaignNestedInput
156751
+ paymentTransactions?: PaymentTransactionUpdateManyWithoutBrandNestedInput
156752
+ PendingBrandInvoicePayments?: PendingBrandInvoicePaymentUpdateManyWithoutBrandNestedInput
156753
+ savedfiles?: SavedFileUpdateManyWithoutBrandNestedInput
156754
+ creatorLists?: CreatorListUpdateManyWithoutBrandNestedInput
156755
+ affiliateLinks?: BrandAffiliateLinkUpdateManyWithoutBrandNestedInput
156756
+ messageTemplate?: MessageTemplateUpdateManyWithoutBrandNestedInput
156757
+ emailTemplates?: EmailTemplateUpdateManyWithoutBrandNestedInput
156758
+ socialListeningLists?: SocialListeningListUpdateManyWithoutBrandNestedInput
156759
+ campaignInvites?: CampaignInviteUpdateManyWithoutBrandNestedInput
156760
+ images?: BrandToImageUpdateManyWithoutBrandNestedInput
156761
+ creatorsearchfilter?: CreatorSearchFilterUpdateManyWithoutBrandNestedInput
156762
+ sequences?: SequenceUpdateManyWithoutBrandNestedInput
156763
+ impactRadiusEvents?: ImpactRadiusEventUpdateManyWithoutBrandNestedInput
156764
+ cjEvents?: CjEventUpdateManyWithoutBrandNestedInput
156765
+ shopifyStores?: ShopifyStoreUpdateManyWithoutBrandNestedInput
156766
+ productLists?: ProductListUpdateManyWithoutBrandNestedInput
156767
+ brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
156768
+ parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
156769
+ childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
156770
+ }
156771
+
156772
+ export type BrandUncheckedUpdateWithoutSmtpCredentialsInput = {
156773
+ id?: IntFieldUpdateOperationsInput | number
156774
+ name?: StringFieldUpdateOperationsInput | string
156775
+ description?: NullableStringFieldUpdateOperationsInput | string | null
156776
+ website?: StringFieldUpdateOperationsInput | string
156777
+ monthlyContacts?: NullableIntFieldUpdateOperationsInput | number | null
156778
+ monthlyReports?: NullableIntFieldUpdateOperationsInput | number | null
156779
+ lastContactDistribution?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
156780
+ logoUrl?: NullableStringFieldUpdateOperationsInput | string | null
156781
+ affiliateBaseUrl?: NullableStringFieldUpdateOperationsInput | string | null
156782
+ affiliateCommission?: NullableFloatFieldUpdateOperationsInput | number | null
156783
+ extraData?: JsonNullValueInput | InputJsonValue
156784
+ specialistId?: NullableIntFieldUpdateOperationsInput | number | null
156785
+ parentBrandId?: NullableIntFieldUpdateOperationsInput | number | null
156786
+ searchName?: NullableStringFieldUpdateOperationsInput | string | null
156787
+ instagramProfile?: InstagramProfileUncheckedUpdateOneWithoutBrandNestedInput
156788
+ youtubeProfile?: YoutubeProfileUncheckedUpdateOneWithoutBrandNestedInput
156789
+ tiktokProfile?: TiktokProfileUncheckedUpdateOneWithoutBrandNestedInput
156790
+ campaigns?: CampaignUncheckedUpdateManyWithoutBrandNestedInput
156791
+ brandUsers?: BrandUserProfileUncheckedUpdateManyWithoutBrandNestedInput
156792
+ searchContacts?: SearchContactsUncheckedUpdateManyWithoutBrandNestedInput
156793
+ reportCredits?: ReportCreditsUncheckedUpdateManyWithoutBrandNestedInput
156794
+ categories?: BrandToCategoryUncheckedUpdateManyWithoutCampaignNestedInput
156795
+ paymentTransactions?: PaymentTransactionUncheckedUpdateManyWithoutBrandNestedInput
156796
+ PendingBrandInvoicePayments?: PendingBrandInvoicePaymentUncheckedUpdateManyWithoutBrandNestedInput
156797
+ savedfiles?: SavedFileUncheckedUpdateManyWithoutBrandNestedInput
156798
+ creatorLists?: CreatorListUncheckedUpdateManyWithoutBrandNestedInput
156799
+ affiliateLinks?: BrandAffiliateLinkUncheckedUpdateManyWithoutBrandNestedInput
156800
+ messageTemplate?: MessageTemplateUncheckedUpdateManyWithoutBrandNestedInput
156801
+ emailTemplates?: EmailTemplateUncheckedUpdateManyWithoutBrandNestedInput
156802
+ socialListeningLists?: SocialListeningListUncheckedUpdateManyWithoutBrandNestedInput
156803
+ campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutBrandNestedInput
156804
+ images?: BrandToImageUncheckedUpdateManyWithoutBrandNestedInput
156805
+ creatorsearchfilter?: CreatorSearchFilterUncheckedUpdateManyWithoutBrandNestedInput
156806
+ sequences?: SequenceUncheckedUpdateManyWithoutBrandNestedInput
156807
+ impactRadiusEvents?: ImpactRadiusEventUncheckedUpdateManyWithoutBrandNestedInput
156808
+ cjEvents?: CjEventUncheckedUpdateManyWithoutBrandNestedInput
156809
+ shopifyStores?: ShopifyStoreUncheckedUpdateManyWithoutBrandNestedInput
156810
+ productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
156811
+ brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
156812
+ childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
156813
+ }
156814
+
156815
+ export type SequenceUpsertWithWhereUniqueWithoutEmailCredentialsInput = {
156816
+ where: SequenceWhereUniqueInput
156817
+ update: XOR<SequenceUpdateWithoutEmailCredentialsInput, SequenceUncheckedUpdateWithoutEmailCredentialsInput>
156818
+ create: XOR<SequenceCreateWithoutEmailCredentialsInput, SequenceUncheckedCreateWithoutEmailCredentialsInput>
156819
+ }
156820
+
156821
+ export type SequenceUpdateWithWhereUniqueWithoutEmailCredentialsInput = {
156822
+ where: SequenceWhereUniqueInput
156823
+ data: XOR<SequenceUpdateWithoutEmailCredentialsInput, SequenceUncheckedUpdateWithoutEmailCredentialsInput>
156824
+ }
156825
+
156826
+ export type SequenceUpdateManyWithWhereWithoutEmailCredentialsInput = {
156827
+ where: SequenceScalarWhereInput
156828
+ data: XOR<SequenceUpdateManyMutationInput, SequenceUncheckedUpdateManyWithoutEmailCredentialsInput>
156829
+ }
156830
+
154470
156831
  export type UserCreateManyReferrerInput = {
154471
156832
  id?: number
154472
156833
  idmId?: string | null
@@ -155018,6 +157379,7 @@ export namespace Prisma {
155018
157379
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
155019
157380
  parentBrand?: BrandUpdateOneWithoutChildBrandsNestedInput
155020
157381
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
157382
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
155021
157383
  }
155022
157384
 
155023
157385
  export type BrandUncheckedUpdateWithoutDedicatedSpecialistInput = {
@@ -155060,6 +157422,7 @@ export namespace Prisma {
155060
157422
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
155061
157423
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
155062
157424
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
157425
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
155063
157426
  }
155064
157427
 
155065
157428
  export type BrandUncheckedUpdateManyWithoutDedicatedSpecialistInput = {
@@ -155871,6 +158234,7 @@ export namespace Prisma {
155871
158234
  createdAt?: Date | string
155872
158235
  completed?: boolean
155873
158236
  enabled?: boolean
158237
+ emailCredentialsId: number
155874
158238
  }
155875
158239
 
155876
158240
  export type ImpactRadiusEventCreateManyBrandInput = {
@@ -155942,6 +158306,23 @@ export namespace Prisma {
155942
158306
  searchName?: string | null
155943
158307
  }
155944
158308
 
158309
+ export type EmailCredentialsCreateManyBrandInput = {
158310
+ id?: number
158311
+ smtpHost: string
158312
+ smtpUser: string
158313
+ smtpPassword: string
158314
+ smtpSenderName: string
158315
+ smtpSenderEmail: string
158316
+ smtpReplyToEmail: string
158317
+ smtpPort: number
158318
+ imapHost: string
158319
+ imapUser: string
158320
+ imapPassword: string
158321
+ imapPort: number
158322
+ imapIsSecure: boolean
158323
+ metaData?: JsonNullValueInput | InputJsonValue
158324
+ }
158325
+
155945
158326
  export type CampaignUpdateWithoutBrandInput = {
155946
158327
  title?: StringFieldUpdateOperationsInput | string
155947
158328
  slug?: NullableStringFieldUpdateOperationsInput | string | null
@@ -156556,6 +158937,7 @@ export namespace Prisma {
156556
158937
  outboundEmails?: SequenceOutboundEmailUpdateManyWithoutSequenceNestedInput
156557
158938
  inboundEmails?: SequenceInboundEmailUpdateManyWithoutSequenceNestedInput
156558
158939
  imapCheckpoints?: SequenceImapCheckpointUpdateManyWithoutSequenceNestedInput
158940
+ emailCredentials?: EmailCredentialsUpdateOneRequiredWithoutSequencesNestedInput
156559
158941
  }
156560
158942
 
156561
158943
  export type SequenceUncheckedUpdateWithoutBrandInput = {
@@ -156566,6 +158948,7 @@ export namespace Prisma {
156566
158948
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
156567
158949
  completed?: BoolFieldUpdateOperationsInput | boolean
156568
158950
  enabled?: BoolFieldUpdateOperationsInput | boolean
158951
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
156569
158952
  steps?: SequenceStepUncheckedUpdateManyWithoutSequenceNestedInput
156570
158953
  outboundEmails?: SequenceOutboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
156571
158954
  inboundEmails?: SequenceInboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
@@ -156580,6 +158963,7 @@ export namespace Prisma {
156580
158963
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
156581
158964
  completed?: BoolFieldUpdateOperationsInput | boolean
156582
158965
  enabled?: BoolFieldUpdateOperationsInput | boolean
158966
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
156583
158967
  }
156584
158968
 
156585
158969
  export type ImpactRadiusEventUpdateWithoutBrandInput = {
@@ -156781,6 +159165,7 @@ export namespace Prisma {
156781
159165
  productLists?: ProductListUpdateManyWithoutBrandNestedInput
156782
159166
  brandContracts?: BrandContractUpdateManyWithoutBrandNestedInput
156783
159167
  childBrands?: BrandUpdateManyWithoutParentBrandNestedInput
159168
+ smtpCredentials?: EmailCredentialsUpdateManyWithoutBrandNestedInput
156784
159169
  }
156785
159170
 
156786
159171
  export type BrandUncheckedUpdateWithoutParentBrandInput = {
@@ -156823,6 +159208,7 @@ export namespace Prisma {
156823
159208
  productLists?: ProductListUncheckedUpdateManyWithoutBrandNestedInput
156824
159209
  brandContracts?: BrandContractUncheckedUpdateManyWithoutBrandNestedInput
156825
159210
  childBrands?: BrandUncheckedUpdateManyWithoutParentBrandNestedInput
159211
+ smtpCredentials?: EmailCredentialsUncheckedUpdateManyWithoutBrandNestedInput
156826
159212
  }
156827
159213
 
156828
159214
  export type BrandUncheckedUpdateManyWithoutParentBrandInput = {
@@ -156841,6 +159227,58 @@ export namespace Prisma {
156841
159227
  searchName?: NullableStringFieldUpdateOperationsInput | string | null
156842
159228
  }
156843
159229
 
159230
+ export type EmailCredentialsUpdateWithoutBrandInput = {
159231
+ smtpHost?: StringFieldUpdateOperationsInput | string
159232
+ smtpUser?: StringFieldUpdateOperationsInput | string
159233
+ smtpPassword?: StringFieldUpdateOperationsInput | string
159234
+ smtpSenderName?: StringFieldUpdateOperationsInput | string
159235
+ smtpSenderEmail?: StringFieldUpdateOperationsInput | string
159236
+ smtpReplyToEmail?: StringFieldUpdateOperationsInput | string
159237
+ smtpPort?: IntFieldUpdateOperationsInput | number
159238
+ imapHost?: StringFieldUpdateOperationsInput | string
159239
+ imapUser?: StringFieldUpdateOperationsInput | string
159240
+ imapPassword?: StringFieldUpdateOperationsInput | string
159241
+ imapPort?: IntFieldUpdateOperationsInput | number
159242
+ imapIsSecure?: BoolFieldUpdateOperationsInput | boolean
159243
+ metaData?: JsonNullValueInput | InputJsonValue
159244
+ sequences?: SequenceUpdateManyWithoutEmailCredentialsNestedInput
159245
+ }
159246
+
159247
+ export type EmailCredentialsUncheckedUpdateWithoutBrandInput = {
159248
+ id?: IntFieldUpdateOperationsInput | number
159249
+ smtpHost?: StringFieldUpdateOperationsInput | string
159250
+ smtpUser?: StringFieldUpdateOperationsInput | string
159251
+ smtpPassword?: StringFieldUpdateOperationsInput | string
159252
+ smtpSenderName?: StringFieldUpdateOperationsInput | string
159253
+ smtpSenderEmail?: StringFieldUpdateOperationsInput | string
159254
+ smtpReplyToEmail?: StringFieldUpdateOperationsInput | string
159255
+ smtpPort?: IntFieldUpdateOperationsInput | number
159256
+ imapHost?: StringFieldUpdateOperationsInput | string
159257
+ imapUser?: StringFieldUpdateOperationsInput | string
159258
+ imapPassword?: StringFieldUpdateOperationsInput | string
159259
+ imapPort?: IntFieldUpdateOperationsInput | number
159260
+ imapIsSecure?: BoolFieldUpdateOperationsInput | boolean
159261
+ metaData?: JsonNullValueInput | InputJsonValue
159262
+ sequences?: SequenceUncheckedUpdateManyWithoutEmailCredentialsNestedInput
159263
+ }
159264
+
159265
+ export type EmailCredentialsUncheckedUpdateManyWithoutBrandInput = {
159266
+ id?: IntFieldUpdateOperationsInput | number
159267
+ smtpHost?: StringFieldUpdateOperationsInput | string
159268
+ smtpUser?: StringFieldUpdateOperationsInput | string
159269
+ smtpPassword?: StringFieldUpdateOperationsInput | string
159270
+ smtpSenderName?: StringFieldUpdateOperationsInput | string
159271
+ smtpSenderEmail?: StringFieldUpdateOperationsInput | string
159272
+ smtpReplyToEmail?: StringFieldUpdateOperationsInput | string
159273
+ smtpPort?: IntFieldUpdateOperationsInput | number
159274
+ imapHost?: StringFieldUpdateOperationsInput | string
159275
+ imapUser?: StringFieldUpdateOperationsInput | string
159276
+ imapPassword?: StringFieldUpdateOperationsInput | string
159277
+ imapPort?: IntFieldUpdateOperationsInput | number
159278
+ imapIsSecure?: BoolFieldUpdateOperationsInput | boolean
159279
+ metaData?: JsonNullValueInput | InputJsonValue
159280
+ }
159281
+
156844
159282
  export type BrandImageCreateManyBrandImageInput = {
156845
159283
  id?: number
156846
159284
  url: string
@@ -157057,6 +159495,7 @@ export namespace Prisma {
157057
159495
  completed?: boolean
157058
159496
  brandId: number
157059
159497
  enabled?: boolean
159498
+ emailCredentialsId: number
157060
159499
  }
157061
159500
 
157062
159501
  export type ExternalAffiliateClickCreateManyCampaignInput = {
@@ -157540,6 +159979,7 @@ export namespace Prisma {
157540
159979
  outboundEmails?: SequenceOutboundEmailUpdateManyWithoutSequenceNestedInput
157541
159980
  inboundEmails?: SequenceInboundEmailUpdateManyWithoutSequenceNestedInput
157542
159981
  imapCheckpoints?: SequenceImapCheckpointUpdateManyWithoutSequenceNestedInput
159982
+ emailCredentials?: EmailCredentialsUpdateOneRequiredWithoutSequencesNestedInput
157543
159983
  }
157544
159984
 
157545
159985
  export type SequenceUncheckedUpdateWithoutCampaignInput = {
@@ -157550,6 +159990,7 @@ export namespace Prisma {
157550
159990
  completed?: BoolFieldUpdateOperationsInput | boolean
157551
159991
  brandId?: IntFieldUpdateOperationsInput | number
157552
159992
  enabled?: BoolFieldUpdateOperationsInput | boolean
159993
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
157553
159994
  steps?: SequenceStepUncheckedUpdateManyWithoutSequenceNestedInput
157554
159995
  outboundEmails?: SequenceOutboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
157555
159996
  inboundEmails?: SequenceInboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
@@ -157564,6 +160005,7 @@ export namespace Prisma {
157564
160005
  completed?: BoolFieldUpdateOperationsInput | boolean
157565
160006
  brandId?: IntFieldUpdateOperationsInput | number
157566
160007
  enabled?: BoolFieldUpdateOperationsInput | boolean
160008
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
157567
160009
  }
157568
160010
 
157569
160011
  export type ExternalAffiliateClickUpdateWithoutCampaignInput = {
@@ -158697,6 +161139,7 @@ export namespace Prisma {
158697
161139
  completed?: boolean
158698
161140
  brandId: number
158699
161141
  enabled?: boolean
161142
+ emailCredentialsId: number
158700
161143
  }
158701
161144
 
158702
161145
  export type CreatorListItemUpdateWithoutCreatorListInput = {
@@ -158748,6 +161191,7 @@ export namespace Prisma {
158748
161191
  outboundEmails?: SequenceOutboundEmailUpdateManyWithoutSequenceNestedInput
158749
161192
  inboundEmails?: SequenceInboundEmailUpdateManyWithoutSequenceNestedInput
158750
161193
  imapCheckpoints?: SequenceImapCheckpointUpdateManyWithoutSequenceNestedInput
161194
+ emailCredentials?: EmailCredentialsUpdateOneRequiredWithoutSequencesNestedInput
158751
161195
  }
158752
161196
 
158753
161197
  export type SequenceUncheckedUpdateWithoutCreatorListInput = {
@@ -158758,6 +161202,7 @@ export namespace Prisma {
158758
161202
  completed?: BoolFieldUpdateOperationsInput | boolean
158759
161203
  brandId?: IntFieldUpdateOperationsInput | number
158760
161204
  enabled?: BoolFieldUpdateOperationsInput | boolean
161205
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
158761
161206
  steps?: SequenceStepUncheckedUpdateManyWithoutSequenceNestedInput
158762
161207
  outboundEmails?: SequenceOutboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
158763
161208
  inboundEmails?: SequenceInboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
@@ -158772,6 +161217,7 @@ export namespace Prisma {
158772
161217
  completed?: BoolFieldUpdateOperationsInput | boolean
158773
161218
  brandId?: IntFieldUpdateOperationsInput | number
158774
161219
  enabled?: BoolFieldUpdateOperationsInput | boolean
161220
+ emailCredentialsId?: IntFieldUpdateOperationsInput | number
158775
161221
  }
158776
161222
 
158777
161223
  export type SequenceOutboundEmailCreateManyCreatorListInput = {
@@ -159267,6 +161713,57 @@ export namespace Prisma {
159267
161713
  created?: DateTimeFieldUpdateOperationsInput | Date | string
159268
161714
  }
159269
161715
 
161716
+ export type SequenceCreateManyEmailCredentialsInput = {
161717
+ id?: number
161718
+ campaignId: number
161719
+ creatorListId: number
161720
+ title: string
161721
+ createdAt?: Date | string
161722
+ completed?: boolean
161723
+ brandId: number
161724
+ enabled?: boolean
161725
+ }
161726
+
161727
+ export type SequenceUpdateWithoutEmailCredentialsInput = {
161728
+ title?: StringFieldUpdateOperationsInput | string
161729
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
161730
+ completed?: BoolFieldUpdateOperationsInput | boolean
161731
+ enabled?: BoolFieldUpdateOperationsInput | boolean
161732
+ campaign?: CampaignUpdateOneRequiredWithoutSequencesNestedInput
161733
+ creatorList?: CreatorListUpdateOneRequiredWithoutSequencesNestedInput
161734
+ brand?: BrandUpdateOneRequiredWithoutSequencesNestedInput
161735
+ steps?: SequenceStepUpdateManyWithoutSequenceNestedInput
161736
+ outboundEmails?: SequenceOutboundEmailUpdateManyWithoutSequenceNestedInput
161737
+ inboundEmails?: SequenceInboundEmailUpdateManyWithoutSequenceNestedInput
161738
+ imapCheckpoints?: SequenceImapCheckpointUpdateManyWithoutSequenceNestedInput
161739
+ }
161740
+
161741
+ export type SequenceUncheckedUpdateWithoutEmailCredentialsInput = {
161742
+ id?: IntFieldUpdateOperationsInput | number
161743
+ campaignId?: IntFieldUpdateOperationsInput | number
161744
+ creatorListId?: IntFieldUpdateOperationsInput | number
161745
+ title?: StringFieldUpdateOperationsInput | string
161746
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
161747
+ completed?: BoolFieldUpdateOperationsInput | boolean
161748
+ brandId?: IntFieldUpdateOperationsInput | number
161749
+ enabled?: BoolFieldUpdateOperationsInput | boolean
161750
+ steps?: SequenceStepUncheckedUpdateManyWithoutSequenceNestedInput
161751
+ outboundEmails?: SequenceOutboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
161752
+ inboundEmails?: SequenceInboundEmailUncheckedUpdateManyWithoutSequenceNestedInput
161753
+ imapCheckpoints?: SequenceImapCheckpointUncheckedUpdateManyWithoutSequenceNestedInput
161754
+ }
161755
+
161756
+ export type SequenceUncheckedUpdateManyWithoutEmailCredentialsInput = {
161757
+ id?: IntFieldUpdateOperationsInput | number
161758
+ campaignId?: IntFieldUpdateOperationsInput | number
161759
+ creatorListId?: IntFieldUpdateOperationsInput | number
161760
+ title?: StringFieldUpdateOperationsInput | string
161761
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
161762
+ completed?: BoolFieldUpdateOperationsInput | boolean
161763
+ brandId?: IntFieldUpdateOperationsInput | number
161764
+ enabled?: BoolFieldUpdateOperationsInput | boolean
161765
+ }
161766
+
159270
161767
 
159271
161768
 
159272
161769
  /**
@@ -159396,6 +161893,10 @@ export namespace Prisma {
159396
161893
  * @deprecated Use ShopifyDiscountCodeCountOutputTypeDefaultArgs instead
159397
161894
  */
159398
161895
  export type ShopifyDiscountCodeCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShopifyDiscountCodeCountOutputTypeDefaultArgs<ExtArgs>
161896
+ /**
161897
+ * @deprecated Use EmailCredentialsCountOutputTypeDefaultArgs instead
161898
+ */
161899
+ export type EmailCredentialsCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = EmailCredentialsCountOutputTypeDefaultArgs<ExtArgs>
159399
161900
  /**
159400
161901
  * @deprecated Use UserDefaultArgs instead
159401
161902
  */
@@ -159716,6 +162217,10 @@ export namespace Prisma {
159716
162217
  * @deprecated Use BrandContractDefaultArgs instead
159717
162218
  */
159718
162219
  export type BrandContractArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = BrandContractDefaultArgs<ExtArgs>
162220
+ /**
162221
+ * @deprecated Use EmailCredentialsDefaultArgs instead
162222
+ */
162223
+ export type EmailCredentialsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = EmailCredentialsDefaultArgs<ExtArgs>
159719
162224
 
159720
162225
  /**
159721
162226
  * Batch Payload for updateMany & deleteMany & createMany