@creator.co/creatorco-prisma-client 1.0.34-alpha-6895cd0 → 1.0.34

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
@@ -480,7 +480,6 @@ exports.Prisma.CampaignToProductListScalarFieldEnum = {
480
480
  };
481
481
 
482
482
  exports.Prisma.OptinToProductListItemScalarFieldEnum = {
483
- id: 'id',
484
483
  optInId: 'optInId',
485
484
  productListItemId: 'productListItemId'
486
485
  };
package/index.d.ts CHANGED
@@ -36170,31 +36170,26 @@ export namespace Prisma {
36170
36170
  }
36171
36171
 
36172
36172
  export type OptinToProductListItemAvgAggregateOutputType = {
36173
- id: number | null
36174
36173
  optInId: number | null
36175
36174
  productListItemId: number | null
36176
36175
  }
36177
36176
 
36178
36177
  export type OptinToProductListItemSumAggregateOutputType = {
36179
- id: number | null
36180
36178
  optInId: number | null
36181
36179
  productListItemId: number | null
36182
36180
  }
36183
36181
 
36184
36182
  export type OptinToProductListItemMinAggregateOutputType = {
36185
- id: number | null
36186
36183
  optInId: number | null
36187
36184
  productListItemId: number | null
36188
36185
  }
36189
36186
 
36190
36187
  export type OptinToProductListItemMaxAggregateOutputType = {
36191
- id: number | null
36192
36188
  optInId: number | null
36193
36189
  productListItemId: number | null
36194
36190
  }
36195
36191
 
