@creator.co/creatorco-prisma-client 1.0.25 → 1.0.27-alpha-070bac6

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
@@ -18122,18 +18122,21 @@ export namespace Prisma {
18122
18122
  id: number | null
18123
18123
  userId: number | null
18124
18124
  brandId: number | null
18125
+ agencyPrivileges: boolean | null
18125
18126
  }
18126
18127
 
18127
18128
  export type BrandUserProfileMaxAggregateOutputType = {
18128
18129
  id: number | null
18129
18130
  userId: number | null
18130
18131
  brandId: number | null
18132
+ agencyPrivileges: boolean | null
18131
18133
  }
18132
18134
 
18133
18135
  export type BrandUserProfileCountAggregateOutputType = {
18134
18136
  id: number
18135
18137
  userId: number
18136
18138
  brandId: number
18139
+ agencyPrivileges: number
18137
18140
  _all: number
18138
18141
  }
18139
18142
 
@@ -18154,18 +18157,21 @@ export namespace Prisma {
18154
18157
  id?: true
18155
18158
  userId?: true
18156
18159
  brandId?: true
18160
+ agencyPrivileges?: true
18157
18161
  }
18158
18162
 
18159
18163
  export type BrandUserProfileMaxAggregateInputType = {
18160
18164
  id?: true
18161
18165
  userId?: true
18162
18166
  brandId?: true
18167
+ agencyPrivileges?: true
18163
18168
  }
18164
18169
 
18165
18170
  export type BrandUserProfileCountAggregateInputType = {
18166
18171
  id?: true
18167
18172
  userId?: true
18168
18173
  brandId?: true
18174
+ agencyPrivileges?: true
18169
18175
  _all?: true
18170
18176
  }
18171
18177
 
@@ -18259,6 +18265,7 @@ export namespace Prisma {
18259
18265
  id: number
18260
18266
  userId: number
18261
18267
  brandId: number
18268
+ agencyPrivileges: boolean
18262
18269
  _count: BrandUserProfileCountAggregateOutputType | null
18263
18270
  _avg: BrandUserProfileAvgAggregateOutputType | null
18264
18271
  _sum: BrandUserProfileSumAggregateOutputType | null
@@ -18284,6 +18291,7 @@ export namespace Prisma {
18284
18291
  id?: boolean
18285
18292
  userId?: boolean
18286
18293
  brandId?: boolean
18294
+ agencyPrivileges?: boolean
18287
18295
  user?: boolean | UserDefaultArgs<ExtArgs>
18288
18296
  brand?: boolean | BrandDefaultArgs<ExtArgs>
18289
18297
  }, ExtArgs["result"]["brandUserProfile"]>
@@ -18292,6 +18300,7 @@ export namespace Prisma {
18292
18300
  id?: boolean
18293
18301
  userId?: boolean
18294
18302
  brandId?: boolean
18303
+ agencyPrivileges?: boolean
18295
18304
  }
18296
18305
 
18297
18306
  export type BrandUserProfileInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -18310,6 +18319,7 @@ export namespace Prisma {
18310
18319
  id: number
18311
18320
  userId: number
18312
18321
  brandId: number
18322
+ agencyPrivileges: boolean
18313
18323
  }, ExtArgs["result"]["brandUserProfile"]>
18314
18324
  composites: {}
18315
18325
  }
@@ -18710,6 +18720,7 @@ export namespace Prisma {
18710
18720
  readonly id: FieldRef<"BrandUserProfile", 'Int'>
18711
18721
  readonly userId: FieldRef<"BrandUserProfile", 'Int'>
18712
18722
  readonly brandId: FieldRef<"BrandUserProfile", 'Int'>
18723
+ readonly agencyPrivileges: FieldRef<"BrandUserProfile", 'Boolean'>
18713
18724
  }
18714
18725
 
18715
18726
 
