@creator.co/creatorco-prisma-client 1.0.34 → 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/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
@@ -47193,403 +47275,1647 @@ export namespace Prisma {
47193
47275
 
47194
47276
 
47195
47277
  /**
47196
- * 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
47197
48615
  */
47198
- interface SocialPostFieldRefs {
47199
- readonly id: FieldRef<"SocialPost", 'Int'>
47200
- readonly externalId: FieldRef<"SocialPost", 'String'>
47201
- readonly phylloId: FieldRef<"SocialPost", 'String'>
47202
- readonly metaData: FieldRef<"SocialPost", 'Json'>
47203
- readonly data: FieldRef<"SocialPost", 'Json'>
47204
- readonly lastFetched: FieldRef<"SocialPost", 'DateTime'>
47205
- readonly lastWebhook: FieldRef<"SocialPost", 'DateTime'>
47206
- readonly posted: FieldRef<"SocialPost", 'DateTime'>
47207
- readonly title: FieldRef<"SocialPost", 'String'>
47208
- readonly description: FieldRef<"SocialPost", 'String'>
47209
- readonly url: FieldRef<"SocialPost", 'String'>
47210
- readonly urlPath: FieldRef<"SocialPost", 'String'>
47211
- readonly format: FieldRef<"SocialPost", 'String'>
47212
- readonly type: FieldRef<"SocialPost", 'String'>
47213
- readonly platform: FieldRef<"SocialPost", 'String'>
47214
- readonly visibility: FieldRef<"SocialPost", 'String'>
47215
- readonly isSponsored: FieldRef<"SocialPost", 'Boolean'>
47216
- readonly hasCollaborators: FieldRef<"SocialPost", 'Boolean'>
47217
- readonly isOwnedByUser: FieldRef<"SocialPost", 'Boolean'>
47218
- readonly views: FieldRef<"SocialPost", 'Int'>
47219
- readonly impressions: FieldRef<"SocialPost", 'Int'>
47220
- readonly impressionsOrganic: FieldRef<"SocialPost", 'Int'>
47221
- readonly impressionsPaid: FieldRef<"SocialPost", 'Int'>
47222
- readonly reach: FieldRef<"SocialPost", 'Int'>
47223
- readonly reachOrganic: FieldRef<"SocialPost", 'Int'>
47224
- readonly reachPaid: FieldRef<"SocialPost", 'Int'>
47225
- readonly watchHours: FieldRef<"SocialPost", 'Float'>
47226
- readonly likes: FieldRef<"SocialPost", 'Int'>
47227
- readonly dislikes: FieldRef<"SocialPost", 'Int'>
47228
- readonly comments: FieldRef<"SocialPost", 'Int'>
47229
- readonly saves: FieldRef<"SocialPost", 'Int'>
47230
- readonly shares: FieldRef<"SocialPost", 'Int'>
47231
- readonly userId: FieldRef<"SocialPost", 'Int'>
47232
- 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'>
47233
48649
  }
47234
48650
 
47235
48651
 
47236
48652
  // Custom InputTypes
47237
48653
  /**
47238
- * SocialPost findUnique
48654
+ * ArchivedSocialPost findUnique
47239
48655
  */
47240
- export type SocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48656
+ export type ArchivedSocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47241
48657
  /**
47242
- * Select specific fields to fetch from the SocialPost
48658
+ * Select specific fields to fetch from the ArchivedSocialPost
47243
48659
  */
47244
- select?: SocialPostSelect<ExtArgs> | null
48660
+ select?: ArchivedSocialPostSelect<ExtArgs> | null
47245
48661
  /**
47246
- * Choose, which related nodes to fetch as well
48662
+ * Filter, which ArchivedSocialPost to fetch.
47247
48663
  */
47248
- include?: SocialPostInclude<ExtArgs> | null
47249
- /**
47250
- * Filter, which SocialPost to fetch.
47251
- */
47252
- where: SocialPostWhereUniqueInput
48664
+ where: ArchivedSocialPostWhereUniqueInput
47253
48665
  }
47254
48666
 
47255
48667
  /**
47256
- * SocialPost findUniqueOrThrow
48668
+ * ArchivedSocialPost findUniqueOrThrow
47257
48669
  */
47258
- export type SocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48670
+ export type ArchivedSocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47259
48671
  /**
47260
- * Select specific fields to fetch from the SocialPost
48672
+ * Select specific fields to fetch from the ArchivedSocialPost
47261
48673
  */
