telescope-prisma-client 0.0.97 → 0.0.98

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.
@@ -6,46 +6,44 @@ const {
6
6
  objectEnumValues,
7
7
  makeStrictEnum,
8
8
  Public,
9
- detectRuntime,
10
9
  } = require('./runtime/index-browser')
11
10
 
12
11
 
13
12
  const Prisma = {}
14
13
 
15
14
  exports.Prisma = Prisma
16
- exports.$Enums = {}
17
15
 
18
16
  /**
19
- * Prisma Client JS version: 5.7.0
20
- * Query Engine version: 79fb5193cf0a8fdbef536e4b4a159cad677ab1b9
17
+ * Prisma Client JS version: 4.16.2
18
+ * Query Engine version: 4bc8b6e1b66cb932731fb1bdbbc550d1e010de81
21
19
  */
22
20
  Prisma.prismaVersion = {
23
- client: "5.7.0",
24
- engine: "79fb5193cf0a8fdbef536e4b4a159cad677ab1b9"
21
+ client: "4.16.2",
22
+ engine: "4bc8b6e1b66cb932731fb1bdbbc550d1e010de81"
25
23
  }
26
24
 
27
25
  Prisma.PrismaClientKnownRequestError = () => {
28
- throw new Error(`PrismaClientKnownRequestError is unable to be run ${runtimeDescription}.
26
+ throw new Error(`PrismaClientKnownRequestError is unable to be run in the browser.
29
27
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
30
28
  )};
31
29
  Prisma.PrismaClientUnknownRequestError = () => {
32
- throw new Error(`PrismaClientUnknownRequestError is unable to be run ${runtimeDescription}.
30
+ throw new Error(`PrismaClientUnknownRequestError is unable to be run in the browser.
33
31
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
34
32
  )}
35
33
  Prisma.PrismaClientRustPanicError = () => {
36
- throw new Error(`PrismaClientRustPanicError is unable to be run ${runtimeDescription}.
34
+ throw new Error(`PrismaClientRustPanicError is unable to be run in the browser.
37
35
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
38
36
  )}
39
37
  Prisma.PrismaClientInitializationError = () => {
40
- throw new Error(`PrismaClientInitializationError is unable to be run ${runtimeDescription}.
38
+ throw new Error(`PrismaClientInitializationError is unable to be run in the browser.
41
39
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
42
40
  )}
43
41
  Prisma.PrismaClientValidationError = () => {
44
- throw new Error(`PrismaClientValidationError is unable to be run ${runtimeDescription}.
42
+ throw new Error(`PrismaClientValidationError is unable to be run in the browser.
45
43
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
46
44
  )}
47
45
  Prisma.NotFoundError = () => {
48
- throw new Error(`NotFoundError is unable to be run ${runtimeDescription}.
46
+ throw new Error(`NotFoundError is unable to be run in the browser.
49
47
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
50
48
  )}
51
49
  Prisma.Decimal = Decimal
@@ -54,19 +52,19 @@ Prisma.Decimal = Decimal
54
52
  * Re-export of sql-template-tag
55
53
  */
56
54
  Prisma.sql = () => {
57
- throw new Error(`sqltag is unable to be run ${runtimeDescription}.
55
+ throw new Error(`sqltag is unable to be run in the browser.
58
56
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
59
57
  )}
60
58
  Prisma.empty = () => {
61
- throw new Error(`empty is unable to be run ${runtimeDescription}.
59
+ throw new Error(`empty is unable to be run in the browser.
62
60
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
63
61
  )}
64
62
  Prisma.join = () => {
65
- throw new Error(`join is unable to be run ${runtimeDescription}.
63
+ throw new Error(`join is unable to be run in the browser.
66
64
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
67
65
  )}
68
66
  Prisma.raw = () => {
69
- throw new Error(`raw is unable to be run ${runtimeDescription}.
67
+ throw new Error(`raw is unable to be run in the browser.
70
68
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
71
69
  )}
72
70
  Prisma.validator = Public.validator
@@ -75,11 +73,11 @@ Prisma.validator = Public.validator
75
73
  * Extensions
76
74
  */
