@curviate/cli 0.50.0-next.5 → 0.50.0-next.7
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 +12 -0
- package/README.md +38 -7
- package/dist/{account-WF27VTZF.js → account-IHEU7HP6.js} +9 -9
- package/dist/{analytics-Z7AE5JEI.js → analytics-WBZN4LT4.js} +5 -5
- package/dist/{beta-consent-VETVR6KP.js → beta-consent-ZQFZWXZG.js} +4 -4
- package/dist/{billing-TYXPR6ZC.js → billing-A3IGRVJH.js} +5 -5
- package/dist/{chunk-RLZP2PL4.js → chunk-3U6WEWE5.js} +11 -11
- package/dist/{chunk-HOS3JH4L.js → chunk-4J4WTYUY.js} +2 -2
- package/dist/{chunk-X62K5XDP.js → chunk-5FPD6PTC.js} +6 -6
- package/dist/{chunk-GGJTO3PN.js → chunk-6UXXVJYQ.js} +2 -2
- package/dist/{chunk-I3HD5UFH.js → chunk-BRUQT2ED.js} +1 -1
- package/dist/{chunk-QLBNUWM2.js → chunk-EUNZGSPN.js} +57 -23
- package/dist/{chunk-73DJ3KNE.js → chunk-FBBZVIFJ.js} +2 -1
- package/dist/{chunk-2W4RN5ON.js → chunk-QW5K5DTC.js} +2 -0
- package/dist/{chunk-5YQXZIFH.js → chunk-RP3BBLHW.js} +2 -2
- package/dist/{chunk-UFHZGBFD.js → chunk-S26VKVWW.js} +1 -1
- package/dist/{chunk-EHTSCHKM.js → chunk-S3RXK4OU.js} +1 -1
- package/dist/{chunk-5I6JJJIV.js → chunk-VHNF6OZD.js} +8 -3
- package/dist/cli.js +25 -25
- package/dist/{comment-YAQSZNYS.js → comment-MSKOUIHT.js} +13 -13
- package/dist/{company-4K75VGBM.js → company-IXDGDEOU.js} +12 -12
- package/dist/{config-OESEJHKZ.js → config-3CLMU2WU.js} +2 -2
- package/dist/{connect-LZJQOYX2.js → connect-TNFZPMPA.js} +11 -11
- package/dist/{contact-XE7HK4RI.js → contact-XTZQH4KW.js} +8 -8
- package/dist/{contact-groups-IHF7GMNG.js → contact-groups-FB4IXRJM.js} +10 -10
- package/dist/{contact-import-SSPUBHAH.js → contact-import-RHXS2XLJ.js} +9 -9
- package/dist/core-JFFNJM7I.js +46 -0
- package/dist/{do-not-contact-LOUCA7JT.js → do-not-contact-25EKOEY3.js} +5 -5
- package/dist/{doctor-Q3434Q7N.js → doctor-GPEBBS5E.js} +4 -4
- package/dist/{draft-SOO3UJIO.js → draft-B3HNK3YS.js} +9 -9
- package/dist/{enrollment-YQMSDXVJ.js → enrollment-HCI4ROPD.js} +6 -6
- package/dist/{examples-74FXGJ7X.js → examples-ICAGL2S5.js} +1 -1
- package/dist/{exit-codes-7DBETBDT.js → exit-codes-CYQHN4NE.js} +1 -1
- package/dist/{export-F6ZFNZ7L.js → export-MRUBK3QC.js} +4 -4
- package/dist/{feed-YE4HOQ2M.js → feed-YQVZQBJ5.js} +6 -6
- package/dist/{group-OCKSOR65.js → group-YOZG2E4Z.js} +6 -6
- package/dist/{inbox-VGCODDRH.js → inbox-3RTYBVRQ.js} +7 -7
- package/dist/{inboxes-XHP6F3MQ.js → inboxes-7ILPNCVY.js} +6 -6
- package/dist/{incoming-AA3MTRAG.js → incoming-PG3KAYZT.js} +5 -5
- package/dist/{job-KFZNTBXT.js → job-FBNPGF3M.js} +6 -6
- package/dist/{login-BD7JQXGX.js → login-GBTMG7NK.js} +2 -2
- package/dist/{message-IXUDKHBW.js → message-FWA4UJIH.js} +7 -7
- package/dist/{motion-QSANYJKR.js → motion-QNO6OYYE.js} +90 -7
- package/dist/{network-A5M6SLRI.js → network-LPPIA6VZ.js} +5 -5
- package/dist/{notification-XRCV5XNX.js → notification-YGIYY2R2.js} +6 -6
- package/dist/{notifications-SU7NKFGF.js → notifications-GRIVVCE7.js} +6 -6
- package/dist/{post-YWXQ2MVL.js → post-SQDYP3NR.js} +12 -12
- package/dist/{profile-JVNJAAZ7.js → profile-4TJZDVF2.js} +16 -16
- package/dist/{recruiter-34G433BX.js → recruiter-NPW3MDYD.js} +11 -11
- package/dist/{sales-nav-34WK5HF6.js → sales-nav-GKXW2GQ2.js} +11 -11
- package/dist/{search-43YUBUEH.js → search-NZ6J5B5M.js} +14 -14
- package/dist/{setup-RFSXQVN6.js → setup-ODOOKKGJ.js} +4 -4
- package/dist/{team-WSRM74PS.js → team-C2MN3DDT.js} +5 -5
- package/dist/{tier-JQYS4MMF.js → tier-HMPVO6GL.js} +4 -4
- package/dist/{unibox-LFTLITLA.js → unibox-NIYPXKZU.js} +5 -5
- package/dist/{webhook-HX2NOPNE.js → webhook-ZQR37JJV.js} +5 -5
- package/package.json +2 -2
- package/dist/core-524AMFTQ.js +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,18 @@ a new command or flag is a minor; a breaking command/flag/exit-code change is a
|
|
|
10
10
|
|
|
11
11
|
Requires the next `@curviate/sdk` (a commit pin on the SDK PR build until it is published; `check:sdk-pin` refuses a publish until the pin is a version). The vendored OpenAPI fixture is re-copied from the SDK's, regenerated from the deployed staging document.
|
|
12
12
|
|
|
13
|
+
### Direct messaging at any hour
|
|
14
|
+
|
|
15
|
+
- Text only, no new command or flag. Active hours no longer refuse a direct message (`message new`, `send`, `edit`, `delete`, reactions, read and unread marks, InMail), by hand or by an agent: it goes at any hour on any day. Exit `13` with `activity_window` no longer names one, except the wait after a location change; Motions and other live writes keep the hours. Limits, warm-up, halts and do-not-contact apply as before. The README's exit `6` and `13` section and `account safety update` say so.
|
|
16
|
+
- `inbox messages` help: a delete no longer "takes minutes to clear". A deleted message reads `is_deleted: true`, with no text or attachments, as soon as Curviate learns of it (at once when deleted through Curviate). A send still may take minutes to appear.
|
|
17
|
+
- Pinned to the SDK build `1d7bc88` (0.45.0-next.4, descriptions only); the vendored OpenAPI fixture is re-copied from it (staging `de00c9e8f`).
|
|
18
|
+
|
|
19
|
+
### Voice notes
|
|
20
|
+
|
|
21
|
+
- `curviate motion voice-clip upload <file>` uploads one audio file (MP3, WAV, M4A, WebM or Ogg; 1 to 120 seconds, up to 20 MiB, 100 uploads per Team per 24 hours) and prints the clip; its `id` (`vc_...`) is the `clip_id` of a `voice.send` step. `motion voice-clip get <id>` reads one back. `--preview` sends nothing. A refused upload is exit `2` (`VOICE_CLIP_INVALID` names the reason), `PAYLOAD_TOO_LARGE` over 20 MiB, `RATE_LIMIT_TENANT` (exit `6`) past the cap.
|
|
22
|
+
- `motion lint`, `motion create` and `motion update` check a `voice.send` step with the SDK's validator (R13 a malformed `clip_id`, R19 no `fallback`, no text beside a clip).
|
|
23
|
+
- `message new`, `message send` and the bare `message <chat_id>`: one `--attach` audio file alone, with no text, to one person arrives as a voice note (the text argument is optional then). `--as-file` sends every attachment as a download (`send_mode: "file"`), audio included, and then text may come with it. Audio with text, a second file or shared content is exit `2` with nothing sent; `--as-file` without `--attach` is exit `2`.
|
|
24
|
+
|
|
13
25
|
### Added
|
|
14
26
|
|
|
15
27
|
- `message new --to` is repeatable: two or more different people start a group chat, `--subject` its name. A person named twice counts once (`--preview` shows the list sent). A voice note stays out of groups.
|
package/README.md
CHANGED
|
@@ -276,6 +276,20 @@ curviate core message send 2-YTQ3ODU3Njgt --share-job 4012345678 --account acc_1
|
|
|
276
276
|
|
|
277
277
|
`--share-post` takes the post id from `curviate core post get` or a list (an activity id, URN or share URL also works); `--share-job` takes the numeric job id or a job URL. Both together, no text, or `--attach` is exit `2` with nothing sent. A company-page chat and Sales Navigator or Recruiter chats do not take shared content. Whether a post id renders in the message is unproven until a live send.
|
|
278
278
|
|
|
279
|
+
### 9. Send a voice note
|
|
280
|
+
|
|
281
|
+
One audio file (MP3, WAV, M4A, WebM or Ogg), alone, with no text, to one person arrives as a voice note. A direct message states no duration limit; a size the platform refuses is `PAYLOAD_TOO_LARGE`. Audio to a group, in InMail or to a company page stays a file.
|
|
282
|
+
|
|
283
|
+
```bash
|
|
284
|
+
curviate core message send 2-YTQ3ODU3Njgt --attach hello.m4a --account acc_1 --preview # nothing sent
|
|
285
|
+
curviate core message new --to janesmith --attach hello.m4a --account acc_1
|
|
286
|
+
|
|
287
|
+
# Keep audio a file download instead (it may then carry text):
|
|
288
|
+
curviate core message send 2-YTQ3ODU3Njgt "The recording." --attach hello.m4a --as-file --account acc_1
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
Audio with text, with a second file, or with `--share-post` / `--share-job` is exit `2` with nothing sent (add `--as-file` to send files as downloads). `--as-file` without `--attach` is exit `2`.
|
|
292
|
+
|
|
279
293
|
## Company
|
|
280
294
|
|
|
281
295
|
Company commands (`curviate core company ...`) are Core-tier reads. `curviate core company <id>` accepts a public
|
|
@@ -352,6 +366,21 @@ motion.json:7:32 error R12 pause.wait: must be a duration between 1m and 365d: a
|
|
|
352
366
|
|
|
353
367
|
`curviate motion create` and `curviate motion update` check the same way before anything is sent. `curviate motion get mot_1 --json` prints a file `curviate motion update mot_1 --file -` accepts as is; add `--if-revision <n>` to refuse the save when someone changed the Sequence since you read it.
|
|
354
368
|
|
|
369
|
+
### Voice notes in a Sequence
|
|
370
|
+
|
|
371
|
+
A `voice.send` step plays an uploaded clip instead of text. Upload the file once, then put its id in the Sequence. Nothing reaches LinkedIn until you start the Motion.
|
|
372
|
+
|
|
373
|
+
```bash
|
|
374
|
+
curviate motion voice-clip upload intro.mp3 --json # {"id":"vc_...","duration_ms":42010,...}: 1 to 120 s, up to 20 MiB, 100 uploads per Team per 24 hours
|
|
375
|
+
curviate motion voice-clip get vc_01J8Z3K9P0Q1R2S3T4V5W6X7Y8
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
```json
|
|
379
|
+
{ "id": "voice", "do": "voice.send", "with": { "clip_id": "vc_01J8Z3K9P0Q1R2S3T4V5W6X7Y8", "fallback": "Hi, thanks for connecting." }, "next": "end" }
|
|
380
|
+
```
|
|
381
|
+
|
|
382
|
+
`fallback` is required and has no variables: it is sent as text when the audio cannot go. For A/B, use `variants: [{ "id": "a", "clip_id": "vc_..." }, { "id": "b", "clip_id": "vc_..." }]` with a shared `with.fallback`, and no text. `curviate motion lint` checks the shape (`R13` a malformed `clip_id`, `R19` no `fallback`); a `clip_id` that is not a clip of your Team is refused when the Motion is saved. `VOICE_CLIP_INVALID` (exit 2) names the reason an upload was refused: not audio, unreadable, under 1 or over 120 seconds; a clip is never shortened. Over 20 MiB is `PAYLOAD_TOO_LARGE`; the 101st upload in 24 hours is `RATE_LIMIT_TENANT` (exit 6, `Retry-After`). A clip no Sequence uses is deleted 30 days after its upload.
|
|
383
|
+
|
|
355
384
|
### 2. Find and fix Enrollments
|
|
356
385
|
|
|
357
386
|
```bash
|
|
@@ -692,9 +721,10 @@ Exit `6` means LinkedIn or Curviate's request limiter refused you: back off and
|
|
|
692
721
|
retry later.
|
|
693
722
|
|
|
694
723
|
Exit `13` means an account-safety ceiling YOU configured is spent, or the
|
|
695
|
-
account is outside the hours it works in
|
|
696
|
-
|
|
697
|
-
|
|
724
|
+
account is outside the hours it works in (never for a direct message: a send,
|
|
725
|
+
new chat, edit, delete, reaction or read mark goes at any hour). Nothing
|
|
726
|
+
reached LinkedIn and nothing was spent, so backing off is the wrong move: the
|
|
727
|
+
reset can be a month out, and you can lift it now. The error body names what to do, so branch on the fields
|
|
698
728
|
rather than parsing the message:
|
|
699
729
|
|
|
700
730
|
```json
|
|
@@ -714,7 +744,8 @@ rather than parsing the message:
|
|
|
714
744
|
```
|
|
715
745
|
|
|
716
746
|
- `safetyReason` is `ceiling` (the row's limit is spent) or `activity_window`
|
|
717
|
-
(the account is outside its working hours
|
|
747
|
+
(the account is outside its working hours; never for a direct message, except
|
|
748
|
+
the wait after a location change). The fixes differ.
|
|
718
749
|
- `resetAt` is an absolute instant, so it stays true however long you hold it.
|
|
719
750
|
It is `null` in the two cases where no clock frees the account: the
|
|
720
751
|
invitation backlog, which falls when invitations are accepted or withdrawn
|
|
@@ -722,9 +753,9 @@ rather than parsing the message:
|
|
|
722
753
|
LinkedIn regrants on its own schedule. Null-check it before scheduling on it.
|
|
723
754
|
- `safetyHint.parameter` is addressable on the safety policy, so an agent can
|
|
724
755
|
choose between waiting, escalating and reconfiguring without reading prose.
|
|
725
|
-
- A limit is always enforced: at the ceiling, or outside the activity window
|
|
726
|
-
the action is refused with this error.
|
|
727
|
-
success body.
|
|
756
|
+
- A limit is always enforced: at the ceiling, or outside the activity window
|
|
757
|
+
for anything but a direct message, the action is refused with this error.
|
|
758
|
+
Nothing is sent and nothing rides a success body.
|
|
728
759
|
|
|
729
760
|
A `429` that carries `budgetRow` under `PLATFORM_RATE_LIMIT` is a third thing:
|
|
730
761
|
that row is PAUSED because LinkedIn refused a recent call on it. The pause is
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
grammarParams,
|
|
11
11
|
renderOverview,
|
|
12
12
|
windowParams
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5FPD6PTC.js";
|
|
14
14
|
import {
|
|
15
15
|
print,
|
|
16
16
|
table
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
outputOpts,
|
|
23
23
|
rootClient,
|
|
24
24
|
usage
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6UXXVJYQ.js";
|
|
26
26
|
import {
|
|
27
27
|
buildPreviewOutput
|
|
28
28
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
readablePage,
|
|
38
38
|
rejectPaginationModifiersWithoutAll,
|
|
39
39
|
streamAll
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-S26VKVWW.js";
|
|
41
41
|
import {
|
|
42
42
|
isJsonMode,
|
|
43
43
|
renderError,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
createClient,
|
|
55
55
|
resolveEffectiveConfig
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-BRUQT2ED.js";
|
|
57
57
|
import {
|
|
58
58
|
GLOBAL_FLAGS,
|
|
59
59
|
READ_SINGLE_FLAGS,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
} from "./chunk-RYWWSZUH.js";
|
|
63
63
|
import {
|
|
64
64
|
DESCRIPTIONS
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
66
66
|
import {
|
|
67
67
|
parseDocument,
|
|
68
68
|
readFileFlag
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
} from "./chunk-ZYURL5VK.js";
|
|
75
75
|
import {
|
|
76
76
|
AUTH_NEEDED
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-QW5K5DTC.js";
|
|
78
78
|
|
|
79
79
|
// src/commands/account-insights.ts
|
|
80
80
|
import { defineCommand } from "citty";
|
|
@@ -216,7 +216,7 @@ var getCmd = defineCommand3({
|
|
|
216
216
|
var updateCmd = defineCommand3({
|
|
217
217
|
meta: {
|
|
218
218
|
name: "update",
|
|
219
|
-
description: 'Change one Account\'s safety policy from a JSON document: `rows`, for example {"rows":[{"budget_row":"profile_views","ceiling":40}]}, `active_hours`, for example {"active_hours":{"days":["mon","tue"],"start":"09:00","end":"17:00"}}, and `auto_withdraw` (true or false: Curviate withdraws its own invitations older than 14 days once more than 400 are pending). A row\'s `green` is its target, what Motions aim at; the ceiling is the most it may do. Fields you leave out stay as they are; null clears an override. Prints the policy.',
|
|
219
|
+
description: 'Change one Account\'s safety policy from a JSON document: `rows`, for example {"rows":[{"budget_row":"profile_views","ceiling":40}]}, `active_hours`, for example {"active_hours":{"days":["mon","tue"],"start":"09:00","end":"17:00"}}, and `auto_withdraw` (true or false: Curviate withdraws its own invitations older than 14 days once more than 400 are pending). Active hours hold Motions and other live writes, never a direct message (send, new chat, edit, delete, reaction, read mark). A row\'s `green` is its target, what Motions aim at; the ceiling is the most it may do. Fields you leave out stay as they are; null clears an override. Prints the policy.',
|
|
220
220
|
risk: "write",
|
|
221
221
|
rules: {
|
|
222
222
|
changes: "The Account's limits or Active hours, from the next action on.",
|
|
@@ -666,7 +666,7 @@ var connectRequestCommand = defineCommand4({
|
|
|
666
666
|
meta: { name: "connect-request", description: "Connect a LinkedIn account without any credential passing through you: create a request, give the person its link, read it until done." },
|
|
667
667
|
subCommands: { create: createCmd, get: getCmd2, cancel: cancelCmd },
|
|
668
668
|
async run() {
|
|
669
|
-
const { showHelp } = await import("./examples-
|
|
669
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
670
670
|
await showHelp(connectRequestCommand, ["curviate", "account", "connect-request"]);
|
|
671
671
|
}
|
|
672
672
|
});
|
|
@@ -697,7 +697,7 @@ function resolveOutputOpts(flags) {
|
|
|
697
697
|
async function handleError(err, outOpts, out) {
|
|
698
698
|
const { CurviateError } = await import("@curviate/sdk");
|
|
699
699
|
if (err instanceof CurviateError) {
|
|
700
|
-
const { getExitCode } = await import("./exit-codes-
|
|
700
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
701
701
|
renderError(err, outOpts, out);
|
|
702
702
|
process.exit(getExitCode(err));
|
|
703
703
|
}
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
grammarParams,
|
|
7
7
|
renderOverview,
|
|
8
8
|
windowParams
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5FPD6PTC.js";
|
|
10
10
|
import "./chunk-5S3MJVI5.js";
|
|
11
11
|
import "./chunk-PPGKQJKU.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-6UXXVJYQ.js";
|
|
13
13
|
import "./chunk-NNV2OYEF.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-S26VKVWW.js";
|
|
15
15
|
import "./chunk-QM57YDJE.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-BRUQT2ED.js";
|
|
17
17
|
import "./chunk-RYWWSZUH.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-FBBZVIFJ.js";
|
|
19
19
|
import "./chunk-ZYURL5VK.js";
|
|
20
20
|
export {
|
|
21
21
|
GRAMMAR_ARGS,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6UXXVJYQ.js";
|
|
8
8
|
import {
|
|
9
9
|
buildPreviewOutput
|
|
10
10
|
} from "./chunk-TCUYH5GO.js";
|
|
11
11
|
import {
|
|
12
12
|
renderSuccess
|
|
13
13
|
} from "./chunk-QM57YDJE.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-BRUQT2ED.js";
|
|
15
15
|
import {
|
|
16
16
|
READ_SINGLE_FLAGS,
|
|
17
17
|
WRITE_SINGLE_FLAGS,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-RYWWSZUH.js";
|
|
20
20
|
import {
|
|
21
21
|
DESCRIPTIONS
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
23
23
|
import "./chunk-ZYURL5VK.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/beta-consent.ts
|
|
@@ -72,7 +72,7 @@ var betaCommand = defineCommand({
|
|
|
72
72
|
meta: { name: "beta", description: DESCRIPTIONS.beta },
|
|
73
73
|
subCommands: { status: statusCmd, update: updateCmd },
|
|
74
74
|
async run() {
|
|
75
|
-
const { showHelp } = await import("./examples-
|
|
75
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
76
76
|
await showHelp(betaCommand, ["curviate", "beta"]);
|
|
77
77
|
}
|
|
78
78
|
});
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
outputOpts,
|
|
8
8
|
rootClient,
|
|
9
9
|
usage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6UXXVJYQ.js";
|
|
11
11
|
import {
|
|
12
12
|
intFlag
|
|
13
13
|
} from "./chunk-NNV2OYEF.js";
|
|
@@ -18,21 +18,21 @@ import {
|
|
|
18
18
|
readablePage,
|
|
19
19
|
rejectPaginationModifiersWithoutAll,
|
|
20
20
|
streamAll
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-S26VKVWW.js";
|
|
22
22
|
import {
|
|
23
23
|
renderSuccess,
|
|
24
24
|
writeNdjsonItem
|
|
25
25
|
} from "./chunk-QM57YDJE.js";
|
|
26
26
|
import {
|
|
27
27
|
downloadBinary
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BRUQT2ED.js";
|
|
29
29
|
import {
|
|
30
30
|
GLOBAL_FLAGS,
|
|
31
31
|
readOnly
|
|
32
32
|
} from "./chunk-RYWWSZUH.js";
|
|
33
33
|
import {
|
|
34
34
|
DESCRIPTIONS
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
36
36
|
import "./chunk-ZYURL5VK.js";
|
|
37
37
|
|
|
38
38
|
// src/commands/billing.ts
|
|
@@ -115,7 +115,7 @@ var billingCommand = defineCommand({
|
|
|
115
115
|
meta: { name: "billing", description: DESCRIPTIONS.billing },
|
|
116
116
|
subCommands: { invoices: invoicesCmd },
|
|
117
117
|
async run() {
|
|
118
|
-
const { showHelp } = await import("./examples-
|
|
118
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
119
119
|
await showHelp(billingCommand, ["curviate", "billing"]);
|
|
120
120
|
}
|
|
121
121
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4J4WTYUY.js";
|
|
5
5
|
import {
|
|
6
6
|
writeAtomic
|
|
7
7
|
} from "./chunk-GOICALYQ.js";
|
|
8
8
|
import {
|
|
9
9
|
sendInChunks
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RP3BBLHW.js";
|
|
11
11
|
import {
|
|
12
12
|
fail,
|
|
13
13
|
listFlag,
|
|
14
14
|
outputOpts,
|
|
15
15
|
rootClient,
|
|
16
16
|
usage
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6UXXVJYQ.js";
|
|
18
18
|
import {
|
|
19
19
|
buildPreviewOutput
|
|
20
20
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -29,14 +29,14 @@ import {
|
|
|
29
29
|
readablePage,
|
|
30
30
|
rejectPaginationModifiersWithoutAll,
|
|
31
31
|
streamAll
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-S26VKVWW.js";
|
|
33
33
|
import {
|
|
34
34
|
renderSuccess,
|
|
35
35
|
writeNdjsonItem
|
|
36
36
|
} from "./chunk-QM57YDJE.js";
|
|
37
37
|
import {
|
|
38
38
|
downloadBinary
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BRUQT2ED.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
READ_SINGLE_FLAGS,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
DESCRIPTIONS,
|
|
48
48
|
lazy
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
50
50
|
|
|
51
51
|
// src/commands/contact.ts
|
|
52
52
|
import { defineCommand } from "citty";
|
|
@@ -501,15 +501,15 @@ var contactCommand = defineCommand({
|
|
|
501
501
|
create: createCmd,
|
|
502
502
|
update: updateCmd,
|
|
503
503
|
delete: deleteCmd,
|
|
504
|
-
import: lazy("contactImport", () => import("./contact-import-
|
|
504
|
+
import: lazy("contactImport", () => import("./contact-import-RHXS2XLJ.js").then((m) => m.contactImportCommand)),
|
|
505
505
|
export: exportCmd,
|
|
506
506
|
enrich: enrichCmd,
|
|
507
|
-
lists: lazy("contactLists", () => import("./contact-groups-
|
|
508
|
-
tags: lazy("contactTags", () => import("./contact-groups-
|
|
509
|
-
imports: lazy("contactImports", () => import("./contact-import-
|
|
507
|
+
lists: lazy("contactLists", () => import("./contact-groups-FB4IXRJM.js").then((m) => m.contactListsCommand)),
|
|
508
|
+
tags: lazy("contactTags", () => import("./contact-groups-FB4IXRJM.js").then((m) => m.contactTagsCommand)),
|
|
509
|
+
imports: lazy("contactImports", () => import("./contact-import-RHXS2XLJ.js").then((m) => m.contactImportsCommand))
|
|
510
510
|
},
|
|
511
511
|
async run() {
|
|
512
|
-
const { showHelp } = await import("./examples-
|
|
512
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
513
513
|
await showHelp(contactCommand, ["curviate", "contact"]);
|
|
514
514
|
}
|
|
515
515
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S26VKVWW.js";
|
|
5
5
|
import {
|
|
6
6
|
assertNoStdinPlaceholder
|
|
7
7
|
} from "./chunk-ZYURL5VK.js";
|
|
8
8
|
import {
|
|
9
9
|
getExitCode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QW5K5DTC.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/path-safety.ts
|
|
13
13
|
var UNSAFE_CHARS = /[\u0000-\u0020\u007F/\\?#%]/;
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
outputOpts,
|
|
14
14
|
rootClient,
|
|
15
15
|
usage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6UXXVJYQ.js";
|
|
17
17
|
import {
|
|
18
18
|
intFlag
|
|
19
19
|
} from "./chunk-NNV2OYEF.js";
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
readablePage,
|
|
25
25
|
rejectPaginationModifiersWithoutAll,
|
|
26
26
|
streamAll
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-S26VKVWW.js";
|
|
28
28
|
import {
|
|
29
29
|
renderSuccess,
|
|
30
30
|
writeNdjsonItem
|
|
31
31
|
} from "./chunk-QM57YDJE.js";
|
|
32
32
|
import {
|
|
33
33
|
downloadBinary
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BRUQT2ED.js";
|
|
35
35
|
import {
|
|
36
36
|
GLOBAL_FLAGS,
|
|
37
37
|
READ_SINGLE_FLAGS,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-RYWWSZUH.js";
|
|
40
40
|
import {
|
|
41
41
|
DESCRIPTIONS
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
43
43
|
|
|
44
44
|
// src/commands/analytics.ts
|
|
45
45
|
import { defineCommand } from "citty";
|
|
@@ -312,7 +312,7 @@ var eventsCommand = defineCommand({
|
|
|
312
312
|
meta: { name: "events", description: "The records behind the analytics numbers." },
|
|
313
313
|
subCommands: { list: eventsListCmd },
|
|
314
314
|
async run() {
|
|
315
|
-
const { showHelp } = await import("./examples-
|
|
315
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
316
316
|
await showHelp(eventsCommand, ["curviate", "analytics", "events"]);
|
|
317
317
|
}
|
|
318
318
|
});
|
|
@@ -324,7 +324,7 @@ var analyticsCommand = defineCommand({
|
|
|
324
324
|
export: exportCmd
|
|
325
325
|
},
|
|
326
326
|
async run() {
|
|
327
|
-
const { showHelp } = await import("./examples-
|
|
327
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
328
328
|
await showHelp(analyticsCommand, ["curviate", "analytics"]);
|
|
329
329
|
}
|
|
330
330
|
});
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
createClient,
|
|
8
8
|
resolveEffectiveConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BRUQT2ED.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/root-command.ts
|
|
12
12
|
var outputOpts = (f) => ({
|
|
@@ -35,7 +35,7 @@ async function rootClient(f) {
|
|
|
35
35
|
async function fail(err, f) {
|
|
36
36
|
const { CurviateError } = await import("@curviate/sdk");
|
|
37
37
|
if (err instanceof CurviateError) {
|
|
38
|
-
const { getExitCode } = await import("./exit-codes-
|
|
38
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
39
39
|
renderError(err, outputOpts(f), process);
|
|
40
40
|
process.exit(getExitCode(err));
|
|
41
41
|
}
|
|
@@ -274,7 +274,7 @@ import { AsyncLocalStorage } from "async_hooks";
|
|
|
274
274
|
import { Curviate, CurviateError as CurviateError2 } from "@curviate/sdk";
|
|
275
275
|
|
|
276
276
|
// package.json
|
|
277
|
-
var version = "0.50.0-next.
|
|
277
|
+
var version = "0.50.0-next.7";
|
|
278
278
|
|
|
279
279
|
// src/lib/client.ts
|
|
280
280
|
function headerStrings(headers) {
|