telescope-prisma-client 0.0.88 → 0.0.89

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
 
@@ -637,34 +635,34 @@ exports.Prisma.ProspectInteractionEventOrderByRelevanceFieldEnum = {
637
635
  prospect_interest_reason: 'prospect_interest_reason',
638
636
  owner_id: 'owner_id'
639
637
  };
640
- exports.SubscriptionTierType = exports.$Enums.SubscriptionTierType = {
638
+ exports.SubscriptionTierType = {
641
639
  FREE: 'FREE',
642
640
  PRO: 'PRO'
643
641
  };
644
642
 
645
- exports.OutreachStatus = exports.$Enums.OutreachStatus = {
643
+ exports.OutreachStatus = {
646
644
  RUNNING: 'RUNNING',
647
645
  PAUSED: 'PAUSED',
648
646
  DISABLED: 'DISABLED'
649
647
  };
650
648
 
651
- exports.RecommendationMode = exports.$Enums.RecommendationMode = {
649
+ exports.RecommendationMode = {
652
650
  LEAD: 'LEAD',
653
651
  COMPANY: 'COMPANY'
654
652
  };
655
653
 
656
- exports.MergeCrmExportStatus = exports.$Enums.MergeCrmExportStatus = {
654
+ exports.MergeCrmExportStatus = {
657
655
  SUCCESS: 'SUCCESS',
658
656
  FAILED: 'FAILED'
659
657
  };
660
658
 
661
- exports.RecommendationType = exports.$Enums.RecommendationType = {
659
+ exports.RecommendationType = {
662
660
  STANDARD: 'STANDARD',
663
661
  DAILY: 'DAILY',
664
662
  LIST: 'LIST'
665
663
  };
666
664
 
667
- exports.RecommendationStatus = exports.$Enums.RecommendationStatus = {
665
+ exports.RecommendationStatus = {
668
666
  ACCEPTED: 'ACCEPTED',
669
667
  REJECTED: 'REJECTED',
670
668
  PENDING: 'PENDING',
@@ -673,7 +671,7 @@ exports.RecommendationStatus = exports.$Enums.RecommendationStatus = {
673
671
  NOT_SEEN: 'NOT_SEEN'
674
672
  };
675
673
 
676
- exports.RecommendationRejectionReason = exports.$Enums.RecommendationRejectionReason = {
674
+ exports.RecommendationRejectionReason = {
677
675
  NOT_RELEVANT: 'NOT_RELEVANT',
678
676
  WRONG_POSITION_RIGHT_COMPANY: 'WRONG_POSITION_RIGHT_COMPANY',
679
677
  RIGHT_POSITION_WRONG_COMPANY: 'RIGHT_POSITION_WRONG_COMPANY',
@@ -683,35 +681,35 @@ exports.RecommendationRejectionReason = exports.$Enums.RecommendationRejectionRe
683
681
  DISCARDED: 'DISCARDED'
684
682
  };
685
683
 
686
- exports.ConnectedMailboxStatus = exports.$Enums.ConnectedMailboxStatus = {
684
+ exports.ConnectedMailboxStatus = {
687
685
  CONNECTED: 'CONNECTED',
688
686
  DISCONNECTED: 'DISCONNECTED'
689
687
  };
690
688
 
691
- exports.ConnectedMailboxType = exports.$Enums.ConnectedMailboxType = {
689
+ exports.ConnectedMailboxType = {
692
690
  GMAIL: 'GMAIL',
693
691
  OUTLOOK: 'OUTLOOK'
694
692
  };
695
693
 
696
- exports.SequenceStepType = exports.$Enums.SequenceStepType = {
694
+ exports.SequenceStepType = {
697
695
  EMAIL: 'EMAIL',
698
696
  LINKEDIN_CONNECTION: 'LINKEDIN_CONNECTION',
699
697
  LINKEDIN_MESSAGE: 'LINKEDIN_MESSAGE'
700
698
  };
701
699
 
702
- exports.SequenceStepCondition = exports.$Enums.SequenceStepCondition = {
700
+ exports.SequenceStepCondition = {
703
701
  LINKEDIN_ACCEPTED_CONNECTION: 'LINKEDIN_ACCEPTED_CONNECTION',
704
702
  LINKEDIN_CONNECTION_NOT_ACCEPTED: 'LINKEDIN_CONNECTION_NOT_ACCEPTED'
705
703
  };
706
704
 
707
- exports.ProspectSequenceStepStatus = exports.$Enums.ProspectSequenceStepStatus = {
705
+ exports.ProspectSequenceStepStatus = {
708
706
  PENDING: 'PENDING',
709
707
  COMPLETED: 'COMPLETED',
710
708
  ERROR: 'ERROR',
711
709
  SCHEDULED: 'SCHEDULED'
712
710
  };
713
711
 
714
- exports.ProspectInteractionEventType = exports.$Enums.ProspectInteractionEventType = {
712
+ exports.ProspectInteractionEventType = {
715
713
  EMAIL_REPLY: 'EMAIL_REPLY',
716
714
  EMAIL_BOUNCE_NOTIFICATION: 'EMAIL_BOUNCE_NOTIFICATION',
717
715
  EMAIL_OOO_NOTIFICATION: 'EMAIL_OOO_NOTIFICATION',
@@ -721,7 +719,7 @@ exports.ProspectInteractionEventType = exports.$Enums.ProspectInteractionEventTy
721
719
  LINKEDIN_REPLY: 'LINKEDIN_REPLY'
722
720
  };
723
721
 
724
- exports.ProspectInterestType = exports.$Enums.ProspectInterestType = {
722
+ exports.ProspectInterestType = {
725
723
  POSITIVE: 'POSITIVE',
726
724
  NEGATIVE: 'NEGATIVE',
727
725
  UNKNOWN: 'UNKNOWN'
@@ -746,36 +744,16 @@ exports.Prisma.ModelName = {
746
744
  };
747
745
 
748
746
  /**
749
- * This is a stub Prisma Client that will error at runtime if called.
747
+ * Create the Client
750
748
  */
751
749
  class PrismaClient {
752
750
  constructor() {
753
- return new Proxy(this, {
754
- get(target, prop) {
755
- const runtime = detectRuntime()
756
- const edgeRuntimeName = {
757
- 'workerd': 'Cloudflare Workers',
758
- 'deno': 'Deno and Deno Deploy',
759
- 'netlify': 'Netlify Edge Functions',
760
- 'edge-light': 'Vercel Edge Functions',
761
- }[runtime]
762
-
763
- let message = 'PrismaClient is unable to run in '
764
- if (edgeRuntimeName !== undefined) {
765
- message += edgeRuntimeName + '. As an alternative, try Accelerate: https://pris.ly/d/accelerate.'
766
- } else {
767
- message += 'this browser environment, or has been bundled for the browser (running in `' + runtime + '`).'
768
- }
769
-
770
- message += `
771
- If this is unexpected, please open an issue: https://github.com/prisma/prisma/issues`
772
-
773
- throw new Error(message)
774
- }
775
- })
751
+ throw new Error(
752
+ `PrismaClient is unable to be run in the browser.
753
+ In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`,
754
+ )
776
755
  }
777
756
  }
778
-
779
757
  exports.PrismaClient = PrismaClient
780
758
 
781
759
  Object.assign(exports, Prisma)