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

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,43 +64284,56 @@ 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 = {
64138
64291
  id: number | null
64139
64292
  event: string | null
64140
64293
  created: Date | null
64294
+ updatedAt: Date | null
64141
64295
  visitorIp: string | null
64142
64296
  urlPath: string | null
64143
64297
  revenue: number | null
64144
64298
  commissionAmount: number | null
64145
64299
  commissionPercent: number | null
64300
+ platform: string | null
64301
+ externalOrderId: string | null
64146
64302
  affiliateClickId: number | null
64303
+ affiliatePayoutBatchId: number | null
64147
64304
  }
64148
64305
 
64149
64306
  export type AffiliateEventMaxAggregateOutputType = {
64150
64307
  id: number | null
64151
64308
  event: string | null
64152
64309
  created: Date | null
64310
+ updatedAt: Date | null
64153
64311
  visitorIp: string | null
64154
64312
  urlPath: string | null
64155
64313
  revenue: number | null
64156
64314
  commissionAmount: number | null
64157
64315
  commissionPercent: number | null
64316
+ platform: string | null
64317
+ externalOrderId: string | null
64158
64318
  affiliateClickId: number | null
64319
+ affiliatePayoutBatchId: number | null
64159
64320
  }
64160
64321
 
64161
64322
  export type AffiliateEventCountAggregateOutputType = {
64162
64323
  id: number
64163
64324
  event: number
64164
64325
  created: number
64326
+ updatedAt: number
64165
64327
  visitorIp: number
64166
64328
  urlPath: number
64167
64329
  revenue: number
64168
64330
  commissionAmount: number
64169
64331
  commissionPercent: number
64332
+ platform: number
64333
+ externalOrderId: number
64170
64334
  metaData: number
64171
64335
  affiliateClickId: number
64336
+ affiliatePayoutBatchId: number
64172
64337
  _all: number
64173
64338
  }
64174
64339
 
@@ -64179,6 +64344,7 @@ export namespace Prisma {
64179
64344
  commissionAmount?: true
64180
64345
  commissionPercent?: true
64181
64346
  affiliateClickId?: true
64347
+ affiliatePayoutBatchId?: true
64182
64348
  }
64183
64349
 
64184
64350
  export type AffiliateEventSumAggregateInputType = {
@@ -64187,43 +64353,56 @@ export namespace Prisma {
64187
64353
  commissionAmount?: true
64188
64354
  commissionPercent?: true
64189
64355
  affiliateClickId?: true
64356
+ affiliatePayoutBatchId?: true
64190
64357
  }
64191
64358
 
64192
64359
  export type AffiliateEventMinAggregateInputType = {
64193
64360
  id?: true
64194
64361
  event?: true
64195
64362
  created?: true
64363
+ updatedAt?: true
64196
64364
  visitorIp?: true
64197
64365
  urlPath?: true
64198
64366
  revenue?: true
64199
64367
  commissionAmount?: true
64200
64368
  commissionPercent?: true
64369
+ platform?: true
64370
+ externalOrderId?: true
64201
64371
  affiliateClickId?: true
64372
+ affiliatePayoutBatchId?: true
64202
64373
  }
64203
64374
 
64204
64375
  export type AffiliateEventMaxAggregateInputType = {
64205
64376
  id?: true
64206
64377
  event?: true
64207
64378
  created?: true
64379
+ updatedAt?: true
64208
64380
  visitorIp?: true
64209
64381
  urlPath?: true
64210
64382
  revenue?: true
64211
64383
  commissionAmount?: true
64212
64384
  commissionPercent?: true
64385
+ platform?: true
64386
+ externalOrderId?: true
64213
64387
  affiliateClickId?: true
64388
+ affiliatePayoutBatchId?: true
64214
64389
  }
64215
64390
 
64216
64391
  export type AffiliateEventCountAggregateInputType = {
64217
64392
  id?: true
64218
64393
  event?: true
64219
64394
  created?: true
64395
+ updatedAt?: true
64220
64396
  visitorIp?: true
64221
64397
  urlPath?: true
64222
64398
  revenue?: true
64223
64399
  commissionAmount?: true
64224
64400
  commissionPercent?: true
64401
+ platform?: true
64402
+ externalOrderId?: true
64225
64403
  metaData?: true
64226
64404
  affiliateClickId?: true
64405
+ affiliatePayoutBatchId?: true
64227
64406
  _all?: true
64228
64407
  }
64229
64408
 
@@ -64317,13 +64496,17 @@ export namespace Prisma {
64317
64496
  id: number
64318
64497
  event: string
64319
64498
  created: Date
64499
+ updatedAt: Date | null
64320
64500
  visitorIp: string | null
64321
64501
  urlPath: string | null
64322
64502
  revenue: number | null
64323
64503
  commissionAmount: number | null
64324
64504
  commissionPercent: number | null
64505
+ platform: string | null
64506
+ externalOrderId: string | null
64325
64507
  metaData: JsonValue
64326
64508
  affiliateClickId: number
64509
+ affiliatePayoutBatchId: number | null
64327
64510
  _count: AffiliateEventCountAggregateOutputType | null
64328
64511
  _avg: AffiliateEventAvgAggregateOutputType | null
64329
64512
  _sum: AffiliateEventSumAggregateOutputType | null
@@ -64349,66 +64532,87 @@ export namespace Prisma {
64349
64532
  id?: boolean
64350
64533
  event?: boolean
64351
64534
  created?: boolean
64535
+ updatedAt?: boolean
64352
64536
  visitorIp?: boolean
64353
64537
  urlPath?: boolean
64354
64538
  revenue?: boolean
64355
64539
  commissionAmount?: boolean
64356
64540
  commissionPercent?: boolean
64541
+ platform?: boolean
64542
+ externalOrderId?: boolean
64357
64543
  metaData?: boolean
64358
64544
  affiliateClickId?: boolean
64545
+ affiliatePayoutBatchId?: boolean
64359
64546
  affiliateClick?: boolean | AffiliateEvent$affiliateClickArgs<ExtArgs>
64547
+ affiliatePayoutBatch?: boolean | AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs>
64360
64548
  }, ExtArgs["result"]["affiliateEvent"]>
64361
64549
 
64362
64550
  export type AffiliateEventSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
64363
64551
  id?: boolean
64364
64552
  event?: boolean
64365
64553
  created?: boolean
64554
+ updatedAt?: boolean
64366
64555
  visitorIp?: boolean
64367
64556
  urlPath?: boolean
64368
64557
  revenue?: boolean
64369
64558
  commissionAmount?: boolean
64370
64559
  commissionPercent?: boolean
64560
+ platform?: boolean
64561
+ externalOrderId?: boolean
64371
64562
  metaData?: boolean
64372
64563
  affiliateClickId?: boolean
64564
+ affiliatePayoutBatchId?: boolean
64373
64565
  affiliateClick?: boolean | AffiliateEvent$affiliateClickArgs<ExtArgs>
64566
+ affiliatePayoutBatch?: boolean | AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs>
64374
64567
  }, ExtArgs["result"]["affiliateEvent"]>
64375
64568
 
64376
64569
  export type AffiliateEventSelectScalar = {
64377
64570
  id?: boolean
64378
64571
  event?: boolean
64379
64572
  created?: boolean
64573
+ updatedAt?: boolean
64380
64574
  visitorIp?: boolean
64381
64575
  urlPath?: boolean
64382
64576
  revenue?: boolean
64383
64577
  commissionAmount?: boolean
64384
64578
  commissionPercent?: boolean
64579
+ platform?: boolean
64580
+ externalOrderId?: boolean
64385
64581
  metaData?: boolean
64386
64582
  affiliateClickId?: boolean
64583
+ affiliatePayoutBatchId?: boolean
64387
64584
  }
64388
64585
 
64389
64586
  export type AffiliateEventInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64390
64587
  affiliateClick?: boolean | AffiliateEvent$affiliateClickArgs<ExtArgs>
64588
+ affiliatePayoutBatch?: boolean | AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs>
64391
64589
  }
64392
64590
  export type AffiliateEventIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64393
64591
  affiliateClick?: boolean | AffiliateEvent$affiliateClickArgs<ExtArgs>
64592
+ affiliatePayoutBatch?: boolean | AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs>
64394
64593
  }
64395
64594
 
64396
64595
  export type $AffiliateEventPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64397
64596
  name: "AffiliateEvent"
64398
64597
  objects: {
64399
64598
  affiliateClick: Prisma.$AffiliateClickPayload<ExtArgs> | null
64599
+ affiliatePayoutBatch: Prisma.$AffiliatePayoutBatchPayload<ExtArgs> | null
64400
64600
  }
64401
64601
  scalars: $Extensions.GetPayloadResult<{
64402
64602
  id: number
64403
64603
  event: string
64404
64604
  created: Date
64605
+ updatedAt: Date | null
64405
64606
  visitorIp: string | null
64406
64607
  urlPath: string | null
64407
64608
  revenue: number | null
64408
64609
  commissionAmount: number | null
64409
64610
  commissionPercent: number | null
64611
+ platform: string | null
64612
+ externalOrderId: string | null
64410
64613
  metaData: Prisma.JsonValue
64411
64614
  affiliateClickId: number
64615
+ affiliatePayoutBatchId: number | null
64412
64616
  }, ExtArgs["result"]["affiliateEvent"]>
64413
64617
  composites: {}
64414
64618
  }
