@pulumi/auth0 3.38.0-alpha.1771479527 → 3.38.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 +12 -0
- package/action.js +2 -0
- package/action.js.map +1 -1
- package/actionModule.d.ts +172 -0
- package/actionModule.js +104 -0
- package/actionModule.js.map +1 -0
- package/clientCredentials.d.ts +3 -3
- package/connection.d.ts +1 -0
- package/connection.js +1 -0
- package/connection.js.map +1 -1
- package/getAction.d.ts +4 -0
- package/getAction.js.map +1 -1
- package/getActionModule.d.ts +99 -0
- package/getActionModule.js +50 -0
- package/getActionModule.js.map +1 -0
- package/getActionModuleActions.d.ts +181 -0
- package/getActionModuleActions.js +160 -0
- package/getActionModuleActions.js.map +1 -0
- package/getActionModuleVersion.d.ts +137 -0
- package/getActionModuleVersion.js +94 -0
- package/getActionModuleVersion.js.map +1 -0
- package/getActionModuleVersions.d.ts +99 -0
- package/getActionModuleVersions.js +82 -0
- package/getActionModuleVersions.js.map +1 -0
- package/getSelfServiceProfile.d.ts +1 -1
- package/getTenant.d.ts +8 -0
- package/getTenant.js.map +1 -1
- package/index.d.ts +18 -0
- package/index.js +26 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/selfServiceProfile.d.ts +3 -3
- package/supplementalSignals.d.ts +60 -0
- package/supplementalSignals.js +64 -0
- package/supplementalSignals.js.map +1 -0
- package/tenant.d.ts +24 -0
- package/tenant.js +4 -0
- package/tenant.js.map +1 -1
- package/types/input.d.ts +96 -0
- package/types/output.d.ts +294 -0
package/action.d.ts
CHANGED
|
@@ -104,6 +104,10 @@ export declare class Action extends pulumi.CustomResource {
|
|
|
104
104
|
* Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately.
|
|
105
105
|
*/
|
|
106
106
|
readonly deploy: pulumi.Output<boolean | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* List of action modules and their versions that this action depends on.
|
|
109
|
+
*/
|
|
110
|
+
readonly modules: pulumi.Output<outputs.ActionModule[] | undefined>;
|
|
107
111
|
/**
|
|
108
112
|
* The name of the action.
|
|
109
113
|
*/
|
|
@@ -149,6 +153,10 @@ export interface ActionState {
|
|
|
149
153
|
* Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately.
|
|
150
154
|
*/
|
|
151
155
|
deploy?: pulumi.Input<boolean>;
|
|
156
|
+
/**
|
|
157
|
+
* List of action modules and their versions that this action depends on.
|
|
158
|
+
*/
|
|
159
|
+
modules?: pulumi.Input<pulumi.Input<inputs.ActionModule>[]>;
|
|
152
160
|
/**
|
|
153
161
|
* The name of the action.
|
|
154
162
|
*/
|
|
@@ -186,6 +194,10 @@ export interface ActionArgs {
|
|
|
186
194
|
* Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately.
|
|
187
195
|
*/
|
|
188
196
|
deploy?: pulumi.Input<boolean>;
|
|
197
|
+
/**
|
|
198
|
+
* List of action modules and their versions that this action depends on.
|
|
199
|
+
*/
|
|
200
|
+
modules?: pulumi.Input<pulumi.Input<inputs.ActionModule>[]>;
|
|
189
201
|
/**
|
|
190
202
|
* The name of the action.
|
|
191
203
|
*/
|
package/action.js
CHANGED
|
@@ -111,6 +111,7 @@ class Action extends pulumi.CustomResource {
|
|
|
111
111
|
resourceInputs["code"] = state?.code;
|
|
112
112
|
resourceInputs["dependencies"] = state?.dependencies;
|
|
113
113
|
resourceInputs["deploy"] = state?.deploy;
|
|
114
|
+
resourceInputs["modules"] = state?.modules;
|
|
114
115
|
resourceInputs["name"] = state?.name;
|
|
115
116
|
resourceInputs["runtime"] = state?.runtime;
|
|
116
117
|
resourceInputs["secrets"] = state?.secrets;
|
|
@@ -128,6 +129,7 @@ class Action extends pulumi.CustomResource {
|
|
|
128
129
|
resourceInputs["code"] = args?.code;
|
|
129
130
|
resourceInputs["dependencies"] = args?.dependencies;
|
|
130
131
|
resourceInputs["deploy"] = args?.deploy;
|
|
132
|
+
resourceInputs["modules"] = args?.modules;
|
|
131
133
|
resourceInputs["name"] = args?.name;
|
|
132
134
|
resourceInputs["runtime"] = args?.runtime;
|
|
133
135
|
resourceInputs["secrets"] = args?.secrets;
|
package/action.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.js","sourceRoot":"","sources":["../action.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;
|
|
1
|
+
{"version":3,"file":"action.js","sourceRoot":"","sources":["../action.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAA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E,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,IAAI,EAAE,iBAAiB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;aACpE;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA3GL,wBA4GC;AA9FG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Action Modules are reusable code packages that can be shared across multiple actions. They allow you to write common functionality once and use it in any action that needs it.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
12
|
+
*
|
|
13
|
+
* const myModule = new auth0.ActionModule("my_module", {
|
|
14
|
+
* name: "My Shared Module",
|
|
15
|
+
* code: `/**
|
|
16
|
+
* * A shared utility function that can be used across multiple actions.
|
|
17
|
+
* */
|
|
18
|
+
* module.exports = {
|
|
19
|
+
* greet: function(name) {
|
|
20
|
+
* return \\"Hello, \\" + name + \\"!\\";
|
|
21
|
+
* },
|
|
22
|
+
* formatDate: function(date) {
|
|
23
|
+
* return date.toISOString();
|
|
24
|
+
* }
|
|
25
|
+
* };
|
|
26
|
+
* `,
|
|
27
|
+
* dependencies: [{
|
|
28
|
+
* name: "lodash",
|
|
29
|
+
* version: "4.17.21",
|
|
30
|
+
* }],
|
|
31
|
+
* secrets: [{
|
|
32
|
+
* name: "API_KEY",
|
|
33
|
+
* value: "my-secret-api-key",
|
|
34
|
+
* }],
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class ActionModule extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing ActionModule resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ActionModuleState, opts?: pulumi.CustomResourceOptions): ActionModule;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of ActionModule. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is ActionModule;
|
|
54
|
+
/**
|
|
55
|
+
* The number of deployed actions using this module.
|
|
56
|
+
*/
|
|
57
|
+
readonly actionsUsingModuleTotal: pulumi.Output<number>;
|
|
58
|
+
/**
|
|
59
|
+
* Whether all draft changes have been published as a version.
|
|
60
|
+
*/
|
|
61
|
+
readonly allChangesPublished: pulumi.Output<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* The source code of the action module.
|
|
64
|
+
*/
|
|
65
|
+
readonly code: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* List of third party npm modules, and their versions, that this action module depends on.
|
|
68
|
+
*/
|
|
69
|
+
readonly dependencies: pulumi.Output<outputs.ActionModuleDependency[] | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* The version number of the latest published version.
|
|
72
|
+
*/
|
|
73
|
+
readonly latestVersionNumber: pulumi.Output<number>;
|
|
74
|
+
/**
|
|
75
|
+
* The latest published version of the action module.
|
|
76
|
+
*/
|
|
77
|
+
readonly latestVersions: pulumi.Output<outputs.ActionModuleLatestVersion[]>;
|
|
78
|
+
/**
|
|
79
|
+
* The name of the action module.
|
|
80
|
+
*/
|
|
81
|
+
readonly name: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Publishing a module will create a new immutable version of the module from the current draft. Actions using this module can then reference the published version.
|
|
84
|
+
*/
|
|
85
|
+
readonly publish: pulumi.Output<boolean | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* List of secrets that are included in the action module. Partial management of secrets is not supported.
|
|
88
|
+
*/
|
|
89
|
+
readonly secrets: pulumi.Output<outputs.ActionModuleSecret[] | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Version ID of the module. This value is available if `publish` is set to true.
|
|
92
|
+
*/
|
|
93
|
+
readonly versionId: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Create a ActionModule resource with the given unique name, arguments, and options.
|
|
96
|
+
*
|
|
97
|
+
* @param name The _unique_ name of the resource.
|
|
98
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
99
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
100
|
+
*/
|
|
101
|
+
constructor(name: string, args: ActionModuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Input properties used for looking up and filtering ActionModule resources.
|
|
105
|
+
*/
|
|
106
|
+
export interface ActionModuleState {
|
|
107
|
+
/**
|
|
108
|
+
* The number of deployed actions using this module.
|
|
109
|
+
*/
|
|
110
|
+
actionsUsingModuleTotal?: pulumi.Input<number>;
|
|
111
|
+
/**
|
|
112
|
+
* Whether all draft changes have been published as a version.
|
|
113
|
+
*/
|
|
114
|
+
allChangesPublished?: pulumi.Input<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* The source code of the action module.
|
|
117
|
+
*/
|
|
118
|
+
code?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* List of third party npm modules, and their versions, that this action module depends on.
|
|
121
|
+
*/
|
|
122
|
+
dependencies?: pulumi.Input<pulumi.Input<inputs.ActionModuleDependency>[]>;
|
|
123
|
+
/**
|
|
124
|
+
* The version number of the latest published version.
|
|
125
|
+
*/
|
|
126
|
+
latestVersionNumber?: pulumi.Input<number>;
|
|
127
|
+
/**
|
|
128
|
+
* The latest published version of the action module.
|
|
129
|
+
*/
|
|
130
|
+
latestVersions?: pulumi.Input<pulumi.Input<inputs.ActionModuleLatestVersion>[]>;
|
|
131
|
+
/**
|
|
132
|
+
* The name of the action module.
|
|
133
|
+
*/
|
|
134
|
+
name?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Publishing a module will create a new immutable version of the module from the current draft. Actions using this module can then reference the published version.
|
|
137
|
+
*/
|
|
138
|
+
publish?: pulumi.Input<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* List of secrets that are included in the action module. Partial management of secrets is not supported.
|
|
141
|
+
*/
|
|
142
|
+
secrets?: pulumi.Input<pulumi.Input<inputs.ActionModuleSecret>[]>;
|
|
143
|
+
/**
|
|
144
|
+
* Version ID of the module. This value is available if `publish` is set to true.
|
|
145
|
+
*/
|
|
146
|
+
versionId?: pulumi.Input<string>;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* The set of arguments for constructing a ActionModule resource.
|
|
150
|
+
*/
|
|
151
|
+
export interface ActionModuleArgs {
|
|
152
|
+
/**
|
|
153
|
+
* The source code of the action module.
|
|
154
|
+
*/
|
|
155
|
+
code: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* List of third party npm modules, and their versions, that this action module depends on.
|
|
158
|
+
*/
|
|
159
|
+
dependencies?: pulumi.Input<pulumi.Input<inputs.ActionModuleDependency>[]>;
|
|
160
|
+
/**
|
|
161
|
+
* The name of the action module.
|
|
162
|
+
*/
|
|
163
|
+
name?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Publishing a module will create a new immutable version of the module from the current draft. Actions using this module can then reference the published version.
|
|
166
|
+
*/
|
|
167
|
+
publish?: pulumi.Input<boolean>;
|
|
168
|
+
/**
|
|
169
|
+
* List of secrets that are included in the action module. Partial management of secrets is not supported.
|
|
170
|
+
*/
|
|
171
|
+
secrets?: pulumi.Input<pulumi.Input<inputs.ActionModuleSecret>[]>;
|
|
172
|
+
}
|
package/actionModule.js
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.ActionModule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Action Modules are reusable code packages that can be shared across multiple actions. They allow you to write common functionality once and use it in any action that needs it.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* const myModule = new auth0.ActionModule("my_module", {
|
|
18
|
+
* name: "My Shared Module",
|
|
19
|
+
* code: `/**
|
|
20
|
+
* * A shared utility function that can be used across multiple actions.
|
|
21
|
+
* */
|
|
22
|
+
* module.exports = {
|
|
23
|
+
* greet: function(name) {
|
|
24
|
+
* return \\"Hello, \\" + name + \\"!\\";
|
|
25
|
+
* },
|
|
26
|
+
* formatDate: function(date) {
|
|
27
|
+
* return date.toISOString();
|
|
28
|
+
* }
|
|
29
|
+
* };
|
|
30
|
+
* `,
|
|
31
|
+
* dependencies: [{
|
|
32
|
+
* name: "lodash",
|
|
33
|
+
* version: "4.17.21",
|
|
34
|
+
* }],
|
|
35
|
+
* secrets: [{
|
|
36
|
+
* name: "API_KEY",
|
|
37
|
+
* value: "my-secret-api-key",
|
|
38
|
+
* }],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class ActionModule extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing ActionModule resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, state, opts) {
|
|
53
|
+
return new ActionModule(name, state, { ...opts, id: id });
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of ActionModule. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === ActionModule.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
constructor(name, argsOrState, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (opts.id) {
|
|
69
|
+
const state = argsOrState;
|
|
70
|
+
resourceInputs["actionsUsingModuleTotal"] = state?.actionsUsingModuleTotal;
|
|
71
|
+
resourceInputs["allChangesPublished"] = state?.allChangesPublished;
|
|
72
|
+
resourceInputs["code"] = state?.code;
|
|
73
|
+
resourceInputs["dependencies"] = state?.dependencies;
|
|
74
|
+
resourceInputs["latestVersionNumber"] = state?.latestVersionNumber;
|
|
75
|
+
resourceInputs["latestVersions"] = state?.latestVersions;
|
|
76
|
+
resourceInputs["name"] = state?.name;
|
|
77
|
+
resourceInputs["publish"] = state?.publish;
|
|
78
|
+
resourceInputs["secrets"] = state?.secrets;
|
|
79
|
+
resourceInputs["versionId"] = state?.versionId;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if (args?.code === undefined && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'code'");
|
|
85
|
+
}
|
|
86
|
+
resourceInputs["code"] = args?.code;
|
|
87
|
+
resourceInputs["dependencies"] = args?.dependencies;
|
|
88
|
+
resourceInputs["name"] = args?.name;
|
|
89
|
+
resourceInputs["publish"] = args?.publish;
|
|
90
|
+
resourceInputs["secrets"] = args?.secrets;
|
|
91
|
+
resourceInputs["actionsUsingModuleTotal"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["allChangesPublished"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["latestVersionNumber"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["latestVersions"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["versionId"] = undefined /*out*/;
|
|
96
|
+
}
|
|
97
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
+
super(ActionModule.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.ActionModule = ActionModule;
|
|
102
|
+
/** @internal */
|
|
103
|
+
ActionModule.__pulumiType = 'auth0:index/actionModule:ActionModule';
|
|
104
|
+
//# sourceMappingURL=actionModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionModule.js","sourceRoot":"","sources":["../actionModule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;IAmDD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CA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,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;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;;AA9GL,oCA+GC;AAjGG,gBAAgB;AACO,yBAAY,GAAG,uCAAuC,CAAC"}
|
package/clientCredentials.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare class ClientCredentials extends pulumi.CustomResource {
|
|
|
45
45
|
*/
|
|
46
46
|
readonly clientId: pulumi.Output<string>;
|
|
47
47
|
/**
|
|
48
|
-
* Secret for the client when using `clientSecretPost` or `clientSecretBasic` authentication method. Keep this private. To access this attribute you need to add
|
|
48
|
+
* Secret for the client when using `clientSecretPost` or `clientSecretBasic` authentication method. Keep this private. To access this attribute you need to add either `read:client_keys` or `read:client_credentials` scope to the Terraform client. Otherwise, the attribute will contain an empty string. The attribute will also be an empty string in case `privateKeyJwt` is selected as an authentication method.
|
|
49
49
|
*/
|
|
50
50
|
readonly clientSecret: pulumi.Output<string>;
|
|
51
51
|
/**
|
|
@@ -86,7 +86,7 @@ export interface ClientCredentialsState {
|
|
|
86
86
|
*/
|
|
87
87
|
clientId?: pulumi.Input<string>;
|
|
88
88
|
/**
|
|
89
|
-
* Secret for the client when using `clientSecretPost` or `clientSecretBasic` authentication method. Keep this private. To access this attribute you need to add
|
|
89
|
+
* Secret for the client when using `clientSecretPost` or `clientSecretBasic` authentication method. Keep this private. To access this attribute you need to add either `read:client_keys` or `read:client_credentials` scope to the Terraform client. Otherwise, the attribute will contain an empty string. The attribute will also be an empty string in case `privateKeyJwt` is selected as an authentication method.
|
|
90
90
|
*/
|
|
91
91
|
clientSecret?: pulumi.Input<string>;
|
|
92
92
|
/**
|
|
@@ -119,7 +119,7 @@ export interface ClientCredentialsArgs {
|
|
|
119
119
|
*/
|
|
120
120
|
clientId: pulumi.Input<string>;
|
|
121
121
|
/**
|
|
122
|
-
* Secret for the client when using `clientSecretPost` or `clientSecretBasic` authentication method. Keep this private. To access this attribute you need to add
|
|
122
|
+
* Secret for the client when using `clientSecretPost` or `clientSecretBasic` authentication method. Keep this private. To access this attribute you need to add either `read:client_keys` or `read:client_credentials` scope to the Terraform client. Otherwise, the attribute will contain an empty string. The attribute will also be an empty string in case `privateKeyJwt` is selected as an authentication method.
|
|
123
123
|
*/
|
|
124
124
|
clientSecret?: pulumi.Input<string>;
|
|
125
125
|
/**
|
package/connection.d.ts
CHANGED
|
@@ -612,6 +612,7 @@ import * as outputs from "./types/output";
|
|
|
612
612
|
* tenantDomain: "",
|
|
613
613
|
* iconUrl: "https://example.com/assets/logo.png",
|
|
614
614
|
* type: "back_channel",
|
|
615
|
+
* sendBackChannelNonce: true,
|
|
615
616
|
* issuer: "https://www.paypalobjects.com",
|
|
616
617
|
* jwksUri: "https://api.paypal.com/v1/oauth2/certs",
|
|
617
618
|
* discoveryUrl: "https://www.paypalobjects.com/.well-known/openid-configuration",
|
package/connection.js
CHANGED
|
@@ -616,6 +616,7 @@ const utilities = require("./utilities");
|
|
|
616
616
|
* tenantDomain: "",
|
|
617
617
|
* iconUrl: "https://example.com/assets/logo.png",
|
|
618
618
|
* type: "back_channel",
|
|
619
|
+
* sendBackChannelNonce: true,
|
|
619
620
|
* issuer: "https://www.paypalobjects.com",
|
|
620
621
|
* jwksUri: "https://api.paypal.com/v1/oauth2/certs",
|
|
621
622
|
* discoveryUrl: "https://www.paypalobjects.com/.well-known/openid-configuration",
|
package/connection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names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AQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA9GL,gCA+GC;AAjGG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
|
package/getAction.d.ts
CHANGED
|
@@ -37,6 +37,10 @@ export interface GetActionResult {
|
|
|
37
37
|
* The ID of the action. If not provided, `name` must be set.
|
|
38
38
|
*/
|
|
39
39
|
readonly id?: string;
|
|
40
|
+
/**
|
|
41
|
+
* List of action modules and their versions that this action depends on.
|
|
42
|
+
*/
|
|
43
|
+
readonly modules: outputs.GetActionModule[];
|
|
40
44
|
/**
|
|
41
45
|
* The name of the action. If not provided, `id` must be set.
|
|
42
46
|
*/
|
package/getAction.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAction.js","sourceRoot":"","sources":["../getAction.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;
|
|
1
|
+
{"version":3,"file":"getAction.js","sourceRoot":"","sources":["../getAction.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AA6DD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAAiC;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data source to retrieve a specific Auth0 action module by `id`.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
11
|
+
*
|
|
12
|
+
* const myModule = auth0.getActionModule({
|
|
13
|
+
* id: "mod_XXXXXXXXXXXX",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getActionModule(args: GetActionModuleArgs, opts?: pulumi.InvokeOptions): Promise<GetActionModuleResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getActionModule.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetActionModuleArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the action module.
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getActionModule.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetActionModuleResult {
|
|
31
|
+
/**
|
|
32
|
+
* The number of deployed actions using this module.
|
|
33
|
+
*/
|
|
34
|
+
readonly actionsUsingModuleTotal: number;
|
|
35
|
+
/**
|
|
36
|
+
* Whether all draft changes have been published as a version.
|
|
37
|
+
*/
|
|
38
|
+
readonly allChangesPublished: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The source code of the action module.
|
|
41
|
+
*/
|
|
42
|
+
readonly code: string;
|
|
43
|
+
/**
|
|
44
|
+
* List of third party npm modules, and their versions, that this action module depends on.
|
|
45
|
+
*/
|
|
46
|
+
readonly dependencies: outputs.GetActionModuleDependency[];
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the action module.
|
|
49
|
+
*/
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/**
|
|
52
|
+
* The version number of the latest published version.
|
|
53
|
+
*/
|
|
54
|
+
readonly latestVersionNumber: number;
|
|
55
|
+
/**
|
|
56
|
+
* The latest published version of the action module.
|
|
57
|
+
*/
|
|
58
|
+
readonly latestVersions: outputs.GetActionModuleLatestVersion[];
|
|
59
|
+
/**
|
|
60
|
+
* The name of the action module.
|
|
61
|
+
*/
|
|
62
|
+
readonly name: string;
|
|
63
|
+
/**
|
|
64
|
+
* Publishing a module will create a new immutable version of the module from the current draft. Actions using this module can then reference the published version.
|
|
65
|
+
*/
|
|
66
|
+
readonly publish: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* List of secrets that are included in the action module. Partial management of secrets is not supported.
|
|
69
|
+
*/
|
|
70
|
+
readonly secrets: outputs.GetActionModuleSecret[];
|
|
71
|
+
/**
|
|
72
|
+
* Version ID of the module. This value is available if `publish` is set to true.
|
|
73
|
+
*/
|
|
74
|
+
readonly versionId: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Data source to retrieve a specific Auth0 action module by `id`.
|
|
78
|
+
*
|
|
79
|
+
* ## Example Usage
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
84
|
+
*
|
|
85
|
+
* const myModule = auth0.getActionModule({
|
|
86
|
+
* id: "mod_XXXXXXXXXXXX",
|
|
87
|
+
* });
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
export declare function getActionModuleOutput(args: GetActionModuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetActionModuleResult>;
|
|
91
|
+
/**
|
|
92
|
+
* A collection of arguments for invoking getActionModule.
|
|
93
|
+
*/
|
|
94
|
+
export interface GetActionModuleOutputArgs {
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the action module.
|
|
97
|
+
*/
|
|
98
|
+
id: pulumi.Input<string>;
|
|
99
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getActionModuleOutput = exports.getActionModule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source to retrieve a specific Auth0 action module by `id`.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* const myModule = auth0.getActionModule({
|
|
18
|
+
* id: "mod_XXXXXXXXXXXX",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getActionModule(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("auth0:index/getActionModule:getActionModule", {
|
|
25
|
+
"id": args.id,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getActionModule = getActionModule;
|
|
29
|
+
/**
|
|
30
|
+
* Data source to retrieve a specific Auth0 action module by `id`.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
37
|
+
*
|
|
38
|
+
* const myModule = auth0.getActionModule({
|
|
39
|
+
* id: "mod_XXXXXXXXXXXX",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getActionModuleOutput(args, opts) {
|
|
44
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
45
|
+
return pulumi.runtime.invokeOutput("auth0:index/getActionModule:getActionModule", {
|
|
46
|
+
"id": args.id,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
exports.getActionModuleOutput = getActionModuleOutput;
|
|
50
|
+
//# sourceMappingURL=getActionModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActionModule.js","sourceRoot":"","sources":["../getActionModule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AA6DD;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC"}
|