@salesforce/plugin-devops-center 1.2.27 → 1.2.28

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 (225) hide show
  1. package/LICENSE.txt +200 -6
  2. package/README.md +430 -19
  3. package/bin/dev.js +15 -0
  4. package/bin/run.js +5 -0
  5. package/lib/commands/devops/pipeline/activate.d.ts +14 -0
  6. package/lib/commands/devops/pipeline/activate.js +82 -0
  7. package/lib/commands/devops/pipeline/activate.js.map +1 -0
  8. package/lib/commands/devops/pipeline/attach-project.d.ts +15 -0
  9. package/lib/commands/devops/pipeline/attach-project.js +82 -0
  10. package/lib/commands/devops/pipeline/attach-project.js.map +1 -0
  11. package/lib/commands/devops/pipeline/create.d.ts +23 -0
  12. package/lib/commands/devops/pipeline/create.js +136 -0
  13. package/lib/commands/devops/pipeline/create.js.map +1 -0
  14. package/lib/commands/devops/pipeline/stage/add.d.ts +16 -0
  15. package/lib/commands/devops/pipeline/stage/add.js +94 -0
  16. package/lib/commands/devops/pipeline/stage/add.js.map +1 -0
  17. package/lib/commands/devops/project/create.d.ts +15 -0
  18. package/lib/commands/devops/project/create.js +72 -0
  19. package/lib/commands/devops/project/create.js.map +1 -0
  20. package/lib/commands/devops/project/list.d.ts +20 -0
  21. package/lib/commands/devops/project/list.js +59 -0
  22. package/lib/commands/devops/project/list.js.map +1 -0
  23. package/lib/commands/devops/pull-request/create.d.ts +17 -0
  24. package/lib/commands/devops/pull-request/create.js +104 -0
  25. package/lib/commands/devops/pull-request/create.js.map +1 -0
  26. package/lib/commands/devops/work-item/create.d.ts +16 -0
  27. package/lib/commands/devops/work-item/create.js +76 -0
  28. package/lib/commands/devops/work-item/create.js.map +1 -0
  29. package/lib/commands/devops/work-item/list.d.ts +17 -0
  30. package/lib/commands/devops/work-item/list.js +72 -0
  31. package/lib/commands/devops/work-item/list.js.map +1 -0
  32. package/lib/commands/devops/work-item/status/update.d.ts +16 -0
  33. package/lib/commands/devops/work-item/status/update.js +90 -0
  34. package/lib/commands/devops/work-item/status/update.js.map +1 -0
  35. package/lib/commands/project/deploy/pipeline/quick.d.ts +2 -2
  36. package/lib/commands/project/deploy/pipeline/quick.js +24 -21
  37. package/lib/commands/project/deploy/pipeline/quick.js.map +1 -1
  38. package/lib/commands/project/deploy/pipeline/report.d.ts +4 -4
  39. package/lib/commands/project/deploy/pipeline/report.js +38 -35
  40. package/lib/commands/project/deploy/pipeline/report.js.map +1 -1
  41. package/lib/commands/project/deploy/pipeline/resume.d.ts +2 -2
  42. package/lib/commands/project/deploy/pipeline/resume.js +24 -21
  43. package/lib/commands/project/deploy/pipeline/resume.js.map +1 -1
  44. package/lib/commands/project/deploy/pipeline/start.d.ts +3 -3
  45. package/lib/commands/project/deploy/pipeline/start.js +26 -23
  46. package/lib/commands/project/deploy/pipeline/start.js.map +1 -1
  47. package/lib/commands/project/deploy/pipeline/validate.d.ts +3 -3
  48. package/lib/commands/project/deploy/pipeline/validate.js +24 -21
  49. package/lib/commands/project/deploy/pipeline/validate.js.map +1 -1
  50. package/lib/common/base/abstractAsyncOperation.d.ts +3 -3
  51. package/lib/common/base/abstractAsyncOperation.js +31 -23
  52. package/lib/common/base/abstractAsyncOperation.js.map +1 -1
  53. package/lib/common/base/abstractPromote.d.ts +5 -4
  54. package/lib/common/base/abstractPromote.js +52 -38
  55. package/lib/common/base/abstractPromote.js.map +1 -1
  56. package/lib/common/base/abstractQuick.d.ts +4 -3
  57. package/lib/common/base/abstractQuick.js +44 -43
  58. package/lib/common/base/abstractQuick.js.map +1 -1
  59. package/lib/common/base/abstractReportOnPromote.d.ts +2 -1
  60. package/lib/common/base/abstractReportOnPromote.js +31 -24
  61. package/lib/common/base/abstractReportOnPromote.js.map +1 -1
  62. package/lib/common/base/abstractResume.d.ts +3 -2
  63. package/lib/common/base/abstractResume.js +40 -33
  64. package/lib/common/base/abstractResume.js.map +1 -1
  65. package/lib/common/constants.js +19 -13
  66. package/lib/common/constants.js.map +1 -1
  67. package/lib/common/deployPipelineCache.js +20 -15
  68. package/lib/common/deployPipelineCache.js.map +1 -1
  69. package/lib/common/flags/flags.d.ts +2 -2
  70. package/lib/common/flags/flags.js +34 -29
  71. package/lib/common/flags/flags.js.map +1 -1
  72. package/lib/common/flags/promote/promoteFlags.d.ts +3 -3
  73. package/lib/common/flags/promote/promoteFlags.js +26 -20
  74. package/lib/common/flags/promote/promoteFlags.js.map +1 -1
  75. package/lib/common/index.d.ts +3 -2
  76. package/lib/common/index.js +2 -17
  77. package/lib/common/index.js.map +1 -1
  78. package/lib/common/outputColumns.d.ts +3 -13
  79. package/lib/common/outputColumns.js +23 -19
  80. package/lib/common/outputColumns.js.map +1 -1
  81. package/lib/common/outputService/aorOutputService.d.ts +4 -4
  82. package/lib/common/outputService/aorOutputService.js +27 -20
  83. package/lib/common/outputService/aorOutputService.js.map +1 -1
  84. package/lib/common/outputService/deployCommandOutputService.d.ts +2 -2
  85. package/lib/common/outputService/deployCommandOutputService.js +17 -12
  86. package/lib/common/outputService/deployCommandOutputService.js.map +1 -1
  87. package/lib/common/outputService/deploySummaryBuilder.d.ts +1 -1
  88. package/lib/common/outputService/deploySummaryBuilder.js +45 -31
  89. package/lib/common/outputService/deploySummaryBuilder.js.map +1 -1
  90. package/lib/common/outputService/deploymentResultOutputService.d.ts +4 -4
  91. package/lib/common/outputService/deploymentResultOutputService.js +16 -10
  92. package/lib/common/outputService/deploymentResultOutputService.js.map +1 -1
  93. package/lib/common/outputService/index.d.ts +8 -6
  94. package/lib/common/outputService/index.js +5 -19
  95. package/lib/common/outputService/index.js.map +1 -1
  96. package/lib/common/outputService/outputService.d.ts +6 -4
  97. package/lib/common/outputService/outputService.js +20 -14
  98. package/lib/common/outputService/outputService.js.map +1 -1
  99. package/lib/common/outputService/outputServiceFactory.d.ts +8 -8
  100. package/lib/common/outputService/outputServiceFactory.js +21 -16
  101. package/lib/common/outputService/outputServiceFactory.js.map +1 -1
  102. package/lib/common/outputService/outputUtils.d.ts +1 -1
  103. package/lib/common/outputService/outputUtils.js +24 -19
  104. package/lib/common/outputService/outputUtils.js.map +1 -1
  105. package/lib/common/outputService/promoteOutputService.d.ts +4 -5
  106. package/lib/common/outputService/promoteOutputService.js +19 -13
  107. package/lib/common/outputService/promoteOutputService.js.map +1 -1
  108. package/lib/common/outputService/reportOutputService.d.ts +5 -6
  109. package/lib/common/outputService/reportOutputService.js +32 -27
  110. package/lib/common/outputService/reportOutputService.js.map +1 -1
  111. package/lib/common/outputService/resumeCommandOutputService.d.ts +3 -3
  112. package/lib/common/outputService/resumeCommandOutputService.js +19 -13
  113. package/lib/common/outputService/resumeCommandOutputService.js.map +1 -1
  114. package/lib/common/outputService/resumeOutputService.d.ts +3 -3
  115. package/lib/common/outputService/resumeOutputService.js +23 -17
  116. package/lib/common/outputService/resumeOutputService.js.map +1 -1
  117. package/lib/common/selectors/asyncOperationResultsSelector.d.ts +1 -1
  118. package/lib/common/selectors/asyncOperationResultsSelector.js +16 -10
  119. package/lib/common/selectors/asyncOperationResultsSelector.js.map +1 -1
  120. package/lib/common/selectors/deployComponentsSelector.d.ts +1 -1
  121. package/lib/common/selectors/deployComponentsSelector.js +18 -13
  122. package/lib/common/selectors/deployComponentsSelector.js.map +1 -1
  123. package/lib/common/selectors/deployProgressSummarySelector.d.ts +2 -2
  124. package/lib/common/selectors/deployProgressSummarySelector.js +16 -10
  125. package/lib/common/selectors/deployProgressSummarySelector.js.map +1 -1
  126. package/lib/common/selectors/deploymentResultsSelector.d.ts +2 -2
  127. package/lib/common/selectors/deploymentResultsSelector.js +20 -16
  128. package/lib/common/selectors/deploymentResultsSelector.js.map +1 -1
  129. package/lib/common/selectors/environmentSelector.d.ts +2 -2
  130. package/lib/common/selectors/environmentSelector.js +16 -10
  131. package/lib/common/selectors/environmentSelector.js.map +1 -1
  132. package/lib/common/selectors/namedCredentialSelector.d.ts +1 -1
  133. package/lib/common/selectors/namedCredentialSelector.js +16 -10
  134. package/lib/common/selectors/namedCredentialSelector.js.map +1 -1
  135. package/lib/common/selectors/pipelineStageSelector.d.ts +1 -1
  136. package/lib/common/selectors/pipelineStageSelector.js +18 -13
  137. package/lib/common/selectors/pipelineStageSelector.js.map +1 -1
  138. package/lib/common/selectors/selectorUtils.d.ts +1 -1
  139. package/lib/common/selectors/selectorUtils.js +17 -11
  140. package/lib/common/selectors/selectorUtils.js.map +1 -1
  141. package/lib/common/selectors/validateDeploySelector.d.ts +1 -1
  142. package/lib/common/selectors/validateDeploySelector.js +16 -10
  143. package/lib/common/selectors/validateDeploySelector.js.map +1 -1
  144. package/lib/common/selectors/workItemSelector.d.ts +2 -2
  145. package/lib/common/selectors/workItemSelector.js +16 -10
  146. package/lib/common/selectors/workItemSelector.js.map +1 -1
  147. package/lib/common/types.d.ts +4 -4
  148. package/lib/common/types.js +4 -7
  149. package/lib/common/types.js.map +1 -1
  150. package/lib/common/utils.d.ts +4 -4
  151. package/lib/common/utils.js +42 -43
  152. package/lib/common/utils.js.map +1 -1
  153. package/lib/configMeta.js +21 -15
  154. package/lib/configMeta.js.map +1 -1
  155. package/lib/streamer/doceMonitor.d.ts +3 -2
  156. package/lib/streamer/doceMonitor.js +14 -6
  157. package/lib/streamer/doceMonitor.js.map +1 -1
  158. package/lib/streamer/doceStream.d.ts +1 -1
  159. package/lib/streamer/doceStream.js +19 -11
  160. package/lib/streamer/doceStream.js.map +1 -1
  161. package/lib/streamer/processors/asyncOpStream.d.ts +2 -2
  162. package/lib/streamer/processors/asyncOpStream.js +22 -15
  163. package/lib/streamer/processors/asyncOpStream.js.map +1 -1
  164. package/lib/streamer/sObjectStream.d.ts +1 -1
  165. package/lib/streamer/sObjectStream.js +9 -10
  166. package/lib/streamer/sObjectStream.js.map +1 -1
  167. package/lib/utils/activatePipeline.d.ts +17 -0
  168. package/lib/utils/activatePipeline.js +35 -0
  169. package/lib/utils/activatePipeline.js.map +1 -0
  170. package/lib/utils/addPipelineStage.d.ts +20 -0
  171. package/lib/utils/addPipelineStage.js +43 -0
  172. package/lib/utils/addPipelineStage.js.map +1 -0
  173. package/lib/utils/attachProject.d.ts +21 -0
  174. package/lib/utils/attachProject.js +44 -0
  175. package/lib/utils/attachProject.js.map +1 -0
  176. package/lib/utils/createPipeline.d.ts +34 -0
  177. package/lib/utils/createPipeline.js +77 -0
  178. package/lib/utils/createPipeline.js.map +1 -0
  179. package/lib/utils/createProject.d.ts +17 -0
  180. package/lib/utils/createProject.js +39 -0
  181. package/lib/utils/createProject.js.map +1 -0
  182. package/lib/utils/createPullRequest.d.ts +49 -0
  183. package/lib/utils/createPullRequest.js +204 -0
  184. package/lib/utils/createPullRequest.js.map +1 -0
  185. package/lib/utils/createWorkItem.d.ts +19 -0
  186. package/lib/utils/createWorkItem.js +58 -0
  187. package/lib/utils/createWorkItem.js.map +1 -0
  188. package/lib/utils/pipelineUtils.d.ts +8 -0
  189. package/lib/utils/pipelineUtils.js +51 -0
  190. package/lib/utils/pipelineUtils.js.map +1 -0
  191. package/lib/utils/types.d.ts +57 -0
  192. package/lib/utils/types.js +17 -0
  193. package/lib/utils/types.js.map +1 -0
  194. package/lib/utils/updateWorkItemStatus.d.ts +34 -0
  195. package/lib/utils/updateWorkItemStatus.js +71 -0
  196. package/lib/utils/updateWorkItemStatus.js.map +1 -0
  197. package/lib/utils/workItems.d.ts +3 -0
  198. package/lib/utils/workItems.js +181 -0
  199. package/lib/utils/workItems.js.map +1 -0
  200. package/messages/commonErrors.md +5 -1
  201. package/messages/devops.pipeline.activate.md +29 -0
  202. package/messages/devops.pipeline.attach-project.md +29 -0
  203. package/messages/devops.pipeline.create.md +81 -0
  204. package/messages/devops.pipeline.stage.add.md +37 -0
  205. package/messages/devops.project.create.md +29 -0
  206. package/messages/devops.project.list.md +17 -0
  207. package/messages/devops.pull-request.create.md +57 -0
  208. package/messages/devops.work-item.create.md +29 -0
  209. package/messages/devops.work-item.list.md +21 -0
  210. package/messages/devops.work-item.status.update.md +29 -0
  211. package/npm-shrinkwrap.json +4196 -4470
  212. package/oclif.lock +3380 -3272
  213. package/oclif.manifest.json +863 -11
  214. package/package.json +53 -23
  215. package/schemas/devops-pipeline-activate.json +28 -0
  216. package/schemas/devops-pipeline-attach__project.json +25 -0
  217. package/schemas/devops-pipeline-create.json +50 -0
  218. package/schemas/devops-pipeline-stage-add.json +31 -0
  219. package/schemas/devops-project-create.json +28 -0
  220. package/schemas/devops-project-list.json +35 -0
  221. package/schemas/devops-pull__request-create.json +34 -0
  222. package/schemas/devops-work__item-create.json +28 -0
  223. package/schemas/devops-work__item-list.json +75 -0
  224. package/schemas/devops-work__item-status-update.json +28 -0
  225. package/schemas/project-deploy-pipeline-report.json +2 -2
