@hubspot/cli 7.4.8 → 7.4.9-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/commands/account/createOverride.js +9 -0
  2. package/commands/account/remove.js +6 -1
  3. package/commands/account/removeOverride.js +9 -0
  4. package/commands/cms/convertFields.d.ts +7 -1
  5. package/commands/cms/convertFields.js +57 -41
  6. package/commands/cms/getReactModule.d.ts +7 -1
  7. package/commands/cms/getReactModule.js +52 -34
  8. package/commands/cms/lighthouseScore.d.ts +8 -1
  9. package/commands/cms/lighthouseScore.js +129 -100
  10. package/commands/cms.d.ts +3 -1
  11. package/commands/cms.js +24 -15
  12. package/commands/completion.d.ts +3 -1
  13. package/commands/completion.js +25 -12
  14. package/commands/create/api-sample.d.ts +3 -1
  15. package/commands/create/api-sample.js +34 -38
  16. package/commands/create/app.d.ts +3 -1
  17. package/commands/create/app.js +9 -7
  18. package/commands/create/function.d.ts +3 -1
  19. package/commands/create/function.js +11 -10
  20. package/commands/create/index.d.ts +5 -1
  21. package/commands/create/index.js +23 -11
  22. package/commands/create/module.d.ts +3 -1
  23. package/commands/create/module.js +14 -13
  24. package/commands/create/react-app.d.ts +3 -1
  25. package/commands/create/react-app.js +10 -7
  26. package/commands/create/template.d.ts +3 -1
  27. package/commands/create/template.js +14 -14
  28. package/commands/create/vue-app.d.ts +3 -1
  29. package/commands/create/vue-app.js +10 -7
  30. package/commands/create/webpack-serverless.d.ts +3 -1
  31. package/commands/create/webpack-serverless.js +10 -7
  32. package/commands/create/website-theme.d.ts +3 -1
  33. package/commands/create/website-theme.js +10 -9
  34. package/commands/create.d.ts +4 -24
  35. package/commands/create.js +55 -73
  36. package/commands/customObject/create.d.ts +4 -9
  37. package/commands/customObject/create.js +17 -10
  38. package/commands/customObject/schema/create.d.ts +4 -9
  39. package/commands/customObject/schema/create.js +18 -11
  40. package/commands/customObject/schema/delete.d.ts +4 -9
  41. package/commands/customObject/schema/delete.js +17 -10
  42. package/commands/customObject/schema/fetch-all.d.ts +4 -9
  43. package/commands/customObject/schema/fetch-all.js +17 -10
  44. package/commands/customObject/schema/fetch.d.ts +4 -9
  45. package/commands/customObject/schema/fetch.js +17 -10
  46. package/commands/customObject/schema/list.d.ts +4 -8
  47. package/commands/customObject/schema/list.js +17 -10
  48. package/commands/customObject/schema/update.d.ts +4 -9
  49. package/commands/customObject/schema/update.js +18 -11
  50. package/commands/customObject/schema.d.ts +3 -5
  51. package/commands/customObject/schema.js +27 -54
  52. package/commands/customObject.d.ts +3 -4
  53. package/commands/customObject.js +20 -45
  54. package/commands/feedback.d.ts +7 -1
  55. package/commands/feedback.js +36 -20
  56. package/commands/fetch.d.ts +12 -1
  57. package/commands/fetch.js +49 -33
  58. package/commands/function/deploy.d.ts +6 -1
  59. package/commands/function/deploy.js +70 -50
  60. package/commands/function/list.d.ts +6 -1
  61. package/commands/function/list.js +44 -32
  62. package/commands/function/server.d.ts +10 -1
  63. package/commands/function/server.js +49 -38
  64. package/commands/function.d.ts +5 -1
  65. package/commands/function.js +24 -10
  66. package/commands/hubdb/clear.d.ts +4 -9
  67. package/commands/hubdb/clear.js +17 -10
  68. package/commands/hubdb/create.d.ts +4 -9
  69. package/commands/hubdb/create.js +17 -10
  70. package/commands/hubdb/delete.d.ts +4 -9
  71. package/commands/hubdb/delete.js +17 -10
  72. package/commands/hubdb/fetch.d.ts +4 -9
  73. package/commands/hubdb/fetch.js +17 -10
  74. package/commands/hubdb.d.ts +3 -2
  75. package/commands/hubdb.js +23 -45
  76. package/commands/lint.d.ts +6 -4
  77. package/commands/lint.js +44 -43
  78. package/commands/logs.d.ts +10 -1
  79. package/commands/logs.js +53 -44
  80. package/commands/module/marketplace-validate.d.ts +6 -1
  81. package/commands/module/marketplace-validate.js +39 -27
  82. package/commands/module.d.ts +3 -1
  83. package/commands/module.js +22 -10
  84. package/commands/project/dev/unifiedFlow.js +28 -5
  85. package/commands/sandbox/create.d.ts +4 -9
  86. package/commands/sandbox/create.js +18 -11
  87. package/commands/sandbox/delete.d.ts +4 -9
  88. package/commands/sandbox/delete.js +18 -11
  89. package/commands/sandbox.d.ts +3 -4
  90. package/commands/sandbox.js +20 -43
  91. package/commands/secret/addSecret.d.ts +4 -9
  92. package/commands/secret/addSecret.js +17 -10
  93. package/commands/secret/deleteSecret.d.ts +4 -9
  94. package/commands/secret/deleteSecret.js +17 -10
  95. package/commands/secret/listSecret.d.ts +4 -9
  96. package/commands/secret/listSecret.js +17 -10
  97. package/commands/secret/updateSecret.d.ts +4 -9
  98. package/commands/secret/updateSecret.js +17 -10
  99. package/commands/secret.d.ts +3 -4
  100. package/commands/secret.js +25 -48
  101. package/commands/upload.d.ts +12 -1
  102. package/commands/upload.js +118 -97
  103. package/commands/watch.d.ts +14 -1
  104. package/commands/watch.js +76 -65
  105. package/lang/en.d.ts +565 -543
  106. package/lang/en.js +360 -338
  107. package/lang/en.lyaml +3 -0
  108. package/lib/constants.d.ts +5 -0
  109. package/lib/constants.js +6 -1
  110. package/lib/errorHandlers/suppressError.js +12 -19
  111. package/lib/filesystem.d.ts +1 -1
  112. package/lib/interpolation.d.ts +2 -3
  113. package/lib/lang.d.ts +2 -3
  114. package/lib/projects/buildAndDeploy.js +17 -2
  115. package/lib/projects/localDev/AppDevModeInterface.d.ts +25 -0
  116. package/lib/projects/localDev/AppDevModeInterface.js +117 -0
  117. package/lib/projects/localDev/DevServerManagerV2.d.ts +11 -22
  118. package/lib/projects/localDev/DevServerManagerV2.js +19 -15
  119. package/lib/projects/localDev/LocalDevLogger.d.ts +30 -0
  120. package/lib/projects/localDev/LocalDevLogger.js +158 -0
  121. package/lib/projects/localDev/LocalDevManager.js +2 -3
  122. package/lib/projects/localDev/LocalDevProcess.d.ts +41 -0
  123. package/lib/projects/localDev/LocalDevProcess.js +178 -0
  124. package/lib/projects/localDev/LocalDevWatcher.d.ts +10 -0
  125. package/lib/projects/localDev/LocalDevWatcher.js +55 -0
  126. package/lib/projects/localDev/LocalDevWebsocketServer.d.ts +15 -0
  127. package/lib/projects/localDev/LocalDevWebsocketServer.js +80 -0
  128. package/lib/prompts/createApiSamplePrompt.d.ts +2 -10
  129. package/lib/prompts/createTemplatePrompt.d.ts +22 -4
  130. package/lib/upload.d.ts +1 -1
  131. package/lib/yargsUtils.d.ts +4 -0
  132. package/lib/yargsUtils.js +6 -0
  133. package/package.json +5 -3
  134. package/types/Cms.d.ts +30 -0
  135. package/types/Cms.js +2 -0
  136. package/types/LocalDev.d.ts +22 -0
  137. package/types/LocalDev.js +2 -0
  138. package/types/Yargs.d.ts +5 -0
  139. package/lib/projects/localDev/LocalDevManagerV2.d.ts +0 -64
  140. 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.";
@@ -755,10 +755,10 @@ export declare const commands: {
755
755
  };
756
756
  readonly errors: {
757
757
  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;
758
+ readonly noAccount: (accountId: string, authCommand: string) => string;
759
+ readonly noAccountsInConfig: (authCommand: string) => string;
760
760
  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;
761
+ readonly noRunnableComponents: (command: string) => string;
762
762
  };
