@letterstory/cli 0.150.1 → 0.151.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/lib/cli.mjs CHANGED
@@ -66,7 +66,7 @@ import {
66
66
 
67
67
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
68
68
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
69
- export const VERSION = "0.150.1";
69
+ export const VERSION = "0.151.0";
70
70
 
71
71
  // Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
72
72
  // can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
@@ -1009,7 +1009,7 @@ Admin (STAFF key — --staff-key / LETTERSTORY_STAFF_API_KEY; acts before an org
1009
1009
  [--slack a@acme.com,b@acme.com] [--invite a@acme.com[:admin]]… [--no-checklist]
1010
1010
  | onboarding <account-id> | retry-onboarding <onboarding-id>
1011
1011
  | onboard-plan <account-id> [--refresh]
1012
- | payment-link <account-id> [--amount-cents N] [--description "…"] [--plan starter] [--ratio N] [--why "…"]
1012
+ | payment-link <account-id> [--amount-cents N] [--description "…"] [--plan starter] [--ratio N] [--why "…"] [--first-invoice-credit-cents N]
1013
1013
  The staff CRM's pipeline: bulk-importing a
1014
1014
  CSV of leads, the inbound signal
1015
1015
  feed, recording a signal with no webhook
@@ -3726,7 +3726,7 @@ async function cmdAdminCrm(ctx) {
3726
3726
  // The key needs crm:write + billing:write.
3727
3727
  if (!id)
3728
3728
  throw new CliError(
3729
- 'Usage: admin crm payment-link <account-id> [--amount-cents N] [--description "…"] [--plan starter] [--ratio 1|2|4|8] [--why "…"]'
3729
+ 'Usage: admin crm payment-link <account-id> [--amount-cents N] [--description "…"] [--plan starter] [--ratio 1|2|4|8] [--why "…"] [--first-invoice-credit-cents N (Lago only)]'
3730
3730
  );
3731
3731
  const r = await staffPost(
3732
3732
  ctx,
@@ -3737,6 +3737,7 @@ async function cmdAdminCrm(ctx) {
3737
3737
  planCode: flagStr(flags.plan),
3738
3738
  ratio: flagNum(flags.ratio),
3739
3739
  exceptionReason: flagStr(flags.why),
3740
+ firstInvoiceCreditCents: flagNum(flags["first-invoice-credit-cents"]),
3740
3741
  })
3741
3742
  );
3742
3743
  return out(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.150.1",
3
+ "version": "0.151.0",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",