@curviate/cli 0.55.0 → 0.56.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.
Files changed (63) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +5 -4
  3. package/dist/{account-6L33JFZS.js → account-ZF5NEMID.js} +42 -17
  4. package/dist/{analytics-HGJGXRAM.js → analytics-M7JWS67A.js} +5 -5
  5. package/dist/{beta-consent-LIND4PPN.js → beta-consent-4Q2LZZQC.js} +4 -4
  6. package/dist/{billing-QKPP5NPR.js → billing-LYPSX5SR.js} +78 -6
  7. package/dist/{chunk-S234PC5E.js → chunk-7PLTQHNO.js} +1 -1
  8. package/dist/{chunk-EA5LJ4CS.js → chunk-AMTKGO37.js} +1 -1
  9. package/dist/{chunk-Z3RPQ5K4.js → chunk-CRO7PJ4I.js} +1 -1
  10. package/dist/{chunk-J34JU27C.js → chunk-DENWYJK2.js} +2 -2
  11. package/dist/{chunk-BC4N5X3N.js → chunk-EI64VFBE.js} +6 -6
  12. package/dist/{chunk-ENBIMEKS.js → chunk-IB6ARI3R.js} +1 -1
  13. package/dist/{chunk-OYZ27Q3B.js → chunk-J4SFOFMT.js} +14 -12
  14. package/dist/{chunk-AMMAA62Z.js → chunk-L3RJU7C3.js} +7 -7
  15. package/dist/{chunk-R7USRN52.js → chunk-MIOEYSBQ.js} +1 -1
  16. package/dist/{chunk-QBY6L77D.js → chunk-MWVTFTWV.js} +1 -1
  17. package/dist/{chunk-JKXGL7PT.js → chunk-RKNW4UX4.js} +42 -0
  18. package/dist/{chunk-KLXDFFHT.js → chunk-UOWOKEB2.js} +1 -1
  19. package/dist/{chunk-LGUZ52BU.js → chunk-UWRWZG4N.js} +1 -1
  20. package/dist/{chunk-FHSGANM6.js → chunk-VEMK4MJM.js} +4 -4
  21. package/dist/{chunk-Q5Z7FMXI.js → chunk-XP6S6E55.js} +1 -1
  22. package/dist/cli.js +32 -26
  23. package/dist/{comment-IIKLEAEK.js → comment-D6RSZTVK.js} +5 -5
  24. package/dist/{company-CX5TZNB5.js → company-3Z6PXGTW.js} +5 -5
  25. package/dist/{config-Y4FC7QKM.js → config-VY5MCJMN.js} +2 -2
  26. package/dist/{connect-GUUBX23F.js → connect-G2RTLV7G.js} +4 -4
  27. package/dist/{contact-OCYSFRTS.js → contact-QSLJCBDE.js} +7 -7
  28. package/dist/{contact-groups-HWJSYRFJ.js → contact-groups-OITAD73K.js} +9 -9
  29. package/dist/{contact-import-CTWSFT64.js → contact-import-LT7BKESC.js} +9 -9
  30. package/dist/core-RFTNNB6P.js +46 -0
  31. package/dist/{do-not-contact-6UVY3UKT.js → do-not-contact-ZA7KS5WD.js} +42 -16
  32. package/dist/{doctor-6CB6DCY3.js → doctor-JQT3DO6G.js} +3 -3
  33. package/dist/{document-ADK4GZA7.js → document-H65EXU4L.js} +1 -1
  34. package/dist/{domain-BUJMHYIV.js → domain-7EX4E34B.js} +5 -5
  35. package/dist/{draft-SII6E6Z6.js → draft-7U6H4BPF.js} +3 -3
  36. package/dist/{enrollment-OXGR5WVI.js → enrollment-AZ6XGVVL.js} +7 -5
  37. package/dist/{examples-77WVMKZQ.js → examples-IGQJCSNL.js} +1 -1
  38. package/dist/{export-D32J5GRN.js → export-OYMQXL62.js} +4 -4
  39. package/dist/{feed-HOFHCP6W.js → feed-M5D4SJW7.js} +4 -4
  40. package/dist/{group-AMYOAGNS.js → group-UTC3YBKE.js} +4 -4
  41. package/dist/{inbox-NS2LB2WQ.js → inbox-VSGNHSLG.js} +4 -4
  42. package/dist/{inboxes-XWUZJ5PN.js → inboxes-23C2MJK4.js} +4 -4
  43. package/dist/{incoming-UIWRL6QS.js → incoming-QVPP32K7.js} +5 -5
  44. package/dist/{job-TKGPXU26.js → job-ZHVFFRWE.js} +4 -4
  45. package/dist/{login-B2YWX2JP.js → login-6OTNXEJZ.js} +4 -4
  46. package/dist/{mailbox-LLSGX2FF.js → mailbox-HD2UXZCA.js} +9 -10
  47. package/dist/{message-M4THMNRZ.js → message-PIV77W47.js} +5 -5
  48. package/dist/{motion-2OUGYR3O.js → motion-AHYF34DP.js} +98 -23
  49. package/dist/{network-MFWKXTEV.js → network-RJHJFZEY.js} +5 -5
  50. package/dist/{notification-5K4TCYQA.js → notification-XGR4NT3S.js} +4 -4
  51. package/dist/{notifications-2GKUJB7C.js → notifications-BHRWSHPR.js} +5 -5
  52. package/dist/{post-BHH7YKGM.js → post-Z7AVDDKA.js} +5 -5
  53. package/dist/{profile-GKMRRKZF.js → profile-YZNBX2RP.js} +5 -5
  54. package/dist/{recruiter-J53ZSD4P.js → recruiter-EXM4P7X7.js} +6 -6
  55. package/dist/{sales-nav-6I5SYTRX.js → sales-nav-CKDSEXV2.js} +6 -6
  56. package/dist/{search-HS2YAA33.js → search-B7FB6674.js} +6 -6
  57. package/dist/{setup-IYVOGVC6.js → setup-VZVPLJ4V.js} +4 -4
  58. package/dist/{team-N6ILUHAD.js → team-PYABBUHO.js} +5 -5
  59. package/dist/{tier-QWXKFESB.js → tier-PRK4WQKR.js} +4 -4
  60. package/dist/{unibox-D4WIHIZX.js → unibox-ZNKX2EKL.js} +5 -5
  61. package/dist/{webhook-PKWGZZO2.js → webhook-V74EV4E2.js} +5 -5
  62. package/package.json +2 -2
  63. package/dist/core-37XZS2RG.js +0 -46
