@creator.co/creatorco-prisma-client 1.0.56 → 1.0.57-alpha-fe4a8b1

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
@@ -263,6 +263,11 @@ export type AffiliateClick = $Result.DefaultSelection<Prisma.$AffiliateClickPayl
263
263
  *
264
264
  */
265
265
  export type AffiliateEvent = $Result.DefaultSelection<Prisma.$AffiliateEventPayload>
266
+ /**
267
+ * Model AffiliatePayoutBatch
268
+ *
269
+ */
270
+ export type AffiliatePayoutBatch = $Result.DefaultSelection<Prisma.$AffiliatePayoutBatchPayload>
266
271
  /**
267
272
  * Model SavedFile
268
273
  *
@@ -1080,6 +1085,16 @@ export class PrismaClient<
1080
1085
  */
1081
1086
  get affiliateEvent(): Prisma.AffiliateEventDelegate<ExtArgs>;
1082
1087
 
1088
+ /**
1089
+ * `prisma.affiliatePayoutBatch`: Exposes CRUD operations for the **AffiliatePayoutBatch** model.
1090
+ * Example usage:
1091
+ * ```ts
1092
+ * // Fetch zero or more AffiliatePayoutBatches
1093
+ * const affiliatePayoutBatches = await prisma.affiliatePayoutBatch.findMany()
1094
+ * ```
1095
+ */
1096
+ get affiliatePayoutBatch(): Prisma.AffiliatePayoutBatchDelegate<ExtArgs>;
1097
+
1083
1098
  /**
1084
1099
  * `prisma.savedFile`: Exposes CRUD operations for the **SavedFile** model.
1085
1100
  * Example usage:
@@ -1876,6 +1891,7 @@ export namespace Prisma {
1876
1891
  AffiliateLink: 'AffiliateLink',
1877
1892
  AffiliateClick: 'AffiliateClick',
1878
1893
  AffiliateEvent: 'AffiliateEvent',
1894
+ AffiliatePayoutBatch: 'AffiliatePayoutBatch',
1879
1895
  SavedFile: 'SavedFile',
1880
1896
  CampaignInvite: 'CampaignInvite',
1881
1897
  CreatorList: 'CreatorList',
@@ -1919,7 +1935,7 @@ export namespace Prisma {
1919
1935
 
1920
1936
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1921
1937
  meta: {
1922
- modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'campaignToSocialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'cjEvent' | 'shareASaleEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct' | 'shopifyDiscountCode' | 'shopifySale' | 'creatorFlag'
1938
+ modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'campaignToSocialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | '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'
1923
1939
  txIsolationLevel: Prisma.TransactionIsolationLevel
1924
1940
  },
1925
1941
  model: {
@@ -5423,6 +5439,76 @@ export namespace Prisma {
5423
5439
  }
5424
5440
  }
5425
5441
  }
5442
+ AffiliatePayoutBatch: {
5443
+ payload: Prisma.$AffiliatePayoutBatchPayload<ExtArgs>
5444
+ fields: Prisma.AffiliatePayoutBatchFieldRefs
5445
+ operations: {
5446
+ findUnique: {
5447
+ args: Prisma.AffiliatePayoutBatchFindUniqueArgs<ExtArgs>,
5448
+ result: $Utils.PayloadToResult<Prisma.$AffiliatePayoutBatchPayload> | null
5449
+ }
5450
+ findUniqueOrThrow: {
5451
+ args: Prisma.AffiliatePayoutBatchFindUniqueOrThrowArgs<ExtArgs>,
5452
+ result: $Utils.PayloadToResult<Prisma.$AffiliatePayoutBatchPayload>
5453
+ }
5454
+ findFirst: {
5455
+ args: Prisma.AffiliatePayoutBatchFindFirstArgs<ExtArgs>,
5456
+ result: $Utils.PayloadToResult<Prisma.$AffiliatePayoutBatchPayload> | null
5457
+ }
5458
+ findFirstOrThrow: {
5459
+ args: Prisma.AffiliatePayoutBatchFindFirstOrThrowArgs<ExtArgs>,
5460
+ result: $Utils.PayloadToResult<Prisma.$AffiliatePayoutBatchPayload>
5461
+ }
5462
+ findMany: {
5463
+ args: Prisma.AffiliatePayoutBatchFindManyArgs<ExtArgs>,
5464
+ result: $Utils.PayloadToResult<Prisma.$AffiliatePayoutBatchPayload>[]
5465
+ }
5466
+ create: {
5467
+ args: Prisma.AffiliatePayoutBatchCreateArgs<ExtArgs>,
5468
+ result: $Utils.PayloadToResult<Prisma.$AffiliatePayoutBatchPayload>
5469
+ }
5470
+ createMany: {
5471
+ args: Prisma.AffiliatePayoutBatchCreateManyArgs<ExtArgs>,
5472
+ result: Prisma.BatchPayload
5473
+ }
5474
+ createManyAndReturn: {
5475
+ args: Prisma.AffiliatePayoutBatchCreateManyAndReturnArgs<ExtArgs>,
5476
+ result: $Utils.PayloadToResult<Prisma.$AffiliatePayoutBatchPayload>[]
5477
+ }
5478
+ delete: {
5479
+ args: Prisma.AffiliatePayoutBatchDeleteArgs<ExtArgs>,
5480
+ result: $Utils.PayloadToResult<Prisma.$AffiliatePayoutBatchPayload>
5481
+ }
5482
+ update: {
5483
+ args: Prisma.AffiliatePayoutBatchUpdateArgs<ExtArgs>,
5484
+ result: $Utils.PayloadToResult<Prisma.$AffiliatePayoutBatchPayload>
5485
+ }
5486
+ deleteMany: {
5487
+ args: Prisma.AffiliatePayoutBatchDeleteManyArgs<ExtArgs>,
5488
+ result: Prisma.BatchPayload
5489
+ }
5490
+ updateMany: {
5491
+ args: Prisma.AffiliatePayoutBatchUpdateManyArgs<ExtArgs>,
5492
+ result: Prisma.BatchPayload
5493
+ }
5494
+ upsert: {
5495
+ args: Prisma.AffiliatePayoutBatchUpsertArgs<ExtArgs>,
5496
+ result: $Utils.PayloadToResult<Prisma.$AffiliatePayoutBatchPayload>
5497
+ }
5498
+ aggregate: {
5499
+ args: Prisma.AffiliatePayoutBatchAggregateArgs<ExtArgs>,
5500
+ result: $Utils.Optional<AggregateAffiliatePayoutBatch>
5501
+ }
5502
+ groupBy: {
5503
+ args: Prisma.AffiliatePayoutBatchGroupByArgs<ExtArgs>,
5504
+ result: $Utils.Optional<AffiliatePayoutBatchGroupByOutputType>[]
5505
+ }
5506
+ count: {
5507
+ args: Prisma.AffiliatePayoutBatchCountArgs<ExtArgs>,
5508
+ result: $Utils.Optional<AffiliatePayoutBatchCountAggregateOutputType> | number
5509
+ }
5510
+ }
5511
+ }
5426
5512
  SavedFile: {
5427
5513
  payload: Prisma.$SavedFilePayload<ExtArgs>
5428
5514
  fields: Prisma.SavedFileFieldRefs
@@ -7490,6 +7576,7 @@ export namespace Prisma {
7490
7576
  flagsAssigned: number
7491
7577
  flagsCreated: number
7492
7578
  flagsEdited: number
7579
+ affiliatePayoutBatches: number
7493
7580
  }
7494
7581
 
7495
7582
  export type UserCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -7510,6 +7597,7 @@ export namespace Prisma {
7510
7597
  flagsAssigned?: boolean | UserCountOutputTypeCountFlagsAssignedArgs
7511
7598
  flagsCreated?: boolean | UserCountOutputTypeCountFlagsCreatedArgs
7512
7599
  flagsEdited?: boolean | UserCountOutputTypeCountFlagsEditedArgs
7600
+ affiliatePayoutBatches?: boolean | UserCountOutputTypeCountAffiliatePayoutBatchesArgs
7513
7601
  }
7514
7602
 
7515
7603
  // Custom InputTypes
@@ -7642,6 +7730,13 @@ export namespace Prisma {
7642
7730
  where?: CreatorFlagWhereInput
7643
7731
  }
7644
7732
 
7733
+ /**
7734
+ * UserCountOutputType without action
7735
+ */
7736
+ export type UserCountOutputTypeCountAffiliatePayoutBatchesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7737
+ where?: AffiliatePayoutBatchWhereInput
7738
+ }
7739
+
7645
7740
 
7646
7741
  /**
7647
7742
  * Count Type CreatorProfileCountOutputType
@@ -8718,6 +8813,37 @@ export namespace Prisma {
8718
8813
  }
8719
8814
 
8720
8815
 
8816
+ /**
8817
+ * Count Type AffiliatePayoutBatchCountOutputType
8818
+ */
8819
+
8820
+ export type AffiliatePayoutBatchCountOutputType = {
8821
+ affiliateEvents: number
8822
+ }
8823
+
8824
+ export type AffiliatePayoutBatchCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8825
+ affiliateEvents?: boolean | AffiliatePayoutBatchCountOutputTypeCountAffiliateEventsArgs
8826
+ }
8827
+
8828
+ // Custom InputTypes
8829
+ /**
8830
+ * AffiliatePayoutBatchCountOutputType without action
8831
+ */
8832
+ export type AffiliatePayoutBatchCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8833
+ /**
8834
+ * Select specific fields to fetch from the AffiliatePayoutBatchCountOutputType
8835
+ */
8836
+ select?: AffiliatePayoutBatchCountOutputTypeSelect<ExtArgs> | null
8837
+ }
8838
+
8839
+ /**
8840
+ * AffiliatePayoutBatchCountOutputType without action
8841
+ */
8842
+ export type AffiliatePayoutBatchCountOutputTypeCountAffiliateEventsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8843
+ where?: AffiliateEventWhereInput
8844
+ }
8845
+
8846
+
8721
8847
  /**
8722
8848
  * Count Type CreatorListCountOutputType
8723
8849
  */
@@ -9467,6 +9593,7 @@ export namespace Prisma {
9467
9593
  flagsAssigned?: boolean | User$flagsAssignedArgs<ExtArgs>
9468
9594
  flagsCreated?: boolean | User$flagsCreatedArgs<ExtArgs>
9469
9595
  flagsEdited?: boolean | User$flagsEditedArgs<ExtArgs>
9596
+ affiliatePayoutBatches?: boolean | User$affiliatePayoutBatchesArgs<ExtArgs>
9470
9597
  _count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
9471
9598
  }, ExtArgs["result"]["user"]>
9472
9599
 
@@ -9547,6 +9674,7 @@ export namespace Prisma {
9547
9674
  flagsAssigned?: boolean | User$flagsAssignedArgs<ExtArgs>
9548
9675
  flagsCreated?: boolean | User$flagsCreatedArgs<ExtArgs>
9549
9676
  flagsEdited?: boolean | User$flagsEditedArgs<ExtArgs>
9677
+ affiliatePayoutBatches?: boolean | User$affiliatePayoutBatchesArgs<ExtArgs>
9550
9678
  _count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
9551
9679
  }
9552
9680
  export type UserIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -9581,6 +9709,7 @@ export namespace Prisma {
9581
9709
  flagsAssigned: Prisma.$CreatorFlagPayload<ExtArgs>[]
9582
9710
  flagsCreated: Prisma.$CreatorFlagPayload<ExtArgs>[]
9583
9711
  flagsEdited: Prisma.$CreatorFlagPayload<ExtArgs>[]
9712
+ affiliatePayoutBatches: Prisma.$AffiliatePayoutBatchPayload<ExtArgs>[]
9584
9713
  }
