@curviate/cli 0.62.0 → 0.64.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 (59) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{account-KHGIDS7C.js → account-55QRBRX2.js} +76 -18
  3. package/dist/{analytics-PCKJMU2Z.js → analytics-DOGKBULH.js} +6 -6
  4. package/dist/{beta-consent-WBT4UPXA.js → beta-consent-3EPBXPPQ.js} +4 -4
  5. package/dist/{billing-EVZOOTM5.js → billing-2A7EZWZX.js} +6 -6
  6. package/dist/{chunk-34A5CHXH.js → chunk-2JL554FW.js} +11 -11
  7. package/dist/{chunk-7HYLUMA2.js → chunk-33GDPBLY.js} +1 -1
  8. package/dist/{chunk-VRS37BII.js → chunk-3M52GHII.js} +5 -5
  9. package/dist/{chunk-QLKGOIWS.js → chunk-65UYYCWD.js} +7 -0
  10. package/dist/{chunk-2JHRIBHB.js → chunk-66HEPUAX.js} +33 -4
  11. package/dist/{chunk-KI7N6UTH.js → chunk-AFP5F3I6.js} +1 -1
  12. package/dist/{chunk-PHSP5WZP.js → chunk-FUPVALUL.js} +25 -3
  13. package/dist/{chunk-WBOYMBTN.js → chunk-KSRNDK2N.js} +118 -12
  14. package/dist/{chunk-MMDUAADN.js → chunk-PITCPTWX.js} +2 -2
  15. package/dist/{chunk-66MWBCOR.js → chunk-QFG3DRHY.js} +2 -2
  16. package/dist/{chunk-R5IWR5D3.js → chunk-WISP4QXZ.js} +1 -1
  17. package/dist/{chunk-RNQ2TGTR.js → chunk-YE2WKE3R.js} +5 -5
  18. package/dist/{chunk-NUQTAH66.js → chunk-YW6CYOX6.js} +5 -5
  19. package/dist/cli.js +26 -26
  20. package/dist/{comment-KSTMPDPW.js → comment-CERAB2Z5.js} +6 -6
  21. package/dist/{company-RZH4IOB3.js → company-WC6SGDTE.js} +6 -6
  22. package/dist/{company-record-AIOQFNYA.js → company-record-GVOCKW7U.js} +9 -9
  23. package/dist/{config-2ZPYE7IM.js → config-RC377EZ7.js} +2 -2
  24. package/dist/{connect-D7LTT2TN.js → connect-V63CQIO7.js} +5 -5
  25. package/dist/{contact-3JE6UMAW.js → contact-4OH5AVMI.js} +8 -8
  26. package/dist/{contact-groups-G44SEWGV.js → contact-groups-OILNTYGH.js} +8 -8
  27. package/dist/{contact-import-I2CSUJM4.js → contact-import-X5EUG77K.js} +19 -11
  28. package/dist/{core-VY7AWN5A.js → core-FM222KR6.js} +16 -16
  29. package/dist/{do-not-contact-WM3PXFUW.js → do-not-contact-SA6IXJIE.js} +9 -9
  30. package/dist/{doctor-3V26HZ64.js → doctor-6XQRPRBT.js} +4 -4
  31. package/dist/{domain-BDGB2IGY.js → domain-N7BBT5WI.js} +5 -5
  32. package/dist/{draft-HSYD6AEU.js → draft-6KPWHEPU.js} +4 -4
  33. package/dist/{enrollment-6AGTQFQN.js → enrollment-PCE6OGCV.js} +5 -5
  34. package/dist/{export-VFENGCZ2.js → export-WC64TMKR.js} +4 -4
  35. package/dist/{feed-M6NTLLSN.js → feed-WC2UCUSC.js} +5 -5
  36. package/dist/{group-FDD3QDBT.js → group-FSZU62CS.js} +5 -5
  37. package/dist/{inbox-BWNR3N4L.js → inbox-O422BPE5.js} +5 -5
  38. package/dist/{inboxes-2C5Z3XPV.js → inboxes-NBLCSHHK.js} +5 -5
  39. package/dist/{incoming-SAJXKQ7R.js → incoming-S5Q7YJM3.js} +5 -5
  40. package/dist/{job-XFJFYZRQ.js → job-CJUFB5DB.js} +5 -5
  41. package/dist/{login-UROMY3OS.js → login-5A4KOIBU.js} +2 -2
  42. package/dist/{mailbox-AFP65FCW.js → mailbox-OZI2NREM.js} +10 -9
  43. package/dist/{message-DCLIKQ5V.js → message-WAHQQHTF.js} +6 -6
  44. package/dist/{motion-LEIFCNMP.js → motion-SZSJ4WZI.js} +6 -6
  45. package/dist/{network-CJ7O4JK6.js → network-3CQGZMQF.js} +5 -5
  46. package/dist/{notification-WEUR4B7W.js → notification-OUZ44XYA.js} +5 -5
  47. package/dist/{notifications-UZKV5RHZ.js → notifications-BNLH3ESH.js} +5 -5
  48. package/dist/{post-YUNPJZZM.js → post-2IABIGUC.js} +6 -6
  49. package/dist/{profile-D7VC227S.js → profile-FTNWMCKB.js} +6 -6
  50. package/dist/{recruiter-WS4IFAHV.js → recruiter-OZSLGPYO.js} +16 -8
  51. package/dist/{sales-nav-Z5VWWMTU.js → sales-nav-RZF65ZRA.js} +16 -8
  52. package/dist/{search-MQZAJXBF.js → search-YTZQ4XUN.js} +25 -11
  53. package/dist/{setup-Q4YCWD6T.js → setup-67FMKDKO.js} +4 -4
  54. package/dist/{signal-BYCWA7B3.js → signal-XCCCE434.js} +5 -5
  55. package/dist/{team-52T56NUY.js → team-EC5CFT7D.js} +5 -5
  56. package/dist/{tier-VMGEMTXH.js → tier-M6LZVGH3.js} +5 -5
  57. package/dist/{unibox-IIIVB7JT.js → unibox-U3RPEUJI.js} +5 -5
  58. package/dist/{webhook-44LDBVZI.js → webhook-EAXWPNQZ.js} +5 -5
  59. package/package.json +2 -2
