@creator.co/creatorco-prisma-client 1.0.81 → 1.0.82-alpha-87c8144

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
@@ -303,6 +303,11 @@ export type CreatorListItem = $Result.DefaultSelection<Prisma.$CreatorListItemPa
303
303
  *
304
304
  */
305
305
  export type SocialProfile = $Result.DefaultSelection<Prisma.$SocialProfilePayload>
306
+ /**
307
+ * Model SocialProfileContact
308
+ *
309
+ */
310
+ export type SocialProfileContact = $Result.DefaultSelection<Prisma.$SocialProfileContactPayload>
306
311
  /**
307
312
  * Model MessageTemplate
308
313
  *
@@ -483,6 +488,14 @@ export const CampaignToSocialPostStatus: {
483
488
  export type CampaignToSocialPostStatus = (typeof CampaignToSocialPostStatus)[keyof typeof CampaignToSocialPostStatus]
484
489
 
485
490
 
491
+ export const SocialProfileContactSource: {
492
+ MANUAL: 'MANUAL',
493
+ IMAI: 'IMAI'
494
+ };
495
+
496
+ export type SocialProfileContactSource = (typeof SocialProfileContactSource)[keyof typeof SocialProfileContactSource]
497
+
498
+
486
499
  export const ShopifyStoreSyncStatus: {
487
500
  syncing: 'syncing',
488
501
  synced: 'synced',
@@ -521,6 +534,10 @@ export type CampaignToSocialPostStatus = $Enums.CampaignToSocialPostStatus
521
534
 
522
535
  export const CampaignToSocialPostStatus: typeof $Enums.CampaignToSocialPostStatus
523
536
 
537
+ export type SocialProfileContactSource = $Enums.SocialProfileContactSource
538
+
539
+ export const SocialProfileContactSource: typeof $Enums.SocialProfileContactSource
540
+
524
541
  export type ShopifyStoreSyncStatus = $Enums.ShopifyStoreSyncStatus
525
542
 
526
543
  export const ShopifyStoreSyncStatus: typeof $Enums.ShopifyStoreSyncStatus
@@ -1236,6 +1253,16 @@ export class PrismaClient<
1236
1253
  */
1237
1254
  get socialProfile(): Prisma.SocialProfileDelegate<ExtArgs>;
1238
1255
 
1256
+ /**
1257
+ * `prisma.socialProfileContact`: Exposes CRUD operations for the **SocialProfileContact** model.
1258
+ * Example usage:
1259
+ * ```ts
1260
+ * // Fetch zero or more SocialProfileContacts
1261
+ * const socialProfileContacts = await prisma.socialProfileContact.findMany()
1262
+ * ```
1263
+ */
1264
+ get socialProfileContact(): Prisma.SocialProfileContactDelegate<ExtArgs>;
1265
+
1239
1266
  /**
1240
1267
  * `prisma.messageTemplate`: Exposes CRUD operations for the **MessageTemplate** model.
1241
1268
  * Example usage:
@@ -2024,6 +2051,7 @@ export namespace Prisma {
2024
2051
  CreatorList: 'CreatorList',
2025
2052
  CreatorListItem: 'CreatorListItem',
2026
2053
  SocialProfile: 'SocialProfile',
2054
+ SocialProfileContact: 'SocialProfileContact',
2027
2055
  MessageTemplate: 'MessageTemplate',
2028
2056
  EmailTemplate: 'EmailTemplate',
2029
2057
  SocialListeningList: 'SocialListeningList',
@@ -2068,7 +2096,7 @@ export namespace Prisma {
2068
2096
 
2069
2097
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
2070
2098
  meta: {
2071
- 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" | "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"
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"
2072
2100
  txIsolationLevel: Prisma.TransactionIsolationLevel
2073
2101
  }
2074
2102
  model: {
@@ -6132,6 +6160,76 @@ export namespace Prisma {
6132
6160
  }
6133
6161
  }
6134
6162
  }
6163
+ SocialProfileContact: {
6164
+ payload: Prisma.$SocialProfileContactPayload<ExtArgs>
6165
+ fields: Prisma.SocialProfileContactFieldRefs
6166
+ operations: {
6167
+ findUnique: {
6168
+ args: Prisma.SocialProfileContactFindUniqueArgs<ExtArgs>
6169
+ result: $Utils.PayloadToResult<Prisma.$SocialProfileContactPayload> | null
6170
+ }
6171
+ findUniqueOrThrow: {
6172
+ args: Prisma.SocialProfileContactFindUniqueOrThrowArgs<ExtArgs>
6173
+ result: $Utils.PayloadToResult<Prisma.$SocialProfileContactPayload>
6174
+ }
6175
+ findFirst: {
6176
+ args: Prisma.SocialProfileContactFindFirstArgs<ExtArgs>
6177
+ result: $Utils.PayloadToResult<Prisma.$SocialProfileContactPayload> | null
6178
+ }
6179
+ findFirstOrThrow: {
6180
+ args: Prisma.SocialProfileContactFindFirstOrThrowArgs<ExtArgs>
6181
+ result: $Utils.PayloadToResult<Prisma.$SocialProfileContactPayload>
6182
+ }
6183
+ findMany: {
6184
+ args: Prisma.SocialProfileContactFindManyArgs<ExtArgs>
6185
+ result: $Utils.PayloadToResult<Prisma.$SocialProfileContactPayload>[]
6186
+ }
6187
+ create: {
6188
+ args: Prisma.SocialProfileContactCreateArgs<ExtArgs>
6189
+ result: $Utils.PayloadToResult<Prisma.$SocialProfileContactPayload>
6190
+ }
6191
+ createMany: {
6192
+ args: Prisma.SocialProfileContactCreateManyArgs<ExtArgs>
6193
+ result: BatchPayload
6194
+ }
6195
+ createManyAndReturn: {
6196
+ args: Prisma.SocialProfileContactCreateManyAndReturnArgs<ExtArgs>
6197
+ result: $Utils.PayloadToResult<Prisma.$SocialProfileContactPayload>[]
6198
+ }
6199
+ delete: {
6200
+ args: Prisma.SocialProfileContactDeleteArgs<ExtArgs>
6201
+ result: $Utils.PayloadToResult<Prisma.$SocialProfileContactPayload>
6202
+ }
6203
+ update: {
6204
+ args: Prisma.SocialProfileContactUpdateArgs<ExtArgs>
6205
+ result: $Utils.PayloadToResult<Prisma.$SocialProfileContactPayload>
6206
+ }
6207
+ deleteMany: {
6208
+ args: Prisma.SocialProfileContactDeleteManyArgs<ExtArgs>
6209
+ result: BatchPayload
6210
+ }
6211
+ updateMany: {
6212
+ args: Prisma.SocialProfileContactUpdateManyArgs<ExtArgs>
6213
+ result: BatchPayload
6214
+ }
6215
+ upsert: {
6216
+ args: Prisma.SocialProfileContactUpsertArgs<ExtArgs>
6217
+ result: $Utils.PayloadToResult<Prisma.$SocialProfileContactPayload>
6218
+ }
6219
+ aggregate: {
6220
+ args: Prisma.SocialProfileContactAggregateArgs<ExtArgs>
6221
+ result: $Utils.Optional<AggregateSocialProfileContact>
6222
+ }
6223
+ groupBy: {
6224
+ args: Prisma.SocialProfileContactGroupByArgs<ExtArgs>
6225
+ result: $Utils.Optional<SocialProfileContactGroupByOutputType>[]
6226
+ }
6227
+ count: {
6228
+ args: Prisma.SocialProfileContactCountArgs<ExtArgs>
6229
+ result: $Utils.Optional<SocialProfileContactCountAggregateOutputType> | number
6230
+ }
6231
+ }
6232
+ }
6135
6233
  MessageTemplate: {
6136
6234
  payload: Prisma.$MessageTemplatePayload<ExtArgs>
6137
6235
  fields: Prisma.MessageTemplateFieldRefs
@@ -9853,12 +9951,14 @@ export namespace Prisma {
9853
9951
  creatorListItems: number
9854
9952
  campaignInvites: number
9855
9953
  creditRefundBatches: number
9954
+ socialProfileContacts: number
9856
9955
  }
9857
9956
 
9858
9957
  export type SocialProfileCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9859
9958
  creatorListItems?: boolean | SocialProfileCountOutputTypeCountCreatorListItemsArgs
9860
9959
  campaignInvites?: boolean | SocialProfileCountOutputTypeCountCampaignInvitesArgs
9861
9960
  creditRefundBatches?: boolean | SocialProfileCountOutputTypeCountCreditRefundBatchesArgs
9961
+ socialProfileContacts?: boolean | SocialProfileCountOutputTypeCountSocialProfileContactsArgs
9862
9962
  }
9863
9963
 
9864
9964
  // Custom InputTypes
@@ -9893,6 +9993,13 @@ export namespace Prisma {
9893
9993
  where?: CreditRefundBatchWhereInput
9894
9994
  }
9895
9995
 
9996
+ /**
9997
+ * SocialProfileCountOutputType without action
9998
+ */
9999
+ export type SocialProfileCountOutputTypeCountSocialProfileContactsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10000
+ where?: SocialProfileContactWhereInput
10001
+ }
10002
+
9896
10003
 
9897
10004
  /**
9898
10005
  * Count Type EmailTemplateCountOutputType
@@ -73156,6 +73263,7 @@ export namespace Prisma {
73156
73263
  campaignInvites?: boolean | SocialProfile$campaignInvitesArgs<ExtArgs>
73157
73264
  user?: boolean | SocialProfile$userArgs<ExtArgs>
73158
73265
  creditRefundBatches?: boolean | SocialProfile$creditRefundBatchesArgs<ExtArgs>
73266
+ socialProfileContacts?: boolean | SocialProfile$socialProfileContactsArgs<ExtArgs>
73159
73267
  _count?: boolean | SocialProfileCountOutputTypeDefaultArgs<ExtArgs>
73160
73268
  }, ExtArgs["result"]["socialProfile"]>
73161
73269
 
@@ -73207,6 +73315,7 @@ export namespace Prisma {
73207
73315
  campaignInvites?: boolean | SocialProfile$campaignInvitesArgs<ExtArgs>
73208
73316
  user?: boolean | SocialProfile$userArgs<ExtArgs>
73209
73317
  creditRefundBatches?: boolean | SocialProfile$creditRefundBatchesArgs<ExtArgs>
73318
+ socialProfileContacts?: boolean | SocialProfile$socialProfileContactsArgs<ExtArgs>
73210
73319
  _count?: boolean | SocialProfileCountOutputTypeDefaultArgs<ExtArgs>
73211
73320
  }
73212
73321
  export type SocialProfileIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -73220,6 +73329,7 @@ export namespace Prisma {
73220
73329
  campaignInvites: Prisma.$CampaignInvitePayload<ExtArgs>[]
73221
73330
  user: Prisma.$UserPayload<ExtArgs> | null
73222
73331
  creditRefundBatches: Prisma.$CreditRefundBatchPayload<ExtArgs>[]
73332
+ socialProfileContacts: Prisma.$SocialProfileContactPayload<ExtArgs>[]
73223
73333
  }
73224
73334
  scalars: $Extensions.GetPayloadResult<{
73225
73335
  id: number
@@ -73608,6 +73718,7 @@ export namespace Prisma {
73608
73718
  campaignInvites<T extends SocialProfile$campaignInvitesArgs<ExtArgs> = {}>(args?: Subset<T, SocialProfile$campaignInvitesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignInvitePayload<ExtArgs>, T, "findMany"> | Null>
73609
73719
  user<T extends SocialProfile$userArgs<ExtArgs> = {}>(args?: Subset<T, SocialProfile$userArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
73610
73720
  creditRefundBatches<T extends SocialProfile$creditRefundBatchesArgs<ExtArgs> = {}>(args?: Subset<T, SocialProfile$creditRefundBatchesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CreditRefundBatchPayload<ExtArgs>, T, "findMany"> | Null>
73721
+ socialProfileContacts<T extends SocialProfile$socialProfileContactsArgs<ExtArgs> = {}>(args?: Subset<T, SocialProfile$socialProfileContactsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "findMany"> | Null>
73611
73722
  /**
73612
73723
  * Attaches callbacks for the resolution and/or rejection of the Promise.
73613
73724
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -74047,6 +74158,26 @@ export namespace Prisma {
74047
74158
  distinct?: CreditRefundBatchScalarFieldEnum | CreditRefundBatchScalarFieldEnum[]
74048
74159
  }
74049
74160
 
74161
+ /**
74162
+ * SocialProfile.socialProfileContacts
74163
+ */
74164
+ export type SocialProfile$socialProfileContactsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74165
+ /**
74166
+ * Select specific fields to fetch from the SocialProfileContact
74167
+ */
74168
+ select?: SocialProfileContactSelect<ExtArgs> | null
74169
+ /**
74170
+ * Choose, which related nodes to fetch as well
74171
+ */
74172
+ include?: SocialProfileContactInclude<ExtArgs> | null
74173
+ where?: SocialProfileContactWhereInput
74174
+ orderBy?: SocialProfileContactOrderByWithRelationInput | SocialProfileContactOrderByWithRelationInput[]
74175
+ cursor?: SocialProfileContactWhereUniqueInput
74176
+ take?: number
74177
+ skip?: number
74178
+ distinct?: SocialProfileContactScalarFieldEnum | SocialProfileContactScalarFieldEnum[]
74179
+ }
74180
+
74050
74181
  /**
74051
74182
  * SocialProfile without action
74052
74183
  */