@@ -2,16 +2,16 @@
2
2
  import {
3
3
  online,
4
4
  preview
5
- } from "./chunk-OYZ27Q3B.js";
5
+ } from "./chunk-J4SFOFMT.js";
6
6
  import {
7
7
  sendChunked
8
- } from "./chunk-Q5Z7FMXI.js";
8
+ } from "./chunk-XP6S6E55.js";
9
9
  import {
10
10
  fail,
11
11
  listFlag,
12
12
  outputOpts,
13
13
  usage
14
- } from "./chunk-LGUZ52BU.js";
14
+ } from "./chunk-UWRWZG4N.js";
15
15
  import {
16
16
  intFlag
17
17
  } from "./chunk-NNV2OYEF.js";
@@ -23,14 +23,14 @@ import {
23
23
  readablePage,
24
24
  rejectPaginationModifiersWithoutAll,
25
25
  streamAll
26
- } from "./chunk-R7USRN52.js";
26
+ } from "./chunk-MIOEYSBQ.js";
27
27
  import {
28
28
  renderSuccess,
29
29
  writeNdjsonItem
30
30
  } from "./chunk-QM57YDJE.js";
31
31
  import {
32
32
  withWireNotes
33
- } from "./chunk-S234PC5E.js";
33
+ } from "./chunk-7PLTQHNO.js";
34
34
  import {
35
35
  GLOBAL_FLAGS,
36
36
  WRITE_SINGLE_FLAGS,
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-QLKGOIWS.js";
39
39
  import {
40
40
  readFileFlag
41
- } from "./chunk-JKXGL7PT.js";
41
+ } from "./chunk-RKNW4UX4.js";
42
42
  import {
43
43
  isStdinToken
44
44
  } from "./chunk-ZYURL5VK.js";
@@ -379,7 +379,7 @@ var contactImportsCommand = defineCommand({
379
379
  meta: { name: "imports", description: "Your Team's import records." },
380
380
  subCommands: { list: importsList, get: importsGet },
381
381
  async run() {
382
- const { showHelp } = await import("./examples-77WVMKZQ.js");
382
+ const { showHelp } = await import("./examples-IGQJCSNL.js");
383
383
  await showHelp(contactImportsCommand, ["curviate", "lead", "imports"]);
384
384
  }
385
385
  });
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-QM57YDJE.js";
6
6
  import {
7
7
  isPlainObject
8
- } from "./chunk-S234PC5E.js";
8
+ } from "./chunk-7PLTQHNO.js";
9
9
 
10
10
  // src/lib/paginate.ts
11
11
  import { CurviateError } from "@curviate/sdk";