47262
- select?: SocialPostSelect<ExtArgs> | null
48674
+ select?: ArchivedSocialPostSelect<ExtArgs> | null
47263
48675
  /**
47264
- * Choose, which related nodes to fetch as well
47265
- */
47266
- include?: SocialPostInclude<ExtArgs> | null
47267
- /**
47268
- * Filter, which SocialPost to fetch.
48676
+ * Filter, which ArchivedSocialPost to fetch.
47269
48677
  */
47270
- where: SocialPostWhereUniqueInput
48678
+ where: ArchivedSocialPostWhereUniqueInput
47271
48679
  }
47272
48680
 
47273
48681
  /**
47274
- * SocialPost findFirst
48682
+ * ArchivedSocialPost findFirst
47275
48683
  */
47276
- export type SocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48684
+ export type ArchivedSocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47277
48685
  /**
47278
- * Select specific fields to fetch from the SocialPost
48686
+ * Select specific fields to fetch from the ArchivedSocialPost
47279
48687
  */
47280
- select?: SocialPostSelect<ExtArgs> | null
48688
+ select?: ArchivedSocialPostSelect<ExtArgs> | null
47281
48689
  /**
47282
- * Choose, which related nodes to fetch as well
48690
+ * Filter, which ArchivedSocialPost to fetch.
47283
48691
  */
47284
- include?: SocialPostInclude<ExtArgs> | null
47285
- /**
47286
- * Filter, which SocialPost to fetch.
47287
- */
47288
- where?: SocialPostWhereInput
48692
+ where?: ArchivedSocialPostWhereInput
47289
48693
  /**
47290
48694
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
47291
48695
  *
47292
- * Determine the order of SocialPosts to fetch.
48696
+ * Determine the order of ArchivedSocialPosts to fetch.
47293
48697
  */
47294
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
48698
+ orderBy?: ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput | ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput[]
47295
48699
  /**
47296
48700
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
47297
48701
  *
47298
- * Sets the position for searching for SocialPosts.
48702
+ * Sets the position for searching for ArchivedSocialPosts.
47299
48703
  */
47300
- cursor?: SocialPostWhereUniqueInput
48704
+ cursor?: ArchivedSocialPostWhereUniqueInput
47301
48705
  /**
47302
48706
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
47303
48707
  *
47304
- * Take `±n` SocialPosts from the position of the cursor.
48708
+ * Take `±n` ArchivedSocialPosts from the position of the cursor.
47305
48709
  */
47306
48710
  take?: number
47307
48711
  /**
47308
48712
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
47309
48713
  *
47310
- * Skip the first `n` SocialPosts.
48714
+ * Skip the first `n` ArchivedSocialPosts.
47311
48715
  */
47312
48716
  skip?: number
47313
48717
  /**
47314
48718
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
47315
48719
  *
47316
- * Filter by unique combinations of SocialPosts.
48720
+ * Filter by unique combinations of ArchivedSocialPosts.
47317
48721
  */
47318
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
48722
+ distinct?: ArchivedSocialPostScalarFieldEnum | ArchivedSocialPostScalarFieldEnum[]
47319
48723
  }
47320
48724
 
47321
48725
  /**
47322
- * SocialPost findFirstOrThrow
48726
+ * ArchivedSocialPost findFirstOrThrow
47323
48727
  */
47324
- export type SocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48728
+ export type ArchivedSocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47325
48729
  /**
47326
- * Select specific fields to fetch from the SocialPost
48730
+ * Select specific fields to fetch from the ArchivedSocialPost
47327
48731
  */
47328
- select?: SocialPostSelect<ExtArgs> | null
47329
- /**
47330
- * Choose, which related nodes to fetch as well
47331
- */
47332
- include?: SocialPostInclude<ExtArgs> | null
48732
+ select?: ArchivedSocialPostSelect<ExtArgs> | null
47333
48733
  /**
47334
- * Filter, which SocialPost to fetch.
48734
+ * Filter, which ArchivedSocialPost to fetch.
47335
48735
  */
47336
- where?: SocialPostWhereInput
48736
+ where?: ArchivedSocialPostWhereInput
47337
48737
  /**
47338
48738
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
47339
48739
  *
47340
- * Determine the order of SocialPosts to fetch.
48740
+ * Determine the order of ArchivedSocialPosts to fetch.
47341
48741
  */
