@twilio-labs/plugin-flex 4.2.2-dev.202110271611 → 4.2.3-alpha.202112012131

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/README.md CHANGED
@@ -81,7 +81,7 @@ OPTIONS
81
81
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
82
82
  ```
83
83
 
84
- _See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/archive/configuration.js)_
84
+ _See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/archive/configuration.js)_
85
85
 
86
86
  ## `twilio flex:plugins:archive:plugin`
87
87
 
@@ -99,7 +99,7 @@ OPTIONS
99
99
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
100
100
  ```
101
101
 
102
- _See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/archive/plugin.js)_
102
+ _See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/archive/plugin.js)_
103
103
 
104
104
  ## `twilio flex:plugins:archive:plugin-version`
105
105
 
@@ -118,7 +118,7 @@ OPTIONS
118
118
  --version=version (required) The Flex Plugin Version to archive.
119
119
  ```
120
120
 
121
- _See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/archive/plugin-version.js)_
121
+ _See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/archive/plugin-version.js)_
122
122
 
123
123
  ## `twilio flex:plugins:build`
124
124
 
@@ -135,7 +135,7 @@ OPTIONS
135
135
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
136
136
  ```
137
137
 
138
- _See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/build.js)_
138
+ _See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/build.js)_
139
139
 
140
140
  ## `twilio flex:plugins:create NAME`
141
141
 
@@ -166,7 +166,7 @@ DESCRIPTION
166
166
  name Name of your plugin. This command needs to be invoked inside a plugin directory.
167
167
  ```
168
168
 
169
- _See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/create.js)_
169
+ _See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/create.js)_
170
170
 
171
171
  ## `twilio flex:plugins:create-configuration`
172
172
 
@@ -191,7 +191,7 @@ OPTIONS
191
191
  as a shortcut for enabling the latest version of the plugin. Use additional
192
192
  --enable-plugin to provide other plugins to enable.
193
193
 
194
- --name=name (required) [default: Autogenerated Release 1635351399605] The friendly name of the
194
+ --name=name (required) [default: Autogenerated Release 1638394543126] The friendly name of the
195
195
  Flex Plugin Configuration.
196
196
 
197
197
  --new Creates a new Flex Plugin Configuration, otherwise will append to existing active
@@ -202,7 +202,7 @@ OPTIONS
202
202
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
203
203
  ```
204
204
 
205
- _See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/create-configuration.js)_
205
+ _See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/create-configuration.js)_
206
206
 
207
207
  ## `twilio flex:plugins:deploy`
208
208
 
@@ -226,7 +226,7 @@ OPTIONS
226
226
  --version=version Publishes the version (SemVer).
227
227
  ```
228
228
 
229
- _See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/deploy.js)_
229
+ _See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/deploy.js)_
230
230
 
231
231
  ## `twilio flex:plugins:describe:configuration`
232
232
 
@@ -245,7 +245,7 @@ OPTIONS
245
245
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
246
246
  ```
247
247
 
248
- _See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/describe/configuration.js)_
248
+ _See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/describe/configuration.js)_
249
249
 
250
250
  ## `twilio flex:plugins:describe:plugin`
251
251
 
@@ -264,7 +264,7 @@ OPTIONS
264
264
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
265
265
  ```
266
266
 
267
- _See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/describe/plugin.js)_
267
+ _See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/describe/plugin.js)_
268
268
 
269
269
  ## `twilio flex:plugins:describe:plugin-version`
270
270
 
@@ -284,7 +284,7 @@ OPTIONS
284
284
  --version=version (required) The Flex Plugin Version to describe.
285
285
  ```
286
286
 
287
- _See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/describe/plugin-version.js)_
287
+ _See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/describe/plugin-version.js)_
288
288
 
289
289
  ## `twilio flex:plugins:describe:release`
290
290
 
@@ -304,7 +304,7 @@ OPTIONS
304
304
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
305
305
  ```
306
306
 
307
- _See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/describe/release.js)_
307
+ _See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/describe/release.js)_
308
308
 
309
309
  ## `twilio flex:plugins:diff ID1 [ID2]`
310
310
 
@@ -325,7 +325,7 @@ OPTIONS
325
325
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
326
326
  ```
327
327
 
328
- _See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/diff.js)_
328
+ _See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/diff.js)_
329
329
 
330
330
  ## `twilio flex:plugins:list:configurations`
331
331
 
@@ -343,7 +343,7 @@ OPTIONS
343
343
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
344
344
  ```
345
345
 
346
- _See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/list/configurations.js)_
346
+ _See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/list/configurations.js)_
347
347
 
348
348
  ## `twilio flex:plugins:list:plugin-versions`
349
349
 
@@ -362,7 +362,7 @@ OPTIONS
362
362
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
363
363
  ```
364
364
 
365
- _See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/list/plugin-versions.js)_
365
+ _See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/list/plugin-versions.js)_
366
366
 
367
367
  ## `twilio flex:plugins:list:plugins`
368
368
 
@@ -380,7 +380,7 @@ OPTIONS
380
380
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
381
381
  ```
382
382
 
383
- _See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/list/plugins.js)_
383
+ _See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/list/plugins.js)_
384
384
 
385
385
  ## `twilio flex:plugins:list:releases`
386
386
 
@@ -398,7 +398,7 @@ OPTIONS
398
398
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
399
399
  ```
