@creator.co/creatorco-prisma-client 1.0.34-alpha-6895cd0 → 1.0.35
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 +52 -5
- package/index-browser.js +48 -1
- package/index.d.ts +2316 -387
- package/index.js +52 -5
- package/package.json +1 -1
- package/schema.prisma +55 -5
- package/wasm.js +48 -1
package/index.d.ts
CHANGED
|
@@ -198,6 +198,11 @@ export type OptInVariable = $Result.DefaultSelection<Prisma.$OptInVariablePayloa
|
|
|
198
198
|
*
|
|
199
199
|
*/
|
|
200
200
|
export type SocialPost = $Result.DefaultSelection<Prisma.$SocialPostPayload>
|
|
201
|
+
/**
|
|
202
|
+
* Model ArchivedSocialPost
|
|
203
|
+
*
|
|
204
|
+
*/
|
|
205
|
+
export type ArchivedSocialPost = $Result.DefaultSelection<Prisma.$ArchivedSocialPostPayload>
|
|
201
206
|
/**
|
|
202
207
|
* Model Image
|
|
203
208
|
*
|
|
@@ -892,6 +897,16 @@ export class PrismaClient<
|
|
|
892
897
|
*/
|
|
893
898
|
get socialPost(): Prisma.SocialPostDelegate<ExtArgs>;
|
|
894
899
|
|
|
900
|
+
/**
|
|
901
|
+
* `prisma.archivedSocialPost`: Exposes CRUD operations for the **ArchivedSocialPost** model.
|
|
902
|
+
* Example usage:
|
|
903
|
+
* ```ts
|
|
904
|
+
* // Fetch zero or more ArchivedSocialPosts
|
|
905
|
+
* const archivedSocialPosts = await prisma.archivedSocialPost.findMany()
|
|
906
|
+
* ```
|
|
907
|
+
*/
|
|
908
|
+
get archivedSocialPost(): Prisma.ArchivedSocialPostDelegate<ExtArgs>;
|
|
909
|
+
|
|
895
910
|
/**
|
|
896
911
|
* `prisma.image`: Exposes CRUD operations for the **Image** model.
|
|
897
912
|
* Example usage:
|
|
@@ -1715,6 +1730,7 @@ export namespace Prisma {
|
|
|
1715
1730
|
TrolleyPayment: 'TrolleyPayment',
|
|
1716
1731
|
OptInVariable: 'OptInVariable',
|
|
1717
1732
|
SocialPost: 'SocialPost',
|
|
1733
|
+
ArchivedSocialPost: 'ArchivedSocialPost',
|
|
1718
1734
|
Image: 'Image',
|
|
1719
1735
|
BrandImage: 'BrandImage',
|
|
1720
1736
|
Country: 'Country',
|
|
@@ -1762,7 +1778,7 @@ export namespace Prisma {
|
|
|
1762
1778
|
|
|
1763
1779
|
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1764
1780
|
meta: {
|
|
1765
|
-
modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'paymentTransaction' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct'
|
|
1781
|
+
modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'paymentTransaction' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct'
|
|
1766
1782
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
1767
1783
|
},
|
|
1768
1784
|
model: {
|
|
@@ -4208,6 +4224,72 @@ export namespace Prisma {
|
|
|
4208
4224
|
}
|
|
4209
4225
|
}
|
|
4210
4226
|
}
|
|
4227
|
+
ArchivedSocialPost: {
|
|
4228
|
+
payload: Prisma.$ArchivedSocialPostPayload<ExtArgs>
|
|
4229
|
+
fields: Prisma.ArchivedSocialPostFieldRefs
|
|
4230
|
+
operations: {
|
|
4231
|
+
findUnique: {
|
|
4232
|
+
args: Prisma.ArchivedSocialPostFindUniqueArgs<ExtArgs>,
|
|
4233
|
+
result: $Utils.PayloadToResult<Prisma.$ArchivedSocialPostPayload> | null
|
|
4234
|
+
}
|
|
4235
|
+
findUniqueOrThrow: {
|
|
4236
|
+
args: Prisma.ArchivedSocialPostFindUniqueOrThrowArgs<ExtArgs>,
|
|
4237
|
+
result: $Utils.PayloadToResult<Prisma.$ArchivedSocialPostPayload>
|
|
4238
|
+
}
|
|
4239
|
+
findFirst: {
|
|
4240
|
+
args: Prisma.ArchivedSocialPostFindFirstArgs<ExtArgs>,
|
|
4241
|
+
result: $Utils.PayloadToResult<Prisma.$ArchivedSocialPostPayload> | null
|
|
4242
|
+
}
|
|
4243
|
+
findFirstOrThrow: {
|
|
4244
|
+
args: Prisma.ArchivedSocialPostFindFirstOrThrowArgs<ExtArgs>,
|
|
4245
|
+
result: $Utils.PayloadToResult<Prisma.$ArchivedSocialPostPayload>
|
|
4246
|
+
}
|
|
4247
|
+
findMany: {
|
|
4248
|
+
args: Prisma.ArchivedSocialPostFindManyArgs<ExtArgs>,
|
|
4249
|
+
result: $Utils.PayloadToResult<Prisma.$ArchivedSocialPostPayload>[]
|
|
4250
|
+
}
|
|
4251
|
+
create: {
|
|
4252
|
+
args: Prisma.ArchivedSocialPostCreateArgs<ExtArgs>,
|
|
4253
|
+
result: $Utils.PayloadToResult<Prisma.$ArchivedSocialPostPayload>
|
|
4254
|
+
}
|
|
4255
|
+
createMany: {
|
|
4256
|
+
args: Prisma.ArchivedSocialPostCreateManyArgs<ExtArgs>,
|
|
4257
|
+
result: Prisma.BatchPayload
|
|
4258
|
+
}
|
|
4259
|
+
delete: {
|
|
4260
|
+
args: Prisma.ArchivedSocialPostDeleteArgs<ExtArgs>,
|
|
4261
|
+
result: $Utils.PayloadToResult<Prisma.$ArchivedSocialPostPayload>
|
|
4262
|
+
}
|
|
4263
|
+
update: {
|
|
4264
|
+
args: Prisma.ArchivedSocialPostUpdateArgs<ExtArgs>,
|
|
4265
|
+
result: $Utils.PayloadToResult<Prisma.$ArchivedSocialPostPayload>
|
|
4266
|
+
}
|
|
4267
|
+
deleteMany: {
|
|
4268
|
+
args: Prisma.ArchivedSocialPostDeleteManyArgs<ExtArgs>,
|
|
4269
|
+
result: Prisma.BatchPayload
|
|
4270
|
+
}
|
|
4271
|
+
updateMany: {
|
|
4272
|
+
args: Prisma.ArchivedSocialPostUpdateManyArgs<ExtArgs>,
|
|
4273
|
+
result: Prisma.BatchPayload
|
|
4274
|
+
}
|
|
4275
|
+
upsert: {
|
|
4276
|
+
args: Prisma.ArchivedSocialPostUpsertArgs<ExtArgs>,
|
|
4277
|
+
result: $Utils.PayloadToResult<Prisma.$ArchivedSocialPostPayload>
|
|
4278
|
+
}
|
|
4279
|
+
aggregate: {
|
|
4280
|
+
args: Prisma.ArchivedSocialPostAggregateArgs<ExtArgs>,
|
|
4281
|
+
result: $Utils.Optional<AggregateArchivedSocialPost>
|
|
4282
|
+
}
|
|
4283
|
+
groupBy: {
|
|
4284
|
+
args: Prisma.ArchivedSocialPostGroupByArgs<ExtArgs>,
|
|
4285
|
+
result: $Utils.Optional<ArchivedSocialPostGroupByOutputType>[]
|
|
4286
|
+
}
|
|
4287
|
+
count: {
|
|
4288
|
+
args: Prisma.ArchivedSocialPostCountArgs<ExtArgs>,
|
|
4289
|
+
result: $Utils.Optional<ArchivedSocialPostCountAggregateOutputType> | number
|
|
4290
|
+
}
|
|
4291
|
+
}
|
|
4292
|
+
}
|
|
4211
4293
|
Image: {
|
|
4212
4294
|
payload: Prisma.$ImagePayload<ExtArgs>
|
|
4213
4295
|
fields: Prisma.ImageFieldRefs
|
|
@@ -36170,31 +36252,26 @@ export namespace Prisma {
|
|
|
36170
36252
|
}
|
|
36171
36253
|
|
|
36172
36254
|
export type OptinToProductListItemAvgAggregateOutputType = {
|
|
36173
|
-
id: number | null
|
|
36174
36255
|
optInId: number | null
|
|
36175
36256
|
productListItemId: number | null
|
|
36176
36257
|
}
|
|
36177
36258
|
|
|
36178
36259
|
export type OptinToProductListItemSumAggregateOutputType = {
|
|
36179
|
-
id: number | null
|
|
36180
36260
|
optInId: number | null
|
|
36181
36261
|
productListItemId: number | null
|
|
36182
36262
|
}
|
|
36183
36263
|
|
|
36184
36264
|
export type OptinToProductListItemMinAggregateOutputType = {
|
|
36185
|
-
id: number | null
|
|
36186
36265
|
optInId: number | null
|
|
36187
36266
|
productListItemId: number | null
|
|
36188
36267
|
}
|
|
36189
36268
|
|
|
36190
36269
|
export type OptinToProductListItemMaxAggregateOutputType = {
|
|
36191
|
-
id: number | null
|
|
36192
36270
|
optInId: number | null
|
|
36193
36271
|
productListItemId: number | null
|
|
36194
36272
|
}
|
|
36195
36273
|
|
|
36196
36274
|
export type OptinToProductListItemCountAggregateOutputType = {
|
|
36197
|
-
id: number
|
|
36198
36275
|
optInId: number
|
|
36199
36276
|
productListItemId: number
|
|
36200
36277
|
_all: number
|
|
@@ -36202,31 +36279,26 @@ export namespace Prisma {
|
|
|
36202
36279
|
|
|
36203
36280
|
|
|
36204
36281
|
export type OptinToProductListItemAvgAggregateInputType = {
|
|
36205
|
-
id?: true
|
|
36206
36282
|
optInId?: true
|
|
36207
36283
|
productListItemId?: true
|
|
36208
36284
|
}
|
|
36209
36285
|
|
|
36210
36286
|
export type OptinToProductListItemSumAggregateInputType = {
|
|
36211
|
-
id?: true
|
|
36212
36287
|
optInId?: true
|
|
36213
36288
|
productListItemId?: true
|
|
36214
36289
|
}
|
|
36215
36290
|
|
|
36216
36291
|
export type OptinToProductListItemMinAggregateInputType = {
|
|
36217
|
-
id?: true
|
|
36218
36292
|
optInId?: true
|
|
36219
36293
|
productListItemId?: true
|
|
36220
36294
|
}
|
|
36221
36295
|
|
|
36222
36296
|
export type OptinToProductListItemMaxAggregateInputType = {
|
|
36223
|
-
id?: true
|
|
36224
36297
|
optInId?: true
|
|
36225
36298
|
productListItemId?: true
|
|
36226
36299
|
}
|
|
36227
36300
|
|
|
36228
36301
|
export type OptinToProductListItemCountAggregateInputType = {
|
|
36229
|
-
id?: true
|
|
36230
36302
|
optInId?: true
|
|
36231
36303
|
productListItemId?: true
|
|
36232
36304
|
_all?: true
|
|
@@ -36319,7 +36391,6 @@ export namespace Prisma {
|
|
|
36319
36391
|
}
|
|
36320
36392
|
|
|
36321
36393
|
export type OptinToProductListItemGroupByOutputType = {
|
|
36322
|
-
id: number
|
|
36323
36394
|
optInId: number
|
|
36324
36395
|
productListItemId: number
|
|
36325
36396
|
_count: OptinToProductListItemCountAggregateOutputType | null
|
|
@@ -36344,7 +36415,6 @@ export namespace Prisma {
|
|
|
36344
36415
|
|
|
36345
36416
|
|
|
36346
36417
|
export type OptinToProductListItemSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
36347
|
-
id?: boolean
|
|
36348
36418
|
optInId?: boolean
|
|
36349
36419
|
productListItemId?: boolean
|
|
36350
36420
|
optIn?: boolean | OptInDefaultArgs<ExtArgs>
|
|
@@ -36352,7 +36422,6 @@ export namespace Prisma {
|
|
|
36352
36422
|
}, ExtArgs["result"]["optinToProductListItem"]>
|
|
36353
36423
|
|
|
36354
36424
|
export type OptinToProductListItemSelectScalar = {
|
|
36355
|
-
id?: boolean
|
|
36356
36425
|
optInId?: boolean
|
|
36357
36426
|
productListItemId?: boolean
|
|
36358
36427
|
}
|
|
@@ -36371,7 +36440,6 @@ export namespace Prisma {
|
|
|
36371
36440
|
productListItem: Prisma.$ProductListItemPayload<ExtArgs>
|
|
36372
36441
|
}
|
|
36373
36442
|
scalars: $Extensions.GetPayloadResult<{
|
|
36374
|
-
id: number
|
|
36375
36443
|
optInId: number
|
|
36376
36444
|
productListItemId: number
|
|
36377
36445
|
}, ExtArgs["result"]["optinToProductListItem"]>
|
|
@@ -36466,8 +36534,8 @@ export namespace Prisma {
|
|
|
36466
36534
|
* // Get first 10 OptinToProductListItems
|
|
36467
36535
|
* const optinToProductListItems = await prisma.optinToProductListItem.findMany({ take: 10 })
|
|
36468
36536
|
*
|
|
36469
|
-
* // Only select the `
|
|
36470
|
-
* const
|
|
36537
|
+
* // Only select the `optInId`
|
|
36538
|
+
* const optinToProductListItemWithOptInIdOnly = await prisma.optinToProductListItem.findMany({ select: { optInId: true } })
|
|
36471
36539
|
*
|
|
36472
36540
|
**/
|
|
36473
36541
|
findMany<T extends OptinToProductListItemFindManyArgs<ExtArgs>>(
|
|
@@ -36771,7 +36839,6 @@ export namespace Prisma {
|
|
|
36771
36839
|
* Fields of the OptinToProductListItem model
|
|
36772
36840
|
*/
|
|
36773
36841
|
interface OptinToProductListItemFieldRefs {
|
|
36774
|
-
readonly id: FieldRef<"OptinToProductListItem", 'Int'>
|
|
36775
36842
|
readonly optInId: FieldRef<"OptinToProductListItem", 'Int'>
|
|
36776
36843
|
readonly productListItemId: FieldRef<"OptinToProductListItem", 'Int'>
|
|
36777
36844
|
}
|
|
@@ -47208,403 +47275,1647 @@ export namespace Prisma {
|
|
|
47208
47275
|
|
|
47209
47276
|
|
|
47210
47277
|
/**
|
|
47211
|
-
* Fields of the SocialPost model
|
|
47278
|
+
* Fields of the SocialPost model
|
|
47279
|
+
*/
|
|
47280
|
+
interface SocialPostFieldRefs {
|
|
47281
|
+
readonly id: FieldRef<"SocialPost", 'Int'>
|
|
47282
|
+
readonly externalId: FieldRef<"SocialPost", 'String'>
|
|
47283
|
+
readonly phylloId: FieldRef<"SocialPost", 'String'>
|
|
47284
|
+
readonly metaData: FieldRef<"SocialPost", 'Json'>
|
|
47285
|
+
readonly data: FieldRef<"SocialPost", 'Json'>
|
|
47286
|
+
readonly lastFetched: FieldRef<"SocialPost", 'DateTime'>
|
|
47287
|
+
readonly lastWebhook: FieldRef<"SocialPost", 'DateTime'>
|
|
47288
|
+
readonly posted: FieldRef<"SocialPost", 'DateTime'>
|
|
47289
|
+
readonly title: FieldRef<"SocialPost", 'String'>
|
|
47290
|
+
readonly description: FieldRef<"SocialPost", 'String'>
|
|
47291
|
+
readonly url: FieldRef<"SocialPost", 'String'>
|
|
47292
|
+
readonly urlPath: FieldRef<"SocialPost", 'String'>
|
|
47293
|
+
readonly format: FieldRef<"SocialPost", 'String'>
|
|
47294
|
+
readonly type: FieldRef<"SocialPost", 'String'>
|
|
47295
|
+
readonly platform: FieldRef<"SocialPost", 'String'>
|
|
47296
|
+
readonly visibility: FieldRef<"SocialPost", 'String'>
|
|
47297
|
+
readonly isSponsored: FieldRef<"SocialPost", 'Boolean'>
|
|
47298
|
+
readonly hasCollaborators: FieldRef<"SocialPost", 'Boolean'>
|
|
47299
|
+
readonly isOwnedByUser: FieldRef<"SocialPost", 'Boolean'>
|
|
47300
|
+
readonly views: FieldRef<"SocialPost", 'Int'>
|
|
47301
|
+
readonly impressions: FieldRef<"SocialPost", 'Int'>
|
|
47302
|
+
readonly impressionsOrganic: FieldRef<"SocialPost", 'Int'>
|
|
47303
|
+
readonly impressionsPaid: FieldRef<"SocialPost", 'Int'>
|
|
47304
|
+
readonly reach: FieldRef<"SocialPost", 'Int'>
|
|
47305
|
+
readonly reachOrganic: FieldRef<"SocialPost", 'Int'>
|
|
47306
|
+
readonly reachPaid: FieldRef<"SocialPost", 'Int'>
|
|
47307
|
+
readonly watchHours: FieldRef<"SocialPost", 'Float'>
|
|
47308
|
+
readonly likes: FieldRef<"SocialPost", 'Int'>
|
|
47309
|
+
readonly dislikes: FieldRef<"SocialPost", 'Int'>
|
|
47310
|
+
readonly comments: FieldRef<"SocialPost", 'Int'>
|
|
47311
|
+
readonly saves: FieldRef<"SocialPost", 'Int'>
|
|
47312
|
+
readonly shares: FieldRef<"SocialPost", 'Int'>
|
|
47313
|
+
readonly userId: FieldRef<"SocialPost", 'Int'>
|
|
47314
|
+
readonly campaignId: FieldRef<"SocialPost", 'Int'>
|
|
47315
|
+
}
|
|
47316
|
+
|
|
47317
|
+
|
|
47318
|
+
// Custom InputTypes
|
|
47319
|
+
/**
|
|
47320
|
+
* SocialPost findUnique
|
|
47321
|
+
*/
|
|
47322
|
+
export type SocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47323
|
+
/**
|
|
47324
|
+
* Select specific fields to fetch from the SocialPost
|
|
47325
|
+
*/
|
|
47326
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
47327
|
+
/**
|
|
47328
|
+
* Choose, which related nodes to fetch as well
|
|
47329
|
+
*/
|
|
47330
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
47331
|
+
/**
|
|
47332
|
+
* Filter, which SocialPost to fetch.
|
|
47333
|
+
*/
|
|
47334
|
+
where: SocialPostWhereUniqueInput
|
|
47335
|
+
}
|
|
47336
|
+
|
|
47337
|
+
/**
|
|
47338
|
+
* SocialPost findUniqueOrThrow
|
|
47339
|
+
*/
|
|
47340
|
+
export type SocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47341
|
+
/**
|
|
47342
|
+
* Select specific fields to fetch from the SocialPost
|
|
47343
|
+
*/
|
|
47344
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
47345
|
+
/**
|
|
47346
|
+
* Choose, which related nodes to fetch as well
|
|
47347
|
+
*/
|
|
47348
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
47349
|
+
/**
|
|
47350
|
+
* Filter, which SocialPost to fetch.
|
|
47351
|
+
*/
|
|
47352
|
+
where: SocialPostWhereUniqueInput
|
|
47353
|
+
}
|
|
47354
|
+
|
|
47355
|
+
/**
|
|
47356
|
+
* SocialPost findFirst
|
|
47357
|
+
*/
|
|
47358
|
+
export type SocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47359
|
+
/**
|
|
47360
|
+
* Select specific fields to fetch from the SocialPost
|
|
47361
|
+
*/
|
|
47362
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
47363
|
+
/**
|
|
47364
|
+
* Choose, which related nodes to fetch as well
|
|
47365
|
+
*/
|
|
47366
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
47367
|
+
/**
|
|
47368
|
+
* Filter, which SocialPost to fetch.
|
|
47369
|
+
*/
|
|
47370
|
+
where?: SocialPostWhereInput
|
|
47371
|
+
/**
|
|
47372
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
47373
|
+
*
|
|
47374
|
+
* Determine the order of SocialPosts to fetch.
|
|
47375
|
+
*/
|
|
47376
|
+
orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
47377
|
+
/**
|
|
47378
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
47379
|
+
*
|
|
47380
|
+
* Sets the position for searching for SocialPosts.
|
|
47381
|
+
*/
|
|
47382
|
+
cursor?: SocialPostWhereUniqueInput
|
|
47383
|
+
/**
|
|
47384
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47385
|
+
*
|
|
47386
|
+
* Take `±n` SocialPosts from the position of the cursor.
|
|
47387
|
+
*/
|
|
47388
|
+
take?: number
|
|
47389
|
+
/**
|
|
47390
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47391
|
+
*
|
|
47392
|
+
* Skip the first `n` SocialPosts.
|
|
47393
|
+
*/
|
|
47394
|
+
skip?: number
|
|
47395
|
+
/**
|
|
47396
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
47397
|
+
*
|
|
47398
|
+
* Filter by unique combinations of SocialPosts.
|
|
47399
|
+
*/
|
|
47400
|
+
distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
|
|
47401
|
+
}
|
|
47402
|
+
|
|
47403
|
+
/**
|
|
47404
|
+
* SocialPost findFirstOrThrow
|
|
47405
|
+
*/
|
|
47406
|
+
export type SocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47407
|
+
/**
|
|
47408
|
+
* Select specific fields to fetch from the SocialPost
|
|
47409
|
+
*/
|
|
47410
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
47411
|
+
/**
|
|
47412
|
+
* Choose, which related nodes to fetch as well
|
|
47413
|
+
*/
|
|
47414
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
47415
|
+
/**
|
|
47416
|
+
* Filter, which SocialPost to fetch.
|
|
47417
|
+
*/
|
|
47418
|
+
where?: SocialPostWhereInput
|
|
47419
|
+
/**
|
|
47420
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
47421
|
+
*
|
|
47422
|
+
* Determine the order of SocialPosts to fetch.
|
|
47423
|
+
*/
|
|
47424
|
+
orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
47425
|
+
/**
|
|
47426
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
47427
|
+
*
|
|
47428
|
+
* Sets the position for searching for SocialPosts.
|
|
47429
|
+
*/
|
|
47430
|
+
cursor?: SocialPostWhereUniqueInput
|
|
47431
|
+
/**
|
|
47432
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47433
|
+
*
|
|
47434
|
+
* Take `±n` SocialPosts from the position of the cursor.
|
|
47435
|
+
*/
|
|
47436
|
+
take?: number
|
|
47437
|
+
/**
|
|
47438
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47439
|
+
*
|
|
47440
|
+
* Skip the first `n` SocialPosts.
|
|
47441
|
+
*/
|
|
47442
|
+
skip?: number
|
|
47443
|
+
/**
|
|
47444
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
47445
|
+
*
|
|
47446
|
+
* Filter by unique combinations of SocialPosts.
|
|
47447
|
+
*/
|
|
47448
|
+
distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
|
|
47449
|
+
}
|
|
47450
|
+
|
|
47451
|
+
/**
|
|
47452
|
+
* SocialPost findMany
|
|
47453
|
+
*/
|
|
47454
|
+
export type SocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47455
|
+
/**
|
|
47456
|
+
* Select specific fields to fetch from the SocialPost
|
|
47457
|
+
*/
|
|
47458
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
47459
|
+
/**
|
|
47460
|
+
* Choose, which related nodes to fetch as well
|
|
47461
|
+
*/
|
|
47462
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
47463
|
+
/**
|
|
47464
|
+
* Filter, which SocialPosts to fetch.
|
|
47465
|
+
*/
|
|
47466
|
+
where?: SocialPostWhereInput
|
|
47467
|
+
/**
|
|
47468
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
47469
|
+
*
|
|
47470
|
+
* Determine the order of SocialPosts to fetch.
|
|
47471
|
+
*/
|
|
47472
|
+
orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
47473
|
+
/**
|
|
47474
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
47475
|
+
*
|
|
47476
|
+
* Sets the position for listing SocialPosts.
|
|
47477
|
+
*/
|
|
47478
|
+
cursor?: SocialPostWhereUniqueInput
|
|
47479
|
+
/**
|
|
47480
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47481
|
+
*
|
|
47482
|
+
* Take `±n` SocialPosts from the position of the cursor.
|
|
47483
|
+
*/
|
|
47484
|
+
take?: number
|
|
47485
|
+
/**
|
|
47486
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47487
|
+
*
|
|
47488
|
+
* Skip the first `n` SocialPosts.
|
|
47489
|
+
*/
|
|
47490
|
+
skip?: number
|
|
47491
|
+
distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
|
|
47492
|
+
}
|
|
47493
|
+
|
|
47494
|
+
/**
|
|
47495
|
+
* SocialPost create
|
|
47496
|
+
*/
|
|
47497
|
+
export type SocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47498
|
+
/**
|
|
47499
|
+
* Select specific fields to fetch from the SocialPost
|
|
47500
|
+
*/
|
|
47501
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
47502
|
+
/**
|
|
47503
|
+
* Choose, which related nodes to fetch as well
|
|
47504
|
+
*/
|
|
47505
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
47506
|
+
/**
|
|
47507
|
+
* The data needed to create a SocialPost.
|
|
47508
|
+
*/
|
|
47509
|
+
data?: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
|
|
47510
|
+
}
|
|
47511
|
+
|
|
47512
|
+
/**
|
|
47513
|
+
* SocialPost createMany
|
|
47514
|
+
*/
|
|
47515
|
+
export type SocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47516
|
+
/**
|
|
47517
|
+
* The data used to create many SocialPosts.
|
|
47518
|
+
*/
|
|
47519
|
+
data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
|
|
47520
|
+
skipDuplicates?: boolean
|
|
47521
|
+
}
|
|
47522
|
+
|
|
47523
|
+
/**
|
|
47524
|
+
* SocialPost update
|
|
47525
|
+
*/
|
|
47526
|
+
export type SocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47527
|
+
/**
|
|
47528
|
+
* Select specific fields to fetch from the SocialPost
|
|
47529
|
+
*/
|
|
47530
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
47531
|
+
/**
|
|
47532
|
+
* Choose, which related nodes to fetch as well
|
|
47533
|
+
*/
|
|
47534
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
47535
|
+
/**
|
|
47536
|
+
* The data needed to update a SocialPost.
|
|
47537
|
+
*/
|
|
47538
|
+
data: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
|
|
47539
|
+
/**
|
|
47540
|
+
* Choose, which SocialPost to update.
|
|
47541
|
+
*/
|
|
47542
|
+
where: SocialPostWhereUniqueInput
|
|
47543
|
+
}
|
|
47544
|
+
|
|
47545
|
+
/**
|
|
47546
|
+
* SocialPost updateMany
|
|
47547
|
+
*/
|
|
47548
|
+
export type SocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47549
|
+
/**
|
|
47550
|
+
* The data used to update SocialPosts.
|
|
47551
|
+
*/
|
|
47552
|
+
data: XOR<SocialPostUpdateManyMutationInput, SocialPostUncheckedUpdateManyInput>
|
|
47553
|
+
/**
|
|
47554
|
+
* Filter which SocialPosts to update
|
|
47555
|
+
*/
|
|
47556
|
+
where?: SocialPostWhereInput
|
|
47557
|
+
}
|
|
47558
|
+
|
|
47559
|
+
/**
|
|
47560
|
+
* SocialPost upsert
|
|
47561
|
+
*/
|
|
47562
|
+
export type SocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47563
|
+
/**
|
|
47564
|
+
* Select specific fields to fetch from the SocialPost
|
|
47565
|
+
*/
|
|
47566
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
47567
|
+
/**
|
|
47568
|
+
* Choose, which related nodes to fetch as well
|
|
47569
|
+
*/
|
|
47570
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
47571
|
+
/**
|
|
47572
|
+
* The filter to search for the SocialPost to update in case it exists.
|
|
47573
|
+
*/
|
|
47574
|
+
where: SocialPostWhereUniqueInput
|
|
47575
|
+
/**
|
|
47576
|
+
* In case the SocialPost found by the `where` argument doesn't exist, create a new SocialPost with this data.
|
|
47577
|
+
*/
|
|
47578
|
+
create: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
|
|
47579
|
+
/**
|
|
47580
|
+
* In case the SocialPost was found with the provided `where` argument, update it with this data.
|
|
47581
|
+
*/
|
|
47582
|
+
update: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
|
|
47583
|
+
}
|
|
47584
|
+
|
|
47585
|
+
/**
|
|
47586
|
+
* SocialPost delete
|
|
47587
|
+
*/
|
|
47588
|
+
export type SocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47589
|
+
/**
|
|
47590
|
+
* Select specific fields to fetch from the SocialPost
|
|
47591
|
+
*/
|
|
47592
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
47593
|
+
/**
|
|
47594
|
+
* Choose, which related nodes to fetch as well
|
|
47595
|
+
*/
|
|
47596
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
47597
|
+
/**
|
|
47598
|
+
* Filter which SocialPost to delete.
|
|
47599
|
+
*/
|
|
47600
|
+
where: SocialPostWhereUniqueInput
|
|
47601
|
+
}
|
|
47602
|
+
|
|
47603
|
+
/**
|
|
47604
|
+
* SocialPost deleteMany
|
|
47605
|
+
*/
|
|
47606
|
+
export type SocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47607
|
+
/**
|
|
47608
|
+
* Filter which SocialPosts to delete
|
|
47609
|
+
*/
|
|
47610
|
+
where?: SocialPostWhereInput
|
|
47611
|
+
}
|
|
47612
|
+
|
|
47613
|
+
/**
|
|
47614
|
+
* SocialPost.user
|
|
47615
|
+
*/
|
|
47616
|
+
export type SocialPost$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47617
|
+
/**
|
|
47618
|
+
* Select specific fields to fetch from the User
|
|
47619
|
+
*/
|
|
47620
|
+
select?: UserSelect<ExtArgs> | null
|
|
47621
|
+
/**
|
|
47622
|
+
* Choose, which related nodes to fetch as well
|
|
47623
|
+
*/
|
|
47624
|
+
include?: UserInclude<ExtArgs> | null
|
|
47625
|
+
where?: UserWhereInput
|
|
47626
|
+
}
|
|
47627
|
+
|
|
47628
|
+
/**
|
|
47629
|
+
* SocialPost.campaign
|
|
47630
|
+
*/
|
|
47631
|
+
export type SocialPost$campaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47632
|
+
/**
|
|
47633
|
+
* Select specific fields to fetch from the Campaign
|
|
47634
|
+
*/
|
|
47635
|
+
select?: CampaignSelect<ExtArgs> | null
|
|
47636
|
+
/**
|
|
47637
|
+
* Choose, which related nodes to fetch as well
|
|
47638
|
+
*/
|
|
47639
|
+
include?: CampaignInclude<ExtArgs> | null
|
|
47640
|
+
where?: CampaignWhereInput
|
|
47641
|
+
}
|
|
47642
|
+
|
|
47643
|
+
/**
|
|
47644
|
+
* SocialPost.lists
|
|
47645
|
+
*/
|
|
47646
|
+
export type SocialPost$listsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47647
|
+
/**
|
|
47648
|
+
* Select specific fields to fetch from the ListToSocialPost
|
|
47649
|
+
*/
|
|
47650
|
+
select?: ListToSocialPostSelect<ExtArgs> | null
|
|
47651
|
+
/**
|
|
47652
|
+
* Choose, which related nodes to fetch as well
|
|
47653
|
+
*/
|
|
47654
|
+
include?: ListToSocialPostInclude<ExtArgs> | null
|
|
47655
|
+
where?: ListToSocialPostWhereInput
|
|
47656
|
+
orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
47657
|
+
cursor?: ListToSocialPostWhereUniqueInput
|
|
47658
|
+
take?: number
|
|
47659
|
+
skip?: number
|
|
47660
|
+
distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
|
|
47661
|
+
}
|
|
47662
|
+
|
|
47663
|
+
/**
|
|
47664
|
+
* SocialPost without action
|
|
47665
|
+
*/
|
|
47666
|
+
export type SocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47667
|
+
/**
|
|
47668
|
+
* Select specific fields to fetch from the SocialPost
|
|
47669
|
+
*/
|
|
47670
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
47671
|
+
/**
|
|
47672
|
+
* Choose, which related nodes to fetch as well
|
|
47673
|
+
*/
|
|
47674
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
47675
|
+
}
|
|
47676
|
+
|
|
47677
|
+
|
|
47678
|
+
/**
|
|
47679
|
+
* Model ArchivedSocialPost
|
|
47680
|
+
*/
|
|
47681
|
+
|
|
47682
|
+
export type AggregateArchivedSocialPost = {
|
|
47683
|
+
_count: ArchivedSocialPostCountAggregateOutputType | null
|
|
47684
|
+
_avg: ArchivedSocialPostAvgAggregateOutputType | null
|
|
47685
|
+
_sum: ArchivedSocialPostSumAggregateOutputType | null
|
|
47686
|
+
_min: ArchivedSocialPostMinAggregateOutputType | null
|
|
47687
|
+
_max: ArchivedSocialPostMaxAggregateOutputType | null
|
|
47688
|
+
}
|
|
47689
|
+
|
|
47690
|
+
export type ArchivedSocialPostAvgAggregateOutputType = {
|
|
47691
|
+
id: number | null
|
|
47692
|
+
views: number | null
|
|
47693
|
+
impressions: number | null
|
|
47694
|
+
impressionsOrganic: number | null
|
|
47695
|
+
impressionsPaid: number | null
|
|
47696
|
+
reach: number | null
|
|
47697
|
+
reachOrganic: number | null
|
|
47698
|
+
reachPaid: number | null
|
|
47699
|
+
watchHours: number | null
|
|
47700
|
+
likes: number | null
|
|
47701
|
+
dislikes: number | null
|
|
47702
|
+
comments: number | null
|
|
47703
|
+
saves: number | null
|
|
47704
|
+
shares: number | null
|
|
47705
|
+
userId: number | null
|
|
47706
|
+
campaignId: number | null
|
|
47707
|
+
}
|
|
47708
|
+
|
|
47709
|
+
export type ArchivedSocialPostSumAggregateOutputType = {
|
|
47710
|
+
id: number | null
|
|
47711
|
+
views: number | null
|
|
47712
|
+
impressions: number | null
|
|
47713
|
+
impressionsOrganic: number | null
|
|
47714
|
+
impressionsPaid: number | null
|
|
47715
|
+
reach: number | null
|
|
47716
|
+
reachOrganic: number | null
|
|
47717
|
+
reachPaid: number | null
|
|
47718
|
+
watchHours: number | null
|
|
47719
|
+
likes: number | null
|
|
47720
|
+
dislikes: number | null
|
|
47721
|
+
comments: number | null
|
|
47722
|
+
saves: number | null
|
|
47723
|
+
shares: number | null
|
|
47724
|
+
userId: number | null
|
|
47725
|
+
campaignId: number | null
|
|
47726
|
+
}
|
|
47727
|
+
|
|
47728
|
+
export type ArchivedSocialPostMinAggregateOutputType = {
|
|
47729
|
+
id: number | null
|
|
47730
|
+
phylloId: string | null
|
|
47731
|
+
lastFetched: Date | null
|
|
47732
|
+
lastWebhook: Date | null
|
|
47733
|
+
posted: Date | null
|
|
47734
|
+
title: string | null
|
|
47735
|
+
description: string | null
|
|
47736
|
+
url: string | null
|
|
47737
|
+
urlPath: string | null
|
|
47738
|
+
format: string | null
|
|
47739
|
+
type: string | null
|
|
47740
|
+
platform: string | null
|
|
47741
|
+
visibility: string | null
|
|
47742
|
+
isSponsored: boolean | null
|
|
47743
|
+
hasCollaborators: boolean | null
|
|
47744
|
+
isOwnedByUser: boolean | null
|
|
47745
|
+
views: number | null
|
|
47746
|
+
impressions: number | null
|
|
47747
|
+
impressionsOrganic: number | null
|
|
47748
|
+
impressionsPaid: number | null
|
|
47749
|
+
reach: number | null
|
|
47750
|
+
reachOrganic: number | null
|
|
47751
|
+
reachPaid: number | null
|
|
47752
|
+
watchHours: number | null
|
|
47753
|
+
likes: number | null
|
|
47754
|
+
dislikes: number | null
|
|
47755
|
+
comments: number | null
|
|
47756
|
+
saves: number | null
|
|
47757
|
+
shares: number | null
|
|
47758
|
+
userId: number | null
|
|
47759
|
+
campaignId: number | null
|
|
47760
|
+
}
|
|
47761
|
+
|
|
47762
|
+
export type ArchivedSocialPostMaxAggregateOutputType = {
|
|
47763
|
+
id: number | null
|
|
47764
|
+
phylloId: string | null
|
|
47765
|
+
lastFetched: Date | null
|
|
47766
|
+
lastWebhook: Date | null
|
|
47767
|
+
posted: Date | null
|
|
47768
|
+
title: string | null
|
|
47769
|
+
description: string | null
|
|
47770
|
+
url: string | null
|
|
47771
|
+
urlPath: string | null
|
|
47772
|
+
format: string | null
|
|
47773
|
+
type: string | null
|
|
47774
|
+
platform: string | null
|
|
47775
|
+
visibility: string | null
|
|
47776
|
+
isSponsored: boolean | null
|
|
47777
|
+
hasCollaborators: boolean | null
|
|
47778
|
+
isOwnedByUser: boolean | null
|
|
47779
|
+
views: number | null
|
|
47780
|
+
impressions: number | null
|
|
47781
|
+
impressionsOrganic: number | null
|
|
47782
|
+
impressionsPaid: number | null
|
|
47783
|
+
reach: number | null
|
|
47784
|
+
reachOrganic: number | null
|
|
47785
|
+
reachPaid: number | null
|
|
47786
|
+
watchHours: number | null
|
|
47787
|
+
likes: number | null
|
|
47788
|
+
dislikes: number | null
|
|
47789
|
+
comments: number | null
|
|
47790
|
+
saves: number | null
|
|
47791
|
+
shares: number | null
|
|
47792
|
+
userId: number | null
|
|
47793
|
+
campaignId: number | null
|
|
47794
|
+
}
|
|
47795
|
+
|
|
47796
|
+
export type ArchivedSocialPostCountAggregateOutputType = {
|
|
47797
|
+
id: number
|
|
47798
|
+
phylloId: number
|
|
47799
|
+
metaData: number
|
|
47800
|
+
lastFetched: number
|
|
47801
|
+
lastWebhook: number
|
|
47802
|
+
posted: number
|
|
47803
|
+
title: number
|
|
47804
|
+
description: number
|
|
47805
|
+
url: number
|
|
47806
|
+
urlPath: number
|
|
47807
|
+
format: number
|
|
47808
|
+
type: number
|
|
47809
|
+
platform: number
|
|
47810
|
+
visibility: number
|
|
47811
|
+
isSponsored: number
|
|
47812
|
+
hasCollaborators: number
|
|
47813
|
+
isOwnedByUser: number
|
|
47814
|
+
views: number
|
|
47815
|
+
impressions: number
|
|
47816
|
+
impressionsOrganic: number
|
|
47817
|
+
impressionsPaid: number
|
|
47818
|
+
reach: number
|
|
47819
|
+
reachOrganic: number
|
|
47820
|
+
reachPaid: number
|
|
47821
|
+
watchHours: number
|
|
47822
|
+
likes: number
|
|
47823
|
+
dislikes: number
|
|
47824
|
+
comments: number
|
|
47825
|
+
saves: number
|
|
47826
|
+
shares: number
|
|
47827
|
+
userId: number
|
|
47828
|
+
campaignId: number
|
|
47829
|
+
_all: number
|
|
47830
|
+
}
|
|
47831
|
+
|
|
47832
|
+
|
|
47833
|
+
export type ArchivedSocialPostAvgAggregateInputType = {
|
|
47834
|
+
id?: true
|
|
47835
|
+
views?: true
|
|
47836
|
+
impressions?: true
|
|
47837
|
+
impressionsOrganic?: true
|
|
47838
|
+
impressionsPaid?: true
|
|
47839
|
+
reach?: true
|
|
47840
|
+
reachOrganic?: true
|
|
47841
|
+
reachPaid?: true
|
|
47842
|
+
watchHours?: true
|
|
47843
|
+
likes?: true
|
|
47844
|
+
dislikes?: true
|
|
47845
|
+
comments?: true
|
|
47846
|
+
saves?: true
|
|
47847
|
+
shares?: true
|
|
47848
|
+
userId?: true
|
|
47849
|
+
campaignId?: true
|
|
47850
|
+
}
|
|
47851
|
+
|
|
47852
|
+
export type ArchivedSocialPostSumAggregateInputType = {
|
|
47853
|
+
id?: true
|
|
47854
|
+
views?: true
|
|
47855
|
+
impressions?: true
|
|
47856
|
+
impressionsOrganic?: true
|
|
47857
|
+
impressionsPaid?: true
|
|
47858
|
+
reach?: true
|
|
47859
|
+
reachOrganic?: true
|
|
47860
|
+
reachPaid?: true
|
|
47861
|
+
watchHours?: true
|
|
47862
|
+
likes?: true
|
|
47863
|
+
dislikes?: true
|
|
47864
|
+
comments?: true
|
|
47865
|
+
saves?: true
|
|
47866
|
+
shares?: true
|
|
47867
|
+
userId?: true
|
|
47868
|
+
campaignId?: true
|
|
47869
|
+
}
|
|
47870
|
+
|
|
47871
|
+
export type ArchivedSocialPostMinAggregateInputType = {
|
|
47872
|
+
id?: true
|
|
47873
|
+
phylloId?: true
|
|
47874
|
+
lastFetched?: true
|
|
47875
|
+
lastWebhook?: true
|
|
47876
|
+
posted?: true
|
|
47877
|
+
title?: true
|
|
47878
|
+
description?: true
|
|
47879
|
+
url?: true
|
|
47880
|
+
urlPath?: true
|
|
47881
|
+
format?: true
|
|
47882
|
+
type?: true
|
|
47883
|
+
platform?: true
|
|
47884
|
+
visibility?: true
|
|
47885
|
+
isSponsored?: true
|
|
47886
|
+
hasCollaborators?: true
|
|
47887
|
+
isOwnedByUser?: true
|
|
47888
|
+
views?: true
|
|
47889
|
+
impressions?: true
|
|
47890
|
+
impressionsOrganic?: true
|
|
47891
|
+
impressionsPaid?: true
|
|
47892
|
+
reach?: true
|
|
47893
|
+
reachOrganic?: true
|
|
47894
|
+
reachPaid?: true
|
|
47895
|
+
watchHours?: true
|
|
47896
|
+
likes?: true
|
|
47897
|
+
dislikes?: true
|
|
47898
|
+
comments?: true
|
|
47899
|
+
saves?: true
|
|
47900
|
+
shares?: true
|
|
47901
|
+
userId?: true
|
|
47902
|
+
campaignId?: true
|
|
47903
|
+
}
|
|
47904
|
+
|
|
47905
|
+
export type ArchivedSocialPostMaxAggregateInputType = {
|
|
47906
|
+
id?: true
|
|
47907
|
+
phylloId?: true
|
|
47908
|
+
lastFetched?: true
|
|
47909
|
+
lastWebhook?: true
|
|
47910
|
+
posted?: true
|
|
47911
|
+
title?: true
|
|
47912
|
+
description?: true
|
|
47913
|
+
url?: true
|
|
47914
|
+
urlPath?: true
|
|
47915
|
+
format?: true
|
|
47916
|
+
type?: true
|
|
47917
|
+
platform?: true
|
|
47918
|
+
visibility?: true
|
|
47919
|
+
isSponsored?: true
|
|
47920
|
+
hasCollaborators?: true
|
|
47921
|
+
isOwnedByUser?: true
|
|
47922
|
+
views?: true
|
|
47923
|
+
impressions?: true
|
|
47924
|
+
impressionsOrganic?: true
|
|
47925
|
+
impressionsPaid?: true
|
|
47926
|
+
reach?: true
|
|
47927
|
+
reachOrganic?: true
|
|
47928
|
+
reachPaid?: true
|
|
47929
|
+
watchHours?: true
|
|
47930
|
+
likes?: true
|
|
47931
|
+
dislikes?: true
|
|
47932
|
+
comments?: true
|
|
47933
|
+
saves?: true
|
|
47934
|
+
shares?: true
|
|
47935
|
+
userId?: true
|
|
47936
|
+
campaignId?: true
|
|
47937
|
+
}
|
|
47938
|
+
|
|
47939
|
+
export type ArchivedSocialPostCountAggregateInputType = {
|
|
47940
|
+
id?: true
|
|
47941
|
+
phylloId?: true
|
|
47942
|
+
metaData?: true
|
|
47943
|
+
lastFetched?: true
|
|
47944
|
+
lastWebhook?: true
|
|
47945
|
+
posted?: true
|
|
47946
|
+
title?: true
|
|
47947
|
+
description?: true
|
|
47948
|
+
url?: true
|
|
47949
|
+
urlPath?: true
|
|
47950
|
+
format?: true
|
|
47951
|
+
type?: true
|
|
47952
|
+
platform?: true
|
|
47953
|
+
visibility?: true
|
|
47954
|
+
isSponsored?: true
|
|
47955
|
+
hasCollaborators?: true
|
|
47956
|
+
isOwnedByUser?: true
|
|
47957
|
+
views?: true
|
|
47958
|
+
impressions?: true
|
|
47959
|
+
impressionsOrganic?: true
|
|
47960
|
+
impressionsPaid?: true
|
|
47961
|
+
reach?: true
|
|
47962
|
+
reachOrganic?: true
|
|
47963
|
+
reachPaid?: true
|
|
47964
|
+
watchHours?: true
|
|
47965
|
+
likes?: true
|
|
47966
|
+
dislikes?: true
|
|
47967
|
+
comments?: true
|
|
47968
|
+
saves?: true
|
|
47969
|
+
shares?: true
|
|
47970
|
+
userId?: true
|
|
47971
|
+
campaignId?: true
|
|
47972
|
+
_all?: true
|
|
47973
|
+
}
|
|
47974
|
+
|
|
47975
|
+
export type ArchivedSocialPostAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47976
|
+
/**
|
|
47977
|
+
* Filter which ArchivedSocialPost to aggregate.
|
|
47978
|
+
*/
|
|
47979
|
+
where?: ArchivedSocialPostWhereInput
|
|
47980
|
+
/**
|
|
47981
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
47982
|
+
*
|
|
47983
|
+
* Determine the order of ArchivedSocialPosts to fetch.
|
|
47984
|
+
*/
|
|
47985
|
+
orderBy?: ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput | ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
47986
|
+
/**
|
|
47987
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
47988
|
+
*
|
|
47989
|
+
* Sets the start position
|
|
47990
|
+
*/
|
|
47991
|
+
cursor?: ArchivedSocialPostWhereUniqueInput
|
|
47992
|
+
/**
|
|
47993
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47994
|
+
*
|
|
47995
|
+
* Take `±n` ArchivedSocialPosts from the position of the cursor.
|
|
47996
|
+
*/
|
|
47997
|
+
take?: number
|
|
47998
|
+
/**
|
|
47999
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
48000
|
+
*
|
|
48001
|
+
* Skip the first `n` ArchivedSocialPosts.
|
|
48002
|
+
*/
|
|
48003
|
+
skip?: number
|
|
48004
|
+
/**
|
|
48005
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
48006
|
+
*
|
|
48007
|
+
* Count returned ArchivedSocialPosts
|
|
48008
|
+
**/
|
|
48009
|
+
_count?: true | ArchivedSocialPostCountAggregateInputType
|
|
48010
|
+
/**
|
|
48011
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
48012
|
+
*
|
|
48013
|
+
* Select which fields to average
|
|
48014
|
+
**/
|
|
48015
|
+
_avg?: ArchivedSocialPostAvgAggregateInputType
|
|
48016
|
+
/**
|
|
48017
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
48018
|
+
*
|
|
48019
|
+
* Select which fields to sum
|
|
48020
|
+
**/
|
|
48021
|
+
_sum?: ArchivedSocialPostSumAggregateInputType
|
|
48022
|
+
/**
|
|
48023
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
48024
|
+
*
|
|
48025
|
+
* Select which fields to find the minimum value
|
|
48026
|
+
**/
|
|
48027
|
+
_min?: ArchivedSocialPostMinAggregateInputType
|
|
48028
|
+
/**
|
|
48029
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
48030
|
+
*
|
|
48031
|
+
* Select which fields to find the maximum value
|
|
48032
|
+
**/
|
|
48033
|
+
_max?: ArchivedSocialPostMaxAggregateInputType
|
|
48034
|
+
}
|
|
48035
|
+
|
|
48036
|
+
export type GetArchivedSocialPostAggregateType<T extends ArchivedSocialPostAggregateArgs> = {
|
|
48037
|
+
[P in keyof T & keyof AggregateArchivedSocialPost]: P extends '_count' | 'count'
|
|
48038
|
+
? T[P] extends true
|
|
48039
|
+
? number
|
|
48040
|
+
: GetScalarType<T[P], AggregateArchivedSocialPost[P]>
|
|
48041
|
+
: GetScalarType<T[P], AggregateArchivedSocialPost[P]>
|
|
48042
|
+
}
|
|
48043
|
+
|
|
48044
|
+
|
|
48045
|
+
|
|
48046
|
+
|
|
48047
|
+
export type ArchivedSocialPostGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
48048
|
+
where?: ArchivedSocialPostWhereInput
|
|
48049
|
+
orderBy?: ArchivedSocialPostOrderByWithAggregationInput | ArchivedSocialPostOrderByWithAggregationInput[]
|
|
48050
|
+
by: ArchivedSocialPostScalarFieldEnum[] | ArchivedSocialPostScalarFieldEnum
|
|
48051
|
+
having?: ArchivedSocialPostScalarWhereWithAggregatesInput
|
|
48052
|
+
take?: number
|
|
48053
|
+
skip?: number
|
|
48054
|
+
_count?: ArchivedSocialPostCountAggregateInputType | true
|
|
48055
|
+
_avg?: ArchivedSocialPostAvgAggregateInputType
|
|
48056
|
+
_sum?: ArchivedSocialPostSumAggregateInputType
|
|
48057
|
+
_min?: ArchivedSocialPostMinAggregateInputType
|
|
48058
|
+
_max?: ArchivedSocialPostMaxAggregateInputType
|
|
48059
|
+
}
|
|
48060
|
+
|
|
48061
|
+
export type ArchivedSocialPostGroupByOutputType = {
|
|
48062
|
+
id: number
|
|
48063
|
+
phylloId: string | null
|
|
48064
|
+
metaData: JsonValue
|
|
48065
|
+
lastFetched: Date | null
|
|
48066
|
+
lastWebhook: Date | null
|
|
48067
|
+
posted: Date | null
|
|
48068
|
+
title: string | null
|
|
48069
|
+
description: string | null
|
|
48070
|
+
url: string | null
|
|
48071
|
+
urlPath: string | null
|
|
48072
|
+
format: string | null
|
|
48073
|
+
type: string | null
|
|
48074
|
+
platform: string | null
|
|
48075
|
+
visibility: string | null
|
|
48076
|
+
isSponsored: boolean | null
|
|
48077
|
+
hasCollaborators: boolean | null
|
|
48078
|
+
isOwnedByUser: boolean | null
|
|
48079
|
+
views: number | null
|
|
48080
|
+
impressions: number | null
|
|
48081
|
+
impressionsOrganic: number | null
|
|
48082
|
+
impressionsPaid: number | null
|
|
48083
|
+
reach: number | null
|
|
48084
|
+
reachOrganic: number | null
|
|
48085
|
+
reachPaid: number | null
|
|
48086
|
+
watchHours: number | null
|
|
48087
|
+
likes: number | null
|
|
48088
|
+
dislikes: number | null
|
|
48089
|
+
comments: number | null
|
|
48090
|
+
saves: number | null
|
|
48091
|
+
shares: number | null
|
|
48092
|
+
userId: number | null
|
|
48093
|
+
campaignId: number | null
|
|
48094
|
+
_count: ArchivedSocialPostCountAggregateOutputType | null
|
|
48095
|
+
_avg: ArchivedSocialPostAvgAggregateOutputType | null
|
|
48096
|
+
_sum: ArchivedSocialPostSumAggregateOutputType | null
|
|
48097
|
+
_min: ArchivedSocialPostMinAggregateOutputType | null
|
|
48098
|
+
_max: ArchivedSocialPostMaxAggregateOutputType | null
|
|
48099
|
+
}
|
|
48100
|
+
|
|
48101
|
+
type GetArchivedSocialPostGroupByPayload<T extends ArchivedSocialPostGroupByArgs> = Prisma.PrismaPromise<
|
|
48102
|
+
Array<
|
|
48103
|
+
PickEnumerable<ArchivedSocialPostGroupByOutputType, T['by']> &
|
|
48104
|
+
{
|
|
48105
|
+
[P in ((keyof T) & (keyof ArchivedSocialPostGroupByOutputType))]: P extends '_count'
|
|
48106
|
+
? T[P] extends boolean
|
|
48107
|
+
? number
|
|
48108
|
+
: GetScalarType<T[P], ArchivedSocialPostGroupByOutputType[P]>
|
|
48109
|
+
: GetScalarType<T[P], ArchivedSocialPostGroupByOutputType[P]>
|
|
48110
|
+
}
|
|
48111
|
+
>
|
|
48112
|
+
>
|
|
48113
|
+
|
|
48114
|
+
|
|
48115
|
+
export type ArchivedSocialPostSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
48116
|
+
id?: boolean
|
|
48117
|
+
phylloId?: boolean
|
|
48118
|
+
metaData?: boolean
|
|
48119
|
+
lastFetched?: boolean
|
|
48120
|
+
lastWebhook?: boolean
|
|
48121
|
+
posted?: boolean
|
|
48122
|
+
title?: boolean
|
|
48123
|
+
description?: boolean
|
|
48124
|
+
url?: boolean
|
|
48125
|
+
urlPath?: boolean
|
|
48126
|
+
format?: boolean
|
|
48127
|
+
type?: boolean
|
|
48128
|
+
platform?: boolean
|
|
48129
|
+
visibility?: boolean
|
|
48130
|
+
isSponsored?: boolean
|
|
48131
|
+
hasCollaborators?: boolean
|
|
48132
|
+
isOwnedByUser?: boolean
|
|
48133
|
+
views?: boolean
|
|
48134
|
+
impressions?: boolean
|
|
48135
|
+
impressionsOrganic?: boolean
|
|
48136
|
+
impressionsPaid?: boolean
|
|
48137
|
+
reach?: boolean
|
|
48138
|
+
reachOrganic?: boolean
|
|
48139
|
+
reachPaid?: boolean
|
|
48140
|
+
watchHours?: boolean
|
|
48141
|
+
likes?: boolean
|
|
48142
|
+
dislikes?: boolean
|
|
48143
|
+
comments?: boolean
|
|
48144
|
+
saves?: boolean
|
|
48145
|
+
shares?: boolean
|
|
48146
|
+
userId?: boolean
|
|
48147
|
+
campaignId?: boolean
|
|
48148
|
+
}, ExtArgs["result"]["archivedSocialPost"]>
|
|
48149
|
+
|
|
48150
|
+
export type ArchivedSocialPostSelectScalar = {
|
|
48151
|
+
id?: boolean
|
|
48152
|
+
phylloId?: boolean
|
|
48153
|
+
metaData?: boolean
|
|
48154
|
+
lastFetched?: boolean
|
|
48155
|
+
lastWebhook?: boolean
|
|
48156
|
+
posted?: boolean
|
|
48157
|
+
title?: boolean
|
|
48158
|
+
description?: boolean
|
|
48159
|
+
url?: boolean
|
|
48160
|
+
urlPath?: boolean
|
|
48161
|
+
format?: boolean
|
|
48162
|
+
type?: boolean
|
|
48163
|
+
platform?: boolean
|
|
48164
|
+
visibility?: boolean
|
|
48165
|
+
isSponsored?: boolean
|
|
48166
|
+
hasCollaborators?: boolean
|
|
48167
|
+
isOwnedByUser?: boolean
|
|
48168
|
+
views?: boolean
|
|
48169
|
+
impressions?: boolean
|
|
48170
|
+
impressionsOrganic?: boolean
|
|
48171
|
+
impressionsPaid?: boolean
|
|
48172
|
+
reach?: boolean
|
|
48173
|
+
reachOrganic?: boolean
|
|
48174
|
+
reachPaid?: boolean
|
|
48175
|
+
watchHours?: boolean
|
|
48176
|
+
likes?: boolean
|
|
48177
|
+
dislikes?: boolean
|
|
48178
|
+
comments?: boolean
|
|
48179
|
+
saves?: boolean
|
|
48180
|
+
shares?: boolean
|
|
48181
|
+
userId?: boolean
|
|
48182
|
+
campaignId?: boolean
|
|
48183
|
+
}
|
|
48184
|
+
|
|
48185
|
+
|
|
48186
|
+
|
|
48187
|
+
export type $ArchivedSocialPostPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
48188
|
+
name: "ArchivedSocialPost"
|
|
48189
|
+
objects: {}
|
|
48190
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
48191
|
+
id: number
|
|
48192
|
+
phylloId: string | null
|
|
48193
|
+
metaData: Prisma.JsonValue
|
|
48194
|
+
lastFetched: Date | null
|
|
48195
|
+
lastWebhook: Date | null
|
|
48196
|
+
posted: Date | null
|
|
48197
|
+
title: string | null
|
|
48198
|
+
description: string | null
|
|
48199
|
+
url: string | null
|
|
48200
|
+
urlPath: string | null
|
|
48201
|
+
format: string | null
|
|
48202
|
+
type: string | null
|
|
48203
|
+
platform: string | null
|
|
48204
|
+
visibility: string | null
|
|
48205
|
+
isSponsored: boolean | null
|
|
48206
|
+
hasCollaborators: boolean | null
|
|
48207
|
+
isOwnedByUser: boolean | null
|
|
48208
|
+
views: number | null
|
|
48209
|
+
impressions: number | null
|
|
48210
|
+
impressionsOrganic: number | null
|
|
48211
|
+
impressionsPaid: number | null
|
|
48212
|
+
reach: number | null
|
|
48213
|
+
reachOrganic: number | null
|
|
48214
|
+
reachPaid: number | null
|
|
48215
|
+
watchHours: number | null
|
|
48216
|
+
likes: number | null
|
|
48217
|
+
dislikes: number | null
|
|
48218
|
+
comments: number | null
|
|
48219
|
+
saves: number | null
|
|
48220
|
+
shares: number | null
|
|
48221
|
+
userId: number | null
|
|
48222
|
+
campaignId: number | null
|
|
48223
|
+
}, ExtArgs["result"]["archivedSocialPost"]>
|
|
48224
|
+
composites: {}
|
|
48225
|
+
}
|
|
48226
|
+
|
|
48227
|
+
|
|
48228
|
+
type ArchivedSocialPostGetPayload<S extends boolean | null | undefined | ArchivedSocialPostDefaultArgs> = $Result.GetResult<Prisma.$ArchivedSocialPostPayload, S>
|
|
48229
|
+
|
|
48230
|
+
type ArchivedSocialPostCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
48231
|
+
Omit<ArchivedSocialPostFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
48232
|
+
select?: ArchivedSocialPostCountAggregateInputType | true
|
|
48233
|
+
}
|
|
48234
|
+
|
|
48235
|
+
export interface ArchivedSocialPostDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
48236
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ArchivedSocialPost'], meta: { name: 'ArchivedSocialPost' } }
|
|
48237
|
+
/**
|
|
48238
|
+
* Find zero or one ArchivedSocialPost that matches the filter.
|
|
48239
|
+
* @param {ArchivedSocialPostFindUniqueArgs} args - Arguments to find a ArchivedSocialPost
|
|
48240
|
+
* @example
|
|
48241
|
+
* // Get one ArchivedSocialPost
|
|
48242
|
+
* const archivedSocialPost = await prisma.archivedSocialPost.findUnique({
|
|
48243
|
+
* where: {
|
|
48244
|
+
* // ... provide filter here
|
|
48245
|
+
* }
|
|
48246
|
+
* })
|
|
48247
|
+
**/
|
|
48248
|
+
findUnique<T extends ArchivedSocialPostFindUniqueArgs<ExtArgs>>(
|
|
48249
|
+
args: SelectSubset<T, ArchivedSocialPostFindUniqueArgs<ExtArgs>>
|
|
48250
|
+
): Prisma__ArchivedSocialPostClient<$Result.GetResult<Prisma.$ArchivedSocialPostPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
|
|
48251
|
+
|
|
48252
|
+
/**
|
|
48253
|
+
* Find one ArchivedSocialPost that matches the filter or throw an error with `error.code='P2025'`
|
|
48254
|
+
* if no matches were found.
|
|
48255
|
+
* @param {ArchivedSocialPostFindUniqueOrThrowArgs} args - Arguments to find a ArchivedSocialPost
|
|
48256
|
+
* @example
|
|
48257
|
+
* // Get one ArchivedSocialPost
|
|
48258
|
+
* const archivedSocialPost = await prisma.archivedSocialPost.findUniqueOrThrow({
|
|
48259
|
+
* where: {
|
|
48260
|
+
* // ... provide filter here
|
|
48261
|
+
* }
|
|
48262
|
+
* })
|
|
48263
|
+
**/
|
|
48264
|
+
findUniqueOrThrow<T extends ArchivedSocialPostFindUniqueOrThrowArgs<ExtArgs>>(
|
|
48265
|
+
args?: SelectSubset<T, ArchivedSocialPostFindUniqueOrThrowArgs<ExtArgs>>
|
|
48266
|
+
): Prisma__ArchivedSocialPostClient<$Result.GetResult<Prisma.$ArchivedSocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
|
|
48267
|
+
|
|
48268
|
+
/**
|
|
48269
|
+
* Find the first ArchivedSocialPost that matches the filter.
|
|
48270
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
48271
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
48272
|
+
* @param {ArchivedSocialPostFindFirstArgs} args - Arguments to find a ArchivedSocialPost
|
|
48273
|
+
* @example
|
|
48274
|
+
* // Get one ArchivedSocialPost
|
|
48275
|
+
* const archivedSocialPost = await prisma.archivedSocialPost.findFirst({
|
|
48276
|
+
* where: {
|
|
48277
|
+
* // ... provide filter here
|
|
48278
|
+
* }
|
|
48279
|
+
* })
|
|
48280
|
+
**/
|
|
48281
|
+
findFirst<T extends ArchivedSocialPostFindFirstArgs<ExtArgs>>(
|
|
48282
|
+
args?: SelectSubset<T, ArchivedSocialPostFindFirstArgs<ExtArgs>>
|
|
48283
|
+
): Prisma__ArchivedSocialPostClient<$Result.GetResult<Prisma.$ArchivedSocialPostPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
|
|
48284
|
+
|
|
48285
|
+
/**
|
|
48286
|
+
* Find the first ArchivedSocialPost that matches the filter or
|
|
48287
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
48288
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
48289
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
48290
|
+
* @param {ArchivedSocialPostFindFirstOrThrowArgs} args - Arguments to find a ArchivedSocialPost
|
|
48291
|
+
* @example
|
|
48292
|
+
* // Get one ArchivedSocialPost
|
|
48293
|
+
* const archivedSocialPost = await prisma.archivedSocialPost.findFirstOrThrow({
|
|
48294
|
+
* where: {
|
|
48295
|
+
* // ... provide filter here
|
|
48296
|
+
* }
|
|
48297
|
+
* })
|
|
48298
|
+
**/
|
|
48299
|
+
findFirstOrThrow<T extends ArchivedSocialPostFindFirstOrThrowArgs<ExtArgs>>(
|
|
48300
|
+
args?: SelectSubset<T, ArchivedSocialPostFindFirstOrThrowArgs<ExtArgs>>
|
|
48301
|
+
): Prisma__ArchivedSocialPostClient<$Result.GetResult<Prisma.$ArchivedSocialPostPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
|
|
48302
|
+
|
|
48303
|
+
/**
|
|
48304
|
+
* Find zero or more ArchivedSocialPosts that matches the filter.
|
|
48305
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
48306
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
48307
|
+
* @param {ArchivedSocialPostFindManyArgs=} args - Arguments to filter and select certain fields only.
|
|
48308
|
+
* @example
|
|
48309
|
+
* // Get all ArchivedSocialPosts
|
|
48310
|
+
* const archivedSocialPosts = await prisma.archivedSocialPost.findMany()
|
|
48311
|
+
*
|
|
48312
|
+
* // Get first 10 ArchivedSocialPosts
|
|
48313
|
+
* const archivedSocialPosts = await prisma.archivedSocialPost.findMany({ take: 10 })
|
|
48314
|
+
*
|
|
48315
|
+
* // Only select the `id`
|
|
48316
|
+
* const archivedSocialPostWithIdOnly = await prisma.archivedSocialPost.findMany({ select: { id: true } })
|
|
48317
|
+
*
|
|
48318
|
+
**/
|
|
48319
|
+
findMany<T extends ArchivedSocialPostFindManyArgs<ExtArgs>>(
|
|
48320
|
+
args?: SelectSubset<T, ArchivedSocialPostFindManyArgs<ExtArgs>>
|
|
48321
|
+
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ArchivedSocialPostPayload<ExtArgs>, T, 'findMany'>>
|
|
48322
|
+
|
|
48323
|
+
/**
|
|
48324
|
+
* Create a ArchivedSocialPost.
|
|
48325
|
+
* @param {ArchivedSocialPostCreateArgs} args - Arguments to create a ArchivedSocialPost.
|
|
48326
|
+
* @example
|
|
48327
|
+
* // Create one ArchivedSocialPost
|
|
48328
|
+
* const ArchivedSocialPost = await prisma.archivedSocialPost.create({
|
|
48329
|
+
* data: {
|
|
48330
|
+
* // ... data to create a ArchivedSocialPost
|
|
48331
|
+
* }
|
|
48332
|
+
* })
|
|
48333
|
+
*
|
|
48334
|
+
**/
|
|
48335
|
+
create<T extends ArchivedSocialPostCreateArgs<ExtArgs>>(
|
|
48336
|
+
args: SelectSubset<T, ArchivedSocialPostCreateArgs<ExtArgs>>
|
|
48337
|
+
): Prisma__ArchivedSocialPostClient<$Result.GetResult<Prisma.$ArchivedSocialPostPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
|
|
48338
|
+
|
|
48339
|
+
/**
|
|
48340
|
+
* Create many ArchivedSocialPosts.
|
|
48341
|
+
* @param {ArchivedSocialPostCreateManyArgs} args - Arguments to create many ArchivedSocialPosts.
|
|
48342
|
+
* @example
|
|
48343
|
+
* // Create many ArchivedSocialPosts
|
|
48344
|
+
* const archivedSocialPost = await prisma.archivedSocialPost.createMany({
|
|
48345
|
+
* data: {
|
|
48346
|
+
* // ... provide data here
|
|
48347
|
+
* }
|
|
48348
|
+
* })
|
|
48349
|
+
*
|
|
48350
|
+
**/
|
|
48351
|
+
createMany<T extends ArchivedSocialPostCreateManyArgs<ExtArgs>>(
|
|
48352
|
+
args?: SelectSubset<T, ArchivedSocialPostCreateManyArgs<ExtArgs>>
|
|
48353
|
+
): Prisma.PrismaPromise<BatchPayload>
|
|
48354
|
+
|
|
48355
|
+
/**
|
|
48356
|
+
* Delete a ArchivedSocialPost.
|
|
48357
|
+
* @param {ArchivedSocialPostDeleteArgs} args - Arguments to delete one ArchivedSocialPost.
|
|
48358
|
+
* @example
|
|
48359
|
+
* // Delete one ArchivedSocialPost
|
|
48360
|
+
* const ArchivedSocialPost = await prisma.archivedSocialPost.delete({
|
|
48361
|
+
* where: {
|
|
48362
|
+
* // ... filter to delete one ArchivedSocialPost
|
|
48363
|
+
* }
|
|
48364
|
+
* })
|
|
48365
|
+
*
|
|
48366
|
+
**/
|
|
48367
|
+
delete<T extends ArchivedSocialPostDeleteArgs<ExtArgs>>(
|
|
48368
|
+
args: SelectSubset<T, ArchivedSocialPostDeleteArgs<ExtArgs>>
|
|
48369
|
+
): Prisma__ArchivedSocialPostClient<$Result.GetResult<Prisma.$ArchivedSocialPostPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
|
|
48370
|
+
|
|
48371
|
+
/**
|
|
48372
|
+
* Update one ArchivedSocialPost.
|
|
48373
|
+
* @param {ArchivedSocialPostUpdateArgs} args - Arguments to update one ArchivedSocialPost.
|
|
48374
|
+
* @example
|
|
48375
|
+
* // Update one ArchivedSocialPost
|
|
48376
|
+
* const archivedSocialPost = await prisma.archivedSocialPost.update({
|
|
48377
|
+
* where: {
|
|
48378
|
+
* // ... provide filter here
|
|
48379
|
+
* },
|
|
48380
|
+
* data: {
|
|
48381
|
+
* // ... provide data here
|
|
48382
|
+
* }
|
|
48383
|
+
* })
|
|
48384
|
+
*
|
|
48385
|
+
**/
|
|
48386
|
+
update<T extends ArchivedSocialPostUpdateArgs<ExtArgs>>(
|
|
48387
|
+
args: SelectSubset<T, ArchivedSocialPostUpdateArgs<ExtArgs>>
|
|
48388
|
+
): Prisma__ArchivedSocialPostClient<$Result.GetResult<Prisma.$ArchivedSocialPostPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
|
|
48389
|
+
|
|
48390
|
+
/**
|
|
48391
|
+
* Delete zero or more ArchivedSocialPosts.
|
|
48392
|
+
* @param {ArchivedSocialPostDeleteManyArgs} args - Arguments to filter ArchivedSocialPosts to delete.
|
|
48393
|
+
* @example
|
|
48394
|
+
* // Delete a few ArchivedSocialPosts
|
|
48395
|
+
* const { count } = await prisma.archivedSocialPost.deleteMany({
|
|
48396
|
+
* where: {
|
|
48397
|
+
* // ... provide filter here
|
|
48398
|
+
* }
|
|
48399
|
+
* })
|
|
48400
|
+
*
|
|
48401
|
+
**/
|
|
48402
|
+
deleteMany<T extends ArchivedSocialPostDeleteManyArgs<ExtArgs>>(
|
|
48403
|
+
args?: SelectSubset<T, ArchivedSocialPostDeleteManyArgs<ExtArgs>>
|
|
48404
|
+
): Prisma.PrismaPromise<BatchPayload>
|
|
48405
|
+
|
|
48406
|
+
/**
|
|
48407
|
+
* Update zero or more ArchivedSocialPosts.
|
|
48408
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
48409
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
48410
|
+
* @param {ArchivedSocialPostUpdateManyArgs} args - Arguments to update one or more rows.
|
|
48411
|
+
* @example
|
|
48412
|
+
* // Update many ArchivedSocialPosts
|
|
48413
|
+
* const archivedSocialPost = await prisma.archivedSocialPost.updateMany({
|
|
48414
|
+
* where: {
|
|
48415
|
+
* // ... provide filter here
|
|
48416
|
+
* },
|
|
48417
|
+
* data: {
|
|
48418
|
+
* // ... provide data here
|
|
48419
|
+
* }
|
|
48420
|
+
* })
|
|
48421
|
+
*
|
|
48422
|
+
**/
|
|
48423
|
+
updateMany<T extends ArchivedSocialPostUpdateManyArgs<ExtArgs>>(
|
|
48424
|
+
args: SelectSubset<T, ArchivedSocialPostUpdateManyArgs<ExtArgs>>
|
|
48425
|
+
): Prisma.PrismaPromise<BatchPayload>
|
|
48426
|
+
|
|
48427
|
+
/**
|
|
48428
|
+
* Create or update one ArchivedSocialPost.
|
|
48429
|
+
* @param {ArchivedSocialPostUpsertArgs} args - Arguments to update or create a ArchivedSocialPost.
|
|
48430
|
+
* @example
|
|
48431
|
+
* // Update or create a ArchivedSocialPost
|
|
48432
|
+
* const archivedSocialPost = await prisma.archivedSocialPost.upsert({
|
|
48433
|
+
* create: {
|
|
48434
|
+
* // ... data to create a ArchivedSocialPost
|
|
48435
|
+
* },
|
|
48436
|
+
* update: {
|
|
48437
|
+
* // ... in case it already exists, update
|
|
48438
|
+
* },
|
|
48439
|
+
* where: {
|
|
48440
|
+
* // ... the filter for the ArchivedSocialPost we want to update
|
|
48441
|
+
* }
|
|
48442
|
+
* })
|
|
48443
|
+
**/
|
|
48444
|
+
upsert<T extends ArchivedSocialPostUpsertArgs<ExtArgs>>(
|
|
48445
|
+
args: SelectSubset<T, ArchivedSocialPostUpsertArgs<ExtArgs>>
|
|
48446
|
+
): Prisma__ArchivedSocialPostClient<$Result.GetResult<Prisma.$ArchivedSocialPostPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
|
|
48447
|
+
|
|
48448
|
+
/**
|
|
48449
|
+
* Count the number of ArchivedSocialPosts.
|
|
48450
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
48451
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
48452
|
+
* @param {ArchivedSocialPostCountArgs} args - Arguments to filter ArchivedSocialPosts to count.
|
|
48453
|
+
* @example
|
|
48454
|
+
* // Count the number of ArchivedSocialPosts
|
|
48455
|
+
* const count = await prisma.archivedSocialPost.count({
|
|
48456
|
+
* where: {
|
|
48457
|
+
* // ... the filter for the ArchivedSocialPosts we want to count
|
|
48458
|
+
* }
|
|
48459
|
+
* })
|
|
48460
|
+
**/
|
|
48461
|
+
count<T extends ArchivedSocialPostCountArgs>(
|
|
48462
|
+
args?: Subset<T, ArchivedSocialPostCountArgs>,
|
|
48463
|
+
): Prisma.PrismaPromise<
|
|
48464
|
+
T extends $Utils.Record<'select', any>
|
|
48465
|
+
? T['select'] extends true
|
|
48466
|
+
? number
|
|
48467
|
+
: GetScalarType<T['select'], ArchivedSocialPostCountAggregateOutputType>
|
|
48468
|
+
: number
|
|
48469
|
+
>
|
|
48470
|
+
|
|
48471
|
+
/**
|
|
48472
|
+
* Allows you to perform aggregations operations on a ArchivedSocialPost.
|
|
48473
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
48474
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
48475
|
+
* @param {ArchivedSocialPostAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
48476
|
+
* @example
|
|
48477
|
+
* // Ordered by age ascending
|
|
48478
|
+
* // Where email contains prisma.io
|
|
48479
|
+
* // Limited to the 10 users
|
|
48480
|
+
* const aggregations = await prisma.user.aggregate({
|
|
48481
|
+
* _avg: {
|
|
48482
|
+
* age: true,
|
|
48483
|
+
* },
|
|
48484
|
+
* where: {
|
|
48485
|
+
* email: {
|
|
48486
|
+
* contains: "prisma.io",
|
|
48487
|
+
* },
|
|
48488
|
+
* },
|
|
48489
|
+
* orderBy: {
|
|
48490
|
+
* age: "asc",
|
|
48491
|
+
* },
|
|
48492
|
+
* take: 10,
|
|
48493
|
+
* })
|
|
48494
|
+
**/
|
|
48495
|
+
aggregate<T extends ArchivedSocialPostAggregateArgs>(args: Subset<T, ArchivedSocialPostAggregateArgs>): Prisma.PrismaPromise<GetArchivedSocialPostAggregateType<T>>
|
|
48496
|
+
|
|
48497
|
+
/**
|
|
48498
|
+
* Group by ArchivedSocialPost.
|
|
48499
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
48500
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
48501
|
+
* @param {ArchivedSocialPostGroupByArgs} args - Group by arguments.
|
|
48502
|
+
* @example
|
|
48503
|
+
* // Group by city, order by createdAt, get count
|
|
48504
|
+
* const result = await prisma.user.groupBy({
|
|
48505
|
+
* by: ['city', 'createdAt'],
|
|
48506
|
+
* orderBy: {
|
|
48507
|
+
* createdAt: true
|
|
48508
|
+
* },
|
|
48509
|
+
* _count: {
|
|
48510
|
+
* _all: true
|
|
48511
|
+
* },
|
|
48512
|
+
* })
|
|
48513
|
+
*
|
|
48514
|
+
**/
|
|
48515
|
+
groupBy<
|
|
48516
|
+
T extends ArchivedSocialPostGroupByArgs,
|
|
48517
|
+
HasSelectOrTake extends Or<
|
|
48518
|
+
Extends<'skip', Keys<T>>,
|
|
48519
|
+
Extends<'take', Keys<T>>
|
|
48520
|
+
>,
|
|
48521
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
48522
|
+
? { orderBy: ArchivedSocialPostGroupByArgs['orderBy'] }
|
|
48523
|
+
: { orderBy?: ArchivedSocialPostGroupByArgs['orderBy'] },
|
|
48524
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
48525
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
48526
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
48527
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
48528
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
48529
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
48530
|
+
InputErrors extends ByEmpty extends True
|
|
48531
|
+
? `Error: "by" must not be empty.`
|
|
48532
|
+
: HavingValid extends False
|
|
48533
|
+
? {
|
|
48534
|
+
[P in HavingFields]: P extends ByFields
|
|
48535
|
+
? never
|
|
48536
|
+
: P extends string
|
|
48537
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
48538
|
+
: [
|
|
48539
|
+
Error,
|
|
48540
|
+
'Field ',
|
|
48541
|
+
P,
|
|
48542
|
+
` in "having" needs to be provided in "by"`,
|
|
48543
|
+
]
|
|
48544
|
+
}[HavingFields]
|
|
48545
|
+
: 'take' extends Keys<T>
|
|
48546
|
+
? 'orderBy' extends Keys<T>
|
|
48547
|
+
? ByValid extends True
|
|
48548
|
+
? {}
|
|
48549
|
+
: {
|
|
48550
|
+
[P in OrderFields]: P extends ByFields
|
|
48551
|
+
? never
|
|
48552
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
48553
|
+
}[OrderFields]
|
|
48554
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
48555
|
+
: 'skip' extends Keys<T>
|
|
48556
|
+
? 'orderBy' extends Keys<T>
|
|
48557
|
+
? ByValid extends True
|
|
48558
|
+
? {}
|
|
48559
|
+
: {
|
|
48560
|
+
[P in OrderFields]: P extends ByFields
|
|
48561
|
+
? never
|
|
48562
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
48563
|
+
}[OrderFields]
|
|
48564
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
48565
|
+
: ByValid extends True
|
|
48566
|
+
? {}
|
|
48567
|
+
: {
|
|
48568
|
+
[P in OrderFields]: P extends ByFields
|
|
48569
|
+
? never
|
|
48570
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
48571
|
+
}[OrderFields]
|
|
48572
|
+
>(args: SubsetIntersection<T, ArchivedSocialPostGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetArchivedSocialPostGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
48573
|
+
/**
|
|
48574
|
+
* Fields of the ArchivedSocialPost model
|
|
48575
|
+
*/
|
|
48576
|
+
readonly fields: ArchivedSocialPostFieldRefs;
|
|
48577
|
+
}
|
|
48578
|
+
|
|
48579
|
+
/**
|
|
48580
|
+
* The delegate class that acts as a "Promise-like" for ArchivedSocialPost.
|
|
48581
|
+
* Why is this prefixed with `Prisma__`?
|
|
48582
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
48583
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
48584
|
+
*/
|
|
48585
|
+
export interface Prisma__ArchivedSocialPostClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
48586
|
+
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
48587
|
+
|
|
48588
|
+
|
|
48589
|
+
/**
|
|
48590
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
48591
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
48592
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
48593
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
48594
|
+
*/
|
|
48595
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
48596
|
+
/**
|
|
48597
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
48598
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
48599
|
+
* @returns A Promise for the completion of the callback.
|
|
48600
|
+
*/
|
|
48601
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
48602
|
+
/**
|
|
48603
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
48604
|
+
* resolved value cannot be modified from the callback.
|
|
48605
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
48606
|
+
* @returns A Promise for the completion of the callback.
|
|
48607
|
+
*/
|
|
48608
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
|
|
48609
|
+
}
|
|
48610
|
+
|
|
48611
|
+
|
|
48612
|
+
|
|
48613
|
+
/**
|
|
48614
|
+
* Fields of the ArchivedSocialPost model
|
|
47212
48615
|
*/
|
|
47213
|
-
interface
|
|
47214
|
-
readonly id: FieldRef<"
|
|
47215
|
-
readonly
|
|
47216
|
-
readonly
|
|
47217
|
-
readonly
|
|
47218
|
-
readonly
|
|
47219
|
-
readonly
|
|
47220
|
-
readonly
|
|
47221
|
-
readonly
|
|
47222
|
-
readonly
|
|
47223
|
-
readonly
|
|
47224
|
-
readonly
|
|
47225
|
-
readonly
|
|
47226
|
-
readonly
|
|
47227
|
-
readonly
|
|
47228
|
-
readonly
|
|
47229
|
-
readonly
|
|
47230
|
-
readonly
|
|
47231
|
-
readonly
|
|
47232
|
-
readonly
|
|
47233
|
-
readonly
|
|
47234
|
-
readonly
|
|
47235
|
-
readonly
|
|
47236
|
-
readonly
|
|
47237
|
-
readonly
|
|
47238
|
-
readonly
|
|
47239
|
-
readonly
|
|
47240
|
-
readonly
|
|
47241
|
-
readonly
|
|
47242
|
-
readonly
|
|
47243
|
-
readonly
|
|
47244
|
-
readonly
|
|
47245
|
-
readonly
|
|
47246
|
-
readonly userId: FieldRef<"SocialPost", 'Int'>
|
|
47247
|
-
readonly campaignId: FieldRef<"SocialPost", 'Int'>
|
|
48616
|
+
interface ArchivedSocialPostFieldRefs {
|
|
48617
|
+
readonly id: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48618
|
+
readonly phylloId: FieldRef<"ArchivedSocialPost", 'String'>
|
|
48619
|
+
readonly metaData: FieldRef<"ArchivedSocialPost", 'Json'>
|
|
48620
|
+
readonly lastFetched: FieldRef<"ArchivedSocialPost", 'DateTime'>
|
|
48621
|
+
readonly lastWebhook: FieldRef<"ArchivedSocialPost", 'DateTime'>
|
|
48622
|
+
readonly posted: FieldRef<"ArchivedSocialPost", 'DateTime'>
|
|
48623
|
+
readonly title: FieldRef<"ArchivedSocialPost", 'String'>
|
|
48624
|
+
readonly description: FieldRef<"ArchivedSocialPost", 'String'>
|
|
48625
|
+
readonly url: FieldRef<"ArchivedSocialPost", 'String'>
|
|
48626
|
+
readonly urlPath: FieldRef<"ArchivedSocialPost", 'String'>
|
|
48627
|
+
readonly format: FieldRef<"ArchivedSocialPost", 'String'>
|
|
48628
|
+
readonly type: FieldRef<"ArchivedSocialPost", 'String'>
|
|
48629
|
+
readonly platform: FieldRef<"ArchivedSocialPost", 'String'>
|
|
48630
|
+
readonly visibility: FieldRef<"ArchivedSocialPost", 'String'>
|
|
48631
|
+
readonly isSponsored: FieldRef<"ArchivedSocialPost", 'Boolean'>
|
|
48632
|
+
readonly hasCollaborators: FieldRef<"ArchivedSocialPost", 'Boolean'>
|
|
48633
|
+
readonly isOwnedByUser: FieldRef<"ArchivedSocialPost", 'Boolean'>
|
|
48634
|
+
readonly views: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48635
|
+
readonly impressions: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48636
|
+
readonly impressionsOrganic: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48637
|
+
readonly impressionsPaid: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48638
|
+
readonly reach: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48639
|
+
readonly reachOrganic: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48640
|
+
readonly reachPaid: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48641
|
+
readonly watchHours: FieldRef<"ArchivedSocialPost", 'Float'>
|
|
48642
|
+
readonly likes: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48643
|
+
readonly dislikes: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48644
|
+
readonly comments: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48645
|
+
readonly saves: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48646
|
+
readonly shares: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48647
|
+
readonly userId: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
48648
|
+
readonly campaignId: FieldRef<"ArchivedSocialPost", 'Int'>
|
|
47248
48649
|
}
|
|
47249
48650
|
|
|
47250
48651
|
|
|
47251
48652
|
// Custom InputTypes
|
|
47252
48653
|
/**
|
|
47253
|
-
*
|
|
48654
|
+
* ArchivedSocialPost findUnique
|
|
47254
48655
|
*/
|
|
47255
|
-
export type
|
|
48656
|
+
export type ArchivedSocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47256
48657
|
/**
|
|
47257
|
-
* Select specific fields to fetch from the
|
|
48658
|
+
* Select specific fields to fetch from the ArchivedSocialPost
|
|
47258
48659
|
*/
|
|
47259
|
-
select?:
|
|
47260
|
-
/**
|
|
47261
|
-
* Choose, which related nodes to fetch as well
|
|
47262
|
-
*/
|
|
47263
|
-
include?: SocialPostInclude<ExtArgs> | null
|
|
48660
|
+
select?: ArchivedSocialPostSelect<ExtArgs> | null
|
|
47264
48661
|
/**
|
|
47265
|
-
* Filter, which
|
|
48662
|
+
* Filter, which ArchivedSocialPost to fetch.
|
|
47266
48663
|
*/
|
|
47267
|
-
where:
|
|
48664
|
+
where: ArchivedSocialPostWhereUniqueInput
|
|
47268
48665
|
}
|
|
47269
48666
|
|
|
47270
48667
|
/**
|
|
47271
|
-
*
|
|
48668
|
+
* ArchivedSocialPost findUniqueOrThrow
|
|
47272
48669
|
*/
|
|
47273
|
-
export type
|
|
48670
|
+
export type ArchivedSocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47274
48671
|
/**
|
|
47275
|
-
* Select specific fields to fetch from the
|
|
48672
|
+
* Select specific fields to fetch from the ArchivedSocialPost
|
|
47276
48673
|
*/
|
|
47277
|
-
select?:
|
|
48674
|
+
select?: ArchivedSocialPostSelect<ExtArgs> | null
|
|
47278
48675
|
/**
|
|
47279
|
-
*
|
|
47280
|
-
*/
|
|
47281
|
-
include?: SocialPostInclude<ExtArgs> | null
|
|
47282
|
-
/**
|
|
47283
|
-
* Filter, which SocialPost to fetch.
|
|
48676
|
+
* Filter, which ArchivedSocialPost to fetch.
|
|
47284
48677
|
*/
|
|
47285
|
-
where:
|
|
48678
|
+
where: ArchivedSocialPostWhereUniqueInput
|
|
47286
48679
|
}
|
|
47287
48680
|
|
|
47288
48681
|
/**
|
|
47289
|
-
*
|
|
48682
|
+
* ArchivedSocialPost findFirst
|
|
47290
48683
|
*/
|
|
47291
|
-
export type
|
|
48684
|
+
export type ArchivedSocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47292
48685
|
/**
|
|
47293
|
-
* Select specific fields to fetch from the
|
|
48686
|
+
* Select specific fields to fetch from the ArchivedSocialPost
|
|
47294
48687
|
*/
|
|
47295
|
-
select?:
|
|
48688
|
+
select?: ArchivedSocialPostSelect<ExtArgs> | null
|
|
47296
48689
|
/**
|
|
47297
|
-
*
|
|
48690
|
+
* Filter, which ArchivedSocialPost to fetch.
|
|
47298
48691
|
*/
|
|
47299
|
-
|
|
47300
|
-
/**
|
|
47301
|
-
* Filter, which SocialPost to fetch.
|
|
47302
|
-
*/
|
|
47303
|
-
where?: SocialPostWhereInput
|
|
48692
|
+
where?: ArchivedSocialPostWhereInput
|
|
47304
48693
|
/**
|
|
47305
48694
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
47306
48695
|
*
|
|
47307
|
-
* Determine the order of
|
|
48696
|
+
* Determine the order of ArchivedSocialPosts to fetch.
|
|
47308
48697
|
*/
|
|
47309
|
-
orderBy?:
|
|
48698
|
+
orderBy?: ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput | ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
47310
48699
|
/**
|
|
47311
48700
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
47312
48701
|
*
|
|
47313
|
-
* Sets the position for searching for
|
|
48702
|
+
* Sets the position for searching for ArchivedSocialPosts.
|
|
47314
48703
|
*/
|
|
47315
|
-
cursor?:
|
|
48704
|
+
cursor?: ArchivedSocialPostWhereUniqueInput
|
|
47316
48705
|
/**
|
|
47317
48706
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47318
48707
|
*
|
|
47319
|
-
* Take `±n`
|
|
48708
|
+
* Take `±n` ArchivedSocialPosts from the position of the cursor.
|
|
47320
48709
|
*/
|
|
47321
48710
|
take?: number
|
|
47322
48711
|
/**
|
|
47323
48712
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47324
48713
|
*
|
|
47325
|
-
* Skip the first `n`
|
|
48714
|
+
* Skip the first `n` ArchivedSocialPosts.
|
|
47326
48715
|
*/
|
|
47327
48716
|
skip?: number
|
|
47328
48717
|
/**
|
|
47329
48718
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
47330
48719
|
*
|
|
47331
|
-
* Filter by unique combinations of
|
|
48720
|
+
* Filter by unique combinations of ArchivedSocialPosts.
|
|
47332
48721
|
*/
|
|
47333
|
-
distinct?:
|
|
48722
|
+
distinct?: ArchivedSocialPostScalarFieldEnum | ArchivedSocialPostScalarFieldEnum[]
|
|
47334
48723
|
}
|
|
47335
48724
|
|
|
47336
48725
|
/**
|
|
47337
|
-
*
|
|
48726
|
+
* ArchivedSocialPost findFirstOrThrow
|
|
47338
48727
|
*/
|
|
47339
|
-
export type
|
|
47340
|
-
/**
|
|
47341
|
-
* Select specific fields to fetch from the SocialPost
|
|
47342
|
-
*/
|
|
47343
|
-
select?: SocialPostSelect<ExtArgs> | null
|
|
48728
|
+
export type ArchivedSocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47344
48729
|
/**
|
|
47345
|
-
*
|
|
48730
|
+
* Select specific fields to fetch from the ArchivedSocialPost
|
|
47346
48731
|
*/
|
|
47347
|
-
|
|
48732
|
+
select?: ArchivedSocialPostSelect<ExtArgs> | null
|
|
47348
48733
|
/**
|
|
47349
|
-
* Filter, which
|
|
48734
|
+
* Filter, which ArchivedSocialPost to fetch.
|
|
47350
48735
|
*/
|
|
47351
|
-
where?:
|
|
48736
|
+
where?: ArchivedSocialPostWhereInput
|
|
47352
48737
|
/**
|
|
47353
48738
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
47354
48739
|
*
|
|
47355
|
-
* Determine the order of
|
|
48740
|
+
* Determine the order of ArchivedSocialPosts to fetch.
|
|
47356
48741
|
*/
|
|
47357
|
-
orderBy?:
|
|
48742
|
+
orderBy?: ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput | ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
47358
48743
|
/**
|
|
47359
48744
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
47360
48745
|
*
|
|
47361
|
-
* Sets the position for searching for
|
|
48746
|
+
* Sets the position for searching for ArchivedSocialPosts.
|
|
47362
48747
|
*/
|
|
47363
|
-
cursor?:
|
|
48748
|
+
cursor?: ArchivedSocialPostWhereUniqueInput
|
|
47364
48749
|
/**
|
|
47365
48750
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47366
48751
|
*
|
|
47367
|
-
* Take `±n`
|
|
48752
|
+
* Take `±n` ArchivedSocialPosts from the position of the cursor.
|
|
47368
48753
|
*/
|
|
47369
48754
|
take?: number
|
|
47370
48755
|
/**
|
|
47371
48756
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47372
48757
|
*
|
|
47373
|
-
* Skip the first `n`
|
|
48758
|
+
* Skip the first `n` ArchivedSocialPosts.
|
|
47374
48759
|
*/
|
|
47375
48760
|
skip?: number
|
|
47376
48761
|
/**
|
|
47377
48762
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
47378
48763
|
*
|
|
47379
|
-
* Filter by unique combinations of
|
|
48764
|
+
* Filter by unique combinations of ArchivedSocialPosts.
|
|
47380
48765
|
*/
|
|
47381
|
-
distinct?:
|
|
48766
|
+
distinct?: ArchivedSocialPostScalarFieldEnum | ArchivedSocialPostScalarFieldEnum[]
|
|
47382
48767
|
}
|
|
47383
48768
|
|
|
47384
48769
|
/**
|
|
47385
|
-
*
|
|
48770
|
+
* ArchivedSocialPost findMany
|
|
47386
48771
|
*/
|
|
47387
|
-
export type
|
|
48772
|
+
export type ArchivedSocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47388
48773
|
/**
|
|
47389
|
-
* Select specific fields to fetch from the
|
|
47390
|
-
*/
|
|
47391
|
-
select?: SocialPostSelect<ExtArgs> | null
|
|
47392
|
-
/**
|
|
47393
|
-
* Choose, which related nodes to fetch as well
|
|
48774
|
+
* Select specific fields to fetch from the ArchivedSocialPost
|
|
47394
48775
|
*/
|
|
47395
|
-
|
|
48776
|
+
select?: ArchivedSocialPostSelect<ExtArgs> | null
|
|
47396
48777
|
/**
|
|
47397
|
-
* Filter, which
|
|
48778
|
+
* Filter, which ArchivedSocialPosts to fetch.
|
|
47398
48779
|
*/
|
|
47399
|
-
where?:
|
|
48780
|
+
where?: ArchivedSocialPostWhereInput
|
|
47400
48781
|
/**
|
|
47401
48782
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
47402
48783
|
*
|
|
47403
|
-
* Determine the order of
|
|
48784
|
+
* Determine the order of ArchivedSocialPosts to fetch.
|
|
47404
48785
|
*/
|
|
47405
|
-
orderBy?:
|
|
48786
|
+
orderBy?: ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput | ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
47406
48787
|
/**
|
|
47407
48788
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
47408
48789
|
*
|
|
47409
|
-
* Sets the position for listing
|
|
48790
|
+
* Sets the position for listing ArchivedSocialPosts.
|
|
47410
48791
|
*/
|
|
47411
|
-
cursor?:
|
|
48792
|
+
cursor?: ArchivedSocialPostWhereUniqueInput
|
|
47412
48793
|
/**
|
|
47413
48794
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47414
48795
|
*
|
|
47415
|
-
* Take `±n`
|
|
48796
|
+
* Take `±n` ArchivedSocialPosts from the position of the cursor.
|
|
47416
48797
|
*/
|
|
47417
48798
|
take?: number
|
|
47418
48799
|
/**
|
|
47419
48800
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
47420
48801
|
*
|
|
47421
|
-
* Skip the first `n`
|
|
48802
|
+
* Skip the first `n` ArchivedSocialPosts.
|
|
47422
48803
|
*/
|
|
47423
48804
|
skip?: number
|
|
47424
|
-
distinct?:
|
|
48805
|
+
distinct?: ArchivedSocialPostScalarFieldEnum | ArchivedSocialPostScalarFieldEnum[]
|
|
47425
48806
|
}
|
|
47426
48807
|
|
|
47427
48808
|
/**
|
|
47428
|
-
*
|
|
48809
|
+
* ArchivedSocialPost create
|
|
47429
48810
|
*/
|
|
47430
|
-
export type
|
|
48811
|
+
export type ArchivedSocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47431
48812
|
/**
|
|
47432
|
-
* Select specific fields to fetch from the
|
|
48813
|
+
* Select specific fields to fetch from the ArchivedSocialPost
|
|
47433
48814
|
*/
|
|
47434
|
-
select?:
|
|
48815
|
+
select?: ArchivedSocialPostSelect<ExtArgs> | null
|
|
47435
48816
|
/**
|
|
47436
|
-
*
|
|
48817
|
+
* The data needed to create a ArchivedSocialPost.
|
|
47437
48818
|
*/
|
|
47438
|
-
|
|
47439
|
-
/**
|
|
47440
|
-
* The data needed to create a SocialPost.
|
|
47441
|
-
*/
|
|
47442
|
-
data?: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
|
|
48819
|
+
data?: XOR<ArchivedSocialPostCreateInput, ArchivedSocialPostUncheckedCreateInput>
|
|
47443
48820
|
}
|
|
47444
48821
|
|
|
47445
48822
|
/**
|
|
47446
|
-
*
|
|
48823
|
+
* ArchivedSocialPost createMany
|
|
47447
48824
|
*/
|
|
47448
|
-
export type
|
|
48825
|
+
export type ArchivedSocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47449
48826
|
/**
|
|
47450
|
-
* The data used to create many
|
|
48827
|
+
* The data used to create many ArchivedSocialPosts.
|
|
47451
48828
|
*/
|
|
47452
|
-
data:
|
|
48829
|
+
data: ArchivedSocialPostCreateManyInput | ArchivedSocialPostCreateManyInput[]
|
|
47453
48830
|
skipDuplicates?: boolean
|
|
47454
48831
|
}
|
|
47455
48832
|
|
|
47456
48833
|
/**
|
|
47457
|
-
*
|
|
48834
|
+
* ArchivedSocialPost update
|
|
47458
48835
|
*/
|
|
47459
|
-
export type
|
|
47460
|
-
/**
|
|
47461
|
-
* Select specific fields to fetch from the SocialPost
|
|
47462
|
-
*/
|
|
47463
|
-
select?: SocialPostSelect<ExtArgs> | null
|
|
47464
|
-
/**
|
|
47465
|
-
* Choose, which related nodes to fetch as well
|
|
47466
|
-
*/
|
|
47467
|
-
include?: SocialPostInclude<ExtArgs> | null
|
|
47468
|
-
/**
|
|
47469
|
-
* The data needed to update a SocialPost.
|
|
47470
|
-
*/
|
|
47471
|
-
data: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
|
|
48836
|
+
export type ArchivedSocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47472
48837
|
/**
|
|
47473
|
-
*
|
|
48838
|
+
* Select specific fields to fetch from the ArchivedSocialPost
|
|
47474
48839
|
*/
|
|
47475
|
-
|
|
47476
|
-
}
|
|
47477
|
-
|
|
47478
|
-
/**
|
|
47479
|
-
* SocialPost updateMany
|
|
47480
|
-
*/
|
|
47481
|
-
export type SocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
48840
|
+
select?: ArchivedSocialPostSelect<ExtArgs> | null
|
|
47482
48841
|
/**
|
|
47483
|
-
* The data
|
|
48842
|
+
* The data needed to update a ArchivedSocialPost.
|
|
47484
48843
|
*/
|
|
47485
|
-
data: XOR<
|
|
48844
|
+
data: XOR<ArchivedSocialPostUpdateInput, ArchivedSocialPostUncheckedUpdateInput>
|
|
47486
48845
|
/**
|
|
47487
|
-
*
|
|
48846
|
+
* Choose, which ArchivedSocialPost to update.
|
|
47488
48847
|
*/
|
|
47489
|
-
where
|
|
48848
|
+
where: ArchivedSocialPostWhereUniqueInput
|
|
47490
48849
|
}
|
|
47491
48850
|
|
|
47492
48851
|
/**
|
|
47493
|
-
*
|
|
48852
|
+
* ArchivedSocialPost updateMany
|
|
47494
48853
|
*/
|
|
47495
|
-
export type
|
|
47496
|
-
/**
|
|
47497
|
-
* Select specific fields to fetch from the SocialPost
|
|
47498
|
-
*/
|
|
47499
|
-
select?: SocialPostSelect<ExtArgs> | null
|
|
47500
|
-
/**
|
|
47501
|
-
* Choose, which related nodes to fetch as well
|
|
47502
|
-
*/
|
|
47503
|
-
include?: SocialPostInclude<ExtArgs> | null
|
|
48854
|
+
export type ArchivedSocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47504
48855
|
/**
|
|
47505
|
-
* The
|
|
48856
|
+
* The data used to update ArchivedSocialPosts.
|
|
47506
48857
|
*/
|
|
47507
|
-
|
|
47508
|
-
/**
|
|
47509
|
-
* In case the SocialPost found by the `where` argument doesn't exist, create a new SocialPost with this data.
|
|
47510
|
-
*/
|
|
47511
|
-
create: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
|
|
48858
|
+
data: XOR<ArchivedSocialPostUpdateManyMutationInput, ArchivedSocialPostUncheckedUpdateManyInput>
|
|
47512
48859
|
/**
|
|
47513
|
-
*
|
|
48860
|
+
* Filter which ArchivedSocialPosts to update
|
|
47514
48861
|
*/
|
|
47515
|
-
|
|
48862
|
+
where?: ArchivedSocialPostWhereInput
|
|
47516
48863
|
}
|
|
47517
48864
|
|
|
47518
48865
|
/**
|
|
47519
|
-
*
|
|
48866
|
+
* ArchivedSocialPost upsert
|
|
47520
48867
|
*/
|
|
47521
|
-
export type
|
|
47522
|
-
/**
|
|
47523
|
-
* Select specific fields to fetch from the SocialPost
|
|
47524
|
-
*/
|
|
47525
|
-
select?: SocialPostSelect<ExtArgs> | null
|
|
47526
|
-
/**
|
|
47527
|
-
* Choose, which related nodes to fetch as well
|
|
47528
|
-
*/
|
|
47529
|
-
include?: SocialPostInclude<ExtArgs> | null
|
|
48868
|
+
export type ArchivedSocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47530
48869
|
/**
|
|
47531
|
-
*
|
|
48870
|
+
* Select specific fields to fetch from the ArchivedSocialPost
|
|
47532
48871
|
*/
|
|
47533
|
-
|
|
47534
|
-
}
|
|
47535
|
-
|
|
47536
|
-
/**
|
|
47537
|
-
* SocialPost deleteMany
|
|
47538
|
-
*/
|
|
47539
|
-
export type SocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
48872
|
+
select?: ArchivedSocialPostSelect<ExtArgs> | null
|
|
47540
48873
|
/**
|
|
47541
|
-
*
|
|
48874
|
+
* The filter to search for the ArchivedSocialPost to update in case it exists.
|
|
47542
48875
|
*/
|
|
47543
|
-
where
|
|
47544
|
-
}
|
|
47545
|
-
|
|
47546
|
-
/**
|
|
47547
|
-
* SocialPost.user
|
|
47548
|
-
*/
|
|
47549
|
-
export type SocialPost$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
48876
|
+
where: ArchivedSocialPostWhereUniqueInput
|
|
47550
48877
|
/**
|
|
47551
|
-
*
|
|
48878
|
+
* In case the ArchivedSocialPost found by the `where` argument doesn't exist, create a new ArchivedSocialPost with this data.
|
|
47552
48879
|
*/
|
|
47553
|
-
|
|
48880
|
+
create: XOR<ArchivedSocialPostCreateInput, ArchivedSocialPostUncheckedCreateInput>
|
|
47554
48881
|
/**
|
|
47555
|
-
*
|
|
48882
|
+
* In case the ArchivedSocialPost was found with the provided `where` argument, update it with this data.
|
|
47556
48883
|
*/
|
|
47557
|
-
|
|
47558
|
-
where?: UserWhereInput
|
|
48884
|
+
update: XOR<ArchivedSocialPostUpdateInput, ArchivedSocialPostUncheckedUpdateInput>
|
|
47559
48885
|
}
|
|
47560
48886
|
|
|
47561
48887
|
/**
|
|
47562
|
-
*
|
|
48888
|
+
* ArchivedSocialPost delete
|
|
47563
48889
|
*/
|
|
47564
|
-
export type
|
|
48890
|
+
export type ArchivedSocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47565
48891
|
/**
|
|
47566
|
-
* Select specific fields to fetch from the
|
|
48892
|
+
* Select specific fields to fetch from the ArchivedSocialPost
|
|
47567
48893
|
*/
|
|
47568
|
-
select?:
|
|
48894
|
+
select?: ArchivedSocialPostSelect<ExtArgs> | null
|
|
47569
48895
|
/**
|
|
47570
|
-
*
|
|
48896
|
+
* Filter which ArchivedSocialPost to delete.
|
|
47571
48897
|
*/
|
|
47572
|
-
|
|
47573
|
-
where?: CampaignWhereInput
|
|
48898
|
+
where: ArchivedSocialPostWhereUniqueInput
|
|
47574
48899
|
}
|
|
47575
48900
|
|
|
47576
48901
|
/**
|
|
47577
|
-
*
|
|
48902
|
+
* ArchivedSocialPost deleteMany
|
|
47578
48903
|
*/
|
|
47579
|
-
export type
|
|
47580
|
-
/**
|
|
47581
|
-
* Select specific fields to fetch from the ListToSocialPost
|
|
47582
|
-
*/
|
|
47583
|
-
select?: ListToSocialPostSelect<ExtArgs> | null
|
|
48904
|
+
export type ArchivedSocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47584
48905
|
/**
|
|
47585
|
-
*
|
|
48906
|
+
* Filter which ArchivedSocialPosts to delete
|
|
47586
48907
|
*/
|
|
47587
|
-
|
|
47588
|
-
where?: ListToSocialPostWhereInput
|
|
47589
|
-
orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
47590
|
-
cursor?: ListToSocialPostWhereUniqueInput
|
|
47591
|
-
take?: number
|
|
47592
|
-
skip?: number
|
|
47593
|
-
distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
|
|
48908
|
+
where?: ArchivedSocialPostWhereInput
|
|
47594
48909
|
}
|
|
47595
48910
|
|
|
47596
48911
|
/**
|
|
47597
|
-
*
|
|
48912
|
+
* ArchivedSocialPost without action
|
|
47598
48913
|
*/
|
|
47599
|
-
export type
|
|
47600
|
-
/**
|
|
47601
|
-
* Select specific fields to fetch from the SocialPost
|
|
47602
|
-
*/
|
|
47603
|
-
select?: SocialPostSelect<ExtArgs> | null
|
|
48914
|
+
export type ArchivedSocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
47604
48915
|
/**
|
|
47605
|
-
*
|
|
48916
|
+
* Select specific fields to fetch from the ArchivedSocialPost
|
|
47606
48917
|
*/
|
|
47607
|
-
|
|
48918
|
+
select?: ArchivedSocialPostSelect<ExtArgs> | null
|
|
47608
48919
|
}
|
|
47609
48920
|
|
|
47610
48921
|
|
|
@@ -78892,7 +80203,6 @@ export namespace Prisma {
|
|
|
78892
80203
|
|
|
78893
80204
|
|
|
78894
80205
|
export const OptinToProductListItemScalarFieldEnum: {
|
|
78895
|
-
id: 'id',
|
|
78896
80206
|
optInId: 'optInId',
|
|
78897
80207
|
productListItemId: 'productListItemId'
|
|
78898
80208
|
};
|
|
@@ -79057,6 +80367,44 @@ export namespace Prisma {
|
|
|
79057
80367
|
export type SocialPostScalarFieldEnum = (typeof SocialPostScalarFieldEnum)[keyof typeof SocialPostScalarFieldEnum]
|
|
79058
80368
|
|
|
79059
80369
|
|
|
80370
|
+
export const ArchivedSocialPostScalarFieldEnum: {
|
|
80371
|
+
id: 'id',
|
|
80372
|
+
phylloId: 'phylloId',
|
|
80373
|
+
metaData: 'metaData',
|
|
80374
|
+
lastFetched: 'lastFetched',
|
|
80375
|
+
lastWebhook: 'lastWebhook',
|
|
80376
|
+
posted: 'posted',
|
|
80377
|
+
title: 'title',
|
|
80378
|
+
description: 'description',
|
|
80379
|
+
url: 'url',
|
|
80380
|
+
urlPath: 'urlPath',
|
|
80381
|
+
format: 'format',
|
|
80382
|
+
type: 'type',
|
|
80383
|
+
platform: 'platform',
|
|
80384
|
+
visibility: 'visibility',
|
|
80385
|
+
isSponsored: 'isSponsored',
|
|
80386
|
+
hasCollaborators: 'hasCollaborators',
|
|
80387
|
+
isOwnedByUser: 'isOwnedByUser',
|
|
80388
|
+
views: 'views',
|
|
80389
|
+
impressions: 'impressions',
|
|
80390
|
+
impressionsOrganic: 'impressionsOrganic',
|
|
80391
|
+
impressionsPaid: 'impressionsPaid',
|
|
80392
|
+
reach: 'reach',
|
|
80393
|
+
reachOrganic: 'reachOrganic',
|
|
80394
|
+
reachPaid: 'reachPaid',
|
|
80395
|
+
watchHours: 'watchHours',
|
|
80396
|
+
likes: 'likes',
|
|
80397
|
+
dislikes: 'dislikes',
|
|
80398
|
+
comments: 'comments',
|
|
80399
|
+
saves: 'saves',
|
|
80400
|
+
shares: 'shares',
|
|
80401
|
+
userId: 'userId',
|
|
80402
|
+
campaignId: 'campaignId'
|
|
80403
|
+
};
|
|
80404
|
+
|
|
80405
|
+
export type ArchivedSocialPostScalarFieldEnum = (typeof ArchivedSocialPostScalarFieldEnum)[keyof typeof ArchivedSocialPostScalarFieldEnum]
|
|
80406
|
+
|
|
80407
|
+
|
|
79060
80408
|
export const ImageScalarFieldEnum: {
|
|
79061
80409
|
id: 'id',
|
|
79062
80410
|
url: 'url',
|
|
@@ -79779,6 +81127,21 @@ export namespace Prisma {
|
|
|
79779
81127
|
export type SocialPostOrderByRelevanceFieldEnum = (typeof SocialPostOrderByRelevanceFieldEnum)[keyof typeof SocialPostOrderByRelevanceFieldEnum]
|
|
79780
81128
|
|
|
79781
81129
|
|
|
81130
|
+
export const ArchivedSocialPostOrderByRelevanceFieldEnum: {
|
|
81131
|
+
phylloId: 'phylloId',
|
|
81132
|
+
title: 'title',
|
|
81133
|
+
description: 'description',
|
|
81134
|
+
url: 'url',
|
|
81135
|
+
urlPath: 'urlPath',
|
|
81136
|
+
format: 'format',
|
|
81137
|
+
type: 'type',
|
|
81138
|
+
platform: 'platform',
|
|
81139
|
+
visibility: 'visibility'
|
|
81140
|
+
};
|
|
81141
|
+
|
|
81142
|
+
export type ArchivedSocialPostOrderByRelevanceFieldEnum = (typeof ArchivedSocialPostOrderByRelevanceFieldEnum)[keyof typeof ArchivedSocialPostOrderByRelevanceFieldEnum]
|
|
81143
|
+
|
|
81144
|
+
|
|
79782
81145
|
export const ImageOrderByRelevanceFieldEnum: {
|
|
79783
81146
|
url: 'url',
|
|
79784
81147
|
size: 'size'
|
|
@@ -82613,7 +83976,6 @@ export namespace Prisma {
|
|
|
82613
83976
|
AND?: OptinToProductListItemWhereInput | OptinToProductListItemWhereInput[]
|
|
82614
83977
|
OR?: OptinToProductListItemWhereInput[]
|
|
82615
83978
|
NOT?: OptinToProductListItemWhereInput | OptinToProductListItemWhereInput[]
|
|
82616
|
-
id?: IntFilter<"OptinToProductListItem"> | number
|
|
82617
83979
|
optInId?: IntFilter<"OptinToProductListItem"> | number
|
|
82618
83980
|
productListItemId?: IntFilter<"OptinToProductListItem"> | number
|
|
82619
83981
|
optIn?: XOR<OptInRelationFilter, OptInWhereInput>
|
|
@@ -82621,7 +83983,6 @@ export namespace Prisma {
|
|
|
82621
83983
|
}
|
|
82622
83984
|
|
|
82623
83985
|
export type OptinToProductListItemOrderByWithRelationAndSearchRelevanceInput = {
|
|
82624
|
-
id?: SortOrder
|
|
82625
83986
|
optInId?: SortOrder
|
|
82626
83987
|
productListItemId?: SortOrder
|
|
82627
83988
|
optIn?: OptInOrderByWithRelationAndSearchRelevanceInput
|
|
@@ -82629,7 +83990,7 @@ export namespace Prisma {
|
|
|
82629
83990
|
}
|
|
82630
83991
|
|
|
82631
83992
|
export type OptinToProductListItemWhereUniqueInput = Prisma.AtLeast<{
|
|
82632
|
-
|
|
83993
|
+
optInId_productListItemId?: OptinToProductListItemOptInIdProductListItemIdCompoundUniqueInput
|
|
82633
83994
|
AND?: OptinToProductListItemWhereInput | OptinToProductListItemWhereInput[]
|
|
82634
83995
|
OR?: OptinToProductListItemWhereInput[]
|
|
82635
83996
|
NOT?: OptinToProductListItemWhereInput | OptinToProductListItemWhereInput[]
|
|
@@ -82637,10 +83998,9 @@ export namespace Prisma {
|
|
|
82637
83998
|
productListItemId?: IntFilter<"OptinToProductListItem"> | number
|
|
82638
83999
|
optIn?: XOR<OptInRelationFilter, OptInWhereInput>
|
|
82639
84000
|
productListItem?: XOR<ProductListItemRelationFilter, ProductListItemWhereInput>
|
|
82640
|
-
}, "
|
|
84001
|
+
}, "optInId_productListItemId">
|
|
82641
84002
|
|
|
82642
84003
|
export type OptinToProductListItemOrderByWithAggregationInput = {
|
|
82643
|
-
id?: SortOrder
|
|
82644
84004
|
optInId?: SortOrder
|
|
82645
84005
|
productListItemId?: SortOrder
|
|
82646
84006
|
_count?: OptinToProductListItemCountOrderByAggregateInput
|
|
@@ -82654,7 +84014,6 @@ export namespace Prisma {
|
|
|
82654
84014
|
AND?: OptinToProductListItemScalarWhereWithAggregatesInput | OptinToProductListItemScalarWhereWithAggregatesInput[]
|
|
82655
84015
|
OR?: OptinToProductListItemScalarWhereWithAggregatesInput[]
|
|
82656
84016
|
NOT?: OptinToProductListItemScalarWhereWithAggregatesInput | OptinToProductListItemScalarWhereWithAggregatesInput[]
|
|
82657
|
-
id?: IntWithAggregatesFilter<"OptinToProductListItem"> | number
|
|
82658
84017
|
optInId?: IntWithAggregatesFilter<"OptinToProductListItem"> | number
|
|
82659
84018
|
productListItemId?: IntWithAggregatesFilter<"OptinToProductListItem"> | number
|
|
82660
84019
|
}
|
|
@@ -83539,6 +84898,196 @@ export namespace Prisma {
|
|
|
83539
84898
|
campaignId?: IntNullableWithAggregatesFilter<"SocialPost"> | number | null
|
|
83540
84899
|
}
|
|
83541
84900
|
|
|
84901
|
+
export type ArchivedSocialPostWhereInput = {
|
|
84902
|
+
AND?: ArchivedSocialPostWhereInput | ArchivedSocialPostWhereInput[]
|
|
84903
|
+
OR?: ArchivedSocialPostWhereInput[]
|
|
84904
|
+
NOT?: ArchivedSocialPostWhereInput | ArchivedSocialPostWhereInput[]
|
|
84905
|
+
id?: IntFilter<"ArchivedSocialPost"> | number
|
|
84906
|
+
phylloId?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84907
|
+
metaData?: JsonFilter<"ArchivedSocialPost">
|
|
84908
|
+
lastFetched?: DateTimeNullableFilter<"ArchivedSocialPost"> | Date | string | null
|
|
84909
|
+
lastWebhook?: DateTimeNullableFilter<"ArchivedSocialPost"> | Date | string | null
|
|
84910
|
+
posted?: DateTimeNullableFilter<"ArchivedSocialPost"> | Date | string | null
|
|
84911
|
+
title?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84912
|
+
description?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84913
|
+
url?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84914
|
+
urlPath?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84915
|
+
format?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84916
|
+
type?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84917
|
+
platform?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84918
|
+
visibility?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84919
|
+
isSponsored?: BoolNullableFilter<"ArchivedSocialPost"> | boolean | null
|
|
84920
|
+
hasCollaborators?: BoolNullableFilter<"ArchivedSocialPost"> | boolean | null
|
|
84921
|
+
isOwnedByUser?: BoolNullableFilter<"ArchivedSocialPost"> | boolean | null
|
|
84922
|
+
views?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84923
|
+
impressions?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84924
|
+
impressionsOrganic?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84925
|
+
impressionsPaid?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84926
|
+
reach?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84927
|
+
reachOrganic?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84928
|
+
reachPaid?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84929
|
+
watchHours?: FloatNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84930
|
+
likes?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84931
|
+
dislikes?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84932
|
+
comments?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84933
|
+
saves?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84934
|
+
shares?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84935
|
+
userId?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84936
|
+
campaignId?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84937
|
+
}
|
|
84938
|
+
|
|
84939
|
+
export type ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput = {
|
|
84940
|
+
id?: SortOrder
|
|
84941
|
+
phylloId?: SortOrderInput | SortOrder
|
|
84942
|
+
metaData?: SortOrder
|
|
84943
|
+
lastFetched?: SortOrderInput | SortOrder
|
|
84944
|
+
lastWebhook?: SortOrderInput | SortOrder
|
|
84945
|
+
posted?: SortOrderInput | SortOrder
|
|
84946
|
+
title?: SortOrderInput | SortOrder
|
|
84947
|
+
description?: SortOrderInput | SortOrder
|
|
84948
|
+
url?: SortOrderInput | SortOrder
|
|
84949
|
+
urlPath?: SortOrderInput | SortOrder
|
|
84950
|
+
format?: SortOrderInput | SortOrder
|
|
84951
|
+
type?: SortOrderInput | SortOrder
|
|
84952
|
+
platform?: SortOrderInput | SortOrder
|
|
84953
|
+
visibility?: SortOrderInput | SortOrder
|
|
84954
|
+
isSponsored?: SortOrderInput | SortOrder
|
|
84955
|
+
hasCollaborators?: SortOrderInput | SortOrder
|
|
84956
|
+
isOwnedByUser?: SortOrderInput | SortOrder
|
|
84957
|
+
views?: SortOrderInput | SortOrder
|
|
84958
|
+
impressions?: SortOrderInput | SortOrder
|
|
84959
|
+
impressionsOrganic?: SortOrderInput | SortOrder
|
|
84960
|
+
impressionsPaid?: SortOrderInput | SortOrder
|
|
84961
|
+
reach?: SortOrderInput | SortOrder
|
|
84962
|
+
reachOrganic?: SortOrderInput | SortOrder
|
|
84963
|
+
reachPaid?: SortOrderInput | SortOrder
|
|
84964
|
+
watchHours?: SortOrderInput | SortOrder
|
|
84965
|
+
likes?: SortOrderInput | SortOrder
|
|
84966
|
+
dislikes?: SortOrderInput | SortOrder
|
|
84967
|
+
comments?: SortOrderInput | SortOrder
|
|
84968
|
+
saves?: SortOrderInput | SortOrder
|
|
84969
|
+
shares?: SortOrderInput | SortOrder
|
|
84970
|
+
userId?: SortOrderInput | SortOrder
|
|
84971
|
+
campaignId?: SortOrderInput | SortOrder
|
|
84972
|
+
_relevance?: ArchivedSocialPostOrderByRelevanceInput
|
|
84973
|
+
}
|
|
84974
|
+
|
|
84975
|
+
export type ArchivedSocialPostWhereUniqueInput = Prisma.AtLeast<{
|
|
84976
|
+
id?: number
|
|
84977
|
+
phylloId?: string
|
|
84978
|
+
urlPath?: string
|
|
84979
|
+
AND?: ArchivedSocialPostWhereInput | ArchivedSocialPostWhereInput[]
|
|
84980
|
+
OR?: ArchivedSocialPostWhereInput[]
|
|
84981
|
+
NOT?: ArchivedSocialPostWhereInput | ArchivedSocialPostWhereInput[]
|
|
84982
|
+
metaData?: JsonFilter<"ArchivedSocialPost">
|
|
84983
|
+
lastFetched?: DateTimeNullableFilter<"ArchivedSocialPost"> | Date | string | null
|
|
84984
|
+
lastWebhook?: DateTimeNullableFilter<"ArchivedSocialPost"> | Date | string | null
|
|
84985
|
+
posted?: DateTimeNullableFilter<"ArchivedSocialPost"> | Date | string | null
|
|
84986
|
+
title?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84987
|
+
description?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84988
|
+
url?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84989
|
+
format?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84990
|
+
type?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84991
|
+
platform?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84992
|
+
visibility?: StringNullableFilter<"ArchivedSocialPost"> | string | null
|
|
84993
|
+
isSponsored?: BoolNullableFilter<"ArchivedSocialPost"> | boolean | null
|
|
84994
|
+
hasCollaborators?: BoolNullableFilter<"ArchivedSocialPost"> | boolean | null
|
|
84995
|
+
isOwnedByUser?: BoolNullableFilter<"ArchivedSocialPost"> | boolean | null
|
|
84996
|
+
views?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84997
|
+
impressions?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84998
|
+
impressionsOrganic?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
84999
|
+
impressionsPaid?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85000
|
+
reach?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85001
|
+
reachOrganic?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85002
|
+
reachPaid?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85003
|
+
watchHours?: FloatNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85004
|
+
likes?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85005
|
+
dislikes?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85006
|
+
comments?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85007
|
+
saves?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85008
|
+
shares?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85009
|
+
userId?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85010
|
+
campaignId?: IntNullableFilter<"ArchivedSocialPost"> | number | null
|
|
85011
|
+
}, "id" | "phylloId" | "urlPath">
|
|
85012
|
+
|
|
85013
|
+
export type ArchivedSocialPostOrderByWithAggregationInput = {
|
|
85014
|
+
id?: SortOrder
|
|
85015
|
+
phylloId?: SortOrderInput | SortOrder
|
|
85016
|
+
metaData?: SortOrder
|
|
85017
|
+
lastFetched?: SortOrderInput | SortOrder
|
|
85018
|
+
lastWebhook?: SortOrderInput | SortOrder
|
|
85019
|
+
posted?: SortOrderInput | SortOrder
|
|
85020
|
+
title?: SortOrderInput | SortOrder
|
|
85021
|
+
description?: SortOrderInput | SortOrder
|
|
85022
|
+
url?: SortOrderInput | SortOrder
|
|
85023
|
+
urlPath?: SortOrderInput | SortOrder
|
|
85024
|
+
format?: SortOrderInput | SortOrder
|
|
85025
|
+
type?: SortOrderInput | SortOrder
|
|
85026
|
+
platform?: SortOrderInput | SortOrder
|
|
85027
|
+
visibility?: SortOrderInput | SortOrder
|
|
85028
|
+
isSponsored?: SortOrderInput | SortOrder
|
|
85029
|
+
hasCollaborators?: SortOrderInput | SortOrder
|
|
85030
|
+
isOwnedByUser?: SortOrderInput | SortOrder
|
|
85031
|
+
views?: SortOrderInput | SortOrder
|
|
85032
|
+
impressions?: SortOrderInput | SortOrder
|
|
85033
|
+
impressionsOrganic?: SortOrderInput | SortOrder
|
|
85034
|
+
impressionsPaid?: SortOrderInput | SortOrder
|
|
85035
|
+
reach?: SortOrderInput | SortOrder
|
|
85036
|
+
reachOrganic?: SortOrderInput | SortOrder
|
|
85037
|
+
reachPaid?: SortOrderInput | SortOrder
|
|
85038
|
+
watchHours?: SortOrderInput | SortOrder
|
|
85039
|
+
likes?: SortOrderInput | SortOrder
|
|
85040
|
+
dislikes?: SortOrderInput | SortOrder
|
|
85041
|
+
comments?: SortOrderInput | SortOrder
|
|
85042
|
+
saves?: SortOrderInput | SortOrder
|
|
85043
|
+
shares?: SortOrderInput | SortOrder
|
|
85044
|
+
userId?: SortOrderInput | SortOrder
|
|
85045
|
+
campaignId?: SortOrderInput | SortOrder
|
|
85046
|
+
_count?: ArchivedSocialPostCountOrderByAggregateInput
|
|
85047
|
+
_avg?: ArchivedSocialPostAvgOrderByAggregateInput
|
|
85048
|
+
_max?: ArchivedSocialPostMaxOrderByAggregateInput
|
|
85049
|
+
_min?: ArchivedSocialPostMinOrderByAggregateInput
|
|
85050
|
+
_sum?: ArchivedSocialPostSumOrderByAggregateInput
|
|
85051
|
+
}
|
|
85052
|
+
|
|
85053
|
+
export type ArchivedSocialPostScalarWhereWithAggregatesInput = {
|
|
85054
|
+
AND?: ArchivedSocialPostScalarWhereWithAggregatesInput | ArchivedSocialPostScalarWhereWithAggregatesInput[]
|
|
85055
|
+
OR?: ArchivedSocialPostScalarWhereWithAggregatesInput[]
|
|
85056
|
+
NOT?: ArchivedSocialPostScalarWhereWithAggregatesInput | ArchivedSocialPostScalarWhereWithAggregatesInput[]
|
|
85057
|
+
id?: IntWithAggregatesFilter<"ArchivedSocialPost"> | number
|
|
85058
|
+
phylloId?: StringNullableWithAggregatesFilter<"ArchivedSocialPost"> | string | null
|
|
85059
|
+
metaData?: JsonWithAggregatesFilter<"ArchivedSocialPost">
|
|
85060
|
+
lastFetched?: DateTimeNullableWithAggregatesFilter<"ArchivedSocialPost"> | Date | string | null
|
|
85061
|
+
lastWebhook?: DateTimeNullableWithAggregatesFilter<"ArchivedSocialPost"> | Date | string | null
|
|
85062
|
+
posted?: DateTimeNullableWithAggregatesFilter<"ArchivedSocialPost"> | Date | string | null
|
|
85063
|
+
title?: StringNullableWithAggregatesFilter<"ArchivedSocialPost"> | string | null
|
|
85064
|
+
description?: StringNullableWithAggregatesFilter<"ArchivedSocialPost"> | string | null
|
|
85065
|
+
url?: StringNullableWithAggregatesFilter<"ArchivedSocialPost"> | string | null
|
|
85066
|
+
urlPath?: StringNullableWithAggregatesFilter<"ArchivedSocialPost"> | string | null
|
|
85067
|
+
format?: StringNullableWithAggregatesFilter<"ArchivedSocialPost"> | string | null
|
|
85068
|
+
type?: StringNullableWithAggregatesFilter<"ArchivedSocialPost"> | string | null
|
|
85069
|
+
platform?: StringNullableWithAggregatesFilter<"ArchivedSocialPost"> | string | null
|
|
85070
|
+
visibility?: StringNullableWithAggregatesFilter<"ArchivedSocialPost"> | string | null
|
|
85071
|
+
isSponsored?: BoolNullableWithAggregatesFilter<"ArchivedSocialPost"> | boolean | null
|
|
85072
|
+
hasCollaborators?: BoolNullableWithAggregatesFilter<"ArchivedSocialPost"> | boolean | null
|
|
85073
|
+
isOwnedByUser?: BoolNullableWithAggregatesFilter<"ArchivedSocialPost"> | boolean | null
|
|
85074
|
+
views?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85075
|
+
impressions?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85076
|
+
impressionsOrganic?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85077
|
+
impressionsPaid?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85078
|
+
reach?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85079
|
+
reachOrganic?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85080
|
+
reachPaid?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85081
|
+
watchHours?: FloatNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85082
|
+
likes?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85083
|
+
dislikes?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85084
|
+
comments?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85085
|
+
saves?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85086
|
+
shares?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85087
|
+
userId?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85088
|
+
campaignId?: IntNullableWithAggregatesFilter<"ArchivedSocialPost"> | number | null
|
|
85089
|
+
}
|
|
85090
|
+
|
|
83542
85091
|
export type ImageWhereInput = {
|
|
83543
85092
|
AND?: ImageWhereInput | ImageWhereInput[]
|
|
83544
85093
|
OR?: ImageWhereInput[]
|
|
@@ -88428,7 +89977,6 @@ export namespace Prisma {
|
|
|
88428
89977
|
}
|
|
88429
89978
|
|
|
88430
89979
|
export type OptinToProductListItemUncheckedCreateInput = {
|
|
88431
|
-
id?: number
|
|
88432
89980
|
optInId: number
|
|
88433
89981
|
productListItemId: number
|
|
88434
89982
|
}
|
|
@@ -88439,13 +89987,11 @@ export namespace Prisma {
|
|
|
88439
89987
|
}
|
|
88440
89988
|
|
|
88441
89989
|
export type OptinToProductListItemUncheckedUpdateInput = {
|
|
88442
|
-
id?: IntFieldUpdateOperationsInput | number
|
|
88443
89990
|
optInId?: IntFieldUpdateOperationsInput | number
|
|
88444
89991
|
productListItemId?: IntFieldUpdateOperationsInput | number
|
|
88445
89992
|
}
|
|
88446
89993
|
|
|
88447
89994
|
export type OptinToProductListItemCreateManyInput = {
|
|
88448
|
-
id?: number
|
|
88449
89995
|
optInId: number
|
|
88450
89996
|
productListItemId: number
|
|
88451
89997
|
}
|
|
@@ -88455,7 +90001,6 @@ export namespace Prisma {
|
|
|
88455
90001
|
}
|
|
88456
90002
|
|
|
88457
90003
|
export type OptinToProductListItemUncheckedUpdateManyInput = {
|
|
88458
|
-
id?: IntFieldUpdateOperationsInput | number
|
|
88459
90004
|
optInId?: IntFieldUpdateOperationsInput | number
|
|
88460
90005
|
productListItemId?: IntFieldUpdateOperationsInput | number
|
|
88461
90006
|
}
|
|
@@ -89187,52 +90732,368 @@ export namespace Prisma {
|
|
|
89187
90732
|
shares?: number | null
|
|
89188
90733
|
userId?: number | null
|
|
89189
90734
|
campaignId?: number | null
|
|
89190
|
-
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
90735
|
+
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
90736
|
+
}
|
|
90737
|
+
|
|
90738
|
+
export type SocialPostUpdateInput = {
|
|
90739
|
+
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90740
|
+
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90741
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
90742
|
+
data?: JsonNullValueInput | InputJsonValue
|
|
90743
|
+
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90744
|
+
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90745
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90746
|
+
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90747
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90748
|
+
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90749
|
+
urlPath?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90750
|
+
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90751
|
+
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90752
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90753
|
+
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90754
|
+
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90755
|
+
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90756
|
+
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90757
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90758
|
+
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90759
|
+
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90760
|
+
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90761
|
+
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90762
|
+
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90763
|
+
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90764
|
+
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
90765
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90766
|
+
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90767
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90768
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90769
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90770
|
+
user?: UserUpdateOneWithoutSocialPostsNestedInput
|
|
90771
|
+
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
90772
|
+
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
90773
|
+
}
|
|
90774
|
+
|
|
90775
|
+
export type SocialPostUncheckedUpdateInput = {
|
|
90776
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
90777
|
+
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90778
|
+
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90779
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
90780
|
+
data?: JsonNullValueInput | InputJsonValue
|
|
90781
|
+
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90782
|
+
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90783
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90784
|
+
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90785
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90786
|
+
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90787
|
+
urlPath?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90788
|
+
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90789
|
+
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90790
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90791
|
+
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90792
|
+
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90793
|
+
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90794
|
+
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90795
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90796
|
+
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90797
|
+
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90798
|
+
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90799
|
+
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90800
|
+
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90801
|
+
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90802
|
+
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
90803
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90804
|
+
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90805
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90806
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90807
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90808
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90809
|
+
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90810
|
+
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
90811
|
+
}
|
|
90812
|
+
|
|
90813
|
+
export type SocialPostCreateManyInput = {
|
|
90814
|
+
id?: number
|
|
90815
|
+
externalId?: string | null
|
|
90816
|
+
phylloId?: string | null
|
|
90817
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
90818
|
+
data?: JsonNullValueInput | InputJsonValue
|
|
90819
|
+
lastFetched?: Date | string | null
|
|
90820
|
+
lastWebhook?: Date | string | null
|
|
90821
|
+
posted?: Date | string | null
|
|
90822
|
+
title?: string | null
|
|
90823
|
+
description?: string | null
|
|
90824
|
+
url?: string | null
|
|
90825
|
+
urlPath?: string | null
|
|
90826
|
+
format?: string | null
|
|
90827
|
+
type?: string | null
|
|
90828
|
+
platform?: string | null
|
|
90829
|
+
visibility?: string | null
|
|
90830
|
+
isSponsored?: boolean | null
|
|
90831
|
+
hasCollaborators?: boolean | null
|
|
90832
|
+
isOwnedByUser?: boolean | null
|
|
90833
|
+
views?: number | null
|
|
90834
|
+
impressions?: number | null
|
|
90835
|
+
impressionsOrganic?: number | null
|
|
90836
|
+
impressionsPaid?: number | null
|
|
90837
|
+
reach?: number | null
|
|
90838
|
+
reachOrganic?: number | null
|
|
90839
|
+
reachPaid?: number | null
|
|
90840
|
+
watchHours?: number | null
|
|
90841
|
+
likes?: number | null
|
|
90842
|
+
dislikes?: number | null
|
|
90843
|
+
comments?: number | null
|
|
90844
|
+
saves?: number | null
|
|
90845
|
+
shares?: number | null
|
|
90846
|
+
userId?: number | null
|
|
90847
|
+
campaignId?: number | null
|
|
90848
|
+
}
|
|
90849
|
+
|
|
90850
|
+
export type SocialPostUpdateManyMutationInput = {
|
|
90851
|
+
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90852
|
+
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90853
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
90854
|
+
data?: JsonNullValueInput | InputJsonValue
|
|
90855
|
+
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90856
|
+
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90857
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90858
|
+
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90859
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90860
|
+
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90861
|
+
urlPath?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90862
|
+
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90863
|
+
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90864
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90865
|
+
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90866
|
+
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90867
|
+
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90868
|
+
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90869
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90870
|
+
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90871
|
+
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90872
|
+
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90873
|
+
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90874
|
+
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90875
|
+
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90876
|
+
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
90877
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90878
|
+
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90879
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90880
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90881
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90882
|
+
}
|
|
90883
|
+
|
|
90884
|
+
export type SocialPostUncheckedUpdateManyInput = {
|
|
90885
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
90886
|
+
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90887
|
+
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90888
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
90889
|
+
data?: JsonNullValueInput | InputJsonValue
|
|
90890
|
+
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90891
|
+
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90892
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90893
|
+
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90894
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90895
|
+
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90896
|
+
urlPath?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90897
|
+
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90898
|
+
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90899
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90900
|
+
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90901
|
+
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90902
|
+
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90903
|
+
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
90904
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90905
|
+
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90906
|
+
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90907
|
+
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90908
|
+
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90909
|
+
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90910
|
+
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90911
|
+
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
90912
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90913
|
+
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90914
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90915
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90916
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90917
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90918
|
+
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
90919
|
+
}
|
|
90920
|
+
|
|
90921
|
+
export type ArchivedSocialPostCreateInput = {
|
|
90922
|
+
phylloId?: string | null
|
|
90923
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
90924
|
+
lastFetched?: Date | string | null
|
|
90925
|
+
lastWebhook?: Date | string | null
|
|
90926
|
+
posted?: Date | string | null
|
|
90927
|
+
title?: string | null
|
|
90928
|
+
description?: string | null
|
|
90929
|
+
url?: string | null
|
|
90930
|
+
urlPath?: string | null
|
|
90931
|
+
format?: string | null
|
|
90932
|
+
type?: string | null
|
|
90933
|
+
platform?: string | null
|
|
90934
|
+
visibility?: string | null
|
|
90935
|
+
isSponsored?: boolean | null
|
|
90936
|
+
hasCollaborators?: boolean | null
|
|
90937
|
+
isOwnedByUser?: boolean | null
|
|
90938
|
+
views?: number | null
|
|
90939
|
+
impressions?: number | null
|
|
90940
|
+
impressionsOrganic?: number | null
|
|
90941
|
+
impressionsPaid?: number | null
|
|
90942
|
+
reach?: number | null
|
|
90943
|
+
reachOrganic?: number | null
|
|
90944
|
+
reachPaid?: number | null
|
|
90945
|
+
watchHours?: number | null
|
|
90946
|
+
likes?: number | null
|
|
90947
|
+
dislikes?: number | null
|
|
90948
|
+
comments?: number | null
|
|
90949
|
+
saves?: number | null
|
|
90950
|
+
shares?: number | null
|
|
90951
|
+
userId?: number | null
|
|
90952
|
+
campaignId?: number | null
|
|
90953
|
+
}
|
|
90954
|
+
|
|
90955
|
+
export type ArchivedSocialPostUncheckedCreateInput = {
|
|
90956
|
+
id?: number
|
|
90957
|
+
phylloId?: string | null
|
|
90958
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
90959
|
+
lastFetched?: Date | string | null
|
|
90960
|
+
lastWebhook?: Date | string | null
|
|
90961
|
+
posted?: Date | string | null
|
|
90962
|
+
title?: string | null
|
|
90963
|
+
description?: string | null
|
|
90964
|
+
url?: string | null
|
|
90965
|
+
urlPath?: string | null
|
|
90966
|
+
format?: string | null
|
|
90967
|
+
type?: string | null
|
|
90968
|
+
platform?: string | null
|
|
90969
|
+
visibility?: string | null
|
|
90970
|
+
isSponsored?: boolean | null
|
|
90971
|
+
hasCollaborators?: boolean | null
|
|
90972
|
+
isOwnedByUser?: boolean | null
|
|
90973
|
+
views?: number | null
|
|
90974
|
+
impressions?: number | null
|
|
90975
|
+
impressionsOrganic?: number | null
|
|
90976
|
+
impressionsPaid?: number | null
|
|
90977
|
+
reach?: number | null
|
|
90978
|
+
reachOrganic?: number | null
|
|
90979
|
+
reachPaid?: number | null
|
|
90980
|
+
watchHours?: number | null
|
|
90981
|
+
likes?: number | null
|
|
90982
|
+
dislikes?: number | null
|
|
90983
|
+
comments?: number | null
|
|
90984
|
+
saves?: number | null
|
|
90985
|
+
shares?: number | null
|
|
90986
|
+
userId?: number | null
|
|
90987
|
+
campaignId?: number | null
|
|
90988
|
+
}
|
|
90989
|
+
|
|
90990
|
+
export type ArchivedSocialPostUpdateInput = {
|
|
90991
|
+
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90992
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
90993
|
+
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90994
|
+
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90995
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
90996
|
+
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90997
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90998
|
+
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
90999
|
+
urlPath?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91000
|
+
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91001
|
+
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91002
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91003
|
+
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91004
|
+
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
91005
|
+
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
91006
|
+
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
91007
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91008
|
+
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91009
|
+
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91010
|
+
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91011
|
+
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91012
|
+
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91013
|
+
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91014
|
+
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
91015
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91016
|
+
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91017
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91018
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91019
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91020
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91021
|
+
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91022
|
+
}
|
|
91023
|
+
|
|
91024
|
+
export type ArchivedSocialPostUncheckedUpdateInput = {
|
|
91025
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
91026
|
+
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91027
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
91028
|
+
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
91029
|
+
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
91030
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
91031
|
+
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91032
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91033
|
+
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91034
|
+
urlPath?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91035
|
+
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91036
|
+
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91037
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91038
|
+
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91039
|
+
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
91040
|
+
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
91041
|
+
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
91042
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91043
|
+
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91044
|
+
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91045
|
+
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91046
|
+
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91047
|
+
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91048
|
+
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91049
|
+
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
91050
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91051
|
+
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91052
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91053
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91054
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91055
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91056
|
+
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
91057
|
+
}
|
|
91058
|
+
|
|
91059
|
+
export type ArchivedSocialPostCreateManyInput = {
|
|
91060
|
+
id?: number
|
|
91061
|
+
phylloId?: string | null
|
|
91062
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
91063
|
+
lastFetched?: Date | string | null
|
|
91064
|
+
lastWebhook?: Date | string | null
|
|
91065
|
+
posted?: Date | string | null
|
|
91066
|
+
title?: string | null
|
|
91067
|
+
description?: string | null
|
|
91068
|
+
url?: string | null
|
|
91069
|
+
urlPath?: string | null
|
|
91070
|
+
format?: string | null
|
|
91071
|
+
type?: string | null
|
|
91072
|
+
platform?: string | null
|
|
91073
|
+
visibility?: string | null
|
|
91074
|
+
isSponsored?: boolean | null
|
|
91075
|
+
hasCollaborators?: boolean | null
|
|
91076
|
+
isOwnedByUser?: boolean | null
|
|
91077
|
+
views?: number | null
|
|
91078
|
+
impressions?: number | null
|
|
91079
|
+
impressionsOrganic?: number | null
|
|
91080
|
+
impressionsPaid?: number | null
|
|
91081
|
+
reach?: number | null
|
|
91082
|
+
reachOrganic?: number | null
|
|
91083
|
+
reachPaid?: number | null
|
|
91084
|
+
watchHours?: number | null
|
|
91085
|
+
likes?: number | null
|
|
91086
|
+
dislikes?: number | null
|
|
91087
|
+
comments?: number | null
|
|
91088
|
+
saves?: number | null
|
|
91089
|
+
shares?: number | null
|
|
91090
|
+
userId?: number | null
|
|
91091
|
+
campaignId?: number | null
|
|
89191
91092
|
}
|
|
89192
91093
|
|
|
89193
|
-
export type
|
|
89194
|
-
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
91094
|
+
export type ArchivedSocialPostUpdateManyMutationInput = {
|
|
89195
91095
|
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89196
91096
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
89197
|
-
data?: JsonNullValueInput | InputJsonValue
|
|
89198
|
-
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
89199
|
-
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
89200
|
-
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
89201
|
-
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89202
|
-
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89203
|
-
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89204
|
-
urlPath?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89205
|
-
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89206
|
-
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89207
|
-
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89208
|
-
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89209
|
-
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
89210
|
-
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
89211
|
-
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
89212
|
-
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89213
|
-
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89214
|
-
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89215
|
-
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89216
|
-
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89217
|
-
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89218
|
-
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89219
|
-
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
89220
|
-
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89221
|
-
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89222
|
-
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89223
|
-
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89224
|
-
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89225
|
-
user?: UserUpdateOneWithoutSocialPostsNestedInput
|
|
89226
|
-
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
89227
|
-
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
89228
|
-
}
|
|
89229
|
-
|
|
89230
|
-
export type SocialPostUncheckedUpdateInput = {
|
|
89231
|
-
id?: IntFieldUpdateOperationsInput | number
|
|
89232
|
-
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89233
|
-
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89234
|
-
metaData?: JsonNullValueInput | InputJsonValue
|
|
89235
|
-
data?: JsonNullValueInput | InputJsonValue
|
|
89236
91097
|
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
89237
91098
|
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
89238
91099
|
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -89262,86 +91123,12 @@ export namespace Prisma {
|
|
|
89262
91123
|
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89263
91124
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89264
91125
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89265
|
-
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
89266
|
-
}
|
|
89267
|
-
|
|
89268
|
-
export type SocialPostCreateManyInput = {
|
|
89269
|
-
id?: number
|
|
89270
|
-
externalId?: string | null
|
|
89271
|
-
phylloId?: string | null
|
|
89272
|
-
metaData?: JsonNullValueInput | InputJsonValue
|
|
89273
|
-
data?: JsonNullValueInput | InputJsonValue
|
|
89274
|
-
lastFetched?: Date | string | null
|
|
89275
|
-
lastWebhook?: Date | string | null
|
|
89276
|
-
posted?: Date | string | null
|
|
89277
|
-
title?: string | null
|
|
89278
|
-
description?: string | null
|
|
89279
|
-
url?: string | null
|
|
89280
|
-
urlPath?: string | null
|
|
89281
|
-
format?: string | null
|
|
89282
|
-
type?: string | null
|
|
89283
|
-
platform?: string | null
|
|
89284
|
-
visibility?: string | null
|
|
89285
|
-
isSponsored?: boolean | null
|
|
89286
|
-
hasCollaborators?: boolean | null
|
|
89287
|
-
isOwnedByUser?: boolean | null
|
|
89288
|
-
views?: number | null
|
|
89289
|
-
impressions?: number | null
|
|
89290
|
-
impressionsOrganic?: number | null
|
|
89291
|
-
impressionsPaid?: number | null
|
|
89292
|
-
reach?: number | null
|
|
89293
|
-
reachOrganic?: number | null
|
|
89294
|
-
reachPaid?: number | null
|
|
89295
|
-
watchHours?: number | null
|
|
89296
|
-
likes?: number | null
|
|
89297
|
-
dislikes?: number | null
|
|
89298
|
-
comments?: number | null
|
|
89299
|
-
saves?: number | null
|
|
89300
|
-
shares?: number | null
|
|
89301
|
-
userId?: number | null
|
|
89302
|
-
campaignId?: number | null
|
|
89303
91126
|
}
|
|
89304
91127
|
|
|
89305
|
-
export type
|
|
89306
|
-
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89307
|
-
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89308
|
-
metaData?: JsonNullValueInput | InputJsonValue
|
|
89309
|
-
data?: JsonNullValueInput | InputJsonValue
|
|
89310
|
-
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
89311
|
-
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
89312
|
-
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
89313
|
-
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89314
|
-
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89315
|
-
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89316
|
-
urlPath?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89317
|
-
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89318
|
-
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89319
|
-
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89320
|
-
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89321
|
-
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
89322
|
-
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
89323
|
-
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
89324
|
-
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89325
|
-
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89326
|
-
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89327
|
-
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89328
|
-
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89329
|
-
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89330
|
-
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89331
|
-
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
89332
|
-
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89333
|
-
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89334
|
-
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89335
|
-
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89336
|
-
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
89337
|
-
}
|
|
89338
|
-
|
|
89339
|
-
export type SocialPostUncheckedUpdateManyInput = {
|
|
91128
|
+
export type ArchivedSocialPostUncheckedUpdateManyInput = {
|
|
89340
91129
|
id?: IntFieldUpdateOperationsInput | number
|
|
89341
|
-
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89342
91130
|
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
89343
91131
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
89344
|
-
data?: JsonNullValueInput | InputJsonValue
|
|
89345
91132
|
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
89346
91133
|
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
89347
91134
|
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -93893,32 +95680,32 @@ export namespace Prisma {
|
|
|
93893
95680
|
isNot?: ProductListItemWhereInput
|
|
93894
95681
|
}
|
|
93895
95682
|
|
|
95683
|
+
export type OptinToProductListItemOptInIdProductListItemIdCompoundUniqueInput = {
|
|
95684
|
+
optInId: number
|
|
95685
|
+
productListItemId: number
|
|
95686
|
+
}
|
|
95687
|
+
|
|
93896
95688
|
export type OptinToProductListItemCountOrderByAggregateInput = {
|
|
93897
|
-
id?: SortOrder
|
|
93898
95689
|
optInId?: SortOrder
|
|
93899
95690
|
productListItemId?: SortOrder
|
|
93900
95691
|
}
|
|
93901
95692
|
|
|
93902
95693
|
export type OptinToProductListItemAvgOrderByAggregateInput = {
|
|
93903
|
-
id?: SortOrder
|
|
93904
95694
|
optInId?: SortOrder
|
|
93905
95695
|
productListItemId?: SortOrder
|
|
93906
95696
|
}
|
|
93907
95697
|
|
|
93908
95698
|
export type OptinToProductListItemMaxOrderByAggregateInput = {
|
|
93909
|
-
id?: SortOrder
|
|
93910
95699
|
optInId?: SortOrder
|
|
93911
95700
|
productListItemId?: SortOrder
|
|
93912
95701
|
}
|
|
93913
95702
|
|
|
93914
95703
|
export type OptinToProductListItemMinOrderByAggregateInput = {
|
|
93915
|
-
id?: SortOrder
|
|
93916
95704
|
optInId?: SortOrder
|
|
93917
95705
|
productListItemId?: SortOrder
|
|
93918
95706
|
}
|
|
93919
95707
|
|
|
93920
95708
|
export type OptinToProductListItemSumOrderByAggregateInput = {
|
|
93921
|
-
id?: SortOrder
|
|
93922
95709
|
optInId?: SortOrder
|
|
93923
95710
|
productListItemId?: SortOrder
|
|
93924
95711
|
}
|
|
@@ -94606,6 +96393,153 @@ export namespace Prisma {
|
|
|
94606
96393
|
campaignId?: SortOrder
|
|
94607
96394
|
}
|
|
94608
96395
|
|
|
96396
|
+
export type ArchivedSocialPostOrderByRelevanceInput = {
|
|
96397
|
+
fields: ArchivedSocialPostOrderByRelevanceFieldEnum | ArchivedSocialPostOrderByRelevanceFieldEnum[]
|
|
96398
|
+
sort: SortOrder
|
|
96399
|
+
search: string
|
|
96400
|
+
}
|
|
96401
|
+
|
|
96402
|
+
export type ArchivedSocialPostCountOrderByAggregateInput = {
|
|
96403
|
+
id?: SortOrder
|
|
96404
|
+
phylloId?: SortOrder
|
|
96405
|
+
metaData?: SortOrder
|
|
96406
|
+
lastFetched?: SortOrder
|
|
96407
|
+
lastWebhook?: SortOrder
|
|
96408
|
+
posted?: SortOrder
|
|
96409
|
+
title?: SortOrder
|
|
96410
|
+
description?: SortOrder
|
|
96411
|
+
url?: SortOrder
|
|
96412
|
+
urlPath?: SortOrder
|
|
96413
|
+
format?: SortOrder
|
|
96414
|
+
type?: SortOrder
|
|
96415
|
+
platform?: SortOrder
|
|
96416
|
+
visibility?: SortOrder
|
|
96417
|
+
isSponsored?: SortOrder
|
|
96418
|
+
hasCollaborators?: SortOrder
|
|
96419
|
+
isOwnedByUser?: SortOrder
|
|
96420
|
+
views?: SortOrder
|
|
96421
|
+
impressions?: SortOrder
|
|
96422
|
+
impressionsOrganic?: SortOrder
|
|
96423
|
+
impressionsPaid?: SortOrder
|
|
96424
|
+
reach?: SortOrder
|
|
96425
|
+
reachOrganic?: SortOrder
|
|
96426
|
+
reachPaid?: SortOrder
|
|
96427
|
+
watchHours?: SortOrder
|
|
96428
|
+
likes?: SortOrder
|
|
96429
|
+
dislikes?: SortOrder
|
|
96430
|
+
comments?: SortOrder
|
|
96431
|
+
saves?: SortOrder
|
|
96432
|
+
shares?: SortOrder
|
|
96433
|
+
userId?: SortOrder
|
|
96434
|
+
campaignId?: SortOrder
|
|
96435
|
+
}
|
|
96436
|
+
|
|
96437
|
+
export type ArchivedSocialPostAvgOrderByAggregateInput = {
|
|
96438
|
+
id?: SortOrder
|
|
96439
|
+
views?: SortOrder
|
|
96440
|
+
impressions?: SortOrder
|
|
96441
|
+
impressionsOrganic?: SortOrder
|
|
96442
|
+
impressionsPaid?: SortOrder
|
|
96443
|
+
reach?: SortOrder
|
|
96444
|
+
reachOrganic?: SortOrder
|
|
96445
|
+
reachPaid?: SortOrder
|
|
96446
|
+
watchHours?: SortOrder
|
|
96447
|
+
likes?: SortOrder
|
|
96448
|
+
dislikes?: SortOrder
|
|
96449
|
+
comments?: SortOrder
|
|
96450
|
+
saves?: SortOrder
|
|
96451
|
+
shares?: SortOrder
|
|
96452
|
+
userId?: SortOrder
|
|
96453
|
+
campaignId?: SortOrder
|
|
96454
|
+
}
|
|
96455
|
+
|
|
96456
|
+
export type ArchivedSocialPostMaxOrderByAggregateInput = {
|
|
96457
|
+
id?: SortOrder
|
|
96458
|
+
phylloId?: SortOrder
|
|
96459
|
+
lastFetched?: SortOrder
|
|
96460
|
+
lastWebhook?: SortOrder
|
|
96461
|
+
posted?: SortOrder
|
|
96462
|
+
title?: SortOrder
|
|
96463
|
+
description?: SortOrder
|
|
96464
|
+
url?: SortOrder
|
|
96465
|
+
urlPath?: SortOrder
|
|
96466
|
+
format?: SortOrder
|
|
96467
|
+
type?: SortOrder
|
|
96468
|
+
platform?: SortOrder
|
|
96469
|
+
visibility?: SortOrder
|
|
96470
|
+
isSponsored?: SortOrder
|
|
96471
|
+
hasCollaborators?: SortOrder
|
|
96472
|
+
isOwnedByUser?: SortOrder
|
|
96473
|
+
views?: SortOrder
|
|
96474
|
+
impressions?: SortOrder
|
|
96475
|
+
impressionsOrganic?: SortOrder
|
|
96476
|
+
impressionsPaid?: SortOrder
|
|
96477
|
+
reach?: SortOrder
|
|
96478
|
+
reachOrganic?: SortOrder
|
|
96479
|
+
reachPaid?: SortOrder
|
|
96480
|
+
watchHours?: SortOrder
|
|
96481
|
+
likes?: SortOrder
|
|
96482
|
+
dislikes?: SortOrder
|
|
96483
|
+
comments?: SortOrder
|
|
96484
|
+
saves?: SortOrder
|
|
96485
|
+
shares?: SortOrder
|
|
96486
|
+
userId?: SortOrder
|
|
96487
|
+
campaignId?: SortOrder
|
|
96488
|
+
}
|
|
96489
|
+
|
|
96490
|
+
export type ArchivedSocialPostMinOrderByAggregateInput = {
|
|
96491
|
+
id?: SortOrder
|
|
96492
|
+
phylloId?: SortOrder
|
|
96493
|
+
lastFetched?: SortOrder
|
|
96494
|
+
lastWebhook?: SortOrder
|
|
96495
|
+
posted?: SortOrder
|
|
96496
|
+
title?: SortOrder
|
|
96497
|
+
description?: SortOrder
|
|
96498
|
+
url?: SortOrder
|
|
96499
|
+
urlPath?: SortOrder
|
|
96500
|
+
format?: SortOrder
|
|
96501
|
+
type?: SortOrder
|
|
96502
|
+
platform?: SortOrder
|
|
96503
|
+
visibility?: SortOrder
|
|
96504
|
+
isSponsored?: SortOrder
|
|
96505
|
+
hasCollaborators?: SortOrder
|
|
96506
|
+
isOwnedByUser?: SortOrder
|
|
96507
|
+
views?: SortOrder
|
|
96508
|
+
impressions?: SortOrder
|
|
96509
|
+
impressionsOrganic?: SortOrder
|
|
96510
|
+
impressionsPaid?: SortOrder
|
|
96511
|
+
reach?: SortOrder
|
|
96512
|
+
reachOrganic?: SortOrder
|
|
96513
|
+
reachPaid?: SortOrder
|
|
96514
|
+
watchHours?: SortOrder
|
|
96515
|
+
likes?: SortOrder
|
|
96516
|
+
dislikes?: SortOrder
|
|
96517
|
+
comments?: SortOrder
|
|
96518
|
+
saves?: SortOrder
|
|
96519
|
+
shares?: SortOrder
|
|
96520
|
+
userId?: SortOrder
|
|
96521
|
+
campaignId?: SortOrder
|
|
96522
|
+
}
|
|
96523
|
+
|
|
96524
|
+
export type ArchivedSocialPostSumOrderByAggregateInput = {
|
|
96525
|
+
id?: SortOrder
|
|
96526
|
+
views?: SortOrder
|
|
96527
|
+
impressions?: SortOrder
|
|
96528
|
+
impressionsOrganic?: SortOrder
|
|
96529
|
+
impressionsPaid?: SortOrder
|
|
96530
|
+
reach?: SortOrder
|
|
96531
|
+
reachOrganic?: SortOrder
|
|
96532
|
+
reachPaid?: SortOrder
|
|
96533
|
+
watchHours?: SortOrder
|
|
96534
|
+
likes?: SortOrder
|
|
96535
|
+
dislikes?: SortOrder
|
|
96536
|
+
comments?: SortOrder
|
|
96537
|
+
saves?: SortOrder
|
|
96538
|
+
shares?: SortOrder
|
|
96539
|
+
userId?: SortOrder
|
|
96540
|
+
campaignId?: SortOrder
|
|
96541
|
+
}
|
|
96542
|
+
|
|
94609
96543
|
export type CampaignToImageRelationFilter = {
|
|
94610
96544
|
is?: CampaignToImageWhereInput
|
|
94611
96545
|
isNot?: CampaignToImageWhereInput
|
|
@@ -112944,7 +114878,6 @@ export namespace Prisma {
|
|
|
112944
114878
|
}
|
|
112945
114879
|
|
|
112946
114880
|
export type OptinToProductListItemUncheckedCreateWithoutProductListItemInput = {
|
|
112947
|
-
id?: number
|
|
112948
114881
|
optInId: number
|
|
112949
114882
|
}
|
|
112950
114883
|
|
|
@@ -113006,7 +114939,6 @@ export namespace Prisma {
|
|
|
113006
114939
|
AND?: OptinToProductListItemScalarWhereInput | OptinToProductListItemScalarWhereInput[]
|
|
113007
114940
|
OR?: OptinToProductListItemScalarWhereInput[]
|
|
113008
114941
|
NOT?: OptinToProductListItemScalarWhereInput | OptinToProductListItemScalarWhereInput[]
|
|
113009
|
-
id?: IntFilter<"OptinToProductListItem"> | number
|
|
113010
114942
|
optInId?: IntFilter<"OptinToProductListItem"> | number
|
|
113011
114943
|
productListItemId?: IntFilter<"OptinToProductListItem"> | number
|
|
113012
114944
|
}
|
|
@@ -115230,7 +117162,6 @@ export namespace Prisma {
|
|
|
115230
117162
|
}
|
|
115231
117163
|
|
|
115232
117164
|
export type OptinToProductListItemUncheckedCreateWithoutOptInInput = {
|
|
115233
|
-
id?: number
|
|
115234
117165
|
productListItemId: number
|
|
115235
117166
|
}
|
|
115236
117167
|
|
|
@@ -126497,7 +128428,6 @@ export namespace Prisma {
|
|
|
126497
128428
|
}
|
|
126498
128429
|
|
|
126499
128430
|
export type OptinToProductListItemCreateManyProductListItemInput = {
|
|
126500
|
-
id?: number
|
|
126501
128431
|
optInId: number
|
|
126502
128432
|
}
|
|
126503
128433
|
|
|
@@ -126506,12 +128436,10 @@ export namespace Prisma {
|
|
|
126506
128436
|
}
|
|
126507
128437
|
|
|
126508
128438
|
export type OptinToProductListItemUncheckedUpdateWithoutProductListItemInput = {
|
|
126509
|
-
id?: IntFieldUpdateOperationsInput | number
|
|
126510
128439
|
optInId?: IntFieldUpdateOperationsInput | number
|
|
126511
128440
|
}
|
|
126512
128441
|
|
|
126513
128442
|
export type OptinToProductListItemUncheckedUpdateManyWithoutProductListItemInput = {
|
|
126514
|
-
id?: IntFieldUpdateOperationsInput | number
|
|
126515
128443
|
optInId?: IntFieldUpdateOperationsInput | number
|
|
126516
128444
|
}
|
|
126517
128445
|
|
|
@@ -126858,7 +128786,6 @@ export namespace Prisma {
|
|
|
126858
128786
|
}
|
|
126859
128787
|
|
|
126860
128788
|
export type OptinToProductListItemCreateManyOptInInput = {
|
|
126861
|
-
id?: number
|
|
126862
128789
|
productListItemId: number
|
|
126863
128790
|
}
|
|
126864
128791
|
|
|
@@ -126996,12 +128923,10 @@ export namespace Prisma {
|
|
|
126996
128923
|
}
|
|
126997
128924
|
|
|
126998
128925
|
export type OptinToProductListItemUncheckedUpdateWithoutOptInInput = {
|
|
126999
|
-
id?: IntFieldUpdateOperationsInput | number
|
|
127000
128926
|
productListItemId?: IntFieldUpdateOperationsInput | number
|
|
127001
128927
|
}
|
|
127002
128928
|
|
|
127003
128929
|
export type OptinToProductListItemUncheckedUpdateManyWithoutOptInInput = {
|
|
127004
|
-
id?: IntFieldUpdateOperationsInput | number
|
|
127005
128930
|
productListItemId?: IntFieldUpdateOperationsInput | number
|
|
127006
128931
|
}
|
|
127007
128932
|
|
|
@@ -128007,6 +129932,10 @@ export namespace Prisma {
|
|
|
128007
129932
|
* @deprecated Use SocialPostDefaultArgs instead
|
|
128008
129933
|
*/
|
|
128009
129934
|
export type SocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialPostDefaultArgs<ExtArgs>
|
|
129935
|
+
/**
|
|
129936
|
+
* @deprecated Use ArchivedSocialPostDefaultArgs instead
|
|
129937
|
+
*/
|
|
129938
|
+
export type ArchivedSocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ArchivedSocialPostDefaultArgs<ExtArgs>
|
|
128010
129939
|
/**
|
|
128011
129940
|
* @deprecated Use ImageDefaultArgs instead
|
|
128012
129941
|
*/
|