sfdx-easy-sources 0.9.8 → 1.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 (303) hide show
  1. package/README.md +3 -0
  2. package/lib/api/applications.d.ts +1 -1
  3. package/lib/api/applications.js +11 -14
  4. package/lib/api/applications.js.map +1 -1
  5. package/lib/api/globalvaluesets.d.ts +1 -1
  6. package/lib/api/globalvaluesets.js +11 -14
  7. package/lib/api/globalvaluesets.js.map +1 -1
  8. package/lib/api/globalvaluesettranslations.d.ts +1 -1
  9. package/lib/api/globalvaluesettranslations.js +11 -14
  10. package/lib/api/globalvaluesettranslations.js.map +1 -1
  11. package/lib/api/labels.d.ts +1 -1
  12. package/lib/api/labels.js +11 -14
  13. package/lib/api/labels.js.map +1 -1
  14. package/lib/api/objecttranslations.d.ts +1 -1
  15. package/lib/api/objecttranslations.js +15 -18
  16. package/lib/api/objecttranslations.js.map +1 -1
  17. package/lib/api/paths.js +6 -10
  18. package/lib/api/paths.js.map +1 -1
  19. package/lib/api/permissionsets.d.ts +1 -1
  20. package/lib/api/permissionsets.js +21 -24
  21. package/lib/api/permissionsets.js.map +1 -1
  22. package/lib/api/profiles.d.ts +1 -1
  23. package/lib/api/profiles.js +21 -24
  24. package/lib/api/profiles.js.map +1 -1
  25. package/lib/api/recordtypes.d.ts +1 -1
  26. package/lib/api/recordtypes.js +15 -18
  27. package/lib/api/recordtypes.js.map +1 -1
  28. package/lib/api/translations.d.ts +1 -1
  29. package/lib/api/translations.js +15 -18
  30. package/lib/api/translations.js.map +1 -1
  31. package/lib/commands/easysources/allmeta/merge.d.ts +9 -13
  32. package/lib/commands/easysources/allmeta/merge.js +31 -34
  33. package/lib/commands/easysources/allmeta/merge.js.map +1 -1
  34. package/lib/commands/easysources/allmeta/minify.d.ts +9 -13
  35. package/lib/commands/easysources/allmeta/minify.js +33 -38
  36. package/lib/commands/easysources/allmeta/minify.js.map +1 -1
  37. package/lib/commands/easysources/allmeta/retrieve.d.ts +17 -18
  38. package/lib/commands/easysources/allmeta/retrieve.js +126 -138
  39. package/lib/commands/easysources/allmeta/retrieve.js.map +1 -1
  40. package/lib/commands/easysources/allmeta/split.d.ts +9 -10
  41. package/lib/commands/easysources/allmeta/split.js +31 -33
  42. package/lib/commands/easysources/allmeta/split.js.map +1 -1
  43. package/lib/commands/easysources/allmeta/upsert.d.ts +9 -10
  44. package/lib/commands/easysources/allmeta/upsert.js +31 -33
  45. package/lib/commands/easysources/allmeta/upsert.js.map +1 -1
  46. package/lib/commands/easysources/applications/arealigned.d.ts +12 -16
  47. package/lib/commands/easysources/applications/arealigned.js +45 -50
  48. package/lib/commands/easysources/applications/arealigned.js.map +1 -1
  49. package/lib/commands/easysources/applications/merge.d.ts +11 -15
  50. package/lib/commands/easysources/applications/merge.js +39 -44
  51. package/lib/commands/easysources/applications/merge.js.map +1 -1
  52. package/lib/commands/easysources/applications/split.d.ts +11 -12
  53. package/lib/commands/easysources/applications/split.js +39 -43
  54. package/lib/commands/easysources/applications/split.js.map +1 -1
  55. package/lib/commands/easysources/applications/updatekey.d.ts +10 -11
  56. package/lib/commands/easysources/applications/updatekey.js +35 -39
  57. package/lib/commands/easysources/applications/updatekey.js.map +1 -1
  58. package/lib/commands/easysources/applications/upsert.d.ts +11 -15
  59. package/lib/commands/easysources/applications/upsert.js +39 -44
  60. package/lib/commands/easysources/applications/upsert.js.map +1 -1
  61. package/lib/commands/easysources/globalvaluesets/arealigned.d.ts +12 -16
  62. package/lib/commands/easysources/globalvaluesets/arealigned.js +45 -50
  63. package/lib/commands/easysources/globalvaluesets/arealigned.js.map +1 -1
  64. package/lib/commands/easysources/globalvaluesets/merge.d.ts +11 -15
  65. package/lib/commands/easysources/globalvaluesets/merge.js +39 -44
  66. package/lib/commands/easysources/globalvaluesets/merge.js.map +1 -1
  67. package/lib/commands/easysources/globalvaluesets/split.d.ts +11 -12
  68. package/lib/commands/easysources/globalvaluesets/split.js +39 -43
  69. package/lib/commands/easysources/globalvaluesets/split.js.map +1 -1
  70. package/lib/commands/easysources/globalvaluesets/updatekey.d.ts +10 -11
  71. package/lib/commands/easysources/globalvaluesets/updatekey.js +35 -39
  72. package/lib/commands/easysources/globalvaluesets/updatekey.js.map +1 -1
  73. package/lib/commands/easysources/globalvaluesets/upsert.d.ts +11 -15
  74. package/lib/commands/easysources/globalvaluesets/upsert.js +39 -44
  75. package/lib/commands/easysources/globalvaluesets/upsert.js.map +1 -1
  76. package/lib/commands/easysources/globalvaluesettranslations/arealigned.d.ts +12 -16
  77. package/lib/commands/easysources/globalvaluesettranslations/arealigned.js +45 -50
  78. package/lib/commands/easysources/globalvaluesettranslations/arealigned.js.map +1 -1
  79. package/lib/commands/easysources/globalvaluesettranslations/merge.d.ts +11 -15
  80. package/lib/commands/easysources/globalvaluesettranslations/merge.js +39 -44
  81. package/lib/commands/easysources/globalvaluesettranslations/merge.js.map +1 -1
  82. package/lib/commands/easysources/globalvaluesettranslations/split.d.ts +11 -12
  83. package/lib/commands/easysources/globalvaluesettranslations/split.js +39 -43
  84. package/lib/commands/easysources/globalvaluesettranslations/split.js.map +1 -1
  85. package/lib/commands/easysources/globalvaluesettranslations/updatekey.d.ts +10 -11
  86. package/lib/commands/easysources/globalvaluesettranslations/updatekey.js +35 -39
  87. package/lib/commands/easysources/globalvaluesettranslations/updatekey.js.map +1 -1
  88. package/lib/commands/easysources/globalvaluesettranslations/upsert.d.ts +11 -15
  89. package/lib/commands/easysources/globalvaluesettranslations/upsert.js +39 -44
  90. package/lib/commands/easysources/globalvaluesettranslations/upsert.js.map +1 -1
  91. package/lib/commands/easysources/labels/arealigned.d.ts +10 -14
  92. package/lib/commands/easysources/labels/arealigned.js +41 -46
  93. package/lib/commands/easysources/labels/arealigned.js.map +1 -1
  94. package/lib/commands/easysources/labels/merge.d.ts +9 -13
  95. package/lib/commands/easysources/labels/merge.js +35 -40
  96. package/lib/commands/easysources/labels/merge.js.map +1 -1
  97. package/lib/commands/easysources/labels/split.d.ts +9 -10
  98. package/lib/commands/easysources/labels/split.js +35 -39
  99. package/lib/commands/easysources/labels/split.js.map +1 -1
  100. package/lib/commands/easysources/labels/updatekey.d.ts +8 -9
  101. package/lib/commands/easysources/labels/updatekey.js +31 -35
  102. package/lib/commands/easysources/labels/updatekey.js.map +1 -1
  103. package/lib/commands/easysources/labels/upsert.d.ts +9 -13
  104. package/lib/commands/easysources/labels/upsert.js +35 -40
  105. package/lib/commands/easysources/labels/upsert.js.map +1 -1
  106. package/lib/commands/easysources/objecttranslations/arealigned.d.ts +11 -12
  107. package/lib/commands/easysources/objecttranslations/arealigned.js +83 -87
  108. package/lib/commands/easysources/objecttranslations/arealigned.js.map +1 -1
  109. package/lib/commands/easysources/objecttranslations/clearempty.d.ts +9 -13
  110. package/lib/commands/easysources/objecttranslations/clearempty.js +50 -55
  111. package/lib/commands/easysources/objecttranslations/clearempty.js.map +1 -1
  112. package/lib/commands/easysources/objecttranslations/merge.d.ts +10 -14
  113. package/lib/commands/easysources/objecttranslations/merge.js +79 -87
  114. package/lib/commands/easysources/objecttranslations/merge.js.map +1 -1
  115. package/lib/commands/easysources/objecttranslations/minify.d.ts +10 -14
  116. package/lib/commands/easysources/objecttranslations/minify.js +59 -64
  117. package/lib/commands/easysources/objecttranslations/minify.js.map +1 -1
  118. package/lib/commands/easysources/objecttranslations/split.d.ts +11 -12
  119. package/lib/commands/easysources/objecttranslations/split.js +74 -78
  120. package/lib/commands/easysources/objecttranslations/split.js.map +1 -1
  121. package/lib/commands/easysources/objecttranslations/updatekey.d.ts +10 -11
  122. package/lib/commands/easysources/objecttranslations/updatekey.js +51 -55
  123. package/lib/commands/easysources/objecttranslations/updatekey.js.map +1 -1
  124. package/lib/commands/easysources/objecttranslations/upsert.d.ts +10 -14
  125. package/lib/commands/easysources/objecttranslations/upsert.js +87 -92
  126. package/lib/commands/easysources/objecttranslations/upsert.js.map +1 -1
  127. package/lib/commands/easysources/permissionsets/arealigned.d.ts +11 -12
  128. package/lib/commands/easysources/permissionsets/arealigned.js +45 -49
  129. package/lib/commands/easysources/permissionsets/arealigned.js.map +1 -1
  130. package/lib/commands/easysources/permissionsets/clean.d.ts +19 -23
  131. package/lib/commands/easysources/permissionsets/clean.js +122 -127
  132. package/lib/commands/easysources/permissionsets/clean.js.map +1 -1
  133. package/lib/commands/easysources/permissionsets/clearempty.d.ts +9 -13
  134. package/lib/commands/easysources/permissionsets/clearempty.js +33 -38
  135. package/lib/commands/easysources/permissionsets/clearempty.js.map +1 -1
  136. package/lib/commands/easysources/permissionsets/customupsert.d.ts +11 -15
  137. package/lib/commands/easysources/permissionsets/customupsert.js +43 -48
  138. package/lib/commands/easysources/permissionsets/customupsert.js.map +1 -1
  139. package/lib/commands/easysources/permissionsets/delete.d.ts +11 -15
  140. package/lib/commands/easysources/permissionsets/delete.js +43 -48
  141. package/lib/commands/easysources/permissionsets/delete.js.map +1 -1
  142. package/lib/commands/easysources/permissionsets/merge.d.ts +10 -14
  143. package/lib/commands/easysources/permissionsets/merge.js +39 -44
  144. package/lib/commands/easysources/permissionsets/merge.js.map +1 -1
  145. package/lib/commands/easysources/permissionsets/minify.d.ts +10 -14
  146. package/lib/commands/easysources/permissionsets/minify.js +58 -63
  147. package/lib/commands/easysources/permissionsets/minify.js.map +1 -1
  148. package/lib/commands/easysources/permissionsets/split.d.ts +10 -11
  149. package/lib/commands/easysources/permissionsets/split.js +39 -43
  150. package/lib/commands/easysources/permissionsets/split.js.map +1 -1
  151. package/lib/commands/easysources/permissionsets/updatekey.d.ts +9 -10
  152. package/lib/commands/easysources/permissionsets/updatekey.js +35 -39
  153. package/lib/commands/easysources/permissionsets/updatekey.js.map +1 -1
  154. package/lib/commands/easysources/permissionsets/upsert.d.ts +12 -16
  155. package/lib/commands/easysources/permissionsets/upsert.js +47 -52
  156. package/lib/commands/easysources/permissionsets/upsert.js.map +1 -1
  157. package/lib/commands/easysources/profiles/arealigned.d.ts +11 -12
  158. package/lib/commands/easysources/profiles/arealigned.js +45 -49
  159. package/lib/commands/easysources/profiles/arealigned.js.map +1 -1
  160. package/lib/commands/easysources/profiles/clean.d.ts +19 -23
  161. package/lib/commands/easysources/profiles/clean.js +123 -128
  162. package/lib/commands/easysources/profiles/clean.js.map +1 -1
  163. package/lib/commands/easysources/profiles/clearempty.d.ts +9 -13
  164. package/lib/commands/easysources/profiles/clearempty.js +33 -38
  165. package/lib/commands/easysources/profiles/clearempty.js.map +1 -1
  166. package/lib/commands/easysources/profiles/customupsert.d.ts +11 -15
  167. package/lib/commands/easysources/profiles/customupsert.js +43 -48
  168. package/lib/commands/easysources/profiles/customupsert.js.map +1 -1
  169. package/lib/commands/easysources/profiles/delete.d.ts +11 -15
  170. package/lib/commands/easysources/profiles/delete.js +43 -48
  171. package/lib/commands/easysources/profiles/delete.js.map +1 -1
  172. package/lib/commands/easysources/profiles/merge.d.ts +10 -14
  173. package/lib/commands/easysources/profiles/merge.js +39 -44
  174. package/lib/commands/easysources/profiles/merge.js.map +1 -1
  175. package/lib/commands/easysources/profiles/minify.d.ts +10 -14
  176. package/lib/commands/easysources/profiles/minify.js +58 -63
  177. package/lib/commands/easysources/profiles/minify.js.map +1 -1
  178. package/lib/commands/easysources/profiles/split.d.ts +11 -12
  179. package/lib/commands/easysources/profiles/split.js +45 -49
  180. package/lib/commands/easysources/profiles/split.js.map +1 -1
  181. package/lib/commands/easysources/profiles/updatekey.d.ts +9 -10
  182. package/lib/commands/easysources/profiles/updatekey.js +35 -39
  183. package/lib/commands/easysources/profiles/updatekey.js.map +1 -1
  184. package/lib/commands/easysources/profiles/upsert.d.ts +13 -17
  185. package/lib/commands/easysources/profiles/upsert.js +53 -58
  186. package/lib/commands/easysources/profiles/upsert.js.map +1 -1
  187. package/lib/commands/easysources/recordtypes/arealigned.d.ts +14 -15
  188. package/lib/commands/easysources/recordtypes/arealigned.js +82 -86
  189. package/lib/commands/easysources/recordtypes/arealigned.js.map +1 -1
  190. package/lib/commands/easysources/recordtypes/clean.d.ts +18 -22
  191. package/lib/commands/easysources/recordtypes/clean.js +109 -116
  192. package/lib/commands/easysources/recordtypes/clean.js.map +1 -1
  193. package/lib/commands/easysources/recordtypes/delete.d.ts +13 -17
  194. package/lib/commands/easysources/recordtypes/delete.js +62 -67
  195. package/lib/commands/easysources/recordtypes/delete.js.map +1 -1
  196. package/lib/commands/easysources/recordtypes/merge.d.ts +12 -16
  197. package/lib/commands/easysources/recordtypes/merge.js +69 -75
  198. package/lib/commands/easysources/recordtypes/merge.js.map +1 -1
  199. package/lib/commands/easysources/recordtypes/split.d.ts +12 -13
  200. package/lib/commands/easysources/recordtypes/split.js +76 -80
  201. package/lib/commands/easysources/recordtypes/split.js.map +1 -1
  202. package/lib/commands/easysources/recordtypes/updatekey.d.ts +11 -12
  203. package/lib/commands/easysources/recordtypes/updatekey.js +56 -60
  204. package/lib/commands/easysources/recordtypes/updatekey.js.map +1 -1
  205. package/lib/commands/easysources/recordtypes/upsert.d.ts +12 -16
  206. package/lib/commands/easysources/recordtypes/upsert.js +84 -89
  207. package/lib/commands/easysources/recordtypes/upsert.js.map +1 -1
  208. package/lib/commands/easysources/settings/init.d.ts +6 -10
  209. package/lib/commands/easysources/settings/init.js +18 -21
  210. package/lib/commands/easysources/settings/init.js.map +1 -1
  211. package/lib/commands/easysources/translations/arealigned.d.ts +12 -13
  212. package/lib/commands/easysources/translations/arealigned.js +45 -49
  213. package/lib/commands/easysources/translations/arealigned.js.map +1 -1
  214. package/lib/commands/easysources/translations/clearempty.d.ts +10 -14
  215. package/lib/commands/easysources/translations/clearempty.js +33 -38
  216. package/lib/commands/easysources/translations/clearempty.js.map +1 -1
  217. package/lib/commands/easysources/translations/merge.d.ts +11 -15
  218. package/lib/commands/easysources/translations/merge.js +39 -44
  219. package/lib/commands/easysources/translations/merge.js.map +1 -1
  220. package/lib/commands/easysources/translations/minify.d.ts +11 -15
  221. package/lib/commands/easysources/translations/minify.js +62 -67
  222. package/lib/commands/easysources/translations/minify.js.map +1 -1
  223. package/lib/commands/easysources/translations/split.d.ts +11 -12
  224. package/lib/commands/easysources/translations/split.js +39 -43
  225. package/lib/commands/easysources/translations/split.js.map +1 -1
  226. package/lib/commands/easysources/translations/updatekey.d.ts +10 -11
  227. package/lib/commands/easysources/translations/updatekey.js +35 -39
  228. package/lib/commands/easysources/translations/updatekey.js.map +1 -1
  229. package/lib/commands/easysources/translations/upsert.d.ts +11 -15
  230. package/lib/commands/easysources/translations/upsert.js +39 -44
  231. package/lib/commands/easysources/translations/upsert.js.map +1 -1
  232. package/lib/index.d.ts +89 -19
  233. package/lib/index.js +30 -43
  234. package/lib/index.js.map +1 -1
  235. package/lib/utils/commands/alignmentChecker.js +25 -30
  236. package/lib/utils/commands/alignmentChecker.js.map +1 -1
  237. package/lib/utils/commands/customupserter.js +19 -23
  238. package/lib/utils/commands/customupserter.js.map +1 -1
  239. package/lib/utils/commands/deleter.js +17 -21
  240. package/lib/utils/commands/deleter.js.map +1 -1
  241. package/lib/utils/commands/emptyClearer.js +17 -21
  242. package/lib/utils/commands/emptyClearer.js.map +1 -1
  243. package/lib/utils/commands/keyupdater.js +18 -22
  244. package/lib/utils/commands/keyupdater.js.map +1 -1
  245. package/lib/utils/commands/merger.js +24 -29
  246. package/lib/utils/commands/merger.js.map +1 -1
  247. package/lib/utils/commands/splitter.js +31 -35
  248. package/lib/utils/commands/splitter.js.map +1 -1
  249. package/lib/utils/commands/upserter.js +37 -41
  250. package/lib/utils/commands/upserter.js.map +1 -1
  251. package/lib/utils/commands/utils.js +40 -51
  252. package/lib/utils/commands/utils.js.map +1 -1
  253. package/lib/utils/constants/constants.js +9 -12
  254. package/lib/utils/constants/constants.js.map +1 -1
  255. package/lib/utils/constants/constants_applications.js +11 -14
  256. package/lib/utils/constants/constants_applications.js.map +1 -1
  257. package/lib/utils/constants/constants_globalvaluesets.js +11 -14
  258. package/lib/utils/constants/constants_globalvaluesets.js.map +1 -1
  259. package/lib/utils/constants/constants_globalvaluesettranslations.js +11 -14
  260. package/lib/utils/constants/constants_globalvaluesettranslations.js.map +1 -1
  261. package/lib/utils/constants/constants_labels.js +11 -14
  262. package/lib/utils/constants/constants_labels.js.map +1 -1
  263. package/lib/utils/constants/constants_objecttranslations.js +50 -53
  264. package/lib/utils/constants/constants_objecttranslations.js.map +1 -1
  265. package/lib/utils/constants/constants_permissionsets.js +73 -76
  266. package/lib/utils/constants/constants_permissionsets.js.map +1 -1
  267. package/lib/utils/constants/constants_profiles.js +85 -88
  268. package/lib/utils/constants/constants_profiles.js.map +1 -1
  269. package/lib/utils/constants/constants_recordtypes.js +10 -13
  270. package/lib/utils/constants/constants_recordtypes.js.map +1 -1
  271. package/lib/utils/constants/constants_sourcesdownload.d.ts +3 -3
  272. package/lib/utils/constants/constants_sourcesdownload.js +24 -27
  273. package/lib/utils/constants/constants_sourcesdownload.js.map +1 -1
  274. package/lib/utils/constants/constants_translations.js +38 -41
  275. package/lib/utils/constants/constants_translations.js.map +1 -1
  276. package/lib/utils/csvWriter.d.ts +0 -6
  277. package/lib/utils/csvWriter.js +18 -48
  278. package/lib/utils/csvWriter.js.map +1 -1
  279. package/lib/utils/filesUtils.d.ts +4 -4
  280. package/lib/utils/filesUtils.js +29 -48
  281. package/lib/utils/filesUtils.js.map +1 -1
  282. package/lib/utils/flatArrayUtils.js +2 -7
  283. package/lib/utils/flatArrayUtils.js.map +1 -1
  284. package/lib/utils/localSettings.js +8 -13
  285. package/lib/utils/localSettings.js.map +1 -1
  286. package/lib/utils/performance.js +4 -4
  287. package/lib/utils/performance.js.map +1 -1
  288. package/lib/utils/utils.js +6 -26
  289. package/lib/utils/utils.js.map +1 -1
  290. package/lib/utils/utils_objtransl.d.ts +1 -1
  291. package/lib/utils/utils_objtransl.js +11 -20
  292. package/lib/utils/utils_objtransl.js.map +1 -1
  293. package/lib/utils/utils_recordtypes.js +2 -7
  294. package/lib/utils/utils_recordtypes.js.map +1 -1
  295. package/lib/utils/utils_translations.js +2 -7
  296. package/lib/utils/utils_translations.js.map +1 -1
  297. package/lib/utils/xmlFormatter.js +5 -8
  298. package/lib/utils/xmlFormatter.js.map +1 -1
  299. package/oclif.manifest.json +5696 -1
  300. package/package.json +31 -53
  301. package/lib/commands/hello/org.d.ts +0 -17
  302. package/lib/commands/hello/org.js +0 -72
  303. package/lib/commands/hello/org.js.map +0 -1
