@pulumi/auth0 2.6.0 → 2.7.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/action.d.ts +49 -21
- package/action.js +23 -4
- package/action.js.map +1 -1
- package/branding.d.ts +13 -4
- package/branding.js +4 -1
- package/branding.js.map +1 -1
- package/client.d.ts +30 -0
- package/client.js +11 -0
- package/client.js.map +1 -1
- package/clientGrant.d.ts +10 -8
- package/clientGrant.js +10 -8
- package/clientGrant.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/connection.d.ts +16 -5
- package/connection.js +13 -2
- package/connection.js.map +1 -1
- package/customDomain.d.ts +18 -7
- package/customDomain.js +10 -2
- package/customDomain.js.map +1 -1
- package/customDomainVerification.d.ts +13 -0
- package/customDomainVerification.js +13 -0
- package/customDomainVerification.js.map +1 -1
- package/email.d.ts +11 -1
- package/email.js +11 -1
- package/email.js.map +1 -1
- package/emailTemplate.d.ts +14 -4
- package/emailTemplate.js +11 -1
- package/emailTemplate.js.map +1 -1
- package/getClient.d.ts +95 -0
- package/getClient.js +41 -0
- package/getClient.js.map +1 -0
- package/getGlobalClient.d.ts +99 -0
- package/getGlobalClient.js +36 -0
- package/getGlobalClient.js.map +1 -0
- package/globalClient.d.ts +40 -0
- package/globalClient.js +33 -0
- package/globalClient.js.map +1 -1
- package/guardian.d.ts +23 -8
- package/guardian.js +13 -2
- package/guardian.js.map +1 -1
- package/hook.d.ts +31 -19
- package/hook.js +10 -1
- package/hook.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/index.js.map +1 -1
- package/logStream.d.ts +1 -1
- package/logStream.js +1 -1
- package/organization.d.ts +8 -0
- package/organization.js +8 -0
- package/organization.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/prompt.d.ts +14 -3
- package/prompt.js +8 -0
- package/prompt.js.map +1 -1
- package/promptCustomText.d.ts +1 -1
- package/promptCustomText.js +1 -1
- package/provider.d.ts +6 -4
- package/provider.js +1 -6
- package/provider.js.map +1 -1
- package/resourceServer.d.ts +17 -9
- package/resourceServer.js +8 -0
- package/resourceServer.js.map +1 -1
- package/role.d.ts +29 -16
- package/role.js +23 -13
- package/role.js.map +1 -1
- package/rule.d.ts +11 -1
- package/rule.js +11 -1
- package/rule.js.map +1 -1
- package/ruleConfig.d.ts +11 -1
- package/ruleConfig.js +11 -1
- package/ruleConfig.js.map +1 -1
- package/tenant.d.ts +24 -13
- package/tenant.js +24 -13
- package/tenant.js.map +1 -1
- package/types/input.d.ts +12 -16
- package/types/output.d.ts +314 -16
- package/user.d.ts +22 -13
- package/user.js +10 -1
- package/user.js.map +1 -1
package/connection.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.Connection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* With Auth0, you can define sources of users, otherwise known as connections, which may include identity providers
|
|
9
|
+
* With Auth0, you can define sources of users, otherwise known as connections, which may include identity providers
|
|
10
|
+
* (such as Google or LinkedIn), databases, or passwordless authentication methods. This resource allows you to configure
|
|
11
|
+
* and manage connections to be used with your clients and users.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -38,7 +40,16 @@ const utilities = require("./utilities");
|
|
|
38
40
|
* });
|
|
39
41
|
* ```
|
|
40
42
|
*
|
|
41
|
-
* > The Auth0 dashboard displays only one connection per social provider. Although the Auth0 Management API
|
|
43
|
+
* > The Auth0 dashboard displays only one connection per social provider. Although the Auth0 Management API allows the
|
|
44
|
+
* creation of multiple connections per strategy, the additional connections may not be visible in the Auth0 dashboard.
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* Connections can be imported using their id, e.g.
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import auth0:index/connection:Connection google con_a17f21fdb24d48a0
|
|
52
|
+
* ```
|
|
42
53
|
*/
|
|
43
54
|
class Connection extends pulumi.CustomResource {
|
|
44
55
|
constructor(name, argsOrState, opts) {
|
package/connection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAyEjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,C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* as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* With Auth0, you can use a custom domain to maintain a consistent user experience. This resource allows you to create and
|
|
4
|
+
* With Auth0, you can use a custom domain to maintain a consistent user experience. This resource allows you to create and
|
|
5
|
+
* manage a custom domain within your Auth0 tenant.
|
|
5
6
|
*
|
|
6
7
|
* ## Example Usage
|
|
7
8
|
*
|
|
@@ -12,9 +13,16 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
12
13
|
* const myCustomDomain = new auth0.CustomDomain("my_custom_domain", {
|
|
13
14
|
* domain: "auth.example.com",
|
|
14
15
|
* type: "auth0_managed_certs",
|
|
15
|
-
* verificationMethod: "txt",
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* Custom Domains can be imported using the id, e.g.
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import auth0:index/customDomain:CustomDomain my_custom_domain cd_XXXXXXXXXXXXXXXX
|
|
25
|
+
* ```
|
|
18
26
|
*/
|
|
19
27
|
export declare class CustomDomain extends pulumi.CustomResource {
|
|
20
28
|
/**
|
|
@@ -37,7 +45,7 @@ export declare class CustomDomain extends pulumi.CustomResource {
|
|
|
37
45
|
*/
|
|
38
46
|
readonly domain: pulumi.Output<string>;
|
|
39
47
|
/**
|
|
40
|
-
* Boolean. Indicates whether
|
|
48
|
+
* Boolean. Indicates whether this is a primary domain.
|
|
41
49
|
*/
|
|
42
50
|
readonly primary: pulumi.Output<boolean>;
|
|
43
51
|
/**
|
|
@@ -53,7 +61,8 @@ export declare class CustomDomain extends pulumi.CustomResource {
|
|
|
53
61
|
*/
|
|
54
62
|
readonly verification: pulumi.Output<outputs.CustomDomainVerification>;
|
|
55
63
|
/**
|
|
56
|
-
* String. Domain verification method.
|
|
64
|
+
* String. Domain verification method. The method is chosen according to the type of
|
|
65
|
+
* the custom domain. `CNAME` for `auth0ManagedCerts`, `TXT` for `selfManagedCerts`.
|
|
57
66
|
*
|
|
58
67
|
* @deprecated The method is chosen according to the type of the custom domain. CNAME for auth0_managed_certs, TXT for self_managed_certs
|
|
59
68
|
*/
|
|
@@ -76,7 +85,7 @@ export interface CustomDomainState {
|
|
|
76
85
|
*/
|
|
77
86
|
domain?: pulumi.Input<string>;
|
|
78
87
|
/**
|
|
79
|
-
* Boolean. Indicates whether
|
|
88
|
+
* Boolean. Indicates whether this is a primary domain.
|
|
80
89
|
*/
|
|
81
90
|
primary?: pulumi.Input<boolean>;
|
|
82
91
|
/**
|
|
@@ -92,7 +101,8 @@ export interface CustomDomainState {
|
|
|
92
101
|
*/
|
|
93
102
|
verification?: pulumi.Input<inputs.CustomDomainVerification>;
|
|
94
103
|
/**
|
|
95
|
-
* String. Domain verification method.
|
|
104
|
+
* String. Domain verification method. The method is chosen according to the type of
|
|
105
|
+
* the custom domain. `CNAME` for `auth0ManagedCerts`, `TXT` for `selfManagedCerts`.
|
|
96
106
|
*
|
|
97
107
|
* @deprecated The method is chosen according to the type of the custom domain. CNAME for auth0_managed_certs, TXT for self_managed_certs
|
|
98
108
|
*/
|
|
@@ -111,7 +121,8 @@ export interface CustomDomainArgs {
|
|
|
111
121
|
*/
|
|
112
122
|
type: pulumi.Input<string>;
|
|
113
123
|
/**
|
|
114
|
-
* String. Domain verification method.
|
|
124
|
+
* String. Domain verification method. The method is chosen according to the type of
|
|
125
|
+
* the custom domain. `CNAME` for `auth0ManagedCerts`, `TXT` for `selfManagedCerts`.
|
|
115
126
|
*
|
|
116
127
|
* @deprecated The method is chosen according to the type of the custom domain. CNAME for auth0_managed_certs, TXT for self_managed_certs
|
|
117
128
|
*/
|
package/customDomain.js
CHANGED
|
@@ -6,7 +6,8 @@ exports.CustomDomain = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* With Auth0, you can use a custom domain to maintain a consistent user experience. This resource allows you to create and
|
|
9
|
+
* With Auth0, you can use a custom domain to maintain a consistent user experience. This resource allows you to create and
|
|
10
|
+
* manage a custom domain within your Auth0 tenant.
|
|
10
11
|
*
|
|
11
12
|
* ## Example Usage
|
|
12
13
|
*
|
|
@@ -17,9 +18,16 @@ const utilities = require("./utilities");
|
|
|
17
18
|
* const myCustomDomain = new auth0.CustomDomain("my_custom_domain", {
|
|
18
19
|
* domain: "auth.example.com",
|
|
19
20
|
* type: "auth0_managed_certs",
|
|
20
|
-
* verificationMethod: "txt",
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Custom Domains can be imported using the id, e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import auth0:index/customDomain:CustomDomain my_custom_domain cd_XXXXXXXXXXXXXXXX
|
|
30
|
+
* ```
|
|
23
31
|
*/
|
|
24
32
|
class CustomDomain extends pulumi.CustomResource {
|
|
25
33
|
constructor(name, argsOrState, opts) {
|
package/customDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../customDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../customDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAgEnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;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c,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IA3FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCA6FC;AA/EG,gBAAgB;AACO,yBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* With Auth0, you can use a custom domain to maintain a consistent user experience. This is a three-step process; you must
|
|
4
|
+
* configure the custom domain in Auth0, then create a DNS record for the domain, then verify the DNS record in Auth0.
|
|
5
|
+
* This resource allows for automating the verification part of the process.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* You can import this resource using the custom domain id, e.g.
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import auth0:index/customDomainVerification:CustomDomainVerification my_custom_domain_verification cd_XXXXXXXXXXXXXXXX
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
2
15
|
export declare class CustomDomainVerification extends pulumi.CustomResource {
|
|
3
16
|
/**
|
|
4
17
|
* Get an existing CustomDomainVerification resource's state with the given name, ID, and optional extra
|
|
@@ -5,6 +5,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.CustomDomainVerification = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* With Auth0, you can use a custom domain to maintain a consistent user experience. This is a three-step process; you must
|
|
10
|
+
* configure the custom domain in Auth0, then create a DNS record for the domain, then verify the DNS record in Auth0.
|
|
11
|
+
* This resource allows for automating the verification part of the process.
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* You can import this resource using the custom domain id, e.g.
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import auth0:index/customDomainVerification:CustomDomainVerification my_custom_domain_verification cd_XXXXXXXXXXXXXXXX
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
8
21
|
class CustomDomainVerification extends pulumi.CustomResource {
|
|
9
22
|
constructor(name, argsOrState, opts) {
|
|
10
23
|
let resourceInputs = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDomainVerification.js","sourceRoot":"","sources":["../customDomainVerification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAA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;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DAyDC;AA3CG,gBAAgB;AACO,qCAAY,GAAG,+DAA+D,CAAC"}
|
package/email.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
|
|
4
|
+
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
|
|
5
|
+
* into Auth0. This resource allows you to configure email providers, so you can route all emails that are part of Auth0's
|
|
6
|
+
* authentication workflows through the supported high-volume email service of your choice.
|
|
5
7
|
*
|
|
6
8
|
* ## Example Usage
|
|
7
9
|
*
|
|
@@ -19,6 +21,14 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
19
21
|
* enabled: true,
|
|
20
22
|
* });
|
|
21
23
|
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, email can be imported using a random string. We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import auth0:index/email:Email my_email_provider b4213dc2-2eed-42c3-9516-c6131a9ce0b0
|
|
31
|
+
* ```
|
|
22
32
|
*/
|
|
23
33
|
export declare class Email extends pulumi.CustomResource {
|
|
24
34
|
/**
|
package/email.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.Email = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
|
|
9
|
+
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
|
|
10
|
+
* into Auth0. This resource allows you to configure email providers, so you can route all emails that are part of Auth0's
|
|
11
|
+
* authentication workflows through the supported high-volume email service of your choice.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -24,6 +26,14 @@ const utilities = require("./utilities");
|
|
|
24
26
|
* enabled: true,
|
|
25
27
|
* });
|
|
26
28
|
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, email can be imported using a random string. We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import auth0:index/email:Email my_email_provider b4213dc2-2eed-42c3-9516-c6131a9ce0b0
|
|
36
|
+
* ```
|
|
27
37
|
*/
|
|
28
38
|
class Email extends pulumi.CustomResource {
|
|
29
39
|
constructor(name, argsOrState, opts) {
|
package/email.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.js","sourceRoot":"","sources":["../email.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"email.js","sourceRoot":"","sources":["../email.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;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CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IA5ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBA8EC;AAhEG,gBAAgB;AACO,kBAAY,GAAG,yBAAyB,CAAC"}
|
package/emailTemplate.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
|
|
3
|
+
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
|
|
4
|
+
* into Auth0. This resource allows you to configure email templates to customize the look, feel, and sender identities of
|
|
5
|
+
* emails sent by Auth0. Used in conjunction with configured email providers.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
@@ -30,6 +32,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
32
|
* dependsOn: [myEmailProvider],
|
|
31
33
|
* });
|
|
32
34
|
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* This resource can be imported using the template name, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import auth0:index/emailTemplate:EmailTemplate my_email_template welcome_email
|
|
42
|
+
* ```
|
|
33
43
|
*/
|
|
34
44
|
export declare class EmailTemplate extends pulumi.CustomResource {
|
|
35
45
|
/**
|
|
@@ -52,7 +62,7 @@ export declare class EmailTemplate extends pulumi.CustomResource {
|
|
|
52
62
|
*/
|
|
53
63
|
readonly body: pulumi.Output<string>;
|
|
54
64
|
/**
|
|
55
|
-
* Boolean. Indicates whether
|
|
65
|
+
* Boolean. Indicates whether the template is enabled.
|
|
56
66
|
*/
|
|
57
67
|
readonly enabled: pulumi.Output<boolean>;
|
|
58
68
|
/**
|
|
@@ -97,7 +107,7 @@ export interface EmailTemplateState {
|
|
|
97
107
|
*/
|
|
98
108
|
body?: pulumi.Input<string>;
|
|
99
109
|
/**
|
|
100
|
-
* Boolean. Indicates whether
|
|
110
|
+
* Boolean. Indicates whether the template is enabled.
|
|
101
111
|
*/
|
|
102
112
|
enabled?: pulumi.Input<boolean>;
|
|
103
113
|
/**
|
|
@@ -134,7 +144,7 @@ export interface EmailTemplateArgs {
|
|
|
134
144
|
*/
|
|
135
145
|
body: pulumi.Input<string>;
|
|
136
146
|
/**
|
|
137
|
-
* Boolean. Indicates whether
|
|
147
|
+
* Boolean. Indicates whether the template is enabled.
|
|
138
148
|
*/
|
|
139
149
|
enabled: pulumi.Input<boolean>;
|
|
140
150
|
/**
|
package/emailTemplate.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.EmailTemplate = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
|
|
9
|
+
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
|
|
10
|
+
* into Auth0. This resource allows you to configure email templates to customize the look, feel, and sender identities of
|
|
11
|
+
* emails sent by Auth0. Used in conjunction with configured email providers.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -36,6 +38,14 @@ const utilities = require("./utilities");
|
|
|
36
38
|
* dependsOn: [myEmailProvider],
|
|
37
39
|
* });
|
|
38
40
|
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* This resource can be imported using the template name, e.g.
|
|
45
|
+
*
|
|
46
|
+
* ```sh
|
|
47
|
+
* $ pulumi import auth0:index/emailTemplate:EmailTemplate my_email_template welcome_email
|
|
48
|
+
* ```
|
|
39
49
|
*/
|
|
40
50
|
class EmailTemplate extends pulumi.CustomResource {
|
|
41
51
|
constructor(name, argsOrState, opts) {
|
package/emailTemplate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailTemplate.js","sourceRoot":"","sources":["../emailTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"emailTemplate.js","sourceRoot":"","sources":["../emailTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAqEpD,YAAY,IAAY,EAAE,W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95 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Data source to retrieve a specific Auth0 Application client by 'client_id' or 'name'
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
11
|
+
*
|
|
12
|
+
* const some_client_by_name = pulumi.output(auth0.getClient({
|
|
13
|
+
* name: "Name of my Application",
|
|
14
|
+
* }));
|
|
15
|
+
* const some_client_by_id = pulumi.output(auth0.getClient({
|
|
16
|
+
* clientId: "abcdefghkijklmnopqrstuvwxyz0123456789",
|
|
17
|
+
* }));
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getClient(args?: GetClientArgs, opts?: pulumi.InvokeOptions): Promise<GetClientResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getClient.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetClientArgs {
|
|
25
|
+
/**
|
|
26
|
+
* String. clientId of the application.
|
|
27
|
+
*/
|
|
28
|
+
clientId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* String. Name of the application. Ignored if `clientId` is also specified.
|
|
31
|
+
*/
|
|
32
|
+
name?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getClient.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetClientResult {
|
|
38
|
+
readonly addons: outputs.GetClientAddon[];
|
|
39
|
+
readonly allowedClients: string[];
|
|
40
|
+
readonly allowedLogoutUrls: string[];
|
|
41
|
+
readonly allowedOrigins: string[];
|
|
42
|
+
readonly appType: string;
|
|
43
|
+
readonly callbacks: string[];
|
|
44
|
+
readonly clientId?: string;
|
|
45
|
+
readonly clientMetadata: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
};
|
|
48
|
+
readonly crossOriginAuth: boolean;
|
|
49
|
+
readonly crossOriginLoc: string;
|
|
50
|
+
readonly customLoginPage: string;
|
|
51
|
+
readonly customLoginPageOn: boolean;
|
|
52
|
+
readonly description: string;
|
|
53
|
+
readonly encryptionKey: {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
};
|
|
56
|
+
readonly formTemplate: string;
|
|
57
|
+
readonly grantTypes: string[];
|
|
58
|
+
/**
|
|
59
|
+
* The provider-assigned unique ID for this managed resource.
|
|
60
|
+
*/
|
|
61
|
+
readonly id: string;
|
|
62
|
+
readonly initiateLoginUri: string;
|
|
63
|
+
readonly isFirstParty: boolean;
|
|
64
|
+
readonly isTokenEndpointIpHeaderTrusted: boolean;
|
|
65
|
+
readonly jwtConfigurations: outputs.GetClientJwtConfiguration[];
|
|
66
|
+
readonly logoUri: string;
|
|
67
|
+
readonly mobiles: outputs.GetClientMobile[];
|
|
68
|
+
readonly name?: string;
|
|
69
|
+
readonly nativeSocialLogins: outputs.GetClientNativeSocialLogin[];
|
|
70
|
+
readonly oidcConformant: boolean;
|
|
71
|
+
readonly organizationRequireBehavior: string;
|
|
72
|
+
readonly organizationUsage: string;
|
|
73
|
+
readonly refreshTokens: outputs.GetClientRefreshToken[];
|
|
74
|
+
readonly signingKeys: {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
}[];
|
|
77
|
+
readonly sso: boolean;
|
|
78
|
+
readonly ssoDisabled: boolean;
|
|
79
|
+
readonly tokenEndpointAuthMethod: string;
|
|
80
|
+
readonly webOrigins: string[];
|
|
81
|
+
}
|
|
82
|
+
export declare function getClientOutput(args?: GetClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClientResult>;
|
|
83
|
+
/**
|
|
84
|
+
* A collection of arguments for invoking getClient.
|
|
85
|
+
*/
|
|
86
|
+
export interface GetClientOutputArgs {
|
|
87
|
+
/**
|
|
88
|
+
* String. clientId of the application.
|
|
89
|
+
*/
|
|
90
|
+
clientId?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* String. Name of the application. Ignored if `clientId` is also specified.
|
|
93
|
+
*/
|
|
94
|
+
name?: pulumi.Input<string>;
|
|
95
|
+
}
|
package/getClient.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getClientOutput = exports.getClient = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source to retrieve a specific Auth0 Application client by 'client_id' or 'name'
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* const some_client_by_name = pulumi.output(auth0.getClient({
|
|
18
|
+
* name: "Name of my Application",
|
|
19
|
+
* }));
|
|
20
|
+
* const some_client_by_id = pulumi.output(auth0.getClient({
|
|
21
|
+
* clientId: "abcdefghkijklmnopqrstuvwxyz0123456789",
|
|
22
|
+
* }));
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getClient(args, opts) {
|
|
26
|
+
args = args || {};
|
|
27
|
+
if (!opts) {
|
|
28
|
+
opts = {};
|
|
29
|
+
}
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
31
|
+
return pulumi.runtime.invoke("auth0:index/getClient:getClient", {
|
|
32
|
+
"clientId": args.clientId,
|
|
33
|
+
"name": args.name,
|
|
34
|
+
}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.getClient = getClient;
|
|
37
|
+
function getClientOutput(args, opts) {
|
|
38
|
+
return pulumi.output(args).apply(a => getClient(a, opts));
|
|
39
|
+
}
|
|
40
|
+
exports.getClientOutput = getClientOutput;
|
|
41
|
+
//# sourceMappingURL=getClient.js.map
|
package/getClient.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getClient.js","sourceRoot":"","sources":["../getClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AA2DD,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Retrieves a tenant's global Auth0 Application client.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
11
|
+
*
|
|
12
|
+
* const global = pulumi.output(auth0.getGlobalClient());
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function getGlobalClient(args?: GetGlobalClientArgs, opts?: pulumi.InvokeOptions): Promise<GetGlobalClientResult>;
|
|
16
|
+
/**
|
|
17
|
+
* A collection of arguments for invoking getGlobalClient.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetGlobalClientArgs {
|
|
20
|
+
/**
|
|
21
|
+
* String. ID of the client.
|
|
22
|
+
* * `clientSecret`<sup>1</sup> - String. Secret for the client; keep this private.
|
|
23
|
+
*/
|
|
24
|
+
clientId?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getGlobalClient.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetGlobalClientResult {
|
|
31
|
+
readonly addons: outputs.GetGlobalClientAddon[];
|
|
32
|
+
readonly allowedClients: string[];
|
|
33
|
+
readonly allowedLogoutUrls: string[];
|
|
34
|
+
readonly allowedOrigins: string[];
|
|
35
|
+
readonly appType: string;
|
|
36
|
+
readonly callbacks: string[];
|
|
37
|
+
/**
|
|
38
|
+
* String. ID of the client.
|
|
39
|
+
* * `clientSecret`<sup>1</sup> - String. Secret for the client; keep this private.
|
|
40
|
+
*/
|
|
41
|
+
readonly clientId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* (Optional) Map(String)
|
|
44
|
+
*/
|
|
45
|
+
readonly clientMetadata: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
};
|
|
48
|
+
readonly crossOriginAuth: boolean;
|
|
49
|
+
readonly crossOriginLoc: string;
|
|
50
|
+
/**
|
|
51
|
+
* String. Content of the custom login page.
|
|
52
|
+
*/
|
|
53
|
+
readonly customLoginPage: string;
|
|
54
|
+
/**
|
|
55
|
+
* Boolean. Indicates whether a custom login page is to be used.
|
|
56
|
+
*/
|
|
57
|
+
readonly customLoginPageOn: boolean;
|
|
58
|
+
readonly description: string;
|
|
59
|
+
readonly encryptionKey: {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
readonly formTemplate: string;
|
|
63
|
+
readonly grantTypes: string[];
|
|
64
|
+
/**
|
|
65
|
+
* The provider-assigned unique ID for this managed resource.
|
|
66
|
+
*/
|
|
67
|
+
readonly id: string;
|
|
68
|
+
readonly initiateLoginUri: string;
|
|
69
|
+
readonly isFirstParty: boolean;
|
|
70
|
+
readonly isTokenEndpointIpHeaderTrusted: boolean;
|
|
71
|
+
readonly jwtConfigurations: outputs.GetGlobalClientJwtConfiguration[];
|
|
72
|
+
readonly logoUri: string;
|
|
73
|
+
readonly mobiles: outputs.GetGlobalClientMobile[];
|
|
74
|
+
readonly name?: string;
|
|
75
|
+
readonly nativeSocialLogins: outputs.GetGlobalClientNativeSocialLogin[];
|
|
76
|
+
readonly oidcConformant: boolean;
|
|
77
|
+
readonly organizationRequireBehavior: string;
|
|
78
|
+
readonly organizationUsage: string;
|
|
79
|
+
readonly refreshTokens: outputs.GetGlobalClientRefreshToken[];
|
|
80
|
+
readonly signingKeys: {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}[];
|
|
83
|
+
readonly sso: boolean;
|
|
84
|
+
readonly ssoDisabled: boolean;
|
|
85
|
+
readonly tokenEndpointAuthMethod: string;
|
|
86
|
+
readonly webOrigins: string[];
|
|
87
|
+
}
|
|
88
|
+
export declare function getGlobalClientOutput(args?: GetGlobalClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGlobalClientResult>;
|
|
89
|
+
/**
|
|
90
|
+
* A collection of arguments for invoking getGlobalClient.
|
|
91
|
+
*/
|
|
92
|
+
export interface GetGlobalClientOutputArgs {
|
|
93
|
+
/**
|
|
94
|
+
* String. ID of the client.
|
|
95
|
+
* * `clientSecret`<sup>1</sup> - String. Secret for the client; keep this private.
|
|
96
|
+
*/
|
|
97
|
+
clientId?: pulumi.Input<string>;
|
|
98
|
+
name?: pulumi.Input<string>;
|
|
99
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGlobalClientOutput = exports.getGlobalClient = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a tenant's global Auth0 Application client.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* const global = pulumi.output(auth0.getGlobalClient());
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getGlobalClient(args, opts) {
|
|
21
|
+
args = args || {};
|
|
22
|
+
if (!opts) {
|
|
23
|
+
opts = {};
|
|
24
|
+
}
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
+
return pulumi.runtime.invoke("auth0:index/getGlobalClient:getGlobalClient", {
|
|
27
|
+
"clientId": args.clientId,
|
|
28
|
+
"name": args.name,
|
|
29
|
+
}, opts);
|
|
30
|
+
}
|
|
31
|
+
exports.getGlobalClient = getGlobalClient;
|
|
32
|
+
function getGlobalClientOutput(args, opts) {
|
|
33
|
+
return pulumi.output(args).apply(a => getGlobalClient(a, opts));
|
|
34
|
+
}
|
|
35
|
+
exports.getGlobalClientOutput = getGlobalClientOutput;
|
|
36
|
+
//# sourceMappingURL=getGlobalClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGlobalClient.js","sourceRoot":"","sources":["../getGlobalClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC;AAsED,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|