@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/ruleConfig.js CHANGED
@@ -14,15 +14,15 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
- * const myRule = new auth0.Rule("myRule", {
18
- * enabled: true,
17
+ * const myRule = new auth0.Rule("my_rule", {
18
+ * name: "empty-rule",
19
19
  * script: ` function (user, context, callback) {
20
20
  * callback(null, user, context);
21
21
  * }
22
- *
23
22
  * `,
23
+ * enabled: true,
24
24
  * });
25
- * const myRuleConfig = new auth0.RuleConfig("myRuleConfig", {
25
+ * const myRuleConfig = new auth0.RuleConfig("my_rule_config", {
26
26
  * key: "foo",
27
27
  * value: "bar",
28
28
  * });
@@ -34,7 +34,7 @@ const utilities = require("./utilities");
34
34
  *
35
35
  * #
36
36
  *
37
- * Example:
37
+ * Example:
38
38
  *
39
39
  * ```sh
40
40
  * $ pulumi import auth0:index/ruleConfig:RuleConfig my_rule_config "foo"
package/tenant.d.ts CHANGED
@@ -13,30 +13,30 @@ import * as outputs from "./types/output";
13
13
  * import * as pulumi from "@pulumi/pulumi";
14
14
  * import * as auth0 from "@pulumi/auth0";
15
15
  *
16
- * const myTenant = new auth0.Tenant("myTenant", {
16
+ * const myTenant = new auth0.Tenant("my_tenant", {
17
+ * friendlyName: "Tenant Name",
18
+ * pictureUrl: "http://example.com/logo.png",
19
+ * supportEmail: "support@example.com",
20
+ * supportUrl: "http://example.com/support",
17
21
  * allowedLogoutUrls: ["http://example.com/logout"],
18
- * defaultRedirectionUri: "https://example.com/login",
22
+ * sessionLifetime: 8760,
23
+ * sandboxVersion: "12",
19
24
  * enabledLocales: ["en"],
25
+ * defaultRedirectionUri: "https://example.com/login",
20
26
  * flags: {
21
27
  * disableClickjackProtectionHeaders: true,
22
- * disableFieldsMapFix: false,
23
- * disableManagementApiSmsObfuscation: false,
24
28
  * enablePublicSignupUserExistsError: true,
25
- * noDiscloseEnterpriseConnections: false,
26
29
  * useScopeDescriptionsForConsent: true,
30
+ * noDiscloseEnterpriseConnections: false,
31
+ * disableManagementApiSmsObfuscation: false,
32
+ * disableFieldsMapFix: false,
27
33
  * },
28
- * friendlyName: "Tenant Name",
29
- * pictureUrl: "http://example.com/logo.png",
30
- * sandboxVersion: "12",
31
34
  * sessionCookie: {
32
35
  * mode: "non-persistent",
33
36
  * },
34
- * sessionLifetime: 8760,
35
37
  * sessions: {
36
38
  * oidcLogoutPromptEnabled: false,
37
39
  * },
38
- * supportEmail: "support@example.com",
39
- * supportUrl: "http://example.com/support",
40
40
  * });
41
41
  * ```
42
42
  *
@@ -44,15 +44,15 @@ import * as outputs from "./types/output";
44
44
  *
45
45
  * As this is not a resource identifiable by an ID within the Auth0 Management API,
46
46
  *
47
- * tenant can be imported using a random string.
47
+ * tenant can be imported using a random string.
48
48
  *
49
49
  * #
50
50
  *
51
- * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
51
+ * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
52
52
  *
53
53
  * #
54
54
  *
55
- * Example:
55
+ * Example:
56
56
  *
57
57
  * ```sh
58
58
  * $ pulumi import auth0:index/tenant:Tenant my_tenant "82f4f21b-017a-319d-92e7-2291c1ca36c4"
package/tenant.js CHANGED
@@ -17,30 +17,30 @@ const utilities = require("./utilities");
17
17
  * import * as pulumi from "@pulumi/pulumi";
18
18
  * import * as auth0 from "@pulumi/auth0";
19
19
  *
20
- * const myTenant = new auth0.Tenant("myTenant", {
20
+ * const myTenant = new auth0.Tenant("my_tenant", {
21
+ * friendlyName: "Tenant Name",
22
+ * pictureUrl: "http://example.com/logo.png",
23
+ * supportEmail: "support@example.com",
24
+ * supportUrl: "http://example.com/support",
21
25
  * allowedLogoutUrls: ["http://example.com/logout"],
22
- * defaultRedirectionUri: "https://example.com/login",
26
+ * sessionLifetime: 8760,
27
+ * sandboxVersion: "12",
23
28
  * enabledLocales: ["en"],
29
+ * defaultRedirectionUri: "https://example.com/login",
24
30
  * flags: {
25
31
  * disableClickjackProtectionHeaders: true,
26
- * disableFieldsMapFix: false,
27
- * disableManagementApiSmsObfuscation: false,
28
32
  * enablePublicSignupUserExistsError: true,
29
- * noDiscloseEnterpriseConnections: false,
30
33
  * useScopeDescriptionsForConsent: true,
34
+ * noDiscloseEnterpriseConnections: false,
35
+ * disableManagementApiSmsObfuscation: false,
36
+ * disableFieldsMapFix: false,
31
37
  * },
32
- * friendlyName: "Tenant Name",
33
- * pictureUrl: "http://example.com/logo.png",
34
- * sandboxVersion: "12",
35
38
  * sessionCookie: {
36
39
  * mode: "non-persistent",
37
40
  * },
38
- * sessionLifetime: 8760,
39
41
  * sessions: {
40
42
  * oidcLogoutPromptEnabled: false,
41
43
  * },
42
- * supportEmail: "support@example.com",
43
- * supportUrl: "http://example.com/support",
44
44
  * });
45
45
  * ```
46
46
  *
@@ -48,15 +48,15 @@ const utilities = require("./utilities");
48
48
  *
49
49
  * As this is not a resource identifiable by an ID within the Auth0 Management API,
50
50
  *
51
- * tenant can be imported using a random string.
51
+ * tenant can be imported using a random string.
52
52
  *
53
53
  * #
54
54
  *
55
- * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
55
+ * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
56
56
  *
57
57
  * #
58
58
  *
59
- * Example:
59
+ * Example:
60
60
  *
61
61
  * ```sh
62
62
  * $ pulumi import auth0:index/tenant:Tenant my_tenant "82f4f21b-017a-319d-92e7-2291c1ca36c4"
@@ -14,7 +14,8 @@ import * as pulumi from "@pulumi/pulumi";
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
- * const loginAlert = new auth0.Action("loginAlert", {
17
+ * const loginAlert = new auth0.Action("login_alert", {
18
+ * name: "Alert after login",
18
19
  * code: `exports.onContinuePostLogin = async (event, api) => {
19
20
  * console.log("foo");
20
21
  * };"
@@ -25,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
25
26
  * version: "v3",
26
27
  * },
27
28
  * });
28
- * const postLoginAlertAction = new auth0.TriggerAction("postLoginAlertAction", {
29
+ * const postLoginAlertAction = new auth0.TriggerAction("post_login_alert_action", {
29
30
  * trigger: "post-login",
30
31
  * actionId: loginAlert.id,
31
32
  * });
@@ -35,13 +36,13 @@ import * as pulumi from "@pulumi/pulumi";
35
36
  *
36
37
  * This resource can be imported by specifying the
37
38
  *
38
- * trigger and action ID separated by "::" (note the double colon)
39
+ * trigger and action ID separated by "::" (note the double colon)
39
40
  *
40
- * <trigger>::<actionID>
41
+ * <trigger>::<actionID>
41
42
  *
42
43
  * #
43
44
  *
44
- * Example:
45
+ * Example:
45
46
  *
46
47
  * ```sh
47
48
  * $ pulumi import auth0:index/triggerAction:TriggerAction post_login_action "post-login::28b5c8fa-d371-5734-acf6-d0cf80ead918"
package/triggerAction.js CHANGED
@@ -20,7 +20,8 @@ const utilities = require("./utilities");
20
20
  * import * as pulumi from "@pulumi/pulumi";
21
21
  * import * as auth0 from "@pulumi/auth0";
22
22
  *
23
- * const loginAlert = new auth0.Action("loginAlert", {
23
+ * const loginAlert = new auth0.Action("login_alert", {
24
+ * name: "Alert after login",
24
25
  * code: `exports.onContinuePostLogin = async (event, api) => {
25
26
  * console.log("foo");
26
27
  * };"
@@ -31,7 +32,7 @@ const utilities = require("./utilities");
31
32
  * version: "v3",
32
33
  * },
33
34
  * });
