auth0-deploy-cli
Advanced tools
Comparing version
@@ -10,2 +10,14 @@ # Changelog | ||
## [8.8.0] - 2025-04-10 | ||
### Added | ||
- Add support for tenant ACL EA support [#1063] | ||
- Add support for new prompts in custom-text [#1064] | ||
### Fixed | ||
- Fix: Remove unsupported ACUL screens for rendering `prompt` screen's settings [#1061] | ||
- Fix: Update node version requirement to 20(v20.18.1) [#1062] | ||
## [8.7.1] - 2025-03-27 | ||
@@ -1279,3 +1291,9 @@ | ||
[#1054]: https://github.com/auth0/auth0-deploy-cli/issues/1054 | ||
[Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v8.7.1...HEAD | ||
[#1061]: https://github.com/auth0/auth0-deploy-cli/issues/1061 | ||
[#1062]: https://github.com/auth0/auth0-deploy-cli/issues/1062 | ||
[#1063]: https://github.com/auth0/auth0-deploy-cli/issues/1063 | ||
[#1064]: https://github.com/auth0/auth0-deploy-cli/issues/1064 | ||
[Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v8.8.0...HEAD | ||
[8.8.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.7.1...v8.8.0 | ||
[8.7.1]: https://github.com/auth0/auth0-deploy-cli/compare/v8.7.0...v8.7.1 | ||
@@ -1282,0 +1300,0 @@ [8.7.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.6.2...v8.7.0 |
@@ -38,2 +38,3 @@ "use strict"; | ||
const flowVaultConnections_1 = __importDefault(require("./flowVaultConnections")); | ||
const networkACLs_1 = __importDefault(require("./networkACLs")); | ||
const selfServiceProfiles_1 = __importDefault(require("./selfServiceProfiles")); | ||
@@ -74,4 +75,5 @@ const directoryHandlers = { | ||
selfServiceProfiles: selfServiceProfiles_1.default, | ||
networkACLs: networkACLs_1.default, | ||
}; | ||
exports.default = directoryHandlers; | ||
//# sourceMappingURL=index.js.map |
@@ -38,2 +38,3 @@ "use strict"; | ||
const flowVaultConnections_1 = __importDefault(require("./flowVaultConnections")); | ||
const networkACLs_1 = __importDefault(require("./networkACLs")); | ||
const selfServiceProfiles_1 = __importDefault(require("./selfServiceProfiles")); | ||
@@ -74,4 +75,5 @@ const yamlHandlers = { | ||
selfServiceProfiles: selfServiceProfiles_1.default, | ||
networkACLs: networkACLs_1.default, | ||
}; | ||
exports.default = yamlHandlers; | ||
//# sourceMappingURL=index.js.map |
@@ -92,2 +92,3 @@ #!/usr/bin/env node | ||
SELF_SERVICE_PROFILE_DIRECTORY: string; | ||
NETWORK_ACLS_DIRECTORY: string; | ||
PROMPT_SCREEN_MAPPINGS: { | ||
@@ -94,0 +95,0 @@ [prompt: string]: string[]; |
@@ -69,2 +69,3 @@ "use strict"; | ||
const selfServiceProfiles = __importStar(require("./selfServiceProfiles")); | ||
const networkACLs = __importStar(require("./networkACLs")); | ||
const auth0ApiHandlers = { | ||
@@ -105,4 +106,5 @@ rules, | ||
selfServiceProfiles, | ||
networkACLs, | ||
}; | ||
exports.default = auth0ApiHandlers; // TODO: apply stronger types to schema properties | ||
//# sourceMappingURL=index.js.map |
import { GetPartialsPromptEnum, GetRendering200Response } from 'auth0'; | ||
import DefaultHandler from './default'; | ||
import { Assets, Language } from '../../../types'; | ||
declare const promptTypes: readonly ["login", "login-id", "login-password", "login-email-verification", "signup", "signup-id", "signup-password", "reset-password", "consent", "mfa-push", "mfa-otp", "mfa-voice", "mfa-phone", "mfa-webauthn", "mfa-sms", "mfa-email", "mfa-recovery-code", "mfa", "status", "device-flow", "email-verification", "email-otp-challenge", "organizations", "invitation", "common"]; | ||
export type PromptTypes = typeof promptTypes[number]; | ||
declare const promptTypes: readonly ["login", "login-id", "login-password", "login-passwordless", "login-email-verification", "signup", "signup-id", "signup-password", "phone-identifier-enrollment", "phone-identifier-challenge", "email-identifier-challenge", "reset-password", "custom-form", "consent", "customized-consent", "logout", "mfa-push", "mfa-otp", "mfa-voice", "mfa-phone", "mfa-webauthn", "mfa-sms", "mfa-email", "mfa-recovery-code", "mfa", "status", "device-flow", "email-verification", "email-otp-challenge", "organizations", "invitation", "common", "captcha"]; | ||
export type PromptTypes = (typeof promptTypes)[number]; | ||
declare const screenTypes: readonly ["login", "login-id", "login-password", "login-email-verification", "signup", "signup-id", "signup-password", "reset-password-request", "reset-password-email", "reset-password", "reset-password-success", "reset-password-error", "consent", "status", "mfa-detect-browser-capabilities", "mfa-enroll-result", "mfa-login-options", "mfa-begin-enroll-options", "mfa-otp-enrollment-qr", "mfa-otp-enrollment-code", "mfa-otp-challenge", "mfa-voice-challenge", "mfa-sms-challenge", "mfa-recovery-code-enrollment", "mfa-recovery-code-challenge", "mfa-country-codes", "mfa-sms-enrollment", "mfa-voice-enrollment", "mfa-phone-challenge", "mfa-phone-enrollment", "mfa-webauthn-roaming-enrollment", "mfa-webauthn-platform-enrollment", "mfa-webauthn-platform-challenge", "mfa-webauthn-roaming-challenge", "mfa-webauthn-change-key-nickname", "mfa-webauthn-enrollment-success", "mfa-webauthn-error", "mfa-webauthn-not-available-error", "mfa-sms-list", "mfa-email-challenge", "mfa-email-list", "mfa-push-welcome", "mfa-push-list", "mfa-push-enrollment-qr", "mfa-push-enrollment-code", "mfa-push-success", "mfa-push-challenge-push", "device-code-activation", "device-code-activation-allowed", "device-code-activation-denied", "device-code-confirmation", "email-verification-result", "email-otp-challenge", "redeem-ticket", "organization-selection", "accept-invitation", "login-passwordless-email-code", "login-passwordless-email-link", "login-passwordless-sms-otp"]; | ||
export type ScreenTypes = typeof screenTypes[number]; | ||
export type ScreenTypes = (typeof screenTypes)[number]; | ||
declare const customPartialsPromptTypes: string[]; | ||
export type CustomPartialsPromptTypes = typeof customPartialsPromptTypes[number]; | ||
export type CustomPartialsScreenTypes = typeof customPartialsPromptTypes[number]; | ||
export type CustomPartialsPromptTypes = (typeof customPartialsPromptTypes)[number]; | ||
export type CustomPartialsScreenTypes = (typeof customPartialsPromptTypes)[number]; | ||
declare const customPartialsInsertionPoints: readonly ["form-content-start", "form-content-end", "form-footer-start", "form-footer-end", "secondary-actions-start", "secondary-actions-end"]; | ||
export type CustomPartialsInsertionPoints = typeof customPartialsInsertionPoints[number]; | ||
export type CustomPartialsInsertionPoints = (typeof customPartialsInsertionPoints)[number]; | ||
export type CustomPromptPartialsScreens = Partial<{ | ||
@@ -14,0 +14,0 @@ [screen in CustomPartialsScreenTypes]: Partial<{ |
@@ -37,2 +37,3 @@ "use strict"; | ||
'login-password', | ||
'login-passwordless', | ||
'login-email-verification', | ||
@@ -42,4 +43,10 @@ 'signup', | ||
'signup-password', | ||
'phone-identifier-enrollment', | ||
'phone-identifier-challenge', | ||
'email-identifier-challenge', | ||
'reset-password', | ||
'custom-form', | ||
'consent', | ||
'customized-consent', | ||
'logout', | ||
'mfa-push', | ||
@@ -61,2 +68,3 @@ 'mfa-otp', | ||
'common', | ||
'captcha', | ||
]; | ||
@@ -63,0 +71,0 @@ const screenTypes = [ |
@@ -87,4 +87,5 @@ import { GetEmailTemplatesByTemplateNameTemplateNameEnum } from 'auth0'; | ||
SELF_SERVICE_PROFILE_DIRECTORY: string; | ||
NETWORK_ACLS_DIRECTORY: string; | ||
PROMPT_SCREEN_MAPPINGS: PromptScreenMapping; | ||
}; | ||
export default constants; |
@@ -207,2 +207,3 @@ "use strict"; | ||
SELF_SERVICE_PROFILE_DIRECTORY: 'self-service-profiles', | ||
NETWORK_ACLS_DIRECTORY: 'network-acls', | ||
PROMPT_SCREEN_MAPPINGS: { | ||
@@ -248,4 +249,2 @@ 'signup-id': ['signup-id'], | ||
'organizations': ['organization-selection', 'organization-picker'], | ||
'consent': ['consent'], | ||
'customized-consent': ['customized-consent'], | ||
'mfa-otp': [ | ||
@@ -252,0 +251,0 @@ 'mfa-otp-challenge', |
@@ -88,2 +88,3 @@ import constants from './constants'; | ||
SELF_SERVICE_PROFILE_DIRECTORY: string; | ||
NETWORK_ACLS_DIRECTORY: string; | ||
PROMPT_SCREEN_MAPPINGS: { | ||
@@ -90,0 +91,0 @@ [prompt: string]: string[]; |
@@ -16,2 +16,3 @@ import { CustomDomain, GetConnectionsStrategyEnum, ManagementClient, ResourceServer } from 'auth0'; | ||
import { PhoneProvider } from './tools/auth0/handlers/phoneProvider'; | ||
import { NetworkACL } from './tools/auth0/handlers/networkACLs'; | ||
type SharedPaginationParams = { | ||
@@ -128,2 +129,3 @@ checkpoint?: boolean; | ||
selfServiceProfiles: SsProfileWithCustomText[] | null; | ||
networkACLs: NetworkACL[] | null; | ||
}>; | ||
@@ -136,3 +138,3 @@ export type CalculatedChanges = { | ||
}; | ||
export type AssetTypes = 'rules' | 'rulesConfigs' | 'hooks' | 'pages' | 'databases' | 'clientGrants' | 'resourceServers' | 'clients' | 'connections' | 'tenant' | 'emailProvider' | 'emailTemplates' | 'guardianFactors' | 'guardianFactorProviders' | 'guardianFactorTemplates' | 'guardianPhoneFactorMessageTypes' | 'guardianPhoneFactorSelectedProvider' | 'guardianPolicies' | 'roles' | 'actions' | 'organizations' | 'triggers' | 'attackProtection' | 'branding' | 'phoneProviders' | 'logStreams' | 'prompts' | 'customDomains' | 'themes' | 'forms' | 'flows' | 'flowVaultConnections' | 'selfServiceProfiles'; | ||
export type AssetTypes = 'rules' | 'rulesConfigs' | 'hooks' | 'pages' | 'databases' | 'clientGrants' | 'resourceServers' | 'clients' | 'connections' | 'tenant' | 'emailProvider' | 'emailTemplates' | 'guardianFactors' | 'guardianFactorProviders' | 'guardianFactorTemplates' | 'guardianPhoneFactorMessageTypes' | 'guardianPhoneFactorSelectedProvider' | 'guardianPolicies' | 'roles' | 'actions' | 'organizations' | 'triggers' | 'attackProtection' | 'branding' | 'phoneProviders' | 'logStreams' | 'prompts' | 'customDomains' | 'themes' | 'forms' | 'flows' | 'flowVaultConnections' | 'selfServiceProfiles' | 'networkACLs'; | ||
export type KeywordMappings = { | ||
@@ -145,3 +147,3 @@ [key: string]: (string | number)[] | string | number; | ||
export declare const languages: readonly ["ar", "bg", "bs", "ca-ES", "cs", "cy", "da", "de", "el", "en", "es", "et", "eu-ES", "fi", "fr", "fr-CA", "fr-FR", "gl-ES", "he", "hi", "hr", "hu", "id", "is", "it", "ja", "ko", "lt", "lv", "nb", "nl", "nn", "no", "pl", "pt", "pt-BR", "pt-PT", "ro", "ru", "sk", "sl", "sr", "sv", "th", "tr", "uk", "vi", "zh-CN", "zh-TW"]; | ||
export type Language = typeof languages[number]; | ||
export type Language = (typeof languages)[number]; | ||
export {}; |
@@ -66,2 +66,3 @@ import { Auth0 } from './tools'; | ||
selfServiceProfiles?: import("./tools/auth0/handlers/selfServiceProfiles").SsProfileWithCustomText[] | null | undefined; | ||
networkACLs?: import("auth0").GetNetworkAclsById200Response[] | null | undefined; | ||
}; | ||
@@ -68,0 +69,0 @@ export declare function sanitize(str: string): string; |
{ | ||
"name": "auth0-deploy-cli", | ||
"version": "8.7.1", | ||
"version": "8.8.0", | ||
"description": "A command line tool for deploying updates to your Auth0 tenant", | ||
@@ -36,3 +36,3 @@ "main": "lib/index.js", | ||
"ajv": "^6.12.6", | ||
"auth0": "^4.20.0", | ||
"auth0": "^4.21.0", | ||
"dot-prop": "^5.3.0", | ||
@@ -46,3 +46,3 @@ "fs-extra": "^10.1.0", | ||
"sanitize-filename": "^1.6.3", | ||
"undici": "^7.5.0", | ||
"undici": "^7.7.0", | ||
"winston": "^3.17.0", | ||
@@ -80,3 +80,3 @@ "yargs": "^15.4.1" | ||
"engines": { | ||
"node": ">= 20.18.3" | ||
"node": ">=20.18.1" | ||
}, | ||
@@ -83,0 +83,0 @@ "keywords": [ |
@@ -73,3 +73,3 @@  | ||
- [Node](https://nodejs.dev/) version 20(v20.18.3) or greater | ||
- [Node](https://nodejs.dev/) version 20(v20.18.1) or greater | ||
- [Auth0 Tenant](https://auth0.com/) | ||
@@ -76,0 +76,0 @@ |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1226675
3.56%419
2.2%17723
4.46%61
1.67%Updated
Updated