@creator.co/creatorco-prisma-client 1.0.72 → 1.0.74
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 +334 -8
- package/index.js +8 -6
- package/package.json +1 -1
- package/schema.prisma +9 -6
- package/wasm.js +4 -2
package/index.d.ts
CHANGED
|
@@ -13054,6 +13054,9 @@ export namespace Prisma {
|
|
|
13054
13054
|
country: string | null
|
|
13055
13055
|
region: string | null
|
|
13056
13056
|
birthDate: Date | null
|
|
13057
|
+
/**
|
|
13058
|
+
* @deprecated
|
|
13059
|
+
*/
|
|
13057
13060
|
interests: Prisma.JsonValue | null
|
|
13058
13061
|
gender: string | null
|
|
13059
13062
|
shippingAddress1: string | null
|
|
@@ -14442,6 +14445,9 @@ export namespace Prisma {
|
|
|
14442
14445
|
hasGuides: boolean | null
|
|
14443
14446
|
hasChannel: boolean | null
|
|
14444
14447
|
totalIgtvVideos: number | null
|
|
14448
|
+
/**
|
|
14449
|
+
* @deprecated
|
|
14450
|
+
*/
|
|
14445
14451
|
profilePicUrlHd: string | null
|
|
14446
14452
|
lastStoriesUpdate: Date | null
|
|
14447
14453
|
extraData: Prisma.JsonValue | null
|
|
@@ -30048,6 +30054,7 @@ export namespace Prisma {
|
|
|
30048
30054
|
messageSid: string | null
|
|
30049
30055
|
userId: number | null
|
|
30050
30056
|
chatId: number | null
|
|
30057
|
+
fileId: string | null
|
|
30051
30058
|
}
|
|
30052
30059
|
|
|
30053
30060
|
export type MessageMaxAggregateOutputType = {
|
|
@@ -30060,6 +30067,7 @@ export namespace Prisma {
|
|
|
30060
30067
|
messageSid: string | null
|
|
30061
30068
|
userId: number | null
|
|
30062
30069
|
chatId: number | null
|
|
30070
|
+
fileId: string | null
|
|
30063
30071
|
}
|
|
30064
30072
|
|
|
30065
30073
|
export type MessageCountAggregateOutputType = {
|
|
@@ -30072,6 +30080,7 @@ export namespace Prisma {
|
|
|
30072
30080
|
messageSid: number
|
|
30073
30081
|
userId: number
|
|
30074
30082
|
chatId: number
|
|
30083
|
+
fileId: number
|
|
30075
30084
|
_all: number
|
|
30076
30085
|
}
|
|
30077
30086
|
|
|
@@ -30098,6 +30107,7 @@ export namespace Prisma {
|
|
|
30098
30107
|
messageSid?: true
|
|
30099
30108
|
userId?: true
|
|
30100
30109
|
chatId?: true
|
|
30110
|
+
fileId?: true
|
|
30101
30111
|
}
|
|
30102
30112
|
|
|
30103
30113
|
export type MessageMaxAggregateInputType = {
|
|
@@ -30110,6 +30120,7 @@ export namespace Prisma {
|
|
|
30110
30120
|
messageSid?: true
|
|
30111
30121
|
userId?: true
|
|
30112
30122
|
chatId?: true
|
|
30123
|
+
fileId?: true
|
|
30113
30124
|
}
|
|
30114
30125
|
|
|
30115
30126
|
export type MessageCountAggregateInputType = {
|
|
@@ -30122,6 +30133,7 @@ export namespace Prisma {
|
|
|
30122
30133
|
messageSid?: true
|
|
30123
30134
|
userId?: true
|
|
30124
30135
|
chatId?: true
|
|
30136
|
+
fileId?: true
|
|
30125
30137
|
_all?: true
|
|
30126
30138
|
}
|
|
30127
30139
|
|
|
@@ -30221,6 +30233,7 @@ export namespace Prisma {
|
|
|
30221
30233
|
messageSid: string | null
|
|
30222
30234
|
userId: number | null
|
|
30223
30235
|
chatId: number
|
|
30236
|
+
fileId: string | null
|
|
30224
30237
|
_count: MessageCountAggregateOutputType | null
|
|
30225
30238
|
_avg: MessageAvgAggregateOutputType | null
|
|
30226
30239
|
_sum: MessageSumAggregateOutputType | null
|
|
@@ -30252,8 +30265,10 @@ export namespace Prisma {
|
|
|
30252
30265
|
messageSid?: boolean
|
|
30253
30266
|
userId?: boolean
|
|
30254
30267
|
chatId?: boolean
|
|
30268
|
+
fileId?: boolean
|
|
30255
30269
|
user?: boolean | Message$userArgs<ExtArgs>
|
|
30256
30270
|
chat?: boolean | ChatDefaultArgs<ExtArgs>
|
|
30271
|
+
file?: boolean | Message$fileArgs<ExtArgs>
|
|
30257
30272
|
}, ExtArgs["result"]["message"]>
|
|
30258
30273
|
|
|
30259
30274
|
export type MessageSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
@@ -30266,8 +30281,10 @@ export namespace Prisma {
|
|
|
30266
30281
|
messageSid?: boolean
|
|
30267
30282
|
userId?: boolean
|
|
30268
30283
|
chatId?: boolean
|
|
30284
|
+
fileId?: boolean
|
|
30269
30285
|
user?: boolean | Message$userArgs<ExtArgs>
|
|
30270
30286
|
chat?: boolean | ChatDefaultArgs<ExtArgs>
|
|
30287
|
+
file?: boolean | Message$fileArgs<ExtArgs>
|
|
30271
30288
|
}, ExtArgs["result"]["message"]>
|
|
30272
30289
|
|
|
30273
30290
|
export type MessageSelectScalar = {
|
|
@@ -30280,15 +30297,18 @@ export namespace Prisma {
|
|
|
30280
30297
|
messageSid?: boolean
|
|
30281
30298
|
userId?: boolean
|
|
30282
30299
|
chatId?: boolean
|
|
30300
|
+
fileId?: boolean
|
|
30283
30301
|
}
|
|
30284
30302
|
|
|
30285
30303
|
export type MessageInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
30286
30304
|
user?: boolean | Message$userArgs<ExtArgs>
|
|
30287
30305
|
chat?: boolean | ChatDefaultArgs<ExtArgs>
|
|
30306
|
+
file?: boolean | Message$fileArgs<ExtArgs>
|
|
30288
30307
|
}
|
|
30289
30308
|
export type MessageIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
30290
30309
|
user?: boolean | Message$userArgs<ExtArgs>
|
|
30291
30310
|
chat?: boolean | ChatDefaultArgs<ExtArgs>
|
|
30311
|
+
file?: boolean | Message$fileArgs<ExtArgs>
|
|
30292
30312
|
}
|
|
30293
30313
|
|
|
30294
30314
|
export type $MessagePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
@@ -30296,6 +30316,7 @@ export namespace Prisma {
|
|
|
30296
30316
|
objects: {
|
|
30297
30317
|
user: Prisma.$UserPayload<ExtArgs> | null
|
|
30298
30318
|
chat: Prisma.$ChatPayload<ExtArgs>
|
|
30319
|
+
file: Prisma.$FilePayload<ExtArgs> | null
|
|
30299
30320
|
}
|
|
30300
30321
|
scalars: $Extensions.GetPayloadResult<{
|
|
30301
30322
|
id: number
|
|
@@ -30307,6 +30328,7 @@ export namespace Prisma {
|
|
|
30307
30328
|
messageSid: string | null
|
|
30308
30329
|
userId: number | null
|
|
30309
30330
|
chatId: number
|
|
30331
|
+
fileId: string | null
|
|
30310
30332
|
}, ExtArgs["result"]["message"]>
|
|
30311
30333
|
composites: {}
|
|
30312
30334
|
}
|
|
@@ -30701,6 +30723,8 @@ export namespace Prisma {
|
|
|
30701
30723
|
|
|
30702
30724
|
chat<T extends ChatDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ChatDefaultArgs<ExtArgs>>): Prisma__ChatClient<$Result.GetResult<Prisma.$ChatPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
|
|
30703
30725
|
|
|
30726
|
+
file<T extends Message$fileArgs<ExtArgs> = {}>(args?: Subset<T, Message$fileArgs<ExtArgs>>): Prisma__FileClient<$Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
30727
|
+
|
|
30704
30728
|
/**
|
|
30705
30729
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
30706
30730
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -30738,6 +30762,7 @@ export namespace Prisma {
|
|
|
30738
30762
|
readonly messageSid: FieldRef<"Message", 'String'>
|
|
30739
30763
|
readonly userId: FieldRef<"Message", 'Int'>
|
|
30740
30764
|
readonly chatId: FieldRef<"Message", 'Int'>
|
|
30765
|
+
readonly fileId: FieldRef<"Message", 'String'>
|
|
30741
30766
|
}
|
|
30742
30767
|
|
|
30743
30768
|
|
|
@@ -31070,6 +31095,21 @@ export namespace Prisma {
|
|
|
31070
31095
|
where?: UserWhereInput
|
|
31071
31096
|
}
|
|
31072
31097
|
|
|
31098
|
+
/**
|
|
31099
|
+
* Message.file
|
|
31100
|
+
*/
|
|
31101
|
+
export type Message$fileArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
31102
|
+
/**
|
|
31103
|
+
* Select specific fields to fetch from the File
|
|
31104
|
+
*/
|
|
31105
|
+
select?: FileSelect<ExtArgs> | null
|
|
31106
|
+
/**
|
|
31107
|
+
* Choose, which related nodes to fetch as well
|
|
31108
|
+
*/
|
|
31109
|
+
include?: FileInclude<ExtArgs> | null
|
|
31110
|
+
where?: FileWhereInput
|
|
31111
|
+
}
|
|
31112
|
+
|
|
31073
31113
|
/**
|
|
31074
31114
|
* Message without action
|
|
31075
31115
|
*/
|
|
@@ -31964,7 +32004,13 @@ export namespace Prisma {
|
|
|
31964
32004
|
minPaidAmount: number | null
|
|
31965
32005
|
maxPaidAmount: number | null
|
|
31966
32006
|
paymentType: string | null
|
|
32007
|
+
/**
|
|
32008
|
+
* @deprecated redundant
|
|
32009
|
+
*/
|
|
31967
32010
|
monthlyActivatedGoal: number | null
|
|
32011
|
+
/**
|
|
32012
|
+
* @deprecated redundant
|
|
32013
|
+
*/
|
|
31968
32014
|
expectedOptIns: number | null
|
|
31969
32015
|
goalActivations: number | null
|
|
31970
32016
|
goalOptIns: number | null
|
|
@@ -48786,6 +48832,9 @@ export namespace Prisma {
|
|
|
48786
48832
|
seen: boolean
|
|
48787
48833
|
instructions: string | null
|
|
48788
48834
|
paymentAmount: number | null
|
|
48835
|
+
/**
|
|
48836
|
+
* @deprecated join with TrolleyPayment for actual status
|
|
48837
|
+
*/
|
|
48789
48838
|
paymentStatus: string
|
|
48790
48839
|
extraData: Prisma.JsonValue
|
|
48791
48840
|
favoritedDate: Date | null
|
|
@@ -56005,6 +56054,9 @@ export namespace Prisma {
|
|
|
56005
56054
|
title: string | null
|
|
56006
56055
|
description: string | null
|
|
56007
56056
|
url: string | null
|
|
56057
|
+
/**
|
|
56058
|
+
* @deprecated This is here so we have some external identifier to quickly search by
|
|
56059
|
+
*/
|
|
56008
56060
|
urlPath: string | null
|
|
56009
56061
|
format: string | null
|
|
56010
56062
|
type: string | null
|
|
@@ -99458,6 +99510,7 @@ export namespace Prisma {
|
|
|
99458
99510
|
createdByUser?: boolean | UserDefaultArgs<ExtArgs>
|
|
99459
99511
|
editedByUser?: boolean | File$editedByUserArgs<ExtArgs>
|
|
99460
99512
|
brandContract?: boolean | File$brandContractArgs<ExtArgs>
|
|
99513
|
+
message?: boolean | File$messageArgs<ExtArgs>
|
|
99461
99514
|
}, ExtArgs["result"]["file"]>
|
|
99462
99515
|
|
|
99463
99516
|
export type FileSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
@@ -99500,6 +99553,7 @@ export namespace Prisma {
|
|
|
99500
99553
|
createdByUser?: boolean | UserDefaultArgs<ExtArgs>
|
|
99501
99554
|
editedByUser?: boolean | File$editedByUserArgs<ExtArgs>
|
|
99502
99555
|
brandContract?: boolean | File$brandContractArgs<ExtArgs>
|
|
99556
|
+
message?: boolean | File$messageArgs<ExtArgs>
|
|
99503
99557
|
}
|
|
99504
99558
|
export type FileIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
99505
99559
|
brand?: boolean | BrandDefaultArgs<ExtArgs>
|
|
@@ -99514,6 +99568,7 @@ export namespace Prisma {
|
|
|
99514
99568
|
createdByUser: Prisma.$UserPayload<ExtArgs>
|
|
99515
99569
|
editedByUser: Prisma.$UserPayload<ExtArgs> | null
|
|
99516
99570
|
brandContract: Prisma.$BrandContractPayload<ExtArgs> | null
|
|
99571
|
+
message: Prisma.$MessagePayload<ExtArgs> | null
|
|
99517
99572
|
}
|
|
99518
99573
|
scalars: $Extensions.GetPayloadResult<{
|
|
99519
99574
|
id: string
|
|
@@ -99927,6 +99982,8 @@ export namespace Prisma {
|
|
|
99927
99982
|
|
|
99928
99983
|
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
99984
|
|
|
99985
|
+
message<T extends File$messageArgs<ExtArgs> = {}>(args?: Subset<T, File$messageArgs<ExtArgs>>): Prisma__MessageClient<$Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
99986
|
+
|
|
99930
99987
|
/**
|
|
99931
99988
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
99932
99989
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -100315,6 +100372,21 @@ export namespace Prisma {
|
|
|
100315
100372
|
where?: BrandContractWhereInput
|
|
100316
100373
|
}
|
|
100317
100374
|
|
|
100375
|
+
/**
|
|
100376
|
+
* File.message
|
|
100377
|
+
*/
|
|
100378
|
+
export type File$messageArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
100379
|
+
/**
|
|
100380
|
+
* Select specific fields to fetch from the Message
|
|
100381
|
+
*/
|
|
100382
|
+
select?: MessageSelect<ExtArgs> | null
|
|
100383
|
+
/**
|
|
100384
|
+
* Choose, which related nodes to fetch as well
|
|
100385
|
+
*/
|
|
100386
|
+
include?: MessageInclude<ExtArgs> | null
|
|
100387
|
+
where?: MessageWhereInput
|
|
100388
|
+
}
|
|
100389
|
+
|
|
100318
100390
|
/**
|
|
100319
100391
|
* File without action
|
|
100320
100392
|
*/
|
|
@@ -101666,7 +101738,8 @@ export namespace Prisma {
|
|
|
101666
101738
|
type: 'type',
|
|
101667
101739
|
messageSid: 'messageSid',
|
|
101668
101740
|
userId: 'userId',
|
|
101669
|
-
chatId: 'chatId'
|
|
101741
|
+
chatId: 'chatId',
|
|
101742
|
+
fileId: 'fileId'
|
|
101670
101743
|
};
|
|
101671
101744
|
|
|
101672
101745
|
export type MessageScalarFieldEnum = (typeof MessageScalarFieldEnum)[keyof typeof MessageScalarFieldEnum]
|
|
@@ -102803,7 +102876,8 @@ export namespace Prisma {
|
|
|
102803
102876
|
sender: 'sender',
|
|
102804
102877
|
content: 'content',
|
|
102805
102878
|
type: 'type',
|
|
102806
|
-
messageSid: 'messageSid'
|
|
102879
|
+
messageSid: 'messageSid',
|
|
102880
|
+
fileId: 'fileId'
|
|
102807
102881
|
};
|
|
102808
102882
|
|
|
102809
102883
|
export type MessageOrderByRelevanceFieldEnum = (typeof MessageOrderByRelevanceFieldEnum)[keyof typeof MessageOrderByRelevanceFieldEnum]
|
|
@@ -105170,8 +105244,10 @@ export namespace Prisma {
|
|
|
105170
105244
|
messageSid?: StringNullableFilter<"Message"> | string | null
|
|
105171
105245
|
userId?: IntNullableFilter<"Message"> | number | null
|
|
105172
105246
|
chatId?: IntFilter<"Message"> | number
|
|
105247
|
+
fileId?: StringNullableFilter<"Message"> | string | null
|
|
105173
105248
|
user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
|
|
105174
105249
|
chat?: XOR<ChatRelationFilter, ChatWhereInput>
|
|
105250
|
+
file?: XOR<FileNullableRelationFilter, FileWhereInput> | null
|
|
105175
105251
|
}
|
|
105176
105252
|
|
|
105177
105253
|
export type MessageOrderByWithRelationAndSearchRelevanceInput = {
|
|
@@ -105184,13 +105260,16 @@ export namespace Prisma {
|
|
|
105184
105260
|
messageSid?: SortOrderInput | SortOrder
|
|
105185
105261
|
userId?: SortOrderInput | SortOrder
|
|
105186
105262
|
chatId?: SortOrder
|
|
105263
|
+
fileId?: SortOrderInput | SortOrder
|
|
105187
105264
|
user?: UserOrderByWithRelationAndSearchRelevanceInput
|
|
105188
105265
|
chat?: ChatOrderByWithRelationAndSearchRelevanceInput
|
|
105266
|
+
file?: FileOrderByWithRelationAndSearchRelevanceInput
|
|
105189
105267
|
_relevance?: MessageOrderByRelevanceInput
|
|
105190
105268
|
}
|
|
105191
105269
|
|
|
105192
105270
|
export type MessageWhereUniqueInput = Prisma.AtLeast<{
|
|
105193
105271
|
id?: number
|
|
105272
|
+
fileId?: string
|
|
105194
105273
|
AND?: MessageWhereInput | MessageWhereInput[]
|
|
105195
105274
|
OR?: MessageWhereInput[]
|
|
105196
105275
|
NOT?: MessageWhereInput | MessageWhereInput[]
|
|
@@ -105204,7 +105283,8 @@ export namespace Prisma {
|
|
|
105204
105283
|
chatId?: IntFilter<"Message"> | number
|
|
105205
105284
|
user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
|
|
105206
105285
|
chat?: XOR<ChatRelationFilter, ChatWhereInput>
|
|
105207
|
-
|
|
105286
|
+
file?: XOR<FileNullableRelationFilter, FileWhereInput> | null
|
|
105287
|
+
}, "id" | "fileId">
|
|
105208
105288
|
|
|
105209
105289
|
export type MessageOrderByWithAggregationInput = {
|
|
105210
105290
|
id?: SortOrder
|
|
@@ -105216,6 +105296,7 @@ export namespace Prisma {
|
|
|
105216
105296
|
messageSid?: SortOrderInput | SortOrder
|
|
105217
105297
|
userId?: SortOrderInput | SortOrder
|
|
105218
105298
|
chatId?: SortOrder
|
|
105299
|
+
fileId?: SortOrderInput | SortOrder
|
|
105219
105300
|
_count?: MessageCountOrderByAggregateInput
|
|
105220
105301
|
_avg?: MessageAvgOrderByAggregateInput
|
|
105221
105302
|
_max?: MessageMaxOrderByAggregateInput
|
|
@@ -105236,6 +105317,7 @@ export namespace Prisma {
|
|
|
105236
105317
|
messageSid?: StringNullableWithAggregatesFilter<"Message"> | string | null
|
|
105237
105318
|
userId?: IntNullableWithAggregatesFilter<"Message"> | number | null
|
|
105238
105319
|
chatId?: IntWithAggregatesFilter<"Message"> | number
|
|
105320
|
+
fileId?: StringNullableWithAggregatesFilter<"Message"> | string | null
|
|
105239
105321
|
}
|
|
105240
105322
|
|
|
105241
105323
|
export type CampaignWhereInput = {
|
|
@@ -110258,6 +110340,7 @@ export namespace Prisma {
|
|
|
110258
110340
|
createdByUser?: XOR<UserRelationFilter, UserWhereInput>
|
|
110259
110341
|
editedByUser?: XOR<UserNullableRelationFilter, UserWhereInput> | null
|
|
110260
110342
|
brandContract?: XOR<BrandContractNullableRelationFilter, BrandContractWhereInput> | null
|
|
110343
|
+
message?: XOR<MessageNullableRelationFilter, MessageWhereInput> | null
|
|
110261
110344
|
}
|
|
110262
110345
|
|
|
110263
110346
|
export type FileOrderByWithRelationAndSearchRelevanceInput = {
|
|
@@ -110278,6 +110361,7 @@ export namespace Prisma {
|
|
|
110278
110361
|
createdByUser?: UserOrderByWithRelationAndSearchRelevanceInput
|
|
110279
110362
|
editedByUser?: UserOrderByWithRelationAndSearchRelevanceInput
|
|
110280
110363
|
brandContract?: BrandContractOrderByWithRelationAndSearchRelevanceInput
|
|
110364
|
+
message?: MessageOrderByWithRelationAndSearchRelevanceInput
|
|
110281
110365
|
_relevance?: FileOrderByRelevanceInput
|
|
110282
110366
|
}
|
|
110283
110367
|
|
|
@@ -110302,6 +110386,7 @@ export namespace Prisma {
|
|
|
110302
110386
|
createdByUser?: XOR<UserRelationFilter, UserWhereInput>
|
|
110303
110387
|
editedByUser?: XOR<UserNullableRelationFilter, UserWhereInput> | null
|
|
110304
110388
|
brandContract?: XOR<BrandContractNullableRelationFilter, BrandContractWhereInput> | null
|
|
110389
|
+
message?: XOR<MessageNullableRelationFilter, MessageWhereInput> | null
|
|
110305
110390
|
}, "id">
|
|
110306
110391
|
|
|
110307
110392
|
export type FileOrderByWithAggregationInput = {
|
|
@@ -112341,6 +112426,7 @@ export namespace Prisma {
|
|
|
112341
112426
|
messageSid?: string | null
|
|
112342
112427
|
user?: UserCreateNestedOneWithoutMessagesInput
|
|
112343
112428
|
chat: ChatCreateNestedOneWithoutMessagesInput
|
|
112429
|
+
file?: FileCreateNestedOneWithoutMessageInput
|
|
112344
112430
|
}
|
|
112345
112431
|
|
|
112346
112432
|
export type MessageUncheckedCreateInput = {
|
|
@@ -112353,6 +112439,7 @@ export namespace Prisma {
|
|
|
112353
112439
|
messageSid?: string | null
|
|
112354
112440
|
userId?: number | null
|
|
112355
112441
|
chatId: number
|
|
112442
|
+
fileId?: string | null
|
|
112356
112443
|
}
|
|
112357
112444
|
|
|
112358
112445
|
export type MessageUpdateInput = {
|
|
@@ -112364,6 +112451,7 @@ export namespace Prisma {
|
|
|
112364
112451
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
112365
112452
|
user?: UserUpdateOneWithoutMessagesNestedInput
|
|
112366
112453
|
chat?: ChatUpdateOneRequiredWithoutMessagesNestedInput
|
|
112454
|
+
file?: FileUpdateOneWithoutMessageNestedInput
|
|
112367
112455
|
}
|
|
112368
112456
|
|
|
112369
112457
|
export type MessageUncheckedUpdateInput = {
|
|
@@ -112376,6 +112464,7 @@ export namespace Prisma {
|
|
|
112376
112464
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
112377
112465
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
112378
112466
|
chatId?: IntFieldUpdateOperationsInput | number
|
|
112467
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
112379
112468
|
}
|
|
112380
112469
|
|
|
112381
112470
|
export type MessageCreateManyInput = {
|
|
@@ -112388,6 +112477,7 @@ export namespace Prisma {
|
|
|
112388
112477
|
messageSid?: string | null
|
|
112389
112478
|
userId?: number | null
|
|
112390
112479
|
chatId: number
|
|
112480
|
+
fileId?: string | null
|
|
112391
112481
|
}
|
|
112392
112482
|
|
|
112393
112483
|
export type MessageUpdateManyMutationInput = {
|
|
@@ -112409,6 +112499,7 @@ export namespace Prisma {
|
|
|
112409
112499
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
112410
112500
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
112411
112501
|
chatId?: IntFieldUpdateOperationsInput | number
|
|
112502
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
112412
112503
|
}
|
|
112413
112504
|
|
|
112414
112505
|
export type CampaignCreateInput = {
|
|
@@ -117403,6 +117494,7 @@ export namespace Prisma {
|
|
|
117403
117494
|
createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
|
|
117404
117495
|
editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
|
|
117405
117496
|
brandContract?: BrandContractCreateNestedOneWithoutFileInput
|
|
117497
|
+
message?: MessageCreateNestedOneWithoutFileInput
|
|
117406
117498
|
}
|
|
117407
117499
|
|
|
117408
117500
|
export type FileUncheckedCreateInput = {
|
|
@@ -117420,6 +117512,7 @@ export namespace Prisma {
|
|
|
117420
117512
|
updatedAt?: Date | string
|
|
117421
117513
|
archivedAt?: Date | string | null
|
|
117422
117514
|
brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
|
|
117515
|
+
message?: MessageUncheckedCreateNestedOneWithoutFileInput
|
|
117423
117516
|
}
|
|
117424
117517
|
|
|
117425
117518
|
export type FileUpdateInput = {
|
|
@@ -117437,6 +117530,7 @@ export namespace Prisma {
|
|
|
117437
117530
|
createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
|
|
117438
117531
|
editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
|
|
117439
117532
|
brandContract?: BrandContractUpdateOneWithoutFileNestedInput
|
|
117533
|
+
message?: MessageUpdateOneWithoutFileNestedInput
|
|
117440
117534
|
}
|
|
117441
117535
|
|
|
117442
117536
|
export type FileUncheckedUpdateInput = {
|
|
@@ -117454,6 +117548,7 @@ export namespace Prisma {
|
|
|
117454
117548
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
117455
117549
|
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
117456
117550
|
brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
|
|
117551
|
+
message?: MessageUncheckedUpdateOneWithoutFileNestedInput
|
|
117457
117552
|
}
|
|
117458
117553
|
|
|
117459
117554
|
export type FileCreateManyInput = {
|
|
@@ -119420,6 +119515,11 @@ export namespace Prisma {
|
|
|
119420
119515
|
isNot?: ChatWhereInput
|
|
119421
119516
|
}
|
|
119422
119517
|
|
|
119518
|
+
export type FileNullableRelationFilter = {
|
|
119519
|
+
is?: FileWhereInput | null
|
|
119520
|
+
isNot?: FileWhereInput | null
|
|
119521
|
+
}
|
|
119522
|
+
|
|
119423
119523
|
export type MessageOrderByRelevanceInput = {
|
|
119424
119524
|
fields: MessageOrderByRelevanceFieldEnum | MessageOrderByRelevanceFieldEnum[]
|
|
119425
119525
|
sort: SortOrder
|
|
@@ -119436,6 +119536,7 @@ export namespace Prisma {
|
|
|
119436
119536
|
messageSid?: SortOrder
|
|
119437
119537
|
userId?: SortOrder
|
|
119438
119538
|
chatId?: SortOrder
|
|
119539
|
+
fileId?: SortOrder
|
|
119439
119540
|
}
|
|
119440
119541
|
|
|
119441
119542
|
export type MessageAvgOrderByAggregateInput = {
|
|
@@ -119454,6 +119555,7 @@ export namespace Prisma {
|
|
|
119454
119555
|
messageSid?: SortOrder
|
|
119455
119556
|
userId?: SortOrder
|
|
119456
119557
|
chatId?: SortOrder
|
|
119558
|
+
fileId?: SortOrder
|
|
119457
119559
|
}
|
|
119458
119560
|
|
|
119459
119561
|
export type MessageMinOrderByAggregateInput = {
|
|
@@ -119466,6 +119568,7 @@ export namespace Prisma {
|
|
|
119466
119568
|
messageSid?: SortOrder
|
|
119467
119569
|
userId?: SortOrder
|
|
119468
119570
|
chatId?: SortOrder
|
|
119571
|
+
fileId?: SortOrder
|
|
119469
119572
|
}
|
|
119470
119573
|
|
|
119471
119574
|
export type MessageSumOrderByAggregateInput = {
|
|
@@ -123222,11 +123325,6 @@ export namespace Prisma {
|
|
|
123222
123325
|
editedByUserId?: SortOrder
|
|
123223
123326
|
}
|
|
123224
123327
|
|
|
123225
|
-
export type FileNullableRelationFilter = {
|
|
123226
|
-
is?: FileWhereInput | null
|
|
123227
|
-
isNot?: FileWhereInput | null
|
|
123228
|
-
}
|
|
123229
|
-
|
|
123230
123328
|
export type BrandContractOrderByRelevanceInput = {
|
|
123231
123329
|
fields: BrandContractOrderByRelevanceFieldEnum | BrandContractOrderByRelevanceFieldEnum[]
|
|
123232
123330
|
sort: SortOrder
|
|
@@ -123303,6 +123401,11 @@ export namespace Prisma {
|
|
|
123303
123401
|
isNot?: BrandContractWhereInput | null
|
|
123304
123402
|
}
|
|
123305
123403
|
|
|
123404
|
+
export type MessageNullableRelationFilter = {
|
|
123405
|
+
is?: MessageWhereInput | null
|
|
123406
|
+
isNot?: MessageWhereInput | null
|
|
123407
|
+
}
|
|
123408
|
+
|
|
123306
123409
|
export type FileOrderByRelevanceInput = {
|
|
123307
123410
|
fields: FileOrderByRelevanceFieldEnum | FileOrderByRelevanceFieldEnum[]
|
|
123308
123411
|
sort: SortOrder
|
|
@@ -126394,6 +126497,12 @@ export namespace Prisma {
|
|
|
126394
126497
|
connect?: ChatWhereUniqueInput
|
|
126395
126498
|
}
|
|
126396
126499
|
|
|
126500
|
+
export type FileCreateNestedOneWithoutMessageInput = {
|
|
126501
|
+
create?: XOR<FileCreateWithoutMessageInput, FileUncheckedCreateWithoutMessageInput>
|
|
126502
|
+
connectOrCreate?: FileCreateOrConnectWithoutMessageInput
|
|
126503
|
+
connect?: FileWhereUniqueInput
|
|
126504
|
+
}
|
|
126505
|
+
|
|
126397
126506
|
export type UserUpdateOneWithoutMessagesNestedInput = {
|
|
126398
126507
|
create?: XOR<UserCreateWithoutMessagesInput, UserUncheckedCreateWithoutMessagesInput>
|
|
126399
126508
|
connectOrCreate?: UserCreateOrConnectWithoutMessagesInput
|
|
@@ -126412,6 +126521,16 @@ export namespace Prisma {
|
|
|
126412
126521
|
update?: XOR<XOR<ChatUpdateToOneWithWhereWithoutMessagesInput, ChatUpdateWithoutMessagesInput>, ChatUncheckedUpdateWithoutMessagesInput>
|
|
126413
126522
|
}
|
|
126414
126523
|
|
|
126524
|
+
export type FileUpdateOneWithoutMessageNestedInput = {
|
|
126525
|
+
create?: XOR<FileCreateWithoutMessageInput, FileUncheckedCreateWithoutMessageInput>
|
|
126526
|
+
connectOrCreate?: FileCreateOrConnectWithoutMessageInput
|
|
126527
|
+
upsert?: FileUpsertWithoutMessageInput
|
|
126528
|
+
disconnect?: FileWhereInput | boolean
|
|
126529
|
+
delete?: FileWhereInput | boolean
|
|
126530
|
+
connect?: FileWhereUniqueInput
|
|
126531
|
+
update?: XOR<XOR<FileUpdateToOneWithWhereWithoutMessageInput, FileUpdateWithoutMessageInput>, FileUncheckedUpdateWithoutMessageInput>
|
|
126532
|
+
}
|
|
126533
|
+
|
|
126415
126534
|
export type CampaignStepCreateNestedManyWithoutCampaignInput = {
|
|
126416
126535
|
create?: XOR<CampaignStepCreateWithoutCampaignInput, CampaignStepUncheckedCreateWithoutCampaignInput> | CampaignStepCreateWithoutCampaignInput[] | CampaignStepUncheckedCreateWithoutCampaignInput[]
|
|
126417
126536
|
connectOrCreate?: CampaignStepCreateOrConnectWithoutCampaignInput | CampaignStepCreateOrConnectWithoutCampaignInput[]
|
|
@@ -130968,12 +131087,24 @@ export namespace Prisma {
|
|
|
130968
131087
|
connect?: BrandContractWhereUniqueInput
|
|
130969
131088
|
}
|
|
130970
131089
|
|
|
131090
|
+
export type MessageCreateNestedOneWithoutFileInput = {
|
|
131091
|
+
create?: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
|
|
131092
|
+
connectOrCreate?: MessageCreateOrConnectWithoutFileInput
|
|
131093
|
+
connect?: MessageWhereUniqueInput
|
|
131094
|
+
}
|
|
131095
|
+
|
|
130971
131096
|
export type BrandContractUncheckedCreateNestedOneWithoutFileInput = {
|
|
130972
131097
|
create?: XOR<BrandContractCreateWithoutFileInput, BrandContractUncheckedCreateWithoutFileInput>
|
|
130973
131098
|
connectOrCreate?: BrandContractCreateOrConnectWithoutFileInput
|
|
130974
131099
|
connect?: BrandContractWhereUniqueInput
|
|
130975
131100
|
}
|
|
130976
131101
|
|
|
131102
|
+
export type MessageUncheckedCreateNestedOneWithoutFileInput = {
|
|
131103
|
+
create?: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
|
|
131104
|
+
connectOrCreate?: MessageCreateOrConnectWithoutFileInput
|
|
131105
|
+
connect?: MessageWhereUniqueInput
|
|
131106
|
+
}
|
|
131107
|
+
|
|
130977
131108
|
export type BrandUpdateOneRequiredWithoutFilesNestedInput = {
|
|
130978
131109
|
create?: XOR<BrandCreateWithoutFilesInput, BrandUncheckedCreateWithoutFilesInput>
|
|
130979
131110
|
connectOrCreate?: BrandCreateOrConnectWithoutFilesInput
|
|
@@ -131010,6 +131141,16 @@ export namespace Prisma {
|
|
|
131010
131141
|
update?: XOR<XOR<BrandContractUpdateToOneWithWhereWithoutFileInput, BrandContractUpdateWithoutFileInput>, BrandContractUncheckedUpdateWithoutFileInput>
|
|
131011
131142
|
}
|
|
131012
131143
|
|
|
131144
|
+
export type MessageUpdateOneWithoutFileNestedInput = {
|
|
131145
|
+
create?: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
|
|
131146
|
+
connectOrCreate?: MessageCreateOrConnectWithoutFileInput
|
|
131147
|
+
upsert?: MessageUpsertWithoutFileInput
|
|
131148
|
+
disconnect?: MessageWhereInput | boolean
|
|
131149
|
+
delete?: MessageWhereInput | boolean
|
|
131150
|
+
connect?: MessageWhereUniqueInput
|
|
131151
|
+
update?: XOR<XOR<MessageUpdateToOneWithWhereWithoutFileInput, MessageUpdateWithoutFileInput>, MessageUncheckedUpdateWithoutFileInput>
|
|
131152
|
+
}
|
|
131153
|
+
|
|
131013
131154
|
export type BrandContractUncheckedUpdateOneWithoutFileNestedInput = {
|
|
131014
131155
|
create?: XOR<BrandContractCreateWithoutFileInput, BrandContractUncheckedCreateWithoutFileInput>
|
|
131015
131156
|
connectOrCreate?: BrandContractCreateOrConnectWithoutFileInput
|
|
@@ -131020,6 +131161,16 @@ export namespace Prisma {
|
|
|
131020
131161
|
update?: XOR<XOR<BrandContractUpdateToOneWithWhereWithoutFileInput, BrandContractUpdateWithoutFileInput>, BrandContractUncheckedUpdateWithoutFileInput>
|
|
131021
131162
|
}
|
|
131022
131163
|
|
|
131164
|
+
export type MessageUncheckedUpdateOneWithoutFileNestedInput = {
|
|
131165
|
+
create?: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
|
|
131166
|
+
connectOrCreate?: MessageCreateOrConnectWithoutFileInput
|
|
131167
|
+
upsert?: MessageUpsertWithoutFileInput
|
|
131168
|
+
disconnect?: MessageWhereInput | boolean
|
|
131169
|
+
delete?: MessageWhereInput | boolean
|
|
131170
|
+
connect?: MessageWhereUniqueInput
|
|
131171
|
+
update?: XOR<XOR<MessageUpdateToOneWithWhereWithoutFileInput, MessageUpdateWithoutFileInput>, MessageUncheckedUpdateWithoutFileInput>
|
|
131172
|
+
}
|
|
131173
|
+
|
|
131023
131174
|
export type BrandCreateNestedOneWithoutCreditRefundBatchesInput = {
|
|
131024
131175
|
create?: XOR<BrandCreateWithoutCreditRefundBatchesInput, BrandUncheckedCreateWithoutCreditRefundBatchesInput>
|
|
131025
131176
|
connectOrCreate?: BrandCreateOrConnectWithoutCreditRefundBatchesInput
|
|
@@ -132253,6 +132404,7 @@ export namespace Prisma {
|
|
|
132253
132404
|
type?: string
|
|
132254
132405
|
messageSid?: string | null
|
|
132255
132406
|
chat: ChatCreateNestedOneWithoutMessagesInput
|
|
132407
|
+
file?: FileCreateNestedOneWithoutMessageInput
|
|
132256
132408
|
}
|
|
132257
132409
|
|
|
132258
132410
|
export type MessageUncheckedCreateWithoutUserInput = {
|
|
@@ -132264,6 +132416,7 @@ export namespace Prisma {
|
|
|
132264
132416
|
type?: string
|
|
132265
132417
|
messageSid?: string | null
|
|
132266
132418
|
chatId: number
|
|
132419
|
+
fileId?: string | null
|
|
132267
132420
|
}
|
|
132268
132421
|
|
|
132269
132422
|
export type MessageCreateOrConnectWithoutUserInput = {
|
|
@@ -132845,6 +132998,7 @@ export namespace Prisma {
|
|
|
132845
132998
|
brand: BrandCreateNestedOneWithoutFilesInput
|
|
132846
132999
|
editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
|
|
132847
133000
|
brandContract?: BrandContractCreateNestedOneWithoutFileInput
|
|
133001
|
+
message?: MessageCreateNestedOneWithoutFileInput
|
|
132848
133002
|
}
|
|
132849
133003
|
|
|
132850
133004
|
export type FileUncheckedCreateWithoutCreatedByUserInput = {
|
|
@@ -132861,6 +133015,7 @@ export namespace Prisma {
|
|
|
132861
133015
|
updatedAt?: Date | string
|
|
132862
133016
|
archivedAt?: Date | string | null
|
|
132863
133017
|
brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
|
|
133018
|
+
message?: MessageUncheckedCreateNestedOneWithoutFileInput
|
|
132864
133019
|
}
|
|
132865
133020
|
|
|
132866
133021
|
export type FileCreateOrConnectWithoutCreatedByUserInput = {
|
|
@@ -132887,6 +133042,7 @@ export namespace Prisma {
|
|
|
132887
133042
|
brand: BrandCreateNestedOneWithoutFilesInput
|
|
132888
133043
|
createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
|
|
132889
133044
|
brandContract?: BrandContractCreateNestedOneWithoutFileInput
|
|
133045
|
+
message?: MessageCreateNestedOneWithoutFileInput
|
|
132890
133046
|
}
|
|
132891
133047
|
|
|
132892
133048
|
export type FileUncheckedCreateWithoutEditedByUserInput = {
|
|
@@ -132903,6 +133059,7 @@ export namespace Prisma {
|
|
|
132903
133059
|
updatedAt?: Date | string
|
|
132904
133060
|
archivedAt?: Date | string | null
|
|
132905
133061
|
brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
|
|
133062
|
+
message?: MessageUncheckedCreateNestedOneWithoutFileInput
|
|
132906
133063
|
}
|
|
132907
133064
|
|
|
132908
133065
|
export type FileCreateOrConnectWithoutEditedByUserInput = {
|
|
@@ -133591,6 +133748,7 @@ export namespace Prisma {
|
|
|
133591
133748
|
messageSid?: StringNullableFilter<"Message"> | string | null
|
|
133592
133749
|
userId?: IntNullableFilter<"Message"> | number | null
|
|
133593
133750
|
chatId?: IntFilter<"Message"> | number
|
|
133751
|
+
fileId?: StringNullableFilter<"Message"> | string | null
|
|
133594
133752
|
}
|
|
133595
133753
|
|
|
133596
133754
|
export type SocialPostUpsertWithWhereUniqueWithoutUserInput = {
|
|
@@ -138042,6 +138200,7 @@ export namespace Prisma {
|
|
|
138042
138200
|
createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
|
|
138043
138201
|
editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
|
|
138044
138202
|
brandContract?: BrandContractCreateNestedOneWithoutFileInput
|
|
138203
|
+
message?: MessageCreateNestedOneWithoutFileInput
|
|
138045
138204
|
}
|
|
138046
138205
|
|
|
138047
138206
|
export type FileUncheckedCreateWithoutBrandInput = {
|
|
@@ -138058,6 +138217,7 @@ export namespace Prisma {
|
|
|
138058
138217
|
updatedAt?: Date | string
|
|
138059
138218
|
archivedAt?: Date | string | null
|
|
138060
138219
|
brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
|
|
138220
|
+
message?: MessageUncheckedCreateNestedOneWithoutFileInput
|
|
138061
138221
|
}
|
|
138062
138222
|
|
|
138063
138223
|
export type FileCreateOrConnectWithoutBrandInput = {
|
|
@@ -140657,6 +140817,7 @@ export namespace Prisma {
|
|
|
140657
140817
|
type?: string
|
|
140658
140818
|
messageSid?: string | null
|
|
140659
140819
|
user?: UserCreateNestedOneWithoutMessagesInput
|
|
140820
|
+
file?: FileCreateNestedOneWithoutMessageInput
|
|
140660
140821
|
}
|
|
140661
140822
|
|
|
140662
140823
|
export type MessageUncheckedCreateWithoutChatInput = {
|
|
@@ -140668,6 +140829,7 @@ export namespace Prisma {
|
|
|
140668
140829
|
type?: string
|
|
140669
140830
|
messageSid?: string | null
|
|
140670
140831
|
userId?: number | null
|
|
140832
|
+
fileId?: string | null
|
|
140671
140833
|
}
|
|
140672
140834
|
|
|
140673
140835
|
export type MessageCreateOrConnectWithoutChatInput = {
|
|
@@ -140906,6 +141068,45 @@ export namespace Prisma {
|
|
|
140906
141068
|
create: XOR<ChatCreateWithoutMessagesInput, ChatUncheckedCreateWithoutMessagesInput>
|
|
140907
141069
|
}
|
|
140908
141070
|
|
|
141071
|
+
export type FileCreateWithoutMessageInput = {
|
|
141072
|
+
id?: string
|
|
141073
|
+
name: string
|
|
141074
|
+
description?: string | null
|
|
141075
|
+
status: number
|
|
141076
|
+
md5: string
|
|
141077
|
+
type: string
|
|
141078
|
+
size: number
|
|
141079
|
+
createdAt?: Date | string
|
|
141080
|
+
updatedAt?: Date | string
|
|
141081
|
+
archivedAt?: Date | string | null
|
|
141082
|
+
brand: BrandCreateNestedOneWithoutFilesInput
|
|
141083
|
+
createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
|
|
141084
|
+
editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
|
|
141085
|
+
brandContract?: BrandContractCreateNestedOneWithoutFileInput
|
|
141086
|
+
}
|
|
141087
|
+
|
|
141088
|
+
export type FileUncheckedCreateWithoutMessageInput = {
|
|
141089
|
+
id?: string
|
|
141090
|
+
brandId: number
|
|
141091
|
+
name: string
|
|
141092
|
+
description?: string | null
|
|
141093
|
+
status: number
|
|
141094
|
+
md5: string
|
|
141095
|
+
type: string
|
|
141096
|
+
size: number
|
|
141097
|
+
createdByUserId: number
|
|
141098
|
+
editedByUserId?: number | null
|
|
141099
|
+
createdAt?: Date | string
|
|
141100
|
+
updatedAt?: Date | string
|
|
141101
|
+
archivedAt?: Date | string | null
|
|
141102
|
+
brandContract?: BrandContractUncheckedCreateNestedOneWithoutFileInput
|
|
141103
|
+
}
|
|
141104
|
+
|
|
141105
|
+
export type FileCreateOrConnectWithoutMessageInput = {
|
|
141106
|
+
where: FileWhereUniqueInput
|
|
141107
|
+
create: XOR<FileCreateWithoutMessageInput, FileUncheckedCreateWithoutMessageInput>
|
|
141108
|
+
}
|
|
141109
|
+
|
|
140909
141110
|
export type UserUpsertWithoutMessagesInput = {
|
|
140910
141111
|
update: XOR<UserUpdateWithoutMessagesInput, UserUncheckedUpdateWithoutMessagesInput>
|
|
140911
141112
|
create: XOR<UserCreateWithoutMessagesInput, UserUncheckedCreateWithoutMessagesInput>
|
|
@@ -141050,6 +141251,51 @@ export namespace Prisma {
|
|
|
141050
141251
|
optInId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
141051
141252
|
}
|
|
141052
141253
|
|
|
141254
|
+
export type FileUpsertWithoutMessageInput = {
|
|
141255
|
+
update: XOR<FileUpdateWithoutMessageInput, FileUncheckedUpdateWithoutMessageInput>
|
|
141256
|
+
create: XOR<FileCreateWithoutMessageInput, FileUncheckedCreateWithoutMessageInput>
|
|
141257
|
+
where?: FileWhereInput
|
|
141258
|
+
}
|
|
141259
|
+
|
|
141260
|
+
export type FileUpdateToOneWithWhereWithoutMessageInput = {
|
|
141261
|
+
where?: FileWhereInput
|
|
141262
|
+
data: XOR<FileUpdateWithoutMessageInput, FileUncheckedUpdateWithoutMessageInput>
|
|
141263
|
+
}
|
|
141264
|
+
|
|
141265
|
+
export type FileUpdateWithoutMessageInput = {
|
|
141266
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
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
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
141274
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
141275
|
+
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
141276
|
+
brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
|
|
141277
|
+
createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
|
|
141278
|
+
editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
|
|
141279
|
+
brandContract?: BrandContractUpdateOneWithoutFileNestedInput
|
|
141280
|
+
}
|
|
141281
|
+
|
|
141282
|
+
export type FileUncheckedUpdateWithoutMessageInput = {
|
|
141283
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
141284
|
+
brandId?: IntFieldUpdateOperationsInput | number
|
|
141285
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
141286
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
141287
|
+
status?: IntFieldUpdateOperationsInput | number
|
|
141288
|
+
md5?: StringFieldUpdateOperationsInput | string
|
|
141289
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
141290
|
+
size?: IntFieldUpdateOperationsInput | number
|
|
141291
|
+
createdByUserId?: IntFieldUpdateOperationsInput | number
|
|
141292
|
+
editedByUserId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
141293
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
141294
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
141295
|
+
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
141296
|
+
brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
|
|
141297
|
+
}
|
|
141298
|
+
|
|
141053
141299
|
export type CampaignStepCreateWithoutCampaignInput = {
|
|
141054
141300
|
placement: number
|
|
141055
141301
|
stepSettings?: NullableJsonNullValueInput | InputJsonValue
|
|
@@ -160505,6 +160751,7 @@ export namespace Prisma {
|
|
|
160505
160751
|
brand: BrandCreateNestedOneWithoutFilesInput
|
|
160506
160752
|
createdByUser: UserCreateNestedOneWithoutFilesCreatedInput
|
|
160507
160753
|
editedByUser?: UserCreateNestedOneWithoutFilesEditedInput
|
|
160754
|
+
message?: MessageCreateNestedOneWithoutFileInput
|
|
160508
160755
|
}
|
|
160509
160756
|
|
|
160510
160757
|
export type FileUncheckedCreateWithoutBrandContractInput = {
|
|
@@ -160521,6 +160768,7 @@ export namespace Prisma {
|
|
|
160521
160768
|
createdAt?: Date | string
|
|
160522
160769
|
updatedAt?: Date | string
|
|
160523
160770
|
archivedAt?: Date | string | null
|
|
160771
|
+
message?: MessageUncheckedCreateNestedOneWithoutFileInput
|
|
160524
160772
|
}
|
|
160525
160773
|
|
|
160526
160774
|
export type FileCreateOrConnectWithoutBrandContractInput = {
|
|
@@ -160875,6 +161123,7 @@ export namespace Prisma {
|
|
|
160875
161123
|
brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
|
|
160876
161124
|
createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
|
|
160877
161125
|
editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
|
|
161126
|
+
message?: MessageUpdateOneWithoutFileNestedInput
|
|
160878
161127
|
}
|
|
160879
161128
|
|
|
160880
161129
|
export type FileUncheckedUpdateWithoutBrandContractInput = {
|
|
@@ -160891,6 +161140,7 @@ export namespace Prisma {
|
|
|
160891
161140
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
160892
161141
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
160893
161142
|
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
161143
|
+
message?: MessageUncheckedUpdateOneWithoutFileNestedInput
|
|
160894
161144
|
}
|
|
160895
161145
|
|
|
160896
161146
|
export type UserUpsertWithoutContractsCreatedInput = {
|
|
@@ -161481,6 +161731,34 @@ export namespace Prisma {
|
|
|
161481
161731
|
create: XOR<BrandContractCreateWithoutFileInput, BrandContractUncheckedCreateWithoutFileInput>
|
|
161482
161732
|
}
|
|
161483
161733
|
|
|
161734
|
+
export type MessageCreateWithoutFileInput = {
|
|
161735
|
+
created?: Date | string | null
|
|
161736
|
+
sender: string
|
|
161737
|
+
content: string
|
|
161738
|
+
read?: boolean
|
|
161739
|
+
type?: string
|
|
161740
|
+
messageSid?: string | null
|
|
161741
|
+
user?: UserCreateNestedOneWithoutMessagesInput
|
|
161742
|
+
chat: ChatCreateNestedOneWithoutMessagesInput
|
|
161743
|
+
}
|
|
161744
|
+
|
|
161745
|
+
export type MessageUncheckedCreateWithoutFileInput = {
|
|
161746
|
+
id?: number
|
|
161747
|
+
created?: Date | string | null
|
|
161748
|
+
sender: string
|
|
161749
|
+
content: string
|
|
161750
|
+
read?: boolean
|
|
161751
|
+
type?: string
|
|
161752
|
+
messageSid?: string | null
|
|
161753
|
+
userId?: number | null
|
|
161754
|
+
chatId: number
|
|
161755
|
+
}
|
|
161756
|
+
|
|
161757
|
+
export type MessageCreateOrConnectWithoutFileInput = {
|
|
161758
|
+
where: MessageWhereUniqueInput
|
|
161759
|
+
create: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
|
|
161760
|
+
}
|
|
161761
|
+
|
|
161484
161762
|
export type BrandUpsertWithoutFilesInput = {
|
|
161485
161763
|
update: XOR<BrandUpdateWithoutFilesInput, BrandUncheckedUpdateWithoutFilesInput>
|
|
161486
161764
|
create: XOR<BrandCreateWithoutFilesInput, BrandUncheckedCreateWithoutFilesInput>
|
|
@@ -161857,6 +162135,40 @@ export namespace Prisma {
|
|
|
161857
162135
|
editedByUserId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
161858
162136
|
}
|
|
161859
162137
|
|
|
162138
|
+
export type MessageUpsertWithoutFileInput = {
|
|
162139
|
+
update: XOR<MessageUpdateWithoutFileInput, MessageUncheckedUpdateWithoutFileInput>
|
|
162140
|
+
create: XOR<MessageCreateWithoutFileInput, MessageUncheckedCreateWithoutFileInput>
|
|
162141
|
+
where?: MessageWhereInput
|
|
162142
|
+
}
|
|
162143
|
+
|
|
162144
|
+
export type MessageUpdateToOneWithWhereWithoutFileInput = {
|
|
162145
|
+
where?: MessageWhereInput
|
|
162146
|
+
data: XOR<MessageUpdateWithoutFileInput, MessageUncheckedUpdateWithoutFileInput>
|
|
162147
|
+
}
|
|
162148
|
+
|
|
162149
|
+
export type MessageUpdateWithoutFileInput = {
|
|
162150
|
+
created?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
162151
|
+
sender?: StringFieldUpdateOperationsInput | string
|
|
162152
|
+
content?: StringFieldUpdateOperationsInput | string
|
|
162153
|
+
read?: BoolFieldUpdateOperationsInput | boolean
|
|
162154
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
162155
|
+
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162156
|
+
user?: UserUpdateOneWithoutMessagesNestedInput
|
|
162157
|
+
chat?: ChatUpdateOneRequiredWithoutMessagesNestedInput
|
|
162158
|
+
}
|
|
162159
|
+
|
|
162160
|
+
export type MessageUncheckedUpdateWithoutFileInput = {
|
|
162161
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
162162
|
+
created?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
162163
|
+
sender?: StringFieldUpdateOperationsInput | string
|
|
162164
|
+
content?: StringFieldUpdateOperationsInput | string
|
|
162165
|
+
read?: BoolFieldUpdateOperationsInput | boolean
|
|
162166
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
162167
|
+
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162168
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162169
|
+
chatId?: IntFieldUpdateOperationsInput | number
|
|
162170
|
+
}
|
|
162171
|
+
|
|
161860
162172
|
export type BrandCreateWithoutCreditRefundBatchesInput = {
|
|
161861
162173
|
name: string
|
|
161862
162174
|
description?: string | null
|
|
@@ -162195,6 +162507,7 @@ export namespace Prisma {
|
|
|
162195
162507
|
type?: string
|
|
162196
162508
|
messageSid?: string | null
|
|
162197
162509
|
chatId: number
|
|
162510
|
+
fileId?: string | null
|
|
162198
162511
|
}
|
|
162199
162512
|
|
|
162200
162513
|
export type SocialPostCreateManyUserInput = {
|
|
@@ -162788,6 +163101,7 @@ export namespace Prisma {
|
|
|
162788
163101
|
type?: StringFieldUpdateOperationsInput | string
|
|
162789
163102
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162790
163103
|
chat?: ChatUpdateOneRequiredWithoutMessagesNestedInput
|
|
163104
|
+
file?: FileUpdateOneWithoutMessageNestedInput
|
|
162791
163105
|
}
|
|
162792
163106
|
|
|
162793
163107
|
export type MessageUncheckedUpdateWithoutUserInput = {
|
|
@@ -162799,6 +163113,7 @@ export namespace Prisma {
|
|
|
162799
163113
|
type?: StringFieldUpdateOperationsInput | string
|
|
162800
163114
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162801
163115
|
chatId?: IntFieldUpdateOperationsInput | number
|
|
163116
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162802
163117
|
}
|
|
162803
163118
|
|
|
162804
163119
|
export type MessageUncheckedUpdateManyWithoutUserInput = {
|
|
@@ -162810,6 +163125,7 @@ export namespace Prisma {
|
|
|
162810
163125
|
type?: StringFieldUpdateOperationsInput | string
|
|
162811
163126
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162812
163127
|
chatId?: IntFieldUpdateOperationsInput | number
|
|
163128
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
162813
163129
|
}
|
|
162814
163130
|
|
|
162815
163131
|
export type SocialPostUpdateWithoutUserInput = {
|
|
@@ -163430,6 +163746,7 @@ export namespace Prisma {
|
|
|
163430
163746
|
brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
|
|
163431
163747
|
editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
|
|
163432
163748
|
brandContract?: BrandContractUpdateOneWithoutFileNestedInput
|
|
163749
|
+
message?: MessageUpdateOneWithoutFileNestedInput
|
|
163433
163750
|
}
|
|
163434
163751
|
|
|
163435
163752
|
export type FileUncheckedUpdateWithoutCreatedByUserInput = {
|
|
@@ -163446,6 +163763,7 @@ export namespace Prisma {
|
|
|
163446
163763
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
163447
163764
|
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
163448
163765
|
brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
|
|
163766
|
+
message?: MessageUncheckedUpdateOneWithoutFileNestedInput
|
|
163449
163767
|
}
|
|
163450
163768
|
|
|
163451
163769
|
export type FileUncheckedUpdateManyWithoutCreatedByUserInput = {
|
|
@@ -163477,6 +163795,7 @@ export namespace Prisma {
|
|
|
163477
163795
|
brand?: BrandUpdateOneRequiredWithoutFilesNestedInput
|
|
163478
163796
|
createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
|
|
163479
163797
|
brandContract?: BrandContractUpdateOneWithoutFileNestedInput
|
|
163798
|
+
message?: MessageUpdateOneWithoutFileNestedInput
|
|
163480
163799
|
}
|
|
163481
163800
|
|
|
163482
163801
|
export type FileUncheckedUpdateWithoutEditedByUserInput = {
|
|
@@ -163493,6 +163812,7 @@ export namespace Prisma {
|
|
|
163493
163812
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
163494
163813
|
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
163495
163814
|
brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
|
|
163815
|
+
message?: MessageUncheckedUpdateOneWithoutFileNestedInput
|
|
163496
163816
|
}
|
|
163497
163817
|
|
|
163498
163818
|
export type FileUncheckedUpdateManyWithoutEditedByUserInput = {
|
|
@@ -164644,6 +164964,7 @@ export namespace Prisma {
|
|
|
164644
164964
|
createdByUser?: UserUpdateOneRequiredWithoutFilesCreatedNestedInput
|
|
164645
164965
|
editedByUser?: UserUpdateOneWithoutFilesEditedNestedInput
|
|
164646
164966
|
brandContract?: BrandContractUpdateOneWithoutFileNestedInput
|
|
164967
|
+
message?: MessageUpdateOneWithoutFileNestedInput
|
|
164647
164968
|
}
|
|
164648
164969
|
|
|
164649
164970
|
export type FileUncheckedUpdateWithoutBrandInput = {
|
|
@@ -164660,6 +164981,7 @@ export namespace Prisma {
|
|
|
164660
164981
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
164661
164982
|
archivedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
164662
164983
|
brandContract?: BrandContractUncheckedUpdateOneWithoutFileNestedInput
|
|
164984
|
+
message?: MessageUncheckedUpdateOneWithoutFileNestedInput
|
|
164663
164985
|
}
|
|
164664
164986
|
|
|
164665
164987
|
export type FileUncheckedUpdateManyWithoutBrandInput = {
|
|
@@ -164831,6 +165153,7 @@ export namespace Prisma {
|
|
|
164831
165153
|
type?: string
|
|
164832
165154
|
messageSid?: string | null
|
|
164833
165155
|
userId?: number | null
|
|
165156
|
+
fileId?: string | null
|
|
164834
165157
|
}
|
|
164835
165158
|
|
|
164836
165159
|
export type MessageUpdateWithoutChatInput = {
|
|
@@ -164841,6 +165164,7 @@ export namespace Prisma {
|
|
|
164841
165164
|
type?: StringFieldUpdateOperationsInput | string
|
|
164842
165165
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
164843
165166
|
user?: UserUpdateOneWithoutMessagesNestedInput
|
|
165167
|
+
file?: FileUpdateOneWithoutMessageNestedInput
|
|
164844
165168
|
}
|
|
164845
165169
|
|
|
164846
165170
|
export type MessageUncheckedUpdateWithoutChatInput = {
|
|
@@ -164852,6 +165176,7 @@ export namespace Prisma {
|
|
|
164852
165176
|
type?: StringFieldUpdateOperationsInput | string
|
|
164853
165177
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
164854
165178
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
165179
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
164855
165180
|
}
|
|
164856
165181
|
|
|
164857
165182
|
export type MessageUncheckedUpdateManyWithoutChatInput = {
|
|
@@ -164863,6 +165188,7 @@ export namespace Prisma {
|
|
|
164863
165188
|
type?: StringFieldUpdateOperationsInput | string
|
|
164864
165189
|
messageSid?: NullableStringFieldUpdateOperationsInput | string | null
|
|
164865
165190
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
165191
|
+
fileId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
164866
165192
|
}
|
|
164867
165193
|
|
|
164868
165194
|
export type CampaignStepCreateManyCampaignInput = {
|