@creator.co/creatorco-prisma-client 1.0.72 → 1.0.73

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
@@ -30048,6 +30048,7 @@ export namespace Prisma {
30048
30048
  messageSid: string | null
30049
30049
  userId: number | null
30050
30050
  chatId: number | null
30051
+ fileId: string | null
30051
30052
  }
30052
30053
 
30053
30054
  export type MessageMaxAggregateOutputType = {
@@ -30060,6 +30061,7 @@ export namespace Prisma {
30060
30061
  messageSid: string | null
30061
30062
  userId: number | null
30062
30063
  chatId: number | null
30064
+ fileId: string | null
30063
30065
  }
30064
30066
 
30065
30067
  export type MessageCountAggregateOutputType = {
@@ -30072,6 +30074,7 @@ export namespace Prisma {
30072
30074
  messageSid: number
30073
30075
  userId: number
30074
30076
  chatId: number
30077
+ fileId: number
30075
30078
  _all: number
30076
30079
  }
30077
30080
 
@@ -30098,6 +30101,7 @@ export namespace Prisma {
30098
30101
  messageSid?: true
30099
30102
  userId?: true
30100
30103
  chatId?: true
30104
+ fileId?: true
30101
30105
  }
30102
30106
 
30103
30107
  export type MessageMaxAggregateInputType = {
@@ -30110,6 +30114,7 @@ export namespace Prisma {
30110
30114
  messageSid?: true
30111
30115
  userId?: true
30112
30116
  chatId?: true
30117
+ fileId?: true
30113
30118
  }
30114
30119
 
30115
30120
  export type MessageCountAggregateInputType = {
@@ -30122,6 +30127,7 @@ export namespace Prisma {
30122
30127
  messageSid?: true
30123
30128
  userId?: true
30124
30129
  chatId?: true
30130
+ fileId?: true
30125
30131
  _all?: true
30126
30132
  }
30127
30133
 
@@ -30221,6 +30227,7 @@ export namespace Prisma {
30221
30227
  messageSid: string | null
30222
30228
  userId: number | null
30223
30229
  chatId: number
30230
+ fileId: string | null
30224
30231
  _count: MessageCountAggregateOutputType | null
30225
30232
  _avg: MessageAvgAggregateOutputType | null
30226
30233
  _sum: MessageSumAggregateOutputType | null
@@ -30252,8 +30259,10 @@ export namespace Prisma {
30252
30259
  messageSid?: boolean
30253
30260
  userId?: boolean
30254
30261
  chatId?: boolean
30262
+ fileId?: boolean
30255
30263
  user?: boolean | Message$userArgs<ExtArgs>
30256
30264
  chat?: boolean | ChatDefaultArgs<ExtArgs>
30265
+ file?: boolean | Message$fileArgs<ExtArgs>
30257
30266
  }, ExtArgs["result"]["message"]>
30258
30267
 
30259
30268
  export type MessageSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -30266,8 +30275,10 @@ export namespace Prisma {
30266
30275
  messageSid?: boolean
30267
30276
  userId?: boolean
30268
30277
  chatId?: boolean
30278
+ fileId?: boolean
30269
30279
  user?: boolean | Message$userArgs<ExtArgs>
30270
30280
  chat?: boolean | ChatDefaultArgs<ExtArgs>
30281
+ file?: boolean | Message$fileArgs<ExtArgs>
30271
30282
  }, ExtArgs["result"]["message"]>
30272
30283
 
30273
30284
  export type MessageSelectScalar = {
@@ -30280,15 +30291,18 @@ export namespace Prisma {
30280
30291
  messageSid?: boolean
30281
30292
  userId?: boolean
30282
30293
  chatId?: boolean
30294
+ fileId?: boolean
30283
30295
  }
30284
30296
 
30285
30297
  export type MessageInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
30286
30298
  user?: boolean | Message$userArgs<ExtArgs>
30287
30299
  chat?: boolean | ChatDefaultArgs<ExtArgs>
30300
+ file?: boolean | Message$fileArgs<ExtArgs>
30288
30301
  }
30289
30302
  export type MessageIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
30290
30303
  user?: boolean | Message$userArgs<ExtArgs>
30291
30304
  chat?: boolean | ChatDefaultArgs<ExtArgs>
30305
+ file?: boolean | Message$fileArgs<ExtArgs>
30292
30306
  }
30293
30307
 
30294
30308
  export type $MessagePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -30296,6 +30310,7 @@ export namespace Prisma {
30296
30310
  objects: {
30297
30311
  user: Prisma.$UserPayload<ExtArgs> | null
30298
30312
  chat: Prisma.$ChatPayload<ExtArgs>
30313
+ file: Prisma.$FilePayload<ExtArgs> | null
30299
30314
  }
30300
30315
  scalars: $Extensions.GetPayloadResult<{
30301
30316
  id: number
@@ -30307,6 +30322,7 @@ export namespace Prisma {
30307
30322
  messageSid: string | null
30308
30323
  userId: number | null
30309
30324
  chatId: number
30325
+ fileId: string | null
30310
30326
  }, ExtArgs["result"]["message"]>
30311
30327
  composites: {}
30312
30328
  }
@@ -30701,6 +30717,8 @@ export namespace Prisma {
30701
30717
 
30702
30718
  chat<T extends ChatDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ChatDefaultArgs<ExtArgs>>): Prisma__ChatClient<$Result.GetResult<Prisma.$ChatPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
30703
30719
 
30720
+ file<T extends Message$fileArgs<ExtArgs> = {}>(args?: Subset<T, Message$fileArgs<ExtArgs>>): Prisma__FileClient<$Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
30721
+
30704
30722
  /**
30705
30723
  * Attaches callbacks for the resolution and/or rejection of the Promise.
30706
30724
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -30738,6 +30756,7 @@ export namespace Prisma {
30738
30756
  readonly messageSid: FieldRef<"Message", 'String'>
30739
30757
  readonly userId: FieldRef<"Message", 'Int'>
30740
30758
  readonly chatId: FieldRef<"Message", 'Int'>
30759
+ readonly fileId: FieldRef<"Message", 'String'>
30741
30760
  }
30742
30761
 
30743
30762
 
@@ -31070,6 +31089,21 @@ export namespace Prisma {
31070
31089
  where?: UserWhereInput
31071
31090
  }
31072
31091
 
31092
+ /**
31093
+ * Message.file
31094
+ */
31095
+ export type Message$fileArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
31096
+ /**
31097
+ * Select specific fields to fetch from the File
31098
+ */
31099
+ select?: FileSelect<ExtArgs> | null
31100
+ /**
31101
+ * Choose, which related nodes to fetch as well
31102
+ */
31103
+ include?: FileInclude<ExtArgs> | null
31104
+ where?: FileWhereInput
31105
+ }
31106
+
31073
31107
  /**
31074
31108
  * Message without action
31075
31109
  */
@@ -99458,6 +99492,7 @@ export namespace Prisma {
99458
99492
  createdByUser?: boolean | UserDefaultArgs<ExtArgs>
99459
99493
  editedByUser?: boolean | File$editedByUserArgs<ExtArgs>
99460
99494
  brandContract?: boolean | File$brandContractArgs<ExtArgs>
99495
+ message?: boolean | File$messageArgs<ExtArgs>
99461
99496
  }, ExtArgs["result"]["file"]>
99462
99497
 
99463
99498
  export type FileSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -99500,6 +99535,7 @@ export namespace Prisma {
99500
99535
  createdByUser?: boolean | UserDefaultArgs<ExtArgs>
99501
99536
  editedByUser?: boolean | File$editedByUserArgs<ExtArgs>
99502
99537
  brandContract?: boolean | File$brandContractArgs<ExtArgs>
99538
+ message?: boolean | File$messageArgs<ExtArgs>
99503
99539
  }
99504
99540
  export type FileIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
99505
99541
  brand?: boolean | BrandDefaultArgs<ExtArgs>
@@ -99514,6 +99550,7 @@ export namespace Prisma {
99514
99550
  createdByUser: Prisma.$UserPayload<ExtArgs>
99515
99551
  editedByUser: Prisma.$UserPayload<ExtArgs> | null
99516
99552
  brandContract: Prisma.$BrandContractPayload<ExtArgs> | null
99553
+ message: Prisma.$MessagePayload<ExtArgs> | null
99517
99554
  }
99518
99555
  scalars: $Extensions.GetPayloadResult<{
99519
99556
  id: string
@@ -99927,6 +99964,8 @@ export namespace Prisma {
99927
99964
 
99928
99965
  brandContract<T extends File$brandContractArgs<ExtArgs> = {}>(args?: Subset<T, File$brandContractArgs<ExtArgs>>): Prisma__BrandContractClient<$Result.GetResult<Prisma.$BrandContractPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
99929
99966
 
99967
+ message<T extends File$messageArgs<ExtArgs> = {}>(args?: Subset<T, File$messageArgs<ExtArgs>>): Prisma__MessageClient<$Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
99968
+
99930
99969
  /**
99931
99970
  * Attaches callbacks for the resolution and/or rejection of the Promise.
99932
99971
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -100315,6 +100354,21 @@ export namespace Prisma {
100315
100354
  where?: BrandContractWhereInput
100316
100355
  }
100317
100356
 
100357
+ /**
100358
+ * File.message
100359
+ */
100360
+ export type File$messageArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
100361
+ /**
100362
+ * Select specific fields to fetch from the Message
100363
+ */
100364
+ select?: MessageSelect<ExtArgs> | null
100365
+ /**
100366
+ * Choose, which related nodes to fetch as well
100367
+ */
100368
+ include?: MessageInclude<ExtArgs> | null
100369
+ where?: MessageWhereInput
100370
+ }
100371
+
100318
100372
  /**
100319
100373
  * File without action
100320
100374
  */
@@ -101666,7 +101720,8 @@ export namespace Prisma {
101666
101720
  type: 'type',
101667
101721
  messageSid: 'messageSid',
101668
101722
  userId: 'userId',
101669
- chatId: 'chatId'
101723
+ chatId: 'chatId',
101724
+ fileId: 'fileId'
101670
101725
  };
101671
101726
 
101672
101727
  export type MessageScalarFieldEnum = (typeof MessageScalarFieldEnum)[keyof typeof MessageScalarFieldEnum]
@@ -102803,7 +102858,8 @@ export namespace Prisma {
102803
102858
  sender: 'sender',
102804
102859
  content: 'content',
102805
102860
  type: 'type',
102806
- messageSid: 'messageSid'
102861
+ messageSid: 'messageSid',
102862
+ fileId: 'fileId'
102807
102863
  };
102808
102864
 
102809
102865
  export type MessageOrderByRelevanceFieldEnum = (typeof MessageOrderByRelevanceFieldEnum)[keyof typeof MessageOrderByRelevanceFieldEnum]
@@ -105170,8 +105226,10 @@ export namespace Prisma {
105170
105226
  messageSid?: StringNullableFilter<"Message"> | string | null
105171
105227
  userId?: IntNullableFilter<"Message"> | number | null
105172
105228
  chatId?: IntFilter<"Message"> | number
105229
+ fileId?: StringNullableFilter<"Message"> | string | null
105173
105230
  user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
105174
105231
  chat?: XOR<ChatRelationFilter, ChatWhereInput>
105232
+ file?: XOR<FileNullableRelationFilter, FileWhereInput> | null
105175
105233
  }
105176
105234
 
105177
105235
  export type MessageOrderByWithRelationAndSearchRelevanceInput = {
@@ -105184,13 +105242,16 @@ export namespace Prisma {
105184
105242
  messageSid?: SortOrderInput | SortOrder
105185
105243
  userId?: SortOrderInput | SortOrder
105186
105244
  chatId?: SortOrder
105245
+ fileId?: SortOrderInput | SortOrder
105187
105246
  user?: UserOrderByWithRelationAndSearchRelevanceInput
105188
105247
  chat?: ChatOrderByWithRelationAndSearchRelevanceInput
105248
+ file?: FileOrderByWithRelationAndSearchRelevanceInput
105189
105249
  _relevance?: MessageOrderByRelevanceInput
105190
105250
  }
105191
105251
 
105192
105252
  export type MessageWhereUniqueInput = Prisma.AtLeast<{
105193
105253
  id?: number
105254
+ fileId?: string
105194
105255
  AND?: MessageWhereInput | MessageWhereInput[]
105195
105256
  OR?: MessageWhereInput[]
105196
105257
  NOT?: MessageWhereInput | MessageWhereInput[]
@@ -105204,7 +105265,8 @@ export namespace Prisma {
105204
105265
  chatId?: IntFilter<"Message"> | number
105205
105266
  user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
105206
105267
  chat?: XOR<ChatRelationFilter, ChatWhereInput>
105207
- }, "id">
105268
+ file?: XOR<FileNullableRelationFilter, FileWhereInput> | null
105269
+ }, "id" | "fileId">
105208
105270
 
105209
105271
  export type MessageOrderByWithAggregationInput = {
105210
105272
  id?: SortOrder
@@ -105216,6 +105278,7 @@ export namespace Prisma {
105216
105278
  messageSid?: SortOrderInput | SortOrder
105217
105279
  userId?: SortOrderInput | SortOrder
105218
105280
  chatId?: SortOrder
105281
+ fileId?: SortOrderInput | SortOrder
105219
105282
  _count?: MessageCountOrderByAggregateInput
105220
105283
  _avg?: MessageAvgOrderByAggregateInput
105221
105284
  _max?: MessageMaxOrderByAggregateInput
@@ -105236,6 +105299,7 @@ export namespace Prisma {
105236
105299
  messageSid?: StringNullableWithAggregatesFilter<"Message"> | string | null
105237
105300
  userId?: IntNullableWithAggregatesFilter<"Message"> | number | null
105238
105301
  chatId?: IntWithAggregatesFilter<"Message"> | number
105302
+ fileId?: StringNullableWithAggregatesFilter<"Message"> | string | null
105239
105303
  }
105240
105304
 
105241
105305
  export type CampaignWhereInput = {
@@ -110258,6 +110322,7 @@ export namespace Prisma {
110258
110322
  createdByUser?: XOR<UserRelationFilter, UserWhereInput>
110259
110323
  editedByUser?: XOR<UserNullableRelationFilter, UserWhereInput> | null
110260
110324
  brandContract?: XOR<BrandContractNullableRelationFilter, BrandContractWhereInput> | null
110325
+ message?: XOR<MessageNullableRelationFilter, MessageWhereInput> | null
110261
110326
  }
110262
110327
 
110263
110328
  export type FileOrderByWithRelationAndSearchRelevanceInput = {
@@ -110278,6 +110343,7 @@ export namespace Prisma {
110278
110343
  createdByUser?: UserOrderByWithRelationAndSearchRelevanceInput
110279
110344
  editedByUser?: UserOrderByWithRelationAndSearchRelevanceInput
110280
110345
  brandContract?: BrandContractOrderByWithRelationAndSearchRelevanceInput
110346
+ message?: MessageOrderByWithRelationAndSearchRelevanceInput
110281
110347
  _relevance?: FileOrderByRelevanceInput
110282
110348
  }
110283
110349
 
@@ -110302,6 +110368,7 @@ export namespace Prisma {
110302
110368
  createdByUser?: XOR<UserRelationFilter, UserWhereInput>
110303
110369
  editedByUser?: XOR<UserNullableRelationFilter, UserWhereInput> | null
110304
110370
  brandContract?: XOR<BrandContractNullableRelationFilter, BrandContractWhereInput> | null
110371
+ message?: XOR<MessageNullableRelationFilter, MessageWhereInput> | null
110305
110372
  }, "id">
110306
110373
 
110307
110374
  export type FileOrderByWithAggregationInput = {
@@ -112341,6 +112408,7 @@ export namespace Prisma {
112341
112408
  messageSid?: string | null
112342
112409
  user?: UserCreateNestedOneWithoutMessagesInput
112343
112410
  chat: ChatCreateNestedOneWithoutMessagesInput
112411
+ file?: FileCreateNestedOneWithoutMessageInput
112344
112412
  }
112345
112413
 
112346
112414
  export type MessageUncheckedCreateInput = {
@@ -112353,6 +112421,7 @@ export namespace Prisma {
112353
112421
  messageSid?: string | null
112354
112422
  userId?: number | null
112355
112423
  chatId: number
112424
+ fileId?: string | null
112356
112425
  }
112357
112426
 
112358
112427
  export type MessageUpdateInput = {
@@ -112364,6 +112433,7 @@ export namespace Prisma {
112364
112433
  messageSid?: NullableStringFieldUpdateOperationsInput | string | null
112365
112434
  user?: UserUpdateOneWithoutMessagesNestedInput
112366
112435
  chat?: ChatUpdateOneRequiredWithoutMessagesNestedInput
112436
+ file?: FileUpdateOneWithoutMessageNestedInput
112367
112437
  }
112368
112438
 
112369
112439
  export type MessageUncheckedUpdateInput = {
@@ -112376,6 +112446,7 @@ export namespace Prisma {
112376
112446
  messageSid?: NullableStringFieldUpdateOperationsInput | string | null
112377
112447
  userId?: NullableIntFieldUpdateOperationsInput | number | null
112378
112448
  chatId?: IntFieldUpdateOperationsInput | number
112449
+ fileId?: NullableStringFieldUpdateOperationsInput | string | null
112379
112450
  }
112380
112451
 
112381
112452
  export type MessageCreateManyInput = {
@@ -112388,6 +112459,7 @@ export namespace Prisma {
112388
112459
  messageSid?: string | null
112389
112460
  userId?: number | null
112390
112461
  chatId: number
112462
+ fileId?: string | null
112391
112463
  }
112392
112464
 
112393
112465
  export type MessageUpdateManyMutationInput = {
@@ -112409,6 +112481,7 @@ export namespace Prisma {
112409
112481
  messageSid?: NullableStringFieldUpdateOperationsInput | string | null
112410
112482
  userId?: NullableIntFieldUpdateOperationsInput | number | null
112411
112483
  chatId?: IntFieldUpdateOperationsInput | number
112484
+ fileId?: NullableStringFieldUpdateOperationsInput | string | null
112412
112485
  }
112413
112486
 
112414
112487
  export type CampaignCreateInput = {
@@ -117403,6 +117476,7 @@ export namespace Prisma {
117403
117476
  createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
117404
117477
  editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
117405
117478
  brandContract?: BrandContractCreateNestedOneWithoutFileInput
117479
+ message?: MessageCreateNestedOneWithoutFileInput
117406
117480
  }
117407
117481
 
117408
117482
  export type FileUncheckedCreateInput = {
@@ -117420,6 +117494,7 @@ export namespace Prisma {
117420
117494
  updatedAt?: Date | string
117421
117495
  archivedAt?: Date | string | null
117422
117496
  brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
117497
+ message?: MessageUncheckedCreateNestedOneWithoutFileInput
117423
117498
  }
117424
117499
 
117425
117500
  export type FileUpdateInput = {
@@ -117437,6 +117512,7 @@ export namespace Prisma {
117437
117512
  createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
117438
117513
  editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
117439
117514
  brandContract?: BrandContractUpdateOneWithoutFileNestedInput
117515
+ message?: MessageUpdateOneWithoutFileNestedInput
117440
117516
  }
117441
117517
 
117442
117518
  export type FileUncheckedUpdateInput = {
@@ -117454,6 +117530,7 @@ export namespace Prisma {
117454
117530
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
117455
117531
  archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
117456
117532
  brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
117533
+ message?: MessageUncheckedUpdateOneWithoutFileNestedInput
117457
117534
  }
117458
117535
 
117459
117536
  export type FileCreateManyInput = {
@@ -119420,6 +119497,11 @@ export namespace Prisma {
119420
119497
  isNot?: ChatWhereInput
119421
119498
  }
119422
119499
 
119500
+ export type FileNullableRelationFilter = {
119501
+ is?: FileWhereInput | null
119502
+ isNot?: FileWhereInput | null
119503
+ }
119504
+
119423
119505
  export type MessageOrderByRelevanceInput = {
119424
119506
  fields: MessageOrderByRelevanceFieldEnum | MessageOrderByRelevanceFieldEnum[]
119425
119507
  sort: SortOrder
@@ -119436,6 +119518,7 @@ export namespace Prisma {
119436
119518
  messageSid?: SortOrder
119437
119519
  userId?: SortOrder
119438
119520
  chatId?: SortOrder
119521
+ fileId?: SortOrder
119439
119522
  }
119440
119523
 
119441
119524
  export type MessageAvgOrderByAggregateInput = {
@@ -119454,6 +119537,7 @@ export namespace Prisma {
119454
119537
  messageSid?: SortOrder
119455
119538
  userId?: SortOrder
119456
119539
  chatId?: SortOrder
119540
+ fileId?: SortOrder
119457
119541
  }
119458
119542
 
119459
119543
  export type MessageMinOrderByAggregateInput = {
@@ -119466,6 +119550,7 @@ export namespace Prisma {
119466
119550
  messageSid?: SortOrder
119467
119551
  userId?: SortOrder
119468
119552
  chatId?: SortOrder
119553
+ fileId?: SortOrder
119469
119554
  }
119470
119555
 
119471
119556
  export type MessageSumOrderByAggregateInput = {
@@ -123222,11 +123307,6 @@ export namespace Prisma {
123222
123307
  editedByUserId?: SortOrder
123223
123308
  }
123224
123309
 
123225
- export type FileNullableRelationFilter = {
123226
- is?: FileWhereInput | null
123227
- isNot?: FileWhereInput | null
123228
- }
123229
-
123230
123310
  export type BrandContractOrderByRelevanceInput = {
123231
123311
  fields: BrandContractOrderByRelevanceFieldEnum | BrandContractOrderByRelevanceFieldEnum[]
123232
123312
  sort: SortOrder
@@ -123303,6 +123383,11 @@ export namespace Prisma {
123303
123383
  isNot?: BrandContractWhereInput | null
123304
123384
  }
123305
123385
 
123386
+ export type MessageNullableRelationFilter = {
123387
+ is?: MessageWhereInput | null
123388
+ isNot?: MessageWhereInput | null
123389
+ }
123390
+
123306
123391
  export type FileOrderByRelevanceInput = {
123307
123392
  fields: FileOrderByRelevanceFieldEnum | FileOrderByRelevanceFieldEnum[]
123308
123393
  sort: SortOrder
@@ -126394,6 +126479,12 @@ export namespace Prisma {
126394
126479
  connect?: ChatWhereUniqueInput
126395
126480
  }
126396
126481
 
126482
+ export type FileCreateNestedOneWithoutMessageInput = {
126483
+ create?: XOR<FileCreateWithoutMessageInput, FileUncheckedCreateWithoutMessageInput>
126484
+ connectOrCreate?: FileCreateOrConnectWithoutMessageInput
126485
+ connect?: FileWhereUniqueInput
126486
+ }
126487
+
126397
126488
  export type UserUpdateOneWithoutMessagesNestedInput = {
126398
126489
  create?: XOR<UserCreateWithoutMessagesInput, UserUncheckedCreateWithoutMessagesInput>
126399
126490
  connectOrCreate?: UserCreateOrConnectWithoutMessagesInput
@@ -126412,6 +126503,16 @@ export namespace Prisma {
126412
126503
  update?: XOR<XOR<ChatUpdateToOneWithWhereWithoutMessagesInput, ChatUpdateWithoutMessagesInput>, ChatUncheckedUpdateWithoutMessagesInput>
126413
126504
  }
126414
126505
 
126506
+ export type FileUpdateOneWithoutMessageNestedInput = {
126507
+ create?: XOR<FileCreateWithoutMessageInput, FileUncheckedCreateWithoutMessageInput>
126508
+ connectOrCreate?: FileCreateOrConnectWithoutMessageInput
126509
+ upsert?: FileUpsertWithoutMessageInput
126510
+ disconnect?: FileWhereInput | boolean
126511
+ delete?: FileWhereInput | boolean
126512
+ connect?: FileWhereUniqueInput
126513
+ update?: XOR<XOR<FileUpdateToOneWithWhereWithoutMessageInput, FileUpdateWithoutMessageInput>, FileUncheckedUpdateWithoutMessageInput>
126514
+ }
126515
+
126415
126516
  export type CampaignStepCreateNestedManyWithoutCampaignInput = {
126416
126517
  create?: XOR<CampaignStepCreateWithoutCampaignInput, CampaignStepUncheckedCreateWithoutCampaignInput> | CampaignStepCreateWithoutCampaignInput[] | CampaignStepUncheckedCreateWithoutCampaignInput[]
126417
126518
  connectOrCreate?: CampaignStepCreateOrConnectWithoutCampaignInput | CampaignStepCreateOrConnectWithoutCampaignInput[]
@@ -130968,12 +131069,24 @@ export namespace Prisma {
130968
131069
  connect?: BrandContractWhereUniqueInput
130969
131070
  }
130970
131071
 
131072
+ export type MessageCreateNestedOneWithoutFileInput = {
131073
+ create?: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
131074
+ connectOrCreate?: MessageCreateOrConnectWithoutFileInput
131075
+ connect?: MessageWhereUniqueInput
131076
+ }
131077
+
130971
131078
  export type BrandContractUncheckedCreateNestedOneWithoutFileInput = {
130972
131079
  create?: XOR<BrandContractCreateWithoutFileInput, BrandContractUncheckedCreateWithoutFileInput>
130973
131080
  connectOrCreate?: BrandContractCreateOrConnectWithoutFileInput
130974
131081
  connect?: BrandContractWhereUniqueInput
130975
131082
  }
130976
131083
 
131084
+ export type MessageUncheckedCreateNestedOneWithoutFileInput = {
131085
+ create?: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
131086
+ connectOrCreate?: MessageCreateOrConnectWithoutFileInput
131087
+ connect?: MessageWhereUniqueInput
131088
+ }
131089
+
130977
131090
  export type BrandUpdateOneRequiredWithoutFilesNestedInput = {
130978
131091
  create?: XOR<BrandCreateWithoutFilesInput, BrandUncheckedCreateWithoutFilesInput>
130979
131092
  connectOrCreate?: BrandCreateOrConnectWithoutFilesInput
@@ -131010,6 +131123,16 @@ export namespace Prisma {
131010
131123
  update?: XOR<XOR<BrandContractUpdateToOneWithWhereWithoutFileInput, BrandContractUpdateWithoutFileInput>, BrandContractUncheckedUpdateWithoutFileInput>
131011
131124
  }
131012
131125
 
131126
+ export type MessageUpdateOneWithoutFileNestedInput = {
131127
+ create?: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
131128
+ connectOrCreate?: MessageCreateOrConnectWithoutFileInput
131129
+ upsert?: MessageUpsertWithoutFileInput
131130
+ disconnect?: MessageWhereInput | boolean
131131
+ delete?: MessageWhereInput | boolean
131132
+ connect?: MessageWhereUniqueInput
131133
+ update?: XOR<XOR<MessageUpdateToOneWithWhereWithoutFileInput, MessageUpdateWithoutFileInput>, MessageUncheckedUpdateWithoutFileInput>
131134
+ }
131135
+
131013
131136
  export type BrandContractUncheckedUpdateOneWithoutFileNestedInput = {
131014
131137
  create?: XOR<BrandContractCreateWithoutFileInput, BrandContractUncheckedCreateWithoutFileInput>
131015
131138
  connectOrCreate?: BrandContractCreateOrConnectWithoutFileInput
@@ -131020,6 +131143,16 @@ export namespace Prisma {
131020
131143
  update?: XOR<XOR<BrandContractUpdateToOneWithWhereWithoutFileInput, BrandContractUpdateWithoutFileInput>, BrandContractUncheckedUpdateWithoutFileInput>
131021
131144
  }
131022
131145
 
131146
+ export type MessageUncheckedUpdateOneWithoutFileNestedInput = {
131147
+ create?: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
131148
+ connectOrCreate?: MessageCreateOrConnectWithoutFileInput
131149
+ upsert?: MessageUpsertWithoutFileInput
131150
+ disconnect?: MessageWhereInput | boolean
131151
+ delete?: MessageWhereInput | boolean
131152
+ connect?: MessageWhereUniqueInput
131153
+ update?: XOR<XOR<MessageUpdateToOneWithWhereWithoutFileInput, MessageUpdateWithoutFileInput>, MessageUncheckedUpdateWithoutFileInput>
131154
+ }
131155
+
131023
131156
  export type BrandCreateNestedOneWithoutCreditRefundBatchesInput = {
131024
131157
  create?: XOR<BrandCreateWithoutCreditRefundBatchesInput, BrandUncheckedCreateWithoutCreditRefundBatchesInput>
131025
131158
  connectOrCreate?: BrandCreateOrConnectWithoutCreditRefundBatchesInput
@@ -132253,6 +132386,7 @@ export namespace Prisma {
132253
132386
  type?: string
132254
132387
  messageSid?: string | null
132255
132388
  chat: ChatCreateNestedOneWithoutMessagesInput
132389
+ file?: FileCreateNestedOneWithoutMessageInput
132256
132390
  }
132257
132391
 
132258
132392
  export type MessageUncheckedCreateWithoutUserInput = {
@@ -132264,6 +132398,7 @@ export namespace Prisma {
132264
132398
  type?: string
132265
132399
  messageSid?: string | null
132266
132400
  chatId: number
132401
+ fileId?: string | null
132267
132402
  }
132268
132403
 
132269
132404
  export type MessageCreateOrConnectWithoutUserInput = {
@@ -132845,6 +132980,7 @@ export namespace Prisma {
132845
132980
  brand: BrandCreateNestedOneWithoutFilesInput
132846
132981
  editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
132847
132982
  brandContract?: BrandContractCreateNestedOneWithoutFileInput
132983
+ message?: MessageCreateNestedOneWithoutFileInput
132848
132984
  }
132849
132985
 
132850
132986
  export type FileUncheckedCreateWithoutCreatedByUserInput = {
@@ -132861,6 +132997,7 @@ export namespace Prisma {
132861
132997
  updatedAt?: Date | string
132862
132998
  archivedAt?: Date | string | null
132863
132999
  brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
133000
+ message?: MessageUncheckedCreateNestedOneWithoutFileInput
132864
133001
  }
132865
133002
 
132866
133003
  export type FileCreateOrConnectWithoutCreatedByUserInput = {
@@ -132887,6 +133024,7 @@ export namespace Prisma {
132887
133024
  brand: BrandCreateNestedOneWithoutFilesInput
132888
133025
  createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
132889
133026
  brandContract?: BrandContractCreateNestedOneWithoutFileInput
133027
+ message?: MessageCreateNestedOneWithoutFileInput
132890
133028
  }
132891
133029
 
132892
133030
  export type FileUncheckedCreateWithoutEditedByUserInput = {
@@ -132903,6 +133041,7 @@ export namespace Prisma {
132903
133041
  updatedAt?: Date | string
132904
133042
  archivedAt?: Date | string | null
132905
133043
  brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
133044
+ message?: MessageUncheckedCreateNestedOneWithoutFileInput
132906
133045
  }
132907
133046
 
132908
133047
  export type FileCreateOrConnectWithoutEditedByUserInput = {
@@ -133591,6 +133730,7 @@ export namespace Prisma {
133591
133730
  messageSid?: StringNullableFilter<"Message"> | string | null
133592
133731
  userId?: IntNullableFilter<"Message"> | number | null
133593
133732
  chatId?: IntFilter<"Message"> | number
133733
+ fileId?: StringNullableFilter<"Message"> | string | null
133594
133734
  }
133595
133735
 
133596
133736
  export type SocialPostUpsertWithWhereUniqueWithoutUserInput = {
@@ -138042,6 +138182,7 @@ export namespace Prisma {
138042
138182
  createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
138043
138183
  editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
138044
138184
  brandContract?: BrandContractCreateNestedOneWithoutFileInput
138185
+ message?: MessageCreateNestedOneWithoutFileInput
138045
138186
  }
138046
138187
 
138047
138188
  export type FileUncheckedCreateWithoutBrandInput = {
@@ -138058,6 +138199,7 @@ export namespace Prisma {
138058
138199
  updatedAt?: Date | string
138059
138200
  archivedAt?: Date | string | null
138060
138201
  brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
138202
+ message?: MessageUncheckedCreateNestedOneWithoutFileInput
138061
138203
  }
138062
138204
 
138063
138205
  export type FileCreateOrConnectWithoutBrandInput = {
@@ -140657,6 +140799,7 @@ export namespace Prisma {
140657
140799
  type?: string
140658
140800
  messageSid?: string | null
140659
140801
  user?: UserCreateNestedOneWithoutMessagesInput
140802
+ file?: FileCreateNestedOneWithoutMessageInput
140660
140803
  }
140661
140804
 
140662
140805
  export type MessageUncheckedCreateWithoutChatInput = {
@@ -140668,6 +140811,7 @@ export namespace Prisma {
140668
140811
  type?: string
140669
140812
  messageSid?: string | null
140670
140813
  userId?: number | null
140814
+ fileId?: string | null
140671
140815
  }
140672
140816
 
140673
140817
  export type MessageCreateOrConnectWithoutChatInput = {
@@ -140906,6 +141050,45 @@ export namespace Prisma {
140906
141050
  create: XOR<ChatCreateWithoutMessagesInput, ChatUncheckedCreateWithoutMessagesInput>
140907
141051
  }
140908
141052
 
141053
+ export type FileCreateWithoutMessageInput = {
141054
+ id?: string
141055
+ name: string
141056
+ description?: string | null
141057
+ status: number
141058
+ md5: string
141059
+ type: string
141060
+ size: number
141061
+ createdAt?: Date | string
141062
+ updatedAt?: Date | string
141063
+ archivedAt?: Date | string | null
141064
+ brand: BrandCreateNestedOneWithoutFilesInput
141065
+ createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
141066
+ editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
141067
+ brandContract?: BrandContractCreateNestedOneWithoutFileInput
141068
+ }
141069
+
141070
+ export type FileUncheckedCreateWithoutMessageInput = {
141071
+ id?: string
141072
+ brandId: number
141073
+ name: string
141074
+ description?: string | null
141075
+ status: number
141076
+ md5: string
141077
+ type: string
141078
+ size: number
141079
+ createdByUserId: number
141080
+ editedByUserId?: number | null
141081
+ createdAt?: Date | string
141082
+ updatedAt?: Date | string
141083
+ archivedAt?: Date | string | null
141084
+ brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
141085
+ }
141086
+
141087
+ export type FileCreateOrConnectWithoutMessageInput = {
141088
+ where: FileWhereUniqueInput
141089
+ create: XOR<FileCreateWithoutMessageInput, FileUncheckedCreateWithoutMessageInput>
141090
+ }
141091
+
140909
141092
  export type UserUpsertWithoutMessagesInput = {
140910
141093
  update: XOR<UserUpdateWithoutMessagesInput, UserUncheckedUpdateWithoutMessagesInput>
140911
141094
  create: XOR<UserCreateWithoutMessagesInput, UserUncheckedCreateWithoutMessagesInput>
@@ -141050,6 +141233,51 @@ export namespace Prisma {
141050
141233
  optInId?: NullableIntFieldUpdateOperationsInput | number | null
141051
141234
  }
141052
141235
 
141236
+ export type FileUpsertWithoutMessageInput = {
141237
+ update: XOR<FileUpdateWithoutMessageInput, FileUncheckedUpdateWithoutMessageInput>
141238
+ create: XOR<FileCreateWithoutMessageInput, FileUncheckedCreateWithoutMessageInput>
141239
+ where?: FileWhereInput
141240
+ }
141241
+
141242
+ export type FileUpdateToOneWithWhereWithoutMessageInput = {
141243
+ where?: FileWhereInput
141244
+ data: XOR<FileUpdateWithoutMessageInput, FileUncheckedUpdateWithoutMessageInput>
141245
+ }
141246
+
141247
+ export type FileUpdateWithoutMessageInput = {
141248
+ id?: StringFieldUpdateOperationsInput | string
141249
+ name?: StringFieldUpdateOperationsInput | string
141250
+ description?: NullableStringFieldUpdateOperationsInput | string | null
141251
+ status?: IntFieldUpdateOperationsInput | number
141252
+ md5?: StringFieldUpdateOperationsInput | string
141253
+ type?: StringFieldUpdateOperationsInput | string
141254
+ size?: IntFieldUpdateOperationsInput | number
141255
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
141256
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
141257
+ archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141258
+ brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
141259
+ createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
141260
+ editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
141261
+ brandContract?: BrandContractUpdateOneWithoutFileNestedInput
141262
+ }
141263
+
141264
+ export type FileUncheckedUpdateWithoutMessageInput = {
141265
+ id?: StringFieldUpdateOperationsInput | string
141266
+ brandId?: IntFieldUpdateOperationsInput | number
141267
+ name?: StringFieldUpdateOperationsInput | string
141268
+ description?: NullableStringFieldUpdateOperationsInput | string | null
141269
+ status?: IntFieldUpdateOperationsInput | number
141270
+ md5?: StringFieldUpdateOperationsInput | string
141271
+ type?: StringFieldUpdateOperationsInput | string
141272
+ size?: IntFieldUpdateOperationsInput | number
141273
+ createdByUserId?: IntFieldUpdateOperationsInput | number
141274
+ editedByUserId?: NullableIntFieldUpdateOperationsInput | number | null
141275
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
141276
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
141277
+ archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
141278
+ brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
141279
+ }
141280
+
141053
141281
  export type CampaignStepCreateWithoutCampaignInput = {
141054
141282
  placement: number
141055
141283
  stepSettings?: NullableJsonNullValueInput | InputJsonValue
@@ -160505,6 +160733,7 @@ export namespace Prisma {
160505
160733
  brand: BrandCreateNestedOneWithoutFilesInput
160506
160734
  createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
160507
160735
  editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
160736
+ message?: MessageCreateNestedOneWithoutFileInput
160508
160737
  }
160509
160738
 
160510
160739
  export type FileUncheckedCreateWithoutBrandContractInput = {
@@ -160521,6 +160750,7 @@ export namespace Prisma {
160521
160750
  createdAt?: Date | string
160522
160751
  updatedAt?: Date | string
160523
160752
  archivedAt?: Date | string | null
160753
+ message?: MessageUncheckedCreateNestedOneWithoutFileInput
160524
160754
  }
160525
160755
 
160526
160756
  export type FileCreateOrConnectWithoutBrandContractInput = {
@@ -160875,6 +161105,7 @@ export namespace Prisma {
160875
161105
  brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
160876
161106
  createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
160877
161107
  editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
161108
+ message?: MessageUpdateOneWithoutFileNestedInput
160878
161109
  }
160879
161110
 
160880
161111
  export type FileUncheckedUpdateWithoutBrandContractInput = {
@@ -160891,6 +161122,7 @@ export namespace Prisma {
160891
161122
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
160892
161123
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
160893
161124
  archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
161125
+ message?: MessageUncheckedUpdateOneWithoutFileNestedInput
160894
161126
  }
160895
161127
 
160896
161128
  export type UserUpsertWithoutContractsCreatedInput = {
@@ -161481,6 +161713,34 @@ export namespace Prisma {
161481
161713
  create: XOR<BrandContractCreateWithoutFileInput, BrandContractUncheckedCreateWithoutFileInput>
161482
161714
  }
161483
161715
 
161716
+ export type MessageCreateWithoutFileInput = {
161717
+ created?: Date | string | null
161718
+ sender: string
161719
+ content: string
161720
+ read?: boolean
161721
+ type?: string
161722
+ messageSid?: string | null
161723
+ user?: UserCreateNestedOneWithoutMessagesInput
161724
+ chat: ChatCreateNestedOneWithoutMessagesInput
161725
+ }
161726
+
161727
+ export type MessageUncheckedCreateWithoutFileInput = {
161728
+ id?: number
161729
+ created?: Date | string | null
161730
+ sender: string
161731
+ content: string
161732
+ read?: boolean
161733
+ type?: string
161734
+ messageSid?: string | null
161735
+ userId?: number | null
161736
+ chatId: number
161737
+ }
161738
+
161739
+ export type MessageCreateOrConnectWithoutFileInput = {
161740
+ where: MessageWhereUniqueInput
161741
+ create: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
161742
+ }
161743
+
161484
161744
  export type BrandUpsertWithoutFilesInput = {
161485
161745
  update: XOR<BrandUpdateWithoutFilesInput, BrandUncheckedUpdateWithoutFilesInput>
161486
161746
  create: XOR<BrandCreateWithoutFilesInput, BrandUncheckedCreateWithoutFilesInput>
@@ -161857,6 +162117,40 @@ export namespace Prisma {
161857
162117
  editedByUserId?: NullableIntFieldUpdateOperationsInput | number | null
161858
162118
  }
161859
162119
 
162120
+ export type MessageUpsertWithoutFileInput = {
162121
+ update: XOR<MessageUpdateWithoutFileInput, MessageUncheckedUpdateWithoutFileInput>
162122
+ create: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
162123
+ where?: MessageWhereInput
162124
+ }
162125
+
162126
+ export type MessageUpdateToOneWithWhereWithoutFileInput = {
162127
+ where?: MessageWhereInput
162128
+ data: XOR<MessageUpdateWithoutFileInput, MessageUncheckedUpdateWithoutFileInput>
162129
+ }
162130
+
162131
+ export type MessageUpdateWithoutFileInput = {
162132
+ created?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
162133
+ sender?: StringFieldUpdateOperationsInput | string
162134
+ content?: StringFieldUpdateOperationsInput | string
162135
+ read?: BoolFieldUpdateOperationsInput | boolean
162136
+ type?: StringFieldUpdateOperationsInput | string
162137
+ messageSid?: NullableStringFieldUpdateOperationsInput | string | null
162138
+ user?: UserUpdateOneWithoutMessagesNestedInput
162139
+ chat?: ChatUpdateOneRequiredWithoutMessagesNestedInput
162140
+ }
162141
+
162142
+ export type MessageUncheckedUpdateWithoutFileInput = {
162143
+ id?: IntFieldUpdateOperationsInput | number
162144
+ created?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
162145
+ sender?: StringFieldUpdateOperationsInput | string
162146
+ content?: StringFieldUpdateOperationsInput | string
162147
+ read?: BoolFieldUpdateOperationsInput | boolean
162148
+ type?: StringFieldUpdateOperationsInput | string
162149
+ messageSid?: NullableStringFieldUpdateOperationsInput | string | null
162150
+ userId?: NullableIntFieldUpdateOperationsInput | number | null
162151
+ chatId?: IntFieldUpdateOperationsInput | number
162152
+ }
162153
+
161860
162154
  export type BrandCreateWithoutCreditRefundBatchesInput = {
161861
162155
  name: string
161862
162156
  description?: string | null
@@ -162195,6 +162489,7 @@ export namespace Prisma {
162195
162489
  type?: string
162196
162490
  messageSid?: string | null
162197
162491
  chatId: number
162492
+ fileId?: string | null
162198
162493
  }
162199
162494
 
162200
162495
  export type SocialPostCreateManyUserInput = {
@@ -162788,6 +163083,7 @@ export namespace Prisma {
162788
163083
  type?: StringFieldUpdateOperationsInput | string
162789
163084
  messageSid?: NullableStringFieldUpdateOperationsInput | string | null
162790
163085
  chat?: ChatUpdateOneRequiredWithoutMessagesNestedInput
163086
+ file?: FileUpdateOneWithoutMessageNestedInput
162791
163087
  }
162792
163088
 
162793
163089
  export type MessageUncheckedUpdateWithoutUserInput = {
@@ -162799,6 +163095,7 @@ export namespace Prisma {
162799
163095
  type?: StringFieldUpdateOperationsInput | string
162800
163096
  messageSid?: NullableStringFieldUpdateOperationsInput | string | null
162801
163097
  chatId?: IntFieldUpdateOperationsInput | number
163098
+ fileId?: NullableStringFieldUpdateOperationsInput | string | null
162802
163099
  }
162803
163100
 
162804
163101
  export type MessageUncheckedUpdateManyWithoutUserInput = {
@@ -162810,6 +163107,7 @@ export namespace Prisma {
162810
163107
  type?: StringFieldUpdateOperationsInput | string
162811
163108
  messageSid?: NullableStringFieldUpdateOperationsInput | string | null
162812
163109
  chatId?: IntFieldUpdateOperationsInput | number
163110
+ fileId?: NullableStringFieldUpdateOperationsInput | string | null
162813
163111
  }
162814
163112
 
162815
163113
  export type SocialPostUpdateWithoutUserInput = {
@@ -163430,6 +163728,7 @@ export namespace Prisma {
163430
163728
  brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
163431
163729
  editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
163432
163730
  brandContract?: BrandContractUpdateOneWithoutFileNestedInput
163731
+ message?: MessageUpdateOneWithoutFileNestedInput
163433
163732
  }
163434
163733
 
163435
163734
  export type FileUncheckedUpdateWithoutCreatedByUserInput = {
@@ -163446,6 +163745,7 @@ export namespace Prisma {
163446
163745
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
163447
163746
  archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
163448
163747
  brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
163748
+ message?: MessageUncheckedUpdateOneWithoutFileNestedInput
163449
163749
  }
163450
163750
 
163451
163751
  export type FileUncheckedUpdateManyWithoutCreatedByUserInput = {
@@ -163477,6 +163777,7 @@ export namespace Prisma {
163477
163777
  brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
163478
163778
  createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
163479
163779
  brandContract?: BrandContractUpdateOneWithoutFileNestedInput
163780
+ message?: MessageUpdateOneWithoutFileNestedInput
163480
163781
  }
163481
163782
 
163482
163783
  export type FileUncheckedUpdateWithoutEditedByUserInput = {
@@ -163493,6 +163794,7 @@ export namespace Prisma {
163493
163794
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
163494
163795
  archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
163495
163796
  brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
163797
+ message?: MessageUncheckedUpdateOneWithoutFileNestedInput
163496
163798
  }
163497
163799
 
163498
163800
  export type FileUncheckedUpdateManyWithoutEditedByUserInput = {
@@ -164644,6 +164946,7 @@ export namespace Prisma {
164644
164946
  createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
164645
164947
  editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
164646
164948
  brandContract?: BrandContractUpdateOneWithoutFileNestedInput
164949
+ message?: MessageUpdateOneWithoutFileNestedInput
164647
164950
  }
164648
164951
 
164649
164952
  export type FileUncheckedUpdateWithoutBrandInput = {
@@ -164660,6 +164963,7 @@ export namespace Prisma {
164660
164963
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
164661
164964
  archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
164662
164965
  brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
164966
+ message?: MessageUncheckedUpdateOneWithoutFileNestedInput
164663
164967
  }
164664
164968
 
164665
164969
  export type FileUncheckedUpdateManyWithoutBrandInput = {
@@ -164831,6 +165135,7 @@ export namespace Prisma {
164831
165135
  type?: string
164832
165136
  messageSid?: string | null
164833
165137
  userId?: number | null
165138
+ fileId?: string | null
164834
165139
  }
164835
165140
 
164836
165141
  export type MessageUpdateWithoutChatInput = {
@@ -164841,6 +165146,7 @@ export namespace Prisma {
164841
165146
  type?: StringFieldUpdateOperationsInput | string
164842
165147
  messageSid?: NullableStringFieldUpdateOperationsInput | string | null
164843
165148
  user?: UserUpdateOneWithoutMessagesNestedInput
165149
+ file?: FileUpdateOneWithoutMessageNestedInput
164844
165150
  }
164845
165151
 
164846
165152
  export type MessageUncheckedUpdateWithoutChatInput = {
@@ -164852,6 +165158,7 @@ export namespace Prisma {
164852
165158
  type?: StringFieldUpdateOperationsInput | string
164853
165159
  messageSid?: NullableStringFieldUpdateOperationsInput | string | null
164854
165160
  userId?: NullableIntFieldUpdateOperationsInput | number | null
165161
+ fileId?: NullableStringFieldUpdateOperationsInput | string | null
164855
165162
  }
164856
165163
 
164857
165164
  export type MessageUncheckedUpdateManyWithoutChatInput = {
@@ -164863,6 +165170,7 @@ export namespace Prisma {
164863
165170
  type?: StringFieldUpdateOperationsInput | string
164864
165171
  messageSid?: NullableStringFieldUpdateOperationsInput | string | null
164865
165172
  userId?: NullableIntFieldUpdateOperationsInput | number | null
165173
+ fileId?: NullableStringFieldUpdateOperationsInput | string | null
164866
165174
  }
164867
165175
 
164868
165176
  export type CampaignStepCreateManyCampaignInput = {