@creator.co/creatorco-prisma-client 1.0.24-alpha-28b252a → 1.0.24-alpha-ab9f46d

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
 
@@ -75405,7 +75416,8 @@ export namespace Prisma {
75405
75416
  export const BrandUserProfileScalarFieldEnum: {
75406
75417
  id: 'id',
75407
75418
  userId: 'userId',
75408
- brandId: 'brandId'
75419
+ brandId: 'brandId',
75420
+ agencyPrivileges: 'agencyPrivileges'
75409
75421
  };
75410
75422
 
75411
75423
  export type BrandUserProfileScalarFieldEnum = (typeof BrandUserProfileScalarFieldEnum)[keyof typeof BrandUserProfileScalarFieldEnum]
@@ -77911,6 +77923,7 @@ export namespace Prisma {
77911
77923
  id?: IntFilter<"BrandUserProfile"> | number
77912
77924
  userId?: IntFilter<"BrandUserProfile"> | number
77913
77925
  brandId?: IntFilter<"BrandUserProfile"> | number
77926
+ agencyPrivileges?: BoolFilter<"BrandUserProfile"> | boolean
77914
77927
  user?: XOR<UserRelationFilter, UserWhereInput>
77915
77928
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
77916
77929
  }
@@ -77919,6 +77932,7 @@ export namespace Prisma {
77919
77932
  id?: SortOrder
77920
77933
  userId?: SortOrder
77921
77934
  brandId?: SortOrder
77935
+ agencyPrivileges?: SortOrder
77922
77936
  user?: UserOrderByWithRelationAndSearchRelevanceInput
77923
77937
  brand?: BrandOrderByWithRelationAndSearchRelevanceInput
77924
77938
  }
@@ -77930,6 +77944,7 @@ export namespace Prisma {
77930
77944
  NOT?: BrandUserProfileWhereInput | BrandUserProfileWhereInput[]
77931
77945
  userId?: IntFilter<"BrandUserProfile"> | number
77932
77946
  brandId?: IntFilter<"BrandUserProfile"> | number
77947
+ agencyPrivileges?: BoolFilter<"BrandUserProfile"> | boolean
77933
77948
  user?: XOR<UserRelationFilter, UserWhereInput>
77934
77949
  brand?: XOR<BrandRelationFilter, BrandWhereInput>
77935
77950
  }, "id">
@@ -77938,6 +77953,7 @@ export namespace Prisma {
77938
77953
  id?: SortOrder
77939
77954
  userId?: SortOrder
77940
77955
  brandId?: SortOrder
77956
+ agencyPrivileges?: SortOrder
77941
77957
  _count?: BrandUserProfileCountOrderByAggregateInput
77942
77958
  _avg?: BrandUserProfileAvgOrderByAggregateInput
77943
77959
  _max?: BrandUserProfileMaxOrderByAggregateInput
@@ -77952,6 +77968,7 @@ export namespace Prisma {
77952
77968
  id?: IntWithAggregatesFilter<"BrandUserProfile"> | number
77953
77969
  userId?: IntWithAggregatesFilter<"BrandUserProfile"> | number
77954
77970
  brandId?: IntWithAggregatesFilter<"BrandUserProfile"> | number
77971
+ agencyPrivileges?: BoolWithAggregatesFilter<"BrandUserProfile"> | boolean
77955
77972
  }
77956
77973
 
77957
77974
  export type BrandWhereInput = {
@@ -83447,6 +83464,7 @@ export namespace Prisma {
83447
83464
  }
83448
83465
 
83449
83466
  export type BrandUserProfileCreateInput = {
83467
+ agencyPrivileges?: boolean
83450
83468
  user: UserCreateNestedOneWithoutBrandProfilesInput
83451
83469
  brand: BrandCreateNestedOneWithoutBrandUsersInput
83452
83470
  }
@@ -83455,9 +83473,11 @@ export namespace Prisma {
83455
83473
  id?: number
83456
83474
  userId: number
83457
83475
  brandId: number
83476
+ agencyPrivileges?: boolean
83458
83477
  }
83459
83478
 
83460
83479
  export type BrandUserProfileUpdateInput = {
83480
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83461
83481
  user?: UserUpdateOneRequiredWithoutBrandProfilesNestedInput
83462
83482
  brand?: BrandUpdateOneRequiredWithoutBrandUsersNestedInput
83463
83483
  }
@@ -83466,22 +83486,25 @@ export namespace Prisma {
83466
83486
  id?: IntFieldUpdateOperationsInput | number
83467
83487
  userId?: IntFieldUpdateOperationsInput | number
83468
83488
  brandId?: IntFieldUpdateOperationsInput | number
83489
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83469
83490
  }
83470
83491
 
83471
83492
  export type BrandUserProfileCreateManyInput = {
83472
83493
  id?: number
83473
83494
  userId: number
83474
83495
  brandId: number
83496
+ agencyPrivileges?: boolean
83475
83497
  }
83476
83498
 
83477
83499
  export type BrandUserProfileUpdateManyMutationInput = {
83478
-
83500
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83479
83501
  }
83480
83502
 
83481
83503
  export type BrandUserProfileUncheckedUpdateManyInput = {
83482
83504
  id?: IntFieldUpdateOperationsInput | number
83483
83505
  userId?: IntFieldUpdateOperationsInput | number
83484
83506
  brandId?: IntFieldUpdateOperationsInput | number
83507
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
83485
83508
  }
83486
83509
 
83487
83510
  export type BrandCreateInput = {
@@ -88845,6 +88868,11 @@ export namespace Prisma {
88845
88868
  userId?: SortOrder
88846
88869
  }
88847
88870
 
88871
+ export type BoolFilter<$PrismaModel = never> = {
88872
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
88873
+ not?: NestedBoolFilter<$PrismaModel> | boolean
88874
+ }
88875
+
88848
88876
  export type BrandRelationFilter = {
88849
88877
  is?: BrandWhereInput
88850
88878
  isNot?: BrandWhereInput
@@ -88854,6 +88882,7 @@ export namespace Prisma {
88854
88882
  id?: SortOrder
88855
88883
  userId?: SortOrder
88856
88884
  brandId?: SortOrder
88885
+ agencyPrivileges?: SortOrder
88857
88886
  }
88858
88887
 
88859
88888
  export type BrandUserProfileAvgOrderByAggregateInput = {
@@ -88866,12 +88895,14 @@ export namespace Prisma {
88866
88895
  id?: SortOrder
88867
88896
  userId?: SortOrder
88868
88897
  brandId?: SortOrder
88898
+ agencyPrivileges?: SortOrder
88869
88899
  }
88870
88900
 
88871
88901
  export type BrandUserProfileMinOrderByAggregateInput = {
88872
88902
  id?: SortOrder
88873
88903
  userId?: SortOrder
88874
88904
  brandId?: SortOrder
88905
+ agencyPrivileges?: SortOrder
88875
88906
  }
88876
88907
 
88877
88908
  export type BrandUserProfileSumOrderByAggregateInput = {
@@ -88880,6 +88911,14 @@ export namespace Prisma {
88880
88911
  brandId?: SortOrder
88881
88912
  }
88882
88913
 
88914
+ export type BoolWithAggregatesFilter<$PrismaModel = never> = {
88915
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
88916
+ not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
88917
+ _count?: NestedIntFilter<$PrismaModel>
88918
+ _min?: NestedBoolFilter<$PrismaModel>
88919
+ _max?: NestedBoolFilter<$PrismaModel>
88920
+ }
88921
+
88883
88922
  export type CampaignListRelationFilter = {
88884
88923
  every?: CampaignWhereInput
88885
88924
  some?: CampaignWhereInput
@@ -89411,11 +89450,6 @@ export namespace Prisma {
89411
89450
  optInId?: SortOrder
89412
89451
  }
89413
89452
 
89414
- export type BoolFilter<$PrismaModel = never> = {
89415
- equals?: boolean | BooleanFieldRefInput<$PrismaModel>
89416
- not?: NestedBoolFilter<$PrismaModel> | boolean
89417
- }
89418
-
89419
89453
  export type ChatRelationFilter = {
89420
89454
  is?: ChatWhereInput
89421
89455
  isNot?: ChatWhereInput
@@ -89475,14 +89509,6 @@ export namespace Prisma {
89475
89509
  chatId?: SortOrder
89476
89510
  }
89477
89511
 
89478
- export type BoolWithAggregatesFilter<$PrismaModel = never> = {
89479
- equals?: boolean | BooleanFieldRefInput<$PrismaModel>
89480
- not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
89481
- _count?: NestedIntFilter<$PrismaModel>
89482
- _min?: NestedBoolFilter<$PrismaModel>
89483
- _max?: NestedBoolFilter<$PrismaModel>
89484
- }
89485
-
89486
89512
  export type CampaignStepListRelationFilter = {
89487
89513
  every?: CampaignStepWhereInput
89488
89514
  some?: CampaignStepWhereInput
@@ -93247,6 +93273,10 @@ export namespace Prisma {
93247
93273
  connect?: BrandWhereUniqueInput
93248
93274
  }
93249
93275
 
93276
+ export type BoolFieldUpdateOperationsInput = {
93277
+ set?: boolean
93278
+ }
93279
+
93250
93280
  export type UserUpdateOneRequiredWithoutBrandProfilesNestedInput = {
93251
93281
  create?: XOR<UserCreateWithoutBrandProfilesInput, UserUncheckedCreateWithoutBrandProfilesInput>
93252
93282
  connectOrCreate?: UserCreateOrConnectWithoutBrandProfilesInput
@@ -94503,10 +94533,6 @@ export namespace Prisma {
94503
94533
  connect?: ChatWhereUniqueInput
94504
94534
  }
94505
94535
 
94506
- export type BoolFieldUpdateOperationsInput = {
94507
- set?: boolean
94508
- }
94509
-
94510
94536
  export type UserUpdateOneWithoutMessagesNestedInput = {
94511
94537
  create?: XOR<UserCreateWithoutMessagesInput, UserUncheckedCreateWithoutMessagesInput>
94512
94538
  connectOrCreate?: UserCreateOrConnectWithoutMessagesInput
@@ -98058,6 +98084,19 @@ export namespace Prisma {
98058
98084
  _max?: NestedBoolNullableFilter<$PrismaModel>
98059
98085
  }
98060
98086
 
98087
+ export type NestedBoolFilter<$PrismaModel = never> = {
98088
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
98089
+ not?: NestedBoolFilter<$PrismaModel> | boolean
98090
+ }
98091
+
98092
+ export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
98093
+ equals?: boolean | BooleanFieldRefInput<$PrismaModel>
98094
+ not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
98095
+ _count?: NestedIntFilter<$PrismaModel>
98096
+ _min?: NestedBoolFilter<$PrismaModel>
98097
+ _max?: NestedBoolFilter<$PrismaModel>
98098
+ }
98099
+
98061
98100
  export type NestedFloatWithAggregatesFilter<$PrismaModel = never> = {
98062
98101
  equals?: number | FloatFieldRefInput<$PrismaModel>
98063
98102
  in?: number[] | ListFloatFieldRefInput<$PrismaModel>
@@ -98074,19 +98113,6 @@ export namespace Prisma {
98074
98113
  _max?: NestedFloatFilter<$PrismaModel>
98075
98114
  }
98076
98115
 
98077
- export type NestedBoolFilter<$PrismaModel = never> = {
98078
- equals?: boolean | BooleanFieldRefInput<$PrismaModel>
98079
- not?: NestedBoolFilter<$PrismaModel> | boolean
98080
- }
98081
-
98082
- export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
98083
- equals?: boolean | BooleanFieldRefInput<$PrismaModel>
98084
- not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
98085
- _count?: NestedIntFilter<$PrismaModel>
98086
- _min?: NestedBoolFilter<$PrismaModel>
98087
- _max?: NestedBoolFilter<$PrismaModel>
98088
- }
98089
-
98090
98116
  export type NestedEnumtrolleyPaymentTypeNullableFilter<$PrismaModel = never> = {
98091
98117
  equals?: $Enums.trolleyPaymentType | EnumtrolleyPaymentTypeFieldRefInput<$PrismaModel> | null
98092
98118
  in?: $Enums.trolleyPaymentType[] | ListEnumtrolleyPaymentTypeFieldRefInput<$PrismaModel> | null
@@ -98649,12 +98675,14 @@ export namespace Prisma {
98649
98675
  }
98650
98676
 
98651
98677
  export type BrandUserProfileCreateWithoutUserInput = {
98678
+ agencyPrivileges?: boolean
98652
98679
  brand: BrandCreateNestedOneWithoutBrandUsersInput
98653
98680
  }
98654
98681
 
98655
98682
  export type BrandUserProfileUncheckedCreateWithoutUserInput = {
98656
98683
  id?: number
98657
98684
  brandId: number
98685
+ agencyPrivileges?: boolean
98658
98686
  }
98659
98687
 
98660
98688
  export type BrandUserProfileCreateOrConnectWithoutUserInput = {
@@ -99660,6 +99688,7 @@ export namespace Prisma {
99660
99688
  id?: IntFilter<"BrandUserProfile"> | number
99661
99689
  userId?: IntFilter<"BrandUserProfile"> | number
99662
99690
  brandId?: IntFilter<"BrandUserProfile"> | number
99691
+ agencyPrivileges?: BoolFilter<"BrandUserProfile"> | boolean
99663
99692
  }
99664
99693
 
99665
99694
  export type OptInUpsertWithWhereUniqueWithoutUserInput = {
@@ -102724,12 +102753,14 @@ export namespace Prisma {
102724
102753
  }
102725
102754
 
102726
102755
  export type BrandUserProfileCreateWithoutBrandInput = {
102756
+ agencyPrivileges?: boolean
102727
102757
  user: UserCreateNestedOneWithoutBrandProfilesInput
102728
102758
  }
102729
102759
 
102730
102760
  export type BrandUserProfileUncheckedCreateWithoutBrandInput = {
102731
102761
  id?: number
102732
102762
  userId: number
102763
+ agencyPrivileges?: boolean
102733
102764
  }
102734
102765
 
102735
102766
  export type BrandUserProfileCreateOrConnectWithoutBrandInput = {
@@ -118347,6 +118378,7 @@ export namespace Prisma {
118347
118378
  export type BrandUserProfileCreateManyUserInput = {
118348
118379
  id?: number
118349
118380
  brandId: number
118381
+ agencyPrivileges?: boolean
118350
118382
  }
118351
118383
 
118352
118384
  export type OptInCreateManyUserInput = {
@@ -118616,17 +118648,20 @@ export namespace Prisma {
118616
118648
  }
118617
118649
 
118618
118650
  export type BrandUserProfileUpdateWithoutUserInput = {
118651
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
118619
118652
  brand?: BrandUpdateOneRequiredWithoutBrandUsersNestedInput
118620
118653
  }
118621
118654
 
118622
118655
  export type BrandUserProfileUncheckedUpdateWithoutUserInput = {
118623
118656
  id?: IntFieldUpdateOperationsInput | number
118624
118657
  brandId?: IntFieldUpdateOperationsInput | number
118658
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
118625
118659
  }
118626
118660
 
118627
118661
  export type BrandUserProfileUncheckedUpdateManyWithoutUserInput = {
118628
118662
  id?: IntFieldUpdateOperationsInput | number
118629
118663
  brandId?: IntFieldUpdateOperationsInput | number
118664
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
118630
118665
  }
118631
118666
 
118632
118667
  export type OptInUpdateWithoutUserInput = {
@@ -119208,6 +119243,7 @@ export namespace Prisma {
119208
119243
  export type BrandUserProfileCreateManyBrandInput = {
119209
119244
  id?: number
119210
119245
  userId: number
119246
+ agencyPrivileges?: boolean
119211
119247
  }
119212
119248
 
119213
119249
  export type SearchContactsCreateManyBrandInput = {
@@ -119559,17 +119595,20 @@ export namespace Prisma {
119559
119595
  }
119560
119596
 
119561
119597
  export type BrandUserProfileUpdateWithoutBrandInput = {
119598
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
119562
119599
  user?: UserUpdateOneRequiredWithoutBrandProfilesNestedInput
119563
119600
  }
119564
119601
 
119565
119602
  export type BrandUserProfileUncheckedUpdateWithoutBrandInput = {
119566
119603
  id?: IntFieldUpdateOperationsInput | number
119567
119604
  userId?: IntFieldUpdateOperationsInput | number
119605
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
119568
119606
  }
119569
119607
 
119570
119608
  export type BrandUserProfileUncheckedUpdateManyWithoutBrandInput = {
119571
119609
  id?: IntFieldUpdateOperationsInput | number
119572
119610
  userId?: IntFieldUpdateOperationsInput | number
119611
+ agencyPrivileges?: BoolFieldUpdateOperationsInput | boolean
119573
119612
  }
119574
119613
 
119575
119614
  export type SearchContactsUpdateWithoutBrandInput = {