@mailmodo/cli 0.0.54 → 0.0.55-beta.pr57.92

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 (136) hide show
  1. package/dist/commands/billing/index.d.ts +1 -11
  2. package/dist/commands/billing/index.js +28 -181
  3. package/dist/commands/contacts/index.d.ts +1 -19
  4. package/dist/commands/contacts/index.js +21 -114
  5. package/dist/commands/deploy/index.d.ts +1 -32
  6. package/dist/commands/deploy/index.js +52 -303
  7. package/dist/commands/deployments/index.d.ts +1 -4
  8. package/dist/commands/deployments/index.js +11 -52
  9. package/dist/commands/domain/index.d.ts +1 -14
  10. package/dist/commands/domain/index.js +19 -100
  11. package/dist/commands/edit/index.d.ts +2 -20
  12. package/dist/commands/edit/index.js +35 -244
  13. package/dist/commands/emails/index.d.ts +1 -2
  14. package/dist/commands/emails/index.js +26 -91
  15. package/dist/commands/init/index.d.ts +1 -2
  16. package/dist/commands/init/index.js +43 -179
  17. package/dist/commands/login/index.d.ts +2 -0
  18. package/dist/commands/login/index.js +35 -64
  19. package/dist/commands/logs/index.d.ts +1 -8
  20. package/dist/commands/logs/index.js +12 -55
  21. package/dist/commands/preview/index.d.ts +1 -19
  22. package/dist/commands/preview/index.js +40 -210
  23. package/dist/commands/sdk/index.d.ts +1 -3
  24. package/dist/commands/sdk/index.js +14 -46
  25. package/dist/commands/settings/index.d.ts +1 -22
  26. package/dist/commands/settings/index.js +35 -241
  27. package/dist/commands/status/index.d.ts +1 -0
  28. package/dist/commands/status/index.js +13 -39
  29. package/dist/lib/api-client.d.ts +5 -0
  30. package/dist/lib/api-client.js +45 -0
  31. package/dist/lib/base-command.d.ts +25 -1
  32. package/dist/lib/base-command.js +91 -5
  33. package/dist/lib/commands/billing/checkout-status.d.ts +3 -0
  34. package/dist/lib/commands/billing/checkout-status.js +63 -0
  35. package/dist/lib/commands/billing/format.d.ts +7 -0
  36. package/dist/lib/commands/billing/format.js +63 -0
  37. package/dist/lib/commands/billing/purchase-cap.d.ts +7 -0
  38. package/dist/lib/commands/billing/purchase-cap.js +57 -0
  39. package/dist/lib/commands/billing/types.d.ts +72 -0
  40. package/dist/lib/commands/billing/types.js +1 -0
  41. package/dist/lib/commands/contacts/actions.d.ts +3 -0
  42. package/dist/lib/commands/contacts/actions.js +49 -0
  43. package/dist/lib/commands/contacts/export-delete.d.ts +9 -0
  44. package/dist/lib/commands/contacts/export-delete.js +51 -0
  45. package/dist/lib/commands/contacts/types.d.ts +35 -0
  46. package/dist/lib/commands/contacts/types.js +1 -0
  47. package/dist/lib/commands/deploy/domain-setup.d.ts +8 -0
  48. package/dist/lib/commands/deploy/domain-setup.js +82 -0
  49. package/dist/lib/commands/deploy/output.d.ts +5 -0
  50. package/dist/lib/commands/deploy/output.js +61 -0
  51. package/dist/lib/commands/deploy/payload.d.ts +41 -0
  52. package/dist/lib/commands/deploy/payload.js +95 -0
  53. package/dist/lib/commands/deploy/sequence-status.d.ts +3 -0
  54. package/dist/lib/commands/deploy/sequence-status.js +56 -0
  55. package/dist/lib/commands/deploy/types.d.ts +88 -0
  56. package/dist/lib/commands/deploy/types.js +1 -0
  57. package/dist/lib/commands/deployments/output.d.ts +2 -0
  58. package/dist/lib/commands/deployments/output.js +68 -0
  59. package/dist/lib/commands/deployments/types.d.ts +24 -0
  60. package/dist/lib/commands/deployments/types.js +1 -0
  61. package/dist/lib/commands/domain/setup.d.ts +8 -0
  62. package/dist/lib/commands/domain/setup.js +53 -0
  63. package/dist/lib/commands/domain/types.d.ts +56 -0
  64. package/dist/lib/commands/domain/types.js +1 -0
  65. package/dist/lib/commands/domain/verify.d.ts +5 -0
  66. package/dist/lib/commands/domain/verify.js +50 -0
  67. package/dist/lib/commands/edit/diff.d.ts +7 -0
  68. package/dist/lib/commands/edit/diff.js +65 -0
  69. package/dist/lib/commands/edit/display.d.ts +5 -0
  70. package/dist/lib/commands/edit/display.js +53 -0
  71. package/dist/lib/commands/edit/flow.d.ts +8 -0
  72. package/dist/lib/commands/edit/flow.js +70 -0
  73. package/dist/lib/commands/edit/persist.d.ts +5 -0
  74. package/dist/lib/commands/edit/persist.js +65 -0
  75. package/dist/lib/commands/edit/types.d.ts +37 -0
  76. package/dist/lib/commands/edit/types.js +1 -0
  77. package/dist/lib/commands/emails/editor.d.ts +2 -0
  78. package/dist/lib/commands/emails/editor.js +43 -0
  79. package/dist/lib/commands/emails/output.d.ts +4 -0
  80. package/dist/lib/commands/emails/output.js +36 -0
  81. package/dist/lib/commands/emails/types.d.ts +3 -0
  82. package/dist/lib/commands/emails/types.js +1 -0
  83. package/dist/lib/commands/init/analysis.d.ts +3 -0
  84. package/dist/lib/commands/init/analysis.js +69 -0
  85. package/dist/lib/commands/init/output.d.ts +12 -0
  86. package/dist/lib/commands/init/output.js +39 -0
  87. package/dist/lib/commands/init/payload.d.ts +8 -0
  88. package/dist/lib/commands/init/payload.js +78 -0
  89. package/dist/lib/commands/init/types.d.ts +57 -0
  90. package/dist/lib/commands/init/types.js +1 -0
  91. package/dist/lib/commands/login/output.d.ts +8 -0
  92. package/dist/lib/commands/login/output.js +53 -0
  93. package/dist/lib/commands/login/types.d.ts +19 -0
  94. package/dist/lib/commands/login/types.js +1 -0
  95. package/dist/lib/commands/logs/output.d.ts +2 -0
  96. package/dist/lib/commands/logs/output.js +52 -0
  97. package/dist/lib/commands/logs/types.d.ts +23 -0
  98. package/dist/lib/commands/logs/types.js +1 -0
  99. package/dist/lib/commands/preview/actions.d.ts +11 -0
  100. package/dist/lib/commands/preview/actions.js +43 -0
  101. package/dist/lib/commands/preview/render.d.ts +3 -0
  102. package/dist/lib/commands/preview/render.js +30 -0
  103. package/dist/lib/commands/preview/server.d.ts +8 -0
  104. package/dist/lib/commands/preview/server.js +63 -0
  105. package/dist/lib/commands/preview/types.d.ts +19 -0
  106. package/dist/lib/commands/preview/types.js +1 -0
  107. package/dist/lib/commands/preview/wrapper-html.d.ts +2 -0
  108. package/dist/lib/commands/preview/wrapper-html.js +35 -0
  109. package/dist/lib/commands/sdk/output.d.ts +2 -0
  110. package/dist/lib/commands/sdk/output.js +42 -0
  111. package/dist/lib/commands/sdk/types.d.ts +21 -0
  112. package/dist/lib/commands/sdk/types.js +1 -0
  113. package/dist/lib/commands/settings/actions.d.ts +10 -0
  114. package/dist/lib/commands/settings/actions.js +56 -0
  115. package/dist/lib/commands/settings/display.d.ts +15 -0
  116. package/dist/lib/commands/settings/display.js +69 -0
  117. package/dist/lib/commands/settings/logo-domain.d.ts +3 -0
  118. package/dist/lib/commands/settings/logo-domain.js +47 -0
  119. package/dist/lib/commands/settings/prompt.d.ts +2 -0
  120. package/dist/lib/commands/settings/prompt.js +82 -0
  121. package/dist/lib/commands/settings/types.d.ts +65 -0
  122. package/dist/lib/commands/settings/types.js +1 -0
  123. package/dist/lib/commands/status/output.d.ts +2 -0
  124. package/dist/lib/commands/status/output.js +49 -0
  125. package/dist/lib/commands/status/types.d.ts +28 -0
  126. package/dist/lib/commands/status/types.js +1 -0
  127. package/dist/lib/constants.d.ts +1 -0
  128. package/dist/lib/constants.js +1 -0
  129. package/dist/lib/messages.d.ts +22 -0
  130. package/dist/lib/messages.js +22 -0
  131. package/dist/lib/templates/missing-templates.d.ts +5 -0
  132. package/dist/lib/templates/missing-templates.js +61 -0
  133. package/dist/lib/templates/types.d.ts +13 -0
  134. package/dist/lib/templates/types.js +1 -0
  135. package/oclif.manifest.json +66 -66
  136. package/package.json +1 -1