34
- * const postLoginAlertAction = new auth0.TriggerAction("postLoginAlertAction", {
35
+ * const postLoginAlertAction = new auth0.TriggerAction("post_login_alert_action", {
35
36
  * trigger: "post-login",
36
37
  * actionId: loginAlert.id,
37
38
  * });
@@ -41,13 +42,13 @@ const utilities = require("./utilities");
41
42
  *
42
43
  * This resource can be imported by specifying the
43
44
  *
44
- * trigger and action ID separated by "::" (note the double colon)
45
+ * trigger and action ID separated by "::" (note the double colon)
45
46
  *
46
- * <trigger>::<actionID>
47
+ * <trigger>::<actionID>
47
48
  *
48
49
  * #
49
50
  *
50
- * Example:
51
+ * Example:
51
52
  *
52
53
  * ```sh
53
54
  * $ pulumi import auth0:index/triggerAction:TriggerAction post_login_action "post-login::28b5c8fa-d371-5734-acf6-d0cf80ead918"
@@ -1 +1 @@
1
- {"version":3,"file":"triggerAction.js","sourceRoot":"","sources":["../triggerAction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;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,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;I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AAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAvEL,sCAwEC;AA1DG,gBAAgB;AACO,0BAAY,GAAG,yCAAyC,CAAC"}
@@ -14,7 +14,8 @@ import * as outputs from "./types/output";
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
- * const actionFoo = new auth0.Action("actionFoo", {
17
+ * const actionFoo = new auth0.Action("action_foo", {
18
+ * name: "Test Trigger Binding Foo",
18
19
  * code: `exports.onContinuePostLogin = async (event, api) => {
19
20
  * console.log("foo");
20
21
  * };"
@@ -25,7 +26,8 @@ import * as outputs from "./types/output";
25
26
  * version: "v3",
26
27
  * },
27
28
  * });
