@pulumi/auth0 3.3.0 → 3.3.2

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.
Files changed (132) hide show
  1. package/action.d.ts +6 -6
  2. package/action.js +3 -3
  3. package/attackProtection.d.ts +20 -20
  4. package/attackProtection.js +20 -20
  5. package/branding.d.ts +3 -22
  6. package/branding.js +3 -22
  7. package/branding.js.map +1 -1
  8. package/brandingTheme.d.ts +1 -82
  9. package/brandingTheme.js +1 -82
  10. package/brandingTheme.js.map +1 -1
  11. package/client.d.ts +48 -48
  12. package/client.js +43 -43
  13. package/clientCredentials.d.ts +3 -73
  14. package/clientCredentials.js +3 -55
  15. package/clientCredentials.js.map +1 -1
  16. package/clientGrant.d.ts +2 -2
  17. package/clientGrant.js +2 -2
  18. package/connection.d.ts +467 -91
  19. package/connection.js +464 -88
  20. package/connection.js.map +1 -1
  21. package/connectionClient.d.ts +9 -6
  22. package/connectionClient.js +9 -6
  23. package/connectionClient.js.map +1 -1
  24. package/connectionClients.d.ts +8 -5
  25. package/connectionClients.js +8 -5
  26. package/connectionClients.js.map +1 -1
  27. package/customDomain.d.ts +4 -4
  28. package/customDomain.js +4 -4
  29. package/customDomainVerification.d.ts +1 -9
  30. package/customDomainVerification.js +1 -1
  31. package/customDomainVerification.js.map +1 -1
  32. package/emailProvider.d.ts +3 -39
  33. package/emailProvider.js +3 -39
  34. package/emailProvider.js.map +1 -1
  35. package/emailTemplate.d.ts +9 -8
  36. package/emailTemplate.js +9 -8
  37. package/emailTemplate.js.map +1 -1
  38. package/getClient.d.ts +16 -0
  39. package/getClient.js +4 -0
  40. package/getClient.js.map +1 -1
  41. package/getConnection.d.ts +10 -0
  42. package/getConnection.js +4 -0
  43. package/getConnection.js.map +1 -1
  44. package/getOrganization.d.ts +4 -0
  45. package/getOrganization.js +4 -0
  46. package/getOrganization.js.map +1 -1
  47. package/getResourceServer.d.ts +4 -0
  48. package/getResourceServer.js +4 -0
  49. package/getResourceServer.js.map +1 -1
  50. package/getRole.d.ts +10 -0
  51. package/getRole.js +4 -0
  52. package/getRole.js.map +1 -1
  53. package/getUser.d.ts +2 -0
  54. package/getUser.js +2 -0
  55. package/getUser.js.map +1 -1
  56. package/guardian.d.ts +20 -20
  57. package/guardian.js +20 -20
  58. package/hook.d.ts +8 -8
  59. package/hook.js +8 -8
  60. package/logStream.d.ts +13 -11
  61. package/logStream.js +13 -11
  62. package/logStream.js.map +1 -1
  63. package/organization.d.ts +6 -5
  64. package/organization.js +6 -5
  65. package/organization.js.map +1 -1
  66. package/organizationConnection.d.ts +12 -6
  67. package/organizationConnection.js +12 -6
  68. package/organizationConnection.js.map +1 -1
  69. package/organizationConnections.d.ts +13 -4
  70. package/organizationConnections.js +13 -4
  71. package/organizationConnections.js.map +1 -1
  72. package/organizationMember.d.ts +8 -5
  73. package/organizationMember.js +8 -5
  74. package/organizationMember.js.map +1 -1
  75. package/organizationMemberRole.d.ts +10 -7
  76. package/organizationMemberRole.js +10 -7
  77. package/organizationMemberRole.js.map +1 -1
  78. package/organizationMemberRoles.d.ts +11 -8
  79. package/organizationMemberRoles.js +11 -8
  80. package/organizationMemberRoles.js.map +1 -1
  81. package/organizationMembers.d.ts +8 -5
  82. package/organizationMembers.js +8 -5
  83. package/organizationMembers.js.map +1 -1
  84. package/package.json +1 -1
  85. package/pages.d.ts +12 -12
  86. package/pages.js +12 -12
  87. package/prompt.d.ts +5 -5
  88. package/prompt.js +5 -5
  89. package/promptCustomText.d.ts +3 -3
  90. package/promptCustomText.js +3 -3
  91. package/promptPartials.d.ts +6 -6
  92. package/promptPartials.js +6 -6
  93. package/provider.d.ts +4 -4
  94. package/resourceServer.d.ts +5 -4
  95. package/resourceServer.js +5 -4
  96. package/resourceServer.js.map +1 -1
  97. package/resourceServerScope.d.ts +9 -6
  98. package/resourceServerScope.js +9 -6
  99. package/resourceServerScope.js.map +1 -1
  100. package/resourceServerScopes.d.ts +6 -3
  101. package/resourceServerScopes.js +6 -3
  102. package/resourceServerScopes.js.map +1 -1
  103. package/role.d.ts +5 -2
  104. package/role.js +5 -2
  105. package/role.js.map +1 -1
  106. package/rule.d.ts +4 -4
  107. package/rule.js +4 -4
  108. package/ruleConfig.d.ts +5 -5
  109. package/ruleConfig.js +5 -5
  110. package/tenant.d.ts +14 -14
  111. package/tenant.js +14 -14
  112. package/triggerAction.d.ts +6 -5
  113. package/triggerAction.js +6 -5
  114. package/triggerAction.js.map +1 -1
  115. package/triggerActions.d.ts +6 -4
  116. package/triggerActions.js +6 -4
  117. package/triggerActions.js.map +1 -1
  118. package/types/input.d.ts +30 -39
  119. package/types/output.d.ts +30 -39
  120. package/user.d.ts +5 -4
  121. package/user.js +5 -4
  122. package/user.js.map +1 -1
  123. package/userPermission.d.ts +3 -3
  124. package/userPermission.js +3 -3
  125. package/userPermissions.d.ts +1 -1
  126. package/userPermissions.js +1 -1
  127. package/userRole.d.ts +9 -5
  128. package/userRole.js +9 -5
  129. package/userRole.js.map +1 -1
  130. package/userRoles.d.ts +7 -3
  131. package/userRoles.js +7 -3
  132. package/userRoles.js.map +1 -1
