@wirecat/hubspot-cli 0.2.0 → 0.3.1
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 +27 -0
- package/README.md +2 -2
- package/contracts/wirecat.json +40 -2
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-A7ARC3QB.js +40 -0
- package/dist/bundle/{all-profiles-64JAUYW4.js → all-profiles-6452VSJB.js} +64 -22
- package/dist/bundle/{anthropic-VJOS4OUM.js → anthropic-VQUOVYOW.js} +6 -6
- package/dist/bundle/{app-server-GXV2OFML.js → app-server-EQZUP4H4.js} +79 -68
- package/dist/bundle/{bun-M3J2QTR3.js → bun-AJPJ4ZUN.js} +2 -2
- package/dist/bundle/{bun-sqlite-IX3XYA5F.js → bun-sqlite-AGXGSF6D.js} +7 -7
- package/dist/bundle/{chunk-N2XADGL4.js → chunk-2A64XS22.js} +4 -4
- package/dist/bundle/{chunk-Q2OLOMHL.js → chunk-2HYGCLKN.js} +93 -565
- package/dist/bundle/{chunk-FOZYMDRL.js → chunk-2NCO4E4T.js} +6 -6
- package/dist/bundle/{chunk-FBCCBCFH.js → chunk-2PRVWEJC.js} +3 -3
- package/dist/bundle/{chunk-LOBVOGOE.js → chunk-3DIXAEGH.js} +4 -4
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-3I2FGNWO.js} +1 -1
- package/dist/bundle/{chunk-65TWQ7BV.js → chunk-3PEKYGZ3.js} +2 -2
- package/dist/bundle/{chunk-DRWWJLI6.js → chunk-3R4KRNUZ.js} +8 -8
- package/dist/bundle/{chunk-2VGD63G6.js → chunk-3TEFE6YU.js} +7 -7
- package/dist/bundle/{chunk-TI46WQXQ.js → chunk-4DNHXRCJ.js} +7 -7
- package/dist/bundle/{chunk-QU25DA5N.js → chunk-5AYKCKSE.js} +11 -11
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-5K3FGXZH.js} +1 -1
- package/dist/bundle/{chunk-24ERVFJP.js → chunk-5YNAVVCW.js} +3 -3
- package/dist/bundle/{chunk-URX6YDUL.js → chunk-5ZV7REBE.js} +75 -66
- package/dist/bundle/{chunk-TLKEPUAV.js → chunk-6MFP47XC.js} +60 -50
- package/dist/bundle/{chunk-36ITRDYY.js → chunk-7LQRXVQ3.js} +783 -482
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-7NZT7Y55.js} +1 -1
- package/dist/bundle/{chunk-C32AKHTY.js → chunk-7UEL65GQ.js} +35 -12
- package/dist/bundle/chunk-7VHBS5BJ.js +108 -0
- package/dist/bundle/{chunk-O55RWNSH.js → chunk-A6UFH3QU.js} +4 -4
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-ABXVU5O4.js} +8 -1
- package/dist/bundle/{chunk-4W6BMH45.js → chunk-AF7DANIR.js} +2 -100
- package/dist/bundle/{chunk-2VGZRYEH.js → chunk-ARTJLL7W.js} +6 -6
- package/dist/bundle/chunk-AVUMH42T.js +194 -0
- package/dist/bundle/{chunk-MFNMKHML.js → chunk-AWOJYRQW.js} +1024 -1639
- package/dist/bundle/chunk-B2W3C4N6.js +338 -0
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-B3EH22CO.js} +1 -1
- package/dist/bundle/{chunk-E52JAS35.js → chunk-BAUK2MD5.js} +6 -6
- package/dist/bundle/{chunk-LXZ66MCH.js → chunk-BHZUPOQY.js} +35 -29
- package/dist/bundle/{chunk-JLDBMEKZ.js → chunk-BN22EKQQ.js} +2 -2
- package/dist/bundle/{chunk-DB2XKHI4.js → chunk-BUGROVF3.js} +2 -2
- package/dist/bundle/{chunk-DSP36YHQ.js → chunk-CBCEMFCF.js} +2 -2
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-DQB5JMTY.js} +1 -1
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DSRXCLPO.js} +1 -1
- package/dist/bundle/{chunk-UUMUL4L3.js → chunk-DW23LM47.js} +2 -2
- package/dist/bundle/{chunk-VOH7S5M4.js → chunk-E4FAMU2S.js} +3230 -3116
- package/dist/bundle/{chunk-TKVL2C3B.js → chunk-E4X7JAFC.js} +3 -3
- package/dist/bundle/{chunk-NUU4WZVL.js → chunk-EE4JSYGZ.js} +3 -3
- package/dist/bundle/{chunk-NWHEHV3K.js → chunk-EMOVVERN.js} +5 -5
- package/dist/bundle/{chunk-PVKF24ZW.js → chunk-FIVD4HM4.js} +8 -8
- package/dist/bundle/{chunk-QJW35N5V.js → chunk-GC6FLHZF.js} +12 -12
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-GRFICQTZ.js} +1 -1
- package/dist/bundle/{chunk-GPYCBYX5.js → chunk-GZZR5U3K.js} +12 -12
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-HPZRUY6S.js} +1 -1
- package/dist/bundle/{chunk-CLAN3FES.js → chunk-IBTMK5KD.js} +54 -34
- package/dist/bundle/{chunk-5A6ZYNAQ.js → chunk-IQ2XZ62J.js} +18 -18
- package/dist/bundle/{chunk-DBEQI5YM.js → chunk-ITGNDZRR.js} +3 -3
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-IXZLMFPO.js} +1 -1
- package/dist/bundle/{chunk-TOSCB4SO.js → chunk-J5P5VSRG.js} +16 -10
- package/dist/bundle/{chunk-RMIYKDUL.js → chunk-JK2SNLU5.js} +17 -17
- package/dist/bundle/{chunk-43EKCUBJ.js → chunk-JP2HJXFO.js} +3 -3
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-JUKAIXKY.js} +1 -1
- package/dist/bundle/{chunk-3WLYWRGG.js → chunk-K4X5ZHI2.js} +19 -17
- package/dist/bundle/{chunk-5GBUCHRU.js → chunk-KO4VR5NK.js} +4 -4
- package/dist/bundle/{chunk-PPHBRESD.js → chunk-KVXEEKBB.js} +2 -2
- package/dist/bundle/{chunk-SDQGB4KB.js → chunk-L433IDOX.js} +9 -9
- package/dist/bundle/chunk-LA3YU4K7.js +40 -0
- package/dist/bundle/{chunk-ECEZOLOD.js → chunk-LKSNISYV.js} +4 -4
- package/dist/bundle/{chunk-5K7QLJMM.js → chunk-LT5KE44Q.js} +226 -226
- package/dist/bundle/{chunk-YMCY7VRE.js → chunk-LTVYGXWT.js} +7 -7
- package/dist/bundle/chunk-M763RNWP.js +733 -0
- package/dist/bundle/{chunk-IMJQRPLN.js → chunk-NNMU2TDU.js} +1 -1
- package/dist/bundle/chunk-NTQBS2JL.js +52 -0
- package/dist/bundle/{chunk-HCAZV5NP.js → chunk-NZGI74GS.js} +6 -6
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-O3VM5PTJ.js} +1 -1
- package/dist/bundle/chunk-ODPU3II6.js +353 -0
- package/dist/bundle/chunk-OJIJVOOA.js +561 -0
- package/dist/bundle/{chunk-7ELMWE3P.js → chunk-PHXOL5HZ.js} +176 -160
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-B3MANLNK.js → chunk-PLRUUXK7.js} +19 -233
- package/dist/bundle/{chunk-RR5MX5TM.js → chunk-PMP37KLR.js} +4 -4
- package/dist/bundle/{chunk-FTFV3HFW.js → chunk-Q27QAB4X.js} +9 -9
- package/dist/bundle/{chunk-2QZK5BEP.js → chunk-RVWGFD32.js} +30 -15
- package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
- package/dist/bundle/{chunk-QGFX5MXL.js → chunk-SEELWPRD.js} +9 -9
- package/dist/bundle/{chunk-HC5ZWE5X.js → chunk-TIHDBKA7.js} +2 -2
- package/dist/bundle/{chunk-NHHJHXMQ.js → chunk-U6XA3OOM.js} +2 -2
- package/dist/bundle/{chunk-IJADZW42.js → chunk-VNPC274V.js} +3 -3
- package/dist/bundle/{chunk-NXERIDPJ.js → chunk-VQEAZXTV.js} +7 -7
- package/dist/bundle/{chunk-P5BHKKBI.js → chunk-VW5F6FK3.js} +4 -4
- package/dist/bundle/{chunk-XRREFEIW.js → chunk-WCQW4GYO.js} +7 -7
- package/dist/bundle/{chunk-H3TNVEQX.js → chunk-WGBVRDY3.js} +29 -4
- package/dist/bundle/chunk-WRCKE5ND.js +80 -0
- package/dist/bundle/{chunk-TBJYLC5K.js → chunk-X5S5KUSU.js} +75 -75
- package/dist/bundle/{chunk-2UOJ7DLZ.js → chunk-XLDQTDF6.js} +3 -3
- package/dist/bundle/{chunk-Z73OL5HV.js → chunk-Z6ZQVYIE.js} +3 -3
- package/dist/bundle/command-contract-R2FGN7CQ.js +40 -0
- package/dist/bundle/{command-server-entry-DJKVVZCQ.js → command-server-entry-GJSMDSNE.js} +29 -29
- package/dist/bundle/{decode-FC65Y4IV.js → decode-6PLXHVHW.js} +6 -6
- package/dist/bundle/{dispatch-KOISQ5QJ.js → dispatch-TAQ7635E.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-UZ7QLRE2.js} +2 -2
- package/dist/bundle/{embed-VNBZFPYH.js → embed-AWLL4EBF.js} +7 -7
- package/dist/bundle/{embedder-6U4NOFRO.js → embedder-MM225YJ6.js} +10 -10
- package/dist/bundle/{failure-FZ6VYKEQ.js → failure-MR2XVHFP.js} +3 -3
- package/dist/bundle/first-run-KCZVNFJ7.js +29 -0
- package/dist/bundle/first-screen-SCDV7TXT.js +40 -0
- package/dist/bundle/hubspot.js +26 -26
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-ZJ7U3QUE.js} +1 -1
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-CNV7F2XZ.js} +2 -2
- package/dist/bundle/meeting-combined-EL5XZIJ5.js +25 -0
- package/dist/bundle/meeting-model-OYXB2NOE.js +25 -0
- package/dist/bundle/{meeting-semantic-JY3OGCBS.js → meeting-semantic-S3DBB7XD.js} +7 -7
- package/dist/bundle/{node-CXZIFHZC.js → node-HGCZGZ4R.js} +2 -2
- package/dist/bundle/{node-sqlite-P3O7XN7Q.js → node-sqlite-RKYSRKEB.js} +8 -8
- package/dist/bundle/oauth-PYDCAQ7Y.js +20 -0
- package/dist/bundle/{open-F4P6YV54.js → open-UCDSQUN2.js} +6 -6
- package/dist/bundle/{openai-4AICLIK3.js → openai-Y4F5ZC7O.js} +16 -16
- package/dist/bundle/{process-5RUXWGYS.js → process-P7FB7YO7.js} +1 -1
- package/dist/bundle/{program-XA4C44Z4.js → program-O2A5L4S4.js} +683 -242
- package/dist/bundle/{prompt-NFMDVBZ4.js → prompt-E5TKZ37Q.js} +6 -6
- package/dist/bundle/{recognize-DKN3RY4V.js → recognize-5NYPTSLT.js} +5 -5
- package/dist/bundle/{remote-6QHAGQWY.js → remote-U4LUAHF2.js} +10 -10
- package/dist/bundle/{rerank-M4KHEHUZ.js → rerank-AJAVKK5L.js} +8 -8
- package/dist/bundle/{schemas-JRL3DLMP.js → schemas-QLQ2K6DL.js} +7 -33
- package/dist/bundle/{serve-DNU43ND6.js → serve-4UJ3R5IP.js} +11 -11
- package/dist/bundle/{server-ATG5KY7K.js → server-DUKWJUKD.js} +73 -61
- package/dist/bundle/server-UQVV2PPX.js +86 -0
- package/dist/bundle/{source-54HR4IWG.js → source-FCQDXCAD.js} +334 -78
- package/dist/bundle/{sqlite-runtime-EMQAC63N.js → sqlite-runtime-KLEA4XAU.js} +7 -7
- package/dist/bundle/{state-T45CX7VY.js → state-COGSYMVH.js} +7 -7
- package/dist/bundle/{store-6TZ2FCVA.js → store-BJXCSP26.js} +25 -24
- package/dist/bundle/store-CHH3G3SL.js +32 -0
- package/dist/bundle/{store-6LCEVBAZ.js → store-V5UMSWK4.js} +27 -22
- package/dist/bundle/store-maintenance-command-DQUBBWMD.js +73 -0
- package/dist/bundle/surface-IGBQUYE5.js +72 -0
- package/dist/bundle/writer-AQSEPEEN.js +86 -0
- package/dist/commands/session.js +2 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -5
- package/dist/config.js.map +1 -1
- package/dist/crm/activities.d.ts.map +1 -1
- package/dist/crm/activities.js +3 -13
- package/dist/crm/activities.js.map +1 -1
- package/dist/crm/records.d.ts +6 -0
- package/dist/crm/records.d.ts.map +1 -1
- package/dist/crm/records.js +6 -0
- package/dist/crm/records.js.map +1 -1
- package/dist/crm/source.d.ts +0 -6
- package/dist/crm/source.d.ts.map +1 -1
- package/dist/crm/source.js +1 -7
- package/dist/crm/source.js.map +1 -1
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js +0 -115
- package/dist/generated/manifest.js.map +1 -1
- package/dist/generated/types.d.ts +160 -0
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/hubspot/transport.js +1 -1
- package/dist/hubspot/transport.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-C6CBFXZF.js +0 -40
- package/dist/bundle/first-run-UWAFSINQ.js +0 -29
- package/dist/bundle/first-screen-RTVMGHAE.js +0 -40
- package/dist/bundle/meeting-combined-L5AGBPYX.js +0 -25
- package/dist/bundle/meeting-model-NTB4RK3F.js +0 -25
- package/dist/bundle/oauth-HNCY4B2S.js +0 -20
- package/dist/bundle/server-VNWVVH7A.js +0 -77
- package/dist/bundle/store-DXWYNVVB.js +0 -32
- package/dist/bundle/store-maintenance-command-J57HCJYY.js +0 -68
- package/dist/bundle/writer-NLLI5YRM.js +0 -79
|
@@ -2,9 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
accountDetails
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XLDQTDF6.js";
|
|
6
6
|
import {
|
|
7
7
|
OBJECTS,
|
|
8
|
+
OVERLAP_MS,
|
|
8
9
|
SERVICE,
|
|
9
10
|
msOf,
|
|
10
11
|
nextOf,
|
|
@@ -18,85 +19,345 @@ import {
|
|
|
18
19
|
toPerson,
|
|
19
20
|
toPipeline,
|
|
20
21
|
toUser
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-AWOJYRQW.js";
|
|
23
|
+
import "./chunk-O3VM5PTJ.js";
|
|
24
|
+
import "./chunk-7NZT7Y55.js";
|
|
25
|
+
import "./chunk-BHZUPOQY.js";
|
|
26
|
+
import "./chunk-PLRUUXK7.js";
|
|
27
|
+
import "./chunk-3R4KRNUZ.js";
|
|
28
|
+
import "./chunk-HPZRUY6S.js";
|
|
29
|
+
import "./chunk-5ZV7REBE.js";
|
|
30
|
+
import "./chunk-K4X5ZHI2.js";
|
|
31
|
+
import "./chunk-ODPU3II6.js";
|
|
32
|
+
import "./chunk-VQEAZXTV.js";
|
|
33
|
+
import "./chunk-GZZR5U3K.js";
|
|
34
|
+
import "./chunk-BN22EKQQ.js";
|
|
35
|
+
import "./chunk-NTQBS2JL.js";
|
|
36
|
+
import "./chunk-B2W3C4N6.js";
|
|
37
|
+
import "./chunk-AVUMH42T.js";
|
|
29
38
|
import {
|
|
30
39
|
crmWindowOf,
|
|
40
|
+
decodeEntities,
|
|
31
41
|
values_exports,
|
|
32
42
|
walk
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-H3TNVEQX.js";
|
|
68
|
-
import "./chunk-HC5ZWE5X.js";
|
|
69
|
-
import "./chunk-QGFX5MXL.js";
|
|
43
|
+
} from "./chunk-E4FAMU2S.js";
|
|
44
|
+
import "./chunk-RVWGFD32.js";
|
|
45
|
+
import "./chunk-LA3YU4K7.js";
|
|
46
|
+
import "./chunk-ABXVU5O4.js";
|
|
47
|
+
import "./chunk-PMP37KLR.js";
|
|
48
|
+
import "./chunk-5K3FGXZH.js";
|
|
49
|
+
import "./chunk-M763RNWP.js";
|
|
50
|
+
import "./chunk-2A64XS22.js";
|
|
51
|
+
import "./chunk-2NCO4E4T.js";
|
|
52
|
+
import "./chunk-5AYKCKSE.js";
|
|
53
|
+
import "./chunk-E4X7JAFC.js";
|
|
54
|
+
import "./chunk-A6UFH3QU.js";
|
|
55
|
+
import "./chunk-5YNAVVCW.js";
|
|
56
|
+
import "./chunk-EMOVVERN.js";
|
|
57
|
+
import "./chunk-PHXOL5HZ.js";
|
|
58
|
+
import "./chunk-FIVD4HM4.js";
|
|
59
|
+
import "./chunk-EE4JSYGZ.js";
|
|
60
|
+
import "./chunk-ARTJLL7W.js";
|
|
61
|
+
import "./chunk-IXZLMFPO.js";
|
|
62
|
+
import "./chunk-JK2SNLU5.js";
|
|
63
|
+
import "./chunk-3DIXAEGH.js";
|
|
64
|
+
import "./chunk-7LQRXVQ3.js";
|
|
65
|
+
import "./chunk-7UEL65GQ.js";
|
|
66
|
+
import "./chunk-WRCKE5ND.js";
|
|
67
|
+
import "./chunk-Q27QAB4X.js";
|
|
68
|
+
import "./chunk-IBTMK5KD.js";
|
|
69
|
+
import "./chunk-DW23LM47.js";
|
|
70
|
+
import "./chunk-L433IDOX.js";
|
|
71
|
+
import "./chunk-WCQW4GYO.js";
|
|
72
|
+
import "./chunk-4DNHXRCJ.js";
|
|
73
|
+
import "./chunk-BAUK2MD5.js";
|
|
74
|
+
import "./chunk-KO4VR5NK.js";
|
|
75
|
+
import "./chunk-LTVYGXWT.js";
|
|
76
|
+
import "./chunk-TIHDBKA7.js";
|
|
70
77
|
import "./chunk-EH6ZEJGT.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-WGBVRDY3.js";
|
|
79
|
+
import "./chunk-SEELWPRD.js";
|
|
80
|
+
import "./chunk-3I2FGNWO.js";
|
|
81
|
+
import "./chunk-3TEFE6YU.js";
|
|
82
|
+
import "./chunk-IQ2XZ62J.js";
|
|
83
|
+
import "./chunk-JP2HJXFO.js";
|
|
84
|
+
import "./chunk-DQB5JMTY.js";
|
|
85
|
+
import "./chunk-GC6FLHZF.js";
|
|
86
|
+
import "./chunk-NNMU2TDU.js";
|
|
87
|
+
import "./chunk-CBCEMFCF.js";
|
|
88
|
+
import "./chunk-LT5KE44Q.js";
|
|
89
|
+
import "./chunk-DSRXCLPO.js";
|
|
81
90
|
import "./chunk-D72URWJE.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-ITGNDZRR.js";
|
|
92
|
+
import "./chunk-KVXEEKBB.js";
|
|
93
|
+
import "./chunk-3PEKYGZ3.js";
|
|
94
|
+
import "./chunk-NZGI74GS.js";
|
|
95
|
+
import "./chunk-JUKAIXKY.js";
|
|
96
|
+
import "./chunk-X5S5KUSU.js";
|
|
97
|
+
import "./chunk-J5P5VSRG.js";
|
|
98
|
+
import "./chunk-S4UUN6LD.js";
|
|
90
99
|
import "./chunk-Y5E2WNWB.js";
|
|
91
100
|
import {
|
|
92
101
|
CliError,
|
|
93
102
|
isCliError
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
103
|
+
} from "./chunk-BUGROVF3.js";
|
|
104
|
+
import "./chunk-GRFICQTZ.js";
|
|
96
105
|
import {
|
|
97
106
|
__name
|
|
98
107
|
} from "./chunk-ZVVMGPBJ.js";
|
|
99
108
|
|
|
109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mail/attachments.js
|
|
110
|
+
var DEFAULT_ATTACHMENT_POLICY = { read: true, maxBytes: 10 * 1024 * 1024 };
|
|
111
|
+
|
|
112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mail/presets.js
|
|
113
|
+
var PRESETS = {
|
|
114
|
+
social: {
|
|
115
|
+
about: "notifications from social networks",
|
|
116
|
+
domains: [
|
|
117
|
+
"facebookmail.com",
|
|
118
|
+
"facebook.com",
|
|
119
|
+
"linkedin.com",
|
|
120
|
+
"twitter.com",
|
|
121
|
+
"x.com",
|
|
122
|
+
"instagram.com",
|
|
123
|
+
"vk.com",
|
|
124
|
+
"ok.ru",
|
|
125
|
+
"quora.com",
|
|
126
|
+
"redditmail.com",
|
|
127
|
+
"pinterest.com",
|
|
128
|
+
"tiktok.com",
|
|
129
|
+
"meetup.com",
|
|
130
|
+
"tumblr.com",
|
|
131
|
+
"youtube.com"
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
newsletters: {
|
|
135
|
+
about: "mailing lists with an unsubscribe link: List-Id and List-Unsubscribe, or a newsletter service",
|
|
136
|
+
domains: ["substack.com", "mcsv.net", "mailchimpapp.net", "sendinblue.com", "beehiiv.com", "convertkit.com"]
|
|
137
|
+
},
|
|
138
|
+
developer: {
|
|
139
|
+
about: "code hosting, CI, package and error-tracker notifications",
|
|
140
|
+
domains: [
|
|
141
|
+
"github.com",
|
|
142
|
+
"gitlab.com",
|
|
143
|
+
"bitbucket.org",
|
|
144
|
+
"atlassian.net",
|
|
145
|
+
"circleci.com",
|
|
146
|
+
"travis-ci.com",
|
|
147
|
+
"rollbar.com",
|
|
148
|
+
"sentry.io",
|
|
149
|
+
"vercel.com",
|
|
150
|
+
"netlify.com",
|
|
151
|
+
"npmjs.com",
|
|
152
|
+
"docker.com",
|
|
153
|
+
"heroku.com",
|
|
154
|
+
"codecov.io",
|
|
155
|
+
"libraries.io"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
shopping: {
|
|
159
|
+
about: "shops and promotions, and what Gmail files under Promotions",
|
|
160
|
+
domains: [
|
|
161
|
+
"aliexpress.com",
|
|
162
|
+
"aliexpress.ru",
|
|
163
|
+
"ebay.com",
|
|
164
|
+
"ozon.ru",
|
|
165
|
+
"wildberries.ru",
|
|
166
|
+
"steampowered.com",
|
|
167
|
+
"booking.com",
|
|
168
|
+
"zalando.com",
|
|
169
|
+
"etsy.com",
|
|
170
|
+
"ikea.com"
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
alerts: {
|
|
174
|
+
about: "monitoring and uptime alerts",
|
|
175
|
+
domains: [
|
|
176
|
+
"uptimerobot.com",
|
|
177
|
+
"pingdom.com",
|
|
178
|
+
"statuscake.com",
|
|
179
|
+
"pagerduty.com",
|
|
180
|
+
"opsgenie.com",
|
|
181
|
+
"newrelic.com",
|
|
182
|
+
"datadoghq.com",
|
|
183
|
+
"betteruptime.com",
|
|
184
|
+
"healthchecks.io"
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
var PRESET_NAMES = Object.keys(PRESETS);
|
|
189
|
+
|
|
190
|
+
// node_modules/.pnpm/postal-mime@4.1.4/node_modules/postal-mime/dist/esm/decode-strings.js
|
|
191
|
+
var textEncoder = new TextEncoder();
|
|
192
|
+
var base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
193
|
+
var base64Lookup = new Uint8Array(256);
|
|
194
|
+
for (let i = 0; i < base64Chars.length; i++) {
|
|
195
|
+
base64Lookup[base64Chars.charCodeAt(i)] = i;
|
|
196
|
+
}
|
|
197
|
+
var ENCODING_LABELS = new Set([
|
|
198
|
+
// UTF-8
|
|
199
|
+
"unicode-1-1-utf-8 unicode11utf8 unicode20utf8 utf-8 utf8 x-unicode20utf8",
|
|
200
|
+
// IBM866
|
|
201
|
+
"866 cp866 csibm866 ibm866",
|
|
202
|
+
// ISO-8859-2
|
|
203
|
+
"csisolatin2 iso-8859-2 iso-ir-101 iso8859-2 iso88592 iso_8859-2 iso_8859-2:1987 l2 latin2",
|
|
204
|
+
// ISO-8859-3
|
|
205
|
+
"csisolatin3 iso-8859-3 iso-ir-109 iso8859-3 iso88593 iso_8859-3 iso_8859-3:1988 l3 latin3",
|
|
206
|
+
// ISO-8859-4
|
|
207
|
+
"csisolatin4 iso-8859-4 iso-ir-110 iso8859-4 iso88594 iso_8859-4 iso_8859-4:1988 l4 latin4",
|
|
208
|
+
// ISO-8859-5
|
|
209
|
+
"csisolatincyrillic cyrillic iso-8859-5 iso-ir-144 iso8859-5 iso88595 iso_8859-5 iso_8859-5:1988",
|
|
210
|
+
// ISO-8859-6
|
|
211
|
+
"arabic asmo-708 csiso88596e csiso88596i csisolatinarabic ecma-114 iso-8859-6 iso-8859-6-e",
|
|
212
|
+
"iso-8859-6-i iso-ir-127 iso8859-6 iso88596 iso_8859-6 iso_8859-6:1987",
|
|
213
|
+
// ISO-8859-7
|
|
214
|
+
"csisolatingreek ecma-118 elot_928 greek greek8 iso-8859-7 iso-ir-126 iso8859-7 iso88597 iso_8859-7",
|
|
215
|
+
"iso_8859-7:1987 sun_eu_greek",
|
|
216
|
+
// ISO-8859-8
|
|
217
|
+
"csiso88598e csisolatinhebrew hebrew iso-8859-8 iso-8859-8-e iso-ir-138 iso8859-8 iso88598 iso_8859-8",
|
|
218
|
+
"iso_8859-8:1988 visual",
|
|
219
|
+
// ISO-8859-8-I
|
|
220
|
+
"csiso88598i iso-8859-8-i logical",
|
|
221
|
+
// ISO-8859-10
|
|
222
|
+
"csisolatin6 iso-8859-10 iso-ir-157 iso8859-10 iso885910 l6 latin6",
|
|
223
|
+
// ISO-8859-13
|
|
224
|
+
"iso-8859-13 iso8859-13 iso885913",
|
|
225
|
+
// ISO-8859-14
|
|
226
|
+
"iso-8859-14 iso8859-14 iso885914",
|
|
227
|
+
// ISO-8859-15
|
|
228
|
+
"csisolatin9 iso-8859-15 iso8859-15 iso885915 iso_8859-15 l9",
|
|
229
|
+
// ISO-8859-16
|
|
230
|
+
"iso-8859-16",
|
|
231
|
+
// KOI8-R
|
|
232
|
+
"cskoi8r koi koi8 koi8-r koi8_r",
|
|
233
|
+
// KOI8-U
|
|
234
|
+
"koi8-ru koi8-u",
|
|
235
|
+
// macintosh
|
|
236
|
+
"csmacintosh mac macintosh x-mac-roman",
|
|
237
|
+
// windows-874
|
|
238
|
+
"dos-874 iso-8859-11 iso8859-11 iso885911 tis-620 windows-874",
|
|
239
|
+
// windows-1250
|
|
240
|
+
"cp1250 windows-1250 x-cp1250",
|
|
241
|
+
// windows-1251
|
|
242
|
+
"cp1251 windows-1251 x-cp1251",
|
|
243
|
+
// windows-1252
|
|
244
|
+
"ansi_x3.4-1968 ascii cp1252 cp819 csisolatin1 ibm819 iso-8859-1 iso-ir-100 iso8859-1 iso88591",
|
|
245
|
+
"iso_8859-1 iso_8859-1:1987 l1 latin1 us-ascii windows-1252 x-cp1252",
|
|
246
|
+
// windows-1253
|
|
247
|
+
"cp1253 windows-1253 x-cp1253",
|
|
248
|
+
// windows-1254
|
|
249
|
+
"cp1254 csisolatin5 iso-8859-9 iso-ir-148 iso8859-9 iso88599 iso_8859-9 iso_8859-9:1989 l5 latin5",
|
|
250
|
+
"windows-1254 x-cp1254",
|
|
251
|
+
// windows-1255
|
|
252
|
+
"cp1255 windows-1255 x-cp1255",
|
|
253
|
+
// windows-1256
|
|
254
|
+
"cp1256 windows-1256 x-cp1256",
|
|
255
|
+
// windows-1257
|
|
256
|
+
"cp1257 windows-1257 x-cp1257",
|
|
257
|
+
// windows-1258
|
|
258
|
+
"cp1258 windows-1258 x-cp1258",
|
|
259
|
+
// x-mac-cyrillic
|
|
260
|
+
"x-mac-cyrillic x-mac-ukrainian",
|
|
261
|
+
// GBK
|
|
262
|
+
"chinese csgb2312 csiso58gb231280 gb2312 gb_2312 gb_2312-80 gbk iso-ir-58 x-gbk",
|
|
263
|
+
// gb18030
|
|
264
|
+
"gb18030",
|
|
265
|
+
// Big5
|
|
266
|
+
"big5 big5-hkscs cn-big5 csbig5 x-x-big5",
|
|
267
|
+
// EUC-JP
|
|
268
|
+
"cseucpkdfmtjapanese euc-jp x-euc-jp",
|
|
269
|
+
// ISO-2022-JP
|
|
270
|
+
"csiso2022jp iso-2022-jp",
|
|
271
|
+
// Shift_JIS
|
|
272
|
+
"csshiftjis ms932 ms_kanji shift-jis shift_jis sjis windows-31j x-sjis",
|
|
273
|
+
// EUC-KR
|
|
274
|
+
"cseuckr csksc56011987 euc-kr iso-ir-149 korean ks_c_5601-1987 ks_c_5601-1989 ksc5601 ksc_5601",
|
|
275
|
+
"windows-949",
|
|
276
|
+
// replacement
|
|
277
|
+
"csiso2022kr hz-gb-2312 iso-2022-cn iso-2022-cn-ext iso-2022-kr replacement",
|
|
278
|
+
// x-user-defined
|
|
279
|
+
"x-user-defined"
|
|
280
|
+
].join(" ").split(" "));
|
|
281
|
+
var utf8Decoder = new TextDecoder();
|
|
282
|
+
var ENCODED_WORD_PATTERN = "=\\?([^?\\s]+)\\?([QqBb])\\?([^?]*)\\?=";
|
|
283
|
+
var ENCODED_WORD_REGEX = new RegExp(ENCODED_WORD_PATTERN, "g");
|
|
284
|
+
var ENCODED_WORDS_ONLY_REGEX = new RegExp(`^(?:${ENCODED_WORD_PATTERN}\\s*)+$`);
|
|
285
|
+
|
|
286
|
+
// node_modules/.pnpm/postal-mime@4.1.4/node_modules/postal-mime/dist/esm/mime-node.js
|
|
287
|
+
var headerDecoder = new TextDecoder("utf-8", { ignoreBOM: true });
|
|
288
|
+
|
|
289
|
+
// node_modules/.pnpm/postal-mime@4.1.4/node_modules/postal-mime/dist/esm/text-format.js
|
|
290
|
+
var hexByte = /* @__PURE__ */ __name((value) => value.toString(16).toUpperCase().padStart(2, "0"), "hexByte");
|
|
291
|
+
var PERCENT_ENCODED = Array.from({ length: 256 }, (_, byte) => "%" + hexByte(byte));
|
|
292
|
+
|
|
293
|
+
// node_modules/.pnpm/postal-mime@4.1.4/node_modules/postal-mime/dist/esm/postal-mime.js
|
|
294
|
+
var LINE_FEED = new Uint8Array([10]);
|
|
295
|
+
var MAX_HEADERS_SIZE = 2 * 1024 * 1024;
|
|
296
|
+
|
|
297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mail/rules.js
|
|
298
|
+
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
299
|
+
|
|
300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mail/meeting-notes.js
|
|
301
|
+
var HOUR_MS = 36e5;
|
|
302
|
+
var DAY_MS2 = 24 * HOUR_MS;
|
|
303
|
+
var MEETING_NOTES = {
|
|
304
|
+
telemost: {
|
|
305
|
+
senders: ["keeper@telemost.yandex.ru"],
|
|
306
|
+
day: /* @__PURE__ */ __name((subject) => {
|
|
307
|
+
const found = /(\d{2})\.(\d{2})\.(\d{4})/u.exec(subject);
|
|
308
|
+
return found ? { day: Number(found[1]), month: Number(found[2]), year: Number(found[3]) } : null;
|
|
309
|
+
}, "day"),
|
|
310
|
+
// Moscow, Yandex's default; the zone of the owner's Yandex account is not known here.
|
|
311
|
+
offsets: [3],
|
|
312
|
+
headings: ["\u0418\u0442\u043E\u0433\u0438", "\u0427\u0442\u043E \u043E\u0431\u0441\u0443\u0434\u0438\u043B\u0438", "\u0417\u0430\u0434\u0430\u0447\u0438", "\u041E\u0442\u043A\u0440\u044B\u0442\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B", "\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0432\u0441\u0442\u0440\u0435\u0447\u0430"],
|
|
313
|
+
overview: "\u0418\u0442\u043E\u0433\u0438",
|
|
314
|
+
title: "\u041A\u043E\u043D\u0441\u043F\u0435\u043A\u0442 \u0432\u0441\u0442\u0440\u0435\u0447\u0438",
|
|
315
|
+
ends: ["\u041E\u0446\u0435\u043D\u0438\u0442\u0435 \u0442\u043E\u0447\u043D\u043E\u0441\u0442\u044C \u043A\u043E\u043D\u0441\u043F\u0435\u043A\u0442\u0430"]
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
var MEETING_NOTES_PROVIDERS = Object.keys(MEETING_NOTES);
|
|
319
|
+
|
|
320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mail/parse.js
|
|
321
|
+
var HIDDEN_OPEN = /<(script|style)/gi;
|
|
322
|
+
var HIDDEN_CLOSE = { script: /<\/script>/gi, style: /<\/style>/gi };
|
|
323
|
+
var dropHidden = /* @__PURE__ */ __name((html) => {
|
|
324
|
+
const unclosed = /* @__PURE__ */ new Set();
|
|
325
|
+
let out = "";
|
|
326
|
+
let kept = 0;
|
|
327
|
+
for (const open of html.matchAll(HIDDEN_OPEN)) {
|
|
328
|
+
const name = open[1].toLowerCase();
|
|
329
|
+
if (open.index < kept || unclosed.has(name))
|
|
330
|
+
continue;
|
|
331
|
+
const close = HIDDEN_CLOSE[name];
|
|
332
|
+
close.lastIndex = open.index + open[0].length;
|
|
333
|
+
const end = close.exec(html);
|
|
334
|
+
if (!end) {
|
|
335
|
+
unclosed.add(name);
|
|
336
|
+
continue;
|
|
337
|
+
}
|
|
338
|
+
out += html.slice(kept, open.index);
|
|
339
|
+
kept = end.index + end[0].length;
|
|
340
|
+
}
|
|
341
|
+
return out + html.slice(kept);
|
|
342
|
+
}, "dropHidden");
|
|
343
|
+
var stripTags = /* @__PURE__ */ __name((html) => {
|
|
344
|
+
const end = html.lastIndexOf(">") + 1;
|
|
345
|
+
return html.slice(0, end).replace(/<[^>]+>/g, "") + html.slice(end);
|
|
346
|
+
}, "stripTags");
|
|
347
|
+
var dropComments = /* @__PURE__ */ __name((html) => html.replace(/<!--[\s\S]*?(-->|$)/g, ""), "dropComments");
|
|
348
|
+
var htmlToText2 = /* @__PURE__ */ __name((html) => {
|
|
349
|
+
const text4 = stripTags(dropHidden(dropComments(html)).replace(/<br\s*\/?>|<\/(p|div|li|tr|h\d)>/gi, "\n"));
|
|
350
|
+
return decodeEntities(text4.replace(/ /gi, " ")).replace(/(?<![ \t])[ \t]+\n/g, "\n").replace(/\n{3,}/g, "\n\n").trim();
|
|
351
|
+
}, "htmlToText");
|
|
352
|
+
|
|
353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
|
|
354
|
+
var DAY = 864e5;
|
|
355
|
+
var RECENT = 2 * 365 * DAY;
|
|
356
|
+
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/mail/sync.js
|
|
358
|
+
var DAY2 = 864e5;
|
|
359
|
+
var EDGE = 2 * DAY2;
|
|
360
|
+
|
|
100
361
|
// dist/crm/associations.js
|
|
101
362
|
var { fieldOf, id, number, rawsOf, text } = values_exports;
|
|
102
363
|
var associationsOf = /* @__PURE__ */ __name(async (post, from, to, ids) => {
|
|
@@ -172,15 +433,12 @@ var modifiedSince = /* @__PURE__ */ __name((modified, spot, limit, properties) =
|
|
|
172
433
|
|
|
173
434
|
// dist/crm/activities.js
|
|
174
435
|
var { id: id2, text: text2 } = values_exports;
|
|
175
|
-
var OVERLAP_MS = 10 * 6e4;
|
|
176
436
|
var CALL_OPEN = ["CALLING_CRM_USER", "CONNECTING", "IN_PROGRESS", "QUEUED", "RINGING"];
|
|
177
437
|
var EMAIL_OPEN = ["SCHEDULED", "SENDING"];
|
|
178
438
|
var COMMON = ["hubspot_owner_id", "hs_timestamp", "hs_createdate", "hs_lastmodifieddate"];
|
|
179
439
|
var plain = /* @__PURE__ */ __name((value) => {
|
|
180
440
|
const html = text2(value);
|
|
181
|
-
|
|
182
|
-
return null;
|
|
183
|
-
return text2(html.replace(/<br\s*\/?>|<\/p>|<\/div>|<\/li>/gi, "\n").replace(/<[^>]*>/g, "").replace(/ /g, " ").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, '"').replace(/'/g, "'").replace(/&/g, "&"));
|
|
441
|
+
return html === null ? null : text2(htmlToText2(html));
|
|
184
442
|
}, "plain");
|
|
185
443
|
var CONTACTS_SCOPE = "crm.objects.contacts.read";
|
|
186
444
|
var ENGAGEMENTS = [
|
|
@@ -346,7 +604,6 @@ var readActivities = /* @__PURE__ */ __name(async (caller, since, page, context,
|
|
|
346
604
|
|
|
347
605
|
// dist/crm/source.js
|
|
348
606
|
var { id: id3, text: text3 } = values_exports;
|
|
349
|
-
var OVERLAP_MS2 = 10 * 6e4;
|
|
350
607
|
var LIST_PAGE = 100;
|
|
351
608
|
var PIPELINES = { deal: "deals", lead: "leads" };
|
|
352
609
|
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");
|
|
@@ -372,13 +629,13 @@ var asked = /* @__PURE__ */ __name((raw, types) => {
|
|
|
372
629
|
associations: { ...Object.fromEntries(types.map((type) => [type, { results: [] }])), ...held }
|
|
373
630
|
};
|
|
374
631
|
}, "asked");
|
|
375
|
-
var liveField = /* @__PURE__ */ __name((kind,
|
|
632
|
+
var liveField = /* @__PURE__ */ __name((kind, field2) => ({
|
|
376
633
|
assigned_to: "hubspot_owner_id",
|
|
377
634
|
created_at: OBJECTS[kind].created,
|
|
378
635
|
updated_at: OBJECTS[kind].modified,
|
|
379
636
|
// A company's own `type` property (Prospect, Partner…), as b24 maps `type` to its company type.
|
|
380
637
|
...kind === "organization" ? { type: "type" } : {}
|
|
381
|
-
})[
|
|
638
|
+
})[field2], "liveField");
|
|
382
639
|
var MAX_PROPERTIES_CHARS = 6e3;
|
|
383
640
|
var fitted = /* @__PURE__ */ __name((own, custom) => {
|
|
384
641
|
const kept = [...own];
|
|
@@ -405,10 +662,10 @@ var OPERATORS = {
|
|
|
405
662
|
"<=": "LTE",
|
|
406
663
|
in: "IN"
|
|
407
664
|
};
|
|
408
|
-
var filtersOf = /* @__PURE__ */ __name((kind, conditions, defined) => conditions.map(({ field, op, value }) => {
|
|
409
|
-
const propertyName = liveField(kind,
|
|
665
|
+
var filtersOf = /* @__PURE__ */ __name((kind, conditions, defined) => conditions.map(({ field: field2, op, value }) => {
|
|
666
|
+
const propertyName = liveField(kind, field2) ?? defined.find((one) => one.code === field2)?.code;
|
|
410
667
|
if (!propertyName)
|
|
411
|
-
throw new CliError("validation_error", `${SERVICE} cannot filter ${OBJECTS[kind].name} by ${
|
|
668
|
+
throw new CliError("validation_error", `${SERVICE} cannot filter ${OBJECTS[kind].name} by ${field2}`, {
|
|
412
669
|
reason: "query.unsupported-field"
|
|
413
670
|
});
|
|
414
671
|
if (Array.isArray(value))
|
|
@@ -515,7 +772,7 @@ var hubspotCrmSource = /* @__PURE__ */ __name((hub, options = {}) => {
|
|
|
515
772
|
const next2 = nextOf(body);
|
|
516
773
|
return next2 ? { items: items2, hasMore: true, nextCursor: `l${next2}@${started}` } : { items: items2, ...ended };
|
|
517
774
|
}
|
|
518
|
-
const spot = saved ?? { from: since -
|
|
775
|
+
const spot = saved ?? { from: since - OVERLAP_MS, offset: 0 };
|
|
519
776
|
const { rows, more } = await search(caller.post, type.path, modifiedSince(type.modified, spot, searchPage, properties));
|
|
520
777
|
const items = await mapped(kind, await associate(type, rows, caller, everyLink(type)), defined, caller);
|
|
521
778
|
if (!more)
|
|
@@ -655,7 +912,6 @@ var hubspotCrmSource = /* @__PURE__ */ __name((hub, options = {}) => {
|
|
|
655
912
|
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";
|
|
656
913
|
export {
|
|
657
914
|
MAX_PROPERTIES_CHARS,
|
|
658
|
-
OVERLAP_MS2 as OVERLAP_MS,
|
|
659
915
|
fitted,
|
|
660
916
|
hubspotCrmSource
|
|
661
917
|
};
|
|
@@ -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-
|
|
12
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-BN22EKQQ.js";
|
|
8
|
+
import "./chunk-NZGI74GS.js";
|
|
9
|
+
import "./chunk-JUKAIXKY.js";
|
|
10
|
+
import "./chunk-X5S5KUSU.js";
|
|
11
|
+
import "./chunk-J5P5VSRG.js";
|
|
12
|
+
import "./chunk-S4UUN6LD.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-BUGROVF3.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-
|
|
20
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-A6UFH3QU.js";
|
|
16
|
+
import "./chunk-5YNAVVCW.js";
|
|
17
|
+
import "./chunk-IXZLMFPO.js";
|
|
18
|
+
import "./chunk-X5S5KUSU.js";
|
|
19
|
+
import "./chunk-J5P5VSRG.js";
|
|
20
|
+
import "./chunk-S4UUN6LD.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-BUGROVF3.js";
|
|
23
23
|
import "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
export {
|
|
25
25
|
ACCESS_SECONDS,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
snapshotProjectAnnotations,
|
|
9
9
|
storeDamageReport,
|
|
10
10
|
storeHealth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JK2SNLU5.js";
|
|
12
12
|
import {
|
|
13
13
|
note
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3DIXAEGH.js";
|
|
15
15
|
import {
|
|
16
16
|
ADDED_KINDS,
|
|
17
17
|
ALWAYS_SHOWN,
|
|
@@ -97,9 +97,10 @@ import {
|
|
|
97
97
|
validateEvidenceFindings,
|
|
98
98
|
waitingPointer,
|
|
99
99
|
withoutField
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-7LQRXVQ3.js";
|
|
101
|
+
import "./chunk-7UEL65GQ.js";
|
|
102
|
+
import "./chunk-WRCKE5ND.js";
|
|
103
|
+
import "./chunk-Q27QAB4X.js";
|
|
103
104
|
import {
|
|
104
105
|
CLOSED_STATES,
|
|
105
106
|
FACT_STATUSES,
|
|
@@ -128,40 +129,40 @@ import {
|
|
|
128
129
|
readJournalMark,
|
|
129
130
|
recordDeepCheck,
|
|
130
131
|
reminder
|
|
131
|
-
} from "./chunk-
|
|
132
|
-
import "./chunk-
|
|
133
|
-
import "./chunk-
|
|
134
|
-
import "./chunk-
|
|
135
|
-
import "./chunk-
|
|
136
|
-
import "./chunk-
|
|
132
|
+
} from "./chunk-IBTMK5KD.js";
|
|
133
|
+
import "./chunk-DW23LM47.js";
|
|
134
|
+
import "./chunk-4DNHXRCJ.js";
|
|
135
|
+
import "./chunk-IQ2XZ62J.js";
|
|
136
|
+
import "./chunk-JP2HJXFO.js";
|
|
137
|
+
import "./chunk-DQB5JMTY.js";
|
|
137
138
|
import {
|
|
138
139
|
BUSINESS_KINDS
|
|
139
|
-
} from "./chunk-
|
|
140
|
-
import "./chunk-
|
|
141
|
-
import "./chunk-
|
|
140
|
+
} from "./chunk-GC6FLHZF.js";
|
|
141
|
+
import "./chunk-NNMU2TDU.js";
|
|
142
|
+
import "./chunk-CBCEMFCF.js";
|
|
142
143
|
import {
|
|
143
144
|
FACT_TYPES,
|
|
144
145
|
PAYMENT_DIRECTIONS,
|
|
145
146
|
PAYMENT_STATES,
|
|
146
147
|
paymentTitle,
|
|
147
148
|
validatePayment
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-
|
|
149
|
+
} from "./chunk-LT5KE44Q.js";
|
|
150
|
+
import "./chunk-DSRXCLPO.js";
|
|
150
151
|
import {
|
|
151
152
|
storePath
|
|
152
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-3PEKYGZ3.js";
|
|
153
154
|
import {
|
|
154
155
|
openCache
|
|
155
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-NZGI74GS.js";
|
|
156
157
|
import {
|
|
157
158
|
PRAGMAS
|
|
158
|
-
} from "./chunk-
|
|
159
|
-
import "./chunk-
|
|
160
|
-
import "./chunk-
|
|
161
|
-
import "./chunk-
|
|
159
|
+
} from "./chunk-JUKAIXKY.js";
|
|
160
|
+
import "./chunk-X5S5KUSU.js";
|
|
161
|
+
import "./chunk-J5P5VSRG.js";
|
|
162
|
+
import "./chunk-S4UUN6LD.js";
|
|
162
163
|
import "./chunk-Y5E2WNWB.js";
|
|
163
|
-
import "./chunk-
|
|
164
|
-
import "./chunk-
|
|
164
|
+
import "./chunk-BUGROVF3.js";
|
|
165
|
+
import "./chunk-GRFICQTZ.js";
|
|
165
166
|
import "./chunk-ZVVMGPBJ.js";
|
|
166
167
|
export {
|
|
167
168
|
ADDED_KINDS,
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PROVIDER,
|
|
5
|
+
openHubspotStore
|
|
6
|
+
} from "./chunk-Z6ZQVYIE.js";
|
|
7
|
+
import "./chunk-LTVYGXWT.js";
|
|
8
|
+
import "./chunk-TIHDBKA7.js";
|
|
9
|
+
import "./chunk-EH6ZEJGT.js";
|
|
10
|
+
import "./chunk-WGBVRDY3.js";
|
|
11
|
+
import "./chunk-SEELWPRD.js";
|
|
12
|
+
import "./chunk-3TEFE6YU.js";
|
|
13
|
+
import "./chunk-IQ2XZ62J.js";
|
|
14
|
+
import "./chunk-JP2HJXFO.js";
|
|
15
|
+
import "./chunk-DQB5JMTY.js";
|
|
16
|
+
import "./chunk-GC6FLHZF.js";
|
|
17
|
+
import "./chunk-NNMU2TDU.js";
|
|
18
|
+
import "./chunk-CBCEMFCF.js";
|
|
19
|
+
import "./chunk-LT5KE44Q.js";
|
|
20
|
+
import "./chunk-DSRXCLPO.js";
|
|
21
|
+
import "./chunk-ITGNDZRR.js";
|
|
22
|
+
import "./chunk-KVXEEKBB.js";
|
|
23
|
+
import "./chunk-X5S5KUSU.js";
|
|
24
|
+
import "./chunk-J5P5VSRG.js";
|
|
25
|
+
import "./chunk-S4UUN6LD.js";
|
|
26
|
+
import "./chunk-Y5E2WNWB.js";
|
|
27
|
+
import "./chunk-BUGROVF3.js";
|
|
28
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
29
|
+
export {
|
|
30
|
+
PROVIDER,
|
|
31
|
+
openHubspotStore
|
|
32
|
+
};
|