@@ -74063,393 +74194,382 @@ export namespace Prisma {
74063
74194
 
74064
74195
 
74065
74196
  /**
74066
- * Model MessageTemplate
74197
+ * Model SocialProfileContact
74067
74198
  */
74068
74199
 
74069
- export type AggregateMessageTemplate = {
74070
- _count: MessageTemplateCountAggregateOutputType | null
74071
- _avg: MessageTemplateAvgAggregateOutputType | null
74072
- _sum: MessageTemplateSumAggregateOutputType | null
74073
- _min: MessageTemplateMinAggregateOutputType | null
74074
- _max: MessageTemplateMaxAggregateOutputType | null
74200
+ export type AggregateSocialProfileContact = {
74201
+ _count: SocialProfileContactCountAggregateOutputType | null
74202
+ _avg: SocialProfileContactAvgAggregateOutputType | null
74203
+ _sum: SocialProfileContactSumAggregateOutputType | null
74204
+ _min: SocialProfileContactMinAggregateOutputType | null
74205
+ _max: SocialProfileContactMaxAggregateOutputType | null
74075
74206
  }
74076
74207
 
74077
- export type MessageTemplateAvgAggregateOutputType = {
74208
+ export type SocialProfileContactAvgAggregateOutputType = {
74078
74209
  id: number | null
74079
- brandId: number | null
74210
+ socialProfileId: number | null
74080
74211
  }
74081
74212
 
74082
- export type MessageTemplateSumAggregateOutputType = {
74213
+ export type SocialProfileContactSumAggregateOutputType = {
74083
74214
  id: number | null
74084
- brandId: number | null
74215
+ socialProfileId: number | null
74085
74216
  }
74086
74217
 
74087
- export type MessageTemplateMinAggregateOutputType = {
74218
+ export type SocialProfileContactMinAggregateOutputType = {
74088
74219
  id: number | null
74089
- label: string | null
74090
- template: string | null
74091
- brandId: number | null
74092
- createdAt: Date | null
74093
- updatedAt: Date | null
74220
+ type: string | null
74221
+ value: string | null
74222
+ source: $Enums.SocialProfileContactSource | null
74223
+ socialProfileId: number | null
74094
74224
  }
74095
74225
 
74096
- export type MessageTemplateMaxAggregateOutputType = {
74226
+ export type SocialProfileContactMaxAggregateOutputType = {
74097
74227
  id: number | null
74098
- label: string | null
74099
- template: string | null
74100
- brandId: number | null
74101
- createdAt: Date | null
74102
- updatedAt: Date | null
74228
+ type: string | null
74229
+ value: string | null
74230
+ source: $Enums.SocialProfileContactSource | null
74231
+ socialProfileId: number | null
74103
74232
  }
74104
74233
 
74105
- export type MessageTemplateCountAggregateOutputType = {
74234
+ export type SocialProfileContactCountAggregateOutputType = {
74106
74235
  id: number
74107
- label: number
74108
- template: number
74109
- brandId: number
74236
+ type: number
74237
+ value: number
74238
+ source: number
74110
74239
  metaData: number
74111
- createdAt: number
74112
- updatedAt: number
74240
+ socialProfileId: number
74113
74241
  _all: number
74114
74242
  }
74115
74243
 
74116
74244
 
74117
- export type MessageTemplateAvgAggregateInputType = {
74245
+ export type SocialProfileContactAvgAggregateInputType = {
74118
74246
  id?: true
74119
- brandId?: true
74247
+ socialProfileId?: true
74120
74248
  }
74121
74249
 
74122
- export type MessageTemplateSumAggregateInputType = {
74250
+ export type SocialProfileContactSumAggregateInputType = {
74123
74251
  id?: true
74124
- brandId?: true
74252
+ socialProfileId?: true
74125
74253
  }
74126
74254
 
74127
- export type MessageTemplateMinAggregateInputType = {
74255
+ export type SocialProfileContactMinAggregateInputType = {
74128
74256
  id?: true
74129
- label?: true
74130
- template?: true
74131
- brandId?: true
74132
- createdAt?: true
74133
- updatedAt?: true
74257
+ type?: true
74258
+ value?: true
74259
+ source?: true
74260
+ socialProfileId?: true
74134
74261
  }
74135
74262
 
74136
- export type MessageTemplateMaxAggregateInputType = {
74263
+ export type SocialProfileContactMaxAggregateInputType = {
74137
74264
  id?: true
74138
- label?: true
74139
- template?: true
74140
- brandId?: true
74141
- createdAt?: true
74142
- updatedAt?: true
74265
+ type?: true
74266
+ value?: true
74267
+ source?: true
74268
+ socialProfileId?: true
74143
74269
  }
74144
74270
 
74145
- export type MessageTemplateCountAggregateInputType = {
74271
+ export type SocialProfileContactCountAggregateInputType = {
74146
74272
  id?: true
74147
- label?: true
74148
- template?: true
74149
- brandId?: true
74273
+ type?: true
74274
+ value?: true
74275
+ source?: true
74150
74276
  metaData?: true
74151
- createdAt?: true
74152
- updatedAt?: true
74277
+ socialProfileId?: true
74153
74278
  _all?: true
74154
74279
  }
74155
74280
 
74156
- export type MessageTemplateAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74281
+ export type SocialProfileContactAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74157
74282
  /**
74158
- * Filter which MessageTemplate to aggregate.
74283
+ * Filter which SocialProfileContact to aggregate.
74159
74284
  */
74160
- where?: MessageTemplateWhereInput
74285
+ where?: SocialProfileContactWhereInput
74161
74286
  /**
74162
74287
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
74163
74288
  *
74164
- * Determine the order of MessageTemplates to fetch.
74289
+ * Determine the order of SocialProfileContacts to fetch.
74165
74290
  */
74166
- orderBy?: MessageTemplateOrderByWithRelationInput | MessageTemplateOrderByWithRelationInput[]
74291
+ orderBy?: SocialProfileContactOrderByWithRelationInput | SocialProfileContactOrderByWithRelationInput[]
74167
74292
  /**
74168
74293
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
74169
74294
  *
74170
74295
  * Sets the start position
74171
74296
  */
74172
- cursor?: MessageTemplateWhereUniqueInput
74297
+ cursor?: SocialProfileContactWhereUniqueInput
74173
74298
  /**
74174
74299
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
74175
74300
  *
74176
- * Take `±n` MessageTemplates from the position of the cursor.
74301
+ * Take `±n` SocialProfileContacts from the position of the cursor.
74177
74302
  */
74178
74303
  take?: number
74179
74304
  /**
74180
74305
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
74181
74306
  *
74182
- * Skip the first `n` MessageTemplates.
74307
+ * Skip the first `n` SocialProfileContacts.
74183
74308
  */
74184
74309
  skip?: number
74185
74310
  /**
74186
74311
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
74187
74312
  *
74188
- * Count returned MessageTemplates
74313
+ * Count returned SocialProfileContacts
74189
74314
  **/
74190
- _count?: true | MessageTemplateCountAggregateInputType
74315
+ _count?: true | SocialProfileContactCountAggregateInputType
74191
74316
  /**
74192
74317
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
74193
74318
  *
74194
74319
  * Select which fields to average
74195
74320
  **/
74196
- _avg?: MessageTemplateAvgAggregateInputType
74321
+ _avg?: SocialProfileContactAvgAggregateInputType
74197
74322
  /**
74198
74323
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
74199
74324
  *
74200
74325
  * Select which fields to sum
74201
74326
  **/
74202
- _sum?: MessageTemplateSumAggregateInputType
74327
+ _sum?: SocialProfileContactSumAggregateInputType
74203
74328
  /**
74204
74329
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
74205
74330
  *
74206
74331
  * Select which fields to find the minimum value
74207
74332
  **/
74208
- _min?: MessageTemplateMinAggregateInputType
74333
+ _min?: SocialProfileContactMinAggregateInputType
74209
74334
  /**
74210
74335
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
74211
74336
  *
74212
74337
  * Select which fields to find the maximum value
74213
74338
  **/
74214
- _max?: MessageTemplateMaxAggregateInputType
74339
+ _max?: SocialProfileContactMaxAggregateInputType
74215
74340
  }
74216
74341
 
74217
- export type GetMessageTemplateAggregateType<T extends MessageTemplateAggregateArgs> = {
74218
- [P in keyof T & keyof AggregateMessageTemplate]: P extends '_count' | 'count'
74342
+ export type GetSocialProfileContactAggregateType<T extends SocialProfileContactAggregateArgs> = {
74343
+ [P in keyof T & keyof AggregateSocialProfileContact]: P extends '_count' | 'count'
74219
74344
  ? T[P] extends true
74220
74345
  ? number
74221
- : GetScalarType<T[P], AggregateMessageTemplate[P]>
74222
- : GetScalarType<T[P], AggregateMessageTemplate[P]>
74346
+ : GetScalarType<T[P], AggregateSocialProfileContact[P]>
74347
+ : GetScalarType<T[P], AggregateSocialProfileContact[P]>
74223
74348
  }
74224
74349
 
74225
74350
 
74226
74351
 
74227
74352
 
74228
- export type MessageTemplateGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74229
- where?: MessageTemplateWhereInput
74230
- orderBy?: MessageTemplateOrderByWithAggregationInput | MessageTemplateOrderByWithAggregationInput[]
74231
- by: MessageTemplateScalarFieldEnum[] | MessageTemplateScalarFieldEnum
74232
- having?: MessageTemplateScalarWhereWithAggregatesInput
74353
+ export type SocialProfileContactGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74354
+ where?: SocialProfileContactWhereInput
74355
+ orderBy?: SocialProfileContactOrderByWithAggregationInput | SocialProfileContactOrderByWithAggregationInput[]
74356
+ by: SocialProfileContactScalarFieldEnum[] | SocialProfileContactScalarFieldEnum
74357
+ having?: SocialProfileContactScalarWhereWithAggregatesInput
74233
74358
  take?: number
74234
74359
  skip?: number
74235
- _count?: MessageTemplateCountAggregateInputType | true
74236
- _avg?: MessageTemplateAvgAggregateInputType
74237
- _sum?: MessageTemplateSumAggregateInputType
74238
- _min?: MessageTemplateMinAggregateInputType
74239
- _max?: MessageTemplateMaxAggregateInputType
74360
+ _count?: SocialProfileContactCountAggregateInputType | true
74361
+ _avg?: SocialProfileContactAvgAggregateInputType
74362
+ _sum?: SocialProfileContactSumAggregateInputType
74363
+ _min?: SocialProfileContactMinAggregateInputType
74364
+ _max?: SocialProfileContactMaxAggregateInputType
74240
74365
  }
74241
74366
 
74242
- export type MessageTemplateGroupByOutputType = {
74367
+ export type SocialProfileContactGroupByOutputType = {
74243
74368
  id: number
74244
- label: string | null
74245
- template: string
74246
- brandId: number | null
74247
- metaData: JsonValue
74248
- createdAt: Date | null
74249
- updatedAt: Date | null
74250
- _count: MessageTemplateCountAggregateOutputType | null
74251
- _avg: MessageTemplateAvgAggregateOutputType | null
74252
- _sum: MessageTemplateSumAggregateOutputType | null
74253
- _min: MessageTemplateMinAggregateOutputType | null
74254
- _max: MessageTemplateMaxAggregateOutputType | null
74369
+ type: string
74370
+ value: string
74371
+ source: $Enums.SocialProfileContactSource
74372
+ metaData: JsonValue | null
74373
+ socialProfileId: number
74374
+ _count: SocialProfileContactCountAggregateOutputType | null
74375
+ _avg: SocialProfileContactAvgAggregateOutputType | null
74376
+ _sum: SocialProfileContactSumAggregateOutputType | null
74377
+ _min: SocialProfileContactMinAggregateOutputType | null
74378
+ _max: SocialProfileContactMaxAggregateOutputType | null
74255
74379
  }
74256
74380
 
74257
- type GetMessageTemplateGroupByPayload<T extends MessageTemplateGroupByArgs> = Prisma.PrismaPromise<
74381
+ type GetSocialProfileContactGroupByPayload<T extends SocialProfileContactGroupByArgs> = Prisma.PrismaPromise<
74258
74382
  Array<
74259
- PickEnumerable<MessageTemplateGroupByOutputType, T['by']> &
74383
+ PickEnumerable<SocialProfileContactGroupByOutputType, T['by']> &
74260
74384
  {
74261
- [P in ((keyof T) & (keyof MessageTemplateGroupByOutputType))]: P extends '_count'
74385
+ [P in ((keyof T) & (keyof SocialProfileContactGroupByOutputType))]: P extends '_count'
74262
74386
  ? T[P] extends boolean
74263
74387
  ? number
74264
- : GetScalarType<T[P], MessageTemplateGroupByOutputType[P]>
74265
- : GetScalarType<T[P], MessageTemplateGroupByOutputType[P]>
74388
+ : GetScalarType<T[P], SocialProfileContactGroupByOutputType[P]>
74389
+ : GetScalarType<T[P], SocialProfileContactGroupByOutputType[P]>
74266
74390
  }
74267
74391
  >
74268
74392
  >
74269
74393
 
74270
74394
 
74271
- export type MessageTemplateSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
74395
+ export type SocialProfileContactSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
74272
74396
  id?: boolean
74273
- label?: boolean
74274
- template?: boolean
74275
- brandId?: boolean
74397
+ type?: boolean
74398
+ value?: boolean
74399
+ source?: boolean
74276
74400
  metaData?: boolean
74277
- createdAt?: boolean
74278
- updatedAt?: boolean
74279
- brand?: boolean | MessageTemplate$brandArgs<ExtArgs>
74280
- }, ExtArgs["result"]["messageTemplate"]>
74401
+ socialProfileId?: boolean
74402
+ socialProfile?: boolean | SocialProfileDefaultArgs<ExtArgs>
74403
+ }, ExtArgs["result"]["socialProfileContact"]>
74281
74404
 
74282
- export type MessageTemplateSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
74405
+ export type SocialProfileContactSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
74283
74406
  id?: boolean
74284
- label?: boolean
74285
- template?: boolean
74286
- brandId?: boolean
74407
+ type?: boolean
74408
+ value?: boolean
74409
+ source?: boolean
74287
74410
  metaData?: boolean
74288
- createdAt?: boolean
74289
- updatedAt?: boolean
74290
- brand?: boolean | MessageTemplate$brandArgs<ExtArgs>
74291
- }, ExtArgs["result"]["messageTemplate"]>
74411
+ socialProfileId?: boolean
74412
+ socialProfile?: boolean | SocialProfileDefaultArgs<ExtArgs>
74413
+ }, ExtArgs["result"]["socialProfileContact"]>
74292
74414
 
74293
- export type MessageTemplateSelectScalar = {
74415
+ export type SocialProfileContactSelectScalar = {
74294
74416
  id?: boolean
74295
- label?: boolean
74296
- template?: boolean
74297
- brandId?: boolean
74417
+ type?: boolean
74418
+ value?: boolean
74419
+ source?: boolean
74298
74420
  metaData?: boolean
74299
- createdAt?: boolean
74300
- updatedAt?: boolean
74421
+ socialProfileId?: boolean
74301
74422
  }
74302
74423
 
74303
- export type MessageTemplateInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74304
- brand?: boolean | MessageTemplate$brandArgs<ExtArgs>
74424
+ export type SocialProfileContactInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74425
+ socialProfile?: boolean | SocialProfileDefaultArgs<ExtArgs>
74305
74426
  }
74306
- export type MessageTemplateIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74307
- brand?: boolean | MessageTemplate$brandArgs<ExtArgs>
74427
+ export type SocialProfileContactIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74428
+ socialProfile?: boolean | SocialProfileDefaultArgs<ExtArgs>
74308
74429
  }
74309
74430
 
74310
- export type $MessageTemplatePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74311
- name: "MessageTemplate"
74431
+ export type $SocialProfileContactPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74432
+ name: "SocialProfileContact"
74312
74433
  objects: {
74313
- brand: Prisma.$BrandPayload<ExtArgs> | null
74434
+ socialProfile: Prisma.$SocialProfilePayload<ExtArgs>
74314
74435
  }
74315
74436
  scalars: $Extensions.GetPayloadResult<{
74316
74437
  id: number
74317
- label: string | null
74318
- template: string
74319
- brandId: number | null
74320
- metaData: Prisma.JsonValue
74321
- createdAt: Date | null
74322
- updatedAt: Date | null
74323
- }, ExtArgs["result"]["messageTemplate"]>
74438
+ type: string
74439
+ value: string
74440
+ source: $Enums.SocialProfileContactSource
74441
+ metaData: Prisma.JsonValue | null
74442
+ socialProfileId: number
74443
+ }, ExtArgs["result"]["socialProfileContact"]>
74324
74444
  composites: {}
74325
74445
  }
74326
74446
 
74327
- type MessageTemplateGetPayload<S extends boolean | null | undefined | MessageTemplateDefaultArgs> = $Result.GetResult<Prisma.$MessageTemplatePayload, S>
74447
+ type SocialProfileContactGetPayload<S extends boolean | null | undefined | SocialProfileContactDefaultArgs> = $Result.GetResult<Prisma.$SocialProfileContactPayload, S>
74328
74448
 
74329
- type MessageTemplateCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
74330
- Omit<MessageTemplateFindManyArgs, 'select' | 'include' | 'distinct'> & {
74331
- select?: MessageTemplateCountAggregateInputType | true
74449
+ type SocialProfileContactCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
74450
+ Omit<SocialProfileContactFindManyArgs, 'select' | 'include' | 'distinct'> & {
74451
+ select?: SocialProfileContactCountAggregateInputType | true
74332
74452
  }
74333
74453
 
74334
- export interface MessageTemplateDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
74335
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MessageTemplate'], meta: { name: 'MessageTemplate' } }
74454
+ export interface SocialProfileContactDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
74455
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SocialProfileContact'], meta: { name: 'SocialProfileContact' } }
74336
74456
  /**
74337
- * Find zero or one MessageTemplate that matches the filter.
74338
- * @param {MessageTemplateFindUniqueArgs} args - Arguments to find a MessageTemplate
74457
+ * Find zero or one SocialProfileContact that matches the filter.
74458
+ * @param {SocialProfileContactFindUniqueArgs} args - Arguments to find a SocialProfileContact
74339
74459
  * @example
74340
- * // Get one MessageTemplate
74341
- * const messageTemplate = await prisma.messageTemplate.findUnique({
74460
+ * // Get one SocialProfileContact
74461
+ * const socialProfileContact = await prisma.socialProfileContact.findUnique({
74342
74462
  * where: {
74343
74463
  * // ... provide filter here
74344
74464
  * }
74345
74465
  * })
74346
74466
  */
74347
- findUnique<T extends MessageTemplateFindUniqueArgs>(args: SelectSubset<T, MessageTemplateFindUniqueArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
74467
+ findUnique<T extends SocialProfileContactFindUniqueArgs>(args: SelectSubset<T, SocialProfileContactFindUniqueArgs<ExtArgs>>): Prisma__SocialProfileContactClient<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
74348
74468
 
74349
74469
  /**
74350
- * Find one MessageTemplate that matches the filter or throw an error with `error.code='P2025'`
74470
+ * Find one SocialProfileContact that matches the filter or throw an error with `error.code='P2025'`
74351
74471
  * if no matches were found.
74352
- * @param {MessageTemplateFindUniqueOrThrowArgs} args - Arguments to find a MessageTemplate
74472
+ * @param {SocialProfileContactFindUniqueOrThrowArgs} args - Arguments to find a SocialProfileContact
74353
74473
  * @example
74354
- * // Get one MessageTemplate
74355
- * const messageTemplate = await prisma.messageTemplate.findUniqueOrThrow({
74474
+ * // Get one SocialProfileContact
74475
+ * const socialProfileContact = await prisma.socialProfileContact.findUniqueOrThrow({
74356
74476
  * where: {
74357
74477
  * // ... provide filter here
74358
74478
  * }
74359
74479
  * })
74360
74480
  */
74361
- findUniqueOrThrow<T extends MessageTemplateFindUniqueOrThrowArgs>(args: SelectSubset<T, MessageTemplateFindUniqueOrThrowArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
74481
+ findUniqueOrThrow<T extends SocialProfileContactFindUniqueOrThrowArgs>(args: SelectSubset<T, SocialProfileContactFindUniqueOrThrowArgs<ExtArgs>>): Prisma__SocialProfileContactClient<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
74362
74482
 
74363
74483
  /**
74364
- * Find the first MessageTemplate that matches the filter.
74484
+ * Find the first SocialProfileContact that matches the filter.
74365
74485
  * Note, that providing `undefined` is treated as the value not being there.
74366
74486
  * Read more here: https://pris.ly/d/null-undefined
74367
- * @param {MessageTemplateFindFirstArgs} args - Arguments to find a MessageTemplate
74487
+ * @param {SocialProfileContactFindFirstArgs} args - Arguments to find a SocialProfileContact
74368
74488
  * @example
74369
- * // Get one MessageTemplate
74370
- * const messageTemplate = await prisma.messageTemplate.findFirst({
74489
+ * // Get one SocialProfileContact
74490
+ * const socialProfileContact = await prisma.socialProfileContact.findFirst({
74371
74491
  * where: {
74372
74492
  * // ... provide filter here
74373
74493
  * }
74374
74494
  * })
74375
74495
  */
74376
- findFirst<T extends MessageTemplateFindFirstArgs>(args?: SelectSubset<T, MessageTemplateFindFirstArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
74496
+ findFirst<T extends SocialProfileContactFindFirstArgs>(args?: SelectSubset<T, SocialProfileContactFindFirstArgs<ExtArgs>>): Prisma__SocialProfileContactClient<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
74377
74497
 
74378
74498
  /**
74379
- * Find the first MessageTemplate that matches the filter or
74499
+ * Find the first SocialProfileContact that matches the filter or
74380
74500
  * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
74381
74501
  * Note, that providing `undefined` is treated as the value not being there.
74382
74502
  * Read more here: https://pris.ly/d/null-undefined
74383
- * @param {MessageTemplateFindFirstOrThrowArgs} args - Arguments to find a MessageTemplate
74503
+ * @param {SocialProfileContactFindFirstOrThrowArgs} args - Arguments to find a SocialProfileContact
74384
74504
  * @example
74385
- * // Get one MessageTemplate
74386
- * const messageTemplate = await prisma.messageTemplate.findFirstOrThrow({
74505
+ * // Get one SocialProfileContact
74506
+ * const socialProfileContact = await prisma.socialProfileContact.findFirstOrThrow({
74387
74507
  * where: {
74388
74508
  * // ... provide filter here
74389
74509
  * }
74390
74510
  * })
74391
74511
  */
74392
- findFirstOrThrow<T extends MessageTemplateFindFirstOrThrowArgs>(args?: SelectSubset<T, MessageTemplateFindFirstOrThrowArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
74512
+ findFirstOrThrow<T extends SocialProfileContactFindFirstOrThrowArgs>(args?: SelectSubset<T, SocialProfileContactFindFirstOrThrowArgs<ExtArgs>>): Prisma__SocialProfileContactClient<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
74393
74513
 
74394
74514
  /**
74395
- * Find zero or more MessageTemplates that matches the filter.
74515
+ * Find zero or more SocialProfileContacts that matches the filter.
74396
74516
  * Note, that providing `undefined` is treated as the value not being there.
74397
74517
  * Read more here: https://pris.ly/d/null-undefined
74398
- * @param {MessageTemplateFindManyArgs} args - Arguments to filter and select certain fields only.
74518
+ * @param {SocialProfileContactFindManyArgs} args - Arguments to filter and select certain fields only.
74399
74519
  * @example
74400
- * // Get all MessageTemplates
74401
- * const messageTemplates = await prisma.messageTemplate.findMany()
74520
+ * // Get all SocialProfileContacts
74521
+ * const socialProfileContacts = await prisma.socialProfileContact.findMany()
74402
74522
  *
74403
- * // Get first 10 MessageTemplates
74404
- * const messageTemplates = await prisma.messageTemplate.findMany({ take: 10 })
74523
+ * // Get first 10 SocialProfileContacts
74524
+ * const socialProfileContacts = await prisma.socialProfileContact.findMany({ take: 10 })
74405
74525
  *
74406
74526
  * // Only select the `id`
74407
- * const messageTemplateWithIdOnly = await prisma.messageTemplate.findMany({ select: { id: true } })
74527
+ * const socialProfileContactWithIdOnly = await prisma.socialProfileContact.findMany({ select: { id: true } })
74408
74528
  *
74409
74529
  */
74410
- findMany<T extends MessageTemplateFindManyArgs>(args?: SelectSubset<T, MessageTemplateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "findMany">>
74530
+ findMany<T extends SocialProfileContactFindManyArgs>(args?: SelectSubset<T, SocialProfileContactFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "findMany">>
74411
74531
 
74412
74532
  /**
74413
- * Create a MessageTemplate.
74414
- * @param {MessageTemplateCreateArgs} args - Arguments to create a MessageTemplate.
74533
+ * Create a SocialProfileContact.
74534
+ * @param {SocialProfileContactCreateArgs} args - Arguments to create a SocialProfileContact.
74415
74535
  * @example
74416
- * // Create one MessageTemplate
74417
- * const MessageTemplate = await prisma.messageTemplate.create({
74536
+ * // Create one SocialProfileContact
74537
+ * const SocialProfileContact = await prisma.socialProfileContact.create({
74418
74538
  * data: {
74419
- * // ... data to create a MessageTemplate
74539
+ * // ... data to create a SocialProfileContact
74420
74540
  * }
74421
74541
  * })
74422
74542
  *
74423
74543
  */
74424
- create<T extends MessageTemplateCreateArgs>(args: SelectSubset<T, MessageTemplateCreateArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "create">, never, ExtArgs>
74544
+ create<T extends SocialProfileContactCreateArgs>(args: SelectSubset<T, SocialProfileContactCreateArgs<ExtArgs>>): Prisma__SocialProfileContactClient<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "create">, never, ExtArgs>
74425
74545
 
74426
74546
  /**
74427
- * Create many MessageTemplates.
74428
- * @param {MessageTemplateCreateManyArgs} args - Arguments to create many MessageTemplates.
74547
+ * Create many SocialProfileContacts.
74548
+ * @param {SocialProfileContactCreateManyArgs} args - Arguments to create many SocialProfileContacts.
74429
74549
  * @example
74430
- * // Create many MessageTemplates
74431
- * const messageTemplate = await prisma.messageTemplate.createMany({
74550
+ * // Create many SocialProfileContacts
74551
+ * const socialProfileContact = await prisma.socialProfileContact.createMany({
74432
74552
  * data: [
74433
74553
  * // ... provide data here
74434
74554
  * ]
74435
74555
  * })
74436
74556
  *
74437
74557
  */
74438
- createMany<T extends MessageTemplateCreateManyArgs>(args?: SelectSubset<T, MessageTemplateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
74558
+ createMany<T extends SocialProfileContactCreateManyArgs>(args?: SelectSubset<T, SocialProfileContactCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
74439
74559
 
74440
74560
  /**
74441
- * Create many MessageTemplates and returns the data saved in the database.
74442
- * @param {MessageTemplateCreateManyAndReturnArgs} args - Arguments to create many MessageTemplates.
74561
+ * Create many SocialProfileContacts and returns the data saved in the database.
74562
+ * @param {SocialProfileContactCreateManyAndReturnArgs} args - Arguments to create many SocialProfileContacts.
74443
74563
  * @example
74444
- * // Create many MessageTemplates
74445
- * const messageTemplate = await prisma.messageTemplate.createManyAndReturn({
74564
+ * // Create many SocialProfileContacts
74565
+ * const socialProfileContact = await prisma.socialProfileContact.createManyAndReturn({
74446
74566
  * data: [
74447
74567
  * // ... provide data here
74448
74568
  * ]
74449
74569
  * })
74450
74570
  *
74451
- * // Create many MessageTemplates and only return the `id`
74452
- * const messageTemplateWithIdOnly = await prisma.messageTemplate.createManyAndReturn({
74571
+ * // Create many SocialProfileContacts and only return the `id`
74572
+ * const socialProfileContactWithIdOnly = await prisma.socialProfileContact.createManyAndReturn({
74453
74573
  * select: { id: true },
74454
74574
  * data: [
74455
74575
  * // ... provide data here
@@ -74459,28 +74579,28 @@ export namespace Prisma {
74459
74579
  * Read more here: https://pris.ly/d/null-undefined
74460
74580
  *
74461
74581
  */
74462
- createManyAndReturn<T extends MessageTemplateCreateManyAndReturnArgs>(args?: SelectSubset<T, MessageTemplateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "createManyAndReturn">>
74582
+ createManyAndReturn<T extends SocialProfileContactCreateManyAndReturnArgs>(args?: SelectSubset<T, SocialProfileContactCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "createManyAndReturn">>
74463
74583
 
74464
74584
  /**
74465
- * Delete a MessageTemplate.
74466
- * @param {MessageTemplateDeleteArgs} args - Arguments to delete one MessageTemplate.
74585
+ * Delete a SocialProfileContact.
74586
+ * @param {SocialProfileContactDeleteArgs} args - Arguments to delete one SocialProfileContact.
74467
74587
  * @example
74468
- * // Delete one MessageTemplate
74469
- * const MessageTemplate = await prisma.messageTemplate.delete({
74588
+ * // Delete one SocialProfileContact
74589
+ * const SocialProfileContact = await prisma.socialProfileContact.delete({
74470
74590
  * where: {
74471
- * // ... filter to delete one MessageTemplate
74591
+ * // ... filter to delete one SocialProfileContact
74472
74592
  * }
74473
74593
  * })
74474
74594
  *
74475
74595
  */
74476
- delete<T extends MessageTemplateDeleteArgs>(args: SelectSubset<T, MessageTemplateDeleteArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "delete">, never, ExtArgs>
74596
+ delete<T extends SocialProfileContactDeleteArgs>(args: SelectSubset<T, SocialProfileContactDeleteArgs<ExtArgs>>): Prisma__SocialProfileContactClient<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "delete">, never, ExtArgs>
74477
74597
 
74478
74598
  /**
74479
- * Update one MessageTemplate.
74480
- * @param {MessageTemplateUpdateArgs} args - Arguments to update one MessageTemplate.
74599
+ * Update one SocialProfileContact.
74600
+ * @param {SocialProfileContactUpdateArgs} args - Arguments to update one SocialProfileContact.
74481
74601
  * @example
74482
- * // Update one MessageTemplate
74483
- * const messageTemplate = await prisma.messageTemplate.update({
74602
+ * // Update one SocialProfileContact
74603
+ * const socialProfileContact = await prisma.socialProfileContact.update({
74484
74604
  * where: {
74485
74605
  * // ... provide filter here
74486
74606
  * },
@@ -74490,30 +74610,30 @@ export namespace Prisma {
74490
74610
  * })
74491
74611
  *
74492
74612
  */
74493
- update<T extends MessageTemplateUpdateArgs>(args: SelectSubset<T, MessageTemplateUpdateArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "update">, never, ExtArgs>
74613
+ update<T extends SocialProfileContactUpdateArgs>(args: SelectSubset<T, SocialProfileContactUpdateArgs<ExtArgs>>): Prisma__SocialProfileContactClient<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "update">, never, ExtArgs>
74494
74614
 
74495
74615
  /**
74496
- * Delete zero or more MessageTemplates.
74497
- * @param {MessageTemplateDeleteManyArgs} args - Arguments to filter MessageTemplates to delete.
74616
+ * Delete zero or more SocialProfileContacts.
74617
+ * @param {SocialProfileContactDeleteManyArgs} args - Arguments to filter SocialProfileContacts to delete.
74498
74618
  * @example
74499
- * // Delete a few MessageTemplates
74500
- * const { count } = await prisma.messageTemplate.deleteMany({
74619
+ * // Delete a few SocialProfileContacts
74620
+ * const { count } = await prisma.socialProfileContact.deleteMany({
74501
74621
  * where: {
74502
74622
  * // ... provide filter here
74503
74623
  * }
74504
74624
  * })
74505
74625
  *
74506
74626
  */
74507
- deleteMany<T extends MessageTemplateDeleteManyArgs>(args?: SelectSubset<T, MessageTemplateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
74627
+ deleteMany<T extends SocialProfileContactDeleteManyArgs>(args?: SelectSubset<T, SocialProfileContactDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
74508
74628
 
74509
74629
  /**
74510
- * Update zero or more MessageTemplates.
74630
+ * Update zero or more SocialProfileContacts.
74511
74631
  * Note, that providing `undefined` is treated as the value not being there.
74512
74632
  * Read more here: https://pris.ly/d/null-undefined
74513
- * @param {MessageTemplateUpdateManyArgs} args - Arguments to update one or more rows.
74633
+ * @param {SocialProfileContactUpdateManyArgs} args - Arguments to update one or more rows.
74514
74634
  * @example
74515
- * // Update many MessageTemplates
74516
- * const messageTemplate = await prisma.messageTemplate.updateMany({
74635
+ * // Update many SocialProfileContacts
74636
+ * const socialProfileContact = await prisma.socialProfileContact.updateMany({
74517
74637
  * where: {
74518
74638
  * // ... provide filter here
74519
74639
  * },
@@ -74523,56 +74643,56 @@ export namespace Prisma {
74523
74643
  * })
74524
74644
  *
74525
74645
  */
74526
- updateMany<T extends MessageTemplateUpdateManyArgs>(args: SelectSubset<T, MessageTemplateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
74646
+ updateMany<T extends SocialProfileContactUpdateManyArgs>(args: SelectSubset<T, SocialProfileContactUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
74527
74647
 
74528
74648
  /**
74529
- * Create or update one MessageTemplate.
74530
- * @param {MessageTemplateUpsertArgs} args - Arguments to update or create a MessageTemplate.
74649
+ * Create or update one SocialProfileContact.
74650
+ * @param {SocialProfileContactUpsertArgs} args - Arguments to update or create a SocialProfileContact.
74531
74651
  * @example
74532
- * // Update or create a MessageTemplate
74533
- * const messageTemplate = await prisma.messageTemplate.upsert({
74652
+ * // Update or create a SocialProfileContact
74653
+ * const socialProfileContact = await prisma.socialProfileContact.upsert({
74534
74654
  * create: {
74535
- * // ... data to create a MessageTemplate
74655
+ * // ... data to create a SocialProfileContact
74536
74656
  * },
74537
74657
  * update: {
74538
74658
  * // ... in case it already exists, update
74539
74659
  * },
74540
74660
  * where: {
74541
- * // ... the filter for the MessageTemplate we want to update
74661
+ * // ... the filter for the SocialProfileContact we want to update
74542
74662
  * }
74543
74663
  * })
74544
74664
  */
74545
- upsert<T extends MessageTemplateUpsertArgs>(args: SelectSubset<T, MessageTemplateUpsertArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "upsert">, never, ExtArgs>
74665
+ upsert<T extends SocialProfileContactUpsertArgs>(args: SelectSubset<T, SocialProfileContactUpsertArgs<ExtArgs>>): Prisma__SocialProfileContactClient<$Result.GetResult<Prisma.$SocialProfileContactPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
74546
74666
 
74547
74667
 
74548
74668
  /**
74549
- * Count the number of MessageTemplates.
74669
+ * Count the number of SocialProfileContacts.
74550
74670
  * Note, that providing `undefined` is treated as the value not being there.
74551
74671
  * Read more here: https://pris.ly/d/null-undefined
74552
- * @param {MessageTemplateCountArgs} args - Arguments to filter MessageTemplates to count.
74672
+ * @param {SocialProfileContactCountArgs} args - Arguments to filter SocialProfileContacts to count.
74553
74673
  * @example
74554
- * // Count the number of MessageTemplates
74555
- * const count = await prisma.messageTemplate.count({
74674
+ * // Count the number of SocialProfileContacts
74675
+ * const count = await prisma.socialProfileContact.count({
74556
74676
  * where: {
74557
- * // ... the filter for the MessageTemplates we want to count
74677
+ * // ... the filter for the SocialProfileContacts we want to count
74558
74678
  * }
74559
74679
  * })
74560
74680
  **/
74561
- count<T extends MessageTemplateCountArgs>(
74562
- args?: Subset<T, MessageTemplateCountArgs>,
74681
+ count<T extends SocialProfileContactCountArgs>(
74682
+ args?: Subset<T, SocialProfileContactCountArgs>,
74563
74683
  ): Prisma.PrismaPromise<
74564
74684
  T extends $Utils.Record<'select', any>
74565
74685
  ? T['select'] extends true
74566
74686
  ? number
74567
- : GetScalarType<T['select'], MessageTemplateCountAggregateOutputType>
74687
+ : GetScalarType<T['select'], SocialProfileContactCountAggregateOutputType>
74568
74688
  : number
74569
74689
  >
74570
74690
 
74571
74691
  /**
74572
- * Allows you to perform aggregations operations on a MessageTemplate.
74692
+ * Allows you to perform aggregations operations on a SocialProfileContact.
74573
74693
  * Note, that providing `undefined` is treated as the value not being there.
74574
74694
  * Read more here: https://pris.ly/d/null-undefined
74575
- * @param {MessageTemplateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
74695
+ * @param {SocialProfileContactAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
74576
74696
  * @example
74577
74697
  * // Ordered by age ascending
74578
74698
  * // Where email contains prisma.io
@@ -74592,13 +74712,13 @@ export namespace Prisma {
74592
74712
  * take: 10,
74593
74713
  * })
74594
74714
  **/
74595
- aggregate<T extends MessageTemplateAggregateArgs>(args: Subset<T, MessageTemplateAggregateArgs>): Prisma.PrismaPromise<GetMessageTemplateAggregateType<T>>
74715
+ aggregate<T extends SocialProfileContactAggregateArgs>(args: Subset<T, SocialProfileContactAggregateArgs>): Prisma.PrismaPromise<GetSocialProfileContactAggregateType<T>>
74596
74716
 
74597
74717
  /**
74598
- * Group by MessageTemplate.
74718
+ * Group by SocialProfileContact.
74599
74719
  * Note, that providing `undefined` is treated as the value not being there.
74600
74720
  * Read more here: https://pris.ly/d/null-undefined
74601
- * @param {MessageTemplateGroupByArgs} args - Group by arguments.
74721
+ * @param {SocialProfileContactGroupByArgs} args - Group by arguments.
74602
74722
  * @example
74603
74723
  * // Group by city, order by createdAt, get count
74604
74724
  * const result = await prisma.user.groupBy({
@@ -74613,14 +74733,1004 @@ export namespace Prisma {
74613
74733
  *
74614
74734
  **/
74615
74735
  groupBy<
74616
- T extends MessageTemplateGroupByArgs,
74736
+ T extends SocialProfileContactGroupByArgs,
74617
74737
  HasSelectOrTake extends Or<
74618
74738
  Extends<'skip', Keys<T>>,
74619
74739
  Extends<'take', Keys<T>>
74620
74740
  >,
74621
74741
  OrderByArg extends True extends HasSelectOrTake
74622
- ? { orderBy: MessageTemplateGroupByArgs['orderBy'] }
74623
- : { orderBy?: MessageTemplateGroupByArgs['orderBy'] },
74742
+ ? { orderBy: SocialProfileContactGroupByArgs['orderBy'] }
74743
+ : { orderBy?: SocialProfileContactGroupByArgs['orderBy'] },
74744
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
74745
+ ByFields extends MaybeTupleToUnion<T['by']>,
74746
+ ByValid extends Has<ByFields, OrderFields>,
74747
+ HavingFields extends GetHavingFields<T['having']>,
74748
+ HavingValid extends Has<ByFields, HavingFields>,
74749
+ ByEmpty extends T['by'] extends never[] ? True : False,
74750
+ InputErrors extends ByEmpty extends True
74751
+ ? `Error: "by" must not be empty.`
74752
+ : HavingValid extends False
74753
+ ? {
74754
+ [P in HavingFields]: P extends ByFields
74755
+ ? never
74756
+ : P extends string
74757
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
74758
+ : [
74759
+ Error,
74760
+ 'Field ',
74761
+ P,
74762
+ ` in "having" needs to be provided in "by"`,
74763
+ ]
74764
+ }[HavingFields]
74765
+ : 'take' extends Keys<T>
74766
+ ? 'orderBy' extends Keys<T>
74767
+ ? ByValid extends True
74768
+ ? {}
74769
+ : {
74770
+ [P in OrderFields]: P extends ByFields
74771
+ ? never
74772
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
74773
+ }[OrderFields]
74774
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
74775
+ : 'skip' extends Keys<T>
74776
+ ? 'orderBy' extends Keys<T>
74777
+ ? ByValid extends True
74778
+ ? {}
74779
+ : {
74780
+ [P in OrderFields]: P extends ByFields
74781
+ ? never
74782
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
74783
+ }[OrderFields]
74784
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
74785
+ : ByValid extends True
74786
+ ? {}
74787
+ : {
74788
+ [P in OrderFields]: P extends ByFields
74789
+ ? never
74790
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
74791
+ }[OrderFields]
74792
+ >(args: SubsetIntersection<T, SocialProfileContactGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSocialProfileContactGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
74793
+ /**
74794
+ * Fields of the SocialProfileContact model
74795
+ */
74796
+ readonly fields: SocialProfileContactFieldRefs;
74797
+ }
74798
+
74799
+ /**
74800
+ * The delegate class that acts as a "Promise-like" for SocialProfileContact.
74801
+ * Why is this prefixed with `Prisma__`?
74802
+ * Because we want to prevent naming conflicts as mentioned in
74803
+ * https://github.com/prisma/prisma-client-js/issues/707
74804
+ */
74805
+ export interface Prisma__SocialProfileContactClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
74806
+ readonly [Symbol.toStringTag]: "PrismaPromise"
74807
+ socialProfile<T extends SocialProfileDefaultArgs<ExtArgs> = {}>(args?: Subset<T, SocialProfileDefaultArgs<ExtArgs>>): Prisma__SocialProfileClient<$Result.GetResult<Prisma.$SocialProfilePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
74808
+ /**
74809
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
74810
+ * @param onfulfilled The callback to execute when the Promise is resolved.
74811
+ * @param onrejected The callback to execute when the Promise is rejected.
74812
+ * @returns A Promise for the completion of which ever callback is executed.
74813
+ */
74814
+ 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>
74815
+ /**
74816
+ * Attaches a callback for only the rejection of the Promise.
74817
+ * @param onrejected The callback to execute when the Promise is rejected.
74818
+ * @returns A Promise for the completion of the callback.
74819
+ */
74820
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
74821
+ /**
74822
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
74823
+ * resolved value cannot be modified from the callback.
74824
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
74825
+ * @returns A Promise for the completion of the callback.
74826
+ */
74827
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
74828
+ }
74829
+
74830
+
74831
+
74832
+
74833
+ /**
74834
+ * Fields of the SocialProfileContact model
74835
+ */
74836
+ interface SocialProfileContactFieldRefs {
74837
+ readonly id: FieldRef<"SocialProfileContact", 'Int'>
74838
+ readonly type: FieldRef<"SocialProfileContact", 'String'>
74839
+ readonly value: FieldRef<"SocialProfileContact", 'String'>
74840
+ readonly source: FieldRef<"SocialProfileContact", 'SocialProfileContactSource'>
74841
+ readonly metaData: FieldRef<"SocialProfileContact", 'Json'>
74842
+ readonly socialProfileId: FieldRef<"SocialProfileContact", 'Int'>
74843
+ }
74844
+
74845
+
74846
+ // Custom InputTypes
74847
+ /**
74848
+ * SocialProfileContact findUnique
74849
+ */
74850
+ export type SocialProfileContactFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74851
+ /**
74852
+ * Select specific fields to fetch from the SocialProfileContact
74853
+ */
74854
+ select?: SocialProfileContactSelect<ExtArgs> | null
74855
+ /**
74856
+ * Choose, which related nodes to fetch as well
74857
+ */
74858
+ include?: SocialProfileContactInclude<ExtArgs> | null
74859
+ /**
74860
+ * Filter, which SocialProfileContact to fetch.
74861
+ */
74862
+ where: SocialProfileContactWhereUniqueInput
74863
+ }
74864
+
74865
+ /**
74866
+ * SocialProfileContact findUniqueOrThrow
74867
+ */
74868
+ export type SocialProfileContactFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74869
+ /**
74870
+ * Select specific fields to fetch from the SocialProfileContact
74871
+ */
74872
+ select?: SocialProfileContactSelect<ExtArgs> | null
74873
+ /**
74874
+ * Choose, which related nodes to fetch as well
74875
+ */
74876
+ include?: SocialProfileContactInclude<ExtArgs> | null
74877
+ /**
74878
+ * Filter, which SocialProfileContact to fetch.
74879
+ */
74880
+ where: SocialProfileContactWhereUniqueInput
74881
+ }
74882
+
74883
+ /**
74884
+ * SocialProfileContact findFirst
74885
+ */
74886
+ export type SocialProfileContactFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74887
+ /**
74888
+ * Select specific fields to fetch from the SocialProfileContact
74889
+ */
74890
+ select?: SocialProfileContactSelect<ExtArgs> | null
74891
+ /**
74892
+ * Choose, which related nodes to fetch as well
74893
+ */
74894
+ include?: SocialProfileContactInclude<ExtArgs> | null
74895
+ /**
74896
+ * Filter, which SocialProfileContact to fetch.
74897
+ */
74898
+ where?: SocialProfileContactWhereInput
74899
+ /**
74900
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
74901
+ *
74902
+ * Determine the order of SocialProfileContacts to fetch.
74903
+ */
74904
+ orderBy?: SocialProfileContactOrderByWithRelationInput | SocialProfileContactOrderByWithRelationInput[]
74905
+ /**
74906
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
74907
+ *
74908
+ * Sets the position for searching for SocialProfileContacts.
74909
+ */
74910
+ cursor?: SocialProfileContactWhereUniqueInput
74911
+ /**
74912
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
74913
+ *
74914
+ * Take `±n` SocialProfileContacts from the position of the cursor.
74915
+ */
74916
+ take?: number
74917
+ /**
74918
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
74919
+ *
74920
+ * Skip the first `n` SocialProfileContacts.
74921
+ */
74922
+ skip?: number
74923
+ /**
74924
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
74925
+ *
74926
+ * Filter by unique combinations of SocialProfileContacts.
74927
+ */
74928
+ distinct?: SocialProfileContactScalarFieldEnum | SocialProfileContactScalarFieldEnum[]
74929
+ }
74930
+
74931
+ /**
74932
+ * SocialProfileContact findFirstOrThrow
74933
+ */
74934
+ export type SocialProfileContactFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74935
+ /**
74936
+ * Select specific fields to fetch from the SocialProfileContact
74937
+ */
74938
+ select?: SocialProfileContactSelect<ExtArgs> | null
74939
+ /**
74940
+ * Choose, which related nodes to fetch as well
74941
+ */
74942
+ include?: SocialProfileContactInclude<ExtArgs> | null
74943
+ /**
74944
+ * Filter, which SocialProfileContact to fetch.
74945
+ */
74946
+ where?: SocialProfileContactWhereInput
74947
+ /**
74948
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
74949
+ *
74950
+ * Determine the order of SocialProfileContacts to fetch.
74951
+ */
74952
+ orderBy?: SocialProfileContactOrderByWithRelationInput | SocialProfileContactOrderByWithRelationInput[]
74953
+ /**
74954
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
74955
+ *
74956
+ * Sets the position for searching for SocialProfileContacts.
74957
+ */
74958
+ cursor?: SocialProfileContactWhereUniqueInput
74959
+ /**
74960
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
74961
+ *
74962
+ * Take `±n` SocialProfileContacts from the position of the cursor.
74963
+ */
74964
+ take?: number
74965
+ /**
74966
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
74967
+ *
74968
+ * Skip the first `n` SocialProfileContacts.
74969
+ */
74970
+ skip?: number
74971
+ /**
74972
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
74973
+ *
74974
+ * Filter by unique combinations of SocialProfileContacts.
74975
+ */
74976
+ distinct?: SocialProfileContactScalarFieldEnum | SocialProfileContactScalarFieldEnum[]
74977
+ }
74978
+
74979
+ /**
74980
+ * SocialProfileContact findMany
74981
+ */
74982
+ export type SocialProfileContactFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
74983
+ /**
74984
+ * Select specific fields to fetch from the SocialProfileContact
74985
+ */
74986
+ select?: SocialProfileContactSelect<ExtArgs> | null
74987
+ /**
74988
+ * Choose, which related nodes to fetch as well
74989
+ */
74990
+ include?: SocialProfileContactInclude<ExtArgs> | null
74991
+ /**
74992
+ * Filter, which SocialProfileContacts to fetch.
74993
+ */
74994
+ where?: SocialProfileContactWhereInput
74995
+ /**
74996
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
74997
+ *
74998
+ * Determine the order of SocialProfileContacts to fetch.
74999
+ */
75000
+ orderBy?: SocialProfileContactOrderByWithRelationInput | SocialProfileContactOrderByWithRelationInput[]
75001
+ /**
75002
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
75003
+ *
75004
+ * Sets the position for listing SocialProfileContacts.
75005
+ */
75006
+ cursor?: SocialProfileContactWhereUniqueInput
75007
+ /**
75008
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
75009
+ *
75010
+ * Take `±n` SocialProfileContacts from the position of the cursor.
75011
+ */
75012
+ take?: number
75013
+ /**
75014
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
75015
+ *
75016
+ * Skip the first `n` SocialProfileContacts.
75017
+ */
75018
+ skip?: number
75019
+ distinct?: SocialProfileContactScalarFieldEnum | SocialProfileContactScalarFieldEnum[]
75020
+ }
75021
+
75022
+ /**
75023
+ * SocialProfileContact create
75024
+ */
75025
+ export type SocialProfileContactCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75026
+ /**
75027
+ * Select specific fields to fetch from the SocialProfileContact
75028
+ */
75029
+ select?: SocialProfileContactSelect<ExtArgs> | null
75030
+ /**
75031
+ * Choose, which related nodes to fetch as well
75032
+ */
75033
+ include?: SocialProfileContactInclude<ExtArgs> | null
75034
+ /**
75035
+ * The data needed to create a SocialProfileContact.
75036
+ */
75037
+ data: XOR<SocialProfileContactCreateInput, SocialProfileContactUncheckedCreateInput>
75038
+ }
75039
+
75040
+ /**
75041
+ * SocialProfileContact createMany
75042
+ */
75043
+ export type SocialProfileContactCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75044
+ /**
75045
+ * The data used to create many SocialProfileContacts.
75046
+ */
75047
+ data: SocialProfileContactCreateManyInput | SocialProfileContactCreateManyInput[]
75048
+ skipDuplicates?: boolean
75049
+ }
75050
+
75051
+ /**
75052
+ * SocialProfileContact createManyAndReturn
75053
+ */
75054
+ export type SocialProfileContactCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75055
+ /**
75056
+ * Select specific fields to fetch from the SocialProfileContact
75057
+ */
75058
+ select?: SocialProfileContactSelectCreateManyAndReturn<ExtArgs> | null
75059
+ /**
75060
+ * The data used to create many SocialProfileContacts.
75061
+ */
75062
+ data: SocialProfileContactCreateManyInput | SocialProfileContactCreateManyInput[]
75063
+ skipDuplicates?: boolean
75064
+ /**
75065
+ * Choose, which related nodes to fetch as well
75066
+ */
75067
+ include?: SocialProfileContactIncludeCreateManyAndReturn<ExtArgs> | null
75068
+ }
75069
+
75070
+ /**
75071
+ * SocialProfileContact update
75072
+ */
75073
+ export type SocialProfileContactUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75074
+ /**
75075
+ * Select specific fields to fetch from the SocialProfileContact
75076
+ */
75077
+ select?: SocialProfileContactSelect<ExtArgs> | null
75078
+ /**
75079
+ * Choose, which related nodes to fetch as well
75080
+ */
75081
+ include?: SocialProfileContactInclude<ExtArgs> | null
75082
+ /**
75083
+ * The data needed to update a SocialProfileContact.
75084
+ */
75085
+ data: XOR<SocialProfileContactUpdateInput, SocialProfileContactUncheckedUpdateInput>
75086
+ /**
75087
+ * Choose, which SocialProfileContact to update.
75088
+ */
75089
+ where: SocialProfileContactWhereUniqueInput
75090
+ }
75091
+
75092
+ /**
75093
+ * SocialProfileContact updateMany
75094
+ */
75095
+ export type SocialProfileContactUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75096
+ /**
75097
+ * The data used to update SocialProfileContacts.
75098
+ */
75099
+ data: XOR<SocialProfileContactUpdateManyMutationInput, SocialProfileContactUncheckedUpdateManyInput>
75100
+ /**
75101
+ * Filter which SocialProfileContacts to update
75102
+ */
75103
+ where?: SocialProfileContactWhereInput
75104
+ }
75105
+
75106
+ /**
75107
+ * SocialProfileContact upsert
75108
+ */
75109
+ export type SocialProfileContactUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75110
+ /**
75111
+ * Select specific fields to fetch from the SocialProfileContact
75112
+ */
75113
+ select?: SocialProfileContactSelect<ExtArgs> | null
75114
+ /**
75115
+ * Choose, which related nodes to fetch as well
75116
+ */
75117
+ include?: SocialProfileContactInclude<ExtArgs> | null
75118
+ /**
75119
+ * The filter to search for the SocialProfileContact to update in case it exists.
75120
+ */
75121
+ where: SocialProfileContactWhereUniqueInput
75122
+ /**
75123
+ * In case the SocialProfileContact found by the `where` argument doesn't exist, create a new SocialProfileContact with this data.
75124
+ */
75125
+ create: XOR<SocialProfileContactCreateInput, SocialProfileContactUncheckedCreateInput>
75126
+ /**
75127
+ * In case the SocialProfileContact was found with the provided `where` argument, update it with this data.
75128
+ */
75129
+ update: XOR<SocialProfileContactUpdateInput, SocialProfileContactUncheckedUpdateInput>
75130
+ }
75131
+
75132
+ /**
75133
+ * SocialProfileContact delete
75134
+ */
75135
+ export type SocialProfileContactDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75136
+ /**
75137
+ * Select specific fields to fetch from the SocialProfileContact
75138
+ */
75139
+ select?: SocialProfileContactSelect<ExtArgs> | null
75140
+ /**
75141
+ * Choose, which related nodes to fetch as well
75142
+ */
75143
+ include?: SocialProfileContactInclude<ExtArgs> | null
75144
+ /**
75145
+ * Filter which SocialProfileContact to delete.
75146
+ */
75147
+ where: SocialProfileContactWhereUniqueInput
75148
+ }
75149
+
75150
+ /**
75151
+ * SocialProfileContact deleteMany
75152
+ */
75153
+ export type SocialProfileContactDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75154
+ /**
75155
+ * Filter which SocialProfileContacts to delete
75156
+ */
75157
+ where?: SocialProfileContactWhereInput
75158
+ }
75159
+
75160
+ /**
75161
+ * SocialProfileContact without action
75162
+ */
75163
+ export type SocialProfileContactDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75164
+ /**
75165
+ * Select specific fields to fetch from the SocialProfileContact
75166
+ */
75167
+ select?: SocialProfileContactSelect<ExtArgs> | null
75168
+ /**
75169
+ * Choose, which related nodes to fetch as well
75170
+ */
75171
+ include?: SocialProfileContactInclude<ExtArgs> | null
75172
+ }
75173
+
75174
+
75175
+ /**
75176
+ * Model MessageTemplate
75177
+ */
75178
+
75179
+ export type AggregateMessageTemplate = {
75180
+ _count: MessageTemplateCountAggregateOutputType | null
75181
+ _avg: MessageTemplateAvgAggregateOutputType | null
75182
+ _sum: MessageTemplateSumAggregateOutputType | null
75183
+ _min: MessageTemplateMinAggregateOutputType | null
75184
+ _max: MessageTemplateMaxAggregateOutputType | null
75185
+ }
75186
+
75187
+ export type MessageTemplateAvgAggregateOutputType = {
75188
+ id: number | null
75189
+ brandId: number | null
75190
+ }
75191
+
75192
+ export type MessageTemplateSumAggregateOutputType = {
75193
+ id: number | null
75194
+ brandId: number | null
75195
+ }
75196
+
75197
+ export type MessageTemplateMinAggregateOutputType = {
75198
+ id: number | null
75199
+ label: string | null
75200
+ template: string | null
75201
+ brandId: number | null
75202
+ createdAt: Date | null
75203
+ updatedAt: Date | null
75204
+ }
75205
+
75206
+ export type MessageTemplateMaxAggregateOutputType = {
75207
+ id: number | null
75208
+ label: string | null
75209
+ template: string | null
75210
+ brandId: number | null
75211
+ createdAt: Date | null
75212
+ updatedAt: Date | null
75213
+ }
75214
+
75215
+ export type MessageTemplateCountAggregateOutputType = {
75216
+ id: number
75217
+ label: number
75218
+ template: number
75219
+ brandId: number
75220
+ metaData: number
75221
+ createdAt: number
75222
+ updatedAt: number
75223
+ _all: number
75224
+ }
75225
+
75226
+
75227
+ export type MessageTemplateAvgAggregateInputType = {
75228
+ id?: true
75229
+ brandId?: true
75230
+ }
75231
+
75232
+ export type MessageTemplateSumAggregateInputType = {
75233
+ id?: true
75234
+ brandId?: true
75235
+ }
75236
+
75237
+ export type MessageTemplateMinAggregateInputType = {
75238
+ id?: true
75239
+ label?: true
75240
+ template?: true
75241
+ brandId?: true
75242
+ createdAt?: true
75243
+ updatedAt?: true
75244
+ }
75245
+
75246
+ export type MessageTemplateMaxAggregateInputType = {
75247
+ id?: true
75248
+ label?: true
75249
+ template?: true
75250
+ brandId?: true
75251
+ createdAt?: true
75252
+ updatedAt?: true
75253
+ }
75254
+
75255
+ export type MessageTemplateCountAggregateInputType = {
75256
+ id?: true
75257
+ label?: true
75258
+ template?: true
75259
+ brandId?: true
75260
+ metaData?: true
75261
+ createdAt?: true
75262
+ updatedAt?: true
75263
+ _all?: true
75264
+ }
75265
+
75266
+ export type MessageTemplateAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75267
+ /**
75268
+ * Filter which MessageTemplate to aggregate.
75269
+ */
75270
+ where?: MessageTemplateWhereInput
75271
+ /**
75272
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
75273
+ *
75274
+ * Determine the order of MessageTemplates to fetch.
75275
+ */
75276
+ orderBy?: MessageTemplateOrderByWithRelationInput | MessageTemplateOrderByWithRelationInput[]
75277
+ /**
75278
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
75279
+ *
75280
+ * Sets the start position
75281
+ */
75282
+ cursor?: MessageTemplateWhereUniqueInput
75283
+ /**
75284
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
75285
+ *
75286
+ * Take `±n` MessageTemplates from the position of the cursor.
75287
+ */
75288
+ take?: number
75289
+ /**
75290
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
75291
+ *
75292
+ * Skip the first `n` MessageTemplates.
75293
+ */
75294
+ skip?: number
75295
+ /**
75296
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
75297
+ *
75298
+ * Count returned MessageTemplates
75299
+ **/
75300
+ _count?: true | MessageTemplateCountAggregateInputType
75301
+ /**
75302
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
75303
+ *
75304
+ * Select which fields to average
75305
+ **/
75306
+ _avg?: MessageTemplateAvgAggregateInputType
75307
+ /**
75308
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
75309
+ *
75310
+ * Select which fields to sum
75311
+ **/
75312
+ _sum?: MessageTemplateSumAggregateInputType
75313
+ /**
75314
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
75315
+ *
75316
+ * Select which fields to find the minimum value
75317
+ **/
75318
+ _min?: MessageTemplateMinAggregateInputType
75319
+ /**
75320
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
75321
+ *
75322
+ * Select which fields to find the maximum value
75323
+ **/
75324
+ _max?: MessageTemplateMaxAggregateInputType
75325
+ }
75326
+
75327
+ export type GetMessageTemplateAggregateType<T extends MessageTemplateAggregateArgs> = {
75328
+ [P in keyof T & keyof AggregateMessageTemplate]: P extends '_count' | 'count'
75329
+ ? T[P] extends true
75330
+ ? number
75331
+ : GetScalarType<T[P], AggregateMessageTemplate[P]>
75332
+ : GetScalarType<T[P], AggregateMessageTemplate[P]>
75333
+ }
75334
+
75335
+
75336
+
75337
+
75338
+ export type MessageTemplateGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75339
+ where?: MessageTemplateWhereInput
75340
+ orderBy?: MessageTemplateOrderByWithAggregationInput | MessageTemplateOrderByWithAggregationInput[]
75341
+ by: MessageTemplateScalarFieldEnum[] | MessageTemplateScalarFieldEnum
75342
+ having?: MessageTemplateScalarWhereWithAggregatesInput
75343
+ take?: number
75344
+ skip?: number
75345
+ _count?: MessageTemplateCountAggregateInputType | true
75346
+ _avg?: MessageTemplateAvgAggregateInputType
75347
+ _sum?: MessageTemplateSumAggregateInputType
75348
+ _min?: MessageTemplateMinAggregateInputType
75349
+ _max?: MessageTemplateMaxAggregateInputType
75350
+ }
75351
+
75352
+ export type MessageTemplateGroupByOutputType = {
75353
+ id: number
75354
+ label: string | null
75355
+ template: string
75356
+ brandId: number | null
75357
+ metaData: JsonValue
75358
+ createdAt: Date | null
75359
+ updatedAt: Date | null
75360
+ _count: MessageTemplateCountAggregateOutputType | null
75361
+ _avg: MessageTemplateAvgAggregateOutputType | null
75362
+ _sum: MessageTemplateSumAggregateOutputType | null
75363
+ _min: MessageTemplateMinAggregateOutputType | null
75364
+ _max: MessageTemplateMaxAggregateOutputType | null
75365
+ }
75366
+
75367
+ type GetMessageTemplateGroupByPayload<T extends MessageTemplateGroupByArgs> = Prisma.PrismaPromise<
75368
+ Array<
75369
+ PickEnumerable<MessageTemplateGroupByOutputType, T['by']> &
75370
+ {
75371
+ [P in ((keyof T) & (keyof MessageTemplateGroupByOutputType))]: P extends '_count'
75372
+ ? T[P] extends boolean
75373
+ ? number
75374
+ : GetScalarType<T[P], MessageTemplateGroupByOutputType[P]>
75375
+ : GetScalarType<T[P], MessageTemplateGroupByOutputType[P]>
75376
+ }
75377
+ >
75378
+ >
75379
+
75380
+
75381
+ export type MessageTemplateSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
75382
+ id?: boolean
75383
+ label?: boolean
75384
+ template?: boolean
75385
+ brandId?: boolean
75386
+ metaData?: boolean
75387
+ createdAt?: boolean
75388
+ updatedAt?: boolean
75389
+ brand?: boolean | MessageTemplate$brandArgs<ExtArgs>
75390
+ }, ExtArgs["result"]["messageTemplate"]>
75391
+
75392
+ export type MessageTemplateSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
75393
+ id?: boolean
75394
+ label?: boolean
75395
+ template?: boolean
75396
+ brandId?: boolean
75397
+ metaData?: boolean
75398
+ createdAt?: boolean
75399
+ updatedAt?: boolean
75400
+ brand?: boolean | MessageTemplate$brandArgs<ExtArgs>
75401
+ }, ExtArgs["result"]["messageTemplate"]>
75402
+
75403
+ export type MessageTemplateSelectScalar = {
75404
+ id?: boolean
75405
+ label?: boolean
75406
+ template?: boolean
75407
+ brandId?: boolean
75408
+ metaData?: boolean
75409
+ createdAt?: boolean
75410
+ updatedAt?: boolean
75411
+ }
75412
+
75413
+ export type MessageTemplateInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75414
+ brand?: boolean | MessageTemplate$brandArgs<ExtArgs>
75415
+ }
75416
+ export type MessageTemplateIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75417
+ brand?: boolean | MessageTemplate$brandArgs<ExtArgs>
75418
+ }
75419
+
75420
+ export type $MessageTemplatePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
75421
+ name: "MessageTemplate"
75422
+ objects: {
75423
+ brand: Prisma.$BrandPayload<ExtArgs> | null
75424
+ }
75425
+ scalars: $Extensions.GetPayloadResult<{
75426
+ id: number
75427
+ label: string | null
75428
+ template: string
75429
+ brandId: number | null
75430
+ metaData: Prisma.JsonValue
75431
+ createdAt: Date | null
75432
+ updatedAt: Date | null
75433
+ }, ExtArgs["result"]["messageTemplate"]>
75434
+ composites: {}
75435
+ }
75436
+
75437
+ type MessageTemplateGetPayload<S extends boolean | null | undefined | MessageTemplateDefaultArgs> = $Result.GetResult<Prisma.$MessageTemplatePayload, S>
75438
+
75439
+ type MessageTemplateCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
75440
+ Omit<MessageTemplateFindManyArgs, 'select' | 'include' | 'distinct'> & {
75441
+ select?: MessageTemplateCountAggregateInputType | true
75442
+ }
75443
+
75444
+ export interface MessageTemplateDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
75445
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MessageTemplate'], meta: { name: 'MessageTemplate' } }
75446
+ /**
75447
+ * Find zero or one MessageTemplate that matches the filter.
75448
+ * @param {MessageTemplateFindUniqueArgs} args - Arguments to find a MessageTemplate
75449
+ * @example
75450
+ * // Get one MessageTemplate
75451
+ * const messageTemplate = await prisma.messageTemplate.findUnique({
75452
+ * where: {
75453
+ * // ... provide filter here
75454
+ * }
75455
+ * })
75456
+ */
75457
+ findUnique<T extends MessageTemplateFindUniqueArgs>(args: SelectSubset<T, MessageTemplateFindUniqueArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
75458
+
75459
+ /**
75460
+ * Find one MessageTemplate that matches the filter or throw an error with `error.code='P2025'`
75461
+ * if no matches were found.
75462
+ * @param {MessageTemplateFindUniqueOrThrowArgs} args - Arguments to find a MessageTemplate
75463
+ * @example
75464
+ * // Get one MessageTemplate
75465
+ * const messageTemplate = await prisma.messageTemplate.findUniqueOrThrow({
75466
+ * where: {
75467
+ * // ... provide filter here
75468
+ * }
75469
+ * })
75470
+ */
75471
+ findUniqueOrThrow<T extends MessageTemplateFindUniqueOrThrowArgs>(args: SelectSubset<T, MessageTemplateFindUniqueOrThrowArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
75472
+
75473
+ /**
75474
+ * Find the first MessageTemplate that matches the filter.
75475
+ * Note, that providing `undefined` is treated as the value not being there.
75476
+ * Read more here: https://pris.ly/d/null-undefined
75477
+ * @param {MessageTemplateFindFirstArgs} args - Arguments to find a MessageTemplate
75478
+ * @example
75479
+ * // Get one MessageTemplate
75480
+ * const messageTemplate = await prisma.messageTemplate.findFirst({
75481
+ * where: {
75482
+ * // ... provide filter here
75483
+ * }
75484
+ * })
75485
+ */
75486
+ findFirst<T extends MessageTemplateFindFirstArgs>(args?: SelectSubset<T, MessageTemplateFindFirstArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
75487
+
75488
+ /**
75489
+ * Find the first MessageTemplate that matches the filter or
75490
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
75491
+ * Note, that providing `undefined` is treated as the value not being there.
75492
+ * Read more here: https://pris.ly/d/null-undefined
75493
+ * @param {MessageTemplateFindFirstOrThrowArgs} args - Arguments to find a MessageTemplate
75494
+ * @example
75495
+ * // Get one MessageTemplate
75496
+ * const messageTemplate = await prisma.messageTemplate.findFirstOrThrow({
75497
+ * where: {
75498
+ * // ... provide filter here
75499
+ * }
75500
+ * })
75501
+ */
75502
+ findFirstOrThrow<T extends MessageTemplateFindFirstOrThrowArgs>(args?: SelectSubset<T, MessageTemplateFindFirstOrThrowArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
75503
+
75504
+ /**
75505
+ * Find zero or more MessageTemplates that matches the filter.
75506
+ * Note, that providing `undefined` is treated as the value not being there.
75507
+ * Read more here: https://pris.ly/d/null-undefined
75508
+ * @param {MessageTemplateFindManyArgs} args - Arguments to filter and select certain fields only.
75509
+ * @example
75510
+ * // Get all MessageTemplates
75511
+ * const messageTemplates = await prisma.messageTemplate.findMany()
75512
+ *
75513
+ * // Get first 10 MessageTemplates
75514
+ * const messageTemplates = await prisma.messageTemplate.findMany({ take: 10 })
75515
+ *
75516
+ * // Only select the `id`
75517
+ * const messageTemplateWithIdOnly = await prisma.messageTemplate.findMany({ select: { id: true } })
75518
+ *
75519
+ */
75520
+ findMany<T extends MessageTemplateFindManyArgs>(args?: SelectSubset<T, MessageTemplateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "findMany">>
75521
+
75522
+ /**
75523
+ * Create a MessageTemplate.
75524
+ * @param {MessageTemplateCreateArgs} args - Arguments to create a MessageTemplate.
75525
+ * @example
75526
+ * // Create one MessageTemplate
75527
+ * const MessageTemplate = await prisma.messageTemplate.create({
75528
+ * data: {
75529
+ * // ... data to create a MessageTemplate
75530
+ * }
75531
+ * })
75532
+ *
75533
+ */
75534
+ create<T extends MessageTemplateCreateArgs>(args: SelectSubset<T, MessageTemplateCreateArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "create">, never, ExtArgs>
75535
+
75536
+ /**
75537
+ * Create many MessageTemplates.
75538
+ * @param {MessageTemplateCreateManyArgs} args - Arguments to create many MessageTemplates.
75539
+ * @example
75540
+ * // Create many MessageTemplates
75541
+ * const messageTemplate = await prisma.messageTemplate.createMany({
75542
+ * data: [
75543
+ * // ... provide data here
75544
+ * ]
75545
+ * })
75546
+ *
75547
+ */
75548
+ createMany<T extends MessageTemplateCreateManyArgs>(args?: SelectSubset<T, MessageTemplateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
75549
+
75550
+ /**
75551
+ * Create many MessageTemplates and returns the data saved in the database.
75552
+ * @param {MessageTemplateCreateManyAndReturnArgs} args - Arguments to create many MessageTemplates.
75553
+ * @example
75554
+ * // Create many MessageTemplates
75555
+ * const messageTemplate = await prisma.messageTemplate.createManyAndReturn({
75556
+ * data: [
75557
+ * // ... provide data here
75558
+ * ]
75559
+ * })
75560
+ *
75561
+ * // Create many MessageTemplates and only return the `id`
75562
+ * const messageTemplateWithIdOnly = await prisma.messageTemplate.createManyAndReturn({
75563
+ * select: { id: true },
75564
+ * data: [
75565
+ * // ... provide data here
75566
+ * ]
75567
+ * })
75568
+ * Note, that providing `undefined` is treated as the value not being there.
75569
+ * Read more here: https://pris.ly/d/null-undefined
75570
+ *
75571
+ */
75572
+ createManyAndReturn<T extends MessageTemplateCreateManyAndReturnArgs>(args?: SelectSubset<T, MessageTemplateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "createManyAndReturn">>
75573
+
75574
+ /**
75575
+ * Delete a MessageTemplate.
75576
+ * @param {MessageTemplateDeleteArgs} args - Arguments to delete one MessageTemplate.
75577
+ * @example
75578
+ * // Delete one MessageTemplate
75579
+ * const MessageTemplate = await prisma.messageTemplate.delete({
75580
+ * where: {
75581
+ * // ... filter to delete one MessageTemplate
75582
+ * }
75583
+ * })
75584
+ *
75585
+ */
75586
+ delete<T extends MessageTemplateDeleteArgs>(args: SelectSubset<T, MessageTemplateDeleteArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "delete">, never, ExtArgs>
75587
+
75588
+ /**
75589
+ * Update one MessageTemplate.
75590
+ * @param {MessageTemplateUpdateArgs} args - Arguments to update one MessageTemplate.
75591
+ * @example
75592
+ * // Update one MessageTemplate
75593
+ * const messageTemplate = await prisma.messageTemplate.update({
75594
+ * where: {
75595
+ * // ... provide filter here
75596
+ * },
75597
+ * data: {
75598
+ * // ... provide data here
75599
+ * }
75600
+ * })
75601
+ *
75602
+ */
75603
+ update<T extends MessageTemplateUpdateArgs>(args: SelectSubset<T, MessageTemplateUpdateArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "update">, never, ExtArgs>
75604
+
75605
+ /**
75606
+ * Delete zero or more MessageTemplates.
75607
+ * @param {MessageTemplateDeleteManyArgs} args - Arguments to filter MessageTemplates to delete.
75608
+ * @example
75609
+ * // Delete a few MessageTemplates
75610
+ * const { count } = await prisma.messageTemplate.deleteMany({
75611
+ * where: {
75612
+ * // ... provide filter here
75613
+ * }
75614
+ * })
75615
+ *
75616
+ */
75617
+ deleteMany<T extends MessageTemplateDeleteManyArgs>(args?: SelectSubset<T, MessageTemplateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
75618
+
75619
+ /**
75620
+ * Update zero or more MessageTemplates.
75621
+ * Note, that providing `undefined` is treated as the value not being there.
75622
+ * Read more here: https://pris.ly/d/null-undefined
75623
+ * @param {MessageTemplateUpdateManyArgs} args - Arguments to update one or more rows.
75624
+ * @example
75625
+ * // Update many MessageTemplates
75626
+ * const messageTemplate = await prisma.messageTemplate.updateMany({
75627
+ * where: {
75628
+ * // ... provide filter here
75629
+ * },
75630
+ * data: {
75631
+ * // ... provide data here
75632
+ * }
75633
+ * })
75634
+ *
75635
+ */
75636
+ updateMany<T extends MessageTemplateUpdateManyArgs>(args: SelectSubset<T, MessageTemplateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
75637
+
75638
+ /**
75639
+ * Create or update one MessageTemplate.
75640
+ * @param {MessageTemplateUpsertArgs} args - Arguments to update or create a MessageTemplate.
75641
+ * @example
75642
+ * // Update or create a MessageTemplate
75643
+ * const messageTemplate = await prisma.messageTemplate.upsert({
75644
+ * create: {
75645
+ * // ... data to create a MessageTemplate
75646
+ * },
75647
+ * update: {
75648
+ * // ... in case it already exists, update
75649
+ * },
75650
+ * where: {
75651
+ * // ... the filter for the MessageTemplate we want to update
75652
+ * }
75653
+ * })
75654
+ */
75655
+ upsert<T extends MessageTemplateUpsertArgs>(args: SelectSubset<T, MessageTemplateUpsertArgs<ExtArgs>>): Prisma__MessageTemplateClient<$Result.GetResult<Prisma.$MessageTemplatePayload<ExtArgs>, T, "upsert">, never, ExtArgs>
75656
+
75657
+
75658
+ /**
75659
+ * Count the number of MessageTemplates.
75660
+ * Note, that providing `undefined` is treated as the value not being there.
75661
+ * Read more here: https://pris.ly/d/null-undefined
75662
+ * @param {MessageTemplateCountArgs} args - Arguments to filter MessageTemplates to count.
75663
+ * @example
75664
+ * // Count the number of MessageTemplates
75665
+ * const count = await prisma.messageTemplate.count({
75666
+ * where: {
75667
+ * // ... the filter for the MessageTemplates we want to count
75668
+ * }
75669
+ * })
75670
+ **/
75671
+ count<T extends MessageTemplateCountArgs>(
75672
+ args?: Subset<T, MessageTemplateCountArgs>,
75673
+ ): Prisma.PrismaPromise<
75674
+ T extends $Utils.Record<'select', any>
75675
+ ? T['select'] extends true
75676
+ ? number
75677
+ : GetScalarType<T['select'], MessageTemplateCountAggregateOutputType>
75678
+ : number
75679
+ >
75680
+
75681
+ /**
75682
+ * Allows you to perform aggregations operations on a MessageTemplate.
75683
+ * Note, that providing `undefined` is treated as the value not being there.
75684
+ * Read more here: https://pris.ly/d/null-undefined
75685
+ * @param {MessageTemplateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
75686
+ * @example
75687
+ * // Ordered by age ascending
75688
+ * // Where email contains prisma.io
75689
+ * // Limited to the 10 users
75690
+ * const aggregations = await prisma.user.aggregate({
75691
+ * _avg: {
75692
+ * age: true,
75693
+ * },
75694
+ * where: {
75695
+ * email: {
75696
+ * contains: "prisma.io",
75697
+ * },
75698
+ * },
75699
+ * orderBy: {
75700
+ * age: "asc",
75701
+ * },
75702
+ * take: 10,
75703
+ * })
75704
+ **/
75705
+ aggregate<T extends MessageTemplateAggregateArgs>(args: Subset<T, MessageTemplateAggregateArgs>): Prisma.PrismaPromise<GetMessageTemplateAggregateType<T>>
75706
+
75707
+ /**
75708
+ * Group by MessageTemplate.
75709
+ * Note, that providing `undefined` is treated as the value not being there.
75710
+ * Read more here: https://pris.ly/d/null-undefined
75711
+ * @param {MessageTemplateGroupByArgs} args - Group by arguments.
75712
+ * @example
75713
+ * // Group by city, order by createdAt, get count
75714
+ * const result = await prisma.user.groupBy({
75715
+ * by: ['city', 'createdAt'],
75716
+ * orderBy: {
75717
+ * createdAt: true
75718
+ * },
75719
+ * _count: {
75720
+ * _all: true
75721
+ * },
75722
+ * })
75723
+ *
75724
+ **/
75725
+ groupBy<
75726
+ T extends MessageTemplateGroupByArgs,
75727
+ HasSelectOrTake extends Or<
75728
+ Extends<'skip', Keys<T>>,
75729
+ Extends<'take', Keys<T>>
75730
+ >,
75731
+ OrderByArg extends True extends HasSelectOrTake
75732
+ ? { orderBy: MessageTemplateGroupByArgs['orderBy'] }
75733
+ : { orderBy?: MessageTemplateGroupByArgs['orderBy'] },
74624
75734
  OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
74625
75735
  ByFields extends MaybeTupleToUnion<T['by']>,
74626
75736
  ByValid extends Has<ByFields, OrderFields>,
@@ -105040,6 +106150,18 @@ export namespace Prisma {
105040
106150
  export type SocialProfileScalarFieldEnum = (typeof SocialProfileScalarFieldEnum)[keyof typeof SocialProfileScalarFieldEnum]
105041
106151
 
105042
106152
 
106153
+ export const SocialProfileContactScalarFieldEnum: {
106154
+ id: 'id',
106155
+ type: 'type',
106156
+ value: 'value',
106157
+ source: 'source',
106158
+ metaData: 'metaData',
106159
+ socialProfileId: 'socialProfileId'
106160
+ };
106161
+
106162
+ export type SocialProfileContactScalarFieldEnum = (typeof SocialProfileContactScalarFieldEnum)[keyof typeof SocialProfileContactScalarFieldEnum]
106163
+
106164
+
105043
106165
  export const MessageTemplateScalarFieldEnum: {
105044
106166
  id: 'id',
105045
106167
  label: 'label',
@@ -105927,6 +107049,14 @@ export namespace Prisma {
105927
107049
  export type SocialProfileOrderByRelevanceFieldEnum = (typeof SocialProfileOrderByRelevanceFieldEnum)[keyof typeof SocialProfileOrderByRelevanceFieldEnum]
105928
107050
 
105929
107051
 
107052
+ export const SocialProfileContactOrderByRelevanceFieldEnum: {
107053
+ type: 'type',
107054
+ value: 'value'
107055
+ };
107056
+
107057
+ export type SocialProfileContactOrderByRelevanceFieldEnum = (typeof SocialProfileContactOrderByRelevanceFieldEnum)[keyof typeof SocialProfileContactOrderByRelevanceFieldEnum]
107058
+
107059
+
105930
107060
  export const MessageTemplateOrderByRelevanceFieldEnum: {
105931
107061
  label: 'label',
105932
107062
  template: 'template'
@@ -106240,6 +107370,20 @@ export namespace Prisma {
106240
107370
 
106241
107371
 
106242
107372
 
107373
+ /**
107374
+ * Reference to a field of type 'SocialProfileContactSource'
107375
+ */
107376
+ export type EnumSocialProfileContactSourceFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'SocialProfileContactSource'>
107377
+
107378
+
107379
+
107380
+ /**
107381
+ * Reference to a field of type 'SocialProfileContactSource[]'
107382
+ */
107383
+ export type ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'SocialProfileContactSource[]'>
107384
+
107385
+
107386
+
106243
107387
  /**
106244
107388
  * Reference to a field of type 'Decimal'
106245
107389
  */
@@ -111482,6 +112626,7 @@ export namespace Prisma {
111482
112626
  campaignInvites?: CampaignInviteListRelationFilter
111483
112627
  user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
111484
112628
  creditRefundBatches?: CreditRefundBatchListRelationFilter
112629
+ socialProfileContacts?: SocialProfileContactListRelationFilter
111485
112630
  }
111486
112631
 
111487
112632
  export type SocialProfileOrderByWithRelationInput = {
@@ -111507,6 +112652,7 @@ export namespace Prisma {
111507
112652
  campaignInvites?: CampaignInviteOrderByRelationAggregateInput
111508
112653
  user?: UserOrderByWithRelationInput
111509
112654
  creditRefundBatches?: CreditRefundBatchOrderByRelationAggregateInput
112655
+ socialProfileContacts?: SocialProfileContactOrderByRelationAggregateInput
111510
112656
  _relevance?: SocialProfileOrderByRelevanceInput
111511
112657
  }
111512
112658
 
@@ -111536,6 +112682,7 @@ export namespace Prisma {
111536
112682
  campaignInvites?: CampaignInviteListRelationFilter
111537
112683
  user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
111538
112684
  creditRefundBatches?: CreditRefundBatchListRelationFilter
112685
+ socialProfileContacts?: SocialProfileContactListRelationFilter
111539
112686
  }, "id" | "socialId">
111540
112687
 
111541
112688
  export type SocialProfileOrderByWithAggregationInput = {
@@ -111588,6 +112735,69 @@ export namespace Prisma {
111588
112735
  updated?: DateTimeNullableWithAggregatesFilter<"SocialProfile"> | Date | string | null
111589
112736
  }
111590
112737
 
112738
+ export type SocialProfileContactWhereInput = {
112739
+ AND?: SocialProfileContactWhereInput | SocialProfileContactWhereInput[]
112740
+ OR?: SocialProfileContactWhereInput[]
112741
+ NOT?: SocialProfileContactWhereInput | SocialProfileContactWhereInput[]
112742
+ id?: IntFilter<"SocialProfileContact"> | number
112743
+ type?: StringFilter<"SocialProfileContact"> | string
112744
+ value?: StringFilter<"SocialProfileContact"> | string
112745
+ source?: EnumSocialProfileContactSourceFilter<"SocialProfileContact"> | $Enums.SocialProfileContactSource
112746
+ metaData?: JsonNullableFilter<"SocialProfileContact">
112747
+ socialProfileId?: IntFilter<"SocialProfileContact"> | number
112748
+ socialProfile?: XOR<SocialProfileRelationFilter, SocialProfileWhereInput>
112749
+ }
112750
+
112751
+ export type SocialProfileContactOrderByWithRelationInput = {
112752
+ id?: SortOrder
112753
+ type?: SortOrder
112754
+ value?: SortOrder
112755
+ source?: SortOrder
112756
+ metaData?: SortOrderInput | SortOrder
112757
+ socialProfileId?: SortOrder
112758
+ socialProfile?: SocialProfileOrderByWithRelationInput
112759
+ _relevance?: SocialProfileContactOrderByRelevanceInput
112760
+ }
112761
+
112762
+ export type SocialProfileContactWhereUniqueInput = Prisma.AtLeast<{
112763
+ id?: number
112764
+ AND?: SocialProfileContactWhereInput | SocialProfileContactWhereInput[]
112765
+ OR?: SocialProfileContactWhereInput[]
112766
+ NOT?: SocialProfileContactWhereInput | SocialProfileContactWhereInput[]
112767
+ type?: StringFilter<"SocialProfileContact"> | string
112768
+ value?: StringFilter<"SocialProfileContact"> | string
112769
+ source?: EnumSocialProfileContactSourceFilter<"SocialProfileContact"> | $Enums.SocialProfileContactSource
112770
+ metaData?: JsonNullableFilter<"SocialProfileContact">
112771
+ socialProfileId?: IntFilter<"SocialProfileContact"> | number
112772
+ socialProfile?: XOR<SocialProfileRelationFilter, SocialProfileWhereInput>
112773
+ }, "id">
112774
+
112775
+ export type SocialProfileContactOrderByWithAggregationInput = {
112776
+ id?: SortOrder
112777
+ type?: SortOrder
112778
+ value?: SortOrder
112779
+ source?: SortOrder
112780
+ metaData?: SortOrderInput | SortOrder
112781
+ socialProfileId?: SortOrder
112782
+ _count?: SocialProfileContactCountOrderByAggregateInput
112783
+ _avg?: SocialProfileContactAvgOrderByAggregateInput
112784
+ _max?: SocialProfileContactMaxOrderByAggregateInput
112785
+ _min?: SocialProfileContactMinOrderByAggregateInput
112786
+ _sum?: SocialProfileContactSumOrderByAggregateInput
112787
+ }
112788
+
112789
+ export type SocialProfileContactScalarWhereWithAggregatesInput = {
112790
+ AND?: SocialProfileContactScalarWhereWithAggregatesInput | SocialProfileContactScalarWhereWithAggregatesInput[]
112791
+ OR?: SocialProfileContactScalarWhereWithAggregatesInput[]
112792
+ NOT?: SocialProfileContactScalarWhereWithAggregatesInput | SocialProfileContactScalarWhereWithAggregatesInput[]
112793
+ id?: IntWithAggregatesFilter<"SocialProfileContact"> | number
112794
+ type?: StringWithAggregatesFilter<"SocialProfileContact"> | string
112795
+ value?: StringWithAggregatesFilter<"SocialProfileContact"> | string
112796
+ source?: EnumSocialProfileContactSourceWithAggregatesFilter<"SocialProfileContact"> | $Enums.SocialProfileContactSource
112797
+ metaData?: JsonNullableWithAggregatesFilter<"SocialProfileContact">
112798
+ socialProfileId?: IntWithAggregatesFilter<"SocialProfileContact"> | number
112799
+ }
112800
+
111591
112801
  export type MessageTemplateWhereInput = {
111592
112802
  AND?: MessageTemplateWhereInput | MessageTemplateWhereInput[]
111593
112803
  OR?: MessageTemplateWhereInput[]
@@ -119191,6 +120401,7 @@ export namespace Prisma {
119191
120401
  campaignInvites?: CampaignInviteCreateNestedManyWithoutSocialProfileInput
119192
120402
  user?: UserCreateNestedOneWithoutSocialProfilesInput
119193
120403
  creditRefundBatches?: CreditRefundBatchCreateNestedManyWithoutProfilesInput
120404
+ socialProfileContacts?: SocialProfileContactCreateNestedManyWithoutSocialProfileInput
119194
120405
  }
119195
120406
 
119196
120407
  export type SocialProfileUncheckedCreateInput = {
@@ -119215,6 +120426,7 @@ export namespace Prisma {
119215
120426
  creatorListItems?: CreatorListItemUncheckedCreateNestedManyWithoutSocialProfileInput
119216
120427
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutSocialProfileInput
119217
120428
  creditRefundBatches?: CreditRefundBatchUncheckedCreateNestedManyWithoutProfilesInput
120429
+ socialProfileContacts?: SocialProfileContactUncheckedCreateNestedManyWithoutSocialProfileInput
119218
120430
  }
119219
120431
 
119220
120432
  export type SocialProfileUpdateInput = {
@@ -119238,6 +120450,7 @@ export namespace Prisma {
119238
120450
  campaignInvites?: CampaignInviteUpdateManyWithoutSocialProfileNestedInput
119239
120451
  user?: UserUpdateOneWithoutSocialProfilesNestedInput
119240
120452
  creditRefundBatches?: CreditRefundBatchUpdateManyWithoutProfilesNestedInput
120453
+ socialProfileContacts?: SocialProfileContactUpdateManyWithoutSocialProfileNestedInput
119241
120454
  }
119242
120455
 
119243
120456
  export type SocialProfileUncheckedUpdateInput = {
@@ -119262,6 +120475,7 @@ export namespace Prisma {
119262
120475
  creatorListItems?: CreatorListItemUncheckedUpdateManyWithoutSocialProfileNestedInput
119263
120476
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutSocialProfileNestedInput
119264
120477
  creditRefundBatches?: CreditRefundBatchUncheckedUpdateManyWithoutProfilesNestedInput
120478
+ socialProfileContacts?: SocialProfileContactUncheckedUpdateManyWithoutSocialProfileNestedInput
119265
120479
  }
119266
120480
 
119267
120481
  export type SocialProfileCreateManyInput = {
@@ -119325,6 +120539,65 @@ export namespace Prisma {
119325
120539
  updated?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
119326
120540
  }
119327
120541
 
120542
+ export type SocialProfileContactCreateInput = {
120543
+ type: string
120544
+ value: string
120545
+ source?: $Enums.SocialProfileContactSource
120546
+ metaData?: NullableJsonNullValueInput | InputJsonValue
120547
+ socialProfile: SocialProfileCreateNestedOneWithoutSocialProfileContactsInput
120548
+ }
120549
+
120550
+ export type SocialProfileContactUncheckedCreateInput = {
120551
+ id?: number
120552
+ type: string
120553
+ value: string
120554
+ source?: $Enums.SocialProfileContactSource
120555
+ metaData?: NullableJsonNullValueInput | InputJsonValue
120556
+ socialProfileId: number
120557
+ }
120558
+
120559
+ export type SocialProfileContactUpdateInput = {
120560
+ type?: StringFieldUpdateOperationsInput | string
120561
+ value?: StringFieldUpdateOperationsInput | string
120562
+ source?: EnumSocialProfileContactSourceFieldUpdateOperationsInput | $Enums.SocialProfileContactSource
120563
+ metaData?: NullableJsonNullValueInput | InputJsonValue
120564
+ socialProfile?: SocialProfileUpdateOneRequiredWithoutSocialProfileContactsNestedInput
120565
+ }
120566
+
120567
+ export type SocialProfileContactUncheckedUpdateInput = {
120568
+ id?: IntFieldUpdateOperationsInput | number
120569
+ type?: StringFieldUpdateOperationsInput | string
120570
+ value?: StringFieldUpdateOperationsInput | string
120571
+ source?: EnumSocialProfileContactSourceFieldUpdateOperationsInput | $Enums.SocialProfileContactSource
120572
+ metaData?: NullableJsonNullValueInput | InputJsonValue
120573
+ socialProfileId?: IntFieldUpdateOperationsInput | number
120574
+ }
120575
+
120576
+ export type SocialProfileContactCreateManyInput = {
120577
+ id?: number
120578
+ type: string
120579
+ value: string
120580
+ source?: $Enums.SocialProfileContactSource
120581
+ metaData?: NullableJsonNullValueInput | InputJsonValue
120582
+ socialProfileId: number
120583
+ }
120584
+
120585
+ export type SocialProfileContactUpdateManyMutationInput = {
120586
+ type?: StringFieldUpdateOperationsInput | string
120587
+ value?: StringFieldUpdateOperationsInput | string
120588
+ source?: EnumSocialProfileContactSourceFieldUpdateOperationsInput | $Enums.SocialProfileContactSource
120589
+ metaData?: NullableJsonNullValueInput | InputJsonValue
120590
+ }
120591
+
120592
+ export type SocialProfileContactUncheckedUpdateManyInput = {
120593
+ id?: IntFieldUpdateOperationsInput | number
120594
+ type?: StringFieldUpdateOperationsInput | string
120595
+ value?: StringFieldUpdateOperationsInput | string
120596
+ source?: EnumSocialProfileContactSourceFieldUpdateOperationsInput | $Enums.SocialProfileContactSource
120597
+ metaData?: NullableJsonNullValueInput | InputJsonValue
120598
+ socialProfileId?: IntFieldUpdateOperationsInput | number
120599
+ }
120600
+
119328
120601
  export type MessageTemplateCreateInput = {
119329
120602
  label?: string | null
119330
120603
  template: string
@@ -125987,6 +127260,16 @@ export namespace Prisma {
125987
127260
  creatorListId?: SortOrder
125988
127261
  }
125989
127262
 
127263
+ export type SocialProfileContactListRelationFilter = {
127264
+ every?: SocialProfileContactWhereInput
127265
+ some?: SocialProfileContactWhereInput
127266
+ none?: SocialProfileContactWhereInput
127267
+ }
127268
+
127269
+ export type SocialProfileContactOrderByRelationAggregateInput = {
127270
+ _count?: SortOrder
127271
+ }
127272
+
125990
127273
  export type SocialProfileOrderByRelevanceInput = {
125991
127274
  fields: SocialProfileOrderByRelevanceFieldEnum | SocialProfileOrderByRelevanceFieldEnum[]
125992
127275
  sort: SortOrder
@@ -126066,6 +127349,69 @@ export namespace Prisma {
126066
127349
  avgViews?: SortOrder
126067
127350
  }
126068
127351
 
127352
+ export type EnumSocialProfileContactSourceFilter<$PrismaModel = never> = {
127353
+ equals?: $Enums.SocialProfileContactSource | EnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
127354
+ in?: $Enums.SocialProfileContactSource[] | ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
127355
+ notIn?: $Enums.SocialProfileContactSource[] | ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
127356
+ not?: NestedEnumSocialProfileContactSourceFilter<$PrismaModel> | $Enums.SocialProfileContactSource
127357
+ }
127358
+
127359
+ export type SocialProfileRelationFilter = {
127360
+ is?: SocialProfileWhereInput
127361
+ isNot?: SocialProfileWhereInput
127362
+ }
127363
+
127364
+ export type SocialProfileContactOrderByRelevanceInput = {
127365
+ fields: SocialProfileContactOrderByRelevanceFieldEnum | SocialProfileContactOrderByRelevanceFieldEnum[]
127366
+ sort: SortOrder
127367
+ search: string
127368
+ }
127369
+
127370
+ export type SocialProfileContactCountOrderByAggregateInput = {
127371
+ id?: SortOrder
127372
+ type?: SortOrder
127373
+ value?: SortOrder
127374
+ source?: SortOrder
127375
+ metaData?: SortOrder
127376
+ socialProfileId?: SortOrder
127377
+ }
127378
+
127379
+ export type SocialProfileContactAvgOrderByAggregateInput = {
127380
+ id?: SortOrder
127381
+ socialProfileId?: SortOrder
127382
+ }
127383
+
127384
+ export type SocialProfileContactMaxOrderByAggregateInput = {
127385
+ id?: SortOrder
127386
+ type?: SortOrder
127387
+ value?: SortOrder
127388
+ source?: SortOrder
127389
+ socialProfileId?: SortOrder
127390
+ }
127391
+
127392
+ export type SocialProfileContactMinOrderByAggregateInput = {
127393
+ id?: SortOrder
127394
+ type?: SortOrder
127395
+ value?: SortOrder
127396
+ source?: SortOrder
127397
+ socialProfileId?: SortOrder
127398
+ }
127399
+
127400
+ export type SocialProfileContactSumOrderByAggregateInput = {
127401
+ id?: SortOrder
127402
+ socialProfileId?: SortOrder
127403
+ }
127404
+
127405
+ export type EnumSocialProfileContactSourceWithAggregatesFilter<$PrismaModel = never> = {
127406
+ equals?: $Enums.SocialProfileContactSource | EnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
127407
+ in?: $Enums.SocialProfileContactSource[] | ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
127408
+ notIn?: $Enums.SocialProfileContactSource[] | ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
127409
+ not?: NestedEnumSocialProfileContactSourceWithAggregatesFilter<$PrismaModel> | $Enums.SocialProfileContactSource
127410
+ _count?: NestedIntFilter<$PrismaModel>
127411
+ _min?: NestedEnumSocialProfileContactSourceFilter<$PrismaModel>
127412
+ _max?: NestedEnumSocialProfileContactSourceFilter<$PrismaModel>
127413
+ }
127414
+
126069
127415
  export type MessageTemplateOrderByRelevanceInput = {
126070
127416
  fields: MessageTemplateOrderByRelevanceFieldEnum | MessageTemplateOrderByRelevanceFieldEnum[]
126071
127417
  sort: SortOrder
@@ -134351,6 +135697,13 @@ export namespace Prisma {
134351
135697
  connect?: CreditRefundBatchWhereUniqueInput | CreditRefundBatchWhereUniqueInput[]
134352
135698
  }
134353
135699
 
135700
+ export type SocialProfileContactCreateNestedManyWithoutSocialProfileInput = {
135701
+ create?: XOR<SocialProfileContactCreateWithoutSocialProfileInput, SocialProfileContactUncheckedCreateWithoutSocialProfileInput> | SocialProfileContactCreateWithoutSocialProfileInput[] | SocialProfileContactUncheckedCreateWithoutSocialProfileInput[]
135702
+ connectOrCreate?: SocialProfileContactCreateOrConnectWithoutSocialProfileInput | SocialProfileContactCreateOrConnectWithoutSocialProfileInput[]
135703
+ createMany?: SocialProfileContactCreateManySocialProfileInputEnvelope
135704
+ connect?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
135705
+ }
135706
+
134354
135707
  export type CreatorListItemUncheckedCreateNestedManyWithoutSocialProfileInput = {
134355
135708
  create?: XOR<CreatorListItemCreateWithoutSocialProfileInput, CreatorListItemUncheckedCreateWithoutSocialProfileInput> | CreatorListItemCreateWithoutSocialProfileInput[] | CreatorListItemUncheckedCreateWithoutSocialProfileInput[]
134356
135709
  connectOrCreate?: CreatorListItemCreateOrConnectWithoutSocialProfileInput | CreatorListItemCreateOrConnectWithoutSocialProfileInput[]
@@ -134371,6 +135724,13 @@ export namespace Prisma {
134371
135724
  connect?: CreditRefundBatchWhereUniqueInput | CreditRefundBatchWhereUniqueInput[]
134372
135725
  }
134373
135726
 
135727
+ export type SocialProfileContactUncheckedCreateNestedManyWithoutSocialProfileInput = {
135728
+ create?: XOR<SocialProfileContactCreateWithoutSocialProfileInput, SocialProfileContactUncheckedCreateWithoutSocialProfileInput> | SocialProfileContactCreateWithoutSocialProfileInput[] | SocialProfileContactUncheckedCreateWithoutSocialProfileInput[]
135729
+ connectOrCreate?: SocialProfileContactCreateOrConnectWithoutSocialProfileInput | SocialProfileContactCreateOrConnectWithoutSocialProfileInput[]
135730
+ createMany?: SocialProfileContactCreateManySocialProfileInputEnvelope
135731
+ connect?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
135732
+ }
135733
+
134374
135734
  export type CreatorListItemUpdateManyWithoutSocialProfileNestedInput = {
134375
135735
  create?: XOR<CreatorListItemCreateWithoutSocialProfileInput, CreatorListItemUncheckedCreateWithoutSocialProfileInput> | CreatorListItemCreateWithoutSocialProfileInput[] | CreatorListItemUncheckedCreateWithoutSocialProfileInput[]
134376
135736
  connectOrCreate?: CreatorListItemCreateOrConnectWithoutSocialProfileInput | CreatorListItemCreateOrConnectWithoutSocialProfileInput[]
@@ -134422,6 +135782,20 @@ export namespace Prisma {
134422
135782
  deleteMany?: CreditRefundBatchScalarWhereInput | CreditRefundBatchScalarWhereInput[]
134423
135783
  }
134424
135784
 
135785
+ export type SocialProfileContactUpdateManyWithoutSocialProfileNestedInput = {
135786
+ create?: XOR<SocialProfileContactCreateWithoutSocialProfileInput, SocialProfileContactUncheckedCreateWithoutSocialProfileInput> | SocialProfileContactCreateWithoutSocialProfileInput[] | SocialProfileContactUncheckedCreateWithoutSocialProfileInput[]
135787
+ connectOrCreate?: SocialProfileContactCreateOrConnectWithoutSocialProfileInput | SocialProfileContactCreateOrConnectWithoutSocialProfileInput[]
135788
+ upsert?: SocialProfileContactUpsertWithWhereUniqueWithoutSocialProfileInput | SocialProfileContactUpsertWithWhereUniqueWithoutSocialProfileInput[]
135789
+ createMany?: SocialProfileContactCreateManySocialProfileInputEnvelope
135790
+ set?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
135791
+ disconnect?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
135792
+ delete?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
135793
+ connect?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
135794
+ update?: SocialProfileContactUpdateWithWhereUniqueWithoutSocialProfileInput | SocialProfileContactUpdateWithWhereUniqueWithoutSocialProfileInput[]
135795
+ updateMany?: SocialProfileContactUpdateManyWithWhereWithoutSocialProfileInput | SocialProfileContactUpdateManyWithWhereWithoutSocialProfileInput[]
135796
+ deleteMany?: SocialProfileContactScalarWhereInput | SocialProfileContactScalarWhereInput[]
135797
+ }
135798
+
134425
135799
  export type CreatorListItemUncheckedUpdateManyWithoutSocialProfileNestedInput = {
134426
135800
  create?: XOR<CreatorListItemCreateWithoutSocialProfileInput, CreatorListItemUncheckedCreateWithoutSocialProfileInput> | CreatorListItemCreateWithoutSocialProfileInput[] | CreatorListItemUncheckedCreateWithoutSocialProfileInput[]
134427
135801
  connectOrCreate?: CreatorListItemCreateOrConnectWithoutSocialProfileInput | CreatorListItemCreateOrConnectWithoutSocialProfileInput[]
@@ -134463,6 +135837,38 @@ export namespace Prisma {
134463
135837
  deleteMany?: CreditRefundBatchScalarWhereInput | CreditRefundBatchScalarWhereInput[]
134464
135838
  }
134465
135839
 
135840
+ export type SocialProfileContactUncheckedUpdateManyWithoutSocialProfileNestedInput = {
135841
+ create?: XOR<SocialProfileContactCreateWithoutSocialProfileInput, SocialProfileContactUncheckedCreateWithoutSocialProfileInput> | SocialProfileContactCreateWithoutSocialProfileInput[] | SocialProfileContactUncheckedCreateWithoutSocialProfileInput[]
135842
+ connectOrCreate?: SocialProfileContactCreateOrConnectWithoutSocialProfileInput | SocialProfileContactCreateOrConnectWithoutSocialProfileInput[]
135843
+ upsert?: SocialProfileContactUpsertWithWhereUniqueWithoutSocialProfileInput | SocialProfileContactUpsertWithWhereUniqueWithoutSocialProfileInput[]
135844
+ createMany?: SocialProfileContactCreateManySocialProfileInputEnvelope
135845
+ set?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
135846
+ disconnect?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
135847
+ delete?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
135848
+ connect?: SocialProfileContactWhereUniqueInput | SocialProfileContactWhereUniqueInput[]
135849
+ update?: SocialProfileContactUpdateWithWhereUniqueWithoutSocialProfileInput | SocialProfileContactUpdateWithWhereUniqueWithoutSocialProfileInput[]
135850
+ updateMany?: SocialProfileContactUpdateManyWithWhereWithoutSocialProfileInput | SocialProfileContactUpdateManyWithWhereWithoutSocialProfileInput[]
135851
+ deleteMany?: SocialProfileContactScalarWhereInput | SocialProfileContactScalarWhereInput[]
135852
+ }
135853
+
135854
+ export type SocialProfileCreateNestedOneWithoutSocialProfileContactsInput = {
135855
+ create?: XOR<SocialProfileCreateWithoutSocialProfileContactsInput, SocialProfileUncheckedCreateWithoutSocialProfileContactsInput>
135856
+ connectOrCreate?: SocialProfileCreateOrConnectWithoutSocialProfileContactsInput
135857
+ connect?: SocialProfileWhereUniqueInput
135858
+ }
135859
+
135860
+ export type EnumSocialProfileContactSourceFieldUpdateOperationsInput = {
135861
+ set?: $Enums.SocialProfileContactSource
135862
+ }
135863
+
135864
+ export type SocialProfileUpdateOneRequiredWithoutSocialProfileContactsNestedInput = {
135865
+ create?: XOR<SocialProfileCreateWithoutSocialProfileContactsInput, SocialProfileUncheckedCreateWithoutSocialProfileContactsInput>
135866
+ connectOrCreate?: SocialProfileCreateOrConnectWithoutSocialProfileContactsInput
135867
+ upsert?: SocialProfileUpsertWithoutSocialProfileContactsInput
135868
+ connect?: SocialProfileWhereUniqueInput
135869
+ update?: XOR<XOR<SocialProfileUpdateToOneWithWhereWithoutSocialProfileContactsInput, SocialProfileUpdateWithoutSocialProfileContactsInput>, SocialProfileUncheckedUpdateWithoutSocialProfileContactsInput>
135870
+ }
135871
+
134466
135872
  export type BrandCreateNestedOneWithoutMessageTemplateInput = {
134467
135873
  create?: XOR<BrandCreateWithoutMessageTemplateInput, BrandUncheckedCreateWithoutMessageTemplateInput>
134468
135874
  connectOrCreate?: BrandCreateOrConnectWithoutMessageTemplateInput
@@ -136234,6 +137640,23 @@ export namespace Prisma {
136234
137640
  _max?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel>
136235
137641
  }
136236
137642
 
137643
+ export type NestedEnumSocialProfileContactSourceFilter<$PrismaModel = never> = {
137644
+ equals?: $Enums.SocialProfileContactSource | EnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
137645
+ in?: $Enums.SocialProfileContactSource[] | ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
137646
+ notIn?: $Enums.SocialProfileContactSource[] | ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
137647
+ not?: NestedEnumSocialProfileContactSourceFilter<$PrismaModel> | $Enums.SocialProfileContactSource
137648
+ }
137649
+
137650
+ export type NestedEnumSocialProfileContactSourceWithAggregatesFilter<$PrismaModel = never> = {
137651
+ equals?: $Enums.SocialProfileContactSource | EnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
137652
+ in?: $Enums.SocialProfileContactSource[] | ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
137653
+ notIn?: $Enums.SocialProfileContactSource[] | ListEnumSocialProfileContactSourceFieldRefInput<$PrismaModel>
137654
+ not?: NestedEnumSocialProfileContactSourceWithAggregatesFilter<$PrismaModel> | $Enums.SocialProfileContactSource
137655
+ _count?: NestedIntFilter<$PrismaModel>
137656
+ _min?: NestedEnumSocialProfileContactSourceFilter<$PrismaModel>
137657
+ _max?: NestedEnumSocialProfileContactSourceFilter<$PrismaModel>
137658
+ }
137659
+
136237
137660
  export type NestedDecimalNullableFilter<$PrismaModel = never> = {
136238
137661
  equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null
136239
137662
  in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null
@@ -137339,6 +138762,7 @@ export namespace Prisma {
137339
138762
  creatorListItems?: CreatorListItemCreateNestedManyWithoutSocialProfileInput
137340
138763
  campaignInvites?: CampaignInviteCreateNestedManyWithoutSocialProfileInput
137341
138764
  creditRefundBatches?: CreditRefundBatchCreateNestedManyWithoutProfilesInput
138765
+ socialProfileContacts?: SocialProfileContactCreateNestedManyWithoutSocialProfileInput
137342
138766
  }
137343
138767
 
137344
138768
  export type SocialProfileUncheckedCreateWithoutUserInput = {
@@ -137362,6 +138786,7 @@ export namespace Prisma {
137362
138786
  creatorListItems?: CreatorListItemUncheckedCreateNestedManyWithoutSocialProfileInput
137363
138787
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutSocialProfileInput
137364
138788
  creditRefundBatches?: CreditRefundBatchUncheckedCreateNestedManyWithoutProfilesInput
138789
+ socialProfileContacts?: SocialProfileContactUncheckedCreateNestedManyWithoutSocialProfileInput
137365
138790
  }
137366
138791
 
137367
138792
  export type SocialProfileCreateOrConnectWithoutUserInput = {
@@ -158575,6 +160000,7 @@ export namespace Prisma {
158575
160000
  creatorListItems?: CreatorListItemCreateNestedManyWithoutSocialProfileInput
158576
160001
  user?: UserCreateNestedOneWithoutSocialProfilesInput
158577
160002
  creditRefundBatches?: CreditRefundBatchCreateNestedManyWithoutProfilesInput
160003
+ socialProfileContacts?: SocialProfileContactCreateNestedManyWithoutSocialProfileInput
158578
160004
  }
158579
160005
 
158580
160006
  export type SocialProfileUncheckedCreateWithoutCampaignInvitesInput = {
@@ -158598,6 +160024,7 @@ export namespace Prisma {
158598
160024
  updated?: Date | string | null
158599
160025
  creatorListItems?: CreatorListItemUncheckedCreateNestedManyWithoutSocialProfileInput
158600
160026
  creditRefundBatches?: CreditRefundBatchUncheckedCreateNestedManyWithoutProfilesInput
160027
+ socialProfileContacts?: SocialProfileContactUncheckedCreateNestedManyWithoutSocialProfileInput
158601
160028
  }
158602
160029
 
158603
160030
  export type SocialProfileCreateOrConnectWithoutCampaignInvitesInput = {
@@ -158970,6 +160397,7 @@ export namespace Prisma {
158970
160397
  creatorListItems?: CreatorListItemUpdateManyWithoutSocialProfileNestedInput
158971
160398
  user?: UserUpdateOneWithoutSocialProfilesNestedInput
158972
160399
  creditRefundBatches?: CreditRefundBatchUpdateManyWithoutProfilesNestedInput
160400
+ socialProfileContacts?: SocialProfileContactUpdateManyWithoutSocialProfileNestedInput
158973
160401
  }
158974
160402
 
158975
160403
  export type SocialProfileUncheckedUpdateWithoutCampaignInvitesInput = {
@@ -158993,6 +160421,7 @@ export namespace Prisma {
158993
160421
  updated?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
158994
160422
  creatorListItems?: CreatorListItemUncheckedUpdateManyWithoutSocialProfileNestedInput
158995
160423
  creditRefundBatches?: CreditRefundBatchUncheckedUpdateManyWithoutProfilesNestedInput
160424
+ socialProfileContacts?: SocialProfileContactUncheckedUpdateManyWithoutSocialProfileNestedInput
158996
160425
  }
158997
160426
 
158998
160427
  export type OptInUpsertWithoutCampaignInvitesInput = {
@@ -159992,6 +161421,7 @@ export namespace Prisma {
159992
161421
  campaignInvites?: CampaignInviteCreateNestedManyWithoutSocialProfileInput
159993
161422
  user?: UserCreateNestedOneWithoutSocialProfilesInput
159994
161423
  creditRefundBatches?: CreditRefundBatchCreateNestedManyWithoutProfilesInput
161424
+ socialProfileContacts?: SocialProfileContactCreateNestedManyWithoutSocialProfileInput
159995
161425
  }
159996
161426
 
159997
161427
  export type SocialProfileUncheckedCreateWithoutCreatorListItemsInput = {
@@ -160015,6 +161445,7 @@ export namespace Prisma {
160015
161445
  updated?: Date | string | null
160016
161446
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutSocialProfileInput
160017
161447
  creditRefundBatches?: CreditRefundBatchUncheckedCreateNestedManyWithoutProfilesInput
161448
+ socialProfileContacts?: SocialProfileContactUncheckedCreateNestedManyWithoutSocialProfileInput
160018
161449
  }
160019
161450
 
160020
161451
  export type SocialProfileCreateOrConnectWithoutCreatorListItemsInput = {
@@ -160157,6 +161588,7 @@ export namespace Prisma {
160157
161588
  campaignInvites?: CampaignInviteUpdateManyWithoutSocialProfileNestedInput
160158
161589
  user?: UserUpdateOneWithoutSocialProfilesNestedInput
160159
161590
  creditRefundBatches?: CreditRefundBatchUpdateManyWithoutProfilesNestedInput
161591
+ socialProfileContacts?: SocialProfileContactUpdateManyWithoutSocialProfileNestedInput
160160
161592
  }
160161
161593
 
160162
161594
  export type SocialProfileUncheckedUpdateWithoutCreatorListItemsInput = {
@@ -160180,6 +161612,7 @@ export namespace Prisma {
160180
161612
  updated?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
160181
161613
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutSocialProfileNestedInput
160182
161614
  creditRefundBatches?: CreditRefundBatchUncheckedUpdateManyWithoutProfilesNestedInput
161615
+ socialProfileContacts?: SocialProfileContactUncheckedUpdateManyWithoutSocialProfileNestedInput
160183
161616
  }
160184
161617
 
160185
161618
  export type SequenceOutboundEmailUpsertWithWhereUniqueWithoutCreatorListInput = {
@@ -160467,6 +161900,31 @@ export namespace Prisma {
160467
161900
  create: XOR<CreditRefundBatchCreateWithoutProfilesInput, CreditRefundBatchUncheckedCreateWithoutProfilesInput>
160468
161901
  }
160469
161902
 
161903
+ export type SocialProfileContactCreateWithoutSocialProfileInput = {
161904
+ type: string
161905
+ value: string
161906
+ source?: $Enums.SocialProfileContactSource
161907
+ metaData?: NullableJsonNullValueInput | InputJsonValue
161908
+ }
161909
+
161910
+ export type SocialProfileContactUncheckedCreateWithoutSocialProfileInput = {
161911
+ id?: number
161912
+ type: string
161913
+ value: string
161914
+ source?: $Enums.SocialProfileContactSource
161915
+ metaData?: NullableJsonNullValueInput | InputJsonValue
161916
+ }
161917
+
161918
+ export type SocialProfileContactCreateOrConnectWithoutSocialProfileInput = {
161919
+ where: SocialProfileContactWhereUniqueInput
161920
+ create: XOR<SocialProfileContactCreateWithoutSocialProfileInput, SocialProfileContactUncheckedCreateWithoutSocialProfileInput>
161921
+ }
161922
+
161923
+ export type SocialProfileContactCreateManySocialProfileInputEnvelope = {
161924
+ data: SocialProfileContactCreateManySocialProfileInput | SocialProfileContactCreateManySocialProfileInput[]
161925
+ skipDuplicates?: boolean
161926
+ }
161927
+
160470
161928
  export type CreatorListItemUpsertWithWhereUniqueWithoutSocialProfileInput = {
160471
161929
  where: CreatorListItemWhereUniqueInput
160472
161930
  update: XOR<CreatorListItemUpdateWithoutSocialProfileInput, CreatorListItemUncheckedUpdateWithoutSocialProfileInput>
@@ -160637,6 +162095,144 @@ export namespace Prisma {
160637
162095
  data: XOR<CreditRefundBatchUpdateManyMutationInput, CreditRefundBatchUncheckedUpdateManyWithoutProfilesInput>
160638
162096
  }
160639
162097
 
162098
+ export type SocialProfileContactUpsertWithWhereUniqueWithoutSocialProfileInput = {
162099
+ where: SocialProfileContactWhereUniqueInput
162100
+ update: XOR<SocialProfileContactUpdateWithoutSocialProfileInput, SocialProfileContactUncheckedUpdateWithoutSocialProfileInput>
162101
+ create: XOR<SocialProfileContactCreateWithoutSocialProfileInput, SocialProfileContactUncheckedCreateWithoutSocialProfileInput>
162102
+ }
162103
+
162104
+ export type SocialProfileContactUpdateWithWhereUniqueWithoutSocialProfileInput = {
162105
+ where: SocialProfileContactWhereUniqueInput
162106
+ data: XOR<SocialProfileContactUpdateWithoutSocialProfileInput, SocialProfileContactUncheckedUpdateWithoutSocialProfileInput>
162107
+ }
162108
+
162109
+ export type SocialProfileContactUpdateManyWithWhereWithoutSocialProfileInput = {
162110
+ where: SocialProfileContactScalarWhereInput
162111
+ data: XOR<SocialProfileContactUpdateManyMutationInput, SocialProfileContactUncheckedUpdateManyWithoutSocialProfileInput>
162112
+ }
162113
+
162114
+ export type SocialProfileContactScalarWhereInput = {
162115
+ AND?: SocialProfileContactScalarWhereInput | SocialProfileContactScalarWhereInput[]
162116
+ OR?: SocialProfileContactScalarWhereInput[]
162117
+ NOT?: SocialProfileContactScalarWhereInput | SocialProfileContactScalarWhereInput[]
162118
+ id?: IntFilter<"SocialProfileContact"> | number
162119
+ type?: StringFilter<"SocialProfileContact"> | string
162120
+ value?: StringFilter<"SocialProfileContact"> | string
162121
+ source?: EnumSocialProfileContactSourceFilter<"SocialProfileContact"> | $Enums.SocialProfileContactSource
162122
+ metaData?: JsonNullableFilter<"SocialProfileContact">
162123
+ socialProfileId?: IntFilter<"SocialProfileContact"> | number
162124
+ }
162125
+
162126
+ export type SocialProfileCreateWithoutSocialProfileContactsInput = {
162127
+ socialId?: string | null
162128
+ platform: string
162129
+ username: string
162130
+ fullname?: string | null
162131
+ profileUrl?: string | null
162132
+ profilePicUrl?: string | null
162133
+ followerCount?: number | null
162134
+ engagement?: number | null
162135
+ avgViews?: number | null
162136
+ verified?: boolean | null
162137
+ visibility?: string
162138
+ metaData?: JsonNullValueInput | InputJsonValue
162139
+ audienceData?: JsonNullValueInput | InputJsonValue
162140
+ phylloData?: JsonNullValueInput | InputJsonValue
162141
+ created?: Date | string
162142
+ updated?: Date | string | null
162143
+ creatorListItems?: CreatorListItemCreateNestedManyWithoutSocialProfileInput
162144
+ campaignInvites?: CampaignInviteCreateNestedManyWithoutSocialProfileInput
162145
+ user?: UserCreateNestedOneWithoutSocialProfilesInput
162146
+ creditRefundBatches?: CreditRefundBatchCreateNestedManyWithoutProfilesInput
162147
+ }
162148
+
162149
+ export type SocialProfileUncheckedCreateWithoutSocialProfileContactsInput = {
162150
+ id?: number
162151
+ socialId?: string | null
162152
+ userId?: number | null
162153
+ platform: string
162154
+ username: string
162155
+ fullname?: string | null
162156
+ profileUrl?: string | null
162157
+ profilePicUrl?: string | null
162158
+ followerCount?: number | null
162159
+ engagement?: number | null
162160
+ avgViews?: number | null
162161
+ verified?: boolean | null
162162
+ visibility?: string
162163
+ metaData?: JsonNullValueInput | InputJsonValue
162164
+ audienceData?: JsonNullValueInput | InputJsonValue
162165
+ phylloData?: JsonNullValueInput | InputJsonValue
162166
+ created?: Date | string
162167
+ updated?: Date | string | null
162168
+ creatorListItems?: CreatorListItemUncheckedCreateNestedManyWithoutSocialProfileInput
162169
+ campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutSocialProfileInput
162170
+ creditRefundBatches?: CreditRefundBatchUncheckedCreateNestedManyWithoutProfilesInput
162171
+ }
162172
+
162173
+ export type SocialProfileCreateOrConnectWithoutSocialProfileContactsInput = {
162174
+ where: SocialProfileWhereUniqueInput
162175
+ create: XOR<SocialProfileCreateWithoutSocialProfileContactsInput, SocialProfileUncheckedCreateWithoutSocialProfileContactsInput>
162176
+ }
162177
+
162178
+ export type SocialProfileUpsertWithoutSocialProfileContactsInput = {
162179
+ update: XOR<SocialProfileUpdateWithoutSocialProfileContactsInput, SocialProfileUncheckedUpdateWithoutSocialProfileContactsInput>
162180
+ create: XOR<SocialProfileCreateWithoutSocialProfileContactsInput, SocialProfileUncheckedCreateWithoutSocialProfileContactsInput>
162181
+ where?: SocialProfileWhereInput
162182
+ }
162183
+
162184
+ export type SocialProfileUpdateToOneWithWhereWithoutSocialProfileContactsInput = {
162185
+ where?: SocialProfileWhereInput
162186
+ data: XOR<SocialProfileUpdateWithoutSocialProfileContactsInput, SocialProfileUncheckedUpdateWithoutSocialProfileContactsInput>
162187
+ }
162188
+
162189
+ export type SocialProfileUpdateWithoutSocialProfileContactsInput = {
162190
+ socialId?: NullableStringFieldUpdateOperationsInput | string | null
162191
+ platform?: StringFieldUpdateOperationsInput | string
162192
+ username?: StringFieldUpdateOperationsInput | string
162193
+ fullname?: NullableStringFieldUpdateOperationsInput | string | null
162194
+ profileUrl?: NullableStringFieldUpdateOperationsInput | string | null
162195
+ profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
162196
+ followerCount?: NullableIntFieldUpdateOperationsInput | number | null
162197
+ engagement?: NullableFloatFieldUpdateOperationsInput | number | null
162198
+ avgViews?: NullableIntFieldUpdateOperationsInput | number | null
162199
+ verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
162200
+ visibility?: StringFieldUpdateOperationsInput | string
162201
+ metaData?: JsonNullValueInput | InputJsonValue
162202
+ audienceData?: JsonNullValueInput | InputJsonValue
162203
+ phylloData?: JsonNullValueInput | InputJsonValue
162204
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
162205
+ updated?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
162206
+ creatorListItems?: CreatorListItemUpdateManyWithoutSocialProfileNestedInput
162207
+ campaignInvites?: CampaignInviteUpdateManyWithoutSocialProfileNestedInput
162208
+ user?: UserUpdateOneWithoutSocialProfilesNestedInput
162209
+ creditRefundBatches?: CreditRefundBatchUpdateManyWithoutProfilesNestedInput
162210
+ }
162211
+
162212
+ export type SocialProfileUncheckedUpdateWithoutSocialProfileContactsInput = {
162213
+ id?: IntFieldUpdateOperationsInput | number
162214
+ socialId?: NullableStringFieldUpdateOperationsInput | string | null
162215
+ userId?: NullableIntFieldUpdateOperationsInput | number | null
162216
+ platform?: StringFieldUpdateOperationsInput | string
162217
+ username?: StringFieldUpdateOperationsInput | string
162218
+ fullname?: NullableStringFieldUpdateOperationsInput | string | null
162219
+ profileUrl?: NullableStringFieldUpdateOperationsInput | string | null
162220
+ profilePicUrl?: NullableStringFieldUpdateOperationsInput | string | null
162221
+ followerCount?: NullableIntFieldUpdateOperationsInput | number | null
162222
+ engagement?: NullableFloatFieldUpdateOperationsInput | number | null
162223
+ avgViews?: NullableIntFieldUpdateOperationsInput | number | null
162224
+ verified?: NullableBoolFieldUpdateOperationsInput | boolean | null
162225
+ visibility?: StringFieldUpdateOperationsInput | string
162226
+ metaData?: JsonNullValueInput | InputJsonValue
162227
+ audienceData?: JsonNullValueInput | InputJsonValue
162228
+ phylloData?: JsonNullValueInput | InputJsonValue
162229
+ created?: DateTimeFieldUpdateOperationsInput | Date | string
162230
+ updated?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
162231
+ creatorListItems?: CreatorListItemUncheckedUpdateManyWithoutSocialProfileNestedInput
162232
+ campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutSocialProfileNestedInput
162233
+ creditRefundBatches?: CreditRefundBatchUncheckedUpdateManyWithoutProfilesNestedInput
162234
+ }
162235
+
160640
162236
  export type BrandCreateWithoutMessageTemplateInput = {
160641
162237
  name: string
160642
162238
  description?: string | null
@@ -168657,6 +170253,7 @@ export namespace Prisma {
168657
170253
  creatorListItems?: CreatorListItemCreateNestedManyWithoutSocialProfileInput
168658
170254
  campaignInvites?: CampaignInviteCreateNestedManyWithoutSocialProfileInput
168659
170255
  user?: UserCreateNestedOneWithoutSocialProfilesInput
170256
+ socialProfileContacts?: SocialProfileContactCreateNestedManyWithoutSocialProfileInput
168660
170257
  }
168661
170258
 
168662
170259
  export type SocialProfileUncheckedCreateWithoutCreditRefundBatchesInput = {
@@ -168680,6 +170277,7 @@ export namespace Prisma {
168680
170277
  updated?: Date | string | null
168681
170278
  creatorListItems?: CreatorListItemUncheckedCreateNestedManyWithoutSocialProfileInput
168682
170279
  campaignInvites?: CampaignInviteUncheckedCreateNestedManyWithoutSocialProfileInput
170280
+ socialProfileContacts?: SocialProfileContactUncheckedCreateNestedManyWithoutSocialProfileInput
168683
170281
  }
168684
170282
 
168685
170283
  export type SocialProfileCreateOrConnectWithoutCreditRefundBatchesInput = {
@@ -170840,6 +172438,7 @@ export namespace Prisma {
170840
172438
  creatorListItems?: CreatorListItemUpdateManyWithoutSocialProfileNestedInput
170841
172439
  campaignInvites?: CampaignInviteUpdateManyWithoutSocialProfileNestedInput
170842
172440
  creditRefundBatches?: CreditRefundBatchUpdateManyWithoutProfilesNestedInput
172441
+ socialProfileContacts?: SocialProfileContactUpdateManyWithoutSocialProfileNestedInput
170843
172442
  }
170844
172443
 
170845
172444
  export type SocialProfileUncheckedUpdateWithoutUserInput = {
@@ -170863,6 +172462,7 @@ export namespace Prisma {
170863
172462
  creatorListItems?: CreatorListItemUncheckedUpdateManyWithoutSocialProfileNestedInput
170864
172463
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutSocialProfileNestedInput
170865
172464
  creditRefundBatches?: CreditRefundBatchUncheckedUpdateManyWithoutProfilesNestedInput
172465
+ socialProfileContacts?: SocialProfileContactUncheckedUpdateManyWithoutSocialProfileNestedInput
170866
172466
  }
170867
172467
 
170868
172468
  export type SocialProfileUncheckedUpdateManyWithoutUserInput = {
@@ -175116,6 +176716,14 @@ export namespace Prisma {
175116
176716
  metaData?: NullableJsonNullValueInput | InputJsonValue
175117
176717
  }
175118
176718
 
176719
+ export type SocialProfileContactCreateManySocialProfileInput = {
176720
+ id?: number
176721
+ type: string
176722
+ value: string
176723
+ source?: $Enums.SocialProfileContactSource
176724
+ metaData?: NullableJsonNullValueInput | InputJsonValue
176725
+ }
176726
+
175119
176727
  export type CreatorListItemUpdateWithoutSocialProfileInput = {
175120
176728
  saved?: DateTimeFieldUpdateOperationsInput | Date | string
175121
176729
  invited?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -175209,6 +176817,29 @@ export namespace Prisma {
175209
176817
  brandId?: IntFieldUpdateOperationsInput | number
175210
176818
  }
175211
176819
 
176820
+ export type SocialProfileContactUpdateWithoutSocialProfileInput = {
176821
+ type?: StringFieldUpdateOperationsInput | string
176822
+ value?: StringFieldUpdateOperationsInput | string
176823
+ source?: EnumSocialProfileContactSourceFieldUpdateOperationsInput | $Enums.SocialProfileContactSource
176824
+ metaData?: NullableJsonNullValueInput | InputJsonValue
176825
+ }
176826
+
176827
+ export type SocialProfileContactUncheckedUpdateWithoutSocialProfileInput = {
176828
+ id?: IntFieldUpdateOperationsInput | number
176829
+ type?: StringFieldUpdateOperationsInput | string
176830
+ value?: StringFieldUpdateOperationsInput | string
176831
+ source?: EnumSocialProfileContactSourceFieldUpdateOperationsInput | $Enums.SocialProfileContactSource
176832
+ metaData?: NullableJsonNullValueInput | InputJsonValue
176833
+ }
176834
+
176835
+ export type SocialProfileContactUncheckedUpdateManyWithoutSocialProfileInput = {
176836
+ id?: IntFieldUpdateOperationsInput | number
176837
+ type?: StringFieldUpdateOperationsInput | string
176838
+ value?: StringFieldUpdateOperationsInput | string
176839
+ source?: EnumSocialProfileContactSourceFieldUpdateOperationsInput | $Enums.SocialProfileContactSource
176840
+ metaData?: NullableJsonNullValueInput | InputJsonValue
176841
+ }
176842
+
175212
176843
  export type SequenceStepCreateManyEmailTemplateInput = {
175213
176844
  id?: number
175214
176845
  sequenceId: number
@@ -175639,6 +177270,7 @@ export namespace Prisma {
175639
177270
  creatorListItems?: CreatorListItemUpdateManyWithoutSocialProfileNestedInput
175640
177271
  campaignInvites?: CampaignInviteUpdateManyWithoutSocialProfileNestedInput
175641
177272
  user?: UserUpdateOneWithoutSocialProfilesNestedInput
177273
+ socialProfileContacts?: SocialProfileContactUpdateManyWithoutSocialProfileNestedInput
175642
177274
  }
175643
177275
 
175644
177276
  export type SocialProfileUncheckedUpdateWithoutCreditRefundBatchesInput = {
@@ -175662,6 +177294,7 @@ export namespace Prisma {
175662
177294
  updated?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
175663
177295
  creatorListItems?: CreatorListItemUncheckedUpdateManyWithoutSocialProfileNestedInput
175664
177296
  campaignInvites?: CampaignInviteUncheckedUpdateManyWithoutSocialProfileNestedInput
177297
+ socialProfileContacts?: SocialProfileContactUncheckedUpdateManyWithoutSocialProfileNestedInput
175665
177298
  }
175666
177299
 
175667
177300
  export type SocialProfileUncheckedUpdateManyWithoutCreditRefundBatchesInput = {
@@ -176054,6 +177687,10 @@ export namespace Prisma {
176054
177687
  * @deprecated Use SocialProfileDefaultArgs instead
176055
177688
  */
176056
177689
  export type SocialProfileArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialProfileDefaultArgs<ExtArgs>
177690
+ /**
177691
+ * @deprecated Use SocialProfileContactDefaultArgs instead
177692
+ */
177693
+ export type SocialProfileContactArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialProfileContactDefaultArgs<ExtArgs>
176057
177694
  /**
176058
177695
  * @deprecated Use MessageTemplateDefaultArgs instead
176059
177696
  */