9585
9714
  scalars: $Extensions.GetPayloadResult<{
9586
9715
  id: number
@@ -10045,6 +10174,8 @@ export namespace Prisma {
10045
10174
 
10046
10175
  flagsEdited<T extends User$flagsEditedArgs<ExtArgs> = {}>(args?: Subset<T, User$flagsEditedArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CreatorFlagPayload<ExtArgs>, T, 'findMany'> | Null>;
10047
10176
 
10177
+ affiliatePayoutBatches<T extends User$affiliatePayoutBatchesArgs<ExtArgs> = {}>(args?: Subset<T, User$affiliatePayoutBatchesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findMany'> | Null>;
10178
+
10048
10179
  /**
10049
10180
  * Attaches callbacks for the resolution and/or rejection of the Promise.
10050
10181
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -10872,6 +11003,26 @@ export namespace Prisma {
10872
11003
  distinct?: CreatorFlagScalarFieldEnum | CreatorFlagScalarFieldEnum[]
10873
11004
  }
10874
11005
 
11006
+ /**
11007
+ * User.affiliatePayoutBatches
11008
+ */
11009
+ export type User$affiliatePayoutBatchesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11010
+ /**
11011
+ * Select specific fields to fetch from the AffiliatePayoutBatch
11012
+ */
11013
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
11014
+ /**
11015
+ * Choose, which related nodes to fetch as well
11016
+ */
11017
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
11018
+ where?: AffiliatePayoutBatchWhereInput
11019
+ orderBy?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput | AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput[]
11020
+ cursor?: AffiliatePayoutBatchWhereUniqueInput
11021
+ take?: number
11022
+ skip?: number
11023
+ distinct?: AffiliatePayoutBatchScalarFieldEnum | AffiliatePayoutBatchScalarFieldEnum[]
11024
+ }
11025
+
10875
11026
  /**
10876
11027
  * User without action
10877
11028
  */
@@ -64124,6 +64275,7 @@ export namespace Prisma {
64124
64275
  commissionAmount: number | null
64125
64276
  commissionPercent: number | null
64126
64277
  affiliateClickId: number | null
64278
+ affiliatePayoutBatchId: number | null
64127
64279
  }
64128
64280
 
64129
64281
  export type AffiliateEventSumAggregateOutputType = {
@@ -64132,6 +64284,7 @@ export namespace Prisma {
64132
64284
  commissionAmount: number | null
64133
64285
  commissionPercent: number | null
64134
64286
  affiliateClickId: number | null
64287
+ affiliatePayoutBatchId: number | null
64135
64288
  }
64136
64289
 
64137
64290
  export type AffiliateEventMinAggregateOutputType = {
@@ -64143,7 +64296,10 @@ export namespace Prisma {
64143
64296
  revenue: number | null
64144
64297
  commissionAmount: number | null
64145
64298
  commissionPercent: number | null
64299
+ platform: string | null
64300
+ externalOrderId: string | null
64146
64301
  affiliateClickId: number | null
64302
+ affiliatePayoutBatchId: number | null
64147
64303
  }
64148
64304
 
64149
64305
  export type AffiliateEventMaxAggregateOutputType = {
@@ -64155,7 +64311,10 @@ export namespace Prisma {
64155
64311
  revenue: number | null
64156
64312
  commissionAmount: number | null
64157
64313
  commissionPercent: number | null
64314
+ platform: string | null
64315
+ externalOrderId: string | null
64158
64316
  affiliateClickId: number | null
64317
+ affiliatePayoutBatchId: number | null
64159
64318
  }
64160
64319
 
64161
64320
  export type AffiliateEventCountAggregateOutputType = {
@@ -64167,8 +64326,11 @@ export namespace Prisma {
64167
64326
  revenue: number
64168
64327
  commissionAmount: number
64169
64328
  commissionPercent: number
64329
+ platform: number
64330
+ externalOrderId: number
64170
64331
  metaData: number
64171
64332
  affiliateClickId: number
64333
+ affiliatePayoutBatchId: number
64172
64334
  _all: number
64173
64335
  }
64174
64336
 
@@ -64179,6 +64341,7 @@ export namespace Prisma {
64179
64341
  commissionAmount?: true
64180
64342
  commissionPercent?: true
64181
64343
  affiliateClickId?: true
64344
+ affiliatePayoutBatchId?: true
64182
64345
  }
64183
64346
 
64184
64347
  export type AffiliateEventSumAggregateInputType = {
@@ -64187,6 +64350,7 @@ export namespace Prisma {
64187
64350
  commissionAmount?: true
64188
64351
  commissionPercent?: true
64189
64352
  affiliateClickId?: true
64353
+ affiliatePayoutBatchId?: true
64190
64354
  }
64191
64355
 
64192
64356
  export type AffiliateEventMinAggregateInputType = {
@@ -64198,7 +64362,10 @@ export namespace Prisma {
64198
64362
  revenue?: true
64199
64363
  commissionAmount?: true
64200
64364
  commissionPercent?: true
64365
+ platform?: true
64366
+ externalOrderId?: true
64201
64367
  affiliateClickId?: true
64368
+ affiliatePayoutBatchId?: true
64202
64369
  }
64203
64370
 
64204
64371
  export type AffiliateEventMaxAggregateInputType = {
@@ -64210,7 +64377,10 @@ export namespace Prisma {
64210
64377
  revenue?: true
64211
64378
  commissionAmount?: true
64212
64379
  commissionPercent?: true
64380
+ platform?: true
64381
+ externalOrderId?: true
64213
64382
  affiliateClickId?: true
64383
+ affiliatePayoutBatchId?: true
64214
64384
  }
64215
64385
 
64216
64386
  export type AffiliateEventCountAggregateInputType = {
@@ -64222,8 +64392,11 @@ export namespace Prisma {
64222
64392
  revenue?: true
64223
64393
  commissionAmount?: true
64224
64394
  commissionPercent?: true
64395
+ platform?: true
64396
+ externalOrderId?: true
64225
64397
  metaData?: true
64226
64398
  affiliateClickId?: true
64399
+ affiliatePayoutBatchId?: true
64227
64400
  _all?: true
64228
64401
  }
64229
64402
 
@@ -64322,8 +64495,11 @@ export namespace Prisma {
64322
64495
  revenue: number | null
64323
64496
  commissionAmount: number | null
64324
64497
  commissionPercent: number | null
64498
+ platform: string | null
64499
+ externalOrderId: string | null
64325
64500
  metaData: JsonValue
64326
64501
  affiliateClickId: number
64502
+ affiliatePayoutBatchId: number | null
64327
64503
  _count: AffiliateEventCountAggregateOutputType | null
64328
64504
  _avg: AffiliateEventAvgAggregateOutputType | null
64329
64505
  _sum: AffiliateEventSumAggregateOutputType | null
@@ -64354,9 +64530,13 @@ export namespace Prisma {
64354
64530
  revenue?: boolean
64355
64531
  commissionAmount?: boolean
64356
64532
  commissionPercent?: boolean
64533
+ platform?: boolean
64534
+ externalOrderId?: boolean
64357
64535
  metaData?: boolean
64358
64536
  affiliateClickId?: boolean
64537
+ affiliatePayoutBatchId?: boolean
64359
64538
  affiliateClick?: boolean | AffiliateEvent$affiliateClickArgs<ExtArgs>
64539
+ affiliatePayoutBatch?: boolean | AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs>
64360
64540
  }, ExtArgs["result"]["affiliateEvent"]>
64361
64541
 
64362
64542
  export type AffiliateEventSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -64368,9 +64548,13 @@ export namespace Prisma {
64368
64548
  revenue?: boolean
64369
64549
  commissionAmount?: boolean
64370
64550
  commissionPercent?: boolean
64551
+ platform?: boolean
64552
+ externalOrderId?: boolean
64371
64553
  metaData?: boolean
64372
64554
  affiliateClickId?: boolean
64555
+ affiliatePayoutBatchId?: boolean
64373
64556
  affiliateClick?: boolean | AffiliateEvent$affiliateClickArgs<ExtArgs>
64557
+ affiliatePayoutBatch?: boolean | AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs>
64374
64558
  }, ExtArgs["result"]["affiliateEvent"]>
64375
64559
 
64376
64560
  export type AffiliateEventSelectScalar = {
@@ -64382,21 +64566,27 @@ export namespace Prisma {
64382
64566
  revenue?: boolean
64383
64567
  commissionAmount?: boolean
64384
64568
  commissionPercent?: boolean
64569
+ platform?: boolean
64570
+ externalOrderId?: boolean
64385
64571
  metaData?: boolean
64386
64572
  affiliateClickId?: boolean
64573
+ affiliatePayoutBatchId?: boolean
64387
64574
  }
64388
64575
 
64389
64576
  export type AffiliateEventInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64390
64577
  affiliateClick?: boolean | AffiliateEvent$affiliateClickArgs<ExtArgs>
64578
+ affiliatePayoutBatch?: boolean | AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs>
64391
64579
  }
64392
64580
  export type AffiliateEventIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64393
64581
  affiliateClick?: boolean | AffiliateEvent$affiliateClickArgs<ExtArgs>
64582
+ affiliatePayoutBatch?: boolean | AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs>
64394
64583
  }
64395
64584
 
64396
64585
  export type $AffiliateEventPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64397
64586
  name: "AffiliateEvent"
64398
64587
  objects: {
64399
64588
  affiliateClick: Prisma.$AffiliateClickPayload<ExtArgs> | null
64589
+ affiliatePayoutBatch: Prisma.$AffiliatePayoutBatchPayload<ExtArgs> | null
64400
64590
  }
64401
64591
  scalars: $Extensions.GetPayloadResult<{
64402
64592
  id: number
@@ -64407,8 +64597,11 @@ export namespace Prisma {
64407
64597
  revenue: number | null
64408
64598
  commissionAmount: number | null
64409
64599
  commissionPercent: number | null
64600
+ platform: string | null
64601
+ externalOrderId: string | null
64410
64602
  metaData: Prisma.JsonValue
64411
64603
  affiliateClickId: number
64604
+ affiliatePayoutBatchId: number | null
64412
64605
  }, ExtArgs["result"]["affiliateEvent"]>
64413
64606
  composites: {}
64414
64607
  }
@@ -64801,6 +64994,1046 @@ export namespace Prisma {
64801
64994
 
64802
64995
  affiliateClick<T extends AffiliateEvent$affiliateClickArgs<ExtArgs> = {}>(args?: Subset<T, AffiliateEvent$affiliateClickArgs<ExtArgs>>): Prisma__AffiliateClickClient<$Result.GetResult<Prisma.$AffiliateClickPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
64803
64996
 
64997
+ affiliatePayoutBatch<T extends AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs> = {}>(args?: Subset<T, AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs>>): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
64998
+
64999
+ /**
65000
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
65001
+ * @param onfulfilled The callback to execute when the Promise is resolved.
65002
+ * @param onrejected The callback to execute when the Promise is rejected.
65003
+ * @returns A Promise for the completion of which ever callback is executed.
65004
+ */
65005
+ 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>;
65006
+ /**
65007
+ * Attaches a callback for only the rejection of the Promise.
65008
+ * @param onrejected The callback to execute when the Promise is rejected.
65009
+ * @returns A Promise for the completion of the callback.
65010
+ */
65011
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
65012
+ /**
65013
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
65014
+ * resolved value cannot be modified from the callback.
65015
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
65016
+ * @returns A Promise for the completion of the callback.
65017
+ */
65018
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
65019
+ }
65020
+
65021
+
65022
+
65023
+ /**
65024
+ * Fields of the AffiliateEvent model
65025
+ */
65026
+ interface AffiliateEventFieldRefs {
65027
+ readonly id: FieldRef<"AffiliateEvent", 'Int'>
65028
+ readonly event: FieldRef<"AffiliateEvent", 'String'>
65029
+ readonly created: FieldRef<"AffiliateEvent", 'DateTime'>
65030
+ readonly visitorIp: FieldRef<"AffiliateEvent", 'String'>
65031
+ readonly urlPath: FieldRef<"AffiliateEvent", 'String'>
65032
+ readonly revenue: FieldRef<"AffiliateEvent", 'Float'>
65033
+ readonly commissionAmount: FieldRef<"AffiliateEvent", 'Float'>
65034
+ readonly commissionPercent: FieldRef<"AffiliateEvent", 'Float'>
65035
+ readonly platform: FieldRef<"AffiliateEvent", 'String'>
65036
+ readonly externalOrderId: FieldRef<"AffiliateEvent", 'String'>
65037
+ readonly metaData: FieldRef<"AffiliateEvent", 'Json'>
65038
+ readonly affiliateClickId: FieldRef<"AffiliateEvent", 'Int'>
65039
+ readonly affiliatePayoutBatchId: FieldRef<"AffiliateEvent", 'Int'>
65040
+ }
65041
+
65042
+
65043
+ // Custom InputTypes
65044
+ /**
65045
+ * AffiliateEvent findUnique
65046
+ */
65047
+ export type AffiliateEventFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65048
+ /**
65049
+ * Select specific fields to fetch from the AffiliateEvent
65050
+ */
65051
+ select?: AffiliateEventSelect<ExtArgs> | null
65052
+ /**
65053
+ * Choose, which related nodes to fetch as well
65054
+ */
65055
+ include?: AffiliateEventInclude<ExtArgs> | null
65056
+ /**
65057
+ * Filter, which AffiliateEvent to fetch.
65058
+ */
65059
+ where: AffiliateEventWhereUniqueInput
65060
+ }
65061
+
65062
+ /**
65063
+ * AffiliateEvent findUniqueOrThrow
65064
+ */
65065
+ export type AffiliateEventFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65066
+ /**
65067
+ * Select specific fields to fetch from the AffiliateEvent
65068
+ */
65069
+ select?: AffiliateEventSelect<ExtArgs> | null
65070
+ /**
65071
+ * Choose, which related nodes to fetch as well
65072
+ */
65073
+ include?: AffiliateEventInclude<ExtArgs> | null
65074
+ /**
65075
+ * Filter, which AffiliateEvent to fetch.
65076
+ */
65077
+ where: AffiliateEventWhereUniqueInput
65078
+ }
65079
+
65080
+ /**
65081
+ * AffiliateEvent findFirst
65082
+ */
65083
+ export type AffiliateEventFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65084
+ /**
65085
+ * Select specific fields to fetch from the AffiliateEvent
65086
+ */
65087
+ select?: AffiliateEventSelect<ExtArgs> | null
65088
+ /**
65089
+ * Choose, which related nodes to fetch as well
65090
+ */
65091
+ include?: AffiliateEventInclude<ExtArgs> | null
65092
+ /**
65093
+ * Filter, which AffiliateEvent to fetch.
65094
+ */
65095
+ where?: AffiliateEventWhereInput
65096
+ /**
65097
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
65098
+ *
65099
+ * Determine the order of AffiliateEvents to fetch.
65100
+ */
65101
+ orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
65102
+ /**
65103
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65104
+ *
65105
+ * Sets the position for searching for AffiliateEvents.
65106
+ */
65107
+ cursor?: AffiliateEventWhereUniqueInput
65108
+ /**
65109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65110
+ *
65111
+ * Take `±n` AffiliateEvents from the position of the cursor.
65112
+ */
65113
+ take?: number
65114
+ /**
65115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65116
+ *
65117
+ * Skip the first `n` AffiliateEvents.
65118
+ */
65119
+ skip?: number
65120
+ /**
65121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
65122
+ *
65123
+ * Filter by unique combinations of AffiliateEvents.
65124
+ */
65125
+ distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
65126
+ }
65127
+
65128
+ /**
65129
+ * AffiliateEvent findFirstOrThrow
65130
+ */
65131
+ export type AffiliateEventFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65132
+ /**
65133
+ * Select specific fields to fetch from the AffiliateEvent
65134
+ */
65135
+ select?: AffiliateEventSelect<ExtArgs> | null
65136
+ /**
65137
+ * Choose, which related nodes to fetch as well
65138
+ */
65139
+ include?: AffiliateEventInclude<ExtArgs> | null
65140
+ /**
65141
+ * Filter, which AffiliateEvent to fetch.
65142
+ */
65143
+ where?: AffiliateEventWhereInput
65144
+ /**
65145
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
65146
+ *
65147
+ * Determine the order of AffiliateEvents to fetch.
65148
+ */
65149
+ orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
65150
+ /**
65151
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65152
+ *
65153
+ * Sets the position for searching for AffiliateEvents.
65154
+ */
65155
+ cursor?: AffiliateEventWhereUniqueInput
65156
+ /**
65157
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65158
+ *
65159
+ * Take `±n` AffiliateEvents from the position of the cursor.
65160
+ */
65161
+ take?: number
65162
+ /**
65163
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65164
+ *
65165
+ * Skip the first `n` AffiliateEvents.
65166
+ */
65167
+ skip?: number
65168
+ /**
65169
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
65170
+ *
65171
+ * Filter by unique combinations of AffiliateEvents.
65172
+ */
65173
+ distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
65174
+ }
65175
+
65176
+ /**
65177
+ * AffiliateEvent findMany
65178
+ */
65179
+ export type AffiliateEventFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65180
+ /**
65181
+ * Select specific fields to fetch from the AffiliateEvent
65182
+ */
65183
+ select?: AffiliateEventSelect<ExtArgs> | null
65184
+ /**
65185
+ * Choose, which related nodes to fetch as well
65186
+ */
65187
+ include?: AffiliateEventInclude<ExtArgs> | null
65188
+ /**
65189
+ * Filter, which AffiliateEvents to fetch.
65190
+ */
65191
+ where?: AffiliateEventWhereInput
65192
+ /**
65193
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
65194
+ *
65195
+ * Determine the order of AffiliateEvents to fetch.
65196
+ */
65197
+ orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
65198
+ /**
65199
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65200
+ *
65201
+ * Sets the position for listing AffiliateEvents.
65202
+ */
65203
+ cursor?: AffiliateEventWhereUniqueInput
65204
+ /**
65205
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65206
+ *
65207
+ * Take `±n` AffiliateEvents from the position of the cursor.
65208
+ */
65209
+ take?: number
65210
+ /**
65211
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65212
+ *
65213
+ * Skip the first `n` AffiliateEvents.
65214
+ */
65215
+ skip?: number
65216
+ distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
65217
+ }
65218
+
65219
+ /**
65220
+ * AffiliateEvent create
65221
+ */
65222
+ export type AffiliateEventCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65223
+ /**
65224
+ * Select specific fields to fetch from the AffiliateEvent
65225
+ */
65226
+ select?: AffiliateEventSelect<ExtArgs> | null
65227
+ /**
65228
+ * Choose, which related nodes to fetch as well
65229
+ */
65230
+ include?: AffiliateEventInclude<ExtArgs> | null
65231
+ /**
65232
+ * The data needed to create a AffiliateEvent.
65233
+ */
65234
+ data: XOR<AffiliateEventCreateInput, AffiliateEventUncheckedCreateInput>
65235
+ }
65236
+
65237
+ /**
65238
+ * AffiliateEvent createMany
65239
+ */
65240
+ export type AffiliateEventCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65241
+ /**
65242
+ * The data used to create many AffiliateEvents.
65243
+ */
65244
+ data: AffiliateEventCreateManyInput | AffiliateEventCreateManyInput[]
65245
+ skipDuplicates?: boolean
65246
+ }
65247
+
65248
+ /**
65249
+ * AffiliateEvent createManyAndReturn
65250
+ */
65251
+ export type AffiliateEventCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65252
+ /**
65253
+ * Select specific fields to fetch from the AffiliateEvent
65254
+ */
65255
+ select?: AffiliateEventSelectCreateManyAndReturn<ExtArgs> | null
65256
+ /**
65257
+ * The data used to create many AffiliateEvents.
65258
+ */
65259
+ data: AffiliateEventCreateManyInput | AffiliateEventCreateManyInput[]
65260
+ skipDuplicates?: boolean
65261
+ /**
65262
+ * Choose, which related nodes to fetch as well
65263
+ */
65264
+ include?: AffiliateEventIncludeCreateManyAndReturn<ExtArgs> | null
65265
+ }
65266
+
65267
+ /**
65268
+ * AffiliateEvent update
65269
+ */
65270
+ export type AffiliateEventUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65271
+ /**
65272
+ * Select specific fields to fetch from the AffiliateEvent
65273
+ */
65274
+ select?: AffiliateEventSelect<ExtArgs> | null
65275
+ /**
65276
+ * Choose, which related nodes to fetch as well
65277
+ */
65278
+ include?: AffiliateEventInclude<ExtArgs> | null
65279
+ /**
65280
+ * The data needed to update a AffiliateEvent.
65281
+ */
65282
+ data: XOR<AffiliateEventUpdateInput, AffiliateEventUncheckedUpdateInput>
65283
+ /**
65284
+ * Choose, which AffiliateEvent to update.
65285
+ */
65286
+ where: AffiliateEventWhereUniqueInput
65287
+ }
65288
+
65289
+ /**
65290
+ * AffiliateEvent updateMany
65291
+ */
65292
+ export type AffiliateEventUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65293
+ /**
65294
+ * The data used to update AffiliateEvents.
65295
+ */
65296
+ data: XOR<AffiliateEventUpdateManyMutationInput, AffiliateEventUncheckedUpdateManyInput>
65297
+ /**
65298
+ * Filter which AffiliateEvents to update
65299
+ */
65300
+ where?: AffiliateEventWhereInput
65301
+ }
65302
+
65303
+ /**
65304
+ * AffiliateEvent upsert
65305
+ */
65306
+ export type AffiliateEventUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65307
+ /**
65308
+ * Select specific fields to fetch from the AffiliateEvent
65309
+ */
65310
+ select?: AffiliateEventSelect<ExtArgs> | null
65311
+ /**
65312
+ * Choose, which related nodes to fetch as well
65313
+ */
65314
+ include?: AffiliateEventInclude<ExtArgs> | null
65315
+ /**
65316
+ * The filter to search for the AffiliateEvent to update in case it exists.
65317
+ */
65318
+ where: AffiliateEventWhereUniqueInput
65319
+ /**
65320
+ * In case the AffiliateEvent found by the `where` argument doesn't exist, create a new AffiliateEvent with this data.
65321
+ */
65322
+ create: XOR<AffiliateEventCreateInput, AffiliateEventUncheckedCreateInput>
65323
+ /**
65324
+ * In case the AffiliateEvent was found with the provided `where` argument, update it with this data.
65325
+ */
65326
+ update: XOR<AffiliateEventUpdateInput, AffiliateEventUncheckedUpdateInput>
65327
+ }
65328
+
65329
+ /**
65330
+ * AffiliateEvent delete
65331
+ */
65332
+ export type AffiliateEventDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65333
+ /**
65334
+ * Select specific fields to fetch from the AffiliateEvent
65335
+ */
65336
+ select?: AffiliateEventSelect<ExtArgs> | null
65337
+ /**
65338
+ * Choose, which related nodes to fetch as well
65339
+ */
65340
+ include?: AffiliateEventInclude<ExtArgs> | null
65341
+ /**
65342
+ * Filter which AffiliateEvent to delete.
65343
+ */
65344
+ where: AffiliateEventWhereUniqueInput
65345
+ }
65346
+
65347
+ /**
65348
+ * AffiliateEvent deleteMany
65349
+ */
65350
+ export type AffiliateEventDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65351
+ /**
65352
+ * Filter which AffiliateEvents to delete
65353
+ */
65354
+ where?: AffiliateEventWhereInput
65355
+ }
65356
+
65357
+ /**
65358
+ * AffiliateEvent.affiliateClick
65359
+ */
65360
+ export type AffiliateEvent$affiliateClickArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65361
+ /**
65362
+ * Select specific fields to fetch from the AffiliateClick
65363
+ */
65364
+ select?: AffiliateClickSelect<ExtArgs> | null
65365
+ /**
65366
+ * Choose, which related nodes to fetch as well
65367
+ */
65368
+ include?: AffiliateClickInclude<ExtArgs> | null
65369
+ where?: AffiliateClickWhereInput
65370
+ }
65371
+
65372
+ /**
65373
+ * AffiliateEvent.affiliatePayoutBatch
65374
+ */
65375
+ export type AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65376
+ /**
65377
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65378
+ */
65379
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65380
+ /**
65381
+ * Choose, which related nodes to fetch as well
65382
+ */
65383
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65384
+ where?: AffiliatePayoutBatchWhereInput
65385
+ }
65386
+
65387
+ /**
65388
+ * AffiliateEvent without action
65389
+ */
65390
+ export type AffiliateEventDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65391
+ /**
65392
+ * Select specific fields to fetch from the AffiliateEvent
65393
+ */
65394
+ select?: AffiliateEventSelect<ExtArgs> | null
65395
+ /**
65396
+ * Choose, which related nodes to fetch as well
65397
+ */
65398
+ include?: AffiliateEventInclude<ExtArgs> | null
65399
+ }
65400
+
65401
+
65402
+ /**
65403
+ * Model AffiliatePayoutBatch
65404
+ */
65405
+
65406
+ export type AggregateAffiliatePayoutBatch = {
65407
+ _count: AffiliatePayoutBatchCountAggregateOutputType | null
65408
+ _avg: AffiliatePayoutBatchAvgAggregateOutputType | null
65409
+ _sum: AffiliatePayoutBatchSumAggregateOutputType | null
65410
+ _min: AffiliatePayoutBatchMinAggregateOutputType | null
65411
+ _max: AffiliatePayoutBatchMaxAggregateOutputType | null
65412
+ }
65413
+
65414
+ export type AffiliatePayoutBatchAvgAggregateOutputType = {
65415
+ id: number | null
65416
+ userId: number | null
65417
+ }
65418
+
65419
+ export type AffiliatePayoutBatchSumAggregateOutputType = {
65420
+ id: number | null
65421
+ userId: number | null
65422
+ }
65423
+
65424
+ export type AffiliatePayoutBatchMinAggregateOutputType = {
65425
+ id: number | null
65426
+ created: Date | null
65427
+ trolleyBatchId: string | null
65428
+ userId: number | null
65429
+ }
65430
+
65431
+ export type AffiliatePayoutBatchMaxAggregateOutputType = {
65432
+ id: number | null
65433
+ created: Date | null
65434
+ trolleyBatchId: string | null
65435
+ userId: number | null
65436
+ }
65437
+
65438
+ export type AffiliatePayoutBatchCountAggregateOutputType = {
65439
+ id: number
65440
+ created: number
65441
+ metaData: number
65442
+ trolleyBatchId: number
65443
+ userId: number
65444
+ _all: number
65445
+ }
65446
+
65447
+
65448
+ export type AffiliatePayoutBatchAvgAggregateInputType = {
65449
+ id?: true
65450
+ userId?: true
65451
+ }
65452
+
65453
+ export type AffiliatePayoutBatchSumAggregateInputType = {
65454
+ id?: true
65455
+ userId?: true
65456
+ }
65457
+
65458
+ export type AffiliatePayoutBatchMinAggregateInputType = {
65459
+ id?: true
65460
+ created?: true
65461
+ trolleyBatchId?: true
65462
+ userId?: true
65463
+ }
65464
+
65465
+ export type AffiliatePayoutBatchMaxAggregateInputType = {
65466
+ id?: true
65467
+ created?: true
65468
+ trolleyBatchId?: true
65469
+ userId?: true
65470
+ }
65471
+
65472
+ export type AffiliatePayoutBatchCountAggregateInputType = {
65473
+ id?: true
65474
+ created?: true
65475
+ metaData?: true
65476
+ trolleyBatchId?: true
65477
+ userId?: true
65478
+ _all?: true
65479
+ }
65480
+
65481
+ export type AffiliatePayoutBatchAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65482
+ /**
65483
+ * Filter which AffiliatePayoutBatch to aggregate.
65484
+ */
65485
+ where?: AffiliatePayoutBatchWhereInput
65486
+ /**
65487
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
65488
+ *
65489
+ * Determine the order of AffiliatePayoutBatches to fetch.
65490
+ */
65491
+ orderBy?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput | AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput[]
65492
+ /**
65493
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65494
+ *
65495
+ * Sets the start position
65496
+ */
65497
+ cursor?: AffiliatePayoutBatchWhereUniqueInput
65498
+ /**
65499
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65500
+ *
65501
+ * Take `±n` AffiliatePayoutBatches from the position of the cursor.
65502
+ */
65503
+ take?: number
65504
+ /**
65505
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65506
+ *
65507
+ * Skip the first `n` AffiliatePayoutBatches.
65508
+ */
65509
+ skip?: number
65510
+ /**
65511
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
65512
+ *
65513
+ * Count returned AffiliatePayoutBatches
65514
+ **/
65515
+ _count?: true | AffiliatePayoutBatchCountAggregateInputType
65516
+ /**
65517
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
65518
+ *
65519
+ * Select which fields to average
65520
+ **/
65521
+ _avg?: AffiliatePayoutBatchAvgAggregateInputType
65522
+ /**
65523
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
65524
+ *
65525
+ * Select which fields to sum
65526
+ **/
65527
+ _sum?: AffiliatePayoutBatchSumAggregateInputType
65528
+ /**
65529
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
65530
+ *
65531
+ * Select which fields to find the minimum value
65532
+ **/
65533
+ _min?: AffiliatePayoutBatchMinAggregateInputType
65534
+ /**
65535
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
65536
+ *
65537
+ * Select which fields to find the maximum value
65538
+ **/
65539
+ _max?: AffiliatePayoutBatchMaxAggregateInputType
65540
+ }
65541
+
65542
+ export type GetAffiliatePayoutBatchAggregateType<T extends AffiliatePayoutBatchAggregateArgs> = {
65543
+ [P in keyof T & keyof AggregateAffiliatePayoutBatch]: P extends '_count' | 'count'
65544
+ ? T[P] extends true
65545
+ ? number
65546
+ : GetScalarType<T[P], AggregateAffiliatePayoutBatch[P]>
65547
+ : GetScalarType<T[P], AggregateAffiliatePayoutBatch[P]>
65548
+ }
65549
+
65550
+
65551
+
65552
+
65553
+ export type AffiliatePayoutBatchGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65554
+ where?: AffiliatePayoutBatchWhereInput
65555
+ orderBy?: AffiliatePayoutBatchOrderByWithAggregationInput | AffiliatePayoutBatchOrderByWithAggregationInput[]
65556
+ by: AffiliatePayoutBatchScalarFieldEnum[] | AffiliatePayoutBatchScalarFieldEnum
65557
+ having?: AffiliatePayoutBatchScalarWhereWithAggregatesInput
65558
+ take?: number
65559
+ skip?: number
65560
+ _count?: AffiliatePayoutBatchCountAggregateInputType | true
65561
+ _avg?: AffiliatePayoutBatchAvgAggregateInputType
65562
+ _sum?: AffiliatePayoutBatchSumAggregateInputType
65563
+ _min?: AffiliatePayoutBatchMinAggregateInputType
65564
+ _max?: AffiliatePayoutBatchMaxAggregateInputType
65565
+ }
65566
+
65567
+ export type AffiliatePayoutBatchGroupByOutputType = {
65568
+ id: number
65569
+ created: Date
65570
+ metaData: JsonValue
65571
+ trolleyBatchId: string | null
65572
+ userId: number
65573
+ _count: AffiliatePayoutBatchCountAggregateOutputType | null
65574
+ _avg: AffiliatePayoutBatchAvgAggregateOutputType | null
65575
+ _sum: AffiliatePayoutBatchSumAggregateOutputType | null
65576
+ _min: AffiliatePayoutBatchMinAggregateOutputType | null
65577
+ _max: AffiliatePayoutBatchMaxAggregateOutputType | null
65578
+ }
65579
+
65580
+ type GetAffiliatePayoutBatchGroupByPayload<T extends AffiliatePayoutBatchGroupByArgs> = Prisma.PrismaPromise<
65581
+ Array<
65582
+ PickEnumerable<AffiliatePayoutBatchGroupByOutputType, T['by']> &
65583
+ {
65584
+ [P in ((keyof T) & (keyof AffiliatePayoutBatchGroupByOutputType))]: P extends '_count'
65585
+ ? T[P] extends boolean
65586
+ ? number
65587
+ : GetScalarType<T[P], AffiliatePayoutBatchGroupByOutputType[P]>
65588
+ : GetScalarType<T[P], AffiliatePayoutBatchGroupByOutputType[P]>
65589
+ }
65590
+ >
65591
+ >
65592
+
65593
+
65594
+ export type AffiliatePayoutBatchSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
65595
+ id?: boolean
65596
+ created?: boolean
65597
+ metaData?: boolean
65598
+ trolleyBatchId?: boolean
65599
+ userId?: boolean
65600
+ user?: boolean | UserDefaultArgs<ExtArgs>
65601
+ affiliateEvents?: boolean | AffiliatePayoutBatch$affiliateEventsArgs<ExtArgs>
65602
+ _count?: boolean | AffiliatePayoutBatchCountOutputTypeDefaultArgs<ExtArgs>
65603
+ }, ExtArgs["result"]["affiliatePayoutBatch"]>
65604
+
65605
+ export type AffiliatePayoutBatchSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
65606
+ id?: boolean
65607
+ created?: boolean
65608
+ metaData?: boolean
65609
+ trolleyBatchId?: boolean
65610
+ userId?: boolean
65611
+ user?: boolean | UserDefaultArgs<ExtArgs>
65612
+ }, ExtArgs["result"]["affiliatePayoutBatch"]>
65613
+
65614
+ export type AffiliatePayoutBatchSelectScalar = {
65615
+ id?: boolean
65616
+ created?: boolean
65617
+ metaData?: boolean
65618
+ trolleyBatchId?: boolean
65619
+ userId?: boolean
65620
+ }
65621
+
65622
+ export type AffiliatePayoutBatchInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65623
+ user?: boolean | UserDefaultArgs<ExtArgs>
65624
+ affiliateEvents?: boolean | AffiliatePayoutBatch$affiliateEventsArgs<ExtArgs>
65625
+ _count?: boolean | AffiliatePayoutBatchCountOutputTypeDefaultArgs<ExtArgs>
65626
+ }
65627
+ export type AffiliatePayoutBatchIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65628
+ user?: boolean | UserDefaultArgs<ExtArgs>
65629
+ }
65630
+
65631
+ export type $AffiliatePayoutBatchPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65632
+ name: "AffiliatePayoutBatch"
65633
+ objects: {
65634
+ user: Prisma.$UserPayload<ExtArgs>
65635
+ affiliateEvents: Prisma.$AffiliateEventPayload<ExtArgs>[]
65636
+ }
65637
+ scalars: $Extensions.GetPayloadResult<{
65638
+ id: number
65639
+ created: Date
65640
+ metaData: Prisma.JsonValue
65641
+ trolleyBatchId: string | null
65642
+ userId: number
65643
+ }, ExtArgs["result"]["affiliatePayoutBatch"]>
65644
+ composites: {}
65645
+ }
65646
+
65647
+ type AffiliatePayoutBatchGetPayload<S extends boolean | null | undefined | AffiliatePayoutBatchDefaultArgs> = $Result.GetResult<Prisma.$AffiliatePayoutBatchPayload, S>
65648
+
65649
+ type AffiliatePayoutBatchCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
65650
+ Omit<AffiliatePayoutBatchFindManyArgs, 'select' | 'include' | 'distinct'> & {
65651
+ select?: AffiliatePayoutBatchCountAggregateInputType | true
65652
+ }
65653
+
65654
+ export interface AffiliatePayoutBatchDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
65655
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AffiliatePayoutBatch'], meta: { name: 'AffiliatePayoutBatch' } }
65656
+ /**
65657
+ * Find zero or one AffiliatePayoutBatch that matches the filter.
65658
+ * @param {AffiliatePayoutBatchFindUniqueArgs} args - Arguments to find a AffiliatePayoutBatch
65659
+ * @example
65660
+ * // Get one AffiliatePayoutBatch
65661
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.findUnique({
65662
+ * where: {
65663
+ * // ... provide filter here
65664
+ * }
65665
+ * })
65666
+ **/
65667
+ findUnique<T extends AffiliatePayoutBatchFindUniqueArgs<ExtArgs>>(
65668
+ args: SelectSubset<T, AffiliatePayoutBatchFindUniqueArgs<ExtArgs>>
65669
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
65670
+
65671
+ /**
65672
+ * Find one AffiliatePayoutBatch that matches the filter or throw an error with `error.code='P2025'`
65673
+ * if no matches were found.
65674
+ * @param {AffiliatePayoutBatchFindUniqueOrThrowArgs} args - Arguments to find a AffiliatePayoutBatch
65675
+ * @example
65676
+ * // Get one AffiliatePayoutBatch
65677
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.findUniqueOrThrow({
65678
+ * where: {
65679
+ * // ... provide filter here
65680
+ * }
65681
+ * })
65682
+ **/
65683
+ findUniqueOrThrow<T extends AffiliatePayoutBatchFindUniqueOrThrowArgs<ExtArgs>>(
65684
+ args?: SelectSubset<T, AffiliatePayoutBatchFindUniqueOrThrowArgs<ExtArgs>>
65685
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
65686
+
65687
+ /**
65688
+ * Find the first AffiliatePayoutBatch that matches the filter.
65689
+ * Note, that providing `undefined` is treated as the value not being there.
65690
+ * Read more here: https://pris.ly/d/null-undefined
65691
+ * @param {AffiliatePayoutBatchFindFirstArgs} args - Arguments to find a AffiliatePayoutBatch
65692
+ * @example
65693
+ * // Get one AffiliatePayoutBatch
65694
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.findFirst({
65695
+ * where: {
65696
+ * // ... provide filter here
65697
+ * }
65698
+ * })
65699
+ **/
65700
+ findFirst<T extends AffiliatePayoutBatchFindFirstArgs<ExtArgs>>(
65701
+ args?: SelectSubset<T, AffiliatePayoutBatchFindFirstArgs<ExtArgs>>
65702
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
65703
+
65704
+ /**
65705
+ * Find the first AffiliatePayoutBatch that matches the filter or
65706
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
65707
+ * Note, that providing `undefined` is treated as the value not being there.
65708
+ * Read more here: https://pris.ly/d/null-undefined
65709
+ * @param {AffiliatePayoutBatchFindFirstOrThrowArgs} args - Arguments to find a AffiliatePayoutBatch
65710
+ * @example
65711
+ * // Get one AffiliatePayoutBatch
65712
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.findFirstOrThrow({
65713
+ * where: {
65714
+ * // ... provide filter here
65715
+ * }
65716
+ * })
65717
+ **/
65718
+ findFirstOrThrow<T extends AffiliatePayoutBatchFindFirstOrThrowArgs<ExtArgs>>(
65719
+ args?: SelectSubset<T, AffiliatePayoutBatchFindFirstOrThrowArgs<ExtArgs>>
65720
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
65721
+
65722
+ /**
65723
+ * Find zero or more AffiliatePayoutBatches that matches the filter.
65724
+ * Note, that providing `undefined` is treated as the value not being there.
65725
+ * Read more here: https://pris.ly/d/null-undefined
65726
+ * @param {AffiliatePayoutBatchFindManyArgs} args - Arguments to filter and select certain fields only.
65727
+ * @example
65728
+ * // Get all AffiliatePayoutBatches
65729
+ * const affiliatePayoutBatches = await prisma.affiliatePayoutBatch.findMany()
65730
+ *
65731
+ * // Get first 10 AffiliatePayoutBatches
65732
+ * const affiliatePayoutBatches = await prisma.affiliatePayoutBatch.findMany({ take: 10 })
65733
+ *
65734
+ * // Only select the `id`
65735
+ * const affiliatePayoutBatchWithIdOnly = await prisma.affiliatePayoutBatch.findMany({ select: { id: true } })
65736
+ *
65737
+ **/
65738
+ findMany<T extends AffiliatePayoutBatchFindManyArgs<ExtArgs>>(
65739
+ args?: SelectSubset<T, AffiliatePayoutBatchFindManyArgs<ExtArgs>>
65740
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findMany'>>
65741
+
65742
+ /**
65743
+ * Create a AffiliatePayoutBatch.
65744
+ * @param {AffiliatePayoutBatchCreateArgs} args - Arguments to create a AffiliatePayoutBatch.
65745
+ * @example
65746
+ * // Create one AffiliatePayoutBatch
65747
+ * const AffiliatePayoutBatch = await prisma.affiliatePayoutBatch.create({
65748
+ * data: {
65749
+ * // ... data to create a AffiliatePayoutBatch
65750
+ * }
65751
+ * })
65752
+ *
65753
+ **/
65754
+ create<T extends AffiliatePayoutBatchCreateArgs<ExtArgs>>(
65755
+ args: SelectSubset<T, AffiliatePayoutBatchCreateArgs<ExtArgs>>
65756
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
65757
+
65758
+ /**
65759
+ * Create many AffiliatePayoutBatches.
65760
+ * @param {AffiliatePayoutBatchCreateManyArgs} args - Arguments to create many AffiliatePayoutBatches.
65761
+ * @example
65762
+ * // Create many AffiliatePayoutBatches
65763
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.createMany({
65764
+ * data: [
65765
+ * // ... provide data here
65766
+ * ]
65767
+ * })
65768
+ *
65769
+ **/
65770
+ createMany<T extends AffiliatePayoutBatchCreateManyArgs<ExtArgs>>(
65771
+ args?: SelectSubset<T, AffiliatePayoutBatchCreateManyArgs<ExtArgs>>
65772
+ ): Prisma.PrismaPromise<BatchPayload>
65773
+
65774
+ /**
65775
+ * Create many AffiliatePayoutBatches and returns the data saved in the database.
65776
+ * @param {AffiliatePayoutBatchCreateManyAndReturnArgs} args - Arguments to create many AffiliatePayoutBatches.
65777
+ * @example
65778
+ * // Create many AffiliatePayoutBatches
65779
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.createManyAndReturn({
65780
+ * data: [
65781
+ * // ... provide data here
65782
+ * ]
65783
+ * })
65784
+ *
65785
+ * // Create many AffiliatePayoutBatches and only return the `id`
65786
+ * const affiliatePayoutBatchWithIdOnly = await prisma.affiliatePayoutBatch.createManyAndReturn({
65787
+ * select: { id: true },
65788
+ * data: [
65789
+ * // ... provide data here
65790
+ * ]
65791
+ * })
65792
+ * Note, that providing `undefined` is treated as the value not being there.
65793
+ * Read more here: https://pris.ly/d/null-undefined
65794
+ *
65795
+ **/
65796
+ createManyAndReturn<T extends AffiliatePayoutBatchCreateManyAndReturnArgs<ExtArgs>>(
65797
+ args?: SelectSubset<T, AffiliatePayoutBatchCreateManyAndReturnArgs<ExtArgs>>
65798
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'createManyAndReturn'>>
65799
+
65800
+ /**
65801
+ * Delete a AffiliatePayoutBatch.
65802
+ * @param {AffiliatePayoutBatchDeleteArgs} args - Arguments to delete one AffiliatePayoutBatch.
65803
+ * @example
65804
+ * // Delete one AffiliatePayoutBatch
65805
+ * const AffiliatePayoutBatch = await prisma.affiliatePayoutBatch.delete({
65806
+ * where: {
65807
+ * // ... filter to delete one AffiliatePayoutBatch
65808
+ * }
65809
+ * })
65810
+ *
65811
+ **/
65812
+ delete<T extends AffiliatePayoutBatchDeleteArgs<ExtArgs>>(
65813
+ args: SelectSubset<T, AffiliatePayoutBatchDeleteArgs<ExtArgs>>
65814
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
65815
+
65816
+ /**
65817
+ * Update one AffiliatePayoutBatch.
65818
+ * @param {AffiliatePayoutBatchUpdateArgs} args - Arguments to update one AffiliatePayoutBatch.
65819
+ * @example
65820
+ * // Update one AffiliatePayoutBatch
65821
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.update({
65822
+ * where: {
65823
+ * // ... provide filter here
65824
+ * },
65825
+ * data: {
65826
+ * // ... provide data here
65827
+ * }
65828
+ * })
65829
+ *
65830
+ **/
65831
+ update<T extends AffiliatePayoutBatchUpdateArgs<ExtArgs>>(
65832
+ args: SelectSubset<T, AffiliatePayoutBatchUpdateArgs<ExtArgs>>
65833
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
65834
+
65835
+ /**
65836
+ * Delete zero or more AffiliatePayoutBatches.
65837
+ * @param {AffiliatePayoutBatchDeleteManyArgs} args - Arguments to filter AffiliatePayoutBatches to delete.
65838
+ * @example
65839
+ * // Delete a few AffiliatePayoutBatches
65840
+ * const { count } = await prisma.affiliatePayoutBatch.deleteMany({
65841
+ * where: {
65842
+ * // ... provide filter here
65843
+ * }
65844
+ * })
65845
+ *
65846
+ **/
65847
+ deleteMany<T extends AffiliatePayoutBatchDeleteManyArgs<ExtArgs>>(
65848
+ args?: SelectSubset<T, AffiliatePayoutBatchDeleteManyArgs<ExtArgs>>
65849
+ ): Prisma.PrismaPromise<BatchPayload>
65850
+
65851
+ /**
65852
+ * Update zero or more AffiliatePayoutBatches.
65853
+ * Note, that providing `undefined` is treated as the value not being there.
65854
+ * Read more here: https://pris.ly/d/null-undefined
65855
+ * @param {AffiliatePayoutBatchUpdateManyArgs} args - Arguments to update one or more rows.
65856
+ * @example
65857
+ * // Update many AffiliatePayoutBatches
65858
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.updateMany({
65859
+ * where: {
65860
+ * // ... provide filter here
65861
+ * },
65862
+ * data: {
65863
+ * // ... provide data here
65864
+ * }
65865
+ * })
65866
+ *
65867
+ **/
65868
+ updateMany<T extends AffiliatePayoutBatchUpdateManyArgs<ExtArgs>>(
65869
+ args: SelectSubset<T, AffiliatePayoutBatchUpdateManyArgs<ExtArgs>>
65870
+ ): Prisma.PrismaPromise<BatchPayload>
65871
+
65872
+ /**
65873
+ * Create or update one AffiliatePayoutBatch.
65874
+ * @param {AffiliatePayoutBatchUpsertArgs} args - Arguments to update or create a AffiliatePayoutBatch.
65875
+ * @example
65876
+ * // Update or create a AffiliatePayoutBatch
65877
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.upsert({
65878
+ * create: {
65879
+ * // ... data to create a AffiliatePayoutBatch
65880
+ * },
65881
+ * update: {
65882
+ * // ... in case it already exists, update
65883
+ * },
65884
+ * where: {
65885
+ * // ... the filter for the AffiliatePayoutBatch we want to update
65886
+ * }
65887
+ * })
65888
+ **/
65889
+ upsert<T extends AffiliatePayoutBatchUpsertArgs<ExtArgs>>(
65890
+ args: SelectSubset<T, AffiliatePayoutBatchUpsertArgs<ExtArgs>>
65891
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
65892
+
65893
+ /**
65894
+ * Count the number of AffiliatePayoutBatches.
65895
+ * Note, that providing `undefined` is treated as the value not being there.
65896
+ * Read more here: https://pris.ly/d/null-undefined
65897
+ * @param {AffiliatePayoutBatchCountArgs} args - Arguments to filter AffiliatePayoutBatches to count.
65898
+ * @example
65899
+ * // Count the number of AffiliatePayoutBatches
65900
+ * const count = await prisma.affiliatePayoutBatch.count({
65901
+ * where: {
65902
+ * // ... the filter for the AffiliatePayoutBatches we want to count
65903
+ * }
65904
+ * })
65905
+ **/
65906
+ count<T extends AffiliatePayoutBatchCountArgs>(
65907
+ args?: Subset<T, AffiliatePayoutBatchCountArgs>,
65908
+ ): Prisma.PrismaPromise<
65909
+ T extends $Utils.Record<'select', any>
65910
+ ? T['select'] extends true
65911
+ ? number
65912
+ : GetScalarType<T['select'], AffiliatePayoutBatchCountAggregateOutputType>
65913
+ : number
65914
+ >
65915
+
65916
+ /**
65917
+ * Allows you to perform aggregations operations on a AffiliatePayoutBatch.
65918
+ * Note, that providing `undefined` is treated as the value not being there.
65919
+ * Read more here: https://pris.ly/d/null-undefined
65920
+ * @param {AffiliatePayoutBatchAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
65921
+ * @example
65922
+ * // Ordered by age ascending
65923
+ * // Where email contains prisma.io
65924
+ * // Limited to the 10 users
65925
+ * const aggregations = await prisma.user.aggregate({
65926
+ * _avg: {
65927
+ * age: true,
65928
+ * },
65929
+ * where: {
65930
+ * email: {
65931
+ * contains: "prisma.io",
65932
+ * },
65933
+ * },
65934
+ * orderBy: {
65935
+ * age: "asc",
65936
+ * },
65937
+ * take: 10,
65938
+ * })
65939
+ **/
65940
+ aggregate<T extends AffiliatePayoutBatchAggregateArgs>(args: Subset<T, AffiliatePayoutBatchAggregateArgs>): Prisma.PrismaPromise<GetAffiliatePayoutBatchAggregateType<T>>
65941
+
65942
+ /**
65943
+ * Group by AffiliatePayoutBatch.
65944
+ * Note, that providing `undefined` is treated as the value not being there.
65945
+ * Read more here: https://pris.ly/d/null-undefined
65946
+ * @param {AffiliatePayoutBatchGroupByArgs} args - Group by arguments.
65947
+ * @example
65948
+ * // Group by city, order by createdAt, get count
65949
+ * const result = await prisma.user.groupBy({
65950
+ * by: ['city', 'createdAt'],
65951
+ * orderBy: {
65952
+ * createdAt: true
65953
+ * },
65954
+ * _count: {
65955
+ * _all: true
65956
+ * },
65957
+ * })
65958
+ *
65959
+ **/
65960
+ groupBy<
65961
+ T extends AffiliatePayoutBatchGroupByArgs,
65962
+ HasSelectOrTake extends Or<
65963
+ Extends<'skip', Keys<T>>,
65964
+ Extends<'take', Keys<T>>
65965
+ >,
65966
+ OrderByArg extends True extends HasSelectOrTake
65967
+ ? { orderBy: AffiliatePayoutBatchGroupByArgs['orderBy'] }
65968
+ : { orderBy?: AffiliatePayoutBatchGroupByArgs['orderBy'] },
65969
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
65970
+ ByFields extends MaybeTupleToUnion<T['by']>,
65971
+ ByValid extends Has<ByFields, OrderFields>,
65972
+ HavingFields extends GetHavingFields<T['having']>,
65973
+ HavingValid extends Has<ByFields, HavingFields>,
65974
+ ByEmpty extends T['by'] extends never[] ? True : False,
65975
+ InputErrors extends ByEmpty extends True
65976
+ ? `Error: "by" must not be empty.`
65977
+ : HavingValid extends False
65978
+ ? {
65979
+ [P in HavingFields]: P extends ByFields
65980
+ ? never
65981
+ : P extends string
65982
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
65983
+ : [
65984
+ Error,
65985
+ 'Field ',
65986
+ P,
65987
+ ` in "having" needs to be provided in "by"`,
65988
+ ]
65989
+ }[HavingFields]
65990
+ : 'take' extends Keys<T>
65991
+ ? 'orderBy' extends Keys<T>
65992
+ ? ByValid extends True
65993
+ ? {}
65994
+ : {
65995
+ [P in OrderFields]: P extends ByFields
65996
+ ? never
65997
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
65998
+ }[OrderFields]
65999
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
66000
+ : 'skip' extends Keys<T>
66001
+ ? 'orderBy' extends Keys<T>
66002
+ ? ByValid extends True
66003
+ ? {}
66004
+ : {
66005
+ [P in OrderFields]: P extends ByFields
66006
+ ? never
66007
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
66008
+ }[OrderFields]
66009
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
66010
+ : ByValid extends True
66011
+ ? {}
66012
+ : {
66013
+ [P in OrderFields]: P extends ByFields
66014
+ ? never
66015
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
66016
+ }[OrderFields]
66017
+ >(args: SubsetIntersection<T, AffiliatePayoutBatchGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAffiliatePayoutBatchGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
66018
+ /**
66019
+ * Fields of the AffiliatePayoutBatch model
66020
+ */
66021
+ readonly fields: AffiliatePayoutBatchFieldRefs;
66022
+ }
66023
+
66024
+ /**
66025
+ * The delegate class that acts as a "Promise-like" for AffiliatePayoutBatch.
66026
+ * Why is this prefixed with `Prisma__`?
66027
+ * Because we want to prevent naming conflicts as mentioned in
66028
+ * https://github.com/prisma/prisma-client-js/issues/707
66029
+ */
66030
+ export interface Prisma__AffiliatePayoutBatchClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
66031
+ readonly [Symbol.toStringTag]: 'PrismaPromise';
66032
+
66033
+ user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
66034
+
66035
+ affiliateEvents<T extends AffiliatePayoutBatch$affiliateEventsArgs<ExtArgs> = {}>(args?: Subset<T, AffiliatePayoutBatch$affiliateEventsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AffiliateEventPayload<ExtArgs>, T, 'findMany'> | Null>;
66036
+
64804
66037
  /**
64805
66038
  * Attaches callbacks for the resolution and/or rejection of the Promise.
64806
66039
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -64826,363 +66059,363 @@ export namespace Prisma {
64826
66059
 
64827
66060
 
64828
66061
  /**
64829
- * Fields of the AffiliateEvent model
66062
+ * Fields of the AffiliatePayoutBatch model
64830
66063
  */
64831
- interface AffiliateEventFieldRefs {
64832
- readonly id: FieldRef<"AffiliateEvent", 'Int'>
64833
- readonly event: FieldRef<"AffiliateEvent", 'String'>
64834
- readonly created: FieldRef<"AffiliateEvent", 'DateTime'>
64835
- readonly visitorIp: FieldRef<"AffiliateEvent", 'String'>
64836
- readonly urlPath: FieldRef<"AffiliateEvent", 'String'>
64837
- readonly revenue: FieldRef<"AffiliateEvent", 'Float'>
64838
- readonly commissionAmount: FieldRef<"AffiliateEvent", 'Float'>
64839
- readonly commissionPercent: FieldRef<"AffiliateEvent", 'Float'>
64840
- readonly metaData: FieldRef<"AffiliateEvent", 'Json'>
64841
- readonly affiliateClickId: FieldRef<"AffiliateEvent", 'Int'>
66064
+ interface AffiliatePayoutBatchFieldRefs {
66065
+ readonly id: FieldRef<"AffiliatePayoutBatch", 'Int'>
66066
+ readonly created: FieldRef<"AffiliatePayoutBatch", 'DateTime'>
66067
+ readonly metaData: FieldRef<"AffiliatePayoutBatch", 'Json'>
66068
+ readonly trolleyBatchId: FieldRef<"AffiliatePayoutBatch", 'String'>
66069
+ readonly userId: FieldRef<"AffiliatePayoutBatch", 'Int'>
64842
66070
  }
64843
66071
 
64844
66072
 
64845
66073
  // Custom InputTypes
64846
66074
  /**
64847
- * AffiliateEvent findUnique
66075
+ * AffiliatePayoutBatch findUnique
64848
66076
  */
64849
- export type AffiliateEventFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66077
+ export type AffiliatePayoutBatchFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64850
66078
  /**
64851
- * Select specific fields to fetch from the AffiliateEvent
66079
+ * Select specific fields to fetch from the AffiliatePayoutBatch
64852
66080
  */
64853
- select?: AffiliateEventSelect<ExtArgs> | null
66081
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
64854
66082
  /**
64855
66083
  * Choose, which related nodes to fetch as well
64856
66084
  */
64857
- include?: AffiliateEventInclude<ExtArgs> | null
66085
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
64858
66086
  /**
64859
- * Filter, which AffiliateEvent to fetch.
66087
+ * Filter, which AffiliatePayoutBatch to fetch.
64860
66088
  */
64861
- where: AffiliateEventWhereUniqueInput
66089
+ where: AffiliatePayoutBatchWhereUniqueInput
64862
66090
  }
64863
66091
 
64864
66092
  /**
64865
- * AffiliateEvent findUniqueOrThrow
66093
+ * AffiliatePayoutBatch findUniqueOrThrow
64866
66094
  */
64867
- export type AffiliateEventFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66095
+ export type AffiliatePayoutBatchFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64868
66096
  /**
64869
- * Select specific fields to fetch from the AffiliateEvent
66097
+ * Select specific fields to fetch from the AffiliatePayoutBatch
64870
66098
  */
64871
- select?: AffiliateEventSelect<ExtArgs> | null
66099
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
64872
66100
  /**
64873
66101
  * Choose, which related nodes to fetch as well
64874
66102
  */
64875
- include?: AffiliateEventInclude<ExtArgs> | null
66103
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
64876
66104
  /**
64877
- * Filter, which AffiliateEvent to fetch.
66105
+ * Filter, which AffiliatePayoutBatch to fetch.
64878
66106
  */
64879
- where: AffiliateEventWhereUniqueInput
66107
+ where: AffiliatePayoutBatchWhereUniqueInput
64880
66108
  }
64881
66109
 
64882
66110
  /**
64883
- * AffiliateEvent findFirst
66111
+ * AffiliatePayoutBatch findFirst
64884
66112
  */
64885
- export type AffiliateEventFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66113
+ export type AffiliatePayoutBatchFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64886
66114
  /**
64887
- * Select specific fields to fetch from the AffiliateEvent
66115
+ * Select specific fields to fetch from the AffiliatePayoutBatch
64888
66116
  */
64889
- select?: AffiliateEventSelect<ExtArgs> | null
66117
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
64890
66118
  /**
64891
66119
  * Choose, which related nodes to fetch as well
64892
66120
  */
64893
- include?: AffiliateEventInclude<ExtArgs> | null
66121
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
64894
66122
  /**
64895
- * Filter, which AffiliateEvent to fetch.
66123
+ * Filter, which AffiliatePayoutBatch to fetch.
64896
66124
  */
64897
- where?: AffiliateEventWhereInput
66125
+ where?: AffiliatePayoutBatchWhereInput
64898
66126
  /**
64899
66127
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
64900
66128
  *
64901
- * Determine the order of AffiliateEvents to fetch.
66129
+ * Determine the order of AffiliatePayoutBatches to fetch.
64902
66130
  */
64903
- orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
66131
+ orderBy?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput | AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput[]
64904
66132
  /**
64905
66133
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
64906
66134
  *
64907
- * Sets the position for searching for AffiliateEvents.
66135
+ * Sets the position for searching for AffiliatePayoutBatches.
64908
66136
  */
64909
- cursor?: AffiliateEventWhereUniqueInput
66137
+ cursor?: AffiliatePayoutBatchWhereUniqueInput
64910
66138
  /**
64911
66139
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64912
66140
  *
64913
- * Take `±n` AffiliateEvents from the position of the cursor.
66141
+ * Take `±n` AffiliatePayoutBatches from the position of the cursor.
64914
66142
  */
64915
66143
  take?: number
64916
66144
  /**
64917
66145
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64918
66146
  *
64919
- * Skip the first `n` AffiliateEvents.
66147
+ * Skip the first `n` AffiliatePayoutBatches.
64920
66148
  */
64921
66149
  skip?: number
64922
66150
  /**
64923
66151
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
64924
66152
  *
64925
- * Filter by unique combinations of AffiliateEvents.
66153
+ * Filter by unique combinations of AffiliatePayoutBatches.
64926
66154
  */
64927
- distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
66155
+ distinct?: AffiliatePayoutBatchScalarFieldEnum | AffiliatePayoutBatchScalarFieldEnum[]
64928
66156
  }
64929
66157
 
64930
66158
  /**
64931
- * AffiliateEvent findFirstOrThrow
66159
+ * AffiliatePayoutBatch findFirstOrThrow
64932
66160
  */
64933
- export type AffiliateEventFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66161
+ export type AffiliatePayoutBatchFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64934
66162
  /**
64935
- * Select specific fields to fetch from the AffiliateEvent
66163
+ * Select specific fields to fetch from the AffiliatePayoutBatch
64936
66164
  */
64937
- select?: AffiliateEventSelect<ExtArgs> | null
66165
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
64938
66166
  /**
64939
66167
  * Choose, which related nodes to fetch as well
64940
66168
  */
64941
- include?: AffiliateEventInclude<ExtArgs> | null
66169
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
64942
66170
  /**
64943
- * Filter, which AffiliateEvent to fetch.
66171
+ * Filter, which AffiliatePayoutBatch to fetch.
64944
66172
  */
64945
- where?: AffiliateEventWhereInput
66173
+ where?: AffiliatePayoutBatchWhereInput
64946
66174
  /**
64947
66175
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
64948
66176
  *
64949
- * Determine the order of AffiliateEvents to fetch.
66177
+ * Determine the order of AffiliatePayoutBatches to fetch.
64950
66178
  */
64951
- orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
66179
+ orderBy?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput | AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput[]
64952
66180
  /**
64953
66181
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
64954
66182
  *
64955
- * Sets the position for searching for AffiliateEvents.
66183
+ * Sets the position for searching for AffiliatePayoutBatches.
64956
66184
  */
64957
- cursor?: AffiliateEventWhereUniqueInput
66185
+ cursor?: AffiliatePayoutBatchWhereUniqueInput
64958
66186
  /**
64959
66187
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64960
66188
  *
64961
- * Take `±n` AffiliateEvents from the position of the cursor.
66189
+ * Take `±n` AffiliatePayoutBatches from the position of the cursor.
64962
66190
  */
64963
66191
  take?: number
64964
66192
  /**
64965
66193
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64966
66194
  *
64967
- * Skip the first `n` AffiliateEvents.
66195
+ * Skip the first `n` AffiliatePayoutBatches.
64968
66196
  */
64969
66197
  skip?: number
64970
66198
  /**
64971
66199
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
64972
66200
  *
64973
- * Filter by unique combinations of AffiliateEvents.
66201
+ * Filter by unique combinations of AffiliatePayoutBatches.
64974
66202
  */
64975
- distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
66203
+ distinct?: AffiliatePayoutBatchScalarFieldEnum | AffiliatePayoutBatchScalarFieldEnum[]
64976
66204
  }
64977
66205
 
64978
66206
  /**
64979
- * AffiliateEvent findMany
66207
+ * AffiliatePayoutBatch findMany
64980
66208
  */
64981
- export type AffiliateEventFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66209
+ export type AffiliatePayoutBatchFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64982
66210
  /**
64983
- * Select specific fields to fetch from the AffiliateEvent
66211
+ * Select specific fields to fetch from the AffiliatePayoutBatch
64984
66212
  */
64985
- select?: AffiliateEventSelect<ExtArgs> | null
66213
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
64986
66214
  /**
64987
66215
  * Choose, which related nodes to fetch as well
64988
66216
  */
64989
- include?: AffiliateEventInclude<ExtArgs> | null
66217
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
64990
66218
  /**
64991
- * Filter, which AffiliateEvents to fetch.
66219
+ * Filter, which AffiliatePayoutBatches to fetch.
64992
66220
  */
64993
- where?: AffiliateEventWhereInput
66221
+ where?: AffiliatePayoutBatchWhereInput
64994
66222
  /**
64995
66223
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
64996
66224
  *
64997
- * Determine the order of AffiliateEvents to fetch.
66225
+ * Determine the order of AffiliatePayoutBatches to fetch.
64998
66226
  */
64999
- orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
66227
+ orderBy?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput | AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput[]
65000
66228
  /**
65001
66229
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65002
66230
  *
65003
- * Sets the position for listing AffiliateEvents.
66231
+ * Sets the position for listing AffiliatePayoutBatches.
65004
66232
  */
65005
- cursor?: AffiliateEventWhereUniqueInput
66233
+ cursor?: AffiliatePayoutBatchWhereUniqueInput
65006
66234
  /**
65007
66235
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65008
66236
  *
65009
- * Take `±n` AffiliateEvents from the position of the cursor.
66237
+ * Take `±n` AffiliatePayoutBatches from the position of the cursor.
65010
66238
  */
65011
66239
  take?: number
65012
66240
  /**
65013
66241
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65014
66242
  *
65015
- * Skip the first `n` AffiliateEvents.
66243
+ * Skip the first `n` AffiliatePayoutBatches.
65016
66244
  */
65017
66245
  skip?: number
65018
- distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
66246
+ distinct?: AffiliatePayoutBatchScalarFieldEnum | AffiliatePayoutBatchScalarFieldEnum[]
65019
66247
  }
65020
66248
 
65021
66249
  /**
65022
- * AffiliateEvent create
66250
+ * AffiliatePayoutBatch create
65023
66251
  */
65024
- export type AffiliateEventCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66252
+ export type AffiliatePayoutBatchCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65025
66253
  /**
65026
- * Select specific fields to fetch from the AffiliateEvent
66254
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65027
66255
  */
65028
- select?: AffiliateEventSelect<ExtArgs> | null
66256
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65029
66257
  /**
65030
66258
  * Choose, which related nodes to fetch as well
65031
66259
  */
65032
- include?: AffiliateEventInclude<ExtArgs> | null
66260
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65033
66261
  /**
65034
- * The data needed to create a AffiliateEvent.
66262
+ * The data needed to create a AffiliatePayoutBatch.
65035
66263
  */
65036
- data: XOR<AffiliateEventCreateInput, AffiliateEventUncheckedCreateInput>
66264
+ data: XOR<AffiliatePayoutBatchCreateInput, AffiliatePayoutBatchUncheckedCreateInput>
65037
66265
  }
65038
66266
 
65039
66267
  /**
65040
- * AffiliateEvent createMany
66268
+ * AffiliatePayoutBatch createMany
65041
66269
  */
65042
- export type AffiliateEventCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66270
+ export type AffiliatePayoutBatchCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65043
66271
  /**
65044
- * The data used to create many AffiliateEvents.
66272
+ * The data used to create many AffiliatePayoutBatches.
65045
66273
  */
65046
- data: AffiliateEventCreateManyInput | AffiliateEventCreateManyInput[]
66274
+ data: AffiliatePayoutBatchCreateManyInput | AffiliatePayoutBatchCreateManyInput[]
65047
66275
  skipDuplicates?: boolean
65048
66276
  }
65049
66277
 
65050
66278
  /**
65051
- * AffiliateEvent createManyAndReturn
66279
+ * AffiliatePayoutBatch createManyAndReturn
65052
66280
  */
65053
- export type AffiliateEventCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66281
+ export type AffiliatePayoutBatchCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65054
66282
  /**
65055
- * Select specific fields to fetch from the AffiliateEvent
66283
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65056
66284
  */
65057
- select?: AffiliateEventSelectCreateManyAndReturn<ExtArgs> | null
66285
+ select?: AffiliatePayoutBatchSelectCreateManyAndReturn<ExtArgs> | null
65058
66286
  /**
65059
- * The data used to create many AffiliateEvents.
66287
+ * The data used to create many AffiliatePayoutBatches.
65060
66288
  */
65061
- data: AffiliateEventCreateManyInput | AffiliateEventCreateManyInput[]
66289
+ data: AffiliatePayoutBatchCreateManyInput | AffiliatePayoutBatchCreateManyInput[]
65062
66290
  skipDuplicates?: boolean
65063
66291
  /**
65064
66292
  * Choose, which related nodes to fetch as well
65065
66293
  */
65066
- include?: AffiliateEventIncludeCreateManyAndReturn<ExtArgs> | null
66294
+ include?: AffiliatePayoutBatchIncludeCreateManyAndReturn<ExtArgs> | null
65067
66295
  }
65068
66296
 
65069
66297
  /**
65070
- * AffiliateEvent update
66298
+ * AffiliatePayoutBatch update
65071
66299
  */
65072
- export type AffiliateEventUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66300
+ export type AffiliatePayoutBatchUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65073
66301
  /**
65074
- * Select specific fields to fetch from the AffiliateEvent
66302
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65075
66303
  */
65076
- select?: AffiliateEventSelect<ExtArgs> | null
66304
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65077
66305
  /**
65078
66306
  * Choose, which related nodes to fetch as well
65079
66307
  */
65080
- include?: AffiliateEventInclude<ExtArgs> | null
66308
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65081
66309
  /**
65082
- * The data needed to update a AffiliateEvent.
66310
+ * The data needed to update a AffiliatePayoutBatch.
65083
66311
  */
65084
- data: XOR<AffiliateEventUpdateInput, AffiliateEventUncheckedUpdateInput>
66312
+ data: XOR<AffiliatePayoutBatchUpdateInput, AffiliatePayoutBatchUncheckedUpdateInput>
65085
66313
  /**
65086
- * Choose, which AffiliateEvent to update.
66314
+ * Choose, which AffiliatePayoutBatch to update.
65087
66315
  */
65088
- where: AffiliateEventWhereUniqueInput
66316
+ where: AffiliatePayoutBatchWhereUniqueInput
65089
66317
  }
65090
66318
 
65091
66319
  /**
65092
- * AffiliateEvent updateMany
66320
+ * AffiliatePayoutBatch updateMany
65093
66321
  */
65094
- export type AffiliateEventUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66322
+ export type AffiliatePayoutBatchUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65095
66323
  /**
65096
- * The data used to update AffiliateEvents.
66324
+ * The data used to update AffiliatePayoutBatches.
65097
66325
  */
65098
- data: XOR<AffiliateEventUpdateManyMutationInput, AffiliateEventUncheckedUpdateManyInput>
66326
+ data: XOR<AffiliatePayoutBatchUpdateManyMutationInput, AffiliatePayoutBatchUncheckedUpdateManyInput>
65099
66327
  /**
65100
- * Filter which AffiliateEvents to update
66328
+ * Filter which AffiliatePayoutBatches to update
65101
66329
  */
65102
- where?: AffiliateEventWhereInput
66330
+ where?: AffiliatePayoutBatchWhereInput
65103
66331
  }
65104
66332
 
65105
66333
  /**
65106
- * AffiliateEvent upsert
66334
+ * AffiliatePayoutBatch upsert
65107
66335
  */
65108
- export type AffiliateEventUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66336
+ export type AffiliatePayoutBatchUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65109
66337
  /**
65110
- * Select specific fields to fetch from the AffiliateEvent
66338
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65111
66339
  */
65112
- select?: AffiliateEventSelect<ExtArgs> | null
66340
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65113
66341
  /**
65114
66342
  * Choose, which related nodes to fetch as well
65115
66343
  */
65116
- include?: AffiliateEventInclude<ExtArgs> | null
66344
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65117
66345
  /**
65118
- * The filter to search for the AffiliateEvent to update in case it exists.
66346
+ * The filter to search for the AffiliatePayoutBatch to update in case it exists.
65119
66347
  */
65120
- where: AffiliateEventWhereUniqueInput
66348
+ where: AffiliatePayoutBatchWhereUniqueInput
65121
66349
  /**
65122
- * In case the AffiliateEvent found by the `where` argument doesn't exist, create a new AffiliateEvent with this data.
66350
+ * In case the AffiliatePayoutBatch found by the `where` argument doesn't exist, create a new AffiliatePayoutBatch with this data.
65123
66351
  */
65124
- create: XOR<AffiliateEventCreateInput, AffiliateEventUncheckedCreateInput>
66352
+ create: XOR<AffiliatePayoutBatchCreateInput, AffiliatePayoutBatchUncheckedCreateInput>
65125
66353
  /**
65126
- * In case the AffiliateEvent was found with the provided `where` argument, update it with this data.
66354
+ * In case the AffiliatePayoutBatch was found with the provided `where` argument, update it with this data.
65127
66355
  */
65128
- update: XOR<AffiliateEventUpdateInput, AffiliateEventUncheckedUpdateInput>
66356
+ update: XOR<AffiliatePayoutBatchUpdateInput, AffiliatePayoutBatchUncheckedUpdateInput>
65129
66357
  }
65130
66358
 
65131
66359
  /**
65132
- * AffiliateEvent delete
66360
+ * AffiliatePayoutBatch delete
65133
66361
  */
65134
- export type AffiliateEventDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66362
+ export type AffiliatePayoutBatchDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65135
66363
  /**
65136
- * Select specific fields to fetch from the AffiliateEvent
66364
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65137
66365
  */
65138
- select?: AffiliateEventSelect<ExtArgs> | null
66366
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65139
66367
  /**
65140
66368
  * Choose, which related nodes to fetch as well
65141
66369
  */
65142
- include?: AffiliateEventInclude<ExtArgs> | null
66370
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65143
66371
  /**
65144
- * Filter which AffiliateEvent to delete.
66372
+ * Filter which AffiliatePayoutBatch to delete.
65145
66373
  */
65146
- where: AffiliateEventWhereUniqueInput
66374
+ where: AffiliatePayoutBatchWhereUniqueInput
65147
66375
  }