47342
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
48742
+ orderBy?: ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput | ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput[]
47343
48743
  /**
47344
48744
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
47345
48745
  *
47346
- * Sets the position for searching for SocialPosts.
48746
+ * Sets the position for searching for ArchivedSocialPosts.
47347
48747
  */
47348
- cursor?: SocialPostWhereUniqueInput
48748
+ cursor?: ArchivedSocialPostWhereUniqueInput
47349
48749
  /**
47350
48750
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
47351
48751
  *
47352
- * Take `±n` SocialPosts from the position of the cursor.
48752
+ * Take `±n` ArchivedSocialPosts from the position of the cursor.
47353
48753
  */
47354
48754
  take?: number
47355
48755
  /**
47356
48756
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
47357
48757
  *
47358
- * Skip the first `n` SocialPosts.
48758
+ * Skip the first `n` ArchivedSocialPosts.
47359
48759
  */
47360
48760
  skip?: number
47361
48761
  /**
47362
48762
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
47363
48763
  *
47364
- * Filter by unique combinations of SocialPosts.
48764
+ * Filter by unique combinations of ArchivedSocialPosts.
47365
48765
  */
47366
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
48766
+ distinct?: ArchivedSocialPostScalarFieldEnum | ArchivedSocialPostScalarFieldEnum[]
47367
48767
  }
47368
48768
 
47369
48769
  /**
47370
- * SocialPost findMany
48770
+ * ArchivedSocialPost findMany
47371
48771
  */
47372
- export type SocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47373
- /**
47374
- * Select specific fields to fetch from the SocialPost
47375
- */
47376
- select?: SocialPostSelect<ExtArgs> | null
48772
+ export type ArchivedSocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47377
48773
  /**
47378
- * Choose, which related nodes to fetch as well
48774
+ * Select specific fields to fetch from the ArchivedSocialPost
47379
48775
  */
47380
- include?: SocialPostInclude<ExtArgs> | null
48776
+ select?: ArchivedSocialPostSelect<ExtArgs> | null
47381
48777
  /**
47382
- * Filter, which SocialPosts to fetch.
48778
+ * Filter, which ArchivedSocialPosts to fetch.
47383
48779
  */
47384
- where?: SocialPostWhereInput
48780
+ where?: ArchivedSocialPostWhereInput
47385
48781
  /**
47386
48782
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
47387
48783
  *
47388
- * Determine the order of SocialPosts to fetch.
48784
+ * Determine the order of ArchivedSocialPosts to fetch.
47389
48785
  */
47390
- orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
48786
+ orderBy?: ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput | ArchivedSocialPostOrderByWithRelationAndSearchRelevanceInput[]
47391
48787
  /**
47392
48788
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
47393
48789
  *
47394
- * Sets the position for listing SocialPosts.
48790
+ * Sets the position for listing ArchivedSocialPosts.
47395
48791
  */
47396
- cursor?: SocialPostWhereUniqueInput
48792
+ cursor?: ArchivedSocialPostWhereUniqueInput
47397
48793
  /**
47398
48794
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
47399
48795
  *
47400
- * Take `±n` SocialPosts from the position of the cursor.
48796
+ * Take `±n` ArchivedSocialPosts from the position of the cursor.
47401
48797
  */
47402
48798
  take?: number
47403
48799
  /**
47404
48800
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
47405
48801
  *
47406
- * Skip the first `n` SocialPosts.
48802
+ * Skip the first `n` ArchivedSocialPosts.
47407
48803
  */
47408
48804
  skip?: number
47409
- distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
48805
+ distinct?: ArchivedSocialPostScalarFieldEnum | ArchivedSocialPostScalarFieldEnum[]
47410
48806
  }
47411
48807
 
47412
48808
  /**
47413
- * SocialPost create
48809
+ * ArchivedSocialPost create
47414
48810
  */
47415
- export type SocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48811
+ export type ArchivedSocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47416
48812
  /**
47417
- * Select specific fields to fetch from the SocialPost
48813
+ * Select specific fields to fetch from the ArchivedSocialPost
47418
48814
  */
47419
- select?: SocialPostSelect<ExtArgs> | null
48815
+ select?: ArchivedSocialPostSelect<ExtArgs> | null
47420
48816
  /**
47421
- * Choose, which related nodes to fetch as well
48817
+ * The data needed to create a ArchivedSocialPost.
47422
48818
  */
