@creator.co/creatorco-prisma-client 1.0.67 → 1.0.68

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
@@ -203,6 +203,11 @@ export type OptInVariable = $Result.DefaultSelection<Prisma.$OptInVariablePayloa
203
203
  *
204
204
  */
205
205
  export type SocialPost = $Result.DefaultSelection<Prisma.$SocialPostPayload>
206
+ /**
207
+ * Model PublicSocialPost
208
+ *
209
+ */
210
+ export type PublicSocialPost = $Result.DefaultSelection<Prisma.$PublicSocialPostPayload>
206
211
  /**
207
212
  * Model CampaignToSocialPost
208
213
  *
@@ -985,6 +990,16 @@ export class PrismaClient<
985
990
  */
986
991
  get socialPost(): Prisma.SocialPostDelegate<ExtArgs>;
987
992
 
993
+ /**
994
+ * `prisma.publicSocialPost`: Exposes CRUD operations for the **PublicSocialPost** model.
995
+ * Example usage:
996
+ * ```ts
997
+ * // Fetch zero or more PublicSocialPosts
998
+ * const publicSocialPosts = await prisma.publicSocialPost.findMany()
999
+ * ```
1000
+ */
1001
+ get publicSocialPost(): Prisma.PublicSocialPostDelegate<ExtArgs>;
1002
+
988
1003
  /**
989
1004
  * `prisma.campaignToSocialPost`: Exposes CRUD operations for the **CampaignToSocialPost** model.
990
1005
  * Example usage:
@@ -1939,6 +1954,7 @@ export namespace Prisma {
1939
1954
  TrolleyPayment: 'TrolleyPayment',
1940
1955
  OptInVariable: 'OptInVariable',
1941
1956
  SocialPost: 'SocialPost',
1957
+ PublicSocialPost: 'PublicSocialPost',
1942
1958
  CampaignToSocialPost: 'CampaignToSocialPost',
1943
1959
  ArchivedSocialPost: 'ArchivedSocialPost',
1944
1960
  Image: 'Image',
@@ -1999,7 +2015,7 @@ export namespace Prisma {
1999
2015
 
2000
2016
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2001
2017
  meta: {
2002
- modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'campaignToSocialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'pendingBrandInvoicePayment' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'affiliatePayoutBatch' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'cjEvent' | 'shareASaleEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct' | 'shopifyDiscountCode' | 'shopifySale' | 'creatorFlag' | 'brandContract' | 'file' | 'creditRefundBatch'
2018
+ modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'publicSocialPost' | 'campaignToSocialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'pendingBrandInvoicePayment' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'affiliatePayoutBatch' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'cjEvent' | 'shareASaleEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct' | 'shopifyDiscountCode' | 'shopifySale' | 'creatorFlag' | 'brandContract' | 'file' | 'creditRefundBatch'
2003
2019
  txIsolationLevel: Prisma.TransactionIsolationLevel
2004
2020
  },
2005
2021
  model: {
@@ -4663,6 +4679,76 @@ export namespace Prisma {
4663
4679
  }
4664
4680
  }
4665
4681
  }
4682
+ PublicSocialPost: {
4683
+ payload: Prisma.$PublicSocialPostPayload<ExtArgs>
4684
+ fields: Prisma.PublicSocialPostFieldRefs
4685
+ operations: {
4686
+ findUnique: {
4687
+ args: Prisma.PublicSocialPostFindUniqueArgs<ExtArgs>,
4688
+ result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload> | null
4689
+ }
4690
+ findUniqueOrThrow: {
4691
+ args: Prisma.PublicSocialPostFindUniqueOrThrowArgs<ExtArgs>,
4692
+ result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
4693
+ }
4694
+ findFirst: {
4695
+ args: Prisma.PublicSocialPostFindFirstArgs<ExtArgs>,
4696
+ result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload> | null
4697
+ }
4698
+ findFirstOrThrow: {
4699
+ args: Prisma.PublicSocialPostFindFirstOrThrowArgs<ExtArgs>,
4700
+ result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
4701
+ }
4702
+ findMany: {
4703
+ args: Prisma.PublicSocialPostFindManyArgs<ExtArgs>,
4704
+ result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>[]
4705
+ }
4706
+ create: {
4707
+ args: Prisma.PublicSocialPostCreateArgs<ExtArgs>,
4708
+ result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
4709
+ }
4710
+ createMany: {
4711
+ args: Prisma.PublicSocialPostCreateManyArgs<ExtArgs>,
4712
+ result: Prisma.BatchPayload
4713
+ }
4714
+ createManyAndReturn: {
4715
+ args: Prisma.PublicSocialPostCreateManyAndReturnArgs<ExtArgs>,
4716
+ result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>[]
4717
+ }
4718
+ delete: {
4719
+ args: Prisma.PublicSocialPostDeleteArgs<ExtArgs>,
4720
+ result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
4721
+ }
4722
+ update: {
4723
+ args: Prisma.PublicSocialPostUpdateArgs<ExtArgs>,
4724
+ result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
4725
+ }
4726
+ deleteMany: {
4727
+ args: Prisma.PublicSocialPostDeleteManyArgs<ExtArgs>,
4728
+ result: Prisma.BatchPayload
4729
+ }
4730
+ updateMany: {
4731
+ args: Prisma.PublicSocialPostUpdateManyArgs<ExtArgs>,
4732
+ result: Prisma.BatchPayload
4733
+ }
4734
+ upsert: {
4735
+ args: Prisma.PublicSocialPostUpsertArgs<ExtArgs>,
4736
+ result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
4737
+ }
4738
+ aggregate: {
4739
+ args: Prisma.PublicSocialPostAggregateArgs<ExtArgs>,
4740
+ result: $Utils.Optional<AggregatePublicSocialPost>
4741
+ }
4742
+ groupBy: {
4743
+ args: Prisma.PublicSocialPostGroupByArgs<ExtArgs>,
4744
+ result: $Utils.Optional<PublicSocialPostGroupByOutputType>[]
4745
+ }
4746
+ count: {
4747
+ args: Prisma.PublicSocialPostCountArgs<ExtArgs>,
4748
+ result: $Utils.Optional<PublicSocialPostCountAggregateOutputType> | number
4749
+ }
4750
+ }
4751
+ }
4666
4752
  CampaignToSocialPost: {
4667
4753
  payload: Prisma.$CampaignToSocialPostPayload<ExtArgs>
4668
4754
  fields: Prisma.CampaignToSocialPostFieldRefs
@@ -9063,11 +9149,13 @@ export namespace Prisma {
9063
9149
  export type SocialPostCountOutputType = {
9064
9150
  lists: number
9065
9151
  campaigns: number
9152
+ publicPosts: number
9066
9153
  }
9067
9154
 
9068
9155
  export type SocialPostCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9069
9156
  lists?: boolean | SocialPostCountOutputTypeCountListsArgs
9070
9157
  campaigns?: boolean | SocialPostCountOutputTypeCountCampaignsArgs
9158
+ publicPosts?: boolean | SocialPostCountOutputTypeCountPublicPostsArgs
9071
9159
  }
9072
9160
 
9073
9161
  // Custom InputTypes
@@ -9095,6 +9183,13 @@ export namespace Prisma {
9095
9183
  where?: CampaignToSocialPostWhereInput
9096
9184
  }
9097
9185
 
9186
+ /**
9187
+ * SocialPostCountOutputType without action
9188
+ */
9189
+ export type SocialPostCountOutputTypeCountPublicPostsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9190
+ where?: PublicSocialPostWhereInput
9191
+ }
9192
+
9098
9193
 
