@creator.co/creatorco-prisma-client 1.0.45 → 1.0.46-alpha-cbcafab

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
@@ -318,6 +318,11 @@ export type RakutenActivity = $Result.DefaultSelection<Prisma.$RakutenActivityPa
318
318
  *
319
319
  */
320
320
  export type ImpactRadiusEvent = $Result.DefaultSelection<Prisma.$ImpactRadiusEventPayload>
321
+ /**
322
+ * Model ShareASaleEvent
323
+ *
324
+ */
325
+ export type ShareASaleEvent = $Result.DefaultSelection<Prisma.$ShareASaleEventPayload>
321
326
  /**
322
327
  * Model CreatorSearchFilter
323
328
  *
@@ -1147,6 +1152,16 @@ export class PrismaClient<
1147
1152
  */
1148
1153
  get impactRadiusEvent(): Prisma.ImpactRadiusEventDelegate<ExtArgs>;
1149
1154
 
1155
+ /**
1156
+ * `prisma.shareASaleEvent`: Exposes CRUD operations for the **ShareASaleEvent** model.
1157
+ * Example usage:
1158
+ * ```ts
1159
+ * // Fetch zero or more ShareASaleEvents
1160
+ * const shareASaleEvents = await prisma.shareASaleEvent.findMany()
1161
+ * ```
1162
+ */
1163
+ get shareASaleEvent(): Prisma.ShareASaleEventDelegate<ExtArgs>;
1164
+
1150
1165
  /**
1151
1166
  * `prisma.creatorSearchFilter`: Exposes CRUD operations for the **CreatorSearchFilter** model.
1152
1167
  * Example usage:
@@ -1784,6 +1799,7 @@ export namespace Prisma {
1784
1799
  OptInView: 'OptInView',
1785
1800
  RakutenActivity: 'RakutenActivity',
1786
1801
  ImpactRadiusEvent: 'ImpactRadiusEvent',
1802
+ ShareASaleEvent: 'ShareASaleEvent',
1787
1803
  CreatorSearchFilter: 'CreatorSearchFilter',
1788
1804
  Sequence: 'Sequence',
1789
1805
  SequenceStep: 'SequenceStep',
@@ -1810,7 +1826,7 @@ export namespace Prisma {
1810
1826
 
1811
1827
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1812
1828
  meta: {
1813
- modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct'
1829
+ modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'shareASaleEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct'
1814
1830
  txIsolationLevel: Prisma.TransactionIsolationLevel
1815
1831
  },
1816
1832
  model: {
@@ -6084,6 +6100,76 @@ export namespace Prisma {
6084
6100
  }
6085
6101
  }
6086
6102
  }
6103
+ ShareASaleEvent: {
6104
+ payload: Prisma.$ShareASaleEventPayload<ExtArgs>
6105
+ fields: Prisma.ShareASaleEventFieldRefs
6106
+ operations: {
6107
+ findUnique: {
6108
+ args: Prisma.ShareASaleEventFindUniqueArgs<ExtArgs>,
6109
+ result: $Utils.PayloadToResult<Prisma.$ShareASaleEventPayload> | null
6110
+ }
6111
+ findUniqueOrThrow: {
6112
+ args: Prisma.ShareASaleEventFindUniqueOrThrowArgs<ExtArgs>,
6113
+ result: $Utils.PayloadToResult<Prisma.$ShareASaleEventPayload>
6114
+ }
6115
+ findFirst: {
6116
+ args: Prisma.ShareASaleEventFindFirstArgs<ExtArgs>,
6117
+ result: $Utils.PayloadToResult<Prisma.$ShareASaleEventPayload> | null
6118
+ }
6119
+ findFirstOrThrow: {
6120
+ args: Prisma.ShareASaleEventFindFirstOrThrowArgs<ExtArgs>,
6121
+ result: $Utils.PayloadToResult<Prisma.$ShareASaleEventPayload>
6122
+ }
6123
+ findMany: {
6124
+ args: Prisma.ShareASaleEventFindManyArgs<ExtArgs>,
6125
+ result: $Utils.PayloadToResult<Prisma.$ShareASaleEventPayload>[]
6126
+ }
6127
+ create: {
6128
+ args: Prisma.ShareASaleEventCreateArgs<ExtArgs>,
6129
+ result: $Utils.PayloadToResult<Prisma.$ShareASaleEventPayload>
6130
+ }
6131
+ createMany: {
6132
+ args: Prisma.ShareASaleEventCreateManyArgs<ExtArgs>,
6133
+ result: Prisma.BatchPayload
6134
+ }
6135
+ createManyAndReturn: {
6136
+ args: Prisma.ShareASaleEventCreateManyAndReturnArgs<ExtArgs>,
6137
+ result: $Utils.PayloadToResult<Prisma.$ShareASaleEventPayload>[]
6138
+ }
6139
+ delete: {
6140
+ args: Prisma.ShareASaleEventDeleteArgs<ExtArgs>,
6141
+ result: $Utils.PayloadToResult<Prisma.$ShareASaleEventPayload>
6142
+ }
6143
+ update: {
6144
+ args: Prisma.ShareASaleEventUpdateArgs<ExtArgs>,
6145
+ result: $Utils.PayloadToResult<Prisma.$ShareASaleEventPayload>
6146
+ }
6147
+ deleteMany: {
6148
+ args: Prisma.ShareASaleEventDeleteManyArgs<ExtArgs>,
6149
+ result: Prisma.BatchPayload
6150
+ }
6151
+ updateMany: {
6152
+ args: Prisma.ShareASaleEventUpdateManyArgs<ExtArgs>,
6153
+ result: Prisma.BatchPayload
6154
+ }
6155
+ upsert: {
6156
+ args: Prisma.ShareASaleEventUpsertArgs<ExtArgs>,
6157
+ result: $Utils.PayloadToResult<Prisma.$ShareASaleEventPayload>
6158
+ }
6159
+ aggregate: {
6160
+ args: Prisma.ShareASaleEventAggregateArgs<ExtArgs>,
6161
+ result: $Utils.Optional<AggregateShareASaleEvent>
6162
+ }
6163
+ groupBy: {
6164
+ args: Prisma.ShareASaleEventGroupByArgs<ExtArgs>,
6165
+ result: $Utils.Optional<ShareASaleEventGroupByOutputType>[]
6166
+ }
6167
+ count: {
6168
+ args: Prisma.ShareASaleEventCountArgs<ExtArgs>,
6169
+ result: $Utils.Optional<ShareASaleEventCountAggregateOutputType> | number
6170
+ }
6171
+ }
6172
+ }
6087
6173
  CreatorSearchFilter: {
6088
6174
  payload: Prisma.$CreatorSearchFilterPayload<ExtArgs>
6089
6175
  fields: Prisma.CreatorSearchFilterFieldRefs
@@ -7845,6 +7931,7 @@ export namespace Prisma {
7845
7931
  productListItems: number
7846
7932
  ExternalAffiliateClick: number
7847
7933
  ImpactRadiusEvent: number
7934
+ ShareASaleEvents: number
7848
7935
  }
7849
7936
 
7850
7937
  export type OptInCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -7856,6 +7943,7 @@ export namespace Prisma {
7856
7943
  productListItems?: boolean | OptInCountOutputTypeCountProductListItemsArgs
7857
7944
  ExternalAffiliateClick?: boolean | OptInCountOutputTypeCountExternalAffiliateClickArgs
7858
7945
  ImpactRadiusEvent?: boolean | OptInCountOutputTypeCountImpactRadiusEventArgs
7946
+ ShareASaleEvents?: boolean | OptInCountOutputTypeCountShareASaleEventsArgs
7859
7947
  }
7860
7948
 
7861
7949
  // Custom InputTypes
@@ -7925,6 +8013,13 @@ export namespace Prisma {
7925
8013
  where?: ImpactRadiusEventWhereInput
7926
8014
  }
7927
8015
 
8016
+ /**
8017
+ * OptInCountOutputType without action
8018
+ */
8019
+ export type OptInCountOutputTypeCountShareASaleEventsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8020
+ where?: ShareASaleEventWhereInput
8021
+ }
8022
+
7928
8023
 
7929
8024
  /**
7930
8025
  * Count Type SocialPostCountOutputType
@@ -46923,6 +47018,7 @@ export namespace Prisma {
46923
47018
  productListItems?: boolean | OptIn$productListItemsArgs<ExtArgs>
46924
47019
  ExternalAffiliateClick?: boolean | OptIn$ExternalAffiliateClickArgs<ExtArgs>
46925
47020
  ImpactRadiusEvent?: boolean | OptIn$ImpactRadiusEventArgs<ExtArgs>
47021
+ ShareASaleEvents?: boolean | OptIn$ShareASaleEventsArgs<ExtArgs>
46926
47022
  _count?: boolean | OptInCountOutputTypeDefaultArgs<ExtArgs>
46927
47023
  }, ExtArgs["result"]["optIn"]>
46928
47024
 
@@ -46984,6 +47080,7 @@ export namespace Prisma {
46984
47080
  productListItems?: boolean | OptIn$productListItemsArgs<ExtArgs>
46985
47081
  ExternalAffiliateClick?: boolean | OptIn$ExternalAffiliateClickArgs<ExtArgs>
46986
47082
  ImpactRadiusEvent?: boolean | OptIn$ImpactRadiusEventArgs<ExtArgs>
47083
+ ShareASaleEvents?: boolean | OptIn$ShareASaleEventsArgs<ExtArgs>
46987
47084
  _count?: boolean | OptInCountOutputTypeDefaultArgs<ExtArgs>
46988
47085
  }
46989
47086
  export type OptInIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -47007,6 +47104,7 @@ export namespace Prisma {
47007
47104
  productListItems: Prisma.$OptinToProductListItemPayload<ExtArgs>[]
47008
47105
  ExternalAffiliateClick: Prisma.$ExternalAffiliateClickPayload<ExtArgs>[]
47009
47106
  ImpactRadiusEvent: Prisma.$ImpactRadiusEventPayload<ExtArgs>[]
47107
+ ShareASaleEvents: Prisma.$ShareASaleEventPayload<ExtArgs>[]
47010
47108
  }
47011
47109
  scalars: $Extensions.GetPayloadResult<{
47012
47110
  id: number
@@ -47441,6 +47539,8 @@ export namespace Prisma {
47441
47539
 
47442
47540
  ImpactRadiusEvent<T extends OptIn$ImpactRadiusEventArgs<ExtArgs> = {}>(args?: Subset<T, OptIn$ImpactRadiusEventArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ImpactRadiusEventPayload<ExtArgs>, T, 'findMany'> | Null>;
47443
47541
 
47542
+ ShareASaleEvents<T extends OptIn$ShareASaleEventsArgs<ExtArgs> = {}>(args?: Subset<T, OptIn$ShareASaleEventsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'findMany'> | Null>;
47543
+
47444
47544
  /**
47445
47545
  * Attaches callbacks for the resolution and/or rejection of the Promise.
47446
47546
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -47994,6 +48094,26 @@ export namespace Prisma {
47994
48094
  distinct?: ImpactRadiusEventScalarFieldEnum | ImpactRadiusEventScalarFieldEnum[]
47995
48095
  }
47996
48096
 
48097
+ /**
48098
+ * OptIn.ShareASaleEvents
48099
+ */
48100
+ export type OptIn$ShareASaleEventsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48101
+ /**
48102
+ * Select specific fields to fetch from the ShareASaleEvent
48103
+ */
48104
+ select?: ShareASaleEventSelect<ExtArgs> | null
48105
+ /**
48106
+ * Choose, which related nodes to fetch as well
48107
+ */
48108
+ include?: ShareASaleEventInclude<ExtArgs> | null
48109
+ where?: ShareASaleEventWhereInput
48110
+ orderBy?: ShareASaleEventOrderByWithRelationAndSearchRelevanceInput | ShareASaleEventOrderByWithRelationAndSearchRelevanceInput[]
48111
+ cursor?: ShareASaleEventWhereUniqueInput
48112
+ take?: number
48113
+ skip?: number
48114
+ distinct?: ShareASaleEventScalarFieldEnum | ShareASaleEventScalarFieldEnum[]
48115
+ }
48116
+
47997
48117
  /**
47998
48118
  * OptIn without action
47999
48119
  */