28
- * const actionBar = new auth0.Action("actionBar", {
29
+ * const actionBar = new auth0.Action("action_bar", {
30
+ * name: "Test Trigger Binding Bar",
29
31
  * code: `exports.onContinuePostLogin = async (event, api) => {
30
32
  * console.log("bar");
31
33
  * };"
@@ -36,7 +38,7 @@ import * as outputs from "./types/output";
36
38
  * version: "v3",
37
39
  * },
38
40
  * });
39
- * const loginFlow = new auth0.TriggerActions("loginFlow", {
41
+ * const loginFlow = new auth0.TriggerActions("login_flow", {
40
42
  * trigger: "post-login",
41
43
  * actions: [
42
44
  * {
@@ -57,7 +59,7 @@ import * as outputs from "./types/output";
57
59
  *
58
60
  * #
59
61
  *
60
- * Example:
62
+ * Example:
61
63
  *
62
64
  * ```sh
63
65
  * $ pulumi import auth0:index/triggerActions:TriggerActions example "post-login"
package/triggerActions.js CHANGED
@@ -18,7 +18,8 @@ const utilities = require("./utilities");
18
18
  * import * as pulumi from "@pulumi/pulumi";
19
19
  * import * as auth0 from "@pulumi/auth0";
20
20
  *
21
- * const actionFoo = new auth0.Action("actionFoo", {
21
+ * const actionFoo = new auth0.Action("action_foo", {
22
+ * name: "Test Trigger Binding Foo",
22
23
  * code: `exports.onContinuePostLogin = async (event, api) => {
23
24
  * console.log("foo");
24
25
  * };"
@@ -29,7 +30,8 @@ const utilities = require("./utilities");
29
30
  * version: "v3",
30
31
  * },
31
32
  * });
32
- * const actionBar = new auth0.Action("actionBar", {
33
+ * const actionBar = new auth0.Action("action_bar", {
34
+ * name: "Test Trigger Binding Bar",
33
35
  * code: `exports.onContinuePostLogin = async (event, api) => {
34
36
  * console.log("bar");
35
37
  * };"
@@ -40,7 +42,7 @@ const utilities = require("./utilities");
40
42
  * version: "v3",
41
43
  * },
42
44
  * });
43
- * const loginFlow = new auth0.TriggerActions("loginFlow", {
45
+ * const loginFlow = new auth0.TriggerActions("login_flow", {
44
46
  * trigger: "post-login",
45
47
  * actions: [
46
48
  * {
@@ -61,7 +63,7 @@ const utilities = require("./utilities");
61
63
  *
62
64
  * #
63
65
  *
64
- * Example:
66
+ * Example:
65
67
  *
66
68
  * ```sh
67
69
  * $ pulumi import auth0:index/triggerActions:TriggerActions example "post-login"
@@ -1 +1 @@
1
- {"version":3,"file":"triggerActions.js","sourceRoot":"","sources":["../triggerActions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAA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C;SACjE;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAjEL,wCAkEC;AApDG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
package/types/input.d.ts CHANGED
@@ -104,7 +104,7 @@ export interface AttackProtectionSuspiciousIpThrottling {
104
104
  }
105
105
  export interface AttackProtectionSuspiciousIpThrottlingPreLogin {
106
106
  /**
107
- * Maximum number of consecutive failed login attempts from a single user before blocking is triggered. Only available on public tenants.
107
+ * The maximum number of failed login attempts allowed from a single IP address.
108
108
  */
109
109
  maxAttempts?: pulumi.Input<number>;
110
110
  /**
@@ -114,11 +114,11 @@ export interface AttackProtectionSuspiciousIpThrottlingPreLogin {
114
114
  }
115
115
  export interface AttackProtectionSuspiciousIpThrottlingPreUserRegistration {
116
116
  /**
117
- * Maximum number of consecutive failed login attempts from a single user before blocking is triggered. Only available on public tenants.
117
+ * The maximum number of sign up attempts allowed from a single IP address.
118
118
  */
119
119
  maxAttempts?: pulumi.Input<number>;
120
120
  /**
121
- * Interval of time, given in milliseconds at which new login tokens will become available after they have been used by an IP address. Each login attempt will be added on the defined throttling rate.
121
+ * Interval of time, given in milliseconds at which new sign up tokens will become available after they have been used by an IP address. Each sign up attempt will be added on the defined throttling rate.
122
122
  */
123
123
  rate?: pulumi.Input<number>;
124
124
  }
@@ -300,51 +300,51 @@ export interface BrandingThemeFontsBodyText {
300
300
  }
301
301
  export interface BrandingThemeFontsButtonsText {
302
302
  /**
303
- * Body text bold. Defaults to `false`.
303
+ * Buttons text bold. Defaults to `false`.
304
304
  */
305
305
  bold?: pulumi.Input<boolean>;
306
306
  /**
307
- * Body text size. Value needs to be between `0` and `150`. Defaults to `87.5`.
307
+ * Buttons text size. Value needs to be between `0` and `150`. Defaults to `100.0`.
308
308
  */
309
309
  size?: pulumi.Input<number>;
310
310
  }
311
311
  export interface BrandingThemeFontsInputLabels {
312
312
  /**
313
- * Body text bold. Defaults to `false`.
313
+ * Input labels bold. Defaults to `false`.
314
314
  */
315
315
  bold?: pulumi.Input<boolean>;
316
316
  /**
317
- * Body text size. Value needs to be between `0` and `150`. Defaults to `87.5`.
317
+ * Input labels size. Value needs to be between `0` and `150`. Defaults to `100.0`.
318
318
  */
319
319
  size?: pulumi.Input<number>;
320
320
  }
321
321
  export interface BrandingThemeFontsLinks {
322
322
  /**
323
- * Body text bold. Defaults to `false`.
323
+ * Links bold. Defaults to `true`.
324
324
  */
325
325
  bold?: pulumi.Input<boolean>;
326
326
  /**
327
- * Body text size. Value needs to be between `0` and `150`. Defaults to `87.5`.
327
+ * Links size. Value needs to be between `0` and `150`. Defaults to `87.5`.
328
328
  */
329
329
  size?: pulumi.Input<number>;
330
330
  }
331
331
  export interface BrandingThemeFontsSubtitle {
332
332
  /**
333
- * Body text bold. Defaults to `false`.
333
+ * Subtitle bold. Defaults to `false`.
334
334
  */
335
335
  bold?: pulumi.Input<boolean>;
336
336
  /**
337
- * Body text size. Value needs to be between `0` and `150`. Defaults to `87.5`.
337
+ * Subtitle size. Value needs to be between `0` and `150`. Defaults to `87.5`.
338
338
  */
339
339
  size?: pulumi.Input<number>;
340
340
  }
341
341
  export interface BrandingThemeFontsTitle {
342
342
  /**
343
- * Body text bold. Defaults to `false`.
343
+ * Title bold. Defaults to `false`.
344
344
  */
345
345
  bold?: pulumi.Input<boolean>;
346
346
  /**
347
- * Body text size. Value needs to be between `0` and `150`. Defaults to `87.5`.
347
+ * Title size. Value needs to be between `75` and `150`. Defaults to `150.0`.
348
348
  */
349
349
  size?: pulumi.Input<number>;
350
350
  }
@@ -582,7 +582,7 @@ export interface ClientAddonsAzureSb {
582
582
  */
583
583
  entityPath?: pulumi.Input<string>;
584
584
  /**
585
- * Expiration in minutes for the generated token (default of 5 minutes).
585
+ * Optional expiration in minutes for the generated token. Defaults to 5 minutes.
586
586
  */
587
587
  expiration?: pulumi.Input<number>;
588
588
  /**
@@ -614,7 +614,7 @@ export interface ClientAddonsEchosign {
614
614
  }
615
615
  export interface ClientAddonsEgnyte {
616
616
  /**
617
- * Your custom domain found in your EchoSign URL, for example `https://acme-org.echosign.com` would be `acme-org`.
617
+ * Your custom domain found in your Egnyte URL, for example `https://acme-org.echosign.com` would be `acme-org`.
618
618
  */
619
619
  domain?: pulumi.Input<string>;
620
620
  }
@@ -624,7 +624,7 @@ export interface ClientAddonsFirebase {
624
624
  */
625
625
  clientEmail?: pulumi.Input<string>;
626
626
  /**
627
- * AWS token lifetime in seconds.
627
+ * Optional expiration in seconds for the generated token. Defaults to 3600 seconds (SDK v3+ tokens only).
628
628
  */
629
629
  lifetimeInSeconds?: pulumi.Input<number>;
630
630
  /**
@@ -642,7 +642,7 @@ export interface ClientAddonsFirebase {
642
642
  }
643
643
  export interface ClientAddonsLayer {
644
644
  /**
645
- * Expiration in minutes for the generated token (default of 5 minutes).
645
+ * Optional expiration in minutes for the generated token. Defaults to 5 minutes.
646
646
  */
647
647
  expiration?: pulumi.Input<number>;
648
648
  /**
@@ -650,11 +650,11 @@ export interface ClientAddonsLayer {
650
650
  */
651
651
  keyId: pulumi.Input<string>;
652
652
  /**
653
- * AWS principal ARN, for example `arn:aws:iam::010616021751:saml-provider/idpname`.
653
+ * Name of the property used as the unique user ID in Layer. If not specified `userId` is used.
654
654
  */
655
655
  principal?: pulumi.Input<string>;
656
656
  /**
657
- * Private Key for signing the token (SDK v3+ tokens only).
657
+ * Private key for signing the Layer token.
658
658
  */
659
659
  privateKey: pulumi.Input<string>;
660
660
  /**
@@ -680,13 +680,13 @@ export interface ClientAddonsOffice365 {
680
680
  */
681
681
  connection?: pulumi.Input<string>;
682
682
  /**
683
- * Your custom domain found in your EchoSign URL, for example `https://acme-org.echosign.com` would be `acme-org`.
683
+ * Your Office 365 domain name, for example `acme-org.com`.
684
684
  */
685
685
  domain?: pulumi.Input<string>;
686
686
  }
687
687
  export interface ClientAddonsRms {
688
688
  /**
689
- * Microsoft Dynamics CRM application URL.
689
+ * URL of your Rights Management Server. It can be internal or external, but users will have to be able to reach it.
690
690
  */
691
691
  url?: pulumi.Input<string>;
692
692
  }
@@ -710,7 +710,7 @@ export interface ClientAddonsSalesforceApi {
710
710
  */
711
711
  communityUrlSection?: pulumi.Input<string>;
712
712
  /**
713
- * AWS principal ARN, for example `arn:aws:iam::010616021751:saml-provider/idpname`.
713
+ * Name of the property in the user object that maps to a Salesforce username, for example `email`.
714
714
  */
715
715
  principal?: pulumi.Input<string>;
716
716
  }
@@ -728,7 +728,7 @@ export interface ClientAddonsSalesforceSandboxApi {
728
728
  */
729
729
  communityUrlSection?: pulumi.Input<string>;
730
730
  /**
731
- * AWS principal ARN, for example `arn:aws:iam::010616021751:saml-provider/idpname`.
731
+ * Name of the property in the user object that maps to a Salesforce username, for example `email`.
732
732
  */
733
733
  principal?: pulumi.Input<string>;
734
734
  }
@@ -766,7 +766,7 @@ export interface ClientAddonsSamlp {
766
766
  */
767
767
  issuer?: pulumi.Input<string>;
768
768
  /**
769
- * AWS token lifetime in seconds.
769
+ * Number of seconds during which the token is valid. Defaults to `3600` seconds.
770
770
  */
771
771
  lifetimeInSeconds?: pulumi.Input<number>;
772
772
  /**
@@ -832,11 +832,11 @@ export interface ClientAddonsSamlpLogout {
832
832
  }
833
833
  export interface ClientAddonsSapApi {
834
834
  /**
835
- * Consumer Key assigned by Salesforce to the Connected App.
835
+ * If activated in the OAuth 2.0 client configuration (transaction `SOAUTH2) the SAML attribute`client*id`must be set and equal the`client*id` form parameter of the access token request.
836
836
  */
837
837
  clientId?: pulumi.Input<string>;
838
838
  /**
839
- * Format of the name identifier. Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`.
839
+ * NameID element of the Subject which can be used to express the user's identity. Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`.
840
840
  */
841
841
  nameIdentifierFormat?: pulumi.Input<string>;
842
842
  /**
@@ -872,7 +872,7 @@ export interface ClientAddonsSharepoint {
872
872
  */
873
873
  externalUrls?: pulumi.Input<pulumi.Input<string>[]>;
874
874
  /**
875
- * Microsoft Dynamics CRM application URL.
875
+ * Internal SharePoint application URL.
876
876
  */
877
877
  url?: pulumi.Input<string>;
878
878
  }
@@ -908,13 +908,13 @@ export interface ClientAddonsWsfed {
908
908
  }
909
909
  export interface ClientAddonsZendesk {
910
910
  /**
911
- * Your Azure storage account name. Usually first segment in your Azure storage URL, for example `https://acme-org.blob.core.windows.net` would be the account name `acme-org`.
911
+ * Zendesk account name. Usually the first segment in your Zendesk URL, for example `https://acme-org.zendesk.com` would be `acme-org`.
912
912
  */
913
913
  accountName?: pulumi.Input<string>;
914
914
  }
915
915
  export interface ClientAddonsZoom {
916
916
  /**
917
- * Your New Relic Account ID found in your New Relic URL after the `/accounts/` path, for example `https://rpm.newrelic.com/accounts/123456/query` would be `123456`.
917
+ * Zoom account name. Usually the first segment of your Zoom URL, for example `https://acme-org.zoom.us` would be `acme-org`.
918
918
  */
919
919
  account?: pulumi.Input<string>;
920
920
  }
@@ -1462,9 +1462,6 @@ export interface ConnectionOptionsGatewayAuthentication {
1462
1462
  }
1463
1463
  export interface ConnectionOptionsIdpInitiated {
1464
1464
  clientAuthorizeQuery?: pulumi.Input<string>;
1465
- /**
1466
- * The strategy's client ID.
1467
- */
1468
1465
  clientId?: pulumi.Input<string>;
1469
1466
  clientProtocol?: pulumi.Input<string>;
1470
1467
  }
@@ -1495,16 +1492,10 @@ export interface ConnectionOptionsPasswordDictionary {
1495
1492
  enable?: pulumi.Input<boolean>;
1496
1493
  }
1497
1494
  export interface ConnectionOptionsPasswordHistory {
1498
- /**
1499
- * Indicates whether the password dictionary check is enabled for this connection.
1500
- */
1501
1495
  enable?: pulumi.Input<boolean>;
1502
1496
  size?: pulumi.Input<number>;
1503
1497
  }
1504
1498
  export interface ConnectionOptionsPasswordNoPersonalInfo {
1505
- /**
1506
- * Indicates whether the password dictionary check is enabled for this connection.
1507
- */
1508
1499
  enable?: pulumi.Input<boolean>;
1509
1500
  }
1510
1501
  export interface ConnectionOptionsSigningKey {
@@ -1751,7 +1742,7 @@ export interface GuardianPushDirectApns {
1751
1742
  */
1752
1743
  bundleId: pulumi.Input<string>;
1753
1744
  /**
1754
- * Indicates whether Duo MFA is enabled.
1745
+ * Indicates whether the Apple Push Notification service is enabled.
1755
1746
  */
1756
1747
  enabled?: pulumi.Input<boolean>;
1757
1748
  /**