@@ -6,19 +6,23 @@ import {
6
6
  chunkRows,
7
7
  contactImportCommand,
8
8
  contactImportsCommand,
9
- csvRecords
10
- } from "./chunk-WBOYMBTN.js";
11
- import "./chunk-34A5CHXH.js";
12
- import "./chunk-R5IWR5D3.js";
9
+ csvRecords,
10
+ durationText,
11
+ estimateText,
12
+ importStatusLine,
13
+ whenText
14
+ } from "./chunk-KSRNDK2N.js";
15
+ import "./chunk-2JL554FW.js";
16
+ import "./chunk-WISP4QXZ.js";
13
17
  import "./chunk-GOICALYQ.js";
14
- import "./chunk-7HYLUMA2.js";
15
- import "./chunk-MMDUAADN.js";
18
+ import "./chunk-33GDPBLY.js";
19
+ import "./chunk-PITCPTWX.js";
16
20
  import "./chunk-TCUYH5GO.js";
17
21
  import "./chunk-NNV2OYEF.js";
18
- import "./chunk-PHSP5WZP.js";
19
- import "./chunk-2JHRIBHB.js";
20
- import "./chunk-66MWBCOR.js";
21
- import "./chunk-QLKGOIWS.js";
22
+ import "./chunk-FUPVALUL.js";
23
+ import "./chunk-66HEPUAX.js";
24
+ import "./chunk-QFG3DRHY.js";
25
+ import "./chunk-65UYYCWD.js";
22
26
  import "./chunk-Z647LR4F.js";
23
27
  import "./chunk-JKOQX46J.js";
24
28
  import "./chunk-FDJMAF7D.js";
@@ -31,5 +35,9 @@ export {
31
35
  chunkRows,
32
36
  contactImportCommand,
33
37
  contactImportsCommand,
34
- csvRecords
38
+ csvRecords,
39
+ durationText,
40
+ estimateText,
41
+ importStatusLine,
42
+ whenText
35
43
  };
@@ -19,22 +19,22 @@ var coreCommand = defineCommand({
19
19
  }
20
20
  },
