@creator.co/creatorco-prisma-client 1.0.17 → 1.0.19

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
@@ -178,11 +178,6 @@ export type OptInVariable = $Result.DefaultSelection<Prisma.$OptInVariablePayloa
178
178
  *
179
179
  */
180
180
  export type SocialPost = $Result.DefaultSelection<Prisma.$SocialPostPayload>
181
- /**
182
- * Model SocialPostTag
183
- *
184
- */
185
- export type SocialPostTag = $Result.DefaultSelection<Prisma.$SocialPostTagPayload>
186
181
  /**
187
182
  * Model Image
188
183
  *
@@ -333,9 +328,8 @@ export type trolleyPaymentType = (typeof trolleyPaymentType)[keyof typeof trolle
333
328
 
334
329
 
335
330
  export const trolleyPaymentStatus: {
336
- created: 'created',
337
- updated: 'updated',
338
- deleted: 'deleted',
331
+ pending: 'pending',
332
+ processing: 'processing',
339
333
  processed: 'processed',
340
334
  failed: 'failed',
341
335
  returned: 'returned'
@@ -805,16 +799,6 @@ export class PrismaClient<
805
799
  */
806
800
  get socialPost(): Prisma.SocialPostDelegate<ExtArgs>;
807
801
 
808
- /**
809
- * `prisma.socialPostTag`: Exposes CRUD operations for the **SocialPostTag** model.
810
- * Example usage:
811
- * ```ts
812
- * // Fetch zero or more SocialPostTags
813
- * const socialPostTags = await prisma.socialPostTag.findMany()
814
- * ```
815
- */
816
- get socialPostTag(): Prisma.SocialPostTagDelegate<ExtArgs>;
817
-
818
802
  /**
819
803
  * `prisma.image`: Exposes CRUD operations for the **Image** model.
820
804
  * Example usage:
@@ -1587,7 +1571,6 @@ export namespace Prisma {
1587
1571
  TrolleyPayment: 'TrolleyPayment',
1588
1572
  OptInVariable: 'OptInVariable',
1589
1573
  SocialPost: 'SocialPost',
1590
- SocialPostTag: 'SocialPostTag',
1591
1574
  Image: 'Image',
1592
1575
  BrandImage: 'BrandImage',
1593
1576
  Country: 'Country',
@@ -1631,7 +1614,7 @@ export namespace Prisma {
1631
1614
 
1632
1615
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1633
1616
  meta: {
1634
- modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToCategory' | 'campaignToCountry' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'socialPostTag' | 'image' | 'brandImage' | 'country' | 'state' | 'paymentTransaction' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint'
1617
+ modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToCategory' | 'campaignToCountry' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'paymentTransaction' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint'
1635
1618
  txIsolationLevel: Prisma.TransactionIsolationLevel
1636
1619
  },
1637
1620
  model: {
@@ -3813,72 +3796,6 @@ export namespace Prisma {
3813
3796
  }
3814
3797
  }
3815
3798
  }
3816
- SocialPostTag: {
3817
- payload: Prisma.$SocialPostTagPayload<ExtArgs>
3818
- fields: Prisma.SocialPostTagFieldRefs
3819
- operations: {
3820
- findUnique: {
3821
- args: Prisma.SocialPostTagFindUniqueArgs<ExtArgs>,
3822
- result: $Utils.PayloadToResult<Prisma.$SocialPostTagPayload> | null
3823
- }
3824
- findUniqueOrThrow: {
3825
- args: Prisma.SocialPostTagFindUniqueOrThrowArgs<ExtArgs>,
3826
- result: $Utils.PayloadToResult<Prisma.$SocialPostTagPayload>
3827
- }
3828
- findFirst: {
3829
- args: Prisma.SocialPostTagFindFirstArgs<ExtArgs>,
3830
- result: $Utils.PayloadToResult<Prisma.$SocialPostTagPayload> | null
3831
- }
3832
- findFirstOrThrow: {
3833
- args: Prisma.SocialPostTagFindFirstOrThrowArgs<ExtArgs>,
3834
- result: $Utils.PayloadToResult<Prisma.$SocialPostTagPayload>
3835
- }
3836
- findMany: {
3837
- args: Prisma.SocialPostTagFindManyArgs<ExtArgs>,
3838
- result: $Utils.PayloadToResult<Prisma.$SocialPostTagPayload>[]
3839
- }
3840
- create: {
3841
- args: Prisma.SocialPostTagCreateArgs<ExtArgs>,
3842
- result: $Utils.PayloadToResult<Prisma.$SocialPostTagPayload>
3843
- }
3844
- createMany: {
3845
- args: Prisma.SocialPostTagCreateManyArgs<ExtArgs>,
3846
- result: Prisma.BatchPayload
3847
- }
3848
- delete: {
3849
- args: Prisma.SocialPostTagDeleteArgs<ExtArgs>,
3850
- result: $Utils.PayloadToResult<Prisma.$SocialPostTagPayload>
3851
- }
3852
- update: {
3853
- args: Prisma.SocialPostTagUpdateArgs<ExtArgs>,
3854
- result: $Utils.PayloadToResult<Prisma.$SocialPostTagPayload>
3855
- }
3856
- deleteMany: {
3857
- args: Prisma.SocialPostTagDeleteManyArgs<ExtArgs>,
3858
- result: Prisma.BatchPayload
3859
- }
3860
- updateMany: {
3861
- args: Prisma.SocialPostTagUpdateManyArgs<ExtArgs>,
3862
- result: Prisma.BatchPayload
3863
- }
3864
- upsert: {
3865
- args: Prisma.SocialPostTagUpsertArgs<ExtArgs>,
3866
- result: $Utils.PayloadToResult<Prisma.$SocialPostTagPayload>
3867
- }
3868
- aggregate: {
3869
- args: Prisma.SocialPostTagAggregateArgs<ExtArgs>,
3870
- result: $Utils.Optional<AggregateSocialPostTag>
3871
- }
3872
- groupBy: {
3873
- args: Prisma.SocialPostTagGroupByArgs<ExtArgs>,
3874
- result: $Utils.Optional<SocialPostTagGroupByOutputType>[]
3875
- }
3876
- count: {
3877
- args: Prisma.SocialPostTagCountArgs<ExtArgs>,
3878
- result: $Utils.Optional<SocialPostTagCountAggregateOutputType> | number
3879
- }
3880
- }
3881
- }
3882
3799
  Image: {
3883
3800
  payload: Prisma.$ImagePayload<ExtArgs>
3884
3801
  fields: Prisma.ImageFieldRefs
@@ -6723,12 +6640,10 @@ export namespace Prisma {
6723
6640
 
6724
6641
  export type SocialPostCountOutputType = {
6725
6642
  lists: number
6726
- socialPostTags: number
6727
6643
  }
6728
6644
 
6729
6645
  export type SocialPostCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
6730
6646
  lists?: boolean | SocialPostCountOutputTypeCountListsArgs
6731
- socialPostTags?: boolean | SocialPostCountOutputTypeCountSocialPostTagsArgs
6732
6647
  }
6733
6648
 
6734
6649
  // Custom InputTypes
@@ -6752,14 +6667,6 @@ export namespace Prisma {
6752
6667
  }
6753
6668
 
6754
6669
 
6755
- /**
6756
- * SocialPostCountOutputType without action
6757
- */
6758
- export type SocialPostCountOutputTypeCountSocialPostTagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
6759
- where?: SocialPostTagWhereInput
6760
- }
6761
-
6762
-
6763
6670
 
6764
6671
  /**
6765
6672
  * Count Type CountryCountOutputType
@@ -40330,7 +40237,7 @@ export namespace Prisma {
40330
40237
  paymentId: string
40331
40238
  type: $Enums.trolleyPaymentType | null
40332
40239
  status: $Enums.trolleyPaymentStatus
40333
- optInId: number
40240
+ optInId: number | null
40334
40241
  paymentAmount: number
40335
40242
  metaData: JsonValue
40336
40243
  _count: TrolleyPaymentCountAggregateOutputType | null
@@ -40362,7 +40269,7 @@ export namespace Prisma {
40362
40269
  optInId?: boolean
40363
40270
  paymentAmount?: boolean
40364
40271
  metaData?: boolean
40365
- optIn?: boolean | OptInDefaultArgs<ExtArgs>
40272
+ optIn?: boolean | TrolleyPayment$optInArgs<ExtArgs>
40366
40273
  }, ExtArgs["result"]["trolleyPayment"]>
40367
40274
 
40368
40275
  export type TrolleyPaymentSelectScalar = {
@@ -40376,21 +40283,21 @@ export namespace Prisma {
40376
40283
  }
40377
40284
 
40378
40285
  export type TrolleyPaymentInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
40379
- optIn?: boolean | OptInDefaultArgs<ExtArgs>
40286
+ optIn?: boolean | TrolleyPayment$optInArgs<ExtArgs>
40380
40287
  }
40381
40288
 
40382
40289
 
40383
40290
  export type $TrolleyPaymentPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
40384
40291
  name: "TrolleyPayment"
40385
40292
  objects: {
40386
- optIn: Prisma.$OptInPayload<ExtArgs>
40293
+ optIn: Prisma.$OptInPayload<ExtArgs> | null
40387
40294
  }
40388
40295
  scalars: $Extensions.GetPayloadResult<{
40389
40296
  id: number
40390
40297
  paymentId: string
40391
40298
  type: $Enums.trolleyPaymentType | null
40392
40299
  status: $Enums.trolleyPaymentStatus
40393
- optInId: number
40300
+ optInId: number | null
40394
40301
  paymentAmount: number
40395
40302
  metaData: Prisma.JsonValue
40396
40303
  }, ExtArgs["result"]["trolleyPayment"]>
@@ -40758,7 +40665,7 @@ export namespace Prisma {
40758
40665
  export interface Prisma__TrolleyPaymentClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
40759
40666
  readonly [Symbol.toStringTag]: 'PrismaPromise';
40760
40667
 
40761
- optIn<T extends OptInDefaultArgs<ExtArgs> = {}>(args?: Subset<T, OptInDefaultArgs<ExtArgs>>): Prisma__OptInClient<$Result.GetResult<Prisma.$OptInPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
40668
+ optIn<T extends TrolleyPayment$optInArgs<ExtArgs> = {}>(args?: Subset<T, TrolleyPayment$optInArgs<ExtArgs>>): Prisma__OptInClient<$Result.GetResult<Prisma.$OptInPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
40762
40669
 
40763
40670
  /**
40764
40671
  * Attaches callbacks for the resolution and/or rejection of the Promise.
@@ -41106,6 +41013,22 @@ export namespace Prisma {
41106
41013
  }
41107
41014
 
41108
41015
 
41016
+ /**
41017
+ * TrolleyPayment.optIn
41018
+ */
41019
+ export type TrolleyPayment$optInArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
41020
+ /**
41021
+ * Select specific fields to fetch from the OptIn
41022
+ */
41023
+ select?: OptInSelect<ExtArgs> | null
41024
+ /**
41025
+ * Choose, which related nodes to fetch as well.
41026
+ */
41027
+ include?: OptInInclude<ExtArgs> | null
41028
+ where?: OptInWhereInput
41029
+ }
41030
+
41031
+
41109
41032
  /**
41110
41033
  * TrolleyPayment without action
41111
41034
  */
@@ -42562,7 +42485,6 @@ export namespace Prisma {
42562
42485
  user?: boolean | SocialPost$userArgs<ExtArgs>
42563
42486
  campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
42564
42487
  lists?: boolean | SocialPost$listsArgs<ExtArgs>
42565
- socialPostTags?: boolean | SocialPost$socialPostTagsArgs<ExtArgs>
42566
42488
  _count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
42567
42489
  }, ExtArgs["result"]["socialPost"]>
42568
42490
 
@@ -42606,7 +42528,6 @@ export namespace Prisma {
42606
42528
  user?: boolean | SocialPost$userArgs<ExtArgs>
42607
42529
  campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
42608
42530
  lists?: boolean | SocialPost$listsArgs<ExtArgs>
42609
- socialPostTags?: boolean | SocialPost$socialPostTagsArgs<ExtArgs>
42610
42531
  _count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
42611
42532
  }
42612
42533
 
@@ -42617,7 +42538,6 @@ export namespace Prisma {
42617
42538
  user: Prisma.$UserPayload<ExtArgs> | null
42618
42539
  campaign: Prisma.$CampaignPayload<ExtArgs> | null
42619
42540
  lists: Prisma.$ListToSocialPostPayload<ExtArgs>[]
42620
- socialPostTags: Prisma.$SocialPostTagPayload<ExtArgs>[]
42621
42541
  }