@@ -14,7 +14,7 @@ var DESCRIPTIONS = {
14
14
  "do-not-contact": "Do-not-contact: your Team's one list of people no Campaign contacts and no write reaches (a write toward them exits 10). List, read, add, change the reason, remove, export and import a file. Any member adds and imports; removing and exporting are for Owners and Managers.",
15
15
  mailbox: "Mailboxes: your Team's own email Mailboxes, the addresses Campaigns send from. List, read, set who a Mailbox sends for, its daily cap and signature, pause, resume, remove, find the settings for an address (discover), connect and reconnect (a password goes in only through --password-stdin). Every role reads; Owners and Managers change any Mailbox, a Member the ones they connected. A Mailbox takes no seat and is never billed.",
16
16
  domain: "Domains: the DNS health of a sending domain (MX, SPF, DKIM, DMARC, tracking). `curviate domain check`, with --now to run the checks now.",
17
- billing: "Billing: your Team's invoices, listed and downloaded as PDFs. Owners only. Seats and the Tier are under `curviate team` and `curviate tier`.",
17
+ billing: "Billing: the price of seats, the spending cap, the change log and your Team's invoices (listed and downloaded as PDFs). Owners only. Seats and the Tier are under `curviate account seats`, `curviate team` and `curviate tier`.",
18
18
  contactImport: "Import Leads from a CSV, JSON or NDJSON file into a Lead list, splitting a large file into several imports.",
19
19
  contactImports: "Read your Team's import records: the counts, the failure, and the rows an import skipped and why.",
20
20
  contactLists: "Lead lists: named sets of Leads a Campaign enrolls from. List, read, create, combine lists into a new one, rename, delete, add and remove Leads.",
@@ -927,6 +927,14 @@ var documents_default = {
927
927
  maxLength: 64
928
928
  }
929
929
  },
