@hubspot/cli 7.5.10-experimental.0 → 7.6.0-beta.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 (354) hide show
  1. package/bin/cli.js +102 -95
  2. package/commands/account/auth.d.ts +5 -7
  3. package/commands/account/auth.js +74 -87
  4. package/commands/account/clean.d.ts +3 -7
  5. package/commands/account/clean.js +16 -9
  6. package/commands/account/createOverride.d.ts +3 -7
  7. package/commands/account/createOverride.js +23 -6
  8. package/commands/account/info.d.ts +3 -7
  9. package/commands/account/info.js +13 -5
  10. package/commands/account/list.d.ts +3 -7
  11. package/commands/account/list.js +15 -8
  12. package/commands/account/remove.d.ts +3 -7
  13. package/commands/account/remove.js +21 -9
  14. package/commands/account/removeOverride.d.ts +3 -7
  15. package/commands/account/removeOverride.js +23 -6
  16. package/commands/account/rename.d.ts +3 -7
  17. package/commands/account/rename.js +16 -9
  18. package/commands/account/use.d.ts +5 -9
  19. package/commands/account/use.js +14 -6
  20. package/commands/account.d.ts +3 -4
  21. package/commands/account.js +33 -58
  22. package/commands/app/migrate.d.ts +1 -2
  23. package/commands/app/migrate.js +7 -8
  24. package/commands/app/secret/add.d.ts +7 -0
  25. package/commands/app/secret/add.js +64 -0
  26. package/commands/app/secret/delete.d.ts +8 -0
  27. package/commands/app/secret/delete.js +87 -0
  28. package/commands/app/secret/list.d.ts +6 -0
  29. package/commands/app/secret/list.js +64 -0
  30. package/commands/app/secret/update.d.ts +7 -0
  31. package/commands/app/secret/update.js +77 -0
  32. package/commands/app/secret.d.ts +3 -0
  33. package/commands/app/secret.js +30 -0
  34. package/commands/app.d.ts +2 -5
  35. package/commands/app.js +10 -8
  36. package/commands/auth.d.ts +5 -7
  37. package/commands/auth.js +30 -29
  38. package/commands/cms/convertFields.d.ts +7 -1
  39. package/commands/cms/convertFields.js +57 -41
  40. package/commands/cms/getReactModule.d.ts +7 -1
  41. package/commands/cms/getReactModule.js +52 -34
  42. package/commands/cms/lighthouseScore.d.ts +8 -1
  43. package/commands/cms/lighthouseScore.js +129 -100
  44. package/commands/cms.d.ts +3 -1
  45. package/commands/cms.js +22 -15
  46. package/commands/completion.d.ts +3 -1
  47. package/commands/completion.js +23 -12
  48. package/commands/config/migrate.d.ts +3 -7
  49. package/commands/config/migrate.js +37 -46
  50. package/commands/config/set.d.ts +5 -6
  51. package/commands/config/set.js +38 -14
  52. package/commands/config.d.ts +3 -4
  53. package/commands/config.js +18 -44
  54. package/commands/create/api-sample.d.ts +3 -1
  55. package/commands/create/api-sample.js +34 -38
  56. package/commands/create/app.d.ts +3 -1
  57. package/commands/create/app.js +9 -7
  58. package/commands/create/function.d.ts +3 -1
  59. package/commands/create/function.js +11 -10
  60. package/commands/create/index.d.ts +5 -1
  61. package/commands/create/index.js +23 -11
  62. package/commands/create/module.d.ts +3 -1
  63. package/commands/create/module.js +14 -13
  64. package/commands/create/react-app.d.ts +3 -1
  65. package/commands/create/react-app.js +10 -7
  66. package/commands/create/template.d.ts +3 -1
  67. package/commands/create/template.js +14 -14
  68. package/commands/create/vue-app.d.ts +3 -1
  69. package/commands/create/vue-app.js +10 -7
  70. package/commands/create/webpack-serverless.d.ts +3 -1
  71. package/commands/create/webpack-serverless.js +10 -7
  72. package/commands/create/website-theme.d.ts +3 -1
  73. package/commands/create/website-theme.js +10 -9
  74. package/commands/create.d.ts +4 -24
  75. package/commands/create.js +62 -74
  76. package/commands/customObject/create.d.ts +4 -9
  77. package/commands/customObject/create.js +17 -10
  78. package/commands/customObject/schema/create.d.ts +4 -9
  79. package/commands/customObject/schema/create.js +18 -11
  80. package/commands/customObject/schema/delete.d.ts +4 -9
  81. package/commands/customObject/schema/delete.js +17 -10
  82. package/commands/customObject/schema/fetch-all.d.ts +4 -9
  83. package/commands/customObject/schema/fetch-all.js +17 -10
  84. package/commands/customObject/schema/fetch.d.ts +4 -9
  85. package/commands/customObject/schema/fetch.js +17 -10
  86. package/commands/customObject/schema/list.d.ts +4 -8
  87. package/commands/customObject/schema/list.js +17 -10
  88. package/commands/customObject/schema/update.d.ts +4 -9
  89. package/commands/customObject/schema/update.js +18 -11
  90. package/commands/customObject/schema.d.ts +3 -5
  91. package/commands/customObject/schema.js +27 -54
  92. package/commands/customObject.d.ts +3 -4
  93. package/commands/customObject.js +18 -45
  94. package/commands/doctor.d.ts +6 -8
  95. package/commands/doctor.js +30 -21
  96. package/commands/feedback.d.ts +4 -1
  97. package/commands/feedback.js +38 -47
  98. package/commands/fetch.d.ts +12 -1
  99. package/commands/fetch.js +49 -33
  100. package/commands/filemanager/fetch.d.ts +4 -9
  101. package/commands/filemanager/fetch.js +18 -11
  102. package/commands/filemanager/upload.d.ts +4 -9
  103. package/commands/filemanager/upload.js +17 -11
  104. package/commands/filemanager.d.ts +3 -4
  105. package/commands/filemanager.js +18 -41
  106. package/commands/function/deploy.d.ts +6 -1
  107. package/commands/function/deploy.js +70 -50
  108. package/commands/function/list.d.ts +6 -1
  109. package/commands/function/list.js +44 -32
  110. package/commands/function/server.d.ts +10 -1
  111. package/commands/function/server.js +49 -38
  112. package/commands/function.d.ts +5 -1
  113. package/commands/function.js +22 -10
  114. package/commands/getStarted.d.ts +9 -0
  115. package/commands/getStarted.js +227 -0
  116. package/commands/hubdb/clear.d.ts +4 -9
  117. package/commands/hubdb/clear.js +17 -10
  118. package/commands/hubdb/create.d.ts +4 -9
  119. package/commands/hubdb/create.js +17 -10
  120. package/commands/hubdb/delete.d.ts +4 -9
  121. package/commands/hubdb/delete.js +17 -10
  122. package/commands/hubdb/fetch.d.ts +4 -9
  123. package/commands/hubdb/fetch.js +17 -10
  124. package/commands/hubdb/list.d.ts +4 -0
  125. package/commands/hubdb/list.js +83 -0
  126. package/commands/hubdb.d.ts +3 -2
  127. package/commands/hubdb.js +23 -45
  128. package/commands/init.d.ts +3 -7
  129. package/commands/init.js +17 -8
  130. package/commands/lint.d.ts +6 -4
  131. package/commands/lint.js +42 -43
  132. package/commands/list.d.ts +3 -7
  133. package/commands/list.js +17 -11
  134. package/commands/logs.d.ts +10 -1
  135. package/commands/logs.js +53 -44
  136. package/commands/mcp/setup.d.ts +7 -0
  137. package/commands/mcp/setup.js +52 -0
  138. package/commands/mcp/start.d.ts +3 -0
  139. package/commands/mcp/start.js +77 -0
  140. package/commands/mcp.d.ts +3 -0
  141. package/commands/mcp.js +26 -0
  142. package/commands/module/marketplace-validate.d.ts +6 -1
  143. package/commands/module/marketplace-validate.js +39 -29
  144. package/commands/module.d.ts +3 -1
  145. package/commands/module.js +23 -10
  146. package/commands/mv.d.ts +3 -7
  147. package/commands/mv.js +17 -11
  148. package/commands/open.d.ts +3 -7
  149. package/commands/open.js +17 -11
  150. package/commands/project/add.d.ts +5 -2
  151. package/commands/project/add.js +43 -80
  152. package/commands/project/cloneApp.d.ts +1 -1
  153. package/commands/project/cloneApp.js +2 -2
  154. package/commands/project/create.d.ts +2 -8
  155. package/commands/project/create.js +84 -55
  156. package/commands/project/deploy.d.ts +2 -0
  157. package/commands/project/deploy.js +67 -13
  158. package/commands/project/dev/deprecatedFlow.d.ts +8 -2
  159. package/commands/project/dev/deprecatedFlow.js +9 -1
  160. package/commands/project/dev/index.d.ts +1 -4
  161. package/commands/project/dev/index.js +74 -72
  162. package/commands/project/dev/unifiedFlow.d.ts +10 -2
  163. package/commands/project/dev/unifiedFlow.js +74 -40
  164. package/commands/project/listBuilds.js +2 -5
  165. package/commands/project/migrate.d.ts +1 -0
  166. package/commands/project/migrate.js +7 -2
  167. package/commands/project/profile/add.js +102 -64
  168. package/commands/project/profile/delete.d.ts +6 -0
  169. package/commands/project/profile/{remove.js → delete.js} +38 -28
  170. package/commands/project/profile.js +2 -2
  171. package/commands/project/upload.js +5 -53
  172. package/commands/project/validate.d.ts +6 -0
  173. package/commands/project/validate.js +82 -0
  174. package/commands/project.js +2 -2
  175. package/commands/remove.d.ts +3 -7
  176. package/commands/remove.js +22 -22
  177. package/commands/sandbox/create.d.ts +4 -9
  178. package/commands/sandbox/create.js +18 -11
  179. package/commands/sandbox/delete.d.ts +4 -9
  180. package/commands/sandbox/delete.js +18 -11
  181. package/commands/sandbox.d.ts +3 -4
  182. package/commands/sandbox.js +18 -43
  183. package/commands/secret/addSecret.d.ts +4 -9
  184. package/commands/secret/addSecret.js +17 -10
  185. package/commands/secret/deleteSecret.d.ts +4 -9
  186. package/commands/secret/deleteSecret.js +17 -10
  187. package/commands/secret/listSecret.d.ts +4 -9
  188. package/commands/secret/listSecret.js +17 -10
  189. package/commands/secret/updateSecret.d.ts +4 -9
  190. package/commands/secret/updateSecret.js +17 -10
  191. package/commands/secret.d.ts +3 -4
  192. package/commands/secret.js +23 -48
  193. package/commands/testAccount/create.d.ts +6 -0
  194. package/commands/testAccount/create.js +100 -0
  195. package/commands/testAccount/createConfig.d.ts +10 -0
  196. package/commands/testAccount/createConfig.js +98 -0
  197. package/commands/testAccount/delete.d.ts +6 -0
  198. package/commands/testAccount/delete.js +48 -0
  199. package/commands/testAccount.d.ts +3 -0
  200. package/commands/testAccount.js +28 -0
  201. package/commands/theme/generate-selectors.d.ts +3 -7
  202. package/commands/theme/generate-selectors.js +20 -15
  203. package/commands/theme/marketplace-validate.d.ts +4 -9
  204. package/commands/theme/marketplace-validate.js +22 -17
  205. package/commands/theme/preview.d.ts +4 -9
  206. package/commands/theme/preview.js +32 -26
  207. package/commands/theme.d.ts +3 -4
  208. package/commands/theme.js +22 -47
  209. package/commands/upload.d.ts +12 -1
  210. package/commands/upload.js +116 -134
  211. package/commands/watch.d.ts +14 -1
  212. package/commands/watch.js +74 -75
  213. package/lang/en.d.ts +1092 -683
  214. package/lang/en.js +898 -494
  215. package/lang/en.lyaml +28 -225
  216. package/lib/accountTypes.js +1 -2
  217. package/lib/app/migrate.d.ts +23 -0
  218. package/lib/app/migrate.js +34 -12
  219. package/lib/app/migrate_legacy.js +7 -7
  220. package/lib/app/urls.d.ts +16 -0
  221. package/lib/app/urls.js +16 -0
  222. package/lib/commonOpts.d.ts +1 -3
  223. package/lib/commonOpts.js +1 -1
  224. package/lib/configMigrate.d.ts +2 -2
  225. package/lib/configMigrate.js +34 -55
  226. package/lib/configOptions.d.ts +4 -0
  227. package/lib/configOptions.js +41 -46
  228. package/lib/constants.d.ts +29 -0
  229. package/lib/constants.js +30 -1
  230. package/lib/dependencyManagement.d.ts +0 -5
  231. package/lib/dependencyManagement.js +13 -39
  232. package/lib/doctor/Doctor.js +3 -2
  233. package/lib/errorHandlers/index.js +7 -0
  234. package/lib/errorHandlers/suppressError.js +12 -19
  235. package/lib/filesystem.d.ts +1 -1
  236. package/lib/generateSelectors.js +3 -5
  237. package/lib/interpolation.d.ts +2 -3
  238. package/lib/lang.d.ts +2 -3
  239. package/lib/marketplaceValidate.d.ts +12 -2
  240. package/lib/marketplaceValidate.js +22 -29
  241. package/lib/mcp/setup.d.ts +21 -0
  242. package/lib/mcp/setup.js +218 -0
  243. package/lib/middleware/autoUpdateMiddleware.d.ts +1 -0
  244. package/lib/middleware/autoUpdateMiddleware.js +89 -0
  245. package/lib/middleware/configMiddleware.js +23 -0
  246. package/lib/middleware/fireAlarmMiddleware.d.ts +2 -2
  247. package/lib/middleware/fireAlarmMiddleware.js +12 -24
  248. package/lib/npm.d.ts +9 -0
  249. package/lib/npm.js +36 -0
  250. package/lib/projectProfiles.d.ts +7 -0
  251. package/lib/projectProfiles.js +83 -0
  252. package/lib/projects/add/legacyAddComponent.d.ts +5 -0
  253. package/lib/projects/add/legacyAddComponent.js +48 -0
  254. package/lib/projects/add/v3AddComponent.d.ts +8 -0
  255. package/lib/projects/add/v3AddComponent.js +85 -0
  256. package/lib/projects/buildAndDeploy.js +18 -3
  257. package/lib/projects/components.d.ts +2 -0
  258. package/lib/projects/components.js +82 -0
  259. package/lib/projects/create/index.d.ts +23 -0
  260. package/lib/projects/create/index.js +33 -0
  261. package/lib/projects/create/legacy.d.ts +6 -0
  262. package/lib/projects/{create.js → create/legacy.js} +20 -11
  263. package/lib/projects/create/v3.d.ts +27 -0
  264. package/lib/projects/create/v3.js +158 -0
  265. package/lib/projects/localDev/AppDevModeInterface.d.ts +30 -0
  266. package/lib/projects/localDev/AppDevModeInterface.js +215 -0
  267. package/lib/projects/localDev/DevServerManager.js +4 -3
  268. package/lib/projects/localDev/DevServerManagerV2.d.ts +11 -22
  269. package/lib/projects/localDev/DevServerManagerV2.js +21 -17
  270. package/lib/projects/localDev/LocalDevLogger.d.ts +30 -0
  271. package/lib/projects/localDev/LocalDevLogger.js +159 -0
  272. package/lib/projects/localDev/LocalDevManager.js +12 -5
  273. package/lib/projects/localDev/LocalDevProcess.d.ts +34 -0
  274. package/lib/projects/localDev/LocalDevProcess.js +201 -0
  275. package/lib/projects/localDev/LocalDevState.d.ts +50 -0
  276. package/lib/projects/localDev/LocalDevState.js +119 -0
  277. package/lib/projects/localDev/LocalDevWatcher.d.ts +10 -0
  278. package/lib/projects/localDev/LocalDevWatcher.js +53 -0
  279. package/lib/projects/localDev/LocalDevWebsocketServer.d.ts +20 -0
  280. package/lib/projects/localDev/LocalDevWebsocketServer.js +131 -0
  281. package/lib/projects/localDev/helpers.d.ts +2 -1
  282. package/lib/projects/localDev/helpers.js +30 -1
  283. package/lib/projects/upload.d.ts +3 -0
  284. package/lib/projects/upload.js +59 -19
  285. package/lib/projects/urls.d.ts +3 -0
  286. package/lib/projects/urls.js +17 -1
  287. package/lib/prompts/createApiSamplePrompt.d.ts +2 -10
  288. package/lib/prompts/createDeveloperTestAccountConfigPrompt.d.ts +17 -0
  289. package/lib/prompts/createDeveloperTestAccountConfigPrompt.js +96 -0
  290. package/lib/prompts/createProjectPrompt.d.ts +14 -5
  291. package/lib/prompts/createProjectPrompt.js +38 -13
  292. package/lib/prompts/createTemplatePrompt.d.ts +22 -4
  293. package/lib/prompts/installAppPrompt.d.ts +2 -0
  294. package/lib/prompts/installAppPrompt.js +45 -0
  295. package/lib/prompts/personalAccessKeyPrompt.js +35 -24
  296. package/lib/prompts/projectAddPrompt.d.ts +5 -1
  297. package/lib/prompts/projectAddPrompt.js +35 -7
  298. package/lib/prompts/projectDevTargetAccountPrompt.d.ts +6 -1
  299. package/lib/prompts/projectDevTargetAccountPrompt.js +6 -6
  300. package/lib/prompts/promptUtils.d.ts +4 -1
  301. package/lib/prompts/promptUtils.js +5 -1
  302. package/lib/prompts/selectAppPrompt.d.ts +2 -0
  303. package/lib/prompts/selectAppPrompt.js +40 -0
  304. package/lib/prompts/{selectPublicAppPrompt.d.ts → selectPublicAppForMigrationPrompt.d.ts} +1 -1
  305. package/lib/prompts/{selectPublicAppPrompt.js → selectPublicAppForMigrationPrompt.js} +8 -8
  306. package/lib/prompts/setAsDefaultAccountPrompt.js +10 -0
  307. package/lib/testUtils.d.ts +3 -3
  308. package/lib/testUtils.js +8 -9
  309. package/lib/ui/boxen.d.ts +5 -0
  310. package/lib/ui/boxen.js +30 -0
  311. package/lib/ui/index.js +4 -1
  312. package/lib/upload.d.ts +1 -1
  313. package/lib/yargsUtils.d.ts +4 -0
  314. package/lib/yargsUtils.js +6 -0
  315. package/mcp-server/server.d.ts +1 -0
  316. package/mcp-server/server.js +18 -0
  317. package/mcp-server/tools/index.d.ts +2 -0
  318. package/mcp-server/tools/index.js +19 -0
  319. package/mcp-server/tools/project/AddFeatureToProject.d.ts +29 -0
  320. package/mcp-server/tools/project/AddFeatureToProject.js +85 -0
  321. package/mcp-server/tools/project/CreateProjectTool.d.ts +35 -0
  322. package/mcp-server/tools/project/CreateProjectTool.js +104 -0
  323. package/mcp-server/tools/project/DeployProject.d.ts +20 -0
  324. package/mcp-server/tools/project/DeployProject.js +50 -0
  325. package/mcp-server/tools/project/GuidedWalkthroughTool.d.ts +17 -0
  326. package/mcp-server/tools/project/GuidedWalkthroughTool.js +58 -0
  327. package/mcp-server/tools/project/UploadProjectTools.d.ts +17 -0
  328. package/mcp-server/tools/project/UploadProjectTools.js +35 -0
  329. package/mcp-server/tools/project/ValidateProjectTool.d.ts +17 -0
  330. package/mcp-server/tools/project/ValidateProjectTool.js +35 -0
  331. package/mcp-server/tools/project/constants.d.ts +3 -0
  332. package/mcp-server/tools/project/constants.js +13 -0
  333. package/mcp-server/types.d.ts +14 -0
  334. package/mcp-server/types.js +17 -0
  335. package/mcp-server/utils/command.d.ts +3 -0
  336. package/mcp-server/utils/command.js +16 -0
  337. package/mcp-server/utils/content.d.ts +3 -0
  338. package/mcp-server/utils/content.js +21 -0
  339. package/mcp-server/utils/project.d.ts +5 -0
  340. package/mcp-server/utils/project.js +17 -0
  341. package/package.json +24 -16
  342. package/types/Cms.d.ts +30 -0
  343. package/types/Cms.js +2 -0
  344. package/types/LocalDev.d.ts +35 -0
  345. package/types/LocalDev.js +2 -0
  346. package/types/Projects.d.ts +19 -2
  347. package/types/Prompts.d.ts +0 -7
  348. package/types/Yargs.d.ts +7 -0
  349. package/commands/project/profile/remove.d.ts +0 -6
  350. package/lib/projects/create.d.ts +0 -5
  351. package/lib/projects/localDev/LocalDevManagerV2.d.ts +0 -64
  352. package/lib/projects/localDev/LocalDevManagerV2.js +0 -345
  353. package/lib/prompts/installPublicAppPrompt.d.ts +0 -1
  354. package/lib/prompts/installPublicAppPrompt.js +0 -41