42622
42542
  scalars: $Extensions.GetPayloadResult<{
42623
42543
  id: number
@@ -43024,1056 +42944,6 @@ export namespace Prisma {
43024
42944
 
43025
42945
  lists<T extends SocialPost$listsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$listsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ListToSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
43026
42946
 
43027
- socialPostTags<T extends SocialPost$socialPostTagsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$socialPostTagsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SocialPostTagPayload<ExtArgs>, T, 'findMany'> | Null>;
43028
-
43029
- /**
43030
- * Attaches callbacks for the resolution and/or rejection of the Promise.
43031
- * @param onfulfilled The callback to execute when the Promise is resolved.
43032
- * @param onrejected The callback to execute when the Promise is rejected.
43033
- * @returns A Promise for the completion of which ever callback is executed.
43034
- */
43035
- 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>;
43036
- /**
43037
- * Attaches a callback for only the rejection of the Promise.
43038
- * @param onrejected The callback to execute when the Promise is rejected.
43039
- * @returns A Promise for the completion of the callback.
43040
- */
43041
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
43042
- /**
43043
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
43044
- * resolved value cannot be modified from the callback.
43045
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
43046
- * @returns A Promise for the completion of the callback.
43047
- */
43048
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
43049
- }
43050
-
43051
-
43052
-
43053
- /**
43054
- * Fields of the SocialPost model
43055
- */
43056
- interface SocialPostFieldRefs {
43057
- readonly id: FieldRef<"SocialPost", 'Int'>
43058
- readonly phylloId: FieldRef<"SocialPost", 'String'>
43059
- readonly metaData: FieldRef<"SocialPost", 'Json'>
43060
- readonly data: FieldRef<"SocialPost", 'Json'>
43061
- readonly lastFetched: FieldRef<"SocialPost", 'DateTime'>
43062
- readonly lastWebhook: FieldRef<"SocialPost", 'DateTime'>
43063
- readonly posted: FieldRef<"SocialPost", 'DateTime'>
43064
- readonly title: FieldRef<"SocialPost", 'String'>
43065
- readonly description: FieldRef<"SocialPost", 'String'>
43066
- readonly url: FieldRef<"SocialPost", 'String'>
43067
- readonly urlPath: FieldRef<"SocialPost", 'String'>
43068
- readonly format: FieldRef<"SocialPost", 'String'>
43069
- readonly type: FieldRef<"SocialPost", 'String'>
43070
- readonly platform: FieldRef<"SocialPost", 'String'>
43071
- readonly visibility: FieldRef<"SocialPost", 'String'>
43072
- readonly isSponsored: FieldRef<"SocialPost", 'Boolean'>
43073
- readonly hasCollaborators: FieldRef<"SocialPost", 'Boolean'>
43074
- readonly isOwnedByUser: FieldRef<"SocialPost", 'Boolean'>
43075
- readonly views: FieldRef<"SocialPost", 'Int'>
43076
- readonly impressions: FieldRef<"SocialPost", 'Int'>
43077
- readonly impressionsOrganic: FieldRef<"SocialPost", 'Int'>
43078
- readonly impressionsPaid: FieldRef<"SocialPost", 'Int'>
43079
- readonly reach: FieldRef<"SocialPost", 'Int'>
43080
- readonly reachOrganic: FieldRef<"SocialPost", 'Int'>
43081
- readonly reachPaid: FieldRef<"SocialPost", 'Int'>
43082
- readonly watchHours: FieldRef<"SocialPost", 'Float'>
43083
- readonly likes: FieldRef<"SocialPost", 'Int'>
43084
- readonly dislikes: FieldRef<"SocialPost", 'Int'>
43085
- readonly comments: FieldRef<"SocialPost", 'Int'>
43086
- readonly saves: FieldRef<"SocialPost", 'Int'>
43087
- readonly shares: FieldRef<"SocialPost", 'Int'>
43088
- readonly userId: FieldRef<"SocialPost", 'Int'>
43089
- readonly campaignId: FieldRef<"SocialPost", 'Int'>
43090
- }
43091
-
43092
-
43093
- // Custom InputTypes
43094
-
43095
- /**
43096
- * SocialPost findUnique
43097
- */
43098
- export type SocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43099
- /**
43100
- * Select specific fields to fetch from the SocialPost
43101
- */
43102
- select?: SocialPostSelect<ExtArgs> | null
43103
- /**
43104
- * Choose, which related nodes to fetch as well.
43105
- */
43106
- include?: SocialPostInclude<ExtArgs> | null
43107
- /**
43108
- * Filter, which SocialPost to fetch.
43109
- */
43110
- where: SocialPostWhereUniqueInput
43111
- }
43112
-
43113
-
43114
- /**
43115
- * SocialPost findUniqueOrThrow
43116
- */
43117
- export type SocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43118
- /**
43119
- * Select specific fields to fetch from the SocialPost
43120
- */
43121
- select?: SocialPostSelect<ExtArgs> | null
43122
- /**
43123
- * Choose, which related nodes to fetch as well.
43124
- */
43125
- include?: SocialPostInclude<ExtArgs> | null
43126
- /**
43127
- * Filter, which SocialPost to fetch.
43128
- */
43129
- where: SocialPostWhereUniqueInput
43130
- }
43131
-
43132
-
43133
- /**
43134
- * SocialPost findFirst
43135
- */
43136
- export type SocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43137
- /**
43138
- * Select specific fields to fetch from the SocialPost
43139
- */
43140
- select?: SocialPostSelect<ExtArgs> | null
43141
- /**
43142
- * Choose, which related nodes to fetch as well.
43143
- */
43144
- include?: SocialPostInclude<ExtArgs> | null
43145
- /**
43146
- * Filter, which SocialPost to fetch.
43147
- */
43148
- where?: SocialPostWhereInput
43149
- /**
43150
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
43151
- *
43152
- * Determine the order of SocialPosts to fetch.
43153
- */
43154
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
43155
- /**
43156
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
43157
- *
43158
- * Sets the position for searching for SocialPosts.
43159
- */
43160
- cursor?: SocialPostWhereUniqueInput
43161
- /**
43162
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
43163
- *
43164
- * Take `±n` SocialPosts from the position of the cursor.
43165
- */
43166
- take?: number
43167
- /**
43168
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
43169
- *
43170
- * Skip the first `n` SocialPosts.
43171
- */
43172
- skip?: number
43173
- /**
43174
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
43175
- *
43176
- * Filter by unique combinations of SocialPosts.
43177
- */
43178
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
43179
- }
43180
-
43181
-
43182
- /**
43183
- * SocialPost findFirstOrThrow
43184
- */
43185
- export type SocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43186
- /**
43187
- * Select specific fields to fetch from the SocialPost
43188
- */
43189
- select?: SocialPostSelect<ExtArgs> | null
43190
- /**
43191
- * Choose, which related nodes to fetch as well.
43192
- */
43193
- include?: SocialPostInclude<ExtArgs> | null
43194
- /**
43195
- * Filter, which SocialPost to fetch.
43196
- */
43197
- where?: SocialPostWhereInput
43198
- /**
43199
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
43200
- *
43201
- * Determine the order of SocialPosts to fetch.
43202
- */
43203
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
43204
- /**
43205
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
43206
- *
43207
- * Sets the position for searching for SocialPosts.
43208
- */
43209
- cursor?: SocialPostWhereUniqueInput
43210
- /**
43211
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
43212
- *
43213
- * Take `±n` SocialPosts from the position of the cursor.
43214
- */
43215
- take?: number
43216
- /**
43217
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
43218
- *
43219
- * Skip the first `n` SocialPosts.
43220
- */
43221
- skip?: number
43222
- /**
43223
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
43224
- *
43225
- * Filter by unique combinations of SocialPosts.
43226
- */
43227
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
43228
- }
43229
-
43230
-
43231
- /**
43232
- * SocialPost findMany
43233
- */
43234
- export type SocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43235
- /**
43236
- * Select specific fields to fetch from the SocialPost
43237
- */
43238
- select?: SocialPostSelect<ExtArgs> | null
43239
- /**
43240
- * Choose, which related nodes to fetch as well.
43241
- */
43242
- include?: SocialPostInclude<ExtArgs> | null
43243
- /**
43244
- * Filter, which SocialPosts to fetch.
43245
- */
43246
- where?: SocialPostWhereInput
43247
- /**
43248
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
43249
- *
43250
- * Determine the order of SocialPosts to fetch.
43251
- */
43252
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
43253
- /**
43254
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
43255
- *
43256
- * Sets the position for listing SocialPosts.
43257
- */
43258
- cursor?: SocialPostWhereUniqueInput
43259
- /**
43260
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
43261
- *
43262
- * Take `±n` SocialPosts from the position of the cursor.
43263
- */
43264
- take?: number
43265
- /**
43266
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
43267
- *
43268
- * Skip the first `n` SocialPosts.
43269
- */
43270
- skip?: number
43271
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
43272
- }
43273
-
43274
-
43275
- /**
43276
- * SocialPost create
43277
- */
43278
- export type SocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43279
- /**
43280
- * Select specific fields to fetch from the SocialPost
43281
- */
43282
- select?: SocialPostSelect<ExtArgs> | null
43283
- /**
43284
- * Choose, which related nodes to fetch as well.
43285
- */
43286
- include?: SocialPostInclude<ExtArgs> | null
43287
- /**
43288
- * The data needed to create a SocialPost.
43289
- */
43290
- data?: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
43291
- }
43292
-
43293
-
43294
- /**
43295
- * SocialPost createMany
43296
- */
43297
- export type SocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43298
- /**
43299
- * The data used to create many SocialPosts.
43300
- */
43301
- data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
43302
- skipDuplicates?: boolean
43303
- }
43304
-
43305
-
43306
- /**
43307
- * SocialPost update
43308
- */
43309
- export type SocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43310
- /**
43311
- * Select specific fields to fetch from the SocialPost
43312
- */
43313
- select?: SocialPostSelect<ExtArgs> | null
43314
- /**
43315
- * Choose, which related nodes to fetch as well.
43316
- */
43317
- include?: SocialPostInclude<ExtArgs> | null
43318
- /**
43319
- * The data needed to update a SocialPost.
43320
- */
43321
- data: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
43322
- /**
43323
- * Choose, which SocialPost to update.
43324
- */
43325
- where: SocialPostWhereUniqueInput
43326
- }
43327
-
43328
-
43329
- /**
43330
- * SocialPost updateMany
43331
- */
43332
- export type SocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43333
- /**
43334
- * The data used to update SocialPosts.
43335
- */
43336
- data: XOR<SocialPostUpdateManyMutationInput, SocialPostUncheckedUpdateManyInput>
43337
- /**
43338
- * Filter which SocialPosts to update
43339
- */
43340
- where?: SocialPostWhereInput
43341
- }
43342
-
43343
-
43344
- /**
43345
- * SocialPost upsert
43346
- */
43347
- export type SocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43348
- /**
43349
- * Select specific fields to fetch from the SocialPost
43350
- */
43351
- select?: SocialPostSelect<ExtArgs> | null
43352
- /**
43353
- * Choose, which related nodes to fetch as well.
43354
- */
43355
- include?: SocialPostInclude<ExtArgs> | null
43356
- /**
43357
- * The filter to search for the SocialPost to update in case it exists.
43358
- */
43359
- where: SocialPostWhereUniqueInput
43360
- /**
43361
- * In case the SocialPost found by the `where` argument doesn't exist, create a new SocialPost with this data.
43362
- */
43363
- create: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
43364
- /**
43365
- * In case the SocialPost was found with the provided `where` argument, update it with this data.
43366
- */
43367
- update: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
43368
- }
43369
-
43370
-
43371
- /**
43372
- * SocialPost delete
43373
- */
43374
- export type SocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43375
- /**
43376
- * Select specific fields to fetch from the SocialPost
43377
- */
43378
- select?: SocialPostSelect<ExtArgs> | null
43379
- /**
43380
- * Choose, which related nodes to fetch as well.
43381
- */
43382
- include?: SocialPostInclude<ExtArgs> | null
43383
- /**
43384
- * Filter which SocialPost to delete.
43385
- */
43386
- where: SocialPostWhereUniqueInput
43387
- }
43388
-
43389
-
43390
- /**
43391
- * SocialPost deleteMany
43392
- */
43393
- export type SocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43394
- /**
43395
- * Filter which SocialPosts to delete
43396
- */
43397
- where?: SocialPostWhereInput
43398
- }
43399
-
43400
-
43401
- /**
43402
- * SocialPost.user
43403
- */
43404
- export type SocialPost$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43405
- /**
43406
- * Select specific fields to fetch from the User
43407
- */
43408
- select?: UserSelect<ExtArgs> | null
43409
- /**
43410
- * Choose, which related nodes to fetch as well.
43411
- */
43412
- include?: UserInclude<ExtArgs> | null
43413
- where?: UserWhereInput
43414
- }
43415
-
43416
-
43417
- /**
43418
- * SocialPost.campaign
43419
- */
43420
- export type SocialPost$campaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43421
- /**
43422
- * Select specific fields to fetch from the Campaign
43423
- */
43424
- select?: CampaignSelect<ExtArgs> | null
43425
- /**
43426
- * Choose, which related nodes to fetch as well.
43427
- */
43428
- include?: CampaignInclude<ExtArgs> | null
43429
- where?: CampaignWhereInput
43430
- }
43431
-
43432
-
43433
- /**
43434
- * SocialPost.lists
43435
- */
43436
- export type SocialPost$listsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43437
- /**
43438
- * Select specific fields to fetch from the ListToSocialPost
43439
- */
43440
- select?: ListToSocialPostSelect<ExtArgs> | null
43441
- /**
43442
- * Choose, which related nodes to fetch as well.
43443
- */
43444
- include?: ListToSocialPostInclude<ExtArgs> | null
43445
- where?: ListToSocialPostWhereInput
43446
- orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
43447
- cursor?: ListToSocialPostWhereUniqueInput
43448
- take?: number
43449
- skip?: number
43450
- distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
43451
- }
43452
-
43453
-
43454
- /**
43455
- * SocialPost.socialPostTags
43456
- */
43457
- export type SocialPost$socialPostTagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43458
- /**
43459
- * Select specific fields to fetch from the SocialPostTag
43460
- */
43461
- select?: SocialPostTagSelect<ExtArgs> | null
43462
- /**
43463
- * Choose, which related nodes to fetch as well.
43464
- */
43465
- include?: SocialPostTagInclude<ExtArgs> | null
43466
- where?: SocialPostTagWhereInput
43467
- orderBy?: SocialPostTagOrderByWithRelationAndSearchRelevanceInput | SocialPostTagOrderByWithRelationAndSearchRelevanceInput[]
43468
- cursor?: SocialPostTagWhereUniqueInput
43469
- take?: number
43470
- skip?: number
43471
- distinct?: SocialPostTagScalarFieldEnum | SocialPostTagScalarFieldEnum[]
43472
- }
43473
-
43474
-
43475
- /**
43476
- * SocialPost without action
43477
- */
43478
- export type SocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43479
- /**
43480
- * Select specific fields to fetch from the SocialPost
43481
- */
43482
- select?: SocialPostSelect<ExtArgs> | null
43483
- /**
43484
- * Choose, which related nodes to fetch as well.
43485
- */
43486
- include?: SocialPostInclude<ExtArgs> | null
43487
- }
43488
-
43489
-
43490
-
43491
- /**
43492
- * Model SocialPostTag
43493
- */
43494
-
43495
- export type AggregateSocialPostTag = {
43496
- _count: SocialPostTagCountAggregateOutputType | null
43497
- _avg: SocialPostTagAvgAggregateOutputType | null
43498
- _sum: SocialPostTagSumAggregateOutputType | null
43499
- _min: SocialPostTagMinAggregateOutputType | null
43500
- _max: SocialPostTagMaxAggregateOutputType | null
43501
- }
43502
-
43503
- export type SocialPostTagAvgAggregateOutputType = {
43504
- id: number | null
43505
- socialPostId: number | null
43506
- }
43507
-
43508
- export type SocialPostTagSumAggregateOutputType = {
43509
- id: number | null
43510
- socialPostId: number | null
43511
- }
43512
-
43513
- export type SocialPostTagMinAggregateOutputType = {
43514
- id: number | null
43515
- title: string | null
43516
- type: string | null
43517
- socialPostId: number | null
43518
- }
43519
-
43520
- export type SocialPostTagMaxAggregateOutputType = {
43521
- id: number | null
43522
- title: string | null
43523
- type: string | null
43524
- socialPostId: number | null
43525
- }
43526
-
43527
- export type SocialPostTagCountAggregateOutputType = {
43528
- id: number
43529
- title: number
43530
- type: number
43531
- socialPostId: number
43532
- _all: number
43533
- }
43534
-
43535
-
43536
- export type SocialPostTagAvgAggregateInputType = {
43537
- id?: true
43538
- socialPostId?: true
43539
- }
43540
-
43541
- export type SocialPostTagSumAggregateInputType = {
43542
- id?: true
43543
- socialPostId?: true
43544
- }
43545
-
43546
- export type SocialPostTagMinAggregateInputType = {
43547
- id?: true
43548
- title?: true
43549
- type?: true
43550
- socialPostId?: true
43551
- }
43552
-
43553
- export type SocialPostTagMaxAggregateInputType = {
43554
- id?: true
43555
- title?: true
43556
- type?: true
43557
- socialPostId?: true
43558
- }
43559
-
43560
- export type SocialPostTagCountAggregateInputType = {
43561
- id?: true
43562
- title?: true
43563
- type?: true
43564
- socialPostId?: true
43565
- _all?: true
43566
- }
43567
-
43568
- export type SocialPostTagAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43569
- /**
43570
- * Filter which SocialPostTag to aggregate.
43571
- */
43572
- where?: SocialPostTagWhereInput
43573
- /**
43574
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
43575
- *
43576
- * Determine the order of SocialPostTags to fetch.
43577
- */
43578
- orderBy?: SocialPostTagOrderByWithRelationAndSearchRelevanceInput | SocialPostTagOrderByWithRelationAndSearchRelevanceInput[]
43579
- /**
43580
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
43581
- *
43582
- * Sets the start position
43583
- */
43584
- cursor?: SocialPostTagWhereUniqueInput
43585
- /**
43586
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
43587
- *
43588
- * Take `±n` SocialPostTags from the position of the cursor.
43589
- */
43590
- take?: number
43591
- /**
43592
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
43593
- *
43594
- * Skip the first `n` SocialPostTags.
43595
- */
43596
- skip?: number
43597
- /**
43598
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
43599
- *
43600
- * Count returned SocialPostTags
43601
- **/
43602
- _count?: true | SocialPostTagCountAggregateInputType
43603
- /**
43604
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
43605
- *
43606
- * Select which fields to average
43607
- **/
43608
- _avg?: SocialPostTagAvgAggregateInputType
43609
- /**
43610
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
43611
- *
43612
- * Select which fields to sum
43613
- **/
43614
- _sum?: SocialPostTagSumAggregateInputType
43615
- /**
43616
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
43617
- *
43618
- * Select which fields to find the minimum value
43619
- **/
43620
- _min?: SocialPostTagMinAggregateInputType
43621
- /**
43622
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
43623
- *
43624
- * Select which fields to find the maximum value
43625
- **/
43626
- _max?: SocialPostTagMaxAggregateInputType
43627
- }
43628
-
43629
- export type GetSocialPostTagAggregateType<T extends SocialPostTagAggregateArgs> = {
43630
- [P in keyof T & keyof AggregateSocialPostTag]: P extends '_count' | 'count'
43631
- ? T[P] extends true
43632
- ? number
43633
- : GetScalarType<T[P], AggregateSocialPostTag[P]>
43634
- : GetScalarType<T[P], AggregateSocialPostTag[P]>
43635
- }
43636
-
43637
-
43638
-
43639
-
43640
- export type SocialPostTagGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43641
- where?: SocialPostTagWhereInput
43642
- orderBy?: SocialPostTagOrderByWithAggregationInput | SocialPostTagOrderByWithAggregationInput[]
43643
- by: SocialPostTagScalarFieldEnum[] | SocialPostTagScalarFieldEnum
43644
- having?: SocialPostTagScalarWhereWithAggregatesInput
43645
- take?: number
43646
- skip?: number
43647
- _count?: SocialPostTagCountAggregateInputType | true
43648
- _avg?: SocialPostTagAvgAggregateInputType
43649
- _sum?: SocialPostTagSumAggregateInputType
43650
- _min?: SocialPostTagMinAggregateInputType
43651
- _max?: SocialPostTagMaxAggregateInputType
43652
- }
43653
-
43654
- export type SocialPostTagGroupByOutputType = {
43655
- id: number
43656
- title: string
43657
- type: string
43658
- socialPostId: number
43659
- _count: SocialPostTagCountAggregateOutputType | null
43660
- _avg: SocialPostTagAvgAggregateOutputType | null
43661
- _sum: SocialPostTagSumAggregateOutputType | null
43662
- _min: SocialPostTagMinAggregateOutputType | null
43663
- _max: SocialPostTagMaxAggregateOutputType | null
43664
- }
43665
-
43666
- type GetSocialPostTagGroupByPayload<T extends SocialPostTagGroupByArgs> = Prisma.PrismaPromise<
43667
- Array<
43668
- PickEnumerable<SocialPostTagGroupByOutputType, T['by']> &
43669
- {
43670
- [P in ((keyof T) & (keyof SocialPostTagGroupByOutputType))]: P extends '_count'
43671
- ? T[P] extends boolean
43672
- ? number
43673
- : GetScalarType<T[P], SocialPostTagGroupByOutputType[P]>
43674
- : GetScalarType<T[P], SocialPostTagGroupByOutputType[P]>
43675
- }
43676
- >
43677
- >
43678
-
43679
-
43680
- export type SocialPostTagSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
43681
- id?: boolean
43682
- title?: boolean
43683
- type?: boolean
43684
- socialPostId?: boolean
43685
- socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
43686
- }, ExtArgs["result"]["socialPostTag"]>
43687
-
43688
- export type SocialPostTagSelectScalar = {
43689
- id?: boolean
43690
- title?: boolean
43691
- type?: boolean
43692
- socialPostId?: boolean
43693
- }
43694
-
43695
- export type SocialPostTagInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43696
- socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
43697
- }
43698
-
43699
-
43700
- export type $SocialPostTagPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43701
- name: "SocialPostTag"
43702
- objects: {
43703
- socialPost: Prisma.$SocialPostPayload<ExtArgs>
43704
- }
43705
- scalars: $Extensions.GetPayloadResult<{
43706
- id: number
43707
- title: string
43708
- type: string
43709
- socialPostId: number
43710
- }, ExtArgs["result"]["socialPostTag"]>
43711
- composites: {}
43712
- }
43713
-
43714
-
43715
- type SocialPostTagGetPayload<S extends boolean | null | undefined | SocialPostTagDefaultArgs> = $Result.GetResult<Prisma.$SocialPostTagPayload, S>
43716
-
43717
- type SocialPostTagCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
43718
- Omit<SocialPostTagFindManyArgs, 'select' | 'include' | 'distinct'> & {
43719
- select?: SocialPostTagCountAggregateInputType | true
43720
- }
43721
-
43722
- export interface SocialPostTagDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
43723
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SocialPostTag'], meta: { name: 'SocialPostTag' } }
43724
- /**
43725
- * Find zero or one SocialPostTag that matches the filter.
43726
- * @param {SocialPostTagFindUniqueArgs} args - Arguments to find a SocialPostTag
43727
- * @example
43728
- * // Get one SocialPostTag
43729
- * const socialPostTag = await prisma.socialPostTag.findUnique({
43730
- * where: {
43731
- * // ... provide filter here
43732
- * }
43733
- * })
43734
- **/
43735
- findUnique<T extends SocialPostTagFindUniqueArgs<ExtArgs>>(
43736
- args: SelectSubset<T, SocialPostTagFindUniqueArgs<ExtArgs>>
43737
- ): Prisma__SocialPostTagClient<$Result.GetResult<Prisma.$SocialPostTagPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
43738
-
43739
- /**
43740
- * Find one SocialPostTag that matches the filter or throw an error with `error.code='P2025'`
43741
- * if no matches were found.
43742
- * @param {SocialPostTagFindUniqueOrThrowArgs} args - Arguments to find a SocialPostTag
43743
- * @example
43744
- * // Get one SocialPostTag
43745
- * const socialPostTag = await prisma.socialPostTag.findUniqueOrThrow({
43746
- * where: {
43747
- * // ... provide filter here
43748
- * }
43749
- * })
43750
- **/
43751
- findUniqueOrThrow<T extends SocialPostTagFindUniqueOrThrowArgs<ExtArgs>>(
43752
- args?: SelectSubset<T, SocialPostTagFindUniqueOrThrowArgs<ExtArgs>>
43753
- ): Prisma__SocialPostTagClient<$Result.GetResult<Prisma.$SocialPostTagPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
43754
-
43755
- /**
43756
- * Find the first SocialPostTag that matches the filter.
43757
- * Note, that providing `undefined` is treated as the value not being there.
43758
- * Read more here: https://pris.ly/d/null-undefined
43759
- * @param {SocialPostTagFindFirstArgs} args - Arguments to find a SocialPostTag
43760
- * @example
43761
- * // Get one SocialPostTag
43762
- * const socialPostTag = await prisma.socialPostTag.findFirst({
43763
- * where: {
43764
- * // ... provide filter here
43765
- * }
43766
- * })
43767
- **/
43768
- findFirst<T extends SocialPostTagFindFirstArgs<ExtArgs>>(
43769
- args?: SelectSubset<T, SocialPostTagFindFirstArgs<ExtArgs>>
43770
- ): Prisma__SocialPostTagClient<$Result.GetResult<Prisma.$SocialPostTagPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
43771
-
43772
- /**
43773
- * Find the first SocialPostTag that matches the filter or
43774
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
43775
- * Note, that providing `undefined` is treated as the value not being there.
43776
- * Read more here: https://pris.ly/d/null-undefined
43777
- * @param {SocialPostTagFindFirstOrThrowArgs} args - Arguments to find a SocialPostTag
43778
- * @example
43779
- * // Get one SocialPostTag
43780
- * const socialPostTag = await prisma.socialPostTag.findFirstOrThrow({
43781
- * where: {
43782
- * // ... provide filter here
43783
- * }
43784
- * })
43785
- **/
43786
- findFirstOrThrow<T extends SocialPostTagFindFirstOrThrowArgs<ExtArgs>>(
43787
- args?: SelectSubset<T, SocialPostTagFindFirstOrThrowArgs<ExtArgs>>
43788
- ): Prisma__SocialPostTagClient<$Result.GetResult<Prisma.$SocialPostTagPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
43789
-
43790
- /**
43791
- * Find zero or more SocialPostTags that matches the filter.
43792
- * Note, that providing `undefined` is treated as the value not being there.
43793
- * Read more here: https://pris.ly/d/null-undefined
43794
- * @param {SocialPostTagFindManyArgs=} args - Arguments to filter and select certain fields only.
43795
- * @example
43796
- * // Get all SocialPostTags
43797
- * const socialPostTags = await prisma.socialPostTag.findMany()
43798
- *
43799
- * // Get first 10 SocialPostTags
43800
- * const socialPostTags = await prisma.socialPostTag.findMany({ take: 10 })
43801
- *
43802
- * // Only select the `id`
43803
- * const socialPostTagWithIdOnly = await prisma.socialPostTag.findMany({ select: { id: true } })
43804
- *
43805
- **/
43806
- findMany<T extends SocialPostTagFindManyArgs<ExtArgs>>(
43807
- args?: SelectSubset<T, SocialPostTagFindManyArgs<ExtArgs>>
43808
- ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SocialPostTagPayload<ExtArgs>, T, 'findMany'>>
43809
-
43810
- /**
43811
- * Create a SocialPostTag.
43812
- * @param {SocialPostTagCreateArgs} args - Arguments to create a SocialPostTag.
43813
- * @example
43814
- * // Create one SocialPostTag
43815
- * const SocialPostTag = await prisma.socialPostTag.create({
43816
- * data: {
43817
- * // ... data to create a SocialPostTag
43818
- * }
43819
- * })
43820
- *
43821
- **/
43822
- create<T extends SocialPostTagCreateArgs<ExtArgs>>(
43823
- args: SelectSubset<T, SocialPostTagCreateArgs<ExtArgs>>
43824
- ): Prisma__SocialPostTagClient<$Result.GetResult<Prisma.$SocialPostTagPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
43825
-
43826
- /**
43827
- * Create many SocialPostTags.
43828
- * @param {SocialPostTagCreateManyArgs} args - Arguments to create many SocialPostTags.
43829
- * @example
43830
- * // Create many SocialPostTags
43831
- * const socialPostTag = await prisma.socialPostTag.createMany({
43832
- * data: {
43833
- * // ... provide data here
43834
- * }
43835
- * })
43836
- *
43837
- **/
43838
- createMany<T extends SocialPostTagCreateManyArgs<ExtArgs>>(
43839
- args?: SelectSubset<T, SocialPostTagCreateManyArgs<ExtArgs>>
43840
- ): Prisma.PrismaPromise<BatchPayload>
43841
-
43842
- /**
43843
- * Delete a SocialPostTag.
43844
- * @param {SocialPostTagDeleteArgs} args - Arguments to delete one SocialPostTag.
43845
- * @example
43846
- * // Delete one SocialPostTag
43847
- * const SocialPostTag = await prisma.socialPostTag.delete({
43848
- * where: {
43849
- * // ... filter to delete one SocialPostTag
43850
- * }
43851
- * })
43852
- *
43853
- **/
43854
- delete<T extends SocialPostTagDeleteArgs<ExtArgs>>(
43855
- args: SelectSubset<T, SocialPostTagDeleteArgs<ExtArgs>>
43856
- ): Prisma__SocialPostTagClient<$Result.GetResult<Prisma.$SocialPostTagPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
43857
-
43858
- /**
43859
- * Update one SocialPostTag.
43860
- * @param {SocialPostTagUpdateArgs} args - Arguments to update one SocialPostTag.
43861
- * @example
43862
- * // Update one SocialPostTag
43863
- * const socialPostTag = await prisma.socialPostTag.update({
43864
- * where: {
43865
- * // ... provide filter here
43866
- * },
43867
- * data: {
43868
- * // ... provide data here
43869
- * }
43870
- * })
43871
- *
43872
- **/
43873
- update<T extends SocialPostTagUpdateArgs<ExtArgs>>(
43874
- args: SelectSubset<T, SocialPostTagUpdateArgs<ExtArgs>>
43875
- ): Prisma__SocialPostTagClient<$Result.GetResult<Prisma.$SocialPostTagPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
43876
-
43877
- /**
43878
- * Delete zero or more SocialPostTags.
43879
- * @param {SocialPostTagDeleteManyArgs} args - Arguments to filter SocialPostTags to delete.
43880
- * @example
43881
- * // Delete a few SocialPostTags
43882
- * const { count } = await prisma.socialPostTag.deleteMany({
43883
- * where: {
43884
- * // ... provide filter here
43885
- * }
43886
- * })
43887
- *
43888
- **/
43889
- deleteMany<T extends SocialPostTagDeleteManyArgs<ExtArgs>>(
43890
- args?: SelectSubset<T, SocialPostTagDeleteManyArgs<ExtArgs>>
43891
- ): Prisma.PrismaPromise<BatchPayload>
43892
-
43893
- /**
43894
- * Update zero or more SocialPostTags.
43895
- * Note, that providing `undefined` is treated as the value not being there.
43896
- * Read more here: https://pris.ly/d/null-undefined
43897
- * @param {SocialPostTagUpdateManyArgs} args - Arguments to update one or more rows.
43898
- * @example
43899
- * // Update many SocialPostTags
43900
- * const socialPostTag = await prisma.socialPostTag.updateMany({
43901
- * where: {
43902
- * // ... provide filter here
43903
- * },
43904
- * data: {
43905
- * // ... provide data here
43906
- * }
43907
- * })
43908
- *
43909
- **/
43910
- updateMany<T extends SocialPostTagUpdateManyArgs<ExtArgs>>(
43911
- args: SelectSubset<T, SocialPostTagUpdateManyArgs<ExtArgs>>
43912
- ): Prisma.PrismaPromise<BatchPayload>
43913
-
43914
- /**
43915
- * Create or update one SocialPostTag.
43916
- * @param {SocialPostTagUpsertArgs} args - Arguments to update or create a SocialPostTag.
43917
- * @example
43918
- * // Update or create a SocialPostTag
43919
- * const socialPostTag = await prisma.socialPostTag.upsert({
43920
- * create: {
43921
- * // ... data to create a SocialPostTag
43922
- * },
43923
- * update: {
43924
- * // ... in case it already exists, update
43925
- * },
43926
- * where: {
43927
- * // ... the filter for the SocialPostTag we want to update
43928
- * }
43929
- * })
43930
- **/
43931
- upsert<T extends SocialPostTagUpsertArgs<ExtArgs>>(
43932
- args: SelectSubset<T, SocialPostTagUpsertArgs<ExtArgs>>
43933
- ): Prisma__SocialPostTagClient<$Result.GetResult<Prisma.$SocialPostTagPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
43934
-
43935
- /**
43936
- * Count the number of SocialPostTags.
43937
- * Note, that providing `undefined` is treated as the value not being there.
43938
- * Read more here: https://pris.ly/d/null-undefined
43939
- * @param {SocialPostTagCountArgs} args - Arguments to filter SocialPostTags to count.
43940
- * @example
43941
- * // Count the number of SocialPostTags
43942
- * const count = await prisma.socialPostTag.count({
43943
- * where: {
43944
- * // ... the filter for the SocialPostTags we want to count
43945
- * }
43946
- * })
43947
- **/
43948
- count<T extends SocialPostTagCountArgs>(
43949
- args?: Subset<T, SocialPostTagCountArgs>,
43950
- ): Prisma.PrismaPromise<
43951
- T extends $Utils.Record<'select', any>
43952
- ? T['select'] extends true
43953
- ? number
43954
- : GetScalarType<T['select'], SocialPostTagCountAggregateOutputType>
43955
- : number
43956
- >
43957
-
43958
- /**
43959
- * Allows you to perform aggregations operations on a SocialPostTag.
43960
- * Note, that providing `undefined` is treated as the value not being there.
43961
- * Read more here: https://pris.ly/d/null-undefined
43962
- * @param {SocialPostTagAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
43963
- * @example
43964
- * // Ordered by age ascending
43965
- * // Where email contains prisma.io
43966
- * // Limited to the 10 users
43967
- * const aggregations = await prisma.user.aggregate({
43968
- * _avg: {
43969
- * age: true,
43970
- * },
43971
- * where: {
43972
- * email: {
43973
- * contains: "prisma.io",
43974
- * },
43975
- * },
43976
- * orderBy: {
43977
- * age: "asc",
43978
- * },
43979
- * take: 10,
43980
- * })
43981
- **/
43982
- aggregate<T extends SocialPostTagAggregateArgs>(args: Subset<T, SocialPostTagAggregateArgs>): Prisma.PrismaPromise<GetSocialPostTagAggregateType<T>>
43983
-
43984
- /**
43985
- * Group by SocialPostTag.
43986
- * Note, that providing `undefined` is treated as the value not being there.
43987
- * Read more here: https://pris.ly/d/null-undefined
43988
- * @param {SocialPostTagGroupByArgs} args - Group by arguments.
43989
- * @example
43990
- * // Group by city, order by createdAt, get count
43991
- * const result = await prisma.user.groupBy({
43992
- * by: ['city', 'createdAt'],
43993
- * orderBy: {
43994
- * createdAt: true
43995
- * },
43996
- * _count: {
43997
- * _all: true
43998
- * },
43999
- * })
44000
- *
44001
- **/
44002
- groupBy<
44003
- T extends SocialPostTagGroupByArgs,
44004
- HasSelectOrTake extends Or<
44005
- Extends<'skip', Keys<T>>,
44006
- Extends<'take', Keys<T>>
44007
- >,
44008
- OrderByArg extends True extends HasSelectOrTake
44009
- ? { orderBy: SocialPostTagGroupByArgs['orderBy'] }
44010
- : { orderBy?: SocialPostTagGroupByArgs['orderBy'] },
44011
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
44012
- ByFields extends MaybeTupleToUnion<T['by']>,
44013
- ByValid extends Has<ByFields, OrderFields>,
44014
- HavingFields extends GetHavingFields<T['having']>,
44015
- HavingValid extends Has<ByFields, HavingFields>,
44016
- ByEmpty extends T['by'] extends never[] ? True : False,
44017
- InputErrors extends ByEmpty extends True
44018
- ? `Error: "by" must not be empty.`
44019
- : HavingValid extends False
44020
- ? {
44021
- [P in HavingFields]: P extends ByFields
44022
- ? never
44023
- : P extends string
44024
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
44025
- : [
44026
- Error,
44027
- 'Field ',
44028
- P,
44029
- ` in "having" needs to be provided in "by"`,
44030
- ]
44031
- }[HavingFields]
44032
- : 'take' extends Keys<T>
44033
- ? 'orderBy' extends Keys<T>
44034
- ? ByValid extends True
44035
- ? {}
44036
- : {
44037
- [P in OrderFields]: P extends ByFields
44038
- ? never
44039
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
44040
- }[OrderFields]
44041
- : 'Error: If you provide "take", you also need to provide "orderBy"'
44042
- : 'skip' extends Keys<T>
44043
- ? 'orderBy' extends Keys<T>
44044
- ? ByValid extends True
44045
- ? {}
44046
- : {
44047
- [P in OrderFields]: P extends ByFields
44048
- ? never
44049
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
44050
- }[OrderFields]
44051
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
44052
- : ByValid extends True
44053
- ? {}
44054
- : {
44055
- [P in OrderFields]: P extends ByFields
44056
- ? never
44057
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
44058
- }[OrderFields]
44059
- >(args: SubsetIntersection<T, SocialPostTagGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSocialPostTagGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
44060
- /**
44061
- * Fields of the SocialPostTag model
44062
- */
44063
- readonly fields: SocialPostTagFieldRefs;
44064
- }
44065
-
44066
- /**
44067
- * The delegate class that acts as a "Promise-like" for SocialPostTag.
44068
- * Why is this prefixed with `Prisma__`?
44069
- * Because we want to prevent naming conflicts as mentioned in
44070
- * https://github.com/prisma/prisma-client-js/issues/707
44071
- */
44072
- export interface Prisma__SocialPostTagClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
44073
- readonly [Symbol.toStringTag]: 'PrismaPromise';
44074
-
44075
- socialPost<T extends SocialPostDefaultArgs<ExtArgs> = {}>(args?: Subset<T, SocialPostDefaultArgs<ExtArgs>>): Prisma__SocialPostClient<$Result.GetResult<Prisma.$SocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
44076
-
44077
42947
  /**
44078
42948
  * Attaches callbacks for the resolution and/or rejection of the Promise.
44079
42949
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -44099,336 +42969,418 @@ export namespace Prisma {
44099
42969
 
44100
42970
 
44101
42971
  /**
44102
- * Fields of the SocialPostTag model
42972
+ * Fields of the SocialPost model
44103
42973
  */
44104
- interface SocialPostTagFieldRefs {
44105
- readonly id: FieldRef<"SocialPostTag", 'Int'>
44106
- readonly title: FieldRef<"SocialPostTag", 'String'>
44107
- readonly type: FieldRef<"SocialPostTag", 'String'>
44108
- readonly socialPostId: FieldRef<"SocialPostTag", 'Int'>
42974
+ interface SocialPostFieldRefs {
42975
+ readonly id: FieldRef<"SocialPost", 'Int'>
42976
+ readonly phylloId: FieldRef<"SocialPost", 'String'>
42977
+ readonly metaData: FieldRef<"SocialPost", 'Json'>
42978
+ readonly data: FieldRef<"SocialPost", 'Json'>
42979
+ readonly lastFetched: FieldRef<"SocialPost", 'DateTime'>
42980
+ readonly lastWebhook: FieldRef<"SocialPost", 'DateTime'>
42981
+ readonly posted: FieldRef<"SocialPost", 'DateTime'>
42982
+ readonly title: FieldRef<"SocialPost", 'String'>
42983
+ readonly description: FieldRef<"SocialPost", 'String'>
42984
+ readonly url: FieldRef<"SocialPost", 'String'>
42985
+ readonly urlPath: FieldRef<"SocialPost", 'String'>
42986
+ readonly format: FieldRef<"SocialPost", 'String'>
42987
+ readonly type: FieldRef<"SocialPost", 'String'>
42988
+ readonly platform: FieldRef<"SocialPost", 'String'>
42989
+ readonly visibility: FieldRef<"SocialPost", 'String'>
42990
+ readonly isSponsored: FieldRef<"SocialPost", 'Boolean'>
42991
+ readonly hasCollaborators: FieldRef<"SocialPost", 'Boolean'>
42992
+ readonly isOwnedByUser: FieldRef<"SocialPost", 'Boolean'>
42993
+ readonly views: FieldRef<"SocialPost", 'Int'>
42994
+ readonly impressions: FieldRef<"SocialPost", 'Int'>
42995
+ readonly impressionsOrganic: FieldRef<"SocialPost", 'Int'>
42996
+ readonly impressionsPaid: FieldRef<"SocialPost", 'Int'>
42997
+ readonly reach: FieldRef<"SocialPost", 'Int'>
42998
+ readonly reachOrganic: FieldRef<"SocialPost", 'Int'>
42999
+ readonly reachPaid: FieldRef<"SocialPost", 'Int'>
43000
+ readonly watchHours: FieldRef<"SocialPost", 'Float'>
43001
+ readonly likes: FieldRef<"SocialPost", 'Int'>
43002
+ readonly dislikes: FieldRef<"SocialPost", 'Int'>
43003
+ readonly comments: FieldRef<"SocialPost", 'Int'>
43004
+ readonly saves: FieldRef<"SocialPost", 'Int'>
43005
+ readonly shares: FieldRef<"SocialPost", 'Int'>
43006
+ readonly userId: FieldRef<"SocialPost", 'Int'>
43007
+ readonly campaignId: FieldRef<"SocialPost", 'Int'>
44109
43008
  }
44110
43009
 
44111
43010
 
44112
43011
  // Custom InputTypes
44113
43012
 
44114
43013
  /**
44115
- * SocialPostTag findUnique
43014
+ * SocialPost findUnique
44116
43015
  */
44117
- export type SocialPostTagFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43016
+ export type SocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44118
43017
  /**
44119
- * Select specific fields to fetch from the SocialPostTag
43018
+ * Select specific fields to fetch from the SocialPost
44120
43019
  */
44121
- select?: SocialPostTagSelect<ExtArgs> | null
43020
+ select?: SocialPostSelect<ExtArgs> | null
44122
43021
  /**
44123
43022
  * Choose, which related nodes to fetch as well.
44124
43023
  */
44125
- include?: SocialPostTagInclude<ExtArgs> | null
43024
+ include?: SocialPostInclude<ExtArgs> | null
44126
43025
  /**
44127
- * Filter, which SocialPostTag to fetch.
43026
+ * Filter, which SocialPost to fetch.
44128
43027
  */
44129
- where: SocialPostTagWhereUniqueInput
43028
+ where: SocialPostWhereUniqueInput
44130
43029
  }
44131
43030
 
44132
43031
 
44133
43032
  /**
44134
- * SocialPostTag findUniqueOrThrow
43033
+ * SocialPost findUniqueOrThrow
44135
43034
  */
44136
- export type SocialPostTagFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43035
+ export type SocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44137
43036
  /**
44138
- * Select specific fields to fetch from the SocialPostTag
43037
+ * Select specific fields to fetch from the SocialPost
44139
43038
  */
44140
- select?: SocialPostTagSelect<ExtArgs> | null
43039
+ select?: SocialPostSelect<ExtArgs> | null
44141
43040
  /**
44142
43041
  * Choose, which related nodes to fetch as well.
44143
43042
  */
44144
- include?: SocialPostTagInclude<ExtArgs> | null
43043
+ include?: SocialPostInclude<ExtArgs> | null
44145
43044
  /**
44146
- * Filter, which SocialPostTag to fetch.
43045
+ * Filter, which SocialPost to fetch.
44147
43046
  */
44148
- where: SocialPostTagWhereUniqueInput
43047
+ where: SocialPostWhereUniqueInput
44149
43048
  }
