@creator.co/creatorco-prisma-client 1.0.27 → 1.0.28

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
@@ -550,6 +550,7 @@ exports.Prisma.OptInVariableScalarFieldEnum = {
550
550
 
551
551
  exports.Prisma.SocialPostScalarFieldEnum = {
552
552
  id: 'id',
553
+ externalId: 'externalId',
553
554
  phylloId: 'phylloId',
554
555
  metaData: 'metaData',
555
556
  data: 'data',
@@ -1094,6 +1095,7 @@ exports.Prisma.TrolleyPaymentOrderByRelevanceFieldEnum = {
1094
1095
  };
1095
1096
 
1096
1097
  exports.Prisma.SocialPostOrderByRelevanceFieldEnum = {
1098
+ externalId: 'externalId',
1097
1099
  phylloId: 'phylloId',
1098
1100
  title: 'title',
1099
1101
  description: 'description',
package/index.d.ts CHANGED
@@ -42630,6 +42630,7 @@ export namespace Prisma {
42630
42630
 
42631
42631
  export type SocialPostMinAggregateOutputType = {
42632
42632
  id: number | null
42633
+ externalId: string | null
42633
42634
  phylloId: string | null
42634
42635
  lastFetched: Date | null
42635
42636
  lastWebhook: Date | null
@@ -42664,6 +42665,7 @@ export namespace Prisma {
42664
42665
 
42665
42666
  export type SocialPostMaxAggregateOutputType = {
42666
42667
  id: number | null
42668
+ externalId: string | null
42667
42669
  phylloId: string | null
42668
42670
  lastFetched: Date | null
42669
42671
  lastWebhook: Date | null
@@ -42698,6 +42700,7 @@ export namespace Prisma {
42698
42700
 
42699
42701
  export type SocialPostCountAggregateOutputType = {
42700
42702
  id: number
42703
+ externalId: number
42701
42704
  phylloId: number
42702
42705
  metaData: number
42703
42706
  data: number
@@ -42774,6 +42777,7 @@ export namespace Prisma {
42774
42777
 
42775
42778
  export type SocialPostMinAggregateInputType = {
42776
42779
  id?: true
42780
+ externalId?: true
42777
42781
  phylloId?: true
42778
42782
  lastFetched?: true
42779
42783
  lastWebhook?: true
@@ -42808,6 +42812,7 @@ export namespace Prisma {
42808
42812
 
42809
42813
  export type SocialPostMaxAggregateInputType = {
42810
42814
  id?: true
42815
+ externalId?: true
42811
42816
  phylloId?: true
42812
42817
  lastFetched?: true
42813
42818
  lastWebhook?: true
@@ -42842,6 +42847,7 @@ export namespace Prisma {
42842
42847
 
42843
42848
  export type SocialPostCountAggregateInputType = {
42844
42849
  id?: true
42850
+ externalId?: true
42845
42851
  phylloId?: true
42846
42852
  metaData?: true
42847
42853
  data?: true
@@ -42965,6 +42971,7 @@ export namespace Prisma {
42965
42971
 
42966
42972
  export type SocialPostGroupByOutputType = {
42967
42973
  id: number
42974
+ externalId: string | null
42968
42975
  phylloId: string | null
42969
42976
  metaData: JsonValue
42970
42977
  data: JsonValue
@@ -43020,6 +43027,7 @@ export namespace Prisma {
43020
43027
 
43021
43028
  export type SocialPostSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
43022
43029
  id?: boolean
43030
+ externalId?: boolean
43023
43031
  phylloId?: boolean
43024
43032
  metaData?: boolean
43025
43033
  data?: boolean
@@ -43060,6 +43068,7 @@ export namespace Prisma {
43060
43068
 
43061
43069
  export type SocialPostSelectScalar = {
43062
43070
  id?: boolean
43071
+ externalId?: boolean
43063
43072
  phylloId?: boolean
43064
43073
  metaData?: boolean
43065
43074
  data?: boolean
@@ -43111,6 +43120,7 @@ export namespace Prisma {
43111
43120
  }
43112
43121
  scalars: $Extensions.GetPayloadResult<{
43113
43122
  id: number
43123
+ externalId: string | null
43114
43124
  phylloId: string | null
43115
43125
  metaData: Prisma.JsonValue
43116
43126
  data: Prisma.JsonValue
@@ -43543,6 +43553,7 @@ export namespace Prisma {
43543
43553
  */
43544
43554
  interface SocialPostFieldRefs {
43545
43555
  readonly id: FieldRef<"SocialPost", 'Int'>
43556
+ readonly externalId: FieldRef<"SocialPost", 'String'>
43546
43557
  readonly phylloId: FieldRef<"SocialPost", 'String'>
43547
43558
  readonly metaData: FieldRef<"SocialPost", 'Json'>
43548
43559
  readonly data: FieldRef<"SocialPost", 'Json'>
@@ -75758,6 +75769,7 @@ export namespace Prisma {
75758
75769
 
75759
75770
  export const SocialPostScalarFieldEnum: {
75760
75771
  id: 'id',
75772
+ externalId: 'externalId',
75761
75773
  phylloId: 'phylloId',
75762
75774
  metaData: 'metaData',
75763
75775
  data: 'data',
@@ -76485,6 +76497,7 @@ export namespace Prisma {
76485
76497
 
76486
76498
 
76487
76499
  export const SocialPostOrderByRelevanceFieldEnum: {
76500
+ externalId: 'externalId',
76488
76501
  phylloId: 'phylloId',
76489
76502
  title: 'title',
76490
76503
  description: 'description',
@@ -79823,6 +79836,7 @@ export namespace Prisma {
79823
79836
  OR?: SocialPostWhereInput[]
79824
79837
  NOT?: SocialPostWhereInput | SocialPostWhereInput[]
79825
79838
  id?: IntFilter<"SocialPost"> | number
79839
+ externalId?: StringNullableFilter<"SocialPost"> | string | null
79826
79840
  phylloId?: StringNullableFilter<"SocialPost"> | string | null
79827
79841
  metaData?: JsonFilter<"SocialPost">
79828
79842
  data?: JsonFilter<"SocialPost">
@@ -79862,6 +79876,7 @@ export namespace Prisma {
79862
79876
 
79863
79877
  export type SocialPostOrderByWithRelationAndSearchRelevanceInput = {
79864
79878
  id?: SortOrder
79879
+ externalId?: SortOrderInput | SortOrder
79865
79880
  phylloId?: SortOrderInput | SortOrder
79866
79881
  metaData?: SortOrder
79867
79882
  data?: SortOrder
@@ -79904,9 +79919,11 @@ export namespace Prisma {
79904
79919
  id?: number
79905
79920
  phylloId?: string
79906
79921
  urlPath?: string
79922
+ platform_externalId?: SocialPostPlatformExternalIdCompoundUniqueInput
79907
79923
  AND?: SocialPostWhereInput | SocialPostWhereInput[]
79908
79924
  OR?: SocialPostWhereInput[]
79909
79925
  NOT?: SocialPostWhereInput | SocialPostWhereInput[]
79926
+ externalId?: StringNullableFilter<"SocialPost"> | string | null
79910
79927
  metaData?: JsonFilter<"SocialPost">
79911
79928
  data?: JsonFilter<"SocialPost">
79912
79929
  lastFetched?: DateTimeNullableFilter<"SocialPost"> | Date | string | null
@@ -79940,10 +79957,11 @@ export namespace Prisma {
79940
79957
  user?: XOR<UserNullableRelationFilter, UserWhereInput> | null
79941
79958
  campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
79942
79959
  lists?: ListToSocialPostListRelationFilter
79943
- }, "id" | "phylloId" | "urlPath">
79960
+ }, "id" | "phylloId" | "urlPath" | "platform_externalId">
79944
79961
 
79945
79962
  export type SocialPostOrderByWithAggregationInput = {
79946
79963
  id?: SortOrder
79964
+ externalId?: SortOrderInput | SortOrder
79947
79965
  phylloId?: SortOrderInput | SortOrder
79948
79966
  metaData?: SortOrder
79949
79967
  data?: SortOrder
@@ -79988,6 +80006,7 @@ export namespace Prisma {
79988
80006
  OR?: SocialPostScalarWhereWithAggregatesInput[]
79989
80007
  NOT?: SocialPostScalarWhereWithAggregatesInput | SocialPostScalarWhereWithAggregatesInput[]
79990
80008
  id?: IntWithAggregatesFilter<"SocialPost"> | number
80009
+ externalId?: StringNullableWithAggregatesFilter<"SocialPost"> | string | null
79991
80010
  phylloId?: StringNullableWithAggregatesFilter<"SocialPost"> | string | null
79992
80011
  metaData?: JsonWithAggregatesFilter<"SocialPost">
79993
80012
  data?: JsonWithAggregatesFilter<"SocialPost">
@@ -85394,6 +85413,7 @@ export namespace Prisma {
85394
85413
  }
85395
85414
 
85396
85415
  export type SocialPostCreateInput = {
85416
+ externalId?: string | null
85397
85417
  phylloId?: string | null
85398
85418
  metaData?: JsonNullValueInput | InputJsonValue
85399
85419
  data?: JsonNullValueInput | InputJsonValue
@@ -85431,6 +85451,7 @@ export namespace Prisma {
85431
85451
 
85432
85452
  export type SocialPostUncheckedCreateInput = {
85433
85453
  id?: number
85454
+ externalId?: string | null
85434
85455
  phylloId?: string | null
85435
85456
  metaData?: JsonNullValueInput | InputJsonValue
85436
85457
  data?: JsonNullValueInput | InputJsonValue
@@ -85467,6 +85488,7 @@ export namespace Prisma {
85467
85488
  }
85468
85489
 
85469
85490
  export type SocialPostUpdateInput = {
85491
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
85470
85492
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
85471
85493
  metaData?: JsonNullValueInput | InputJsonValue
85472
85494
  data?: JsonNullValueInput | InputJsonValue
@@ -85504,6 +85526,7 @@ export namespace Prisma {
85504
85526
 
85505
85527
  export type SocialPostUncheckedUpdateInput = {
85506
85528
  id?: IntFieldUpdateOperationsInput | number
85529
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
85507
85530
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
85508
85531
  metaData?: JsonNullValueInput | InputJsonValue
85509
85532
  data?: JsonNullValueInput | InputJsonValue
@@ -85541,6 +85564,7 @@ export namespace Prisma {
85541
85564
 
85542
85565
  export type SocialPostCreateManyInput = {
85543
85566
  id?: number
85567
+ externalId?: string | null
85544
85568
  phylloId?: string | null
85545
85569
  metaData?: JsonNullValueInput | InputJsonValue
85546
85570
  data?: JsonNullValueInput | InputJsonValue
@@ -85576,6 +85600,7 @@ export namespace Prisma {
85576
85600
  }
85577
85601
 
85578
85602
  export type SocialPostUpdateManyMutationInput = {
85603
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
85579
85604
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
85580
85605
  metaData?: JsonNullValueInput | InputJsonValue
85581
85606
  data?: JsonNullValueInput | InputJsonValue
@@ -85610,6 +85635,7 @@ export namespace Prisma {
85610
85635
 
85611
85636
  export type SocialPostUncheckedUpdateManyInput = {
85612
85637
  id?: IntFieldUpdateOperationsInput | number
85638
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
85613
85639
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
85614
85640
  metaData?: JsonNullValueInput | InputJsonValue
85615
85641
  data?: JsonNullValueInput | InputJsonValue
@@ -90534,8 +90560,14 @@ export namespace Prisma {
90534
90560
  search: string
90535
90561
  }
90536
90562
 
90563
+ export type SocialPostPlatformExternalIdCompoundUniqueInput = {
90564
+ platform: string
90565
+ externalId: string
90566
+ }
90567
+
90537
90568
  export type SocialPostCountOrderByAggregateInput = {
90538
90569
  id?: SortOrder
90570
+ externalId?: SortOrder
90539
90571
  phylloId?: SortOrder
90540
90572
  metaData?: SortOrder
90541
90573
  data?: SortOrder
@@ -90591,6 +90623,7 @@ export namespace Prisma {
90591
90623
 
90592
90624
  export type SocialPostMaxOrderByAggregateInput = {
90593
90625
  id?: SortOrder
90626
+ externalId?: SortOrder
90594
90627
  phylloId?: SortOrder
90595
90628
  lastFetched?: SortOrder
90596
90629
  lastWebhook?: SortOrder
@@ -90625,6 +90658,7 @@ export namespace Prisma {
90625
90658
 
90626
90659
  export type SocialPostMinOrderByAggregateInput = {
90627
90660
  id?: SortOrder
90661
+ externalId?: SortOrder
90628
90662
  phylloId?: SortOrder
90629
90663
  lastFetched?: SortOrder
90630
90664
  lastWebhook?: SortOrder
@@ -98928,6 +98962,7 @@ export namespace Prisma {
98928
98962
  }
98929
98963
 
98930
98964
  export type SocialPostCreateWithoutUserInput = {
98965
+ externalId?: string | null
98931
98966
  phylloId?: string | null
98932
98967
  metaData?: JsonNullValueInput | InputJsonValue
98933
98968
  data?: JsonNullValueInput | InputJsonValue
@@ -98964,6 +98999,7 @@ export namespace Prisma {
98964
98999
 
98965
99000
  export type SocialPostUncheckedCreateWithoutUserInput = {
98966
99001
  id?: number
99002
+ externalId?: string | null
98967
99003
  phylloId?: string | null
98968
99004
  metaData?: JsonNullValueInput | InputJsonValue
98969
99005
  data?: JsonNullValueInput | InputJsonValue
@@ -99876,6 +99912,7 @@ export namespace Prisma {
99876
99912
  OR?: SocialPostScalarWhereInput[]
99877
99913
  NOT?: SocialPostScalarWhereInput | SocialPostScalarWhereInput[]
99878
99914
  id?: IntFilter<"SocialPost"> | number
99915
+ externalId?: StringNullableFilter<"SocialPost"> | string | null
99879
99916
  phylloId?: StringNullableFilter<"SocialPost"> | string | null
99880
99917
  metaData?: JsonFilter<"SocialPost">
99881
99918
  data?: JsonFilter<"SocialPost">
@@ -106096,6 +106133,7 @@ export namespace Prisma {
106096
106133
  }
106097
106134
 
106098
106135
  export type SocialPostCreateWithoutCampaignInput = {
106136
+ externalId?: string | null
106099
106137
  phylloId?: string | null
106100
106138
  metaData?: JsonNullValueInput | InputJsonValue
106101
106139
  data?: JsonNullValueInput | InputJsonValue
@@ -106132,6 +106170,7 @@ export namespace Prisma {
106132
106170
 
106133
106171
  export type SocialPostUncheckedCreateWithoutCampaignInput = {
106134
106172
  id?: number
106173
+ externalId?: string | null
106135
106174
  phylloId?: string | null
106136
106175
  metaData?: JsonNullValueInput | InputJsonValue
106137
106176
  data?: JsonNullValueInput | InputJsonValue
@@ -115226,6 +115265,7 @@ export namespace Prisma {
115226
115265
  }
115227
115266
 
115228
115267
  export type SocialPostCreateWithoutListsInput = {
115268
+ externalId?: string | null
115229
115269
  phylloId?: string | null
115230
115270
  metaData?: JsonNullValueInput | InputJsonValue
115231
115271
  data?: JsonNullValueInput | InputJsonValue
@@ -115262,6 +115302,7 @@ export namespace Prisma {
115262
115302
 
115263
115303
  export type SocialPostUncheckedCreateWithoutListsInput = {
115264
115304
  id?: number
115305
+ externalId?: string | null
115265
115306
  phylloId?: string | null
115266
115307
  metaData?: JsonNullValueInput | InputJsonValue
115267
115308
  data?: JsonNullValueInput | InputJsonValue
@@ -115347,6 +115388,7 @@ export namespace Prisma {
115347
115388
  }
115348
115389
 
115349
115390
  export type SocialPostUpdateWithoutListsInput = {
115391
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
115350
115392
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
115351
115393
  metaData?: JsonNullValueInput | InputJsonValue
115352
115394
  data?: JsonNullValueInput | InputJsonValue
@@ -115383,6 +115425,7 @@ export namespace Prisma {
115383
115425
 
115384
115426
  export type SocialPostUncheckedUpdateWithoutListsInput = {
115385
115427
  id?: IntFieldUpdateOperationsInput | number
115428
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
115386
115429
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
115387
115430
  metaData?: JsonNullValueInput | InputJsonValue
115388
115431
  data?: JsonNullValueInput | InputJsonValue
@@ -118551,6 +118594,7 @@ export namespace Prisma {
118551
118594
 
118552
118595
  export type SocialPostCreateManyUserInput = {
118553
118596
  id?: number
118597
+ externalId?: string | null
118554
118598
  phylloId?: string | null
118555
118599
  metaData?: JsonNullValueInput | InputJsonValue
118556
118600
  data?: JsonNullValueInput | InputJsonValue
@@ -118981,6 +119025,7 @@ export namespace Prisma {
118981
119025
  }
118982
119026
 
118983
119027
  export type SocialPostUpdateWithoutUserInput = {
119028
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
118984
119029
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
118985
119030
  metaData?: JsonNullValueInput | InputJsonValue
118986
119031
  data?: JsonNullValueInput | InputJsonValue
@@ -119017,6 +119062,7 @@ export namespace Prisma {
119017
119062
 
119018
119063
  export type SocialPostUncheckedUpdateWithoutUserInput = {
119019
119064
  id?: IntFieldUpdateOperationsInput | number
119065
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
119020
119066
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
119021
119067
  metaData?: JsonNullValueInput | InputJsonValue
119022
119068
  data?: JsonNullValueInput | InputJsonValue
@@ -119053,6 +119099,7 @@ export namespace Prisma {
119053
119099
 
119054
119100
  export type SocialPostUncheckedUpdateManyWithoutUserInput = {
119055
119101
  id?: IntFieldUpdateOperationsInput | number
119102
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
119056
119103
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
119057
119104
  metaData?: JsonNullValueInput | InputJsonValue
119058
119105
  data?: JsonNullValueInput | InputJsonValue
@@ -120406,6 +120453,7 @@ export namespace Prisma {
120406
120453
 
120407
120454
  export type SocialPostCreateManyCampaignInput = {
120408
120455
  id?: number
120456
+ externalId?: string | null
120409
120457
  phylloId?: string | null
120410
120458
  metaData?: JsonNullValueInput | InputJsonValue
120411
120459
  data?: JsonNullValueInput | InputJsonValue
@@ -120675,6 +120723,7 @@ export namespace Prisma {
120675
120723
  }
120676
120724
 
120677
120725
  export type SocialPostUpdateWithoutCampaignInput = {
120726
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
120678
120727
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
120679
120728
  metaData?: JsonNullValueInput | InputJsonValue
120680
120729
  data?: JsonNullValueInput | InputJsonValue
@@ -120711,6 +120760,7 @@ export namespace Prisma {
120711
120760
 
120712
120761
  export type SocialPostUncheckedUpdateWithoutCampaignInput = {
120713
120762
  id?: IntFieldUpdateOperationsInput | number
120763
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
120714
120764
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
120715
120765
  metaData?: JsonNullValueInput | InputJsonValue
120716
120766
  data?: JsonNullValueInput | InputJsonValue
@@ -120747,6 +120797,7 @@ export namespace Prisma {
120747
120797
 
120748
120798
  export type SocialPostUncheckedUpdateManyWithoutCampaignInput = {
120749
120799
  id?: IntFieldUpdateOperationsInput | number
120800
+ externalId?: NullableStringFieldUpdateOperationsInput | string | null
120750
120801
  phylloId?: NullableStringFieldUpdateOperationsInput | string | null
120751
120802
  metaData?: JsonNullValueInput | InputJsonValue
120752
120803
  data?: JsonNullValueInput | InputJsonValue