21
21
  subCommands: {
22
- profile: lazy("profile", () => import("./profile-D7VC227S.js").then((m) => m.profileCommand)),
23
- company: lazy("company", () => import("./company-RZH4IOB3.js").then((m) => m.companyCommand)),
24
- job: lazy("job", () => import("./job-XFJFYZRQ.js").then((m) => m.jobCommand)),
25
- connect: lazy("connect", () => import("./connect-D7LTT2TN.js").then((m) => m.connectCommand)),
26
- search: lazy("search", () => import("./search-MQZAJXBF.js").then((m) => m.searchCommand)),
27
- inbox: lazy("inbox", () => import("./inbox-BWNR3N4L.js").then((m) => m.inboxCommand)),
28
- inboxes: lazy("inboxes", () => import("./inboxes-2C5Z3XPV.js").then((m) => m.inboxesCommand)),
29
- message: lazy("message", () => import("./message-DCLIKQ5V.js").then((m) => m.messageCommand)),
30
- post: lazy("post", () => import("./post-YUNPJZZM.js").then((m) => m.postCommand)),
31
- comment: lazy("comment", () => import("./comment-KSTMPDPW.js").then((m) => m.commentCommand)),
32
- "sales-nav": lazy("sales-nav", () => import("./sales-nav-Z5VWWMTU.js").then((m) => m.salesNavCommand)),
33
- recruiter: lazy("recruiter", () => import("./recruiter-WS4IFAHV.js").then((m) => m.recruiterCommand)),
34
- group: lazy("group", () => import("./group-FDD3QDBT.js").then((m) => m.groupCommand)),
35
- feed: lazy("feed", () => import("./feed-M6NTLLSN.js").then((m) => m.feedCommand)),
36
- notification: lazy("coreNotification", () => import("./notification-WEUR4B7W.js").then((m) => m.notificationCommand)),
37
- draft: lazy("draft", () => import("./draft-HSYD6AEU.js").then((m) => m.draftCommand))
22
+ profile: lazy("profile", () => import("./profile-FTNWMCKB.js").then((m) => m.profileCommand)),
23
+ company: lazy("company", () => import("./company-WC6SGDTE.js").then((m) => m.companyCommand)),
24
+ job: lazy("job", () => import("./job-CJUFB5DB.js").then((m) => m.jobCommand)),
25
+ connect: lazy("connect", () => import("./connect-V63CQIO7.js").then((m) => m.connectCommand)),
26
+ search: lazy("search", () => import("./search-YTZQ4XUN.js").then((m) => m.searchCommand)),
27
+ inbox: lazy("inbox", () => import("./inbox-O422BPE5.js").then((m) => m.inboxCommand)),
28
+ inboxes: lazy("inboxes", () => import("./inboxes-NBLCSHHK.js").then((m) => m.inboxesCommand)),
29
+ message: lazy("message", () => import("./message-WAHQQHTF.js").then((m) => m.messageCommand)),
30
+ post: lazy("post", () => import("./post-2IABIGUC.js").then((m) => m.postCommand)),
31
+ comment: lazy("comment", () => import("./comment-CERAB2Z5.js").then((m) => m.commentCommand)),
32
+ "sales-nav": lazy("sales-nav", () => import("./sales-nav-RZF65ZRA.js").then((m) => m.salesNavCommand)),
33
+ recruiter: lazy("recruiter", () => import("./recruiter-OZSLGPYO.js").then((m) => m.recruiterCommand)),
34
+ group: lazy("group", () => import("./group-FSZU62CS.js").then((m) => m.groupCommand)),
35
+ feed: lazy("feed", () => import("./feed-WC2UCUSC.js").then((m) => m.feedCommand)),
36
+ notification: lazy("coreNotification", () => import("./notification-OUZ44XYA.js").then((m) => m.notificationCommand)),
37
+ draft: lazy("draft", () => import("./draft-6KPWHEPU.js").then((m) => m.draftCommand))
38
38
  },
39
39
  async run() {
40
40
  const { showHelp } = await import("./examples-G4IC5TJU.js");
@@ -2,21 +2,21 @@
2
2
  import {
3
3
  chunkRows,
4
4
  csvRecords
5
- } from "./chunk-WBOYMBTN.js";
6
- import "./chunk-34A5CHXH.js";
7
- import "./chunk-R5IWR5D3.js";
5
+ } from "./chunk-KSRNDK2N.js";
6
+ import "./chunk-2JL554FW.js";
7
+ import "./chunk-WISP4QXZ.js";
8
8
  import {
9
9
  writeAtomic
10
10
  } from "./chunk-GOICALYQ.js";
11
11
  import {
12
12
  sendChunked
13
- } from "./chunk-7HYLUMA2.js";
13
+ } from "./chunk-33GDPBLY.js";
14
14
  import {
15
15
  fail,
16
16
  outputOpts,
17
17
  rootClient,
18
18
  usage
19
- } from "./chunk-MMDUAADN.js";
19
+ } from "./chunk-PITCPTWX.js";
20
20
  import {
21
21
  buildPreviewOutput
22
22
  } from "./chunk-TCUYH5GO.js";
@@ -31,20 +31,20 @@ import {
31
31
  readablePage,
32
32
  rejectPaginationModifiersWithoutAll,
33
33
  streamAll
34
- } from "./chunk-PHSP5WZP.js";
34
+ } from "./chunk-FUPVALUL.js";
35
35
  import {
36
36
  renderSuccess,
37
37
  writeNdjsonItem
38
- } from "./chunk-2JHRIBHB.js";
38
+ } from "./chunk-66HEPUAX.js";
39
39
  import {
40
40
  downloadBinary
41
- } from "./chunk-66MWBCOR.js";
41
+ } from "./chunk-QFG3DRHY.js";
42
42
  import {
43
43
  GLOBAL_FLAGS,
44
44
  READ_SINGLE_FLAGS,
45
45
  WRITE_SINGLE_FLAGS,
46
46
  readOnly
47
- } from "./chunk-QLKGOIWS.js";
47
+ } from "./chunk-65UYYCWD.js";
48
48
  import {
49
49
  DESCRIPTIONS
50
50
  } from "./chunk-Z647LR4F.js";
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-PHSP5WZP.js";
5
- import "./chunk-2JHRIBHB.js";
4
+ } from "./chunk-FUPVALUL.js";
5
+ import "./chunk-66HEPUAX.js";
6
6
  import {
7
7
  createClient,
8
8
  getConfigPath,
@@ -10,10 +10,10 @@ import {
10
10
  readConfigFile,
11
11
  resolveEffectiveConfig,
12
12
  withoutUserinfo
13
- } from "./chunk-66MWBCOR.js";
13
+ } from "./chunk-QFG3DRHY.js";
14
14
  import {
15
15
  GLOBAL_FLAGS
16
- } from "./chunk-QLKGOIWS.js";
16
+ } from "./chunk-65UYYCWD.js";
17
17
  import {
18
18
  DESCRIPTIONS
19
19
  } from "./chunk-Z647LR4F.js";
