@pulumi/okta 6.0.0-alpha.1759992240 → 6.0.0-alpha.1768025445

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.
Files changed (195) hide show
  1. package/adminRoleCustomAssignments.d.ts +76 -0
  2. package/adminRoleCustomAssignments.js +76 -0
  3. package/adminRoleCustomAssignments.js.map +1 -1
  4. package/apiServiceIntegration.d.ts +110 -0
  5. package/apiServiceIntegration.js +96 -0
  6. package/apiServiceIntegration.js.map +1 -0
  7. package/apiToken.d.ts +141 -0
  8. package/apiToken.js +93 -0
  9. package/apiToken.js.map +1 -0
  10. package/app/connection.d.ts +164 -0
  11. package/app/connection.js +136 -0
  12. package/app/connection.js.map +1 -0
  13. package/app/features.d.ts +121 -0
  14. package/app/features.js +77 -0
  15. package/app/features.js.map +1 -0
  16. package/app/getConnection.d.ts +106 -0
  17. package/app/getConnection.js +62 -0
  18. package/app/getConnection.js.map +1 -0
  19. package/app/getFeatures.d.ts +156 -0
  20. package/app/getFeatures.js +116 -0
  21. package/app/getFeatures.js.map +1 -0
  22. package/app/getToken.d.ts +98 -0
  23. package/app/getToken.js +62 -0
  24. package/app/getToken.js.map +1 -0
  25. package/app/groupAssignment.d.ts +1 -1
  26. package/app/groupAssignment.js +1 -1
  27. package/app/index.d.ts +18 -0
  28. package/app/index.js +25 -1
  29. package/app/index.js.map +1 -1
  30. package/app/oauth.d.ts +51 -0
  31. package/app/oauth.js +6 -0
  32. package/app/oauth.js.map +1 -1
  33. package/app/threeField.d.ts +15 -0
  34. package/app/threeField.js +15 -0
  35. package/app/threeField.js.map +1 -1
  36. package/app/token.d.ts +108 -0
  37. package/app/token.js +93 -0
  38. package/app/token.js.map +1 -0
  39. package/appSignonPolicyRule.d.ts +1 -7
  40. package/appSignonPolicyRule.js +1 -7
  41. package/appSignonPolicyRule.js.map +1 -1
  42. package/auth/getServerClients.d.ts +114 -0
  43. package/auth/getServerClients.js +58 -0
  44. package/auth/getServerClients.js.map +1 -0
  45. package/auth/getServerKeys.d.ts +113 -0
  46. package/auth/getServerKeys.js +70 -0
  47. package/auth/getServerKeys.js.map +1 -0
  48. package/auth/index.d.ts +6 -0
  49. package/auth/index.js +7 -1
  50. package/auth/index.js.map +1 -1
  51. package/authenticator.d.ts +42 -10
  52. package/authenticator.js +26 -4
  53. package/authenticator.js.map +1 -1
  54. package/customizedSigninPage.d.ts +68 -0
  55. package/customizedSigninPage.js +68 -0
  56. package/customizedSigninPage.js.map +1 -1
  57. package/device.d.ts +80 -0
  58. package/device.js +69 -0
  59. package/device.js.map +1 -0
  60. package/emailCustomization.d.ts +30 -0
  61. package/emailCustomization.js +30 -0
  62. package/emailCustomization.js.map +1 -1
  63. package/feature.d.ts +12 -0
  64. package/feature.js +12 -0
  65. package/feature.js.map +1 -1
  66. package/getApiServiceIntegration.d.ts +85 -0
  67. package/getApiServiceIntegration.js +78 -0
  68. package/getApiServiceIntegration.js.map +1 -0
  69. package/getApiToken.d.ts +88 -0
  70. package/getApiToken.js +52 -0
  71. package/getApiToken.js.map +1 -0
  72. package/getBehaviour.d.ts +4 -0
  73. package/getBehaviour.js +4 -0
  74. package/getBehaviour.js.map +1 -1
  75. package/getBrand.d.ts +30 -0
  76. package/getBrand.js +30 -0
  77. package/getBrand.js.map +1 -1
  78. package/getCatalogEntryUserAccessRequestFields.d.ts +42 -0
  79. package/getCatalogEntryUserAccessRequestFields.js +24 -0
  80. package/getCatalogEntryUserAccessRequestFields.js.map +1 -1
  81. package/getDevice.d.ts +90 -0
  82. package/getDevice.js +54 -0
  83. package/getDevice.js.map +1 -0
  84. package/getEmailCustomization.d.ts +36 -0
  85. package/getEmailCustomization.js +36 -0
  86. package/getEmailCustomization.js.map +1 -1
  87. package/getEmailCustomizations.d.ts +26 -0
  88. package/getEmailCustomizations.js +26 -0
  89. package/getEmailCustomizations.js.map +1 -1
  90. package/getHookKey.d.ts +77 -0
  91. package/getHookKey.js +52 -0
  92. package/getHookKey.js.map +1 -0
  93. package/getPrincipalEntitlements.d.ts +116 -0
  94. package/getPrincipalEntitlements.js +116 -0
  95. package/getPrincipalEntitlements.js.map +1 -1
  96. package/getPushProvider.d.ts +118 -0
  97. package/getPushProvider.js +86 -0
  98. package/getPushProvider.js.map +1 -0
  99. package/getRealmAssignment.d.ts +4 -0
  100. package/getRealmAssignment.js +4 -0
  101. package/getRealmAssignment.js.map +1 -1
  102. package/getRequestSettingResource.d.ts +4 -0
  103. package/getRequestSettingResource.js +4 -0
  104. package/getRequestSettingResource.js.map +1 -1
  105. package/getRequestV2.d.ts +79 -0
  106. package/getRequestV2.js +28 -0
  107. package/getRequestV2.js.map +1 -1
  108. package/getSecurityEventsProvider.d.ts +79 -0
  109. package/getSecurityEventsProvider.js +52 -0
  110. package/getSecurityEventsProvider.js.map +1 -0
  111. package/getTemplate.d.ts +26 -0
  112. package/getTemplate.js +26 -0
  113. package/getTemplate.js.map +1 -1
  114. package/getTemplates.d.ts +24 -0
  115. package/getTemplates.js +24 -0
  116. package/getTemplates.js.map +1 -1
  117. package/getTheme.d.ts +26 -0
  118. package/getTheme.js +26 -0
  119. package/getTheme.js.map +1 -1
  120. package/getThemes.d.ts +24 -0
  121. package/getThemes.js +24 -0
  122. package/getThemes.js.map +1 -1
  123. package/getUiSchema.d.ts +80 -0
  124. package/getUiSchema.js +52 -0
  125. package/getUiSchema.js.map +1 -0
  126. package/group/owner.d.ts +24 -0
  127. package/group/owner.js +24 -0
  128. package/group/owner.js.map +1 -1
  129. package/group/role.d.ts +41 -0
  130. package/group/role.js +41 -0
  131. package/group/role.js.map +1 -1
  132. package/hookKey.d.ts +102 -0
  133. package/hookKey.js +79 -0
  134. package/hookKey.js.map +1 -0
  135. package/index.d.ts +42 -0
  136. package/index.js +61 -4
  137. package/index.js.map +1 -1
  138. package/inline/hook.d.ts +15 -15
  139. package/inline/hook.js +15 -15
  140. package/package.json +3 -3
  141. package/policy/deviceAssuranceAndroid.d.ts +24 -0
  142. package/policy/deviceAssuranceAndroid.js +24 -0
  143. package/policy/deviceAssuranceAndroid.js.map +1 -1
  144. package/policy/deviceAssuranceIos.d.ts +17 -0
  145. package/policy/deviceAssuranceIos.js +17 -0
  146. package/policy/deviceAssuranceIos.js.map +1 -1
  147. package/policy/deviceAssuranceMacos.d.ts +37 -0
  148. package/policy/deviceAssuranceMacos.js +37 -0
  149. package/policy/deviceAssuranceMacos.js.map +1 -1
  150. package/policy/deviceAssuranceWindows.d.ts +43 -0
  151. package/policy/deviceAssuranceWindows.js +43 -0
  152. package/policy/deviceAssuranceWindows.js.map +1 -1
  153. package/policy/mfa.d.ts +18 -0
  154. package/policy/mfa.js +2 -0
  155. package/policy/mfa.js.map +1 -1
  156. package/policyMfaDefault.d.ts +18 -0
  157. package/policyMfaDefault.js +2 -0
  158. package/policyMfaDefault.js.map +1 -1
  159. package/previewSigninPage.d.ts +68 -0
  160. package/previewSigninPage.js +68 -0
  161. package/previewSigninPage.js.map +1 -1
  162. package/pushProvider.d.ts +150 -0
  163. package/pushProvider.js +126 -0
  164. package/pushProvider.js.map +1 -0
  165. package/rateLimiting.d.ts +13 -0
  166. package/rateLimiting.js +13 -0
  167. package/rateLimiting.js.map +1 -1
  168. package/requestCondition.d.ts +47 -2
  169. package/requestCondition.js +42 -1
  170. package/requestCondition.js.map +1 -1
  171. package/requestSettingOrganization.d.ts +19 -0
  172. package/requestSettingOrganization.js +19 -0
  173. package/requestSettingOrganization.js.map +1 -1
  174. package/requestSettingResource.d.ts +20 -0
  175. package/requestSettingResource.js +20 -0
  176. package/requestSettingResource.js.map +1 -1
  177. package/requestV2.d.ts +39 -12
  178. package/requestV2.js +27 -0
  179. package/requestV2.js.map +1 -1
  180. package/securityEventsProvider.d.ts +138 -0
  181. package/securityEventsProvider.js +107 -0
  182. package/securityEventsProvider.js.map +1 -0
  183. package/theme.d.ts +23 -0
  184. package/theme.js +23 -0
  185. package/theme.js.map +1 -1
  186. package/types/input.d.ts +1041 -18
  187. package/types/output.d.ts +691 -5
  188. package/uiSchema.d.ts +74 -0
  189. package/uiSchema.js +73 -0
  190. package/uiSchema.js.map +1 -0
  191. package/user/getUser.d.ts +1 -0
  192. package/user/getUser.js.map +1 -1
  193. package/user/user.d.ts +12 -0
  194. package/user/user.js +2 -0
  195. package/user/user.js.map +1 -1
