auth0-deploy-cli 8.2.0 → 8.3.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/.nyc_output/ecad2d34-1d34-48d9-9a0d-bb4c26508a9c.json +1 -0
- package/.nyc_output/processinfo/03941aa4-af45-42de-9432-07c6d9373eb4.json +1 -0
- package/.nyc_output/processinfo/2150f3c4-9262-4d47-b5b2-eb3f4d0f8111.json +1 -0
- package/.nyc_output/processinfo/ecad2d34-1d34-48d9-9a0d-bb4c26508a9c.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +16 -1
- package/coverage/lcov-report/index.html +47 -47
- package/coverage/lcov.info +1649 -1384
- package/lib/context/directory/handlers/index.js +2 -0
- package/lib/context/directory/handlers/index.js.map +1 -1
- package/lib/context/directory/handlers/selfServiceProfiles.d.ts +6 -0
- package/lib/context/directory/handlers/selfServiceProfiles.js +61 -0
- package/lib/context/directory/handlers/selfServiceProfiles.js.map +1 -0
- package/lib/context/directory/index.js +17 -7
- package/lib/context/directory/index.js.map +1 -1
- package/lib/context/yaml/handlers/index.js +2 -0
- package/lib/context/yaml/handlers/index.js.map +1 -1
- package/lib/context/yaml/handlers/selfServiceProfiles.d.ts +6 -0
- package/lib/context/yaml/handlers/selfServiceProfiles.js +46 -0
- package/lib/context/yaml/handlers/selfServiceProfiles.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/tools/auth0/client.d.ts +2 -2
- package/lib/tools/auth0/client.js +7 -6
- package/lib/tools/auth0/client.js.map +1 -1
- package/lib/tools/auth0/handlers/actions.js +17 -7
- package/lib/tools/auth0/handlers/actions.js.map +1 -1
- package/lib/tools/auth0/handlers/branding.js +17 -7
- package/lib/tools/auth0/handlers/branding.js.map +1 -1
- package/lib/tools/auth0/handlers/clientGrants.js +17 -7
- package/lib/tools/auth0/handlers/clientGrants.js.map +1 -1
- package/lib/tools/auth0/handlers/connections.js +17 -7
- package/lib/tools/auth0/handlers/connections.js.map +1 -1
- package/lib/tools/auth0/handlers/customDomains.js +17 -7
- package/lib/tools/auth0/handlers/customDomains.js.map +1 -1
- package/lib/tools/auth0/handlers/databases.js +17 -7
- package/lib/tools/auth0/handlers/databases.js.map +1 -1
- package/lib/tools/auth0/handlers/emailTemplates.js +17 -7
- package/lib/tools/auth0/handlers/emailTemplates.js.map +1 -1
- package/lib/tools/auth0/handlers/index.js +19 -7
- package/lib/tools/auth0/handlers/index.js.map +1 -1
- package/lib/tools/auth0/handlers/organizations.js +18 -8
- package/lib/tools/auth0/handlers/organizations.js.map +1 -1
- package/lib/tools/auth0/handlers/roles.js +17 -7
- package/lib/tools/auth0/handlers/roles.js.map +1 -1
- package/lib/tools/auth0/handlers/selfServiceProfiles.d.ts +90 -0
- package/lib/tools/auth0/handlers/selfServiceProfiles.js +274 -0
- package/lib/tools/auth0/handlers/selfServiceProfiles.js.map +1 -0
- package/lib/tools/auth0/handlers/tenant.js +17 -7
- package/lib/tools/auth0/handlers/tenant.js.map +1 -1
- package/lib/tools/auth0/handlers/themes.js +17 -7
- package/lib/tools/auth0/handlers/themes.js.map +1 -1
- package/lib/tools/auth0/handlers/triggers.js +28 -11
- package/lib/tools/auth0/handlers/triggers.js.map +1 -1
- package/lib/tools/constants.d.ts +1 -0
- package/lib/tools/constants.js +1 -0
- package/lib/tools/constants.js.map +1 -1
- package/lib/tools/index.d.ts +1 -0
- package/lib/tools/utils.js +17 -7
- package/lib/tools/utils.js.map +1 -1
- package/lib/types.d.ts +5 -3
- package/lib/types.js.map +1 -1
- package/lib/utils.d.ts +1 -0
- package/package.json +3 -3
- package/.nyc_output/22a18025-9f7a-437a-8a03-9b2d634bd0a0.json +0 -1
- package/.nyc_output/processinfo/22a18025-9f7a-437a-8a03-9b2d634bd0a0.json +0 -1
- package/.nyc_output/processinfo/43514efa-958a-42dc-98b7-6a094257d3c1.json +0 -1
- package/.nyc_output/processinfo/97d5e38d-7d72-4b1a-b747-5dd4b539b6f0.json +0 -1
- /package/.nyc_output/{43514efa-958a-42dc-98b7-6a094257d3c1.json → 03941aa4-af45-42de-9432-07c6d9373eb4.json} +0 -0
- /package/.nyc_output/{97d5e38d-7d72-4b1a-b747-5dd4b539b6f0.json → 2150f3c4-9262-4d47-b5b2-eb3f4d0f8111.json} +0 -0
package/lib/types.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { Theme } from './tools/auth0/handlers/themes';
|
|
|
11
11
|
import { Form } from './tools/auth0/handlers/forms';
|
|
12
12
|
import { Flow } from './tools/auth0/handlers/flows';
|
|
13
13
|
import { FlowVaultConnection } from './tools/auth0/handlers/flowVaultConnections';
|
|
14
|
+
import { SsProfileWithCustomText } from './tools/auth0/handlers/selfServiceProfiles';
|
|
14
15
|
type SharedPaginationParams = {
|
|
15
16
|
checkpoint?: boolean;
|
|
16
17
|
paginate?: boolean;
|
|
@@ -20,8 +21,8 @@ type SharedPaginationParams = {
|
|
|
20
21
|
strategy?: GetConnectionsStrategyEnum[];
|
|
21
22
|
};
|
|
22
23
|
export type CheckpointPaginationParams = SharedPaginationParams & {
|
|
23
|
-
from
|
|
24
|
-
take
|
|
24
|
+
from?: string;
|
|
25
|
+
take?: number;
|
|
25
26
|
};
|
|
26
27
|
export type PagePaginationParams = SharedPaginationParams & {
|
|
27
28
|
page?: number;
|
|
@@ -119,6 +120,7 @@ export type Assets = Partial<{
|
|
|
119
120
|
forms: Form[] | null;
|
|
120
121
|
flows: Flow[] | null;
|
|
121
122
|
flowVaultConnections: FlowVaultConnection[] | null;
|
|
123
|
+
selfServiceProfiles: SsProfileWithCustomText[] | null;
|
|
122
124
|
}>;
|
|
123
125
|
export type CalculatedChanges = {
|
|
124
126
|
del: Asset[];
|
|
@@ -126,7 +128,7 @@ export type CalculatedChanges = {
|
|
|
126
128
|
conflicts: Asset[];
|
|
127
129
|
create: Asset[];
|
|
128
130
|
};
|
|
129
|
-
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' | 'logStreams' | 'prompts' | 'customDomains' | 'themes' | 'forms' | 'flows' | 'flowVaultConnections';
|
|
131
|
+
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' | 'logStreams' | 'prompts' | 'customDomains' | 'themes' | 'forms' | 'flows' | 'flowVaultConnections' | 'selfServiceProfiles';
|
|
130
132
|
export type KeywordMappings = {
|
|
131
133
|
[key: string]: (string | number)[] | string | number;
|
|
132
134
|
};
|
package/lib/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAmLa,QAAA,SAAS,GAAG;IACvB,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,OAAO;IACP,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,OAAO;CACC,CAAC"}
|
package/lib/utils.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export declare function stripIdentifiers(auth0: Auth0, assets: Assets): {
|
|
|
60
60
|
forms?: import("./tools/auth0/handlers/forms").Form[] | null | undefined;
|
|
61
61
|
flows?: import("./tools/auth0/handlers/flows").Flow[] | null | undefined;
|
|
62
62
|
flowVaultConnections?: import("./tools/auth0/handlers/flowVaultConnections").FlowVaultConnection[] | null | undefined;
|
|
63
|
+
selfServiceProfiles?: import("./tools/auth0/handlers/selfServiceProfiles").SsProfileWithCustomText[] | null | undefined;
|
|
63
64
|
};
|
|
64
65
|
export declare function sanitize(str: string): string;
|
|
65
66
|
type ImportantFields = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auth0-deploy-cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.0",
|
|
4
4
|
"description": "A command line tool for deploying updates to your Auth0 tenant",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"homepage": "https://github.com/auth0/auth0-deploy-cli#readme",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"ajv": "^6.12.6",
|
|
36
|
-
"auth0": "^4.
|
|
36
|
+
"auth0": "^4.14.0",
|
|
37
37
|
"dot-prop": "^5.2.0",
|
|
38
38
|
"fs-extra": "^10.1.0",
|
|
39
39
|
"global-agent": "^2.1.12",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"sinon": "^13.0.2",
|
|
72
72
|
"sinon-chai": "^3.7.0",
|
|
73
73
|
"ts-mocha": "^10.0.0",
|
|
74
|
-
"typescript": "^5.
|
|
74
|
+
"typescript": "^5.7.2",
|
|
75
75
|
"zlib": "^1.0.5"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|