@@ -4,21 +4,21 @@ import {
4
4
  outputOpts,
5
5
  rootClient,
6
6
  usage
7
- } from "./chunk-MMDUAADN.js";
7
+ } from "./chunk-PITCPTWX.js";
8
8
  import {
9
9
  buildPreviewOutput
10
10
  } from "./chunk-TCUYH5GO.js";
11
11
  import {
12
12
  readableObject
13
- } from "./chunk-PHSP5WZP.js";
13
+ } from "./chunk-FUPVALUL.js";
14
14
  import {
15
15
  renderSuccess
16
- } from "./chunk-2JHRIBHB.js";
17
- import "./chunk-66MWBCOR.js";
16
+ } from "./chunk-66HEPUAX.js";
17
+ import "./chunk-QFG3DRHY.js";
18
18
  import {
19
19
  READ_SINGLE_FLAGS,
20
20
  readOnly
21
- } from "./chunk-QLKGOIWS.js";
21
+ } from "./chunk-65UYYCWD.js";
22
22
  import {
23
23
  DESCRIPTIONS
24
24
  } from "./chunk-Z647LR4F.js";
@@ -20,23 +20,23 @@ import {
20
20
  readablePage,
21
21
  rejectPaginationModifiersWithoutAll,
22
22
  streamAll
23
- } from "./chunk-PHSP5WZP.js";
23
+ } from "./chunk-FUPVALUL.js";
24
24
  import {
25
25
  renderError,
26
26
  renderSuccess,
27
27
  renderUnexpectedError,
28
28
  writeNdjsonItem
29
- } from "./chunk-2JHRIBHB.js";
29
+ } from "./chunk-66HEPUAX.js";
30
30
  import {
31
31
  createClient,
32
32
  resolveEffectiveConfig
33
- } from "./chunk-66MWBCOR.js";
33
+ } from "./chunk-QFG3DRHY.js";
34
34
  import {
35
35
  GLOBAL_FLAGS,
36
36
  READ_SINGLE_FLAGS,
37
37
  WRITE_SINGLE_FLAGS,
38
38
  readOnly
39
- } from "./chunk-QLKGOIWS.js";
39
+ } from "./chunk-65UYYCWD.js";
40
40
  import {
41
41
  DESCRIPTIONS
42
42
  } from "./chunk-Z647LR4F.js";
@@ -5,7 +5,7 @@ import {
5
5
  outputOpts,
6
6
  rootClient,
7
7
  usage
8
- } from "./chunk-MMDUAADN.js";
8
+ } from "./chunk-PITCPTWX.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-TCUYH5GO.js";
@@ -20,18 +20,18 @@ import {
20
20
  readablePage,
21
21
  rejectPaginationModifiersWithoutAll,
22
22
  streamAll
23
- } from "./chunk-PHSP5WZP.js";
23
+ } from "./chunk-FUPVALUL.js";
24
24
  import {
25
25
  renderSuccess,
26
26
  writeNdjsonItem
27
- } from "./chunk-2JHRIBHB.js";
28
- import "./chunk-66MWBCOR.js";
27
+ } from "./chunk-66HEPUAX.js";
28
+ import "./chunk-QFG3DRHY.js";
29
29
  import {
30
30
  GLOBAL_FLAGS,
31
31
  READ_SINGLE_FLAGS,
32
32
  WRITE_SINGLE_FLAGS,
33
33
  readOnly
34
- } from "./chunk-QLKGOIWS.js";
34
+ } from "./chunk-65UYYCWD.js";
35
35
  import {
36
36
  DESCRIPTIONS
37
37
  } from "./chunk-Z647LR4F.js";
@@ -7,18 +7,18 @@ import {
7
7
  outputOpts,
8
8
  rootClient,
9
9
  usage
10
- } from "./chunk-MMDUAADN.js";
10
+ } from "./chunk-PITCPTWX.js";
11
11
  import {
12
12
  renderSuccess
13
- } from "./chunk-2JHRIBHB.js";
13
+ } from "./chunk-66HEPUAX.js";
14
14
  import {
15
15
  downloadBinary
16
- } from "./chunk-66MWBCOR.js";
16
+ } from "./chunk-QFG3DRHY.js";
17
17
  import {
18
18
  GLOBAL_FLAGS,
19
19
  READ_SINGLE_FLAGS,
20
20
  readOnly
21
- } from "./chunk-QLKGOIWS.js";
21
+ } from "./chunk-65UYYCWD.js";
22
22
  import {
23
23
  DESCRIPTIONS
24
24
  } from "./chunk-Z647LR4F.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  requireAccount
