@descope/pulumi-descope 0.3.2 → 0.3.13
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/accessKey.d.ts +197 -0
- package/accessKey.d.ts.map +1 -0
- package/accessKey.js +105 -0
- package/accessKey.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/vars.d.ts +7 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +24 -1
- package/config/vars.js.map +1 -1
- package/descoper.d.ts +178 -0
- package/descoper.d.ts.map +1 -0
- package/descoper.js +175 -0
- package/descoper.js.map +1 -0
- package/engine.d.ts +77 -0
- package/engine.d.ts.map +1 -0
- package/engine.js +83 -0
- package/engine.js.map +1 -0
- package/inboundApp.d.ts +243 -0
- package/inboundApp.d.ts.map +1 -0
- package/inboundApp.js +109 -0
- package/inboundApp.js.map +1 -0
- package/index.d.ts +16 -0
- package/index.d.ts.map +1 -0
- package/index.js +42 -5
- package/index.js.map +1 -1
- package/managementKey.d.ts +189 -0
- package/managementKey.d.ts.map +1 -0
- package/managementKey.js +159 -0
- package/managementKey.js.map +1 -0
- package/package.json +4 -4
- package/project.d.ts +319 -28
- package/project.d.ts.map +1 -0
- package/project.js +297 -4
- package/project.js.map +1 -1
- package/provider.d.ts +22 -3
- package/provider.d.ts.map +1 -0
- package/provider.js +27 -4
- package/provider.js.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +25 -2
- package/types/index.js.map +1 -1
- package/types/input.d.ts +2552 -797
- package/types/input.d.ts.map +1 -0
- package/types/output.d.ts +1815 -60
- package/types/output.d.ts.map +1 -0
- package/utilities.d.ts +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +24 -1
- package/utilities.js.map +1 -1
package/project.js
CHANGED
|
@@ -1,10 +1,299 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Project = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages the configuration of a Descope project. A project is the core entity in Descope—it contains all authentication settings, user flows, roles, connectors, and other configuration for your application.
|
|
33
|
+
*
|
|
34
|
+
* This resource manages _project configuration_, not users or tenants. For user management, use the [Descope Management API](https://docs.descope.com/api/openapi) or [SDKs](https://docs.descope.com).
|
|
35
|
+
*
|
|
36
|
+
* For a full reference of all supported connectors, see the [connectors reference](https://docs.descope.com/connectors) in the Descope documentation.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ### Basic Project
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as descope from "@descope/pulumi-descope";
|
|
45
|
+
*
|
|
46
|
+
* const example = new descope.Project("example", {
|
|
47
|
+
* name: "my-app",
|
|
48
|
+
* environment: "production",
|
|
49
|
+
* tags: [
|
|
50
|
+
* "prod",
|
|
51
|
+
* "v2",
|
|
52
|
+
* ],
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* ### Authentication Methods
|
|
57
|
+
*
|
|
58
|
+
* Enable and configure the authentication methods your users will use:
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as descope from "@descope/pulumi-descope";
|
|
63
|
+
*
|
|
64
|
+
* const example = new descope.Project("example", {
|
|
65
|
+
* name: "my-app",
|
|
66
|
+
* authentication: {
|
|
67
|
+
* magicLink: {
|
|
68
|
+
* expirationTime: "1 hour",
|
|
69
|
+
* },
|
|
70
|
+
* password: {
|
|
71
|
+
* lock: true,
|
|
72
|
+
* lockAttempts: 5,
|
|
73
|
+
* minLength: 12,
|
|
74
|
+
* },
|
|
75
|
+
* otp: {
|
|
76
|
+
* expirationTime: "5 minutes",
|
|
77
|
+
* },
|
|
78
|
+
* passkeys: {
|
|
79
|
+
* disabled: false,
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* ### Roles and Permissions (RBAC)
|
|
86
|
+
*
|
|
87
|
+
* Define roles and permissions for your users:
|
|
88
|
+
*
|
|
89
|
+
* ```typescript
|
|
90
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
91
|
+
* import * as descope from "@descope/pulumi-descope";
|
|
92
|
+
*
|
|
93
|
+
* const example = new descope.Project("example", {
|
|
94
|
+
* name: "my-app",
|
|
95
|
+
* authorization: {
|
|
96
|
+
* permissions: [
|
|
97
|
+
* {
|
|
98
|
+
* name: "read:data",
|
|
99
|
+
* description: "Read access to application data",
|
|
100
|
+
* },
|
|
101
|
+
* {
|
|
102
|
+
* name: "write:data",
|
|
103
|
+
* description: "Write access to application data",
|
|
104
|
+
* },
|
|
105
|
+
* {
|
|
106
|
+
* name: "admin:panel",
|
|
107
|
+
* description: "Access to the admin panel",
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
110
|
+
* roles: [
|
|
111
|
+
* {
|
|
112
|
+
* name: "viewer",
|
|
113
|
+
* description: "Can read data",
|
|
114
|
+
* permissions: ["read:data"],
|
|
115
|
+
* },
|
|
116
|
+
* {
|
|
117
|
+
* name: "editor",
|
|
118
|
+
* description: "Can read and write data",
|
|
119
|
+
* permissions: [
|
|
120
|
+
* "read:data",
|
|
121
|
+
* "write:data",
|
|
122
|
+
* ],
|
|
123
|
+
* },
|
|
124
|
+
* {
|
|
125
|
+
* name: "admin",
|
|
126
|
+
* description: "Full access",
|
|
127
|
+
* permissions: [
|
|
128
|
+
* "read:data",
|
|
129
|
+
* "write:data",
|
|
130
|
+
* "admin:panel",
|
|
131
|
+
* ],
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* },
|
|
135
|
+
* });
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* ### Connectors
|
|
139
|
+
*
|
|
140
|
+
* Integrate with third-party services to enrich flows and send notifications:
|
|
141
|
+
*
|
|
142
|
+
* ```typescript
|
|
143
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
144
|
+
* import * as descope from "@descope/pulumi-descope";
|
|
145
|
+
*
|
|
146
|
+
* const example = new descope.Project("example", {
|
|
147
|
+
* name: "my-app",
|
|
148
|
+
* connectors: {
|
|
149
|
+
* https: [{
|
|
150
|
+
* name: "User Eligibility Check",
|
|
151
|
+
* description: "Checks if a new user is allowed to register",
|
|
152
|
+
* baseUrl: "https://api.example.com",
|
|
153
|
+
* authentication: {
|
|
154
|
+
* bearerToken: webhookSecret,
|
|
155
|
+
* },
|
|
156
|
+
* }],
|
|
157
|
+
* sendgrids: [{
|
|
158
|
+
* name: "Transactional Email",
|
|
159
|
+
* sender: {
|
|
160
|
+
* email: "noreply@example.com",
|
|
161
|
+
* name: "My App",
|
|
162
|
+
* },
|
|
163
|
+
* authentication: {
|
|
164
|
+
* apiKey: sendgridApiKey,
|
|
165
|
+
* },
|
|
166
|
+
* }],
|
|
167
|
+
* twilioCores: [{
|
|
168
|
+
* name: "SMS OTP",
|
|
169
|
+
* accountSid: twilioAccountSid,
|
|
170
|
+
* senders: {
|
|
171
|
+
* sms: {
|
|
172
|
+
* phoneNumber: "+15551234567",
|
|
173
|
+
* },
|
|
174
|
+
* },
|
|
175
|
+
* authentication: {
|
|
176
|
+
* authToken: twilioAuthToken,
|
|
177
|
+
* },
|
|
178
|
+
* }],
|
|
179
|
+
* },
|
|
180
|
+
* });
|
|
181
|
+
* ```
|
|
182
|
+
*
|
|
183
|
+
* ### Session Settings
|
|
184
|
+
*
|
|
185
|
+
* Configure token lifetimes and session behavior:
|
|
186
|
+
*
|
|
187
|
+
* ```typescript
|
|
188
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
189
|
+
* import * as descope from "@descope/pulumi-descope";
|
|
190
|
+
*
|
|
191
|
+
* const example = new descope.Project("example", {
|
|
192
|
+
* name: "my-app",
|
|
193
|
+
* projectSettings: {
|
|
194
|
+
* refreshTokenExpiration: "3 weeks",
|
|
195
|
+
* sessionTokenExpiration: "15 minutes",
|
|
196
|
+
* refreshTokenRotation: true,
|
|
197
|
+
* enableInactivity: true,
|
|
198
|
+
* inactivityTime: "30 minutes",
|
|
199
|
+
* customDomain: "auth.example.com",
|
|
200
|
+
* approvedDomains: [
|
|
201
|
+
* "example.com",
|
|
202
|
+
* "app.example.com",
|
|
203
|
+
* ],
|
|
204
|
+
* },
|
|
205
|
+
* });
|
|
206
|
+
* ```
|
|
207
|
+
*
|
|
208
|
+
* ### OIDC Applications
|
|
209
|
+
*
|
|
210
|
+
* Register an OIDC application for SSO:
|
|
211
|
+
*
|
|
212
|
+
* ```typescript
|
|
213
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
214
|
+
* import * as descope from "@descope/pulumi-descope";
|
|
215
|
+
*
|
|
216
|
+
* const example = new descope.Project("example", {
|
|
217
|
+
* name: "my-app",
|
|
218
|
+
* applications: {
|
|
219
|
+
* oidcApplications: [{
|
|
220
|
+
* name: "My Web App",
|
|
221
|
+
* description: "Primary web application",
|
|
222
|
+
* loginPageUrl: "https://app.example.com/login",
|
|
223
|
+
* }],
|
|
224
|
+
* },
|
|
225
|
+
* });
|
|
226
|
+
* ```
|
|
227
|
+
*
|
|
228
|
+
* ### JWT Templates
|
|
229
|
+
*
|
|
230
|
+
* Customize the JWT claims added to session tokens:
|
|
231
|
+
*
|
|
232
|
+
* ```typescript
|
|
233
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
234
|
+
* import * as descope from "@descope/pulumi-descope";
|
|
235
|
+
*
|
|
236
|
+
* const example = new descope.Project("example", {
|
|
237
|
+
* name: "my-app",
|
|
238
|
+
* jwtTemplates: {
|
|
239
|
+
* userTemplates: [{
|
|
240
|
+
* name: "app-claims",
|
|
241
|
+
* description: "Adds subscription tier and org context to user JWTs",
|
|
242
|
+
* template: JSON.stringify({
|
|
243
|
+
* tier: "@user.customAttributes.subscriptionTier",
|
|
244
|
+
* org_id: "@user.tenants[0].tenantId",
|
|
245
|
+
* }),
|
|
246
|
+
* excludePermissionClaim: true,
|
|
247
|
+
* addJtiClaim: true,
|
|
248
|
+
* overrideSubjectClaim: true,
|
|
249
|
+
* }],
|
|
250
|
+
* },
|
|
251
|
+
* projectSettings: {
|
|
252
|
+
* userJwtTemplate: "app-claims",
|
|
253
|
+
* },
|
|
254
|
+
* });
|
|
255
|
+
* ```
|
|
256
|
+
*
|
|
257
|
+
* ### SSO Settings
|
|
258
|
+
*
|
|
259
|
+
* Configure global settings for Single Sign-On across tenants:
|
|
260
|
+
*
|
|
261
|
+
* ```typescript
|
|
262
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
263
|
+
* import * as descope from "@descope/pulumi-descope";
|
|
264
|
+
*
|
|
265
|
+
* const example = new descope.Project("example", {
|
|
266
|
+
* name: "my-app",
|
|
267
|
+
* authentication: {
|
|
268
|
+
* sso: {
|
|
269
|
+
* mergeUsers: true,
|
|
270
|
+
* allowOverrideRoles: true,
|
|
271
|
+
* groupsPriority: true,
|
|
272
|
+
* requireSsoDomains: true,
|
|
273
|
+
* requireGroupsAttributeName: true,
|
|
274
|
+
* mandatoryUserAttributes: [
|
|
275
|
+
* {
|
|
276
|
+
* id: "email",
|
|
277
|
+
* },
|
|
278
|
+
* {
|
|
279
|
+
* id: "name",
|
|
280
|
+
* },
|
|
281
|
+
* {
|
|
282
|
+
* id: "department",
|
|
283
|
+
* custom: true,
|
|
284
|
+
* },
|
|
285
|
+
* ],
|
|
286
|
+
* ssoSuiteSettings: {
|
|
287
|
+
* styleId: "my-brand-style",
|
|
288
|
+
* hideScim: false,
|
|
289
|
+
* hideSaml: false,
|
|
290
|
+
* hideOidc: false,
|
|
291
|
+
* },
|
|
292
|
+
* },
|
|
293
|
+
* },
|
|
294
|
+
* });
|
|
295
|
+
* ```
|
|
296
|
+
*/
|
|
8
297
|
class Project extends pulumi.CustomResource {
|
|
9
298
|
/**
|
|
10
299
|
* Get an existing Project resource's state with the given name, ID, and optional extra
|
|
@@ -18,6 +307,8 @@ class Project extends pulumi.CustomResource {
|
|
|
18
307
|
static get(name, id, state, opts) {
|
|
19
308
|
return new Project(name, state, { ...opts, id: id });
|
|
20
309
|
}
|
|
310
|
+
/** @internal */
|
|
311
|
+
static __pulumiType = 'descope:index/project:Project';
|
|
21
312
|
/**
|
|
22
313
|
* Returns true if the given object is an instance of Project. This is designed to work even
|
|
23
314
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -33,6 +324,7 @@ class Project extends pulumi.CustomResource {
|
|
|
33
324
|
opts = opts || {};
|
|
34
325
|
if (opts.id) {
|
|
35
326
|
const state = argsOrState;
|
|
327
|
+
resourceInputs["adminPortal"] = state?.adminPortal;
|
|
36
328
|
resourceInputs["applications"] = state?.applications;
|
|
37
329
|
resourceInputs["attributes"] = state?.attributes;
|
|
38
330
|
resourceInputs["authentication"] = state?.authentication;
|
|
@@ -42,6 +334,7 @@ class Project extends pulumi.CustomResource {
|
|
|
42
334
|
resourceInputs["flows"] = state?.flows;
|
|
43
335
|
resourceInputs["inviteSettings"] = state?.inviteSettings;
|
|
44
336
|
resourceInputs["jwtTemplates"] = state?.jwtTemplates;
|
|
337
|
+
resourceInputs["lists"] = state?.lists;
|
|
45
338
|
resourceInputs["name"] = state?.name;
|
|
46
339
|
resourceInputs["projectSettings"] = state?.projectSettings;
|
|
47
340
|
resourceInputs["styles"] = state?.styles;
|
|
@@ -50,6 +343,7 @@ class Project extends pulumi.CustomResource {
|
|
|
50
343
|
}
|
|
51
344
|
else {
|
|
52
345
|
const args = argsOrState;
|
|
346
|
+
resourceInputs["adminPortal"] = args?.adminPortal;
|
|
53
347
|
resourceInputs["applications"] = args?.applications;
|
|
54
348
|
resourceInputs["attributes"] = args?.attributes;
|
|
55
349
|
resourceInputs["authentication"] = args?.authentication;
|
|
@@ -59,6 +353,7 @@ class Project extends pulumi.CustomResource {
|
|
|
59
353
|
resourceInputs["flows"] = args?.flows;
|
|
60
354
|
resourceInputs["inviteSettings"] = args?.inviteSettings;
|
|
61
355
|
resourceInputs["jwtTemplates"] = args?.jwtTemplates;
|
|
356
|
+
resourceInputs["lists"] = args?.lists;
|
|
62
357
|
resourceInputs["name"] = args?.name;
|
|
63
358
|
resourceInputs["projectSettings"] = args?.projectSettings;
|
|
64
359
|
resourceInputs["styles"] = args?.styles;
|
|
@@ -70,6 +365,4 @@ class Project extends pulumi.CustomResource {
|
|
|
70
365
|
}
|
|
71
366
|
}
|
|
72
367
|
exports.Project = Project;
|
|
73
|
-
/** @internal */
|
|
74
|
-
Project.__pulumiType = 'descope:index/project:Project';
|
|
75
368
|
//# sourceMappingURL=project.js.map
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyQG;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;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,+BAA+B,CAAC;IAEtE;;;OAGG;IACI,MAAM,CAAC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I,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA/IL,0BAgJC"}
|
package/provider.d.ts
CHANGED
|
@@ -11,8 +11,17 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
11
11
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
12
|
*/
|
|
13
13
|
static isInstance(obj: any): obj is Provider;
|
|
14
|
+
/**
|
|
15
|
+
* An optional base URL for the Descope API
|
|
16
|
+
*/
|
|
14
17
|
readonly baseUrl: pulumi.Output<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* A valid management key for your Descope company
|
|
20
|
+
*/
|
|
15
21
|
readonly managementKey: pulumi.Output<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated The projectId attribute in the 'descope' provider block is no longer required and can be safely removed
|
|
24
|
+
*/
|
|
16
25
|
readonly projectId: pulumi.Output<string | undefined>;
|
|
17
26
|
/**
|
|
18
27
|
* Create a Provider resource with the given unique name, arguments, and options.
|
|
@@ -31,9 +40,18 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
31
40
|
* The set of arguments for constructing a Provider resource.
|
|
32
41
|
*/
|
|
33
42
|
export interface ProviderArgs {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
43
|
+
/**
|
|
44
|
+
* An optional base URL for the Descope API
|
|
45
|
+
*/
|
|
46
|
+
baseUrl?: pulumi.Input<string | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* A valid management key for your Descope company
|
|
49
|
+
*/
|
|
50
|
+
managementKey?: pulumi.Input<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* @deprecated The projectId attribute in the 'descope' provider block is no longer required and can be safely removed
|
|
53
|
+
*/
|
|
54
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
37
55
|
}
|
|
38
56
|
export declare namespace Provider {
|
|
39
57
|
/**
|
|
@@ -45,3 +63,4 @@ export declare namespace Provider {
|
|
|
45
63
|
};
|
|
46
64
|
}
|
|
47
65
|
}
|
|
66
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;GAKG;AACH,qBAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAOnD;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAErE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,eAAe;IAc5E;;OAEG;IACH,eAAe,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC;CAKnE;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAED,yBAAiB,QAAQ,CAAC;IACtB;;OAEG;IACH,UAAiB,qBAAqB;QAClC,QAAQ,CAAC,MAAM,EAAE;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAC,CAAC;KACzC;CAEJ"}
|
package/provider.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Provider = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* The provider type for the descope package. By default, resources use package-wide configuration
|
|
10
33
|
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
@@ -12,6 +35,8 @@ const utilities = require("./utilities");
|
|
|
12
35
|
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
13
36
|
*/
|
|
14
37
|
class Provider extends pulumi.ProviderResource {
|
|
38
|
+
/** @internal */
|
|
39
|
+
static __pulumiType = 'descope';
|
|
15
40
|
/**
|
|
16
41
|
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
17
42
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -52,6 +77,4 @@ class Provider extends pulumi.ProviderResource {
|
|
|
52
77
|
}
|
|
53
78
|
}
|
|
54
79
|
exports.Provider = Provider;
|
|
55
|
-
/** @internal */
|
|
56
|
-
Provider.__pulumiType = 'descope';
|
|
57
80
|
//# sourceMappingURL=provider.js.map
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IACjD,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,SAAS,CAAC;IAEhD;;;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,c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AAM,GACT,CAAC"}
|
package/types/index.js
CHANGED
|
@@ -1,11 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.output = exports.input = void 0;
|
|
6
29
|
// Export sub-modules:
|
|
7
|
-
const input = require("./input");
|
|
30
|
+
const input = __importStar(require("./input"));
|
|
8
31
|
exports.input = input;
|
|
9
|
-
const output = require("./output");
|
|
32
|
+
const output = __importStar(require("./output"));
|
|
10
33
|
exports.output = output;
|
|
11
34
|
//# sourceMappingURL=index.js.map
|
package/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAIjF,sBAAsB;AACtB,+CAAiC;AAI7B,sBAAK;AAHT,iDAAmC;AAI/B,wBAAM"}
|