@pulumi/okta 6.1.0-alpha.1761681155 → 6.1.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/app/groupAssignment.d.ts +1 -1
- package/app/groupAssignment.js +1 -1
- package/customizedSigninPage.d.ts +66 -0
- package/customizedSigninPage.js +66 -0
- package/customizedSigninPage.js.map +1 -1
- package/emailCustomization.d.ts +30 -0
- package/emailCustomization.js +30 -0
- package/emailCustomization.js.map +1 -1
- package/feature.d.ts +12 -0
- package/feature.js +12 -0
- package/feature.js.map +1 -1
- package/getBrand.d.ts +30 -0
- package/getBrand.js +30 -0
- package/getBrand.js.map +1 -1
- package/getEmailCustomization.d.ts +36 -0
- package/getEmailCustomization.js +36 -0
- package/getEmailCustomization.js.map +1 -1
- package/getEmailCustomizations.d.ts +26 -0
- package/getEmailCustomizations.js +26 -0
- package/getEmailCustomizations.js.map +1 -1
- package/getPrincipalEntitlements.d.ts +116 -0
- package/getPrincipalEntitlements.js +116 -0
- package/getPrincipalEntitlements.js.map +1 -1
- package/getRequestV2.d.ts +79 -0
- package/getRequestV2.js +28 -0
- package/getRequestV2.js.map +1 -1
- package/getTemplate.d.ts +26 -0
- package/getTemplate.js +26 -0
- package/getTemplate.js.map +1 -1
- package/getTemplates.d.ts +24 -0
- package/getTemplates.js +24 -0
- package/getTemplates.js.map +1 -1
- package/getTheme.d.ts +26 -0
- package/getTheme.js +26 -0
- package/getTheme.js.map +1 -1
- package/getThemes.d.ts +24 -0
- package/getThemes.js +24 -0
- package/getThemes.js.map +1 -1
- package/inline/hook.d.ts +15 -15
- package/inline/hook.js +15 -15
- package/package.json +3 -3
- package/previewSigninPage.d.ts +66 -0
- package/previewSigninPage.js +66 -0
- package/previewSigninPage.js.map +1 -1
- package/requestCondition.d.ts +17 -0
- package/requestCondition.js +17 -0
- package/requestCondition.js.map +1 -1
- package/requestSettingOrganization.d.ts +17 -0
- package/requestSettingOrganization.js +17 -0
- package/requestSettingOrganization.js.map +1 -1
- package/requestV2.d.ts +39 -12
- package/requestV2.js +27 -0
- package/requestV2.js.map +1 -1
- package/theme.d.ts +23 -0
- package/theme.js +23 -0
- package/theme.js.map +1 -1
- package/types/input.d.ts +7 -7
- package/types/output.d.ts +5 -5
package/app/groupAssignment.d.ts
CHANGED
package/app/groupAssignment.js
CHANGED
|
@@ -6,6 +6,72 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as okta from "@pulumi/okta";
|
|
12
|
+
*
|
|
13
|
+
* const test = new okta.Brand("test", {
|
|
14
|
+
* name: "testBrand",
|
|
15
|
+
* locale: "en",
|
|
16
|
+
* });
|
|
17
|
+
* const testCustomizedSigninPage = new okta.CustomizedSigninPage("test", {
|
|
18
|
+
* brandId: oktaBrand.test.id,
|
|
19
|
+
* pageContent: `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
20
|
+
* <html>
|
|
21
|
+
* <head>
|
|
22
|
+
* <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
23
|
+
* <meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
24
|
+
* <meta name="robots" content="noindex,nofollow" />
|
|
25
|
+
* <!-- Styles generated from theme -->
|
|
26
|
+
* <link href="{{themedStylesUrl}}" rel="stylesheet" type="text/css">
|
|
27
|
+
* <!-- Favicon from theme -->
|
|
28
|
+
* <link rel="shortcut icon" href="{{faviconUrl}}" type="image/x-icon"/>
|
|
29
|
+
*
|
|
30
|
+
* <title>{{pageTitle}}</title>
|
|
31
|
+
* {{{SignInWidgetResources}}}
|
|
32
|
+
*
|
|
33
|
+
* <style nonce="{{nonceValue}}">
|
|
34
|
+
* #login-bg-image-id {
|
|
35
|
+
* background-image: {{bgImageUrl}}
|
|
36
|
+
* }
|
|
37
|
+
* </style>
|
|
38
|
+
* </head>
|
|
39
|
+
* <body>
|
|
40
|
+
* <div id="login-bg-image-id" class="login-bg-image tb--background"></div>
|
|
41
|
+
* <div id="okta-login-container"></div>
|
|
42
|
+
*
|
|
43
|
+
* <!--
|
|
44
|
+
* "OktaUtil" defines a global OktaUtil object
|
|
45
|
+
* that contains methods used to complete the Okta login flow.
|
|
46
|
+
* -->
|
|
47
|
+
* {{{OktaUtil}}}
|
|
48
|
+
*
|
|
49
|
+
* <script type="text/javascript" nonce="{{nonceValue}}">
|
|
50
|
+
* // "config" object contains default widget configuration
|
|
51
|
+
* // with any custom overrides defined in your admin settings.
|
|
52
|
+
* var config = OktaUtil.getSignInWidgetConfig();
|
|
53
|
+
*
|
|
54
|
+
* // Render the Okta Sign-In Widget
|
|
55
|
+
* var oktaSignIn = new OktaSignIn(config);
|
|
56
|
+
* oktaSignIn.renderEl({ el: '#okta-login-container' },
|
|
57
|
+
* OktaUtil.completeLogin,
|
|
58
|
+
* function(error) {
|
|
59
|
+
* // Logs errors that occur when configuring the widget.
|
|
60
|
+
* // Remove or replace this with your own custom error handler.
|
|
61
|
+
* console.log(error.message, error);
|
|
62
|
+
* }
|
|
63
|
+
* );
|
|
64
|
+
* </script>
|
|
65
|
+
* </body>
|
|
66
|
+
* </html>
|
|
67
|
+
* `,
|
|
68
|
+
* widgetVersion: "^6",
|
|
69
|
+
* widgetCustomizations: {
|
|
70
|
+
* widgetGeneration: "G3",
|
|
71
|
+
* },
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
9
75
|
* ## Import
|
|
10
76
|
*
|
|
11
77
|
* ```sh
|
package/customizedSigninPage.js
CHANGED
|
@@ -10,6 +10,72 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* const test = new okta.Brand("test", {
|
|
18
|
+
* name: "testBrand",
|
|
19
|
+
* locale: "en",
|
|
20
|
+
* });
|
|
21
|
+
* const testCustomizedSigninPage = new okta.CustomizedSigninPage("test", {
|
|
22
|
+
* brandId: oktaBrand.test.id,
|
|
23
|
+
* pageContent: `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
24
|
+
* <html>
|
|
25
|
+
* <head>
|
|
26
|
+
* <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
27
|
+
* <meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
28
|
+
* <meta name="robots" content="noindex,nofollow" />
|
|
29
|
+
* <!-- Styles generated from theme -->
|
|
30
|
+
* <link href="{{themedStylesUrl}}" rel="stylesheet" type="text/css">
|
|
31
|
+
* <!-- Favicon from theme -->
|
|
32
|
+
* <link rel="shortcut icon" href="{{faviconUrl}}" type="image/x-icon"/>
|
|
33
|
+
*
|
|
34
|
+
* <title>{{pageTitle}}</title>
|
|
35
|
+
* {{{SignInWidgetResources}}}
|
|
36
|
+
*
|
|
37
|
+
* <style nonce="{{nonceValue}}">
|
|
38
|
+
* #login-bg-image-id {
|
|
39
|
+
* background-image: {{bgImageUrl}}
|
|
40
|
+
* }
|
|
41
|
+
* </style>
|
|
42
|
+
* </head>
|
|
43
|
+
* <body>
|
|
44
|
+
* <div id="login-bg-image-id" class="login-bg-image tb--background"></div>
|
|
45
|
+
* <div id="okta-login-container"></div>
|
|
46
|
+
*
|
|
47
|
+
* <!--
|
|
48
|
+
* "OktaUtil" defines a global OktaUtil object
|
|
49
|
+
* that contains methods used to complete the Okta login flow.
|
|
50
|
+
* -->
|
|
51
|
+
* {{{OktaUtil}}}
|
|
52
|
+
*
|
|
53
|
+
* <script type="text/javascript" nonce="{{nonceValue}}">
|
|
54
|
+
* // "config" object contains default widget configuration
|
|
55
|
+
* // with any custom overrides defined in your admin settings.
|
|
56
|
+
* var config = OktaUtil.getSignInWidgetConfig();
|
|
57
|
+
*
|
|
58
|
+
* // Render the Okta Sign-In Widget
|
|
59
|
+
* var oktaSignIn = new OktaSignIn(config);
|
|
60
|
+
* oktaSignIn.renderEl({ el: '#okta-login-container' },
|
|
61
|
+
* OktaUtil.completeLogin,
|
|
62
|
+
* function(error) {
|
|
63
|
+
* // Logs errors that occur when configuring the widget.
|
|
64
|
+
* // Remove or replace this with your own custom error handler.
|
|
65
|
+
* console.log(error.message, error);
|
|
66
|
+
* }
|
|
67
|
+
* );
|
|
68
|
+
* </script>
|
|
69
|
+
* </body>
|
|
70
|
+
* </html>
|
|
71
|
+
* `,
|
|
72
|
+
* widgetVersion: "^6",
|
|
73
|
+
* widgetCustomizations: {
|
|
74
|
+
* widgetGeneration: "G3",
|
|
75
|
+
* },
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
13
79
|
* ## Import
|
|
14
80
|
*
|
|
15
81
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customizedSigninPage.js","sourceRoot":"","sources":["../customizedSigninPage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customizedSigninPage.js","sourceRoot":"","sources":["../customizedSigninPage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,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AAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,8BAA8B,CAAC,GAAG,IAAI,EAAE,4BAA4B,CAAC;YACpF,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AArFL,oDAsFC;AAxEG,gBAAgB;AACO,iCAAY,GAAG,sDAAsD,CAAC"}
|
package/emailCustomization.d.ts
CHANGED
|
@@ -30,6 +30,36 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
30
|
* does not contain a required variable reference. The API will 404 for an invalid
|
|
31
31
|
* 'brand_id' or 'template_name'.
|
|
32
32
|
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as okta from "@pulumi/okta";
|
|
38
|
+
*
|
|
39
|
+
* const test = okta.getBrands({});
|
|
40
|
+
* const forgotPassword = test.then(test => okta.getEmailCustomizations({
|
|
41
|
+
* brandId: test.brands?.[0]?.id,
|
|
42
|
+
* templateName: "ForgotPassword",
|
|
43
|
+
* }));
|
|
44
|
+
* const forgotPasswordEn = new okta.EmailCustomization("forgot_password_en", {
|
|
45
|
+
* brandId: test.then(test => test.brands?.[0]?.id),
|
|
46
|
+
* templateName: "ForgotPassword",
|
|
47
|
+
* language: "en",
|
|
48
|
+
* isDefault: true,
|
|
49
|
+
* subject: "Account password reset",
|
|
50
|
+
* body: "Hi $$user.firstName,<br/><br/>Click this link to reset your password: $$resetPasswordLink",
|
|
51
|
+
* });
|
|
52
|
+
* const forgotPasswordEs = new okta.EmailCustomization("forgot_password_es", {
|
|
53
|
+
* brandId: test.then(test => test.brands?.[0]?.id),
|
|
54
|
+
* templateName: "ForgotPassword",
|
|
55
|
+
* language: "es",
|
|
56
|
+
* subject: "Restablecimiento de contraseña de cuenta",
|
|
57
|
+
* body: "Hola $$user.firstName,<br/><br/>Haga clic en este enlace para restablecer tu contraseña: $$resetPasswordLink",
|
|
58
|
+
* }, {
|
|
59
|
+
* dependsOn: [forgotPasswordEn],
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
33
63
|
* ## Import
|
|
34
64
|
*
|
|
35
65
|
* ```sh
|
package/emailCustomization.js
CHANGED
|
@@ -36,6 +36,36 @@ const utilities = require("./utilities");
|
|
|
36
36
|
* does not contain a required variable reference. The API will 404 for an invalid
|
|
37
37
|
* 'brand_id' or 'template_name'.
|
|
38
38
|
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as okta from "@pulumi/okta";
|
|
44
|
+
*
|
|
45
|
+
* const test = okta.getBrands({});
|
|
46
|
+
* const forgotPassword = test.then(test => okta.getEmailCustomizations({
|
|
47
|
+
* brandId: test.brands?.[0]?.id,
|
|
48
|
+
* templateName: "ForgotPassword",
|
|
49
|
+
* }));
|
|
50
|
+
* const forgotPasswordEn = new okta.EmailCustomization("forgot_password_en", {
|
|
51
|
+
* brandId: test.then(test => test.brands?.[0]?.id),
|
|
52
|
+
* templateName: "ForgotPassword",
|
|
53
|
+
* language: "en",
|
|
54
|
+
* isDefault: true,
|
|
55
|
+
* subject: "Account password reset",
|
|
56
|
+
* body: "Hi $$user.firstName,<br/><br/>Click this link to reset your password: $$resetPasswordLink",
|
|
57
|
+
* });
|
|
58
|
+
* const forgotPasswordEs = new okta.EmailCustomization("forgot_password_es", {
|
|
59
|
+
* brandId: test.then(test => test.brands?.[0]?.id),
|
|
60
|
+
* templateName: "ForgotPassword",
|
|
61
|
+
* language: "es",
|
|
62
|
+
* subject: "Restablecimiento de contraseña de cuenta",
|
|
63
|
+
* body: "Hola $$user.firstName,<br/><br/>Haga clic en este enlace para restablecer tu contraseña: $$resetPasswordLink",
|
|
64
|
+
* }, {
|
|
65
|
+
* dependsOn: [forgotPasswordEn],
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
39
69
|
* ## Import
|
|
40
70
|
*
|
|
41
71
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailCustomization.js","sourceRoot":"","sources":["../emailCustomization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"emailCustomization.js","sourceRoot":"","sources":["../emailCustomization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IA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CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAvGL,gDAwGC;AA1FG,gBAAgB;AACO,+BAAY,GAAG,kDAAkD,CAAC"}
|
package/feature.d.ts
CHANGED
|
@@ -4,6 +4,18 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Manages brand. This resource allows you to toggle an Okta Feature.
|
|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as okta from "@pulumi/okta";
|
|
12
|
+
*
|
|
13
|
+
* const example = okta.getFeatures({
|
|
14
|
+
* label: "Android Device Trust",
|
|
15
|
+
* });
|
|
16
|
+
* const test = new okta.Feature("test", {featureId: example.then(example => example.features?.[0]?.id)});
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
7
19
|
* ## Import
|
|
8
20
|
*
|
|
9
21
|
* ```sh
|
package/feature.js
CHANGED
|
@@ -8,6 +8,18 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages brand. This resource allows you to toggle an Okta Feature.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* const example = okta.getFeatures({
|
|
18
|
+
* label: "Android Device Trust",
|
|
19
|
+
* });
|
|
20
|
+
* const test = new okta.Feature("test", {featureId: example.then(example => example.features?.[0]?.id)});
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
11
23
|
* ## Import
|
|
12
24
|
*
|
|
13
25
|
* ```sh
|
package/feature.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.js","sourceRoot":"","sources":["../feature.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"feature.js","sourceRoot":"","sources":["../feature.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC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,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAlGL,0BAmGC;AArFG,gBAAgB;AACO,oBAAY,GAAG,4BAA4B,CAAC"}
|
package/getBrand.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Get a single Brand from Okta.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as okta from "@pulumi/okta";
|
|
10
|
+
*
|
|
11
|
+
* const test = okta.getBrands({});
|
|
12
|
+
* const testGetBrand = test.then(test => okta.getBrand({
|
|
13
|
+
* brandId: test.brands?.[0]?.id,
|
|
14
|
+
* }));
|
|
15
|
+
* const _default = okta.getBrand({
|
|
16
|
+
* brandId: "default",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
4
19
|
*/
|
|
5
20
|
export declare function getBrand(args: GetBrandArgs, opts?: pulumi.InvokeOptions): Promise<GetBrandResult>;
|
|
6
21
|
/**
|
|
@@ -43,6 +58,21 @@ export interface GetBrandResult {
|
|
|
43
58
|
}
|
|
44
59
|
/**
|
|
45
60
|
* Get a single Brand from Okta.
|
|
61
|
+
*
|
|
62
|
+
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as okta from "@pulumi/okta";
|
|
67
|
+
*
|
|
68
|
+
* const test = okta.getBrands({});
|
|
69
|
+
* const testGetBrand = test.then(test => okta.getBrand({
|
|
70
|
+
* brandId: test.brands?.[0]?.id,
|
|
71
|
+
* }));
|
|
72
|
+
* const _default = okta.getBrand({
|
|
73
|
+
* brandId: "default",
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
46
76
|
*/
|
|
47
77
|
export declare function getBrandOutput(args: GetBrandOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBrandResult>;
|
|
48
78
|
/**
|
package/getBrand.js
CHANGED
|
@@ -7,6 +7,21 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Get a single Brand from Okta.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* const test = okta.getBrands({});
|
|
18
|
+
* const testGetBrand = test.then(test => okta.getBrand({
|
|
19
|
+
* brandId: test.brands?.[0]?.id,
|
|
20
|
+
* }));
|
|
21
|
+
* const _default = okta.getBrand({
|
|
22
|
+
* brandId: "default",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
10
25
|
*/
|
|
11
26
|
function getBrand(args, opts) {
|
|
12
27
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,6 +32,21 @@ function getBrand(args, opts) {
|
|
|
17
32
|
exports.getBrand = getBrand;
|
|
18
33
|
/**
|
|
19
34
|
* Get a single Brand from Okta.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as okta from "@pulumi/okta";
|
|
41
|
+
*
|
|
42
|
+
* const test = okta.getBrands({});
|
|
43
|
+
* const testGetBrand = test.then(test => okta.getBrand({
|
|
44
|
+
* brandId: test.brands?.[0]?.id,
|
|
45
|
+
* }));
|
|
46
|
+
* const _default = okta.getBrand({
|
|
47
|
+
* brandId: "default",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
20
50
|
*/
|
|
21
51
|
function getBrandOutput(args, opts) {
|
|
22
52
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getBrand.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBrand.js","sourceRoot":"","sources":["../getBrand.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getBrand.js","sourceRoot":"","sources":["../getBrand.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAyCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Get the email customization of an email template belonging to a brand in an Okta organization.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as okta from "@pulumi/okta";
|
|
10
|
+
*
|
|
11
|
+
* const test = okta.getBrands({});
|
|
12
|
+
* const forgotPassword = test.then(test => okta.getEmailCustomizations({
|
|
13
|
+
* brandId: test.brands?.[0]?.id,
|
|
14
|
+
* templateName: "ForgotPassword",
|
|
15
|
+
* }));
|
|
16
|
+
* const forgotPasswordEn = Promise.all([test, forgotPassword]).then(([test, forgotPassword]) => okta.getEmailCustomization({
|
|
17
|
+
* brandId: test.brands?.[0]?.id,
|
|
18
|
+
* templateName: "ForgotPassword",
|
|
19
|
+
* customizationId: forgotPassword.emailCustomizations?.[0]?.id,
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
4
22
|
*/
|
|
5
23
|
export declare function getEmailCustomization(args: GetEmailCustomizationArgs, opts?: pulumi.InvokeOptions): Promise<GetEmailCustomizationResult>;
|
|
6
24
|
/**
|
|
@@ -63,6 +81,24 @@ export interface GetEmailCustomizationResult {
|
|
|
63
81
|
}
|
|
64
82
|
/**
|
|
65
83
|
* Get the email customization of an email template belonging to a brand in an Okta organization.
|
|
84
|
+
*
|
|
85
|
+
* ## Example Usage
|
|
86
|
+
*
|
|
87
|
+
* ```typescript
|
|
88
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
89
|
+
* import * as okta from "@pulumi/okta";
|
|
90
|
+
*
|
|
91
|
+
* const test = okta.getBrands({});
|
|
92
|
+
* const forgotPassword = test.then(test => okta.getEmailCustomizations({
|
|
93
|
+
* brandId: test.brands?.[0]?.id,
|
|
94
|
+
* templateName: "ForgotPassword",
|
|
95
|
+
* }));
|
|
96
|
+
* const forgotPasswordEn = Promise.all([test, forgotPassword]).then(([test, forgotPassword]) => okta.getEmailCustomization({
|
|
97
|
+
* brandId: test.brands?.[0]?.id,
|
|
98
|
+
* templateName: "ForgotPassword",
|
|
99
|
+
* customizationId: forgotPassword.emailCustomizations?.[0]?.id,
|
|
100
|
+
* }));
|
|
101
|
+
* ```
|
|
66
102
|
*/
|
|
67
103
|
export declare function getEmailCustomizationOutput(args: GetEmailCustomizationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEmailCustomizationResult>;
|
|
68
104
|
/**
|
package/getEmailCustomization.js
CHANGED
|
@@ -7,6 +7,24 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Get the email customization of an email template belonging to a brand in an Okta organization.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* const test = okta.getBrands({});
|
|
18
|
+
* const forgotPassword = test.then(test => okta.getEmailCustomizations({
|
|
19
|
+
* brandId: test.brands?.[0]?.id,
|
|
20
|
+
* templateName: "ForgotPassword",
|
|
21
|
+
* }));
|
|
22
|
+
* const forgotPasswordEn = Promise.all([test, forgotPassword]).then(([test, forgotPassword]) => okta.getEmailCustomization({
|
|
23
|
+
* brandId: test.brands?.[0]?.id,
|
|
24
|
+
* templateName: "ForgotPassword",
|
|
25
|
+
* customizationId: forgotPassword.emailCustomizations?.[0]?.id,
|
|
26
|
+
* }));
|
|
27
|
+
* ```
|
|
10
28
|
*/
|
|
11
29
|
function getEmailCustomization(args, opts) {
|
|
12
30
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -19,6 +37,24 @@ function getEmailCustomization(args, opts) {
|
|
|
19
37
|
exports.getEmailCustomization = getEmailCustomization;
|
|
20
38
|
/**
|
|
21
39
|
* Get the email customization of an email template belonging to a brand in an Okta organization.
|
|
40
|
+
*
|
|
41
|
+
* ## Example Usage
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as okta from "@pulumi/okta";
|
|
46
|
+
*
|
|
47
|
+
* const test = okta.getBrands({});
|
|
48
|
+
* const forgotPassword = test.then(test => okta.getEmailCustomizations({
|
|
49
|
+
* brandId: test.brands?.[0]?.id,
|
|
50
|
+
* templateName: "ForgotPassword",
|
|
51
|
+
* }));
|
|
52
|
+
* const forgotPasswordEn = Promise.all([test, forgotPassword]).then(([test, forgotPassword]) => okta.getEmailCustomization({
|
|
53
|
+
* brandId: test.brands?.[0]?.id,
|
|
54
|
+
* templateName: "ForgotPassword",
|
|
55
|
+
* customizationId: forgotPassword.emailCustomizations?.[0]?.id,
|
|
56
|
+
* }));
|
|
57
|
+
* ```
|
|
22
58
|
*/
|
|
23
59
|
function getEmailCustomizationOutput(args, opts) {
|
|
24
60
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEmailCustomization.js","sourceRoot":"","sources":["../getEmailCustomization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getEmailCustomization.js","sourceRoot":"","sources":["../getEmailCustomization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AA6DD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC"}
|
|
@@ -2,6 +2,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Get the email customizations of an email template belonging to a brand in an Okta organization.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as okta from "@pulumi/okta";
|
|
11
|
+
*
|
|
12
|
+
* const test = okta.getBrands({});
|
|
13
|
+
* const forgotPassword = test.then(test => okta.getEmailCustomizations({
|
|
14
|
+
* brandId: test.brands?.[0]?.id,
|
|
15
|
+
* templateName: "ForgotPassword",
|
|
16
|
+
* }));
|
|
17
|
+
* ```
|
|
5
18
|
*/
|
|
6
19
|
export declare function getEmailCustomizations(args: GetEmailCustomizationsArgs, opts?: pulumi.InvokeOptions): Promise<GetEmailCustomizationsResult>;
|
|
7
20
|
/**
|
|
@@ -40,6 +53,19 @@ export interface GetEmailCustomizationsResult {
|
|
|
40
53
|
}
|
|
41
54
|
/**
|
|
42
55
|
* Get the email customizations of an email template belonging to a brand in an Okta organization.
|
|
56
|
+
*
|
|
57
|
+
* ## Example Usage
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as okta from "@pulumi/okta";
|
|
62
|
+
*
|
|
63
|
+
* const test = okta.getBrands({});
|
|
64
|
+
* const forgotPassword = test.then(test => okta.getEmailCustomizations({
|
|
65
|
+
* brandId: test.brands?.[0]?.id,
|
|
66
|
+
* templateName: "ForgotPassword",
|
|
67
|
+
* }));
|
|
68
|
+
* ```
|
|
43
69
|
*/
|
|
44
70
|
export declare function getEmailCustomizationsOutput(args: GetEmailCustomizationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEmailCustomizationsResult>;
|
|
45
71
|
/**
|
|
@@ -7,6 +7,19 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Get the email customizations of an email template belonging to a brand in an Okta organization.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* const test = okta.getBrands({});
|
|
18
|
+
* const forgotPassword = test.then(test => okta.getEmailCustomizations({
|
|
19
|
+
* brandId: test.brands?.[0]?.id,
|
|
20
|
+
* templateName: "ForgotPassword",
|
|
21
|
+
* }));
|
|
22
|
+
* ```
|
|
10
23
|
*/
|
|
11
24
|
function getEmailCustomizations(args, opts) {
|
|
12
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -18,6 +31,19 @@ function getEmailCustomizations(args, opts) {
|
|
|
18
31
|
exports.getEmailCustomizations = getEmailCustomizations;
|
|
19
32
|
/**
|
|
20
33
|
* Get the email customizations of an email template belonging to a brand in an Okta organization.
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as okta from "@pulumi/okta";
|
|
40
|
+
*
|
|
41
|
+
* const test = okta.getBrands({});
|
|
42
|
+
* const forgotPassword = test.then(test => okta.getEmailCustomizations({
|
|
43
|
+
* brandId: test.brands?.[0]?.id,
|
|
44
|
+
* templateName: "ForgotPassword",
|
|
45
|
+
* }));
|
|
46
|
+
* ```
|
|
21
47
|
*/
|
|
22
48
|
function getEmailCustomizationsOutput(args, opts) {
|
|
23
49
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEmailCustomizations.js","sourceRoot":"","sources":["../getEmailCustomizations.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getEmailCustomizations.js","sourceRoot":"","sources":["../getEmailCustomizations.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AAqCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAAiC;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC"}
|