4
- } from "./chunk-R5IWR5D3.js";
4
+ } from "./chunk-WISP4QXZ.js";
5
5
  import {
6
6
  pageDelayFromFlags,
7
7
  readCursorFlag,
@@ -9,21 +9,21 @@ import {
9
9
  readablePage,
10
10
  rejectPaginationModifiersWithoutAll,
11
11
  streamAll
12
- } from "./chunk-PHSP5WZP.js";
12
+ } from "./chunk-FUPVALUL.js";
13
13
  import {
14
14
  renderError,
15
15
  renderSuccess,
16
16
  renderUnexpectedError,
17
17
  writeNdjsonItem
18
- } from "./chunk-2JHRIBHB.js";
18
+ } from "./chunk-66HEPUAX.js";
19
19
  import {
20
20
  createClient,
21
21
  resolveEffectiveConfig
22
- } from "./chunk-66MWBCOR.js";
22
+ } from "./chunk-QFG3DRHY.js";
23
23
  import {
24
24
  GLOBAL_FLAGS,
25
25
  readOnly
26
- } from "./chunk-QLKGOIWS.js";
26
+ } from "./chunk-65UYYCWD.js";
27
27
  import {
28
28
  DESCRIPTIONS
29
29
  } from "./chunk-Z647LR4F.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UEAX6KUB.js";
5
5
  import {
6
6
  requireAccount
7
- } from "./chunk-R5IWR5D3.js";
7
+ } from "./chunk-WISP4QXZ.js";
8
8
  import {
9
9
  pageDelayFromFlags,
10
10
  readCursorFlag,
@@ -13,22 +13,22 @@ import {
13
13
  readablePage,
14
14
  rejectPaginationModifiersWithoutAll,
15
15
  streamAll
16
- } from "./chunk-PHSP5WZP.js";
16
+ } from "./chunk-FUPVALUL.js";
17
17
  import {
18
18
  renderError,
19
19
  renderSuccess,
20
20
  renderUnexpectedError,
21
21
  writeNdjsonItem
22
- } from "./chunk-2JHRIBHB.js";
22
+ } from "./chunk-66HEPUAX.js";
23
23
  import {
24
24
  createClient,
25
25
  resolveEffectiveConfig
26
- } from "./chunk-66MWBCOR.js";
26
+ } from "./chunk-QFG3DRHY.js";
27
27
  import {
28
28
  GLOBAL_FLAGS,
29
29
  READ_SINGLE_FLAGS,
30
30
  readOnly
31
- } from "./chunk-QLKGOIWS.js";
31
+ } from "./chunk-65UYYCWD.js";
32
32
  import {
33
33
  DESCRIPTIONS
34
34
  } from "./chunk-Z647LR4F.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-Q3ZPRFUX.js";
13
13
  import {
14
14
  requireAccount
15
- } from "./chunk-R5IWR5D3.js";
15
+ } from "./chunk-WISP4QXZ.js";
16
16
  import {
17
17
  buildPreviewOutput
18
18
  } from "./chunk-TCUYH5GO.js";
@@ -24,23 +24,23 @@ import {
24
24
  readablePage,
25
25
  rejectPaginationModifiersWithoutAll,
26
26
  streamAll
27
- } from "./chunk-PHSP5WZP.js";
27
+ } from "./chunk-FUPVALUL.js";
28
28
  import {
29
29
  renderError,
30
30
  renderSuccess,
31
31
  renderUnexpectedError,
32
32
  writeNdjsonItem
33
- } from "./chunk-2JHRIBHB.js";
33
+ } from "./chunk-66HEPUAX.js";
34
34
  import {
35
35
  createClient,
36
36
  resolveEffectiveConfig
37
- } from "./chunk-66MWBCOR.js";
37
+ } from "./chunk-QFG3DRHY.js";
38
38
  import {
39
39
  GLOBAL_FLAGS,
40
40
  READ_SINGLE_FLAGS,
41
41
  WRITE_SINGLE_FLAGS,
42
42
  readOnly
43
- } from "./chunk-QLKGOIWS.js";
43
+ } from "./chunk-65UYYCWD.js";
44
44
  import {
45
45
  DESCRIPTIONS
46
46
  } from "./chunk-Z647LR4F.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  requireAccount