47423
- include?: SocialPostInclude<ExtArgs> | null
47424
- /**
47425
- * The data needed to create a SocialPost.
47426
- */
47427
- data?: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
48819
+ data?: XOR<ArchivedSocialPostCreateInput, ArchivedSocialPostUncheckedCreateInput>
47428
48820
  }
47429
48821
 
47430
48822
  /**
47431
- * SocialPost createMany
48823
+ * ArchivedSocialPost createMany
47432
48824
  */
47433
- export type SocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48825
+ export type ArchivedSocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47434
48826
  /**
47435
- * The data used to create many SocialPosts.
48827
+ * The data used to create many ArchivedSocialPosts.
47436
48828
  */
47437
- data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
48829
+ data: ArchivedSocialPostCreateManyInput | ArchivedSocialPostCreateManyInput[]
47438
48830
  skipDuplicates?: boolean
47439
48831
  }
47440
48832
 
47441
48833
  /**
47442
- * SocialPost update
48834
+ * ArchivedSocialPost update
47443
48835
  */
47444
- export type SocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48836
+ export type ArchivedSocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47445
48837
  /**
47446
- * Select specific fields to fetch from the SocialPost
48838
+ * Select specific fields to fetch from the ArchivedSocialPost
47447
48839
  */
47448
- select?: SocialPostSelect<ExtArgs> | null
48840
+ select?: ArchivedSocialPostSelect<ExtArgs> | null
47449
48841
  /**
47450
- * Choose, which related nodes to fetch as well
48842
+ * The data needed to update a ArchivedSocialPost.
47451
48843
  */
47452
- include?: SocialPostInclude<ExtArgs> | null
48844
+ data: XOR<ArchivedSocialPostUpdateInput, ArchivedSocialPostUncheckedUpdateInput>
47453
48845
  /**
47454
- * The data needed to update a SocialPost.
48846
+ * Choose, which ArchivedSocialPost to update.
47455
48847
  */
47456
- data: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
47457
- /**
47458
- * Choose, which SocialPost to update.
47459
- */
47460
- where: SocialPostWhereUniqueInput
48848
+ where: ArchivedSocialPostWhereUniqueInput
47461
48849
  }
47462
48850
 
47463
48851
  /**
47464
- * SocialPost updateMany
48852
+ * ArchivedSocialPost updateMany
47465
48853
  */
47466
- export type SocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48854
+ export type ArchivedSocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47467
48855
  /**
47468
- * The data used to update SocialPosts.
48856
+ * The data used to update ArchivedSocialPosts.
47469
48857
  */
47470
- data: XOR<SocialPostUpdateManyMutationInput, SocialPostUncheckedUpdateManyInput>
48858
+ data: XOR<ArchivedSocialPostUpdateManyMutationInput, ArchivedSocialPostUncheckedUpdateManyInput>
47471
48859
  /**
47472
- * Filter which SocialPosts to update
48860
+ * Filter which ArchivedSocialPosts to update
47473
48861
  */
47474
- where?: SocialPostWhereInput
48862
+ where?: ArchivedSocialPostWhereInput
47475
48863
  }
47476
48864
 
47477
48865
  /**
47478
- * SocialPost upsert
48866
+ * ArchivedSocialPost upsert
47479
48867
  */
47480
- export type SocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48868
+ export type ArchivedSocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47481
48869
  /**
47482
- * Select specific fields to fetch from the SocialPost
48870
+ * Select specific fields to fetch from the ArchivedSocialPost
47483
48871
  */
47484
- select?: SocialPostSelect<ExtArgs> | null
48872
+ select?: ArchivedSocialPostSelect<ExtArgs> | null
47485
48873
  /**
47486
- * Choose, which related nodes to fetch as well
48874
+ * The filter to search for the ArchivedSocialPost to update in case it exists.
47487
48875
  */
47488
- include?: SocialPostInclude<ExtArgs> | null
48876
+ where: ArchivedSocialPostWhereUniqueInput
47489
48877
  /**
47490
- * The filter to search for the SocialPost to update in case it exists.
48878
+ * In case the ArchivedSocialPost found by the `where` argument doesn't exist, create a new ArchivedSocialPost with this data.
47491
48879
  */
