@hubspot/cli 7.4.8 → 7.4.9-beta.1

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 (206) hide show
  1. package/commands/account/auth.d.ts +3 -7
  2. package/commands/account/auth.js +19 -9
  3. package/commands/account/clean.d.ts +3 -7
  4. package/commands/account/clean.js +16 -9
  5. package/commands/account/createOverride.d.ts +3 -7
  6. package/commands/account/createOverride.js +23 -6
  7. package/commands/account/info.d.ts +3 -7
  8. package/commands/account/info.js +13 -5
  9. package/commands/account/list.d.ts +3 -7
  10. package/commands/account/list.js +15 -8
  11. package/commands/account/remove.d.ts +3 -7
  12. package/commands/account/remove.js +21 -9
  13. package/commands/account/removeOverride.d.ts +3 -7
  14. package/commands/account/removeOverride.js +23 -6
  15. package/commands/account/rename.d.ts +3 -7
  16. package/commands/account/rename.js +16 -9
  17. package/commands/account/use.d.ts +5 -9
  18. package/commands/account/use.js +14 -6
  19. package/commands/account.d.ts +3 -4
  20. package/commands/account.js +35 -58
  21. package/commands/cms/convertFields.d.ts +7 -1
  22. package/commands/cms/convertFields.js +57 -41
  23. package/commands/cms/getReactModule.d.ts +7 -1
  24. package/commands/cms/getReactModule.js +52 -34
  25. package/commands/cms/lighthouseScore.d.ts +8 -1
  26. package/commands/cms/lighthouseScore.js +129 -100
  27. package/commands/cms.d.ts +3 -1
  28. package/commands/cms.js +24 -15
  29. package/commands/completion.d.ts +3 -1
  30. package/commands/completion.js +25 -12
  31. package/commands/config/migrate.d.ts +1 -1
  32. package/commands/config/migrate.js +16 -12
  33. package/commands/create/api-sample.d.ts +3 -1
  34. package/commands/create/api-sample.js +34 -38
  35. package/commands/create/app.d.ts +3 -1
  36. package/commands/create/app.js +9 -7
  37. package/commands/create/function.d.ts +3 -1
  38. package/commands/create/function.js +11 -10
  39. package/commands/create/index.d.ts +5 -1
  40. package/commands/create/index.js +23 -11
  41. package/commands/create/module.d.ts +3 -1
  42. package/commands/create/module.js +14 -13
  43. package/commands/create/react-app.d.ts +3 -1
  44. package/commands/create/react-app.js +10 -7
  45. package/commands/create/template.d.ts +3 -1
  46. package/commands/create/template.js +14 -14
  47. package/commands/create/vue-app.d.ts +3 -1
  48. package/commands/create/vue-app.js +10 -7
  49. package/commands/create/webpack-serverless.d.ts +3 -1
  50. package/commands/create/webpack-serverless.js +10 -7
  51. package/commands/create/website-theme.d.ts +3 -1
  52. package/commands/create/website-theme.js +10 -9
  53. package/commands/create.d.ts +4 -24
  54. package/commands/create.js +63 -74
  55. package/commands/customObject/create.d.ts +4 -9
  56. package/commands/customObject/create.js +17 -10
  57. package/commands/customObject/schema/create.d.ts +4 -9
  58. package/commands/customObject/schema/create.js +18 -11
  59. package/commands/customObject/schema/delete.d.ts +4 -9
  60. package/commands/customObject/schema/delete.js +17 -10
  61. package/commands/customObject/schema/fetch-all.d.ts +4 -9
  62. package/commands/customObject/schema/fetch-all.js +17 -10
  63. package/commands/customObject/schema/fetch.d.ts +4 -9
  64. package/commands/customObject/schema/fetch.js +17 -10
  65. package/commands/customObject/schema/list.d.ts +4 -8
  66. package/commands/customObject/schema/list.js +17 -10
  67. package/commands/customObject/schema/update.d.ts +4 -9
  68. package/commands/customObject/schema/update.js +18 -11
  69. package/commands/customObject/schema.d.ts +3 -5
  70. package/commands/customObject/schema.js +27 -54
  71. package/commands/customObject.d.ts +3 -4
  72. package/commands/customObject.js +20 -45
  73. package/commands/feedback.d.ts +4 -1
  74. package/commands/feedback.js +40 -47
  75. package/commands/fetch.d.ts +12 -1
  76. package/commands/fetch.js +49 -33
  77. package/commands/filemanager/fetch.d.ts +4 -9
  78. package/commands/filemanager/fetch.js +18 -11
  79. package/commands/filemanager/upload.d.ts +4 -9
  80. package/commands/filemanager/upload.js +17 -11
  81. package/commands/filemanager.d.ts +3 -4
  82. package/commands/filemanager.js +20 -41
  83. package/commands/function/deploy.d.ts +6 -1
  84. package/commands/function/deploy.js +70 -50
  85. package/commands/function/list.d.ts +6 -1
  86. package/commands/function/list.js +44 -32
  87. package/commands/function/server.d.ts +10 -1
  88. package/commands/function/server.js +49 -38
  89. package/commands/function.d.ts +5 -1
  90. package/commands/function.js +24 -10
  91. package/commands/hubdb/clear.d.ts +4 -9
  92. package/commands/hubdb/clear.js +17 -10
  93. package/commands/hubdb/create.d.ts +4 -9
  94. package/commands/hubdb/create.js +17 -10
  95. package/commands/hubdb/delete.d.ts +4 -9
  96. package/commands/hubdb/delete.js +17 -10
  97. package/commands/hubdb/fetch.d.ts +4 -9
  98. package/commands/hubdb/fetch.js +17 -10
  99. package/commands/hubdb.d.ts +3 -2
  100. package/commands/hubdb.js +23 -45
  101. package/commands/lint.d.ts +6 -4
  102. package/commands/lint.js +44 -43
  103. package/commands/logs.d.ts +10 -1
  104. package/commands/logs.js +53 -44
  105. package/commands/module/marketplace-validate.d.ts +6 -1
  106. package/commands/module/marketplace-validate.js +39 -27
  107. package/commands/module.d.ts +3 -1
  108. package/commands/module.js +22 -10
  109. package/commands/project/cloneApp.d.ts +1 -1
  110. package/commands/project/create.js +3 -3
  111. package/commands/project/deploy.d.ts +1 -0
  112. package/commands/project/deploy.js +40 -12
  113. package/commands/project/dev/index.d.ts +1 -4
  114. package/commands/project/dev/index.js +44 -15
  115. package/commands/project/dev/unifiedFlow.d.ts +2 -1
  116. package/commands/project/dev/unifiedFlow.js +52 -20
  117. package/commands/project/migrate.d.ts +1 -0
  118. package/commands/project/profile/add.d.ts +7 -0
  119. package/commands/project/profile/add.js +190 -0
  120. package/commands/project/profile/remove.d.ts +6 -0
  121. package/commands/project/profile/remove.js +119 -0
  122. package/commands/project/profile.d.ts +3 -0
  123. package/commands/project/profile.js +25 -0
  124. package/commands/project/upload.d.ts +1 -0
  125. package/commands/project/upload.js +38 -8
  126. package/commands/project.js +2 -0
  127. package/commands/sandbox/create.d.ts +4 -9
  128. package/commands/sandbox/create.js +18 -11
  129. package/commands/sandbox/delete.d.ts +4 -9
  130. package/commands/sandbox/delete.js +18 -11
  131. package/commands/sandbox.d.ts +3 -4
  132. package/commands/sandbox.js +20 -43
  133. package/commands/secret/addSecret.d.ts +4 -9
  134. package/commands/secret/addSecret.js +17 -10
  135. package/commands/secret/deleteSecret.d.ts +4 -9
  136. package/commands/secret/deleteSecret.js +17 -10
  137. package/commands/secret/listSecret.d.ts +4 -9
  138. package/commands/secret/listSecret.js +17 -10
  139. package/commands/secret/updateSecret.d.ts +4 -9
  140. package/commands/secret/updateSecret.js +17 -10
  141. package/commands/secret.d.ts +3 -4
  142. package/commands/secret.js +25 -48
  143. package/commands/theme/generate-selectors.d.ts +3 -7
  144. package/commands/theme/generate-selectors.js +14 -6
  145. package/commands/theme/marketplace-validate.d.ts +4 -9
  146. package/commands/theme/marketplace-validate.js +17 -10
  147. package/commands/theme/preview.d.ts +4 -9
  148. package/commands/theme/preview.js +16 -9
  149. package/commands/theme.d.ts +3 -4
  150. package/commands/theme.js +23 -46
  151. package/commands/upload.d.ts +12 -1
  152. package/commands/upload.js +118 -97
  153. package/commands/watch.d.ts +14 -1
  154. package/commands/watch.js +76 -65
  155. package/lang/en.d.ts +654 -558
  156. package/lang/en.js +443 -353
  157. package/lang/en.lyaml +23 -13
  158. package/lib/app/migrate.d.ts +23 -0
  159. package/lib/app/migrate.js +14 -3
  160. package/lib/app/migrate_legacy.js +5 -5
  161. package/lib/configMigrate.js +24 -10
  162. package/lib/constants.d.ts +6 -0
  163. package/lib/constants.js +7 -1
  164. package/lib/errorHandlers/suppressError.js +12 -19
  165. package/lib/filesystem.d.ts +1 -1
  166. package/lib/interpolation.d.ts +2 -3
  167. package/lib/lang.d.ts +2 -3
  168. package/lib/middleware/configMiddleware.js +8 -0
  169. package/lib/projectProfiles.d.ts +6 -0
  170. package/lib/projectProfiles.js +65 -0
  171. package/lib/projects/buildAndDeploy.js +17 -2
  172. package/lib/projects/localDev/AppDevModeInterface.d.ts +25 -0
  173. package/lib/projects/localDev/AppDevModeInterface.js +117 -0
  174. package/lib/projects/localDev/DevServerManagerV2.d.ts +11 -22
  175. package/lib/projects/localDev/DevServerManagerV2.js +19 -15
  176. package/lib/projects/localDev/LocalDevLogger.d.ts +30 -0
  177. package/lib/projects/localDev/LocalDevLogger.js +158 -0
  178. package/lib/projects/localDev/LocalDevManager.js +2 -3
  179. package/lib/projects/localDev/LocalDevProcess.d.ts +27 -0
  180. package/lib/projects/localDev/LocalDevProcess.js +171 -0
  181. package/lib/projects/localDev/LocalDevState.d.ts +37 -0
  182. package/lib/projects/localDev/LocalDevState.js +78 -0
  183. package/lib/projects/localDev/LocalDevWatcher.d.ts +10 -0
  184. package/lib/projects/localDev/LocalDevWatcher.js +56 -0
  185. package/lib/projects/localDev/LocalDevWebsocketServer.d.ts +17 -0
  186. package/lib/projects/localDev/LocalDevWebsocketServer.js +92 -0
  187. package/lib/projects/localDev/helpers.d.ts +1 -1
  188. package/lib/projects/localDev/helpers.js +2 -1
  189. package/lib/projects/upload.d.ts +2 -1
  190. package/lib/projects/upload.js +2 -2
  191. package/lib/prompts/createApiSamplePrompt.d.ts +2 -10
  192. package/lib/prompts/createTemplatePrompt.d.ts +22 -4
  193. package/lib/testUtils.d.ts +3 -3
  194. package/lib/testUtils.js +8 -9
  195. package/lib/upload.d.ts +1 -1
  196. package/lib/validation.js +4 -5
  197. package/lib/yargsUtils.d.ts +4 -0
  198. package/lib/yargsUtils.js +6 -0
  199. package/package.json +5 -3
  200. package/types/Cms.d.ts +30 -0
  201. package/types/Cms.js +2 -0
  202. package/types/LocalDev.d.ts +24 -0
  203. package/types/LocalDev.js +2 -0
  204. package/types/Yargs.d.ts +8 -1
  205. package/lib/projects/localDev/LocalDevManagerV2.d.ts +0 -64
  206. package/lib/projects/localDev/LocalDevManagerV2.js +0 -345