package/device.d.ts ADDED
@@ -0,0 +1,80 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as okta from "@pulumi/okta";
8
+ *
9
+ * const example = new okta.Device("example", {action: "SUSPEND"});
10
+ * ```
11
+ *
12
+ * ## Import
13
+ *
14
+ * ```sh
15
+ * $ pulumi import okta:index/device:Device example <device_id>
16
+ * ```
17
+ */
18
+ export declare class Device extends pulumi.CustomResource {
19
+ /**
20
+ * Get an existing Device resource's state with the given name, ID, and optional extra
21
+ * properties used to qualify the lookup.
22
+ *
23
+ * @param name The _unique_ name of the resulting resource.
24
+ * @param id The _unique_ provider ID of the resource to lookup.
25
+ * @param state Any extra arguments used during the lookup.
26
+ * @param opts Optional settings to control the behavior of the CustomResource.
27
+ */
28
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DeviceState, opts?: pulumi.CustomResourceOptions): Device;
29
+ /**
30
+ * Returns true if the given object is an instance of Device. This is designed to work even
31
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
32
+ */
33
+ static isInstance(obj: any): obj is Device;
34
+ /**
35
+ * The action of the device.
36
+ */
37
+ readonly action: pulumi.Output<string | undefined>;
38
+ /**
39
+ * The resource type of the device.
40
+ */
41
+ readonly resourceType: pulumi.Output<string>;
42
+ /**
43
+ * The status of the device.
44
+ */
45
+ readonly status: pulumi.Output<string>;
46
+ /**
47
+ * Create a Device resource with the given unique name, arguments, and options.
48
+ *
49
+ * @param name The _unique_ name of the resource.
50
+ * @param args The arguments to use to populate this resource's properties.
51
+ * @param opts A bag of options that control this resource's behavior.
52
+ */
53
+ constructor(name: string, args?: DeviceArgs, opts?: pulumi.CustomResourceOptions);
54
+ }
55
+ /**
56
+ * Input properties used for looking up and filtering Device resources.
57
+ */
58
+ export interface DeviceState {
59
+ /**
60
+ * The action of the device.
61
+ */
62
+ action?: pulumi.Input<string>;
63
+ /**
64
+ * The resource type of the device.
65
+ */
66
+ resourceType?: pulumi.Input<string>;
67
+ /**
68
+ * The status of the device.
69
+ */
70
+ status?: pulumi.Input<string>;
71
+ }
72
+ /**
73
+ * The set of arguments for constructing a Device resource.
74
+ */
75
+ export interface DeviceArgs {
76
+ /**
77
+ * The action of the device.
78
+ */
79
+ action?: pulumi.Input<string>;
80
+ }
package/device.js ADDED
@@ -0,0 +1,69 @@
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.Device = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as okta from "@pulumi/okta";
14
+ *
15
+ * const example = new okta.Device("example", {action: "SUSPEND"});
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * ```sh
21
+ * $ pulumi import okta:index/device:Device example <device_id>
22
+ * ```
23
+ */
24
+ class Device extends pulumi.CustomResource {
25
+ /**
26
+ * Get an existing Device resource's state with the given name, ID, and optional extra
27
+ * properties used to qualify the lookup.
28
+ *
29
+ * @param name The _unique_ name of the resulting resource.
30
+ * @param id The _unique_ provider ID of the resource to lookup.
31
+ * @param state Any extra arguments used during the lookup.
32
+ * @param opts Optional settings to control the behavior of the CustomResource.
33
+ */
34
+ static get(name, id, state, opts) {
35
+ return new Device(name, state, { ...opts, id: id });
36
+ }
37
+ /**
38
+ * Returns true if the given object is an instance of Device. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj) {
42
+ if (obj === undefined || obj === null) {
43
+ return false;
44
+ }
45
+ return obj['__pulumiType'] === Device.__pulumiType;
46
+ }
47
+ constructor(name, argsOrState, opts) {
48
+ let resourceInputs = {};
49
+ opts = opts || {};
50
+ if (opts.id) {
51
+ const state = argsOrState;
52
+ resourceInputs["action"] = state?.action;
53
+ resourceInputs["resourceType"] = state?.resourceType;
54
+ resourceInputs["status"] = state?.status;
55
+ }
56
+ else {
57
+ const args = argsOrState;
58
+ resourceInputs["action"] = args?.action;
59
+ resourceInputs["resourceType"] = undefined /*out*/;
60
+ resourceInputs["status"] = undefined /*out*/;
61
+ }
62
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
63
+ super(Device.__pulumiType, name, resourceInputs, opts);
64
+ }
65
+ }
66
+ exports.Device = Device;
67
+ /** @internal */
68
+ Device.__pulumiType = 'okta:index/device:Device';
69
+ //# sourceMappingURL=device.js.map
package/device.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device.js","sourceRoot":"","sources":["../device.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;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;IAuBD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,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,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAjEL,wBAkEC;AApDG,gBAAgB;AACO,mBAAY,GAAG,0BAA0B,CAAC"}
@@ -30,6 +30,36 @@ import * as pulumi from "@pulumi/pulumi";
30
30
  * does not contain a required variable reference. The API will 404 for an invalid
31
31
  * 'brand_id' or 'template_name'.
32
32
  *
33
+ * ## Example Usage
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as okta from "@pulumi/okta";
38
+ *
39
+ * const test = okta.getBrands({});
40
+ * const forgotPassword = test.then(test => okta.getEmailCustomizations({
41
+ * brandId: test.brands?.[0]?.id,
42
+ * templateName: "ForgotPassword",
43
+ * }));
44
+ * const forgotPasswordEn = new okta.EmailCustomization("forgot_password_en", {
45
+ * brandId: test.then(test => test.brands?.[0]?.id),
46
+ * templateName: "ForgotPassword",
47
+ * language: "en",
48
+ * isDefault: true,
49
+ * subject: "Account password reset",
50
+ * body: "Hi $$user.firstName,<br/><br/>Click this link to reset your password: $$resetPasswordLink",
51
+ * });
52
+ * const forgotPasswordEs = new okta.EmailCustomization("forgot_password_es", {
53
+ * brandId: test.then(test => test.brands?.[0]?.id),
54
+ * templateName: "ForgotPassword",
55
+ * language: "es",
56
+ * subject: "Restablecimiento de contraseña de cuenta",
57
+ * body: "Hola $$user.firstName,<br/><br/>Haga clic en este enlace para restablecer tu contraseña: $$resetPasswordLink",
58
+ * }, {
59
+ * dependsOn: [forgotPasswordEn],
60
+ * });
61
+ * ```
62
+ *
33
63
  * ## Import