44150
43049
 
44151
43050
 
44152
43051
  /**
44153
- * SocialPostTag findFirst
43052
+ * SocialPost findFirst
44154
43053
  */
44155
- export type SocialPostTagFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43054
+ export type SocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44156
43055
  /**
44157
- * Select specific fields to fetch from the SocialPostTag
43056
+ * Select specific fields to fetch from the SocialPost
44158
43057
  */
44159
- select?: SocialPostTagSelect<ExtArgs> | null
43058
+ select?: SocialPostSelect<ExtArgs> | null
44160
43059
  /**
44161
43060
  * Choose, which related nodes to fetch as well.
44162
43061
  */
44163
- include?: SocialPostTagInclude<ExtArgs> | null
43062
+ include?: SocialPostInclude<ExtArgs> | null
44164
43063
  /**
44165
- * Filter, which SocialPostTag to fetch.
43064
+ * Filter, which SocialPost to fetch.
44166
43065
  */
44167
- where?: SocialPostTagWhereInput
43066
+ where?: SocialPostWhereInput
44168
43067
  /**
44169
43068
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
44170
43069
  *
44171
- * Determine the order of SocialPostTags to fetch.
43070
+ * Determine the order of SocialPosts to fetch.
44172
43071
  */
44173
- orderBy?: SocialPostTagOrderByWithRelationAndSearchRelevanceInput | SocialPostTagOrderByWithRelationAndSearchRelevanceInput[]
43072
+ orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
44174
43073
  /**
44175
43074
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
44176
43075
  *
44177
- * Sets the position for searching for SocialPostTags.
43076
+ * Sets the position for searching for SocialPosts.
44178
43077
  */
