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

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
@@ -9149,13 +9149,11 @@ export namespace Prisma {
9149
9149
  export type SocialPostCountOutputType = {
9150
9150
  lists: number
9151
9151
  campaigns: number
9152
- publicPosts: number
9153
9152
  }
9154
9153
 
9155
9154
  export type SocialPostCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9156
9155
  lists?: boolean | SocialPostCountOutputTypeCountListsArgs
9157
9156
  campaigns?: boolean | SocialPostCountOutputTypeCountCampaignsArgs
9158
- publicPosts?: boolean | SocialPostCountOutputTypeCountPublicPostsArgs
9159
9157
  }
9160
9158
 
9161
9159
  // Custom InputTypes
@@ -9183,13 +9181,6 @@ export namespace Prisma {
9183
9181
  where?: CampaignToSocialPostWhereInput
9184
9182
  }
9185
9183
 
9186
- /**
9187
- * SocialPostCountOutputType without action
9188
- */
9189
- export type SocialPostCountOutputTypeCountPublicPostsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9190
- where?: PublicSocialPostWhereInput
9191
- }
9192
-
9193
9184
 
9194
9185
  /**
9195
9186
  * Count Type CountryCountOutputType
@@ -52381,7 +52372,7 @@ export namespace Prisma {
52381
52372
  campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
52382
52373
  lists?: boolean | SocialPost$listsArgs<ExtArgs>
52383
52374
  campaigns?: boolean | SocialPost$campaignsArgs<ExtArgs>
52384
- publicPosts?: boolean | SocialPost$publicPostsArgs<ExtArgs>
52375
+ publicPost?: boolean | SocialPost$publicPostArgs<ExtArgs>
52385
52376
  _count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
52386
52377
  }, ExtArgs["result"]["socialPost"]>
52387
52378
 
@@ -52464,7 +52455,7 @@ export namespace Prisma {
52464
52455
  campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
52465
52456
  lists?: boolean | SocialPost$listsArgs<ExtArgs>
52466
52457
  campaigns?: boolean | SocialPost$campaignsArgs<ExtArgs>
52467
- publicPosts?: boolean | SocialPost$publicPostsArgs<ExtArgs>
52458
+ publicPost?: boolean | SocialPost$publicPostArgs<ExtArgs>
52468
52459
  _count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
52469
52460
  }
52470
52461
  export type SocialPostIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -52479,7 +52470,7 @@ export namespace Prisma {
52479
52470
  campaign: Prisma.$CampaignPayload<ExtArgs> | null
52480
52471
  lists: Prisma.$ListToSocialPostPayload<ExtArgs>[]
52481
52472
  campaigns: Prisma.$CampaignToSocialPostPayload<ExtArgs>[]
52482
- publicPosts: Prisma.$PublicSocialPostPayload<ExtArgs>[]
52473
+ publicPost: Prisma.$PublicSocialPostPayload<ExtArgs> | null
52483
52474
  }
52484
52475
  scalars: $Extensions.GetPayloadResult<{
52485
52476
  id: number
@@ -52913,7 +52904,7 @@ export namespace Prisma {
52913
52904
 
52914
52905
  campaigns<T extends SocialPost$campaignsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$campaignsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
52915
52906
 
52916
- publicPosts<T extends SocialPost$publicPostsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$publicPostsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
52907
+ publicPost<T extends SocialPost$publicPostArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$publicPostArgs<ExtArgs>>): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
52917
52908
 
52918
52909
  /**
52919
52910
  * Attaches callbacks for the resolution and/or rejection of the Promise.
@@ -53364,9 +53355,9 @@ export namespace Prisma {
53364
53355
  }
53365
53356
 
53366
53357
  /**
53367
- * SocialPost.publicPosts
53358
+ * SocialPost.publicPost
53368
53359
  */
53369
- export type SocialPost$publicPostsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53360
+ export type SocialPost$publicPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53370
53361
  /**
53371
53362
  * Select specific fields to fetch from the PublicSocialPost
53372
53363
  */
@@ -53376,11 +53367,6 @@ export namespace Prisma {
53376
53367
  */
53377
53368
  include?: PublicSocialPostInclude<ExtArgs> | null
53378
53369
  where?: PublicSocialPostWhereInput
53379
- orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
53380
- cursor?: PublicSocialPostWhereUniqueInput
53381
- take?: number
53382
- skip?: number
53383
- distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
53384
53370
  }
53385
53371
 