400
400
 
401
- _See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/list/releases.js)_
401
+ _See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/list/releases.js)_
402
402
 
403
403
  ## `twilio flex:plugins:release`
404
404
 
@@ -426,7 +426,7 @@ OPTIONS
426
426
  pluginName@latest as a shortcut for enabling the latest version of the plugin.
427
427
  Use additional --enable-plugin to provide other plugins to enable.
428
428
 
429
- --name=name [default: Autogenerated Release 1635351399605] The friendly name of the Flex
429
+ --name=name [default: Autogenerated Release 1638394543126] The friendly name of the Flex
430
430
  Plugin Configuration.
431
431
 
432
432
  --new Creates a new Flex Plugin Configuration, otherwise will append to existing
@@ -437,7 +437,7 @@ OPTIONS
437
437
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
438
438
  ```
439
439
 
440
- _See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/release.js)_
440
+ _See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/release.js)_
441
441
 
442
442
  ## `twilio flex:plugins:start`
443
443
 
@@ -462,7 +462,7 @@ OPTIONS
462
462
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
463
463
  ```
464
464
 
465
- _See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/start.js)_
465
+ _See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/start.js)_
466
466
 
467
467
  ## `twilio flex:plugins:test`
468
468
 
@@ -479,7 +479,7 @@ OPTIONS
479
479
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
480
480
  ```
481
481
 
482
- _See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/test.js)_
482
+ _See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/test.js)_
483
483
 
484
484
  ## `twilio flex:plugins:upgrade-plugin`
485
485
 
@@ -508,5 +508,5 @@ OPTIONS
508
508
  --yes If set, will answer yes to all prompts.
509
509
  ```
510
510
 
511
- _See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.2-dev.202110271611/dist/commands/flex/plugins/upgrade-plugin.js)_
511
+ _See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v4.2.3-alpha.202112012131/dist/commands/flex/plugins/upgrade-plugin.js)_
512
512
  <!-- commandsstop -->
@@ -1,4 +1,5 @@
1
1
  import { ServiceInstance, ServiceListInstance, ServiceListInstanceCreateOptions } from 'twilio/lib/rest/serverless/v1/service';
2
+ import { BuildInstance, BuildListInstanceCreateOptions } from 'twilio/lib/rest/serverless/v1/service/build';
2
3
  import { Logger } from 'flex-dev-utils';
3
4
  /**
4
5
  * Wrapper Twilio Serverless Public API
@@ -40,6 +41,19 @@ export default class ServerlessClient {
40
41
  * @param pluginName the plugin name
41
42
  */
42
43
  removeLegacy(serviceSid: string, pluginName: string): Promise<void>;
44
+ /**
45
+ * Creates a {@link BuildInstance} and deploys/activates it
46
+ * @param serviceSid the serviceSid the {@link BuildInstance} belongs to
47
+ * @param pluginName the plugin name that the build belongs to
48
+ * @param request the {@link BuildListInstanceCreateOptions} option
49
+ */
50
+ createBuildAndDeploy(serviceSid: string, pluginName: string, request: BuildListInstanceCreateOptions): Promise<void>;
51
+ /**
52
+ * Returns the {@link BuildInstance} belonging to the plugin name
53
+ * @param serviceSid the service sid
54
+ * @param pluginName the plugin name
55
+ */
56
+ getBuild(serviceSid: string, pluginName: string): Promise<BuildInstance | undefined>;
43
57
  /**
44
58
  * Fetches the {@link BuildInstance}
45
59
  * @param serviceSid the service sid
@@ -72,15 +72,37 @@ class ServerlessClient {
72
72
  .filter((asset) => !asset.path.includes(`/plugins/${pluginName}/0.0.0/bundle.js`))
73
73
  .map((asset) => asset.sid);
74
74
  const functions = build.functionVersions.map((func) => func).map((func) => func.sid);
75
- const data = {
75
+ const request = {
76
76
  assetVersions: assets,
77
77
  functionVersions: functions,
78
78
  // @ts-ignore this is a type definition error in Twilio; dependencies should be object[] not a string
79
79
  dependencies: build.dependencies,
80
80
  };
81
- const newBuild = await this.createBuild(serviceSid, data);
81
+ await this.createBuildAndDeploy(serviceSid, pluginName, request);
82
+ }
83
+ /**
84
+ * Creates a {@link BuildInstance} and deploys/activates it
85
+ * @param serviceSid the serviceSid the {@link BuildInstance} belongs to
86
+ * @param pluginName the plugin name that the build belongs to
87
+ * @param request the {@link BuildListInstanceCreateOptions} option
88
+ */
89
+ async createBuildAndDeploy(serviceSid, pluginName, request) {
90
+ const { environment } = await this.getBuildAndEnvironment(serviceSid, pluginName);
91
+ if (!environment) {
92
+ return;
93
+ }
94
+ const newBuild = await this.createBuild(serviceSid, request);
82
95
  await environment.deployments().create({ buildSid: newBuild.sid });
83
96
  }
