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

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
  /**
@@ -106787,7 +106773,7 @@ export namespace Prisma {
106787
106773
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
106788
106774
  lists?: ListToSocialPostListRelationFilter
106789
106775
  campaigns?: CampaignToSocialPostListRelationFilter
106790
- publicPosts?: PublicSocialPostListRelationFilter
106776
+ publicPost?: XOR<PublicSocialPostNullableRelationFilter, PublicSocialPostWhereInput> | null
106791
106777
  }
106792
106778
 
106793
106779
  export type SocialPostOrderByWithRelationAndSearchRelevanceInput = {
@@ -106828,7 +106814,7 @@ export namespace Prisma {
106828
106814
  campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
106829
106815
  lists?: ListToSocialPostOrderByRelationAggregateInput
106830
106816
  campaigns?: CampaignToSocialPostOrderByRelationAggregateInput
106831
- publicPosts?: PublicSocialPostOrderByRelationAggregateInput
106817
+ publicPost?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput
106832
106818
  _relevance?: SocialPostOrderByRelevanceInput
106833
106819
  }
106834
106820
 
@@ -106874,7 +106860,7 @@ export namespace Prisma {
106874
106860
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
106875
106861
  lists?: ListToSocialPostListRelationFilter
106876
106862
  campaigns?: CampaignToSocialPostListRelationFilter
106877
- publicPosts?: PublicSocialPostListRelationFilter
106863
+ publicPost?: XOR<PublicSocialPostNullableRelationFilter, PublicSocialPostWhereInput> | null
106878
106864
  }, "id" | "phylloId" | "platform_externalId">
106879
106865
 
106880
106866
  export type SocialPostOrderByWithAggregationInput = {
@@ -113961,7 +113947,7 @@ export namespace Prisma {
113961
113947
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
113962
113948
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
113963
113949
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
113964
- publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
113950
+ publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
113965
113951
  }
113966
113952
 
113967
113953
  export type SocialPostUncheckedCreateInput = {
@@ -114000,7 +113986,7 @@ export namespace Prisma {
114000
113986
  campaignId?: number | null
114001
113987
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
114002
113988
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
114003
- publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
113989
+ publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
114004
113990
  }
114005
113991
 
114006
113992
  export type SocialPostUpdateInput = {
@@ -114038,7 +114024,7 @@ export namespace Prisma {
114038
114024
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
114039
114025
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
114040
114026
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
114041
- publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
114027
+ publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
114042
114028
  }
114043
114029
 
114044
114030
  export type SocialPostUncheckedUpdateInput = {
@@ -114077,7 +114063,7 @@ export namespace Prisma {
114077
114063
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
114078
114064
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
114079
114065
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
114080
- publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
114066
+ publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
114081
114067
  }
114082
114068
 
114083
114069
  export type SocialPostCreateManyInput = {
@@ -114191,7 +114177,7 @@ export namespace Prisma {
114191
114177
  comments?: number | null
114192
114178
  saves?: number | null
114193
114179
  shares?: number | null
114194
- socialPost: SocialPostCreateNestedOneWithoutPublicPostsInput
114180
+ socialPost: SocialPostCreateNestedOneWithoutPublicPostInput
114195
114181
  }
114196
114182
 
114197
114183
  export type PublicSocialPostUncheckedCreateInput = {
@@ -114210,7 +114196,7 @@ export namespace Prisma {
114210
114196
  comments?: NullableIntFieldUpdateOperationsInput | number | null
114211
114197
  saves?: NullableIntFieldUpdateOperationsInput | number | null
114212
114198
  shares?: NullableIntFieldUpdateOperationsInput | number | null
114213
- socialPost?: SocialPostUpdateOneRequiredWithoutPublicPostsNestedInput
114199
+ socialPost?: SocialPostUpdateOneRequiredWithoutPublicPostNestedInput
114214
114200
  }
114215
114201
 
114216
114202
  export type PublicSocialPostUncheckedUpdateInput = {
@@ -120674,20 +120660,15 @@ export namespace Prisma {
120674
120660
  none?: ListToSocialPostWhereInput
120675
120661
  }
120676
120662
 
120677
- export type PublicSocialPostListRelationFilter = {
120678
- every?: PublicSocialPostWhereInput
120679
- some?: PublicSocialPostWhereInput
120680
- none?: PublicSocialPostWhereInput
120663
+ export type PublicSocialPostNullableRelationFilter = {
120664
+ is?: PublicSocialPostWhereInput | null
120665
+ isNot?: PublicSocialPostWhereInput | null
120681
120666
  }
120682
120667
 
120683
120668
  export type ListToSocialPostOrderByRelationAggregateInput = {
120684
120669
  _count?: SortOrder
120685
120670
  }
120686
120671
 
120687
- export type PublicSocialPostOrderByRelationAggregateInput = {
120688
- _count?: SortOrder
120689
- }
120690
-
120691
120672
  export type SocialPostOrderByRelevanceInput = {
120692
120673
  fields: SocialPostOrderByRelevanceFieldEnum | SocialPostOrderByRelevanceFieldEnum[]
120693
120674
  sort: SortOrder
@@ -128569,11 +128550,10 @@ export namespace Prisma {
128569
128550
  connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
128570
128551
  }
128571
128552
 
128572
- export type PublicSocialPostCreateNestedManyWithoutSocialPostInput = {
128573
- create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
128574
- connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
128575
- createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
128576
- connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128553
+ export type PublicSocialPostCreateNestedOneWithoutSocialPostInput = {
128554
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
128555
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
128556
+ connect?: PublicSocialPostWhereUniqueInput
128577
128557
  }
128578
128558
 
128579
128559
  export type ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
@@ -128590,11 +128570,10 @@ export namespace Prisma {
128590
128570
  connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
128591
128571
  }
128592
128572
 
128593
- export type PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
128594
- create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput> | PublicSocialPostCreateWithoutSocialPostInput[] | PublicSocialPostUncheckedCreateWithoutSocialPostInput[]
128595
- connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput | PublicSocialPostCreateOrConnectWithoutSocialPostInput[]
128596
- createMany?: PublicSocialPostCreateManySocialPostInputEnvelope
128597
- connect?: PublicSocialPostWhereUniqueInput | PublicSocialPostWhereUniqueInput[]
128573
+ export type PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput = {
128574
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
128575
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
128576
+ connect?: PublicSocialPostWhereUniqueInput
128598
128577
  }
128599
128578
 
128600
128579
  export type UserUpdateOneWithoutSocialPostsNestedInput = {
@@ -128645,18 +128624,14 @@ export namespace Prisma {
128645
128624
  deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
128646
128625
  }
128647
128626
 
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[]
128627
+ export type PublicSocialPostUpdateOneWithoutSocialPostNestedInput = {
128628
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
128629
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
128630
+ upsert?: PublicSocialPostUpsertWithoutSocialPostInput
128631
+ disconnect?: PublicSocialPostWhereInput | boolean
128632
+ delete?: PublicSocialPostWhereInput | boolean
128633
+ connect?: PublicSocialPostWhereUniqueInput
128634
+ update?: XOR<XOR<PublicSocialPostUpdateToOneWithWhereWithoutSocialPostInput, PublicSocialPostUpdateWithoutSocialPostInput>, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
128660
128635
  }
128661
128636
 
128662
128637
  export type ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput = {
@@ -128687,32 +128662,28 @@ export namespace Prisma {
128687
128662
  deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
128688
128663
  }
128689
128664
 
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[]
128665
+ export type PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput = {
128666
+ create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
128667
+ connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
128668
+ upsert?: PublicSocialPostUpsertWithoutSocialPostInput
128669
+ disconnect?: PublicSocialPostWhereInput | boolean
128670
+ delete?: PublicSocialPostWhereInput | boolean
128671
+ connect?: PublicSocialPostWhereUniqueInput
128672
+ update?: XOR<XOR<PublicSocialPostUpdateToOneWithWhereWithoutSocialPostInput, PublicSocialPostUpdateWithoutSocialPostInput>, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
128702
128673
  }
128703
128674
 
128704
- export type SocialPostCreateNestedOneWithoutPublicPostsInput = {
128705
- create?: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
128706
- connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostsInput
128675
+ export type SocialPostCreateNestedOneWithoutPublicPostInput = {
128676
+ create?: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
128677
+ connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostInput
128707
128678
  connect?: SocialPostWhereUniqueInput
128708
128679
  }
128709
128680
 
128710
- export type SocialPostUpdateOneRequiredWithoutPublicPostsNestedInput = {
128711
- create?: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
128712
- connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostsInput
128713
- upsert?: SocialPostUpsertWithoutPublicPostsInput
128681
+ export type SocialPostUpdateOneRequiredWithoutPublicPostNestedInput = {
128682
+ create?: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
128683
+ connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostInput
128684
+ upsert?: SocialPostUpsertWithoutPublicPostInput
128714
128685
  connect?: SocialPostWhereUniqueInput
128715
- update?: XOR<XOR<SocialPostUpdateToOneWithWhereWithoutPublicPostsInput, SocialPostUpdateWithoutPublicPostsInput>, SocialPostUncheckedUpdateWithoutPublicPostsInput>
128686
+ update?: XOR<XOR<SocialPostUpdateToOneWithWhereWithoutPublicPostInput, SocialPostUpdateWithoutPublicPostInput>, SocialPostUncheckedUpdateWithoutPublicPostInput>
128716
128687
  }
128717
128688
 
128718
128689
  export type CampaignCreateNestedOneWithoutLinkedPostsInput = {
@@ -132277,7 +132248,7 @@ export namespace Prisma {
132277
132248
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
132278
132249
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
132279
132250
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
132280
- publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
132251
+ publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
132281
132252
  }
132282
132253
 
132283
132254
  export type SocialPostUncheckedCreateWithoutUserInput = {
@@ -132315,7 +132286,7 @@ export namespace Prisma {
132315
132286
  campaignId?: number | null
132316
132287
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
132317
132288
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
132318
- publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
132289
+ publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
132319
132290
  }
132320
132291
 
132321
132292
  export type SocialPostCreateOrConnectWithoutUserInput = {
@@ -141290,7 +141261,7 @@ export namespace Prisma {
141290
141261
  user?: UserCreateNestedOneWithoutSocialPostsInput
141291
141262
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
141292
141263
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
141293
- publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
141264
+ publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
141294
141265
  }
141295
141266
 
141296
141267
  export type SocialPostUncheckedCreateWithoutCampaignInput = {
@@ -141328,7 +141299,7 @@ export namespace Prisma {
141328
141299
  userId?: number | null
141329
141300
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
141330
141301
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
141331
- publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
141302
+ publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
141332
141303
  }
141333
141304
 
141334
141305
  export type SocialPostCreateOrConnectWithoutCampaignInput = {
@@ -148248,11 +148219,6 @@ export namespace Prisma {
148248
148219
  create: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
148249
148220
  }
148250
148221
 
148251
- export type PublicSocialPostCreateManySocialPostInputEnvelope = {
148252
- data: PublicSocialPostCreateManySocialPostInput | PublicSocialPostCreateManySocialPostInput[]
148253
- skipDuplicates?: boolean
148254
- }
148255
-
148256
148222
  export type UserUpsertWithoutSocialPostsInput = {
148257
148223
  update: XOR<UserUpdateWithoutSocialPostsInput, UserUncheckedUpdateWithoutSocialPostsInput>
148258
148224
  create: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
@@ -148566,36 +148532,35 @@ export namespace Prisma {
148566
148532
  data: XOR<CampaignToSocialPostUpdateManyMutationInput, CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostInput>
148567
148533
  }
148568
148534
 
148569
- export type PublicSocialPostUpsertWithWhereUniqueWithoutSocialPostInput = {
148570
- where: PublicSocialPostWhereUniqueInput
148535
+ export type PublicSocialPostUpsertWithoutSocialPostInput = {
148571
148536
  update: XOR<PublicSocialPostUpdateWithoutSocialPostInput, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
148572
148537
  create: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
148538
+ where?: PublicSocialPostWhereInput
148573
148539
  }
148574
148540
 
148575
- export type PublicSocialPostUpdateWithWhereUniqueWithoutSocialPostInput = {
148576
- where: PublicSocialPostWhereUniqueInput
148541
+ export type PublicSocialPostUpdateToOneWithWhereWithoutSocialPostInput = {
148542
+ where?: PublicSocialPostWhereInput
148577
148543
  data: XOR<PublicSocialPostUpdateWithoutSocialPostInput, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
148578
148544
  }
148579
148545
 
148580
- export type PublicSocialPostUpdateManyWithWhereWithoutSocialPostInput = {
148581
- where: PublicSocialPostScalarWhereInput
148582
- data: XOR<PublicSocialPostUpdateManyMutationInput, PublicSocialPostUncheckedUpdateManyWithoutSocialPostInput>
148546
+ export type PublicSocialPostUpdateWithoutSocialPostInput = {
148547
+ views?: NullableIntFieldUpdateOperationsInput | number | null
148548
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
148549
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
148550
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
148551
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
148583
148552
  }
148584
148553
 
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
148554
+ export type PublicSocialPostUncheckedUpdateWithoutSocialPostInput = {
148555
+ id?: IntFieldUpdateOperationsInput | number
148556
+ views?: NullableIntFieldUpdateOperationsInput | number | null
148557
+ likes?: NullableIntFieldUpdateOperationsInput | number | null
148558
+ comments?: NullableIntFieldUpdateOperationsInput | number | null
148559
+ saves?: NullableIntFieldUpdateOperationsInput | number | null
148560
+ shares?: NullableIntFieldUpdateOperationsInput | number | null
148596
148561
  }
148597
148562
 
148598
- export type SocialPostCreateWithoutPublicPostsInput = {
148563
+ export type SocialPostCreateWithoutPublicPostInput = {
148599
148564
  externalId: string
148600
148565
  phylloId?: string | null
148601
148566
  metaData?: JsonNullValueInput | InputJsonValue
@@ -148632,7 +148597,7 @@ export namespace Prisma {
148632
148597
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
148633
148598
  }
148634
148599
 
148635
- export type SocialPostUncheckedCreateWithoutPublicPostsInput = {
148600
+ export type SocialPostUncheckedCreateWithoutPublicPostInput = {
148636
148601
  id?: number
148637
148602
  externalId: string
148638
148603
  phylloId?: string | null
@@ -148670,23 +148635,23 @@ export namespace Prisma {
148670
148635
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
148671
148636
  }
148672
148637
 
148673
- export type SocialPostCreateOrConnectWithoutPublicPostsInput = {
148638
+ export type SocialPostCreateOrConnectWithoutPublicPostInput = {
148674
148639
  where: SocialPostWhereUniqueInput
148675
- create: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
148640
+ create: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
148676
148641
  }
148677
148642
 
148678
- export type SocialPostUpsertWithoutPublicPostsInput = {
148679
- update: XOR<SocialPostUpdateWithoutPublicPostsInput, SocialPostUncheckedUpdateWithoutPublicPostsInput>
148680
- create: XOR<SocialPostCreateWithoutPublicPostsInput, SocialPostUncheckedCreateWithoutPublicPostsInput>
148643
+ export type SocialPostUpsertWithoutPublicPostInput = {
148644
+ update: XOR<SocialPostUpdateWithoutPublicPostInput, SocialPostUncheckedUpdateWithoutPublicPostInput>
148645
+ create: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
148681
148646
  where?: SocialPostWhereInput
148682
148647
  }
148683
148648
 
148684
- export type SocialPostUpdateToOneWithWhereWithoutPublicPostsInput = {
148649
+ export type SocialPostUpdateToOneWithWhereWithoutPublicPostInput = {
148685
148650
  where?: SocialPostWhereInput
148686
- data: XOR<SocialPostUpdateWithoutPublicPostsInput, SocialPostUncheckedUpdateWithoutPublicPostsInput>
148651
+ data: XOR<SocialPostUpdateWithoutPublicPostInput, SocialPostUncheckedUpdateWithoutPublicPostInput>
148687
148652
  }
148688
148653
 
148689
- export type SocialPostUpdateWithoutPublicPostsInput = {
148654
+ export type SocialPostUpdateWithoutPublicPostInput = {
148690
148655
  externalId?: StringFieldUpdateOperationsInput | string
148691
148656
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
148692
148657
  metaData?: JsonNullValueInput | InputJsonValue
@@ -148723,7 +148688,7 @@ export namespace Prisma {
148723
148688
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
148724
148689
  }
148725
148690
 
148726
- export type SocialPostUncheckedUpdateWithoutPublicPostsInput = {
148691
+ export type SocialPostUncheckedUpdateWithoutPublicPostInput = {
148727
148692
  id?: IntFieldUpdateOperationsInput | number
148728
148693
  externalId?: StringFieldUpdateOperationsInput | string
148729
148694
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
@@ -148943,7 +148908,7 @@ export namespace Prisma {
148943
148908
  user?: UserCreateNestedOneWithoutSocialPostsInput
148944
148909
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
148945
148910
  lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
148946
- publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
148911
+ publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
148947
148912
  }
148948
148913
 
148949
148914
  export type SocialPostUncheckedCreateWithoutCampaignsInput = {
@@ -148981,7 +148946,7 @@ export namespace Prisma {
148981
148946
  userId?: number | null
148982
148947
  campaignId?: number | null
148983
148948
  lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
148984
- publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
148949
+ publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
148985
148950
  }
148986
148951
 
148987
148952
  export type SocialPostCreateOrConnectWithoutCampaignsInput = {
@@ -149188,7 +149153,7 @@ export namespace Prisma {
149188
149153
  user?: UserUpdateOneWithoutSocialPostsNestedInput
149189
149154
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
149190
149155
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
149191
- publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
149156
+ publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
149192
149157
  }
149193
149158
 
149194
149159
  export type SocialPostUncheckedUpdateWithoutCampaignsInput = {
@@ -149226,7 +149191,7 @@ export namespace Prisma {
149226
149191
  userId?: NullableIntFieldUpdateOperationsInput | number | null
149227
149192
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
149228
149193
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
149229
- publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
149194
+ publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
149230
149195
  }
149231
149196
 
149232
149197
  export type CampaignToImageCreateWithoutSizesInput = {
@@ -155087,7 +155052,7 @@ export namespace Prisma {
155087
155052
  user?: UserCreateNestedOneWithoutSocialPostsInput
155088
155053
  campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
155089
155054
  campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
155090
- publicPosts?: PublicSocialPostCreateNestedManyWithoutSocialPostInput
155055
+ publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
155091
155056
  }
155092
155057
 
155093
155058
  export type SocialPostUncheckedCreateWithoutListsInput = {
@@ -155125,7 +155090,7 @@ export namespace Prisma {
155125
155090
  userId?: number | null
155126
155091
  campaignId?: number | null
155127
155092
  campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
155128
- publicPosts?: PublicSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
155093
+ publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
155129
155094
  }
155130
155095
 
155131
155096
  export type SocialPostCreateOrConnectWithoutListsInput = {
@@ -155212,7 +155177,7 @@ export namespace Prisma {
155212
155177
  user?: UserUpdateOneWithoutSocialPostsNestedInput
155213
155178
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
155214
155179
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
155215
- publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
155180
+ publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
155216
155181
  }
155217
155182
 
155218
155183
  export type SocialPostUncheckedUpdateWithoutListsInput = {
@@ -155250,7 +155215,7 @@ export namespace Prisma {
155250
155215
  userId?: NullableIntFieldUpdateOperationsInput | number | null
155251
155216
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
155252
155217
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
155253
- publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
155218
+ publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
155254
155219
  }
155255
155220
 
155256
155221
  export type CampaignCreateWithoutOptInViewsInput = {
@@ -162811,7 +162776,7 @@ export namespace Prisma {
162811
162776
  campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
162812
162777
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
162813
162778
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
162814
- publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
162779
+ publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
162815
162780
  }
162816
162781
 
162817
162782
  export type SocialPostUncheckedUpdateWithoutUserInput = {
@@ -162849,7 +162814,7 @@ export namespace Prisma {
162849
162814
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
162850
162815
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
162851
162816
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
162852
- publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
162817
+ publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
162853
162818
  }
162854
162819
 
162855
162820
  export type SocialPostUncheckedUpdateManyWithoutUserInput = {
@@ -165252,7 +165217,7 @@ export namespace Prisma {
165252
165217
  user?: UserUpdateOneWithoutSocialPostsNestedInput
165253
165218
  lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
165254
165219
  campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
165255
- publicPosts?: PublicSocialPostUpdateManyWithoutSocialPostNestedInput
165220
+ publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
165256
165221
  }
165257
165222
 
165258
165223
  export type SocialPostUncheckedUpdateWithoutCampaignInput = {
@@ -165290,7 +165255,7 @@ export namespace Prisma {
165290
165255
  userId?: NullableIntFieldUpdateOperationsInput | number | null
165291
165256
  lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
165292
165257
  campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
165293
- publicPosts?: PublicSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
165258
+ publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
165294
165259
  }
165295
165260
 
165296
165261
  export type SocialPostUncheckedUpdateManyWithoutCampaignInput = {
@@ -166325,15 +166290,6 @@ export namespace Prisma {
166325
166290
  metaData?: JsonNullValueInput | InputJsonValue
166326
166291
  }
166327
166292
 
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
166293
  export type ListToSocialPostUpdateWithoutSocialPostInput = {
166338
166294
  list?: SocialListeningListUpdateOneRequiredWithoutPostsNestedInput
166339
166295
  }
@@ -166369,32 +166325,6 @@ export namespace Prisma {
166369
166325
  metaData?: JsonNullValueInput | InputJsonValue
166370
166326
  }
166371
166327
 
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
166328
  export type StateCreateManyCountryInput = {
166399
166329
  id?: number
166400
166330
  stateCode: string