930
+ shared_mailbox_ids: {
931
+ type: "array",
932
+ items: {
933
+ type: "string",
934
+ minLength: 1,
935
+ maxLength: 64
936
+ }
937
+ },
930
938
  schedule: {
931
939
  type: "object",
932
940
  properties: {
@@ -973,6 +981,11 @@ var documents_default = {
973
981
  end_at: {
974
982
  type: "string",
975
983
  nullable: true
984
+ },
985
+ min_email_gap_minutes: {
986
+ type: "integer",
987
+ minimum: 0,
988
+ maximum: 10080
976
989
  }
977
990
  },
978
991
  additionalProperties: false
@@ -1045,6 +1058,13 @@ var documents_default = {
1045
1058
  nullable: true
1046
1059
  }
1047
1060
  },
1061
+ reply_scope: {
1062
+ type: "string",
1063
+ enum: [
1064
+ "both",
1065
+ "own_channel"
1066
+ ]
1067
+ },
1048
1068
  on_reply_elsewhere: {
1049
1069
  type: "string",
1050
1070
  enum: [
@@ -1082,6 +1102,7 @@ var documents_default = {
1082
1102
  "sequence_version",
1083
1103
  "sequence_revision",
1084
1104
  "sequence_updated_by_user_id",
1105
+ "lead_check",
1085
1106
  "counts",
1086
1107
  "warnings",
1087
1108
  "created_by_user_id",
@@ -1124,6 +1145,14 @@ var documents_default = {
1124
1145
  maxLength: 64
1125
1146
  }
1126
1147
  },
1148
+ shared_mailbox_ids: {
1149
+ type: "array",
1150
+ items: {
1151
+ type: "string",
1152
+ minLength: 1,
1153
+ maxLength: 64
1154
+ }
1155
+ },
1127
1156
  schedule: {
1128
1157
  type: "object",
1129
1158
  properties: {
@@ -1170,6 +1199,11 @@ var documents_default = {
1170
1199
  end_at: {
1171
1200
  type: "string",
1172
1201
  nullable: true
1202
+ },
1203
+ min_email_gap_minutes: {
1204
+ type: "integer",
1205
+ minimum: 0,
1206
+ maximum: 10080
1173
1207
  }
1174
1208
  },
1175
1209
  additionalProperties: false
@@ -1242,6 +1276,13 @@ var documents_default = {
1242
1276
  nullable: true
1243
1277
  }
1244
1278
  },
1279
+ reply_scope: {
1280
+ type: "string",
1281
+ enum: [
1282
+ "both",
1283
+ "own_channel"
1284
+ ]
1285
+ },
1245
1286
  on_reply_elsewhere: {
1246
1287
  type: "string",
1247
1288
  enum: [
@@ -1280,6 +1321,7 @@ var documents_default = {
1280
1321
  "sequence_version",
1281
1322
  "sequence_revision",
1282
1323
  "sequence_updated_by_user_id",
1324
+ "lead_check",
1283
1325
  "counts",
1284
1326
  "warnings",
1285
1327
  "created_by_user_id",
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UEAX6KUB.js";
5
5
  import {
6
6
  readableId
7
- } from "./chunk-R7USRN52.js";
7
+ } from "./chunk-MIOEYSBQ.js";
8
8
 
9
9
  // src/lib/member-id.ts
10
10
  var MEMBER_PROVIDER_ID_RE = /^A[CDE][A-Za-z0-9_-]{4,}$/;
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  createClient,
8
8
  resolveEffectiveConfig
9
- } from "./chunk-S234PC5E.js";
9
+ } from "./chunk-7PLTQHNO.js";
10
10
 
11
11
  // src/lib/root-command.ts
12
12
  var outputOpts = (f) => ({
@@ -21,14 +21,14 @@ import {
21
21
  } from "./chunk-VHNF6OZD.js";
22
22
  import {
23
23
  requireAccount
24
- } from "./chunk-Z3RPQ5K4.js";
24
+ } from "./chunk-CRO7PJ4I.js";
25
25
  import {
26
26
  buildPreviewOutput
27
27
  } from "./chunk-TCUYH5GO.js";
28
28
  import {
29
29
  readableId,
30
30
  readableObject
31
- } from "./chunk-R7USRN52.js";
31
+ } from "./chunk-MIOEYSBQ.js";
32
32
  import {
33
33
  renderError,
34
34
  renderSuccess,
@@ -38,7 +38,7 @@ import {
38
38
  createClient,
39
39
  downloadBinary,
40
40
  resolveEffectiveConfig
41
- } from "./chunk-S234PC5E.js";
41
+ } from "./chunk-7PLTQHNO.js";
42
42
  import {
43
43
  READ_SINGLE_FLAGS,
44
44
  WRITE_FLAGS,
@@ -46,7 +46,7 @@ import {
46
46
  } from "./chunk-QLKGOIWS.js";
47
47
  import {
48
48
  DESCRIPTIONS
49
- } from "./chunk-QBY6L77D.js";
49
+ } from "./chunk-MWVTFTWV.js";
50
50
  import {
51
51
  looksLikeCommandWord,
52
52
  nearestSubcommand
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  fail,
4
4
  outputOpts
5
- } from "./chunk-LGUZ52BU.js";
5
+ } from "./chunk-UWRWZG4N.js";
6
6
 
7
7
  // src/lib/chunks.ts
8
8
  async function sendInChunks(ids, size, send, f) {
package/dist/cli.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-QLKGOIWS.js";
16
16
  import {
17
17
  lazy
18
- } from "./chunk-QBY6L77D.js";
18
+ } from "./chunk-MWVTFTWV.js";
19
19
  import {
20
20
  editDistance
21
21
  } from "./chunk-FDJMAF7D.js";
@@ -45,35 +45,35 @@ var main = defineCommand({
45
45
  // Subcommand registry, names and descriptions are static for help rendering;
46
46
  // the handler implementation is loaded lazily on first invocation.
47
47
  subCommands: {
48
- setup: lazy("setup", () => import("./setup-IYVOGVC6.js").then((m) => m.setupCommand)),
49
- doctor: lazy("doctor", () => import("./doctor-6CB6DCY3.js").then((m) => m.doctorCommand)),
50
- login: lazy("login", () => import("./login-B2YWX2JP.js").then((m) => m.loginCommand)),
51
- config: lazy("config", () => import("./config-Y4FC7QKM.js").then((m) => m.configCommand)),
52
- account: lazy("account", () => import("./account-6L33JFZS.js").then((m) => m.accountCommand)),
53
- campaign: lazy("campaign", () => import("./motion-2OUGYR3O.js").then((m) => m.campaignCommand)),
54
- enrollment: lazy("enrollment", () => import("./enrollment-OXGR5WVI.js").then((m) => m.enrollmentCommand)),
55
- lead: lazy("lead", () => import("./contact-OCYSFRTS.js").then((m) => m.contactCommand)),
56
- "do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-6UVY3UKT.js").then((m) => m.doNotContactCommand)),
57
- mailbox: lazy("mailbox", () => import("./mailbox-LLSGX2FF.js").then((m) => m.mailboxCommand)),
58
- domain: lazy("domain", () => import("./domain-BUJMHYIV.js").then((m) => m.domainCommand)),
59
- unibox: lazy("unibox", () => import("./unibox-D4WIHIZX.js").then((m) => m.uniboxCommand)),
60
- network: lazy("network", () => import("./network-MFWKXTEV.js").then((m) => m.networkCommand)),
61
- analytics: lazy("analytics", () => import("./analytics-HGJGXRAM.js").then((m) => m.analyticsCommand)),
62
- notification: lazy("notification", () => import("./notifications-2GKUJB7C.js").then((m) => m.notificationsCommand)),
63
- export: lazy("export", () => import("./export-D32J5GRN.js").then((m) => m.exportCommand)),
64
- billing: lazy("billing", () => import("./billing-QKPP5NPR.js").then((m) => m.billingCommand)),
65
- tier: lazy("tier", () => import("./tier-QWXKFESB.js").then((m) => m.tierCommand)),
66
- team: lazy("team", () => import("./team-N6ILUHAD.js").then((m) => m.teamCommand)),
67
- incoming: lazy("incoming", () => import("./incoming-UIWRL6QS.js").then((m) => m.incomingCommand)),
68
- beta: lazy("beta", () => import("./beta-consent-LIND4PPN.js").then((m) => m.betaCommand)),
69
- webhook: lazy("webhook", () => import("./webhook-PKWGZZO2.js").then((m) => m.webhookCommand)),
48
+ setup: lazy("setup", () => import("./setup-VZVPLJ4V.js").then((m) => m.setupCommand)),
49
+ doctor: lazy("doctor", () => import("./doctor-JQT3DO6G.js").then((m) => m.doctorCommand)),
50
+ login: lazy("login", () => import("./login-6OTNXEJZ.js").then((m) => m.loginCommand)),
51
+ config: lazy("config", () => import("./config-VY5MCJMN.js").then((m) => m.configCommand)),
52
+ account: lazy("account", () => import("./account-ZF5NEMID.js").then((m) => m.accountCommand)),
53
+ campaign: lazy("campaign", () => import("./motion-AHYF34DP.js").then((m) => m.campaignCommand)),
54
+ enrollment: lazy("enrollment", () => import("./enrollment-AZ6XGVVL.js").then((m) => m.enrollmentCommand)),
55
+ lead: lazy("lead", () => import("./contact-QSLJCBDE.js").then((m) => m.contactCommand)),
56
+ "do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-ZA7KS5WD.js").then((m) => m.doNotContactCommand)),
57
+ mailbox: lazy("mailbox", () => import("./mailbox-HD2UXZCA.js").then((m) => m.mailboxCommand)),
58
+ domain: lazy("domain", () => import("./domain-7EX4E34B.js").then((m) => m.domainCommand)),
59
+ unibox: lazy("unibox", () => import("./unibox-ZNKX2EKL.js").then((m) => m.uniboxCommand)),
60
+ network: lazy("network", () => import("./network-RJHJFZEY.js").then((m) => m.networkCommand)),
61
+ analytics: lazy("analytics", () => import("./analytics-M7JWS67A.js").then((m) => m.analyticsCommand)),
62
+ notification: lazy("notification", () => import("./notifications-BHRWSHPR.js").then((m) => m.notificationsCommand)),
63
+ export: lazy("export", () => import("./export-OYMQXL62.js").then((m) => m.exportCommand)),
64
+ billing: lazy("billing", () => import("./billing-LYPSX5SR.js").then((m) => m.billingCommand)),
65
+ tier: lazy("tier", () => import("./tier-PRK4WQKR.js").then((m) => m.tierCommand)),
66
+ team: lazy("team", () => import("./team-PYABBUHO.js").then((m) => m.teamCommand)),
67
+ incoming: lazy("incoming", () => import("./incoming-QVPP32K7.js").then((m) => m.incomingCommand)),
68
+ beta: lazy("beta", () => import("./beta-consent-4Q2LZZQC.js").then((m) => m.betaCommand)),
69
+ webhook: lazy("webhook", () => import("./webhook-V74EV4E2.js").then((m) => m.webhookCommand)),
70
70
  // The LinkedIn building blocks. Reserved product groups
71
71
  // (unibox, network, analytics, team) land
72
72
  // between `enrollment` and `webhook` with their owning specs.
73
- core: lazy("core", () => import("./core-37XZS2RG.js").then((m) => m.coreCommand))
73
+ core: lazy("core", () => import("./core-RFTNNB6P.js").then((m) => m.coreCommand))
74
74
  },
75
75
  async run() {
76
- const { showHelp } = await import("./examples-77WVMKZQ.js");
76
+ const { showHelp } = await import("./examples-IGQJCSNL.js");
77
77
  await showHelp(main, ["curviate"]);
78
78
  }
79
79
  });