@@ -76154,396 +76274,404 @@ export namespace Prisma {
76154
76274
 
76155
76275
 
76156
76276
  /**
76157
- * Model CreatorSearchFilter
76277
+ * Model ShareASaleEvent
76158
76278
  */
76159
76279
 
76160
- export type AggregateCreatorSearchFilter = {
76161
- _count: CreatorSearchFilterCountAggregateOutputType | null
76162
- _avg: CreatorSearchFilterAvgAggregateOutputType | null
76163
- _sum: CreatorSearchFilterSumAggregateOutputType | null
76164
- _min: CreatorSearchFilterMinAggregateOutputType | null
76165
- _max: CreatorSearchFilterMaxAggregateOutputType | null
76280
+ export type AggregateShareASaleEvent = {
76281
+ _count: ShareASaleEventCountAggregateOutputType | null
76282
+ _avg: ShareASaleEventAvgAggregateOutputType | null
76283
+ _sum: ShareASaleEventSumAggregateOutputType | null
76284
+ _min: ShareASaleEventMinAggregateOutputType | null
76285
+ _max: ShareASaleEventMaxAggregateOutputType | null
76166
76286
  }
76167
76287
 
76168
- export type CreatorSearchFilterAvgAggregateOutputType = {
76288
+ export type ShareASaleEventAvgAggregateOutputType = {
76169
76289
  id: number | null
76170
- brandId: number | null
76290
+ saleAmount: number | null
76291
+ commission: number | null
76292
+ optInId: number | null
76171
76293
  }
76172
76294
 
76173
- export type CreatorSearchFilterSumAggregateOutputType = {
76295
+ export type ShareASaleEventSumAggregateOutputType = {
76174
76296
  id: number | null
76175
- brandId: number | null
76297
+ saleAmount: number | null
76298
+ commission: number | null
76299
+ optInId: number | null
76176
76300
  }
76177
76301
 
76178
- export type CreatorSearchFilterMinAggregateOutputType = {
76302
+ export type ShareASaleEventMinAggregateOutputType = {
76179
76303
  id: number | null
76180
- brandId: number | null
76181
- title: string | null
76182
- createdAt: Date | null
76183
- updatedAt: Date | null
76304
+ created: Date | null
76305
+ saleAmount: number | null
76306
+ commission: number | null
76307
+ optInId: number | null
76184
76308
  }
76185
76309
 
76186
- export type CreatorSearchFilterMaxAggregateOutputType = {
76310
+ export type ShareASaleEventMaxAggregateOutputType = {
76187
76311
  id: number | null
76188
- brandId: number | null
76189
- title: string | null
76190
- createdAt: Date | null
76191
- updatedAt: Date | null
76312
+ created: Date | null
76313
+ saleAmount: number | null
76314
+ commission: number | null
76315
+ optInId: number | null
76192
76316
  }
76193
76317
 
76194
- export type CreatorSearchFilterCountAggregateOutputType = {
76318
+ export type ShareASaleEventCountAggregateOutputType = {
76195
76319
  id: number
76196
- brandId: number
76197
- title: number
76198
- filters: number
76199
- createdAt: number
76200
- updatedAt: number
76320
+ created: number
76321
+ saleAmount: number
76322
+ commission: number
76323
+ metaData: number
76324
+ optInId: number
76201
76325
  _all: number
76202
76326
  }
76203
76327
 
76204
76328
 
76205
- export type CreatorSearchFilterAvgAggregateInputType = {
76329
+ export type ShareASaleEventAvgAggregateInputType = {
76206
76330
  id?: true
76207
- brandId?: true
76331
+ saleAmount?: true
76332
+ commission?: true
76333
+ optInId?: true
76208
76334
  }
76209
76335
 
76210
- export type CreatorSearchFilterSumAggregateInputType = {
76336
+ export type ShareASaleEventSumAggregateInputType = {
76211
76337
  id?: true
76212
- brandId?: true
76338
+ saleAmount?: true
76339
+ commission?: true
76340
+ optInId?: true
76213
76341
  }
76214
76342
 
76215
- export type CreatorSearchFilterMinAggregateInputType = {
76343
+ export type ShareASaleEventMinAggregateInputType = {
76216
76344
  id?: true
76217
- brandId?: true
76218
- title?: true
76219
- createdAt?: true
76220
- updatedAt?: true
76345
+ created?: true
76346
+ saleAmount?: true
76347
+ commission?: true
76348
+ optInId?: true
76221
76349
  }
76222
76350
 
76223
- export type CreatorSearchFilterMaxAggregateInputType = {
76351
+ export type ShareASaleEventMaxAggregateInputType = {
76224
76352
  id?: true
76225
- brandId?: true
76226
- title?: true
76227
- createdAt?: true
76228
- updatedAt?: true
76353
+ created?: true
76354
+ saleAmount?: true
76355
+ commission?: true
76356
+ optInId?: true
76229
76357
  }
76230
76358
 
76231
- export type CreatorSearchFilterCountAggregateInputType = {
76359
+ export type ShareASaleEventCountAggregateInputType = {
76232
76360
  id?: true
76233
- brandId?: true
76234
- title?: true
76235
- filters?: true
76236
- createdAt?: true
76237
- updatedAt?: true
76361
+ created?: true
76362
+ saleAmount?: true
76363
+ commission?: true
76364
+ metaData?: true
76365
+ optInId?: true
76238
76366
  _all?: true
76239
76367
  }
76240
76368
 
76241
- export type CreatorSearchFilterAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76369
+ export type ShareASaleEventAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76242
76370
  /**
76243
- * Filter which CreatorSearchFilter to aggregate.
76371
+ * Filter which ShareASaleEvent to aggregate.
76244
76372
  */
76245
- where?: CreatorSearchFilterWhereInput
76373
+ where?: ShareASaleEventWhereInput
76246
76374
  /**
76247
76375
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
76248
76376
  *
76249
- * Determine the order of CreatorSearchFilters to fetch.
76377
+ * Determine the order of ShareASaleEvents to fetch.
76250
76378
  */
76251
- orderBy?: CreatorSearchFilterOrderByWithRelationAndSearchRelevanceInput | CreatorSearchFilterOrderByWithRelationAndSearchRelevanceInput[]
76379
+ orderBy?: ShareASaleEventOrderByWithRelationAndSearchRelevanceInput | ShareASaleEventOrderByWithRelationAndSearchRelevanceInput[]
76252
76380
  /**
76253
76381
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
76254
76382
  *
76255
76383
  * Sets the start position
76256
76384
  */
76257
- cursor?: CreatorSearchFilterWhereUniqueInput
76385
+ cursor?: ShareASaleEventWhereUniqueInput
76258
76386
  /**
76259
76387
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
76260
76388
  *
76261
- * Take `±n` CreatorSearchFilters from the position of the cursor.
76389
+ * Take `±n` ShareASaleEvents from the position of the cursor.
76262
76390
  */
76263
76391
  take?: number
76264
76392
  /**
76265
76393
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
76266
76394
  *
76267
- * Skip the first `n` CreatorSearchFilters.
76395
+ * Skip the first `n` ShareASaleEvents.
76268
76396
  */
76269
76397
  skip?: number
76270
76398
  /**
76271
76399
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
76272
76400
  *
76273
- * Count returned CreatorSearchFilters
76401
+ * Count returned ShareASaleEvents
76274
76402
  **/
76275
- _count?: true | CreatorSearchFilterCountAggregateInputType
76403
+ _count?: true | ShareASaleEventCountAggregateInputType
76276
76404
  /**
76277
76405
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
76278
76406
  *
76279
76407
  * Select which fields to average
76280
76408
  **/
76281
- _avg?: CreatorSearchFilterAvgAggregateInputType
76409
+ _avg?: ShareASaleEventAvgAggregateInputType
76282
76410
  /**
76283
76411
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
76284
76412
  *
76285
76413
  * Select which fields to sum
76286
76414
  **/
76287
- _sum?: CreatorSearchFilterSumAggregateInputType
76415
+ _sum?: ShareASaleEventSumAggregateInputType
76288
76416
  /**
76289
76417
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
76290
76418
  *
76291
76419
  * Select which fields to find the minimum value
76292
76420
  **/
76293
- _min?: CreatorSearchFilterMinAggregateInputType
76421
+ _min?: ShareASaleEventMinAggregateInputType
76294
76422
  /**
76295
76423
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
76296
76424
  *
76297
76425
  * Select which fields to find the maximum value
76298
76426
  **/
76299
- _max?: CreatorSearchFilterMaxAggregateInputType
76427
+ _max?: ShareASaleEventMaxAggregateInputType
76300
76428
  }
76301
76429
 
76302
- export type GetCreatorSearchFilterAggregateType<T extends CreatorSearchFilterAggregateArgs> = {
76303
- [P in keyof T & keyof AggregateCreatorSearchFilter]: P extends '_count' | 'count'
76430
+ export type GetShareASaleEventAggregateType<T extends ShareASaleEventAggregateArgs> = {
76431
+ [P in keyof T & keyof AggregateShareASaleEvent]: P extends '_count' | 'count'
76304
76432
  ? T[P] extends true
76305
76433
  ? number
76306
- : GetScalarType<T[P], AggregateCreatorSearchFilter[P]>
76307
- : GetScalarType<T[P], AggregateCreatorSearchFilter[P]>
76434
+ : GetScalarType<T[P], AggregateShareASaleEvent[P]>
76435
+ : GetScalarType<T[P], AggregateShareASaleEvent[P]>
76308
76436
  }
76309
76437
 
76310
76438
 
76311
76439
 
76312
76440
 
76313
- export type CreatorSearchFilterGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76314
- where?: CreatorSearchFilterWhereInput
76315
- orderBy?: CreatorSearchFilterOrderByWithAggregationInput | CreatorSearchFilterOrderByWithAggregationInput[]
76316
- by: CreatorSearchFilterScalarFieldEnum[] | CreatorSearchFilterScalarFieldEnum
76317
- having?: CreatorSearchFilterScalarWhereWithAggregatesInput
76441
+ export type ShareASaleEventGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76442
+ where?: ShareASaleEventWhereInput
76443
+ orderBy?: ShareASaleEventOrderByWithAggregationInput | ShareASaleEventOrderByWithAggregationInput[]
76444
+ by: ShareASaleEventScalarFieldEnum[] | ShareASaleEventScalarFieldEnum
76445
+ having?: ShareASaleEventScalarWhereWithAggregatesInput
76318
76446
  take?: number
76319
76447
  skip?: number
76320
- _count?: CreatorSearchFilterCountAggregateInputType | true
76321
- _avg?: CreatorSearchFilterAvgAggregateInputType
76322
- _sum?: CreatorSearchFilterSumAggregateInputType
76323
- _min?: CreatorSearchFilterMinAggregateInputType
76324
- _max?: CreatorSearchFilterMaxAggregateInputType
76448
+ _count?: ShareASaleEventCountAggregateInputType | true
76449
+ _avg?: ShareASaleEventAvgAggregateInputType
76450
+ _sum?: ShareASaleEventSumAggregateInputType
76451
+ _min?: ShareASaleEventMinAggregateInputType
76452
+ _max?: ShareASaleEventMaxAggregateInputType
76325
76453
  }
76326
76454
 
76327
- export type CreatorSearchFilterGroupByOutputType = {
76455
+ export type ShareASaleEventGroupByOutputType = {
76328
76456
  id: number
76329
- brandId: number
76330
- title: string
76331
- filters: JsonValue
76332
- createdAt: Date
76333
- updatedAt: Date | null
76334
- _count: CreatorSearchFilterCountAggregateOutputType | null
76335
- _avg: CreatorSearchFilterAvgAggregateOutputType | null
76336
- _sum: CreatorSearchFilterSumAggregateOutputType | null
76337
- _min: CreatorSearchFilterMinAggregateOutputType | null
76338
- _max: CreatorSearchFilterMaxAggregateOutputType | null
76457
+ created: Date
76458
+ saleAmount: number | null
76459
+ commission: number | null
76460
+ metaData: JsonValue
76461
+ optInId: number | null
76462
+ _count: ShareASaleEventCountAggregateOutputType | null
76463
+ _avg: ShareASaleEventAvgAggregateOutputType | null
76464
+ _sum: ShareASaleEventSumAggregateOutputType | null
76465
+ _min: ShareASaleEventMinAggregateOutputType | null
76466
+ _max: ShareASaleEventMaxAggregateOutputType | null
76339
76467
  }
76340
76468
 
76341
- type GetCreatorSearchFilterGroupByPayload<T extends CreatorSearchFilterGroupByArgs> = Prisma.PrismaPromise<
76469
+ type GetShareASaleEventGroupByPayload<T extends ShareASaleEventGroupByArgs> = Prisma.PrismaPromise<
76342
76470
  Array<
76343
- PickEnumerable<CreatorSearchFilterGroupByOutputType, T['by']> &
76471
+ PickEnumerable<ShareASaleEventGroupByOutputType, T['by']> &
76344
76472
  {
76345
- [P in ((keyof T) & (keyof CreatorSearchFilterGroupByOutputType))]: P extends '_count'
76473
+ [P in ((keyof T) & (keyof ShareASaleEventGroupByOutputType))]: P extends '_count'
76346
76474
  ? T[P] extends boolean
76347
76475
  ? number
76348
- : GetScalarType<T[P], CreatorSearchFilterGroupByOutputType[P]>
76349
- : GetScalarType<T[P], CreatorSearchFilterGroupByOutputType[P]>
76476
+ : GetScalarType<T[P], ShareASaleEventGroupByOutputType[P]>
76477
+ : GetScalarType<T[P], ShareASaleEventGroupByOutputType[P]>
76350
76478
  }
76351
76479
  >
76352
76480
  >
76353
76481
 
76354
76482
 
76355
- export type CreatorSearchFilterSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
76483
+ export type ShareASaleEventSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
76356
76484
  id?: boolean
76357
- brandId?: boolean
76358
- title?: boolean
76359
- filters?: boolean
76360
- createdAt?: boolean
76361
- updatedAt?: boolean
76362
- brand?: boolean | BrandDefaultArgs<ExtArgs>
76363
- }, ExtArgs["result"]["creatorSearchFilter"]>
76485
+ created?: boolean
76486
+ saleAmount?: boolean
76487
+ commission?: boolean
76488
+ metaData?: boolean
76489
+ optInId?: boolean
76490
+ optIn?: boolean | ShareASaleEvent$optInArgs<ExtArgs>
76491
+ }, ExtArgs["result"]["shareASaleEvent"]>
76364
76492
 
76365
- export type CreatorSearchFilterSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
76493
+ export type ShareASaleEventSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
76366
76494
  id?: boolean
76367
- brandId?: boolean
76368
- title?: boolean
76369
- filters?: boolean
76370
- createdAt?: boolean
76371
- updatedAt?: boolean
76372
- brand?: boolean | BrandDefaultArgs<ExtArgs>
76373
- }, ExtArgs["result"]["creatorSearchFilter"]>
76495
+ created?: boolean
76496
+ saleAmount?: boolean
76497
+ commission?: boolean
76498
+ metaData?: boolean
76499
+ optInId?: boolean
76500
+ optIn?: boolean | ShareASaleEvent$optInArgs<ExtArgs>
76501
+ }, ExtArgs["result"]["shareASaleEvent"]>
76374
76502
 
76375
- export type CreatorSearchFilterSelectScalar = {
76503
+ export type ShareASaleEventSelectScalar = {
76376
76504
  id?: boolean
76377
- brandId?: boolean
76378
- title?: boolean
76379
- filters?: boolean
76380
- createdAt?: boolean
76381
- updatedAt?: boolean
76505
+ created?: boolean
76506
+ saleAmount?: boolean
76507
+ commission?: boolean
76508
+ metaData?: boolean
76509
+ optInId?: boolean
76382
76510
  }
76383
76511
 
76384
- export type CreatorSearchFilterInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76385
- brand?: boolean | BrandDefaultArgs<ExtArgs>
76512
+ export type ShareASaleEventInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76513
+ optIn?: boolean | ShareASaleEvent$optInArgs<ExtArgs>
76386
76514
  }
76387
- export type CreatorSearchFilterIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76388
- brand?: boolean | BrandDefaultArgs<ExtArgs>
76515
+ export type ShareASaleEventIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76516
+ optIn?: boolean | ShareASaleEvent$optInArgs<ExtArgs>
76389
76517
  }
76390
76518
 
76391
- export type $CreatorSearchFilterPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76392
- name: "CreatorSearchFilter"
76519
+ export type $ShareASaleEventPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76520
+ name: "ShareASaleEvent"
76393
76521
  objects: {
76394
- brand: Prisma.$BrandPayload<ExtArgs>
76522
+ optIn: Prisma.$OptInPayload<ExtArgs> | null
76395
76523
  }
76396
76524
  scalars: $Extensions.GetPayloadResult<{
76397
76525
  id: number
76398
- brandId: number
76399
- title: string
76400
- filters: Prisma.JsonValue
76401
- createdAt: Date
76402
- updatedAt: Date | null
76403
- }, ExtArgs["result"]["creatorSearchFilter"]>
76526
+ created: Date
76527
+ saleAmount: number | null
76528
+ commission: number | null
76529
+ metaData: Prisma.JsonValue
76530
+ optInId: number | null
76531
+ }, ExtArgs["result"]["shareASaleEvent"]>
76404
76532
  composites: {}
76405
76533
  }
76406
76534
 
76407
- type CreatorSearchFilterGetPayload<S extends boolean | null | undefined | CreatorSearchFilterDefaultArgs> = $Result.GetResult<Prisma.$CreatorSearchFilterPayload, S>
76535
+ type ShareASaleEventGetPayload<S extends boolean | null | undefined | ShareASaleEventDefaultArgs> = $Result.GetResult<Prisma.$ShareASaleEventPayload, S>
76408
76536
 
76409
- type CreatorSearchFilterCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
76410
- Omit<CreatorSearchFilterFindManyArgs, 'select' | 'include' | 'distinct'> & {
76411
- select?: CreatorSearchFilterCountAggregateInputType | true
76537
+ type ShareASaleEventCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
76538
+ Omit<ShareASaleEventFindManyArgs, 'select' | 'include' | 'distinct'> & {
76539
+ select?: ShareASaleEventCountAggregateInputType | true
76412
76540
  }
76413
76541
 
76414
- export interface CreatorSearchFilterDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
76415
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CreatorSearchFilter'], meta: { name: 'CreatorSearchFilter' } }
76542
+ export interface ShareASaleEventDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
76543
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ShareASaleEvent'], meta: { name: 'ShareASaleEvent' } }
76416
76544
  /**
76417
- * Find zero or one CreatorSearchFilter that matches the filter.
76418
- * @param {CreatorSearchFilterFindUniqueArgs} args - Arguments to find a CreatorSearchFilter
76545
+ * Find zero or one ShareASaleEvent that matches the filter.
76546
+ * @param {ShareASaleEventFindUniqueArgs} args - Arguments to find a ShareASaleEvent
76419
76547
  * @example
76420
- * // Get one CreatorSearchFilter
76421
- * const creatorSearchFilter = await prisma.creatorSearchFilter.findUnique({
76548
+ * // Get one ShareASaleEvent
76549
+ * const shareASaleEvent = await prisma.shareASaleEvent.findUnique({
76422
76550
  * where: {
76423
76551
  * // ... provide filter here
76424
76552
  * }
76425
76553
  * })
76426
76554
  **/
76427
- findUnique<T extends CreatorSearchFilterFindUniqueArgs<ExtArgs>>(
76428
- args: SelectSubset<T, CreatorSearchFilterFindUniqueArgs<ExtArgs>>
76429
- ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
76555
+ findUnique<T extends ShareASaleEventFindUniqueArgs<ExtArgs>>(
76556
+ args: SelectSubset<T, ShareASaleEventFindUniqueArgs<ExtArgs>>
76557
+ ): Prisma__ShareASaleEventClient<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
76430
76558
 
76431
76559
  /**
76432
- * Find one CreatorSearchFilter that matches the filter or throw an error with `error.code='P2025'`
76560
+ * Find one ShareASaleEvent that matches the filter or throw an error with `error.code='P2025'`
76433
76561
  * if no matches were found.
76434
- * @param {CreatorSearchFilterFindUniqueOrThrowArgs} args - Arguments to find a CreatorSearchFilter
76562
+ * @param {ShareASaleEventFindUniqueOrThrowArgs} args - Arguments to find a ShareASaleEvent
76435
76563
  * @example
76436
- * // Get one CreatorSearchFilter
76437
- * const creatorSearchFilter = await prisma.creatorSearchFilter.findUniqueOrThrow({
76564
+ * // Get one ShareASaleEvent
76565
+ * const shareASaleEvent = await prisma.shareASaleEvent.findUniqueOrThrow({
76438
76566
  * where: {
76439
76567
  * // ... provide filter here
76440
76568
  * }
76441
76569
  * })
76442
76570
  **/
76443
- findUniqueOrThrow<T extends CreatorSearchFilterFindUniqueOrThrowArgs<ExtArgs>>(
76444
- args?: SelectSubset<T, CreatorSearchFilterFindUniqueOrThrowArgs<ExtArgs>>
76445
- ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
76571
+ findUniqueOrThrow<T extends ShareASaleEventFindUniqueOrThrowArgs<ExtArgs>>(
76572
+ args?: SelectSubset<T, ShareASaleEventFindUniqueOrThrowArgs<ExtArgs>>
76573
+ ): Prisma__ShareASaleEventClient<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
76446
76574
 
76447
76575
  /**
76448
- * Find the first CreatorSearchFilter that matches the filter.
76576
+ * Find the first ShareASaleEvent that matches the filter.
76449
76577
  * Note, that providing `undefined` is treated as the value not being there.
76450
76578
  * Read more here: https://pris.ly/d/null-undefined
76451
- * @param {CreatorSearchFilterFindFirstArgs} args - Arguments to find a CreatorSearchFilter
76579
+ * @param {ShareASaleEventFindFirstArgs} args - Arguments to find a ShareASaleEvent
76452
76580
  * @example
76453
- * // Get one CreatorSearchFilter
76454
- * const creatorSearchFilter = await prisma.creatorSearchFilter.findFirst({
76581
+ * // Get one ShareASaleEvent
76582
+ * const shareASaleEvent = await prisma.shareASaleEvent.findFirst({
76455
76583
  * where: {
76456
76584
  * // ... provide filter here
76457
76585
  * }
76458
76586
  * })
76459
76587
  **/
76460
- findFirst<T extends CreatorSearchFilterFindFirstArgs<ExtArgs>>(
76461
- args?: SelectSubset<T, CreatorSearchFilterFindFirstArgs<ExtArgs>>
76462
- ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
76588
+ findFirst<T extends ShareASaleEventFindFirstArgs<ExtArgs>>(
76589
+ args?: SelectSubset<T, ShareASaleEventFindFirstArgs<ExtArgs>>
76590
+ ): Prisma__ShareASaleEventClient<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
76463
76591
 
76464
76592
  /**
76465
- * Find the first CreatorSearchFilter that matches the filter or
76593
+ * Find the first ShareASaleEvent that matches the filter or
76466
76594
  * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
76467
76595
  * Note, that providing `undefined` is treated as the value not being there.
76468
76596
  * Read more here: https://pris.ly/d/null-undefined
76469
- * @param {CreatorSearchFilterFindFirstOrThrowArgs} args - Arguments to find a CreatorSearchFilter
76597
+ * @param {ShareASaleEventFindFirstOrThrowArgs} args - Arguments to find a ShareASaleEvent
76470
76598
  * @example
76471
- * // Get one CreatorSearchFilter
76472
- * const creatorSearchFilter = await prisma.creatorSearchFilter.findFirstOrThrow({
76599
+ * // Get one ShareASaleEvent
76600
+ * const shareASaleEvent = await prisma.shareASaleEvent.findFirstOrThrow({
76473
76601
  * where: {
76474
76602
  * // ... provide filter here
76475
76603
  * }
76476
76604
  * })
76477
76605
  **/
76478
- findFirstOrThrow<T extends CreatorSearchFilterFindFirstOrThrowArgs<ExtArgs>>(
76479
- args?: SelectSubset<T, CreatorSearchFilterFindFirstOrThrowArgs<ExtArgs>>
76480
- ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
76606
+ findFirstOrThrow<T extends ShareASaleEventFindFirstOrThrowArgs<ExtArgs>>(
76607
+ args?: SelectSubset<T, ShareASaleEventFindFirstOrThrowArgs<ExtArgs>>
76608
+ ): Prisma__ShareASaleEventClient<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
76481
76609
 
76482
76610
  /**
76483
- * Find zero or more CreatorSearchFilters that matches the filter.
76611
+ * Find zero or more ShareASaleEvents that matches the filter.
76484
76612
  * Note, that providing `undefined` is treated as the value not being there.
76485
76613
  * Read more here: https://pris.ly/d/null-undefined
76486
- * @param {CreatorSearchFilterFindManyArgs} args - Arguments to filter and select certain fields only.
76614
+ * @param {ShareASaleEventFindManyArgs} args - Arguments to filter and select certain fields only.
76487
76615
  * @example
76488
- * // Get all CreatorSearchFilters
76489
- * const creatorSearchFilters = await prisma.creatorSearchFilter.findMany()
76616
+ * // Get all ShareASaleEvents
76617
+ * const shareASaleEvents = await prisma.shareASaleEvent.findMany()
76490
76618
  *
76491
- * // Get first 10 CreatorSearchFilters
76492
- * const creatorSearchFilters = await prisma.creatorSearchFilter.findMany({ take: 10 })
76619
+ * // Get first 10 ShareASaleEvents
76620
+ * const shareASaleEvents = await prisma.shareASaleEvent.findMany({ take: 10 })
76493
76621
  *
76494
76622
  * // Only select the `id`
76495
- * const creatorSearchFilterWithIdOnly = await prisma.creatorSearchFilter.findMany({ select: { id: true } })
76623
+ * const shareASaleEventWithIdOnly = await prisma.shareASaleEvent.findMany({ select: { id: true } })
76496
76624
  *
76497
76625
  **/
76498
- findMany<T extends CreatorSearchFilterFindManyArgs<ExtArgs>>(
76499
- args?: SelectSubset<T, CreatorSearchFilterFindManyArgs<ExtArgs>>
76500
- ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'findMany'>>
76626
+ findMany<T extends ShareASaleEventFindManyArgs<ExtArgs>>(
76627
+ args?: SelectSubset<T, ShareASaleEventFindManyArgs<ExtArgs>>
76628
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'findMany'>>
76501
76629
 
76502
76630
  /**
76503
- * Create a CreatorSearchFilter.
76504
- * @param {CreatorSearchFilterCreateArgs} args - Arguments to create a CreatorSearchFilter.
76631
+ * Create a ShareASaleEvent.
76632
+ * @param {ShareASaleEventCreateArgs} args - Arguments to create a ShareASaleEvent.
76505
76633
  * @example
76506
- * // Create one CreatorSearchFilter
76507
- * const CreatorSearchFilter = await prisma.creatorSearchFilter.create({
76634
+ * // Create one ShareASaleEvent
76635
+ * const ShareASaleEvent = await prisma.shareASaleEvent.create({
76508
76636
  * data: {
76509
- * // ... data to create a CreatorSearchFilter
76637
+ * // ... data to create a ShareASaleEvent
76510
76638
  * }
76511
76639
  * })
76512
76640
  *
76513
76641
  **/
76514
- create<T extends CreatorSearchFilterCreateArgs<ExtArgs>>(
76515
- args: SelectSubset<T, CreatorSearchFilterCreateArgs<ExtArgs>>
76516
- ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
76642
+ create<T extends ShareASaleEventCreateArgs<ExtArgs>>(
76643
+ args: SelectSubset<T, ShareASaleEventCreateArgs<ExtArgs>>
76644
+ ): Prisma__ShareASaleEventClient<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
76517
76645
 
76518
76646
  /**
76519
- * Create many CreatorSearchFilters.
76520
- * @param {CreatorSearchFilterCreateManyArgs} args - Arguments to create many CreatorSearchFilters.
76647
+ * Create many ShareASaleEvents.
76648
+ * @param {ShareASaleEventCreateManyArgs} args - Arguments to create many ShareASaleEvents.
76521
76649
  * @example
76522
- * // Create many CreatorSearchFilters
76523
- * const creatorSearchFilter = await prisma.creatorSearchFilter.createMany({
76650
+ * // Create many ShareASaleEvents
76651
+ * const shareASaleEvent = await prisma.shareASaleEvent.createMany({
76524
76652
  * data: [
76525
76653
  * // ... provide data here
76526
76654
  * ]
76527
76655
  * })
76528
76656
  *
76529
76657
  **/
76530
- createMany<T extends CreatorSearchFilterCreateManyArgs<ExtArgs>>(
76531
- args?: SelectSubset<T, CreatorSearchFilterCreateManyArgs<ExtArgs>>
76658
+ createMany<T extends ShareASaleEventCreateManyArgs<ExtArgs>>(
76659
+ args?: SelectSubset<T, ShareASaleEventCreateManyArgs<ExtArgs>>
76532
76660
  ): Prisma.PrismaPromise<BatchPayload>
76533
76661
 
76534
76662
  /**
76535
- * Create many CreatorSearchFilters and returns the data saved in the database.
76536
- * @param {CreatorSearchFilterCreateManyAndReturnArgs} args - Arguments to create many CreatorSearchFilters.
76663
+ * Create many ShareASaleEvents and returns the data saved in the database.
76664
+ * @param {ShareASaleEventCreateManyAndReturnArgs} args - Arguments to create many ShareASaleEvents.
76537
76665
  * @example
76538
- * // Create many CreatorSearchFilters
76539
- * const creatorSearchFilter = await prisma.creatorSearchFilter.createManyAndReturn({
76666
+ * // Create many ShareASaleEvents
76667
+ * const shareASaleEvent = await prisma.shareASaleEvent.createManyAndReturn({
76540
76668
  * data: [
76541
76669
  * // ... provide data here
76542
76670
  * ]
76543
76671
  * })
76544
76672
  *
76545
- * // Create many CreatorSearchFilters and only return the `id`
76546
- * const creatorSearchFilterWithIdOnly = await prisma.creatorSearchFilter.createManyAndReturn({
76673
+ * // Create many ShareASaleEvents and only return the `id`
76674
+ * const shareASaleEventWithIdOnly = await prisma.shareASaleEvent.createManyAndReturn({
76547
76675
  * select: { id: true },
76548
76676
  * data: [
76549
76677
  * // ... provide data here
@@ -76553,32 +76681,32 @@ export namespace Prisma {
76553
76681
  * Read more here: https://pris.ly/d/null-undefined
76554
76682
  *
76555
76683
  **/
76556
- createManyAndReturn<T extends CreatorSearchFilterCreateManyAndReturnArgs<ExtArgs>>(
76557
- args?: SelectSubset<T, CreatorSearchFilterCreateManyAndReturnArgs<ExtArgs>>
76558
- ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'createManyAndReturn'>>
76684
+ createManyAndReturn<T extends ShareASaleEventCreateManyAndReturnArgs<ExtArgs>>(
76685
+ args?: SelectSubset<T, ShareASaleEventCreateManyAndReturnArgs<ExtArgs>>
76686
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'createManyAndReturn'>>
76559
76687
 
76560
76688
  /**
76561
- * Delete a CreatorSearchFilter.
76562
- * @param {CreatorSearchFilterDeleteArgs} args - Arguments to delete one CreatorSearchFilter.
76689
+ * Delete a ShareASaleEvent.
76690
+ * @param {ShareASaleEventDeleteArgs} args - Arguments to delete one ShareASaleEvent.
76563
76691
  * @example
76564
- * // Delete one CreatorSearchFilter
76565
- * const CreatorSearchFilter = await prisma.creatorSearchFilter.delete({
76692
+ * // Delete one ShareASaleEvent
76693
+ * const ShareASaleEvent = await prisma.shareASaleEvent.delete({
76566
76694
  * where: {
76567
- * // ... filter to delete one CreatorSearchFilter
76695
+ * // ... filter to delete one ShareASaleEvent
76568
76696
  * }
76569
76697
  * })
76570
76698
  *
76571
76699
  **/
76572
- delete<T extends CreatorSearchFilterDeleteArgs<ExtArgs>>(
76573
- args: SelectSubset<T, CreatorSearchFilterDeleteArgs<ExtArgs>>
76574
- ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
76700
+ delete<T extends ShareASaleEventDeleteArgs<ExtArgs>>(
76701
+ args: SelectSubset<T, ShareASaleEventDeleteArgs<ExtArgs>>
76702
+ ): Prisma__ShareASaleEventClient<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
76575
76703
 
76576
76704
  /**
76577
- * Update one CreatorSearchFilter.
76578
- * @param {CreatorSearchFilterUpdateArgs} args - Arguments to update one CreatorSearchFilter.
76705
+ * Update one ShareASaleEvent.
76706
+ * @param {ShareASaleEventUpdateArgs} args - Arguments to update one ShareASaleEvent.
76579
76707
  * @example
76580
- * // Update one CreatorSearchFilter
76581
- * const creatorSearchFilter = await prisma.creatorSearchFilter.update({
76708
+ * // Update one ShareASaleEvent
76709
+ * const shareASaleEvent = await prisma.shareASaleEvent.update({
76582
76710
  * where: {
76583
76711
  * // ... provide filter here
76584
76712
  * },
@@ -76588,34 +76716,34 @@ export namespace Prisma {
76588
76716
  * })
76589
76717
  *
76590
76718
  **/
76591
- update<T extends CreatorSearchFilterUpdateArgs<ExtArgs>>(
76592
- args: SelectSubset<T, CreatorSearchFilterUpdateArgs<ExtArgs>>
76593
- ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
76719
+ update<T extends ShareASaleEventUpdateArgs<ExtArgs>>(
76720
+ args: SelectSubset<T, ShareASaleEventUpdateArgs<ExtArgs>>
76721
+ ): Prisma__ShareASaleEventClient<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
76594
76722
 
76595
76723
  /**
76596
- * Delete zero or more CreatorSearchFilters.
76597
- * @param {CreatorSearchFilterDeleteManyArgs} args - Arguments to filter CreatorSearchFilters to delete.
76724
+ * Delete zero or more ShareASaleEvents.
76725
+ * @param {ShareASaleEventDeleteManyArgs} args - Arguments to filter ShareASaleEvents to delete.
76598
76726
  * @example
76599
- * // Delete a few CreatorSearchFilters
76600
- * const { count } = await prisma.creatorSearchFilter.deleteMany({
76727
+ * // Delete a few ShareASaleEvents
76728
+ * const { count } = await prisma.shareASaleEvent.deleteMany({
76601
76729
  * where: {
76602
76730
  * // ... provide filter here
76603
76731
  * }
76604
76732
  * })
76605
76733
  *
76606
76734
  **/
76607
- deleteMany<T extends CreatorSearchFilterDeleteManyArgs<ExtArgs>>(
76608
- args?: SelectSubset<T, CreatorSearchFilterDeleteManyArgs<ExtArgs>>
76735
+ deleteMany<T extends ShareASaleEventDeleteManyArgs<ExtArgs>>(
76736
+ args?: SelectSubset<T, ShareASaleEventDeleteManyArgs<ExtArgs>>
76609
76737
  ): Prisma.PrismaPromise<BatchPayload>
76610
76738
 
76611
76739
  /**
76612
- * Update zero or more CreatorSearchFilters.
76740
+ * Update zero or more ShareASaleEvents.
76613
76741
  * Note, that providing `undefined` is treated as the value not being there.
76614
76742
  * Read more here: https://pris.ly/d/null-undefined
76615
- * @param {CreatorSearchFilterUpdateManyArgs} args - Arguments to update one or more rows.
76743
+ * @param {ShareASaleEventUpdateManyArgs} args - Arguments to update one or more rows.
76616
76744
  * @example
76617
- * // Update many CreatorSearchFilters
76618
- * const creatorSearchFilter = await prisma.creatorSearchFilter.updateMany({
76745
+ * // Update many ShareASaleEvents
76746
+ * const shareASaleEvent = await prisma.shareASaleEvent.updateMany({
76619
76747
  * where: {
76620
76748
  * // ... provide filter here
76621
76749
  * },
@@ -76625,59 +76753,59 @@ export namespace Prisma {
76625
76753
  * })
76626
76754
  *
76627
76755
  **/
76628
- updateMany<T extends CreatorSearchFilterUpdateManyArgs<ExtArgs>>(
76629
- args: SelectSubset<T, CreatorSearchFilterUpdateManyArgs<ExtArgs>>
76756
+ updateMany<T extends ShareASaleEventUpdateManyArgs<ExtArgs>>(
76757
+ args: SelectSubset<T, ShareASaleEventUpdateManyArgs<ExtArgs>>
76630
76758
  ): Prisma.PrismaPromise<BatchPayload>
76631
76759
 
76632
76760
  /**
76633
- * Create or update one CreatorSearchFilter.
76634
- * @param {CreatorSearchFilterUpsertArgs} args - Arguments to update or create a CreatorSearchFilter.
76761
+ * Create or update one ShareASaleEvent.
76762
+ * @param {ShareASaleEventUpsertArgs} args - Arguments to update or create a ShareASaleEvent.
76635
76763
  * @example
76636
- * // Update or create a CreatorSearchFilter
76637
- * const creatorSearchFilter = await prisma.creatorSearchFilter.upsert({
76764
+ * // Update or create a ShareASaleEvent
76765
+ * const shareASaleEvent = await prisma.shareASaleEvent.upsert({
76638
76766
  * create: {
76639
- * // ... data to create a CreatorSearchFilter
76767
+ * // ... data to create a ShareASaleEvent
76640
76768
  * },
76641
76769
  * update: {
76642
76770
  * // ... in case it already exists, update
76643
76771
  * },
76644
76772
  * where: {
76645
- * // ... the filter for the CreatorSearchFilter we want to update
76773
+ * // ... the filter for the ShareASaleEvent we want to update
76646
76774
  * }
76647
76775
  * })
76648
76776
  **/
76649
- upsert<T extends CreatorSearchFilterUpsertArgs<ExtArgs>>(
76650
- args: SelectSubset<T, CreatorSearchFilterUpsertArgs<ExtArgs>>
76651
- ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
76777
+ upsert<T extends ShareASaleEventUpsertArgs<ExtArgs>>(
76778
+ args: SelectSubset<T, ShareASaleEventUpsertArgs<ExtArgs>>
76779
+ ): Prisma__ShareASaleEventClient<$Result.GetResult<Prisma.$ShareASaleEventPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
76652
76780
 
76653
76781
  /**
76654
- * Count the number of CreatorSearchFilters.
76782
+ * Count the number of ShareASaleEvents.
76655
76783
  * Note, that providing `undefined` is treated as the value not being there.
76656
76784
  * Read more here: https://pris.ly/d/null-undefined
76657
- * @param {CreatorSearchFilterCountArgs} args - Arguments to filter CreatorSearchFilters to count.
76785
+ * @param {ShareASaleEventCountArgs} args - Arguments to filter ShareASaleEvents to count.
76658
76786
  * @example
76659
- * // Count the number of CreatorSearchFilters
76660
- * const count = await prisma.creatorSearchFilter.count({
76787
+ * // Count the number of ShareASaleEvents
76788
+ * const count = await prisma.shareASaleEvent.count({
76661
76789
  * where: {
76662
- * // ... the filter for the CreatorSearchFilters we want to count
76790
+ * // ... the filter for the ShareASaleEvents we want to count
76663
76791
  * }
76664
76792
  * })
76665
76793
  **/
76666
- count<T extends CreatorSearchFilterCountArgs>(
76667
- args?: Subset<T, CreatorSearchFilterCountArgs>,
76794
+ count<T extends ShareASaleEventCountArgs>(
76795
+ args?: Subset<T, ShareASaleEventCountArgs>,
76668
76796
  ): Prisma.PrismaPromise<
76669
76797
  T extends $Utils.Record<'select', any>
76670
76798
  ? T['select'] extends true
76671
76799
  ? number
76672
- : GetScalarType<T['select'], CreatorSearchFilterCountAggregateOutputType>
76800
+ : GetScalarType<T['select'], ShareASaleEventCountAggregateOutputType>
76673
76801
  : number
76674
76802
  >
76675
76803
 
76676
76804
  /**
76677
- * Allows you to perform aggregations operations on a CreatorSearchFilter.
76805
+ * Allows you to perform aggregations operations on a ShareASaleEvent.
76678
76806
  * Note, that providing `undefined` is treated as the value not being there.
76679
76807
  * Read more here: https://pris.ly/d/null-undefined
76680
- * @param {CreatorSearchFilterAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
76808
+ * @param {ShareASaleEventAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
76681
76809
  * @example
76682
76810
  * // Ordered by age ascending
76683
76811
  * // Where email contains prisma.io
@@ -76697,13 +76825,13 @@ export namespace Prisma {
76697
76825
  * take: 10,
76698
76826
  * })
76699
76827
  **/
76700
- aggregate<T extends CreatorSearchFilterAggregateArgs>(args: Subset<T, CreatorSearchFilterAggregateArgs>): Prisma.PrismaPromise<GetCreatorSearchFilterAggregateType<T>>
76828
+ aggregate<T extends ShareASaleEventAggregateArgs>(args: Subset<T, ShareASaleEventAggregateArgs>): Prisma.PrismaPromise<GetShareASaleEventAggregateType<T>>
76701
76829
 
76702
76830
  /**
76703
- * Group by CreatorSearchFilter.
76831
+ * Group by ShareASaleEvent.
76704
76832
  * Note, that providing `undefined` is treated as the value not being there.
76705
76833
  * Read more here: https://pris.ly/d/null-undefined
76706
- * @param {CreatorSearchFilterGroupByArgs} args - Group by arguments.
76834
+ * @param {ShareASaleEventGroupByArgs} args - Group by arguments.
76707
76835
  * @example
76708
76836
  * // Group by city, order by createdAt, get count
76709
76837
  * const result = await prisma.user.groupBy({
@@ -76718,14 +76846,1034 @@ export namespace Prisma {
76718
76846
  *
76719
76847
  **/
76720
76848
  groupBy<
76721
- T extends CreatorSearchFilterGroupByArgs,
76849
+ T extends ShareASaleEventGroupByArgs,
76722
76850
  HasSelectOrTake extends Or<
76723
76851
  Extends<'skip', Keys<T>>,
76724
76852
  Extends<'take', Keys<T>>
76725
76853
  >,
76726
76854
  OrderByArg extends True extends HasSelectOrTake
76727
- ? { orderBy: CreatorSearchFilterGroupByArgs['orderBy'] }
76728
- : { orderBy?: CreatorSearchFilterGroupByArgs['orderBy'] },
76855
+ ? { orderBy: ShareASaleEventGroupByArgs['orderBy'] }
76856
+ : { orderBy?: ShareASaleEventGroupByArgs['orderBy'] },
76857
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
76858
+ ByFields extends MaybeTupleToUnion<T['by']>,
76859
+ ByValid extends Has<ByFields, OrderFields>,
76860
+ HavingFields extends GetHavingFields<T['having']>,
76861
+ HavingValid extends Has<ByFields, HavingFields>,
76862
+ ByEmpty extends T['by'] extends never[] ? True : False,
76863
+ InputErrors extends ByEmpty extends True
76864
+ ? `Error: "by" must not be empty.`
76865
+ : HavingValid extends False
76866
+ ? {
76867
+ [P in HavingFields]: P extends ByFields
76868
+ ? never
76869
+ : P extends string
76870
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
76871
+ : [
76872
+ Error,
76873
+ 'Field ',
76874
+ P,
76875
+ ` in "having" needs to be provided in "by"`,
76876
+ ]
76877
+ }[HavingFields]
76878
+ : 'take' extends Keys<T>
76879
+ ? 'orderBy' extends Keys<T>
76880
+ ? ByValid extends True
76881
+ ? {}
76882
+ : {
76883
+ [P in OrderFields]: P extends ByFields
76884
+ ? never
76885
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
76886
+ }[OrderFields]
76887
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
76888
+ : 'skip' extends Keys<T>
76889
+ ? 'orderBy' extends Keys<T>
76890
+ ? ByValid extends True
76891
+ ? {}
76892
+ : {
76893
+ [P in OrderFields]: P extends ByFields
76894
+ ? never
76895
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
76896
+ }[OrderFields]
76897
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
76898
+ : ByValid extends True
76899
+ ? {}
76900
+ : {
76901
+ [P in OrderFields]: P extends ByFields
76902
+ ? never
76903
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
76904
+ }[OrderFields]
76905
+ >(args: SubsetIntersection<T, ShareASaleEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShareASaleEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
76906
+ /**
76907
+ * Fields of the ShareASaleEvent model
76908
+ */
76909
+ readonly fields: ShareASaleEventFieldRefs;
76910
+ }
76911
+
76912
+ /**
76913
+ * The delegate class that acts as a "Promise-like" for ShareASaleEvent.
76914
+ * Why is this prefixed with `Prisma__`?
76915
+ * Because we want to prevent naming conflicts as mentioned in
76916
+ * https://github.com/prisma/prisma-client-js/issues/707
76917
+ */
76918
+ export interface Prisma__ShareASaleEventClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
76919
+ readonly [Symbol.toStringTag]: 'PrismaPromise';
76920
+
76921
+ optIn<T extends ShareASaleEvent$optInArgs<ExtArgs> = {}>(args?: Subset<T, ShareASaleEvent$optInArgs<ExtArgs>>): Prisma__OptInClient<$Result.GetResult<Prisma.$OptInPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
76922
+
76923
+ /**
76924
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
76925
+ * @param onfulfilled The callback to execute when the Promise is resolved.
76926
+ * @param onrejected The callback to execute when the Promise is rejected.
76927
+ * @returns A Promise for the completion of which ever callback is executed.
76928
+ */
76929
+ 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>;
76930
+ /**
76931
+ * Attaches a callback for only the rejection of the Promise.
76932
+ * @param onrejected The callback to execute when the Promise is rejected.
76933
+ * @returns A Promise for the completion of the callback.
76934
+ */
76935
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
76936
+ /**
76937
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
76938
+ * resolved value cannot be modified from the callback.
76939
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
76940
+ * @returns A Promise for the completion of the callback.
76941
+ */
76942
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
76943
+ }
76944
+
76945
+
76946
+
76947
+ /**
76948
+ * Fields of the ShareASaleEvent model
76949
+ */
76950
+ interface ShareASaleEventFieldRefs {
76951
+ readonly id: FieldRef<"ShareASaleEvent", 'Int'>
76952
+ readonly created: FieldRef<"ShareASaleEvent", 'DateTime'>
76953
+ readonly saleAmount: FieldRef<"ShareASaleEvent", 'Float'>
76954
+ readonly commission: FieldRef<"ShareASaleEvent", 'Float'>
76955
+ readonly metaData: FieldRef<"ShareASaleEvent", 'Json'>
76956
+ readonly optInId: FieldRef<"ShareASaleEvent", 'Int'>
76957
+ }
76958
+
76959
+
76960
+ // Custom InputTypes
76961
+ /**
76962
+ * ShareASaleEvent findUnique
76963
+ */
76964
+ export type ShareASaleEventFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76965
+ /**
76966
+ * Select specific fields to fetch from the ShareASaleEvent
76967
+ */
76968
+ select?: ShareASaleEventSelect<ExtArgs> | null
76969
+ /**
76970
+ * Choose, which related nodes to fetch as well
76971
+ */
76972
+ include?: ShareASaleEventInclude<ExtArgs> | null
76973
+ /**
76974
+ * Filter, which ShareASaleEvent to fetch.
76975
+ */
76976
+ where: ShareASaleEventWhereUniqueInput
76977
+ }
76978
+
76979
+ /**
76980
+ * ShareASaleEvent findUniqueOrThrow
76981
+ */
76982
+ export type ShareASaleEventFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76983
+ /**
76984
+ * Select specific fields to fetch from the ShareASaleEvent
76985
+ */
76986
+ select?: ShareASaleEventSelect<ExtArgs> | null
76987
+ /**
76988
+ * Choose, which related nodes to fetch as well
76989
+ */
76990
+ include?: ShareASaleEventInclude<ExtArgs> | null
76991
+ /**
76992
+ * Filter, which ShareASaleEvent to fetch.
76993
+ */
76994
+ where: ShareASaleEventWhereUniqueInput
76995
+ }
76996
+
76997
+ /**
76998
+ * ShareASaleEvent findFirst
76999
+ */
77000
+ export type ShareASaleEventFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77001
+ /**
77002
+ * Select specific fields to fetch from the ShareASaleEvent
77003
+ */
77004
+ select?: ShareASaleEventSelect<ExtArgs> | null
77005
+ /**
77006
+ * Choose, which related nodes to fetch as well
77007
+ */
77008
+ include?: ShareASaleEventInclude<ExtArgs> | null
77009
+ /**
77010
+ * Filter, which ShareASaleEvent to fetch.
77011
+ */
77012
+ where?: ShareASaleEventWhereInput
77013
+ /**
77014
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
77015
+ *
77016
+ * Determine the order of ShareASaleEvents to fetch.
77017
+ */
77018
+ orderBy?: ShareASaleEventOrderByWithRelationAndSearchRelevanceInput | ShareASaleEventOrderByWithRelationAndSearchRelevanceInput[]
77019
+ /**
77020
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
77021
+ *
77022
+ * Sets the position for searching for ShareASaleEvents.
77023
+ */
77024
+ cursor?: ShareASaleEventWhereUniqueInput
77025
+ /**
77026
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
77027
+ *
77028
+ * Take `±n` ShareASaleEvents from the position of the cursor.
77029
+ */
77030
+ take?: number
77031
+ /**
77032
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
77033
+ *
77034
+ * Skip the first `n` ShareASaleEvents.
77035
+ */
77036
+ skip?: number
77037
+ /**
77038
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
77039
+ *
77040
+ * Filter by unique combinations of ShareASaleEvents.
77041
+ */
77042
+ distinct?: ShareASaleEventScalarFieldEnum | ShareASaleEventScalarFieldEnum[]
77043
+ }
77044
+
77045
+ /**
77046
+ * ShareASaleEvent findFirstOrThrow
77047
+ */
77048
+ export type ShareASaleEventFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77049
+ /**
77050
+ * Select specific fields to fetch from the ShareASaleEvent
77051
+ */
77052
+ select?: ShareASaleEventSelect<ExtArgs> | null
77053
+ /**
77054
+ * Choose, which related nodes to fetch as well
77055
+ */
77056
+ include?: ShareASaleEventInclude<ExtArgs> | null
77057
+ /**
77058
+ * Filter, which ShareASaleEvent to fetch.
77059
+ */
77060
+ where?: ShareASaleEventWhereInput
77061
+ /**
77062
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
77063
+ *
77064
+ * Determine the order of ShareASaleEvents to fetch.
77065
+ */
77066
+ orderBy?: ShareASaleEventOrderByWithRelationAndSearchRelevanceInput | ShareASaleEventOrderByWithRelationAndSearchRelevanceInput[]
77067
+ /**
77068
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
77069
+ *
77070
+ * Sets the position for searching for ShareASaleEvents.
77071
+ */
77072
+ cursor?: ShareASaleEventWhereUniqueInput
77073
+ /**
77074
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
77075
+ *
77076
+ * Take `±n` ShareASaleEvents from the position of the cursor.
77077
+ */
77078
+ take?: number
77079
+ /**
77080
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
77081
+ *
77082
+ * Skip the first `n` ShareASaleEvents.
77083
+ */
77084
+ skip?: number
77085
+ /**
77086
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
77087
+ *
77088
+ * Filter by unique combinations of ShareASaleEvents.
77089
+ */
77090
+ distinct?: ShareASaleEventScalarFieldEnum | ShareASaleEventScalarFieldEnum[]
77091
+ }
77092
+
77093
+ /**
77094
+ * ShareASaleEvent findMany
77095
+ */
77096
+ export type ShareASaleEventFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77097
+ /**
77098
+ * Select specific fields to fetch from the ShareASaleEvent
77099
+ */
77100
+ select?: ShareASaleEventSelect<ExtArgs> | null
77101
+ /**
77102
+ * Choose, which related nodes to fetch as well
77103
+ */
77104
+ include?: ShareASaleEventInclude<ExtArgs> | null
77105
+ /**
77106
+ * Filter, which ShareASaleEvents to fetch.
77107
+ */
77108
+ where?: ShareASaleEventWhereInput
77109
+ /**
77110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
77111
+ *
77112
+ * Determine the order of ShareASaleEvents to fetch.
77113
+ */
77114
+ orderBy?: ShareASaleEventOrderByWithRelationAndSearchRelevanceInput | ShareASaleEventOrderByWithRelationAndSearchRelevanceInput[]
77115
+ /**
77116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
77117
+ *
77118
+ * Sets the position for listing ShareASaleEvents.
77119
+ */
77120
+ cursor?: ShareASaleEventWhereUniqueInput
77121
+ /**
77122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
77123
+ *
77124
+ * Take `±n` ShareASaleEvents from the position of the cursor.
77125
+ */
77126
+ take?: number
77127
+ /**
77128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
77129
+ *
77130
+ * Skip the first `n` ShareASaleEvents.
77131
+ */
77132
+ skip?: number
77133
+ distinct?: ShareASaleEventScalarFieldEnum | ShareASaleEventScalarFieldEnum[]
77134
+ }
77135
+
77136
+ /**
77137
+ * ShareASaleEvent create
77138
+ */
77139
+ export type ShareASaleEventCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77140
+ /**
77141
+ * Select specific fields to fetch from the ShareASaleEvent
77142
+ */
77143
+ select?: ShareASaleEventSelect<ExtArgs> | null
77144
+ /**
77145
+ * Choose, which related nodes to fetch as well
77146
+ */
77147
+ include?: ShareASaleEventInclude<ExtArgs> | null
77148
+ /**
77149
+ * The data needed to create a ShareASaleEvent.
77150
+ */
77151
+ data?: XOR<ShareASaleEventCreateInput, ShareASaleEventUncheckedCreateInput>
77152
+ }
77153
+
77154
+ /**
77155
+ * ShareASaleEvent createMany
77156
+ */
77157
+ export type ShareASaleEventCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77158
+ /**
77159
+ * The data used to create many ShareASaleEvents.
77160
+ */
77161
+ data: ShareASaleEventCreateManyInput | ShareASaleEventCreateManyInput[]
77162
+ skipDuplicates?: boolean
77163
+ }
77164
+
77165
+ /**
77166
+ * ShareASaleEvent createManyAndReturn
77167
+ */
77168
+ export type ShareASaleEventCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77169
+ /**
77170
+ * Select specific fields to fetch from the ShareASaleEvent
77171
+ */
77172
+ select?: ShareASaleEventSelectCreateManyAndReturn<ExtArgs> | null
77173
+ /**
77174
+ * The data used to create many ShareASaleEvents.
77175
+ */
77176
+ data: ShareASaleEventCreateManyInput | ShareASaleEventCreateManyInput[]
77177
+ skipDuplicates?: boolean
77178
+ /**
77179
+ * Choose, which related nodes to fetch as well
77180
+ */
77181
+ include?: ShareASaleEventIncludeCreateManyAndReturn<ExtArgs> | null
77182
+ }
77183
+
77184
+ /**
77185
+ * ShareASaleEvent update
77186
+ */
77187
+ export type ShareASaleEventUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77188
+ /**
77189
+ * Select specific fields to fetch from the ShareASaleEvent
77190
+ */
77191
+ select?: ShareASaleEventSelect<ExtArgs> | null
77192
+ /**
77193
+ * Choose, which related nodes to fetch as well
77194
+ */
77195
+ include?: ShareASaleEventInclude<ExtArgs> | null
77196
+ /**
77197
+ * The data needed to update a ShareASaleEvent.
77198
+ */
77199
+ data: XOR<ShareASaleEventUpdateInput, ShareASaleEventUncheckedUpdateInput>
77200
+ /**
77201
+ * Choose, which ShareASaleEvent to update.
77202
+ */
77203
+ where: ShareASaleEventWhereUniqueInput
77204
+ }
77205
+
77206
+ /**
77207
+ * ShareASaleEvent updateMany
77208
+ */
77209
+ export type ShareASaleEventUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77210
+ /**
77211
+ * The data used to update ShareASaleEvents.
77212
+ */
77213
+ data: XOR<ShareASaleEventUpdateManyMutationInput, ShareASaleEventUncheckedUpdateManyInput>
77214
+ /**
77215
+ * Filter which ShareASaleEvents to update
77216
+ */
77217
+ where?: ShareASaleEventWhereInput
77218
+ }
77219
+
77220
+ /**
77221
+ * ShareASaleEvent upsert
77222
+ */
77223
+ export type ShareASaleEventUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77224
+ /**
77225
+ * Select specific fields to fetch from the ShareASaleEvent
77226
+ */
77227
+ select?: ShareASaleEventSelect<ExtArgs> | null
77228
+ /**
77229
+ * Choose, which related nodes to fetch as well
77230
+ */
77231
+ include?: ShareASaleEventInclude<ExtArgs> | null
77232
+ /**
77233
+ * The filter to search for the ShareASaleEvent to update in case it exists.
77234
+ */
77235
+ where: ShareASaleEventWhereUniqueInput
77236
+ /**
77237
+ * In case the ShareASaleEvent found by the `where` argument doesn't exist, create a new ShareASaleEvent with this data.
77238
+ */
77239
+ create: XOR<ShareASaleEventCreateInput, ShareASaleEventUncheckedCreateInput>
77240
+ /**
77241
+ * In case the ShareASaleEvent was found with the provided `where` argument, update it with this data.
77242
+ */
77243
+ update: XOR<ShareASaleEventUpdateInput, ShareASaleEventUncheckedUpdateInput>
77244
+ }
77245
+
77246
+ /**
77247
+ * ShareASaleEvent delete
77248
+ */
77249
+ export type ShareASaleEventDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77250
+ /**
77251
+ * Select specific fields to fetch from the ShareASaleEvent
77252
+ */
77253
+ select?: ShareASaleEventSelect<ExtArgs> | null
77254
+ /**
77255
+ * Choose, which related nodes to fetch as well
77256
+ */
77257
+ include?: ShareASaleEventInclude<ExtArgs> | null
77258
+ /**
77259
+ * Filter which ShareASaleEvent to delete.
77260
+ */
77261
+ where: ShareASaleEventWhereUniqueInput
77262
+ }
77263
+
77264
+ /**
77265
+ * ShareASaleEvent deleteMany
77266
+ */
77267
+ export type ShareASaleEventDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77268
+ /**
77269
+ * Filter which ShareASaleEvents to delete
77270
+ */
77271
+ where?: ShareASaleEventWhereInput
77272
+ }
77273
+
77274
+ /**
77275
+ * ShareASaleEvent.optIn
77276
+ */
77277
+ export type ShareASaleEvent$optInArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77278
+ /**
77279
+ * Select specific fields to fetch from the OptIn
77280
+ */
77281
+ select?: OptInSelect<ExtArgs> | null
77282
+ /**
77283
+ * Choose, which related nodes to fetch as well
77284
+ */
77285
+ include?: OptInInclude<ExtArgs> | null
77286
+ where?: OptInWhereInput
77287
+ }
77288
+
77289
+ /**
77290
+ * ShareASaleEvent without action
77291
+ */
77292
+ export type ShareASaleEventDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77293
+ /**
77294
+ * Select specific fields to fetch from the ShareASaleEvent
77295
+ */
77296
+ select?: ShareASaleEventSelect<ExtArgs> | null
77297
+ /**
77298
+ * Choose, which related nodes to fetch as well
77299
+ */
77300
+ include?: ShareASaleEventInclude<ExtArgs> | null
77301
+ }
77302
+
77303
+
77304
+ /**
77305
+ * Model CreatorSearchFilter
77306
+ */
77307
+
77308
+ export type AggregateCreatorSearchFilter = {
77309
+ _count: CreatorSearchFilterCountAggregateOutputType | null
77310
+ _avg: CreatorSearchFilterAvgAggregateOutputType | null
77311
+ _sum: CreatorSearchFilterSumAggregateOutputType | null
77312
+ _min: CreatorSearchFilterMinAggregateOutputType | null
77313
+ _max: CreatorSearchFilterMaxAggregateOutputType | null
77314
+ }
77315
+
77316
+ export type CreatorSearchFilterAvgAggregateOutputType = {
77317
+ id: number | null
77318
+ brandId: number | null
77319
+ }
77320
+
77321
+ export type CreatorSearchFilterSumAggregateOutputType = {
77322
+ id: number | null
77323
+ brandId: number | null
77324
+ }
77325
+
77326
+ export type CreatorSearchFilterMinAggregateOutputType = {
77327
+ id: number | null
77328
+ brandId: number | null
77329
+ title: string | null
77330
+ createdAt: Date | null
77331
+ updatedAt: Date | null
77332
+ }
77333
+
77334
+ export type CreatorSearchFilterMaxAggregateOutputType = {
77335
+ id: number | null
77336
+ brandId: number | null
77337
+ title: string | null
77338
+ createdAt: Date | null
77339
+ updatedAt: Date | null
77340
+ }
77341
+
77342
+ export type CreatorSearchFilterCountAggregateOutputType = {
77343
+ id: number
77344
+ brandId: number
77345
+ title: number
77346
+ filters: number
77347
+ createdAt: number
77348
+ updatedAt: number
77349
+ _all: number
77350
+ }
77351
+
77352
+
77353
+ export type CreatorSearchFilterAvgAggregateInputType = {
77354
+ id?: true
77355
+ brandId?: true
77356
+ }
77357
+
77358
+ export type CreatorSearchFilterSumAggregateInputType = {
77359
+ id?: true
77360
+ brandId?: true
77361
+ }
77362
+
77363
+ export type CreatorSearchFilterMinAggregateInputType = {
77364
+ id?: true
77365
+ brandId?: true
77366
+ title?: true
77367
+ createdAt?: true
77368
+ updatedAt?: true
77369
+ }
77370
+
77371
+ export type CreatorSearchFilterMaxAggregateInputType = {
77372
+ id?: true
77373
+ brandId?: true
77374
+ title?: true
77375
+ createdAt?: true
77376
+ updatedAt?: true
77377
+ }
77378
+
77379
+ export type CreatorSearchFilterCountAggregateInputType = {
77380
+ id?: true
77381
+ brandId?: true
77382
+ title?: true
77383
+ filters?: true
77384
+ createdAt?: true
77385
+ updatedAt?: true
77386
+ _all?: true
77387
+ }
77388
+
77389
+ export type CreatorSearchFilterAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77390
+ /**
77391
+ * Filter which CreatorSearchFilter to aggregate.
77392
+ */
77393
+ where?: CreatorSearchFilterWhereInput
77394
+ /**
77395
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
77396
+ *
77397
+ * Determine the order of CreatorSearchFilters to fetch.
77398
+ */
77399
+ orderBy?: CreatorSearchFilterOrderByWithRelationAndSearchRelevanceInput | CreatorSearchFilterOrderByWithRelationAndSearchRelevanceInput[]
77400
+ /**
77401
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
77402
+ *
77403
+ * Sets the start position
77404
+ */
77405
+ cursor?: CreatorSearchFilterWhereUniqueInput
77406
+ /**
77407
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
77408
+ *
77409
+ * Take `±n` CreatorSearchFilters from the position of the cursor.
77410
+ */
77411
+ take?: number
77412
+ /**
77413
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
77414
+ *
77415
+ * Skip the first `n` CreatorSearchFilters.
77416
+ */
77417
+ skip?: number
77418
+ /**
77419
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
77420
+ *
77421
+ * Count returned CreatorSearchFilters
77422
+ **/
77423
+ _count?: true | CreatorSearchFilterCountAggregateInputType
77424
+ /**
77425
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
77426
+ *
77427
+ * Select which fields to average
77428
+ **/
77429
+ _avg?: CreatorSearchFilterAvgAggregateInputType
77430
+ /**
77431
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
77432
+ *
77433
+ * Select which fields to sum
77434
+ **/
77435
+ _sum?: CreatorSearchFilterSumAggregateInputType
77436
+ /**
77437
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
77438
+ *
77439
+ * Select which fields to find the minimum value
77440
+ **/
77441
+ _min?: CreatorSearchFilterMinAggregateInputType
77442
+ /**
77443
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
77444
+ *
77445
+ * Select which fields to find the maximum value
77446
+ **/
77447
+ _max?: CreatorSearchFilterMaxAggregateInputType
77448
+ }
77449
+
77450
+ export type GetCreatorSearchFilterAggregateType<T extends CreatorSearchFilterAggregateArgs> = {
77451
+ [P in keyof T & keyof AggregateCreatorSearchFilter]: P extends '_count' | 'count'
77452
+ ? T[P] extends true
77453
+ ? number
77454
+ : GetScalarType<T[P], AggregateCreatorSearchFilter[P]>
77455
+ : GetScalarType<T[P], AggregateCreatorSearchFilter[P]>
77456
+ }
77457
+
77458
+
77459
+
77460
+
77461
+ export type CreatorSearchFilterGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77462
+ where?: CreatorSearchFilterWhereInput
77463
+ orderBy?: CreatorSearchFilterOrderByWithAggregationInput | CreatorSearchFilterOrderByWithAggregationInput[]
77464
+ by: CreatorSearchFilterScalarFieldEnum[] | CreatorSearchFilterScalarFieldEnum
77465
+ having?: CreatorSearchFilterScalarWhereWithAggregatesInput
77466
+ take?: number
77467
+ skip?: number
77468
+ _count?: CreatorSearchFilterCountAggregateInputType | true
77469
+ _avg?: CreatorSearchFilterAvgAggregateInputType
77470
+ _sum?: CreatorSearchFilterSumAggregateInputType
77471
+ _min?: CreatorSearchFilterMinAggregateInputType
77472
+ _max?: CreatorSearchFilterMaxAggregateInputType
77473
+ }
77474
+
77475
+ export type CreatorSearchFilterGroupByOutputType = {
77476
+ id: number
77477
+ brandId: number
77478
+ title: string
77479
+ filters: JsonValue
77480
+ createdAt: Date
77481
+ updatedAt: Date | null
77482
+ _count: CreatorSearchFilterCountAggregateOutputType | null
77483
+ _avg: CreatorSearchFilterAvgAggregateOutputType | null
77484
+ _sum: CreatorSearchFilterSumAggregateOutputType | null
77485
+ _min: CreatorSearchFilterMinAggregateOutputType | null
77486
+ _max: CreatorSearchFilterMaxAggregateOutputType | null
77487
+ }
77488
+
77489
+ type GetCreatorSearchFilterGroupByPayload<T extends CreatorSearchFilterGroupByArgs> = Prisma.PrismaPromise<
77490
+ Array<
77491
+ PickEnumerable<CreatorSearchFilterGroupByOutputType, T['by']> &
77492
+ {
77493
+ [P in ((keyof T) & (keyof CreatorSearchFilterGroupByOutputType))]: P extends '_count'
77494
+ ? T[P] extends boolean
77495
+ ? number
77496
+ : GetScalarType<T[P], CreatorSearchFilterGroupByOutputType[P]>
77497
+ : GetScalarType<T[P], CreatorSearchFilterGroupByOutputType[P]>
77498
+ }
77499
+ >
77500
+ >
77501
+
77502
+
77503
+ export type CreatorSearchFilterSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
77504
+ id?: boolean
77505
+ brandId?: boolean
77506
+ title?: boolean
77507
+ filters?: boolean
77508
+ createdAt?: boolean
77509
+ updatedAt?: boolean
77510
+ brand?: boolean | BrandDefaultArgs<ExtArgs>
77511
+ }, ExtArgs["result"]["creatorSearchFilter"]>
77512
+
77513
+ export type CreatorSearchFilterSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
77514
+ id?: boolean
77515
+ brandId?: boolean
77516
+ title?: boolean
77517
+ filters?: boolean
77518
+ createdAt?: boolean
77519
+ updatedAt?: boolean
77520
+ brand?: boolean | BrandDefaultArgs<ExtArgs>
77521
+ }, ExtArgs["result"]["creatorSearchFilter"]>
77522
+
77523
+ export type CreatorSearchFilterSelectScalar = {
77524
+ id?: boolean
77525
+ brandId?: boolean
77526
+ title?: boolean
77527
+ filters?: boolean
77528
+ createdAt?: boolean
77529
+ updatedAt?: boolean
77530
+ }
77531
+
77532
+ export type CreatorSearchFilterInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77533
+ brand?: boolean | BrandDefaultArgs<ExtArgs>
77534
+ }
77535
+ export type CreatorSearchFilterIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77536
+ brand?: boolean | BrandDefaultArgs<ExtArgs>
77537
+ }
77538
+
77539
+ export type $CreatorSearchFilterPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
77540
+ name: "CreatorSearchFilter"
77541
+ objects: {
77542
+ brand: Prisma.$BrandPayload<ExtArgs>
77543
+ }
77544
+ scalars: $Extensions.GetPayloadResult<{
77545
+ id: number
77546
+ brandId: number
77547
+ title: string
77548
+ filters: Prisma.JsonValue
77549
+ createdAt: Date
77550
+ updatedAt: Date | null
77551
+ }, ExtArgs["result"]["creatorSearchFilter"]>
77552
+ composites: {}
77553
+ }
77554
+
77555
+ type CreatorSearchFilterGetPayload<S extends boolean | null | undefined | CreatorSearchFilterDefaultArgs> = $Result.GetResult<Prisma.$CreatorSearchFilterPayload, S>
77556
+
77557
+ type CreatorSearchFilterCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
77558
+ Omit<CreatorSearchFilterFindManyArgs, 'select' | 'include' | 'distinct'> & {
77559
+ select?: CreatorSearchFilterCountAggregateInputType | true
77560
+ }
77561
+
77562
+ export interface CreatorSearchFilterDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
77563
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CreatorSearchFilter'], meta: { name: 'CreatorSearchFilter' } }
77564
+ /**
77565
+ * Find zero or one CreatorSearchFilter that matches the filter.
77566
+ * @param {CreatorSearchFilterFindUniqueArgs} args - Arguments to find a CreatorSearchFilter
77567
+ * @example
77568
+ * // Get one CreatorSearchFilter
77569
+ * const creatorSearchFilter = await prisma.creatorSearchFilter.findUnique({
77570
+ * where: {
77571
+ * // ... provide filter here
77572
+ * }
77573
+ * })
77574
+ **/
77575
+ findUnique<T extends CreatorSearchFilterFindUniqueArgs<ExtArgs>>(
77576
+ args: SelectSubset<T, CreatorSearchFilterFindUniqueArgs<ExtArgs>>
77577
+ ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
77578
+
77579
+ /**
77580
+ * Find one CreatorSearchFilter that matches the filter or throw an error with `error.code='P2025'`
77581
+ * if no matches were found.
77582
+ * @param {CreatorSearchFilterFindUniqueOrThrowArgs} args - Arguments to find a CreatorSearchFilter
77583
+ * @example
77584
+ * // Get one CreatorSearchFilter
77585
+ * const creatorSearchFilter = await prisma.creatorSearchFilter.findUniqueOrThrow({
77586
+ * where: {
77587
+ * // ... provide filter here
77588
+ * }
77589
+ * })
77590
+ **/
77591
+ findUniqueOrThrow<T extends CreatorSearchFilterFindUniqueOrThrowArgs<ExtArgs>>(
77592
+ args?: SelectSubset<T, CreatorSearchFilterFindUniqueOrThrowArgs<ExtArgs>>
77593
+ ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
77594
+
77595
+ /**
77596
+ * Find the first CreatorSearchFilter that matches the filter.
77597
+ * Note, that providing `undefined` is treated as the value not being there.
77598
+ * Read more here: https://pris.ly/d/null-undefined
77599
+ * @param {CreatorSearchFilterFindFirstArgs} args - Arguments to find a CreatorSearchFilter
77600
+ * @example
77601
+ * // Get one CreatorSearchFilter
77602
+ * const creatorSearchFilter = await prisma.creatorSearchFilter.findFirst({
77603
+ * where: {
77604
+ * // ... provide filter here
77605
+ * }
77606
+ * })
77607
+ **/
77608
+ findFirst<T extends CreatorSearchFilterFindFirstArgs<ExtArgs>>(
77609
+ args?: SelectSubset<T, CreatorSearchFilterFindFirstArgs<ExtArgs>>
77610
+ ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
77611
+
77612
+ /**
77613
+ * Find the first CreatorSearchFilter that matches the filter or
77614
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
77615
+ * Note, that providing `undefined` is treated as the value not being there.
77616
+ * Read more here: https://pris.ly/d/null-undefined
77617
+ * @param {CreatorSearchFilterFindFirstOrThrowArgs} args - Arguments to find a CreatorSearchFilter
77618
+ * @example
77619
+ * // Get one CreatorSearchFilter
77620
+ * const creatorSearchFilter = await prisma.creatorSearchFilter.findFirstOrThrow({
77621
+ * where: {
77622
+ * // ... provide filter here
77623
+ * }
77624
+ * })
77625
+ **/
77626
+ findFirstOrThrow<T extends CreatorSearchFilterFindFirstOrThrowArgs<ExtArgs>>(
77627
+ args?: SelectSubset<T, CreatorSearchFilterFindFirstOrThrowArgs<ExtArgs>>
77628
+ ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
77629
+
77630
+ /**
77631
+ * Find zero or more CreatorSearchFilters that matches the filter.
77632
+ * Note, that providing `undefined` is treated as the value not being there.
77633
+ * Read more here: https://pris.ly/d/null-undefined
77634
+ * @param {CreatorSearchFilterFindManyArgs} args - Arguments to filter and select certain fields only.
77635
+ * @example
77636
+ * // Get all CreatorSearchFilters
77637
+ * const creatorSearchFilters = await prisma.creatorSearchFilter.findMany()
77638
+ *
77639
+ * // Get first 10 CreatorSearchFilters
77640
+ * const creatorSearchFilters = await prisma.creatorSearchFilter.findMany({ take: 10 })
77641
+ *
77642
+ * // Only select the `id`
77643
+ * const creatorSearchFilterWithIdOnly = await prisma.creatorSearchFilter.findMany({ select: { id: true } })
77644
+ *
77645
+ **/
77646
+ findMany<T extends CreatorSearchFilterFindManyArgs<ExtArgs>>(
77647
+ args?: SelectSubset<T, CreatorSearchFilterFindManyArgs<ExtArgs>>
77648
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'findMany'>>
77649
+
77650
+ /**
77651
+ * Create a CreatorSearchFilter.
77652
+ * @param {CreatorSearchFilterCreateArgs} args - Arguments to create a CreatorSearchFilter.
77653
+ * @example
77654
+ * // Create one CreatorSearchFilter
77655
+ * const CreatorSearchFilter = await prisma.creatorSearchFilter.create({
77656
+ * data: {
77657
+ * // ... data to create a CreatorSearchFilter
77658
+ * }
77659
+ * })
77660
+ *
77661
+ **/
77662
+ create<T extends CreatorSearchFilterCreateArgs<ExtArgs>>(
77663
+ args: SelectSubset<T, CreatorSearchFilterCreateArgs<ExtArgs>>
77664
+ ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
77665
+
77666
+ /**
77667
+ * Create many CreatorSearchFilters.
77668
+ * @param {CreatorSearchFilterCreateManyArgs} args - Arguments to create many CreatorSearchFilters.
77669
+ * @example
77670
+ * // Create many CreatorSearchFilters
77671
+ * const creatorSearchFilter = await prisma.creatorSearchFilter.createMany({
77672
+ * data: [
77673
+ * // ... provide data here
77674
+ * ]
77675
+ * })
77676
+ *
77677
+ **/
77678
+ createMany<T extends CreatorSearchFilterCreateManyArgs<ExtArgs>>(
77679
+ args?: SelectSubset<T, CreatorSearchFilterCreateManyArgs<ExtArgs>>
77680
+ ): Prisma.PrismaPromise<BatchPayload>
77681
+
77682
+ /**
77683
+ * Create many CreatorSearchFilters and returns the data saved in the database.
77684
+ * @param {CreatorSearchFilterCreateManyAndReturnArgs} args - Arguments to create many CreatorSearchFilters.
77685
+ * @example
77686
+ * // Create many CreatorSearchFilters
77687
+ * const creatorSearchFilter = await prisma.creatorSearchFilter.createManyAndReturn({
77688
+ * data: [
77689
+ * // ... provide data here
77690
+ * ]
77691
+ * })
77692
+ *
77693
+ * // Create many CreatorSearchFilters and only return the `id`
77694
+ * const creatorSearchFilterWithIdOnly = await prisma.creatorSearchFilter.createManyAndReturn({
77695
+ * select: { id: true },
77696
+ * data: [
77697
+ * // ... provide data here
77698
+ * ]
77699
+ * })
77700
+ * Note, that providing `undefined` is treated as the value not being there.
77701
+ * Read more here: https://pris.ly/d/null-undefined
77702
+ *
77703
+ **/
77704
+ createManyAndReturn<T extends CreatorSearchFilterCreateManyAndReturnArgs<ExtArgs>>(
77705
+ args?: SelectSubset<T, CreatorSearchFilterCreateManyAndReturnArgs<ExtArgs>>
77706
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'createManyAndReturn'>>
77707
+
77708
+ /**
77709
+ * Delete a CreatorSearchFilter.
77710
+ * @param {CreatorSearchFilterDeleteArgs} args - Arguments to delete one CreatorSearchFilter.
77711
+ * @example
77712
+ * // Delete one CreatorSearchFilter
77713
+ * const CreatorSearchFilter = await prisma.creatorSearchFilter.delete({
77714
+ * where: {
77715
+ * // ... filter to delete one CreatorSearchFilter
77716
+ * }
77717
+ * })
77718
+ *
77719
+ **/
77720
+ delete<T extends CreatorSearchFilterDeleteArgs<ExtArgs>>(
77721
+ args: SelectSubset<T, CreatorSearchFilterDeleteArgs<ExtArgs>>
77722
+ ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
77723
+
77724
+ /**
77725
+ * Update one CreatorSearchFilter.
77726
+ * @param {CreatorSearchFilterUpdateArgs} args - Arguments to update one CreatorSearchFilter.
77727
+ * @example
77728
+ * // Update one CreatorSearchFilter
77729
+ * const creatorSearchFilter = await prisma.creatorSearchFilter.update({
77730
+ * where: {
77731
+ * // ... provide filter here
77732
+ * },
77733
+ * data: {
77734
+ * // ... provide data here
77735
+ * }
77736
+ * })
77737
+ *
77738
+ **/
77739
+ update<T extends CreatorSearchFilterUpdateArgs<ExtArgs>>(
77740
+ args: SelectSubset<T, CreatorSearchFilterUpdateArgs<ExtArgs>>
77741
+ ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
77742
+
77743
+ /**
77744
+ * Delete zero or more CreatorSearchFilters.
77745
+ * @param {CreatorSearchFilterDeleteManyArgs} args - Arguments to filter CreatorSearchFilters to delete.
77746
+ * @example
77747
+ * // Delete a few CreatorSearchFilters
77748
+ * const { count } = await prisma.creatorSearchFilter.deleteMany({
77749
+ * where: {
77750
+ * // ... provide filter here
77751
+ * }
77752
+ * })
77753
+ *
77754
+ **/
77755
+ deleteMany<T extends CreatorSearchFilterDeleteManyArgs<ExtArgs>>(
77756
+ args?: SelectSubset<T, CreatorSearchFilterDeleteManyArgs<ExtArgs>>
77757
+ ): Prisma.PrismaPromise<BatchPayload>
77758
+
77759
+ /**
77760
+ * Update zero or more CreatorSearchFilters.
77761
+ * Note, that providing `undefined` is treated as the value not being there.
77762
+ * Read more here: https://pris.ly/d/null-undefined
77763
+ * @param {CreatorSearchFilterUpdateManyArgs} args - Arguments to update one or more rows.
77764
+ * @example
77765
+ * // Update many CreatorSearchFilters
77766
+ * const creatorSearchFilter = await prisma.creatorSearchFilter.updateMany({
77767
+ * where: {
77768
+ * // ... provide filter here
77769
+ * },
77770
+ * data: {
77771
+ * // ... provide data here
77772
+ * }
77773
+ * })
77774
+ *
77775
+ **/
77776
+ updateMany<T extends CreatorSearchFilterUpdateManyArgs<ExtArgs>>(
77777
+ args: SelectSubset<T, CreatorSearchFilterUpdateManyArgs<ExtArgs>>
77778
+ ): Prisma.PrismaPromise<BatchPayload>
77779
+
77780
+ /**
77781
+ * Create or update one CreatorSearchFilter.
77782
+ * @param {CreatorSearchFilterUpsertArgs} args - Arguments to update or create a CreatorSearchFilter.
77783
+ * @example
77784
+ * // Update or create a CreatorSearchFilter
77785
+ * const creatorSearchFilter = await prisma.creatorSearchFilter.upsert({
77786
+ * create: {
77787
+ * // ... data to create a CreatorSearchFilter
77788
+ * },
77789
+ * update: {
77790
+ * // ... in case it already exists, update
77791
+ * },
77792
+ * where: {
77793
+ * // ... the filter for the CreatorSearchFilter we want to update
77794
+ * }
77795
+ * })
77796
+ **/
77797
+ upsert<T extends CreatorSearchFilterUpsertArgs<ExtArgs>>(
77798
+ args: SelectSubset<T, CreatorSearchFilterUpsertArgs<ExtArgs>>
77799
+ ): Prisma__CreatorSearchFilterClient<$Result.GetResult<Prisma.$CreatorSearchFilterPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
77800
+
77801
+ /**
77802
+ * Count the number of CreatorSearchFilters.
77803
+ * Note, that providing `undefined` is treated as the value not being there.
77804
+ * Read more here: https://pris.ly/d/null-undefined
77805
+ * @param {CreatorSearchFilterCountArgs} args - Arguments to filter CreatorSearchFilters to count.
77806
+ * @example
77807
+ * // Count the number of CreatorSearchFilters
77808
+ * const count = await prisma.creatorSearchFilter.count({
77809
+ * where: {
77810
+ * // ... the filter for the CreatorSearchFilters we want to count
77811
+ * }
77812
+ * })
77813
+ **/
77814
+ count<T extends CreatorSearchFilterCountArgs>(
77815
+ args?: Subset<T, CreatorSearchFilterCountArgs>,
77816
+ ): Prisma.PrismaPromise<
77817
+ T extends $Utils.Record<'select', any>
77818
+ ? T['select'] extends true
77819
+ ? number
77820
+ : GetScalarType<T['select'], CreatorSearchFilterCountAggregateOutputType>
77821
+ : number
77822
+ >
77823
+
77824
+ /**
77825
+ * Allows you to perform aggregations operations on a CreatorSearchFilter.
77826
+ * Note, that providing `undefined` is treated as the value not being there.
77827
+ * Read more here: https://pris.ly/d/null-undefined
77828
+ * @param {CreatorSearchFilterAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
77829
+ * @example
77830
+ * // Ordered by age ascending
77831
+ * // Where email contains prisma.io
77832
+ * // Limited to the 10 users
77833
+ * const aggregations = await prisma.user.aggregate({
77834
+ * _avg: {
77835
+ * age: true,
77836
+ * },
77837
+ * where: {
77838
+ * email: {
77839
+ * contains: "prisma.io",
77840
+ * },
77841
+ * },
77842
+ * orderBy: {
77843
+ * age: "asc",
77844
+ * },
77845
+ * take: 10,
77846
+ * })
77847
+ **/
77848
+ aggregate<T extends CreatorSearchFilterAggregateArgs>(args: Subset<T, CreatorSearchFilterAggregateArgs>): Prisma.PrismaPromise<GetCreatorSearchFilterAggregateType<T>>
77849
+
77850
+ /**
77851
+ * Group by CreatorSearchFilter.
77852
+ * Note, that providing `undefined` is treated as the value not being there.
77853
+ * Read more here: https://pris.ly/d/null-undefined
77854
+ * @param {CreatorSearchFilterGroupByArgs} args - Group by arguments.
77855
+ * @example
77856
+ * // Group by city, order by createdAt, get count
77857
+ * const result = await prisma.user.groupBy({
77858
+ * by: ['city', 'createdAt'],
77859
+ * orderBy: {
77860
+ * createdAt: true
77861
+ * },
77862
+ * _count: {
77863
+ * _all: true
77864
+ * },
77865
+ * })
77866
+ *
77867
+ **/
77868
+ groupBy<
77869
+ T extends CreatorSearchFilterGroupByArgs,
77870
+ HasSelectOrTake extends Or<
77871
+ Extends<'skip', Keys<T>>,
77872
+ Extends<'take', Keys<T>>
77873
+ >,
77874
+ OrderByArg extends True extends HasSelectOrTake
77875
+ ? { orderBy: CreatorSearchFilterGroupByArgs['orderBy'] }
77876
+ : { orderBy?: CreatorSearchFilterGroupByArgs['orderBy'] },
76729
77877
  OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
76730
77878
  ByFields extends MaybeTupleToUnion<T['by']>,
76731
77879
  ByValid extends Has<ByFields, OrderFields>,
@@ -87490,6 +88638,18 @@ export namespace Prisma {
87490
88638
  export type ImpactRadiusEventScalarFieldEnum = (typeof ImpactRadiusEventScalarFieldEnum)[keyof typeof ImpactRadiusEventScalarFieldEnum]
87491
88639
 
87492
88640
 
88641
+ export const ShareASaleEventScalarFieldEnum: {
88642
+ id: 'id',
88643
+ created: 'created',
88644
+ saleAmount: 'saleAmount',
88645
+ commission: 'commission',
88646
+ metaData: 'metaData',
88647
+ optInId: 'optInId'
88648
+ };
88649
+
88650
+ export type ShareASaleEventScalarFieldEnum = (typeof ShareASaleEventScalarFieldEnum)[keyof typeof ShareASaleEventScalarFieldEnum]
88651
+
88652
+
87493
88653
  export const CreatorSearchFilterScalarFieldEnum: {
87494
88654
  id: 'id',
87495
88655
  brandId: 'brandId',
@@ -91336,6 +92496,7 @@ export namespace Prisma {
91336
92496
  productListItems?: OptinToProductListItemListRelationFilter
91337
92497
  ExternalAffiliateClick?: ExternalAffiliateClickListRelationFilter
91338
92498
  ImpactRadiusEvent?: ImpactRadiusEventListRelationFilter
92499
+ ShareASaleEvents?: ShareASaleEventListRelationFilter
91339
92500
  }
91340
92501
 
91341
92502
  export type OptInOrderByWithRelationAndSearchRelevanceInput = {
@@ -91369,6 +92530,7 @@ export namespace Prisma {
91369
92530
  productListItems?: OptinToProductListItemOrderByRelationAggregateInput
91370
92531
  ExternalAffiliateClick?: ExternalAffiliateClickOrderByRelationAggregateInput
91371
92532
  ImpactRadiusEvent?: ImpactRadiusEventOrderByRelationAggregateInput
92533
+ ShareASaleEvents?: ShareASaleEventOrderByRelationAggregateInput
91372
92534
  _relevance?: OptInOrderByRelevanceInput
91373
92535
  }
91374
92536
 
@@ -91406,6 +92568,7 @@ export namespace Prisma {
91406
92568
  productListItems?: OptinToProductListItemListRelationFilter
91407
92569
  ExternalAffiliateClick?: ExternalAffiliateClickListRelationFilter
91408
92570
  ImpactRadiusEvent?: ImpactRadiusEventListRelationFilter
92571
+ ShareASaleEvents?: ShareASaleEventListRelationFilter
91409
92572
  }, "id">
91410
92573
 
91411
92574
  export type OptInOrderByWithAggregationInput = {
@@ -93597,6 +94760,68 @@ export namespace Prisma {
93597
94760
  optInId?: IntNullableWithAggregatesFilter<"ImpactRadiusEvent"> | number | null
93598
94761
  }
93599
94762
 
94763
+ export type ShareASaleEventWhereInput = {
94764
+ AND?: ShareASaleEventWhereInput | ShareASaleEventWhereInput[]
94765
+ OR?: ShareASaleEventWhereInput[]
94766
+ NOT?: ShareASaleEventWhereInput | ShareASaleEventWhereInput[]
94767
+ id?: IntFilter<"ShareASaleEvent"> | number
94768
+ created?: DateTimeFilter<"ShareASaleEvent"> | Date | string
94769
+ saleAmount?: FloatNullableFilter<"ShareASaleEvent"> | number | null
94770
+ commission?: FloatNullableFilter<"ShareASaleEvent"> | number | null
94771
+ metaData?: JsonFilter<"ShareASaleEvent">
94772
+ optInId?: IntNullableFilter<"ShareASaleEvent"> | number | null
94773
+ optIn?: XOR<OptInNullableRelationFilter, OptInWhereInput> | null
94774
+ }
94775
+
94776
+ export type ShareASaleEventOrderByWithRelationAndSearchRelevanceInput = {
94777
+ id?: SortOrder
94778
+ created?: SortOrder
94779
+ saleAmount?: SortOrderInput | SortOrder
94780
+ commission?: SortOrderInput | SortOrder
94781
+ metaData?: SortOrder
94782
+ optInId?: SortOrderInput | SortOrder
94783
+ optIn?: OptInOrderByWithRelationAndSearchRelevanceInput
94784
+ }
94785
+
94786
+ export type ShareASaleEventWhereUniqueInput = Prisma.AtLeast<{
94787
+ id?: number
94788
+ AND?: ShareASaleEventWhereInput | ShareASaleEventWhereInput[]
94789
+ OR?: ShareASaleEventWhereInput[]
94790
+ NOT?: ShareASaleEventWhereInput | ShareASaleEventWhereInput[]
94791
+ created?: DateTimeFilter<"ShareASaleEvent"> | Date | string
94792
+ saleAmount?: FloatNullableFilter<"ShareASaleEvent"> | number | null
94793
+ commission?: FloatNullableFilter<"ShareASaleEvent"> | number | null
94794
+ metaData?: JsonFilter<"ShareASaleEvent">
94795
+ optInId?: IntNullableFilter<"ShareASaleEvent"> | number | null
94796
+ optIn?: XOR<OptInNullableRelationFilter, OptInWhereInput> | null
94797
+ }, "id">
94798
+
94799
+ export type ShareASaleEventOrderByWithAggregationInput = {
94800
+ id?: SortOrder
94801
+ created?: SortOrder
94802
+ saleAmount?: SortOrderInput | SortOrder
94803
+ commission?: SortOrderInput | SortOrder
94804
+ metaData?: SortOrder
94805
+ optInId?: SortOrderInput | SortOrder
94806
+ _count?: ShareASaleEventCountOrderByAggregateInput
94807
+ _avg?: ShareASaleEventAvgOrderByAggregateInput
94808
+ _max?: ShareASaleEventMaxOrderByAggregateInput
94809
+ _min?: ShareASaleEventMinOrderByAggregateInput
94810
+ _sum?: ShareASaleEventSumOrderByAggregateInput
94811
+ }
94812
+
94813
+ export type ShareASaleEventScalarWhereWithAggregatesInput = {
94814
+ AND?: ShareASaleEventScalarWhereWithAggregatesInput | ShareASaleEventScalarWhereWithAggregatesInput[]
94815
+ OR?: ShareASaleEventScalarWhereWithAggregatesInput[]
94816
+ NOT?: ShareASaleEventScalarWhereWithAggregatesInput | ShareASaleEventScalarWhereWithAggregatesInput[]
94817
+ id?: IntWithAggregatesFilter<"ShareASaleEvent"> | number
94818
+ created?: DateTimeWithAggregatesFilter<"ShareASaleEvent"> | Date | string
94819
+ saleAmount?: FloatNullableWithAggregatesFilter<"ShareASaleEvent"> | number | null
94820
+ commission?: FloatNullableWithAggregatesFilter<"ShareASaleEvent"> | number | null
94821
+ metaData?: JsonWithAggregatesFilter<"ShareASaleEvent">
94822
+ optInId?: IntNullableWithAggregatesFilter<"ShareASaleEvent"> | number | null
94823
+ }
94824
+
93600
94825
  export type CreatorSearchFilterWhereInput = {
93601
94826
  AND?: CreatorSearchFilterWhereInput | CreatorSearchFilterWhereInput[]
93602
94827
  OR?: CreatorSearchFilterWhereInput[]
@@ -97461,6 +98686,7 @@ export namespace Prisma {
97461
98686
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
97462
98687
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
97463
98688
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
98689
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
97464
98690
  }
97465
98691
 
97466
98692
  export type OptInUncheckedCreateInput = {
@@ -97491,6 +98717,7 @@ export namespace Prisma {
97491
98717
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
97492
98718
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
97493
98719
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
98720
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
97494
98721
  }
97495
98722
 
97496
98723
  export type OptInUpdateInput = {
@@ -97520,6 +98747,7 @@ export namespace Prisma {
97520
98747
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
97521
98748
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
97522
98749
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
98750
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
97523
98751
  }
97524
98752
 
97525
98753
  export type OptInUncheckedUpdateInput = {
@@ -97550,6 +98778,7 @@ export namespace Prisma {
97550
98778
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
97551
98779
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
97552
98780
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
98781
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
97553
98782
  }
97554
98783
 
97555
98784
  export type OptInCreateManyInput = {
@@ -99775,6 +101004,65 @@ export namespace Prisma {
99775
101004
  optInId?: NullableIntFieldUpdateOperationsInput | number | null
99776
101005
  }
99777
101006
 
101007
+ export type ShareASaleEventCreateInput = {
101008
+ created?: Date | string
101009
+ saleAmount?: number | null
101010
+ commission?: number | null
101011
+ metaData?: JsonNullValueInput | InputJsonValue
101012
+ optIn?: OptInCreateNestedOneWithoutShareASaleEventsInput
101013
+ }
101014
+
101015
+ export type ShareASaleEventUncheckedCreateInput = {
101016
+ id?: number
101017
+ created?: Date | string
101018
+ saleAmount?: number | null
101019
+ commission?: number | null
101020
+ metaData?: JsonNullValueInput | InputJsonValue
101021
+ optInId?: number | null
101022
+ }
101023
+
101024
+ export type ShareASaleEventUpdateInput = {
101025
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
101026
+ saleAmount?: NullableFloatFieldUpdateOperationsInput | number | null
101027
+ commission?: NullableFloatFieldUpdateOperationsInput | number | null
101028
+ metaData?: JsonNullValueInput | InputJsonValue
101029
+ optIn?: OptInUpdateOneWithoutShareASaleEventsNestedInput
101030
+ }
101031
+
101032
+ export type ShareASaleEventUncheckedUpdateInput = {
101033
+ id?: IntFieldUpdateOperationsInput | number
101034
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
101035
+ saleAmount?: NullableFloatFieldUpdateOperationsInput | number | null
101036
+ commission?: NullableFloatFieldUpdateOperationsInput | number | null
101037
+ metaData?: JsonNullValueInput | InputJsonValue
101038
+ optInId?: NullableIntFieldUpdateOperationsInput | number | null
101039
+ }
101040
+
101041
+ export type ShareASaleEventCreateManyInput = {
101042
+ id?: number
101043
+ created?: Date | string
101044
+ saleAmount?: number | null
101045
+ commission?: number | null
101046
+ metaData?: JsonNullValueInput | InputJsonValue
101047
+ optInId?: number | null
101048
+ }
101049
+
101050
+ export type ShareASaleEventUpdateManyMutationInput = {
101051
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
101052
+ saleAmount?: NullableFloatFieldUpdateOperationsInput | number | null
101053
+ commission?: NullableFloatFieldUpdateOperationsInput | number | null
101054
+ metaData?: JsonNullValueInput | InputJsonValue
101055
+ }
101056
+
101057
+ export type ShareASaleEventUncheckedUpdateManyInput = {
101058
+ id?: IntFieldUpdateOperationsInput | number
101059
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
101060
+ saleAmount?: NullableFloatFieldUpdateOperationsInput | number | null
101061
+ commission?: NullableFloatFieldUpdateOperationsInput | number | null
101062
+ metaData?: JsonNullValueInput | InputJsonValue
101063
+ optInId?: NullableIntFieldUpdateOperationsInput | number | null
101064
+ }
101065
+
99778
101066
  export type CreatorSearchFilterCreateInput = {
99779
101067
  title: string
99780
101068
  filters?: JsonNullValueInput | InputJsonValue
@@ -103223,6 +104511,12 @@ export namespace Prisma {
103223
104511
  none?: AffiliateClickWhereInput
103224
104512
  }
103225
104513
 
104514
+ export type ShareASaleEventListRelationFilter = {
104515
+ every?: ShareASaleEventWhereInput
104516
+ some?: ShareASaleEventWhereInput
104517
+ none?: ShareASaleEventWhereInput
104518
+ }
104519
+
103226
104520
  export type TrolleyPaymentOrderByRelationAggregateInput = {
103227
104521
  _count?: SortOrder
103228
104522
  }
@@ -103231,6 +104525,10 @@ export namespace Prisma {
103231
104525
  _count?: SortOrder
103232
104526
  }
103233
104527
 
104528
+ export type ShareASaleEventOrderByRelationAggregateInput = {
104529
+ _count?: SortOrder
104530
+ }
104531
+
103234
104532
  export type OptInOrderByRelevanceInput = {
103235
104533
  fields: OptInOrderByRelevanceFieldEnum | OptInOrderByRelevanceFieldEnum[]
103236
104534
  sort: SortOrder
@@ -104910,6 +106208,45 @@ export namespace Prisma {
104910
106208
  optInId?: SortOrder
104911
106209
  }
104912
106210
 
106211
+ export type ShareASaleEventCountOrderByAggregateInput = {
106212
+ id?: SortOrder
106213
+ created?: SortOrder
106214
+ saleAmount?: SortOrder
106215
+ commission?: SortOrder
106216
+ metaData?: SortOrder
106217
+ optInId?: SortOrder
106218
+ }
106219
+
106220
+ export type ShareASaleEventAvgOrderByAggregateInput = {
106221
+ id?: SortOrder
106222
+ saleAmount?: SortOrder
106223
+ commission?: SortOrder
106224
+ optInId?: SortOrder
106225
+ }
106226
+
106227
+ export type ShareASaleEventMaxOrderByAggregateInput = {
106228
+ id?: SortOrder
106229
+ created?: SortOrder
106230
+ saleAmount?: SortOrder
106231
+ commission?: SortOrder
106232
+ optInId?: SortOrder
106233
+ }
106234
+
106235
+ export type ShareASaleEventMinOrderByAggregateInput = {
106236
+ id?: SortOrder
106237
+ created?: SortOrder
106238
+ saleAmount?: SortOrder
106239
+ commission?: SortOrder
106240
+ optInId?: SortOrder
106241
+ }
106242
+
106243
+ export type ShareASaleEventSumOrderByAggregateInput = {
106244
+ id?: SortOrder
106245
+ saleAmount?: SortOrder
106246
+ commission?: SortOrder
106247
+ optInId?: SortOrder
106248
+ }
106249
+
104913
106250
  export type CreatorSearchFilterOrderByRelevanceInput = {
104914
106251
  fields: CreatorSearchFilterOrderByRelevanceFieldEnum | CreatorSearchFilterOrderByRelevanceFieldEnum[]
104915
106252
  sort: SortOrder
@@ -109386,6 +110723,13 @@ export namespace Prisma {
109386
110723
  connect?: ImpactRadiusEventWhereUniqueInput | ImpactRadiusEventWhereUniqueInput[]
109387
110724
  }
109388
110725
 
110726
+ export type ShareASaleEventCreateNestedManyWithoutOptInInput = {
110727
+ create?: XOR<ShareASaleEventCreateWithoutOptInInput, ShareASaleEventUncheckedCreateWithoutOptInInput> | ShareASaleEventCreateWithoutOptInInput[] | ShareASaleEventUncheckedCreateWithoutOptInInput[]
110728
+ connectOrCreate?: ShareASaleEventCreateOrConnectWithoutOptInInput | ShareASaleEventCreateOrConnectWithoutOptInInput[]
110729
+ createMany?: ShareASaleEventCreateManyOptInInputEnvelope
110730
+ connect?: ShareASaleEventWhereUniqueInput | ShareASaleEventWhereUniqueInput[]
110731
+ }
110732
+
109389
110733
  export type OptInVariableUncheckedCreateNestedManyWithoutOptInInput = {
109390
110734
  create?: XOR<OptInVariableCreateWithoutOptInInput, OptInVariableUncheckedCreateWithoutOptInInput> | OptInVariableCreateWithoutOptInInput[] | OptInVariableUncheckedCreateWithoutOptInInput[]
109391
110735
  connectOrCreate?: OptInVariableCreateOrConnectWithoutOptInInput | OptInVariableCreateOrConnectWithoutOptInInput[]
@@ -109448,6 +110792,13 @@ export namespace Prisma {
109448
110792
  connect?: ImpactRadiusEventWhereUniqueInput | ImpactRadiusEventWhereUniqueInput[]
109449
110793
  }
109450
110794
 
110795
+ export type ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput = {
110796
+ create?: XOR<ShareASaleEventCreateWithoutOptInInput, ShareASaleEventUncheckedCreateWithoutOptInInput> | ShareASaleEventCreateWithoutOptInInput[] | ShareASaleEventUncheckedCreateWithoutOptInInput[]
110797
+ connectOrCreate?: ShareASaleEventCreateOrConnectWithoutOptInInput | ShareASaleEventCreateOrConnectWithoutOptInInput[]
110798
+ createMany?: ShareASaleEventCreateManyOptInInputEnvelope
110799
+ connect?: ShareASaleEventWhereUniqueInput | ShareASaleEventWhereUniqueInput[]
110800
+ }
110801
+
109451
110802
  export type UserUpdateOneRequiredWithoutOptInsNestedInput = {
109452
110803
  create?: XOR<UserCreateWithoutOptInsInput, UserUncheckedCreateWithoutOptInsInput>
109453
110804
  connectOrCreate?: UserCreateOrConnectWithoutOptInsInput
@@ -109596,6 +110947,20 @@ export namespace Prisma {
109596
110947
  deleteMany?: ImpactRadiusEventScalarWhereInput | ImpactRadiusEventScalarWhereInput[]
109597
110948
  }
109598
110949
 
110950
+ export type ShareASaleEventUpdateManyWithoutOptInNestedInput = {
110951
+ create?: XOR<ShareASaleEventCreateWithoutOptInInput, ShareASaleEventUncheckedCreateWithoutOptInInput> | ShareASaleEventCreateWithoutOptInInput[] | ShareASaleEventUncheckedCreateWithoutOptInInput[]
110952
+ connectOrCreate?: ShareASaleEventCreateOrConnectWithoutOptInInput | ShareASaleEventCreateOrConnectWithoutOptInInput[]
110953
+ upsert?: ShareASaleEventUpsertWithWhereUniqueWithoutOptInInput | ShareASaleEventUpsertWithWhereUniqueWithoutOptInInput[]
110954
+ createMany?: ShareASaleEventCreateManyOptInInputEnvelope
110955
+ set?: ShareASaleEventWhereUniqueInput | ShareASaleEventWhereUniqueInput[]
110956
+ disconnect?: ShareASaleEventWhereUniqueInput | ShareASaleEventWhereUniqueInput[]
110957
+ delete?: ShareASaleEventWhereUniqueInput | ShareASaleEventWhereUniqueInput[]
110958
+ connect?: ShareASaleEventWhereUniqueInput | ShareASaleEventWhereUniqueInput[]
110959
+ update?: ShareASaleEventUpdateWithWhereUniqueWithoutOptInInput | ShareASaleEventUpdateWithWhereUniqueWithoutOptInInput[]
110960
+ updateMany?: ShareASaleEventUpdateManyWithWhereWithoutOptInInput | ShareASaleEventUpdateManyWithWhereWithoutOptInInput[]
110961
+ deleteMany?: ShareASaleEventScalarWhereInput | ShareASaleEventScalarWhereInput[]
110962
+ }
110963
+
109599
110964
  export type OptInVariableUncheckedUpdateManyWithoutOptInNestedInput = {
109600
110965
  create?: XOR<OptInVariableCreateWithoutOptInInput, OptInVariableUncheckedCreateWithoutOptInInput> | OptInVariableCreateWithoutOptInInput[] | OptInVariableUncheckedCreateWithoutOptInInput[]
109601
110966
  connectOrCreate?: OptInVariableCreateOrConnectWithoutOptInInput | OptInVariableCreateOrConnectWithoutOptInInput[]
@@ -109718,6 +111083,20 @@ export namespace Prisma {
109718
111083
  deleteMany?: ImpactRadiusEventScalarWhereInput | ImpactRadiusEventScalarWhereInput[]
109719
111084
  }
109720
111085
 
111086
+ export type ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput = {
111087
+ create?: XOR<ShareASaleEventCreateWithoutOptInInput, ShareASaleEventUncheckedCreateWithoutOptInInput> | ShareASaleEventCreateWithoutOptInInput[] | ShareASaleEventUncheckedCreateWithoutOptInInput[]
111088
+ connectOrCreate?: ShareASaleEventCreateOrConnectWithoutOptInInput | ShareASaleEventCreateOrConnectWithoutOptInInput[]
111089
+ upsert?: ShareASaleEventUpsertWithWhereUniqueWithoutOptInInput | ShareASaleEventUpsertWithWhereUniqueWithoutOptInInput[]
111090
+ createMany?: ShareASaleEventCreateManyOptInInputEnvelope
111091
+ set?: ShareASaleEventWhereUniqueInput | ShareASaleEventWhereUniqueInput[]
111092
+ disconnect?: ShareASaleEventWhereUniqueInput | ShareASaleEventWhereUniqueInput[]
111093
+ delete?: ShareASaleEventWhereUniqueInput | ShareASaleEventWhereUniqueInput[]
111094
+ connect?: ShareASaleEventWhereUniqueInput | ShareASaleEventWhereUniqueInput[]
111095
+ update?: ShareASaleEventUpdateWithWhereUniqueWithoutOptInInput | ShareASaleEventUpdateWithWhereUniqueWithoutOptInInput[]
111096
+ updateMany?: ShareASaleEventUpdateManyWithWhereWithoutOptInInput | ShareASaleEventUpdateManyWithWhereWithoutOptInInput[]
111097
+ deleteMany?: ShareASaleEventScalarWhereInput | ShareASaleEventScalarWhereInput[]
111098
+ }
111099
+
109721
111100
  export type OptInCreateNestedOneWithoutTrolleyPaymentsInput = {
109722
111101
  create?: XOR<OptInCreateWithoutTrolleyPaymentsInput, OptInUncheckedCreateWithoutTrolleyPaymentsInput>
109723
111102
  connectOrCreate?: OptInCreateOrConnectWithoutTrolleyPaymentsInput
@@ -111028,6 +112407,22 @@ export namespace Prisma {
111028
112407
  update?: XOR<XOR<OptInUpdateToOneWithWhereWithoutImpactRadiusEventInput, OptInUpdateWithoutImpactRadiusEventInput>, OptInUncheckedUpdateWithoutImpactRadiusEventInput>
111029
112408
  }
111030
112409
 
112410
+ export type OptInCreateNestedOneWithoutShareASaleEventsInput = {
112411
+ create?: XOR<OptInCreateWithoutShareASaleEventsInput, OptInUncheckedCreateWithoutShareASaleEventsInput>
112412
+ connectOrCreate?: OptInCreateOrConnectWithoutShareASaleEventsInput
112413
+ connect?: OptInWhereUniqueInput
112414
+ }
112415
+
112416
+ export type OptInUpdateOneWithoutShareASaleEventsNestedInput = {
112417
+ create?: XOR<OptInCreateWithoutShareASaleEventsInput, OptInUncheckedCreateWithoutShareASaleEventsInput>
112418
+ connectOrCreate?: OptInCreateOrConnectWithoutShareASaleEventsInput
112419
+ upsert?: OptInUpsertWithoutShareASaleEventsInput
112420
+ disconnect?: OptInWhereInput | boolean
112421
+ delete?: OptInWhereInput | boolean
112422
+ connect?: OptInWhereUniqueInput
112423
+ update?: XOR<XOR<OptInUpdateToOneWithWhereWithoutShareASaleEventsInput, OptInUpdateWithoutShareASaleEventsInput>, OptInUncheckedUpdateWithoutShareASaleEventsInput>
112424
+ }
112425
+
111031
112426
  export type BrandCreateNestedOneWithoutCreatorsearchfilterInput = {
111032
112427
  create?: XOR<BrandCreateWithoutCreatorsearchfilterInput, BrandUncheckedCreateWithoutCreatorsearchfilterInput>
111033
112428
  connectOrCreate?: BrandCreateOrConnectWithoutCreatorsearchfilterInput
@@ -112532,6 +113927,7 @@ export namespace Prisma {
112532
113927
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
112533
113928
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
112534
113929
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
113930
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
112535
113931
  }
112536
113932
 
112537
113933
  export type OptInUncheckedCreateWithoutUserInput = {
@@ -112561,6 +113957,7 @@ export namespace Prisma {
112561
113957
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
112562
113958
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
112563
113959
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
113960
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
112564
113961
  }
112565
113962
 
112566
113963
  export type OptInCreateOrConnectWithoutUserInput = {
@@ -119485,6 +120882,7 @@ export namespace Prisma {
119485
120882
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
119486
120883
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
119487
120884
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
120885
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
119488
120886
  }
119489
120887
 
119490
120888
  export type OptInUncheckedCreateWithoutChatInput = {
@@ -119514,6 +120912,7 @@ export namespace Prisma {
119514
120912
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
119515
120913
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
119516
120914
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
120915
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
119517
120916
  }
119518
120917
 
119519
120918
  export type OptInCreateOrConnectWithoutChatInput = {
@@ -119589,6 +120988,7 @@ export namespace Prisma {
119589
120988
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
119590
120989
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
119591
120990
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
120991
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
119592
120992
  }
119593
120993
 
119594
120994
  export type OptInUncheckedUpdateWithoutChatInput = {
@@ -119618,6 +121018,7 @@ export namespace Prisma {
119618
121018
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
119619
121019
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
119620
121020
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
121021
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
119621
121022
  }
119622
121023
 
119623
121024
  export type MessageUpsertWithWhereUniqueWithoutChatInput = {
@@ -119949,6 +121350,7 @@ export namespace Prisma {
119949
121350
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
119950
121351
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
119951
121352
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
121353
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
119952
121354
  }
119953
121355
 
119954
121356
  export type OptInUncheckedCreateWithoutCampaignInput = {
@@ -119978,6 +121380,7 @@ export namespace Prisma {
119978
121380
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
119979
121381
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
119980
121382
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
121383
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
119981
121384
  }
119982
121385
 
119983
121386
  export type OptInCreateOrConnectWithoutCampaignInput = {
@@ -123500,6 +124903,7 @@ export namespace Prisma {
123500
124903
  affiliateClicks?: AffiliateClickCreateNestedManyWithoutOptinInput
123501
124904
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
123502
124905
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
124906
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
123503
124907
  }
123504
124908
 
123505
124909
  export type OptInUncheckedCreateWithoutProductListItemsInput = {
@@ -123529,6 +124933,7 @@ export namespace Prisma {
123529
124933
  affiliateClicks?: AffiliateClickUncheckedCreateNestedManyWithoutOptinInput
123530
124934
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
123531
124935
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
124936
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
123532
124937
  }
123533
124938
 
123534
124939
  export type OptInCreateOrConnectWithoutProductListItemsInput = {
@@ -123595,6 +125000,7 @@ export namespace Prisma {
123595
125000
  affiliateClicks?: AffiliateClickUpdateManyWithoutOptinNestedInput
123596
125001
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
123597
125002
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
125003
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
123598
125004
  }
123599
125005
 
123600
125006
  export type OptInUncheckedUpdateWithoutProductListItemsInput = {
@@ -123624,6 +125030,7 @@ export namespace Prisma {
123624
125030
  affiliateClicks?: AffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
123625
125031
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
123626
125032
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
125033
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
123627
125034
  }
123628
125035
 
123629
125036
  export type ProductListItemUpsertWithoutOptinsInput = {
@@ -124383,6 +125790,7 @@ export namespace Prisma {
124383
125790
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
124384
125791
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
124385
125792
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
125793
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
124386
125794
  }
124387
125795
 
124388
125796
  export type OptInUncheckedCreateWithoutCurrentStepInput = {
@@ -124412,6 +125820,7 @@ export namespace Prisma {
124412
125820
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
124413
125821
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
124414
125822
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
125823
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
124415
125824
  }
124416
125825
 
124417
125826
  export type OptInCreateOrConnectWithoutCurrentStepInput = {
@@ -124697,6 +126106,7 @@ export namespace Prisma {
124697
126106
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
124698
126107
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
124699
126108
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
126109
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
124700
126110
  }
124701
126111
 
124702
126112
  export type OptInUncheckedCreateWithoutOptInStepsInput = {
@@ -124726,6 +126136,7 @@ export namespace Prisma {
124726
126136
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
124727
126137
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
124728
126138
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
126139
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
124729
126140
  }
124730
126141
 
124731
126142
  export type OptInCreateOrConnectWithoutOptInStepsInput = {
@@ -124802,6 +126213,7 @@ export namespace Prisma {
124802
126213
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
124803
126214
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
124804
126215
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
126216
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
124805
126217
  }
124806
126218
 
124807
126219
  export type OptInUncheckedUpdateWithoutOptInStepsInput = {
@@ -124831,6 +126243,7 @@ export namespace Prisma {
124831
126243
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
124832
126244
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
124833
126245
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
126246
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
124834
126247
  }
124835
126248
 
124836
126249
  export type CampaignStepUpsertWithoutOptInStepsInput = {
@@ -125476,6 +126889,31 @@ export namespace Prisma {
125476
126889
  skipDuplicates?: boolean
125477
126890
  }
125478
126891
 
126892
+ export type ShareASaleEventCreateWithoutOptInInput = {
126893
+ created?: Date | string
126894
+ saleAmount?: number | null
126895
+ commission?: number | null
126896
+ metaData?: JsonNullValueInput | InputJsonValue
126897
+ }
126898
+
126899
+ export type ShareASaleEventUncheckedCreateWithoutOptInInput = {
126900
+ id?: number
126901
+ created?: Date | string
126902
+ saleAmount?: number | null
126903
+ commission?: number | null
126904
+ metaData?: JsonNullValueInput | InputJsonValue
126905
+ }
126906
+
126907
+ export type ShareASaleEventCreateOrConnectWithoutOptInInput = {
126908
+ where: ShareASaleEventWhereUniqueInput
126909
+ create: XOR<ShareASaleEventCreateWithoutOptInInput, ShareASaleEventUncheckedCreateWithoutOptInInput>
126910
+ }
126911
+
126912
+ export type ShareASaleEventCreateManyOptInInputEnvelope = {
126913
+ data: ShareASaleEventCreateManyOptInInput | ShareASaleEventCreateManyOptInInput[]
126914
+ skipDuplicates?: boolean
126915
+ }
126916
+
125479
126917
  export type UserUpsertWithoutOptInsInput = {
125480
126918
  update: XOR<UserUpdateWithoutOptInsInput, UserUncheckedUpdateWithoutOptInsInput>
125481
126919
  create: XOR<UserCreateWithoutOptInsInput, UserUncheckedCreateWithoutOptInsInput>
@@ -125942,6 +127380,34 @@ export namespace Prisma {
125942
127380
  data: XOR<ImpactRadiusEventUpdateManyMutationInput, ImpactRadiusEventUncheckedUpdateManyWithoutOptInInput>
125943
127381
  }
125944
127382
 
127383
+ export type ShareASaleEventUpsertWithWhereUniqueWithoutOptInInput = {
127384
+ where: ShareASaleEventWhereUniqueInput
127385
+ update: XOR<ShareASaleEventUpdateWithoutOptInInput, ShareASaleEventUncheckedUpdateWithoutOptInInput>
127386
+ create: XOR<ShareASaleEventCreateWithoutOptInInput, ShareASaleEventUncheckedCreateWithoutOptInInput>
127387
+ }
127388
+
127389
+ export type ShareASaleEventUpdateWithWhereUniqueWithoutOptInInput = {
127390
+ where: ShareASaleEventWhereUniqueInput
127391
+ data: XOR<ShareASaleEventUpdateWithoutOptInInput, ShareASaleEventUncheckedUpdateWithoutOptInInput>
127392
+ }
127393
+
127394
+ export type ShareASaleEventUpdateManyWithWhereWithoutOptInInput = {
127395
+ where: ShareASaleEventScalarWhereInput
127396
+ data: XOR<ShareASaleEventUpdateManyMutationInput, ShareASaleEventUncheckedUpdateManyWithoutOptInInput>
127397
+ }
127398
+
127399
+ export type ShareASaleEventScalarWhereInput = {
127400
+ AND?: ShareASaleEventScalarWhereInput | ShareASaleEventScalarWhereInput[]
127401
+ OR?: ShareASaleEventScalarWhereInput[]
127402
+ NOT?: ShareASaleEventScalarWhereInput | ShareASaleEventScalarWhereInput[]
127403
+ id?: IntFilter<"ShareASaleEvent"> | number
127404
+ created?: DateTimeFilter<"ShareASaleEvent"> | Date | string
127405
+ saleAmount?: FloatNullableFilter<"ShareASaleEvent"> | number | null
127406
+ commission?: FloatNullableFilter<"ShareASaleEvent"> | number | null
127407
+ metaData?: JsonFilter<"ShareASaleEvent">
127408
+ optInId?: IntNullableFilter<"ShareASaleEvent"> | number | null
127409
+ }
127410
+
125945
127411
  export type OptInCreateWithoutTrolleyPaymentsInput = {
125946
127412
  status?: string
125947
127413
  created?: Date | string
@@ -125968,6 +127434,7 @@ export namespace Prisma {
125968
127434
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
125969
127435
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
125970
127436
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
127437
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
125971
127438
  }
125972
127439
 
125973
127440
  export type OptInUncheckedCreateWithoutTrolleyPaymentsInput = {
@@ -125997,6 +127464,7 @@ export namespace Prisma {
125997
127464
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
125998
127465
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
125999
127466
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
127467
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
126000
127468
  }
126001
127469
 
126002
127470
  export type OptInCreateOrConnectWithoutTrolleyPaymentsInput = {
@@ -126041,6 +127509,7 @@ export namespace Prisma {
126041
127509
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
126042
127510
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
126043
127511
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
127512
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
126044
127513
  }
126045
127514
 
126046
127515
  export type OptInUncheckedUpdateWithoutTrolleyPaymentsInput = {
@@ -126070,6 +127539,7 @@ export namespace Prisma {
126070
127539
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
126071
127540
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
126072
127541
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
127542
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
126073
127543
  }
126074
127544
 
126075
127545
  export type OptInCreateWithoutVariablesInput = {
@@ -126098,6 +127568,7 @@ export namespace Prisma {
126098
127568
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
126099
127569
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
126100
127570
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
127571
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
126101
127572
  }
126102
127573
 
126103
127574
  export type OptInUncheckedCreateWithoutVariablesInput = {
@@ -126127,6 +127598,7 @@ export namespace Prisma {
126127
127598
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
126128
127599
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
126129
127600
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
127601
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
126130
127602
  }
126131
127603
 
126132
127604
  export type OptInCreateOrConnectWithoutVariablesInput = {
@@ -126213,6 +127685,7 @@ export namespace Prisma {
126213
127685
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
126214
127686
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
126215
127687
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
127688
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
126216
127689
  }
126217
127690
 
126218
127691
  export type OptInUncheckedUpdateWithoutVariablesInput = {
@@ -126242,6 +127715,7 @@ export namespace Prisma {
126242
127715
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
126243
127716
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
126244
127717
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
127718
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
126245
127719
  }
126246
127720
 
126247
127721
  export type VariableUpsertWithoutOptInVariablesInput = {
@@ -127551,6 +129025,7 @@ export namespace Prisma {
127551
129025
  affiliateClicks?: AffiliateClickCreateNestedManyWithoutOptinInput
127552
129026
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
127553
129027
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
129028
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
127554
129029
  }
127555
129030
 
127556
129031
  export type OptInUncheckedCreateWithoutExternalAffiliateClickInput = {
@@ -127580,6 +129055,7 @@ export namespace Prisma {
127580
129055
  affiliateClicks?: AffiliateClickUncheckedCreateNestedManyWithoutOptinInput
127581
129056
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
127582
129057
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
129058
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
127583
129059
  }
127584
129060
 
127585
129061
  export type OptInCreateOrConnectWithoutExternalAffiliateClickInput = {
@@ -127770,6 +129246,7 @@ export namespace Prisma {
127770
129246
  affiliateClicks?: AffiliateClickUpdateManyWithoutOptinNestedInput
127771
129247
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
127772
129248
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
129249
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
127773
129250
  }
127774
129251
 
127775
129252
  export type OptInUncheckedUpdateWithoutExternalAffiliateClickInput = {
@@ -127799,6 +129276,7 @@ export namespace Prisma {
127799
129276
  affiliateClicks?: AffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
127800
129277
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
127801
129278
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
129279
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
127802
129280
  }
127803
129281
 
127804
129282
  export type CampaignUpsertWithoutExternalAffiliateClickInput = {
@@ -128513,6 +129991,7 @@ export namespace Prisma {
128513
129991
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
128514
129992
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
128515
129993
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
129994
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
128516
129995
  }
128517
129996
 
128518
129997
  export type OptInUncheckedCreateWithoutAffiliateClicksInput = {
@@ -128542,6 +130021,7 @@ export namespace Prisma {
128542
130021
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
128543
130022
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
128544
130023
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
130024
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
128545
130025
  }
128546
130026
 
128547
130027
  export type OptInCreateOrConnectWithoutAffiliateClicksInput = {
@@ -128639,6 +130119,7 @@ export namespace Prisma {
128639
130119
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
128640
130120
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
128641
130121
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
130122
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
128642
130123
  }
128643
130124
 
128644
130125
  export type OptInUncheckedUpdateWithoutAffiliateClicksInput = {
@@ -128668,6 +130149,7 @@ export namespace Prisma {
128668
130149
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
128669
130150
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
128670
130151
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
130152
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
128671
130153
  }
128672
130154
 
128673
130155
  export type AffiliateLinkUpsertWithoutAffiliateClicksInput = {
@@ -129254,6 +130736,7 @@ export namespace Prisma {
129254
130736
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
129255
130737
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
129256
130738
  ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
130739
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
129257
130740
  }
129258
130741
 
129259
130742
  export type OptInUncheckedCreateWithoutCampaignInvitesInput = {
@@ -129283,6 +130766,7 @@ export namespace Prisma {
129283
130766
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
129284
130767
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
129285
130768
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
130769
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
129286
130770
  }
129287
130771
 
129288
130772
  export type OptInCreateOrConnectWithoutCampaignInvitesInput = {
@@ -129621,6 +131105,7 @@ export namespace Prisma {
129621
131105
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
129622
131106
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
129623
131107
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
131108
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
129624
131109
  }
129625
131110
 
129626
131111
  export type OptInUncheckedUpdateWithoutCampaignInvitesInput = {
@@ -129650,6 +131135,7 @@ export namespace Prisma {
129650
131135
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
129651
131136
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
129652
131137
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
131138
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
129653
131139
  }
129654
131140
 
129655
131141
  export type CreatorListItemCreateWithoutCreatorListInput = {
@@ -132345,6 +133831,7 @@ export namespace Prisma {
132345
133831
  affiliateClicks?: AffiliateClickCreateNestedManyWithoutOptinInput
132346
133832
  productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
132347
133833
  ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
133834
+ ShareASaleEvents?: ShareASaleEventCreateNestedManyWithoutOptInInput
132348
133835
  }
132349
133836
 
132350
133837
  export type OptInUncheckedCreateWithoutImpactRadiusEventInput = {
@@ -132374,6 +133861,7 @@ export namespace Prisma {
132374
133861
  affiliateClicks?: AffiliateClickUncheckedCreateNestedManyWithoutOptinInput
132375
133862
  productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
132376
133863
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
133864
+ ShareASaleEvents?: ShareASaleEventUncheckedCreateNestedManyWithoutOptInInput
132377
133865
  }
132378
133866
 
132379
133867
  export type OptInCreateOrConnectWithoutImpactRadiusEventInput = {
@@ -132602,6 +134090,7 @@ export namespace Prisma {
132602
134090
  affiliateClicks?: AffiliateClickUpdateManyWithoutOptinNestedInput
132603
134091
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
132604
134092
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
134093
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
132605
134094
  }
132606
134095
 
132607
134096
  export type OptInUncheckedUpdateWithoutImpactRadiusEventInput = {
@@ -132631,6 +134120,141 @@ export namespace Prisma {
132631
134120
  affiliateClicks?: AffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
132632
134121
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
132633
134122
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
134123
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
134124
+ }
134125
+
134126
+ export type OptInCreateWithoutShareASaleEventsInput = {
134127
+ status?: string
134128
+ created?: Date | string
134129
+ activated?: Date | string | null
134130
+ completed?: Date | string | null
134131
+ cancelled?: Date | string | null
134132
+ cancelledData?: JsonNullValueInput | InputJsonValue
134133
+ cancelRequested?: Date | string | null
134134
+ reinvited?: Date | string | null
134135
+ seen?: boolean
134136
+ instructions?: string | null
134137
+ paymentAmount?: number | null
134138
+ paymentStatus?: string
134139
+ extraData?: JsonNullValueInput | InputJsonValue
134140
+ favoritedDate?: Date | string | null
134141
+ user: UserCreateNestedOneWithoutOptInsInput
134142
+ campaign: CampaignCreateNestedOneWithoutOptInsInput
134143
+ currentStep?: CampaignStepCreateNestedOneWithoutCurrentOptInsInput
134144
+ variables?: OptInVariableCreateNestedManyWithoutOptInInput
134145
+ optInSteps?: OptInStepCreateNestedManyWithoutOptInInput
134146
+ chat?: ChatCreateNestedOneWithoutOptInInput
134147
+ campaignInvites?: CampaignInviteCreateNestedManyWithoutOptInInput
134148
+ trolleyPayments?: TrolleyPaymentCreateNestedManyWithoutOptInInput
134149
+ affiliateClicks?: AffiliateClickCreateNestedManyWithoutOptinInput
134150
+ productListItems?: OptinToProductListItemCreateNestedManyWithoutOptInInput
134151
+ ExternalAffiliateClick?: ExternalAffiliateClickCreateNestedManyWithoutOptinInput
134152
+ ImpactRadiusEvent?: ImpactRadiusEventCreateNestedManyWithoutOptInInput
134153
+ }
134154
+
134155
+ export type OptInUncheckedCreateWithoutShareASaleEventsInput = {
134156
+ id?: number
134157
+ status?: string
134158
+ created?: Date | string
134159
+ activated?: Date | string | null
134160
+ completed?: Date | string | null
134161
+ cancelled?: Date | string | null
134162
+ cancelledData?: JsonNullValueInput | InputJsonValue
134163
+ cancelRequested?: Date | string | null
134164
+ reinvited?: Date | string | null
134165
+ seen?: boolean
134166
+ instructions?: string | null
134167
+ paymentAmount?: number | null
134168
+ paymentStatus?: string
134169
+ extraData?: JsonNullValueInput | InputJsonValue
134170
+ favoritedDate?: Date | string | null
134171
+ userId: number
134172
+ campaignId: number
134173
+ currentStepId?: number | null
134174
+ variables?: OptInVariableUncheckedCreateNestedManyWithoutOptInInput
134175
+ optInSteps?: OptInStepUncheckedCreateNestedManyWithoutOptInInput
134176
+ chat?: ChatUncheckedCreateNestedOneWithoutOptInInput
134177
+ campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutOptInInput
134178
+ trolleyPayments?: TrolleyPaymentUncheckedCreateNestedManyWithoutOptInInput
134179
+ affiliateClicks?: AffiliateClickUncheckedCreateNestedManyWithoutOptinInput
134180
+ productListItems?: OptinToProductListItemUncheckedCreateNestedManyWithoutOptInInput
134181
+ ExternalAffiliateClick?: ExternalAffiliateClickUncheckedCreateNestedManyWithoutOptinInput
134182
+ ImpactRadiusEvent?: ImpactRadiusEventUncheckedCreateNestedManyWithoutOptInInput
134183
+ }
134184
+
134185
+ export type OptInCreateOrConnectWithoutShareASaleEventsInput = {
134186
+ where: OptInWhereUniqueInput
134187
+ create: XOR<OptInCreateWithoutShareASaleEventsInput, OptInUncheckedCreateWithoutShareASaleEventsInput>
134188
+ }
134189
+
134190
+ export type OptInUpsertWithoutShareASaleEventsInput = {
134191
+ update: XOR<OptInUpdateWithoutShareASaleEventsInput, OptInUncheckedUpdateWithoutShareASaleEventsInput>
134192
+ create: XOR<OptInCreateWithoutShareASaleEventsInput, OptInUncheckedCreateWithoutShareASaleEventsInput>
134193
+ where?: OptInWhereInput
134194
+ }
134195
+
134196
+ export type OptInUpdateToOneWithWhereWithoutShareASaleEventsInput = {
134197
+ where?: OptInWhereInput
134198
+ data: XOR<OptInUpdateWithoutShareASaleEventsInput, OptInUncheckedUpdateWithoutShareASaleEventsInput>
134199
+ }
134200
+
134201
+ export type OptInUpdateWithoutShareASaleEventsInput = {
134202
+ status?: StringFieldUpdateOperationsInput | string
134203
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
134204
+ activated?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134205
+ completed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134206
+ cancelled?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134207
+ cancelledData?: JsonNullValueInput | InputJsonValue
134208
+ cancelRequested?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134209
+ reinvited?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134210
+ seen?: BoolFieldUpdateOperationsInput | boolean
134211
+ instructions?: NullableStringFieldUpdateOperationsInput | string | null
134212
+ paymentAmount?: NullableFloatFieldUpdateOperationsInput | number | null
134213
+ paymentStatus?: StringFieldUpdateOperationsInput | string
134214
+ extraData?: JsonNullValueInput | InputJsonValue
134215
+ favoritedDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134216
+ user?: UserUpdateOneRequiredWithoutOptInsNestedInput
134217
+ campaign?: CampaignUpdateOneRequiredWithoutOptInsNestedInput
134218
+ currentStep?: CampaignStepUpdateOneWithoutCurrentOptInsNestedInput
134219
+ variables?: OptInVariableUpdateManyWithoutOptInNestedInput
134220
+ optInSteps?: OptInStepUpdateManyWithoutOptInNestedInput
134221
+ chat?: ChatUpdateOneWithoutOptInNestedInput
134222
+ campaignInvites?: CampaignInviteUpdateManyWithoutOptInNestedInput
134223
+ trolleyPayments?: TrolleyPaymentUpdateManyWithoutOptInNestedInput
134224
+ affiliateClicks?: AffiliateClickUpdateManyWithoutOptinNestedInput
134225
+ productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
134226
+ ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
134227
+ ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
134228
+ }
134229
+
134230
+ export type OptInUncheckedUpdateWithoutShareASaleEventsInput = {
134231
+ id?: IntFieldUpdateOperationsInput | number
134232
+ status?: StringFieldUpdateOperationsInput | string
134233
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
134234
+ activated?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134235
+ completed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134236
+ cancelled?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134237
+ cancelledData?: JsonNullValueInput | InputJsonValue
134238
+ cancelRequested?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134239
+ reinvited?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134240
+ seen?: BoolFieldUpdateOperationsInput | boolean
134241
+ instructions?: NullableStringFieldUpdateOperationsInput | string | null
134242
+ paymentAmount?: NullableFloatFieldUpdateOperationsInput | number | null
134243
+ paymentStatus?: StringFieldUpdateOperationsInput | string
134244
+ extraData?: JsonNullValueInput | InputJsonValue
134245
+ favoritedDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
134246
+ userId?: IntFieldUpdateOperationsInput | number
134247
+ campaignId?: IntFieldUpdateOperationsInput | number
134248
+ currentStepId?: NullableIntFieldUpdateOperationsInput | number | null
134249
+ variables?: OptInVariableUncheckedUpdateManyWithoutOptInNestedInput
134250
+ optInSteps?: OptInStepUncheckedUpdateManyWithoutOptInNestedInput
134251
+ chat?: ChatUncheckedUpdateOneWithoutOptInNestedInput
134252
+ campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutOptInNestedInput
134253
+ trolleyPayments?: TrolleyPaymentUncheckedUpdateManyWithoutOptInNestedInput
134254
+ affiliateClicks?: AffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
134255
+ productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
134256
+ ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
134257
+ ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
132634
134258
  }
132635
134259
 
132636
134260
  export type BrandCreateWithoutCreatorsearchfilterInput = {
@@ -135265,6 +136889,7 @@ export namespace Prisma {
135265
136889
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
135266
136890
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
135267
136891
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
136892
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
135268
136893
  }
135269
136894
 
135270
136895
  export type OptInUncheckedUpdateWithoutUserInput = {
@@ -135294,6 +136919,7 @@ export namespace Prisma {
135294
136919
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
135295
136920
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
135296
136921
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
136922
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
135297
136923
  }
135298
136924
 
135299
136925
  export type OptInUncheckedUpdateManyWithoutUserInput = {
@@ -137089,6 +138715,7 @@ export namespace Prisma {
137089
138715
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
137090
138716
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
137091
138717
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
138718
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
137092
138719
  }
137093
138720
 
137094
138721
  export type OptInUncheckedUpdateWithoutCampaignInput = {
@@ -137118,6 +138745,7 @@ export namespace Prisma {
137118
138745
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
137119
138746
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
137120
138747
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
138748
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
137121
138749
  }
137122
138750
 
137123
138751
  export type OptInUncheckedUpdateManyWithoutCampaignInput = {
@@ -137773,6 +139401,7 @@ export namespace Prisma {
137773
139401
  productListItems?: OptinToProductListItemUpdateManyWithoutOptInNestedInput
137774
139402
  ExternalAffiliateClick?: ExternalAffiliateClickUpdateManyWithoutOptinNestedInput
137775
139403
  ImpactRadiusEvent?: ImpactRadiusEventUpdateManyWithoutOptInNestedInput
139404
+ ShareASaleEvents?: ShareASaleEventUpdateManyWithoutOptInNestedInput
137776
139405
  }
137777
139406
 
137778
139407
  export type OptInUncheckedUpdateWithoutCurrentStepInput = {
@@ -137802,6 +139431,7 @@ export namespace Prisma {
137802
139431
  productListItems?: OptinToProductListItemUncheckedUpdateManyWithoutOptInNestedInput
137803
139432
  ExternalAffiliateClick?: ExternalAffiliateClickUncheckedUpdateManyWithoutOptinNestedInput
137804
139433
  ImpactRadiusEvent?: ImpactRadiusEventUncheckedUpdateManyWithoutOptInNestedInput
139434
+ ShareASaleEvents?: ShareASaleEventUncheckedUpdateManyWithoutOptInNestedInput
137805
139435
  }
137806
139436
 
137807
139437
  export type OptInUncheckedUpdateManyWithoutCurrentStepInput = {
@@ -137965,6 +139595,14 @@ export namespace Prisma {
137965
139595
  brandId?: number | null
137966
139596
  }
137967
139597
 
139598
+ export type ShareASaleEventCreateManyOptInInput = {
139599
+ id?: number
139600
+ created?: Date | string
139601
+ saleAmount?: number | null
139602
+ commission?: number | null
139603
+ metaData?: JsonNullValueInput | InputJsonValue
139604
+ }
139605
+
137968
139606
  export type OptInVariableUpdateWithoutOptInInput = {
137969
139607
  variable?: VariableUpdateOneRequiredWithoutOptInVariablesNestedInput
137970
139608
  selectedOption?: VariableOptionUpdateOneRequiredWithoutOptInVariablesNestedInput
@@ -138170,6 +139808,29 @@ export namespace Prisma {
138170
139808
  brandId?: NullableIntFieldUpdateOperationsInput | number | null
138171
139809
  }
138172
139810
 
139811
+ export type ShareASaleEventUpdateWithoutOptInInput = {
139812
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
139813
+ saleAmount?: NullableFloatFieldUpdateOperationsInput | number | null
139814
+ commission?: NullableFloatFieldUpdateOperationsInput | number | null
139815
+ metaData?: JsonNullValueInput | InputJsonValue
139816
+ }
139817
+
139818
+ export type ShareASaleEventUncheckedUpdateWithoutOptInInput = {
139819
+ id?: IntFieldUpdateOperationsInput | number
139820
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
139821
+ saleAmount?: NullableFloatFieldUpdateOperationsInput | number | null
139822
+ commission?: NullableFloatFieldUpdateOperationsInput | number | null
139823
+ metaData?: JsonNullValueInput | InputJsonValue
139824
+ }
139825
+
139826
+ export type ShareASaleEventUncheckedUpdateManyWithoutOptInInput = {
139827
+ id?: IntFieldUpdateOperationsInput | number
139828
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
139829
+ saleAmount?: NullableFloatFieldUpdateOperationsInput | number | null
139830
+ commission?: NullableFloatFieldUpdateOperationsInput | number | null
139831
+ metaData?: JsonNullValueInput | InputJsonValue
139832
+ }
139833
+
138173
139834
  export type ListToSocialPostCreateManySocialPostInput = {
138174
139835
  id?: number
138175
139836
  listId: number
@@ -139284,6 +140945,10 @@ export namespace Prisma {
139284
140945
  * @deprecated Use ImpactRadiusEventDefaultArgs instead
139285
140946
  */
139286
140947
  export type ImpactRadiusEventArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ImpactRadiusEventDefaultArgs<ExtArgs>
140948
+ /**
140949
+ * @deprecated Use ShareASaleEventDefaultArgs instead
140950
+ */
140951
+ export type ShareASaleEventArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ShareASaleEventDefaultArgs<ExtArgs>
139287
140952
  /**
139288
140953
  * @deprecated Use CreatorSearchFilterDefaultArgs instead
139289
140954
  */