@jterrats/smart-deployment 1.0.3

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 (395) hide show
  1. package/README.md +193 -0
  2. package/lib/ai/agentforce-error-handler.d.ts +81 -0
  3. package/lib/ai/agentforce-error-handler.js +196 -0
  4. package/lib/ai/agentforce-error-handler.js.map +1 -0
  5. package/lib/ai/agentforce-priority-service.d.ts +82 -0
  6. package/lib/ai/agentforce-priority-service.js +257 -0
  7. package/lib/ai/agentforce-priority-service.js.map +1 -0
  8. package/lib/ai/agentforce-service.d.ts +99 -0
  9. package/lib/ai/agentforce-service.js +300 -0
  10. package/lib/ai/agentforce-service.js.map +1 -0
  11. package/lib/ai/circuit-breaker.d.ts +115 -0
  12. package/lib/ai/circuit-breaker.js +277 -0
  13. package/lib/ai/circuit-breaker.js.map +1 -0
  14. package/lib/ai/dependency-inference-service.d.ts +76 -0
  15. package/lib/ai/dependency-inference-service.js +220 -0
  16. package/lib/ai/dependency-inference-service.js.map +1 -0
  17. package/lib/ai/llm-provider-factory.d.ts +15 -0
  18. package/lib/ai/llm-provider-factory.js +36 -0
  19. package/lib/ai/llm-provider-factory.js.map +1 -0
  20. package/lib/ai/llm-provider.d.ts +27 -0
  21. package/lib/ai/llm-provider.js +2 -0
  22. package/lib/ai/llm-provider.js.map +1 -0
  23. package/lib/ai/openai-service.d.ts +20 -0
  24. package/lib/ai/openai-service.js +89 -0
  25. package/lib/ai/openai-service.js.map +1 -0
  26. package/lib/ai/prompt-builder.d.ts +79 -0
  27. package/lib/ai/prompt-builder.js +180 -0
  28. package/lib/ai/prompt-builder.js.map +1 -0
  29. package/lib/ai/response-parser.d.ts +67 -0
  30. package/lib/ai/response-parser.js +234 -0
  31. package/lib/ai/response-parser.js.map +1 -0
  32. package/lib/ai/wave-validation-service.d.ts +111 -0
  33. package/lib/ai/wave-validation-service.js +381 -0
  34. package/lib/ai/wave-validation-service.js.map +1 -0
  35. package/lib/analysis/analysis-reporter.d.ts +56 -0
  36. package/lib/analysis/analysis-reporter.js +170 -0
  37. package/lib/analysis/analysis-reporter.js.map +1 -0
  38. package/lib/analytics/error-analytics.d.ts +80 -0
  39. package/lib/analytics/error-analytics.js +162 -0
  40. package/lib/analytics/error-analytics.js.map +1 -0
  41. package/lib/commands/analyze.d.ts +49 -0
  42. package/lib/commands/analyze.js +232 -0
  43. package/lib/commands/analyze.js.map +1 -0
  44. package/lib/commands/config.d.ts +42 -0
  45. package/lib/commands/config.js +219 -0
  46. package/lib/commands/config.js.map +1 -0
  47. package/lib/commands/resume.d.ts +26 -0
  48. package/lib/commands/resume.js +69 -0
  49. package/lib/commands/resume.js.map +1 -0
  50. package/lib/commands/start.d.ts +70 -0
  51. package/lib/commands/start.js +659 -0
  52. package/lib/commands/start.js.map +1 -0
  53. package/lib/commands/status.d.ts +37 -0
  54. package/lib/commands/status.js +69 -0
  55. package/lib/commands/status.js.map +1 -0
  56. package/lib/commands/validate.d.ts +33 -0
  57. package/lib/commands/validate.js +66 -0
  58. package/lib/commands/validate.js.map +1 -0
  59. package/lib/config/repo-config.d.ts +22 -0
  60. package/lib/config/repo-config.js +31 -0
  61. package/lib/config/repo-config.js.map +1 -0
  62. package/lib/constants/agentforce-limits.d.ts +174 -0
  63. package/lib/constants/agentforce-limits.js +262 -0
  64. package/lib/constants/agentforce-limits.js.map +1 -0
  65. package/lib/constants/api-version.d.ts +70 -0
  66. package/lib/constants/api-version.js +122 -0
  67. package/lib/constants/api-version.js.map +1 -0
  68. package/lib/constants/deployment-order.d.ts +68 -0
  69. package/lib/constants/deployment-order.js +162 -0
  70. package/lib/constants/deployment-order.js.map +1 -0
  71. package/lib/constants/salesforce-limits.d.ts +107 -0
  72. package/lib/constants/salesforce-limits.js +104 -0
  73. package/lib/constants/salesforce-limits.js.map +1 -0
  74. package/lib/dependencies/circular-dependency-detector.d.ts +137 -0
  75. package/lib/dependencies/circular-dependency-detector.js +329 -0
  76. package/lib/dependencies/circular-dependency-detector.js.map +1 -0
  77. package/lib/dependencies/cycle-remediation-planner.d.ts +50 -0
  78. package/lib/dependencies/cycle-remediation-planner.js +192 -0
  79. package/lib/dependencies/cycle-remediation-planner.js.map +1 -0
  80. package/lib/dependencies/dependency-cache.d.ts +134 -0
  81. package/lib/dependencies/dependency-cache.js +303 -0
  82. package/lib/dependencies/dependency-cache.js.map +1 -0
  83. package/lib/dependencies/dependency-depth-calculator.d.ts +145 -0
  84. package/lib/dependencies/dependency-depth-calculator.js +368 -0
  85. package/lib/dependencies/dependency-depth-calculator.js.map +1 -0
  86. package/lib/dependencies/dependency-graph-builder.d.ts +151 -0
  87. package/lib/dependencies/dependency-graph-builder.js +411 -0
  88. package/lib/dependencies/dependency-graph-builder.js.map +1 -0
  89. package/lib/dependencies/dependency-impact-analyzer.d.ts +145 -0
  90. package/lib/dependencies/dependency-impact-analyzer.js +330 -0
  91. package/lib/dependencies/dependency-impact-analyzer.js.map +1 -0
  92. package/lib/dependencies/dependency-merger.d.ts +122 -0
  93. package/lib/dependencies/dependency-merger.js +245 -0
  94. package/lib/dependencies/dependency-merger.js.map +1 -0
  95. package/lib/dependencies/dependency-resolver.d.ts +157 -0
  96. package/lib/dependencies/dependency-resolver.js +298 -0
  97. package/lib/dependencies/dependency-resolver.js.map +1 -0
  98. package/lib/dependencies/dependency-validator.d.ts +123 -0
  99. package/lib/dependencies/dependency-validator.js +291 -0
  100. package/lib/dependencies/dependency-validator.js.map +1 -0
  101. package/lib/dependencies/graph-visualizer.d.ts +110 -0
  102. package/lib/dependencies/graph-visualizer.js +262 -0
  103. package/lib/dependencies/graph-visualizer.js.map +1 -0
  104. package/lib/dependencies/heuristic-inference.d.ts +136 -0
  105. package/lib/dependencies/heuristic-inference.js +430 -0
  106. package/lib/dependencies/heuristic-inference.js.map +1 -0
  107. package/lib/deployment/cycle-source-editor.d.ts +34 -0
  108. package/lib/deployment/cycle-source-editor.js +121 -0
  109. package/lib/deployment/cycle-source-editor.js.map +1 -0
  110. package/lib/deployment/deployment-error-handler.d.ts +38 -0
  111. package/lib/deployment/deployment-error-handler.js +79 -0
  112. package/lib/deployment/deployment-error-handler.js.map +1 -0
  113. package/lib/deployment/deployment-reporter.d.ts +63 -0
  114. package/lib/deployment/deployment-reporter.js +150 -0
  115. package/lib/deployment/deployment-reporter.js.map +1 -0
  116. package/lib/deployment/deployment-state-summary.d.ts +38 -0
  117. package/lib/deployment/deployment-state-summary.js +209 -0
  118. package/lib/deployment/deployment-state-summary.js.map +1 -0
  119. package/lib/deployment/deployment-status-service.d.ts +36 -0
  120. package/lib/deployment/deployment-status-service.js +128 -0
  121. package/lib/deployment/deployment-status-service.js.map +1 -0
  122. package/lib/deployment/deployment-tracker.d.ts +42 -0
  123. package/lib/deployment/deployment-tracker.js +79 -0
  124. package/lib/deployment/deployment-tracker.js.map +1 -0
  125. package/lib/deployment/deployment-validation-service.d.ts +28 -0
  126. package/lib/deployment/deployment-validation-service.js +161 -0
  127. package/lib/deployment/deployment-validation-service.js.map +1 -0
  128. package/lib/deployment/retry-handler.d.ts +37 -0
  129. package/lib/deployment/retry-handler.js +86 -0
  130. package/lib/deployment/retry-handler.js.map +1 -0
  131. package/lib/deployment/sf-cli-integration.d.ts +42 -0
  132. package/lib/deployment/sf-cli-integration.js +105 -0
  133. package/lib/deployment/sf-cli-integration.js.map +1 -0
  134. package/lib/deployment/state-manager.d.ts +61 -0
  135. package/lib/deployment/state-manager.js +83 -0
  136. package/lib/deployment/state-manager.js.map +1 -0
  137. package/lib/deployment/test-executor.d.ts +41 -0
  138. package/lib/deployment/test-executor.js +87 -0
  139. package/lib/deployment/test-executor.js.map +1 -0
  140. package/lib/errors/base-error.d.ts +24 -0
  141. package/lib/errors/base-error.js +66 -0
  142. package/lib/errors/base-error.js.map +1 -0
  143. package/lib/errors/dependency-error.d.ts +37 -0
  144. package/lib/errors/dependency-error.js +76 -0
  145. package/lib/errors/dependency-error.js.map +1 -0
  146. package/lib/errors/deployment-error.d.ts +55 -0
  147. package/lib/errors/deployment-error.js +132 -0
  148. package/lib/errors/deployment-error.js.map +1 -0
  149. package/lib/errors/index.d.ts +45 -0
  150. package/lib/errors/index.js +71 -0
  151. package/lib/errors/index.js.map +1 -0
  152. package/lib/errors/network-error.d.ts +53 -0
  153. package/lib/errors/network-error.js +111 -0
  154. package/lib/errors/network-error.js.map +1 -0
  155. package/lib/errors/parsing-error.d.ts +41 -0
  156. package/lib/errors/parsing-error.js +69 -0
  157. package/lib/errors/parsing-error.js.map +1 -0
  158. package/lib/errors/validation-error-reporter.d.ts +34 -0
  159. package/lib/errors/validation-error-reporter.js +99 -0
  160. package/lib/errors/validation-error-reporter.js.map +1 -0
  161. package/lib/errors/validation-error.d.ts +58 -0
  162. package/lib/errors/validation-error.js +131 -0
  163. package/lib/errors/validation-error.js.map +1 -0
  164. package/lib/index.d.ts +2 -0
  165. package/lib/index.js +2 -0
  166. package/lib/index.js.map +1 -0
  167. package/lib/monitoring/performance-monitor.d.ts +98 -0
  168. package/lib/monitoring/performance-monitor.js +260 -0
  169. package/lib/monitoring/performance-monitor.js.map +1 -0
  170. package/lib/parsers/apex-class-parser.d.ts +47 -0
  171. package/lib/parsers/apex-class-parser.js +368 -0
  172. package/lib/parsers/apex-class-parser.js.map +1 -0
  173. package/lib/parsers/apex-trigger-parser.d.ts +48 -0
  174. package/lib/parsers/apex-trigger-parser.js +229 -0
  175. package/lib/parsers/apex-trigger-parser.js.map +1 -0
  176. package/lib/parsers/aura-parser.d.ts +55 -0
  177. package/lib/parsers/aura-parser.js +229 -0
  178. package/lib/parsers/aura-parser.js.map +1 -0
  179. package/lib/parsers/bot-parser.d.ts +65 -0
  180. package/lib/parsers/bot-parser.js +225 -0
  181. package/lib/parsers/bot-parser.js.map +1 -0
  182. package/lib/parsers/custom-metadata-parser.d.ts +94 -0
  183. package/lib/parsers/custom-metadata-parser.js +199 -0
  184. package/lib/parsers/custom-metadata-parser.js.map +1 -0
  185. package/lib/parsers/custom-object-parser.d.ts +62 -0
  186. package/lib/parsers/custom-object-parser.js +297 -0
  187. package/lib/parsers/custom-object-parser.js.map +1 -0
  188. package/lib/parsers/email-template-parser.d.ts +64 -0
  189. package/lib/parsers/email-template-parser.js +238 -0
  190. package/lib/parsers/email-template-parser.js.map +1 -0
  191. package/lib/parsers/error-resilient-parser.d.ts +110 -0
  192. package/lib/parsers/error-resilient-parser.js +277 -0
  193. package/lib/parsers/error-resilient-parser.js.map +1 -0
  194. package/lib/parsers/flexipage-parser.d.ts +64 -0
  195. package/lib/parsers/flexipage-parser.js +196 -0
  196. package/lib/parsers/flexipage-parser.js.map +1 -0
  197. package/lib/parsers/flow-parser.d.ts +54 -0
  198. package/lib/parsers/flow-parser.js +287 -0
  199. package/lib/parsers/flow-parser.js.map +1 -0
  200. package/lib/parsers/genai-prompt-parser.d.ts +67 -0
  201. package/lib/parsers/genai-prompt-parser.js +160 -0
  202. package/lib/parsers/genai-prompt-parser.js.map +1 -0
  203. package/lib/parsers/layout-parser.d.ts +64 -0
  204. package/lib/parsers/layout-parser.js +267 -0
  205. package/lib/parsers/layout-parser.js.map +1 -0
  206. package/lib/parsers/lwc-parser.d.ts +60 -0
  207. package/lib/parsers/lwc-parser.js +264 -0
  208. package/lib/parsers/lwc-parser.js.map +1 -0
  209. package/lib/parsers/permission-set-parser.d.ts +86 -0
  210. package/lib/parsers/permission-set-parser.js +152 -0
  211. package/lib/parsers/permission-set-parser.js.map +1 -0
  212. package/lib/parsers/profile-parser.d.ts +81 -0
  213. package/lib/parsers/profile-parser.js +141 -0
  214. package/lib/parsers/profile-parser.js.map +1 -0
  215. package/lib/parsers/visualforce-parser.d.ts +47 -0
  216. package/lib/parsers/visualforce-parser.js +180 -0
  217. package/lib/parsers/visualforce-parser.js.map +1 -0
  218. package/lib/provisioning/data-provisioner.d.ts +88 -0
  219. package/lib/provisioning/data-provisioner.js +257 -0
  220. package/lib/provisioning/data-provisioner.js.map +1 -0
  221. package/lib/scanner/custom-structure-scanner.d.ts +66 -0
  222. package/lib/scanner/custom-structure-scanner.js +229 -0
  223. package/lib/scanner/custom-structure-scanner.js.map +1 -0
  224. package/lib/scanner/forceignore-parser.d.ts +69 -0
  225. package/lib/scanner/forceignore-parser.js +195 -0
  226. package/lib/scanner/forceignore-parser.js.map +1 -0
  227. package/lib/scanner/metadata-format-scanner.d.ts +77 -0
  228. package/lib/scanner/metadata-format-scanner.js +282 -0
  229. package/lib/scanner/metadata-format-scanner.js.map +1 -0
  230. package/lib/scanner/monorepo-scanner.d.ts +71 -0
  231. package/lib/scanner/monorepo-scanner.js +225 -0
  232. package/lib/scanner/monorepo-scanner.js.map +1 -0
  233. package/lib/scanner/project-validator.d.ts +55 -0
  234. package/lib/scanner/project-validator.js +235 -0
  235. package/lib/scanner/project-validator.js.map +1 -0
  236. package/lib/scanner/sfdx-project-detector.d.ts +86 -0
  237. package/lib/scanner/sfdx-project-detector.js +240 -0
  238. package/lib/scanner/sfdx-project-detector.js.map +1 -0
  239. package/lib/scanner/structure-validator.d.ts +64 -0
  240. package/lib/scanner/structure-validator.js +296 -0
  241. package/lib/scanner/structure-validator.js.map +1 -0
  242. package/lib/services/metadata-scanner-service.d.ts +64 -0
  243. package/lib/services/metadata-scanner-service.js +651 -0
  244. package/lib/services/metadata-scanner-service.js.map +1 -0
  245. package/lib/types/agentforce.d.ts +157 -0
  246. package/lib/types/agentforce.js +2 -0
  247. package/lib/types/agentforce.js.map +1 -0
  248. package/lib/types/dependency.d.ts +98 -0
  249. package/lib/types/dependency.js +5 -0
  250. package/lib/types/dependency.js.map +1 -0
  251. package/lib/types/deployment-plan.d.ts +81 -0
  252. package/lib/types/deployment-plan.js +6 -0
  253. package/lib/types/deployment-plan.js.map +1 -0
  254. package/lib/types/deployment.d.ts +88 -0
  255. package/lib/types/deployment.js +5 -0
  256. package/lib/types/deployment.js.map +1 -0
  257. package/lib/types/graph.d.ts +35 -0
  258. package/lib/types/graph.js +5 -0
  259. package/lib/types/graph.js.map +1 -0
  260. package/lib/types/index.d.ts +12 -0
  261. package/lib/types/index.js +17 -0
  262. package/lib/types/index.js.map +1 -0
  263. package/lib/types/metadata.d.ts +101 -0
  264. package/lib/types/metadata.js +13 -0
  265. package/lib/types/metadata.js.map +1 -0
  266. package/lib/types/project.d.ts +156 -0
  267. package/lib/types/project.js +56 -0
  268. package/lib/types/project.js.map +1 -0
  269. package/lib/types/salesforce/apex.d.ts +94 -0
  270. package/lib/types/salesforce/apex.js +6 -0
  271. package/lib/types/salesforce/apex.js.map +1 -0
  272. package/lib/types/salesforce/aura.d.ts +150 -0
  273. package/lib/types/salesforce/aura.js +6 -0
  274. package/lib/types/salesforce/aura.js.map +1 -0
  275. package/lib/types/salesforce/bot.d.ts +293 -0
  276. package/lib/types/salesforce/bot.js +6 -0
  277. package/lib/types/salesforce/bot.js.map +1 -0
  278. package/lib/types/salesforce/common.d.ts +15 -0
  279. package/lib/types/salesforce/common.js +5 -0
  280. package/lib/types/salesforce/common.js.map +1 -0
  281. package/lib/types/salesforce/custom-metadata.d.ts +92 -0
  282. package/lib/types/salesforce/custom-metadata.js +6 -0
  283. package/lib/types/salesforce/custom-metadata.js.map +1 -0
  284. package/lib/types/salesforce/email.d.ts +56 -0
  285. package/lib/types/salesforce/email.js +6 -0
  286. package/lib/types/salesforce/email.js.map +1 -0
  287. package/lib/types/salesforce/flexipage.d.ts +149 -0
  288. package/lib/types/salesforce/flexipage.js +6 -0
  289. package/lib/types/salesforce/flexipage.js.map +1 -0
  290. package/lib/types/salesforce/flow.d.ts +516 -0
  291. package/lib/types/salesforce/flow.js +6 -0
  292. package/lib/types/salesforce/flow.js.map +1 -0
  293. package/lib/types/salesforce/genai.d.ts +67 -0
  294. package/lib/types/salesforce/genai.js +6 -0
  295. package/lib/types/salesforce/genai.js.map +1 -0
  296. package/lib/types/salesforce/index.d.ts +27 -0
  297. package/lib/types/salesforce/index.js +43 -0
  298. package/lib/types/salesforce/index.js.map +1 -0
  299. package/lib/types/salesforce/layout.d.ts +236 -0
  300. package/lib/types/salesforce/layout.js +6 -0
  301. package/lib/types/salesforce/layout.js.map +1 -0
  302. package/lib/types/salesforce/lwc.d.ts +123 -0
  303. package/lib/types/salesforce/lwc.js +6 -0
  304. package/lib/types/salesforce/lwc.js.map +1 -0
  305. package/lib/types/salesforce/object.d.ts +427 -0
  306. package/lib/types/salesforce/object.js +6 -0
  307. package/lib/types/salesforce/object.js.map +1 -0
  308. package/lib/types/salesforce/parser-types.d.ts +79 -0
  309. package/lib/types/salesforce/parser-types.js +80 -0
  310. package/lib/types/salesforce/parser-types.js.map +1 -0
  311. package/lib/types/salesforce/permission.d.ts +289 -0
  312. package/lib/types/salesforce/permission.js +6 -0
  313. package/lib/types/salesforce/permission.js.map +1 -0
  314. package/lib/types/salesforce/resource.d.ts +93 -0
  315. package/lib/types/salesforce/resource.js +6 -0
  316. package/lib/types/salesforce/resource.js.map +1 -0
  317. package/lib/types/salesforce/visualforce.d.ts +70 -0
  318. package/lib/types/salesforce/visualforce.js +6 -0
  319. package/lib/types/salesforce/visualforce.js.map +1 -0
  320. package/lib/utils/cache-manager.d.ts +158 -0
  321. package/lib/utils/cache-manager.js +429 -0
  322. package/lib/utils/cache-manager.js.map +1 -0
  323. package/lib/utils/deployment-plan-manager.d.ts +40 -0
  324. package/lib/utils/deployment-plan-manager.js +183 -0
  325. package/lib/utils/deployment-plan-manager.js.map +1 -0
  326. package/lib/utils/error-aggregator.d.ts +117 -0
  327. package/lib/utils/error-aggregator.js +268 -0
  328. package/lib/utils/error-aggregator.js.map +1 -0
  329. package/lib/utils/file-system.d.ts +62 -0
  330. package/lib/utils/file-system.js +167 -0
  331. package/lib/utils/file-system.js.map +1 -0
  332. package/lib/utils/functional.d.ts +52 -0
  333. package/lib/utils/functional.js +61 -0
  334. package/lib/utils/functional.js.map +1 -0
  335. package/lib/utils/graph-algorithms.d.ts +53 -0
  336. package/lib/utils/graph-algorithms.js +177 -0
  337. package/lib/utils/graph-algorithms.js.map +1 -0
  338. package/lib/utils/logger.d.ts +154 -0
  339. package/lib/utils/logger.js +327 -0
  340. package/lib/utils/logger.js.map +1 -0
  341. package/lib/utils/network-handler.d.ts +64 -0
  342. package/lib/utils/network-handler.js +147 -0
  343. package/lib/utils/network-handler.js.map +1 -0
  344. package/lib/utils/performance.d.ts +148 -0
  345. package/lib/utils/performance.js +294 -0
  346. package/lib/utils/performance.js.map +1 -0
  347. package/lib/utils/string.d.ts +197 -0
  348. package/lib/utils/string.js +331 -0
  349. package/lib/utils/string.js.map +1 -0
  350. package/lib/utils/xml.d.ts +97 -0
  351. package/lib/utils/xml.js +227 -0
  352. package/lib/utils/xml.js.map +1 -0
  353. package/lib/validators/xml-metadata-validator.d.ts +106 -0
  354. package/lib/validators/xml-metadata-validator.js +509 -0
  355. package/lib/validators/xml-metadata-validator.js.map +1 -0
  356. package/lib/waves/priority-wave-generator-ai.d.ts +85 -0
  357. package/lib/waves/priority-wave-generator-ai.js +191 -0
  358. package/lib/waves/priority-wave-generator-ai.js.map +1 -0
  359. package/lib/waves/priority-wave-generator.d.ts +47 -0
  360. package/lib/waves/priority-wave-generator.js +88 -0
  361. package/lib/waves/priority-wave-generator.js.map +1 -0
  362. package/lib/waves/test-optimizer.d.ts +155 -0
  363. package/lib/waves/test-optimizer.js +290 -0
  364. package/lib/waves/test-optimizer.js.map +1 -0
  365. package/lib/waves/wave-builder.d.ts +147 -0
  366. package/lib/waves/wave-builder.js +286 -0
  367. package/lib/waves/wave-builder.js.map +1 -0
  368. package/lib/waves/wave-diff-generator.d.ts +17 -0
  369. package/lib/waves/wave-diff-generator.js +6 -0
  370. package/lib/waves/wave-diff-generator.js.map +1 -0
  371. package/lib/waves/wave-executor.d.ts +33 -0
  372. package/lib/waves/wave-executor.js +50 -0
  373. package/lib/waves/wave-executor.js.map +1 -0
  374. package/lib/waves/wave-merger.d.ts +96 -0
  375. package/lib/waves/wave-merger.js +181 -0
  376. package/lib/waves/wave-merger.js.map +1 -0
  377. package/lib/waves/wave-metadata-generator.d.ts +13 -0
  378. package/lib/waves/wave-metadata-generator.js +12 -0
  379. package/lib/waves/wave-metadata-generator.js.map +1 -0
  380. package/lib/waves/wave-splitter.d.ts +154 -0
  381. package/lib/waves/wave-splitter.js +307 -0
  382. package/lib/waves/wave-splitter.js.map +1 -0
  383. package/lib/waves/wave-validator.d.ts +17 -0
  384. package/lib/waves/wave-validator.js +15 -0
  385. package/lib/waves/wave-validator.js.map +1 -0
  386. package/messages/analyze.json +18 -0
  387. package/messages/config.json +29 -0
  388. package/messages/resume.json +9 -0
  389. package/messages/start.json +24 -0
  390. package/messages/status.json +8 -0
  391. package/messages/validate.json +9 -0
  392. package/npm-shrinkwrap.json +25676 -0
  393. package/oclif.lock +11988 -0
  394. package/oclif.manifest.json +589 -0
  395. package/package.json +224 -0