@@ -64801,6 +65005,1058 @@ export namespace Prisma {
64801
65005
 
64802
65006
  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
65007
 
65008
+ affiliatePayoutBatch<T extends AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs> = {}>(args?: Subset<T, AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs>>): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
65009
+
65010
+ /**
65011
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
65012
+ * @param onfulfilled The callback to execute when the Promise is resolved.
65013
+ * @param onrejected The callback to execute when the Promise is rejected.
65014
+ * @returns A Promise for the completion of which ever callback is executed.
65015
+ */
65016
+ 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>;
65017
+ /**
65018
+ * Attaches a callback for only the rejection of the Promise.
65019
+ * @param onrejected The callback to execute when the Promise is rejected.
65020
+ * @returns A Promise for the completion of the callback.
65021
+ */
65022
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
65023
+ /**
65024
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
65025
+ * resolved value cannot be modified from the callback.
65026
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
65027
+ * @returns A Promise for the completion of the callback.
65028
+ */
65029
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
65030
+ }
65031
+
65032
+
65033
+
65034
+ /**
65035
+ * Fields of the AffiliateEvent model
65036
+ */
65037
+ interface AffiliateEventFieldRefs {
65038
+ readonly id: FieldRef<"AffiliateEvent", 'Int'>
65039
+ readonly event: FieldRef<"AffiliateEvent", 'String'>
65040
+ readonly created: FieldRef<"AffiliateEvent", 'DateTime'>
65041
+ readonly updatedAt: FieldRef<"AffiliateEvent", 'DateTime'>
65042
+ readonly visitorIp: FieldRef<"AffiliateEvent", 'String'>
65043
+ readonly urlPath: FieldRef<"AffiliateEvent", 'String'>
65044
+ readonly revenue: FieldRef<"AffiliateEvent", 'Float'>
65045
+ readonly commissionAmount: FieldRef<"AffiliateEvent", 'Float'>
65046
+ readonly commissionPercent: FieldRef<"AffiliateEvent", 'Float'>
65047
+ readonly platform: FieldRef<"AffiliateEvent", 'String'>
65048
+ readonly externalOrderId: FieldRef<"AffiliateEvent", 'String'>
65049
+ readonly metaData: FieldRef<"AffiliateEvent", 'Json'>
65050
+ readonly affiliateClickId: FieldRef<"AffiliateEvent", 'Int'>
65051
+ readonly affiliatePayoutBatchId: FieldRef<"AffiliateEvent", 'Int'>
65052
+ }
65053
+
65054
+
65055
+ // Custom InputTypes
65056
+ /**
65057
+ * AffiliateEvent findUnique
65058
+ */
65059
+ export type AffiliateEventFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65060
+ /**
65061
+ * Select specific fields to fetch from the AffiliateEvent
65062
+ */
65063
+ select?: AffiliateEventSelect<ExtArgs> | null
65064
+ /**
65065
+ * Choose, which related nodes to fetch as well
65066
+ */
65067
+ include?: AffiliateEventInclude<ExtArgs> | null
65068
+ /**
65069
+ * Filter, which AffiliateEvent to fetch.
65070
+ */
65071
+ where: AffiliateEventWhereUniqueInput
65072
+ }
65073
+
65074
+ /**
65075
+ * AffiliateEvent findUniqueOrThrow
65076
+ */
65077
+ export type AffiliateEventFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65078
+ /**
65079
+ * Select specific fields to fetch from the AffiliateEvent
65080
+ */
65081
+ select?: AffiliateEventSelect<ExtArgs> | null
65082
+ /**
65083
+ * Choose, which related nodes to fetch as well
65084
+ */
65085
+ include?: AffiliateEventInclude<ExtArgs> | null
65086
+ /**
65087
+ * Filter, which AffiliateEvent to fetch.
65088
+ */
65089
+ where: AffiliateEventWhereUniqueInput
65090
+ }
65091
+
65092
+ /**
65093
+ * AffiliateEvent findFirst
65094
+ */
65095
+ export type AffiliateEventFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65096
+ /**
65097
+ * Select specific fields to fetch from the AffiliateEvent
65098
+ */
65099
+ select?: AffiliateEventSelect<ExtArgs> | null
65100
+ /**
65101
+ * Choose, which related nodes to fetch as well
65102
+ */
65103
+ include?: AffiliateEventInclude<ExtArgs> | null
65104
+ /**
65105
+ * Filter, which AffiliateEvent to fetch.
65106
+ */
65107
+ where?: AffiliateEventWhereInput
65108
+ /**
65109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
65110
+ *
65111
+ * Determine the order of AffiliateEvents to fetch.
65112
+ */
65113
+ orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
65114
+ /**
65115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65116
+ *
65117
+ * Sets the position for searching for AffiliateEvents.
65118
+ */
65119
+ cursor?: AffiliateEventWhereUniqueInput
65120
+ /**
65121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65122
+ *
65123
+ * Take `±n` AffiliateEvents from the position of the cursor.
65124
+ */
65125
+ take?: number
65126
+ /**
65127
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65128
+ *
65129
+ * Skip the first `n` AffiliateEvents.
65130
+ */
65131
+ skip?: number
65132
+ /**
65133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
65134
+ *
65135
+ * Filter by unique combinations of AffiliateEvents.
65136
+ */
65137
+ distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
65138
+ }
65139
+
65140
+ /**
65141
+ * AffiliateEvent findFirstOrThrow
65142
+ */
65143
+ export type AffiliateEventFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65144
+ /**
65145
+ * Select specific fields to fetch from the AffiliateEvent
65146
+ */
65147
+ select?: AffiliateEventSelect<ExtArgs> | null
65148
+ /**
65149
+ * Choose, which related nodes to fetch as well
65150
+ */
65151
+ include?: AffiliateEventInclude<ExtArgs> | null
65152
+ /**
65153
+ * Filter, which AffiliateEvent to fetch.
65154
+ */
65155
+ where?: AffiliateEventWhereInput
65156
+ /**
65157
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
65158
+ *
65159
+ * Determine the order of AffiliateEvents to fetch.
65160
+ */
65161
+ orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
65162
+ /**
65163
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65164
+ *
65165
+ * Sets the position for searching for AffiliateEvents.
65166
+ */
65167
+ cursor?: AffiliateEventWhereUniqueInput
65168
+ /**
65169
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65170
+ *
65171
+ * Take `±n` AffiliateEvents from the position of the cursor.
65172
+ */
65173
+ take?: number
65174
+ /**
65175
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65176
+ *
65177
+ * Skip the first `n` AffiliateEvents.
65178
+ */
65179
+ skip?: number
65180
+ /**
65181
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
65182
+ *
65183
+ * Filter by unique combinations of AffiliateEvents.
65184
+ */
65185
+ distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
65186
+ }
65187
+
65188
+ /**
65189
+ * AffiliateEvent findMany
65190
+ */
65191
+ export type AffiliateEventFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65192
+ /**
65193
+ * Select specific fields to fetch from the AffiliateEvent
65194
+ */
65195
+ select?: AffiliateEventSelect<ExtArgs> | null
65196
+ /**
65197
+ * Choose, which related nodes to fetch as well
65198
+ */
65199
+ include?: AffiliateEventInclude<ExtArgs> | null
65200
+ /**
65201
+ * Filter, which AffiliateEvents to fetch.
65202
+ */
65203
+ where?: AffiliateEventWhereInput
65204
+ /**
65205
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
65206
+ *
65207
+ * Determine the order of AffiliateEvents to fetch.
65208
+ */
65209
+ orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
65210
+ /**
65211
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65212
+ *
65213
+ * Sets the position for listing AffiliateEvents.
65214
+ */
65215
+ cursor?: AffiliateEventWhereUniqueInput
65216
+ /**
65217
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65218
+ *
65219
+ * Take `±n` AffiliateEvents from the position of the cursor.
65220
+ */
65221
+ take?: number
65222
+ /**
65223
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65224
+ *
65225
+ * Skip the first `n` AffiliateEvents.
65226
+ */
65227
+ skip?: number
65228
+ distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
65229
+ }
65230
+
65231
+ /**
65232
+ * AffiliateEvent create
65233
+ */
65234
+ export type AffiliateEventCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65235
+ /**
65236
+ * Select specific fields to fetch from the AffiliateEvent
65237
+ */
65238
+ select?: AffiliateEventSelect<ExtArgs> | null
65239
+ /**
65240
+ * Choose, which related nodes to fetch as well
65241
+ */
65242
+ include?: AffiliateEventInclude<ExtArgs> | null
65243
+ /**
65244
+ * The data needed to create a AffiliateEvent.
65245
+ */
65246
+ data: XOR<AffiliateEventCreateInput, AffiliateEventUncheckedCreateInput>
65247
+ }
65248
+
65249
+ /**
65250
+ * AffiliateEvent createMany
65251
+ */
65252
+ export type AffiliateEventCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65253
+ /**
65254
+ * The data used to create many AffiliateEvents.
65255
+ */
65256
+ data: AffiliateEventCreateManyInput | AffiliateEventCreateManyInput[]
65257
+ skipDuplicates?: boolean
65258
+ }
65259
+
65260
+ /**
65261
+ * AffiliateEvent createManyAndReturn
65262
+ */
65263
+ export type AffiliateEventCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65264
+ /**
65265
+ * Select specific fields to fetch from the AffiliateEvent
65266
+ */
65267
+ select?: AffiliateEventSelectCreateManyAndReturn<ExtArgs> | null
65268
+ /**
65269
+ * The data used to create many AffiliateEvents.
65270
+ */
65271
+ data: AffiliateEventCreateManyInput | AffiliateEventCreateManyInput[]
65272
+ skipDuplicates?: boolean
65273
+ /**
65274
+ * Choose, which related nodes to fetch as well
65275
+ */
65276
+ include?: AffiliateEventIncludeCreateManyAndReturn<ExtArgs> | null
65277
+ }
65278
+
65279
+ /**
65280
+ * AffiliateEvent update
65281
+ */
65282
+ export type AffiliateEventUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65283
+ /**
65284
+ * Select specific fields to fetch from the AffiliateEvent
65285
+ */
65286
+ select?: AffiliateEventSelect<ExtArgs> | null
65287
+ /**
65288
+ * Choose, which related nodes to fetch as well
65289
+ */
65290
+ include?: AffiliateEventInclude<ExtArgs> | null
65291
+ /**
65292
+ * The data needed to update a AffiliateEvent.
65293
+ */
65294
+ data: XOR<AffiliateEventUpdateInput, AffiliateEventUncheckedUpdateInput>
65295
+ /**
65296
+ * Choose, which AffiliateEvent to update.
65297
+ */
65298
+ where: AffiliateEventWhereUniqueInput
65299
+ }
65300
+
65301
+ /**
65302
+ * AffiliateEvent updateMany
65303
+ */
65304
+ export type AffiliateEventUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65305
+ /**
65306
+ * The data used to update AffiliateEvents.
65307
+ */
65308
+ data: XOR<AffiliateEventUpdateManyMutationInput, AffiliateEventUncheckedUpdateManyInput>
65309
+ /**
65310
+ * Filter which AffiliateEvents to update
65311
+ */
65312
+ where?: AffiliateEventWhereInput
65313
+ }
65314
+
65315
+ /**
65316
+ * AffiliateEvent upsert
65317
+ */
65318
+ export type AffiliateEventUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65319
+ /**
65320
+ * Select specific fields to fetch from the AffiliateEvent
65321
+ */
65322
+ select?: AffiliateEventSelect<ExtArgs> | null
65323
+ /**
65324
+ * Choose, which related nodes to fetch as well
65325
+ */
65326
+ include?: AffiliateEventInclude<ExtArgs> | null
65327
+ /**
65328
+ * The filter to search for the AffiliateEvent to update in case it exists.
65329
+ */
65330
+ where: AffiliateEventWhereUniqueInput
65331
+ /**
65332
+ * In case the AffiliateEvent found by the `where` argument doesn't exist, create a new AffiliateEvent with this data.
65333
+ */
65334
+ create: XOR<AffiliateEventCreateInput, AffiliateEventUncheckedCreateInput>
65335
+ /**
65336
+ * In case the AffiliateEvent was found with the provided `where` argument, update it with this data.
65337
+ */
65338
+ update: XOR<AffiliateEventUpdateInput, AffiliateEventUncheckedUpdateInput>
65339
+ }
65340
+
65341
+ /**
65342
+ * AffiliateEvent delete
65343
+ */
65344
+ export type AffiliateEventDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65345
+ /**
65346
+ * Select specific fields to fetch from the AffiliateEvent
65347
+ */
65348
+ select?: AffiliateEventSelect<ExtArgs> | null
65349
+ /**
65350
+ * Choose, which related nodes to fetch as well
65351
+ */
65352
+ include?: AffiliateEventInclude<ExtArgs> | null
65353
+ /**
65354
+ * Filter which AffiliateEvent to delete.
65355
+ */
65356
+ where: AffiliateEventWhereUniqueInput
65357
+ }
65358
+
65359
+ /**
65360
+ * AffiliateEvent deleteMany
65361
+ */
65362
+ export type AffiliateEventDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65363
+ /**
65364
+ * Filter which AffiliateEvents to delete
65365
+ */
65366
+ where?: AffiliateEventWhereInput
65367
+ }
65368
+
65369
+ /**
65370
+ * AffiliateEvent.affiliateClick
65371
+ */
65372
+ export type AffiliateEvent$affiliateClickArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65373
+ /**
65374
+ * Select specific fields to fetch from the AffiliateClick
65375
+ */
65376
+ select?: AffiliateClickSelect<ExtArgs> | null
65377
+ /**
65378
+ * Choose, which related nodes to fetch as well
65379
+ */
65380
+ include?: AffiliateClickInclude<ExtArgs> | null
65381
+ where?: AffiliateClickWhereInput
65382
+ }
65383
+
65384
+ /**
65385
+ * AffiliateEvent.affiliatePayoutBatch
65386
+ */
65387
+ export type AffiliateEvent$affiliatePayoutBatchArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65388
+ /**
65389
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65390
+ */
65391
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65392
+ /**
65393
+ * Choose, which related nodes to fetch as well
65394
+ */
65395
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65396
+ where?: AffiliatePayoutBatchWhereInput
65397
+ }
65398
+
65399
+ /**
65400
+ * AffiliateEvent without action
65401
+ */
65402
+ export type AffiliateEventDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65403
+ /**
65404
+ * Select specific fields to fetch from the AffiliateEvent
65405
+ */
65406
+ select?: AffiliateEventSelect<ExtArgs> | null
65407
+ /**
65408
+ * Choose, which related nodes to fetch as well
65409
+ */
65410
+ include?: AffiliateEventInclude<ExtArgs> | null
65411
+ }
65412
+
65413
+
65414
+ /**
65415
+ * Model AffiliatePayoutBatch
65416
+ */
65417
+
65418
+ export type AggregateAffiliatePayoutBatch = {
65419
+ _count: AffiliatePayoutBatchCountAggregateOutputType | null
65420
+ _avg: AffiliatePayoutBatchAvgAggregateOutputType | null
65421
+ _sum: AffiliatePayoutBatchSumAggregateOutputType | null
65422
+ _min: AffiliatePayoutBatchMinAggregateOutputType | null
65423
+ _max: AffiliatePayoutBatchMaxAggregateOutputType | null
65424
+ }
65425
+
65426
+ export type AffiliatePayoutBatchAvgAggregateOutputType = {
65427
+ id: number | null
65428
+ userId: number | null
65429
+ }
65430
+
65431
+ export type AffiliatePayoutBatchSumAggregateOutputType = {
65432
+ id: number | null
65433
+ userId: number | null
65434
+ }
65435
+
65436
+ export type AffiliatePayoutBatchMinAggregateOutputType = {
65437
+ id: number | null
65438
+ createdAt: Date | null
65439
+ updatedAt: Date | null
65440
+ trolleyBatchId: string | null
65441
+ userId: number | null
65442
+ }
65443
+
65444
+ export type AffiliatePayoutBatchMaxAggregateOutputType = {
65445
+ id: number | null
65446
+ createdAt: Date | null
65447
+ updatedAt: Date | null
65448
+ trolleyBatchId: string | null
65449
+ userId: number | null
65450
+ }
65451
+
65452
+ export type AffiliatePayoutBatchCountAggregateOutputType = {
65453
+ id: number
65454
+ createdAt: number
65455
+ updatedAt: number
65456
+ metaData: number
65457
+ trolleyBatchId: number
65458
+ userId: number
65459
+ _all: number
65460
+ }
65461
+
65462
+
65463
+ export type AffiliatePayoutBatchAvgAggregateInputType = {
65464
+ id?: true
65465
+ userId?: true
65466
+ }
65467
+
65468
+ export type AffiliatePayoutBatchSumAggregateInputType = {
65469
+ id?: true
65470
+ userId?: true
65471
+ }
65472
+
65473
+ export type AffiliatePayoutBatchMinAggregateInputType = {
65474
+ id?: true
65475
+ createdAt?: true
65476
+ updatedAt?: true
65477
+ trolleyBatchId?: true
65478
+ userId?: true
65479
+ }
65480
+
65481
+ export type AffiliatePayoutBatchMaxAggregateInputType = {
65482
+ id?: true
65483
+ createdAt?: true
65484
+ updatedAt?: true
65485
+ trolleyBatchId?: true
65486
+ userId?: true
65487
+ }
65488
+
65489
+ export type AffiliatePayoutBatchCountAggregateInputType = {
65490
+ id?: true
65491
+ createdAt?: true
65492
+ updatedAt?: true
65493
+ metaData?: true
65494
+ trolleyBatchId?: true
65495
+ userId?: true
65496
+ _all?: true
65497
+ }
65498
+
65499
+ export type AffiliatePayoutBatchAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65500
+ /**
65501
+ * Filter which AffiliatePayoutBatch to aggregate.
65502
+ */
65503
+ where?: AffiliatePayoutBatchWhereInput
65504
+ /**
65505
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
65506
+ *
65507
+ * Determine the order of AffiliatePayoutBatches to fetch.
65508
+ */
65509
+ orderBy?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput | AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput[]
65510
+ /**
65511
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65512
+ *
65513
+ * Sets the start position
65514
+ */
65515
+ cursor?: AffiliatePayoutBatchWhereUniqueInput
65516
+ /**
65517
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65518
+ *
65519
+ * Take `±n` AffiliatePayoutBatches from the position of the cursor.
65520
+ */
65521
+ take?: number
65522
+ /**
65523
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65524
+ *
65525
+ * Skip the first `n` AffiliatePayoutBatches.
65526
+ */
65527
+ skip?: number
65528
+ /**
65529
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
65530
+ *
65531
+ * Count returned AffiliatePayoutBatches
65532
+ **/
65533
+ _count?: true | AffiliatePayoutBatchCountAggregateInputType
65534
+ /**
65535
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
65536
+ *
65537
+ * Select which fields to average
65538
+ **/
65539
+ _avg?: AffiliatePayoutBatchAvgAggregateInputType
65540
+ /**
65541
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
65542
+ *
65543
+ * Select which fields to sum
65544
+ **/
65545
+ _sum?: AffiliatePayoutBatchSumAggregateInputType
65546
+ /**
65547
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
65548
+ *
65549
+ * Select which fields to find the minimum value
65550
+ **/
65551
+ _min?: AffiliatePayoutBatchMinAggregateInputType
65552
+ /**
65553
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
65554
+ *
65555
+ * Select which fields to find the maximum value
65556
+ **/
65557
+ _max?: AffiliatePayoutBatchMaxAggregateInputType
65558
+ }
65559
+
65560
+ export type GetAffiliatePayoutBatchAggregateType<T extends AffiliatePayoutBatchAggregateArgs> = {
65561
+ [P in keyof T & keyof AggregateAffiliatePayoutBatch]: P extends '_count' | 'count'
65562
+ ? T[P] extends true
65563
+ ? number
65564
+ : GetScalarType<T[P], AggregateAffiliatePayoutBatch[P]>
65565
+ : GetScalarType<T[P], AggregateAffiliatePayoutBatch[P]>
65566
+ }
65567
+
65568
+
65569
+
65570
+
65571
+ export type AffiliatePayoutBatchGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65572
+ where?: AffiliatePayoutBatchWhereInput
65573
+ orderBy?: AffiliatePayoutBatchOrderByWithAggregationInput | AffiliatePayoutBatchOrderByWithAggregationInput[]
65574
+ by: AffiliatePayoutBatchScalarFieldEnum[] | AffiliatePayoutBatchScalarFieldEnum
65575
+ having?: AffiliatePayoutBatchScalarWhereWithAggregatesInput
65576
+ take?: number
65577
+ skip?: number
65578
+ _count?: AffiliatePayoutBatchCountAggregateInputType | true
65579
+ _avg?: AffiliatePayoutBatchAvgAggregateInputType
65580
+ _sum?: AffiliatePayoutBatchSumAggregateInputType
65581
+ _min?: AffiliatePayoutBatchMinAggregateInputType
65582
+ _max?: AffiliatePayoutBatchMaxAggregateInputType
65583
+ }
65584
+
65585
+ export type AffiliatePayoutBatchGroupByOutputType = {
65586
+ id: number
65587
+ createdAt: Date
65588
+ updatedAt: Date
65589
+ metaData: JsonValue
65590
+ trolleyBatchId: string | null
65591
+ userId: number
65592
+ _count: AffiliatePayoutBatchCountAggregateOutputType | null
65593
+ _avg: AffiliatePayoutBatchAvgAggregateOutputType | null
65594
+ _sum: AffiliatePayoutBatchSumAggregateOutputType | null
65595
+ _min: AffiliatePayoutBatchMinAggregateOutputType | null
65596
+ _max: AffiliatePayoutBatchMaxAggregateOutputType | null
65597
+ }
65598
+
65599
+ type GetAffiliatePayoutBatchGroupByPayload<T extends AffiliatePayoutBatchGroupByArgs> = Prisma.PrismaPromise<
65600
+ Array<
65601
+ PickEnumerable<AffiliatePayoutBatchGroupByOutputType, T['by']> &
65602
+ {
65603
+ [P in ((keyof T) & (keyof AffiliatePayoutBatchGroupByOutputType))]: P extends '_count'
65604
+ ? T[P] extends boolean
65605
+ ? number
65606
+ : GetScalarType<T[P], AffiliatePayoutBatchGroupByOutputType[P]>
65607
+ : GetScalarType<T[P], AffiliatePayoutBatchGroupByOutputType[P]>
65608
+ }
65609
+ >
65610
+ >
65611
+
65612
+
65613
+ export type AffiliatePayoutBatchSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
65614
+ id?: boolean
65615
+ createdAt?: boolean
65616
+ updatedAt?: boolean
65617
+ metaData?: boolean
65618
+ trolleyBatchId?: boolean
65619
+ userId?: boolean
65620
+ user?: boolean | UserDefaultArgs<ExtArgs>
65621
+ affiliateEvents?: boolean | AffiliatePayoutBatch$affiliateEventsArgs<ExtArgs>
65622
+ _count?: boolean | AffiliatePayoutBatchCountOutputTypeDefaultArgs<ExtArgs>
65623
+ }, ExtArgs["result"]["affiliatePayoutBatch"]>
65624
+
65625
+ export type AffiliatePayoutBatchSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
65626
+ id?: boolean
65627
+ createdAt?: boolean
65628
+ updatedAt?: boolean
65629
+ metaData?: boolean
65630
+ trolleyBatchId?: boolean
65631
+ userId?: boolean
65632
+ user?: boolean | UserDefaultArgs<ExtArgs>
65633
+ }, ExtArgs["result"]["affiliatePayoutBatch"]>
65634
+
65635
+ export type AffiliatePayoutBatchSelectScalar = {
65636
+ id?: boolean
65637
+ createdAt?: boolean
65638
+ updatedAt?: boolean
65639
+ metaData?: boolean
65640
+ trolleyBatchId?: boolean
65641
+ userId?: boolean
65642
+ }
65643
+
65644
+ export type AffiliatePayoutBatchInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65645
+ user?: boolean | UserDefaultArgs<ExtArgs>
65646
+ affiliateEvents?: boolean | AffiliatePayoutBatch$affiliateEventsArgs<ExtArgs>
65647
+ _count?: boolean | AffiliatePayoutBatchCountOutputTypeDefaultArgs<ExtArgs>
65648
+ }
65649
+ export type AffiliatePayoutBatchIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65650
+ user?: boolean | UserDefaultArgs<ExtArgs>
65651
+ }
65652
+
65653
+ export type $AffiliatePayoutBatchPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65654
+ name: "AffiliatePayoutBatch"
65655
+ objects: {
65656
+ user: Prisma.$UserPayload<ExtArgs>
65657
+ affiliateEvents: Prisma.$AffiliateEventPayload<ExtArgs>[]
65658
+ }
65659
+ scalars: $Extensions.GetPayloadResult<{
65660
+ id: number
65661
+ createdAt: Date
65662
+ updatedAt: Date
65663
+ metaData: Prisma.JsonValue
65664
+ trolleyBatchId: string | null
65665
+ userId: number
65666
+ }, ExtArgs["result"]["affiliatePayoutBatch"]>
65667
+ composites: {}
65668
+ }
65669
+
65670
+ type AffiliatePayoutBatchGetPayload<S extends boolean | null | undefined | AffiliatePayoutBatchDefaultArgs> = $Result.GetResult<Prisma.$AffiliatePayoutBatchPayload, S>
65671
+
65672
+ type AffiliatePayoutBatchCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
65673
+ Omit<AffiliatePayoutBatchFindManyArgs, 'select' | 'include' | 'distinct'> & {
65674
+ select?: AffiliatePayoutBatchCountAggregateInputType | true
65675
+ }
65676
+
65677
+ export interface AffiliatePayoutBatchDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
65678
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AffiliatePayoutBatch'], meta: { name: 'AffiliatePayoutBatch' } }
65679
+ /**
65680
+ * Find zero or one AffiliatePayoutBatch that matches the filter.
65681
+ * @param {AffiliatePayoutBatchFindUniqueArgs} args - Arguments to find a AffiliatePayoutBatch
65682
+ * @example
65683
+ * // Get one AffiliatePayoutBatch
65684
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.findUnique({
65685
+ * where: {
65686
+ * // ... provide filter here
65687
+ * }
65688
+ * })
65689
+ **/
65690
+ findUnique<T extends AffiliatePayoutBatchFindUniqueArgs<ExtArgs>>(
65691
+ args: SelectSubset<T, AffiliatePayoutBatchFindUniqueArgs<ExtArgs>>
65692
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
65693
+
65694
+ /**
65695
+ * Find one AffiliatePayoutBatch that matches the filter or throw an error with `error.code='P2025'`
65696
+ * if no matches were found.
65697
+ * @param {AffiliatePayoutBatchFindUniqueOrThrowArgs} args - Arguments to find a AffiliatePayoutBatch
65698
+ * @example
65699
+ * // Get one AffiliatePayoutBatch
65700
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.findUniqueOrThrow({
65701
+ * where: {
65702
+ * // ... provide filter here
65703
+ * }
65704
+ * })
65705
+ **/
65706
+ findUniqueOrThrow<T extends AffiliatePayoutBatchFindUniqueOrThrowArgs<ExtArgs>>(
65707
+ args?: SelectSubset<T, AffiliatePayoutBatchFindUniqueOrThrowArgs<ExtArgs>>
65708
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
65709
+
65710
+ /**
65711
+ * Find the first AffiliatePayoutBatch that matches the filter.
65712
+ * Note, that providing `undefined` is treated as the value not being there.
65713
+ * Read more here: https://pris.ly/d/null-undefined
65714
+ * @param {AffiliatePayoutBatchFindFirstArgs} args - Arguments to find a AffiliatePayoutBatch
65715
+ * @example
65716
+ * // Get one AffiliatePayoutBatch
65717
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.findFirst({
65718
+ * where: {
65719
+ * // ... provide filter here
65720
+ * }
65721
+ * })
65722
+ **/
65723
+ findFirst<T extends AffiliatePayoutBatchFindFirstArgs<ExtArgs>>(
65724
+ args?: SelectSubset<T, AffiliatePayoutBatchFindFirstArgs<ExtArgs>>
65725
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
65726
+
65727
+ /**
65728
+ * Find the first AffiliatePayoutBatch that matches the filter or
65729
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
65730
+ * Note, that providing `undefined` is treated as the value not being there.
65731
+ * Read more here: https://pris.ly/d/null-undefined
65732
+ * @param {AffiliatePayoutBatchFindFirstOrThrowArgs} args - Arguments to find a AffiliatePayoutBatch
65733
+ * @example
65734
+ * // Get one AffiliatePayoutBatch
65735
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.findFirstOrThrow({
65736
+ * where: {
65737
+ * // ... provide filter here
65738
+ * }
65739
+ * })
65740
+ **/
65741
+ findFirstOrThrow<T extends AffiliatePayoutBatchFindFirstOrThrowArgs<ExtArgs>>(
65742
+ args?: SelectSubset<T, AffiliatePayoutBatchFindFirstOrThrowArgs<ExtArgs>>
65743
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
65744
+
65745
+ /**
65746
+ * Find zero or more AffiliatePayoutBatches that matches the filter.
65747
+ * Note, that providing `undefined` is treated as the value not being there.
65748
+ * Read more here: https://pris.ly/d/null-undefined
65749
+ * @param {AffiliatePayoutBatchFindManyArgs} args - Arguments to filter and select certain fields only.
65750
+ * @example
65751
+ * // Get all AffiliatePayoutBatches
65752
+ * const affiliatePayoutBatches = await prisma.affiliatePayoutBatch.findMany()
65753
+ *
65754
+ * // Get first 10 AffiliatePayoutBatches
65755
+ * const affiliatePayoutBatches = await prisma.affiliatePayoutBatch.findMany({ take: 10 })
65756
+ *
65757
+ * // Only select the `id`
65758
+ * const affiliatePayoutBatchWithIdOnly = await prisma.affiliatePayoutBatch.findMany({ select: { id: true } })
65759
+ *
65760
+ **/
65761
+ findMany<T extends AffiliatePayoutBatchFindManyArgs<ExtArgs>>(
65762
+ args?: SelectSubset<T, AffiliatePayoutBatchFindManyArgs<ExtArgs>>
65763
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'findMany'>>
65764
+
65765
+ /**
65766
+ * Create a AffiliatePayoutBatch.
65767
+ * @param {AffiliatePayoutBatchCreateArgs} args - Arguments to create a AffiliatePayoutBatch.
65768
+ * @example
65769
+ * // Create one AffiliatePayoutBatch
65770
+ * const AffiliatePayoutBatch = await prisma.affiliatePayoutBatch.create({
65771
+ * data: {
65772
+ * // ... data to create a AffiliatePayoutBatch
65773
+ * }
65774
+ * })
65775
+ *
65776
+ **/
65777
+ create<T extends AffiliatePayoutBatchCreateArgs<ExtArgs>>(
65778
+ args: SelectSubset<T, AffiliatePayoutBatchCreateArgs<ExtArgs>>
65779
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
65780
+
65781
+ /**
65782
+ * Create many AffiliatePayoutBatches.
65783
+ * @param {AffiliatePayoutBatchCreateManyArgs} args - Arguments to create many AffiliatePayoutBatches.
65784
+ * @example
65785
+ * // Create many AffiliatePayoutBatches
65786
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.createMany({
65787
+ * data: [
65788
+ * // ... provide data here
65789
+ * ]
65790
+ * })
65791
+ *
65792
+ **/
65793
+ createMany<T extends AffiliatePayoutBatchCreateManyArgs<ExtArgs>>(
65794
+ args?: SelectSubset<T, AffiliatePayoutBatchCreateManyArgs<ExtArgs>>
65795
+ ): Prisma.PrismaPromise<BatchPayload>
65796
+
65797
+ /**
65798
+ * Create many AffiliatePayoutBatches and returns the data saved in the database.
65799
+ * @param {AffiliatePayoutBatchCreateManyAndReturnArgs} args - Arguments to create many AffiliatePayoutBatches.
65800
+ * @example
65801
+ * // Create many AffiliatePayoutBatches
65802
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.createManyAndReturn({
65803
+ * data: [
65804
+ * // ... provide data here
65805
+ * ]
65806
+ * })
65807
+ *
65808
+ * // Create many AffiliatePayoutBatches and only return the `id`
65809
+ * const affiliatePayoutBatchWithIdOnly = await prisma.affiliatePayoutBatch.createManyAndReturn({
65810
+ * select: { id: true },
65811
+ * data: [
65812
+ * // ... provide data here
65813
+ * ]
65814
+ * })
65815
+ * Note, that providing `undefined` is treated as the value not being there.
65816
+ * Read more here: https://pris.ly/d/null-undefined
65817
+ *
65818
+ **/
65819
+ createManyAndReturn<T extends AffiliatePayoutBatchCreateManyAndReturnArgs<ExtArgs>>(
65820
+ args?: SelectSubset<T, AffiliatePayoutBatchCreateManyAndReturnArgs<ExtArgs>>
65821
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'createManyAndReturn'>>
65822
+
65823
+ /**
65824
+ * Delete a AffiliatePayoutBatch.
65825
+ * @param {AffiliatePayoutBatchDeleteArgs} args - Arguments to delete one AffiliatePayoutBatch.
65826
+ * @example
65827
+ * // Delete one AffiliatePayoutBatch
65828
+ * const AffiliatePayoutBatch = await prisma.affiliatePayoutBatch.delete({
65829
+ * where: {
65830
+ * // ... filter to delete one AffiliatePayoutBatch
65831
+ * }
65832
+ * })
65833
+ *
65834
+ **/
65835
+ delete<T extends AffiliatePayoutBatchDeleteArgs<ExtArgs>>(
65836
+ args: SelectSubset<T, AffiliatePayoutBatchDeleteArgs<ExtArgs>>
65837
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
65838
+
65839
+ /**
65840
+ * Update one AffiliatePayoutBatch.
65841
+ * @param {AffiliatePayoutBatchUpdateArgs} args - Arguments to update one AffiliatePayoutBatch.
65842
+ * @example
65843
+ * // Update one AffiliatePayoutBatch
65844
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.update({
65845
+ * where: {
65846
+ * // ... provide filter here
65847
+ * },
65848
+ * data: {
65849
+ * // ... provide data here
65850
+ * }
65851
+ * })
65852
+ *
65853
+ **/
65854
+ update<T extends AffiliatePayoutBatchUpdateArgs<ExtArgs>>(
65855
+ args: SelectSubset<T, AffiliatePayoutBatchUpdateArgs<ExtArgs>>
65856
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
65857
+
65858
+ /**
65859
+ * Delete zero or more AffiliatePayoutBatches.
65860
+ * @param {AffiliatePayoutBatchDeleteManyArgs} args - Arguments to filter AffiliatePayoutBatches to delete.
65861
+ * @example
65862
+ * // Delete a few AffiliatePayoutBatches
65863
+ * const { count } = await prisma.affiliatePayoutBatch.deleteMany({
65864
+ * where: {
65865
+ * // ... provide filter here
65866
+ * }
65867
+ * })
65868
+ *
65869
+ **/
65870
+ deleteMany<T extends AffiliatePayoutBatchDeleteManyArgs<ExtArgs>>(
65871
+ args?: SelectSubset<T, AffiliatePayoutBatchDeleteManyArgs<ExtArgs>>
65872
+ ): Prisma.PrismaPromise<BatchPayload>
65873
+
65874
+ /**
65875
+ * Update zero or more AffiliatePayoutBatches.
65876
+ * Note, that providing `undefined` is treated as the value not being there.
65877
+ * Read more here: https://pris.ly/d/null-undefined
65878
+ * @param {AffiliatePayoutBatchUpdateManyArgs} args - Arguments to update one or more rows.
65879
+ * @example
65880
+ * // Update many AffiliatePayoutBatches
65881
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.updateMany({
65882
+ * where: {
65883
+ * // ... provide filter here
65884
+ * },
65885
+ * data: {
65886
+ * // ... provide data here
65887
+ * }
65888
+ * })
65889
+ *
65890
+ **/
65891
+ updateMany<T extends AffiliatePayoutBatchUpdateManyArgs<ExtArgs>>(
65892
+ args: SelectSubset<T, AffiliatePayoutBatchUpdateManyArgs<ExtArgs>>
65893
+ ): Prisma.PrismaPromise<BatchPayload>
65894
+
65895
+ /**
65896
+ * Create or update one AffiliatePayoutBatch.
65897
+ * @param {AffiliatePayoutBatchUpsertArgs} args - Arguments to update or create a AffiliatePayoutBatch.
65898
+ * @example
65899
+ * // Update or create a AffiliatePayoutBatch
65900
+ * const affiliatePayoutBatch = await prisma.affiliatePayoutBatch.upsert({
65901
+ * create: {
65902
+ * // ... data to create a AffiliatePayoutBatch
65903
+ * },
65904
+ * update: {
65905
+ * // ... in case it already exists, update
65906
+ * },
65907
+ * where: {
65908
+ * // ... the filter for the AffiliatePayoutBatch we want to update
65909
+ * }
65910
+ * })
65911
+ **/
65912
+ upsert<T extends AffiliatePayoutBatchUpsertArgs<ExtArgs>>(
65913
+ args: SelectSubset<T, AffiliatePayoutBatchUpsertArgs<ExtArgs>>
65914
+ ): Prisma__AffiliatePayoutBatchClient<$Result.GetResult<Prisma.$AffiliatePayoutBatchPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
65915
+
65916
+ /**
65917
+ * Count the number of AffiliatePayoutBatches.
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 {AffiliatePayoutBatchCountArgs} args - Arguments to filter AffiliatePayoutBatches to count.
65921
+ * @example
65922
+ * // Count the number of AffiliatePayoutBatches
65923
+ * const count = await prisma.affiliatePayoutBatch.count({
65924
+ * where: {
65925
+ * // ... the filter for the AffiliatePayoutBatches we want to count
65926
+ * }
65927
+ * })
65928
+ **/
65929
+ count<T extends AffiliatePayoutBatchCountArgs>(
65930
+ args?: Subset<T, AffiliatePayoutBatchCountArgs>,
65931
+ ): Prisma.PrismaPromise<
65932
+ T extends $Utils.Record<'select', any>
65933
+ ? T['select'] extends true
65934
+ ? number
65935
+ : GetScalarType<T['select'], AffiliatePayoutBatchCountAggregateOutputType>
65936
+ : number
65937
+ >
65938
+
65939
+ /**
65940
+ * Allows you to perform aggregations operations on a AffiliatePayoutBatch.
65941
+ * Note, that providing `undefined` is treated as the value not being there.
65942
+ * Read more here: https://pris.ly/d/null-undefined
65943
+ * @param {AffiliatePayoutBatchAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
65944
+ * @example
65945
+ * // Ordered by age ascending
65946
+ * // Where email contains prisma.io
65947
+ * // Limited to the 10 users
65948
+ * const aggregations = await prisma.user.aggregate({
65949
+ * _avg: {
65950
+ * age: true,
65951
+ * },
65952
+ * where: {
65953
+ * email: {
65954
+ * contains: "prisma.io",
65955
+ * },
65956
+ * },
65957
+ * orderBy: {
65958
+ * age: "asc",
65959
+ * },
65960
+ * take: 10,
65961
+ * })
65962
+ **/
65963
+ aggregate<T extends AffiliatePayoutBatchAggregateArgs>(args: Subset<T, AffiliatePayoutBatchAggregateArgs>): Prisma.PrismaPromise<GetAffiliatePayoutBatchAggregateType<T>>
65964
+
65965
+ /**
65966
+ * Group by AffiliatePayoutBatch.
65967
+ * Note, that providing `undefined` is treated as the value not being there.
65968
+ * Read more here: https://pris.ly/d/null-undefined
65969
+ * @param {AffiliatePayoutBatchGroupByArgs} args - Group by arguments.
65970
+ * @example
65971
+ * // Group by city, order by createdAt, get count
65972
+ * const result = await prisma.user.groupBy({
65973
+ * by: ['city', 'createdAt'],
65974
+ * orderBy: {
65975
+ * createdAt: true
65976
+ * },
65977
+ * _count: {
65978
+ * _all: true
65979
+ * },
65980
+ * })
65981
+ *
65982
+ **/
65983
+ groupBy<
65984
+ T extends AffiliatePayoutBatchGroupByArgs,
65985
+ HasSelectOrTake extends Or<
65986
+ Extends<'skip', Keys<T>>,
65987
+ Extends<'take', Keys<T>>
65988
+ >,
65989
+ OrderByArg extends True extends HasSelectOrTake
65990
+ ? { orderBy: AffiliatePayoutBatchGroupByArgs['orderBy'] }
65991
+ : { orderBy?: AffiliatePayoutBatchGroupByArgs['orderBy'] },
65992
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
65993
+ ByFields extends MaybeTupleToUnion<T['by']>,
65994
+ ByValid extends Has<ByFields, OrderFields>,
65995
+ HavingFields extends GetHavingFields<T['having']>,
65996
+ HavingValid extends Has<ByFields, HavingFields>,
65997
+ ByEmpty extends T['by'] extends never[] ? True : False,
65998
+ InputErrors extends ByEmpty extends True
65999
+ ? `Error: "by" must not be empty.`
66000
+ : HavingValid extends False
66001
+ ? {
66002
+ [P in HavingFields]: P extends ByFields
66003
+ ? never
66004
+ : P extends string
66005
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
66006
+ : [
66007
+ Error,
66008
+ 'Field ',
66009
+ P,
66010
+ ` in "having" needs to be provided in "by"`,
66011
+ ]
66012
+ }[HavingFields]
66013
+ : 'take' extends Keys<T>
66014
+ ? 'orderBy' extends Keys<T>
66015
+ ? ByValid extends True
66016
+ ? {}
66017
+ : {
66018
+ [P in OrderFields]: P extends ByFields
66019
+ ? never
66020
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
66021
+ }[OrderFields]
66022
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
66023
+ : 'skip' extends Keys<T>
66024
+ ? 'orderBy' extends Keys<T>
66025
+ ? ByValid extends True
66026
+ ? {}
66027
+ : {
66028
+ [P in OrderFields]: P extends ByFields
66029
+ ? never
66030
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
66031
+ }[OrderFields]
66032
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
66033
+ : ByValid extends True
66034
+ ? {}
66035
+ : {
66036
+ [P in OrderFields]: P extends ByFields
66037
+ ? never
66038
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
66039
+ }[OrderFields]
66040
+ >(args: SubsetIntersection<T, AffiliatePayoutBatchGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAffiliatePayoutBatchGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
66041
+ /**
66042
+ * Fields of the AffiliatePayoutBatch model
66043
+ */
66044
+ readonly fields: AffiliatePayoutBatchFieldRefs;
66045
+ }
66046
+
66047
+ /**
66048
+ * The delegate class that acts as a "Promise-like" for AffiliatePayoutBatch.
66049
+ * Why is this prefixed with `Prisma__`?
66050
+ * Because we want to prevent naming conflicts as mentioned in
66051
+ * https://github.com/prisma/prisma-client-js/issues/707
66052
+ */
66053
+ export interface Prisma__AffiliatePayoutBatchClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
66054
+ readonly [Symbol.toStringTag]: 'PrismaPromise';
66055
+
66056
+ user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
66057
+
66058
+ affiliateEvents<T extends AffiliatePayoutBatch$affiliateEventsArgs<ExtArgs> = {}>(args?: Subset<T, AffiliatePayoutBatch$affiliateEventsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AffiliateEventPayload<ExtArgs>, T, 'findMany'> | Null>;
66059
+
64804
66060
  /**
64805
66061
  * Attaches callbacks for the resolution and/or rejection of the Promise.
64806
66062
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -64826,363 +66082,364 @@ export namespace Prisma {
64826
66082
 
64827
66083
 
64828
66084
  /**
64829
- * Fields of the AffiliateEvent model
66085
+ * Fields of the AffiliatePayoutBatch model
64830
66086
  */
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'>
66087
+ interface AffiliatePayoutBatchFieldRefs {
66088
+ readonly id: FieldRef<"AffiliatePayoutBatch", 'Int'>
66089
+ readonly createdAt: FieldRef<"AffiliatePayoutBatch", 'DateTime'>
66090
+ readonly updatedAt: FieldRef<"AffiliatePayoutBatch", 'DateTime'>
66091
+ readonly metaData: FieldRef<"AffiliatePayoutBatch", 'Json'>
66092
+ readonly trolleyBatchId: FieldRef<"AffiliatePayoutBatch", 'String'>
66093
+ readonly userId: FieldRef<"AffiliatePayoutBatch", 'Int'>
64842
66094
  }
64843
66095
 
64844
66096
 
64845
66097
  // Custom InputTypes
64846
66098
  /**
64847
- * AffiliateEvent findUnique
66099
+ * AffiliatePayoutBatch findUnique
64848
66100
  */
64849
- export type AffiliateEventFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66101
+ export type AffiliatePayoutBatchFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64850
66102
  /**
64851
- * Select specific fields to fetch from the AffiliateEvent
66103
+ * Select specific fields to fetch from the AffiliatePayoutBatch
64852
66104
  */
64853
- select?: AffiliateEventSelect<ExtArgs> | null
66105
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
64854
66106
  /**
64855
66107
  * Choose, which related nodes to fetch as well
64856
66108
  */
64857
- include?: AffiliateEventInclude<ExtArgs> | null
66109
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
64858
66110
  /**
64859
- * Filter, which AffiliateEvent to fetch.
66111
+ * Filter, which AffiliatePayoutBatch to fetch.
64860
66112
  */
64861
- where: AffiliateEventWhereUniqueInput
66113
+ where: AffiliatePayoutBatchWhereUniqueInput
64862
66114
  }
64863
66115
 
64864
66116
  /**
64865
- * AffiliateEvent findUniqueOrThrow
66117
+ * AffiliatePayoutBatch findUniqueOrThrow
64866
66118
  */
64867
- export type AffiliateEventFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66119
+ export type AffiliatePayoutBatchFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64868
66120
  /**
64869
- * Select specific fields to fetch from the AffiliateEvent
66121
+ * Select specific fields to fetch from the AffiliatePayoutBatch
64870
66122
  */
64871
- select?: AffiliateEventSelect<ExtArgs> | null
66123
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
64872
66124
  /**
64873
66125
  * Choose, which related nodes to fetch as well
64874
66126
  */
64875
- include?: AffiliateEventInclude<ExtArgs> | null
66127
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
64876
66128
  /**
64877
- * Filter, which AffiliateEvent to fetch.
66129
+ * Filter, which AffiliatePayoutBatch to fetch.
64878
66130
  */
64879
- where: AffiliateEventWhereUniqueInput
66131
+ where: AffiliatePayoutBatchWhereUniqueInput
64880
66132
  }
64881
66133
 
64882
66134
  /**
64883
- * AffiliateEvent findFirst
66135
+ * AffiliatePayoutBatch findFirst
64884
66136
  */
64885
- export type AffiliateEventFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66137
+ export type AffiliatePayoutBatchFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64886
66138
  /**
64887
- * Select specific fields to fetch from the AffiliateEvent
66139
+ * Select specific fields to fetch from the AffiliatePayoutBatch
64888
66140
  */
64889
- select?: AffiliateEventSelect<ExtArgs> | null
66141
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
64890
66142
  /**
64891
66143
  * Choose, which related nodes to fetch as well
64892
66144
  */
64893
- include?: AffiliateEventInclude<ExtArgs> | null
66145
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
64894
66146
  /**
64895
- * Filter, which AffiliateEvent to fetch.
66147
+ * Filter, which AffiliatePayoutBatch to fetch.
64896
66148
  */
64897
- where?: AffiliateEventWhereInput
66149
+ where?: AffiliatePayoutBatchWhereInput
64898
66150
  /**
64899
66151
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
64900
66152
  *
64901
- * Determine the order of AffiliateEvents to fetch.
66153
+ * Determine the order of AffiliatePayoutBatches to fetch.
64902
66154
  */
64903
- orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
66155
+ orderBy?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput | AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput[]
64904
66156
  /**
64905
66157
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
64906
66158
  *
64907
- * Sets the position for searching for AffiliateEvents.
66159
+ * Sets the position for searching for AffiliatePayoutBatches.
64908
66160
  */
64909
- cursor?: AffiliateEventWhereUniqueInput
66161
+ cursor?: AffiliatePayoutBatchWhereUniqueInput
64910
66162
  /**
64911
66163
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64912
66164
  *
64913
- * Take `±n` AffiliateEvents from the position of the cursor.
66165
+ * Take `±n` AffiliatePayoutBatches from the position of the cursor.
64914
66166
  */
64915
66167
  take?: number
64916
66168
  /**
64917
66169
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64918
66170
  *
64919
- * Skip the first `n` AffiliateEvents.
66171
+ * Skip the first `n` AffiliatePayoutBatches.
64920
66172
  */
64921
66173
  skip?: number
64922
66174
  /**
64923
66175
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
64924
66176
  *
64925
- * Filter by unique combinations of AffiliateEvents.
66177
+ * Filter by unique combinations of AffiliatePayoutBatches.
64926
66178
  */
64927
- distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
66179
+ distinct?: AffiliatePayoutBatchScalarFieldEnum | AffiliatePayoutBatchScalarFieldEnum[]
64928
66180
  }
64929
66181
 
64930
66182
  /**
64931
- * AffiliateEvent findFirstOrThrow
66183
+ * AffiliatePayoutBatch findFirstOrThrow
64932
66184
  */
64933
- export type AffiliateEventFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66185
+ export type AffiliatePayoutBatchFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64934
66186
  /**
64935
- * Select specific fields to fetch from the AffiliateEvent
66187
+ * Select specific fields to fetch from the AffiliatePayoutBatch
64936
66188
  */
64937
- select?: AffiliateEventSelect<ExtArgs> | null
66189
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
64938
66190
  /**
64939
66191
  * Choose, which related nodes to fetch as well
64940
66192
  */
64941
- include?: AffiliateEventInclude<ExtArgs> | null
66193
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
64942
66194
  /**
64943
- * Filter, which AffiliateEvent to fetch.
66195
+ * Filter, which AffiliatePayoutBatch to fetch.
64944
66196
  */
64945
- where?: AffiliateEventWhereInput
66197
+ where?: AffiliatePayoutBatchWhereInput
64946
66198
  /**
64947
66199
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
64948
66200
  *
64949
- * Determine the order of AffiliateEvents to fetch.
66201
+ * Determine the order of AffiliatePayoutBatches to fetch.
64950
66202
  */
64951
- orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
66203
+ orderBy?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput | AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput[]
64952
66204
  /**
64953
66205
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
64954
66206
  *
64955
- * Sets the position for searching for AffiliateEvents.
66207
+ * Sets the position for searching for AffiliatePayoutBatches.
64956
66208
  */
64957
- cursor?: AffiliateEventWhereUniqueInput
66209
+ cursor?: AffiliatePayoutBatchWhereUniqueInput
64958
66210
  /**
64959
66211
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64960
66212
  *
64961
- * Take `±n` AffiliateEvents from the position of the cursor.
66213
+ * Take `±n` AffiliatePayoutBatches from the position of the cursor.
64962
66214
  */
64963
66215
  take?: number
64964
66216
  /**
64965
66217
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64966
66218
  *
64967
- * Skip the first `n` AffiliateEvents.
66219
+ * Skip the first `n` AffiliatePayoutBatches.
64968
66220
  */
64969
66221
  skip?: number
64970
66222
  /**
64971
66223
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
64972
66224
  *
64973
- * Filter by unique combinations of AffiliateEvents.
66225
+ * Filter by unique combinations of AffiliatePayoutBatches.
64974
66226
  */
64975
- distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
66227
+ distinct?: AffiliatePayoutBatchScalarFieldEnum | AffiliatePayoutBatchScalarFieldEnum[]
64976
66228
  }
64977
66229
 
64978
66230
  /**
64979
- * AffiliateEvent findMany
66231
+ * AffiliatePayoutBatch findMany
64980
66232
  */
64981
- export type AffiliateEventFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66233
+ export type AffiliatePayoutBatchFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
64982
66234
  /**
64983
- * Select specific fields to fetch from the AffiliateEvent
66235
+ * Select specific fields to fetch from the AffiliatePayoutBatch
64984
66236
  */
64985
- select?: AffiliateEventSelect<ExtArgs> | null
66237
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
64986
66238
  /**
64987
66239
  * Choose, which related nodes to fetch as well
64988
66240
  */
64989
- include?: AffiliateEventInclude<ExtArgs> | null
66241
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
64990
66242
  /**
64991
- * Filter, which AffiliateEvents to fetch.
66243
+ * Filter, which AffiliatePayoutBatches to fetch.
64992
66244
  */
64993
- where?: AffiliateEventWhereInput
66245
+ where?: AffiliatePayoutBatchWhereInput
64994
66246
  /**
64995
66247
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
64996
66248
  *
64997
- * Determine the order of AffiliateEvents to fetch.
66249
+ * Determine the order of AffiliatePayoutBatches to fetch.
64998
66250
  */
64999
- orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
66251
+ orderBy?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput | AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput[]
65000
66252
  /**
65001
66253
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65002
66254
  *
65003
- * Sets the position for listing AffiliateEvents.
66255
+ * Sets the position for listing AffiliatePayoutBatches.
65004
66256
  */
65005
- cursor?: AffiliateEventWhereUniqueInput
66257
+ cursor?: AffiliatePayoutBatchWhereUniqueInput
65006
66258
  /**
65007
66259
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65008
66260
  *
65009
- * Take `±n` AffiliateEvents from the position of the cursor.
66261
+ * Take `±n` AffiliatePayoutBatches from the position of the cursor.
65010
66262
  */
65011
66263
  take?: number
65012
66264
  /**
65013
66265
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65014
66266
  *
65015
- * Skip the first `n` AffiliateEvents.
66267
+ * Skip the first `n` AffiliatePayoutBatches.
65016
66268
  */
65017
66269
  skip?: number
65018
- distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
66270
+ distinct?: AffiliatePayoutBatchScalarFieldEnum | AffiliatePayoutBatchScalarFieldEnum[]
65019
66271
  }
65020
66272
 
65021
66273
  /**
65022
- * AffiliateEvent create
66274
+ * AffiliatePayoutBatch create
65023
66275
  */
65024
- export type AffiliateEventCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66276
+ export type AffiliatePayoutBatchCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65025
66277
  /**
65026
- * Select specific fields to fetch from the AffiliateEvent
66278
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65027
66279
  */
65028
- select?: AffiliateEventSelect<ExtArgs> | null
66280
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65029
66281
  /**
65030
66282
  * Choose, which related nodes to fetch as well
65031
66283
  */
65032
- include?: AffiliateEventInclude<ExtArgs> | null
66284
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65033
66285
  /**
65034
- * The data needed to create a AffiliateEvent.
66286
+ * The data needed to create a AffiliatePayoutBatch.
65035
66287
  */
65036
- data: XOR<AffiliateEventCreateInput, AffiliateEventUncheckedCreateInput>
66288
+ data: XOR<AffiliatePayoutBatchCreateInput, AffiliatePayoutBatchUncheckedCreateInput>
65037
66289
  }
65038
66290
 
65039
66291
  /**
65040
- * AffiliateEvent createMany
66292
+ * AffiliatePayoutBatch createMany
65041
66293
  */
65042
- export type AffiliateEventCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66294
+ export type AffiliatePayoutBatchCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65043
66295
  /**
65044
- * The data used to create many AffiliateEvents.
66296
+ * The data used to create many AffiliatePayoutBatches.
65045
66297
  */
65046
- data: AffiliateEventCreateManyInput | AffiliateEventCreateManyInput[]
66298
+ data: AffiliatePayoutBatchCreateManyInput | AffiliatePayoutBatchCreateManyInput[]
65047
66299
  skipDuplicates?: boolean
65048
66300
  }
65049
66301
 
65050
66302
  /**
65051
- * AffiliateEvent createManyAndReturn
66303
+ * AffiliatePayoutBatch createManyAndReturn
65052
66304
  */
65053
- export type AffiliateEventCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66305
+ export type AffiliatePayoutBatchCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65054
66306
  /**
65055
- * Select specific fields to fetch from the AffiliateEvent
66307
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65056
66308
  */
65057
- select?: AffiliateEventSelectCreateManyAndReturn<ExtArgs> | null
66309
+ select?: AffiliatePayoutBatchSelectCreateManyAndReturn<ExtArgs> | null
65058
66310
  /**
65059
- * The data used to create many AffiliateEvents.
66311
+ * The data used to create many AffiliatePayoutBatches.
65060
66312
  */
65061
- data: AffiliateEventCreateManyInput | AffiliateEventCreateManyInput[]
66313
+ data: AffiliatePayoutBatchCreateManyInput | AffiliatePayoutBatchCreateManyInput[]
65062
66314
  skipDuplicates?: boolean
65063
66315
  /**
65064
66316
  * Choose, which related nodes to fetch as well
65065
66317
  */
65066
- include?: AffiliateEventIncludeCreateManyAndReturn<ExtArgs> | null
66318
+ include?: AffiliatePayoutBatchIncludeCreateManyAndReturn<ExtArgs> | null
65067
66319
  }
65068
66320
 
65069
66321
  /**
65070
- * AffiliateEvent update
66322
+ * AffiliatePayoutBatch update
65071
66323
  */
65072
- export type AffiliateEventUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66324
+ export type AffiliatePayoutBatchUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65073
66325
  /**
65074
- * Select specific fields to fetch from the AffiliateEvent
66326
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65075
66327
  */
65076
- select?: AffiliateEventSelect<ExtArgs> | null
66328
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65077
66329
  /**
65078
66330
  * Choose, which related nodes to fetch as well
65079
66331
  */
65080
- include?: AffiliateEventInclude<ExtArgs> | null
66332
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65081
66333
  /**
65082
- * The data needed to update a AffiliateEvent.
66334
+ * The data needed to update a AffiliatePayoutBatch.
65083
66335
  */
65084
- data: XOR<AffiliateEventUpdateInput, AffiliateEventUncheckedUpdateInput>
66336
+ data: XOR<AffiliatePayoutBatchUpdateInput, AffiliatePayoutBatchUncheckedUpdateInput>
65085
66337
  /**
65086
- * Choose, which AffiliateEvent to update.
66338
+ * Choose, which AffiliatePayoutBatch to update.
65087
66339
  */
65088
- where: AffiliateEventWhereUniqueInput
66340
+ where: AffiliatePayoutBatchWhereUniqueInput
65089
66341
  }
65090
66342
 
65091
66343
  /**
65092
- * AffiliateEvent updateMany
66344
+ * AffiliatePayoutBatch updateMany
65093
66345
  */
65094
- export type AffiliateEventUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66346
+ export type AffiliatePayoutBatchUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65095
66347
  /**
65096
- * The data used to update AffiliateEvents.
66348
+ * The data used to update AffiliatePayoutBatches.
65097
66349
  */
65098
- data: XOR<AffiliateEventUpdateManyMutationInput, AffiliateEventUncheckedUpdateManyInput>
66350
+ data: XOR<AffiliatePayoutBatchUpdateManyMutationInput, AffiliatePayoutBatchUncheckedUpdateManyInput>
65099
66351
  /**
65100
- * Filter which AffiliateEvents to update
66352
+ * Filter which AffiliatePayoutBatches to update
65101
66353
  */
65102
- where?: AffiliateEventWhereInput
66354
+ where?: AffiliatePayoutBatchWhereInput
65103
66355
  }
