@creator.co/creatorco-prisma-client 1.0.38 → 1.0.39

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-browser.js CHANGED
@@ -449,7 +449,6 @@ exports.Prisma.CampaignToImageScalarFieldEnum = {
449
449
  };
450
450
 
451
451
  exports.Prisma.CampaignToBrandAffiliateLinkScalarFieldEnum = {
452
- id: 'id',
453
452
  campaignId: 'campaignId',
454
453
  brandAffiliateLinkId: 'brandAffiliateLinkId'
455
454
  };
package/index.d.ts CHANGED
@@ -32901,31 +32901,26 @@ export namespace Prisma {
32901
32901
  }
32902
32902
 
32903
32903
  export type CampaignToBrandAffiliateLinkAvgAggregateOutputType = {
32904
- id: number | null
32905
32904
  campaignId: number | null
32906
32905
  brandAffiliateLinkId: number | null
32907
32906
  }
32908
32907
 
32909
32908
  export type CampaignToBrandAffiliateLinkSumAggregateOutputType = {
32910
- id: number | null
32911
32909
  campaignId: number | null
32912
32910
  brandAffiliateLinkId: number | null
32913
32911
  }
32914
32912
 
32915
32913
  export type CampaignToBrandAffiliateLinkMinAggregateOutputType = {
32916
- id: number | null
32917
32914
  campaignId: number | null
32918
32915
  brandAffiliateLinkId: number | null
32919
32916
  }
32920
32917
 
32921
32918
  export type CampaignToBrandAffiliateLinkMaxAggregateOutputType = {
32922
- id: number | null
32923
32919
  campaignId: number | null
32924
32920
  brandAffiliateLinkId: number | null
32925
32921
  }
32926
32922
 