@@ -0,0 +1,293 @@
1
+ /**
2
+ * Type definitions for Salesforce Bot metadata
3
+ * Represents Einstein Bot (.bot-meta.xml) metadata structures
4
+ */
5
+ import type { SortOrder } from './layout.js';
6
+ export type { SortOrder };
7
+ /**
8
+ * Bot metadata (.bot-meta.xml)
9
+ */
10
+ export type BotMetadata = {
11
+ botMlDomain?: BotMlDomain;
12
+ botVersions?: BotVersion[];
13
+ contextVariables?: ConversationContextVariable[];
14
+ description?: string;
15
+ label: string;
16
+ logPrivateConversationData?: boolean;
17
+ mlIntents?: MlIntent[];
18
+ mlSlotClasses?: MlSlotClass[];
19
+ };
20
+ /**
21
+ * Bot Version
22
+ */
23
+ export type BotVersion = {
24
+ botDialogs?: BotDialog[];
25
+ conversationVariables?: ConversationVariable[];
26
+ entryDialog?: string;
27
+ mainMenuDialog?: string;
28
+ responseDelayMilliseconds?: number;
29
+ };
30
+ /**
31
+ * Bot Dialog
32
+ */
33
+ export type BotDialog = {
34
+ botSteps?: BotStep[];
35
+ developerName: string;
36
+ label: string;
37
+ mlIntent?: string;
38
+ mlIntentTrainingEnabled?: boolean;
39
+ showInFooterMenu?: boolean;
40
+ };
41
+ /**
42
+ * Bot Step
43
+ */
44
+ export type BotStep = {
45
+ booleanFilter?: string;
46
+ botInvocation?: BotInvocation;
47
+ botMessages?: BotMessage[];
48
+ botNavigation?: BotNavigation;
49
+ botStepConditions?: BotStepCondition[];
50
+ botSteps?: BotStep[];
51
+ botVariableOperation?: BotVariableOperation;
52
+ conversationRecordLookup?: ConversationRecordLookup;
53
+ messageDefinition?: BotMessage;
54
+ stepIdentifier?: string;
55
+ type: BotStepType;
56
+ };
57
+ /**
58
+ * Bot Step Type
59
+ */
60
+ export type BotStepType = 'Navigation' | 'Message' | 'Question' | 'Action' | 'SystemMessage' | 'Group' | 'RecordLookup' | 'Wait' | 'VariableOperation';
61
+ /**
62
+ * Bot Invocation
63
+ */
64
+ export type BotInvocation = {
65
+ invocationActionName?: string;
66
+ invocationActionType?: BotInvocationActionType;
67
+ invocationMappings?: BotInvocationMapping[];
68
+ };
69
+ /**
70
+ * Bot Invocation Action Type
71
+ */
72
+ export type BotInvocationActionType = 'flow' | 'apex' | 'prompt' | 'externalService' | 'standardInvocableAction';
73
+ /**
74
+ * Bot Invocation Mapping
75
+ */
76
+ export type BotInvocationMapping = {
77
+ parameterName: string;
78
+ type: BotInvocationMappingType;
79
+ value?: string;
80
+ variableName?: string;
81
+ variableType?: ConversationVariableType;
82
+ };
83
+ /**
84
+ * Bot Invocation Mapping Type
85
+ */
86
+ export type BotInvocationMappingType = 'Value' | 'Variable' | 'StandardVariable';
87
+ /**
88
+ * Bot Message
89
+ */
90
+ export type BotMessage = {
91
+ message: string;
92
+ messageIdentifier?: string;
93
+ };
94
+ /**
95
+ * Bot Navigation
96
+ */
97
+ export type BotNavigation = {
98
+ botNavigationLinks?: BotNavigationLink[];
99
+ type: BotNavigationType;
100
+ };
101
+ /**
102
+ * Bot Navigation Type
103
+ */
104
+ export type BotNavigationType = 'Redirect' | 'DialogGroup' | 'Menu' | 'CloseConversation';
105
+ /**
106
+ * Bot Navigation Link
107
+ */
108
+ export type BotNavigationLink = {
109
+ label?: string;
110
+ targetBotDialog?: string;
111
+ targetVariable?: string;
112
+ targetVariableType?: string;
113
+ };
114
+ /**
115
+ * Bot Step Condition
116
+ */
117
+ export type BotStepCondition = {
118
+ leftOperand: string;
119
+ leftOperandType?: string;
120
+ operatorType: string;
121
+ rightOperandValue?: string;
122
+ };
123
+ /**
124
+ * Bot Variable Operation
125
+ */
126
+ export type BotVariableOperation = {
127
+ askCollectIfSet?: boolean;
128
+ botInvocation?: BotInvocation;
129
+ botMessages?: BotMessage[];
130
+ botQuickReplyOptions?: BotQuickReplyOption[];
131
+ botVariableOperands?: BotVariableOperand[];
132
+ invalidInputBotNavigation?: BotNavigation;
133
+ optionalRecordId?: string;
134
+ quickReplyOptionTemplate?: string;
135
+ quickReplyType?: BotQuickReplyType;
136
+ quickReplyWidgetType?: string;
137
+ retryMessages?: BotMessage[];
138
+ sourceVariableName?: string;
139
+ sourceVariableType?: ConversationVariableType;
140
+ successOutputName?: string;
141
+ targetVariableName?: string;
142
+ type: BotVariableOperationType;
143
+ };
144
+ /**
145
+ * Bot Variable Operation Type
146
+ */
147
+ export type BotVariableOperationType = 'Set' | 'Collect' | 'SetList' | 'Search' | 'Extract' | 'SendRecord';
148
+ /**
149
+ * Bot Quick Reply Option
150
+ */
151
+ export type BotQuickReplyOption = {
152
+ literalValue?: string;
153
+ quickReplyOrder?: number;
154
+ };
155
+ /**
156
+ * Bot Quick Reply Type
157
+ */
158
+ export type BotQuickReplyType = 'Static' | 'Dynamic';
159
+ /**
160
+ * Bot Variable Operand
161
+ */
162
+ export type BotVariableOperand = {
163
+ disableAutoFill?: boolean;
164
+ formulaExpression?: string;
165
+ sourceValue?: string;
166
+ targetVariableName: string;
167
+ targetVariableType?: ConversationVariableType;
168
+ };
169
+ /**
170
+ * Conversation Record Lookup
171
+ */
172
+ export type ConversationRecordLookup = {
173
+ SObjectType: string;
174
+ conditions?: ConversationRecordLookupCondition[];
175
+ fields?: ConversationRecordLookupField[];
176
+ filterLogic?: string;
177
+ lookupFields?: ConversationRecordLookupField[];
178
+ maxLookupResults?: number;
179
+ sortFieldName?: string;
180
+ sortOrder?: SortOrder;
181
+ sourceVariableName?: string;
182
+ sourceVariableType?: ConversationVariableType;
183
+ targetVariableName: string;
184
+ };
185
+ /**
186
+ * Conversation Record Lookup Condition
187
+ */
188
+ export type ConversationRecordLookupCondition = {
189
+ leftOperand: string;
190
+ operatorType: string;
191
+ rightOperandName?: string;
192
+ rightOperandType?: string;
193
+ rightOperandValue?: string;
194
+ sortOrder: number;
195
+ };
196
+ /**
197
+ * Conversation Record Lookup Field
198
+ */
199
+ export type ConversationRecordLookupField = {
200
+ fieldName: string;
201
+ };
202
+ /**
203
+ * Conversation Variable
204
+ */
205
+ export type ConversationVariable = {
206
+ SObjectType?: string;
207
+ collectionType?: ConversationVariableCollectionType;
208
+ dataType: ConversationVariableType;
209
+ developerName: string;
210
+ label: string;
211
+ };
212
+ /**
213
+ * Conversation Variable Type
214
+ */
215
+ export type ConversationVariableType = 'Text' | 'Number' | 'Boolean' | 'Date' | 'DateTime' | 'Currency' | 'SObject' | 'Object';
216
+ /**
217
+ * Conversation Variable Collection Type
218
+ */
219
+ export type ConversationVariableCollectionType = 'List' | 'None';
220
+ /**
221
+ * Conversation Context Variable
222
+ */
223
+ export type ConversationContextVariable = {
224
+ SObjectType?: string;
225
+ dataType: ConversationVariableType;
226
+ developerName: string;
227
+ label: string;
228
+ };
229
+ /**
230
+ * Bot ML Domain
231
+ */
232
+ export type BotMlDomain = {
233
+ label: string;
234
+ mlIntents?: MlIntent[];
235
+ name: string;
236
+ };
237
+ /**
238
+ * ML Intent
239
+ */
240
+ export type MlIntent = {
241
+ description?: string;
242
+ developerName: string;
243
+ label: string;
244
+ mlIntentUtterances?: MlIntentUtterance[];
245
+ relatedMlIntents?: RelatedMlIntent[];
246
+ };
247
+ /**
248
+ * ML Intent Utterance
249
+ */
250
+ export type MlIntentUtterance = {
251
+ utterance: string;
252
+ };
253
+ /**
254
+ * Related ML Intent
255
+ */
256
+ export type RelatedMlIntent = {
257
+ relatedMlIntent: string;
258
+ };
259
+ /**
260
+ * ML Slot Class
261
+ */
262
+ export type MlSlotClass = {
263
+ dataType: string;
264
+ developerName: string;
265
+ extractionRegex?: string;
266
+ extractionType?: MlSlotClassExtractionType;
267
+ label: string;
268
+ mlSlotClassValues?: MlSlotClassValue[];
269
+ };
270
+ /**
271
+ * ML Slot Class Extraction Type
272
+ */
273
+ export type MlSlotClassExtractionType = 'Pattern' | 'Entity';
274
+ /**
275
+ * ML Slot Class Value
276
+ */
277
+ export type MlSlotClassValue = {
278
+ synonymGroup?: SynonymGroup;
279
+ value: string;
280
+ };
281
+ /**
282
+ * Synonym Group
283
+ */
284
+ export type SynonymGroup = {
285
+ languages?: Language[];
286
+ terms: string[];
287
+ };
288
+ /**
289
+ * Language
290
+ */
291
+ export type Language = {
292
+ language: string;
293
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Type definitions for Salesforce Bot metadata
3
+ * Represents Einstein Bot (.bot-meta.xml) metadata structures
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=bot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bot.js","sourceRoot":"","sources":["../../../src/types/salesforce/bot.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Common types used across multiple Salesforce metadata types
3
+ */
4
+ /**
5
+ * Package version reference
6
+ */
7
+ export type PackageVersion = {
8
+ majorNumber: number;
9
+ minorNumber: number;
10
+ namespace: string;
11
+ };
12
+ /**
13
+ * Encoding types supported by Salesforce
14
+ */
15
+ export type Encoding = 'UTF-8' | 'ISO-8859-1' | 'Shift_JIS' | 'ISO-2022-JP' | 'EUC-JP' | 'ks_c_5601-1987' | 'Big5' | 'GB2312' | 'Big5-HKSCS' | 'x-SJIS_0213';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Common types used across multiple Salesforce metadata types
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/types/salesforce/common.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,92 @@
1
+ /**
2
+ * Type definitions for Salesforce Custom Metadata Type
3
+ * Represents CustomMetadata metadata structures (.md-meta.xml and .md files)
4
+ */
5
+ import type { FieldManageability } from './object.js';
6
+ /**
7
+ * Custom Metadata Type metadata (.md-meta.xml)
8
+ */
9
+ export type CustomMetadataType = {
10
+ label: string;
11
+ pluralLabel: string;
12
+ description?: string;
13
+ visibility?: CustomMetadataVisibility;
14
+ fields?: CustomMetadataField[];
15
+ };
16
+ /**
17
+ * Custom Metadata Type visibility
18
+ */
19
+ export type CustomMetadataVisibility = 'PackageProtected' | 'Protected' | 'Public';
20
+ /**
21
+ * Custom Metadata Type field definition
22
+ */
23
+ export type CustomMetadataField = {
24
+ fullName: string;
25
+ label: string;
26
+ type: CustomMetadataFieldType;
27
+ businessOwnerGroup?: string;
28
+ businessOwnerUser?: string;
29
+ businessStatus?: string;
30
+ caseSensitive?: boolean;
31
+ defaultValue?: string;
32
+ deprecated?: boolean;
33
+ description?: string;
34
+ externalId?: boolean;
35
+ fieldManageability?: FieldManageability;
36
+ inlineHelpText?: string;
37
+ length?: number;
38
+ precision?: number;
39
+ referenceTo?: string;
40
+ referenceTargetField?: string;
41
+ relationshipLabel?: string;
42
+ relationshipName?: string;
43
+ required?: boolean;
44
+ scale?: number;
45
+ unique?: boolean;
46
+ valueSet?: CustomMetadataValueSet;
47
+ visibleLines?: number;
48
+ };
49
+ /**
50
+ * Custom Metadata Field Type
51
+ */
52
+ export type CustomMetadataFieldType = 'Checkbox' | 'Date' | 'DateTime' | 'Email' | 'MetadataRelationship' | 'Number' | 'Percent' | 'Phone' | 'Picklist' | 'Text' | 'TextArea' | 'LongTextArea' | 'Url';
53
+ /**
54
+ * Custom Metadata Value Set (for picklists)
55
+ */
56
+ export type CustomMetadataValueSet = {
57
+ restricted?: boolean;
58
+ valueSetDefinition?: CustomMetadataValueSetDefinition;
59
+ };
60
+ /**
61
+ * Custom Metadata Value Set Definition
62
+ */
63
+ export type CustomMetadataValueSetDefinition = {
64
+ sorted: boolean;
65
+ value: CustomMetadataValue[];
66
+ };
67
+ /**
68
+ * Custom Metadata Value (picklist value)
69
+ */
70
+ export type CustomMetadataValue = {
71
+ fullName: string;
72
+ default: boolean;
73
+ label: string;
74
+ color?: string;
75
+ isActive?: boolean;
76
+ };
77
+ /**
78
+ * Custom Metadata Record (.md file)
79
+ */
80
+ export type CustomMetadataRecord = {
81
+ label: string;
82
+ language?: string;
83
+ protected?: boolean;
84
+ values?: CustomMetadataRecordValue[];
85
+ };
86
+ /**
87
+ * Custom Metadata Record Value
88
+ */
89
+ export type CustomMetadataRecordValue = {
90
+ field: string;
91
+ value: unknown;
92
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Type definitions for Salesforce Custom Metadata Type
3
+ * Represents CustomMetadata metadata structures (.md-meta.xml and .md files)
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=custom-metadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-metadata.js","sourceRoot":"","sources":["../../../src/types/salesforce/custom-metadata.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Type definitions for Salesforce Email metadata
3
+ * Represents EmailTemplate metadata structures
4
+ */
5
+ import type { Encoding, PackageVersion } from './common.js';
6
+ /**
7
+ * Email Template metadata (.email-meta.xml)
8
+ */
9
+ export type EmailTemplateMetadata = {
10
+ apiVersion?: string;
11
+ available: boolean;
12
+ description?: string;
13
+ encodingKey: Encoding;
14
+ name: string;
15
+ style: EmailTemplateStyle;
16
+ subject?: string;
17
+ textOnly?: string;
18
+ type: EmailTemplateType;
19
+ uiType?: EmailTemplateUiType;
20
+ attachedContentDocuments?: string[];
21
+ attachments?: Attachment[];
22
+ letterhead?: string;
23
+ packageVersions?: PackageVersion[];
24
+ relatedEntityType?: string;
25
+ visualforcePage?: string;
26
+ };
27
+ /**
28
+ * Email Template Style
29
+ */
30
+ export type EmailTemplateStyle = 'none' | 'freeForm' | 'formalLetter' | 'promotionRight' | 'promotionLeft' | 'newsletter' | 'products';
31
+ /**
32
+ * Email Template Type
33
+ */
34
+ export type EmailTemplateType = 'text' | 'html' | 'custom' | 'visualforce';
35
+ /**
36
+ * Email Template UI Type
37
+ */
38
+ export type EmailTemplateUiType = 'Aloha' | 'SFX' | 'SFX_MailMerge';
39
+ /**
40
+ * Attachment
41
+ */
42
+ export type Attachment = {
43
+ content: string;
44
+ name: string;
45
+ };
46
+ /**
47
+ * Email merge field
48
+ */
49
+ export type EmailMergeField = {
50
+ field: string;
51
+ objectName: string;
52
+ };
53
+ /**
54
+ * Email recipient type
55
+ */
56
+ export type EmailRecipientType = 'User' | 'Contact' | 'Lead' | 'Person' | 'Group' | 'Portal';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Type definitions for Salesforce Email metadata
3
+ * Represents EmailTemplate metadata structures
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=email.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.js","sourceRoot":"","sources":["../../../src/types/salesforce/email.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -0,0 +1,149 @@
1
+ /**
2
+ * Type definitions for Salesforce FlexiPage metadata
3
+ * Represents Lightning Page (.flexipage-meta.xml) metadata structures
4
+ */
5
+ import type { PlatformActionList, QuickActionList } from './layout.js';
6
+ export type { PlatformActionList, QuickActionList };
7
+ /**
8
+ * FlexiPage metadata (.flexipage-meta.xml)
9
+ */
10
+ export type FlexiPageMetadata = {
11
+ description?: string;
12
+ flexiPageRegions?: FlexiPageRegion[];
13
+ masterLabel: string;
14
+ sobjectType?: string;
15
+ template?: FlexiPageTemplateInstance;
16
+ type: FlexiPageType;
17
+ events?: FlexiPageEvent[];
18
+ parentFlexiPage?: string;
19
+ platformActionList?: PlatformActionList;
20
+ quickActionList?: QuickActionList;
21
+ };
22
+ /**
23
+ * FlexiPage Type
24
+ */
25
+ export type FlexiPageType = 'AppPage' | 'HomePage' | 'RecordPage' | 'CommAppPage' | 'CommForgotPasswordPage' | 'CommLoginPage' | 'CommObjectPage' | 'CommSearchResultPage' | 'CommSelfRegisterPage' | 'CommThemeLayoutPage' | 'UtilityBar' | 'FlowScreen';
26
+ /**
27
+ * FlexiPage Region
28
+ */
29
+ export type FlexiPageRegion = {
30
+ appendable?: RegionFlagStatus;
31
+ itemInstances?: ItemInstance[];
32
+ mode?: FlexiPageRegionMode;
33
+ name: string;
34
+ prependable?: RegionFlagStatus;
35
+ replaceable?: RegionFlagStatus;
36
+ type: FlexiPageRegionType;
37
+ };
38
+ /**
39
+ * FlexiPage Region Type
40
+ */
41
+ export type FlexiPageRegionType = 'Region' | 'Background' | 'Facet';
42
+ /**
43
+ * FlexiPage Region Mode
44
+ */
45
+ export type FlexiPageRegionMode = 'Append' | 'Prepend' | 'Replace';
46
+ /**
47
+ * Region Flag Status
48
+ */
49
+ export type RegionFlagStatus = 'Default' | 'false';
50
+ /**
51
+ * Item Instance
52
+ */
53
+ export type ItemInstance = {
54
+ componentInstance?: ComponentInstance;
55
+ fieldInstance?: FieldInstance;
56
+ };
57
+ /**
58
+ * Component Instance
59
+ */
60
+ export type ComponentInstance = {
61
+ componentInstanceProperties?: ComponentInstanceProperty[];
62
+ componentName: string;
63
+ identifier?: string;
64
+ visibilityRule?: UiFormulaRule;
65
+ };
66
+ /**
67
+ * Component Instance Property
68
+ */
69
+ export type ComponentInstanceProperty = {
70
+ name: string;
71
+ type?: ComponentInstancePropertyTypeEnum;
72
+ value?: string;
73
+ valueList?: ComponentInstancePropertyList;
74
+ };
75
+ /**
76
+ * Component Instance Property Type
77
+ */
78
+ export type ComponentInstancePropertyTypeEnum = 'decorator' | 'string';
79
+ /**
80
+ * Component Instance Property List
81
+ */
82
+ export type ComponentInstancePropertyList = {
83
+ valueListItems?: ComponentInstancePropertyListItem[];
84
+ };
85
+ /**
86
+ * Component Instance Property List Item
87
+ */
88
+ export type ComponentInstancePropertyListItem = {
89
+ value: string;
90
+ visibilityRule?: UiFormulaRule;
91
+ };
92
+ /**
93
+ * Field Instance
94
+ */
95
+ export type FieldInstance = {
96
+ fieldInstanceProperties?: FieldInstanceProperty[];
97
+ fieldItem: string;
98
+ identifier?: string;
99
+ visibilityRule?: UiFormulaRule;
100
+ };
101
+ /**
102
+ * Field Instance Property
103
+ */
104
+ export type FieldInstanceProperty = {
105
+ name: string;
106
+ value?: string;
107
+ };
108
+ /**
109
+ * UI Formula Rule
110
+ */
111
+ export type UiFormulaRule = {
112
+ booleanFilter?: string;
113
+ criteria?: UiFormulaCriterion[];
114
+ };
115
+ /**
116
+ * UI Formula Criterion
117
+ */
118
+ export type UiFormulaCriterion = {
119
+ leftValue: string;
120
+ operator: string;
121
+ rightValue?: string;
122
+ };
123
+ /**
124
+ * FlexiPage Template Instance
125
+ */
126
+ export type FlexiPageTemplateInstance = {
127
+ name: string;
128
+ properties?: FlexiPageTemplateProperty[];
129
+ };
130
+ /**
131
+ * FlexiPage Template Property
132
+ */
133
+ export type FlexiPageTemplateProperty = {
134
+ name: string;
135
+ type?: FlexiPageTemplatePropertyType;
136
+ value?: string;
137
+ };
138
+ /**
139
+ * FlexiPage Template Property Type
140
+ */
141
+ export type FlexiPageTemplatePropertyType = 'string' | 'integer' | 'boolean';
142
+ /**
143
+ * FlexiPage Event
144
+ */
145
+ export type FlexiPageEvent = {
146
+ name: string;
147
+ type: string;
148
+ };
149
+ export type { PlatformActionListContext, PlatformActionListItem, PlatformActionType, QuickActionListItem, } from './layout.js';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Type definitions for Salesforce FlexiPage metadata
3
+ * Represents Lightning Page (.flexipage-meta.xml) metadata structures
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=flexipage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flexipage.js","sourceRoot":"","sources":["../../../src/types/salesforce/flexipage.ts"],"names":[],"mappings":"AAAA;;;GAGG"}