65104
66356
 
65105
66357
  /**
65106
- * AffiliateEvent upsert
66358
+ * AffiliatePayoutBatch upsert
65107
66359
  */
65108
- export type AffiliateEventUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66360
+ export type AffiliatePayoutBatchUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65109
66361
  /**
65110
- * Select specific fields to fetch from the AffiliateEvent
66362
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65111
66363
  */
65112
- select?: AffiliateEventSelect<ExtArgs> | null
66364
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65113
66365
  /**
65114
66366
  * Choose, which related nodes to fetch as well
65115
66367
  */
65116
- include?: AffiliateEventInclude<ExtArgs> | null
66368
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65117
66369
  /**
65118
- * The filter to search for the AffiliateEvent to update in case it exists.
66370
+ * The filter to search for the AffiliatePayoutBatch to update in case it exists.
65119
66371
  */
65120
- where: AffiliateEventWhereUniqueInput
66372
+ where: AffiliatePayoutBatchWhereUniqueInput
65121
66373
  /**
65122
- * In case the AffiliateEvent found by the `where` argument doesn't exist, create a new AffiliateEvent with this data.
66374
+ * In case the AffiliatePayoutBatch found by the `where` argument doesn't exist, create a new AffiliatePayoutBatch with this data.
65123
66375
  */
