@creator.co/creatorco-prisma-client 1.0.71 → 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/edge.js +8 -6
- package/index-browser.js +4 -2
- package/index.d.ts +323 -9
- package/index.js +8 -6
- package/package.json +1 -1
- package/schema.prisma +4 -0
- package/wasm.js +4 -2
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
|
-
|
|
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 = {
|
|
@@ -108432,6 +108496,7 @@ export namespace Prisma {
|
|
|
108432
108496
|
|
|
108433
108497
|
export type CreatorListItemWhereUniqueInput = Prisma.AtLeast<{
|
|
108434
108498
|
id?: number
|
|
108499
|
+
creatorListId_socialProfileId?: CreatorListItemCreatorListIdSocialProfileIdCompoundUniqueInput
|
|
108435
108500
|
AND?: CreatorListItemWhereInput | CreatorListItemWhereInput[]
|
|
108436
108501
|
OR?: CreatorListItemWhereInput[]
|
|
108437
108502
|
NOT?: CreatorListItemWhereInput | CreatorListItemWhereInput[]
|
|
@@ -108448,7 +108513,7 @@ export namespace Prisma {
|
|
|
108448
108513
|
sequenceOutboundEmails?: SequenceOutboundEmailListRelationFilter
|
|
108449
108514
|
sequenceInboundEmails?: SequenceInboundEmailListRelationFilter
|
|
108450
108515
|
sequenceImapCheckpoints?: SequenceImapCheckpointListRelationFilter
|
|
108451
|
-
}, "id">
|
|
108516
|
+
}, "id" | "creatorListId_socialProfileId">
|
|
108452
108517
|
|
|
108453
108518
|
export type CreatorListItemOrderByWithAggregationInput = {
|
|
108454
108519
|
id?: SortOrder
|
|
@@ -110257,6 +110322,7 @@ export namespace Prisma {
|
|
|
110257
110322
|
createdByUser?: XOR<UserRelationFilter, UserWhereInput>
|
|
110258
110323
|
editedByUser?: XOR<UserNullableRelationFilter, UserWhereInput> | null
|
|
110259
110324
|
brandContract?: XOR<BrandContractNullableRelationFilter, BrandContractWhereInput> | null
|
|
110325
|
+
message?: XOR<MessageNullableRelationFilter, MessageWhereInput> | null
|
|
110260
110326
|
}
|
|
110261
110327
|
|
|
110262
110328
|
export type FileOrderByWithRelationAndSearchRelevanceInput = {
|
|
@@ -110277,6 +110343,7 @@ export namespace Prisma {
|
|
|
110277
110343
|
createdByUser?: UserOrderByWithRelationAndSearchRelevanceInput
|
|
110278
110344
|
editedByUser?: UserOrderByWithRelationAndSearchRelevanceInput
|
|
110279
110345
|
brandContract?: BrandContractOrderByWithRelationAndSearchRelevanceInput
|
|
110346
|
+
message?: MessageOrderByWithRelationAndSearchRelevanceInput
|
|
110280
110347
|
_relevance?: FileOrderByRelevanceInput
|
|
110281
110348
|
}
|
|
110282
110349
|
|
|
@@ -110301,6 +110368,7 @@ export namespace Prisma {
|
|
|
110301
110368
|
createdByUser?: XOR<UserRelationFilter, UserWhereInput>
|
|
110302
110369
|
editedByUser?: XOR<UserNullableRelationFilter, UserWhereInput> | null
|
|
110303
110370
|
brandContract?: XOR<BrandContractNullableRelationFilter, BrandContractWhereInput> | null
|
|
110371
|
+
message?: XOR<MessageNullableRelationFilter, MessageWhereInput> | null
|
|
110304
110372
|
}, "id">
|
|
110305
110373
|
|
|
110306
110374
|
export type FileOrderByWithAggregationInput = {
|
|
@@ -112340,6 +112408,7 @@ export namespace Prisma {
|
|
|
112340
112408
|
messageSid?: string | null
|
|
112341
112409
|
user?: UserCreateNestedOneWithoutMessagesInput
|
|
112342
112410
|
chat: ChatCreateNestedOneWithoutMessagesInput
|
|
112411
|
+
file?: FileCreateNestedOneWithoutMessageInput
|
|
112343
112412
|
}
|
|
112344
112413
|
|
|
112345
112414
|
export type MessageUncheckedCreateInput = {
|
|
@@ -112352,6 +112421,7 @@ export namespace Prisma {
|
|
|
112352
112421
|
messageSid?: string | null
|
|
112353
112422
|
userId?: number | null
|
|
112354
112423
|
chatId: number
|
|
112424
|
+
fileId?: string | null
|
|
112355
112425
|
}
|
|
112356
112426
|
|
|
112357
112427
|
export type MessageUpdateInput = {
|
|
@@ -112363,6 +112433,7 @@ export namespace Prisma {
|
|
|
112363
112433
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
112364
112434
|
user?: UserUpdateOneWithoutMessagesNestedInput
|
|
112365
112435
|
chat?: ChatUpdateOneRequiredWithoutMessagesNestedInput
|
|
112436
|
+
file?: FileUpdateOneWithoutMessageNestedInput
|
|
112366
112437
|
}
|
|
112367
112438
|
|
|
112368
112439
|
export type MessageUncheckedUpdateInput = {
|
|
@@ -112375,6 +112446,7 @@ export namespace Prisma {
|
|
|
112375
112446
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
112376
112447
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
112377
112448
|
chatId?: IntFieldUpdateOperationsInput | number
|
|
112449
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
112378
112450
|
}
|
|
112379
112451
|
|
|
112380
112452
|
export type MessageCreateManyInput = {
|
|
@@ -112387,6 +112459,7 @@ export namespace Prisma {
|
|
|
112387
112459
|
messageSid?: string | null
|
|
112388
112460
|
userId?: number | null
|
|
112389
112461
|
chatId: number
|
|
112462
|
+
fileId?: string | null
|
|
112390
112463
|
}
|
|
112391
112464
|
|
|
112392
112465
|
export type MessageUpdateManyMutationInput = {
|
|
@@ -112408,6 +112481,7 @@ export namespace Prisma {
|
|
|
112408
112481
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
112409
112482
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
112410
112483
|
chatId?: IntFieldUpdateOperationsInput | number
|
|
112484
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
112411
112485
|
}
|
|
112412
112486
|
|
|
112413
112487
|
export type CampaignCreateInput = {
|
|
@@ -117402,6 +117476,7 @@ export namespace Prisma {
|
|
|
117402
117476
|
createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
|
|
117403
117477
|
editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
|
|
117404
117478
|
brandContract?: BrandContractCreateNestedOneWithoutFileInput
|
|
117479
|
+
message?: MessageCreateNestedOneWithoutFileInput
|
|
117405
117480
|
}
|
|
117406
117481
|
|
|
117407
117482
|
export type FileUncheckedCreateInput = {
|
|
@@ -117419,6 +117494,7 @@ export namespace Prisma {
|
|
|
117419
117494
|
updatedAt?: Date | string
|
|
117420
117495
|
archivedAt?: Date | string | null
|
|
117421
117496
|
brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
|
|
117497
|
+
message?: MessageUncheckedCreateNestedOneWithoutFileInput
|
|
117422
117498
|
}
|
|
117423
117499
|
|
|
117424
117500
|
export type FileUpdateInput = {
|
|
@@ -117436,6 +117512,7 @@ export namespace Prisma {
|
|
|
117436
117512
|
createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
|
|
117437
117513
|
editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
|
|
117438
117514
|
brandContract?: BrandContractUpdateOneWithoutFileNestedInput
|
|
117515
|
+
message?: MessageUpdateOneWithoutFileNestedInput
|
|
117439
117516
|
}
|
|
117440
117517
|
|
|
117441
117518
|
export type FileUncheckedUpdateInput = {
|
|
@@ -117453,6 +117530,7 @@ export namespace Prisma {
|
|
|
117453
117530
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
117454
117531
|
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
117455
117532
|
brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
|
|
117533
|
+
message?: MessageUncheckedUpdateOneWithoutFileNestedInput
|
|
117456
117534
|
}
|
|
117457
117535
|
|
|
117458
117536
|
export type FileCreateManyInput = {
|
|
@@ -119419,6 +119497,11 @@ export namespace Prisma {
|
|
|
119419
119497
|
isNot?: ChatWhereInput
|
|
119420
119498
|
}
|
|
119421
119499
|
|
|
119500
|
+
export type FileNullableRelationFilter = {
|
|
119501
|
+
is?: FileWhereInput | null
|
|
119502
|
+
isNot?: FileWhereInput | null
|
|
119503
|
+
}
|
|
119504
|
+
|
|
119422
119505
|
export type MessageOrderByRelevanceInput = {
|
|
119423
119506
|
fields: MessageOrderByRelevanceFieldEnum | MessageOrderByRelevanceFieldEnum[]
|
|
119424
119507
|
sort: SortOrder
|
|
@@ -119435,6 +119518,7 @@ export namespace Prisma {
|
|
|
119435
119518
|
messageSid?: SortOrder
|
|
119436
119519
|
userId?: SortOrder
|
|
119437
119520
|
chatId?: SortOrder
|
|
119521
|
+
fileId?: SortOrder
|
|
119438
119522
|
}
|
|
119439
119523
|
|
|
119440
119524
|
export type MessageAvgOrderByAggregateInput = {
|
|
@@ -119453,6 +119537,7 @@ export namespace Prisma {
|
|
|
119453
119537
|
messageSid?: SortOrder
|
|
119454
119538
|
userId?: SortOrder
|
|
119455
119539
|
chatId?: SortOrder
|
|
119540
|
+
fileId?: SortOrder
|
|
119456
119541
|
}
|
|
119457
119542
|
|
|
119458
119543
|
export type MessageMinOrderByAggregateInput = {
|
|
@@ -119465,6 +119550,7 @@ export namespace Prisma {
|
|
|
119465
119550
|
messageSid?: SortOrder
|
|
119466
119551
|
userId?: SortOrder
|
|
119467
119552
|
chatId?: SortOrder
|
|
119553
|
+
fileId?: SortOrder
|
|
119468
119554
|
}
|
|
119469
119555
|
|
|
119470
119556
|
export type MessageSumOrderByAggregateInput = {
|
|
@@ -121956,6 +122042,11 @@ export namespace Prisma {
|
|
|
121956
122042
|
search: string
|
|
121957
122043
|
}
|
|
121958
122044
|
|
|
122045
|
+
export type CreatorListItemCreatorListIdSocialProfileIdCompoundUniqueInput = {
|
|
122046
|
+
creatorListId: number
|
|
122047
|
+
socialProfileId: number
|
|
122048
|
+
}
|
|
122049
|
+
|
|
121959
122050
|
export type CreatorListItemCountOrderByAggregateInput = {
|
|
121960
122051
|
id?: SortOrder
|
|
121961
122052
|
socialProfileId?: SortOrder
|
|
@@ -123216,11 +123307,6 @@ export namespace Prisma {
|
|
|
123216
123307
|
editedByUserId?: SortOrder
|
|
123217
123308
|
}
|
|
123218
123309
|
|
|
123219
|
-
export type FileNullableRelationFilter = {
|
|
123220
|
-
is?: FileWhereInput | null
|
|
123221
|
-
isNot?: FileWhereInput | null
|
|
123222
|
-
}
|
|
123223
|
-
|
|
123224
123310
|
export type BrandContractOrderByRelevanceInput = {
|
|
123225
123311
|
fields: BrandContractOrderByRelevanceFieldEnum | BrandContractOrderByRelevanceFieldEnum[]
|
|
123226
123312
|
sort: SortOrder
|
|
@@ -123297,6 +123383,11 @@ export namespace Prisma {
|
|
|
123297
123383
|
isNot?: BrandContractWhereInput | null
|
|
123298
123384
|
}
|
|
123299
123385
|
|
|
123386
|
+
export type MessageNullableRelationFilter = {
|
|
123387
|
+
is?: MessageWhereInput | null
|
|
123388
|
+
isNot?: MessageWhereInput | null
|
|
123389
|
+
}
|
|
123390
|
+
|
|
123300
123391
|
export type FileOrderByRelevanceInput = {
|
|
123301
123392
|
fields: FileOrderByRelevanceFieldEnum | FileOrderByRelevanceFieldEnum[]
|
|
123302
123393
|
sort: SortOrder
|
|
@@ -126388,6 +126479,12 @@ export namespace Prisma {
|
|
|
126388
126479
|
connect?: ChatWhereUniqueInput
|
|
126389
126480
|
}
|
|
126390
126481
|
|
|
126482
|
+
export type FileCreateNestedOneWithoutMessageInput = {
|
|
126483
|
+
create?: XOR<FileCreateWithoutMessageInput, FileUncheckedCreateWithoutMessageInput>
|
|
126484
|
+
connectOrCreate?: FileCreateOrConnectWithoutMessageInput
|
|
126485
|
+
connect?: FileWhereUniqueInput
|
|
126486
|
+
}
|
|
126487
|
+
|
|
126391
126488
|
export type UserUpdateOneWithoutMessagesNestedInput = {
|
|
126392
126489
|
create?: XOR<UserCreateWithoutMessagesInput, UserUncheckedCreateWithoutMessagesInput>
|
|
126393
126490
|
connectOrCreate?: UserCreateOrConnectWithoutMessagesInput
|
|
@@ -126406,6 +126503,16 @@ export namespace Prisma {
|
|
|
126406
126503
|
update?: XOR<XOR<ChatUpdateToOneWithWhereWithoutMessagesInput, ChatUpdateWithoutMessagesInput>, ChatUncheckedUpdateWithoutMessagesInput>
|
|
126407
126504
|
}
|
|
126408
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
|
+
|
|
126409
126516
|
export type CampaignStepCreateNestedManyWithoutCampaignInput = {
|
|
126410
126517
|
create?: XOR<CampaignStepCreateWithoutCampaignInput, CampaignStepUncheckedCreateWithoutCampaignInput> | CampaignStepCreateWithoutCampaignInput[] | CampaignStepUncheckedCreateWithoutCampaignInput[]
|
|
126411
126518
|
connectOrCreate?: CampaignStepCreateOrConnectWithoutCampaignInput | CampaignStepCreateOrConnectWithoutCampaignInput[]
|
|
@@ -130962,12 +131069,24 @@ export namespace Prisma {
|
|
|
130962
131069
|
connect?: BrandContractWhereUniqueInput
|
|
130963
131070
|
}
|
|
130964
131071
|
|
|
131072
|
+
export type MessageCreateNestedOneWithoutFileInput = {
|
|
131073
|
+
create?: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
|
|
131074
|
+
connectOrCreate?: MessageCreateOrConnectWithoutFileInput
|
|
131075
|
+
connect?: MessageWhereUniqueInput
|
|
131076
|
+
}
|
|
131077
|
+
|
|
130965
131078
|
export type BrandContractUncheckedCreateNestedOneWithoutFileInput = {
|
|
130966
131079
|
create?: XOR<BrandContractCreateWithoutFileInput, BrandContractUncheckedCreateWithoutFileInput>
|
|
130967
131080
|
connectOrCreate?: BrandContractCreateOrConnectWithoutFileInput
|
|
130968
131081
|
connect?: BrandContractWhereUniqueInput
|
|
130969
131082
|
}
|
|
130970
131083
|
|
|
131084
|
+
export type MessageUncheckedCreateNestedOneWithoutFileInput = {
|
|
131085
|
+
create?: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
|
|
131086
|
+
connectOrCreate?: MessageCreateOrConnectWithoutFileInput
|
|
131087
|
+
connect?: MessageWhereUniqueInput
|
|
131088
|
+
}
|
|
131089
|
+
|
|
130971
131090
|
export type BrandUpdateOneRequiredWithoutFilesNestedInput = {
|
|
130972
131091
|
create?: XOR<BrandCreateWithoutFilesInput, BrandUncheckedCreateWithoutFilesInput>
|
|
130973
131092
|
connectOrCreate?: BrandCreateOrConnectWithoutFilesInput
|
|
@@ -131004,6 +131123,16 @@ export namespace Prisma {
|
|
|
131004
131123
|
update?: XOR<XOR<BrandContractUpdateToOneWithWhereWithoutFileInput, BrandContractUpdateWithoutFileInput>, BrandContractUncheckedUpdateWithoutFileInput>
|
|
131005
131124
|
}
|
|
131006
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
|
+
|
|
131007
131136
|
export type BrandContractUncheckedUpdateOneWithoutFileNestedInput = {
|
|
131008
131137
|
create?: XOR<BrandContractCreateWithoutFileInput, BrandContractUncheckedCreateWithoutFileInput>
|
|
131009
131138
|
connectOrCreate?: BrandContractCreateOrConnectWithoutFileInput
|
|
@@ -131014,6 +131143,16 @@ export namespace Prisma {
|
|
|
131014
131143
|
update?: XOR<XOR<BrandContractUpdateToOneWithWhereWithoutFileInput, BrandContractUpdateWithoutFileInput>, BrandContractUncheckedUpdateWithoutFileInput>
|
|
131015
131144
|
}
|
|
131016
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
|
+
|
|
131017
131156
|
export type BrandCreateNestedOneWithoutCreditRefundBatchesInput = {
|
|
131018
131157
|
create?: XOR<BrandCreateWithoutCreditRefundBatchesInput, BrandUncheckedCreateWithoutCreditRefundBatchesInput>
|
|
131019
131158
|
connectOrCreate?: BrandCreateOrConnectWithoutCreditRefundBatchesInput
|
|
@@ -132247,6 +132386,7 @@ export namespace Prisma {
|
|
|
132247
132386
|
type?: string
|
|
132248
132387
|
messageSid?: string | null
|
|
132249
132388
|
chat: ChatCreateNestedOneWithoutMessagesInput
|
|
132389
|
+
file?: FileCreateNestedOneWithoutMessageInput
|
|
132250
132390
|
}
|
|
132251
132391
|
|
|
132252
132392
|
export type MessageUncheckedCreateWithoutUserInput = {
|
|
@@ -132258,6 +132398,7 @@ export namespace Prisma {
|
|
|
132258
132398
|
type?: string
|
|
132259
132399
|
messageSid?: string | null
|
|
132260
132400
|
chatId: number
|
|
132401
|
+
fileId?: string | null
|
|
132261
132402
|
}
|
|
132262
132403
|
|
|
132263
132404
|
export type MessageCreateOrConnectWithoutUserInput = {
|
|
@@ -132839,6 +132980,7 @@ export namespace Prisma {
|
|
|
132839
132980
|
brand: BrandCreateNestedOneWithoutFilesInput
|
|
132840
132981
|
editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
|
|
132841
132982
|
brandContract?: BrandContractCreateNestedOneWithoutFileInput
|
|
132983
|
+
message?: MessageCreateNestedOneWithoutFileInput
|
|
132842
132984
|
}
|
|
132843
132985
|
|
|
132844
132986
|
export type FileUncheckedCreateWithoutCreatedByUserInput = {
|
|
@@ -132855,6 +132997,7 @@ export namespace Prisma {
|
|
|
132855
132997
|
updatedAt?: Date | string
|
|
132856
132998
|
archivedAt?: Date | string | null
|
|
132857
132999
|
brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
|
|
133000
|
+
message?: MessageUncheckedCreateNestedOneWithoutFileInput
|
|
132858
133001
|
}
|
|
132859
133002
|
|
|
132860
133003
|
export type FileCreateOrConnectWithoutCreatedByUserInput = {
|
|
@@ -132881,6 +133024,7 @@ export namespace Prisma {
|
|
|
132881
133024
|
brand: BrandCreateNestedOneWithoutFilesInput
|
|
132882
133025
|
createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
|
|
132883
133026
|
brandContract?: BrandContractCreateNestedOneWithoutFileInput
|
|
133027
|
+
message?: MessageCreateNestedOneWithoutFileInput
|
|
132884
133028
|
}
|
|
132885
133029
|
|
|
132886
133030
|
export type FileUncheckedCreateWithoutEditedByUserInput = {
|
|
@@ -132897,6 +133041,7 @@ export namespace Prisma {
|
|
|
132897
133041
|
updatedAt?: Date | string
|
|
132898
133042
|
archivedAt?: Date | string | null
|
|
132899
133043
|
brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
|
|
133044
|
+
message?: MessageUncheckedCreateNestedOneWithoutFileInput
|
|
132900
133045
|
}
|
|
132901
133046
|
|
|
132902
133047
|
export type FileCreateOrConnectWithoutEditedByUserInput = {
|
|
@@ -133585,6 +133730,7 @@ export namespace Prisma {
|
|
|
133585
133730
|
messageSid?: StringNullableFilter<"Message"> | string | null
|
|
133586
133731
|
userId?: IntNullableFilter<"Message"> | number | null
|
|
133587
133732
|
chatId?: IntFilter<"Message"> | number
|
|
133733
|
+
fileId?: StringNullableFilter<"Message"> | string | null
|
|
133588
133734
|
}
|
|
133589
133735
|
|
|
133590
133736
|
export type SocialPostUpsertWithWhereUniqueWithoutUserInput = {
|
|
@@ -138036,6 +138182,7 @@ export namespace Prisma {
|
|
|
138036
138182
|
createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
|
|
138037
138183
|
editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
|
|
138038
138184
|
brandContract?: BrandContractCreateNestedOneWithoutFileInput
|
|
138185
|
+
message?: MessageCreateNestedOneWithoutFileInput
|
|
138039
138186
|
}
|
|
138040
138187
|
|
|
138041
138188
|
export type FileUncheckedCreateWithoutBrandInput = {
|
|
@@ -138052,6 +138199,7 @@ export namespace Prisma {
|
|
|
138052
138199
|
updatedAt?: Date | string
|
|
138053
138200
|
archivedAt?: Date | string | null
|
|
138054
138201
|
brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
|
|
138202
|
+
message?: MessageUncheckedCreateNestedOneWithoutFileInput
|
|
138055
138203
|
}
|
|
138056
138204
|
|
|
138057
138205
|
export type FileCreateOrConnectWithoutBrandInput = {
|
|
@@ -140651,6 +140799,7 @@ export namespace Prisma {
|
|
|
140651
140799
|
type?: string
|
|
140652
140800
|
messageSid?: string | null
|
|
140653
140801
|
user?: UserCreateNestedOneWithoutMessagesInput
|
|
140802
|
+
file?: FileCreateNestedOneWithoutMessageInput
|
|
140654
140803
|
}
|
|
140655
140804
|
|
|
140656
140805
|
export type MessageUncheckedCreateWithoutChatInput = {
|
|
@@ -140662,6 +140811,7 @@ export namespace Prisma {
|
|
|
140662
140811
|
type?: string
|
|
140663
140812
|
messageSid?: string | null
|
|
140664
140813
|
userId?: number | null
|
|
140814
|
+
fileId?: string | null
|
|
140665
140815
|
}
|
|
140666
140816
|
|
|
140667
140817
|
export type MessageCreateOrConnectWithoutChatInput = {
|
|
@@ -140900,6 +141050,45 @@ export namespace Prisma {
|
|
|
140900
141050
|
create: XOR<ChatCreateWithoutMessagesInput, ChatUncheckedCreateWithoutMessagesInput>
|
|
140901
141051
|
}
|
|
140902
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
|
+
|
|
140903
141092
|
export type UserUpsertWithoutMessagesInput = {
|
|
140904
141093
|
update: XOR<UserUpdateWithoutMessagesInput, UserUncheckedUpdateWithoutMessagesInput>
|
|
140905
141094
|
create: XOR<UserCreateWithoutMessagesInput, UserUncheckedCreateWithoutMessagesInput>
|
|
@@ -141044,6 +141233,51 @@ export namespace Prisma {
|
|
|
141044
141233
|
optInId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
141045
141234
|
}
|
|
141046
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
|
+
|
|
141047
141281
|
export type CampaignStepCreateWithoutCampaignInput = {
|
|
141048
141282
|
placement: number
|
|
141049
141283
|
stepSettings?: NullableJsonNullValueInput | InputJsonValue
|
|
@@ -160499,6 +160733,7 @@ export namespace Prisma {
|
|
|
160499
160733
|
brand: BrandCreateNestedOneWithoutFilesInput
|
|
160500
160734
|
createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
|
|
160501
160735
|
editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
|
|
160736
|
+
message?: MessageCreateNestedOneWithoutFileInput
|
|
160502
160737
|
}
|
|
160503
160738
|
|
|
160504
160739
|
export type FileUncheckedCreateWithoutBrandContractInput = {
|
|
@@ -160515,6 +160750,7 @@ export namespace Prisma {
|
|
|
160515
160750
|
createdAt?: Date | string
|
|
160516
160751
|
updatedAt?: Date | string
|
|
160517
160752
|
archivedAt?: Date | string | null
|
|
160753
|
+
message?: MessageUncheckedCreateNestedOneWithoutFileInput
|
|
160518
160754
|
}
|
|
160519
160755
|
|
|
160520
160756
|
export type FileCreateOrConnectWithoutBrandContractInput = {
|
|
@@ -160869,6 +161105,7 @@ export namespace Prisma {
|
|
|
160869
161105
|
brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
|
|
160870
161106
|
createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
|
|
160871
161107
|
editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
|
|
161108
|
+
message?: MessageUpdateOneWithoutFileNestedInput
|
|
160872
161109
|
}
|
|
160873
161110
|
|
|
160874
161111
|
export type FileUncheckedUpdateWithoutBrandContractInput = {
|
|
@@ -160885,6 +161122,7 @@ export namespace Prisma {
|
|
|
160885
161122
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
160886
161123
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
160887
161124
|
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
161125
|
+
message?: MessageUncheckedUpdateOneWithoutFileNestedInput
|
|
160888
161126
|
}
|
|
160889
161127
|
|
|
160890
161128
|
export type UserUpsertWithoutContractsCreatedInput = {
|
|
@@ -161475,6 +161713,34 @@ export namespace Prisma {
|
|
|
161475
161713
|
create: XOR<BrandContractCreateWithoutFileInput, BrandContractUncheckedCreateWithoutFileInput>
|
|
161476
161714
|
}
|
|
161477
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
|
+
|
|
161478
161744
|
export type BrandUpsertWithoutFilesInput = {
|
|
161479
161745
|
update: XOR<BrandUpdateWithoutFilesInput, BrandUncheckedUpdateWithoutFilesInput>
|
|
161480
161746
|
create: XOR<BrandCreateWithoutFilesInput, BrandUncheckedCreateWithoutFilesInput>
|
|
@@ -161851,6 +162117,40 @@ export namespace Prisma {
|
|
|
161851
162117
|
editedByUserId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
161852
162118
|
}
|
|
161853
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
|
+
|
|
161854
162154
|
export type BrandCreateWithoutCreditRefundBatchesInput = {
|
|
161855
162155
|
name: string
|
|
161856
162156
|
description?: string | null
|
|
@@ -162189,6 +162489,7 @@ export namespace Prisma {
|
|
|
162189
162489
|
type?: string
|
|
162190
162490
|
messageSid?: string | null
|
|
162191
162491
|
chatId: number
|
|
162492
|
+
fileId?: string | null
|
|
162192
162493
|
}
|
|
162193
162494
|
|
|
162194
162495
|
export type SocialPostCreateManyUserInput = {
|
|
@@ -162782,6 +163083,7 @@ export namespace Prisma {
|
|
|
162782
163083
|
type?: StringFieldUpdateOperationsInput | string
|
|
162783
163084
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162784
163085
|
chat?: ChatUpdateOneRequiredWithoutMessagesNestedInput
|
|
163086
|
+
file?: FileUpdateOneWithoutMessageNestedInput
|
|
162785
163087
|
}
|
|
162786
163088
|
|
|
162787
163089
|
export type MessageUncheckedUpdateWithoutUserInput = {
|
|
@@ -162793,6 +163095,7 @@ export namespace Prisma {
|
|
|
162793
163095
|
type?: StringFieldUpdateOperationsInput | string
|
|
162794
163096
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162795
163097
|
chatId?: IntFieldUpdateOperationsInput | number
|
|
163098
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162796
163099
|
}
|
|
162797
163100
|
|
|
162798
163101
|
export type MessageUncheckedUpdateManyWithoutUserInput = {
|
|
@@ -162804,6 +163107,7 @@ export namespace Prisma {
|
|
|
162804
163107
|
type?: StringFieldUpdateOperationsInput | string
|
|
162805
163108
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162806
163109
|
chatId?: IntFieldUpdateOperationsInput | number
|
|
163110
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162807
163111
|
}
|
|
162808
163112
|
|
|
162809
163113
|
export type SocialPostUpdateWithoutUserInput = {
|
|
@@ -163424,6 +163728,7 @@ export namespace Prisma {
|
|
|
163424
163728
|
brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
|
|
163425
163729
|
editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
|
|
163426
163730
|
brandContract?: BrandContractUpdateOneWithoutFileNestedInput
|
|
163731
|
+
message?: MessageUpdateOneWithoutFileNestedInput
|
|
163427
163732
|
}
|
|
163428
163733
|
|
|
163429
163734
|
export type FileUncheckedUpdateWithoutCreatedByUserInput = {
|
|
@@ -163440,6 +163745,7 @@ export namespace Prisma {
|
|
|
163440
163745
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
163441
163746
|
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
163442
163747
|
brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
|
|
163748
|
+
message?: MessageUncheckedUpdateOneWithoutFileNestedInput
|
|
163443
163749
|
}
|
|
163444
163750
|
|
|
163445
163751
|
export type FileUncheckedUpdateManyWithoutCreatedByUserInput = {
|
|
@@ -163471,6 +163777,7 @@ export namespace Prisma {
|
|
|
163471
163777
|
brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
|
|
163472
163778
|
createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
|
|
163473
163779
|
brandContract?: BrandContractUpdateOneWithoutFileNestedInput
|
|
163780
|
+
message?: MessageUpdateOneWithoutFileNestedInput
|
|
163474
163781
|
}
|
|
163475
163782
|
|
|
163476
163783
|
export type FileUncheckedUpdateWithoutEditedByUserInput = {
|
|
@@ -163487,6 +163794,7 @@ export namespace Prisma {
|
|
|
163487
163794
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
163488
163795
|
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
163489
163796
|
brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
|
|
163797
|
+
message?: MessageUncheckedUpdateOneWithoutFileNestedInput
|
|
163490
163798
|
}
|
|
163491
163799
|
|
|
163492
163800
|
export type FileUncheckedUpdateManyWithoutEditedByUserInput = {
|
|
@@ -164638,6 +164946,7 @@ export namespace Prisma {
|
|
|
164638
164946
|
createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
|
|
164639
164947
|
editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
|
|
164640
164948
|
brandContract?: BrandContractUpdateOneWithoutFileNestedInput
|
|
164949
|
+
message?: MessageUpdateOneWithoutFileNestedInput
|
|
164641
164950
|
}
|
|
164642
164951
|
|
|
164643
164952
|
export type FileUncheckedUpdateWithoutBrandInput = {
|
|
@@ -164654,6 +164963,7 @@ export namespace Prisma {
|
|
|
164654
164963
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
164655
164964
|
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
164656
164965
|
brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
|
|
164966
|
+
message?: MessageUncheckedUpdateOneWithoutFileNestedInput
|
|
164657
164967
|
}
|
|
164658
164968
|
|
|
164659
164969
|
export type FileUncheckedUpdateManyWithoutBrandInput = {
|
|
@@ -164825,6 +165135,7 @@ export namespace Prisma {
|
|
|
164825
165135
|
type?: string
|
|
164826
165136
|
messageSid?: string | null
|
|
164827
165137
|
userId?: number | null
|
|
165138
|
+
fileId?: string | null
|
|
164828
165139
|
}
|
|
164829
165140
|
|
|
164830
165141
|
export type MessageUpdateWithoutChatInput = {
|
|
@@ -164835,6 +165146,7 @@ export namespace Prisma {
|
|
|
164835
165146
|
type?: StringFieldUpdateOperationsInput | string
|
|
164836
165147
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
164837
165148
|
user?: UserUpdateOneWithoutMessagesNestedInput
|
|
165149
|
+
file?: FileUpdateOneWithoutMessageNestedInput
|
|
164838
165150
|
}
|
|
164839
165151
|
|
|
164840
165152
|
export type MessageUncheckedUpdateWithoutChatInput = {
|
|
@@ -164846,6 +165158,7 @@ export namespace Prisma {
|
|
|
164846
165158
|
type?: StringFieldUpdateOperationsInput | string
|
|
164847
165159
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
164848
165160
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
165161
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
164849
165162
|
}
|
|
164850
165163
|
|
|
164851
165164
|
export type MessageUncheckedUpdateManyWithoutChatInput = {
|
|
@@ -164857,6 +165170,7 @@ export namespace Prisma {
|
|
|
164857
165170
|
type?: StringFieldUpdateOperationsInput | string
|
|
164858
165171
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
164859
165172
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
165173
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
164860
165174
|
}
|
|
164861
165175
|
|
|
164862
165176
|
export type CampaignStepCreateManyCampaignInput = {
|