package/lang/en.d.ts CHANGED
@@ -1,16 +1,59 @@
1
1
  export declare const commands: {
2
2
  readonly generalErrors: {
3
- readonly updateNotify: {
4
- readonly notifyTitle: "Update available";
5
- readonly cmsUpdateNotification: (packageName: string | number, updateCommand: string | number) => string;
6
- readonly cliUpdateNotification: (currentVersion: string | number, latestVersion: string | number, updateCommand: string | number) => string;
7
- };
8
- readonly srcIsProject: (src: string | number, command: string | number) => string;
3
+ readonly srcIsProject: (src: string, command: string) => string;
9
4
  readonly handleDeprecatedEnvVariables: {
10
5
  readonly portalEnvVarDeprecated: "The HUBSPOT_PORTAL_ID environment variable is deprecated. Please use HUBSPOT_ACCOUNT_ID instead.";
11
6
  };
12
7
  readonly loadConfigMiddleware: {
13
- readonly configFileExists: (configPath: string | number) => string;
8
+ readonly configFileExists: (configPath: string) => string;
9
+ };
10
+ };
11
+ readonly getStarted: {
12
+ readonly options: {
13
+ readonly dest: {
14
+ readonly describe: "Directory where the project should be created";
15
+ };
16
+ readonly name: {
17
+ readonly describe: "Project name (cannot be changed)";
18
+ };
19
+ readonly templateSource: {
20
+ readonly describe: "Path to custom GitHub repository from which to create project template";
21
+ };
22
+ };
23
+ readonly startTitle: "Welcome to HubSpot Development!";
24
+ readonly verboseDescribe: "A step-by-step command to get you started with a HubSpot project.";
25
+ readonly startDescription: "You can use the HubSpot CLI to build apps, CMS themes, and more.";
26
+ readonly designManager: "To onboard with CMS, please visit the HubSpot Design Manager in your account and follow the checklist items.";
27
+ readonly openDesignManager: "Click here to go to the HubSpot Design Manager";
28
+ readonly openDesignManagerPrompt: "Open Design Manager in your browser?";
29
+ readonly openedDesignManager: "Redirected to Design Manager!";
30
+ readonly developerOverviewBrowserOpenPrep: "We'll take you to your HubSpot account and walk you through installing and previewing your new app.";
31
+ readonly openDeveloperOverviewPrompt: "Open HubSpot to go to your account?";
32
+ readonly openedDeveloperOverview: "HubSpot opened!";
33
+ readonly prompts: {
34
+ readonly selectOption: "Are you looking to build apps or CMS?";
35
+ readonly options: {
36
+ readonly app: "App";
37
+ readonly cms: "CMS";
38
+ };
39
+ readonly uploadProject: "Would you like to upload your project to HubSpot now?";
40
+ readonly appSelected: `We'll create a new project with a sample app for you.
41
+ Projects are what you can use to create apps, themes, and more at HubSpot.
42
+ Usually you'll use the ${string} command, but we'll go ahead and make one now.`;
43
+ readonly projectCreated: {
44
+ readonly title: string;
45
+ readonly description: `Upload your project to HubSpot - typically, you'll use the command ${string} for this.
46
+ We'll start the process now.`;
47
+ };
48
+ };
49
+ readonly logs: {
50
+ readonly uploadingProject: "Uploading your project to HubSpot...";
51
+ readonly uploadSuccess: "Project uploaded successfully!";
52
+ readonly developerOverviewLink: "Open this link to navigate to your HubSpot developer portal";
53
+ };
54
+ readonly errors: {
55
+ readonly uploadFailed: "Failed to upload project to HubSpot.";
56
+ readonly configFileNotFound: "Could not find project configuration for upload.";
14
57
  };
15
58
  };
16
59
  readonly completion: {
@@ -22,11 +65,32 @@ export declare const commands: {
22
65
  readonly account: {
23
66
  readonly describe: "Commands for managing configured accounts.";
24
67
  readonly subcommands: {
68
+ readonly auth: {
69
+ readonly describe: "Configure authentication for your HubSpot account.";
70
+ readonly verboseDescribe: `Configure authentication for a HubSpot account. This will create or update the global config file at ${string} that stores your account information.
71
+
72
+ The authentication method is ${string}, which is an access token tied to a specific user account.
73
+
74
+ Global configuration replaces hubspot.config.yml, and you will be prompted to migrate your existing config if one exists.`;
75
+ readonly options: {
76
+ readonly account: "HubSpot account to authenticate";
77
+ readonly personalAccessKey: "Enter existing personal access key";
78
+ };
79
+ readonly errors: {
80
+ readonly failedToUpdateConfig: "Failed to update the configuration file. Please try again.";
81
+ readonly migrationNotConfirmed: `Did not migrate your configuration file. Run ${string} to update your existing config, or use ${string} to switch to the new global configuration.`;
82
+ readonly mergeNotConfirmed: `Did not merge configuration files. When you are ready to merge the deprecated config file with the global config file, run ${string}.`;
83
+ };
84
+ readonly success: {
85
+ readonly configFileCreated: (configPath: string) => string;
86
+ readonly configFileUpdated: (accountId: number) => string;
87
+ };
88
+ };
25
89
  readonly list: {
26
90
  readonly accounts: `${string}:`;
27
- readonly defaultAccount: (account: string | number) => string;
91
+ readonly defaultAccount: (account: string) => string;
28
92
  readonly describe: "List names of accounts defined in config.";
29
- readonly configPath: (configPath: string | number) => string;
93
+ readonly configPath: (configPath: string) => string;
30
94
  readonly labels: {
31
95
  readonly accountId: "Account ID";
32
96
  readonly authType: "Auth Type";
@@ -44,13 +108,13 @@ export declare const commands: {
44
108
  };
45
109
  };
46
110
  readonly success: {
47
- readonly renamed: (name: string | number, newName: string | number) => string;
111
+ readonly renamed: (name: string, newName: string) => string;
48
112
  };
49
113
  };
50
114
  readonly use: {
51
115
  readonly describe: "Set the Hubspot account to use as the default account. The default account can be overridden with the \"--account\" option.";
52
116
  readonly errors: {
53
- readonly accountNotFound: (specifiedAccount: string | number, configPath: string | number) => string;
117
+ readonly accountNotFound: (specifiedAccount: string, configPath: string) => string;
54
118
  };
55
119
  readonly examples: {
56
120
  readonly default: "Select a HubSpot account to use as the default account";
@@ -64,7 +128,7 @@ export declare const commands: {
64
128
  };
65
129
  readonly promptMessage: "Select an account to use as the default";
66
130
  readonly success: {
67
- readonly defaultAccountUpdated: (accountName: string | number) => string;
131
+ readonly defaultAccountUpdated: (accountName: string) => string;
68
132
  };
69
133
  };
70
134
  readonly remove: {
@@ -76,7 +140,7 @@ export declare const commands: {
76
140
  readonly selectAccountToRemove: "Select an account to remove from the config";
77
141
  };
78
142
  readonly errors: {
79
- readonly accountNotFound: (specifiedAccount: string | number, configPath: string | number) => string;
143
+ readonly accountNotFound: (specifiedAccount: string, configPath: string) => string;
80
144
  };
81
145
  readonly examples: {
82
146
  readonly default: "Select a HubSpot account to remove from the config";
@@ -89,11 +153,11 @@ export declare const commands: {
89
153
  };
90
154
  readonly promptMessage: "Select an account to remove";
91
155
  readonly success: {
92
- readonly accountRemoved: (accountName: string | number) => string;
156
+ readonly accountRemoved: (accountName: string) => string;
93
157
  };
94
158
  };
95
159
  readonly info: {
96
- readonly accountId: (accountId: string | number) => string;
160
+ readonly accountId: (accountId: string) => string;
97
161
  readonly describe: "Print information about the default account, or about the account specified with the \"account\" option.";
98
162
  readonly errors: {
99
163
  readonly notUsingPersonalAccessKey: "This command currently only supports fetching scopes for the personal access key auth type.";
@@ -103,7 +167,7 @@ export declare const commands: {
103
167
  readonly idBased: "Print information for the account with accountId equal to \"1234567\"";
104
168
  readonly nameBased: "Print information for the account in the config with name equal to \"MyAccount\"";
105
169
  };
106
- readonly name: (name: string | number) => string;
170
+ readonly name: (name: string) => string;
107
171
  readonly scopeGroups: `${string}:`;
108
172
  };
109
173
  readonly clean: {
@@ -114,40 +178,58 @@ export declare const commands: {
114
178
  };
115
179
  readonly inactiveAccountsFound: {
116
180
  readonly one: "1 inactive account found:";
117
- readonly other: (count: string | number) => string;
181
+ readonly other: (count: string) => string;
118
182
  };
119
183
  readonly confirm: {
120
184
  readonly one: "Remove 1 inactive account from the CLI config?";
121
- readonly other: (count: string | number) => string;
185
+ readonly other: (count: string) => string;
122
186
  };
123
- readonly removeSuccess: (accountName: string | number) => string;
187
+ readonly removeSuccess: (accountName: string) => string;
124
188
  };
125
189
  };
126
190
  };
127
191
  readonly auth: {
128
- readonly describe: (configName: string | number) => string;
192
+ readonly describe: (configName: string) => string;
129
193
  readonly errors: {
130
194
  readonly noConfigFileFound: "No config file was found. To create a new config file, use the \"hs init\" command.";
131
- readonly unsupportedAuthType: (type: string | number, supportedProtocols: string | number) => string;
195
+ readonly unsupportedAuthType: (type: string, supportedProtocols: string) => string;
132
196
  };
133
197
  readonly options: {
134
198
  readonly authType: {
135
199
  readonly describe: "Authentication mechanism";
136
- readonly defaultDescription: (authMethod: string | number) => string;
200
+ readonly defaultDescription: (authMethod: string) => string;
137
201
  };
138
202
  readonly account: {
139
203
  readonly describe: "HubSpot account to authenticate";
140
204
  };
205
+ readonly personalAccessKey: {
206
+ readonly describe: "Enter existing personal access key";
207
+ };
141
208
  };
142
209
  readonly success: {
143
- readonly configFileUpdated: (accountName: string | number, configFilename: string | number, authType: string | number) => string;
210
+ readonly configFileUpdated: (accountName: string, configFilename: string, authType: string) => string;
144
211
  };
145
212
  };
146
213
  readonly config: {
147
214
  readonly describe: "Commands for managing the CLI config file.";
148
215
  readonly subcommands: {
216
+ readonly migrate: {
217
+ readonly describe: `Migrate from the deprecated hubspot.config.yml file to the new global config file at ${string}.`;
218
+ readonly verboseDescribe: "This command will create or update the global configuration file in your root directory. It will archive the current config as archived.hubspot.config.yml.";
219
+ readonly errors: {
220
+ readonly noConfigToMigrate: "No hubspot.config.yml was found. There is nothing to migrate.";
221
+ readonly configNotFound: (configPath: string) => string;
222
+ };
223
+ readonly options: {
224
+ readonly force: "Bypass prompts and overwrite any conflicting values in the global config with the deprecated config values.";
225
+ };
226
+ readonly examples: {
227
+ readonly default: `Migrate from the deprecated hubspot.config.yml file to the new global config file at ${string}`;
228
+ readonly configFlag: `Migrate a specific config file (specified with the config flag) to the new global config file at ${string}`;
229
+ };
230
+ };
149
231
  readonly set: {
150
- readonly describe: "Set various configuration options within the hubspot.config.yml file.";
232
+ readonly describe: "Set various configuration options within the hubspot CLI config file.";
151
233
  readonly promptMessage: "Select a config option to update";
152
234
  readonly examples: {
153
235
  readonly default: "Opens a prompt to select a config item to modify";
@@ -155,23 +237,15 @@ export declare const commands: {
155
237
  readonly options: {
156
238
  readonly defaultMode: {
157
239
  readonly describe: "Set the default CMS publish mode";
158
- readonly promptMessage: "Select CMS publish mode to be used as the default";
159
- readonly error: (validModes: string | number) => string;
160
- readonly success: (mode: string | number) => string;
161
240
  };
162
241
  readonly allowUsageTracking: {
163
242
  readonly describe: "Enable or disable usage tracking";
164
- readonly promptMessage: "Choose to enable or disable usage tracking";
165
- readonly success: (isEnabled: string | number) => string;
166
- readonly labels: {
167
- readonly enabled: "Enabled";
168
- readonly disabled: "Disabled";
169
- };
170
243
  };
171
244
  readonly httpTimeout: {
172
245
  readonly describe: "Set the http timeout duration";
173
- readonly promptMessage: "Enter http timeout duration";
174
- readonly success: (timeout: string | number) => string;
246
+ };
247
+ readonly allowAutoUpdates: {
248
+ readonly describe: "Enable or disable auto updates";
175
249
  };
176
250
  };
177
251
  };
@@ -188,8 +262,8 @@ export declare const commands: {
188
262
  readonly info: {
189
263
  readonly promptMessage: "Select a theme to score";
190
264
  readonly fetchingThemes: "Fetching available themes";
191
- readonly generatingScore: (theme: string | number) => string;
192
- readonly targetDeviceNote: (target: string | number) => string;
265
+ readonly generatingScore: (theme: string) => string;
266
+ readonly targetDeviceNote: (target: string) => string;
193
267
  readonly verboseOptionNote: "Theme scores are averages of all theme templates. Use the [--verbose] option to include individual template scores.";
194
268
  readonly pageTemplateScoreTitle: "Page template scores";
195
269
  readonly lighthouseLinksTitle: "Lighthouse links";
@@ -198,7 +272,7 @@ export declare const commands: {
198
272
  readonly errors: {
199
273
  readonly targetOptionRequired: "[--target] is required for detailed view";
200
274
  readonly invalidTargetOption: "[--target] can only be used for detailed view";
201
- readonly themeNotFound: (theme: string | number) => string;
275
+ readonly themeNotFound: (theme: string) => string;
202
276
  readonly failedToFetchThemes: "Failed to fetch available themes. Try running again with the [--theme] option";
203
277
  readonly failedToGetLighthouseScore: "Failed to generate a Google Lighthouse score";
204
278
  };
@@ -226,21 +300,21 @@ export declare const commands: {
226
300
  };
227
301
  };
228
302
  readonly success: {
229
- readonly moduleDownloaded: (moduleName: string | number, path: string | number) => string;
303
+ readonly moduleDownloaded: (moduleName: string, path: string) => string;
230
304
  };
231
305
  readonly errors: {
232
- readonly pathExists: (path: string | number) => string;
306
+ readonly pathExists: (path: string) => string;
233
307
  readonly invalidName: "Module not found with that name, please check the spelling of the module you are trying to download.";
234
308
  };
235
309
  };
236
310
  };
237
311
  };
238
312
  readonly create: {
239
- readonly describe: (supportedAssetTypes: string | number) => string;
313
+ readonly describe: (supportedAssetTypes: string) => string;
240
314
  readonly errors: {
241
- readonly deprecatedAssetType: (assetType: string | number, newCommand: string | number, type: string | number) => string;
242
- readonly unsupportedAssetType: (assetType: string | number, supportedAssetTypes: string | number) => string;
243
- readonly unusablePath: (path: string | number) => string;
315
+ readonly deprecatedAssetType: (assetType: string, newCommand: string, type: string) => string;
316
+ readonly unsupportedAssetType: (assetType: string, supportedAssetTypes: string) => string;
317
+ readonly unusablePath: (path: string) => string;
244
318
  };
245
319
  readonly positionals: {
246
320
  readonly dest: {
@@ -255,16 +329,16 @@ export declare const commands: {
255
329
  };
256
330
  readonly subcommands: {
257
331
  readonly apiSample: {
258
- readonly folderOverwritePrompt: (folderName: string | number) => string;
332
+ readonly folderOverwritePrompt: (folderName: string) => string;
259
333
  readonly errors: {
260
334
  readonly nameRequired: "The \"name\" argument is required when creating an API Sample.";
261
335
  readonly noSamples: "Currently there are no samples available. Please try again later.";
262
336
  };
263
337
  readonly info: {
264
- readonly sampleChosen: (sampleType: string | number, sampleLanguage: string | number) => string;
338
+ readonly sampleChosen: (sampleType: string, sampleLanguage: string) => string;
265
339
  };
266
340
  readonly success: {
267
- readonly sampleCreated: (filePath: string | number) => string;
341
+ readonly sampleCreated: (filePath: string) => string;
268
342
  };
269
343
  };
270
344
  readonly module: {
@@ -288,7 +362,7 @@ export declare const commands: {
288
362
  readonly describe: "Create custom object instances.";
289
363
  readonly errors: {
290
364
  readonly invalidObjectDefinition: "The object definition is invalid. Please check the schema and try again.";
291
- readonly creationFailed: (definition: string | number) => string;
365
+ readonly creationFailed: (definition: string) => string;
292
366
  };
293
367
  readonly options: {
294
368
  readonly path: {
@@ -313,7 +387,7 @@ export declare const commands: {
313
387
  readonly describe: "Create a custom object schema.";
314
388
  readonly errors: {
315
389
  readonly invalidSchema: "The schema definition is invalid. Please check the schema and try again.";
316
- readonly creationFailed: (definition: string | number) => string;
390
+ readonly creationFailed: (definition: string) => string;
317
391
  };
318
392
  readonly options: {
319
393
  readonly definition: {
@@ -321,14 +395,14 @@ export declare const commands: {
321
395
  };
322
396
  };
323
397
  readonly success: {
324
- readonly schemaCreated: (accountId: string | number) => string;
325
- readonly schemaViewable: (url: string | number) => string;
398
+ readonly schemaCreated: (accountId: string) => string;
399
+ readonly schemaViewable: (url: string) => string;
326
400
  };
327
401
  };
328
402
  readonly delete: {
329
403
  readonly describe: "Delete a custom object schema.";
330
404
  readonly errors: {
331
- readonly delete: (name: string | number) => string;
405
+ readonly delete: (name: string) => string;
332
406
  };
333
407
  readonly examples: {
334
408
  readonly default: "Delete \"schemaName\" schema";
@@ -344,10 +418,10 @@ export declare const commands: {
344
418
  };
345
419
  };
346
420
  readonly success: {
347
- readonly delete: (name: string | number) => string;
421
+ readonly delete: (name: string) => string;
348
422
  };
349
- readonly confirmDelete: (name: string | number) => string;
350
- readonly deleteCancelled: (name: string | number) => string;
423
+ readonly confirmDelete: (name: string) => string;
424
+ readonly deleteCancelled: (name: string) => string;
351
425
  readonly selectSchema: "Which schema would you like to delete?";
352
426
  };
353
427
  readonly fetchAll: {
@@ -365,14 +439,14 @@ export declare const commands: {
365
439
  };
366
440
  };
367
441
  readonly success: {
368
- readonly fetch: (path: string | number) => string;
442
+ readonly fetch: (path: string) => string;
369
443
  };
370
444
  readonly inputDest: "Where would you like to save the schemas?";
371
445
  };
372
446
  readonly fetch: {
373
447
  readonly describe: "Fetch a custom object schema.";
374
448
  readonly errors: {
375
- readonly fetch: (name: string | number) => string;
449
+ readonly fetch: (name: string) => string;
376
450
  };
377
451
  readonly examples: {
378
452
  readonly default: "Fetch \"schemaId\" schema and put it in the current working directory";
@@ -389,8 +463,8 @@ export declare const commands: {
389
463
  readonly selectSchema: "Which schema would you like to fetch?";
390
464
  readonly inputDest: "What would you like to name the destination file?";
391
465
  readonly success: {
392
- readonly save: (name: string | number, path: string | number) => string;
393
- readonly savedToPath: (path: string | number) => string;
466
+ readonly save: (name: string, path: string) => string;
467
+ readonly savedToPath: (path: string) => string;
394
468
  };
395
469
  };
396
470
  readonly list: {
@@ -403,7 +477,7 @@ export declare const commands: {
403
477
  readonly describe: "Update an existing custom object schema.";
404
478
  readonly errors: {
405
479
  readonly invalidSchema: "The schema definition is invalid. Please check the schema and try again.";
406
- readonly update: (definition: string | number) => string;
480
+ readonly update: (definition: string) => string;
407
481
  };
408
482
  readonly options: {
409
483
  readonly path: {
@@ -416,8 +490,8 @@ export declare const commands: {
416
490
  };
417
491
  };
418
492
  readonly success: {
419
- readonly update: (accountId: string | number) => string;
420
- readonly viewAtUrl: (url: string | number) => string;
493
+ readonly update: (accountId: string) => string;
494
+ readonly viewAtUrl: (url: string) => string;
421
495
  };
422
496
  readonly selectSchema: "Which schema would you like to update?";
423
497
  };
@@ -432,9 +506,9 @@ export declare const commands: {
432
506
  };
433
507
  readonly errors: {
434
508
  readonly generatingDiagnosis: "Error generating diagnosis";
435
- readonly unableToWriteOutputFile: (file: string | number, errorMessage: string | number) => string;
509
+ readonly unableToWriteOutputFile: (file: string, errorMessage: string) => string;
436
510
  };
437
- readonly outputWritten: (filename: string | number) => string;
511
+ readonly outputWritten: (filename: string) => string;
438
512
  };
439
513
  readonly fetch: {
440
514
  readonly describe: "Fetch a file, directory or module from HubSpot and write to a path on your computer.";
@@ -484,13 +558,13 @@ export declare const commands: {
484
558
  readonly describe: "Upload a folder or file to the File Manager.";
485
559
  readonly errors: {
486
560
  readonly destinationRequired: "A destination path needs to be passed";
487
- readonly fileIgnored: (path: string | number) => string;
488
- readonly invalidPath: (path: string | number) => string;
489
- readonly upload: (src: string | number, dest: string | number) => string;
561
+ readonly fileIgnored: (path: string) => string;
562
+ readonly invalidPath: (path: string) => string;
563
+ readonly upload: (src: string, dest: string) => string;
490
564
  readonly uploadingFailed: "Uploading failed";
491
565
  };
492
566
  readonly logs: {
493
- readonly uploading: (src: string | number, dest: string | number, accountId: string | number) => string;
567
+ readonly uploading: (src: string, dest: string, accountId: string) => string;
494
568
  };
495
569
  readonly positionals: {
496
570
  readonly dest: {
@@ -501,8 +575,8 @@ export declare const commands: {
501
575
  };
502
576
  };
503
577
  readonly success: {
504
- readonly upload: (src: string | number, dest: string | number, accountId: string | number) => string;
505
- readonly uploadComplete: (dest: string | number) => string;
578
+ readonly upload: (src: string, dest: string, accountId: string) => string;
579
+ readonly uploadComplete: (dest: string) => string;
506
580
  };
507
581
  };
508
582
  };
@@ -512,25 +586,25 @@ export declare const commands: {
512
586
  readonly subcommands: {
513
587
  readonly deploy: {
514
588
  readonly debug: {
515
- readonly startingBuildAndDeploy: (functionPath: string | number) => string;
589
+ readonly startingBuildAndDeploy: (functionPath: string) => string;
516
590
  };
517
591
  readonly errors: {
518
- readonly buildError: (details: string | number) => string;
519
- readonly noPackageJson: (functionPath: string | number) => string;
520
- readonly notFunctionsFolder: (functionPath: string | number) => string;
592
+ readonly buildError: (details: string) => string;
593
+ readonly noPackageJson: (functionPath: string) => string;
594
+ readonly notFunctionsFolder: (functionPath: string) => string;
521
595
  };
522
596
  readonly examples: {
523
597
  readonly default: "Build and deploy a new bundle for all functions within the myFunctionFolder.functions folder";
524
598
  };
525
- readonly loading: (functionPath: string | number, account: string | number) => string;
526
- readonly loadingFailed: (functionPath: string | number, account: string | number) => string;
599
+ readonly loading: (functionPath: string, account: string) => string;
600
+ readonly loadingFailed: (functionPath: string, account: string) => string;
527
601
  readonly positionals: {
528
602
  readonly path: {
529
603
  readonly describe: "Path to the \".functions\" folder";
530
604
  };
531
605
  };
532
606
  readonly success: {
533
- readonly deployed: (functionPath: string | number, accountId: string | number, buildTimeSeconds: string | number) => string;
607
+ readonly deployed: (functionPath: string, accountId: string, buildTimeSeconds: string) => string;
534
608
  };
535
609
  };
536
610
  readonly list: {
@@ -549,7 +623,7 @@ export declare const commands: {
549
623
  };
550
624
  readonly server: {
551
625
  readonly debug: {
552
- readonly startingServer: (functionPath: string | number) => string;
626
+ readonly startingServer: (functionPath: string) => string;
553
627
  };
554
628
  readonly examples: {
555
629
  readonly default: "Run a local function test server.";
@@ -582,9 +656,9 @@ export declare const commands: {
582
656
  readonly clear: {
583
657
  readonly describe: "Clear all rows in a HubDB table.";
584
658
  readonly logs: {
585
- readonly removedRows: (deletedRowCount: string | number, tableId: string | number) => string;
586
- readonly rowCount: (tableId: string | number, rowCount: string | number) => string;
587
- readonly tableEmpty: (tableId: string | number) => string;
659
+ readonly removedRows: (deletedRowCount: string, tableId: string) => string;
660
+ readonly rowCount: (tableId: string, rowCount: string) => string;
661
+ readonly tableEmpty: (tableId: string) => string;
588
662
  };
589
663
  readonly positionals: {
590
664
  readonly tableId: {
@@ -596,7 +670,7 @@ export declare const commands: {
596
670
  readonly describe: "Create a HubDB table.";
597
671
  readonly enterPath: "[--path] Enter the local path to the file used for import:";
598
672
  readonly errors: {
599
- readonly create: (filePath: string | number) => string;
673
+ readonly create: (filePath: string) => string;
600
674
  readonly pathRequired: "A path to a local file with a HubDB schema is required to create a HubDB table";
601
675
  readonly invalidCharacters: "The selected file path contains invalid characters. Please provide a new path and try again.";
602
676
  };
@@ -606,14 +680,14 @@ export declare const commands: {
606
680
  };
607
681
  };
608
682
  readonly success: {
609
- readonly create: (tableId: string | number, accountId: string | number, rowCount: string | number) => string;
683
+ readonly create: (tableId: string, accountId: string, rowCount: string) => string;
610
684
  };
611
685
  };
612
686
  readonly delete: {
613
687
  readonly describe: "Delete a HubDB table.";
614
- readonly shouldDeleteTable: (tableId: string | number) => string;
688
+ readonly shouldDeleteTable: (tableId: string) => string;
615
689
  readonly errors: {
616
- readonly delete: (tableId: string | number) => string;
690
+ readonly delete: (tableId: string) => string;
617
691
  };
618
692
  readonly positionals: {
619
693
  readonly tableId: {
@@ -626,7 +700,7 @@ export declare const commands: {
626
700
  };
627
701
  };
628
702
  readonly success: {
629
- readonly delete: (tableId: string | number, accountId: string | number) => string;
703
+ readonly delete: (tableId: string, accountId: string) => string;
630
704
  };
631
705
  };
632
706
  readonly fetch: {
@@ -640,17 +714,32 @@ export declare const commands: {
640
714
  };
641
715
  };
642
716
  readonly success: {
643
- readonly fetch: (tableId: string | number, path: string | number) => string;
717
+ readonly fetch: (tableId: string, path: string) => string;
644
718
  };
645
719
  };
720
+ readonly list: {
721
+ readonly tables: `${string}:`;
722
+ readonly describe: "List HubDB tables.";
723
+ readonly labels: {
724
+ readonly label: "Label";
725
+ readonly id: "ID";
726
+ readonly name: "Name";
727
+ readonly columns: "Columns";
728
+ readonly rows: "Rows";
729
+ };
730
+ readonly success: (accountId: number) => string;
731
+ readonly noTables: (accountId: number) => string;
732
+ readonly tablesDisplayed: (displayed: number, total: number, truncated?: number) => string;
733
+ readonly viewTablesLink: (baseUrl: string, accountId: number) => string;
734
+ };
646
735
  };
647
736
  };
648
737
  readonly init: {
649
- readonly describe: (configName: string | number) => string;
738
+ readonly describe: (configName: string) => string;
650
739
  readonly options: {
651
740
  readonly authType: {
652
741
  readonly describe: "Authentication mechanism";
653
- readonly defaultDescription: (authMethod: string | number) => string;
742
+ readonly defaultDescription: (authMethod: string) => string;
654
743
  };
655
744
  readonly account: {
656
745
  readonly describe: "HubSpot account to authenticate";
@@ -660,20 +749,20 @@ export declare const commands: {
660
749
  };
661
750
  };
662
751
  readonly success: {
663
- readonly configFileCreated: (configPath: string | number) => string;
664
- readonly configFileUpdated: (account: string | number, authType: string | number) => string;
752
+ readonly configFileCreated: (configPath: string) => string;
753
+ readonly configFileUpdated: (account: string, authType: string) => string;
665
754
  };
666
755
  readonly logs: {
667
756
  readonly updateConfig: "To update an existing config file, use the \"hs auth\" command.";
668
757
  };
669
758
  readonly errors: {
670
- readonly configFileExists: (configPath: string | number) => string;
671
- readonly bothConfigFilesNotAllowed: (path: string | number) => string;
759
+ readonly configFileExists: (configPath: string) => string;
760
+ readonly bothConfigFilesNotAllowed: (path: string) => string;
672
761
  };
673
762
  };
674
763
  readonly lint: {
675
- readonly issuesFound: (count: string | number) => string;
676
- readonly groupName: (path: string | number) => string;
764
+ readonly issuesFound: (count: string) => string;
765
+ readonly groupName: (path: string) => string;
677
766
  readonly positionals: {
678
767
  readonly path: {
679
768
  readonly describe: "Local folder to lint";
@@ -682,8 +771,8 @@ export declare const commands: {
682
771
  };
683
772
  readonly list: {
684
773
  readonly describe: "List remote contents of a directory.";
685
- readonly gettingPathContents: (path: string | number) => string;
686
- readonly noFilesFoundAtPath: (path: string | number) => string;
774
+ readonly gettingPathContents: (path: string) => string;
775
+ readonly noFilesFoundAtPath: (path: string) => string;
687
776
  readonly positionals: {
688
777
  readonly path: {
689
778
  readonly describe: "Remote directory to list contents";
@@ -693,7 +782,7 @@ export declare const commands: {
693
782
  readonly logs: {
694
783
  readonly describe: "View logs for a CMS serverless function.";
695
784
  readonly errors: {
696
- readonly noLogsFound: (functionPath: string | number, accountId: string | number) => string;
785
+ readonly noLogsFound: (functionPath: string, accountId: string) => string;
697
786
  };
698
787
  readonly examples: {
699
788
  readonly default: "Get 5 most recent logs for function residing at /_hcms/api/my-endpoint";
@@ -701,7 +790,7 @@ export declare const commands: {
701
790
  readonly limit: "Get 10 most recent logs for function residing at /_hcms/api/my-endpoint";
702
791
  };
703
792
  readonly endpointPrompt: "Enter a serverless function endpoint:";
704
- readonly gettingLogs: (latest: string | number, functionPath: string | number) => string;
793
+ readonly gettingLogs: (latest: string, functionPath: string) => string;
705
794
  readonly options: {
706
795
  readonly compact: {
707
796
  readonly describe: "output compact logs";
@@ -721,15 +810,65 @@ export declare const commands: {
721
810
  readonly describe: "Serverless function endpoint";
722
811
  };
723
812
  };
724
- readonly tailLogs: (functionPath: string | number, accountId: string | number) => string;
813
+ readonly tailLogs: (functionPath: string, accountId: string) => string;
814
+ };
815
+ readonly mcp: {
816
+ readonly describe: "Commands for managing HubSpot MCP servers";
817
+ readonly setup: {
818
+ readonly installingDocSearch: "Adding the docs-search mcp server";
819
+ readonly claudeCode: "Claude Code";
820
+ readonly claudeDesktop: "Claude Desktop";
821
+ readonly cursor: "Cursor";
822
+ readonly windsurf: "Windsurf";
823
+ readonly args: {
824
+ readonly client: "Target applications to configure";
825
+ readonly docsSearch: "Should the docs search mcp server be installed";
826
+ };
827
+ readonly success: (derivedTargets: string[]) => string;
828
+ readonly errors: {
829
+ readonly needsNode20: "This feature requires node >=20";
830
+ };
831
+ readonly spinners: {
832
+ readonly failedToConfigure: "Failed to configure the HubSpot mcp server.";
833
+ readonly configuringClaudeDesktop: "Configuring Claude Desktop...";
834
+ readonly configuredClaudeDesktop: "Configured Claude Desktop";
835
+ readonly configuringClaudeCode: "Configuring Claude Code...";
836
+ readonly configuredClaudeCode: "Configured Claude Code";
837
+ readonly claudeCodeNotFound: "Claude Code not found - skipping configuration";
838
+ readonly claudeCodeInstallFailed: "Claude Code CLI not working - skipping configuration";
839
+ readonly failedToConfigureClaudeDesktop: "Failed to configure Claude Desktop";
840
+ readonly configuringCursor: "Configuring Cursor...";
841
+ readonly failedToConfigureCursor: "Failed to configure Cursor";
842
+ readonly configuredCursor: "Configured Cursor";
843
+ readonly alreadyInstalled: "HubSpot CLI mcp server already installed, reinstalling";
844
+ readonly configuringWindsurf: "Configuring Windsurf...";
845
+ readonly failedToConfigureWindsurf: "Failed to configure Windsurf";
846
+ readonly configuredWindsurf: "Configured Windsurf";
847
+ };
848
+ readonly prompts: {
849
+ readonly targets: "[--client] Which tools would you like to add the HubSpot CLI MCP server to?";
850
+ readonly targetsRequired: "Must choose at least one application to configure.";
851
+ };
852
+ };
853
+ readonly start: {
854
+ readonly errors: {
855
+ readonly needsNode20: "This feature requires node >=20";
856
+ readonly serverFileNotFound: (serverPath: string) => string;
857
+ readonly failedToStart: "Failed to start MCP server";
858
+ };
859
+ readonly startingServer: "Starting HubSpot CLI MCP server...";
860
+ readonly stopInstructions: "Press Ctrl+C to stop the server";
861
+ readonly stoppedSuccessfully: "Stopped successfully.";
862
+ readonly shuttingDown: "Shutting down MCP server...";
863
+ };
725
864
  };
726
865
  readonly mv: {
727
866
  readonly describe: "Move a remote file or folder in HubSpot. This feature is currently in beta and the CLI contract is subject to change.";
728
867
  readonly errors: {
729
- readonly sourcePathExists: (srcPath: string | number, destPath: string | number) => string;
730
- readonly moveFailed: (srcPath: string | number, destPath: string | number, accountId: string | number) => string;
868
+ readonly sourcePathExists: (srcPath: string, destPath: string) => string;
869
+ readonly moveFailed: (srcPath: string, destPath: string, accountId: string) => string;
731
870
  };
732
- readonly move: (srcPath: string | number, destPath: string | number, accountId: string | number) => string;
871
+ readonly move: (srcPath: string, destPath: string, accountId: string) => string;
733
872
  };
734
873
  readonly open: {
735
874
  readonly describe: "Open a HubSpot page in your browser.";
@@ -760,23 +899,27 @@ Run ${string} to get started!`;
760
899
  Profiles enable you to reference variables in your component configuration files. Use the syntax ${string} to reference profile variables in your component configuration files. Then target the profile using the ${string} flag when you upload your project.`;
761
900
  readonly example: "Add a new project profile named hsprofile.qa.json";
762
901
  readonly logs: {
763
- readonly copyExistingProfile: (profileName: string | number) => string;
764
- readonly copyExistingProfiles: "Found existing project profiles. We can copy the variables from one of them into your new profile.";
765
- readonly profileAdded: (profileName: string | number) => string;
902
+ readonly copyExistingProfile: (profileName: string) => string;
903
+ readonly copyExistingProfiles: "We can copy the variables from one of your existing profiles into your new profile.";
904
+ readonly profileAdded: (profileName: string) => string;
766
905
  };
767
906
  readonly prompts: {
768
- readonly namePrompt: "[name] Enter a name for the new project profile: ";
907
+ readonly namePrompt: "Enter a name for the new project profile: ";
769
908
  readonly emptyName: "Profile name cannot be empty";
770
909
  readonly targetAccountPrompt: "[target-account] Select a target account for this profile";
771
910
  readonly copyExistingProfilePrompt: "Select a profile to copy variables from";
772
- readonly copyExistingProfilePromptEmpty: "None (do not copy any variables)";
911
+ readonly copyExistingProfilePromptEmpty: "Skip (don't copy any variables)";
912
+ readonly invalidProfileName: "Profile name cannot contain special characters or spaces";
913
+ };
914
+ readonly warnings: {
915
+ readonly duplicateTargetAccount: (targetAccountId: number) => string;
773
916
  };
774
917
  readonly errors: {
775
918
  readonly noProjectConfig: "No project config found. Please run this command from a project directory.";
776
- readonly profileExists: (profileName: string | number) => string;
919
+ readonly profileExists: (profileName: string) => string;
777
920
  readonly invalidTargetAccount: "Target account is not configured in the CLI";
778
921
  readonly noAccountsConfigured: "No accounts configured in the CLI";
779
- readonly failedToLoadProfile: (profileName: string | number) => string;
922
+ readonly failedToLoadProfile: (profileName: string) => string;
780
923
  readonly failedToCreateProfile: "Failed to create profile";
781
924
  };
782
925
  readonly positionals: {
@@ -786,25 +929,26 @@ Profiles enable you to reference variables in your component configuration files
786
929
  readonly targetAccount: "The target account ID for this profile";
787
930
  };
788
931
  };
789
- readonly remove: {
790
- readonly describe: "Remove an exisiting project profile";
791
- readonly example: "Remove a project profile named hsprofile.qa.json";
932
+ readonly delete: {
933
+ readonly describe: "Delete an existing project profile";
934
+ readonly example: "Delete a project profile named hsprofile.qa.json";
792
935
  readonly logs: {
793
- readonly profileRemoved: (profileName: string | number) => string;
794
- readonly removedProject: (accountId: string | number) => string;
795
- readonly didNotRemoveProject: (accountId: string | number) => string;
936
+ readonly profileDeleted: (profileName: string) => string;
937
+ readonly deletedProject: (accountId: number) => string;
938
+ readonly didNotDeleteProject: (accountId: number) => string;
796
939
  };
797
940
  readonly debug: {
798
- readonly failedToLoadProfile: (profileName: string | number) => string;
941
+ readonly failedToLoadProfile: (profileName: string) => string;
799
942
  };
800
943
  readonly prompts: {
801
- readonly removeProfilePrompt: "Select a profile to remove from your project";
802
- readonly removeProjectPrompt: (accountId: string | number) => string;
944
+ readonly deleteProfilePrompt: "Select a profile to delete from your project";
945
+ readonly deleteProjectPrompt: (accountId: number) => string;
803
946
  };
804
947
  readonly errors: {
805
948
  readonly noProjectConfig: "No project config found. Please run this command from a project directory.";
806
- readonly noProfileFound: (profileName: string | number) => string;
807
- readonly failedToRemoveProfile: (profileName: string | number) => string;
949
+ readonly noProfileFound: (profileName: string) => string;
950
+ readonly noProfilesFound: "No profiles found in your project.";
951
+ readonly failedToDeleteProfile: (profileName: string) => string;
808
952
  };
809
953
  readonly positionals: {
810
954
  readonly name: "The name of the project profile";
@@ -817,17 +961,29 @@ Profiles enable you to reference variables in your component configuration files
817
961
  readonly betaMessage: "HubSpot projects local development";
818
962
  readonly placeholderAccountSelection: "Using default account as target account (for now)";
819
963
  readonly learnMoreLocalDevServer: "Learn more about the projects local dev server";
964
+ readonly accountTypeInformation: "Testing in a developer test account is strongly recommended, but you can use a sandbox account if your plan allows you to create one.";
965
+ readonly learnMoreMessage: `
966
+ Visit our ${string} to learn more.`;
820
967
  };
821
968
  readonly errors: {
822
969
  readonly noProjectConfig: "No project detected. Please run this command again from a project directory.";
823
- readonly noAccount: (accountId: string | number, authCommand: string | number) => string;
824
- readonly noAccountsInConfig: (authCommand: string | number) => string;
970
+ readonly noAccount: (accountId: number) => string;
971
+ readonly noAccountsInConfig: (authCommand: string) => string;
825
972
  readonly invalidProjectComponents: "Projects cannot contain both private and public apps. Move your apps to separate projects before attempting local development.";
826
- readonly noRunnableComponents: (command: string | number) => string;
973
+ readonly noRunnableComponents: `No supported components were found in this project. Run ${string} to see a list of available components and add one to your project.`;
974
+ readonly accountNotCombined: `
975
+ Local development of unified apps is currently only compatible with accounts that are opted into the unified apps beta. Make sure that this account is opted in or switch accounts using ${string}.`;
976
+ readonly unsupportedAccountFlagLegacy: "The --projectAccount and --testingAccount flags are not supported for projects with platform versions earlier than 2025.2.";
977
+ readonly unsupportedAccountFlagV3: "The --account flag is is not supported supported for projects with platform versions 2025.2 and newer. Use --testingAccount and --projectAccount flags to specify accounts to use for local dev";
827
978
  };
828
979
  readonly examples: {
829
980
  readonly default: "Start local dev for the current project";
830
981
  };
982
+ readonly options: {
983
+ readonly profile: "The profile to target during local dev";
984
+ readonly projectAccount: "The id of the account to upload your project to. Only compatible with platform versions 2025.2 and above.";
985
+ readonly testingAccount: "The id of the account to install apps and test on. Only compatible with platform versions 2025.2 and above.";
986
+ };
831
987
  };
832
988
  readonly create: {
833
989
  readonly describe: "Create a new project.";
@@ -835,11 +991,17 @@ Profiles enable you to reference variables in your component configuration files
835
991
  readonly failedToDownloadProject: "Failed to download project. Please try again later.";
836
992
  readonly invalidTemplateSource: "Invalid template source provided. Use the format <Owner>/<Repo> and try again.";
837
993
  readonly failedToFetchProjectList: "Failed to fetch the list of available project templates. Please try again later.";
838
- readonly cannotNestProjects: (projectDir: string | number) => string;
994
+ readonly cannotNestProjects: (projectDir: string) => string;
839
995
  };
840
996
  readonly logs: {
841
- readonly success: (projectName: string | number, projectDest: string | number) => string;
842
- readonly welcomeMessage: "Welcome to HubSpot Developer Projects!";
997
+ readonly success: (projectName: string, projectDest: string) => string;
998
+ readonly welcomeMessage: `
999
+ ${string}`;
1000
+ };
1001
+ readonly prompts: {
1002
+ readonly parentComponents: "[--project-base] What would you like in your project?";
1003
+ readonly emptyProject: "Empty Project";
1004
+ readonly app: "App";
843
1005
  };
844
1006
  readonly examples: {
845
1007
  readonly default: "Create a new project";
@@ -858,6 +1020,21 @@ Profiles enable you to reference variables in your component configuration files
858
1020
  readonly templateSource: {
859
1021
  readonly describe: "Path to custom GitHub repository from which to create project template";
860
1022
  };
1023
+ readonly platformVersion: {
1024
+ readonly describe: "The target platform version for the new project.";
1025
+ };
1026
+ readonly projectBase: {
1027
+ readonly describe: "The top level component to include in the project.";
1028
+ };
1029
+ readonly distribution: {
1030
+ readonly describe: "How the app will be distributed.";
1031
+ };
1032
+ readonly auth: {
1033
+ readonly describe: "Authentication model for the application.";
1034
+ };
1035
+ readonly features: {
1036
+ readonly describe: "Features to include in the project. Only valid if project-base is app";
1037
+ };
861
1038
  };
862
1039
  };
863
1040
  readonly migrateApp: {
@@ -880,7 +1057,7 @@ Profiles enable you to reference variables in your component configuration files
880
1057
  readonly text: "This command will migrate an app to the projects framework. It will walk you through the fields required to complete the migration and download the project source code into a directory of your choosing.";
881
1058
  readonly link: "Learn more about migrating apps to the projects framework";
882
1059
  };
883
- readonly deprecationWarning: (oldCommand: string | number, newCommand: string | number) => string;
1060
+ readonly deprecationWarning: (oldCommand: string, newCommand: string) => string;
884
1061
  readonly migrationStatus: {
885
1062
  readonly inProgress: () => string;
886
1063
  readonly success: () => string;
@@ -903,7 +1080,7 @@ Profiles enable you to reference variables in your component configuration files
903
1080
  readonly preamble: (platformVersion: string) => string;
904
1081
  readonly describe: "Migrate an existing project to the new version of the projects framework.";
905
1082
  readonly errors: {
906
- readonly noProjectConfig: (command: string | number) => string;
1083
+ readonly noProjectConfig: (command: string) => string;
907
1084
  };
908
1085
  readonly examples: {
909
1086
  readonly default: "Migrate an existing project to the new version of the projects framework.";
@@ -925,13 +1102,13 @@ Profiles enable you to reference variables in your component configuration files
925
1102
  readonly cloneStatus: {
926
1103
  readonly inProgress: () => string;
927
1104
  readonly done: "Cloning app configuration to public-app.json component definition ... DONE";
928
- readonly success: (dest: string | number) => string;
1105
+ readonly success: (dest: string) => string;
929
1106
  readonly failure: "Cloning app configuration to public-app.json component definition ... FAILED";
930
1107
  };
931
1108
  readonly errors: {
932
1109
  readonly invalidAccountTypeTitle: () => string;
933
- readonly invalidAccountTypeDescription: (useCommand: string | number, authCommand: string | number) => string;
934
- readonly couldNotWriteConfigPath: (configPath: string | number) => string;
1110
+ readonly invalidAccountTypeDescription: (useCommand: string, authCommand: string) => string;
1111
+ readonly couldNotWriteConfigPath: (configPath: string) => string;
935
1112
  };
936
1113
  };
937
1114
  readonly add: {
@@ -943,11 +1120,23 @@ Profiles enable you to reference variables in your component configuration files
943
1120
  readonly type: {
944
1121
  readonly describe: "The path to the component type's location within the hubspot-project-components Github repo: https://github.com/HubSpot/hubspot-project-components";
945
1122
  };
1123
+ readonly distribution: {
1124
+ readonly describe: "The distribution method for the application.";
1125
+ };
1126
+ readonly auth: {
1127
+ readonly describe: "The authentication type for the application.";
1128
+ };
1129
+ readonly features: {
1130
+ readonly describe: "Which features to include with the application.";
1131
+ };
946
1132
  };
947
- readonly creatingComponent: (projectName: string | number) => string;
948
- readonly success: (componentName: string | number) => string;
1133
+ readonly creatingComponent: (projectName: string) => string;
1134
+ readonly success: (componentName: string, multiple?: boolean) => string;
949
1135
  readonly error: {
950
1136
  readonly failedToDownloadComponent: "Failed to download project component. Please try again later.";
1137
+ readonly maxExceeded: (maxCount: number) => string;
1138
+ readonly authTypeNotAllowed: (authType: string) => string;
1139
+ readonly distributionNotAllowed: (dist: string) => string;
951
1140
  readonly locationInProject: "This command must be run from within a project directory.";
952
1141
  readonly failedToFetchComponentList: "Failed to fetch the list of available components. Please try again later.";
953
1142
  readonly projectContainsPublicApp: "This project contains a public app. This command is currently only compatible with projects that contain private apps.";
@@ -961,15 +1150,15 @@ Profiles enable you to reference variables in your component configuration files
961
1150
  readonly describe: "Deploy a project build.";
962
1151
  readonly deployBuildIdPrompt: "[--build] Deploy which build?";
963
1152
  readonly debug: {
964
- readonly deploying: (path: string | number) => string;
1153
+ readonly deploying: (path: string) => string;
965
1154
  };
966
1155
  readonly errors: {
967
- readonly deploy: (details: string | number) => string;
1156
+ readonly deploy: (details: string) => string;
968
1157
  readonly noBuilds: "Deploy error: no builds for this project were found.";
969
1158
  readonly noBuildId: "You must specify a build to deploy";
970
- readonly projectNotFound: (projectName: string | number, accountIdentifier: string | number, command: string | number) => string;
971
- readonly buildIdDoesNotExist: (buildId: string | number, projectName: string | number, linkToProject: string | number) => string;
972
- readonly buildAlreadyDeployed: (buildId: string | number, linkToProject: string | number) => string;
1159
+ readonly projectNotFound: (projectName: string, accountIdentifier: string, command: string) => string;
1160
+ readonly buildIdDoesNotExist: (buildId: string, projectName: string, linkToProject: string) => string;
1161
+ readonly buildAlreadyDeployed: (buildId: string, linkToProject: string) => string;
973
1162
  readonly viewProjectsBuilds: "View project builds in HubSpot";
974
1163
  };
975
1164
  readonly examples: {
@@ -989,11 +1178,11 @@ Profiles enable you to reference variables in your component configuration files
989
1178
  readonly describe: "List the project's builds.";
990
1179
  readonly continueOrExitPrompt: "Press <enter> to load more, or ctrl+c to exit";
991
1180
  readonly viewAllBuildsLink: "View all builds";
992
- readonly showingNextBuilds: (count: string | number, projectName: string | number) => string;
993
- readonly showingRecentBuilds: (count: string | number, projectName: string | number, viewAllBuildsLink: string | number) => string;
1181
+ readonly showingNextBuilds: (count: string, projectName: string) => string;
1182
+ readonly showingRecentBuilds: (count: number, projectName: string, viewAllBuildsLink: string) => string;
994
1183
  readonly errors: {
995
1184
  readonly noBuilds: "No builds for this project were found.";
996
- readonly projectNotFound: (projectName: string | number) => string;
1185
+ readonly projectNotFound: (projectName: string) => string;
997
1186
  };
998
1187
  readonly options: {
999
1188
  readonly project: {
@@ -1016,15 +1205,15 @@ Profiles enable you to reference variables in your component configuration files
1016
1205
  readonly noFunctionsInProject: `There aren't any functions in this project
1017
1206
  \t- Run ${string} to learn more about logs
1018
1207
  \t- ${string} to learn more about serverless functions`;
1019
- readonly noFunctionWithName: (name: string | number) => string;
1020
- readonly functionNotDeployed: (name: string | number) => string;
1208
+ readonly noFunctionWithName: (name: string) => string;
1209
+ readonly functionNotDeployed: (name: string) => string;
1021
1210
  readonly projectLogsManagerNotInitialized: "Function called on ProjectLogsManager before initialization";
1022
1211
  readonly generic: "Error fetching logs";
1023
1212
  };
1024
1213
  readonly logs: {
1025
1214
  readonly showingLogs: "Showing logs for:";
1026
1215
  readonly hubspotLogsDirectLink: "View function logs in HubSpot";
1027
- readonly noLogsFound: (name: string | number) => string;
1216
+ readonly noLogsFound: (name: string) => string;
1028
1217
  };
1029
1218
  readonly table: {
1030
1219
  readonly accountHeader: "Account";
@@ -1062,10 +1251,10 @@ Profiles enable you to reference variables in your component configuration files
1062
1251
  readonly default: "Upload a project into your HubSpot account";
1063
1252
  };
1064
1253
  readonly logs: {
1065
- readonly buildSucceeded: (buildId: string | number) => string;
1254
+ readonly buildSucceeded: (buildId: string) => string;
1066
1255
  readonly readyToGoLive: "🚀 Ready to take your project live?";
1067
- readonly runCommand: (command: string | number) => string;
1068
- readonly autoDeployDisabled: (deployCommand: string | number) => string;
1256
+ readonly runCommand: (command: string) => string;
1257
+ readonly autoDeployDisabled: (deployCommand: string) => string;
1069
1258
  };
1070
1259
  readonly errors: {
1071
1260
  readonly projectLockedError: () => string;
@@ -1088,10 +1277,10 @@ Profiles enable you to reference variables in your component configuration files
1088
1277
  readonly processExited: "Stopping watcher...";
1089
1278
  readonly watchCancelledFromUi: `The watch process has been cancelled from the UI. Any changes made since cancelling have not been uploaded. To resume watching, rerun ${string}.`;
1090
1279
  readonly resuming: "Resuming watcher...";
1091
- readonly uploadSucceeded: (remotePath: string | number, filePath: string | number) => string;
1092
- readonly deleteFileSucceeded: (remotePath: string | number) => string;
1093
- readonly deleteFolderSucceeded: (remotePath: string | number) => string;
1094
- readonly watching: (projectDir: string | number) => string;
1280
+ readonly uploadSucceeded: (remotePath: string, filePath: string) => string;
1281
+ readonly deleteFileSucceeded: (remotePath: string) => string;
1282
+ readonly deleteFolderSucceeded: (remotePath: string) => string;
1283
+ readonly watching: (projectDir: string) => string;
1095
1284
  readonly previousStagingBuildCancelled: "Killed the previous watch process. Please try running `hs project watch` again";
1096
1285
  };
1097
1286
  readonly options: {
@@ -1102,18 +1291,18 @@ Profiles enable you to reference variables in your component configuration files
1102
1291
  readonly debug: {
1103
1292
  readonly pause: "Pausing watcher, attempting to queue build";
1104
1293
  readonly buildStarted: "Build queued.";
1105
- readonly extensionNotAllowed: (filePath: string | number) => string;
1106
- readonly ignored: (filePath: string | number) => string;
1107
- readonly uploading: (filePath: string | number, remotePath: string | number) => string;
1294
+ readonly extensionNotAllowed: (filePath: string) => string;
1295
+ readonly ignored: (filePath: string) => string;
1296
+ readonly uploading: (filePath: string, remotePath: string) => string;
1108
1297
  readonly attemptNewBuild: "Attempting to create a new build";
1109
- readonly fileAlreadyQueued: (filePath: string | number) => string;
1298
+ readonly fileAlreadyQueued: (filePath: string) => string;
1110
1299
  };
1111
1300
  readonly errors: {
1112
1301
  readonly projectConfigNotFound: "No project config found. Please ensure that you are in a project directory.";
1113
1302
  readonly projectLockedError: `Your project is locked. This may mean that another user is running the ${string} command for this project. If this is you, unlock the project in Projects UI.`;
1114
- readonly uploadFailed: (remotePath: string | number, filePath: string | number) => string;
1115
- readonly deleteFileFailed: (remotePath: string | number) => string;
1116
- readonly deleteFolderFailed: (remotePath: string | number) => string;
1303
+ readonly uploadFailed: (remotePath: string, filePath: string) => string;
1304
+ readonly deleteFileFailed: (remotePath: string) => string;
1305
+ readonly deleteFolderFailed: (remotePath: string) => string;
1117
1306
  };
1118
1307
  };
1119
1308
  readonly download: {
@@ -1123,11 +1312,11 @@ Profiles enable you to reference variables in your component configuration files
1123
1312
  };
1124
1313
  readonly logs: {
1125
1314
  readonly downloadCancelled: "Cancelling project download";
1126
- readonly downloadSucceeded: (buildId: string | number, projectName: string | number) => string;
1315
+ readonly downloadSucceeded: (buildId: string, projectName: string) => string;
1127
1316
  };
1128
1317
  readonly errors: {
1129
1318
  readonly downloadFailed: "Something went wrong downloading the project";
1130
- readonly projectNotFound: (projectName: string | number, accountId: string | number) => string;
1319
+ readonly projectNotFound: (projectName: string, accountId: string) => string;
1131
1320
  };
1132
1321
  readonly warnings: {
1133
1322
  readonly cannotDownloadWithinProject: "Cancelling project download. Please run the command again outside the context of an existing project.";
@@ -1154,25 +1343,13 @@ Profiles enable you to reference variables in your component configuration files
1154
1343
  readonly examples: {
1155
1344
  readonly default: "Opens the projects page for the specified account";
1156
1345
  };
1157
- readonly success: (projectName: string | number) => string;
1346
+ readonly success: (projectName: string) => string;
1158
1347
  };
1159
1348
  readonly feedback: {
1160
- readonly describe: "Leave feedback on HubSpot projects or file a bug report.";
1161
- readonly feedbackType: {
1162
- readonly prompt: "What type of feedback would you like to leave?";
1163
- readonly bug: "[--bug] Report a bug";
1164
- readonly general: "[--general] Tell us about your experience with HubSpot's developer tools";
1165
- };
1166
- readonly openPrompt: "Create a Github issue in your browser?";
1167
- readonly success: (url: string | number) => string;
1168
- readonly options: {
1169
- readonly bug: {
1170
- readonly describe: "Open Github issues in your browser to report a bug.";
1171
- };
1172
- readonly general: {
1173
- readonly describe: "Open Github issues in your browser to give feedback.";
1174
- };
1175
- };
1349
+ readonly describe: "Leave feedback or file a bug report.";
1350
+ readonly openPrompt: "Open the feedback form in your browser?";
1351
+ readonly success: (url: string) => string;
1352
+ readonly error: (url: string) => string;
1176
1353
  };
1177
1354
  readonly installDeps: {
1178
1355
  readonly help: {
@@ -1182,25 +1359,37 @@ Profiles enable you to reference variables in your component configuration files
1182
1359
  };
1183
1360
  readonly installLocationPrompt: "Choose the project components to install the dependencies:";
1184
1361
  readonly installLocationPromptRequired: "You must choose at least one subcomponent";
1185
- readonly installingDependencies: (directory: string | number) => string;
1186
- readonly installationSuccessful: (directory: string | number) => string;
1187
- readonly addingDependenciesToLocation: (dependencies: string | number, directory: string | number) => string;
1188
- readonly installingDependenciesFailed: (directory: string | number) => string;
1362
+ readonly installingDependencies: (directory: string) => string;
1363
+ readonly installationSuccessful: (directory: string) => string;
1364
+ readonly addingDependenciesToLocation: (dependencies: string, directory: string) => string;
1365
+ readonly installingDependenciesFailed: (directory: string) => string;
1189
1366
  readonly noProjectConfig: "No project detected. Run this command from a project directory.";
1190
- readonly noPackageJsonInProject: (projectName: string | number, link: string | number) => string;
1191
- readonly packageManagerNotInstalled: (packageManager: string | number, link: string | number) => string;
1367
+ readonly noPackageJsonInProject: (projectName: string, link: string) => string;
1368
+ readonly packageManagerNotInstalled: (packageManager: string, link: string) => string;
1369
+ };
1370
+ readonly validate: {
1371
+ readonly describe: "Validate the project before uploading";
1372
+ readonly mustBeRanWithinAProject: "This command must be run from within a project directory.";
1373
+ readonly badVersion: "This command is only available for projects 2025.2 and later.";
1374
+ readonly examples: {
1375
+ readonly default: "Validate the project before uploading";
1376
+ };
1377
+ readonly success: (projectName: string) => string;
1378
+ readonly options: {
1379
+ readonly profile: {
1380
+ readonly describe: "The profile to target for this validation";
1381
+ };
1382
+ };
1192
1383
  };
1193
1384
  };
1194
1385
  readonly remove: {
1195
- readonly describe: "Delete a file or folder from HubSpot.";
1196
- readonly deleted: (path: string | number, accountId: string | number) => string;
1386
+ readonly describe: "Delete a file or folder from the HubSpot CMS.";
1387
+ readonly deleted: (path: string, accountId: number) => string;
1197
1388
  readonly errors: {
1198
- readonly deleteFailed: (path: string | number, accountId: string | number) => string;
1389
+ readonly deleteFailed: (path: string, accountId: number) => string;
1199
1390
  };
1200
1391
  readonly positionals: {
1201
- readonly path: {
1202
- readonly describe: "Remote hubspot path";
1203
- };
1392
+ readonly path: "Remote hubspot path";
1204
1393
  };
1205
1394
  };
1206
1395
  readonly sandbox: {
@@ -1209,39 +1398,39 @@ Profiles enable you to reference variables in your component configuration files
1209
1398
  readonly create: {
1210
1399
  readonly developer: {
1211
1400
  readonly loading: {
1212
- readonly add: (accountName: string | number) => string;
1213
- readonly fail: (accountName: string | number) => string;
1214
- readonly succeed: (accountName: string | number, accountId: string | number) => string;
1401
+ readonly add: (accountName: string) => string;
1402
+ readonly fail: (accountName: string) => string;
1403
+ readonly succeed: (accountName: string, accountId: string) => string;
1215
1404
  };
1216
1405
  readonly success: {
1217
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
1406
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
1218
1407
  };
1219
1408
  readonly failure: {
1220
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
1221
- readonly limit: (accountName: string | number, limit: string | number) => string;
1222
- readonly alreadyInConfig: (accountName: string | number, limit: string | number) => string;
1409
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1410
+ readonly limit: (accountName: string, limit: string) => string;
1411
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
1223
1412
  readonly scopes: {
1224
1413
  readonly message: "The personal access key you provided doesn't include developer sandbox permissions.";
1225
- readonly instructions: (accountName: string | number, url: string | number) => string;
1414
+ readonly instructions: (accountName: string, url: string) => string;
1226
1415
  };
1227
1416
  };
1228
1417
  };
1229
1418
  readonly standard: {
1230
1419
  readonly loading: {
1231
- readonly add: (accountName: string | number) => string;
1232
- readonly fail: (accountName: string | number) => string;
1233
- readonly succeed: (accountName: string | number, accountId: string | number) => string;
1420
+ readonly add: (accountName: string) => string;
1421
+ readonly fail: (accountName: string) => string;
1422
+ readonly succeed: (accountName: string, accountId: string) => string;
1234
1423
  };
1235
1424
  readonly success: {
1236
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
1425
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
1237
1426
  };
1238
1427
  readonly failure: {
1239
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
1240
- readonly limit: (accountName: string | number, limit: string | number) => string;
1241
- readonly alreadyInConfig: (accountName: string | number, limit: string | number) => string;
1428
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1429
+ readonly limit: (accountName: string, limit: string) => string;
1430
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
1242
1431
  readonly scopes: {
1243
1432
  readonly message: "The personal access key you provided doesn't include standard sandbox permissions.";
1244
- readonly instructions: (accountName: string | number, url: string | number) => string;
1433
+ readonly instructions: (accountName: string, url: string) => string;
1245
1434
  };
1246
1435
  };
1247
1436
  };
@@ -1249,28 +1438,28 @@ Profiles enable you to reference variables in your component configuration files
1249
1438
  readonly delete: {
1250
1439
  readonly describe: "Delete a sandbox account.";
1251
1440
  readonly debug: {
1252
- readonly deleting: (account: string | number) => string;
1441
+ readonly deleting: (account: string) => string;
1253
1442
  readonly error: "Error deleting sandbox account:";
1254
1443
  };
1255
1444
  readonly examples: {
1256
1445
  readonly default: "Deletes the sandbox account named MySandboxAccount.";
1257
1446
  };
1258
- readonly confirm: (account: string | number) => string;
1259
- readonly defaultAccountWarning: (account: string | number) => string;
1447
+ readonly confirm: (account: string) => string;
1448
+ readonly defaultAccountWarning: (account: string) => string;
1260
1449
  readonly success: {
1261
- readonly delete: (account: string | number, sandboxHubId: string | number) => string;
1262
- readonly deleteDefault: (account: string | number, sandboxHubId: string | number) => string;
1263
- readonly configFileUpdated: (account: string | number, configFilename: string | number) => string;
1450
+ readonly delete: (account: string, sandboxHubId: string) => string;
1451
+ readonly deleteDefault: (account: string, sandboxHubId: string) => string;
1452
+ readonly configFileUpdated: (account: string, configFilename: string) => string;
1264
1453
  };
1265
1454
  readonly failure: {
1266
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
1455
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1267
1456
  readonly noAccount: "No account specified. Specify an account by using the --account flag.";
1268
- readonly noSandboxAccounts: (authCommand: string | number) => string;
1457
+ readonly noSandboxAccounts: (authCommand: string) => string;
1269
1458
  readonly noSandboxAccountId: "This sandbox can't be deleted from the CLI because we could not find the associated sandbox account.";
1270
- readonly noParentAccount: (authCommand: string | number) => string;
1271
- readonly objectNotFound: (account: string | number) => string;
1272
- readonly noParentPortalAvailable: (command: string | number, url: string | number) => string;
1273
- readonly invalidKey: (account: string | number, authCommand: string | number) => string;
1459
+ readonly noParentAccount: (authCommand: string) => string;
1460
+ readonly objectNotFound: (account: string) => string;
1461
+ readonly noParentPortalAvailable: (command: string, url: string) => string;
1462
+ readonly invalidKey: (account: string, authCommand: string) => string;
1274
1463
  };
1275
1464
  readonly options: {
1276
1465
  readonly force: {
@@ -1284,18 +1473,86 @@ Profiles enable you to reference variables in your component configuration files
1284
1473
  };
1285
1474
  readonly sync: {
1286
1475
  readonly loading: {
1287
- readonly add: (accountName: string | number) => string;
1288
- readonly fail: (accountName: string | number) => string;
1289
- readonly succeed: (accountName: string | number) => string;
1476
+ readonly add: (accountName: string) => string;
1477
+ readonly fail: (accountName: string) => string;
1478
+ readonly succeed: (accountName: string) => string;
1290
1479
  };
1291
1480
  readonly success: {
1292
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
1481
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
1293
1482
  };
1294
1483
  readonly failure: {
1295
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
1484
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1296
1485
  readonly scopes: {
1297
1486
  readonly message: "The personal access key you provided doesn't include sandbox sync permissions.";
1298
- readonly instructions: (accountName: string | number, url: string | number) => string;
1487
+ readonly instructions: (accountName: string, url: string) => string;
1488
+ };
1489
+ };
1490
+ };
1491
+ };
1492
+ readonly app: {
1493
+ readonly describe: "Commands for managing apps.";
1494
+ readonly subcommands: {
1495
+ readonly secret: {
1496
+ readonly describe: "Commands for managing secrets.";
1497
+ readonly subcommands: {
1498
+ readonly add: {
1499
+ readonly describe: "Create a new app secret.";
1500
+ readonly positionals: {
1501
+ readonly name: "Name of the secret";
1502
+ };
1503
+ readonly errors: {
1504
+ readonly noApps: `Please create a new app to add an app secret. Use ${string} to create a new project and begin the app creation process.`;
1505
+ };
1506
+ readonly options: {
1507
+ readonly app: "The app id to set the secret for";
1508
+ };
1509
+ readonly example: "Add a secret named \"my-secret\" to the app with ID 1234567890";
1510
+ readonly success: (appName: string, secretName: string) => string;
1511
+ };
1512
+ readonly delete: {
1513
+ readonly describe: "Delete an app secret.";
1514
+ readonly confirmDelete: (appName: string, secretName: string) => string;
1515
+ readonly deleteCanceled: "Delete canceled";
1516
+ readonly selectSecret: "Select the secret you want to delete";
1517
+ readonly errors: {
1518
+ readonly noSecrets: "No secrets found for the given app";
1519
+ };
1520
+ readonly positionals: {
1521
+ readonly name: "Name of the secret";
1522
+ };
1523
+ readonly options: {
1524
+ readonly app: "The app id to delete the secret for";
1525
+ readonly force: "Force the deletion without confirmation";
1526
+ };
1527
+ readonly example: "Delete a secret named \"my-secret\" from the app with ID 1234567890";
1528
+ readonly success: (appName: string, secretName: string) => string;
1529
+ };
1530
+ readonly list: {
1531
+ readonly describe: "List all app secrets.";
1532
+ readonly example: "List all secrets for the app with ID 1234567890";
1533
+ readonly options: {
1534
+ readonly app: "The app id to list the secrets for";
1535
+ };
1536
+ readonly errors: {
1537
+ readonly noSecrets: "No secrets found for the given app";
1538
+ };
1539
+ readonly success: (appName: string) => string;
1540
+ };
1541
+ readonly update: {
1542
+ readonly describe: "Update an app secret.";
1543
+ readonly selectSecret: "Select the secret you want to update";
1544
+ readonly errors: {
1545
+ readonly noSecrets: "No secrets found for the given app";
1546
+ };
1547
+ readonly positionals: {
1548
+ readonly name: "Name of the secret";
1549
+ };
1550
+ readonly options: {
1551
+ readonly app: "The app id to update the secret for";
1552
+ };
1553
+ readonly example: "Update a secret named \"my-secret\" for the app with ID 1234567890";
1554
+ readonly success: (appName: string, secretName: string) => string;
1555
+ };
1299
1556
  };
1300
1557
  };
1301
1558
  };
@@ -1306,8 +1563,8 @@ Profiles enable you to reference variables in your component configuration files
1306
1563
  readonly add: {
1307
1564
  readonly describe: "Create a new secret.";
1308
1565
  readonly errors: {
1309
- readonly add: (secretName: string | number) => string;
1310
- readonly alreadyExists: (secretName: string | number, command: string | number) => string;
1566
+ readonly add: (secretName: string) => string;
1567
+ readonly alreadyExists: (secretName: string, command: string) => string;
1311
1568
  };
1312
1569
  readonly positionals: {
1313
1570
  readonly name: {
@@ -1315,17 +1572,17 @@ Profiles enable you to reference variables in your component configuration files
1315
1572
  };
1316
1573
  };
1317
1574
  readonly success: {
1318
- readonly add: (secretName: string | number, accountIdentifier: string | number) => string;
1575
+ readonly add: (secretName: string, accountIdentifier: string) => string;
1319
1576
  };
1320
1577
  };
1321
1578
  readonly delete: {
1322
1579
  readonly describe: "Delete a secret.";
1323
1580
  readonly selectSecret: "Select the secret you want to delete";
1324
1581
  readonly deleteCanceled: "Delete canceled";
1325
- readonly confirmDelete: (secretName: string | number) => string;
1582
+ readonly confirmDelete: (secretName: string) => string;
1326
1583
  readonly errors: {
1327
- readonly delete: (secretName: string | number) => string;
1328
- readonly noSecret: (secretName: string | number) => string;
1584
+ readonly delete: (secretName: string) => string;
1585
+ readonly noSecret: (secretName: string) => string;
1329
1586
  };
1330
1587
  readonly positionals: {
1331
1588
  readonly name: {
@@ -1333,7 +1590,7 @@ Profiles enable you to reference variables in your component configuration files
1333
1590
  };
1334
1591
  };
1335
1592
  readonly success: {
1336
- readonly delete: (secretName: string | number, accountIdentifier: string | number) => string;
1593
+ readonly delete: (secretName: string, accountIdentifier: string) => string;
1337
1594
  };
1338
1595
  };
1339
1596
  readonly list: {
@@ -1341,14 +1598,14 @@ Profiles enable you to reference variables in your component configuration files
1341
1598
  readonly errors: {
1342
1599
  readonly list: "The secrets could not be listed";
1343
1600
  };
1344
- readonly groupLabel: (accountIdentifier: string | number) => string;
1601
+ readonly groupLabel: (accountIdentifier: string) => string;
1345
1602
  };
1346
1603
  readonly update: {
1347
1604
  readonly describe: "Update an existing secret.";
1348
1605
  readonly selectSecret: "Select the secret you want to update";
1349
1606
  readonly errors: {
1350
- readonly update: (secretName: string | number) => string;
1351
- readonly noSecret: (secretName: string | number) => string;
1607
+ readonly update: (secretName: string) => string;
1608
+ readonly noSecret: (secretName: string) => string;
1352
1609
  };
1353
1610
  readonly positionals: {
1354
1611
  readonly name: {
@@ -1356,7 +1613,7 @@ Profiles enable you to reference variables in your component configuration files
1356
1613
  };
1357
1614
  };
1358
1615
  readonly success: {
1359
- readonly update: (secretName: string | number, accountIdentifier: string | number) => string;
1616
+ readonly update: (secretName: string, accountIdentifier: string) => string;
1360
1617
  readonly updateExplanation: "Existing serverless functions will start using this new value within 10 seconds.";
1361
1618
  };
1362
1619
  };
@@ -1368,31 +1625,29 @@ Profiles enable you to reference variables in your component configuration files
1368
1625
  readonly generateSelectors: {
1369
1626
  readonly describe: "Automatically generates an editor-preview.json file for the given theme. The selectors this command generates are not perfect, so please edit editor-preview.json after running.";
1370
1627
  readonly errors: {
1371
- readonly invalidPath: (themePath: string | number) => string;
1628
+ readonly invalidPath: (themePath: string) => string;
1372
1629
  readonly fieldsNotFound: "Unable to find theme's fields.json.";
1373
1630
  readonly noSelectorsFound: "No selectors found.";
1374
1631
  };
1375
- readonly success: (themePath: string | number, selectorsPath: string | number) => string;
1632
+ readonly success: (themePath: string, selectorsPath: string) => string;
1376
1633
  readonly positionals: {
1377
- readonly path: {
1378
- readonly describe: "The path of the theme you'd like to generate an editor-preview.json for.";
1379
- };
1634
+ readonly path: "The path of the theme you'd like to generate an editor-preview.json for.";
1380
1635
  };
1381
1636
  };
1382
1637
  readonly marketplaceValidate: {
1383
1638
  readonly describe: "Validate a theme for the marketplace.";
1384
1639
  readonly errors: {
1385
- readonly invalidPath: (path: string | number) => string;
1640
+ readonly invalidPath: (path: string) => string;
1386
1641
  };
1387
1642
  readonly logs: {
1388
- readonly validatingTheme: (path: string | number) => string;
1643
+ readonly validatingTheme: (path: string) => string;
1389
1644
  };
1390
1645
  readonly results: {
1391
1646
  readonly required: "Required validation results:";
1392
1647
  readonly recommended: "Recommended validation results:";
1393
1648
  readonly warnings: {
1394
- readonly file: (file: string | number) => string;
1395
- readonly lineNumber: (line: string | number) => string;
1649
+ readonly file: (file: string) => string;
1650
+ readonly lineNumber: (line: string) => string;
1396
1651
  };
1397
1652
  readonly noErrors: "No errors";
1398
1653
  };
@@ -1405,27 +1660,18 @@ Profiles enable you to reference variables in your component configuration files
1405
1660
  readonly preview: {
1406
1661
  readonly describe: "Upload and watch a theme directory on your computer for changes and start a local development server to preview theme changes on a site.";
1407
1662
  readonly errors: {
1408
- readonly invalidPath: (path: string | number) => string;
1663
+ readonly invalidPath: (path: string) => string;
1409
1664
  readonly noThemeComponents: "Your project has no theme components available to preview.";
1665
+ readonly uploadFailed: (src: string, dest: string) => string;
1410
1666
  };
1411
1667
  readonly positionals: {
1412
- readonly src: {
1413
- readonly describe: "Path to the local directory your theme is in, relative to your current working directory";
1414
- };
1415
- readonly dest: {
1416
- readonly describe: "Path in HubSpot Design Tools. Can be a net new path. If you wish to preview a site page using your theme changes it must match the path of the theme used by the site.";
1417
- };
1668
+ readonly src: "Path to the local directory your theme is in, relative to your current working directory";
1669
+ readonly dest: "Path in HubSpot Design Tools. Can be a net new path. If you wish to preview a site page using your theme changes it must match the path of the theme used by the site.";
1418
1670
  };
1419
1671
  readonly options: {
1420
- readonly notify: {
1421
- readonly describe: "Log to specified file when a watch task is triggered and after workers have gone idle. Ex. --notify path/to/file";
1422
- };
1423
- readonly noSsl: {
1424
- readonly describe: "Disable HTTPS";
1425
- };
1426
- readonly port: {
1427
- readonly describe: "The port on which to start the local server";
1428
- };
1672
+ readonly notify: "Log to specified file when a watch task is triggered and after workers have gone idle. Ex. --notify path/to/file";
1673
+ readonly noSsl: "Disable HTTPS";
1674
+ readonly port: "The port on which to start the local server";
1429
1675
  };
1430
1676
  readonly initialUploadProgressBar: {
1431
1677
  readonly start: "Starting...";
@@ -1444,29 +1690,22 @@ Profiles enable you to reference variables in your component configuration files
1444
1690
  readonly marketplaceValidate: {
1445
1691
  readonly describe: "Validate a module for the marketplace. Make sure to include the suffix .module in the path to the module within the Design Manager.";
1446
1692
  readonly errors: {
1447
- readonly invalidPath: (path: string | number) => string;
1693
+ readonly invalidPath: (path: string) => string;
1448
1694
  };
1449
1695
  readonly logs: {
1450
- readonly validatingModule: (path: string | number) => string;
1451
- };
1452
- readonly options: {
1453
- readonly json: {
1454
- readonly describe: "Output raw json data";
1455
- };
1696
+ readonly validatingModule: (path: string) => string;
1456
1697
  };
1457
1698
  readonly results: {
1458
1699
  readonly required: "Required validation results:";
1459
1700
  readonly recommended: "Recommended validation results:";
1460
1701
  readonly warnings: {
1461
- readonly file: (file: string | number) => string;
1462
- readonly lineNumber: (line: string | number) => string;
1702
+ readonly file: (file: string) => string;
1703
+ readonly lineNumber: (line: string) => string;
1463
1704
  };
1464
1705
  readonly noErrors: "No errors";
1465
1706
  };
1466
1707
  readonly positionals: {
1467
- readonly src: {
1468
- readonly describe: "Path to the module within the Design Manager.";
1469
- };
1708
+ readonly src: "Path to the module within the Design Manager.";
1470
1709
  };
1471
1710
  };
1472
1711
  };
@@ -1475,90 +1714,58 @@ Profiles enable you to reference variables in your component configuration files
1475
1714
  readonly describe: "Upload a folder or file from your computer to the HubSpot CMS.";
1476
1715
  readonly errors: {
1477
1716
  readonly destinationRequired: "A destination path needs to be passed";
1478
- readonly fileIgnored: (path: string | number) => string;
1479
- readonly invalidPath: (path: string | number) => string;
1480
- readonly uploadFailed: (src: string | number, dest: string | number) => string;
1481
- readonly someFilesFailed: (dest: string | number) => string;
1482
- readonly deleteFailed: (path: string | number, accountId: string | number) => string;
1717
+ readonly fileIgnored: (path: string) => string;
1718
+ readonly invalidPath: (path: string) => string;
1719
+ readonly uploadFailed: (src: string, dest: string) => string;
1720
+ readonly someFilesFailed: (dest: string) => string;
1721
+ readonly deleteFailed: (path: string, accountId: number) => string;
1483
1722
  };
1484
1723
  readonly options: {
1485
- readonly options: {
1486
- readonly describe: "Options to pass to javascript fields files";
1487
- };
1488
- readonly saveOutput: {
1489
- readonly describe: "If true, saves all output from javascript fields files as 'fields.output.json'.";
1490
- };
1491
- readonly convertFields: {
1492
- readonly describe: "If true, converts any javascript fields files contained in module folder or project root.";
1493
- };
1494
- readonly clean: {
1495
- readonly describe: "Will delete the destination directory and its contents before uploading. This will also clear the global content associated with any global partial templates and modules.";
1496
- };
1497
- readonly force: {
1498
- readonly describe: "Skips confirmation prompts when doing a clean upload.";
1499
- };
1724
+ readonly options: "Options to pass to javascript fields files";
1725
+ readonly saveOutput: "If true, saves all output from javascript fields files as 'fields.output.json'.";
1726
+ readonly convertFields: "If true, converts any javascript fields files contained in module folder or project root.";
1727
+ readonly clean: "Will delete the destination directory and its contents before uploading. This will also clear the global content associated with any global partial templates and modules.";
1728
+ readonly force: "Skips confirmation prompts when doing a clean upload.";
1500
1729
  };
1501
- readonly previewUrl: (previewUrl: string | number) => string;
1730
+ readonly previewUrl: (previewUrl: string) => string;
1502
1731
  readonly positionals: {
1503
- readonly src: {
1504
- readonly describe: "Path to the local file, relative to your current working directory.";
1505
- };
1506
- readonly dest: {
1507
- readonly describe: "Path in HubSpot Design Tools, can be a net new path.";
1508
- };
1732
+ readonly src: "Path to the local file, relative to your current working directory.";
1733
+ readonly dest: "Path in HubSpot Design Tools, can be a net new path.";
1509
1734
  };
1510
1735
  readonly success: {
1511
- readonly fileUploaded: (src: string | number, dest: string | number, accountId: string | number) => string;
1512
- readonly uploadComplete: (dest: string | number) => string;
1736
+ readonly fileUploaded: (src: string, dest: string, accountId: number) => string;
1737
+ readonly uploadComplete: (dest: string) => string;
1513
1738
  };
1514
- readonly uploading: (src: string | number, dest: string | number, accountId: string | number) => string;
1515
- readonly notUploaded: (src: string | number) => string;
1516
- readonly cleaning: (filePath: string | number, accountId: string | number) => string;
1517
- readonly confirmCleanUpload: (filePath: string | number, accountId: string | number) => string;
1739
+ readonly uploading: (src: string, dest: string, accountId: number) => string;
1740
+ readonly notUploaded: (src: string) => string;
1741
+ readonly cleaning: (filePath: string, accountId: number) => string;
1742
+ readonly confirmCleanUpload: (filePath: string, accountId: number) => string;
1518
1743
  };
1519
1744
  readonly watch: {
1520
1745
  readonly describe: "Watch a directory on your computer for changes and upload the changed files to the HubSpot CMS.";
1521
1746
  readonly errors: {
1522
- readonly folderFailed: (src: string | number, dest: string | number, accountId: string | number) => string;
1523
- readonly fileFailed: (file: string | number, dest: string | number, accountId: string | number) => string;
1747
+ readonly folderFailed: (src: string, dest: string, accountId: number) => string;
1748
+ readonly fileFailed: (file: string, dest: string, accountId: number) => string;
1524
1749
  readonly destinationRequired: "A destination directory needs to be passed";
1525
- readonly invalidPath: (path: string | number) => string;
1750
+ readonly invalidPath: (path: string) => string;
1526
1751
  };
1527
1752
  readonly options: {
1528
- readonly disableInitial: {
1529
- readonly describe: "Disable the initial upload when watching a directory (default)";
1530
- };
1531
- readonly initialUpload: {
1532
- readonly describe: "Upload directory before watching for updates";
1533
- };
1534
- readonly notify: {
1535
- readonly describe: "Log to specified file when a watch task is triggered and after workers have gone idle. Ex. --notify path/to/file";
1536
- };
1537
- readonly remove: {
1538
- readonly describe: "Will cause watch to delete files in your HubSpot account that are not found locally.";
1539
- };
1540
- readonly convertFields: {
1541
- readonly describe: "If true, converts any javascript fields files contained in module folder or project root.";
1542
- };
1543
- readonly saveOutput: {
1544
- readonly describe: "If true, saves all output from javascript fields files as 'fields.output.json'.";
1545
- };
1546
- readonly options: {
1547
- readonly describe: "Options to pass to javascript fields files";
1548
- };
1753
+ readonly disableInitial: "Disable the initial upload when watching a directory (default)";
1754
+ readonly initialUpload: "Upload directory before watching for updates";
1755
+ readonly notify: "Log to specified file when a watch task is triggered and after workers have gone idle. Ex. --notify path/to/file";
1756
+ readonly remove: "Will cause watch to delete files in your HubSpot account that are not found locally.";
1757
+ readonly convertFields: "If true, converts any javascript fields files contained in module folder or project root.";
1758
+ readonly saveOutput: "If true, saves all output from javascript fields files as 'fields.output.json'.";
1759
+ readonly options: "Options to pass to javascript fields files";
1549
1760
  };
1550
1761
  readonly positionals: {
1551
- readonly src: {
1552
- readonly describe: "Path to the local directory your files are in, relative to your current working directory";
1553
- };
1554
- readonly dest: {
1555
- readonly describe: "Path in HubSpot Design Tools. Can be a net new path";
1556
- };
1762
+ readonly src: "Path to the local directory your files are in, relative to your current working directory";
1763
+ readonly dest: "Path in HubSpot Design Tools. Can be a net new path";
1557
1764
  };
1558
1765
  readonly warnings: {
1559
- readonly disableInitial: () => string;
1560
- readonly initialUpload: () => string;
1561
- readonly notUploaded: (path: string | number) => string;
1766
+ readonly disableInitial: `Passing the "${string}" option is no longer necessary. Running "${string}" no longer uploads the watched directory by default.`;
1767
+ readonly initialUpload: `To upload the directory run "${string}" beforehand or add the "${string}" option when running "${string}".`;
1768
+ readonly notUploaded: (path: string) => string;
1562
1769
  };
1563
1770
  };
1564
1771
  readonly convertFields: {
@@ -1574,42 +1781,98 @@ Profiles enable you to reference variables in your component configuration files
1574
1781
  };
1575
1782
  };
1576
1783
  readonly errors: {
1577
- readonly invalidPath: (path: string | number) => string;
1784
+ readonly invalidPath: (path: string) => string;
1578
1785
  readonly missingSrc: "Please specify the path to your javascript fields file or directory with the --src flag.";
1579
1786
  };
1580
1787
  };
1788
+ readonly testAccount: {
1789
+ readonly describe: "Commands for working with test accounts.";
1790
+ readonly create: {
1791
+ readonly describe: "Create a test account from a config file";
1792
+ readonly configPathPrompt: "[--config-path] Enter the path to the test account config: ";
1793
+ readonly createTestAccountFromConfigPrompt: "How would you like to create your test account?";
1794
+ readonly createFromConfigOption: "Create test account from config file";
1795
+ readonly createFromScratchOption: "Create test account from scratch";
1796
+ readonly errors: {
1797
+ readonly configFileNotFound: (configPath: string) => string;
1798
+ readonly configFileParseFailed: (configPath: string) => string;
1799
+ readonly failedToCreate: "Failed to create test account";
1800
+ };
1801
+ readonly success: {
1802
+ readonly configFileUpdated: (testAccountName: string, testAccountId: number) => string;
1803
+ };
1804
+ readonly options: {
1805
+ readonly configPath: "The path to the test account config";
1806
+ };
1807
+ readonly example: (configPath: string) => string;
1808
+ };
1809
+ readonly createConfig: {
1810
+ readonly describe: "Create a test account config file.";
1811
+ readonly pathPrompt: "[--path] What is the path to the test account config?";
1812
+ readonly errors: {
1813
+ readonly pathError: "Path is required";
1814
+ readonly pathFormatError: "Path must end with .json";
1815
+ readonly failedToCreate: "Failed to create test account config";
1816
+ readonly pathExistsError: "A file already exists at this path. Please try again with a different path.";
1817
+ };
1818
+ readonly success: {
1819
+ readonly configFileCreated: (path: string) => string;
1820
+ };
1821
+ readonly options: {
1822
+ readonly name: "The name of the test account";
1823
+ readonly description: "The description of the test account";
1824
+ readonly tiers: "The tiers of the test account";
1825
+ readonly path: "The path to the test account config";
1826
+ };
1827
+ readonly example: (name: string) => string;
1828
+ };
1829
+ readonly delete: {
1830
+ readonly describe: "Delete a test account config file.";
1831
+ readonly pathPrompt: "[--path] What is the path to the test account config?";
1832
+ readonly errors: {
1833
+ readonly failedToDelete: "Failed to delete test account";
1834
+ };
1835
+ readonly success: {
1836
+ readonly testAccountDeleted: (testAccountId: number) => string;
1837
+ };
1838
+ readonly positionals: {
1839
+ readonly testAccountId: "The id of the test account";
1840
+ };
1841
+ readonly example: (testAccountId: number) => string;
1842
+ };
1843
+ };
1581
1844
  readonly secrets: {
1582
1845
  readonly add: {
1583
1846
  readonly loading: {
1584
- readonly add: (secretName: string | number) => string;
1585
- readonly fail: (secretName: string | number) => string;
1586
- readonly succeed: (secretName: string | number) => string;
1847
+ readonly add: (secretName: string) => string;
1848
+ readonly fail: (secretName: string) => string;
1849
+ readonly succeed: (secretName: string) => string;
1587
1850
  };
1588
1851
  readonly success: {
1589
- readonly configFileUpdated: (secretName: string | number, authType: string | number) => string;
1852
+ readonly configFileUpdated: (secretName: string, authType: string) => string;
1590
1853
  };
1591
1854
  readonly failure: {
1592
- readonly invalidUser: (secretName: string | number, parentAccountName: string | number) => string;
1855
+ readonly invalidUser: (secretName: string, parentAccountName: string) => string;
1593
1856
  readonly scopes: {
1594
1857
  readonly message: "The personal access key you provided doesn't include secrets permissions.";
1595
- readonly instructions: (secretName: string | number, url: string | number) => string;
1858
+ readonly instructions: (secretName: string, url: string) => string;
1596
1859
  };
1597
1860
  };
1598
1861
  };
1599
1862
  readonly delete: {
1600
1863
  readonly loading: {
1601
- readonly add: (secretName: string | number) => string;
1602
- readonly fail: (secretName: string | number) => string;
1603
- readonly succeed: (secretName: string | number) => string;
1864
+ readonly add: (secretName: string) => string;
1865
+ readonly fail: (secretName: string) => string;
1866
+ readonly succeed: (secretName: string) => string;
1604
1867
  };
1605
1868
  readonly success: {
1606
- readonly configFileUpdated: (secretName: string | number, authType: string | number) => string;
1869
+ readonly configFileUpdated: (secretName: string, authType: string) => string;
1607
1870
  };
1608
1871
  readonly failure: {
1609
- readonly invalidUser: (secretName: string | number, parentAccountName: string | number) => string;
1872
+ readonly invalidUser: (secretName: string, parentAccountName: string) => string;
1610
1873
  readonly scopes: {
1611
1874
  readonly message: "The personal access key you provided doesn't include secrets permissions.";
1612
- readonly instructions: (secretName: string | number, url: string | number) => string;
1875
+ readonly instructions: (secretName: string, url: string) => string;
1613
1876
  };
1614
1877
  };
1615
1878
  };
@@ -1620,13 +1883,13 @@ Profiles enable you to reference variables in your component configuration files
1620
1883
  readonly succeed: () => string;
1621
1884
  };
1622
1885
  readonly success: {
1623
- readonly configFileUpdated: (authType: string | number) => string;
1886
+ readonly configFileUpdated: (authType: string) => string;
1624
1887
  };
1625
1888
  readonly failure: {
1626
- readonly invalidUser: (parentAccountName: string | number) => string;
1889
+ readonly invalidUser: (parentAccountName: string) => string;
1627
1890
  readonly scopes: {
1628
1891
  readonly message: "The personal access key you provided doesn't include secrets permissions.";
1629
- readonly instructions: (url: string | number) => string;
1892
+ readonly instructions: (url: string) => string;
1630
1893
  };
1631
1894
  };
1632
1895
  };
@@ -1634,35 +1897,35 @@ Profiles enable you to reference variables in your component configuration files
1634
1897
  readonly serverless: {
1635
1898
  readonly add: {
1636
1899
  readonly loading: {
1637
- readonly add: (functionName: string | number) => string;
1638
- readonly fail: (functionName: string | number) => string;
1639
- readonly succeed: (functionName: string | number) => string;
1900
+ readonly add: (functionName: string) => string;
1901
+ readonly fail: (functionName: string) => string;
1902
+ readonly succeed: (functionName: string) => string;
1640
1903
  };
1641
1904
  readonly success: {
1642
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1905
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1643
1906
  };
1644
1907
  readonly failure: {
1645
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1908
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1646
1909
  readonly scopes: {
1647
1910
  readonly message: "The personal access key you provided doesn't include serverless function permissions.";
1648
- readonly instructions: (functionName: string | number, url: string | number) => string;
1911
+ readonly instructions: (functionName: string, url: string) => string;
1649
1912
  };
1650
1913
  };
1651
1914
  };
1652
1915
  readonly delete: {
1653
1916
  readonly loading: {
1654
- readonly add: (functionName: string | number) => string;
1655
- readonly fail: (functionName: string | number) => string;
1656
- readonly succeed: (functionName: string | number) => string;
1917
+ readonly add: (functionName: string) => string;
1918
+ readonly fail: (functionName: string) => string;
1919
+ readonly succeed: (functionName: string) => string;
1657
1920
  };
1658
1921
  readonly success: {
1659
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1922
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1660
1923
  };
1661
1924
  readonly failure: {
1662
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1925
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1663
1926
  readonly scopes: {
1664
1927
  readonly message: "The personal access key you provided doesn't include serverless function permissions.";
1665
- readonly instructions: (functionName: string | number, url: string | number) => string;
1928
+ readonly instructions: (functionName: string, url: string) => string;
1666
1929
  };
1667
1930
  };
1668
1931
  };
@@ -1673,13 +1936,13 @@ Profiles enable you to reference variables in your component configuration files
1673
1936
  readonly succeed: () => string;
1674
1937
  };
1675
1938
  readonly success: {
1676
- readonly configFileUpdated: (authType: string | number) => string;
1939
+ readonly configFileUpdated: (authType: string) => string;
1677
1940
  };
1678
1941
  readonly failure: {
1679
- readonly invalidUser: (parentAccountName: string | number) => string;
1942
+ readonly invalidUser: (parentAccountName: string) => string;
1680
1943
  readonly scopes: {
1681
1944
  readonly message: "The personal access key you provided doesn't include serverless function permissions.";
1682
- readonly instructions: (url: string | number) => string;
1945
+ readonly instructions: (url: string) => string;
1683
1946
  };
1684
1947
  };
1685
1948
  };
@@ -1687,35 +1950,35 @@ Profiles enable you to reference variables in your component configuration files
1687
1950
  readonly serverlessFunctionLogs: {
1688
1951
  readonly add: {
1689
1952
  readonly loading: {
1690
- readonly add: (functionName: string | number) => string;
1691
- readonly fail: (functionName: string | number) => string;
1692
- readonly succeed: (functionName: string | number) => string;
1953
+ readonly add: (functionName: string) => string;
1954
+ readonly fail: (functionName: string) => string;
1955
+ readonly succeed: (functionName: string) => string;
1693
1956
  };
1694
1957
  readonly success: {
1695
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1958
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1696
1959
  };
1697
1960
  readonly failure: {
1698
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1961
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1699
1962
  readonly scopes: {
1700
1963
  readonly message: "The personal access key you provided doesn't include serverless function log permissions.";
1701
- readonly instructions: (functionName: string | number, url: string | number) => string;
1964
+ readonly instructions: (functionName: string, url: string) => string;
1702
1965
  };
1703
1966
  };
1704
1967
  };
1705
1968
  readonly delete: {
1706
1969
  readonly loading: {
1707
- readonly add: (functionName: string | number) => string;
1708
- readonly fail: (functionName: string | number) => string;
1709
- readonly succeed: (functionName: string | number) => string;
1970
+ readonly add: (functionName: string) => string;
1971
+ readonly fail: (functionName: string) => string;
1972
+ readonly succeed: (functionName: string) => string;
1710
1973
  };
1711
1974
  readonly success: {
1712
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1975
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1713
1976
  };
1714
1977
  readonly failure: {
1715
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1978
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1716
1979
  readonly scopes: {
1717
1980
  readonly message: "The personal access key you provided doesn't include serverless function log permissions.";
1718
- readonly instructions: (functionName: string | number, url: string | number) => string;
1981
+ readonly instructions: (functionName: string, url: string) => string;
1719
1982
  };
1720
1983
  };
1721
1984
  };
@@ -1726,13 +1989,13 @@ Profiles enable you to reference variables in your component configuration files
1726
1989
  readonly succeed: () => string;
1727
1990
  };
1728
1991
  readonly success: {
1729
- readonly configFileUpdated: (authType: string | number) => string;
1992
+ readonly configFileUpdated: (authType: string) => string;
1730
1993
  };
1731
1994
  readonly failure: {
1732
- readonly invalidUser: (parentAccountName: string | number) => string;
1995
+ readonly invalidUser: (parentAccountName: string) => string;
1733
1996
  readonly scopes: {
1734
1997
  readonly message: "The personal access key you provided doesn't include serverless function log permissions.";
1735
- readonly instructions: (url: string | number) => string;
1998
+ readonly instructions: (url: string) => string;
1736
1999
  };
1737
2000
  };
1738
2001
  };
@@ -1740,35 +2003,35 @@ Profiles enable you to reference variables in your component configuration files
1740
2003
  readonly serverlessFunctionMetrics: {
1741
2004
  readonly add: {
1742
2005
  readonly loading: {
1743
- readonly add: (functionName: string | number) => string;
1744
- readonly fail: (functionName: string | number) => string;
1745
- readonly succeed: (functionName: string | number) => string;
2006
+ readonly add: (functionName: string) => string;
2007
+ readonly fail: (functionName: string) => string;
2008
+ readonly succeed: (functionName: string) => string;
1746
2009
  };
1747
2010
  readonly success: {
1748
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2011
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1749
2012
  };
1750
2013
  readonly failure: {
1751
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2014
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1752
2015
  readonly scopes: {
1753
2016
  readonly message: "The personal access key you provided doesn't include serverless function metric permissions.";
1754
- readonly instructions: (functionName: string | number, url: string | number) => string;
2017
+ readonly instructions: (functionName: string, url: string) => string;
1755
2018
  };
1756
2019
  };
1757
2020
  };
1758
2021
  readonly delete: {
1759
2022
  readonly loading: {
1760
- readonly add: (functionName: string | number) => string;
1761
- readonly fail: (functionName: string | number) => string;
1762
- readonly succeed: (functionName: string | number) => string;
2023
+ readonly add: (functionName: string) => string;
2024
+ readonly fail: (functionName: string) => string;
2025
+ readonly succeed: (functionName: string) => string;
1763
2026
  };
1764
2027
  readonly success: {
1765
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2028
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1766
2029
  };
1767
2030
  readonly failure: {
1768
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2031
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1769
2032
  readonly scopes: {
1770
2033
  readonly message: "The personal access key you provided doesn't include serverless function metric permissions.";
1771
- readonly instructions: (functionName: string | number, url: string | number) => string;
2034
+ readonly instructions: (functionName: string, url: string) => string;
1772
2035
  };
1773
2036
  };
1774
2037
  };
@@ -1779,13 +2042,13 @@ Profiles enable you to reference variables in your component configuration files
1779
2042
  readonly succeed: () => string;
1780
2043
  };
1781
2044
  readonly success: {
1782
- readonly configFileUpdated: (authType: string | number) => string;
2045
+ readonly configFileUpdated: (authType: string) => string;
1783
2046
  };
1784
2047
  readonly failure: {
1785
- readonly invalidUser: (parentAccountName: string | number) => string;
2048
+ readonly invalidUser: (parentAccountName: string) => string;
1786
2049
  readonly scopes: {
1787
2050
  readonly message: "The personal access key you provided doesn't include serverless function metric permissions.";
1788
- readonly instructions: (url: string | number) => string;
2051
+ readonly instructions: (url: string) => string;
1789
2052
  };
1790
2053
  };
1791
2054
  };
@@ -1793,35 +2056,35 @@ Profiles enable you to reference variables in your component configuration files
1793
2056
  readonly serverlessFunctionSettings: {
1794
2057
  readonly add: {
1795
2058
  readonly loading: {
1796
- readonly add: (functionName: string | number) => string;
1797
- readonly fail: (functionName: string | number) => string;
1798
- readonly succeed: (functionName: string | number) => string;
2059
+ readonly add: (functionName: string) => string;
2060
+ readonly fail: (functionName: string) => string;
2061
+ readonly succeed: (functionName: string) => string;
1799
2062
  };
1800
2063
  readonly success: {
1801
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2064
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1802
2065
  };
1803
2066
  readonly failure: {
1804
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2067
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1805
2068
  readonly scopes: {
1806
2069
  readonly message: "The personal access key you provided doesn't include serverless function setting permissions.";
1807
- readonly instructions: (functionName: string | number, url: string | number) => string;
2070
+ readonly instructions: (functionName: string, url: string) => string;
1808
2071
  };
1809
2072
  };
1810
2073
  };
1811
2074
  readonly delete: {
1812
2075
  readonly loading: {
1813
- readonly add: (functionName: string | number) => string;
1814
- readonly fail: (functionName: string | number) => string;
1815
- readonly succeed: (functionName: string | number) => string;
2076
+ readonly add: (functionName: string) => string;
2077
+ readonly fail: (functionName: string) => string;
2078
+ readonly succeed: (functionName: string) => string;
1816
2079
  };
1817
2080
  readonly success: {
1818
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2081
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1819
2082
  };
1820
2083
  readonly failure: {
1821
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2084
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1822
2085
  readonly scopes: {
1823
2086
  readonly message: "The personal access key you provided doesn't include serverless function setting permissions.";
1824
- readonly instructions: (functionName: string | number, url: string | number) => string;
2087
+ readonly instructions: (functionName: string, url: string) => string;
1825
2088
  };
1826
2089
  };
1827
2090
  };
@@ -1832,13 +2095,13 @@ Profiles enable you to reference variables in your component configuration files
1832
2095
  readonly succeed: () => string;
1833
2096
  };
1834
2097
  readonly success: {
1835
- readonly configFileUpdated: (authType: string | number) => string;
2098
+ readonly configFileUpdated: (authType: string) => string;
1836
2099
  };
1837
2100
  readonly failure: {
1838
- readonly invalidUser: (parentAccountName: string | number) => string;
2101
+ readonly invalidUser: (parentAccountName: string) => string;
1839
2102
  readonly scopes: {
1840
2103
  readonly message: "The personal access key you provided doesn't include serverless function setting permissions.";
1841
- readonly instructions: (url: string | number) => string;
2104
+ readonly instructions: (url: string) => string;
1842
2105
  };
1843
2106
  };
1844
2107
  };
@@ -1846,35 +2109,35 @@ Profiles enable you to reference variables in your component configuration files
1846
2109
  readonly serverlessFunctionVersions: {
1847
2110
  readonly add: {
1848
2111
  readonly loading: {
1849
- readonly add: (functionName: string | number) => string;
1850
- readonly fail: (functionName: string | number) => string;
1851
- readonly succeed: (functionName: string | number) => string;
2112
+ readonly add: (functionName: string) => string;
2113
+ readonly fail: (functionName: string) => string;
2114
+ readonly succeed: (functionName: string) => string;
1852
2115
  };
1853
2116
  readonly success: {
1854
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2117
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1855
2118
  };
1856
2119
  readonly failure: {
1857
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2120
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1858
2121
  readonly scopes: {
1859
2122
  readonly message: "The personal access key you provided doesn't include serverless function version permissions.";
1860
- readonly instructions: (functionName: string | number, url: string | number) => string;
2123
+ readonly instructions: (functionName: string, url: string) => string;
1861
2124
  };
1862
2125
  };
1863
2126
  };
1864
2127
  readonly delete: {
1865
2128
  readonly loading: {
1866
- readonly add: (functionName: string | number) => string;
1867
- readonly fail: (functionName: string | number) => string;
1868
- readonly succeed: (functionName: string | number) => string;
2129
+ readonly add: (functionName: string) => string;
2130
+ readonly fail: (functionName: string) => string;
2131
+ readonly succeed: (functionName: string) => string;
1869
2132
  };
1870
2133
  readonly success: {
1871
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2134
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1872
2135
  };
1873
2136
  readonly failure: {
1874
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2137
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1875
2138
  readonly scopes: {
1876
2139
  readonly message: "The personal access key you provided doesn't include serverless function version permissions.";
1877
- readonly instructions: (functionName: string | number, url: string | number) => string;
2140
+ readonly instructions: (functionName: string, url: string) => string;
1878
2141
  };
1879
2142
  };
1880
2143
  };
@@ -1885,13 +2148,13 @@ Profiles enable you to reference variables in your component configuration files
1885
2148
  readonly succeed: () => string;
1886
2149
  };
1887
2150
  readonly success: {
1888
- readonly configFileUpdated: (authType: string | number) => string;
2151
+ readonly configFileUpdated: (authType: string) => string;
1889
2152
  };
1890
2153
  readonly failure: {
1891
- readonly invalidUser: (parentAccountName: string | number) => string;
2154
+ readonly invalidUser: (parentAccountName: string) => string;
1892
2155
  readonly scopes: {
1893
2156
  readonly message: "The personal access key you provided doesn't include serverless function version permissions.";
1894
- readonly instructions: (url: string | number) => string;
2157
+ readonly instructions: (url: string) => string;
1895
2158
  };
1896
2159
  };
1897
2160
  };
@@ -1899,35 +2162,35 @@ Profiles enable you to reference variables in your component configuration files
1899
2162
  readonly serverlessFunctionWebhooks: {
1900
2163
  readonly add: {
1901
2164
  readonly loading: {
1902
- readonly add: (functionName: string | number) => string;
1903
- readonly fail: (functionName: string | number) => string;
1904
- readonly succeed: (functionName: string | number) => string;
2165
+ readonly add: (functionName: string) => string;
2166
+ readonly fail: (functionName: string) => string;
2167
+ readonly succeed: (functionName: string) => string;
1905
2168
  };
1906
2169
  readonly success: {
1907
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2170
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1908
2171
  };
1909
2172
  readonly failure: {
1910
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2173
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1911
2174
  readonly scopes: {
1912
2175
  readonly message: "The personal access key you provided doesn't include serverless function webhook permissions.";
1913
- readonly instructions: (functionName: string | number, url: string | number) => string;
2176
+ readonly instructions: (functionName: string, url: string) => string;
1914
2177
  };
1915
2178
  };
1916
2179
  };
1917
2180
  readonly delete: {
1918
2181
  readonly loading: {
1919
- readonly add: (functionName: string | number) => string;
1920
- readonly fail: (functionName: string | number) => string;
1921
- readonly succeed: (functionName: string | number) => string;
2182
+ readonly add: (functionName: string) => string;
2183
+ readonly fail: (functionName: string) => string;
2184
+ readonly succeed: (functionName: string) => string;
1922
2185
  };
1923
2186
  readonly success: {
1924
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2187
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1925
2188
  };
1926
2189
  readonly failure: {
1927
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2190
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1928
2191
  readonly scopes: {
1929
2192
  readonly message: "The personal access key you provided doesn't include serverless function webhook permissions.";
1930
- readonly instructions: (functionName: string | number, url: string | number) => string;
2193
+ readonly instructions: (functionName: string, url: string) => string;
1931
2194
  };
1932
2195
  };
1933
2196
  };
@@ -1938,13 +2201,13 @@ Profiles enable you to reference variables in your component configuration files
1938
2201
  readonly succeed: () => string;
1939
2202
  };
1940
2203
  readonly success: {
1941
- readonly configFileUpdated: (authType: string | number) => string;
2204
+ readonly configFileUpdated: (authType: string) => string;
1942
2205
  };
1943
2206
  readonly failure: {
1944
- readonly invalidUser: (parentAccountName: string | number) => string;
2207
+ readonly invalidUser: (parentAccountName: string) => string;
1945
2208
  readonly scopes: {
1946
2209
  readonly message: "The personal access key you provided doesn't include serverless function webhook permissions.";
1947
- readonly instructions: (url: string | number) => string;
2210
+ readonly instructions: (url: string) => string;
1948
2211
  };
1949
2212
  };
1950
2213
  };
@@ -1952,35 +2215,35 @@ Profiles enable you to reference variables in your component configuration files
1952
2215
  readonly serverlessFunctionWebhookSubscriptions: {
1953
2216
  readonly add: {
1954
2217
  readonly loading: {
1955
- readonly add: (functionName: string | number) => string;
1956
- readonly fail: (functionName: string | number) => string;
1957
- readonly succeed: (functionName: string | number) => string;
2218
+ readonly add: (functionName: string) => string;
2219
+ readonly fail: (functionName: string) => string;
2220
+ readonly succeed: (functionName: string) => string;
1958
2221
  };
1959
2222
  readonly success: {
1960
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2223
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1961
2224
  };
1962
2225
  readonly failure: {
1963
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2226
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1964
2227
  readonly scopes: {
1965
2228
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription permissions.";
1966
- readonly instructions: (functionName: string | number, url: string | number) => string;
2229
+ readonly instructions: (functionName: string, url: string) => string;
1967
2230
  };
1968
2231
  };
1969
2232
  };
1970
2233
  readonly delete: {
1971
2234
  readonly loading: {
1972
- readonly add: (functionName: string | number) => string;
1973
- readonly fail: (functionName: string | number) => string;
1974
- readonly succeed: (functionName: string | number) => string;
2235
+ readonly add: (functionName: string) => string;
2236
+ readonly fail: (functionName: string) => string;
2237
+ readonly succeed: (functionName: string) => string;
1975
2238
  };
1976
2239
  readonly success: {
1977
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2240
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1978
2241
  };
1979
2242
  readonly failure: {
1980
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2243
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1981
2244
  readonly scopes: {
1982
2245
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription permissions.";
1983
- readonly instructions: (functionName: string | number, url: string | number) => string;
2246
+ readonly instructions: (functionName: string, url: string) => string;
1984
2247
  };
1985
2248
  };
1986
2249
  };
@@ -1991,13 +2254,13 @@ Profiles enable you to reference variables in your component configuration files
1991
2254
  readonly succeed: () => string;
1992
2255
  };
1993
2256
  readonly success: {
1994
- readonly configFileUpdated: (authType: string | number) => string;
2257
+ readonly configFileUpdated: (authType: string) => string;
1995
2258
  };
1996
2259
  readonly failure: {
1997
- readonly invalidUser: (parentAccountName: string | number) => string;
2260
+ readonly invalidUser: (parentAccountName: string) => string;
1998
2261
  readonly scopes: {
1999
2262
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription permissions.";
2000
- readonly instructions: (url: string | number) => string;
2263
+ readonly instructions: (url: string) => string;
2001
2264
  };
2002
2265
  };
2003
2266
  };
@@ -2005,35 +2268,35 @@ Profiles enable you to reference variables in your component configuration files
2005
2268
  readonly serverlessFunctionWebhookSubscriptionEvents: {
2006
2269
  readonly add: {
2007
2270
  readonly loading: {
2008
- readonly add: (functionName: string | number) => string;
2009
- readonly fail: (functionName: string | number) => string;
2010
- readonly succeed: (functionName: string | number) => string;
2271
+ readonly add: (functionName: string) => string;
2272
+ readonly fail: (functionName: string) => string;
2273
+ readonly succeed: (functionName: string) => string;
2011
2274
  };
2012
2275
  readonly success: {
2013
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2276
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2014
2277
  };
2015
2278
  readonly failure: {
2016
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2279
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2017
2280
  readonly scopes: {
2018
2281
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event permissions.";
2019
- readonly instructions: (functionName: string | number, url: string | number) => string;
2282
+ readonly instructions: (functionName: string, url: string) => string;
2020
2283
  };
2021
2284
  };
2022
2285
  };
2023
2286
  readonly delete: {
2024
2287
  readonly loading: {
2025
- readonly add: (functionName: string | number) => string;
2026
- readonly fail: (functionName: string | number) => string;
2027
- readonly succeed: (functionName: string | number) => string;
2288
+ readonly add: (functionName: string) => string;
2289
+ readonly fail: (functionName: string) => string;
2290
+ readonly succeed: (functionName: string) => string;
2028
2291
  };
2029
2292
  readonly success: {
2030
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2293
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2031
2294
  };
2032
2295
  readonly failure: {
2033
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2296
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2034
2297
  readonly scopes: {
2035
2298
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event permissions.";
2036
- readonly instructions: (functionName: string | number, url: string | number) => string;
2299
+ readonly instructions: (functionName: string, url: string) => string;
2037
2300
  };
2038
2301
  };
2039
2302
  };
@@ -2044,13 +2307,13 @@ Profiles enable you to reference variables in your component configuration files
2044
2307
  readonly succeed: () => string;
2045
2308
  };
2046
2309
  readonly success: {
2047
- readonly configFileUpdated: (authType: string | number) => string;
2310
+ readonly configFileUpdated: (authType: string) => string;
2048
2311
  };
2049
2312
  readonly failure: {
2050
- readonly invalidUser: (parentAccountName: string | number) => string;
2313
+ readonly invalidUser: (parentAccountName: string) => string;
2051
2314
  readonly scopes: {
2052
2315
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event permissions.";
2053
- readonly instructions: (url: string | number) => string;
2316
+ readonly instructions: (url: string) => string;
2054
2317
  };
2055
2318
  };
2056
2319
  };
@@ -2058,35 +2321,35 @@ Profiles enable you to reference variables in your component configuration files
2058
2321
  readonly serverlessFunctionWebhookSubscriptionEventTypes: {
2059
2322
  readonly add: {
2060
2323
  readonly loading: {
2061
- readonly add: (functionName: string | number) => string;
2062
- readonly fail: (functionName: string | number) => string;
2063
- readonly succeed: (functionName: string | number) => string;
2324
+ readonly add: (functionName: string) => string;
2325
+ readonly fail: (functionName: string) => string;
2326
+ readonly succeed: (functionName: string) => string;
2064
2327
  };
2065
2328
  readonly success: {
2066
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2329
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2067
2330
  };
2068
2331
  readonly failure: {
2069
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2332
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2070
2333
  readonly scopes: {
2071
2334
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type permissions.";
2072
- readonly instructions: (functionName: string | number, url: string | number) => string;
2335
+ readonly instructions: (functionName: string, url: string) => string;
2073
2336
  };
2074
2337
  };
2075
2338
  };
2076
2339
  readonly delete: {
2077
2340
  readonly loading: {
2078
- readonly add: (functionName: string | number) => string;
2079
- readonly fail: (functionName: string | number) => string;
2080
- readonly succeed: (functionName: string | number) => string;
2341
+ readonly add: (functionName: string) => string;
2342
+ readonly fail: (functionName: string) => string;
2343
+ readonly succeed: (functionName: string) => string;
2081
2344
  };
2082
2345
  readonly success: {
2083
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2346
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2084
2347
  };
2085
2348
  readonly failure: {
2086
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2349
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2087
2350
  readonly scopes: {
2088
2351
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type permissions.";
2089
- readonly instructions: (functionName: string | number, url: string | number) => string;
2352
+ readonly instructions: (functionName: string, url: string) => string;
2090
2353
  };
2091
2354
  };
2092
2355
  };
@@ -2097,13 +2360,13 @@ Profiles enable you to reference variables in your component configuration files
2097
2360
  readonly succeed: () => string;
2098
2361
  };
2099
2362
  readonly success: {
2100
- readonly configFileUpdated: (authType: string | number) => string;
2363
+ readonly configFileUpdated: (authType: string) => string;
2101
2364
  };
2102
2365
  readonly failure: {
2103
- readonly invalidUser: (parentAccountName: string | number) => string;
2366
+ readonly invalidUser: (parentAccountName: string) => string;
2104
2367
  readonly scopes: {
2105
2368
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type permissions.";
2106
- readonly instructions: (url: string | number) => string;
2369
+ readonly instructions: (url: string) => string;
2107
2370
  };
2108
2371
  };
2109
2372
  };
@@ -2111,35 +2374,35 @@ Profiles enable you to reference variables in your component configuration files
2111
2374
  readonly serverlessFunctionWebhookSubscriptionEventTypeOptions: {
2112
2375
  readonly add: {
2113
2376
  readonly loading: {
2114
- readonly add: (functionName: string | number) => string;
2115
- readonly fail: (functionName: string | number) => string;
2116
- readonly succeed: (functionName: string | number) => string;
2377
+ readonly add: (functionName: string) => string;
2378
+ readonly fail: (functionName: string) => string;
2379
+ readonly succeed: (functionName: string) => string;
2117
2380
  };
2118
2381
  readonly success: {
2119
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2382
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2120
2383
  };
2121
2384
  readonly failure: {
2122
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2385
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2123
2386
  readonly scopes: {
2124
2387
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type option permissions.";
2125
- readonly instructions: (functionName: string | number, url: string | number) => string;
2388
+ readonly instructions: (functionName: string, url: string) => string;
2126
2389
  };
2127
2390
  };
2128
2391
  };
2129
2392
  readonly delete: {
2130
2393
  readonly loading: {
2131
- readonly add: (functionName: string | number) => string;
2132
- readonly fail: (functionName: string | number) => string;
2133
- readonly succeed: (functionName: string | number) => string;
2394
+ readonly add: (functionName: string) => string;
2395
+ readonly fail: (functionName: string) => string;
2396
+ readonly succeed: (functionName: string) => string;
2134
2397
  };
2135
2398
  readonly success: {
2136
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2399
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2137
2400
  };
2138
2401
  readonly failure: {
2139
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2402
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2140
2403
  readonly scopes: {
2141
2404
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type option permissions.";
2142
- readonly instructions: (functionName: string | number, url: string | number) => string;
2405
+ readonly instructions: (functionName: string, url: string) => string;
2143
2406
  };
2144
2407
  };
2145
2408
  };
@@ -2150,13 +2413,13 @@ Profiles enable you to reference variables in your component configuration files
2150
2413
  readonly succeed: () => string;
2151
2414
  };
2152
2415
  readonly success: {
2153
- readonly configFileUpdated: (authType: string | number) => string;
2416
+ readonly configFileUpdated: (authType: string) => string;
2154
2417
  };
2155
2418
  readonly failure: {
2156
- readonly invalidUser: (parentAccountName: string | number) => string;
2419
+ readonly invalidUser: (parentAccountName: string) => string;
2157
2420
  readonly scopes: {
2158
2421
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type option permissions.";
2159
- readonly instructions: (url: string | number) => string;
2422
+ readonly instructions: (url: string) => string;
2160
2423
  };
2161
2424
  };
2162
2425
  };
@@ -2164,22 +2427,24 @@ Profiles enable you to reference variables in your component configuration files
2164
2427
  };
2165
2428
  export declare const lib: {
2166
2429
  readonly process: {
2167
- readonly exitDebug: (signal: string | number) => string;
2430
+ readonly exitDebug: (signal: string) => string;
2168
2431
  };
2169
2432
  readonly DevServerManager: {
2170
- readonly portConflict: (port: string | number) => string;
2433
+ readonly portConflict: (port: string) => string;
2171
2434
  readonly notInitialized: "The Dev Server Manager must be initialized before it is started.";
2172
- readonly noCompatibleComponents: (serverKey: string | number) => string;
2435
+ readonly noCompatibleComponents: (serverKey: string) => string;
2173
2436
  };
2174
2437
  readonly LocalDevManager: {
2438
+ readonly appNotFound: (accountId: number, appUid: string | undefined) => string;
2175
2439
  readonly failedToInitialize: "Missing required arguments to initialize Local Dev";
2176
- readonly noDeployedBuild: (projectName: string | number, accountIdentifier: string | number, uploadCommand: string | number) => string;
2440
+ readonly noDeployedBuild: (projectName: string, accountIdentifier: string, uploadCommand: string) => string;
2177
2441
  readonly noComponents: "There are no components in this project.";
2178
2442
  readonly betaMessage: "HubSpot projects local development";
2179
- readonly learnMoreLocalDevServer: "Learn more about the projects local dev server";
2180
- readonly running: (projectName: string | number, accountIdentifier: string | number) => string;
2443
+ readonly learnMoreLocalDevServer: string;
2444
+ readonly running: (projectName: string, accountIdentifier: string) => string;
2181
2445
  readonly quitHelper: `Press ${string} to stop the local dev server`;
2182
- readonly viewProjectLink: "View project in HubSpot";
2446
+ readonly viewProjectLink: (name: string, accountId: number) => string;
2447
+ readonly viewLocalDevUILink: (accountId: number) => string;
2183
2448
  readonly viewTestAccountLink: "View developer test account in HubSpot";
2184
2449
  readonly exitingStart: "Stopping local dev server ...";
2185
2450
  readonly exitingSucceed: "Successfully exited";
@@ -2188,29 +2453,55 @@ export declare const lib: {
2188
2453
  readonly uploadWarning: {
2189
2454
  readonly appLabel: "[App]";
2190
2455
  readonly uiExtensionLabel: "[UI Extension]";
2191
- readonly missingComponents: (missingComponents: string | number) => string;
2456
+ readonly missingComponents: (missingComponents: string) => string;
2192
2457
  readonly defaultWarning: string;
2193
- readonly defaultPublicAppWarning: (installCount: string | number, installText: string | number) => string;
2194
- readonly header: (warning: string | number) => string;
2458
+ readonly defaultPublicAppWarning: (installCount: number, installText: string) => string;
2459
+ readonly header: (warning: string) => string;
2460
+ readonly instructionsHeader: "To reflect these changes and continue testing:";
2195
2461
  readonly stopDev: ` * Stop ${string}`;
2196
- readonly runUpload: (command: string | number) => string;
2462
+ readonly runUpload: (command: string) => string;
2197
2463
  readonly restartDev: ` * Re-run ${string}`;
2198
2464
  readonly pushToGithub: " * Commit and push your changes to GitHub";
2199
- readonly defaultMarketplaceAppWarning: (installCount: string | number, accountText: string | number) => string;
2465
+ readonly defaultMarketplaceAppWarning: (installCount: number, accountText: string) => string;
2200
2466
  };
2201
2467
  readonly activeInstallWarning: {
2202
- readonly installCount: (appName: string | number, installCount: string | number, installText: string | number) => string;
2468
+ readonly installCount: (appName: string, installCount: number) => string;
2203
2469
  readonly explanation: "Some changes made during local development may need to be synced to HubSpot, which will impact those existing installs. We strongly recommend creating a copy of this app to use instead.";
2204
2470
  readonly confirmation: "You will always be asked to confirm any permanent changes to your app's configuration before uploading them.";
2205
2471
  readonly confirmationPrompt: `Proceed with local development of this ${string} app?`;
2206
2472
  };
2207
2473
  readonly devServer: {
2208
- readonly cleanupError: (message: string | number) => string;
2209
- readonly setupError: (message: string | number) => string;
2210
- readonly startError: (message: string | number) => string;
2211
- readonly fileChangeError: (message: string | number) => string;
2474
+ readonly cleanupError: (message: string) => string;
2475
+ readonly setupError: (message: string) => string;
2476
+ readonly startError: (message: string) => string;
2477
+ readonly fileChangeError: (message: string) => string;
2212
2478
  };
2213
2479
  };
2480
+ readonly AppDevModeInterface: {
2481
+ readonly defaultMarketplaceAppWarning: (installCount: number) => string;
2482
+ readonly autoInstallDeclined: "You must install your app on your target test account to proceed with local development.";
2483
+ readonly autoInstallSuccess: (appName: string, targetTestAccountId: number) => string;
2484
+ readonly autoInstallError: (appName: string, targetTestAccountId: number) => string;
2485
+ };
2486
+ readonly LocalDevWebsocketServer: {
2487
+ readonly errors: {
2488
+ readonly notInitialized: (prefix: string) => string;
2489
+ readonly missingTypeField: (data: string) => string;
2490
+ readonly unknownMessageType: (type: string) => string;
2491
+ readonly invalidJSON: (data: string) => string;
2492
+ readonly portManagerNotRunning: (prefix: string) => string;
2493
+ readonly originNotAllowed: (origin?: string) => string;
2494
+ };
2495
+ readonly logs: {
2496
+ readonly startup: (port: number) => string;
2497
+ };
2498
+ };
2499
+ readonly LocalDevProcess: {
2500
+ readonly projectConfigMismatch: `Unable to upload project. The project config has been modified since starting ${string}.`;
2501
+ readonly uploadInitiated: "Project upload initiated from Local Dev UI.";
2502
+ readonly uploadFailed: "Project upload failed. To proceed with local development, fix any necessary errors, then re-upload your project.";
2503
+ readonly uploadSuccess: "Project upload completed successfully. Resuming local dev...";
2504
+ };
2214
2505
  readonly localDevHelpers: {
2215
2506
  readonly confirmDefaultAccountIsTarget: {
2216
2507
  readonly configError: `An error occurred while reading the default account from your config. Run ${string} to re-auth this account`;
@@ -2227,12 +2518,12 @@ export declare const lib: {
2227
2518
  readonly publicAppNonDeveloperTestAccountWarning: `Local development of public apps is only supported in ${string}.`;
2228
2519
  };
2229
2520
  readonly createNewProjectForLocalDev: {
2230
- readonly projectMustExistExplanation: (projectName: string | number, accountIdentifier: string | number) => string;
2231
- readonly publicAppProjectMustExistExplanation: (projectName: string | number, accountIdentifier: string | number) => string;
2232
- readonly createProject: (projectName: string | number, accountIdentifier: string | number) => string;
2521
+ readonly projectMustExistExplanation: (projectName: string, accountId: number) => string;
2522
+ readonly publicAppProjectMustExistExplanation: (projectName: string, accountId: number) => string;
2523
+ readonly createProject: (projectName: string, accountIdentifier: string) => string;
2233
2524
  readonly choseNotToCreateProject: "Exiting because this command requires the project to exist in the target account.";
2234
- readonly creatingProject: (projectName: string | number, accountIdentifier: string | number) => string;
2235
- readonly createdProject: (projectName: string | number, accountIdentifier: string | number) => string;
2525
+ readonly creatingProject: (projectName: string, accountIdentifier: string) => string;
2526
+ readonly createdProject: (projectName: string, accountIdentifier: string) => string;
2236
2527
  readonly failedToCreateProject: "Failed to create project in the target account.";
2237
2528
  };
2238
2529
  readonly createInitialBuildForNewProject: {
@@ -2241,34 +2532,86 @@ export declare const lib: {
2241
2532
  readonly genericError: `An error occurred while creating the initial build for this project. Run ${string} to try again.`;
2242
2533
  };
2243
2534
  readonly checkIfParentAccountIsAuthed: {
2244
- readonly notAuthedError: (parentAccountId: string | number, accountIdentifier: string | number) => string;
2535
+ readonly notAuthedError: (parentAccountId: number | string, accountIdentifier: string) => string;
2536
+ };
2537
+ readonly selectAccountTypePrompt: {
2538
+ readonly message: "[--account] Choose the type of account to test on";
2539
+ readonly developerTestAccountOption: "Test on a developer test account";
2540
+ readonly sandboxAccountOption: "Test on a sandbox account";
2541
+ readonly sandboxAccountOptionDisabled: "Disabled - requires access to sandbox accounts";
2542
+ readonly productionAccountOption: `<${string} Test on this account ${string}>`;
2543
+ };
2544
+ };
2545
+ readonly middleware: {
2546
+ readonly updateNotification: {
2547
+ readonly notifyTitle: string;
2548
+ readonly cmsUpdateNotification: (packageName: string) => string;
2549
+ readonly cliUpdateNotification: `HubSpot CLI version ${string} is outdated.
2550
+ Run ${string} to upgrade to version ${string}`;
2551
+ };
2552
+ readonly autoUpdateCLI: {
2553
+ readonly updateAvailable: (latestVersion: string) => string;
2554
+ readonly updateSucceeded: (latestVersion: string) => string;
2555
+ readonly notInstalledGlobally: "Cannot auto-update the HubSpot CLI because NPM is not installed globally";
2556
+ readonly updateFailed: (latestVersion: string) => string;
2557
+ };
2558
+ };
2559
+ readonly projectProfiles: {
2560
+ readonly logs: {
2561
+ readonly usingProfile: (profileName: string) => string;
2562
+ readonly profileTargetAccount: (accountId: number) => string;
2563
+ readonly profileVariables: "Profile variables";
2564
+ };
2565
+ readonly exitIfUsingProfiles: {
2566
+ readonly errors: {
2567
+ readonly noProfileSpecified: `This project is configured to use profiles, but no profile was specified. Target a profile using the ${string} flag.`;
2568
+ };
2569
+ };
2570
+ readonly loadProfile: {
2571
+ readonly errors: {
2572
+ readonly noProjectConfig: "No project config found. Please run this command from a project directory.";
2573
+ readonly profileNotFound: (profileName: string) => string;
2574
+ readonly missingAccountId: (profileName: string) => string;
2575
+ readonly failedToLoadProfile: (profileName: string) => string;
2576
+ };
2245
2577
  };
2246
2578
  };
2247
2579
  readonly projects: {
2248
2580
  readonly create: {
2581
+ readonly prompt: {
2582
+ readonly marketPlaceDistribution: "On the HubSpot marketplace";
2583
+ readonly privateDistribution: "Privately";
2584
+ readonly distribution: "[--distribution] How would you like to distribute your application?";
2585
+ readonly auth: "[--auth] What type of authentication would you like your application to use";
2586
+ readonly staticAuth: "Static Auth";
2587
+ readonly oauth: "OAuth";
2588
+ };
2249
2589
  readonly errors: {
2250
2590
  readonly noProjectsInConfig: "Unable to find any projects in the target repository's config.json file. Please ensure that there is a \"projects\" array in the config file.";
2251
2591
  readonly missingConfigFileTemplateSource: "Failed to fetch the config.json file from the target repository. Please ensure that there is a valid config.json file at the root of the repository and try again.";
2252
- readonly missingPropertiesInConfig: "Found misconfigured projects in the target repository's config.json file. Please ensure that each project in the target repository's config.json file contains the following properties: [\"name\", \"label\", \"path\", \"insertPath\"].";
2592
+ readonly missingPropertiesInConfig: "Found misconfigured projects in the target repository's config.json file. Please ensure that each project in the target repository's config.json file contains the following properties: [\"name\", \"label\", \"path\"].";
2593
+ readonly exceededMaxNumberOfApps: (max: number) => string;
2594
+ readonly unableToParseAppConfig: (file: string) => string;
2595
+ readonly invalidAuthDistCombo: (authType: string, distribution: string) => string;
2253
2596
  };
2254
2597
  };
2255
2598
  readonly validateProjectConfig: {
2256
2599
  readonly configNotFound: `Unable to locate a project configuration file. Try running again from a project directory, or run ${string} to create a new project.`;
2257
2600
  readonly configMissingFields: "The project configuration file is missing required fields.";
2258
- readonly srcDirNotFound: (srcDir: string | number, projectDir: string | number) => string;
2259
- readonly srcOutsideProjectDir: (projectConfig: string | number, srcDir: string | number) => string;
2601
+ readonly srcDirNotFound: (srcDir: string, projectDir: string) => string;
2602
+ readonly srcOutsideProjectDir: (projectConfig: string, srcDir: string) => string;
2260
2603
  };
2261
2604
  readonly getProjectConfig: {
2262
2605
  readonly error: "Could not read from project config";
2263
2606
  };
2264
2607
  readonly ensureProjectExists: {
2265
- readonly createPrompt: (projectName: string | number, accountIdentifier: string | number) => string;
2266
- readonly createPromptUpload: (projectName: string | number, accountIdentifier: string | number) => string;
2267
- readonly createSuccess: (projectName: string | number, accountIdentifier: string | number) => string;
2268
- readonly notFound: (projectName: string | number, accountIdentifier: string | number) => string;
2608
+ readonly createPrompt: (projectName: string, accountIdentifier: string) => string;
2609
+ readonly createPromptUpload: (projectName: string, accountIdentifier: string) => string;
2610
+ readonly createSuccess: (projectName: string, accountIdentifier: string) => string;
2611
+ readonly notFound: (projectName: string, accountIdentifier: string) => string;
2269
2612
  };
2270
2613
  readonly pollFetchProject: {
2271
- readonly checkingProject: (accountIdentifier: string | number) => string;
2614
+ readonly checkingProject: (accountIdentifier: string) => string;
2272
2615
  };
2273
2616
  readonly logFeedbackMessage: {
2274
2617
  readonly feedbackHeader: "We'd love to hear your feedback!";
@@ -2281,37 +2624,36 @@ export declare const lib: {
2281
2624
  readonly makePollTaskStatusFunc: {
2282
2625
  readonly errorSummary: "See below for a summary of errors.";
2283
2626
  readonly componentCountSingular: "Found 1 component in this project\n";
2284
- readonly componentCount: (numComponents: string | number) => string;
2627
+ readonly componentCount: (numComponents: number) => string;
2285
2628
  readonly successStatusText: "DONE";
2286
2629
  readonly failedStatusText: "FAILED";
2287
- readonly errorFetchingTaskStatus: (taskType: string | number) => string;
2630
+ readonly errorFetchingTaskStatus: (taskType: string) => string;
2288
2631
  };
2289
- readonly pollBuildAutodeployStatusError: (buildId: string | number) => string;
2632
+ readonly pollBuildAutodeployStatusError: (buildId: number) => string;
2290
2633
  readonly pollProjectBuildAndDeploy: {
2291
- readonly buildSucceededAutomaticallyDeploying: (buildId: string | number, accountIdentifier: string | number) => string;
2292
- readonly cleanedUpTempFile: (path: string | number) => string;
2293
- readonly viewDeploys: "View all deploys for this project in HubSpot";
2294
- readonly unableToFindAutodeployStatus: (buildId: string | number, viewDeploysLink: string | number) => string;
2634
+ readonly buildSucceededAutomaticallyDeploying: (buildId: number, accountIdentifier: string) => string;
2635
+ readonly cleanedUpTempFile: (path: string) => string;
2636
+ readonly viewDeploys: "view all deploys for this project in HubSpot";
2637
+ readonly unableToFindAutodeployStatus: (buildId: number, viewDeploysLink: string) => string;
2295
2638
  };
2296
2639
  };
2297
2640
  readonly projectUpload: {
2641
+ readonly wrongPlatformVersionMetaFiles: `Detected components that require a minimum platform version of ${string}. You need to update your platform version in your hsproject.json and run ${string}`;
2298
2642
  readonly uploadProjectFiles: {
2299
- readonly add: (projectName: string | number, accountIdentifier: string | number) => string;
2300
- readonly fail: (projectName: string | number, accountIdentifier: string | number) => string;
2301
- readonly succeed: (projectName: string | number, accountIdentifier: string | number) => string;
2302
- readonly buildCreated: (projectName: string | number, buildId: string | number) => string;
2643
+ readonly add: (projectName: string, accountIdentifier: string) => string;
2644
+ readonly fail: (projectName: string, accountIdentifier: string) => string;
2645
+ readonly succeed: (projectName: string, accountIdentifier: string) => string;
2646
+ readonly buildCreated: (projectName: string, buildId: number) => string;
2303
2647
  };
2304
2648
  readonly handleProjectUpload: {
2305
- readonly emptySource: (srcDir: string | number) => string;
2306
- readonly compressed: (byteCount: string | number) => string;
2307
- readonly compressing: (path: string | number) => string;
2308
- readonly fileFiltered: (filename: string | number) => string;
2649
+ readonly emptySource: (srcDir: string) => string;
2650
+ readonly compressed: (byteCount: number) => string;
2651
+ readonly compressing: (path: string) => string;
2652
+ readonly fileFiltered: (filename: string) => string;
2309
2653
  };
2310
2654
  };
2311
- readonly middleware: {
2312
- readonly fireAlarm: {
2313
- readonly failedToLoadBoxen: "Failed to load boxen util.";
2314
- };
2655
+ readonly boxen: {
2656
+ readonly failedToLoad: "Failed to load boxen util.";
2315
2657
  };
2316
2658
  readonly ui: {
2317
2659
  readonly betaTag: string;
@@ -2322,84 +2664,110 @@ export declare const lib: {
2322
2664
  readonly infoTag: string;
2323
2665
  readonly deprecatedTag: string;
2324
2666
  readonly errorTag: string;
2325
- readonly deprecatedMessage: (command: string | number, url: string | number) => string;
2326
- readonly deprecatedDescription: (message: string | number, command: string | number, url: string | number) => string;
2667
+ readonly deprecatedMessage: (command: string, url: string) => string;
2668
+ readonly deprecatedDescription: (message: string, command: string, url: string) => string;
2327
2669
  readonly deprecatedUrlText: "Learn more.";
2328
- readonly disabledMessage: (command: string | number, npmCommand: string | number, url: string | number) => string;
2670
+ readonly disabledMessage: (command: string, npmCommand: string, url: string) => string;
2329
2671
  readonly disabledUrlText: "See all HubSpot CLI commands here.";
2330
2672
  readonly featureHighlight: {
2331
2673
  readonly defaultTitle: "What's next?";
2332
2674
  readonly featureKeys: {
2333
2675
  readonly accountOption: {
2334
2676
  readonly command: "--account";
2335
- readonly message: (command: string | number) => string;
2677
+ readonly message: (command: string) => string;
2336
2678
  };
2337
2679
  readonly accountsListCommand: {
2338
2680
  readonly command: "hs accounts list";
2339
- readonly message: (command: string | number) => string;
2681
+ readonly message: (command: string) => string;
2340
2682
  };
2341
2683
  readonly accountsUseCommand: {
2342
2684
  readonly command: "hs accounts use";
2343
- readonly message: (command: string | number) => string;
2685
+ readonly message: (command: string) => string;
2344
2686
  };
2345
2687
  readonly authCommand: {
2346
2688
  readonly command: "hs auth";
2347
- readonly message: (command: string | number) => string;
2689
+ readonly message: (command: string) => string;
2348
2690
  };
2349
2691
  readonly feedbackCommand: {
2350
2692
  readonly command: "hs feedback";
2351
- readonly message: (command: string | number) => string;
2693
+ readonly message: (command: string) => string;
2352
2694
  };
2353
2695
  readonly helpCommand: {
2354
2696
  readonly command: "hs help";
2355
- readonly message: (command: string | number) => string;
2697
+ readonly message: (command: string) => string;
2356
2698
  };
2357
2699
  readonly projectCreateCommand: {
2358
2700
  readonly command: "hs project create";
2359
- readonly message: (command: string | number) => string;
2701
+ readonly message: (command: string) => string;
2360
2702
  };
2361
2703
  readonly projectDeployCommand: {
2362
2704
  readonly command: "hs project deploy";
2363
- readonly message: (command: string | number) => string;
2705
+ readonly message: (command: string) => string;
2364
2706
  };
2365
2707
  readonly projectHelpCommand: {
2366
2708
  readonly command: "hs project --help";
2367
- readonly message: (command: string | number) => string;
2709
+ readonly message: (command: string) => string;
2368
2710
  };
2369
2711
  readonly projectUploadCommand: {
2370
2712
  readonly command: "hs project upload";
2371
- readonly message: (command: string | number) => string;
2713
+ readonly message: (command: string) => string;
2372
2714
  };
2373
2715
  readonly projectDevCommand: {
2374
2716
  readonly command: "hs project dev";
2375
- readonly message: (command: string | number) => string;
2717
+ readonly message: (command: string) => string;
2376
2718
  };
2377
2719
  readonly projectInstallDepsCommand: {
2378
2720
  readonly command: "hs project install-deps";
2379
- readonly message: (command: string | number) => string;
2721
+ readonly message: (command: string) => string;
2380
2722
  };
2381
2723
  readonly sampleProjects: {
2382
2724
  readonly linkText: "HubSpot's sample projects";
2383
2725
  readonly url: "https://developers.hubspot.com/docs/platform/sample-projects?utm_source=cli&utm_content=project_create_whats_next";
2384
- readonly message: (link: string | number) => string;
2726
+ readonly message: (link: string) => string;
2385
2727
  };
2386
2728
  };
2387
2729
  };
2388
2730
  readonly git: {
2389
2731
  readonly securityIssue: "Security Issue Detected";
2390
2732
  readonly configFileTracked: "The HubSpot config file can be tracked by git.";
2391
- readonly fileName: (configPath: string | number) => string;
2733
+ readonly fileName: (configPath: string) => string;
2392
2734
  readonly remediate: "To remediate:";
2393
- readonly moveConfig: (homeDir: string | number) => string;
2394
- readonly addGitignore: (configPath: string | number) => string;
2735
+ readonly moveConfig: (homeDir: string) => string;
2736
+ readonly addGitignore: (configPath: string) => string;
2395
2737
  readonly noRemote: "- Ensure that the config file has not already been pushed to a remote repository.";
2396
2738
  readonly checkFailed: "Unable to determine if config file is properly ignored by git.";
2397
2739
  };
2398
2740
  readonly serverlessFunctionLogs: {
2399
- readonly unableToProcessLog: (log: string | number) => string;
2741
+ readonly unableToProcessLog: (log: string) => string;
2400
2742
  readonly noLogsFound: "No logs found.";
2401
2743
  };
2402
2744
  };
2745
+ readonly configOptions: {
2746
+ readonly enableOrDisableBooleanFieldPrompt: {
2747
+ readonly message: (fieldName: string) => string;
2748
+ readonly labels: {
2749
+ readonly enabled: "Enabled";
2750
+ readonly disabled: "Disabled";
2751
+ };
2752
+ };
2753
+ readonly setAllowUsageTracking: {
2754
+ readonly fieldName: "usage tracking";
2755
+ readonly success: (isEnabled: string) => string;
2756
+ };
2757
+ readonly setAllowAutoUpdates: {
2758
+ readonly fieldName: "auto updates";
2759
+ readonly success: (isEnabled: string) => string;
2760
+ };
2761
+ readonly setDefaultCmsPublishMode: {
2762
+ readonly promptMessage: "Select CMS publish mode to be used as the default";
2763
+ readonly error: (validModes: string) => string;
2764
+ readonly success: (mode: string) => string;
2765
+ };
2766
+ readonly setHttpTimeout: {
2767
+ readonly promptMessage: "Enter http timeout duration";
2768
+ readonly success: (timeout: string) => string;
2769
+ };
2770
+ };
2403
2771
  readonly commonOpts: {
2404
2772
  readonly options: {
2405
2773
  readonly account: {
@@ -2413,9 +2781,9 @@ export declare const lib: {
2413
2781
  };
2414
2782
  readonly modes: {
2415
2783
  readonly describe: {
2416
- readonly default: (modes: string | number) => string;
2417
- readonly read: (modes: string | number) => string;
2418
- readonly write: (modes: string | number) => string;
2784
+ readonly default: (modes: string) => string;
2785
+ readonly read: (modes: string) => string;
2786
+ readonly write: (modes: string) => string;
2419
2787
  };
2420
2788
  };
2421
2789
  readonly qa: {
@@ -2429,52 +2797,81 @@ export declare const lib: {
2429
2797
  };
2430
2798
  };
2431
2799
  };
2800
+ readonly configMigrate: {
2801
+ readonly deprecatedConfigWarning: (deprecatedConfigPath: string) => string;
2802
+ readonly handleMigration: {
2803
+ readonly description: (archivedConfigName: string) => string;
2804
+ readonly confirmPrompt: "Migrate the deprecated config to the global location?";
2805
+ readonly success: "Your deprecated config file has been successfully migrated.";
2806
+ };
2807
+ readonly handleMergeConfigProperties: {
2808
+ readonly mergeConflictMessage: (count: number, propertyList: string) => string;
2809
+ readonly mergeConfigConflictPrompt: (property: string, newValue: string, oldValue: string) => string;
2810
+ };
2811
+ readonly handleMerge: {
2812
+ readonly description: (archivedConfigName: string) => string;
2813
+ readonly confirmPrompt: "Merge the deprecated config into your global config?";
2814
+ readonly skippedExistingAccounts: (accountIds: (string | number)[]) => string;
2815
+ readonly success: "Your deprecated config file has been successfully merged with the global config file.";
2816
+ };
2817
+ };
2432
2818
  readonly prompts: {
2433
2819
  readonly projectDevTargetAccountPrompt: {
2434
2820
  readonly createNewSandboxOption: "<Test on a new development sandbox>";
2435
2821
  readonly createNewDeveloperTestAccountOption: "<Test on a new developer test account>";
2436
2822
  readonly chooseDefaultAccountOption: () => string;
2437
- readonly promptMessage: (accountType: string | number, accountIdentifier: string | number) => string;
2438
- readonly sandboxLimit: (limit: string | number) => string;
2439
- readonly sandboxLimitWithSuggestion: (limit: string | number, authCommand: string | number) => string;
2440
- readonly developerTestAccountLimit: (limit: string | number) => string;
2441
- readonly confirmDefaultAccount: (accountName: string | number, accountType: string | number) => string;
2442
- readonly confirmUseExistingDeveloperTestAccount: (accountName: string | number) => string;
2823
+ readonly promptMessage: (accountType: string, accountIdentifier: string) => string;
2824
+ readonly sandboxLimit: (limit: string) => string;
2825
+ readonly sandboxLimitWithSuggestion: (limit: string, authCommand: string) => string;
2826
+ readonly developerTestAccountLimit: (limit: string) => string;
2827
+ readonly confirmDefaultAccount: (accountName: string, accountType: string) => string;
2828
+ readonly confirmUseExistingDeveloperTestAccount: (accountName: string) => string;
2443
2829
  readonly noAccountId: "No account ID found for the selected account. Please try again.";
2444
2830
  };
2445
2831
  readonly projectLogsPrompt: {
2446
- readonly functionName: (projectName: string | number) => string;
2832
+ readonly functionName: (projectName: string) => string;
2447
2833
  };
2448
2834
  readonly setAsDefaultAccountPrompt: {
2449
2835
  readonly setAsDefaultAccountMessage: "Set this account as the default?";
2450
- readonly setAsDefaultAccount: (accountName: string | number) => string;
2451
- readonly keepingCurrentDefault: (accountName: string | number) => string;
2836
+ readonly setAsDefaultAccount: (accountName: string) => string;
2837
+ readonly keepingCurrentDefault: (accountName: string) => string;
2838
+ };
2839
+ readonly createDeveloperTestAccountConfigPrompt: {
2840
+ readonly namePrompt: "[--name] What is the name of the test account?";
2841
+ readonly descriptionPrompt: "[--description] What is the description of the test account?";
2842
+ readonly tiersPrompt: "[--tiers] Which product tiers should the test account have?";
2843
+ readonly errors: {
2844
+ readonly tiersError: "Cannot have more than one tier per hub";
2845
+ };
2452
2846
  };
2453
2847
  readonly accountNamePrompt: {
2454
2848
  readonly enterAccountName: "Enter a unique name to reference this account in the CLI:";
2455
2849
  readonly enterDeveloperTestAccountName: "Name your developer test account:";
2456
2850
  readonly enterStandardSandboxName: "Name your standard sandbox:";
2457
2851
  readonly enterDevelopmentSandboxName: "Name your development sandbox:";
2458
- readonly sandboxDefaultName: (sandboxType: string | number) => string;
2459
- readonly developerTestAccountDefaultName: (count: string | number) => string;
2852
+ readonly sandboxDefaultName: (sandboxType: string) => string;
2853
+ readonly developerTestAccountDefaultName: (count: string) => string;
2460
2854
  readonly errors: {
2461
2855
  readonly invalidName: "You entered an invalid name. Please try again.";
2462
2856
  readonly nameRequired: "The name may not be blank. Please try again.";
2463
2857
  readonly spacesInName: "The name may not contain spaces. Please try again.";
2464
- readonly accountNameExists: (name: string | number) => string;
2858
+ readonly accountNameExists: (name: string) => string;
2465
2859
  };
2466
2860
  };
2467
2861
  readonly personalAccessKeyPrompt: {
2468
2862
  readonly enterAccountId: "Enter the account ID for your account (the number under the DOMAIN column at https://app.hubspot.com/myaccounts-beta ): ";
2469
2863
  readonly enterClientId: "Enter your OAuth2 client ID: ";
2470
2864
  readonly enterClientSecret: "Enter your OAuth2 client secret: ";
2471
- readonly enterPersonalAccessKey: "Enter your personal access key: ";
2865
+ readonly enterPersonalAccessKey: "[--personal-access-key] Enter your personal access key: ";
2472
2866
  readonly selectScopes: "Select access scopes (see https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes)";
2473
2867
  readonly personalAccessKeySetupTitle: "HubSpot Personal Access Key Setup";
2474
- readonly personalAccessKeyBrowserOpenPrep: "A personal access key is required to authenticate the CLI to interact with your HubSpot account. We'll open a secure page in your default browser where you can view and copy your personal access key.";
2475
- readonly personalAccessKeyBrowserOpenPrompt: "Open HubSpot to copy your personal access key?";
2868
+ readonly personalAccessKeyBrowserOpenPrep: "A personal access key is required to authenticate the CLI to interact with your HubSpot account.";
2869
+ readonly personalAccessKeyPromptChoices: {
2870
+ readonly OPEN_BROWSER: "Open HubSpot to copy your personal access key";
2871
+ readonly PASTE_EXISTING: "Enter existing personal access key";
2872
+ };
2476
2873
  readonly logs: {
2477
- readonly openingWebBrowser: (url: string | number) => string;
2874
+ readonly openingWebBrowser: (url: string) => string;
2478
2875
  };
2479
2876
  readonly errors: {
2480
2877
  readonly invalidAccountId: "You did not enter a valid account ID. Please try again.";
@@ -2525,24 +2922,32 @@ export declare const lib: {
2525
2922
  readonly enterName: "[--name] Give your project a name: ";
2526
2923
  readonly enterDest: "[--dest] Enter the folder to create the project in:";
2527
2924
  readonly selectTemplate: "[--template] Choose a project template: ";
2925
+ readonly features: "[--features] Which features would you like your app to include?";
2528
2926
  readonly errors: {
2529
2927
  readonly nameRequired: "A project name is required";
2530
2928
  readonly destRequired: "A project dest is required";
2531
2929
  readonly invalidDest: "There is an existing project at this destination. Please provide a new path for this project.";
2532
2930
  readonly invalidCharacters: "The selected destination contains invalid characters. Please provide a new path and try again.";
2533
- readonly invalidTemplate: (template: string | number) => string;
2931
+ readonly invalidTemplate: (template: string) => string;
2534
2932
  readonly projectTemplateRequired: "Project template is required when projectTemplates is provided";
2535
2933
  };
2536
2934
  };
2537
- readonly selectPublicAppPrompt: {
2538
- readonly selectAppIdMigrate: (accountName: string | number) => string;
2539
- readonly selectAppIdClone: (accountName: string | number) => string;
2935
+ readonly selectAppPrompt: {
2936
+ readonly selectAppId: "[--app] Select an app:";
2937
+ readonly errors: {
2938
+ readonly noApps: "No apps were found for the given account.";
2939
+ readonly invalidAppId: "Invalid app id";
2940
+ };
2941
+ };
2942
+ readonly selectPublicAppForMigrationPrompt: {
2943
+ readonly selectAppIdMigrate: (accountName: string) => string;
2944
+ readonly selectAppIdClone: (accountName: string) => string;
2540
2945
  readonly errors: {
2541
2946
  readonly noAccountId: "An account ID is required to select an app.";
2542
2947
  readonly noAppsMigration: () => string;
2543
2948
  readonly noAppsClone: () => string;
2544
- readonly noAppsMigrationMessage: (accountName: string | number) => string;
2545
- readonly noAppsCloneMessage: (accountName: string | number) => string;
2949
+ readonly noAppsMigrationMessage: (accountName: string) => string;
2950
+ readonly noAppsCloneMessage: (accountName: string) => string;
2546
2951
  readonly errorFetchingApps: "There was an error fetching public apps.";
2547
2952
  readonly cannotBeMigrated: "Cannot be migrated";
2548
2953
  };
@@ -2550,7 +2955,7 @@ export declare const lib: {
2550
2955
  readonly downloadProjectPrompt: {
2551
2956
  readonly selectProject: "Select a project to download:";
2552
2957
  readonly errors: {
2553
- readonly projectNotFound: (projectName: string | number, accountId: string | number) => string;
2958
+ readonly projectNotFound: (projectName: string, accountId: string) => string;
2554
2959
  readonly accountIdRequired: "An account ID is required to download a project.";
2555
2960
  };
2556
2961
  };
@@ -2559,12 +2964,14 @@ export declare const lib: {
2559
2964
  readonly enterName: "[--name] Give your component a name: ";
2560
2965
  readonly errors: {
2561
2966
  readonly nameRequired: "A component name is required";
2562
- readonly invalidType: (type: string | number) => string;
2967
+ readonly componentRequired: "Must select a feature to add";
2968
+ readonly invalidType: (type: string) => string;
2969
+ readonly cannotAddFeature: (feature: string, reasons: string | boolean) => string;
2563
2970
  };
2564
2971
  };
2565
2972
  readonly secretPrompt: {
2566
- readonly enterValue: "Enter a value for your secret: ";
2567
- readonly enterName: "Enter a name for your secret: ";
2973
+ readonly enterValue: "Enter a value for the secret: ";
2974
+ readonly enterName: "Enter the name of the secret to add: ";
2568
2975
  readonly selectSecretUpdate: "Select the secret you want to update";
2569
2976
  readonly selectSecretDelete: "Select the secret you want to delete";
2570
2977
  readonly errors: {
@@ -2587,13 +2994,13 @@ export declare const lib: {
2587
2994
  readonly srcRequired: "You must specify a source directory.";
2588
2995
  readonly destRequired: "You must specify a destination directory.";
2589
2996
  };
2590
- readonly fieldsPrompt: (dir: string | number) => string;
2997
+ readonly fieldsPrompt: (dir: string) => string;
2591
2998
  };
2592
2999
  readonly projectNamePrompt: {
2593
3000
  readonly enterName: "[--project] Enter project name:";
2594
3001
  readonly errors: {
2595
3002
  readonly invalidName: "You entered an invalid name. Please try again.";
2596
- readonly projectDoesNotExist: (projectName: string | number, accountIdentifier: string | number) => string;
3003
+ readonly projectDoesNotExist: (projectName: string, accountIdentifier: string) => string;
2597
3004
  };
2598
3005
  };
2599
3006
  readonly previewPrompt: {
@@ -2605,19 +3012,20 @@ export declare const lib: {
2605
3012
  readonly destRequired: "You must specify a destination directory.";
2606
3013
  };
2607
3014
  };
2608
- readonly installPublicAppPrompt: {
3015
+ readonly installAppPrompt: {
2609
3016
  readonly explanation: "Local development requires this app to be installed in the target test account";
2610
3017
  readonly reinstallExplanation: "This app's required scopes have been updated since it was last installed on the target test account. To avoid issues with local development, we recommend reinstalling the app with the updated scopes.";
2611
3018
  readonly prompt: "Open HubSpot to install this app?";
3019
+ readonly autoPrompt: "Install this app in your target test account?";
2612
3020
  readonly reinstallPrompt: "Open HubSpot to reinstall this app?";
2613
- readonly decline: () => string;
3021
+ readonly decline: `To continue local development of this app, install it in your target test account and re-run ${string}`;
2614
3022
  };
2615
3023
  readonly selectHubDBTablePrompt: {
2616
3024
  readonly selectTable: "Select a HubDB table:";
2617
3025
  readonly enterDest: "Enter the destination path:";
2618
3026
  readonly errors: {
2619
- readonly noTables: (accountId: string | number) => string;
2620
- readonly errorFetchingTables: (accountId: string | number) => string;
3027
+ readonly noTables: (accountId: string) => string;
3028
+ readonly errorFetchingTables: (accountId: string) => string;
2621
3029
  readonly destRequired: "A destination is required";
2622
3030
  readonly invalidDest: "The selected destination already exists. Please provide a new path.";
2623
3031
  readonly invalidCharacters: "The selected destination contains invalid characters. Please provide a new path and try again.";
@@ -2639,20 +3047,20 @@ export declare const lib: {
2639
3047
  readonly developerTestAccount: {
2640
3048
  readonly create: {
2641
3049
  readonly loading: {
2642
- readonly add: (accountName: string | number) => string;
2643
- readonly fail: (accountName: string | number) => string;
2644
- readonly succeed: (accountName: string | number, accountId: string | number) => string;
3050
+ readonly add: (accountName: string) => string;
3051
+ readonly fail: (accountName: string) => string;
3052
+ readonly succeed: (accountName: string, accountId: string) => string;
2645
3053
  };
2646
3054
  readonly success: {
2647
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
3055
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2648
3056
  };
2649
3057
  readonly failure: {
2650
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
2651
- readonly limit: (accountName: string | number, limit: string | number) => string;
2652
- readonly alreadyInConfig: (accountName: string | number, limit: string | number) => string;
3058
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
3059
+ readonly limit: (accountName: string, limit: string) => string;
3060
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
2653
3061
  readonly scopes: {
2654
3062
  readonly message: "The personal access key you provided doesn't include developer test account permissions.";
2655
- readonly instructions: (accountName: string | number, url: string | number) => string;
3063
+ readonly instructions: (accountName: string | number, url: string) => string;
2656
3064
  };
2657
3065
  };
2658
3066
  };
@@ -2661,85 +3069,85 @@ export declare const lib: {
2661
3069
  readonly create: {
2662
3070
  readonly developer: {
2663
3071
  readonly loading: {
2664
- readonly add: (accountName: string | number) => string;
2665
- readonly fail: (accountName: string | number) => string;
2666
- readonly succeed: (accountName: string | number, accountId: string | number) => string;
3072
+ readonly add: (accountName: string) => string;
3073
+ readonly fail: (accountName: string) => string;
3074
+ readonly succeed: (accountName: string, accountId: string) => string;
2667
3075
  };
2668
3076
  readonly success: {
2669
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
3077
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2670
3078
  };
2671
3079
  readonly failure: {
2672
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
2673
- readonly limit: (accountName: string | number, limit: string | number) => string;
2674
- readonly alreadyInConfig: (accountName: string | number, limit: string | number) => string;
3080
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
3081
+ readonly limit: (accountName: string, limit: string) => string;
3082
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
2675
3083
  readonly scopes: {
2676
3084
  readonly message: "The personal access key you provided doesn't include developer sandbox permissions.";
2677
- readonly instructions: (accountName: string | number, url: string | number) => string;
3085
+ readonly instructions: (accountName: string | number, url: string) => string;
2678
3086
  };
2679
3087
  readonly generic: "An error occurred while creating a developer sandbox";
2680
3088
  };
2681
3089
  };
2682
3090
  readonly standard: {
2683
3091
  readonly loading: {
2684
- readonly add: (accountName: string | number) => string;
2685
- readonly fail: (accountName: string | number) => string;
2686
- readonly succeed: (accountName: string | number, accountId: string | number) => string;
3092
+ readonly add: (accountName: string) => string;
3093
+ readonly fail: (accountName: string) => string;
3094
+ readonly succeed: (accountName: string, accountId: string) => string;
2687
3095
  };
2688
3096
  readonly success: {
2689
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
3097
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2690
3098
  };
2691
3099
  readonly failure: {
2692
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
2693
- readonly limit: (accountName: string | number, limit: string | number) => string;
2694
- readonly alreadyInConfig: (accountName: string | number, limit: string | number) => string;
3100
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
3101
+ readonly limit: (accountName: string, limit: string) => string;
3102
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
2695
3103
  readonly scopes: {
2696
3104
  readonly message: "The personal access key you provided doesn't include standard sandbox permissions.";
2697
- readonly instructions: (accountName: string | number, url: string | number) => string;
3105
+ readonly instructions: (accountName: string, url: string) => string;
2698
3106
  };
2699
3107
  };
2700
3108
  };
2701
3109
  };
2702
3110
  readonly sync: {
2703
3111
  readonly loading: {
2704
- readonly add: (accountName: string | number) => string;
2705
- readonly fail: (accountName: string | number) => string;
2706
- readonly succeed: (accountName: string | number) => string;
3112
+ readonly add: (accountName: string) => string;
3113
+ readonly fail: (accountName: string) => string;
3114
+ readonly succeed: (accountName: string) => string;
2707
3115
  };
2708
3116
  readonly success: {
2709
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
3117
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2710
3118
  };
2711
3119
  readonly failure: {
2712
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
3120
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
2713
3121
  readonly scopes: {
2714
3122
  readonly message: "The personal access key you provided doesn't include sandbox sync permissions.";
2715
- readonly instructions: (accountName: string | number, url: string | number) => string;
3123
+ readonly instructions: (accountName: string, url: string) => string;
2716
3124
  };
2717
3125
  };
2718
3126
  };
2719
3127
  };
2720
3128
  readonly errorHandlers: {
2721
3129
  readonly index: {
2722
- readonly errorOccurred: (error: string | number) => string;
2723
- readonly errorContext: (context: string | number) => string;
2724
- readonly errorCause: (cause: string | number) => string;
3130
+ readonly errorOccurred: (error: string) => string;
3131
+ readonly errorContext: (context: string) => string;
3132
+ readonly errorCause: (cause: string) => string;
2725
3133
  readonly unknownErrorOccurred: "An unknown error has occurred.";
2726
3134
  };
2727
3135
  readonly suppressErrors: {
2728
3136
  readonly platformVersionErrors: {
2729
3137
  readonly header: "Platform version update required";
2730
- readonly unspecifiedPlatformVersion: (platformVersion: string | number) => string;
2731
- readonly platformVersionRetired: (platformVersion: string | number) => string;
2732
- readonly nonExistentPlatformVersion: (platformVersion: string | number) => string;
3138
+ readonly unspecifiedPlatformVersion: (platformVersion: string) => string;
3139
+ readonly platformVersionRetired: (platformVersion: string) => string;
3140
+ readonly nonExistentPlatformVersion: (platformVersion: string) => string;
2733
3141
  readonly updateProject: "Please update your project to the latest version and try again.";
2734
3142
  readonly docsLink: "Projects platform versioning (BETA)";
2735
- readonly betaLink: (docsLink: string | number) => string;
3143
+ readonly betaLink: (docsLink: string) => string;
2736
3144
  };
2737
- readonly missingScopeError: (request: string | number, accountName: string | number, authCommand: string | number) => string;
3145
+ readonly missingScopeError: (request: string, accountName: string, authCommand: string) => string;
2738
3146
  };
2739
3147
  };
2740
3148
  readonly serverless: {
2741
3149
  readonly verifyAccessKeyAndUserAccess: {
2742
- readonly fetchScopeDataError: (scopeGroup: string | number) => string;
3150
+ readonly fetchScopeDataError: (scopeGroup: string) => string;
2743
3151
  readonly portalMissingScope: "Your account does not have access to this action. Talk to an account admin to request it.";
2744
3152
  readonly userMissingScope: "You don't have access to this action. Ask an account admin to change your permissions in Users & Teams settings.";
2745
3153
  readonly genericMissingScope: "Your access key does not allow this action. Please generate a new access key by running `hs auth personalaccesskey`.";
@@ -2751,49 +3159,49 @@ export declare const lib: {
2751
3159
  readonly accountChecks: {
2752
3160
  readonly active: "Default account active";
2753
3161
  readonly inactive: "Default account isn't active";
2754
- readonly inactiveSecondary: (command: string | number) => string;
3162
+ readonly inactiveSecondary: (command: string) => string;
2755
3163
  readonly unableToDetermine: "Unable to determine if the portal is active";
2756
3164
  readonly pak: {
2757
3165
  readonly incomplete: "Personal access key is valid, but there are more scopes available to your user that are not included in your key.";
2758
- readonly incompleteSecondary: (command: string | number, link: string | number) => string;
3166
+ readonly incompleteSecondary: (command: string, link: string) => string;
2759
3167
  readonly invalid: "Personal access key is invalid";
2760
- readonly invalidSecondary: (command: string | number) => string;
2761
- readonly valid: (link: string | number) => string;
3168
+ readonly invalidSecondary: (command: string) => string;
3169
+ readonly valid: (link: string) => string;
2762
3170
  readonly viewScopes: "View selected scopes";
2763
3171
  };
2764
3172
  };
2765
3173
  readonly nodeChecks: {
2766
3174
  readonly unableToDetermine: "Unable to determine what version of node is installed";
2767
- readonly minimumNotMet: (nodeVersion: string | number) => string;
2768
- readonly success: (nodeVersion: string | number) => string;
3175
+ readonly minimumNotMet: (nodeVersion: string) => string;
3176
+ readonly success: (nodeVersion: string) => string;
2769
3177
  };
2770
3178
  readonly npmChecks: {
2771
3179
  readonly notInstalled: "npm is not installed";
2772
- readonly installed: (npmVersion: string | number) => string;
3180
+ readonly installed: (npmVersion: string) => string;
2773
3181
  readonly unableToDetermine: "Unable to determine if npm is installed";
2774
3182
  };
2775
3183
  readonly hsChecks: {
2776
- readonly notLatest: (hsVersion: string | number) => string;
2777
- readonly notLatestSecondary: (command: string | number, hsVersion: string | number) => string;
2778
- readonly latest: (hsVersion: string | number) => string;
3184
+ readonly notLatest: (hsVersion: string) => string;
3185
+ readonly notLatestSecondary: (command: string, hsVersion: string) => string;
3186
+ readonly latest: (hsVersion: string) => string;
2779
3187
  readonly unableToDetermine: "Unable to determine if HubSpot CLI is up to date.";
2780
- readonly unableToDetermineSecondary: (command: string | number, link: string | number) => string;
3188
+ readonly unableToDetermineSecondary: (command: string, link: string) => string;
2781
3189
  readonly unableToDetermineSecondaryLink: "npm HubSpot CLI version history";
2782
3190
  };
2783
3191
  readonly projectDependenciesChecks: {
2784
- readonly missingDependencies: (dir: string | number) => string;
2785
- readonly missingDependenciesSecondary: (command: string | number) => string;
2786
- readonly unableToDetermine: (dir: string | number) => string;
3192
+ readonly missingDependencies: (dir: string) => string;
3193
+ readonly missingDependenciesSecondary: (command: string) => string;
3194
+ readonly unableToDetermine: (dir: string) => string;
2787
3195
  readonly success: "App dependencies are installed and up to date";
2788
3196
  };
2789
3197
  readonly files: {
2790
- readonly invalidJson: (filename: string | number) => string;
3198
+ readonly invalidJson: (filename: string) => string;
2791
3199
  readonly validJson: "JSON files valid";
2792
3200
  };
2793
3201
  readonly port: {
2794
- readonly inUse: (port: string | number) => string;
2795
- readonly inUseSecondary: (command: string | number) => string;
2796
- readonly available: (port: string | number) => string;
3202
+ readonly inUse: (port: string) => string;
3203
+ readonly inUseSecondary: (command: string) => string;
3204
+ readonly available: (port: string) => string;
2797
3205
  };
2798
3206
  readonly diagnosis: {
2799
3207
  readonly cli: {
@@ -2801,19 +3209,19 @@ export declare const lib: {
2801
3209
  };
2802
3210
  readonly cliConfig: {
2803
3211
  readonly header: "CLI configuration";
2804
- readonly configFileSubHeader: (filename: string | number) => string;
2805
- readonly defaultAccountSubHeader: (accountDetails: string | number) => string;
3212
+ readonly configFileSubHeader: (filename: string) => string;
3213
+ readonly defaultAccountSubHeader: (accountDetails: string) => string;
2806
3214
  readonly noConfigFile: "CLI configuration not found";
2807
- readonly noConfigFileSecondary: (command: string | number) => string;
3215
+ readonly noConfigFileSecondary: (command: string) => string;
2808
3216
  };
2809
3217
  readonly projectConfig: {
2810
3218
  readonly header: "Project configuration";
2811
- readonly projectDirSubHeader: (projectDir: string | number) => string;
2812
- readonly projectNameSubHeader: (projectName: string | number) => string;
3219
+ readonly projectDirSubHeader: (projectDir: string) => string;
3220
+ readonly projectNameSubHeader: (projectName: string) => string;
2813
3221
  };
2814
3222
  readonly counts: {
2815
- readonly errors: (count: string | number) => string;
2816
- readonly warnings: (count: string | number) => string;
3223
+ readonly errors: (count: string) => string;
3224
+ readonly warnings: (count: string) => string;
2817
3225
  };
2818
3226
  };
2819
3227
  };
@@ -2821,16 +3229,17 @@ export declare const lib: {
2821
3229
  readonly missingClientId: "Error building oauth URL: missing client ID.";
2822
3230
  };
2823
3231
  readonly migrate: {
2824
- readonly componentsToBeMigrated: (components: string | number) => string;
2825
- readonly componentsThatWillNotBeMigrated: (components: string | number) => string;
3232
+ readonly componentsToBeMigrated: (components: string) => string;
3233
+ readonly componentsThatWillNotBeMigrated: (components: string) => string;
2826
3234
  readonly sourceContentsMoved: (newLocation: string) => string;
2827
- readonly projectMigrationWarning: "Migrating a project is irreversible and cannot be undone.";
3235
+ readonly projectMigrationWarningTitle: "⚠️ Important: Migrating to platformVersion 2025.2 is irreversible ⚠️";
3236
+ readonly projectMigrationWarning: string;
2828
3237
  readonly errors: {
2829
3238
  readonly project: {
2830
3239
  readonly invalidConfig: "The project configuration file is invalid. Please check the config file and try again.";
2831
3240
  readonly doesNotExist: (account: number) => string;
2832
3241
  readonly multipleApps: "Multiple apps found in project, this is not allowed in 2025.2";
2833
- readonly alreadyExists: (projectName: string | number) => string;
3242
+ readonly alreadyExists: (projectName: string) => string;
2834
3243
  };
2835
3244
  readonly unmigratableReasons: {
2836
3245
  readonly upToDate: "App is already up to date";
@@ -2838,21 +3247,21 @@ export declare const lib: {
2838
3247
  readonly listedInMarketplace: "Listed apps are not currently migratable";
2839
3248
  readonly projectConnectedToGitHub: (projectName: string | undefined, accountId: number) => string;
2840
3249
  readonly partOfProjectAlready: `This app is part of a project, run ${string} from the project directory to migrate it`;
2841
- readonly generic: (reasonCode: string | number) => string;
3250
+ readonly generic: (reasonCode: string) => string;
2842
3251
  };
2843
- readonly noAppsEligible: (accountId: string | number, reasons: string[]) => string;
3252
+ readonly noAppsEligible: (accountId: string, reasons: string[]) => string;
2844
3253
  readonly invalidAccountTypeTitle: string;
2845
- readonly invalidAccountTypeDescription: (useCommand: string | number, authCommand: string | number) => string;
2846
- readonly appWithAppIdNotFound: (appId: string | number) => string;
3254
+ readonly invalidAccountTypeDescription: (useCommand: string, authCommand: string) => string;
3255
+ readonly appWithAppIdNotFound: (appId: number) => string;
2847
3256
  readonly noAppsForProject: (projectName: string) => string;
2848
3257
  readonly migrationFailed: "Migration Failed";
2849
- readonly notUngatedForUnifiedApps: (account: string | number) => string;
3258
+ readonly notUngatedForUnifiedApps: (account: string) => string;
2850
3259
  };
2851
3260
  readonly prompt: {
2852
3261
  readonly chooseApp: "Which app would you like to migrate?";
2853
3262
  readonly inputName: "[--name] What would you like to name the project?";
2854
3263
  readonly inputDest: "[--dest] Where would you like to save the project?";
2855
- readonly uidForComponent: (componentName: string | number) => string;
3264
+ readonly uidForComponent: (componentName: string) => string;
2856
3265
  readonly proceed: "Would you like to proceed?";
2857
3266
  };
2858
3267
  readonly spinners: {