65148
66376
 
65149
66377
  /**
65150
- * AffiliateEvent deleteMany
66378
+ * AffiliatePayoutBatch deleteMany
65151
66379
  */
65152
- export type AffiliateEventDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66380
+ export type AffiliatePayoutBatchDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65153
66381
  /**
65154
- * Filter which AffiliateEvents to delete
66382
+ * Filter which AffiliatePayoutBatches to delete
65155
66383
  */
65156
- where?: AffiliateEventWhereInput
66384
+ where?: AffiliatePayoutBatchWhereInput
65157
66385
  }
65158
66386
 
65159
66387
  /**
65160
- * AffiliateEvent.affiliateClick
66388
+ * AffiliatePayoutBatch.affiliateEvents
65161
66389
  */
65162
- export type AffiliateEvent$affiliateClickArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66390
+ export type AffiliatePayoutBatch$affiliateEventsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65163
66391
  /**
65164
- * Select specific fields to fetch from the AffiliateClick
66392
+ * Select specific fields to fetch from the AffiliateEvent
65165
66393
  */
65166
- select?: AffiliateClickSelect<ExtArgs> | null
66394
+ select?: AffiliateEventSelect<ExtArgs> | null
65167
66395
  /**
65168
66396
  * Choose, which related nodes to fetch as well
65169
66397
  */
