@letterstory/cli 0.102.2 → 0.102.3
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 +1 -1
- package/lib/commands/admin.mjs +3 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
} from "./commands.mjs";
|
|
61
61
|
|
|
62
62
|
// Keep in sync with cli/package.json.
|
|
63
|
-
export const VERSION = "0.102.
|
|
63
|
+
export const VERSION = "0.102.3";
|
|
64
64
|
|
|
65
65
|
// Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
|
|
66
66
|
// can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
|
package/lib/commands/admin.mjs
CHANGED
|
@@ -2883,6 +2883,7 @@ export function captureSummary(r) {
|
|
|
2883
2883
|
* outreach catch-up [--dry-run] handle #launch-outreach posts the bot missed
|
|
2884
2884
|
* outreach set <id> [--reached|--not-reached] [--response "…" --tone positive]
|
|
2885
2885
|
* [--owner-id <uuid>] [--channel …] [--ask …] [--draft "…"] [--archive|--restore]
|
|
2886
|
+
* [--timezone Europe/London|PT|""] "" goes back to the guess from their location
|
|
2886
2887
|
*/
|
|
2887
2888
|
async function cmdAdminCrmOutreach(ctx, args) {
|
|
2888
2889
|
const { flags, io } = ctx;
|
|
@@ -2990,6 +2991,8 @@ async function cmdAdminCrmOutreach(ctx, args) {
|
|
|
2990
2991
|
relationship: flagStr(flags.relationship),
|
|
2991
2992
|
draftMessage: flagStr(flags.draft),
|
|
2992
2993
|
notes: flagStr(flags.notes),
|
|
2994
|
+
// "Europe/London", or "PT" / "eastern"; "" clears it back to the guess from their location.
|
|
2995
|
+
timezone: flagStr(flags.timezone),
|
|
2993
2996
|
archived: flagBool(flags.archive) ? true : flagBool(flags.restore) ? false : undefined,
|
|
2994
2997
|
});
|
|
2995
2998
|
const r = await staffRequest(ctx, "PATCH", `${CRM}/outreach/${id}`, body);
|