@curviate/cli 0.46.0 → 0.47.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 +43 -0
- package/README.md +33 -0
- package/dist/{account-YVUERVO2.js → account-RFJ63QYL.js} +25 -21
- package/dist/{chunk-BGZW6B7G.js → chunk-5I6JJJIV.js} +1 -0
- package/dist/{chunk-76E3O6HY.js → chunk-76SWLAZ6.js} +13 -0
- package/dist/{chunk-DGIDAO2H.js → chunk-ERBYEC5P.js} +1 -1
- package/dist/{chunk-LD6WPZZM.js → chunk-FXYK2GTO.js} +4 -4
- package/dist/{chunk-2FECYCAC.js → chunk-PD2I5TYC.js} +2 -2
- package/dist/{chunk-FXF5FF3W.js → chunk-V3MVOVQT.js} +2 -1
- package/dist/cli.js +21 -20
- package/dist/{comment-BKGVJYS2.js → comment-MCXE7B7V.js} +6 -6
- package/dist/{company-F2AZTDPK.js → company-EUUN372H.js} +6 -6
- package/dist/{connect-TX6PT7NV.js → connect-2AL7XVJO.js} +9 -9
- package/dist/{doctor-USTZQ75D.js → doctor-WPYI7X2T.js} +2 -2
- package/dist/draft-G65DVXT7.js +458 -0
- package/dist/{exit-codes-TMAIV7EM.js → exit-codes-AW6KHDDN.js} +1 -1
- package/dist/{feed-ANBPRGFQ.js → feed-HV24WME4.js} +4 -4
- package/dist/{group-HFF7LDDQ.js → group-HADXNVJW.js} +4 -4
- package/dist/{inbox-XQMGW6RT.js → inbox-G3EE54OB.js} +4 -4
- package/dist/{inboxes-CILMIVVD.js → inboxes-237XOBTP.js} +4 -4
- package/dist/{job-TOJDDJ2P.js → job-LIN6RWD7.js} +4 -4
- package/dist/{message-WCBNBPAJ.js → message-U2O2JQSW.js} +5 -5
- package/dist/{notification-CJ3LEHFL.js → notification-3VG32LWM.js} +4 -4
- package/dist/{post-OQWJRL4B.js → post-ECDK2KJL.js} +6 -6
- package/dist/{profile-GT6ZD37M.js → profile-JOHS6SDW.js} +10 -10
- package/dist/{recruiter-ZKWG6QG3.js → recruiter-7VXEIXN3.js} +5 -5
- package/dist/{sales-nav-WV3YHYD6.js → sales-nav-K4BMBH7R.js} +5 -5
- package/dist/{search-VAZEQ2WJ.js → search-C2UYO6PI.js} +12 -12
- package/dist/{setup-GGXMHXAF.js → setup-GYEZFDEN.js} +2 -2
- package/dist/{webhook-HBME6K76.js → webhook-KCOQOH7D.js} +14 -9
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ERBYEC5P.js";
|
|
5
5
|
import {
|
|
6
6
|
AttachError,
|
|
7
7
|
readAttachment,
|
|
8
8
|
toAttachmentPayload
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5I6JJJIV.js";
|
|
10
10
|
import "./chunk-UEAX6KUB.js";
|
|
11
11
|
import {
|
|
12
12
|
requireAccount
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PD2I5TYC.js";
|
|
14
14
|
import {
|
|
15
15
|
buildPreviewOutput
|
|
16
16
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
resolveEffectiveConfig,
|
|
28
28
|
streamAll,
|
|
29
29
|
writeNdjsonItem
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-V3MVOVQT.js";
|
|
31
|
+
import "./chunk-76SWLAZ6.js";
|
|
32
32
|
import {
|
|
33
33
|
createClient
|
|
34
34
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -77,7 +77,7 @@ function normalizeAttachPaths(attach) {
|
|
|
77
77
|
async function handleSdkError(err, outOpts, out) {
|
|
78
78
|
const { CurviateError } = await import("@curviate/sdk");
|
|
79
79
|
if (err instanceof CurviateError) {
|
|
80
|
-
const { getExitCode } = await import("./exit-codes-
|
|
80
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
81
81
|
renderError(err, outOpts, out);
|
|
82
82
|
process.exit(getExitCode(err));
|
|
83
83
|
}
|
|
@@ -13,18 +13,18 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
resolveMemberOrMeProviderId,
|
|
15
15
|
resolveMemberProviderId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ERBYEC5P.js";
|
|
17
17
|
import {
|
|
18
18
|
AttachError,
|
|
19
19
|
readAttachment,
|
|
20
20
|
toAttachmentPayload
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5I6JJJIV.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveIdentifier
|
|
24
24
|
} from "./chunk-UEAX6KUB.js";
|
|
25
25
|
import {
|
|
26
26
|
requireAccount
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PD2I5TYC.js";
|
|
28
28
|
import {
|
|
29
29
|
buildPreviewOutput
|
|
30
30
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -42,8 +42,8 @@ import {
|
|
|
42
42
|
resolveEffectiveConfig,
|
|
43
43
|
streamAll,
|
|
44
44
|
writeNdjsonItem
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-V3MVOVQT.js";
|
|
46
|
+
import "./chunk-76SWLAZ6.js";
|
|
47
47
|
import {
|
|
48
48
|
createClient
|
|
49
49
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -180,7 +180,7 @@ async function runProfileMe(client, flags, out) {
|
|
|
180
180
|
} catch (err) {
|
|
181
181
|
const { CurviateError } = await import("@curviate/sdk");
|
|
182
182
|
if (err instanceof CurviateError) {
|
|
183
|
-
const { getExitCode } = await import("./exit-codes-
|
|
183
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
184
184
|
renderError(err, outOpts, out);
|
|
185
185
|
process.exit(getExitCode(err));
|
|
186
186
|
}
|
|
@@ -207,7 +207,7 @@ async function runProfileMe(client, flags, out) {
|
|
|
207
207
|
} catch (err) {
|
|
208
208
|
const { CurviateError } = await import("@curviate/sdk");
|
|
209
209
|
if (err instanceof CurviateError) {
|
|
210
|
-
const { getExitCode } = await import("./exit-codes-
|
|
210
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
211
211
|
renderError(err, outOpts, out);
|
|
212
212
|
process.exit(getExitCode(err));
|
|
213
213
|
}
|
|
@@ -339,7 +339,7 @@ async function runProfileGet(client, flags, out) {
|
|
|
339
339
|
} catch (err) {
|
|
340
340
|
const { CurviateError } = await import("@curviate/sdk");
|
|
341
341
|
if (err instanceof CurviateError) {
|
|
342
|
-
const { getExitCode } = await import("./exit-codes-
|
|
342
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
343
343
|
renderError(err, outOpts, out);
|
|
344
344
|
process.exit(getExitCode(err));
|
|
345
345
|
}
|
|
@@ -377,7 +377,7 @@ async function runProfileRelations(client, flags, out) {
|
|
|
377
377
|
} catch (err) {
|
|
378
378
|
const { CurviateError } = await import("@curviate/sdk");
|
|
379
379
|
if (err instanceof CurviateError) {
|
|
380
|
-
const { getExitCode } = await import("./exit-codes-
|
|
380
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
381
381
|
renderError(err, outOpts, out);
|
|
382
382
|
process.exit(getExitCode(err));
|
|
383
383
|
}
|
|
@@ -417,7 +417,7 @@ async function runProfileEndorse(client, flags, out) {
|
|
|
417
417
|
async function handleSdkError(err, outOpts, out) {
|
|
418
418
|
const { CurviateError } = await import("@curviate/sdk");
|
|
419
419
|
if (err instanceof CurviateError) {
|
|
420
|
-
const { getExitCode } = await import("./exit-codes-
|
|
420
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
421
421
|
renderError(err, outOpts, out);
|
|
422
422
|
process.exit(getExitCode(err));
|
|
423
423
|
}
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
AttachError,
|
|
16
16
|
readAttachment,
|
|
17
17
|
toAttachmentPayload
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5I6JJJIV.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveIdentifier,
|
|
21
21
|
resolveJobIdentifier
|
|
22
22
|
} from "./chunk-UEAX6KUB.js";
|
|
23
23
|
import {
|
|
24
24
|
requireAccount
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PD2I5TYC.js";
|
|
26
26
|
import {
|
|
27
27
|
buildPreviewOutput
|
|
28
28
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
resolveEffectiveConfig,
|
|
40
40
|
streamAll,
|
|
41
41
|
writeNdjsonItem
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-V3MVOVQT.js";
|
|
43
|
+
import "./chunk-76SWLAZ6.js";
|
|
44
44
|
import {
|
|
45
45
|
createClient,
|
|
46
46
|
downloadBinary
|
|
@@ -79,7 +79,7 @@ function normalizeAttachPaths(attach) {
|
|
|
79
79
|
async function handleSdkError(err, outOpts, out) {
|
|
80
80
|
const { CurviateError } = await import("@curviate/sdk");
|
|
81
81
|
if (err instanceof CurviateError) {
|
|
82
|
-
const { getExitCode } = await import("./exit-codes-
|
|
82
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
83
83
|
renderError(err, outOpts, out);
|
|
84
84
|
process.exit(getExitCode(err));
|
|
85
85
|
}
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
AttachError,
|
|
9
9
|
readAttachment,
|
|
10
10
|
toAttachmentPayload
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5I6JJJIV.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveIdentifier
|
|
14
14
|
} from "./chunk-UEAX6KUB.js";
|
|
15
15
|
import {
|
|
16
16
|
requireAccount
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PD2I5TYC.js";
|
|
18
18
|
import {
|
|
19
19
|
buildPreviewOutput
|
|
20
20
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
resolveEffectiveConfig,
|
|
32
32
|
streamAll,
|
|
33
33
|
writeNdjsonItem
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-V3MVOVQT.js";
|
|
35
|
+
import "./chunk-76SWLAZ6.js";
|
|
36
36
|
import {
|
|
37
37
|
createClient
|
|
38
38
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -65,7 +65,7 @@ function normalizeAttachPaths(attach) {
|
|
|
65
65
|
async function handleSdkError(err, outOpts, out) {
|
|
66
66
|
const { CurviateError } = await import("@curviate/sdk");
|
|
67
67
|
if (err instanceof CurviateError) {
|
|
68
|
-
const { getExitCode } = await import("./exit-codes-
|
|
68
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
69
69
|
renderError(err, outOpts, out);
|
|
70
70
|
process.exit(getExitCode(err));
|
|
71
71
|
}
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-LCGXJGPB.js";
|
|
18
18
|
import {
|
|
19
19
|
requireAccount
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PD2I5TYC.js";
|
|
21
21
|
import {
|
|
22
22
|
pageDelayFromFlags,
|
|
23
23
|
readCursorFlag,
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
resolveEffectiveConfig,
|
|
31
31
|
streamAll,
|
|
32
32
|
writeNdjsonItem
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-V3MVOVQT.js";
|
|
34
|
+
import "./chunk-76SWLAZ6.js";
|
|
35
35
|
import {
|
|
36
36
|
createClient
|
|
37
37
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -214,7 +214,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
|
|
|
214
214
|
} catch (err) {
|
|
215
215
|
const { CurviateError } = await import("@curviate/sdk");
|
|
216
216
|
if (err instanceof CurviateError) {
|
|
217
|
-
const { getExitCode } = await import("./exit-codes-
|
|
217
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
218
218
|
renderError(err, outOpts, out);
|
|
219
219
|
process.exit(getExitCode(err));
|
|
220
220
|
}
|
|
@@ -256,7 +256,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
|
|
|
256
256
|
} catch (err) {
|
|
257
257
|
const { CurviateError } = await import("@curviate/sdk");
|
|
258
258
|
if (err instanceof CurviateError) {
|
|
259
|
-
const { getExitCode } = await import("./exit-codes-
|
|
259
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
260
260
|
renderError(err, outOpts, out);
|
|
261
261
|
process.exit(getExitCode(err));
|
|
262
262
|
}
|
|
@@ -298,7 +298,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
|
|
|
298
298
|
} catch (err) {
|
|
299
299
|
const { CurviateError } = await import("@curviate/sdk");
|
|
300
300
|
if (err instanceof CurviateError) {
|
|
301
|
-
const { getExitCode } = await import("./exit-codes-
|
|
301
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
302
302
|
renderError(err, outOpts, out);
|
|
303
303
|
process.exit(getExitCode(err));
|
|
304
304
|
}
|
|
@@ -340,7 +340,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
|
|
|
340
340
|
} catch (err) {
|
|
341
341
|
const { CurviateError } = await import("@curviate/sdk");
|
|
342
342
|
if (err instanceof CurviateError) {
|
|
343
|
-
const { getExitCode } = await import("./exit-codes-
|
|
343
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
344
344
|
renderError(err, outOpts, out);
|
|
345
345
|
process.exit(getExitCode(err));
|
|
346
346
|
}
|
|
@@ -388,7 +388,7 @@ async function runSearchParameters(client, flags, out) {
|
|
|
388
388
|
} catch (err) {
|
|
389
389
|
const { CurviateError } = await import("@curviate/sdk");
|
|
390
390
|
if (err instanceof CurviateError) {
|
|
391
|
-
const { getExitCode } = await import("./exit-codes-
|
|
391
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
392
392
|
renderError(err, outOpts, out);
|
|
393
393
|
process.exit(getExitCode(err));
|
|
394
394
|
}
|
|
@@ -430,7 +430,7 @@ async function runSearchGroups(client, flags, out) {
|
|
|
430
430
|
} catch (err) {
|
|
431
431
|
const { CurviateError } = await import("@curviate/sdk");
|
|
432
432
|
if (err instanceof CurviateError) {
|
|
433
|
-
const { getExitCode } = await import("./exit-codes-
|
|
433
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
434
434
|
renderError(err, outOpts, out);
|
|
435
435
|
process.exit(getExitCode(err));
|
|
436
436
|
}
|
|
@@ -474,7 +474,7 @@ async function runSearchServices(client, flags, out) {
|
|
|
474
474
|
} catch (err) {
|
|
475
475
|
const { CurviateError } = await import("@curviate/sdk");
|
|
476
476
|
if (err instanceof CurviateError) {
|
|
477
|
-
const { getExitCode } = await import("./exit-codes-
|
|
477
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
478
478
|
renderError(err, outOpts, out);
|
|
479
479
|
process.exit(getExitCode(err));
|
|
480
480
|
}
|
|
@@ -516,7 +516,7 @@ async function runSearchServiceParameters(client, flags, out) {
|
|
|
516
516
|
} catch (err) {
|
|
517
517
|
const { CurviateError } = await import("@curviate/sdk");
|
|
518
518
|
if (err instanceof CurviateError) {
|
|
519
|
-
const { getExitCode } = await import("./exit-codes-
|
|
519
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
520
520
|
renderError(err, outOpts, out);
|
|
521
521
|
process.exit(getExitCode(err));
|
|
522
522
|
}
|
|
@@ -555,7 +555,7 @@ async function runSearchFromUrl(client, flags, out) {
|
|
|
555
555
|
} catch (err) {
|
|
556
556
|
const { CurviateError } = await import("@curviate/sdk");
|
|
557
557
|
if (err instanceof CurviateError) {
|
|
558
|
-
const { getExitCode } = await import("./exit-codes-
|
|
558
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
559
559
|
renderError(err, outOpts, out);
|
|
560
560
|
process.exit(getExitCode(err));
|
|
561
561
|
}
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
readablePage,
|
|
7
7
|
resolveEffectiveConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V3MVOVQT.js";
|
|
9
9
|
import {
|
|
10
10
|
getExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-76SWLAZ6.js";
|
|
12
12
|
import {
|
|
13
13
|
createClient,
|
|
14
14
|
getConfigPath,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
resolveEffectiveConfig,
|
|
16
16
|
streamAll,
|
|
17
17
|
writeNdjsonItem
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V3MVOVQT.js";
|
|
19
19
|
import {
|
|
20
20
|
createClient
|
|
21
21
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -53,7 +53,7 @@ function resolveOutputOpts(flags) {
|
|
|
53
53
|
async function handleError(err, outOpts, out) {
|
|
54
54
|
const { CurviateError } = await import("@curviate/sdk");
|
|
55
55
|
if (err instanceof CurviateError) {
|
|
56
|
-
const { getExitCode } = await import("./exit-codes-
|
|
56
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
57
57
|
renderError(err, outOpts, out);
|
|
58
58
|
process.exit(getExitCode(err));
|
|
59
59
|
}
|
|
@@ -62,7 +62,7 @@ async function handleError(err, outOpts, out) {
|
|
|
62
62
|
}
|
|
63
63
|
async function runWebhookCreate(client, flags, out) {
|
|
64
64
|
if (!flags.source) {
|
|
65
|
-
out.stderr.write("error: --source is required (messaging | user | account_status).\n");
|
|
65
|
+
out.stderr.write("error: --source is required (messaging | user | account_status | post).\n");
|
|
66
66
|
process.exit(2);
|
|
67
67
|
}
|
|
68
68
|
if (!flags["request-url"]) {
|
|
@@ -84,7 +84,7 @@ async function runWebhookCreate(client, flags, out) {
|
|
|
84
84
|
body["account_ids"] = accountIds;
|
|
85
85
|
} else if (flags.source !== "account_status") {
|
|
86
86
|
out.stderr.write(
|
|
87
|
-
"error: --account-ids is required when --source is messaging or
|
|
87
|
+
"error: --account-ids is required when --source is messaging, user or post (comma-separated acc_... ids). Only an account_status webhook may omit it.\n"
|
|
88
88
|
);
|
|
89
89
|
process.exit(2);
|
|
90
90
|
}
|
|
@@ -176,8 +176,13 @@ async function runWebhookUpdate(client, flags, out) {
|
|
|
176
176
|
if (flags.data) {
|
|
177
177
|
body["data"] = flags.data.split(",").map((s) => s.trim()).filter(Boolean);
|
|
178
178
|
}
|
|
179
|
-
if (flags["account-ids"]) {
|
|
180
|
-
|
|
179
|
+
if (flags["account-ids"] !== void 0) {
|
|
180
|
+
const accountIds = flags["account-ids"].split(",").map((s) => s.trim()).filter(Boolean);
|
|
181
|
+
if (accountIds.length === 0) {
|
|
182
|
+
out.stderr.write("error: --account-ids was given an empty value. Pass acc_... ids, or omit the flag to leave the targets unchanged.\n");
|
|
183
|
+
process.exit(2);
|
|
184
|
+
}
|
|
185
|
+
body["account_ids"] = accountIds;
|
|
181
186
|
}
|
|
182
187
|
const outOpts = resolveOutputOpts(flags);
|
|
183
188
|
if (flags.preview) {
|
|
@@ -284,14 +289,14 @@ var webhookCreateCommand = defineCommand({
|
|
|
284
289
|
"curviate webhook create --source account_status --request-url https://example.com/hooks/curviate --name status"
|
|
285
290
|
],
|
|
286
291
|
requires: [
|
|
287
|
-
"--account-ids for --source messaging and
|
|
292
|
+
"--account-ids for --source messaging, user and post; omit it with --source account_status to cover every current and future account."
|
|
288
293
|
]
|
|
289
294
|
},
|
|
290
295
|
args: {
|
|
291
296
|
...WRITE_SINGLE_FLAGS,
|
|
292
|
-
source: { type: "string", description: "Event source: messaging | user | account_status.", required: true },
|
|
297
|
+
source: { type: "string", description: "Event source: messaging | user | account_status | post (scheduled-post results: post.published, post.publish_failed).", required: true },
|
|
293
298
|
"request-url": { type: "string", description: "HTTPS URL to receive webhook deliveries.", required: true },
|
|
294
|
-
"account-ids": { type: "string", description: "Comma-separated account ids to target. Required for messaging and
|
|
299
|
+
"account-ids": { type: "string", description: "Comma-separated account ids to target. Required for messaging, user and post; omit on account_status to cover every current and future account." },
|
|
295
300
|
name: { type: "string", description: "Human-readable name (1-100 chars)." },
|
|
296
301
|
enabled: { type: "boolean", description: "Create as enabled (default: true).", default: true },
|
|
297
302
|
events: { type: "string", description: "Comma-separated event names to subscribe to." },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@curviate/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Official command-line interface for the Curviate API.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"clean": "rm -rf dist *.tsbuildinfo"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@curviate/sdk": "0.
|
|
50
|
+
"@curviate/sdk": "0.42.0",
|
|
51
51
|
"citty": "^0.1.6",
|
|
52
52
|
"open": "^10.1.0"
|
|
53
53
|
},
|