@@ -1,22 +1,28 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.DeployPipelineCache = void 0;
10
- const core_1 = require("@salesforce/core");
11
- const kit_1 = require("@salesforce/kit");
12
- core_1.Messages.importMessagesDirectory(__dirname);
13
- const cacheMessages = core_1.Messages.loadMessages('@salesforce/plugin-devops-center', 'cache');
16
+ import { Global, Messages, TTLConfig } from '@salesforce/core';
17
+ import { Duration } from '@salesforce/kit';
18
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
19
+ const cacheMessages = Messages.loadMessages('@salesforce/plugin-devops-center', 'cache');
14
20
  /**
15
21
  * Caches the AOR data
16
22
  *
17
23
  * @author JuanStenghele-sf
18
24
  */
19
- class DeployPipelineCache extends core_1.TTLConfig {
25
+ export class DeployPipelineCache extends TTLConfig {
20
26
  /**
21
27
  * Returns the cache's filename
22
28
  */
@@ -31,8 +37,8 @@ class DeployPipelineCache extends core_1.TTLConfig {
31
37
  isGlobal: true,
32
38
  isState: false,
33
39
  filename: this.getFileName(),
34
- stateFolder: core_1.Global.SF_STATE_FOLDER,
35
- ttl: kit_1.Duration.days(3),
40
+ stateFolder: Global.SF_STATE_FOLDER,
41
+ ttl: Duration.days(3),
36
42
  };
37
43
  }
38
44
  /**
@@ -77,5 +83,4 @@ class DeployPipelineCache extends core_1.TTLConfig {
77
83
  return aorId;
78
84
  }
79
85
  }
80
- exports.DeployPipelineCache = DeployPipelineCache;
81
86
  //# sourceMappingURL=deployPipelineCache.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deployPipelineCache.js","sourceRoot":"","sources":["../../src/common/deployPipelineCache.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAA+D;AAC/D,yCAA2C;AAE3C,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,aAAa,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,OAAO,CAAC,CAAC;AAKzF;;;;GAIG;AACH,MAAa,mBAAoB,SAAQ,gBAAgD;IACvF;;OAEG;IACI,MAAM,CAAC,WAAW;QACvB,OAAO,4BAA4B,CAAC;IACtC,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,iBAAiB;QAC7B,OAAO;YACL,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,KAAK;YACd,QAAQ,EAAE,IAAI,CAAC,WAAW,EAAE;YAC5B,WAAW,EAAE,aAAM,CAAC,eAAe;YACnC,GAAG,EAAE,cAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;SACtB,CAAC;IACJ,CAAC;IAED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D,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QAC1B,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;IAED;;OAEG;IACI,GAAG,CAAC,KAAa;QACtB,OAAO,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED;;OAEG;IACI,mBAAmB;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAClC,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,MAAM,aAAa,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;QACzD,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
@@ -1,6 +1,6 @@
1
1
  import { Org } from '@salesforce/core';
2
2
  import { Duration } from '@salesforce/kit';
3
- import { BooleanFlag, OptionFlag } from '@oclif/core/lib/interfaces';
3
+ import { BooleanFlag, OptionFlag } from '@oclif/core/interfaces';
4
4
  export declare const devopsCenterProjectName: OptionFlag<string>;
5
5
  /**
6
6
  * Wait flag
@@ -12,7 +12,7 @@ export declare const wait: OptionFlag<Duration>;
12
12
  * Makes this flag required and validates that passed in alias/username corresponds to an authenticated org.
13
13
  * If no value is passed in, then it looks for the alias/username set in the --target-devops-center config variable.
14
14
  */
15
- export declare const requiredDoceOrgFlag: import("@oclif/core/lib/interfaces").FlagDefinition<Org, import("@oclif/core/lib/interfaces").CustomOptions, {
15
+ export declare const requiredDoceOrgFlag: import("@oclif/core/interfaces").FlagDefinition<Org, import("@oclif/core/interfaces").CustomOptions, {
16
16
  multiple: false;
17
17
  requiredOrDefaulted: true;
18
18
  }>;
@@ -1,20 +1,26 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2022, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.getDefaultDevopsCenterUsernameAlias = exports.concise = exports.verbose = exports.useMostRecent = exports.jobId = exports.requiredDoceOrgFlag = exports.wait = exports.devopsCenterProjectName = void 0;
10
- const core_1 = require("@salesforce/core");
11
- const kit_1 = require("@salesforce/kit");
12
- const sf_plugins_core_1 = require("@salesforce/sf-plugins-core");
13
- const core_2 = require("@oclif/core");
14
- const configMeta_1 = require("../../configMeta");
15
- core_1.Messages.importMessagesDirectory(__dirname);
16
- const messages = core_1.Messages.loadMessages('@salesforce/plugin-devops-center', 'commonFlags');
17
- exports.devopsCenterProjectName = sf_plugins_core_1.Flags.string({
16
+ import { ConfigAggregator, Messages, Org } from '@salesforce/core';
17
+ import { Duration } from '@salesforce/kit';
18
+ import { Flags } from '@salesforce/sf-plugins-core';
19
+ import { Flags as OclifFlags } from '@oclif/core';
20
+ import ConfigMeta, { ConfigVars } from '../../configMeta.js';
21
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
22
+ const messages = Messages.loadMessages('@salesforce/plugin-devops-center', 'commonFlags');
23
+ export const devopsCenterProjectName = Flags.string({
18
24
  char: 'p',
19
25
  summary: messages.getMessage('flags.devops-center-project-name.summary'),
20
26
  required: true,
@@ -23,14 +29,14 @@ exports.devopsCenterProjectName = sf_plugins_core_1.Flags.string({
23
29
  * Wait flag
24
30
  * This is used to determine how many minutes we are going to stream results before giving back the control of the terminal to the user.
25
31
  */
26
- exports.wait = sf_plugins_core_1.Flags.duration({
32
+ export const wait = Flags.duration({
27
33
  unit: 'minutes',
28
34
  char: 'w',
29
35
  summary: messages.getMessage('flags.wait.summary'),
30
36
  description: messages.getMessage('flags.wait.description'),
31
37
  defaultValue: 33,
32
38
  // Set defaultHelp. This is not needed once sf-plugins-core is updated to 7.1.16 or newer.
33
- defaultHelp: async () => Promise.resolve(kit_1.Duration.minutes(33).toString()),
39
+ defaultHelp: async () => Promise.resolve(Duration.minutes(33).toString()),
34
40
  helpValue: '<minutes>',
35
41
  min: 3,
36
42
  exclusive: ['async'],
@@ -40,30 +46,30 @@ exports.wait = sf_plugins_core_1.Flags.duration({
40
46
  * Makes this flag required and validates that passed in alias/username corresponds to an authenticated org.
41
47
  * If no value is passed in, then it looks for the alias/username set in the --target-devops-center config variable.
42
48
  */
43
- exports.requiredDoceOrgFlag = core_2.Flags.custom({
49
+ export const requiredDoceOrgFlag = OclifFlags.custom({
44
50
  char: 'c',
45
51
  summary: messages.getMessage('flags.targetDoceOrg.summary'),
46
52
  parse: async (input) => getOrgOrThrow(input),
47
53
  default: async () => getOrgOrThrow(),
48
- defaultHelp: async () => (0, exports.getDefaultDevopsCenterUsernameAlias)(),
54
+ defaultHelp: async () => getDefaultDevopsCenterUsernameAlias(),
49
55
  required: true,
50
56
  });
51
- exports.jobId = sf_plugins_core_1.Flags.salesforceId({
57
+ export const jobId = Flags.salesforceId({
52
58
  char: 'i',
53
59
  description: messages.getMessage('flags.job-id.description'),
54
60
  summary: messages.getMessage('flags.job-id.summary'),
55
61
  exactlyOne: ['use-most-recent', 'job-id'],
56
62
  });
57
- exports.useMostRecent = sf_plugins_core_1.Flags.boolean({
63
+ export const useMostRecent = Flags.boolean({
58
64
  char: 'r',
59
65
  description: messages.getMessage('flags.use-most-recent.description'),
60
66
  summary: messages.getMessage('flags.use-most-recent.summary'),
61
67
  exactlyOne: ['use-most-recent', 'job-id'],
62
68
  });
63
- exports.verbose = sf_plugins_core_1.Flags.boolean({
69
+ export const verbose = Flags.boolean({
64
70
  summary: messages.getMessage('flags.verbose.summary'),
65
71
  });
66
- exports.concise = sf_plugins_core_1.Flags.boolean({
72
+ export const concise = Flags.boolean({
67
73
  summary: messages.getMessage('flags.concise.summary'),
68
74
  exclusive: ['verbose'],
69
75
  });
@@ -71,11 +77,10 @@ exports.concise = sf_plugins_core_1.Flags.boolean({
71
77
  * Helper to get the userneame or alias of the default Devops Center org
72
78
  * from the target-devops-center config variable.
73
79
  */
74
- const getDefaultDevopsCenterUsernameAlias = async () => {
75
- const config = await core_1.ConfigAggregator.create({ customConfigMeta: configMeta_1.default });
76
- return config.getInfo(configMeta_1.ConfigVars.TARGET_DEVOPS_CENTER)?.value?.toString();
80
+ export const getDefaultDevopsCenterUsernameAlias = async () => {
81
+ const config = await ConfigAggregator.create({ customConfigMeta: ConfigMeta });
82
+ return config.getInfo(ConfigVars.TARGET_DEVOPS_CENTER)?.value?.toString();
77
83
  };
78
- exports.getDefaultDevopsCenterUsernameAlias = getDefaultDevopsCenterUsernameAlias;
79
84
  /**
80
85
  *
81
86
  * @param input alias/username of an org
@@ -83,11 +88,11 @@ exports.getDefaultDevopsCenterUsernameAlias = getDefaultDevopsCenterUsernameAlia
83
88
  * or to the alias/username set in --target-devops-center config variable.
84
89
  */
85
90
  const getOrgOrThrow = async (input) => {
86
- const usernameOrAlias = input ? input : await (0, exports.getDefaultDevopsCenterUsernameAlias)();
91
+ const usernameOrAlias = input ? input : await getDefaultDevopsCenterUsernameAlias();
87
92
  if (!usernameOrAlias) {
88
93
  throw messages.createError('errors.NoDefaultDoceEnv');
89
94
  }
90
- const org = await core_1.Org.create({ aliasOrUsername: usernameOrAlias });
95
+ const org = await Org.create({ aliasOrUsername: usernameOrAlias });
91
96
  return org;
92
97
  };
93
98
  //# sourceMappingURL=flags.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"flags.js","sourceRoot":"","sources":["../../../src/common/flags/flags.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAAmE;AACnE,yCAA2C;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AAE,CAAC,iBAAiB,EAAE,QAAQ,CAAC;CAC1C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,OAAO,GAAyB,KAAK,CAAC,OAAO,CAAC;IACzD,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;CACtD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,OAAO,GAAyB,KAAK,CAAC,OAAO,CAAC;IACzD,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;IACrD,SAAS,EAAE,CAAC,SAAS,CAAC;CACvB,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,KAAK,IAAiC,EAAE;IACzF,MAAM,MAAM,GAAG,MAAM,gBAAgB,CAAC,MAAM,CAAC,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC,CAAC;IAC/E,OAAO,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AAC5E,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,aAAa,GAAG,KAAK,EAAE,KAAc,EAAgB,EAAE;IAC3D,MAAM,eAAe,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,mCAAmC,EAAE,CAAC;IACpF,IAAI,CAAC,eAAe,EAAE,CAAC;QACrB,MAAM,QAAQ,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC;IACxD,CAAC;IACD,MAAM,GAAG,GAAQ,MAAM,GAAG,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC,CAAC;IACxE,OAAO,GAAG,CAAC;AACb,CAAC,CAAC"}
@@ -1,11 +1,11 @@
1
- import { BooleanFlag, OptionFlag } from '@oclif/core/lib/interfaces';
2
- import { TestLevel } from '../..';
1
+ import { BooleanFlag, OptionFlag } from '@oclif/core/interfaces';
2
+ import { TestLevel } from '../../index.js';
3
3
  export declare const branchName: OptionFlag<string>;
4
4
  /**
5
5
  * Custom flag for the test level.
6
6
  * Validates that the passed in value is a valid test level.
7
7
  */
8
- export declare const testLevel: import("@oclif/core/lib/interfaces").FlagDefinition<TestLevel, import("@oclif/core/lib/interfaces").CustomOptions, {
8
+ export declare const testLevel: import("@oclif/core/interfaces").FlagDefinition<TestLevel, import("@oclif/core/interfaces").CustomOptions, {
9
9
  multiple: false;
10
10
  requiredOrDefaulted: false;
11
11
  }>;
@@ -1,19 +1,25 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2022, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.async = exports.bundleVersionName = exports.deployAll = exports.specificTests = exports.testLevel = exports.branchName = void 0;
10
- const core_1 = require("@salesforce/core");
11
- const sf_plugins_core_1 = require("@salesforce/sf-plugins-core");
12
- const core_2 = require("@oclif/core");
13
- const __1 = require("../..");
14
- core_1.Messages.importMessagesDirectory(__dirname);
15
- const messages = core_1.Messages.loadMessages('@salesforce/plugin-devops-center', 'promoteFlags');
16
- exports.branchName = sf_plugins_core_1.Flags.string({
16
+ import { Messages } from '@salesforce/core';
17
+ import { Flags } from '@salesforce/sf-plugins-core';
18
+ import { Flags as OclifFlags } from '@oclif/core';
19
+ import { TestLevel } from '../../index.js';
20
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
21
+ const messages = Messages.loadMessages('@salesforce/plugin-devops-center', 'promoteFlags');
22
+ export const branchName = Flags.string({
17
23
  char: 'b',
18
24
  summary: messages.getMessage('promote.branch-name.summary'),
19
25
  required: true,
@@ -22,30 +28,30 @@ exports.branchName = sf_plugins_core_1.Flags.string({
22
28
  * Custom flag for the test level.
23
29
  * Validates that the passed in value is a valid test level.
24
30
  */
25
- exports.testLevel = core_2.Flags.custom({
31
+ export const testLevel = OclifFlags.custom({
26
32
  char: 'l',
27
33
  parse: (input) => Promise.resolve(input),
28
- options: Object.values(__1.TestLevel),
34
+ options: Object.values(TestLevel),
29
35
  description: messages.getMessage('promote.test-level.description'),
30
36
  summary: messages.getMessage('promote.test-level.summary'),
31
37
  });
32
- exports.specificTests = sf_plugins_core_1.Flags.string({
38
+ export const specificTests = Flags.string({
33
39
  char: 't',
34
40
  multiple: true,
35
41
  description: messages.getMessage('promote.tests.description'),
36
42
  summary: messages.getMessage('promote.tests.summary'),
37
43
  });
38
- exports.deployAll = sf_plugins_core_1.Flags.boolean({
44
+ export const deployAll = Flags.boolean({
39
45
  char: 'a',
40
46
  description: messages.getMessage('promote.deploy-all.description'),
41
47
  summary: messages.getMessage('promote.deploy-all.summary'),
42
48
  });
43
- exports.bundleVersionName = sf_plugins_core_1.Flags.string({
49
+ export const bundleVersionName = Flags.string({
44
50
  char: 'v',
45
51
  summary: messages.getMessage('promote.bundle-version-name.summary'),
46
52
  description: messages.getMessage('promote.bundle-version-name.description'),
47
53
  });
48
- exports.async = sf_plugins_core_1.Flags.boolean({
54
+ export const async = Flags.boolean({
49
55
  description: messages.getMessage('promote.async.description'),
50
56
  summary: messages.getMessage('promote.async.summary'),
51
57
  });
@@ -1 +1 @@
1
- {"version":3,"file":"promoteFlags.js","sourceRoot":"","sources":["../../../../src/common/flags/promote/promoteFlags.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAA4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,CAAC;IACjC,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAClE,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC;CAC3D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAqC,KAAK,CAAC,MAAM,CAAC;IAC1E,IAAI,EAAE,GAAG;IACT,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAC7D,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;CACtD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,SAAS,GAAyB,KAAK,CAAC,OAAO,CAAC;IAC3D,IAAI,EAAE,GAAG;IACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAClE,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC;CAC3D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAmC,KAAK,CAAC,MAAM,CAAC;IAC5E,IAAI,EAAE,GAAG;IACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,qCAAqC,CAAC;IACnE,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,yCAAyC,CAAC;CAC5E,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,KAAK,GAAyB,KAAK,CAAC,OAAO,CAAC;IACvD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAC7D,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;CACtD,CAAC,CAAC"}
@@ -1,2 +1,3 @@
1
- export { ApiError, ApiPromoteResponse, AsyncOperationResult, AsyncOperationResultJson, AsyncOperationStatus, DeploymentResult, PipelineStage, PromoteOptions, PromotePipelineResult, TestLevel, DeployComponent, } from './types';
2
- export { fetchAndValidatePipelineStage, fetchAsyncOperationResult, getAsyncOperationStreamer, validateTestFlags, } from './utils';
1
+ export type { ApiError, ApiPromoteResponse, AsyncOperationResult, AsyncOperationResultJson, DeploymentResult, PipelineStage, PromoteOptions, PromotePipelineResult, DeployComponent, } from './types.js';
2
+ export { AsyncOperationStatus, TestLevel } from './types.js';
3
+ export { fetchAndValidatePipelineStage, fetchAsyncOperationResult, getAsyncOperationStreamer, validateTestFlags, } from './utils.js';
@@ -1,18 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateTestFlags = exports.getAsyncOperationStreamer = exports.fetchAsyncOperationResult = exports.fetchAndValidatePipelineStage = exports.TestLevel = exports.AsyncOperationStatus = void 0;
4
- /*
5
- * Copyright (c) 2022, salesforce.com, inc.
6
- * All rights reserved.
7
- * Licensed under the BSD 3-Clause license.
8
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
9
- */
10
- var types_1 = require("./types");
11
- Object.defineProperty(exports, "AsyncOperationStatus", { enumerable: true, get: function () { return types_1.AsyncOperationStatus; } });
12
- Object.defineProperty(exports, "TestLevel", { enumerable: true, get: function () { return types_1.TestLevel; } });
13
- var utils_1 = require("./utils");
14
- Object.defineProperty(exports, "fetchAndValidatePipelineStage", { enumerable: true, get: function () { return utils_1.fetchAndValidatePipelineStage; } });
15
- Object.defineProperty(exports, "fetchAsyncOperationResult", { enumerable: true, get: function () { return utils_1.fetchAsyncOperationResult; } });
16
- Object.defineProperty(exports, "getAsyncOperationStreamer", { enumerable: true, get: function () { return utils_1.getAsyncOperationStreamer; } });
17
- Object.defineProperty(exports, "validateTestFlags", { enumerable: true, get: function () { return utils_1.validateTestFlags; } });
1
+ export { AsyncOperationStatus, TestLevel } from './types.js';
2
+ export { fetchAndValidatePipelineStage, fetchAsyncOperationResult, getAsyncOperationStreamer, validateTestFlags, } from './utils.js';
18
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,iCAYiB;AAPf,6GAAA,oBAAoB,OAAA;AAKpB,kGAAA,SAAS,OAAA;AAGX,iCAKiB;AAJf,sHAAA,6BAA6B,OAAA;AAC7B,kHAAA,yBAAyB,OAAA;AACzB,kHAAA,yBAAyB,OAAA;AACzB,0GAAA,iBAAiB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AA0BA,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EACzB,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,YAAY,CAAC"}
@@ -1,18 +1,8 @@
1
1
  export declare const DeployComponentsTable: {
2
2
  columns: {
3
- sf_devops__Operation__c: {
4
- header: string;
5
- };
6
- Name: {
7
- header: string;
8
- };
9
- Type: {
10
- header: string;
11
- };
12
- sf_devops__File_Path__c: {
13
- header: string;
14
- };
15
- };
3
+ key: string;
4
+ name: string;
5
+ }[];
16
6
  title: string;
17
7
  validateDeployTitle: string;
18
8
  };
@@ -1,24 +1,28 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2022, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.DeployComponentsTable = void 0;
10
- const core_1 = require("@salesforce/core");
11
- core_1.Messages.importMessagesDirectory(__dirname);
12
- const tableElements = core_1.Messages.loadMessages('@salesforce/plugin-devops-center', 'project.deploy.pipeline.start');
13
- exports.DeployComponentsTable = {
14
- columns: {
15
- // eslint-disable-next-line camelcase
16
- sf_devops__Operation__c: { header: tableElements.getMessage('deployComponent.operation.column') },
17
- Name: { header: tableElements.getMessage('deployComponent.name.column') },
18
- Type: { header: tableElements.getMessage('deployComponent.type.column') },
19
- // eslint-disable-next-line camelcase
20
- sf_devops__File_Path__c: { header: tableElements.getMessage('deployComponent.path.column') },
21
- },
16
+ import { Messages } from '@salesforce/core';
17
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
18
+ const tableElements = Messages.loadMessages('@salesforce/plugin-devops-center', 'project.deploy.pipeline.start');
19
+ export const DeployComponentsTable = {
20
+ columns: [
21
+ { key: 'sf_devops__Operation__c', name: tableElements.getMessage('deployComponent.operation.column') },
22
+ { key: 'Name', name: tableElements.getMessage('deployComponent.name.column') },
23
+ { key: 'Type', name: tableElements.getMessage('deployComponent.type.column') },
24
+ { key: 'sf_devops__File_Path__c', name: tableElements.getMessage('deployComponent.path.column') },
25
+ ],
22
26
  title: tableElements.getMessage('deployComponent.table.title'),
23
27
  validateDeployTitle: tableElements.getMessage('deployComponent.table.validateDeployTitle'),
24
28
  };
@@ -1 +1 @@
1
- {"version":3,"file":"outputColumns.js","sourceRoot":"","sources":["../../src/common/outputColumns.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAA4C;AAE5C,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,aAAa,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,+BAA+B,CAAC,CAAC;AAEpG,QAAA,qBAAqB,GAAG;IACnC,OAAO,EAAE;QACP,qCAAqC;QACrC,uBAAuB,EAAE,EAAE,MAAM,EAAE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U,CAAC,6BAA6B,CAAC;IAC9D,mBAAmB,EAAE,aAAa,CAAC,UAAU,CAAC,2CAA2C,CAAC;CAC3F,CAAC"}
@@ -1,5 +1,5 @@
1
- import { AsyncOperationResult, AsyncOperationStatus } from '../types';
2
- import { AbstractOutputService, OutputFlags, OutputService } from './outputService';
1
+ import { AsyncOperationResult, AsyncOperationStatus } from '../types.js';
2
+ import { AbstractOutputService, OutputFlags, OutputService } from './outputService.js';
3
3
  export type AorOutputFlags = {
4
4
  async?: boolean;
5
5
  } & OutputFlags;
@@ -8,7 +8,7 @@ export type AorOutputFlags = {
8
8
  *
9
9
  * @author JuanStenghele-sf
10
10
  */
11
- export interface AorOutputService extends OutputService {
11
+ export type AorOutputService = OutputService & {
12
12
  /**
13
13
  * Prints the status of the given aor
14
14
  */
@@ -25,7 +25,7 @@ export interface AorOutputService extends OutputService {
25
25
  * Sets the aor id
26
26
  */
27
27
  getStatus(): AsyncOperationStatus | undefined;
28
- }
28
+ };
29
29
  /**
30
30
  * Abstract class that implements AorOutputService interface
31
31
  *
@@ -1,39 +1,47 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.AbstractAorOutputService = void 0;
10
16
  /* eslint-disable no-console, class-methods-use-this */
11
- const core_1 = require("@salesforce/core");
12
- const chalk_1 = require("chalk");
13
- const types_1 = require("../types");
14
- const outputService_1 = require("./outputService");
15
- core_1.Messages.importMessagesDirectory(__dirname);
16
- const output = core_1.Messages.loadMessages('@salesforce/plugin-devops-center', 'aorOperations.output');
17
+ import { Messages } from '@salesforce/core';
18
+ import chalk from 'chalk';
19
+ import { AsyncOperationStatus } from '../types.js';
20
+ import { AbstractOutputService } from './outputService.js';
21
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
22
+ const output = Messages.loadMessages('@salesforce/plugin-devops-center', 'aorOperations.output');
17
23
  /**
18
24
  * Abstract class that implements AorOutputService interface
19
25
  *
20
26
  * @author JuanStenghele-sf
21
27
  */
22
- class AbstractAorOutputService extends outputService_1.AbstractOutputService {
28
+ export class AbstractAorOutputService extends AbstractOutputService {
29
+ aorId;
30
+ status;
23
31
  constructor(flags, aorId) {
24
32
  super(flags);
25
33
  this.aorId = aorId;
26
34
  }
27
35
  printAorStatus(aor) {
28
- if (aor.sf_devops__Status__c === types_1.AsyncOperationStatus.Completed) {
29
- console.log((0, chalk_1.green)(aor.sf_devops__Message__c));
36
+ if (aor.sf_devops__Status__c === AsyncOperationStatus.Completed) {
37
+ console.log(chalk.green(aor.sf_devops__Message__c));
30
38
  }
31
- else if (aor.sf_devops__Status__c === types_1.AsyncOperationStatus.Error) {
39
+ else if (aor.sf_devops__Status__c === AsyncOperationStatus.Error) {
32
40
  if (aor.sf_devops__Error_Details__c) {
33
- console.log((0, chalk_1.red)(output.getMessage('output.aor-error-status', [aor.sf_devops__Message__c, aor.sf_devops__Error_Details__c])));
41
+ console.log(chalk.red(output.getMessage('output.aor-error-status', [aor.sf_devops__Message__c, aor.sf_devops__Error_Details__c])));
34
42
  }
35
43
  else {
36
- console.log((0, chalk_1.red)(aor.sf_devops__Message__c));
44
+ console.log(chalk.red(aor.sf_devops__Message__c));
37
45
  }
38
46
  }
39
47
  else if (aor.sf_devops__Message__c) {
@@ -51,5 +59,4 @@ class AbstractAorOutputService extends outputService_1.AbstractOutputService {
51
59
  return this.status;
52
60
  }
53
61
  }
54
- exports.AbstractAorOutputService = AbstractAorOutputService;
55
62
  //# sourceMappingURL=aorOutputService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"aorOutputService.js","sourceRoot":"","sources":["../../../src/common/outputService/aorOutputService.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,uDAAuD;AAEvD,2CAA4C;AAC5C,iCAAmC;AACnC,oCAAsE;AACtE,mDAAoF;AAEpF,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,MAAM,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,sBAAsB,CAAC,CAAC;AAiCjG;;;;GAIG;AACH,MAAsB,wBACpB,SAAQ,qCAAwB;IAMhC,YAAmB,KAAQ,EAAE,KAAa;QACxC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAEM,cAAc,CAAC,GAAyB;QAC7C,IAAI,GAAG,CAAC,oBAAoB,KAAK,4BAAoB,CAAC,SAAS,EAAE,CAAC;YAChE,OAAO,CAAC,GAAG,CAAC,IAAA,aAAK,EAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC,CAAC;QAChD,CAAC;aAAM,IAAI,GAAG,CAAC,oBAAoB,KAAK,4BAAoB,CAAC,KAAK,EAAE,CAAC;YACnE,IAAI,GAAG,CAAC,2BAA2B,EAAE,CAAC;gBACpC,OAAO,CAAC,GAAG,CACT,IAAA,WAAG,EACD,MAAM,CAAC,UAAU,CAAC,yBAAyB,EAAE,CAAC,GAAG,CAAC,qBAAqB,EAAE,GAAG,CAAC,2BAA2B,CAAC,CAAC,CAC3G,CACF,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,GAAG,CAAC,IAAA,WAAG,EAAC,GAAG,CAAC,qBAAqB,C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IAEM,cAAc,CAAC,GAAyB;QAC7C,IAAI,GAAG,CAAC,oBAAoB,KAAK,oBAAoB,CAAC,SAAS,EAAE,CAAC;YAChE,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC,CAAC;QACtD,CAAC;aAAM,IAAI,GAAG,CAAC,oBAAoB,KAAK,oBAAoB,CAAC,KAAK,EAAE,CAAC;YACnE,IAAI,GAAG,CAAC,2BAA2B,EAAE,CAAC;gBACpC,OAAO,CAAC,GAAG,CACT,KAAK,CAAC,GAAG,CACP,MAAM,CAAC,UAAU,CAAC,yBAAyB,EAAE,CAAC,GAAG,CAAC,qBAAqB,EAAE,GAAG,CAAC,2BAA2B,CAAC,CAAC,CAC3G,CACF,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC,CAAC;YACpD,CAAC;QACH,CAAC;aAAM,IAAI,GAAG,CAAC,qBAAqB,EAAE,CAAC;YACrC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QACzC,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,oBAAoB,CAAC;IACzC,CAAC;IAEM,UAAU;QACf,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAChE,CAAC;IAEM,QAAQ,CAAC,KAAa;QAC3B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAEM,SAAS;QACd,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;CAGF"}
@@ -1,7 +1,7 @@
1
1
  import { Connection } from '@salesforce/core';
2
2
  import { SfCommand } from '@salesforce/sf-plugins-core';
3
- import { Flags } from '../base/abstractPromote';
4
- import { AbstractPromoteOutputService } from './promoteOutputService';
3
+ import { Flags } from '../base/abstractPromote.js';
4
+ import { AbstractPromoteOutputService } from './promoteOutputService.js';
5
5
  /**
6
6
  * Service class to print the deploy output
7
7
  *
@@ -1,28 +1,33 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.DeployCommandOutputService = void 0;
10
- const deploySummaryBuilder_1 = require("./deploySummaryBuilder");
11
- const promoteOutputService_1 = require("./promoteOutputService");
16
+ import { DeploySummaryBuilder } from './deploySummaryBuilder.js';
17
+ import { AbstractPromoteOutputService } from './promoteOutputService.js';
12
18
  /**
13
19
  * Service class to print the deploy output
14
20
  *
15
21
  * @author JuanStenghele-sf
16
22
  */
17
- class DeployCommandOutputService extends promoteOutputService_1.AbstractPromoteOutputService {
23
+ export class DeployCommandOutputService extends AbstractPromoteOutputService {
18
24
  constructor(flags, con, branchName) {
19
25
  super({
20
26
  async: flags['async'],
21
27
  branch: branchName ? branchName : flags['branch-name'],
22
28
  concise: flags['concise'],
23
29
  verbose: flags['verbose'],
24
- }, new deploySummaryBuilder_1.DeploySummaryBuilder(con), con);
30
+ }, new DeploySummaryBuilder(con), con);
25
31
  }
26
32
  }
27
- exports.DeployCommandOutputService = DeployCommandOutputService;
28
33
  //# sourceMappingURL=deployCommandOutputService.js.map