@@ -365,7 +365,7 @@ async function dispatch(root, rawArgs) {
365
365
  helpFor = "curviate";
366
366
  if (rawArgs.includes("--help") || rawArgs.includes("-h")) {
367
367
  const { leaf, path } = await resolveLeaf(root, rawArgs.filter((a) => a !== "--help" && a !== "-h"));
368
- const { showHelp } = await import("./examples-77WVMKZQ.js");
368
+ const { showHelp } = await import("./examples-IGQJCSNL.js");
369
369
  await showHelp(leaf, path);
370
370
  await new Promise((done) => process.stdout.write("", () => done()));
371
371
  process.exit(0);
@@ -385,6 +385,12 @@ async function dispatch(root, rawArgs) {
385
385
  }
386
386
  setBetaOverride(beta.ok ? beta.value : void 0);
387
387
  const argsAfterBeta = beta.ok ? beta.rest : rawArgs;
388
+ const end = argsAfterBeta.indexOf("--");
389
+ const inline = (end === -1 ? argsAfterBeta : argsAfterBeta.slice(0, end)).find((a) => /^--[a-z-]+-stdin=/.test(a));
390
+ if (inline !== void 0) {
391
+ const flag = inline.slice(0, inline.indexOf("="));
392
+ usageError(`${flag} takes no value: the secret is read from stdin.`, `pipe it in: printf '%s' "$SECRET" | curviate ... ${flag}`);
393
+ }
388
394
  let hintLeaf;
389
395
  try {
390
396
  const { leaf, leafArgs: resolvedArgs, path: leafPath } = await resolveLeaf(root, argsAfterBeta);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveMemberOrMeProviderId
4
- } from "./chunk-KLXDFFHT.js";
4
+ } from "./chunk-UOWOKEB2.js";
5
5
  import "./chunk-UEAX6KUB.js";
6
6
  import {
7
7
  AS_ACCOUNT,
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-VHNF6OZD.js";
17
17
  import {
18
18
  requireAccount
19
- } from "./chunk-Z3RPQ5K4.js";
19
+ } from "./chunk-CRO7PJ4I.js";
20
20
  import {
21
21
  buildPreviewOutput
22
22
  } from "./chunk-TCUYH5GO.js";
@@ -27,7 +27,7 @@ import {
27
27
  readablePage,
28
28
  rejectPaginationModifiersWithoutAll,
29
29
  streamAll
30
- } from "./chunk-R7USRN52.js";
30
+ } from "./chunk-MIOEYSBQ.js";
31
31
  import {
32
32
  renderError,
33
33
  renderSuccess,
@@ -37,7 +37,7 @@ import {
37
37
  import {
38
38
  createClient,
39
39
  resolveEffectiveConfig
40
- } from "./chunk-S234PC5E.js";
40
+ } from "./chunk-7PLTQHNO.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  WRITE_SINGLE_FLAGS,
@@ -45,7 +45,7 @@ import {
45
45
  } from "./chunk-QLKGOIWS.js";
46
46
  import {
47
47
  DESCRIPTIONS
48
- } from "./chunk-QBY6L77D.js";
48
+ } from "./chunk-MWVTFTWV.js";
49
49
  import {
50
50
  resolveTextOrStdin
51
51
  } from "./chunk-ZYURL5VK.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sentAsNotice
