@pulumi/gitlab 9.12.0-alpha.1782457766 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/README.md +2 -2
  2. package/applicationSettings.d.ts +48 -18
  3. package/applicationSettings.d.ts.map +1 -1
  4. package/applicationSettings.js +8 -2
  5. package/applicationSettings.js.map +1 -1
  6. package/branchProtection.d.ts +48 -52
  7. package/branchProtection.d.ts.map +1 -1
  8. package/branchProtection.js +30 -24
  9. package/branchProtection.js.map +1 -1
  10. package/getGroup.d.ts +114 -2
  11. package/getGroup.d.ts.map +1 -1
  12. package/getGroup.js.map +1 -1
  13. package/getGroupHook.d.ts +40 -6
  14. package/getGroupHook.d.ts.map +1 -1
  15. package/getGroupHook.js.map +1 -1
  16. package/getGroupLabel.d.ts +125 -0
  17. package/getGroupLabel.d.ts.map +1 -0
  18. package/getGroupLabel.js +93 -0
  19. package/getGroupLabel.js.map +1 -0
  20. package/getGroupLabels.d.ts +74 -0
  21. package/getGroupLabels.d.ts.map +1 -0
  22. package/getGroupLabels.js +79 -0
  23. package/getGroupLabels.js.map +1 -0
  24. package/getGroupProtectedBranch.d.ts +82 -0
  25. package/getGroupProtectedBranch.d.ts.map +1 -0
  26. package/getGroupProtectedBranch.js +61 -0
  27. package/getGroupProtectedBranch.js.map +1 -0
  28. package/getGroupProtectedBranches.d.ts +54 -0
  29. package/getGroupProtectedBranches.d.ts.map +1 -0
  30. package/getGroupProtectedBranches.js +59 -0
  31. package/getGroupProtectedBranches.js.map +1 -0
  32. package/getProject.d.ts +355 -57
  33. package/getProject.d.ts.map +1 -1
  34. package/getProject.js +0 -6
  35. package/getProject.js.map +1 -1
  36. package/getProjectHook.d.ts +36 -6
  37. package/getProjectHook.d.ts.map +1 -1
  38. package/getProjectHook.js.map +1 -1
  39. package/getProjectMembership.d.ts +4 -40
  40. package/getProjectMembership.d.ts.map +1 -1
  41. package/getProjectMembership.js +0 -6
  42. package/getProjectMembership.js.map +1 -1
  43. package/getProjectProtectedBranch.d.ts +8 -21
  44. package/getProjectProtectedBranch.d.ts.map +1 -1
  45. package/getProjectProtectedBranch.js +0 -4
  46. package/getProjectProtectedBranch.js.map +1 -1
  47. package/getProjectProtectedBranches.d.ts +1 -10
  48. package/getProjectProtectedBranches.d.ts.map +1 -1
  49. package/getProjectProtectedBranches.js +0 -2
  50. package/getProjectProtectedBranches.js.map +1 -1
  51. package/getProjectServiceAccount.d.ts +97 -0
  52. package/getProjectServiceAccount.d.ts.map +1 -0
  53. package/getProjectServiceAccount.js +89 -0
  54. package/getProjectServiceAccount.js.map +1 -0
  55. package/getProjects.d.ts +22 -10
  56. package/getProjects.d.ts.map +1 -1
  57. package/getProjects.js +2 -0
  58. package/getProjects.js.map +1 -1
  59. package/getSystemHook.d.ts +111 -0
  60. package/getSystemHook.d.ts.map +1 -0
  61. package/getSystemHook.js +81 -0
  62. package/getSystemHook.js.map +1 -0
  63. package/getSystemHooks.d.ts +50 -0
  64. package/getSystemHooks.d.ts.map +1 -0
  65. package/getSystemHooks.js +73 -0
  66. package/getSystemHooks.js.map +1 -0
  67. package/group.d.ts +12 -0
  68. package/group.d.ts.map +1 -1
  69. package/group.js +2 -0
  70. package/group.js.map +1 -1
  71. package/groupAccessToken.d.ts +3 -3
  72. package/groupBranchProtection.d.ts +185 -0
  73. package/groupBranchProtection.d.ts.map +1 -0
  74. package/groupBranchProtection.js +146 -0
  75. package/groupBranchProtection.js.map +1 -0
  76. package/groupCluster.d.ts +1 -1
  77. package/groupCluster.js +1 -1
  78. package/groupDeployToken.d.ts +3 -3
  79. package/groupHook.d.ts +75 -3
  80. package/groupHook.d.ts.map +1 -1
  81. package/groupHook.js +15 -1
  82. package/groupHook.js.map +1 -1
  83. package/{integrationHarbor.d.ts → groupIntegrationHarbor.d.ts} +39 -43
  84. package/groupIntegrationHarbor.d.ts.map +1 -0
  85. package/{integrationHarbor.js → groupIntegrationHarbor.js} +30 -34
  86. package/groupIntegrationHarbor.js.map +1 -0
  87. package/groupSamlLink.d.ts +3 -3
  88. package/groupSavedReply.d.ts +78 -0
  89. package/groupSavedReply.d.ts.map +1 -0
  90. package/{deployToken.js → groupSavedReply.js} +19 -45
  91. package/groupSavedReply.js.map +1 -0
  92. package/groupServiceAccount.d.ts +12 -0
  93. package/groupServiceAccount.d.ts.map +1 -1
  94. package/groupServiceAccount.js +2 -0
  95. package/groupServiceAccount.js.map +1 -1
  96. package/groupServiceAccountAccessToken.d.ts +3 -3
  97. package/index.d.ts +45 -48
  98. package/index.d.ts.map +1 -1
  99. package/index.js +67 -86
  100. package/index.js.map +1 -1
  101. package/instanceCluster.d.ts +1 -1
  102. package/instanceCluster.js +1 -1
  103. package/integrationSlack.d.ts +0 -18
  104. package/integrationSlack.d.ts.map +1 -1
  105. package/integrationSlack.js +0 -2
  106. package/integrationSlack.js.map +1 -1
  107. package/memberRole.d.ts +3 -3
  108. package/package.json +2 -2
  109. package/personalAccessToken.d.ts +3 -3
  110. package/project.d.ts +36 -234
  111. package/project.d.ts.map +1 -1
  112. package/project.js +6 -26
  113. package/project.js.map +1 -1
  114. package/projectAccessToken.d.ts +3 -3
  115. package/projectCluster.d.ts +1 -1
  116. package/projectCluster.js +1 -1
  117. package/projectDeployToken.d.ts +3 -3
  118. package/projectHook.d.ts +103 -0
  119. package/projectHook.d.ts.map +1 -1
  120. package/projectHook.js +30 -1
  121. package/projectHook.js.map +1 -1
  122. package/projectIntegrationDatadog.d.ts +200 -0
  123. package/projectIntegrationDatadog.d.ts.map +1 -0
  124. package/{integrationGithub.js → projectIntegrationDatadog.js} +44 -45
  125. package/projectIntegrationDatadog.js.map +1 -0
  126. package/{integrationMicrosoftTeams.d.ts → projectIntegrationGoogleChat.d.ts} +35 -95
  127. package/projectIntegrationGoogleChat.d.ts.map +1 -0
  128. package/{integrationMicrosoftTeams.js → projectIntegrationGoogleChat.js} +12 -50
  129. package/projectIntegrationGoogleChat.js.map +1 -0
  130. package/projectIntegrationJira.d.ts +12 -12
  131. package/projectJobTokenScopes.d.ts +5 -21
  132. package/projectJobTokenScopes.d.ts.map +1 -1
  133. package/projectJobTokenScopes.js +6 -3
  134. package/projectJobTokenScopes.js.map +1 -1
  135. package/projectLabel.d.ts +12 -0
  136. package/projectLabel.d.ts.map +1 -1
  137. package/projectLabel.js +2 -0
  138. package/projectLabel.js.map +1 -1
  139. package/projectLevelMrApprovals.d.ts +21 -3
  140. package/projectLevelMrApprovals.d.ts.map +1 -1
  141. package/projectLevelMrApprovals.js +2 -0
  142. package/projectLevelMrApprovals.js.map +1 -1
  143. package/projectMergeRequestNote.d.ts +3 -3
  144. package/projectProtectedEnvironment.d.ts +4 -22
  145. package/projectProtectedEnvironment.d.ts.map +1 -1
  146. package/projectProtectedEnvironment.js +1 -3
  147. package/projectProtectedEnvironment.js.map +1 -1
  148. package/projectPushMirror.d.ts +12 -0
  149. package/projectPushMirror.d.ts.map +1 -1
  150. package/projectPushMirror.js +2 -0
  151. package/projectPushMirror.js.map +1 -1
  152. package/projectSavedReply.d.ts +78 -0
  153. package/projectSavedReply.d.ts.map +1 -0
  154. package/{label.js → projectSavedReply.js} +16 -24
  155. package/projectSavedReply.js.map +1 -0
  156. package/projectServiceAccount.d.ts +152 -0
  157. package/projectServiceAccount.d.ts.map +1 -0
  158. package/{integrationPipelinesEmail.js → projectServiceAccount.js} +42 -35
  159. package/projectServiceAccount.js.map +1 -0
  160. package/projectShareGroup.d.ts +2 -20
  161. package/projectShareGroup.d.ts.map +1 -1
  162. package/projectShareGroup.js +3 -2
  163. package/projectShareGroup.js.map +1 -1
  164. package/projectTargetBranchRule.d.ts +1 -1
  165. package/projectTargetBranchRule.js +1 -1
  166. package/systemHook.d.ts +50 -6
  167. package/systemHook.d.ts.map +1 -1
  168. package/systemHook.js +9 -1
  169. package/systemHook.js.map +1 -1
  170. package/types/input.d.ts +95 -249
  171. package/types/input.d.ts.map +1 -1
  172. package/types/output.d.ts +1168 -168
  173. package/types/output.d.ts.map +1 -1
  174. package/userImpersonationToken.d.ts +3 -3
  175. package/userSavedReply.d.ts +66 -0
  176. package/userSavedReply.d.ts.map +1 -0
  177. package/userSavedReply.js +82 -0
  178. package/userSavedReply.js.map +1 -0
  179. package/deployToken.d.ts +0 -147
  180. package/deployToken.d.ts.map +0 -1
  181. package/deployToken.js.map +0 -1
  182. package/integrationCustomIssueTracker.d.ts +0 -142
  183. package/integrationCustomIssueTracker.d.ts.map +0 -1
  184. package/integrationCustomIssueTracker.js +0 -130
  185. package/integrationCustomIssueTracker.js.map +0 -1
  186. package/integrationEmailsOnPush.d.ts +0 -198
  187. package/integrationEmailsOnPush.d.ts.map +0 -1
  188. package/integrationEmailsOnPush.js +0 -137
  189. package/integrationEmailsOnPush.js.map +0 -1
  190. package/integrationExternalWiki.d.ts +0 -137
  191. package/integrationExternalWiki.d.ts.map +0 -1
  192. package/integrationExternalWiki.js +0 -126
  193. package/integrationExternalWiki.js.map +0 -1
  194. package/integrationGithub.d.ts +0 -156
  195. package/integrationGithub.d.ts.map +0 -1
  196. package/integrationGithub.js.map +0 -1
  197. package/integrationHarbor.d.ts.map +0 -1
  198. package/integrationHarbor.js.map +0 -1
  199. package/integrationJenkins.d.ts +0 -190
  200. package/integrationJenkins.d.ts.map +0 -1
  201. package/integrationJenkins.js +0 -138
  202. package/integrationJenkins.js.map +0 -1
  203. package/integrationJira.d.ts +0 -299
  204. package/integrationJira.d.ts.map +0 -1
  205. package/integrationJira.js +0 -159
  206. package/integrationJira.js.map +0 -1
  207. package/integrationMattermost.d.ts +0 -352
  208. package/integrationMattermost.d.ts.map +0 -1
  209. package/integrationMattermost.js +0 -163
  210. package/integrationMattermost.js.map +0 -1
  211. package/integrationMicrosoftTeams.d.ts.map +0 -1
  212. package/integrationMicrosoftTeams.js.map +0 -1
  213. package/integrationPipelinesEmail.d.ts +0 -123
  214. package/integrationPipelinesEmail.d.ts.map +0 -1
  215. package/integrationPipelinesEmail.js.map +0 -1
  216. package/integrationRedmine.d.ts +0 -136
  217. package/integrationRedmine.d.ts.map +0 -1
  218. package/integrationRedmine.js +0 -131
  219. package/integrationRedmine.js.map +0 -1
  220. package/integrationTelegram.d.ts +0 -253
  221. package/integrationTelegram.d.ts.map +0 -1
  222. package/integrationTelegram.js +0 -184
  223. package/integrationTelegram.js.map +0 -1
  224. package/label.d.ts +0 -108
  225. package/label.d.ts.map +0 -1
  226. package/label.js.map +0 -1
  227. package/projectMirror.d.ts +0 -166
  228. package/projectMirror.d.ts.map +0 -1
  229. package/projectMirror.js +0 -131
  230. package/projectMirror.js.map +0 -1
  231. package/runner.d.ts +0 -188
  232. package/runner.d.ts.map +0 -1
  233. package/runner.js +0 -122
  234. package/runner.js.map +0 -1
