@mailmodo/cli 0.0.56-beta.pr58.96 → 0.0.56-beta.pr58.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/constants.js +3 -3
- package/oclif.manifest.json +60 -60
- package/package.json +1 -1
package/dist/lib/constants.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/** Set by `bin/dev.js` when running the CLI locally (tsx bootstrap). */
|
|
2
2
|
const DEV_API_BASE_URL = 'https://app-vertex-debug.azurewebsites.net';
|
|
3
|
+
const PRODUCTION_API_BASE_URL = 'https://api.mailmodo.dev';
|
|
3
4
|
/**
|
|
4
5
|
* True when the CLI is running in a dev/debug context. Verbose request
|
|
5
6
|
* diagnostics (URL, status, response body, error code) are only surfaced
|
|
6
7
|
* when this is true so end users never see internal request metadata.
|
|
7
8
|
*/
|
|
8
9
|
export const IS_DEV_MODE = Boolean(process.env.MAILMODO_DEV_TSX || process.env.MAILMODO_DEBUG);
|
|
9
|
-
const PRODUCTION_API_BASE_URL = 'https://api.mailmodo.dev';
|
|
10
10
|
export const API_BASE_URL = process.env.MAILMODO_DEV_TSX
|
|
11
11
|
? DEV_API_BASE_URL
|
|
12
12
|
: PRODUCTION_API_BASE_URL;
|
|
@@ -36,8 +36,8 @@ export const API_ENDPOINTS = Object.freeze({
|
|
|
36
36
|
SEQUENCES_SDK: '/sequences/sdk',
|
|
37
37
|
SEQUENCES_VALIDATE: '/sequences/validate',
|
|
38
38
|
});
|
|
39
|
-
const DEV_LOGIN_URL = 'https://app-vertex-debug.azurewebsites.net/signup
|
|
40
|
-
const PRODUCTION_LOGIN_URL = 'https://app.mailmodo.dev';
|
|
39
|
+
const DEV_LOGIN_URL = 'https://app-vertex-debug.azurewebsites.net/signup';
|
|
40
|
+
const PRODUCTION_LOGIN_URL = 'https://app.mailmodo.dev/signup';
|
|
41
41
|
export const LOGIN_URL = process.env.MAILMODO_DEV_TSX
|
|
42
42
|
? DEV_LOGIN_URL
|
|
43
43
|
: PRODUCTION_LOGIN_URL;
|
package/oclif.manifest.json
CHANGED
|
@@ -137,13 +137,15 @@
|
|
|
137
137
|
"index.js"
|
|
138
138
|
]
|
|
139
139
|
},
|
|
140
|
-
"
|
|
140
|
+
"deploy": {
|
|
141
141
|
"aliases": [],
|
|
142
142
|
"args": {},
|
|
143
|
-
"description": "
|
|
143
|
+
"description": "Deploy, pause, or resume an email sequence",
|
|
144
144
|
"examples": [
|
|
145
|
-
"<%= config.bin %>
|
|
146
|
-
"<%= config.bin %>
|
|
145
|
+
"<%= config.bin %> deploy",
|
|
146
|
+
"<%= config.bin %> deploy --yes",
|
|
147
|
+
"<%= config.bin %> deploy --pause seq_abc123",
|
|
148
|
+
"<%= config.bin %> deploy --resume seq_abc123 --json"
|
|
147
149
|
],
|
|
148
150
|
"flags": {
|
|
149
151
|
"json": {
|
|
@@ -158,11 +160,31 @@
|
|
|
158
160
|
"name": "yes",
|
|
159
161
|
"allowNo": false,
|
|
160
162
|
"type": "boolean"
|
|
163
|
+
},
|
|
164
|
+
"pause": {
|
|
165
|
+
"description": "Pause a deployed sequence by ID (stops scheduled + triggered sends)",
|
|
166
|
+
"exclusive": [
|
|
167
|
+
"resume"
|
|
168
|
+
],
|
|
169
|
+
"name": "pause",
|
|
170
|
+
"hasDynamicHelp": false,
|
|
171
|
+
"multiple": false,
|
|
172
|
+
"type": "option"
|
|
173
|
+
},
|
|
174
|
+
"resume": {
|
|
175
|
+
"description": "Resume a paused sequence by ID",
|
|
176
|
+
"exclusive": [
|
|
177
|
+
"pause"
|
|
178
|
+
],
|
|
179
|
+
"name": "resume",
|
|
180
|
+
"hasDynamicHelp": false,
|
|
181
|
+
"multiple": false,
|
|
182
|
+
"type": "option"
|
|
161
183
|
}
|
|
162
184
|
},
|
|
163
185
|
"hasDynamicHelp": false,
|
|
164
186
|
"hiddenAliases": [],
|
|
165
|
-
"id": "
|
|
187
|
+
"id": "deploy",
|
|
166
188
|
"pluginAlias": "@mailmodo/cli",
|
|
167
189
|
"pluginName": "@mailmodo/cli",
|
|
168
190
|
"pluginType": "core",
|
|
@@ -172,19 +194,17 @@
|
|
|
172
194
|
"relativePath": [
|
|
173
195
|
"dist",
|
|
174
196
|
"commands",
|
|
175
|
-
"
|
|
197
|
+
"deploy",
|
|
176
198
|
"index.js"
|
|
177
199
|
]
|
|
178
200
|
},
|
|
179
|
-
"
|
|
201
|
+
"deployments": {
|
|
180
202
|
"aliases": [],
|
|
181
203
|
"args": {},
|
|
182
|
-
"description": "
|
|
204
|
+
"description": "List every deployed sequence on this account, with the IDs needed for deploy --pause / --resume",
|
|
183
205
|
"examples": [
|
|
184
|
-
"<%= config.bin %>
|
|
185
|
-
"<%= config.bin %>
|
|
186
|
-
"<%= config.bin %> deploy --pause seq_abc123",
|
|
187
|
-
"<%= config.bin %> deploy --resume seq_abc123 --json"
|
|
206
|
+
"<%= config.bin %> deployments",
|
|
207
|
+
"<%= config.bin %> deployments --json"
|
|
188
208
|
],
|
|
189
209
|
"flags": {
|
|
190
210
|
"json": {
|
|
@@ -199,31 +219,11 @@
|
|
|
199
219
|
"name": "yes",
|
|
200
220
|
"allowNo": false,
|
|
201
221
|
"type": "boolean"
|
|
202
|
-
},
|
|
203
|
-
"pause": {
|
|
204
|
-
"description": "Pause a deployed sequence by ID (stops scheduled + triggered sends)",
|
|
205
|
-
"exclusive": [
|
|
206
|
-
"resume"
|
|
207
|
-
],
|
|
208
|
-
"name": "pause",
|
|
209
|
-
"hasDynamicHelp": false,
|
|
210
|
-
"multiple": false,
|
|
211
|
-
"type": "option"
|
|
212
|
-
},
|
|
213
|
-
"resume": {
|
|
214
|
-
"description": "Resume a paused sequence by ID",
|
|
215
|
-
"exclusive": [
|
|
216
|
-
"pause"
|
|
217
|
-
],
|
|
218
|
-
"name": "resume",
|
|
219
|
-
"hasDynamicHelp": false,
|
|
220
|
-
"multiple": false,
|
|
221
|
-
"type": "option"
|
|
222
222
|
}
|
|
223
223
|
},
|
|
224
224
|
"hasDynamicHelp": false,
|
|
225
225
|
"hiddenAliases": [],
|
|
226
|
-
"id": "
|
|
226
|
+
"id": "deployments",
|
|
227
227
|
"pluginAlias": "@mailmodo/cli",
|
|
228
228
|
"pluginName": "@mailmodo/cli",
|
|
229
229
|
"pluginType": "core",
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"relativePath": [
|
|
234
234
|
"dist",
|
|
235
235
|
"commands",
|
|
236
|
-
"
|
|
236
|
+
"deployments",
|
|
237
237
|
"index.js"
|
|
238
238
|
]
|
|
239
239
|
},
|
|
@@ -289,13 +289,14 @@
|
|
|
289
289
|
"index.js"
|
|
290
290
|
]
|
|
291
291
|
},
|
|
292
|
-
"
|
|
292
|
+
"domain": {
|
|
293
293
|
"aliases": [],
|
|
294
294
|
"args": {},
|
|
295
|
-
"description": "
|
|
295
|
+
"description": "Set up and verify your sending domain",
|
|
296
296
|
"examples": [
|
|
297
|
-
"<%= config.bin %>
|
|
298
|
-
"<%= config.bin %>
|
|
297
|
+
"<%= config.bin %> domain",
|
|
298
|
+
"<%= config.bin %> domain --verify",
|
|
299
|
+
"<%= config.bin %> domain --status"
|
|
299
300
|
],
|
|
300
301
|
"flags": {
|
|
301
302
|
"json": {
|
|
@@ -310,11 +311,23 @@
|
|
|
310
311
|
"name": "yes",
|
|
311
312
|
"allowNo": false,
|
|
312
313
|
"type": "boolean"
|
|
314
|
+
},
|
|
315
|
+
"status": {
|
|
316
|
+
"description": "Show domain health status",
|
|
317
|
+
"name": "status",
|
|
318
|
+
"allowNo": false,
|
|
319
|
+
"type": "boolean"
|
|
320
|
+
},
|
|
321
|
+
"verify": {
|
|
322
|
+
"description": "Verify DNS records",
|
|
323
|
+
"name": "verify",
|
|
324
|
+
"allowNo": false,
|
|
325
|
+
"type": "boolean"
|
|
313
326
|
}
|
|
314
327
|
},
|
|
315
328
|
"hasDynamicHelp": false,
|
|
316
329
|
"hiddenAliases": [],
|
|
317
|
-
"id": "
|
|
330
|
+
"id": "domain",
|
|
318
331
|
"pluginAlias": "@mailmodo/cli",
|
|
319
332
|
"pluginName": "@mailmodo/cli",
|
|
320
333
|
"pluginType": "core",
|
|
@@ -324,18 +337,17 @@
|
|
|
324
337
|
"relativePath": [
|
|
325
338
|
"dist",
|
|
326
339
|
"commands",
|
|
327
|
-
"
|
|
340
|
+
"domain",
|
|
328
341
|
"index.js"
|
|
329
342
|
]
|
|
330
343
|
},
|
|
331
|
-
"
|
|
344
|
+
"emails": {
|
|
332
345
|
"aliases": [],
|
|
333
346
|
"args": {},
|
|
334
|
-
"description": "
|
|
347
|
+
"description": "List and view configured email sequences",
|
|
335
348
|
"examples": [
|
|
336
|
-
"<%= config.bin %>
|
|
337
|
-
"<%= config.bin %>
|
|
338
|
-
"<%= config.bin %> domain --status"
|
|
349
|
+
"<%= config.bin %> emails",
|
|
350
|
+
"<%= config.bin %> emails --json"
|
|
339
351
|
],
|
|
340
352
|
"flags": {
|
|
341
353
|
"json": {
|
|
@@ -350,23 +362,11 @@
|
|
|
350
362
|
"name": "yes",
|
|
351
363
|
"allowNo": false,
|
|
352
364
|
"type": "boolean"
|
|
353
|
-
},
|
|
354
|
-
"status": {
|
|
355
|
-
"description": "Show domain health status",
|
|
356
|
-
"name": "status",
|
|
357
|
-
"allowNo": false,
|
|
358
|
-
"type": "boolean"
|
|
359
|
-
},
|
|
360
|
-
"verify": {
|
|
361
|
-
"description": "Verify DNS records",
|
|
362
|
-
"name": "verify",
|
|
363
|
-
"allowNo": false,
|
|
364
|
-
"type": "boolean"
|
|
365
365
|
}
|
|
366
366
|
},
|
|
367
367
|
"hasDynamicHelp": false,
|
|
368
368
|
"hiddenAliases": [],
|
|
369
|
-
"id": "
|
|
369
|
+
"id": "emails",
|
|
370
370
|
"pluginAlias": "@mailmodo/cli",
|
|
371
371
|
"pluginName": "@mailmodo/cli",
|
|
372
372
|
"pluginType": "core",
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
"relativePath": [
|
|
377
377
|
"dist",
|
|
378
378
|
"commands",
|
|
379
|
-
"
|
|
379
|
+
"emails",
|
|
380
380
|
"index.js"
|
|
381
381
|
]
|
|
382
382
|
},
|
|
@@ -765,5 +765,5 @@
|
|
|
765
765
|
]
|
|
766
766
|
}
|
|
767
767
|
},
|
|
768
|
-
"version": "0.0.56-beta.pr58.
|
|
768
|
+
"version": "0.0.56-beta.pr58.97"
|
|
769
769
|
}
|
package/package.json
CHANGED