32927
32923
  export type CampaignToBrandAffiliateLinkCountAggregateOutputType = {
32928
- id: number
32929
32924
  campaignId: number
32930
32925
  brandAffiliateLinkId: number
32931
32926
  _all: number
@@ -32933,31 +32928,26 @@ export namespace Prisma {
32933
32928
 
32934
32929
 
32935
32930
  export type CampaignToBrandAffiliateLinkAvgAggregateInputType = {
32936
- id?: true
32937
32931
  campaignId?: true
32938
32932
  brandAffiliateLinkId?: true
32939
32933
  }
32940
32934
 
32941
32935
  export type CampaignToBrandAffiliateLinkSumAggregateInputType = {
32942
- id?: true
32943
32936
  campaignId?: true
32944
32937
  brandAffiliateLinkId?: true
32945
32938
  }
32946
32939
 
32947
32940
  export type CampaignToBrandAffiliateLinkMinAggregateInputType = {
32948
- id?: true
32949
32941
  campaignId?: true
32950
32942
  brandAffiliateLinkId?: true
32951
32943
  }
32952
32944
 
32953
32945
  export type CampaignToBrandAffiliateLinkMaxAggregateInputType = {
32954
- id?: true
32955
32946
  campaignId?: true
32956
32947
  brandAffiliateLinkId?: true
32957
32948
  }
32958
32949
 
32959
32950
  export type CampaignToBrandAffiliateLinkCountAggregateInputType = {
32960
- id?: true
32961
32951
  campaignId?: true
32962
32952
  brandAffiliateLinkId?: true
32963
32953
  _all?: true
@@ -33050,7 +33040,6 @@ export namespace Prisma {
33050
33040
  }
33051
33041
 
33052
33042
  export type CampaignToBrandAffiliateLinkGroupByOutputType = {
33053
- id: number
33054
33043
  campaignId: number
33055
33044
  brandAffiliateLinkId: number
33056
33045
  _count: CampaignToBrandAffiliateLinkCountAggregateOutputType | null
@@ -33075,7 +33064,6 @@ export namespace Prisma {
33075
33064
 
33076
33065
 
33077
33066
  export type CampaignToBrandAffiliateLinkSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
33078
- id?: boolean
33079
33067
  campaignId?: boolean
33080
33068
  brandAffiliateLinkId?: boolean
33081
33069
  campaign?: boolean | CampaignDefaultArgs<ExtArgs>
@@ -33083,7 +33071,6 @@ export namespace Prisma {
33083
33071
  }, ExtArgs["result"]["campaignToBrandAffiliateLink"]>
33084
33072
 
33085
33073
  export type CampaignToBrandAffiliateLinkSelectScalar = {
33086
- id?: boolean
33087
33074
  campaignId?: boolean
33088
33075
  brandAffiliateLinkId?: boolean
33089
33076
  }
@@ -33102,7 +33089,6 @@ export namespace Prisma {
33102
33089
  brandAffiliateLink: Prisma.$BrandAffiliateLinkPayload<ExtArgs>
33103
33090
  }
33104
33091
  scalars: $Extensions.GetPayloadResult<{
33105
- id: number
33106
33092
  campaignId: number
33107
33093
  brandAffiliateLinkId: number
33108
33094
  }, ExtArgs["result"]["campaignToBrandAffiliateLink"]>
@@ -33197,8 +33183,8 @@ export namespace Prisma {
33197
33183
  * // Get first 10 CampaignToBrandAffiliateLinks
33198
33184
  * const campaignToBrandAffiliateLinks = await prisma.campaignToBrandAffiliateLink.findMany({ take: 10 })
33199
33185
  *
33200
- * // Only select the `id`
33201
- * const campaignToBrandAffiliateLinkWithIdOnly = await prisma.campaignToBrandAffiliateLink.findMany({ select: { id: true } })
33186
+ * // Only select the `campaignId`
33187
+ * const campaignToBrandAffiliateLinkWithCampaignIdOnly = await prisma.campaignToBrandAffiliateLink.findMany({ select: { campaignId: true } })
33202
33188
  *
33203
33189
  **/
33204
33190
  findMany<T extends CampaignToBrandAffiliateLinkFindManyArgs<ExtArgs>>(
@@ -33248,9 +33234,9 @@ export namespace Prisma {
33248
33234
  * ]
33249
33235
  * })
33250
33236
  *
33251
- * // Create many CampaignToBrandAffiliateLinks and only return the `id`
33252
- * const campaignToBrandAffiliateLinkWithIdOnly = await prisma.campaignToBrandAffiliateLink.createManyAndReturn({
33253
- * select: { id: true },
33237
+ * // Create many CampaignToBrandAffiliateLinks and only return the `campaignId`
33238
+ * const campaignToBrandAffiliateLinkWithCampaignIdOnly = await prisma.campaignToBrandAffiliateLink.createManyAndReturn({
33239
+ * select: { campaignId: true },
33254
33240
  * data: [
33255
33241
  * // ... provide data here
33256
33242
  * ]
@@ -33528,7 +33514,6 @@ export namespace Prisma {
33528
33514
  * Fields of the CampaignToBrandAffiliateLink model
33529
33515
  */
33530
33516
  interface CampaignToBrandAffiliateLinkFieldRefs {
33531
- readonly id: FieldRef<"CampaignToBrandAffiliateLink", 'Int'>
33532
33517
  readonly campaignId: FieldRef<"CampaignToBrandAffiliateLink", 'Int'>
33533
33518
  readonly brandAffiliateLinkId: FieldRef<"CampaignToBrandAffiliateLink", 'Int'>
33534
33519
  }
@@ -84686,7 +84671,6 @@ export namespace Prisma {
84686
84671
 
84687
84672
 
84688
84673
  export const CampaignToBrandAffiliateLinkScalarFieldEnum: {
84689
- id: 'id',
84690
84674
  campaignId: 'campaignId',
84691
84675
  brandAffiliateLinkId: 'brandAffiliateLinkId'
84692
84676
  };
@@ -88256,7 +88240,6 @@ export namespace Prisma {
88256
88240
  AND?: CampaignToBrandAffiliateLinkWhereInput | CampaignToBrandAffiliateLinkWhereInput[]
88257
88241
  OR?: CampaignToBrandAffiliateLinkWhereInput[]
88258
88242
  NOT?: CampaignToBrandAffiliateLinkWhereInput | CampaignToBrandAffiliateLinkWhereInput[]
88259
- id?: IntFilter<"CampaignToBrandAffiliateLink"> | number
88260
88243
  campaignId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
88261
88244
  brandAffiliateLinkId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
88262
88245
  campaign?: XOR<CampaignRelationFilter, CampaignWhereInput>
@@ -88264,7 +88247,6 @@ export namespace Prisma {
88264
88247
  }
88265
88248
 
88266
88249
  export type CampaignToBrandAffiliateLinkOrderByWithRelationAndSearchRelevanceInput = {
88267
- id?: SortOrder
88268
88250
  campaignId?: SortOrder
88269
88251
  brandAffiliateLinkId?: SortOrder
88270
88252
  campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
@@ -88272,7 +88254,7 @@ export namespace Prisma {
88272
88254
  }
88273
88255
 
88274
88256
  export type CampaignToBrandAffiliateLinkWhereUniqueInput = Prisma.AtLeast<{
88275
- id?: number
88257
+ campaignId_brandAffiliateLinkId?: CampaignToBrandAffiliateLinkCampaignIdBrandAffiliateLinkIdCompoundUniqueInput
88276
88258
  AND?: CampaignToBrandAffiliateLinkWhereInput | CampaignToBrandAffiliateLinkWhereInput[]
88277
88259
  OR?: CampaignToBrandAffiliateLinkWhereInput[]
88278
88260
  NOT?: CampaignToBrandAffiliateLinkWhereInput | CampaignToBrandAffiliateLinkWhereInput[]
@@ -88280,10 +88262,9 @@ export namespace Prisma {
88280
88262
  brandAffiliateLinkId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
88281
88263
  campaign?: XOR<CampaignRelationFilter, CampaignWhereInput>
88282
88264
  brandAffiliateLink?: XOR<BrandAffiliateLinkRelationFilter, BrandAffiliateLinkWhereInput>
88283
- }, "id">
88265
+ }, "campaignId_brandAffiliateLinkId">
88284
88266
 
88285
88267
  export type CampaignToBrandAffiliateLinkOrderByWithAggregationInput = {
88286
- id?: SortOrder
88287
88268
  campaignId?: SortOrder
88288
88269
  brandAffiliateLinkId?: SortOrder
88289
88270
  _count?: CampaignToBrandAffiliateLinkCountOrderByAggregateInput
@@ -88297,7 +88278,6 @@ export namespace Prisma {
88297
88278
  AND?: CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput | CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput[]
88298
88279
  OR?: CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput[]
88299
88280
  NOT?: CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput | CampaignToBrandAffiliateLinkScalarWhereWithAggregatesInput[]
88300
- id?: IntWithAggregatesFilter<"CampaignToBrandAffiliateLink"> | number
88301
88281
  campaignId?: IntWithAggregatesFilter<"CampaignToBrandAffiliateLink"> | number
88302
88282
  brandAffiliateLinkId?: IntWithAggregatesFilter<"CampaignToBrandAffiliateLink"> | number
88303
88283
  }
@@ -94369,7 +94349,6 @@ export namespace Prisma {
94369
94349
  }
94370
94350
 
94371
94351
  export type CampaignToBrandAffiliateLinkUncheckedCreateInput = {
94372
- id?: number
94373
94352
  campaignId: number
94374
94353
  brandAffiliateLinkId: number
94375
94354
  }
@@ -94380,13 +94359,11 @@ export namespace Prisma {
94380
94359
  }
94381
94360
 
94382
94361
  export type CampaignToBrandAffiliateLinkUncheckedUpdateInput = {
94383
- id?: IntFieldUpdateOperationsInput | number
94384
94362
  campaignId?: IntFieldUpdateOperationsInput | number
94385
94363
  brandAffiliateLinkId?: IntFieldUpdateOperationsInput | number
94386
94364
  }
94387
94365
 
94388
94366
  export type CampaignToBrandAffiliateLinkCreateManyInput = {
94389
- id?: number
94390
94367
  campaignId: number
94391
94368
  brandAffiliateLinkId: number
94392
94369
  }
@@ -94396,7 +94373,6 @@ export namespace Prisma {
94396
94373
  }
94397
94374
 
94398
94375
  export type CampaignToBrandAffiliateLinkUncheckedUpdateManyInput = {
94399
- id?: IntFieldUpdateOperationsInput | number
94400
94376
  campaignId?: IntFieldUpdateOperationsInput | number
94401
94377
  brandAffiliateLinkId?: IntFieldUpdateOperationsInput | number
94402
94378
  }
@@ -100155,32 +100131,32 @@ export namespace Prisma {
100155
100131
  isNot?: BrandAffiliateLinkWhereInput
100156
100132
  }
100157
100133
 
100134
+ export type CampaignToBrandAffiliateLinkCampaignIdBrandAffiliateLinkIdCompoundUniqueInput = {
100135
+ campaignId: number
100136
+ brandAffiliateLinkId: number
100137
+ }
100138
+
100158
100139
  export type CampaignToBrandAffiliateLinkCountOrderByAggregateInput = {
100159
- id?: SortOrder
100160
100140
  campaignId?: SortOrder
100161
100141
  brandAffiliateLinkId?: SortOrder
100162
100142
  }
100163
100143
 
100164
100144
  export type CampaignToBrandAffiliateLinkAvgOrderByAggregateInput = {
100165
- id?: SortOrder
100166
100145
  campaignId?: SortOrder
100167
100146
  brandAffiliateLinkId?: SortOrder
100168
100147
  }
100169
100148
 
100170
100149
  export type CampaignToBrandAffiliateLinkMaxOrderByAggregateInput = {
100171
- id?: SortOrder
100172
100150
  campaignId?: SortOrder
100173
100151
  brandAffiliateLinkId?: SortOrder
100174
100152
  }
100175
100153
 
100176
100154
  export type CampaignToBrandAffiliateLinkMinOrderByAggregateInput = {
100177
- id?: SortOrder
100178
100155
  campaignId?: SortOrder
100179
100156
  brandAffiliateLinkId?: SortOrder
100180
100157
  }
100181
100158
 
100182
100159
  export type CampaignToBrandAffiliateLinkSumOrderByAggregateInput = {
100183
- id?: SortOrder
100184
100160
  campaignId?: SortOrder
100185
100161
  brandAffiliateLinkId?: SortOrder
100186
100162
  }
@@ -117393,7 +117369,6 @@ export namespace Prisma {
117393
117369
  }
117394
117370
 
117395
117371
  export type CampaignToBrandAffiliateLinkUncheckedCreateWithoutCampaignInput = {
117396
- id?: number
117397
117372
  brandAffiliateLinkId: number
117398
117373
  }
117399
117374
 
@@ -117842,7 +117817,6 @@ export namespace Prisma {
117842
117817
  AND?: CampaignToBrandAffiliateLinkScalarWhereInput | CampaignToBrandAffiliateLinkScalarWhereInput[]
117843
117818
  OR?: CampaignToBrandAffiliateLinkScalarWhereInput[]
117844
117819
  NOT?: CampaignToBrandAffiliateLinkScalarWhereInput | CampaignToBrandAffiliateLinkScalarWhereInput[]
117845
- id?: IntFilter<"CampaignToBrandAffiliateLink"> | number
117846
117820
  campaignId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
117847
117821
  brandAffiliateLinkId?: IntFilter<"CampaignToBrandAffiliateLink"> | number
117848
117822
  }
@@ -124452,7 +124426,6 @@ export namespace Prisma {
124452
124426
  }
124453
124427
 
124454
124428
  export type CampaignToBrandAffiliateLinkUncheckedCreateWithoutBrandAffiliateLinkInput = {
124455
- id?: number
124456
124429
  campaignId: number
124457
124430
  }
124458
124431
 
@@ -133232,7 +133205,6 @@ export namespace Prisma {
133232
133205
  }
133233
133206
 
133234
133207
  export type CampaignToBrandAffiliateLinkCreateManyCampaignInput = {
133235
- id?: number
133236
133208
  brandAffiliateLinkId: number
133237
133209
  }
133238
133210
 
@@ -133630,12 +133602,10 @@ export namespace Prisma {
133630
133602
  }
133631
133603
 
133632
133604
  export type CampaignToBrandAffiliateLinkUncheckedUpdateWithoutCampaignInput = {
133633
- id?: IntFieldUpdateOperationsInput | number
133634
133605
  brandAffiliateLinkId?: IntFieldUpdateOperationsInput | number
133635
133606
  }
133636
133607
 
133637
133608
  export type CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutCampaignInput = {
133638
- id?: IntFieldUpdateOperationsInput | number
133639
133609
  brandAffiliateLinkId?: IntFieldUpdateOperationsInput | number
133640
133610
  }
133641
133611
 
@@ -134364,7 +134334,6 @@ export namespace Prisma {
134364
134334
  }
134365
134335
 
134366
134336
  export type CampaignToBrandAffiliateLinkCreateManyBrandAffiliateLinkInput = {
134367
- id?: number
134368
134337
  campaignId: number
134369
134338
  }
134370
134339
 
@@ -134395,12 +134364,10 @@ export namespace Prisma {
134395
134364
  }
134396
134365
 
134397
134366
  export type CampaignToBrandAffiliateLinkUncheckedUpdateWithoutBrandAffiliateLinkInput = {
134398
- id?: IntFieldUpdateOperationsInput | number
134399
134367
  campaignId?: IntFieldUpdateOperationsInput | number
134400
134368
  }
134401
134369
 
134402
134370
  export type CampaignToBrandAffiliateLinkUncheckedUpdateManyWithoutBrandAffiliateLinkInput = {
134403
- id?: IntFieldUpdateOperationsInput | number
134404
134371
  campaignId?: IntFieldUpdateOperationsInput | number
134405
134372
  }
134406
134373