@@ -1,142 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * The `gitlab.IntegrationCustomIssueTracker` resource manages the lifecycle of a project integration with a Custom Issue Tracker.
4
- *
5
- * > This resource is deprecated and will be removed in 19.0. Use `gitlab.ProjectIntegrationCustomIssueTracker`instead.
6
- *
7
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#custom-issue-tracker)
8
- *
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as gitlab from "@pulumi/gitlab";
14
- *
15
- * const awesomeProject = new gitlab.Project("awesome_project", {
16
- * name: "awesome_project",
17
- * description: "My awesome project.",
18
- * visibilityLevel: "public",
19
- * });
20
- * const tracker = new gitlab.IntegrationCustomIssueTracker("tracker", {
21
- * project: awesomeProject.id,
22
- * projectUrl: "https://customtracker.com/issues",
23
- * issuesUrl: "https://customtracker.com/TEST-:id",
24
- * });
25
- * ```
26
- *
27
- * ## Import
28
- *
29
- * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.IntegrationCustomIssueTracker`. For example:
30
- *
31
- * Importing using the CLI is supported with the following syntax:
32
- *
33
- * You can import a gitlab.IntegrationCustomIssueTracker state using the project ID, for example:
34
- *
35
- * ```sh
36
- * $ pulumi import gitlab:index/integrationCustomIssueTracker:IntegrationCustomIssueTracker tracker 1
37
- * ```
38
- */
39
- export declare class IntegrationCustomIssueTracker extends pulumi.CustomResource {
40
- /**
41
- * Get an existing IntegrationCustomIssueTracker resource's state with the given name, ID, and optional extra
42
- * properties used to qualify the lookup.
43
- *
44
- * @param name The _unique_ name of the resulting resource.
45
- * @param id The _unique_ provider ID of the resource to lookup.
46
- * @param state Any extra arguments used during the lookup.
47
- * @param opts Optional settings to control the behavior of the CustomResource.
48
- */
49
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationCustomIssueTrackerState, opts?: pulumi.CustomResourceOptions): IntegrationCustomIssueTracker;
50
- /**
51
- * Returns true if the given object is an instance of IntegrationCustomIssueTracker. This is designed to work even
52
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
- */
54
- static isInstance(obj: any): obj is IntegrationCustomIssueTracker;
55
- /**
56
- * Whether the integration is active.
57
- */
58
- readonly active: pulumi.Output<boolean>;
59
- /**
60
- * The ISO8601 date/time that this integration was activated at in UTC.
61
- */
62
- readonly createdAt: pulumi.Output<string>;
63
- /**
64
- * The URL to view an issue in the external issue tracker. Must contain :id.
65
- */
66
- readonly issuesUrl: pulumi.Output<string>;
67
- /**
68
- * The ID or full path of the project for the custom issue tracker.
69
- */
70
- readonly project: pulumi.Output<string>;
71
- /**
72
- * The URL to the project in the external issue tracker.
73
- */
74
- readonly projectUrl: pulumi.Output<string>;
75
- /**
76
- * The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
77
- */
78
- readonly slug: pulumi.Output<string>;
79
- /**
80
- * The ISO8601 date/time that this integration was last updated at in UTC.
81
- */
82
- readonly updatedAt: pulumi.Output<string>;
83
- /**
84
- * Create a IntegrationCustomIssueTracker resource with the given unique name, arguments, and options.
85
- *
86
- * @param name The _unique_ name of the resource.
87
- * @param args The arguments to use to populate this resource's properties.
88
- * @param opts A bag of options that control this resource's behavior.
89
- */
90
- constructor(name: string, args: IntegrationCustomIssueTrackerArgs, opts?: pulumi.CustomResourceOptions);
91
- }
92
- /**
93
- * Input properties used for looking up and filtering IntegrationCustomIssueTracker resources.
94
- */
95
- export interface IntegrationCustomIssueTrackerState {
96
- /**
97
- * Whether the integration is active.
98
- */
99
- active?: pulumi.Input<boolean | undefined>;
100
- /**
101
- * The ISO8601 date/time that this integration was activated at in UTC.
102
- */
103
- createdAt?: pulumi.Input<string | undefined>;
104
- /**
105
- * The URL to view an issue in the external issue tracker. Must contain :id.
106
- */
107
- issuesUrl?: pulumi.Input<string | undefined>;
108
- /**
109
- * The ID or full path of the project for the custom issue tracker.
110
- */
111
- project?: pulumi.Input<string | undefined>;
112
- /**
113
- * The URL to the project in the external issue tracker.
114
- */
115
- projectUrl?: pulumi.Input<string | undefined>;
116
- /**
117
- * The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
118
- */
119
- slug?: pulumi.Input<string | undefined>;
120
- /**
121
- * The ISO8601 date/time that this integration was last updated at in UTC.
122
- */
123
- updatedAt?: pulumi.Input<string | undefined>;
124
- }
125
- /**
126
- * The set of arguments for constructing a IntegrationCustomIssueTracker resource.
127
- */
128
- export interface IntegrationCustomIssueTrackerArgs {
129
- /**
130
- * The URL to view an issue in the external issue tracker. Must contain :id.
131
- */
132
- issuesUrl: pulumi.Input<string>;
133
- /**
134
- * The ID or full path of the project for the custom issue tracker.
135
- */
136
- project: pulumi.Input<string>;
137
- /**
138
- * The URL to the project in the external issue tracker.
139
- */
140
- projectUrl: pulumi.Input<string>;
141
- }
142
- //# sourceMappingURL=integrationCustomIssueTracker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integrationCustomIssueTracker.d.ts","sourceRoot":"","sources":["../integrationCustomIssueTracker.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;A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C,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
@@ -1,130 +0,0 @@
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
- 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
- };
27
- Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.IntegrationCustomIssueTracker = void 0;
29
- const pulumi = __importStar(require("@pulumi/pulumi"));
30
- const utilities = __importStar(require("./utilities"));
31
- /**
32
- * The `gitlab.IntegrationCustomIssueTracker` resource manages the lifecycle of a project integration with a Custom Issue Tracker.
33
- *
34
- * > This resource is deprecated and will be removed in 19.0. Use `gitlab.ProjectIntegrationCustomIssueTracker`instead.
35
- *
36
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#custom-issue-tracker)
37
- *
38
- * ## Example Usage
39
- *
40
- * ```typescript
41
- * import * as pulumi from "@pulumi/pulumi";
42
- * import * as gitlab from "@pulumi/gitlab";
43
- *
44
- * const awesomeProject = new gitlab.Project("awesome_project", {
45
- * name: "awesome_project",
46
- * description: "My awesome project.",
47
- * visibilityLevel: "public",
48
- * });
49
- * const tracker = new gitlab.IntegrationCustomIssueTracker("tracker", {
50
- * project: awesomeProject.id,
51
- * projectUrl: "https://customtracker.com/issues",
52
- * issuesUrl: "https://customtracker.com/TEST-:id",
53
- * });
54
- * ```
55
- *
56
- * ## Import
57
- *
58
- * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.IntegrationCustomIssueTracker`. For example:
59
- *
60
- * Importing using the CLI is supported with the following syntax:
61
- *
62
- * You can import a gitlab.IntegrationCustomIssueTracker state using the project ID, for example:
63
- *
64
- * ```sh
65
- * $ pulumi import gitlab:index/integrationCustomIssueTracker:IntegrationCustomIssueTracker tracker 1
66
- * ```
67
- */
68
- class IntegrationCustomIssueTracker extends pulumi.CustomResource {
69
- /**
70
- * Get an existing IntegrationCustomIssueTracker resource's state with the given name, ID, and optional extra
71
- * properties used to qualify the lookup.
72
- *
73
- * @param name The _unique_ name of the resulting resource.
74
- * @param id The _unique_ provider ID of the resource to lookup.
75
- * @param state Any extra arguments used during the lookup.
76
- * @param opts Optional settings to control the behavior of the CustomResource.
77
- */
78
- static get(name, id, state, opts) {
79
- return new IntegrationCustomIssueTracker(name, state, { ...opts, id: id });
80
- }
81
- /** @internal */
82
- static __pulumiType = 'gitlab:index/integrationCustomIssueTracker:IntegrationCustomIssueTracker';
83
- /**
84
- * Returns true if the given object is an instance of IntegrationCustomIssueTracker. This is designed to work even
85
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
- */
87
- static isInstance(obj) {
88
- if (obj === undefined || obj === null) {
89
- return false;
90
- }
91
- return obj['__pulumiType'] === IntegrationCustomIssueTracker.__pulumiType;
92
- }
93
- constructor(name, argsOrState, opts) {
94
- let resourceInputs = {};
95
- opts = opts || {};
96
- if (opts.id) {
97
- const state = argsOrState;
98
- resourceInputs["active"] = state?.active;
99
- resourceInputs["createdAt"] = state?.createdAt;
100
- resourceInputs["issuesUrl"] = state?.issuesUrl;
101
- resourceInputs["project"] = state?.project;
102
- resourceInputs["projectUrl"] = state?.projectUrl;
103
- resourceInputs["slug"] = state?.slug;
104
- resourceInputs["updatedAt"] = state?.updatedAt;
105
- }
106
- else {
107
- const args = argsOrState;
108
- if (args?.issuesUrl === undefined && !opts.urn) {
109
- throw new Error("Missing required property 'issuesUrl'");
110
- }
111
- if (args?.project === undefined && !opts.urn) {
112
- throw new Error("Missing required property 'project'");
113
- }
114
- if (args?.projectUrl === undefined && !opts.urn) {
115
- throw new Error("Missing required property 'projectUrl'");
116
- }
117
- resourceInputs["issuesUrl"] = args?.issuesUrl;
118
- resourceInputs["project"] = args?.project;
119
- resourceInputs["projectUrl"] = args?.projectUrl;
120
- resourceInputs["active"] = undefined /*out*/;
121
- resourceInputs["createdAt"] = undefined /*out*/;
122
- resourceInputs["slug"] = undefined /*out*/;
123
- resourceInputs["updatedAt"] = undefined /*out*/;
124
- }
125
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
126
- super(IntegrationCustomIssueTracker.__pulumiType, name, resourceInputs, opts);
127
- }
128
- }
129
- exports.IntegrationCustomIssueTracker = IntegrationCustomIssueTracker;
130
- //# sourceMappingURL=integrationCustomIssueTracker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integrationCustomIssueTracker.js","sourceRoot":"","sources":["../integrationCustomIssueTracker.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0EAA0E,CAAC;IAEjH;;;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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAoF,EAAE,IAAmC;QAC/I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE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AAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AAlGL,sEAmGC"}
@@ -1,198 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * The `gitlab.IntegrationEmailsOnPush` resource manages the lifecycle of a project integration with the Emails on Push Service.
4
- *
5
- * > This resource is deprecated and will be removed in 19.0. Use `gitlab.ProjectIntegrationEmailsOnPush`instead.
6
- *
7
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#emails-on-push)
8
- *
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as gitlab from "@pulumi/gitlab";
14
- *
15
- * // This resource is deprecated and will be removed in version 19.0. Use gitlab_project_integration_emails_on_push instead.
16
- * const awesomeProject = new gitlab.Project("awesome_project", {
17
- * name: "awesome_project",
18
- * description: "My awesome project.",
19
- * visibilityLevel: "public",
20
- * });
21
- * const emails = new gitlab.IntegrationEmailsOnPush("emails", {
22
- * project: awesomeProject.id,
23
- * recipients: "myrecipient@example.com myotherrecipient@example.com",
24
- * });
25
- * ```
26
- *
27
- * ## Import
28
- *
29
- * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.IntegrationEmailsOnPush`. For example:
30
- *
31
- * Importing using the CLI is supported with the following syntax:
32
- *
33
- * You can import a gitlab.IntegrationEmailsOnPush state using the project ID, for example:
34
- *
35
- * ```sh
36
- * $ pulumi import gitlab:index/integrationEmailsOnPush:IntegrationEmailsOnPush emails 1
37
- * ```
38
- */
39
- export declare class IntegrationEmailsOnPush extends pulumi.CustomResource {
40
- /**
41
- * Get an existing IntegrationEmailsOnPush resource's state with the given name, ID, and optional extra
42
- * properties used to qualify the lookup.
43
- *
44
- * @param name The _unique_ name of the resulting resource.
45
- * @param id The _unique_ provider ID of the resource to lookup.
46
- * @param state Any extra arguments used during the lookup.
47
- * @param opts Optional settings to control the behavior of the CustomResource.
48
- */
49
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationEmailsOnPushState, opts?: pulumi.CustomResourceOptions): IntegrationEmailsOnPush;
50
- /**
51
- * Returns true if the given object is an instance of IntegrationEmailsOnPush. This is designed to work even
52
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
- */
54
- static isInstance(obj: any): obj is IntegrationEmailsOnPush;
55
- /**
56
- * Whether the integration is active.
57
- */
58
- readonly active: pulumi.Output<boolean>;
59
- /**
60
- * Branches to send notifications for. Valid options are `all`, `default`, `protected`, `defaultAndProtected`. Notifications are always fired for tag pushes.
61
- */
62
- readonly branchesToBeNotified: pulumi.Output<string>;
63
- /**
64
- * The ISO8601 date/time that this integration was activated at in UTC.
65
- */
66
- readonly createdAt: pulumi.Output<string>;
67
- /**
68
- * Disable code diffs.
69
- */
70
- readonly disableDiffs: pulumi.Output<boolean>;
71
- /**
72
- * ID or full-path of the project you want to activate integration on.
73
- */
74
- readonly project: pulumi.Output<string>;
75
- /**
76
- * Enable notifications for push events.
77
- */
78
- readonly pushEvents: pulumi.Output<boolean>;
79
- /**
80
- * Emails separated by whitespace.
81
- */
82
- readonly recipients: pulumi.Output<string>;
83
- /**
84
- * Send from committer.
85
- */
86
- readonly sendFromCommitterEmail: pulumi.Output<boolean>;
87
- /**
88
- * The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
89
- */
90
- readonly slug: pulumi.Output<string>;
91
- /**
92
- * Enable notifications for tag push events.
93
- */
94
- readonly tagPushEvents: pulumi.Output<boolean>;
95
- /**
96
- * Title of the integration.
97
- */
98
- readonly title: pulumi.Output<string>;
99
- /**
100
- * The ISO8601 date/time that this integration was last updated at in UTC.
101
- */
102
- readonly updatedAt: pulumi.Output<string>;
103
- /**
104
- * Create a IntegrationEmailsOnPush resource with the given unique name, arguments, and options.
105
- *
106
- * @param name The _unique_ name of the resource.
107
- * @param args The arguments to use to populate this resource's properties.
108
- * @param opts A bag of options that control this resource's behavior.
109
- */
110
- constructor(name: string, args: IntegrationEmailsOnPushArgs, opts?: pulumi.CustomResourceOptions);
111
- }
112
- /**
113
- * Input properties used for looking up and filtering IntegrationEmailsOnPush resources.
114
- */
115
- export interface IntegrationEmailsOnPushState {
116
- /**
117
- * Whether the integration is active.
118
- */
119
- active?: pulumi.Input<boolean | undefined>;
120
- /**
121
- * Branches to send notifications for. Valid options are `all`, `default`, `protected`, `defaultAndProtected`. Notifications are always fired for tag pushes.
122
- */
123
- branchesToBeNotified?: pulumi.Input<string | undefined>;
124
- /**
125
- * The ISO8601 date/time that this integration was activated at in UTC.
126
- */
127
- createdAt?: pulumi.Input<string | undefined>;
128
- /**
129
- * Disable code diffs.
130
- */
131
- disableDiffs?: pulumi.Input<boolean | undefined>;
132
- /**
133
- * ID or full-path of the project you want to activate integration on.
134
- */
135
- project?: pulumi.Input<string | undefined>;
136
- /**
137
- * Enable notifications for push events.
138
- */
139
- pushEvents?: pulumi.Input<boolean | undefined>;
140
- /**
141
- * Emails separated by whitespace.
142
- */
143
- recipients?: pulumi.Input<string | undefined>;
144
- /**
145
- * Send from committer.
146
- */
147
- sendFromCommitterEmail?: pulumi.Input<boolean | undefined>;
148
- /**
149
- * The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
150
- */
151
- slug?: pulumi.Input<string | undefined>;
152
- /**
153
- * Enable notifications for tag push events.
154
- */
155
- tagPushEvents?: pulumi.Input<boolean | undefined>;
156
- /**
157
- * Title of the integration.
158
- */
159
- title?: pulumi.Input<string | undefined>;
160
- /**
161
- * The ISO8601 date/time that this integration was last updated at in UTC.
162
- */
163
- updatedAt?: pulumi.Input<string | undefined>;
164
- }
165
- /**
166
- * The set of arguments for constructing a IntegrationEmailsOnPush resource.
167
- */
168
- export interface IntegrationEmailsOnPushArgs {
169
- /**
170
- * Branches to send notifications for. Valid options are `all`, `default`, `protected`, `defaultAndProtected`. Notifications are always fired for tag pushes.
171
- */
172
- branchesToBeNotified?: pulumi.Input<string | undefined>;
173
- /**
174
- * Disable code diffs.
175
- */
176
- disableDiffs?: pulumi.Input<boolean | undefined>;
177
- /**
178
- * ID or full-path of the project you want to activate integration on.
179
- */
180
- project: pulumi.Input<string>;
181
- /**
182
- * Enable notifications for push events.
183
- */
184
- pushEvents?: pulumi.Input<boolean | undefined>;
185
- /**
186
- * Emails separated by whitespace.
187
- */
188
- recipients: pulumi.Input<string>;
189
- /**
190
- * Send from committer.
191
- */
192
- sendFromCommitterEmail?: pulumi.Input<boolean | undefined>;
193
- /**
194
- * Enable notifications for tag push events.
195
- */
196
- tagPushEvents?: pulumi.Input<boolean | undefined>;
197
- }
198
- //# sourceMappingURL=integrationEmailsOnPush.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integrationEmailsOnPush.d.ts","sourceRoot":"","sources":["../integrationEmailsOnPush.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,uBAAuB;IAOhK;;;OAGG;WACW,UAAU,CAAC,GA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O,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3D;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACrD"}
@@ -1,137 +0,0 @@
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
- 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
- };
27
- Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.IntegrationEmailsOnPush = void 0;
29
- const pulumi = __importStar(require("@pulumi/pulumi"));
30
- const utilities = __importStar(require("./utilities"));
31
- /**
32
- * The `gitlab.IntegrationEmailsOnPush` resource manages the lifecycle of a project integration with the Emails on Push Service.
33
- *
34
- * > This resource is deprecated and will be removed in 19.0. Use `gitlab.ProjectIntegrationEmailsOnPush`instead.
35
- *
36
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#emails-on-push)
37
- *
38
- * ## Example Usage
39
- *
40
- * ```typescript
41
- * import * as pulumi from "@pulumi/pulumi";
42
- * import * as gitlab from "@pulumi/gitlab";
43
- *
44
- * // This resource is deprecated and will be removed in version 19.0. Use gitlab_project_integration_emails_on_push instead.
45
- * const awesomeProject = new gitlab.Project("awesome_project", {
46
- * name: "awesome_project",
47
- * description: "My awesome project.",
48
- * visibilityLevel: "public",
49
- * });
50
- * const emails = new gitlab.IntegrationEmailsOnPush("emails", {
51
- * project: awesomeProject.id,
52
- * recipients: "myrecipient@example.com myotherrecipient@example.com",
53
- * });
54
- * ```
55
- *
56
- * ## Import
57
- *
58
- * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.IntegrationEmailsOnPush`. For example:
59
- *
60
- * Importing using the CLI is supported with the following syntax:
61
- *
62
- * You can import a gitlab.IntegrationEmailsOnPush state using the project ID, for example:
63
- *
64
- * ```sh
65
- * $ pulumi import gitlab:index/integrationEmailsOnPush:IntegrationEmailsOnPush emails 1
66
- * ```
67
- */
68
- class IntegrationEmailsOnPush extends pulumi.CustomResource {
69
- /**
70
- * Get an existing IntegrationEmailsOnPush resource's state with the given name, ID, and optional extra
71
- * properties used to qualify the lookup.
72
- *
73
- * @param name The _unique_ name of the resulting resource.
74
- * @param id The _unique_ provider ID of the resource to lookup.
75
- * @param state Any extra arguments used during the lookup.
76
- * @param opts Optional settings to control the behavior of the CustomResource.
77
- */
78
- static get(name, id, state, opts) {
79
- return new IntegrationEmailsOnPush(name, state, { ...opts, id: id });
80
- }
81
- /** @internal */
82
- static __pulumiType = 'gitlab:index/integrationEmailsOnPush:IntegrationEmailsOnPush';
83
- /**
84
- * Returns true if the given object is an instance of IntegrationEmailsOnPush. This is designed to work even
85
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
- */
87
- static isInstance(obj) {
88
- if (obj === undefined || obj === null) {
89
- return false;
90
- }
91
- return obj['__pulumiType'] === IntegrationEmailsOnPush.__pulumiType;
92
- }
93
- constructor(name, argsOrState, opts) {
94
- let resourceInputs = {};
95
- opts = opts || {};
96
- if (opts.id) {
97
- const state = argsOrState;
98
- resourceInputs["active"] = state?.active;
99
- resourceInputs["branchesToBeNotified"] = state?.branchesToBeNotified;
100
- resourceInputs["createdAt"] = state?.createdAt;
101
- resourceInputs["disableDiffs"] = state?.disableDiffs;
102
- resourceInputs["project"] = state?.project;
103
- resourceInputs["pushEvents"] = state?.pushEvents;
104
- resourceInputs["recipients"] = state?.recipients;
105
- resourceInputs["sendFromCommitterEmail"] = state?.sendFromCommitterEmail;
106
- resourceInputs["slug"] = state?.slug;
107
- resourceInputs["tagPushEvents"] = state?.tagPushEvents;
108
- resourceInputs["title"] = state?.title;
109
- resourceInputs["updatedAt"] = state?.updatedAt;
110
- }
111
- else {
112
- const args = argsOrState;
113
- if (args?.project === undefined && !opts.urn) {
114
- throw new Error("Missing required property 'project'");
115
- }
116
- if (args?.recipients === undefined && !opts.urn) {
117
- throw new Error("Missing required property 'recipients'");
118
- }
119
- resourceInputs["branchesToBeNotified"] = args?.branchesToBeNotified;
120
- resourceInputs["disableDiffs"] = args?.disableDiffs;
121
- resourceInputs["project"] = args?.project;
122
- resourceInputs["pushEvents"] = args?.pushEvents;
123
- resourceInputs["recipients"] = args?.recipients;
124
- resourceInputs["sendFromCommitterEmail"] = args?.sendFromCommitterEmail;
125
- resourceInputs["tagPushEvents"] = args?.tagPushEvents;
126
- resourceInputs["active"] = undefined /*out*/;
127
- resourceInputs["createdAt"] = undefined /*out*/;
128
- resourceInputs["slug"] = undefined /*out*/;
129
- resourceInputs["title"] = undefined /*out*/;
130
- resourceInputs["updatedAt"] = undefined /*out*/;
131
- }
132
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
133
- super(IntegrationEmailsOnPush.__pulumiType, name, resourceInputs, opts);
134
- }
135
- }
136
- exports.IntegrationEmailsOnPush = IntegrationEmailsOnPush;
137
- //# sourceMappingURL=integrationEmailsOnPush.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integrationEmailsOnPush.js","sourceRoot":"","sources":["../integrationEmailsOnPush.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8DAA8D,CAAC;IAErG;;;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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IA2DD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;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