package/README.md CHANGED
@@ -4,6 +4,9 @@ SFDX plugin to simplify the management of Salesforce sources, splitting some lon
4
4
 
5
5
  # [BETA]
6
6
 
7
+ > **🚀 From version 1.0.0, this plugin is fully compatible with the `sf` CLI.** All commands now use the space-separated format (e.g., `sf easysources profiles split`). The legacy `sfdx` colon-separated format is no longer supported.
8
+
9
+ > **📦 From version 1.0.0, this plugin is built as native ES Modules (ESM).** Requires Node.js ≥ 18.
7
10
 
8
11
  [![Version](https://img.shields.io/npm/v/sfdx-easy-sources.svg)](https://npmjs.org/package/sfdx-easy-sources)
9
12
  [![Known Vulnerabilities](https://snyk.io/test/github/raffo93p/sfdx-easy-sources/badge.svg)](https://snyk.io/test/github/raffo93p/sfdx-easy-sources)
@@ -1,5 +1,5 @@
1
1
  import { AnyJson } from '@salesforce/ts-types';
2
- import { PathOptions } from './paths';
2
+ import { PathOptions } from './paths.js';
3
3
  /**
4
4
  * Interface for Application operation options.
5
5
  * All properties are optional and will be resolved automatically from easysources-settings.json if not provided.
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.applications = void 0;
4
- const split_1 = require("../commands/easysources/applications/split");
5
- const upsert_1 = require("../commands/easysources/applications/upsert");
6
- const merge_1 = require("../commands/easysources/applications/merge");
7
- const arealigned_1 = require("../commands/easysources/applications/arealigned");
8
- const updatekey_1 = require("../commands/easysources/applications/updatekey");
1
+ import { applicationSplit } from '../commands/easysources/applications/split.js';
2
+ import { applicationUpsert } from '../commands/easysources/applications/upsert.js';
3
+ import { applicationMerge } from '../commands/easysources/applications/merge.js';
4
+ import { applicationAreAligned } from '../commands/easysources/applications/arealigned.js';
5
+ import { applicationUpdateKey } from '../commands/easysources/applications/updatekey.js';
9
6
  /**
10
7
  * Application namespace containing all programmatic API functions for Salesforce Application metadata operations.
11
8
  *
@@ -33,14 +30,14 @@ const updatekey_1 = require("../commands/easysources/applications/updatekey");
33
30
  * });
34
31
  * ```
35
32
  */
36
- exports.applications = {
33
+ export const applications = {
37
34
  /**
38
35
  * Splits applications into separate files for easier management and version control.
39
36
  * @param options Optional configuration, automatically resolved from settings if not provided
40
37
  * @returns Promise resolving to operation result
41
38
  */
42
39
  split: async (options = {}) => {
43
- return (0, split_1.applicationSplit)(options);
40
+ return applicationSplit(options);
44
41
  },
45
42
  /**
46
43
  * Updates or inserts application records from CSV files to Salesforce metadata format.
@@ -48,7 +45,7 @@ exports.applications = {
48
45
  * @returns Promise resolving to operation result
49
46
  */
50
47
  upsert: async (options = {}) => {
51
- return (0, upsert_1.applicationUpsert)(options);
48
+ return applicationUpsert(options);
52
49
  },
53
50
  /**
54
51
  * Merges application files back into unified metadata files.
@@ -56,7 +53,7 @@ exports.applications = {
56
53
  * @returns Promise resolving to operation result
57
54
  */
58
55
  merge: async (options = {}) => {
59
- return (0, merge_1.applicationMerge)(options);
56
+ return applicationMerge(options);
60
57
  },
61
58
  /**
62
59
  * Checks if applications are aligned between different environments or sources.
@@ -64,7 +61,7 @@ exports.applications = {
64
61
  * @returns Promise resolving to alignment check result
65
62
  */
66
63
  areAligned: async (options = {}) => {
67
- return (0, arealigned_1.applicationAreAligned)(options);
64
+ return applicationAreAligned(options);
68
65
  },
69
66
  /**
70
67
  * Updates application keys based on configuration rules.
@@ -72,7 +69,7 @@ exports.applications = {
72
69
  * @returns Promise resolving to key update result
73
70
  */
74
71
  updateKey: async (options = {}) => {
75
- return (0, updatekey_1.applicationUpdateKey)(options);
72
+ return applicationUpdateKey(options);
76
73
  }
77
74
  };
78
75
  //# sourceMappingURL=applications.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"applications.js","sourceRoot":"","sources":["../../src/api/applications.ts"],"names":[],"mappings":";;;AA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B;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAA8B,EAAE,EAAoB,EAAE;QAClE,OAAO,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;IAED;;;;OAIG;IACH,MAAM,EAAE,KAAK,EAAE,UAA8B,EAAE,EAAoB,EAAE;QACnE,OAAO,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IAED;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAA8B,EAAE,EAAoB,EAAE;QAClE,OAAO,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;IAED;;;;OAIG;IACH,UAAU,EAAE,KAAK,EAAE,UAA8B,EAAE,EAAoB,EAAE;QACvE,OAAO,qBAAqB,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAED;;;;OAIG;IACH,SAAS,EAAE,KAAK,EAAE,UAA8B,EAAE,EAAoB,EAAE;QACtE,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACvC,CAAC;CACF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AnyJson } from '@salesforce/ts-types';
2
- import { PathOptions } from './paths';
2
+ import { PathOptions } from './paths.js';
3
3
  /**
4
4
  * Interface for Global Value Set operation options.
5
5
  * All properties are optional and will be resolved automatically from easysources-settings.json if not provided.
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.globalValueSets = void 0;
4
- const split_1 = require("../commands/easysources/globalvaluesets/split");
5
- const upsert_1 = require("../commands/easysources/globalvaluesets/upsert");
6
- const merge_1 = require("../commands/easysources/globalvaluesets/merge");
7
- const arealigned_1 = require("../commands/easysources/globalvaluesets/arealigned");
8
- const updatekey_1 = require("../commands/easysources/globalvaluesets/updatekey");
1
+ import { globalValueSetSplit } from '../commands/easysources/globalvaluesets/split.js';
2
+ import { globalValueSetUpsert } from '../commands/easysources/globalvaluesets/upsert.js';
3
+ import { globalValueSetMerge } from '../commands/easysources/globalvaluesets/merge.js';
4
+ import { globalValueSetAreAligned } from '../commands/easysources/globalvaluesets/arealigned.js';
5
+ import { globalValueSetUpdateKey } from '../commands/easysources/globalvaluesets/updatekey.js';
9
6
  /**
10
7
  * Global Value Sets namespace containing all programmatic API functions for Salesforce Global Value Set metadata operations.
11
8
  *
@@ -33,14 +30,14 @@ const updatekey_1 = require("../commands/easysources/globalvaluesets/updatekey")
33
30
  * });
34
31
  * ```
35
32
  */
36
- exports.globalValueSets = {
33
+ export const globalValueSets = {
37
34
  /**
38
35
  * Splits global value sets into separate CSV files for easier management and version control.
39
36
  * @param options Optional configuration, automatically resolved from settings if not provided
40
37
  * @returns Promise resolving to operation result
41
38
  */
42
39
  split: async (options = {}) => {
43
- return (0, split_1.globalValueSetSplit)(options);
40
+ return globalValueSetSplit(options);
44
41
  },
45
42
  /**
46
43
  * Updates or inserts global value set records from CSV files to Salesforce metadata format.
@@ -48,7 +45,7 @@ exports.globalValueSets = {
48
45
  * @returns Promise resolving to operation result
49
46
  */
50
47
  upsert: async (options = {}) => {
51
- return (0, upsert_1.globalValueSetUpsert)(options);
48
+ return globalValueSetUpsert(options);
52
49
  },
53
50
  /**
54
51
  * Merges global value set CSV files back into unified metadata files.
@@ -56,7 +53,7 @@ exports.globalValueSets = {
56
53
  * @returns Promise resolving to operation result
57
54
  */
58
55
  merge: async (options = {}) => {
59
- return (0, merge_1.globalValueSetMerge)(options);
56
+ return globalValueSetMerge(options);
60
57
  },
61
58
  /**
62
59
  * Checks if global value sets are aligned between different environments or sources.
@@ -64,7 +61,7 @@ exports.globalValueSets = {
64
61
  * @returns Promise resolving to alignment check result
65
62
  */
66
63
  areAligned: async (options = {}) => {
67
- return (0, arealigned_1.globalValueSetAreAligned)(options);
64
+ return globalValueSetAreAligned(options);
68
65
  },
69
66
  /**
70
67
  * Updates global value set keys based on configuration rules.
@@ -72,7 +69,7 @@ exports.globalValueSets = {
72
69
  * @returns Promise resolving to key update result
73
70
  */
74
71
  updateKey: async (options = {}) => {
75
- return (0, updatekey_1.globalValueSetUpdateKey)(options);
72
+ return globalValueSetUpdateKey(options);
76
73
  }
77
74
  };
78
75
  //# sourceMappingURL=globalvaluesets.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"globalvaluesets.js","sourceRoot":"","sources":["../../src/api/globalvaluesets.ts"],"names":[],"mappings":";;;AAEA,yEAAoF;AACpF,2EAAsF;AACtF,yEAAoF;AACpF,mFAA8F;AAC9F,iFAA4F;AAe5F;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACU,QAAA,eAAe,GAAG;IAC7B;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAAiC,EAAE,EAAoB,EAAE;QACrE,OAAO,IAAA,2BAAmB,EAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;;;OAIG;IACH,MAAM,EAAE,KAAK,EAAE,UAAiC,EAAE,EAAoB,EAAE;QACtE,OAAO,IAAA,6BAAoB,EAAC,OAAO,CAAC,CAAC;IACvC,CAAC;IAED;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAAiC,EAAE,EAAoB,EAAE;QACrE,OAAO,IAAA,2BAAmB,EAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;;;OAIG;IACH,UAAU,EAAE,KAAK,EAAE,UAAiC,EAAE,EAAoB,EAAE;QAC1E,OAAO,IAAA,qCAAwB,EAAC,OAAO,CAAC,CAAC;IAC3C,CAAC;IAED;;;;OAIG;IACH,SAAS,EAAE,KAAK,EAAE,UAAiC,EAAE,EAAoB,EAAE;QACzE,OAAO,IAAA,mCAAuB,EAAC,OAAO,CAAC,CAAC;IAC1C,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"globalvaluesets.js","sourceRoot":"","sources":["../../src/api/globalvaluesets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AACvF,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AAe/F;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAAiC,EAAE,EAAoB,EAAE;QACrE,OAAO,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;;;OAIG;IACH,MAAM,EAAE,KAAK,EAAE,UAAiC,EAAE,EAAoB,EAAE;QACtE,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACvC,CAAC;IAED;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAAiC,EAAE,EAAoB,EAAE;QACrE,OAAO,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED;;;;OAIG;IACH,UAAU,EAAE,KAAK,EAAE,UAAiC,EAAE,EAAoB,EAAE;QAC1E,OAAO,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAC3C,CAAC;IAED;;;;OAIG;IACH,SAAS,EAAE,KAAK,EAAE,UAAiC,EAAE,EAAoB,EAAE;QACzE,OAAO,uBAAuB,CAAC,OAAO,CAAC,CAAC;IAC1C,CAAC;CACF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AnyJson } from '@salesforce/ts-types';
2
- import { PathOptions } from './paths';
2
+ import { PathOptions } from './paths.js';
3
3
  /**
4
4
  * Interface for Global Value Set Translation operation options.
5
5
  * All properties are optional and will be resolved automatically from easysources-settings.json if not provided.
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.globalValueSetTranslations = void 0;
4
- const split_1 = require("../commands/easysources/globalvaluesettranslations/split");
5
- const upsert_1 = require("../commands/easysources/globalvaluesettranslations/upsert");
6
- const merge_1 = require("../commands/easysources/globalvaluesettranslations/merge");
7
- const arealigned_1 = require("../commands/easysources/globalvaluesettranslations/arealigned");
8
- const updatekey_1 = require("../commands/easysources/globalvaluesettranslations/updatekey");
1
+ import { globalValueSetTranslationSplit } from '../commands/easysources/globalvaluesettranslations/split.js';
2
+ import { globalValueSetTranslationUpsert } from '../commands/easysources/globalvaluesettranslations/upsert.js';
3
+ import { globalValueSetTranslationMerge } from '../commands/easysources/globalvaluesettranslations/merge.js';
4
+ import { globalValueSetTranslationAreAligned } from '../commands/easysources/globalvaluesettranslations/arealigned.js';
5
+ import { globalValueSetTranslationUpdateKey } from '../commands/easysources/globalvaluesettranslations/updatekey.js';
9
6
  /**
10
7
  * Global Value Set Translations namespace containing all programmatic API functions for Salesforce Global Value Set Translation metadata operations.
11
8
  *
@@ -33,14 +30,14 @@ const updatekey_1 = require("../commands/easysources/globalvaluesettranslations/
33
30
  * });
34
31
  * ```
35
32
  */
36
- exports.globalValueSetTranslations = {
33
+ export const globalValueSetTranslations = {
37
34
  /**
38
35
  * Splits global value set translations into separate CSV files for easier management and version control.
39
36
  * @param options Optional configuration, automatically resolved from settings if not provided
40
37
  * @returns Promise resolving to operation result
41
38
  */
42
39
  split: async (options = {}) => {
43
- return (0, split_1.globalValueSetTranslationSplit)(options);
40
+ return globalValueSetTranslationSplit(options);
44
41
  },
45
42
  /**
46
43
  * Updates or inserts global value set translation records from CSV files to Salesforce metadata format.
@@ -48,7 +45,7 @@ exports.globalValueSetTranslations = {
48
45
  * @returns Promise resolving to operation result
49
46
  */
50
47
  upsert: async (options = {}) => {
51
- return (0, upsert_1.globalValueSetTranslationUpsert)(options);
48
+ return globalValueSetTranslationUpsert(options);
52
49
  },
53
50
  /**
54
51
  * Merges global value set translation CSV files back into unified metadata files.
@@ -56,7 +53,7 @@ exports.globalValueSetTranslations = {
56
53
  * @returns Promise resolving to operation result
57
54
  */
58
55
  merge: async (options = {}) => {
59
- return (0, merge_1.globalValueSetTranslationMerge)(options);
56
+ return globalValueSetTranslationMerge(options);
60
57
  },
61
58
  /**
62
59
  * Checks if global value set translations are aligned between different environments or sources.
@@ -64,7 +61,7 @@ exports.globalValueSetTranslations = {
64
61
  * @returns Promise resolving to alignment check result
65
62
  */
66
63
  areAligned: async (options = {}) => {
67
- return (0, arealigned_1.globalValueSetTranslationAreAligned)(options);
64
+ return globalValueSetTranslationAreAligned(options);
68
65
  },
69
66
  /**
70
67
  * Updates global value set translation keys based on configuration rules.
@@ -72,7 +69,7 @@ exports.globalValueSetTranslations = {
72
69
  * @returns Promise resolving to key update result
73
70
  */
74
71
  updateKey: async (options = {}) => {
75
- return (0, updatekey_1.globalValueSetTranslationUpdateKey)(options);
72
+ return globalValueSetTranslationUpdateKey(options);
76
73
  }
77
74
  };
78
75
  //# sourceMappingURL=globalvaluesettranslations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"globalvaluesettranslations.js","sourceRoot":"","sources":["../../src/api/globalvaluesettranslations.ts"],"names":[],"mappings":";;;AAEA,oFAA0G;AAC1G,sFAA4G;AAC5G,oFAA0G;AAC1G,8FAAoH;AACpH,4FAAkH;AAelH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACU,QAAA,0BAA0B,GAAG;IACxC;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAA4C,EAAE,EAAoB,EAAE;QAChF,OAAO,IAAA,sCAA8B,EAAC,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACH,MAAM,EAAE,KAAK,EAAE,UAA4C,EAAE,EAAoB,EAAE;QACjF,OAAO,IAAA,wCAA+B,EAAC,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAA4C,EAAE,EAAoB,EAAE;QAChF,OAAO,IAAA,sCAA8B,EAAC,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACH,UAAU,EAAE,KAAK,EAAE,UAA4C,EAAE,EAAoB,EAAE;QACrF,OAAO,IAAA,gDAAmC,EAAC,OAAO,CAAC,CAAC;IACtD,CAAC;IAED;;;;OAIG;IACH,SAAS,EAAE,KAAK,EAAE,UAA4C,EAAE,EAAoB,EAAE;QACpF,OAAO,IAAA,8CAAkC,EAAC,OAAO,CAAC,CAAC;IACrD,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"globalvaluesettranslations.js","sourceRoot":"","sources":["../../src/api/globalvaluesettranslations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,6DAA6D,CAAC;AAC7G,OAAO,EAAE,+BAA+B,EAAE,MAAM,8DAA8D,CAAC;AAC/G,OAAO,EAAE,8BAA8B,EAAE,MAAM,6DAA6D,CAAC;AAC7G,OAAO,EAAE,mCAAmC,EAAE,MAAM,kEAAkE,CAAC;AACvH,OAAO,EAAE,kCAAkC,EAAE,MAAM,iEAAiE,CAAC;AAerH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAA4C,EAAE,EAAoB,EAAE;QAChF,OAAO,8BAA8B,CAAC,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACH,MAAM,EAAE,KAAK,EAAE,UAA4C,EAAE,EAAoB,EAAE;QACjF,OAAO,+BAA+B,CAAC,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAA4C,EAAE,EAAoB,EAAE;QAChF,OAAO,8BAA8B,CAAC,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACH,UAAU,EAAE,KAAK,EAAE,UAA4C,EAAE,EAAoB,EAAE;QACrF,OAAO,mCAAmC,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC;IAED;;;;OAIG;IACH,SAAS,EAAE,KAAK,EAAE,UAA4C,EAAE,EAAoB,EAAE;QACpF,OAAO,kCAAkC,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC;CACF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AnyJson } from '@salesforce/ts-types';
2
- import { PathOptions } from './paths';
2
+ import { PathOptions } from './paths.js';
3
3
  /**
4
4
  * Label-specific options interface
5
5
  * Extends the common PathOptions with label-specific settings
package/lib/api/labels.js CHANGED
@@ -1,12 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.labels = void 0;
4
1
  // Import label-specific functions directly from command files
5
- const split_1 = require("../commands/easysources/labels/split");
6
- const upsert_1 = require("../commands/easysources/labels/upsert");
7
- const merge_1 = require("../commands/easysources/labels/merge");
8
- const updatekey_1 = require("../commands/easysources/labels/updatekey");
9
- const arealigned_1 = require("../commands/easysources/labels/arealigned");
2
+ import { labelSplit } from '../commands/easysources/labels/split.js';
3
+ import { labelUpsert } from '../commands/easysources/labels/upsert.js';
4
+ import { labelMerge } from '../commands/easysources/labels/merge.js';
5
+ import { labelUpdateKey } from '../commands/easysources/labels/updatekey.js';
6
+ import { labelAreAligned } from '../commands/easysources/labels/arealigned.js';
10
7
  /**
11
8
  * Labels namespace containing all programmatic API functions for Salesforce Custom Label metadata operations.
12
9
  *
@@ -34,14 +31,14 @@ const arealigned_1 = require("../commands/easysources/labels/arealigned");
34
31
  * });
35
32
  * ```
36
33
  */
37
- exports.labels = {
34
+ export const labels = {
38
35
  /**
39
36
  * Splits custom labels into separate CSV files for easier management and version control.
40
37
  * @param options Optional configuration, automatically resolved from settings if not provided
41
38
  * @returns Promise resolving to operation result
42
39
  */
43
40
  split: async (options = {}) => {
44
- return await (0, split_1.labelSplit)(options);
41
+ return await labelSplit(options);
45
42
  },
46
43
  /**
47
44
  * Updates or inserts label records from XML to CSV format.
@@ -49,7 +46,7 @@ exports.labels = {
49
46
  * @returns Promise resolving to operation result
50
47
  */
51
48
  upsert: async (options = {}) => {
52
- return await (0, upsert_1.labelUpsert)(options);
49
+ return await labelUpsert(options);
53
50
  },
54
51
  /**
55
52
  * Merges label CSV files back into unified XML metadata files.
@@ -57,7 +54,7 @@ exports.labels = {
57
54
  * @returns Promise resolving to operation result
58
55
  */
59
56
  merge: async (options = {}) => {
60
- return await (0, merge_1.labelMerge)(options);
57
+ return await labelMerge(options);
61
58
  },
62
59
  /**
63
60
  * Checks if labels are aligned between different environments or sources.
@@ -65,7 +62,7 @@ exports.labels = {
65
62
  * @returns Promise resolving to alignment check result
66
63
  */
67
64
  areAligned: async (options = {}) => {
68
- return await (0, arealigned_1.labelAreAligned)(options);
65
+ return await labelAreAligned(options);
69
66
  },
70
67
  /**
71
68
  * Updates label keys based on configuration rules.
@@ -73,7 +70,7 @@ exports.labels = {
73
70
  * @returns Promise resolving to key update result
74
71
  */
75
72
  updateKey: async (options = {}) => {
76
- return await (0, updatekey_1.labelUpdateKey)(options);
73
+ return await labelUpdateKey(options);
77
74
  }
78
75
  };
79
76
  //# sourceMappingURL=labels.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"labels.js","sourceRoot":"","sources":["../../src/api/labels.ts"],"names":[],"mappings":";;;AAGA,8DAA8D;AAC9D,gEAAkE;AAClE,kEAAoE;AACpE,gEAAkE;AAClE,wEAA0E;AAC1E,0EAA4E;AAa5E;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACU,QAAA,MAAM,GAAG;IACpB;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAAwB,EAAE,EAAoB,EAAE;QAC5D,OAAO,MAAM,IAAA,kBAAU,EAAC,OAAO,CAAC,CAAC;IACnC,CAAC;IAED;;;;OAIG;IACH,MAAM,EAAE,KAAK,EAAE,UAAwB,EAAE,EAAoB,EAAE;QAC7D,OAAO,MAAM,IAAA,oBAAW,EAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IAED;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAAwB,EAAE,EAAoB,EAAE;QAC5D,OAAO,MAAM,IAAA,kBAAU,EAAC,O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,CAAC,CAAC;IACxC,CAAC;IAED;;;;OAIG;IACH,SAAS,EAAE,KAAK,EAAE,UAAwB,EAAE,EAAoB,EAAE;QAChE,OAAO,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;IACvC,CAAC;CACF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AnyJson } from '@salesforce/ts-types';
2
- import { PathOptions } from './paths';
2
+ import { PathOptions } from './paths.js';
3
3
  /**
4
4
  * Object Translation-specific options interface
5
5
  * Extends the common PathOptions with object translation-specific settings
@@ -1,14 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.objectTranslations = void 0;
4
1
  // Import object translation-specific functions directly from command files
5
- const split_1 = require("../commands/easysources/objecttranslations/split");
6
- const upsert_1 = require("../commands/easysources/objecttranslations/upsert");
7
- const merge_1 = require("../commands/easysources/objecttranslations/merge");
8
- const arealigned_1 = require("../commands/easysources/objecttranslations/arealigned");
9
- const clearempty_1 = require("../commands/easysources/objecttranslations/clearempty");
10
- const minify_1 = require("../commands/easysources/objecttranslations/minify");
11
- const updatekey_1 = require("../commands/easysources/objecttranslations/updatekey");
2
+ import { objectTranslationSplit } from '../commands/easysources/objecttranslations/split.js';
3
+ import { objectTranslationUpsert } from '../commands/easysources/objecttranslations/upsert.js';
4
+ import { objectTranslationMerge } from '../commands/easysources/objecttranslations/merge.js';
5
+ import { objectTranslationAreAligned } from '../commands/easysources/objecttranslations/arealigned.js';
6
+ import { objectTranslationClearEmpty } from '../commands/easysources/objecttranslations/clearempty.js';
7
+ import { objectTranslationMinify } from '../commands/easysources/objecttranslations/minify.js';
8
+ import { objectTranslationUpdateKey } from '../commands/easysources/objecttranslations/updatekey.js';
12
9
  /**
13
10
  * Object Translations namespace containing all programmatic API functions for Salesforce Object Translation metadata operations.
14
11
  *
@@ -37,14 +34,14 @@ const updatekey_1 = require("../commands/easysources/objecttranslations/updateke
37
34
  * });
38
35
  * ```
39
36
  */
40
- exports.objectTranslations = {
37
+ export const objectTranslations = {
41
38
  /**
42
39
  * Splits object translations into separate CSV files for easier management and version control.
43
40
  * @param options Optional configuration, automatically resolved from settings if not provided
44
41
  * @returns Promise resolving to operation result
45
42
  */
46
43
  split: async (options = {}) => {
47
- return await (0, split_1.objectTranslationSplit)(options);
44
+ return await objectTranslationSplit(options);
48
45
  },
49
46
  /**
50
47
  * Updates or inserts object translation records from XML to CSV format.
@@ -52,7 +49,7 @@ exports.objectTranslations = {
52
49
  * @returns Promise resolving to operation result
53
50
  */
54
51
  upsert: async (options = {}) => {
55
- return await (0, upsert_1.objectTranslationUpsert)(options);
52
+ return await objectTranslationUpsert(options);
56
53
  },
57
54
  /**
58
55
  * Merges object translation CSV files back into unified XML metadata files.
@@ -60,7 +57,7 @@ exports.objectTranslations = {
60
57
  * @returns Promise resolving to operation result
61
58
  */
62
59
  merge: async (options = {}) => {
63
- return await (0, merge_1.objectTranslationMerge)(options);
60
+ return await objectTranslationMerge(options);
64
61
  },
65
62
  /**
66
63
  * Removes empty CSV files and folders to keep the repository clean.
@@ -68,7 +65,7 @@ exports.objectTranslations = {
68
65
  * @returns Promise resolving to cleanup result
69
66
  */
70
67
  clearEmpty: async (options = {}) => {
71
- return await (0, clearempty_1.objectTranslationClearEmpty)(options);
68
+ return await objectTranslationClearEmpty(options);
72
69
  },
73
70
  /**
74
71
  * Checks if object translations are aligned between different environments or sources.
@@ -76,7 +73,7 @@ exports.objectTranslations = {
76
73
  * @returns Promise resolving to alignment check result
77
74
  */
78
75
  areAligned: async (options = {}) => {
79
- return await (0, arealigned_1.objectTranslationAreAligned)(options);
76
+ return await objectTranslationAreAligned(options);
80
77
  },
81
78
  /**
82
79
  * Removes empty translation entries from CSV files based on configuration rules.
@@ -84,7 +81,7 @@ exports.objectTranslations = {
84
81
  * @returns Promise resolving to minify result
85
82
  */
86
83
  minify: async (options = {}) => {
87
- return await (0, minify_1.objectTranslationMinify)(options);
84
+ return await objectTranslationMinify(options);
88
85
  },
89
86
  /**
90
87
  * Updates the _tagid key on CSV files based on the other fields.
@@ -92,7 +89,7 @@ exports.objectTranslations = {
92
89
  * @returns Promise resolving to operation result
93
90
  */
94
91
  updateKey: async (options = {}) => {
95
- return await (0, updatekey_1.objectTranslationUpdateKey)(options);
92
+ return await objectTranslationUpdateKey(options);
96
93
  }
97
94
  };
98
95
  //# sourceMappingURL=objecttranslations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"objecttranslations.js","sourceRoot":"","sources":["../../src/api/objecttranslations.ts"],"names":[],"mappings":";;;AAGA,2EAA2E;AAC3E,4EAA0F;AAC1F,8EAA4F;AAC5F,4EAA0F;AAC1F,sFAAoG;AACpG,sFAAoG;AACpG,8EAA4F;AAC5F,oFAAkG;AAiBlG;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACU,QAAA,kBAAkB,GAAG;IAChC;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAAoC,EAAE,EAAoB,EAAE;QACxE,OAAO,MAAM,IAAA,8BAAsB,EAAC,OAAO,CAAC,CAAC;IAC/C,CAAC;IAED;;;;OAIG;IACH,MAAM,EAAE,KAAK,EAAE,UAAoC,EAAE,EAAoB,EAAE;QACzE,OAAO,MAAM,IAAA,gCAAuB,EAAC,OAAO,CAAC,CAAC;IAChD,CAAC;IAED;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,UAAoC,EAAE,EAAoB,EAAE;QACxE,OAAO,MAAM,IAAA,8BAAsB,EAAC,OAAO,CAAC,CAAC;IAC/C,CAAC;IAED;;;;OAIG;IACH,UAAU,EAAE,KAAK,EAAE,UAAoC,EAAE,EAAoB,EAAE;QAC7E,OAAO,MAAM,IAAA,wCAA2B,EAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAED;;;;OAIG;IACH,UAAU,EAAE,KAAK,EAAE,UAAoC,EAAE,EAAoB,EAAE;QAC7E,OAAO,MAAM,IAAA,wCAA2B,EAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAED;;;;OAIG;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ED;;;;OAIG;IACH,UAAU,EAAE,KAAK,EAAE,UAAoC,EAAE,EAAoB,EAAE;QAC7E,OAAO,MAAM,2BAA2B,CAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAED;;;;OAIG;IACH,UAAU,EAAE,KAAK,EAAE,UAAoC,EAAE,EAAoB,EAAE;QAC7E,OAAO,MAAM,2BAA2B,CAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAED;;;;OAIG;IACH,MAAM,EAAE,KAAK,EAAE,UAAoC,EAAE,EAAoB,EAAE;QACzE,OAAO,MAAM,uBAAuB,CAAC,OAAO,CAAC,CAAC;IAChD,CAAC;IAED;;;;OAIG;IACH,SAAS,EAAE,KAAK,EAAE,UAAoC,EAAE,EAAoB,EAAE;QAC5E,OAAO,MAAM,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACnD,CAAC;CACF,CAAC"}
package/lib/api/paths.js CHANGED
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /**
3
2
  * Paths API - Generic path resolution utilities for all metadata types
4
3
  *
@@ -19,10 +18,8 @@
19
18
  * });
20
19
  * ```
21
20
  */
22
- Object.defineProperty(exports, "__esModule", { value: true });
23
- exports.resolvePaths = void 0;
24
- const localSettings_1 = require("../utils/localSettings");
25
- const constants_1 = require("../utils/constants/constants");
21
+ import { loadSettings } from '../utils/localSettings.js';
22
+ import { DEFAULT_ESCSV_PATH, DEFAULT_SFXML_PATH } from '../utils/constants/constants.js';
26
23
  /**
27
24
  * Generic path resolution function that works for all metadata types
28
25
  *
@@ -48,14 +45,13 @@ const constants_1 = require("../utils/constants/constants");
48
45
  * // Result: { 'sf-xml': './custom-metadata', 'es-csv': './easysources' }
49
46
  * ```
50
47
  */
51
- function resolvePaths(options = {}) {
52
- const settings = (0, localSettings_1.loadSettings)();
48
+ export function resolvePaths(options = {}) {
49
+ const settings = loadSettings();
53
50
  // Resolve paths in priority order: user options > settings file > default constants
54
51
  const resolved = {
55
- 'sf-xml': options['sf-xml'] || settings['salesforce-xml-path'] || constants_1.DEFAULT_SFXML_PATH,
56
- 'es-csv': options['es-csv'] || settings['easysources-csv-path'] || constants_1.DEFAULT_ESCSV_PATH
52
+ 'sf-xml': options['sf-xml'] || settings['salesforce-xml-path'] || DEFAULT_SFXML_PATH,
53
+ 'es-csv': options['es-csv'] || settings['easysources-csv-path'] || DEFAULT_ESCSV_PATH
57
54
  };
58
55
  return resolved;
59
56
  }
60
- exports.resolvePaths = resolvePaths;
61
57
  //# sourceMappingURL=paths.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"paths.js","sourceRoot":"","sources":["../../src/api/paths.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEH,0DAAsD;AACtD,4DAAsF;AAatF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,YAAY,CACxB,UAAsB,EAAgB;IAEtC,MAAM,QAAQ,GAAG,IAAA,4BAAY,GAAE,CAAC;IAEhC,oFAAoF;IACpF,MAAM,QAAQ,GAAG;QACb,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,qBAAqB,CAAC,IAAI,8BAAkB;QACpF,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,sBAAsB,CAAC,IAAI,8BAAkB;KACnF,CAAC;IAEP,OAAO,QAAQ,CAAC;AACpB,CAAC;AAZD,oCAYC"}
1
+ {"version":3,"file":"paths.js","sourceRoot":"","sources":["../../src/api/paths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAazF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,YAAY,CACxB,UAAsB,EAAgB;IAEtC,MAAM,QAAQ,GAAG,YAAY,EAAE,CAAC;IAEhC,oFAAoF;IACpF,MAAM,QAAQ,GAAG;QACb,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,qBAAqB,CAAC,IAAI,kBAAkB;QACpF,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,sBAAsB,CAAC,IAAI,kBAAkB;KACnF,CAAC;IAEP,OAAO,QAAQ,CAAC;AACpB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AnyJson } from '@salesforce/ts-types';
2
- import { PathOptions } from './paths';
2
+ import { PathOptions } from './paths.js';
3
3
  /**
4
4
  * Configuration options for permission set operations
5
5
  */