@curviate/cli 0.53.0 → 0.55.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 +30 -1
- package/README.md +34 -17
- package/dist/{account-24YCNFNY.js → account-6L33JFZS.js} +98 -116
- package/dist/{analytics-RMRTJPHK.js → analytics-HGJGXRAM.js} +5 -5
- package/dist/{beta-consent-KCJUJFAR.js → beta-consent-LIND4PPN.js} +4 -4
- package/dist/{billing-5GK6WIXR.js → billing-QKPP5NPR.js} +5 -5
- package/dist/{chunk-AA2UTHCS.js → chunk-AMMAA62Z.js} +44 -44
- package/dist/{chunk-R5VJTBAJ.js → chunk-BC4N5X3N.js} +47 -47
- package/dist/{chunk-N4IYTFIY.js → chunk-EA5LJ4CS.js} +1 -1
- package/dist/{chunk-WYFTBTDQ.js → chunk-FHSGANM6.js} +10 -10
- package/dist/chunk-J34JU27C.js +94 -0
- package/dist/{chunk-62YAYAUI.js → chunk-JKXGL7PT.js} +9 -9
- package/dist/{chunk-FUX3BRYP.js → chunk-JXDEV33Z.js} +1 -1
- package/dist/{chunk-4YGTPVEH.js → chunk-KLXDFFHT.js} +1 -1
- package/dist/{chunk-WY73KWPF.js → chunk-LGUZ52BU.js} +2 -2
- package/dist/{chunk-FNENKSJ7.js → chunk-OYZ27Q3B.js} +88 -88
- package/dist/{chunk-TIYRNMGW.js → chunk-Q5Z7FMXI.js} +2 -2
- package/dist/{chunk-AQVE6HO5.js → chunk-QBY6L77D.js} +15 -13
- package/dist/{chunk-PAXWRJNA.js → chunk-R7USRN52.js} +1 -1
- package/dist/{chunk-QW5K5DTC.js → chunk-RDKTHFQ6.js} +25 -6
- package/dist/{chunk-YHXIFKCU.js → chunk-S234PC5E.js} +1 -1
- package/dist/{chunk-IRKTIZUM.js → chunk-Z3RPQ5K4.js} +2 -2
- package/dist/cli.js +27 -25
- package/dist/{comment-UUA7B5YC.js → comment-IIKLEAEK.js} +8 -8
- package/dist/{company-65ILSE2U.js → company-CX5TZNB5.js} +11 -11
- package/dist/{config-TMFMXS7T.js → config-Y4FC7QKM.js} +2 -2
- package/dist/{connect-URFFJVYY.js → connect-GUUBX23F.js} +15 -15
- package/dist/{contact-A3S2HEBM.js → contact-OCYSFRTS.js} +8 -8
- package/dist/{contact-groups-CEV2YITT.js → contact-groups-HWJSYRFJ.js} +85 -85
- package/dist/{contact-import-HHVKVRJW.js → contact-import-CTWSFT64.js} +10 -10
- package/dist/core-37XZS2RG.js +46 -0
- package/dist/{do-not-contact-QYPADRLJ.js → do-not-contact-6UVY3UKT.js} +29 -29
- package/dist/{doctor-M7JVNQPQ.js → doctor-6CB6DCY3.js} +4 -4
- package/dist/{document-MDE2WJYX.js → document-ADK4GZA7.js} +1 -1
- package/dist/domain-BUJMHYIV.js +70 -0
- package/dist/{draft-6KY4F5AE.js → draft-SII6E6Z6.js} +4 -4
- package/dist/{enrollment-IXQD5IGZ.js → enrollment-OXGR5WVI.js} +38 -38
- package/dist/{examples-KAMXHRLE.js → examples-77WVMKZQ.js} +2 -2
- package/dist/{exit-codes-CYQHN4NE.js → exit-codes-ZSOLAXQO.js} +1 -1
- package/dist/{export-7ILY53LY.js → export-D32J5GRN.js} +5 -5
- package/dist/{feed-GESAX65K.js → feed-HOFHCP6W.js} +6 -6
- package/dist/{group-KKTBXE42.js → group-AMYOAGNS.js} +6 -6
- package/dist/{inbox-QQ6AQDVB.js → inbox-NS2LB2WQ.js} +9 -9
- package/dist/{inboxes-352YK6UB.js → inboxes-XWUZJ5PN.js} +6 -6
- package/dist/{incoming-5T2ELEDF.js → incoming-UIWRL6QS.js} +13 -13
- package/dist/{job-KBILRJJO.js → job-TKGPXU26.js} +10 -10
- package/dist/{login-DQPKKDVA.js → login-B2YWX2JP.js} +2 -2
- package/dist/mailbox-LLSGX2FF.js +406 -0
- package/dist/{message-ZB2IGJIQ.js → message-M4THMNRZ.js} +7 -7
- package/dist/{motion-NNCRSOT6.js → motion-2OUGYR3O.js} +147 -147
- package/dist/{network-FLPECF4C.js → network-MFWKXTEV.js} +5 -5
- package/dist/{notification-B3MRXH3A.js → notification-5K4TCYQA.js} +6 -6
- package/dist/{notifications-PMJDG45H.js → notifications-2GKUJB7C.js} +6 -6
- package/dist/{post-O5DYXSHK.js → post-BHH7YKGM.js} +8 -8
- package/dist/{profile-ZDP23SNN.js → profile-GKMRRKZF.js} +15 -15
- package/dist/{recruiter-QENVOZFV.js → recruiter-J53ZSD4P.js} +17 -17
- package/dist/{sales-nav-JFAYF6DM.js → sales-nav-6I5SYTRX.js} +15 -15
- package/dist/{search-5HPVIIUJ.js → search-HS2YAA33.js} +17 -17
- package/dist/{setup-QUD7TUCB.js → setup-IYVOGVC6.js} +4 -4
- package/dist/{team-ZTGY45Y7.js → team-N6ILUHAD.js} +6 -6
- package/dist/{tier-3ISVHJJ5.js → tier-QWXKFESB.js} +8 -10
- package/dist/{unibox-JQBP7COE.js → unibox-D4WIHIZX.js} +34 -34
- package/dist/{webhook-GPGFPF5P.js → webhook-PKWGZZO2.js} +18 -18
- package/package.json +2 -2
- package/dist/core-IOGPY6HS.js +0 -46
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z3RPQ5K4.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readCursorFlag,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
readablePage,
|
|
10
10
|
rejectPaginationModifiersWithoutAll,
|
|
11
11
|
streamAll
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-R7USRN52.js";
|
|
13
13
|
import {
|
|
14
14
|
renderError,
|
|
15
15
|
renderSuccess,
|
|
@@ -19,16 +19,16 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createClient,
|
|
21
21
|
resolveEffectiveConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-S234PC5E.js";
|
|
23
23
|
import {
|
|
24
24
|
GLOBAL_FLAGS,
|
|
25
25
|
readOnly
|
|
26
26
|
} from "./chunk-QLKGOIWS.js";
|
|
27
27
|
import {
|
|
28
28
|
DESCRIPTIONS
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QBY6L77D.js";
|
|
30
30
|
import "./chunk-ZYURL5VK.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-RDKTHFQ6.js";
|
|
32
32
|
|
|
33
33
|
// src/commands/feed.ts
|
|
34
34
|
import { defineCommand } from "citty";
|
|
@@ -49,7 +49,7 @@ function resolveOutputOpts(flags) {
|
|
|
49
49
|
async function handleSdkError(err, outOpts, out) {
|
|
50
50
|
const { CurviateError } = await import("@curviate/sdk");
|
|
51
51
|
if (err instanceof CurviateError) {
|
|
52
|
-
const { getExitCode } = await import("./exit-codes-
|
|
52
|
+
const { getExitCode } = await import("./exit-codes-ZSOLAXQO.js");
|
|
53
53
|
renderError(err, outOpts, out);
|
|
54
54
|
process.exit(getExitCode(err));
|
|
55
55
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-UEAX6KUB.js";
|
|
5
5
|
import {
|
|
6
6
|
requireAccount
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z3RPQ5K4.js";
|
|
8
8
|
import {
|
|
9
9
|
pageDelayFromFlags,
|
|
10
10
|
readCursorFlag,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
readablePage,
|
|
14
14
|
rejectPaginationModifiersWithoutAll,
|
|
15
15
|
streamAll
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-R7USRN52.js";
|
|
17
17
|
import {
|
|
18
18
|
renderError,
|
|
19
19
|
renderSuccess,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
createClient,
|
|
25
25
|
resolveEffectiveConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-S234PC5E.js";
|
|
27
27
|
import {
|
|
28
28
|
GLOBAL_FLAGS,
|
|
29
29
|
READ_SINGLE_FLAGS,
|
|
@@ -31,9 +31,9 @@ import {
|
|
|
31
31
|
} from "./chunk-QLKGOIWS.js";
|
|
32
32
|
import {
|
|
33
33
|
DESCRIPTIONS
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QBY6L77D.js";
|
|
35
35
|
import "./chunk-ZYURL5VK.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-RDKTHFQ6.js";
|
|
37
37
|
|
|
38
38
|
// src/commands/group.ts
|
|
39
39
|
import { defineCommand } from "citty";
|
|
@@ -60,7 +60,7 @@ function resolveOutputOpts(flags) {
|
|
|
60
60
|
async function handleSdkError(err, outOpts, out) {
|
|
61
61
|
const { CurviateError } = await import("@curviate/sdk");
|
|
62
62
|
if (err instanceof CurviateError) {
|
|
63
|
-
const { getExitCode } = await import("./exit-codes-
|
|
63
|
+
const { getExitCode } = await import("./exit-codes-ZSOLAXQO.js");
|
|
64
64
|
renderError(err, outOpts, out);
|
|
65
65
|
process.exit(getExitCode(err));
|
|
66
66
|
}
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
RETRIEVAL_FLAGS,
|
|
4
4
|
parseRetrievalFlags
|
|
5
5
|
} from "./chunk-L7JH3W56.js";
|
|
6
|
+
import {
|
|
7
|
+
normalizeChatId
|
|
8
|
+
} from "./chunk-UEAX6KUB.js";
|
|
6
9
|
import {
|
|
7
10
|
AS_ACCOUNT,
|
|
8
11
|
TARGET
|
|
9
12
|
} from "./chunk-Q3ZPRFUX.js";
|
|
10
|
-
import {
|
|
11
|
-
normalizeChatId
|
|
12
|
-
} from "./chunk-UEAX6KUB.js";
|
|
13
13
|
import {
|
|
14
14
|
requireAccount
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Z3RPQ5K4.js";
|
|
16
16
|
import {
|
|
17
17
|
buildPreviewOutput
|
|
18
18
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
readablePage,
|
|
25
25
|
rejectPaginationModifiersWithoutAll,
|
|
26
26
|
streamAll
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-R7USRN52.js";
|
|
28
28
|
import {
|
|
29
29
|
renderError,
|
|
30
30
|
renderSuccess,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
createClient,
|
|
36
36
|
resolveEffectiveConfig
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-S234PC5E.js";
|
|
38
38
|
import {
|
|
39
39
|
GLOBAL_FLAGS,
|
|
40
40
|
READ_SINGLE_FLAGS,
|
|
@@ -43,9 +43,9 @@ import {
|
|
|
43
43
|
} from "./chunk-QLKGOIWS.js";
|
|
44
44
|
import {
|
|
45
45
|
DESCRIPTIONS
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-QBY6L77D.js";
|
|
47
47
|
import "./chunk-ZYURL5VK.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-RDKTHFQ6.js";
|
|
49
49
|
|
|
50
50
|
// src/commands/inbox.ts
|
|
51
51
|
import { defineCommand } from "citty";
|
|
@@ -107,7 +107,7 @@ function validateInboxFolder(raw, out) {
|
|
|
107
107
|
async function handleSdkError(err, outOpts, out) {
|
|
108
108
|
const { CurviateError } = await import("@curviate/sdk");
|
|
109
109
|
if (err instanceof CurviateError) {
|
|
110
|
-
const { getExitCode } = await import("./exit-codes-
|
|
110
|
+
const { getExitCode } = await import("./exit-codes-ZSOLAXQO.js");
|
|
111
111
|
renderError(err, outOpts, out);
|
|
112
112
|
process.exit(getExitCode(err));
|
|
113
113
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z3RPQ5K4.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readCursorFlag,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
readablePage,
|
|
11
11
|
rejectPaginationModifiersWithoutAll,
|
|
12
12
|
streamAll
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-R7USRN52.js";
|
|
14
14
|
import {
|
|
15
15
|
renderError,
|
|
16
16
|
renderSuccess,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
createClient,
|
|
22
22
|
resolveEffectiveConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S234PC5E.js";
|
|
24
24
|
import {
|
|
25
25
|
GLOBAL_FLAGS,
|
|
26
26
|
READ_SINGLE_FLAGS,
|
|
@@ -28,9 +28,9 @@ import {
|
|
|
28
28
|
} from "./chunk-QLKGOIWS.js";
|
|
29
29
|
import {
|
|
30
30
|
DESCRIPTIONS
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QBY6L77D.js";
|
|
32
32
|
import "./chunk-ZYURL5VK.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-RDKTHFQ6.js";
|
|
34
34
|
|
|
35
35
|
// src/commands/inboxes.ts
|
|
36
36
|
import { defineCommand } from "citty";
|
|
@@ -57,7 +57,7 @@ function resolveOutputOpts(flags) {
|
|
|
57
57
|
async function handleSdkError(err, outOpts, out) {
|
|
58
58
|
const { CurviateError } = await import("@curviate/sdk");
|
|
59
59
|
if (err instanceof CurviateError) {
|
|
60
|
-
const { getExitCode } = await import("./exit-codes-
|
|
60
|
+
const { getExitCode } = await import("./exit-codes-ZSOLAXQO.js");
|
|
61
61
|
renderError(err, outOpts, out);
|
|
62
62
|
process.exit(getExitCode(err));
|
|
63
63
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LGUZ52BU.js";
|
|
8
8
|
import {
|
|
9
9
|
buildPreviewOutput
|
|
10
10
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
readablePage,
|
|
19
19
|
rejectPaginationModifiersWithoutAll,
|
|
20
20
|
streamAll
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-R7USRN52.js";
|
|
22
22
|
import {
|
|
23
23
|
renderSuccess,
|
|
24
24
|
writeNdjsonItem
|
|
25
25
|
} from "./chunk-QM57YDJE.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-S234PC5E.js";
|
|
27
27
|
import {
|
|
28
28
|
GLOBAL_FLAGS,
|
|
29
29
|
READ_SINGLE_FLAGS,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-QLKGOIWS.js";
|
|
33
33
|
import {
|
|
34
34
|
DESCRIPTIONS
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QBY6L77D.js";
|
|
36
36
|
import "./chunk-ZYURL5VK.js";
|
|
37
37
|
|
|
38
38
|
// src/commands/incoming.ts
|
|
@@ -42,7 +42,7 @@ function body(f) {
|
|
|
42
42
|
const nul = (v) => v === "" ? null : v;
|
|
43
43
|
if (f["event-name"] !== void 0) b["event_name"] = nul(f["event-name"]);
|
|
44
44
|
if (f["event-name-field"] !== void 0) b["event_name_field"] = nul(f["event-name-field"]);
|
|
45
|
-
if (f.
|
|
45
|
+
if (f.campaign !== void 0) b["campaign_id"] = nul(f.campaign);
|
|
46
46
|
const match = {};
|
|
47
47
|
if (f["match-enrollment-id"] !== void 0) match["enrollment_id"] = nul(f["match-enrollment-id"]);
|
|
48
48
|
if (f["match-linkedin-url"] !== void 0) match["linkedin_url"] = nul(f["match-linkedin-url"]);
|
|
@@ -97,10 +97,10 @@ var EDITOR = { INSUFFICIENT_ROLE: "only its creator (or an Owner, when it has no
|
|
|
97
97
|
var FIELDS = {
|
|
98
98
|
"event-name": { type: "string", description: "The fixed event name every post carries (for example reply_received). Exactly one of this and --event-name-field on create." },
|
|
99
99
|
"event-name-field": { type: "string", description: "The path in the post the event name is read from (for example event_type)." },
|
|
100
|
-
|
|
100
|
+
campaign: { type: "string", description: "Only this Campaign's Enrollments move (mot_...); empty for any Campaign's." },
|
|
101
101
|
"match-enrollment-id": { type: "string", description: "Path in the post to an Enrollment id (for example custom_variables.enrollment_id); empty removes it." },
|
|
102
102
|
"match-linkedin-url": { type: "string", description: "Path in the post to the person's LinkedIn URL; empty removes it." },
|
|
103
|
-
"match-email": { type: "string", description: "Path in the post to an email address the
|
|
103
|
+
"match-email": { type: "string", description: "Path in the post to an email address the Lead already has (for example lead_email); empty removes it. Paths are tried in the order enrollment id, LinkedIn URL, email." },
|
|
104
104
|
"required-header": { type: "string", description: "NAME:VALUE every post must carry, else 401; NAME alone keeps the stored value; empty removes it." }
|
|
105
105
|
};
|
|
106
106
|
var createCmd = defineCommand({
|
|
@@ -115,7 +115,7 @@ var createCmd = defineCommand({
|
|
|
115
115
|
retry: "Each call creates another URL.",
|
|
116
116
|
undo: "`curviate incoming delete <id>`."
|
|
117
117
|
},
|
|
118
|
-
errors: {
|
|
118
|
+
errors: { RESOURCE_NOT_FOUND: "no Campaign with that id." },
|
|
119
119
|
examples: ["curviate incoming create --event-name reply_received --match-email lead_email"]
|
|
120
120
|
},
|
|
121
121
|
args: { ...WRITE_SINGLE_FLAGS, ...FIELDS },
|
|
@@ -124,7 +124,7 @@ var createCmd = defineCommand({
|
|
|
124
124
|
var listCmd = defineCommand({
|
|
125
125
|
meta: {
|
|
126
126
|
name: "list",
|
|
127
|
-
description: "Your Team's incoming events, URLs masked, with the last arrival and the
|
|
127
|
+
description: "Your Team's incoming events, URLs masked, with the last arrival and the Campaign steps waiting for each.",
|
|
128
128
|
risk: "read",
|
|
129
129
|
examples: ["curviate incoming list", "curviate incoming list --event reply_received"]
|
|
130
130
|
},
|
|
@@ -139,7 +139,7 @@ var getCmd = defineCommand({
|
|
|
139
139
|
var updateCmd = defineCommand({
|
|
140
140
|
meta: {
|
|
141
141
|
name: "update",
|
|
142
|
-
description: "Change an incoming event's name,
|
|
142
|
+
description: "Change an incoming event's name, Campaign, match paths, required header or turn it off; the URL stays.",
|
|
143
143
|
risk: "write",
|
|
144
144
|
rules: { changes: "Changes how later posts are read.", visible_to: "Your Team.", budget_rows: [], retry: "Safe to repeat: the same values again.", undo: "Update it back." },
|
|
145
145
|
errors: EDITOR,
|
|
@@ -151,7 +151,7 @@ var updateCmd = defineCommand({
|
|
|
151
151
|
var deleteCmd = defineCommand({
|
|
152
152
|
meta: {
|
|
153
153
|
name: "delete",
|
|
154
|
-
description: "Delete an incoming event: its URL stops working at once, and
|
|
154
|
+
description: "Delete an incoming event: its URL stops working at once, and Campaign steps waiting for it wait until their timeout.",
|
|
155
155
|
risk: "high",
|
|
156
156
|
rules: {
|
|
157
157
|
changes: "Deletes the URL; later posts answer 404.",
|
|
@@ -201,7 +201,7 @@ var captureCmd = defineCommand({
|
|
|
201
201
|
run: online(call("incomingEvents.capture", (c, f) => c.incomingEvents.capture(id(f))))
|
|
202
202
|
});
|
|
203
203
|
var arrivalsCmd = defineCommand({
|
|
204
|
-
meta: { name: "arrivals", description: "The latest posts to the URL: when, the event name, which
|
|
204
|
+
meta: { name: "arrivals", description: "The latest posts to the URL: when, the event name, which Lead matched and how many Enrollments moved.", risk: "read", examples: ["curviate incoming arrivals inc_YOUR_INCOMING_ID"] },
|
|
205
205
|
args: { ...readOnly(READ_SINGLE_FLAGS), id: ID },
|
|
206
206
|
run: online(call("incomingEvents.arrivals", (c, f) => c.incomingEvents.arrivals(id(f))))
|
|
207
207
|
});
|
|
@@ -209,7 +209,7 @@ var incomingCommand = defineCommand({
|
|
|
209
209
|
meta: { name: "incoming", description: DESCRIPTIONS.incoming },
|
|
210
210
|
subCommands: { create: createCmd, list: listCmd, get: getCmd, update: updateCmd, delete: deleteCmd, rotate: rotateCmd, capture: captureCmd, arrivals: arrivalsCmd },
|
|
211
211
|
async run() {
|
|
212
|
-
const { showHelp } = await import("./examples-
|
|
212
|
+
const { showHelp } = await import("./examples-77WVMKZQ.js");
|
|
213
213
|
await showHelp(incomingCommand, ["curviate", "incoming"]);
|
|
214
214
|
}
|
|
215
215
|
});
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
BinaryOutputError,
|
|
4
4
|
writeBinaryOutput
|
|
5
5
|
} from "./chunk-UWO2D4HW.js";
|
|
6
|
+
import {
|
|
7
|
+
resolveJobIdentifier
|
|
8
|
+
} from "./chunk-UEAX6KUB.js";
|
|
6
9
|
import {
|
|
7
10
|
AS_ACCOUNT,
|
|
8
11
|
TARGET
|
|
9
12
|
} from "./chunk-Q3ZPRFUX.js";
|
|
10
|
-
import {
|
|
11
|
-
resolveJobIdentifier
|
|
12
|
-
} from "./chunk-UEAX6KUB.js";
|
|
13
13
|
import {
|
|
14
14
|
slimJob
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JXDEV33Z.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Z3RPQ5K4.js";
|
|
19
19
|
import {
|
|
20
20
|
buildPreviewOutput
|
|
21
21
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
readablePage,
|
|
30
30
|
rejectPaginationModifiersWithoutAll,
|
|
31
31
|
streamAll
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-R7USRN52.js";
|
|
33
33
|
import {
|
|
34
34
|
renderError,
|
|
35
35
|
renderSuccess,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
createClient,
|
|
41
41
|
downloadBinary,
|
|
42
42
|
resolveEffectiveConfig
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-S234PC5E.js";
|
|
44
44
|
import {
|
|
45
45
|
GLOBAL_FLAGS,
|
|
46
46
|
READ_SINGLE_FLAGS,
|
|
@@ -49,9 +49,9 @@ import {
|
|
|
49
49
|
} from "./chunk-QLKGOIWS.js";
|
|
50
50
|
import {
|
|
51
51
|
DESCRIPTIONS
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-QBY6L77D.js";
|
|
53
53
|
import "./chunk-ZYURL5VK.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-RDKTHFQ6.js";
|
|
55
55
|
|
|
56
56
|
// src/commands/job.ts
|
|
57
57
|
import { defineCommand } from "citty";
|
|
@@ -107,7 +107,7 @@ function requireEnum(value, allowed, flag, out) {
|
|
|
107
107
|
async function handleSdkError(err, outOpts, out) {
|
|
108
108
|
const { CurviateError } = await import("@curviate/sdk");
|
|
109
109
|
if (err instanceof CurviateError) {
|
|
110
|
-
const { getExitCode } = await import("./exit-codes-
|
|
110
|
+
const { getExitCode } = await import("./exit-codes-ZSOLAXQO.js");
|
|
111
111
|
renderError(err, outOpts, out);
|
|
112
112
|
process.exit(getExitCode(err));
|
|
113
113
|
}
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
baseUrlProblem,
|
|
7
7
|
writeProfile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S234PC5E.js";
|
|
9
9
|
import {
|
|
10
10
|
GLOBAL_FLAGS
|
|
11
11
|
} from "./chunk-QLKGOIWS.js";
|
|
12
12
|
import {
|
|
13
13
|
DESCRIPTIONS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QBY6L77D.js";
|
|
15
15
|
import {
|
|
16
16
|
defaultReadStdin,
|
|
17
17
|
resolveTextOrStdin
|