36196
36192
  export type OptinToProductListItemCountAggregateOutputType = {
36197
- id: number
36198
36193
  optInId: number
36199
36194
  productListItemId: number
36200
36195
  _all: number
@@ -36202,31 +36197,26 @@ export namespace Prisma {
36202
36197
 
36203
36198
 
36204
36199
  export type OptinToProductListItemAvgAggregateInputType = {
36205
- id?: true
36206
36200
  optInId?: true
36207
36201
  productListItemId?: true
36208
36202
  }
36209
36203
 
36210
36204
  export type OptinToProductListItemSumAggregateInputType = {
36211
- id?: true
36212
36205
  optInId?: true
36213
36206
  productListItemId?: true
36214
36207
  }
36215
36208
 
36216
36209
  export type OptinToProductListItemMinAggregateInputType = {
36217
- id?: true
36218
36210
  optInId?: true
36219
36211
  productListItemId?: true
36220
36212
  }
36221
36213
 
36222
36214
  export type OptinToProductListItemMaxAggregateInputType = {
36223
- id?: true
36224
36215
  optInId?: true
36225
36216
  productListItemId?: true
36226
36217
  }
36227
36218
 
36228
36219
  export type OptinToProductListItemCountAggregateInputType = {
36229
- id?: true
36230
36220
  optInId?: true
36231
36221
  productListItemId?: true
36232
36222
  _all?: true
@@ -36319,7 +36309,6 @@ export namespace Prisma {
36319
36309
  }
36320
36310
 
36321
36311
  export type OptinToProductListItemGroupByOutputType = {
36322
- id: number
36323
36312
  optInId: number
36324
36313
  productListItemId: number
36325
36314
  _count: OptinToProductListItemCountAggregateOutputType | null
@@ -36344,7 +36333,6 @@ export namespace Prisma {
36344
36333
 
36345
36334
 
36346
36335
  export type OptinToProductListItemSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
36347
- id?: boolean
36348
36336
  optInId?: boolean
36349
36337
  productListItemId?: boolean
36350
36338
  optIn?: boolean | OptInDefaultArgs<ExtArgs>
@@ -36352,7 +36340,6 @@ export namespace Prisma {
36352
36340
  }, ExtArgs["result"]["optinToProductListItem"]>
36353
36341
 
36354
36342
  export type OptinToProductListItemSelectScalar = {
36355
- id?: boolean
36356
36343
  optInId?: boolean
36357
36344
  productListItemId?: boolean
36358
36345
  }
@@ -36371,7 +36358,6 @@ export namespace Prisma {
36371
36358
  productListItem: Prisma.$ProductListItemPayload<ExtArgs>
36372
36359
  }
36373
36360
  scalars: $Extensions.GetPayloadResult<{
36374
- id: number
36375
36361
  optInId: number
36376
36362
  productListItemId: number
36377
36363
  }, ExtArgs["result"]["optinToProductListItem"]>
@@ -36466,8 +36452,8 @@ export namespace Prisma {
36466
36452
  * // Get first 10 OptinToProductListItems
36467
36453
  * const optinToProductListItems = await prisma.optinToProductListItem.findMany({ take: 10 })
36468
36454
  *
36469
- * // Only select the `id`
36470
- * const optinToProductListItemWithIdOnly = await prisma.optinToProductListItem.findMany({ select: { id: true } })
36455
+ * // Only select the `optInId`
36456
+ * const optinToProductListItemWithOptInIdOnly = await prisma.optinToProductListItem.findMany({ select: { optInId: true } })
36471
36457
  *
36472
36458
  **/
36473
36459
  findMany<T extends OptinToProductListItemFindManyArgs<ExtArgs>>(
@@ -36771,7 +36757,6 @@ export namespace Prisma {
36771
36757
  * Fields of the OptinToProductListItem model
36772
36758
  */
36773
36759
  interface OptinToProductListItemFieldRefs {
36774
- readonly id: FieldRef<"OptinToProductListItem", 'Int'>
36775
36760
  readonly optInId: FieldRef<"OptinToProductListItem", 'Int'>
36776
36761
  readonly productListItemId: FieldRef<"OptinToProductListItem", 'Int'>
36777
36762
  }
@@ -78892,7 +78877,6 @@ export namespace Prisma {
78892
78877
 
78893
78878
 
78894
78879
  export const OptinToProductListItemScalarFieldEnum: {
78895
- id: 'id',
78896
78880
  optInId: 'optInId',
78897
78881
  productListItemId: 'productListItemId'
78898
78882
  };
@@ -82613,7 +82597,6 @@ export namespace Prisma {
82613
82597
  AND?: OptinToProductListItemWhereInput | OptinToProductListItemWhereInput[]
82614
82598
  OR?: OptinToProductListItemWhereInput[]
82615
82599
  NOT?: OptinToProductListItemWhereInput | OptinToProductListItemWhereInput[]
82616
- id?: IntFilter<"OptinToProductListItem"> | number
82617
82600
  optInId?: IntFilter<"OptinToProductListItem"> | number
82618
82601
  productListItemId?: IntFilter<"OptinToProductListItem"> | number
82619
82602
  optIn?: XOR<OptInRelationFilter, OptInWhereInput>
@@ -82621,7 +82604,6 @@ export namespace Prisma {
82621
82604
  }
82622
82605
 
82623
82606
  export type OptinToProductListItemOrderByWithRelationAndSearchRelevanceInput = {
82624
- id?: SortOrder
82625
82607
  optInId?: SortOrder
82626
82608
  productListItemId?: SortOrder
82627
82609
  optIn?: OptInOrderByWithRelationAndSearchRelevanceInput
@@ -82629,7 +82611,7 @@ export namespace Prisma {
82629
82611
  }
82630
82612
 
82631
82613
  export type OptinToProductListItemWhereUniqueInput = Prisma.AtLeast<{
82632
- id?: number
82614
+ optInId_productListItemId?: OptinToProductListItemOptInIdProductListItemIdCompoundUniqueInput
82633
82615
  AND?: OptinToProductListItemWhereInput | OptinToProductListItemWhereInput[]
82634
82616
  OR?: OptinToProductListItemWhereInput[]
82635
82617
  NOT?: OptinToProductListItemWhereInput | OptinToProductListItemWhereInput[]
@@ -82637,10 +82619,9 @@ export namespace Prisma {
82637
82619
  productListItemId?: IntFilter<"OptinToProductListItem"> | number
82638
82620
  optIn?: XOR<OptInRelationFilter, OptInWhereInput>
82639
82621
  productListItem?: XOR<ProductListItemRelationFilter, ProductListItemWhereInput>
82640
- }, "id">
82622
+ }, "optInId_productListItemId">
82641
82623
 
82642
82624
  export type OptinToProductListItemOrderByWithAggregationInput = {
82643
- id?: SortOrder
82644
82625
  optInId?: SortOrder
82645
82626
  productListItemId?: SortOrder
82646
82627
  _count?: OptinToProductListItemCountOrderByAggregateInput
@@ -82654,7 +82635,6 @@ export namespace Prisma {
82654
82635
  AND?: OptinToProductListItemScalarWhereWithAggregatesInput | OptinToProductListItemScalarWhereWithAggregatesInput[]
82655
82636
  OR?: OptinToProductListItemScalarWhereWithAggregatesInput[]
82656
82637
  NOT?: OptinToProductListItemScalarWhereWithAggregatesInput | OptinToProductListItemScalarWhereWithAggregatesInput[]
82657
- id?: IntWithAggregatesFilter<"OptinToProductListItem"> | number
82658
82638
  optInId?: IntWithAggregatesFilter<"OptinToProductListItem"> | number
82659
82639
  productListItemId?: IntWithAggregatesFilter<"OptinToProductListItem"> | number
82660
82640
  }
@@ -88428,7 +88408,6 @@ export namespace Prisma {
88428
88408
  }
88429
88409
 
88430
88410
  export type OptinToProductListItemUncheckedCreateInput = {
88431
- id?: number
88432
88411
  optInId: number
88433
88412
  productListItemId: number
88434
88413
  }
@@ -88439,13 +88418,11 @@ export namespace Prisma {
88439
88418
  }
88440
88419
 
88441
88420
  export type OptinToProductListItemUncheckedUpdateInput = {
88442
- id?: IntFieldUpdateOperationsInput | number
88443
88421
  optInId?: IntFieldUpdateOperationsInput | number
88444
88422
  productListItemId?: IntFieldUpdateOperationsInput | number
88445
88423
  }
88446
88424
 
88447
88425
  export type OptinToProductListItemCreateManyInput = {
88448
- id?: number
88449
88426
  optInId: number
88450
88427
  productListItemId: number
88451
88428
  }
@@ -88455,7 +88432,6 @@ export namespace Prisma {
88455
88432
  }
88456
88433
 
88457
88434
  export type OptinToProductListItemUncheckedUpdateManyInput = {
88458
- id?: IntFieldUpdateOperationsInput | number
88459
88435
  optInId?: IntFieldUpdateOperationsInput | number
88460
88436
  productListItemId?: IntFieldUpdateOperationsInput | number
88461
88437
  }
@@ -93893,32 +93869,32 @@ export namespace Prisma {
93893
93869
  isNot?: ProductListItemWhereInput
93894
93870
  }
93895
93871
 
93872
+ export type OptinToProductListItemOptInIdProductListItemIdCompoundUniqueInput = {
93873
+ optInId: number
93874
+ productListItemId: number
93875
+ }
93876
+
93896
93877
  export type OptinToProductListItemCountOrderByAggregateInput = {
93897
- id?: SortOrder
93898
93878
  optInId?: SortOrder
93899
93879
  productListItemId?: SortOrder
93900
93880
  }
93901
93881
 
93902
93882
  export type OptinToProductListItemAvgOrderByAggregateInput = {
93903
- id?: SortOrder
93904
93883
  optInId?: SortOrder
93905
93884
  productListItemId?: SortOrder
93906
93885
  }
93907
93886
 
93908
93887
  export type OptinToProductListItemMaxOrderByAggregateInput = {
93909
- id?: SortOrder
93910
93888
  optInId?: SortOrder
93911
93889
  productListItemId?: SortOrder
93912
93890
  }
93913
93891
 
93914
93892
  export type OptinToProductListItemMinOrderByAggregateInput = {
93915
- id?: SortOrder
93916
93893
  optInId?: SortOrder
93917
93894
  productListItemId?: SortOrder
93918
93895
  }
93919
93896
 
93920
93897
  export type OptinToProductListItemSumOrderByAggregateInput = {
93921
- id?: SortOrder
93922
93898
  optInId?: SortOrder
93923
93899
  productListItemId?: SortOrder
93924
93900
  }
@@ -112944,7 +112920,6 @@ export namespace Prisma {
112944
112920
  }
112945
112921
 
112946
112922
  export type OptinToProductListItemUncheckedCreateWithoutProductListItemInput = {
112947
- id?: number
112948
112923
  optInId: number
112949
112924
  }
112950
112925
 
@@ -113006,7 +112981,6 @@ export namespace Prisma {
113006
112981
  AND?: OptinToProductListItemScalarWhereInput | OptinToProductListItemScalarWhereInput[]
113007
112982
  OR?: OptinToProductListItemScalarWhereInput[]
113008
112983
  NOT?: OptinToProductListItemScalarWhereInput | OptinToProductListItemScalarWhereInput[]
113009
- id?: IntFilter<"OptinToProductListItem"> | number
113010
112984
  optInId?: IntFilter<"OptinToProductListItem"> | number
113011
112985
  productListItemId?: IntFilter<"OptinToProductListItem"> | number
113012
112986
  }
@@ -115230,7 +115204,6 @@ export namespace Prisma {
115230
115204
  }
115231
115205
 
115232
115206
  export type OptinToProductListItemUncheckedCreateWithoutOptInInput = {
115233
- id?: number
115234
115207
  productListItemId: number
115235
115208
  }
115236
115209
 
@@ -126497,7 +126470,6 @@ export namespace Prisma {
126497
126470
  }
126498
126471
 
126499
126472
  export type OptinToProductListItemCreateManyProductListItemInput = {
126500
- id?: number
126501
126473
  optInId: number
126502
126474
  }
126503
126475
 
@@ -126506,12 +126478,10 @@ export namespace Prisma {
126506
126478
  }
126507
126479
 
126508
126480
  export type OptinToProductListItemUncheckedUpdateWithoutProductListItemInput = {
126509
- id?: IntFieldUpdateOperationsInput | number
126510
126481
  optInId?: IntFieldUpdateOperationsInput | number
126511
126482
  }
126512
126483
 
126513
126484
  export type OptinToProductListItemUncheckedUpdateManyWithoutProductListItemInput = {
126514
- id?: IntFieldUpdateOperationsInput | number
126515
126485
  optInId?: IntFieldUpdateOperationsInput | number
126516
126486
  }
126517
126487
 
@@ -126858,7 +126828,6 @@ export namespace Prisma {
126858
126828
  }
126859
126829
 
126860
126830
  export type OptinToProductListItemCreateManyOptInInput = {
126861
- id?: number
126862
126831
  productListItemId: number
126863
126832
  }
126864
126833
 
@@ -126996,12 +126965,10 @@ export namespace Prisma {
126996
126965
  }
126997
126966
 
126998
126967
  export type OptinToProductListItemUncheckedUpdateWithoutOptInInput = {
126999
- id?: IntFieldUpdateOperationsInput | number
127000
126968
  productListItemId?: IntFieldUpdateOperationsInput | number
127001
126969
  }
127002
126970
 
127003
126971
  export type OptinToProductListItemUncheckedUpdateManyWithoutOptInInput = {
127004
- id?: IntFieldUpdateOperationsInput | number
127005
126972
  productListItemId?: IntFieldUpdateOperationsInput | number
127006
126973
  }
127007
126974