97
+ /**
98
+ * Returns the {@link BuildInstance} belonging to the plugin name
99
+ * @param serviceSid the service sid
100
+ * @param pluginName the plugin name
101
+ */
102
+ async getBuild(serviceSid, pluginName) {
103
+ const { build } = await this.getBuildAndEnvironment(serviceSid, pluginName);
104
+ return build;
105
+ }
84
106
  /**
85
107
  * Fetches the {@link BuildInstance}
86
108
  * @param serviceSid the service sid
@@ -1 +1 @@
1
- {"version":3,"file":"ServerlessClient.js","sourceRoot":"","sources":["../../src/clients/ServerlessClient.ts"],"names":[],"mappings":";;AAMA,mDAAwD;AAaxD;;GAEG;AACH,MAAqB,gBAAgB;IAcnC,YAAY,MAA2B,EAAE,MAAc;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,UAAU,CAAC,UAAkB;QACjC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,CAAC;IAC7C,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,YAAY;QAChB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,yBAAyB;QAC7B,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;QACvC,MAA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U,CAAC,CAAC;oBAC1B,YAAY,CAAC,SAAS,CAAC,CAAC;oBAExB,OAAO,CAAC,KAAK,CAAC,CAAC;iBAChB;YACH,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACK,cAAc,CAAC,KAAoB,EAAE,UAAkB;QAC7D,OAAO,KAAK,CAAC,aAAa;aACvB,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAoB,CAAC;aACpC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,YAAY,UAAU,kBAAkB,CAAC,CAAC;IAC9E,CAAC;;AAnNH,mCAoNC;AAnNe,2BAAU,GAAqC;IAC3D,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,sDAAsD;CACrE,CAAC;AAEK,4BAAW,GAAG,KAAK,CAAC;AAEpB,oCAAmB,GAAG,GAAG,CAAC"}
@@ -24,6 +24,28 @@ export default class FlexPluginsArchivePluginVersion extends ArchiveResource<Plu
24
24
  * @override
25
25
  */
26
26
  getResourceType(): string;
27
+ /**
28
+ * Archives the resource on flex-plugins-api service
29
+ * @private
30
+ */
31
+ private archiveOnPluginsAPI;
32
+ /**
33
+ * Removes the serverless files
34
+ * @param build the active {@link BuildInstance} to remove the files from
35
+ * @private
36
+ */
37
+ private removeServerlessFiles;
38
+ /**
39
+ * Filters the asset by path
40
+ * @param asset the asset to filter
41
+ * @private
42
+ */
43
+ private filterAssetExists;
44
+ /**
45
+ * Returns the {@link BuildInstance} if found. It will also return undefined if the pluginVersion is not part of this build
46
+ * @private
47
+ */
48
+ private getBuildIfActive;
27
49
  /**
28
50
  * @override
29
51
  */
@@ -22,15 +22,39 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
22
22
  return (mod && mod.__esModule) ? mod : { "default": mod };
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
+ const flex_dev_utils_1 = require("flex-dev-utils");
25
26
  const flags = __importStar(require("../../../../utils/flags"));
26
27
  const archive_resource_1 = __importDefault(require("../../../../sub-commands/archive-resource"));
27
28
  const general_1 = require("../../../../utils/general");