@@ -42581,6 +42592,7 @@ export namespace Prisma {
42581
42592
 
42582
42593
  export type SocialPostAvgAggregateOutputType = {
42583
42594
  id: number | null
42595
+ externalId: number | null
42584
42596
  views: number | null
42585
42597
  impressions: number | null
42586
42598
  impressionsOrganic: number | null
@@ -42600,6 +42612,7 @@ export namespace Prisma {
42600
42612
 
42601
42613
  export type SocialPostSumAggregateOutputType = {
42602
42614
  id: number | null
42615
+ externalId: number | null
42603
42616
  views: number | null
42604
42617
  impressions: number | null
42605
42618
  impressionsOrganic: number | null
@@ -42619,6 +42632,7 @@ export namespace Prisma {
42619
42632
 
42620
42633
  export type SocialPostMinAggregateOutputType = {
42621
42634
  id: number | null
42635
+ externalId: number | null
42622
42636
  phylloId: string | null
42623
42637
  lastFetched: Date | null
42624
42638
  lastWebhook: Date | null
@@ -42653,6 +42667,7 @@ export namespace Prisma {
42653
42667
 
42654
42668
  export type SocialPostMaxAggregateOutputType = {
42655
42669
  id: number | null
42670
+ externalId: number | null
42656
42671
  phylloId: string | null
42657
42672
  lastFetched: Date | null
42658
42673
  lastWebhook: Date | null
@@ -42687,6 +42702,7 @@ export namespace Prisma {
42687
42702
 
42688
42703
  export type SocialPostCountAggregateOutputType = {
42689
42704
  id: number
42705
+ externalId: number
42690
42706
  phylloId: number
42691
42707
  metaData: number
42692
42708
  data: number
@@ -42725,6 +42741,7 @@ export namespace Prisma {
42725
42741
 
42726
42742
  export type SocialPostAvgAggregateInputType = {
42727
42743
  id?: true
42744
+ externalId?: true
42728
42745
  views?: true
42729
42746
  impressions?: true
42730
42747
  impressionsOrganic?: true
@@ -42744,6 +42761,7 @@ export namespace Prisma {
42744
42761
 
42745
42762
  export type SocialPostSumAggregateInputType = {
42746
42763
  id?: true
42764
+ externalId?: true
42747
42765
  views?: true
42748
42766
  impressions?: true
42749
42767
  impressionsOrganic?: true
@@ -42763,6 +42781,7 @@ export namespace Prisma {
42763
42781
 
42764
42782
  export type SocialPostMinAggregateInputType = {
42765
42783
  id?: true
42784
+ externalId?: true
42766
42785
  phylloId?: true
42767
42786
  lastFetched?: true
42768
42787
  lastWebhook?: true
@@ -42797,6 +42816,7 @@ export namespace Prisma {
42797
42816
 
42798
42817
  export type SocialPostMaxAggregateInputType = {
42799
42818
  id?: true
42819
+ externalId?: true
42800
42820
  phylloId?: true
42801
42821
  lastFetched?: true
42802
42822
  lastWebhook?: true
@@ -42831,6 +42851,7 @@ export namespace Prisma {
42831
42851
 
42832
42852
  export type SocialPostCountAggregateInputType = {
42833
42853
  id?: true
42854
+ externalId?: true
42834
42855
  phylloId?: true
42835
42856
  metaData?: true
42836
42857
  data?: true
@@ -42954,6 +42975,7 @@ export namespace Prisma {
42954
42975
 
42955
42976
  export type SocialPostGroupByOutputType = {
42956
42977
  id: number
42978
+ externalId: number | null
42957
42979
  phylloId: string | null
42958
42980
  metaData: JsonValue
42959
42981
  data: JsonValue
@@ -43009,6 +43031,7 @@ export namespace Prisma {
43009
43031
 
43010
43032
  export type SocialPostSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
43011
43033
  id?: boolean
43034
+ externalId?: boolean
43012
43035
  phylloId?: boolean
43013
43036
  metaData?: boolean
43014
43037
  data?: boolean
@@ -43049,6 +43072,7 @@ export namespace Prisma {
43049
43072
 
43050
43073
  export type SocialPostSelectScalar = {
43051
43074
  id?: boolean
43075
+ externalId?: boolean
43052
43076
  phylloId?: boolean
43053
43077
  metaData?: boolean
43054
43078
  data?: boolean
@@ -43100,6 +43124,7 @@ export namespace Prisma {
43100
43124
  }
43101
43125
  scalars: $Extensions.GetPayloadResult<{
43102
43126
  id: number
43127
+ externalId: number | null
43103
43128
  phylloId: string | null
43104
43129
  metaData: Prisma.JsonValue
43105
43130
  data: Prisma.JsonValue
@@ -43532,6 +43557,7 @@ export namespace Prisma {
43532
43557
  */
43533
43558
  interface SocialPostFieldRefs {
43534
43559
  readonly id: FieldRef<"SocialPost", 'Int'>
43560
+ readonly externalId: FieldRef<"SocialPost", 'Int'>
43535
43561
  readonly phylloId: FieldRef<"SocialPost", 'String'>
43536
43562
  readonly metaData: FieldRef<"SocialPost", 'Json'>
43537
43563
  readonly data: FieldRef<"SocialPost", 'Json'>
@@ -57179,6 +57205,7 @@ export namespace Prisma {
57179
57205
  engagement: number | null
57180
57206
  avgViews: number | null
57181
57207
  verified: boolean | null
57208
+ visibility: string | null
57182
57209
  created: Date | null
57183
57210
  updated: Date | null
57184
57211
  }
@@ -57196,6 +57223,7 @@ export namespace Prisma {
57196
57223
  engagement: number | null
57197
57224
  avgViews: number | null
57198
57225
  verified: boolean | null
57226
+ visibility: string | null
57199
57227
  created: Date | null
57200
57228
  updated: Date | null
57201
57229
  }
@@ -57213,6 +57241,7 @@ export namespace Prisma {
57213
57241
  engagement: number
57214
57242
  avgViews: number
57215
57243
  verified: number
57244
+ visibility: number
57216
57245
  metaData: number
57217
57246
  audienceData: number
57218
57247
  phylloData: number
@@ -57251,6 +57280,7 @@ export namespace Prisma {
57251
57280
  engagement?: true
57252
57281
  avgViews?: true
57253
57282
  verified?: true
57283
+ visibility?: true
57254
57284
  created?: true
57255
57285
  updated?: true
57256
57286
  }
@@ -57268,6 +57298,7 @@ export namespace Prisma {
57268
57298
  engagement?: true
57269
57299
  avgViews?: true
57270
57300
  verified?: true
57301
+ visibility?: true
57271
57302
  created?: true
57272
57303
  updated?: true
57273
57304
  }
@@ -57285,6 +57316,7 @@ export namespace Prisma {
57285
57316
  engagement?: true
57286
57317
  avgViews?: true
57287
57318
  verified?: true
57319
+ visibility?: true
57288
57320
  metaData?: true
57289
57321
  audienceData?: true
57290
57322
  phylloData?: true
@@ -57392,6 +57424,7 @@ export namespace Prisma {
57392
57424
  engagement: number | null
57393
57425
  avgViews: number | null
57394
57426
  verified: boolean | null
57427
+ visibility: string
57395
57428
  metaData: JsonValue
57396
57429
  audienceData: JsonValue
57397
57430
  phylloData: JsonValue
@@ -57431,6 +57464,7 @@ export namespace Prisma {
57431
57464
  engagement?: boolean
57432
57465
  avgViews?: boolean
57433
57466
  verified?: boolean
57467
+ visibility?: boolean
57434
57468
  metaData?: boolean
57435
57469
  audienceData?: boolean
57436
57470
  phylloData?: boolean
@@ -57455,6 +57489,7 @@ export namespace Prisma {
57455
57489
  engagement?: boolean
57456
57490
  avgViews?: boolean
57457
57491
  verified?: boolean
57492
+ visibility?: boolean
57458
57493
  metaData?: boolean
57459
57494
  audienceData?: boolean
57460
57495
  phylloData?: boolean
@@ -57490,6 +57525,7 @@ export namespace Prisma {
57490
57525
  engagement: number | null
57491
57526
  avgViews: number | null
57492
57527
  verified: boolean | null
57528
+ visibility: string
57493
57529
  metaData: Prisma.JsonValue
57494
57530
  audienceData: Prisma.JsonValue
57495
57531
  phylloData: Prisma.JsonValue
@@ -57906,6 +57942,7 @@ export namespace Prisma {
57906
57942
  readonly engagement: FieldRef<"SocialProfile", 'Float'>
57907
57943
  readonly avgViews: FieldRef<"SocialProfile", 'Int'>
57908
57944
  readonly verified: FieldRef<"SocialProfile", 'Boolean'>
57945
+ readonly visibility: FieldRef<"SocialProfile", 'String'>
57909
57946
  readonly metaData: FieldRef<"SocialProfile", 'Json'>
57910
57947
  readonly audienceData: FieldRef<"SocialProfile", 'Json'>
57911
57948
  readonly phylloData: FieldRef<"SocialProfile", 'Json'>
@@ -75416,7 +75453,8 @@ export namespace Prisma {
75416
75453
  export const BrandUserProfileScalarFieldEnum: {
75417
75454
  id: 'id',
75418
75455
  userId: 'userId',
75419
- brandId: 'brandId'
75456
+ brandId: 'brandId',
75457
+ agencyPrivileges: 'agencyPrivileges'
75420
75458
  };
75421
75459
 
75422
75460
  export type BrandUserProfileScalarFieldEnum = (typeof BrandUserProfileScalarFieldEnum)[keyof typeof BrandUserProfileScalarFieldEnum]
@@ -75735,6 +75773,7 @@ export namespace Prisma {
75735
75773
 
75736
75774
  export const SocialPostScalarFieldEnum: {
75737
75775
  id: 'id',
75776
+ externalId: 'externalId',
75738
75777
  phylloId: 'phylloId',
75739
75778
  metaData: 'metaData',
75740
75779
  data: 'data',
@@ -75951,6 +75990,7 @@ export namespace Prisma {
75951
75990
  engagement: 'engagement',
75952
75991
  avgViews: 'avgViews',
75953
75992
  verified: 'verified',
75993
+ visibility: 'visibility',
75954
75994
  metaData: 'metaData',
75955
75995
  audienceData: 'audienceData',
75956
75996
  phylloData: 'phylloData',
@@ -76577,7 +76617,8 @@ export namespace Prisma {
76577
76617
  username: 'username',
76578
76618
  fullname: 'fullname',
76579
76619
  profileUrl: 'profileUrl',
76580
- profilePicUrl: 'profilePicUrl'
76620
+ profilePicUrl: 'profilePicUrl',
76621
+ visibility: 'visibility'
76581
76622
  };
76582
76623
 
76583
76624
  export type SocialProfileOrderByRelevanceFieldEnum = (typeof SocialProfileOrderByRelevanceFieldEnum)[keyof typeof SocialProfileOrderByRelevanceFieldEnum]
@@ -77923,6 +77964,7 @@ export namespace Prisma {
77923
77964
  id?: IntFilter<"BrandUserProfile"> | number
77924
77965
  userId?: IntFilter<"BrandUserProfile"> | number
77925
77966
  brandId?: IntFilter<"BrandUserProfile"> | number
77967
+ agencyPrivileges?: BoolFilter<"BrandUserProfile"> | boolean
77926
77968
  user?: XOR<UserRelationFilter, UserWhereInput>
77927
77969
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
77928
77970
  }
@@ -77931,6 +77973,7 @@ export namespace Prisma {
77931
77973
  id?: SortOrder
77932
77974
  userId?: SortOrder
77933
77975
  brandId?: SortOrder
77976
+ agencyPrivileges?: SortOrder
77934
77977
  user?: UserOrderByWithRelationAndSearchRelevanceInput
77935
77978
  brand?: BrandOrderByWithRelationAndSearchRelevanceInput
77936
77979
  }
@@ -77942,6 +77985,7 @@ export namespace Prisma {
77942
77985
  NOT?: BrandUserProfileWhereInput | BrandUserProfileWhereInput[]
77943
77986
  userId?: IntFilter<"BrandUserProfile"> | number
77944
77987
  brandId?: IntFilter<"BrandUserProfile"> | number
77988
+ agencyPrivileges?: BoolFilter<"BrandUserProfile"> | boolean
77945
77989
  user?: XOR<UserRelationFilter, UserWhereInput>
77946
77990
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
77947
77991
  }, "id">
@@ -77950,6 +77994,7 @@ export namespace Prisma {
77950
77994
  id?: SortOrder
77951
77995
  userId?: SortOrder
77952
77996
  brandId?: SortOrder
77997
+ agencyPrivileges?: SortOrder
77953
77998
  _count?: BrandUserProfileCountOrderByAggregateInput
77954
77999
  _avg?: BrandUserProfileAvgOrderByAggregateInput
77955
78000
  _max?: BrandUserProfileMaxOrderByAggregateInput
@@ -77964,6 +78009,7 @@ export namespace Prisma {
77964
78009
  id?: IntWithAggregatesFilter<"BrandUserProfile"> | number
77965
78010
  userId?: IntWithAggregatesFilter<"BrandUserProfile"> | number
77966
78011
  brandId?: IntWithAggregatesFilter<"BrandUserProfile"> | number
78012
+ agencyPrivileges?: BoolWithAggregatesFilter<"BrandUserProfile"> | boolean
77967
78013
  }
77968
78014
 
77969
78015
  export type BrandWhereInput = {
@@ -79793,6 +79839,7 @@ export namespace Prisma {
79793
79839
  OR?: SocialPostWhereInput[]
79794
79840
  NOT?: SocialPostWhereInput | SocialPostWhereInput[]
79795
79841
  id?: IntFilter<"SocialPost"> | number
79842
+ externalId?: IntNullableFilter<"SocialPost"> | number | null
79796
79843
  phylloId?: StringNullableFilter<"SocialPost"> | string | null
79797
79844
  metaData?: JsonFilter<"SocialPost">
79798
79845
  data?: JsonFilter<"SocialPost">
@@ -79832,6 +79879,7 @@ export namespace Prisma {
79832
79879
 
79833
79880
  export type SocialPostOrderByWithRelationAndSearchRelevanceInput = {
79834
79881
  id?: SortOrder
79882
+ externalId?: SortOrderInput | SortOrder
79835
79883
  phylloId?: SortOrderInput | SortOrder
79836
79884
  metaData?: SortOrder
79837
79885
  data?: SortOrder
@@ -79874,9 +79922,11 @@ export namespace Prisma {
79874
79922
  id?: number
79875
79923
  phylloId?: string
79876
79924
  urlPath?: string
79925
+ platform_externalId?: SocialPostPlatformExternalIdCompoundUniqueInput
79877
79926
  AND?: SocialPostWhereInput | SocialPostWhereInput[]
79878
79927
  OR?: SocialPostWhereInput[]
79879
79928
  NOT?: SocialPostWhereInput | SocialPostWhereInput[]
79929
+ externalId?: IntNullableFilter<"SocialPost"> | number | null
79880
79930
  metaData?: JsonFilter<"SocialPost">
79881
79931
  data?: JsonFilter<"SocialPost">
79882
79932
  lastFetched?: DateTimeNullableFilter<"SocialPost"> | Date | string | null
@@ -79910,10 +79960,11 @@ export namespace Prisma {
79910
79960
  user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
79911
79961
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
79912
79962
  lists?: ListToSocialPostListRelationFilter
79913
- }, "id" | "phylloId" | "urlPath">
79963
+ }, "id" | "phylloId" | "urlPath" | "platform_externalId">
79914
79964
 
79915
79965
  export type SocialPostOrderByWithAggregationInput = {
79916
79966
  id?: SortOrder
79967
+ externalId?: SortOrderInput | SortOrder
79917
79968
  phylloId?: SortOrderInput | SortOrder
79918
79969
  metaData?: SortOrder
79919
79970
  data?: SortOrder
@@ -79958,6 +80009,7 @@ export namespace Prisma {
79958
80009
  OR?: SocialPostScalarWhereWithAggregatesInput[]
79959
80010
  NOT?: SocialPostScalarWhereWithAggregatesInput | SocialPostScalarWhereWithAggregatesInput[]
79960
80011
  id?: IntWithAggregatesFilter<"SocialPost"> | number
80012
+ externalId?: IntNullableWithAggregatesFilter<"SocialPost"> | number | null
79961
80013
  phylloId?: StringNullableWithAggregatesFilter<"SocialPost"> | string | null
79962
80014
  metaData?: JsonWithAggregatesFilter<"SocialPost">
79963
80015
  data?: JsonWithAggregatesFilter<"SocialPost">
@@ -80933,6 +80985,7 @@ export namespace Prisma {
80933
80985
  engagement?: FloatNullableFilter<"SocialProfile"> | number | null
80934
80986
  avgViews?: IntNullableFilter<"SocialProfile"> | number | null
80935
80987
  verified?: BoolNullableFilter<"SocialProfile"> | boolean | null
80988
+ visibility?: StringFilter<"SocialProfile"> | string
80936
80989
  metaData?: JsonFilter<"SocialProfile">
80937
80990
  audienceData?: JsonFilter<"SocialProfile">
80938
80991
  phylloData?: JsonFilter<"SocialProfile">
@@ -80956,6 +81009,7 @@ export namespace Prisma {
80956
81009
  engagement?: SortOrderInput | SortOrder
80957
81010
  avgViews?: SortOrderInput | SortOrder
80958
81011
  verified?: SortOrderInput | SortOrder
81012
+ visibility?: SortOrder
80959
81013
  metaData?: SortOrder
80960
81014
  audienceData?: SortOrder
80961
81015
  phylloData?: SortOrder
@@ -80983,6 +81037,7 @@ export namespace Prisma {
80983
81037
  engagement?: FloatNullableFilter<"SocialProfile"> | number | null
80984
81038
  avgViews?: IntNullableFilter<"SocialProfile"> | number | null
80985
81039
  verified?: BoolNullableFilter<"SocialProfile"> | boolean | null
81040
+ visibility?: StringFilter<"SocialProfile"> | string
80986
81041
  metaData?: JsonFilter<"SocialProfile">
80987
81042
  audienceData?: JsonFilter<"SocialProfile">
80988
81043
  phylloData?: JsonFilter<"SocialProfile">
@@ -81006,6 +81061,7 @@ export namespace Prisma {
81006
81061
  engagement?: SortOrderInput | SortOrder
81007
81062
  avgViews?: SortOrderInput | SortOrder
81008
81063
  verified?: SortOrderInput | SortOrder
81064
+ visibility?: SortOrder
81009
81065
  metaData?: SortOrder
81010
81066
  audienceData?: SortOrder
81011
81067
  phylloData?: SortOrder
@@ -81034,6 +81090,7 @@ export namespace Prisma {
81034
81090
  engagement?: FloatNullableWithAggregatesFilter<"SocialProfile"> | number | null
81035
81091
  avgViews?: IntNullableWithAggregatesFilter<"SocialProfile"> | number | null
81036
81092
  verified?: BoolNullableWithAggregatesFilter<"SocialProfile"> | boolean | null
81093
+ visibility?: StringWithAggregatesFilter<"SocialProfile"> | string
81037
81094
  metaData?: JsonWithAggregatesFilter<"SocialProfile">
81038
81095
  audienceData?: JsonWithAggregatesFilter<"SocialProfile">
81039
81096
  phylloData?: JsonWithAggregatesFilter<"SocialProfile">
@@ -83464,6 +83521,7 @@ export namespace Prisma {
83464
83521
  }
83465
83522
 
83466
83523
  export type BrandUserProfileCreateInput = {
83524
+ agencyPrivileges?: boolean
83467
83525
  user: UserCreateNestedOneWithoutBrandProfilesInput
83468
83526
  brand: BrandCreateNestedOneWithoutBrandUsersInput
83469
83527
  }
@@ -83472,9 +83530,11 @@ export namespace Prisma {
83472
83530
  id?: number
83473
83531
  userId: number
83474
83532
  brandId: number
83533
+ agencyPrivileges?: boolean
83475
83534
  }
83476
83535
 
83477
83536
  export type BrandUserProfileUpdateInput = {
83537
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83478
83538
  user?: UserUpdateOneRequiredWithoutBrandProfilesNestedInput
83479
83539
  brand?: BrandUpdateOneRequiredWithoutBrandUsersNestedInput
83480
83540
  }
@@ -83483,22 +83543,25 @@ export namespace Prisma {
83483
83543
  id?: IntFieldUpdateOperationsInput | number
83484
83544
  userId?: IntFieldUpdateOperationsInput | number
83485
83545
  brandId?: IntFieldUpdateOperationsInput | number
83546
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83486
83547
  }
83487
83548
 
83488
83549
  export type BrandUserProfileCreateManyInput = {
83489
83550
  id?: number
83490
83551
  userId: number
83491
83552
  brandId: number
83553
+ agencyPrivileges?: boolean
83492
83554
  }
83493
83555
 
83494
83556
  export type BrandUserProfileUpdateManyMutationInput = {
83495
-
83557
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83496
83558
  }
83497
83559
 
83498
83560
  export type BrandUserProfileUncheckedUpdateManyInput = {
83499
83561
  id?: IntFieldUpdateOperationsInput | number
83500
83562
  userId?: IntFieldUpdateOperationsInput | number
83501
83563
  brandId?: IntFieldUpdateOperationsInput | number
83564
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83502
83565
  }
83503
83566
 
83504
83567
  export type BrandCreateInput = {
@@ -85353,6 +85416,7 @@ export namespace Prisma {
85353
85416
  }
85354
85417
 
85355
85418
  export type SocialPostCreateInput = {
85419
+ externalId?: number | null
85356
85420
  phylloId?: string | null
85357
85421
  metaData?: JsonNullValueInput | InputJsonValue
85358
85422
  data?: JsonNullValueInput | InputJsonValue
@@ -85390,6 +85454,7 @@ export namespace Prisma {
85390
85454
 
85391
85455
  export type SocialPostUncheckedCreateInput = {
85392
85456
  id?: number
85457
+ externalId?: number | null
85393
85458
  phylloId?: string | null
85394
85459
  metaData?: JsonNullValueInput | InputJsonValue
85395
85460
  data?: JsonNullValueInput | InputJsonValue
@@ -85426,6 +85491,7 @@ export namespace Prisma {
85426
85491
  }
85427
85492
 
85428
85493
  export type SocialPostUpdateInput = {
85494
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
85429
85495
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
85430
85496
  metaData?: JsonNullValueInput | InputJsonValue
85431
85497
  data?: JsonNullValueInput | InputJsonValue
@@ -85463,6 +85529,7 @@ export namespace Prisma {
85463
85529
 
85464
85530
  export type SocialPostUncheckedUpdateInput = {
85465
85531
  id?: IntFieldUpdateOperationsInput | number
85532
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
85466
85533
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
85467
85534
  metaData?: JsonNullValueInput | InputJsonValue
85468
85535
  data?: JsonNullValueInput | InputJsonValue
@@ -85500,6 +85567,7 @@ export namespace Prisma {
85500
85567
 
85501
85568
  export type SocialPostCreateManyInput = {
85502
85569
  id?: number
85570
+ externalId?: number | null
85503
85571
  phylloId?: string | null
85504
85572
  metaData?: JsonNullValueInput | InputJsonValue
85505
85573
  data?: JsonNullValueInput | InputJsonValue
@@ -85535,6 +85603,7 @@ export namespace Prisma {
85535
85603
  }
85536
85604
 
85537
85605
  export type SocialPostUpdateManyMutationInput = {
85606
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
85538
85607
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
85539
85608
  metaData?: JsonNullValueInput | InputJsonValue
85540
85609
  data?: JsonNullValueInput | InputJsonValue
@@ -85569,6 +85638,7 @@ export namespace Prisma {
85569
85638
 
85570
85639
  export type SocialPostUncheckedUpdateManyInput = {
85571
85640
  id?: IntFieldUpdateOperationsInput | number
85641
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
85572
85642
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
85573
85643
  metaData?: JsonNullValueInput | InputJsonValue
85574
85644
  data?: JsonNullValueInput | InputJsonValue
@@ -86487,6 +86557,7 @@ export namespace Prisma {
86487
86557
  engagement?: number | null
86488
86558
  avgViews?: number | null
86489
86559
  verified?: boolean | null
86560
+ visibility?: string
86490
86561
  metaData?: JsonNullValueInput | InputJsonValue
86491
86562
  audienceData?: JsonNullValueInput | InputJsonValue
86492
86563
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -86510,6 +86581,7 @@ export namespace Prisma {
86510
86581
  engagement?: number | null
86511
86582
  avgViews?: number | null
86512
86583
  verified?: boolean | null
86584
+ visibility?: string
86513
86585
  metaData?: JsonNullValueInput | InputJsonValue
86514
86586
  audienceData?: JsonNullValueInput | InputJsonValue
86515
86587
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -86530,6 +86602,7 @@ export namespace Prisma {
86530
86602
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
86531
86603
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
86532
86604
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
86605
+ visibility?: StringFieldUpdateOperationsInput | string
86533
86606
  metaData?: JsonNullValueInput | InputJsonValue
86534
86607
  audienceData?: JsonNullValueInput | InputJsonValue
86535
86608
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -86553,6 +86626,7 @@ export namespace Prisma {
86553
86626
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
86554
86627
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
86555
86628
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
86629
+ visibility?: StringFieldUpdateOperationsInput | string
86556
86630
  metaData?: JsonNullValueInput | InputJsonValue
86557
86631
  audienceData?: JsonNullValueInput | InputJsonValue
86558
86632
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -86575,6 +86649,7 @@ export namespace Prisma {
86575
86649
  engagement?: number | null
86576
86650
  avgViews?: number | null
86577
86651
  verified?: boolean | null
86652
+ visibility?: string
86578
86653
  metaData?: JsonNullValueInput | InputJsonValue
86579
86654
  audienceData?: JsonNullValueInput | InputJsonValue
86580
86655
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -86593,6 +86668,7 @@ export namespace Prisma {
86593
86668
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
86594
86669
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
86595
86670
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
86671
+ visibility?: StringFieldUpdateOperationsInput | string
86596
86672
  metaData?: JsonNullValueInput | InputJsonValue
86597
86673
  audienceData?: JsonNullValueInput | InputJsonValue
86598
86674
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -86613,6 +86689,7 @@ export namespace Prisma {
86613
86689
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
86614
86690
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
86615
86691
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
86692
+ visibility?: StringFieldUpdateOperationsInput | string
86616
86693
  metaData?: JsonNullValueInput | InputJsonValue
86617
86694
  audienceData?: JsonNullValueInput | InputJsonValue
86618
86695
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -88869,6 +88946,11 @@ export namespace Prisma {
88869
88946
  userId?: SortOrder
88870
88947
  }
88871
88948
 
88949
+ export type BoolFilter<$PrismaModel = never> = {
88950
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
88951
+ not?: NestedBoolFilter<$PrismaModel> | boolean
88952
+ }
88953
+
88872
88954
  export type BrandRelationFilter = {
88873
88955
  is?: BrandWhereInput
88874
88956
  isNot?: BrandWhereInput
@@ -88878,6 +88960,7 @@ export namespace Prisma {
88878
88960
  id?: SortOrder
88879
88961
  userId?: SortOrder
88880
88962
  brandId?: SortOrder
88963
+ agencyPrivileges?: SortOrder
88881
88964
  }
88882
88965
 
88883
88966
  export type BrandUserProfileAvgOrderByAggregateInput = {
@@ -88890,12 +88973,14 @@ export namespace Prisma {
88890
88973
  id?: SortOrder
88891
88974
  userId?: SortOrder
88892
88975
  brandId?: SortOrder
88976
+ agencyPrivileges?: SortOrder
88893
88977
  }
88894
88978
 
88895
88979
  export type BrandUserProfileMinOrderByAggregateInput = {
88896
88980
  id?: SortOrder
88897
88981
  userId?: SortOrder
88898
88982
  brandId?: SortOrder
88983
+ agencyPrivileges?: SortOrder
88899
88984
  }
88900
88985
 
88901
88986
  export type BrandUserProfileSumOrderByAggregateInput = {
@@ -88904,6 +88989,14 @@ export namespace Prisma {
88904
88989
  brandId?: SortOrder
88905
88990
  }
88906
88991
 
88992
+ export type BoolWithAggregatesFilter<$PrismaModel = never> = {
88993
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
88994
+ not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
88995
+ _count?: NestedIntFilter<$PrismaModel>
88996
+ _min?: NestedBoolFilter<$PrismaModel>
88997
+ _max?: NestedBoolFilter<$PrismaModel>
88998
+ }
88999
+
88907
89000
  export type CampaignListRelationFilter = {
88908
89001
  every?: CampaignWhereInput
88909
89002
  some?: CampaignWhereInput
@@ -89435,11 +89528,6 @@ export namespace Prisma {
89435
89528
  optInId?: SortOrder
89436
89529
  }
89437
89530
 
89438
- export type BoolFilter<$PrismaModel = never> = {
89439
- equals?: boolean | BooleanFieldRefInput<$PrismaModel>
89440
- not?: NestedBoolFilter<$PrismaModel> | boolean
89441
- }
89442
-
89443
89531
  export type ChatRelationFilter = {
89444
89532
  is?: ChatWhereInput
89445
89533
  isNot?: ChatWhereInput
@@ -89499,14 +89587,6 @@ export namespace Prisma {
89499
89587
  chatId?: SortOrder
89500
89588
  }
89501
89589
 
89502
- export type BoolWithAggregatesFilter<$PrismaModel = never> = {
89503
- equals?: boolean | BooleanFieldRefInput<$PrismaModel>
89504
- not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
89505
- _count?: NestedIntFilter<$PrismaModel>
89506
- _min?: NestedBoolFilter<$PrismaModel>
89507
- _max?: NestedBoolFilter<$PrismaModel>
89508
- }
89509
-
89510
89590
  export type CampaignStepListRelationFilter = {
89511
89591
  every?: CampaignStepWhereInput
89512
89592
  some?: CampaignStepWhereInput
@@ -90483,8 +90563,14 @@ export namespace Prisma {
90483
90563
  search: string
90484
90564
  }
90485
90565
 
90566
+ export type SocialPostPlatformExternalIdCompoundUniqueInput = {
90567
+ platform: string
90568
+ externalId: number
90569
+ }
90570
+
90486
90571
  export type SocialPostCountOrderByAggregateInput = {
90487
90572
  id?: SortOrder
90573
+ externalId?: SortOrder
90488
90574
  phylloId?: SortOrder
90489
90575
  metaData?: SortOrder
90490
90576
  data?: SortOrder
@@ -90521,6 +90607,7 @@ export namespace Prisma {
90521
90607
 
90522
90608
  export type SocialPostAvgOrderByAggregateInput = {
90523
90609
  id?: SortOrder
90610
+ externalId?: SortOrder
90524
90611
  views?: SortOrder
90525
90612
  impressions?: SortOrder
90526
90613
  impressionsOrganic?: SortOrder
@@ -90540,6 +90627,7 @@ export namespace Prisma {
90540
90627
 
90541
90628
  export type SocialPostMaxOrderByAggregateInput = {
90542
90629
  id?: SortOrder
90630
+ externalId?: SortOrder
90543
90631
  phylloId?: SortOrder
90544
90632
  lastFetched?: SortOrder
90545
90633
  lastWebhook?: SortOrder
@@ -90574,6 +90662,7 @@ export namespace Prisma {
90574
90662
 
90575
90663
  export type SocialPostMinOrderByAggregateInput = {
90576
90664
  id?: SortOrder
90665
+ externalId?: SortOrder
90577
90666
  phylloId?: SortOrder
90578
90667
  lastFetched?: SortOrder
90579
90668
  lastWebhook?: SortOrder
@@ -90608,6 +90697,7 @@ export namespace Prisma {
90608
90697
 
90609
90698
  export type SocialPostSumOrderByAggregateInput = {
90610
90699
  id?: SortOrder
90700
+ externalId?: SortOrder
90611
90701
  views?: SortOrder
90612
90702
  impressions?: SortOrder
90613
90703
  impressionsOrganic?: SortOrder
@@ -91337,6 +91427,7 @@ export namespace Prisma {
91337
91427
  engagement?: SortOrder
91338
91428
  avgViews?: SortOrder
91339
91429
  verified?: SortOrder
91430
+ visibility?: SortOrder
91340
91431
  metaData?: SortOrder
91341
91432
  audienceData?: SortOrder
91342
91433
  phylloData?: SortOrder
@@ -91365,6 +91456,7 @@ export namespace Prisma {
91365
91456
  engagement?: SortOrder
91366
91457
  avgViews?: SortOrder
91367
91458
  verified?: SortOrder
91459
+ visibility?: SortOrder
91368
91460
  created?: SortOrder
91369
91461
  updated?: SortOrder
91370
91462
  }
@@ -91382,6 +91474,7 @@ export namespace Prisma {
91382
91474
  engagement?: SortOrder
91383
91475
  avgViews?: SortOrder
91384
91476
  verified?: SortOrder
91477
+ visibility?: SortOrder
91385
91478
  created?: SortOrder
91386
91479
  updated?: SortOrder
91387
91480
  }
@@ -93274,6 +93367,10 @@ export namespace Prisma {
93274
93367
  connect?: BrandWhereUniqueInput
93275
93368
  }
93276
93369
 
93370
+ export type BoolFieldUpdateOperationsInput = {
93371
+ set?: boolean
93372
+ }
93373
+
93277
93374
  export type UserUpdateOneRequiredWithoutBrandProfilesNestedInput = {
93278
93375
  create?: XOR<UserCreateWithoutBrandProfilesInput, UserUncheckedCreateWithoutBrandProfilesInput>
93279
93376
  connectOrCreate?: UserCreateOrConnectWithoutBrandProfilesInput
@@ -94530,10 +94627,6 @@ export namespace Prisma {
94530
94627
  connect?: ChatWhereUniqueInput
94531
94628
  }
94532
94629
 
94533
- export type BoolFieldUpdateOperationsInput = {
94534
- set?: boolean
94535
- }
94536
-
94537
94630
  export type UserUpdateOneWithoutMessagesNestedInput = {
94538
94631
  create?: XOR<UserCreateWithoutMessagesInput, UserUncheckedCreateWithoutMessagesInput>
94539
94632
  connectOrCreate?: UserCreateOrConnectWithoutMessagesInput
@@ -98085,6 +98178,19 @@ export namespace Prisma {
98085
98178
  _max?: NestedBoolNullableFilter<$PrismaModel>
98086
98179
  }
98087
98180
 
98181
+ export type NestedBoolFilter<$PrismaModel = never> = {
98182
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
98183
+ not?: NestedBoolFilter<$PrismaModel> | boolean
98184
+ }
98185
+
98186
+ export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
98187
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
98188
+ not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
98189
+ _count?: NestedIntFilter<$PrismaModel>
98190
+ _min?: NestedBoolFilter<$PrismaModel>
98191
+ _max?: NestedBoolFilter<$PrismaModel>
98192
+ }
98193
+
98088
98194
  export type NestedFloatWithAggregatesFilter<$PrismaModel = never> = {
98089
98195
  equals?: number | FloatFieldRefInput<$PrismaModel>
98090
98196
  in?: number[] | ListFloatFieldRefInput<$PrismaModel>
@@ -98101,19 +98207,6 @@ export namespace Prisma {
98101
98207
  _max?: NestedFloatFilter<$PrismaModel>
98102
98208
  }
98103
98209
 
98104
- export type NestedBoolFilter<$PrismaModel = never> = {
98105
- equals?: boolean | BooleanFieldRefInput<$PrismaModel>
98106
- not?: NestedBoolFilter<$PrismaModel> | boolean
98107
- }
98108
-
98109
- export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
98110
- equals?: boolean | BooleanFieldRefInput<$PrismaModel>
98111
- not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
98112
- _count?: NestedIntFilter<$PrismaModel>
98113
- _min?: NestedBoolFilter<$PrismaModel>
98114
- _max?: NestedBoolFilter<$PrismaModel>
98115
- }
98116
-
98117
98210
  export type NestedEnumtrolleyPaymentTypeNullableFilter<$PrismaModel = never> = {
98118
98211
  equals?: $Enums.trolleyPaymentType | EnumtrolleyPaymentTypeFieldRefInput<$PrismaModel> | null
98119
98212
  in?: $Enums.trolleyPaymentType[] | ListEnumtrolleyPaymentTypeFieldRefInput<$PrismaModel> | null
@@ -98676,12 +98769,14 @@ export namespace Prisma {
98676
98769
  }
98677
98770
 
98678
98771
  export type BrandUserProfileCreateWithoutUserInput = {
98772
+ agencyPrivileges?: boolean
98679
98773
  brand: BrandCreateNestedOneWithoutBrandUsersInput
98680
98774
  }
98681
98775
 
98682
98776
  export type BrandUserProfileUncheckedCreateWithoutUserInput = {
98683
98777
  id?: number
98684
98778
  brandId: number
98779
+ agencyPrivileges?: boolean
98685
98780
  }
98686
98781
 
98687
98782
  export type BrandUserProfileCreateOrConnectWithoutUserInput = {
@@ -98872,6 +98967,7 @@ export namespace Prisma {
98872
98967
  }
98873
98968
 
98874
98969
  export type SocialPostCreateWithoutUserInput = {
98970
+ externalId?: number | null
98875
98971
  phylloId?: string | null
98876
98972
  metaData?: JsonNullValueInput | InputJsonValue
98877
98973
  data?: JsonNullValueInput | InputJsonValue
@@ -98908,6 +99004,7 @@ export namespace Prisma {
98908
99004
 
98909
99005
  export type SocialPostUncheckedCreateWithoutUserInput = {
98910
99006
  id?: number
99007
+ externalId?: number | null
98911
99008
  phylloId?: string | null
98912
99009
  metaData?: JsonNullValueInput | InputJsonValue
98913
99010
  data?: JsonNullValueInput | InputJsonValue
@@ -99048,6 +99145,7 @@ export namespace Prisma {
99048
99145
  engagement?: number | null
99049
99146
  avgViews?: number | null
99050
99147
  verified?: boolean | null
99148
+ visibility?: string
99051
99149
  metaData?: JsonNullValueInput | InputJsonValue
99052
99150
  audienceData?: JsonNullValueInput | InputJsonValue
99053
99151
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -99069,6 +99167,7 @@ export namespace Prisma {
99069
99167
  engagement?: number | null
99070
99168
  avgViews?: number | null
99071
99169
  verified?: boolean | null
99170
+ visibility?: string
99072
99171
  metaData?: JsonNullValueInput | InputJsonValue
99073
99172
  audienceData?: JsonNullValueInput | InputJsonValue
99074
99173
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -99687,6 +99786,7 @@ export namespace Prisma {
99687
99786
  id?: IntFilter<"BrandUserProfile"> | number
99688
99787
  userId?: IntFilter<"BrandUserProfile"> | number
99689
99788
  brandId?: IntFilter<"BrandUserProfile"> | number
99789
+ agencyPrivileges?: BoolFilter<"BrandUserProfile"> | boolean
99690
99790
  }
99691
99791
 
99692
99792
  export type OptInUpsertWithWhereUniqueWithoutUserInput = {
@@ -99817,6 +99917,7 @@ export namespace Prisma {
99817
99917
  OR?: SocialPostScalarWhereInput[]
99818
99918
  NOT?: SocialPostScalarWhereInput | SocialPostScalarWhereInput[]
99819
99919
  id?: IntFilter<"SocialPost"> | number
99920
+ externalId?: IntNullableFilter<"SocialPost"> | number | null
99820
99921
  phylloId?: StringNullableFilter<"SocialPost"> | string | null
99821
99922
  metaData?: JsonFilter<"SocialPost">
99822
99923
  data?: JsonFilter<"SocialPost">
@@ -99970,6 +100071,7 @@ export namespace Prisma {
99970
100071
  engagement?: FloatNullableFilter<"SocialProfile"> | number | null
99971
100072
  avgViews?: IntNullableFilter<"SocialProfile"> | number | null
99972
100073
  verified?: BoolNullableFilter<"SocialProfile"> | boolean | null
100074
+ visibility?: StringFilter<"SocialProfile"> | string
99973
100075
  metaData?: JsonFilter<"SocialProfile">
99974
100076
  audienceData?: JsonFilter<"SocialProfile">
99975
100077
  phylloData?: JsonFilter<"SocialProfile">
@@ -102753,12 +102855,14 @@ export namespace Prisma {
102753
102855
  }
102754
102856
 
102755
102857
  export type BrandUserProfileCreateWithoutBrandInput = {
102858
+ agencyPrivileges?: boolean
102756
102859
  user: UserCreateNestedOneWithoutBrandProfilesInput
102757
102860
  }
102758
102861
 
102759
102862
  export type BrandUserProfileUncheckedCreateWithoutBrandInput = {
102760
102863
  id?: number
102761
102864
  userId: number
102865
+ agencyPrivileges?: boolean
102762
102866
  }
102763
102867
 
102764
102868
  export type BrandUserProfileCreateOrConnectWithoutBrandInput = {
@@ -106034,6 +106138,7 @@ export namespace Prisma {
106034
106138
  }
106035
106139
 
106036
106140
  export type SocialPostCreateWithoutCampaignInput = {
106141
+ externalId?: number | null
106037
106142
  phylloId?: string | null
106038
106143
  metaData?: JsonNullValueInput | InputJsonValue
106039
106144
  data?: JsonNullValueInput | InputJsonValue
@@ -106070,6 +106175,7 @@ export namespace Prisma {
106070
106175
 
106071
106176
  export type SocialPostUncheckedCreateWithoutCampaignInput = {
106072
106177
  id?: number
106178
+ externalId?: number | null
106073
106179
  phylloId?: string | null
106074
106180
  metaData?: JsonNullValueInput | InputJsonValue
106075
106181
  data?: JsonNullValueInput | InputJsonValue
@@ -112939,6 +113045,7 @@ export namespace Prisma {
112939
113045
  engagement?: number | null
112940
113046
  avgViews?: number | null
112941
113047
  verified?: boolean | null
113048
+ visibility?: string
112942
113049
  metaData?: JsonNullValueInput | InputJsonValue
112943
113050
  audienceData?: JsonNullValueInput | InputJsonValue
112944
113051
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -112961,6 +113068,7 @@ export namespace Prisma {
112961
113068
  engagement?: number | null
112962
113069
  avgViews?: number | null
112963
113070
  verified?: boolean | null
113071
+ visibility?: string
112964
113072
  metaData?: JsonNullValueInput | InputJsonValue
112965
113073
  audienceData?: JsonNullValueInput | InputJsonValue
112966
113074
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -113284,6 +113392,7 @@ export namespace Prisma {
113284
113392
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
113285
113393
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
113286
113394
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
113395
+ visibility?: StringFieldUpdateOperationsInput | string
113287
113396
  metaData?: JsonNullValueInput | InputJsonValue
113288
113397
  audienceData?: JsonNullValueInput | InputJsonValue
113289
113398
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -113306,6 +113415,7 @@ export namespace Prisma {
113306
113415
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
113307
113416
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
113308
113417
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
113418
+ visibility?: StringFieldUpdateOperationsInput | string
113309
113419
  metaData?: JsonNullValueInput | InputJsonValue
113310
113420
  audienceData?: JsonNullValueInput | InputJsonValue
113311
113421
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -113986,6 +114096,7 @@ export namespace Prisma {
113986
114096
  engagement?: number | null
113987
114097
  avgViews?: number | null
113988
114098
  verified?: boolean | null
114099
+ visibility?: string
113989
114100
  metaData?: JsonNullValueInput | InputJsonValue
113990
114101
  audienceData?: JsonNullValueInput | InputJsonValue
113991
114102
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -114008,6 +114119,7 @@ export namespace Prisma {
114008
114119
  engagement?: number | null
114009
114120
  avgViews?: number | null
114010
114121
  verified?: boolean | null
114122
+ visibility?: string
114011
114123
  metaData?: JsonNullValueInput | InputJsonValue
114012
114124
  audienceData?: JsonNullValueInput | InputJsonValue
114013
114125
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -114145,6 +114257,7 @@ export namespace Prisma {
114145
114257
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
114146
114258
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
114147
114259
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
114260
+ visibility?: StringFieldUpdateOperationsInput | string
114148
114261
  metaData?: JsonNullValueInput | InputJsonValue
114149
114262
  audienceData?: JsonNullValueInput | InputJsonValue
114150
114263
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -114167,6 +114280,7 @@ export namespace Prisma {
114167
114280
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
114168
114281
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
114169
114282
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
114283
+ visibility?: StringFieldUpdateOperationsInput | string
114170
114284
  metaData?: JsonNullValueInput | InputJsonValue
114171
114285
  audienceData?: JsonNullValueInput | InputJsonValue
114172
114286
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -115156,6 +115270,7 @@ export namespace Prisma {
115156
115270
  }
115157
115271
 
115158
115272
  export type SocialPostCreateWithoutListsInput = {
115273
+ externalId?: number | null
115159
115274
  phylloId?: string | null
115160
115275
  metaData?: JsonNullValueInput | InputJsonValue
115161
115276
  data?: JsonNullValueInput | InputJsonValue
@@ -115192,6 +115307,7 @@ export namespace Prisma {
115192
115307
 
115193
115308
  export type SocialPostUncheckedCreateWithoutListsInput = {
115194
115309
  id?: number
115310
+ externalId?: number | null
115195
115311
  phylloId?: string | null
115196
115312
  metaData?: JsonNullValueInput | InputJsonValue
115197
115313
  data?: JsonNullValueInput | InputJsonValue
@@ -115277,6 +115393,7 @@ export namespace Prisma {
115277
115393
  }
115278
115394
 
115279
115395
  export type SocialPostUpdateWithoutListsInput = {
115396
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
115280
115397
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
115281
115398
  metaData?: JsonNullValueInput | InputJsonValue
115282
115399
  data?: JsonNullValueInput | InputJsonValue
@@ -115313,6 +115430,7 @@ export namespace Prisma {
115313
115430
 
115314
115431
  export type SocialPostUncheckedUpdateWithoutListsInput = {
115315
115432
  id?: IntFieldUpdateOperationsInput | number
115433
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
115316
115434
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
115317
115435
  metaData?: JsonNullValueInput | InputJsonValue
115318
115436
  data?: JsonNullValueInput | InputJsonValue
@@ -118429,6 +118547,7 @@ export namespace Prisma {
118429
118547
  export type BrandUserProfileCreateManyUserInput = {
118430
118548
  id?: number
118431
118549
  brandId: number
118550
+ agencyPrivileges?: boolean
118432
118551
  }
118433
118552
 
118434
118553
  export type OptInCreateManyUserInput = {
@@ -118480,6 +118599,7 @@ export namespace Prisma {
118480
118599
 
118481
118600
  export type SocialPostCreateManyUserInput = {
118482
118601
  id?: number
118602
+ externalId?: number | null
118483
118603
  phylloId?: string | null
118484
118604
  metaData?: JsonNullValueInput | InputJsonValue
118485
118605
  data?: JsonNullValueInput | InputJsonValue
@@ -118552,6 +118672,7 @@ export namespace Prisma {
118552
118672
  engagement?: number | null
118553
118673
  avgViews?: number | null
118554
118674
  verified?: boolean | null
118675
+ visibility?: string
118555
118676
  metaData?: JsonNullValueInput | InputJsonValue
118556
118677
  audienceData?: JsonNullValueInput | InputJsonValue
118557
118678
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -118698,17 +118819,20 @@ export namespace Prisma {
118698
118819
  }
118699
118820
 
118700
118821
  export type BrandUserProfileUpdateWithoutUserInput = {
118822
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
118701
118823
  brand?: BrandUpdateOneRequiredWithoutBrandUsersNestedInput
118702
118824
  }
118703
118825
 
118704
118826
  export type BrandUserProfileUncheckedUpdateWithoutUserInput = {
118705
118827
  id?: IntFieldUpdateOperationsInput | number
118706
118828
  brandId?: IntFieldUpdateOperationsInput | number
118829
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
118707
118830
  }
118708
118831
 
118709
118832
  export type BrandUserProfileUncheckedUpdateManyWithoutUserInput = {
118710
118833
  id?: IntFieldUpdateOperationsInput | number
118711
118834
  brandId?: IntFieldUpdateOperationsInput | number
118835
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
118712
118836
  }
118713
118837
 
118714
118838
  export type OptInUpdateWithoutUserInput = {
@@ -118906,6 +119030,7 @@ export namespace Prisma {
118906
119030
  }
118907
119031
 
118908
119032
  export type SocialPostUpdateWithoutUserInput = {
119033
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
118909
119034
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
118910
119035
  metaData?: JsonNullValueInput | InputJsonValue
118911
119036
  data?: JsonNullValueInput | InputJsonValue
@@ -118942,6 +119067,7 @@ export namespace Prisma {
118942
119067
 
118943
119068
  export type SocialPostUncheckedUpdateWithoutUserInput = {
118944
119069
  id?: IntFieldUpdateOperationsInput | number
119070
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
118945
119071
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
118946
119072
  metaData?: JsonNullValueInput | InputJsonValue
118947
119073
  data?: JsonNullValueInput | InputJsonValue
@@ -118978,6 +119104,7 @@ export namespace Prisma {
118978
119104
 
118979
119105
  export type SocialPostUncheckedUpdateManyWithoutUserInput = {
118980
119106
  id?: IntFieldUpdateOperationsInput | number
119107
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
118981
119108
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
118982
119109
  metaData?: JsonNullValueInput | InputJsonValue
118983
119110
  data?: JsonNullValueInput | InputJsonValue
@@ -119104,6 +119231,7 @@ export namespace Prisma {
119104
119231
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
119105
119232
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
119106
119233
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
119234
+ visibility?: StringFieldUpdateOperationsInput | string
119107
119235
  metaData?: JsonNullValueInput | InputJsonValue
119108
119236
  audienceData?: JsonNullValueInput | InputJsonValue
119109
119237
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -119125,6 +119253,7 @@ export namespace Prisma {
119125
119253
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
119126
119254
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
119127
119255
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
119256
+ visibility?: StringFieldUpdateOperationsInput | string
119128
119257
  metaData?: JsonNullValueInput | InputJsonValue
119129
119258
  audienceData?: JsonNullValueInput | InputJsonValue
119130
119259
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -119146,6 +119275,7 @@ export namespace Prisma {
119146
119275
  engagement?: NullableFloatFieldUpdateOperationsInput | number | null
119147
119276
  avgViews?: NullableIntFieldUpdateOperationsInput | number | null
119148
119277
  verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
119278
+ visibility?: StringFieldUpdateOperationsInput | string
119149
119279
  metaData?: JsonNullValueInput | InputJsonValue
119150
119280
  audienceData?: JsonNullValueInput | InputJsonValue
119151
119281
  phylloData?: JsonNullValueInput | InputJsonValue
@@ -119291,6 +119421,7 @@ export namespace Prisma {
119291
119421
  export type BrandUserProfileCreateManyBrandInput = {
119292
119422
  id?: number
119293
119423
  userId: number
119424
+ agencyPrivileges?: boolean
119294
119425
  }
119295
119426
 
119296
119427
  export type SearchContactsCreateManyBrandInput = {
@@ -119645,17 +119776,20 @@ export namespace Prisma {
119645
119776
  }
119646
119777
 
119647
119778
  export type BrandUserProfileUpdateWithoutBrandInput = {
119779
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
119648
119780
  user?: UserUpdateOneRequiredWithoutBrandProfilesNestedInput
119649
119781
  }
119650
119782
 
119651
119783
  export type BrandUserProfileUncheckedUpdateWithoutBrandInput = {
119652
119784
  id?: IntFieldUpdateOperationsInput | number
119653
119785
  userId?: IntFieldUpdateOperationsInput | number
119786
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
119654
119787
  }
119655
119788
 
119656
119789
  export type BrandUserProfileUncheckedUpdateManyWithoutBrandInput = {
119657
119790
  id?: IntFieldUpdateOperationsInput | number
119658
119791
  userId?: IntFieldUpdateOperationsInput | number
119792
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
119659
119793
  }
119660
119794
 
119661
119795
  export type SearchContactsUpdateWithoutBrandInput = {
@@ -120324,6 +120458,7 @@ export namespace Prisma {
120324
120458
 
120325
120459
  export type SocialPostCreateManyCampaignInput = {
120326
120460
  id?: number
120461
+ externalId?: number | null
120327
120462
  phylloId?: string | null
120328
120463
  metaData?: JsonNullValueInput | InputJsonValue
120329
120464
  data?: JsonNullValueInput | InputJsonValue
@@ -120593,6 +120728,7 @@ export namespace Prisma {
120593
120728
  }
120594
120729
 
120595
120730
  export type SocialPostUpdateWithoutCampaignInput = {
120731
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
120596
120732
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
120597
120733
  metaData?: JsonNullValueInput | InputJsonValue
120598
120734
  data?: JsonNullValueInput | InputJsonValue
@@ -120629,6 +120765,7 @@ export namespace Prisma {
120629
120765
 
120630
120766
  export type SocialPostUncheckedUpdateWithoutCampaignInput = {
120631
120767
  id?: IntFieldUpdateOperationsInput | number
120768
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
120632
120769
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
120633
120770
  metaData?: JsonNullValueInput | InputJsonValue
120634
120771
  data?: JsonNullValueInput | InputJsonValue
@@ -120665,6 +120802,7 @@ export namespace Prisma {
120665
120802
 
120666
120803
  export type SocialPostUncheckedUpdateManyWithoutCampaignInput = {
120667
120804
  id?: IntFieldUpdateOperationsInput | number
120805
+ externalId?: NullableIntFieldUpdateOperationsInput | number | null
120668
120806
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
120669
120807
  metaData?: JsonNullValueInput | InputJsonValue
120670
120808
  data?: JsonNullValueInput | InputJsonValue