65124
- create: XOR<AffiliateEventCreateInput, AffiliateEventUncheckedCreateInput>
66376
+ create: XOR<AffiliatePayoutBatchCreateInput, AffiliatePayoutBatchUncheckedCreateInput>
65125
66377
  /**
65126
- * In case the AffiliateEvent was found with the provided `where` argument, update it with this data.
66378
+ * In case the AffiliatePayoutBatch was found with the provided `where` argument, update it with this data.
65127
66379
  */
65128
- update: XOR<AffiliateEventUpdateInput, AffiliateEventUncheckedUpdateInput>
66380
+ update: XOR<AffiliatePayoutBatchUpdateInput, AffiliatePayoutBatchUncheckedUpdateInput>
65129
66381
  }
65130
66382
 
65131
66383
  /**
65132
- * AffiliateEvent delete
66384
+ * AffiliatePayoutBatch delete
65133
66385
  */
65134
- export type AffiliateEventDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66386
+ export type AffiliatePayoutBatchDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65135
66387
  /**
65136
- * Select specific fields to fetch from the AffiliateEvent
66388
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65137
66389
  */
65138
- select?: AffiliateEventSelect<ExtArgs> | null
66390
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65139
66391
  /**
65140
66392
  * Choose, which related nodes to fetch as well
65141
66393
  */
65142
- include?: AffiliateEventInclude<ExtArgs> | null
66394
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65143
66395
  /**
65144
- * Filter which AffiliateEvent to delete.
66396
+ * Filter which AffiliatePayoutBatch to delete.
65145
66397
  */
65146
- where: AffiliateEventWhereUniqueInput
66398
+ where: AffiliatePayoutBatchWhereUniqueInput
65147
66399
  }
65148
66400
 
65149
66401
  /**
65150
- * AffiliateEvent deleteMany
66402
+ * AffiliatePayoutBatch deleteMany
65151
66403
  */
65152
- export type AffiliateEventDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66404
+ export type AffiliatePayoutBatchDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65153
66405
  /**
65154
- * Filter which AffiliateEvents to delete
66406
+ * Filter which AffiliatePayoutBatches to delete
65155
66407
  */
65156
- where?: AffiliateEventWhereInput
66408
+ where?: AffiliatePayoutBatchWhereInput
65157
66409
  }
65158
66410
 
65159
66411
  /**
65160
- * AffiliateEvent.affiliateClick
66412
+ * AffiliatePayoutBatch.affiliateEvents
65161
66413
  */
65162
- export type AffiliateEvent$affiliateClickArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66414
+ export type AffiliatePayoutBatch$affiliateEventsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65163
66415
  /**
65164
- * Select specific fields to fetch from the AffiliateClick
66416
+ * Select specific fields to fetch from the AffiliateEvent
65165
66417
  */
65166
- select?: AffiliateClickSelect<ExtArgs> | null
66418
+ select?: AffiliateEventSelect<ExtArgs> | null
65167
66419
  /**
65168
66420
  * Choose, which related nodes to fetch as well
65169
66421
  */
65170
- include?: AffiliateClickInclude<ExtArgs> | null
65171
- where?: AffiliateClickWhereInput
66422
+ include?: AffiliateEventInclude<ExtArgs> | null
66423
+ where?: AffiliateEventWhereInput
66424
+ orderBy?: AffiliateEventOrderByWithRelationAndSearchRelevanceInput | AffiliateEventOrderByWithRelationAndSearchRelevanceInput[]
66425
+ cursor?: AffiliateEventWhereUniqueInput
66426
+ take?: number
66427
+ skip?: number
66428
+ distinct?: AffiliateEventScalarFieldEnum | AffiliateEventScalarFieldEnum[]
65172
66429
  }
65173
66430
 
65174
66431
  /**
65175
- * AffiliateEvent without action
66432
+ * AffiliatePayoutBatch without action
65176
66433
  */
65177
- export type AffiliateEventDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
66434
+ export type AffiliatePayoutBatchDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
65178
66435
  /**
65179
- * Select specific fields to fetch from the AffiliateEvent
66436
+ * Select specific fields to fetch from the AffiliatePayoutBatch
65180
66437
  */
65181
- select?: AffiliateEventSelect<ExtArgs> | null
66438
+ select?: AffiliatePayoutBatchSelect<ExtArgs> | null
65182
66439
  /**
65183
66440
  * Choose, which related nodes to fetch as well
65184
66441
  */
65185
- include?: AffiliateEventInclude<ExtArgs> | null
66442
+ include?: AffiliatePayoutBatchInclude<ExtArgs> | null
65186
66443
  }
65187
66444
 
65188
66445
 
@@ -94507,18 +95764,34 @@ export namespace Prisma {
94507
95764
  id: 'id',
94508
95765
  event: 'event',
94509
95766
  created: 'created',
95767
+ updatedAt: 'updatedAt',
94510
95768
  visitorIp: 'visitorIp',
94511
95769
  urlPath: 'urlPath',
94512
95770
  revenue: 'revenue',
94513
95771
  commissionAmount: 'commissionAmount',
94514
95772
  commissionPercent: 'commissionPercent',
95773
+ platform: 'platform',
95774
+ externalOrderId: 'externalOrderId',
94515
95775
  metaData: 'metaData',
94516
- affiliateClickId: 'affiliateClickId'
95776
+ affiliateClickId: 'affiliateClickId',
95777
+ affiliatePayoutBatchId: 'affiliatePayoutBatchId'
94517
95778
  };
94518
95779
 
94519
95780
  export type AffiliateEventScalarFieldEnum = (typeof AffiliateEventScalarFieldEnum)[keyof typeof AffiliateEventScalarFieldEnum]
94520
95781
 
94521
95782
 