4
- } from "./chunk-FHSGANM6.js";
4
+ } from "./chunk-VEMK4MJM.js";
5
5
  import "./chunk-UWO2D4HW.js";
6
6
  import {
7
7
  resolveIdentifier
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-VHNF6OZD.js";
27
27
  import {
28
28
  requireAccount
29
- } from "./chunk-Z3RPQ5K4.js";
29
+ } from "./chunk-CRO7PJ4I.js";
30
30
  import {
31
31
  buildPreviewOutput
32
32
  } from "./chunk-TCUYH5GO.js";
@@ -39,7 +39,7 @@ import {
39
39
  readablePage,
40
40
  rejectPaginationModifiersWithoutAll,
41
41
  streamAll
42
- } from "./chunk-R7USRN52.js";
42
+ } from "./chunk-MIOEYSBQ.js";
43
43
  import {
44
44
  renderError,
45
45
  renderSuccess,
@@ -49,7 +49,7 @@ import {
49
49
  import {
50
50
  createClient,
51
51
  resolveEffectiveConfig
52
- } from "./chunk-S234PC5E.js";
52
+ } from "./chunk-7PLTQHNO.js";
53
53
  import {
54
54
  GLOBAL_FLAGS,
55
55
  READ_SINGLE_FLAGS,
@@ -58,7 +58,7 @@ import {
58
58
  } from "./chunk-QLKGOIWS.js";
59
59
  import {
60
60
  DESCRIPTIONS
61
- } from "./chunk-QBY6L77D.js";
61
+ } from "./chunk-MWVTFTWV.js";
62
62
  import "./chunk-FDJMAF7D.js";
63
63
  import {
64
64
  resolveTextOrStdin
@@ -12,13 +12,13 @@ import {
12
12
  setActiveProfile,
13
13
  updateProfileField,
14
14
  withoutUserinfo
15
- } from "./chunk-S234PC5E.js";
15
+ } from "./chunk-7PLTQHNO.js";
16
16
  import {
17
17
  GLOBAL_FLAGS
18
18
  } from "./chunk-QLKGOIWS.js";
19
19
  import {
20
20
  DESCRIPTIONS
21
- } from "./chunk-QBY6L77D.js";
21
+ } from "./chunk-MWVTFTWV.js";
22
22
  import "./chunk-ZYURL5VK.js";
23
23
 