34
64
  *
35
65
  * ```sh
@@ -36,6 +36,36 @@ const utilities = require("./utilities");
36
36
  * does not contain a required variable reference. The API will 404 for an invalid
37
37
  * 'brand_id' or 'template_name'.
38
38
  *
39
+ * ## Example Usage
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as okta from "@pulumi/okta";
44
+ *
45
+ * const test = okta.getBrands({});
46
+ * const forgotPassword = test.then(test => okta.getEmailCustomizations({
47
+ * brandId: test.brands?.[0]?.id,
48
+ * templateName: "ForgotPassword",
49
+ * }));
50
+ * const forgotPasswordEn = new okta.EmailCustomization("forgot_password_en", {
51
+ * brandId: test.then(test => test.brands?.[0]?.id),
52
+ * templateName: "ForgotPassword",
53
+ * language: "en",
54
+ * isDefault: true,
55
+ * subject: "Account password reset",
56
+ * body: "Hi $$user.firstName,<br/><br/>Click this link to reset your password: $$resetPasswordLink",
57
+ * });
58
+ * const forgotPasswordEs = new okta.EmailCustomization("forgot_password_es", {
59
+ * brandId: test.then(test => test.brands?.[0]?.id),
60
+ * templateName: "ForgotPassword",
61
+ * language: "es",
62
+ * subject: "Restablecimiento de contraseña de cuenta",
63
+ * body: "Hola $$user.firstName,<br/><br/>Haga clic en este enlace para restablecer tu contraseña: $$resetPasswordLink",
64
+ * }, {
65
+ * dependsOn: [forgotPasswordEn],
66
+ * });
67
+ * ```
68
+ *
39
69
  * ## Import