4
- } from "./chunk-R5IWR5D3.js";
4
+ } from "./chunk-WISP4QXZ.js";
5
5
  import {
6
6
  pageDelayFromFlags,
7
7
  readCursorFlag,
@@ -10,22 +10,22 @@ import {
10
10
  readablePage,
11
11
  rejectPaginationModifiersWithoutAll,
12
12
  streamAll
13
- } from "./chunk-PHSP5WZP.js";
13
+ } from "./chunk-FUPVALUL.js";
14
14
  import {
15
15
  renderError,
16
16
  renderSuccess,
17
17
  renderUnexpectedError,
18
18
  writeNdjsonItem
19
- } from "./chunk-2JHRIBHB.js";
19
+ } from "./chunk-66HEPUAX.js";
20
20
  import {
21
21
  createClient,
22
22
  resolveEffectiveConfig
23
- } from "./chunk-66MWBCOR.js";
23
+ } from "./chunk-QFG3DRHY.js";
24
24
  import {
25
25
  GLOBAL_FLAGS,
26
26
  READ_SINGLE_FLAGS,
27
27
  readOnly
28
- } from "./chunk-QLKGOIWS.js";
28
+ } from "./chunk-65UYYCWD.js";
29
29
  import {
30
30
  DESCRIPTIONS
31
31
  } from "./chunk-Z647LR4F.js";
@@ -4,7 +4,7 @@ import {
4
4
  outputOpts,
5
5
  rootClient,
6
6
  usage
7
- } from "./chunk-MMDUAADN.js";
7
+ } from "./chunk-PITCPTWX.js";
8
8
  import {
9
9
  buildPreviewOutput
10
10
  } from "./chunk-TCUYH5GO.js";
@@ -18,18 +18,18 @@ import {
18
18
  readablePage,
19
19
  rejectPaginationModifiersWithoutAll,
20
20
  streamAll
21
- } from "./chunk-PHSP5WZP.js";
21
+ } from "./chunk-FUPVALUL.js";
22
22
  import {
23
23
  renderSuccess,
24
24
  writeNdjsonItem
25
- } from "./chunk-2JHRIBHB.js";
26
- import "./chunk-66MWBCOR.js";
25
+ } from "./chunk-66HEPUAX.js";
26
+ import "./chunk-QFG3DRHY.js";
27
27
  import {
28
28
  GLOBAL_FLAGS,
29
29
  READ_SINGLE_FLAGS,
30
30
  WRITE_SINGLE_FLAGS,
31
31
  readOnly
32
- } from "./chunk-QLKGOIWS.js";
32
+ } from "./chunk-65UYYCWD.js";
33
33
  import {
34
34
  DESCRIPTIONS
35
35
  } from "./chunk-Z647LR4F.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-EIPQUQK2.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-R5IWR5D3.js";
18
+ } from "./chunk-WISP4QXZ.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-TCUYH5GO.js";
@@ -29,24 +29,24 @@ import {
29
29
  readablePage,
30
30
  rejectPaginationModifiersWithoutAll,
31
31
  streamAll
32
- } from "./chunk-PHSP5WZP.js";
32
+ } from "./chunk-FUPVALUL.js";
33
33
  import {
34
34
  renderError,
35
35
  renderSuccess,
36
36
  renderUnexpectedError,
37
37
  writeNdjsonItem
38
- } from "./chunk-2JHRIBHB.js";
38
+ } from "./chunk-66HEPUAX.js";
39
39
  import {
40
40
  createClient,
41
41
  downloadBinary,
42
42
  resolveEffectiveConfig
43
- } from "./chunk-66MWBCOR.js";
43
+ } from "./chunk-QFG3DRHY.js";
44
44
  import {
45
45
  GLOBAL_FLAGS,
46
46
  READ_SINGLE_FLAGS,
47
47
  WRITE_SINGLE_FLAGS,
48
48
  readOnly
49
- } from "./chunk-QLKGOIWS.js";
49
+ } from "./chunk-65UYYCWD.js";
50
50
  import {
51
51
  DESCRIPTIONS
52
52
  } from "./chunk-Z647LR4F.js";
@@ -5,10 +5,10 @@ import {
5
5
  import {
6
6
  baseUrlProblem,
7
7
  writeProfile
8
- } from "./chunk-66MWBCOR.js";
8
+ } from "./chunk-QFG3DRHY.js";
9
9
  import {
10
10
  GLOBAL_FLAGS
11
- } from "./chunk-QLKGOIWS.js";
11
+ } from "./chunk-65UYYCWD.js";
12
12
  import {
13
13
  DESCRIPTIONS
14
14
  } from "./chunk-Z647LR4F.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  confirmMoney
4
- } from "./chunk-NUQTAH66.js";
4
+ } from "./chunk-YW6CYOX6.js";
5
5
  import {
6
6
  resolveSecret
7
7
  } from "./chunk-DENWYJK2.js";
@@ -11,7 +11,7 @@ import {
11
11
  outputOpts,
12
12
  rootClient,
13
13
  usage
14
- } from "./chunk-MMDUAADN.js";
14
+ } from "./chunk-PITCPTWX.js";
15
15
  import {
16
16
  buildPreviewOutput
17
17
  } from "./chunk-TCUYH5GO.js";