package/lang/en.d.ts CHANGED
@@ -2,15 +2,15 @@ export declare const commands: {
2
2
  readonly generalErrors: {
3
3
  readonly updateNotify: {
4
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;
5
+ readonly cmsUpdateNotification: (packageName: string, updateCommand: string) => string;
6
+ readonly cliUpdateNotification: (currentVersion: string, latestVersion: string, updateCommand: string) => string;
7
7
  };
8
- readonly srcIsProject: (src: string | number, command: string | number) => string;
8
+ readonly srcIsProject: (src: string, command: string) => string;
9
9
  readonly handleDeprecatedEnvVariables: {
10
10
  readonly portalEnvVarDeprecated: "The HUBSPOT_PORTAL_ID environment variable is deprecated. Please use HUBSPOT_ACCOUNT_ID instead.";
11
11
  };
12
12
  readonly loadConfigMiddleware: {
13
- readonly configFileExists: (configPath: string | number) => string;
13
+ readonly configFileExists: (configPath: string) => string;
14
14
  };
15
15
  };
16
16
  readonly completion: {
@@ -24,9 +24,9 @@ export declare const commands: {
24
24
  readonly subcommands: {
25
25
  readonly list: {
26
26
  readonly accounts: `${string}:`;
27
- readonly defaultAccount: (account: string | number) => string;
27
+ readonly defaultAccount: (account: string) => string;
28
28
  readonly describe: "List names of accounts defined in config.";
29
- readonly configPath: (configPath: string | number) => string;
29
+ readonly configPath: (configPath: string) => string;
30
30
  readonly labels: {
31
31
  readonly accountId: "Account ID";
32
32
  readonly authType: "Auth Type";
@@ -44,13 +44,13 @@ export declare const commands: {
44
44
  };
45
45
  };
46
46
  readonly success: {
47
- readonly renamed: (name: string | number, newName: string | number) => string;
47
+ readonly renamed: (name: string, newName: string) => string;
48
48
  };
49
49
  };
50
50
  readonly use: {
51
51
  readonly describe: "Set the Hubspot account to use as the default account. The default account can be overridden with the \"--account\" option.";
52
52
  readonly errors: {
53
- readonly accountNotFound: (specifiedAccount: string | number, configPath: string | number) => string;
53
+ readonly accountNotFound: (specifiedAccount: string, configPath: string) => string;
54
54
  };
55
55
  readonly examples: {
56
56
  readonly default: "Select a HubSpot account to use as the default account";
@@ -64,7 +64,7 @@ export declare const commands: {
64
64
  };
65
65
  readonly promptMessage: "Select an account to use as the default";
66
66
  readonly success: {
67
- readonly defaultAccountUpdated: (accountName: string | number) => string;
67
+ readonly defaultAccountUpdated: (accountName: string) => string;
68
68
  };
69
69
  };
70
70
  readonly remove: {
@@ -76,7 +76,7 @@ export declare const commands: {
76
76
  readonly selectAccountToRemove: "Select an account to remove from the config";
77
77
  };
78
78
  readonly errors: {
79
- readonly accountNotFound: (specifiedAccount: string | number, configPath: string | number) => string;
79
+ readonly accountNotFound: (specifiedAccount: string, configPath: string) => string;
80
80
  };
81
81
  readonly examples: {
82
82
  readonly default: "Select a HubSpot account to remove from the config";
@@ -89,11 +89,11 @@ export declare const commands: {
89
89
  };
90
90
  readonly promptMessage: "Select an account to remove";
91
91
  readonly success: {
92
- readonly accountRemoved: (accountName: string | number) => string;
92
+ readonly accountRemoved: (accountName: string) => string;
93
93
  };
94
94
  };
95
95
  readonly info: {
96
- readonly accountId: (accountId: string | number) => string;
96
+ readonly accountId: (accountId: string) => string;
97
97
  readonly describe: "Print information about the default account, or about the account specified with the \"account\" option.";
98
98
  readonly errors: {
99
99
  readonly notUsingPersonalAccessKey: "This command currently only supports fetching scopes for the personal access key auth type.";
@@ -103,7 +103,7 @@ export declare const commands: {
103
103
  readonly idBased: "Print information for the account with accountId equal to \"1234567\"";
104
104
  readonly nameBased: "Print information for the account in the config with name equal to \"MyAccount\"";
105
105
  };
106
- readonly name: (name: string | number) => string;
106
+ readonly name: (name: string) => string;
107
107
  readonly scopeGroups: `${string}:`;
108
108
  };
109
109
  readonly clean: {
@@ -114,33 +114,33 @@ export declare const commands: {
114
114
  };
115
115
  readonly inactiveAccountsFound: {
116
116
  readonly one: "1 inactive account found:";
117
- readonly other: (count: string | number) => string;
117
+ readonly other: (count: string) => string;
118
118
  };
119
119
  readonly confirm: {
120
120
  readonly one: "Remove 1 inactive account from the CLI config?";
121
- readonly other: (count: string | number) => string;
121
+ readonly other: (count: string) => string;
122
122
  };
123
- readonly removeSuccess: (accountName: string | number) => string;
123
+ readonly removeSuccess: (accountName: string) => string;
124
124
  };
125
125
  };
126
126
  };
127
127
  readonly auth: {
128
- readonly describe: (configName: string | number) => string;
128
+ readonly describe: (configName: string) => string;
129
129
  readonly errors: {
130
130
  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;
131
+ readonly unsupportedAuthType: (type: string, supportedProtocols: string) => string;
132
132
  };
133
133
  readonly options: {
134
134
  readonly authType: {
135
135
  readonly describe: "Authentication mechanism";
136
- readonly defaultDescription: (authMethod: string | number) => string;
136
+ readonly defaultDescription: (authMethod: string) => string;
137
137
  };
138
138
  readonly account: {
139
139
  readonly describe: "HubSpot account to authenticate";
140
140
  };
141
141
  };
142
142
  readonly success: {
143
- readonly configFileUpdated: (accountName: string | number, configFilename: string | number, authType: string | number) => string;
143
+ readonly configFileUpdated: (accountName: string, configFilename: string, authType: string) => string;
144
144
  };
145
145
  };
146
146
  readonly config: {
@@ -156,13 +156,13 @@ export declare const commands: {
156
156
  readonly defaultMode: {
157
157
  readonly describe: "Set the default CMS publish mode";
158
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;
159
+ readonly error: (validModes: string) => string;
160
+ readonly success: (mode: string) => string;
161
161
  };
162
162
  readonly allowUsageTracking: {
163
163
  readonly describe: "Enable or disable usage tracking";
164
164
  readonly promptMessage: "Choose to enable or disable usage tracking";
165
- readonly success: (isEnabled: string | number) => string;
165
+ readonly success: (isEnabled: string) => string;
166
166
  readonly labels: {
167
167
  readonly enabled: "Enabled";
168
168
  readonly disabled: "Disabled";
@@ -171,7 +171,7 @@ export declare const commands: {
171
171
  readonly httpTimeout: {
172
172
  readonly describe: "Set the http timeout duration";
173
173
  readonly promptMessage: "Enter http timeout duration";
174
- readonly success: (timeout: string | number) => string;
174
+ readonly success: (timeout: string) => string;
175
175
  };
176
176
  };
177
177
  };
@@ -188,8 +188,8 @@ export declare const commands: {
188
188
  readonly info: {
189
189
  readonly promptMessage: "Select a theme to score";
190
190
  readonly fetchingThemes: "Fetching available themes";
191
- readonly generatingScore: (theme: string | number) => string;
192
- readonly targetDeviceNote: (target: string | number) => string;
191
+ readonly generatingScore: (theme: string) => string;
192
+ readonly targetDeviceNote: (target: string) => string;
193
193
  readonly verboseOptionNote: "Theme scores are averages of all theme templates. Use the [--verbose] option to include individual template scores.";
194
194
  readonly pageTemplateScoreTitle: "Page template scores";
195
195
  readonly lighthouseLinksTitle: "Lighthouse links";
@@ -198,7 +198,7 @@ export declare const commands: {
198
198
  readonly errors: {
199
199
  readonly targetOptionRequired: "[--target] is required for detailed view";
200
200
  readonly invalidTargetOption: "[--target] can only be used for detailed view";
201
- readonly themeNotFound: (theme: string | number) => string;
201
+ readonly themeNotFound: (theme: string) => string;
202
202
  readonly failedToFetchThemes: "Failed to fetch available themes. Try running again with the [--theme] option";
203
203
  readonly failedToGetLighthouseScore: "Failed to generate a Google Lighthouse score";
204
204
  };
@@ -226,21 +226,21 @@ export declare const commands: {
226
226
  };
227
227
  };
228
228
  readonly success: {
229
- readonly moduleDownloaded: (moduleName: string | number, path: string | number) => string;
229
+ readonly moduleDownloaded: (moduleName: string, path: string) => string;
230
230
  };
231
231
  readonly errors: {
232
- readonly pathExists: (path: string | number) => string;
232
+ readonly pathExists: (path: string) => string;
233
233
  readonly invalidName: "Module not found with that name, please check the spelling of the module you are trying to download.";
234
234
  };
235
235
  };
236
236
  };
237
237
  };
238
238
  readonly create: {
239
- readonly describe: (supportedAssetTypes: string | number) => string;
239
+ readonly describe: (supportedAssetTypes: string) => string;
240
240
  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;
241
+ readonly deprecatedAssetType: (assetType: string, newCommand: string, type: string) => string;
242
+ readonly unsupportedAssetType: (assetType: string, supportedAssetTypes: string) => string;
243
+ readonly unusablePath: (path: string) => string;
244
244
  };
245
245
  readonly positionals: {
246
246
  readonly dest: {
@@ -255,16 +255,16 @@ export declare const commands: {
255
255
  };
256
256
  readonly subcommands: {
257
257
  readonly apiSample: {
258
- readonly folderOverwritePrompt: (folderName: string | number) => string;
258
+ readonly folderOverwritePrompt: (folderName: string) => string;
259
259
  readonly errors: {
260
260
  readonly nameRequired: "The \"name\" argument is required when creating an API Sample.";
261
261
  readonly noSamples: "Currently there are no samples available. Please try again later.";
262
262
  };
263
263
  readonly info: {
264
- readonly sampleChosen: (sampleType: string | number, sampleLanguage: string | number) => string;
264
+ readonly sampleChosen: (sampleType: string, sampleLanguage: string) => string;
265
265
  };
266
266
  readonly success: {
267
- readonly sampleCreated: (filePath: string | number) => string;
267
+ readonly sampleCreated: (filePath: string) => string;
268
268
  };
269
269
  };
270
270
  readonly module: {
@@ -288,7 +288,7 @@ export declare const commands: {
288
288
  readonly describe: "Create custom object instances.";
289
289
  readonly errors: {
290
290
  readonly invalidObjectDefinition: "The object definition is invalid. Please check the schema and try again.";
291
- readonly creationFailed: (definition: string | number) => string;
291
+ readonly creationFailed: (definition: string) => string;
292
292
  };
293
293
  readonly options: {
294
294
  readonly path: {
@@ -313,7 +313,7 @@ export declare const commands: {
313
313
  readonly describe: "Create a custom object schema.";
314
314
  readonly errors: {
315
315
  readonly invalidSchema: "The schema definition is invalid. Please check the schema and try again.";
316
- readonly creationFailed: (definition: string | number) => string;
316
+ readonly creationFailed: (definition: string) => string;
317
317
  };
318
318
  readonly options: {
319
319
  readonly definition: {
@@ -321,14 +321,14 @@ export declare const commands: {
321
321
  };
322
322
  };
323
323
  readonly success: {
324
- readonly schemaCreated: (accountId: string | number) => string;
325
- readonly schemaViewable: (url: string | number) => string;
324
+ readonly schemaCreated: (accountId: string) => string;
325
+ readonly schemaViewable: (url: string) => string;
326
326
  };
327
327
  };
328
328
  readonly delete: {
329
329
  readonly describe: "Delete a custom object schema.";
330
330
  readonly errors: {
331
- readonly delete: (name: string | number) => string;
331
+ readonly delete: (name: string) => string;
332
332
  };
333
333
  readonly examples: {
334
334
  readonly default: "Delete \"schemaName\" schema";
@@ -344,10 +344,10 @@ export declare const commands: {
344
344
  };
345
345
  };
346
346
  readonly success: {
347
- readonly delete: (name: string | number) => string;
347
+ readonly delete: (name: string) => string;
348
348
  };
349
- readonly confirmDelete: (name: string | number) => string;
350
- readonly deleteCancelled: (name: string | number) => string;
349
+ readonly confirmDelete: (name: string) => string;
350
+ readonly deleteCancelled: (name: string) => string;
351
351
  readonly selectSchema: "Which schema would you like to delete?";
352
352
  };
353
353
  readonly fetchAll: {
@@ -365,14 +365,14 @@ export declare const commands: {
365
365
  };
366
366
  };
367
367
  readonly success: {
368
- readonly fetch: (path: string | number) => string;
368
+ readonly fetch: (path: string) => string;
369
369
  };
370
370
  readonly inputDest: "Where would you like to save the schemas?";
371
371
  };
372
372
  readonly fetch: {
373
373
  readonly describe: "Fetch a custom object schema.";
374
374
  readonly errors: {
375
- readonly fetch: (name: string | number) => string;
375
+ readonly fetch: (name: string) => string;
376
376
  };
377
377
  readonly examples: {
378
378
  readonly default: "Fetch \"schemaId\" schema and put it in the current working directory";
@@ -389,8 +389,8 @@ export declare const commands: {
389
389
  readonly selectSchema: "Which schema would you like to fetch?";
390
390
  readonly inputDest: "What would you like to name the destination file?";
391
391
  readonly success: {
392
- readonly save: (name: string | number, path: string | number) => string;
393
- readonly savedToPath: (path: string | number) => string;
392
+ readonly save: (name: string, path: string) => string;
393
+ readonly savedToPath: (path: string) => string;
394
394
  };
395
395
  };
396
396
  readonly list: {
@@ -403,7 +403,7 @@ export declare const commands: {
403
403
  readonly describe: "Update an existing custom object schema.";
404
404
  readonly errors: {
405
405
  readonly invalidSchema: "The schema definition is invalid. Please check the schema and try again.";
406
- readonly update: (definition: string | number) => string;
406
+ readonly update: (definition: string) => string;
407
407
  };
408
408
  readonly options: {
409
409
  readonly path: {
@@ -416,8 +416,8 @@ export declare const commands: {
416
416
  };
417
417
  };
418
418
  readonly success: {
419
- readonly update: (accountId: string | number) => string;
420
- readonly viewAtUrl: (url: string | number) => string;
419
+ readonly update: (accountId: string) => string;
420
+ readonly viewAtUrl: (url: string) => string;
421
421
  };
422
422
  readonly selectSchema: "Which schema would you like to update?";
423
423
  };
@@ -432,9 +432,9 @@ export declare const commands: {
432
432
  };
433
433
  readonly errors: {
434
434
  readonly generatingDiagnosis: "Error generating diagnosis";
435
- readonly unableToWriteOutputFile: (file: string | number, errorMessage: string | number) => string;
435
+ readonly unableToWriteOutputFile: (file: string, errorMessage: string) => string;
436
436
  };
437
- readonly outputWritten: (filename: string | number) => string;
437
+ readonly outputWritten: (filename: string) => string;
438
438
  };
439
439
  readonly fetch: {
440
440
  readonly describe: "Fetch a file, directory or module from HubSpot and write to a path on your computer.";
@@ -484,13 +484,13 @@ export declare const commands: {
484
484
  readonly describe: "Upload a folder or file to the File Manager.";
485
485
  readonly errors: {
486
486
  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;
487
+ readonly fileIgnored: (path: string) => string;
488
+ readonly invalidPath: (path: string) => string;
489
+ readonly upload: (src: string, dest: string) => string;
490
490
  readonly uploadingFailed: "Uploading failed";
491
491
  };
492
492
  readonly logs: {
493
- readonly uploading: (src: string | number, dest: string | number, accountId: string | number) => string;
493
+ readonly uploading: (src: string, dest: string, accountId: string) => string;
494
494
  };
495
495
  readonly positionals: {
496
496
  readonly dest: {
@@ -501,8 +501,8 @@ export declare const commands: {
501
501
  };
502
502
  };
503
503
  readonly success: {
504
- readonly upload: (src: string | number, dest: string | number, accountId: string | number) => string;
505
- readonly uploadComplete: (dest: string | number) => string;
504
+ readonly upload: (src: string, dest: string, accountId: string) => string;
505
+ readonly uploadComplete: (dest: string) => string;
506
506
  };
507
507
  };
508
508
  };
@@ -512,25 +512,25 @@ export declare const commands: {
512
512
  readonly subcommands: {
513
513
  readonly deploy: {
514
514
  readonly debug: {
515
- readonly startingBuildAndDeploy: (functionPath: string | number) => string;
515
+ readonly startingBuildAndDeploy: (functionPath: string) => string;
516
516
  };
517
517
  readonly errors: {
518
- readonly buildError: (details: string | number) => string;
519
- readonly noPackageJson: (functionPath: string | number) => string;
520
- readonly notFunctionsFolder: (functionPath: string | number) => string;
518
+ readonly buildError: (details: string) => string;
519
+ readonly noPackageJson: (functionPath: string) => string;
520
+ readonly notFunctionsFolder: (functionPath: string) => string;
521
521
  };
522
522
  readonly examples: {
523
523
  readonly default: "Build and deploy a new bundle for all functions within the myFunctionFolder.functions folder";
524
524
  };
525
- readonly loading: (functionPath: string | number, account: string | number) => string;
526
- readonly loadingFailed: (functionPath: string | number, account: string | number) => string;
525
+ readonly loading: (functionPath: string, account: string) => string;
526
+ readonly loadingFailed: (functionPath: string, account: string) => string;
527
527
  readonly positionals: {
528
528
  readonly path: {
529
529
  readonly describe: "Path to the \".functions\" folder";
530
530
  };
531
531
  };
532
532
  readonly success: {
533
- readonly deployed: (functionPath: string | number, accountId: string | number, buildTimeSeconds: string | number) => string;
533
+ readonly deployed: (functionPath: string, accountId: string, buildTimeSeconds: string) => string;
534
534
  };
535
535
  };
536
536
  readonly list: {
@@ -549,7 +549,7 @@ export declare const commands: {
549
549
  };
550
550
  readonly server: {
551
551
  readonly debug: {
552
- readonly startingServer: (functionPath: string | number) => string;
552
+ readonly startingServer: (functionPath: string) => string;
553
553
  };
554
554
  readonly examples: {
555
555
  readonly default: "Run a local function test server.";
@@ -582,9 +582,9 @@ export declare const commands: {
582
582
  readonly clear: {
583
583
  readonly describe: "Clear all rows in a HubDB table.";
584
584
  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;
585
+ readonly removedRows: (deletedRowCount: string, tableId: string) => string;
586
+ readonly rowCount: (tableId: string, rowCount: string) => string;
587
+ readonly tableEmpty: (tableId: string) => string;
588
588
  };
589
589
  readonly positionals: {
590
590
  readonly tableId: {
@@ -596,7 +596,7 @@ export declare const commands: {
596
596
  readonly describe: "Create a HubDB table.";
597
597
  readonly enterPath: "[--path] Enter the local path to the file used for import:";
598
598
  readonly errors: {
599
- readonly create: (filePath: string | number) => string;
599
+ readonly create: (filePath: string) => string;
600
600
  readonly pathRequired: "A path to a local file with a HubDB schema is required to create a HubDB table";
601
601
  readonly invalidCharacters: "The selected file path contains invalid characters. Please provide a new path and try again.";
602
602
  };
@@ -606,14 +606,14 @@ export declare const commands: {
606
606
  };
607
607
  };
608
608
  readonly success: {
609
- readonly create: (tableId: string | number, accountId: string | number, rowCount: string | number) => string;
609
+ readonly create: (tableId: string, accountId: string, rowCount: string) => string;
610
610
  };
611
611
  };
612
612
  readonly delete: {
613
613
  readonly describe: "Delete a HubDB table.";
614
- readonly shouldDeleteTable: (tableId: string | number) => string;
614
+ readonly shouldDeleteTable: (tableId: string) => string;
615
615
  readonly errors: {
616
- readonly delete: (tableId: string | number) => string;
616
+ readonly delete: (tableId: string) => string;
617
617
  };
618
618
  readonly positionals: {
619
619
  readonly tableId: {
@@ -626,7 +626,7 @@ export declare const commands: {
626
626
  };
627
627
  };
628
628
  readonly success: {
629
- readonly delete: (tableId: string | number, accountId: string | number) => string;
629
+ readonly delete: (tableId: string, accountId: string) => string;
630
630
  };
631
631
  };
632
632
  readonly fetch: {
@@ -640,17 +640,17 @@ export declare const commands: {
640
640
  };
641
641
  };
642
642
  readonly success: {
643
- readonly fetch: (tableId: string | number, path: string | number) => string;
643
+ readonly fetch: (tableId: string, path: string) => string;
644
644
  };
645
645
  };
646
646
  };
647
647
  };
648
648
  readonly init: {
649
- readonly describe: (configName: string | number) => string;
649
+ readonly describe: (configName: string) => string;
650
650
  readonly options: {
651
651
  readonly authType: {
652
652
  readonly describe: "Authentication mechanism";
653
- readonly defaultDescription: (authMethod: string | number) => string;
653
+ readonly defaultDescription: (authMethod: string) => string;
654
654
  };
655
655
  readonly account: {
656
656
  readonly describe: "HubSpot account to authenticate";
@@ -660,20 +660,20 @@ export declare const commands: {
660
660
  };
661
661
  };
662
662
  readonly success: {
663
- readonly configFileCreated: (configPath: string | number) => string;
664
- readonly configFileUpdated: (account: string | number, authType: string | number) => string;
663
+ readonly configFileCreated: (configPath: string) => string;
664
+ readonly configFileUpdated: (account: string, authType: string) => string;
665
665
  };
666
666
  readonly logs: {
667
667
  readonly updateConfig: "To update an existing config file, use the \"hs auth\" command.";
668
668
  };
669
669
  readonly errors: {
670
- readonly configFileExists: (configPath: string | number) => string;
671
- readonly bothConfigFilesNotAllowed: (path: string | number) => string;
670
+ readonly configFileExists: (configPath: string) => string;
671
+ readonly bothConfigFilesNotAllowed: (path: string) => string;
672
672
  };
673
673
  };
674
674
  readonly lint: {
675
- readonly issuesFound: (count: string | number) => string;
676
- readonly groupName: (path: string | number) => string;
675
+ readonly issuesFound: (count: string) => string;
676
+ readonly groupName: (path: string) => string;
677
677
  readonly positionals: {
678
678
  readonly path: {
679
679
  readonly describe: "Local folder to lint";
@@ -682,8 +682,8 @@ export declare const commands: {
682
682
  };
683
683
  readonly list: {
684
684
  readonly describe: "List remote contents of a directory.";
685
- readonly gettingPathContents: (path: string | number) => string;
686
- readonly noFilesFoundAtPath: (path: string | number) => string;
685
+ readonly gettingPathContents: (path: string) => string;
686
+ readonly noFilesFoundAtPath: (path: string) => string;
687
687
  readonly positionals: {
688
688
  readonly path: {
689
689
  readonly describe: "Remote directory to list contents";
@@ -693,7 +693,7 @@ export declare const commands: {
693
693
  readonly logs: {
694
694
  readonly describe: "View logs for a CMS serverless function.";
695
695
  readonly errors: {
696
- readonly noLogsFound: (functionPath: string | number, accountId: string | number) => string;
696
+ readonly noLogsFound: (functionPath: string, accountId: string) => string;
697
697
  };
698
698
  readonly examples: {
699
699
  readonly default: "Get 5 most recent logs for function residing at /_hcms/api/my-endpoint";
@@ -701,7 +701,7 @@ export declare const commands: {
701
701
  readonly limit: "Get 10 most recent logs for function residing at /_hcms/api/my-endpoint";
702
702
  };
703
703
  readonly endpointPrompt: "Enter a serverless function endpoint:";
704
- readonly gettingLogs: (latest: string | number, functionPath: string | number) => string;
704
+ readonly gettingLogs: (latest: string, functionPath: string) => string;
705
705
  readonly options: {
706
706
  readonly compact: {
707
707
  readonly describe: "output compact logs";
@@ -721,15 +721,15 @@ export declare const commands: {
721
721
  readonly describe: "Serverless function endpoint";
722
722
  };
723
723
  };
724
- readonly tailLogs: (functionPath: string | number, accountId: string | number) => string;
724
+ readonly tailLogs: (functionPath: string, accountId: string) => string;
725
725
  };
726
726
  readonly mv: {
727
727
  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
728
  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;
729
+ readonly sourcePathExists: (srcPath: string, destPath: string) => string;
730
+ readonly moveFailed: (srcPath: string, destPath: string, accountId: string) => string;
731
731
  };
732
- readonly move: (srcPath: string | number, destPath: string | number, accountId: string | number) => string;
732
+ readonly move: (srcPath: string, destPath: string, accountId: string) => string;
733
733
  };
734
734
  readonly open: {
735
735
  readonly describe: "Open a HubSpot page in your browser.";
@@ -746,6 +746,72 @@ export declare const commands: {
746
746
  readonly selectLink: "Select a link to open";
747
747
  };
748
748
  readonly project: {
749
+ readonly profile: {
750
+ readonly describe: "Commands for managing project profiles";
751
+ readonly verboseDescribe: `Commands for managing project profiles
752
+
753
+ Profiles are stored at the root of your project's source directory and they make configuration dynamic. Use them to couple specialized configurations of your project to specific HubSpot accounts.
754
+
755
+ Run ${string} to get started!`;
756
+ readonly add: {
757
+ readonly describe: "Add a new project profile";
758
+ readonly verboseDescribe: `Add a new project profile
759
+
760
+ 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
+ readonly example: "Add a new project profile named hsprofile.qa.json";
762
+ readonly logs: {
763
+ readonly copyExistingProfile: (profileName: string) => 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) => string;
766
+ };
767
+ readonly prompts: {
768
+ readonly namePrompt: "[name] Enter a name for the new project profile: ";
769
+ readonly emptyName: "Profile name cannot be empty";
770
+ readonly targetAccountPrompt: "[target-account] Select a target account for this profile";
771
+ readonly copyExistingProfilePrompt: "Select a profile to copy variables from";
772
+ readonly copyExistingProfilePromptEmpty: "Skip (don't copy any variables)";
773
+ readonly invalidProfileName: "Profile name cannot contain special characters or spaces";
774
+ };
775
+ readonly errors: {
776
+ readonly noProjectConfig: "No project config found. Please run this command from a project directory.";
777
+ readonly profileExists: (profileName: string) => string;
778
+ readonly invalidTargetAccount: "Target account is not configured in the CLI";
779
+ readonly noAccountsConfigured: "No accounts configured in the CLI";
780
+ readonly failedToLoadProfile: (profileName: string) => string;
781
+ readonly failedToCreateProfile: "Failed to create profile";
782
+ };
783
+ readonly positionals: {
784
+ readonly name: "The name of the project profile";
785
+ };
786
+ readonly options: {
787
+ readonly targetAccount: "The target account ID for this profile";
788
+ };
789
+ };
790
+ readonly remove: {
791
+ readonly describe: "Remove an existing project profile";
792
+ readonly example: "Remove a project profile named hsprofile.qa.json";
793
+ readonly logs: {
794
+ readonly profileRemoved: (profileName: string) => string;
795
+ readonly removedProject: (accountId: number) => string;
796
+ readonly didNotRemoveProject: (accountId: number) => string;
797
+ };
798
+ readonly debug: {
799
+ readonly failedToLoadProfile: (profileName: string) => string;
800
+ };
801
+ readonly prompts: {
802
+ readonly removeProfilePrompt: "Select a profile to remove from your project";
803
+ readonly removeProjectPrompt: (accountId: number) => string;
804
+ };
805
+ readonly errors: {
806
+ readonly noProjectConfig: "No project config found. Please run this command from a project directory.";
807
+ readonly noProfileFound: (profileName: string) => string;
808
+ readonly failedToRemoveProfile: (profileName: string) => string;
809
+ };
810
+ readonly positionals: {
811
+ readonly name: "The name of the project profile";
812
+ };
813
+ };
814
+ };
749
815
  readonly dev: {
750
816
  readonly describe: "Start local dev for the current project.";
751
817
  readonly logs: {
@@ -755,10 +821,10 @@ export declare const commands: {
755
821
  };
756
822
  readonly errors: {
757
823
  readonly noProjectConfig: "No project detected. Please run this command again from a project directory.";
758
- readonly noAccount: (accountId: string | number, authCommand: string | number) => string;
759
- readonly noAccountsInConfig: (authCommand: string | number) => string;
824
+ readonly noAccount: (accountId: string, authCommand: string) => string;
825
+ readonly noAccountsInConfig: (authCommand: string) => string;
760
826
  readonly invalidProjectComponents: "Projects cannot contain both private and public apps. Move your apps to separate projects before attempting local development.";
761
- readonly noRunnableComponents: (command: string | number) => string;
827
+ readonly noRunnableComponents: (command: string) => string;
762
828
  };
763
829
  readonly examples: {
764
830
  readonly default: "Start local dev for the current project";
@@ -770,10 +836,10 @@ export declare const commands: {
770
836
  readonly failedToDownloadProject: "Failed to download project. Please try again later.";
771
837
  readonly invalidTemplateSource: "Invalid template source provided. Use the format <Owner>/<Repo> and try again.";
772
838
  readonly failedToFetchProjectList: "Failed to fetch the list of available project templates. Please try again later.";
773
- readonly cannotNestProjects: (projectDir: string | number) => string;
839
+ readonly cannotNestProjects: (projectDir: string) => string;
774
840
  };
775
841
  readonly logs: {
776
- readonly success: (projectName: string | number, projectDest: string | number) => string;
842
+ readonly success: (projectName: string, projectDest: string) => string;
777
843
  readonly welcomeMessage: "Welcome to HubSpot Developer Projects!";
778
844
  };
779
845
  readonly examples: {
@@ -815,7 +881,7 @@ export declare const commands: {
815
881
  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.";
816
882
  readonly link: "Learn more about migrating apps to the projects framework";
817
883
  };
818
- readonly deprecationWarning: (oldCommand: string | number, newCommand: string | number) => string;
884
+ readonly deprecationWarning: (oldCommand: string, newCommand: string) => string;
819
885
  readonly migrationStatus: {
820
886
  readonly inProgress: () => string;
821
887
  readonly success: () => string;
@@ -838,7 +904,7 @@ export declare const commands: {
838
904
  readonly preamble: (platformVersion: string) => string;
839
905
  readonly describe: "Migrate an existing project to the new version of the projects framework.";
840
906
  readonly errors: {
841
- readonly noProjectConfig: (command: string | number) => string;
907
+ readonly noProjectConfig: (command: string) => string;
842
908
  };
843
909
  readonly examples: {
844
910
  readonly default: "Migrate an existing project to the new version of the projects framework.";
@@ -860,13 +926,13 @@ export declare const commands: {
860
926
  readonly cloneStatus: {
861
927
  readonly inProgress: () => string;
862
928
  readonly done: "Cloning app configuration to public-app.json component definition ... DONE";
863
- readonly success: (dest: string | number) => string;
929
+ readonly success: (dest: string) => string;
864
930
  readonly failure: "Cloning app configuration to public-app.json component definition ... FAILED";
865
931
  };
866
932
  readonly errors: {
867
933
  readonly invalidAccountTypeTitle: () => string;
868
- readonly invalidAccountTypeDescription: (useCommand: string | number, authCommand: string | number) => string;
869
- readonly couldNotWriteConfigPath: (configPath: string | number) => string;
934
+ readonly invalidAccountTypeDescription: (useCommand: string, authCommand: string) => string;
935
+ readonly couldNotWriteConfigPath: (configPath: string) => string;
870
936
  };
871
937
  };
872
938
  readonly add: {
@@ -879,8 +945,8 @@ export declare const commands: {
879
945
  readonly describe: "The path to the component type's location within the hubspot-project-components Github repo: https://github.com/HubSpot/hubspot-project-components";
880
946
  };
881
947
  };
882
- readonly creatingComponent: (projectName: string | number) => string;
883
- readonly success: (componentName: string | number) => string;
948
+ readonly creatingComponent: (projectName: string) => string;
949
+ readonly success: (componentName: string) => string;
884
950
  readonly error: {
885
951
  readonly failedToDownloadComponent: "Failed to download project component. Please try again later.";
886
952
  readonly locationInProject: "This command must be run from within a project directory.";
@@ -896,15 +962,15 @@ export declare const commands: {
896
962
  readonly describe: "Deploy a project build.";
897
963
  readonly deployBuildIdPrompt: "[--build] Deploy which build?";
898
964
  readonly debug: {
899
- readonly deploying: (path: string | number) => string;
965
+ readonly deploying: (path: string) => string;
900
966
  };
901
967
  readonly errors: {
902
- readonly deploy: (details: string | number) => string;
968
+ readonly deploy: (details: string) => string;
903
969
  readonly noBuilds: "Deploy error: no builds for this project were found.";
904
970
  readonly noBuildId: "You must specify a build to deploy";
905
- readonly projectNotFound: (projectName: string | number, accountIdentifier: string | number, command: string | number) => string;
906
- readonly buildIdDoesNotExist: (buildId: string | number, projectName: string | number, linkToProject: string | number) => string;
907
- readonly buildAlreadyDeployed: (buildId: string | number, linkToProject: string | number) => string;
971
+ readonly projectNotFound: (projectName: string, accountIdentifier: string, command: string) => string;
972
+ readonly buildIdDoesNotExist: (buildId: string, projectName: string, linkToProject: string) => string;
973
+ readonly buildAlreadyDeployed: (buildId: string, linkToProject: string) => string;
908
974
  readonly viewProjectsBuilds: "View project builds in HubSpot";
909
975
  };
910
976
  readonly examples: {
@@ -924,11 +990,11 @@ export declare const commands: {
924
990
  readonly describe: "List the project's builds.";
925
991
  readonly continueOrExitPrompt: "Press <enter> to load more, or ctrl+c to exit";
926
992
  readonly viewAllBuildsLink: "View all builds";
927
- readonly showingNextBuilds: (count: string | number, projectName: string | number) => string;
928
- readonly showingRecentBuilds: (count: string | number, projectName: string | number, viewAllBuildsLink: string | number) => string;
993
+ readonly showingNextBuilds: (count: string, projectName: string) => string;
994
+ readonly showingRecentBuilds: (count: string, projectName: string, viewAllBuildsLink: string) => string;
929
995
  readonly errors: {
930
996
  readonly noBuilds: "No builds for this project were found.";
931
- readonly projectNotFound: (projectName: string | number) => string;
997
+ readonly projectNotFound: (projectName: string) => string;
932
998
  };
933
999
  readonly options: {
934
1000
  readonly project: {
@@ -951,15 +1017,15 @@ export declare const commands: {
951
1017
  readonly noFunctionsInProject: `There aren't any functions in this project
952
1018
  \t- Run ${string} to learn more about logs
953
1019
  \t- ${string} to learn more about serverless functions`;
954
- readonly noFunctionWithName: (name: string | number) => string;
955
- readonly functionNotDeployed: (name: string | number) => string;
1020
+ readonly noFunctionWithName: (name: string) => string;
1021
+ readonly functionNotDeployed: (name: string) => string;
956
1022
  readonly projectLogsManagerNotInitialized: "Function called on ProjectLogsManager before initialization";
957
1023
  readonly generic: "Error fetching logs";
958
1024
  };
959
1025
  readonly logs: {
960
1026
  readonly showingLogs: "Showing logs for:";
961
1027
  readonly hubspotLogsDirectLink: "View function logs in HubSpot";
962
- readonly noLogsFound: (name: string | number) => string;
1028
+ readonly noLogsFound: (name: string) => string;
963
1029
  };
964
1030
  readonly table: {
965
1031
  readonly accountHeader: "Account";
@@ -997,10 +1063,10 @@ export declare const commands: {
997
1063
  readonly default: "Upload a project into your HubSpot account";
998
1064
  };
999
1065
  readonly logs: {
1000
- readonly buildSucceeded: (buildId: string | number) => string;
1066
+ readonly buildSucceeded: (buildId: string) => string;
1001
1067
  readonly readyToGoLive: "🚀 Ready to take your project live?";
1002
- readonly runCommand: (command: string | number) => string;
1003
- readonly autoDeployDisabled: (deployCommand: string | number) => string;
1068
+ readonly runCommand: (command: string) => string;
1069
+ readonly autoDeployDisabled: (deployCommand: string) => string;
1004
1070
  };
1005
1071
  readonly errors: {
1006
1072
  readonly projectLockedError: () => string;
@@ -1023,10 +1089,10 @@ export declare const commands: {
1023
1089
  readonly processExited: "Stopping watcher...";
1024
1090
  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}.`;
1025
1091
  readonly resuming: "Resuming watcher...";
1026
- readonly uploadSucceeded: (remotePath: string | number, filePath: string | number) => string;
1027
- readonly deleteFileSucceeded: (remotePath: string | number) => string;
1028
- readonly deleteFolderSucceeded: (remotePath: string | number) => string;
1029
- readonly watching: (projectDir: string | number) => string;
1092
+ readonly uploadSucceeded: (remotePath: string, filePath: string) => string;
1093
+ readonly deleteFileSucceeded: (remotePath: string) => string;
1094
+ readonly deleteFolderSucceeded: (remotePath: string) => string;
1095
+ readonly watching: (projectDir: string) => string;
1030
1096
  readonly previousStagingBuildCancelled: "Killed the previous watch process. Please try running `hs project watch` again";
1031
1097
  };
1032
1098
  readonly options: {
@@ -1037,18 +1103,18 @@ export declare const commands: {
1037
1103
  readonly debug: {
1038
1104
  readonly pause: "Pausing watcher, attempting to queue build";
1039
1105
  readonly buildStarted: "Build queued.";
1040
- readonly extensionNotAllowed: (filePath: string | number) => string;
1041
- readonly ignored: (filePath: string | number) => string;
1042
- readonly uploading: (filePath: string | number, remotePath: string | number) => string;
1106
+ readonly extensionNotAllowed: (filePath: string) => string;
1107
+ readonly ignored: (filePath: string) => string;
1108
+ readonly uploading: (filePath: string, remotePath: string) => string;
1043
1109
  readonly attemptNewBuild: "Attempting to create a new build";
1044
- readonly fileAlreadyQueued: (filePath: string | number) => string;
1110
+ readonly fileAlreadyQueued: (filePath: string) => string;
1045
1111
  };
1046
1112
  readonly errors: {
1047
1113
  readonly projectConfigNotFound: "No project config found. Please ensure that you are in a project directory.";
1048
1114
  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.`;
1049
- readonly uploadFailed: (remotePath: string | number, filePath: string | number) => string;
1050
- readonly deleteFileFailed: (remotePath: string | number) => string;
1051
- readonly deleteFolderFailed: (remotePath: string | number) => string;
1115
+ readonly uploadFailed: (remotePath: string, filePath: string) => string;
1116
+ readonly deleteFileFailed: (remotePath: string) => string;
1117
+ readonly deleteFolderFailed: (remotePath: string) => string;
1052
1118
  };
1053
1119
  };
1054
1120
  readonly download: {
@@ -1058,11 +1124,11 @@ export declare const commands: {
1058
1124
  };
1059
1125
  readonly logs: {
1060
1126
  readonly downloadCancelled: "Cancelling project download";
1061
- readonly downloadSucceeded: (buildId: string | number, projectName: string | number) => string;
1127
+ readonly downloadSucceeded: (buildId: string, projectName: string) => string;
1062
1128
  };
1063
1129
  readonly errors: {
1064
1130
  readonly downloadFailed: "Something went wrong downloading the project";
1065
- readonly projectNotFound: (projectName: string | number, accountId: string | number) => string;
1131
+ readonly projectNotFound: (projectName: string, accountId: string) => string;
1066
1132
  };
1067
1133
  readonly warnings: {
1068
1134
  readonly cannotDownloadWithinProject: "Cancelling project download. Please run the command again outside the context of an existing project.";
@@ -1089,25 +1155,13 @@ export declare const commands: {
1089
1155
  readonly examples: {
1090
1156
  readonly default: "Opens the projects page for the specified account";
1091
1157
  };
1092
- readonly success: (projectName: string | number) => string;
1158
+ readonly success: (projectName: string) => string;
1093
1159
  };
1094
1160
  readonly feedback: {
1095
- readonly describe: "Leave feedback on HubSpot projects or file a bug report.";
1096
- readonly feedbackType: {
1097
- readonly prompt: "What type of feedback would you like to leave?";
1098
- readonly bug: "[--bug] Report a bug";
1099
- readonly general: "[--general] Tell us about your experience with HubSpot's developer tools";
1100
- };
1101
- readonly openPrompt: "Create a Github issue in your browser?";
1102
- readonly success: (url: string | number) => string;
1103
- readonly options: {
1104
- readonly bug: {
1105
- readonly describe: "Open Github issues in your browser to report a bug.";
1106
- };
1107
- readonly general: {
1108
- readonly describe: "Open Github issues in your browser to give feedback.";
1109
- };
1110
- };
1161
+ readonly describe: "Leave feedback or file a bug report.";
1162
+ readonly openPrompt: "Open the feedback form in your browser?";
1163
+ readonly success: (url: string) => string;
1164
+ readonly error: (url: string) => string;
1111
1165
  };
1112
1166
  readonly installDeps: {
1113
1167
  readonly help: {
@@ -1117,20 +1171,20 @@ export declare const commands: {
1117
1171
  };
1118
1172
  readonly installLocationPrompt: "Choose the project components to install the dependencies:";
1119
1173
  readonly installLocationPromptRequired: "You must choose at least one subcomponent";
1120
- readonly installingDependencies: (directory: string | number) => string;
1121
- readonly installationSuccessful: (directory: string | number) => string;
1122
- readonly addingDependenciesToLocation: (dependencies: string | number, directory: string | number) => string;
1123
- readonly installingDependenciesFailed: (directory: string | number) => string;
1174
+ readonly installingDependencies: (directory: string) => string;
1175
+ readonly installationSuccessful: (directory: string) => string;
1176
+ readonly addingDependenciesToLocation: (dependencies: string, directory: string) => string;
1177
+ readonly installingDependenciesFailed: (directory: string) => string;
1124
1178
  readonly noProjectConfig: "No project detected. Run this command from a project directory.";
1125
- readonly noPackageJsonInProject: (projectName: string | number, link: string | number) => string;
1126
- readonly packageManagerNotInstalled: (packageManager: string | number, link: string | number) => string;
1179
+ readonly noPackageJsonInProject: (projectName: string, link: string) => string;
1180
+ readonly packageManagerNotInstalled: (packageManager: string, link: string) => string;
1127
1181
  };
1128
1182
  };
1129
1183
  readonly remove: {
1130
1184
  readonly describe: "Delete a file or folder from HubSpot.";
1131
- readonly deleted: (path: string | number, accountId: string | number) => string;
1185
+ readonly deleted: (path: string, accountId: string) => string;
1132
1186
  readonly errors: {
1133
- readonly deleteFailed: (path: string | number, accountId: string | number) => string;
1187
+ readonly deleteFailed: (path: string, accountId: string) => string;
1134
1188
  };
1135
1189
  readonly positionals: {
1136
1190
  readonly path: {
@@ -1144,39 +1198,39 @@ export declare const commands: {
1144
1198
  readonly create: {
1145
1199
  readonly developer: {
1146
1200
  readonly loading: {
1147
- readonly add: (accountName: string | number) => string;
1148
- readonly fail: (accountName: string | number) => string;
1149
- readonly succeed: (accountName: string | number, accountId: string | number) => string;
1201
+ readonly add: (accountName: string) => string;
1202
+ readonly fail: (accountName: string) => string;
1203
+ readonly succeed: (accountName: string, accountId: string) => string;
1150
1204
  };
1151
1205
  readonly success: {
1152
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
1206
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
1153
1207
  };
1154
1208
  readonly failure: {
1155
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
1156
- readonly limit: (accountName: string | number, limit: string | number) => string;
1157
- readonly alreadyInConfig: (accountName: string | number, limit: string | number) => string;
1209
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1210
+ readonly limit: (accountName: string, limit: string) => string;
1211
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
1158
1212
  readonly scopes: {
1159
1213
  readonly message: "The personal access key you provided doesn't include developer sandbox permissions.";
1160
- readonly instructions: (accountName: string | number, url: string | number) => string;
1214
+ readonly instructions: (accountName: string, url: string) => string;
1161
1215
  };
1162
1216
  };
1163
1217
  };
1164
1218
  readonly standard: {
1165
1219
  readonly loading: {
1166
- readonly add: (accountName: string | number) => string;
1167
- readonly fail: (accountName: string | number) => string;
1168
- readonly succeed: (accountName: string | number, accountId: string | number) => string;
1220
+ readonly add: (accountName: string) => string;
1221
+ readonly fail: (accountName: string) => string;
1222
+ readonly succeed: (accountName: string, accountId: string) => string;
1169
1223
  };
1170
1224
  readonly success: {
1171
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
1225
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
1172
1226
  };
1173
1227
  readonly failure: {
1174
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
1175
- readonly limit: (accountName: string | number, limit: string | number) => string;
1176
- readonly alreadyInConfig: (accountName: string | number, limit: string | number) => string;
1228
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1229
+ readonly limit: (accountName: string, limit: string) => string;
1230
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
1177
1231
  readonly scopes: {
1178
1232
  readonly message: "The personal access key you provided doesn't include standard sandbox permissions.";
1179
- readonly instructions: (accountName: string | number, url: string | number) => string;
1233
+ readonly instructions: (accountName: string, url: string) => string;
1180
1234
  };
1181
1235
  };
1182
1236
  };
@@ -1184,28 +1238,28 @@ export declare const commands: {
1184
1238
  readonly delete: {
1185
1239
  readonly describe: "Delete a sandbox account.";
1186
1240
  readonly debug: {
1187
- readonly deleting: (account: string | number) => string;
1241
+ readonly deleting: (account: string) => string;
1188
1242
  readonly error: "Error deleting sandbox account:";
1189
1243
  };
1190
1244
  readonly examples: {
1191
1245
  readonly default: "Deletes the sandbox account named MySandboxAccount.";
1192
1246
  };
1193
- readonly confirm: (account: string | number) => string;
1194
- readonly defaultAccountWarning: (account: string | number) => string;
1247
+ readonly confirm: (account: string) => string;
1248
+ readonly defaultAccountWarning: (account: string) => string;
1195
1249
  readonly success: {
1196
- readonly delete: (account: string | number, sandboxHubId: string | number) => string;
1197
- readonly deleteDefault: (account: string | number, sandboxHubId: string | number) => string;
1198
- readonly configFileUpdated: (account: string | number, configFilename: string | number) => string;
1250
+ readonly delete: (account: string, sandboxHubId: string) => string;
1251
+ readonly deleteDefault: (account: string, sandboxHubId: string) => string;
1252
+ readonly configFileUpdated: (account: string, configFilename: string) => string;
1199
1253
  };
1200
1254
  readonly failure: {
1201
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
1255
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1202
1256
  readonly noAccount: "No account specified. Specify an account by using the --account flag.";
1203
- readonly noSandboxAccounts: (authCommand: string | number) => string;
1257
+ readonly noSandboxAccounts: (authCommand: string) => string;
1204
1258
  readonly noSandboxAccountId: "This sandbox can't be deleted from the CLI because we could not find the associated sandbox account.";
1205
- readonly noParentAccount: (authCommand: string | number) => string;
1206
- readonly objectNotFound: (account: string | number) => string;
1207
- readonly noParentPortalAvailable: (command: string | number, url: string | number) => string;
1208
- readonly invalidKey: (account: string | number, authCommand: string | number) => string;
1259
+ readonly noParentAccount: (authCommand: string) => string;
1260
+ readonly objectNotFound: (account: string) => string;
1261
+ readonly noParentPortalAvailable: (command: string, url: string) => string;
1262
+ readonly invalidKey: (account: string, authCommand: string) => string;
1209
1263
  };
1210
1264
  readonly options: {
1211
1265
  readonly force: {
@@ -1219,18 +1273,18 @@ export declare const commands: {
1219
1273
  };
1220
1274
  readonly sync: {
1221
1275
  readonly loading: {
1222
- readonly add: (accountName: string | number) => string;
1223
- readonly fail: (accountName: string | number) => string;
1224
- readonly succeed: (accountName: string | number) => string;
1276
+ readonly add: (accountName: string) => string;
1277
+ readonly fail: (accountName: string) => string;
1278
+ readonly succeed: (accountName: string) => string;
1225
1279
  };
1226
1280
  readonly success: {
1227
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
1281
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
1228
1282
  };
1229
1283
  readonly failure: {
1230
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
1284
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1231
1285
  readonly scopes: {
1232
1286
  readonly message: "The personal access key you provided doesn't include sandbox sync permissions.";
1233
- readonly instructions: (accountName: string | number, url: string | number) => string;
1287
+ readonly instructions: (accountName: string, url: string) => string;
1234
1288
  };
1235
1289
  };
1236
1290
  };
@@ -1241,8 +1295,8 @@ export declare const commands: {
1241
1295
  readonly add: {
1242
1296
  readonly describe: "Create a new secret.";
1243
1297
  readonly errors: {
1244
- readonly add: (secretName: string | number) => string;
1245
- readonly alreadyExists: (secretName: string | number, command: string | number) => string;
1298
+ readonly add: (secretName: string) => string;
1299
+ readonly alreadyExists: (secretName: string, command: string) => string;
1246
1300
  };
1247
1301
  readonly positionals: {
1248
1302
  readonly name: {
@@ -1250,17 +1304,17 @@ export declare const commands: {
1250
1304
  };
1251
1305
  };
1252
1306
  readonly success: {
1253
- readonly add: (secretName: string | number, accountIdentifier: string | number) => string;
1307
+ readonly add: (secretName: string, accountIdentifier: string) => string;
1254
1308
  };
1255
1309
  };
1256
1310
  readonly delete: {
1257
1311
  readonly describe: "Delete a secret.";
1258
1312
  readonly selectSecret: "Select the secret you want to delete";
1259
1313
  readonly deleteCanceled: "Delete canceled";
1260
- readonly confirmDelete: (secretName: string | number) => string;
1314
+ readonly confirmDelete: (secretName: string) => string;
1261
1315
  readonly errors: {
1262
- readonly delete: (secretName: string | number) => string;
1263
- readonly noSecret: (secretName: string | number) => string;
1316
+ readonly delete: (secretName: string) => string;
1317
+ readonly noSecret: (secretName: string) => string;
1264
1318
  };
1265
1319
  readonly positionals: {
1266
1320
  readonly name: {
@@ -1268,7 +1322,7 @@ export declare const commands: {
1268
1322
  };
1269
1323
  };
1270
1324
  readonly success: {
1271
- readonly delete: (secretName: string | number, accountIdentifier: string | number) => string;
1325
+ readonly delete: (secretName: string, accountIdentifier: string) => string;
1272
1326
  };
1273
1327
  };
1274
1328
  readonly list: {
@@ -1276,14 +1330,14 @@ export declare const commands: {
1276
1330
  readonly errors: {
1277
1331
  readonly list: "The secrets could not be listed";
1278
1332
  };
1279
- readonly groupLabel: (accountIdentifier: string | number) => string;
1333
+ readonly groupLabel: (accountIdentifier: string) => string;
1280
1334
  };
1281
1335
  readonly update: {
1282
1336
  readonly describe: "Update an existing secret.";
1283
1337
  readonly selectSecret: "Select the secret you want to update";
1284
1338
  readonly errors: {
1285
- readonly update: (secretName: string | number) => string;
1286
- readonly noSecret: (secretName: string | number) => string;
1339
+ readonly update: (secretName: string) => string;
1340
+ readonly noSecret: (secretName: string) => string;
1287
1341
  };
1288
1342
  readonly positionals: {
1289
1343
  readonly name: {
@@ -1291,7 +1345,7 @@ export declare const commands: {
1291
1345
  };
1292
1346
  };
1293
1347
  readonly success: {
1294
- readonly update: (secretName: string | number, accountIdentifier: string | number) => string;
1348
+ readonly update: (secretName: string, accountIdentifier: string) => string;
1295
1349
  readonly updateExplanation: "Existing serverless functions will start using this new value within 10 seconds.";
1296
1350
  };
1297
1351
  };
@@ -1303,11 +1357,11 @@ export declare const commands: {
1303
1357
  readonly generateSelectors: {
1304
1358
  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.";
1305
1359
  readonly errors: {
1306
- readonly invalidPath: (themePath: string | number) => string;
1360
+ readonly invalidPath: (themePath: string) => string;
1307
1361
  readonly fieldsNotFound: "Unable to find theme's fields.json.";
1308
1362
  readonly noSelectorsFound: "No selectors found.";
1309
1363
  };
1310
- readonly success: (themePath: string | number, selectorsPath: string | number) => string;
1364
+ readonly success: (themePath: string, selectorsPath: string) => string;
1311
1365
  readonly positionals: {
1312
1366
  readonly path: {
1313
1367
  readonly describe: "The path of the theme you'd like to generate an editor-preview.json for.";
@@ -1317,17 +1371,17 @@ export declare const commands: {
1317
1371
  readonly marketplaceValidate: {
1318
1372
  readonly describe: "Validate a theme for the marketplace.";
1319
1373
  readonly errors: {
1320
- readonly invalidPath: (path: string | number) => string;
1374
+ readonly invalidPath: (path: string) => string;
1321
1375
  };
1322
1376
  readonly logs: {
1323
- readonly validatingTheme: (path: string | number) => string;
1377
+ readonly validatingTheme: (path: string) => string;
1324
1378
  };
1325
1379
  readonly results: {
1326
1380
  readonly required: "Required validation results:";
1327
1381
  readonly recommended: "Recommended validation results:";
1328
1382
  readonly warnings: {
1329
- readonly file: (file: string | number) => string;
1330
- readonly lineNumber: (line: string | number) => string;
1383
+ readonly file: (file: string) => string;
1384
+ readonly lineNumber: (line: string) => string;
1331
1385
  };
1332
1386
  readonly noErrors: "No errors";
1333
1387
  };
@@ -1340,7 +1394,7 @@ export declare const commands: {
1340
1394
  readonly preview: {
1341
1395
  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.";
1342
1396
  readonly errors: {
1343
- readonly invalidPath: (path: string | number) => string;
1397
+ readonly invalidPath: (path: string) => string;
1344
1398
  readonly noThemeComponents: "Your project has no theme components available to preview.";
1345
1399
  };
1346
1400
  readonly positionals: {
@@ -1379,10 +1433,10 @@ export declare const commands: {
1379
1433
  readonly marketplaceValidate: {
1380
1434
  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.";
1381
1435
  readonly errors: {
1382
- readonly invalidPath: (path: string | number) => string;
1436
+ readonly invalidPath: (path: string) => string;
1383
1437
  };
1384
1438
  readonly logs: {
1385
- readonly validatingModule: (path: string | number) => string;
1439
+ readonly validatingModule: (path: string) => string;
1386
1440
  };
1387
1441
  readonly options: {
1388
1442
  readonly json: {
@@ -1393,8 +1447,8 @@ export declare const commands: {
1393
1447
  readonly required: "Required validation results:";
1394
1448
  readonly recommended: "Recommended validation results:";
1395
1449
  readonly warnings: {
1396
- readonly file: (file: string | number) => string;
1397
- readonly lineNumber: (line: string | number) => string;
1450
+ readonly file: (file: string) => string;
1451
+ readonly lineNumber: (line: string) => string;
1398
1452
  };
1399
1453
  readonly noErrors: "No errors";
1400
1454
  };
@@ -1410,11 +1464,11 @@ export declare const commands: {
1410
1464
  readonly describe: "Upload a folder or file from your computer to the HubSpot CMS.";
1411
1465
  readonly errors: {
1412
1466
  readonly destinationRequired: "A destination path needs to be passed";
1413
- readonly fileIgnored: (path: string | number) => string;
1414
- readonly invalidPath: (path: string | number) => string;
1415
- readonly uploadFailed: (src: string | number, dest: string | number) => string;
1416
- readonly someFilesFailed: (dest: string | number) => string;
1417
- readonly deleteFailed: (path: string | number, accountId: string | number) => string;
1467
+ readonly fileIgnored: (path: string) => string;
1468
+ readonly invalidPath: (path: string) => string;
1469
+ readonly uploadFailed: (src: string, dest: string) => string;
1470
+ readonly someFilesFailed: (dest: string) => string;
1471
+ readonly deleteFailed: (path: string, accountId: string) => string;
1418
1472
  };
1419
1473
  readonly options: {
1420
1474
  readonly options: {
@@ -1433,7 +1487,7 @@ export declare const commands: {
1433
1487
  readonly describe: "Skips confirmation prompts when doing a clean upload.";
1434
1488
  };
1435
1489
  };
1436
- readonly previewUrl: (previewUrl: string | number) => string;
1490
+ readonly previewUrl: (previewUrl: string) => string;
1437
1491
  readonly positionals: {
1438
1492
  readonly src: {
1439
1493
  readonly describe: "Path to the local file, relative to your current working directory.";
@@ -1443,21 +1497,21 @@ export declare const commands: {
1443
1497
  };
1444
1498
  };
1445
1499
  readonly success: {
1446
- readonly fileUploaded: (src: string | number, dest: string | number, accountId: string | number) => string;
1447
- readonly uploadComplete: (dest: string | number) => string;
1500
+ readonly fileUploaded: (src: string, dest: string, accountId: string) => string;
1501
+ readonly uploadComplete: (dest: string) => string;
1448
1502
  };
1449
- readonly uploading: (src: string | number, dest: string | number, accountId: string | number) => string;
1450
- readonly notUploaded: (src: string | number) => string;
1451
- readonly cleaning: (filePath: string | number, accountId: string | number) => string;
1452
- readonly confirmCleanUpload: (filePath: string | number, accountId: string | number) => string;
1503
+ readonly uploading: (src: string, dest: string, accountId: string) => string;
1504
+ readonly notUploaded: (src: string) => string;
1505
+ readonly cleaning: (filePath: string, accountId: string) => string;
1506
+ readonly confirmCleanUpload: (filePath: string, accountId: string) => string;
1453
1507
  };
1454
1508
  readonly watch: {
1455
1509
  readonly describe: "Watch a directory on your computer for changes and upload the changed files to the HubSpot CMS.";
1456
1510
  readonly errors: {
1457
- readonly folderFailed: (src: string | number, dest: string | number, accountId: string | number) => string;
1458
- readonly fileFailed: (file: string | number, dest: string | number, accountId: string | number) => string;
1511
+ readonly folderFailed: (src: string, dest: string, accountId: string) => string;
1512
+ readonly fileFailed: (file: string, dest: string, accountId: string) => string;
1459
1513
  readonly destinationRequired: "A destination directory needs to be passed";
1460
- readonly invalidPath: (path: string | number) => string;
1514
+ readonly invalidPath: (path: string) => string;
1461
1515
  };
1462
1516
  readonly options: {
1463
1517
  readonly disableInitial: {
@@ -1493,7 +1547,7 @@ export declare const commands: {
1493
1547
  readonly warnings: {
1494
1548
  readonly disableInitial: () => string;
1495
1549
  readonly initialUpload: () => string;
1496
- readonly notUploaded: (path: string | number) => string;
1550
+ readonly notUploaded: (path: string) => string;
1497
1551
  };
1498
1552
  };
1499
1553
  readonly convertFields: {
@@ -1509,42 +1563,42 @@ export declare const commands: {
1509
1563
  };
1510
1564
  };
1511
1565
  readonly errors: {
1512
- readonly invalidPath: (path: string | number) => string;
1566
+ readonly invalidPath: (path: string) => string;
1513
1567
  readonly missingSrc: "Please specify the path to your javascript fields file or directory with the --src flag.";
1514
1568
  };
1515
1569
  };
1516
1570
  readonly secrets: {
1517
1571
  readonly add: {
1518
1572
  readonly loading: {
1519
- readonly add: (secretName: string | number) => string;
1520
- readonly fail: (secretName: string | number) => string;
1521
- readonly succeed: (secretName: string | number) => string;
1573
+ readonly add: (secretName: string) => string;
1574
+ readonly fail: (secretName: string) => string;
1575
+ readonly succeed: (secretName: string) => string;
1522
1576
  };
1523
1577
  readonly success: {
1524
- readonly configFileUpdated: (secretName: string | number, authType: string | number) => string;
1578
+ readonly configFileUpdated: (secretName: string, authType: string) => string;
1525
1579
  };
1526
1580
  readonly failure: {
1527
- readonly invalidUser: (secretName: string | number, parentAccountName: string | number) => string;
1581
+ readonly invalidUser: (secretName: string, parentAccountName: string) => string;
1528
1582
  readonly scopes: {
1529
1583
  readonly message: "The personal access key you provided doesn't include secrets permissions.";
1530
- readonly instructions: (secretName: string | number, url: string | number) => string;
1584
+ readonly instructions: (secretName: string, url: string) => string;
1531
1585
  };
1532
1586
  };
1533
1587
  };
1534
1588
  readonly delete: {
1535
1589
  readonly loading: {
1536
- readonly add: (secretName: string | number) => string;
1537
- readonly fail: (secretName: string | number) => string;
1538
- readonly succeed: (secretName: string | number) => string;
1590
+ readonly add: (secretName: string) => string;
1591
+ readonly fail: (secretName: string) => string;
1592
+ readonly succeed: (secretName: string) => string;
1539
1593
  };
1540
1594
  readonly success: {
1541
- readonly configFileUpdated: (secretName: string | number, authType: string | number) => string;
1595
+ readonly configFileUpdated: (secretName: string, authType: string) => string;
1542
1596
  };
1543
1597
  readonly failure: {
1544
- readonly invalidUser: (secretName: string | number, parentAccountName: string | number) => string;
1598
+ readonly invalidUser: (secretName: string, parentAccountName: string) => string;
1545
1599
  readonly scopes: {
1546
1600
  readonly message: "The personal access key you provided doesn't include secrets permissions.";
1547
- readonly instructions: (secretName: string | number, url: string | number) => string;
1601
+ readonly instructions: (secretName: string, url: string) => string;
1548
1602
  };
1549
1603
  };
1550
1604
  };
@@ -1555,13 +1609,13 @@ export declare const commands: {
1555
1609
  readonly succeed: () => string;
1556
1610
  };
1557
1611
  readonly success: {
1558
- readonly configFileUpdated: (authType: string | number) => string;
1612
+ readonly configFileUpdated: (authType: string) => string;
1559
1613
  };
1560
1614
  readonly failure: {
1561
- readonly invalidUser: (parentAccountName: string | number) => string;
1615
+ readonly invalidUser: (parentAccountName: string) => string;
1562
1616
  readonly scopes: {
1563
1617
  readonly message: "The personal access key you provided doesn't include secrets permissions.";
1564
- readonly instructions: (url: string | number) => string;
1618
+ readonly instructions: (url: string) => string;
1565
1619
  };
1566
1620
  };
1567
1621
  };
@@ -1569,35 +1623,35 @@ export declare const commands: {
1569
1623
  readonly serverless: {
1570
1624
  readonly add: {
1571
1625
  readonly loading: {
1572
- readonly add: (functionName: string | number) => string;
1573
- readonly fail: (functionName: string | number) => string;
1574
- readonly succeed: (functionName: string | number) => string;
1626
+ readonly add: (functionName: string) => string;
1627
+ readonly fail: (functionName: string) => string;
1628
+ readonly succeed: (functionName: string) => string;
1575
1629
  };
1576
1630
  readonly success: {
1577
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1631
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1578
1632
  };
1579
1633
  readonly failure: {
1580
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1634
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1581
1635
  readonly scopes: {
1582
1636
  readonly message: "The personal access key you provided doesn't include serverless function permissions.";
1583
- readonly instructions: (functionName: string | number, url: string | number) => string;
1637
+ readonly instructions: (functionName: string, url: string) => string;
1584
1638
  };
1585
1639
  };
1586
1640
  };
1587
1641
  readonly delete: {
1588
1642
  readonly loading: {
1589
- readonly add: (functionName: string | number) => string;
1590
- readonly fail: (functionName: string | number) => string;
1591
- readonly succeed: (functionName: string | number) => string;
1643
+ readonly add: (functionName: string) => string;
1644
+ readonly fail: (functionName: string) => string;
1645
+ readonly succeed: (functionName: string) => string;
1592
1646
  };
1593
1647
  readonly success: {
1594
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1648
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1595
1649
  };
1596
1650
  readonly failure: {
1597
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1651
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1598
1652
  readonly scopes: {
1599
1653
  readonly message: "The personal access key you provided doesn't include serverless function permissions.";
1600
- readonly instructions: (functionName: string | number, url: string | number) => string;
1654
+ readonly instructions: (functionName: string, url: string) => string;
1601
1655
  };
1602
1656
  };
1603
1657
  };
@@ -1608,13 +1662,13 @@ export declare const commands: {
1608
1662
  readonly succeed: () => string;
1609
1663
  };
1610
1664
  readonly success: {
1611
- readonly configFileUpdated: (authType: string | number) => string;
1665
+ readonly configFileUpdated: (authType: string) => string;
1612
1666
  };
1613
1667
  readonly failure: {
1614
- readonly invalidUser: (parentAccountName: string | number) => string;
1668
+ readonly invalidUser: (parentAccountName: string) => string;
1615
1669
  readonly scopes: {
1616
1670
  readonly message: "The personal access key you provided doesn't include serverless function permissions.";
1617
- readonly instructions: (url: string | number) => string;
1671
+ readonly instructions: (url: string) => string;
1618
1672
  };
1619
1673
  };
1620
1674
  };
@@ -1622,35 +1676,35 @@ export declare const commands: {
1622
1676
  readonly serverlessFunctionLogs: {
1623
1677
  readonly add: {
1624
1678
  readonly loading: {
1625
- readonly add: (functionName: string | number) => string;
1626
- readonly fail: (functionName: string | number) => string;
1627
- readonly succeed: (functionName: string | number) => string;
1679
+ readonly add: (functionName: string) => string;
1680
+ readonly fail: (functionName: string) => string;
1681
+ readonly succeed: (functionName: string) => string;
1628
1682
  };
1629
1683
  readonly success: {
1630
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1684
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1631
1685
  };
1632
1686
  readonly failure: {
1633
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1687
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1634
1688
  readonly scopes: {
1635
1689
  readonly message: "The personal access key you provided doesn't include serverless function log permissions.";
1636
- readonly instructions: (functionName: string | number, url: string | number) => string;
1690
+ readonly instructions: (functionName: string, url: string) => string;
1637
1691
  };
1638
1692
  };
1639
1693
  };
1640
1694
  readonly delete: {
1641
1695
  readonly loading: {
1642
- readonly add: (functionName: string | number) => string;
1643
- readonly fail: (functionName: string | number) => string;
1644
- readonly succeed: (functionName: string | number) => string;
1696
+ readonly add: (functionName: string) => string;
1697
+ readonly fail: (functionName: string) => string;
1698
+ readonly succeed: (functionName: string) => string;
1645
1699
  };
1646
1700
  readonly success: {
1647
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1701
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1648
1702
  };
1649
1703
  readonly failure: {
1650
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1704
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1651
1705
  readonly scopes: {
1652
1706
  readonly message: "The personal access key you provided doesn't include serverless function log permissions.";
1653
- readonly instructions: (functionName: string | number, url: string | number) => string;
1707
+ readonly instructions: (functionName: string, url: string) => string;
1654
1708
  };
1655
1709
  };
1656
1710
  };
@@ -1661,13 +1715,13 @@ export declare const commands: {
1661
1715
  readonly succeed: () => string;
1662
1716
  };
1663
1717
  readonly success: {
1664
- readonly configFileUpdated: (authType: string | number) => string;
1718
+ readonly configFileUpdated: (authType: string) => string;
1665
1719
  };
1666
1720
  readonly failure: {
1667
- readonly invalidUser: (parentAccountName: string | number) => string;
1721
+ readonly invalidUser: (parentAccountName: string) => string;
1668
1722
  readonly scopes: {
1669
1723
  readonly message: "The personal access key you provided doesn't include serverless function log permissions.";
1670
- readonly instructions: (url: string | number) => string;
1724
+ readonly instructions: (url: string) => string;
1671
1725
  };
1672
1726
  };
1673
1727
  };
@@ -1675,35 +1729,35 @@ export declare const commands: {
1675
1729
  readonly serverlessFunctionMetrics: {
1676
1730
  readonly add: {
1677
1731
  readonly loading: {
1678
- readonly add: (functionName: string | number) => string;
1679
- readonly fail: (functionName: string | number) => string;
1680
- readonly succeed: (functionName: string | number) => string;
1732
+ readonly add: (functionName: string) => string;
1733
+ readonly fail: (functionName: string) => string;
1734
+ readonly succeed: (functionName: string) => string;
1681
1735
  };
1682
1736
  readonly success: {
1683
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1737
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1684
1738
  };
1685
1739
  readonly failure: {
1686
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1740
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1687
1741
  readonly scopes: {
1688
1742
  readonly message: "The personal access key you provided doesn't include serverless function metric permissions.";
1689
- readonly instructions: (functionName: string | number, url: string | number) => string;
1743
+ readonly instructions: (functionName: string, url: string) => string;
1690
1744
  };
1691
1745
  };
1692
1746
  };
1693
1747
  readonly delete: {
1694
1748
  readonly loading: {
1695
- readonly add: (functionName: string | number) => string;
1696
- readonly fail: (functionName: string | number) => string;
1697
- readonly succeed: (functionName: string | number) => string;
1749
+ readonly add: (functionName: string) => string;
1750
+ readonly fail: (functionName: string) => string;
1751
+ readonly succeed: (functionName: string) => string;
1698
1752
  };
1699
1753
  readonly success: {
1700
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1754
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1701
1755
  };
1702
1756
  readonly failure: {
1703
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1757
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1704
1758
  readonly scopes: {
1705
1759
  readonly message: "The personal access key you provided doesn't include serverless function metric permissions.";
1706
- readonly instructions: (functionName: string | number, url: string | number) => string;
1760
+ readonly instructions: (functionName: string, url: string) => string;
1707
1761
  };
1708
1762
  };
1709
1763
  };
@@ -1714,13 +1768,13 @@ export declare const commands: {
1714
1768
  readonly succeed: () => string;
1715
1769
  };
1716
1770
  readonly success: {
1717
- readonly configFileUpdated: (authType: string | number) => string;
1771
+ readonly configFileUpdated: (authType: string) => string;
1718
1772
  };
1719
1773
  readonly failure: {
1720
- readonly invalidUser: (parentAccountName: string | number) => string;
1774
+ readonly invalidUser: (parentAccountName: string) => string;
1721
1775
  readonly scopes: {
1722
1776
  readonly message: "The personal access key you provided doesn't include serverless function metric permissions.";
1723
- readonly instructions: (url: string | number) => string;
1777
+ readonly instructions: (url: string) => string;
1724
1778
  };
1725
1779
  };
1726
1780
  };
@@ -1728,35 +1782,35 @@ export declare const commands: {
1728
1782
  readonly serverlessFunctionSettings: {
1729
1783
  readonly add: {
1730
1784
  readonly loading: {
1731
- readonly add: (functionName: string | number) => string;
1732
- readonly fail: (functionName: string | number) => string;
1733
- readonly succeed: (functionName: string | number) => string;
1785
+ readonly add: (functionName: string) => string;
1786
+ readonly fail: (functionName: string) => string;
1787
+ readonly succeed: (functionName: string) => string;
1734
1788
  };
1735
1789
  readonly success: {
1736
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1790
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1737
1791
  };
1738
1792
  readonly failure: {
1739
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1793
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1740
1794
  readonly scopes: {
1741
1795
  readonly message: "The personal access key you provided doesn't include serverless function setting permissions.";
1742
- readonly instructions: (functionName: string | number, url: string | number) => string;
1796
+ readonly instructions: (functionName: string, url: string) => string;
1743
1797
  };
1744
1798
  };
1745
1799
  };
1746
1800
  readonly delete: {
1747
1801
  readonly loading: {
1748
- readonly add: (functionName: string | number) => string;
1749
- readonly fail: (functionName: string | number) => string;
1750
- readonly succeed: (functionName: string | number) => string;
1802
+ readonly add: (functionName: string) => string;
1803
+ readonly fail: (functionName: string) => string;
1804
+ readonly succeed: (functionName: string) => string;
1751
1805
  };
1752
1806
  readonly success: {
1753
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1807
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1754
1808
  };
1755
1809
  readonly failure: {
1756
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1810
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1757
1811
  readonly scopes: {
1758
1812
  readonly message: "The personal access key you provided doesn't include serverless function setting permissions.";
1759
- readonly instructions: (functionName: string | number, url: string | number) => string;
1813
+ readonly instructions: (functionName: string, url: string) => string;
1760
1814
  };
1761
1815
  };
1762
1816
  };
@@ -1767,13 +1821,13 @@ export declare const commands: {
1767
1821
  readonly succeed: () => string;
1768
1822
  };
1769
1823
  readonly success: {
1770
- readonly configFileUpdated: (authType: string | number) => string;
1824
+ readonly configFileUpdated: (authType: string) => string;
1771
1825
  };
1772
1826
  readonly failure: {
1773
- readonly invalidUser: (parentAccountName: string | number) => string;
1827
+ readonly invalidUser: (parentAccountName: string) => string;
1774
1828
  readonly scopes: {
1775
1829
  readonly message: "The personal access key you provided doesn't include serverless function setting permissions.";
1776
- readonly instructions: (url: string | number) => string;
1830
+ readonly instructions: (url: string) => string;
1777
1831
  };
1778
1832
  };
1779
1833
  };
@@ -1781,35 +1835,35 @@ export declare const commands: {
1781
1835
  readonly serverlessFunctionVersions: {
1782
1836
  readonly add: {
1783
1837
  readonly loading: {
1784
- readonly add: (functionName: string | number) => string;
1785
- readonly fail: (functionName: string | number) => string;
1786
- readonly succeed: (functionName: string | number) => string;
1838
+ readonly add: (functionName: string) => string;
1839
+ readonly fail: (functionName: string) => string;
1840
+ readonly succeed: (functionName: string) => string;
1787
1841
  };
1788
1842
  readonly success: {
1789
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1843
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1790
1844
  };
1791
1845
  readonly failure: {
1792
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1846
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1793
1847
  readonly scopes: {
1794
1848
  readonly message: "The personal access key you provided doesn't include serverless function version permissions.";
1795
- readonly instructions: (functionName: string | number, url: string | number) => string;
1849
+ readonly instructions: (functionName: string, url: string) => string;
1796
1850
  };
1797
1851
  };
1798
1852
  };
1799
1853
  readonly delete: {
1800
1854
  readonly loading: {
1801
- readonly add: (functionName: string | number) => string;
1802
- readonly fail: (functionName: string | number) => string;
1803
- readonly succeed: (functionName: string | number) => string;
1855
+ readonly add: (functionName: string) => string;
1856
+ readonly fail: (functionName: string) => string;
1857
+ readonly succeed: (functionName: string) => string;
1804
1858
  };
1805
1859
  readonly success: {
1806
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1860
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1807
1861
  };
1808
1862
  readonly failure: {
1809
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1863
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1810
1864
  readonly scopes: {
1811
1865
  readonly message: "The personal access key you provided doesn't include serverless function version permissions.";
1812
- readonly instructions: (functionName: string | number, url: string | number) => string;
1866
+ readonly instructions: (functionName: string, url: string) => string;
1813
1867
  };
1814
1868
  };
1815
1869
  };
@@ -1820,13 +1874,13 @@ export declare const commands: {
1820
1874
  readonly succeed: () => string;
1821
1875
  };
1822
1876
  readonly success: {
1823
- readonly configFileUpdated: (authType: string | number) => string;
1877
+ readonly configFileUpdated: (authType: string) => string;
1824
1878
  };
1825
1879
  readonly failure: {
1826
- readonly invalidUser: (parentAccountName: string | number) => string;
1880
+ readonly invalidUser: (parentAccountName: string) => string;
1827
1881
  readonly scopes: {
1828
1882
  readonly message: "The personal access key you provided doesn't include serverless function version permissions.";
1829
- readonly instructions: (url: string | number) => string;
1883
+ readonly instructions: (url: string) => string;
1830
1884
  };
1831
1885
  };
1832
1886
  };
@@ -1834,35 +1888,35 @@ export declare const commands: {
1834
1888
  readonly serverlessFunctionWebhooks: {
1835
1889
  readonly add: {
1836
1890
  readonly loading: {
1837
- readonly add: (functionName: string | number) => string;
1838
- readonly fail: (functionName: string | number) => string;
1839
- readonly succeed: (functionName: string | number) => string;
1891
+ readonly add: (functionName: string) => string;
1892
+ readonly fail: (functionName: string) => string;
1893
+ readonly succeed: (functionName: string) => string;
1840
1894
  };
1841
1895
  readonly success: {
1842
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1896
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1843
1897
  };
1844
1898
  readonly failure: {
1845
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1899
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1846
1900
  readonly scopes: {
1847
1901
  readonly message: "The personal access key you provided doesn't include serverless function webhook permissions.";
1848
- readonly instructions: (functionName: string | number, url: string | number) => string;
1902
+ readonly instructions: (functionName: string, url: string) => string;
1849
1903
  };
1850
1904
  };
1851
1905
  };
1852
1906
  readonly delete: {
1853
1907
  readonly loading: {
1854
- readonly add: (functionName: string | number) => string;
1855
- readonly fail: (functionName: string | number) => string;
1856
- readonly succeed: (functionName: string | number) => string;
1908
+ readonly add: (functionName: string) => string;
1909
+ readonly fail: (functionName: string) => string;
1910
+ readonly succeed: (functionName: string) => string;
1857
1911
  };
1858
1912
  readonly success: {
1859
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1913
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1860
1914
  };
1861
1915
  readonly failure: {
1862
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1916
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1863
1917
  readonly scopes: {
1864
1918
  readonly message: "The personal access key you provided doesn't include serverless function webhook permissions.";
1865
- readonly instructions: (functionName: string | number, url: string | number) => string;
1919
+ readonly instructions: (functionName: string, url: string) => string;
1866
1920
  };
1867
1921
  };
1868
1922
  };
@@ -1873,13 +1927,13 @@ export declare const commands: {
1873
1927
  readonly succeed: () => string;
1874
1928
  };
1875
1929
  readonly success: {
1876
- readonly configFileUpdated: (authType: string | number) => string;
1930
+ readonly configFileUpdated: (authType: string) => string;
1877
1931
  };
1878
1932
  readonly failure: {
1879
- readonly invalidUser: (parentAccountName: string | number) => string;
1933
+ readonly invalidUser: (parentAccountName: string) => string;
1880
1934
  readonly scopes: {
1881
1935
  readonly message: "The personal access key you provided doesn't include serverless function webhook permissions.";
1882
- readonly instructions: (url: string | number) => string;
1936
+ readonly instructions: (url: string) => string;
1883
1937
  };
1884
1938
  };
1885
1939
  };
@@ -1887,35 +1941,35 @@ export declare const commands: {
1887
1941
  readonly serverlessFunctionWebhookSubscriptions: {
1888
1942
  readonly add: {
1889
1943
  readonly loading: {
1890
- readonly add: (functionName: string | number) => string;
1891
- readonly fail: (functionName: string | number) => string;
1892
- readonly succeed: (functionName: string | number) => string;
1944
+ readonly add: (functionName: string) => string;
1945
+ readonly fail: (functionName: string) => string;
1946
+ readonly succeed: (functionName: string) => string;
1893
1947
  };
1894
1948
  readonly success: {
1895
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1949
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1896
1950
  };
1897
1951
  readonly failure: {
1898
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1952
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1899
1953
  readonly scopes: {
1900
1954
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription permissions.";
1901
- readonly instructions: (functionName: string | number, url: string | number) => string;
1955
+ readonly instructions: (functionName: string, url: string) => string;
1902
1956
  };
1903
1957
  };
1904
1958
  };
1905
1959
  readonly delete: {
1906
1960
  readonly loading: {
1907
- readonly add: (functionName: string | number) => string;
1908
- readonly fail: (functionName: string | number) => string;
1909
- readonly succeed: (functionName: string | number) => string;
1961
+ readonly add: (functionName: string) => string;
1962
+ readonly fail: (functionName: string) => string;
1963
+ readonly succeed: (functionName: string) => string;
1910
1964
  };
1911
1965
  readonly success: {
1912
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1966
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1913
1967
  };
1914
1968
  readonly failure: {
1915
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1969
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1916
1970
  readonly scopes: {
1917
1971
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription permissions.";
1918
- readonly instructions: (functionName: string | number, url: string | number) => string;
1972
+ readonly instructions: (functionName: string, url: string) => string;
1919
1973
  };
1920
1974
  };
1921
1975
  };
@@ -1926,13 +1980,13 @@ export declare const commands: {
1926
1980
  readonly succeed: () => string;
1927
1981
  };
1928
1982
  readonly success: {
1929
- readonly configFileUpdated: (authType: string | number) => string;
1983
+ readonly configFileUpdated: (authType: string) => string;
1930
1984
  };
1931
1985
  readonly failure: {
1932
- readonly invalidUser: (parentAccountName: string | number) => string;
1986
+ readonly invalidUser: (parentAccountName: string) => string;
1933
1987
  readonly scopes: {
1934
1988
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription permissions.";
1935
- readonly instructions: (url: string | number) => string;
1989
+ readonly instructions: (url: string) => string;
1936
1990
  };
1937
1991
  };
1938
1992
  };
@@ -1940,35 +1994,35 @@ export declare const commands: {
1940
1994
  readonly serverlessFunctionWebhookSubscriptionEvents: {
1941
1995
  readonly add: {
1942
1996
  readonly loading: {
1943
- readonly add: (functionName: string | number) => string;
1944
- readonly fail: (functionName: string | number) => string;
1945
- readonly succeed: (functionName: string | number) => string;
1997
+ readonly add: (functionName: string) => string;
1998
+ readonly fail: (functionName: string) => string;
1999
+ readonly succeed: (functionName: string) => string;
1946
2000
  };
1947
2001
  readonly success: {
1948
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2002
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1949
2003
  };
1950
2004
  readonly failure: {
1951
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2005
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1952
2006
  readonly scopes: {
1953
2007
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event permissions.";
1954
- readonly instructions: (functionName: string | number, url: string | number) => string;
2008
+ readonly instructions: (functionName: string, url: string) => string;
1955
2009
  };
1956
2010
  };
1957
2011
  };
1958
2012
  readonly delete: {
1959
2013
  readonly loading: {
1960
- readonly add: (functionName: string | number) => string;
1961
- readonly fail: (functionName: string | number) => string;
1962
- readonly succeed: (functionName: string | number) => string;
2014
+ readonly add: (functionName: string) => string;
2015
+ readonly fail: (functionName: string) => string;
2016
+ readonly succeed: (functionName: string) => string;
1963
2017
  };
1964
2018
  readonly success: {
1965
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2019
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1966
2020
  };
1967
2021
  readonly failure: {
1968
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2022
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1969
2023
  readonly scopes: {
1970
2024
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event permissions.";
1971
- readonly instructions: (functionName: string | number, url: string | number) => string;
2025
+ readonly instructions: (functionName: string, url: string) => string;
1972
2026
  };
1973
2027
  };
1974
2028
  };
@@ -1979,13 +2033,13 @@ export declare const commands: {
1979
2033
  readonly succeed: () => string;
1980
2034
  };
1981
2035
  readonly success: {
1982
- readonly configFileUpdated: (authType: string | number) => string;
2036
+ readonly configFileUpdated: (authType: string) => string;
1983
2037
  };
1984
2038
  readonly failure: {
1985
- readonly invalidUser: (parentAccountName: string | number) => string;
2039
+ readonly invalidUser: (parentAccountName: string) => string;
1986
2040
  readonly scopes: {
1987
2041
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event permissions.";
1988
- readonly instructions: (url: string | number) => string;
2042
+ readonly instructions: (url: string) => string;
1989
2043
  };
1990
2044
  };
1991
2045
  };
@@ -1993,35 +2047,35 @@ export declare const commands: {
1993
2047
  readonly serverlessFunctionWebhookSubscriptionEventTypes: {
1994
2048
  readonly add: {
1995
2049
  readonly loading: {
1996
- readonly add: (functionName: string | number) => string;
1997
- readonly fail: (functionName: string | number) => string;
1998
- readonly succeed: (functionName: string | number) => string;
2050
+ readonly add: (functionName: string) => string;
2051
+ readonly fail: (functionName: string) => string;
2052
+ readonly succeed: (functionName: string) => string;
1999
2053
  };
2000
2054
  readonly success: {
2001
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2055
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2002
2056
  };
2003
2057
  readonly failure: {
2004
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2058
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2005
2059
  readonly scopes: {
2006
2060
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type permissions.";
2007
- readonly instructions: (functionName: string | number, url: string | number) => string;
2061
+ readonly instructions: (functionName: string, url: string) => string;
2008
2062
  };
2009
2063
  };
2010
2064
  };
2011
2065
  readonly delete: {
2012
2066
  readonly loading: {
2013
- readonly add: (functionName: string | number) => string;
2014
- readonly fail: (functionName: string | number) => string;
2015
- readonly succeed: (functionName: string | number) => string;
2067
+ readonly add: (functionName: string) => string;
2068
+ readonly fail: (functionName: string) => string;
2069
+ readonly succeed: (functionName: string) => string;
2016
2070
  };
2017
2071
  readonly success: {
2018
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2072
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2019
2073
  };
2020
2074
  readonly failure: {
2021
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2075
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2022
2076
  readonly scopes: {
2023
2077
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type permissions.";
2024
- readonly instructions: (functionName: string | number, url: string | number) => string;
2078
+ readonly instructions: (functionName: string, url: string) => string;
2025
2079
  };
2026
2080
  };
2027
2081
  };
@@ -2032,13 +2086,13 @@ export declare const commands: {
2032
2086
  readonly succeed: () => string;
2033
2087
  };
2034
2088
  readonly success: {
2035
- readonly configFileUpdated: (authType: string | number) => string;
2089
+ readonly configFileUpdated: (authType: string) => string;
2036
2090
  };
2037
2091
  readonly failure: {
2038
- readonly invalidUser: (parentAccountName: string | number) => string;
2092
+ readonly invalidUser: (parentAccountName: string) => string;
2039
2093
  readonly scopes: {
2040
2094
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type permissions.";
2041
- readonly instructions: (url: string | number) => string;
2095
+ readonly instructions: (url: string) => string;
2042
2096
  };
2043
2097
  };
2044
2098
  };
@@ -2046,35 +2100,35 @@ export declare const commands: {
2046
2100
  readonly serverlessFunctionWebhookSubscriptionEventTypeOptions: {
2047
2101
  readonly add: {
2048
2102
  readonly loading: {
2049
- readonly add: (functionName: string | number) => string;
2050
- readonly fail: (functionName: string | number) => string;
2051
- readonly succeed: (functionName: string | number) => string;
2103
+ readonly add: (functionName: string) => string;
2104
+ readonly fail: (functionName: string) => string;
2105
+ readonly succeed: (functionName: string) => string;
2052
2106
  };
2053
2107
  readonly success: {
2054
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2108
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2055
2109
  };
2056
2110
  readonly failure: {
2057
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2111
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2058
2112
  readonly scopes: {
2059
2113
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type option permissions.";
2060
- readonly instructions: (functionName: string | number, url: string | number) => string;
2114
+ readonly instructions: (functionName: string, url: string) => string;
2061
2115
  };
2062
2116
  };
2063
2117
  };
2064
2118
  readonly delete: {
2065
2119
  readonly loading: {
2066
- readonly add: (functionName: string | number) => string;
2067
- readonly fail: (functionName: string | number) => string;
2068
- readonly succeed: (functionName: string | number) => string;
2120
+ readonly add: (functionName: string) => string;
2121
+ readonly fail: (functionName: string) => string;
2122
+ readonly succeed: (functionName: string) => string;
2069
2123
  };
2070
2124
  readonly success: {
2071
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2125
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2072
2126
  };
2073
2127
  readonly failure: {
2074
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2128
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2075
2129
  readonly scopes: {
2076
2130
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type option permissions.";
2077
- readonly instructions: (functionName: string | number, url: string | number) => string;
2131
+ readonly instructions: (functionName: string, url: string) => string;
2078
2132
  };
2079
2133
  };
2080
2134
  };
@@ -2085,13 +2139,13 @@ export declare const commands: {
2085
2139
  readonly succeed: () => string;
2086
2140
  };
2087
2141
  readonly success: {
2088
- readonly configFileUpdated: (authType: string | number) => string;
2142
+ readonly configFileUpdated: (authType: string) => string;
2089
2143
  };
2090
2144
  readonly failure: {
2091
- readonly invalidUser: (parentAccountName: string | number) => string;
2145
+ readonly invalidUser: (parentAccountName: string) => string;
2092
2146
  readonly scopes: {
2093
2147
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event type option permissions.";
2094
- readonly instructions: (url: string | number) => string;
2148
+ readonly instructions: (url: string) => string;
2095
2149
  };
2096
2150
  };
2097
2151
  };
@@ -2099,22 +2153,22 @@ export declare const commands: {
2099
2153
  };
2100
2154
  export declare const lib: {
2101
2155
  readonly process: {
2102
- readonly exitDebug: (signal: string | number) => string;
2156
+ readonly exitDebug: (signal: string) => string;
2103
2157
  };
2104
2158
  readonly DevServerManager: {
2105
- readonly portConflict: (port: string | number) => string;
2159
+ readonly portConflict: (port: string) => string;
2106
2160
  readonly notInitialized: "The Dev Server Manager must be initialized before it is started.";
2107
- readonly noCompatibleComponents: (serverKey: string | number) => string;
2161
+ readonly noCompatibleComponents: (serverKey: string) => string;
2108
2162
  };
2109
2163
  readonly LocalDevManager: {
2110
2164
  readonly failedToInitialize: "Missing required arguments to initialize Local Dev";
2111
- readonly noDeployedBuild: (projectName: string | number, accountIdentifier: string | number, uploadCommand: string | number) => string;
2165
+ readonly noDeployedBuild: (projectName: string, accountIdentifier: string, uploadCommand: string) => string;
2112
2166
  readonly noComponents: "There are no components in this project.";
2113
2167
  readonly betaMessage: "HubSpot projects local development";
2114
- readonly learnMoreLocalDevServer: "Learn more about the projects local dev server";
2115
- readonly running: (projectName: string | number, accountIdentifier: string | number) => string;
2168
+ readonly learnMoreLocalDevServer: string;
2169
+ readonly running: (projectName: string, accountIdentifier: string) => string;
2116
2170
  readonly quitHelper: `Press ${string} to stop the local dev server`;
2117
- readonly viewProjectLink: "View project in HubSpot";
2171
+ readonly viewProjectLink: (name: string, accountId: number) => string;
2118
2172
  readonly viewTestAccountLink: "View developer test account in HubSpot";
2119
2173
  readonly exitingStart: "Stopping local dev server ...";
2120
2174
  readonly exitingSucceed: "Successfully exited";
@@ -2123,29 +2177,51 @@ export declare const lib: {
2123
2177
  readonly uploadWarning: {
2124
2178
  readonly appLabel: "[App]";
2125
2179
  readonly uiExtensionLabel: "[UI Extension]";
2126
- readonly missingComponents: (missingComponents: string | number) => string;
2180
+ readonly missingComponents: (missingComponents: string) => string;
2127
2181
  readonly defaultWarning: string;
2128
- readonly defaultPublicAppWarning: (installCount: string | number, installText: string | number) => string;
2129
- readonly header: (warning: string | number) => string;
2182
+ readonly defaultPublicAppWarning: (installCount: number, installText: string) => string;
2183
+ readonly header: (warning: string) => string;
2184
+ readonly instructionsHeader: "To reflect these changes and continue testing:";
2130
2185
  readonly stopDev: ` * Stop ${string}`;
2131
- readonly runUpload: (command: string | number) => string;
2186
+ readonly runUpload: (command: string) => string;
2132
2187
  readonly restartDev: ` * Re-run ${string}`;
2133
2188
  readonly pushToGithub: " * Commit and push your changes to GitHub";
2134
- readonly defaultMarketplaceAppWarning: (installCount: string | number, accountText: string | number) => string;
2189
+ readonly defaultMarketplaceAppWarning: (installCount: number, accountText: string) => string;
2135
2190
  };
2136
2191
  readonly activeInstallWarning: {
2137
- readonly installCount: (appName: string | number, installCount: string | number, installText: string | number) => string;
2192
+ readonly installCount: (appName: string, installCount: number) => string;
2138
2193
  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.";
2139
2194
  readonly confirmation: "You will always be asked to confirm any permanent changes to your app's configuration before uploading them.";
2140
2195
  readonly confirmationPrompt: `Proceed with local development of this ${string} app?`;
2141
2196
  };
2142
2197
  readonly devServer: {
2143
- readonly cleanupError: (message: string | number) => string;
2144
- readonly setupError: (message: string | number) => string;
2145
- readonly startError: (message: string | number) => string;
2146
- readonly fileChangeError: (message: string | number) => string;
2198
+ readonly cleanupError: (message: string) => string;
2199
+ readonly setupError: (message: string) => string;
2200
+ readonly startError: (message: string) => string;
2201
+ readonly fileChangeError: (message: string) => string;
2202
+ };
2203
+ };
2204
+ readonly AppDevModeInterface: {
2205
+ readonly defaultMarketplaceAppWarning: (installCount: number) => string;
2206
+ };
2207
+ readonly LocalDevWebsocketServer: {
2208
+ readonly errors: {
2209
+ readonly notInitialized: (prefix: string) => string;
2210
+ readonly missingTypeField: (data: string) => string;
2211
+ readonly unknownMessageType: (type: string) => string;
2212
+ readonly invalidJSON: (data: string) => string;
2213
+ readonly portManagerNotRunning: (prefix: string) => string;
2214
+ };
2215
+ readonly logs: {
2216
+ readonly startup: (port: number) => string;
2147
2217
  };
2148
2218
  };
2219
+ readonly LocalDevProcess: {
2220
+ readonly projectConfigMismatch: `Unable to upload project. The project config has been modified since starting ${string}.`;
2221
+ readonly uploadInitiated: "Project upload initiated from Local Dev UI.";
2222
+ readonly uploadFailed: "Project upload failed. To proceed with local development, fix any necessary errors, then re-upload your project.";
2223
+ readonly uploadSuccess: "Project upload completed successfully. Resuming local dev...";
2224
+ };
2149
2225
  readonly localDevHelpers: {
2150
2226
  readonly confirmDefaultAccountIsTarget: {
2151
2227
  readonly configError: `An error occurred while reading the default account from your config. Run ${string} to re-auth this account`;
@@ -2162,12 +2238,12 @@ export declare const lib: {
2162
2238
  readonly publicAppNonDeveloperTestAccountWarning: `Local development of public apps is only supported in ${string}.`;
2163
2239
  };
2164
2240
  readonly createNewProjectForLocalDev: {
2165
- readonly projectMustExistExplanation: (projectName: string | number, accountIdentifier: string | number) => string;
2166
- readonly publicAppProjectMustExistExplanation: (projectName: string | number, accountIdentifier: string | number) => string;
2167
- readonly createProject: (projectName: string | number, accountIdentifier: string | number) => string;
2241
+ readonly projectMustExistExplanation: (projectName: string, accountIdentifier: string) => string;
2242
+ readonly publicAppProjectMustExistExplanation: (projectName: string, accountIdentifier: string) => string;
2243
+ readonly createProject: (projectName: string, accountIdentifier: string) => string;
2168
2244
  readonly choseNotToCreateProject: "Exiting because this command requires the project to exist in the target account.";
2169
- readonly creatingProject: (projectName: string | number, accountIdentifier: string | number) => string;
2170
- readonly createdProject: (projectName: string | number, accountIdentifier: string | number) => string;
2245
+ readonly creatingProject: (projectName: string, accountIdentifier: string) => string;
2246
+ readonly createdProject: (projectName: string, accountIdentifier: string) => string;
2171
2247
  readonly failedToCreateProject: "Failed to create project in the target account.";
2172
2248
  };
2173
2249
  readonly createInitialBuildForNewProject: {
@@ -2176,7 +2252,27 @@ export declare const lib: {
2176
2252
  readonly genericError: `An error occurred while creating the initial build for this project. Run ${string} to try again.`;
2177
2253
  };
2178
2254
  readonly checkIfParentAccountIsAuthed: {
2179
- readonly notAuthedError: (parentAccountId: string | number, accountIdentifier: string | number) => string;
2255
+ readonly notAuthedError: (parentAccountId: number | string, accountIdentifier: string) => string;
2256
+ };
2257
+ };
2258
+ readonly projectProfiles: {
2259
+ readonly logs: {
2260
+ readonly usingProfile: (profileName: string) => string;
2261
+ readonly profileTargetAccount: (accountId: number) => string;
2262
+ readonly profileVariables: "Profile variables";
2263
+ };
2264
+ readonly exitIfUsingProfiles: {
2265
+ readonly errors: {
2266
+ readonly noProfileSpecified: `This project is configured to use profiles, but no profile was specified. Target a profile using the ${string} flag.`;
2267
+ };
2268
+ };
2269
+ readonly loadProfile: {
2270
+ readonly errors: {
2271
+ readonly noProjectConfig: "No project config found. Please run this command from a project directory.";
2272
+ readonly profileNotFound: (profileName: string) => string;
2273
+ readonly missingAccountId: (profileName: string) => string;
2274
+ readonly failedToLoadProfile: (profileName: string) => string;
2275
+ };
2180
2276
  };
2181
2277
  };
2182
2278
  readonly projects: {
@@ -2190,20 +2286,20 @@ export declare const lib: {
2190
2286
  readonly validateProjectConfig: {
2191
2287
  readonly configNotFound: `Unable to locate a project configuration file. Try running again from a project directory, or run ${string} to create a new project.`;
2192
2288
  readonly configMissingFields: "The project configuration file is missing required fields.";
2193
- readonly srcDirNotFound: (srcDir: string | number, projectDir: string | number) => string;
2194
- readonly srcOutsideProjectDir: (projectConfig: string | number, srcDir: string | number) => string;
2289
+ readonly srcDirNotFound: (srcDir: string, projectDir: string) => string;
2290
+ readonly srcOutsideProjectDir: (projectConfig: string, srcDir: string) => string;
2195
2291
  };
2196
2292
  readonly getProjectConfig: {
2197
2293
  readonly error: "Could not read from project config";
2198
2294
  };
2199
2295
  readonly ensureProjectExists: {
2200
- readonly createPrompt: (projectName: string | number, accountIdentifier: string | number) => string;
2201
- readonly createPromptUpload: (projectName: string | number, accountIdentifier: string | number) => string;
2202
- readonly createSuccess: (projectName: string | number, accountIdentifier: string | number) => string;
2203
- readonly notFound: (projectName: string | number, accountIdentifier: string | number) => string;
2296
+ readonly createPrompt: (projectName: string, accountIdentifier: string) => string;
2297
+ readonly createPromptUpload: (projectName: string, accountIdentifier: string) => string;
2298
+ readonly createSuccess: (projectName: string, accountIdentifier: string) => string;
2299
+ readonly notFound: (projectName: string, accountIdentifier: string) => string;
2204
2300
  };
2205
2301
  readonly pollFetchProject: {
2206
- readonly checkingProject: (accountIdentifier: string | number) => string;
2302
+ readonly checkingProject: (accountIdentifier: string) => string;
2207
2303
  };
2208
2304
  readonly logFeedbackMessage: {
2209
2305
  readonly feedbackHeader: "We'd love to hear your feedback!";
@@ -2216,31 +2312,31 @@ export declare const lib: {
2216
2312
  readonly makePollTaskStatusFunc: {
2217
2313
  readonly errorSummary: "See below for a summary of errors.";
2218
2314
  readonly componentCountSingular: "Found 1 component in this project\n";
2219
- readonly componentCount: (numComponents: string | number) => string;
2315
+ readonly componentCount: (numComponents: number) => string;
2220
2316
  readonly successStatusText: "DONE";
2221
2317
  readonly failedStatusText: "FAILED";
2222
- readonly errorFetchingTaskStatus: (taskType: string | number) => string;
2318
+ readonly errorFetchingTaskStatus: (taskType: string) => string;
2223
2319
  };
2224
- readonly pollBuildAutodeployStatusError: (buildId: string | number) => string;
2320
+ readonly pollBuildAutodeployStatusError: (buildId: number) => string;
2225
2321
  readonly pollProjectBuildAndDeploy: {
2226
- readonly buildSucceededAutomaticallyDeploying: (buildId: string | number, accountIdentifier: string | number) => string;
2227
- readonly cleanedUpTempFile: (path: string | number) => string;
2322
+ readonly buildSucceededAutomaticallyDeploying: (buildId: number, accountIdentifier: string) => string;
2323
+ readonly cleanedUpTempFile: (path: string) => string;
2228
2324
  readonly viewDeploys: "View all deploys for this project in HubSpot";
2229
- readonly unableToFindAutodeployStatus: (buildId: string | number, viewDeploysLink: string | number) => string;
2325
+ readonly unableToFindAutodeployStatus: (buildId: number, viewDeploysLink: string) => string;
2230
2326
  };
2231
2327
  };
2232
2328
  readonly projectUpload: {
2233
2329
  readonly uploadProjectFiles: {
2234
- readonly add: (projectName: string | number, accountIdentifier: string | number) => string;
2235
- readonly fail: (projectName: string | number, accountIdentifier: string | number) => string;
2236
- readonly succeed: (projectName: string | number, accountIdentifier: string | number) => string;
2237
- readonly buildCreated: (projectName: string | number, buildId: string | number) => string;
2330
+ readonly add: (projectName: string, accountIdentifier: string) => string;
2331
+ readonly fail: (projectName: string, accountIdentifier: string) => string;
2332
+ readonly succeed: (projectName: string, accountIdentifier: string) => string;
2333
+ readonly buildCreated: (projectName: string, buildId: number) => string;
2238
2334
  };
2239
2335
  readonly handleProjectUpload: {
2240
- readonly emptySource: (srcDir: string | number) => string;
2241
- readonly compressed: (byteCount: string | number) => string;
2242
- readonly compressing: (path: string | number) => string;
2243
- readonly fileFiltered: (filename: string | number) => string;
2336
+ readonly emptySource: (srcDir: string) => string;
2337
+ readonly compressed: (byteCount: number) => string;
2338
+ readonly compressing: (path: string) => string;
2339
+ readonly fileFiltered: (filename: string) => string;
2244
2340
  };
2245
2341
  };
2246
2342
  readonly boxen: {
@@ -2255,81 +2351,81 @@ export declare const lib: {
2255
2351
  readonly infoTag: string;
2256
2352
  readonly deprecatedTag: string;
2257
2353
  readonly errorTag: string;
2258
- readonly deprecatedMessage: (command: string | number, url: string | number) => string;
2259
- readonly deprecatedDescription: (message: string | number, command: string | number, url: string | number) => string;
2354
+ readonly deprecatedMessage: (command: string, url: string) => string;
2355
+ readonly deprecatedDescription: (message: string, command: string, url: string) => string;
2260
2356
  readonly deprecatedUrlText: "Learn more.";
2261
- readonly disabledMessage: (command: string | number, npmCommand: string | number, url: string | number) => string;
2357
+ readonly disabledMessage: (command: string, npmCommand: string, url: string) => string;
2262
2358
  readonly disabledUrlText: "See all HubSpot CLI commands here.";
2263
2359
  readonly featureHighlight: {
2264
2360
  readonly defaultTitle: "What's next?";
2265
2361
  readonly featureKeys: {
2266
2362
  readonly accountOption: {
2267
2363
  readonly command: "--account";
2268
- readonly message: (command: string | number) => string;
2364
+ readonly message: (command: string) => string;
2269
2365
  };
2270
2366
  readonly accountsListCommand: {
2271
2367
  readonly command: "hs accounts list";
2272
- readonly message: (command: string | number) => string;
2368
+ readonly message: (command: string) => string;
2273
2369
  };
2274
2370
  readonly accountsUseCommand: {
2275
2371
  readonly command: "hs accounts use";
2276
- readonly message: (command: string | number) => string;
2372
+ readonly message: (command: string) => string;
2277
2373
  };
2278
2374
  readonly authCommand: {
2279
2375
  readonly command: "hs auth";
2280
- readonly message: (command: string | number) => string;
2376
+ readonly message: (command: string) => string;
2281
2377
  };
2282
2378
  readonly feedbackCommand: {
2283
2379
  readonly command: "hs feedback";
2284
- readonly message: (command: string | number) => string;
2380
+ readonly message: (command: string) => string;
2285
2381
  };
2286
2382
  readonly helpCommand: {
2287
2383
  readonly command: "hs help";
2288
- readonly message: (command: string | number) => string;
2384
+ readonly message: (command: string) => string;
2289
2385
  };
2290
2386
  readonly projectCreateCommand: {
2291
2387
  readonly command: "hs project create";
2292
- readonly message: (command: string | number) => string;
2388
+ readonly message: (command: string) => string;
2293
2389
  };
2294
2390
  readonly projectDeployCommand: {
2295
2391
  readonly command: "hs project deploy";
2296
- readonly message: (command: string | number) => string;
2392
+ readonly message: (command: string) => string;
2297
2393
  };
2298
2394
  readonly projectHelpCommand: {
2299
2395
  readonly command: "hs project --help";
2300
- readonly message: (command: string | number) => string;
2396
+ readonly message: (command: string) => string;
2301
2397
  };
2302
2398
  readonly projectUploadCommand: {
2303
2399
  readonly command: "hs project upload";
2304
- readonly message: (command: string | number) => string;
2400
+ readonly message: (command: string) => string;
2305
2401
  };
2306
2402
  readonly projectDevCommand: {
2307
2403
  readonly command: "hs project dev";
2308
- readonly message: (command: string | number) => string;
2404
+ readonly message: (command: string) => string;
2309
2405
  };
2310
2406
  readonly projectInstallDepsCommand: {
2311
2407
  readonly command: "hs project install-deps";
2312
- readonly message: (command: string | number) => string;
2408
+ readonly message: (command: string) => string;
2313
2409
  };
2314
2410
  readonly sampleProjects: {
2315
2411
  readonly linkText: "HubSpot's sample projects";
2316
2412
  readonly url: "https://developers.hubspot.com/docs/platform/sample-projects?utm_source=cli&utm_content=project_create_whats_next";
2317
- readonly message: (link: string | number) => string;
2413
+ readonly message: (link: string) => string;
2318
2414
  };
2319
2415
  };
2320
2416
  };
2321
2417
  readonly git: {
2322
2418
  readonly securityIssue: "Security Issue Detected";
2323
2419
  readonly configFileTracked: "The HubSpot config file can be tracked by git.";
2324
- readonly fileName: (configPath: string | number) => string;
2420
+ readonly fileName: (configPath: string) => string;
2325
2421
  readonly remediate: "To remediate:";
2326
- readonly moveConfig: (homeDir: string | number) => string;
2327
- readonly addGitignore: (configPath: string | number) => string;
2422
+ readonly moveConfig: (homeDir: string) => string;
2423
+ readonly addGitignore: (configPath: string) => string;
2328
2424
  readonly noRemote: "- Ensure that the config file has not already been pushed to a remote repository.";
2329
2425
  readonly checkFailed: "Unable to determine if config file is properly ignored by git.";
2330
2426
  };
2331
2427
  readonly serverlessFunctionLogs: {
2332
- readonly unableToProcessLog: (log: string | number) => string;
2428
+ readonly unableToProcessLog: (log: string) => string;
2333
2429
  readonly noLogsFound: "No logs found.";
2334
2430
  };
2335
2431
  };
@@ -2346,9 +2442,9 @@ export declare const lib: {
2346
2442
  };
2347
2443
  readonly modes: {
2348
2444
  readonly describe: {
2349
- readonly default: (modes: string | number) => string;
2350
- readonly read: (modes: string | number) => string;
2351
- readonly write: (modes: string | number) => string;
2445
+ readonly default: (modes: string) => string;
2446
+ readonly read: (modes: string) => string;
2447
+ readonly write: (modes: string) => string;
2352
2448
  };
2353
2449
  };
2354
2450
  readonly qa: {
@@ -2367,34 +2463,34 @@ export declare const lib: {
2367
2463
  readonly createNewSandboxOption: "<Test on a new development sandbox>";
2368
2464
  readonly createNewDeveloperTestAccountOption: "<Test on a new developer test account>";
2369
2465
  readonly chooseDefaultAccountOption: () => string;
2370
- readonly promptMessage: (accountType: string | number, accountIdentifier: string | number) => string;
2371
- readonly sandboxLimit: (limit: string | number) => string;
2372
- readonly sandboxLimitWithSuggestion: (limit: string | number, authCommand: string | number) => string;
2373
- readonly developerTestAccountLimit: (limit: string | number) => string;
2374
- readonly confirmDefaultAccount: (accountName: string | number, accountType: string | number) => string;
2375
- readonly confirmUseExistingDeveloperTestAccount: (accountName: string | number) => string;
2466
+ readonly promptMessage: (accountType: string, accountIdentifier: string) => string;
2467
+ readonly sandboxLimit: (limit: string) => string;
2468
+ readonly sandboxLimitWithSuggestion: (limit: string, authCommand: string) => string;
2469
+ readonly developerTestAccountLimit: (limit: string) => string;
2470
+ readonly confirmDefaultAccount: (accountName: string, accountType: string) => string;
2471
+ readonly confirmUseExistingDeveloperTestAccount: (accountName: string) => string;
2376
2472
  readonly noAccountId: "No account ID found for the selected account. Please try again.";
2377
2473
  };
2378
2474
  readonly projectLogsPrompt: {
2379
- readonly functionName: (projectName: string | number) => string;
2475
+ readonly functionName: (projectName: string) => string;
2380
2476
  };
2381
2477
  readonly setAsDefaultAccountPrompt: {
2382
2478
  readonly setAsDefaultAccountMessage: "Set this account as the default?";
2383
- readonly setAsDefaultAccount: (accountName: string | number) => string;
2384
- readonly keepingCurrentDefault: (accountName: string | number) => string;
2479
+ readonly setAsDefaultAccount: (accountName: string) => string;
2480
+ readonly keepingCurrentDefault: (accountName: string) => string;
2385
2481
  };
2386
2482
  readonly accountNamePrompt: {
2387
2483
  readonly enterAccountName: "Enter a unique name to reference this account in the CLI:";
2388
2484
  readonly enterDeveloperTestAccountName: "Name your developer test account:";
2389
2485
  readonly enterStandardSandboxName: "Name your standard sandbox:";
2390
2486
  readonly enterDevelopmentSandboxName: "Name your development sandbox:";
2391
- readonly sandboxDefaultName: (sandboxType: string | number) => string;
2392
- readonly developerTestAccountDefaultName: (count: string | number) => string;
2487
+ readonly sandboxDefaultName: (sandboxType: string) => string;
2488
+ readonly developerTestAccountDefaultName: (count: string) => string;
2393
2489
  readonly errors: {
2394
2490
  readonly invalidName: "You entered an invalid name. Please try again.";
2395
2491
  readonly nameRequired: "The name may not be blank. Please try again.";
2396
2492
  readonly spacesInName: "The name may not contain spaces. Please try again.";
2397
- readonly accountNameExists: (name: string | number) => string;
2493
+ readonly accountNameExists: (name: string) => string;
2398
2494
  };
2399
2495
  };
2400
2496
  readonly personalAccessKeyPrompt: {
@@ -2407,7 +2503,7 @@ export declare const lib: {
2407
2503
  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.";
2408
2504
  readonly personalAccessKeyBrowserOpenPrompt: "Open HubSpot to copy your personal access key?";
2409
2505
  readonly logs: {
2410
- readonly openingWebBrowser: (url: string | number) => string;
2506
+ readonly openingWebBrowser: (url: string) => string;
2411
2507
  };
2412
2508
  readonly errors: {
2413
2509
  readonly invalidAccountId: "You did not enter a valid account ID. Please try again.";
@@ -2463,19 +2559,19 @@ export declare const lib: {
2463
2559
  readonly destRequired: "A project dest is required";
2464
2560
  readonly invalidDest: "There is an existing project at this destination. Please provide a new path for this project.";
2465
2561
  readonly invalidCharacters: "The selected destination contains invalid characters. Please provide a new path and try again.";
2466
- readonly invalidTemplate: (template: string | number) => string;
2562
+ readonly invalidTemplate: (template: string) => string;
2467
2563
  readonly projectTemplateRequired: "Project template is required when projectTemplates is provided";
2468
2564
  };
2469
2565
  };
2470
2566
  readonly selectPublicAppPrompt: {
2471
- readonly selectAppIdMigrate: (accountName: string | number) => string;
2472
- readonly selectAppIdClone: (accountName: string | number) => string;
2567
+ readonly selectAppIdMigrate: (accountName: string) => string;
2568
+ readonly selectAppIdClone: (accountName: string) => string;
2473
2569
  readonly errors: {
2474
2570
  readonly noAccountId: "An account ID is required to select an app.";
2475
2571
  readonly noAppsMigration: () => string;
2476
2572
  readonly noAppsClone: () => string;
2477
- readonly noAppsMigrationMessage: (accountName: string | number) => string;
2478
- readonly noAppsCloneMessage: (accountName: string | number) => string;
2573
+ readonly noAppsMigrationMessage: (accountName: string) => string;
2574
+ readonly noAppsCloneMessage: (accountName: string) => string;
2479
2575
  readonly errorFetchingApps: "There was an error fetching public apps.";
2480
2576
  readonly cannotBeMigrated: "Cannot be migrated";
2481
2577
  };
@@ -2483,7 +2579,7 @@ export declare const lib: {
2483
2579
  readonly downloadProjectPrompt: {
2484
2580
  readonly selectProject: "Select a project to download:";
2485
2581
  readonly errors: {
2486
- readonly projectNotFound: (projectName: string | number, accountId: string | number) => string;
2582
+ readonly projectNotFound: (projectName: string, accountId: string) => string;
2487
2583
  readonly accountIdRequired: "An account ID is required to download a project.";
2488
2584
  };
2489
2585
  };
@@ -2492,7 +2588,7 @@ export declare const lib: {
2492
2588
  readonly enterName: "[--name] Give your component a name: ";
2493
2589
  readonly errors: {
2494
2590
  readonly nameRequired: "A component name is required";
2495
- readonly invalidType: (type: string | number) => string;
2591
+ readonly invalidType: (type: string) => string;
2496
2592
  };
2497
2593
  };
2498
2594
  readonly secretPrompt: {
@@ -2520,13 +2616,13 @@ export declare const lib: {
2520
2616
  readonly srcRequired: "You must specify a source directory.";
2521
2617
  readonly destRequired: "You must specify a destination directory.";
2522
2618
  };
2523
- readonly fieldsPrompt: (dir: string | number) => string;
2619
+ readonly fieldsPrompt: (dir: string) => string;
2524
2620
  };
2525
2621
  readonly projectNamePrompt: {
2526
2622
  readonly enterName: "[--project] Enter project name:";
2527
2623
  readonly errors: {
2528
2624
  readonly invalidName: "You entered an invalid name. Please try again.";
2529
- readonly projectDoesNotExist: (projectName: string | number, accountIdentifier: string | number) => string;
2625
+ readonly projectDoesNotExist: (projectName: string, accountIdentifier: string) => string;
2530
2626
  };
2531
2627
  };
2532
2628
  readonly previewPrompt: {
@@ -2549,8 +2645,8 @@ export declare const lib: {
2549
2645
  readonly selectTable: "Select a HubDB table:";
2550
2646
  readonly enterDest: "Enter the destination path:";
2551
2647
  readonly errors: {
2552
- readonly noTables: (accountId: string | number) => string;
2553
- readonly errorFetchingTables: (accountId: string | number) => string;
2648
+ readonly noTables: (accountId: string) => string;
2649
+ readonly errorFetchingTables: (accountId: string) => string;
2554
2650
  readonly destRequired: "A destination is required";
2555
2651
  readonly invalidDest: "The selected destination already exists. Please provide a new path.";
2556
2652
  readonly invalidCharacters: "The selected destination contains invalid characters. Please provide a new path and try again.";
@@ -2572,20 +2668,20 @@ export declare const lib: {
2572
2668
  readonly developerTestAccount: {
2573
2669
  readonly create: {
2574
2670
  readonly loading: {
2575
- readonly add: (accountName: string | number) => string;
2576
- readonly fail: (accountName: string | number) => string;
2577
- readonly succeed: (accountName: string | number, accountId: string | number) => string;
2671
+ readonly add: (accountName: string) => string;
2672
+ readonly fail: (accountName: string) => string;
2673
+ readonly succeed: (accountName: string, accountId: string) => string;
2578
2674
  };
2579
2675
  readonly success: {
2580
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
2676
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2581
2677
  };
2582
2678
  readonly failure: {
2583
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
2584
- readonly limit: (accountName: string | number, limit: string | number) => string;
2585
- readonly alreadyInConfig: (accountName: string | number, limit: string | number) => string;
2679
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
2680
+ readonly limit: (accountName: string, limit: string) => string;
2681
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
2586
2682
  readonly scopes: {
2587
2683
  readonly message: "The personal access key you provided doesn't include developer test account permissions.";
2588
- readonly instructions: (accountName: string | number, url: string | number) => string;
2684
+ readonly instructions: (accountName: string | number, url: string) => string;
2589
2685
  };
2590
2686
  };
2591
2687
  };
@@ -2594,85 +2690,85 @@ export declare const lib: {
2594
2690
  readonly create: {
2595
2691
  readonly developer: {
2596
2692
  readonly loading: {
2597
- readonly add: (accountName: string | number) => string;
2598
- readonly fail: (accountName: string | number) => string;
2599
- readonly succeed: (accountName: string | number, accountId: string | number) => string;
2693
+ readonly add: (accountName: string) => string;
2694
+ readonly fail: (accountName: string) => string;
2695
+ readonly succeed: (accountName: string, accountId: string) => string;
2600
2696
  };
2601
2697
  readonly success: {
2602
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
2698
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2603
2699
  };
2604
2700
  readonly failure: {
2605
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
2606
- readonly limit: (accountName: string | number, limit: string | number) => string;
2607
- readonly alreadyInConfig: (accountName: string | number, limit: string | number) => string;
2701
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
2702
+ readonly limit: (accountName: string, limit: string) => string;
2703
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
2608
2704
  readonly scopes: {
2609
2705
  readonly message: "The personal access key you provided doesn't include developer sandbox permissions.";
2610
- readonly instructions: (accountName: string | number, url: string | number) => string;
2706
+ readonly instructions: (accountName: string | number, url: string) => string;
2611
2707
  };
2612
2708
  readonly generic: "An error occurred while creating a developer sandbox";
2613
2709
  };
2614
2710
  };
2615
2711
  readonly standard: {
2616
2712
  readonly loading: {
2617
- readonly add: (accountName: string | number) => string;
2618
- readonly fail: (accountName: string | number) => string;
2619
- readonly succeed: (accountName: string | number, accountId: string | number) => string;
2713
+ readonly add: (accountName: string) => string;
2714
+ readonly fail: (accountName: string) => string;
2715
+ readonly succeed: (accountName: string, accountId: string) => string;
2620
2716
  };
2621
2717
  readonly success: {
2622
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
2718
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2623
2719
  };
2624
2720
  readonly failure: {
2625
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
2626
- readonly limit: (accountName: string | number, limit: string | number) => string;
2627
- readonly alreadyInConfig: (accountName: string | number, limit: string | number) => string;
2721
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
2722
+ readonly limit: (accountName: string, limit: string) => string;
2723
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
2628
2724
  readonly scopes: {
2629
2725
  readonly message: "The personal access key you provided doesn't include standard sandbox permissions.";
2630
- readonly instructions: (accountName: string | number, url: string | number) => string;
2726
+ readonly instructions: (accountName: string, url: string) => string;
2631
2727
  };
2632
2728
  };
2633
2729
  };
2634
2730
  };
2635
2731
  readonly sync: {
2636
2732
  readonly loading: {
2637
- readonly add: (accountName: string | number) => string;
2638
- readonly fail: (accountName: string | number) => string;
2639
- readonly succeed: (accountName: string | number) => string;
2733
+ readonly add: (accountName: string) => string;
2734
+ readonly fail: (accountName: string) => string;
2735
+ readonly succeed: (accountName: string) => string;
2640
2736
  };
2641
2737
  readonly success: {
2642
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
2738
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2643
2739
  };
2644
2740
  readonly failure: {
2645
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
2741
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
2646
2742
  readonly scopes: {
2647
2743
  readonly message: "The personal access key you provided doesn't include sandbox sync permissions.";
2648
- readonly instructions: (accountName: string | number, url: string | number) => string;
2744
+ readonly instructions: (accountName: string, url: string) => string;
2649
2745
  };
2650
2746
  };
2651
2747
  };
2652
2748
  };
2653
2749
  readonly errorHandlers: {
2654
2750
  readonly index: {
2655
- readonly errorOccurred: (error: string | number) => string;
2656
- readonly errorContext: (context: string | number) => string;
2657
- readonly errorCause: (cause: string | number) => string;
2751
+ readonly errorOccurred: (error: string) => string;
2752
+ readonly errorContext: (context: string) => string;
2753
+ readonly errorCause: (cause: string) => string;
2658
2754
  readonly unknownErrorOccurred: "An unknown error has occurred.";
2659
2755
  };
2660
2756
  readonly suppressErrors: {
2661
2757
  readonly platformVersionErrors: {
2662
2758
  readonly header: "Platform version update required";
2663
- readonly unspecifiedPlatformVersion: (platformVersion: string | number) => string;
2664
- readonly platformVersionRetired: (platformVersion: string | number) => string;
2665
- readonly nonExistentPlatformVersion: (platformVersion: string | number) => string;
2759
+ readonly unspecifiedPlatformVersion: (platformVersion: string) => string;
2760
+ readonly platformVersionRetired: (platformVersion: string) => string;
2761
+ readonly nonExistentPlatformVersion: (platformVersion: string) => string;
2666
2762
  readonly updateProject: "Please update your project to the latest version and try again.";
2667
2763
  readonly docsLink: "Projects platform versioning (BETA)";
2668
- readonly betaLink: (docsLink: string | number) => string;
2764
+ readonly betaLink: (docsLink: string) => string;
2669
2765
  };
2670
- readonly missingScopeError: (request: string | number, accountName: string | number, authCommand: string | number) => string;
2766
+ readonly missingScopeError: (request: string, accountName: string, authCommand: string) => string;
2671
2767
  };
2672
2768
  };
2673
2769
  readonly serverless: {
2674
2770
  readonly verifyAccessKeyAndUserAccess: {
2675
- readonly fetchScopeDataError: (scopeGroup: string | number) => string;
2771
+ readonly fetchScopeDataError: (scopeGroup: string) => string;
2676
2772
  readonly portalMissingScope: "Your account does not have access to this action. Talk to an account admin to request it.";
2677
2773
  readonly userMissingScope: "You don't have access to this action. Ask an account admin to change your permissions in Users & Teams settings.";
2678
2774
  readonly genericMissingScope: "Your access key does not allow this action. Please generate a new access key by running `hs auth personalaccesskey`.";
@@ -2684,49 +2780,49 @@ export declare const lib: {
2684
2780
  readonly accountChecks: {
2685
2781
  readonly active: "Default account active";
2686
2782
  readonly inactive: "Default account isn't active";
2687
- readonly inactiveSecondary: (command: string | number) => string;
2783
+ readonly inactiveSecondary: (command: string) => string;
2688
2784
  readonly unableToDetermine: "Unable to determine if the portal is active";
2689
2785
  readonly pak: {
2690
2786
  readonly incomplete: "Personal access key is valid, but there are more scopes available to your user that are not included in your key.";
2691
- readonly incompleteSecondary: (command: string | number, link: string | number) => string;
2787
+ readonly incompleteSecondary: (command: string, link: string) => string;
2692
2788
  readonly invalid: "Personal access key is invalid";
2693
- readonly invalidSecondary: (command: string | number) => string;
2694
- readonly valid: (link: string | number) => string;
2789
+ readonly invalidSecondary: (command: string) => string;
2790
+ readonly valid: (link: string) => string;
2695
2791
  readonly viewScopes: "View selected scopes";
2696
2792
  };
2697
2793
  };
2698
2794
  readonly nodeChecks: {
2699
2795
  readonly unableToDetermine: "Unable to determine what version of node is installed";
2700
- readonly minimumNotMet: (nodeVersion: string | number) => string;
2701
- readonly success: (nodeVersion: string | number) => string;
2796
+ readonly minimumNotMet: (nodeVersion: string) => string;
2797
+ readonly success: (nodeVersion: string) => string;
2702
2798
  };
2703
2799
  readonly npmChecks: {
2704
2800
  readonly notInstalled: "npm is not installed";
2705
- readonly installed: (npmVersion: string | number) => string;
2801
+ readonly installed: (npmVersion: string) => string;
2706
2802
  readonly unableToDetermine: "Unable to determine if npm is installed";
2707
2803
  };
2708
2804
  readonly hsChecks: {
2709
- readonly notLatest: (hsVersion: string | number) => string;
2710
- readonly notLatestSecondary: (command: string | number, hsVersion: string | number) => string;
2711
- readonly latest: (hsVersion: string | number) => string;
2805
+ readonly notLatest: (hsVersion: string) => string;
2806
+ readonly notLatestSecondary: (command: string, hsVersion: string) => string;
2807
+ readonly latest: (hsVersion: string) => string;
2712
2808
  readonly unableToDetermine: "Unable to determine if HubSpot CLI is up to date.";
2713
- readonly unableToDetermineSecondary: (command: string | number, link: string | number) => string;
2809
+ readonly unableToDetermineSecondary: (command: string, link: string) => string;
2714
2810
  readonly unableToDetermineSecondaryLink: "npm HubSpot CLI version history";
2715
2811
  };
2716
2812
  readonly projectDependenciesChecks: {
2717
- readonly missingDependencies: (dir: string | number) => string;
2718
- readonly missingDependenciesSecondary: (command: string | number) => string;
2719
- readonly unableToDetermine: (dir: string | number) => string;
2813
+ readonly missingDependencies: (dir: string) => string;
2814
+ readonly missingDependenciesSecondary: (command: string) => string;
2815
+ readonly unableToDetermine: (dir: string) => string;
2720
2816
  readonly success: "App dependencies are installed and up to date";
2721
2817
  };
2722
2818
  readonly files: {
2723
- readonly invalidJson: (filename: string | number) => string;
2819
+ readonly invalidJson: (filename: string) => string;
2724
2820
  readonly validJson: "JSON files valid";
2725
2821
  };
2726
2822
  readonly port: {
2727
- readonly inUse: (port: string | number) => string;
2728
- readonly inUseSecondary: (command: string | number) => string;
2729
- readonly available: (port: string | number) => string;
2823
+ readonly inUse: (port: string) => string;
2824
+ readonly inUseSecondary: (command: string) => string;
2825
+ readonly available: (port: string) => string;
2730
2826
  };
2731
2827
  readonly diagnosis: {
2732
2828
  readonly cli: {
@@ -2734,19 +2830,19 @@ export declare const lib: {
2734
2830
  };
2735
2831
  readonly cliConfig: {
2736
2832
  readonly header: "CLI configuration";
2737
- readonly configFileSubHeader: (filename: string | number) => string;
2738
- readonly defaultAccountSubHeader: (accountDetails: string | number) => string;
2833
+ readonly configFileSubHeader: (filename: string) => string;
2834
+ readonly defaultAccountSubHeader: (accountDetails: string) => string;
2739
2835
  readonly noConfigFile: "CLI configuration not found";
2740
- readonly noConfigFileSecondary: (command: string | number) => string;
2836
+ readonly noConfigFileSecondary: (command: string) => string;
2741
2837
  };
2742
2838
  readonly projectConfig: {
2743
2839
  readonly header: "Project configuration";
2744
- readonly projectDirSubHeader: (projectDir: string | number) => string;
2745
- readonly projectNameSubHeader: (projectName: string | number) => string;
2840
+ readonly projectDirSubHeader: (projectDir: string) => string;
2841
+ readonly projectNameSubHeader: (projectName: string) => string;
2746
2842
  };
2747
2843
  readonly counts: {
2748
- readonly errors: (count: string | number) => string;
2749
- readonly warnings: (count: string | number) => string;
2844
+ readonly errors: (count: string) => string;
2845
+ readonly warnings: (count: string) => string;
2750
2846
  };
2751
2847
  };
2752
2848
  };
@@ -2754,8 +2850,8 @@ export declare const lib: {
2754
2850
  readonly missingClientId: "Error building oauth URL: missing client ID.";
2755
2851
  };
2756
2852
  readonly migrate: {
2757
- readonly componentsToBeMigrated: (components: string | number) => string;
2758
- readonly componentsThatWillNotBeMigrated: (components: string | number) => string;
2853
+ readonly componentsToBeMigrated: (components: string) => string;
2854
+ readonly componentsThatWillNotBeMigrated: (components: string) => string;
2759
2855
  readonly sourceContentsMoved: (newLocation: string) => string;
2760
2856
  readonly projectMigrationWarningTitle: "⚠️ Important: Migrating to platformVersion 2025.2 is irreversible ⚠️";
2761
2857
  readonly projectMigrationWarning: string;
@@ -2764,7 +2860,7 @@ export declare const lib: {
2764
2860
  readonly invalidConfig: "The project configuration file is invalid. Please check the config file and try again.";
2765
2861
  readonly doesNotExist: (account: number) => string;
2766
2862
  readonly multipleApps: "Multiple apps found in project, this is not allowed in 2025.2";
2767
- readonly alreadyExists: (projectName: string | number) => string;
2863
+ readonly alreadyExists: (projectName: string) => string;
2768
2864
  };
2769
2865
  readonly unmigratableReasons: {
2770
2866
  readonly upToDate: "App is already up to date";
@@ -2772,21 +2868,21 @@ export declare const lib: {
2772
2868
  readonly listedInMarketplace: "Listed apps are not currently migratable";
2773
2869
  readonly projectConnectedToGitHub: (projectName: string | undefined, accountId: number) => string;
2774
2870
  readonly partOfProjectAlready: `This app is part of a project, run ${string} from the project directory to migrate it`;
2775
- readonly generic: (reasonCode: string | number) => string;
2871
+ readonly generic: (reasonCode: string) => string;
2776
2872
  };
2777
- readonly noAppsEligible: (accountId: string | number, reasons: string[]) => string;
2873
+ readonly noAppsEligible: (accountId: string, reasons: string[]) => string;
2778
2874
  readonly invalidAccountTypeTitle: string;
2779
- readonly invalidAccountTypeDescription: (useCommand: string | number, authCommand: string | number) => string;
2780
- readonly appWithAppIdNotFound: (appId: string | number) => string;
2875
+ readonly invalidAccountTypeDescription: (useCommand: string, authCommand: string) => string;
2876
+ readonly appWithAppIdNotFound: (appId: number) => string;
2781
2877
  readonly noAppsForProject: (projectName: string) => string;
2782
2878
  readonly migrationFailed: "Migration Failed";
2783
- readonly notUngatedForUnifiedApps: (account: string | number) => string;
2879
+ readonly notUngatedForUnifiedApps: (account: string) => string;
2784
2880
  };
2785
2881
  readonly prompt: {
2786
2882
  readonly chooseApp: "Which app would you like to migrate?";
2787
2883
  readonly inputName: "[--name] What would you like to name the project?";
2788
2884
  readonly inputDest: "[--dest] Where would you like to save the project?";
2789
- readonly uidForComponent: (componentName: string | number) => string;
2885
+ readonly uidForComponent: (componentName: string) => string;
2790
2886
  readonly proceed: "Would you like to proceed?";
2791
2887
  };
2792
2888
  readonly spinners: {