9099
9194
  /**
9100
9195
  * Count Type CountryCountOutputType
@@ -52286,6 +52381,7 @@ export namespace Prisma {
52286
52381
  campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
52287
52382
  lists?: boolean | SocialPost$listsArgs<ExtArgs>
52288
52383
  campaigns?: boolean | SocialPost$campaignsArgs<ExtArgs>
52384
+ publicPosts?: boolean | SocialPost$publicPostsArgs<ExtArgs>
52289
52385
  _count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
52290
52386
  }, ExtArgs["result"]["socialPost"]>
52291
52387
 
@@ -52368,6 +52464,7 @@ export namespace Prisma {
52368
52464
  campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
52369
52465
  lists?: boolean | SocialPost$listsArgs<ExtArgs>
52370
52466
  campaigns?: boolean | SocialPost$campaignsArgs<ExtArgs>
52467
+ publicPosts?: boolean | SocialPost$publicPostsArgs<ExtArgs>
52371
52468
  _count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
52372
52469
  }
52373
52470
  export type SocialPostIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -52382,6 +52479,7 @@ export namespace Prisma {
52382
52479
  campaign: Prisma.$CampaignPayload<ExtArgs> | null
52383
52480
  lists: Prisma.$ListToSocialPostPayload<ExtArgs>[]
52384
52481
  campaigns: Prisma.$CampaignToSocialPostPayload<ExtArgs>[]
52482
+ publicPosts: Prisma.$PublicSocialPostPayload<ExtArgs>[]
52385
52483
  }
52386
52484
  scalars: $Extensions.GetPayloadResult<{
52387
52485
  id: number
@@ -52815,6 +52913,1165 @@ export namespace Prisma {
52815
52913
 
52816
52914
  campaigns<T extends SocialPost$campaignsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$campaignsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
52817
52915
 
52916
+ publicPosts<T extends SocialPost$publicPostsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$publicPostsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
52917
+
52918
+ /**
52919
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
52920
+ * @param onfulfilled The callback to execute when the Promise is resolved.
52921
+ * @param onrejected The callback to execute when the Promise is rejected.
52922
+ * @returns A Promise for the completion of which ever callback is executed.
52923
+ */
52924
+ 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>;
52925
+ /**
52926
+ * Attaches a callback for only the rejection of the Promise.
52927
+ * @param onrejected The callback to execute when the Promise is rejected.
52928
+ * @returns A Promise for the completion of the callback.
52929
+ */
52930
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
52931
+ /**
52932
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
52933
+ * resolved value cannot be modified from the callback.
52934
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
52935
+ * @returns A Promise for the completion of the callback.
52936
+ */
52937
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
52938
+ }
52939
+
52940
+
52941
+
52942
+ /**
52943
+ * Fields of the SocialPost model
52944
+ */
52945
+ interface SocialPostFieldRefs {
52946
+ readonly id: FieldRef<"SocialPost", 'Int'>
52947
+ readonly externalId: FieldRef<"SocialPost", 'String'>
52948
+ readonly phylloId: FieldRef<"SocialPost", 'String'>
52949
+ readonly metaData: FieldRef<"SocialPost", 'Json'>
52950
+ readonly lastFetched: FieldRef<"SocialPost", 'DateTime'>
52951
+ readonly lastWebhook: FieldRef<"SocialPost", 'DateTime'>
52952
+ readonly posted: FieldRef<"SocialPost", 'DateTime'>
52953
+ readonly title: FieldRef<"SocialPost", 'String'>
52954
+ readonly description: FieldRef<"SocialPost", 'String'>
52955
+ readonly url: FieldRef<"SocialPost", 'String'>
52956
+ readonly format: FieldRef<"SocialPost", 'String'>
52957
+ readonly type: FieldRef<"SocialPost", 'String'>
52958
+ readonly platform: FieldRef<"SocialPost", 'String'>
52959
+ readonly visibility: FieldRef<"SocialPost", 'String'>
52960
+ readonly isSponsored: FieldRef<"SocialPost", 'Boolean'>
52961
+ readonly hasCollaborators: FieldRef<"SocialPost", 'Boolean'>
52962
+ readonly isOwnedByUser: FieldRef<"SocialPost", 'Boolean'>
52963
+ readonly views: FieldRef<"SocialPost", 'Int'>
52964
+ readonly replays: FieldRef<"SocialPost", 'Int'>
52965
+ readonly impressions: FieldRef<"SocialPost", 'Int'>
52966
+ readonly impressionsOrganic: FieldRef<"SocialPost", 'Int'>
52967
+ readonly impressionsPaid: FieldRef<"SocialPost", 'Int'>
52968
+ readonly reach: FieldRef<"SocialPost", 'Int'>
52969
+ readonly reachOrganic: FieldRef<"SocialPost", 'Int'>
52970
+ readonly reachPaid: FieldRef<"SocialPost", 'Int'>
52971
+ readonly watchHours: FieldRef<"SocialPost", 'Float'>
52972
+ readonly likes: FieldRef<"SocialPost", 'Int'>
52973
+ readonly dislikes: FieldRef<"SocialPost", 'Int'>
52974
+ readonly comments: FieldRef<"SocialPost", 'Int'>
52975
+ readonly saves: FieldRef<"SocialPost", 'Int'>
52976
+ readonly shares: FieldRef<"SocialPost", 'Int'>
52977
+ readonly userId: FieldRef<"SocialPost", 'Int'>
52978
+ readonly campaignId: FieldRef<"SocialPost", 'Int'>
52979
+ }
52980
+
52981
+
52982
+ // Custom InputTypes
52983
+ /**
52984
+ * SocialPost findUnique
52985
+ */
52986
+ export type SocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52987
+ /**
52988
+ * Select specific fields to fetch from the SocialPost
52989
+ */
52990
+ select?: SocialPostSelect<ExtArgs> | null
52991
+ /**
52992
+ * Choose, which related nodes to fetch as well
52993
+ */
52994
+ include?: SocialPostInclude<ExtArgs> | null
52995
+ /**
52996
+ * Filter, which SocialPost to fetch.
52997
+ */
52998
+ where: SocialPostWhereUniqueInput
52999
+ }
53000
+
53001
+ /**
53002
+ * SocialPost findUniqueOrThrow
53003
+ */
53004
+ export type SocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53005
+ /**
53006
+ * Select specific fields to fetch from the SocialPost
53007
+ */
53008
+ select?: SocialPostSelect<ExtArgs> | null
53009
+ /**
53010
+ * Choose, which related nodes to fetch as well
53011
+ */
53012
+ include?: SocialPostInclude<ExtArgs> | null
53013
+ /**
53014
+ * Filter, which SocialPost to fetch.
53015
+ */
53016
+ where: SocialPostWhereUniqueInput
53017
+ }
53018
+
53019
+ /**
53020
+ * SocialPost findFirst
53021
+ */
53022
+ export type SocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53023
+ /**
53024
+ * Select specific fields to fetch from the SocialPost
53025
+ */
53026
+ select?: SocialPostSelect<ExtArgs> | null
53027
+ /**
53028
+ * Choose, which related nodes to fetch as well
53029
+ */
53030
+ include?: SocialPostInclude<ExtArgs> | null
53031
+ /**
53032
+ * Filter, which SocialPost to fetch.
53033
+ */
53034
+ where?: SocialPostWhereInput
53035
+ /**
53036
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
53037
+ *
53038
+ * Determine the order of SocialPosts to fetch.
53039
+ */
53040
+ orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
53041
+ /**
53042
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
53043
+ *
53044
+ * Sets the position for searching for SocialPosts.
53045
+ */
53046
+ cursor?: SocialPostWhereUniqueInput
53047
+ /**
53048
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53049
+ *
53050
+ * Take `±n` SocialPosts from the position of the cursor.
53051
+ */
53052
+ take?: number
53053
+ /**
53054
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53055
+ *
53056
+ * Skip the first `n` SocialPosts.
53057
+ */
53058
+ skip?: number
53059
+ /**
53060
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
53061
+ *
53062
+ * Filter by unique combinations of SocialPosts.
53063
+ */
53064
+ distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
53065
+ }
53066
+
53067
+ /**
53068
+ * SocialPost findFirstOrThrow
53069
+ */
53070
+ export type SocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53071
+ /**
53072
+ * Select specific fields to fetch from the SocialPost
53073
+ */
53074
+ select?: SocialPostSelect<ExtArgs> | null
53075
+ /**
53076
+ * Choose, which related nodes to fetch as well
53077
+ */
53078
+ include?: SocialPostInclude<ExtArgs> | null
53079
+ /**
53080
+ * Filter, which SocialPost to fetch.
53081
+ */
53082
+ where?: SocialPostWhereInput
53083
+ /**
53084
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
53085
+ *
53086
+ * Determine the order of SocialPosts to fetch.
53087
+ */
53088
+ orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
53089
+ /**
53090
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
53091
+ *
53092
+ * Sets the position for searching for SocialPosts.
53093
+ */
53094
+ cursor?: SocialPostWhereUniqueInput
53095
+ /**
53096
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53097
+ *
53098
+ * Take `±n` SocialPosts from the position of the cursor.
53099
+ */
53100
+ take?: number
53101
+ /**
53102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53103
+ *
53104
+ * Skip the first `n` SocialPosts.
53105
+ */
53106
+ skip?: number
53107
+ /**
53108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
53109
+ *
53110
+ * Filter by unique combinations of SocialPosts.
53111
+ */
53112
+ distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
53113
+ }
53114
+
53115
+ /**
53116
+ * SocialPost findMany
53117
+ */
53118
+ export type SocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53119
+ /**
53120
+ * Select specific fields to fetch from the SocialPost
53121
+ */
53122
+ select?: SocialPostSelect<ExtArgs> | null
53123
+ /**
53124
+ * Choose, which related nodes to fetch as well
53125
+ */
53126
+ include?: SocialPostInclude<ExtArgs> | null
53127
+ /**
53128
+ * Filter, which SocialPosts to fetch.
53129
+ */
53130
+ where?: SocialPostWhereInput
53131
+ /**
53132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
53133
+ *
53134
+ * Determine the order of SocialPosts to fetch.
53135
+ */
53136
+ orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
53137
+ /**
53138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
53139
+ *
53140
+ * Sets the position for listing SocialPosts.
53141
+ */
53142
+ cursor?: SocialPostWhereUniqueInput
53143
+ /**
53144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53145
+ *
53146
+ * Take `±n` SocialPosts from the position of the cursor.
53147
+ */
53148
+ take?: number
53149
+ /**
53150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53151
+ *
53152
+ * Skip the first `n` SocialPosts.
53153
+ */
53154
+ skip?: number
53155
+ distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
53156
+ }
53157
+
53158
+ /**
53159
+ * SocialPost create
53160
+ */
53161
+ export type SocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53162
+ /**
53163
+ * Select specific fields to fetch from the SocialPost
53164
+ */
53165
+ select?: SocialPostSelect<ExtArgs> | null
53166
+ /**
53167
+ * Choose, which related nodes to fetch as well
53168
+ */
53169
+ include?: SocialPostInclude<ExtArgs> | null
53170
+ /**
53171
+ * The data needed to create a SocialPost.
53172
+ */
53173
+ data: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
53174
+ }
53175
+
53176
+ /**
53177
+ * SocialPost createMany
53178
+ */
53179
+ export type SocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53180
+ /**
53181
+ * The data used to create many SocialPosts.
53182
+ */
53183
+ data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
53184
+ skipDuplicates?: boolean
53185
+ }
53186
+
53187
+ /**
53188
+ * SocialPost createManyAndReturn
53189
+ */
53190
+ export type SocialPostCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53191
+ /**
53192
+ * Select specific fields to fetch from the SocialPost
53193
+ */
53194
+ select?: SocialPostSelectCreateManyAndReturn<ExtArgs> | null
53195
+ /**
53196
+ * The data used to create many SocialPosts.
53197
+ */
53198
+ data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
53199
+ skipDuplicates?: boolean
53200
+ /**
53201
+ * Choose, which related nodes to fetch as well
53202
+ */
53203
+ include?: SocialPostIncludeCreateManyAndReturn<ExtArgs> | null
53204
+ }
53205
+
53206
+ /**
53207
+ * SocialPost update
53208
+ */
53209
+ export type SocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53210
+ /**
53211
+ * Select specific fields to fetch from the SocialPost
53212
+ */
53213
+ select?: SocialPostSelect<ExtArgs> | null
53214
+ /**
53215
+ * Choose, which related nodes to fetch as well
53216
+ */
53217
+ include?: SocialPostInclude<ExtArgs> | null
53218
+ /**
53219
+ * The data needed to update a SocialPost.
53220
+ */
53221
+ data: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
53222
+ /**
53223
+ * Choose, which SocialPost to update.
53224
+ */
53225
+ where: SocialPostWhereUniqueInput
53226
+ }
53227
+
53228
+ /**
53229
+ * SocialPost updateMany
53230
+ */
53231
+ export type SocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53232
+ /**
53233
+ * The data used to update SocialPosts.
53234
+ */
53235
+ data: XOR<SocialPostUpdateManyMutationInput, SocialPostUncheckedUpdateManyInput>
53236
+ /**
53237
+ * Filter which SocialPosts to update
53238
+ */
53239
+ where?: SocialPostWhereInput
53240
+ }
53241
+
53242
+ /**
53243
+ * SocialPost upsert
53244
+ */
53245
+ export type SocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53246
+ /**
53247
+ * Select specific fields to fetch from the SocialPost
53248
+ */
53249
+ select?: SocialPostSelect<ExtArgs> | null
53250
+ /**
53251
+ * Choose, which related nodes to fetch as well
53252
+ */
53253
+ include?: SocialPostInclude<ExtArgs> | null
53254
+ /**
53255
+ * The filter to search for the SocialPost to update in case it exists.
53256
+ */
53257
+ where: SocialPostWhereUniqueInput
53258
+ /**
53259
+ * In case the SocialPost found by the `where` argument doesn't exist, create a new SocialPost with this data.
53260
+ */
53261
+ create: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
53262
+ /**
53263
+ * In case the SocialPost was found with the provided `where` argument, update it with this data.
53264
+ */
53265
+ update: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
53266
+ }
53267
+
53268
+ /**
53269
+ * SocialPost delete
53270
+ */
53271
+ export type SocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53272
+ /**
53273
+ * Select specific fields to fetch from the SocialPost
53274
+ */
53275
+ select?: SocialPostSelect<ExtArgs> | null
53276
+ /**
53277
+ * Choose, which related nodes to fetch as well
53278
+ */
53279
+ include?: SocialPostInclude<ExtArgs> | null
53280
+ /**
53281
+ * Filter which SocialPost to delete.
53282
+ */
53283
+ where: SocialPostWhereUniqueInput
53284
+ }
53285
+
53286
+ /**
53287
+ * SocialPost deleteMany
53288
+ */
53289
+ export type SocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53290
+ /**
53291
+ * Filter which SocialPosts to delete
53292
+ */
53293
+ where?: SocialPostWhereInput
53294
+ }
53295
+
53296
+ /**
53297
+ * SocialPost.user
53298
+ */
53299
+ export type SocialPost$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53300
+ /**
53301
+ * Select specific fields to fetch from the User
53302
+ */
53303
+ select?: UserSelect<ExtArgs> | null
53304
+ /**
53305
+ * Choose, which related nodes to fetch as well
53306
+ */
53307
+ include?: UserInclude<ExtArgs> | null
53308
+ where?: UserWhereInput
53309
+ }
53310
+
53311
+ /**
53312
+ * SocialPost.campaign
53313
+ */
53314
+ export type SocialPost$campaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53315
+ /**
53316
+ * Select specific fields to fetch from the Campaign
53317
+ */
53318
+ select?: CampaignSelect<ExtArgs> | null
53319
+ /**
53320
+ * Choose, which related nodes to fetch as well
53321
+ */
53322
+ include?: CampaignInclude<ExtArgs> | null
53323
+ where?: CampaignWhereInput
53324
+ }
53325
+
53326
+ /**
53327
+ * SocialPost.lists
53328
+ */
53329
+ export type SocialPost$listsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53330
+ /**
53331
+ * Select specific fields to fetch from the ListToSocialPost
53332
+ */
53333
+ select?: ListToSocialPostSelect<ExtArgs> | null
53334
+ /**
53335
+ * Choose, which related nodes to fetch as well
53336
+ */
53337
+ include?: ListToSocialPostInclude<ExtArgs> | null
53338
+ where?: ListToSocialPostWhereInput
53339
+ orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
53340
+ cursor?: ListToSocialPostWhereUniqueInput
53341
+ take?: number
53342
+ skip?: number
53343
+ distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
53344
+ }
53345
+
53346
+ /**
53347
+ * SocialPost.campaigns
53348
+ */
53349
+ export type SocialPost$campaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53350
+ /**
53351
+ * Select specific fields to fetch from the CampaignToSocialPost
53352
+ */
53353
+ select?: CampaignToSocialPostSelect<ExtArgs> | null
53354
+ /**
53355
+ * Choose, which related nodes to fetch as well
53356
+ */
53357
+ include?: CampaignToSocialPostInclude<ExtArgs> | null
53358
+ where?: CampaignToSocialPostWhereInput
53359
+ orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
53360
+ cursor?: CampaignToSocialPostWhereUniqueInput
53361
+ take?: number
53362
+ skip?: number
53363
+ distinct?: CampaignToSocialPostScalarFieldEnum | CampaignToSocialPostScalarFieldEnum[]
53364
+ }
53365
+
53366
+ /**
53367
+ * SocialPost.publicPosts
53368
+ */
53369
+ export type SocialPost$publicPostsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53370
+ /**
53371
+ * Select specific fields to fetch from the PublicSocialPost
53372
+ */
53373
+ select?: PublicSocialPostSelect<ExtArgs> | null
53374
+ /**
53375
+ * Choose, which related nodes to fetch as well
53376
+ */
53377
+ include?: PublicSocialPostInclude<ExtArgs> | null
53378
+ where?: PublicSocialPostWhereInput
53379
+ orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
53380
+ cursor?: PublicSocialPostWhereUniqueInput
53381
+ take?: number
53382
+ skip?: number
53383
+ distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
53384
+ }
53385
+
53386
+ /**
53387
+ * SocialPost without action
53388
+ */
53389
+ export type SocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53390
+ /**
53391
+ * Select specific fields to fetch from the SocialPost
53392
+ */
53393
+ select?: SocialPostSelect<ExtArgs> | null
53394
+ /**
53395
+ * Choose, which related nodes to fetch as well
53396
+ */
53397
+ include?: SocialPostInclude<ExtArgs> | null
53398
+ }
53399
+
53400
+
53401
+ /**
53402
+ * Model PublicSocialPost
53403
+ */
53404
+
53405
+ export type AggregatePublicSocialPost = {
53406
+ _count: PublicSocialPostCountAggregateOutputType | null
53407
+ _avg: PublicSocialPostAvgAggregateOutputType | null
53408
+ _sum: PublicSocialPostSumAggregateOutputType | null
53409
+ _min: PublicSocialPostMinAggregateOutputType | null
53410
+ _max: PublicSocialPostMaxAggregateOutputType | null
53411
+ }
53412
+
53413
+ export type PublicSocialPostAvgAggregateOutputType = {
53414
+ id: number | null
53415
+ socialPostId: number | null
53416
+ views: number | null
53417
+ likes: number | null
53418
+ comments: number | null
53419
+ saves: number | null
53420
+ shares: number | null
53421
+ }
53422
+
53423
+ export type PublicSocialPostSumAggregateOutputType = {
53424
+ id: number | null
53425
+ socialPostId: number | null
53426
+ views: number | null
53427
+ likes: number | null
53428
+ comments: number | null
53429
+ saves: number | null
53430
+ shares: number | null
53431
+ }
53432
+
53433
+ export type PublicSocialPostMinAggregateOutputType = {
53434
+ id: number | null
53435
+ socialPostId: number | null
53436
+ views: number | null
53437
+ likes: number | null
53438
+ comments: number | null
53439
+ saves: number | null
53440
+ shares: number | null
53441
+ }
53442
+
53443
+ export type PublicSocialPostMaxAggregateOutputType = {
53444
+ id: number | null
53445
+ socialPostId: number | null
53446
+ views: number | null
53447
+ likes: number | null
53448
+ comments: number | null
53449
+ saves: number | null
53450
+ shares: number | null
53451
+ }
53452
+
53453
+ export type PublicSocialPostCountAggregateOutputType = {
53454
+ id: number
53455
+ socialPostId: number
53456
+ views: number
53457
+ likes: number
53458
+ comments: number
53459
+ saves: number
53460
+ shares: number
53461
+ _all: number
53462
+ }
53463
+
53464
+
53465
+ export type PublicSocialPostAvgAggregateInputType = {
53466
+ id?: true
53467
+ socialPostId?: true
53468
+ views?: true
53469
+ likes?: true
53470
+ comments?: true
53471
+ saves?: true
53472
+ shares?: true
53473
+ }
53474
+
53475
+ export type PublicSocialPostSumAggregateInputType = {
53476
+ id?: true
53477
+ socialPostId?: true
53478
+ views?: true
53479
+ likes?: true
53480
+ comments?: true
53481
+ saves?: true
53482
+ shares?: true
53483
+ }
53484
+
53485
+ export type PublicSocialPostMinAggregateInputType = {
53486
+ id?: true
53487
+ socialPostId?: true
53488
+ views?: true
53489
+ likes?: true
53490
+ comments?: true
53491
+ saves?: true
53492
+ shares?: true
53493
+ }
53494
+
53495
+ export type PublicSocialPostMaxAggregateInputType = {
53496
+ id?: true
53497
+ socialPostId?: true
53498
+ views?: true
53499
+ likes?: true
53500
+ comments?: true
53501
+ saves?: true
53502
+ shares?: true
53503
+ }
53504
+
53505
+ export type PublicSocialPostCountAggregateInputType = {
53506
+ id?: true
53507
+ socialPostId?: true
53508
+ views?: true
53509
+ likes?: true
53510
+ comments?: true
53511
+ saves?: true
53512
+ shares?: true
53513
+ _all?: true
53514
+ }
53515
+
53516
+ export type PublicSocialPostAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53517
+ /**
53518
+ * Filter which PublicSocialPost to aggregate.
53519
+ */
53520
+ where?: PublicSocialPostWhereInput
53521
+ /**
53522
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
53523
+ *
53524
+ * Determine the order of PublicSocialPosts to fetch.
53525
+ */
53526
+ orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
53527
+ /**
53528
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
53529
+ *
53530
+ * Sets the start position
53531
+ */
53532
+ cursor?: PublicSocialPostWhereUniqueInput
53533
+ /**
53534
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53535
+ *
53536
+ * Take `±n` PublicSocialPosts from the position of the cursor.
53537
+ */
53538
+ take?: number
53539
+ /**
53540
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53541
+ *
53542
+ * Skip the first `n` PublicSocialPosts.
53543
+ */
53544
+ skip?: number
53545
+ /**
53546
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
53547
+ *
53548
+ * Count returned PublicSocialPosts
53549
+ **/
53550
+ _count?: true | PublicSocialPostCountAggregateInputType
53551
+ /**
53552
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
53553
+ *
53554
+ * Select which fields to average
53555
+ **/
53556
+ _avg?: PublicSocialPostAvgAggregateInputType
53557
+ /**
53558
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
53559
+ *
53560
+ * Select which fields to sum
53561
+ **/
53562
+ _sum?: PublicSocialPostSumAggregateInputType
53563
+ /**
53564
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
53565
+ *
53566
+ * Select which fields to find the minimum value
53567
+ **/
53568
+ _min?: PublicSocialPostMinAggregateInputType
53569
+ /**
53570
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
53571
+ *
53572
+ * Select which fields to find the maximum value
53573
+ **/
53574
+ _max?: PublicSocialPostMaxAggregateInputType
53575
+ }
53576
+
53577
+ export type GetPublicSocialPostAggregateType<T extends PublicSocialPostAggregateArgs> = {
53578
+ [P in keyof T & keyof AggregatePublicSocialPost]: P extends '_count' | 'count'
53579
+ ? T[P] extends true
53580
+ ? number
53581
+ : GetScalarType<T[P], AggregatePublicSocialPost[P]>
53582
+ : GetScalarType<T[P], AggregatePublicSocialPost[P]>
53583
+ }
53584
+
53585
+
53586
+
53587
+
53588
+ export type PublicSocialPostGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53589
+ where?: PublicSocialPostWhereInput
53590
+ orderBy?: PublicSocialPostOrderByWithAggregationInput | PublicSocialPostOrderByWithAggregationInput[]
53591
+ by: PublicSocialPostScalarFieldEnum[] | PublicSocialPostScalarFieldEnum
53592
+ having?: PublicSocialPostScalarWhereWithAggregatesInput
53593
+ take?: number
53594
+ skip?: number
53595
+ _count?: PublicSocialPostCountAggregateInputType | true
53596
+ _avg?: PublicSocialPostAvgAggregateInputType
53597
+ _sum?: PublicSocialPostSumAggregateInputType
53598
+ _min?: PublicSocialPostMinAggregateInputType
53599
+ _max?: PublicSocialPostMaxAggregateInputType
53600
+ }
53601
+
53602
+ export type PublicSocialPostGroupByOutputType = {
53603
+ id: number
53604
+ socialPostId: number
53605
+ views: number | null
53606
+ likes: number | null
53607
+ comments: number | null
53608
+ saves: number | null
53609
+ shares: number | null
53610
+ _count: PublicSocialPostCountAggregateOutputType | null
53611
+ _avg: PublicSocialPostAvgAggregateOutputType | null
53612
+ _sum: PublicSocialPostSumAggregateOutputType | null
53613
+ _min: PublicSocialPostMinAggregateOutputType | null
53614
+ _max: PublicSocialPostMaxAggregateOutputType | null
53615
+ }
53616
+
53617
+ type GetPublicSocialPostGroupByPayload<T extends PublicSocialPostGroupByArgs> = Prisma.PrismaPromise<
53618
+ Array<
53619
+ PickEnumerable<PublicSocialPostGroupByOutputType, T['by']> &
53620
+ {
53621
+ [P in ((keyof T) & (keyof PublicSocialPostGroupByOutputType))]: P extends '_count'
53622
+ ? T[P] extends boolean
53623
+ ? number
53624
+ : GetScalarType<T[P], PublicSocialPostGroupByOutputType[P]>
53625
+ : GetScalarType<T[P], PublicSocialPostGroupByOutputType[P]>
53626
+ }
53627
+ >
53628
+ >
53629
+
53630
+
53631
+ export type PublicSocialPostSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
53632
+ id?: boolean
53633
+ socialPostId?: boolean
53634
+ views?: boolean
53635
+ likes?: boolean
53636
+ comments?: boolean
53637
+ saves?: boolean
53638
+ shares?: boolean
53639
+ socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
53640
+ }, ExtArgs["result"]["publicSocialPost"]>
53641
+
53642
+ export type PublicSocialPostSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
53643
+ id?: boolean
53644
+ socialPostId?: boolean
53645
+ views?: boolean
53646
+ likes?: boolean
53647
+ comments?: boolean
53648
+ saves?: boolean
53649
+ shares?: boolean
53650
+ socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
53651
+ }, ExtArgs["result"]["publicSocialPost"]>
53652
+
53653
+ export type PublicSocialPostSelectScalar = {
53654
+ id?: boolean
53655
+ socialPostId?: boolean
53656
+ views?: boolean
53657
+ likes?: boolean
53658
+ comments?: boolean
53659
+ saves?: boolean
53660
+ shares?: boolean
53661
+ }
53662
+
53663
+ export type PublicSocialPostInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53664
+ socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
53665
+ }
53666
+ export type PublicSocialPostIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53667
+ socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
53668
+ }
53669
+
53670
+ export type $PublicSocialPostPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53671
+ name: "PublicSocialPost"
53672
+ objects: {
53673
+ socialPost: Prisma.$SocialPostPayload<ExtArgs>
53674
+ }
53675
+ scalars: $Extensions.GetPayloadResult<{
53676
+ id: number
53677
+ socialPostId: number
53678
+ views: number | null
53679
+ likes: number | null
53680
+ comments: number | null
53681
+ saves: number | null
53682
+ shares: number | null
53683
+ }, ExtArgs["result"]["publicSocialPost"]>
53684
+ composites: {}
53685
+ }
53686
+
53687
+ type PublicSocialPostGetPayload<S extends boolean | null | undefined | PublicSocialPostDefaultArgs> = $Result.GetResult<Prisma.$PublicSocialPostPayload, S>
53688
+
53689
+ type PublicSocialPostCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
53690
+ Omit<PublicSocialPostFindManyArgs, 'select' | 'include' | 'distinct'> & {
53691
+ select?: PublicSocialPostCountAggregateInputType | true
53692
+ }
53693
+
53694
+ export interface PublicSocialPostDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
53695
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PublicSocialPost'], meta: { name: 'PublicSocialPost' } }
53696
+ /**
53697
+ * Find zero or one PublicSocialPost that matches the filter.
53698
+ * @param {PublicSocialPostFindUniqueArgs} args - Arguments to find a PublicSocialPost
53699
+ * @example
53700
+ * // Get one PublicSocialPost
53701
+ * const publicSocialPost = await prisma.publicSocialPost.findUnique({
53702
+ * where: {
53703
+ * // ... provide filter here
53704
+ * }
53705
+ * })
53706
+ **/
53707
+ findUnique<T extends PublicSocialPostFindUniqueArgs<ExtArgs>>(
53708
+ args: SelectSubset<T, PublicSocialPostFindUniqueArgs<ExtArgs>>
53709
+ ): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
53710
+
53711
+ /**
53712
+ * Find one PublicSocialPost that matches the filter or throw an error with `error.code='P2025'`
53713
+ * if no matches were found.
53714
+ * @param {PublicSocialPostFindUniqueOrThrowArgs} args - Arguments to find a PublicSocialPost
53715
+ * @example
53716
+ * // Get one PublicSocialPost
53717
+ * const publicSocialPost = await prisma.publicSocialPost.findUniqueOrThrow({
53718
+ * where: {
53719
+ * // ... provide filter here
53720
+ * }
53721
+ * })
53722
+ **/
53723
+ findUniqueOrThrow<T extends PublicSocialPostFindUniqueOrThrowArgs<ExtArgs>>(
53724
+ args?: SelectSubset<T, PublicSocialPostFindUniqueOrThrowArgs<ExtArgs>>
53725
+ ): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
53726
+
53727
+ /**
53728
+ * Find the first PublicSocialPost that matches the filter.
53729
+ * Note, that providing `undefined` is treated as the value not being there.
53730
+ * Read more here: https://pris.ly/d/null-undefined
53731
+ * @param {PublicSocialPostFindFirstArgs} args - Arguments to find a PublicSocialPost
53732
+ * @example
53733
+ * // Get one PublicSocialPost
53734
+ * const publicSocialPost = await prisma.publicSocialPost.findFirst({
53735
+ * where: {
53736
+ * // ... provide filter here
53737
+ * }
53738
+ * })
53739
+ **/
53740
+ findFirst<T extends PublicSocialPostFindFirstArgs<ExtArgs>>(
53741
+ args?: SelectSubset<T, PublicSocialPostFindFirstArgs<ExtArgs>>
53742
+ ): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
53743
+
53744
+ /**
53745
+ * Find the first PublicSocialPost that matches the filter or
53746
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
53747
+ * Note, that providing `undefined` is treated as the value not being there.
53748
+ * Read more here: https://pris.ly/d/null-undefined
53749
+ * @param {PublicSocialPostFindFirstOrThrowArgs} args - Arguments to find a PublicSocialPost
53750
+ * @example
53751
+ * // Get one PublicSocialPost
53752
+ * const publicSocialPost = await prisma.publicSocialPost.findFirstOrThrow({
53753
+ * where: {
53754
+ * // ... provide filter here
53755
+ * }
53756
+ * })
53757
+ **/
53758
+ findFirstOrThrow<T extends PublicSocialPostFindFirstOrThrowArgs<ExtArgs>>(
53759
+ args?: SelectSubset<T, PublicSocialPostFindFirstOrThrowArgs<ExtArgs>>
53760
+ ): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
53761
+
53762
+ /**
53763
+ * Find zero or more PublicSocialPosts that matches the filter.
53764
+ * Note, that providing `undefined` is treated as the value not being there.
53765
+ * Read more here: https://pris.ly/d/null-undefined
53766
+ * @param {PublicSocialPostFindManyArgs} args - Arguments to filter and select certain fields only.
53767
+ * @example
53768
+ * // Get all PublicSocialPosts
53769
+ * const publicSocialPosts = await prisma.publicSocialPost.findMany()
53770
+ *
53771
+ * // Get first 10 PublicSocialPosts
53772
+ * const publicSocialPosts = await prisma.publicSocialPost.findMany({ take: 10 })
53773
+ *
53774
+ * // Only select the `id`
53775
+ * const publicSocialPostWithIdOnly = await prisma.publicSocialPost.findMany({ select: { id: true } })
53776
+ *
53777
+ **/
53778
+ findMany<T extends PublicSocialPostFindManyArgs<ExtArgs>>(
53779
+ args?: SelectSubset<T, PublicSocialPostFindManyArgs<ExtArgs>>
53780
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findMany'>>
53781
+
53782
+ /**
53783
+ * Create a PublicSocialPost.
53784
+ * @param {PublicSocialPostCreateArgs} args - Arguments to create a PublicSocialPost.
53785
+ * @example
53786
+ * // Create one PublicSocialPost
53787
+ * const PublicSocialPost = await prisma.publicSocialPost.create({
53788
+ * data: {
53789
+ * // ... data to create a PublicSocialPost
53790
+ * }
53791
+ * })
53792
+ *
53793
+ **/
53794
+ create<T extends PublicSocialPostCreateArgs<ExtArgs>>(
53795
+ args: SelectSubset<T, PublicSocialPostCreateArgs<ExtArgs>>
53796
+ ): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
53797
+
53798
+ /**
53799
+ * Create many PublicSocialPosts.
53800
+ * @param {PublicSocialPostCreateManyArgs} args - Arguments to create many PublicSocialPosts.
53801
+ * @example
53802
+ * // Create many PublicSocialPosts
53803
+ * const publicSocialPost = await prisma.publicSocialPost.createMany({
53804
+ * data: [
53805
+ * // ... provide data here
53806
+ * ]
53807
+ * })
53808
+ *
53809
+ **/
53810
+ createMany<T extends PublicSocialPostCreateManyArgs<ExtArgs>>(
53811
+ args?: SelectSubset<T, PublicSocialPostCreateManyArgs<ExtArgs>>
53812
+ ): Prisma.PrismaPromise<BatchPayload>
53813
+
53814
+ /**
53815
+ * Create many PublicSocialPosts and returns the data saved in the database.
53816
+ * @param {PublicSocialPostCreateManyAndReturnArgs} args - Arguments to create many PublicSocialPosts.
53817
+ * @example
53818
+ * // Create many PublicSocialPosts
53819
+ * const publicSocialPost = await prisma.publicSocialPost.createManyAndReturn({
53820
+ * data: [
53821
+ * // ... provide data here
53822
+ * ]
53823
+ * })
53824
+ *
53825
+ * // Create many PublicSocialPosts and only return the `id`
53826
+ * const publicSocialPostWithIdOnly = await prisma.publicSocialPost.createManyAndReturn({
53827
+ * select: { id: true },
53828
+ * data: [
53829
+ * // ... provide data here
53830
+ * ]
53831
+ * })
53832
+ * Note, that providing `undefined` is treated as the value not being there.
53833
+ * Read more here: https://pris.ly/d/null-undefined
53834
+ *
53835
+ **/
53836
+ createManyAndReturn<T extends PublicSocialPostCreateManyAndReturnArgs<ExtArgs>>(
53837
+ args?: SelectSubset<T, PublicSocialPostCreateManyAndReturnArgs<ExtArgs>>
53838
+ ): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'createManyAndReturn'>>
53839
+
53840
+ /**
53841
+ * Delete a PublicSocialPost.
53842
+ * @param {PublicSocialPostDeleteArgs} args - Arguments to delete one PublicSocialPost.
53843
+ * @example
53844
+ * // Delete one PublicSocialPost
53845
+ * const PublicSocialPost = await prisma.publicSocialPost.delete({
53846
+ * where: {
53847
+ * // ... filter to delete one PublicSocialPost
53848
+ * }
53849
+ * })
53850
+ *
53851
+ **/
53852
+ delete<T extends PublicSocialPostDeleteArgs<ExtArgs>>(
53853
+ args: SelectSubset<T, PublicSocialPostDeleteArgs<ExtArgs>>
53854
+ ): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
53855
+
53856
+ /**
53857
+ * Update one PublicSocialPost.
53858
+ * @param {PublicSocialPostUpdateArgs} args - Arguments to update one PublicSocialPost.
53859
+ * @example
53860
+ * // Update one PublicSocialPost
53861
+ * const publicSocialPost = await prisma.publicSocialPost.update({
53862
+ * where: {
53863
+ * // ... provide filter here
53864
+ * },
53865
+ * data: {
53866
+ * // ... provide data here
53867
+ * }
53868
+ * })
53869
+ *
53870
+ **/
53871
+ update<T extends PublicSocialPostUpdateArgs<ExtArgs>>(
53872
+ args: SelectSubset<T, PublicSocialPostUpdateArgs<ExtArgs>>
53873
+ ): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
53874
+
53875
+ /**
53876
+ * Delete zero or more PublicSocialPosts.
53877
+ * @param {PublicSocialPostDeleteManyArgs} args - Arguments to filter PublicSocialPosts to delete.
53878
+ * @example
53879
+ * // Delete a few PublicSocialPosts
53880
+ * const { count } = await prisma.publicSocialPost.deleteMany({
53881
+ * where: {
53882
+ * // ... provide filter here
53883
+ * }
53884
+ * })
53885
+ *
53886
+ **/
53887
+ deleteMany<T extends PublicSocialPostDeleteManyArgs<ExtArgs>>(
53888
+ args?: SelectSubset<T, PublicSocialPostDeleteManyArgs<ExtArgs>>
53889
+ ): Prisma.PrismaPromise<BatchPayload>
53890
+
53891
+ /**
53892
+ * Update zero or more PublicSocialPosts.
53893
+ * Note, that providing `undefined` is treated as the value not being there.
53894
+ * Read more here: https://pris.ly/d/null-undefined
53895
+ * @param {PublicSocialPostUpdateManyArgs} args - Arguments to update one or more rows.
53896
+ * @example
53897
+ * // Update many PublicSocialPosts
53898
+ * const publicSocialPost = await prisma.publicSocialPost.updateMany({
53899
+ * where: {
53900
+ * // ... provide filter here
53901
+ * },
53902
+ * data: {
53903
+ * // ... provide data here
53904
+ * }
53905
+ * })
53906
+ *
53907
+ **/
53908
+ updateMany<T extends PublicSocialPostUpdateManyArgs<ExtArgs>>(
53909
+ args: SelectSubset<T, PublicSocialPostUpdateManyArgs<ExtArgs>>
53910
+ ): Prisma.PrismaPromise<BatchPayload>
53911
+
53912
+ /**
53913
+ * Create or update one PublicSocialPost.
53914
+ * @param {PublicSocialPostUpsertArgs} args - Arguments to update or create a PublicSocialPost.
53915
+ * @example
53916
+ * // Update or create a PublicSocialPost
53917
+ * const publicSocialPost = await prisma.publicSocialPost.upsert({
53918
+ * create: {
53919
+ * // ... data to create a PublicSocialPost
53920
+ * },
53921
+ * update: {
53922
+ * // ... in case it already exists, update
53923
+ * },
53924
+ * where: {
53925
+ * // ... the filter for the PublicSocialPost we want to update
53926
+ * }
53927
+ * })
53928
+ **/
53929
+ upsert<T extends PublicSocialPostUpsertArgs<ExtArgs>>(
53930
+ args: SelectSubset<T, PublicSocialPostUpsertArgs<ExtArgs>>
53931
+ ): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
53932
+
53933
+ /**
53934
+ * Count the number of PublicSocialPosts.
53935
+ * Note, that providing `undefined` is treated as the value not being there.
53936
+ * Read more here: https://pris.ly/d/null-undefined
53937
+ * @param {PublicSocialPostCountArgs} args - Arguments to filter PublicSocialPosts to count.
53938
+ * @example
53939
+ * // Count the number of PublicSocialPosts
53940
+ * const count = await prisma.publicSocialPost.count({
53941
+ * where: {
53942
+ * // ... the filter for the PublicSocialPosts we want to count
53943
+ * }
53944
+ * })
53945
+ **/
53946
+ count<T extends PublicSocialPostCountArgs>(
53947
+ args?: Subset<T, PublicSocialPostCountArgs>,
53948
+ ): Prisma.PrismaPromise<
53949
+ T extends $Utils.Record<'select', any>
53950
+ ? T['select'] extends true
53951
+ ? number
53952
+ : GetScalarType<T['select'], PublicSocialPostCountAggregateOutputType>
53953
+ : number
53954
+ >
53955
+
53956
+ /**
53957
+ * Allows you to perform aggregations operations on a PublicSocialPost.
53958
+ * Note, that providing `undefined` is treated as the value not being there.
53959
+ * Read more here: https://pris.ly/d/null-undefined
53960
+ * @param {PublicSocialPostAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
53961
+ * @example
53962
+ * // Ordered by age ascending
53963
+ * // Where email contains prisma.io
53964
+ * // Limited to the 10 users
53965
+ * const aggregations = await prisma.user.aggregate({
53966
+ * _avg: {
53967
+ * age: true,
53968
+ * },
53969
+ * where: {
53970
+ * email: {
53971
+ * contains: "prisma.io",
53972
+ * },
53973
+ * },
53974
+ * orderBy: {
53975
+ * age: "asc",
53976
+ * },
53977
+ * take: 10,
53978
+ * })
53979
+ **/
53980
+ aggregate<T extends PublicSocialPostAggregateArgs>(args: Subset<T, PublicSocialPostAggregateArgs>): Prisma.PrismaPromise<GetPublicSocialPostAggregateType<T>>
53981
+
53982
+ /**
53983
+ * Group by PublicSocialPost.
53984
+ * Note, that providing `undefined` is treated as the value not being there.
53985
+ * Read more here: https://pris.ly/d/null-undefined
53986
+ * @param {PublicSocialPostGroupByArgs} args - Group by arguments.
53987
+ * @example
53988
+ * // Group by city, order by createdAt, get count
53989
+ * const result = await prisma.user.groupBy({
53990
+ * by: ['city', 'createdAt'],
53991
+ * orderBy: {
53992
+ * createdAt: true
53993
+ * },
53994
+ * _count: {
53995
+ * _all: true
53996
+ * },
53997
+ * })
53998
+ *
53999
+ **/
54000
+ groupBy<
54001
+ T extends PublicSocialPostGroupByArgs,
54002
+ HasSelectOrTake extends Or<
54003
+ Extends<'skip', Keys<T>>,
54004
+ Extends<'take', Keys<T>>
54005
+ >,
54006
+ OrderByArg extends True extends HasSelectOrTake
54007
+ ? { orderBy: PublicSocialPostGroupByArgs['orderBy'] }
54008
+ : { orderBy?: PublicSocialPostGroupByArgs['orderBy'] },
54009
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
54010
+ ByFields extends MaybeTupleToUnion<T['by']>,
54011
+ ByValid extends Has<ByFields, OrderFields>,
54012
+ HavingFields extends GetHavingFields<T['having']>,
54013
+ HavingValid extends Has<ByFields, HavingFields>,
54014
+ ByEmpty extends T['by'] extends never[] ? True : False,
54015
+ InputErrors extends ByEmpty extends True
54016
+ ? `Error: "by" must not be empty.`
54017
+ : HavingValid extends False
54018
+ ? {
54019
+ [P in HavingFields]: P extends ByFields
54020
+ ? never
54021
+ : P extends string
54022
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
54023
+ : [
54024
+ Error,
54025
+ 'Field ',
54026
+ P,
54027
+ ` in "having" needs to be provided in "by"`,
54028
+ ]
54029
+ }[HavingFields]
54030
+ : 'take' extends Keys<T>
54031
+ ? 'orderBy' extends Keys<T>
54032
+ ? ByValid extends True
54033
+ ? {}
54034
+ : {
54035
+ [P in OrderFields]: P extends ByFields
54036
+ ? never
54037
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
54038
+ }[OrderFields]
54039
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
54040
+ : 'skip' extends Keys<T>
54041
+ ? 'orderBy' extends Keys<T>
54042
+ ? ByValid extends True
54043
+ ? {}
54044
+ : {
54045
+ [P in OrderFields]: P extends ByFields
54046
+ ? never
54047
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
54048
+ }[OrderFields]
54049
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
54050
+ : ByValid extends True
54051
+ ? {}
54052
+ : {
54053
+ [P in OrderFields]: P extends ByFields
54054
+ ? never
54055
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
54056
+ }[OrderFields]
54057
+ >(args: SubsetIntersection<T, PublicSocialPostGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPublicSocialPostGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
54058
+ /**
54059
+ * Fields of the PublicSocialPost model
54060
+ */
54061
+ readonly fields: PublicSocialPostFieldRefs;
54062
+ }
54063
+
54064
+ /**
54065
+ * The delegate class that acts as a "Promise-like" for PublicSocialPost.
54066
+ * Why is this prefixed with `Prisma__`?
54067
+ * Because we want to prevent naming conflicts as mentioned in
54068
+ * https://github.com/prisma/prisma-client-js/issues/707
54069
+ */
54070
+ export interface Prisma__PublicSocialPostClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
54071
+ readonly [Symbol.toStringTag]: 'PrismaPromise';
54072
+
54073
+ socialPost<T extends SocialPostDefaultArgs<ExtArgs> = {}>(args?: Subset<T, SocialPostDefaultArgs<ExtArgs>>): Prisma__SocialPostClient<$Result.GetResult<Prisma.$SocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
54074
+
52818
54075
  /**
52819
54076
  * Attaches callbacks for the resolution and/or rejection of the Promise.
52820
54077
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -52840,441 +54097,345 @@ export namespace Prisma {
52840
54097
 
52841
54098
 
52842
54099
  /**
52843
- * Fields of the SocialPost model
54100
+ * Fields of the PublicSocialPost model
52844
54101
  */
52845
- interface SocialPostFieldRefs {
52846
- readonly id: FieldRef<"SocialPost", 'Int'>
52847
- readonly externalId: FieldRef<"SocialPost", 'String'>
52848
- readonly phylloId: FieldRef<"SocialPost", 'String'>
52849
- readonly metaData: FieldRef<"SocialPost", 'Json'>
52850
- readonly lastFetched: FieldRef<"SocialPost", 'DateTime'>
52851
- readonly lastWebhook: FieldRef<"SocialPost", 'DateTime'>
52852
- readonly posted: FieldRef<"SocialPost", 'DateTime'>
52853
- readonly title: FieldRef<"SocialPost", 'String'>
52854
- readonly description: FieldRef<"SocialPost", 'String'>
52855
- readonly url: FieldRef<"SocialPost", 'String'>
52856
- readonly format: FieldRef<"SocialPost", 'String'>
52857
- readonly type: FieldRef<"SocialPost", 'String'>
52858
- readonly platform: FieldRef<"SocialPost", 'String'>
52859
- readonly visibility: FieldRef<"SocialPost", 'String'>
52860
- readonly isSponsored: FieldRef<"SocialPost", 'Boolean'>
52861
- readonly hasCollaborators: FieldRef<"SocialPost", 'Boolean'>
52862
- readonly isOwnedByUser: FieldRef<"SocialPost", 'Boolean'>
52863
- readonly views: FieldRef<"SocialPost", 'Int'>
52864
- readonly replays: FieldRef<"SocialPost", 'Int'>
52865
- readonly impressions: FieldRef<"SocialPost", 'Int'>
52866
- readonly impressionsOrganic: FieldRef<"SocialPost", 'Int'>
52867
- readonly impressionsPaid: FieldRef<"SocialPost", 'Int'>
52868
- readonly reach: FieldRef<"SocialPost", 'Int'>
52869
- readonly reachOrganic: FieldRef<"SocialPost", 'Int'>
52870
- readonly reachPaid: FieldRef<"SocialPost", 'Int'>
52871
- readonly watchHours: FieldRef<"SocialPost", 'Float'>
52872
- readonly likes: FieldRef<"SocialPost", 'Int'>
52873
- readonly dislikes: FieldRef<"SocialPost", 'Int'>
52874
- readonly comments: FieldRef<"SocialPost", 'Int'>
52875
- readonly saves: FieldRef<"SocialPost", 'Int'>
52876
- readonly shares: FieldRef<"SocialPost", 'Int'>
52877
- readonly userId: FieldRef<"SocialPost", 'Int'>
52878
- readonly campaignId: FieldRef<"SocialPost", 'Int'>
54102
+ interface PublicSocialPostFieldRefs {
54103
+ readonly id: FieldRef<"PublicSocialPost", 'Int'>
54104
+ readonly socialPostId: FieldRef<"PublicSocialPost", 'Int'>
54105
+ readonly views: FieldRef<"PublicSocialPost", 'Int'>
54106
+ readonly likes: FieldRef<"PublicSocialPost", 'Int'>
54107
+ readonly comments: FieldRef<"PublicSocialPost", 'Int'>
54108
+ readonly saves: FieldRef<"PublicSocialPost", 'Int'>
54109
+ readonly shares: FieldRef<"PublicSocialPost", 'Int'>
52879
54110
  }
52880
54111
 
52881
54112
 
52882
54113
  // Custom InputTypes
52883
54114
  /**
52884
- * SocialPost findUnique
54115
+ * PublicSocialPost findUnique
52885
54116
  */
52886
- export type SocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54117
+ export type PublicSocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52887
54118
  /**
52888
- * Select specific fields to fetch from the SocialPost
54119
+ * Select specific fields to fetch from the PublicSocialPost
52889
54120
  */
52890
- select?: SocialPostSelect<ExtArgs> | null
54121
+ select?: PublicSocialPostSelect<ExtArgs> | null
52891
54122
  /**
52892
54123
  * Choose, which related nodes to fetch as well
52893
54124
  */
52894
- include?: SocialPostInclude<ExtArgs> | null
54125
+ include?: PublicSocialPostInclude<ExtArgs> | null
52895
54126
  /**
52896
- * Filter, which SocialPost to fetch.
54127
+ * Filter, which PublicSocialPost to fetch.
52897
54128
  */
52898
- where: SocialPostWhereUniqueInput
54129
+ where: PublicSocialPostWhereUniqueInput
52899
54130
  }
52900
54131
 
52901
54132
  /**
52902
- * SocialPost findUniqueOrThrow
54133
+ * PublicSocialPost findUniqueOrThrow
52903
54134
  */
52904
- export type SocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54135
+ export type PublicSocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52905
54136
  /**
52906
- * Select specific fields to fetch from the SocialPost
54137
+ * Select specific fields to fetch from the PublicSocialPost
52907
54138
  */
52908
- select?: SocialPostSelect<ExtArgs> | null
54139
+ select?: PublicSocialPostSelect<ExtArgs> | null
52909
54140
  /**
52910
54141
  * Choose, which related nodes to fetch as well
52911
54142
  */
52912
- include?: SocialPostInclude<ExtArgs> | null
54143
+ include?: PublicSocialPostInclude<ExtArgs> | null
52913
54144
  /**
52914
- * Filter, which SocialPost to fetch.
54145
+ * Filter, which PublicSocialPost to fetch.
52915
54146
  */
52916
- where: SocialPostWhereUniqueInput
54147
+ where: PublicSocialPostWhereUniqueInput
52917
54148
  }
