@wirecat/attio-cli 0.0.0-stage → 0.2.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 +33 -0
- package/LICENSE +204 -0
- package/README.md +249 -2
- package/contracts/wirecat.json +2339 -0
- package/dist/bin/attio.d.ts +3 -0
- package/dist/bin/attio.d.ts.map +1 -0
- package/dist/bin/attio.js +40 -0
- package/dist/bin/attio.js.map +1 -0
- package/dist/bundle/agent-DYTWDBTT.js +37 -0
- package/dist/bundle/all-profiles-LZDKPHN2.js +320 -0
- package/dist/bundle/anthropic-BF72H77D.js +91 -0
- package/dist/bundle/app-server-H57FZJX5.js +249 -0
- package/dist/bundle/attio.js +183 -0
- package/dist/bundle/bun-WO77T4LG.js +169 -0
- package/dist/bundle/bun-sqlite-2BP7JDVO.js +76 -0
- package/dist/bundle/chunk-2E6JGBM5.js +1392 -0
- package/dist/bundle/chunk-34FJ26K2.js +54 -0
- package/dist/bundle/chunk-3I2FGNWO.js +23 -0
- package/dist/bundle/chunk-3NVOKVRY.js +42148 -0
- package/dist/bundle/chunk-3YFDZSM3.js +37 -0
- package/dist/bundle/chunk-4SMGM2Q6.js +274 -0
- package/dist/bundle/chunk-4STBJZR4.js +3571 -0
- package/dist/bundle/chunk-5K3FGXZH.js +46 -0
- package/dist/bundle/chunk-6ALPRBNV.js +100 -0
- package/dist/bundle/chunk-6NDJDDSQ.js +2000 -0
- package/dist/bundle/chunk-6SK3YB2B.js +218 -0
- package/dist/bundle/chunk-76RRELCU.js +65310 -0
- package/dist/bundle/chunk-7MXCUMHG.js +18 -0
- package/dist/bundle/chunk-7ZUOI3HY.js +73 -0
- package/dist/bundle/chunk-AMUONYQR.js +106 -0
- package/dist/bundle/chunk-ASCUOOLO.js +53 -0
- package/dist/bundle/chunk-BUGROVF3.js +72 -0
- package/dist/bundle/chunk-CHZ26CW5.js +9578 -0
- package/dist/bundle/chunk-CMO5ND3Y.js +794 -0
- package/dist/bundle/chunk-D72URWJE.js +532 -0
- package/dist/bundle/chunk-DF2IIO32.js +12645 -0
- package/dist/bundle/chunk-DFDN6AUB.js +21 -0
- package/dist/bundle/chunk-DQ6P3R4B.js +170 -0
- package/dist/bundle/chunk-DSRXCLPO.js +7 -0
- package/dist/bundle/chunk-EEPE3SOW.js +338 -0
- package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
- package/dist/bundle/chunk-EQGXEKSV.js +1197 -0
- package/dist/bundle/chunk-EQXT7KO4.js +388 -0
- package/dist/bundle/chunk-ERW2WOJT.js +24 -0
- package/dist/bundle/chunk-ESH2QGCA.js +372 -0
- package/dist/bundle/chunk-G3JTLVVL.js +771 -0
- package/dist/bundle/chunk-G6FQMVKW.js +52 -0
- package/dist/bundle/chunk-GBZ6JUXU.js +108 -0
- package/dist/bundle/chunk-GLHFJPYS.js +156 -0
- package/dist/bundle/chunk-GW4G5KLS.js +2333 -0
- package/dist/bundle/chunk-H7QDPW3D.js +78 -0
- package/dist/bundle/chunk-HG7FT3H3.js +319 -0
- package/dist/bundle/chunk-I3WS6V5H.js +188 -0
- package/dist/bundle/chunk-IDU4ESRZ.js +95 -0
- package/dist/bundle/chunk-IXCIQ7FZ.js +161 -0
- package/dist/bundle/chunk-J5P5VSRG.js +1233 -0
- package/dist/bundle/chunk-JA26HG7T.js +353 -0
- package/dist/bundle/chunk-JSTBW7F4.js +259 -0
- package/dist/bundle/chunk-KHDXRFJZ.js +185 -0
- package/dist/bundle/chunk-L5WS6CYZ.js +288 -0
- package/dist/bundle/chunk-LWJ4ZGUM.js +407 -0
- package/dist/bundle/chunk-MC2RQ2OB.js +38 -0
- package/dist/bundle/chunk-MNQACPXG.js +1332 -0
- package/dist/bundle/chunk-MOSH2KPD.js +358 -0
- package/dist/bundle/chunk-MRREDVPY.js +733 -0
- package/dist/bundle/chunk-MT2ZUZRA.js +1028 -0
- package/dist/bundle/chunk-O4A33Y54.js +29 -0
- package/dist/bundle/chunk-OBXDRUO4.js +63 -0
- package/dist/bundle/chunk-OFR3YYT6.js +6848 -0
- package/dist/bundle/chunk-P4U6AGWD.js +41 -0
- package/dist/bundle/chunk-PL5P7UKW.js +25216 -0
- package/dist/bundle/chunk-PMP37KLR.js +142 -0
- package/dist/bundle/chunk-Q3JCUUOR.js +80 -0
- package/dist/bundle/chunk-Q7BSTQ3T.js +633 -0
- package/dist/bundle/chunk-QLHDUYGE.js +16 -0
- package/dist/bundle/chunk-RU5J7DWY.js +988 -0
- package/dist/bundle/chunk-S4UUN6LD.js +1410 -0
- package/dist/bundle/chunk-S7K2XFQB.js +95 -0
- package/dist/bundle/chunk-SQHDE3TC.js +230 -0
- package/dist/bundle/chunk-TF7ZGCOK.js +76 -0
- package/dist/bundle/chunk-V6BTAILB.js +4072 -0
- package/dist/bundle/chunk-VDMIJ3JW.js +50 -0
- package/dist/bundle/chunk-VW5F6FK3.js +206 -0
- package/dist/bundle/chunk-W6F2CQZ6.js +1068 -0
- package/dist/bundle/chunk-WARIIYSW.js +58 -0
- package/dist/bundle/chunk-WK7GLHHL.js +334 -0
- package/dist/bundle/chunk-X5S5KUSU.js +2788 -0
- package/dist/bundle/chunk-X6R74TWX.js +131 -0
- package/dist/bundle/chunk-XQUUANA2.js +24600 -0
- package/dist/bundle/chunk-XXLQNHKF.js +82 -0
- package/dist/bundle/chunk-XXOTX4M3.js +362 -0
- package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
- package/dist/bundle/chunk-ZDBTYBFR.js +66 -0
- package/dist/bundle/chunk-ZGADZ4CH.js +557 -0
- package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
- package/dist/bundle/command-contract-7M6EPH3D.js +37 -0
- package/dist/bundle/command-server-entry-MNVPYQZ3.js +166 -0
- package/dist/bundle/decode-MQNKNXLK.js +297 -0
- package/dist/bundle/definitions-FODOIPM2.js +43379 -0
- package/dist/bundle/dispatch-TAQ7635E.js +411 -0
- package/dist/bundle/dist-EM7KLEG4.js +7577 -0
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/echarts-6ZSUNO4L.js +42501 -0
- package/dist/bundle/embed-PHCCJJ5Z.js +38 -0
- package/dist/bundle/embedder-WLZZQTKZ.js +111 -0
- package/dist/bundle/failure-MR2XVHFP.js +25 -0
- package/dist/bundle/first-run-64LREHSV.js +29 -0
- package/dist/bundle/first-screen-YSCAZIYJ.js +37 -0
- package/dist/bundle/instructions-22GCKNR5.js +11 -0
- package/dist/bundle/mcp-CNV7F2XZ.js +167 -0
- package/dist/bundle/meeting-combined-YX3T5WJD.js +24 -0
- package/dist/bundle/meeting-model-JWDTCGLZ.js +25 -0
- package/dist/bundle/meeting-semantic-375GYPZQ.js +22 -0
- package/dist/bundle/node-ITDTNRRZ.js +176 -0
- package/dist/bundle/node-KM3CUABH.js +2340 -0
- package/dist/bundle/node-TLZSIHIJ.js +21 -0
- package/dist/bundle/node-sqlite-IRAGRMEZ.js +74 -0
- package/dist/bundle/oauth-CACOQJEL.js +20 -0
- package/dist/bundle/open-HU4KHKDR.js +23 -0
- package/dist/bundle/openai-JQUPAVKX.js +238 -0
- package/dist/bundle/process-QS5OHEUK.js +91 -0
- package/dist/bundle/program-QLCUCR76.js +33428 -0
- package/dist/bundle/prompt-VA5MKXJU.js +17 -0
- package/dist/bundle/recognize-JGA5IVKC.js +26 -0
- package/dist/bundle/remote-NPY2KZQ4.js +31 -0
- package/dist/bundle/rerank-4H2QR4XU.js +52 -0
- package/dist/bundle/schemas-THAI3G5S.js +21410 -0
- package/dist/bundle/serve-UH46SZQG.js +199 -0
- package/dist/bundle/server-6H7JS6SU.js +212 -0
- package/dist/bundle/server-SR52KBL3.js +79 -0
- package/dist/bundle/sqlite-runtime-EJWEUTBR.js +20 -0
- package/dist/bundle/state-34B6AUQZ.js +36 -0
- package/dist/bundle/store-3R4ILTCJ.js +177 -0
- package/dist/bundle/store-XSE35P3U.js +291 -0
- package/dist/bundle/store-maintenance-command-ABJARLI4.js +66 -0
- package/dist/bundle/surface-NOTIEJB5.js +65 -0
- package/dist/commands/api.d.ts +12 -0
- package/dist/commands/api.d.ts.map +1 -0
- package/dist/commands/api.js +27 -0
- package/dist/commands/api.js.map +1 -0
- package/dist/commands/crm.d.ts +4 -0
- package/dist/commands/crm.d.ts.map +1 -0
- package/dist/commands/crm.js +66 -0
- package/dist/commands/crm.js.map +1 -0
- package/dist/commands/session.d.ts +7 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +22 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/config.d.ts +14 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +14 -0
- package/dist/config.js.map +1 -0
- package/dist/context.d.ts +37 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +31 -0
- package/dist/context.js.map +1 -0
- package/dist/generated/definitions.d.ts +3 -0
- package/dist/generated/definitions.d.ts.map +1 -0
- package/dist/generated/definitions.js +43375 -0
- package/dist/generated/definitions.js.map +1 -0
- package/dist/generated/manifest.d.ts +6 -0
- package/dist/generated/manifest.d.ts.map +1 -0
- package/dist/generated/manifest.js +5158 -0
- package/dist/generated/manifest.js.map +1 -0
- package/dist/generated/schemas.d.ts +383 -0
- package/dist/generated/schemas.d.ts.map +1 -0
- package/dist/generated/schemas.js +21196 -0
- package/dist/generated/schemas.js.map +1 -0
- package/dist/generated/types.d.ts +10166 -0
- package/dist/generated/types.d.ts.map +1 -0
- package/dist/generated/types.js +5 -0
- package/dist/generated/types.js.map +1 -0
- package/dist/generated/wirecat-config.d.ts +15 -0
- package/dist/generated/wirecat-config.d.ts.map +1 -0
- package/dist/generated/wirecat-config.js +333 -0
- package/dist/generated/wirecat-config.js.map +1 -0
- package/dist/hooks.d.ts +3 -0
- package/dist/hooks.d.ts.map +1 -0
- package/dist/hooks.js +7 -0
- package/dist/hooks.js.map +1 -0
- package/dist/identity.d.ts +33 -0
- package/dist/identity.d.ts.map +1 -0
- package/dist/identity.js +31 -0
- package/dist/identity.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/program.d.ts +6 -0
- package/dist/program.d.ts.map +1 -0
- package/dist/program.js +54 -0
- package/dist/program.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +87 -4
- package/skills/attio-cli/SKILL.md +58 -0
- package/skills/attio-cli/references/api/api-activities.md +62 -0
- package/skills/attio-cli/references/api/api-activity-records.md +96 -0
- package/skills/attio-cli/references/api/api-attributes.md +148 -0
- package/skills/attio-cli/references/api/api-call-recordings.md +53 -0
- package/skills/attio-cli/references/api/api-comments.md +36 -0
- package/skills/attio-cli/references/api/api-emails.md +23 -0
- package/skills/attio-cli/references/api/api-entries.md +127 -0
- package/skills/attio-cli/references/api/api-files.md +63 -0
- package/skills/attio-cli/references/api/api-lists.md +44 -0
- package/skills/attio-cli/references/api/api-meetings.md +82 -0
- package/skills/attio-cli/references/api/api-meta.md +8 -0
- package/skills/attio-cli/references/api/api-notes.md +64 -0
- package/skills/attio-cli/references/api/api-objects.md +55 -0
- package/skills/attio-cli/references/api/api-records.md +168 -0
- package/skills/attio-cli/references/api/api-sequences.md +15 -0
- package/skills/attio-cli/references/api/api-sql.md +15 -0
- package/skills/attio-cli/references/api/api-tasks.md +67 -0
- package/skills/attio-cli/references/api/api-threads.md +35 -0
- package/skills/attio-cli/references/api/api-transcripts.md +17 -0
- package/skills/attio-cli/references/api/api-views.md +133 -0
- package/skills/attio-cli/references/api/api-webhooks.md +62 -0
- package/skills/attio-cli/references/api/api-workspace-blocklist.md +39 -0
- package/skills/attio-cli/references/api/api-workspace-members.md +19 -0
- package/skills/attio-cli/references/api.md +35 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
AGENDA_COLUMNS,
|
|
5
|
+
BACKFILL_ON_OPEN,
|
|
6
|
+
BUSINESS_FIND_MAX,
|
|
7
|
+
CHAT_COLUMNS,
|
|
8
|
+
CHAT_LIST_KEY,
|
|
9
|
+
CONVERSATION_COLUMNS,
|
|
10
|
+
CRM_FILE_LIMITS,
|
|
11
|
+
DEFAULT_AGENT_CLOSE,
|
|
12
|
+
DEFAULT_FIRST_PASS_PER_CHAT,
|
|
13
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
14
|
+
ENRICHMENT_SUBJECTS,
|
|
15
|
+
MAIL_AGENDA_COLUMNS,
|
|
16
|
+
MENTION_QUERY,
|
|
17
|
+
MENTION_STATUSES,
|
|
18
|
+
OTHER_SOURCES,
|
|
19
|
+
THREAD_COLUMNS,
|
|
20
|
+
TRACKED_CHAT_COLUMNS,
|
|
21
|
+
accountGroupsOf,
|
|
22
|
+
attachmentColumns,
|
|
23
|
+
crmSettingsOf,
|
|
24
|
+
drainNoteIndex,
|
|
25
|
+
dropAllUnusedVectors,
|
|
26
|
+
fetchedKey,
|
|
27
|
+
fileFacts,
|
|
28
|
+
fillSearchIndex,
|
|
29
|
+
fillStems,
|
|
30
|
+
firstPassPerChatOf,
|
|
31
|
+
foldedWords,
|
|
32
|
+
historyStartKey,
|
|
33
|
+
inboxKey,
|
|
34
|
+
involvementStoreOver,
|
|
35
|
+
mergeId,
|
|
36
|
+
messageOfEmail,
|
|
37
|
+
noteIndexState,
|
|
38
|
+
openSqlite,
|
|
39
|
+
openStore,
|
|
40
|
+
orphanPointers,
|
|
41
|
+
ownerLanguages,
|
|
42
|
+
parseCrmSetting,
|
|
43
|
+
parseCrmSettingValue,
|
|
44
|
+
parseMergeId,
|
|
45
|
+
parseOwnerLanguages,
|
|
46
|
+
pendingNormalization,
|
|
47
|
+
queryFilter,
|
|
48
|
+
readStoreTables,
|
|
49
|
+
registerProvider,
|
|
50
|
+
resetAttachmentWords,
|
|
51
|
+
resetCrmFileWords,
|
|
52
|
+
resetNoteIndex,
|
|
53
|
+
resetSearchIndex,
|
|
54
|
+
resetStems,
|
|
55
|
+
resetTrackerItemWords,
|
|
56
|
+
rollBack,
|
|
57
|
+
rowCounts,
|
|
58
|
+
saveCrmSetting,
|
|
59
|
+
saveOwnerLanguages,
|
|
60
|
+
saveStorePhoneCountries,
|
|
61
|
+
savedAgentClose,
|
|
62
|
+
savedFirstPassPerChat,
|
|
63
|
+
savedOwnerLanguages,
|
|
64
|
+
savedPhoneCountries,
|
|
65
|
+
savedStemmers,
|
|
66
|
+
savedTaskCategories,
|
|
67
|
+
searchIndexState,
|
|
68
|
+
seenBy,
|
|
69
|
+
stemmerCache,
|
|
70
|
+
stemmersOrigin,
|
|
71
|
+
stemsState,
|
|
72
|
+
storeClients,
|
|
73
|
+
storeContents,
|
|
74
|
+
storedTemplateBodies,
|
|
75
|
+
threadConversation,
|
|
76
|
+
titlePart,
|
|
77
|
+
vectorIndexCounts
|
|
78
|
+
} from "./chunk-76RRELCU.js";
|
|
79
|
+
import "./chunk-GW4G5KLS.js";
|
|
80
|
+
import "./chunk-Q3JCUUOR.js";
|
|
81
|
+
import "./chunk-G3JTLVVL.js";
|
|
82
|
+
import "./chunk-QLHDUYGE.js";
|
|
83
|
+
import {
|
|
84
|
+
BUSINESS_KINDS
|
|
85
|
+
} from "./chunk-6NDJDDSQ.js";
|
|
86
|
+
import "./chunk-GLHFJPYS.js";
|
|
87
|
+
import "./chunk-O4A33Y54.js";
|
|
88
|
+
import "./chunk-V6BTAILB.js";
|
|
89
|
+
import "./chunk-DSRXCLPO.js";
|
|
90
|
+
import "./chunk-EQGXEKSV.js";
|
|
91
|
+
import "./chunk-34FJ26K2.js";
|
|
92
|
+
import "./chunk-S7K2XFQB.js";
|
|
93
|
+
import "./chunk-MC2RQ2OB.js";
|
|
94
|
+
import "./chunk-X5S5KUSU.js";
|
|
95
|
+
import "./chunk-J5P5VSRG.js";
|
|
96
|
+
import "./chunk-S4UUN6LD.js";
|
|
97
|
+
import "./chunk-Y5E2WNWB.js";
|
|
98
|
+
import "./chunk-BUGROVF3.js";
|
|
99
|
+
import "./chunk-OFR3YYT6.js";
|
|
100
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
101
|
+
export {
|
|
102
|
+
AGENDA_COLUMNS,
|
|
103
|
+
BACKFILL_ON_OPEN,
|
|
104
|
+
BUSINESS_FIND_MAX,
|
|
105
|
+
BUSINESS_KINDS,
|
|
106
|
+
CHAT_COLUMNS,
|
|
107
|
+
CHAT_LIST_KEY,
|
|
108
|
+
CONVERSATION_COLUMNS,
|
|
109
|
+
CRM_FILE_LIMITS,
|
|
110
|
+
DEFAULT_AGENT_CLOSE,
|
|
111
|
+
DEFAULT_FIRST_PASS_PER_CHAT,
|
|
112
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
113
|
+
ENRICHMENT_SUBJECTS,
|
|
114
|
+
MAIL_AGENDA_COLUMNS,
|
|
115
|
+
MENTION_QUERY,
|
|
116
|
+
MENTION_STATUSES,
|
|
117
|
+
OTHER_SOURCES,
|
|
118
|
+
THREAD_COLUMNS,
|
|
119
|
+
TRACKED_CHAT_COLUMNS,
|
|
120
|
+
accountGroupsOf,
|
|
121
|
+
attachmentColumns,
|
|
122
|
+
crmSettingsOf,
|
|
123
|
+
drainNoteIndex,
|
|
124
|
+
dropAllUnusedVectors,
|
|
125
|
+
fetchedKey,
|
|
126
|
+
fileFacts,
|
|
127
|
+
fillSearchIndex,
|
|
128
|
+
fillStems,
|
|
129
|
+
firstPassPerChatOf,
|
|
130
|
+
foldedWords,
|
|
131
|
+
historyStartKey,
|
|
132
|
+
inboxKey,
|
|
133
|
+
involvementStoreOver,
|
|
134
|
+
mergeId,
|
|
135
|
+
messageOfEmail,
|
|
136
|
+
noteIndexState,
|
|
137
|
+
openSqlite,
|
|
138
|
+
openStore,
|
|
139
|
+
orphanPointers,
|
|
140
|
+
ownerLanguages,
|
|
141
|
+
parseCrmSetting,
|
|
142
|
+
parseCrmSettingValue,
|
|
143
|
+
parseMergeId,
|
|
144
|
+
parseOwnerLanguages,
|
|
145
|
+
pendingNormalization,
|
|
146
|
+
queryFilter,
|
|
147
|
+
readStoreTables,
|
|
148
|
+
registerProvider,
|
|
149
|
+
resetAttachmentWords,
|
|
150
|
+
resetCrmFileWords,
|
|
151
|
+
resetNoteIndex,
|
|
152
|
+
resetSearchIndex,
|
|
153
|
+
resetStems,
|
|
154
|
+
resetTrackerItemWords,
|
|
155
|
+
rollBack,
|
|
156
|
+
rowCounts,
|
|
157
|
+
saveCrmSetting,
|
|
158
|
+
saveOwnerLanguages,
|
|
159
|
+
saveStorePhoneCountries,
|
|
160
|
+
savedAgentClose,
|
|
161
|
+
savedFirstPassPerChat,
|
|
162
|
+
savedOwnerLanguages,
|
|
163
|
+
savedPhoneCountries,
|
|
164
|
+
savedStemmers,
|
|
165
|
+
savedTaskCategories,
|
|
166
|
+
searchIndexState,
|
|
167
|
+
seenBy,
|
|
168
|
+
stemmerCache,
|
|
169
|
+
stemmersOrigin,
|
|
170
|
+
stemsState,
|
|
171
|
+
storeClients,
|
|
172
|
+
storeContents,
|
|
173
|
+
storedTemplateBodies,
|
|
174
|
+
threadConversation,
|
|
175
|
+
titlePart,
|
|
176
|
+
vectorIndexCounts
|
|
177
|
+
};
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
QUICK_HEALTH_CHECKS,
|
|
5
|
+
applyDocumentTransfer,
|
|
6
|
+
previewDocumentTransfer,
|
|
7
|
+
previewProjectAnnotationSnapshot,
|
|
8
|
+
snapshotProjectAnnotations,
|
|
9
|
+
storeDamageReport,
|
|
10
|
+
storeHealth
|
|
11
|
+
} from "./chunk-W6F2CQZ6.js";
|
|
12
|
+
import {
|
|
13
|
+
note
|
|
14
|
+
} from "./chunk-ZDBTYBFR.js";
|
|
15
|
+
import {
|
|
16
|
+
ADDED_KINDS,
|
|
17
|
+
ALWAYS_SHOWN,
|
|
18
|
+
BUSINESS_FIND_MAX,
|
|
19
|
+
CALLBACK_PREFIX,
|
|
20
|
+
CATALOG_QUERY,
|
|
21
|
+
COMPANY_TYPE_MEANINGS,
|
|
22
|
+
CRM_CHANGES,
|
|
23
|
+
CRM_LINK_MODES,
|
|
24
|
+
DECISION_ACTIONS,
|
|
25
|
+
DECISION_TTL_MS,
|
|
26
|
+
DEFAULT_DECISION_POLICY,
|
|
27
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
28
|
+
DOCUMENT_KINDS,
|
|
29
|
+
DOUBT_REASONS,
|
|
30
|
+
EVENT_FIELDS,
|
|
31
|
+
EVIDENCE_FINDINGS_KIND,
|
|
32
|
+
IDENTITY_LINK_KIND,
|
|
33
|
+
IDENTITY_LINK_SIGNALS,
|
|
34
|
+
IDENTITY_SPLIT_KIND,
|
|
35
|
+
IMPORTED_DOCUMENT_QUERY,
|
|
36
|
+
LINK_WEAKNESSES,
|
|
37
|
+
MAIL_FINDINGS_KIND,
|
|
38
|
+
MEETING_ROW_KINDS,
|
|
39
|
+
MENTION_QUERY,
|
|
40
|
+
MENTION_STATUSES,
|
|
41
|
+
MIGRATIONS,
|
|
42
|
+
NOTE_FIELDS,
|
|
43
|
+
ORGANIZATIONS_QUERY,
|
|
44
|
+
ORGANIZATION_KINDS,
|
|
45
|
+
OTHER_SOURCES,
|
|
46
|
+
PEOPLE_SORTS,
|
|
47
|
+
PERSON_KINDS,
|
|
48
|
+
PERSON_TIES,
|
|
49
|
+
PROJECTS_QUERY,
|
|
50
|
+
PROJECT_ANNOTATIONS_MAX_BYTES,
|
|
51
|
+
PROJECT_TASK_FIELDS,
|
|
52
|
+
PROJECT_TYPES,
|
|
53
|
+
PROPOSAL_STATUSES,
|
|
54
|
+
QUOTE_LIMIT,
|
|
55
|
+
REMINDERS_QUERY,
|
|
56
|
+
SCOPES,
|
|
57
|
+
SMALL_GROUP_MEMBERS,
|
|
58
|
+
TASK_EVENT_KINDS,
|
|
59
|
+
TASK_PAIR_DECISIONS,
|
|
60
|
+
TASK_RELATION_KINDS,
|
|
61
|
+
TASK_ROLES,
|
|
62
|
+
TASK_SORTS,
|
|
63
|
+
addedSourceKeyOf,
|
|
64
|
+
assertGenericAction,
|
|
65
|
+
assertMayDecide,
|
|
66
|
+
backfillNormalized,
|
|
67
|
+
baseSettingKey,
|
|
68
|
+
callbackDataOf,
|
|
69
|
+
certaintyOf,
|
|
70
|
+
createTagRedirectIndex,
|
|
71
|
+
crmIdentityId,
|
|
72
|
+
crmSettingKey,
|
|
73
|
+
decodeProjectAnnotationSnapshot,
|
|
74
|
+
decodeProjectAnnotations,
|
|
75
|
+
fillSearchIndex,
|
|
76
|
+
isDecisionToken,
|
|
77
|
+
isOwnerOnlyKind,
|
|
78
|
+
mayDecide,
|
|
79
|
+
mergeId,
|
|
80
|
+
migrate,
|
|
81
|
+
openStore,
|
|
82
|
+
ownerLanguages,
|
|
83
|
+
parseCallbackData,
|
|
84
|
+
parseMergeId,
|
|
85
|
+
pendingNormalization,
|
|
86
|
+
planProjectAnnotationSnapshot,
|
|
87
|
+
planProjectAnnotations,
|
|
88
|
+
projectAnnotationSnapshotFingerprint,
|
|
89
|
+
projectAnnotationSnapshotSchema,
|
|
90
|
+
projectAnnotationsFingerprint,
|
|
91
|
+
proposerOfAction,
|
|
92
|
+
quoteKept,
|
|
93
|
+
registerProvider,
|
|
94
|
+
resetAttachmentWords,
|
|
95
|
+
resetSearchIndex,
|
|
96
|
+
searchIndexState,
|
|
97
|
+
validateEvidenceFindings,
|
|
98
|
+
waitingPointer,
|
|
99
|
+
withoutField
|
|
100
|
+
} from "./chunk-76RRELCU.js";
|
|
101
|
+
import "./chunk-GW4G5KLS.js";
|
|
102
|
+
import "./chunk-Q3JCUUOR.js";
|
|
103
|
+
import "./chunk-G3JTLVVL.js";
|
|
104
|
+
import "./chunk-QLHDUYGE.js";
|
|
105
|
+
import {
|
|
106
|
+
BUSINESS_KINDS,
|
|
107
|
+
CLOSED_STATES,
|
|
108
|
+
FACT_STATUSES,
|
|
109
|
+
MEMORY_KINDS,
|
|
110
|
+
MEMORY_SCOPES,
|
|
111
|
+
MEMORY_STATUSES,
|
|
112
|
+
PRIORITY_LABELS,
|
|
113
|
+
SOURCE_REVIEW_CAUSES,
|
|
114
|
+
SOURCE_REVIEW_KIND,
|
|
115
|
+
TASK_STATES,
|
|
116
|
+
TASK_TYPES,
|
|
117
|
+
WORK_TASK_TYPES,
|
|
118
|
+
clearDamageMark,
|
|
119
|
+
damageMarkPath,
|
|
120
|
+
healthMarkPath,
|
|
121
|
+
isClosedState,
|
|
122
|
+
journalMarkPath,
|
|
123
|
+
markStoreDamaged,
|
|
124
|
+
organization,
|
|
125
|
+
priorityLabel,
|
|
126
|
+
priorityOf,
|
|
127
|
+
priorityOption,
|
|
128
|
+
project,
|
|
129
|
+
readDamageMark,
|
|
130
|
+
readHealthMark,
|
|
131
|
+
readJournalMark,
|
|
132
|
+
recordDeepCheck,
|
|
133
|
+
reminder
|
|
134
|
+
} from "./chunk-6NDJDDSQ.js";
|
|
135
|
+
import "./chunk-GLHFJPYS.js";
|
|
136
|
+
import "./chunk-O4A33Y54.js";
|
|
137
|
+
import {
|
|
138
|
+
FACT_TYPES,
|
|
139
|
+
PAYMENT_DIRECTIONS,
|
|
140
|
+
PAYMENT_STATES,
|
|
141
|
+
paymentTitle,
|
|
142
|
+
validatePayment
|
|
143
|
+
} from "./chunk-V6BTAILB.js";
|
|
144
|
+
import "./chunk-DSRXCLPO.js";
|
|
145
|
+
import "./chunk-EQGXEKSV.js";
|
|
146
|
+
import {
|
|
147
|
+
storePath
|
|
148
|
+
} from "./chunk-34FJ26K2.js";
|
|
149
|
+
import {
|
|
150
|
+
openCache
|
|
151
|
+
} from "./chunk-S7K2XFQB.js";
|
|
152
|
+
import {
|
|
153
|
+
PRAGMAS
|
|
154
|
+
} from "./chunk-MC2RQ2OB.js";
|
|
155
|
+
import "./chunk-X5S5KUSU.js";
|
|
156
|
+
import "./chunk-J5P5VSRG.js";
|
|
157
|
+
import "./chunk-S4UUN6LD.js";
|
|
158
|
+
import "./chunk-Y5E2WNWB.js";
|
|
159
|
+
import "./chunk-BUGROVF3.js";
|
|
160
|
+
import "./chunk-OFR3YYT6.js";
|
|
161
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
162
|
+
export {
|
|
163
|
+
ADDED_KINDS,
|
|
164
|
+
ALWAYS_SHOWN,
|
|
165
|
+
BUSINESS_FIND_MAX,
|
|
166
|
+
BUSINESS_KINDS,
|
|
167
|
+
CALLBACK_PREFIX,
|
|
168
|
+
CATALOG_QUERY,
|
|
169
|
+
CLOSED_STATES,
|
|
170
|
+
COMPANY_TYPE_MEANINGS,
|
|
171
|
+
CRM_CHANGES,
|
|
172
|
+
CRM_LINK_MODES,
|
|
173
|
+
DECISION_ACTIONS,
|
|
174
|
+
DECISION_TTL_MS,
|
|
175
|
+
DEFAULT_DECISION_POLICY,
|
|
176
|
+
DEFAULT_OWNER_LANGUAGES,
|
|
177
|
+
DOCUMENT_KINDS,
|
|
178
|
+
DOUBT_REASONS,
|
|
179
|
+
EVENT_FIELDS,
|
|
180
|
+
EVIDENCE_FINDINGS_KIND,
|
|
181
|
+
FACT_STATUSES,
|
|
182
|
+
FACT_TYPES,
|
|
183
|
+
IDENTITY_LINK_KIND,
|
|
184
|
+
IDENTITY_LINK_SIGNALS,
|
|
185
|
+
IDENTITY_SPLIT_KIND,
|
|
186
|
+
IMPORTED_DOCUMENT_QUERY,
|
|
187
|
+
LINK_WEAKNESSES,
|
|
188
|
+
MAIL_FINDINGS_KIND,
|
|
189
|
+
MEETING_ROW_KINDS,
|
|
190
|
+
MEMORY_KINDS,
|
|
191
|
+
MEMORY_SCOPES,
|
|
192
|
+
MEMORY_STATUSES,
|
|
193
|
+
MENTION_QUERY,
|
|
194
|
+
MENTION_STATUSES,
|
|
195
|
+
MIGRATIONS,
|
|
196
|
+
NOTE_FIELDS,
|
|
197
|
+
ORGANIZATIONS_QUERY,
|
|
198
|
+
ORGANIZATION_KINDS,
|
|
199
|
+
OTHER_SOURCES,
|
|
200
|
+
PAYMENT_DIRECTIONS,
|
|
201
|
+
PAYMENT_STATES,
|
|
202
|
+
PEOPLE_SORTS,
|
|
203
|
+
PERSON_KINDS,
|
|
204
|
+
PERSON_TIES,
|
|
205
|
+
PRAGMAS,
|
|
206
|
+
PRIORITY_LABELS,
|
|
207
|
+
PROJECTS_QUERY,
|
|
208
|
+
PROJECT_ANNOTATIONS_MAX_BYTES,
|
|
209
|
+
PROJECT_TASK_FIELDS,
|
|
210
|
+
PROJECT_TYPES,
|
|
211
|
+
PROPOSAL_STATUSES,
|
|
212
|
+
QUICK_HEALTH_CHECKS,
|
|
213
|
+
QUOTE_LIMIT,
|
|
214
|
+
REMINDERS_QUERY,
|
|
215
|
+
SCOPES,
|
|
216
|
+
SMALL_GROUP_MEMBERS,
|
|
217
|
+
SOURCE_REVIEW_CAUSES,
|
|
218
|
+
SOURCE_REVIEW_KIND,
|
|
219
|
+
TASK_EVENT_KINDS,
|
|
220
|
+
TASK_PAIR_DECISIONS,
|
|
221
|
+
TASK_RELATION_KINDS,
|
|
222
|
+
TASK_ROLES,
|
|
223
|
+
TASK_SORTS,
|
|
224
|
+
TASK_STATES,
|
|
225
|
+
TASK_TYPES,
|
|
226
|
+
WORK_TASK_TYPES,
|
|
227
|
+
addedSourceKeyOf,
|
|
228
|
+
applyDocumentTransfer,
|
|
229
|
+
assertGenericAction,
|
|
230
|
+
assertMayDecide,
|
|
231
|
+
backfillNormalized,
|
|
232
|
+
baseSettingKey,
|
|
233
|
+
callbackDataOf,
|
|
234
|
+
certaintyOf,
|
|
235
|
+
clearDamageMark,
|
|
236
|
+
createTagRedirectIndex,
|
|
237
|
+
crmIdentityId,
|
|
238
|
+
crmSettingKey,
|
|
239
|
+
damageMarkPath,
|
|
240
|
+
decodeProjectAnnotationSnapshot,
|
|
241
|
+
decodeProjectAnnotations,
|
|
242
|
+
fillSearchIndex,
|
|
243
|
+
healthMarkPath,
|
|
244
|
+
isClosedState,
|
|
245
|
+
isDecisionToken,
|
|
246
|
+
isOwnerOnlyKind,
|
|
247
|
+
journalMarkPath,
|
|
248
|
+
markStoreDamaged,
|
|
249
|
+
mayDecide,
|
|
250
|
+
mergeId,
|
|
251
|
+
migrate,
|
|
252
|
+
note,
|
|
253
|
+
openCache,
|
|
254
|
+
openStore,
|
|
255
|
+
organization,
|
|
256
|
+
ownerLanguages,
|
|
257
|
+
parseCallbackData,
|
|
258
|
+
parseMergeId,
|
|
259
|
+
paymentTitle,
|
|
260
|
+
pendingNormalization,
|
|
261
|
+
planProjectAnnotationSnapshot,
|
|
262
|
+
planProjectAnnotations,
|
|
263
|
+
previewDocumentTransfer,
|
|
264
|
+
previewProjectAnnotationSnapshot,
|
|
265
|
+
priorityLabel,
|
|
266
|
+
priorityOf,
|
|
267
|
+
priorityOption,
|
|
268
|
+
project,
|
|
269
|
+
projectAnnotationSnapshotFingerprint,
|
|
270
|
+
projectAnnotationSnapshotSchema,
|
|
271
|
+
projectAnnotationsFingerprint,
|
|
272
|
+
proposerOfAction,
|
|
273
|
+
quoteKept,
|
|
274
|
+
readDamageMark,
|
|
275
|
+
readHealthMark,
|
|
276
|
+
readJournalMark,
|
|
277
|
+
recordDeepCheck,
|
|
278
|
+
registerProvider,
|
|
279
|
+
reminder,
|
|
280
|
+
resetAttachmentWords,
|
|
281
|
+
resetSearchIndex,
|
|
282
|
+
searchIndexState,
|
|
283
|
+
snapshotProjectAnnotations,
|
|
284
|
+
storeDamageReport,
|
|
285
|
+
storeHealth,
|
|
286
|
+
storePath,
|
|
287
|
+
validateEvidenceFindings,
|
|
288
|
+
validatePayment,
|
|
289
|
+
waitingPointer,
|
|
290
|
+
withoutField
|
|
291
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
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-CHZ26CW5.js";
|
|
9
|
+
import "./chunk-2E6JGBM5.js";
|
|
10
|
+
import "./chunk-JA26HG7T.js";
|
|
11
|
+
import "./chunk-EH6ZEJGT.js";
|
|
12
|
+
import "./chunk-EEPE3SOW.js";
|
|
13
|
+
import "./chunk-3NVOKVRY.js";
|
|
14
|
+
import "./chunk-LWJ4ZGUM.js";
|
|
15
|
+
import "./chunk-3YFDZSM3.js";
|
|
16
|
+
import "./chunk-IDU4ESRZ.js";
|
|
17
|
+
import "./chunk-PMP37KLR.js";
|
|
18
|
+
import "./chunk-5K3FGXZH.js";
|
|
19
|
+
import "./chunk-MRREDVPY.js";
|
|
20
|
+
import "./chunk-TF7ZGCOK.js";
|
|
21
|
+
import "./chunk-JSTBW7F4.js";
|
|
22
|
+
import "./chunk-MOSH2KPD.js";
|
|
23
|
+
import "./chunk-DQ6P3R4B.js";
|
|
24
|
+
import "./chunk-7ZUOI3HY.js";
|
|
25
|
+
import "./chunk-DF2IIO32.js";
|
|
26
|
+
import "./chunk-XXOTX4M3.js";
|
|
27
|
+
import "./chunk-G6FQMVKW.js";
|
|
28
|
+
import "./chunk-WK7GLHHL.js";
|
|
29
|
+
import "./chunk-OBXDRUO4.js";
|
|
30
|
+
import "./chunk-6ALPRBNV.js";
|
|
31
|
+
import "./chunk-XXLQNHKF.js";
|
|
32
|
+
import "./chunk-W6F2CQZ6.js";
|
|
33
|
+
import "./chunk-ZDBTYBFR.js";
|
|
34
|
+
import "./chunk-76RRELCU.js";
|
|
35
|
+
import "./chunk-GW4G5KLS.js";
|
|
36
|
+
import "./chunk-Q3JCUUOR.js";
|
|
37
|
+
import "./chunk-G3JTLVVL.js";
|
|
38
|
+
import "./chunk-QLHDUYGE.js";
|
|
39
|
+
import "./chunk-6NDJDDSQ.js";
|
|
40
|
+
import "./chunk-GLHFJPYS.js";
|
|
41
|
+
import "./chunk-O4A33Y54.js";
|
|
42
|
+
import "./chunk-V6BTAILB.js";
|
|
43
|
+
import "./chunk-DSRXCLPO.js";
|
|
44
|
+
import "./chunk-KHDXRFJZ.js";
|
|
45
|
+
import "./chunk-ESH2QGCA.js";
|
|
46
|
+
import "./chunk-EQGXEKSV.js";
|
|
47
|
+
import "./chunk-MT2ZUZRA.js";
|
|
48
|
+
import "./chunk-4SMGM2Q6.js";
|
|
49
|
+
import "./chunk-3I2FGNWO.js";
|
|
50
|
+
import "./chunk-D72URWJE.js";
|
|
51
|
+
import "./chunk-34FJ26K2.js";
|
|
52
|
+
import "./chunk-S7K2XFQB.js";
|
|
53
|
+
import "./chunk-MC2RQ2OB.js";
|
|
54
|
+
import "./chunk-X5S5KUSU.js";
|
|
55
|
+
import "./chunk-J5P5VSRG.js";
|
|
56
|
+
import "./chunk-S4UUN6LD.js";
|
|
57
|
+
import "./chunk-Y5E2WNWB.js";
|
|
58
|
+
import "./chunk-BUGROVF3.js";
|
|
59
|
+
import "./chunk-OFR3YYT6.js";
|
|
60
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
61
|
+
export {
|
|
62
|
+
addStoreMaintenanceCommands,
|
|
63
|
+
buildStems,
|
|
64
|
+
storeMaintenanceCommands,
|
|
65
|
+
storeSummary
|
|
66
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
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-ZGADZ4CH.js";
|
|
10
|
+
import "./chunk-RU5J7DWY.js";
|
|
11
|
+
import "./chunk-3NVOKVRY.js";
|
|
12
|
+
import "./chunk-LWJ4ZGUM.js";
|
|
13
|
+
import "./chunk-3YFDZSM3.js";
|
|
14
|
+
import "./chunk-IDU4ESRZ.js";
|
|
15
|
+
import "./chunk-PMP37KLR.js";
|
|
16
|
+
import "./chunk-5K3FGXZH.js";
|
|
17
|
+
import "./chunk-GBZ6JUXU.js";
|
|
18
|
+
import "./chunk-MRREDVPY.js";
|
|
19
|
+
import "./chunk-PL5P7UKW.js";
|
|
20
|
+
import "./chunk-TF7ZGCOK.js";
|
|
21
|
+
import "./chunk-JSTBW7F4.js";
|
|
22
|
+
import "./chunk-MOSH2KPD.js";
|
|
23
|
+
import "./chunk-DQ6P3R4B.js";
|
|
24
|
+
import "./chunk-DF2IIO32.js";
|
|
25
|
+
import "./chunk-XXOTX4M3.js";
|
|
26
|
+
import "./chunk-G6FQMVKW.js";
|
|
27
|
+
import "./chunk-WK7GLHHL.js";
|
|
28
|
+
import "./chunk-OBXDRUO4.js";
|
|
29
|
+
import "./chunk-XXLQNHKF.js";
|
|
30
|
+
import "./chunk-W6F2CQZ6.js";
|
|
31
|
+
import "./chunk-ZDBTYBFR.js";
|
|
32
|
+
import "./chunk-76RRELCU.js";
|
|
33
|
+
import "./chunk-GW4G5KLS.js";
|
|
34
|
+
import "./chunk-Q3JCUUOR.js";
|
|
35
|
+
import "./chunk-G3JTLVVL.js";
|
|
36
|
+
import "./chunk-QLHDUYGE.js";
|
|
37
|
+
import "./chunk-6NDJDDSQ.js";
|
|
38
|
+
import "./chunk-GLHFJPYS.js";
|
|
39
|
+
import "./chunk-O4A33Y54.js";
|
|
40
|
+
import "./chunk-V6BTAILB.js";
|
|
41
|
+
import "./chunk-DSRXCLPO.js";
|
|
42
|
+
import "./chunk-KHDXRFJZ.js";
|
|
43
|
+
import "./chunk-ESH2QGCA.js";
|
|
44
|
+
import "./chunk-EQGXEKSV.js";
|
|
45
|
+
import "./chunk-MT2ZUZRA.js";
|
|
46
|
+
import "./chunk-4SMGM2Q6.js";
|
|
47
|
+
import "./chunk-3I2FGNWO.js";
|
|
48
|
+
import "./chunk-D72URWJE.js";
|
|
49
|
+
import "./chunk-34FJ26K2.js";
|
|
50
|
+
import "./chunk-S7K2XFQB.js";
|
|
51
|
+
import "./chunk-MC2RQ2OB.js";
|
|
52
|
+
import "./chunk-X5S5KUSU.js";
|
|
53
|
+
import "./chunk-J5P5VSRG.js";
|
|
54
|
+
import "./chunk-S4UUN6LD.js";
|
|
55
|
+
import "./chunk-Y5E2WNWB.js";
|
|
56
|
+
import "./chunk-BUGROVF3.js";
|
|
57
|
+
import "./chunk-OFR3YYT6.js";
|
|
58
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
59
|
+
export {
|
|
60
|
+
normal,
|
|
61
|
+
outputOf,
|
|
62
|
+
registerCommands,
|
|
63
|
+
search,
|
|
64
|
+
surfaceCommands
|
|
65
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Command } from "commander";
|
|
2
|
+
import { type ServiceEnvironment } from "../context.js";
|
|
3
|
+
/** The service's hosts and nothing else (WC-CMD-32), over the test's fake when it gives one. */
|
|
4
|
+
export declare const serviceFetch: (environment: ServiceEnvironment) => import("@wirecat/cli-base/http").FetchLike;
|
|
5
|
+
/**
|
|
6
|
+
* The service's raw API from its spec, `api list`, `api show` and one command per operation, through cli-core's shared
|
|
7
|
+
* group. The manifest gives the server, the sign-in header, the paging of `--all` and the keys: each write asks or
|
|
8
|
+
* refuses by `api.<operation>`, a delete or a share also by its key. The requests keep the profile's pace.
|
|
9
|
+
* The token is the profile's own, read by `tokenOf` like every other command's.
|
|
10
|
+
*/
|
|
11
|
+
export declare const apiCommand: () => Command;
|
|
12
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/commands/api.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAExC,OAAO,EAAmB,KAAK,kBAAkB,EAAW,MAAM,eAAe,CAAA;AAGjF,gGAAgG;AAChG,eAAO,MAAM,YAAY,gBAAiB,kBAAkB,+CAAiD,CAAA;AAE7G;;;;;GAKG;AACH,eAAO,MAAM,UAAU,QAAO,OAY1B,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { retrying } from "@wirecat/cli-base/http";
|
|
2
|
+
import { hostsFetch, serviceApiCommand } from "@wirecat/cli-core/cli";
|
|
3
|
+
import { Pacer, pacePathFor } from "@wirecat/cli-core/sends";
|
|
4
|
+
import { API, configuration } from "../config.js";
|
|
5
|
+
import { contextOf, PACE, tokenOf } from "../context.js";
|
|
6
|
+
import { DESKTOP, IDENTITY } from "../identity.js";
|
|
7
|
+
/** The service's hosts and nothing else (WC-CMD-32), over the test's fake when it gives one. */
|
|
8
|
+
export const serviceFetch = (environment) => hostsFetch(DESKTOP.hosts, environment.fetch);
|
|
9
|
+
/**
|
|
10
|
+
* The service's raw API from its spec, `api list`, `api show` and one command per operation, through cli-core's shared
|
|
11
|
+
* group. The manifest gives the server, the sign-in header, the paging of `--all` and the keys: each write asks or
|
|
12
|
+
* refuses by `api.<operation>`, a delete or a share also by its key. The requests keep the profile's pace.
|
|
13
|
+
* The token is the profile's own, read by `tokenOf` like every other command's.
|
|
14
|
+
*/
|
|
15
|
+
export const apiCommand = () => serviceApiCommand({
|
|
16
|
+
...API,
|
|
17
|
+
app: IDENTITY,
|
|
18
|
+
configuration,
|
|
19
|
+
fetch: (command) => {
|
|
20
|
+
const { environment, env, profile } = contextOf(command);
|
|
21
|
+
return retrying(serviceFetch(environment), { pacer: new Pacer(pacePathFor(IDENTITY, profile, env), PACE) });
|
|
22
|
+
},
|
|
23
|
+
token: tokenOf,
|
|
24
|
+
schemas: () => import("../generated/schemas.js").then((module) => module.schemas),
|
|
25
|
+
definitions: () => import("../generated/definitions.js").then((module) => module.definitions),
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/commands/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACrE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE5D,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,IAAI,EAA2B,OAAO,EAAE,MAAM,eAAe,CAAA;AACjF,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAElD,gGAAgG;AAChG,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,WAA+B,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,CAAA;AAE7G;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,GAAY,EAAE,CACtC,iBAAiB,CAAC;IAChB,GAAG,GAAG;IACN,GAAG,EAAE,QAAQ;IACb,aAAa;IACb,KAAK,EAAE,CAAC,OAAO,EAAE,EAAE;QACjB,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC,CAAA;QACxD,OAAO,QAAQ,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7G,CAAC;IACD,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC;IACjF,WAAW,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC;CAC9F,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crm.d.ts","sourceRoot":"","sources":["../../src/commands/crm.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAuDnC,8GAA8G;AAC9G,eAAO,MAAM,WAAW,QAAO,OAAO,EAUrC,CAAA"}
|