flex-plugins-api-toolkit
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -6,2 +6,3 @@ import { Realm } from 'flex-plugins-api-utils/dist/env'; | ||
} | ||
export { DeployOption, DeployPlugin, CreateConfigurationOption, CreateConfiguration, ReleaseOption, Release, DescribePluginOption, DescribePlugin, DescribePluginVersionOption, DescribePluginVersion, DescribeConfigurationOption, DescribeConfiguration, DescribeReleaseOption, DescribeRelease, } from './scripts'; | ||
export default class FlexPluginsAPIToolkit { | ||
@@ -17,2 +18,1 @@ readonly deploy: DeployScript; | ||
} | ||
export {}; |
@@ -106,2 +106,5 @@ "use strict"; | ||
versionResource = _b; | ||
if (!versionResource) { | ||
throw new flex_plugins_api_utils_1.TwilioError("No plugin version was found for " + plugin); | ||
} | ||
return [2, { plugin_version: versionResource.sid, phase: 3 }]; | ||
@@ -108,0 +111,0 @@ } |
@@ -21,3 +21,3 @@ import { ConfigurationsClient, ConfiguredPluginsClient, PluginsClient, PluginVersionsClient, ReleaseResource, ReleasesClient } from 'flex-plugins-api-client'; | ||
export declare type DescribeConfigurationScript = Script<DescribeConfigurationOption, DescribeConfiguration>; | ||
export declare function internalDescribeConfiguration(pluginClient: PluginsClient, pluginVersionClient: PluginVersionsClient, configurationClient: ConfigurationsClient, configuredPluginClient: ConfiguredPluginsClient): (option: DescribeConfigurationOption, release: ReleaseResource) => Promise<{ | ||
export declare function internalDescribeConfiguration(pluginClient: PluginsClient, pluginVersionClient: PluginVersionsClient, configurationClient: ConfigurationsClient, configuredPluginClient: ConfiguredPluginsClient): (option: DescribeConfigurationOption, release: ReleaseResource | null) => Promise<{ | ||
sid: string; | ||
@@ -24,0 +24,0 @@ version: string; |
@@ -57,3 +57,3 @@ "use strict"; | ||
configurationSid: release.configuration_sid, | ||
isActive: active.sid === release.sid, | ||
isActive: Boolean(active && active.sid === release.sid), | ||
configuration: configuration, | ||
@@ -60,0 +60,0 @@ dateCreated: release.date_created, |
{ | ||
"name": "flex-plugins-api-toolkit", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Flex Plugins API Toolkit", | ||
@@ -52,6 +52,6 @@ "keywords": [ | ||
"dependencies": { | ||
"flex-plugins-api-client": "^0.4.1", | ||
"flex-plugins-api-utils": "^0.4.0" | ||
"flex-plugins-api-client": "^0.5.0", | ||
"flex-plugins-api-utils": "^0.5.0" | ||
}, | ||
"gitHead": "faa7450cf2a545f6f5db61ba722f3c8b59e4752f" | ||
"gitHead": "3a0fcd37f5e1914e8508ed6f7fef1dc6c1fe2a36" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75610
985
+ Addedajv@6.12.6(transitive)
+ Addedansi-align@3.0.1(transitive)
+ Addedansi-regex@3.0.14.1.15.0.1(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedastral-regex@1.0.0(transitive)
+ Addedboxen@4.2.0(transitive)
+ Addedcamelcase@5.3.1(transitive)
+ Addedchalk@2.4.23.0.0(transitive)
+ Addedcli-boxes@2.2.1(transitive)
+ Addedcli-cursor@3.1.0(transitive)
+ Addedcli-spinners@2.9.2(transitive)
+ Addedclone@1.0.4(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addeddefaults@1.0.4(transitive)
+ Addedemoji-regex@7.0.38.0.0(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedflex-plugins-api-client@0.5.0(transitive)
+ Addedflex-plugins-api-utils@0.5.0(transitive)
+ Addedflex-plugins-utils-logger@0.2.3(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedis-fullwidth-code-point@2.0.03.0.0(transitive)
+ Addedis-interactive@1.0.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlog-symbols@3.0.0(transitive)
+ Addedmimic-fn@2.1.0(transitive)
+ Addedmute-stream@0.0.8(transitive)
+ Addedonetime@5.1.2(transitive)
+ Addedora@4.1.1(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedrestore-cursor@3.1.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedslice-ansi@2.1.0(transitive)
+ Addedstring-width@2.1.13.1.04.2.3(transitive)
+ Addedstrip-ansi@4.0.05.2.06.0.1(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedtable@5.4.6(transitive)
+ Addedterm-size@2.2.1(transitive)
+ Addedtype-fest@0.8.1(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addedwcwidth@1.0.1(transitive)
+ Addedwidest-line@3.1.0(transitive)
+ Addedwrap-ansi@4.0.0(transitive)
- Removedflex-plugins-api-client@0.4.1(transitive)
- Removedflex-plugins-api-utils@0.4.0(transitive)