@@ -26,19 +26,19 @@ import {
26
26
  readablePage,
27
27
  rejectPaginationModifiersWithoutAll,
28
28
  streamAll
29
- } from "./chunk-PHSP5WZP.js";
29
+ } from "./chunk-FUPVALUL.js";
30
30
  import {
31
31
  renderSuccess,
32
32
  writeNdjsonItem
33
- } from "./chunk-2JHRIBHB.js";
33
+ } from "./chunk-66HEPUAX.js";
34
34
  import "./chunk-IB6ARI3R.js";
35
- import "./chunk-66MWBCOR.js";
35
+ import "./chunk-QFG3DRHY.js";
36
36
  import {
37
37
  GLOBAL_FLAGS,
38
38
  READ_SINGLE_FLAGS,
39
39
  WRITE_SINGLE_FLAGS,
40
40
  readOnly
41
- } from "./chunk-QLKGOIWS.js";
41
+ } from "./chunk-65UYYCWD.js";
42
42
  import {
43
43
  DESCRIPTIONS
44
44
  } from "./chunk-Z647LR4F.js";
@@ -172,7 +172,7 @@ function priceLine(p) {
172
172
  const head = p.charged === "never" ? `${n} Mailbox${n === 1 ? "" : "es"} from Curviate: nothing is charged for your Team.` : `${n} Mailbox${n === 1 ? "" : "es"} from Curviate: ${money(p.amount ?? 0, cur)} ${per} (${money(p.unit_amount ?? 0, cur)} each)${p.plus_tax ? ", plus tax where it applies" : ""}.`;
173
173
  const when = p.charged === "when_records_found" ? ` Charged the day the records are found at your domain${p.prorated ? ", for the rest of your billing year" : ""}, then each year.` : p.charged === "with_next_invoice" ? ` Added to your next invoice${p.prorated ? ", prorated for the rest of this month" : ""}, then each month.` : "";
174
174
  const waits = p.charge_waits_for === "payment" ? " The charge waits until your Team's open payment is settled." : p.charge_waits_for === "subscription" ? " The charge waits until your Team has a subscription." : "";
175
- const closed = p.orderable === false ? ` It cannot be ordered now: ${p.not_orderable_reason === "trial" ? "available once your Team pays (a Team on a trial, without a paid plan, or with a payment past due)" : p.not_orderable_reason === "sales_paused" ? "orders cannot be placed at the moment" : "orders are closed"}.` : "";
175
+ const closed = p.orderable === false ? ` It cannot be ordered now: ${p.not_orderable_reason === "trial" ? "available once your Team pays (a Team on a trial, without a paid plan, or with a payment past due)" : p.not_orderable_reason === "currency" ? "your subscription is billed in another currency than Mailboxes from Curviate (US dollars). Contact support to move it to the current price, then order" : p.not_orderable_reason === "sales_paused" ? "orders cannot be placed at the moment" : "orders are closed"}.` : "";
176
176
  return head + when + waits + closed;
177
177
  }