77
75
  Prisma.getExtensionContext = () => {
78
- throw new Error(`Extensions.getExtensionContext is unable to be run ${runtimeDescription}.
76
+ throw new Error(`Extensions.getExtensionContext is unable to be run in the browser.
79
77
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
80
78
  )}
81
79
  Prisma.defineExtension = () => {
82
- throw new Error(`Extensions.defineExtension is unable to be run ${runtimeDescription}.
80
+ throw new Error(`Extensions.defineExtension is unable to be run in the browser.
83
81
  In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
84
82
  )}
85
83
 
@@ -292,6 +290,7 @@ exports.Prisma.RecommendationScalarFieldEnum = {
292
290
  deleted_at: 'deleted_at',
293
291
  model_info: 'model_info',
294
292
  additional_data: 'additional_data',
293
+ special_criteria_evaluation_results: 'special_criteria_evaluation_results',
295
294
  rejection_reason: 'rejection_reason',
296
295
  ranker_version: 'ranker_version',
297
296
  company_recommendation_id: 'company_recommendation_id'
@@ -645,34 +644,34 @@ exports.Prisma.ProspectInteractionEventOrderByRelevanceFieldEnum = {
645
644
  prospect_interest_reason: 'prospect_interest_reason',
646
645
  owner_id: 'owner_id'
647
646
  };
648
- exports.SubscriptionTierType = exports.$Enums.SubscriptionTierType = {
647
+ exports.SubscriptionTierType = {
649
648
  FREE: 'FREE',
650
649
  PRO: 'PRO'
651
650
  };
652
651
 
653
- exports.OutreachStatus = exports.$Enums.OutreachStatus = {
652
+ exports.OutreachStatus = {
654
653
  RUNNING: 'RUNNING',
655
654
  PAUSED: 'PAUSED',
656
655
  DISABLED: 'DISABLED'
657
656
  };
658
657
 
659
- exports.RecommendationMode = exports.$Enums.RecommendationMode = {
658
+ exports.RecommendationMode = {
660
659
  LEAD: 'LEAD',
661
660
  COMPANY: 'COMPANY'
662
661
  };
663
662
 
664
- exports.MergeCrmExportStatus = exports.$Enums.MergeCrmExportStatus = {
663
+ exports.MergeCrmExportStatus = {
665
664
  SUCCESS: 'SUCCESS',
666
665
  FAILED: 'FAILED'
667
666
  };
668
667
 
669
- exports.RecommendationType = exports.$Enums.RecommendationType = {
668
+ exports.RecommendationType = {
670
669
  STANDARD: 'STANDARD',
671
670
  DAILY: 'DAILY',
672
671
  LIST: 'LIST'
673
672
  };
674
673
 
675
- exports.RecommendationStatus = exports.$Enums.RecommendationStatus = {
674
+ exports.RecommendationStatus = {
676
675
  ACCEPTED: 'ACCEPTED',
677
676
  REJECTED: 'REJECTED',
678
677
  PENDING: 'PENDING',
@@ -681,7 +680,7 @@ exports.RecommendationStatus = exports.$Enums.RecommendationStatus = {
681
680
  NOT_SEEN: 'NOT_SEEN'
682
681
  };
683
682
 
684
- exports.RecommendationRejectionReason = exports.$Enums.RecommendationRejectionReason = {
683
+ exports.RecommendationRejectionReason = {
685
684
  NOT_RELEVANT: 'NOT_RELEVANT',
686
685
  WRONG_POSITION_RIGHT_COMPANY: 'WRONG_POSITION_RIGHT_COMPANY',
687
686
  RIGHT_POSITION_WRONG_COMPANY: 'RIGHT_POSITION_WRONG_COMPANY',
@@ -691,35 +690,35 @@ exports.RecommendationRejectionReason = exports.$Enums.RecommendationRejectionRe
691
690
  DISCARDED: 'DISCARDED'
692
691
  };
693
692
 
694
- exports.ConnectedMailboxStatus = exports.$Enums.ConnectedMailboxStatus = {
693
+ exports.ConnectedMailboxStatus = {
695
694
  CONNECTED: 'CONNECTED',
696
695
  DISCONNECTED: 'DISCONNECTED'
697
696
  };
698
697
 
699
- exports.ConnectedMailboxType = exports.$Enums.ConnectedMailboxType = {
698
+ exports.ConnectedMailboxType = {
700
699
  GMAIL: 'GMAIL',
701
700
  OUTLOOK: 'OUTLOOK'
702
701
  };
703
702
 
704
- exports.SequenceStepType = exports.$Enums.SequenceStepType = {
703
+ exports.SequenceStepType = {
705
704
  EMAIL: 'EMAIL',
706
705
  LINKEDIN_CONNECTION: 'LINKEDIN_CONNECTION',
707
706
  LINKEDIN_MESSAGE: 'LINKEDIN_MESSAGE'
708
707
  };
709
708
 
710
- exports.SequenceStepCondition = exports.$Enums.SequenceStepCondition = {
709
+ exports.SequenceStepCondition = {
711
710
  LINKEDIN_ACCEPTED_CONNECTION: 'LINKEDIN_ACCEPTED_CONNECTION',
712
711
  LINKEDIN_CONNECTION_NOT_ACCEPTED: 'LINKEDIN_CONNECTION_NOT_ACCEPTED'
713
712
  };
714
713
 
715
- exports.ProspectSequenceStepStatus = exports.$Enums.ProspectSequenceStepStatus = {
714
+ exports.ProspectSequenceStepStatus = {
716
715
  PENDING: 'PENDING',
717
716
  COMPLETED: 'COMPLETED',
718
717
  ERROR: 'ERROR',
719
718
  SCHEDULED: 'SCHEDULED'
720
719
  };
721
720
 
722
- exports.ProspectInteractionEventType = exports.$Enums.ProspectInteractionEventType = {
721
+ exports.ProspectInteractionEventType = {
723
722
  EMAIL_REPLY: 'EMAIL_REPLY',
724
723
  EMAIL_BOUNCE_NOTIFICATION: 'EMAIL_BOUNCE_NOTIFICATION',
725
724
  EMAIL_OOO_NOTIFICATION: 'EMAIL_OOO_NOTIFICATION',
@@ -729,7 +728,7 @@ exports.ProspectInteractionEventType = exports.$Enums.ProspectInteractionEventTy
729
728
  LINKEDIN_REPLY: 'LINKEDIN_REPLY'
730
729
  };
731
730
 
732
- exports.ProspectInterestType = exports.$Enums.ProspectInterestType = {
731
+ exports.ProspectInterestType = {
733
732
  POSITIVE: 'POSITIVE',
734
733
  NEGATIVE: 'NEGATIVE',
735
734
  UNKNOWN: 'UNKNOWN'
@@ -754,36 +753,16 @@ exports.Prisma.ModelName = {
754
753
  };
755
754
 
756
755
  /**
757
- * This is a stub Prisma Client that will error at runtime if called.
756
+ * Create the Client
758
757
  */
759
758
  class PrismaClient {
760
759
  constructor() {
761
- return new Proxy(this, {
762
- get(target, prop) {
763
- const runtime = detectRuntime()
764
- const edgeRuntimeName = {
765
- 'workerd': 'Cloudflare Workers',
766
- 'deno': 'Deno and Deno Deploy',
767
- 'netlify': 'Netlify Edge Functions',
768
- 'edge-light': 'Vercel Edge Functions',
769
- }[runtime]
770
-
771
- let message = 'PrismaClient is unable to run in '
772
- if (edgeRuntimeName !== undefined) {
773
- message += edgeRuntimeName + '. As an alternative, try Accelerate: https://pris.ly/d/accelerate.'
774
- } else {
775
- message += 'this browser environment, or has been bundled for the browser (running in `' + runtime + '`).'
776
- }
777
-
778
- message += `
779
- If this is unexpected, please open an issue: https://github.com/prisma/prisma/issues`
780
-
781
- throw new Error(message)
782
- }
783
- })
760
+ throw new Error(
761
+ `PrismaClient is unable to be run in the browser.
762
+ In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
763
+ )
784
764
  }
785
765
  }
786
-
787
766
  exports.PrismaClient = PrismaClient
788
767
 
789
768
  Object.assign(exports, Prisma)