telescope-prisma-client 0.0.37 → 0.0.38

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.
@@ -1,8 +1,8 @@
1
1
  generator client {
2
- provider = "prisma-client-js"
2
+ provider = "prisma-client-js"
3
3
  previewFeatures = ["fullTextSearch"]
4
- output = "./src/generatedClient"
5
- binaryTargets = ["native", "linux-musl", "linux-musl-openssl-3.0.x", "darwin", "rhel-openssl-1.0.x"]
4
+ output = "./src/generatedClient"
5
+ binaryTargets = ["native", "linux-musl", "linux-musl-openssl-3.0.x", "darwin", "rhel-openssl-1.0.x"]
6
6
  }
7
7
 
8
8
  generator json {
@@ -16,31 +16,31 @@ datasource db {
16
16
  }
17
17
 
18
18
  model User {
19
- id String @id
20
- is_nlp_icp_enabled Boolean? @default(false)
21
- is_linkedin_outreach_enabled Boolean? @default(false)
22
- first_name String? // must be nullable to allow for gdpr deletion
23
- last_name String? // must be nullable to allow for gdpr deletion
24
- email String? // @unique
25
- onboarded_at DateTime?
26
- lead_selection_toured_at DateTime?
27
- email_sequencing_toured_at DateTime?
28
- campaign_review_toured_at DateTime?
29
- campaign_homepage_toured_at DateTime?
30
- registered_at DateTime?
31
- updated_at DateTime? @updatedAt
32
- deleted_at DateTime?
33
- campaigns Campaign[]
34
- campaign_log_events CampaignLogEvent[]
35
- connected_mailboxes ConnectedMailbox[]
36
- ideal_customer_profiles IdealCustomerProfile[]
37
- merge_connection MergeConnection[]
38
- prospects Prospect[]
39
- prospect_interaction_events ProspectInteractionEvent[]
40
- ProspectSequenceStep ProspectSequenceStep[]
41
- recommendations Recommendation[]
42
- sequences Sequence[]
43
- SequenceStep SequenceStep[]
19
+ id String @id
20
+ is_nlp_icp_enabled Boolean? @default(false)
21
+ is_linkedin_outreach_enabled Boolean? @default(false)
22
+ first_name String? // must be nullable to allow for gdpr deletion
23
+ last_name String? // must be nullable to allow for gdpr deletion
24
+ email String? // @unique
25
+ onboarded_at DateTime?
26
+ lead_selection_toured_at DateTime?
27
+ email_sequencing_toured_at DateTime?
28
+ campaign_review_toured_at DateTime?
29
+ campaign_homepage_toured_at DateTime?
30
+ registered_at DateTime?
31
+ updated_at DateTime? @updatedAt
32
+ deleted_at DateTime?
33
+ campaigns Campaign[]
34
+ campaign_log_events CampaignLogEvent[]
35
+ connected_mailboxes ConnectedMailbox[]
36
+ ideal_customer_profiles IdealCustomerProfile[]
37
+ merge_connection MergeConnection[]
38
+ prospects Prospect[]
39
+ prospect_interaction_events ProspectInteractionEvent[]
40
+ ProspectSequenceStep ProspectSequenceStep[]
41
+ recommendations Recommendation[]
42
+ sequences Sequence[]
43
+ SequenceStep SequenceStep[]
44
44
  }
45
45
 
46
46
  model MergeConnection {
@@ -222,7 +222,7 @@ model Recommendation {
222
222
  company_id String
223
223
  company_record_id String
224
224
  icp_id String
225
- icp_match_confidence Int? @default(3)
225
+ icp_match_confidence Int? @default(3)
226
226
  merge_crm_lead_id String? @unique
227
227
  merge_crm_contact_id String? @unique
228
228
  merge_crm_account_id String? @unique
@@ -275,20 +275,20 @@ model IdealCustomerProfile {
275
275
  }
276
276
 
277
277
  model ConnectedMailbox {
278
- id String @id @default(uuid())
279
- status ConnectedMailboxStatus
280
- type ConnectedMailboxType
281
- tokens Json
282
- owner_id String
283
- created_at DateTime @default(now())
284
- updated_at DateTime @updatedAt
285
- deleted_at DateTime?
286
- email String
287
- email_provider_user_id String?
288
- mailbox_user_id String?
289
- max_emails_per_day Int?
290
- max_emails_per_hour Int?
291
- owner User @relation(fields: [owner_id], references: [id])
278
+ id String @id @default(uuid())
279
+ status ConnectedMailboxStatus
280
+ type ConnectedMailboxType
281
+ tokens Json
282
+ owner_id String
283
+ created_at DateTime @default(now())
284
+ updated_at DateTime @updatedAt
285
+ deleted_at DateTime?
286
+ email String
287
+ email_provider_user_id String?
288
+ mailbox_user_id String?
289
+ max_emails_per_day Int?
290
+ max_emails_per_hour Int?
291
+ owner User @relation(fields: [owner_id], references: [id])
292
292
  prospect_sequence_steps ProspectSequenceStep[]
293
293
  }
294
294
 
@@ -374,7 +374,7 @@ model ProspectInteractionEvent {
374
374
  in_resp_to_prospect_sequence_step ProspectSequenceStep @relation(fields: [in_resp_to_prospect_sequence_step_id], references: [id])
375
375
  owner User @relation(fields: [owner_id], references: [id])
376
376
  prospect Prospect @relation(fields: [prospect_id], references: [id])
377
- deleted_at DateTime?
377
+ deleted_at DateTime?
378
378
  }
379
379
 
380
380
  enum MergeCrmExportStatus {
@@ -1,8 +1,8 @@
1
1
  generator client {
2
- provider = "prisma-client-js"
2
+ provider = "prisma-client-js"
3
3
  previewFeatures = ["fullTextSearch"]
4
- output = "./src/generatedClient"
5
- binaryTargets = ["native", "linux-musl", "linux-musl-openssl-3.0.x", "darwin", "rhel-openssl-1.0.x"]
4
+ output = "./src/generatedClient"
5
+ binaryTargets = ["native", "linux-musl", "linux-musl-openssl-3.0.x", "darwin", "rhel-openssl-1.0.x"]
6
6
  }
7
7
 
8
8
  generator json {
@@ -16,31 +16,31 @@ datasource db {
16
16
  }
17
17
 
18
18
  model User {
19
- id String @id
20
- is_nlp_icp_enabled Boolean? @default(false)
21
- is_linkedin_outreach_enabled Boolean? @default(false)
22
- first_name String? // must be nullable to allow for gdpr deletion
23
- last_name String? // must be nullable to allow for gdpr deletion
24
- email String? // @unique
25
- onboarded_at DateTime?
26
- lead_selection_toured_at DateTime?
27
- email_sequencing_toured_at DateTime?
28
- campaign_review_toured_at DateTime?
29
- campaign_homepage_toured_at DateTime?
30
- registered_at DateTime?
31
- updated_at DateTime? @updatedAt
32
- deleted_at DateTime?
33
- campaigns Campaign[]
34
- campaign_log_events CampaignLogEvent[]
35
- connected_mailboxes ConnectedMailbox[]
36
- ideal_customer_profiles IdealCustomerProfile[]
37
- merge_connection MergeConnection[]
38
- prospects Prospect[]
39
- prospect_interaction_events ProspectInteractionEvent[]
40
- ProspectSequenceStep ProspectSequenceStep[]
41
- recommendations Recommendation[]
42
- sequences Sequence[]
43
- SequenceStep SequenceStep[]
19
+ id String @id
20
+ is_nlp_icp_enabled Boolean? @default(false)
21
+ is_linkedin_outreach_enabled Boolean? @default(false)
22
+ first_name String? // must be nullable to allow for gdpr deletion
23
+ last_name String? // must be nullable to allow for gdpr deletion
24
+ email String? // @unique
25
+ onboarded_at DateTime?
26
+ lead_selection_toured_at DateTime?
27
+ email_sequencing_toured_at DateTime?
28
+ campaign_review_toured_at DateTime?
29
+ campaign_homepage_toured_at DateTime?
30
+ registered_at DateTime?
31
+ updated_at DateTime? @updatedAt
32
+ deleted_at DateTime?
33
+ campaigns Campaign[]
34
+ campaign_log_events CampaignLogEvent[]
35
+ connected_mailboxes ConnectedMailbox[]
36
+ ideal_customer_profiles IdealCustomerProfile[]
37
+ merge_connection MergeConnection[]
38
+ prospects Prospect[]
39
+ prospect_interaction_events ProspectInteractionEvent[]
40
+ ProspectSequenceStep ProspectSequenceStep[]
41
+ recommendations Recommendation[]
42
+ sequences Sequence[]
43
+ SequenceStep SequenceStep[]
44
44
  }
45
45
 
46
46
  model MergeConnection {
@@ -222,7 +222,7 @@ model Recommendation {
222
222
  company_id String
223
223
  company_record_id String
224
224
  icp_id String
225
- icp_match_confidence Int? @default(3)
225
+ icp_match_confidence Int? @default(3)
226
226
  merge_crm_lead_id String? @unique
227
227
  merge_crm_contact_id String? @unique
228
228
  merge_crm_account_id String? @unique
@@ -275,20 +275,20 @@ model IdealCustomerProfile {
275
275
  }
276
276
 
277
277
  model ConnectedMailbox {
278
- id String @id @default(uuid())
279
- status ConnectedMailboxStatus
280
- type ConnectedMailboxType
281
- tokens Json
282
- owner_id String
283
- created_at DateTime @default(now())
284
- updated_at DateTime @updatedAt
285
- deleted_at DateTime?
286
- email String
287
- email_provider_user_id String?
288
- mailbox_user_id String?
289
- max_emails_per_day Int?
290
- max_emails_per_hour Int?
291
- owner User @relation(fields: [owner_id], references: [id])
278
+ id String @id @default(uuid())
279
+ status ConnectedMailboxStatus
280
+ type ConnectedMailboxType
281
+ tokens Json
282
+ owner_id String
283
+ created_at DateTime @default(now())
284
+ updated_at DateTime @updatedAt
285
+ deleted_at DateTime?
286
+ email String
287
+ email_provider_user_id String?
288
+ mailbox_user_id String?
289
+ max_emails_per_day Int?
290
+ max_emails_per_hour Int?
291
+ owner User @relation(fields: [owner_id], references: [id])
292
292
  prospect_sequence_steps ProspectSequenceStep[]
293
293
  }
294
294
 
@@ -374,7 +374,7 @@ model ProspectInteractionEvent {
374
374
  in_resp_to_prospect_sequence_step ProspectSequenceStep @relation(fields: [in_resp_to_prospect_sequence_step_id], references: [id])
375
375
  owner User @relation(fields: [owner_id], references: [id])
376
376
  prospect Prospect @relation(fields: [prospect_id], references: [id])
377
- deleted_at DateTime?
377
+ deleted_at DateTime?
378
378
  }
379
379
 
380
380
  enum MergeCrmExportStatus {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telescope-prisma-client",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.prisma CHANGED
@@ -1,8 +1,8 @@
1
1
  generator client {
2
- provider = "prisma-client-js"
2
+ provider = "prisma-client-js"
3
3
  previewFeatures = ["fullTextSearch"]
4
- output = "./src/generatedClient"
5
- binaryTargets = ["native", "linux-musl", "linux-musl-openssl-3.0.x", "darwin", "rhel-openssl-1.0.x"]
4
+ output = "./src/generatedClient"
5
+ binaryTargets = ["native", "linux-musl", "linux-musl-openssl-3.0.x", "darwin", "rhel-openssl-1.0.x"]
6
6
  }
7
7
 
8
8
  generator json {
@@ -16,31 +16,31 @@ datasource db {
16
16
  }
17
17
 
18
18
  model User {
19
- id String @id
20
- is_nlp_icp_enabled Boolean? @default(false)
21
- is_linkedin_outreach_enabled Boolean? @default(false)
22
- first_name String? // must be nullable to allow for gdpr deletion
23
- last_name String? // must be nullable to allow for gdpr deletion
24
- email String? // @unique
25
- onboarded_at DateTime?
26
- lead_selection_toured_at DateTime?
27
- email_sequencing_toured_at DateTime?
28
- campaign_review_toured_at DateTime?
29
- campaign_homepage_toured_at DateTime?
30
- registered_at DateTime?
31
- updated_at DateTime? @updatedAt
32
- deleted_at DateTime?
33
- campaigns Campaign[]
34
- campaign_log_events CampaignLogEvent[]
35
- connected_mailboxes ConnectedMailbox[]
36
- ideal_customer_profiles IdealCustomerProfile[]
37
- merge_connection MergeConnection[]
38
- prospects Prospect[]
39
- prospect_interaction_events ProspectInteractionEvent[]
40
- ProspectSequenceStep ProspectSequenceStep[]
41
- recommendations Recommendation[]
42
- sequences Sequence[]
43
- SequenceStep SequenceStep[]
19
+ id String @id
20
+ is_nlp_icp_enabled Boolean? @default(false)
21
+ is_linkedin_outreach_enabled Boolean? @default(false)
22
+ first_name String? // must be nullable to allow for gdpr deletion
23
+ last_name String? // must be nullable to allow for gdpr deletion
24
+ email String? // @unique
25
+ onboarded_at DateTime?
26
+ lead_selection_toured_at DateTime?
27
+ email_sequencing_toured_at DateTime?
28
+ campaign_review_toured_at DateTime?
29
+ campaign_homepage_toured_at DateTime?
30
+ registered_at DateTime?
31
+ updated_at DateTime? @updatedAt
32
+ deleted_at DateTime?
33
+ campaigns Campaign[]
34
+ campaign_log_events CampaignLogEvent[]
35
+ connected_mailboxes ConnectedMailbox[]
36
+ ideal_customer_profiles IdealCustomerProfile[]
37
+ merge_connection MergeConnection[]
38
+ prospects Prospect[]
39
+ prospect_interaction_events ProspectInteractionEvent[]
40
+ ProspectSequenceStep ProspectSequenceStep[]
41
+ recommendations Recommendation[]
42
+ sequences Sequence[]
43
+ SequenceStep SequenceStep[]
44
44
  }
45
45
 
46
46
  model MergeConnection {
@@ -222,7 +222,7 @@ model Recommendation {
222
222
  company_id String
223
223
  company_record_id String
224
224
  icp_id String
225
- icp_match_confidence Int? @default(3)
225
+ icp_match_confidence Int? @default(3)
226
226
  merge_crm_lead_id String? @unique
227
227
  merge_crm_contact_id String? @unique
228
228
  merge_crm_account_id String? @unique
@@ -275,20 +275,20 @@ model IdealCustomerProfile {
275
275
  }
276
276
 
277
277
  model ConnectedMailbox {
278
- id String @id @default(uuid())
279
- status ConnectedMailboxStatus
280
- type ConnectedMailboxType
281
- tokens Json
282
- owner_id String
283
- created_at DateTime @default(now())
284
- updated_at DateTime @updatedAt
285
- deleted_at DateTime?
286
- email String
287
- email_provider_user_id String?
288
- mailbox_user_id String?
289
- max_emails_per_day Int?
290
- max_emails_per_hour Int?
291
- owner User @relation(fields: [owner_id], references: [id])
278
+ id String @id @default(uuid())
279
+ status ConnectedMailboxStatus
280
+ type ConnectedMailboxType
281
+ tokens Json
282
+ owner_id String
283
+ created_at DateTime @default(now())
284
+ updated_at DateTime @updatedAt
285
+ deleted_at DateTime?
286
+ email String
287
+ email_provider_user_id String?
288
+ mailbox_user_id String?
289
+ max_emails_per_day Int?
290
+ max_emails_per_hour Int?
291
+ owner User @relation(fields: [owner_id], references: [id])
292
292
  prospect_sequence_steps ProspectSequenceStep[]
293
293
  }
294
294
 
@@ -374,7 +374,7 @@ model ProspectInteractionEvent {
374
374
  in_resp_to_prospect_sequence_step ProspectSequenceStep @relation(fields: [in_resp_to_prospect_sequence_step_id], references: [id])
375
375
  owner User @relation(fields: [owner_id], references: [id])
376
376
  prospect Prospect @relation(fields: [prospect_id], references: [id])
377
- deleted_at DateTime?
377
+ deleted_at DateTime?
378
378
  }
379
379
 
380
380
  enum MergeCrmExportStatus {