44179
- cursor?: SocialPostTagWhereUniqueInput
43078
+ cursor?: SocialPostWhereUniqueInput
44180
43079
  /**
44181
43080
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
44182
43081
  *
44183
- * Take `±n` SocialPostTags from the position of the cursor.
43082
+ * Take `±n` SocialPosts from the position of the cursor.
44184
43083
  */
44185
43084
  take?: number
44186
43085
  /**
44187
43086
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
44188
43087
  *
44189
- * Skip the first `n` SocialPostTags.
43088
+ * Skip the first `n` SocialPosts.
44190
43089
  */
44191
43090
  skip?: number
44192
43091
  /**
44193
43092
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
44194
43093
  *
44195
- * Filter by unique combinations of SocialPostTags.
43094
+ * Filter by unique combinations of SocialPosts.
44196
43095
  */
44197
- distinct?: SocialPostTagScalarFieldEnum | SocialPostTagScalarFieldEnum[]
43096
+ distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
44198
43097
  }
44199
43098
 
44200
43099
 
44201
43100
  /**
44202
- * SocialPostTag findFirstOrThrow
43101
+ * SocialPost findFirstOrThrow
44203
43102
  */
44204
- export type SocialPostTagFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43103
+ export type SocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44205
43104
  /**
44206
- * Select specific fields to fetch from the SocialPostTag
43105
+ * Select specific fields to fetch from the SocialPost
44207
43106
  */
44208
- select?: SocialPostTagSelect<ExtArgs> | null
43107
+ select?: SocialPostSelect<ExtArgs> | null
44209
43108
  /**
44210
43109
  * Choose, which related nodes to fetch as well.
44211
43110
  */
44212
- include?: SocialPostTagInclude<ExtArgs> | null
43111
+ include?: SocialPostInclude<ExtArgs> | null
44213
43112
  /**
44214
- * Filter, which SocialPostTag to fetch.
43113
+ * Filter, which SocialPost to fetch.
44215
43114
  */
44216
- where?: SocialPostTagWhereInput
43115
+ where?: SocialPostWhereInput
44217
43116
  /**
44218
43117
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
44219
43118
  *
44220
- * Determine the order of SocialPostTags to fetch.
43119
+ * Determine the order of SocialPosts to fetch.
44221
43120
  */
44222
- orderBy?: SocialPostTagOrderByWithRelationAndSearchRelevanceInput | SocialPostTagOrderByWithRelationAndSearchRelevanceInput[]
43121
+ orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
44223
43122
  /**
44224
43123
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
44225
43124
  *
44226
- * Sets the position for searching for SocialPostTags.
43125
+ * Sets the position for searching for SocialPosts.
44227
43126
  */
44228
- cursor?: SocialPostTagWhereUniqueInput
43127
+ cursor?: SocialPostWhereUniqueInput
44229
43128
  /**
44230
43129
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
44231
43130
  *
44232
- * Take `±n` SocialPostTags from the position of the cursor.
43131
+ * Take `±n` SocialPosts from the position of the cursor.
44233
43132
  */
44234
43133
  take?: number
44235
43134
  /**
44236
43135
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
44237
43136
  *
44238
- * Skip the first `n` SocialPostTags.
43137
+ * Skip the first `n` SocialPosts.
44239
43138
  */
44240
43139
  skip?: number
44241
43140
  /**
44242
43141
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
44243
43142
  *
44244
- * Filter by unique combinations of SocialPostTags.
43143
+ * Filter by unique combinations of SocialPosts.
44245
43144
  */
44246
- distinct?: SocialPostTagScalarFieldEnum | SocialPostTagScalarFieldEnum[]
43145
+ distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
44247
43146
  }
44248
43147
 
44249
43148
 
44250
43149
  /**
44251
- * SocialPostTag findMany
43150
+ * SocialPost findMany
44252
43151
  */
44253
- export type SocialPostTagFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43152
+ export type SocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44254
43153
  /**
44255
- * Select specific fields to fetch from the SocialPostTag
43154
+ * Select specific fields to fetch from the SocialPost
44256
43155
  */
