telescope-prisma-client 0.0.49 → 0.0.50

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/README.md CHANGED
@@ -11,3 +11,32 @@ Update schema.prisma, then run `npm run fullpublish` to update the db, generate
11
11
  Since sandbox and prod have their migration history in a bit of a weird state, importing a dump from there and trying to generate a migration on top of it might show some errors. Overall it's better to generate migrations over "fresh" local databases.
12
12
 
13
13
  Make sure your local postgres db url has for host `host.docker.internal`
14
+
15
+ ## Local use without publishing
16
+
17
+ If you made changes to the schema that you would like to test, say for example, on the `api`, you would have to publish the `telescope-prisma-client` package on `npm` and then install the updated version to access the changes. Obviously that's not ideal because there might be changes that you don't want to release for everyone using the package.
18
+
19
+ To create a local version of the package, you have two very similar options. In `/prisma`, you can either run `npm run generate`, which generates the prisma client files under `/prisma/src/generatedClient`, or you can run `npm run prepublish`, which does the exact same thing but also copies the files to the `/prisma/dist` folder.
20
+
21
+ After that, if you want to access this newly generated package, you need to go into the `package.json` of the module where you want to access it, say the `api`, and do this:
22
+
23
+ ```
24
+ {
25
+ "dependencies": {
26
+ "telescope-prisma-client": "file:../prisma",
27
+ }
28
+ }
29
+ ```
30
+
31
+ Then, just run `npm install` and your changes should be accessible!
32
+
33
+ Note that the previous example works only if you ran `npm run prepublish`. If you used the `npm run generate` option the file path in the dependencies needs to be `"file:../prisma/src/generatedClient"`.
34
+
35
+
36
+ ## Deployment
37
+
38
+ When you're ready to deploy migration changes you'll need to edit the `.env` file (or create a new one from the `.env.example`) and set the `POSTGRES_DATABASE_URL` variable to the correct url depending on the environment you're deploying to.
39
+
40
+ After that just run `npm run migrate:deploy` and the new migrations will be ran into the correct database.
41
+
42
+ If you're having issues reaching the server database when running the previous command, you might need to whitelist your IP, contact an admin.
@@ -252,6 +252,7 @@ exports.Prisma.CampaignLogEventScalarFieldEnum = {
252
252
  exports.Prisma.RecommendationScalarFieldEnum = {
253
253
  id: 'id',
254
254
  campaign_id: 'campaign_id',
255
+ type: 'type',
255
256
  status: 'status',
256
257
  candidate_origin: 'candidate_origin',
257
258
  candidate_version: 'candidate_version',
@@ -622,10 +623,16 @@ exports.CampaignLogEventType = {
622
623
  REJECTED_RECOMMENDATION: 'REJECTED_RECOMMENDATION'
623
624
  };
624
625
 
626
+ exports.RecommendationType = {
627
+ STANDARD: 'STANDARD',
628
+ DAILY: 'DAILY'
629
+ };
630
+
625
631
  exports.RecommendationStatus = {
626
632
  ACCEPTED: 'ACCEPTED',
627
633
  REJECTED: 'REJECTED',
628
- PENDING: 'PENDING'
634
+ PENDING: 'PENDING',
635
+ SKIPPED: 'SKIPPED'
629
636
  };
630
637
 
631
638
  exports.RecommendationRejectionReason = {
@@ -498,6 +498,7 @@ export type RecommendationPayload<ExtArgs extends $Extensions.Args = $Extensions
498
498
  scalars: $Extensions.GetResult<{
499
499
  id: string
500
500
  campaign_id: string
501
+ type: RecommendationType
501
502
  status: RecommendationStatus
502
503
  candidate_origin: string | null
503
504
  candidate_version: string | null
@@ -786,10 +787,19 @@ export const CampaignLogEventType: {
786
787
  export type CampaignLogEventType = (typeof CampaignLogEventType)[keyof typeof CampaignLogEventType]
787
788
 
788
789
 
790
+ export const RecommendationType: {
791
+ STANDARD: 'STANDARD',
792
+ DAILY: 'DAILY'
793
+ };
794
+
795
+ export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType]
796
+
797
+
789
798
  export const RecommendationStatus: {
790
799
  ACCEPTED: 'ACCEPTED',
791
800
  REJECTED: 'REJECTED',
792
- PENDING: 'PENDING'
801
+ PENDING: 'PENDING',
802
+ SKIPPED: 'SKIPPED'
793
803
  };
794
804
 
795
805
  export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus]
@@ -12422,6 +12432,7 @@ export namespace Prisma {
12422
12432
  export type RecommendationMinAggregateOutputType = {
12423
12433
  id: string | null
12424
12434
  campaign_id: string | null
12435
+ type: RecommendationType | null
12425
12436
  status: RecommendationStatus | null
12426
12437
  candidate_origin: string | null
12427
12438
  candidate_version: string | null
@@ -12447,6 +12458,7 @@ export namespace Prisma {
12447
12458
  export type RecommendationMaxAggregateOutputType = {
12448
12459
  id: string | null
12449
12460
  campaign_id: string | null
12461
+ type: RecommendationType | null
12450
12462
  status: RecommendationStatus | null
12451
12463
  candidate_origin: string | null
12452
12464
  candidate_version: string | null
@@ -12472,6 +12484,7 @@ export namespace Prisma {
12472
12484
  export type RecommendationCountAggregateOutputType = {
12473
12485
  id: number
12474
12486
  campaign_id: number
12487
+ type: number
12475
12488
  status: number
12476
12489
  candidate_origin: number
12477
12490
  candidate_version: number
@@ -12510,6 +12523,7 @@ export namespace Prisma {
12510
12523
  export type RecommendationMinAggregateInputType = {
12511
12524
  id?: true
12512
12525
  campaign_id?: true
12526
+ type?: true
12513
12527
  status?: true
12514
12528
  candidate_origin?: true
12515
12529
  candidate_version?: true
@@ -12535,6 +12549,7 @@ export namespace Prisma {
12535
12549
  export type RecommendationMaxAggregateInputType = {
12536
12550
  id?: true
12537
12551
  campaign_id?: true
12552
+ type?: true
12538
12553
  status?: true
12539
12554
  candidate_origin?: true
12540
12555
  candidate_version?: true
@@ -12560,6 +12575,7 @@ export namespace Prisma {
12560
12575
  export type RecommendationCountAggregateInputType = {
12561
12576
  id?: true
12562
12577
  campaign_id?: true
12578
+ type?: true
12563
12579
  status?: true
12564
12580
  candidate_origin?: true
12565
12581
  candidate_version?: true
@@ -12674,6 +12690,7 @@ export namespace Prisma {
12674
12690
  export type RecommendationGroupByOutputType = {
12675
12691
  id: string
12676
12692
  campaign_id: string
12693
+ type: RecommendationType
12677
12694
  status: RecommendationStatus
12678
12695
  candidate_origin: string | null
12679
12696
  candidate_version: string | null
@@ -12719,6 +12736,7 @@ export namespace Prisma {
12719
12736
  export type RecommendationSelect<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
12720
12737
  id?: boolean
12721
12738
  campaign_id?: boolean
12739
+ type?: boolean
12722
12740
  status?: boolean
12723
12741
  candidate_origin?: boolean
12724
12742
  candidate_version?: boolean
@@ -12754,6 +12772,7 @@ export namespace Prisma {
12754
12772
  export type RecommendationSelectScalar = {
12755
12773
  id?: boolean
12756
12774
  campaign_id?: boolean
12775
+ type?: boolean
12757
12776
  status?: boolean
12758
12777
  candidate_origin?: boolean
12759
12778
  candidate_version?: boolean
@@ -20123,6 +20142,7 @@ export namespace Prisma {
20123
20142
  export const RecommendationScalarFieldEnum: {
20124
20143
  id: 'id',
20125
20144
  campaign_id: 'campaign_id',
20145
+ type: 'type',
20126
20146
  status: 'status',
20127
20147
  candidate_origin: 'candidate_origin',
20128
20148
  candidate_version: 'candidate_version',
@@ -21353,6 +21373,7 @@ export namespace Prisma {
21353
21373
  NOT?: Enumerable<RecommendationWhereInput>
21354
21374
  id?: StringFilter | string
21355
21375
  campaign_id?: StringFilter | string
21376
+ type?: EnumRecommendationTypeFilter | RecommendationType
21356
21377
  status?: EnumRecommendationStatusFilter | RecommendationStatus
21357
21378
  candidate_origin?: StringNullableFilter | string | null
21358
21379
  candidate_version?: StringNullableFilter | string | null
@@ -21387,6 +21408,7 @@ export namespace Prisma {
21387
21408
  export type RecommendationOrderByWithRelationAndSearchRelevanceInput = {
21388
21409
  id?: SortOrder
21389
21410
  campaign_id?: SortOrder
21411
+ type?: SortOrder
21390
21412
  status?: SortOrder
21391
21413
  candidate_origin?: SortOrderInput | SortOrder
21392
21414
  candidate_version?: SortOrderInput | SortOrder
@@ -21429,6 +21451,7 @@ export namespace Prisma {
21429
21451
  export type RecommendationOrderByWithAggregationInput = {
21430
21452
  id?: SortOrder
21431
21453
  campaign_id?: SortOrder
21454
+ type?: SortOrder
21432
21455
  status?: SortOrder
21433
21456
  candidate_origin?: SortOrderInput | SortOrder
21434
21457
  candidate_version?: SortOrderInput | SortOrder
@@ -21463,6 +21486,7 @@ export namespace Prisma {
21463
21486
  NOT?: Enumerable<RecommendationScalarWhereWithAggregatesInput>
21464
21487
  id?: StringWithAggregatesFilter | string
21465
21488
  campaign_id?: StringWithAggregatesFilter | string
21489
+ type?: EnumRecommendationTypeWithAggregatesFilter | RecommendationType
21466
21490
  status?: EnumRecommendationStatusWithAggregatesFilter | RecommendationStatus
21467
21491
  candidate_origin?: StringNullableWithAggregatesFilter | string | null
21468
21492
  candidate_version?: StringNullableWithAggregatesFilter | string | null
@@ -23158,6 +23182,7 @@ export namespace Prisma {
23158
23182
 
23159
23183
  export type RecommendationCreateInput = {
23160
23184
  id?: string
23185
+ type?: RecommendationType
23161
23186
  status: RecommendationStatus
23162
23187
  candidate_origin?: string | null
23163
23188
  candidate_version?: string | null
@@ -23187,6 +23212,7 @@ export namespace Prisma {
23187
23212
  export type RecommendationUncheckedCreateInput = {
23188
23213
  id?: string
23189
23214
  campaign_id: string
23215
+ type?: RecommendationType
23190
23216
  status: RecommendationStatus
23191
23217
  candidate_origin?: string | null
23192
23218
  candidate_version?: string | null
@@ -23214,6 +23240,7 @@ export namespace Prisma {
23214
23240
 
23215
23241
  export type RecommendationUpdateInput = {
23216
23242
  id?: StringFieldUpdateOperationsInput | string
23243
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
23217
23244
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
23218
23245
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
23219
23246
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -23243,6 +23270,7 @@ export namespace Prisma {
23243
23270
  export type RecommendationUncheckedUpdateInput = {
23244
23271
  id?: StringFieldUpdateOperationsInput | string
23245
23272
  campaign_id?: StringFieldUpdateOperationsInput | string
23273
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
23246
23274
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
23247
23275
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
23248
23276
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -23271,6 +23299,7 @@ export namespace Prisma {
23271
23299
  export type RecommendationCreateManyInput = {
23272
23300
  id?: string
23273
23301
  campaign_id: string
23302
+ type?: RecommendationType
23274
23303
  status: RecommendationStatus
23275
23304
  candidate_origin?: string | null
23276
23305
  candidate_version?: string | null
@@ -23296,6 +23325,7 @@ export namespace Prisma {
23296
23325
 
23297
23326
  export type RecommendationUpdateManyMutationInput = {
23298
23327
  id?: StringFieldUpdateOperationsInput | string
23328
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
23299
23329
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
23300
23330
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
23301
23331
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -23317,6 +23347,7 @@ export namespace Prisma {
23317
23347
  export type RecommendationUncheckedUpdateManyInput = {
23318
23348
  id?: StringFieldUpdateOperationsInput | string
23319
23349
  campaign_id?: StringFieldUpdateOperationsInput | string
23350
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
23320
23351
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
23321
23352
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
23322
23353
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -25012,6 +25043,13 @@ export namespace Prisma {
25012
25043
  _max?: NestedEnumCampaignLogEventTypeFilter
25013
25044
  }
25014
25045
 
25046
+ export type EnumRecommendationTypeFilter = {
25047
+ equals?: RecommendationType
25048
+ in?: Enumerable<RecommendationType>
25049
+ notIn?: Enumerable<RecommendationType>
25050
+ not?: NestedEnumRecommendationTypeFilter | RecommendationType
25051
+ }
25052
+
25015
25053
  export type EnumRecommendationStatusFilter = {
25016
25054
  equals?: RecommendationStatus
25017
25055
  in?: Enumerable<RecommendationStatus>
@@ -25068,6 +25106,7 @@ export namespace Prisma {
25068
25106
  export type RecommendationCountOrderByAggregateInput = {
25069
25107
  id?: SortOrder
25070
25108
  campaign_id?: SortOrder
25109
+ type?: SortOrder
25071
25110
  status?: SortOrder
25072
25111
  candidate_origin?: SortOrder
25073
25112
  candidate_version?: SortOrder
@@ -25099,6 +25138,7 @@ export namespace Prisma {
25099
25138
  export type RecommendationMaxOrderByAggregateInput = {
25100
25139
  id?: SortOrder
25101
25140
  campaign_id?: SortOrder
25141
+ type?: SortOrder
25102
25142
  status?: SortOrder
25103
25143
  candidate_origin?: SortOrder
25104
25144
  candidate_version?: SortOrder
@@ -25124,6 +25164,7 @@ export namespace Prisma {
25124
25164
  export type RecommendationMinOrderByAggregateInput = {
25125
25165
  id?: SortOrder
25126
25166
  campaign_id?: SortOrder
25167
+ type?: SortOrder
25127
25168
  status?: SortOrder
25128
25169
  candidate_origin?: SortOrder
25129
25170
  candidate_version?: SortOrder
@@ -25151,6 +25192,16 @@ export namespace Prisma {
25151
25192
  ranker_version?: SortOrder
25152
25193
  }
25153
25194
 
25195
+ export type EnumRecommendationTypeWithAggregatesFilter = {
25196
+ equals?: RecommendationType
25197
+ in?: Enumerable<RecommendationType>
25198
+ notIn?: Enumerable<RecommendationType>
25199
+ not?: NestedEnumRecommendationTypeWithAggregatesFilter | RecommendationType
25200
+ _count?: NestedIntFilter
25201
+ _min?: NestedEnumRecommendationTypeFilter
25202
+ _max?: NestedEnumRecommendationTypeFilter
25203
+ }
25204
+
25154
25205
  export type EnumRecommendationStatusWithAggregatesFilter = {
25155
25206
  equals?: RecommendationStatus
25156
25207
  in?: Enumerable<RecommendationStatus>
@@ -27417,6 +27468,10 @@ export namespace Prisma {
27417
27468
  connect?: Enumerable<ProspectWhereUniqueInput>
27418
27469
  }
27419
27470
 
27471
+ export type EnumRecommendationTypeFieldUpdateOperationsInput = {
27472
+ set?: RecommendationType
27473
+ }
27474
+
27420
27475
  export type EnumRecommendationStatusFieldUpdateOperationsInput = {
27421
27476
  set?: RecommendationStatus
27422
27477
  }
@@ -28386,6 +28441,13 @@ export namespace Prisma {
28386
28441
  _max?: NestedEnumCampaignLogEventTypeFilter
28387
28442
  }
28388
28443
 
28444
+ export type NestedEnumRecommendationTypeFilter = {
28445
+ equals?: RecommendationType
28446
+ in?: Enumerable<RecommendationType>
28447
+ notIn?: Enumerable<RecommendationType>
28448
+ not?: NestedEnumRecommendationTypeFilter | RecommendationType
28449
+ }
28450
+
28389
28451
  export type NestedEnumRecommendationStatusFilter = {
28390
28452
  equals?: RecommendationStatus
28391
28453
  in?: Enumerable<RecommendationStatus>
@@ -28400,6 +28462,16 @@ export namespace Prisma {
28400
28462
  not?: NestedEnumRecommendationRejectionReasonNullableFilter | RecommendationRejectionReason | null
28401
28463
  }
28402
28464
 
28465
+ export type NestedEnumRecommendationTypeWithAggregatesFilter = {
28466
+ equals?: RecommendationType
28467
+ in?: Enumerable<RecommendationType>
28468
+ notIn?: Enumerable<RecommendationType>
28469
+ not?: NestedEnumRecommendationTypeWithAggregatesFilter | RecommendationType
28470
+ _count?: NestedIntFilter
28471
+ _min?: NestedEnumRecommendationTypeFilter
28472
+ _max?: NestedEnumRecommendationTypeFilter
28473
+ }
28474
+
28403
28475
  export type NestedEnumRecommendationStatusWithAggregatesFilter = {
28404
28476
  equals?: RecommendationStatus
28405
28477
  in?: Enumerable<RecommendationStatus>
@@ -29028,6 +29100,7 @@ export namespace Prisma {
29028
29100
 
29029
29101
  export type RecommendationCreateWithoutOwnerInput = {
29030
29102
  id?: string
29103
+ type?: RecommendationType
29031
29104
  status: RecommendationStatus
29032
29105
  candidate_origin?: string | null
29033
29106
  candidate_version?: string | null
@@ -29056,6 +29129,7 @@ export namespace Prisma {
29056
29129
  export type RecommendationUncheckedCreateWithoutOwnerInput = {
29057
29130
  id?: string
29058
29131
  campaign_id: string
29132
+ type?: RecommendationType
29059
29133
  status: RecommendationStatus
29060
29134
  candidate_origin?: string | null
29061
29135
  candidate_version?: string | null
@@ -29493,6 +29567,7 @@ export namespace Prisma {
29493
29567
  NOT?: Enumerable<RecommendationScalarWhereInput>
29494
29568
  id?: StringFilter | string
29495
29569
  campaign_id?: StringFilter | string
29570
+ type?: EnumRecommendationTypeFilter | RecommendationType
29496
29571
  status?: EnumRecommendationStatusFilter | RecommendationStatus
29497
29572
  candidate_origin?: StringNullableFilter | string | null
29498
29573
  candidate_version?: StringNullableFilter | string | null
@@ -30122,6 +30197,7 @@ export namespace Prisma {
30122
30197
 
30123
30198
  export type RecommendationCreateWithoutMerge_crm_accountInput = {
30124
30199
  id?: string
30200
+ type?: RecommendationType
30125
30201
  status: RecommendationStatus
30126
30202
  candidate_origin?: string | null
30127
30203
  candidate_version?: string | null
@@ -30150,6 +30226,7 @@ export namespace Prisma {
30150
30226
  export type RecommendationUncheckedCreateWithoutMerge_crm_accountInput = {
30151
30227
  id?: string
30152
30228
  campaign_id: string
30229
+ type?: RecommendationType
30153
30230
  status: RecommendationStatus
30154
30231
  candidate_origin?: string | null
30155
30232
  candidate_version?: string | null
@@ -30261,6 +30338,7 @@ export namespace Prisma {
30261
30338
 
30262
30339
  export type RecommendationUpdateWithoutMerge_crm_accountInput = {
30263
30340
  id?: StringFieldUpdateOperationsInput | string
30341
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
30264
30342
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
30265
30343
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
30266
30344
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -30289,6 +30367,7 @@ export namespace Prisma {
30289
30367
  export type RecommendationUncheckedUpdateWithoutMerge_crm_accountInput = {
30290
30368
  id?: StringFieldUpdateOperationsInput | string
30291
30369
  campaign_id?: StringFieldUpdateOperationsInput | string
30370
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
30292
30371
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
30293
30372
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
30294
30373
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -30472,6 +30551,7 @@ export namespace Prisma {
30472
30551
 
30473
30552
  export type RecommendationCreateWithoutMerge_crm_contactInput = {
30474
30553
  id?: string
30554
+ type?: RecommendationType
30475
30555
  status: RecommendationStatus
30476
30556
  candidate_origin?: string | null
30477
30557
  candidate_version?: string | null
@@ -30500,6 +30580,7 @@ export namespace Prisma {
30500
30580
  export type RecommendationUncheckedCreateWithoutMerge_crm_contactInput = {
30501
30581
  id?: string
30502
30582
  campaign_id: string
30583
+ type?: RecommendationType
30503
30584
  status: RecommendationStatus
30504
30585
  candidate_origin?: string | null
30505
30586
  candidate_version?: string | null
@@ -30611,6 +30692,7 @@ export namespace Prisma {
30611
30692
 
30612
30693
  export type RecommendationUpdateWithoutMerge_crm_contactInput = {
30613
30694
  id?: StringFieldUpdateOperationsInput | string
30695
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
30614
30696
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
30615
30697
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
30616
30698
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -30639,6 +30721,7 @@ export namespace Prisma {
30639
30721
  export type RecommendationUncheckedUpdateWithoutMerge_crm_contactInput = {
30640
30722
  id?: StringFieldUpdateOperationsInput | string
30641
30723
  campaign_id?: StringFieldUpdateOperationsInput | string
30724
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
30642
30725
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
30643
30726
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
30644
30727
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -30860,6 +30943,7 @@ export namespace Prisma {
30860
30943
 
30861
30944
  export type RecommendationCreateWithoutMerge_crm_leadInput = {
30862
30945
  id?: string
30946
+ type?: RecommendationType
30863
30947
  status: RecommendationStatus
30864
30948
  candidate_origin?: string | null
30865
30949
  candidate_version?: string | null
@@ -30888,6 +30972,7 @@ export namespace Prisma {
30888
30972
  export type RecommendationUncheckedCreateWithoutMerge_crm_leadInput = {
30889
30973
  id?: string
30890
30974
  campaign_id: string
30975
+ type?: RecommendationType
30891
30976
  status: RecommendationStatus
30892
30977
  candidate_origin?: string | null
30893
30978
  candidate_version?: string | null
@@ -31069,6 +31154,7 @@ export namespace Prisma {
31069
31154
 
31070
31155
  export type RecommendationUpdateWithoutMerge_crm_leadInput = {
31071
31156
  id?: StringFieldUpdateOperationsInput | string
31157
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
31072
31158
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
31073
31159
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
31074
31160
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -31097,6 +31183,7 @@ export namespace Prisma {
31097
31183
  export type RecommendationUncheckedUpdateWithoutMerge_crm_leadInput = {
31098
31184
  id?: StringFieldUpdateOperationsInput | string
31099
31185
  campaign_id?: StringFieldUpdateOperationsInput | string
31186
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
31100
31187
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
31101
31188
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
31102
31189
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -31478,6 +31565,7 @@ export namespace Prisma {
31478
31565
 
31479
31566
  export type RecommendationCreateWithoutCampaignInput = {
31480
31567
  id?: string
31568
+ type?: RecommendationType
31481
31569
  status: RecommendationStatus
31482
31570
  candidate_origin?: string | null
31483
31571
  candidate_version?: string | null
@@ -31505,6 +31593,7 @@ export namespace Prisma {
31505
31593
 
31506
31594
  export type RecommendationUncheckedCreateWithoutCampaignInput = {
31507
31595
  id?: string
31596
+ type?: RecommendationType
31508
31597
  status: RecommendationStatus
31509
31598
  candidate_origin?: string | null
31510
31599
  candidate_version?: string | null
@@ -32038,6 +32127,7 @@ export namespace Prisma {
32038
32127
 
32039
32128
  export type RecommendationCreateWithoutProspectsInput = {
32040
32129
  id?: string
32130
+ type?: RecommendationType
32041
32131
  status: RecommendationStatus
32042
32132
  candidate_origin?: string | null
32043
32133
  candidate_version?: string | null
@@ -32066,6 +32156,7 @@ export namespace Prisma {
32066
32156
  export type RecommendationUncheckedCreateWithoutProspectsInput = {
32067
32157
  id?: string
32068
32158
  campaign_id: string
32159
+ type?: RecommendationType
32069
32160
  status: RecommendationStatus
32070
32161
  candidate_origin?: string | null
32071
32162
  candidate_version?: string | null
@@ -32455,6 +32546,7 @@ export namespace Prisma {
32455
32546
 
32456
32547
  export type RecommendationUpdateWithoutProspectsInput = {
32457
32548
  id?: StringFieldUpdateOperationsInput | string
32549
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
32458
32550
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
32459
32551
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
32460
32552
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -32483,6 +32575,7 @@ export namespace Prisma {
32483
32575
  export type RecommendationUncheckedUpdateWithoutProspectsInput = {
32484
32576
  id?: StringFieldUpdateOperationsInput | string
32485
32577
  campaign_id?: StringFieldUpdateOperationsInput | string
32578
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
32486
32579
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
32487
32580
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
32488
32581
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -32704,6 +32797,7 @@ export namespace Prisma {
32704
32797
 
32705
32798
  export type RecommendationCreateWithoutCampaign_log_eventsInput = {
32706
32799
  id?: string
32800
+ type?: RecommendationType
32707
32801
  status: RecommendationStatus
32708
32802
  candidate_origin?: string | null
32709
32803
  candidate_version?: string | null
@@ -32732,6 +32826,7 @@ export namespace Prisma {
32732
32826
  export type RecommendationUncheckedCreateWithoutCampaign_log_eventsInput = {
32733
32827
  id?: string
32734
32828
  campaign_id: string
32829
+ type?: RecommendationType
32735
32830
  status: RecommendationStatus
32736
32831
  candidate_origin?: string | null
32737
32832
  candidate_version?: string | null
@@ -32968,6 +33063,7 @@ export namespace Prisma {
32968
33063
 
32969
33064
  export type RecommendationUpdateWithoutCampaign_log_eventsInput = {
32970
33065
  id?: StringFieldUpdateOperationsInput | string
33066
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
32971
33067
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
32972
33068
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
32973
33069
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -32996,6 +33092,7 @@ export namespace Prisma {
32996
33092
  export type RecommendationUncheckedUpdateWithoutCampaign_log_eventsInput = {
32997
33093
  id?: StringFieldUpdateOperationsInput | string
32998
33094
  campaign_id?: StringFieldUpdateOperationsInput | string
33095
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
32999
33096
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
33000
33097
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
33001
33098
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -33898,6 +33995,7 @@ export namespace Prisma {
33898
33995
 
33899
33996
  export type RecommendationCreateWithoutIcpInput = {
33900
33997
  id?: string
33998
+ type?: RecommendationType
33901
33999
  status: RecommendationStatus
33902
34000
  candidate_origin?: string | null
33903
34001
  candidate_version?: string | null
@@ -33926,6 +34024,7 @@ export namespace Prisma {
33926
34024
  export type RecommendationUncheckedCreateWithoutIcpInput = {
33927
34025
  id?: string
33928
34026
  campaign_id: string
34027
+ type?: RecommendationType
33929
34028
  status: RecommendationStatus
33930
34029
  candidate_origin?: string | null
33931
34030
  candidate_version?: string | null
@@ -35923,6 +36022,7 @@ export namespace Prisma {
35923
36022
  export type RecommendationCreateManyOwnerInput = {
35924
36023
  id?: string
35925
36024
  campaign_id: string
36025
+ type?: RecommendationType
35926
36026
  status: RecommendationStatus
35927
36027
  candidate_origin?: string | null
35928
36028
  candidate_version?: string | null
@@ -36436,6 +36536,7 @@ export namespace Prisma {
36436
36536
 
36437
36537
  export type RecommendationUpdateWithoutOwnerInput = {
36438
36538
  id?: StringFieldUpdateOperationsInput | string
36539
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
36439
36540
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
36440
36541
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
36441
36542
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -36464,6 +36565,7 @@ export namespace Prisma {
36464
36565
  export type RecommendationUncheckedUpdateWithoutOwnerInput = {
36465
36566
  id?: StringFieldUpdateOperationsInput | string
36466
36567
  campaign_id?: StringFieldUpdateOperationsInput | string
36568
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
36467
36569
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
36468
36570
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
36469
36571
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -36491,6 +36593,7 @@ export namespace Prisma {
36491
36593
  export type RecommendationUncheckedUpdateManyWithoutRecommendationsInput = {
36492
36594
  id?: StringFieldUpdateOperationsInput | string
36493
36595
  campaign_id?: StringFieldUpdateOperationsInput | string
36596
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
36494
36597
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
36495
36598
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
36496
36599
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -37258,6 +37361,7 @@ export namespace Prisma {
37258
37361
 
37259
37362
  export type RecommendationCreateManyCampaignInput = {
37260
37363
  id?: string
37364
+ type?: RecommendationType
37261
37365
  status: RecommendationStatus
37262
37366
  candidate_origin?: string | null
37263
37367
  candidate_version?: string | null
@@ -37491,6 +37595,7 @@ export namespace Prisma {
37491
37595
 
37492
37596
  export type RecommendationUpdateWithoutCampaignInput = {
37493
37597
  id?: StringFieldUpdateOperationsInput | string
37598
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
37494
37599
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
37495
37600
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
37496
37601
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -37518,6 +37623,7 @@ export namespace Prisma {
37518
37623
 
37519
37624
  export type RecommendationUncheckedUpdateWithoutCampaignInput = {
37520
37625
  id?: StringFieldUpdateOperationsInput | string
37626
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
37521
37627
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
37522
37628
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
37523
37629
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -37873,6 +37979,7 @@ export namespace Prisma {
37873
37979
  export type RecommendationCreateManyIcpInput = {
37874
37980
  id?: string
37875
37981
  campaign_id: string
37982
+ type?: RecommendationType
37876
37983
  status: RecommendationStatus
37877
37984
  candidate_origin?: string | null
37878
37985
  candidate_version?: string | null
@@ -37897,6 +38004,7 @@ export namespace Prisma {
37897
38004
 
37898
38005
  export type RecommendationUpdateWithoutIcpInput = {
37899
38006
  id?: StringFieldUpdateOperationsInput | string
38007
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
37900
38008
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
37901
38009
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
37902
38010
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null
@@ -37925,6 +38033,7 @@ export namespace Prisma {
37925
38033
  export type RecommendationUncheckedUpdateWithoutIcpInput = {
37926
38034
  id?: StringFieldUpdateOperationsInput | string
37927
38035
  campaign_id?: StringFieldUpdateOperationsInput | string
38036
+ type?: EnumRecommendationTypeFieldUpdateOperationsInput | RecommendationType
37928
38037
  status?: EnumRecommendationStatusFieldUpdateOperationsInput | RecommendationStatus
37929
38038
  candidate_origin?: NullableStringFieldUpdateOperationsInput | string | null
37930
38039
  candidate_version?: NullableStringFieldUpdateOperationsInput | string | null