53386
53372
  /**
@@ -53433,6 +53419,8 @@ export namespace Prisma {
53433
53419
  export type PublicSocialPostMinAggregateOutputType = {
53434
53420
  id: number | null
53435
53421
  socialPostId: number | null
53422
+ lastFetched: Date | null
53423
+ posted: Date | null
53436
53424
  views: number | null
53437
53425
  likes: number | null
53438
53426
  comments: number | null
@@ -53443,6 +53431,8 @@ export namespace Prisma {
53443
53431
  export type PublicSocialPostMaxAggregateOutputType = {
53444
53432
  id: number | null
53445
53433
  socialPostId: number | null
53434
+ lastFetched: Date | null
53435
+ posted: Date | null
53446
53436
  views: number | null
53447
53437
  likes: number | null
53448
53438
  comments: number | null
@@ -53453,6 +53443,8 @@ export namespace Prisma {
53453
53443
  export type PublicSocialPostCountAggregateOutputType = {
53454
53444
  id: number
53455
53445
  socialPostId: number
53446
+ lastFetched: number
53447
+ posted: number
53456
53448
  views: number
53457
53449
  likes: number
53458
53450
  comments: number
@@ -53485,6 +53477,8 @@ export namespace Prisma {
53485
53477
  export type PublicSocialPostMinAggregateInputType = {
53486
53478
  id?: true
53487
53479
  socialPostId?: true
53480
+ lastFetched?: true
53481
+ posted?: true
53488
53482
  views?: true
53489
53483
  likes?: true
53490
53484
  comments?: true
@@ -53495,6 +53489,8 @@ export namespace Prisma {
53495
53489
  export type PublicSocialPostMaxAggregateInputType = {
53496
53490
  id?: true
53497
53491
  socialPostId?: true
53492
+ lastFetched?: true
53493
+ posted?: true
53498
53494
  views?: true
53499
53495
  likes?: true
53500
53496
  comments?: true
@@ -53505,6 +53501,8 @@ export namespace Prisma {
53505
53501
  export type PublicSocialPostCountAggregateInputType = {
53506
53502
  id?: true
53507
53503
  socialPostId?: true
53504
+ lastFetched?: true
53505
+ posted?: true
53508
53506
  views?: true
53509
53507
  likes?: true
53510
53508
  comments?: true
@@ -53602,6 +53600,8 @@ export namespace Prisma {
53602
53600
  export type PublicSocialPostGroupByOutputType = {
53603
53601
  id: number
53604
53602
  socialPostId: number
53603
+ lastFetched: Date | null
53604
+ posted: Date | null
53605
53605
  views: number | null
53606
53606
  likes: number | null
53607
53607
  comments: number | null
@@ -53631,6 +53631,8 @@ export namespace Prisma {
53631
53631
  export type PublicSocialPostSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
53632
53632
  id?: boolean
53633
53633
  socialPostId?: boolean
53634
+ lastFetched?: boolean
53635
+ posted?: boolean
53634
53636
  views?: boolean
53635
53637
  likes?: boolean
53636
53638
  comments?: boolean
@@ -53642,6 +53644,8 @@ export namespace Prisma {
53642
53644
  export type PublicSocialPostSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
53643
53645
  id?: boolean
53644
53646
  socialPostId?: boolean
53647
+ lastFetched?: boolean
53648
+ posted?: boolean
53645
53649
  views?: boolean
53646
53650
  likes?: boolean
53647
53651
  comments?: boolean
@@ -53653,6 +53657,8 @@ export namespace Prisma {
53653
53657
  export type PublicSocialPostSelectScalar = {
53654
53658
  id?: boolean
53655
53659
  socialPostId?: boolean
53660
+ lastFetched?: boolean
53661
+ posted?: boolean
53656
53662
  views?: boolean
53657
53663
  likes?: boolean
53658
53664
  comments?: boolean
@@ -53675,6 +53681,8 @@ export namespace Prisma {
53675
53681
  scalars: $Extensions.GetPayloadResult<{
53676
53682
  id: number
53677
53683
  socialPostId: number
53684
+ lastFetched: Date | null
53685
+ posted: Date | null
53678
53686
  views: number | null
53679
53687
  likes: number | null
53680
53688
  comments: number | null
@@ -54102,6 +54110,8 @@ export namespace Prisma {
54102
54110
  interface PublicSocialPostFieldRefs {
54103
54111
  readonly id: FieldRef<"PublicSocialPost", 'Int'>
54104
54112
  readonly socialPostId: FieldRef<"PublicSocialPost", 'Int'>
54113
+ readonly lastFetched: FieldRef<"PublicSocialPost", 'DateTime'>
54114
+ readonly posted: FieldRef<"PublicSocialPost", 'DateTime'>
54105
54115
  readonly views: FieldRef<"PublicSocialPost", 'Int'>
54106
54116
  readonly likes: FieldRef<"PublicSocialPost", 'Int'>
54107
54117
  readonly comments: FieldRef<"PublicSocialPost", 'Int'>
@@ -101966,6 +101976,8 @@ export namespace Prisma {
101966
101976
  export const PublicSocialPostScalarFieldEnum: {
101967
101977
  id: 'id',
101968
101978
  socialPostId: 'socialPostId',
101979
+ lastFetched: 'lastFetched',
101980
+ posted: 'posted',
101969
101981
  views: 'views',
101970
101982
  likes: 'likes',
101971
101983
  comments: 'comments',
@@ -106787,7 +106799,7 @@ export namespace Prisma {
106787
106799
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
106788
106800
  lists?: ListToSocialPostListRelationFilter
106789
106801
  campaigns?: CampaignToSocialPostListRelationFilter
106790
- publicPosts?: PublicSocialPostListRelationFilter
106802
+ publicPost?: XOR<PublicSocialPostNullableRelationFilter, PublicSocialPostWhereInput> | null
106791
106803
  }
106792
106804
 
106793
106805
  export type SocialPostOrderByWithRelationAndSearchRelevanceInput = {
@@ -106828,7 +106840,7 @@ export namespace Prisma {
106828
106840
  campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
106829
106841
  lists?: ListToSocialPostOrderByRelationAggregateInput
106830
106842
  campaigns?: CampaignToSocialPostOrderByRelationAggregateInput
106831
- publicPosts?: PublicSocialPostOrderByRelationAggregateInput
106843
+ publicPost?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput
106832
106844
  _relevance?: SocialPostOrderByRelevanceInput
106833
106845
  }
106834
106846
 
@@ -106874,7 +106886,7 @@ export namespace Prisma {
106874
106886
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
106875
106887
  lists?: ListToSocialPostListRelationFilter
106876
106888
  campaigns?: CampaignToSocialPostListRelationFilter
106877
- publicPosts?: PublicSocialPostListRelationFilter
106889
+ publicPost?: XOR<PublicSocialPostNullableRelationFilter, PublicSocialPostWhereInput> | null
106878
106890
  }, "id" | "phylloId" | "platform_externalId">
106879
106891
 
106880
106892
  export type SocialPostOrderByWithAggregationInput = {
@@ -106963,6 +106975,8 @@ export namespace Prisma {
106963
106975
  NOT?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
106964
106976
  id?: IntFilter<"PublicSocialPost"> | number
106965
106977
  socialPostId?: IntFilter<"PublicSocialPost"> | number
106978
+ lastFetched?: DateTimeNullableFilter<"PublicSocialPost"> | Date | string | null
106979
+ posted?: DateTimeNullableFilter<"PublicSocialPost"> | Date | string | null
106966
106980
  views?: IntNullableFilter<"PublicSocialPost"> | number | null
106967
106981
  likes?: IntNullableFilter<"PublicSocialPost"> | number | null
106968
106982
  comments?: IntNullableFilter<"PublicSocialPost"> | number | null
@@ -106974,6 +106988,8 @@ export namespace Prisma {
106974
106988
  export type PublicSocialPostOrderByWithRelationAndSearchRelevanceInput = {
106975
106989
  id?: SortOrder
106976
106990
  socialPostId?: SortOrder
106991
+ lastFetched?: SortOrderInput | SortOrder
106992
+ posted?: SortOrderInput | SortOrder
106977
106993
  views?: SortOrderInput | SortOrder
106978
106994
  likes?: SortOrderInput | SortOrder
106979
106995
  comments?: SortOrderInput | SortOrder
@@ -106988,6 +107004,8 @@ export namespace Prisma {
106988
107004
  AND?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
106989
107005
  OR?: PublicSocialPostWhereInput[]
106990
107006
  NOT?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
107007
+ lastFetched?: DateTimeNullableFilter<"PublicSocialPost"> | Date | string | null
107008
+ posted?: DateTimeNullableFilter<"PublicSocialPost"> | Date | string | null
106991
107009
  views?: IntNullableFilter<"PublicSocialPost"> | number | null
106992
107010
  likes?: IntNullableFilter<"PublicSocialPost"> | number | null
106993
107011
  comments?: IntNullableFilter<"PublicSocialPost"> | number | null
@@ -106999,6 +107017,8 @@ export namespace Prisma {
106999
107017
  export type PublicSocialPostOrderByWithAggregationInput = {
107000
107018
  id?: SortOrder
107001
107019
  socialPostId?: SortOrder
107020
+ lastFetched?: SortOrderInput | SortOrder
107021
+ posted?: SortOrderInput | SortOrder
107002
107022
  views?: SortOrderInput | SortOrder
107003
107023
  likes?: SortOrderInput | SortOrder
107004
107024
  comments?: SortOrderInput | SortOrder
@@ -107017,6 +107037,8 @@ export namespace Prisma {
107017
107037
  NOT?: PublicSocialPostScalarWhereWithAggregatesInput | PublicSocialPostScalarWhereWithAggregatesInput[]
107018
107038
  id?: IntWithAggregatesFilter<"PublicSocialPost"> | number
107019
107039
  socialPostId?: IntWithAggregatesFilter<"PublicSocialPost"> | number
107040
+ lastFetched?: DateTimeNullableWithAggregatesFilter<"PublicSocialPost"> | Date | string | null
107041
+ posted?: DateTimeNullableWithAggregatesFilter<"PublicSocialPost"> | Date | string | null
107020
107042
  views?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
107021
107043
  likes?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
107022
107044
  comments?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
@@ -113961,7 +113983,7 @@ export namespace Prisma {
113961
113983
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
113962
113984
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
113963
113985
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
113964
- publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
113986
+ publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
113965
113987
  }
113966
113988
 
113967
113989
  export type SocialPostUncheckedCreateInput = {
@@ -114000,7 +114022,7 @@ export namespace Prisma {
114000
114022
  campaignId?: number | null
114001
114023
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
114002
114024
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
114003
- publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
114025
+ publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
114004
114026
  }
114005
114027
 
114006
114028
  export type SocialPostUpdateInput = {
@@ -114038,7 +114060,7 @@ export namespace Prisma {
114038
114060
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
114039
114061
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
114040
114062
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
114041
- publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
114063
+ publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
114042
114064
  }
114043
114065
 
114044
114066
  export type SocialPostUncheckedUpdateInput = {
@@ -114077,7 +114099,7 @@ export namespace Prisma {
114077
114099
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
114078
114100
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
114079
114101
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
114080
- publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
114102
+ publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
114081
114103
  }
114082
114104
 
114083
114105
  export type SocialPostCreateManyInput = {
@@ -114186,17 +114208,21 @@ export namespace Prisma {
114186
114208
  }
114187
114209
 
114188
114210
  export type PublicSocialPostCreateInput = {
114211
+ lastFetched?: Date | string | null
114212
+ posted?: Date | string | null
114189
114213
  views?: number | null
114190
114214
  likes?: number | null
114191
114215
  comments?: number | null
114192
114216
  saves?: number | null
114193
114217
  shares?: number | null
114194
- socialPost: SocialPostCreateNestedOneWithoutPublicPostsInput
114218
+ socialPost: SocialPostCreateNestedOneWithoutPublicPostInput
114195
114219
  }
114196
114220
 
114197
114221
  export type PublicSocialPostUncheckedCreateInput = {
114198
114222
  id?: number
114199
114223
  socialPostId: number
114224
+ lastFetched?: Date | string | null
114225
+ posted?: Date | string | null
114200
114226
  views?: number | null
114201
114227
  likes?: number | null
114202
114228
  comments?: number | null
@@ -114205,17 +114231,21 @@ export namespace Prisma {
114205
114231
  }
114206
114232
 
114207
114233
  export type PublicSocialPostUpdateInput = {
114234
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
114235
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
114208
114236
  views?: NullableIntFieldUpdateOperationsInput | number | null
114209
114237
  likes?: NullableIntFieldUpdateOperationsInput | number | null
114210
114238
  comments?: NullableIntFieldUpdateOperationsInput | number | null
114211
114239
  saves?: NullableIntFieldUpdateOperationsInput | number | null
114212
114240
  shares?: NullableIntFieldUpdateOperationsInput | number | null
114213
- socialPost?: SocialPostUpdateOneRequiredWithoutPublicPostsNestedInput
114241
+ socialPost?: SocialPostUpdateOneRequiredWithoutPublicPostNestedInput
114214
114242
  }
114215
114243
 
114216
114244
  export type PublicSocialPostUncheckedUpdateInput = {
114217
114245
  id?: IntFieldUpdateOperationsInput | number
114218
114246
  socialPostId?: IntFieldUpdateOperationsInput | number
114247
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
114248
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
114219
114249
  views?: NullableIntFieldUpdateOperationsInput | number | null
114220
114250
  likes?: NullableIntFieldUpdateOperationsInput | number | null
114221
114251
  comments?: NullableIntFieldUpdateOperationsInput | number | null
@@ -114226,6 +114256,8 @@ export namespace Prisma {
114226
114256
  export type PublicSocialPostCreateManyInput = {
114227
114257
  id?: number
114228
114258
  socialPostId: number
114259
+ lastFetched?: Date | string | null
114260
+ posted?: Date | string | null
114229
114261
  views?: number | null
114230
114262
  likes?: number | null
114231
114263
  comments?: number | null
@@ -114234,6 +114266,8 @@ export namespace Prisma {
114234
114266
  }
114235
114267
 
114236
114268
  export type PublicSocialPostUpdateManyMutationInput = {
114269
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
114270
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
114237
114271
  views?: NullableIntFieldUpdateOperationsInput | number | null
114238
114272
  likes?: NullableIntFieldUpdateOperationsInput | number | null
114239
114273
  comments?: NullableIntFieldUpdateOperationsInput | number | null
@@ -114244,6 +114278,8 @@ export namespace Prisma {
114244
114278
  export type PublicSocialPostUncheckedUpdateManyInput = {
114245
114279
  id?: IntFieldUpdateOperationsInput | number
114246
114280
  socialPostId?: IntFieldUpdateOperationsInput | number
114281
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
114282
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
114247
114283
  views?: NullableIntFieldUpdateOperationsInput | number | null
114248
114284
  likes?: NullableIntFieldUpdateOperationsInput | number | null
114249
114285
  comments?: NullableIntFieldUpdateOperationsInput | number | null
@@ -120674,20 +120710,15 @@ export namespace Prisma {
120674
120710
  none?: ListToSocialPostWhereInput
120675
120711
  }
120676
120712
 
120677
- export type PublicSocialPostListRelationFilter = {
120678
- every?: PublicSocialPostWhereInput
120679
- some?: PublicSocialPostWhereInput
120680
- none?: PublicSocialPostWhereInput
120713
+ export type PublicSocialPostNullableRelationFilter = {
120714
+ is?: PublicSocialPostWhereInput | null
120715
+ isNot?: PublicSocialPostWhereInput | null
120681
120716
  }
120682
120717
 
120683
120718
  export type ListToSocialPostOrderByRelationAggregateInput = {
120684
120719
  _count?: SortOrder
120685
120720
  }
120686
120721
 
120687
- export type PublicSocialPostOrderByRelationAggregateInput = {
120688
- _count?: SortOrder
120689
- }
120690
-
120691
120722
  export type SocialPostOrderByRelevanceInput = {
120692
120723
  fields: SocialPostOrderByRelevanceFieldEnum | SocialPostOrderByRelevanceFieldEnum[]
120693
120724
  sort: SortOrder
@@ -120853,6 +120884,8 @@ export namespace Prisma {
120853
120884
  export type PublicSocialPostCountOrderByAggregateInput = {
120854
120885
  id?: SortOrder
120855
120886
  socialPostId?: SortOrder
120887
+ lastFetched?: SortOrder
120888
+ posted?: SortOrder
120856
120889
  views?: SortOrder
120857
120890
  likes?: SortOrder
120858
120891
  comments?: SortOrder
@@ -120873,6 +120906,8 @@ export namespace Prisma {
120873
120906
  export type PublicSocialPostMaxOrderByAggregateInput = {
120874
120907
  id?: SortOrder
120875
120908
  socialPostId?: SortOrder
120909
+ lastFetched?: SortOrder
120910
+ posted?: SortOrder
120876
120911
  views?: SortOrder
120877
120912
  likes?: SortOrder
120878
120913
  comments?: SortOrder
@@ -120883,6 +120918,8 @@ export namespace Prisma {
120883
120918
  export type PublicSocialPostMinOrderByAggregateInput = {
120884
120919
  id?: SortOrder
120885
120920
  socialPostId?: SortOrder
120921
+ lastFetched?: SortOrder
120922
+ posted?: SortOrder
120886
120923
  views?: SortOrder
120887
120924
  likes?: SortOrder
120888
120925
  comments?: SortOrder
@@ -128569,11 +128606,10 @@ export namespace Prisma {
128569
128606
  connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
128570
128607
  }
128571
128608
 
128572
- export type PublicSocialPostCreateNestedManyWithoutSocialPostInput = {
128573
- create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
128574
- connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
128575
- createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
128576
- connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128609
+ export type PublicSocialPostCreateNestedOneWithoutSocialPostInput = {
128610
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
128611
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
128612
+ connect?: PublicSocialPostWhereUniqueInput
128577
128613
  }
128578
128614
 
128579
128615
  export type ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
@@ -128590,11 +128626,10 @@ export namespace Prisma {
128590
128626
  connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
128591
128627
  }
128592
128628
 
128593
- export type PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
128594
- create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
128595
- connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
128596
- createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
128597
- connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128629
+ export type PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput = {
128630
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
128631
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
128632
+ connect?: PublicSocialPostWhereUniqueInput
128598
128633
  }
128599
128634
 
128600
128635
  export type UserUpdateOneWithoutSocialPostsNestedInput = {
@@ -128645,18 +128680,14 @@ export namespace Prisma {
128645
128680
  deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
128646
128681
  }
128647
128682
 
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[]
128683
+ export type PublicSocialPostUpdateOneWithoutSocialPostNestedInput = {
128684
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
128685
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
128686
+ upsert?: PublicSocialPostUpsertWithoutSocialPostInput
128687
+ disconnect?: PublicSocialPostWhereInput | boolean
128688
+ delete?: PublicSocialPostWhereInput | boolean
128689
+ connect?: PublicSocialPostWhereUniqueInput
128690
+ update?: XOR<XOR<PublicSocialPostUpdateToOneWithWhereWithoutSocialPostInput, PublicSocialPostUpdateWithoutSocialPostInput>, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
128660
128691
  }
128661
128692
 
128662
128693
  export type ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput = {
@@ -128687,32 +128718,28 @@ export namespace Prisma {
128687
128718
  deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
128688
128719
  }
128689
128720
 
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[]
128721
+ export type PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput = {
128722
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
128723
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
128724
+ upsert?: PublicSocialPostUpsertWithoutSocialPostInput
128725
+ disconnect?: PublicSocialPostWhereInput | boolean
128726
+ delete?: PublicSocialPostWhereInput | boolean
128727
+ connect?: PublicSocialPostWhereUniqueInput
128728
+ update?: XOR<XOR<PublicSocialPostUpdateToOneWithWhereWithoutSocialPostInput, PublicSocialPostUpdateWithoutSocialPostInput>, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
128702
128729
  }
128703
128730
 
128704
- export type SocialPostCreateNestedOneWithoutPublicPostsInput = {
128705
- create?: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
128706
- connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostsInput
128731
+ export type SocialPostCreateNestedOneWithoutPublicPostInput = {
128732
+ create?: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
128733
+ connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostInput
128707
128734
  connect?: SocialPostWhereUniqueInput
128708
128735
  }
128709
128736
 
128710
- export type SocialPostUpdateOneRequiredWithoutPublicPostsNestedInput = {
128711
- create?: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
128712
- connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostsInput
128713
- upsert?: SocialPostUpsertWithoutPublicPostsInput
128737
+ export type SocialPostUpdateOneRequiredWithoutPublicPostNestedInput = {
128738
+ create?: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
128739
+ connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostInput
128740
+ upsert?: SocialPostUpsertWithoutPublicPostInput
128714
128741
  connect?: SocialPostWhereUniqueInput
128715
- update?: XOR<XOR<SocialPostUpdateToOneWithWhereWithoutPublicPostsInput, SocialPostUpdateWithoutPublicPostsInput>, SocialPostUncheckedUpdateWithoutPublicPostsInput>
128742
+ update?: XOR<XOR<SocialPostUpdateToOneWithWhereWithoutPublicPostInput, SocialPostUpdateWithoutPublicPostInput>, SocialPostUncheckedUpdateWithoutPublicPostInput>
128716
128743
  }
128717
128744
 
128718
128745
  export type CampaignCreateNestedOneWithoutLinkedPostsInput = {
@@ -132277,7 +132304,7 @@ export namespace Prisma {
132277
132304
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
132278
132305
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
132279
132306
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
132280
- publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
132307
+ publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
132281
132308
  }
132282
132309
 
132283
132310
  export type SocialPostUncheckedCreateWithoutUserInput = {
@@ -132315,7 +132342,7 @@ export namespace Prisma {
132315
132342
  campaignId?: number | null
132316
132343
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
132317
132344
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
132318
- publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
132345
+ publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
132319
132346
  }
132320
132347
 
132321
132348
  export type SocialPostCreateOrConnectWithoutUserInput = {
@@ -141290,7 +141317,7 @@ export namespace Prisma {
141290
141317
  user?: UserCreateNestedOneWithoutSocialPostsInput
141291
141318
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
141292
141319
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
141293
- publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
141320
+ publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
141294
141321
  }
141295
141322
 
141296
141323
  export type SocialPostUncheckedCreateWithoutCampaignInput = {
@@ -141328,7 +141355,7 @@ export namespace Prisma {
141328
141355
  userId?: number | null
141329
141356
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
141330
141357
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
141331
- publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
141358
+ publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
141332
141359
  }
141333
141360
 
141334
141361
  export type SocialPostCreateOrConnectWithoutCampaignInput = {
@@ -148227,6 +148254,8 @@ export namespace Prisma {
148227
148254
  }
148228
148255
 
148229
148256
  export type PublicSocialPostCreateWithoutSocialPostInput = {
148257
+ lastFetched?: Date | string | null
148258
+ posted?: Date | string | null
148230
148259
  views?: number | null
148231
148260
  likes?: number | null
148232
148261
  comments?: number | null
@@ -148236,6 +148265,8 @@ export namespace Prisma {
148236
148265
 
148237
148266
  export type PublicSocialPostUncheckedCreateWithoutSocialPostInput = {
148238
148267
  id?: number
148268
+ lastFetched?: Date | string | null
148269
+ posted?: Date | string | null
148239
148270
  views?: number | null
148240
148271
  likes?: number | null
148241
148272
  comments?: number | null
@@ -148248,11 +148279,6 @@ export namespace Prisma {
148248
148279
  create: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
148249
148280
  }
148250
148281
 
148251
- export type PublicSocialPostCreateManySocialPostInputEnvelope = {
148252
- data: PublicSocialPostCreateManySocialPostInput | PublicSocialPostCreateManySocialPostInput[]
148253
- skipDuplicates?: boolean
148254
- }
148255
-
148256
148282
  export type UserUpsertWithoutSocialPostsInput = {
148257
148283
  update: XOR<UserUpdateWithoutSocialPostsInput, UserUncheckedUpdateWithoutSocialPostsInput>
148258
148284
  create: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
@@ -148566,36 +148592,39 @@ export namespace Prisma {
148566
148592
  data: XOR<CampaignToSocialPostUpdateManyMutationInput, CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostInput>
148567
148593
  }
148568
148594
 
148569
- export type PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput = {
148570
- where: PublicSocialPostWhereUniqueInput
148595
+ export type PublicSocialPostUpsertWithoutSocialPostInput = {
148571
148596
  update: XOR<PublicSocialPostUpdateWithoutSocialPostInput, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
148572
148597
  create: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
148598
+ where?: PublicSocialPostWhereInput
148573
148599
  }
148574
148600
 
148575
- export type PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput = {
148576
- where: PublicSocialPostWhereUniqueInput
148601
+ export type PublicSocialPostUpdateToOneWithWhereWithoutSocialPostInput = {
148602
+ where?: PublicSocialPostWhereInput
148577
148603
  data: XOR<PublicSocialPostUpdateWithoutSocialPostInput, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
148578
148604
  }
148579
148605
 
148580
- export type PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput = {
148581
- where: PublicSocialPostScalarWhereInput
148582
- data: XOR<PublicSocialPostUpdateManyMutationInput, PublicSocialPostUncheckedUpdateManyWithoutSocialPostInput>
148606
+ export type PublicSocialPostUpdateWithoutSocialPostInput = {
148607
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
148608
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
148609
+ views?: NullableIntFieldUpdateOperationsInput | number | null
148610
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
148611
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
148612
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
148613
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
148583
148614
  }
148584
148615
 
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
148616
+ export type PublicSocialPostUncheckedUpdateWithoutSocialPostInput = {
148617
+ id?: IntFieldUpdateOperationsInput | number
148618
+ lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
148619
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
148620
+ views?: NullableIntFieldUpdateOperationsInput | number | null
148621
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
148622
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
148623
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
148624
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
148596
148625
  }
148597
148626
 
148598
- export type SocialPostCreateWithoutPublicPostsInput = {
148627
+ export type SocialPostCreateWithoutPublicPostInput = {
148599
148628
  externalId: string
148600
148629
  phylloId?: string | null
148601
148630
  metaData?: JsonNullValueInput | InputJsonValue
@@ -148632,7 +148661,7 @@ export namespace Prisma {
148632
148661
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
148633
148662
  }
148634
148663
 
148635
- export type SocialPostUncheckedCreateWithoutPublicPostsInput = {
148664
+ export type SocialPostUncheckedCreateWithoutPublicPostInput = {
148636
148665
  id?: number
148637
148666
  externalId: string
148638
148667
  phylloId?: string | null
@@ -148670,23 +148699,23 @@ export namespace Prisma {
148670
148699
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
148671
148700
  }
148672
148701
 
148673
- export type SocialPostCreateOrConnectWithoutPublicPostsInput = {
148702
+ export type SocialPostCreateOrConnectWithoutPublicPostInput = {
148674
148703
  where: SocialPostWhereUniqueInput
148675
- create: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
148704
+ create: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
148676
148705
  }
148677
148706
 
148678
- export type SocialPostUpsertWithoutPublicPostsInput = {
148679
- update: XOR<SocialPostUpdateWithoutPublicPostsInput, SocialPostUncheckedUpdateWithoutPublicPostsInput>
148680
- create: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
148707
+ export type SocialPostUpsertWithoutPublicPostInput = {
148708
+ update: XOR<SocialPostUpdateWithoutPublicPostInput, SocialPostUncheckedUpdateWithoutPublicPostInput>
148709
+ create: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
148681
148710
  where?: SocialPostWhereInput
148682
148711
  }
148683
148712
 
148684
- export type SocialPostUpdateToOneWithWhereWithoutPublicPostsInput = {
148713
+ export type SocialPostUpdateToOneWithWhereWithoutPublicPostInput = {
148685
148714
  where?: SocialPostWhereInput
148686
- data: XOR<SocialPostUpdateWithoutPublicPostsInput, SocialPostUncheckedUpdateWithoutPublicPostsInput>
148715
+ data: XOR<SocialPostUpdateWithoutPublicPostInput, SocialPostUncheckedUpdateWithoutPublicPostInput>
148687
148716
  }
148688
148717
 
148689
- export type SocialPostUpdateWithoutPublicPostsInput = {
148718
+ export type SocialPostUpdateWithoutPublicPostInput = {
148690
148719
  externalId?: StringFieldUpdateOperationsInput | string
148691
148720
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
148692
148721
  metaData?: JsonNullValueInput | InputJsonValue
@@ -148723,7 +148752,7 @@ export namespace Prisma {
148723
148752
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
148724
148753
  }
148725
148754
 
148726
- export type SocialPostUncheckedUpdateWithoutPublicPostsInput = {
148755
+ export type SocialPostUncheckedUpdateWithoutPublicPostInput = {
148727
148756
  id?: IntFieldUpdateOperationsInput | number
148728
148757
  externalId?: StringFieldUpdateOperationsInput | string
148729
148758
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
@@ -148943,7 +148972,7 @@ export namespace Prisma {
148943
148972
  user?: UserCreateNestedOneWithoutSocialPostsInput
148944
148973
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
148945
148974
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
148946
- publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
148975
+ publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
148947
148976
  }
148948
148977
 
148949
148978
  export type SocialPostUncheckedCreateWithoutCampaignsInput = {
@@ -148981,7 +149010,7 @@ export namespace Prisma {
148981
149010
  userId?: number | null
148982
149011
  campaignId?: number | null
148983
149012
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
148984
- publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
149013
+ publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
148985
149014
  }
148986
149015
 
148987
149016
  export type SocialPostCreateOrConnectWithoutCampaignsInput = {
@@ -149188,7 +149217,7 @@ export namespace Prisma {
149188
149217
  user?: UserUpdateOneWithoutSocialPostsNestedInput
149189
149218
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
149190
149219
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
149191
- publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
149220
+ publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
149192
149221
  }
149193
149222
 
149194
149223
  export type SocialPostUncheckedUpdateWithoutCampaignsInput = {
@@ -149226,7 +149255,7 @@ export namespace Prisma {
149226
149255
  userId?: NullableIntFieldUpdateOperationsInput | number | null
149227
149256
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
149228
149257
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
149229
- publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
149258
+ publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
149230
149259
  }
149231
149260
 
149232
149261
  export type CampaignToImageCreateWithoutSizesInput = {
@@ -155087,7 +155116,7 @@ export namespace Prisma {
155087
155116
  user?: UserCreateNestedOneWithoutSocialPostsInput
155088
155117
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
155089
155118
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
155090
- publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
155119
+ publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
155091
155120
  }
155092
155121
 
155093
155122
  export type SocialPostUncheckedCreateWithoutListsInput = {
@@ -155125,7 +155154,7 @@ export namespace Prisma {
155125
155154
  userId?: number | null
155126
155155
  campaignId?: number | null
155127
155156
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
155128
- publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
155157
+ publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
155129
155158
  }
155130
155159
 
155131
155160
  export type SocialPostCreateOrConnectWithoutListsInput = {
@@ -155212,7 +155241,7 @@ export namespace Prisma {
155212
155241
  user?: UserUpdateOneWithoutSocialPostsNestedInput
155213
155242
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
155214
155243
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
155215
- publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
155244
+ publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
155216
155245
  }
155217
155246
 
155218
155247
  export type SocialPostUncheckedUpdateWithoutListsInput = {
@@ -155250,7 +155279,7 @@ export namespace Prisma {
155250
155279
  userId?: NullableIntFieldUpdateOperationsInput | number | null
155251
155280
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
155252
155281
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
155253
- publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
155282
+ publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
155254
155283
  }
155255
155284
 
155256
155285
  export type CampaignCreateWithoutOptInViewsInput = {
@@ -162811,7 +162840,7 @@ export namespace Prisma {
162811
162840
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
162812
162841
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
162813
162842
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
162814
- publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
162843
+ publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
162815
162844
  }
162816
162845
 
162817
162846
  export type SocialPostUncheckedUpdateWithoutUserInput = {
@@ -162849,7 +162878,7 @@ export namespace Prisma {
162849
162878
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
162850
162879
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
162851
162880
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
162852
- publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
162881
+ publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
162853
162882
  }
162854
162883
 
162855
162884
  export type SocialPostUncheckedUpdateManyWithoutUserInput = {
@@ -165252,7 +165281,7 @@ export namespace Prisma {
165252
165281
  user?: UserUpdateOneWithoutSocialPostsNestedInput
165253
165282
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
165254
165283
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
165255
- publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
165284
+ publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
165256
165285
  }
165257
165286
 
165258
165287
  export type SocialPostUncheckedUpdateWithoutCampaignInput = {
@@ -165290,7 +165319,7 @@ export namespace Prisma {
165290
165319
  userId?: NullableIntFieldUpdateOperationsInput | number | null
165291
165320
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
165292
165321
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
165293
- publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
165322
+ publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
165294
165323
  }
165295
165324
 
165296
165325
  export type SocialPostUncheckedUpdateManyWithoutCampaignInput = {
@@ -166325,15 +166354,6 @@ export namespace Prisma {
166325
166354
  metaData?: JsonNullValueInput | InputJsonValue
166326
166355
  }
166327
166356
 
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
-
166337
166357
  export type ListToSocialPostUpdateWithoutSocialPostInput = {
166338
166358
  list?: SocialListeningListUpdateOneRequiredWithoutPostsNestedInput
166339
166359
  }
@@ -166369,32 +166389,6 @@ export namespace Prisma {
166369
166389
  metaData?: JsonNullValueInput | InputJsonValue
166370
166390
  }
166371
166391
 
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
-
166398
166392
  export type StateCreateManyCountryInput = {
166399
166393
  id?: number
166400
166394
  stateCode: string