52918
54149
 
52919
54150
  /**
52920
- * SocialPost findFirst
54151
+ * PublicSocialPost findFirst
52921
54152
  */
52922
- export type SocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54153
+ export type PublicSocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52923
54154
  /**
52924
- * Select specific fields to fetch from the SocialPost
54155
+ * Select specific fields to fetch from the PublicSocialPost
52925
54156
  */
52926
- select?: SocialPostSelect<ExtArgs> | null
54157
+ select?: PublicSocialPostSelect<ExtArgs> | null
52927
54158
  /**
52928
54159
  * Choose, which related nodes to fetch as well
52929
54160
  */
52930
- include?: SocialPostInclude<ExtArgs> | null
54161
+ include?: PublicSocialPostInclude<ExtArgs> | null
52931
54162
  /**
52932
- * Filter, which SocialPost to fetch.
54163
+ * Filter, which PublicSocialPost to fetch.
52933
54164
  */
52934
- where?: SocialPostWhereInput
54165
+ where?: PublicSocialPostWhereInput
52935
54166
  /**
52936
54167
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52937
54168
  *
52938
- * Determine the order of SocialPosts to fetch.
54169
+ * Determine the order of PublicSocialPosts to fetch.
52939
54170
  */
52940
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
54171
+ orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
52941
54172
  /**
52942
54173
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
52943
54174
  *
52944
- * Sets the position for searching for SocialPosts.
54175
+ * Sets the position for searching for PublicSocialPosts.
52945
54176
  */
