auth0-deploy-cli 7.6.0 → 7.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +7 -41
- package/.husky/pre-commit +4 -0
- package/.husky/pre-push +3 -1
- package/.prettierignore +10 -0
- package/.prettierrc.json +4 -0
- package/CHANGELOG.md +222 -7
- package/CONTRIBUTING.md +2 -2
- package/README.md +3 -0
- package/lib/args.d.ts +29 -0
- package/lib/args.js +16 -15
- package/lib/commands/export.d.ts +2 -0
- package/lib/commands/export.js +3 -3
- package/lib/commands/import.d.ts +2 -0
- package/lib/commands/import.js +6 -6
- package/lib/commands/index.d.ts +9 -0
- package/lib/commands/index.js +1 -1
- package/lib/configFactory.d.ts +7 -0
- package/lib/configFactory.js +5 -1
- package/lib/context/defaults.d.ts +1 -0
- package/lib/context/defaults.js +4 -3
- package/lib/context/directory/handlers/actions.d.ts +6 -0
- package/lib/context/directory/handlers/actions.js +3 -3
- package/lib/context/directory/handlers/attackProtection.d.ts +10 -0
- package/lib/context/directory/handlers/attackProtection.js +7 -7
- package/lib/context/directory/handlers/branding.d.ts +6 -0
- package/lib/context/directory/handlers/branding.js +6 -5
- package/lib/context/directory/handlers/clientGrants.d.ts +6 -0
- package/lib/context/directory/handlers/clientGrants.js +3 -2
- package/lib/context/directory/handlers/clients.d.ts +6 -0
- package/lib/context/directory/handlers/clients.js +1 -1
- package/lib/context/directory/handlers/connections.d.ts +6 -0
- package/lib/context/directory/handlers/connections.js +4 -2
- package/lib/context/directory/handlers/databases.d.ts +6 -0
- package/lib/context/directory/handlers/databases.js +13 -7
- package/lib/context/directory/handlers/emailProvider.d.ts +6 -0
- package/lib/context/directory/handlers/emailProvider.js +3 -2
- package/lib/context/directory/handlers/emailTemplates.d.ts +6 -0
- package/lib/context/directory/handlers/emailTemplates.js +2 -2
- package/lib/context/directory/handlers/guardianFactorProviders.d.ts +6 -0
- package/lib/context/directory/handlers/guardianFactorProviders.js +3 -2
- package/lib/context/directory/handlers/guardianFactorTemplates.d.ts +6 -0
- package/lib/context/directory/handlers/guardianFactorTemplates.js +3 -2
- package/lib/context/directory/handlers/guardianFactors.d.ts +6 -0
- package/lib/context/directory/handlers/guardianFactors.js +3 -2
- package/lib/context/directory/handlers/guardianPhoneFactorMessageTypes.d.ts +6 -0
- package/lib/context/directory/handlers/guardianPhoneFactorMessageTypes.js +1 -1
- package/lib/context/directory/handlers/guardianPhoneFactorSelectedProvider.d.ts +6 -0
- package/lib/context/directory/handlers/guardianPhoneFactorSelectedProvider.js +1 -1
- package/lib/context/directory/handlers/guardianPolicies.d.ts +6 -0
- package/lib/context/directory/handlers/guardianPolicies.js +1 -1
- package/lib/context/directory/handlers/hooks.d.ts +6 -0
- package/lib/context/directory/handlers/hooks.js +2 -2
- package/lib/context/directory/handlers/index.d.ts +12 -0
- package/lib/context/directory/handlers/index.js +3 -2
- package/lib/context/directory/handlers/migrations.d.ts +6 -0
- package/lib/context/directory/handlers/organizations.d.ts +6 -0
- package/lib/context/directory/handlers/organizations.js +1 -1
- package/lib/context/directory/handlers/pages.d.ts +6 -0
- package/lib/context/directory/handlers/pages.js +2 -2
- package/lib/context/directory/handlers/resourceServers.d.ts +6 -0
- package/lib/context/directory/handlers/resourceServers.js +3 -2
- package/lib/context/directory/handlers/roles.d.ts +6 -0
- package/lib/context/directory/handlers/roles.js +1 -1
- package/lib/context/directory/handlers/rules.d.ts +6 -0
- package/lib/context/directory/handlers/rules.js +2 -2
- package/lib/context/directory/handlers/rulesConfigs.d.ts +6 -0
- package/lib/context/directory/handlers/rulesConfigs.js +3 -2
- package/lib/context/directory/handlers/tenant.d.ts +10 -0
- package/lib/context/directory/handlers/tenant.js +3 -2
- package/lib/context/directory/handlers/triggers.d.ts +6 -0
- package/lib/context/directory/index.d.ts +17 -0
- package/lib/context/directory/index.js +21 -18
- package/lib/context/index.d.ts +4 -0
- package/lib/context/index.js +83 -61
- package/lib/context/yaml/handlers/actions.d.ts +6 -0
- package/lib/context/yaml/handlers/actions.js +9 -6
- package/lib/context/yaml/handlers/attackProtection.d.ts +6 -0
- package/lib/context/yaml/handlers/attackProtection.js +1 -1
- package/lib/context/yaml/handlers/branding.d.ts +6 -0
- package/lib/context/yaml/handlers/branding.js +5 -4
- package/lib/context/yaml/handlers/clientGrants.d.ts +6 -0
- package/lib/context/yaml/handlers/clientGrants.js +2 -2
- package/lib/context/yaml/handlers/clients.d.ts +6 -0
- package/lib/context/yaml/handlers/clients.js +6 -4
- package/lib/context/yaml/handlers/connections.d.ts +6 -0
- package/lib/context/yaml/handlers/connections.js +7 -5
- package/lib/context/yaml/handlers/databases.d.ts +6 -0
- package/lib/context/yaml/handlers/databases.js +12 -8
- package/lib/context/yaml/handlers/emailProvider.d.ts +6 -0
- package/lib/context/yaml/handlers/emailProvider.js +4 -3
- package/lib/context/yaml/handlers/emailTemplates.d.ts +6 -0
- package/lib/context/yaml/handlers/emailTemplates.js +3 -3
- package/lib/context/yaml/handlers/guardianFactorProviders.d.ts +6 -0
- package/lib/context/yaml/handlers/guardianFactorProviders.js +1 -1
- package/lib/context/yaml/handlers/guardianFactorTemplates.d.ts +6 -0
- package/lib/context/yaml/handlers/guardianFactorTemplates.js +1 -1
- package/lib/context/yaml/handlers/guardianFactors.d.ts +6 -0
- package/lib/context/yaml/handlers/guardianFactors.js +1 -1
- package/lib/context/yaml/handlers/guardianPhoneFactorMessageTypes.d.ts +6 -0
- package/lib/context/yaml/handlers/guardianPhoneFactorMessageTypes.js +1 -1
- package/lib/context/yaml/handlers/guardianPhoneFactorSelectedProvider.d.ts +6 -0
- package/lib/context/yaml/handlers/guardianPhoneFactorSelectedProvider.js +1 -1
- package/lib/context/yaml/handlers/guardianPolicies.d.ts +6 -0
- package/lib/context/yaml/handlers/guardianPolicies.js +1 -1
- package/lib/context/yaml/handlers/hooks.d.ts +6 -0
- package/lib/context/yaml/handlers/hooks.js +4 -3
- package/lib/context/yaml/handlers/index.d.ts +12 -0
- package/lib/context/yaml/handlers/index.js +3 -2
- package/lib/context/yaml/handlers/migrations.d.ts +6 -0
- package/lib/context/yaml/handlers/organizations.d.ts +6 -0
- package/lib/context/yaml/handlers/organizations.js +3 -3
- package/lib/context/yaml/handlers/pages.d.ts +6 -0
- package/lib/context/yaml/handlers/pages.js +3 -3
- package/lib/context/yaml/handlers/resourceServers.d.ts +6 -0
- package/lib/context/yaml/handlers/resourceServers.js +2 -2
- package/lib/context/yaml/handlers/roles.d.ts +6 -0
- package/lib/context/yaml/handlers/roles.js +3 -3
- package/lib/context/yaml/handlers/rules.d.ts +6 -0
- package/lib/context/yaml/handlers/rules.js +3 -3
- package/lib/context/yaml/handlers/rulesConfigs.d.ts +6 -0
- package/lib/context/yaml/handlers/rulesConfigs.js +2 -2
- package/lib/context/yaml/handlers/tenant.d.ts +6 -0
- package/lib/context/yaml/handlers/tenant.js +4 -3
- package/lib/context/yaml/handlers/triggers.d.ts +6 -0
- package/lib/context/yaml/handlers/triggers.js +2 -2
- package/lib/context/yaml/index.d.ts +13 -0
- package/lib/context/yaml/index.js +31 -23
- package/lib/index.d.ts +88 -0
- package/lib/index.js +25 -17
- package/lib/logger.d.ts +2 -0
- package/lib/logger.js +8 -17
- package/lib/readonly.d.ts +2 -0
- package/lib/readonly.js +11 -16
- package/lib/sessionDurationsToMinutes.d.ts +7 -0
- package/lib/sessionDurationsToMinutes.js +15 -0
- package/lib/tools/auth0/client.d.ts +2 -0
- package/lib/tools/auth0/client.js +12 -12
- package/lib/tools/auth0/handlers/actions.d.ts +95 -0
- package/lib/tools/auth0/handlers/actions.js +22 -24
- package/lib/tools/auth0/handlers/attackProtection.d.ts +28 -0
- package/lib/tools/auth0/handlers/attackProtection.js +14 -17
- package/lib/tools/auth0/handlers/branding.d.ts +27 -0
- package/lib/tools/auth0/handlers/branding.js +13 -9
- package/lib/tools/auth0/handlers/clientGrants.d.ts +32 -0
- package/lib/tools/auth0/handlers/clientGrants.js +17 -10
- package/lib/tools/auth0/handlers/clients.d.ts +23 -0
- package/lib/tools/auth0/handlers/clients.js +15 -8
- package/lib/tools/auth0/handlers/connections.d.ts +54 -0
- package/lib/tools/auth0/handlers/connections.js +30 -10
- package/lib/tools/auth0/handlers/databases.d.ts +36 -0
- package/lib/tools/auth0/handlers/databases.js +25 -13
- package/lib/tools/auth0/handlers/default.d.ts +54 -0
- package/lib/tools/auth0/handlers/default.js +62 -36
- package/lib/tools/auth0/handlers/emailProvider.d.ts +11 -0
- package/lib/tools/auth0/handlers/emailTemplates.d.ts +26 -0
- package/lib/tools/auth0/handlers/emailTemplates.js +8 -10
- package/lib/tools/auth0/handlers/guardianFactorProviders.d.ts +25 -0
- package/lib/tools/auth0/handlers/guardianFactorProviders.js +3 -3
- package/lib/tools/auth0/handlers/guardianFactorTemplates.d.ts +21 -0
- package/lib/tools/auth0/handlers/guardianFactorTemplates.js +3 -3
- package/lib/tools/auth0/handlers/guardianFactors.d.ts +21 -0
- package/lib/tools/auth0/handlers/guardianFactors.js +3 -3
- package/lib/tools/auth0/handlers/guardianPhoneFactorMessageTypes.d.ts +21 -0
- package/lib/tools/auth0/handlers/guardianPhoneFactorMessageTypes.js +11 -10
- package/lib/tools/auth0/handlers/guardianPhoneFactorSelectedProvider.d.ts +18 -0
- package/lib/tools/auth0/handlers/guardianPhoneFactorSelectedProvider.js +10 -9
- package/lib/tools/auth0/handlers/guardianPolicies.d.ts +23 -0
- package/lib/tools/auth0/handlers/guardianPolicies.js +5 -4
- package/lib/tools/auth0/handlers/hooks.d.ts +58 -0
- package/lib/tools/auth0/handlers/hooks.js +34 -21
- package/lib/tools/auth0/handlers/index.d.ts +129 -0
- package/lib/tools/auth0/handlers/index.js +31 -27
- package/lib/tools/auth0/handlers/migrations.d.ts +15 -0
- package/lib/tools/auth0/handlers/migrations.js +3 -2
- package/lib/tools/auth0/handlers/organizations.d.ts +51 -0
- package/lib/tools/auth0/handlers/organizations.js +62 -32
- package/lib/tools/auth0/handlers/pages.d.ts +42 -0
- package/lib/tools/auth0/handlers/pages.js +20 -14
- package/lib/tools/auth0/handlers/prompts.d.ts +11 -0
- package/lib/tools/auth0/handlers/prompts.js +1 -0
- package/lib/tools/auth0/handlers/resourceServers.d.ts +51 -0
- package/lib/tools/auth0/handlers/resourceServers.js +22 -14
- package/lib/tools/auth0/handlers/roles.d.ts +48 -0
- package/lib/tools/auth0/handlers/roles.js +56 -32
- package/lib/tools/auth0/handlers/rules.d.ts +55 -0
- package/lib/tools/auth0/handlers/rules.js +53 -36
- package/lib/tools/auth0/handlers/rulesConfigs.d.ts +25 -0
- package/lib/tools/auth0/handlers/rulesConfigs.js +12 -6
- package/lib/tools/auth0/handlers/tenant.d.ts +11 -0
- package/lib/tools/auth0/handlers/tenant.js +8 -4
- package/lib/tools/auth0/handlers/triggers.d.ts +35 -0
- package/lib/tools/auth0/handlers/triggers.js +12 -13
- package/lib/tools/auth0/index.d.ts +15 -0
- package/lib/tools/auth0/index.js +15 -31
- package/lib/tools/auth0/schema.d.ts +15 -0
- package/lib/tools/auth0/schema.js +7 -27
- package/lib/tools/calculateChanges.d.ts +26 -0
- package/lib/tools/calculateChanges.js +12 -7
- package/lib/tools/constants.d.ts +71 -0
- package/lib/tools/constants.js +164 -161
- package/lib/tools/deploy.d.ts +3 -0
- package/lib/tools/deploy.js +3 -3
- package/lib/tools/index.d.ts +82 -0
- package/lib/tools/index.js +1 -1
- package/lib/tools/utils.d.ts +18 -0
- package/lib/tools/utils.js +68 -10
- package/lib/tools/validationError.d.ts +5 -0
- package/lib/tools/{ValidationError.js → validationError.js} +3 -1
- package/lib/types.d.ts +255 -0
- package/lib/types.js +2 -0
- package/lib/utils.d.ts +66 -0
- package/lib/utils.js +18 -25
- package/package.json +16 -7
- package/tsconfig.json +3 -4
- package/typescript-migration-progress.sh +1 -1
- package/lib/tools/logger.js +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -7,217 +7,339 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [7.8.0] - 2022-04-14
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Type declarations for more seamless integration into Typescript projects when used as a module [#485]
|
|
15
|
+
|
|
16
|
+
### Security
|
|
17
|
+
|
|
18
|
+
- Updated Winston from 2.3.x to 3.3.0 which applies fix for theoretical prototype pollution vulnerability [#497]
|
|
19
|
+
|
|
20
|
+
## [7.7.1] - 2022-04-07
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- Deprecation warnings for now deprecated asset-specific exclusion configuration properties: `AUTH0_EXCLUDED_RULES`, `AUTH0_EXCLUDED_CLIENTS`, `AUTH0_EXCLUDED_DATABASES`, `AUTH0_EXCLUDED_CONNECTIONS`, `AUTH0_EXCLUDED_RESOURCE_SERVERS`, `AUTH0_EXCLUDED_DEFAULTS`. See [Resource Exclusion Proposal](https://github.com/auth0/auth0-deploy-cli/issues/451#user-content-deprecated-exclusion-props) for details. [#481]
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- Rules configs failing to update after regression prevented asset-specific overrides of Node Auth0 SDK methods [#482]
|
|
29
|
+
- Attack protection not replacing keywords [#478]
|
|
30
|
+
|
|
31
|
+
## [7.7.0] - 2022-04-06
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
|
|
35
|
+
- Exclusion of entire resource types via the `AUTH0_EXCLUDED` configuration parameter. See [Resource Exclusion Proposal](https://github.com/auth0/auth0-deploy-cli/issues/451) for details. [#468]
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- `idle_session_lifetime` and `session_lifetime` values properly ignored on update if inheriting default tenant values.[#471]
|
|
40
|
+
|
|
10
41
|
## [7.6.0] - 2022-03-25
|
|
42
|
+
|
|
11
43
|
### Added
|
|
44
|
+
|
|
12
45
|
- New branding template feature support [#438]
|
|
13
46
|
|
|
14
47
|
### Fixed
|
|
48
|
+
|
|
15
49
|
- Colliding `e` parameter alias between `export_ids` and `env` [#453]
|
|
16
50
|
|
|
17
51
|
## [7.5.2] - 2022-03-15
|
|
52
|
+
|
|
18
53
|
### Fixed
|
|
54
|
+
|
|
19
55
|
- Resetting this version to be latest on NPM
|
|
20
56
|
|
|
21
57
|
## [7.5.1] - 2022-03-11
|
|
58
|
+
|
|
22
59
|
### Fixed
|
|
60
|
+
|
|
23
61
|
- Updating dead link in logging output [#436]
|
|
24
62
|
- Fixing `--env` flag to properly dictate environment variable inheritance [#432]
|
|
25
63
|
|
|
26
64
|
## [7.5.0] - 2022-03-08
|
|
65
|
+
|
|
27
66
|
### Added
|
|
67
|
+
|
|
28
68
|
- Support for attack protection configuration management [#428]
|
|
29
69
|
|
|
30
70
|
### Fixed
|
|
71
|
+
|
|
31
72
|
- Excluded connection properties from getting deleted upon update [#430]
|
|
32
73
|
- Organizations in YAML format are skipped when not defined [#388]
|
|
33
74
|
|
|
34
75
|
## [7.4.0] - 2022-02-24
|
|
76
|
+
|
|
35
77
|
### Added
|
|
78
|
+
|
|
36
79
|
- Allowing @@ array variable replacement to work when wrapped in quotes [#421]
|
|
37
80
|
|
|
38
81
|
### Fixed
|
|
82
|
+
|
|
39
83
|
- Eliminated benign `client_metadata` warnings on import [#416]
|
|
40
84
|
- Fixing request abstraction from losing function scope, enabling Auth0 Node SDK updates [#412]
|
|
41
85
|
|
|
42
86
|
### Security
|
|
87
|
+
|
|
43
88
|
- Updating Auth0 Node SDK to 2.40.0 which fixes minor dependency vulnerability
|
|
44
89
|
|
|
45
90
|
## [7.3.7] - 2022-02-03
|
|
91
|
+
|
|
46
92
|
### Fixed
|
|
93
|
+
|
|
47
94
|
- Expose errors that may be silently missed in Actions [#408]
|
|
48
95
|
|
|
49
96
|
## [7.3.6] - 2022-02-02
|
|
97
|
+
|
|
50
98
|
### Fixed
|
|
99
|
+
|
|
51
100
|
- Fix errors caused by incompatibilities introduced by new versions of Auth0 SDK [#406]
|
|
52
101
|
|
|
53
102
|
## [7.3.5] - 2022-01-27
|
|
103
|
+
|
|
54
104
|
### Fixed
|
|
105
|
+
|
|
55
106
|
- Fix an error with the function context [#403]
|
|
56
107
|
|
|
57
108
|
## [7.3.4] - 2022-01-26
|
|
109
|
+
|
|
58
110
|
### Fixed
|
|
111
|
+
|
|
59
112
|
- Fix pagination [#401]
|
|
60
113
|
|
|
61
114
|
## [7.3.3] - 2022-01-26
|
|
115
|
+
|
|
62
116
|
### Fixed
|
|
117
|
+
|
|
63
118
|
- Fix pagination [#400]
|
|
64
119
|
|
|
65
120
|
### Security
|
|
121
|
+
|
|
66
122
|
- Security fixes from dependencies
|
|
67
123
|
|
|
68
124
|
## [7.3.2] - 2021-12-14
|
|
125
|
+
|
|
69
126
|
### Security
|
|
127
|
+
|
|
70
128
|
- Fixes dependency security issues
|
|
71
129
|
|
|
72
130
|
## [7.3.1] - 2021-09-21
|
|
131
|
+
|
|
73
132
|
### Fixed
|
|
133
|
+
|
|
74
134
|
- Error when authenticating with AUTH0_CLIENT_ID and AUTH0_CLIENT_SECRET with Node.js prior to v14
|
|
75
135
|
|
|
76
136
|
## [7.3.0] - 2021-09-20
|
|
137
|
+
|
|
77
138
|
### Added
|
|
139
|
+
|
|
78
140
|
- Allow set of AUTH0_AUDIENCE for custom domain [#379] (credit @AliBazzi)
|
|
79
141
|
|
|
80
142
|
### Fixed
|
|
143
|
+
|
|
81
144
|
- Load file configured in customScripts for DB Connections [#367] (credit @skukx)
|
|
82
145
|
|
|
83
146
|
### Security
|
|
147
|
+
|
|
84
148
|
- Security fixes from dependencies
|
|
85
149
|
|
|
86
150
|
## [7.2.1] - 2021-08-23
|
|
151
|
+
|
|
87
152
|
### Fixed
|
|
153
|
+
|
|
88
154
|
- [IDS-3074] Updated structure when dumping orgs (#369)
|
|
89
|
-
|
|
155
|
+
|
|
90
156
|
Fixes an issue when exporting organizations as a directory, connections are not structured in the right way, causing the import to remove any connection on the organizations.
|
|
157
|
+
|
|
91
158
|
- [DXEX-1721] Fix client metadata property deletion
|
|
92
|
-
|
|
159
|
+
|
|
93
160
|
Fixes an inconsistency between how we calculate changes on deep metadata-like objects and with how APIv2 expects such changes to be expressed when a property is deleted.
|
|
161
|
+
|
|
94
162
|
- Bump js-yaml from 3.x to 4.x and move to kacl (#371)
|
|
95
|
-
|
|
163
|
+
|
|
96
164
|
This PR bumps js-yaml from 3.x to 4.x in accordance with its migration guide. This bump means that we're able to use the default safe behaviour for both exports and imports.
|
|
97
|
-
|
|
165
|
+
|
|
98
166
|
Notably, this means that we won't end up with values like !<tag:yaml.org,2002:js/undefined> '' that are not at all human friendly and were problematic when we used the .safeLoad functionality.
|
|
99
167
|
|
|
100
168
|
## [7.2.0] - 2021-07-14
|
|
169
|
+
|
|
101
170
|
### Added
|
|
171
|
+
|
|
102
172
|
- Add runtime property for actions [#364]
|
|
103
173
|
|
|
104
174
|
## [7.1.1] - 2021-06-23
|
|
175
|
+
|
|
105
176
|
### Added
|
|
177
|
+
|
|
106
178
|
- Export tools module
|
|
107
179
|
|
|
108
180
|
### Fixed
|
|
181
|
+
|
|
109
182
|
- Fix exception when actions is undefined [#361]
|
|
110
183
|
- yargs should not be called when required as a module
|
|
111
184
|
|
|
112
185
|
## [7.1.0] - 2021-06-23
|
|
186
|
+
|
|
113
187
|
### Changed
|
|
188
|
+
|
|
114
189
|
- Actions refactoring and fixes [#356]
|
|
115
190
|
- Bump auth0@2.35.1
|
|
116
191
|
|
|
117
192
|
## [7.0.0] - 2021-06-11
|
|
193
|
+
|
|
118
194
|
### Added
|
|
195
|
+
|
|
119
196
|
- MFA-1174 Support Recovery Codes
|
|
120
197
|
- Support for organizations
|
|
121
198
|
- Prompt link to Auth0 Docs upon insufficient scope
|
|
122
199
|
|
|
123
200
|
### Changed
|
|
201
|
+
|
|
124
202
|
- Removed dependency on `auth0-source-control-extension-tools`, the package is not part of `auth0-deploy-cli`
|
|
125
203
|
- Removed dependency on `auth-extension-tools`
|
|
126
204
|
|
|
127
205
|
### Deprecated
|
|
206
|
+
|
|
128
207
|
- Dropped Node.js 8 support
|
|
129
208
|
|
|
130
209
|
### Fixed
|
|
210
|
+
|
|
131
211
|
- Upstream node registry
|
|
132
212
|
|
|
133
213
|
### Security
|
|
214
|
+
|
|
134
215
|
- Security fixes from dependencies
|
|
135
216
|
|
|
136
217
|
## [6.0.0] - 2020-12-28
|
|
218
|
+
|
|
137
219
|
### Deprecated
|
|
220
|
+
|
|
138
221
|
- This release has been withdrawn
|
|
139
222
|
|
|
140
223
|
## [5.5.7] - 2021-05-19
|
|
224
|
+
|
|
141
225
|
### Added
|
|
226
|
+
|
|
142
227
|
- Add Support Recovery Codes by bumping auth0-source-control-extension-tools@4.7.2
|
|
143
228
|
|
|
144
229
|
## [5.5.6] - 2021-04-21
|
|
230
|
+
|
|
145
231
|
### Fixed
|
|
232
|
+
|
|
146
233
|
- Fix EXCLUDE_PROPS behaviour for connections and databases.
|
|
147
234
|
|
|
148
235
|
## [5.5.5] - 2021-03-26
|
|
236
|
+
|
|
149
237
|
### Fixed
|
|
238
|
+
|
|
150
239
|
- Broken dependencies on 4.5.x range of source-countrol-extension-tools because of organizations.
|
|
151
240
|
|
|
152
241
|
## [5.5.4] - 2021-03-12
|
|
242
|
+
|
|
153
243
|
### Fixed
|
|
244
|
+
|
|
154
245
|
- Remove limit on permissions in roles
|
|
155
246
|
|
|
156
247
|
## [5.5.3] - 2021-03-10
|
|
248
|
+
|
|
157
249
|
### Added
|
|
250
|
+
|
|
158
251
|
- Add webauthn platform as a supported factor
|
|
159
252
|
|
|
160
253
|
## [5.5.2] - 2021-03-10
|
|
254
|
+
|
|
161
255
|
### Fixed
|
|
256
|
+
|
|
162
257
|
- Fix pagination when computing changes
|
|
163
258
|
|
|
164
259
|
## [5.5.1] - 2021-03-03
|
|
260
|
+
|
|
165
261
|
### Fixed
|
|
262
|
+
|
|
166
263
|
- Fix issues with retrieving more than 50 roles
|
|
167
264
|
|
|
168
265
|
## [5.5.0] - 2021-01-28
|
|
266
|
+
|
|
169
267
|
### Added
|
|
268
|
+
|
|
170
269
|
- Add support for `verify_email_by_code` email template [#309]
|
|
171
270
|
|
|
172
271
|
## [5.3.2] - 2020-12-17
|
|
272
|
+
|
|
173
273
|
### Fixed
|
|
274
|
+
|
|
174
275
|
- Fix keyword mapping in client page templates [ESD-10528] [#291]
|
|
175
276
|
|
|
176
277
|
## [5.3.1] - 2020-11-16
|
|
278
|
+
|
|
177
279
|
### Fixed
|
|
280
|
+
|
|
178
281
|
- Fix report error exporting hooks by bumping auth0-source-control-extension-tools@4.1.12 [#289]
|
|
179
282
|
- Add MFA factor webauthn-roaming support by bumping auth0-source-control-extension-tools@4.1.12 [#289]
|
|
180
283
|
|
|
181
284
|
## [5.3.0] - 2020-11-05
|
|
285
|
+
|
|
182
286
|
### Changed
|
|
287
|
+
|
|
183
288
|
- Return database `enabled_clients` in deterministic order [#281]
|
|
184
289
|
|
|
185
290
|
### Fixed
|
|
291
|
+
|
|
186
292
|
- Fix the structure of the example policies.json, and correct the guardianPolicies test to use `all-applications` instead of `all-application` [#278]
|
|
187
293
|
- Fix pagination for specific API calls by bumping auth0-source-control-extension-tools@4.1.9 [#287]
|
|
188
294
|
|
|
189
295
|
## [5.2.1] - 2020-09-23
|
|
296
|
+
|
|
190
297
|
### Fixed
|
|
298
|
+
|
|
191
299
|
- Issue with client grants deleted when using AUTH0_EXCLUDED_CLIENTS
|
|
192
300
|
|
|
193
301
|
## [5.2.0] - 2020-09-17
|
|
302
|
+
|
|
194
303
|
### Fixed
|
|
304
|
+
|
|
195
305
|
- Always sort custom database scripts alphabetically
|
|
196
306
|
|
|
197
307
|
## [5.1.6] - 2020-09-15
|
|
308
|
+
|
|
198
309
|
### Fixed
|
|
310
|
+
|
|
199
311
|
- Add new line support to JSON files generated in directory dumps
|
|
200
312
|
- Move write file method to common util
|
|
201
313
|
- Update `auth0-source-control-extension-tools`
|
|
202
314
|
|
|
203
315
|
## [5.1.5] - 2020-08-13
|
|
316
|
+
|
|
204
317
|
### Fixed
|
|
318
|
+
|
|
205
319
|
- The --proxy_url option should work properly now. (Although only on Node >= 10).
|
|
206
320
|
|
|
207
321
|
## [5.1.4] - 2020-08-12
|
|
322
|
+
|
|
208
323
|
### Fixed
|
|
324
|
+
|
|
209
325
|
- Connections disabled when the client is added AUTH0_EXCLUDED_CLIENTS list.
|
|
210
326
|
|
|
211
327
|
## [5.1.3] - 2020-08-04
|
|
328
|
+
|
|
212
329
|
### Fixed
|
|
330
|
+
|
|
213
331
|
- Many entities were not being fetched via the Paging API properly.
|
|
214
332
|
|
|
215
333
|
## [5.1.3] - 2020-08-04
|
|
334
|
+
|
|
216
335
|
### Fixed
|
|
336
|
+
|
|
217
337
|
- Many entities were not being fetched via the Paging API properly.
|
|
218
338
|
|
|
219
339
|
## [5.1.0] - 2020-07-09
|
|
340
|
+
|
|
220
341
|
### Added
|
|
342
|
+
|
|
221
343
|
- Add support for three guardian/MFA-related features:
|
|
222
344
|
- Guardian Policies
|
|
223
345
|
- Guardian Phone factor selected provider
|
|
@@ -225,23 +347,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
225
347
|
- Adds support for Migrations
|
|
226
348
|
|
|
227
349
|
## [5.0.0] - 2020-06-04
|
|
350
|
+
|
|
228
351
|
### Added
|
|
352
|
+
|
|
229
353
|
- Allow excluding default values for emailProvider with `AUTH0_EXCLUDED_DEFAULTS` [#236]
|
|
230
354
|
|
|
231
355
|
### Changed
|
|
356
|
+
|
|
232
357
|
- [**Breaking**] Updated dependencies and deprecated support for Node versions earlier than 8 via babel@7 and dot-prop@5 [#242]
|
|
233
358
|
|
|
234
359
|
### Fixed
|
|
360
|
+
|
|
235
361
|
- pages: fix error when dumping error_page without html property [#247]
|
|
236
362
|
|
|
237
363
|
## [4.3.1] - 2020-05-20
|
|
364
|
+
|
|
238
365
|
### Fixed
|
|
366
|
+
|
|
239
367
|
- Fixed broken mkdirp package dependency
|
|
240
368
|
|
|
241
369
|
## [4.3.0] - 2020-05-18
|
|
370
|
+
|
|
242
371
|
### Removed
|
|
372
|
+
|
|
243
373
|
- Removed several unused dependencies:
|
|
244
|
-
|
|
374
|
+
|
|
245
375
|
- ajv
|
|
246
376
|
- e6-template-strings
|
|
247
377
|
- node-storage
|
|
@@ -249,174 +379,250 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
249
379
|
- xregexp
|
|
250
380
|
|
|
251
381
|
## [4.2.2] - 2020-05-04
|
|
382
|
+
|
|
252
383
|
### Added
|
|
384
|
+
|
|
253
385
|
- Support for phone message hook added.
|
|
254
386
|
- Configurable connections directory with `AUTH0_CONNECTIONS_DIRECTORY`.
|
|
255
387
|
|
|
256
388
|
### Removed
|
|
389
|
+
|
|
257
390
|
- Remove data from verify email example to prevent copy and paste misuse.
|
|
258
391
|
|
|
259
392
|
## [4.2.1] - 2020-04-06
|
|
393
|
+
|
|
260
394
|
### Fixed
|
|
395
|
+
|
|
261
396
|
- Fixed rules' reorder to avoid order collisions by updating `auth0-source-control-extension-tools`
|
|
262
397
|
|
|
263
398
|
## [4.2.0] - 2020-03-28
|
|
399
|
+
|
|
264
400
|
### Fixed
|
|
401
|
+
|
|
265
402
|
- When importing SAML database connections, support client name in the `options.idpinitiated.client_id` property.
|
|
266
403
|
- When exporting SAML database connections, convert client ID to client name.
|
|
267
404
|
|
|
268
405
|
## [4.1.0] - 2020-03-28
|
|
406
|
+
|
|
269
407
|
### Fixed
|
|
408
|
+
|
|
270
409
|
- When exporting a mailgun email provider, a placholder api key will be included in the export..
|
|
271
410
|
|
|
272
411
|
## [4.0.3] - 2020-03-18
|
|
412
|
+
|
|
273
413
|
### Fixed
|
|
414
|
+
|
|
274
415
|
- Programmatic usage will not complain about args. [#215]
|
|
275
416
|
|
|
276
417
|
## [4.0.2] - 2020-02-28
|
|
418
|
+
|
|
277
419
|
### Added
|
|
420
|
+
|
|
278
421
|
- Included Deploy CLI version number in User-Agent header.
|
|
279
422
|
- If no command line arguments are passed, the usage statement will be printed.
|
|
280
423
|
|
|
281
424
|
## [4.0.1] - 2020-02-05
|
|
425
|
+
|
|
282
426
|
### Changed
|
|
427
|
+
|
|
283
428
|
- Update `auth0-source-control-extension-tools`
|
|
284
429
|
|
|
285
430
|
### Fixed
|
|
431
|
+
|
|
286
432
|
- Fixed import and export errors when roles and hooks are not available
|
|
287
433
|
|
|
288
434
|
## [4.0.0] - 2020-01-29
|
|
435
|
+
|
|
289
436
|
### Added
|
|
437
|
+
|
|
290
438
|
- Add support for Hooks and Hook Secrets
|
|
291
439
|
- Update `auth0`, `auth0-extension-tools`, `auth0-source-control-extension-tools`, and `js-yaml`
|
|
292
440
|
|
|
293
441
|
## [3.6.7] - 2020-01-08
|
|
442
|
+
|
|
294
443
|
### Fixed
|
|
444
|
+
|
|
295
445
|
- Fixed a crash when no roles are present in a tenant during an export
|
|
296
446
|
|
|
297
447
|
## [3.6.5] - 2019-12-19
|
|
448
|
+
|
|
298
449
|
### Added
|
|
450
|
+
|
|
299
451
|
- Add readonly flag `remove_stale_idp_attributes`
|
|
300
452
|
|
|
301
453
|
## [3.6.4] - 2019-12-04
|
|
454
|
+
|
|
302
455
|
### Changed
|
|
456
|
+
|
|
303
457
|
- Update `https-proxy-agent` and `js-yaml`
|
|
304
458
|
|
|
305
459
|
## [3.6.3] - 2019-11-04
|
|
460
|
+
|
|
306
461
|
### Added
|
|
462
|
+
|
|
307
463
|
- Add `AUTH0_API_MAX_RETRIES` support
|
|
308
464
|
|
|
309
465
|
## [3.6.2] - 2019-10-18
|
|
466
|
+
|
|
310
467
|
### Fixed
|
|
468
|
+
|
|
311
469
|
- Fix mapping for passwordless email connection template
|
|
312
470
|
|
|
313
471
|
## [3.6.1] - 2019-09-27
|
|
472
|
+
|
|
314
473
|
### Removed
|
|
474
|
+
|
|
315
475
|
- Removed `--verbose` option
|
|
316
476
|
|
|
317
477
|
## [3.6.0] - 2019-08-26
|
|
478
|
+
|
|
318
479
|
### Changed
|
|
480
|
+
|
|
319
481
|
- Update `auth0-extension-tools`
|
|
320
482
|
|
|
321
483
|
### Fixed
|
|
484
|
+
|
|
322
485
|
- Clear empty descriptions on roles
|
|
323
486
|
|
|
324
487
|
## [3.5.0] - 2019-08-14
|
|
488
|
+
|
|
325
489
|
### Added
|
|
490
|
+
|
|
326
491
|
- Ability to exclude connections and databases (AUTH0_EXCLUDED_CONNECTIONS & AUTH0_EXCLUDED_DATABASES)
|
|
327
492
|
|
|
328
493
|
### Fixed
|
|
494
|
+
|
|
329
495
|
- Excludes for yaml import
|
|
330
496
|
|
|
331
497
|
## [3.4.0] - 2019-07-15
|
|
498
|
+
|
|
332
499
|
### Added
|
|
500
|
+
|
|
333
501
|
- Load email template for passwordless email connection from external html file [#124]
|
|
334
502
|
- Load custom_login_page template for client from external html file [#138]
|
|
335
503
|
|
|
336
504
|
## [3.3.2] - 2019-07-11
|
|
505
|
+
|
|
337
506
|
### Changed
|
|
507
|
+
|
|
338
508
|
- pin minor version of source-control-tools@~3.4.1
|
|
339
509
|
|
|
340
510
|
## [3.3.1] - 2019-06-13
|
|
511
|
+
|
|
341
512
|
### Fixed
|
|
513
|
+
|
|
342
514
|
- `allowed_clients`, `allowed_logout_urls`, `allowed_origins` and `callbacks` properties of the `client` can no longer be exported as `null`
|
|
343
515
|
|
|
344
516
|
## [3.3.0] - 2019-04-22
|
|
517
|
+
|
|
345
518
|
### Added
|
|
519
|
+
|
|
346
520
|
- Support for roles and permissions export and import
|
|
347
521
|
|
|
348
522
|
## [3.2.0] - 2019-04-12
|
|
523
|
+
|
|
349
524
|
### Changed
|
|
525
|
+
|
|
350
526
|
- Secrets (`rules configs` and databases `options.configuration`) can no longer be exported
|
|
351
527
|
|
|
352
528
|
## [3.1.3] - 2019-04-03
|
|
529
|
+
|
|
353
530
|
### Added
|
|
531
|
+
|
|
354
532
|
- Clearing empty tenant flags on `import`
|
|
355
533
|
|
|
356
534
|
## [3.1.2] - 2019-03-22
|
|
535
|
+
|
|
357
536
|
### Added
|
|
537
|
+
|
|
358
538
|
- Consistent property sorting for yaml dump [#108] [#61] [#82]
|
|
359
539
|
|
|
360
540
|
## [3.1.1] - 2019-03-15
|
|
541
|
+
|
|
361
542
|
### Fixed
|
|
543
|
+
|
|
362
544
|
- Exit status code on error [#107]
|
|
363
545
|
|
|
364
546
|
## [3.1.0] - 2019-03-14
|
|
547
|
+
|
|
365
548
|
### Added
|
|
549
|
+
|
|
366
550
|
- `AUTH0_EXCLUDED_CLIENTS` option has been added to the config. Works similar to `AUTH0_EXCLUDED_RULES` and `AUTH0_EXCLUDED_RESOURCE_SERVERS`. [#102]
|
|
367
551
|
|
|
368
552
|
## [3.0.2] - 2019-03-12
|
|
553
|
+
|
|
369
554
|
### Fixed
|
|
555
|
+
|
|
370
556
|
- Remove empty `flags` property from tenant settings [#104]
|
|
371
557
|
|
|
372
558
|
## [3.0.1] - 2019-03-04
|
|
559
|
+
|
|
373
560
|
### Fixed
|
|
561
|
+
|
|
374
562
|
- fix readonly `flags.enable_sso`
|
|
375
563
|
|
|
376
564
|
## [3.0.0] - 2019-03-04
|
|
565
|
+
|
|
377
566
|
### Added
|
|
567
|
+
|
|
378
568
|
- Options added to the config:
|
|
379
569
|
- `INCLUDED_PROPS` - enables export of properties that are excluded by default (e.g. `client_secret`)
|
|
380
570
|
- `EXCLUDED_PROPS` - provides ability to exclude any unwanted properties from exported objects
|
|
381
571
|
|
|
382
572
|
### Changed
|
|
573
|
+
|
|
383
574
|
- `--strip` option has been removed from `export` command. Now **IDs will be stripped by default**. `AUTH0_EXPORT_IDENTIFIERS: true` or `--export_ids` can be used to override.
|
|
384
575
|
|
|
385
576
|
## [2.3.3] - 2019-03-04
|
|
577
|
+
|
|
386
578
|
### Fixed
|
|
579
|
+
|
|
387
580
|
- backport readonly `flags.enable_sso`
|
|
388
581
|
|
|
389
582
|
## [2.3.2] - 2019-03-02
|
|
583
|
+
|
|
390
584
|
### Changed
|
|
585
|
+
|
|
391
586
|
- set `enable_sso` and `sandbox_version` as readonly properties
|
|
392
587
|
- alias `export = dump` and `import = deploy` for programmatic usage
|
|
393
588
|
|
|
394
589
|
## [2.3.1] - 2019-02-27
|
|
590
|
+
|
|
395
591
|
### Changed
|
|
592
|
+
|
|
396
593
|
- convert non-integer `session_lifetime` to minutes [#95]
|
|
397
594
|
- update `auth0-source-control-extension-tools`
|
|
398
595
|
- Fix email provider export
|
|
399
596
|
- Process empty arrays of databases
|
|
400
597
|
|
|
401
598
|
## [2.3.0] - 2019-02-21
|
|
599
|
+
|
|
402
600
|
### Changed
|
|
601
|
+
|
|
403
602
|
- Empty arrays in the `tenant.yaml` (`clients: []`) will now lead to deleting all relevant records from the tenant. [#89]
|
|
404
603
|
- Update environment variable explanation in READMEs. [#90]
|
|
405
604
|
- Sanitize file and folder names. [#92]
|
|
406
605
|
|
|
407
606
|
## [2.2.5] - 2019-02-04
|
|
607
|
+
|
|
408
608
|
### Changed
|
|
609
|
+
|
|
409
610
|
- Fix for using the wrong proxy reference. [#80]
|
|
410
611
|
|
|
411
612
|
## [2.2.4] - 2019-01-17
|
|
613
|
+
|
|
412
614
|
### Added
|
|
615
|
+
|
|
413
616
|
- Added 'name' prop to pages examples [#76]
|
|
414
617
|
|
|
415
618
|
### Changed
|
|
619
|
+
|
|
416
620
|
- Fix various schema validation issues. auth0-extensions/auth0-source-control-extension-tools PRs [#52] thru [#57]
|
|
417
621
|
|
|
418
622
|
## 2.2.0 - 2018-11-28
|
|
623
|
+
|
|
419
624
|
### Changed
|
|
625
|
+
|
|
420
626
|
- Update package dependency which contains security vulnerabilities.
|
|
421
627
|
|
|
422
628
|
[#52]: https://github.com/auth0/auth0-deploy-cli/issues/52
|
|
@@ -465,8 +671,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
465
671
|
[#436]: https://github.com/auth0/auth0-deploy-cli/issues/436
|
|
466
672
|
[#438]: https://github.com/auth0/auth0-deploy-cli/issues/438
|
|
467
673
|
[#453]: https://github.com/auth0/auth0-deploy-cli/issues/453
|
|
468
|
-
|
|
469
|
-
[
|
|
674
|
+
[#468]: https://github.com/auth0/auth0-deploy-cli/issues/468
|
|
675
|
+
[#471]: https://github.com/auth0/auth0-deploy-cli/issues/471
|
|
676
|
+
[#478]: https://github.com/auth0/auth0-deploy-cli/issues/478
|
|
677
|
+
[#481]: https://github.com/auth0/auth0-deploy-cli/issues/481
|
|
678
|
+
[#482]: https://github.com/auth0/auth0-deploy-cli/issues/482
|
|
679
|
+
[#485]: https://github.com/auth0/auth0-deploy-cli/issues/485
|
|
680
|
+
[#497]: https://github.com/auth0/auth0-deploy-cli/issues/497
|
|
681
|
+
[unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v7.8.0...HEAD
|
|
682
|
+
[7.8.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.7.1...v7.8.0
|
|
683
|
+
[7.7.1]: https://github.com/auth0/auth0-deploy-cli/compare/v7.7.0...v7.7.1
|
|
684
|
+
[7.7.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.6.0...v7.7.0
|
|
470
685
|
[7.6.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.5.2...v7.6.0
|
|
471
686
|
[7.5.2]: https://github.com/auth0/auth0-deploy-cli/compare/v7.5.1...v7.5.2
|
|
472
687
|
[7.5.1]: https://github.com/auth0/auth0-deploy-cli/compare/v7.5.0...v7.5.1
|
package/CONTRIBUTING.md
CHANGED
|
@@ -7,7 +7,7 @@ Ensure that before running the versioning scripts below, the Unreleased changelo
|
|
|
7
7
|
### Production Versioning
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
npm version patch --no-git-tag-version
|
|
10
|
+
npm version patch --no-git-tag-version
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
### Beta Versioning
|
|
@@ -25,4 +25,4 @@ Publishing the beta should be done manually:
|
|
|
25
25
|
```sh
|
|
26
26
|
npm run build
|
|
27
27
|
npm publish --tag beta
|
|
28
|
-
```
|
|
28
|
+
```
|
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@ Auth0 supports continuous integration and deployment (CI/CD) of Auth0 Tenants an
|
|
|
5
5
|
The `auth0-deploy-cli` tool supports the importing and exporting of Auth0 Tenant configuration data.
|
|
6
6
|
|
|
7
7
|
Supported Auth0 Management API resources
|
|
8
|
+
|
|
8
9
|
- [x] [Actions](https://auth0.com/docs/api/management/v2/#!/Actions/get_actions)
|
|
9
10
|
- [ ] [Branding](https://auth0.com/docs/api/management/v2/#!/Branding/get_branding)
|
|
10
11
|
- [x] [Clients (Applications)](https://auth0.com/docs/api/management/v2#!/Clients/get_clients)
|
|
@@ -47,7 +48,9 @@ Supported Auth0 Management API resources
|
|
|
47
48
|
Please visit Auth0 Doc for this [Deploy CLI Tool](https://auth0.com/docs/deploy/deploy-cli-tool)
|
|
48
49
|
|
|
49
50
|
# Integrating with popular CI/CD pipelines
|
|
51
|
+
|
|
50
52
|
Please visit Auth0 Marketplace Guide for:
|
|
53
|
+
|
|
51
54
|
- [Azure Pipelines](https://marketplace.auth0.com/integrations/azure-pipeline)
|
|
52
55
|
- [Bitbucket Pipelines](https://marketplace.auth0.com/integrations/bitbucket-pipeline)
|
|
53
56
|
- [GitLab Pipelines](https://marketplace.auth0.com/integrations/gitlab-pipeline)
|
package/lib/args.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Config } from './types';
|
|
2
|
+
declare type SharedParams = {
|
|
3
|
+
proxy_url?: string;
|
|
4
|
+
debug?: boolean;
|
|
5
|
+
config_file?: string;
|
|
6
|
+
env?: boolean;
|
|
7
|
+
secret?: string;
|
|
8
|
+
base_path?: string;
|
|
9
|
+
config?: Partial<Config>;
|
|
10
|
+
};
|
|
11
|
+
declare type ImportSpecificParams = {
|
|
12
|
+
input_file: string;
|
|
13
|
+
};
|
|
14
|
+
declare type ExportSpecificParams = {
|
|
15
|
+
format: 'yaml' | 'directory';
|
|
16
|
+
output_folder: string;
|
|
17
|
+
export_ids?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export declare type ExportParams = ExportSpecificParams & SharedParams;
|
|
20
|
+
export declare type ImportParams = ImportSpecificParams & SharedParams;
|
|
21
|
+
export declare type CliParams = (ExportParams | ImportParams) & {
|
|
22
|
+
_: ['export' | 'import' | 'deploy' | 'dump'];
|
|
23
|
+
};
|
|
24
|
+
declare function getParams(): CliParams;
|
|
25
|
+
declare const _default: {
|
|
26
|
+
getParams: typeof getParams;
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export { getParams };
|