95783
+ export const AffiliatePayoutBatchScalarFieldEnum: {
95784
+ id: 'id',
95785
+ createdAt: 'createdAt',
95786
+ updatedAt: 'updatedAt',
95787
+ metaData: 'metaData',
95788
+ trolleyBatchId: 'trolleyBatchId',
95789
+ userId: 'userId'
95790
+ };
95791
+
95792
+ export type AffiliatePayoutBatchScalarFieldEnum = (typeof AffiliatePayoutBatchScalarFieldEnum)[keyof typeof AffiliatePayoutBatchScalarFieldEnum]
95793
+
95794
+
94522
95795
  export const SavedFileScalarFieldEnum: {
94523
95796
  id: 'id',
94524
95797
  title: 'title',
@@ -95284,12 +96557,21 @@ export namespace Prisma {
95284
96557
  export const AffiliateEventOrderByRelevanceFieldEnum: {
95285
96558
  event: 'event',
95286
96559
  visitorIp: 'visitorIp',
95287
- urlPath: 'urlPath'
96560
+ urlPath: 'urlPath',
96561
+ platform: 'platform',
96562
+ externalOrderId: 'externalOrderId'
95288
96563
  };
95289
96564
 
95290
96565
  export type AffiliateEventOrderByRelevanceFieldEnum = (typeof AffiliateEventOrderByRelevanceFieldEnum)[keyof typeof AffiliateEventOrderByRelevanceFieldEnum]
95291
96566
 
95292
96567
 
96568
+ export const AffiliatePayoutBatchOrderByRelevanceFieldEnum: {
96569
+ trolleyBatchId: 'trolleyBatchId'
96570
+ };
96571
+
96572
+ export type AffiliatePayoutBatchOrderByRelevanceFieldEnum = (typeof AffiliatePayoutBatchOrderByRelevanceFieldEnum)[keyof typeof AffiliatePayoutBatchOrderByRelevanceFieldEnum]
96573
+
96574
+
95293
96575
  export const SavedFileOrderByRelevanceFieldEnum: {
95294
96576
  title: 'title',
95295
96577
  type: 'type',
@@ -95672,6 +96954,7 @@ export namespace Prisma {
95672
96954
  flagsAssigned?: CreatorFlagListRelationFilter
95673
96955
  flagsCreated?: CreatorFlagListRelationFilter
95674
96956
  flagsEdited?: CreatorFlagListRelationFilter
96957
+ affiliatePayoutBatches?: AffiliatePayoutBatchListRelationFilter
95675
96958
  }
95676
96959
 
95677
96960
  export type UserOrderByWithRelationAndSearchRelevanceInput = {
@@ -95722,6 +97005,7 @@ export namespace Prisma {
95722
97005
  flagsAssigned?: CreatorFlagOrderByRelationAggregateInput
95723
97006
  flagsCreated?: CreatorFlagOrderByRelationAggregateInput
95724
97007
  flagsEdited?: CreatorFlagOrderByRelationAggregateInput
97008
+ affiliatePayoutBatches?: AffiliatePayoutBatchOrderByRelationAggregateInput
95725
97009
  _relevance?: UserOrderByRelevanceInput
95726
97010
  }
95727
97011
 
@@ -95776,6 +97060,7 @@ export namespace Prisma {
95776
97060
  flagsAssigned?: CreatorFlagListRelationFilter
95777
97061
  flagsCreated?: CreatorFlagListRelationFilter
95778
97062
  flagsEdited?: CreatorFlagListRelationFilter
97063
+ affiliatePayoutBatches?: AffiliatePayoutBatchListRelationFilter
95779
97064
  }, "id" | "idmId" | "email" | "forgotPasswordKey" | "affiliateSlug">
95780
97065
 
95781
97066
  export type UserOrderByWithAggregationInput = {
@@ -100032,59 +101317,79 @@ export namespace Prisma {
100032
101317
  id?: IntFilter<"AffiliateEvent"> | number
100033
101318
  event?: StringFilter<"AffiliateEvent"> | string
100034
101319
  created?: DateTimeFilter<"AffiliateEvent"> | Date | string
101320
+ updatedAt?: DateTimeNullableFilter<"AffiliateEvent"> | Date | string | null
100035
101321
  visitorIp?: StringNullableFilter<"AffiliateEvent"> | string | null
100036
101322
  urlPath?: StringNullableFilter<"AffiliateEvent"> | string | null
100037
101323
  revenue?: FloatNullableFilter<"AffiliateEvent"> | number | null
100038
101324
  commissionAmount?: FloatNullableFilter<"AffiliateEvent"> | number | null
100039
101325
  commissionPercent?: FloatNullableFilter<"AffiliateEvent"> | number | null
101326
+ platform?: StringNullableFilter<"AffiliateEvent"> | string | null
101327
+ externalOrderId?: StringNullableFilter<"AffiliateEvent"> | string | null
100040
101328
  metaData?: JsonFilter<"AffiliateEvent">
100041
101329
  affiliateClickId?: IntFilter<"AffiliateEvent"> | number
101330
+ affiliatePayoutBatchId?: IntNullableFilter<"AffiliateEvent"> | number | null
100042
101331
  affiliateClick?: XOR<AffiliateClickNullableRelationFilter, AffiliateClickWhereInput> | null
101332
+ affiliatePayoutBatch?: XOR<AffiliatePayoutBatchNullableRelationFilter, AffiliatePayoutBatchWhereInput> | null
100043
101333
  }
100044
101334
 
100045
101335
  export type AffiliateEventOrderByWithRelationAndSearchRelevanceInput = {
100046
101336
  id?: SortOrder
100047
101337
  event?: SortOrder
100048
101338
  created?: SortOrder
101339
+ updatedAt?: SortOrderInput | SortOrder
100049
101340
  visitorIp?: SortOrderInput | SortOrder
100050
101341
  urlPath?: SortOrderInput | SortOrder
100051
101342
  revenue?: SortOrderInput | SortOrder
100052
101343
  commissionAmount?: SortOrderInput | SortOrder
100053
101344
  commissionPercent?: SortOrderInput | SortOrder
101345
+ platform?: SortOrderInput | SortOrder
101346
+ externalOrderId?: SortOrderInput | SortOrder
100054
101347
  metaData?: SortOrder
100055
101348
  affiliateClickId?: SortOrder
101349
+ affiliatePayoutBatchId?: SortOrderInput | SortOrder
100056
101350
  affiliateClick?: AffiliateClickOrderByWithRelationAndSearchRelevanceInput
101351
+ affiliatePayoutBatch?: AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput
100057
101352
  _relevance?: AffiliateEventOrderByRelevanceInput
100058
101353
  }
100059
101354
 
100060
101355
  export type AffiliateEventWhereUniqueInput = Prisma.AtLeast<{
100061
101356
  id?: number
101357
+ platform_externalOrderId?: AffiliateEventPlatformExternalOrderIdCompoundUniqueInput
100062
101358
  AND?: AffiliateEventWhereInput | AffiliateEventWhereInput[]
100063
101359
  OR?: AffiliateEventWhereInput[]
100064
101360
  NOT?: AffiliateEventWhereInput | AffiliateEventWhereInput[]
100065
101361
  event?: StringFilter<"AffiliateEvent"> | string
100066
101362
  created?: DateTimeFilter<"AffiliateEvent"> | Date | string
101363
+ updatedAt?: DateTimeNullableFilter<"AffiliateEvent"> | Date | string | null
100067
101364
  visitorIp?: StringNullableFilter<"AffiliateEvent"> | string | null
100068
101365
  urlPath?: StringNullableFilter<"AffiliateEvent"> | string | null
100069
101366
  revenue?: FloatNullableFilter<"AffiliateEvent"> | number | null
100070
101367
  commissionAmount?: FloatNullableFilter<"AffiliateEvent"> | number | null
100071
101368
  commissionPercent?: FloatNullableFilter<"AffiliateEvent"> | number | null
101369
+ platform?: StringNullableFilter<"AffiliateEvent"> | string | null
101370
+ externalOrderId?: StringNullableFilter<"AffiliateEvent"> | string | null
100072
101371
  metaData?: JsonFilter<"AffiliateEvent">
100073
101372
  affiliateClickId?: IntFilter<"AffiliateEvent"> | number
101373
+ affiliatePayoutBatchId?: IntNullableFilter<"AffiliateEvent"> | number | null
100074
101374
  affiliateClick?: XOR<AffiliateClickNullableRelationFilter, AffiliateClickWhereInput> | null
100075
- }, "id">
101375
+ affiliatePayoutBatch?: XOR<AffiliatePayoutBatchNullableRelationFilter, AffiliatePayoutBatchWhereInput> | null
101376
+ }, "id" | "platform_externalOrderId">
100076
101377
 
100077
101378
  export type AffiliateEventOrderByWithAggregationInput = {
100078
101379
  id?: SortOrder
100079
101380
  event?: SortOrder
100080
101381
  created?: SortOrder
101382
+ updatedAt?: SortOrderInput | SortOrder
100081
101383
  visitorIp?: SortOrderInput | SortOrder
100082
101384
  urlPath?: SortOrderInput | SortOrder
100083
101385
  revenue?: SortOrderInput | SortOrder
100084
101386
  commissionAmount?: SortOrderInput | SortOrder
100085
101387
  commissionPercent?: SortOrderInput | SortOrder
101388
+ platform?: SortOrderInput | SortOrder
101389
+ externalOrderId?: SortOrderInput | SortOrder
100086
101390
  metaData?: SortOrder
100087
101391
  affiliateClickId?: SortOrder
101392
+ affiliatePayoutBatchId?: SortOrderInput | SortOrder
100088
101393
  _count?: AffiliateEventCountOrderByAggregateInput
100089
101394
  _avg?: AffiliateEventAvgOrderByAggregateInput
100090
101395
  _max?: AffiliateEventMaxOrderByAggregateInput
@@ -100099,13 +101404,83 @@ export namespace Prisma {
100099
101404
  id?: IntWithAggregatesFilter<"AffiliateEvent"> | number
100100
101405
  event?: StringWithAggregatesFilter<"AffiliateEvent"> | string
100101
101406
  created?: DateTimeWithAggregatesFilter<"AffiliateEvent"> | Date | string
101407
+ updatedAt?: DateTimeNullableWithAggregatesFilter<"AffiliateEvent"> | Date | string | null
100102
101408
  visitorIp?: StringNullableWithAggregatesFilter<"AffiliateEvent"> | string | null
100103
101409
  urlPath?: StringNullableWithAggregatesFilter<"AffiliateEvent"> | string | null
100104
101410
  revenue?: FloatNullableWithAggregatesFilter<"AffiliateEvent"> | number | null
100105
101411
  commissionAmount?: FloatNullableWithAggregatesFilter<"AffiliateEvent"> | number | null
100106
101412
  commissionPercent?: FloatNullableWithAggregatesFilter<"AffiliateEvent"> | number | null
101413
+ platform?: StringNullableWithAggregatesFilter<"AffiliateEvent"> | string | null
101414
+ externalOrderId?: StringNullableWithAggregatesFilter<"AffiliateEvent"> | string | null
100107
101415
  metaData?: JsonWithAggregatesFilter<"AffiliateEvent">
100108
101416
  affiliateClickId?: IntWithAggregatesFilter<"AffiliateEvent"> | number
101417
+ affiliatePayoutBatchId?: IntNullableWithAggregatesFilter<"AffiliateEvent"> | number | null
101418
+ }
101419
+
101420
+ export type AffiliatePayoutBatchWhereInput = {
101421
+ AND?: AffiliatePayoutBatchWhereInput | AffiliatePayoutBatchWhereInput[]
101422
+ OR?: AffiliatePayoutBatchWhereInput[]
101423
+ NOT?: AffiliatePayoutBatchWhereInput | AffiliatePayoutBatchWhereInput[]
101424
+ id?: IntFilter<"AffiliatePayoutBatch"> | number
101425
+ createdAt?: DateTimeFilter<"AffiliatePayoutBatch"> | Date | string
101426
+ updatedAt?: DateTimeFilter<"AffiliatePayoutBatch"> | Date | string
101427
+ metaData?: JsonFilter<"AffiliatePayoutBatch">
101428
+ trolleyBatchId?: StringNullableFilter<"AffiliatePayoutBatch"> | string | null
101429
+ userId?: IntFilter<"AffiliatePayoutBatch"> | number
101430
+ user?: XOR<UserRelationFilter, UserWhereInput>
101431
+ affiliateEvents?: AffiliateEventListRelationFilter
101432
+ }
101433
+
101434
+ export type AffiliatePayoutBatchOrderByWithRelationAndSearchRelevanceInput = {
101435
+ id?: SortOrder
101436
+ createdAt?: SortOrder
101437
+ updatedAt?: SortOrder
101438
+ metaData?: SortOrder
101439
+ trolleyBatchId?: SortOrderInput | SortOrder
101440
+ userId?: SortOrder
101441
+ user?: UserOrderByWithRelationAndSearchRelevanceInput
101442
+ affiliateEvents?: AffiliateEventOrderByRelationAggregateInput
101443
+ _relevance?: AffiliatePayoutBatchOrderByRelevanceInput
101444
+ }
101445
+
101446
+ export type AffiliatePayoutBatchWhereUniqueInput = Prisma.AtLeast<{
101447
+ id?: number
101448
+ trolleyBatchId?: string
101449
+ AND?: AffiliatePayoutBatchWhereInput | AffiliatePayoutBatchWhereInput[]
101450
+ OR?: AffiliatePayoutBatchWhereInput[]
101451
+ NOT?: AffiliatePayoutBatchWhereInput | AffiliatePayoutBatchWhereInput[]
101452
+ createdAt?: DateTimeFilter<"AffiliatePayoutBatch"> | Date | string
101453
+ updatedAt?: DateTimeFilter<"AffiliatePayoutBatch"> | Date | string
101454
+ metaData?: JsonFilter<"AffiliatePayoutBatch">
101455
+ userId?: IntFilter<"AffiliatePayoutBatch"> | number
101456
+ user?: XOR<UserRelationFilter, UserWhereInput>
101457
+ affiliateEvents?: AffiliateEventListRelationFilter
101458
+ }, "id" | "trolleyBatchId">
101459
+
101460
+ export type AffiliatePayoutBatchOrderByWithAggregationInput = {
101461
+ id?: SortOrder
101462
+ createdAt?: SortOrder
101463
+ updatedAt?: SortOrder
101464
+ metaData?: SortOrder
101465
+ trolleyBatchId?: SortOrderInput | SortOrder
101466
+ userId?: SortOrder
101467
+ _count?: AffiliatePayoutBatchCountOrderByAggregateInput
101468
+ _avg?: AffiliatePayoutBatchAvgOrderByAggregateInput
101469
+ _max?: AffiliatePayoutBatchMaxOrderByAggregateInput
101470
+ _min?: AffiliatePayoutBatchMinOrderByAggregateInput
101471
+ _sum?: AffiliatePayoutBatchSumOrderByAggregateInput
101472
+ }
101473
+
101474
+ export type AffiliatePayoutBatchScalarWhereWithAggregatesInput = {
101475
+ AND?: AffiliatePayoutBatchScalarWhereWithAggregatesInput | AffiliatePayoutBatchScalarWhereWithAggregatesInput[]
101476
+ OR?: AffiliatePayoutBatchScalarWhereWithAggregatesInput[]
101477
+ NOT?: AffiliatePayoutBatchScalarWhereWithAggregatesInput | AffiliatePayoutBatchScalarWhereWithAggregatesInput[]
101478
+ id?: IntWithAggregatesFilter<"AffiliatePayoutBatch"> | number
101479
+ createdAt?: DateTimeWithAggregatesFilter<"AffiliatePayoutBatch"> | Date | string
101480
+ updatedAt?: DateTimeWithAggregatesFilter<"AffiliatePayoutBatch"> | Date | string
101481
+ metaData?: JsonWithAggregatesFilter<"AffiliatePayoutBatch">
101482
+ trolleyBatchId?: StringNullableWithAggregatesFilter<"AffiliatePayoutBatch"> | string | null
101483
+ userId?: IntWithAggregatesFilter<"AffiliatePayoutBatch"> | number
100109
101484
  }
100110
101485
 
100111
101486
  export type SavedFileWhereInput = {
@@ -102110,6 +103485,7 @@ export namespace Prisma {
102110
103485
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
102111
103486
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
102112
103487
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
103488
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
102113
103489
  }
102114
103490
 
102115
103491
  export type UserUncheckedCreateInput = {
@@ -102159,6 +103535,7 @@ export namespace Prisma {
102159
103535
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
102160
103536
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
102161
103537
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
103538
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
102162
103539
  }
102163
103540
 
102164
103541
  export type UserUpdateInput = {
@@ -102207,6 +103584,7 @@ export namespace Prisma {
102207
103584
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
102208
103585
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
102209
103586
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
103587
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
102210
103588
  }
102211
103589
 
102212
103590
  export type UserUncheckedUpdateInput = {
@@ -102256,6 +103634,7 @@ export namespace Prisma {
102256
103634
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
102257
103635
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
102258
103636
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
103637
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
102259
103638
  }
102260
103639
 
102261
103640
  export type UserCreateManyInput = {
@@ -106690,74 +108069,97 @@ export namespace Prisma {
106690
108069
  export type AffiliateEventCreateInput = {
106691
108070
  event: string
106692
108071
  created?: Date | string
108072
+ updatedAt?: Date | string | null
106693
108073
  visitorIp?: string | null
106694
108074
  urlPath?: string | null
106695
108075
  revenue?: number | null
106696
108076
  commissionAmount?: number | null
106697
108077
  commissionPercent?: number | null
108078
+ platform?: string | null
108079
+ externalOrderId?: string | null
106698
108080
  metaData?: JsonNullValueInput | InputJsonValue
106699
108081
  affiliateClick?: AffiliateClickCreateNestedOneWithoutAffiliateEventInput
108082
+ affiliatePayoutBatch?: AffiliatePayoutBatchCreateNestedOneWithoutAffiliateEventsInput
106700
108083
  }
106701
108084
 
106702
108085
  export type AffiliateEventUncheckedCreateInput = {
106703
108086
  id?: number
106704
108087
  event: string
106705
108088
  created?: Date | string
108089
+ updatedAt?: Date | string | null
106706
108090
  visitorIp?: string | null
106707
108091
  urlPath?: string | null
106708
108092
  revenue?: number | null
106709
108093
  commissionAmount?: number | null
106710
108094
  commissionPercent?: number | null
108095
+ platform?: string | null
108096
+ externalOrderId?: string | null
106711
108097
  metaData?: JsonNullValueInput | InputJsonValue
106712
108098
  affiliateClickId: number
108099
+ affiliatePayoutBatchId?: number | null
106713
108100
  }
106714
108101
 
106715
108102
  export type AffiliateEventUpdateInput = {
106716
108103
  event?: StringFieldUpdateOperationsInput | string
106717
108104
  created?: DateTimeFieldUpdateOperationsInput | Date | string
108105
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
106718
108106
  visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
106719
108107
  urlPath?: NullableStringFieldUpdateOperationsInput | string | null
106720
108108
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
106721
108109
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
106722
108110
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
108111
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
108112
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
106723
108113
  metaData?: JsonNullValueInput | InputJsonValue
106724
108114
  affiliateClick?: AffiliateClickUpdateOneWithoutAffiliateEventNestedInput
108115
+ affiliatePayoutBatch?: AffiliatePayoutBatchUpdateOneWithoutAffiliateEventsNestedInput
106725
108116
  }
106726
108117
 
106727
108118
  export type AffiliateEventUncheckedUpdateInput = {
106728
108119
  id?: IntFieldUpdateOperationsInput | number
106729
108120
  event?: StringFieldUpdateOperationsInput | string
106730
108121
  created?: DateTimeFieldUpdateOperationsInput | Date | string
108122
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
106731
108123
  visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
106732
108124
  urlPath?: NullableStringFieldUpdateOperationsInput | string | null
106733
108125
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
106734
108126
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
106735
108127
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
108128
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
108129
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
106736
108130
  metaData?: JsonNullValueInput | InputJsonValue
106737
108131
  affiliateClickId?: IntFieldUpdateOperationsInput | number
108132
+ affiliatePayoutBatchId?: NullableIntFieldUpdateOperationsInput | number | null
106738
108133
  }
106739
108134
 
106740
108135
  export type AffiliateEventCreateManyInput = {
106741
108136
  id?: number
106742
108137
  event: string
106743
108138
  created?: Date | string
108139
+ updatedAt?: Date | string | null
106744
108140
  visitorIp?: string | null
106745
108141
  urlPath?: string | null
106746
108142
  revenue?: number | null
106747
108143
  commissionAmount?: number | null
106748
108144
  commissionPercent?: number | null
108145
+ platform?: string | null
108146
+ externalOrderId?: string | null
106749
108147
  metaData?: JsonNullValueInput | InputJsonValue
106750
108148
  affiliateClickId: number
108149
+ affiliatePayoutBatchId?: number | null
106751
108150
  }
106752
108151
 
106753
108152
  export type AffiliateEventUpdateManyMutationInput = {
106754
108153
  event?: StringFieldUpdateOperationsInput | string
106755
108154
  created?: DateTimeFieldUpdateOperationsInput | Date | string
108155
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
106756
108156
  visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
106757
108157
  urlPath?: NullableStringFieldUpdateOperationsInput | string | null
106758
108158
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
106759
108159
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
106760
108160
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
108161
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
108162
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
106761
108163
  metaData?: JsonNullValueInput | InputJsonValue
106762
108164
  }
106763
108165
 
@@ -106765,13 +108167,80 @@ export namespace Prisma {
106765
108167
  id?: IntFieldUpdateOperationsInput | number
106766
108168
  event?: StringFieldUpdateOperationsInput | string
106767
108169
  created?: DateTimeFieldUpdateOperationsInput | Date | string
108170
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
106768
108171
  visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
106769
108172
  urlPath?: NullableStringFieldUpdateOperationsInput | string | null
106770
108173
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
106771
108174
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
106772
108175
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
108176
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
108177
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
106773
108178
  metaData?: JsonNullValueInput | InputJsonValue
106774
108179
  affiliateClickId?: IntFieldUpdateOperationsInput | number
108180
+ affiliatePayoutBatchId?: NullableIntFieldUpdateOperationsInput | number | null
108181
+ }
108182
+
108183
+ export type AffiliatePayoutBatchCreateInput = {
108184
+ createdAt?: Date | string
108185
+ updatedAt?: Date | string
108186
+ metaData?: JsonNullValueInput | InputJsonValue
108187
+ trolleyBatchId?: string | null
108188
+ user: UserCreateNestedOneWithoutAffiliatePayoutBatchesInput
108189
+ affiliateEvents?: AffiliateEventCreateNestedManyWithoutAffiliatePayoutBatchInput
108190
+ }
108191
+
108192
+ export type AffiliatePayoutBatchUncheckedCreateInput = {
108193
+ id?: number
108194
+ createdAt?: Date | string
108195
+ updatedAt?: Date | string
108196
+ metaData?: JsonNullValueInput | InputJsonValue
108197
+ trolleyBatchId?: string | null
108198
+ userId: number
108199
+ affiliateEvents?: AffiliateEventUncheckedCreateNestedManyWithoutAffiliatePayoutBatchInput
108200
+ }
108201
+
108202
+ export type AffiliatePayoutBatchUpdateInput = {
108203
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
108204
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
108205
+ metaData?: JsonNullValueInput | InputJsonValue
108206
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
108207
+ user?: UserUpdateOneRequiredWithoutAffiliatePayoutBatchesNestedInput
108208
+ affiliateEvents?: AffiliateEventUpdateManyWithoutAffiliatePayoutBatchNestedInput
108209
+ }
108210
+
108211
+ export type AffiliatePayoutBatchUncheckedUpdateInput = {
108212
+ id?: IntFieldUpdateOperationsInput | number
108213
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
108214
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
108215
+ metaData?: JsonNullValueInput | InputJsonValue
108216
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
108217
+ userId?: IntFieldUpdateOperationsInput | number
108218
+ affiliateEvents?: AffiliateEventUncheckedUpdateManyWithoutAffiliatePayoutBatchNestedInput
108219
+ }
108220
+
108221
+ export type AffiliatePayoutBatchCreateManyInput = {
108222
+ id?: number
108223
+ createdAt?: Date | string
108224
+ updatedAt?: Date | string
108225
+ metaData?: JsonNullValueInput | InputJsonValue
108226
+ trolleyBatchId?: string | null
108227
+ userId: number
108228
+ }
108229
+
108230
+ export type AffiliatePayoutBatchUpdateManyMutationInput = {
108231
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
108232
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
108233
+ metaData?: JsonNullValueInput | InputJsonValue
108234
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
108235
+ }
108236
+
108237
+ export type AffiliatePayoutBatchUncheckedUpdateManyInput = {
108238
+ id?: IntFieldUpdateOperationsInput | number
108239
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
108240
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
108241
+ metaData?: JsonNullValueInput | InputJsonValue
108242
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
108243
+ userId?: IntFieldUpdateOperationsInput | number
106775
108244
  }
106776
108245
 
106777
108246
  export type SavedFileCreateInput = {
@@ -108858,6 +110327,12 @@ export namespace Prisma {
108858
110327
  none?: CreatorFlagWhereInput
108859
110328
  }
108860
110329
 
110330
+ export type AffiliatePayoutBatchListRelationFilter = {
110331
+ every?: AffiliatePayoutBatchWhereInput
110332
+ some?: AffiliatePayoutBatchWhereInput
110333
+ none?: AffiliatePayoutBatchWhereInput
110334
+ }
110335
+
108861
110336
  export type SortOrderInput = {
108862
110337
  sort: SortOrder
108863
110338
  nulls?: NullsOrder
@@ -108923,6 +110398,10 @@ export namespace Prisma {
108923
110398
  _count?: SortOrder
108924
110399
  }
108925
110400
 
110401
+ export type AffiliatePayoutBatchOrderByRelationAggregateInput = {
110402
+ _count?: SortOrder
110403
+ }
110404
+
108926
110405
  export type UserOrderByRelevanceInput = {
108927
110406
  fields: UserOrderByRelevanceFieldEnum | UserOrderByRelevanceFieldEnum[]
108928
110407
  sort: SortOrder
@@ -112543,23 +114022,37 @@ export namespace Prisma {
112543
114022
  isNot?: AffiliateClickWhereInput | null
112544
114023
  }
112545
114024
 
114025
+ export type AffiliatePayoutBatchNullableRelationFilter = {
114026
+ is?: AffiliatePayoutBatchWhereInput | null
114027
+ isNot?: AffiliatePayoutBatchWhereInput | null
114028
+ }
114029
+
112546
114030
  export type AffiliateEventOrderByRelevanceInput = {
112547
114031
  fields: AffiliateEventOrderByRelevanceFieldEnum | AffiliateEventOrderByRelevanceFieldEnum[]
112548
114032
  sort: SortOrder
112549
114033
  search: string
112550
114034
  }
112551
114035
 
114036
+ export type AffiliateEventPlatformExternalOrderIdCompoundUniqueInput = {
114037
+ platform: string
114038
+ externalOrderId: string
114039
+ }
114040
+
112552
114041
  export type AffiliateEventCountOrderByAggregateInput = {
112553
114042
  id?: SortOrder
112554
114043
  event?: SortOrder
112555
114044
  created?: SortOrder
114045
+ updatedAt?: SortOrder
112556
114046
  visitorIp?: SortOrder
112557
114047
  urlPath?: SortOrder
112558
114048
  revenue?: SortOrder
112559
114049
  commissionAmount?: SortOrder
112560
114050
  commissionPercent?: SortOrder
114051
+ platform?: SortOrder
114052
+ externalOrderId?: SortOrder
112561
114053
  metaData?: SortOrder
112562
114054
  affiliateClickId?: SortOrder
114055
+ affiliatePayoutBatchId?: SortOrder
112563
114056
  }
112564
114057
 
112565
114058
  export type AffiliateEventAvgOrderByAggregateInput = {
@@ -112568,30 +114061,39 @@ export namespace Prisma {
112568
114061
  commissionAmount?: SortOrder
112569
114062
  commissionPercent?: SortOrder
112570
114063
  affiliateClickId?: SortOrder
114064
+ affiliatePayoutBatchId?: SortOrder
112571
114065
  }
112572
114066
 
112573
114067
  export type AffiliateEventMaxOrderByAggregateInput = {
112574
114068
  id?: SortOrder
112575
114069
  event?: SortOrder
112576
114070
  created?: SortOrder
114071
+ updatedAt?: SortOrder
112577
114072
  visitorIp?: SortOrder
112578
114073
  urlPath?: SortOrder
112579
114074
  revenue?: SortOrder
112580
114075
  commissionAmount?: SortOrder
112581
114076
  commissionPercent?: SortOrder
114077
+ platform?: SortOrder
114078
+ externalOrderId?: SortOrder
112582
114079
  affiliateClickId?: SortOrder
114080
+ affiliatePayoutBatchId?: SortOrder
112583
114081
  }
112584
114082
 
112585
114083
  export type AffiliateEventMinOrderByAggregateInput = {
112586
114084
  id?: SortOrder
112587
114085
  event?: SortOrder
112588
114086
  created?: SortOrder
114087
+ updatedAt?: SortOrder
112589
114088
  visitorIp?: SortOrder
112590
114089
  urlPath?: SortOrder
112591
114090
  revenue?: SortOrder
112592
114091
  commissionAmount?: SortOrder
112593
114092
  commissionPercent?: SortOrder
114093
+ platform?: SortOrder
114094
+ externalOrderId?: SortOrder
112594
114095
  affiliateClickId?: SortOrder
114096
+ affiliatePayoutBatchId?: SortOrder
112595
114097
  }
112596
114098
 
112597
114099
  export type AffiliateEventSumOrderByAggregateInput = {
@@ -112600,6 +114102,48 @@ export namespace Prisma {
112600
114102
  commissionAmount?: SortOrder
112601
114103
  commissionPercent?: SortOrder
112602
114104
  affiliateClickId?: SortOrder
114105
+ affiliatePayoutBatchId?: SortOrder
114106
+ }
114107
+
114108
+ export type AffiliatePayoutBatchOrderByRelevanceInput = {
114109
+ fields: AffiliatePayoutBatchOrderByRelevanceFieldEnum | AffiliatePayoutBatchOrderByRelevanceFieldEnum[]
114110
+ sort: SortOrder
114111
+ search: string
114112
+ }
114113
+
114114
+ export type AffiliatePayoutBatchCountOrderByAggregateInput = {
114115
+ id?: SortOrder
114116
+ createdAt?: SortOrder
114117
+ updatedAt?: SortOrder
114118
+ metaData?: SortOrder
114119
+ trolleyBatchId?: SortOrder
114120
+ userId?: SortOrder
114121
+ }
114122
+
114123
+ export type AffiliatePayoutBatchAvgOrderByAggregateInput = {
114124
+ id?: SortOrder
114125
+ userId?: SortOrder
114126
+ }
114127
+
114128
+ export type AffiliatePayoutBatchMaxOrderByAggregateInput = {
114129
+ id?: SortOrder
114130
+ createdAt?: SortOrder
114131
+ updatedAt?: SortOrder
114132
+ trolleyBatchId?: SortOrder
114133
+ userId?: SortOrder
114134
+ }
114135
+
114136
+ export type AffiliatePayoutBatchMinOrderByAggregateInput = {
114137
+ id?: SortOrder
114138
+ createdAt?: SortOrder
114139
+ updatedAt?: SortOrder
114140
+ trolleyBatchId?: SortOrder
114141
+ userId?: SortOrder
114142
+ }
114143
+
114144
+ export type AffiliatePayoutBatchSumOrderByAggregateInput = {
114145
+ id?: SortOrder
114146
+ userId?: SortOrder
112603
114147
  }
112604
114148
 
112605
114149
  export type SavedFileOrderByRelevanceInput = {
@@ -114228,6 +115772,13 @@ export namespace Prisma {
114228
115772
  connect?: CreatorFlagWhereUniqueInput | CreatorFlagWhereUniqueInput[]
114229
115773
  }
114230
115774
 
115775
+ export type AffiliatePayoutBatchCreateNestedManyWithoutUserInput = {
115776
+ create?: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput> | AffiliatePayoutBatchCreateWithoutUserInput[] | AffiliatePayoutBatchUncheckedCreateWithoutUserInput[]
115777
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutUserInput | AffiliatePayoutBatchCreateOrConnectWithoutUserInput[]
115778
+ createMany?: AffiliatePayoutBatchCreateManyUserInputEnvelope
115779
+ connect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
115780
+ }
115781
+
114231
115782
  export type UserUncheckedCreateNestedManyWithoutReferrerInput = {
114232
115783
  create?: XOR<UserCreateWithoutReferrerInput, UserUncheckedCreateWithoutReferrerInput> | UserCreateWithoutReferrerInput[] | UserUncheckedCreateWithoutReferrerInput[]
114233
115784
  connectOrCreate?: UserCreateOrConnectWithoutReferrerInput | UserCreateOrConnectWithoutReferrerInput[]
@@ -114389,6 +115940,13 @@ export namespace Prisma {
114389
115940
  connect?: CreatorFlagWhereUniqueInput | CreatorFlagWhereUniqueInput[]
114390
115941
  }
114391
115942
 
115943
+ export type AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput = {
115944
+ create?: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput> | AffiliatePayoutBatchCreateWithoutUserInput[] | AffiliatePayoutBatchUncheckedCreateWithoutUserInput[]
115945
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutUserInput | AffiliatePayoutBatchCreateOrConnectWithoutUserInput[]
115946
+ createMany?: AffiliatePayoutBatchCreateManyUserInputEnvelope
115947
+ connect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
115948
+ }
115949
+
114392
115950
  export type NullableStringFieldUpdateOperationsInput = {
114393
115951
  set?: string | null
114394
115952
  }
@@ -114731,6 +116289,20 @@ export namespace Prisma {
114731
116289
  deleteMany?: CreatorFlagScalarWhereInput | CreatorFlagScalarWhereInput[]
114732
116290
  }
114733
116291
 
116292
+ export type AffiliatePayoutBatchUpdateManyWithoutUserNestedInput = {
116293
+ create?: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput> | AffiliatePayoutBatchCreateWithoutUserInput[] | AffiliatePayoutBatchUncheckedCreateWithoutUserInput[]
116294
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutUserInput | AffiliatePayoutBatchCreateOrConnectWithoutUserInput[]
116295
+ upsert?: AffiliatePayoutBatchUpsertWithWhereUniqueWithoutUserInput | AffiliatePayoutBatchUpsertWithWhereUniqueWithoutUserInput[]
116296
+ createMany?: AffiliatePayoutBatchCreateManyUserInputEnvelope
116297
+ set?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116298
+ disconnect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116299
+ delete?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116300
+ connect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116301
+ update?: AffiliatePayoutBatchUpdateWithWhereUniqueWithoutUserInput | AffiliatePayoutBatchUpdateWithWhereUniqueWithoutUserInput[]
116302
+ updateMany?: AffiliatePayoutBatchUpdateManyWithWhereWithoutUserInput | AffiliatePayoutBatchUpdateManyWithWhereWithoutUserInput[]
116303
+ deleteMany?: AffiliatePayoutBatchScalarWhereInput | AffiliatePayoutBatchScalarWhereInput[]
116304
+ }
116305
+
114734
116306
  export type IntFieldUpdateOperationsInput = {
114735
116307
  set?: number
114736
116308
  increment?: number
@@ -115047,6 +116619,20 @@ export namespace Prisma {
115047
116619
  deleteMany?: CreatorFlagScalarWhereInput | CreatorFlagScalarWhereInput[]
115048
116620
  }
115049
116621
 
116622
+ export type AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput = {
116623
+ create?: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput> | AffiliatePayoutBatchCreateWithoutUserInput[] | AffiliatePayoutBatchUncheckedCreateWithoutUserInput[]
116624
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutUserInput | AffiliatePayoutBatchCreateOrConnectWithoutUserInput[]
116625
+ upsert?: AffiliatePayoutBatchUpsertWithWhereUniqueWithoutUserInput | AffiliatePayoutBatchUpsertWithWhereUniqueWithoutUserInput[]
116626
+ createMany?: AffiliatePayoutBatchCreateManyUserInputEnvelope
116627
+ set?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116628
+ disconnect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116629
+ delete?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116630
+ connect?: AffiliatePayoutBatchWhereUniqueInput | AffiliatePayoutBatchWhereUniqueInput[]
116631
+ update?: AffiliatePayoutBatchUpdateWithWhereUniqueWithoutUserInput | AffiliatePayoutBatchUpdateWithWhereUniqueWithoutUserInput[]
116632
+ updateMany?: AffiliatePayoutBatchUpdateManyWithWhereWithoutUserInput | AffiliatePayoutBatchUpdateManyWithWhereWithoutUserInput[]
116633
+ deleteMany?: AffiliatePayoutBatchScalarWhereInput | AffiliatePayoutBatchScalarWhereInput[]
116634
+ }
116635
+
115050
116636
  export type UserCreateNestedOneWithoutLogsInput = {
115051
116637
  create?: XOR<UserCreateWithoutLogsInput, UserUncheckedCreateWithoutLogsInput>
115052
116638
  connectOrCreate?: UserCreateOrConnectWithoutLogsInput
@@ -119449,6 +121035,12 @@ export namespace Prisma {
119449
121035
  connect?: AffiliateClickWhereUniqueInput
119450
121036
  }
119451
121037
 
121038
+ export type AffiliatePayoutBatchCreateNestedOneWithoutAffiliateEventsInput = {
121039
+ create?: XOR<AffiliatePayoutBatchCreateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedCreateWithoutAffiliateEventsInput>
121040
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutAffiliateEventsInput
121041
+ connect?: AffiliatePayoutBatchWhereUniqueInput
121042
+ }
121043
+
119452
121044
  export type AffiliateClickUpdateOneWithoutAffiliateEventNestedInput = {
119453
121045
  create?: XOR<AffiliateClickCreateWithoutAffiliateEventInput, AffiliateClickUncheckedCreateWithoutAffiliateEventInput>
119454
121046
  connectOrCreate?: AffiliateClickCreateOrConnectWithoutAffiliateEventInput
@@ -119459,6 +121051,72 @@ export namespace Prisma {
119459
121051
  update?: XOR<XOR<AffiliateClickUpdateToOneWithWhereWithoutAffiliateEventInput, AffiliateClickUpdateWithoutAffiliateEventInput>, AffiliateClickUncheckedUpdateWithoutAffiliateEventInput>
119460
121052
  }
119461
121053
 
121054
+ export type AffiliatePayoutBatchUpdateOneWithoutAffiliateEventsNestedInput = {
121055
+ create?: XOR<AffiliatePayoutBatchCreateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedCreateWithoutAffiliateEventsInput>
121056
+ connectOrCreate?: AffiliatePayoutBatchCreateOrConnectWithoutAffiliateEventsInput
121057
+ upsert?: AffiliatePayoutBatchUpsertWithoutAffiliateEventsInput
121058
+ disconnect?: AffiliatePayoutBatchWhereInput | boolean
121059
+ delete?: AffiliatePayoutBatchWhereInput | boolean
121060
+ connect?: AffiliatePayoutBatchWhereUniqueInput
121061
+ update?: XOR<XOR<AffiliatePayoutBatchUpdateToOneWithWhereWithoutAffiliateEventsInput, AffiliatePayoutBatchUpdateWithoutAffiliateEventsInput>, AffiliatePayoutBatchUncheckedUpdateWithoutAffiliateEventsInput>
121062
+ }
121063
+
121064
+ export type UserCreateNestedOneWithoutAffiliatePayoutBatchesInput = {
121065
+ create?: XOR<UserCreateWithoutAffiliatePayoutBatchesInput, UserUncheckedCreateWithoutAffiliatePayoutBatchesInput>
121066
+ connectOrCreate?: UserCreateOrConnectWithoutAffiliatePayoutBatchesInput
121067
+ connect?: UserWhereUniqueInput
121068
+ }
121069
+
121070
+ export type AffiliateEventCreateNestedManyWithoutAffiliatePayoutBatchInput = {
121071
+ create?: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput> | AffiliateEventCreateWithoutAffiliatePayoutBatchInput[] | AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput[]
121072
+ connectOrCreate?: AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput | AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput[]
121073
+ createMany?: AffiliateEventCreateManyAffiliatePayoutBatchInputEnvelope
121074
+ connect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121075
+ }
121076
+
121077
+ export type AffiliateEventUncheckedCreateNestedManyWithoutAffiliatePayoutBatchInput = {
121078
+ create?: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput> | AffiliateEventCreateWithoutAffiliatePayoutBatchInput[] | AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput[]
121079
+ connectOrCreate?: AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput | AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput[]
121080
+ createMany?: AffiliateEventCreateManyAffiliatePayoutBatchInputEnvelope
121081
+ connect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121082
+ }
121083
+
121084
+ export type UserUpdateOneRequiredWithoutAffiliatePayoutBatchesNestedInput = {
121085
+ create?: XOR<UserCreateWithoutAffiliatePayoutBatchesInput, UserUncheckedCreateWithoutAffiliatePayoutBatchesInput>
121086
+ connectOrCreate?: UserCreateOrConnectWithoutAffiliatePayoutBatchesInput
121087
+ upsert?: UserUpsertWithoutAffiliatePayoutBatchesInput
121088
+ connect?: UserWhereUniqueInput
121089
+ update?: XOR<XOR<UserUpdateToOneWithWhereWithoutAffiliatePayoutBatchesInput, UserUpdateWithoutAffiliatePayoutBatchesInput>, UserUncheckedUpdateWithoutAffiliatePayoutBatchesInput>
121090
+ }
121091
+
121092
+ export type AffiliateEventUpdateManyWithoutAffiliatePayoutBatchNestedInput = {
121093
+ create?: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput> | AffiliateEventCreateWithoutAffiliatePayoutBatchInput[] | AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput[]
121094
+ connectOrCreate?: AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput | AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput[]
121095
+ upsert?: AffiliateEventUpsertWithWhereUniqueWithoutAffiliatePayoutBatchInput | AffiliateEventUpsertWithWhereUniqueWithoutAffiliatePayoutBatchInput[]
121096
+ createMany?: AffiliateEventCreateManyAffiliatePayoutBatchInputEnvelope
121097
+ set?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121098
+ disconnect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121099
+ delete?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121100
+ connect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121101
+ update?: AffiliateEventUpdateWithWhereUniqueWithoutAffiliatePayoutBatchInput | AffiliateEventUpdateWithWhereUniqueWithoutAffiliatePayoutBatchInput[]
121102
+ updateMany?: AffiliateEventUpdateManyWithWhereWithoutAffiliatePayoutBatchInput | AffiliateEventUpdateManyWithWhereWithoutAffiliatePayoutBatchInput[]
121103
+ deleteMany?: AffiliateEventScalarWhereInput | AffiliateEventScalarWhereInput[]
121104
+ }
121105
+
121106
+ export type AffiliateEventUncheckedUpdateManyWithoutAffiliatePayoutBatchNestedInput = {
121107
+ create?: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput> | AffiliateEventCreateWithoutAffiliatePayoutBatchInput[] | AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput[]
121108
+ connectOrCreate?: AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput | AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput[]
121109
+ upsert?: AffiliateEventUpsertWithWhereUniqueWithoutAffiliatePayoutBatchInput | AffiliateEventUpsertWithWhereUniqueWithoutAffiliatePayoutBatchInput[]
121110
+ createMany?: AffiliateEventCreateManyAffiliatePayoutBatchInputEnvelope
121111
+ set?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121112
+ disconnect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121113
+ delete?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121114
+ connect?: AffiliateEventWhereUniqueInput | AffiliateEventWhereUniqueInput[]
121115
+ update?: AffiliateEventUpdateWithWhereUniqueWithoutAffiliatePayoutBatchInput | AffiliateEventUpdateWithWhereUniqueWithoutAffiliatePayoutBatchInput[]
121116
+ updateMany?: AffiliateEventUpdateManyWithWhereWithoutAffiliatePayoutBatchInput | AffiliateEventUpdateManyWithWhereWithoutAffiliatePayoutBatchInput[]
121117
+ deleteMany?: AffiliateEventScalarWhereInput | AffiliateEventScalarWhereInput[]
121118
+ }
121119
+
119462
121120
  export type BrandCreateNestedOneWithoutSavedfilesInput = {
119463
121121
  create?: XOR<BrandCreateWithoutSavedfilesInput, BrandUncheckedCreateWithoutSavedfilesInput>
119464
121122
  connectOrCreate?: BrandCreateOrConnectWithoutSavedfilesInput
@@ -121388,6 +123046,7 @@ export namespace Prisma {
121388
123046
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
121389
123047
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
121390
123048
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
123049
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
121391
123050
  }
121392
123051
 
121393
123052
  export type UserUncheckedCreateWithoutReferredUsersInput = {
@@ -121436,6 +123095,7 @@ export namespace Prisma {
121436
123095
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
121437
123096
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
121438
123097
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
123098
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
121439
123099
  }
121440
123100
 
121441
123101
  export type UserCreateOrConnectWithoutReferredUsersInput = {
@@ -121488,6 +123148,7 @@ export namespace Prisma {
121488
123148
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
121489
123149
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
121490
123150
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
123151
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
121491
123152
  }
121492
123153
 
121493
123154
  export type UserUncheckedCreateWithoutReferrerInput = {
@@ -121536,6 +123197,7 @@ export namespace Prisma {
121536
123197
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
121537
123198
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
121538
123199
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
123200
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
121539
123201
  }
121540
123202
 
121541
123203
  export type UserCreateOrConnectWithoutReferrerInput = {
@@ -122508,6 +124170,33 @@ export namespace Prisma {
122508
124170
  skipDuplicates?: boolean
122509
124171
  }
122510
124172
 
124173
+ export type AffiliatePayoutBatchCreateWithoutUserInput = {
124174
+ createdAt?: Date | string
124175
+ updatedAt?: Date | string
124176
+ metaData?: JsonNullValueInput | InputJsonValue
124177
+ trolleyBatchId?: string | null
124178
+ affiliateEvents?: AffiliateEventCreateNestedManyWithoutAffiliatePayoutBatchInput
124179
+ }
124180
+
124181
+ export type AffiliatePayoutBatchUncheckedCreateWithoutUserInput = {
124182
+ id?: number
124183
+ createdAt?: Date | string
124184
+ updatedAt?: Date | string
124185
+ metaData?: JsonNullValueInput | InputJsonValue
124186
+ trolleyBatchId?: string | null
124187
+ affiliateEvents?: AffiliateEventUncheckedCreateNestedManyWithoutAffiliatePayoutBatchInput
124188
+ }
124189
+
124190
+ export type AffiliatePayoutBatchCreateOrConnectWithoutUserInput = {
124191
+ where: AffiliatePayoutBatchWhereUniqueInput
124192
+ create: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput>
124193
+ }
124194
+
124195
+ export type AffiliatePayoutBatchCreateManyUserInputEnvelope = {
124196
+ data: AffiliatePayoutBatchCreateManyUserInput | AffiliatePayoutBatchCreateManyUserInput[]
124197
+ skipDuplicates?: boolean
124198
+ }
124199
+
122511
124200
  export type UserUpsertWithoutReferredUsersInput = {
122512
124201
  update: XOR<UserUpdateWithoutReferredUsersInput, UserUncheckedUpdateWithoutReferredUsersInput>
122513
124202
  create: XOR<UserCreateWithoutReferredUsersInput, UserUncheckedCreateWithoutReferredUsersInput>
@@ -122564,6 +124253,7 @@ export namespace Prisma {
122564
124253
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
122565
124254
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
122566
124255
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
124256
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
122567
124257
  }
122568
124258
 
122569
124259
  export type UserUncheckedUpdateWithoutReferredUsersInput = {
@@ -122612,6 +124302,7 @@ export namespace Prisma {
122612
124302
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
122613
124303
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
122614
124304
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
124305
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
122615
124306
  }
122616
124307
 
122617
124308
  export type UserUpsertWithWhereUniqueWithoutReferrerInput = {
@@ -123513,6 +125204,34 @@ export namespace Prisma {
123513
125204
  data: XOR<CreatorFlagUpdateManyMutationInput, CreatorFlagUncheckedUpdateManyWithoutEditedByUserInput>
123514
125205
  }
123515
125206
 
125207
+ export type AffiliatePayoutBatchUpsertWithWhereUniqueWithoutUserInput = {
125208
+ where: AffiliatePayoutBatchWhereUniqueInput
125209
+ update: XOR<AffiliatePayoutBatchUpdateWithoutUserInput, AffiliatePayoutBatchUncheckedUpdateWithoutUserInput>
125210
+ create: XOR<AffiliatePayoutBatchCreateWithoutUserInput, AffiliatePayoutBatchUncheckedCreateWithoutUserInput>
125211
+ }
125212
+
125213
+ export type AffiliatePayoutBatchUpdateWithWhereUniqueWithoutUserInput = {
125214
+ where: AffiliatePayoutBatchWhereUniqueInput
125215
+ data: XOR<AffiliatePayoutBatchUpdateWithoutUserInput, AffiliatePayoutBatchUncheckedUpdateWithoutUserInput>
125216
+ }
125217
+
125218
+ export type AffiliatePayoutBatchUpdateManyWithWhereWithoutUserInput = {
125219
+ where: AffiliatePayoutBatchScalarWhereInput
125220
+ data: XOR<AffiliatePayoutBatchUpdateManyMutationInput, AffiliatePayoutBatchUncheckedUpdateManyWithoutUserInput>
125221
+ }
125222
+
125223
+ export type AffiliatePayoutBatchScalarWhereInput = {
125224
+ AND?: AffiliatePayoutBatchScalarWhereInput | AffiliatePayoutBatchScalarWhereInput[]
125225
+ OR?: AffiliatePayoutBatchScalarWhereInput[]
125226
+ NOT?: AffiliatePayoutBatchScalarWhereInput | AffiliatePayoutBatchScalarWhereInput[]
125227
+ id?: IntFilter<"AffiliatePayoutBatch"> | number
125228
+ createdAt?: DateTimeFilter<"AffiliatePayoutBatch"> | Date | string
125229
+ updatedAt?: DateTimeFilter<"AffiliatePayoutBatch"> | Date | string
125230
+ metaData?: JsonFilter<"AffiliatePayoutBatch">
125231
+ trolleyBatchId?: StringNullableFilter<"AffiliatePayoutBatch"> | string | null
125232
+ userId?: IntFilter<"AffiliatePayoutBatch"> | number
125233
+ }
125234
+
123516
125235
  export type UserCreateWithoutLogsInput = {
123517
125236
  idmId?: string | null
123518
125237
  role: string
@@ -123558,6 +125277,7 @@ export namespace Prisma {
123558
125277
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
123559
125278
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
123560
125279
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
125280
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
123561
125281
  }
123562
125282
 
123563
125283
  export type UserUncheckedCreateWithoutLogsInput = {
@@ -123606,6 +125326,7 @@ export namespace Prisma {
123606
125326
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
123607
125327
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
123608
125328
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
125329
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
123609
125330
  }
123610
125331
 
123611
125332
  export type UserCreateOrConnectWithoutLogsInput = {
@@ -123669,6 +125390,7 @@ export namespace Prisma {
123669
125390
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
123670
125391
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
123671
125392
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
125393
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
123672
125394
  }
123673
125395
 
123674
125396
  export type UserUncheckedUpdateWithoutLogsInput = {
@@ -123717,6 +125439,7 @@ export namespace Prisma {
123717
125439
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
123718
125440
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
123719
125441
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
125442
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
123720
125443
  }
123721
125444
 
123722
125445
  export type CreatorToCategoryCreateWithoutCreatorProfileInput = {
@@ -123782,6 +125505,7 @@ export namespace Prisma {
123782
125505
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
123783
125506
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
123784
125507
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
125508
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
123785
125509
  }
123786
125510
 
123787
125511
  export type UserUncheckedCreateWithoutCreatorProfileInput = {
@@ -123830,6 +125554,7 @@ export namespace Prisma {
123830
125554
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
123831
125555
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
123832
125556
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
125557
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
123833
125558
  }
123834
125559
 
123835
125560
  export type UserCreateOrConnectWithoutCreatorProfileInput = {
@@ -123917,6 +125642,7 @@ export namespace Prisma {
123917
125642
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
123918
125643
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
123919
125644
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
125645
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
123920
125646
  }
123921
125647
 
123922
125648
  export type UserUncheckedUpdateWithoutCreatorProfileInput = {
@@ -123965,6 +125691,7 @@ export namespace Prisma {
123965
125691
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
123966
125692
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
123967
125693
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
125694
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
123968
125695
  }
123969
125696
 
123970
125697
  export type UserCreateWithoutInstagramProfileInput = {
@@ -124012,6 +125739,7 @@ export namespace Prisma {
124012
125739
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
124013
125740
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
124014
125741
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
125742
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
124015
125743
  }
124016
125744
 
124017
125745
  export type UserUncheckedCreateWithoutInstagramProfileInput = {
@@ -124060,6 +125788,7 @@ export namespace Prisma {
124060
125788
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
124061
125789
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
124062
125790
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
125791
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
124063
125792
  }
124064
125793
 
124065
125794
  export type UserCreateOrConnectWithoutInstagramProfileInput = {
@@ -124207,6 +125936,7 @@ export namespace Prisma {
124207
125936
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
124208
125937
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
124209
125938
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
125939
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
124210
125940
  }
124211
125941
 
124212
125942
  export type UserUncheckedUpdateWithoutInstagramProfileInput = {
@@ -124255,6 +125985,7 @@ export namespace Prisma {
124255
125985
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
124256
125986
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
124257
125987
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
125988
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
124258
125989
  }
124259
125990
 
124260
125991
  export type BrandUpsertWithoutInstagramProfileInput = {
@@ -124392,6 +126123,7 @@ export namespace Prisma {
124392
126123
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
124393
126124
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
124394
126125
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
126126
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
124395
126127
  }
124396
126128
 
124397
126129
  export type UserUncheckedCreateWithoutTiktokProfileInput = {
@@ -124440,6 +126172,7 @@ export namespace Prisma {
124440
126172
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
124441
126173
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
124442
126174
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
126175
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
124443
126176
  }
124444
126177
 
124445
126178
  export type UserCreateOrConnectWithoutTiktokProfileInput = {
@@ -124587,6 +126320,7 @@ export namespace Prisma {
124587
126320
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
124588
126321
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
124589
126322
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
126323
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
124590
126324
  }
124591
126325
 
124592
126326
  export type UserUncheckedUpdateWithoutTiktokProfileInput = {
@@ -124635,6 +126369,7 @@ export namespace Prisma {
124635
126369
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
124636
126370
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
124637
126371
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
126372
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
124638
126373
  }
124639
126374
 
124640
126375
  export type BrandUpsertWithoutTiktokProfileInput = {
@@ -124772,6 +126507,7 @@ export namespace Prisma {
124772
126507
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
124773
126508
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
124774
126509
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
126510
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
124775
126511
  }
124776
126512
 
124777
126513
  export type UserUncheckedCreateWithoutYoutubeProfileInput = {
@@ -124820,6 +126556,7 @@ export namespace Prisma {
124820
126556
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
124821
126557
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
124822
126558
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
126559
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
124823
126560
  }
124824
126561
 
124825
126562
  export type UserCreateOrConnectWithoutYoutubeProfileInput = {
@@ -124967,6 +126704,7 @@ export namespace Prisma {
124967
126704
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
124968
126705
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
124969
126706
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
126707
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
124970
126708
  }
124971
126709
 
124972
126710
  export type UserUncheckedUpdateWithoutYoutubeProfileInput = {
@@ -125015,6 +126753,7 @@ export namespace Prisma {
125015
126753
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
125016
126754
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
125017
126755
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
126756
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
125018
126757
  }
125019
126758
 
125020
126759
  export type BrandUpsertWithoutYoutubeProfileInput = {
@@ -125152,6 +126891,7 @@ export namespace Prisma {
125152
126891
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
125153
126892
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
125154
126893
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
126894
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
125155
126895
  }
125156
126896
 
125157
126897
  export type UserUncheckedCreateWithoutTwitchProfileInput = {
@@ -125200,6 +126940,7 @@ export namespace Prisma {
125200
126940
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
125201
126941
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
125202
126942
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
126943
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
125203
126944
  }
125204
126945
 
125205
126946
  export type UserCreateOrConnectWithoutTwitchProfileInput = {
@@ -125263,6 +127004,7 @@ export namespace Prisma {
125263
127004
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
125264
127005
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
125265
127006
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
127007
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
125266
127008
  }
125267
127009
 
125268
127010
  export type UserUncheckedUpdateWithoutTwitchProfileInput = {
@@ -125311,6 +127053,7 @@ export namespace Prisma {
125311
127053
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
125312
127054
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
125313
127055
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
127056
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
125314
127057
  }
125315
127058
 
125316
127059
  export type UserCreateWithoutFacebookProfileInput = {
@@ -125358,6 +127101,7 @@ export namespace Prisma {
125358
127101
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
125359
127102
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
125360
127103
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
127104
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
125361
127105
  }
125362
127106
 
125363
127107
  export type UserUncheckedCreateWithoutFacebookProfileInput = {
@@ -125406,6 +127150,7 @@ export namespace Prisma {
125406
127150
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
125407
127151
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
125408
127152
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
127153
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
125409
127154
  }
125410
127155
 
125411
127156
  export type UserCreateOrConnectWithoutFacebookProfileInput = {
@@ -125469,6 +127214,7 @@ export namespace Prisma {
125469
127214
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
125470
127215
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
125471
127216
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
127217
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
125472
127218
  }
125473
127219
 
125474
127220
  export type UserUncheckedUpdateWithoutFacebookProfileInput = {
@@ -125517,6 +127263,7 @@ export namespace Prisma {
125517
127263
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
125518
127264
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
125519
127265
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
127266
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
125520
127267
  }
125521
127268
 
125522
127269
  export type UserCreateWithoutTwitterProfileInput = {
@@ -125564,6 +127311,7 @@ export namespace Prisma {
125564
127311
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
125565
127312
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
125566
127313
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
127314
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
125567
127315
  }
125568
127316
 
125569
127317
  export type UserUncheckedCreateWithoutTwitterProfileInput = {
@@ -125612,6 +127360,7 @@ export namespace Prisma {
125612
127360
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
125613
127361
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
125614
127362
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
127363
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
125615
127364
  }
125616
127365
 
125617
127366
  export type UserCreateOrConnectWithoutTwitterProfileInput = {
@@ -125675,6 +127424,7 @@ export namespace Prisma {
125675
127424
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
125676
127425
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
125677
127426
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
127427
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
125678
127428
  }
125679
127429
 
125680
127430
  export type UserUncheckedUpdateWithoutTwitterProfileInput = {
@@ -125723,6 +127473,7 @@ export namespace Prisma {
125723
127473
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
125724
127474
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
125725
127475
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
127476
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
125726
127477
  }
125727
127478
 
125728
127479
  export type UserCreateWithoutBrandProfilesInput = {
@@ -125770,6 +127521,7 @@ export namespace Prisma {
125770
127521
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
125771
127522
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
125772
127523
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
127524
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
125773
127525
  }
125774
127526
 
125775
127527
  export type UserUncheckedCreateWithoutBrandProfilesInput = {
@@ -125818,6 +127570,7 @@ export namespace Prisma {
125818
127570
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
125819
127571
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
125820
127572
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
127573
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
125821
127574
  }
125822
127575
 
125823
127576
  export type UserCreateOrConnectWithoutBrandProfilesInput = {
@@ -125965,6 +127718,7 @@ export namespace Prisma {
125965
127718
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
125966
127719
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
125967
127720
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
127721
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
125968
127722
  }
125969
127723
 
125970
127724
  export type UserUncheckedUpdateWithoutBrandProfilesInput = {
@@ -126013,6 +127767,7 @@ export namespace Prisma {
126013
127767
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
126014
127768
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
126015
127769
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
127770
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
126016
127771
  }
126017
127772
 
126018
127773
  export type BrandUpsertWithoutBrandUsersInput = {
@@ -126150,6 +127905,7 @@ export namespace Prisma {
126150
127905
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
126151
127906
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
126152
127907
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
127908
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
126153
127909
  }
126154
127910
 
126155
127911
  export type UserUncheckedCreateWithoutAssignedBrandsInput = {
@@ -126198,6 +127954,7 @@ export namespace Prisma {
126198
127954
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
126199
127955
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
126200
127956
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
127957
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
126201
127958
  }
126202
127959
 
126203
127960
  export type UserCreateOrConnectWithoutAssignedBrandsInput = {
@@ -127309,6 +129066,7 @@ export namespace Prisma {
127309
129066
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
127310
129067
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
127311
129068
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
129069
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
127312
129070
  }
127313
129071
 
127314
129072
  export type UserUncheckedUpdateWithoutAssignedBrandsInput = {
@@ -127357,6 +129115,7 @@ export namespace Prisma {
127357
129115
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
127358
129116
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
127359
129117
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
129118
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
127360
129119
  }
127361
129120
 
127362
129121
  export type InstagramProfileUpsertWithoutBrandInput = {
@@ -129629,6 +131388,7 @@ export namespace Prisma {
129629
131388
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
129630
131389
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
129631
131390
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
131391
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
129632
131392
  }
129633
131393
 
129634
131394
  export type UserUncheckedCreateWithoutMessagesInput = {
@@ -129677,6 +131437,7 @@ export namespace Prisma {
129677
131437
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
129678
131438
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
129679
131439
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
131440
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
129680
131441
  }
129681
131442
 
129682
131443
  export type UserCreateOrConnectWithoutMessagesInput = {
@@ -129760,6 +131521,7 @@ export namespace Prisma {
129760
131521
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
129761
131522
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
129762
131523
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
131524
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
129763
131525
  }
129764
131526
 
129765
131527
  export type UserUncheckedUpdateWithoutMessagesInput = {
@@ -129808,6 +131570,7 @@ export namespace Prisma {
129808
131570
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
129809
131571
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
129810
131572
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
131573
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
129811
131574
  }
129812
131575
 
129813
131576
  export type ChatUpsertWithoutMessagesInput = {
@@ -130974,6 +132737,7 @@ export namespace Prisma {
130974
132737
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
130975
132738
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
130976
132739
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
132740
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
130977
132741
  }
130978
132742
 
130979
132743
  export type UserUncheckedCreateWithoutCampaignPinsInput = {
@@ -131022,6 +132786,7 @@ export namespace Prisma {
131022
132786
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
131023
132787
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
131024
132788
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
132789
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
131025
132790
  }
131026
132791
 
131027
132792
  export type UserCreateOrConnectWithoutCampaignPinsInput = {
@@ -131233,6 +132998,7 @@ export namespace Prisma {
131233
132998
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
131234
132999
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
131235
133000
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
133001
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
131236
133002
  }
131237
133003
 
131238
133004
  export type UserUncheckedUpdateWithoutCampaignPinsInput = {
@@ -131281,6 +133047,7 @@ export namespace Prisma {
131281
133047
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
131282
133048
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
131283
133049
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
133050
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
131284
133051
  }
131285
133052
 
131286
133053
  export type CampaignUpsertWithoutCampaignPinsInput = {
@@ -135159,6 +136926,7 @@ export namespace Prisma {
135159
136926
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
135160
136927
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
135161
136928
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
136929
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
135162
136930
  }
135163
136931
 
135164
136932
  export type UserUncheckedCreateWithoutOptInsInput = {
@@ -135207,6 +136975,7 @@ export namespace Prisma {
135207
136975
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
135208
136976
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
135209
136977
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
136978
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
135210
136979
  }
135211
136980
 
135212
136981
  export type UserCreateOrConnectWithoutOptInsInput = {
@@ -135768,6 +137537,7 @@ export namespace Prisma {
135768
137537
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
135769
137538
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
135770
137539
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
137540
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
135771
137541
  }
135772
137542
 
135773
137543
  export type UserUncheckedUpdateWithoutOptInsInput = {
@@ -135816,6 +137586,7 @@ export namespace Prisma {
135816
137586
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
135817
137587
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
135818
137588
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
137589
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
135819
137590
  }
135820
137591
 
135821
137592
  export type CampaignUpsertWithoutOptInsInput = {
@@ -136703,6 +138474,7 @@ export namespace Prisma {
136703
138474
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
136704
138475
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
136705
138476
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
138477
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
136706
138478
  }
136707
138479
 
136708
138480
  export type UserUncheckedCreateWithoutSocialPostsInput = {
@@ -136751,6 +138523,7 @@ export namespace Prisma {
136751
138523
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
136752
138524
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
136753
138525
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
138526
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
136754
138527
  }
136755
138528
 
136756
138529
  export type UserCreateOrConnectWithoutSocialPostsInput = {
@@ -137005,6 +138778,7 @@ export namespace Prisma {
137005
138778
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
137006
138779
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
137007
138780
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
138781
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
137008
138782
  }
137009
138783
 
137010
138784
  export type UserUncheckedUpdateWithoutSocialPostsInput = {
@@ -137053,6 +138827,7 @@ export namespace Prisma {
137053
138827
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
137054
138828
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
137055
138829
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
138830
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
137056
138831
  }
137057
138832
 
137058
138833
  export type CampaignUpsertWithoutSocialPostsInput = {
@@ -138046,6 +139821,7 @@ export namespace Prisma {
138046
139821
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
138047
139822
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
138048
139823
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
139824
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
138049
139825
  }
138050
139826
 
138051
139827
  export type UserUncheckedCreateWithoutPaymentTransactionsInput = {
@@ -138094,6 +139870,7 @@ export namespace Prisma {
138094
139870
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
138095
139871
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
138096
139872
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
139873
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
138097
139874
  }
138098
139875
 
138099
139876
  export type UserCreateOrConnectWithoutPaymentTransactionsInput = {
@@ -138311,6 +140088,7 @@ export namespace Prisma {
138311
140088
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
138312
140089
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
138313
140090
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
140091
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
138314
140092
  }
138315
140093
 
138316
140094
  export type UserUncheckedUpdateWithoutPaymentTransactionsInput = {
@@ -138359,6 +140137,7 @@ export namespace Prisma {
138359
140137
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
138360
140138
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
138361
140139
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
140140
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
138362
140141
  }
138363
140142
 
138364
140143
  export type PaymentTransactionUpsertWithoutNextTransactionInput = {
@@ -139212,6 +140991,7 @@ export namespace Prisma {
139212
140991
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
139213
140992
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
139214
140993
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
140994
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
139215
140995
  }
139216
140996
 
139217
140997
  export type UserUncheckedCreateWithoutAffiliateLinksInput = {
@@ -139260,6 +141040,7 @@ export namespace Prisma {
139260
141040
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
139261
141041
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
139262
141042
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
141043
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
139263
141044
  }
139264
141045
 
139265
141046
  export type UserCreateOrConnectWithoutAffiliateLinksInput = {
@@ -139365,6 +141146,7 @@ export namespace Prisma {
139365
141146
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
139366
141147
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
139367
141148
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
141149
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
139368
141150
  }
139369
141151
 
139370
141152
  export type UserUncheckedUpdateWithoutAffiliateLinksInput = {
@@ -139413,6 +141195,7 @@ export namespace Prisma {
139413
141195
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
139414
141196
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
139415
141197
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
141198
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
139416
141199
  }
139417
141200
 
139418
141201
  export type BrandAffiliateLinkUpsertWithoutAffiliateLinksInput = {
@@ -139542,24 +141325,32 @@ export namespace Prisma {
139542
141325
  export type AffiliateEventCreateWithoutAffiliateClickInput = {
139543
141326
  event: string
139544
141327
  created?: Date | string
141328
+ updatedAt?: Date | string | null
139545
141329
  visitorIp?: string | null
139546
141330
  urlPath?: string | null
139547
141331
  revenue?: number | null
139548
141332
  commissionAmount?: number | null
139549
141333
  commissionPercent?: number | null
141334
+ platform?: string | null
141335
+ externalOrderId?: string | null
139550
141336
  metaData?: JsonNullValueInput | InputJsonValue
141337
+ affiliatePayoutBatch?: AffiliatePayoutBatchCreateNestedOneWithoutAffiliateEventsInput
139551
141338
  }
139552
141339
 
139553
141340
  export type AffiliateEventUncheckedCreateWithoutAffiliateClickInput = {
139554
141341
  id?: number
139555
141342
  event: string
139556
141343
  created?: Date | string
141344
+ updatedAt?: Date | string | null
139557
141345
  visitorIp?: string | null
139558
141346
  urlPath?: string | null
139559
141347
  revenue?: number | null
139560
141348
  commissionAmount?: number | null
139561
141349
  commissionPercent?: number | null
141350
+ platform?: string | null
141351
+ externalOrderId?: string | null
139562
141352
  metaData?: JsonNullValueInput | InputJsonValue
141353
+ affiliatePayoutBatchId?: number | null
139563
141354
  }
139564
141355
 
139565
141356
  export type AffiliateEventCreateOrConnectWithoutAffiliateClickInput = {
@@ -139699,13 +141490,17 @@ export namespace Prisma {
139699
141490
  id?: IntFilter<"AffiliateEvent"> | number
139700
141491
  event?: StringFilter<"AffiliateEvent"> | string
139701
141492
  created?: DateTimeFilter<"AffiliateEvent"> | Date | string
141493
+ updatedAt?: DateTimeNullableFilter<"AffiliateEvent"> | Date | string | null
139702
141494
  visitorIp?: StringNullableFilter<"AffiliateEvent"> | string | null
139703
141495
  urlPath?: StringNullableFilter<"AffiliateEvent"> | string | null
139704
141496
  revenue?: FloatNullableFilter<"AffiliateEvent"> | number | null
139705
141497
  commissionAmount?: FloatNullableFilter<"AffiliateEvent"> | number | null
139706
141498
  commissionPercent?: FloatNullableFilter<"AffiliateEvent"> | number | null
141499
+ platform?: StringNullableFilter<"AffiliateEvent"> | string | null
141500
+ externalOrderId?: StringNullableFilter<"AffiliateEvent"> | string | null
139707
141501
  metaData?: JsonFilter<"AffiliateEvent">
139708
141502
  affiliateClickId?: IntFilter<"AffiliateEvent"> | number
141503
+ affiliatePayoutBatchId?: IntNullableFilter<"AffiliateEvent"> | number | null
139709
141504
  }
139710
141505
 
139711
141506
  export type AffiliateClickCreateWithoutAffiliateEventInput = {
@@ -139732,6 +141527,28 @@ export namespace Prisma {
139732
141527
  create: XOR<AffiliateClickCreateWithoutAffiliateEventInput, AffiliateClickUncheckedCreateWithoutAffiliateEventInput>
139733
141528
  }
139734
141529
 
141530
+ export type AffiliatePayoutBatchCreateWithoutAffiliateEventsInput = {
141531
+ createdAt?: Date | string
141532
+ updatedAt?: Date | string
141533
+ metaData?: JsonNullValueInput | InputJsonValue
141534
+ trolleyBatchId?: string | null
141535
+ user: UserCreateNestedOneWithoutAffiliatePayoutBatchesInput
141536
+ }
141537
+
141538
+ export type AffiliatePayoutBatchUncheckedCreateWithoutAffiliateEventsInput = {
141539
+ id?: number
141540
+ createdAt?: Date | string
141541
+ updatedAt?: Date | string
141542
+ metaData?: JsonNullValueInput | InputJsonValue
141543
+ trolleyBatchId?: string | null
141544
+ userId: number
141545
+ }
141546
+
141547
+ export type AffiliatePayoutBatchCreateOrConnectWithoutAffiliateEventsInput = {
141548
+ where: AffiliatePayoutBatchWhereUniqueInput
141549
+ create: XOR<AffiliatePayoutBatchCreateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedCreateWithoutAffiliateEventsInput>
141550
+ }
141551
+
139735
141552
  export type AffiliateClickUpsertWithoutAffiliateEventInput = {
139736
141553
  update: XOR<AffiliateClickUpdateWithoutAffiliateEventInput, AffiliateClickUncheckedUpdateWithoutAffiliateEventInput>
139737
141554
  create: XOR<AffiliateClickCreateWithoutAffiliateEventInput, AffiliateClickUncheckedCreateWithoutAffiliateEventInput>
@@ -139762,6 +141579,301 @@ export namespace Prisma {
139762
141579
  affiliateLinkId?: IntFieldUpdateOperationsInput | number
139763
141580
  }
139764
141581
 
141582
+ export type AffiliatePayoutBatchUpsertWithoutAffiliateEventsInput = {
141583
+ update: XOR<AffiliatePayoutBatchUpdateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedUpdateWithoutAffiliateEventsInput>
141584
+ create: XOR<AffiliatePayoutBatchCreateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedCreateWithoutAffiliateEventsInput>
141585
+ where?: AffiliatePayoutBatchWhereInput
141586
+ }
141587
+
141588
+ export type AffiliatePayoutBatchUpdateToOneWithWhereWithoutAffiliateEventsInput = {
141589
+ where?: AffiliatePayoutBatchWhereInput
141590
+ data: XOR<AffiliatePayoutBatchUpdateWithoutAffiliateEventsInput, AffiliatePayoutBatchUncheckedUpdateWithoutAffiliateEventsInput>
141591
+ }
141592
+
141593
+ export type AffiliatePayoutBatchUpdateWithoutAffiliateEventsInput = {
141594
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
141595
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
141596
+ metaData?: JsonNullValueInput | InputJsonValue
141597
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
141598
+ user?: UserUpdateOneRequiredWithoutAffiliatePayoutBatchesNestedInput
141599
+ }
141600
+
141601
+ export type AffiliatePayoutBatchUncheckedUpdateWithoutAffiliateEventsInput = {
141602
+ id?: IntFieldUpdateOperationsInput | number
141603
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
141604
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
141605
+ metaData?: JsonNullValueInput | InputJsonValue
141606
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
141607
+ userId?: IntFieldUpdateOperationsInput | number
141608
+ }
141609
+
141610
+ export type UserCreateWithoutAffiliatePayoutBatchesInput = {
141611
+ idmId?: string | null
141612
+ role: string
141613
+ email?: string | null
141614
+ password?: string | null
141615
+ registered?: Date | string
141616
+ lastLoginDate?: Date | string | null
141617
+ firstName?: string | null
141618
+ lastName?: string | null
141619
+ phone?: string | null
141620
+ phoneCode?: number | null
141621
+ phoneShort?: string | null
141622
+ profilePicUrl?: string | null
141623
+ forgotPasswordKey?: string | null
141624
+ affiliateSlug?: string | null
141625
+ closed?: Date | string | null
141626
+ closedReason?: string | null
141627
+ usercomLastSynced?: Date | string | null
141628
+ extraData?: JsonNullValueInput | InputJsonValue
141629
+ fullName?: string | null
141630
+ phoneNormalised?: string | null
141631
+ referrer?: UserCreateNestedOneWithoutReferredUsersInput
141632
+ referredUsers?: UserCreateNestedManyWithoutReferrerInput
141633
+ logs?: LogCreateNestedManyWithoutUserInput
141634
+ creatorProfile?: CreatorProfileCreateNestedOneWithoutUserInput
141635
+ instagramProfile?: InstagramProfileCreateNestedOneWithoutUserInput
141636
+ youtubeProfile?: YoutubeProfileCreateNestedOneWithoutUserInput
141637
+ tiktokProfile?: TiktokProfileCreateNestedOneWithoutUserInput
141638
+ facebookProfile?: FacebookProfileCreateNestedOneWithoutUserInput
141639
+ twitterProfile?: TwitterProfileCreateNestedOneWithoutUserInput
141640
+ twitchProfile?: TwitchProfileCreateNestedOneWithoutUserInput
141641
+ brandProfiles?: BrandUserProfileCreateNestedManyWithoutUserInput
141642
+ optIns?: OptInCreateNestedManyWithoutUserInput
141643
+ assignedBrands?: BrandCreateNestedManyWithoutDedicatedSpecialistInput
141644
+ messages?: MessageCreateNestedManyWithoutUserInput
141645
+ socialPosts?: SocialPostCreateNestedManyWithoutUserInput
141646
+ paymentTransactions?: PaymentTransactionCreateNestedManyWithoutCreatorInput
141647
+ affiliateLinks?: AffiliateLinkCreateNestedManyWithoutAffiliateInput
141648
+ campaignPins?: CampaignPinCreateNestedManyWithoutUserInput
141649
+ socialProfiles?: SocialProfileCreateNestedManyWithoutUserInput
141650
+ rakutenActivity?: RakutenActivityCreateNestedManyWithoutUserInput
141651
+ impactRadiusEvents?: ImpactRadiusEventCreateNestedManyWithoutUserInput
141652
+ cjEvents?: CjEventCreateNestedManyWithoutUserInput
141653
+ flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
141654
+ flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
141655
+ flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
141656
+ }
141657
+
141658
+ export type UserUncheckedCreateWithoutAffiliatePayoutBatchesInput = {
141659
+ id?: number
141660
+ idmId?: string | null
141661
+ role: string
141662
+ email?: string | null
141663
+ password?: string | null
141664
+ registered?: Date | string
141665
+ lastLoginDate?: Date | string | null
141666
+ firstName?: string | null
141667
+ lastName?: string | null
141668
+ phone?: string | null
141669
+ phoneCode?: number | null
141670
+ phoneShort?: string | null
141671
+ profilePicUrl?: string | null
141672
+ forgotPasswordKey?: string | null
141673
+ affiliateSlug?: string | null
141674
+ closed?: Date | string | null
141675
+ closedReason?: string | null
141676
+ usercomLastSynced?: Date | string | null
141677
+ extraData?: JsonNullValueInput | InputJsonValue
141678
+ referrerId?: number | null
141679
+ fullName?: string | null
141680
+ phoneNormalised?: string | null
141681
+ referredUsers?: UserUncheckedCreateNestedManyWithoutReferrerInput
141682
+ logs?: LogUncheckedCreateNestedManyWithoutUserInput
141683
+ creatorProfile?: CreatorProfileUncheckedCreateNestedOneWithoutUserInput
141684
+ instagramProfile?: InstagramProfileUncheckedCreateNestedOneWithoutUserInput
141685
+ youtubeProfile?: YoutubeProfileUncheckedCreateNestedOneWithoutUserInput
141686
+ tiktokProfile?: TiktokProfileUncheckedCreateNestedOneWithoutUserInput
141687
+ facebookProfile?: FacebookProfileUncheckedCreateNestedOneWithoutUserInput
141688
+ twitterProfile?: TwitterProfileUncheckedCreateNestedOneWithoutUserInput
141689
+ twitchProfile?: TwitchProfileUncheckedCreateNestedOneWithoutUserInput
141690
+ brandProfiles?: BrandUserProfileUncheckedCreateNestedManyWithoutUserInput
141691
+ optIns?: OptInUncheckedCreateNestedManyWithoutUserInput
141692
+ assignedBrands?: BrandUncheckedCreateNestedManyWithoutDedicatedSpecialistInput
141693
+ messages?: MessageUncheckedCreateNestedManyWithoutUserInput
141694
+ socialPosts?: SocialPostUncheckedCreateNestedManyWithoutUserInput
141695
+ paymentTransactions?: PaymentTransactionUncheckedCreateNestedManyWithoutCreatorInput
141696
+ affiliateLinks?: AffiliateLinkUncheckedCreateNestedManyWithoutAffiliateInput
141697
+ campaignPins?: CampaignPinUncheckedCreateNestedManyWithoutUserInput
141698
+ socialProfiles?: SocialProfileUncheckedCreateNestedManyWithoutUserInput
141699
+ rakutenActivity?: RakutenActivityUncheckedCreateNestedManyWithoutUserInput
141700
+ impactRadiusEvents?: ImpactRadiusEventUncheckedCreateNestedManyWithoutUserInput
141701
+ cjEvents?: CjEventUncheckedCreateNestedManyWithoutUserInput
141702
+ flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
141703
+ flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
141704
+ flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
141705
+ }
141706
+
141707
+ export type UserCreateOrConnectWithoutAffiliatePayoutBatchesInput = {
141708
+ where: UserWhereUniqueInput
141709
+ create: XOR<UserCreateWithoutAffiliatePayoutBatchesInput, UserUncheckedCreateWithoutAffiliatePayoutBatchesInput>
141710
+ }
141711
+
141712
+ export type AffiliateEventCreateWithoutAffiliatePayoutBatchInput = {
141713
+ event: string
141714
+ created?: Date | string
141715
+ updatedAt?: Date | string | null
141716
+ visitorIp?: string | null
141717
+ urlPath?: string | null
141718
+ revenue?: number | null
141719
+ commissionAmount?: number | null
141720
+ commissionPercent?: number | null
141721
+ platform?: string | null
141722
+ externalOrderId?: string | null
141723
+ metaData?: JsonNullValueInput | InputJsonValue
141724
+ affiliateClick?: AffiliateClickCreateNestedOneWithoutAffiliateEventInput
141725
+ }
141726
+
141727
+ export type AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput = {
141728
+ id?: number
141729
+ event: string
141730
+ created?: Date | string
141731
+ updatedAt?: Date | string | null
141732
+ visitorIp?: string | null
141733
+ urlPath?: string | null
141734
+ revenue?: number | null
141735
+ commissionAmount?: number | null
141736
+ commissionPercent?: number | null
141737
+ platform?: string | null
141738
+ externalOrderId?: string | null
141739
+ metaData?: JsonNullValueInput | InputJsonValue
141740
+ affiliateClickId: number
141741
+ }
141742
+
141743
+ export type AffiliateEventCreateOrConnectWithoutAffiliatePayoutBatchInput = {
141744
+ where: AffiliateEventWhereUniqueInput
141745
+ create: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput>
141746
+ }
141747
+
141748
+ export type AffiliateEventCreateManyAffiliatePayoutBatchInputEnvelope = {
141749
+ data: AffiliateEventCreateManyAffiliatePayoutBatchInput | AffiliateEventCreateManyAffiliatePayoutBatchInput[]
141750
+ skipDuplicates?: boolean
141751
+ }
141752
+
141753
+ export type UserUpsertWithoutAffiliatePayoutBatchesInput = {
141754
+ update: XOR<UserUpdateWithoutAffiliatePayoutBatchesInput, UserUncheckedUpdateWithoutAffiliatePayoutBatchesInput>
141755
+ create: XOR<UserCreateWithoutAffiliatePayoutBatchesInput, UserUncheckedCreateWithoutAffiliatePayoutBatchesInput>
141756
+ where?: UserWhereInput
141757
+ }
141758
+
141759
+ export type UserUpdateToOneWithWhereWithoutAffiliatePayoutBatchesInput = {
141760
+ where?: UserWhereInput
141761
+ data: XOR<UserUpdateWithoutAffiliatePayoutBatchesInput, UserUncheckedUpdateWithoutAffiliatePayoutBatchesInput>
141762
+ }
141763
+
141764
+ export type UserUpdateWithoutAffiliatePayoutBatchesInput = {
141765
+ idmId?: NullableStringFieldUpdateOperationsInput | string | null
141766
+ role?: StringFieldUpdateOperationsInput | string
141767
+ email?: NullableStringFieldUpdateOperationsInput | string | null
141768
+ password?: NullableStringFieldUpdateOperationsInput | string | null
141769
+ registered?: DateTimeFieldUpdateOperationsInput | Date | string
141770
+ lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141771
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
141772
+ lastName?: NullableStringFieldUpdateOperationsInput | string | null
141773
+ phone?: NullableStringFieldUpdateOperationsInput | string | null
141774
+ phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
141775
+ phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
141776
+ profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
141777
+ forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
141778
+ affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
141779
+ closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141780
+ closedReason?: NullableStringFieldUpdateOperationsInput | string | null
141781
+ usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141782
+ extraData?: JsonNullValueInput | InputJsonValue
141783
+ fullName?: NullableStringFieldUpdateOperationsInput | string | null
141784
+ phoneNormalised?: NullableStringFieldUpdateOperationsInput | string | null
141785
+ referrer?: UserUpdateOneWithoutReferredUsersNestedInput
141786
+ referredUsers?: UserUpdateManyWithoutReferrerNestedInput
141787
+ logs?: LogUpdateManyWithoutUserNestedInput
141788
+ creatorProfile?: CreatorProfileUpdateOneWithoutUserNestedInput
141789
+ instagramProfile?: InstagramProfileUpdateOneWithoutUserNestedInput
141790
+ youtubeProfile?: YoutubeProfileUpdateOneWithoutUserNestedInput
141791
+ tiktokProfile?: TiktokProfileUpdateOneWithoutUserNestedInput
141792
+ facebookProfile?: FacebookProfileUpdateOneWithoutUserNestedInput
141793
+ twitterProfile?: TwitterProfileUpdateOneWithoutUserNestedInput
141794
+ twitchProfile?: TwitchProfileUpdateOneWithoutUserNestedInput
141795
+ brandProfiles?: BrandUserProfileUpdateManyWithoutUserNestedInput
141796
+ optIns?: OptInUpdateManyWithoutUserNestedInput
141797
+ assignedBrands?: BrandUpdateManyWithoutDedicatedSpecialistNestedInput
141798
+ messages?: MessageUpdateManyWithoutUserNestedInput
141799
+ socialPosts?: SocialPostUpdateManyWithoutUserNestedInput
141800
+ paymentTransactions?: PaymentTransactionUpdateManyWithoutCreatorNestedInput
141801
+ affiliateLinks?: AffiliateLinkUpdateManyWithoutAffiliateNestedInput
141802
+ campaignPins?: CampaignPinUpdateManyWithoutUserNestedInput
141803
+ socialProfiles?: SocialProfileUpdateManyWithoutUserNestedInput
141804
+ rakutenActivity?: RakutenActivityUpdateManyWithoutUserNestedInput
141805
+ impactRadiusEvents?: ImpactRadiusEventUpdateManyWithoutUserNestedInput
141806
+ cjEvents?: CjEventUpdateManyWithoutUserNestedInput
141807
+ flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
141808
+ flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
141809
+ flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
141810
+ }
141811
+
141812
+ export type UserUncheckedUpdateWithoutAffiliatePayoutBatchesInput = {
141813
+ id?: IntFieldUpdateOperationsInput | number
141814
+ idmId?: NullableStringFieldUpdateOperationsInput | string | null
141815
+ role?: StringFieldUpdateOperationsInput | string
141816
+ email?: NullableStringFieldUpdateOperationsInput | string | null
141817
+ password?: NullableStringFieldUpdateOperationsInput | string | null
141818
+ registered?: DateTimeFieldUpdateOperationsInput | Date | string
141819
+ lastLoginDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141820
+ firstName?: NullableStringFieldUpdateOperationsInput | string | null
141821
+ lastName?: NullableStringFieldUpdateOperationsInput | string | null
141822
+ phone?: NullableStringFieldUpdateOperationsInput | string | null
141823
+ phoneCode?: NullableIntFieldUpdateOperationsInput | number | null
141824
+ phoneShort?: NullableStringFieldUpdateOperationsInput | string | null
141825
+ profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
141826
+ forgotPasswordKey?: NullableStringFieldUpdateOperationsInput | string | null
141827
+ affiliateSlug?: NullableStringFieldUpdateOperationsInput | string | null
141828
+ closed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141829
+ closedReason?: NullableStringFieldUpdateOperationsInput | string | null
141830
+ usercomLastSynced?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141831
+ extraData?: JsonNullValueInput | InputJsonValue
141832
+ referrerId?: NullableIntFieldUpdateOperationsInput | number | null
141833
+ fullName?: NullableStringFieldUpdateOperationsInput | string | null
141834
+ phoneNormalised?: NullableStringFieldUpdateOperationsInput | string | null
141835
+ referredUsers?: UserUncheckedUpdateManyWithoutReferrerNestedInput
141836
+ logs?: LogUncheckedUpdateManyWithoutUserNestedInput
141837
+ creatorProfile?: CreatorProfileUncheckedUpdateOneWithoutUserNestedInput
141838
+ instagramProfile?: InstagramProfileUncheckedUpdateOneWithoutUserNestedInput
141839
+ youtubeProfile?: YoutubeProfileUncheckedUpdateOneWithoutUserNestedInput
141840
+ tiktokProfile?: TiktokProfileUncheckedUpdateOneWithoutUserNestedInput
141841
+ facebookProfile?: FacebookProfileUncheckedUpdateOneWithoutUserNestedInput
141842
+ twitterProfile?: TwitterProfileUncheckedUpdateOneWithoutUserNestedInput
141843
+ twitchProfile?: TwitchProfileUncheckedUpdateOneWithoutUserNestedInput
141844
+ brandProfiles?: BrandUserProfileUncheckedUpdateManyWithoutUserNestedInput
141845
+ optIns?: OptInUncheckedUpdateManyWithoutUserNestedInput
141846
+ assignedBrands?: BrandUncheckedUpdateManyWithoutDedicatedSpecialistNestedInput
141847
+ messages?: MessageUncheckedUpdateManyWithoutUserNestedInput
141848
+ socialPosts?: SocialPostUncheckedUpdateManyWithoutUserNestedInput
141849
+ paymentTransactions?: PaymentTransactionUncheckedUpdateManyWithoutCreatorNestedInput
141850
+ affiliateLinks?: AffiliateLinkUncheckedUpdateManyWithoutAffiliateNestedInput
141851
+ campaignPins?: CampaignPinUncheckedUpdateManyWithoutUserNestedInput
141852
+ socialProfiles?: SocialProfileUncheckedUpdateManyWithoutUserNestedInput
141853
+ rakutenActivity?: RakutenActivityUncheckedUpdateManyWithoutUserNestedInput
141854
+ impactRadiusEvents?: ImpactRadiusEventUncheckedUpdateManyWithoutUserNestedInput
141855
+ cjEvents?: CjEventUncheckedUpdateManyWithoutUserNestedInput
141856
+ flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
141857
+ flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
141858
+ flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
141859
+ }
141860
+
141861
+ export type AffiliateEventUpsertWithWhereUniqueWithoutAffiliatePayoutBatchInput = {
141862
+ where: AffiliateEventWhereUniqueInput
141863
+ update: XOR<AffiliateEventUpdateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedUpdateWithoutAffiliatePayoutBatchInput>
141864
+ create: XOR<AffiliateEventCreateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedCreateWithoutAffiliatePayoutBatchInput>
141865
+ }
141866
+
141867
+ export type AffiliateEventUpdateWithWhereUniqueWithoutAffiliatePayoutBatchInput = {
141868
+ where: AffiliateEventWhereUniqueInput
141869
+ data: XOR<AffiliateEventUpdateWithoutAffiliatePayoutBatchInput, AffiliateEventUncheckedUpdateWithoutAffiliatePayoutBatchInput>
141870
+ }
141871
+
141872
+ export type AffiliateEventUpdateManyWithWhereWithoutAffiliatePayoutBatchInput = {
141873
+ where: AffiliateEventScalarWhereInput
141874
+ data: XOR<AffiliateEventUpdateManyMutationInput, AffiliateEventUncheckedUpdateManyWithoutAffiliatePayoutBatchInput>
141875
+ }
141876
+
139765
141877
  export type BrandCreateWithoutSavedfilesInput = {
139766
141878
  name: string
139767
141879
  description?: string | null
@@ -141687,6 +143799,7 @@ export namespace Prisma {
141687
143799
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
141688
143800
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
141689
143801
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
143802
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
141690
143803
  }
141691
143804
 
141692
143805
  export type UserUncheckedCreateWithoutSocialProfilesInput = {
@@ -141735,6 +143848,7 @@ export namespace Prisma {
141735
143848
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
141736
143849
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
141737
143850
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
143851
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
141738
143852
  }
141739
143853
 
141740
143854
  export type UserCreateOrConnectWithoutSocialProfilesInput = {
@@ -141830,6 +143944,7 @@ export namespace Prisma {
141830
143944
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
141831
143945
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
141832
143946
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
143947
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
141833
143948
  }
141834
143949
 
141835
143950
  export type UserUncheckedUpdateWithoutSocialProfilesInput = {
@@ -141878,6 +143993,7 @@ export namespace Prisma {
141878
143993
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
141879
143994
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
141880
143995
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
143996
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
141881
143997
  }
141882
143998
 
141883
143999
  export type BrandCreateWithoutMessageTemplateInput = {
@@ -143066,6 +145182,7 @@ export namespace Prisma {
143066
145182
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
143067
145183
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
143068
145184
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
145185
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
143069
145186
  }
143070
145187
 
143071
145188
  export type UserUncheckedCreateWithoutRakutenActivityInput = {
@@ -143114,6 +145231,7 @@ export namespace Prisma {
143114
145231
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
143115
145232
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
143116
145233
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
145234
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
143117
145235
  }
143118
145236
 
143119
145237
  export type UserCreateOrConnectWithoutRakutenActivityInput = {
@@ -143177,6 +145295,7 @@ export namespace Prisma {
143177
145295
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
143178
145296
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
143179
145297
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
145298
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
143180
145299
  }
143181
145300
 
143182
145301
  export type UserUncheckedUpdateWithoutRakutenActivityInput = {
@@ -143225,6 +145344,7 @@ export namespace Prisma {
143225
145344
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
143226
145345
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
143227
145346
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
145347
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
143228
145348
  }
143229
145349
 
143230
145350
  export type UserCreateWithoutImpactRadiusEventsInput = {
@@ -143272,6 +145392,7 @@ export namespace Prisma {
143272
145392
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
143273
145393
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
143274
145394
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
145395
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
143275
145396
  }
143276
145397
 
143277
145398
  export type UserUncheckedCreateWithoutImpactRadiusEventsInput = {
@@ -143320,6 +145441,7 @@ export namespace Prisma {
143320
145441
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
143321
145442
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
143322
145443
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
145444
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
143323
145445
  }
143324
145446
 
143325
145447
  export type UserCreateOrConnectWithoutImpactRadiusEventsInput = {
@@ -143539,6 +145661,7 @@ export namespace Prisma {
143539
145661
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
143540
145662
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
143541
145663
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
145664
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
143542
145665
  }
143543
145666
 
143544
145667
  export type UserUncheckedUpdateWithoutImpactRadiusEventsInput = {
@@ -143587,6 +145710,7 @@ export namespace Prisma {
143587
145710
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
143588
145711
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
143589
145712
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
145713
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
143590
145714
  }
143591
145715
 
143592
145716
  export type BrandUpsertWithoutImpactRadiusEventsInput = {
@@ -143802,6 +145926,7 @@ export namespace Prisma {
143802
145926
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
143803
145927
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
143804
145928
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
145929
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
143805
145930
  }
143806
145931
 
143807
145932
  export type UserUncheckedCreateWithoutCjEventsInput = {
@@ -143850,6 +145975,7 @@ export namespace Prisma {
143850
145975
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
143851
145976
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
143852
145977
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
145978
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
143853
145979
  }
143854
145980
 
143855
145981
  export type UserCreateOrConnectWithoutCjEventsInput = {
@@ -144069,6 +146195,7 @@ export namespace Prisma {
144069
146195
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
144070
146196
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
144071
146197
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
146198
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
144072
146199
  }
144073
146200
 
144074
146201
  export type UserUncheckedUpdateWithoutCjEventsInput = {
@@ -144117,6 +146244,7 @@ export namespace Prisma {
144117
146244
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
144118
146245
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
144119
146246
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
146247
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
144120
146248
  }
144121
146249
 
144122
146250
  export type BrandUpsertWithoutCjEventsInput = {
@@ -147029,6 +149157,7 @@ export namespace Prisma {
147029
149157
  cjEvents?: CjEventCreateNestedManyWithoutUserInput
147030
149158
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
147031
149159
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
149160
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
147032
149161
  }
147033
149162
 
147034
149163
  export type UserUncheckedCreateWithoutFlagsAssignedInput = {
@@ -147077,6 +149206,7 @@ export namespace Prisma {
147077
149206
  cjEvents?: CjEventUncheckedCreateNestedManyWithoutUserInput
147078
149207
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
147079
149208
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
149209
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
147080
149210
  }
147081
149211
 
147082
149212
  export type UserCreateOrConnectWithoutFlagsAssignedInput = {
@@ -147129,6 +149259,7 @@ export namespace Prisma {
147129
149259
  cjEvents?: CjEventCreateNestedManyWithoutUserInput
147130
149260
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
147131
149261
  flagsEdited?: CreatorFlagCreateNestedManyWithoutEditedByUserInput
149262
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
147132
149263
  }
147133
149264
 
147134
149265
  export type UserUncheckedCreateWithoutFlagsCreatedInput = {
@@ -147177,6 +149308,7 @@ export namespace Prisma {
147177
149308
  cjEvents?: CjEventUncheckedCreateNestedManyWithoutUserInput
147178
149309
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
147179
149310
  flagsEdited?: CreatorFlagUncheckedCreateNestedManyWithoutEditedByUserInput
149311
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
147180
149312
  }
147181
149313
 
147182
149314
  export type UserCreateOrConnectWithoutFlagsCreatedInput = {
@@ -147229,6 +149361,7 @@ export namespace Prisma {
147229
149361
  cjEvents?: CjEventCreateNestedManyWithoutUserInput
147230
149362
  flagsAssigned?: CreatorFlagCreateNestedManyWithoutUserInput
147231
149363
  flagsCreated?: CreatorFlagCreateNestedManyWithoutFlaggedByUserInput
149364
+ affiliatePayoutBatches?: AffiliatePayoutBatchCreateNestedManyWithoutUserInput
147232
149365
  }
147233
149366
 
147234
149367
  export type UserUncheckedCreateWithoutFlagsEditedInput = {
@@ -147277,6 +149410,7 @@ export namespace Prisma {
147277
149410
  cjEvents?: CjEventUncheckedCreateNestedManyWithoutUserInput
147278
149411
  flagsAssigned?: CreatorFlagUncheckedCreateNestedManyWithoutUserInput
147279
149412
  flagsCreated?: CreatorFlagUncheckedCreateNestedManyWithoutFlaggedByUserInput
149413
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedCreateNestedManyWithoutUserInput
147280
149414
  }
147281
149415
 
147282
149416
  export type UserCreateOrConnectWithoutFlagsEditedInput = {
@@ -147340,6 +149474,7 @@ export namespace Prisma {
147340
149474
  cjEvents?: CjEventUpdateManyWithoutUserNestedInput
147341
149475
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
147342
149476
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
149477
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
147343
149478
  }
147344
149479
 
147345
149480
  export type UserUncheckedUpdateWithoutFlagsAssignedInput = {
@@ -147388,6 +149523,7 @@ export namespace Prisma {
147388
149523
  cjEvents?: CjEventUncheckedUpdateManyWithoutUserNestedInput
147389
149524
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
147390
149525
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
149526
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
147391
149527
  }
147392
149528
 
147393
149529
  export type UserUpsertWithoutFlagsCreatedInput = {
@@ -147446,6 +149582,7 @@ export namespace Prisma {
147446
149582
  cjEvents?: CjEventUpdateManyWithoutUserNestedInput
147447
149583
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
147448
149584
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
149585
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
147449
149586
  }
147450
149587
 
147451
149588
  export type UserUncheckedUpdateWithoutFlagsCreatedInput = {
@@ -147494,6 +149631,7 @@ export namespace Prisma {
147494
149631
  cjEvents?: CjEventUncheckedUpdateManyWithoutUserNestedInput
147495
149632
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
147496
149633
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
149634
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
147497
149635
  }
147498
149636
 
147499
149637
  export type UserUpsertWithoutFlagsEditedInput = {
@@ -147552,6 +149690,7 @@ export namespace Prisma {
147552
149690
  cjEvents?: CjEventUpdateManyWithoutUserNestedInput
147553
149691
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
147554
149692
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
149693
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
147555
149694
  }
147556
149695
 
147557
149696
  export type UserUncheckedUpdateWithoutFlagsEditedInput = {
@@ -147600,6 +149739,7 @@ export namespace Prisma {
147600
149739
  cjEvents?: CjEventUncheckedUpdateManyWithoutUserNestedInput
147601
149740
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
147602
149741
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
149742
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
147603
149743
  }
147604
149744
 
147605
149745
  export type UserCreateManyReferrerInput = {
@@ -147835,6 +149975,14 @@ export namespace Prisma {
147835
149975
  flaggedByUserId: number
147836
149976
  }
147837
149977
 
149978
+ export type AffiliatePayoutBatchCreateManyUserInput = {
149979
+ id?: number
149980
+ createdAt?: Date | string
149981
+ updatedAt?: Date | string
149982
+ metaData?: JsonNullValueInput | InputJsonValue
149983
+ trolleyBatchId?: string | null
149984
+ }
149985
+
147838
149986
  export type UserUpdateWithoutReferrerInput = {
147839
149987
  idmId?: NullableStringFieldUpdateOperationsInput | string | null
147840
149988
  role?: StringFieldUpdateOperationsInput | string
@@ -147880,6 +150028,7 @@ export namespace Prisma {
147880
150028
  flagsAssigned?: CreatorFlagUpdateManyWithoutUserNestedInput
147881
150029
  flagsCreated?: CreatorFlagUpdateManyWithoutFlaggedByUserNestedInput
147882
150030
  flagsEdited?: CreatorFlagUpdateManyWithoutEditedByUserNestedInput
150031
+ affiliatePayoutBatches?: AffiliatePayoutBatchUpdateManyWithoutUserNestedInput
147883
150032
  }
147884
150033
 
147885
150034
  export type UserUncheckedUpdateWithoutReferrerInput = {
@@ -147928,6 +150077,7 @@ export namespace Prisma {
147928
150077
  flagsAssigned?: CreatorFlagUncheckedUpdateManyWithoutUserNestedInput
147929
150078
  flagsCreated?: CreatorFlagUncheckedUpdateManyWithoutFlaggedByUserNestedInput
147930
150079
  flagsEdited?: CreatorFlagUncheckedUpdateManyWithoutEditedByUserNestedInput
150080
+ affiliatePayoutBatches?: AffiliatePayoutBatchUncheckedUpdateManyWithoutUserNestedInput
147931
150081
  }
147932
150082
 
147933
150083
  export type UserUncheckedUpdateManyWithoutReferrerInput = {
@@ -148649,6 +150799,31 @@ export namespace Prisma {
148649
150799
  flaggedByUserId?: IntFieldUpdateOperationsInput | number
148650
150800
  }
148651
150801
 
150802
+ export type AffiliatePayoutBatchUpdateWithoutUserInput = {
150803
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
150804
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
150805
+ metaData?: JsonNullValueInput | InputJsonValue
150806
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
150807
+ affiliateEvents?: AffiliateEventUpdateManyWithoutAffiliatePayoutBatchNestedInput
150808
+ }
150809
+
150810
+ export type AffiliatePayoutBatchUncheckedUpdateWithoutUserInput = {
150811
+ id?: IntFieldUpdateOperationsInput | number
150812
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
150813
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
150814
+ metaData?: JsonNullValueInput | InputJsonValue
150815
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
150816
+ affiliateEvents?: AffiliateEventUncheckedUpdateManyWithoutAffiliatePayoutBatchNestedInput
150817
+ }
150818
+
150819
+ export type AffiliatePayoutBatchUncheckedUpdateManyWithoutUserInput = {
150820
+ id?: IntFieldUpdateOperationsInput | number
150821
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
150822
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
150823
+ metaData?: JsonNullValueInput | InputJsonValue
150824
+ trolleyBatchId?: NullableStringFieldUpdateOperationsInput | string | null
150825
+ }
150826
+
148652
150827
  export type CreatorToCategoryCreateManyCreatorProfileInput = {
148653
150828
  categoryId: number
148654
150829
  }
@@ -151444,47 +153619,126 @@ export namespace Prisma {
151444
153619
  id?: number
151445
153620
  event: string
151446
153621
  created?: Date | string
153622
+ updatedAt?: Date | string | null
151447
153623
  visitorIp?: string | null
151448
153624
  urlPath?: string | null
151449
153625
  revenue?: number | null
151450
153626
  commissionAmount?: number | null
151451
153627
  commissionPercent?: number | null
153628
+ platform?: string | null
153629
+ externalOrderId?: string | null
151452
153630
  metaData?: JsonNullValueInput | InputJsonValue
153631
+ affiliatePayoutBatchId?: number | null
151453
153632
  }
151454
153633
 
151455
153634
  export type AffiliateEventUpdateWithoutAffiliateClickInput = {
151456
153635
  event?: StringFieldUpdateOperationsInput | string
151457
153636
  created?: DateTimeFieldUpdateOperationsInput | Date | string
153637
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
151458
153638
  visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
151459
153639
  urlPath?: NullableStringFieldUpdateOperationsInput | string | null
151460
153640
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
151461
153641
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
151462
153642
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153643
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153644
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
151463
153645
  metaData?: JsonNullValueInput | InputJsonValue
153646
+ affiliatePayoutBatch?: AffiliatePayoutBatchUpdateOneWithoutAffiliateEventsNestedInput
151464
153647
  }
151465
153648
 
151466
153649
  export type AffiliateEventUncheckedUpdateWithoutAffiliateClickInput = {
151467
153650
  id?: IntFieldUpdateOperationsInput | number
151468
153651
  event?: StringFieldUpdateOperationsInput | string
151469
153652
  created?: DateTimeFieldUpdateOperationsInput | Date | string
153653
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
151470
153654
  visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
151471
153655
  urlPath?: NullableStringFieldUpdateOperationsInput | string | null
151472
153656
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
151473
153657
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
151474
153658
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153659
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153660
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
151475
153661
  metaData?: JsonNullValueInput | InputJsonValue
153662
+ affiliatePayoutBatchId?: NullableIntFieldUpdateOperationsInput | number | null
151476
153663
  }
151477
153664
 
151478
153665
  export type AffiliateEventUncheckedUpdateManyWithoutAffiliateClickInput = {
151479
153666
  id?: IntFieldUpdateOperationsInput | number
151480
153667
  event?: StringFieldUpdateOperationsInput | string
151481
153668
  created?: DateTimeFieldUpdateOperationsInput | Date | string
153669
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
153670
+ visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
153671
+ urlPath?: NullableStringFieldUpdateOperationsInput | string | null
153672
+ revenue?: NullableFloatFieldUpdateOperationsInput | number | null
153673
+ commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
153674
+ commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153675
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153676
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
153677
+ metaData?: JsonNullValueInput | InputJsonValue
153678
+ affiliatePayoutBatchId?: NullableIntFieldUpdateOperationsInput | number | null
153679
+ }
153680
+
153681
+ export type AffiliateEventCreateManyAffiliatePayoutBatchInput = {
153682
+ id?: number
153683
+ event: string
153684
+ created?: Date | string
153685
+ updatedAt?: Date | string | null
153686
+ visitorIp?: string | null
153687
+ urlPath?: string | null
153688
+ revenue?: number | null
153689
+ commissionAmount?: number | null
153690
+ commissionPercent?: number | null
153691
+ platform?: string | null
153692
+ externalOrderId?: string | null
153693
+ metaData?: JsonNullValueInput | InputJsonValue
153694
+ affiliateClickId: number
153695
+ }
153696
+
153697
+ export type AffiliateEventUpdateWithoutAffiliatePayoutBatchInput = {
153698
+ event?: StringFieldUpdateOperationsInput | string
153699
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
153700
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
153701
+ visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
153702
+ urlPath?: NullableStringFieldUpdateOperationsInput | string | null
153703
+ revenue?: NullableFloatFieldUpdateOperationsInput | number | null
153704
+ commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
153705
+ commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153706
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153707
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
153708
+ metaData?: JsonNullValueInput | InputJsonValue
153709
+ affiliateClick?: AffiliateClickUpdateOneWithoutAffiliateEventNestedInput
153710
+ }
153711
+
153712
+ export type AffiliateEventUncheckedUpdateWithoutAffiliatePayoutBatchInput = {
153713
+ id?: IntFieldUpdateOperationsInput | number
153714
+ event?: StringFieldUpdateOperationsInput | string
153715
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
153716
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
151482
153717
  visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
151483
153718
  urlPath?: NullableStringFieldUpdateOperationsInput | string | null
151484
153719
  revenue?: NullableFloatFieldUpdateOperationsInput | number | null
151485
153720
  commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
151486
153721
  commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153722
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153723
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
151487
153724
  metaData?: JsonNullValueInput | InputJsonValue
153725
+ affiliateClickId?: IntFieldUpdateOperationsInput | number
153726
+ }
153727
+
153728
+ export type AffiliateEventUncheckedUpdateManyWithoutAffiliatePayoutBatchInput = {
153729
+ id?: IntFieldUpdateOperationsInput | number
153730
+ event?: StringFieldUpdateOperationsInput | string
153731
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
153732
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
153733
+ visitorIp?: NullableStringFieldUpdateOperationsInput | string | null
153734
+ urlPath?: NullableStringFieldUpdateOperationsInput | string | null
153735
+ revenue?: NullableFloatFieldUpdateOperationsInput | number | null
153736
+ commissionAmount?: NullableFloatFieldUpdateOperationsInput | number | null
153737
+ commissionPercent?: NullableFloatFieldUpdateOperationsInput | number | null
153738
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
153739
+ externalOrderId?: NullableStringFieldUpdateOperationsInput | string | null
153740
+ metaData?: JsonNullValueInput | InputJsonValue
153741
+ affiliateClickId?: IntFieldUpdateOperationsInput | number
151488
153742
  }
151489
153743
 
151490
153744
  export type CreatorListItemCreateManyCreatorListInput = {
@@ -152161,6 +154415,10 @@ export namespace Prisma {
152161
154415
  * @deprecated Use AffiliateClickCountOutputTypeDefaultArgs instead
152162
154416
  */
152163
154417
  export type AffiliateClickCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AffiliateClickCountOutputTypeDefaultArgs<ExtArgs>
154418
+ /**
154419
+ * @deprecated Use AffiliatePayoutBatchCountOutputTypeDefaultArgs instead
154420
+ */
154421
+ export type AffiliatePayoutBatchCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AffiliatePayoutBatchCountOutputTypeDefaultArgs<ExtArgs>
152164
154422
  /**
152165
154423
  * @deprecated Use CreatorListCountOutputTypeDefaultArgs instead
152166
154424
  */
@@ -152401,6 +154659,10 @@ export namespace Prisma {
152401
154659
  * @deprecated Use AffiliateEventDefaultArgs instead
152402
154660
  */
152403
154661
  export type AffiliateEventArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AffiliateEventDefaultArgs<ExtArgs>
154662
+ /**
154663
+ * @deprecated Use AffiliatePayoutBatchDefaultArgs instead
154664
+ */
154665
+ export type AffiliatePayoutBatchArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AffiliatePayoutBatchDefaultArgs<ExtArgs>
152404
154666
  /**
152405
154667
  * @deprecated Use SavedFileDefaultArgs instead
152406
154668
  */