@pulumi/okta 5.3.0-alpha.1759533647 → 6.0.0-alpha.1759958808
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/campaign.d.ts +179 -0
- package/campaign.js +87 -0
- package/campaign.js.map +1 -0
- package/endUserMyRequests.d.ts +77 -0
- package/endUserMyRequests.js +63 -0
- package/endUserMyRequests.js.map +1 -0
- package/entitlement.d.ts +155 -0
- package/entitlement.js +92 -0
- package/entitlement.js.map +1 -0
- package/entitlementBundle.d.ts +128 -0
- package/entitlementBundle.js +77 -0
- package/entitlementBundle.js.map +1 -0
- package/getCampaign.d.ts +91 -0
- package/getCampaign.js +68 -0
- package/getCampaign.js.map +1 -0
- package/getCatalogEntryDefault.d.ts +86 -0
- package/getCatalogEntryDefault.js +50 -0
- package/getCatalogEntryDefault.js.map +1 -0
- package/getCatalogEntryUserAccessRequestFields.d.ts +30 -0
- package/getCatalogEntryUserAccessRequestFields.js +26 -0
- package/getCatalogEntryUserAccessRequestFields.js.map +1 -0
- package/getEndUserMyRequests.d.ts +183 -0
- package/getEndUserMyRequests.js +134 -0
- package/getEndUserMyRequests.js.map +1 -0
- package/getEntitlement.d.ts +71 -0
- package/getEntitlement.js +54 -0
- package/getEntitlement.js.map +1 -0
- package/getEntitlementBundle.d.ts +116 -0
- package/getEntitlementBundle.js +54 -0
- package/getEntitlementBundle.js.map +1 -0
- package/getPrincipalEntitlements.d.ts +63 -0
- package/getPrincipalEntitlements.js +34 -0
- package/getPrincipalEntitlements.js.map +1 -0
- package/getPrincipalRateLimits.d.ts +91 -0
- package/getPrincipalRateLimits.js +50 -0
- package/getPrincipalRateLimits.js.map +1 -0
- package/getRateLimitAdminNotificationSettings.d.ts +40 -0
- package/getRateLimitAdminNotificationSettings.js +42 -0
- package/getRateLimitAdminNotificationSettings.js.map +1 -0
- package/getRateLimitWarningThresholdPercentage.d.ts +40 -0
- package/getRateLimitWarningThresholdPercentage.js +42 -0
- package/getRateLimitWarningThresholdPercentage.js.map +1 -0
- package/getRequestCondition.d.ts +108 -0
- package/getRequestCondition.js +58 -0
- package/getRequestCondition.js.map +1 -0
- package/getRequestSequence.d.ts +88 -0
- package/getRequestSequence.js +54 -0
- package/getRequestSequence.js.map +1 -0
- package/getRequestSettingOrganization.d.ts +51 -0
- package/getRequestSettingOrganization.js +48 -0
- package/getRequestSettingOrganization.js.map +1 -0
- package/getRequestSettingResource.d.ts +98 -0
- package/getRequestSettingResource.js +38 -0
- package/getRequestSettingResource.js.map +1 -0
- package/getRequestV2.d.ts +37 -0
- package/getRequestV2.js +28 -0
- package/getRequestV2.js.map +1 -0
- package/getReview.d.ts +154 -0
- package/getReview.js +84 -0
- package/getReview.js.map +1 -0
- package/index.d.ts +87 -0
- package/index.js +117 -3
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/principalRateLimits.d.ts +124 -0
- package/principalRateLimits.js +71 -0
- package/principalRateLimits.js.map +1 -0
- package/rateLimitAdminNotificationSettings.d.ts +66 -0
- package/rateLimitAdminNotificationSettings.js +70 -0
- package/rateLimitAdminNotificationSettings.js.map +1 -0
- package/rateLimitWarningThresholdPercentage.d.ts +65 -0
- package/rateLimitWarningThresholdPercentage.js +69 -0
- package/rateLimitWarningThresholdPercentage.js.map +1 -0
- package/rateLimiting.d.ts +11 -43
- package/rateLimiting.js +6 -24
- package/rateLimiting.js.map +1 -1
- package/realm.d.ts +3 -3
- package/realm.js +0 -3
- package/realm.js.map +1 -1
- package/requestCondition.d.ts +165 -0
- package/requestCondition.js +88 -0
- package/requestCondition.js.map +1 -0
- package/requestSequence.d.ts +113 -0
- package/requestSequence.js +86 -0
- package/requestSequence.js.map +1 -0
- package/requestSettingOrganization.d.ts +69 -0
- package/requestSettingOrganization.js +63 -0
- package/requestSettingOrganization.js.map +1 -0
- package/requestSettingResource.d.ts +83 -0
- package/requestSettingResource.js +65 -0
- package/requestSettingResource.js.map +1 -0
- package/requestV2.d.ts +170 -0
- package/requestV2.js +77 -0
- package/requestV2.js.map +1 -0
- package/review.d.ts +172 -0
- package/review.js +109 -0
- package/review.js.map +1 -0
- package/types/input.d.ts +2156 -147
- package/types/output.d.ts +1263 -2
package/rateLimiting.d.ts
CHANGED
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* Manages rate limiting.
|
|
4
6
|
* This resource allows you to configure the client-based rate limit and rate limiting communications settings.
|
|
5
7
|
* > **WARNING:** This resource is deprecated and will be removed in a future release. A new resource to manage rate limiting settings will be implemented in the future.
|
|
6
8
|
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as okta from "@pulumi/okta";
|
|
12
|
-
*
|
|
13
|
-
* const example = new okta.RateLimiting("example", {
|
|
14
|
-
* login: "ENFORCE",
|
|
15
|
-
* authorize: "ENFORCE",
|
|
16
|
-
* communicationsEnabled: true,
|
|
17
|
-
* });
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
9
|
* ## Import
|
|
21
10
|
*
|
|
22
11
|
* ```sh
|
|
@@ -39,18 +28,11 @@ export declare class RateLimiting extends pulumi.CustomResource {
|
|
|
39
28
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
29
|
*/
|
|
41
30
|
static isInstance(obj: any): obj is RateLimiting;
|
|
31
|
+
readonly defaultMode: pulumi.Output<string>;
|
|
42
32
|
/**
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
readonly authorize: pulumi.Output<string>;
|
|
46
|
-
/**
|
|
47
|
-
* Enable or disable rate limiting communications. By default, it is `true`.
|
|
48
|
-
*/
|
|
49
|
-
readonly communicationsEnabled: pulumi.Output<boolean | undefined>;
|
|
50
|
-
/**
|
|
51
|
-
* Called when accessing the Okta hosted login page. Valid values: `ENFORCE` *(Enforce limit and log per client (recommended))*, `DISABLE` *(Do nothing (not recommended))*, `PREVIEW` *(Log per client)*.
|
|
33
|
+
* A map of Per-Client Rate Limit Use Case to the applicable PerClientRateLimitMode.Overrides the defaultMode property for the specified use cases.
|
|
52
34
|
*/
|
|
53
|
-
readonly
|
|
35
|
+
readonly useCaseModeOverrides: pulumi.Output<outputs.RateLimitingUseCaseModeOverrides | undefined>;
|
|
54
36
|
/**
|
|
55
37
|
* Create a RateLimiting resource with the given unique name, arguments, and options.
|
|
56
38
|
*
|
|
@@ -64,33 +46,19 @@ export declare class RateLimiting extends pulumi.CustomResource {
|
|
|
64
46
|
* Input properties used for looking up and filtering RateLimiting resources.
|
|
65
47
|
*/
|
|
66
48
|
export interface RateLimitingState {
|
|
49
|
+
defaultMode?: pulumi.Input<string>;
|
|
67
50
|
/**
|
|
68
|
-
*
|
|
51
|
+
* A map of Per-Client Rate Limit Use Case to the applicable PerClientRateLimitMode.Overrides the defaultMode property for the specified use cases.
|
|
69
52
|
*/
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Enable or disable rate limiting communications. By default, it is `true`.
|
|
73
|
-
*/
|
|
74
|
-
communicationsEnabled?: pulumi.Input<boolean>;
|
|
75
|
-
/**
|
|
76
|
-
* Called when accessing the Okta hosted login page. Valid values: `ENFORCE` *(Enforce limit and log per client (recommended))*, `DISABLE` *(Do nothing (not recommended))*, `PREVIEW` *(Log per client)*.
|
|
77
|
-
*/
|
|
78
|
-
login?: pulumi.Input<string>;
|
|
53
|
+
useCaseModeOverrides?: pulumi.Input<inputs.RateLimitingUseCaseModeOverrides>;
|
|
79
54
|
}
|
|
80
55
|
/**
|
|
81
56
|
* The set of arguments for constructing a RateLimiting resource.
|
|
82
57
|
*/
|
|
83
58
|
export interface RateLimitingArgs {
|
|
59
|
+
defaultMode: pulumi.Input<string>;
|
|
84
60
|
/**
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
authorize: pulumi.Input<string>;
|
|
88
|
-
/**
|
|
89
|
-
* Enable or disable rate limiting communications. By default, it is `true`.
|
|
90
|
-
*/
|
|
91
|
-
communicationsEnabled?: pulumi.Input<boolean>;
|
|
92
|
-
/**
|
|
93
|
-
* Called when accessing the Okta hosted login page. Valid values: `ENFORCE` *(Enforce limit and log per client (recommended))*, `DISABLE` *(Do nothing (not recommended))*, `PREVIEW` *(Log per client)*.
|
|
61
|
+
* A map of Per-Client Rate Limit Use Case to the applicable PerClientRateLimitMode.Overrides the defaultMode property for the specified use cases.
|
|
94
62
|
*/
|
|
95
|
-
|
|
63
|
+
useCaseModeOverrides?: pulumi.Input<inputs.RateLimitingUseCaseModeOverrides>;
|
|
96
64
|
}
|
package/rateLimiting.js
CHANGED
|
@@ -10,19 +10,6 @@ const utilities = require("./utilities");
|
|
|
10
10
|
* This resource allows you to configure the client-based rate limit and rate limiting communications settings.
|
|
11
11
|
* > **WARNING:** This resource is deprecated and will be removed in a future release. A new resource to manage rate limiting settings will be implemented in the future.
|
|
12
12
|
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as okta from "@pulumi/okta";
|
|
18
|
-
*
|
|
19
|
-
* const example = new okta.RateLimiting("example", {
|
|
20
|
-
* login: "ENFORCE",
|
|
21
|
-
* authorize: "ENFORCE",
|
|
22
|
-
* communicationsEnabled: true,
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
13
|
* ## Import
|
|
27
14
|
*
|
|
28
15
|
* ```sh
|
|
@@ -57,21 +44,16 @@ class RateLimiting extends pulumi.CustomResource {
|
|
|
57
44
|
opts = opts || {};
|
|
58
45
|
if (opts.id) {
|
|
59
46
|
const state = argsOrState;
|
|
60
|
-
resourceInputs["
|
|
61
|
-
resourceInputs["
|
|
62
|
-
resourceInputs["login"] = state?.login;
|
|
47
|
+
resourceInputs["defaultMode"] = state?.defaultMode;
|
|
48
|
+
resourceInputs["useCaseModeOverrides"] = state?.useCaseModeOverrides;
|
|
63
49
|
}
|
|
64
50
|
else {
|
|
65
51
|
const args = argsOrState;
|
|
66
|
-
if (args?.
|
|
67
|
-
throw new Error("Missing required property '
|
|
68
|
-
}
|
|
69
|
-
if (args?.login === undefined && !opts.urn) {
|
|
70
|
-
throw new Error("Missing required property 'login'");
|
|
52
|
+
if (args?.defaultMode === undefined && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'defaultMode'");
|
|
71
54
|
}
|
|
72
|
-
resourceInputs["
|
|
73
|
-
resourceInputs["
|
|
74
|
-
resourceInputs["login"] = args?.login;
|
|
55
|
+
resourceInputs["defaultMode"] = args?.defaultMode;
|
|
56
|
+
resourceInputs["useCaseModeOverrides"] = args?.useCaseModeOverrides;
|
|
75
57
|
}
|
|
76
58
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
59
|
super(RateLimiting.__pulumiType, name, resourceInputs, opts);
|
package/rateLimiting.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rateLimiting.js","sourceRoot":"","sources":["../rateLimiting.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"rateLimiting.js","sourceRoot":"","sources":["../rateLimiting.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;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,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values: `PARTNER` and `DEFAULT`
|
|
49
49
|
*/
|
|
50
|
-
readonly realmType: pulumi.Output<string>;
|
|
50
|
+
readonly realmType: pulumi.Output<string | undefined>;
|
|
51
51
|
/**
|
|
52
52
|
* Create a Realm resource with the given unique name, arguments, and options.
|
|
53
53
|
*
|
|
@@ -55,7 +55,7 @@ export declare class Realm extends pulumi.CustomResource {
|
|
|
55
55
|
* @param args The arguments to use to populate this resource's properties.
|
|
56
56
|
* @param opts A bag of options that control this resource's behavior.
|
|
57
57
|
*/
|
|
58
|
-
constructor(name: string, args
|
|
58
|
+
constructor(name: string, args?: RealmArgs, opts?: pulumi.CustomResourceOptions);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* Input properties used for looking up and filtering Realm resources.
|
|
@@ -85,5 +85,5 @@ export interface RealmArgs {
|
|
|
85
85
|
/**
|
|
86
86
|
* The realm type. Valid values: `PARTNER` and `DEFAULT`
|
|
87
87
|
*/
|
|
88
|
-
realmType
|
|
88
|
+
realmType?: pulumi.Input<string>;
|
|
89
89
|
}
|
package/realm.js
CHANGED
|
@@ -60,9 +60,6 @@ class Realm extends pulumi.CustomResource {
|
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
62
62
|
const args = argsOrState;
|
|
63
|
-
if (args?.realmType === undefined && !opts.urn) {
|
|
64
|
-
throw new Error("Missing required property 'realmType'");
|
|
65
|
-
}
|
|
66
63
|
resourceInputs["name"] = args?.name;
|
|
67
64
|
resourceInputs["realmType"] = args?.realmType;
|
|
68
65
|
resourceInputs["isDefault"] = undefined /*out*/;
|
package/realm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realm.js","sourceRoot":"","sources":["../realm.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;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+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages request conditions. This resource allows you to create and configure an Okta [request-condition](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Conditions/#tag/Request-Conditions).
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import okta:index/requestCondition:RequestCondition example <resource_id>/<request_condition_id>
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class RequestCondition extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing RequestCondition resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RequestConditionState, opts?: pulumi.CustomResourceOptions): RequestCondition;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of RequestCondition. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is RequestCondition;
|
|
29
|
+
/**
|
|
30
|
+
* The access duration settings for the request condition
|
|
31
|
+
*/
|
|
32
|
+
readonly accessDurationSettings: pulumi.Output<outputs.RequestConditionAccessDurationSettings | undefined>;
|
|
33
|
+
readonly accessScopeSettings: pulumi.Output<outputs.RequestConditionAccessScopeSettings | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The ID of the approval sequence.
|
|
36
|
+
*/
|
|
37
|
+
readonly approvalSequenceId: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The date and time when the request condition was created.
|
|
40
|
+
*/
|
|
41
|
+
readonly created: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The id of the user who created the request condition.
|
|
44
|
+
*/
|
|
45
|
+
readonly createdBy: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The description of the request condition.
|
|
48
|
+
*/
|
|
49
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The date and time when the request condition was last updated.
|
|
52
|
+
*/
|
|
53
|
+
readonly lastUpdated: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The id of the user who last updated the request condition.
|
|
56
|
+
*/
|
|
57
|
+
readonly lastUpdatedBy: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The name of the request condition.
|
|
60
|
+
*/
|
|
61
|
+
readonly name: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The priority of the request condition. Lower numbers indicate higher priority.
|
|
64
|
+
*/
|
|
65
|
+
readonly priority: pulumi.Output<number>;
|
|
66
|
+
readonly requesterSettings: pulumi.Output<outputs.RequestConditionRequesterSettings | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* The id of the resource in Okta ID format.
|
|
69
|
+
*/
|
|
70
|
+
readonly resourceId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Status indicates if this condition is active or not. Default status is INACTIVE. Enum: `ACTIVE`, `INACTIVE`, `DELETED`, `INVALID`.
|
|
73
|
+
*/
|
|
74
|
+
readonly status: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Create a RequestCondition resource with the given unique name, arguments, and options.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resource.
|
|
79
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
80
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
81
|
+
*/
|
|
82
|
+
constructor(name: string, args: RequestConditionArgs, opts?: pulumi.CustomResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Input properties used for looking up and filtering RequestCondition resources.
|
|
86
|
+
*/
|
|
87
|
+
export interface RequestConditionState {
|
|
88
|
+
/**
|
|
89
|
+
* The access duration settings for the request condition
|
|
90
|
+
*/
|
|
91
|
+
accessDurationSettings?: pulumi.Input<inputs.RequestConditionAccessDurationSettings>;
|
|
92
|
+
accessScopeSettings?: pulumi.Input<inputs.RequestConditionAccessScopeSettings>;
|
|
93
|
+
/**
|
|
94
|
+
* The ID of the approval sequence.
|
|
95
|
+
*/
|
|
96
|
+
approvalSequenceId?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The date and time when the request condition was created.
|
|
99
|
+
*/
|
|
100
|
+
created?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The id of the user who created the request condition.
|
|
103
|
+
*/
|
|
104
|
+
createdBy?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The description of the request condition.
|
|
107
|
+
*/
|
|
108
|
+
description?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The date and time when the request condition was last updated.
|
|
111
|
+
*/
|
|
112
|
+
lastUpdated?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The id of the user who last updated the request condition.
|
|
115
|
+
*/
|
|
116
|
+
lastUpdatedBy?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The name of the request condition.
|
|
119
|
+
*/
|
|
120
|
+
name?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The priority of the request condition. Lower numbers indicate higher priority.
|
|
123
|
+
*/
|
|
124
|
+
priority?: pulumi.Input<number>;
|
|
125
|
+
requesterSettings?: pulumi.Input<inputs.RequestConditionRequesterSettings>;
|
|
126
|
+
/**
|
|
127
|
+
* The id of the resource in Okta ID format.
|
|
128
|
+
*/
|
|
129
|
+
resourceId?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Status indicates if this condition is active or not. Default status is INACTIVE. Enum: `ACTIVE`, `INACTIVE`, `DELETED`, `INVALID`.
|
|
132
|
+
*/
|
|
133
|
+
status?: pulumi.Input<string>;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* The set of arguments for constructing a RequestCondition resource.
|
|
137
|
+
*/
|
|
138
|
+
export interface RequestConditionArgs {
|
|
139
|
+
/**
|
|
140
|
+
* The access duration settings for the request condition
|
|
141
|
+
*/
|
|
142
|
+
accessDurationSettings?: pulumi.Input<inputs.RequestConditionAccessDurationSettings>;
|
|
143
|
+
accessScopeSettings?: pulumi.Input<inputs.RequestConditionAccessScopeSettings>;
|
|
144
|
+
/**
|
|
145
|
+
* The ID of the approval sequence.
|
|
146
|
+
*/
|
|
147
|
+
approvalSequenceId: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The description of the request condition.
|
|
150
|
+
*/
|
|
151
|
+
description?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The name of the request condition.
|
|
154
|
+
*/
|
|
155
|
+
name?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The priority of the request condition. Lower numbers indicate higher priority.
|
|
158
|
+
*/
|
|
159
|
+
priority?: pulumi.Input<number>;
|
|
160
|
+
requesterSettings?: pulumi.Input<inputs.RequestConditionRequesterSettings>;
|
|
161
|
+
/**
|
|
162
|
+
* The id of the resource in Okta ID format.
|
|
163
|
+
*/
|
|
164
|
+
resourceId: pulumi.Input<string>;
|
|
165
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.RequestCondition = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages request conditions. This resource allows you to create and configure an Okta [request-condition](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Conditions/#tag/Request-Conditions).
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import okta:index/requestCondition:RequestCondition example <resource_id>/<request_condition_id>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class RequestCondition extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing RequestCondition resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new RequestCondition(name, state, { ...opts, id: id });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of RequestCondition. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === RequestCondition.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["accessDurationSettings"] = state?.accessDurationSettings;
|
|
46
|
+
resourceInputs["accessScopeSettings"] = state?.accessScopeSettings;
|
|
47
|
+
resourceInputs["approvalSequenceId"] = state?.approvalSequenceId;
|
|
48
|
+
resourceInputs["created"] = state?.created;
|
|
49
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
50
|
+
resourceInputs["description"] = state?.description;
|
|
51
|
+
resourceInputs["lastUpdated"] = state?.lastUpdated;
|
|
52
|
+
resourceInputs["lastUpdatedBy"] = state?.lastUpdatedBy;
|
|
53
|
+
resourceInputs["name"] = state?.name;
|
|
54
|
+
resourceInputs["priority"] = state?.priority;
|
|
55
|
+
resourceInputs["requesterSettings"] = state?.requesterSettings;
|
|
56
|
+
resourceInputs["resourceId"] = state?.resourceId;
|
|
57
|
+
resourceInputs["status"] = state?.status;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if (args?.approvalSequenceId === undefined && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'approvalSequenceId'");
|
|
63
|
+
}
|
|
64
|
+
if (args?.resourceId === undefined && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'resourceId'");
|
|
66
|
+
}
|
|
67
|
+
resourceInputs["accessDurationSettings"] = args?.accessDurationSettings;
|
|
68
|
+
resourceInputs["accessScopeSettings"] = args?.accessScopeSettings;
|
|
69
|
+
resourceInputs["approvalSequenceId"] = args?.approvalSequenceId;
|
|
70
|
+
resourceInputs["description"] = args?.description;
|
|
71
|
+
resourceInputs["name"] = args?.name;
|
|
72
|
+
resourceInputs["priority"] = args?.priority;
|
|
73
|
+
resourceInputs["requesterSettings"] = args?.requesterSettings;
|
|
74
|
+
resourceInputs["resourceId"] = args?.resourceId;
|
|
75
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["createdBy"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["lastUpdated"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["lastUpdatedBy"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
80
|
+
}
|
|
81
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
82
|
+
super(RequestCondition.__pulumiType, name, resourceInputs, opts);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.RequestCondition = RequestCondition;
|
|
86
|
+
/** @internal */
|
|
87
|
+
RequestCondition.__pulumiType = 'okta:index/requestCondition:RequestCondition';
|
|
88
|
+
//# sourceMappingURL=requestCondition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestCondition.js","sourceRoot":"","sources":["../requestCondition.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAyDD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,EAAE,sBAAsB,CAAC;YACzE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,EAAE,mBAAmB,CAAC;YACnE,cAA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AAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7HL,4CA8HC;AAhHG,gBAAgB;AACO,6BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages request sequence. This resource allows you to read and delete an Okta [request-sequence](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Sequences/#tag/Request-Sequences).
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as okta from "@pulumi/okta";
|
|
10
|
+
*
|
|
11
|
+
* const test = new okta.RequestSequence("test", {
|
|
12
|
+
* idProperty: "<sequence_id>",
|
|
13
|
+
* resourceId: "<resource_id>",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import okta:index/requestSequence:RequestSequence example <resource_id>/<id>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class RequestSequence extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing RequestSequence resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RequestSequenceState, opts?: pulumi.CustomResourceOptions): RequestSequence;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of RequestSequence. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is RequestSequence;
|
|
39
|
+
/**
|
|
40
|
+
* Enum: `APP`, `GROUP`.
|
|
41
|
+
*/
|
|
42
|
+
readonly compatibleResourceTypes: pulumi.Output<string[]>;
|
|
43
|
+
/**
|
|
44
|
+
* The description of the request condition.
|
|
45
|
+
*/
|
|
46
|
+
readonly description: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The id of the sequence.Must be of 24 characters length.
|
|
49
|
+
*/
|
|
50
|
+
readonly idProperty: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Link to edit the request sequence.
|
|
53
|
+
*/
|
|
54
|
+
readonly link: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The access duration settings for the request condition
|
|
57
|
+
*/
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The id of the resource in Okta ID format.
|
|
61
|
+
*/
|
|
62
|
+
readonly resourceId: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a RequestSequence resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args: RequestSequenceArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering RequestSequence resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface RequestSequenceState {
|
|
76
|
+
/**
|
|
77
|
+
* Enum: `APP`, `GROUP`.
|
|
78
|
+
*/
|
|
79
|
+
compatibleResourceTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
80
|
+
/**
|
|
81
|
+
* The description of the request condition.
|
|
82
|
+
*/
|
|
83
|
+
description?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The id of the sequence.Must be of 24 characters length.
|
|
86
|
+
*/
|
|
87
|
+
idProperty?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Link to edit the request sequence.
|
|
90
|
+
*/
|
|
91
|
+
link?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The access duration settings for the request condition
|
|
94
|
+
*/
|
|
95
|
+
name?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The id of the resource in Okta ID format.
|
|
98
|
+
*/
|
|
99
|
+
resourceId?: pulumi.Input<string>;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The set of arguments for constructing a RequestSequence resource.
|
|
103
|
+
*/
|
|
104
|
+
export interface RequestSequenceArgs {
|
|
105
|
+
/**
|
|
106
|
+
* The id of the sequence.Must be of 24 characters length.
|
|
107
|
+
*/
|
|
108
|
+
idProperty: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The id of the resource in Okta ID format.
|
|
111
|
+
*/
|
|
112
|
+
resourceId: pulumi.Input<string>;
|
|
113
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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.RequestSequence = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages request sequence. This resource allows you to read and delete an Okta [request-sequence](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Sequences/#tag/Request-Sequences).
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* const test = new okta.RequestSequence("test", {
|
|
18
|
+
* idProperty: "<sequence_id>",
|
|
19
|
+
* resourceId: "<resource_id>",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import okta:index/requestSequence:RequestSequence example <resource_id>/<id>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
class RequestSequence extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing RequestSequence resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name, id, state, opts) {
|
|
40
|
+
return new RequestSequence(name, state, { ...opts, id: id });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of RequestSequence. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj) {
|
|
47
|
+
if (obj === undefined || obj === null) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
return obj['__pulumiType'] === RequestSequence.__pulumiType;
|
|
51
|
+
}
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["compatibleResourceTypes"] = state?.compatibleResourceTypes;
|
|
58
|
+
resourceInputs["description"] = state?.description;
|
|
59
|
+
resourceInputs["idProperty"] = state?.idProperty;
|
|
60
|
+
resourceInputs["link"] = state?.link;
|
|
61
|
+
resourceInputs["name"] = state?.name;
|
|
62
|
+
resourceInputs["resourceId"] = state?.resourceId;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if (args?.idProperty === undefined && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'idProperty'");
|
|
68
|
+
}
|
|
69
|
+
if (args?.resourceId === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'resourceId'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["idProperty"] = args?.idProperty;
|
|
73
|
+
resourceInputs["resourceId"] = args?.resourceId;
|
|
74
|
+
resourceInputs["compatibleResourceTypes"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["link"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
super(RequestSequence.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.RequestSequence = RequestSequence;
|
|
84
|
+
/** @internal */
|
|
85
|
+
RequestSequence.__pulumiType = 'okta:index/requestSequence:RequestSequence';
|
|
86
|
+
//# sourceMappingURL=requestSequence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestSequence.js","sourceRoot":"","sources":["../requestSequence.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,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