47492
- where: SocialPostWhereUniqueInput
48880
+ create: XOR<ArchivedSocialPostCreateInput, ArchivedSocialPostUncheckedCreateInput>
47493
48881
  /**
47494
- * In case the SocialPost found by the `where` argument doesn't exist, create a new SocialPost with this data.
48882
+ * In case the ArchivedSocialPost was found with the provided `where` argument, update it with this data.
47495
48883
  */
47496
- create: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
47497
- /**
47498
- * In case the SocialPost was found with the provided `where` argument, update it with this data.
47499
- */
47500
- update: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
48884
+ update: XOR<ArchivedSocialPostUpdateInput, ArchivedSocialPostUncheckedUpdateInput>
47501
48885
  }
47502
48886
 
47503
48887
  /**
47504
- * SocialPost delete
48888
+ * ArchivedSocialPost delete
47505
48889
  */
47506
- export type SocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48890
+ export type ArchivedSocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47507
48891
  /**
47508
- * Select specific fields to fetch from the SocialPost
48892
+ * Select specific fields to fetch from the ArchivedSocialPost
47509
48893
  */
47510
- select?: SocialPostSelect<ExtArgs> | null
48894
+ select?: ArchivedSocialPostSelect<ExtArgs> | null
47511
48895
  /**
47512
- * Choose, which related nodes to fetch as well
47513
- */
47514
- include?: SocialPostInclude<ExtArgs> | null
47515
- /**
47516
- * Filter which SocialPost to delete.
48896
+ * Filter which ArchivedSocialPost to delete.
47517
48897
  */
47518
- where: SocialPostWhereUniqueInput
48898
+ where: ArchivedSocialPostWhereUniqueInput
47519
48899
  }
47520
48900
 
47521
48901
  /**
47522
- * SocialPost deleteMany
48902
+ * ArchivedSocialPost deleteMany
47523
48903
  */
47524
- export type SocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48904
+ export type ArchivedSocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47525
48905
  /**
47526
- * Filter which SocialPosts to delete
48906
+ * Filter which ArchivedSocialPosts to delete
47527
48907
  */
47528
- where?: SocialPostWhereInput
48908
+ where?: ArchivedSocialPostWhereInput
47529
48909
  }
47530
48910
 
47531
48911
  /**
47532
- * SocialPost.user
48912
+ * ArchivedSocialPost without action
47533
48913
  */
47534
- export type SocialPost$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
48914
+ export type ArchivedSocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47535
48915
  /**
47536
- * Select specific fields to fetch from the User
48916
+ * Select specific fields to fetch from the ArchivedSocialPost
47537
48917
  */
47538
- select?: UserSelect<ExtArgs> | null
47539
- /**
47540
- * Choose, which related nodes to fetch as well
47541
- */
47542
- include?: UserInclude<ExtArgs> | null
47543
- where?: UserWhereInput
47544
- }
47545
-
47546
- /**
47547
- * SocialPost.campaign
47548
- */
47549
- export type SocialPost$campaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47550
- /**
47551
- * Select specific fields to fetch from the Campaign
47552
- */
47553
- select?: CampaignSelect<ExtArgs> | null
47554
- /**
47555
- * Choose, which related nodes to fetch as well
47556
- */
47557
- include?: CampaignInclude<ExtArgs> | null
47558
- where?: CampaignWhereInput
47559
- }
47560
-
47561
- /**
47562
- * SocialPost.lists
47563
- */
47564
- export type SocialPost$listsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47565
- /**
47566
- * Select specific fields to fetch from the ListToSocialPost
47567
- */
47568
- select?: ListToSocialPostSelect<ExtArgs> | null
47569
- /**
47570
- * Choose, which related nodes to fetch as well
47571
- */
47572
- include?: ListToSocialPostInclude<ExtArgs> | null
47573
- where?: ListToSocialPostWhereInput
47574
- orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
47575
- cursor?: ListToSocialPostWhereUniqueInput
47576
- take?: number
47577
- skip?: number
47578
- distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
47579
- }
47580
-
47581
- /**
47582
- * SocialPost without action
47583
- */
47584
- export type SocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
47585
- /**
47586
- * Select specific fields to fetch from the SocialPost
47587
- */
47588
- select?: SocialPostSelect<ExtArgs> | null
47589
- /**
47590
- * Choose, which related nodes to fetch as well
47591
- */
47592
- include?: SocialPostInclude<ExtArgs> | null
48918
+ select?: ArchivedSocialPostSelect<ExtArgs> | null
47593
48919
  }
