telescope-prisma-client 0.0.80 → 0.0.82

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