@descope/pulumi-descope 0.0.3 → 0.0.4
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/package.json +2 -2
- package/project.d.ts +93 -3
- package/project.js +2 -2
- package/project.js.map +1 -1
- package/types/input.d.ts +1117 -13
- package/types/output.d.ts +1117 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/pulumi-descope",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "A Pulumi package for creating and managing descope cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"descope",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "descope",
|
|
26
|
-
"version": "0.0.
|
|
26
|
+
"version": "0.0.4",
|
|
27
27
|
"server": "github://api.github.com/descope"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/project.d.ts
CHANGED
|
@@ -17,19 +17,49 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
17
17
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is Project;
|
|
20
|
+
/**
|
|
21
|
+
* Applications that are registered with the project.
|
|
22
|
+
*/
|
|
20
23
|
readonly applications: pulumi.Output<outputs.ProjectApplications>;
|
|
24
|
+
/**
|
|
25
|
+
* Custom attributes that can be attached to users and tenants.
|
|
26
|
+
*/
|
|
21
27
|
readonly attributes: pulumi.Output<outputs.ProjectAttributes>;
|
|
28
|
+
/**
|
|
29
|
+
* Settings for each authentication method.
|
|
30
|
+
*/
|
|
22
31
|
readonly authentication: pulumi.Output<outputs.ProjectAuthentication>;
|
|
32
|
+
/**
|
|
33
|
+
* Define Role-Based Access Control (RBAC) for your users by creating roles and permissions.
|
|
34
|
+
*/
|
|
23
35
|
readonly authorization: pulumi.Output<outputs.ProjectAuthorization>;
|
|
36
|
+
/**
|
|
37
|
+
* Enrich your flows by interacting with third party services.
|
|
38
|
+
*/
|
|
24
39
|
readonly connectors: pulumi.Output<outputs.ProjectConnectors>;
|
|
40
|
+
/**
|
|
41
|
+
* This can be set to `production` to mark production projects, otherwise this should be left unset for development or staging projects.
|
|
42
|
+
*/
|
|
43
|
+
readonly environment: pulumi.Output<string>;
|
|
25
44
|
readonly flows: pulumi.Output<{
|
|
26
45
|
[key: string]: outputs.ProjectFlows;
|
|
27
46
|
}>;
|
|
47
|
+
/**
|
|
48
|
+
* Defines templates for JSON Web Tokens (JWT) used for authentication.
|
|
49
|
+
*/
|
|
28
50
|
readonly jwtTemplates: pulumi.Output<outputs.ProjectJwtTemplates>;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the Descope project.
|
|
53
|
+
*/
|
|
29
54
|
readonly name: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* General settings for the Descope project.
|
|
57
|
+
*/
|
|
30
58
|
readonly projectSettings: pulumi.Output<outputs.ProjectProjectSettings>;
|
|
59
|
+
/**
|
|
60
|
+
* Custom styles that can be applied to the project's authentication flows.
|
|
61
|
+
*/
|
|
31
62
|
readonly styles: pulumi.Output<outputs.ProjectStyles>;
|
|
32
|
-
readonly tag: pulumi.Output<string>;
|
|
33
63
|
/**
|
|
34
64
|
* Create a Project resource with the given unique name, arguments, and options.
|
|
35
65
|
*
|
|
@@ -43,35 +73,95 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
43
73
|
* Input properties used for looking up and filtering Project resources.
|
|
44
74
|
*/
|
|
45
75
|
export interface ProjectState {
|
|
76
|
+
/**
|
|
77
|
+
* Applications that are registered with the project.
|
|
78
|
+
*/
|
|
46
79
|
applications?: pulumi.Input<inputs.ProjectApplications>;
|
|
80
|
+
/**
|
|
81
|
+
* Custom attributes that can be attached to users and tenants.
|
|
82
|
+
*/
|
|
47
83
|
attributes?: pulumi.Input<inputs.ProjectAttributes>;
|
|
84
|
+
/**
|
|
85
|
+
* Settings for each authentication method.
|
|
86
|
+
*/
|
|
48
87
|
authentication?: pulumi.Input<inputs.ProjectAuthentication>;
|
|
88
|
+
/**
|
|
89
|
+
* Define Role-Based Access Control (RBAC) for your users by creating roles and permissions.
|
|
90
|
+
*/
|
|
49
91
|
authorization?: pulumi.Input<inputs.ProjectAuthorization>;
|
|
92
|
+
/**
|
|
93
|
+
* Enrich your flows by interacting with third party services.
|
|
94
|
+
*/
|
|
50
95
|
connectors?: pulumi.Input<inputs.ProjectConnectors>;
|
|
96
|
+
/**
|
|
97
|
+
* This can be set to `production` to mark production projects, otherwise this should be left unset for development or staging projects.
|
|
98
|
+
*/
|
|
99
|
+
environment?: pulumi.Input<string>;
|
|
51
100
|
flows?: pulumi.Input<{
|
|
52
101
|
[key: string]: pulumi.Input<inputs.ProjectFlows>;
|
|
53
102
|
}>;
|
|
103
|
+
/**
|
|
104
|
+
* Defines templates for JSON Web Tokens (JWT) used for authentication.
|
|
105
|
+
*/
|
|
54
106
|
jwtTemplates?: pulumi.Input<inputs.ProjectJwtTemplates>;
|
|
107
|
+
/**
|
|
108
|
+
* The name of the Descope project.
|
|
109
|
+
*/
|
|
55
110
|
name?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* General settings for the Descope project.
|
|
113
|
+
*/
|
|
56
114
|
projectSettings?: pulumi.Input<inputs.ProjectProjectSettings>;
|
|
115
|
+
/**
|
|
116
|
+
* Custom styles that can be applied to the project's authentication flows.
|
|
117
|
+
*/
|
|
57
118
|
styles?: pulumi.Input<inputs.ProjectStyles>;
|
|
58
|
-
tag?: pulumi.Input<string>;
|
|
59
119
|
}
|
|
60
120
|
/**
|
|
61
121
|
* The set of arguments for constructing a Project resource.
|
|
62
122
|
*/
|
|
63
123
|
export interface ProjectArgs {
|
|
124
|
+
/**
|
|
125
|
+
* Applications that are registered with the project.
|
|
126
|
+
*/
|
|
64
127
|
applications?: pulumi.Input<inputs.ProjectApplications>;
|
|
128
|
+
/**
|
|
129
|
+
* Custom attributes that can be attached to users and tenants.
|
|
130
|
+
*/
|
|
65
131
|
attributes?: pulumi.Input<inputs.ProjectAttributes>;
|
|
132
|
+
/**
|
|
133
|
+
* Settings for each authentication method.
|
|
134
|
+
*/
|
|
66
135
|
authentication?: pulumi.Input<inputs.ProjectAuthentication>;
|
|
136
|
+
/**
|
|
137
|
+
* Define Role-Based Access Control (RBAC) for your users by creating roles and permissions.
|
|
138
|
+
*/
|
|
67
139
|
authorization?: pulumi.Input<inputs.ProjectAuthorization>;
|
|
140
|
+
/**
|
|
141
|
+
* Enrich your flows by interacting with third party services.
|
|
142
|
+
*/
|
|
68
143
|
connectors?: pulumi.Input<inputs.ProjectConnectors>;
|
|
144
|
+
/**
|
|
145
|
+
* This can be set to `production` to mark production projects, otherwise this should be left unset for development or staging projects.
|
|
146
|
+
*/
|
|
147
|
+
environment?: pulumi.Input<string>;
|
|
69
148
|
flows?: pulumi.Input<{
|
|
70
149
|
[key: string]: pulumi.Input<inputs.ProjectFlows>;
|
|
71
150
|
}>;
|
|
151
|
+
/**
|
|
152
|
+
* Defines templates for JSON Web Tokens (JWT) used for authentication.
|
|
153
|
+
*/
|
|
72
154
|
jwtTemplates?: pulumi.Input<inputs.ProjectJwtTemplates>;
|
|
155
|
+
/**
|
|
156
|
+
* The name of the Descope project.
|
|
157
|
+
*/
|
|
73
158
|
name?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* General settings for the Descope project.
|
|
161
|
+
*/
|
|
74
162
|
projectSettings?: pulumi.Input<inputs.ProjectProjectSettings>;
|
|
163
|
+
/**
|
|
164
|
+
* Custom styles that can be applied to the project's authentication flows.
|
|
165
|
+
*/
|
|
75
166
|
styles?: pulumi.Input<inputs.ProjectStyles>;
|
|
76
|
-
tag?: pulumi.Input<string>;
|
|
77
167
|
}
|
package/project.js
CHANGED
|
@@ -38,12 +38,12 @@ class Project extends pulumi.CustomResource {
|
|
|
38
38
|
resourceInputs["authentication"] = state ? state.authentication : undefined;
|
|
39
39
|
resourceInputs["authorization"] = state ? state.authorization : undefined;
|
|
40
40
|
resourceInputs["connectors"] = state ? state.connectors : undefined;
|
|
41
|
+
resourceInputs["environment"] = state ? state.environment : undefined;
|
|
41
42
|
resourceInputs["flows"] = state ? state.flows : undefined;
|
|
42
43
|
resourceInputs["jwtTemplates"] = state ? state.jwtTemplates : undefined;
|
|
43
44
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
44
45
|
resourceInputs["projectSettings"] = state ? state.projectSettings : undefined;
|
|
45
46
|
resourceInputs["styles"] = state ? state.styles : undefined;
|
|
46
|
-
resourceInputs["tag"] = state ? state.tag : undefined;
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
49
|
const args = argsOrState;
|
|
@@ -52,12 +52,12 @@ class Project extends pulumi.CustomResource {
|
|
|
52
52
|
resourceInputs["authentication"] = args ? args.authentication : undefined;
|
|
53
53
|
resourceInputs["authorization"] = args ? args.authorization : undefined;
|
|
54
54
|
resourceInputs["connectors"] = args ? args.connectors : undefined;
|
|
55
|
+
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
55
56
|
resourceInputs["flows"] = args ? args.flows : undefined;
|
|
56
57
|
resourceInputs["jwtTemplates"] = args ? args.jwtTemplates : undefined;
|
|
57
58
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
58
59
|
resourceInputs["projectSettings"] = args ? args.projectSettings : undefined;
|
|
59
60
|
resourceInputs["styles"] = args ? args.styles : undefined;
|
|
60
|
-
resourceInputs["tag"] = args ? args.tag : undefined;
|
|
61
61
|
}
|
|
62
62
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
63
63
|
super(Project.__pulumiType, name, resourceInputs, opts);
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAA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