65170
- include?: AffiliateClickInclude<ExtArgs> | null
65171
- where?: AffiliateClickWhereInput
66398
+ include?: AffiliateEventInclude<ExtArgs> | null
66399
+ where?: AffiliateEventWhereInput
66400
+ orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
66401
+ cursor?: AffiliateEventWhereUniqueInput
66402
+ take?: number
66403
+ skip?: number
66404
+ distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
65172
66405
  }
65173
66406
 
65174
66407
  /**
65175
- * AffiliateEvent without action
66408
+ * AffiliatePayoutBatch without action
65176
66409
  */
65177
- export type AffiliateEventDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66410
+ export type AffiliatePayoutBatchDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65178
66411
  /**
65179
- * Select specific fields to fetch from the AffiliateEvent
66412
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65180
66413
  */
65181
- select?: AffiliateEventSelect<ExtArgs> | null
66414
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65182
66415
  /**
65183
66416
  * Choose, which related nodes to fetch as well
65184
66417
  */
65185
- include?: AffiliateEventInclude<ExtArgs> | null
66418
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65186
66419
  }
65187
66420
 
65188
66421
 
@@ -94512,13 +95745,27 @@ export namespace Prisma {
94512
95745
  revenue: 'revenue',
94513
95746
  commissionAmount: 'commissionAmount',
94514
95747
  commissionPercent: 'commissionPercent',
95748
+ platform: 'platform',
95749
+ externalOrderId: 'externalOrderId',
94515
95750
  metaData: 'metaData',
94516
- affiliateClickId: 'affiliateClickId'
95751
+ affiliateClickId: 'affiliateClickId',
95752
+ affiliatePayoutBatchId: 'affiliatePayoutBatchId'
94517
95753
  };
94518
95754
 
94519
95755
  export type AffiliateEventScalarFieldEnum = (typeof AffiliateEventScalarFieldEnum)[keyof typeof AffiliateEventScalarFieldEnum]
94520
95756
 
94521
95757
 
