@creator.co/creatorco-prisma-client 1.0.25 → 1.0.26

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-browser.js CHANGED
@@ -299,7 +299,8 @@ exports.Prisma.TwitterProfileScalarFieldEnum = {
299
299
  exports.Prisma.BrandUserProfileScalarFieldEnum = {
300
300
  id: 'id',
301
301
  userId: 'userId',
302
- brandId: 'brandId'
302
+ brandId: 'brandId',
303
+ agencyPrivileges: 'agencyPrivileges'
303
304
  };
304
305
 
305
306
  exports.Prisma.BrandScalarFieldEnum = {
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
 
@@ -75416,7 +75427,8 @@ export namespace Prisma {
75416
75427
  export const BrandUserProfileScalarFieldEnum: {
75417
75428
  id: 'id',
75418
75429
  userId: 'userId',
75419
- brandId: 'brandId'
75430
+ brandId: 'brandId',
75431
+ agencyPrivileges: 'agencyPrivileges'
75420
75432
  };
75421
75433
 
75422
75434
  export type BrandUserProfileScalarFieldEnum = (typeof BrandUserProfileScalarFieldEnum)[keyof typeof BrandUserProfileScalarFieldEnum]
@@ -77923,6 +77935,7 @@ export namespace Prisma {
77923
77935
  id?: IntFilter<"BrandUserProfile"> | number
77924
77936
  userId?: IntFilter<"BrandUserProfile"> | number
77925
77937
  brandId?: IntFilter<"BrandUserProfile"> | number
77938
+ agencyPrivileges?: BoolFilter<"BrandUserProfile"> | boolean
77926
77939
  user?: XOR<UserRelationFilter, UserWhereInput>
77927
77940
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
77928
77941
  }
@@ -77931,6 +77944,7 @@ export namespace Prisma {
77931
77944
  id?: SortOrder
77932
77945
  userId?: SortOrder
77933
77946
  brandId?: SortOrder
77947
+ agencyPrivileges?: SortOrder
77934
77948
  user?: UserOrderByWithRelationAndSearchRelevanceInput
77935
77949
  brand?: BrandOrderByWithRelationAndSearchRelevanceInput
77936
77950
  }
@@ -77942,6 +77956,7 @@ export namespace Prisma {
77942
77956
  NOT?: BrandUserProfileWhereInput | BrandUserProfileWhereInput[]
77943
77957
  userId?: IntFilter<"BrandUserProfile"> | number
77944
77958
  brandId?: IntFilter<"BrandUserProfile"> | number
77959
+ agencyPrivileges?: BoolFilter<"BrandUserProfile"> | boolean
77945
77960
  user?: XOR<UserRelationFilter, UserWhereInput>
77946
77961
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
77947
77962
  }, "id">
@@ -77950,6 +77965,7 @@ export namespace Prisma {
77950
77965
  id?: SortOrder
77951
77966
  userId?: SortOrder
77952
77967
  brandId?: SortOrder
77968
+ agencyPrivileges?: SortOrder
77953
77969
  _count?: BrandUserProfileCountOrderByAggregateInput
77954
77970
  _avg?: BrandUserProfileAvgOrderByAggregateInput
77955
77971
  _max?: BrandUserProfileMaxOrderByAggregateInput
@@ -77964,6 +77980,7 @@ export namespace Prisma {
77964
77980
  id?: IntWithAggregatesFilter<"BrandUserProfile"> | number
77965
77981
  userId?: IntWithAggregatesFilter<"BrandUserProfile"> | number
77966
77982
  brandId?: IntWithAggregatesFilter<"BrandUserProfile"> | number
77983
+ agencyPrivileges?: BoolWithAggregatesFilter<"BrandUserProfile"> | boolean
77967
77984
  }
77968
77985
 
77969
77986
  export type BrandWhereInput = {
@@ -83464,6 +83481,7 @@ export namespace Prisma {
83464
83481
  }
83465
83482
 
83466
83483
  export type BrandUserProfileCreateInput = {
83484
+ agencyPrivileges?: boolean
83467
83485
  user: UserCreateNestedOneWithoutBrandProfilesInput
83468
83486
  brand: BrandCreateNestedOneWithoutBrandUsersInput
83469
83487
  }
@@ -83472,9 +83490,11 @@ export namespace Prisma {
83472
83490
  id?: number
83473
83491
  userId: number
83474
83492
  brandId: number
83493
+ agencyPrivileges?: boolean
83475
83494
  }
83476
83495
 
83477
83496
  export type BrandUserProfileUpdateInput = {
83497
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83478
83498
  user?: UserUpdateOneRequiredWithoutBrandProfilesNestedInput
83479
83499
  brand?: BrandUpdateOneRequiredWithoutBrandUsersNestedInput
83480
83500
  }
@@ -83483,22 +83503,25 @@ export namespace Prisma {
83483
83503
  id?: IntFieldUpdateOperationsInput | number
83484
83504
  userId?: IntFieldUpdateOperationsInput | number
83485
83505
  brandId?: IntFieldUpdateOperationsInput | number
83506
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83486
83507
  }
83487
83508
 
83488
83509
  export type BrandUserProfileCreateManyInput = {
83489
83510
  id?: number
83490
83511
  userId: number
83491
83512
  brandId: number
83513
+ agencyPrivileges?: boolean
83492
83514
  }
83493
83515
 
83494
83516
  export type BrandUserProfileUpdateManyMutationInput = {
83495
-
83517
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83496
83518
  }
83497
83519
 
83498
83520
  export type BrandUserProfileUncheckedUpdateManyInput = {
83499
83521
  id?: IntFieldUpdateOperationsInput | number
83500
83522
  userId?: IntFieldUpdateOperationsInput | number
83501
83523
  brandId?: IntFieldUpdateOperationsInput | number
83524
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83502
83525
  }
83503
83526
 
83504
83527
  export type BrandCreateInput = {
@@ -88869,6 +88892,11 @@ export namespace Prisma {
88869
88892
  userId?: SortOrder
88870
88893
  }
88871
88894
 
88895
+ export type BoolFilter<$PrismaModel = never> = {
88896
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
88897
+ not?: NestedBoolFilter<$PrismaModel> | boolean
88898
+ }
88899
+
88872
88900
  export type BrandRelationFilter = {
88873
88901
  is?: BrandWhereInput
88874
88902
  isNot?: BrandWhereInput
@@ -88878,6 +88906,7 @@ export namespace Prisma {
88878
88906
  id?: SortOrder
88879
88907
  userId?: SortOrder
88880
88908
  brandId?: SortOrder
88909
+ agencyPrivileges?: SortOrder
88881
88910
  }
88882
88911
 
88883
88912
  export type BrandUserProfileAvgOrderByAggregateInput = {
@@ -88890,12 +88919,14 @@ export namespace Prisma {
88890
88919
  id?: SortOrder
88891
88920
  userId?: SortOrder
88892
88921
  brandId?: SortOrder
88922
+ agencyPrivileges?: SortOrder
88893
88923
  }
88894
88924
 
88895
88925
  export type BrandUserProfileMinOrderByAggregateInput = {
88896
88926
  id?: SortOrder
88897
88927
  userId?: SortOrder
88898
88928
  brandId?: SortOrder
88929
+ agencyPrivileges?: SortOrder
88899
88930
  }
88900
88931
 
88901
88932
  export type BrandUserProfileSumOrderByAggregateInput = {
@@ -88904,6 +88935,14 @@ export namespace Prisma {
88904
88935
  brandId?: SortOrder
88905
88936
  }
88906
88937
 
88938
+ export type BoolWithAggregatesFilter<$PrismaModel = never> = {
88939
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
88940
+ not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
88941
+ _count?: NestedIntFilter<$PrismaModel>
88942
+ _min?: NestedBoolFilter<$PrismaModel>
88943
+ _max?: NestedBoolFilter<$PrismaModel>
88944
+ }
88945
+
88907
88946
  export type CampaignListRelationFilter = {
88908
88947
  every?: CampaignWhereInput
88909
88948
  some?: CampaignWhereInput
@@ -89435,11 +89474,6 @@ export namespace Prisma {
89435
89474
  optInId?: SortOrder
89436
89475
  }
89437
89476
 
89438
- export type BoolFilter<$PrismaModel = never> = {
89439
- equals?: boolean | BooleanFieldRefInput<$PrismaModel>
89440
- not?: NestedBoolFilter<$PrismaModel> | boolean
89441
- }
89442
-
89443
89477
  export type ChatRelationFilter = {
89444
89478
  is?: ChatWhereInput
89445
89479
  isNot?: ChatWhereInput
@@ -89499,14 +89533,6 @@ export namespace Prisma {
89499
89533
  chatId?: SortOrder
89500
89534
  }
89501
89535
 
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
89536
  export type CampaignStepListRelationFilter = {
89511
89537
  every?: CampaignStepWhereInput
89512
89538
  some?: CampaignStepWhereInput
@@ -93274,6 +93300,10 @@ export namespace Prisma {
93274
93300
  connect?: BrandWhereUniqueInput
93275
93301
  }
93276
93302
 
93303
+ export type BoolFieldUpdateOperationsInput = {
93304
+ set?: boolean
93305
+ }
93306
+
93277
93307
  export type UserUpdateOneRequiredWithoutBrandProfilesNestedInput = {
93278
93308
  create?: XOR<UserCreateWithoutBrandProfilesInput, UserUncheckedCreateWithoutBrandProfilesInput>
93279
93309
  connectOrCreate?: UserCreateOrConnectWithoutBrandProfilesInput
@@ -94530,10 +94560,6 @@ export namespace Prisma {
94530
94560
  connect?: ChatWhereUniqueInput
94531
94561
  }
94532
94562
 
94533
- export type BoolFieldUpdateOperationsInput = {
94534
- set?: boolean
94535
- }
94536
-
94537
94563
  export type UserUpdateOneWithoutMessagesNestedInput = {
94538
94564
  create?: XOR<UserCreateWithoutMessagesInput, UserUncheckedCreateWithoutMessagesInput>
94539
94565
  connectOrCreate?: UserCreateOrConnectWithoutMessagesInput
@@ -98085,6 +98111,19 @@ export namespace Prisma {
98085
98111
  _max?: NestedBoolNullableFilter<$PrismaModel>
98086
98112
  }
98087
98113
 
98114
+ export type NestedBoolFilter<$PrismaModel = never> = {
98115
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
98116
+ not?: NestedBoolFilter<$PrismaModel> | boolean
98117
+ }
98118
+
98119
+ export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
98120
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
98121
+ not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
98122
+ _count?: NestedIntFilter<$PrismaModel>
98123
+ _min?: NestedBoolFilter<$PrismaModel>
98124
+ _max?: NestedBoolFilter<$PrismaModel>
98125
+ }
98126
+
98088
98127
  export type NestedFloatWithAggregatesFilter<$PrismaModel = never> = {
98089
98128
  equals?: number | FloatFieldRefInput<$PrismaModel>
98090
98129
  in?: number[] | ListFloatFieldRefInput<$PrismaModel>
@@ -98101,19 +98140,6 @@ export namespace Prisma {
98101
98140
  _max?: NestedFloatFilter<$PrismaModel>
98102
98141
  }
98103
98142
 
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
98143
  export type NestedEnumtrolleyPaymentTypeNullableFilter<$PrismaModel = never> = {
98118
98144
  equals?: $Enums.trolleyPaymentType | EnumtrolleyPaymentTypeFieldRefInput<$PrismaModel> | null
98119
98145
  in?: $Enums.trolleyPaymentType[] | ListEnumtrolleyPaymentTypeFieldRefInput<$PrismaModel> | null
@@ -98676,12 +98702,14 @@ export namespace Prisma {
98676
98702
  }
98677
98703
 
98678
98704
  export type BrandUserProfileCreateWithoutUserInput = {
98705
+ agencyPrivileges?: boolean
98679
98706
  brand: BrandCreateNestedOneWithoutBrandUsersInput
98680
98707
  }
98681
98708
 
98682
98709
  export type BrandUserProfileUncheckedCreateWithoutUserInput = {
98683
98710
  id?: number
98684
98711
  brandId: number
98712
+ agencyPrivileges?: boolean
98685
98713
  }
98686
98714
 
98687
98715
  export type BrandUserProfileCreateOrConnectWithoutUserInput = {
@@ -99687,6 +99715,7 @@ export namespace Prisma {
99687
99715
  id?: IntFilter<"BrandUserProfile"> | number
99688
99716
  userId?: IntFilter<"BrandUserProfile"> | number
99689
99717
  brandId?: IntFilter<"BrandUserProfile"> | number
99718
+ agencyPrivileges?: BoolFilter<"BrandUserProfile"> | boolean
99690
99719
  }
99691
99720
 
99692
99721
  export type OptInUpsertWithWhereUniqueWithoutUserInput = {
@@ -102753,12 +102782,14 @@ export namespace Prisma {
102753
102782
  }
102754
102783
 
102755
102784
  export type BrandUserProfileCreateWithoutBrandInput = {
102785
+ agencyPrivileges?: boolean
102756
102786
  user: UserCreateNestedOneWithoutBrandProfilesInput
102757
102787
  }
102758
102788
 
102759
102789
  export type BrandUserProfileUncheckedCreateWithoutBrandInput = {
102760
102790
  id?: number
102761
102791
  userId: number
102792
+ agencyPrivileges?: boolean
102762
102793
  }
102763
102794
 
102764
102795
  export type BrandUserProfileCreateOrConnectWithoutBrandInput = {
@@ -118429,6 +118460,7 @@ export namespace Prisma {
118429
118460
  export type BrandUserProfileCreateManyUserInput = {
118430
118461
  id?: number
118431
118462
  brandId: number
118463
+ agencyPrivileges?: boolean
118432
118464
  }
118433
118465
 
118434
118466
  export type OptInCreateManyUserInput = {
@@ -118698,17 +118730,20 @@ export namespace Prisma {
118698
118730
  }
118699
118731
 
118700
118732
  export type BrandUserProfileUpdateWithoutUserInput = {
118733
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
118701
118734
  brand?: BrandUpdateOneRequiredWithoutBrandUsersNestedInput
118702
118735
  }
118703
118736
 
118704
118737
  export type BrandUserProfileUncheckedUpdateWithoutUserInput = {
118705
118738
  id?: IntFieldUpdateOperationsInput | number
118706
118739
  brandId?: IntFieldUpdateOperationsInput | number
118740
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
118707
118741
  }
118708
118742
 
118709
118743
  export type BrandUserProfileUncheckedUpdateManyWithoutUserInput = {
118710
118744
  id?: IntFieldUpdateOperationsInput | number
118711
118745
  brandId?: IntFieldUpdateOperationsInput | number
118746
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
118712
118747
  }
118713
118748
 
118714
118749
  export type OptInUpdateWithoutUserInput = {
@@ -119291,6 +119326,7 @@ export namespace Prisma {
119291
119326
  export type BrandUserProfileCreateManyBrandInput = {
119292
119327
  id?: number
119293
119328
  userId: number
119329
+ agencyPrivileges?: boolean
119294
119330
  }
119295
119331
 
119296
119332
  export type SearchContactsCreateManyBrandInput = {
@@ -119645,17 +119681,20 @@ export namespace Prisma {
119645
119681
  }
119646
119682
 
119647
119683
  export type BrandUserProfileUpdateWithoutBrandInput = {
119684
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
119648
119685
  user?: UserUpdateOneRequiredWithoutBrandProfilesNestedInput
119649
119686
  }
119650
119687
 
119651
119688
  export type BrandUserProfileUncheckedUpdateWithoutBrandInput = {
119652
119689
  id?: IntFieldUpdateOperationsInput | number
119653
119690
  userId?: IntFieldUpdateOperationsInput | number
119691
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
119654
119692
  }
119655
119693
 
119656
119694
  export type BrandUserProfileUncheckedUpdateManyWithoutBrandInput = {
119657
119695
  id?: IntFieldUpdateOperationsInput | number
119658
119696
  userId?: IntFieldUpdateOperationsInput | number
119697
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
119659
119698
  }
119660
119699
 
119661
119700
  export type SearchContactsUpdateWithoutBrandInput = {