deepline 0.3.462 → 0.3.464

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.
Files changed (162) hide show
  1. package/dist/bundling-sources/sdk/src/play.ts +3 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/billing/tamradar.ts +17 -17
  4. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
  5. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +28 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +3 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +16 -2
  8. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +12 -9
  9. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +115 -7
  10. package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +353 -52
  11. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +63 -3
  12. package/dist/cli/{auth-JDLEY7VU.mjs → auth-GMSI6QWR.mjs} +5 -5
  13. package/dist/cli/auth-P4E7M3AV.js +41 -0
  14. package/dist/cli/{billing-SDHLBLMV.mjs → billing-6G2RFLM7.mjs} +6 -6
  15. package/dist/cli/{billing-HXAXB3XZ.js → billing-MGH36CNP.js} +77 -77
  16. package/dist/cli/{chunk-UAJFWWZE.js → chunk-2RFTOESC.js} +5 -5
  17. package/dist/cli/{chunk-VFGVXXZP.js → chunk-3AIMFE3Z.js} +36 -36
  18. package/dist/cli/{chunk-O2RX5A66.mjs → chunk-3MKRAI6R.mjs} +5 -5
  19. package/dist/cli/{chunk-7MJ6VI2T.mjs → chunk-44BEFU62.mjs} +2 -2
  20. package/dist/cli/{chunk-7VZHXVOQ.js → chunk-4XNXFHG6.js} +1 -1
  21. package/dist/cli/{chunk-D6DXOUTO.mjs → chunk-5CKIO7KA.mjs} +1 -1
  22. package/dist/cli/{chunk-XANRM3QA.js → chunk-5XIGEYYK.js} +6 -6
  23. package/dist/cli/{chunk-NHRWZPWZ.mjs → chunk-6A7OH2PV.mjs} +2 -2
  24. package/dist/cli/{chunk-4KQ6SIBC.mjs → chunk-6COF5LIE.mjs} +2 -2
  25. package/dist/cli/{chunk-S6UAJR6V.mjs → chunk-6E2KNNTD.mjs} +2 -2
  26. package/dist/cli/{chunk-S42YIQNE.mjs → chunk-6KDOO7IM.mjs} +4 -4
  27. package/dist/cli/{chunk-5LEAXRHV.js → chunk-6P4OYABU.js} +54 -226
  28. package/dist/cli/chunk-7YDN6AEK.mjs +649 -0
  29. package/dist/cli/{chunk-HUB3CCM2.js → chunk-ACZLDP7L.js} +3 -3
  30. package/dist/cli/{chunk-BGTPIMSM.js → chunk-BMUDQMYE.js} +6 -6
  31. package/dist/cli/{chunk-6NNVJDVR.mjs → chunk-CUZVOPPY.mjs} +3 -3
  32. package/dist/cli/{chunk-ZUK6LIJB.mjs → chunk-DO3FSI4C.mjs} +1 -1
  33. package/dist/cli/{chunk-NBLSCHKK.js → chunk-E4QJKJH6.js} +51 -51
  34. package/dist/cli/{chunk-ZGQSFYD2.js → chunk-EQNJUG3N.js} +53 -53
  35. package/dist/cli/{chunk-GEGW5HPZ.js → chunk-FEWZT4RV.js} +21 -21
  36. package/dist/cli/{chunk-QJZ6WNWD.js → chunk-FVAB2JRO.js} +8 -8
  37. package/dist/cli/{chunk-Y4DPU4OM.js → chunk-GVJVBBGV.js} +3 -3
  38. package/dist/cli/{chunk-MUUQZIOF.mjs → chunk-HGUHBLX5.mjs} +3 -3
  39. package/dist/cli/{chunk-6PMCRYDA.js → chunk-HIMV32ZX.js} +6 -4
  40. package/dist/cli/{chunk-MSY22NQW.mjs → chunk-I2TCWIW2.mjs} +44 -216
  41. package/dist/cli/{chunk-XZAFIOUQ.mjs → chunk-J327QVQV.mjs} +1 -1
  42. package/dist/cli/chunk-JLZKF7EY.js +649 -0
  43. package/dist/cli/{chunk-7LFIMWMW.js → chunk-K3BARC72.js} +2 -2
  44. package/dist/cli/{chunk-LROWFPGN.js → chunk-K4DVRQTY.js} +16 -16
  45. package/dist/cli/{chunk-XQCTG5OO.js → chunk-L3U44YVO.js} +5 -5
  46. package/dist/cli/{chunk-CKSOY47X.mjs → chunk-M4QVY6RW.mjs} +2 -2
  47. package/dist/cli/{chunk-6RNQGWFD.mjs → chunk-MP3O4ISC.mjs} +1 -1
  48. package/dist/cli/{chunk-PHSEINNH.mjs → chunk-MQNBOSQP.mjs} +5 -5
  49. package/dist/cli/{chunk-TKAQR3IB.mjs → chunk-MUQAKLBP.mjs} +1 -1
  50. package/dist/cli/{chunk-YT5EODJO.js → chunk-NI3QFUK7.js} +4 -4
  51. package/dist/cli/{chunk-PKHVSIJG.mjs → chunk-O4AOYLZE.mjs} +2 -2
  52. package/dist/cli/{chunk-3ACMRZRV.js → chunk-O4ZMADW4.js} +7 -7
  53. package/dist/cli/{chunk-V3MEA7NB.mjs → chunk-OA7IIOLW.mjs} +4 -4
  54. package/dist/cli/{chunk-VPHN2HAL.mjs → chunk-OGCAGZXO.mjs} +6 -4
  55. package/dist/cli/{chunk-LFXLQEZN.mjs → chunk-PPQL5F4P.mjs} +1 -1
  56. package/dist/cli/{chunk-WIY6U6GD.mjs → chunk-RFOQRCMW.mjs} +5 -5
  57. package/dist/cli/{chunk-FKVYR3QA.mjs → chunk-TMVBBGSK.mjs} +1 -1
  58. package/dist/cli/{chunk-EM4TXCCI.js → chunk-TU3M7UXJ.js} +13 -13
  59. package/dist/cli/{chunk-AT636LLU.mjs → chunk-UM363DQF.mjs} +2 -2
  60. package/dist/cli/{chunk-V335HGX5.js → chunk-UOAHDEAI.js} +9 -9
  61. package/dist/cli/{chunk-UDRPEZ5F.mjs → chunk-VQHEMZ33.mjs} +1 -1
  62. package/dist/cli/{chunk-3KZCFOZ6.mjs → chunk-VYDOPASG.mjs} +1 -1
  63. package/dist/cli/{chunk-ULK7JGGI.js → chunk-VZX4P5FT.js} +258 -258
  64. package/dist/cli/{chunk-OPJAJBD4.js → chunk-WLIFUH6W.js} +8 -8
  65. package/dist/cli/{chunk-OMQ23IXL.js → chunk-X3XJ6ZSJ.js} +2 -2
  66. package/dist/cli/{chunk-7U3XNPOA.mjs → chunk-XMDBN2K7.mjs} +11 -11
  67. package/dist/cli/{chunk-7SWNPNML.js → chunk-ZAB6KCZW.js} +3 -3
  68. package/dist/cli/{chunk-JF3TLIMQ.js → chunk-ZIMCLWEW.js} +5 -5
  69. package/dist/cli/{chunk-I6VHOU5O.js → chunk-ZQERHPZA.js} +26 -26
  70. package/dist/cli/command-docs.js +2 -2
  71. package/dist/cli/command-docs.mjs +1 -1
  72. package/dist/cli/{csv-L54JS7TF.mjs → csv-4ZVMBOCK.mjs} +4 -4
  73. package/dist/cli/{csv-C56GSCEU.js → csv-W2JPV57R.js} +13 -13
  74. package/dist/cli/{db-MOGRMZTA.js → db-6YNFDHEW.js} +27 -27
  75. package/dist/cli/{db-YVBUW2DX.mjs → db-TVK6BLRB.mjs} +6 -6
  76. package/dist/cli/describe-APW5TWBT.js +48 -0
  77. package/dist/cli/{describe-NLZKKT7C.mjs → describe-JFN4ECPO.mjs} +20 -20
  78. package/dist/cli/describe-core.d.mts +3 -3
  79. package/dist/cli/describe-core.d.ts +3 -3
  80. package/dist/cli/describe-core.js +4 -4
  81. package/dist/cli/describe-core.mjs +3 -3
  82. package/dist/cli/{executions-ZBGSTT37.mjs → executions-2FK4FFKE.mjs} +6 -6
  83. package/dist/cli/{executions-A7L4ULPP.js → executions-J4CAN7RB.js} +8 -8
  84. package/dist/cli/{feedback-G6GU37FD.mjs → feedback-EYRRLA2P.mjs} +4 -4
  85. package/dist/cli/{feedback-OHLY7RYD.js → feedback-NOO4OM4U.js} +8 -8
  86. package/dist/cli/{git-PKZW3QD5.mjs → git-D3Q4JKBC.mjs} +5 -5
  87. package/dist/cli/git-FPF6DT43.js +25 -0
  88. package/dist/cli/index.js +139 -139
  89. package/dist/cli/index.mjs +41 -41
  90. package/dist/cli/{legacy-noops-5LM3D724.js → legacy-noops-5ZGRKSN3.js} +8 -8
  91. package/dist/cli/{legacy-noops-LJJYG6YA.mjs → legacy-noops-SUFJWBLZ.mjs} +5 -5
  92. package/dist/cli/{monitors-UX3H5DC2.js → monitors-3QFJZA6Z.js} +91 -91
  93. package/dist/cli/{monitors-72QV4ALO.mjs → monitors-IRDIIR6J.mjs} +7 -7
  94. package/dist/cli/{org-IF7ISUVB.js → org-275OJJ7W.js} +68 -68
  95. package/dist/cli/{org-6RRRKOCP.mjs → org-2VA2FSMG.mjs} +6 -6
  96. package/dist/cli/{pages-3SU3HKL7.js → pages-SPRBOZRA.js} +17 -17
  97. package/dist/cli/{pages-DXDYYKEK.mjs → pages-WCUEBFYU.mjs} +6 -6
  98. package/dist/cli/{play-AHASKRLA.mjs → play-7UL5H6QU.mjs} +18 -18
  99. package/dist/cli/{play-EUIUVLUH.js → play-NMHUWBET.js} +305 -305
  100. package/dist/cli/{providers-V5WU4VXJ.js → providers-72LUJEAT.js} +9 -9
  101. package/dist/cli/{providers-GWGE3WY3.mjs → providers-WSCKV557.mjs} +6 -6
  102. package/dist/cli/{quickstart-OXKQ5ZST.mjs → quickstart-K4LAKJKJ.mjs} +4 -4
  103. package/dist/cli/{quickstart-QP65I5PF.js → quickstart-XSUUAE2Y.js} +6 -6
  104. package/dist/cli/{run-F3FTYS56.js → run-MLV2CLW7.js} +40 -40
  105. package/dist/cli/{run-6MM72IGL.mjs → run-R2MOXXHH.mjs} +25 -25
  106. package/dist/cli/search-AYFUV6YV.js +32 -0
  107. package/dist/cli/{search-ZMEBVJZB.mjs → search-WHJZNWKE.mjs} +7 -7
  108. package/dist/cli/{secrets-ACND5N6A.js → secrets-7PXFBOFY.js} +15 -15
  109. package/dist/cli/{secrets-XRCJFF3L.mjs → secrets-YGVOFLI5.mjs} +6 -6
  110. package/dist/cli/{sessions-ZGRJPCFF.js → sessions-ASXXZI42.js} +6 -6
  111. package/dist/cli/{sessions-RTK3CEW6.mjs → sessions-G7I54W4L.mjs} +5 -5
  112. package/dist/cli/{settings-XDRBPRDE.mjs → settings-4GFO6JYO.mjs} +11 -11
  113. package/dist/cli/{settings-PD5KWQQZ.js → settings-RTEBMDPC.js} +78 -78
  114. package/dist/cli/{setup-3HPYAOCC.mjs → setup-4RJGKSDC.mjs} +9 -9
  115. package/dist/cli/{setup-E2Q6PXHC.js → setup-A6V2MJK7.js} +44 -44
  116. package/dist/cli/{skills-OOQFMPOV.mjs → skills-432W6EGS.mjs} +7 -7
  117. package/dist/cli/skills-GOQECD7H.js +31 -0
  118. package/dist/cli/tools-JXYN7WOE.js +55 -0
  119. package/dist/cli/{tools-C5ZT3UIC.mjs → tools-SABREK3C.mjs} +18 -18
  120. package/dist/cli/update-BSB4TJER.js +33 -0
  121. package/dist/cli/{update-ZWJTADIW.mjs → update-F7NO5RDW.mjs} +9 -9
  122. package/dist/cli/{workflow-23NMPAJ7.mjs → workflow-F4N7CFUX.mjs} +7 -7
  123. package/dist/cli/{workflow-TCXU5YJV.js → workflow-TF6YDWTM.js} +17 -17
  124. package/dist/{client-DTwnz_AW.d.mts → client-ADFHNtFM.d.mts} +1 -1
  125. package/dist/{client-DS2IWYZF.d.ts → client-BClp2yrq.d.ts} +1 -1
  126. package/dist/{client-core-B_6HAIBy.d.ts → client-core-BFU73Ttw.d.ts} +1 -1
  127. package/dist/{client-core-DzBSlY1U.d.mts → client-core-DWLmmJWo.d.mts} +1 -1
  128. package/dist/{compiler-manifest-Dcyd3-Zd.d.mts → compiler-manifest-Cs17yO-H.d.mts} +321 -3
  129. package/dist/{compiler-manifest-Dcyd3-Zd.d.ts → compiler-manifest-Cs17yO-H.d.ts} +321 -3
  130. package/dist/{errors-yQwfgrcX.d.ts → errors-Dee-QpVS.d.ts} +1 -1
  131. package/dist/{errors-d-sTrZhe.d.mts → errors-qNfvQuRB.d.mts} +1 -1
  132. package/dist/{index-C6oXchjN.d.mts → index-BTqNNXmC.d.mts} +1 -1
  133. package/dist/{index-P56zy_z5.d.ts → index-DXTh1Lxe.d.ts} +1 -1
  134. package/dist/index.d.mts +7 -7
  135. package/dist/index.d.ts +7 -7
  136. package/dist/index.js +81 -14
  137. package/dist/index.mjs +77 -10
  138. package/dist/install-integrity.json +114 -114
  139. package/dist/plays/bundle-play-file.d.mts +3 -3
  140. package/dist/plays/bundle-play-file.d.ts +3 -3
  141. package/dist/plays/play-description.d.mts +2 -2
  142. package/dist/plays/play-description.d.ts +2 -2
  143. package/dist/plays/run-request.d.mts +2 -2
  144. package/dist/plays/run-request.d.ts +2 -2
  145. package/dist/release.d.mts +1 -1
  146. package/dist/release.d.ts +1 -1
  147. package/dist/release.js +2 -2
  148. package/dist/release.mjs +1 -1
  149. package/dist/server.d.mts +4 -4
  150. package/dist/server.d.ts +4 -4
  151. package/dist/server.js +5 -5
  152. package/dist/server.mjs +3 -3
  153. package/package.json +1 -1
  154. package/dist/cli/auth-UXKY6TCC.js +0 -41
  155. package/dist/cli/chunk-NA4T3B62.js +0 -286
  156. package/dist/cli/chunk-TXZVVBQZ.mjs +0 -286
  157. package/dist/cli/describe-KYEULWPG.js +0 -48
  158. package/dist/cli/git-P76N4NDQ.js +0 -25
  159. package/dist/cli/search-OYKOOI7A.js +0 -32
  160. package/dist/cli/skills-XYWV52KB.js +0 -31
  161. package/dist/cli/tools-ASCDZJCK.js +0 -55
  162. package/dist/cli/update-5RQSEIFM.js +0 -33