52946
- cursor?: SocialPostWhereUniqueInput
54177
+ cursor?: PublicSocialPostWhereUniqueInput
52947
54178
  /**
52948
54179
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52949
54180
  *
52950
- * Take `±n` SocialPosts from the position of the cursor.
54181
+ * Take `±n` PublicSocialPosts from the position of the cursor.
52951
54182
  */
52952
54183
  take?: number
52953
54184
  /**
52954
54185
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52955
54186
  *
52956
- * Skip the first `n` SocialPosts.
54187
+ * Skip the first `n` PublicSocialPosts.
52957
54188
  */
52958
54189
  skip?: number
52959
54190
  /**
52960
54191
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
52961
54192
  *
52962
- * Filter by unique combinations of SocialPosts.
54193
+ * Filter by unique combinations of PublicSocialPosts.
52963
54194
  */
52964
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
54195
+ distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
52965
54196
  }
52966
54197
 
52967
54198
  /**
52968
- * SocialPost findFirstOrThrow
54199
+ * PublicSocialPost findFirstOrThrow
52969
54200
  */
52970
- export type SocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54201
+ export type PublicSocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52971
54202
  /**
52972
- * Select specific fields to fetch from the SocialPost
54203
+ * Select specific fields to fetch from the PublicSocialPost
52973
54204
  */