47594
48920
 
47595
48921
 
@@ -79041,6 +80367,44 @@ export namespace Prisma {
79041
80367
  export type SocialPostScalarFieldEnum = (typeof SocialPostScalarFieldEnum)[keyof typeof SocialPostScalarFieldEnum]
79042
80368
 
79043
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
+
79044
80408
  export const ImageScalarFieldEnum: {
79045
80409
  id: 'id',
79046
80410
  url: 'url',
@@ -79763,6 +81127,21 @@ export namespace Prisma {
79763
81127
  export type SocialPostOrderByRelevanceFieldEnum = (typeof SocialPostOrderByRelevanceFieldEnum)[keyof typeof SocialPostOrderByRelevanceFieldEnum]
79764
81128
 
79765
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
+
79766
81145
  export const ImageOrderByRelevanceFieldEnum: {
79767
81146
  url: 'url',
79768
81147
  size: 'size'
@@ -83519,6 +84898,196 @@ export namespace Prisma {
83519
84898
  campaignId?: IntNullableWithAggregatesFilter<"SocialPost"> | number | null
83520
84899
  }
83521
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
+
83522
85091
  export type ImageWhereInput = {
83523
85092
  AND?: ImageWhereInput | ImageWhereInput[]
83524
85093
  OR?: ImageWhereInput[]
@@ -89163,52 +90732,368 @@ export namespace Prisma {
89163
90732
  shares?: number | null
89164
90733
  userId?: number | null
89165
90734
  campaignId?: number | null
89166
- 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
89167
91092
  }
89168
91093
 
89169
- export type SocialPostUpdateInput = {
89170
- externalId?: NullableStringFieldUpdateOperationsInput | string | null
91094
+ export type ArchivedSocialPostUpdateManyMutationInput = {
89171
91095
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
89172
91096
  metaData?: JsonNullValueInput | InputJsonValue
89173
- data?: JsonNullValueInput | InputJsonValue
89174
- lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
89175
- lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
89176
- posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
89177
- title?: NullableStringFieldUpdateOperationsInput | string | null
89178
- description?: NullableStringFieldUpdateOperationsInput | string | null
89179
- url?: NullableStringFieldUpdateOperationsInput | string | null
89180
- urlPath?: NullableStringFieldUpdateOperationsInput | string | null
89181
- format?: NullableStringFieldUpdateOperationsInput | string | null
89182
- type?: NullableStringFieldUpdateOperationsInput | string | null
89183
- platform?: NullableStringFieldUpdateOperationsInput | string | null
89184
- visibility?: NullableStringFieldUpdateOperationsInput | string | null
89185
- isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
89186
- hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
89187
- isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
89188
- views?: NullableIntFieldUpdateOperationsInput | number | null
89189
- impressions?: NullableIntFieldUpdateOperationsInput | number | null
89190
- impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
89191
- impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
89192
- reach?: NullableIntFieldUpdateOperationsInput | number | null
89193
- reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
89194
- reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
89195
- watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
89196
- likes?: NullableIntFieldUpdateOperationsInput | number | null
89197
- dislikes?: NullableIntFieldUpdateOperationsInput | number | null
89198
- comments?: NullableIntFieldUpdateOperationsInput | number | null
89199
- saves?: NullableIntFieldUpdateOperationsInput | number | null
89200
- shares?: NullableIntFieldUpdateOperationsInput | number | null
89201
- user?: UserUpdateOneWithoutSocialPostsNestedInput
89202
- campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
89203
- lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
89204
- }
89205
-
89206
- export type SocialPostUncheckedUpdateInput = {
89207
- id?: IntFieldUpdateOperationsInput | number
89208
- externalId?: NullableStringFieldUpdateOperationsInput | string | null
89209
- phylloId?: NullableStringFieldUpdateOperationsInput | string | null
89210
- metaData?: JsonNullValueInput | InputJsonValue
89211
- data?: JsonNullValueInput | InputJsonValue
89212
91097
  lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
89213
91098
  lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
89214
91099
  posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -89238,86 +91123,12 @@ export namespace Prisma {
89238
91123
  shares?: NullableIntFieldUpdateOperationsInput | number | null
89239
91124
  userId?: NullableIntFieldUpdateOperationsInput | number | null
89240
91125
  campaignId?: NullableIntFieldUpdateOperationsInput | number | null
89241
- lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
89242
- }
89243
-
89244
- export type SocialPostCreateManyInput = {
89245
- id?: number
89246
- externalId?: string | null
89247
- phylloId?: string | null
89248
- metaData?: JsonNullValueInput | InputJsonValue
89249
- data?: JsonNullValueInput | InputJsonValue
89250
- lastFetched?: Date | string | null
89251
- lastWebhook?: Date | string | null
89252
- posted?: Date | string | null
89253
- title?: string | null
89254
- description?: string | null
89255
- url?: string | null
89256
- urlPath?: string | null
89257
- format?: string | null
89258
- type?: string | null
89259
- platform?: string | null
89260
- visibility?: string | null
89261
- isSponsored?: boolean | null
89262
- hasCollaborators?: boolean | null
89263
- isOwnedByUser?: boolean | null
89264
- views?: number | null
89265
- impressions?: number | null
89266
- impressionsOrganic?: number | null
89267
- impressionsPaid?: number | null
89268
- reach?: number | null
89269
- reachOrganic?: number | null
89270
- reachPaid?: number | null
89271
- watchHours?: number | null
89272
- likes?: number | null
89273
- dislikes?: number | null
89274
- comments?: number | null
89275
- saves?: number | null
89276
- shares?: number | null
89277
- userId?: number | null
89278
- campaignId?: number | null
89279
91126
  }
89280
91127
 
89281
- export type SocialPostUpdateManyMutationInput = {
89282
- externalId?: NullableStringFieldUpdateOperationsInput | string | null
89283
- phylloId?: NullableStringFieldUpdateOperationsInput | string | null
89284
- metaData?: JsonNullValueInput | InputJsonValue
89285
- data?: JsonNullValueInput | InputJsonValue
89286
- lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
89287
- lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
89288
- posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
89289
- title?: NullableStringFieldUpdateOperationsInput | string | null
89290
- description?: NullableStringFieldUpdateOperationsInput | string | null
89291
- url?: NullableStringFieldUpdateOperationsInput | string | null
89292
- urlPath?: NullableStringFieldUpdateOperationsInput | string | null
89293
- format?: NullableStringFieldUpdateOperationsInput | string | null
89294
- type?: NullableStringFieldUpdateOperationsInput | string | null
89295
- platform?: NullableStringFieldUpdateOperationsInput | string | null
89296
- visibility?: NullableStringFieldUpdateOperationsInput | string | null
89297
- isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
89298
- hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
89299
- isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
89300
- views?: NullableIntFieldUpdateOperationsInput | number | null
89301
- impressions?: NullableIntFieldUpdateOperationsInput | number | null
89302
- impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
89303
- impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
89304
- reach?: NullableIntFieldUpdateOperationsInput | number | null
89305
- reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
89306
- reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
89307
- watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
89308
- likes?: NullableIntFieldUpdateOperationsInput | number | null
89309
- dislikes?: NullableIntFieldUpdateOperationsInput | number | null
89310
- comments?: NullableIntFieldUpdateOperationsInput | number | null
89311
- saves?: NullableIntFieldUpdateOperationsInput | number | null
89312
- shares?: NullableIntFieldUpdateOperationsInput | number | null
89313
- }
89314
-
89315
- export type SocialPostUncheckedUpdateManyInput = {
91128
+ export type ArchivedSocialPostUncheckedUpdateManyInput = {
89316
91129
  id?: IntFieldUpdateOperationsInput | number
89317
- externalId?: NullableStringFieldUpdateOperationsInput | string | null
89318
91130
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
89319
91131
  metaData?: JsonNullValueInput | InputJsonValue
89320
- data?: JsonNullValueInput | InputJsonValue
89321
91132
  lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
89322
91133
  lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
89323
91134
  posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -94582,6 +96393,153 @@ export namespace Prisma {
94582
96393
  campaignId?: SortOrder
94583
96394
  }
94584
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
+
94585
96543
  export type CampaignToImageRelationFilter = {
94586
96544
  is?: CampaignToImageWhereInput
94587
96545
  isNot?: CampaignToImageWhereInput
@@ -127974,6 +129932,10 @@ export namespace Prisma {
127974
129932
  * @deprecated Use SocialPostDefaultArgs instead
127975
129933
  */
127976
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>
127977
129939
  /**
127978
129940
  * @deprecated Use ImageDefaultArgs instead
127979
129941
  */