@@ -1,41 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
- var _chunkNBLSCHKKjs = require('./chunk-NBLSCHKK.js');
17
- require('./chunk-3ACMRZRV.js');
18
- require('./chunk-Y4DPU4OM.js');
19
- require('./chunk-YT5EODJO.js');
20
- require('./chunk-ALJJRZNJ.js');
21
- require('./chunk-XNYIZMNQ.js');
22
- require('./chunk-DIAWYWT5.js');
23
- require('./chunk-7VZHXVOQ.js');
24
- require('./chunk-OG64RBAC.js');
25
- require('./chunk-COGTRVWW.js');
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
- exports.EXIT_WORKSPACE_MISMATCH = _chunkNBLSCHKKjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkNBLSCHKKjs.authStatusLine; exports.clearPendingClaim = _chunkNBLSCHKKjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkNBLSCHKKjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkNBLSCHKKjs.handleRegister; exports.handleStatus = _chunkNBLSCHKKjs.handleStatus; exports.handleWait = _chunkNBLSCHKKjs.handleWait; exports.httpJson = _chunkNBLSCHKKjs.httpJson; exports.readPendingAuthClaim = _chunkNBLSCHKKjs.readPendingAuthClaim; exports.readStatusBanner = _chunkNBLSCHKKjs.readStatusBanner; exports.registerAuthCommands = _chunkNBLSCHKKjs.registerAuthCommands; exports.reportSetupCompleted = _chunkNBLSCHKKjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkNBLSCHKKjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkNBLSCHKKjs.statusBannerLine;
@@ -1,286 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// ../plays/extractor-targets.ts
2
- var JOB_CHANGE_STATUS_VALUES = [
3
- "moved",
4
- "no_change",
5
- "left_company",
6
- "unknown",
7
- "profile_unavailable",
8
- "no_new_company"
9
- ];
10
- var JOB_CHANGE_JSON_SCHEMA = {
11
- type: "object",
12
- required: ["status", "date", "new_company", "new_title"],
13
- properties: {
14
- status: { type: "string", enum: JOB_CHANGE_STATUS_VALUES },
15
- date: { type: ["string", "null"] },
16
- new_company: { type: ["string", "null"] },
17
- new_title: { type: ["string", "null"] }
18
- }
19
- };
20
- var PHONE_STATUS_VALUES = ["valid", "invalid", "unknown"];
21
- var DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = {
22
- id: { identity: true, valueKind: "string" },
23
- name: { identity: true, valueKind: "string" },
24
- email: { identity: true, valueKind: "string" },
25
- personal_email: { identity: true, valueKind: "string" },
26
- phone: { identity: true, valueKind: "string" },
27
- linkedin: { identity: true, valueKind: "string" },
28
- linkedin_url: { identity: true, valueKind: "string" },
29
- domain: { identity: true, valueKind: "string" },
30
- website: { identity: true, valueKind: "string" },
31
- first_name: { identity: true, valueKind: "string" },
32
- last_name: { identity: true, valueKind: "string" },
33
- full_name: { identity: true, valueKind: "string" },
34
- company: { identity: true, valueKind: "string" },
35
- company_name: { identity: true, valueKind: "string" },
36
- organization_name: { identity: true, valueKind: "string" },
37
- company_domain: { identity: true, valueKind: "string" },
38
- company_website: { identity: true, valueKind: "string" },
39
- company_linkedin_url: { identity: true, valueKind: "string" },
40
- title: { identity: false, valueKind: "string" },
41
- industry: { identity: false, valueKind: "string" },
42
- status: { identity: false, valueKind: "string" },
43
- job_change: { identity: false, valueKind: "job_change" },
44
- job_change_status: {
45
- identity: false,
46
- valueKind: "job_change_status",
47
- enum: JOB_CHANGE_STATUS_VALUES
48
- },
49
- email_status: { identity: false, valueKind: "email_status" },
50
- phone_status: {
51
- identity: false,
52
- valueKind: "phone_status",
53
- enum: PHONE_STATUS_VALUES
54
- }
55
- };
56
- var DEEPLINE_EXTRACTOR_TARGETS = Object.keys(
57
- DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS
58
- );
59
- function isDeeplineExtractorTarget(value) {
60
- return value in DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS;
61
- }
62
-
63
- // ../plays/email-status.ts
64
- var nullable = (type) => ({ type: [type, "null"] });
65
- var oneOf = (values) => ({ type: "string", enum: values });
66
- var EMAIL_STATUS_JSON_SCHEMA = {
67
- type: "object",
68
- required: [
69
- "verdict",
70
- "status",
71
- "verified",
72
- "confidence",
73
- "reasons",
74
- "signals",
75
- "provider"
76
- ],
77
- properties: {
78
- verdict: oneOf([
79
- "send",
80
- "send_with_caution",
81
- "verify_next",
82
- "hold",
83
- "drop"
84
- ]),
85
- status: oneOf([
86
- "valid",
87
- "invalid",
88
- "catch_all",
89
- "valid_catch_all",
90
- "unknown",
91
- "do_not_mail",
92
- "spamtrap",
93
- "abuse",
94
- "disposable"
95
- ]),
96
- verified: { type: "boolean" },
97
- confidence: nullable("number"),
98
- reasons: { type: "array", items: { type: "string" } },
99
- signals: {
100
- type: "object",
101
- required: [
102
- "catch_all",
103
- "deliverability",
104
- "mx_class",
105
- "mx_provider",
106
- "mx_record",
107
- "fraud_score",
108
- "disposable",
109
- "role_based",
110
- "free_email",
111
- "abuse",
112
- "spamtrap",
113
- "suspect",
114
- "valid"
115
- ],
116
- properties: {
117
- catch_all: nullable("boolean"),
118
- deliverability: oneOf([
119
- "high",
120
- "medium",
121
- "low",
122
- "unknown"
123
- ]),
124
- mx_class: oneOf([
125
- "consumer_mailbox",
126
- "workspace_mailbox",
127
- "security_gateway",
128
- "on_prem",
129
- "unknown"
130
- ]),
131
- mx_provider: nullable("string"),
132
- mx_record: nullable("string"),
133
- fraud_score: nullable("number"),
134
- disposable: nullable("boolean"),
135
- role_based: nullable("boolean"),
136
- free_email: nullable("boolean"),
137
- abuse: nullable("boolean"),
138
- spamtrap: nullable("boolean"),
139
- suspect: nullable("boolean"),
140
- valid: nullable("boolean")
141
- }
142
- },
143
- provider: {
144
- type: "object",
145
- required: ["name", "raw_status", "raw_score"],
146
- properties: {
147
- name: { type: "string" },
148
- raw_status: { type: ["string", "boolean", "number", "null"] },
149
- raw_score: nullable("number")
150
- }
151
- }
152
- }
153
- };
154
- function normalizeKey(value) {
155
- if (value == null) return null;
156
- if (typeof value === "boolean") return String(value);
157
- const normalized = String(value).trim().toLowerCase().replace(/\s+/g, "_");
158
- return normalized || null;
159
- }
160
- function boolish(value) {
161
- if (typeof value === "boolean") return value;
162
- if (typeof value === "number")
163
- return value === 1 ? true : value === 0 ? false : null;
164
- if (typeof value !== "string") return null;
165
- const normalized = value.trim().toLowerCase();
166
- if (["true", "yes", "y", "1"].includes(normalized)) return true;
167
- if (["false", "no", "n", "0"].includes(normalized)) return false;
168
- return null;
169
- }
170
- function numberish(value) {
171
- if (typeof value === "number" && Number.isFinite(value)) return value;
172
- if (typeof value !== "string" || value.trim() === "") return null;
173
- const parsed = Number(value);
174
- return Number.isFinite(parsed) ? parsed : null;
175
- }
176
- function stringish(value) {
177
- return typeof value === "string" && value.trim() ? value.trim() : null;
178
- }
179
- function deliverability(value) {
180
- const normalized = normalizeKey(value);
181
- return normalized === "high" || normalized === "medium" || normalized === "low" ? normalized : "unknown";
182
- }
183
- function mxClass(mxProvider, mxRecord) {
184
- const haystack = `${_nullishCoalesce(stringish(mxProvider), () => ( ""))} ${_nullishCoalesce(stringish(mxRecord), () => ( ""))}`.toLowerCase();
185
- if (!haystack.trim()) return "unknown";
186
- if (/proofpoint|pphosted|mimecast|barracuda|ess\.barracudanetworks|ironport|cisco|iphmx|messagelabs|symantec/.test(
187
- haystack
188
- )) {
189
- return "security_gateway";
190
- }
191
- if (/aspmx\.l\.google|google|g-suite|google workspace/.test(haystack)) {
192
- return "workspace_mailbox";
193
- }
194
- if (/protection\.outlook|office365|microsoft|outlook|exchange online/.test(
195
- haystack
196
- )) {
197
- return "workspace_mailbox";
198
- }
199
- if (/gmail|yahoo|icloud|aol|hotmail/.test(haystack))
200
- return "consumer_mailbox";
201
- if (/postfix|exim|sendmail|zimbra|plesk|cpanel|mail\./.test(haystack))
202
- return "on_prem";
203
- return "unknown";
204
- }
205
- function entryForStatus(key, map) {
206
- if (!key) return null;
207
- return _nullishCoalesce(_optionalChain([map, 'optionalAccess', _ => _[key]]), () => ( null));
208
- }
209
- function read(values, name) {
210
- return values[name];
211
- }
212
- function matchesRule(rule, values) {
213
- return Object.entries(rule.when).every(([key, expected]) => {
214
- const actual = read(values, key);
215
- if (key.endsWith("Lt")) {
216
- const source = numberish(read(values, key.slice(0, -2)));
217
- return typeof expected === "number" && source != null && source < expected;
218
- }
219
- if (typeof expected === "boolean") return boolish(actual) === expected;
220
- if (typeof expected === "number") return numberish(actual) === expected;
221
- return normalizeKey(actual) === normalizeKey(expected);
222
- });
223
- }
224
- function buildEmailStatus({
225
- config,
226
- values
227
- }) {
228
- const rawStatus = read(values, "rawStatus");
229
- const rawScore = numberish(read(values, "rawScore"));
230
- const valid = boolish(read(values, "valid"));
231
- const catchAll = boolish(read(values, "catchAll"));
232
- const disposable = boolish(read(values, "disposable"));
233
- const abuse = boolish(read(values, "abuse"));
234
- const spamtrap = boolish(read(values, "spamtrap"));
235
- const suspect = boolish(read(values, "suspect"));
236
- const rawKey = normalizeKey(rawStatus);
237
- const mapped = _nullishCoalesce(_nullishCoalesce(_optionalChain([config, 'access', _2 => _2.rules, 'optionalAccess', _3 => _3.find, 'call', _4 => _4((rule) => matchesRule(rule, values))]), () => ( entryForStatus(rawKey, config.statusMap))), () => ( entryForStatus(valid == null ? null : String(valid), config.statusMap)));
238
- const status = _nullishCoalesce(_optionalChain([mapped, 'optionalAccess', _5 => _5.status]), () => ( (disposable ? "disposable" : abuse ? "abuse" : spamtrap ? "spamtrap" : catchAll ? "catch_all" : valid === true ? "valid" : valid === false ? "invalid" : "unknown")));
239
- const defaultVerdict = status === "valid" ? "send" : status === "valid_catch_all" ? "send_with_caution" : status === "catch_all" ? "verify_next" : status === "unknown" ? "hold" : "drop";
240
- const verdict = _nullishCoalesce(_optionalChain([mapped, 'optionalAccess', _6 => _6.verdict]), () => ( defaultVerdict));
241
- const verified = _nullishCoalesce(_optionalChain([mapped, 'optionalAccess', _7 => _7.verified]), () => ( (status === "valid" || status === "valid_catch_all" || verdict === "send")));
242
- const reasons = [
243
- _optionalChain([mapped, 'optionalAccess', _8 => _8.reason]),
244
- catchAll ? "catch_all_domain" : null,
245
- mxClass(read(values, "mxProvider"), read(values, "mxRecord")) === "security_gateway" ? "security_gateway_mx" : null,
246
- suspect ? "provider_marked_suspect" : null
247
- ].filter((reason) => typeof reason === "string");
248
- return {
249
- verdict,
250
- status,
251
- verified,
252
- confidence: rawScore,
253
- reasons,
254
- signals: {
255
- catch_all: catchAll,
256
- deliverability: deliverability(read(values, "deliverability")),
257
- mx_class: mxClass(read(values, "mxProvider"), read(values, "mxRecord")),
258
- mx_provider: stringish(read(values, "mxProvider")),
259
- mx_record: stringish(read(values, "mxRecord")),
260
- fraud_score: numberish(read(values, "fraudScore")),
261
- disposable,
262
- role_based: boolish(read(values, "roleBased")),
263
- free_email: boolish(read(values, "freeEmail")),
264
- abuse,
265
- spamtrap,
266
- suspect,
267
- valid
268
- },
269
- provider: {
270
- name: config.provider,
271
- raw_status: typeof rawStatus === "string" || typeof rawStatus === "boolean" || typeof rawStatus === "number" ? rawStatus : null,
272
- raw_score: rawScore
273
- }
274
- };
275
- }
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
284
-
285
-
286
- exports.EMAIL_STATUS_JSON_SCHEMA = EMAIL_STATUS_JSON_SCHEMA; exports.buildEmailStatus = buildEmailStatus; exports.JOB_CHANGE_STATUS_VALUES = JOB_CHANGE_STATUS_VALUES; exports.JOB_CHANGE_JSON_SCHEMA = JOB_CHANGE_JSON_SCHEMA; exports.PHONE_STATUS_VALUES = PHONE_STATUS_VALUES; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_EXTRACTOR_TARGETS = DEEPLINE_EXTRACTOR_TARGETS; exports.isDeeplineExtractorTarget = isDeeplineExtractorTarget;
@@ -1,286 +0,0 @@
1
- // ../plays/extractor-targets.ts
2
- var JOB_CHANGE_STATUS_VALUES = [
3
- "moved",
4
- "no_change",
5
- "left_company",
6
- "unknown",
7
- "profile_unavailable",
8
- "no_new_company"
9
- ];
10
- var JOB_CHANGE_JSON_SCHEMA = {
11
- type: "object",
12
- required: ["status", "date", "new_company", "new_title"],
13
- properties: {
14
- status: { type: "string", enum: JOB_CHANGE_STATUS_VALUES },
15
- date: { type: ["string", "null"] },
16
- new_company: { type: ["string", "null"] },
17
- new_title: { type: ["string", "null"] }
18
- }
19
- };
20
- var PHONE_STATUS_VALUES = ["valid", "invalid", "unknown"];
21
- var DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = {
22
- id: { identity: true, valueKind: "string" },
23
- name: { identity: true, valueKind: "string" },
24
- email: { identity: true, valueKind: "string" },
25
- personal_email: { identity: true, valueKind: "string" },
26
- phone: { identity: true, valueKind: "string" },
27
- linkedin: { identity: true, valueKind: "string" },
28
- linkedin_url: { identity: true, valueKind: "string" },
29
- domain: { identity: true, valueKind: "string" },
30
- website: { identity: true, valueKind: "string" },
31
- first_name: { identity: true, valueKind: "string" },
32
- last_name: { identity: true, valueKind: "string" },
33
- full_name: { identity: true, valueKind: "string" },
34
- company: { identity: true, valueKind: "string" },
35
- company_name: { identity: true, valueKind: "string" },
36
- organization_name: { identity: true, valueKind: "string" },
37
- company_domain: { identity: true, valueKind: "string" },
38
- company_website: { identity: true, valueKind: "string" },
39
- company_linkedin_url: { identity: true, valueKind: "string" },
40
- title: { identity: false, valueKind: "string" },
41
- industry: { identity: false, valueKind: "string" },
42
- status: { identity: false, valueKind: "string" },
43
- job_change: { identity: false, valueKind: "job_change" },
44
- job_change_status: {
45
- identity: false,
46
- valueKind: "job_change_status",
47
- enum: JOB_CHANGE_STATUS_VALUES
48
- },
49
- email_status: { identity: false, valueKind: "email_status" },
50
- phone_status: {
51
- identity: false,
52
- valueKind: "phone_status",
53
- enum: PHONE_STATUS_VALUES
54
- }
55
- };
56
- var DEEPLINE_EXTRACTOR_TARGETS = Object.keys(
57
- DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS
58
- );
59
- function isDeeplineExtractorTarget(value) {
60
- return value in DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS;
61
- }
62
-
63
- // ../plays/email-status.ts
64
- var nullable = (type) => ({ type: [type, "null"] });
65
- var oneOf = (values) => ({ type: "string", enum: values });
66
- var EMAIL_STATUS_JSON_SCHEMA = {
67
- type: "object",
68
- required: [
69
- "verdict",
70
- "status",
71
- "verified",
72
- "confidence",
73
- "reasons",
74
- "signals",
75
- "provider"
76
- ],
77
- properties: {
78
- verdict: oneOf([
79
- "send",
80
- "send_with_caution",
81
- "verify_next",
82
- "hold",
83
- "drop"
84
- ]),
85
- status: oneOf([
86
- "valid",
87
- "invalid",
88
- "catch_all",
89
- "valid_catch_all",
90
- "unknown",
91
- "do_not_mail",
92
- "spamtrap",
93
- "abuse",
94
- "disposable"
95
- ]),
96
- verified: { type: "boolean" },
97
- confidence: nullable("number"),
98
- reasons: { type: "array", items: { type: "string" } },
99
- signals: {
100
- type: "object",
101
- required: [
102
- "catch_all",
103
- "deliverability",
104
- "mx_class",
105
- "mx_provider",
106
- "mx_record",
107
- "fraud_score",
108
- "disposable",
109
- "role_based",
110
- "free_email",
111
- "abuse",
112
- "spamtrap",
113
- "suspect",
114
- "valid"
115
- ],
116
- properties: {
117
- catch_all: nullable("boolean"),
118
- deliverability: oneOf([
119
- "high",
120
- "medium",
121
- "low",
122
- "unknown"
123
- ]),
124
- mx_class: oneOf([
125
- "consumer_mailbox",
126
- "workspace_mailbox",
127
- "security_gateway",
128
- "on_prem",
129
- "unknown"
130
- ]),
131
- mx_provider: nullable("string"),
132
- mx_record: nullable("string"),
133
- fraud_score: nullable("number"),
134
- disposable: nullable("boolean"),
135
- role_based: nullable("boolean"),
136
- free_email: nullable("boolean"),
137
- abuse: nullable("boolean"),
138
- spamtrap: nullable("boolean"),
139
- suspect: nullable("boolean"),
140
- valid: nullable("boolean")
141
- }
142
- },
143
- provider: {
144
- type: "object",
145
- required: ["name", "raw_status", "raw_score"],
146
- properties: {
147
- name: { type: "string" },
148
- raw_status: { type: ["string", "boolean", "number", "null"] },
149
- raw_score: nullable("number")
150
- }
151
- }
152
- }
153
- };
154
- function normalizeKey(value) {
155
- if (value == null) return null;
156
- if (typeof value === "boolean") return String(value);
157
- const normalized = String(value).trim().toLowerCase().replace(/\s+/g, "_");
158
- return normalized || null;
159
- }
160
- function boolish(value) {
161
- if (typeof value === "boolean") return value;
162
- if (typeof value === "number")
163
- return value === 1 ? true : value === 0 ? false : null;
164
- if (typeof value !== "string") return null;
165
- const normalized = value.trim().toLowerCase();
166
- if (["true", "yes", "y", "1"].includes(normalized)) return true;
167
- if (["false", "no", "n", "0"].includes(normalized)) return false;
168
- return null;
169
- }
170
- function numberish(value) {
171
- if (typeof value === "number" && Number.isFinite(value)) return value;
172
- if (typeof value !== "string" || value.trim() === "") return null;
173
- const parsed = Number(value);
174
- return Number.isFinite(parsed) ? parsed : null;
175
- }
176
- function stringish(value) {
177
- return typeof value === "string" && value.trim() ? value.trim() : null;
178
- }
179
- function deliverability(value) {
180
- const normalized = normalizeKey(value);
181
- return normalized === "high" || normalized === "medium" || normalized === "low" ? normalized : "unknown";
182
- }
183
- function mxClass(mxProvider, mxRecord) {
184
- const haystack = `${stringish(mxProvider) ?? ""} ${stringish(mxRecord) ?? ""}`.toLowerCase();
185
- if (!haystack.trim()) return "unknown";
186
- if (/proofpoint|pphosted|mimecast|barracuda|ess\.barracudanetworks|ironport|cisco|iphmx|messagelabs|symantec/.test(
187
- haystack
188
- )) {
189
- return "security_gateway";
190
- }
191
- if (/aspmx\.l\.google|google|g-suite|google workspace/.test(haystack)) {
192
- return "workspace_mailbox";
193
- }
194
- if (/protection\.outlook|office365|microsoft|outlook|exchange online/.test(
195
- haystack
196
- )) {
197
- return "workspace_mailbox";
198
- }
199
- if (/gmail|yahoo|icloud|aol|hotmail/.test(haystack))
200
- return "consumer_mailbox";
201
- if (/postfix|exim|sendmail|zimbra|plesk|cpanel|mail\./.test(haystack))
202
- return "on_prem";
203
- return "unknown";
204
- }
205
- function entryForStatus(key, map) {
206
- if (!key) return null;
207
- return map?.[key] ?? null;
208
- }
209
- function read(values, name) {
210
- return values[name];
211
- }
212
- function matchesRule(rule, values) {
213
- return Object.entries(rule.when).every(([key, expected]) => {
214
- const actual = read(values, key);
215
- if (key.endsWith("Lt")) {
216
- const source = numberish(read(values, key.slice(0, -2)));
217
- return typeof expected === "number" && source != null && source < expected;
218
- }
219
- if (typeof expected === "boolean") return boolish(actual) === expected;
220
- if (typeof expected === "number") return numberish(actual) === expected;
221
- return normalizeKey(actual) === normalizeKey(expected);
222
- });
223
- }
224
- function buildEmailStatus({
225
- config,
226
- values
227
- }) {
228
- const rawStatus = read(values, "rawStatus");
229
- const rawScore = numberish(read(values, "rawScore"));
230
- const valid = boolish(read(values, "valid"));
231
- const catchAll = boolish(read(values, "catchAll"));
232
- const disposable = boolish(read(values, "disposable"));
233
- const abuse = boolish(read(values, "abuse"));
234
- const spamtrap = boolish(read(values, "spamtrap"));
235
- const suspect = boolish(read(values, "suspect"));
236
- const rawKey = normalizeKey(rawStatus);
237
- const mapped = config.rules?.find((rule) => matchesRule(rule, values)) ?? entryForStatus(rawKey, config.statusMap) ?? entryForStatus(valid == null ? null : String(valid), config.statusMap);
238
- const status = mapped?.status ?? (disposable ? "disposable" : abuse ? "abuse" : spamtrap ? "spamtrap" : catchAll ? "catch_all" : valid === true ? "valid" : valid === false ? "invalid" : "unknown");
239
- const defaultVerdict = status === "valid" ? "send" : status === "valid_catch_all" ? "send_with_caution" : status === "catch_all" ? "verify_next" : status === "unknown" ? "hold" : "drop";
240
- const verdict = mapped?.verdict ?? defaultVerdict;
241
- const verified = mapped?.verified ?? (status === "valid" || status === "valid_catch_all" || verdict === "send");
242
- const reasons = [
243
- mapped?.reason,
244
- catchAll ? "catch_all_domain" : null,
245
- mxClass(read(values, "mxProvider"), read(values, "mxRecord")) === "security_gateway" ? "security_gateway_mx" : null,
246
- suspect ? "provider_marked_suspect" : null
247
- ].filter((reason) => typeof reason === "string");
248
- return {
249
- verdict,
250
- status,
251
- verified,
252
- confidence: rawScore,
253
- reasons,
254
- signals: {
255
- catch_all: catchAll,
256
- deliverability: deliverability(read(values, "deliverability")),
257
- mx_class: mxClass(read(values, "mxProvider"), read(values, "mxRecord")),
258
- mx_provider: stringish(read(values, "mxProvider")),
259
- mx_record: stringish(read(values, "mxRecord")),
260
- fraud_score: numberish(read(values, "fraudScore")),
261
- disposable,
262
- role_based: boolish(read(values, "roleBased")),
263
- free_email: boolish(read(values, "freeEmail")),
264
- abuse,
265
- spamtrap,
266
- suspect,
267
- valid
268
- },
269
- provider: {
270
- name: config.provider,
271
- raw_status: typeof rawStatus === "string" || typeof rawStatus === "boolean" || typeof rawStatus === "number" ? rawStatus : null,
272
- raw_score: rawScore
273
- }
274
- };
275
- }
276
-
277
- export {
278
- EMAIL_STATUS_JSON_SCHEMA,
279
- buildEmailStatus,
280
- JOB_CHANGE_STATUS_VALUES,
281
- JOB_CHANGE_JSON_SCHEMA,
282
- PHONE_STATUS_VALUES,
283
- DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS,
284
- DEEPLINE_EXTRACTOR_TARGETS,
285
- isDeeplineExtractorTarget
286
- };
@@ -1,48 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
- var _chunkEM4TXCCIjs = require('./chunk-EM4TXCCI.js');
7
- require('./chunk-ULK7JGGI.js');
8
- require('./chunk-7SWNPNML.js');
9
- require('./chunk-OPJAJBD4.js');
10
-
11
-
12
- var _chunkXQCTG5OOjs = require('./chunk-XQCTG5OO.js');
13
- require('./chunk-5LEAXRHV.js');
14
- require('./chunk-IAYSWZDJ.js');
15
- require('./chunk-AID3OYVJ.js');
16
- require('./chunk-ZM2YPJQJ.js');
17
- require('./chunk-J33TSWO5.js');
18
- require('./chunk-HGFFYVXN.js');
19
- require('./chunk-JF3TLIMQ.js');
20
- require('./chunk-NA4T3B62.js');
21
- require('./chunk-BGTPIMSM.js');
22
- require('./chunk-E4CABWXL.js');
23
- require('./chunk-JKVRBCZL.js');
24
- require('./chunk-NMU3VR5U.js');
25
- require('./chunk-XDVT3GOM.js');
26
- require('./chunk-GEGW5HPZ.js');
27
- require('./chunk-LROWFPGN.js');
28
- require('./chunk-OMQ23IXL.js');
29
- require('./chunk-VFGVXXZP.js');
30
- require('./chunk-7LFIMWMW.js');
31
- require('./chunk-ZGQSFYD2.js');
32
- require('./chunk-HUB3CCM2.js');
33
- require('./chunk-3ACMRZRV.js');
34
- require('./chunk-Y4DPU4OM.js');
35
- require('./chunk-YT5EODJO.js');
36
- require('./chunk-ALJJRZNJ.js');
37
- require('./chunk-XNYIZMNQ.js');
38
- require('./chunk-DIAWYWT5.js');
39
- require('./chunk-7VZHXVOQ.js');
40
- require('./chunk-OG64RBAC.js');
41
- require('./chunk-COGTRVWW.js');
42
-
43
-
44
-
45
-
46
-
47
-
48
- exports.DEEPLINE_NAMESPACE = _chunkXQCTG5OOjs.DEEPLINE_NAMESPACE; exports.describeAnything = _chunkEM4TXCCIjs.describeAnything; exports.findNamed = _chunkEM4TXCCIjs.findNamed; exports.nothingNamed = _chunkEM4TXCCIjs.nothingNamed; exports.registerDescribeCommand = _chunkEM4TXCCIjs.registerDescribeCommand;
@@ -1,25 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
- var _chunkI6VHOU5Ojs = require('./chunk-I6VHOU5O.js');
9
- require('./chunk-3ACMRZRV.js');
10
- require('./chunk-Y4DPU4OM.js');
11
- require('./chunk-YT5EODJO.js');
12
- require('./chunk-ALJJRZNJ.js');
13
- require('./chunk-XNYIZMNQ.js');
14
- require('./chunk-DIAWYWT5.js');
15
- require('./chunk-7VZHXVOQ.js');
16
- require('./chunk-OG64RBAC.js');
17
- require('./chunk-COGTRVWW.js');
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
- exports.handleDeploymentGet = _chunkI6VHOU5Ojs.handleDeploymentGet; exports.handleDeploymentsList = _chunkI6VHOU5Ojs.handleDeploymentsList; exports.registerGitCommands = _chunkI6VHOU5Ojs.registerGitCommands; exports.renderDeployment = _chunkI6VHOU5Ojs.renderDeployment; exports.renderDeploymentMonitorLines = _chunkI6VHOU5Ojs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkI6VHOU5Ojs.renderDeploymentPlayLines;