44257
- select?: SocialPostTagSelect<ExtArgs> | null
43156
+ select?: SocialPostSelect<ExtArgs> | null
44258
43157
  /**
44259
43158
  * Choose, which related nodes to fetch as well.
44260
43159
  */
44261
- include?: SocialPostTagInclude<ExtArgs> | null
43160
+ include?: SocialPostInclude<ExtArgs> | null
44262
43161
  /**
44263
- * Filter, which SocialPostTags to fetch.
43162
+ * Filter, which SocialPosts to fetch.
44264
43163
  */
44265
- where?: SocialPostTagWhereInput
43164
+ where?: SocialPostWhereInput
44266
43165
  /**
44267
43166
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
44268
43167
  *
44269
- * Determine the order of SocialPostTags to fetch.
43168
+ * Determine the order of SocialPosts to fetch.
44270
43169
  */
44271
- orderBy?: SocialPostTagOrderByWithRelationAndSearchRelevanceInput | SocialPostTagOrderByWithRelationAndSearchRelevanceInput[]
43170
+ orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
44272
43171
  /**
44273
43172
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
44274
43173
  *
44275
- * Sets the position for listing SocialPostTags.
43174
+ * Sets the position for listing SocialPosts.
44276
43175
  */
44277
- cursor?: SocialPostTagWhereUniqueInput
43176
+ cursor?: SocialPostWhereUniqueInput
44278
43177
  /**
44279
43178
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
44280
43179
  *
44281
- * Take `±n` SocialPostTags from the position of the cursor.
43180
+ * Take `±n` SocialPosts from the position of the cursor.
44282
43181
  */
44283
43182
  take?: number
44284
43183
  /**
44285
43184
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
44286
43185
  *
44287
- * Skip the first `n` SocialPostTags.
43186
+ * Skip the first `n` SocialPosts.
44288
43187
  */
44289
43188
  skip?: number
44290
- distinct?: SocialPostTagScalarFieldEnum | SocialPostTagScalarFieldEnum[]
43189
+ distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
44291
43190
  }
44292
43191
 
44293
43192
 
44294
43193
  /**
44295
- * SocialPostTag create
43194
+ * SocialPost create
44296
43195
  */
44297
- export type SocialPostTagCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43196
+ export type SocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44298
43197
  /**
44299
- * Select specific fields to fetch from the SocialPostTag
43198
+ * Select specific fields to fetch from the SocialPost
44300
43199
  */
44301
- select?: SocialPostTagSelect<ExtArgs> | null
43200
+ select?: SocialPostSelect<ExtArgs> | null
44302
43201
  /**
44303
43202
  * Choose, which related nodes to fetch as well.
44304
43203
  */
44305
- include?: SocialPostTagInclude<ExtArgs> | null
43204
+ include?: SocialPostInclude<ExtArgs> | null
44306
43205
  /**
44307
- * The data needed to create a SocialPostTag.
43206
+ * The data needed to create a SocialPost.
44308
43207
  */
44309
- data: XOR<SocialPostTagCreateInput, SocialPostTagUncheckedCreateInput>
43208
+ data?: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
44310
43209
  }
44311
43210
 
44312
43211
 
44313
43212
  /**
44314
- * SocialPostTag createMany
43213
+ * SocialPost createMany
44315
43214
  */
44316
- export type SocialPostTagCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43215
+ export type SocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44317
43216
  /**
44318
- * The data used to create many SocialPostTags.
43217
+ * The data used to create many SocialPosts.
44319
43218
  */
44320
- data: SocialPostTagCreateManyInput | SocialPostTagCreateManyInput[]
43219
+ data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
44321
43220
  skipDuplicates?: boolean
44322
43221
  }
44323
43222
 
44324
43223
 
44325
43224
  /**
44326
- * SocialPostTag update
43225
+ * SocialPost update
44327
43226
  */
44328
- export type SocialPostTagUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43227
+ export type SocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44329
43228
  /**
44330
- * Select specific fields to fetch from the SocialPostTag
43229
+ * Select specific fields to fetch from the SocialPost
44331
43230
  */
44332
- select?: SocialPostTagSelect<ExtArgs> | null
43231
+ select?: SocialPostSelect<ExtArgs> | null
44333
43232
  /**
44334
43233
  * Choose, which related nodes to fetch as well.
44335
43234
  */
44336
- include?: SocialPostTagInclude<ExtArgs> | null
43235
+ include?: SocialPostInclude<ExtArgs> | null
44337
43236
  /**
44338
- * The data needed to update a SocialPostTag.
43237
+ * The data needed to update a SocialPost.
44339
43238
  */
44340
- data: XOR<SocialPostTagUpdateInput, SocialPostTagUncheckedUpdateInput>
43239
+ data: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
44341
43240
  /**
44342
- * Choose, which SocialPostTag to update.
43241
+ * Choose, which SocialPost to update.
44343
43242
  */
44344
- where: SocialPostTagWhereUniqueInput
43243
+ where: SocialPostWhereUniqueInput
44345
43244
  }
44346
43245
 
44347
43246
 
44348
43247
  /**
44349
- * SocialPostTag updateMany
43248
+ * SocialPost updateMany
44350
43249
  */
44351
- export type SocialPostTagUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43250
+ export type SocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44352
43251
  /**
44353
- * The data used to update SocialPostTags.
43252
+ * The data used to update SocialPosts.
44354
43253
  */
44355
- data: XOR<SocialPostTagUpdateManyMutationInput, SocialPostTagUncheckedUpdateManyInput>
43254
+ data: XOR<SocialPostUpdateManyMutationInput, SocialPostUncheckedUpdateManyInput>
44356
43255
  /**
44357
- * Filter which SocialPostTags to update
43256
+ * Filter which SocialPosts to update
44358
43257
  */
44359
- where?: SocialPostTagWhereInput
43258
+ where?: SocialPostWhereInput
44360
43259
  }
44361
43260
 
44362
43261
 
44363
43262
  /**
44364
- * SocialPostTag upsert
43263
+ * SocialPost upsert
44365
43264
  */
44366
- export type SocialPostTagUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43265
+ export type SocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44367
43266
  /**
44368
- * Select specific fields to fetch from the SocialPostTag
43267
+ * Select specific fields to fetch from the SocialPost
44369
43268
  */
44370
- select?: SocialPostTagSelect<ExtArgs> | null
43269
+ select?: SocialPostSelect<ExtArgs> | null
44371
43270
  /**
44372
43271
  * Choose, which related nodes to fetch as well.
44373
43272
  */
44374
- include?: SocialPostTagInclude<ExtArgs> | null
43273
+ include?: SocialPostInclude<ExtArgs> | null
43274
+ /**
43275
+ * The filter to search for the SocialPost to update in case it exists.
43276
+ */
43277
+ where: SocialPostWhereUniqueInput
43278
+ /**
43279
+ * In case the SocialPost found by the `where` argument doesn't exist, create a new SocialPost with this data.
43280
+ */
43281
+ create: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
43282
+ /**
43283
+ * In case the SocialPost was found with the provided `where` argument, update it with this data.
43284
+ */
43285
+ update: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
43286
+ }
43287
+
43288
+
43289
+ /**
43290
+ * SocialPost delete
43291
+ */
43292
+ export type SocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43293
+ /**
43294
+ * Select specific fields to fetch from the SocialPost
43295
+ */
43296
+ select?: SocialPostSelect<ExtArgs> | null
44375
43297
  /**
44376
- * The filter to search for the SocialPostTag to update in case it exists.
43298
+ * Choose, which related nodes to fetch as well.
44377
43299
  */
44378
- where: SocialPostTagWhereUniqueInput
43300
+ include?: SocialPostInclude<ExtArgs> | null
44379
43301
  /**
44380
- * In case the SocialPostTag found by the `where` argument doesn't exist, create a new SocialPostTag with this data.
43302
+ * Filter which SocialPost to delete.
44381
43303
  */
44382
- create: XOR<SocialPostTagCreateInput, SocialPostTagUncheckedCreateInput>
43304
+ where: SocialPostWhereUniqueInput
43305
+ }
43306
+
43307
+
43308
+ /**
43309
+ * SocialPost deleteMany
43310
+ */
43311
+ export type SocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44383
43312
  /**
44384
- * In case the SocialPostTag was found with the provided `where` argument, update it with this data.
43313
+ * Filter which SocialPosts to delete
44385
43314
  */
44386
- update: XOR<SocialPostTagUpdateInput, SocialPostTagUncheckedUpdateInput>
43315
+ where?: SocialPostWhereInput
44387
43316
  }
44388
43317
 
44389
43318
 
44390
43319
  /**
44391
- * SocialPostTag delete
43320
+ * SocialPost.user
44392
43321
  */
44393
- export type SocialPostTagDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43322
+ export type SocialPost$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44394
43323
  /**
44395
- * Select specific fields to fetch from the SocialPostTag
43324
+ * Select specific fields to fetch from the User
44396
43325
  */
44397
- select?: SocialPostTagSelect<ExtArgs> | null
43326
+ select?: UserSelect<ExtArgs> | null
44398
43327
  /**
44399
43328
  * Choose, which related nodes to fetch as well.
44400
43329
  */
44401
- include?: SocialPostTagInclude<ExtArgs> | null
43330
+ include?: UserInclude<ExtArgs> | null
43331
+ where?: UserWhereInput
43332
+ }
43333
+
43334
+
43335
+ /**
43336
+ * SocialPost.campaign
43337
+ */
43338
+ export type SocialPost$campaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43339
+ /**
43340
+ * Select specific fields to fetch from the Campaign
43341
+ */
43342
+ select?: CampaignSelect<ExtArgs> | null
44402
43343
  /**
44403
- * Filter which SocialPostTag to delete.
43344
+ * Choose, which related nodes to fetch as well.
44404
43345
  */
44405
- where: SocialPostTagWhereUniqueInput
43346
+ include?: CampaignInclude<ExtArgs> | null
43347
+ where?: CampaignWhereInput
44406
43348
  }
44407
43349
 
44408
43350
 
44409
43351
  /**
44410
- * SocialPostTag deleteMany
43352
+ * SocialPost.lists
44411
43353
  */
44412
- export type SocialPostTagDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43354
+ export type SocialPost$listsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44413
43355
  /**
44414
- * Filter which SocialPostTags to delete
43356
+ * Select specific fields to fetch from the ListToSocialPost
44415
43357
  */
44416
- where?: SocialPostTagWhereInput
43358
+ select?: ListToSocialPostSelect<ExtArgs> | null
43359
+ /**
43360
+ * Choose, which related nodes to fetch as well.
43361
+ */
43362
+ include?: ListToSocialPostInclude<ExtArgs> | null
43363
+ where?: ListToSocialPostWhereInput
43364
+ orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
43365
+ cursor?: ListToSocialPostWhereUniqueInput
43366
+ take?: number
43367
+ skip?: number
43368
+ distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
44417
43369
  }
44418
43370
 
44419
43371
 
44420
43372
  /**
44421
- * SocialPostTag without action
43373
+ * SocialPost without action
44422
43374
  */
44423
- export type SocialPostTagDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
43375
+ export type SocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
44424
43376
  /**
44425
- * Select specific fields to fetch from the SocialPostTag
43377
+ * Select specific fields to fetch from the SocialPost
44426
43378
  */
44427
- select?: SocialPostTagSelect<ExtArgs> | null
43379
+ select?: SocialPostSelect<ExtArgs> | null
44428
43380
  /**
44429
43381
  * Choose, which related nodes to fetch as well.
44430
43382
  */
44431
- include?: SocialPostTagInclude<ExtArgs> | null
43383
+ include?: SocialPostInclude<ExtArgs> | null
44432
43384
  }
44433
43385
 
44434
43386
 
