@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
@@ -25,17 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.IntegrationGithub = void 0;
28
+ exports.ProjectIntegrationDatadog = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * The `gitlab.IntegrationGithub` resource manages the lifecycle of a project integration with GitHub.
32
+ * The `gitlab.ProjectIntegrationDatadog` resource manages the lifecycle of a project integration with Datadog.
33
33
  *
34
- * > This resource requires a GitLab Enterprise instance.
35
- *
36
- * > This resource is deprecated and will be removed in 19.0. Use `gitlab.ProjectIntegrationGithub` instead.
37
- *
38
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#github)
34
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#datadog)
39
35
  *
40
36
  * ## Example Usage
41
37
  *
@@ -43,33 +39,33 @@ const utilities = __importStar(require("./utilities"));
43
39
  * import * as pulumi from "@pulumi/pulumi";
44
40
  * import * as gitlab from "@pulumi/gitlab";
45
41
  *
46
- * const awesomeProject = new gitlab.Project("awesome_project", {
47
- * name: "awesome_project",
48
- * description: "My awesome project.",
42
+ * const example = new gitlab.Project("example", {
43
+ * name: "example",
49
44
  * visibilityLevel: "public",
50
45
  * });
51
- * const github = new gitlab.IntegrationGithub("github", {
52
- * project: awesomeProject.id,
53
- * token: "REDACTED",
54
- * repositoryUrl: "https://github.com/gitlabhq/terraform-provider-gitlab",
46
+ * const exampleProjectIntegrationDatadog = new gitlab.ProjectIntegrationDatadog("example", {
47
+ * project: example.id,
48
+ * apiKey: "secret-datadog-api-key",
49
+ * datadogSite: "datadoghq.com",
50
+ * datadogEnv: "production",
55
51
  * });
56
52
  * ```
57
53
  *
58
54
  * ## Import
59
55
  *
60
- * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.IntegrationGithub`. For example:
56
+ * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.ProjectIntegrationDatadog`. For example:
61
57
  *
62
58
  * Importing using the CLI is supported with the following syntax:
63
59
  *
64
- * You can import a gitlab.IntegrationGithub state using `terraform import <resource> <project_id>`:
60
+ * You can import a gitlab.ProjectIntegrationDatadog state using `terraform import <resource> <project_id>`:
65
61
  *
66
62
  * ```sh
67
- * $ pulumi import gitlab:index/integrationGithub:IntegrationGithub github 1
63
+ * $ pulumi import gitlab:index/projectIntegrationDatadog:ProjectIntegrationDatadog example 1
68
64
  * ```
69
65
  */
70
- class IntegrationGithub extends pulumi.CustomResource {
66
+ class ProjectIntegrationDatadog extends pulumi.CustomResource {
71
67
  /**
72
- * Get an existing IntegrationGithub resource's state with the given name, ID, and optional extra
68
+ * Get an existing ProjectIntegrationDatadog resource's state with the given name, ID, and optional extra
73
69
  * properties used to qualify the lookup.
74
70
  *
75
71
  * @param name The _unique_ name of the resulting resource.
@@ -78,19 +74,19 @@ class IntegrationGithub extends pulumi.CustomResource {
78
74
  * @param opts Optional settings to control the behavior of the CustomResource.
79
75
  */
80
76
  static get(name, id, state, opts) {
81
- return new IntegrationGithub(name, state, { ...opts, id: id });
77
+ return new ProjectIntegrationDatadog(name, state, { ...opts, id: id });
82
78
  }
83
79
  /** @internal */
84
- static __pulumiType = 'gitlab:index/integrationGithub:IntegrationGithub';
80
+ static __pulumiType = 'gitlab:index/projectIntegrationDatadog:ProjectIntegrationDatadog';
85
81
  /**
86
- * Returns true if the given object is an instance of IntegrationGithub. This is designed to work even
82
+ * Returns true if the given object is an instance of ProjectIntegrationDatadog. This is designed to work even
87
83
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
88
84
  */
89
85
  static isInstance(obj) {
90
86
  if (obj === undefined || obj === null) {
91
87
  return false;
92
88
  }
93
- return obj['__pulumiType'] === IntegrationGithub.__pulumiType;
89
+ return obj['__pulumiType'] === ProjectIntegrationDatadog.__pulumiType;
94
90
  }
95
91
  constructor(name, argsOrState, opts) {
96
92
  let resourceInputs = {};
@@ -98,39 +94,42 @@ class IntegrationGithub extends pulumi.CustomResource {
98
94
  if (opts.id) {
99
95
  const state = argsOrState;
100
96
  resourceInputs["active"] = state?.active;
101
- resourceInputs["createdAt"] = state?.createdAt;
97
+ resourceInputs["apiKey"] = state?.apiKey;
98
+ resourceInputs["apiUrl"] = state?.apiUrl;
99
+ resourceInputs["archiveTraceEvents"] = state?.archiveTraceEvents;
100
+ resourceInputs["datadogCiVisibility"] = state?.datadogCiVisibility;
101
+ resourceInputs["datadogEnv"] = state?.datadogEnv;
102
+ resourceInputs["datadogService"] = state?.datadogService;
103
+ resourceInputs["datadogSite"] = state?.datadogSite;
104
+ resourceInputs["datadogTags"] = state?.datadogTags;
102
105
  resourceInputs["project"] = state?.project;
103
- resourceInputs["repositoryUrl"] = state?.repositoryUrl;
104
- resourceInputs["staticContext"] = state?.staticContext;
105
- resourceInputs["title"] = state?.title;
106
- resourceInputs["token"] = state?.token;
107
- resourceInputs["updatedAt"] = state?.updatedAt;
106
+ resourceInputs["useInheritedSettings"] = state?.useInheritedSettings;
108
107
  }
109
108
  else {
110
109
  const args = argsOrState;
110
+ if (args?.apiKey === undefined && !opts.urn) {
111
+ throw new Error("Missing required property 'apiKey'");
112
+ }
111
113
  if (args?.project === undefined && !opts.urn) {
112
114
  throw new Error("Missing required property 'project'");
113
115
  }
114
- if (args?.repositoryUrl === undefined && !opts.urn) {
115
- throw new Error("Missing required property 'repositoryUrl'");
116
- }
117
- if (args?.token === undefined && !opts.urn) {
118
- throw new Error("Missing required property 'token'");
119
- }
116
+ resourceInputs["apiKey"] = args?.apiKey ? pulumi.secret(args.apiKey) : undefined;
117
+ resourceInputs["apiUrl"] = args?.apiUrl;
118
+ resourceInputs["archiveTraceEvents"] = args?.archiveTraceEvents;
119
+ resourceInputs["datadogCiVisibility"] = args?.datadogCiVisibility;
120
+ resourceInputs["datadogEnv"] = args?.datadogEnv;
121
+ resourceInputs["datadogService"] = args?.datadogService;
122
+ resourceInputs["datadogSite"] = args?.datadogSite;
123
+ resourceInputs["datadogTags"] = args?.datadogTags;
120
124
  resourceInputs["project"] = args?.project;
121
- resourceInputs["repositoryUrl"] = args?.repositoryUrl;
122
- resourceInputs["staticContext"] = args?.staticContext;
123
- resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined;
125
+ resourceInputs["useInheritedSettings"] = args?.useInheritedSettings;
124
126
  resourceInputs["active"] = undefined /*out*/;
125
- resourceInputs["createdAt"] = undefined /*out*/;
126
- resourceInputs["title"] = undefined /*out*/;
127
- resourceInputs["updatedAt"] = undefined /*out*/;
128
127
  }
129
128
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
130
- const secretOpts = { additionalSecretOutputs: ["token"] };
129
+ const secretOpts = { additionalSecretOutputs: ["apiKey"] };
131
130
  opts = pulumi.mergeOptions(opts, secretOpts);
132
- super(IntegrationGithub.__pulumiType, name, resourceInputs, opts);
131
+ super(ProjectIntegrationDatadog.__pulumiType, name, resourceInputs, opts);
133
132
  }
134
133
  }
135
- exports.IntegrationGithub = IntegrationGithub;
136
- //# sourceMappingURL=integrationGithub.js.map
134
+ exports.ProjectIntegrationDatadog = ProjectIntegrationDatadog;
135
+ //# sourceMappingURL=projectIntegrationDatadog.js.map
@@ -0,0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AC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAzHL,8DA0HC"}
@@ -1,44 +1,12 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * The `gitlab.IntegrationMicrosoftTeams` resource manages the lifecycle of a project integration with Microsoft Teams.
3
+ * The `gitlab.ProjectIntegrationGoogleChat` resource manages the lifecycle of a project integration with Google Chat.
4
4
  *
5
- * > This resource is deprecated and will be removed in 19.0. Use `gitlab.ProjectIntegrationMicrosoftTeams` instead.
6
- *
7
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#microsoft-teams-notifications)
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 teams = new gitlab.IntegrationMicrosoftTeams("teams", {
21
- * project: awesomeProject.id,
22
- * webhook: "https://testurl.com/?token=XYZ",
23
- * pushEvents: true,
24
- * });
25
- * ```
26
- *
27
- * ## Import
28
- *
29
- * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.IntegrationMicrosoftTeams`. For example:
30
- *
31
- * Importing using the CLI is supported with the following syntax:
32
- *
33
- * You can import a gitlab.IntegrationMicrosoftTeams state using the project ID, for example:
34
- *
35
- * ```sh
36
- * $ pulumi import gitlab:index/integrationMicrosoftTeams:IntegrationMicrosoftTeams teams 1
37
- * ```
5
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#set-up-google-chat)
38
6
  */
39
- export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
7
+ export declare class ProjectIntegrationGoogleChat extends pulumi.CustomResource {
40
8
  /**
41
- * Get an existing IntegrationMicrosoftTeams resource's state with the given name, ID, and optional extra
9
+ * Get an existing ProjectIntegrationGoogleChat resource's state with the given name, ID, and optional extra
42
10
  * properties used to qualify the lookup.
43
11
  *
44
12
  * @param name The _unique_ name of the resulting resource.
@@ -46,38 +14,30 @@ export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
46
14
  * @param state Any extra arguments used during the lookup.
47
15
  * @param opts Optional settings to control the behavior of the CustomResource.
48
16
  */
49
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationMicrosoftTeamsState, opts?: pulumi.CustomResourceOptions): IntegrationMicrosoftTeams;
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectIntegrationGoogleChatState, opts?: pulumi.CustomResourceOptions): ProjectIntegrationGoogleChat;
50
18
  /**
51
- * Returns true if the given object is an instance of IntegrationMicrosoftTeams. This is designed to work even
19
+ * Returns true if the given object is an instance of ProjectIntegrationGoogleChat. This is designed to work even
52
20
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
21
  */
54
- static isInstance(obj: any): obj is IntegrationMicrosoftTeams;
22
+ static isInstance(obj: any): obj is ProjectIntegrationGoogleChat;
55
23
  /**
56
24
  * Whether the integration is active.
57
25
  */
58
26
  readonly active: pulumi.Output<boolean>;
59
27
  /**
60
- * Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected`
28
+ * Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected`.
61
29
  */
62
30
  readonly branchesToBeNotified: pulumi.Output<string>;
63
31
  /**
64
- * Enable notifications for confidential issue events.
32
+ * Enable notifications for confidential issues events.
65
33
  */
66
34
  readonly confidentialIssuesEvents: pulumi.Output<boolean>;
67
35
  /**
68
- * Enable notifications for confidential note events.
69
- */
70
- readonly confidentialNoteEvents: pulumi.Output<boolean>;
71
- /**
72
- * The ISO8601 date/time that this integration was activated at in UTC.
73
- */
74
- readonly createdAt: pulumi.Output<string>;
75
- /**
76
- * Enable notifications for issue events.
36
+ * Enable notifications for issues events.
77
37
  */
78
38
  readonly issuesEvents: pulumi.Output<boolean>;
79
39
  /**
80
- * Enable notifications for merge request events.
40
+ * Enable notifications for merge requests events.
81
41
  */
82
42
  readonly mergeRequestsEvents: pulumi.Output<boolean>;
83
43
  /**
@@ -85,7 +45,7 @@ export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
85
45
  */
86
46
  readonly noteEvents: pulumi.Output<boolean>;
87
47
  /**
88
- * Send notifications for broken pipelines.
48
+ * Send notifications for broken pipelines only.
89
49
  */
90
50
  readonly notifyOnlyBrokenPipelines: pulumi.Output<boolean>;
91
51
  /**
@@ -93,7 +53,7 @@ export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
93
53
  */
94
54
  readonly pipelineEvents: pulumi.Output<boolean>;
95
55
  /**
96
- * ID of the project you want to activate the integration on.
56
+ * The ID or full path of the project to integrate with Google Chat.
97
57
  */
98
58
  readonly project: pulumi.Output<string>;
99
59
  /**
@@ -105,11 +65,7 @@ export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
105
65
  */
106
66
  readonly tagPushEvents: pulumi.Output<boolean>;
107
67
  /**
108
- * The ISO8601 date/time that this integration was last updated at in UTC.
109
- */
110
- readonly updatedAt: pulumi.Output<string>;
111
- /**
112
- * The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
68
+ * The Google Chat webhook URL (for example, https://chat.googleapis.com/v1/spaces/...).
113
69
  */
114
70
  readonly webhook: pulumi.Output<string>;
115
71
  /**
@@ -117,44 +73,36 @@ export declare class IntegrationMicrosoftTeams extends pulumi.CustomResource {
117
73
  */
118
74
  readonly wikiPageEvents: pulumi.Output<boolean>;
119
75
  /**
120
- * Create a IntegrationMicrosoftTeams resource with the given unique name, arguments, and options.
76
+ * Create a ProjectIntegrationGoogleChat resource with the given unique name, arguments, and options.
121
77
  *
122
78
  * @param name The _unique_ name of the resource.
123
79
  * @param args The arguments to use to populate this resource's properties.
124
80
  * @param opts A bag of options that control this resource's behavior.
125
81
  */
126
- constructor(name: string, args: IntegrationMicrosoftTeamsArgs, opts?: pulumi.CustomResourceOptions);
82
+ constructor(name: string, args: ProjectIntegrationGoogleChatArgs, opts?: pulumi.CustomResourceOptions);
127
83
  }
128
84
  /**
129
- * Input properties used for looking up and filtering IntegrationMicrosoftTeams resources.
85
+ * Input properties used for looking up and filtering ProjectIntegrationGoogleChat resources.
130
86
  */
131
- export interface IntegrationMicrosoftTeamsState {
87
+ export interface ProjectIntegrationGoogleChatState {
132
88
  /**
133
89
  * Whether the integration is active.
134
90
  */
135
91
  active?: pulumi.Input<boolean | undefined>;
136
92
  /**
137
- * Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected`
93
+ * Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected`.
138
94
  */
139
95
  branchesToBeNotified?: pulumi.Input<string | undefined>;
140
96
  /**
141
- * Enable notifications for confidential issue events.
97
+ * Enable notifications for confidential issues events.
142
98
  */
143
99
  confidentialIssuesEvents?: pulumi.Input<boolean | undefined>;
144
100
  /**
145
- * Enable notifications for confidential note events.
146
- */
147
- confidentialNoteEvents?: pulumi.Input<boolean | undefined>;
148
- /**
149
- * The ISO8601 date/time that this integration was activated at in UTC.
150
- */
151
- createdAt?: pulumi.Input<string | undefined>;
152
- /**
153
- * Enable notifications for issue events.
101
+ * Enable notifications for issues events.
154
102
  */
155
103
  issuesEvents?: pulumi.Input<boolean | undefined>;
156
104
  /**
157
- * Enable notifications for merge request events.
105
+ * Enable notifications for merge requests events.
158
106
  */
159
107
  mergeRequestsEvents?: pulumi.Input<boolean | undefined>;
160
108
  /**
@@ -162,7 +110,7 @@ export interface IntegrationMicrosoftTeamsState {
162
110
  */
163
111
  noteEvents?: pulumi.Input<boolean | undefined>;
164
112
  /**
165
- * Send notifications for broken pipelines.
113
+ * Send notifications for broken pipelines only.
166
114
  */
167
115
  notifyOnlyBrokenPipelines?: pulumi.Input<boolean | undefined>;
168
116
  /**
@@ -170,7 +118,7 @@ export interface IntegrationMicrosoftTeamsState {
170
118
  */
171
119
  pipelineEvents?: pulumi.Input<boolean | undefined>;
172
120
  /**
173
- * ID of the project you want to activate the integration on.
121
+ * The ID or full path of the project to integrate with Google Chat.
174
122
  */
175
123
  project?: pulumi.Input<string | undefined>;
176
124
  /**
@@ -182,11 +130,7 @@ export interface IntegrationMicrosoftTeamsState {
182
130
  */
183
131
  tagPushEvents?: pulumi.Input<boolean | undefined>;
184
132
  /**
185
- * The ISO8601 date/time that this integration was last updated at in UTC.
186
- */
187
- updatedAt?: pulumi.Input<string | undefined>;
188
- /**
189
- * The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
133
+ * The Google Chat webhook URL (for example, https://chat.googleapis.com/v1/spaces/...).
190
134
  */
191
135
  webhook?: pulumi.Input<string | undefined>;
192
136
  /**
@@ -195,27 +139,23 @@ export interface IntegrationMicrosoftTeamsState {
195
139
  wikiPageEvents?: pulumi.Input<boolean | undefined>;
196
140
  }
197
141
  /**
198
- * The set of arguments for constructing a IntegrationMicrosoftTeams resource.
142
+ * The set of arguments for constructing a ProjectIntegrationGoogleChat resource.
199
143
  */
200
- export interface IntegrationMicrosoftTeamsArgs {
144
+ export interface ProjectIntegrationGoogleChatArgs {
201
145
  /**
202
- * Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected`
146
+ * Branches to send notifications for. Valid values are: `all`, `default`, `protected`, `defaultAndProtected`.
203
147
  */
204
148
  branchesToBeNotified?: pulumi.Input<string | undefined>;
205
149
  /**
206
- * Enable notifications for confidential issue events.
150
+ * Enable notifications for confidential issues events.
207
151
  */
208
152
  confidentialIssuesEvents?: pulumi.Input<boolean | undefined>;
209
153
  /**
210
- * Enable notifications for confidential note events.
211
- */
212
- confidentialNoteEvents?: pulumi.Input<boolean | undefined>;
213
- /**
214
- * Enable notifications for issue events.
154
+ * Enable notifications for issues events.
215
155
  */
216
156
  issuesEvents?: pulumi.Input<boolean | undefined>;
217
157
  /**
218
- * Enable notifications for merge request events.
158
+ * Enable notifications for merge requests events.
219
159
  */
220
160
  mergeRequestsEvents?: pulumi.Input<boolean | undefined>;
221
161
  /**
@@ -223,7 +163,7 @@ export interface IntegrationMicrosoftTeamsArgs {
223
163
  */
224
164
  noteEvents?: pulumi.Input<boolean | undefined>;
225
165
  /**
226
- * Send notifications for broken pipelines.
166
+ * Send notifications for broken pipelines only.
227
167
  */
228
168
  notifyOnlyBrokenPipelines?: pulumi.Input<boolean | undefined>;
229
169
  /**
@@ -231,7 +171,7 @@ export interface IntegrationMicrosoftTeamsArgs {
231
171
  */
232
172
  pipelineEvents?: pulumi.Input<boolean | undefined>;
233
173
  /**
234
- * ID of the project you want to activate the integration on.
174
+ * The ID or full path of the project to integrate with Google Chat.
235
175
  */
236
176
  project: pulumi.Input<string>;
237
177
  /**
@@ -243,7 +183,7 @@ export interface IntegrationMicrosoftTeamsArgs {
243
183
  */
244
184
  tagPushEvents?: pulumi.Input<boolean | undefined>;
245
185
  /**
246
- * The Microsoft Teams webhook (Example, https://outlook.office.com/webhook/...). This value cannot be imported.
186
+ * The Google Chat webhook URL (for example, https://chat.googleapis.com/v1/spaces/...).
247
187
  */
248
188
  webhook: pulumi.Input<string>;
249
189
  /**
@@ -251,4 +191,4 @@ export interface IntegrationMicrosoftTeamsArgs {
251
191
  */
252
192
  wikiPageEvents?: pulumi.Input<boolean | undefined>;
253
193
  }
254
- //# sourceMappingURL=integrationMicrosoftTeams.d.ts.map
194
+ //# sourceMappingURL=projectIntegrationGoogleChat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectIntegrationGoogleChat.d.ts","sourceRoot":"","sources":["../projectIntegrationGoogleChat.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;GAIG;AACH,qBAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,4BAA4B;IAO1K;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,4BAA4B;IAOvE;;OAEG;IACH,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACzE;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,C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OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9D;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACnD;;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,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACtD"}
@@ -25,49 +25,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.IntegrationMicrosoftTeams = void 0;
28
+ exports.ProjectIntegrationGoogleChat = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * The `gitlab.IntegrationMicrosoftTeams` resource manages the lifecycle of a project integration with Microsoft Teams.
32
+ * The `gitlab.ProjectIntegrationGoogleChat` resource manages the lifecycle of a project integration with Google Chat.
33
33
  *
34
- * > This resource is deprecated and will be removed in 19.0. Use `gitlab.ProjectIntegrationMicrosoftTeams` instead.
35
- *
36
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#microsoft-teams-notifications)
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 teams = new gitlab.IntegrationMicrosoftTeams("teams", {
50
- * project: awesomeProject.id,
51
- * webhook: "https://testurl.com/?token=XYZ",
52
- * pushEvents: true,
53
- * });
54
- * ```
55
- *
56
- * ## Import
57
- *
58
- * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.IntegrationMicrosoftTeams`. For example:
59
- *
60
- * Importing using the CLI is supported with the following syntax:
61
- *
62
- * You can import a gitlab.IntegrationMicrosoftTeams state using the project ID, for example:
63
- *
64
- * ```sh
65
- * $ pulumi import gitlab:index/integrationMicrosoftTeams:IntegrationMicrosoftTeams teams 1
66
- * ```
34
+ * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#set-up-google-chat)
67
35
  */
68
- class IntegrationMicrosoftTeams extends pulumi.CustomResource {
36
+ class ProjectIntegrationGoogleChat extends pulumi.CustomResource {
69
37
  /**
70
- * Get an existing IntegrationMicrosoftTeams resource's state with the given name, ID, and optional extra
38
+ * Get an existing ProjectIntegrationGoogleChat resource's state with the given name, ID, and optional extra
71
39
  * properties used to qualify the lookup.
72
40
  *
73
41
  * @param name The _unique_ name of the resulting resource.
@@ -76,19 +44,19 @@ class IntegrationMicrosoftTeams extends pulumi.CustomResource {
76
44
  * @param opts Optional settings to control the behavior of the CustomResource.
77
45
  */
78
46
  static get(name, id, state, opts) {
79
- return new IntegrationMicrosoftTeams(name, state, { ...opts, id: id });
47
+ return new ProjectIntegrationGoogleChat(name, state, { ...opts, id: id });
80
48
  }
81
49
  /** @internal */
82
- static __pulumiType = 'gitlab:index/integrationMicrosoftTeams:IntegrationMicrosoftTeams';
50
+ static __pulumiType = 'gitlab:index/projectIntegrationGoogleChat:ProjectIntegrationGoogleChat';
83
51
  /**
84
- * Returns true if the given object is an instance of IntegrationMicrosoftTeams. This is designed to work even
52
+ * Returns true if the given object is an instance of ProjectIntegrationGoogleChat. This is designed to work even
85
53
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
54
  */
87
55
  static isInstance(obj) {
88
56
  if (obj === undefined || obj === null) {
89
57
  return false;
90
58
  }
91
- return obj['__pulumiType'] === IntegrationMicrosoftTeams.__pulumiType;
59
+ return obj['__pulumiType'] === ProjectIntegrationGoogleChat.__pulumiType;
92
60
  }
93
61
  constructor(name, argsOrState, opts) {
94
62
  let resourceInputs = {};
@@ -98,8 +66,6 @@ class IntegrationMicrosoftTeams extends pulumi.CustomResource {
98
66
  resourceInputs["active"] = state?.active;
99
67
  resourceInputs["branchesToBeNotified"] = state?.branchesToBeNotified;
100
68
  resourceInputs["confidentialIssuesEvents"] = state?.confidentialIssuesEvents;
101
- resourceInputs["confidentialNoteEvents"] = state?.confidentialNoteEvents;
102
- resourceInputs["createdAt"] = state?.createdAt;
103
69
  resourceInputs["issuesEvents"] = state?.issuesEvents;
104
70
  resourceInputs["mergeRequestsEvents"] = state?.mergeRequestsEvents;
105
71
  resourceInputs["noteEvents"] = state?.noteEvents;
@@ -108,7 +74,6 @@ class IntegrationMicrosoftTeams extends pulumi.CustomResource {
108
74
  resourceInputs["project"] = state?.project;
109
75
  resourceInputs["pushEvents"] = state?.pushEvents;
110
76
  resourceInputs["tagPushEvents"] = state?.tagPushEvents;
111
- resourceInputs["updatedAt"] = state?.updatedAt;
112
77
  resourceInputs["webhook"] = state?.webhook;
113
78
  resourceInputs["wikiPageEvents"] = state?.wikiPageEvents;
114
79
  }
@@ -122,7 +87,6 @@ class IntegrationMicrosoftTeams extends pulumi.CustomResource {
122
87
  }
123
88
  resourceInputs["branchesToBeNotified"] = args?.branchesToBeNotified;
124
89
  resourceInputs["confidentialIssuesEvents"] = args?.confidentialIssuesEvents;
125
- resourceInputs["confidentialNoteEvents"] = args?.confidentialNoteEvents;
126
90
  resourceInputs["issuesEvents"] = args?.issuesEvents;
127
91
  resourceInputs["mergeRequestsEvents"] = args?.mergeRequestsEvents;
128
92
  resourceInputs["noteEvents"] = args?.noteEvents;
@@ -134,14 +98,12 @@ class IntegrationMicrosoftTeams extends pulumi.CustomResource {
134
98
  resourceInputs["webhook"] = args?.webhook ? pulumi.secret(args.webhook) : undefined;
135
99
  resourceInputs["wikiPageEvents"] = args?.wikiPageEvents;
136
100
  resourceInputs["active"] = undefined /*out*/;
137
- resourceInputs["createdAt"] = undefined /*out*/;
138
- resourceInputs["updatedAt"] = undefined /*out*/;
139
101
  }
140
102
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
141
103
  const secretOpts = { additionalSecretOutputs: ["webhook"] };
142
104
  opts = pulumi.mergeOptions(opts, secretOpts);
143
- super(IntegrationMicrosoftTeams.__pulumiType, name, resourceInputs, opts);
105
+ super(ProjectIntegrationGoogleChat.__pulumiType, name, resourceInputs, opts);
144
106
  }
145
107
  }
146
- exports.IntegrationMicrosoftTeams = IntegrationMicrosoftTeams;
147
- //# sourceMappingURL=integrationMicrosoftTeams.js.map
108
+ exports.ProjectIntegrationGoogleChat = ProjectIntegrationGoogleChat;
109
+ //# sourceMappingURL=projectIntegrationGoogleChat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectIntegrationGoogleChat.js","sourceRoot":"","sources":["../projectIntegrationGoogleChat.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;GAIG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wEAAwE,CA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