178
178
  async function runQuote(c, f) {
@@ -234,6 +234,7 @@ function purchaseNote(order) {
234
234
  if (order.charge_unknown === true) return "We are checking whether this order was charged. If it was, the charge is given back in full.";
235
235
  if (order.state === "provisioning") return `The Mailboxes are being set up. If that fails, the charge is undone in full and the order ends cancelled (host_failed). Read it again later: curviate mailbox purchase get ${String(order.id ?? "<id>")}. Do not order again meanwhile.`;
236
236
  if (order.state === "cancelled" && order.reason === "host_failed") return "Setting up these Mailboxes failed, so the charge was undone in full. Nothing to retry.";
237
+ if (order.state === "cancelled" && order.reason === "currency") return "Your subscription is billed in another currency than Mailboxes from Curviate (US dollars), so the order ended. Nothing was charged. Contact support to move it to the current price, then order.";
237
238
  return null;
238
239
  }
239
240
  var printPurchase = (order, f) => {
@@ -659,7 +660,7 @@ var quoteCmd = defineCommand({
659
660
  risk: "read",
660
661
  errors: { INSUFFICIENT_ROLE: "only a Team Owner reads the price of Mailboxes from Curviate." },
661
662
  output: [
662
- "`mailboxes`, `currency`, `billing_period` (monthly or annual), `unit_amount` and `amount` (minor units, before tax), `amount_monthly`, `charged` (with_next_invoice, when_records_found or never), `prorated`, `plus_tax`, `orderable`, `not_orderable_reason` (trial: no paid plan or a payment past due; sales_paused), `charge_waits_for` (payment, subscription). The same in one sentence on stderr."
663
+ "`mailboxes`, `currency`, `billing_period` (monthly or annual), `unit_amount` and `amount` (minor units, before tax), `amount_monthly`, `charged` (with_next_invoice, when_records_found or never), `prorated`, `plus_tax`, `orderable`, `not_orderable_reason` (trial: no paid plan or a payment past due; currency: the subscription is billed in another currency than US dollars, contact support; sales_paused), `charge_waits_for` (payment, subscription). The same in one sentence on stderr."
663
664
  ],
664
665
  seeAlso: ["curviate mailbox buy", "curviate billing cap"],
665
666
  examples: ["curviate mailbox quote 3", "curviate mailbox quote 3 --json"]
@@ -686,7 +687,7 @@ var purchaseListCmd = defineCommand({
686
687
  var purchaseGetCmd = defineCommand({
687
688
  meta: {
688
689
  name: "get",
689
- description: "One order of Mailboxes from Curviate: its state, the six records to add at your domain exactly as shown (mx, spf, dkim, dmarc, verify, tracking; tracking is optional; the mx row also holds a CNAME that confirms the domain is yours, verify a TXT record that confirms the order is yours) and which are found, and its Mailboxes once active. awaiting_dns waits for the records; provisioning means charged and being set up; active is done; cancelled carries its reason (requested, expired, host_failed: setting up failed and the charge was undone in full). charge_unknown is true while Curviate cannot tell whether the order's charge was made: it is being checked, and a charge that was made is given back in full; do not order again. Every role reads. One API call.",
690
+ description: "One order of Mailboxes from Curviate: its state, the six records to add at your domain exactly as shown (mx, spf, dkim, dmarc, verify, tracking; tracking is optional; the mx row also holds a CNAME that confirms the domain is yours, verify a TXT record that confirms the order is yours) and which are found, and its Mailboxes once active. awaiting_dns waits for the records; provisioning means charged and being set up; active is done; cancelled carries its reason (requested, expired, subscription_ended, payment_failed, spending_cap_reached, currency: the subscription is billed in another currency than US dollars, nothing was charged, contact support; host_failed: setting up failed and the charge was undone in full). charge_unknown is true while Curviate cannot tell whether the order's charge was made: it is being checked, and a charge that was made is given back in full; do not order again. Every role reads. One API call.",
690
691
  risk: "read",
691
692
  errors: { MAILBOX_PURCHASE_NOT_FOUND: "no order of your Team has this id (another Team's id answers the same)." },
692
693
  seeAlso: ["curviate mailbox purchase list", "curviate mailbox list"],
@@ -13,17 +13,17 @@ import {
13
13
  runMessageSend,
14
14
  sentAsNotice,
15
15
  willSendAsNotice
16
- } from "./chunk-VRS37BII.js";
16
+ } from "./chunk-3M52GHII.js";
17
17
  import "./chunk-UWO2D4HW.js";
18
18
  import "./chunk-UEAX6KUB.js";
19
19
  import "./chunk-Q3ZPRFUX.js";
20
20
  import "./chunk-JY26SUNH.js";
21
- import "./chunk-R5IWR5D3.js";
21
+ import "./chunk-WISP4QXZ.js";
22
22
  import "./chunk-TCUYH5GO.js";
23
- import "./chunk-PHSP5WZP.js";
24
- import "./chunk-2JHRIBHB.js";
25
- import "./chunk-66MWBCOR.js";
26
- import "./chunk-QLKGOIWS.js";
23
+ import "./chunk-FUPVALUL.js";
24
+ import "./chunk-66HEPUAX.js";
25
+ import "./chunk-QFG3DRHY.js";
26
+ import "./chunk-65UYYCWD.js";
27
27
  import "./chunk-Z647LR4F.js";
28
28
  import "./chunk-FDJMAF7D.js";
29
29
  import "./chunk-ZYURL5VK.js";
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk-JY26SUNH.js";
7
7
  import {
8
8
  sendInChunks
9
- } from "./chunk-7HYLUMA2.js";
9
+ } from "./chunk-33GDPBLY.js";
10
10
  import {
11
11
  fail,
12
12
  listFlag,
13
13
  outputOpts,
14
14
  rootClient,
15
15
  usage
16
- } from "./chunk-MMDUAADN.js";
16
+ } from "./chunk-PITCPTWX.js";
17
17
  import {
18
18
  buildPreviewOutput
19
19
  } from "./chunk-TCUYH5GO.js";
@@ -29,18 +29,18 @@ import {
29
29
  readablePage,
30
30
  rejectPaginationModifiersWithoutAll,
31
31
  streamAll
32
- } from "./chunk-PHSP5WZP.js";
32
+ } from "./chunk-FUPVALUL.js";
33
33
  import {
34
34
  renderSuccess,
35
35
  writeNdjsonItem
36
- } from "./chunk-2JHRIBHB.js";
37
- import "./chunk-66MWBCOR.js";
36
+ } from "./chunk-66HEPUAX.js";
37
+ import "./chunk-QFG3DRHY.js";
38
38
  import {
39
39
  GLOBAL_FLAGS,
40
40
  READ_SINGLE_FLAGS,
41
41
  WRITE_SINGLE_FLAGS,
42
42
  readOnly
43
- } from "./chunk-QLKGOIWS.js";
43
+ } from "./chunk-65UYYCWD.js";
44
44
  import {
45
45
  DESCRIPTIONS
46
46
  } from "./chunk-Z647LR4F.js";