@wirecat/hubspot-cli 0.5.0 → 0.7.0
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.
- package/CHANGELOG.md +50 -0
- package/README.md +73 -52
- package/contracts/wirecat.json +39 -13
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-JXICB6TB.js +40 -0
- package/dist/bundle/{all-profiles-PGFXLOKN.js → all-profiles-GVEX5MXB.js} +11 -11
- package/dist/bundle/{anthropic-LPOJ3TYF.js → anthropic-GK6VBQUD.js} +5 -5
- package/dist/bundle/{app-server-EYWGCSRY.js → app-server-JRROE463.js} +68 -68
- package/dist/bundle/{bun-ZJOOKIIW.js → bun-B7XTFPUF.js} +2 -2
- package/dist/bundle/{bun-sqlite-Y6KKH2OW.js → bun-sqlite-QSNZ2YP4.js} +6 -6
- package/dist/bundle/{chunk-DEUCWBBH.js → chunk-2FLLS5IL.js} +97 -24
- package/dist/bundle/{chunk-5ENY4POG.js → chunk-2HSYAKWO.js} +61 -61
- package/dist/bundle/{chunk-QLFD3MOL.js → chunk-2IRBXFIU.js} +2165 -839
- package/dist/bundle/{chunk-AIQT2GGK.js → chunk-2K5BAY32.js} +19 -19
- package/dist/bundle/{chunk-ZMHD76RE.js → chunk-2PCVKD27.js} +2 -2
- package/dist/bundle/{chunk-MENMD5Y5.js → chunk-2V5KOOJV.js} +8 -8
- package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-3WG4MTQI.js} +1 -1
- package/dist/bundle/{chunk-MPNMEWHA.js → chunk-4F62XXF6.js} +2081 -711
- package/dist/bundle/{chunk-OFOA6VJ2.js → chunk-4HZQ5UIY.js} +3 -3
- package/dist/bundle/{chunk-QIHJKE4K.js → chunk-4LHNA6LJ.js} +7 -7
- package/dist/bundle/{chunk-7Q64D56R.js → chunk-52NC5E42.js} +11 -11
- package/dist/bundle/{chunk-ZLWQPUPB.js → chunk-5AVU5SF6.js} +2 -2
- package/dist/bundle/{chunk-MKBQFD37.js → chunk-5EJ3C3JG.js} +1 -1
- package/dist/bundle/{chunk-AVBKXCEY.js → chunk-5ISQ4KJM.js} +8 -8
- package/dist/bundle/{chunk-CWCJEAHZ.js → chunk-5MFZYHPO.js} +3 -3
- package/dist/bundle/{chunk-5WADRBQG.js → chunk-63YWTFZF.js} +3 -3
- package/dist/bundle/{chunk-I334AT2H.js → chunk-6EHX762H.js} +7 -7
- package/dist/bundle/{chunk-6S422S22.js → chunk-6IHXKMY6.js} +7 -9
- package/dist/bundle/{chunk-QCHW7R7L.js → chunk-6WKK4UZP.js} +1 -1
- package/dist/bundle/{chunk-VIJV474N.js → chunk-745FMNI5.js} +1 -1
- package/dist/bundle/{chunk-6PWRJGX4.js → chunk-A7KGBXBT.js} +4 -4
- package/dist/bundle/{chunk-HPRGUUHY.js → chunk-ALOPYWYY.js} +1 -1
- package/dist/bundle/{chunk-PMGAU6AP.js → chunk-AP3CWDRK.js} +2 -2
- package/dist/bundle/{chunk-LXLXF2OE.js → chunk-B3JVNOTB.js} +3 -3
- package/dist/bundle/{chunk-QPTHEZZ5.js → chunk-BQPAIGAF.js} +2 -2
- package/dist/bundle/{chunk-DDMBPYHP.js → chunk-BRBBZDMZ.js} +2 -2
- package/dist/bundle/{chunk-POTS24SH.js → chunk-BXXU4EXK.js} +18 -18
- package/dist/bundle/{chunk-34HDRZIL.js → chunk-BY3NKT34.js} +12 -12
- package/dist/bundle/{chunk-3CHJYWA2.js → chunk-CBTWKTWN.js} +6 -6
- package/dist/bundle/{chunk-RZS7N3OZ.js → chunk-CEHBT7QX.js} +7 -7
- package/dist/bundle/{chunk-NLPGUYCG.js → chunk-DBHJIFDS.js} +37 -18
- package/dist/bundle/{chunk-DJUUQG6Y.js → chunk-DIHVN5IC.js} +8 -8
- package/dist/bundle/{chunk-4RZ4DUQT.js → chunk-DIKUPU3T.js} +3 -3
- package/dist/bundle/{chunk-WEM4FZPM.js → chunk-DMYLQX2O.js} +2 -2
- package/dist/bundle/{chunk-LWS5AO3H.js → chunk-DWWZAQ4N.js} +16 -16
- package/dist/bundle/{chunk-NEP67GLY.js → chunk-GD5JTKLS.js} +6 -6
- package/dist/bundle/{chunk-KC4ILAKO.js → chunk-GHBJBDTW.js} +1 -1
- package/dist/bundle/{chunk-KRTXJMCD.js → chunk-GYH2AXPO.js} +27 -177
- package/dist/bundle/{chunk-K3WCBNH4.js → chunk-GZD6BYO7.js} +6 -6
- package/dist/bundle/{chunk-KAW5VEER.js → chunk-H5HBZCEJ.js} +8 -8
- package/dist/bundle/{chunk-VCYUYFIV.js → chunk-HX2BE7DO.js} +1 -1
- package/dist/bundle/{chunk-KXWRVLSU.js → chunk-I5WHQH5K.js} +1 -1
- package/dist/bundle/{chunk-R7ZOCDNG.js → chunk-INT5JXGP.js} +1 -1
- package/dist/bundle/{chunk-YZ5MULJM.js → chunk-IRFFXKKK.js} +3 -3
- package/dist/bundle/{chunk-SBNZYRVZ.js → chunk-J5HHB27S.js} +4 -4
- package/dist/bundle/{chunk-V5VMAHDQ.js → chunk-JEUYZCWF.js} +6 -6
- package/dist/bundle/{chunk-BH5FEFZB.js → chunk-JQUS4KFV.js} +2 -2
- package/dist/bundle/{chunk-5HGS65I3.js → chunk-KGLMYQXM.js} +2 -2
- package/dist/bundle/{chunk-AHZQMSXW.js → chunk-L3DUZVBP.js} +8 -8
- package/dist/bundle/{chunk-RJBKDZGV.js → chunk-LGGBKAVQ.js} +8 -8
- package/dist/bundle/{chunk-ODRF47VS.js → chunk-LJ52BS6C.js} +8 -8
- package/dist/bundle/{chunk-7RIE3DAW.js → chunk-M3JDGRXM.js} +221 -163
- package/dist/bundle/{chunk-BCW7DAVV.js → chunk-MR2BNER3.js} +2 -2
- package/dist/bundle/{chunk-OCISQFMW.js → chunk-NUPAXK4Z.js} +1 -1
- package/dist/bundle/{chunk-MW4ROXQ6.js → chunk-OX37ZK27.js} +3 -3
- package/dist/bundle/{chunk-MFWECOO3.js → chunk-P7N3TZLH.js} +59 -59
- package/dist/bundle/{chunk-L6WSFVTD.js → chunk-QAQK2WXJ.js} +5 -5
- package/dist/bundle/{chunk-EPBHJMF6.js → chunk-QY7EOB66.js} +13 -13
- package/dist/bundle/{chunk-HBFSGL5E.js → chunk-RE55EPBX.js} +33 -28
- package/dist/bundle/{chunk-ABPZOI3C.js → chunk-SBORPDIQ.js} +4 -4
- package/dist/bundle/{chunk-YQBGPBYN.js → chunk-SFFV2F3Y.js} +2 -2
- package/dist/bundle/{chunk-WQZENAPE.js → chunk-SMEEFN65.js} +63 -4
- package/dist/bundle/{chunk-GZJP3KQQ.js → chunk-SVRCPPNI.js} +1 -1
- package/dist/bundle/{chunk-BW7NPFVC.js → chunk-SZZVNPTI.js} +7 -7
- package/dist/bundle/{chunk-HPSESLOZ.js → chunk-TCSVW7BA.js} +1 -1
- package/dist/bundle/{chunk-L4SVHQ7H.js → chunk-TXCINEH6.js} +7 -7
- package/dist/bundle/{chunk-BGUGTMTS.js → chunk-UMXA357W.js} +8 -8
- package/dist/bundle/{chunk-PPQRWFJZ.js → chunk-VJQLJQHT.js} +5 -5
- package/dist/bundle/{chunk-EGR3YUWD.js → chunk-WASBOYI2.js} +4 -4
- package/dist/bundle/{chunk-Z7FC6VVM.js → chunk-WSTF2MWW.js} +1 -1
- package/dist/bundle/{chunk-BVK4GUUI.js → chunk-WSUS3MUK.js} +1853 -1874
- package/dist/bundle/{chunk-A5UTNGI4.js → chunk-WWIYZN67.js} +13 -13
- package/dist/bundle/{chunk-STTHRJBX.js → chunk-XL3NAXZY.js} +5 -5
- package/dist/bundle/{chunk-23CLSKY7.js → chunk-XWYYFAML.js} +3 -3
- package/dist/bundle/{chunk-MPQ4SPZG.js → chunk-XZLOQNS7.js} +74 -31
- package/dist/bundle/{chunk-MGMLSPIY.js → chunk-YDTFPDAJ.js} +1 -1
- package/dist/bundle/{chunk-ZKPM53YG.js → chunk-YFHCKAGU.js} +4 -4
- package/dist/bundle/{chunk-WDR77HPO.js → chunk-YGZ37OEN.js} +8 -1
- package/dist/bundle/{chunk-YJLJZMEA.js → chunk-YOVIH4QI.js} +33 -30
- package/dist/bundle/{chunk-NEDV6RCQ.js → chunk-YVMLFHWS.js} +3 -3
- package/dist/bundle/{chunk-K5S7MKBB.js → chunk-ZH76HQDA.js} +17 -17
- package/dist/bundle/{chunk-WXEN6AXQ.js → chunk-ZNNGK73C.js} +3 -3
- package/dist/bundle/{chunk-NKIKMG33.js → chunk-ZNRZJIRM.js} +35 -35
- package/dist/bundle/{chunk-5UPNDUAA.js → chunk-ZS6T2PYQ.js} +2 -2
- package/dist/bundle/command-contract-7EWUA6E6.js +40 -0
- package/dist/bundle/{command-server-entry-B7S5AUE6.js → command-server-entry-BFXXPNJO.js} +28 -28
- package/dist/bundle/{decode-7L33C5UJ.js → decode-5M7R44BR.js} +5 -5
- package/dist/bundle/{dispatch-BIGHHSXV.js → dispatch-B2EP6DDT.js} +8 -8
- package/dist/bundle/{echarts-CWR3QH55.js → echarts-7MBFY6SZ.js} +2 -2
- package/dist/bundle/{embed-GXQ3HOQ6.js → embed-Y4GYNHRX.js} +6 -6
- package/dist/bundle/{embedder-47OYXGLS.js → embedder-FI4T4LQB.js} +9 -9
- package/dist/bundle/{failure-VMZOU5GZ.js → failure-AOACEURF.js} +2 -2
- package/dist/bundle/{first-run-YVQQOUQG.js → first-run-YY66AKKG.js} +12 -12
- package/dist/bundle/first-screen-U7Z63VXE.js +40 -0
- package/dist/bundle/hubspot.js +27 -27
- package/dist/bundle/{instructions-QFS2MPK3.js → instructions-SM7TKV6L.js} +1 -1
- package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-ZNULRPZ4.js} +2 -2
- package/dist/bundle/meeting-combined-B444C4NF.js +25 -0
- package/dist/bundle/{meeting-model-GLF2HVJG.js → meeting-model-DKLMBQXX.js} +11 -11
- package/dist/bundle/{meeting-semantic-RG56F4YX.js → meeting-semantic-C5T6UDVB.js} +6 -6
- package/dist/bundle/{node-3TSWTXGI.js → node-OS6OQF3F.js} +2 -2
- package/dist/bundle/{node-sqlite-UPQCG7DJ.js → node-sqlite-2XTWZ4HL.js} +7 -7
- package/dist/bundle/{oauth-MCVEENW3.js → oauth-BSSJ66FC.js} +7 -7
- package/dist/bundle/{open-JMUTKUYJ.js → open-UZ3TKWDY.js} +5 -5
- package/dist/bundle/{openai-HT7YDOK7.js → openai-POVKFBTC.js} +15 -15
- package/dist/bundle/{process-7RC6DAGM.js → process-A7ZJGQ6G.js} +1 -1
- package/dist/bundle/{program-3DLBMOEJ.js → program-Q3JFUVC6.js} +582 -337
- package/dist/bundle/{prompt-7EROPXPF.js → prompt-TYOYTRJM.js} +5 -5
- package/dist/bundle/{recognize-B232GXD2.js → recognize-GGFRONZT.js} +4 -4
- package/dist/bundle/{remote-HGV64VRC.js → remote-K4SLWHMI.js} +9 -9
- package/dist/bundle/{rerank-5S6TDXHD.js → rerank-2QTKDUBV.js} +7 -7
- package/dist/bundle/{schemas-SB42IXEX.js → schemas-EXBNVPMI.js} +1 -1
- package/dist/bundle/{serve-D2WFCV6Z.js → serve-FG2G2X6Y.js} +9 -9
- package/dist/bundle/{server-4AXPTJPV.js → server-KRDHBT5Q.js} +60 -60
- package/dist/bundle/server-VFKK6OS4.js +86 -0
- package/dist/bundle/source-XP2JNUVU.js +426 -0
- package/dist/bundle/{sqlite-runtime-DAFMZNLI.js → sqlite-runtime-TWV7KFLA.js} +6 -6
- package/dist/bundle/{state-7OEBDXVV.js → state-EFX5ZQED.js} +6 -6
- package/dist/bundle/store-LON2XRIS.js +34 -0
- package/dist/bundle/{store-2ZWSWF76.js → store-MNQ6YQIS.js} +28 -24
- package/dist/bundle/{store-KC6US326.js → store-QPVH5VPJ.js} +22 -22
- package/dist/bundle/store-maintenance-command-YEMPRNJX.js +73 -0
- package/dist/bundle/surface-UJRMT6QT.js +72 -0
- package/dist/bundle/writer-NOSHE7ZI.js +86 -0
- package/dist/commands/account.d.ts +3 -2
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +31 -78
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +2 -0
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/commands/session.d.ts +0 -3
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +4 -31
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -10
- package/dist/config.js.map +1 -1
- package/dist/crm/activities.d.ts +6 -1
- package/dist/crm/activities.d.ts.map +1 -1
- package/dist/crm/activities.js +36 -0
- package/dist/crm/activities.js.map +1 -1
- package/dist/crm/records.d.ts.map +1 -1
- package/dist/crm/records.js +3 -0
- package/dist/crm/records.js.map +1 -1
- package/dist/crm/writer.d.ts +1 -1
- package/dist/crm/writer.d.ts.map +1 -1
- package/dist/crm/writer.js +69 -1
- package/dist/crm/writer.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +0 -2
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -2
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/hubspot-cli/SKILL.md +17 -5
- package/skills/hubspot-cli/references/api/api-basic.md +2 -2
- package/skills/hubspot-cli/references/api/api-batch.md +2 -2
- package/dist/bundle/agent-RBQMA24N.js +0 -40
- package/dist/bundle/command-contract-O2UKYHLD.js +0 -40
- package/dist/bundle/first-screen-TU3KE2B5.js +0 -40
- package/dist/bundle/meeting-combined-WBEOLQMP.js +0 -25
- package/dist/bundle/server-FFHVNABP.js +0 -86
- package/dist/bundle/source-DF63EC2B.js +0 -945
- package/dist/bundle/store-Q3ZKD4FJ.js +0 -34
- package/dist/bundle/store-maintenance-command-24A4GBRP.js +0 -73
- package/dist/bundle/surface-SPTM57EP.js +0 -72
- package/dist/bundle/writer-EQQ55HOS.js +0 -86
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
accountDetails
|
|
5
|
+
} from "./chunk-KGLMYQXM.js";
|
|
6
|
+
import {
|
|
7
|
+
OBJECTS,
|
|
8
|
+
OVERLAP_MS,
|
|
9
|
+
SEARCH_PAGE,
|
|
10
|
+
SERVICE,
|
|
11
|
+
associationsOf,
|
|
12
|
+
modifiedSince,
|
|
13
|
+
nextOf,
|
|
14
|
+
nextSpot,
|
|
15
|
+
propertiesOf,
|
|
16
|
+
readActivities,
|
|
17
|
+
resultsOf,
|
|
18
|
+
search,
|
|
19
|
+
segment,
|
|
20
|
+
toDeal,
|
|
21
|
+
toField,
|
|
22
|
+
toLead,
|
|
23
|
+
toOrganization,
|
|
24
|
+
toPerson,
|
|
25
|
+
toPipeline,
|
|
26
|
+
toUser,
|
|
27
|
+
withAssociations
|
|
28
|
+
} from "./chunk-WSUS3MUK.js";
|
|
29
|
+
import "./chunk-ALOPYWYY.js";
|
|
30
|
+
import "./chunk-SVRCPPNI.js";
|
|
31
|
+
import "./chunk-RE55EPBX.js";
|
|
32
|
+
import "./chunk-GD5JTKLS.js";
|
|
33
|
+
import "./chunk-5ISQ4KJM.js";
|
|
34
|
+
import "./chunk-YDTFPDAJ.js";
|
|
35
|
+
import "./chunk-P7N3TZLH.js";
|
|
36
|
+
import "./chunk-GYH2AXPO.js";
|
|
37
|
+
import "./chunk-2V5KOOJV.js";
|
|
38
|
+
import "./chunk-TXCINEH6.js";
|
|
39
|
+
import "./chunk-BY3NKT34.js";
|
|
40
|
+
import "./chunk-JQUS4KFV.js";
|
|
41
|
+
import "./chunk-SBORPDIQ.js";
|
|
42
|
+
import "./chunk-VJQLJQHT.js";
|
|
43
|
+
import "./chunk-LJ52BS6C.js";
|
|
44
|
+
import {
|
|
45
|
+
crmWindowOf,
|
|
46
|
+
values_exports,
|
|
47
|
+
walk
|
|
48
|
+
} from "./chunk-4F62XXF6.js";
|
|
49
|
+
import "./chunk-WWIYZN67.js";
|
|
50
|
+
import "./chunk-HX2BE7DO.js";
|
|
51
|
+
import "./chunk-YGZ37OEN.js";
|
|
52
|
+
import "./chunk-DIKUPU3T.js";
|
|
53
|
+
import "./chunk-3WG4MTQI.js";
|
|
54
|
+
import "./chunk-QY7EOB66.js";
|
|
55
|
+
import "./chunk-XWYYFAML.js";
|
|
56
|
+
import "./chunk-JEUYZCWF.js";
|
|
57
|
+
import "./chunk-52NC5E42.js";
|
|
58
|
+
import "./chunk-B3JVNOTB.js";
|
|
59
|
+
import "./chunk-J5HHB27S.js";
|
|
60
|
+
import "./chunk-ZNNGK73C.js";
|
|
61
|
+
import "./chunk-XL3NAXZY.js";
|
|
62
|
+
import "./chunk-M3JDGRXM.js";
|
|
63
|
+
import "./chunk-LGGBKAVQ.js";
|
|
64
|
+
import "./chunk-4HZQ5UIY.js";
|
|
65
|
+
import "./chunk-QAQK2WXJ.js";
|
|
66
|
+
import "./chunk-INT5JXGP.js";
|
|
67
|
+
import "./chunk-ZH76HQDA.js";
|
|
68
|
+
import "./chunk-IRFFXKKK.js";
|
|
69
|
+
import "./chunk-2IRBXFIU.js";
|
|
70
|
+
import "./chunk-UMXA357W.js";
|
|
71
|
+
import "./chunk-5MFZYHPO.js";
|
|
72
|
+
import "./chunk-6EHX762H.js";
|
|
73
|
+
import "./chunk-YOVIH4QI.js";
|
|
74
|
+
import "./chunk-BRBBZDMZ.js";
|
|
75
|
+
import "./chunk-L3DUZVBP.js";
|
|
76
|
+
import "./chunk-4LHNA6LJ.js";
|
|
77
|
+
import "./chunk-GZD6BYO7.js";
|
|
78
|
+
import "./chunk-A7KGBXBT.js";
|
|
79
|
+
import "./chunk-6IHXKMY6.js";
|
|
80
|
+
import "./chunk-MR2BNER3.js";
|
|
81
|
+
import "./chunk-EH6ZEJGT.js";
|
|
82
|
+
import "./chunk-2FLLS5IL.js";
|
|
83
|
+
import "./chunk-DIHVN5IC.js";
|
|
84
|
+
import "./chunk-745FMNI5.js";
|
|
85
|
+
import "./chunk-SZZVNPTI.js";
|
|
86
|
+
import "./chunk-BXXU4EXK.js";
|
|
87
|
+
import "./chunk-YVMLFHWS.js";
|
|
88
|
+
import "./chunk-I5WHQH5K.js";
|
|
89
|
+
import "./chunk-DBHJIFDS.js";
|
|
90
|
+
import "./chunk-GHBJBDTW.js";
|
|
91
|
+
import "./chunk-2PCVKD27.js";
|
|
92
|
+
import "./chunk-2HSYAKWO.js";
|
|
93
|
+
import "./chunk-TCSVW7BA.js";
|
|
94
|
+
import "./chunk-CEHBT7QX.js";
|
|
95
|
+
import "./chunk-D72URWJE.js";
|
|
96
|
+
import "./chunk-OX37ZK27.js";
|
|
97
|
+
import "./chunk-ZS6T2PYQ.js";
|
|
98
|
+
import "./chunk-DMYLQX2O.js";
|
|
99
|
+
import "./chunk-CBTWKTWN.js";
|
|
100
|
+
import "./chunk-WSTF2MWW.js";
|
|
101
|
+
import "./chunk-2K5BAY32.js";
|
|
102
|
+
import "./chunk-H5HBZCEJ.js";
|
|
103
|
+
import "./chunk-S4UUN6LD.js";
|
|
104
|
+
import "./chunk-Y5E2WNWB.js";
|
|
105
|
+
import {
|
|
106
|
+
CliError,
|
|
107
|
+
isCliError
|
|
108
|
+
} from "./chunk-AP3CWDRK.js";
|
|
109
|
+
import "./chunk-6WKK4UZP.js";
|
|
110
|
+
import {
|
|
111
|
+
__name
|
|
112
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
113
|
+
|
|
114
|
+
// dist/crm/source.js
|
|
115
|
+
var { id, text } = values_exports;
|
|
116
|
+
var LIST_PAGE = 100;
|
|
117
|
+
var PIPELINES = { deal: "deals", lead: "leads" };
|
|
118
|
+
var scoped = /* @__PURE__ */ __name((error, scope) => isCliError(error) && error.code === "permission_error" && typeof error.details.scope !== "string" ? new CliError(error.code, error.message, { ...error.details, scope }) : error, "scoped");
|
|
119
|
+
var refused = /* @__PURE__ */ __name((error) => isCliError(error) && error.code === "permission_error", "refused");
|
|
120
|
+
var unseen = /* @__PURE__ */ __name((error) => isCliError(error) && (error.code === "not_found" || refused(error)), "unseen");
|
|
121
|
+
var pageOf = /* @__PURE__ */ __name((page, now) => {
|
|
122
|
+
const cut = (page ?? "").lastIndexOf("@");
|
|
123
|
+
const head = page?.slice(0, cut) ?? "";
|
|
124
|
+
const started = Number(page?.slice(cut + 1));
|
|
125
|
+
if (cut < 0 || !Number.isSafeInteger(started))
|
|
126
|
+
return { after: void 0, spot: void 0, started: now };
|
|
127
|
+
if (head.startsWith("l"))
|
|
128
|
+
return { after: head.slice(1) || void 0, spot: void 0, started };
|
|
129
|
+
const found = /^s(-?\d+)\.(\d+)$/.exec(head);
|
|
130
|
+
if (!found)
|
|
131
|
+
return { after: void 0, spot: void 0, started: now };
|
|
132
|
+
return { after: void 0, spot: { from: Number(found[1]), offset: Number(found[2]) }, started };
|
|
133
|
+
}, "pageOf");
|
|
134
|
+
var asked = /* @__PURE__ */ __name((raw, types) => {
|
|
135
|
+
const held = typeof raw.associations === "object" && raw.associations !== null ? raw.associations : {};
|
|
136
|
+
return {
|
|
137
|
+
...raw,
|
|
138
|
+
associations: { ...Object.fromEntries(types.map((type) => [type, { results: [] }])), ...held }
|
|
139
|
+
};
|
|
140
|
+
}, "asked");
|
|
141
|
+
var liveField = /* @__PURE__ */ __name((kind, field) => ({
|
|
142
|
+
assigned_to: "hubspot_owner_id",
|
|
143
|
+
created_at: OBJECTS[kind].created,
|
|
144
|
+
updated_at: OBJECTS[kind].modified,
|
|
145
|
+
// A company's own `type` property (Prospect, Partner…), as b24 maps `type` to its company type.
|
|
146
|
+
...kind === "organization" ? { type: "type" } : {}
|
|
147
|
+
})[field], "liveField");
|
|
148
|
+
var MAX_PROPERTIES_CHARS = 6e3;
|
|
149
|
+
var fitted = /* @__PURE__ */ __name((own, custom) => {
|
|
150
|
+
const kept = [...own];
|
|
151
|
+
let length = kept.join(",").length;
|
|
152
|
+
const dropped = [];
|
|
153
|
+
for (const name of custom) {
|
|
154
|
+
if (kept.includes(name))
|
|
155
|
+
continue;
|
|
156
|
+
if (length + name.length + 1 > MAX_PROPERTIES_CHARS)
|
|
157
|
+
dropped.push(name);
|
|
158
|
+
else {
|
|
159
|
+
kept.push(name);
|
|
160
|
+
length += name.length + 1;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
return { properties: kept.join(","), dropped };
|
|
164
|
+
}, "fitted");
|
|
165
|
+
var OPERATORS = {
|
|
166
|
+
"=": "EQ",
|
|
167
|
+
"!=": "NEQ",
|
|
168
|
+
">": "GT",
|
|
169
|
+
">=": "GTE",
|
|
170
|
+
"<": "LT",
|
|
171
|
+
"<=": "LTE",
|
|
172
|
+
in: "IN"
|
|
173
|
+
};
|
|
174
|
+
var filtersOf = /* @__PURE__ */ __name((kind, conditions, defined) => conditions.map(({ field, op, value }) => {
|
|
175
|
+
const propertyName = liveField(kind, field) ?? defined.find((one) => one.code === field)?.code;
|
|
176
|
+
if (!propertyName)
|
|
177
|
+
throw new CliError("validation_error", `${SERVICE} cannot filter ${OBJECTS[kind].name} by ${field}`, {
|
|
178
|
+
reason: "query.unsupported-field"
|
|
179
|
+
});
|
|
180
|
+
if (Array.isArray(value))
|
|
181
|
+
return { propertyName, operator: op === "!=" ? "NOT_IN" : "IN", values: value.map(String) };
|
|
182
|
+
return { propertyName, operator: OPERATORS[op], value: String(value) };
|
|
183
|
+
}), "filtersOf");
|
|
184
|
+
var hubspotCrmSource = /* @__PURE__ */ __name((hub, options = {}) => {
|
|
185
|
+
const now = options.now ?? Date.now;
|
|
186
|
+
const listPage = options.page ?? LIST_PAGE;
|
|
187
|
+
const searchPage = options.searchPage ?? SEARCH_PAGE;
|
|
188
|
+
const metered = /* @__PURE__ */ __name((context) => {
|
|
189
|
+
let paid = false;
|
|
190
|
+
const pay = /* @__PURE__ */ __name(() => {
|
|
191
|
+
if (paid)
|
|
192
|
+
context?.spend();
|
|
193
|
+
paid = true;
|
|
194
|
+
}, "pay");
|
|
195
|
+
return {
|
|
196
|
+
get: /* @__PURE__ */ __name((path, query) => {
|
|
197
|
+
pay();
|
|
198
|
+
return hub().get(path, query);
|
|
199
|
+
}, "get"),
|
|
200
|
+
post: /* @__PURE__ */ __name((path, body) => {
|
|
201
|
+
pay();
|
|
202
|
+
return hub().post(path, body);
|
|
203
|
+
}, "post")
|
|
204
|
+
};
|
|
205
|
+
}, "metered");
|
|
206
|
+
const loaded = /* @__PURE__ */ new Map();
|
|
207
|
+
const fields = /* @__PURE__ */ __name((kind, caller) => {
|
|
208
|
+
let found = loaded.get(kind);
|
|
209
|
+
if (!found) {
|
|
210
|
+
found = caller.get(`/crm/properties/2026-03/${OBJECTS[kind].name}`).then((body) => resultsOf(body).flatMap((raw) => toField(raw) ?? [])).catch((error) => {
|
|
211
|
+
if (refused(error))
|
|
212
|
+
return [];
|
|
213
|
+
loaded.delete(kind);
|
|
214
|
+
throw error;
|
|
215
|
+
});
|
|
216
|
+
loaded.set(kind, found);
|
|
217
|
+
}
|
|
218
|
+
return found;
|
|
219
|
+
}, "fields");
|
|
220
|
+
let currency;
|
|
221
|
+
const currencyOf = /* @__PURE__ */ __name((caller) => {
|
|
222
|
+
currency ??= accountDetails(caller).then((details) => details.companyCurrency ?? null, (error) => {
|
|
223
|
+
currency = void 0;
|
|
224
|
+
throw error;
|
|
225
|
+
});
|
|
226
|
+
return currency;
|
|
227
|
+
}, "currencyOf");
|
|
228
|
+
const mapped = /* @__PURE__ */ __name(async (kind, rows, defined, caller) => {
|
|
229
|
+
if (kind === "deal") {
|
|
230
|
+
const bare = rows.some((raw) => {
|
|
231
|
+
const properties = propertiesOf(raw);
|
|
232
|
+
return text(properties.amount) !== null && text(properties.deal_currency_code) === null;
|
|
233
|
+
});
|
|
234
|
+
const fallback = bare ? await currencyOf(caller) : null;
|
|
235
|
+
return rows.map((raw) => toDeal(raw, defined, fallback));
|
|
236
|
+
}
|
|
237
|
+
const map = { lead: toLead, person: toPerson, organization: toOrganization }[kind];
|
|
238
|
+
return rows.map((raw) => map(raw, defined));
|
|
239
|
+
}, "mapped");
|
|
240
|
+
const synced = /* @__PURE__ */ __name((kind, caller) => kind === "person" ? Promise.resolve([]) : fields(kind, caller), "synced");
|
|
241
|
+
const propertiesFor = /* @__PURE__ */ __name((type, defined) => [
|
|
242
|
+
.../* @__PURE__ */ new Set([...type.properties, ...defined.map(({ code }) => code)])
|
|
243
|
+
], "propertiesFor");
|
|
244
|
+
const associate = /* @__PURE__ */ __name(async (type, rows, caller, types) => {
|
|
245
|
+
let linked = rows;
|
|
246
|
+
const ids = rows.flatMap((raw) => id(raw.id) ?? []);
|
|
247
|
+
for (const to of types)
|
|
248
|
+
linked = withAssociations(linked, to, await associationsOf(caller.post, type.name, to, ids));
|
|
249
|
+
return linked;
|
|
250
|
+
}, "associate");
|
|
251
|
+
const everyLink = /* @__PURE__ */ __name((type) => [...type.associations, ...type.linked], "everyLink");
|
|
252
|
+
const getProperties = /* @__PURE__ */ __name((kind, defined, context) => {
|
|
253
|
+
const { properties, dropped } = fitted(OBJECTS[kind].properties, defined.map(({ code }) => code));
|
|
254
|
+
if (dropped.length)
|
|
255
|
+
context?.gap({
|
|
256
|
+
kind,
|
|
257
|
+
message: `${dropped.length} of the account's own ${OBJECTS[kind].name} properties do not fit one request and were not read`
|
|
258
|
+
});
|
|
259
|
+
return properties;
|
|
260
|
+
}, "getProperties");
|
|
261
|
+
const readChanges = /* @__PURE__ */ __name(async (kind, cursor, page, caller, context) => {
|
|
262
|
+
const type = OBJECTS[kind];
|
|
263
|
+
const since = cursor === null ? null : Date.parse(cursor);
|
|
264
|
+
if (since !== null && Number.isNaN(since))
|
|
265
|
+
return { reset: true };
|
|
266
|
+
const { after, spot: saved, started } = pageOf(page, now());
|
|
267
|
+
const defined = await synced(kind, caller);
|
|
268
|
+
const properties = propertiesFor(type, defined);
|
|
269
|
+
const ended = { hasMore: false, cursor: new Date(started).toISOString() };
|
|
270
|
+
if (since === null) {
|
|
271
|
+
const query = {
|
|
272
|
+
limit: listPage,
|
|
273
|
+
properties: getProperties(kind, defined, context),
|
|
274
|
+
archived: false,
|
|
275
|
+
...type.associations.length ? { associations: type.associations.join(",") } : {},
|
|
276
|
+
...after ? { after } : {}
|
|
277
|
+
};
|
|
278
|
+
const body = await caller.get(`/crm/objects/2026-03/${type.path}`, query);
|
|
279
|
+
const rows2 = await associate(type, resultsOf(body).map((raw) => asked(raw, type.associations)), caller, type.linked);
|
|
280
|
+
const items2 = await mapped(kind, rows2, defined, caller);
|
|
281
|
+
const next2 = nextOf(body);
|
|
282
|
+
return next2 ? { items: items2, hasMore: true, nextCursor: `l${next2}@${started}` } : { items: items2, ...ended };
|
|
283
|
+
}
|
|
284
|
+
const spot = saved ?? { from: since - OVERLAP_MS, offset: 0 };
|
|
285
|
+
const { rows, more } = await search(caller.post, type.path, modifiedSince(type.modified, spot, searchPage, properties));
|
|
286
|
+
const items = await mapped(kind, await associate(type, rows, caller, everyLink(type)), defined, caller);
|
|
287
|
+
if (!more)
|
|
288
|
+
return { items, ...ended };
|
|
289
|
+
const next = nextSpot(spot, rows, type.modified, searchPage);
|
|
290
|
+
if (next === null)
|
|
291
|
+
return { reset: true };
|
|
292
|
+
return { items, hasMore: true, nextCursor: `s${next.from}.${next.offset}@${started}` };
|
|
293
|
+
}, "readChanges");
|
|
294
|
+
const known = /* @__PURE__ */ __name(async (kind, caller) => fields(kind, caller), "known");
|
|
295
|
+
return {
|
|
296
|
+
provider: "hubspot",
|
|
297
|
+
traits: { kinds: ["organization", "person", "deal", "lead"], removedInChanges: false },
|
|
298
|
+
async pipelines(kind, context) {
|
|
299
|
+
try {
|
|
300
|
+
const body = await metered(context).get(`/crm/pipelines/2026-03/${PIPELINES[kind]}`);
|
|
301
|
+
return resultsOf(body).flatMap((raw) => {
|
|
302
|
+
const pipeline = toPipeline(raw, kind, (stage) => context?.gap({
|
|
303
|
+
kind,
|
|
304
|
+
message: `closed lead stage ${stage}: HubSpot gives no outcome; counted as lost`
|
|
305
|
+
}));
|
|
306
|
+
return pipeline ? [pipeline] : [];
|
|
307
|
+
});
|
|
308
|
+
} catch (error) {
|
|
309
|
+
if (kind === "lead" && refused(error)) {
|
|
310
|
+
context?.gap({ kind: "lead", scope: OBJECTS.lead.scope, message: leadsRefused });
|
|
311
|
+
return [];
|
|
312
|
+
}
|
|
313
|
+
throw scoped(error, OBJECTS[kind].scope);
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
async changes(kind, cursor, page, context) {
|
|
317
|
+
try {
|
|
318
|
+
return await readChanges(kind, cursor, page, metered(context), context);
|
|
319
|
+
} catch (error) {
|
|
320
|
+
if (kind === "lead" && refused(error)) {
|
|
321
|
+
context?.gap({ kind: "lead", scope: OBJECTS.lead.scope, message: leadsRefused });
|
|
322
|
+
return { items: [], hasMore: false, cursor: null };
|
|
323
|
+
}
|
|
324
|
+
throw scoped(error, OBJECTS[kind].scope);
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
// Any other refusal fails the pass rather than answer no ids, which would mark every stored row deleted
|
|
328
|
+
// (WC-DATA-7). Leads are the exception: an account without Sales Hub Pro never has any, and core holds back a pass
|
|
329
|
+
// that would delete most of a kind until --rescan.
|
|
330
|
+
async ids(kind, page, context) {
|
|
331
|
+
const type = OBJECTS[kind];
|
|
332
|
+
try {
|
|
333
|
+
const body = await metered(context).get(`/crm/objects/2026-03/${type.path}`, {
|
|
334
|
+
limit: listPage,
|
|
335
|
+
properties: "hs_object_id",
|
|
336
|
+
archived: false,
|
|
337
|
+
...page ? { after: page } : {}
|
|
338
|
+
});
|
|
339
|
+
const items = resultsOf(body).flatMap((raw) => id(raw.id) ?? []);
|
|
340
|
+
const next = nextOf(body);
|
|
341
|
+
return next ? { items, hasMore: true, nextCursor: next } : { items, hasMore: false };
|
|
342
|
+
} catch (error) {
|
|
343
|
+
if (kind === "lead" && refused(error)) {
|
|
344
|
+
context?.gap({ kind: "lead", scope: type.scope, message: leadsRefused });
|
|
345
|
+
return { items: [], hasMore: false };
|
|
346
|
+
}
|
|
347
|
+
throw scoped(error, type.scope);
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
async fields(kind, context) {
|
|
351
|
+
return fields(kind, metered(context));
|
|
352
|
+
},
|
|
353
|
+
// Active owners, then the deactivated ones, which `archived=true` lists alone (owners guide).
|
|
354
|
+
async users(context) {
|
|
355
|
+
const caller = metered(context);
|
|
356
|
+
const users = [];
|
|
357
|
+
for (const archived of [false, true]) {
|
|
358
|
+
let after = null;
|
|
359
|
+
do {
|
|
360
|
+
const body = await caller.get("/crm/owners/2026-03", { limit: LIST_PAGE, archived, ...after ? { after } : {} }).catch((error) => {
|
|
361
|
+
throw scoped(error, "crm.objects.owners.read");
|
|
362
|
+
});
|
|
363
|
+
for (const raw of resultsOf(body)) {
|
|
364
|
+
const user = toUser(raw);
|
|
365
|
+
if (user)
|
|
366
|
+
users.push(user);
|
|
367
|
+
}
|
|
368
|
+
after = nextOf(body);
|
|
369
|
+
} while (after);
|
|
370
|
+
}
|
|
371
|
+
return [...new Map(users.map((user) => [user.externalId, user])).values()];
|
|
372
|
+
},
|
|
373
|
+
async list(kind, query, context) {
|
|
374
|
+
const caller = metered(context);
|
|
375
|
+
const type = OBJECTS[kind];
|
|
376
|
+
const defined = await known(kind, caller);
|
|
377
|
+
const filters = filtersOf(kind, query.conditions, defined);
|
|
378
|
+
const properties = propertiesFor(type, defined);
|
|
379
|
+
const page = await walk(crmWindowOf(query), SEARCH_PAGE, async (offset, limit) => {
|
|
380
|
+
const { rows, more } = await search(caller.post, type.path, {
|
|
381
|
+
filters,
|
|
382
|
+
sort: { propertyName: type.created, direction: "DESCENDING" },
|
|
383
|
+
properties,
|
|
384
|
+
limit,
|
|
385
|
+
offset,
|
|
386
|
+
...query.text ? { query: query.text } : {}
|
|
387
|
+
});
|
|
388
|
+
return { rows: await associate(type, rows, caller, everyLink(type)), more };
|
|
389
|
+
});
|
|
390
|
+
return { items: await mapped(kind, page.items, defined, caller), hasMore: page.hasMore };
|
|
391
|
+
},
|
|
392
|
+
get: /* @__PURE__ */ __name((kind, externalId, context) => record(kind, externalId, context), "get"),
|
|
393
|
+
record,
|
|
394
|
+
activities: /* @__PURE__ */ __name((since, page, context) => readActivities(metered(context), since, page, context, now, { search: searchPage, list: listPage }), "activities")
|
|
395
|
+
};
|
|
396
|
+
async function record(kind, externalId, context) {
|
|
397
|
+
if (!/^\d{1,20}$/.test(externalId))
|
|
398
|
+
return null;
|
|
399
|
+
const caller = metered(context);
|
|
400
|
+
const type = OBJECTS[kind];
|
|
401
|
+
const defined = await fields(kind, caller);
|
|
402
|
+
let body;
|
|
403
|
+
try {
|
|
404
|
+
body = await caller.get(`/crm/objects/2026-03/${type.path}/${segment(externalId)}`, {
|
|
405
|
+
properties: getProperties(kind, defined, context),
|
|
406
|
+
...type.associations.length ? { associations: type.associations.join(",") } : {}
|
|
407
|
+
});
|
|
408
|
+
} catch (error) {
|
|
409
|
+
if (unseen(error))
|
|
410
|
+
return null;
|
|
411
|
+
throw error;
|
|
412
|
+
}
|
|
413
|
+
if (typeof body !== "object" || body === null)
|
|
414
|
+
return null;
|
|
415
|
+
const rows = await associate(type, [asked(body, type.associations)], caller, type.linked);
|
|
416
|
+
const [found] = await mapped(kind, rows, defined, caller);
|
|
417
|
+
return found ?? null;
|
|
418
|
+
}
|
|
419
|
+
__name(record, "record");
|
|
420
|
+
}, "hubspotCrmSource");
|
|
421
|
+
var leadsRefused = "HubSpot refused the leads: they need Sales Hub Professional or Enterprise and the crm.objects.leads.read scope; deals, contacts and companies are copied without them";
|
|
422
|
+
export {
|
|
423
|
+
MAX_PROPERTIES_CHARS,
|
|
424
|
+
fitted,
|
|
425
|
+
hubspotCrmSource
|
|
426
|
+
};
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
ensureSqlite,
|
|
5
5
|
nodeRuntime,
|
|
6
6
|
relay
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-JQUS4KFV.js";
|
|
8
|
+
import "./chunk-CBTWKTWN.js";
|
|
9
|
+
import "./chunk-WSTF2MWW.js";
|
|
10
|
+
import "./chunk-2K5BAY32.js";
|
|
11
|
+
import "./chunk-H5HBZCEJ.js";
|
|
12
12
|
import "./chunk-S4UUN6LD.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-AP3CWDRK.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
ensureSqlite,
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
readHttpLock,
|
|
13
13
|
readStored,
|
|
14
14
|
signedInClients
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-J5HHB27S.js";
|
|
16
|
+
import "./chunk-ZNNGK73C.js";
|
|
17
|
+
import "./chunk-INT5JXGP.js";
|
|
18
|
+
import "./chunk-2K5BAY32.js";
|
|
19
|
+
import "./chunk-H5HBZCEJ.js";
|
|
20
20
|
import "./chunk-S4UUN6LD.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-AP3CWDRK.js";
|
|
23
23
|
import "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
export {
|
|
25
25
|
ACCESS_SECONDS,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PROVIDER,
|
|
5
|
+
openHubspotStore
|
|
6
|
+
} from "./chunk-63YWTFZF.js";
|
|
7
|
+
import "./chunk-6IHXKMY6.js";
|
|
8
|
+
import "./chunk-MR2BNER3.js";
|
|
9
|
+
import "./chunk-EH6ZEJGT.js";
|
|
10
|
+
import "./chunk-2FLLS5IL.js";
|
|
11
|
+
import "./chunk-DIHVN5IC.js";
|
|
12
|
+
import "./chunk-SZZVNPTI.js";
|
|
13
|
+
import "./chunk-BXXU4EXK.js";
|
|
14
|
+
import "./chunk-YVMLFHWS.js";
|
|
15
|
+
import "./chunk-I5WHQH5K.js";
|
|
16
|
+
import "./chunk-DBHJIFDS.js";
|
|
17
|
+
import "./chunk-GHBJBDTW.js";
|
|
18
|
+
import "./chunk-2PCVKD27.js";
|
|
19
|
+
import "./chunk-2HSYAKWO.js";
|
|
20
|
+
import "./chunk-TCSVW7BA.js";
|
|
21
|
+
import "./chunk-CEHBT7QX.js";
|
|
22
|
+
import "./chunk-OX37ZK27.js";
|
|
23
|
+
import "./chunk-ZS6T2PYQ.js";
|
|
24
|
+
import "./chunk-DMYLQX2O.js";
|
|
25
|
+
import "./chunk-2K5BAY32.js";
|
|
26
|
+
import "./chunk-H5HBZCEJ.js";
|
|
27
|
+
import "./chunk-S4UUN6LD.js";
|
|
28
|
+
import "./chunk-Y5E2WNWB.js";
|
|
29
|
+
import "./chunk-AP3CWDRK.js";
|
|
30
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
31
|
+
export {
|
|
32
|
+
PROVIDER,
|
|
33
|
+
openHubspotStore
|
|
34
|
+
};
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
snapshotProjectAnnotations,
|
|
9
9
|
storeDamageReport,
|
|
10
10
|
storeHealth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZH76HQDA.js";
|
|
12
12
|
import {
|
|
13
13
|
note
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IRFFXKKK.js";
|
|
15
15
|
import {
|
|
16
16
|
ADDED_KINDS,
|
|
17
17
|
ALWAYS_SHOWN,
|
|
@@ -25,7 +25,9 @@ import {
|
|
|
25
25
|
DECISION_TTL_MS,
|
|
26
26
|
DEFAULT_DECISION_POLICY,
|
|
27
27
|
DEFAULT_OWNER_LANGUAGES,
|
|
28
|
+
DOCUMENT_EVENTS,
|
|
28
29
|
DOCUMENT_KINDS,
|
|
30
|
+
DOCUMENT_REMOVALS,
|
|
29
31
|
DOUBT_REASONS,
|
|
30
32
|
EVENT_FIELDS,
|
|
31
33
|
EVIDENCE_FINDINGS_KIND,
|
|
@@ -97,10 +99,10 @@ import {
|
|
|
97
99
|
validateEvidenceFindings,
|
|
98
100
|
waitingPointer,
|
|
99
101
|
withoutField
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
102
|
+
} from "./chunk-2IRBXFIU.js";
|
|
103
|
+
import "./chunk-UMXA357W.js";
|
|
104
|
+
import "./chunk-5MFZYHPO.js";
|
|
105
|
+
import "./chunk-6EHX762H.js";
|
|
104
106
|
import {
|
|
105
107
|
CLOSED_STATES,
|
|
106
108
|
FACT_STATUSES,
|
|
@@ -129,40 +131,40 @@ import {
|
|
|
129
131
|
readJournalMark,
|
|
130
132
|
recordDeepCheck,
|
|
131
133
|
reminder
|
|
132
|
-
} from "./chunk-
|
|
133
|
-
import "./chunk-
|
|
134
|
-
import "./chunk-
|
|
135
|
-
import "./chunk-
|
|
136
|
-
import "./chunk-
|
|
134
|
+
} from "./chunk-YOVIH4QI.js";
|
|
135
|
+
import "./chunk-BRBBZDMZ.js";
|
|
136
|
+
import "./chunk-BXXU4EXK.js";
|
|
137
|
+
import "./chunk-YVMLFHWS.js";
|
|
138
|
+
import "./chunk-I5WHQH5K.js";
|
|
137
139
|
import {
|
|
138
140
|
BUSINESS_KINDS
|
|
139
|
-
} from "./chunk-
|
|
140
|
-
import "./chunk-
|
|
141
|
-
import "./chunk-
|
|
141
|
+
} from "./chunk-DBHJIFDS.js";
|
|
142
|
+
import "./chunk-GHBJBDTW.js";
|
|
143
|
+
import "./chunk-2PCVKD27.js";
|
|
142
144
|
import {
|
|
143
145
|
FACT_TYPES,
|
|
144
146
|
PAYMENT_DIRECTIONS,
|
|
145
147
|
PAYMENT_STATES,
|
|
146
148
|
paymentTitle,
|
|
147
149
|
validatePayment
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-
|
|
150
|
-
import "./chunk-
|
|
150
|
+
} from "./chunk-2HSYAKWO.js";
|
|
151
|
+
import "./chunk-TCSVW7BA.js";
|
|
152
|
+
import "./chunk-CEHBT7QX.js";
|
|
151
153
|
import {
|
|
152
154
|
storePath
|
|
153
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-DMYLQX2O.js";
|
|
154
156
|
import {
|
|
155
157
|
openCache
|
|
156
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-CBTWKTWN.js";
|
|
157
159
|
import {
|
|
158
160
|
PRAGMAS
|
|
159
|
-
} from "./chunk-
|
|
160
|
-
import "./chunk-
|
|
161
|
-
import "./chunk-
|
|
161
|
+
} from "./chunk-WSTF2MWW.js";
|
|
162
|
+
import "./chunk-2K5BAY32.js";
|
|
163
|
+
import "./chunk-H5HBZCEJ.js";
|
|
162
164
|
import "./chunk-S4UUN6LD.js";
|
|
163
165
|
import "./chunk-Y5E2WNWB.js";
|
|
164
|
-
import "./chunk-
|
|
165
|
-
import "./chunk-
|
|
166
|
+
import "./chunk-AP3CWDRK.js";
|
|
167
|
+
import "./chunk-6WKK4UZP.js";
|
|
166
168
|
import "./chunk-ZVVMGPBJ.js";
|
|
167
169
|
export {
|
|
168
170
|
ADDED_KINDS,
|
|
@@ -179,7 +181,9 @@ export {
|
|
|
179
181
|
DECISION_TTL_MS,
|
|
180
182
|
DEFAULT_DECISION_POLICY,
|
|
181
183
|
DEFAULT_OWNER_LANGUAGES,
|
|
184
|
+
DOCUMENT_EVENTS,
|
|
182
185
|
DOCUMENT_KINDS,
|
|
186
|
+
DOCUMENT_REMOVALS,
|
|
183
187
|
DOUBT_REASONS,
|
|
184
188
|
EVENT_FIELDS,
|
|
185
189
|
EVIDENCE_FINDINGS_KIND,
|
|
@@ -77,32 +77,32 @@ import {
|
|
|
77
77
|
threadConversation,
|
|
78
78
|
titlePart,
|
|
79
79
|
vectorIndexCounts
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
80
|
+
} from "./chunk-2IRBXFIU.js";
|
|
81
|
+
import "./chunk-UMXA357W.js";
|
|
82
|
+
import "./chunk-5MFZYHPO.js";
|
|
83
|
+
import "./chunk-6EHX762H.js";
|
|
84
|
+
import "./chunk-YOVIH4QI.js";
|
|
85
|
+
import "./chunk-BRBBZDMZ.js";
|
|
86
|
+
import "./chunk-BXXU4EXK.js";
|
|
87
|
+
import "./chunk-YVMLFHWS.js";
|
|
88
|
+
import "./chunk-I5WHQH5K.js";
|
|
89
89
|
import {
|
|
90
90
|
BUSINESS_KINDS
|
|
91
|
-
} from "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-
|
|
91
|
+
} from "./chunk-DBHJIFDS.js";
|
|
92
|
+
import "./chunk-GHBJBDTW.js";
|
|
93
|
+
import "./chunk-2PCVKD27.js";
|
|
94
|
+
import "./chunk-2HSYAKWO.js";
|
|
95
|
+
import "./chunk-TCSVW7BA.js";
|
|
96
|
+
import "./chunk-CEHBT7QX.js";
|
|
97
|
+
import "./chunk-DMYLQX2O.js";
|
|
98
|
+
import "./chunk-CBTWKTWN.js";
|
|
99
|
+
import "./chunk-WSTF2MWW.js";
|
|
100
|
+
import "./chunk-2K5BAY32.js";
|
|
101
|
+
import "./chunk-H5HBZCEJ.js";
|
|
102
102
|
import "./chunk-S4UUN6LD.js";
|
|
103
103
|
import "./chunk-Y5E2WNWB.js";
|
|
104
|
-
import "./chunk-
|
|
105
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-AP3CWDRK.js";
|
|
105
|
+
import "./chunk-6WKK4UZP.js";
|
|
106
106
|
import "./chunk-ZVVMGPBJ.js";
|
|
107
107
|
export {
|
|
108
108
|
AGENDA_COLUMNS,
|