40
70
  *
41
71
  * ```sh
@@ -1 +1 @@
1
- {"version":3,"file":"emailCustomization.js","sourceRoot":"","sources":["../emailCustomization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA6CD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,gBAAgB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,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAvGL,gDAwGC;AA1FG,gBAAgB;AACO,+BAAY,GAAG,kDAAkD,CAAC"}
package/feature.d.ts CHANGED
@@ -4,6 +4,18 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * Manages brand. This resource allows you to toggle an Okta Feature.
6
6
  *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as okta from "@pulumi/okta";
12
+ *
13
+ * const example = okta.getFeatures({
14
+ * label: "Android Device Trust",
15
+ * });
16
+ * const test = new okta.Feature("test", {featureId: example.then(example => example.features?.[0]?.id)});
17
+ * ```
18
+ *
7
19
  * ## Import
8
20
  *
9
21
  * ```sh
package/feature.js CHANGED
@@ -8,6 +8,18 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * Manages brand. This resource allows you to toggle an Okta Feature.
10
10
  *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * const example = okta.getFeatures({
18
+ * label: "Android Device Trust",
19
+ * });
20
+ * const test = new okta.Feature("test", {featureId: example.then(example => example.features?.[0]?.id)});
21
+ * ```
22
+ *
11
23
  * ## Import