95758
+ export const AffiliatePayoutBatchScalarFieldEnum: {
95759
+ id: 'id',
95760
+ created: 'created',
95761
+ metaData: 'metaData',
95762
+ trolleyBatchId: 'trolleyBatchId',
95763
+ userId: 'userId'
95764
+ };
95765
+
95766
+ export type AffiliatePayoutBatchScalarFieldEnum = (typeof AffiliatePayoutBatchScalarFieldEnum)[keyof typeof AffiliatePayoutBatchScalarFieldEnum]
95767
+
95768
+
94522
95769
  export const SavedFileScalarFieldEnum: {
94523
95770
  id: 'id',
94524
95771
  title: 'title',
@@ -95284,12 +96531,21 @@ export namespace Prisma {
95284
96531
  export const AffiliateEventOrderByRelevanceFieldEnum: {
95285
96532
  event: 'event',
95286
96533
  visitorIp: 'visitorIp',
95287
- urlPath: 'urlPath'
96534
+ urlPath: 'urlPath',
96535
+ platform: 'platform',
96536
+ externalOrderId: 'externalOrderId'
95288
96537
  };
95289
96538
 
95290
96539
  export type AffiliateEventOrderByRelevanceFieldEnum = (typeof AffiliateEventOrderByRelevanceFieldEnum)[keyof typeof AffiliateEventOrderByRelevanceFieldEnum]
95291
96540
 
95292
96541
 
96542
+ export const AffiliatePayoutBatchOrderByRelevanceFieldEnum: {
96543
+ trolleyBatchId: 'trolleyBatchId'
96544
+ };
96545
+
96546
+ export type AffiliatePayoutBatchOrderByRelevanceFieldEnum = (typeof AffiliatePayoutBatchOrderByRelevanceFieldEnum)[keyof typeof AffiliatePayoutBatchOrderByRelevanceFieldEnum]
96547
+
96548
+
95293
96549
  export const SavedFileOrderByRelevanceFieldEnum: {
95294
96550
  title: 'title',
95295
96551
  type: 'type',
@@ -95672,6 +96928,7 @@ export namespace Prisma {
95672
96928
  flagsAssigned?: CreatorFlagListRelationFilter
95673
96929
  flagsCreated?: CreatorFlagListRelationFilter
95674
96930
  flagsEdited?: CreatorFlagListRelationFilter
96931
+ affiliatePayoutBatches?: AffiliatePayoutBatchListRelationFilter
95675
96932
  }
95676
96933
 
95677
96934
  export type UserOrderByWithRelationAndSearchRelevanceInput = {
@@ -95722,6 +96979,7 @@ export namespace Prisma {
95722
96979
  flagsAssigned?: CreatorFlagOrderByRelationAggregateInput
95723
96980
  flagsCreated?: CreatorFlagOrderByRelationAggregateInput
95724
96981
  flagsEdited?: CreatorFlagOrderByRelationAggregateInput
96982
+ affiliatePayoutBatches?: AffiliatePayoutBatchOrderByRelationAggregateInput
95725
96983
  _relevance?: UserOrderByRelevanceInput
95726
96984
  }
95727
96985
 
@@ -95776,6 +97034,7 @@ export namespace Prisma {
95776
97034
  flagsAssigned?: CreatorFlagListRelationFilter
95777
97035
  flagsCreated?: CreatorFlagListRelationFilter
95778
97036
  flagsEdited?: CreatorFlagListRelationFilter
97037
+ affiliatePayoutBatches?: AffiliatePayoutBatchListRelationFilter
95779
97038
  }, "id" | "idmId" | "email" | "forgotPasswordKey" | "affiliateSlug">
95780
97039
 
95781
97040
  export type UserOrderByWithAggregationInput = {
@@ -100037,9 +101296,13 @@ export namespace Prisma {
100037
101296
  revenue?: FloatNullableFilter<"AffiliateEvent"> | number | null
100038
101297
  commissionAmount?: FloatNullableFilter<"AffiliateEvent"> | number | null
100039
101298
  commissionPercent?: FloatNullableFilter<"AffiliateEvent"> | number | null
101299
+ platform?: StringNullableFilter<"AffiliateEvent"> | string | null
101300
+ externalOrderId?: StringNullableFilter<"AffiliateEvent"> | string | null
100040
101301
  metaData?: JsonFilter<"AffiliateEvent">
100041
101302
  affiliateClickId?: IntFilter<"AffiliateEvent"> | number
101303
+ affiliatePayoutBatchId?: IntNullableFilter<"AffiliateEvent"> | number | null
100042
101304
  affiliateClick?: XOR<AffiliateClickNullableRelationFilter, AffiliateClickWhereInput> | null
101305
+ affiliatePayoutBatch?: XOR<AffiliatePayoutBatchNullableRelationFilter, AffiliatePayoutBatchWhereInput> | null
100043
101306
  }
100044
101307
 
100045
101308
  export type AffiliateEventOrderByWithRelationAndSearchRelevanceInput = {
@@ -100051,14 +101314,19 @@ export namespace Prisma {
100051
101314
  revenue?: SortOrderInput | SortOrder
100052
101315
  commissionAmount?: SortOrderInput | SortOrder
100053
101316
  commissionPercent?: SortOrderInput | SortOrder
101317
+ platform?: SortOrderInput | SortOrder
101318
+ externalOrderId?: SortOrderInput | SortOrder
100054
101319
  metaData?: SortOrder
100055
101320
  affiliateClickId?: SortOrder
101321
+ affiliatePayoutBatchId?: SortOrderInput | SortOrder
100056
101322
  affiliateClick?: AffiliateClickOrderByWithRelationAndSearchRelevanceInput
101323
+ affiliatePayoutBatch?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput
100057
101324
  _relevance?: AffiliateEventOrderByRelevanceInput
100058
101325
  }
100059
101326
 
100060
101327
  export type AffiliateEventWhereUniqueInput = Prisma.AtLeast<{
100061
101328
  id?: number
101329
+ platform_externalOrderId?: AffiliateEventPlatformExternalOrderIdCompoundUniqueInput
100062
101330
  AND?: AffiliateEventWhereInput | AffiliateEventWhereInput[]
100063
101331
  OR?: AffiliateEventWhereInput[]
100064
101332
  NOT?: AffiliateEventWhereInput | AffiliateEventWhereInput[]
@@ -100069,10 +101337,14 @@ export namespace Prisma {
100069
101337
  revenue?: FloatNullableFilter<"AffiliateEvent"> | number | null
100070
101338
  commissionAmount?: FloatNullableFilter<"AffiliateEvent"> | number | null
100071
101339
  commissionPercent?: FloatNullableFilter<"AffiliateEvent"> | number | null
101340
+ platform?: StringNullableFilter<"AffiliateEvent"> | string | null
101341
+ externalOrderId?: StringNullableFilter<"AffiliateEvent"> | string | null
100072
101342
  metaData?: JsonFilter<"AffiliateEvent">
100073
101343
  affiliateClickId?: IntFilter<"AffiliateEvent"> | number
101344
+ affiliatePayoutBatchId?: IntNullableFilter<"AffiliateEvent"> | number | null
100074
101345
  affiliateClick?: XOR<AffiliateClickNullableRelationFilter, AffiliateClickWhereInput> | null
100075
- }, "id">
101346
+ affiliatePayoutBatch?: XOR<AffiliatePayoutBatchNullableRelationFilter, AffiliatePayoutBatchWhereInput> | null
101347
+ }, "id" | "platform_externalOrderId">
100076
101348
 
100077
101349
  export type AffiliateEventOrderByWithAggregationInput = {
100078
101350
  id?: SortOrder
@@ -100083,8 +101355,11 @@ export namespace Prisma {
100083
101355
  revenue?: SortOrderInput | SortOrder
100084
101356
  commissionAmount?: SortOrderInput | SortOrder
100085
101357
  commissionPercent?: SortOrderInput | SortOrder
101358
+ platform?: SortOrderInput | SortOrder
101359
+ externalOrderId?: SortOrderInput | SortOrder
100086
101360
  metaData?: SortOrder
100087
101361
  affiliateClickId?: SortOrder
101362
+ affiliatePayoutBatchId?: SortOrderInput | SortOrder
100088
101363
  _count?: AffiliateEventCountOrderByAggregateInput
100089
101364
  _avg?: AffiliateEventAvgOrderByAggregateInput
100090
101365
  _max?: AffiliateEventMaxOrderByAggregateInput
@@ -100104,8 +101379,72 @@ export namespace Prisma {
100104
101379
  revenue?: FloatNullableWithAggregatesFilter<"AffiliateEvent"> | number | null
100105
101380
  commissionAmount?: FloatNullableWithAggregatesFilter<"AffiliateEvent"> | number | null
100106
101381
  commissionPercent?: FloatNullableWithAggregatesFilter<"AffiliateEvent"> | number | null
101382
+ platform?: StringNullableWithAggregatesFilter<"AffiliateEvent"> | string | null
101383
+ externalOrderId?: StringNullableWithAggregatesFilter<"AffiliateEvent"> | string | null
100107
101384
  metaData?: JsonWithAggregatesFilter<"AffiliateEvent">
100108
101385
  affiliateClickId?: IntWithAggregatesFilter<"AffiliateEvent"> | number
101386
+ affiliatePayoutBatchId?: IntNullableWithAggregatesFilter<"AffiliateEvent"> | number | null
101387
+ }
101388
+
101389
+ export type AffiliatePayoutBatchWhereInput = {
101390
+ AND?: AffiliatePayoutBatchWhereInput | AffiliatePayoutBatchWhereInput[]
101391
+ OR?: AffiliatePayoutBatchWhereInput[]
101392
+ NOT?: AffiliatePayoutBatchWhereInput | AffiliatePayoutBatchWhereInput[]
101393
+ id?: IntFilter<"AffiliatePayoutBatch"> | number
101394
+ created?: DateTimeFilter<"AffiliatePayoutBatch"> | Date | string
101395
+ metaData?: JsonFilter<"AffiliatePayoutBatch">
101396
+ trolleyBatchId?: StringNullableFilter<"AffiliatePayoutBatch"> | string | null
101397
+ userId?: IntFilter<"AffiliatePayoutBatch"> | number
101398
+ user?: XOR<UserRelationFilter, UserWhereInput>
101399
+ affiliateEvents?: AffiliateEventListRelationFilter
101400
+ }
101401
+
101402
+ export type AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput = {
101403
+ id?: SortOrder
101404
+ created?: SortOrder
101405
+ metaData?: SortOrder
101406
+ trolleyBatchId?: SortOrderInput | SortOrder
101407
+ userId?: SortOrder
101408
+ user?: UserOrderByWithRelationAndSearchRelevanceInput
101409
+ affiliateEvents?: AffiliateEventOrderByRelationAggregateInput
101410
+ _relevance?: AffiliatePayoutBatchOrderByRelevanceInput
101411
+ }
101412
+
101413
+ export type AffiliatePayoutBatchWhereUniqueInput = Prisma.AtLeast<{
101414
+ id?: number
101415
+ trolleyBatchId?: string
101416
+ AND?: AffiliatePayoutBatchWhereInput | AffiliatePayoutBatchWhereInput[]
101417
+ OR?: AffiliatePayoutBatchWhereInput[]
101418
+ NOT?: AffiliatePayoutBatchWhereInput | AffiliatePayoutBatchWhereInput[]
101419
+ created?: DateTimeFilter<"AffiliatePayoutBatch"> | Date | string
101420
+ metaData?: JsonFilter<"AffiliatePayoutBatch">
101421
+ userId?: IntFilter<"AffiliatePayoutBatch"> | number
101422
+ user?: XOR<UserRelationFilter, UserWhereInput>
101423
+ affiliateEvents?: AffiliateEventListRelationFilter
101424
+ }, "id" | "trolleyBatchId">
101425
+
101426
+ export type AffiliatePayoutBatchOrderByWithAggregationInput = {
101427
+ id?: SortOrder
101428
+ created?: SortOrder
101429
+ metaData?: SortOrder
101430
+ trolleyBatchId?: SortOrderInput | SortOrder
101431
+ userId?: SortOrder
101432
+ _count?: AffiliatePayoutBatchCountOrderByAggregateInput
101433
+ _avg?: AffiliatePayoutBatchAvgOrderByAggregateInput
101434
+ _max?: AffiliatePayoutBatchMaxOrderByAggregateInput
101435
+ _min?: AffiliatePayoutBatchMinOrderByAggregateInput
101436
+ _sum?: AffiliatePayoutBatchSumOrderByAggregateInput
101437
+ }
101438
+
101439
+ export type AffiliatePayoutBatchScalarWhereWithAggregatesInput = {
101440
+ AND?: AffiliatePayoutBatchScalarWhereWithAggregatesInput | AffiliatePayoutBatchScalarWhereWithAggregatesInput[]
101441
+ OR?: AffiliatePayoutBatchScalarWhereWithAggregatesInput[]
101442
+ NOT?: AffiliatePayoutBatchScalarWhereWithAggregatesInput | AffiliatePayoutBatchScalarWhereWithAggregatesInput[]
101443
+ id?: IntWithAggregatesFilter<"AffiliatePayoutBatch"> | number
101444
+ created?: DateTimeWithAggregatesFilter<"AffiliatePayoutBatch"> | Date | string
101445
+ metaData?: JsonWithAggregatesFilter<"AffiliatePayoutBatch">
101446
+ trolleyBatchId?: StringNullableWithAggregatesFilter<"AffiliatePayoutBatch"> | string | null
101447
+ userId?: IntWithAggregatesFilter<"AffiliatePayoutBatch"> | number
100109
101448
  }
100110
101449
 
100111
101450
  export type SavedFileWhereInput = {
@@ -102110,6 +103449,7 @@ export namespace Prisma {
102110
103449
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
102111
103450
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
102112
103451
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
103452
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
102113
103453
  }
102114
103454
 
102115
103455
  export type UserUncheckedCreateInput = {
@@ -102159,6 +103499,7 @@ export namespace Prisma {
102159
103499
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
102160
103500
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
102161
103501
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
103502
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
102162
103503
  }
102163
103504
 
102164
103505
  export type UserUpdateInput = {
@@ -102207,6 +103548,7 @@ export namespace Prisma {
102207
103548
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
102208
103549
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
102209
103550
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
103551
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
102210
103552
  }
102211
103553
 
102212
103554
  export type UserUncheckedUpdateInput = {
@@ -102256,6 +103598,7 @@ export namespace Prisma {
102256
103598
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
102257
103599
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
102258
103600
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
103601
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
102259
103602
  }
102260
103603
 
102261
103604
  export type UserCreateManyInput = {
@@ -106695,8 +108038,11 @@ export namespace Prisma {
106695
108038
  revenue?: number | null
106696
108039
  commissionAmount?: number | null
106697
108040
  commissionPercent?: number | null
108041
+ platform?: string | null
108042
+ externalOrderId?: string | null
106698
108043
  metaData?: JsonNullValueInput | InputJsonValue
106699
108044
  affiliateClick?: AffiliateClickCreateNestedOneWithoutAffiliateEventInput
108045
+ affiliatePayoutBatch?: AffiliatePayoutBatchCreateNestedOneWithoutAffiliateEventsInput
106700
108046
  }
106701
108047
 
106702
108048
  export type AffiliateEventUncheckedCreateInput = {
@@ -106708,8 +108054,11 @@ export namespace Prisma {
106708
108054
  revenue?: number | null
106709
108055
  commissionAmount?: number | null
106710
108056
  commissionPercent?: number | null
108057
+ platform?: string | null
108058
+ externalOrderId?: string | null
106711
108059
  metaData?: JsonNullValueInput | InputJsonValue
106712
108060
  affiliateClickId: number
108061
+ affiliatePayoutBatchId?: number | null
106713
108062
  }
106714
108063
 
106715
108064
  export type AffiliateEventUpdateInput = {
@@ -106720,8 +108069,11 @@ export namespace Prisma {
106720
108069
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
106721
108070
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
106722
108071
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
108072
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
108073
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
106723
108074
  metaData?: JsonNullValueInput | InputJsonValue
106724
108075
  affiliateClick?: AffiliateClickUpdateOneWithoutAffiliateEventNestedInput
108076
+ affiliatePayoutBatch?: AffiliatePayoutBatchUpdateOneWithoutAffiliateEventsNestedInput
106725
108077
  }
106726
108078
 
106727
108079
  export type AffiliateEventUncheckedUpdateInput = {
@@ -106733,8 +108085,11 @@ export namespace Prisma {
106733
108085
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
106734
108086
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
106735
108087
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
108088
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
108089
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
106736
108090
  metaData?: JsonNullValueInput | InputJsonValue
106737
108091
  affiliateClickId?: IntFieldUpdateOperationsInput | number
108092
+ affiliatePayoutBatchId?: NullableIntFieldUpdateOperationsInput | number | null
106738
108093
  }
106739
108094
 
106740
108095
  export type AffiliateEventCreateManyInput = {
@@ -106746,8 +108101,11 @@ export namespace Prisma {
106746
108101
  revenue?: number | null
106747
108102
  commissionAmount?: number | null
106748
108103
  commissionPercent?: number | null
108104
+ platform?: string | null
108105
+ externalOrderId?: string | null
106749
108106
  metaData?: JsonNullValueInput | InputJsonValue
106750
108107
  affiliateClickId: number
108108
+ affiliatePayoutBatchId?: number | null
106751
108109
  }
106752
108110
 
106753
108111
  export type AffiliateEventUpdateManyMutationInput = {
@@ -106758,6 +108116,8 @@ export namespace Prisma {
106758
108116
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
106759
108117
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
106760
108118
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
108119
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
108120
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
106761
108121
  metaData?: JsonNullValueInput | InputJsonValue
106762
108122
  }
106763
108123
 
@@ -106770,8 +108130,67 @@ export namespace Prisma {
106770
108130
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
106771
108131
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
106772
108132
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
108133
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
108134
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
106773
108135
  metaData?: JsonNullValueInput | InputJsonValue
106774
108136
  affiliateClickId?: IntFieldUpdateOperationsInput | number
108137
+ affiliatePayoutBatchId?: NullableIntFieldUpdateOperationsInput | number | null
108138
+ }
108139
+
108140
+ export type AffiliatePayoutBatchCreateInput = {
108141
+ created?: Date | string
108142
+ metaData?: JsonNullValueInput | InputJsonValue
108143
+ trolleyBatchId?: string | null
108144
+ user: UserCreateNestedOneWithoutAffiliatePayoutBatchesInput
108145
+ affiliateEvents?: AffiliateEventCreateNestedManyWithoutAffiliatePayoutBatchInput
108146
+ }
108147
+
108148
+ export type AffiliatePayoutBatchUncheckedCreateInput = {
108149
+ id?: number
108150
+ created?: Date | string
108151
+ metaData?: JsonNullValueInput | InputJsonValue
108152
+ trolleyBatchId?: string | null
108153
+ userId: number
108154
+ affiliateEvents?: AffiliateEventUncheckedCreateNestedManyWithoutAffiliatePayoutBatchInput
108155
+ }
108156
+
108157
+ export type AffiliatePayoutBatchUpdateInput = {
108158
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
108159
+ metaData?: JsonNullValueInput | InputJsonValue
108160
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
108161
+ user?: UserUpdateOneRequiredWithoutAffiliatePayoutBatchesNestedInput
108162
+ affiliateEvents?: AffiliateEventUpdateManyWithoutAffiliatePayoutBatchNestedInput
108163
+ }
108164
+
108165
+ export type AffiliatePayoutBatchUncheckedUpdateInput = {
108166
+ id?: IntFieldUpdateOperationsInput | number
108167
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
108168
+ metaData?: JsonNullValueInput | InputJsonValue
108169
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
108170
+ userId?: IntFieldUpdateOperationsInput | number
108171
+ affiliateEvents?: AffiliateEventUncheckedUpdateManyWithoutAffiliatePayoutBatchNestedInput
108172
+ }
108173
+
108174
+ export type AffiliatePayoutBatchCreateManyInput = {
108175
+ id?: number
108176
+ created?: Date | string
108177
+ metaData?: JsonNullValueInput | InputJsonValue
108178
+ trolleyBatchId?: string | null
108179
+ userId: number
108180
+ }
108181
+
108182
+ export type AffiliatePayoutBatchUpdateManyMutationInput = {
108183
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
108184
+ metaData?: JsonNullValueInput | InputJsonValue
108185
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
108186
+ }
108187
+
108188
+ export type AffiliatePayoutBatchUncheckedUpdateManyInput = {
108189
+ id?: IntFieldUpdateOperationsInput | number
108190
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
108191
+ metaData?: JsonNullValueInput | InputJsonValue
108192
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
108193
+ userId?: IntFieldUpdateOperationsInput | number
106775
108194
  }
106776
108195
 
106777
108196
  export type SavedFileCreateInput = {
@@ -108858,6 +110277,12 @@ export namespace Prisma {
108858
110277
  none?: CreatorFlagWhereInput
108859
110278
  }
108860
110279
 
110280
+ export type AffiliatePayoutBatchListRelationFilter = {
110281
+ every?: AffiliatePayoutBatchWhereInput
110282
+ some?: AffiliatePayoutBatchWhereInput
110283
+ none?: AffiliatePayoutBatchWhereInput
110284
+ }
110285
+
108861
110286
  export type SortOrderInput = {
108862
110287
  sort: SortOrder
108863
110288
  nulls?: NullsOrder
@@ -108923,6 +110348,10 @@ export namespace Prisma {
108923
110348
  _count?: SortOrder
108924
110349
  }
108925
110350
 
110351
+ export type AffiliatePayoutBatchOrderByRelationAggregateInput = {
110352
+ _count?: SortOrder
110353
+ }
110354
+
108926
110355
  export type UserOrderByRelevanceInput = {
108927
110356
  fields: UserOrderByRelevanceFieldEnum | UserOrderByRelevanceFieldEnum[]
108928
110357
  sort: SortOrder
@@ -112543,12 +113972,22 @@ export namespace Prisma {
112543
113972
  isNot?: AffiliateClickWhereInput | null
112544
113973
  }
112545
113974
 
113975
+ export type AffiliatePayoutBatchNullableRelationFilter = {
113976
+ is?: AffiliatePayoutBatchWhereInput | null
113977
+ isNot?: AffiliatePayoutBatchWhereInput | null
113978
+ }
113979
+
112546
113980
  export type AffiliateEventOrderByRelevanceInput = {
112547
113981
  fields: AffiliateEventOrderByRelevanceFieldEnum | AffiliateEventOrderByRelevanceFieldEnum[]
112548
113982
  sort: SortOrder
112549
113983
  search: string
112550
113984
  }
112551
113985
 
113986
+ export type AffiliateEventPlatformExternalOrderIdCompoundUniqueInput = {
113987
+ platform: string
113988
+ externalOrderId: string
113989
+ }
113990
+
112552
113991
  export type AffiliateEventCountOrderByAggregateInput = {
112553
113992
  id?: SortOrder
112554
113993
  event?: SortOrder
@@ -112558,8 +113997,11 @@ export namespace Prisma {
112558
113997
  revenue?: SortOrder
112559
113998
  commissionAmount?: SortOrder
112560
113999
  commissionPercent?: SortOrder
114000
+ platform?: SortOrder
114001
+ externalOrderId?: SortOrder
112561
114002
  metaData?: SortOrder
112562
114003
  affiliateClickId?: SortOrder
114004
+ affiliatePayoutBatchId?: SortOrder
112563
114005
  }
112564
114006
 
112565
114007
  export type AffiliateEventAvgOrderByAggregateInput = {
@@ -112568,6 +114010,7 @@ export namespace Prisma {
112568
114010
  commissionAmount?: SortOrder
112569
114011
  commissionPercent?: SortOrder
112570
114012
  affiliateClickId?: SortOrder
114013
+ affiliatePayoutBatchId?: SortOrder
112571
114014
  }
112572
114015
 
112573
114016
  export type AffiliateEventMaxOrderByAggregateInput = {
@@ -112579,7 +114022,10 @@ export namespace Prisma {
112579
114022
  revenue?: SortOrder
112580
114023
  commissionAmount?: SortOrder
112581
114024
  commissionPercent?: SortOrder
114025
+ platform?: SortOrder
114026
+ externalOrderId?: SortOrder
112582
114027
  affiliateClickId?: SortOrder
114028
+ affiliatePayoutBatchId?: SortOrder
112583
114029
  }
112584
114030
 
112585
114031
  export type AffiliateEventMinOrderByAggregateInput = {
@@ -112591,7 +114037,10 @@ export namespace Prisma {
112591
114037
  revenue?: SortOrder
112592
114038
  commissionAmount?: SortOrder
112593
114039
  commissionPercent?: SortOrder
114040
+ platform?: SortOrder
114041
+ externalOrderId?: SortOrder
112594
114042
  affiliateClickId?: SortOrder
114043
+ affiliatePayoutBatchId?: SortOrder
112595
114044
  }
112596
114045
 
112597
114046
  export type AffiliateEventSumOrderByAggregateInput = {
@@ -112600,6 +114049,45 @@ export namespace Prisma {
112600
114049
  commissionAmount?: SortOrder
112601
114050
  commissionPercent?: SortOrder
112602
114051
  affiliateClickId?: SortOrder
114052
+ affiliatePayoutBatchId?: SortOrder
114053
+ }
114054
+
114055
+ export type AffiliatePayoutBatchOrderByRelevanceInput = {
114056
+ fields: AffiliatePayoutBatchOrderByRelevanceFieldEnum | AffiliatePayoutBatchOrderByRelevanceFieldEnum[]
114057
+ sort: SortOrder
114058
+ search: string
114059
+ }
114060
+
114061
+ export type AffiliatePayoutBatchCountOrderByAggregateInput = {
114062
+ id?: SortOrder
114063
+ created?: SortOrder
114064
+ metaData?: SortOrder
114065
+ trolleyBatchId?: SortOrder
114066
+ userId?: SortOrder
114067
+ }
114068
+
114069
+ export type AffiliatePayoutBatchAvgOrderByAggregateInput = {
114070
+ id?: SortOrder
114071
+ userId?: SortOrder
114072
+ }
114073
+
114074
+ export type AffiliatePayoutBatchMaxOrderByAggregateInput = {
114075
+ id?: SortOrder
114076
+ created?: SortOrder
114077
+ trolleyBatchId?: SortOrder
114078
+ userId?: SortOrder
114079
+ }
114080
+
114081
+ export type AffiliatePayoutBatchMinOrderByAggregateInput = {
114082
+ id?: SortOrder
114083
+ created?: SortOrder
114084
+ trolleyBatchId?: SortOrder
114085
+ userId?: SortOrder
114086
+ }
114087
+
114088
+ export type AffiliatePayoutBatchSumOrderByAggregateInput = {
114089
+ id?: SortOrder
114090
+ userId?: SortOrder
112603
114091
  }
112604
114092
 
112605
114093
  export type SavedFileOrderByRelevanceInput = {
@@ -114228,6 +115716,13 @@ export namespace Prisma {
114228
115716
  connect?: CreatorFlagWhereUniqueInput | CreatorFlagWhereUniqueInput[]
114229
115717
  }
114230
115718
 
115719
+ export type AffiliatePayoutBatchCreateNestedManyWithoutUserInput = {
115720
+ create?: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput> | AffiliatePayoutBatchCreateWithoutUserInput[] | AffiliatePayoutBatchUncheckedCreateWithoutUserInput[]
115721
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutUserInput | AffiliatePayoutBatchCreateOrConnectWithoutUserInput[]
115722
+ createMany?: AffiliatePayoutBatchCreateManyUserInputEnvelope
115723
+ connect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
115724
+ }
115725
+
114231
115726
  export type UserUncheckedCreateNestedManyWithoutReferrerInput = {
114232
115727
  create?: XOR<UserCreateWithoutReferrerInput, UserUncheckedCreateWithoutReferrerInput> | UserCreateWithoutReferrerInput[] | UserUncheckedCreateWithoutReferrerInput[]
114233
115728
  connectOrCreate?: UserCreateOrConnectWithoutReferrerInput | UserCreateOrConnectWithoutReferrerInput[]
@@ -114389,6 +115884,13 @@ export namespace Prisma {
114389
115884
  connect?: CreatorFlagWhereUniqueInput | CreatorFlagWhereUniqueInput[]
114390
115885
  }
114391
115886
 
115887
+ export type AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput = {
115888
+ create?: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput> | AffiliatePayoutBatchCreateWithoutUserInput[] | AffiliatePayoutBatchUncheckedCreateWithoutUserInput[]
115889
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutUserInput | AffiliatePayoutBatchCreateOrConnectWithoutUserInput[]
115890
+ createMany?: AffiliatePayoutBatchCreateManyUserInputEnvelope
115891
+ connect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
115892
+ }
115893
+
114392
115894
  export type NullableStringFieldUpdateOperationsInput = {
114393
115895
  set?: string | null
114394
115896
  }
@@ -114731,6 +116233,20 @@ export namespace Prisma {
114731
116233
  deleteMany?: CreatorFlagScalarWhereInput | CreatorFlagScalarWhereInput[]
114732
116234
  }
114733
116235
 
116236
+ export type AffiliatePayoutBatchUpdateManyWithoutUserNestedInput = {
116237
+ create?: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput> | AffiliatePayoutBatchCreateWithoutUserInput[] | AffiliatePayoutBatchUncheckedCreateWithoutUserInput[]
116238
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutUserInput | AffiliatePayoutBatchCreateOrConnectWithoutUserInput[]
116239
+ upsert?: AffiliatePayoutBatchUpsertWithWhereUniqueWithoutUserInput | AffiliatePayoutBatchUpsertWithWhereUniqueWithoutUserInput[]
116240
+ createMany?: AffiliatePayoutBatchCreateManyUserInputEnvelope
116241
+ set?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116242
+ disconnect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116243
+ delete?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116244
+ connect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116245
+ update?: AffiliatePayoutBatchUpdateWithWhereUniqueWithoutUserInput | AffiliatePayoutBatchUpdateWithWhereUniqueWithoutUserInput[]
116246
+ updateMany?: AffiliatePayoutBatchUpdateManyWithWhereWithoutUserInput | AffiliatePayoutBatchUpdateManyWithWhereWithoutUserInput[]
116247
+ deleteMany?: AffiliatePayoutBatchScalarWhereInput | AffiliatePayoutBatchScalarWhereInput[]
116248
+ }
116249
+
114734
116250
  export type IntFieldUpdateOperationsInput = {
114735
116251
  set?: number
114736
116252
  increment?: number
@@ -115047,6 +116563,20 @@ export namespace Prisma {
115047
116563
  deleteMany?: CreatorFlagScalarWhereInput | CreatorFlagScalarWhereInput[]
115048
116564
  }
115049
116565
 
116566
+ export type AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput = {
116567
+ create?: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput> | AffiliatePayoutBatchCreateWithoutUserInput[] | AffiliatePayoutBatchUncheckedCreateWithoutUserInput[]
116568
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutUserInput | AffiliatePayoutBatchCreateOrConnectWithoutUserInput[]
116569
+ upsert?: AffiliatePayoutBatchUpsertWithWhereUniqueWithoutUserInput | AffiliatePayoutBatchUpsertWithWhereUniqueWithoutUserInput[]
116570
+ createMany?: AffiliatePayoutBatchCreateManyUserInputEnvelope
116571
+ set?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116572
+ disconnect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116573
+ delete?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116574
+ connect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116575
+ update?: AffiliatePayoutBatchUpdateWithWhereUniqueWithoutUserInput | AffiliatePayoutBatchUpdateWithWhereUniqueWithoutUserInput[]
116576
+ updateMany?: AffiliatePayoutBatchUpdateManyWithWhereWithoutUserInput | AffiliatePayoutBatchUpdateManyWithWhereWithoutUserInput[]
116577
+ deleteMany?: AffiliatePayoutBatchScalarWhereInput | AffiliatePayoutBatchScalarWhereInput[]
116578
+ }
116579
+
115050
116580
  export type UserCreateNestedOneWithoutLogsInput = {
115051
116581
  create?: XOR<UserCreateWithoutLogsInput, UserUncheckedCreateWithoutLogsInput>
115052
116582
  connectOrCreate?: UserCreateOrConnectWithoutLogsInput
@@ -119449,6 +120979,12 @@ export namespace Prisma {
119449
120979
  connect?: AffiliateClickWhereUniqueInput
119450
120980
  }
119451
120981
 
120982
+ export type AffiliatePayoutBatchCreateNestedOneWithoutAffiliateEventsInput = {
120983
+ create?: XOR<AffiliatePayoutBatchCreateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedCreateWithoutAffiliateEventsInput>
120984
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutAffiliateEventsInput
120985
+ connect?: AffiliatePayoutBatchWhereUniqueInput
120986
+ }
120987
+
119452
120988
  export type AffiliateClickUpdateOneWithoutAffiliateEventNestedInput = {
119453
120989
  create?: XOR<AffiliateClickCreateWithoutAffiliateEventInput, AffiliateClickUncheckedCreateWithoutAffiliateEventInput>
119454
120990
  connectOrCreate?: AffiliateClickCreateOrConnectWithoutAffiliateEventInput
@@ -119459,6 +120995,72 @@ export namespace Prisma {
119459
120995
  update?: XOR<XOR<AffiliateClickUpdateToOneWithWhereWithoutAffiliateEventInput, AffiliateClickUpdateWithoutAffiliateEventInput>, AffiliateClickUncheckedUpdateWithoutAffiliateEventInput>
119460
120996
  }
119461
120997
 
120998
+ export type AffiliatePayoutBatchUpdateOneWithoutAffiliateEventsNestedInput = {
120999
+ create?: XOR<AffiliatePayoutBatchCreateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedCreateWithoutAffiliateEventsInput>
121000
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutAffiliateEventsInput
121001
+ upsert?: AffiliatePayoutBatchUpsertWithoutAffiliateEventsInput
121002
+ disconnect?: AffiliatePayoutBatchWhereInput | boolean
121003
+ delete?: AffiliatePayoutBatchWhereInput | boolean
121004
+ connect?: AffiliatePayoutBatchWhereUniqueInput
121005
+ update?: XOR<XOR<AffiliatePayoutBatchUpdateToOneWithWhereWithoutAffiliateEventsInput, AffiliatePayoutBatchUpdateWithoutAffiliateEventsInput>, AffiliatePayoutBatchUncheckedUpdateWithoutAffiliateEventsInput>
121006
+ }
121007
+
121008
+ export type UserCreateNestedOneWithoutAffiliatePayoutBatchesInput = {
121009
+ create?: XOR<UserCreateWithoutAffiliatePayoutBatchesInput, UserUncheckedCreateWithoutAffiliatePayoutBatchesInput>
121010
+ connectOrCreate?: UserCreateOrConnectWithoutAffiliatePayoutBatchesInput
121011
+ connect?: UserWhereUniqueInput
121012
+ }
121013
+
121014
+ export type AffiliateEventCreateNestedManyWithoutAffiliatePayoutBatchInput = {
121015
+ create?: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput> | AffiliateEventCreateWithoutAffiliatePayoutBatchInput[] | AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput[]
121016
+ connectOrCreate?: AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput | AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput[]
121017
+ createMany?: AffiliateEventCreateManyAffiliatePayoutBatchInputEnvelope
121018
+ connect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121019
+ }
121020
+
121021
+ export type AffiliateEventUncheckedCreateNestedManyWithoutAffiliatePayoutBatchInput = {
121022
+ create?: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput> | AffiliateEventCreateWithoutAffiliatePayoutBatchInput[] | AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput[]
121023
+ connectOrCreate?: AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput | AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput[]
121024
+ createMany?: AffiliateEventCreateManyAffiliatePayoutBatchInputEnvelope
121025
+ connect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121026
+ }
121027
+
121028
+ export type UserUpdateOneRequiredWithoutAffiliatePayoutBatchesNestedInput = {
121029
+ create?: XOR<UserCreateWithoutAffiliatePayoutBatchesInput, UserUncheckedCreateWithoutAffiliatePayoutBatchesInput>
121030
+ connectOrCreate?: UserCreateOrConnectWithoutAffiliatePayoutBatchesInput
121031
+ upsert?: UserUpsertWithoutAffiliatePayoutBatchesInput
121032
+ connect?: UserWhereUniqueInput
121033
+ update?: XOR<XOR<UserUpdateToOneWithWhereWithoutAffiliatePayoutBatchesInput, UserUpdateWithoutAffiliatePayoutBatchesInput>, UserUncheckedUpdateWithoutAffiliatePayoutBatchesInput>
121034
+ }
121035
+
121036
+ export type AffiliateEventUpdateManyWithoutAffiliatePayoutBatchNestedInput = {
121037
+ create?: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput> | AffiliateEventCreateWithoutAffiliatePayoutBatchInput[] | AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput[]
121038
+ connectOrCreate?: AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput | AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput[]
121039
+ upsert?: AffiliateEventUpsertWithWhereUniqueWithoutAffiliatePayoutBatchInput | AffiliateEventUpsertWithWhereUniqueWithoutAffiliatePayoutBatchInput[]
121040
+ createMany?: AffiliateEventCreateManyAffiliatePayoutBatchInputEnvelope
121041
+ set?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121042
+ disconnect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121043
+ delete?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121044
+ connect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121045
+ update?: AffiliateEventUpdateWithWhereUniqueWithoutAffiliatePayoutBatchInput | AffiliateEventUpdateWithWhereUniqueWithoutAffiliatePayoutBatchInput[]
121046
+ updateMany?: AffiliateEventUpdateManyWithWhereWithoutAffiliatePayoutBatchInput | AffiliateEventUpdateManyWithWhereWithoutAffiliatePayoutBatchInput[]
121047
+ deleteMany?: AffiliateEventScalarWhereInput | AffiliateEventScalarWhereInput[]
121048
+ }
121049
+
121050
+ export type AffiliateEventUncheckedUpdateManyWithoutAffiliatePayoutBatchNestedInput = {
121051
+ create?: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput> | AffiliateEventCreateWithoutAffiliatePayoutBatchInput[] | AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput[]
121052
+ connectOrCreate?: AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput | AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput[]
121053
+ upsert?: AffiliateEventUpsertWithWhereUniqueWithoutAffiliatePayoutBatchInput | AffiliateEventUpsertWithWhereUniqueWithoutAffiliatePayoutBatchInput[]
121054
+ createMany?: AffiliateEventCreateManyAffiliatePayoutBatchInputEnvelope
121055
+ set?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121056
+ disconnect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121057
+ delete?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121058
+ connect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121059
+ update?: AffiliateEventUpdateWithWhereUniqueWithoutAffiliatePayoutBatchInput | AffiliateEventUpdateWithWhereUniqueWithoutAffiliatePayoutBatchInput[]
121060
+ updateMany?: AffiliateEventUpdateManyWithWhereWithoutAffiliatePayoutBatchInput | AffiliateEventUpdateManyWithWhereWithoutAffiliatePayoutBatchInput[]
121061
+ deleteMany?: AffiliateEventScalarWhereInput | AffiliateEventScalarWhereInput[]
121062
+ }
121063
+
119462
121064
  export type BrandCreateNestedOneWithoutSavedfilesInput = {
119463
121065
  create?: XOR<BrandCreateWithoutSavedfilesInput, BrandUncheckedCreateWithoutSavedfilesInput>
119464
121066
  connectOrCreate?: BrandCreateOrConnectWithoutSavedfilesInput
@@ -121388,6 +122990,7 @@ export namespace Prisma {
121388
122990
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
121389
122991
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
121390
122992
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
122993
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
121391
122994
  }
121392
122995
 
121393
122996
  export type UserUncheckedCreateWithoutReferredUsersInput = {
@@ -121436,6 +123039,7 @@ export namespace Prisma {
121436
123039
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
121437
123040
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
121438
123041
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
123042
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
121439
123043
  }
121440
123044
 
121441
123045
  export type UserCreateOrConnectWithoutReferredUsersInput = {
@@ -121488,6 +123092,7 @@ export namespace Prisma {
121488
123092
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
121489
123093
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
121490
123094
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
123095
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
121491
123096
  }
121492
123097
 
121493
123098
  export type UserUncheckedCreateWithoutReferrerInput = {
@@ -121536,6 +123141,7 @@ export namespace Prisma {
121536
123141
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
121537
123142
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
121538
123143
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
123144
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
121539
123145
  }
121540
123146
 
121541
123147
  export type UserCreateOrConnectWithoutReferrerInput = {
@@ -122508,6 +124114,31 @@ export namespace Prisma {
122508
124114
  skipDuplicates?: boolean
122509
124115
  }
122510
124116
 
124117
+ export type AffiliatePayoutBatchCreateWithoutUserInput = {
124118
+ created?: Date | string
124119
+ metaData?: JsonNullValueInput | InputJsonValue
124120
+ trolleyBatchId?: string | null
124121
+ affiliateEvents?: AffiliateEventCreateNestedManyWithoutAffiliatePayoutBatchInput
124122
+ }
124123
+
124124
+ export type AffiliatePayoutBatchUncheckedCreateWithoutUserInput = {
124125
+ id?: number
124126
+ created?: Date | string
124127
+ metaData?: JsonNullValueInput | InputJsonValue
124128
+ trolleyBatchId?: string | null
124129
+ affiliateEvents?: AffiliateEventUncheckedCreateNestedManyWithoutAffiliatePayoutBatchInput
124130
+ }
124131
+
124132
+ export type AffiliatePayoutBatchCreateOrConnectWithoutUserInput = {
124133
+ where: AffiliatePayoutBatchWhereUniqueInput
124134
+ create: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput>
124135
+ }
124136
+
124137
+ export type AffiliatePayoutBatchCreateManyUserInputEnvelope = {
124138
+ data: AffiliatePayoutBatchCreateManyUserInput | AffiliatePayoutBatchCreateManyUserInput[]
124139
+ skipDuplicates?: boolean
124140
+ }
124141
+
122511
124142
  export type UserUpsertWithoutReferredUsersInput = {
122512
124143
  update: XOR<UserUpdateWithoutReferredUsersInput, UserUncheckedUpdateWithoutReferredUsersInput>
122513
124144
  create: XOR<UserCreateWithoutReferredUsersInput, UserUncheckedCreateWithoutReferredUsersInput>
@@ -122564,6 +124195,7 @@ export namespace Prisma {
122564
124195
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
122565
124196
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
122566
124197
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
124198
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
122567
124199
  }
122568
124200
 
122569
124201
  export type UserUncheckedUpdateWithoutReferredUsersInput = {
@@ -122612,6 +124244,7 @@ export namespace Prisma {
122612
124244
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
122613
124245
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
122614
124246
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
124247
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
122615
124248
  }
122616
124249
 
122617
124250
  export type UserUpsertWithWhereUniqueWithoutReferrerInput = {
@@ -123513,6 +125146,33 @@ export namespace Prisma {
123513
125146
  data: XOR<CreatorFlagUpdateManyMutationInput, CreatorFlagUncheckedUpdateManyWithoutEditedByUserInput>
123514
125147
  }
123515
125148
 
125149
+ export type AffiliatePayoutBatchUpsertWithWhereUniqueWithoutUserInput = {
125150
+ where: AffiliatePayoutBatchWhereUniqueInput
125151
+ update: XOR<AffiliatePayoutBatchUpdateWithoutUserInput, AffiliatePayoutBatchUncheckedUpdateWithoutUserInput>
125152
+ create: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput>
125153
+ }
125154
+
125155
+ export type AffiliatePayoutBatchUpdateWithWhereUniqueWithoutUserInput = {
125156
+ where: AffiliatePayoutBatchWhereUniqueInput
125157
+ data: XOR<AffiliatePayoutBatchUpdateWithoutUserInput, AffiliatePayoutBatchUncheckedUpdateWithoutUserInput>
125158
+ }
125159
+
125160
+ export type AffiliatePayoutBatchUpdateManyWithWhereWithoutUserInput = {
125161
+ where: AffiliatePayoutBatchScalarWhereInput
125162
+ data: XOR<AffiliatePayoutBatchUpdateManyMutationInput, AffiliatePayoutBatchUncheckedUpdateManyWithoutUserInput>
125163
+ }
125164
+
125165
+ export type AffiliatePayoutBatchScalarWhereInput = {
125166
+ AND?: AffiliatePayoutBatchScalarWhereInput | AffiliatePayoutBatchScalarWhereInput[]
125167
+ OR?: AffiliatePayoutBatchScalarWhereInput[]
125168
+ NOT?: AffiliatePayoutBatchScalarWhereInput | AffiliatePayoutBatchScalarWhereInput[]
125169
+ id?: IntFilter<"AffiliatePayoutBatch"> | number
125170
+ created?: DateTimeFilter<"AffiliatePayoutBatch"> | Date | string
125171
+ metaData?: JsonFilter<"AffiliatePayoutBatch">
125172
+ trolleyBatchId?: StringNullableFilter<"AffiliatePayoutBatch"> | string | null
125173
+ userId?: IntFilter<"AffiliatePayoutBatch"> | number
125174
+ }
125175
+
123516
125176
  export type UserCreateWithoutLogsInput = {
123517
125177
  idmId?: string | null
123518
125178
  role: string
@@ -123558,6 +125218,7 @@ export namespace Prisma {
123558
125218
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
123559
125219
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
123560
125220
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
125221
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
123561
125222
  }
123562
125223
 
123563
125224
  export type UserUncheckedCreateWithoutLogsInput = {
@@ -123606,6 +125267,7 @@ export namespace Prisma {
123606
125267
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
123607
125268
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
123608
125269
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
125270
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
123609
125271
  }
123610
125272
 
123611
125273
  export type UserCreateOrConnectWithoutLogsInput = {
@@ -123669,6 +125331,7 @@ export namespace Prisma {
123669
125331
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
123670
125332
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
123671
125333
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
125334
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
123672
125335
  }
123673
125336
 
123674
125337
  export type UserUncheckedUpdateWithoutLogsInput = {
@@ -123717,6 +125380,7 @@ export namespace Prisma {
123717
125380
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
123718
125381
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
123719
125382
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
125383
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
123720
125384
  }
123721
125385
 
123722
125386
  export type CreatorToCategoryCreateWithoutCreatorProfileInput = {
@@ -123782,6 +125446,7 @@ export namespace Prisma {
123782
125446
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
123783
125447
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
123784
125448
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
125449
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
123785
125450
  }
123786
125451
 
123787
125452
  export type UserUncheckedCreateWithoutCreatorProfileInput = {
@@ -123830,6 +125495,7 @@ export namespace Prisma {
123830
125495
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
123831
125496
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
123832
125497
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
125498
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
123833
125499
  }
123834
125500
 
123835
125501
  export type UserCreateOrConnectWithoutCreatorProfileInput = {
@@ -123917,6 +125583,7 @@ export namespace Prisma {
123917
125583
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
123918
125584
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
123919
125585
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
125586
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
123920
125587
  }
123921
125588
 
123922
125589
  export type UserUncheckedUpdateWithoutCreatorProfileInput = {
@@ -123965,6 +125632,7 @@ export namespace Prisma {
123965
125632
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
123966
125633
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
123967
125634
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
125635
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
123968
125636
  }
123969
125637
 
123970
125638
  export type UserCreateWithoutInstagramProfileInput = {
@@ -124012,6 +125680,7 @@ export namespace Prisma {
124012
125680
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
124013
125681
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
124014
125682
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
125683
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
124015
125684
  }
124016
125685
 
124017
125686
  export type UserUncheckedCreateWithoutInstagramProfileInput = {
@@ -124060,6 +125729,7 @@ export namespace Prisma {
124060
125729
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
124061
125730
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
124062
125731
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
125732
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
124063
125733
  }
124064
125734
 
124065
125735
  export type UserCreateOrConnectWithoutInstagramProfileInput = {
@@ -124207,6 +125877,7 @@ export namespace Prisma {
124207
125877
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
124208
125878
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
124209
125879
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
125880
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
124210
125881
  }
124211
125882
 
124212
125883
  export type UserUncheckedUpdateWithoutInstagramProfileInput = {
@@ -124255,6 +125926,7 @@ export namespace Prisma {
124255
125926
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
124256
125927
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
124257
125928
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
125929
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
124258
125930
  }
124259
125931
 
124260
125932
  export type BrandUpsertWithoutInstagramProfileInput = {
@@ -124392,6 +126064,7 @@ export namespace Prisma {
124392
126064
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
124393
126065
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
124394
126066
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
126067
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
124395
126068
  }
124396
126069
 
124397
126070
  export type UserUncheckedCreateWithoutTiktokProfileInput = {
@@ -124440,6 +126113,7 @@ export namespace Prisma {
124440
126113
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
124441
126114
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
124442
126115
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
126116
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
124443
126117
  }
124444
126118
 
124445
126119
  export type UserCreateOrConnectWithoutTiktokProfileInput = {
@@ -124587,6 +126261,7 @@ export namespace Prisma {
124587
126261
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
124588
126262
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
124589
126263
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
126264
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
124590
126265
  }
124591
126266
 
124592
126267
  export type UserUncheckedUpdateWithoutTiktokProfileInput = {
@@ -124635,6 +126310,7 @@ export namespace Prisma {
124635
126310
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
124636
126311
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
124637
126312
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
126313
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
124638
126314
  }
124639
126315
 
124640
126316
  export type BrandUpsertWithoutTiktokProfileInput = {
@@ -124772,6 +126448,7 @@ export namespace Prisma {
124772
126448
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
124773
126449
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
124774
126450
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
126451
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
124775
126452
  }
124776
126453
 
124777
126454
  export type UserUncheckedCreateWithoutYoutubeProfileInput = {
@@ -124820,6 +126497,7 @@ export namespace Prisma {
124820
126497
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
124821
126498
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
124822
126499
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
126500
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
124823
126501
  }
124824
126502
 
124825
126503
  export type UserCreateOrConnectWithoutYoutubeProfileInput = {
@@ -124967,6 +126645,7 @@ export namespace Prisma {
124967
126645
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
124968
126646
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
124969
126647
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
126648
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
124970
126649
  }
124971
126650
 
124972
126651
  export type UserUncheckedUpdateWithoutYoutubeProfileInput = {
@@ -125015,6 +126694,7 @@ export namespace Prisma {
125015
126694
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
125016
126695
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
125017
126696
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
126697
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
125018
126698
  }
125019
126699
 
125020
126700
  export type BrandUpsertWithoutYoutubeProfileInput = {
@@ -125152,6 +126832,7 @@ export namespace Prisma {
125152
126832
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
125153
126833
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
125154
126834
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
126835
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
125155
126836
  }
125156
126837
 
125157
126838
  export type UserUncheckedCreateWithoutTwitchProfileInput = {
@@ -125200,6 +126881,7 @@ export namespace Prisma {
125200
126881
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
125201
126882
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
125202
126883
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
126884
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
125203
126885
  }
125204
126886
 
125205
126887
  export type UserCreateOrConnectWithoutTwitchProfileInput = {
@@ -125263,6 +126945,7 @@ export namespace Prisma {
125263
126945
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
125264
126946
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
125265
126947
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
126948
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
125266
126949
  }
125267
126950
 
125268
126951
  export type UserUncheckedUpdateWithoutTwitchProfileInput = {
@@ -125311,6 +126994,7 @@ export namespace Prisma {
125311
126994
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
125312
126995
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
125313
126996
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
126997
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
125314
126998
  }
125315
126999
 
125316
127000
  export type UserCreateWithoutFacebookProfileInput = {
@@ -125358,6 +127042,7 @@ export namespace Prisma {
125358
127042
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
125359
127043
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
125360
127044
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
127045
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
125361
127046
  }
125362
127047
 
125363
127048
  export type UserUncheckedCreateWithoutFacebookProfileInput = {
@@ -125406,6 +127091,7 @@ export namespace Prisma {
125406
127091
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
125407
127092
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
125408
127093
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
127094
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
125409
127095
  }
125410
127096
 
125411
127097
  export type UserCreateOrConnectWithoutFacebookProfileInput = {
@@ -125469,6 +127155,7 @@ export namespace Prisma {
125469
127155
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
125470
127156
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
125471
127157
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
127158
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
125472
127159
  }
125473
127160
 
125474
127161
  export type UserUncheckedUpdateWithoutFacebookProfileInput = {
@@ -125517,6 +127204,7 @@ export namespace Prisma {
125517
127204
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
125518
127205
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
125519
127206
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
127207
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
125520
127208
  }
125521
127209
 
125522
127210
  export type UserCreateWithoutTwitterProfileInput = {
@@ -125564,6 +127252,7 @@ export namespace Prisma {
125564
127252
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
125565
127253
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
125566
127254
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
127255
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
125567
127256
  }
125568
127257
 
125569
127258
  export type UserUncheckedCreateWithoutTwitterProfileInput = {
@@ -125612,6 +127301,7 @@ export namespace Prisma {
125612
127301
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
125613
127302
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
125614
127303
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
127304
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
125615
127305
  }
125616
127306
 
125617
127307
  export type UserCreateOrConnectWithoutTwitterProfileInput = {
@@ -125675,6 +127365,7 @@ export namespace Prisma {
125675
127365
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
125676
127366
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
125677
127367
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
127368
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
125678
127369
  }
125679
127370
 
125680
127371
  export type UserUncheckedUpdateWithoutTwitterProfileInput = {
@@ -125723,6 +127414,7 @@ export namespace Prisma {
125723
127414
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
125724
127415
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
125725
127416
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
127417
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
125726
127418
  }
125727
127419
 
125728
127420
  export type UserCreateWithoutBrandProfilesInput = {
@@ -125770,6 +127462,7 @@ export namespace Prisma {
125770
127462
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
125771
127463
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
125772
127464
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
127465
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
125773
127466
  }
125774
127467
 
125775
127468
  export type UserUncheckedCreateWithoutBrandProfilesInput = {
@@ -125818,6 +127511,7 @@ export namespace Prisma {
125818
127511
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
125819
127512
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
125820
127513
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
127514
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
125821
127515
  }
125822
127516
 
125823
127517
  export type UserCreateOrConnectWithoutBrandProfilesInput = {
@@ -125965,6 +127659,7 @@ export namespace Prisma {
125965
127659
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
125966
127660
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
125967
127661
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
127662
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
125968
127663
  }
125969
127664
 
125970
127665
  export type UserUncheckedUpdateWithoutBrandProfilesInput = {
@@ -126013,6 +127708,7 @@ export namespace Prisma {
126013
127708
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
126014
127709
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
126015
127710
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
127711
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
126016
127712
  }
126017
127713
 
126018
127714
  export type BrandUpsertWithoutBrandUsersInput = {
@@ -126150,6 +127846,7 @@ export namespace Prisma {
126150
127846
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
126151
127847
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
126152
127848
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
127849
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
126153
127850
  }
126154
127851
 
126155
127852
  export type UserUncheckedCreateWithoutAssignedBrandsInput = {
@@ -126198,6 +127895,7 @@ export namespace Prisma {
126198
127895
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
126199
127896
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
126200
127897
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
127898
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
126201
127899
  }
126202
127900
 
126203
127901
  export type UserCreateOrConnectWithoutAssignedBrandsInput = {
@@ -127309,6 +129007,7 @@ export namespace Prisma {
127309
129007
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
127310
129008
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
127311
129009
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
129010
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
127312
129011
  }
127313
129012
 
127314
129013
  export type UserUncheckedUpdateWithoutAssignedBrandsInput = {
@@ -127357,6 +129056,7 @@ export namespace Prisma {
127357
129056
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
127358
129057
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
127359
129058
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
129059
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
127360
129060
  }
127361
129061
 
127362
129062
  export type InstagramProfileUpsertWithoutBrandInput = {
@@ -129629,6 +131329,7 @@ export namespace Prisma {
129629
131329
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
129630
131330
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
129631
131331
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
131332
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
129632
131333
  }
129633
131334
 
129634
131335
  export type UserUncheckedCreateWithoutMessagesInput = {
@@ -129677,6 +131378,7 @@ export namespace Prisma {
129677
131378
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
129678
131379
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
129679
131380
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
131381
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
129680
131382
  }
129681
131383
 
129682
131384
  export type UserCreateOrConnectWithoutMessagesInput = {
@@ -129760,6 +131462,7 @@ export namespace Prisma {
129760
131462
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
129761
131463
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
129762
131464
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
131465
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
129763
131466
  }
129764
131467
 
129765
131468
  export type UserUncheckedUpdateWithoutMessagesInput = {
@@ -129808,6 +131511,7 @@ export namespace Prisma {
129808
131511
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
129809
131512
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
129810
131513
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
131514
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
129811
131515
  }
129812
131516
 
129813
131517
  export type ChatUpsertWithoutMessagesInput = {
@@ -130974,6 +132678,7 @@ export namespace Prisma {
130974
132678
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
130975
132679
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
130976
132680
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
132681
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
130977
132682
  }
130978
132683
 
130979
132684
  export type UserUncheckedCreateWithoutCampaignPinsInput = {
@@ -131022,6 +132727,7 @@ export namespace Prisma {
131022
132727
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
131023
132728
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
131024
132729
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
132730
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
131025
132731
  }
131026
132732
 
131027
132733
  export type UserCreateOrConnectWithoutCampaignPinsInput = {
@@ -131233,6 +132939,7 @@ export namespace Prisma {
131233
132939
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
131234
132940
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
131235
132941
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
132942
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
131236
132943
  }
131237
132944
 
131238
132945
  export type UserUncheckedUpdateWithoutCampaignPinsInput = {
@@ -131281,6 +132988,7 @@ export namespace Prisma {
131281
132988
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
131282
132989
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
131283
132990
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
132991
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
131284
132992
  }
131285
132993
 
131286
132994
  export type CampaignUpsertWithoutCampaignPinsInput = {
@@ -135159,6 +136867,7 @@ export namespace Prisma {
135159
136867
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
135160
136868
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
135161
136869
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
136870
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
135162
136871
  }
135163
136872
 
135164
136873
  export type UserUncheckedCreateWithoutOptInsInput = {
@@ -135207,6 +136916,7 @@ export namespace Prisma {
135207
136916
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
135208
136917
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
135209
136918
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
136919
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
135210
136920
  }
135211
136921
 
135212
136922
  export type UserCreateOrConnectWithoutOptInsInput = {
@@ -135768,6 +137478,7 @@ export namespace Prisma {
135768
137478
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
135769
137479
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
135770
137480
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
137481
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
135771
137482
  }
135772
137483
 
135773
137484
  export type UserUncheckedUpdateWithoutOptInsInput = {
@@ -135816,6 +137527,7 @@ export namespace Prisma {
135816
137527
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
135817
137528
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
135818
137529
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
137530
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
135819
137531
  }
135820
137532
 
135821
137533
  export type CampaignUpsertWithoutOptInsInput = {
@@ -136703,6 +138415,7 @@ export namespace Prisma {
136703
138415
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
136704
138416
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
136705
138417
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
138418
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
136706
138419
  }
136707
138420
 
136708
138421
  export type UserUncheckedCreateWithoutSocialPostsInput = {
@@ -136751,6 +138464,7 @@ export namespace Prisma {
136751
138464
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
136752
138465
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
136753
138466
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
138467
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
136754
138468
  }
136755
138469
 
136756
138470
  export type UserCreateOrConnectWithoutSocialPostsInput = {
@@ -137005,6 +138719,7 @@ export namespace Prisma {
137005
138719
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
137006
138720
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
137007
138721
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
138722
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
137008
138723
  }
137009
138724
 
137010
138725
  export type UserUncheckedUpdateWithoutSocialPostsInput = {
@@ -137053,6 +138768,7 @@ export namespace Prisma {
137053
138768
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
137054
138769
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
137055
138770
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
138771
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
137056
138772
  }
137057
138773
 
137058
138774
  export type CampaignUpsertWithoutSocialPostsInput = {
@@ -138046,6 +139762,7 @@ export namespace Prisma {
138046
139762
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
138047
139763
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
138048
139764
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
139765
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
138049
139766
  }
138050
139767
 
138051
139768
  export type UserUncheckedCreateWithoutPaymentTransactionsInput = {
@@ -138094,6 +139811,7 @@ export namespace Prisma {
138094
139811
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
138095
139812
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
138096
139813
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
139814
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
138097
139815
  }
138098
139816
 
138099
139817
  export type UserCreateOrConnectWithoutPaymentTransactionsInput = {
@@ -138311,6 +140029,7 @@ export namespace Prisma {
138311
140029
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
138312
140030
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
138313
140031
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
140032
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
138314
140033
  }
138315
140034
 
138316
140035
  export type UserUncheckedUpdateWithoutPaymentTransactionsInput = {
@@ -138359,6 +140078,7 @@ export namespace Prisma {
138359
140078
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
138360
140079
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
138361
140080
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
140081
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
138362
140082
  }
138363
140083
 
138364
140084
  export type PaymentTransactionUpsertWithoutNextTransactionInput = {
@@ -139212,6 +140932,7 @@ export namespace Prisma {
139212
140932
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
139213
140933
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
139214
140934
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
140935
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
139215
140936
  }
139216
140937
 
139217
140938
  export type UserUncheckedCreateWithoutAffiliateLinksInput = {
@@ -139260,6 +140981,7 @@ export namespace Prisma {
139260
140981
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
139261
140982
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
139262
140983
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
140984
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
139263
140985
  }
139264
140986
 
139265
140987
  export type UserCreateOrConnectWithoutAffiliateLinksInput = {
@@ -139365,6 +141087,7 @@ export namespace Prisma {
139365
141087
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
139366
141088
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
139367
141089
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
141090
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
139368
141091
  }
139369
141092
 
139370
141093
  export type UserUncheckedUpdateWithoutAffiliateLinksInput = {
@@ -139413,6 +141136,7 @@ export namespace Prisma {
139413
141136
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
139414
141137
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
139415
141138
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
141139
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
139416
141140
  }
139417
141141
 
139418
141142
  export type BrandAffiliateLinkUpsertWithoutAffiliateLinksInput = {
@@ -139547,7 +141271,10 @@ export namespace Prisma {
139547
141271
  revenue?: number | null
139548
141272
  commissionAmount?: number | null
139549
141273
  commissionPercent?: number | null
141274
+ platform?: string | null
141275
+ externalOrderId?: string | null
139550
141276
  metaData?: JsonNullValueInput | InputJsonValue
141277
+ affiliatePayoutBatch?: AffiliatePayoutBatchCreateNestedOneWithoutAffiliateEventsInput
139551
141278
  }
139552
141279
 
139553
141280
  export type AffiliateEventUncheckedCreateWithoutAffiliateClickInput = {
@@ -139559,7 +141286,10 @@ export namespace Prisma {
139559
141286
  revenue?: number | null
139560
141287
  commissionAmount?: number | null
139561
141288
  commissionPercent?: number | null
141289
+ platform?: string | null
141290
+ externalOrderId?: string | null
139562
141291
  metaData?: JsonNullValueInput | InputJsonValue
141292
+ affiliatePayoutBatchId?: number | null
139563
141293
  }
139564
141294
 
139565
141295
  export type AffiliateEventCreateOrConnectWithoutAffiliateClickInput = {
@@ -139704,8 +141434,11 @@ export namespace Prisma {
139704
141434
  revenue?: FloatNullableFilter<"AffiliateEvent"> | number | null
139705
141435
  commissionAmount?: FloatNullableFilter<"AffiliateEvent"> | number | null
139706
141436
  commissionPercent?: FloatNullableFilter<"AffiliateEvent"> | number | null
141437
+ platform?: StringNullableFilter<"AffiliateEvent"> | string | null
141438
+ externalOrderId?: StringNullableFilter<"AffiliateEvent"> | string | null
139707
141439
  metaData?: JsonFilter<"AffiliateEvent">
139708
141440
  affiliateClickId?: IntFilter<"AffiliateEvent"> | number
141441
+ affiliatePayoutBatchId?: IntNullableFilter<"AffiliateEvent"> | number | null
139709
141442
  }
139710
141443
 
139711
141444
  export type AffiliateClickCreateWithoutAffiliateEventInput = {
@@ -139732,6 +141465,26 @@ export namespace Prisma {
139732
141465
  create: XOR<AffiliateClickCreateWithoutAffiliateEventInput, AffiliateClickUncheckedCreateWithoutAffiliateEventInput>
139733
141466
  }
139734
141467
 
141468
+ export type AffiliatePayoutBatchCreateWithoutAffiliateEventsInput = {
141469
+ created?: Date | string
141470
+ metaData?: JsonNullValueInput | InputJsonValue
141471
+ trolleyBatchId?: string | null
141472
+ user: UserCreateNestedOneWithoutAffiliatePayoutBatchesInput
141473
+ }
141474
+
141475
+ export type AffiliatePayoutBatchUncheckedCreateWithoutAffiliateEventsInput = {
141476
+ id?: number
141477
+ created?: Date | string
141478
+ metaData?: JsonNullValueInput | InputJsonValue
141479
+ trolleyBatchId?: string | null
141480
+ userId: number
141481
+ }
141482
+
141483
+ export type AffiliatePayoutBatchCreateOrConnectWithoutAffiliateEventsInput = {
141484
+ where: AffiliatePayoutBatchWhereUniqueInput
141485
+ create: XOR<AffiliatePayoutBatchCreateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedCreateWithoutAffiliateEventsInput>
141486
+ }
141487
+
139735
141488
  export type AffiliateClickUpsertWithoutAffiliateEventInput = {
139736
141489
  update: XOR<AffiliateClickUpdateWithoutAffiliateEventInput, AffiliateClickUncheckedUpdateWithoutAffiliateEventInput>
139737
141490
  create: XOR<AffiliateClickCreateWithoutAffiliateEventInput, AffiliateClickUncheckedCreateWithoutAffiliateEventInput>
@@ -139762,6 +141515,297 @@ export namespace Prisma {
139762
141515
  affiliateLinkId?: IntFieldUpdateOperationsInput | number
139763
141516
  }
139764
141517
 
141518
+ export type AffiliatePayoutBatchUpsertWithoutAffiliateEventsInput = {
141519
+ update: XOR<AffiliatePayoutBatchUpdateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedUpdateWithoutAffiliateEventsInput>
141520
+ create: XOR<AffiliatePayoutBatchCreateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedCreateWithoutAffiliateEventsInput>
141521
+ where?: AffiliatePayoutBatchWhereInput
141522
+ }
141523
+
141524
+ export type AffiliatePayoutBatchUpdateToOneWithWhereWithoutAffiliateEventsInput = {
141525
+ where?: AffiliatePayoutBatchWhereInput
141526
+ data: XOR<AffiliatePayoutBatchUpdateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedUpdateWithoutAffiliateEventsInput>
141527
+ }
141528
+
141529
+ export type AffiliatePayoutBatchUpdateWithoutAffiliateEventsInput = {
141530
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
141531
+ metaData?: JsonNullValueInput | InputJsonValue
141532
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
141533
+ user?: UserUpdateOneRequiredWithoutAffiliatePayoutBatchesNestedInput
141534
+ }
141535
+
141536
+ export type AffiliatePayoutBatchUncheckedUpdateWithoutAffiliateEventsInput = {
141537
+ id?: IntFieldUpdateOperationsInput | number
141538
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
141539
+ metaData?: JsonNullValueInput | InputJsonValue
141540
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
141541
+ userId?: IntFieldUpdateOperationsInput | number
141542
+ }
141543
+
141544
+ export type UserCreateWithoutAffiliatePayoutBatchesInput = {
141545
+ idmId?: string | null
141546
+ role: string
141547
+ email?: string | null
141548
+ password?: string | null
141549
+ registered?: Date | string
141550
+ lastLoginDate?: Date | string | null
141551
+ firstName?: string | null
141552
+ lastName?: string | null
141553
+ phone?: string | null
141554
+ phoneCode?: number | null
141555
+ phoneShort?: string | null
141556
+ profilePicUrl?: string | null
141557
+ forgotPasswordKey?: string | null
141558
+ affiliateSlug?: string | null
141559
+ closed?: Date | string | null
141560
+ closedReason?: string | null
141561
+ usercomLastSynced?: Date | string | null
141562
+ extraData?: JsonNullValueInput | InputJsonValue
141563
+ fullName?: string | null
141564
+ phoneNormalised?: string | null
141565
+ referrer?: UserCreateNestedOneWithoutReferredUsersInput
141566
+ referredUsers?: UserCreateNestedManyWithoutReferrerInput
141567
+ logs?: LogCreateNestedManyWithoutUserInput
141568
+ creatorProfile?: CreatorProfileCreateNestedOneWithoutUserInput
141569
+ instagramProfile?: InstagramProfileCreateNestedOneWithoutUserInput
141570
+ youtubeProfile?: YoutubeProfileCreateNestedOneWithoutUserInput
141571
+ tiktokProfile?: TiktokProfileCreateNestedOneWithoutUserInput
141572
+ facebookProfile?: FacebookProfileCreateNestedOneWithoutUserInput
141573
+ twitterProfile?: TwitterProfileCreateNestedOneWithoutUserInput
141574
+ twitchProfile?: TwitchProfileCreateNestedOneWithoutUserInput
141575
+ brandProfiles?: BrandUserProfileCreateNestedManyWithoutUserInput
141576
+ optIns?: OptInCreateNestedManyWithoutUserInput
141577
+ assignedBrands?: BrandCreateNestedManyWithoutDedicatedSpecialistInput
141578
+ messages?: MessageCreateNestedManyWithoutUserInput
141579
+ socialPosts?: SocialPostCreateNestedManyWithoutUserInput
141580
+ paymentTransactions?: PaymentTransactionCreateNestedManyWithoutCreatorInput
141581
+ affiliateLinks?: AffiliateLinkCreateNestedManyWithoutAffiliateInput
141582
+ campaignPins?: CampaignPinCreateNestedManyWithoutUserInput
141583
+ socialProfiles?: SocialProfileCreateNestedManyWithoutUserInput
141584
+ rakutenActivity?: RakutenActivityCreateNestedManyWithoutUserInput
141585
+ impactRadiusEvents?: ImpactRadiusEventCreateNestedManyWithoutUserInput
141586
+ cjEvents?: CjEventCreateNestedManyWithoutUserInput
141587
+ flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
141588
+ flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
141589
+ flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
141590
+ }
141591
+
141592
+ export type UserUncheckedCreateWithoutAffiliatePayoutBatchesInput = {
141593
+ id?: number
141594
+ idmId?: string | null
141595
+ role: string
141596
+ email?: string | null
141597
+ password?: string | null
141598
+ registered?: Date | string
141599
+ lastLoginDate?: Date | string | null
141600
+ firstName?: string | null
141601
+ lastName?: string | null
141602
+ phone?: string | null
141603
+ phoneCode?: number | null
141604
+ phoneShort?: string | null
141605
+ profilePicUrl?: string | null
141606
+ forgotPasswordKey?: string | null
141607
+ affiliateSlug?: string | null
141608
+ closed?: Date | string | null
141609
+ closedReason?: string | null
141610
+ usercomLastSynced?: Date | string | null
141611
+ extraData?: JsonNullValueInput | InputJsonValue
141612
+ referrerId?: number | null
141613
+ fullName?: string | null
141614
+ phoneNormalised?: string | null
141615
+ referredUsers?: UserUncheckedCreateNestedManyWithoutReferrerInput
141616
+ logs?: LogUncheckedCreateNestedManyWithoutUserInput
141617
+ creatorProfile?: CreatorProfileUncheckedCreateNestedOneWithoutUserInput
141618
+ instagramProfile?: InstagramProfileUncheckedCreateNestedOneWithoutUserInput
141619
+ youtubeProfile?: YoutubeProfileUncheckedCreateNestedOneWithoutUserInput
141620
+ tiktokProfile?: TiktokProfileUncheckedCreateNestedOneWithoutUserInput
141621
+ facebookProfile?: FacebookProfileUncheckedCreateNestedOneWithoutUserInput
141622
+ twitterProfile?: TwitterProfileUncheckedCreateNestedOneWithoutUserInput
141623
+ twitchProfile?: TwitchProfileUncheckedCreateNestedOneWithoutUserInput
141624
+ brandProfiles?: BrandUserProfileUncheckedCreateNestedManyWithoutUserInput
141625
+ optIns?: OptInUncheckedCreateNestedManyWithoutUserInput
141626
+ assignedBrands?: BrandUncheckedCreateNestedManyWithoutDedicatedSpecialistInput
141627
+ messages?: MessageUncheckedCreateNestedManyWithoutUserInput
141628
+ socialPosts?: SocialPostUncheckedCreateNestedManyWithoutUserInput
141629
+ paymentTransactions?: PaymentTransactionUncheckedCreateNestedManyWithoutCreatorInput
141630
+ affiliateLinks?: AffiliateLinkUncheckedCreateNestedManyWithoutAffiliateInput
141631
+ campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutUserInput
141632
+ socialProfiles?: SocialProfileUncheckedCreateNestedManyWithoutUserInput
141633
+ rakutenActivity?: RakutenActivityUncheckedCreateNestedManyWithoutUserInput
141634
+ impactRadiusEvents?: ImpactRadiusEventUncheckedCreateNestedManyWithoutUserInput
141635
+ cjEvents?: CjEventUncheckedCreateNestedManyWithoutUserInput
141636
+ flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
141637
+ flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
141638
+ flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
141639
+ }
141640
+
141641
+ export type UserCreateOrConnectWithoutAffiliatePayoutBatchesInput = {
141642
+ where: UserWhereUniqueInput
141643
+ create: XOR<UserCreateWithoutAffiliatePayoutBatchesInput, UserUncheckedCreateWithoutAffiliatePayoutBatchesInput>
141644
+ }
141645
+
141646
+ export type AffiliateEventCreateWithoutAffiliatePayoutBatchInput = {
141647
+ event: string
141648
+ created?: Date | string
141649
+ visitorIp?: string | null
141650
+ urlPath?: string | null
141651
+ revenue?: number | null
141652
+ commissionAmount?: number | null
141653
+ commissionPercent?: number | null
141654
+ platform?: string | null
141655
+ externalOrderId?: string | null
141656
+ metaData?: JsonNullValueInput | InputJsonValue
141657
+ affiliateClick?: AffiliateClickCreateNestedOneWithoutAffiliateEventInput
141658
+ }
141659
+
141660
+ export type AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput = {
141661
+ id?: number
141662
+ event: string
141663
+ created?: Date | string
141664
+ visitorIp?: string | null
141665
+ urlPath?: string | null
141666
+ revenue?: number | null
141667
+ commissionAmount?: number | null
141668
+ commissionPercent?: number | null
141669
+ platform?: string | null
141670
+ externalOrderId?: string | null
141671
+ metaData?: JsonNullValueInput | InputJsonValue
141672
+ affiliateClickId: number
141673
+ }
141674
+
141675
+ export type AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput = {
141676
+ where: AffiliateEventWhereUniqueInput
141677
+ create: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput>
141678
+ }
141679
+
141680
+ export type AffiliateEventCreateManyAffiliatePayoutBatchInputEnvelope = {
141681
+ data: AffiliateEventCreateManyAffiliatePayoutBatchInput | AffiliateEventCreateManyAffiliatePayoutBatchInput[]
141682
+ skipDuplicates?: boolean
141683
+ }
141684
+
141685
+ export type UserUpsertWithoutAffiliatePayoutBatchesInput = {
141686
+ update: XOR<UserUpdateWithoutAffiliatePayoutBatchesInput, UserUncheckedUpdateWithoutAffiliatePayoutBatchesInput>
141687
+ create: XOR<UserCreateWithoutAffiliatePayoutBatchesInput, UserUncheckedCreateWithoutAffiliatePayoutBatchesInput>
141688
+ where?: UserWhereInput
141689
+ }
141690
+
141691
+ export type UserUpdateToOneWithWhereWithoutAffiliatePayoutBatchesInput = {
141692
+ where?: UserWhereInput
141693
+ data: XOR<UserUpdateWithoutAffiliatePayoutBatchesInput, UserUncheckedUpdateWithoutAffiliatePayoutBatchesInput>
141694
+ }
141695
+
141696
+ export type UserUpdateWithoutAffiliatePayoutBatchesInput = {
141697
+ idmId?: NullableStringFieldUpdateOperationsInput | string | null
141698
+ role?: StringFieldUpdateOperationsInput | string
141699
+ email?: NullableStringFieldUpdateOperationsInput | string | null
141700
+ password?: NullableStringFieldUpdateOperationsInput | string | null
141701
+ registered?: DateTimeFieldUpdateOperationsInput | Date | string
141702
+ lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141703
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
141704
+ lastName?: NullableStringFieldUpdateOperationsInput | string | null
141705
+ phone?: NullableStringFieldUpdateOperationsInput | string | null
141706
+ phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
141707
+ phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
141708
+ profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
141709
+ forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
141710
+ affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
141711
+ closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141712
+ closedReason?: NullableStringFieldUpdateOperationsInput | string | null
141713
+ usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141714
+ extraData?: JsonNullValueInput | InputJsonValue
141715
+ fullName?: NullableStringFieldUpdateOperationsInput | string | null
141716
+ phoneNormalised?: NullableStringFieldUpdateOperationsInput | string | null
141717
+ referrer?: UserUpdateOneWithoutReferredUsersNestedInput
141718
+ referredUsers?: UserUpdateManyWithoutReferrerNestedInput
141719
+ logs?: LogUpdateManyWithoutUserNestedInput
141720
+ creatorProfile?: CreatorProfileUpdateOneWithoutUserNestedInput
141721
+ instagramProfile?: InstagramProfileUpdateOneWithoutUserNestedInput
141722
+ youtubeProfile?: YoutubeProfileUpdateOneWithoutUserNestedInput
141723
+ tiktokProfile?: TiktokProfileUpdateOneWithoutUserNestedInput
141724
+ facebookProfile?: FacebookProfileUpdateOneWithoutUserNestedInput
141725
+ twitterProfile?: TwitterProfileUpdateOneWithoutUserNestedInput
141726
+ twitchProfile?: TwitchProfileUpdateOneWithoutUserNestedInput
141727
+ brandProfiles?: BrandUserProfileUpdateManyWithoutUserNestedInput
141728
+ optIns?: OptInUpdateManyWithoutUserNestedInput
141729
+ assignedBrands?: BrandUpdateManyWithoutDedicatedSpecialistNestedInput
141730
+ messages?: MessageUpdateManyWithoutUserNestedInput
141731
+ socialPosts?: SocialPostUpdateManyWithoutUserNestedInput
141732
+ paymentTransactions?: PaymentTransactionUpdateManyWithoutCreatorNestedInput
141733
+ affiliateLinks?: AffiliateLinkUpdateManyWithoutAffiliateNestedInput
141734
+ campaignPins?: CampaignPinUpdateManyWithoutUserNestedInput
141735
+ socialProfiles?: SocialProfileUpdateManyWithoutUserNestedInput
141736
+ rakutenActivity?: RakutenActivityUpdateManyWithoutUserNestedInput
141737
+ impactRadiusEvents?: ImpactRadiusEventUpdateManyWithoutUserNestedInput
141738
+ cjEvents?: CjEventUpdateManyWithoutUserNestedInput
141739
+ flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
141740
+ flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
141741
+ flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
141742
+ }
141743
+
141744
+ export type UserUncheckedUpdateWithoutAffiliatePayoutBatchesInput = {
141745
+ id?: IntFieldUpdateOperationsInput | number
141746
+ idmId?: NullableStringFieldUpdateOperationsInput | string | null
141747
+ role?: StringFieldUpdateOperationsInput | string
141748
+ email?: NullableStringFieldUpdateOperationsInput | string | null
141749
+ password?: NullableStringFieldUpdateOperationsInput | string | null
141750
+ registered?: DateTimeFieldUpdateOperationsInput | Date | string
141751
+ lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141752
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
141753
+ lastName?: NullableStringFieldUpdateOperationsInput | string | null
141754
+ phone?: NullableStringFieldUpdateOperationsInput | string | null
141755
+ phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
141756
+ phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
141757
+ profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
141758
+ forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
141759
+ affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
141760
+ closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141761
+ closedReason?: NullableStringFieldUpdateOperationsInput | string | null
141762
+ usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141763
+ extraData?: JsonNullValueInput | InputJsonValue
141764
+ referrerId?: NullableIntFieldUpdateOperationsInput | number | null
141765
+ fullName?: NullableStringFieldUpdateOperationsInput | string | null
141766
+ phoneNormalised?: NullableStringFieldUpdateOperationsInput | string | null
141767
+ referredUsers?: UserUncheckedUpdateManyWithoutReferrerNestedInput
141768
+ logs?: LogUncheckedUpdateManyWithoutUserNestedInput
141769
+ creatorProfile?: CreatorProfileUncheckedUpdateOneWithoutUserNestedInput
141770
+ instagramProfile?: InstagramProfileUncheckedUpdateOneWithoutUserNestedInput
141771
+ youtubeProfile?: YoutubeProfileUncheckedUpdateOneWithoutUserNestedInput
141772
+ tiktokProfile?: TiktokProfileUncheckedUpdateOneWithoutUserNestedInput
141773
+ facebookProfile?: FacebookProfileUncheckedUpdateOneWithoutUserNestedInput
141774
+ twitterProfile?: TwitterProfileUncheckedUpdateOneWithoutUserNestedInput
141775
+ twitchProfile?: TwitchProfileUncheckedUpdateOneWithoutUserNestedInput
141776
+ brandProfiles?: BrandUserProfileUncheckedUpdateManyWithoutUserNestedInput
141777
+ optIns?: OptInUncheckedUpdateManyWithoutUserNestedInput
141778
+ assignedBrands?: BrandUncheckedUpdateManyWithoutDedicatedSpecialistNestedInput
141779
+ messages?: MessageUncheckedUpdateManyWithoutUserNestedInput
141780
+ socialPosts?: SocialPostUncheckedUpdateManyWithoutUserNestedInput
141781
+ paymentTransactions?: PaymentTransactionUncheckedUpdateManyWithoutCreatorNestedInput
141782
+ affiliateLinks?: AffiliateLinkUncheckedUpdateManyWithoutAffiliateNestedInput
141783
+ campaignPins?: CampaignPinUncheckedUpdateManyWithoutUserNestedInput
141784
+ socialProfiles?: SocialProfileUncheckedUpdateManyWithoutUserNestedInput
141785
+ rakutenActivity?: RakutenActivityUncheckedUpdateManyWithoutUserNestedInput
141786
+ impactRadiusEvents?: ImpactRadiusEventUncheckedUpdateManyWithoutUserNestedInput
141787
+ cjEvents?: CjEventUncheckedUpdateManyWithoutUserNestedInput
141788
+ flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
141789
+ flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
141790
+ flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
141791
+ }
141792
+
141793
+ export type AffiliateEventUpsertWithWhereUniqueWithoutAffiliatePayoutBatchInput = {
141794
+ where: AffiliateEventWhereUniqueInput
141795
+ update: XOR<AffiliateEventUpdateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedUpdateWithoutAffiliatePayoutBatchInput>
141796
+ create: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput>
141797
+ }
141798
+
141799
+ export type AffiliateEventUpdateWithWhereUniqueWithoutAffiliatePayoutBatchInput = {
141800
+ where: AffiliateEventWhereUniqueInput
141801
+ data: XOR<AffiliateEventUpdateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedUpdateWithoutAffiliatePayoutBatchInput>
141802
+ }
141803
+
141804
+ export type AffiliateEventUpdateManyWithWhereWithoutAffiliatePayoutBatchInput = {
141805
+ where: AffiliateEventScalarWhereInput
141806
+ data: XOR<AffiliateEventUpdateManyMutationInput, AffiliateEventUncheckedUpdateManyWithoutAffiliatePayoutBatchInput>
141807
+ }
141808
+
139765
141809
  export type BrandCreateWithoutSavedfilesInput = {
139766
141810
  name: string
139767
141811
  description?: string | null
@@ -141687,6 +143731,7 @@ export namespace Prisma {
141687
143731
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
141688
143732
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
141689
143733
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
143734
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
141690
143735
  }
141691
143736
 
141692
143737
  export type UserUncheckedCreateWithoutSocialProfilesInput = {
@@ -141735,6 +143780,7 @@ export namespace Prisma {
141735
143780
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
141736
143781
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
141737
143782
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
143783
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
141738
143784
  }
141739
143785
 
141740
143786
  export type UserCreateOrConnectWithoutSocialProfilesInput = {
@@ -141830,6 +143876,7 @@ export namespace Prisma {
141830
143876
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
141831
143877
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
141832
143878
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
143879
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
141833
143880
  }
141834
143881
 
141835
143882
  export type UserUncheckedUpdateWithoutSocialProfilesInput = {
@@ -141878,6 +143925,7 @@ export namespace Prisma {
141878
143925
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
141879
143926
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
141880
143927
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
143928
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
141881
143929
  }
141882
143930
 
141883
143931
  export type BrandCreateWithoutMessageTemplateInput = {
@@ -143066,6 +145114,7 @@ export namespace Prisma {
143066
145114
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
143067
145115
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
143068
145116
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
145117
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
143069
145118
  }
143070
145119
 
143071
145120
  export type UserUncheckedCreateWithoutRakutenActivityInput = {
@@ -143114,6 +145163,7 @@ export namespace Prisma {
143114
145163
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
143115
145164
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
143116
145165
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
145166
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
143117
145167
  }
143118
145168
 
143119
145169
  export type UserCreateOrConnectWithoutRakutenActivityInput = {
@@ -143177,6 +145227,7 @@ export namespace Prisma {
143177
145227
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
143178
145228
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
143179
145229
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
145230
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
143180
145231
  }
143181
145232
 
143182
145233
  export type UserUncheckedUpdateWithoutRakutenActivityInput = {
@@ -143225,6 +145276,7 @@ export namespace Prisma {
143225
145276
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
143226
145277
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
143227
145278
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
145279
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
143228
145280
  }
143229
145281
 
143230
145282
  export type UserCreateWithoutImpactRadiusEventsInput = {
@@ -143272,6 +145324,7 @@ export namespace Prisma {
143272
145324
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
143273
145325
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
143274
145326
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
145327
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
143275
145328
  }
143276
145329
 
143277
145330
  export type UserUncheckedCreateWithoutImpactRadiusEventsInput = {
@@ -143320,6 +145373,7 @@ export namespace Prisma {
143320
145373
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
143321
145374
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
143322
145375
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
145376
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
143323
145377
  }
143324
145378
 
143325
145379
  export type UserCreateOrConnectWithoutImpactRadiusEventsInput = {
@@ -143539,6 +145593,7 @@ export namespace Prisma {
143539
145593
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
143540
145594
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
143541
145595
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
145596
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
143542
145597
  }
143543
145598
 
143544
145599
  export type UserUncheckedUpdateWithoutImpactRadiusEventsInput = {
@@ -143587,6 +145642,7 @@ export namespace Prisma {
143587
145642
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
143588
145643
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
143589
145644
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
145645
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
143590
145646
  }
143591
145647
 
143592
145648
  export type BrandUpsertWithoutImpactRadiusEventsInput = {
@@ -143802,6 +145858,7 @@ export namespace Prisma {
143802
145858
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
143803
145859
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
143804
145860
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
145861
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
143805
145862
  }
143806
145863
 
143807
145864
  export type UserUncheckedCreateWithoutCjEventsInput = {
@@ -143850,6 +145907,7 @@ export namespace Prisma {
143850
145907
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
143851
145908
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
143852
145909
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
145910
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
143853
145911
  }
143854
145912
 
143855
145913
  export type UserCreateOrConnectWithoutCjEventsInput = {
@@ -144069,6 +146127,7 @@ export namespace Prisma {
144069
146127
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
144070
146128
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
144071
146129
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
146130
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
144072
146131
  }
144073
146132
 
144074
146133
  export type UserUncheckedUpdateWithoutCjEventsInput = {
@@ -144117,6 +146176,7 @@ export namespace Prisma {
144117
146176
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
144118
146177
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
144119
146178
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
146179
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
144120
146180
  }
144121
146181
 
144122
146182
  export type BrandUpsertWithoutCjEventsInput = {
@@ -147029,6 +149089,7 @@ export namespace Prisma {
147029
149089
  cjEvents?: CjEventCreateNestedManyWithoutUserInput
147030
149090
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
147031
149091
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
149092
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
147032
149093
  }
147033
149094
 
147034
149095
  export type UserUncheckedCreateWithoutFlagsAssignedInput = {
@@ -147077,6 +149138,7 @@ export namespace Prisma {
147077
149138
  cjEvents?: CjEventUncheckedCreateNestedManyWithoutUserInput
147078
149139
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
147079
149140
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
149141
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
147080
149142
  }
147081
149143
 
147082
149144
  export type UserCreateOrConnectWithoutFlagsAssignedInput = {
@@ -147129,6 +149191,7 @@ export namespace Prisma {
147129
149191
  cjEvents?: CjEventCreateNestedManyWithoutUserInput
147130
149192
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
147131
149193
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
149194
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
147132
149195
  }
147133
149196
 
147134
149197
  export type UserUncheckedCreateWithoutFlagsCreatedInput = {
@@ -147177,6 +149240,7 @@ export namespace Prisma {
147177
149240
  cjEvents?: CjEventUncheckedCreateNestedManyWithoutUserInput
147178
149241
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
147179
149242
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
149243
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
147180
149244
  }
147181
149245
 
147182
149246
  export type UserCreateOrConnectWithoutFlagsCreatedInput = {
@@ -147229,6 +149293,7 @@ export namespace Prisma {
147229
149293
  cjEvents?: CjEventCreateNestedManyWithoutUserInput
147230
149294
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
147231
149295
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
149296
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
147232
149297
  }
147233
149298
 
147234
149299
  export type UserUncheckedCreateWithoutFlagsEditedInput = {
@@ -147277,6 +149342,7 @@ export namespace Prisma {
147277
149342
  cjEvents?: CjEventUncheckedCreateNestedManyWithoutUserInput
147278
149343
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
147279
149344
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
149345
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
147280
149346
  }
147281
149347
 
147282
149348
  export type UserCreateOrConnectWithoutFlagsEditedInput = {
@@ -147340,6 +149406,7 @@ export namespace Prisma {
147340
149406
  cjEvents?: CjEventUpdateManyWithoutUserNestedInput
147341
149407
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
147342
149408
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
149409
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
147343
149410
  }
147344
149411
 
147345
149412
  export type UserUncheckedUpdateWithoutFlagsAssignedInput = {
@@ -147388,6 +149455,7 @@ export namespace Prisma {
147388
149455
  cjEvents?: CjEventUncheckedUpdateManyWithoutUserNestedInput
147389
149456
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
147390
149457
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
149458
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
147391
149459
  }
147392
149460
 
147393
149461
  export type UserUpsertWithoutFlagsCreatedInput = {
@@ -147446,6 +149514,7 @@ export namespace Prisma {
147446
149514
  cjEvents?: CjEventUpdateManyWithoutUserNestedInput
147447
149515
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
147448
149516
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
149517
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
147449
149518
  }
147450
149519
 
147451
149520
  export type UserUncheckedUpdateWithoutFlagsCreatedInput = {
@@ -147494,6 +149563,7 @@ export namespace Prisma {
147494
149563
  cjEvents?: CjEventUncheckedUpdateManyWithoutUserNestedInput
147495
149564
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
147496
149565
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
149566
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
147497
149567
  }
147498
149568
 
147499
149569
  export type UserUpsertWithoutFlagsEditedInput = {
@@ -147552,6 +149622,7 @@ export namespace Prisma {
147552
149622
  cjEvents?: CjEventUpdateManyWithoutUserNestedInput
147553
149623
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
147554
149624
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
149625
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
147555
149626
  }
147556
149627
 
147557
149628
  export type UserUncheckedUpdateWithoutFlagsEditedInput = {
@@ -147600,6 +149671,7 @@ export namespace Prisma {
147600
149671
  cjEvents?: CjEventUncheckedUpdateManyWithoutUserNestedInput
147601
149672
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
147602
149673
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
149674
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
147603
149675
  }
147604
149676
 
147605
149677
  export type UserCreateManyReferrerInput = {
@@ -147835,6 +149907,13 @@ export namespace Prisma {
147835
149907
  flaggedByUserId: number
147836
149908
  }
147837
149909
 
149910
+ export type AffiliatePayoutBatchCreateManyUserInput = {
149911
+ id?: number
149912
+ created?: Date | string
149913
+ metaData?: JsonNullValueInput | InputJsonValue
149914
+ trolleyBatchId?: string | null
149915
+ }
149916
+
147838
149917
  export type UserUpdateWithoutReferrerInput = {
147839
149918
  idmId?: NullableStringFieldUpdateOperationsInput | string | null
147840
149919
  role?: StringFieldUpdateOperationsInput | string
@@ -147880,6 +149959,7 @@ export namespace Prisma {
147880
149959
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
147881
149960
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
147882
149961
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
149962
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
147883
149963
  }
147884
149964
 
147885
149965
  export type UserUncheckedUpdateWithoutReferrerInput = {
@@ -147928,6 +150008,7 @@ export namespace Prisma {
147928
150008
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
147929
150009
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
147930
150010
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
150011
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
147931
150012
  }
147932
150013
 
147933
150014
  export type UserUncheckedUpdateManyWithoutReferrerInput = {
@@ -148649,6 +150730,28 @@ export namespace Prisma {
148649
150730
  flaggedByUserId?: IntFieldUpdateOperationsInput | number
148650
150731
  }
148651
150732
 
150733
+ export type AffiliatePayoutBatchUpdateWithoutUserInput = {
150734
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
150735
+ metaData?: JsonNullValueInput | InputJsonValue
150736
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
150737
+ affiliateEvents?: AffiliateEventUpdateManyWithoutAffiliatePayoutBatchNestedInput
150738
+ }
150739
+
150740
+ export type AffiliatePayoutBatchUncheckedUpdateWithoutUserInput = {
150741
+ id?: IntFieldUpdateOperationsInput | number
150742
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
150743
+ metaData?: JsonNullValueInput | InputJsonValue
150744
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
150745
+ affiliateEvents?: AffiliateEventUncheckedUpdateManyWithoutAffiliatePayoutBatchNestedInput
150746
+ }
150747
+
150748
+ export type AffiliatePayoutBatchUncheckedUpdateManyWithoutUserInput = {
150749
+ id?: IntFieldUpdateOperationsInput | number
150750
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
150751
+ metaData?: JsonNullValueInput | InputJsonValue
150752
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
150753
+ }
150754
+
148652
150755
  export type CreatorToCategoryCreateManyCreatorProfileInput = {
148653
150756
  categoryId: number
148654
150757
  }
@@ -151449,7 +153552,10 @@ export namespace Prisma {
151449
153552
  revenue?: number | null
151450
153553
  commissionAmount?: number | null
151451
153554
  commissionPercent?: number | null
153555
+ platform?: string | null
153556
+ externalOrderId?: string | null
151452
153557
  metaData?: JsonNullValueInput | InputJsonValue
153558
+ affiliatePayoutBatchId?: number | null
151453
153559
  }
151454
153560
 
151455
153561
  export type AffiliateEventUpdateWithoutAffiliateClickInput = {
@@ -151460,7 +153566,10 @@ export namespace Prisma {
151460
153566
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
151461
153567
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
151462
153568
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153569
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153570
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
151463
153571
  metaData?: JsonNullValueInput | InputJsonValue
153572
+ affiliatePayoutBatch?: AffiliatePayoutBatchUpdateOneWithoutAffiliateEventsNestedInput
151464
153573
  }
151465
153574
 
151466
153575
  export type AffiliateEventUncheckedUpdateWithoutAffiliateClickInput = {
@@ -151472,7 +153581,10 @@ export namespace Prisma {
151472
153581
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
151473
153582
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
151474
153583
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153584
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153585
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
151475
153586
  metaData?: JsonNullValueInput | InputJsonValue
153587
+ affiliatePayoutBatchId?: NullableIntFieldUpdateOperationsInput | number | null
151476
153588
  }
151477
153589
 
151478
153590
  export type AffiliateEventUncheckedUpdateManyWithoutAffiliateClickInput = {
@@ -151484,7 +153596,69 @@ export namespace Prisma {
151484
153596
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
151485
153597
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
151486
153598
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153599
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153600
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
153601
+ metaData?: JsonNullValueInput | InputJsonValue
153602
+ affiliatePayoutBatchId?: NullableIntFieldUpdateOperationsInput | number | null
153603
+ }
153604
+
153605
+ export type AffiliateEventCreateManyAffiliatePayoutBatchInput = {
153606
+ id?: number
153607
+ event: string
153608
+ created?: Date | string
153609
+ visitorIp?: string | null
153610
+ urlPath?: string | null
153611
+ revenue?: number | null
153612
+ commissionAmount?: number | null
153613
+ commissionPercent?: number | null
153614
+ platform?: string | null
153615
+ externalOrderId?: string | null
153616
+ metaData?: JsonNullValueInput | InputJsonValue
153617
+ affiliateClickId: number
153618
+ }
153619
+
153620
+ export type AffiliateEventUpdateWithoutAffiliatePayoutBatchInput = {
153621
+ event?: StringFieldUpdateOperationsInput | string
153622
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
153623
+ visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
153624
+ urlPath?: NullableStringFieldUpdateOperationsInput | string | null
153625
+ revenue?: NullableFloatFieldUpdateOperationsInput | number | null
153626
+ commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
153627
+ commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153628
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153629
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
153630
+ metaData?: JsonNullValueInput | InputJsonValue
153631
+ affiliateClick?: AffiliateClickUpdateOneWithoutAffiliateEventNestedInput
153632
+ }
153633
+
153634
+ export type AffiliateEventUncheckedUpdateWithoutAffiliatePayoutBatchInput = {
153635
+ id?: IntFieldUpdateOperationsInput | number
153636
+ event?: StringFieldUpdateOperationsInput | string
153637
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
153638
+ visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
153639
+ urlPath?: NullableStringFieldUpdateOperationsInput | string | null
153640
+ revenue?: NullableFloatFieldUpdateOperationsInput | number | null
153641
+ commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
153642
+ commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153643
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153644
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
153645
+ metaData?: JsonNullValueInput | InputJsonValue
153646
+ affiliateClickId?: IntFieldUpdateOperationsInput | number
153647
+ }
153648
+
153649
+ export type AffiliateEventUncheckedUpdateManyWithoutAffiliatePayoutBatchInput = {
153650
+ id?: IntFieldUpdateOperationsInput | number
153651
+ event?: StringFieldUpdateOperationsInput | string
153652
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
153653
+ visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
153654
+ urlPath?: NullableStringFieldUpdateOperationsInput | string | null
153655
+ revenue?: NullableFloatFieldUpdateOperationsInput | number | null
153656
+ commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
153657
+ commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153658
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153659
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
151487
153660
  metaData?: JsonNullValueInput | InputJsonValue
153661
+ affiliateClickId?: IntFieldUpdateOperationsInput | number
151488
153662
  }
151489
153663
 
151490
153664
  export type CreatorListItemCreateManyCreatorListInput = {
@@ -152161,6 +154335,10 @@ export namespace Prisma {
152161
154335
  * @deprecated Use AffiliateClickCountOutputTypeDefaultArgs instead
152162
154336
  */
152163
154337
  export type AffiliateClickCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AffiliateClickCountOutputTypeDefaultArgs<ExtArgs>
154338
+ /**
154339
+ * @deprecated Use AffiliatePayoutBatchCountOutputTypeDefaultArgs instead
154340
+ */
154341
+ export type AffiliatePayoutBatchCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AffiliatePayoutBatchCountOutputTypeDefaultArgs<ExtArgs>
152164
154342
  /**
152165
154343
  * @deprecated Use CreatorListCountOutputTypeDefaultArgs instead
152166
154344
  */
@@ -152401,6 +154579,10 @@ export namespace Prisma {
152401
154579
  * @deprecated Use AffiliateEventDefaultArgs instead
152402
154580
  */
152403
154581
  export type AffiliateEventArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AffiliateEventDefaultArgs<ExtArgs>
154582
+ /**
154583
+ * @deprecated Use AffiliatePayoutBatchDefaultArgs instead
154584
+ */
154585
+ export type AffiliatePayoutBatchArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AffiliatePayoutBatchDefaultArgs<ExtArgs>
152404
154586
  /**
152405
154587
  * @deprecated Use SavedFileDefaultArgs instead
152406
154588
  */