763
763
  readonly examples: {
764
764
  readonly default: "Start local dev for the current project";
@@ -770,10 +770,10 @@ export declare const commands: {
770
770
  readonly failedToDownloadProject: "Failed to download project. Please try again later.";
771
771
  readonly invalidTemplateSource: "Invalid template source provided. Use the format <Owner>/<Repo> and try again.";
772
772
  readonly failedToFetchProjectList: "Failed to fetch the list of available project templates. Please try again later.";
773
- readonly cannotNestProjects: (projectDir: string | number) => string;
773
+ readonly cannotNestProjects: (projectDir: string) => string;
774
774
  };
775
775
  readonly logs: {
776
- readonly success: (projectName: string | number, projectDest: string | number) => string;
776
+ readonly success: (projectName: string, projectDest: string) => string;
777
777
  readonly welcomeMessage: "Welcome to HubSpot Developer Projects!";
778
778
  };
779
779
  readonly examples: {
@@ -815,7 +815,7 @@ export declare const commands: {
815
815
  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
816
  readonly link: "Learn more about migrating apps to the projects framework";
817
817
  };
818
- readonly deprecationWarning: (oldCommand: string | number, newCommand: string | number) => string;
818
+ readonly deprecationWarning: (oldCommand: string, newCommand: string) => string;
819
819
  readonly migrationStatus: {
820
820
  readonly inProgress: () => string;
821
821
  readonly success: () => string;
@@ -838,7 +838,7 @@ export declare const commands: {
838
838
  readonly preamble: (platformVersion: string) => string;
839
839
  readonly describe: "Migrate an existing project to the new version of the projects framework.";
840
840
  readonly errors: {
841
- readonly noProjectConfig: (command: string | number) => string;
841
+ readonly noProjectConfig: (command: string) => string;
842
842
  };
843
843
  readonly examples: {
844
844
  readonly default: "Migrate an existing project to the new version of the projects framework.";
@@ -860,13 +860,13 @@ export declare const commands: {
860
860
  readonly cloneStatus: {
861
861
  readonly inProgress: () => string;
862
862
  readonly done: "Cloning app configuration to public-app.json component definition ... DONE";
863
- readonly success: (dest: string | number) => string;
863
+ readonly success: (dest: string) => string;
864
864
  readonly failure: "Cloning app configuration to public-app.json component definition ... FAILED";
865
865
  };
866
866
  readonly errors: {
867
867
  readonly invalidAccountTypeTitle: () => string;
868
- readonly invalidAccountTypeDescription: (useCommand: string | number, authCommand: string | number) => string;
869
- readonly couldNotWriteConfigPath: (configPath: string | number) => string;
868
+ readonly invalidAccountTypeDescription: (useCommand: string, authCommand: string) => string;
869
+ readonly couldNotWriteConfigPath: (configPath: string) => string;
870
870
  };
871
871
  };
872
872
  readonly add: {
@@ -879,8 +879,8 @@ export declare const commands: {
879
879
  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
880
  };
881
881
  };
882
- readonly creatingComponent: (projectName: string | number) => string;
883
- readonly success: (componentName: string | number) => string;
882
+ readonly creatingComponent: (projectName: string) => string;
883
+ readonly success: (componentName: string) => string;
884
884
  readonly error: {
885
885
  readonly failedToDownloadComponent: "Failed to download project component. Please try again later.";
886
886
  readonly locationInProject: "This command must be run from within a project directory.";
@@ -896,15 +896,15 @@ export declare const commands: {
896
896
  readonly describe: "Deploy a project build.";
897
897
  readonly deployBuildIdPrompt: "[--build] Deploy which build?";
898
898
  readonly debug: {
899
- readonly deploying: (path: string | number) => string;
899
+ readonly deploying: (path: string) => string;
900
900
  };
901
901
  readonly errors: {
902
- readonly deploy: (details: string | number) => string;
902
+ readonly deploy: (details: string) => string;
903
903
  readonly noBuilds: "Deploy error: no builds for this project were found.";
904
904
  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;
905
+ readonly projectNotFound: (projectName: string, accountIdentifier: string, command: string) => string;
906
+ readonly buildIdDoesNotExist: (buildId: string, projectName: string, linkToProject: string) => string;
907
+ readonly buildAlreadyDeployed: (buildId: string, linkToProject: string) => string;
908
908
  readonly viewProjectsBuilds: "View project builds in HubSpot";
909
909
  };
910
910
  readonly examples: {
@@ -924,11 +924,11 @@ export declare const commands: {
924
924
  readonly describe: "List the project's builds.";
925
925
  readonly continueOrExitPrompt: "Press <enter> to load more, or ctrl+c to exit";
926
926
  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;
927
+ readonly showingNextBuilds: (count: string, projectName: string) => string;
928
+ readonly showingRecentBuilds: (count: string, projectName: string, viewAllBuildsLink: string) => string;
929
929
  readonly errors: {
930
930
  readonly noBuilds: "No builds for this project were found.";
931
- readonly projectNotFound: (projectName: string | number) => string;
931
+ readonly projectNotFound: (projectName: string) => string;
932
932
  };
933
933
  readonly options: {
934
934
  readonly project: {
@@ -951,15 +951,15 @@ export declare const commands: {
951
951
  readonly noFunctionsInProject: `There aren't any functions in this project
952
952
  \t- Run ${string} to learn more about logs
953
953
  \t- ${string} to learn more about serverless functions`;
954
- readonly noFunctionWithName: (name: string | number) => string;
955
- readonly functionNotDeployed: (name: string | number) => string;
954
+ readonly noFunctionWithName: (name: string) => string;
955
+ readonly functionNotDeployed: (name: string) => string;
956
956
  readonly projectLogsManagerNotInitialized: "Function called on ProjectLogsManager before initialization";
957
957
  readonly generic: "Error fetching logs";
958
958
  };
959
959
  readonly logs: {
960
960
  readonly showingLogs: "Showing logs for:";
961
961
  readonly hubspotLogsDirectLink: "View function logs in HubSpot";
962
- readonly noLogsFound: (name: string | number) => string;
962
+ readonly noLogsFound: (name: string) => string;
963
963
  };
964
964
  readonly table: {
965
965
  readonly accountHeader: "Account";
@@ -997,10 +997,10 @@ export declare const commands: {
997
997
  readonly default: "Upload a project into your HubSpot account";
998
998
  };
999
999
  readonly logs: {
1000
- readonly buildSucceeded: (buildId: string | number) => string;
1000
+ readonly buildSucceeded: (buildId: string) => string;
1001
1001
  readonly readyToGoLive: "🚀 Ready to take your project live?";
1002
- readonly runCommand: (command: string | number) => string;
1003
- readonly autoDeployDisabled: (deployCommand: string | number) => string;
1002
+ readonly runCommand: (command: string) => string;
1003
+ readonly autoDeployDisabled: (deployCommand: string) => string;
1004
1004
  };
1005
1005
  readonly errors: {
1006
1006
  readonly projectLockedError: () => string;
@@ -1023,10 +1023,10 @@ export declare const commands: {
1023
1023
  readonly processExited: "Stopping watcher...";
1024
1024
  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
1025
  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;
1026
+ readonly uploadSucceeded: (remotePath: string, filePath: string) => string;
1027
+ readonly deleteFileSucceeded: (remotePath: string) => string;
1028
+ readonly deleteFolderSucceeded: (remotePath: string) => string;
1029
+ readonly watching: (projectDir: string) => string;
1030
1030
  readonly previousStagingBuildCancelled: "Killed the previous watch process. Please try running `hs project watch` again";
1031
1031
  };
1032
1032
  readonly options: {
@@ -1037,18 +1037,18 @@ export declare const commands: {
1037
1037
  readonly debug: {
1038
1038
  readonly pause: "Pausing watcher, attempting to queue build";
1039
1039
  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;
1040
+ readonly extensionNotAllowed: (filePath: string) => string;
1041
+ readonly ignored: (filePath: string) => string;
1042
+ readonly uploading: (filePath: string, remotePath: string) => string;
1043
1043
  readonly attemptNewBuild: "Attempting to create a new build";
1044
- readonly fileAlreadyQueued: (filePath: string | number) => string;
1044
+ readonly fileAlreadyQueued: (filePath: string) => string;
1045
1045
  };
1046
1046
  readonly errors: {
1047
1047
  readonly projectConfigNotFound: "No project config found. Please ensure that you are in a project directory.";
1048
1048
  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;
1049
+ readonly uploadFailed: (remotePath: string, filePath: string) => string;
1050
+ readonly deleteFileFailed: (remotePath: string) => string;
1051
+ readonly deleteFolderFailed: (remotePath: string) => string;
1052
1052
  };
1053
1053
  };
1054
1054
  readonly download: {
@@ -1058,11 +1058,11 @@ export declare const commands: {
1058
1058
  };
1059
1059
  readonly logs: {
1060
1060
  readonly downloadCancelled: "Cancelling project download";
1061
- readonly downloadSucceeded: (buildId: string | number, projectName: string | number) => string;
1061
+ readonly downloadSucceeded: (buildId: string, projectName: string) => string;
1062
1062
  };
1063
1063
  readonly errors: {
1064
1064
  readonly downloadFailed: "Something went wrong downloading the project";
1065
- readonly projectNotFound: (projectName: string | number, accountId: string | number) => string;
1065
+ readonly projectNotFound: (projectName: string, accountId: string) => string;
1066
1066
  };
1067
1067
  readonly warnings: {
1068
1068
  readonly cannotDownloadWithinProject: "Cancelling project download. Please run the command again outside the context of an existing project.";
@@ -1089,7 +1089,7 @@ export declare const commands: {
1089
1089
  readonly examples: {
1090
1090
  readonly default: "Opens the projects page for the specified account";
1091
1091
  };
1092
- readonly success: (projectName: string | number) => string;
1092
+ readonly success: (projectName: string) => string;
1093
1093
  };
1094
1094
  readonly feedback: {
1095
1095
  readonly describe: "Leave feedback on HubSpot projects or file a bug report.";
@@ -1099,7 +1099,7 @@ export declare const commands: {
1099
1099
  readonly general: "[--general] Tell us about your experience with HubSpot's developer tools";
1100
1100
  };
1101
1101
  readonly openPrompt: "Create a Github issue in your browser?";
1102
- readonly success: (url: string | number) => string;
1102
+ readonly success: (url: string) => string;
1103
1103
  readonly options: {
1104
1104
  readonly bug: {
1105
1105
  readonly describe: "Open Github issues in your browser to report a bug.";
@@ -1117,20 +1117,20 @@ export declare const commands: {
1117
1117
  };
1118
1118
  readonly installLocationPrompt: "Choose the project components to install the dependencies:";
1119
1119
  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;
1120
+ readonly installingDependencies: (directory: string) => string;
1121
+ readonly installationSuccessful: (directory: string) => string;
1122
+ readonly addingDependenciesToLocation: (dependencies: string, directory: string) => string;
1123
+ readonly installingDependenciesFailed: (directory: string) => string;
1124
1124
  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;
1125
+ readonly noPackageJsonInProject: (projectName: string, link: string) => string;
1126
+ readonly packageManagerNotInstalled: (packageManager: string, link: string) => string;
1127
1127
  };
1128
1128
  };
1129
1129
  readonly remove: {
1130
1130
  readonly describe: "Delete a file or folder from HubSpot.";
1131
- readonly deleted: (path: string | number, accountId: string | number) => string;
1131
+ readonly deleted: (path: string, accountId: string) => string;
1132
1132
  readonly errors: {
1133
- readonly deleteFailed: (path: string | number, accountId: string | number) => string;
1133
+ readonly deleteFailed: (path: string, accountId: string) => string;
1134
1134
  };
1135
1135
  readonly positionals: {
1136
1136
  readonly path: {
@@ -1144,39 +1144,39 @@ export declare const commands: {
1144
1144
  readonly create: {
1145
1145
  readonly developer: {
1146
1146
  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;
1147
+ readonly add: (accountName: string) => string;
1148
+ readonly fail: (accountName: string) => string;
1149
+ readonly succeed: (accountName: string, accountId: string) => string;
1150
1150
  };
1151
1151
  readonly success: {
1152
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
1152
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
1153
1153
  };
1154
1154
  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;
1155
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1156
+ readonly limit: (accountName: string, limit: string) => string;
1157
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
1158
1158
  readonly scopes: {
1159
1159
  readonly message: "The personal access key you provided doesn't include developer sandbox permissions.";
1160
- readonly instructions: (accountName: string | number, url: string | number) => string;
1160
+ readonly instructions: (accountName: string, url: string) => string;
1161
1161
  };
1162
1162
  };
1163
1163
  };
1164
1164
  readonly standard: {
1165
1165
  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;
1166
+ readonly add: (accountName: string) => string;
1167
+ readonly fail: (accountName: string) => string;
1168
+ readonly succeed: (accountName: string, accountId: string) => string;
1169
1169
  };
1170
1170
  readonly success: {
1171
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
1171
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
1172
1172
  };
1173
1173
  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;
1174
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1175
+ readonly limit: (accountName: string, limit: string) => string;
1176
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
1177
1177
  readonly scopes: {
1178
1178
  readonly message: "The personal access key you provided doesn't include standard sandbox permissions.";
1179
- readonly instructions: (accountName: string | number, url: string | number) => string;
1179
+ readonly instructions: (accountName: string, url: string) => string;
1180
1180
  };
1181
1181
  };
1182
1182
  };
@@ -1184,28 +1184,28 @@ export declare const commands: {
1184
1184
  readonly delete: {
1185
1185
  readonly describe: "Delete a sandbox account.";
1186
1186
  readonly debug: {
1187
- readonly deleting: (account: string | number) => string;
1187
+ readonly deleting: (account: string) => string;
1188
1188
  readonly error: "Error deleting sandbox account:";
1189
1189
  };
1190
1190
  readonly examples: {
1191
1191
  readonly default: "Deletes the sandbox account named MySandboxAccount.";
1192
1192
  };
1193
- readonly confirm: (account: string | number) => string;
1194
- readonly defaultAccountWarning: (account: string | number) => string;
1193
+ readonly confirm: (account: string) => string;
1194
+ readonly defaultAccountWarning: (account: string) => string;
1195
1195
  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;
1196
+ readonly delete: (account: string, sandboxHubId: string) => string;
1197
+ readonly deleteDefault: (account: string, sandboxHubId: string) => string;
1198
+ readonly configFileUpdated: (account: string, configFilename: string) => string;
1199
1199
  };
1200
1200
  readonly failure: {
1201
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
1201
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1202
1202
  readonly noAccount: "No account specified. Specify an account by using the --account flag.";
1203
- readonly noSandboxAccounts: (authCommand: string | number) => string;
1203
+ readonly noSandboxAccounts: (authCommand: string) => string;
1204
1204
  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;
1205
+ readonly noParentAccount: (authCommand: string) => string;
1206
+ readonly objectNotFound: (account: string) => string;
1207
+ readonly noParentPortalAvailable: (command: string, url: string) => string;
1208
+ readonly invalidKey: (account: string, authCommand: string) => string;
1209
1209
  };
1210
1210
  readonly options: {
1211
1211
  readonly force: {
@@ -1219,18 +1219,18 @@ export declare const commands: {
1219
1219
  };
1220
1220
  readonly sync: {
1221
1221
  readonly loading: {
1222
- readonly add: (accountName: string | number) => string;
1223
- readonly fail: (accountName: string | number) => string;
1224
- readonly succeed: (accountName: string | number) => string;
1222
+ readonly add: (accountName: string) => string;
1223
+ readonly fail: (accountName: string) => string;
1224
+ readonly succeed: (accountName: string) => string;
1225
1225
  };
1226
1226
  readonly success: {
1227
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
1227
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
1228
1228
  };
1229
1229
  readonly failure: {
1230
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
1230
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
1231
1231
  readonly scopes: {
1232
1232
  readonly message: "The personal access key you provided doesn't include sandbox sync permissions.";
1233
- readonly instructions: (accountName: string | number, url: string | number) => string;
1233
+ readonly instructions: (accountName: string, url: string) => string;
1234
1234
  };
1235
1235
  };
1236
1236
  };
@@ -1241,8 +1241,8 @@ export declare const commands: {
1241
1241
  readonly add: {
1242
1242
  readonly describe: "Create a new secret.";
1243
1243
  readonly errors: {
1244
- readonly add: (secretName: string | number) => string;
1245
- readonly alreadyExists: (secretName: string | number, command: string | number) => string;
1244
+ readonly add: (secretName: string) => string;
1245
+ readonly alreadyExists: (secretName: string, command: string) => string;
1246
1246
  };
1247
1247
  readonly positionals: {
1248
1248
  readonly name: {
@@ -1250,17 +1250,17 @@ export declare const commands: {
1250
1250
  };
1251
1251
  };
1252
1252
  readonly success: {
1253
- readonly add: (secretName: string | number, accountIdentifier: string | number) => string;
1253
+ readonly add: (secretName: string, accountIdentifier: string) => string;
1254
1254
  };
1255
1255
  };
1256
1256
  readonly delete: {
1257
1257
  readonly describe: "Delete a secret.";
1258
1258
  readonly selectSecret: "Select the secret you want to delete";
1259
1259
  readonly deleteCanceled: "Delete canceled";
1260
- readonly confirmDelete: (secretName: string | number) => string;
1260
+ readonly confirmDelete: (secretName: string) => string;
1261
1261
  readonly errors: {
1262
- readonly delete: (secretName: string | number) => string;
1263
- readonly noSecret: (secretName: string | number) => string;
1262
+ readonly delete: (secretName: string) => string;
1263
+ readonly noSecret: (secretName: string) => string;
1264
1264
  };
1265
1265
  readonly positionals: {
1266
1266
  readonly name: {
@@ -1268,7 +1268,7 @@ export declare const commands: {
1268
1268
  };
1269
1269
  };
1270
1270
  readonly success: {
1271
- readonly delete: (secretName: string | number, accountIdentifier: string | number) => string;
1271
+ readonly delete: (secretName: string, accountIdentifier: string) => string;
1272
1272
  };
1273
1273
  };
1274
1274
  readonly list: {
@@ -1276,14 +1276,14 @@ export declare const commands: {
1276
1276
  readonly errors: {
1277
1277
  readonly list: "The secrets could not be listed";
1278
1278
  };
1279
- readonly groupLabel: (accountIdentifier: string | number) => string;
1279
+ readonly groupLabel: (accountIdentifier: string) => string;
1280
1280
  };
1281
1281
  readonly update: {
1282
1282
  readonly describe: "Update an existing secret.";
1283
1283
  readonly selectSecret: "Select the secret you want to update";
1284
1284
  readonly errors: {
1285
- readonly update: (secretName: string | number) => string;
1286
- readonly noSecret: (secretName: string | number) => string;
1285
+ readonly update: (secretName: string) => string;
1286
+ readonly noSecret: (secretName: string) => string;
1287
1287
  };
1288
1288
  readonly positionals: {
1289
1289
  readonly name: {
@@ -1291,7 +1291,7 @@ export declare const commands: {
1291
1291
  };
1292
1292
  };
1293
1293
  readonly success: {
1294
- readonly update: (secretName: string | number, accountIdentifier: string | number) => string;
1294
+ readonly update: (secretName: string, accountIdentifier: string) => string;
1295
1295
  readonly updateExplanation: "Existing serverless functions will start using this new value within 10 seconds.";
1296
1296
  };
1297
1297
  };
@@ -1303,11 +1303,11 @@ export declare const commands: {
1303
1303
  readonly generateSelectors: {
1304
1304
  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
1305
  readonly errors: {
1306
- readonly invalidPath: (themePath: string | number) => string;
1306
+ readonly invalidPath: (themePath: string) => string;
1307
1307
  readonly fieldsNotFound: "Unable to find theme's fields.json.";
1308
1308
  readonly noSelectorsFound: "No selectors found.";
1309
1309
  };
1310
- readonly success: (themePath: string | number, selectorsPath: string | number) => string;
1310
+ readonly success: (themePath: string, selectorsPath: string) => string;
1311
1311
  readonly positionals: {
1312
1312
  readonly path: {
1313
1313
  readonly describe: "The path of the theme you'd like to generate an editor-preview.json for.";
@@ -1317,17 +1317,17 @@ export declare const commands: {
1317
1317
  readonly marketplaceValidate: {
1318
1318
  readonly describe: "Validate a theme for the marketplace.";
1319
1319
  readonly errors: {
1320
- readonly invalidPath: (path: string | number) => string;
1320
+ readonly invalidPath: (path: string) => string;
1321
1321
  };
1322
1322
  readonly logs: {
1323
- readonly validatingTheme: (path: string | number) => string;
1323
+ readonly validatingTheme: (path: string) => string;
1324
1324
  };
1325
1325
  readonly results: {
1326
1326
  readonly required: "Required validation results:";
1327
1327
  readonly recommended: "Recommended validation results:";
1328
1328
  readonly warnings: {
1329
- readonly file: (file: string | number) => string;
1330
- readonly lineNumber: (line: string | number) => string;
1329
+ readonly file: (file: string) => string;
1330
+ readonly lineNumber: (line: string) => string;
1331
1331
  };
1332
1332
  readonly noErrors: "No errors";
1333
1333
  };
@@ -1340,7 +1340,7 @@ export declare const commands: {
1340
1340
  readonly preview: {
1341
1341
  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
1342
  readonly errors: {
1343
- readonly invalidPath: (path: string | number) => string;
1343
+ readonly invalidPath: (path: string) => string;
1344
1344
  readonly noThemeComponents: "Your project has no theme components available to preview.";
1345
1345
  };
1346
1346
  readonly positionals: {
@@ -1379,10 +1379,10 @@ export declare const commands: {
1379
1379
  readonly marketplaceValidate: {
1380
1380
  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
1381
  readonly errors: {
1382
- readonly invalidPath: (path: string | number) => string;
1382
+ readonly invalidPath: (path: string) => string;
1383
1383
  };
1384
1384
  readonly logs: {
1385
- readonly validatingModule: (path: string | number) => string;
1385
+ readonly validatingModule: (path: string) => string;
1386
1386
  };
1387
1387
  readonly options: {
1388
1388
  readonly json: {
@@ -1393,8 +1393,8 @@ export declare const commands: {
1393
1393
  readonly required: "Required validation results:";
1394
1394
  readonly recommended: "Recommended validation results:";
1395
1395
  readonly warnings: {
1396
- readonly file: (file: string | number) => string;
1397
- readonly lineNumber: (line: string | number) => string;
1396
+ readonly file: (file: string) => string;
1397
+ readonly lineNumber: (line: string) => string;
1398
1398
  };
1399
1399
  readonly noErrors: "No errors";
1400
1400
  };
@@ -1410,11 +1410,11 @@ export declare const commands: {
1410
1410
  readonly describe: "Upload a folder or file from your computer to the HubSpot CMS.";
1411
1411
  readonly errors: {
1412
1412
  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;
1413
+ readonly fileIgnored: (path: string) => string;
1414
+ readonly invalidPath: (path: string) => string;
1415
+ readonly uploadFailed: (src: string, dest: string) => string;
1416
+ readonly someFilesFailed: (dest: string) => string;
1417
+ readonly deleteFailed: (path: string, accountId: string) => string;
1418
1418
  };
1419
1419
  readonly options: {
1420
1420
  readonly options: {
@@ -1433,7 +1433,7 @@ export declare const commands: {
1433
1433
  readonly describe: "Skips confirmation prompts when doing a clean upload.";
1434
1434
  };
1435
1435
  };
1436
- readonly previewUrl: (previewUrl: string | number) => string;
1436
+ readonly previewUrl: (previewUrl: string) => string;
1437
1437
  readonly positionals: {
1438
1438
  readonly src: {
1439
1439
  readonly describe: "Path to the local file, relative to your current working directory.";
@@ -1443,21 +1443,21 @@ export declare const commands: {
1443
1443
  };
1444
1444
  };
1445
1445
  readonly success: {
1446
- readonly fileUploaded: (src: string | number, dest: string | number, accountId: string | number) => string;
1447
- readonly uploadComplete: (dest: string | number) => string;
1446
+ readonly fileUploaded: (src: string, dest: string, accountId: string) => string;
1447
+ readonly uploadComplete: (dest: string) => string;
1448
1448
  };
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;
1449
+ readonly uploading: (src: string, dest: string, accountId: string) => string;
1450
+ readonly notUploaded: (src: string) => string;
1451
+ readonly cleaning: (filePath: string, accountId: string) => string;
1452
+ readonly confirmCleanUpload: (filePath: string, accountId: string) => string;
1453
1453
  };
1454
1454
  readonly watch: {
1455
1455
  readonly describe: "Watch a directory on your computer for changes and upload the changed files to the HubSpot CMS.";
1456
1456
  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;
1457
+ readonly folderFailed: (src: string, dest: string, accountId: string) => string;
1458
+ readonly fileFailed: (file: string, dest: string, accountId: string) => string;
1459
1459
  readonly destinationRequired: "A destination directory needs to be passed";
1460
- readonly invalidPath: (path: string | number) => string;
1460
+ readonly invalidPath: (path: string) => string;
1461
1461
  };
1462
1462
  readonly options: {
1463
1463
  readonly disableInitial: {
@@ -1493,7 +1493,7 @@ export declare const commands: {
1493
1493
  readonly warnings: {
1494
1494
  readonly disableInitial: () => string;
1495
1495
  readonly initialUpload: () => string;
1496
- readonly notUploaded: (path: string | number) => string;
1496
+ readonly notUploaded: (path: string) => string;
1497
1497
  };
1498
1498
  };
1499
1499
  readonly convertFields: {
@@ -1509,42 +1509,42 @@ export declare const commands: {
1509
1509
  };
1510
1510
  };
1511
1511
  readonly errors: {
1512
- readonly invalidPath: (path: string | number) => string;
1512
+ readonly invalidPath: (path: string) => string;
1513
1513
  readonly missingSrc: "Please specify the path to your javascript fields file or directory with the --src flag.";
1514
1514
  };
1515
1515
  };
1516
1516
  readonly secrets: {
1517
1517
  readonly add: {
1518
1518
  readonly loading: {
1519
- readonly add: (secretName: string | number) => string;
1520
- readonly fail: (secretName: string | number) => string;
1521
- readonly succeed: (secretName: string | number) => string;
1519
+ readonly add: (secretName: string) => string;
1520
+ readonly fail: (secretName: string) => string;
1521
+ readonly succeed: (secretName: string) => string;
1522
1522
  };
1523
1523
  readonly success: {
1524
- readonly configFileUpdated: (secretName: string | number, authType: string | number) => string;
1524
+ readonly configFileUpdated: (secretName: string, authType: string) => string;
1525
1525
  };
1526
1526
  readonly failure: {
1527
- readonly invalidUser: (secretName: string | number, parentAccountName: string | number) => string;
1527
+ readonly invalidUser: (secretName: string, parentAccountName: string) => string;
1528
1528
  readonly scopes: {
1529
1529
  readonly message: "The personal access key you provided doesn't include secrets permissions.";
1530
- readonly instructions: (secretName: string | number, url: string | number) => string;
1530
+ readonly instructions: (secretName: string, url: string) => string;
1531
1531
  };
1532
1532
  };
1533
1533
  };
1534
1534
  readonly delete: {
1535
1535
  readonly loading: {
1536
- readonly add: (secretName: string | number) => string;
1537
- readonly fail: (secretName: string | number) => string;
1538
- readonly succeed: (secretName: string | number) => string;
1536
+ readonly add: (secretName: string) => string;
1537
+ readonly fail: (secretName: string) => string;
1538
+ readonly succeed: (secretName: string) => string;
1539
1539
  };
1540
1540
  readonly success: {
1541
- readonly configFileUpdated: (secretName: string | number, authType: string | number) => string;
1541
+ readonly configFileUpdated: (secretName: string, authType: string) => string;
1542
1542
  };
1543
1543
  readonly failure: {
1544
- readonly invalidUser: (secretName: string | number, parentAccountName: string | number) => string;
1544
+ readonly invalidUser: (secretName: string, parentAccountName: string) => string;
1545
1545
  readonly scopes: {
1546
1546
  readonly message: "The personal access key you provided doesn't include secrets permissions.";
1547
- readonly instructions: (secretName: string | number, url: string | number) => string;
1547
+ readonly instructions: (secretName: string, url: string) => string;
1548
1548
  };
1549
1549
  };
1550
1550
  };
@@ -1555,13 +1555,13 @@ export declare const commands: {
1555
1555
  readonly succeed: () => string;
1556
1556
  };
1557
1557
  readonly success: {
1558
- readonly configFileUpdated: (authType: string | number) => string;
1558
+ readonly configFileUpdated: (authType: string) => string;
1559
1559
  };
1560
1560
  readonly failure: {
1561
- readonly invalidUser: (parentAccountName: string | number) => string;
1561
+ readonly invalidUser: (parentAccountName: string) => string;
1562
1562
  readonly scopes: {
1563
1563
  readonly message: "The personal access key you provided doesn't include secrets permissions.";
1564
- readonly instructions: (url: string | number) => string;
1564
+ readonly instructions: (url: string) => string;
1565
1565
  };
1566
1566
  };
1567
1567
  };
@@ -1569,35 +1569,35 @@ export declare const commands: {
1569
1569
  readonly serverless: {
1570
1570
  readonly add: {
1571
1571
  readonly loading: {
1572
- readonly add: (functionName: string | number) => string;
1573
- readonly fail: (functionName: string | number) => string;
1574
- readonly succeed: (functionName: string | number) => string;
1572
+ readonly add: (functionName: string) => string;
1573
+ readonly fail: (functionName: string) => string;
1574
+ readonly succeed: (functionName: string) => string;
1575
1575
  };
1576
1576
  readonly success: {
1577
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1577
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1578
1578
  };
1579
1579
  readonly failure: {
1580
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1580
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1581
1581
  readonly scopes: {
1582
1582
  readonly message: "The personal access key you provided doesn't include serverless function permissions.";
1583
- readonly instructions: (functionName: string | number, url: string | number) => string;
1583
+ readonly instructions: (functionName: string, url: string) => string;
1584
1584
  };
1585
1585
  };
1586
1586
  };
1587
1587
  readonly delete: {
1588
1588
  readonly loading: {
1589
- readonly add: (functionName: string | number) => string;
1590
- readonly fail: (functionName: string | number) => string;
1591
- readonly succeed: (functionName: string | number) => string;
1589
+ readonly add: (functionName: string) => string;
1590
+ readonly fail: (functionName: string) => string;
1591
+ readonly succeed: (functionName: string) => string;
1592
1592
  };
1593
1593
  readonly success: {
1594
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1594
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1595
1595
  };
1596
1596
  readonly failure: {
1597
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1597
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1598
1598
  readonly scopes: {
1599
1599
  readonly message: "The personal access key you provided doesn't include serverless function permissions.";
1600
- readonly instructions: (functionName: string | number, url: string | number) => string;
1600
+ readonly instructions: (functionName: string, url: string) => string;
1601
1601
  };
1602
1602
  };
1603
1603
  };
@@ -1608,13 +1608,13 @@ export declare const commands: {
1608
1608
  readonly succeed: () => string;
1609
1609
  };
1610
1610
  readonly success: {
1611
- readonly configFileUpdated: (authType: string | number) => string;
1611
+ readonly configFileUpdated: (authType: string) => string;
1612
1612
  };
1613
1613
  readonly failure: {
1614
- readonly invalidUser: (parentAccountName: string | number) => string;
1614
+ readonly invalidUser: (parentAccountName: string) => string;
1615
1615
  readonly scopes: {
1616
1616
  readonly message: "The personal access key you provided doesn't include serverless function permissions.";
1617
- readonly instructions: (url: string | number) => string;
1617
+ readonly instructions: (url: string) => string;
1618
1618
  };
1619
1619
  };
1620
1620
  };
@@ -1622,35 +1622,35 @@ export declare const commands: {
1622
1622
  readonly serverlessFunctionLogs: {
1623
1623
  readonly add: {
1624
1624
  readonly loading: {
1625
- readonly add: (functionName: string | number) => string;
1626
- readonly fail: (functionName: string | number) => string;
1627
- readonly succeed: (functionName: string | number) => string;
1625
+ readonly add: (functionName: string) => string;
1626
+ readonly fail: (functionName: string) => string;
1627
+ readonly succeed: (functionName: string) => string;
1628
1628
  };
1629
1629
  readonly success: {
1630
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1630
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1631
1631
  };
1632
1632
  readonly failure: {
1633
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1633
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1634
1634
  readonly scopes: {
1635
1635
  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;
1636
+ readonly instructions: (functionName: string, url: string) => string;
1637
1637
  };
1638
1638
  };
1639
1639
  };
1640
1640
  readonly delete: {
1641
1641
  readonly loading: {
1642
- readonly add: (functionName: string | number) => string;
1643
- readonly fail: (functionName: string | number) => string;
1644
- readonly succeed: (functionName: string | number) => string;
1642
+ readonly add: (functionName: string) => string;
1643
+ readonly fail: (functionName: string) => string;
1644
+ readonly succeed: (functionName: string) => string;
1645
1645
  };
1646
1646
  readonly success: {
1647
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1647
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1648
1648
  };
1649
1649
  readonly failure: {
1650
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1650
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1651
1651
  readonly scopes: {
1652
1652
  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;
1653
+ readonly instructions: (functionName: string, url: string) => string;
1654
1654
  };
1655
1655
  };
1656
1656
  };
@@ -1661,13 +1661,13 @@ export declare const commands: {
1661
1661
  readonly succeed: () => string;
1662
1662
  };
1663
1663
  readonly success: {
1664
- readonly configFileUpdated: (authType: string | number) => string;
1664
+ readonly configFileUpdated: (authType: string) => string;
1665
1665
  };
1666
1666
  readonly failure: {
1667
- readonly invalidUser: (parentAccountName: string | number) => string;
1667
+ readonly invalidUser: (parentAccountName: string) => string;
1668
1668
  readonly scopes: {
1669
1669
  readonly message: "The personal access key you provided doesn't include serverless function log permissions.";
1670
- readonly instructions: (url: string | number) => string;
1670
+ readonly instructions: (url: string) => string;
1671
1671
  };
1672
1672
  };
1673
1673
  };
@@ -1675,35 +1675,35 @@ export declare const commands: {
1675
1675
  readonly serverlessFunctionMetrics: {
1676
1676
  readonly add: {
1677
1677
  readonly loading: {
1678
- readonly add: (functionName: string | number) => string;
1679
- readonly fail: (functionName: string | number) => string;
1680
- readonly succeed: (functionName: string | number) => string;
1678
+ readonly add: (functionName: string) => string;
1679
+ readonly fail: (functionName: string) => string;
1680
+ readonly succeed: (functionName: string) => string;
1681
1681
  };
1682
1682
  readonly success: {
1683
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1683
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1684
1684
  };
1685
1685
  readonly failure: {
1686
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1686
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1687
1687
  readonly scopes: {
1688
1688
  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;
1689
+ readonly instructions: (functionName: string, url: string) => string;
1690
1690
  };
1691
1691
  };
1692
1692
  };
1693
1693
  readonly delete: {
1694
1694
  readonly loading: {
1695
- readonly add: (functionName: string | number) => string;
1696
- readonly fail: (functionName: string | number) => string;
1697
- readonly succeed: (functionName: string | number) => string;
1695
+ readonly add: (functionName: string) => string;
1696
+ readonly fail: (functionName: string) => string;
1697
+ readonly succeed: (functionName: string) => string;
1698
1698
  };
1699
1699
  readonly success: {
1700
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1700
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1701
1701
  };
1702
1702
  readonly failure: {
1703
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1703
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1704
1704
  readonly scopes: {
1705
1705
  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;
1706
+ readonly instructions: (functionName: string, url: string) => string;
1707
1707
  };
1708
1708
  };
1709
1709
  };
@@ -1714,13 +1714,13 @@ export declare const commands: {
1714
1714
  readonly succeed: () => string;
1715
1715
  };
1716
1716
  readonly success: {
1717
- readonly configFileUpdated: (authType: string | number) => string;
1717
+ readonly configFileUpdated: (authType: string) => string;
1718
1718
  };
1719
1719
  readonly failure: {
1720
- readonly invalidUser: (parentAccountName: string | number) => string;
1720
+ readonly invalidUser: (parentAccountName: string) => string;
1721
1721
  readonly scopes: {
1722
1722
  readonly message: "The personal access key you provided doesn't include serverless function metric permissions.";
1723
- readonly instructions: (url: string | number) => string;
1723
+ readonly instructions: (url: string) => string;
1724
1724
  };
1725
1725
  };
1726
1726
  };
@@ -1728,35 +1728,35 @@ export declare const commands: {
1728
1728
  readonly serverlessFunctionSettings: {
1729
1729
  readonly add: {
1730
1730
  readonly loading: {
1731
- readonly add: (functionName: string | number) => string;
1732
- readonly fail: (functionName: string | number) => string;
1733
- readonly succeed: (functionName: string | number) => string;
1731
+ readonly add: (functionName: string) => string;
1732
+ readonly fail: (functionName: string) => string;
1733
+ readonly succeed: (functionName: string) => string;
1734
1734
  };
1735
1735
  readonly success: {
1736
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1736
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1737
1737
  };
1738
1738
  readonly failure: {
1739
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1739
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1740
1740
  readonly scopes: {
1741
1741
  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;
1742
+ readonly instructions: (functionName: string, url: string) => string;
1743
1743
  };
1744
1744
  };
1745
1745
  };
1746
1746
  readonly delete: {
1747
1747
  readonly loading: {
1748
- readonly add: (functionName: string | number) => string;
1749
- readonly fail: (functionName: string | number) => string;
1750
- readonly succeed: (functionName: string | number) => string;
1748
+ readonly add: (functionName: string) => string;
1749
+ readonly fail: (functionName: string) => string;
1750
+ readonly succeed: (functionName: string) => string;
1751
1751
  };
1752
1752
  readonly success: {
1753
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1753
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1754
1754
  };
1755
1755
  readonly failure: {
1756
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1756
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1757
1757
  readonly scopes: {
1758
1758
  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;
1759
+ readonly instructions: (functionName: string, url: string) => string;
1760
1760
  };
1761
1761
  };
1762
1762
  };
@@ -1767,13 +1767,13 @@ export declare const commands: {
1767
1767
  readonly succeed: () => string;
1768
1768
  };
1769
1769
  readonly success: {
1770
- readonly configFileUpdated: (authType: string | number) => string;
1770
+ readonly configFileUpdated: (authType: string) => string;
1771
1771
  };
1772
1772
  readonly failure: {
1773
- readonly invalidUser: (parentAccountName: string | number) => string;
1773
+ readonly invalidUser: (parentAccountName: string) => string;
1774
1774
  readonly scopes: {
1775
1775
  readonly message: "The personal access key you provided doesn't include serverless function setting permissions.";
1776
- readonly instructions: (url: string | number) => string;
1776
+ readonly instructions: (url: string) => string;
1777
1777
  };
1778
1778
  };
1779
1779
  };
@@ -1781,35 +1781,35 @@ export declare const commands: {
1781
1781
  readonly serverlessFunctionVersions: {
1782
1782
  readonly add: {
1783
1783
  readonly loading: {
1784
- readonly add: (functionName: string | number) => string;
1785
- readonly fail: (functionName: string | number) => string;
1786
- readonly succeed: (functionName: string | number) => string;
1784
+ readonly add: (functionName: string) => string;
1785
+ readonly fail: (functionName: string) => string;
1786
+ readonly succeed: (functionName: string) => string;
1787
1787
  };
1788
1788
  readonly success: {
1789
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1789
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1790
1790
  };
1791
1791
  readonly failure: {
1792
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1792
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1793
1793
  readonly scopes: {
1794
1794
  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;
1795
+ readonly instructions: (functionName: string, url: string) => string;
1796
1796
  };
1797
1797
  };
1798
1798
  };
1799
1799
  readonly delete: {
1800
1800
  readonly loading: {
1801
- readonly add: (functionName: string | number) => string;
1802
- readonly fail: (functionName: string | number) => string;
1803
- readonly succeed: (functionName: string | number) => string;
1801
+ readonly add: (functionName: string) => string;
1802
+ readonly fail: (functionName: string) => string;
1803
+ readonly succeed: (functionName: string) => string;
1804
1804
  };
1805
1805
  readonly success: {
1806
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1806
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1807
1807
  };
1808
1808
  readonly failure: {
1809
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1809
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1810
1810
  readonly scopes: {
1811
1811
  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;
1812
+ readonly instructions: (functionName: string, url: string) => string;
1813
1813
  };
1814
1814
  };
1815
1815
  };
@@ -1820,13 +1820,13 @@ export declare const commands: {
1820
1820
  readonly succeed: () => string;
1821
1821
  };
1822
1822
  readonly success: {
1823
- readonly configFileUpdated: (authType: string | number) => string;
1823
+ readonly configFileUpdated: (authType: string) => string;
1824
1824
  };
1825
1825
  readonly failure: {
1826
- readonly invalidUser: (parentAccountName: string | number) => string;
1826
+ readonly invalidUser: (parentAccountName: string) => string;
1827
1827
  readonly scopes: {
1828
1828
  readonly message: "The personal access key you provided doesn't include serverless function version permissions.";
1829
- readonly instructions: (url: string | number) => string;
1829
+ readonly instructions: (url: string) => string;
1830
1830
  };
1831
1831
  };
1832
1832
  };
@@ -1834,35 +1834,35 @@ export declare const commands: {
1834
1834
  readonly serverlessFunctionWebhooks: {
1835
1835
  readonly add: {
1836
1836
  readonly loading: {
1837
- readonly add: (functionName: string | number) => string;
1838
- readonly fail: (functionName: string | number) => string;
1839
- readonly succeed: (functionName: string | number) => string;
1837
+ readonly add: (functionName: string) => string;
1838
+ readonly fail: (functionName: string) => string;
1839
+ readonly succeed: (functionName: string) => string;
1840
1840
  };
1841
1841
  readonly success: {
1842
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1842
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1843
1843
  };
1844
1844
  readonly failure: {
1845
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1845
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1846
1846
  readonly scopes: {
1847
1847
  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;
1848
+ readonly instructions: (functionName: string, url: string) => string;
1849
1849
  };
1850
1850
  };
1851
1851
  };
1852
1852
  readonly delete: {
1853
1853
  readonly loading: {
1854
- readonly add: (functionName: string | number) => string;
1855
- readonly fail: (functionName: string | number) => string;
1856
- readonly succeed: (functionName: string | number) => string;
1854
+ readonly add: (functionName: string) => string;
1855
+ readonly fail: (functionName: string) => string;
1856
+ readonly succeed: (functionName: string) => string;
1857
1857
  };
1858
1858
  readonly success: {
1859
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1859
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1860
1860
  };
1861
1861
  readonly failure: {
1862
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1862
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1863
1863
  readonly scopes: {
1864
1864
  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;
1865
+ readonly instructions: (functionName: string, url: string) => string;
1866
1866
  };
1867
1867
  };
1868
1868
  };
@@ -1873,13 +1873,13 @@ export declare const commands: {
1873
1873
  readonly succeed: () => string;
1874
1874
  };
1875
1875
  readonly success: {
1876
- readonly configFileUpdated: (authType: string | number) => string;
1876
+ readonly configFileUpdated: (authType: string) => string;
1877
1877
  };
1878
1878
  readonly failure: {
1879
- readonly invalidUser: (parentAccountName: string | number) => string;
1879
+ readonly invalidUser: (parentAccountName: string) => string;
1880
1880
  readonly scopes: {
1881
1881
  readonly message: "The personal access key you provided doesn't include serverless function webhook permissions.";
1882
- readonly instructions: (url: string | number) => string;
1882
+ readonly instructions: (url: string) => string;
1883
1883
  };
1884
1884
  };
1885
1885
  };
@@ -1887,35 +1887,35 @@ export declare const commands: {
1887
1887
  readonly serverlessFunctionWebhookSubscriptions: {
1888
1888
  readonly add: {
1889
1889
  readonly loading: {
1890
- readonly add: (functionName: string | number) => string;
1891
- readonly fail: (functionName: string | number) => string;
1892
- readonly succeed: (functionName: string | number) => string;
1890
+ readonly add: (functionName: string) => string;
1891
+ readonly fail: (functionName: string) => string;
1892
+ readonly succeed: (functionName: string) => string;
1893
1893
  };
1894
1894
  readonly success: {
1895
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1895
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1896
1896
  };
1897
1897
  readonly failure: {
1898
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1898
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1899
1899
  readonly scopes: {
1900
1900
  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;
1901
+ readonly instructions: (functionName: string, url: string) => string;
1902
1902
  };
1903
1903
  };
1904
1904
  };
1905
1905
  readonly delete: {
1906
1906
  readonly loading: {
1907
- readonly add: (functionName: string | number) => string;
1908
- readonly fail: (functionName: string | number) => string;
1909
- readonly succeed: (functionName: string | number) => string;
1907
+ readonly add: (functionName: string) => string;
1908
+ readonly fail: (functionName: string) => string;
1909
+ readonly succeed: (functionName: string) => string;
1910
1910
  };
1911
1911
  readonly success: {
1912
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1912
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1913
1913
  };
1914
1914
  readonly failure: {
1915
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1915
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1916
1916
  readonly scopes: {
1917
1917
  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;
1918
+ readonly instructions: (functionName: string, url: string) => string;
1919
1919
  };
1920
1920
  };
1921
1921
  };
@@ -1926,13 +1926,13 @@ export declare const commands: {
1926
1926
  readonly succeed: () => string;
1927
1927
  };
1928
1928
  readonly success: {
1929
- readonly configFileUpdated: (authType: string | number) => string;
1929
+ readonly configFileUpdated: (authType: string) => string;
1930
1930
  };
1931
1931
  readonly failure: {
1932
- readonly invalidUser: (parentAccountName: string | number) => string;
1932
+ readonly invalidUser: (parentAccountName: string) => string;
1933
1933
  readonly scopes: {
1934
1934
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription permissions.";
1935
- readonly instructions: (url: string | number) => string;
1935
+ readonly instructions: (url: string) => string;
1936
1936
  };
1937
1937
  };
1938
1938
  };
@@ -1940,35 +1940,35 @@ export declare const commands: {
1940
1940
  readonly serverlessFunctionWebhookSubscriptionEvents: {
1941
1941
  readonly add: {
1942
1942
  readonly loading: {
1943
- readonly add: (functionName: string | number) => string;
1944
- readonly fail: (functionName: string | number) => string;
1945
- readonly succeed: (functionName: string | number) => string;
1943
+ readonly add: (functionName: string) => string;
1944
+ readonly fail: (functionName: string) => string;
1945
+ readonly succeed: (functionName: string) => string;
1946
1946
  };
1947
1947
  readonly success: {
1948
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1948
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1949
1949
  };
1950
1950
  readonly failure: {
1951
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1951
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1952
1952
  readonly scopes: {
1953
1953
  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;
1954
+ readonly instructions: (functionName: string, url: string) => string;
1955
1955
  };
1956
1956
  };
1957
1957
  };
1958
1958
  readonly delete: {
1959
1959
  readonly loading: {
1960
- readonly add: (functionName: string | number) => string;
1961
- readonly fail: (functionName: string | number) => string;
1962
- readonly succeed: (functionName: string | number) => string;
1960
+ readonly add: (functionName: string) => string;
1961
+ readonly fail: (functionName: string) => string;
1962
+ readonly succeed: (functionName: string) => string;
1963
1963
  };
1964
1964
  readonly success: {
1965
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
1965
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
1966
1966
  };
1967
1967
  readonly failure: {
1968
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
1968
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
1969
1969
  readonly scopes: {
1970
1970
  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;
1971
+ readonly instructions: (functionName: string, url: string) => string;
1972
1972
  };
1973
1973
  };
1974
1974
  };
@@ -1979,13 +1979,13 @@ export declare const commands: {
1979
1979
  readonly succeed: () => string;
1980
1980
  };
1981
1981
  readonly success: {
1982
- readonly configFileUpdated: (authType: string | number) => string;
1982
+ readonly configFileUpdated: (authType: string) => string;
1983
1983
  };
1984
1984
  readonly failure: {
1985
- readonly invalidUser: (parentAccountName: string | number) => string;
1985
+ readonly invalidUser: (parentAccountName: string) => string;
1986
1986
  readonly scopes: {
1987
1987
  readonly message: "The personal access key you provided doesn't include serverless function webhook subscription event permissions.";
1988
- readonly instructions: (url: string | number) => string;
1988
+ readonly instructions: (url: string) => string;
1989
1989
  };
1990
1990
  };
1991
1991
  };
@@ -1993,35 +1993,35 @@ export declare const commands: {
1993
1993
  readonly serverlessFunctionWebhookSubscriptionEventTypes: {
1994
1994
  readonly add: {
1995
1995
  readonly loading: {
1996
- readonly add: (functionName: string | number) => string;
1997
- readonly fail: (functionName: string | number) => string;
1998
- readonly succeed: (functionName: string | number) => string;
1996
+ readonly add: (functionName: string) => string;
1997
+ readonly fail: (functionName: string) => string;
1998
+ readonly succeed: (functionName: string) => string;
1999
1999
  };
2000
2000
  readonly success: {
2001
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2001
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2002
2002
  };
2003
2003
  readonly failure: {
2004
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2004
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2005
2005
  readonly scopes: {
2006
2006
  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;
2007
+ readonly instructions: (functionName: string, url: string) => string;
2008
2008
  };
2009
2009
  };
2010
2010
  };
2011
2011
  readonly delete: {
2012
2012
  readonly loading: {
2013
- readonly add: (functionName: string | number) => string;
2014
- readonly fail: (functionName: string | number) => string;
2015
- readonly succeed: (functionName: string | number) => string;
2013
+ readonly add: (functionName: string) => string;
2014
+ readonly fail: (functionName: string) => string;
2015
+ readonly succeed: (functionName: string) => string;
2016
2016
  };
2017
2017
  readonly success: {
2018
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2018
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2019
2019
  };
2020
2020
  readonly failure: {
2021
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2021
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2022
2022
  readonly scopes: {
2023
2023
  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;
2024
+ readonly instructions: (functionName: string, url: string) => string;
2025
2025
  };
2026
2026
  };
2027
2027
  };
@@ -2032,13 +2032,13 @@ export declare const commands: {
2032
2032
  readonly succeed: () => string;
2033
2033
  };
2034
2034
  readonly success: {
2035
- readonly configFileUpdated: (authType: string | number) => string;
2035
+ readonly configFileUpdated: (authType: string) => string;
2036
2036
  };
2037
2037
  readonly failure: {
2038
- readonly invalidUser: (parentAccountName: string | number) => string;
2038
+ readonly invalidUser: (parentAccountName: string) => string;
2039
2039
  readonly scopes: {
2040
2040
  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;
2041
+ readonly instructions: (url: string) => string;
2042
2042
  };
2043
2043
  };
2044
2044
  };
@@ -2046,35 +2046,35 @@ export declare const commands: {
2046
2046
  readonly serverlessFunctionWebhookSubscriptionEventTypeOptions: {
2047
2047
  readonly add: {
2048
2048
  readonly loading: {
2049
- readonly add: (functionName: string | number) => string;
2050
- readonly fail: (functionName: string | number) => string;
2051
- readonly succeed: (functionName: string | number) => string;
2049
+ readonly add: (functionName: string) => string;
2050
+ readonly fail: (functionName: string) => string;
2051
+ readonly succeed: (functionName: string) => string;
2052
2052
  };
2053
2053
  readonly success: {
2054
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2054
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2055
2055
  };
2056
2056
  readonly failure: {
2057
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2057
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2058
2058
  readonly scopes: {
2059
2059
  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;
2060
+ readonly instructions: (functionName: string, url: string) => string;
2061
2061
  };
2062
2062
  };
2063
2063
  };
2064
2064
  readonly delete: {
2065
2065
  readonly loading: {
2066
- readonly add: (functionName: string | number) => string;
2067
- readonly fail: (functionName: string | number) => string;
2068
- readonly succeed: (functionName: string | number) => string;
2066
+ readonly add: (functionName: string) => string;
2067
+ readonly fail: (functionName: string) => string;
2068
+ readonly succeed: (functionName: string) => string;
2069
2069
  };
2070
2070
  readonly success: {
2071
- readonly configFileUpdated: (functionName: string | number, authType: string | number) => string;
2071
+ readonly configFileUpdated: (functionName: string, authType: string) => string;
2072
2072
  };
2073
2073
  readonly failure: {
2074
- readonly invalidUser: (functionName: string | number, parentAccountName: string | number) => string;
2074
+ readonly invalidUser: (functionName: string, parentAccountName: string) => string;
2075
2075
  readonly scopes: {
2076
2076
  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;
2077
+ readonly instructions: (functionName: string, url: string) => string;
2078
2078
  };
2079
2079
  };
2080
2080
  };
@@ -2085,13 +2085,13 @@ export declare const commands: {
2085
2085
  readonly succeed: () => string;
2086
2086
  };
2087
2087
  readonly success: {
2088
- readonly configFileUpdated: (authType: string | number) => string;
2088
+ readonly configFileUpdated: (authType: string) => string;
2089
2089
  };
2090
2090
  readonly failure: {
2091
- readonly invalidUser: (parentAccountName: string | number) => string;
2091
+ readonly invalidUser: (parentAccountName: string) => string;
2092
2092
  readonly scopes: {
2093
2093
  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;
2094
+ readonly instructions: (url: string) => string;
2095
2095
  };
2096
2096
  };
2097
2097
  };
@@ -2099,22 +2099,22 @@ export declare const commands: {
2099
2099
  };
2100
2100
  export declare const lib: {
2101
2101
  readonly process: {
2102
- readonly exitDebug: (signal: string | number) => string;
2102
+ readonly exitDebug: (signal: string) => string;
2103
2103
  };
2104
2104
  readonly DevServerManager: {
2105
- readonly portConflict: (port: string | number) => string;
2105
+ readonly portConflict: (port: string) => string;
2106
2106
  readonly notInitialized: "The Dev Server Manager must be initialized before it is started.";
2107
- readonly noCompatibleComponents: (serverKey: string | number) => string;
2107
+ readonly noCompatibleComponents: (serverKey: string) => string;
2108
2108
  };
2109
2109
  readonly LocalDevManager: {
2110
2110
  readonly failedToInitialize: "Missing required arguments to initialize Local Dev";
2111
- readonly noDeployedBuild: (projectName: string | number, accountIdentifier: string | number, uploadCommand: string | number) => string;
2111
+ readonly noDeployedBuild: (projectName: string, accountIdentifier: string, uploadCommand: string) => string;
2112
2112
  readonly noComponents: "There are no components in this project.";
2113
2113
  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;
2114
+ readonly learnMoreLocalDevServer: string;
2115
+ readonly running: (projectName: string, accountIdentifier: string) => string;
2116
2116
  readonly quitHelper: `Press ${string} to stop the local dev server`;
2117
- readonly viewProjectLink: "View project in HubSpot";
2117
+ readonly viewProjectLink: (name: string, accountId: number) => string;
2118
2118
  readonly viewTestAccountLink: "View developer test account in HubSpot";
2119
2119
  readonly exitingStart: "Stopping local dev server ...";
2120
2120
  readonly exitingSucceed: "Successfully exited";
@@ -2123,29 +2123,51 @@ export declare const lib: {
2123
2123
  readonly uploadWarning: {
2124
2124
  readonly appLabel: "[App]";
2125
2125
  readonly uiExtensionLabel: "[UI Extension]";
2126
- readonly missingComponents: (missingComponents: string | number) => string;
2126
+ readonly missingComponents: (missingComponents: string) => string;
2127
2127
  readonly defaultWarning: string;
2128
- readonly defaultPublicAppWarning: (installCount: string | number, installText: string | number) => string;
2129
- readonly header: (warning: string | number) => string;
2128
+ readonly defaultPublicAppWarning: (installCount: number, installText: string) => string;
2129
+ readonly header: (warning: string) => string;
2130
+ readonly instructionsHeader: "To reflect these changes and continue testing:";
2130
2131
  readonly stopDev: ` * Stop ${string}`;
2131
- readonly runUpload: (command: string | number) => string;
2132
+ readonly runUpload: (command: string) => string;
2132
2133
  readonly restartDev: ` * Re-run ${string}`;
2133
2134
  readonly pushToGithub: " * Commit and push your changes to GitHub";
2134
- readonly defaultMarketplaceAppWarning: (installCount: string | number, accountText: string | number) => string;
2135
+ readonly defaultMarketplaceAppWarning: (installCount: number, accountText: string) => string;
2135
2136
  };
2136
2137
  readonly activeInstallWarning: {
2137
- readonly installCount: (appName: string | number, installCount: string | number, installText: string | number) => string;
2138
+ readonly installCount: (appName: string, installCount: number) => string;
2138
2139
  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
2140
  readonly confirmation: "You will always be asked to confirm any permanent changes to your app's configuration before uploading them.";
2140
2141
  readonly confirmationPrompt: `Proceed with local development of this ${string} app?`;
2141
2142
  };
2142
2143
  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;
2144
+ readonly cleanupError: (message: string) => string;
2145
+ readonly setupError: (message: string) => string;
2146
+ readonly startError: (message: string) => string;
2147
+ readonly fileChangeError: (message: string) => string;
2147
2148
  };
2148
2149
  };
2150
+ readonly AppDevModeInterface: {
2151
+ readonly defaultMarketplaceAppWarning: (installCount: number) => string;
2152
+ };
2153
+ readonly LocalDevWebsocketServer: {
2154
+ readonly errors: {
2155
+ readonly notInitialized: (prefix: string) => string;
2156
+ readonly missingTypeField: (data: string) => string;
2157
+ readonly unknownMessageType: (type: string) => string;
2158
+ readonly invalidJSON: (data: string) => string;
2159
+ readonly portManagerNotRunning: (prefix: string) => string;
2160
+ };
2161
+ readonly logs: {
2162
+ readonly startup: (port: number) => string;
2163
+ };
2164
+ };
2165
+ readonly LocalDevProcess: {
2166
+ readonly projectConfigMismatch: `Unable to upload project. The project config has been modified since starting ${string}.`;
2167
+ readonly uploadInitiated: "Project upload initiated from Local Dev UI.";
2168
+ readonly uploadFailed: "Project upload failed. To proceed with local development, fix any necessary errors, then re-upload your project.";
2169
+ readonly uploadSuccess: "Project upload completed successfully. Resuming local dev...";
2170
+ };
2149
2171
  readonly localDevHelpers: {
2150
2172
  readonly confirmDefaultAccountIsTarget: {
2151
2173
  readonly configError: `An error occurred while reading the default account from your config. Run ${string} to re-auth this account`;
@@ -2162,12 +2184,12 @@ export declare const lib: {
2162
2184
  readonly publicAppNonDeveloperTestAccountWarning: `Local development of public apps is only supported in ${string}.`;
2163
2185
  };
2164
2186
  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;
2187
+ readonly projectMustExistExplanation: (projectName: string, accountIdentifier: string) => string;
2188
+ readonly publicAppProjectMustExistExplanation: (projectName: string, accountIdentifier: string) => string;
2189
+ readonly createProject: (projectName: string, accountIdentifier: string) => string;
2168
2190
  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;
2191
+ readonly creatingProject: (projectName: string, accountIdentifier: string) => string;
2192
+ readonly createdProject: (projectName: string, accountIdentifier: string) => string;
2171
2193
  readonly failedToCreateProject: "Failed to create project in the target account.";
2172
2194
  };
2173
2195
  readonly createInitialBuildForNewProject: {
@@ -2176,7 +2198,7 @@ export declare const lib: {
2176
2198
  readonly genericError: `An error occurred while creating the initial build for this project. Run ${string} to try again.`;
2177
2199
  };
2178
2200
  readonly checkIfParentAccountIsAuthed: {
2179
- readonly notAuthedError: (parentAccountId: string | number, accountIdentifier: string | number) => string;
2201
+ readonly notAuthedError: (parentAccountId: number | string, accountIdentifier: string) => string;
2180
2202
  };
2181
2203
  };
2182
2204
  readonly projects: {
@@ -2190,20 +2212,20 @@ export declare const lib: {
2190
2212
  readonly validateProjectConfig: {
2191
2213
  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
2214
  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;
2215
+ readonly srcDirNotFound: (srcDir: string, projectDir: string) => string;
2216
+ readonly srcOutsideProjectDir: (projectConfig: string, srcDir: string) => string;
2195
2217
  };
2196
2218
  readonly getProjectConfig: {
2197
2219
  readonly error: "Could not read from project config";
2198
2220
  };
2199
2221
  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;
2222
+ readonly createPrompt: (projectName: string, accountIdentifier: string) => string;
2223
+ readonly createPromptUpload: (projectName: string, accountIdentifier: string) => string;
2224
+ readonly createSuccess: (projectName: string, accountIdentifier: string) => string;
2225
+ readonly notFound: (projectName: string, accountIdentifier: string) => string;
2204
2226
  };
2205
2227
  readonly pollFetchProject: {
2206
- readonly checkingProject: (accountIdentifier: string | number) => string;
2228
+ readonly checkingProject: (accountIdentifier: string) => string;
2207
2229
  };
2208
2230
  readonly logFeedbackMessage: {
2209
2231
  readonly feedbackHeader: "We'd love to hear your feedback!";
@@ -2216,31 +2238,31 @@ export declare const lib: {
2216
2238
  readonly makePollTaskStatusFunc: {
2217
2239
  readonly errorSummary: "See below for a summary of errors.";
2218
2240
  readonly componentCountSingular: "Found 1 component in this project\n";
2219
- readonly componentCount: (numComponents: string | number) => string;
2241
+ readonly componentCount: (numComponents: number) => string;
2220
2242
  readonly successStatusText: "DONE";
2221
2243
  readonly failedStatusText: "FAILED";
2222
- readonly errorFetchingTaskStatus: (taskType: string | number) => string;
2244
+ readonly errorFetchingTaskStatus: (taskType: string) => string;
2223
2245
  };
2224
- readonly pollBuildAutodeployStatusError: (buildId: string | number) => string;
2246
+ readonly pollBuildAutodeployStatusError: (buildId: number) => string;
2225
2247
  readonly pollProjectBuildAndDeploy: {
2226
- readonly buildSucceededAutomaticallyDeploying: (buildId: string | number, accountIdentifier: string | number) => string;
2227
- readonly cleanedUpTempFile: (path: string | number) => string;
2248
+ readonly buildSucceededAutomaticallyDeploying: (buildId: number, accountIdentifier: string) => string;
2249
+ readonly cleanedUpTempFile: (path: string) => string;
2228
2250
  readonly viewDeploys: "View all deploys for this project in HubSpot";
2229
- readonly unableToFindAutodeployStatus: (buildId: string | number, viewDeploysLink: string | number) => string;
2251
+ readonly unableToFindAutodeployStatus: (buildId: number, viewDeploysLink: string) => string;
2230
2252
  };
2231
2253
  };
2232
2254
  readonly projectUpload: {
2233
2255
  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;
2256
+ readonly add: (projectName: string, accountIdentifier: string) => string;
2257
+ readonly fail: (projectName: string, accountIdentifier: string) => string;
2258
+ readonly succeed: (projectName: string, accountIdentifier: string) => string;
2259
+ readonly buildCreated: (projectName: string, buildId: number) => string;
2238
2260
  };
2239
2261
  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;
2262
+ readonly emptySource: (srcDir: string) => string;
2263
+ readonly compressed: (byteCount: number) => string;
2264
+ readonly compressing: (path: string) => string;
2265
+ readonly fileFiltered: (filename: string) => string;
2244
2266
  };
2245
2267
  };
2246
2268
  readonly boxen: {
@@ -2255,81 +2277,81 @@ export declare const lib: {
2255
2277
  readonly infoTag: string;
2256
2278
  readonly deprecatedTag: string;
2257
2279
  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;
2280
+ readonly deprecatedMessage: (command: string, url: string) => string;
2281
+ readonly deprecatedDescription: (message: string, command: string, url: string) => string;
2260
2282
  readonly deprecatedUrlText: "Learn more.";
2261
- readonly disabledMessage: (command: string | number, npmCommand: string | number, url: string | number) => string;
2283
+ readonly disabledMessage: (command: string, npmCommand: string, url: string) => string;
2262
2284
  readonly disabledUrlText: "See all HubSpot CLI commands here.";
2263
2285
  readonly featureHighlight: {
2264
2286
  readonly defaultTitle: "What's next?";
2265
2287
  readonly featureKeys: {
2266
2288
  readonly accountOption: {
2267
2289
  readonly command: "--account";
2268
- readonly message: (command: string | number) => string;
2290
+ readonly message: (command: string) => string;
2269
2291
  };
2270
2292
  readonly accountsListCommand: {
2271
2293
  readonly command: "hs accounts list";
2272
- readonly message: (command: string | number) => string;
2294
+ readonly message: (command: string) => string;
2273
2295
  };
2274
2296
  readonly accountsUseCommand: {
2275
2297
  readonly command: "hs accounts use";
2276
- readonly message: (command: string | number) => string;
2298
+ readonly message: (command: string) => string;
2277
2299
  };
2278
2300
  readonly authCommand: {
2279
2301
  readonly command: "hs auth";
2280
- readonly message: (command: string | number) => string;
2302
+ readonly message: (command: string) => string;
2281
2303
  };
2282
2304
  readonly feedbackCommand: {
2283
2305
  readonly command: "hs feedback";
2284
- readonly message: (command: string | number) => string;
2306
+ readonly message: (command: string) => string;
2285
2307
  };
2286
2308
  readonly helpCommand: {
2287
2309
  readonly command: "hs help";
2288
- readonly message: (command: string | number) => string;
2310
+ readonly message: (command: string) => string;
2289
2311
  };
2290
2312
  readonly projectCreateCommand: {
2291
2313
  readonly command: "hs project create";
2292
- readonly message: (command: string | number) => string;
2314
+ readonly message: (command: string) => string;
2293
2315
  };
2294
2316
  readonly projectDeployCommand: {
2295
2317
  readonly command: "hs project deploy";
2296
- readonly message: (command: string | number) => string;
2318
+ readonly message: (command: string) => string;
2297
2319
  };
2298
2320
  readonly projectHelpCommand: {
2299
2321
  readonly command: "hs project --help";
2300
- readonly message: (command: string | number) => string;
2322
+ readonly message: (command: string) => string;
2301
2323
  };
2302
2324
  readonly projectUploadCommand: {
2303
2325
  readonly command: "hs project upload";
2304
- readonly message: (command: string | number) => string;
2326
+ readonly message: (command: string) => string;
2305
2327
  };
2306
2328
  readonly projectDevCommand: {
2307
2329
  readonly command: "hs project dev";
2308
- readonly message: (command: string | number) => string;
2330
+ readonly message: (command: string) => string;
2309
2331
  };
2310
2332
  readonly projectInstallDepsCommand: {
2311
2333
  readonly command: "hs project install-deps";
2312
- readonly message: (command: string | number) => string;
2334
+ readonly message: (command: string) => string;
2313
2335
  };
2314
2336
  readonly sampleProjects: {
2315
2337
  readonly linkText: "HubSpot's sample projects";
2316
2338
  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;
2339
+ readonly message: (link: string) => string;
2318
2340
  };
2319
2341
  };
2320
2342
  };
2321
2343
  readonly git: {
2322
2344
  readonly securityIssue: "Security Issue Detected";
2323
2345
  readonly configFileTracked: "The HubSpot config file can be tracked by git.";
2324
- readonly fileName: (configPath: string | number) => string;
2346
+ readonly fileName: (configPath: string) => string;
2325
2347
  readonly remediate: "To remediate:";
2326
- readonly moveConfig: (homeDir: string | number) => string;
2327
- readonly addGitignore: (configPath: string | number) => string;
2348
+ readonly moveConfig: (homeDir: string) => string;
2349
+ readonly addGitignore: (configPath: string) => string;
2328
2350
  readonly noRemote: "- Ensure that the config file has not already been pushed to a remote repository.";
2329
2351
  readonly checkFailed: "Unable to determine if config file is properly ignored by git.";
2330
2352
  };
2331
2353
  readonly serverlessFunctionLogs: {
2332
- readonly unableToProcessLog: (log: string | number) => string;
2354
+ readonly unableToProcessLog: (log: string) => string;
2333
2355
  readonly noLogsFound: "No logs found.";
2334
2356
  };
2335
2357
  };
@@ -2346,9 +2368,9 @@ export declare const lib: {
2346
2368
  };
2347
2369
  readonly modes: {
2348
2370
  readonly describe: {
2349
- readonly default: (modes: string | number) => string;
2350
- readonly read: (modes: string | number) => string;
2351
- readonly write: (modes: string | number) => string;
2371
+ readonly default: (modes: string) => string;
2372
+ readonly read: (modes: string) => string;
2373
+ readonly write: (modes: string) => string;
2352
2374
  };
2353
2375
  };
2354
2376
  readonly qa: {
@@ -2367,34 +2389,34 @@ export declare const lib: {
2367
2389
  readonly createNewSandboxOption: "<Test on a new development sandbox>";
2368
2390
  readonly createNewDeveloperTestAccountOption: "<Test on a new developer test account>";
2369
2391
  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;
2392
+ readonly promptMessage: (accountType: string, accountIdentifier: string) => string;
2393
+ readonly sandboxLimit: (limit: string) => string;
2394
+ readonly sandboxLimitWithSuggestion: (limit: string, authCommand: string) => string;
2395
+ readonly developerTestAccountLimit: (limit: string) => string;
2396
+ readonly confirmDefaultAccount: (accountName: string, accountType: string) => string;
2397
+ readonly confirmUseExistingDeveloperTestAccount: (accountName: string) => string;
2376
2398
  readonly noAccountId: "No account ID found for the selected account. Please try again.";
2377
2399
  };
2378
2400
  readonly projectLogsPrompt: {
2379
- readonly functionName: (projectName: string | number) => string;
2401
+ readonly functionName: (projectName: string) => string;
2380
2402
  };
2381
2403
  readonly setAsDefaultAccountPrompt: {
2382
2404
  readonly setAsDefaultAccountMessage: "Set this account as the default?";
2383
- readonly setAsDefaultAccount: (accountName: string | number) => string;
2384
- readonly keepingCurrentDefault: (accountName: string | number) => string;
2405
+ readonly setAsDefaultAccount: (accountName: string) => string;
2406
+ readonly keepingCurrentDefault: (accountName: string) => string;
2385
2407
  };
2386
2408
  readonly accountNamePrompt: {
2387
2409
  readonly enterAccountName: "Enter a unique name to reference this account in the CLI:";
2388
2410
  readonly enterDeveloperTestAccountName: "Name your developer test account:";
2389
2411
  readonly enterStandardSandboxName: "Name your standard sandbox:";
2390
2412
  readonly enterDevelopmentSandboxName: "Name your development sandbox:";
2391
- readonly sandboxDefaultName: (sandboxType: string | number) => string;
2392
- readonly developerTestAccountDefaultName: (count: string | number) => string;
2413
+ readonly sandboxDefaultName: (sandboxType: string) => string;
2414
+ readonly developerTestAccountDefaultName: (count: string) => string;
2393
2415
  readonly errors: {
2394
2416
  readonly invalidName: "You entered an invalid name. Please try again.";
2395
2417
  readonly nameRequired: "The name may not be blank. Please try again.";
2396
2418
  readonly spacesInName: "The name may not contain spaces. Please try again.";
2397
- readonly accountNameExists: (name: string | number) => string;
2419
+ readonly accountNameExists: (name: string) => string;
2398
2420
  };
2399
2421
  };
2400
2422
  readonly personalAccessKeyPrompt: {
@@ -2407,7 +2429,7 @@ export declare const lib: {
2407
2429
  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
2430
  readonly personalAccessKeyBrowserOpenPrompt: "Open HubSpot to copy your personal access key?";
2409
2431
  readonly logs: {
2410
- readonly openingWebBrowser: (url: string | number) => string;
2432
+ readonly openingWebBrowser: (url: string) => string;
2411
2433
  };
2412
2434
  readonly errors: {
2413
2435
  readonly invalidAccountId: "You did not enter a valid account ID. Please try again.";
@@ -2463,19 +2485,19 @@ export declare const lib: {
2463
2485
  readonly destRequired: "A project dest is required";
2464
2486
  readonly invalidDest: "There is an existing project at this destination. Please provide a new path for this project.";
2465
2487
  readonly invalidCharacters: "The selected destination contains invalid characters. Please provide a new path and try again.";
2466
- readonly invalidTemplate: (template: string | number) => string;
2488
+ readonly invalidTemplate: (template: string) => string;
2467
2489
  readonly projectTemplateRequired: "Project template is required when projectTemplates is provided";
2468
2490
  };
2469
2491
  };
2470
2492
  readonly selectPublicAppPrompt: {
2471
- readonly selectAppIdMigrate: (accountName: string | number) => string;
2472
- readonly selectAppIdClone: (accountName: string | number) => string;
2493
+ readonly selectAppIdMigrate: (accountName: string) => string;
2494
+ readonly selectAppIdClone: (accountName: string) => string;
2473
2495
  readonly errors: {
2474
2496
  readonly noAccountId: "An account ID is required to select an app.";
2475
2497
  readonly noAppsMigration: () => string;
2476
2498
  readonly noAppsClone: () => string;
2477
- readonly noAppsMigrationMessage: (accountName: string | number) => string;
2478
- readonly noAppsCloneMessage: (accountName: string | number) => string;
2499
+ readonly noAppsMigrationMessage: (accountName: string) => string;
2500
+ readonly noAppsCloneMessage: (accountName: string) => string;
2479
2501
  readonly errorFetchingApps: "There was an error fetching public apps.";
2480
2502
  readonly cannotBeMigrated: "Cannot be migrated";
2481
2503
  };
@@ -2483,7 +2505,7 @@ export declare const lib: {
2483
2505
  readonly downloadProjectPrompt: {
2484
2506
  readonly selectProject: "Select a project to download:";
2485
2507
  readonly errors: {
2486
- readonly projectNotFound: (projectName: string | number, accountId: string | number) => string;
2508
+ readonly projectNotFound: (projectName: string, accountId: string) => string;
2487
2509
  readonly accountIdRequired: "An account ID is required to download a project.";
2488
2510
  };
2489
2511
  };
@@ -2492,7 +2514,7 @@ export declare const lib: {
2492
2514
  readonly enterName: "[--name] Give your component a name: ";
2493
2515
  readonly errors: {
2494
2516
  readonly nameRequired: "A component name is required";
2495
- readonly invalidType: (type: string | number) => string;
2517
+ readonly invalidType: (type: string) => string;
2496
2518
  };
2497
2519
  };
2498
2520
  readonly secretPrompt: {
@@ -2520,13 +2542,13 @@ export declare const lib: {
2520
2542
  readonly srcRequired: "You must specify a source directory.";
2521
2543
  readonly destRequired: "You must specify a destination directory.";
2522
2544
  };
2523
- readonly fieldsPrompt: (dir: string | number) => string;
2545
+ readonly fieldsPrompt: (dir: string) => string;
2524
2546
  };
2525
2547
  readonly projectNamePrompt: {
2526
2548
  readonly enterName: "[--project] Enter project name:";
2527
2549
  readonly errors: {
2528
2550
  readonly invalidName: "You entered an invalid name. Please try again.";
2529
- readonly projectDoesNotExist: (projectName: string | number, accountIdentifier: string | number) => string;
2551
+ readonly projectDoesNotExist: (projectName: string, accountIdentifier: string) => string;
2530
2552
  };
2531
2553
  };
2532
2554
  readonly previewPrompt: {
@@ -2549,8 +2571,8 @@ export declare const lib: {
2549
2571
  readonly selectTable: "Select a HubDB table:";
2550
2572
  readonly enterDest: "Enter the destination path:";
2551
2573
  readonly errors: {
2552
- readonly noTables: (accountId: string | number) => string;
2553
- readonly errorFetchingTables: (accountId: string | number) => string;
2574
+ readonly noTables: (accountId: string) => string;
2575
+ readonly errorFetchingTables: (accountId: string) => string;
2554
2576
  readonly destRequired: "A destination is required";
2555
2577
  readonly invalidDest: "The selected destination already exists. Please provide a new path.";
2556
2578
  readonly invalidCharacters: "The selected destination contains invalid characters. Please provide a new path and try again.";
@@ -2572,20 +2594,20 @@ export declare const lib: {
2572
2594
  readonly developerTestAccount: {
2573
2595
  readonly create: {
2574
2596
  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;
2597
+ readonly add: (accountName: string) => string;
2598
+ readonly fail: (accountName: string) => string;
2599
+ readonly succeed: (accountName: string, accountId: string) => string;
2578
2600
  };
2579
2601
  readonly success: {
2580
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
2602
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2581
2603
  };
2582
2604
  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;
2605
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
2606
+ readonly limit: (accountName: string, limit: string) => string;
2607
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
2586
2608
  readonly scopes: {
2587
2609
  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;
2610
+ readonly instructions: (accountName: string | number, url: string) => string;
2589
2611
  };
2590
2612
  };
2591
2613
  };
@@ -2594,85 +2616,85 @@ export declare const lib: {
2594
2616
  readonly create: {
2595
2617
  readonly developer: {
2596
2618
  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;
2619
+ readonly add: (accountName: string) => string;
2620
+ readonly fail: (accountName: string) => string;
2621
+ readonly succeed: (accountName: string, accountId: string) => string;
2600
2622
  };
2601
2623
  readonly success: {
2602
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
2624
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2603
2625
  };
2604
2626
  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;
2627
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
2628
+ readonly limit: (accountName: string, limit: string) => string;
2629
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
2608
2630
  readonly scopes: {
2609
2631
  readonly message: "The personal access key you provided doesn't include developer sandbox permissions.";
2610
- readonly instructions: (accountName: string | number, url: string | number) => string;
2632
+ readonly instructions: (accountName: string | number, url: string) => string;
2611
2633
  };
2612
2634
  readonly generic: "An error occurred while creating a developer sandbox";
2613
2635
  };
2614
2636
  };
2615
2637
  readonly standard: {
2616
2638
  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;
2639
+ readonly add: (accountName: string) => string;
2640
+ readonly fail: (accountName: string) => string;
2641
+ readonly succeed: (accountName: string, accountId: string) => string;
2620
2642
  };
2621
2643
  readonly success: {
2622
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
2644
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2623
2645
  };
2624
2646
  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;
2647
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
2648
+ readonly limit: (accountName: string, limit: string) => string;
2649
+ readonly alreadyInConfig: (accountName: string, limit: string) => string;
2628
2650
  readonly scopes: {
2629
2651
  readonly message: "The personal access key you provided doesn't include standard sandbox permissions.";
2630
- readonly instructions: (accountName: string | number, url: string | number) => string;
2652
+ readonly instructions: (accountName: string, url: string) => string;
2631
2653
  };
2632
2654
  };
2633
2655
  };
2634
2656
  };
2635
2657
  readonly sync: {
2636
2658
  readonly loading: {
2637
- readonly add: (accountName: string | number) => string;
2638
- readonly fail: (accountName: string | number) => string;
2639
- readonly succeed: (accountName: string | number) => string;
2659
+ readonly add: (accountName: string) => string;
2660
+ readonly fail: (accountName: string) => string;
2661
+ readonly succeed: (accountName: string) => string;
2640
2662
  };
2641
2663
  readonly success: {
2642
- readonly configFileUpdated: (accountName: string | number, authType: string | number) => string;
2664
+ readonly configFileUpdated: (accountName: string, authType: string) => string;
2643
2665
  };
2644
2666
  readonly failure: {
2645
- readonly invalidUser: (accountName: string | number, parentAccountName: string | number) => string;
2667
+ readonly invalidUser: (accountName: string, parentAccountName: string) => string;
2646
2668
  readonly scopes: {
2647
2669
  readonly message: "The personal access key you provided doesn't include sandbox sync permissions.";
2648
- readonly instructions: (accountName: string | number, url: string | number) => string;
2670
+ readonly instructions: (accountName: string, url: string) => string;
2649
2671
  };
2650
2672
  };
2651
2673
  };
2652
2674
  };
2653
2675
  readonly errorHandlers: {
2654
2676
  readonly index: {
2655
- readonly errorOccurred: (error: string | number) => string;
2656
- readonly errorContext: (context: string | number) => string;
2657
- readonly errorCause: (cause: string | number) => string;
2677
+ readonly errorOccurred: (error: string) => string;
2678
+ readonly errorContext: (context: string) => string;
2679
+ readonly errorCause: (cause: string) => string;
2658
2680
  readonly unknownErrorOccurred: "An unknown error has occurred.";
2659
2681
  };
2660
2682
  readonly suppressErrors: {
2661
2683
  readonly platformVersionErrors: {
2662
2684
  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;
2685
+ readonly unspecifiedPlatformVersion: (platformVersion: string) => string;
2686
+ readonly platformVersionRetired: (platformVersion: string) => string;
2687
+ readonly nonExistentPlatformVersion: (platformVersion: string) => string;
2666
2688
  readonly updateProject: "Please update your project to the latest version and try again.";
2667
2689
  readonly docsLink: "Projects platform versioning (BETA)";
2668
- readonly betaLink: (docsLink: string | number) => string;
2690
+ readonly betaLink: (docsLink: string) => string;
2669
2691
  };
2670
- readonly missingScopeError: (request: string | number, accountName: string | number, authCommand: string | number) => string;
2692
+ readonly missingScopeError: (request: string, accountName: string, authCommand: string) => string;
2671
2693
  };
2672
2694
  };
2673
2695
  readonly serverless: {
2674
2696
  readonly verifyAccessKeyAndUserAccess: {
2675
- readonly fetchScopeDataError: (scopeGroup: string | number) => string;
2697
+ readonly fetchScopeDataError: (scopeGroup: string) => string;
2676
2698
  readonly portalMissingScope: "Your account does not have access to this action. Talk to an account admin to request it.";
2677
2699
  readonly userMissingScope: "You don't have access to this action. Ask an account admin to change your permissions in Users & Teams settings.";
2678
2700
  readonly genericMissingScope: "Your access key does not allow this action. Please generate a new access key by running `hs auth personalaccesskey`.";
@@ -2684,49 +2706,49 @@ export declare const lib: {
2684
2706
  readonly accountChecks: {
2685
2707
  readonly active: "Default account active";
2686
2708
  readonly inactive: "Default account isn't active";
2687
- readonly inactiveSecondary: (command: string | number) => string;
2709
+ readonly inactiveSecondary: (command: string) => string;
2688
2710
  readonly unableToDetermine: "Unable to determine if the portal is active";
2689
2711
  readonly pak: {
2690
2712
  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;
2713
+ readonly incompleteSecondary: (command: string, link: string) => string;
2692
2714
  readonly invalid: "Personal access key is invalid";
2693
- readonly invalidSecondary: (command: string | number) => string;
2694
- readonly valid: (link: string | number) => string;
2715
+ readonly invalidSecondary: (command: string) => string;
2716
+ readonly valid: (link: string) => string;
2695
2717
  readonly viewScopes: "View selected scopes";
2696
2718
  };
2697
2719
  };
2698
2720
  readonly nodeChecks: {
2699
2721
  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;
2722
+ readonly minimumNotMet: (nodeVersion: string) => string;
2723
+ readonly success: (nodeVersion: string) => string;
2702
2724
  };
2703
2725
  readonly npmChecks: {
2704
2726
  readonly notInstalled: "npm is not installed";
2705
- readonly installed: (npmVersion: string | number) => string;
2727
+ readonly installed: (npmVersion: string) => string;
2706
2728
  readonly unableToDetermine: "Unable to determine if npm is installed";
2707
2729
  };
2708
2730
  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;
2731
+ readonly notLatest: (hsVersion: string) => string;
2732
+ readonly notLatestSecondary: (command: string, hsVersion: string) => string;
2733
+ readonly latest: (hsVersion: string) => string;
2712
2734
  readonly unableToDetermine: "Unable to determine if HubSpot CLI is up to date.";
2713
- readonly unableToDetermineSecondary: (command: string | number, link: string | number) => string;
2735
+ readonly unableToDetermineSecondary: (command: string, link: string) => string;
2714
2736
  readonly unableToDetermineSecondaryLink: "npm HubSpot CLI version history";
2715
2737
  };
2716
2738
  readonly projectDependenciesChecks: {
2717
- readonly missingDependencies: (dir: string | number) => string;
2718
- readonly missingDependenciesSecondary: (command: string | number) => string;
2719
- readonly unableToDetermine: (dir: string | number) => string;
2739
+ readonly missingDependencies: (dir: string) => string;
2740
+ readonly missingDependenciesSecondary: (command: string) => string;
2741
+ readonly unableToDetermine: (dir: string) => string;
2720
2742
  readonly success: "App dependencies are installed and up to date";
2721
2743
  };
2722
2744
  readonly files: {
2723
- readonly invalidJson: (filename: string | number) => string;
2745
+ readonly invalidJson: (filename: string) => string;
2724
2746
  readonly validJson: "JSON files valid";
2725
2747
  };
2726
2748
  readonly port: {
2727
- readonly inUse: (port: string | number) => string;
2728
- readonly inUseSecondary: (command: string | number) => string;
2729
- readonly available: (port: string | number) => string;
2749
+ readonly inUse: (port: string) => string;
2750
+ readonly inUseSecondary: (command: string) => string;
2751
+ readonly available: (port: string) => string;
2730
2752
  };
2731
2753
  readonly diagnosis: {
2732
2754
  readonly cli: {
@@ -2734,19 +2756,19 @@ export declare const lib: {
2734
2756
  };
2735
2757
  readonly cliConfig: {
2736
2758
  readonly header: "CLI configuration";
2737
- readonly configFileSubHeader: (filename: string | number) => string;
2738
- readonly defaultAccountSubHeader: (accountDetails: string | number) => string;
2759
+ readonly configFileSubHeader: (filename: string) => string;
2760
+ readonly defaultAccountSubHeader: (accountDetails: string) => string;
2739
2761
  readonly noConfigFile: "CLI configuration not found";
2740
- readonly noConfigFileSecondary: (command: string | number) => string;
2762
+ readonly noConfigFileSecondary: (command: string) => string;
2741
2763
  };
2742
2764
  readonly projectConfig: {
2743
2765
  readonly header: "Project configuration";
2744
- readonly projectDirSubHeader: (projectDir: string | number) => string;
2745
- readonly projectNameSubHeader: (projectName: string | number) => string;
2766
+ readonly projectDirSubHeader: (projectDir: string) => string;
2767
+ readonly projectNameSubHeader: (projectName: string) => string;
2746
2768
  };
2747
2769
  readonly counts: {
2748
- readonly errors: (count: string | number) => string;
2749
- readonly warnings: (count: string | number) => string;
2770
+ readonly errors: (count: string) => string;
2771
+ readonly warnings: (count: string) => string;
2750
2772
  };
2751
2773
  };
2752
2774
  };
@@ -2754,8 +2776,8 @@ export declare const lib: {
2754
2776
  readonly missingClientId: "Error building oauth URL: missing client ID.";
2755
2777
  };
2756
2778
  readonly migrate: {
2757
- readonly componentsToBeMigrated: (components: string | number) => string;
2758
- readonly componentsThatWillNotBeMigrated: (components: string | number) => string;
2779
+ readonly componentsToBeMigrated: (components: string) => string;
2780
+ readonly componentsThatWillNotBeMigrated: (components: string) => string;
2759
2781
  readonly sourceContentsMoved: (newLocation: string) => string;
2760
2782
  readonly projectMigrationWarningTitle: "⚠️ Important: Migrating to platformVersion 2025.2 is irreversible ⚠️";
2761
2783
  readonly projectMigrationWarning: string;
@@ -2764,7 +2786,7 @@ export declare const lib: {
2764
2786
  readonly invalidConfig: "The project configuration file is invalid. Please check the config file and try again.";
2765
2787
  readonly doesNotExist: (account: number) => string;
2766
2788
  readonly multipleApps: "Multiple apps found in project, this is not allowed in 2025.2";
2767
- readonly alreadyExists: (projectName: string | number) => string;
2789
+ readonly alreadyExists: (projectName: string) => string;
2768
2790
  };
2769
2791
  readonly unmigratableReasons: {
2770
2792
  readonly upToDate: "App is already up to date";
@@ -2772,21 +2794,21 @@ export declare const lib: {
2772
2794
  readonly listedInMarketplace: "Listed apps are not currently migratable";
2773
2795
  readonly projectConnectedToGitHub: (projectName: string | undefined, accountId: number) => string;
2774
2796
  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;
2797
+ readonly generic: (reasonCode: string) => string;
2776
2798
  };
2777
- readonly noAppsEligible: (accountId: string | number, reasons: string[]) => string;
2799
+ readonly noAppsEligible: (accountId: string, reasons: string[]) => string;
2778
2800
  readonly invalidAccountTypeTitle: string;
2779
- readonly invalidAccountTypeDescription: (useCommand: string | number, authCommand: string | number) => string;
2780
- readonly appWithAppIdNotFound: (appId: string | number) => string;
2801
+ readonly invalidAccountTypeDescription: (useCommand: string, authCommand: string) => string;
2802
+ readonly appWithAppIdNotFound: (appId: number) => string;
2781
2803
  readonly noAppsForProject: (projectName: string) => string;
2782
2804
  readonly migrationFailed: "Migration Failed";
2783
- readonly notUngatedForUnifiedApps: (account: string | number) => string;
2805
+ readonly notUngatedForUnifiedApps: (account: string) => string;
2784
2806
  };
2785
2807
  readonly prompt: {
2786
2808
  readonly chooseApp: "Which app would you like to migrate?";
2787
2809
  readonly inputName: "[--name] What would you like to name the project?";
2788
2810
  readonly inputDest: "[--dest] Where would you like to save the project?";
2789
- readonly uidForComponent: (componentName: string | number) => string;
2811
+ readonly uidForComponent: (componentName: string) => string;
2790
2812
  readonly proceed: "Would you like to proceed?";
2791
2813
  };
2792
2814
  readonly spinners: {