12
24
  *
13
25
  * ```sh
package/feature.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"feature.js","sourceRoot":"","sources":["../feature.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,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Aa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAlGL,0BAmGC;AArFG,gBAAgB;AACO,oBAAY,GAAG,4BAA4B,CAAC"}
@@ -0,0 +1,85 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Retrieves an API Service Integration instance by id
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as okta from "@pulumi/okta";
12
+ *
13
+ * const test = okta.getApiServiceIntegration({
14
+ * id: "<api_service_integration_id>",
15
+ * });
16
+ * ```
17
+ *
18
+ * ## Required
19
+ *
20
+ * - `id` (String) The id of the API Service Integration instance.
21
+ *
22
+ * ### Read-Only
23
+ *
24
+ * - `configGuideUrl` (String) The URL to the API service integration configuration guide.
25
+ * - `created` (String) The created timestamp of the API Service Integration instance.
26
+ * - `createdAt` (String) Timestamp when the API Service Integration instance was created.
27
+ * - `grantedScopes` (List of String) The list of Okta management scopes granted to the API Service Integration instance.(see below for nested schema).
28
+ * - `name` (String) The name of the API service integration that corresponds with the type property. This is the full name of the API service integration listed in the Okta Integration Network (OIN) catalog.
29
+ * - `type` (String) The type of the API service integration. This string is an underscore-concatenated, lowercased API service integration name. For example, my_api_log_integration.
30
+ */
31
+ export declare function getApiServiceIntegration(args: GetApiServiceIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetApiServiceIntegrationResult>;
32
+ /**
33
+ * A collection of arguments for invoking getApiServiceIntegration.
34
+ */
35
+ export interface GetApiServiceIntegrationArgs {
36
+ grantedScopes?: inputs.GetApiServiceIntegrationGrantedScope[];
37
+ id: string;
38
+ }
39
+ /**
40
+ * A collection of values returned by getApiServiceIntegration.
41
+ */
42
+ export interface GetApiServiceIntegrationResult {
43
+ readonly configGuideUrl: string;
44
+ readonly created: string;
45
+ readonly createdBy: string;
46
+ readonly grantedScopes?: outputs.GetApiServiceIntegrationGrantedScope[];
47
+ readonly id: string;
48
+ readonly name: string;
49
+ readonly type: string;
50
+ }
51
+ /**
52
+ * Retrieves an API Service Integration instance by id
53
+ *
54
+ * ## Example Usage
55
+ *
56
+ * ```typescript
57
+ * import * as pulumi from "@pulumi/pulumi";
58
+ * import * as okta from "@pulumi/okta";
59
+ *
60
+ * const test = okta.getApiServiceIntegration({
61
+ * id: "<api_service_integration_id>",
62
+ * });
63
+ * ```
64
+ *
65
+ * ## Required
66
+ *
67
+ * - `id` (String) The id of the API Service Integration instance.
68
+ *
69
+ * ### Read-Only
70
+ *
71
+ * - `configGuideUrl` (String) The URL to the API service integration configuration guide.
72
+ * - `created` (String) The created timestamp of the API Service Integration instance.
73
+ * - `createdAt` (String) Timestamp when the API Service Integration instance was created.
74
+ * - `grantedScopes` (List of String) The list of Okta management scopes granted to the API Service Integration instance.(see below for nested schema).
75
+ * - `name` (String) The name of the API service integration that corresponds with the type property. This is the full name of the API service integration listed in the Okta Integration Network (OIN) catalog.
76
+ * - `type` (String) The type of the API service integration. This string is an underscore-concatenated, lowercased API service integration name. For example, my_api_log_integration.
77
+ */
78
+ export declare function getApiServiceIntegrationOutput(args: GetApiServiceIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApiServiceIntegrationResult>;
79
+ /**
80
+ * A collection of arguments for invoking getApiServiceIntegration.
81
+ */
82
+ export interface GetApiServiceIntegrationOutputArgs {
83
+ grantedScopes?: pulumi.Input<pulumi.Input<inputs.GetApiServiceIntegrationGrantedScopeArgs>[]>;
84
+ id: pulumi.Input<string>;
85
+ }
@@ -0,0 +1,78 @@
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.getApiServiceIntegrationOutput = exports.getApiServiceIntegration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Retrieves an API Service Integration instance by id
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 = okta.getApiServiceIntegration({
18
+ * id: "<api_service_integration_id>",
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Required
23
+ *
24
+ * - `id` (String) The id of the API Service Integration instance.
25
+ *
26
+ * ### Read-Only
27
+ *
28
+ * - `configGuideUrl` (String) The URL to the API service integration configuration guide.
29
+ * - `created` (String) The created timestamp of the API Service Integration instance.
30
+ * - `createdAt` (String) Timestamp when the API Service Integration instance was created.
31
+ * - `grantedScopes` (List of String) The list of Okta management scopes granted to the API Service Integration instance.(see below for nested schema).
32
+ * - `name` (String) The name of the API service integration that corresponds with the type property. This is the full name of the API service integration listed in the Okta Integration Network (OIN) catalog.
33
+ * - `type` (String) The type of the API service integration. This string is an underscore-concatenated, lowercased API service integration name. For example, my_api_log_integration.
34
+ */
35
+ function getApiServiceIntegration(args, opts) {
36
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
37
+ return pulumi.runtime.invoke("okta:index/getApiServiceIntegration:getApiServiceIntegration", {
38
+ "grantedScopes": args.grantedScopes,
39
+ "id": args.id,
40
+ }, opts);
41
+ }
42
+ exports.getApiServiceIntegration = getApiServiceIntegration;
43
+ /**
44
+ * Retrieves an API Service Integration instance by id
45
+ *
46
+ * ## Example Usage
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as okta from "@pulumi/okta";
51
+ *
52
+ * const test = okta.getApiServiceIntegration({
53
+ * id: "<api_service_integration_id>",
54
+ * });
55
+ * ```
56
+ *
57
+ * ## Required
58
+ *
59
+ * - `id` (String) The id of the API Service Integration instance.
60
+ *
61
+ * ### Read-Only
62
+ *
63
+ * - `configGuideUrl` (String) The URL to the API service integration configuration guide.
64
+ * - `created` (String) The created timestamp of the API Service Integration instance.
65
+ * - `createdAt` (String) Timestamp when the API Service Integration instance was created.
66
+ * - `grantedScopes` (List of String) The list of Okta management scopes granted to the API Service Integration instance.(see below for nested schema).
67
+ * - `name` (String) The name of the API service integration that corresponds with the type property. This is the full name of the API service integration listed in the Okta Integration Network (OIN) catalog.
68
+ * - `type` (String) The type of the API service integration. This string is an underscore-concatenated, lowercased API service integration name. For example, my_api_log_integration.
69
+ */
70
+ function getApiServiceIntegrationOutput(args, opts) {
71
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
72
+ return pulumi.runtime.invokeOutput("okta:index/getApiServiceIntegration:getApiServiceIntegration", {
73
+ "grantedScopes": args.grantedScopes,
74
+ "id": args.id,
75
+ }, opts);
76
+ }
77
+ exports.getApiServiceIntegrationOutput = getApiServiceIntegrationOutput;
78
+ //# sourceMappingURL=getApiServiceIntegration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApiServiceIntegration.js","sourceRoot":"","sources":["../getApiServiceIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AAsBD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAAiC;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wEAMC"}
@@ -0,0 +1,88 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Use this data source to retrieve information about an Okta API token.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as okta from "@pulumi/okta";
12
+ *
13
+ * const example = okta.getApiToken({
14
+ * id: "00T1fxzubpq2epw11d38",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getApiToken(args: GetApiTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetApiTokenResult>;
19
+ /**
20
+ * A collection of arguments for invoking getApiToken.
21
+ */
22
+ export interface GetApiTokenArgs {
23
+ /**
24
+ * The unique identifier of the API token.
25
+ */
26
+ id: string;
27
+ /**
28
+ * The network configuration of the API token.
29
+ */
30
+ network?: inputs.GetApiTokenNetwork;
31
+ }
32
+ /**
33
+ * A collection of values returned by getApiToken.
34
+ */
35
+ export interface GetApiTokenResult {
36
+ /**
37
+ * The name of the API token client.
38
+ */
39
+ readonly clientName: string;
40
+ /**
41
+ * The date and time the API token was created.
42
+ */
43
+ readonly created: string;
44
+ /**
45
+ * The unique identifier of the API token.
46
+ */
47
+ readonly id: string;
48
+ /**
49
+ * The name of the API token.
50
+ */
51
+ readonly name: string;
52
+ /**
53
+ * The network configuration of the API token.
54
+ */
55
+ readonly network?: outputs.GetApiTokenNetwork;
56
+ /**
57
+ * The userId of the user who created the API Token.
58
+ */
59
+ readonly userId: string;
60
+ }
61
+ /**
62
+ * Use this data source to retrieve information about an Okta API token.
63
+ *
64
+ * ## Example Usage
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as okta from "@pulumi/okta";
69
+ *
70
+ * const example = okta.getApiToken({
71
+ * id: "00T1fxzubpq2epw11d38",
72
+ * });
73
+ * ```
74
+ */
75
+ export declare function getApiTokenOutput(args: GetApiTokenOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApiTokenResult>;
76
+ /**
77
+ * A collection of arguments for invoking getApiToken.
78
+ */
79
+ export interface GetApiTokenOutputArgs {
80
+ /**
81
+ * The unique identifier of the API token.
82
+ */
83
+ id: pulumi.Input<string>;
84
+ /**
85
+ * The network configuration of the API token.
86
+ */
87
+ network?: pulumi.Input<inputs.GetApiTokenNetworkArgs>;
88
+ }
package/getApiToken.js ADDED
@@ -0,0 +1,52 @@
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.getApiTokenOutput = exports.getApiToken = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to retrieve information about an Okta API token.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * const example = okta.getApiToken({
18
+ * id: "00T1fxzubpq2epw11d38",
19
+ * });
20
+ * ```
21
+ */
22
+ function getApiToken(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("okta:index/getApiToken:getApiToken", {
25
+ "id": args.id,
26
+ "network": args.network,
27
+ }, opts);
28
+ }
29
+ exports.getApiToken = getApiToken;
30
+ /**
31
+ * Use this data source to retrieve information about an Okta API token.
32
+ *
33
+ * ## Example Usage
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as okta from "@pulumi/okta";
38
+ *
39
+ * const example = okta.getApiToken({
40
+ * id: "00T1fxzubpq2epw11d38",
41
+ * });
42
+ * ```
43
+ */
44
+ function getApiTokenOutput(args, opts) {
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("okta:index/getApiToken:getApiToken", {
47
+ "id": args.id,
48
+ "network": args.network,
49
+ }, opts);
50
+ }
51
+ exports.getApiTokenOutput = getApiTokenOutput;
52
+ //# sourceMappingURL=getApiToken.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApiToken.js","sourceRoot":"","sources":["../getApiToken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA6CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC"}
package/getBehaviour.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Get a behavior by name or ID.
4
+ *
5
+ * ## Example Usage
4
6
  */
5
7
  export declare function getBehaviour(args?: GetBehaviourArgs, opts?: pulumi.InvokeOptions): Promise<GetBehaviourResult>;
6
8
  /**
@@ -45,6 +47,8 @@ export interface GetBehaviourResult {
45
47
  }
46
48
  /**
47
49
  * Get a behavior by name or ID.
50
+ *
51
+ * ## Example Usage
48
52
  */
49
53
  export declare function getBehaviourOutput(args?: GetBehaviourOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBehaviourResult>;
50
54
  /**
package/getBehaviour.js CHANGED
@@ -7,6 +7,8 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Get a behavior by name or ID.
10
+ *
11
+ * ## Example Usage
10
12
  */
11
13
  function getBehaviour(args, opts) {
12
14
  args = args || {};
@@ -19,6 +21,8 @@ function getBehaviour(args, opts) {
19
21
  exports.getBehaviour = getBehaviour;
20
22
  /**
21
23
  * Get a behavior by name or ID.
24
+ *
25
+ * ## Example Usage
22
26
  */
23
27
  function getBehaviourOutput(args, opts) {
24
28
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getBehaviour.js","sourceRoot":"","sources":["../getBehaviour.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AAyCD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,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,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC"}
1
+ {"version":3,"file":"getBehaviour.js","sourceRoot":"","sources":["../getBehaviour.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,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