24
24
  // src/commands/config.ts
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-JXDEV33Z.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-Z3RPQ5K4.js";
18
+ } from "./chunk-CRO7PJ4I.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-TCUYH5GO.js";
@@ -26,7 +26,7 @@ import {
26
26
  readablePage,
27
27
  rejectPaginationModifiersWithoutAll,
28
28
  streamAll
29
- } from "./chunk-R7USRN52.js";
29
+ } from "./chunk-MIOEYSBQ.js";
30
30
  import {
31
31
  renderError,
32
32
  renderSuccess,
@@ -36,7 +36,7 @@ import {
36
36
  import {
37
37
  createClient,
38
38
  resolveEffectiveConfig
39
- } from "./chunk-S234PC5E.js";
39
+ } from "./chunk-7PLTQHNO.js";
40
40
  import {
41
41
  GLOBAL_FLAGS,
42
42
  WRITE_FLAGS,
@@ -44,7 +44,7 @@ import {
44
44
  } from "./chunk-QLKGOIWS.js";
45
45
  import {
46
46
  DESCRIPTIONS
47
- } from "./chunk-QBY6L77D.js";
47
+ } from "./chunk-MWVTFTWV.js";
48
48
  import {
49
49
  nearestSubcommand
50
50
  } from "./chunk-FDJMAF7D.js";
@@ -7,18 +7,18 @@ import {
7
7
  online,
8
8
  positionals,
9
9
  preview
10
- } from "./chunk-OYZ27Q3B.js";
11
- import "./chunk-Z3RPQ5K4.js";
10
+ } from "./chunk-J4SFOFMT.js";
11
+ import "./chunk-CRO7PJ4I.js";
12
12
  import "./chunk-GOICALYQ.js";
13
- import "./chunk-Q5Z7FMXI.js";
14
- import "./chunk-LGUZ52BU.js";
13
+ import "./chunk-XP6S6E55.js";
14
+ import "./chunk-UWRWZG4N.js";
15
15
  import "./chunk-TCUYH5GO.js";
16
16
  import "./chunk-NNV2OYEF.js";
17
- import "./chunk-R7USRN52.js";
17
+ import "./chunk-MIOEYSBQ.js";
18
18
  import "./chunk-QM57YDJE.js";
19
- import "./chunk-S234PC5E.js";
19
+ import "./chunk-7PLTQHNO.js";
20
20
  import "./chunk-QLKGOIWS.js";
21
- import "./chunk-QBY6L77D.js";
21
+ import "./chunk-MWVTFTWV.js";
22
22
  import "./chunk-ZYURL5VK.js";
23
23
  import "./chunk-RDKTHFQ6.js";
24
24
  export {
@@ -8,18 +8,18 @@ import {
8
8
  online,
9
9
  preview,
10
10
  readFilter
11
- } from "./chunk-OYZ27Q3B.js";
12
- import "./chunk-Z3RPQ5K4.js";
11
+ } from "./chunk-J4SFOFMT.js";
12
+ import "./chunk-CRO7PJ4I.js";
13
13
  import "./chunk-GOICALYQ.js";
14
14
  import {
15
15
  sendInChunks
16
- } from "./chunk-Q5Z7FMXI.js";
16
+ } from "./chunk-XP6S6E55.js";
17
17
  import {
18
18
  fail,
19
19
  listFlag,
20
20
  outputOpts,
21
21
  usage
22
- } from "./chunk-LGUZ52BU.js";
22
+ } from "./chunk-UWRWZG4N.js";
23
23
  import "./chunk-TCUYH5GO.js";
24
24
  import {
25
25
  intFlag
@@ -32,19 +32,19 @@ import {
32
32
  readablePage,
33
33
  rejectPaginationModifiersWithoutAll,
34
34
  streamAll
35
- } from "./chunk-R7USRN52.js";
35
+ } from "./chunk-MIOEYSBQ.js";
36
36
  import {
37
37
  renderSuccess,
38
38
  writeNdjsonItem
39
39
  } from "./chunk-QM57YDJE.js";
40
- import "./chunk-S234PC5E.js";
40
+ import "./chunk-7PLTQHNO.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  READ_SINGLE_FLAGS,
44
44
  WRITE_SINGLE_FLAGS,
45
45
  readOnly
46
46
  } from "./chunk-QLKGOIWS.js";
47
- import "./chunk-QBY6L77D.js";
47
+ import "./chunk-MWVTFTWV.js";
48
48
  import "./chunk-ZYURL5VK.js";
49
49
  import "./chunk-RDKTHFQ6.js";
50
50
 
@@ -293,7 +293,7 @@ var contactListsCommand = defineCommand({
293
293
  meta: { name: "lists", description: "Lead lists: named sets of Leads a Campaign enrolls from." },
294
294
  subCommands: { list: listsList, get: listsGet, create: listsCreate, combine: listsCombine, update: listsUpdate, delete: listsDelete, add: membership("add"), remove: membership("remove") },
295
295
  async run() {
296
- const { showHelp } = await import("./examples-77WVMKZQ.js");
296
+ const { showHelp } = await import("./examples-IGQJCSNL.js");
297
297
  await showHelp(contactListsCommand, ["curviate", "lead", "lists"]);
298
298
  }
299
299
  });
@@ -390,7 +390,7 @@ var contactTagsCommand = defineCommand({
390
390
  meta: { name: "tags", description: "Tags: labels on Leads." },
391
391
  subCommands: { list: tagsList, update: tagsUpdate, delete: tagsDelete, add: tagging("add"), remove: tagging("remove") },
392
392
  async run() {
393
- const { showHelp } = await import("./examples-77WVMKZQ.js");
393
+ const { showHelp } = await import("./examples-IGQJCSNL.js");
394
394
  await showHelp(contactTagsCommand, ["curviate", "lead", "tags"]);
395
395
  }
396
396
  });
