@wirecat/amo-cli 0.2.0 → 0.4.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 +47 -0
- package/README.md +19 -14
- package/contracts/wirecat.json +58 -19
- package/dist/amo/button.d.ts +53 -0
- package/dist/amo/button.d.ts.map +1 -0
- package/dist/amo/button.js +234 -0
- package/dist/amo/button.js.map +1 -0
- package/dist/amo/oauth.d.ts +12 -3
- package/dist/amo/oauth.d.ts.map +1 -1
- package/dist/amo/oauth.js +19 -6
- package/dist/amo/oauth.js.map +1 -1
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-43BMVBX2.js +40 -0
- package/dist/bundle/{all-profiles-3KQVWDV4.js → all-profiles-PRNXEZRH.js} +63 -21
- package/dist/bundle/amo.js +28 -26
- package/dist/bundle/{anthropic-N5NOX7K7.js → anthropic-FDI24DU2.js} +5 -5
- package/dist/bundle/{app-server-2MST5EZ5.js → app-server-WAKJVDLN.js} +79 -68
- package/dist/bundle/{bun-4NHWOFX2.js → bun-YPXUXMBI.js} +2 -2
- package/dist/bundle/{bun-sqlite-DRSXPWPR.js → bun-sqlite-UBQ5M47X.js} +6 -6
- package/dist/bundle/chunk-23AQD7JU.js +559 -0
- package/dist/bundle/{chunk-2I5UVMLW.js → chunk-2AIG2SSJ.js} +1733 -1160
- package/dist/bundle/{chunk-DQV2IKCF.js → chunk-2UJ7ZZZC.js} +10 -3
- package/dist/bundle/{chunk-ODNQU7DH.js → chunk-3K6T2G52.js} +43 -64
- package/dist/bundle/chunk-3PCVQCCV.js +108 -0
- package/dist/bundle/{chunk-UMVRT7VQ.js → chunk-3WG4MTQI.js} +1 -1
- package/dist/bundle/chunk-4PQECIU2.js +30 -0
- package/dist/bundle/{chunk-T2UDLX76.js → chunk-5HZMXHRH.js} +6 -6
- package/dist/bundle/{chunk-P3WQRTYZ.js → chunk-5II6TAJE.js} +1 -1
- package/dist/bundle/{chunk-RPWAJYI6.js → chunk-5SJEJYQZ.js} +3 -3
- package/dist/bundle/{chunk-5QFHNBGB.js → chunk-6PILR4AX.js} +2 -2
- package/dist/bundle/{chunk-TNUFLULO.js → chunk-6QMSKJB4.js} +8 -8
- package/dist/bundle/{chunk-5RLUHTK6.js → chunk-745FMNI5.js} +1 -1
- package/dist/bundle/{chunk-AUBB72VF.js → chunk-7OVTUADG.js} +41 -10
- package/dist/bundle/{chunk-7U5HJEPZ.js → chunk-A4W7J6VN.js} +34 -22
- package/dist/bundle/chunk-ABMPZL2P.js +734 -0
- package/dist/bundle/{chunk-EROSAUNP.js → chunk-AN6IJYH3.js} +5 -5
- package/dist/bundle/{chunk-SZ2V62HB.js → chunk-AP3CWDRK.js} +2 -2
- package/dist/bundle/{chunk-ESZSMZKT.js → chunk-ASU63X5C.js} +2 -2
- package/dist/bundle/{chunk-EPOV5UIO.js → chunk-BCIZAUDV.js} +11 -11
- package/dist/bundle/{chunk-7PKFYX7V.js → chunk-CEBX63XY.js} +8 -8
- package/dist/bundle/{chunk-7GTUZY7M.js → chunk-CYHIM5SL.js} +3 -3
- package/dist/bundle/chunk-DWA5TZMP.js +209 -0
- package/dist/bundle/{chunk-LDEBZ3IX.js → chunk-DWD3KDJA.js} +1 -1
- package/dist/bundle/{chunk-GQ7VFIYM.js → chunk-E3EWS6DF.js} +23 -7
- package/dist/bundle/{chunk-NJYAL3UW.js → chunk-EAX5RO7S.js} +1 -1
- package/dist/bundle/{chunk-LJQUYECN.js → chunk-EBNCUQLV.js} +1 -1
- package/dist/bundle/{chunk-UBRREVLJ.js → chunk-ELAKOEIO.js} +2 -2
- package/dist/bundle/{chunk-DAY6TSPF.js → chunk-FEUNZG7U.js} +62 -50
- package/dist/bundle/{chunk-63F65DHU.js → chunk-FQRP6JWX.js} +2 -2
- package/dist/bundle/{chunk-SMSTGO2G.js → chunk-G3LAYJJJ.js} +4 -4
- package/dist/bundle/{chunk-LGQXGOPJ.js → chunk-GBQ76X6T.js} +2 -2
- package/dist/bundle/{chunk-CHUKWON6.js → chunk-GJBOZAUD.js} +3 -3
- package/dist/bundle/{chunk-A33TIM5D.js → chunk-GMHRPX5M.js} +225 -225
- package/dist/bundle/{chunk-O2UCU52O.js → chunk-GQKEMBM6.js} +171 -569
- package/dist/bundle/{chunk-EQUKVVHX.js → chunk-HDZNSOV5.js} +7 -7
- package/dist/bundle/{chunk-ZM7I52EP.js → chunk-HZZ56JO7.js} +3 -4
- package/dist/bundle/{chunk-XQL7FEF4.js → chunk-IBEHYGG6.js} +9 -9
- package/dist/bundle/{chunk-U7RLVJ34.js → chunk-IPNIF5JE.js} +4 -4
- package/dist/bundle/{chunk-QDMXZZG4.js → chunk-KBAOJISR.js} +18 -8
- package/dist/bundle/{chunk-ADEWU4P4.js → chunk-KORZEYZN.js} +1 -1
- package/dist/bundle/{chunk-JMDLPBXK.js → chunk-KQZTX4LM.js} +17 -17
- package/dist/bundle/{chunk-NHXJYS4R.js → chunk-KRD375P7.js} +32 -28
- package/dist/bundle/{chunk-ULXQ5MJM.js → chunk-LAR2DLTI.js} +4 -4
- package/dist/bundle/{chunk-NC76INB2.js → chunk-LZ4IWN43.js} +3088 -2266
- package/dist/bundle/{chunk-BVMNXI53.js → chunk-M33XHJTM.js} +25 -25
- package/dist/bundle/{chunk-WCYCUTSK.js → chunk-M54YKD3I.js} +7 -7
- package/dist/bundle/{chunk-LSND5QYI.js → chunk-MW7HUD6R.js} +9 -9
- package/dist/bundle/{chunk-AHJ4W2IL.js → chunk-NFWD4QX3.js} +2 -2
- package/dist/bundle/{chunk-PM77PRB6.js → chunk-NKYWQTS2.js} +189 -163
- package/dist/bundle/{chunk-LRBPT7LQ.js → chunk-NXNUCGGO.js} +6 -6
- package/dist/bundle/{chunk-5D4Z2B5B.js → chunk-O3WE5IGP.js} +9 -9
- package/dist/bundle/chunk-OYMHPQF7.js +52 -0
- package/dist/bundle/{chunk-VVHRQ46X.js → chunk-PIOR6PIO.js} +2 -2
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-XEFAMLSD.js → chunk-PL7TNKAY.js} +3 -3
- package/dist/bundle/chunk-PLU2IQXC.js +80 -0
- package/dist/bundle/{chunk-73CXFE36.js → chunk-QGFURWEP.js} +29 -1
- package/dist/bundle/{chunk-CDY2NJFE.js → chunk-RQPB2BSH.js} +2 -2
- package/dist/bundle/{chunk-QRQYUHCZ.js → chunk-S6DTLAOB.js} +12 -12
- package/dist/bundle/{chunk-DJD7TBYG.js → chunk-SCMB4LI6.js} +76 -74
- package/dist/bundle/{chunk-TGEQNS6G.js → chunk-SFZVMKB6.js} +1 -1
- package/dist/bundle/{chunk-PFO76YFP.js → chunk-SHOSFYI7.js} +18 -18
- package/dist/bundle/{chunk-5SBLU7D7.js → chunk-SMM7GS4Q.js} +1 -1
- package/dist/bundle/{chunk-EQ7A6NA6.js → chunk-SNBYFQHT.js} +1 -1
- package/dist/bundle/{chunk-GNTJMB6X.js → chunk-SZX7EPPY.js} +4 -4
- package/dist/bundle/{chunk-VX37MPTJ.js → chunk-TCSVW7BA.js} +1 -1
- package/dist/bundle/{chunk-P5LYZRKW.js → chunk-TEGQVVCZ.js} +1992 -885
- package/dist/bundle/{chunk-Q2VNBY4Y.js → chunk-TIR3AB35.js} +758 -1205
- package/dist/bundle/{chunk-5HGGG3QO.js → chunk-U46RNOEQ.js} +16 -3
- package/dist/bundle/{chunk-Y37A3232.js → chunk-UCM7C773.js} +130 -8
- package/dist/bundle/{chunk-L6AFE73L.js → chunk-UEN5NWNW.js} +1 -1
- package/dist/bundle/{chunk-6RS7OYTD.js → chunk-V2QWX6B3.js} +3 -3
- package/dist/bundle/{chunk-3IRJDH2U.js → chunk-V5SETIQK.js} +2 -100
- package/dist/bundle/{chunk-JR6TSMFX.js → chunk-VEFAYLKX.js} +103 -70
- package/dist/bundle/{chunk-CUZRHF34.js → chunk-VG26HDKH.js} +4 -4
- package/dist/bundle/{chunk-4ZAK773N.js → chunk-VG2ERHFJ.js} +3 -3
- package/dist/bundle/{chunk-CHH42KI4.js → chunk-WAFB3IWJ.js} +8 -8
- package/dist/bundle/{chunk-5Z5PEEKP.js → chunk-WASBOYI2.js} +4 -4
- package/dist/bundle/{chunk-DXGGCGRP.js → chunk-WEWJA42Q.js} +14 -14
- package/dist/bundle/chunk-WR2FPZTE.js +353 -0
- package/dist/bundle/chunk-XEYT2EQT.js +338 -0
- package/dist/bundle/{chunk-DOSJONCX.js → chunk-YFRTEJ6V.js} +7 -7
- package/dist/bundle/{chunk-XRTD2GCU.js → chunk-YHVHDRED.js} +19 -258
- package/dist/bundle/{chunk-JH3UOHRE.js → chunk-YREKMP24.js} +4 -4
- package/dist/bundle/{chunk-V77XNPXG.js → chunk-Z2B3VNRI.js} +11 -11
- package/dist/bundle/{chunk-FKR3M62D.js → chunk-ZJC2XJQC.js} +13 -13
- package/dist/bundle/{chunk-5E5R65CA.js → chunk-ZKRWNL4T.js} +2 -2
- package/dist/bundle/{cli-QVWTXADI.js → cli-QDPKC2HJ.js} +150 -103
- package/dist/bundle/command-contract-KWNCP3MQ.js +39 -0
- package/dist/bundle/{command-server-entry-5VL5U5EE.js → command-server-entry-TX7WNN7G.js} +28 -28
- package/dist/bundle/{decode-SQ5WGNDX.js → decode-BLPC7OYE.js} +5 -5
- package/dist/bundle/{dispatch-LA4DFXJD.js → dispatch-5JUT55CS.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-25Z3RINX.js → echarts-54D3FOCL.js} +2 -2
- package/dist/bundle/{embed-BNOTNXMA.js → embed-O7KMDYM7.js} +6 -6
- package/dist/bundle/{embedder-BCUT7KKV.js → embedder-4PE67CLX.js} +9 -9
- package/dist/bundle/{failure-PKAC6XCT.js → failure-NNQYTB3Z.js} +2 -2
- package/dist/bundle/{first-run-EO5K5GME.js → first-run-EAU5SHBI.js} +12 -12
- package/dist/bundle/first-screen-APSNGZYZ.js +39 -0
- package/dist/bundle/{instructions-VLM3QAYB.js → instructions-ONXP5DZQ.js} +1 -1
- package/dist/bundle/{mcp-7ILNMJH5.js → mcp-ZNULRPZ4.js} +2 -2
- package/dist/bundle/meeting-combined-W2XIYXFU.js +24 -0
- package/dist/bundle/{meeting-model-GHMMUQ34.js → meeting-model-FWIZRKVN.js} +11 -11
- package/dist/bundle/{meeting-semantic-BMP6323L.js → meeting-semantic-M4YVJ57W.js} +6 -6
- package/dist/bundle/{node-CT3N3TNL.js → node-UTQCYQF5.js} +2 -2
- package/dist/bundle/{node-sqlite-MELD2SBX.js → node-sqlite-APJG6MGL.js} +7 -7
- package/dist/bundle/{oauth-YBH5OKC2.js → oauth-TY7RMIBL.js} +8 -8
- package/dist/bundle/{open-WNSBWTAG.js → open-WDVEQL75.js} +5 -5
- package/dist/bundle/{openai-XSNMNLW6.js → openai-H5UJHSEZ.js} +15 -15
- package/dist/bundle/{process-I2QKOMM7.js → process-MGMXXPMY.js} +1 -1
- package/dist/bundle/{program-G6O3IJR2.js → program-IF36C6VR.js} +969 -1127
- package/dist/bundle/{prompt-SOG4AKPM.js → prompt-4RLIWLMF.js} +5 -5
- package/dist/bundle/{recognize-WMQLWMXH.js → recognize-UIRTMWM4.js} +4 -4
- package/dist/bundle/{remote-4BTFOLFY.js → remote-L3MNWZQK.js} +9 -9
- package/dist/bundle/{rerank-LJ3TWRNV.js → rerank-F4KZQTY6.js} +7 -7
- package/dist/bundle/{serve-B6UANKXN.js → serve-37AUYTWS.js} +10 -10
- package/dist/bundle/server-CRF4QSZR.js +86 -0
- package/dist/bundle/{server-YRH6GJ5Z.js → server-UBG676ZJ.js} +73 -61
- package/dist/bundle/source-Z7GH7T4B.js +44 -0
- package/dist/bundle/{sqlite-runtime-R7QFWFE7.js → sqlite-runtime-CI3RW7VA.js} +6 -6
- package/dist/bundle/{state-DIJ5YUOE.js → state-JOHLSLUO.js} +6 -6
- package/dist/bundle/{store-MYTYDV6A.js → store-2MBG4IUS.js} +28 -21
- package/dist/bundle/{store-6WFWW7EC.js → store-OSOUXBYL.js} +28 -23
- package/dist/bundle/store-SNW6U32Y.js +34 -0
- package/dist/bundle/store-maintenance-command-W7V54SLT.js +73 -0
- package/dist/bundle/surface-ESJS2FUI.js +72 -0
- package/dist/bundle/writer-BJDQMKUV.js +46 -0
- package/dist/commands/account.d.ts +3 -2
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +38 -77
- 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 +23 -6
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +122 -77
- package/dist/commands/session.js.map +1 -1
- package/dist/identity.js +1 -1
- package/dist/identity.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.js +2 -2
- package/dist/reasons.js.map +1 -1
- package/dist/setup/flow.d.ts.map +1 -1
- package/dist/setup/flow.js +74 -4
- package/dist/setup/flow.js.map +1 -1
- package/dist/setup/texts.en.json +22 -1
- package/dist/setup/texts.es.json +22 -1
- package/dist/setup/texts.ru.json +22 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/amo-cli/references/setup.md +8 -2
- package/dist/bundle/command-contract-QBUQBXH7.js +0 -39
- package/dist/bundle/first-screen-GMN3T6RW.js +0 -39
- package/dist/bundle/meeting-combined-LAMF7S2B.js +0 -24
- package/dist/bundle/server-S6XD6V6E.js +0 -77
- package/dist/bundle/source-DGFTA2TN.js +0 -42
- package/dist/bundle/store-CHWY2USQ.js +0 -32
- package/dist/bundle/store-maintenance-command-B5TMKFMG.js +0 -68
- package/dist/bundle/writer-GP7VIMAU.js +0 -44
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
snapshotProjectAnnotations,
|
|
9
9
|
storeDamageReport,
|
|
10
10
|
storeHealth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KQZTX4LM.js";
|
|
12
12
|
import {
|
|
13
13
|
note
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-V2QWX6B3.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,9 +99,10 @@ import {
|
|
|
97
99
|
validateEvidenceFindings,
|
|
98
100
|
waitingPointer,
|
|
99
101
|
withoutField
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-
|
|
102
|
+
} from "./chunk-TEGQVVCZ.js";
|
|
103
|
+
import "./chunk-6QMSKJB4.js";
|
|
104
|
+
import "./chunk-PLU2IQXC.js";
|
|
105
|
+
import "./chunk-IBEHYGG6.js";
|
|
103
106
|
import {
|
|
104
107
|
CLOSED_STATES,
|
|
105
108
|
FACT_STATUSES,
|
|
@@ -128,39 +131,39 @@ import {
|
|
|
128
131
|
readJournalMark,
|
|
129
132
|
recordDeepCheck,
|
|
130
133
|
reminder
|
|
131
|
-
} from "./chunk-
|
|
132
|
-
import "./chunk-
|
|
133
|
-
import "./chunk-
|
|
134
|
-
import "./chunk-
|
|
135
|
-
import "./chunk-
|
|
136
|
-
import "./chunk-TGEQNS6G.js";
|
|
134
|
+
} from "./chunk-M33XHJTM.js";
|
|
135
|
+
import "./chunk-ELAKOEIO.js";
|
|
136
|
+
import "./chunk-SHOSFYI7.js";
|
|
137
|
+
import "./chunk-2UJ7ZZZC.js";
|
|
138
|
+
import "./chunk-SFZVMKB6.js";
|
|
137
139
|
import {
|
|
138
140
|
BUSINESS_KINDS
|
|
139
|
-
} from "./chunk-
|
|
140
|
-
import "./chunk-
|
|
141
|
-
import "./chunk-
|
|
141
|
+
} from "./chunk-S6DTLAOB.js";
|
|
142
|
+
import "./chunk-EAX5RO7S.js";
|
|
143
|
+
import "./chunk-FQRP6JWX.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
|
+
} from "./chunk-GMHRPX5M.js";
|
|
151
|
+
import "./chunk-TCSVW7BA.js";
|
|
152
|
+
import "./chunk-YFRTEJ6V.js";
|
|
150
153
|
import {
|
|
151
154
|
storePath
|
|
152
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-ZKRWNL4T.js";
|
|
153
156
|
import {
|
|
154
157
|
openCache
|
|
155
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-NXNUCGGO.js";
|
|
156
159
|
import {
|
|
157
160
|
PRAGMAS
|
|
158
|
-
} from "./chunk-
|
|
159
|
-
import "./chunk-
|
|
160
|
-
import "./chunk-
|
|
161
|
+
} from "./chunk-KORZEYZN.js";
|
|
162
|
+
import "./chunk-SCMB4LI6.js";
|
|
163
|
+
import "./chunk-7OVTUADG.js";
|
|
161
164
|
import "./chunk-Y5E2WNWB.js";
|
|
162
|
-
import "./chunk-
|
|
163
|
-
import "./chunk-
|
|
165
|
+
import "./chunk-AP3CWDRK.js";
|
|
166
|
+
import "./chunk-EBNCUQLV.js";
|
|
164
167
|
import "./chunk-ZVVMGPBJ.js";
|
|
165
168
|
export {
|
|
166
169
|
ADDED_KINDS,
|
|
@@ -177,7 +180,9 @@ export {
|
|
|
177
180
|
DECISION_TTL_MS,
|
|
178
181
|
DEFAULT_DECISION_POLICY,
|
|
179
182
|
DEFAULT_OWNER_LANGUAGES,
|
|
183
|
+
DOCUMENT_EVENTS,
|
|
180
184
|
DOCUMENT_KINDS,
|
|
185
|
+
DOCUMENT_REMOVALS,
|
|
181
186
|
DOUBT_REASONS,
|
|
182
187
|
EVENT_FIELDS,
|
|
183
188
|
EVIDENCE_FINDINGS_KIND,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PROVIDER,
|
|
5
|
+
openAmoStore
|
|
6
|
+
} from "./chunk-6PILR4AX.js";
|
|
7
|
+
import "./chunk-WAFB3IWJ.js";
|
|
8
|
+
import "./chunk-RQPB2BSH.js";
|
|
9
|
+
import "./chunk-PIOR6PIO.js";
|
|
10
|
+
import "./chunk-EH6ZEJGT.js";
|
|
11
|
+
import "./chunk-UCM7C773.js";
|
|
12
|
+
import "./chunk-MW7HUD6R.js";
|
|
13
|
+
import "./chunk-KBAOJISR.js";
|
|
14
|
+
import "./chunk-SHOSFYI7.js";
|
|
15
|
+
import "./chunk-2UJ7ZZZC.js";
|
|
16
|
+
import "./chunk-SFZVMKB6.js";
|
|
17
|
+
import "./chunk-S6DTLAOB.js";
|
|
18
|
+
import "./chunk-EAX5RO7S.js";
|
|
19
|
+
import "./chunk-FQRP6JWX.js";
|
|
20
|
+
import "./chunk-GMHRPX5M.js";
|
|
21
|
+
import "./chunk-TCSVW7BA.js";
|
|
22
|
+
import "./chunk-YFRTEJ6V.js";
|
|
23
|
+
import "./chunk-VG2ERHFJ.js";
|
|
24
|
+
import "./chunk-ASU63X5C.js";
|
|
25
|
+
import "./chunk-ZKRWNL4T.js";
|
|
26
|
+
import "./chunk-SCMB4LI6.js";
|
|
27
|
+
import "./chunk-7OVTUADG.js";
|
|
28
|
+
import "./chunk-Y5E2WNWB.js";
|
|
29
|
+
import "./chunk-AP3CWDRK.js";
|
|
30
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
31
|
+
export {
|
|
32
|
+
PROVIDER,
|
|
33
|
+
openAmoStore
|
|
34
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
addStoreMaintenanceCommands,
|
|
5
|
+
buildStems,
|
|
6
|
+
storeMaintenanceCommands,
|
|
7
|
+
storeSummary
|
|
8
|
+
} from "./chunk-VEFAYLKX.js";
|
|
9
|
+
import "./chunk-A4W7J6VN.js";
|
|
10
|
+
import "./chunk-WR2FPZTE.js";
|
|
11
|
+
import "./chunk-XEYT2EQT.js";
|
|
12
|
+
import "./chunk-TIR3AB35.js";
|
|
13
|
+
import "./chunk-ZJC2XJQC.js";
|
|
14
|
+
import "./chunk-2AIG2SSJ.js";
|
|
15
|
+
import "./chunk-QGFURWEP.js";
|
|
16
|
+
import "./chunk-SZX7EPPY.js";
|
|
17
|
+
import "./chunk-3WG4MTQI.js";
|
|
18
|
+
import "./chunk-4PQECIU2.js";
|
|
19
|
+
import "./chunk-ABMPZL2P.js";
|
|
20
|
+
import "./chunk-LAR2DLTI.js";
|
|
21
|
+
import "./chunk-5HZMXHRH.js";
|
|
22
|
+
import "./chunk-Z2B3VNRI.js";
|
|
23
|
+
import "./chunk-CYHIM5SL.js";
|
|
24
|
+
import "./chunk-U46RNOEQ.js";
|
|
25
|
+
import "./chunk-NKYWQTS2.js";
|
|
26
|
+
import "./chunk-M54YKD3I.js";
|
|
27
|
+
import "./chunk-G3LAYJJJ.js";
|
|
28
|
+
import "./chunk-O3WE5IGP.js";
|
|
29
|
+
import "./chunk-SMM7GS4Q.js";
|
|
30
|
+
import "./chunk-KQZTX4LM.js";
|
|
31
|
+
import "./chunk-V2QWX6B3.js";
|
|
32
|
+
import "./chunk-TEGQVVCZ.js";
|
|
33
|
+
import "./chunk-6QMSKJB4.js";
|
|
34
|
+
import "./chunk-PLU2IQXC.js";
|
|
35
|
+
import "./chunk-IBEHYGG6.js";
|
|
36
|
+
import "./chunk-M33XHJTM.js";
|
|
37
|
+
import "./chunk-ELAKOEIO.js";
|
|
38
|
+
import "./chunk-BCIZAUDV.js";
|
|
39
|
+
import "./chunk-E3EWS6DF.js";
|
|
40
|
+
import "./chunk-3K6T2G52.js";
|
|
41
|
+
import "./chunk-IPNIF5JE.js";
|
|
42
|
+
import "./chunk-PIOR6PIO.js";
|
|
43
|
+
import "./chunk-EH6ZEJGT.js";
|
|
44
|
+
import "./chunk-MW7HUD6R.js";
|
|
45
|
+
import "./chunk-745FMNI5.js";
|
|
46
|
+
import "./chunk-KBAOJISR.js";
|
|
47
|
+
import "./chunk-SHOSFYI7.js";
|
|
48
|
+
import "./chunk-2UJ7ZZZC.js";
|
|
49
|
+
import "./chunk-SFZVMKB6.js";
|
|
50
|
+
import "./chunk-S6DTLAOB.js";
|
|
51
|
+
import "./chunk-EAX5RO7S.js";
|
|
52
|
+
import "./chunk-FQRP6JWX.js";
|
|
53
|
+
import "./chunk-GMHRPX5M.js";
|
|
54
|
+
import "./chunk-TCSVW7BA.js";
|
|
55
|
+
import "./chunk-YFRTEJ6V.js";
|
|
56
|
+
import "./chunk-D72URWJE.js";
|
|
57
|
+
import "./chunk-VG2ERHFJ.js";
|
|
58
|
+
import "./chunk-ASU63X5C.js";
|
|
59
|
+
import "./chunk-ZKRWNL4T.js";
|
|
60
|
+
import "./chunk-NXNUCGGO.js";
|
|
61
|
+
import "./chunk-KORZEYZN.js";
|
|
62
|
+
import "./chunk-SCMB4LI6.js";
|
|
63
|
+
import "./chunk-7OVTUADG.js";
|
|
64
|
+
import "./chunk-Y5E2WNWB.js";
|
|
65
|
+
import "./chunk-AP3CWDRK.js";
|
|
66
|
+
import "./chunk-EBNCUQLV.js";
|
|
67
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
68
|
+
export {
|
|
69
|
+
addStoreMaintenanceCommands,
|
|
70
|
+
buildStems,
|
|
71
|
+
storeMaintenanceCommands,
|
|
72
|
+
storeSummary
|
|
73
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
normal,
|
|
5
|
+
outputOf,
|
|
6
|
+
registerCommands,
|
|
7
|
+
search,
|
|
8
|
+
surfaceCommands
|
|
9
|
+
} from "./chunk-23AQD7JU.js";
|
|
10
|
+
import "./chunk-DWA5TZMP.js";
|
|
11
|
+
import "./chunk-TIR3AB35.js";
|
|
12
|
+
import "./chunk-ZJC2XJQC.js";
|
|
13
|
+
import "./chunk-2AIG2SSJ.js";
|
|
14
|
+
import "./chunk-QGFURWEP.js";
|
|
15
|
+
import "./chunk-SZX7EPPY.js";
|
|
16
|
+
import "./chunk-3WG4MTQI.js";
|
|
17
|
+
import "./chunk-3PCVQCCV.js";
|
|
18
|
+
import "./chunk-4PQECIU2.js";
|
|
19
|
+
import "./chunk-ABMPZL2P.js";
|
|
20
|
+
import "./chunk-PL5P7UKW.js";
|
|
21
|
+
import "./chunk-LAR2DLTI.js";
|
|
22
|
+
import "./chunk-5HZMXHRH.js";
|
|
23
|
+
import "./chunk-Z2B3VNRI.js";
|
|
24
|
+
import "./chunk-CYHIM5SL.js";
|
|
25
|
+
import "./chunk-NKYWQTS2.js";
|
|
26
|
+
import "./chunk-M54YKD3I.js";
|
|
27
|
+
import "./chunk-G3LAYJJJ.js";
|
|
28
|
+
import "./chunk-O3WE5IGP.js";
|
|
29
|
+
import "./chunk-SMM7GS4Q.js";
|
|
30
|
+
import "./chunk-KQZTX4LM.js";
|
|
31
|
+
import "./chunk-V2QWX6B3.js";
|
|
32
|
+
import "./chunk-TEGQVVCZ.js";
|
|
33
|
+
import "./chunk-6QMSKJB4.js";
|
|
34
|
+
import "./chunk-PLU2IQXC.js";
|
|
35
|
+
import "./chunk-IBEHYGG6.js";
|
|
36
|
+
import "./chunk-M33XHJTM.js";
|
|
37
|
+
import "./chunk-ELAKOEIO.js";
|
|
38
|
+
import "./chunk-BCIZAUDV.js";
|
|
39
|
+
import "./chunk-E3EWS6DF.js";
|
|
40
|
+
import "./chunk-3K6T2G52.js";
|
|
41
|
+
import "./chunk-IPNIF5JE.js";
|
|
42
|
+
import "./chunk-UCM7C773.js";
|
|
43
|
+
import "./chunk-MW7HUD6R.js";
|
|
44
|
+
import "./chunk-745FMNI5.js";
|
|
45
|
+
import "./chunk-KBAOJISR.js";
|
|
46
|
+
import "./chunk-SHOSFYI7.js";
|
|
47
|
+
import "./chunk-2UJ7ZZZC.js";
|
|
48
|
+
import "./chunk-SFZVMKB6.js";
|
|
49
|
+
import "./chunk-S6DTLAOB.js";
|
|
50
|
+
import "./chunk-EAX5RO7S.js";
|
|
51
|
+
import "./chunk-FQRP6JWX.js";
|
|
52
|
+
import "./chunk-GMHRPX5M.js";
|
|
53
|
+
import "./chunk-TCSVW7BA.js";
|
|
54
|
+
import "./chunk-YFRTEJ6V.js";
|
|
55
|
+
import "./chunk-D72URWJE.js";
|
|
56
|
+
import "./chunk-ASU63X5C.js";
|
|
57
|
+
import "./chunk-ZKRWNL4T.js";
|
|
58
|
+
import "./chunk-NXNUCGGO.js";
|
|
59
|
+
import "./chunk-KORZEYZN.js";
|
|
60
|
+
import "./chunk-SCMB4LI6.js";
|
|
61
|
+
import "./chunk-7OVTUADG.js";
|
|
62
|
+
import "./chunk-Y5E2WNWB.js";
|
|
63
|
+
import "./chunk-AP3CWDRK.js";
|
|
64
|
+
import "./chunk-EBNCUQLV.js";
|
|
65
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
66
|
+
export {
|
|
67
|
+
normal,
|
|
68
|
+
outputOf,
|
|
69
|
+
registerCommands,
|
|
70
|
+
search,
|
|
71
|
+
surfaceCommands
|
|
72
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
AMO_WRITES,
|
|
5
|
+
amoCrmWriter
|
|
6
|
+
} from "./chunk-GJBOZAUD.js";
|
|
7
|
+
import "./chunk-DWD3KDJA.js";
|
|
8
|
+
import "./chunk-2AIG2SSJ.js";
|
|
9
|
+
import "./chunk-ABMPZL2P.js";
|
|
10
|
+
import "./chunk-NKYWQTS2.js";
|
|
11
|
+
import "./chunk-M54YKD3I.js";
|
|
12
|
+
import "./chunk-G3LAYJJJ.js";
|
|
13
|
+
import "./chunk-O3WE5IGP.js";
|
|
14
|
+
import "./chunk-SMM7GS4Q.js";
|
|
15
|
+
import "./chunk-V2QWX6B3.js";
|
|
16
|
+
import "./chunk-TEGQVVCZ.js";
|
|
17
|
+
import "./chunk-6QMSKJB4.js";
|
|
18
|
+
import "./chunk-PLU2IQXC.js";
|
|
19
|
+
import "./chunk-IBEHYGG6.js";
|
|
20
|
+
import "./chunk-M33XHJTM.js";
|
|
21
|
+
import "./chunk-ELAKOEIO.js";
|
|
22
|
+
import "./chunk-E3EWS6DF.js";
|
|
23
|
+
import "./chunk-IPNIF5JE.js";
|
|
24
|
+
import "./chunk-KBAOJISR.js";
|
|
25
|
+
import "./chunk-SHOSFYI7.js";
|
|
26
|
+
import "./chunk-2UJ7ZZZC.js";
|
|
27
|
+
import "./chunk-SFZVMKB6.js";
|
|
28
|
+
import "./chunk-S6DTLAOB.js";
|
|
29
|
+
import "./chunk-EAX5RO7S.js";
|
|
30
|
+
import "./chunk-FQRP6JWX.js";
|
|
31
|
+
import "./chunk-GMHRPX5M.js";
|
|
32
|
+
import "./chunk-TCSVW7BA.js";
|
|
33
|
+
import "./chunk-YFRTEJ6V.js";
|
|
34
|
+
import "./chunk-ZKRWNL4T.js";
|
|
35
|
+
import "./chunk-NXNUCGGO.js";
|
|
36
|
+
import "./chunk-KORZEYZN.js";
|
|
37
|
+
import "./chunk-SCMB4LI6.js";
|
|
38
|
+
import "./chunk-7OVTUADG.js";
|
|
39
|
+
import "./chunk-Y5E2WNWB.js";
|
|
40
|
+
import "./chunk-AP3CWDRK.js";
|
|
41
|
+
import "./chunk-EBNCUQLV.js";
|
|
42
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
43
|
+
export {
|
|
44
|
+
AMO_WRITES,
|
|
45
|
+
amoCrmWriter
|
|
46
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import type { CrmAccountOptions } from "@wirecat/cli-core/crm/cli";
|
|
2
|
+
/** The store names an amoCRM account by its host, and one account has several users. */
|
|
3
|
+
export declare const AMO_ACCOUNT: CrmAccountOptions;
|
|
3
4
|
//# sourceMappingURL=account.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/commands/account.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/commands/account.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AA4BlE,wFAAwF;AACxF,eAAO,MAAM,WAAW,EAAE,iBAiBzB,CAAA"}
|
package/dist/commands/account.js
CHANGED
|
@@ -1,86 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { annotate } from "@wirecat/cli-base/commands";
|
|
5
|
-
import { accountFileFor, accountRemoveCommand, LOCAL_READ, LOCAL_WRITE, profilesHere, } from "@wirecat/cli-core/cli";
|
|
6
|
-
import { oauthAccount } from "@wirecat/cli-core/oauth";
|
|
7
|
-
import { Command } from "commander";
|
|
8
|
-
import { PROVIDER as OAUTH_PROVIDER } from "../amo/oauth.js";
|
|
1
|
+
import { ProfileTokenStore, recalledAccount } from "@wirecat/cli-core/cli";
|
|
2
|
+
import { decodeSignIn } from "../amo/account.js";
|
|
3
|
+
import { appStorage } from "../amo/oauth.js";
|
|
9
4
|
import { configuration } from "../config.js";
|
|
10
|
-
import {
|
|
5
|
+
import { withoutKeyring } from "../context.js";
|
|
11
6
|
import { IDENTITY } from "../identity.js";
|
|
12
7
|
import { PROVIDER } from "../store.js";
|
|
13
|
-
import { signedInAs } from "./session.js";
|
|
14
8
|
/** What `session start` remembered, `<host>:<user id>`: it outlives `session end`, so a copy can still be found. */
|
|
15
|
-
const rememberedOf = (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const parts = typeof account === "string" ? /^(.+):(\d+)$/.exec(account) : null;
|
|
19
|
-
return parts?.[1] && parts[2] ? { host: parts[1], userId: parts[2] } : undefined;
|
|
20
|
-
}
|
|
21
|
-
catch {
|
|
22
|
-
return undefined;
|
|
23
|
-
}
|
|
9
|
+
const rememberedOf = (profile, env) => {
|
|
10
|
+
const parts = /^(.+):(\d+)$/.exec(recalledAccount(IDENTITY, PROVIDER.name, profile, env)?.account ?? "");
|
|
11
|
+
return parts?.[1] && parts[2] ? { account: parts[1], user: parts[2] } : undefined;
|
|
24
12
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return
|
|
31
|
-
|
|
13
|
+
/** The account host and user a profile's saved sign-in reaches, either kind; one from `AMO_TOKEN` is no profile's. */
|
|
14
|
+
const signedInAs = (profile, env, keyring) => {
|
|
15
|
+
const tokens = new ProfileTokenStore({ app: IDENTITY, env, ...(keyring ? { keyring } : {}), warn: () => { } });
|
|
16
|
+
const app = withoutKeyring(() => appStorage(env, profile, keyring).read()?.account, () => tokens.read(profile));
|
|
17
|
+
if (app)
|
|
18
|
+
return { account: new URL(app.host).host, user: app.userId };
|
|
19
|
+
const saved = tokens.read(profile);
|
|
20
|
+
if (!saved || saved.source === "environment")
|
|
21
|
+
return undefined;
|
|
22
|
+
const signIn = decodeSignIn(saved.secret);
|
|
23
|
+
return { account: new URL(signIn.origin).host, user: signIn.userId };
|
|
32
24
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
25
|
+
/** The store names an amoCRM account by its host, and one account has several users. */
|
|
26
|
+
export const AMO_ACCOUNT = {
|
|
27
|
+
provider: PROVIDER.name,
|
|
28
|
+
service: "amoCRM",
|
|
29
|
+
held: (profile, { env, keyring }) => {
|
|
30
|
+
const remembered = rememberedOf(profile, env);
|
|
31
|
+
try {
|
|
32
|
+
const saved = signedInAs(profile, env, keyring);
|
|
33
|
+
if (saved)
|
|
34
|
+
return { ...saved, signedIn: true };
|
|
35
|
+
}
|
|
36
|
+
catch (error) {
|
|
37
|
+
// Nothing else tells which account's copy --delete-data would delete.
|
|
38
|
+
if (!remembered)
|
|
39
|
+
throw error;
|
|
40
|
+
}
|
|
41
|
+
return remembered && { ...remembered, signedIn: false };
|
|
42
42
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
configDir: resolvePaths({ appName: IDENTITY.appName, prefix: IDENTITY.envPrefix, env }).config,
|
|
47
|
-
service: IDENTITY.appName,
|
|
48
|
-
envVar: `${IDENTITY.envPrefix}_TOKEN`,
|
|
49
|
-
env,
|
|
50
|
-
...(keyring ? { keyring } : {}),
|
|
51
|
-
},
|
|
52
|
-
accounts: [`token:${profile}`, oauthAccount(OAUTH_PROVIDER, profile)],
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
stateFiles: (profile, { env }) => [
|
|
56
|
-
join(resolvePaths({ appName: IDENTITY.appName, prefix: IDENTITY.envPrefix, env }).state, "crm", profile),
|
|
57
|
-
],
|
|
58
|
-
};
|
|
59
|
-
/** The store keeps one copy per account host, so deleting one profile's data deletes every profile's on that host. */
|
|
60
|
-
const refuseSharedDelete = (command) => {
|
|
61
|
-
if (command.opts().deleteData !== true)
|
|
62
|
-
return;
|
|
63
|
-
const { env, keyring, profile, renderer } = contextOf(command);
|
|
64
|
-
const own = hostOf(env, keyring, profile);
|
|
65
|
-
if (!own)
|
|
66
|
-
return;
|
|
67
|
-
// biome-ignore lint/plugin/no-own-settings: this check reads every profile, and baseContext names one
|
|
68
|
-
const { configuredProfiles } = configuration.resolveSettings({}, { env, needsProfile: false });
|
|
69
|
-
const sharing = profilesHere(IDENTITY, configuredProfiles, env).filter((one) => one !== profile && hostOf(env, keyring, one) === own);
|
|
70
|
-
if (sharing.length === 0)
|
|
71
|
-
return;
|
|
72
|
-
const names = sharing.join(", ");
|
|
73
|
-
// A dry run lists what --delete-data would delete, and says the real run refuses.
|
|
74
|
-
if (command.opts().dryRun === true) {
|
|
75
|
-
renderer.warn(`without --dry-run this refuses: ${names} also read${sharing.length === 1 ? "s" : ""} ${own}`);
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
throw new CliError("conflict", `${names} also read${sharing.length === 1 ? "s" : ""} ${own}, and the store keeps one copy of an account: ` +
|
|
79
|
-
`--delete-data would delete their deals, contacts and companies too. Use --keep-data, or remove ${names} first`, { reason: "account-remove.account-shared", profiles: sharing, account: own });
|
|
43
|
+
// amoCRM has no call that revokes a long-lived token or an integration's tokens; the integration's card does.
|
|
44
|
+
signedOut: (profile) => `the sign-in of ${profile} (the integration and its keys stay in amoCRM)`,
|
|
45
|
+
resolveSettings: configuration.resolveSettings,
|
|
80
46
|
};
|
|
81
|
-
export const accountCommand = () => annotate(new Command("account"), { effects: LOCAL_READ })
|
|
82
|
-
.description("this profile on this computer")
|
|
83
|
-
.addCommand(annotate(accountRemoveCommand(IDENTITY, removal, { resolveSettings: configuration.resolveSettings }), {
|
|
84
|
-
effects: LOCAL_WRITE,
|
|
85
|
-
}).hook("preAction", (_, action) => refuseSharedDelete(action)));
|
|
86
47
|
//# sourceMappingURL=account.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../src/commands/account.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AsE;YACtE,IAAI,CAAC,UAAU;gBAAE,MAAM,KAAK,CAAA;QAC9B,CAAC;QACD,OAAO,UAAU,IAAI,EAAE,GAAG,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAA;IACzD,CAAC;IACD,8GAA8G;IAC9G,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,kBAAkB,OAAO,gDAAgD;IACjG,eAAe,EAAE,aAAa,CAAC,eAAe;CAC/C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crm-shared.d.ts","sourceRoot":"","sources":["../../src/commands/crm-shared.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"crm-shared.d.ts","sourceRoot":"","sources":["../../src/commands/crm-shared.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AA4FnC;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,QAAO,OAAO,EAY3C,CAAA"}
|
|
@@ -7,6 +7,7 @@ import { contextOf, signInOf, storedSignIn, transportFor } from "../context.js";
|
|
|
7
7
|
import { AMO_WRITES } from "../crm/writer.js";
|
|
8
8
|
import { IDENTITY } from "../identity.js";
|
|
9
9
|
import { accountUser } from "../whoami.js";
|
|
10
|
+
import { AMO_ACCOUNT } from "./account.js";
|
|
10
11
|
/** The selected profile's account for one command; cli-core closes the store before the answer prints. */
|
|
11
12
|
/**
|
|
12
13
|
* A sign-in that cannot be read limits the reads to nobody's deals; the request that needs it says why. `AMO_TOKEN`
|
|
@@ -105,6 +106,7 @@ export const crmSharedCommands = () => {
|
|
|
105
106
|
writes: AMO_WRITES,
|
|
106
107
|
live: ["person", "organization", "user"],
|
|
107
108
|
activities: true,
|
|
109
|
+
account: AMO_ACCOUNT,
|
|
108
110
|
});
|
|
109
111
|
return [...holder.commands];
|
|
110
112
|
};
|
|
@@ -1 +1 @@
|
|
|
1
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AE,IAAI;QAChB,OAAO,EAAE,WAAW;KACrB,CAAC,CAAA;IACF,OAAO,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAA;AAC7B,CAAC,CAAA"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type SignInSteps, type TokenStorage } from "@wirecat/cli-core/cli";
|
|
2
2
|
import { Command } from "commander";
|
|
3
|
-
/** The account host and user a profile's saved sign-in reaches, either kind; one from `AMO_TOKEN` is no profile's. */
|
|
4
|
-
export declare const signedInAs: (env: NodeJS.ProcessEnv, keyring: KeyringStore | undefined, profile: string) => {
|
|
5
|
-
host: string;
|
|
6
|
-
userId: string | undefined;
|
|
7
|
-
} | undefined;
|
|
8
3
|
/**
|
|
9
4
|
* A long-lived token proven against its account, and what a profile keeps for it: the sign-in with the address and
|
|
10
5
|
* the token's user, and the account as `session start` remembers it. `setup apply` runs the same check.
|
|
@@ -14,5 +9,27 @@ export declare const checkedToken: (command: Command, origin: string, token: str
|
|
|
14
9
|
signIn: string;
|
|
15
10
|
account: string;
|
|
16
11
|
}>;
|
|
12
|
+
/**
|
|
13
|
+
* amoCRM's button on connect.wirecat.dev: it creates WireCat's integration in the account, so nothing is copied by
|
|
14
|
+
* hand.
|
|
15
|
+
* The setup flow's check runs it too, with Desktop's steps.
|
|
16
|
+
*/
|
|
17
|
+
export declare const signInWithButton: (command: Command, origin: string, steps: SignInSteps, storage?: TokenStorage) => Promise<{
|
|
18
|
+
found: {
|
|
19
|
+
account: string;
|
|
20
|
+
account_info: {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string | null;
|
|
23
|
+
subdomain: string | null;
|
|
24
|
+
};
|
|
25
|
+
user: {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string | null;
|
|
28
|
+
admin: boolean | null;
|
|
29
|
+
manager: boolean | null;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
storedIn: "environment" | "file" | "keyring";
|
|
33
|
+
}>;
|
|
17
34
|
export declare const sessionCommand: () => Command;
|
|
18
35
|
//# sourceMappingURL=session.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/commands/session.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/commands/session.ts"],"names":[],"mappings":"AAGA,OAAO,EAuBL,KAAK,WAAW,EAGhB,KAAK,YAAY,EAClB,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAiCnC;;;GAGG;AACH,eAAO,MAAM,YAAY,YAAmB,OAAO,UAAU,MAAM,SAAS,MAAM;;;;EASjF,CAAA;AA0ED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,YAClB,OAAO,UACR,MAAM,SACP,WAAW,YACT,YAAY;;;;;;;;;;;;;;;;EAuBtB,CAAA;AAqND,eAAO,MAAM,cAAc,QAAO,OAMJ,CAAA"}
|