package/action.d.ts CHANGED
@@ -10,15 +10,15 @@ import * as outputs from "./types/output";
10
10
  *
11
11
  * #
12
12
  *
13
- * Example:
13
+ * Example:
14
14
  *
15
15
  * ```sh
16
16
  * $ pulumi import auth0:index/action:Action my_action "12f4f21b-017a-319d-92e7-2291c1ca36c4"
17
17
  * ```
18
18
  *
19
- * ~> For security reasons importing `secrets` is not allowed. Therefore, it is advised to import
19
+ * ~> For security reasons importing `secrets` is not allowed. Therefore, it is advised to import
20
20
  *
21
- * the action without secrets and adding them back after the action has been imported.
21
+ * the action without secrets and adding them back after the action has been imported.
22
22
  */
23
23
  export declare class Action extends pulumi.CustomResource {
24
24
  /**
@@ -49,7 +49,7 @@ export declare class Action extends pulumi.CustomResource {
49
49
  */
50
50
  readonly deploy: pulumi.Output<boolean | undefined>;
51
51
  /**
52
- * Dependency name, e.g. `lodash`.
52
+ * The name of the action.
53
53
  */
54
54
  readonly name: pulumi.Output<string>;
55
55
  /**
@@ -94,7 +94,7 @@ export interface ActionState {
94
94
  */
95
95
  deploy?: pulumi.Input<boolean>;
96
96
  /**
97
- * Dependency name, e.g. `lodash`.
97
+ * The name of the action.
98
98
  */
99
99
  name?: pulumi.Input<string>;
100
100
  /**
@@ -131,7 +131,7 @@ export interface ActionArgs {
131
131
  */
132
132
  deploy?: pulumi.Input<boolean>;
133
133
  /**
134
- * Dependency name, e.g. `lodash`.
134
+ * The name of the action.
135
135
  */
136
136
  name?: pulumi.Input<string>;
137
137
  /**
package/action.js CHANGED
@@ -14,15 +14,15 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * #
16
16
  *
17
- * Example:
17
+ * Example:
18
18
  *
19
19
  * ```sh
20
20
  * $ pulumi import auth0:index/action:Action my_action "12f4f21b-017a-319d-92e7-2291c1ca36c4"
21
21
  * ```
22
22
  *
23
- * ~> For security reasons importing `secrets` is not allowed. Therefore, it is advised to import
23
+ * ~> For security reasons importing `secrets` is not allowed. Therefore, it is advised to import
24
24
  *
25
- * the action without secrets and adding them back after the action has been imported.
25
+ * the action without secrets and adding them back after the action has been imported.
26
26
  */
27
27
  class Action extends pulumi.CustomResource {
28
28
  /**
@@ -10,18 +10,22 @@ import * as outputs from "./types/output";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as auth0 from "@pulumi/auth0";
12
12
  *
13
- * const myProtection = new auth0.AttackProtection("myProtection", {
14
- * breachedPasswordDetection: {
15
- * adminNotificationFrequencies: ["daily"],
13
+ * const myProtection = new auth0.AttackProtection("my_protection", {
14
+ * suspiciousIpThrottling: {
16
15
  * enabled: true,
17
- * method: "standard",
18
- * preUserRegistration: {
19
- * shields: ["block"],
20
- * },
21
16
  * shields: [
22
17
  * "admin_notification",
23
18
  * "block",
24
19
  * ],
20
+ * allowlists: ["192.168.1.1"],
21
+ * preLogin: {
22
+ * maxAttempts: 100,
23
+ * rate: 864000,
24
+ * },
25
+ * preUserRegistration: {
26
+ * maxAttempts: 50,
27
+ * rate: 1200,
28
+ * },
25
29
  * },
26
30
  * bruteForceProtection: {
27
31
  * allowlists: ["127.0.0.1"],
@@ -33,21 +37,17 @@ import * as outputs from "./types/output";
33
37
  * "user_notification",
34
38
  * ],
35
39
  * },
36
- * suspiciousIpThrottling: {
37
- * allowlists: ["192.168.1.1"],
40
+ * breachedPasswordDetection: {
41
+ * adminNotificationFrequencies: ["daily"],
38
42
  * enabled: true,
39
- * preLogin: {
40
- * maxAttempts: 100,
41
- * rate: 864000,
42
- * },
43
- * preUserRegistration: {
44
- * maxAttempts: 50,
45
- * rate: 1200,
46
- * },
43
+ * method: "standard",
47
44
  * shields: [
48
45
  * "admin_notification",
49
46
  * "block",
50
47
  * ],
48
+ * preUserRegistration: {
49
+ * shields: ["block"],
50
+ * },
51
51
  * },
52
52
  * });
53
53
  * ```
@@ -56,15 +56,15 @@ import * as outputs from "./types/output";
56
56
  *
57
57
  * As this is not a resource identifiable by an ID within the Auth0 Management API,
58
58
  *
59
- * attack_protection can be imported using a random string.
59
+ * attack_protection can be imported using a random string.
60
60
  *
61
61
  * #
62
62
  *
63
- * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
63
+ * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
64
64
  *
65
65
  * #
66
66
  *
67
- * Example:
67
+ * Example:
68
68
  *
69
69
  * ```sh
70
70
  * $ pulumi import auth0:index/attackProtection:AttackProtection my_protection "24940d4b-4bd4-44e7-894e-f92e4de36a40"
@@ -14,18 +14,22 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
- * const myProtection = new auth0.AttackProtection("myProtection", {
18
- * breachedPasswordDetection: {
19
- * adminNotificationFrequencies: ["daily"],
17
+ * const myProtection = new auth0.AttackProtection("my_protection", {
18
+ * suspiciousIpThrottling: {
20
19
  * enabled: true,
21
- * method: "standard",
22
- * preUserRegistration: {
23
- * shields: ["block"],
24
- * },
25
20
  * shields: [
26
21
  * "admin_notification",
27
22
  * "block",
28
23
  * ],
24
+ * allowlists: ["192.168.1.1"],
25
+ * preLogin: {
26
+ * maxAttempts: 100,
27
+ * rate: 864000,
28
+ * },
29
+ * preUserRegistration: {
30
+ * maxAttempts: 50,
31
+ * rate: 1200,
32
+ * },
29
33
  * },
30
34
  * bruteForceProtection: {
31
35
  * allowlists: ["127.0.0.1"],
@@ -37,21 +41,17 @@ const utilities = require("./utilities");
37
41
  * "user_notification",
38
42
  * ],
39
43
  * },
40
- * suspiciousIpThrottling: {
41
- * allowlists: ["192.168.1.1"],
44
+ * breachedPasswordDetection: {
45
+ * adminNotificationFrequencies: ["daily"],
42
46
  * enabled: true,
43
- * preLogin: {
44
- * maxAttempts: 100,
45
- * rate: 864000,
46
- * },
47
- * preUserRegistration: {
48
- * maxAttempts: 50,
49
- * rate: 1200,
50
- * },
47
+ * method: "standard",
51
48
  * shields: [
52
49
  * "admin_notification",
53
50
  * "block",
54
51
  * ],
52
+ * preUserRegistration: {
53
+ * shields: ["block"],
54
+ * },
55
55
  * },
56
56
  * });
57
57
  * ```
@@ -60,15 +60,15 @@ const utilities = require("./utilities");
60
60
  *
61
61
  * As this is not a resource identifiable by an ID within the Auth0 Management API,
62
62
  *
63
- * attack_protection can be imported using a random string.
63
+ * attack_protection can be imported using a random string.
64
64
  *
65
65
  * #
66
66
  *
67
- * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
67
+ * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
68
68
  *
69
69
  * #
70
70
  *
71
- * Example:
71
+ * Example:
72
72
  *
73
73
  * ```sh
74
74
  * $ pulumi import auth0:index/attackProtection:AttackProtection my_protection "24940d4b-4bd4-44e7-894e-f92e4de36a40"
package/branding.d.ts CHANGED
@@ -4,38 +4,19 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * This resource allows you to manage branding within your Auth0 tenant. Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user expectations.
6
6
  *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as auth0 from "@pulumi/auth0";
12
- * import * as fs from "fs";
13
- *
14
- * const myBrand = new auth0.Branding("myBrand", {
15
- * logoUrl: "https://mycompany.org/logo.png",
16
- * colors: {
17
- * primary: "#0059d6",
18
- * pageBackground: "#000000",
19
- * },
20
- * universalLogin: {
21
- * body: fs.readFileSync("universal_login_body.html", "utf8"),
22
- * },
23
- * });
24
- * ```
25
- *
26
7
  * ## Import
27
8
  *
28
9
  * As this is not a resource identifiable by an ID within the Auth0 Management API,
29
10
  *
30
- * branding can be imported using a random string.
11
+ * branding can be imported using a random string.
31
12
  *
32
13
  * #
33
14
  *
34
- * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
15
+ * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
35
16
  *
36
17
  * #
37
18
  *
38
- * Example:
19
+ * Example:
39
20
  *
40
21
  * ```sh
41
22
  * $ pulumi import auth0:index/branding:Branding my_brand "22f4f21b-017a-319d-92e7-2291c1ca36c4"
package/branding.js CHANGED
@@ -8,38 +8,19 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * This resource allows you to manage branding within your Auth0 tenant. Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user expectations.
10
10
  *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as auth0 from "@pulumi/auth0";
16
- * import * as fs from "fs";
17
- *
18
- * const myBrand = new auth0.Branding("myBrand", {
19
- * logoUrl: "https://mycompany.org/logo.png",
20
- * colors: {
21
- * primary: "#0059d6",
22
- * pageBackground: "#000000",
23
- * },
24
- * universalLogin: {
25
- * body: fs.readFileSync("universal_login_body.html", "utf8"),
26
- * },
27
- * });
28
- * ```
29
- *
30
11
  * ## Import
31
12
  *
32
13
  * As this is not a resource identifiable by an ID within the Auth0 Management API,
33
14
  *
34
- * branding can be imported using a random string.
15
+ * branding can be imported using a random string.
35
16
  *
36
17
  * #
37
18
  *
38
- * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
19
+ * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
39
20
  *
40
21
  * #
41
22
  *
42
- * Example:
23
+ * Example:
43
24
  *
44
25
  * ```sh
45
26
  * $ pulumi import auth0:index/branding:Branding my_brand "22f4f21b-017a-319d-92e7-2291c1ca36c4"
package/branding.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"branding.js","sourceRoot":"","sources":["../branding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CA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,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;aAAM;YACH,MAAM,IAAI,GAAG,WAAuC,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA7EL,4BA8EC;AAhEG,gBAAgB;AACO,qBAAY,GAAG,+BAA+B,CAAC"}
@@ -4,94 +4,13 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * This resource allows you to manage branding themes for your Universal Login page within your Auth0 tenant.
6
6
  *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as auth0 from "@pulumi/auth0";
12
- *
13
- * // An example of a fully configured auth0_branding_theme.
14
- * const myTheme = new auth0.BrandingTheme("myTheme", {
15
- * borders: {
16
- * buttonBorderRadius: 1,
17
- * buttonBorderWeight: 1,
18
- * buttonsStyle: "pill",
19
- * inputBorderRadius: 3,
20
- * inputBorderWeight: 1,
21
- * inputsStyle: "pill",
22
- * showWidgetShadow: false,
23
- * widgetBorderWeight: 1,
24
- * widgetCornerRadius: 3,
25
- * },
26
- * colors: {
27
- * bodyText: "#FF00CC",
28
- * error: "#FF00CC",
29
- * header: "#FF00CC",
30
- * icons: "#FF00CC",
31
- * inputBackground: "#FF00CC",
32
- * inputBorder: "#FF00CC",
33
- * inputFilledText: "#FF00CC",
34
- * inputLabelsPlaceholders: "#FF00CC",
35
- * linksFocusedComponents: "#FF00CC",
36
- * primaryButton: "#FF00CC",
37
- * primaryButtonLabel: "#FF00CC",
38
- * secondaryButtonBorder: "#FF00CC",
39
- * secondaryButtonLabel: "#FF00CC",
40
- * success: "#FF00CC",
41
- * widgetBackground: "#FF00CC",
42
- * widgetBorder: "#FF00CC",
43
- * },
44
- * fonts: {
45
- * bodyText: {
46
- * bold: false,
47
- * size: 100,
48
- * },
49
- * buttonsText: {
50
- * bold: false,
51
- * size: 100,
52
- * },
53
- * fontUrl: "https://google.com/font.woff",
54
- * inputLabels: {
55
- * bold: false,
56
- * size: 100,
57
- * },
58
- * links: {
59
- * bold: false,
60
- * size: 100,
61
- * },
62
- * linksStyle: "normal",
63
- * referenceTextSize: 12,
64
- * subtitle: {
65
- * bold: false,
66
- * size: 100,
67
- * },
68
- * title: {
69
- * bold: false,
70
- * size: 100,
71
- * },
72
- * },
73
- * pageBackground: {
74
- * backgroundColor: "#000000",
75
- * backgroundImageUrl: "https://google.com/background.png",
76
- * pageLayout: "center",
77
- * },
78
- * widget: {
79
- * headerTextAlignment: "center",
80
- * logoHeight: 55,
81
- * logoPosition: "center",
82
- * logoUrl: "https://google.com/logo.png",
83
- * socialButtonsLayout: "top",
84
- * },
85
- * });
86
- * ```
87
- *
88
7
  * ## Import
89
8
  *
90
9
  * This resource can be imported by specifying the Branding Theme ID.
91
10
  *
92
11
  * #
93
12
  *
94
- * Example:
13
+ * Example:
95
14
  *
96
15
  * ```sh
97
16
  * $ pulumi import auth0:index/brandingTheme:BrandingTheme my_theme "XXXXXXXXXXXXXXXXXXXX"
package/brandingTheme.js CHANGED
@@ -8,94 +8,13 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * This resource allows you to manage branding themes for your Universal Login page within your Auth0 tenant.
10
10
  *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as auth0 from "@pulumi/auth0";
16
- *
17
- * // An example of a fully configured auth0_branding_theme.
18
- * const myTheme = new auth0.BrandingTheme("myTheme", {
19
- * borders: {
20
- * buttonBorderRadius: 1,
21
- * buttonBorderWeight: 1,
22
- * buttonsStyle: "pill",
23
- * inputBorderRadius: 3,
24
- * inputBorderWeight: 1,
25
- * inputsStyle: "pill",
26
- * showWidgetShadow: false,
27
- * widgetBorderWeight: 1,
28
- * widgetCornerRadius: 3,
29
- * },
30
- * colors: {
31
- * bodyText: "#FF00CC",
32
- * error: "#FF00CC",
33
- * header: "#FF00CC",
34
- * icons: "#FF00CC",
35
- * inputBackground: "#FF00CC",
36
- * inputBorder: "#FF00CC",
37
- * inputFilledText: "#FF00CC",
38
- * inputLabelsPlaceholders: "#FF00CC",
39
- * linksFocusedComponents: "#FF00CC",
40
- * primaryButton: "#FF00CC",
41
- * primaryButtonLabel: "#FF00CC",
42
- * secondaryButtonBorder: "#FF00CC",
43
- * secondaryButtonLabel: "#FF00CC",
44
- * success: "#FF00CC",
45
- * widgetBackground: "#FF00CC",
46
- * widgetBorder: "#FF00CC",
47
- * },
48
- * fonts: {
49
- * bodyText: {
50
- * bold: false,
51
- * size: 100,
52
- * },
53
- * buttonsText: {
54
- * bold: false,
55
- * size: 100,
56
- * },
57
- * fontUrl: "https://google.com/font.woff",
58
- * inputLabels: {
59
- * bold: false,
60
- * size: 100,
61
- * },
62
- * links: {
63
- * bold: false,
64
- * size: 100,
65
- * },
66
- * linksStyle: "normal",
67
- * referenceTextSize: 12,
68
- * subtitle: {
69
- * bold: false,
70
- * size: 100,
71
- * },
72
- * title: {
73
- * bold: false,
74
- * size: 100,
75
- * },
76
- * },
77
- * pageBackground: {
78
- * backgroundColor: "#000000",
79
- * backgroundImageUrl: "https://google.com/background.png",
80
- * pageLayout: "center",
81
- * },
82
- * widget: {
83
- * headerTextAlignment: "center",
84
- * logoHeight: 55,
85
- * logoPosition: "center",
86
- * logoUrl: "https://google.com/logo.png",
87
- * socialButtonsLayout: "top",
88
- * },
89
- * });
90
- * ```
91
- *
92
11
  * ## Import
93
12
  *
94
13
  * This resource can be imported by specifying the Branding Theme ID.
95
14
  *
96
15
  * #
97
16
  *
98
- * Example:
17
+ * Example:
99
18
  *
100
19
  * ```sh
101
20
  * $ pulumi import auth0:index/brandingTheme:BrandingTheme my_theme "XXXXXXXXXXXXXXXXXXXX"
@@ -1 +1 @@
1
- {"version":3,"file":"brandingTheme.js","sourceRoot":"","sources":["../brandingTheme.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAA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