@creator.co/creatorco-prisma-client 1.0.82 → 1.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -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
@@ -1552,6 +1557,16 @@ export class PrismaClient<
1552
1557
  * ```
1553
1558
  */
1554
1559
  get latestCreatorPaymentTransaction(): Prisma.LatestCreatorPaymentTransactionDelegate<ExtArgs>;
1560
+
1561
+ /**
1562
+ * `prisma.socialPostAnalytics`: Exposes CRUD operations for the **SocialPostAnalytics** model.
1563
+ * Example usage:
1564
+ * ```ts
1565
+ * // Fetch zero or more SocialPostAnalytics
1566
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.findMany()
1567
+ * ```
1568
+ */
1569
+ get socialPostAnalytics(): Prisma.SocialPostAnalyticsDelegate<ExtArgs>;
1555
1570
  }
1556
1571
 
1557
1572
  export namespace Prisma {
@@ -2080,7 +2095,8 @@ export namespace Prisma {
2080
2095
  EmailProvider: 'EmailProvider',
2081
2096
  EmailTracking: 'EmailTracking',
2082
2097
  SequenceOutboundReplyEmail: 'SequenceOutboundReplyEmail',
2083
- LatestCreatorPaymentTransaction: 'LatestCreatorPaymentTransaction'
2098
+ LatestCreatorPaymentTransaction: 'LatestCreatorPaymentTransaction',
2099
+ SocialPostAnalytics: 'SocialPostAnalytics'
2084
2100
  };
2085
2101
 
2086
2102
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -2096,7 +2112,7 @@ export namespace Prisma {
2096
2112
 
2097
2113
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
2098
2114
  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"
2115
+ 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
2116
  txIsolationLevel: Prisma.TransactionIsolationLevel
2101
2117
  }
2102
2118
  model: {
@@ -8260,6 +8276,76 @@ export namespace Prisma {
8260
8276
  }
8261
8277
  }
8262
8278
  }
8279
+ SocialPostAnalytics: {
8280
+ payload: Prisma.$SocialPostAnalyticsPayload<ExtArgs>
8281
+ fields: Prisma.SocialPostAnalyticsFieldRefs
8282
+ operations: {
8283
+ findUnique: {
8284
+ args: Prisma.SocialPostAnalyticsFindUniqueArgs<ExtArgs>
8285
+ result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload> | null
8286
+ }
8287
+ findUniqueOrThrow: {
8288
+ args: Prisma.SocialPostAnalyticsFindUniqueOrThrowArgs<ExtArgs>
8289
+ result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
8290
+ }
8291
+ findFirst: {
8292
+ args: Prisma.SocialPostAnalyticsFindFirstArgs<ExtArgs>
8293
+ result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload> | null
8294
+ }
8295
+ findFirstOrThrow: {
8296
+ args: Prisma.SocialPostAnalyticsFindFirstOrThrowArgs<ExtArgs>
8297
+ result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
8298
+ }
8299
+ findMany: {
8300
+ args: Prisma.SocialPostAnalyticsFindManyArgs<ExtArgs>
8301
+ result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>[]
8302
+ }
8303
+ create: {
8304
+ args: Prisma.SocialPostAnalyticsCreateArgs<ExtArgs>
8305
+ result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
8306
+ }
8307
+ createMany: {
8308
+ args: Prisma.SocialPostAnalyticsCreateManyArgs<ExtArgs>
8309
+ result: BatchPayload
8310
+ }
8311
+ createManyAndReturn: {
8312
+ args: Prisma.SocialPostAnalyticsCreateManyAndReturnArgs<ExtArgs>
8313
+ result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>[]
8314
+ }
8315
+ delete: {
8316
+ args: Prisma.SocialPostAnalyticsDeleteArgs<ExtArgs>
8317
+ result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
8318
+ }
8319
+ update: {
8320
+ args: Prisma.SocialPostAnalyticsUpdateArgs<ExtArgs>
8321
+ result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
8322
+ }
8323
+ deleteMany: {
8324
+ args: Prisma.SocialPostAnalyticsDeleteManyArgs<ExtArgs>
8325
+ result: BatchPayload
8326
+ }
8327
+ updateMany: {
8328
+ args: Prisma.SocialPostAnalyticsUpdateManyArgs<ExtArgs>
8329
+ result: BatchPayload
8330
+ }
8331
+ upsert: {
8332
+ args: Prisma.SocialPostAnalyticsUpsertArgs<ExtArgs>
8333
+ result: $Utils.PayloadToResult<Prisma.$SocialPostAnalyticsPayload>
8334
+ }
8335
+ aggregate: {
8336
+ args: Prisma.SocialPostAnalyticsAggregateArgs<ExtArgs>
8337
+ result: $Utils.Optional<AggregateSocialPostAnalytics>
8338
+ }
8339
+ groupBy: {
8340
+ args: Prisma.SocialPostAnalyticsGroupByArgs<ExtArgs>
8341
+ result: $Utils.Optional<SocialPostAnalyticsGroupByOutputType>[]
8342
+ }
8343
+ count: {
8344
+ args: Prisma.SocialPostAnalyticsCountArgs<ExtArgs>
8345
+ result: $Utils.Optional<SocialPostAnalyticsCountAggregateOutputType> | number
8346
+ }
8347
+ }
8348
+ }
8263
8349
  }
8264
8350
  } & {
8265
8351
  other: {
@@ -104923,302 +105009,1366 @@ export namespace Prisma {
104923
105009
 
104924
105010
 
104925
105011
  /**
104926
- * Fields of the LatestCreatorPaymentTransaction model
105012
+ * Fields of the LatestCreatorPaymentTransaction model
105013
+ */
105014
+ interface LatestCreatorPaymentTransactionFieldRefs {
105015
+ readonly id: FieldRef<"LatestCreatorPaymentTransaction", 'Int'>
105016
+ readonly balance: FieldRef<"LatestCreatorPaymentTransaction", 'Float'>
105017
+ readonly type: FieldRef<"LatestCreatorPaymentTransaction", 'String'>
105018
+ readonly date: FieldRef<"LatestCreatorPaymentTransaction", 'DateTime'>
105019
+ readonly notes: FieldRef<"LatestCreatorPaymentTransaction", 'String'>
105020
+ readonly metaData: FieldRef<"LatestCreatorPaymentTransaction", 'Json'>
105021
+ readonly accountId: FieldRef<"LatestCreatorPaymentTransaction", 'Int'>
105022
+ readonly creatorId: FieldRef<"LatestCreatorPaymentTransaction", 'Int'>
105023
+ }
105024
+
105025
+
105026
+ // Custom InputTypes
105027
+ /**
105028
+ * LatestCreatorPaymentTransaction findUnique
105029
+ */
105030
+ export type LatestCreatorPaymentTransactionFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105031
+ /**
105032
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105033
+ */
105034
+ select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
105035
+ /**
105036
+ * Filter, which LatestCreatorPaymentTransaction to fetch.
105037
+ */
105038
+ where: LatestCreatorPaymentTransactionWhereUniqueInput
105039
+ }
105040
+
105041
+ /**
105042
+ * LatestCreatorPaymentTransaction findUniqueOrThrow
105043
+ */
105044
+ export type LatestCreatorPaymentTransactionFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105045
+ /**
105046
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105047
+ */
105048
+ select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
105049
+ /**
105050
+ * Filter, which LatestCreatorPaymentTransaction to fetch.
105051
+ */
105052
+ where: LatestCreatorPaymentTransactionWhereUniqueInput
105053
+ }
105054
+
105055
+ /**
105056
+ * LatestCreatorPaymentTransaction findFirst
105057
+ */
105058
+ export type LatestCreatorPaymentTransactionFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105059
+ /**
105060
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105061
+ */
105062
+ select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
105063
+ /**
105064
+ * Filter, which LatestCreatorPaymentTransaction to fetch.
105065
+ */
105066
+ where?: LatestCreatorPaymentTransactionWhereInput
105067
+ /**
105068
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
105069
+ *
105070
+ * Determine the order of LatestCreatorPaymentTransactions to fetch.
105071
+ */
105072
+ orderBy?: LatestCreatorPaymentTransactionOrderByWithRelationInput | LatestCreatorPaymentTransactionOrderByWithRelationInput[]
105073
+ /**
105074
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
105075
+ *
105076
+ * Sets the position for searching for LatestCreatorPaymentTransactions.
105077
+ */
105078
+ cursor?: LatestCreatorPaymentTransactionWhereUniqueInput
105079
+ /**
105080
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105081
+ *
105082
+ * Take `±n` LatestCreatorPaymentTransactions from the position of the cursor.
105083
+ */
105084
+ take?: number
105085
+ /**
105086
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105087
+ *
105088
+ * Skip the first `n` LatestCreatorPaymentTransactions.
105089
+ */
105090
+ skip?: number
105091
+ /**
105092
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
105093
+ *
105094
+ * Filter by unique combinations of LatestCreatorPaymentTransactions.
105095
+ */
105096
+ distinct?: LatestCreatorPaymentTransactionScalarFieldEnum | LatestCreatorPaymentTransactionScalarFieldEnum[]
105097
+ }
105098
+
105099
+ /**
105100
+ * LatestCreatorPaymentTransaction findFirstOrThrow
105101
+ */
105102
+ export type LatestCreatorPaymentTransactionFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105103
+ /**
105104
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105105
+ */
105106
+ select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
105107
+ /**
105108
+ * Filter, which LatestCreatorPaymentTransaction to fetch.
105109
+ */
105110
+ where?: LatestCreatorPaymentTransactionWhereInput
105111
+ /**
105112
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
105113
+ *
105114
+ * Determine the order of LatestCreatorPaymentTransactions to fetch.
105115
+ */
105116
+ orderBy?: LatestCreatorPaymentTransactionOrderByWithRelationInput | LatestCreatorPaymentTransactionOrderByWithRelationInput[]
105117
+ /**
105118
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
105119
+ *
105120
+ * Sets the position for searching for LatestCreatorPaymentTransactions.
105121
+ */
105122
+ cursor?: LatestCreatorPaymentTransactionWhereUniqueInput
105123
+ /**
105124
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105125
+ *
105126
+ * Take `±n` LatestCreatorPaymentTransactions from the position of the cursor.
105127
+ */
105128
+ take?: number
105129
+ /**
105130
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105131
+ *
105132
+ * Skip the first `n` LatestCreatorPaymentTransactions.
105133
+ */
105134
+ skip?: number
105135
+ /**
105136
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
105137
+ *
105138
+ * Filter by unique combinations of LatestCreatorPaymentTransactions.
105139
+ */
105140
+ distinct?: LatestCreatorPaymentTransactionScalarFieldEnum | LatestCreatorPaymentTransactionScalarFieldEnum[]
105141
+ }
105142
+
105143
+ /**
105144
+ * LatestCreatorPaymentTransaction findMany
105145
+ */
105146
+ export type LatestCreatorPaymentTransactionFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105147
+ /**
105148
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105149
+ */
105150
+ select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
105151
+ /**
105152
+ * Filter, which LatestCreatorPaymentTransactions to fetch.
105153
+ */
105154
+ where?: LatestCreatorPaymentTransactionWhereInput
105155
+ /**
105156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
105157
+ *
105158
+ * Determine the order of LatestCreatorPaymentTransactions to fetch.
105159
+ */
105160
+ orderBy?: LatestCreatorPaymentTransactionOrderByWithRelationInput | LatestCreatorPaymentTransactionOrderByWithRelationInput[]
105161
+ /**
105162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
105163
+ *
105164
+ * Sets the position for listing LatestCreatorPaymentTransactions.
105165
+ */
105166
+ cursor?: LatestCreatorPaymentTransactionWhereUniqueInput
105167
+ /**
105168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105169
+ *
105170
+ * Take `±n` LatestCreatorPaymentTransactions from the position of the cursor.
105171
+ */
105172
+ take?: number
105173
+ /**
105174
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105175
+ *
105176
+ * Skip the first `n` LatestCreatorPaymentTransactions.
105177
+ */
105178
+ skip?: number
105179
+ distinct?: LatestCreatorPaymentTransactionScalarFieldEnum | LatestCreatorPaymentTransactionScalarFieldEnum[]
105180
+ }
105181
+
105182
+ /**
105183
+ * LatestCreatorPaymentTransaction create
105184
+ */
105185
+ export type LatestCreatorPaymentTransactionCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105186
+ /**
105187
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105188
+ */
105189
+ select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
105190
+ /**
105191
+ * The data needed to create a LatestCreatorPaymentTransaction.
105192
+ */
105193
+ data: XOR<LatestCreatorPaymentTransactionCreateInput, LatestCreatorPaymentTransactionUncheckedCreateInput>
105194
+ }
105195
+
105196
+ /**
105197
+ * LatestCreatorPaymentTransaction createMany
105198
+ */
105199
+ export type LatestCreatorPaymentTransactionCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105200
+ /**
105201
+ * The data used to create many LatestCreatorPaymentTransactions.
105202
+ */
105203
+ data: LatestCreatorPaymentTransactionCreateManyInput | LatestCreatorPaymentTransactionCreateManyInput[]
105204
+ skipDuplicates?: boolean
105205
+ }
105206
+
105207
+ /**
105208
+ * LatestCreatorPaymentTransaction createManyAndReturn
105209
+ */
105210
+ export type LatestCreatorPaymentTransactionCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105211
+ /**
105212
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105213
+ */
105214
+ select?: LatestCreatorPaymentTransactionSelectCreateManyAndReturn<ExtArgs> | null
105215
+ /**
105216
+ * The data used to create many LatestCreatorPaymentTransactions.
105217
+ */
105218
+ data: LatestCreatorPaymentTransactionCreateManyInput | LatestCreatorPaymentTransactionCreateManyInput[]
105219
+ skipDuplicates?: boolean
105220
+ }
105221
+
105222
+ /**
105223
+ * LatestCreatorPaymentTransaction update
105224
+ */
105225
+ export type LatestCreatorPaymentTransactionUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105226
+ /**
105227
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105228
+ */
105229
+ select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
105230
+ /**
105231
+ * The data needed to update a LatestCreatorPaymentTransaction.
105232
+ */
105233
+ data: XOR<LatestCreatorPaymentTransactionUpdateInput, LatestCreatorPaymentTransactionUncheckedUpdateInput>
105234
+ /**
105235
+ * Choose, which LatestCreatorPaymentTransaction to update.
105236
+ */
105237
+ where: LatestCreatorPaymentTransactionWhereUniqueInput
105238
+ }
105239
+
105240
+ /**
105241
+ * LatestCreatorPaymentTransaction updateMany
105242
+ */
105243
+ export type LatestCreatorPaymentTransactionUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105244
+ /**
105245
+ * The data used to update LatestCreatorPaymentTransactions.
105246
+ */
105247
+ data: XOR<LatestCreatorPaymentTransactionUpdateManyMutationInput, LatestCreatorPaymentTransactionUncheckedUpdateManyInput>
105248
+ /**
105249
+ * Filter which LatestCreatorPaymentTransactions to update
105250
+ */
105251
+ where?: LatestCreatorPaymentTransactionWhereInput
105252
+ }
105253
+
105254
+ /**
105255
+ * LatestCreatorPaymentTransaction upsert
105256
+ */
105257
+ export type LatestCreatorPaymentTransactionUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105258
+ /**
105259
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105260
+ */
105261
+ select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
105262
+ /**
105263
+ * The filter to search for the LatestCreatorPaymentTransaction to update in case it exists.
105264
+ */
105265
+ where: LatestCreatorPaymentTransactionWhereUniqueInput
105266
+ /**
105267
+ * In case the LatestCreatorPaymentTransaction found by the `where` argument doesn't exist, create a new LatestCreatorPaymentTransaction with this data.
105268
+ */
105269
+ create: XOR<LatestCreatorPaymentTransactionCreateInput, LatestCreatorPaymentTransactionUncheckedCreateInput>
105270
+ /**
105271
+ * In case the LatestCreatorPaymentTransaction was found with the provided `where` argument, update it with this data.
105272
+ */
105273
+ update: XOR<LatestCreatorPaymentTransactionUpdateInput, LatestCreatorPaymentTransactionUncheckedUpdateInput>
105274
+ }
105275
+
105276
+ /**
105277
+ * LatestCreatorPaymentTransaction delete
105278
+ */
105279
+ export type LatestCreatorPaymentTransactionDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105280
+ /**
105281
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105282
+ */
105283
+ select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
105284
+ /**
105285
+ * Filter which LatestCreatorPaymentTransaction to delete.
105286
+ */
105287
+ where: LatestCreatorPaymentTransactionWhereUniqueInput
105288
+ }
105289
+
105290
+ /**
105291
+ * LatestCreatorPaymentTransaction deleteMany
105292
+ */
105293
+ export type LatestCreatorPaymentTransactionDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105294
+ /**
105295
+ * Filter which LatestCreatorPaymentTransactions to delete
105296
+ */
105297
+ where?: LatestCreatorPaymentTransactionWhereInput
105298
+ }
105299
+
105300
+ /**
105301
+ * LatestCreatorPaymentTransaction without action
105302
+ */
105303
+ export type LatestCreatorPaymentTransactionDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105304
+ /**
105305
+ * Select specific fields to fetch from the LatestCreatorPaymentTransaction
105306
+ */
105307
+ select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
105308
+ }
105309
+
105310
+
105311
+ /**
105312
+ * Model SocialPostAnalytics
105313
+ */
105314
+
105315
+ export type AggregateSocialPostAnalytics = {
105316
+ _count: SocialPostAnalyticsCountAggregateOutputType | null
105317
+ _avg: SocialPostAnalyticsAvgAggregateOutputType | null
105318
+ _sum: SocialPostAnalyticsSumAggregateOutputType | null
105319
+ _min: SocialPostAnalyticsMinAggregateOutputType | null
105320
+ _max: SocialPostAnalyticsMaxAggregateOutputType | null
105321
+ }
105322
+
105323
+ export type SocialPostAnalyticsAvgAggregateOutputType = {
105324
+ id: number | null
105325
+ campaignId: number | null
105326
+ reach: number | null
105327
+ likes: number | null
105328
+ comments: number | null
105329
+ impressions: number | null
105330
+ views: number | null
105331
+ replays: number | null
105332
+ shares: number | null
105333
+ saves: number | null
105334
+ engagement_rate: number | null
105335
+ userId: number | null
105336
+ }
105337
+
105338
+ export type SocialPostAnalyticsSumAggregateOutputType = {
105339
+ id: number | null
105340
+ campaignId: number | null
105341
+ reach: number | null
105342
+ likes: number | null
105343
+ comments: number | null
105344
+ impressions: number | null
105345
+ views: number | null
105346
+ replays: number | null
105347
+ shares: number | null
105348
+ saves: number | null
105349
+ engagement_rate: number | null
105350
+ userId: number | null
105351
+ }
105352
+
105353
+ export type SocialPostAnalyticsMinAggregateOutputType = {
105354
+ id: number | null
105355
+ campaignId: number | null
105356
+ platform: string | null
105357
+ reach: number | null
105358
+ likes: number | null
105359
+ comments: number | null
105360
+ impressions: number | null
105361
+ views: number | null
105362
+ replays: number | null
105363
+ shares: number | null
105364
+ saves: number | null
105365
+ engagement_rate: number | null
105366
+ posted: Date | null
105367
+ userId: number | null
105368
+ }
105369
+
105370
+ export type SocialPostAnalyticsMaxAggregateOutputType = {
105371
+ id: number | null
105372
+ campaignId: number | null
105373
+ platform: string | null
105374
+ reach: number | null
105375
+ likes: number | null
105376
+ comments: number | null
105377
+ impressions: number | null
105378
+ views: number | null
105379
+ replays: number | null
105380
+ shares: number | null
105381
+ saves: number | null
105382
+ engagement_rate: number | null
105383
+ posted: Date | null
105384
+ userId: number | null
105385
+ }
105386
+
105387
+ export type SocialPostAnalyticsCountAggregateOutputType = {
105388
+ id: number
105389
+ campaignId: number
105390
+ platform: number
105391
+ reach: number
105392
+ likes: number
105393
+ comments: number
105394
+ impressions: number
105395
+ views: number
105396
+ replays: number
105397
+ shares: number
105398
+ saves: number
105399
+ engagement_rate: number
105400
+ posted: number
105401
+ userId: number
105402
+ _all: number
105403
+ }
105404
+
105405
+
105406
+ export type SocialPostAnalyticsAvgAggregateInputType = {
105407
+ id?: true
105408
+ campaignId?: true
105409
+ reach?: true
105410
+ likes?: true
105411
+ comments?: true
105412
+ impressions?: true
105413
+ views?: true
105414
+ replays?: true
105415
+ shares?: true
105416
+ saves?: true
105417
+ engagement_rate?: true
105418
+ userId?: true
105419
+ }
105420
+
105421
+ export type SocialPostAnalyticsSumAggregateInputType = {
105422
+ id?: true
105423
+ campaignId?: true
105424
+ reach?: true
105425
+ likes?: true
105426
+ comments?: true
105427
+ impressions?: true
105428
+ views?: true
105429
+ replays?: true
105430
+ shares?: true
105431
+ saves?: true
105432
+ engagement_rate?: true
105433
+ userId?: true
105434
+ }
105435
+
105436
+ export type SocialPostAnalyticsMinAggregateInputType = {
105437
+ id?: true
105438
+ campaignId?: true
105439
+ platform?: true
105440
+ reach?: true
105441
+ likes?: true
105442
+ comments?: true
105443
+ impressions?: true
105444
+ views?: true
105445
+ replays?: true
105446
+ shares?: true
105447
+ saves?: true
105448
+ engagement_rate?: true
105449
+ posted?: true
105450
+ userId?: true
105451
+ }
105452
+
105453
+ export type SocialPostAnalyticsMaxAggregateInputType = {
105454
+ id?: true
105455
+ campaignId?: true
105456
+ platform?: true
105457
+ reach?: true
105458
+ likes?: true
105459
+ comments?: true
105460
+ impressions?: true
105461
+ views?: true
105462
+ replays?: true
105463
+ shares?: true
105464
+ saves?: true
105465
+ engagement_rate?: true
105466
+ posted?: true
105467
+ userId?: true
105468
+ }
105469
+
105470
+ export type SocialPostAnalyticsCountAggregateInputType = {
105471
+ id?: true
105472
+ campaignId?: true
105473
+ platform?: true
105474
+ reach?: true
105475
+ likes?: true
105476
+ comments?: true
105477
+ impressions?: true
105478
+ views?: true
105479
+ replays?: true
105480
+ shares?: true
105481
+ saves?: true
105482
+ engagement_rate?: true
105483
+ posted?: true
105484
+ userId?: true
105485
+ _all?: true
105486
+ }
105487
+
105488
+ export type SocialPostAnalyticsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105489
+ /**
105490
+ * Filter which SocialPostAnalytics to aggregate.
105491
+ */
105492
+ where?: SocialPostAnalyticsWhereInput
105493
+ /**
105494
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
105495
+ *
105496
+ * Determine the order of SocialPostAnalytics to fetch.
105497
+ */
105498
+ orderBy?: SocialPostAnalyticsOrderByWithRelationInput | SocialPostAnalyticsOrderByWithRelationInput[]
105499
+ /**
105500
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
105501
+ *
105502
+ * Sets the start position
105503
+ */
105504
+ cursor?: SocialPostAnalyticsWhereUniqueInput
105505
+ /**
105506
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105507
+ *
105508
+ * Take `±n` SocialPostAnalytics from the position of the cursor.
105509
+ */
105510
+ take?: number
105511
+ /**
105512
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105513
+ *
105514
+ * Skip the first `n` SocialPostAnalytics.
105515
+ */
105516
+ skip?: number
105517
+ /**
105518
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
105519
+ *
105520
+ * Count returned SocialPostAnalytics
105521
+ **/
105522
+ _count?: true | SocialPostAnalyticsCountAggregateInputType
105523
+ /**
105524
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
105525
+ *
105526
+ * Select which fields to average
105527
+ **/
105528
+ _avg?: SocialPostAnalyticsAvgAggregateInputType
105529
+ /**
105530
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
105531
+ *
105532
+ * Select which fields to sum
105533
+ **/
105534
+ _sum?: SocialPostAnalyticsSumAggregateInputType
105535
+ /**
105536
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
105537
+ *
105538
+ * Select which fields to find the minimum value
105539
+ **/
105540
+ _min?: SocialPostAnalyticsMinAggregateInputType
105541
+ /**
105542
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
105543
+ *
105544
+ * Select which fields to find the maximum value
105545
+ **/
105546
+ _max?: SocialPostAnalyticsMaxAggregateInputType
105547
+ }
105548
+
105549
+ export type GetSocialPostAnalyticsAggregateType<T extends SocialPostAnalyticsAggregateArgs> = {
105550
+ [P in keyof T & keyof AggregateSocialPostAnalytics]: P extends '_count' | 'count'
105551
+ ? T[P] extends true
105552
+ ? number
105553
+ : GetScalarType<T[P], AggregateSocialPostAnalytics[P]>
105554
+ : GetScalarType<T[P], AggregateSocialPostAnalytics[P]>
105555
+ }
105556
+
105557
+
105558
+
105559
+
105560
+ export type SocialPostAnalyticsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105561
+ where?: SocialPostAnalyticsWhereInput
105562
+ orderBy?: SocialPostAnalyticsOrderByWithAggregationInput | SocialPostAnalyticsOrderByWithAggregationInput[]
105563
+ by: SocialPostAnalyticsScalarFieldEnum[] | SocialPostAnalyticsScalarFieldEnum
105564
+ having?: SocialPostAnalyticsScalarWhereWithAggregatesInput
105565
+ take?: number
105566
+ skip?: number
105567
+ _count?: SocialPostAnalyticsCountAggregateInputType | true
105568
+ _avg?: SocialPostAnalyticsAvgAggregateInputType
105569
+ _sum?: SocialPostAnalyticsSumAggregateInputType
105570
+ _min?: SocialPostAnalyticsMinAggregateInputType
105571
+ _max?: SocialPostAnalyticsMaxAggregateInputType
105572
+ }
105573
+
105574
+ export type SocialPostAnalyticsGroupByOutputType = {
105575
+ id: number
105576
+ campaignId: number
105577
+ platform: string | null
105578
+ reach: number
105579
+ likes: number
105580
+ comments: number
105581
+ impressions: number
105582
+ views: number
105583
+ replays: number
105584
+ shares: number
105585
+ saves: number
105586
+ engagement_rate: number
105587
+ posted: Date | null
105588
+ userId: number
105589
+ _count: SocialPostAnalyticsCountAggregateOutputType | null
105590
+ _avg: SocialPostAnalyticsAvgAggregateOutputType | null
105591
+ _sum: SocialPostAnalyticsSumAggregateOutputType | null
105592
+ _min: SocialPostAnalyticsMinAggregateOutputType | null
105593
+ _max: SocialPostAnalyticsMaxAggregateOutputType | null
105594
+ }
105595
+
105596
+ type GetSocialPostAnalyticsGroupByPayload<T extends SocialPostAnalyticsGroupByArgs> = Prisma.PrismaPromise<
105597
+ Array<
105598
+ PickEnumerable<SocialPostAnalyticsGroupByOutputType, T['by']> &
105599
+ {
105600
+ [P in ((keyof T) & (keyof SocialPostAnalyticsGroupByOutputType))]: P extends '_count'
105601
+ ? T[P] extends boolean
105602
+ ? number
105603
+ : GetScalarType<T[P], SocialPostAnalyticsGroupByOutputType[P]>
105604
+ : GetScalarType<T[P], SocialPostAnalyticsGroupByOutputType[P]>
105605
+ }
105606
+ >
105607
+ >
105608
+
105609
+
105610
+ export type SocialPostAnalyticsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
105611
+ id?: boolean
105612
+ campaignId?: boolean
105613
+ platform?: boolean
105614
+ reach?: boolean
105615
+ likes?: boolean
105616
+ comments?: boolean
105617
+ impressions?: boolean
105618
+ views?: boolean
105619
+ replays?: boolean
105620
+ shares?: boolean
105621
+ saves?: boolean
105622
+ engagement_rate?: boolean
105623
+ posted?: boolean
105624
+ userId?: boolean
105625
+ }, ExtArgs["result"]["socialPostAnalytics"]>
105626
+
105627
+ export type SocialPostAnalyticsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
105628
+ id?: boolean
105629
+ campaignId?: boolean
105630
+ platform?: boolean
105631
+ reach?: boolean
105632
+ likes?: boolean
105633
+ comments?: boolean
105634
+ impressions?: boolean
105635
+ views?: boolean
105636
+ replays?: boolean
105637
+ shares?: boolean
105638
+ saves?: boolean
105639
+ engagement_rate?: boolean
105640
+ posted?: boolean
105641
+ userId?: boolean
105642
+ }, ExtArgs["result"]["socialPostAnalytics"]>
105643
+
105644
+ export type SocialPostAnalyticsSelectScalar = {
105645
+ id?: boolean
105646
+ campaignId?: boolean
105647
+ platform?: boolean
105648
+ reach?: boolean
105649
+ likes?: boolean
105650
+ comments?: boolean
105651
+ impressions?: boolean
105652
+ views?: boolean
105653
+ replays?: boolean
105654
+ shares?: boolean
105655
+ saves?: boolean
105656
+ engagement_rate?: boolean
105657
+ posted?: boolean
105658
+ userId?: boolean
105659
+ }
105660
+
105661
+
105662
+ export type $SocialPostAnalyticsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105663
+ name: "SocialPostAnalytics"
105664
+ objects: {}
105665
+ scalars: $Extensions.GetPayloadResult<{
105666
+ id: number
105667
+ campaignId: number
105668
+ platform: string | null
105669
+ reach: number
105670
+ likes: number
105671
+ comments: number
105672
+ impressions: number
105673
+ views: number
105674
+ replays: number
105675
+ shares: number
105676
+ saves: number
105677
+ engagement_rate: number
105678
+ posted: Date | null
105679
+ userId: number
105680
+ }, ExtArgs["result"]["socialPostAnalytics"]>
105681
+ composites: {}
105682
+ }
105683
+
105684
+ type SocialPostAnalyticsGetPayload<S extends boolean | null | undefined | SocialPostAnalyticsDefaultArgs> = $Result.GetResult<Prisma.$SocialPostAnalyticsPayload, S>
105685
+
105686
+ type SocialPostAnalyticsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
105687
+ Omit<SocialPostAnalyticsFindManyArgs, 'select' | 'include' | 'distinct'> & {
105688
+ select?: SocialPostAnalyticsCountAggregateInputType | true
105689
+ }
105690
+
105691
+ export interface SocialPostAnalyticsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
105692
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SocialPostAnalytics'], meta: { name: 'SocialPostAnalytics' } }
105693
+ /**
105694
+ * Find zero or one SocialPostAnalytics that matches the filter.
105695
+ * @param {SocialPostAnalyticsFindUniqueArgs} args - Arguments to find a SocialPostAnalytics
105696
+ * @example
105697
+ * // Get one SocialPostAnalytics
105698
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.findUnique({
105699
+ * where: {
105700
+ * // ... provide filter here
105701
+ * }
105702
+ * })
105703
+ */
105704
+ findUnique<T extends SocialPostAnalyticsFindUniqueArgs>(args: SelectSubset<T, SocialPostAnalyticsFindUniqueArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
105705
+
105706
+ /**
105707
+ * Find one SocialPostAnalytics that matches the filter or throw an error with `error.code='P2025'`
105708
+ * if no matches were found.
105709
+ * @param {SocialPostAnalyticsFindUniqueOrThrowArgs} args - Arguments to find a SocialPostAnalytics
105710
+ * @example
105711
+ * // Get one SocialPostAnalytics
105712
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.findUniqueOrThrow({
105713
+ * where: {
105714
+ * // ... provide filter here
105715
+ * }
105716
+ * })
105717
+ */
105718
+ findUniqueOrThrow<T extends SocialPostAnalyticsFindUniqueOrThrowArgs>(args: SelectSubset<T, SocialPostAnalyticsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
105719
+
105720
+ /**
105721
+ * Find the first SocialPostAnalytics that matches the filter.
105722
+ * Note, that providing `undefined` is treated as the value not being there.
105723
+ * Read more here: https://pris.ly/d/null-undefined
105724
+ * @param {SocialPostAnalyticsFindFirstArgs} args - Arguments to find a SocialPostAnalytics
105725
+ * @example
105726
+ * // Get one SocialPostAnalytics
105727
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.findFirst({
105728
+ * where: {
105729
+ * // ... provide filter here
105730
+ * }
105731
+ * })
105732
+ */
105733
+ findFirst<T extends SocialPostAnalyticsFindFirstArgs>(args?: SelectSubset<T, SocialPostAnalyticsFindFirstArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
105734
+
105735
+ /**
105736
+ * Find the first SocialPostAnalytics that matches the filter or
105737
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
105738
+ * Note, that providing `undefined` is treated as the value not being there.
105739
+ * Read more here: https://pris.ly/d/null-undefined
105740
+ * @param {SocialPostAnalyticsFindFirstOrThrowArgs} args - Arguments to find a SocialPostAnalytics
105741
+ * @example
105742
+ * // Get one SocialPostAnalytics
105743
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.findFirstOrThrow({
105744
+ * where: {
105745
+ * // ... provide filter here
105746
+ * }
105747
+ * })
105748
+ */
105749
+ findFirstOrThrow<T extends SocialPostAnalyticsFindFirstOrThrowArgs>(args?: SelectSubset<T, SocialPostAnalyticsFindFirstOrThrowArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
105750
+
105751
+ /**
105752
+ * Find zero or more SocialPostAnalytics that matches the filter.
105753
+ * Note, that providing `undefined` is treated as the value not being there.
105754
+ * Read more here: https://pris.ly/d/null-undefined
105755
+ * @param {SocialPostAnalyticsFindManyArgs} args - Arguments to filter and select certain fields only.
105756
+ * @example
105757
+ * // Get all SocialPostAnalytics
105758
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.findMany()
105759
+ *
105760
+ * // Get first 10 SocialPostAnalytics
105761
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.findMany({ take: 10 })
105762
+ *
105763
+ * // Only select the `id`
105764
+ * const socialPostAnalyticsWithIdOnly = await prisma.socialPostAnalytics.findMany({ select: { id: true } })
105765
+ *
105766
+ */
105767
+ findMany<T extends SocialPostAnalyticsFindManyArgs>(args?: SelectSubset<T, SocialPostAnalyticsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "findMany">>
105768
+
105769
+ /**
105770
+ * Create a SocialPostAnalytics.
105771
+ * @param {SocialPostAnalyticsCreateArgs} args - Arguments to create a SocialPostAnalytics.
105772
+ * @example
105773
+ * // Create one SocialPostAnalytics
105774
+ * const SocialPostAnalytics = await prisma.socialPostAnalytics.create({
105775
+ * data: {
105776
+ * // ... data to create a SocialPostAnalytics
105777
+ * }
105778
+ * })
105779
+ *
105780
+ */
105781
+ create<T extends SocialPostAnalyticsCreateArgs>(args: SelectSubset<T, SocialPostAnalyticsCreateArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "create">, never, ExtArgs>
105782
+
105783
+ /**
105784
+ * Create many SocialPostAnalytics.
105785
+ * @param {SocialPostAnalyticsCreateManyArgs} args - Arguments to create many SocialPostAnalytics.
105786
+ * @example
105787
+ * // Create many SocialPostAnalytics
105788
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.createMany({
105789
+ * data: [
105790
+ * // ... provide data here
105791
+ * ]
105792
+ * })
105793
+ *
105794
+ */
105795
+ createMany<T extends SocialPostAnalyticsCreateManyArgs>(args?: SelectSubset<T, SocialPostAnalyticsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
105796
+
105797
+ /**
105798
+ * Create many SocialPostAnalytics and returns the data saved in the database.
105799
+ * @param {SocialPostAnalyticsCreateManyAndReturnArgs} args - Arguments to create many SocialPostAnalytics.
105800
+ * @example
105801
+ * // Create many SocialPostAnalytics
105802
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.createManyAndReturn({
105803
+ * data: [
105804
+ * // ... provide data here
105805
+ * ]
105806
+ * })
105807
+ *
105808
+ * // Create many SocialPostAnalytics and only return the `id`
105809
+ * const socialPostAnalyticsWithIdOnly = await prisma.socialPostAnalytics.createManyAndReturn({
105810
+ * select: { id: true },
105811
+ * data: [
105812
+ * // ... provide data here
105813
+ * ]
105814
+ * })
105815
+ * Note, that providing `undefined` is treated as the value not being there.
105816
+ * Read more here: https://pris.ly/d/null-undefined
105817
+ *
105818
+ */
105819
+ createManyAndReturn<T extends SocialPostAnalyticsCreateManyAndReturnArgs>(args?: SelectSubset<T, SocialPostAnalyticsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "createManyAndReturn">>
105820
+
105821
+ /**
105822
+ * Delete a SocialPostAnalytics.
105823
+ * @param {SocialPostAnalyticsDeleteArgs} args - Arguments to delete one SocialPostAnalytics.
105824
+ * @example
105825
+ * // Delete one SocialPostAnalytics
105826
+ * const SocialPostAnalytics = await prisma.socialPostAnalytics.delete({
105827
+ * where: {
105828
+ * // ... filter to delete one SocialPostAnalytics
105829
+ * }
105830
+ * })
105831
+ *
105832
+ */
105833
+ delete<T extends SocialPostAnalyticsDeleteArgs>(args: SelectSubset<T, SocialPostAnalyticsDeleteArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "delete">, never, ExtArgs>
105834
+
105835
+ /**
105836
+ * Update one SocialPostAnalytics.
105837
+ * @param {SocialPostAnalyticsUpdateArgs} args - Arguments to update one SocialPostAnalytics.
105838
+ * @example
105839
+ * // Update one SocialPostAnalytics
105840
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.update({
105841
+ * where: {
105842
+ * // ... provide filter here
105843
+ * },
105844
+ * data: {
105845
+ * // ... provide data here
105846
+ * }
105847
+ * })
105848
+ *
105849
+ */
105850
+ update<T extends SocialPostAnalyticsUpdateArgs>(args: SelectSubset<T, SocialPostAnalyticsUpdateArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "update">, never, ExtArgs>
105851
+
105852
+ /**
105853
+ * Delete zero or more SocialPostAnalytics.
105854
+ * @param {SocialPostAnalyticsDeleteManyArgs} args - Arguments to filter SocialPostAnalytics to delete.
105855
+ * @example
105856
+ * // Delete a few SocialPostAnalytics
105857
+ * const { count } = await prisma.socialPostAnalytics.deleteMany({
105858
+ * where: {
105859
+ * // ... provide filter here
105860
+ * }
105861
+ * })
105862
+ *
105863
+ */
105864
+ deleteMany<T extends SocialPostAnalyticsDeleteManyArgs>(args?: SelectSubset<T, SocialPostAnalyticsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
105865
+
105866
+ /**
105867
+ * Update zero or more SocialPostAnalytics.
105868
+ * Note, that providing `undefined` is treated as the value not being there.
105869
+ * Read more here: https://pris.ly/d/null-undefined
105870
+ * @param {SocialPostAnalyticsUpdateManyArgs} args - Arguments to update one or more rows.
105871
+ * @example
105872
+ * // Update many SocialPostAnalytics
105873
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.updateMany({
105874
+ * where: {
105875
+ * // ... provide filter here
105876
+ * },
105877
+ * data: {
105878
+ * // ... provide data here
105879
+ * }
105880
+ * })
105881
+ *
105882
+ */
105883
+ updateMany<T extends SocialPostAnalyticsUpdateManyArgs>(args: SelectSubset<T, SocialPostAnalyticsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
105884
+
105885
+ /**
105886
+ * Create or update one SocialPostAnalytics.
105887
+ * @param {SocialPostAnalyticsUpsertArgs} args - Arguments to update or create a SocialPostAnalytics.
105888
+ * @example
105889
+ * // Update or create a SocialPostAnalytics
105890
+ * const socialPostAnalytics = await prisma.socialPostAnalytics.upsert({
105891
+ * create: {
105892
+ * // ... data to create a SocialPostAnalytics
105893
+ * },
105894
+ * update: {
105895
+ * // ... in case it already exists, update
105896
+ * },
105897
+ * where: {
105898
+ * // ... the filter for the SocialPostAnalytics we want to update
105899
+ * }
105900
+ * })
105901
+ */
105902
+ upsert<T extends SocialPostAnalyticsUpsertArgs>(args: SelectSubset<T, SocialPostAnalyticsUpsertArgs<ExtArgs>>): Prisma__SocialPostAnalyticsClient<$Result.GetResult<Prisma.$SocialPostAnalyticsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
105903
+
105904
+
105905
+ /**
105906
+ * Count the number of SocialPostAnalytics.
105907
+ * Note, that providing `undefined` is treated as the value not being there.
105908
+ * Read more here: https://pris.ly/d/null-undefined
105909
+ * @param {SocialPostAnalyticsCountArgs} args - Arguments to filter SocialPostAnalytics to count.
105910
+ * @example
105911
+ * // Count the number of SocialPostAnalytics
105912
+ * const count = await prisma.socialPostAnalytics.count({
105913
+ * where: {
105914
+ * // ... the filter for the SocialPostAnalytics we want to count
105915
+ * }
105916
+ * })
105917
+ **/
105918
+ count<T extends SocialPostAnalyticsCountArgs>(
105919
+ args?: Subset<T, SocialPostAnalyticsCountArgs>,
105920
+ ): Prisma.PrismaPromise<
105921
+ T extends $Utils.Record<'select', any>
105922
+ ? T['select'] extends true
105923
+ ? number
105924
+ : GetScalarType<T['select'], SocialPostAnalyticsCountAggregateOutputType>
105925
+ : number
105926
+ >
105927
+
105928
+ /**
105929
+ * Allows you to perform aggregations operations on a SocialPostAnalytics.
105930
+ * Note, that providing `undefined` is treated as the value not being there.
105931
+ * Read more here: https://pris.ly/d/null-undefined
105932
+ * @param {SocialPostAnalyticsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
105933
+ * @example
105934
+ * // Ordered by age ascending
105935
+ * // Where email contains prisma.io
105936
+ * // Limited to the 10 users
105937
+ * const aggregations = await prisma.user.aggregate({
105938
+ * _avg: {
105939
+ * age: true,
105940
+ * },
105941
+ * where: {
105942
+ * email: {
105943
+ * contains: "prisma.io",
105944
+ * },
105945
+ * },
105946
+ * orderBy: {
105947
+ * age: "asc",
105948
+ * },
105949
+ * take: 10,
105950
+ * })
105951
+ **/
105952
+ aggregate<T extends SocialPostAnalyticsAggregateArgs>(args: Subset<T, SocialPostAnalyticsAggregateArgs>): Prisma.PrismaPromise<GetSocialPostAnalyticsAggregateType<T>>
105953
+
105954
+ /**
105955
+ * Group by 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 {SocialPostAnalyticsGroupByArgs} args - Group by arguments.
105959
+ * @example
105960
+ * // Group by city, order by createdAt, get count
105961
+ * const result = await prisma.user.groupBy({
105962
+ * by: ['city', 'createdAt'],
105963
+ * orderBy: {
105964
+ * createdAt: true
105965
+ * },
105966
+ * _count: {
105967
+ * _all: true
105968
+ * },
105969
+ * })
105970
+ *
105971
+ **/
105972
+ groupBy<
105973
+ T extends SocialPostAnalyticsGroupByArgs,
105974
+ HasSelectOrTake extends Or<
105975
+ Extends<'skip', Keys<T>>,
105976
+ Extends<'take', Keys<T>>
105977
+ >,
105978
+ OrderByArg extends True extends HasSelectOrTake
105979
+ ? { orderBy: SocialPostAnalyticsGroupByArgs['orderBy'] }
105980
+ : { orderBy?: SocialPostAnalyticsGroupByArgs['orderBy'] },
105981
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
105982
+ ByFields extends MaybeTupleToUnion<T['by']>,
105983
+ ByValid extends Has<ByFields, OrderFields>,
105984
+ HavingFields extends GetHavingFields<T['having']>,
105985
+ HavingValid extends Has<ByFields, HavingFields>,
105986
+ ByEmpty extends T['by'] extends never[] ? True : False,
105987
+ InputErrors extends ByEmpty extends True
105988
+ ? `Error: "by" must not be empty.`
105989
+ : HavingValid extends False
105990
+ ? {
105991
+ [P in HavingFields]: P extends ByFields
105992
+ ? never
105993
+ : P extends string
105994
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
105995
+ : [
105996
+ Error,
105997
+ 'Field ',
105998
+ P,
105999
+ ` in "having" needs to be provided in "by"`,
106000
+ ]
106001
+ }[HavingFields]
106002
+ : 'take' extends Keys<T>
106003
+ ? 'orderBy' extends Keys<T>
106004
+ ? ByValid extends True
106005
+ ? {}
106006
+ : {
106007
+ [P in OrderFields]: P extends ByFields
106008
+ ? never
106009
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
106010
+ }[OrderFields]
106011
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
106012
+ : 'skip' extends Keys<T>
106013
+ ? 'orderBy' extends Keys<T>
106014
+ ? ByValid extends True
106015
+ ? {}
106016
+ : {
106017
+ [P in OrderFields]: P extends ByFields
106018
+ ? never
106019
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
106020
+ }[OrderFields]
106021
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
106022
+ : ByValid extends True
106023
+ ? {}
106024
+ : {
106025
+ [P in OrderFields]: P extends ByFields
106026
+ ? never
106027
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
106028
+ }[OrderFields]
106029
+ >(args: SubsetIntersection<T, SocialPostAnalyticsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSocialPostAnalyticsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
106030
+ /**
106031
+ * Fields of the SocialPostAnalytics model
106032
+ */
106033
+ readonly fields: SocialPostAnalyticsFieldRefs;
106034
+ }
106035
+
106036
+ /**
106037
+ * The delegate class that acts as a "Promise-like" for SocialPostAnalytics.
106038
+ * Why is this prefixed with `Prisma__`?
106039
+ * Because we want to prevent naming conflicts as mentioned in
106040
+ * https://github.com/prisma/prisma-client-js/issues/707
106041
+ */
106042
+ export interface Prisma__SocialPostAnalyticsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
106043
+ readonly [Symbol.toStringTag]: "PrismaPromise"
106044
+ /**
106045
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
106046
+ * @param onfulfilled The callback to execute when the Promise is resolved.
106047
+ * @param onrejected The callback to execute when the Promise is rejected.
106048
+ * @returns A Promise for the completion of which ever callback is executed.
106049
+ */
106050
+ 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>
106051
+ /**
106052
+ * Attaches a callback for only the rejection of the Promise.
106053
+ * @param onrejected The callback to execute when the Promise is rejected.
106054
+ * @returns A Promise for the completion of the callback.
106055
+ */
106056
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
106057
+ /**
106058
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
106059
+ * resolved value cannot be modified from the callback.
106060
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
106061
+ * @returns A Promise for the completion of the callback.
106062
+ */
106063
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
106064
+ }
106065
+
106066
+
106067
+
106068
+
106069
+ /**
106070
+ * Fields of the SocialPostAnalytics model
104927
106071
  */
104928
- interface LatestCreatorPaymentTransactionFieldRefs {
104929
- readonly id: FieldRef<"LatestCreatorPaymentTransaction", 'Int'>
104930
- readonly balance: FieldRef<"LatestCreatorPaymentTransaction", 'Float'>
104931
- readonly type: FieldRef<"LatestCreatorPaymentTransaction", 'String'>
104932
- readonly date: FieldRef<"LatestCreatorPaymentTransaction", 'DateTime'>
104933
- readonly notes: FieldRef<"LatestCreatorPaymentTransaction", 'String'>
104934
- readonly metaData: FieldRef<"LatestCreatorPaymentTransaction", 'Json'>
104935
- readonly accountId: FieldRef<"LatestCreatorPaymentTransaction", 'Int'>
104936
- readonly creatorId: FieldRef<"LatestCreatorPaymentTransaction", 'Int'>
106072
+ interface SocialPostAnalyticsFieldRefs {
106073
+ readonly id: FieldRef<"SocialPostAnalytics", 'Int'>
106074
+ readonly campaignId: FieldRef<"SocialPostAnalytics", 'Int'>
106075
+ readonly platform: FieldRef<"SocialPostAnalytics", 'String'>
106076
+ readonly reach: FieldRef<"SocialPostAnalytics", 'Int'>
106077
+ readonly likes: FieldRef<"SocialPostAnalytics", 'Int'>
106078
+ readonly comments: FieldRef<"SocialPostAnalytics", 'Int'>
106079
+ readonly impressions: FieldRef<"SocialPostAnalytics", 'Int'>
106080
+ readonly views: FieldRef<"SocialPostAnalytics", 'Int'>
106081
+ readonly replays: FieldRef<"SocialPostAnalytics", 'Int'>
106082
+ readonly shares: FieldRef<"SocialPostAnalytics", 'Int'>
106083
+ readonly saves: FieldRef<"SocialPostAnalytics", 'Int'>
106084
+ readonly engagement_rate: FieldRef<"SocialPostAnalytics", 'Float'>
106085
+ readonly posted: FieldRef<"SocialPostAnalytics", 'DateTime'>
106086
+ readonly userId: FieldRef<"SocialPostAnalytics", 'Int'>
104937
106087
  }
104938
106088
 
104939
106089
 
104940
106090
  // Custom InputTypes
104941
106091
  /**
104942
- * LatestCreatorPaymentTransaction findUnique
106092
+ * SocialPostAnalytics findUnique
104943
106093
  */
104944
- export type LatestCreatorPaymentTransactionFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106094
+ export type SocialPostAnalyticsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
104945
106095
  /**
104946
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106096
+ * Select specific fields to fetch from the SocialPostAnalytics
104947
106097
  */
104948
- select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
106098
+ select?: SocialPostAnalyticsSelect<ExtArgs> | null
104949
106099
  /**
104950
- * Filter, which LatestCreatorPaymentTransaction to fetch.
106100
+ * Filter, which SocialPostAnalytics to fetch.
104951
106101
  */
104952
- where: LatestCreatorPaymentTransactionWhereUniqueInput
106102
+ where: SocialPostAnalyticsWhereUniqueInput
104953
106103
  }
104954
106104
 
104955
106105
  /**
104956
- * LatestCreatorPaymentTransaction findUniqueOrThrow
106106
+ * SocialPostAnalytics findUniqueOrThrow
104957
106107
  */
104958
- export type LatestCreatorPaymentTransactionFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106108
+ export type SocialPostAnalyticsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
104959
106109
  /**
104960
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106110
+ * Select specific fields to fetch from the SocialPostAnalytics
104961
106111
  */
104962
- select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
106112
+ select?: SocialPostAnalyticsSelect<ExtArgs> | null
104963
106113
  /**
104964
- * Filter, which LatestCreatorPaymentTransaction to fetch.
106114
+ * Filter, which SocialPostAnalytics to fetch.
104965
106115
  */
104966
- where: LatestCreatorPaymentTransactionWhereUniqueInput
106116
+ where: SocialPostAnalyticsWhereUniqueInput
104967
106117
  }
104968
106118
 
104969
106119
  /**
104970
- * LatestCreatorPaymentTransaction findFirst
106120
+ * SocialPostAnalytics findFirst
104971
106121
  */
104972
- export type LatestCreatorPaymentTransactionFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106122
+ export type SocialPostAnalyticsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
104973
106123
  /**
104974
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106124
+ * Select specific fields to fetch from the SocialPostAnalytics
104975
106125
  */
104976
- select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
106126
+ select?: SocialPostAnalyticsSelect<ExtArgs> | null
104977
106127
  /**
104978
- * Filter, which LatestCreatorPaymentTransaction to fetch.
106128
+ * Filter, which SocialPostAnalytics to fetch.
104979
106129
  */
104980
- where?: LatestCreatorPaymentTransactionWhereInput
106130
+ where?: SocialPostAnalyticsWhereInput
104981
106131
  /**
104982
106132
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
104983
106133
  *
104984
- * Determine the order of LatestCreatorPaymentTransactions to fetch.
106134
+ * Determine the order of SocialPostAnalytics to fetch.
104985
106135
  */
104986
- orderBy?: LatestCreatorPaymentTransactionOrderByWithRelationInput | LatestCreatorPaymentTransactionOrderByWithRelationInput[]
106136
+ orderBy?: SocialPostAnalyticsOrderByWithRelationInput | SocialPostAnalyticsOrderByWithRelationInput[]
104987
106137
  /**
104988
106138
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
104989
106139
  *
104990
- * Sets the position for searching for LatestCreatorPaymentTransactions.
106140
+ * Sets the position for searching for SocialPostAnalytics.
104991
106141
  */
104992
- cursor?: LatestCreatorPaymentTransactionWhereUniqueInput
106142
+ cursor?: SocialPostAnalyticsWhereUniqueInput
104993
106143
  /**
104994
106144
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
104995
106145
  *
104996
- * Take `±n` LatestCreatorPaymentTransactions from the position of the cursor.
106146
+ * Take `±n` SocialPostAnalytics from the position of the cursor.
104997
106147
  */
104998
106148
  take?: number
104999
106149
  /**
105000
106150
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105001
106151
  *
105002
- * Skip the first `n` LatestCreatorPaymentTransactions.
106152
+ * Skip the first `n` SocialPostAnalytics.
105003
106153
  */
105004
106154
  skip?: number
105005
106155
  /**
105006
106156
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
105007
106157
  *
105008
- * Filter by unique combinations of LatestCreatorPaymentTransactions.
106158
+ * Filter by unique combinations of SocialPostAnalytics.
105009
106159
  */
105010
- distinct?: LatestCreatorPaymentTransactionScalarFieldEnum | LatestCreatorPaymentTransactionScalarFieldEnum[]
106160
+ distinct?: SocialPostAnalyticsScalarFieldEnum | SocialPostAnalyticsScalarFieldEnum[]
105011
106161
  }
105012
106162
 
105013
106163
  /**
105014
- * LatestCreatorPaymentTransaction findFirstOrThrow
106164
+ * SocialPostAnalytics findFirstOrThrow
105015
106165
  */
105016
- export type LatestCreatorPaymentTransactionFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106166
+ export type SocialPostAnalyticsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105017
106167
  /**
105018
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106168
+ * Select specific fields to fetch from the SocialPostAnalytics
105019
106169
  */
105020
- select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
106170
+ select?: SocialPostAnalyticsSelect<ExtArgs> | null
105021
106171
  /**
105022
- * Filter, which LatestCreatorPaymentTransaction to fetch.
106172
+ * Filter, which SocialPostAnalytics to fetch.
105023
106173
  */
105024
- where?: LatestCreatorPaymentTransactionWhereInput
106174
+ where?: SocialPostAnalyticsWhereInput
105025
106175
  /**
105026
106176
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
105027
106177
  *
105028
- * Determine the order of LatestCreatorPaymentTransactions to fetch.
106178
+ * Determine the order of SocialPostAnalytics to fetch.
105029
106179
  */
105030
- orderBy?: LatestCreatorPaymentTransactionOrderByWithRelationInput | LatestCreatorPaymentTransactionOrderByWithRelationInput[]
106180
+ orderBy?: SocialPostAnalyticsOrderByWithRelationInput | SocialPostAnalyticsOrderByWithRelationInput[]
105031
106181
  /**
105032
106182
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
105033
106183
  *
105034
- * Sets the position for searching for LatestCreatorPaymentTransactions.
106184
+ * Sets the position for searching for SocialPostAnalytics.
105035
106185
  */
105036
- cursor?: LatestCreatorPaymentTransactionWhereUniqueInput
106186
+ cursor?: SocialPostAnalyticsWhereUniqueInput
105037
106187
  /**
105038
106188
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105039
106189
  *
105040
- * Take `±n` LatestCreatorPaymentTransactions from the position of the cursor.
106190
+ * Take `±n` SocialPostAnalytics from the position of the cursor.
105041
106191
  */
105042
106192
  take?: number
105043
106193
  /**
105044
106194
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105045
106195
  *
105046
- * Skip the first `n` LatestCreatorPaymentTransactions.
106196
+ * Skip the first `n` SocialPostAnalytics.
105047
106197
  */
105048
106198
  skip?: number
105049
106199
  /**
105050
106200
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
105051
106201
  *
105052
- * Filter by unique combinations of LatestCreatorPaymentTransactions.
106202
+ * Filter by unique combinations of SocialPostAnalytics.
105053
106203
  */
105054
- distinct?: LatestCreatorPaymentTransactionScalarFieldEnum | LatestCreatorPaymentTransactionScalarFieldEnum[]
106204
+ distinct?: SocialPostAnalyticsScalarFieldEnum | SocialPostAnalyticsScalarFieldEnum[]
105055
106205
  }
105056
106206
 
105057
106207
  /**
105058
- * LatestCreatorPaymentTransaction findMany
106208
+ * SocialPostAnalytics findMany
105059
106209
  */
105060
- export type LatestCreatorPaymentTransactionFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106210
+ export type SocialPostAnalyticsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105061
106211
  /**
105062
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106212
+ * Select specific fields to fetch from the SocialPostAnalytics
105063
106213
  */
105064
- select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
106214
+ select?: SocialPostAnalyticsSelect<ExtArgs> | null
105065
106215
  /**
105066
- * Filter, which LatestCreatorPaymentTransactions to fetch.
106216
+ * Filter, which SocialPostAnalytics to fetch.
105067
106217
  */
105068
- where?: LatestCreatorPaymentTransactionWhereInput
106218
+ where?: SocialPostAnalyticsWhereInput
105069
106219
  /**
105070
106220
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
105071
106221
  *
105072
- * Determine the order of LatestCreatorPaymentTransactions to fetch.
106222
+ * Determine the order of SocialPostAnalytics to fetch.
105073
106223
  */
105074
- orderBy?: LatestCreatorPaymentTransactionOrderByWithRelationInput | LatestCreatorPaymentTransactionOrderByWithRelationInput[]
106224
+ orderBy?: SocialPostAnalyticsOrderByWithRelationInput | SocialPostAnalyticsOrderByWithRelationInput[]
105075
106225
  /**
105076
106226
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
105077
106227
  *
105078
- * Sets the position for listing LatestCreatorPaymentTransactions.
106228
+ * Sets the position for listing SocialPostAnalytics.
105079
106229
  */
105080
- cursor?: LatestCreatorPaymentTransactionWhereUniqueInput
106230
+ cursor?: SocialPostAnalyticsWhereUniqueInput
105081
106231
  /**
105082
106232
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105083
106233
  *
105084
- * Take `±n` LatestCreatorPaymentTransactions from the position of the cursor.
106234
+ * Take `±n` SocialPostAnalytics from the position of the cursor.
105085
106235
  */
105086
106236
  take?: number
105087
106237
  /**
105088
106238
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105089
106239
  *
105090
- * Skip the first `n` LatestCreatorPaymentTransactions.
106240
+ * Skip the first `n` SocialPostAnalytics.
105091
106241
  */
105092
106242
  skip?: number
105093
- distinct?: LatestCreatorPaymentTransactionScalarFieldEnum | LatestCreatorPaymentTransactionScalarFieldEnum[]
106243
+ distinct?: SocialPostAnalyticsScalarFieldEnum | SocialPostAnalyticsScalarFieldEnum[]
105094
106244
  }
105095
106245
 
105096
106246
  /**
105097
- * LatestCreatorPaymentTransaction create
106247
+ * SocialPostAnalytics create
105098
106248
  */
105099
- export type LatestCreatorPaymentTransactionCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106249
+ export type SocialPostAnalyticsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105100
106250
  /**
105101
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106251
+ * Select specific fields to fetch from the SocialPostAnalytics
105102
106252
  */
105103
- select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
106253
+ select?: SocialPostAnalyticsSelect<ExtArgs> | null
105104
106254
  /**
105105
- * The data needed to create a LatestCreatorPaymentTransaction.
106255
+ * The data needed to create a SocialPostAnalytics.
105106
106256
  */
105107
- data: XOR<LatestCreatorPaymentTransactionCreateInput, LatestCreatorPaymentTransactionUncheckedCreateInput>
106257
+ data: XOR<SocialPostAnalyticsCreateInput, SocialPostAnalyticsUncheckedCreateInput>
105108
106258
  }
105109
106259
 
105110
106260
  /**
105111
- * LatestCreatorPaymentTransaction createMany
106261
+ * SocialPostAnalytics createMany
105112
106262
  */
105113
- export type LatestCreatorPaymentTransactionCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106263
+ export type SocialPostAnalyticsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105114
106264
  /**
105115
- * The data used to create many LatestCreatorPaymentTransactions.
106265
+ * The data used to create many SocialPostAnalytics.
105116
106266
  */
105117
- data: LatestCreatorPaymentTransactionCreateManyInput | LatestCreatorPaymentTransactionCreateManyInput[]
106267
+ data: SocialPostAnalyticsCreateManyInput | SocialPostAnalyticsCreateManyInput[]
105118
106268
  skipDuplicates?: boolean
105119
106269
  }
105120
106270
 
105121
106271
  /**
105122
- * LatestCreatorPaymentTransaction createManyAndReturn
106272
+ * SocialPostAnalytics createManyAndReturn
105123
106273
  */
105124
- export type LatestCreatorPaymentTransactionCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106274
+ export type SocialPostAnalyticsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105125
106275
  /**
105126
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106276
+ * Select specific fields to fetch from the SocialPostAnalytics
105127
106277
  */
105128
- select?: LatestCreatorPaymentTransactionSelectCreateManyAndReturn<ExtArgs> | null
106278
+ select?: SocialPostAnalyticsSelectCreateManyAndReturn<ExtArgs> | null
105129
106279
  /**
105130
- * The data used to create many LatestCreatorPaymentTransactions.
106280
+ * The data used to create many SocialPostAnalytics.
105131
106281
  */
105132
- data: LatestCreatorPaymentTransactionCreateManyInput | LatestCreatorPaymentTransactionCreateManyInput[]
106282
+ data: SocialPostAnalyticsCreateManyInput | SocialPostAnalyticsCreateManyInput[]
105133
106283
  skipDuplicates?: boolean
105134
106284
  }
105135
106285
 
105136
106286
  /**
105137
- * LatestCreatorPaymentTransaction update
106287
+ * SocialPostAnalytics update
105138
106288
  */
105139
- export type LatestCreatorPaymentTransactionUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106289
+ export type SocialPostAnalyticsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105140
106290
  /**
105141
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106291
+ * Select specific fields to fetch from the SocialPostAnalytics
105142
106292
  */
105143
- select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
106293
+ select?: SocialPostAnalyticsSelect<ExtArgs> | null
105144
106294
  /**
105145
- * The data needed to update a LatestCreatorPaymentTransaction.
106295
+ * The data needed to update a SocialPostAnalytics.
105146
106296
  */
105147
- data: XOR<LatestCreatorPaymentTransactionUpdateInput, LatestCreatorPaymentTransactionUncheckedUpdateInput>
106297
+ data: XOR<SocialPostAnalyticsUpdateInput, SocialPostAnalyticsUncheckedUpdateInput>
105148
106298
  /**
105149
- * Choose, which LatestCreatorPaymentTransaction to update.
106299
+ * Choose, which SocialPostAnalytics to update.
105150
106300
  */
105151
- where: LatestCreatorPaymentTransactionWhereUniqueInput
106301
+ where: SocialPostAnalyticsWhereUniqueInput
105152
106302
  }
105153
106303
 
105154
106304
  /**
105155
- * LatestCreatorPaymentTransaction updateMany
106305
+ * SocialPostAnalytics updateMany
105156
106306
  */
105157
- export type LatestCreatorPaymentTransactionUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106307
+ export type SocialPostAnalyticsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105158
106308
  /**
105159
- * The data used to update LatestCreatorPaymentTransactions.
106309
+ * The data used to update SocialPostAnalytics.
105160
106310
  */
105161
- data: XOR<LatestCreatorPaymentTransactionUpdateManyMutationInput, LatestCreatorPaymentTransactionUncheckedUpdateManyInput>
106311
+ data: XOR<SocialPostAnalyticsUpdateManyMutationInput, SocialPostAnalyticsUncheckedUpdateManyInput>
105162
106312
  /**
105163
- * Filter which LatestCreatorPaymentTransactions to update
106313
+ * Filter which SocialPostAnalytics to update
105164
106314
  */
105165
- where?: LatestCreatorPaymentTransactionWhereInput
106315
+ where?: SocialPostAnalyticsWhereInput
105166
106316
  }
105167
106317
 
105168
106318
  /**
105169
- * LatestCreatorPaymentTransaction upsert
106319
+ * SocialPostAnalytics upsert
105170
106320
  */
105171
- export type LatestCreatorPaymentTransactionUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106321
+ export type SocialPostAnalyticsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105172
106322
  /**
105173
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106323
+ * Select specific fields to fetch from the SocialPostAnalytics
105174
106324
  */
105175
- select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
106325
+ select?: SocialPostAnalyticsSelect<ExtArgs> | null
105176
106326
  /**
105177
- * The filter to search for the LatestCreatorPaymentTransaction to update in case it exists.
106327
+ * The filter to search for the SocialPostAnalytics to update in case it exists.
105178
106328
  */
105179
- where: LatestCreatorPaymentTransactionWhereUniqueInput
106329
+ where: SocialPostAnalyticsWhereUniqueInput
105180
106330
  /**
105181
- * In case the LatestCreatorPaymentTransaction found by the `where` argument doesn't exist, create a new LatestCreatorPaymentTransaction with this data.
106331
+ * In case the SocialPostAnalytics found by the `where` argument doesn't exist, create a new SocialPostAnalytics with this data.
105182
106332
  */
105183
- create: XOR<LatestCreatorPaymentTransactionCreateInput, LatestCreatorPaymentTransactionUncheckedCreateInput>
106333
+ create: XOR<SocialPostAnalyticsCreateInput, SocialPostAnalyticsUncheckedCreateInput>
105184
106334
  /**
105185
- * In case the LatestCreatorPaymentTransaction was found with the provided `where` argument, update it with this data.
106335
+ * In case the SocialPostAnalytics was found with the provided `where` argument, update it with this data.
105186
106336
  */
105187
- update: XOR<LatestCreatorPaymentTransactionUpdateInput, LatestCreatorPaymentTransactionUncheckedUpdateInput>
106337
+ update: XOR<SocialPostAnalyticsUpdateInput, SocialPostAnalyticsUncheckedUpdateInput>
105188
106338
  }
105189
106339
 
105190
106340
  /**
105191
- * LatestCreatorPaymentTransaction delete
106341
+ * SocialPostAnalytics delete
105192
106342
  */
105193
- export type LatestCreatorPaymentTransactionDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106343
+ export type SocialPostAnalyticsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105194
106344
  /**
105195
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106345
+ * Select specific fields to fetch from the SocialPostAnalytics
105196
106346
  */
105197
- select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
106347
+ select?: SocialPostAnalyticsSelect<ExtArgs> | null
105198
106348
  /**
105199
- * Filter which LatestCreatorPaymentTransaction to delete.
106349
+ * Filter which SocialPostAnalytics to delete.
105200
106350
  */
105201
- where: LatestCreatorPaymentTransactionWhereUniqueInput
106351
+ where: SocialPostAnalyticsWhereUniqueInput
105202
106352
  }
105203
106353
 
105204
106354
  /**
105205
- * LatestCreatorPaymentTransaction deleteMany
106355
+ * SocialPostAnalytics deleteMany
105206
106356
  */
105207
- export type LatestCreatorPaymentTransactionDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106357
+ export type SocialPostAnalyticsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105208
106358
  /**
105209
- * Filter which LatestCreatorPaymentTransactions to delete
106359
+ * Filter which SocialPostAnalytics to delete
105210
106360
  */
105211
- where?: LatestCreatorPaymentTransactionWhereInput
106361
+ where?: SocialPostAnalyticsWhereInput
105212
106362
  }
105213
106363
 
105214
106364
  /**
105215
- * LatestCreatorPaymentTransaction without action
106365
+ * SocialPostAnalytics without action
105216
106366
  */
105217
- export type LatestCreatorPaymentTransactionDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
106367
+ export type SocialPostAnalyticsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
105218
106368
  /**
105219
- * Select specific fields to fetch from the LatestCreatorPaymentTransaction
106369
+ * Select specific fields to fetch from the SocialPostAnalytics
105220
106370
  */
105221
- select?: LatestCreatorPaymentTransactionSelect<ExtArgs> | null
106371
+ select?: SocialPostAnalyticsSelect<ExtArgs> | null
105222
106372
  }
105223
106373
 
105224
106374
 
@@ -106575,6 +107725,26 @@ export namespace Prisma {
106575
107725
  export type LatestCreatorPaymentTransactionScalarFieldEnum = (typeof LatestCreatorPaymentTransactionScalarFieldEnum)[keyof typeof LatestCreatorPaymentTransactionScalarFieldEnum]
106576
107726
 
106577
107727
 
107728
+ export const SocialPostAnalyticsScalarFieldEnum: {
107729
+ id: 'id',
107730
+ campaignId: 'campaignId',
107731
+ platform: 'platform',
107732
+ reach: 'reach',
107733
+ likes: 'likes',
107734
+ comments: 'comments',
107735
+ impressions: 'impressions',
107736
+ views: 'views',
107737
+ replays: 'replays',
107738
+ shares: 'shares',
107739
+ saves: 'saves',
107740
+ engagement_rate: 'engagement_rate',
107741
+ posted: 'posted',
107742
+ userId: 'userId'
107743
+ };
107744
+
107745
+ export type SocialPostAnalyticsScalarFieldEnum = (typeof SocialPostAnalyticsScalarFieldEnum)[keyof typeof SocialPostAnalyticsScalarFieldEnum]
107746
+
107747
+
106578
107748
  export const SortOrder: {
106579
107749
  asc: 'asc',
106580
107750
  desc: 'desc'
@@ -107262,6 +108432,13 @@ export namespace Prisma {
107262
108432
  export type LatestCreatorPaymentTransactionOrderByRelevanceFieldEnum = (typeof LatestCreatorPaymentTransactionOrderByRelevanceFieldEnum)[keyof typeof LatestCreatorPaymentTransactionOrderByRelevanceFieldEnum]
107263
108433
 
107264
108434
 
108435
+ export const SocialPostAnalyticsOrderByRelevanceFieldEnum: {
108436
+ platform: 'platform'
108437
+ };
108438
+
108439
+ export type SocialPostAnalyticsOrderByRelevanceFieldEnum = (typeof SocialPostAnalyticsOrderByRelevanceFieldEnum)[keyof typeof SocialPostAnalyticsOrderByRelevanceFieldEnum]
108440
+
108441
+
107265
108442
  /**
107266
108443
  * Field references
107267
108444
  */
@@ -115029,6 +116206,106 @@ export namespace Prisma {
115029
116206
  creatorId?: IntNullableWithAggregatesFilter<"LatestCreatorPaymentTransaction"> | number | null
115030
116207
  }
115031
116208
 
116209
+ export type SocialPostAnalyticsWhereInput = {
116210
+ AND?: SocialPostAnalyticsWhereInput | SocialPostAnalyticsWhereInput[]
116211
+ OR?: SocialPostAnalyticsWhereInput[]
116212
+ NOT?: SocialPostAnalyticsWhereInput | SocialPostAnalyticsWhereInput[]
116213
+ id?: IntFilter<"SocialPostAnalytics"> | number
116214
+ campaignId?: IntFilter<"SocialPostAnalytics"> | number
116215
+ platform?: StringNullableFilter<"SocialPostAnalytics"> | string | null
116216
+ reach?: IntFilter<"SocialPostAnalytics"> | number
116217
+ likes?: IntFilter<"SocialPostAnalytics"> | number
116218
+ comments?: IntFilter<"SocialPostAnalytics"> | number
116219
+ impressions?: IntFilter<"SocialPostAnalytics"> | number
116220
+ views?: IntFilter<"SocialPostAnalytics"> | number
116221
+ replays?: IntFilter<"SocialPostAnalytics"> | number
116222
+ shares?: IntFilter<"SocialPostAnalytics"> | number
116223
+ saves?: IntFilter<"SocialPostAnalytics"> | number
116224
+ engagement_rate?: FloatFilter<"SocialPostAnalytics"> | number
116225
+ posted?: DateTimeNullableFilter<"SocialPostAnalytics"> | Date | string | null
116226
+ userId?: IntFilter<"SocialPostAnalytics"> | number
116227
+ }
116228
+
116229
+ export type SocialPostAnalyticsOrderByWithRelationInput = {
116230
+ id?: SortOrder
116231
+ campaignId?: SortOrder
116232
+ platform?: SortOrderInput | SortOrder
116233
+ reach?: SortOrder
116234
+ likes?: SortOrder
116235
+ comments?: SortOrder
116236
+ impressions?: SortOrder
116237
+ views?: SortOrder
116238
+ replays?: SortOrder
116239
+ shares?: SortOrder
116240
+ saves?: SortOrder
116241
+ engagement_rate?: SortOrder
116242
+ posted?: SortOrderInput | SortOrder
116243
+ userId?: SortOrder
116244
+ _relevance?: SocialPostAnalyticsOrderByRelevanceInput
116245
+ }
116246
+
116247
+ export type SocialPostAnalyticsWhereUniqueInput = Prisma.AtLeast<{
116248
+ id?: number
116249
+ AND?: SocialPostAnalyticsWhereInput | SocialPostAnalyticsWhereInput[]
116250
+ OR?: SocialPostAnalyticsWhereInput[]
116251
+ NOT?: SocialPostAnalyticsWhereInput | SocialPostAnalyticsWhereInput[]
116252
+ campaignId?: IntFilter<"SocialPostAnalytics"> | number
116253
+ platform?: StringNullableFilter<"SocialPostAnalytics"> | string | null
116254
+ reach?: IntFilter<"SocialPostAnalytics"> | number
116255
+ likes?: IntFilter<"SocialPostAnalytics"> | number
116256
+ comments?: IntFilter<"SocialPostAnalytics"> | number
116257
+ impressions?: IntFilter<"SocialPostAnalytics"> | number
116258
+ views?: IntFilter<"SocialPostAnalytics"> | number
116259
+ replays?: IntFilter<"SocialPostAnalytics"> | number
116260
+ shares?: IntFilter<"SocialPostAnalytics"> | number
116261
+ saves?: IntFilter<"SocialPostAnalytics"> | number
116262
+ engagement_rate?: FloatFilter<"SocialPostAnalytics"> | number
116263
+ posted?: DateTimeNullableFilter<"SocialPostAnalytics"> | Date | string | null
116264
+ userId?: IntFilter<"SocialPostAnalytics"> | number
116265
+ }, "id">
116266
+
116267
+ export type SocialPostAnalyticsOrderByWithAggregationInput = {
116268
+ id?: SortOrder
116269
+ campaignId?: SortOrder
116270
+ platform?: SortOrderInput | SortOrder
116271
+ reach?: SortOrder
116272
+ likes?: SortOrder
116273
+ comments?: SortOrder
116274
+ impressions?: SortOrder
116275
+ views?: SortOrder
116276
+ replays?: SortOrder
116277
+ shares?: SortOrder
116278
+ saves?: SortOrder
116279
+ engagement_rate?: SortOrder
116280
+ posted?: SortOrderInput | SortOrder
116281
+ userId?: SortOrder
116282
+ _count?: SocialPostAnalyticsCountOrderByAggregateInput
116283
+ _avg?: SocialPostAnalyticsAvgOrderByAggregateInput
116284
+ _max?: SocialPostAnalyticsMaxOrderByAggregateInput
116285
+ _min?: SocialPostAnalyticsMinOrderByAggregateInput
116286
+ _sum?: SocialPostAnalyticsSumOrderByAggregateInput
116287
+ }
116288
+
116289
+ export type SocialPostAnalyticsScalarWhereWithAggregatesInput = {
116290
+ AND?: SocialPostAnalyticsScalarWhereWithAggregatesInput | SocialPostAnalyticsScalarWhereWithAggregatesInput[]
116291
+ OR?: SocialPostAnalyticsScalarWhereWithAggregatesInput[]
116292
+ NOT?: SocialPostAnalyticsScalarWhereWithAggregatesInput | SocialPostAnalyticsScalarWhereWithAggregatesInput[]
116293
+ id?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116294
+ campaignId?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116295
+ platform?: StringNullableWithAggregatesFilter<"SocialPostAnalytics"> | string | null
116296
+ reach?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116297
+ likes?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116298
+ comments?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116299
+ impressions?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116300
+ views?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116301
+ replays?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116302
+ shares?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116303
+ saves?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116304
+ engagement_rate?: FloatWithAggregatesFilter<"SocialPostAnalytics"> | number
116305
+ posted?: DateTimeNullableWithAggregatesFilter<"SocialPostAnalytics"> | Date | string | null
116306
+ userId?: IntWithAggregatesFilter<"SocialPostAnalytics"> | number
116307
+ }
116308
+
115032
116309
  export type UserCreateInput = {
115033
116310
  idmId?: string | null
115034
116311
  role: string
@@ -122788,6 +124065,125 @@ export namespace Prisma {
122788
124065
  creatorId?: NullableIntFieldUpdateOperationsInput | number | null
122789
124066
  }
122790
124067
 
124068
+ export type SocialPostAnalyticsCreateInput = {
124069
+ id: number
124070
+ campaignId: number
124071
+ platform?: string | null
124072
+ reach: number
124073
+ likes: number
124074
+ comments: number
124075
+ impressions: number
124076
+ views: number
124077
+ replays: number
124078
+ shares: number
124079
+ saves: number
124080
+ engagement_rate: number
124081
+ posted?: Date | string | null
124082
+ userId: number
124083
+ }
124084
+
124085
+ export type SocialPostAnalyticsUncheckedCreateInput = {
124086
+ id: number
124087
+ campaignId: number
124088
+ platform?: string | null
124089
+ reach: number
124090
+ likes: number
124091
+ comments: number
124092
+ impressions: number
124093
+ views: number
124094
+ replays: number
124095
+ shares: number
124096
+ saves: number
124097
+ engagement_rate: number
124098
+ posted?: Date | string | null
124099
+ userId: number
124100
+ }
124101
+
124102
+ export type SocialPostAnalyticsUpdateInput = {
124103
+ id?: IntFieldUpdateOperationsInput | number
124104
+ campaignId?: IntFieldUpdateOperationsInput | number
124105
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
124106
+ reach?: IntFieldUpdateOperationsInput | number
124107
+ likes?: IntFieldUpdateOperationsInput | number
124108
+ comments?: IntFieldUpdateOperationsInput | number
124109
+ impressions?: IntFieldUpdateOperationsInput | number
124110
+ views?: IntFieldUpdateOperationsInput | number
124111
+ replays?: IntFieldUpdateOperationsInput | number
124112
+ shares?: IntFieldUpdateOperationsInput | number
124113
+ saves?: IntFieldUpdateOperationsInput | number
124114
+ engagement_rate?: FloatFieldUpdateOperationsInput | number
124115
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
124116
+ userId?: IntFieldUpdateOperationsInput | number
124117
+ }
124118
+
124119
+ export type SocialPostAnalyticsUncheckedUpdateInput = {
124120
+ id?: IntFieldUpdateOperationsInput | number
124121
+ campaignId?: IntFieldUpdateOperationsInput | number
124122
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
124123
+ reach?: IntFieldUpdateOperationsInput | number
124124
+ likes?: IntFieldUpdateOperationsInput | number
124125
+ comments?: IntFieldUpdateOperationsInput | number
124126
+ impressions?: IntFieldUpdateOperationsInput | number
124127
+ views?: IntFieldUpdateOperationsInput | number
124128
+ replays?: IntFieldUpdateOperationsInput | number
124129
+ shares?: IntFieldUpdateOperationsInput | number
124130
+ saves?: IntFieldUpdateOperationsInput | number
124131
+ engagement_rate?: FloatFieldUpdateOperationsInput | number
124132
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
124133
+ userId?: IntFieldUpdateOperationsInput | number
124134
+ }
124135
+
124136
+ export type SocialPostAnalyticsCreateManyInput = {
124137
+ id: number
124138
+ campaignId: number
124139
+ platform?: string | null
124140
+ reach: number
124141
+ likes: number
124142
+ comments: number
124143
+ impressions: number
124144
+ views: number
124145
+ replays: number
124146
+ shares: number
124147
+ saves: number
124148
+ engagement_rate: number
124149
+ posted?: Date | string | null
124150
+ userId: number
124151
+ }
124152
+
124153
+ export type SocialPostAnalyticsUpdateManyMutationInput = {
124154
+ id?: IntFieldUpdateOperationsInput | number
124155
+ campaignId?: IntFieldUpdateOperationsInput | number
124156
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
124157
+ reach?: IntFieldUpdateOperationsInput | number
124158
+ likes?: IntFieldUpdateOperationsInput | number
124159
+ comments?: IntFieldUpdateOperationsInput | number
124160
+ impressions?: IntFieldUpdateOperationsInput | number
124161
+ views?: IntFieldUpdateOperationsInput | number
124162
+ replays?: IntFieldUpdateOperationsInput | number
124163
+ shares?: IntFieldUpdateOperationsInput | number
124164
+ saves?: IntFieldUpdateOperationsInput | number
124165
+ engagement_rate?: FloatFieldUpdateOperationsInput | number
124166
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
124167
+ userId?: IntFieldUpdateOperationsInput | number
124168
+ }
124169
+
124170
+ export type SocialPostAnalyticsUncheckedUpdateManyInput = {
124171
+ id?: IntFieldUpdateOperationsInput | number
124172
+ campaignId?: IntFieldUpdateOperationsInput | number
124173
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
124174
+ reach?: IntFieldUpdateOperationsInput | number
124175
+ likes?: IntFieldUpdateOperationsInput | number
124176
+ comments?: IntFieldUpdateOperationsInput | number
124177
+ impressions?: IntFieldUpdateOperationsInput | number
124178
+ views?: IntFieldUpdateOperationsInput | number
124179
+ replays?: IntFieldUpdateOperationsInput | number
124180
+ shares?: IntFieldUpdateOperationsInput | number
124181
+ saves?: IntFieldUpdateOperationsInput | number
124182
+ engagement_rate?: FloatFieldUpdateOperationsInput | number
124183
+ posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
124184
+ userId?: IntFieldUpdateOperationsInput | number
124185
+ }
124186
+
122791
124187
  export type IntFilter<$PrismaModel = never> = {
122792
124188
  equals?: number | IntFieldRefInput<$PrismaModel>
122793
124189
  in?: number[] | ListIntFieldRefInput<$PrismaModel>
@@ -129097,6 +130493,93 @@ export namespace Prisma {
129097
130493
  creatorId?: SortOrder
129098
130494
  }
129099
130495
 
130496
+ export type SocialPostAnalyticsOrderByRelevanceInput = {
130497
+ fields: SocialPostAnalyticsOrderByRelevanceFieldEnum | SocialPostAnalyticsOrderByRelevanceFieldEnum[]
130498
+ sort: SortOrder
130499
+ search: string
130500
+ }
130501
+
130502
+ export type SocialPostAnalyticsCountOrderByAggregateInput = {
130503
+ id?: SortOrder
130504
+ campaignId?: SortOrder
130505
+ platform?: SortOrder
130506
+ reach?: SortOrder
130507
+ likes?: SortOrder
130508
+ comments?: SortOrder
130509
+ impressions?: SortOrder
130510
+ views?: SortOrder
130511
+ replays?: SortOrder
130512
+ shares?: SortOrder
130513
+ saves?: SortOrder
130514
+ engagement_rate?: SortOrder
130515
+ posted?: SortOrder
130516
+ userId?: SortOrder
130517
+ }
130518
+
130519
+ export type SocialPostAnalyticsAvgOrderByAggregateInput = {
130520
+ id?: SortOrder
130521
+ campaignId?: SortOrder
130522
+ reach?: SortOrder
130523
+ likes?: SortOrder
130524
+ comments?: SortOrder
130525
+ impressions?: SortOrder
130526
+ views?: SortOrder
130527
+ replays?: SortOrder
130528
+ shares?: SortOrder
130529
+ saves?: SortOrder
130530
+ engagement_rate?: SortOrder
130531
+ userId?: SortOrder
130532
+ }
130533
+
130534
+ export type SocialPostAnalyticsMaxOrderByAggregateInput = {
130535
+ id?: SortOrder
130536
+ campaignId?: SortOrder
130537
+ platform?: SortOrder
130538
+ reach?: SortOrder
130539
+ likes?: SortOrder
130540
+ comments?: SortOrder
130541
+ impressions?: SortOrder
130542
+ views?: SortOrder
130543
+ replays?: SortOrder
130544
+ shares?: SortOrder
130545
+ saves?: SortOrder
130546
+ engagement_rate?: SortOrder
130547
+ posted?: SortOrder
130548
+ userId?: SortOrder
130549
+ }
130550
+
130551
+ export type SocialPostAnalyticsMinOrderByAggregateInput = {
130552
+ id?: SortOrder
130553
+ campaignId?: SortOrder
130554
+ platform?: SortOrder
130555
+ reach?: SortOrder
130556
+ likes?: SortOrder
130557
+ comments?: SortOrder
130558
+ impressions?: SortOrder
130559
+ views?: SortOrder
130560
+ replays?: SortOrder
130561
+ shares?: SortOrder
130562
+ saves?: SortOrder
130563
+ engagement_rate?: SortOrder
130564
+ posted?: SortOrder
130565
+ userId?: SortOrder
130566
+ }
130567
+
130568
+ export type SocialPostAnalyticsSumOrderByAggregateInput = {
130569
+ id?: SortOrder
130570
+ campaignId?: SortOrder
130571
+ reach?: SortOrder
130572
+ likes?: SortOrder
130573
+ comments?: SortOrder
130574
+ impressions?: SortOrder
130575
+ views?: SortOrder
130576
+ replays?: SortOrder
130577
+ shares?: SortOrder
130578
+ saves?: SortOrder
130579
+ engagement_rate?: SortOrder
130580
+ userId?: SortOrder
130581
+ }
130582
+
129100
130583
  export type UserCreateNestedOneWithoutReferredUsersInput = {
129101
130584
  create?: XOR<UserCreateWithoutReferredUsersInput, UserUncheckedCreateWithoutReferredUsersInput>
129102
130585
  connectOrCreate?: UserCreateOrConnectWithoutReferredUsersInput
@@ -177848,6 +179331,10 @@ export namespace Prisma {
177848
179331
  * @deprecated Use LatestCreatorPaymentTransactionDefaultArgs instead
177849
179332
  */
177850
179333
  export type LatestCreatorPaymentTransactionArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = LatestCreatorPaymentTransactionDefaultArgs<ExtArgs>
179334
+ /**
179335
+ * @deprecated Use SocialPostAnalyticsDefaultArgs instead
179336
+ */
179337
+ export type SocialPostAnalyticsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialPostAnalyticsDefaultArgs<ExtArgs>
177851
179338
 
177852
179339
  /**
177853
179340
  * Batch Payload for updateMany & deleteMany & createMany