52974
- select?: SocialPostSelect<ExtArgs> | null
54205
+ select?: PublicSocialPostSelect<ExtArgs> | null
52975
54206
  /**
52976
54207
  * Choose, which related nodes to fetch as well
52977
54208
  */
52978
- include?: SocialPostInclude<ExtArgs> | null
54209
+ include?: PublicSocialPostInclude<ExtArgs> | null
52979
54210
  /**
52980
- * Filter, which SocialPost to fetch.
54211
+ * Filter, which PublicSocialPost to fetch.
52981
54212
  */
52982
- where?: SocialPostWhereInput
54213
+ where?: PublicSocialPostWhereInput
52983
54214
  /**
52984
54215
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52985
54216
  *
52986
- * Determine the order of SocialPosts to fetch.
54217
+ * Determine the order of PublicSocialPosts to fetch.
52987
54218
  */
52988
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
54219
+ orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
52989
54220
  /**
52990
54221
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
52991
54222
  *
52992
- * Sets the position for searching for SocialPosts.
54223
+ * Sets the position for searching for PublicSocialPosts.
52993
54224
  */
52994
- cursor?: SocialPostWhereUniqueInput
54225
+ cursor?: PublicSocialPostWhereUniqueInput
52995
54226
  /**
52996
54227
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
52997
54228
  *
52998
- * Take `±n` SocialPosts from the position of the cursor.
54229
+ * Take `±n` PublicSocialPosts from the position of the cursor.
52999
54230
  */
53000
54231
  take?: number
53001
54232
  /**
53002
54233
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53003
54234
  *
53004
- * Skip the first `n` SocialPosts.
54235
+ * Skip the first `n` PublicSocialPosts.
53005
54236
  */
53006
54237
  skip?: number
53007
54238
  /**
53008
54239
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
53009
54240
  *
53010
- * Filter by unique combinations of SocialPosts.
54241
+ * Filter by unique combinations of PublicSocialPosts.
53011
54242
  */
53012
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
54243
+ distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
53013
54244
  }
53014
54245
 
53015
54246
  /**
53016
- * SocialPost findMany
54247
+ * PublicSocialPost findMany
53017
54248
  */
53018
- export type SocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54249
+ export type PublicSocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53019
54250
  /**
53020
- * Select specific fields to fetch from the SocialPost
54251
+ * Select specific fields to fetch from the PublicSocialPost
53021
54252
  */
53022
- select?: SocialPostSelect<ExtArgs> | null
54253
+ select?: PublicSocialPostSelect<ExtArgs> | null
53023
54254
  /**
53024
54255
  * Choose, which related nodes to fetch as well
53025
54256
  */
53026
- include?: SocialPostInclude<ExtArgs> | null
54257
+ include?: PublicSocialPostInclude<ExtArgs> | null
53027
54258
  /**
53028
- * Filter, which SocialPosts to fetch.
54259
+ * Filter, which PublicSocialPosts to fetch.
53029
54260
  */
53030
- where?: SocialPostWhereInput
54261
+ where?: PublicSocialPostWhereInput
53031
54262
  /**
53032
54263
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
53033
54264
  *
53034
- * Determine the order of SocialPosts to fetch.
54265
+ * Determine the order of PublicSocialPosts to fetch.
53035
54266
  */
53036
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
54267
+ orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
53037
54268
  /**
53038
54269
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
53039
54270
  *
53040
- * Sets the position for listing SocialPosts.
54271
+ * Sets the position for listing PublicSocialPosts.
53041
54272
  */
53042
- cursor?: SocialPostWhereUniqueInput
54273
+ cursor?: PublicSocialPostWhereUniqueInput
53043
54274
  /**
53044
54275
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53045
54276
  *
53046
- * Take `±n` SocialPosts from the position of the cursor.
54277
+ * Take `±n` PublicSocialPosts from the position of the cursor.
53047
54278
  */
53048
54279
  take?: number
53049
54280
  /**
53050
54281
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
53051
54282
  *
53052
- * Skip the first `n` SocialPosts.
54283
+ * Skip the first `n` PublicSocialPosts.
53053
54284
  */
53054
54285
  skip?: number
53055
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
54286
+ distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
53056
54287
  }
53057
54288
 
53058
54289
  /**
53059
- * SocialPost create
54290
+ * PublicSocialPost create
53060
54291
  */
53061
- export type SocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54292
+ export type PublicSocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53062
54293
  /**
53063
- * Select specific fields to fetch from the SocialPost
54294
+ * Select specific fields to fetch from the PublicSocialPost
53064
54295
  */
53065
- select?: SocialPostSelect<ExtArgs> | null
54296
+ select?: PublicSocialPostSelect<ExtArgs> | null
53066
54297
  /**
53067
54298
  * Choose, which related nodes to fetch as well
53068
54299
  */
53069
- include?: SocialPostInclude<ExtArgs> | null
54300
+ include?: PublicSocialPostInclude<ExtArgs> | null
53070
54301
  /**
53071
- * The data needed to create a SocialPost.
54302
+ * The data needed to create a PublicSocialPost.
53072
54303
  */
53073
- data: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
54304
+ data: XOR<PublicSocialPostCreateInput, PublicSocialPostUncheckedCreateInput>
53074
54305
  }
53075
54306
 
53076
54307
  /**
53077
- * SocialPost createMany
54308
+ * PublicSocialPost createMany
53078
54309
  */
53079
- export type SocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54310
+ export type PublicSocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53080
54311
  /**
53081
- * The data used to create many SocialPosts.
54312
+ * The data used to create many PublicSocialPosts.
53082
54313
  */
53083
- data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
54314
+ data: PublicSocialPostCreateManyInput | PublicSocialPostCreateManyInput[]
53084
54315
  skipDuplicates?: boolean
53085
54316
  }
53086
54317
 
53087
54318
  /**
53088
- * SocialPost createManyAndReturn
54319
+ * PublicSocialPost createManyAndReturn
53089
54320
  */
53090
- export type SocialPostCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54321
+ export type PublicSocialPostCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53091
54322
  /**
53092
- * Select specific fields to fetch from the SocialPost
54323
+ * Select specific fields to fetch from the PublicSocialPost
53093
54324
  */
53094
- select?: SocialPostSelectCreateManyAndReturn<ExtArgs> | null
54325
+ select?: PublicSocialPostSelectCreateManyAndReturn<ExtArgs> | null
53095
54326
  /**
53096
- * The data used to create many SocialPosts.
54327
+ * The data used to create many PublicSocialPosts.
53097
54328
  */
53098
- data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
54329
+ data: PublicSocialPostCreateManyInput | PublicSocialPostCreateManyInput[]
53099
54330
  skipDuplicates?: boolean
53100
54331
  /**
53101
54332
  * Choose, which related nodes to fetch as well
53102
54333
  */
53103
- include?: SocialPostIncludeCreateManyAndReturn<ExtArgs> | null
54334
+ include?: PublicSocialPostIncludeCreateManyAndReturn<ExtArgs> | null
53104
54335
  }
53105
54336
 
53106
54337
  /**
53107
- * SocialPost update
54338
+ * PublicSocialPost update
53108
54339
  */
53109
- export type SocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54340
+ export type PublicSocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53110
54341
  /**
53111
- * Select specific fields to fetch from the SocialPost
54342
+ * Select specific fields to fetch from the PublicSocialPost
53112
54343
  */
53113
- select?: SocialPostSelect<ExtArgs> | null
54344
+ select?: PublicSocialPostSelect<ExtArgs> | null
53114
54345
  /**
53115
54346
  * Choose, which related nodes to fetch as well
53116
54347
  */
53117
- include?: SocialPostInclude<ExtArgs> | null
53118
- /**
53119
- * The data needed to update a SocialPost.
53120
- */
53121
- data: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
53122
- /**
53123
- * Choose, which SocialPost to update.
53124
- */
53125
- where: SocialPostWhereUniqueInput
53126
- }
53127
-
53128
- /**
53129
- * SocialPost updateMany
53130
- */
53131
- export type SocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54348
+ include?: PublicSocialPostInclude<ExtArgs> | null
53132
54349
  /**
53133
- * The data used to update SocialPosts.
54350
+ * The data needed to update a PublicSocialPost.
53134
54351
  */
53135
- data: XOR<SocialPostUpdateManyMutationInput, SocialPostUncheckedUpdateManyInput>
54352
+ data: XOR<PublicSocialPostUpdateInput, PublicSocialPostUncheckedUpdateInput>
53136
54353
  /**
53137
- * Filter which SocialPosts to update
54354
+ * Choose, which PublicSocialPost to update.
53138
54355
  */
53139
- where?: SocialPostWhereInput
54356
+ where: PublicSocialPostWhereUniqueInput
53140
54357
  }
53141
54358
 
53142
54359
  /**
53143
- * SocialPost upsert
54360
+ * PublicSocialPost updateMany
53144
54361
  */