@@ -72291,16 +71243,6 @@ export namespace Prisma {
72291
71243
  export type SocialPostScalarFieldEnum = (typeof SocialPostScalarFieldEnum)[keyof typeof SocialPostScalarFieldEnum]
72292
71244
 
72293
71245
 
72294
- export const SocialPostTagScalarFieldEnum: {
72295
- id: 'id',
72296
- title: 'title',
72297
- type: 'type',
72298
- socialPostId: 'socialPostId'
72299
- };
72300
-
72301
- export type SocialPostTagScalarFieldEnum = (typeof SocialPostTagScalarFieldEnum)[keyof typeof SocialPostTagScalarFieldEnum]
72302
-
72303
-
72304
71246
  export const ImageScalarFieldEnum: {
72305
71247
  id: 'id',
72306
71248
  url: 'url',
@@ -72956,14 +71898,6 @@ export namespace Prisma {
72956
71898
  export type SocialPostOrderByRelevanceFieldEnum = (typeof SocialPostOrderByRelevanceFieldEnum)[keyof typeof SocialPostOrderByRelevanceFieldEnum]
72957
71899
 
72958
71900
 
72959
- export const SocialPostTagOrderByRelevanceFieldEnum: {
72960
- title: 'title',
72961
- type: 'type'
72962
- };
72963
-
72964
- export type SocialPostTagOrderByRelevanceFieldEnum = (typeof SocialPostTagOrderByRelevanceFieldEnum)[keyof typeof SocialPostTagOrderByRelevanceFieldEnum]
72965
-
72966
-
72967
71901
  export const ImageOrderByRelevanceFieldEnum: {
72968
71902
  url: 'url',
72969
71903
  size: 'size'
@@ -76098,10 +75032,10 @@ export namespace Prisma {
76098
75032
  paymentId?: StringFilter<"TrolleyPayment"> | string
76099
75033
  type?: EnumtrolleyPaymentTypeNullableFilter<"TrolleyPayment"> | $Enums.trolleyPaymentType | null
76100
75034
  status?: EnumtrolleyPaymentStatusFilter<"TrolleyPayment"> | $Enums.trolleyPaymentStatus
76101
- optInId?: IntFilter<"TrolleyPayment"> | number
75035
+ optInId?: IntNullableFilter<"TrolleyPayment"> | number | null
76102
75036
  paymentAmount?: IntFilter<"TrolleyPayment"> | number
76103
75037
  metaData?: JsonFilter<"TrolleyPayment">
76104
- optIn?: XOR<OptInRelationFilter, OptInWhereInput>
75038
+ optIn?: XOR<OptInNullableRelationFilter, OptInWhereInput> | null
76105
75039
  }
76106
75040
 
76107
75041
  export type TrolleyPaymentOrderByWithRelationAndSearchRelevanceInput = {
@@ -76109,7 +75043,7 @@ export namespace Prisma {
76109
75043
  paymentId?: SortOrder
76110
75044
  type?: SortOrderInput | SortOrder
76111
75045
  status?: SortOrder
76112
- optInId?: SortOrder
75046
+ optInId?: SortOrderInput | SortOrder
76113
75047
  paymentAmount?: SortOrder
76114
75048
  metaData?: SortOrder
76115
75049
  optIn?: OptInOrderByWithRelationAndSearchRelevanceInput
@@ -76124,10 +75058,10 @@ export namespace Prisma {
76124
75058
  NOT?: TrolleyPaymentWhereInput | TrolleyPaymentWhereInput[]
76125
75059
  type?: EnumtrolleyPaymentTypeNullableFilter<"TrolleyPayment"> | $Enums.trolleyPaymentType | null
76126
75060
  status?: EnumtrolleyPaymentStatusFilter<"TrolleyPayment"> | $Enums.trolleyPaymentStatus
76127
- optInId?: IntFilter<"TrolleyPayment"> | number
75061
+ optInId?: IntNullableFilter<"TrolleyPayment"> | number | null
76128
75062
  paymentAmount?: IntFilter<"TrolleyPayment"> | number
76129
75063
  metaData?: JsonFilter<"TrolleyPayment">
76130
- optIn?: XOR<OptInRelationFilter, OptInWhereInput>
75064
+ optIn?: XOR<OptInNullableRelationFilter, OptInWhereInput> | null
76131
75065
  }, "id" | "paymentId">
76132
75066
 
76133
75067
  export type TrolleyPaymentOrderByWithAggregationInput = {
@@ -76135,7 +75069,7 @@ export namespace Prisma {
76135
75069
  paymentId?: SortOrder
76136
75070
  type?: SortOrderInput | SortOrder
76137
75071
  status?: SortOrder
76138
- optInId?: SortOrder
75072
+ optInId?: SortOrderInput | SortOrder
76139
75073
  paymentAmount?: SortOrder
76140
75074
  metaData?: SortOrder
76141
75075
  _count?: TrolleyPaymentCountOrderByAggregateInput
@@ -76153,7 +75087,7 @@ export namespace Prisma {
76153
75087
  paymentId?: StringWithAggregatesFilter<"TrolleyPayment"> | string
76154
75088
  type?: EnumtrolleyPaymentTypeNullableWithAggregatesFilter<"TrolleyPayment"> | $Enums.trolleyPaymentType | null
76155
75089
  status?: EnumtrolleyPaymentStatusWithAggregatesFilter<"TrolleyPayment"> | $Enums.trolleyPaymentStatus
76156
- optInId?: IntWithAggregatesFilter<"TrolleyPayment"> | number
75090
+ optInId?: IntNullableWithAggregatesFilter<"TrolleyPayment"> | number | null
76157
75091
  paymentAmount?: IntWithAggregatesFilter<"TrolleyPayment"> | number
76158
75092
  metaData?: JsonWithAggregatesFilter<"TrolleyPayment">
76159
75093
  }
@@ -76256,7 +75190,6 @@ export namespace Prisma {
76256
75190
  user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
76257
75191
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
76258
75192
  lists?: ListToSocialPostListRelationFilter
76259
- socialPostTags?: SocialPostTagListRelationFilter
76260
75193
  }
76261
75194
 
76262
75195
  export type SocialPostOrderByWithRelationAndSearchRelevanceInput = {
@@ -76296,7 +75229,6 @@ export namespace Prisma {
76296
75229
  user?: UserOrderByWithRelationAndSearchRelevanceInput
76297
75230
  campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
76298
75231
  lists?: ListToSocialPostOrderByRelationAggregateInput
76299
- socialPostTags?: SocialPostTagOrderByRelationAggregateInput
76300
75232
  _relevance?: SocialPostOrderByRelevanceInput
76301
75233
  }
76302
75234
 
@@ -76340,7 +75272,6 @@ export namespace Prisma {
76340
75272
  user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
76341
75273
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
76342
75274
  lists?: ListToSocialPostListRelationFilter
76343
- socialPostTags?: SocialPostTagListRelationFilter
76344
75275
  }, "id" | "phylloId" | "urlPath">
76345
75276
 
76346
75277
  export type SocialPostOrderByWithAggregationInput = {
@@ -76423,59 +75354,6 @@ export namespace Prisma {
76423
75354
  campaignId?: IntNullableWithAggregatesFilter<"SocialPost"> | number | null
76424
75355
  }
76425
75356
 
76426
- export type SocialPostTagWhereInput = {
76427
- AND?: SocialPostTagWhereInput | SocialPostTagWhereInput[]
76428
- OR?: SocialPostTagWhereInput[]
76429
- NOT?: SocialPostTagWhereInput | SocialPostTagWhereInput[]
76430
- id?: IntFilter<"SocialPostTag"> | number
76431
- title?: StringFilter<"SocialPostTag"> | string
76432
- type?: StringFilter<"SocialPostTag"> | string
76433
- socialPostId?: IntFilter<"SocialPostTag"> | number
76434
- socialPost?: XOR<SocialPostRelationFilter, SocialPostWhereInput>
76435
- }
76436
-
76437
- export type SocialPostTagOrderByWithRelationAndSearchRelevanceInput = {
76438
- id?: SortOrder
76439
- title?: SortOrder
76440
- type?: SortOrder
76441
- socialPostId?: SortOrder
76442
- socialPost?: SocialPostOrderByWithRelationAndSearchRelevanceInput
76443
- _relevance?: SocialPostTagOrderByRelevanceInput
76444
- }
76445
-
76446
- export type SocialPostTagWhereUniqueInput = Prisma.AtLeast<{
76447
- id?: number
76448
- AND?: SocialPostTagWhereInput | SocialPostTagWhereInput[]
76449
- OR?: SocialPostTagWhereInput[]
76450
- NOT?: SocialPostTagWhereInput | SocialPostTagWhereInput[]
76451
- title?: StringFilter<"SocialPostTag"> | string
76452
- type?: StringFilter<"SocialPostTag"> | string
76453
- socialPostId?: IntFilter<"SocialPostTag"> | number
76454
- socialPost?: XOR<SocialPostRelationFilter, SocialPostWhereInput>
76455
- }, "id">
76456
-
76457
- export type SocialPostTagOrderByWithAggregationInput = {
76458
- id?: SortOrder
76459
- title?: SortOrder
76460
- type?: SortOrder
76461
- socialPostId?: SortOrder
76462
- _count?: SocialPostTagCountOrderByAggregateInput
76463
- _avg?: SocialPostTagAvgOrderByAggregateInput
76464
- _max?: SocialPostTagMaxOrderByAggregateInput
76465
- _min?: SocialPostTagMinOrderByAggregateInput
76466
- _sum?: SocialPostTagSumOrderByAggregateInput
76467
- }
76468
-
76469
- export type SocialPostTagScalarWhereWithAggregatesInput = {
76470
- AND?: SocialPostTagScalarWhereWithAggregatesInput | SocialPostTagScalarWhereWithAggregatesInput[]
76471
- OR?: SocialPostTagScalarWhereWithAggregatesInput[]
76472
- NOT?: SocialPostTagScalarWhereWithAggregatesInput | SocialPostTagScalarWhereWithAggregatesInput[]
76473
- id?: IntWithAggregatesFilter<"SocialPostTag"> | number
76474
- title?: StringWithAggregatesFilter<"SocialPostTag"> | string
76475
- type?: StringWithAggregatesFilter<"SocialPostTag"> | string
76476
- socialPostId?: IntWithAggregatesFilter<"SocialPostTag"> | number
76477
- }
76478
-
76479
75357
  export type ImageWhereInput = {
76480
75358
  AND?: ImageWhereInput | ImageWhereInput[]
76481
75359
  OR?: ImageWhereInput[]
@@ -81436,18 +80314,18 @@ export namespace Prisma {
81436
80314
  export type TrolleyPaymentCreateInput = {
81437
80315
  paymentId: string
81438
80316
  type?: $Enums.trolleyPaymentType | null
81439
- status?: $Enums.trolleyPaymentStatus
80317
+ status: $Enums.trolleyPaymentStatus
81440
80318
  paymentAmount: number
81441
80319
  metaData?: JsonNullValueInput | InputJsonValue
81442
- optIn: OptInCreateNestedOneWithoutTrolleyPaymentsInput
80320
+ optIn?: OptInCreateNestedOneWithoutTrolleyPaymentsInput
81443
80321
  }
81444
80322
 
81445
80323
  export type TrolleyPaymentUncheckedCreateInput = {
81446
80324
  id?: number
81447
80325
  paymentId: string
81448
80326
  type?: $Enums.trolleyPaymentType | null
81449
- status?: $Enums.trolleyPaymentStatus
81450
- optInId: number
80327
+ status: $Enums.trolleyPaymentStatus
80328
+ optInId?: number | null
81451
80329
  paymentAmount: number
81452
80330
  metaData?: JsonNullValueInput | InputJsonValue
81453
80331
  }
@@ -81458,7 +80336,7 @@ export namespace Prisma {
81458
80336
  status?: EnumtrolleyPaymentStatusFieldUpdateOperationsInput | $Enums.trolleyPaymentStatus
81459
80337
  paymentAmount?: IntFieldUpdateOperationsInput | number
81460
80338
  metaData?: JsonNullValueInput | InputJsonValue
81461
- optIn?: OptInUpdateOneRequiredWithoutTrolleyPaymentsNestedInput
80339
+ optIn?: OptInUpdateOneWithoutTrolleyPaymentsNestedInput
81462
80340
  }
81463
80341
 
81464
80342
  export type TrolleyPaymentUncheckedUpdateInput = {
@@ -81466,7 +80344,7 @@ export namespace Prisma {
81466
80344
  paymentId?: StringFieldUpdateOperationsInput | string
81467
80345
  type?: NullableEnumtrolleyPaymentTypeFieldUpdateOperationsInput | $Enums.trolleyPaymentType | null
81468
80346
  status?: EnumtrolleyPaymentStatusFieldUpdateOperationsInput | $Enums.trolleyPaymentStatus
81469
- optInId?: IntFieldUpdateOperationsInput | number
80347
+ optInId?: NullableIntFieldUpdateOperationsInput | number | null
81470
80348
  paymentAmount?: IntFieldUpdateOperationsInput | number
81471
80349
  metaData?: JsonNullValueInput | InputJsonValue
81472
80350
  }
@@ -81475,8 +80353,8 @@ export namespace Prisma {
81475
80353
  id?: number
81476
80354
  paymentId: string
81477
80355
  type?: $Enums.trolleyPaymentType | null
81478
- status?: $Enums.trolleyPaymentStatus
81479
- optInId: number
80356
+ status: $Enums.trolleyPaymentStatus
80357
+ optInId?: number | null
81480
80358
  paymentAmount: number
81481
80359
  metaData?: JsonNullValueInput | InputJsonValue
81482
80360
  }
@@ -81494,7 +80372,7 @@ export namespace Prisma {
81494
80372
  paymentId?: StringFieldUpdateOperationsInput | string
81495
80373
  type?: NullableEnumtrolleyPaymentTypeFieldUpdateOperationsInput | $Enums.trolleyPaymentType | null
81496
80374
  status?: EnumtrolleyPaymentStatusFieldUpdateOperationsInput | $Enums.trolleyPaymentStatus
81497
- optInId?: IntFieldUpdateOperationsInput | number
80375
+ optInId?: NullableIntFieldUpdateOperationsInput | number | null
81498
80376
  paymentAmount?: IntFieldUpdateOperationsInput | number
81499
80377
  metaData?: JsonNullValueInput | InputJsonValue
81500
80378
  }
@@ -81577,7 +80455,6 @@ export namespace Prisma {
81577
80455
  user?: UserCreateNestedOneWithoutSocialPostsInput
81578
80456
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
81579
80457
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
81580
- socialPostTags?: SocialPostTagCreateNestedManyWithoutSocialPostInput
81581
80458
  }
81582
80459
 
81583
80460
  export type SocialPostUncheckedCreateInput = {
@@ -81615,7 +80492,6 @@ export namespace Prisma {
81615
80492
  userId?: number | null
81616
80493
  campaignId?: number | null
81617
80494
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
81618
- socialPostTags?: SocialPostTagUncheckedCreateNestedManyWithoutSocialPostInput
81619
80495
  }
81620
80496
 
81621
80497
  export type SocialPostUpdateInput = {
@@ -81652,7 +80528,6 @@ export namespace Prisma {
81652
80528
  user?: UserUpdateOneWithoutSocialPostsNestedInput
81653
80529
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
81654
80530
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
81655
- socialPostTags?: SocialPostTagUpdateManyWithoutSocialPostNestedInput
81656
80531
  }
81657
80532
 
81658
80533
  export type SocialPostUncheckedUpdateInput = {
@@ -81690,7 +80565,6 @@ export namespace Prisma {
81690
80565
  userId?: NullableIntFieldUpdateOperationsInput | number | null
81691
80566
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
81692
80567
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
81693
- socialPostTags?: SocialPostTagUncheckedUpdateManyWithoutSocialPostNestedInput
81694
80568
  }
81695
80569
 
81696
80570
  export type SocialPostCreateManyInput = {
@@ -81798,51 +80672,6 @@ export namespace Prisma {
81798
80672
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
81799
80673
  }
81800
80674
 
81801
- export type SocialPostTagCreateInput = {
81802
- title: string
81803
- type: string
81804
- socialPost: SocialPostCreateNestedOneWithoutSocialPostTagsInput
81805
- }
81806
-
81807
- export type SocialPostTagUncheckedCreateInput = {
81808
- id?: number
81809
- title: string
81810
- type: string
81811
- socialPostId: number
81812
- }
81813
-
81814
- export type SocialPostTagUpdateInput = {
81815
- title?: StringFieldUpdateOperationsInput | string
81816
- type?: StringFieldUpdateOperationsInput | string
81817
- socialPost?: SocialPostUpdateOneRequiredWithoutSocialPostTagsNestedInput
81818
- }
81819
-
81820
- export type SocialPostTagUncheckedUpdateInput = {
81821
- id?: IntFieldUpdateOperationsInput | number
81822
- title?: StringFieldUpdateOperationsInput | string
81823
- type?: StringFieldUpdateOperationsInput | string
81824
- socialPostId?: IntFieldUpdateOperationsInput | number
81825
- }
81826
-
81827
- export type SocialPostTagCreateManyInput = {
81828
- id?: number
81829
- title: string
81830
- type: string
81831
- socialPostId: number
81832
- }
81833
-
81834
- export type SocialPostTagUpdateManyMutationInput = {
81835
- title?: StringFieldUpdateOperationsInput | string
81836
- type?: StringFieldUpdateOperationsInput | string
81837
- }
81838
-
81839
- export type SocialPostTagUncheckedUpdateManyInput = {
81840
- id?: IntFieldUpdateOperationsInput | number
81841
- title?: StringFieldUpdateOperationsInput | string
81842
- type?: StringFieldUpdateOperationsInput | string
81843
- socialPostId?: IntFieldUpdateOperationsInput | number
81844
- }
81845
-
81846
80675
  export type ImageCreateInput = {
81847
80676
  url: string
81848
80677
  size: string
@@ -86427,20 +85256,10 @@ export namespace Prisma {
86427
85256
  none?: ListToSocialPostWhereInput
86428
85257
  }
86429
85258
 
86430
- export type SocialPostTagListRelationFilter = {
86431
- every?: SocialPostTagWhereInput
86432
- some?: SocialPostTagWhereInput
86433
- none?: SocialPostTagWhereInput
86434
- }
86435
-
86436
85259
  export type ListToSocialPostOrderByRelationAggregateInput = {
86437
85260
  _count?: SortOrder
86438
85261
  }
86439
85262
 
86440
- export type SocialPostTagOrderByRelationAggregateInput = {
86441
- _count?: SortOrder
86442
- }
86443
-
86444
85263
  export type SocialPostOrderByRelevanceInput = {
86445
85264
  fields: SocialPostOrderByRelevanceFieldEnum | SocialPostOrderByRelevanceFieldEnum[]
86446
85265
  sort: SortOrder
@@ -86589,48 +85408,6 @@ export namespace Prisma {
86589
85408
  campaignId?: SortOrder
86590
85409
  }
86591
85410
 
86592
- export type SocialPostRelationFilter = {
86593
- is?: SocialPostWhereInput
86594
- isNot?: SocialPostWhereInput
86595
- }
86596
-
86597
- export type SocialPostTagOrderByRelevanceInput = {
86598
- fields: SocialPostTagOrderByRelevanceFieldEnum | SocialPostTagOrderByRelevanceFieldEnum[]
86599
- sort: SortOrder
86600
- search: string
86601
- }
86602
-
86603
- export type SocialPostTagCountOrderByAggregateInput = {
86604
- id?: SortOrder
86605
- title?: SortOrder
86606
- type?: SortOrder
86607
- socialPostId?: SortOrder
86608
- }
86609
-
86610
- export type SocialPostTagAvgOrderByAggregateInput = {
86611
- id?: SortOrder
86612
- socialPostId?: SortOrder
86613
- }
86614
-
86615
- export type SocialPostTagMaxOrderByAggregateInput = {
86616
- id?: SortOrder
86617
- title?: SortOrder
86618
- type?: SortOrder
86619
- socialPostId?: SortOrder
86620
- }
86621
-
86622
- export type SocialPostTagMinOrderByAggregateInput = {
86623
- id?: SortOrder
86624
- title?: SortOrder
86625
- type?: SortOrder
86626
- socialPostId?: SortOrder
86627
- }
86628
-
86629
- export type SocialPostTagSumOrderByAggregateInput = {
86630
- id?: SortOrder
86631
- socialPostId?: SortOrder
86632
- }
86633
-
86634
85411
  export type CampaignToImageRelationFilter = {
86635
85412
  is?: CampaignToImageWhereInput
86636
85413
  isNot?: CampaignToImageWhereInput
@@ -87551,6 +86328,11 @@ export namespace Prisma {
87551
86328
  isNot?: SocialListeningListWhereInput
87552
86329
  }
87553
86330
 
86331
+ export type SocialPostRelationFilter = {
86332
+ is?: SocialPostWhereInput
86333
+ isNot?: SocialPostWhereInput
86334
+ }
86335
+
87554
86336
  export type ListToSocialPostCountOrderByAggregateInput = {
87555
86337
  id?: SortOrder
87556
86338
  listId?: SortOrder
@@ -91687,10 +90469,12 @@ export namespace Prisma {
91687
90469
  set?: $Enums.trolleyPaymentStatus
91688
90470
  }
91689
90471
 
91690
- export type OptInUpdateOneRequiredWithoutTrolleyPaymentsNestedInput = {
90472
+ export type OptInUpdateOneWithoutTrolleyPaymentsNestedInput = {
91691
90473
  create?: XOR<OptInCreateWithoutTrolleyPaymentsInput, OptInUncheckedCreateWithoutTrolleyPaymentsInput>
91692
90474
  connectOrCreate?: OptInCreateOrConnectWithoutTrolleyPaymentsInput
91693
90475
  upsert?: OptInUpsertWithoutTrolleyPaymentsInput
90476
+ disconnect?: OptInWhereInput | boolean
90477
+ delete?: OptInWhereInput | boolean
91694
90478
  connect?: OptInWhereUniqueInput
91695
90479
  update?: XOR<XOR<OptInUpdateToOneWithWhereWithoutTrolleyPaymentsInput, OptInUpdateWithoutTrolleyPaymentsInput>, OptInUncheckedUpdateWithoutTrolleyPaymentsInput>
91696
90480
  }
@@ -91756,13 +90540,6 @@ export namespace Prisma {
91756
90540
  connect?: ListToSocialPostWhereUniqueInput | ListToSocialPostWhereUniqueInput[]
91757
90541
  }
91758
90542
 
91759
- export type SocialPostTagCreateNestedManyWithoutSocialPostInput = {
91760
- create?: XOR<SocialPostTagCreateWithoutSocialPostInput, SocialPostTagUncheckedCreateWithoutSocialPostInput> | SocialPostTagCreateWithoutSocialPostInput[] | SocialPostTagUncheckedCreateWithoutSocialPostInput[]
91761
- connectOrCreate?: SocialPostTagCreateOrConnectWithoutSocialPostInput | SocialPostTagCreateOrConnectWithoutSocialPostInput[]
91762
- createMany?: SocialPostTagCreateManySocialPostInputEnvelope
91763
- connect?: SocialPostTagWhereUniqueInput | SocialPostTagWhereUniqueInput[]
91764
- }
91765
-
91766
90543
  export type ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
91767
90544
  create?: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput> | ListToSocialPostCreateWithoutSocialPostInput[] | ListToSocialPostUncheckedCreateWithoutSocialPostInput[]
91768
90545
  connectOrCreate?: ListToSocialPostCreateOrConnectWithoutSocialPostInput | ListToSocialPostCreateOrConnectWithoutSocialPostInput[]
@@ -91770,13 +90547,6 @@ export namespace Prisma {
91770
90547
  connect?: ListToSocialPostWhereUniqueInput | ListToSocialPostWhereUniqueInput[]
91771
90548
  }
91772
90549
 
91773
- export type SocialPostTagUncheckedCreateNestedManyWithoutSocialPostInput = {
91774
- create?: XOR<SocialPostTagCreateWithoutSocialPostInput, SocialPostTagUncheckedCreateWithoutSocialPostInput> | SocialPostTagCreateWithoutSocialPostInput[] | SocialPostTagUncheckedCreateWithoutSocialPostInput[]
91775
- connectOrCreate?: SocialPostTagCreateOrConnectWithoutSocialPostInput | SocialPostTagCreateOrConnectWithoutSocialPostInput[]
91776
- createMany?: SocialPostTagCreateManySocialPostInputEnvelope
91777
- connect?: SocialPostTagWhereUniqueInput | SocialPostTagWhereUniqueInput[]
91778
- }
91779
-
91780
90550
  export type UserUpdateOneWithoutSocialPostsNestedInput = {
91781
90551
  create?: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
91782
90552
  connectOrCreate?: UserCreateOrConnectWithoutSocialPostsInput
@@ -91811,20 +90581,6 @@ export namespace Prisma {
91811
90581
  deleteMany?: ListToSocialPostScalarWhereInput | ListToSocialPostScalarWhereInput[]
91812
90582
  }
91813
90583
 
91814
- export type SocialPostTagUpdateManyWithoutSocialPostNestedInput = {
91815
- create?: XOR<SocialPostTagCreateWithoutSocialPostInput, SocialPostTagUncheckedCreateWithoutSocialPostInput> | SocialPostTagCreateWithoutSocialPostInput[] | SocialPostTagUncheckedCreateWithoutSocialPostInput[]
91816
- connectOrCreate?: SocialPostTagCreateOrConnectWithoutSocialPostInput | SocialPostTagCreateOrConnectWithoutSocialPostInput[]
91817
- upsert?: SocialPostTagUpsertWithWhereUniqueWithoutSocialPostInput | SocialPostTagUpsertWithWhereUniqueWithoutSocialPostInput[]
91818
- createMany?: SocialPostTagCreateManySocialPostInputEnvelope
91819
- set?: SocialPostTagWhereUniqueInput | SocialPostTagWhereUniqueInput[]
91820
- disconnect?: SocialPostTagWhereUniqueInput | SocialPostTagWhereUniqueInput[]
91821
- delete?: SocialPostTagWhereUniqueInput | SocialPostTagWhereUniqueInput[]
91822
- connect?: SocialPostTagWhereUniqueInput | SocialPostTagWhereUniqueInput[]
91823
- update?: SocialPostTagUpdateWithWhereUniqueWithoutSocialPostInput | SocialPostTagUpdateWithWhereUniqueWithoutSocialPostInput[]
91824
- updateMany?: SocialPostTagUpdateManyWithWhereWithoutSocialPostInput | SocialPostTagUpdateManyWithWhereWithoutSocialPostInput[]
91825
- deleteMany?: SocialPostTagScalarWhereInput | SocialPostTagScalarWhereInput[]
91826
- }
91827
-
91828
90584
  export type ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput = {
91829
90585
  create?: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput> | ListToSocialPostCreateWithoutSocialPostInput[] | ListToSocialPostUncheckedCreateWithoutSocialPostInput[]
91830
90586
  connectOrCreate?: ListToSocialPostCreateOrConnectWithoutSocialPostInput | ListToSocialPostCreateOrConnectWithoutSocialPostInput[]
@@ -91839,34 +90595,6 @@ export namespace Prisma {
91839
90595
  deleteMany?: ListToSocialPostScalarWhereInput | ListToSocialPostScalarWhereInput[]
91840
90596
  }
91841
90597
 
91842
- export type SocialPostTagUncheckedUpdateManyWithoutSocialPostNestedInput = {
91843
- create?: XOR<SocialPostTagCreateWithoutSocialPostInput, SocialPostTagUncheckedCreateWithoutSocialPostInput> | SocialPostTagCreateWithoutSocialPostInput[] | SocialPostTagUncheckedCreateWithoutSocialPostInput[]
91844
- connectOrCreate?: SocialPostTagCreateOrConnectWithoutSocialPostInput | SocialPostTagCreateOrConnectWithoutSocialPostInput[]
91845
- upsert?: SocialPostTagUpsertWithWhereUniqueWithoutSocialPostInput | SocialPostTagUpsertWithWhereUniqueWithoutSocialPostInput[]
91846
- createMany?: SocialPostTagCreateManySocialPostInputEnvelope
91847
- set?: SocialPostTagWhereUniqueInput | SocialPostTagWhereUniqueInput[]
91848
- disconnect?: SocialPostTagWhereUniqueInput | SocialPostTagWhereUniqueInput[]
91849
- delete?: SocialPostTagWhereUniqueInput | SocialPostTagWhereUniqueInput[]
91850
- connect?: SocialPostTagWhereUniqueInput | SocialPostTagWhereUniqueInput[]
91851
- update?: SocialPostTagUpdateWithWhereUniqueWithoutSocialPostInput | SocialPostTagUpdateWithWhereUniqueWithoutSocialPostInput[]
91852
- updateMany?: SocialPostTagUpdateManyWithWhereWithoutSocialPostInput | SocialPostTagUpdateManyWithWhereWithoutSocialPostInput[]
91853
- deleteMany?: SocialPostTagScalarWhereInput | SocialPostTagScalarWhereInput[]
91854
- }
91855
-
91856
- export type SocialPostCreateNestedOneWithoutSocialPostTagsInput = {
91857
- create?: XOR<SocialPostCreateWithoutSocialPostTagsInput, SocialPostUncheckedCreateWithoutSocialPostTagsInput>
91858
- connectOrCreate?: SocialPostCreateOrConnectWithoutSocialPostTagsInput
91859
- connect?: SocialPostWhereUniqueInput
91860
- }
91861
-
91862
- export type SocialPostUpdateOneRequiredWithoutSocialPostTagsNestedInput = {
91863
- create?: XOR<SocialPostCreateWithoutSocialPostTagsInput, SocialPostUncheckedCreateWithoutSocialPostTagsInput>
91864
- connectOrCreate?: SocialPostCreateOrConnectWithoutSocialPostTagsInput
91865
- upsert?: SocialPostUpsertWithoutSocialPostTagsInput
91866
- connect?: SocialPostWhereUniqueInput
91867
- update?: XOR<XOR<SocialPostUpdateToOneWithWhereWithoutSocialPostTagsInput, SocialPostUpdateWithoutSocialPostTagsInput>, SocialPostUncheckedUpdateWithoutSocialPostTagsInput>
91868
- }
91869
-
91870
90598
  export type CampaignToImageCreateNestedOneWithoutSizesInput = {
91871
90599
  create?: XOR<CampaignToImageCreateWithoutSizesInput, CampaignToImageUncheckedCreateWithoutSizesInput>
91872
90600
  connectOrCreate?: CampaignToImageCreateOrConnectWithoutSizesInput
@@ -94390,7 +93118,6 @@ export namespace Prisma {
94390
93118
  shares?: number | null
94391
93119
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
94392
93120
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
94393
- socialPostTags?: SocialPostTagCreateNestedManyWithoutSocialPostInput
94394
93121
  }
94395
93122
 
94396
93123
  export type SocialPostUncheckedCreateWithoutUserInput = {
@@ -94427,7 +93154,6 @@ export namespace Prisma {
94427
93154
  shares?: number | null
94428
93155
  campaignId?: number | null
94429
93156
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
94430
- socialPostTags?: SocialPostTagUncheckedCreateNestedManyWithoutSocialPostInput
94431
93157
  }
94432
93158
 
94433
93159
  export type SocialPostCreateOrConnectWithoutUserInput = {
@@ -101437,7 +100163,6 @@ export namespace Prisma {
101437
100163
  shares?: number | null
101438
100164
  user?: UserCreateNestedOneWithoutSocialPostsInput
101439
100165
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
101440
- socialPostTags?: SocialPostTagCreateNestedManyWithoutSocialPostInput
101441
100166
  }
101442
100167
 
101443
100168
  export type SocialPostUncheckedCreateWithoutCampaignInput = {
@@ -101474,7 +100199,6 @@ export namespace Prisma {
101474
100199
  shares?: number | null
101475
100200
  userId?: number | null
101476
100201
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
101477
- socialPostTags?: SocialPostTagUncheckedCreateNestedManyWithoutSocialPostInput
101478
100202
  }
101479
100203
 
101480
100204
  export type SocialPostCreateOrConnectWithoutCampaignInput = {
@@ -105059,7 +103783,7 @@ export namespace Prisma {
105059
103783
  export type TrolleyPaymentCreateWithoutOptInInput = {
105060
103784
  paymentId: string
105061
103785
  type?: $Enums.trolleyPaymentType | null
105062
- status?: $Enums.trolleyPaymentStatus
103786
+ status: $Enums.trolleyPaymentStatus
105063
103787
  paymentAmount: number
105064
103788
  metaData?: JsonNullValueInput | InputJsonValue
105065
103789
  }
@@ -105068,7 +103792,7 @@ export namespace Prisma {
105068
103792
  id?: number
105069
103793
  paymentId: string
105070
103794
  type?: $Enums.trolleyPaymentType | null
105071
- status?: $Enums.trolleyPaymentStatus
103795
+ status: $Enums.trolleyPaymentStatus
105072
103796
  paymentAmount: number
105073
103797
  metaData?: JsonNullValueInput | InputJsonValue
105074
103798
  }
@@ -105453,7 +104177,7 @@ export namespace Prisma {
105453
104177
  paymentId?: StringFilter<"TrolleyPayment"> | string
105454
104178
  type?: EnumtrolleyPaymentTypeNullableFilter<"TrolleyPayment"> | $Enums.trolleyPaymentType | null
105455
104179
  status?: EnumtrolleyPaymentStatusFilter<"TrolleyPayment"> | $Enums.trolleyPaymentStatus
105456
- optInId?: IntFilter<"TrolleyPayment"> | number
104180
+ optInId?: IntNullableFilter<"TrolleyPayment"> | number | null
105457
104181
  paymentAmount?: IntFilter<"TrolleyPayment"> | number
105458
104182
  metaData?: JsonFilter<"TrolleyPayment">
105459
104183
  }
@@ -106015,27 +104739,6 @@ export namespace Prisma {
106015
104739
  skipDuplicates?: boolean
106016
104740
  }
106017
104741
 
106018
- export type SocialPostTagCreateWithoutSocialPostInput = {
106019
- title: string
106020
- type: string
106021
- }
106022
-
106023
- export type SocialPostTagUncheckedCreateWithoutSocialPostInput = {
106024
- id?: number
106025
- title: string
106026
- type: string
106027
- }
106028
-
106029
- export type SocialPostTagCreateOrConnectWithoutSocialPostInput = {
106030
- where: SocialPostTagWhereUniqueInput
106031
- create: XOR<SocialPostTagCreateWithoutSocialPostInput, SocialPostTagUncheckedCreateWithoutSocialPostInput>
106032
- }
106033
-
106034
- export type SocialPostTagCreateManySocialPostInputEnvelope = {
106035
- data: SocialPostTagCreateManySocialPostInput | SocialPostTagCreateManySocialPostInput[]
106036
- skipDuplicates?: boolean
106037
- }
106038
-
106039
104742
  export type UserUpsertWithoutSocialPostsInput = {
106040
104743
  update: XOR<UserUpdateWithoutSocialPostsInput, UserUncheckedUpdateWithoutSocialPostsInput>
106041
104744
  create: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
@@ -106295,194 +104998,6 @@ export namespace Prisma {
106295
104998
  postId?: IntFilter<"ListToSocialPost"> | number
106296
104999
  }
106297
105000
 
106298
- export type SocialPostTagUpsertWithWhereUniqueWithoutSocialPostInput = {
106299
- where: SocialPostTagWhereUniqueInput
106300
- update: XOR<SocialPostTagUpdateWithoutSocialPostInput, SocialPostTagUncheckedUpdateWithoutSocialPostInput>
106301
- create: XOR<SocialPostTagCreateWithoutSocialPostInput, SocialPostTagUncheckedCreateWithoutSocialPostInput>
106302
- }
106303
-
106304
- export type SocialPostTagUpdateWithWhereUniqueWithoutSocialPostInput = {
106305
- where: SocialPostTagWhereUniqueInput
106306
- data: XOR<SocialPostTagUpdateWithoutSocialPostInput, SocialPostTagUncheckedUpdateWithoutSocialPostInput>
106307
- }
106308
-
106309
- export type SocialPostTagUpdateManyWithWhereWithoutSocialPostInput = {
106310
- where: SocialPostTagScalarWhereInput
106311
- data: XOR<SocialPostTagUpdateManyMutationInput, SocialPostTagUncheckedUpdateManyWithoutSocialPostInput>
106312
- }
106313
-
106314
- export type SocialPostTagScalarWhereInput = {
106315
- AND?: SocialPostTagScalarWhereInput | SocialPostTagScalarWhereInput[]
106316
- OR?: SocialPostTagScalarWhereInput[]
106317
- NOT?: SocialPostTagScalarWhereInput | SocialPostTagScalarWhereInput[]
106318
- id?: IntFilter<"SocialPostTag"> | number
106319
- title?: StringFilter<"SocialPostTag"> | string
106320
- type?: StringFilter<"SocialPostTag"> | string
106321
- socialPostId?: IntFilter<"SocialPostTag"> | number
106322
- }
106323
-
106324
- export type SocialPostCreateWithoutSocialPostTagsInput = {
106325
- phylloId?: string | null
106326
- metaData?: JsonNullValueInput | InputJsonValue
106327
- data?: JsonNullValueInput | InputJsonValue
106328
- lastFetched?: Date | string | null
106329
- lastWebhook?: Date | string | null
106330
- posted?: Date | string | null
106331
- title?: string | null
106332
- description?: string | null
106333
- url?: string | null
106334
- urlPath?: string | null
106335
- format?: string | null
106336
- type?: string | null
106337
- platform?: string | null
106338
- visibility?: string | null
106339
- isSponsored?: boolean | null
106340
- hasCollaborators?: boolean | null
106341
- isOwnedByUser?: boolean | null
106342
- views?: number | null
106343
- impressions?: number | null
106344
- impressionsOrganic?: number | null
106345
- impressionsPaid?: number | null
106346
- reach?: number | null
106347
- reachOrganic?: number | null
106348
- reachPaid?: number | null
106349
- watchHours?: number | null
106350
- likes?: number | null
106351
- dislikes?: number | null
106352
- comments?: number | null
106353
- saves?: number | null
106354
- shares?: number | null
106355
- user?: UserCreateNestedOneWithoutSocialPostsInput
106356
- campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
106357
- lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
106358
- }
106359
-
106360
- export type SocialPostUncheckedCreateWithoutSocialPostTagsInput = {
106361
- id?: number
106362
- phylloId?: string | null
106363
- metaData?: JsonNullValueInput | InputJsonValue
106364
- data?: JsonNullValueInput | InputJsonValue
106365
- lastFetched?: Date | string | null
106366
- lastWebhook?: Date | string | null
106367
- posted?: Date | string | null
106368
- title?: string | null
106369
- description?: string | null
106370
- url?: string | null
106371
- urlPath?: string | null
106372
- format?: string | null
106373
- type?: string | null
106374
- platform?: string | null
106375
- visibility?: string | null
106376
- isSponsored?: boolean | null
106377
- hasCollaborators?: boolean | null
106378
- isOwnedByUser?: boolean | null
106379
- views?: number | null
106380
- impressions?: number | null
106381
- impressionsOrganic?: number | null
106382
- impressionsPaid?: number | null
106383
- reach?: number | null
106384
- reachOrganic?: number | null
106385
- reachPaid?: number | null
106386
- watchHours?: number | null
106387
- likes?: number | null
106388
- dislikes?: number | null
106389
- comments?: number | null
106390
- saves?: number | null
106391
- shares?: number | null
106392
- userId?: number | null
106393
- campaignId?: number | null
106394
- lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
106395
- }
106396
-
106397
- export type SocialPostCreateOrConnectWithoutSocialPostTagsInput = {
106398
- where: SocialPostWhereUniqueInput
106399
- create: XOR<SocialPostCreateWithoutSocialPostTagsInput, SocialPostUncheckedCreateWithoutSocialPostTagsInput>
106400
- }
106401
-
106402
- export type SocialPostUpsertWithoutSocialPostTagsInput = {
106403
- update: XOR<SocialPostUpdateWithoutSocialPostTagsInput, SocialPostUncheckedUpdateWithoutSocialPostTagsInput>
106404
- create: XOR<SocialPostCreateWithoutSocialPostTagsInput, SocialPostUncheckedCreateWithoutSocialPostTagsInput>
106405
- where?: SocialPostWhereInput
106406
- }
106407
-
106408
- export type SocialPostUpdateToOneWithWhereWithoutSocialPostTagsInput = {
106409
- where?: SocialPostWhereInput
106410
- data: XOR<SocialPostUpdateWithoutSocialPostTagsInput, SocialPostUncheckedUpdateWithoutSocialPostTagsInput>
106411
- }
106412
-
106413
- export type SocialPostUpdateWithoutSocialPostTagsInput = {
106414
- phylloId?: NullableStringFieldUpdateOperationsInput | string | null
106415
- metaData?: JsonNullValueInput | InputJsonValue
106416
- data?: JsonNullValueInput | InputJsonValue
106417
- lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
106418
- lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
106419
- posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
106420
- title?: NullableStringFieldUpdateOperationsInput | string | null
106421
- description?: NullableStringFieldUpdateOperationsInput | string | null
106422
- url?: NullableStringFieldUpdateOperationsInput | string | null
106423
- urlPath?: NullableStringFieldUpdateOperationsInput | string | null
106424
- format?: NullableStringFieldUpdateOperationsInput | string | null
106425
- type?: NullableStringFieldUpdateOperationsInput | string | null
106426
- platform?: NullableStringFieldUpdateOperationsInput | string | null
106427
- visibility?: NullableStringFieldUpdateOperationsInput | string | null
106428
- isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
106429
- hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
106430
- isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
106431
- views?: NullableIntFieldUpdateOperationsInput | number | null
106432
- impressions?: NullableIntFieldUpdateOperationsInput | number | null
106433
- impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
106434
- impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
106435
- reach?: NullableIntFieldUpdateOperationsInput | number | null
106436
- reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
106437
- reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
106438
- watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
106439
- likes?: NullableIntFieldUpdateOperationsInput | number | null
106440
- dislikes?: NullableIntFieldUpdateOperationsInput | number | null
106441
- comments?: NullableIntFieldUpdateOperationsInput | number | null
106442
- saves?: NullableIntFieldUpdateOperationsInput | number | null
106443
- shares?: NullableIntFieldUpdateOperationsInput | number | null
106444
- user?: UserUpdateOneWithoutSocialPostsNestedInput
106445
- campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
106446
- lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
106447
- }
106448
-
106449
- export type SocialPostUncheckedUpdateWithoutSocialPostTagsInput = {
106450
- id?: IntFieldUpdateOperationsInput | number
106451
- phylloId?: NullableStringFieldUpdateOperationsInput | string | null
106452
- metaData?: JsonNullValueInput | InputJsonValue
106453
- data?: JsonNullValueInput | InputJsonValue
106454
- lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
106455
- lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
106456
- posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
106457
- title?: NullableStringFieldUpdateOperationsInput | string | null
106458
- description?: NullableStringFieldUpdateOperationsInput | string | null
106459
- url?: NullableStringFieldUpdateOperationsInput | string | null
106460
- urlPath?: NullableStringFieldUpdateOperationsInput | string | null
106461
- format?: NullableStringFieldUpdateOperationsInput | string | null
106462
- type?: NullableStringFieldUpdateOperationsInput | string | null
106463
- platform?: NullableStringFieldUpdateOperationsInput | string | null
106464
- visibility?: NullableStringFieldUpdateOperationsInput | string | null
106465
- isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
106466
- hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
106467
- isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
106468
- views?: NullableIntFieldUpdateOperationsInput | number | null
106469
- impressions?: NullableIntFieldUpdateOperationsInput | number | null
106470
- impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
106471
- impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
106472
- reach?: NullableIntFieldUpdateOperationsInput | number | null
106473
- reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
106474
- reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
106475
- watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
106476
- likes?: NullableIntFieldUpdateOperationsInput | number | null
106477
- dislikes?: NullableIntFieldUpdateOperationsInput | number | null
106478
- comments?: NullableIntFieldUpdateOperationsInput | number | null
106479
- saves?: NullableIntFieldUpdateOperationsInput | number | null
106480
- shares?: NullableIntFieldUpdateOperationsInput | number | null
106481
- userId?: NullableIntFieldUpdateOperationsInput | number | null
106482
- campaignId?: NullableIntFieldUpdateOperationsInput | number | null
106483
- lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
106484
- }
106485
-
106486
105001
  export type CampaignToImageCreateWithoutSizesInput = {
106487
105002
  type: string
106488
105003
  campaign: CampaignCreateNestedOneWithoutImagesInput
@@ -110408,7 +108923,6 @@ export namespace Prisma {
110408
108923
  shares?: number | null
110409
108924
  user?: UserCreateNestedOneWithoutSocialPostsInput
110410
108925
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
110411
- socialPostTags?: SocialPostTagCreateNestedManyWithoutSocialPostInput
110412
108926
  }
110413
108927
 
110414
108928
  export type SocialPostUncheckedCreateWithoutListsInput = {
@@ -110445,7 +108959,6 @@ export namespace Prisma {
110445
108959
  shares?: number | null
110446
108960
  userId?: number | null
110447
108961
  campaignId?: number | null
110448
- socialPostTags?: SocialPostTagUncheckedCreateNestedManyWithoutSocialPostInput
110449
108962
  }
110450
108963
 
110451
108964
  export type SocialPostCreateOrConnectWithoutListsInput = {
@@ -110531,7 +109044,6 @@ export namespace Prisma {
110531
109044
  shares?: NullableIntFieldUpdateOperationsInput | number | null
110532
109045
  user?: UserUpdateOneWithoutSocialPostsNestedInput
110533
109046
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
110534
- socialPostTags?: SocialPostTagUpdateManyWithoutSocialPostNestedInput
110535
109047
  }
110536
109048
 
110537
109049
  export type SocialPostUncheckedUpdateWithoutListsInput = {
@@ -110568,7 +109080,6 @@ export namespace Prisma {
110568
109080
  shares?: NullableIntFieldUpdateOperationsInput | number | null
110569
109081
  userId?: NullableIntFieldUpdateOperationsInput | number | null
110570
109082
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
110571
- socialPostTags?: SocialPostTagUncheckedUpdateManyWithoutSocialPostNestedInput
110572
109083
  }
110573
109084
 
110574
109085
  export type CampaignCreateWithoutOptInViewsInput = {
@@ -113353,7 +111864,6 @@ export namespace Prisma {
113353
111864
  shares?: NullableIntFieldUpdateOperationsInput | number | null
113354
111865
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
113355
111866
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
113356
- socialPostTags?: SocialPostTagUpdateManyWithoutSocialPostNestedInput
113357
111867
  }
113358
111868
 
113359
111869
  export type SocialPostUncheckedUpdateWithoutUserInput = {
@@ -113390,7 +111900,6 @@ export namespace Prisma {
113390
111900
  shares?: NullableIntFieldUpdateOperationsInput | number | null
113391
111901
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
113392
111902
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
113393
- socialPostTags?: SocialPostTagUncheckedUpdateManyWithoutSocialPostNestedInput
113394
111903
  }
113395
111904
 
113396
111905
  export type SocialPostUncheckedUpdateManyWithoutUserInput = {
@@ -114983,7 +113492,6 @@ export namespace Prisma {
114983
113492
  shares?: NullableIntFieldUpdateOperationsInput | number | null
114984
113493
  user?: UserUpdateOneWithoutSocialPostsNestedInput
114985
113494
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
114986
- socialPostTags?: SocialPostTagUpdateManyWithoutSocialPostNestedInput
114987
113495
  }
114988
113496
 
114989
113497
  export type SocialPostUncheckedUpdateWithoutCampaignInput = {
@@ -115020,7 +113528,6 @@ export namespace Prisma {
115020
113528
  shares?: NullableIntFieldUpdateOperationsInput | number | null
115021
113529
  userId?: NullableIntFieldUpdateOperationsInput | number | null
115022
113530
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
115023
- socialPostTags?: SocialPostTagUncheckedUpdateManyWithoutSocialPostNestedInput
115024
113531
  }
115025
113532
 
115026
113533
  export type SocialPostUncheckedUpdateManyWithoutCampaignInput = {
@@ -115520,7 +114027,7 @@ export namespace Prisma {
115520
114027
  id?: number
115521
114028
  paymentId: string
115522
114029
  type?: $Enums.trolleyPaymentType | null
115523
- status?: $Enums.trolleyPaymentStatus
114030
+ status: $Enums.trolleyPaymentStatus
115524
114031
  paymentAmount: number
115525
114032
  metaData?: JsonNullValueInput | InputJsonValue
115526
114033
  }
@@ -115631,12 +114138,6 @@ export namespace Prisma {
115631
114138
  listId: number
115632
114139
  }
115633
114140
 
115634
- export type SocialPostTagCreateManySocialPostInput = {
115635
- id?: number
115636
- title: string
115637
- type: string
115638
- }
115639
-
115640
114141
  export type ListToSocialPostUpdateWithoutSocialPostInput = {
115641
114142
  list?: SocialListeningListUpdateOneRequiredWithoutPostsNestedInput
115642
114143
  }
@@ -115651,23 +114152,6 @@ export namespace Prisma {
115651
114152
  listId?: IntFieldUpdateOperationsInput | number
115652
114153
  }
115653
114154
 
115654
- export type SocialPostTagUpdateWithoutSocialPostInput = {
115655
- title?: StringFieldUpdateOperationsInput | string
115656
- type?: StringFieldUpdateOperationsInput | string
115657
- }
115658
-
115659
- export type SocialPostTagUncheckedUpdateWithoutSocialPostInput = {
115660
- id?: IntFieldUpdateOperationsInput | number
115661
- title?: StringFieldUpdateOperationsInput | string
115662
- type?: StringFieldUpdateOperationsInput | string
115663
- }
115664
-
115665
- export type SocialPostTagUncheckedUpdateManyWithoutSocialPostInput = {
115666
- id?: IntFieldUpdateOperationsInput | number
115667
- title?: StringFieldUpdateOperationsInput | string
115668
- type?: StringFieldUpdateOperationsInput | string
115669
- }
115670
-
115671
114155
  export type StateCreateManyCountryInput = {
115672
114156
  id?: number
115673
114157
  stateCode: string
@@ -116525,10 +115009,6 @@ export namespace Prisma {
116525
115009
  * @deprecated Use SocialPostDefaultArgs instead
116526
115010
  */
116527
115011
  export type SocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialPostDefaultArgs<ExtArgs>
116528
- /**
116529
- * @deprecated Use SocialPostTagDefaultArgs instead
116530
- */
116531
- export type SocialPostTagArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialPostTagDefaultArgs<ExtArgs>
116532
115012
  /**
116533
115013
  * @deprecated Use ImageDefaultArgs instead
116534
115014
  */