28
29
  class FlexPluginsArchivePluginVersion extends archive_resource_1.default {
30
+ constructor() {
31
+ super(...arguments);
32
+ /**
33
+ * Filters the asset by path
34
+ * @param asset the asset to filter
35
+ * @private
36
+ */
37
+ // The type definition for this from the twilio-node library is broken
38
+ // eslint-disable-next-line @typescript-eslint/ban-types
39
+ this.filterAssetExists = (asset) => {
40
+ const path = `/plugins/${this._flags.name}/${this._flags.version}/`;
41
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
42
+ return asset.path.includes(path);
43
+ };
44
+ }
29
45
  /**
30
46
  * @override
31
47
  */
32
48
  async doArchive() {
33
- return this.pluginsApiToolkit.archivePluginVersion({ name: this._flags.name, version: this._flags.version });
49
+ const pluginVersion = await flex_dev_utils_1.progress('Archiving Flex Plugin Version', async () => this.archiveOnPluginsAPI());
50
+ await flex_dev_utils_1.progress('Cleaning up Twilio Assets', async () => {
51
+ const build = await this.getBuildIfActive();
52
+ if (!build) {
53
+ throw new flex_dev_utils_1.TwilioApiError(20400, 'Plugin version is already archived', 400);
54
+ }
55
+ await this.removeServerlessFiles(build);
56
+ });
57
+ return pluginVersion;
34
58
  }
35
59
  /**
36
60
  * @override
@@ -45,6 +69,64 @@ class FlexPluginsArchivePluginVersion extends archive_resource_1.default {
45
69
  getResourceType() {
46
70
  return 'Flex Plugin Version';
47
71
  }
72
+ /**
73
+ * Archives the resource on flex-plugins-api service
74
+ * @private
75
+ */
76
+ async archiveOnPluginsAPI() {
77
+ try {
78
+ return await this.pluginsApiToolkit.archivePluginVersion({
79
+ name: this._flags.name,
80
+ version: this._flags.version,
81
+ });
82
+ }
83
+ catch (e) {
84
+ if (general_1.instanceOf(e, flex_dev_utils_1.TwilioApiError) && e.status === 400) {
85
+ return this.pluginsApiToolkit.describePluginVersion({
86
+ name: this._flags.name,
87
+ version: this._flags.version,
88
+ });
89
+ }
90
+ throw e;
91
+ }
92
+ }
93
+ /**
94
+ * Removes the serverless files
95
+ * @param build the active {@link BuildInstance} to remove the files from
96
+ * @private
97
+ */
98
+ async removeServerlessFiles(build) {
99
+ var _a, _b, _c, _d;
100
+ const request = {
101
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
102
+ functionVersions: (_a = build.functionVersions) === null || _a === void 0 ? void 0 : _a.map((f) => f.sid),
103
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
104
+ assetVersions: (_b = build.assetVersions) === null || _b === void 0 ? void 0 : _b.filter((a) => !this.filterAssetExists(a)).map((a) => a.sid),
105
+ // @ts-ignore this is a type definition error in Twilio; dependencies should be object[] not a string
106
+ dependencies: build.dependencies,
107
+ runtime: 'node12',
108
+ };
109
+ // TODO: remove Environment when the other ticket is done
110
+ if (((_c = request.assetVersions) === null || _c === void 0 ? void 0 : _c.length) === 0 && ((_d = request.functionVersions) === null || _d === void 0 ? void 0 : _d.length) === 0) {
111
+ return;
112
+ }
113
+ await this.serverlessClient.createBuildAndDeploy(build.serviceSid, this._flags.name, request);
114
+ }
115
+ /**
116
+ * Returns the {@link BuildInstance} if found. It will also return undefined if the pluginVersion is not part of this build
117
+ * @private
118
+ */
119
+ async getBuildIfActive() {
120
+ const serviceSid = await this.flexConfigurationClient.getServerlessSid();
121
+ if (!serviceSid) {
122
+ return undefined;
123
+ }
124
+ const build = await this.serverlessClient.getBuild(serviceSid, this._flags.name);
125
+ if (!(build === null || build === void 0 ? void 0 : build.assetVersions.find(this.filterAssetExists))) {
126
+ return undefined;
127
+ }
128
+ return build;
129
+ }
48
130
  /**
49
131
  * @override
50
132
  */
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-version.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/plugin-version.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA,+DAAiD;AACjD,iGAAwE;AACxE,uDAA8D;AAE9D,MAAqB,+BAAgC,SAAQ,0BAA8B;IAiBzF;;OAEG;IACH,KAAK,CAAC,SAAS;QACb,OAAO,IAAI,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;IAC/G,CAAC;IAED;;OAEG;IACH,OAAO;QACL,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC;QACtC,OAAO,GAAG,IAAI,IAAI,OAAO,EAAE,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,qBAAqB,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,0BAA0B;IAC1B,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC,KAAK,CAAC;IAC3D,CAAC;;AA7CH,kDA8CC;AA7CQ,yCAAS,GAAG,qCAAqC,CAAC;AAElD,2CAAW,GAAG,2BAAiB,CAAC,+BAA+B,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAE1F,qCAAK,mCACP,0BAAe,CAAC,KAAK,KACxB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;QACjB,WAAW,EAAE,+BAA+B,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI;QAC7D,QAAQ,EAAE,IAAI;KACf,CAAC,EACF,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC;QACpB,WAAW,EAAE,+BAA+B,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO;QAChE,QAAQ,EAAE,IAAI;KACf,CAAC,IACF"}
1
+ {"version":3,"file":"plugin-version.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/plugin-version.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,mDAA0D;AAI1D,+DAAiD;AACjD,iG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,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAChG,CAAC;IAeD;;;OAGG;IACK,KAAK,CAAC,gBAAgB;QAC5B,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,uBAAuB,CAAC,gBAAgB,EAAE,CAAC;QACzE,IAAI,CAAC,UAAU,EAAE;YACf,OAAO,SAAS,CAAC;SAClB;QAED,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACjF,IAAI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAA,EAAE;YACtD,OAAO,SAAS,CAAC;SAClB;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;OAEG;IACH,0BAA0B;IAC1B,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC,KAAK,CAAC;IAC3D,CAAC;;AAnIH,kDAoIC;AAnIQ,yCAAS,GAAG,qCAAqC,CAAC;AAElD,2CAAW,GAAG,2BAAiB,CAAC,+BAA+B,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAE1F,qCAAK,mCACP,0BAAe,CAAC,KAAK,KACxB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;QACjB,WAAW,EAAE,+BAA+B,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI;QAC7D,QAAQ,EAAE,IAAI;KACf,CAAC,EACF,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC;QACpB,WAAW,EAAE,+BAA+B,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO;QAChE,QAAQ,EAAE,IAAI;KACf,CAAC,IACF"}
@@ -173,7 +173,7 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
173
173
  /**
174
174
  * Setups the environment. This must run after run command
175
175
  */
176
- setupEnvironment(): void;
176
+ setupEnvironment(): Promise<void>;
177
177
  /**
178
178
  * Prints pretty an object as a Key:Value pair
179
179
  * @param object the object to print
@@ -42,10 +42,14 @@ const FlexConfigurationClient_1 = __importDefault(require("../clients/FlexConfig
42
42
  const ServerlessClient_1 = __importDefault(require("../clients/ServerlessClient"));
43
43
  const utils_1 = require("../utils");
44
44
  const flexPluginScripts = 'flex-plugin-scripts';
45
- const flexPluginsApiUtils = 'flex-plugins-api-utils';
46
- const flexPluginsApiClient = 'flex-plugins-api-client';
45
+ const flexUI = 'flex-ui';
46
+ const react = 'react';
47
+ const reactDom = 'react-dom';
48
+ const flexPluginsApiToolkit = 'flex-plugins-api-toolkit';
47
49
  const twilioCLI = '@twilio/cli-core';
48
50
  const twilioCliFlexPlugin = 'twilio-cli-flex-plugin';
51
+ const cli = 'cli';
52
+ const isTS = 'it_ts';
49
53
  const baseFlag = Object.assign({}, cli_core_1.baseCommands.TwilioClientCommand.flags);
50
54
  delete baseFlag['cli-output-format'];
51
55
  const packageJsonStr = 'package.json';
@@ -268,10 +272,13 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
268
272
  caller: 'twilio-cli',
269
273
  packages: {
270
274
  [flexPluginScripts]: FlexPlugin.getPackageVersion(flexPluginScripts),
271
- [flexPluginsApiUtils]: FlexPlugin.getPackageVersion(flexPluginsApiUtils),
272
- [flexPluginsApiClient]: FlexPlugin.getPackageVersion(flexPluginsApiClient),
273
- [twilioCLI]: FlexPlugin.getPackageVersion(twilioCLI),
275
+ [cli]: FlexPlugin.getPackageVersion(twilioCLI),
274
276
  [twilioCliFlexPlugin]: FlexPlugin.getPackageVersion(this.pluginRootDir),
277
+ [isTS]: fs_1.getPaths().app.isTSProject().toString(),
278
+ [react]: FlexPlugin.getPackageVersion(react),
279
+ [reactDom]: FlexPlugin.getPackageVersion(reactDom),
280
+ [flexPluginsApiToolkit]: FlexPlugin.getPackageVersion(flexPluginsApiToolkit),
281
+ [flexUI]: FlexPlugin.getPackageVersion(`@twilio/${flexUI}`),
275
282
  },
276
283
  };
277
284
  const flexConfigOptions = {
@@ -294,7 +301,7 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
294
301
  this._flexConfigurationClient = new FlexConfigurationClient_1.default(this.twilioClient.flexApi.v1.configuration.get(), flexConfigOptions);
295
302
  this._serverlessClient = new ServerlessClient_1.default(this.twilioClient.serverless.v1.services, this._logger);
296
303
  if (!this.skipEnvironmentalSetup) {
297
- this.setupEnvironment();
304
+ await this.setupEnvironment();
298
305
  }
299
306
  if (!this.isJson) {
300
307
  this._logger.notice(`Using profile **${this.currentProfile.id}** (${this.currentProfile.accountSid})`);
@@ -358,7 +365,7 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
358
365
  /**
359
366
  * Setups the environment. This must run after run command
360
367
  */
361
- setupEnvironment() {
368
+ async setupEnvironment() {
362
369
  process.env.SKIP_CREDENTIALS_SAVING = 'true';
363
370
  process.env.TWILIO_ACCOUNT_SID = this.twilioClient.username;
364
371
  process.env.TWILIO_AUTH_TOKEN = this.twilioClient.password;
@@ -370,6 +377,13 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
370
377
  if (this._flags.region) {
371
378
  flex_dev_utils_1.env.setRegion(this._flags.region);
372
379
  }
380
+ const shellCmd = ['npm', 'yarn'];
381
+ for (const cmd of shellCmd) {
382
+ const result = await spawn_1.spawn(cmd, ['-v'], {});
383
+ if (result.exitCode === 0) {
384
+ process.versions[cmd] = result.stdout;
385
+ }
386
+ }
373
387
  }
374
388
  /**
375
389
  * Prints pretty an object as a Key:Value pair
@@ -1 +1 @@
1
- {"version":3,"file":"flex-plugin.js","sourceRoot":"","sources":["../../src/sub-commands/flex-plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA4B;AAC5B,2BAA6B;AAE7B,wFAAyD;AACzD,+CAAuF;AACvF,+CAA0D;AAC1D,qEAMiC;A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AC,IAAI;QAEhB,OAAO,gBAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC5C,CAAC;;AAzkBH,6BA0kBC;AAzkBQ,kCAAuB,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ;AAEvD,oBAAS,GAAG,cAAc,CAAC;AAS3B,gBAAK,mCACP,QAAQ,KACX,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC;QAClB,WAAW,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI;KACzC,CAAC,EACF,gBAAgB,EAAE,KAAK,CAAC,OAAO,CAAC;QAC9B,WAAW,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa;KAClD,CAAC,EACF,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;QACzB,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa;QAClC,MAAM,EAAE,IAAI;KACb,CAAC,IACF;AAEe,sBAAW,GAAG,CAAC,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAEnE,wBAAa,GAAG,CAAC,QAAQ,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;AAEjD,wBAAa,GAAG,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAE3C,yBAAc,GAAqB;IAChD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;CACrB,CAAC"}
@@ -1 +1 @@
1
- {"version":"4.2.2-dev.202110271611","commands":{"flex:plugins:build":{"id":"flex:plugins:build","description":"Builds the Flex plugin and creates a JavaScript and sourcemap bundle. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:create-configuration":{"id":"flex:plugins:create-configuration","description":"Creates a Flex Plugin Configuration. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":true,"default":"Autogenerated Release 1635351399605"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":true,"default":"The description of this Flex Plugin Configuration."}},"args":[]},"flex:plugins:create":{"id":"flex:plugins:create","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"typescript":{"name":"typescript","type":"boolean","char":"s","description":"Create a TypeScript project","required":false,"allowNo":false},"template":{"name":"template","type":"option","char":"t","description":"A GitHub URL that contains your template","required":false,"default":""},"accountSid":{"name":"accountSid","type":"option","char":"a","description":"The Account SID for your Flex Project","required":false,"default":""},"runtimeUrl":{"name":"runtimeUrl","type":"boolean","char":"r","description":"The URL to your Twilio Flex Runtime","required":false,"allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"Auto-install dependencies","required":false,"allowNo":false},"yarn":{"name":"yarn","type":"boolean","char":"y","description":"Use yarn as your dependency manager","required":false,"allowNo":false},"help":{"name":"help","type":"option","char":"h","required":false},"version":{"name":"version","type":"option","char":"v","required":false}},"args":[{"name":"name","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin.","required":true}]},"flex:plugins:deploy":{"id":"flex:plugins:deploy","description":"Builds and deploys a new version of the Flex plugin to your Flex application. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"patch":{"name":"patch","type":"boolean","description":"Publishes the version as a patch (SemVer); this is the default.","allowNo":false},"minor":{"name":"minor","type":"boolean","description":"Publishes the version as a minor (SemVer).","allowNo":false},"major":{"name":"major","type":"boolean","description":"Publishes the version as a major (SemVer).","allowNo":false},"version":{"name":"version","type":"option","description":"Publishes the version (SemVer)."},"public":{"name":"public","type":"boolean","description":"Publishes the plugin as a public Twilio Asset; default is private.","allowNo":false},"changelog":{"name":"changelog","type":"option","description":"The changes (added/removed) made in this plugin version.","required":true},"description":{"name":"description","type":"option","description":"The description of this Flex plugin."}},"args":[]},"flex:plugins:diff":{"id":"flex:plugins:diff","description":"Finds the diff between two Flex Plugin Configurations.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[{"name":"id1","description":"The first Flex Plugin Configuration SID.","required":true},{"name":"id2","description":"The second Flex Plugin Configuration SID."}]},"flex:plugins:release":{"id":"flex:plugins:release","description":"Creates a Flex Plugin Release. Enables the plugins (passed as params or via the Flex Configuration) on your Flex application.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":false,"default":"Autogenerated Release 1635351399605"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":false,"default":"The description of this Flex Plugin Configuration."},"configuration-sid":{"name":"configuration-sid","type":"option","description":"The Flex Plugin Configuration SID to release; other options are not required when using this option."}},"args":[]},"flex:plugins:start":{"id":"flex:plugins:start","description":"Starts a dev-server to build the Flex plugin locally.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the plugin you would like to run. You can provide multiple to run them all concurrently. You can include specific active remote plugins using \"--name 'plugin-name@remote'\" or \"--name 'plugin-name@0.0.0'\" for a specific remote version."},"include-remote":{"name":"include-remote","type":"boolean","description":"Use this flag to include all remote plugins in your build.","allowNo":false},"port":{"name":"port","type":"option","description":"The port to start your local development server on.","default":3000},"flex-ui-source":{"name":"flex-ui-source","type":"option","hidden":true}},"args":[]},"flex:plugins:test":{"id":"flex:plugins:test","description":"Runs the test suite. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:upgrade-plugin":{"id":"flex:plugins:upgrade-plugin","description":"Upgrades your plugin to use the latest version of the Plugin CLI.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"remove-legacy-plugin":{"name":"remove-legacy-plugin","type":"boolean","description":"Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3).","allowNo":false},"install":{"name":"install","type":"boolean","description":"If set, will install the dependencies.","allowNo":false},"beta":{"name":"beta","type":"boolean","description":"If set, will upgrade to the latest beta version.","allowNo":false},"dev":{"name":"dev","type":"boolean","description":"If set, will upgrade to the latest dev version.","allowNo":false},"nightly":{"name":"nightly","type":"boolean","description":"If set, will upgrade to the latest nightly version.","allowNo":false},"yarn":{"name":"yarn","type":"boolean","description":"Use yarn for installation.","allowNo":false},"yes":{"name":"yes","type":"boolean","description":"If set, will answer yes to all prompts.","allowNo":false}},"args":[]},"flex:plugins:archive:configuration":{"id":"flex:plugins:archive:configuration","description":"Archives a Flex Plugin Configuration. Archived Plugin Configurations cannot be deployed to your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin-version":{"id":"flex:plugins:archive:plugin-version","description":"Archives a Flex Plugin Version. Archived Plugin Versions cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to archive.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin":{"id":"flex:plugins:archive:plugin","description":"Archives a Flex Plugin. Archived Plugins cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to archive.","required":true}},"args":[]},"flex:plugins:describe:configuration":{"id":"flex:plugins:describe:configuration","description":"Provides details of the Flex Plugin Configuration like status, description and its associated Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID.","required":true}},"args":[]},"flex:plugins:describe:plugin-version":{"id":"flex:plugins:describe:plugin-version","description":"Provides details of the Flex Plugin Version like changelog, status and the url of the plugin package.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to describe.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to describe.","required":true}},"args":[]},"flex:plugins:describe:plugin":{"id":"flex:plugins:describe:plugin","description":"Provides details of the Flex Plugin like status, description and its Flex Plugin Versions.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to describe.","required":true}},"args":[]},"flex:plugins:describe:release":{"id":"flex:plugins:describe:release","description":"Provides details of the Flex Plugin Release like the underlying Plugin Configuration and Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Release SID to describe."},"active":{"name":"active","type":"boolean","description":"The most recent release to describe.","allowNo":false}},"args":[]},"flex:plugins:list:configurations":{"id":"flex:plugins:list:configurations","description":"Lists the Flex Plugin Configuration on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:plugin-versions":{"id":"flex:plugins:list:plugin-versions","description":"Lists the Flex Plugin Versions on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The plugin name to list its versions.","required":true}},"args":[]},"flex:plugins:list:plugins":{"id":"flex:plugins:list:plugins","description":"Lists the Flex Plugins on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:releases":{"id":"flex:plugins:list:releases","description":"Lists the Flex Releases on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]}}}
1
+ {"version":"4.2.3-alpha.202112012131","commands":{"flex:plugins:build":{"id":"flex:plugins:build","description":"Builds the Flex plugin and creates a JavaScript and sourcemap bundle. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:create-configuration":{"id":"flex:plugins:create-configuration","description":"Creates a Flex Plugin Configuration. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":true,"default":"Autogenerated Release 1638394543126"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":true,"default":"The description of this Flex Plugin Configuration."}},"args":[]},"flex:plugins:create":{"id":"flex:plugins:create","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"typescript":{"name":"typescript","type":"boolean","char":"s","description":"Create a TypeScript project","required":false,"allowNo":false},"template":{"name":"template","type":"option","char":"t","description":"A GitHub URL that contains your template","required":false,"default":""},"accountSid":{"name":"accountSid","type":"option","char":"a","description":"The Account SID for your Flex Project","required":false,"default":""},"runtimeUrl":{"name":"runtimeUrl","type":"boolean","char":"r","description":"The URL to your Twilio Flex Runtime","required":false,"allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"Auto-install dependencies","required":false,"allowNo":false},"yarn":{"name":"yarn","type":"boolean","char":"y","description":"Use yarn as your dependency manager","required":false,"allowNo":false},"help":{"name":"help","type":"option","char":"h","required":false},"version":{"name":"version","type":"option","char":"v","required":false}},"args":[{"name":"name","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin.","required":true}]},"flex:plugins:deploy":{"id":"flex:plugins:deploy","description":"Builds and deploys a new version of the Flex plugin to your Flex application. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"patch":{"name":"patch","type":"boolean","description":"Publishes the version as a patch (SemVer); this is the default.","allowNo":false},"minor":{"name":"minor","type":"boolean","description":"Publishes the version as a minor (SemVer).","allowNo":false},"major":{"name":"major","type":"boolean","description":"Publishes the version as a major (SemVer).","allowNo":false},"version":{"name":"version","type":"option","description":"Publishes the version (SemVer)."},"public":{"name":"public","type":"boolean","description":"Publishes the plugin as a public Twilio Asset; default is private.","allowNo":false},"changelog":{"name":"changelog","type":"option","description":"The changes (added/removed) made in this plugin version.","required":true},"description":{"name":"description","type":"option","description":"The description of this Flex plugin."}},"args":[]},"flex:plugins:diff":{"id":"flex:plugins:diff","description":"Finds the diff between two Flex Plugin Configurations.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[{"name":"id1","description":"The first Flex Plugin Configuration SID.","required":true},{"name":"id2","description":"The second Flex Plugin Configuration SID."}]},"flex:plugins:release":{"id":"flex:plugins:release","description":"Creates a Flex Plugin Release. Enables the plugins (passed as params or via the Flex Configuration) on your Flex application.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":false,"default":"Autogenerated Release 1638394543126"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":false,"default":"The description of this Flex Plugin Configuration."},"configuration-sid":{"name":"configuration-sid","type":"option","description":"The Flex Plugin Configuration SID to release; other options are not required when using this option."}},"args":[]},"flex:plugins:start":{"id":"flex:plugins:start","description":"Starts a dev-server to build the Flex plugin locally.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the plugin you would like to run. You can provide multiple to run them all concurrently. You can include specific active remote plugins using \"--name 'plugin-name@remote'\" or \"--name 'plugin-name@0.0.0'\" for a specific remote version."},"include-remote":{"name":"include-remote","type":"boolean","description":"Use this flag to include all remote plugins in your build.","allowNo":false},"port":{"name":"port","type":"option","description":"The port to start your local development server on.","default":3000},"flex-ui-source":{"name":"flex-ui-source","type":"option","hidden":true}},"args":[]},"flex:plugins:test":{"id":"flex:plugins:test","description":"Runs the test suite. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:upgrade-plugin":{"id":"flex:plugins:upgrade-plugin","description":"Upgrades your plugin to use the latest version of the Plugin CLI.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"remove-legacy-plugin":{"name":"remove-legacy-plugin","type":"boolean","description":"Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3).","allowNo":false},"install":{"name":"install","type":"boolean","description":"If set, will install the dependencies.","allowNo":false},"beta":{"name":"beta","type":"boolean","description":"If set, will upgrade to the latest beta version.","allowNo":false},"dev":{"name":"dev","type":"boolean","description":"If set, will upgrade to the latest dev version.","allowNo":false},"nightly":{"name":"nightly","type":"boolean","description":"If set, will upgrade to the latest nightly version.","allowNo":false},"yarn":{"name":"yarn","type":"boolean","description":"Use yarn for installation.","allowNo":false},"yes":{"name":"yes","type":"boolean","description":"If set, will answer yes to all prompts.","allowNo":false}},"args":[]},"flex:plugins:archive:configuration":{"id":"flex:plugins:archive:configuration","description":"Archives a Flex Plugin Configuration. Archived Plugin Configurations cannot be deployed to your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin-version":{"id":"flex:plugins:archive:plugin-version","description":"Archives a Flex Plugin Version. Archived Plugin Versions cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to archive.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin":{"id":"flex:plugins:archive:plugin","description":"Archives a Flex Plugin. Archived Plugins cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to archive.","required":true}},"args":[]},"flex:plugins:describe:configuration":{"id":"flex:plugins:describe:configuration","description":"Provides details of the Flex Plugin Configuration like status, description and its associated Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID.","required":true}},"args":[]},"flex:plugins:describe:plugin-version":{"id":"flex:plugins:describe:plugin-version","description":"Provides details of the Flex Plugin Version like changelog, status and the url of the plugin package.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to describe.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to describe.","required":true}},"args":[]},"flex:plugins:describe:plugin":{"id":"flex:plugins:describe:plugin","description":"Provides details of the Flex Plugin like status, description and its Flex Plugin Versions.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to describe.","required":true}},"args":[]},"flex:plugins:describe:release":{"id":"flex:plugins:describe:release","description":"Provides details of the Flex Plugin Release like the underlying Plugin Configuration and Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Release SID to describe."},"active":{"name":"active","type":"boolean","description":"The most recent release to describe.","allowNo":false}},"args":[]},"flex:plugins:list:configurations":{"id":"flex:plugins:list:configurations","description":"Lists the Flex Plugin Configuration on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:plugin-versions":{"id":"flex:plugins:list:plugin-versions","description":"Lists the Flex Plugin Versions on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The plugin name to list its versions.","required":true}},"args":[]},"flex:plugins:list:plugins":{"id":"flex:plugins:list:plugins","description":"Lists the Flex Plugins on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:releases":{"id":"flex:plugins:list:releases","description":"Lists the Flex Releases on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twilio-labs/plugin-flex",
3
- "version": "4.2.2-dev.202110271611",
3
+ "version": "4.2.3-alpha.202112012131",
4
4
  "description": "Create, develop and deploy Flex plugins using the Twilio CLI",
5
5
  "keywords": [
6
6
  "twilio",
@@ -48,12 +48,12 @@
48
48
  "@oclif/errors": "^1.3.5",
49
49
  "@oclif/parser": "^3.8.5",
50
50
  "@twilio/cli-core": "^5.29.0",
51
- "create-flex-plugin": "4.2.2-dev.202110271611",
51
+ "create-flex-plugin": "4.2.3-alpha.202112012131",
52
52
  "dayjs": "^1.10.7",
53
- "flex-dev-utils": "4.2.2-dev.202110271611",
54
- "flex-plugin-scripts": "4.2.2-dev.202110271611",
55
- "flex-plugins-api-client": "4.2.2-dev.202110271611",
56
- "flex-plugins-api-toolkit": "4.2.2-dev.202110271611",
53
+ "flex-dev-utils": "4.2.3-alpha.202112012131",
54
+ "flex-plugin-scripts": "4.2.3-alpha.202112012131",
55
+ "flex-plugins-api-client": "4.2.3-alpha.202112012131",
56
+ "flex-plugins-api-toolkit": "4.2.3-alpha.202112012131",
57
57
  "lodash.startcase": "^4.4.0",
58
58
  "mkdirp": "^1.0.4",
59
59
  "package-json": "^6.5.0",
@@ -229,5 +229,5 @@
229
229
  }
230
230
  }
231
231
  },
232
- "gitHead": "ccdb722f39597b9c77c3c87f8d488d7752cc5158"
232
+ "gitHead": "58a74a22d97acb2c804ce818f7aea84ae22ffa00"
233
233
  }