53145
- export type SocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53146
- /**
53147
- * Select specific fields to fetch from the SocialPost
53148
- */
53149
- select?: SocialPostSelect<ExtArgs> | null
54362
+ export type PublicSocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53150
54363
  /**
53151
- * Choose, which related nodes to fetch as well
53152
- */
53153
- include?: SocialPostInclude<ExtArgs> | null
53154
- /**
53155
- * The filter to search for the SocialPost to update in case it exists.
54364
+ * The data used to update PublicSocialPosts.
53156
54365
  */
53157
- where: SocialPostWhereUniqueInput
53158
- /**
53159
- * In case the SocialPost found by the `where` argument doesn't exist, create a new SocialPost with this data.
53160
- */
53161
- create: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
54366
+ data: XOR<PublicSocialPostUpdateManyMutationInput, PublicSocialPostUncheckedUpdateManyInput>
53162
54367
  /**
53163
- * In case the SocialPost was found with the provided `where` argument, update it with this data.
54368
+ * Filter which PublicSocialPosts to update
53164
54369
  */
53165
- update: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
54370
+ where?: PublicSocialPostWhereInput
53166
54371
  }
53167
54372
 
53168
54373
  /**
53169
- * SocialPost delete
54374
+ * PublicSocialPost upsert
53170
54375
  */
53171
- export type SocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54376
+ export type PublicSocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53172
54377
  /**
53173
- * Select specific fields to fetch from the SocialPost
54378
+ * Select specific fields to fetch from the PublicSocialPost
53174
54379
  */
53175
- select?: SocialPostSelect<ExtArgs> | null
54380
+ select?: PublicSocialPostSelect<ExtArgs> | null
53176
54381
  /**
53177
54382
  * Choose, which related nodes to fetch as well
53178
54383
  */
53179
- include?: SocialPostInclude<ExtArgs> | null
53180
- /**
53181
- * Filter which SocialPost to delete.
53182
- */
53183
- where: SocialPostWhereUniqueInput
53184
- }
53185
-
53186
- /**
53187
- * SocialPost deleteMany
53188
- */
53189
- export type SocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54384
+ include?: PublicSocialPostInclude<ExtArgs> | null
53190
54385
  /**
53191
- * Filter which SocialPosts to delete
54386
+ * The filter to search for the PublicSocialPost to update in case it exists.
53192
54387
  */
53193
- where?: SocialPostWhereInput
53194
- }
53195
-
53196
- /**
53197
- * SocialPost.user
53198
- */
53199
- export type SocialPost$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54388
+ where: PublicSocialPostWhereUniqueInput
53200
54389
  /**
53201
- * Select specific fields to fetch from the User
54390
+ * In case the PublicSocialPost found by the `where` argument doesn't exist, create a new PublicSocialPost with this data.
53202
54391
  */
53203
- select?: UserSelect<ExtArgs> | null
54392
+ create: XOR<PublicSocialPostCreateInput, PublicSocialPostUncheckedCreateInput>
53204
54393
  /**
53205
- * Choose, which related nodes to fetch as well
54394
+ * In case the PublicSocialPost was found with the provided `where` argument, update it with this data.
53206
54395
  */
53207
- include?: UserInclude<ExtArgs> | null
53208
- where?: UserWhereInput
54396
+ update: XOR<PublicSocialPostUpdateInput, PublicSocialPostUncheckedUpdateInput>
53209
54397
  }
53210
54398
 
53211
54399
  /**
53212
- * SocialPost.campaign
54400
+ * PublicSocialPost delete
53213
54401
  */
53214
- export type SocialPost$campaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54402
+ export type PublicSocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53215
54403
  /**
53216
- * Select specific fields to fetch from the Campaign
54404
+ * Select specific fields to fetch from the PublicSocialPost
53217
54405
  */
53218
- select?: CampaignSelect<ExtArgs> | null
54406
+ select?: PublicSocialPostSelect<ExtArgs> | null
53219
54407
  /**
53220
54408
  * Choose, which related nodes to fetch as well
53221
54409
  */
53222
- include?: CampaignInclude<ExtArgs> | null
53223
- where?: CampaignWhereInput
53224
- }
53225
-
53226
- /**
53227
- * SocialPost.lists
53228
- */
53229
- export type SocialPost$listsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53230
- /**
53231
- * Select specific fields to fetch from the ListToSocialPost
53232
- */
53233
- select?: ListToSocialPostSelect<ExtArgs> | null
54410
+ include?: PublicSocialPostInclude<ExtArgs> | null
53234
54411
  /**
53235
- * Choose, which related nodes to fetch as well
54412
+ * Filter which PublicSocialPost to delete.
53236
54413
  */
53237
- include?: ListToSocialPostInclude<ExtArgs> | null
53238
- where?: ListToSocialPostWhereInput
53239
- orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
53240
- cursor?: ListToSocialPostWhereUniqueInput
53241
- take?: number
53242
- skip?: number
53243
- distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
54414
+ where: PublicSocialPostWhereUniqueInput
53244
54415
  }
53245
54416
 
53246
54417
  /**
53247
- * SocialPost.campaigns
54418
+ * PublicSocialPost deleteMany
53248
54419
  */
53249
- export type SocialPost$campaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53250
- /**
53251
- * Select specific fields to fetch from the CampaignToSocialPost
53252
- */
53253
- select?: CampaignToSocialPostSelect<ExtArgs> | null
54420
+ export type PublicSocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53254
54421
  /**
53255
- * Choose, which related nodes to fetch as well
54422
+ * Filter which PublicSocialPosts to delete
53256
54423
  */
53257
- include?: CampaignToSocialPostInclude<ExtArgs> | null
53258
- where?: CampaignToSocialPostWhereInput
53259
- orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
53260
- cursor?: CampaignToSocialPostWhereUniqueInput
53261
- take?: number
53262
- skip?: number
53263
- distinct?: CampaignToSocialPostScalarFieldEnum | CampaignToSocialPostScalarFieldEnum[]
54424
+ where?: PublicSocialPostWhereInput
53264
54425
  }
53265
54426
 
53266
54427
  /**
53267
- * SocialPost without action
54428
+ * PublicSocialPost without action
53268
54429
  */
53269
- export type SocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54430
+ export type PublicSocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53270
54431
  /**
53271
- * Select specific fields to fetch from the SocialPost
54432
+ * Select specific fields to fetch from the PublicSocialPost
53272
54433
  */
53273
- select?: SocialPostSelect<ExtArgs> | null
54434
+ select?: PublicSocialPostSelect<ExtArgs> | null
53274
54435
  /**
53275
54436
  * Choose, which related nodes to fetch as well
53276
54437
  */
53277
- include?: SocialPostInclude<ExtArgs> | null
54438
+ include?: PublicSocialPostInclude<ExtArgs> | null
53278
54439
  }
53279
54440
 
53280
54441
 