@@ -198,14 +198,13 @@
198
198
  "index.js"
199
199
  ]
200
200
  },
201
- "domain": {
201
+ "deployments": {
202
202
  "aliases": [],
203
203
  "args": {},
204
- "description": "Set up and verify your sending domain",
204
+ "description": "List every deployed sequence on this account, with the IDs needed for deploy --pause / --resume",
205
205
  "examples": [
206
- "<%= config.bin %> domain",
207
- "<%= config.bin %> domain --verify",
208
- "<%= config.bin %> domain --status"
206
+ "<%= config.bin %> deployments",
207
+ "<%= config.bin %> deployments --json"
209
208
  ],
210
209
  "flags": {
211
210
  "json": {
@@ -220,23 +219,11 @@
220
219
  "name": "yes",
221
220
  "allowNo": false,
222
221
  "type": "boolean"
223
- },
224
- "status": {
225
- "description": "Show domain health status",
226
- "name": "status",
227
- "allowNo": false,
228
- "type": "boolean"
229
- },
230
- "verify": {
231
- "description": "Verify DNS records",
232
- "name": "verify",
233
- "allowNo": false,
234
- "type": "boolean"
235
222
  }
236
223
  },
237
224
  "hasDynamicHelp": false,
238
225
  "hiddenAliases": [],
239
- "id": "domain",
226
+ "id": "deployments",
240
227
  "pluginAlias": "@mailmodo/cli",
241
228
  "pluginName": "@mailmodo/cli",
242
229
  "pluginType": "core",
@@ -246,23 +233,18 @@
246
233
  "relativePath": [
247
234
  "dist",
248
235
  "commands",
249
- "domain",
236
+ "deployments",
250
237
  "index.js"
251
238
  ]
252
239
  },
253
- "edit": {
240
+ "domain": {
254
241
  "aliases": [],
255
- "args": {
256
- "id": {
257
- "description": "Email template ID to edit",
258
- "name": "id",
259
- "required": true
260
- }
261
- },
262
- "description": "Edit an email using AI-assisted natural language changes",
242
+ "args": {},
243
+ "description": "Set up and verify your sending domain",
263
244
  "examples": [
264
- "<%= config.bin %> edit welcome",
265
- "<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
245
+ "<%= config.bin %> domain",
246
+ "<%= config.bin %> domain --verify",
247
+ "<%= config.bin %> domain --status"
266
248
  ],
267
249
  "flags": {
268
250
  "json": {
@@ -278,17 +260,22 @@
278
260
  "allowNo": false,
279
261
  "type": "boolean"
280
262
  },
281
- "change": {
282
- "description": "Natural language description of the change",
283
- "name": "change",
284
- "hasDynamicHelp": false,
285
- "multiple": false,
286
- "type": "option"
263
+ "status": {
264
+ "description": "Show domain health status",
265
+ "name": "status",
266
+ "allowNo": false,
267
+ "type": "boolean"
268
+ },
269
+ "verify": {
270
+ "description": "Verify DNS records",
271
+ "name": "verify",
272
+ "allowNo": false,
273
+ "type": "boolean"
287
274
  }
288
275
  },
289
276
  "hasDynamicHelp": false,
290
277
  "hiddenAliases": [],
291
- "id": "edit",
278
+ "id": "domain",
292
279
  "pluginAlias": "@mailmodo/cli",
293
280
  "pluginName": "@mailmodo/cli",
294
281
  "pluginType": "core",
@@ -298,7 +285,7 @@
298
285
  "relativePath": [
299
286
  "dist",
300
287
  "commands",
301
- "edit",
288
+ "domain",
302
289
  "index.js"
303
290
  ]
304
291
  },
@@ -341,13 +328,19 @@
341
328
  "index.js"
342
329
  ]
343
330
  },
344
- "init": {
331
+ "edit": {
345
332
  "aliases": [],
346
- "args": {},
347
- "description": "Analyze your product and generate email sequences",
333
+ "args": {
334
+ "id": {
335
+ "description": "Email template ID to edit",
336
+ "name": "id",
337
+ "required": true
338
+ }
339
+ },
340
+ "description": "Edit an email using AI-assisted natural language changes",
348
341
  "examples": [
349
- "<%= config.bin %> init",
350
- "<%= config.bin %> init --url https://myapp.com --yes"
342
+ "<%= config.bin %> edit welcome",
343
+ "<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
351
344
  ],
352
345
  "flags": {
353
346
  "json": {
@@ -363,9 +356,9 @@
363
356
  "allowNo": false,
364
357
  "type": "boolean"
365
358
  },
366
- "url": {
367
- "description": "Product URL to analyze",
368
- "name": "url",
359
+ "change": {
360
+ "description": "Natural language description of the change",
361
+ "name": "change",
369
362
  "hasDynamicHelp": false,
370
363
  "multiple": false,
371
364
  "type": "option"
@@ -373,7 +366,7 @@
373
366
  },
374
367
  "hasDynamicHelp": false,
375
368
  "hiddenAliases": [],
376
- "id": "init",
369
+ "id": "edit",
377
370
  "pluginAlias": "@mailmodo/cli",
378
371
  "pluginName": "@mailmodo/cli",
379
372
  "pluginType": "core",
@@ -383,17 +376,17 @@
383
376
  "relativePath": [
384
377
  "dist",
385
378
  "commands",
386
- "init",
379
+ "edit",
387
380
  "index.js"
388
381
  ]
389
382
  },
390
- "login": {
383
+ "init": {
391
384
  "aliases": [],
392
385
  "args": {},
393
- "description": "Authenticate with Mailmodo using your API key",
386
+ "description": "Analyze your product and generate email sequences",
394
387
  "examples": [
395
- "<%= config.bin %> login",
396
- "MAILMODO_API_KEY=YOUR_API_KEY <%= config.bin %> login"
388
+ "<%= config.bin %> init",
389
+ "<%= config.bin %> init --url https://myapp.com --yes"
397
390
  ],
398
391
  "flags": {
399
392
  "json": {
@@ -408,11 +401,18 @@
408
401
  "name": "yes",
409
402
  "allowNo": false,
410
403
  "type": "boolean"
404
+ },
405
+ "url": {
406
+ "description": "Product URL to analyze",
407
+ "name": "url",
408
+ "hasDynamicHelp": false,
409
+ "multiple": false,
410
+ "type": "option"
411
411
  }
412
412
  },
413
413
  "hasDynamicHelp": false,
414
414
  "hiddenAliases": [],
415
- "id": "login",
415
+ "id": "init",
416
416
  "pluginAlias": "@mailmodo/cli",
417
417
  "pluginName": "@mailmodo/cli",
418
418
  "pluginType": "core",
@@ -422,16 +422,17 @@
422
422
  "relativePath": [
423
423
  "dist",
424
424
  "commands",
425
- "login",
425
+ "init",
426
426
  "index.js"
427
427
  ]
428
428
  },
429
- "logout": {
429
+ "login": {
430
430
  "aliases": [],
431
431
  "args": {},
432
- "description": "Sign out by removing saved credentials from this machine",
432
+ "description": "Authenticate with Mailmodo using your API key",
433
433
  "examples": [
434
- "<%= config.bin %> logout"
434
+ "<%= config.bin %> login",
435
+ "MAILMODO_API_KEY=YOUR_API_KEY <%= config.bin %> login"
435
436
  ],
436
437
  "flags": {
437
438
  "json": {
@@ -450,7 +451,7 @@
450
451
  },
451
452
  "hasDynamicHelp": false,
452
453
  "hiddenAliases": [],
453
- "id": "logout",
454
+ "id": "login",
454
455
  "pluginAlias": "@mailmodo/cli",
455
456
  "pluginName": "@mailmodo/cli",
456
457
  "pluginType": "core",
@@ -460,17 +461,16 @@
460
461
  "relativePath": [
461
462
  "dist",
462
463
  "commands",
463
- "logout",
464
+ "login",
464
465
  "index.js"
465
466
  ]
466
467
  },
467
- "deployments": {
468
+ "logout": {
468
469
  "aliases": [],
469
470
  "args": {},
470
- "description": "List every deployed sequence on this account, with the IDs needed for deploy --pause / --resume",
471
+ "description": "Sign out by removing saved credentials from this machine",
471
472
  "examples": [
472
- "<%= config.bin %> deployments",
473
- "<%= config.bin %> deployments --json"
473
+ "<%= config.bin %> logout"
474
474
  ],
475
475
  "flags": {
476
476
  "json": {
@@ -489,7 +489,7 @@
489
489
  },
490
490
  "hasDynamicHelp": false,
491
491
  "hiddenAliases": [],
492
- "id": "deployments",
492
+ "id": "logout",
493
493
  "pluginAlias": "@mailmodo/cli",
494
494
  "pluginName": "@mailmodo/cli",
495
495
  "pluginType": "core",
@@ -499,7 +499,7 @@
499
499
  "relativePath": [
500
500
  "dist",
501
501
  "commands",
502
- "deployments",
502
+ "logout",
503
503
  "index.js"
504
504
  ]
505
505
  },
@@ -765,5 +765,5 @@
765
765
  ]
766
766
  }
767
767
  },
768
- "version": "0.0.54"
768
+ "version": "0.0.55-beta.pr57.92"
769
769
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mailmodo/cli",
3
3
  "description": "Email lifecycle automation for the AI-native builder generation.",
4
- "version": "0.0.54",
4
+ "version": "0.0.55-beta.pr57.92",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"