@@ -7,20 +7,20 @@ import {
7
7
  contactImportCommand,
8
8
  contactImportsCommand,
9
9
  csvRecords
10
- } from "./chunk-AMMAA62Z.js";
11
- import "./chunk-OYZ27Q3B.js";
12
- import "./chunk-Z3RPQ5K4.js";
10
+ } from "./chunk-L3RJU7C3.js";
11
+ import "./chunk-J4SFOFMT.js";
12
+ import "./chunk-CRO7PJ4I.js";
13
13
  import "./chunk-GOICALYQ.js";
14
- import "./chunk-Q5Z7FMXI.js";
15
- import "./chunk-LGUZ52BU.js";
14
+ import "./chunk-XP6S6E55.js";
15
+ import "./chunk-UWRWZG4N.js";
16
16
  import "./chunk-TCUYH5GO.js";
17
17
  import "./chunk-NNV2OYEF.js";
18
- import "./chunk-R7USRN52.js";
18
+ import "./chunk-MIOEYSBQ.js";
19
19
  import "./chunk-QM57YDJE.js";
20
- import "./chunk-S234PC5E.js";
20
+ import "./chunk-7PLTQHNO.js";
21
21
  import "./chunk-QLKGOIWS.js";
22
- import "./chunk-QBY6L77D.js";
23
- import "./chunk-JKXGL7PT.js";
22
+ import "./chunk-MWVTFTWV.js";
23
+ import "./chunk-RKNW4UX4.js";
24
24
  import "./chunk-FDJMAF7D.js";
25
25
  import "./chunk-ZYURL5VK.js";
26
26
  import "./chunk-RDKTHFQ6.js";
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ DESCRIPTIONS,
4
+ lazy
5
+ } from "./chunk-MWVTFTWV.js";
6
+
7
+ // src/commands/core.ts
8
+ import { defineCommand } from "citty";
9
+ var coreCommand = defineCommand({
10
+ meta: {
11
+ name: "core",
12
+ description: DESCRIPTIONS.core,
13
+ rules: {
14
+ notes: [
15
+ "Writes reach LinkedIn immediately and are seen by the people they touch.",
16
+ "A retry after a timeout can repeat a write: requests carry no idempotency key. Read the current state before retrying.",
17
+ "Budget rows, ceilings and what is left: `curviate account get <account_id>`."
18
+ ]
19
+ }
20
+ },
21
+ subCommands: {
22
+ profile: lazy("profile", () => import("./profile-YZNBX2RP.js").then((m) => m.profileCommand)),
23
+ company: lazy("company", () => import("./company-3Z6PXGTW.js").then((m) => m.companyCommand)),
24
+ job: lazy("job", () => import("./job-ZHVFFRWE.js").then((m) => m.jobCommand)),
25
+ connect: lazy("connect", () => import("./connect-G2RTLV7G.js").then((m) => m.connectCommand)),
26
+ search: lazy("search", () => import("./search-B7FB6674.js").then((m) => m.searchCommand)),
27
+ inbox: lazy("inbox", () => import("./inbox-VSGNHSLG.js").then((m) => m.inboxCommand)),
28
+ inboxes: lazy("inboxes", () => import("./inboxes-23C2MJK4.js").then((m) => m.inboxesCommand)),
29
+ message: lazy("message", () => import("./message-PIV77W47.js").then((m) => m.messageCommand)),
30
+ post: lazy("post", () => import("./post-Z7AVDDKA.js").then((m) => m.postCommand)),
31
+ comment: lazy("comment", () => import("./comment-D6RSZTVK.js").then((m) => m.commentCommand)),
32
+ "sales-nav": lazy("sales-nav", () => import("./sales-nav-CKDSEXV2.js").then((m) => m.salesNavCommand)),
33
+ recruiter: lazy("recruiter", () => import("./recruiter-EXM4P7X7.js").then((m) => m.recruiterCommand)),
34
+ group: lazy("group", () => import("./group-UTC3YBKE.js").then((m) => m.groupCommand)),
35
+ feed: lazy("feed", () => import("./feed-M5D4SJW7.js").then((m) => m.feedCommand)),
36
+ notification: lazy("coreNotification", () => import("./notification-XGR4NT3S.js").then((m) => m.notificationCommand)),
37
+ draft: lazy("draft", () => import("./draft-7U6H4BPF.js").then((m) => m.draftCommand))
38
+ },
39
+ async run() {
40
+ const { showHelp } = await import("./examples-IGQJCSNL.js");
41
+ await showHelp(coreCommand, ["curviate", "core"]);
42
+ }
43
+ });
44
+ export {
45
+ coreCommand
46
+ };