@@ -100802,6 +101963,19 @@ export namespace Prisma {
100802
101963
  export type SocialPostScalarFieldEnum = (typeof SocialPostScalarFieldEnum)[keyof typeof SocialPostScalarFieldEnum]
100803
101964
 
100804
101965
 
101966
+ export const PublicSocialPostScalarFieldEnum: {
101967
+ id: 'id',
101968
+ socialPostId: 'socialPostId',
101969
+ views: 'views',
101970
+ likes: 'likes',
101971
+ comments: 'comments',
101972
+ saves: 'saves',
101973
+ shares: 'shares'
101974
+ };
101975
+
101976
+ export type PublicSocialPostScalarFieldEnum = (typeof PublicSocialPostScalarFieldEnum)[keyof typeof PublicSocialPostScalarFieldEnum]
101977
+
101978
+
100805
101979
  export const CampaignToSocialPostScalarFieldEnum: {
100806
101980
  campaignId: 'campaignId',
100807
101981
  socialPostId: 'socialPostId',
@@ -105613,6 +106787,7 @@ export namespace Prisma {
105613
106787
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
105614
106788
  lists?: ListToSocialPostListRelationFilter
105615
106789
  campaigns?: CampaignToSocialPostListRelationFilter
106790
+ publicPosts?: PublicSocialPostListRelationFilter
105616
106791
  }
105617
106792
 
105618
106793
  export type SocialPostOrderByWithRelationAndSearchRelevanceInput = {
@@ -105653,6 +106828,7 @@ export namespace Prisma {
105653
106828
  campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
105654
106829
  lists?: ListToSocialPostOrderByRelationAggregateInput
105655
106830
  campaigns?: CampaignToSocialPostOrderByRelationAggregateInput
106831
+ publicPosts?: PublicSocialPostOrderByRelationAggregateInput
105656
106832
  _relevance?: SocialPostOrderByRelevanceInput
105657
106833
  }
105658
106834
 
@@ -105698,6 +106874,7 @@ export namespace Prisma {
105698
106874
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
105699
106875
  lists?: ListToSocialPostListRelationFilter
105700
106876
  campaigns?: CampaignToSocialPostListRelationFilter
106877
+ publicPosts?: PublicSocialPostListRelationFilter
105701
106878
  }, "id" | "phylloId" | "platform_externalId">
105702
106879
 
105703
106880
  export type SocialPostOrderByWithAggregationInput = {
@@ -105780,6 +106957,73 @@ export namespace Prisma {
105780
106957
  campaignId?: IntNullableWithAggregatesFilter<"SocialPost"> | number | null
105781
106958
  }
105782
106959
 
106960
+ export type PublicSocialPostWhereInput = {
106961
+ AND?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
106962
+ OR?: PublicSocialPostWhereInput[]
106963
+ NOT?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
106964
+ id?: IntFilter<"PublicSocialPost"> | number
106965
+ socialPostId?: IntFilter<"PublicSocialPost"> | number
106966
+ views?: IntNullableFilter<"PublicSocialPost"> | number | null
106967
+ likes?: IntNullableFilter<"PublicSocialPost"> | number | null
106968
+ comments?: IntNullableFilter<"PublicSocialPost"> | number | null
106969
+ saves?: IntNullableFilter<"PublicSocialPost"> | number | null
106970
+ shares?: IntNullableFilter<"PublicSocialPost"> | number | null
106971
+ socialPost?: XOR<SocialPostRelationFilter, SocialPostWhereInput>
106972
+ }
106973
+
106974
+ export type PublicSocialPostOrderByWithRelationAndSearchRelevanceInput = {
106975
+ id?: SortOrder
106976
+ socialPostId?: SortOrder
106977
+ views?: SortOrderInput | SortOrder
106978
+ likes?: SortOrderInput | SortOrder
106979
+ comments?: SortOrderInput | SortOrder
106980
+ saves?: SortOrderInput | SortOrder
106981
+ shares?: SortOrderInput | SortOrder
106982
+ socialPost?: SocialPostOrderByWithRelationAndSearchRelevanceInput
106983
+ }
106984
+
106985
+ export type PublicSocialPostWhereUniqueInput = Prisma.AtLeast<{
106986
+ id?: number
106987
+ socialPostId?: number
106988
+ AND?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
106989
+ OR?: PublicSocialPostWhereInput[]
106990
+ NOT?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
106991
+ views?: IntNullableFilter<"PublicSocialPost"> | number | null
106992
+ likes?: IntNullableFilter<"PublicSocialPost"> | number | null
106993
+ comments?: IntNullableFilter<"PublicSocialPost"> | number | null
106994
+ saves?: IntNullableFilter<"PublicSocialPost"> | number | null
106995
+ shares?: IntNullableFilter<"PublicSocialPost"> | number | null
106996
+ socialPost?: XOR<SocialPostRelationFilter, SocialPostWhereInput>
106997
+ }, "id" | "socialPostId">
106998
+
106999
+ export type PublicSocialPostOrderByWithAggregationInput = {
107000
+ id?: SortOrder
107001
+ socialPostId?: SortOrder
107002
+ views?: SortOrderInput | SortOrder
107003
+ likes?: SortOrderInput | SortOrder
107004
+ comments?: SortOrderInput | SortOrder
107005
+ saves?: SortOrderInput | SortOrder
107006
+ shares?: SortOrderInput | SortOrder
107007
+ _count?: PublicSocialPostCountOrderByAggregateInput
107008
+ _avg?: PublicSocialPostAvgOrderByAggregateInput
107009
+ _max?: PublicSocialPostMaxOrderByAggregateInput
107010
+ _min?: PublicSocialPostMinOrderByAggregateInput
107011
+ _sum?: PublicSocialPostSumOrderByAggregateInput
107012
+ }
107013
+
107014
+ export type PublicSocialPostScalarWhereWithAggregatesInput = {
107015
+ AND?: PublicSocialPostScalarWhereWithAggregatesInput | PublicSocialPostScalarWhereWithAggregatesInput[]
107016
+ OR?: PublicSocialPostScalarWhereWithAggregatesInput[]
107017
+ NOT?: PublicSocialPostScalarWhereWithAggregatesInput | PublicSocialPostScalarWhereWithAggregatesInput[]
107018
+ id?: IntWithAggregatesFilter<"PublicSocialPost"> | number
107019
+ socialPostId?: IntWithAggregatesFilter<"PublicSocialPost"> | number
107020
+ views?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
107021
+ likes?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
107022
+ comments?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
107023
+ saves?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
107024
+ shares?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
107025
+ }
107026
+
105783
107027
  export type CampaignToSocialPostWhereInput = {
105784
107028
  AND?: CampaignToSocialPostWhereInput | CampaignToSocialPostWhereInput[]
105785
107029
  OR?: CampaignToSocialPostWhereInput[]
@@ -112717,6 +113961,7 @@ export namespace Prisma {
112717
113961
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
112718
113962
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
112719
113963
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
113964
+ publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
112720
113965
  }
112721
113966
 
112722
113967
  export type SocialPostUncheckedCreateInput = {
@@ -112755,6 +114000,7 @@ export namespace Prisma {
112755
114000
  campaignId?: number | null
112756
114001
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
112757
114002
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
114003
+ publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
112758
114004
  }
112759
114005
 
112760
114006
  export type SocialPostUpdateInput = {
@@ -112792,6 +114038,7 @@ export namespace Prisma {
112792
114038
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
112793
114039
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
112794
114040
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
114041
+ publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
112795
114042
  }
112796
114043
 
112797
114044
  export type SocialPostUncheckedUpdateInput = {
@@ -112830,6 +114077,7 @@ export namespace Prisma {
112830
114077
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
112831
114078
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
112832
114079
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
114080
+ publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
112833
114081
  }
112834
114082
 
112835
114083
  export type SocialPostCreateManyInput = {
@@ -112937,6 +114185,72 @@ export namespace Prisma {
112937
114185
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
112938
114186
  }
112939
114187
 
114188
+ export type PublicSocialPostCreateInput = {
114189
+ views?: number | null
114190
+ likes?: number | null
114191
+ comments?: number | null
114192
+ saves?: number | null
114193
+ shares?: number | null
114194
+ socialPost: SocialPostCreateNestedOneWithoutPublicPostsInput
114195
+ }
114196
+
114197
+ export type PublicSocialPostUncheckedCreateInput = {
114198
+ id?: number
114199
+ socialPostId: number
114200
+ views?: number | null
114201
+ likes?: number | null
114202
+ comments?: number | null
114203
+ saves?: number | null
114204
+ shares?: number | null
114205
+ }
114206
+
114207
+ export type PublicSocialPostUpdateInput = {
114208
+ views?: NullableIntFieldUpdateOperationsInput | number | null
114209
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
114210
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
114211
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
114212
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
114213
+ socialPost?: SocialPostUpdateOneRequiredWithoutPublicPostsNestedInput
114214
+ }
114215
+
114216
+ export type PublicSocialPostUncheckedUpdateInput = {
114217
+ id?: IntFieldUpdateOperationsInput | number
114218
+ socialPostId?: IntFieldUpdateOperationsInput | number
114219
+ views?: NullableIntFieldUpdateOperationsInput | number | null
114220
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
114221
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
114222
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
114223
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
114224
+ }
114225
+
114226
+ export type PublicSocialPostCreateManyInput = {
114227
+ id?: number
114228
+ socialPostId: number
114229
+ views?: number | null
114230
+ likes?: number | null
114231
+ comments?: number | null
114232
+ saves?: number | null
114233
+ shares?: number | null
114234
+ }
114235
+
114236
+ export type PublicSocialPostUpdateManyMutationInput = {
114237
+ views?: NullableIntFieldUpdateOperationsInput | number | null
114238
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
114239
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
114240
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
114241
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
114242
+ }
114243
+
114244
+ export type PublicSocialPostUncheckedUpdateManyInput = {
114245
+ id?: IntFieldUpdateOperationsInput | number
114246
+ socialPostId?: IntFieldUpdateOperationsInput | number
114247
+ views?: NullableIntFieldUpdateOperationsInput | number | null
114248
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
114249
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
114250
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
114251
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
114252
+ }
114253
+
112940
114254
  export type CampaignToSocialPostCreateInput = {
112941
114255
  status?: $Enums.CampaignToSocialPostStatus
112942
114256
  created?: Date | string
@@ -119360,10 +120674,20 @@ export namespace Prisma {
119360
120674
  none?: ListToSocialPostWhereInput
119361
120675
  }
119362
120676
 
120677
+ export type PublicSocialPostListRelationFilter = {
120678
+ every?: PublicSocialPostWhereInput
120679
+ some?: PublicSocialPostWhereInput
120680
+ none?: PublicSocialPostWhereInput
120681
+ }
120682
+
119363
120683
  export type ListToSocialPostOrderByRelationAggregateInput = {
119364
120684
  _count?: SortOrder
119365
120685
  }
119366
120686
 
120687
+ export type PublicSocialPostOrderByRelationAggregateInput = {
120688
+ _count?: SortOrder
120689
+ }
120690
+
119367
120691
  export type SocialPostOrderByRelevanceInput = {
119368
120692
  fields: SocialPostOrderByRelevanceFieldEnum | SocialPostOrderByRelevanceFieldEnum[]
119369
120693
  sort: SortOrder
@@ -119521,6 +120845,61 @@ export namespace Prisma {
119521
120845
  campaignId?: SortOrder
119522
120846
  }
119523
120847
 
120848
+ export type SocialPostRelationFilter = {
120849
+ is?: SocialPostWhereInput
120850
+ isNot?: SocialPostWhereInput
120851
+ }
120852
+
120853
+ export type PublicSocialPostCountOrderByAggregateInput = {
120854
+ id?: SortOrder
120855
+ socialPostId?: SortOrder
120856
+ views?: SortOrder
120857
+ likes?: SortOrder
120858
+ comments?: SortOrder
120859
+ saves?: SortOrder
120860
+ shares?: SortOrder
120861
+ }
120862
+
120863
+ export type PublicSocialPostAvgOrderByAggregateInput = {
120864
+ id?: SortOrder
120865
+ socialPostId?: SortOrder
120866
+ views?: SortOrder
120867
+ likes?: SortOrder
120868
+ comments?: SortOrder
120869
+ saves?: SortOrder
120870
+ shares?: SortOrder
120871
+ }
120872
+
120873
+ export type PublicSocialPostMaxOrderByAggregateInput = {
120874
+ id?: SortOrder
120875
+ socialPostId?: SortOrder
120876
+ views?: SortOrder
120877
+ likes?: SortOrder
120878
+ comments?: SortOrder
120879
+ saves?: SortOrder
120880
+ shares?: SortOrder
120881
+ }
120882
+
120883
+ export type PublicSocialPostMinOrderByAggregateInput = {
120884
+ id?: SortOrder
120885
+ socialPostId?: SortOrder
120886
+ views?: SortOrder
120887
+ likes?: SortOrder
120888
+ comments?: SortOrder
120889
+ saves?: SortOrder
120890
+ shares?: SortOrder
120891
+ }
120892
+
120893
+ export type PublicSocialPostSumOrderByAggregateInput = {
120894
+ id?: SortOrder
120895
+ socialPostId?: SortOrder
120896
+ views?: SortOrder
120897
+ likes?: SortOrder
120898
+ comments?: SortOrder
120899
+ saves?: SortOrder
120900
+ shares?: SortOrder
120901
+ }
120902
+
119524
120903
  export type EnumCampaignToSocialPostStatusFilter<$PrismaModel = never> = {
119525
120904
  equals?: $Enums.CampaignToSocialPostStatus | EnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
119526
120905
  in?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
@@ -119528,11 +120907,6 @@ export namespace Prisma {
119528
120907
  not?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel> | $Enums.CampaignToSocialPostStatus
119529
120908
  }
119530
120909
 
119531
- export type SocialPostRelationFilter = {
119532
- is?: SocialPostWhereInput
119533
- isNot?: SocialPostWhereInput
119534
- }
119535
-
119536
120910
  export type CampaignToSocialPostCampaignIdSocialPostIdCompoundUniqueInput = {
119537
120911
  campaignId: number
119538
120912
  socialPostId: number
@@ -127195,6 +128569,13 @@ export namespace Prisma {
127195
128569
  connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
127196
128570
  }
127197
128571
 
128572
+ export type PublicSocialPostCreateNestedManyWithoutSocialPostInput = {
128573
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
128574
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
128575
+ createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
128576
+ connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128577
+ }
128578
+
127198
128579
  export type ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
127199
128580
  create?: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput> | ListToSocialPostCreateWithoutSocialPostInput[] | ListToSocialPostUncheckedCreateWithoutSocialPostInput[]
127200
128581
  connectOrCreate?: ListToSocialPostCreateOrConnectWithoutSocialPostInput | ListToSocialPostCreateOrConnectWithoutSocialPostInput[]
@@ -127209,6 +128590,13 @@ export namespace Prisma {
127209
128590
  connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
127210
128591
  }
127211
128592
 
128593
+ export type PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
128594
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
128595
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
128596
+ createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
128597
+ connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128598
+ }
128599
+
127212
128600
  export type UserUpdateOneWithoutSocialPostsNestedInput = {
127213
128601
  create?: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
127214
128602
  connectOrCreate?: UserCreateOrConnectWithoutSocialPostsInput
@@ -127257,6 +128645,20 @@ export namespace Prisma {
127257
128645
  deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
127258
128646
  }
127259
128647
 
128648
+ export type PublicSocialPostUpdateManyWithoutSocialPostNestedInput = {
128649
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
128650
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
128651
+ upsert?: PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput | PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput[]
128652
+ createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
128653
+ set?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128654
+ disconnect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128655
+ delete?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128656
+ connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128657
+ update?: PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput | PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput[]
128658
+ updateMany?: PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput | PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput[]
128659
+ deleteMany?: PublicSocialPostScalarWhereInput | PublicSocialPostScalarWhereInput[]
128660
+ }
128661
+
127260
128662
  export type ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput = {
127261
128663
  create?: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput> | ListToSocialPostCreateWithoutSocialPostInput[] | ListToSocialPostUncheckedCreateWithoutSocialPostInput[]
127262
128664
  connectOrCreate?: ListToSocialPostCreateOrConnectWithoutSocialPostInput | ListToSocialPostCreateOrConnectWithoutSocialPostInput[]
@@ -127285,6 +128687,34 @@ export namespace Prisma {
127285
128687
  deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
127286
128688
  }
127287
128689
 
128690
+ export type PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput = {
128691
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
128692
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
128693
+ upsert?: PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput | PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput[]
128694
+ createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
128695
+ set?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128696
+ disconnect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128697
+ delete?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128698
+ connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128699
+ update?: PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput | PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput[]
128700
+ updateMany?: PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput | PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput[]
128701
+ deleteMany?: PublicSocialPostScalarWhereInput | PublicSocialPostScalarWhereInput[]
128702
+ }
128703
+
128704
+ export type SocialPostCreateNestedOneWithoutPublicPostsInput = {
128705
+ create?: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
128706
+ connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostsInput
128707
+ connect?: SocialPostWhereUniqueInput
128708
+ }
128709
+
128710
+ export type SocialPostUpdateOneRequiredWithoutPublicPostsNestedInput = {
128711
+ create?: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
128712
+ connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostsInput
128713
+ upsert?: SocialPostUpsertWithoutPublicPostsInput
128714
+ connect?: SocialPostWhereUniqueInput
128715
+ update?: XOR<XOR<SocialPostUpdateToOneWithWhereWithoutPublicPostsInput, SocialPostUpdateWithoutPublicPostsInput>, SocialPostUncheckedUpdateWithoutPublicPostsInput>
128716
+ }
128717
+
127288
128718
  export type CampaignCreateNestedOneWithoutLinkedPostsInput = {
127289
128719
  create?: XOR<CampaignCreateWithoutLinkedPostsInput, CampaignUncheckedCreateWithoutLinkedPostsInput>
127290
128720
  connectOrCreate?: CampaignCreateOrConnectWithoutLinkedPostsInput
@@ -130847,6 +132277,7 @@ export namespace Prisma {
130847
132277
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
130848
132278
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
130849
132279
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
132280
+ publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
130850
132281
  }
130851
132282
 
130852
132283
  export type SocialPostUncheckedCreateWithoutUserInput = {
@@ -130884,6 +132315,7 @@ export namespace Prisma {
130884
132315
  campaignId?: number | null
130885
132316
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
130886
132317
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
132318
+ publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
130887
132319
  }
130888
132320
 
130889
132321
  export type SocialPostCreateOrConnectWithoutUserInput = {
@@ -139858,6 +141290,7 @@ export namespace Prisma {
139858
141290
  user?: UserCreateNestedOneWithoutSocialPostsInput
139859
141291
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
139860
141292
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
141293
+ publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
139861
141294
  }
139862
141295
 
139863
141296
  export type SocialPostUncheckedCreateWithoutCampaignInput = {
@@ -139895,6 +141328,7 @@ export namespace Prisma {
139895
141328
  userId?: number | null
139896
141329
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
139897
141330
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
141331
+ publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
139898
141332
  }
139899
141333
 
139900
141334
  export type SocialPostCreateOrConnectWithoutCampaignInput = {
@@ -146792,6 +148226,33 @@ export namespace Prisma {
146792
148226
  skipDuplicates?: boolean
146793
148227
  }
146794
148228
 
148229
+ export type PublicSocialPostCreateWithoutSocialPostInput = {
148230
+ views?: number | null
148231
+ likes?: number | null
148232
+ comments?: number | null
148233
+ saves?: number | null
148234
+ shares?: number | null
148235
+ }
148236
+
148237
+ export type PublicSocialPostUncheckedCreateWithoutSocialPostInput = {
148238
+ id?: number
148239
+ views?: number | null
148240
+ likes?: number | null
148241
+ comments?: number | null
148242
+ saves?: number | null
148243
+ shares?: number | null
148244
+ }
148245
+
148246
+ export type PublicSocialPostCreateOrConnectWithoutSocialPostInput = {
148247
+ where: PublicSocialPostWhereUniqueInput
148248
+ create: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
148249
+ }
148250
+
148251
+ export type PublicSocialPostCreateManySocialPostInputEnvelope = {
148252
+ data: PublicSocialPostCreateManySocialPostInput | PublicSocialPostCreateManySocialPostInput[]
148253
+ skipDuplicates?: boolean
148254
+ }
148255
+
146795
148256
  export type UserUpsertWithoutSocialPostsInput = {
146796
148257
  update: XOR<UserUpdateWithoutSocialPostsInput, UserUncheckedUpdateWithoutSocialPostsInput>
146797
148258
  create: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
@@ -147105,6 +148566,201 @@ export namespace Prisma {
147105
148566
  data: XOR<CampaignToSocialPostUpdateManyMutationInput, CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostInput>
147106
148567
  }
147107
148568
 
148569
+ export type PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput = {
148570
+ where: PublicSocialPostWhereUniqueInput
148571
+ update: XOR<PublicSocialPostUpdateWithoutSocialPostInput, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
148572
+ create: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
148573
+ }
148574
+
148575
+ export type PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput = {
148576
+ where: PublicSocialPostWhereUniqueInput
148577
+ data: XOR<PublicSocialPostUpdateWithoutSocialPostInput, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
148578
+ }
148579
+
148580
+ export type PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput = {
148581
+ where: PublicSocialPostScalarWhereInput
148582
+ data: XOR<PublicSocialPostUpdateManyMutationInput, PublicSocialPostUncheckedUpdateManyWithoutSocialPostInput>
148583
+ }
148584
+
148585
+ export type PublicSocialPostScalarWhereInput = {
148586
+ AND?: PublicSocialPostScalarWhereInput | PublicSocialPostScalarWhereInput[]
148587
+ OR?: PublicSocialPostScalarWhereInput[]
148588
+ NOT?: PublicSocialPostScalarWhereInput | PublicSocialPostScalarWhereInput[]
148589
+ id?: IntFilter<"PublicSocialPost"> | number
148590
+ socialPostId?: IntFilter<"PublicSocialPost"> | number
148591
+ views?: IntNullableFilter<"PublicSocialPost"> | number | null
148592
+ likes?: IntNullableFilter<"PublicSocialPost"> | number | null
148593
+ comments?: IntNullableFilter<"PublicSocialPost"> | number | null
148594
+ saves?: IntNullableFilter<"PublicSocialPost"> | number | null
148595
+ shares?: IntNullableFilter<"PublicSocialPost"> | number | null
148596
+ }
148597
+
148598
+ export type SocialPostCreateWithoutPublicPostsInput = {
148599
+ externalId: string
148600
+ phylloId?: string | null
148601
+ metaData?: JsonNullValueInput | InputJsonValue
148602
+ lastFetched?: Date | string | null
148603
+ lastWebhook?: Date | string | null
148604
+ posted?: Date | string | null
148605
+ title?: string | null
148606
+ description?: string | null
148607
+ url?: string | null
148608
+ format?: string | null
148609
+ type?: string | null
148610
+ platform?: string | null
148611
+ visibility?: string | null
148612
+ isSponsored?: boolean | null
148613
+ hasCollaborators?: boolean | null
148614
+ isOwnedByUser?: boolean | null
148615
+ views?: number | null
148616
+ replays?: number | null
148617
+ impressions?: number | null
148618
+ impressionsOrganic?: number | null
148619
+ impressionsPaid?: number | null
148620
+ reach?: number | null
148621
+ reachOrganic?: number | null
148622
+ reachPaid?: number | null
148623
+ watchHours?: number | null
148624
+ likes?: number | null
148625
+ dislikes?: number | null
148626
+ comments?: number | null
148627
+ saves?: number | null
148628
+ shares?: number | null
148629
+ user?: UserCreateNestedOneWithoutSocialPostsInput
148630
+ campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
148631
+ lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
148632
+ campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
148633
+ }
148634
+
148635
+ export type SocialPostUncheckedCreateWithoutPublicPostsInput = {
148636
+ id?: number
148637
+ externalId: string
148638
+ phylloId?: string | null
148639
+ metaData?: JsonNullValueInput | InputJsonValue
148640
+ lastFetched?: Date | string | null
148641
+ lastWebhook?: Date | string | null
148642
+ posted?: Date | string | null
148643
+ title?: string | null
148644
+ description?: string | null
148645
+ url?: string | null
148646
+ format?: string | null
148647
+ type?: string | null
148648
+ platform?: string | null
148649
+ visibility?: string | null
148650
+ isSponsored?: boolean | null
148651
+ hasCollaborators?: boolean | null
148652
+ isOwnedByUser?: boolean | null
148653
+ views?: number | null
148654
+ replays?: number | null
148655
+ impressions?: number | null
148656
+ impressionsOrganic?: number | null
148657
+ impressionsPaid?: number | null
148658
+ reach?: number | null
148659
+ reachOrganic?: number | null
148660
+ reachPaid?: number | null
148661
+ watchHours?: number | null
148662
+ likes?: number | null
148663
+ dislikes?: number | null
148664
+ comments?: number | null
148665
+ saves?: number | null
148666
+ shares?: number | null
148667
+ userId?: number | null
148668
+ campaignId?: number | null
148669
+ lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
148670
+ campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
148671
+ }
148672
+
148673
+ export type SocialPostCreateOrConnectWithoutPublicPostsInput = {
148674
+ where: SocialPostWhereUniqueInput
148675
+ create: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
148676
+ }
148677
+
148678
+ export type SocialPostUpsertWithoutPublicPostsInput = {
148679
+ update: XOR<SocialPostUpdateWithoutPublicPostsInput, SocialPostUncheckedUpdateWithoutPublicPostsInput>
148680
+ create: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
148681
+ where?: SocialPostWhereInput
148682
+ }
148683
+
148684
+ export type SocialPostUpdateToOneWithWhereWithoutPublicPostsInput = {
148685
+ where?: SocialPostWhereInput
148686
+ data: XOR<SocialPostUpdateWithoutPublicPostsInput, SocialPostUncheckedUpdateWithoutPublicPostsInput>
148687
+ }
148688
+
148689
+ export type SocialPostUpdateWithoutPublicPostsInput = {
148690
+ externalId?: StringFieldUpdateOperationsInput | string
148691
+ phylloId?: NullableStringFieldUpdateOperationsInput | string | null
148692
+ metaData?: JsonNullValueInput | InputJsonValue
148693
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
148694
+ lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
148695
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
148696
+ title?: NullableStringFieldUpdateOperationsInput | string | null
148697
+ description?: NullableStringFieldUpdateOperationsInput | string | null
148698
+ url?: NullableStringFieldUpdateOperationsInput | string | null
148699
+ format?: NullableStringFieldUpdateOperationsInput | string | null
148700
+ type?: NullableStringFieldUpdateOperationsInput | string | null
148701
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
148702
+ visibility?: NullableStringFieldUpdateOperationsInput | string | null
148703
+ isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
148704
+ hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
148705
+ isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
148706
+ views?: NullableIntFieldUpdateOperationsInput | number | null
148707
+ replays?: NullableIntFieldUpdateOperationsInput | number | null
148708
+ impressions?: NullableIntFieldUpdateOperationsInput | number | null
148709
+ impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
148710
+ impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
148711
+ reach?: NullableIntFieldUpdateOperationsInput | number | null
148712
+ reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
148713
+ reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
148714
+ watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
148715
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
148716
+ dislikes?: NullableIntFieldUpdateOperationsInput | number | null
148717
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
148718
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
148719
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
148720
+ user?: UserUpdateOneWithoutSocialPostsNestedInput
148721
+ campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
148722
+ lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
148723
+ campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
148724
+ }
148725
+
148726
+ export type SocialPostUncheckedUpdateWithoutPublicPostsInput = {
148727
+ id?: IntFieldUpdateOperationsInput | number
148728
+ externalId?: StringFieldUpdateOperationsInput | string
148729
+ phylloId?: NullableStringFieldUpdateOperationsInput | string | null
148730
+ metaData?: JsonNullValueInput | InputJsonValue
148731
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
148732
+ lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
148733
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
148734
+ title?: NullableStringFieldUpdateOperationsInput | string | null
148735
+ description?: NullableStringFieldUpdateOperationsInput | string | null
148736
+ url?: NullableStringFieldUpdateOperationsInput | string | null
148737
+ format?: NullableStringFieldUpdateOperationsInput | string | null
148738
+ type?: NullableStringFieldUpdateOperationsInput | string | null
148739
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
148740
+ visibility?: NullableStringFieldUpdateOperationsInput | string | null
148741
+ isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
148742
+ hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
148743
+ isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
148744
+ views?: NullableIntFieldUpdateOperationsInput | number | null
148745
+ replays?: NullableIntFieldUpdateOperationsInput | number | null
148746
+ impressions?: NullableIntFieldUpdateOperationsInput | number | null
148747
+ impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
148748
+ impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
148749
+ reach?: NullableIntFieldUpdateOperationsInput | number | null
148750
+ reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
148751
+ reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
148752
+ watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
148753
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
148754
+ dislikes?: NullableIntFieldUpdateOperationsInput | number | null
148755
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
148756
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
148757
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
148758
+ userId?: NullableIntFieldUpdateOperationsInput | number | null
148759
+ campaignId?: NullableIntFieldUpdateOperationsInput | number | null
148760
+ lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
148761
+ campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
148762
+ }
148763
+
147108
148764
  export type CampaignCreateWithoutLinkedPostsInput = {
147109
148765
  title: string
147110
148766
  slug?: string | null
@@ -147287,6 +148943,7 @@ export namespace Prisma {
147287
148943
  user?: UserCreateNestedOneWithoutSocialPostsInput
147288
148944
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
147289
148945
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
148946
+ publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
147290
148947
  }
147291
148948
 
147292
148949
  export type SocialPostUncheckedCreateWithoutCampaignsInput = {
@@ -147324,6 +148981,7 @@ export namespace Prisma {
147324
148981
  userId?: number | null
147325
148982
  campaignId?: number | null
147326
148983
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
148984
+ publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
147327
148985
  }
147328
148986
 
147329
148987
  export type SocialPostCreateOrConnectWithoutCampaignsInput = {
@@ -147530,6 +149188,7 @@ export namespace Prisma {
147530
149188
  user?: UserUpdateOneWithoutSocialPostsNestedInput
147531
149189
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
147532
149190
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
149191
+ publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
147533
149192
  }
147534
149193
 
147535
149194
  export type SocialPostUncheckedUpdateWithoutCampaignsInput = {
@@ -147567,6 +149226,7 @@ export namespace Prisma {
147567
149226
  userId?: NullableIntFieldUpdateOperationsInput | number | null
147568
149227
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
147569
149228
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
149229
+ publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
147570
149230
  }
147571
149231
 
147572
149232
  export type CampaignToImageCreateWithoutSizesInput = {
@@ -153427,6 +155087,7 @@ export namespace Prisma {
153427
155087
  user?: UserCreateNestedOneWithoutSocialPostsInput
153428
155088
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
153429
155089
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
155090
+ publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
153430
155091
  }
153431
155092
 
153432
155093
  export type SocialPostUncheckedCreateWithoutListsInput = {
@@ -153464,6 +155125,7 @@ export namespace Prisma {
153464
155125
  userId?: number | null
153465
155126
  campaignId?: number | null
153466
155127
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
155128
+ publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
153467
155129
  }
153468
155130
 
153469
155131
  export type SocialPostCreateOrConnectWithoutListsInput = {
@@ -153550,6 +155212,7 @@ export namespace Prisma {
153550
155212
  user?: UserUpdateOneWithoutSocialPostsNestedInput
153551
155213
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
153552
155214
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
155215
+ publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
153553
155216
  }
153554
155217
 
153555
155218
  export type SocialPostUncheckedUpdateWithoutListsInput = {
@@ -153587,6 +155250,7 @@ export namespace Prisma {
153587
155250
  userId?: NullableIntFieldUpdateOperationsInput | number | null
153588
155251
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
153589
155252
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
155253
+ publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
153590
155254
  }
153591
155255
 
153592
155256
  export type CampaignCreateWithoutOptInViewsInput = {
@@ -161147,6 +162811,7 @@ export namespace Prisma {
161147
162811
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
161148
162812
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
161149
162813
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
162814
+ publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
161150
162815
  }
161151
162816
 
161152
162817
  export type SocialPostUncheckedUpdateWithoutUserInput = {
@@ -161184,6 +162849,7 @@ export namespace Prisma {
161184
162849
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
161185
162850
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
161186
162851
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
162852
+ publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
161187
162853
  }
161188
162854
 
161189
162855
  export type SocialPostUncheckedUpdateManyWithoutUserInput = {
@@ -163586,6 +165252,7 @@ export namespace Prisma {
163586
165252
  user?: UserUpdateOneWithoutSocialPostsNestedInput
163587
165253
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
163588
165254
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
165255
+ publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
163589
165256
  }
163590
165257
 
163591
165258
  export type SocialPostUncheckedUpdateWithoutCampaignInput = {
@@ -163623,6 +165290,7 @@ export namespace Prisma {
163623
165290
  userId?: NullableIntFieldUpdateOperationsInput | number | null
163624
165291
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
163625
165292
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
165293
+ publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
163626
165294
  }
163627
165295
 
163628
165296
  export type SocialPostUncheckedUpdateManyWithoutCampaignInput = {
@@ -164657,6 +166325,15 @@ export namespace Prisma {
164657
166325
  metaData?: JsonNullValueInput | InputJsonValue
164658
166326
  }
164659
166327
 
166328
+ export type PublicSocialPostCreateManySocialPostInput = {
166329
+ id?: number
166330
+ views?: number | null
166331
+ likes?: number | null
166332
+ comments?: number | null
166333
+ saves?: number | null
166334
+ shares?: number | null
166335
+ }
166336
+
164660
166337
  export type ListToSocialPostUpdateWithoutSocialPostInput = {
164661
166338
  list?: SocialListeningListUpdateOneRequiredWithoutPostsNestedInput
164662
166339
  }
@@ -164692,6 +166369,32 @@ export namespace Prisma {
164692
166369
  metaData?: JsonNullValueInput | InputJsonValue
164693
166370
  }
164694
166371
 
166372
+ export type PublicSocialPostUpdateWithoutSocialPostInput = {
166373
+ views?: NullableIntFieldUpdateOperationsInput | number | null
166374
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
166375
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
166376
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
166377
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
166378
+ }
166379
+
166380
+ export type PublicSocialPostUncheckedUpdateWithoutSocialPostInput = {
166381
+ id?: IntFieldUpdateOperationsInput | number
166382
+ views?: NullableIntFieldUpdateOperationsInput | number | null
166383
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
166384
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
166385
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
166386
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
166387
+ }
166388
+
166389
+ export type PublicSocialPostUncheckedUpdateManyWithoutSocialPostInput = {
166390
+ id?: IntFieldUpdateOperationsInput | number
166391
+ views?: NullableIntFieldUpdateOperationsInput | number | null
166392
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
166393
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
166394
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
166395
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
166396
+ }
166397
+
164695
166398
  export type StateCreateManyCountryInput = {
164696
166399
  id?: number
164697
166400
  stateCode: string
@@ -165899,6 +167602,10 @@ export namespace Prisma {
165899
167602
  * @deprecated Use SocialPostDefaultArgs instead
165900
167603
  */
165901
167604
  export type SocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialPostDefaultArgs<ExtArgs>
167605
+ /**
167606
+ * @deprecated Use PublicSocialPostDefaultArgs instead
167607
+ */
167608
+ export type PublicSocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PublicSocialPostDefaultArgs<ExtArgs>
165902
167609
  /**
165903
167610
  * @deprecated Use CampaignToSocialPostDefaultArgs instead
165904
167611
  */