@creator.co/creatorco-prisma-client 1.0.82 → 1.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/edge.js +36 -6
- package/index-browser.js +31 -1
- package/index.d.ts +1724 -119
- package/index.js +36 -6
- package/package.json +1 -1
- package/schema.prisma +40 -13
- package/wasm.js +31 -1
package/index.d.ts
CHANGED
|
@@ -453,6 +453,11 @@ export type SequenceOutboundReplyEmail = $Result.DefaultSelection<Prisma.$Sequen
|
|
|
453
453
|
* View to get the latest PaymentTransaction for each creator where accountId equals creatorId
|
|
454
454
|
*/
|
|
455
455
|
export type LatestCreatorPaymentTransaction = $Result.DefaultSelection<Prisma.$LatestCreatorPaymentTransactionPayload>
|
|
456
|
+
/**
|
|
457
|
+
* Model SocialPostAnalytics
|
|
458
|
+
*
|
|
459
|
+
*/
|
|
460
|
+
export type SocialPostAnalytics = $Result.DefaultSelection<Prisma.$SocialPostAnalyticsPayload>
|
|
456
461
|
|
|
457
462
|
/**
|
|
458
463
|
* Enums
|
|
@@ -488,6 +493,16 @@ export const CampaignToSocialPostStatus: {
|
|
|
488
493
|
export type CampaignToSocialPostStatus = (typeof CampaignToSocialPostStatus)[keyof typeof CampaignToSocialPostStatus]
|
|
489
494
|
|
|
490
495
|
|
|
496
|
+
export const ConnectionStatus: {
|
|
497
|
+
CONNECTED: 'CONNECTED',
|
|
498
|
+
ERROR: 'ERROR',
|
|
499
|
+
NOT_CONNECTED: 'NOT_CONNECTED',
|
|
500
|
+
SESSION_EXPIRED: 'SESSION_EXPIRED'
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus]
|
|
504
|
+
|
|
505
|
+
|
|
491
506
|
export const SocialProfileContactSource: {
|
|
492
507
|
MANUAL: 'MANUAL',
|
|
493
508
|
IMAI: 'IMAI'
|
|
@@ -534,6 +549,10 @@ export type CampaignToSocialPostStatus = $Enums.CampaignToSocialPostStatus
|
|
|
534
549
|
|
|
535
550
|
export const CampaignToSocialPostStatus: typeof $Enums.CampaignToSocialPostStatus
|
|
536
551
|
|
|
552
|
+
export type ConnectionStatus = $Enums.ConnectionStatus
|
|
553
|
+
|
|
554
|
+
export const ConnectionStatus: typeof $Enums.ConnectionStatus
|
|
555
|
+
|
|
537
556
|
export type SocialProfileContactSource = $Enums.SocialProfileContactSource
|
|
538
557
|
|
|
539
558
|
export const SocialProfileContactSource: typeof $Enums.SocialProfileContactSource
|
|
@@ -1552,6 +1571,16 @@ export class PrismaClient<
|
|
|
1552
1571
|
* ```
|
|
1553
1572
|
*/
|
|
1554
1573
|
get latestCreatorPaymentTransaction(): Prisma.LatestCreatorPaymentTransactionDelegate<ExtArgs>;
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* `prisma.socialPostAnalytics`: Exposes CRUD operations for the **SocialPostAnalytics** model.
|
|
1577
|
+
* Example usage:
|
|
1578
|
+
* ```ts
|
|
1579
|
+
* // Fetch zero or more SocialPostAnalytics
|
|
1580
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.findMany()
|
|
1581
|
+
* ```
|
|
1582
|
+
*/
|
|
1583
|
+
get socialPostAnalytics(): Prisma.SocialPostAnalyticsDelegate<ExtArgs>;
|
|
1555
1584
|
}
|
|
1556
1585
|
|
|
1557
1586
|
export namespace Prisma {
|
|
@@ -2080,7 +2109,8 @@ export namespace Prisma {
|
|
|
2080
2109
|
EmailProvider: 'EmailProvider',
|
|
2081
2110
|
EmailTracking: 'EmailTracking',
|
|
2082
2111
|
SequenceOutboundReplyEmail: 'SequenceOutboundReplyEmail',
|
|
2083
|
-
LatestCreatorPaymentTransaction: 'LatestCreatorPaymentTransaction'
|
|
2112
|
+
LatestCreatorPaymentTransaction: 'LatestCreatorPaymentTransaction',
|
|
2113
|
+
SocialPostAnalytics: 'SocialPostAnalytics'
|
|
2084
2114
|
};
|
|
2085
2115
|
|
|
2086
2116
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -2096,7 +2126,7 @@ export namespace Prisma {
|
|
|
2096
2126
|
|
|
2097
2127
|
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
|
|
2098
2128
|
meta: {
|
|
2099
|
-
modelProps: "user" | "log" | "creatorProfile" | "instagramProfile" | "tiktokProfile" | "youtubeProfile" | "twitchProfile" | "facebookProfile" | "twitterProfile" | "brandUserProfile" | "brand" | "searchContacts" | "reportCredits" | "brandToImage" | "brandToCategory" | "creatorToCategory" | "chat" | "message" | "campaign" | "campaignPin" | "campaignToImage" | "campaignToBrandAffiliateLink" | "campaignToCategory" | "campaignToCountry" | "productList" | "productListItem" | "campaignToProductList" | "optinToProductListItem" | "variable" | "variableOption" | "step" | "campaignStep" | "optInStep" | "category" | "optIn" | "trolleyPayment" | "optInVariable" | "socialPost" | "publicSocialPost" | "campaignToSocialPost" | "archivedSocialPost" | "image" | "brandImage" | "country" | "state" | "pendingBrandInvoicePayment" | "paymentTransaction" | "externalAffiliateClick" | "brandAffiliateLink" | "affiliateLink" | "affiliateClick" | "affiliateEvent" | "affiliatePayoutBatch" | "savedFile" | "campaignInvite" | "creatorList" | "creatorListItem" | "socialProfile" | "socialProfileContact" | "messageTemplate" | "emailTemplate" | "socialListeningList" | "listToSocialPost" | "optInView" | "rakutenActivity" | "impactRadiusEvent" | "cjEvent" | "shareASaleEvent" | "creatorSearchFilter" | "sequence" | "sequenceStep" | "sequenceOutboundEmail" | "sequenceInboundEmail" | "sequenceImapCheckpoint" | "shopifyStore" | "shopifyProduct" | "shopifyProductVariation" | "campaignToShopifyProduct" | "shopifyDiscountCode" | "shopifySale" | "creatorFlag" | "brandContract" | "file" | "creditRefundBatch" | "emailProvider" | "emailTracking" | "sequenceOutboundReplyEmail" | "latestCreatorPaymentTransaction"
|
|
2129
|
+
modelProps: "user" | "log" | "creatorProfile" | "instagramProfile" | "tiktokProfile" | "youtubeProfile" | "twitchProfile" | "facebookProfile" | "twitterProfile" | "brandUserProfile" | "brand" | "searchContacts" | "reportCredits" | "brandToImage" | "brandToCategory" | "creatorToCategory" | "chat" | "message" | "campaign" | "campaignPin" | "campaignToImage" | "campaignToBrandAffiliateLink" | "campaignToCategory" | "campaignToCountry" | "productList" | "productListItem" | "campaignToProductList" | "optinToProductListItem" | "variable" | "variableOption" | "step" | "campaignStep" | "optInStep" | "category" | "optIn" | "trolleyPayment" | "optInVariable" | "socialPost" | "publicSocialPost" | "campaignToSocialPost" | "archivedSocialPost" | "image" | "brandImage" | "country" | "state" | "pendingBrandInvoicePayment" | "paymentTransaction" | "externalAffiliateClick" | "brandAffiliateLink" | "affiliateLink" | "affiliateClick" | "affiliateEvent" | "affiliatePayoutBatch" | "savedFile" | "campaignInvite" | "creatorList" | "creatorListItem" | "socialProfile" | "socialProfileContact" | "messageTemplate" | "emailTemplate" | "socialListeningList" | "listToSocialPost" | "optInView" | "rakutenActivity" | "impactRadiusEvent" | "cjEvent" | "shareASaleEvent" | "creatorSearchFilter" | "sequence" | "sequenceStep" | "sequenceOutboundEmail" | "sequenceInboundEmail" | "sequenceImapCheckpoint" | "shopifyStore" | "shopifyProduct" | "shopifyProductVariation" | "campaignToShopifyProduct" | "shopifyDiscountCode" | "shopifySale" | "creatorFlag" | "brandContract" | "file" | "creditRefundBatch" | "emailProvider" | "emailTracking" | "sequenceOutboundReplyEmail" | "latestCreatorPaymentTransaction" | "socialPostAnalytics"
|
|
2100
2130
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
2101
2131
|
}
|
|
2102
2132
|
model: {
|
|
@@ -8260,6 +8290,76 @@ export namespace Prisma {
|
|
|
8260
8290
|
}
|
|
8261
8291
|
}
|
|
8262
8292
|
}
|
|
8293
|
+
SocialPostAnalytics: {
|
|
8294
|
+
payload: Prisma.$SocialPostAnalyticsPayload<ExtArgs>
|
|
8295
|
+
fields: Prisma.SocialPostAnalyticsFieldRefs
|
|
8296
|
+
operations: {
|
|
8297
|
+
findUnique: {
|
|
8298
|
+
args: Prisma.SocialPostAnalyticsFindUniqueArgs<ExtArgs>
|
|
8299
|
+
result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload> | null
|
|
8300
|
+
}
|
|
8301
|
+
findUniqueOrThrow: {
|
|
8302
|
+
args: Prisma.SocialPostAnalyticsFindUniqueOrThrowArgs<ExtArgs>
|
|
8303
|
+
result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
|
|
8304
|
+
}
|
|
8305
|
+
findFirst: {
|
|
8306
|
+
args: Prisma.SocialPostAnalyticsFindFirstArgs<ExtArgs>
|
|
8307
|
+
result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload> | null
|
|
8308
|
+
}
|
|
8309
|
+
findFirstOrThrow: {
|
|
8310
|
+
args: Prisma.SocialPostAnalyticsFindFirstOrThrowArgs<ExtArgs>
|
|
8311
|
+
result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
|
|
8312
|
+
}
|
|
8313
|
+
findMany: {
|
|
8314
|
+
args: Prisma.SocialPostAnalyticsFindManyArgs<ExtArgs>
|
|
8315
|
+
result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>[]
|
|
8316
|
+
}
|
|
8317
|
+
create: {
|
|
8318
|
+
args: Prisma.SocialPostAnalyticsCreateArgs<ExtArgs>
|
|
8319
|
+
result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
|
|
8320
|
+
}
|
|
8321
|
+
createMany: {
|
|
8322
|
+
args: Prisma.SocialPostAnalyticsCreateManyArgs<ExtArgs>
|
|
8323
|
+
result: BatchPayload
|
|
8324
|
+
}
|
|
8325
|
+
createManyAndReturn: {
|
|
8326
|
+
args: Prisma.SocialPostAnalyticsCreateManyAndReturnArgs<ExtArgs>
|
|
8327
|
+
result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>[]
|
|
8328
|
+
}
|
|
8329
|
+
delete: {
|
|
8330
|
+
args: Prisma.SocialPostAnalyticsDeleteArgs<ExtArgs>
|
|
8331
|
+
result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
|
|
8332
|
+
}
|
|
8333
|
+
update: {
|
|
8334
|
+
args: Prisma.SocialPostAnalyticsUpdateArgs<ExtArgs>
|
|
8335
|
+
result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
|
|
8336
|
+
}
|
|
8337
|
+
deleteMany: {
|
|
8338
|
+
args: Prisma.SocialPostAnalyticsDeleteManyArgs<ExtArgs>
|
|
8339
|
+
result: BatchPayload
|
|
8340
|
+
}
|
|
8341
|
+
updateMany: {
|
|
8342
|
+
args: Prisma.SocialPostAnalyticsUpdateManyArgs<ExtArgs>
|
|
8343
|
+
result: BatchPayload
|
|
8344
|
+
}
|
|
8345
|
+
upsert: {
|
|
8346
|
+
args: Prisma.SocialPostAnalyticsUpsertArgs<ExtArgs>
|
|
8347
|
+
result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
|
|
8348
|
+
}
|
|
8349
|
+
aggregate: {
|
|
8350
|
+
args: Prisma.SocialPostAnalyticsAggregateArgs<ExtArgs>
|
|
8351
|
+
result: $Utils.Optional<AggregateSocialPostAnalytics>
|
|
8352
|
+
}
|
|
8353
|
+
groupBy: {
|
|
8354
|
+
args: Prisma.SocialPostAnalyticsGroupByArgs<ExtArgs>
|
|
8355
|
+
result: $Utils.Optional<SocialPostAnalyticsGroupByOutputType>[]
|
|
8356
|
+
}
|
|
8357
|
+
count: {
|
|
8358
|
+
args: Prisma.SocialPostAnalyticsCountArgs<ExtArgs>
|
|
8359
|
+
result: $Utils.Optional<SocialPostAnalyticsCountAggregateOutputType> | number
|
|
8360
|
+
}
|
|
8361
|
+
}
|
|
8362
|
+
}
|
|
8263
8363
|
}
|
|
8264
8364
|
} & {
|
|
8265
8365
|
other: {
|
|
@@ -72995,6 +73095,7 @@ export namespace Prisma {
|
|
|
72995
73095
|
avgViews: number | null
|
|
72996
73096
|
verified: boolean | null
|
|
72997
73097
|
visibility: string | null
|
|
73098
|
+
connectionStatus: $Enums.ConnectionStatus | null
|
|
72998
73099
|
created: Date | null
|
|
72999
73100
|
updated: Date | null
|
|
73000
73101
|
}
|
|
@@ -73013,6 +73114,7 @@ export namespace Prisma {
|
|
|
73013
73114
|
avgViews: number | null
|
|
73014
73115
|
verified: boolean | null
|
|
73015
73116
|
visibility: string | null
|
|
73117
|
+
connectionStatus: $Enums.ConnectionStatus | null
|
|
73016
73118
|
created: Date | null
|
|
73017
73119
|
updated: Date | null
|
|
73018
73120
|
}
|
|
@@ -73031,6 +73133,7 @@ export namespace Prisma {
|
|
|
73031
73133
|
avgViews: number
|
|
73032
73134
|
verified: number
|
|
73033
73135
|
visibility: number
|
|
73136
|
+
connectionStatus: number
|
|
73034
73137
|
metaData: number
|
|
73035
73138
|
audienceData: number
|
|
73036
73139
|
phylloData: number
|
|
@@ -73070,6 +73173,7 @@ export namespace Prisma {
|
|
|
73070
73173
|
avgViews?: true
|
|
73071
73174
|
verified?: true
|
|
73072
73175
|
visibility?: true
|
|
73176
|
+
connectionStatus?: true
|
|
73073
73177
|
created?: true
|
|
73074
73178
|
updated?: true
|
|
73075
73179
|
}
|
|
@@ -73088,6 +73192,7 @@ export namespace Prisma {
|
|
|
73088
73192
|
avgViews?: true
|
|
73089
73193
|
verified?: true
|
|
73090
73194
|
visibility?: true
|
|
73195
|
+
connectionStatus?: true
|
|
73091
73196
|
created?: true
|
|
73092
73197
|
updated?: true
|
|
73093
73198
|
}
|
|
@@ -73106,6 +73211,7 @@ export namespace Prisma {
|
|
|
73106
73211
|
avgViews?: true
|
|
73107
73212
|
verified?: true
|
|
73108
73213
|
visibility?: true
|
|
73214
|
+
connectionStatus?: true
|
|
73109
73215
|
metaData?: true
|
|
73110
73216
|
audienceData?: true
|
|
73111
73217
|
phylloData?: true
|
|
@@ -73214,6 +73320,7 @@ export namespace Prisma {
|
|
|
73214
73320
|
avgViews: number | null
|
|
73215
73321
|
verified: boolean | null
|
|
73216
73322
|
visibility: string
|
|
73323
|
+
connectionStatus: $Enums.ConnectionStatus | null
|
|
73217
73324
|
metaData: JsonValue
|
|
73218
73325
|
audienceData: JsonValue
|
|
73219
73326
|
phylloData: JsonValue
|
|
@@ -73254,6 +73361,7 @@ export namespace Prisma {
|
|
|
73254
73361
|
avgViews?: boolean
|
|
73255
73362
|
verified?: boolean
|
|
73256
73363
|
visibility?: boolean
|
|
73364
|
+
connectionStatus?: boolean
|
|
73257
73365
|
metaData?: boolean
|
|
73258
73366
|
audienceData?: boolean
|
|
73259
73367
|
phylloData?: boolean
|
|
@@ -73281,6 +73389,7 @@ export namespace Prisma {
|
|
|
73281
73389
|
avgViews?: boolean
|
|
73282
73390
|
verified?: boolean
|
|
73283
73391
|
visibility?: boolean
|
|
73392
|
+
connectionStatus?: boolean
|
|
73284
73393
|
metaData?: boolean
|
|
73285
73394
|
audienceData?: boolean
|
|
73286
73395
|
phylloData?: boolean
|
|
@@ -73303,6 +73412,7 @@ export namespace Prisma {
|
|
|
73303
73412
|
avgViews?: boolean
|
|
73304
73413
|
verified?: boolean
|
|
73305
73414
|
visibility?: boolean
|
|
73415
|
+
connectionStatus?: boolean
|
|
73306
73416
|
metaData?: boolean
|
|
73307
73417
|
audienceData?: boolean
|
|
73308
73418
|
phylloData?: boolean
|
|
@@ -73345,6 +73455,7 @@ export namespace Prisma {
|
|
|
73345
73455
|
avgViews: number | null
|
|
73346
73456
|
verified: boolean | null
|
|
73347
73457
|
visibility: string
|
|
73458
|
+
connectionStatus: $Enums.ConnectionStatus | null
|
|
73348
73459
|
metaData: Prisma.JsonValue
|
|
73349
73460
|
audienceData: Prisma.JsonValue
|
|
73350
73461
|
phylloData: Prisma.JsonValue
|
|
@@ -73761,6 +73872,7 @@ export namespace Prisma {
|
|
|
73761
73872
|
readonly avgViews: FieldRef<"SocialProfile", 'Int'>
|
|
73762
73873
|
readonly verified: FieldRef<"SocialProfile", 'Boolean'>
|
|
73763
73874
|
readonly visibility: FieldRef<"SocialProfile", 'String'>
|
|
73875
|
+
readonly connectionStatus: FieldRef<"SocialProfile", 'ConnectionStatus'>
|
|
73764
73876
|
readonly metaData: FieldRef<"SocialProfile", 'Json'>
|
|
73765
73877
|
readonly audienceData: FieldRef<"SocialProfile", 'Json'>
|
|
73766
73878
|
readonly phylloData: FieldRef<"SocialProfile", 'Json'>
|
|
@@ -104923,302 +105035,1366 @@ export namespace Prisma {
|
|
|
104923
105035
|
|
|
104924
105036
|
|
|
104925
105037
|
/**
|
|
104926
|
-
* Fields of the LatestCreatorPaymentTransaction model
|
|
105038
|
+
* Fields of the LatestCreatorPaymentTransaction model
|
|
105039
|
+
*/
|
|
105040
|
+
interface LatestCreatorPaymentTransactionFieldRefs {
|
|
105041
|
+
readonly id: FieldRef<"LatestCreatorPaymentTransaction", 'Int'>
|
|
105042
|
+
readonly balance: FieldRef<"LatestCreatorPaymentTransaction", 'Float'>
|
|
105043
|
+
readonly type: FieldRef<"LatestCreatorPaymentTransaction", 'String'>
|
|
105044
|
+
readonly date: FieldRef<"LatestCreatorPaymentTransaction", 'DateTime'>
|
|
105045
|
+
readonly notes: FieldRef<"LatestCreatorPaymentTransaction", 'String'>
|
|
105046
|
+
readonly metaData: FieldRef<"LatestCreatorPaymentTransaction", 'Json'>
|
|
105047
|
+
readonly accountId: FieldRef<"LatestCreatorPaymentTransaction", 'Int'>
|
|
105048
|
+
readonly creatorId: FieldRef<"LatestCreatorPaymentTransaction", 'Int'>
|
|
105049
|
+
}
|
|
105050
|
+
|
|
105051
|
+
|
|
105052
|
+
// Custom InputTypes
|
|
105053
|
+
/**
|
|
105054
|
+
* LatestCreatorPaymentTransaction findUnique
|
|
105055
|
+
*/
|
|
105056
|
+
export type LatestCreatorPaymentTransactionFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105057
|
+
/**
|
|
105058
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105059
|
+
*/
|
|
105060
|
+
select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
|
|
105061
|
+
/**
|
|
105062
|
+
* Filter, which LatestCreatorPaymentTransaction to fetch.
|
|
105063
|
+
*/
|
|
105064
|
+
where: LatestCreatorPaymentTransactionWhereUniqueInput
|
|
105065
|
+
}
|
|
105066
|
+
|
|
105067
|
+
/**
|
|
105068
|
+
* LatestCreatorPaymentTransaction findUniqueOrThrow
|
|
105069
|
+
*/
|
|
105070
|
+
export type LatestCreatorPaymentTransactionFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105071
|
+
/**
|
|
105072
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105073
|
+
*/
|
|
105074
|
+
select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
|
|
105075
|
+
/**
|
|
105076
|
+
* Filter, which LatestCreatorPaymentTransaction to fetch.
|
|
105077
|
+
*/
|
|
105078
|
+
where: LatestCreatorPaymentTransactionWhereUniqueInput
|
|
105079
|
+
}
|
|
105080
|
+
|
|
105081
|
+
/**
|
|
105082
|
+
* LatestCreatorPaymentTransaction findFirst
|
|
105083
|
+
*/
|
|
105084
|
+
export type LatestCreatorPaymentTransactionFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105085
|
+
/**
|
|
105086
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105087
|
+
*/
|
|
105088
|
+
select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
|
|
105089
|
+
/**
|
|
105090
|
+
* Filter, which LatestCreatorPaymentTransaction to fetch.
|
|
105091
|
+
*/
|
|
105092
|
+
where?: LatestCreatorPaymentTransactionWhereInput
|
|
105093
|
+
/**
|
|
105094
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
105095
|
+
*
|
|
105096
|
+
* Determine the order of LatestCreatorPaymentTransactions to fetch.
|
|
105097
|
+
*/
|
|
105098
|
+
orderBy?: LatestCreatorPaymentTransactionOrderByWithRelationInput | LatestCreatorPaymentTransactionOrderByWithRelationInput[]
|
|
105099
|
+
/**
|
|
105100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
105101
|
+
*
|
|
105102
|
+
* Sets the position for searching for LatestCreatorPaymentTransactions.
|
|
105103
|
+
*/
|
|
105104
|
+
cursor?: LatestCreatorPaymentTransactionWhereUniqueInput
|
|
105105
|
+
/**
|
|
105106
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105107
|
+
*
|
|
105108
|
+
* Take `±n` LatestCreatorPaymentTransactions from the position of the cursor.
|
|
105109
|
+
*/
|
|
105110
|
+
take?: number
|
|
105111
|
+
/**
|
|
105112
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105113
|
+
*
|
|
105114
|
+
* Skip the first `n` LatestCreatorPaymentTransactions.
|
|
105115
|
+
*/
|
|
105116
|
+
skip?: number
|
|
105117
|
+
/**
|
|
105118
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
105119
|
+
*
|
|
105120
|
+
* Filter by unique combinations of LatestCreatorPaymentTransactions.
|
|
105121
|
+
*/
|
|
105122
|
+
distinct?: LatestCreatorPaymentTransactionScalarFieldEnum | LatestCreatorPaymentTransactionScalarFieldEnum[]
|
|
105123
|
+
}
|
|
105124
|
+
|
|
105125
|
+
/**
|
|
105126
|
+
* LatestCreatorPaymentTransaction findFirstOrThrow
|
|
105127
|
+
*/
|
|
105128
|
+
export type LatestCreatorPaymentTransactionFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105129
|
+
/**
|
|
105130
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105131
|
+
*/
|
|
105132
|
+
select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
|
|
105133
|
+
/**
|
|
105134
|
+
* Filter, which LatestCreatorPaymentTransaction to fetch.
|
|
105135
|
+
*/
|
|
105136
|
+
where?: LatestCreatorPaymentTransactionWhereInput
|
|
105137
|
+
/**
|
|
105138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
105139
|
+
*
|
|
105140
|
+
* Determine the order of LatestCreatorPaymentTransactions to fetch.
|
|
105141
|
+
*/
|
|
105142
|
+
orderBy?: LatestCreatorPaymentTransactionOrderByWithRelationInput | LatestCreatorPaymentTransactionOrderByWithRelationInput[]
|
|
105143
|
+
/**
|
|
105144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
105145
|
+
*
|
|
105146
|
+
* Sets the position for searching for LatestCreatorPaymentTransactions.
|
|
105147
|
+
*/
|
|
105148
|
+
cursor?: LatestCreatorPaymentTransactionWhereUniqueInput
|
|
105149
|
+
/**
|
|
105150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105151
|
+
*
|
|
105152
|
+
* Take `±n` LatestCreatorPaymentTransactions from the position of the cursor.
|
|
105153
|
+
*/
|
|
105154
|
+
take?: number
|
|
105155
|
+
/**
|
|
105156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105157
|
+
*
|
|
105158
|
+
* Skip the first `n` LatestCreatorPaymentTransactions.
|
|
105159
|
+
*/
|
|
105160
|
+
skip?: number
|
|
105161
|
+
/**
|
|
105162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
105163
|
+
*
|
|
105164
|
+
* Filter by unique combinations of LatestCreatorPaymentTransactions.
|
|
105165
|
+
*/
|
|
105166
|
+
distinct?: LatestCreatorPaymentTransactionScalarFieldEnum | LatestCreatorPaymentTransactionScalarFieldEnum[]
|
|
105167
|
+
}
|
|
105168
|
+
|
|
105169
|
+
/**
|
|
105170
|
+
* LatestCreatorPaymentTransaction findMany
|
|
105171
|
+
*/
|
|
105172
|
+
export type LatestCreatorPaymentTransactionFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105173
|
+
/**
|
|
105174
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105175
|
+
*/
|
|
105176
|
+
select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
|
|
105177
|
+
/**
|
|
105178
|
+
* Filter, which LatestCreatorPaymentTransactions to fetch.
|
|
105179
|
+
*/
|
|
105180
|
+
where?: LatestCreatorPaymentTransactionWhereInput
|
|
105181
|
+
/**
|
|
105182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
105183
|
+
*
|
|
105184
|
+
* Determine the order of LatestCreatorPaymentTransactions to fetch.
|
|
105185
|
+
*/
|
|
105186
|
+
orderBy?: LatestCreatorPaymentTransactionOrderByWithRelationInput | LatestCreatorPaymentTransactionOrderByWithRelationInput[]
|
|
105187
|
+
/**
|
|
105188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
105189
|
+
*
|
|
105190
|
+
* Sets the position for listing LatestCreatorPaymentTransactions.
|
|
105191
|
+
*/
|
|
105192
|
+
cursor?: LatestCreatorPaymentTransactionWhereUniqueInput
|
|
105193
|
+
/**
|
|
105194
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105195
|
+
*
|
|
105196
|
+
* Take `±n` LatestCreatorPaymentTransactions from the position of the cursor.
|
|
105197
|
+
*/
|
|
105198
|
+
take?: number
|
|
105199
|
+
/**
|
|
105200
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105201
|
+
*
|
|
105202
|
+
* Skip the first `n` LatestCreatorPaymentTransactions.
|
|
105203
|
+
*/
|
|
105204
|
+
skip?: number
|
|
105205
|
+
distinct?: LatestCreatorPaymentTransactionScalarFieldEnum | LatestCreatorPaymentTransactionScalarFieldEnum[]
|
|
105206
|
+
}
|
|
105207
|
+
|
|
105208
|
+
/**
|
|
105209
|
+
* LatestCreatorPaymentTransaction create
|
|
105210
|
+
*/
|
|
105211
|
+
export type LatestCreatorPaymentTransactionCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105212
|
+
/**
|
|
105213
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105214
|
+
*/
|
|
105215
|
+
select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
|
|
105216
|
+
/**
|
|
105217
|
+
* The data needed to create a LatestCreatorPaymentTransaction.
|
|
105218
|
+
*/
|
|
105219
|
+
data: XOR<LatestCreatorPaymentTransactionCreateInput, LatestCreatorPaymentTransactionUncheckedCreateInput>
|
|
105220
|
+
}
|
|
105221
|
+
|
|
105222
|
+
/**
|
|
105223
|
+
* LatestCreatorPaymentTransaction createMany
|
|
105224
|
+
*/
|
|
105225
|
+
export type LatestCreatorPaymentTransactionCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105226
|
+
/**
|
|
105227
|
+
* The data used to create many LatestCreatorPaymentTransactions.
|
|
105228
|
+
*/
|
|
105229
|
+
data: LatestCreatorPaymentTransactionCreateManyInput | LatestCreatorPaymentTransactionCreateManyInput[]
|
|
105230
|
+
skipDuplicates?: boolean
|
|
105231
|
+
}
|
|
105232
|
+
|
|
105233
|
+
/**
|
|
105234
|
+
* LatestCreatorPaymentTransaction createManyAndReturn
|
|
105235
|
+
*/
|
|
105236
|
+
export type LatestCreatorPaymentTransactionCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105237
|
+
/**
|
|
105238
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105239
|
+
*/
|
|
105240
|
+
select?: LatestCreatorPaymentTransactionSelectCreateManyAndReturn<ExtArgs> | null
|
|
105241
|
+
/**
|
|
105242
|
+
* The data used to create many LatestCreatorPaymentTransactions.
|
|
105243
|
+
*/
|
|
105244
|
+
data: LatestCreatorPaymentTransactionCreateManyInput | LatestCreatorPaymentTransactionCreateManyInput[]
|
|
105245
|
+
skipDuplicates?: boolean
|
|
105246
|
+
}
|
|
105247
|
+
|
|
105248
|
+
/**
|
|
105249
|
+
* LatestCreatorPaymentTransaction update
|
|
105250
|
+
*/
|
|
105251
|
+
export type LatestCreatorPaymentTransactionUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105252
|
+
/**
|
|
105253
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105254
|
+
*/
|
|
105255
|
+
select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
|
|
105256
|
+
/**
|
|
105257
|
+
* The data needed to update a LatestCreatorPaymentTransaction.
|
|
105258
|
+
*/
|
|
105259
|
+
data: XOR<LatestCreatorPaymentTransactionUpdateInput, LatestCreatorPaymentTransactionUncheckedUpdateInput>
|
|
105260
|
+
/**
|
|
105261
|
+
* Choose, which LatestCreatorPaymentTransaction to update.
|
|
105262
|
+
*/
|
|
105263
|
+
where: LatestCreatorPaymentTransactionWhereUniqueInput
|
|
105264
|
+
}
|
|
105265
|
+
|
|
105266
|
+
/**
|
|
105267
|
+
* LatestCreatorPaymentTransaction updateMany
|
|
105268
|
+
*/
|
|
105269
|
+
export type LatestCreatorPaymentTransactionUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105270
|
+
/**
|
|
105271
|
+
* The data used to update LatestCreatorPaymentTransactions.
|
|
105272
|
+
*/
|
|
105273
|
+
data: XOR<LatestCreatorPaymentTransactionUpdateManyMutationInput, LatestCreatorPaymentTransactionUncheckedUpdateManyInput>
|
|
105274
|
+
/**
|
|
105275
|
+
* Filter which LatestCreatorPaymentTransactions to update
|
|
105276
|
+
*/
|
|
105277
|
+
where?: LatestCreatorPaymentTransactionWhereInput
|
|
105278
|
+
}
|
|
105279
|
+
|
|
105280
|
+
/**
|
|
105281
|
+
* LatestCreatorPaymentTransaction upsert
|
|
105282
|
+
*/
|
|
105283
|
+
export type LatestCreatorPaymentTransactionUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105284
|
+
/**
|
|
105285
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105286
|
+
*/
|
|
105287
|
+
select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
|
|
105288
|
+
/**
|
|
105289
|
+
* The filter to search for the LatestCreatorPaymentTransaction to update in case it exists.
|
|
105290
|
+
*/
|
|
105291
|
+
where: LatestCreatorPaymentTransactionWhereUniqueInput
|
|
105292
|
+
/**
|
|
105293
|
+
* In case the LatestCreatorPaymentTransaction found by the `where` argument doesn't exist, create a new LatestCreatorPaymentTransaction with this data.
|
|
105294
|
+
*/
|
|
105295
|
+
create: XOR<LatestCreatorPaymentTransactionCreateInput, LatestCreatorPaymentTransactionUncheckedCreateInput>
|
|
105296
|
+
/**
|
|
105297
|
+
* In case the LatestCreatorPaymentTransaction was found with the provided `where` argument, update it with this data.
|
|
105298
|
+
*/
|
|
105299
|
+
update: XOR<LatestCreatorPaymentTransactionUpdateInput, LatestCreatorPaymentTransactionUncheckedUpdateInput>
|
|
105300
|
+
}
|
|
105301
|
+
|
|
105302
|
+
/**
|
|
105303
|
+
* LatestCreatorPaymentTransaction delete
|
|
105304
|
+
*/
|
|
105305
|
+
export type LatestCreatorPaymentTransactionDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105306
|
+
/**
|
|
105307
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105308
|
+
*/
|
|
105309
|
+
select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
|
|
105310
|
+
/**
|
|
105311
|
+
* Filter which LatestCreatorPaymentTransaction to delete.
|
|
105312
|
+
*/
|
|
105313
|
+
where: LatestCreatorPaymentTransactionWhereUniqueInput
|
|
105314
|
+
}
|
|
105315
|
+
|
|
105316
|
+
/**
|
|
105317
|
+
* LatestCreatorPaymentTransaction deleteMany
|
|
105318
|
+
*/
|
|
105319
|
+
export type LatestCreatorPaymentTransactionDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105320
|
+
/**
|
|
105321
|
+
* Filter which LatestCreatorPaymentTransactions to delete
|
|
105322
|
+
*/
|
|
105323
|
+
where?: LatestCreatorPaymentTransactionWhereInput
|
|
105324
|
+
}
|
|
105325
|
+
|
|
105326
|
+
/**
|
|
105327
|
+
* LatestCreatorPaymentTransaction without action
|
|
105328
|
+
*/
|
|
105329
|
+
export type LatestCreatorPaymentTransactionDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105330
|
+
/**
|
|
105331
|
+
* Select specific fields to fetch from the LatestCreatorPaymentTransaction
|
|
105332
|
+
*/
|
|
105333
|
+
select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
|
|
105334
|
+
}
|
|
105335
|
+
|
|
105336
|
+
|
|
105337
|
+
/**
|
|
105338
|
+
* Model SocialPostAnalytics
|
|
105339
|
+
*/
|
|
105340
|
+
|
|
105341
|
+
export type AggregateSocialPostAnalytics = {
|
|
105342
|
+
_count: SocialPostAnalyticsCountAggregateOutputType | null
|
|
105343
|
+
_avg: SocialPostAnalyticsAvgAggregateOutputType | null
|
|
105344
|
+
_sum: SocialPostAnalyticsSumAggregateOutputType | null
|
|
105345
|
+
_min: SocialPostAnalyticsMinAggregateOutputType | null
|
|
105346
|
+
_max: SocialPostAnalyticsMaxAggregateOutputType | null
|
|
105347
|
+
}
|
|
105348
|
+
|
|
105349
|
+
export type SocialPostAnalyticsAvgAggregateOutputType = {
|
|
105350
|
+
id: number | null
|
|
105351
|
+
campaignId: number | null
|
|
105352
|
+
reach: number | null
|
|
105353
|
+
likes: number | null
|
|
105354
|
+
comments: number | null
|
|
105355
|
+
impressions: number | null
|
|
105356
|
+
views: number | null
|
|
105357
|
+
replays: number | null
|
|
105358
|
+
shares: number | null
|
|
105359
|
+
saves: number | null
|
|
105360
|
+
engagement_rate: number | null
|
|
105361
|
+
userId: number | null
|
|
105362
|
+
}
|
|
105363
|
+
|
|
105364
|
+
export type SocialPostAnalyticsSumAggregateOutputType = {
|
|
105365
|
+
id: number | null
|
|
105366
|
+
campaignId: number | null
|
|
105367
|
+
reach: number | null
|
|
105368
|
+
likes: number | null
|
|
105369
|
+
comments: number | null
|
|
105370
|
+
impressions: number | null
|
|
105371
|
+
views: number | null
|
|
105372
|
+
replays: number | null
|
|
105373
|
+
shares: number | null
|
|
105374
|
+
saves: number | null
|
|
105375
|
+
engagement_rate: number | null
|
|
105376
|
+
userId: number | null
|
|
105377
|
+
}
|
|
105378
|
+
|
|
105379
|
+
export type SocialPostAnalyticsMinAggregateOutputType = {
|
|
105380
|
+
id: number | null
|
|
105381
|
+
campaignId: number | null
|
|
105382
|
+
platform: string | null
|
|
105383
|
+
reach: number | null
|
|
105384
|
+
likes: number | null
|
|
105385
|
+
comments: number | null
|
|
105386
|
+
impressions: number | null
|
|
105387
|
+
views: number | null
|
|
105388
|
+
replays: number | null
|
|
105389
|
+
shares: number | null
|
|
105390
|
+
saves: number | null
|
|
105391
|
+
engagement_rate: number | null
|
|
105392
|
+
posted: Date | null
|
|
105393
|
+
userId: number | null
|
|
105394
|
+
}
|
|
105395
|
+
|
|
105396
|
+
export type SocialPostAnalyticsMaxAggregateOutputType = {
|
|
105397
|
+
id: number | null
|
|
105398
|
+
campaignId: number | null
|
|
105399
|
+
platform: string | null
|
|
105400
|
+
reach: number | null
|
|
105401
|
+
likes: number | null
|
|
105402
|
+
comments: number | null
|
|
105403
|
+
impressions: number | null
|
|
105404
|
+
views: number | null
|
|
105405
|
+
replays: number | null
|
|
105406
|
+
shares: number | null
|
|
105407
|
+
saves: number | null
|
|
105408
|
+
engagement_rate: number | null
|
|
105409
|
+
posted: Date | null
|
|
105410
|
+
userId: number | null
|
|
105411
|
+
}
|
|
105412
|
+
|
|
105413
|
+
export type SocialPostAnalyticsCountAggregateOutputType = {
|
|
105414
|
+
id: number
|
|
105415
|
+
campaignId: number
|
|
105416
|
+
platform: number
|
|
105417
|
+
reach: number
|
|
105418
|
+
likes: number
|
|
105419
|
+
comments: number
|
|
105420
|
+
impressions: number
|
|
105421
|
+
views: number
|
|
105422
|
+
replays: number
|
|
105423
|
+
shares: number
|
|
105424
|
+
saves: number
|
|
105425
|
+
engagement_rate: number
|
|
105426
|
+
posted: number
|
|
105427
|
+
userId: number
|
|
105428
|
+
_all: number
|
|
105429
|
+
}
|
|
105430
|
+
|
|
105431
|
+
|
|
105432
|
+
export type SocialPostAnalyticsAvgAggregateInputType = {
|
|
105433
|
+
id?: true
|
|
105434
|
+
campaignId?: true
|
|
105435
|
+
reach?: true
|
|
105436
|
+
likes?: true
|
|
105437
|
+
comments?: true
|
|
105438
|
+
impressions?: true
|
|
105439
|
+
views?: true
|
|
105440
|
+
replays?: true
|
|
105441
|
+
shares?: true
|
|
105442
|
+
saves?: true
|
|
105443
|
+
engagement_rate?: true
|
|
105444
|
+
userId?: true
|
|
105445
|
+
}
|
|
105446
|
+
|
|
105447
|
+
export type SocialPostAnalyticsSumAggregateInputType = {
|
|
105448
|
+
id?: true
|
|
105449
|
+
campaignId?: true
|
|
105450
|
+
reach?: true
|
|
105451
|
+
likes?: true
|
|
105452
|
+
comments?: true
|
|
105453
|
+
impressions?: true
|
|
105454
|
+
views?: true
|
|
105455
|
+
replays?: true
|
|
105456
|
+
shares?: true
|
|
105457
|
+
saves?: true
|
|
105458
|
+
engagement_rate?: true
|
|
105459
|
+
userId?: true
|
|
105460
|
+
}
|
|
105461
|
+
|
|
105462
|
+
export type SocialPostAnalyticsMinAggregateInputType = {
|
|
105463
|
+
id?: true
|
|
105464
|
+
campaignId?: true
|
|
105465
|
+
platform?: true
|
|
105466
|
+
reach?: true
|
|
105467
|
+
likes?: true
|
|
105468
|
+
comments?: true
|
|
105469
|
+
impressions?: true
|
|
105470
|
+
views?: true
|
|
105471
|
+
replays?: true
|
|
105472
|
+
shares?: true
|
|
105473
|
+
saves?: true
|
|
105474
|
+
engagement_rate?: true
|
|
105475
|
+
posted?: true
|
|
105476
|
+
userId?: true
|
|
105477
|
+
}
|
|
105478
|
+
|
|
105479
|
+
export type SocialPostAnalyticsMaxAggregateInputType = {
|
|
105480
|
+
id?: true
|
|
105481
|
+
campaignId?: true
|
|
105482
|
+
platform?: true
|
|
105483
|
+
reach?: true
|
|
105484
|
+
likes?: true
|
|
105485
|
+
comments?: true
|
|
105486
|
+
impressions?: true
|
|
105487
|
+
views?: true
|
|
105488
|
+
replays?: true
|
|
105489
|
+
shares?: true
|
|
105490
|
+
saves?: true
|
|
105491
|
+
engagement_rate?: true
|
|
105492
|
+
posted?: true
|
|
105493
|
+
userId?: true
|
|
105494
|
+
}
|
|
105495
|
+
|
|
105496
|
+
export type SocialPostAnalyticsCountAggregateInputType = {
|
|
105497
|
+
id?: true
|
|
105498
|
+
campaignId?: true
|
|
105499
|
+
platform?: true
|
|
105500
|
+
reach?: true
|
|
105501
|
+
likes?: true
|
|
105502
|
+
comments?: true
|
|
105503
|
+
impressions?: true
|
|
105504
|
+
views?: true
|
|
105505
|
+
replays?: true
|
|
105506
|
+
shares?: true
|
|
105507
|
+
saves?: true
|
|
105508
|
+
engagement_rate?: true
|
|
105509
|
+
posted?: true
|
|
105510
|
+
userId?: true
|
|
105511
|
+
_all?: true
|
|
105512
|
+
}
|
|
105513
|
+
|
|
105514
|
+
export type SocialPostAnalyticsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105515
|
+
/**
|
|
105516
|
+
* Filter which SocialPostAnalytics to aggregate.
|
|
105517
|
+
*/
|
|
105518
|
+
where?: SocialPostAnalyticsWhereInput
|
|
105519
|
+
/**
|
|
105520
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
105521
|
+
*
|
|
105522
|
+
* Determine the order of SocialPostAnalytics to fetch.
|
|
105523
|
+
*/
|
|
105524
|
+
orderBy?: SocialPostAnalyticsOrderByWithRelationInput | SocialPostAnalyticsOrderByWithRelationInput[]
|
|
105525
|
+
/**
|
|
105526
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
105527
|
+
*
|
|
105528
|
+
* Sets the start position
|
|
105529
|
+
*/
|
|
105530
|
+
cursor?: SocialPostAnalyticsWhereUniqueInput
|
|
105531
|
+
/**
|
|
105532
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105533
|
+
*
|
|
105534
|
+
* Take `±n` SocialPostAnalytics from the position of the cursor.
|
|
105535
|
+
*/
|
|
105536
|
+
take?: number
|
|
105537
|
+
/**
|
|
105538
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105539
|
+
*
|
|
105540
|
+
* Skip the first `n` SocialPostAnalytics.
|
|
105541
|
+
*/
|
|
105542
|
+
skip?: number
|
|
105543
|
+
/**
|
|
105544
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
105545
|
+
*
|
|
105546
|
+
* Count returned SocialPostAnalytics
|
|
105547
|
+
**/
|
|
105548
|
+
_count?: true | SocialPostAnalyticsCountAggregateInputType
|
|
105549
|
+
/**
|
|
105550
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
105551
|
+
*
|
|
105552
|
+
* Select which fields to average
|
|
105553
|
+
**/
|
|
105554
|
+
_avg?: SocialPostAnalyticsAvgAggregateInputType
|
|
105555
|
+
/**
|
|
105556
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
105557
|
+
*
|
|
105558
|
+
* Select which fields to sum
|
|
105559
|
+
**/
|
|
105560
|
+
_sum?: SocialPostAnalyticsSumAggregateInputType
|
|
105561
|
+
/**
|
|
105562
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
105563
|
+
*
|
|
105564
|
+
* Select which fields to find the minimum value
|
|
105565
|
+
**/
|
|
105566
|
+
_min?: SocialPostAnalyticsMinAggregateInputType
|
|
105567
|
+
/**
|
|
105568
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
105569
|
+
*
|
|
105570
|
+
* Select which fields to find the maximum value
|
|
105571
|
+
**/
|
|
105572
|
+
_max?: SocialPostAnalyticsMaxAggregateInputType
|
|
105573
|
+
}
|
|
105574
|
+
|
|
105575
|
+
export type GetSocialPostAnalyticsAggregateType<T extends SocialPostAnalyticsAggregateArgs> = {
|
|
105576
|
+
[P in keyof T & keyof AggregateSocialPostAnalytics]: P extends '_count' | 'count'
|
|
105577
|
+
? T[P] extends true
|
|
105578
|
+
? number
|
|
105579
|
+
: GetScalarType<T[P], AggregateSocialPostAnalytics[P]>
|
|
105580
|
+
: GetScalarType<T[P], AggregateSocialPostAnalytics[P]>
|
|
105581
|
+
}
|
|
105582
|
+
|
|
105583
|
+
|
|
105584
|
+
|
|
105585
|
+
|
|
105586
|
+
export type SocialPostAnalyticsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105587
|
+
where?: SocialPostAnalyticsWhereInput
|
|
105588
|
+
orderBy?: SocialPostAnalyticsOrderByWithAggregationInput | SocialPostAnalyticsOrderByWithAggregationInput[]
|
|
105589
|
+
by: SocialPostAnalyticsScalarFieldEnum[] | SocialPostAnalyticsScalarFieldEnum
|
|
105590
|
+
having?: SocialPostAnalyticsScalarWhereWithAggregatesInput
|
|
105591
|
+
take?: number
|
|
105592
|
+
skip?: number
|
|
105593
|
+
_count?: SocialPostAnalyticsCountAggregateInputType | true
|
|
105594
|
+
_avg?: SocialPostAnalyticsAvgAggregateInputType
|
|
105595
|
+
_sum?: SocialPostAnalyticsSumAggregateInputType
|
|
105596
|
+
_min?: SocialPostAnalyticsMinAggregateInputType
|
|
105597
|
+
_max?: SocialPostAnalyticsMaxAggregateInputType
|
|
105598
|
+
}
|
|
105599
|
+
|
|
105600
|
+
export type SocialPostAnalyticsGroupByOutputType = {
|
|
105601
|
+
id: number
|
|
105602
|
+
campaignId: number
|
|
105603
|
+
platform: string | null
|
|
105604
|
+
reach: number
|
|
105605
|
+
likes: number
|
|
105606
|
+
comments: number
|
|
105607
|
+
impressions: number
|
|
105608
|
+
views: number
|
|
105609
|
+
replays: number
|
|
105610
|
+
shares: number
|
|
105611
|
+
saves: number
|
|
105612
|
+
engagement_rate: number
|
|
105613
|
+
posted: Date | null
|
|
105614
|
+
userId: number
|
|
105615
|
+
_count: SocialPostAnalyticsCountAggregateOutputType | null
|
|
105616
|
+
_avg: SocialPostAnalyticsAvgAggregateOutputType | null
|
|
105617
|
+
_sum: SocialPostAnalyticsSumAggregateOutputType | null
|
|
105618
|
+
_min: SocialPostAnalyticsMinAggregateOutputType | null
|
|
105619
|
+
_max: SocialPostAnalyticsMaxAggregateOutputType | null
|
|
105620
|
+
}
|
|
105621
|
+
|
|
105622
|
+
type GetSocialPostAnalyticsGroupByPayload<T extends SocialPostAnalyticsGroupByArgs> = Prisma.PrismaPromise<
|
|
105623
|
+
Array<
|
|
105624
|
+
PickEnumerable<SocialPostAnalyticsGroupByOutputType, T['by']> &
|
|
105625
|
+
{
|
|
105626
|
+
[P in ((keyof T) & (keyof SocialPostAnalyticsGroupByOutputType))]: P extends '_count'
|
|
105627
|
+
? T[P] extends boolean
|
|
105628
|
+
? number
|
|
105629
|
+
: GetScalarType<T[P], SocialPostAnalyticsGroupByOutputType[P]>
|
|
105630
|
+
: GetScalarType<T[P], SocialPostAnalyticsGroupByOutputType[P]>
|
|
105631
|
+
}
|
|
105632
|
+
>
|
|
105633
|
+
>
|
|
105634
|
+
|
|
105635
|
+
|
|
105636
|
+
export type SocialPostAnalyticsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
105637
|
+
id?: boolean
|
|
105638
|
+
campaignId?: boolean
|
|
105639
|
+
platform?: boolean
|
|
105640
|
+
reach?: boolean
|
|
105641
|
+
likes?: boolean
|
|
105642
|
+
comments?: boolean
|
|
105643
|
+
impressions?: boolean
|
|
105644
|
+
views?: boolean
|
|
105645
|
+
replays?: boolean
|
|
105646
|
+
shares?: boolean
|
|
105647
|
+
saves?: boolean
|
|
105648
|
+
engagement_rate?: boolean
|
|
105649
|
+
posted?: boolean
|
|
105650
|
+
userId?: boolean
|
|
105651
|
+
}, ExtArgs["result"]["socialPostAnalytics"]>
|
|
105652
|
+
|
|
105653
|
+
export type SocialPostAnalyticsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
105654
|
+
id?: boolean
|
|
105655
|
+
campaignId?: boolean
|
|
105656
|
+
platform?: boolean
|
|
105657
|
+
reach?: boolean
|
|
105658
|
+
likes?: boolean
|
|
105659
|
+
comments?: boolean
|
|
105660
|
+
impressions?: boolean
|
|
105661
|
+
views?: boolean
|
|
105662
|
+
replays?: boolean
|
|
105663
|
+
shares?: boolean
|
|
105664
|
+
saves?: boolean
|
|
105665
|
+
engagement_rate?: boolean
|
|
105666
|
+
posted?: boolean
|
|
105667
|
+
userId?: boolean
|
|
105668
|
+
}, ExtArgs["result"]["socialPostAnalytics"]>
|
|
105669
|
+
|
|
105670
|
+
export type SocialPostAnalyticsSelectScalar = {
|
|
105671
|
+
id?: boolean
|
|
105672
|
+
campaignId?: boolean
|
|
105673
|
+
platform?: boolean
|
|
105674
|
+
reach?: boolean
|
|
105675
|
+
likes?: boolean
|
|
105676
|
+
comments?: boolean
|
|
105677
|
+
impressions?: boolean
|
|
105678
|
+
views?: boolean
|
|
105679
|
+
replays?: boolean
|
|
105680
|
+
shares?: boolean
|
|
105681
|
+
saves?: boolean
|
|
105682
|
+
engagement_rate?: boolean
|
|
105683
|
+
posted?: boolean
|
|
105684
|
+
userId?: boolean
|
|
105685
|
+
}
|
|
105686
|
+
|
|
105687
|
+
|
|
105688
|
+
export type $SocialPostAnalyticsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105689
|
+
name: "SocialPostAnalytics"
|
|
105690
|
+
objects: {}
|
|
105691
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
105692
|
+
id: number
|
|
105693
|
+
campaignId: number
|
|
105694
|
+
platform: string | null
|
|
105695
|
+
reach: number
|
|
105696
|
+
likes: number
|
|
105697
|
+
comments: number
|
|
105698
|
+
impressions: number
|
|
105699
|
+
views: number
|
|
105700
|
+
replays: number
|
|
105701
|
+
shares: number
|
|
105702
|
+
saves: number
|
|
105703
|
+
engagement_rate: number
|
|
105704
|
+
posted: Date | null
|
|
105705
|
+
userId: number
|
|
105706
|
+
}, ExtArgs["result"]["socialPostAnalytics"]>
|
|
105707
|
+
composites: {}
|
|
105708
|
+
}
|
|
105709
|
+
|
|
105710
|
+
type SocialPostAnalyticsGetPayload<S extends boolean | null | undefined | SocialPostAnalyticsDefaultArgs> = $Result.GetResult<Prisma.$SocialPostAnalyticsPayload, S>
|
|
105711
|
+
|
|
105712
|
+
type SocialPostAnalyticsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
105713
|
+
Omit<SocialPostAnalyticsFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
105714
|
+
select?: SocialPostAnalyticsCountAggregateInputType | true
|
|
105715
|
+
}
|
|
105716
|
+
|
|
105717
|
+
export interface SocialPostAnalyticsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
105718
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SocialPostAnalytics'], meta: { name: 'SocialPostAnalytics' } }
|
|
105719
|
+
/**
|
|
105720
|
+
* Find zero or one SocialPostAnalytics that matches the filter.
|
|
105721
|
+
* @param {SocialPostAnalyticsFindUniqueArgs} args - Arguments to find a SocialPostAnalytics
|
|
105722
|
+
* @example
|
|
105723
|
+
* // Get one SocialPostAnalytics
|
|
105724
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.findUnique({
|
|
105725
|
+
* where: {
|
|
105726
|
+
* // ... provide filter here
|
|
105727
|
+
* }
|
|
105728
|
+
* })
|
|
105729
|
+
*/
|
|
105730
|
+
findUnique<T extends SocialPostAnalyticsFindUniqueArgs>(args: SelectSubset<T, SocialPostAnalyticsFindUniqueArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
|
105731
|
+
|
|
105732
|
+
/**
|
|
105733
|
+
* Find one SocialPostAnalytics that matches the filter or throw an error with `error.code='P2025'`
|
|
105734
|
+
* if no matches were found.
|
|
105735
|
+
* @param {SocialPostAnalyticsFindUniqueOrThrowArgs} args - Arguments to find a SocialPostAnalytics
|
|
105736
|
+
* @example
|
|
105737
|
+
* // Get one SocialPostAnalytics
|
|
105738
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.findUniqueOrThrow({
|
|
105739
|
+
* where: {
|
|
105740
|
+
* // ... provide filter here
|
|
105741
|
+
* }
|
|
105742
|
+
* })
|
|
105743
|
+
*/
|
|
105744
|
+
findUniqueOrThrow<T extends SocialPostAnalyticsFindUniqueOrThrowArgs>(args: SelectSubset<T, SocialPostAnalyticsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
|
105745
|
+
|
|
105746
|
+
/**
|
|
105747
|
+
* Find the first SocialPostAnalytics that matches the filter.
|
|
105748
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
105749
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
105750
|
+
* @param {SocialPostAnalyticsFindFirstArgs} args - Arguments to find a SocialPostAnalytics
|
|
105751
|
+
* @example
|
|
105752
|
+
* // Get one SocialPostAnalytics
|
|
105753
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.findFirst({
|
|
105754
|
+
* where: {
|
|
105755
|
+
* // ... provide filter here
|
|
105756
|
+
* }
|
|
105757
|
+
* })
|
|
105758
|
+
*/
|
|
105759
|
+
findFirst<T extends SocialPostAnalyticsFindFirstArgs>(args?: SelectSubset<T, SocialPostAnalyticsFindFirstArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
|
105760
|
+
|
|
105761
|
+
/**
|
|
105762
|
+
* Find the first SocialPostAnalytics that matches the filter or
|
|
105763
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
105764
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
105765
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
105766
|
+
* @param {SocialPostAnalyticsFindFirstOrThrowArgs} args - Arguments to find a SocialPostAnalytics
|
|
105767
|
+
* @example
|
|
105768
|
+
* // Get one SocialPostAnalytics
|
|
105769
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.findFirstOrThrow({
|
|
105770
|
+
* where: {
|
|
105771
|
+
* // ... provide filter here
|
|
105772
|
+
* }
|
|
105773
|
+
* })
|
|
105774
|
+
*/
|
|
105775
|
+
findFirstOrThrow<T extends SocialPostAnalyticsFindFirstOrThrowArgs>(args?: SelectSubset<T, SocialPostAnalyticsFindFirstOrThrowArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
|
105776
|
+
|
|
105777
|
+
/**
|
|
105778
|
+
* Find zero or more SocialPostAnalytics that matches the filter.
|
|
105779
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
105780
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
105781
|
+
* @param {SocialPostAnalyticsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
105782
|
+
* @example
|
|
105783
|
+
* // Get all SocialPostAnalytics
|
|
105784
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.findMany()
|
|
105785
|
+
*
|
|
105786
|
+
* // Get first 10 SocialPostAnalytics
|
|
105787
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.findMany({ take: 10 })
|
|
105788
|
+
*
|
|
105789
|
+
* // Only select the `id`
|
|
105790
|
+
* const socialPostAnalyticsWithIdOnly = await prisma.socialPostAnalytics.findMany({ select: { id: true } })
|
|
105791
|
+
*
|
|
105792
|
+
*/
|
|
105793
|
+
findMany<T extends SocialPostAnalyticsFindManyArgs>(args?: SelectSubset<T, SocialPostAnalyticsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "findMany">>
|
|
105794
|
+
|
|
105795
|
+
/**
|
|
105796
|
+
* Create a SocialPostAnalytics.
|
|
105797
|
+
* @param {SocialPostAnalyticsCreateArgs} args - Arguments to create a SocialPostAnalytics.
|
|
105798
|
+
* @example
|
|
105799
|
+
* // Create one SocialPostAnalytics
|
|
105800
|
+
* const SocialPostAnalytics = await prisma.socialPostAnalytics.create({
|
|
105801
|
+
* data: {
|
|
105802
|
+
* // ... data to create a SocialPostAnalytics
|
|
105803
|
+
* }
|
|
105804
|
+
* })
|
|
105805
|
+
*
|
|
105806
|
+
*/
|
|
105807
|
+
create<T extends SocialPostAnalyticsCreateArgs>(args: SelectSubset<T, SocialPostAnalyticsCreateArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "create">, never, ExtArgs>
|
|
105808
|
+
|
|
105809
|
+
/**
|
|
105810
|
+
* Create many SocialPostAnalytics.
|
|
105811
|
+
* @param {SocialPostAnalyticsCreateManyArgs} args - Arguments to create many SocialPostAnalytics.
|
|
105812
|
+
* @example
|
|
105813
|
+
* // Create many SocialPostAnalytics
|
|
105814
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.createMany({
|
|
105815
|
+
* data: [
|
|
105816
|
+
* // ... provide data here
|
|
105817
|
+
* ]
|
|
105818
|
+
* })
|
|
105819
|
+
*
|
|
105820
|
+
*/
|
|
105821
|
+
createMany<T extends SocialPostAnalyticsCreateManyArgs>(args?: SelectSubset<T, SocialPostAnalyticsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
105822
|
+
|
|
105823
|
+
/**
|
|
105824
|
+
* Create many SocialPostAnalytics and returns the data saved in the database.
|
|
105825
|
+
* @param {SocialPostAnalyticsCreateManyAndReturnArgs} args - Arguments to create many SocialPostAnalytics.
|
|
105826
|
+
* @example
|
|
105827
|
+
* // Create many SocialPostAnalytics
|
|
105828
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.createManyAndReturn({
|
|
105829
|
+
* data: [
|
|
105830
|
+
* // ... provide data here
|
|
105831
|
+
* ]
|
|
105832
|
+
* })
|
|
105833
|
+
*
|
|
105834
|
+
* // Create many SocialPostAnalytics and only return the `id`
|
|
105835
|
+
* const socialPostAnalyticsWithIdOnly = await prisma.socialPostAnalytics.createManyAndReturn({
|
|
105836
|
+
* select: { id: true },
|
|
105837
|
+
* data: [
|
|
105838
|
+
* // ... provide data here
|
|
105839
|
+
* ]
|
|
105840
|
+
* })
|
|
105841
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
105842
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
105843
|
+
*
|
|
105844
|
+
*/
|
|
105845
|
+
createManyAndReturn<T extends SocialPostAnalyticsCreateManyAndReturnArgs>(args?: SelectSubset<T, SocialPostAnalyticsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "createManyAndReturn">>
|
|
105846
|
+
|
|
105847
|
+
/**
|
|
105848
|
+
* Delete a SocialPostAnalytics.
|
|
105849
|
+
* @param {SocialPostAnalyticsDeleteArgs} args - Arguments to delete one SocialPostAnalytics.
|
|
105850
|
+
* @example
|
|
105851
|
+
* // Delete one SocialPostAnalytics
|
|
105852
|
+
* const SocialPostAnalytics = await prisma.socialPostAnalytics.delete({
|
|
105853
|
+
* where: {
|
|
105854
|
+
* // ... filter to delete one SocialPostAnalytics
|
|
105855
|
+
* }
|
|
105856
|
+
* })
|
|
105857
|
+
*
|
|
105858
|
+
*/
|
|
105859
|
+
delete<T extends SocialPostAnalyticsDeleteArgs>(args: SelectSubset<T, SocialPostAnalyticsDeleteArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
|
105860
|
+
|
|
105861
|
+
/**
|
|
105862
|
+
* Update one SocialPostAnalytics.
|
|
105863
|
+
* @param {SocialPostAnalyticsUpdateArgs} args - Arguments to update one SocialPostAnalytics.
|
|
105864
|
+
* @example
|
|
105865
|
+
* // Update one SocialPostAnalytics
|
|
105866
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.update({
|
|
105867
|
+
* where: {
|
|
105868
|
+
* // ... provide filter here
|
|
105869
|
+
* },
|
|
105870
|
+
* data: {
|
|
105871
|
+
* // ... provide data here
|
|
105872
|
+
* }
|
|
105873
|
+
* })
|
|
105874
|
+
*
|
|
105875
|
+
*/
|
|
105876
|
+
update<T extends SocialPostAnalyticsUpdateArgs>(args: SelectSubset<T, SocialPostAnalyticsUpdateArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "update">, never, ExtArgs>
|
|
105877
|
+
|
|
105878
|
+
/**
|
|
105879
|
+
* Delete zero or more SocialPostAnalytics.
|
|
105880
|
+
* @param {SocialPostAnalyticsDeleteManyArgs} args - Arguments to filter SocialPostAnalytics to delete.
|
|
105881
|
+
* @example
|
|
105882
|
+
* // Delete a few SocialPostAnalytics
|
|
105883
|
+
* const { count } = await prisma.socialPostAnalytics.deleteMany({
|
|
105884
|
+
* where: {
|
|
105885
|
+
* // ... provide filter here
|
|
105886
|
+
* }
|
|
105887
|
+
* })
|
|
105888
|
+
*
|
|
105889
|
+
*/
|
|
105890
|
+
deleteMany<T extends SocialPostAnalyticsDeleteManyArgs>(args?: SelectSubset<T, SocialPostAnalyticsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
105891
|
+
|
|
105892
|
+
/**
|
|
105893
|
+
* Update zero or more SocialPostAnalytics.
|
|
105894
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
105895
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
105896
|
+
* @param {SocialPostAnalyticsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
105897
|
+
* @example
|
|
105898
|
+
* // Update many SocialPostAnalytics
|
|
105899
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.updateMany({
|
|
105900
|
+
* where: {
|
|
105901
|
+
* // ... provide filter here
|
|
105902
|
+
* },
|
|
105903
|
+
* data: {
|
|
105904
|
+
* // ... provide data here
|
|
105905
|
+
* }
|
|
105906
|
+
* })
|
|
105907
|
+
*
|
|
105908
|
+
*/
|
|
105909
|
+
updateMany<T extends SocialPostAnalyticsUpdateManyArgs>(args: SelectSubset<T, SocialPostAnalyticsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
105910
|
+
|
|
105911
|
+
/**
|
|
105912
|
+
* Create or update one SocialPostAnalytics.
|
|
105913
|
+
* @param {SocialPostAnalyticsUpsertArgs} args - Arguments to update or create a SocialPostAnalytics.
|
|
105914
|
+
* @example
|
|
105915
|
+
* // Update or create a SocialPostAnalytics
|
|
105916
|
+
* const socialPostAnalytics = await prisma.socialPostAnalytics.upsert({
|
|
105917
|
+
* create: {
|
|
105918
|
+
* // ... data to create a SocialPostAnalytics
|
|
105919
|
+
* },
|
|
105920
|
+
* update: {
|
|
105921
|
+
* // ... in case it already exists, update
|
|
105922
|
+
* },
|
|
105923
|
+
* where: {
|
|
105924
|
+
* // ... the filter for the SocialPostAnalytics we want to update
|
|
105925
|
+
* }
|
|
105926
|
+
* })
|
|
105927
|
+
*/
|
|
105928
|
+
upsert<T extends SocialPostAnalyticsUpsertArgs>(args: SelectSubset<T, SocialPostAnalyticsUpsertArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
|
105929
|
+
|
|
105930
|
+
|
|
105931
|
+
/**
|
|
105932
|
+
* Count the number of SocialPostAnalytics.
|
|
105933
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
105934
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
105935
|
+
* @param {SocialPostAnalyticsCountArgs} args - Arguments to filter SocialPostAnalytics to count.
|
|
105936
|
+
* @example
|
|
105937
|
+
* // Count the number of SocialPostAnalytics
|
|
105938
|
+
* const count = await prisma.socialPostAnalytics.count({
|
|
105939
|
+
* where: {
|
|
105940
|
+
* // ... the filter for the SocialPostAnalytics we want to count
|
|
105941
|
+
* }
|
|
105942
|
+
* })
|
|
105943
|
+
**/
|
|
105944
|
+
count<T extends SocialPostAnalyticsCountArgs>(
|
|
105945
|
+
args?: Subset<T, SocialPostAnalyticsCountArgs>,
|
|
105946
|
+
): Prisma.PrismaPromise<
|
|
105947
|
+
T extends $Utils.Record<'select', any>
|
|
105948
|
+
? T['select'] extends true
|
|
105949
|
+
? number
|
|
105950
|
+
: GetScalarType<T['select'], SocialPostAnalyticsCountAggregateOutputType>
|
|
105951
|
+
: number
|
|
105952
|
+
>
|
|
105953
|
+
|
|
105954
|
+
/**
|
|
105955
|
+
* Allows you to perform aggregations operations on a SocialPostAnalytics.
|
|
105956
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
105957
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
105958
|
+
* @param {SocialPostAnalyticsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
105959
|
+
* @example
|
|
105960
|
+
* // Ordered by age ascending
|
|
105961
|
+
* // Where email contains prisma.io
|
|
105962
|
+
* // Limited to the 10 users
|
|
105963
|
+
* const aggregations = await prisma.user.aggregate({
|
|
105964
|
+
* _avg: {
|
|
105965
|
+
* age: true,
|
|
105966
|
+
* },
|
|
105967
|
+
* where: {
|
|
105968
|
+
* email: {
|
|
105969
|
+
* contains: "prisma.io",
|
|
105970
|
+
* },
|
|
105971
|
+
* },
|
|
105972
|
+
* orderBy: {
|
|
105973
|
+
* age: "asc",
|
|
105974
|
+
* },
|
|
105975
|
+
* take: 10,
|
|
105976
|
+
* })
|
|
105977
|
+
**/
|
|
105978
|
+
aggregate<T extends SocialPostAnalyticsAggregateArgs>(args: Subset<T, SocialPostAnalyticsAggregateArgs>): Prisma.PrismaPromise<GetSocialPostAnalyticsAggregateType<T>>
|
|
105979
|
+
|
|
105980
|
+
/**
|
|
105981
|
+
* Group by SocialPostAnalytics.
|
|
105982
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
105983
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
105984
|
+
* @param {SocialPostAnalyticsGroupByArgs} args - Group by arguments.
|
|
105985
|
+
* @example
|
|
105986
|
+
* // Group by city, order by createdAt, get count
|
|
105987
|
+
* const result = await prisma.user.groupBy({
|
|
105988
|
+
* by: ['city', 'createdAt'],
|
|
105989
|
+
* orderBy: {
|
|
105990
|
+
* createdAt: true
|
|
105991
|
+
* },
|
|
105992
|
+
* _count: {
|
|
105993
|
+
* _all: true
|
|
105994
|
+
* },
|
|
105995
|
+
* })
|
|
105996
|
+
*
|
|
105997
|
+
**/
|
|
105998
|
+
groupBy<
|
|
105999
|
+
T extends SocialPostAnalyticsGroupByArgs,
|
|
106000
|
+
HasSelectOrTake extends Or<
|
|
106001
|
+
Extends<'skip', Keys<T>>,
|
|
106002
|
+
Extends<'take', Keys<T>>
|
|
106003
|
+
>,
|
|
106004
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
106005
|
+
? { orderBy: SocialPostAnalyticsGroupByArgs['orderBy'] }
|
|
106006
|
+
: { orderBy?: SocialPostAnalyticsGroupByArgs['orderBy'] },
|
|
106007
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
106008
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
106009
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
106010
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
106011
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
106012
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
106013
|
+
InputErrors extends ByEmpty extends True
|
|
106014
|
+
? `Error: "by" must not be empty.`
|
|
106015
|
+
: HavingValid extends False
|
|
106016
|
+
? {
|
|
106017
|
+
[P in HavingFields]: P extends ByFields
|
|
106018
|
+
? never
|
|
106019
|
+
: P extends string
|
|
106020
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
106021
|
+
: [
|
|
106022
|
+
Error,
|
|
106023
|
+
'Field ',
|
|
106024
|
+
P,
|
|
106025
|
+
` in "having" needs to be provided in "by"`,
|
|
106026
|
+
]
|
|
106027
|
+
}[HavingFields]
|
|
106028
|
+
: 'take' extends Keys<T>
|
|
106029
|
+
? 'orderBy' extends Keys<T>
|
|
106030
|
+
? ByValid extends True
|
|
106031
|
+
? {}
|
|
106032
|
+
: {
|
|
106033
|
+
[P in OrderFields]: P extends ByFields
|
|
106034
|
+
? never
|
|
106035
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
106036
|
+
}[OrderFields]
|
|
106037
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
106038
|
+
: 'skip' extends Keys<T>
|
|
106039
|
+
? 'orderBy' extends Keys<T>
|
|
106040
|
+
? ByValid extends True
|
|
106041
|
+
? {}
|
|
106042
|
+
: {
|
|
106043
|
+
[P in OrderFields]: P extends ByFields
|
|
106044
|
+
? never
|
|
106045
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
106046
|
+
}[OrderFields]
|
|
106047
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
106048
|
+
: ByValid extends True
|
|
106049
|
+
? {}
|
|
106050
|
+
: {
|
|
106051
|
+
[P in OrderFields]: P extends ByFields
|
|
106052
|
+
? never
|
|
106053
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
106054
|
+
}[OrderFields]
|
|
106055
|
+
>(args: SubsetIntersection<T, SocialPostAnalyticsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSocialPostAnalyticsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
106056
|
+
/**
|
|
106057
|
+
* Fields of the SocialPostAnalytics model
|
|
106058
|
+
*/
|
|
106059
|
+
readonly fields: SocialPostAnalyticsFieldRefs;
|
|
106060
|
+
}
|
|
106061
|
+
|
|
106062
|
+
/**
|
|
106063
|
+
* The delegate class that acts as a "Promise-like" for SocialPostAnalytics.
|
|
106064
|
+
* Why is this prefixed with `Prisma__`?
|
|
106065
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
106066
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
106067
|
+
*/
|
|
106068
|
+
export interface Prisma__SocialPostAnalyticsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
106069
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
106070
|
+
/**
|
|
106071
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
106072
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
106073
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
106074
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
106075
|
+
*/
|
|
106076
|
+
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>
|
|
106077
|
+
/**
|
|
106078
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
106079
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
106080
|
+
* @returns A Promise for the completion of the callback.
|
|
106081
|
+
*/
|
|
106082
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
106083
|
+
/**
|
|
106084
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
106085
|
+
* resolved value cannot be modified from the callback.
|
|
106086
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
106087
|
+
* @returns A Promise for the completion of the callback.
|
|
106088
|
+
*/
|
|
106089
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
106090
|
+
}
|
|
106091
|
+
|
|
106092
|
+
|
|
106093
|
+
|
|
106094
|
+
|
|
106095
|
+
/**
|
|
106096
|
+
* Fields of the SocialPostAnalytics model
|
|
104927
106097
|
*/
|
|
104928
|
-
interface
|
|
104929
|
-
readonly id: FieldRef<"
|
|
104930
|
-
readonly
|
|
104931
|
-
readonly
|
|
104932
|
-
readonly
|
|
104933
|
-
readonly
|
|
104934
|
-
readonly
|
|
104935
|
-
readonly
|
|
104936
|
-
readonly
|
|
106098
|
+
interface SocialPostAnalyticsFieldRefs {
|
|
106099
|
+
readonly id: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
106100
|
+
readonly campaignId: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
106101
|
+
readonly platform: FieldRef<"SocialPostAnalytics", 'String'>
|
|
106102
|
+
readonly reach: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
106103
|
+
readonly likes: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
106104
|
+
readonly comments: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
106105
|
+
readonly impressions: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
106106
|
+
readonly views: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
106107
|
+
readonly replays: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
106108
|
+
readonly shares: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
106109
|
+
readonly saves: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
106110
|
+
readonly engagement_rate: FieldRef<"SocialPostAnalytics", 'Float'>
|
|
106111
|
+
readonly posted: FieldRef<"SocialPostAnalytics", 'DateTime'>
|
|
106112
|
+
readonly userId: FieldRef<"SocialPostAnalytics", 'Int'>
|
|
104937
106113
|
}
|
|
104938
106114
|
|
|
104939
106115
|
|
|
104940
106116
|
// Custom InputTypes
|
|
104941
106117
|
/**
|
|
104942
|
-
*
|
|
106118
|
+
* SocialPostAnalytics findUnique
|
|
104943
106119
|
*/
|
|
104944
|
-
export type
|
|
106120
|
+
export type SocialPostAnalyticsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
104945
106121
|
/**
|
|
104946
|
-
* Select specific fields to fetch from the
|
|
106122
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
104947
106123
|
*/
|
|
104948
|
-
select?:
|
|
106124
|
+
select?: SocialPostAnalyticsSelect<ExtArgs> | null
|
|
104949
106125
|
/**
|
|
104950
|
-
* Filter, which
|
|
106126
|
+
* Filter, which SocialPostAnalytics to fetch.
|
|
104951
106127
|
*/
|
|
104952
|
-
where:
|
|
106128
|
+
where: SocialPostAnalyticsWhereUniqueInput
|
|
104953
106129
|
}
|
|
104954
106130
|
|
|
104955
106131
|
/**
|
|
104956
|
-
*
|
|
106132
|
+
* SocialPostAnalytics findUniqueOrThrow
|
|
104957
106133
|
*/
|
|
104958
|
-
export type
|
|
106134
|
+
export type SocialPostAnalyticsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
104959
106135
|
/**
|
|
104960
|
-
* Select specific fields to fetch from the
|
|
106136
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
104961
106137
|
*/
|
|
104962
|
-
select?:
|
|
106138
|
+
select?: SocialPostAnalyticsSelect<ExtArgs> | null
|
|
104963
106139
|
/**
|
|
104964
|
-
* Filter, which
|
|
106140
|
+
* Filter, which SocialPostAnalytics to fetch.
|
|
104965
106141
|
*/
|
|
104966
|
-
where:
|
|
106142
|
+
where: SocialPostAnalyticsWhereUniqueInput
|
|
104967
106143
|
}
|
|
104968
106144
|
|
|
104969
106145
|
/**
|
|
104970
|
-
*
|
|
106146
|
+
* SocialPostAnalytics findFirst
|
|
104971
106147
|
*/
|
|
104972
|
-
export type
|
|
106148
|
+
export type SocialPostAnalyticsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
104973
106149
|
/**
|
|
104974
|
-
* Select specific fields to fetch from the
|
|
106150
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
104975
106151
|
*/
|
|
104976
|
-
select?:
|
|
106152
|
+
select?: SocialPostAnalyticsSelect<ExtArgs> | null
|
|
104977
106153
|
/**
|
|
104978
|
-
* Filter, which
|
|
106154
|
+
* Filter, which SocialPostAnalytics to fetch.
|
|
104979
106155
|
*/
|
|
104980
|
-
where?:
|
|
106156
|
+
where?: SocialPostAnalyticsWhereInput
|
|
104981
106157
|
/**
|
|
104982
106158
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
104983
106159
|
*
|
|
104984
|
-
* Determine the order of
|
|
106160
|
+
* Determine the order of SocialPostAnalytics to fetch.
|
|
104985
106161
|
*/
|
|
104986
|
-
orderBy?:
|
|
106162
|
+
orderBy?: SocialPostAnalyticsOrderByWithRelationInput | SocialPostAnalyticsOrderByWithRelationInput[]
|
|
104987
106163
|
/**
|
|
104988
106164
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
104989
106165
|
*
|
|
104990
|
-
* Sets the position for searching for
|
|
106166
|
+
* Sets the position for searching for SocialPostAnalytics.
|
|
104991
106167
|
*/
|
|
104992
|
-
cursor?:
|
|
106168
|
+
cursor?: SocialPostAnalyticsWhereUniqueInput
|
|
104993
106169
|
/**
|
|
104994
106170
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
104995
106171
|
*
|
|
104996
|
-
* Take `±n`
|
|
106172
|
+
* Take `±n` SocialPostAnalytics from the position of the cursor.
|
|
104997
106173
|
*/
|
|
104998
106174
|
take?: number
|
|
104999
106175
|
/**
|
|
105000
106176
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105001
106177
|
*
|
|
105002
|
-
* Skip the first `n`
|
|
106178
|
+
* Skip the first `n` SocialPostAnalytics.
|
|
105003
106179
|
*/
|
|
105004
106180
|
skip?: number
|
|
105005
106181
|
/**
|
|
105006
106182
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
105007
106183
|
*
|
|
105008
|
-
* Filter by unique combinations of
|
|
106184
|
+
* Filter by unique combinations of SocialPostAnalytics.
|
|
105009
106185
|
*/
|
|
105010
|
-
distinct?:
|
|
106186
|
+
distinct?: SocialPostAnalyticsScalarFieldEnum | SocialPostAnalyticsScalarFieldEnum[]
|
|
105011
106187
|
}
|
|
105012
106188
|
|
|
105013
106189
|
/**
|
|
105014
|
-
*
|
|
106190
|
+
* SocialPostAnalytics findFirstOrThrow
|
|
105015
106191
|
*/
|
|
105016
|
-
export type
|
|
106192
|
+
export type SocialPostAnalyticsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105017
106193
|
/**
|
|
105018
|
-
* Select specific fields to fetch from the
|
|
106194
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
105019
106195
|
*/
|
|
105020
|
-
select?:
|
|
106196
|
+
select?: SocialPostAnalyticsSelect<ExtArgs> | null
|
|
105021
106197
|
/**
|
|
105022
|
-
* Filter, which
|
|
106198
|
+
* Filter, which SocialPostAnalytics to fetch.
|
|
105023
106199
|
*/
|
|
105024
|
-
where?:
|
|
106200
|
+
where?: SocialPostAnalyticsWhereInput
|
|
105025
106201
|
/**
|
|
105026
106202
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
105027
106203
|
*
|
|
105028
|
-
* Determine the order of
|
|
106204
|
+
* Determine the order of SocialPostAnalytics to fetch.
|
|
105029
106205
|
*/
|
|
105030
|
-
orderBy?:
|
|
106206
|
+
orderBy?: SocialPostAnalyticsOrderByWithRelationInput | SocialPostAnalyticsOrderByWithRelationInput[]
|
|
105031
106207
|
/**
|
|
105032
106208
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
105033
106209
|
*
|
|
105034
|
-
* Sets the position for searching for
|
|
106210
|
+
* Sets the position for searching for SocialPostAnalytics.
|
|
105035
106211
|
*/
|
|
105036
|
-
cursor?:
|
|
106212
|
+
cursor?: SocialPostAnalyticsWhereUniqueInput
|
|
105037
106213
|
/**
|
|
105038
106214
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105039
106215
|
*
|
|
105040
|
-
* Take `±n`
|
|
106216
|
+
* Take `±n` SocialPostAnalytics from the position of the cursor.
|
|
105041
106217
|
*/
|
|
105042
106218
|
take?: number
|
|
105043
106219
|
/**
|
|
105044
106220
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105045
106221
|
*
|
|
105046
|
-
* Skip the first `n`
|
|
106222
|
+
* Skip the first `n` SocialPostAnalytics.
|
|
105047
106223
|
*/
|
|
105048
106224
|
skip?: number
|
|
105049
106225
|
/**
|
|
105050
106226
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
105051
106227
|
*
|
|
105052
|
-
* Filter by unique combinations of
|
|
106228
|
+
* Filter by unique combinations of SocialPostAnalytics.
|
|
105053
106229
|
*/
|
|
105054
|
-
distinct?:
|
|
106230
|
+
distinct?: SocialPostAnalyticsScalarFieldEnum | SocialPostAnalyticsScalarFieldEnum[]
|
|
105055
106231
|
}
|
|
105056
106232
|
|
|
105057
106233
|
/**
|
|
105058
|
-
*
|
|
106234
|
+
* SocialPostAnalytics findMany
|
|
105059
106235
|
*/
|
|
105060
|
-
export type
|
|
106236
|
+
export type SocialPostAnalyticsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105061
106237
|
/**
|
|
105062
|
-
* Select specific fields to fetch from the
|
|
106238
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
105063
106239
|
*/
|
|
105064
|
-
select?:
|
|
106240
|
+
select?: SocialPostAnalyticsSelect<ExtArgs> | null
|
|
105065
106241
|
/**
|
|
105066
|
-
* Filter, which
|
|
106242
|
+
* Filter, which SocialPostAnalytics to fetch.
|
|
105067
106243
|
*/
|
|
105068
|
-
where?:
|
|
106244
|
+
where?: SocialPostAnalyticsWhereInput
|
|
105069
106245
|
/**
|
|
105070
106246
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
105071
106247
|
*
|
|
105072
|
-
* Determine the order of
|
|
106248
|
+
* Determine the order of SocialPostAnalytics to fetch.
|
|
105073
106249
|
*/
|
|
105074
|
-
orderBy?:
|
|
106250
|
+
orderBy?: SocialPostAnalyticsOrderByWithRelationInput | SocialPostAnalyticsOrderByWithRelationInput[]
|
|
105075
106251
|
/**
|
|
105076
106252
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
105077
106253
|
*
|
|
105078
|
-
* Sets the position for listing
|
|
106254
|
+
* Sets the position for listing SocialPostAnalytics.
|
|
105079
106255
|
*/
|
|
105080
|
-
cursor?:
|
|
106256
|
+
cursor?: SocialPostAnalyticsWhereUniqueInput
|
|
105081
106257
|
/**
|
|
105082
106258
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105083
106259
|
*
|
|
105084
|
-
* Take `±n`
|
|
106260
|
+
* Take `±n` SocialPostAnalytics from the position of the cursor.
|
|
105085
106261
|
*/
|
|
105086
106262
|
take?: number
|
|
105087
106263
|
/**
|
|
105088
106264
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105089
106265
|
*
|
|
105090
|
-
* Skip the first `n`
|
|
106266
|
+
* Skip the first `n` SocialPostAnalytics.
|
|
105091
106267
|
*/
|
|
105092
106268
|
skip?: number
|
|
105093
|
-
distinct?:
|
|
106269
|
+
distinct?: SocialPostAnalyticsScalarFieldEnum | SocialPostAnalyticsScalarFieldEnum[]
|
|
105094
106270
|
}
|
|
105095
106271
|
|
|
105096
106272
|
/**
|
|
105097
|
-
*
|
|
106273
|
+
* SocialPostAnalytics create
|
|
105098
106274
|
*/
|
|
105099
|
-
export type
|
|
106275
|
+
export type SocialPostAnalyticsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105100
106276
|
/**
|
|
105101
|
-
* Select specific fields to fetch from the
|
|
106277
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
105102
106278
|
*/
|
|
105103
|
-
select?:
|
|
106279
|
+
select?: SocialPostAnalyticsSelect<ExtArgs> | null
|
|
105104
106280
|
/**
|
|
105105
|
-
* The data needed to create a
|
|
106281
|
+
* The data needed to create a SocialPostAnalytics.
|
|
105106
106282
|
*/
|
|
105107
|
-
data: XOR<
|
|
106283
|
+
data: XOR<SocialPostAnalyticsCreateInput, SocialPostAnalyticsUncheckedCreateInput>
|
|
105108
106284
|
}
|
|
105109
106285
|
|
|
105110
106286
|
/**
|
|
105111
|
-
*
|
|
106287
|
+
* SocialPostAnalytics createMany
|
|
105112
106288
|
*/
|
|
105113
|
-
export type
|
|
106289
|
+
export type SocialPostAnalyticsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105114
106290
|
/**
|
|
105115
|
-
* The data used to create many
|
|
106291
|
+
* The data used to create many SocialPostAnalytics.
|
|
105116
106292
|
*/
|
|
105117
|
-
data:
|
|
106293
|
+
data: SocialPostAnalyticsCreateManyInput | SocialPostAnalyticsCreateManyInput[]
|
|
105118
106294
|
skipDuplicates?: boolean
|
|
105119
106295
|
}
|
|
105120
106296
|
|
|
105121
106297
|
/**
|
|
105122
|
-
*
|
|
106298
|
+
* SocialPostAnalytics createManyAndReturn
|
|
105123
106299
|
*/
|
|
105124
|
-
export type
|
|
106300
|
+
export type SocialPostAnalyticsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105125
106301
|
/**
|
|
105126
|
-
* Select specific fields to fetch from the
|
|
106302
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
105127
106303
|
*/
|
|
105128
|
-
select?:
|
|
106304
|
+
select?: SocialPostAnalyticsSelectCreateManyAndReturn<ExtArgs> | null
|
|
105129
106305
|
/**
|
|
105130
|
-
* The data used to create many
|
|
106306
|
+
* The data used to create many SocialPostAnalytics.
|
|
105131
106307
|
*/
|
|
105132
|
-
data:
|
|
106308
|
+
data: SocialPostAnalyticsCreateManyInput | SocialPostAnalyticsCreateManyInput[]
|
|
105133
106309
|
skipDuplicates?: boolean
|
|
105134
106310
|
}
|
|
105135
106311
|
|
|
105136
106312
|
/**
|
|
105137
|
-
*
|
|
106313
|
+
* SocialPostAnalytics update
|
|
105138
106314
|
*/
|
|
105139
|
-
export type
|
|
106315
|
+
export type SocialPostAnalyticsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105140
106316
|
/**
|
|
105141
|
-
* Select specific fields to fetch from the
|
|
106317
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
105142
106318
|
*/
|
|
105143
|
-
select?:
|
|
106319
|
+
select?: SocialPostAnalyticsSelect<ExtArgs> | null
|
|
105144
106320
|
/**
|
|
105145
|
-
* The data needed to update a
|
|
106321
|
+
* The data needed to update a SocialPostAnalytics.
|
|
105146
106322
|
*/
|
|
105147
|
-
data: XOR<
|
|
106323
|
+
data: XOR<SocialPostAnalyticsUpdateInput, SocialPostAnalyticsUncheckedUpdateInput>
|
|
105148
106324
|
/**
|
|
105149
|
-
* Choose, which
|
|
106325
|
+
* Choose, which SocialPostAnalytics to update.
|
|
105150
106326
|
*/
|
|
105151
|
-
where:
|
|
106327
|
+
where: SocialPostAnalyticsWhereUniqueInput
|
|
105152
106328
|
}
|
|
105153
106329
|
|
|
105154
106330
|
/**
|
|
105155
|
-
*
|
|
106331
|
+
* SocialPostAnalytics updateMany
|
|
105156
106332
|
*/
|
|
105157
|
-
export type
|
|
106333
|
+
export type SocialPostAnalyticsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105158
106334
|
/**
|
|
105159
|
-
* The data used to update
|
|
106335
|
+
* The data used to update SocialPostAnalytics.
|
|
105160
106336
|
*/
|
|
105161
|
-
data: XOR<
|
|
106337
|
+
data: XOR<SocialPostAnalyticsUpdateManyMutationInput, SocialPostAnalyticsUncheckedUpdateManyInput>
|
|
105162
106338
|
/**
|
|
105163
|
-
* Filter which
|
|
106339
|
+
* Filter which SocialPostAnalytics to update
|
|
105164
106340
|
*/
|
|
105165
|
-
where?:
|
|
106341
|
+
where?: SocialPostAnalyticsWhereInput
|
|
105166
106342
|
}
|
|
105167
106343
|
|
|
105168
106344
|
/**
|
|
105169
|
-
*
|
|
106345
|
+
* SocialPostAnalytics upsert
|
|
105170
106346
|
*/
|
|
105171
|
-
export type
|
|
106347
|
+
export type SocialPostAnalyticsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105172
106348
|
/**
|
|
105173
|
-
* Select specific fields to fetch from the
|
|
106349
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
105174
106350
|
*/
|
|
105175
|
-
select?:
|
|
106351
|
+
select?: SocialPostAnalyticsSelect<ExtArgs> | null
|
|
105176
106352
|
/**
|
|
105177
|
-
* The filter to search for the
|
|
106353
|
+
* The filter to search for the SocialPostAnalytics to update in case it exists.
|
|
105178
106354
|
*/
|
|
105179
|
-
where:
|
|
106355
|
+
where: SocialPostAnalyticsWhereUniqueInput
|
|
105180
106356
|
/**
|
|
105181
|
-
* In case the
|
|
106357
|
+
* In case the SocialPostAnalytics found by the `where` argument doesn't exist, create a new SocialPostAnalytics with this data.
|
|
105182
106358
|
*/
|
|
105183
|
-
create: XOR<
|
|
106359
|
+
create: XOR<SocialPostAnalyticsCreateInput, SocialPostAnalyticsUncheckedCreateInput>
|
|
105184
106360
|
/**
|
|
105185
|
-
* In case the
|
|
106361
|
+
* In case the SocialPostAnalytics was found with the provided `where` argument, update it with this data.
|
|
105186
106362
|
*/
|
|
105187
|
-
update: XOR<
|
|
106363
|
+
update: XOR<SocialPostAnalyticsUpdateInput, SocialPostAnalyticsUncheckedUpdateInput>
|
|
105188
106364
|
}
|
|
105189
106365
|
|
|
105190
106366
|
/**
|
|
105191
|
-
*
|
|
106367
|
+
* SocialPostAnalytics delete
|
|
105192
106368
|
*/
|
|
105193
|
-
export type
|
|
106369
|
+
export type SocialPostAnalyticsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105194
106370
|
/**
|
|
105195
|
-
* Select specific fields to fetch from the
|
|
106371
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
105196
106372
|
*/
|
|
105197
|
-
select?:
|
|
106373
|
+
select?: SocialPostAnalyticsSelect<ExtArgs> | null
|
|
105198
106374
|
/**
|
|
105199
|
-
* Filter which
|
|
106375
|
+
* Filter which SocialPostAnalytics to delete.
|
|
105200
106376
|
*/
|
|
105201
|
-
where:
|
|
106377
|
+
where: SocialPostAnalyticsWhereUniqueInput
|
|
105202
106378
|
}
|
|
105203
106379
|
|
|
105204
106380
|
/**
|
|
105205
|
-
*
|
|
106381
|
+
* SocialPostAnalytics deleteMany
|
|
105206
106382
|
*/
|
|
105207
|
-
export type
|
|
106383
|
+
export type SocialPostAnalyticsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105208
106384
|
/**
|
|
105209
|
-
* Filter which
|
|
106385
|
+
* Filter which SocialPostAnalytics to delete
|
|
105210
106386
|
*/
|
|
105211
|
-
where?:
|
|
106387
|
+
where?: SocialPostAnalyticsWhereInput
|
|
105212
106388
|
}
|
|
105213
106389
|
|
|
105214
106390
|
/**
|
|
105215
|
-
*
|
|
106391
|
+
* SocialPostAnalytics without action
|
|
105216
106392
|
*/
|
|
105217
|
-
export type
|
|
106393
|
+
export type SocialPostAnalyticsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
105218
106394
|
/**
|
|
105219
|
-
* Select specific fields to fetch from the
|
|
106395
|
+
* Select specific fields to fetch from the SocialPostAnalytics
|
|
105220
106396
|
*/
|
|
105221
|
-
select?:
|
|
106397
|
+
select?: SocialPostAnalyticsSelect<ExtArgs> | null
|
|
105222
106398
|
}
|
|
105223
106399
|
|
|
105224
106400
|
|
|
@@ -106148,6 +107324,7 @@ export namespace Prisma {
|
|
|
106148
107324
|
avgViews: 'avgViews',
|
|
106149
107325
|
verified: 'verified',
|
|
106150
107326
|
visibility: 'visibility',
|
|
107327
|
+
connectionStatus: 'connectionStatus',
|
|
106151
107328
|
metaData: 'metaData',
|
|
106152
107329
|
audienceData: 'audienceData',
|
|
106153
107330
|
phylloData: 'phylloData',
|
|
@@ -106575,6 +107752,26 @@ export namespace Prisma {
|
|
|
106575
107752
|
export type LatestCreatorPaymentTransactionScalarFieldEnum = (typeof LatestCreatorPaymentTransactionScalarFieldEnum)[keyof typeof LatestCreatorPaymentTransactionScalarFieldEnum]
|
|
106576
107753
|
|
|
106577
107754
|
|
|
107755
|
+
export const SocialPostAnalyticsScalarFieldEnum: {
|
|
107756
|
+
id: 'id',
|
|
107757
|
+
campaignId: 'campaignId',
|
|
107758
|
+
platform: 'platform',
|
|
107759
|
+
reach: 'reach',
|
|
107760
|
+
likes: 'likes',
|
|
107761
|
+
comments: 'comments',
|
|
107762
|
+
impressions: 'impressions',
|
|
107763
|
+
views: 'views',
|
|
107764
|
+
replays: 'replays',
|
|
107765
|
+
shares: 'shares',
|
|
107766
|
+
saves: 'saves',
|
|
107767
|
+
engagement_rate: 'engagement_rate',
|
|
107768
|
+
posted: 'posted',
|
|
107769
|
+
userId: 'userId'
|
|
107770
|
+
};
|
|
107771
|
+
|
|
107772
|
+
export type SocialPostAnalyticsScalarFieldEnum = (typeof SocialPostAnalyticsScalarFieldEnum)[keyof typeof SocialPostAnalyticsScalarFieldEnum]
|
|
107773
|
+
|
|
107774
|
+
|
|
106578
107775
|
export const SortOrder: {
|
|
106579
107776
|
asc: 'asc',
|
|
106580
107777
|
desc: 'desc'
|
|
@@ -107262,6 +108459,13 @@ export namespace Prisma {
|
|
|
107262
108459
|
export type LatestCreatorPaymentTransactionOrderByRelevanceFieldEnum = (typeof LatestCreatorPaymentTransactionOrderByRelevanceFieldEnum)[keyof typeof LatestCreatorPaymentTransactionOrderByRelevanceFieldEnum]
|
|
107263
108460
|
|
|
107264
108461
|
|
|
108462
|
+
export const SocialPostAnalyticsOrderByRelevanceFieldEnum: {
|
|
108463
|
+
platform: 'platform'
|
|
108464
|
+
};
|
|
108465
|
+
|
|
108466
|
+
export type SocialPostAnalyticsOrderByRelevanceFieldEnum = (typeof SocialPostAnalyticsOrderByRelevanceFieldEnum)[keyof typeof SocialPostAnalyticsOrderByRelevanceFieldEnum]
|
|
108467
|
+
|
|
108468
|
+
|
|
107265
108469
|
/**
|
|
107266
108470
|
* Field references
|
|
107267
108471
|
*/
|
|
@@ -107379,6 +108583,20 @@ export namespace Prisma {
|
|
|
107379
108583
|
|
|
107380
108584
|
|
|
107381
108585
|
|
|
108586
|
+
/**
|
|
108587
|
+
* Reference to a field of type 'ConnectionStatus'
|
|
108588
|
+
*/
|
|
108589
|
+
export type EnumConnectionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ConnectionStatus'>
|
|
108590
|
+
|
|
108591
|
+
|
|
108592
|
+
|
|
108593
|
+
/**
|
|
108594
|
+
* Reference to a field of type 'ConnectionStatus[]'
|
|
108595
|
+
*/
|
|
108596
|
+
export type ListEnumConnectionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ConnectionStatus[]'>
|
|
108597
|
+
|
|
108598
|
+
|
|
108599
|
+
|
|
107382
108600
|
/**
|
|
107383
108601
|
* Reference to a field of type 'SocialProfileContactSource'
|
|
107384
108602
|
*/
|
|
@@ -112626,6 +113844,7 @@ export namespace Prisma {
|
|
|
112626
113844
|
avgViews?: IntNullableFilter<"SocialProfile"> | number | null
|
|
112627
113845
|
verified?: BoolNullableFilter<"SocialProfile"> | boolean | null
|
|
112628
113846
|
visibility?: StringFilter<"SocialProfile"> | string
|
|
113847
|
+
connectionStatus?: EnumConnectionStatusNullableFilter<"SocialProfile"> | $Enums.ConnectionStatus | null
|
|
112629
113848
|
metaData?: JsonFilter<"SocialProfile">
|
|
112630
113849
|
audienceData?: JsonFilter<"SocialProfile">
|
|
112631
113850
|
phylloData?: JsonFilter<"SocialProfile">
|
|
@@ -112652,6 +113871,7 @@ export namespace Prisma {
|
|
|
112652
113871
|
avgViews?: SortOrderInput | SortOrder
|
|
112653
113872
|
verified?: SortOrderInput | SortOrder
|
|
112654
113873
|
visibility?: SortOrder
|
|
113874
|
+
connectionStatus?: SortOrderInput | SortOrder
|
|
112655
113875
|
metaData?: SortOrder
|
|
112656
113876
|
audienceData?: SortOrder
|
|
112657
113877
|
phylloData?: SortOrder
|
|
@@ -112682,6 +113902,7 @@ export namespace Prisma {
|
|
|
112682
113902
|
avgViews?: IntNullableFilter<"SocialProfile"> | number | null
|
|
112683
113903
|
verified?: BoolNullableFilter<"SocialProfile"> | boolean | null
|
|
112684
113904
|
visibility?: StringFilter<"SocialProfile"> | string
|
|
113905
|
+
connectionStatus?: EnumConnectionStatusNullableFilter<"SocialProfile"> | $Enums.ConnectionStatus | null
|
|
112685
113906
|
metaData?: JsonFilter<"SocialProfile">
|
|
112686
113907
|
audienceData?: JsonFilter<"SocialProfile">
|
|
112687
113908
|
phylloData?: JsonFilter<"SocialProfile">
|
|
@@ -112708,6 +113929,7 @@ export namespace Prisma {
|
|
|
112708
113929
|
avgViews?: SortOrderInput | SortOrder
|
|
112709
113930
|
verified?: SortOrderInput | SortOrder
|
|
112710
113931
|
visibility?: SortOrder
|
|
113932
|
+
connectionStatus?: SortOrderInput | SortOrder
|
|
112711
113933
|
metaData?: SortOrder
|
|
112712
113934
|
audienceData?: SortOrder
|
|
112713
113935
|
phylloData?: SortOrder
|
|
@@ -112737,6 +113959,7 @@ export namespace Prisma {
|
|
|
112737
113959
|
avgViews?: IntNullableWithAggregatesFilter<"SocialProfile"> | number | null
|
|
112738
113960
|
verified?: BoolNullableWithAggregatesFilter<"SocialProfile"> | boolean | null
|
|
112739
113961
|
visibility?: StringWithAggregatesFilter<"SocialProfile"> | string
|
|
113962
|
+
connectionStatus?: EnumConnectionStatusNullableWithAggregatesFilter<"SocialProfile"> | $Enums.ConnectionStatus | null
|
|
112740
113963
|
metaData?: JsonWithAggregatesFilter<"SocialProfile">
|
|
112741
113964
|
audienceData?: JsonWithAggregatesFilter<"SocialProfile">
|
|
112742
113965
|
phylloData?: JsonWithAggregatesFilter<"SocialProfile">
|
|
@@ -115029,6 +116252,106 @@ export namespace Prisma {
|
|
|
115029
116252
|
creatorId?: IntNullableWithAggregatesFilter<"LatestCreatorPaymentTransaction"> | number | null
|
|
115030
116253
|
}
|
|
115031
116254
|
|
|
116255
|
+
export type SocialPostAnalyticsWhereInput = {
|
|
116256
|
+
AND?: SocialPostAnalyticsWhereInput | SocialPostAnalyticsWhereInput[]
|
|
116257
|
+
OR?: SocialPostAnalyticsWhereInput[]
|
|
116258
|
+
NOT?: SocialPostAnalyticsWhereInput | SocialPostAnalyticsWhereInput[]
|
|
116259
|
+
id?: IntFilter<"SocialPostAnalytics"> | number
|
|
116260
|
+
campaignId?: IntFilter<"SocialPostAnalytics"> | number
|
|
116261
|
+
platform?: StringNullableFilter<"SocialPostAnalytics"> | string | null
|
|
116262
|
+
reach?: IntFilter<"SocialPostAnalytics"> | number
|
|
116263
|
+
likes?: IntFilter<"SocialPostAnalytics"> | number
|
|
116264
|
+
comments?: IntFilter<"SocialPostAnalytics"> | number
|
|
116265
|
+
impressions?: IntFilter<"SocialPostAnalytics"> | number
|
|
116266
|
+
views?: IntFilter<"SocialPostAnalytics"> | number
|
|
116267
|
+
replays?: IntFilter<"SocialPostAnalytics"> | number
|
|
116268
|
+
shares?: IntFilter<"SocialPostAnalytics"> | number
|
|
116269
|
+
saves?: IntFilter<"SocialPostAnalytics"> | number
|
|
116270
|
+
engagement_rate?: FloatFilter<"SocialPostAnalytics"> | number
|
|
116271
|
+
posted?: DateTimeNullableFilter<"SocialPostAnalytics"> | Date | string | null
|
|
116272
|
+
userId?: IntFilter<"SocialPostAnalytics"> | number
|
|
116273
|
+
}
|
|
116274
|
+
|
|
116275
|
+
export type SocialPostAnalyticsOrderByWithRelationInput = {
|
|
116276
|
+
id?: SortOrder
|
|
116277
|
+
campaignId?: SortOrder
|
|
116278
|
+
platform?: SortOrderInput | SortOrder
|
|
116279
|
+
reach?: SortOrder
|
|
116280
|
+
likes?: SortOrder
|
|
116281
|
+
comments?: SortOrder
|
|
116282
|
+
impressions?: SortOrder
|
|
116283
|
+
views?: SortOrder
|
|
116284
|
+
replays?: SortOrder
|
|
116285
|
+
shares?: SortOrder
|
|
116286
|
+
saves?: SortOrder
|
|
116287
|
+
engagement_rate?: SortOrder
|
|
116288
|
+
posted?: SortOrderInput | SortOrder
|
|
116289
|
+
userId?: SortOrder
|
|
116290
|
+
_relevance?: SocialPostAnalyticsOrderByRelevanceInput
|
|
116291
|
+
}
|
|
116292
|
+
|
|
116293
|
+
export type SocialPostAnalyticsWhereUniqueInput = Prisma.AtLeast<{
|
|
116294
|
+
id?: number
|
|
116295
|
+
AND?: SocialPostAnalyticsWhereInput | SocialPostAnalyticsWhereInput[]
|
|
116296
|
+
OR?: SocialPostAnalyticsWhereInput[]
|
|
116297
|
+
NOT?: SocialPostAnalyticsWhereInput | SocialPostAnalyticsWhereInput[]
|
|
116298
|
+
campaignId?: IntFilter<"SocialPostAnalytics"> | number
|
|
116299
|
+
platform?: StringNullableFilter<"SocialPostAnalytics"> | string | null
|
|
116300
|
+
reach?: IntFilter<"SocialPostAnalytics"> | number
|
|
116301
|
+
likes?: IntFilter<"SocialPostAnalytics"> | number
|
|
116302
|
+
comments?: IntFilter<"SocialPostAnalytics"> | number
|
|
116303
|
+
impressions?: IntFilter<"SocialPostAnalytics"> | number
|
|
116304
|
+
views?: IntFilter<"SocialPostAnalytics"> | number
|
|
116305
|
+
replays?: IntFilter<"SocialPostAnalytics"> | number
|
|
116306
|
+
shares?: IntFilter<"SocialPostAnalytics"> | number
|
|
116307
|
+
saves?: IntFilter<"SocialPostAnalytics"> | number
|
|
116308
|
+
engagement_rate?: FloatFilter<"SocialPostAnalytics"> | number
|
|
116309
|
+
posted?: DateTimeNullableFilter<"SocialPostAnalytics"> | Date | string | null
|
|
116310
|
+
userId?: IntFilter<"SocialPostAnalytics"> | number
|
|
116311
|
+
}, "id">
|
|
116312
|
+
|
|
116313
|
+
export type SocialPostAnalyticsOrderByWithAggregationInput = {
|
|
116314
|
+
id?: SortOrder
|
|
116315
|
+
campaignId?: SortOrder
|
|
116316
|
+
platform?: SortOrderInput | SortOrder
|
|
116317
|
+
reach?: SortOrder
|
|
116318
|
+
likes?: SortOrder
|
|
116319
|
+
comments?: SortOrder
|
|
116320
|
+
impressions?: SortOrder
|
|
116321
|
+
views?: SortOrder
|
|
116322
|
+
replays?: SortOrder
|
|
116323
|
+
shares?: SortOrder
|
|
116324
|
+
saves?: SortOrder
|
|
116325
|
+
engagement_rate?: SortOrder
|
|
116326
|
+
posted?: SortOrderInput | SortOrder
|
|
116327
|
+
userId?: SortOrder
|
|
116328
|
+
_count?: SocialPostAnalyticsCountOrderByAggregateInput
|
|
116329
|
+
_avg?: SocialPostAnalyticsAvgOrderByAggregateInput
|
|
116330
|
+
_max?: SocialPostAnalyticsMaxOrderByAggregateInput
|
|
116331
|
+
_min?: SocialPostAnalyticsMinOrderByAggregateInput
|
|
116332
|
+
_sum?: SocialPostAnalyticsSumOrderByAggregateInput
|
|
116333
|
+
}
|
|
116334
|
+
|
|
116335
|
+
export type SocialPostAnalyticsScalarWhereWithAggregatesInput = {
|
|
116336
|
+
AND?: SocialPostAnalyticsScalarWhereWithAggregatesInput | SocialPostAnalyticsScalarWhereWithAggregatesInput[]
|
|
116337
|
+
OR?: SocialPostAnalyticsScalarWhereWithAggregatesInput[]
|
|
116338
|
+
NOT?: SocialPostAnalyticsScalarWhereWithAggregatesInput | SocialPostAnalyticsScalarWhereWithAggregatesInput[]
|
|
116339
|
+
id?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116340
|
+
campaignId?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116341
|
+
platform?: StringNullableWithAggregatesFilter<"SocialPostAnalytics"> | string | null
|
|
116342
|
+
reach?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116343
|
+
likes?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116344
|
+
comments?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116345
|
+
impressions?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116346
|
+
views?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116347
|
+
replays?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116348
|
+
shares?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116349
|
+
saves?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116350
|
+
engagement_rate?: FloatWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116351
|
+
posted?: DateTimeNullableWithAggregatesFilter<"SocialPostAnalytics"> | Date | string | null
|
|
116352
|
+
userId?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
|
|
116353
|
+
}
|
|
116354
|
+
|
|
115032
116355
|
export type UserCreateInput = {
|
|
115033
116356
|
idmId?: string | null
|
|
115034
116357
|
role: string
|
|
@@ -120407,6 +121730,7 @@ export namespace Prisma {
|
|
|
120407
121730
|
avgViews?: number | null
|
|
120408
121731
|
verified?: boolean | null
|
|
120409
121732
|
visibility?: string
|
|
121733
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
120410
121734
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
120411
121735
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
120412
121736
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -120433,6 +121757,7 @@ export namespace Prisma {
|
|
|
120433
121757
|
avgViews?: number | null
|
|
120434
121758
|
verified?: boolean | null
|
|
120435
121759
|
visibility?: string
|
|
121760
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
120436
121761
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
120437
121762
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
120438
121763
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -120456,6 +121781,7 @@ export namespace Prisma {
|
|
|
120456
121781
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
120457
121782
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
120458
121783
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
121784
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
120459
121785
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
120460
121786
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
120461
121787
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -120482,6 +121808,7 @@ export namespace Prisma {
|
|
|
120482
121808
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
120483
121809
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
120484
121810
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
121811
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
120485
121812
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
120486
121813
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
120487
121814
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -120507,6 +121834,7 @@ export namespace Prisma {
|
|
|
120507
121834
|
avgViews?: number | null
|
|
120508
121835
|
verified?: boolean | null
|
|
120509
121836
|
visibility?: string
|
|
121837
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
120510
121838
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
120511
121839
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
120512
121840
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -120526,6 +121854,7 @@ export namespace Prisma {
|
|
|
120526
121854
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
120527
121855
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
120528
121856
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
121857
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
120529
121858
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
120530
121859
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
120531
121860
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -120547,6 +121876,7 @@ export namespace Prisma {
|
|
|
120547
121876
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
120548
121877
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
120549
121878
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
121879
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
120550
121880
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
120551
121881
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
120552
121882
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -122788,6 +124118,125 @@ export namespace Prisma {
|
|
|
122788
124118
|
creatorId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
122789
124119
|
}
|
|
122790
124120
|
|
|
124121
|
+
export type SocialPostAnalyticsCreateInput = {
|
|
124122
|
+
id: number
|
|
124123
|
+
campaignId: number
|
|
124124
|
+
platform?: string | null
|
|
124125
|
+
reach: number
|
|
124126
|
+
likes: number
|
|
124127
|
+
comments: number
|
|
124128
|
+
impressions: number
|
|
124129
|
+
views: number
|
|
124130
|
+
replays: number
|
|
124131
|
+
shares: number
|
|
124132
|
+
saves: number
|
|
124133
|
+
engagement_rate: number
|
|
124134
|
+
posted?: Date | string | null
|
|
124135
|
+
userId: number
|
|
124136
|
+
}
|
|
124137
|
+
|
|
124138
|
+
export type SocialPostAnalyticsUncheckedCreateInput = {
|
|
124139
|
+
id: number
|
|
124140
|
+
campaignId: number
|
|
124141
|
+
platform?: string | null
|
|
124142
|
+
reach: number
|
|
124143
|
+
likes: number
|
|
124144
|
+
comments: number
|
|
124145
|
+
impressions: number
|
|
124146
|
+
views: number
|
|
124147
|
+
replays: number
|
|
124148
|
+
shares: number
|
|
124149
|
+
saves: number
|
|
124150
|
+
engagement_rate: number
|
|
124151
|
+
posted?: Date | string | null
|
|
124152
|
+
userId: number
|
|
124153
|
+
}
|
|
124154
|
+
|
|
124155
|
+
export type SocialPostAnalyticsUpdateInput = {
|
|
124156
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
124157
|
+
campaignId?: IntFieldUpdateOperationsInput | number
|
|
124158
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
124159
|
+
reach?: IntFieldUpdateOperationsInput | number
|
|
124160
|
+
likes?: IntFieldUpdateOperationsInput | number
|
|
124161
|
+
comments?: IntFieldUpdateOperationsInput | number
|
|
124162
|
+
impressions?: IntFieldUpdateOperationsInput | number
|
|
124163
|
+
views?: IntFieldUpdateOperationsInput | number
|
|
124164
|
+
replays?: IntFieldUpdateOperationsInput | number
|
|
124165
|
+
shares?: IntFieldUpdateOperationsInput | number
|
|
124166
|
+
saves?: IntFieldUpdateOperationsInput | number
|
|
124167
|
+
engagement_rate?: FloatFieldUpdateOperationsInput | number
|
|
124168
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
124169
|
+
userId?: IntFieldUpdateOperationsInput | number
|
|
124170
|
+
}
|
|
124171
|
+
|
|
124172
|
+
export type SocialPostAnalyticsUncheckedUpdateInput = {
|
|
124173
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
124174
|
+
campaignId?: IntFieldUpdateOperationsInput | number
|
|
124175
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
124176
|
+
reach?: IntFieldUpdateOperationsInput | number
|
|
124177
|
+
likes?: IntFieldUpdateOperationsInput | number
|
|
124178
|
+
comments?: IntFieldUpdateOperationsInput | number
|
|
124179
|
+
impressions?: IntFieldUpdateOperationsInput | number
|
|
124180
|
+
views?: IntFieldUpdateOperationsInput | number
|
|
124181
|
+
replays?: IntFieldUpdateOperationsInput | number
|
|
124182
|
+
shares?: IntFieldUpdateOperationsInput | number
|
|
124183
|
+
saves?: IntFieldUpdateOperationsInput | number
|
|
124184
|
+
engagement_rate?: FloatFieldUpdateOperationsInput | number
|
|
124185
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
124186
|
+
userId?: IntFieldUpdateOperationsInput | number
|
|
124187
|
+
}
|
|
124188
|
+
|
|
124189
|
+
export type SocialPostAnalyticsCreateManyInput = {
|
|
124190
|
+
id: number
|
|
124191
|
+
campaignId: number
|
|
124192
|
+
platform?: string | null
|
|
124193
|
+
reach: number
|
|
124194
|
+
likes: number
|
|
124195
|
+
comments: number
|
|
124196
|
+
impressions: number
|
|
124197
|
+
views: number
|
|
124198
|
+
replays: number
|
|
124199
|
+
shares: number
|
|
124200
|
+
saves: number
|
|
124201
|
+
engagement_rate: number
|
|
124202
|
+
posted?: Date | string | null
|
|
124203
|
+
userId: number
|
|
124204
|
+
}
|
|
124205
|
+
|
|
124206
|
+
export type SocialPostAnalyticsUpdateManyMutationInput = {
|
|
124207
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
124208
|
+
campaignId?: IntFieldUpdateOperationsInput | number
|
|
124209
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
124210
|
+
reach?: IntFieldUpdateOperationsInput | number
|
|
124211
|
+
likes?: IntFieldUpdateOperationsInput | number
|
|
124212
|
+
comments?: IntFieldUpdateOperationsInput | number
|
|
124213
|
+
impressions?: IntFieldUpdateOperationsInput | number
|
|
124214
|
+
views?: IntFieldUpdateOperationsInput | number
|
|
124215
|
+
replays?: IntFieldUpdateOperationsInput | number
|
|
124216
|
+
shares?: IntFieldUpdateOperationsInput | number
|
|
124217
|
+
saves?: IntFieldUpdateOperationsInput | number
|
|
124218
|
+
engagement_rate?: FloatFieldUpdateOperationsInput | number
|
|
124219
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
124220
|
+
userId?: IntFieldUpdateOperationsInput | number
|
|
124221
|
+
}
|
|
124222
|
+
|
|
124223
|
+
export type SocialPostAnalyticsUncheckedUpdateManyInput = {
|
|
124224
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
124225
|
+
campaignId?: IntFieldUpdateOperationsInput | number
|
|
124226
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
124227
|
+
reach?: IntFieldUpdateOperationsInput | number
|
|
124228
|
+
likes?: IntFieldUpdateOperationsInput | number
|
|
124229
|
+
comments?: IntFieldUpdateOperationsInput | number
|
|
124230
|
+
impressions?: IntFieldUpdateOperationsInput | number
|
|
124231
|
+
views?: IntFieldUpdateOperationsInput | number
|
|
124232
|
+
replays?: IntFieldUpdateOperationsInput | number
|
|
124233
|
+
shares?: IntFieldUpdateOperationsInput | number
|
|
124234
|
+
saves?: IntFieldUpdateOperationsInput | number
|
|
124235
|
+
engagement_rate?: FloatFieldUpdateOperationsInput | number
|
|
124236
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
124237
|
+
userId?: IntFieldUpdateOperationsInput | number
|
|
124238
|
+
}
|
|
124239
|
+
|
|
122791
124240
|
export type IntFilter<$PrismaModel = never> = {
|
|
122792
124241
|
equals?: number | IntFieldRefInput<$PrismaModel>
|
|
122793
124242
|
in?: number[] | ListIntFieldRefInput<$PrismaModel>
|
|
@@ -127285,6 +128734,13 @@ export namespace Prisma {
|
|
|
127285
128734
|
creatorListId?: SortOrder
|
|
127286
128735
|
}
|
|
127287
128736
|
|
|
128737
|
+
export type EnumConnectionStatusNullableFilter<$PrismaModel = never> = {
|
|
128738
|
+
equals?: $Enums.ConnectionStatus | EnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
128739
|
+
in?: $Enums.ConnectionStatus[] | ListEnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
128740
|
+
notIn?: $Enums.ConnectionStatus[] | ListEnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
128741
|
+
not?: NestedEnumConnectionStatusNullableFilter<$PrismaModel> | $Enums.ConnectionStatus | null
|
|
128742
|
+
}
|
|
128743
|
+
|
|
127288
128744
|
export type SocialProfileContactListRelationFilter = {
|
|
127289
128745
|
every?: SocialProfileContactWhereInput
|
|
127290
128746
|
some?: SocialProfileContactWhereInput
|
|
@@ -127315,6 +128771,7 @@ export namespace Prisma {
|
|
|
127315
128771
|
avgViews?: SortOrder
|
|
127316
128772
|
verified?: SortOrder
|
|
127317
128773
|
visibility?: SortOrder
|
|
128774
|
+
connectionStatus?: SortOrder
|
|
127318
128775
|
metaData?: SortOrder
|
|
127319
128776
|
audienceData?: SortOrder
|
|
127320
128777
|
phylloData?: SortOrder
|
|
@@ -127344,6 +128801,7 @@ export namespace Prisma {
|
|
|
127344
128801
|
avgViews?: SortOrder
|
|
127345
128802
|
verified?: SortOrder
|
|
127346
128803
|
visibility?: SortOrder
|
|
128804
|
+
connectionStatus?: SortOrder
|
|
127347
128805
|
created?: SortOrder
|
|
127348
128806
|
updated?: SortOrder
|
|
127349
128807
|
}
|
|
@@ -127362,6 +128820,7 @@ export namespace Prisma {
|
|
|
127362
128820
|
avgViews?: SortOrder
|
|
127363
128821
|
verified?: SortOrder
|
|
127364
128822
|
visibility?: SortOrder
|
|
128823
|
+
connectionStatus?: SortOrder
|
|
127365
128824
|
created?: SortOrder
|
|
127366
128825
|
updated?: SortOrder
|
|
127367
128826
|
}
|
|
@@ -127374,6 +128833,16 @@ export namespace Prisma {
|
|
|
127374
128833
|
avgViews?: SortOrder
|
|
127375
128834
|
}
|
|
127376
128835
|
|
|
128836
|
+
export type EnumConnectionStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
128837
|
+
equals?: $Enums.ConnectionStatus | EnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
128838
|
+
in?: $Enums.ConnectionStatus[] | ListEnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
128839
|
+
notIn?: $Enums.ConnectionStatus[] | ListEnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
128840
|
+
not?: NestedEnumConnectionStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.ConnectionStatus | null
|
|
128841
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
128842
|
+
_min?: NestedEnumConnectionStatusNullableFilter<$PrismaModel>
|
|
128843
|
+
_max?: NestedEnumConnectionStatusNullableFilter<$PrismaModel>
|
|
128844
|
+
}
|
|
128845
|
+
|
|
127377
128846
|
export type EnumSocialProfileContactSourceFilter<$PrismaModel = never> = {
|
|
127378
128847
|
equals?: $Enums.SocialProfileContactSource | EnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
|
|
127379
128848
|
in?: $Enums.SocialProfileContactSource[] | ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
|
|
@@ -129097,6 +130566,93 @@ export namespace Prisma {
|
|
|
129097
130566
|
creatorId?: SortOrder
|
|
129098
130567
|
}
|
|
129099
130568
|
|
|
130569
|
+
export type SocialPostAnalyticsOrderByRelevanceInput = {
|
|
130570
|
+
fields: SocialPostAnalyticsOrderByRelevanceFieldEnum | SocialPostAnalyticsOrderByRelevanceFieldEnum[]
|
|
130571
|
+
sort: SortOrder
|
|
130572
|
+
search: string
|
|
130573
|
+
}
|
|
130574
|
+
|
|
130575
|
+
export type SocialPostAnalyticsCountOrderByAggregateInput = {
|
|
130576
|
+
id?: SortOrder
|
|
130577
|
+
campaignId?: SortOrder
|
|
130578
|
+
platform?: SortOrder
|
|
130579
|
+
reach?: SortOrder
|
|
130580
|
+
likes?: SortOrder
|
|
130581
|
+
comments?: SortOrder
|
|
130582
|
+
impressions?: SortOrder
|
|
130583
|
+
views?: SortOrder
|
|
130584
|
+
replays?: SortOrder
|
|
130585
|
+
shares?: SortOrder
|
|
130586
|
+
saves?: SortOrder
|
|
130587
|
+
engagement_rate?: SortOrder
|
|
130588
|
+
posted?: SortOrder
|
|
130589
|
+
userId?: SortOrder
|
|
130590
|
+
}
|
|
130591
|
+
|
|
130592
|
+
export type SocialPostAnalyticsAvgOrderByAggregateInput = {
|
|
130593
|
+
id?: SortOrder
|
|
130594
|
+
campaignId?: SortOrder
|
|
130595
|
+
reach?: SortOrder
|
|
130596
|
+
likes?: SortOrder
|
|
130597
|
+
comments?: SortOrder
|
|
130598
|
+
impressions?: SortOrder
|
|
130599
|
+
views?: SortOrder
|
|
130600
|
+
replays?: SortOrder
|
|
130601
|
+
shares?: SortOrder
|
|
130602
|
+
saves?: SortOrder
|
|
130603
|
+
engagement_rate?: SortOrder
|
|
130604
|
+
userId?: SortOrder
|
|
130605
|
+
}
|
|
130606
|
+
|
|
130607
|
+
export type SocialPostAnalyticsMaxOrderByAggregateInput = {
|
|
130608
|
+
id?: SortOrder
|
|
130609
|
+
campaignId?: SortOrder
|
|
130610
|
+
platform?: SortOrder
|
|
130611
|
+
reach?: SortOrder
|
|
130612
|
+
likes?: SortOrder
|
|
130613
|
+
comments?: SortOrder
|
|
130614
|
+
impressions?: SortOrder
|
|
130615
|
+
views?: SortOrder
|
|
130616
|
+
replays?: SortOrder
|
|
130617
|
+
shares?: SortOrder
|
|
130618
|
+
saves?: SortOrder
|
|
130619
|
+
engagement_rate?: SortOrder
|
|
130620
|
+
posted?: SortOrder
|
|
130621
|
+
userId?: SortOrder
|
|
130622
|
+
}
|
|
130623
|
+
|
|
130624
|
+
export type SocialPostAnalyticsMinOrderByAggregateInput = {
|
|
130625
|
+
id?: SortOrder
|
|
130626
|
+
campaignId?: SortOrder
|
|
130627
|
+
platform?: SortOrder
|
|
130628
|
+
reach?: SortOrder
|
|
130629
|
+
likes?: SortOrder
|
|
130630
|
+
comments?: SortOrder
|
|
130631
|
+
impressions?: SortOrder
|
|
130632
|
+
views?: SortOrder
|
|
130633
|
+
replays?: SortOrder
|
|
130634
|
+
shares?: SortOrder
|
|
130635
|
+
saves?: SortOrder
|
|
130636
|
+
engagement_rate?: SortOrder
|
|
130637
|
+
posted?: SortOrder
|
|
130638
|
+
userId?: SortOrder
|
|
130639
|
+
}
|
|
130640
|
+
|
|
130641
|
+
export type SocialPostAnalyticsSumOrderByAggregateInput = {
|
|
130642
|
+
id?: SortOrder
|
|
130643
|
+
campaignId?: SortOrder
|
|
130644
|
+
reach?: SortOrder
|
|
130645
|
+
likes?: SortOrder
|
|
130646
|
+
comments?: SortOrder
|
|
130647
|
+
impressions?: SortOrder
|
|
130648
|
+
views?: SortOrder
|
|
130649
|
+
replays?: SortOrder
|
|
130650
|
+
shares?: SortOrder
|
|
130651
|
+
saves?: SortOrder
|
|
130652
|
+
engagement_rate?: SortOrder
|
|
130653
|
+
userId?: SortOrder
|
|
130654
|
+
}
|
|
130655
|
+
|
|
129100
130656
|
export type UserCreateNestedOneWithoutReferredUsersInput = {
|
|
129101
130657
|
create?: XOR<UserCreateWithoutReferredUsersInput, UserUncheckedCreateWithoutReferredUsersInput>
|
|
129102
130658
|
connectOrCreate?: UserCreateOrConnectWithoutReferredUsersInput
|
|
@@ -135763,6 +137319,10 @@ export namespace Prisma {
|
|
|
135763
137319
|
connect?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
|
|
135764
137320
|
}
|
|
135765
137321
|
|
|
137322
|
+
export type NullableEnumConnectionStatusFieldUpdateOperationsInput = {
|
|
137323
|
+
set?: $Enums.ConnectionStatus | null
|
|
137324
|
+
}
|
|
137325
|
+
|
|
135766
137326
|
export type CreatorListItemUpdateManyWithoutSocialProfileNestedInput = {
|
|
135767
137327
|
create?: XOR<CreatorListItemCreateWithoutSocialProfileInput, CreatorListItemUncheckedCreateWithoutSocialProfileInput> | CreatorListItemCreateWithoutSocialProfileInput[] | CreatorListItemUncheckedCreateWithoutSocialProfileInput[]
|
|
135768
137328
|
connectOrCreate?: CreatorListItemCreateOrConnectWithoutSocialProfileInput | CreatorListItemCreateOrConnectWithoutSocialProfileInput[]
|
|
@@ -137672,6 +139232,23 @@ export namespace Prisma {
|
|
|
137672
139232
|
_max?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel>
|
|
137673
139233
|
}
|
|
137674
139234
|
|
|
139235
|
+
export type NestedEnumConnectionStatusNullableFilter<$PrismaModel = never> = {
|
|
139236
|
+
equals?: $Enums.ConnectionStatus | EnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
139237
|
+
in?: $Enums.ConnectionStatus[] | ListEnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
139238
|
+
notIn?: $Enums.ConnectionStatus[] | ListEnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
139239
|
+
not?: NestedEnumConnectionStatusNullableFilter<$PrismaModel> | $Enums.ConnectionStatus | null
|
|
139240
|
+
}
|
|
139241
|
+
|
|
139242
|
+
export type NestedEnumConnectionStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
139243
|
+
equals?: $Enums.ConnectionStatus | EnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
139244
|
+
in?: $Enums.ConnectionStatus[] | ListEnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
139245
|
+
notIn?: $Enums.ConnectionStatus[] | ListEnumConnectionStatusFieldRefInput<$PrismaModel> | null
|
|
139246
|
+
not?: NestedEnumConnectionStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.ConnectionStatus | null
|
|
139247
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
139248
|
+
_min?: NestedEnumConnectionStatusNullableFilter<$PrismaModel>
|
|
139249
|
+
_max?: NestedEnumConnectionStatusNullableFilter<$PrismaModel>
|
|
139250
|
+
}
|
|
139251
|
+
|
|
137675
139252
|
export type NestedEnumSocialProfileContactSourceFilter<$PrismaModel = never> = {
|
|
137676
139253
|
equals?: $Enums.SocialProfileContactSource | EnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
|
|
137677
139254
|
in?: $Enums.SocialProfileContactSource[] | ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
|
|
@@ -138786,6 +140363,7 @@ export namespace Prisma {
|
|
|
138786
140363
|
avgViews?: number | null
|
|
138787
140364
|
verified?: boolean | null
|
|
138788
140365
|
visibility?: string
|
|
140366
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
138789
140367
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
138790
140368
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
138791
140369
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -138810,6 +140388,7 @@ export namespace Prisma {
|
|
|
138810
140388
|
avgViews?: number | null
|
|
138811
140389
|
verified?: boolean | null
|
|
138812
140390
|
visibility?: string
|
|
140391
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
138813
140392
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
138814
140393
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
138815
140394
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -140253,6 +141832,7 @@ export namespace Prisma {
|
|
|
140253
141832
|
avgViews?: IntNullableFilter<"SocialProfile"> | number | null
|
|
140254
141833
|
verified?: BoolNullableFilter<"SocialProfile"> | boolean | null
|
|
140255
141834
|
visibility?: StringFilter<"SocialProfile"> | string
|
|
141835
|
+
connectionStatus?: EnumConnectionStatusNullableFilter<"SocialProfile"> | $Enums.ConnectionStatus | null
|
|
140256
141836
|
metaData?: JsonFilter<"SocialProfile">
|
|
140257
141837
|
audienceData?: JsonFilter<"SocialProfile">
|
|
140258
141838
|
phylloData?: JsonFilter<"SocialProfile">
|
|
@@ -160024,6 +161604,7 @@ export namespace Prisma {
|
|
|
160024
161604
|
avgViews?: number | null
|
|
160025
161605
|
verified?: boolean | null
|
|
160026
161606
|
visibility?: string
|
|
161607
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
160027
161608
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
160028
161609
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
160029
161610
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -160049,6 +161630,7 @@ export namespace Prisma {
|
|
|
160049
161630
|
avgViews?: number | null
|
|
160050
161631
|
verified?: boolean | null
|
|
160051
161632
|
visibility?: string
|
|
161633
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
160052
161634
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
160053
161635
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
160054
161636
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -160421,6 +162003,7 @@ export namespace Prisma {
|
|
|
160421
162003
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
160422
162004
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
160423
162005
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
162006
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
160424
162007
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
160425
162008
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
160426
162009
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -160446,6 +162029,7 @@ export namespace Prisma {
|
|
|
160446
162029
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
160447
162030
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
160448
162031
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
162032
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
160449
162033
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
160450
162034
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
160451
162035
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -161445,6 +163029,7 @@ export namespace Prisma {
|
|
|
161445
163029
|
avgViews?: number | null
|
|
161446
163030
|
verified?: boolean | null
|
|
161447
163031
|
visibility?: string
|
|
163032
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
161448
163033
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
161449
163034
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
161450
163035
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -161470,6 +163055,7 @@ export namespace Prisma {
|
|
|
161470
163055
|
avgViews?: number | null
|
|
161471
163056
|
verified?: boolean | null
|
|
161472
163057
|
visibility?: string
|
|
163058
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
161473
163059
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
161474
163060
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
161475
163061
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -161612,6 +163198,7 @@ export namespace Prisma {
|
|
|
161612
163198
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
161613
163199
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
161614
163200
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
163201
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
161615
163202
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
161616
163203
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
161617
163204
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -161637,6 +163224,7 @@ export namespace Prisma {
|
|
|
161637
163224
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
161638
163225
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
161639
163226
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
163227
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
161640
163228
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
161641
163229
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
161642
163230
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -162171,6 +163759,7 @@ export namespace Prisma {
|
|
|
162171
163759
|
avgViews?: number | null
|
|
162172
163760
|
verified?: boolean | null
|
|
162173
163761
|
visibility?: string
|
|
163762
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
162174
163763
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162175
163764
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
162176
163765
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -162196,6 +163785,7 @@ export namespace Prisma {
|
|
|
162196
163785
|
avgViews?: number | null
|
|
162197
163786
|
verified?: boolean | null
|
|
162198
163787
|
visibility?: string
|
|
163788
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
162199
163789
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162200
163790
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
162201
163791
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -162234,6 +163824,7 @@ export namespace Prisma {
|
|
|
162234
163824
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162235
163825
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
162236
163826
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
163827
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
162237
163828
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162238
163829
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
162239
163830
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -162259,6 +163850,7 @@ export namespace Prisma {
|
|
|
162259
163850
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
162260
163851
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
162261
163852
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
163853
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
162262
163854
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
162263
163855
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
162264
163856
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -170281,6 +171873,7 @@ export namespace Prisma {
|
|
|
170281
171873
|
avgViews?: number | null
|
|
170282
171874
|
verified?: boolean | null
|
|
170283
171875
|
visibility?: string
|
|
171876
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
170284
171877
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
170285
171878
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
170286
171879
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -170306,6 +171899,7 @@ export namespace Prisma {
|
|
|
170306
171899
|
avgViews?: number | null
|
|
170307
171900
|
verified?: boolean | null
|
|
170308
171901
|
visibility?: string
|
|
171902
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
170309
171903
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
170310
171904
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
170311
171905
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -171639,6 +173233,7 @@ export namespace Prisma {
|
|
|
171639
173233
|
avgViews?: number | null
|
|
171640
173234
|
verified?: boolean | null
|
|
171641
173235
|
visibility?: string
|
|
173236
|
+
connectionStatus?: $Enums.ConnectionStatus | null
|
|
171642
173237
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
171643
173238
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
171644
173239
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -172466,6 +174061,7 @@ export namespace Prisma {
|
|
|
172466
174061
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
172467
174062
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
172468
174063
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
174064
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
172469
174065
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
172470
174066
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
172471
174067
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -172490,6 +174086,7 @@ export namespace Prisma {
|
|
|
172490
174086
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
172491
174087
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
172492
174088
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
174089
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
172493
174090
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
172494
174091
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
172495
174092
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -172514,6 +174111,7 @@ export namespace Prisma {
|
|
|
172514
174111
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
172515
174112
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
172516
174113
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
174114
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
172517
174115
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
172518
174116
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
172519
174117
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -177303,6 +178901,7 @@ export namespace Prisma {
|
|
|
177303
178901
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
177304
178902
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
177305
178903
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
178904
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
177306
178905
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
177307
178906
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
177308
178907
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -177328,6 +178927,7 @@ export namespace Prisma {
|
|
|
177328
178927
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
177329
178928
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
177330
178929
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
178930
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
177331
178931
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
177332
178932
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
177333
178933
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -177352,6 +178952,7 @@ export namespace Prisma {
|
|
|
177352
178952
|
avgViews?: NullableIntFieldUpdateOperationsInput | number | null
|
|
177353
178953
|
verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
177354
178954
|
visibility?: StringFieldUpdateOperationsInput | string
|
|
178955
|
+
connectionStatus?: NullableEnumConnectionStatusFieldUpdateOperationsInput | $Enums.ConnectionStatus | null
|
|
177355
178956
|
metaData?: JsonNullValueInput | InputJsonValue
|
|
177356
178957
|
audienceData?: JsonNullValueInput | InputJsonValue
|
|
177357
178958
|
phylloData?: JsonNullValueInput | InputJsonValue
|
|
@@ -177848,6 +179449,10 @@ export namespace Prisma {
|
|
|
177848
179449
|
* @deprecated Use LatestCreatorPaymentTransactionDefaultArgs instead
|
|
177849
179450
|
*/
|
|
177850
179451
|
export type LatestCreatorPaymentTransactionArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = LatestCreatorPaymentTransactionDefaultArgs<ExtArgs>
|
|
179452
|
+
/**
|
|
179453
|
+
* @deprecated Use SocialPostAnalyticsDefaultArgs instead
|
|
179454
|
+
*/
|
|
179455
|
+
export type SocialPostAnalyticsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialPostAnalyticsDefaultArgs<ExtArgs>
|
|
177851
179456
|
|
|
177852
179457
|
/**
|
|
177853
179458
|
* Batch Payload for updateMany & deleteMany & createMany
|