@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.
- package/README.md +193 -0
- package/lib/ai/agentforce-error-handler.d.ts +81 -0
- package/lib/ai/agentforce-error-handler.js +196 -0
- package/lib/ai/agentforce-error-handler.js.map +1 -0
- package/lib/ai/agentforce-priority-service.d.ts +82 -0
- package/lib/ai/agentforce-priority-service.js +257 -0
- package/lib/ai/agentforce-priority-service.js.map +1 -0
- package/lib/ai/agentforce-service.d.ts +99 -0
- package/lib/ai/agentforce-service.js +300 -0
- package/lib/ai/agentforce-service.js.map +1 -0
- package/lib/ai/circuit-breaker.d.ts +115 -0
- package/lib/ai/circuit-breaker.js +277 -0
- package/lib/ai/circuit-breaker.js.map +1 -0
- package/lib/ai/dependency-inference-service.d.ts +76 -0
- package/lib/ai/dependency-inference-service.js +220 -0
- package/lib/ai/dependency-inference-service.js.map +1 -0
- package/lib/ai/llm-provider-factory.d.ts +15 -0
- package/lib/ai/llm-provider-factory.js +36 -0
- package/lib/ai/llm-provider-factory.js.map +1 -0
- package/lib/ai/llm-provider.d.ts +27 -0
- package/lib/ai/llm-provider.js +2 -0
- package/lib/ai/llm-provider.js.map +1 -0
- package/lib/ai/openai-service.d.ts +20 -0
- package/lib/ai/openai-service.js +89 -0
- package/lib/ai/openai-service.js.map +1 -0
- package/lib/ai/prompt-builder.d.ts +79 -0
- package/lib/ai/prompt-builder.js +180 -0
- package/lib/ai/prompt-builder.js.map +1 -0
- package/lib/ai/response-parser.d.ts +67 -0
- package/lib/ai/response-parser.js +234 -0
- package/lib/ai/response-parser.js.map +1 -0
- package/lib/ai/wave-validation-service.d.ts +111 -0
- package/lib/ai/wave-validation-service.js +381 -0
- package/lib/ai/wave-validation-service.js.map +1 -0
- package/lib/analysis/analysis-reporter.d.ts +56 -0
- package/lib/analysis/analysis-reporter.js +170 -0
- package/lib/analysis/analysis-reporter.js.map +1 -0
- package/lib/analytics/error-analytics.d.ts +80 -0
- package/lib/analytics/error-analytics.js +162 -0
- package/lib/analytics/error-analytics.js.map +1 -0
- package/lib/commands/analyze.d.ts +49 -0
- package/lib/commands/analyze.js +232 -0
- package/lib/commands/analyze.js.map +1 -0
- package/lib/commands/config.d.ts +42 -0
- package/lib/commands/config.js +219 -0
- package/lib/commands/config.js.map +1 -0
- package/lib/commands/resume.d.ts +26 -0
- package/lib/commands/resume.js +69 -0
- package/lib/commands/resume.js.map +1 -0
- package/lib/commands/start.d.ts +70 -0
- package/lib/commands/start.js +659 -0
- package/lib/commands/start.js.map +1 -0
- package/lib/commands/status.d.ts +37 -0
- package/lib/commands/status.js +69 -0
- package/lib/commands/status.js.map +1 -0
- package/lib/commands/validate.d.ts +33 -0
- package/lib/commands/validate.js +66 -0
- package/lib/commands/validate.js.map +1 -0
- package/lib/config/repo-config.d.ts +22 -0
- package/lib/config/repo-config.js +31 -0
- package/lib/config/repo-config.js.map +1 -0
- package/lib/constants/agentforce-limits.d.ts +174 -0
- package/lib/constants/agentforce-limits.js +262 -0
- package/lib/constants/agentforce-limits.js.map +1 -0
- package/lib/constants/api-version.d.ts +70 -0
- package/lib/constants/api-version.js +122 -0
- package/lib/constants/api-version.js.map +1 -0
- package/lib/constants/deployment-order.d.ts +68 -0
- package/lib/constants/deployment-order.js +162 -0
- package/lib/constants/deployment-order.js.map +1 -0
- package/lib/constants/salesforce-limits.d.ts +107 -0
- package/lib/constants/salesforce-limits.js +104 -0
- package/lib/constants/salesforce-limits.js.map +1 -0
- package/lib/dependencies/circular-dependency-detector.d.ts +137 -0
- package/lib/dependencies/circular-dependency-detector.js +329 -0
- package/lib/dependencies/circular-dependency-detector.js.map +1 -0
- package/lib/dependencies/cycle-remediation-planner.d.ts +50 -0
- package/lib/dependencies/cycle-remediation-planner.js +192 -0
- package/lib/dependencies/cycle-remediation-planner.js.map +1 -0
- package/lib/dependencies/dependency-cache.d.ts +134 -0
- package/lib/dependencies/dependency-cache.js +303 -0
- package/lib/dependencies/dependency-cache.js.map +1 -0
- package/lib/dependencies/dependency-depth-calculator.d.ts +145 -0
- package/lib/dependencies/dependency-depth-calculator.js +368 -0
- package/lib/dependencies/dependency-depth-calculator.js.map +1 -0
- package/lib/dependencies/dependency-graph-builder.d.ts +151 -0
- package/lib/dependencies/dependency-graph-builder.js +411 -0
- package/lib/dependencies/dependency-graph-builder.js.map +1 -0
- package/lib/dependencies/dependency-impact-analyzer.d.ts +145 -0
- package/lib/dependencies/dependency-impact-analyzer.js +330 -0
- package/lib/dependencies/dependency-impact-analyzer.js.map +1 -0
- package/lib/dependencies/dependency-merger.d.ts +122 -0
- package/lib/dependencies/dependency-merger.js +245 -0
- package/lib/dependencies/dependency-merger.js.map +1 -0
- package/lib/dependencies/dependency-resolver.d.ts +157 -0
- package/lib/dependencies/dependency-resolver.js +298 -0
- package/lib/dependencies/dependency-resolver.js.map +1 -0
- package/lib/dependencies/dependency-validator.d.ts +123 -0
- package/lib/dependencies/dependency-validator.js +291 -0
- package/lib/dependencies/dependency-validator.js.map +1 -0
- package/lib/dependencies/graph-visualizer.d.ts +110 -0
- package/lib/dependencies/graph-visualizer.js +262 -0
- package/lib/dependencies/graph-visualizer.js.map +1 -0
- package/lib/dependencies/heuristic-inference.d.ts +136 -0
- package/lib/dependencies/heuristic-inference.js +430 -0
- package/lib/dependencies/heuristic-inference.js.map +1 -0
- package/lib/deployment/cycle-source-editor.d.ts +34 -0
- package/lib/deployment/cycle-source-editor.js +121 -0
- package/lib/deployment/cycle-source-editor.js.map +1 -0
- package/lib/deployment/deployment-error-handler.d.ts +38 -0
- package/lib/deployment/deployment-error-handler.js +79 -0
- package/lib/deployment/deployment-error-handler.js.map +1 -0
- package/lib/deployment/deployment-reporter.d.ts +63 -0
- package/lib/deployment/deployment-reporter.js +150 -0
- package/lib/deployment/deployment-reporter.js.map +1 -0
- package/lib/deployment/deployment-state-summary.d.ts +38 -0
- package/lib/deployment/deployment-state-summary.js +209 -0
- package/lib/deployment/deployment-state-summary.js.map +1 -0
- package/lib/deployment/deployment-status-service.d.ts +36 -0
- package/lib/deployment/deployment-status-service.js +128 -0
- package/lib/deployment/deployment-status-service.js.map +1 -0
- package/lib/deployment/deployment-tracker.d.ts +42 -0
- package/lib/deployment/deployment-tracker.js +79 -0
- package/lib/deployment/deployment-tracker.js.map +1 -0
- package/lib/deployment/deployment-validation-service.d.ts +28 -0
- package/lib/deployment/deployment-validation-service.js +161 -0
- package/lib/deployment/deployment-validation-service.js.map +1 -0
- package/lib/deployment/retry-handler.d.ts +37 -0
- package/lib/deployment/retry-handler.js +86 -0
- package/lib/deployment/retry-handler.js.map +1 -0
- package/lib/deployment/sf-cli-integration.d.ts +42 -0
- package/lib/deployment/sf-cli-integration.js +105 -0
- package/lib/deployment/sf-cli-integration.js.map +1 -0
- package/lib/deployment/state-manager.d.ts +61 -0
- package/lib/deployment/state-manager.js +83 -0
- package/lib/deployment/state-manager.js.map +1 -0
- package/lib/deployment/test-executor.d.ts +41 -0
- package/lib/deployment/test-executor.js +87 -0
- package/lib/deployment/test-executor.js.map +1 -0
- package/lib/errors/base-error.d.ts +24 -0
- package/lib/errors/base-error.js +66 -0
- package/lib/errors/base-error.js.map +1 -0
- package/lib/errors/dependency-error.d.ts +37 -0
- package/lib/errors/dependency-error.js +76 -0
- package/lib/errors/dependency-error.js.map +1 -0
- package/lib/errors/deployment-error.d.ts +55 -0
- package/lib/errors/deployment-error.js +132 -0
- package/lib/errors/deployment-error.js.map +1 -0
- package/lib/errors/index.d.ts +45 -0
- package/lib/errors/index.js +71 -0
- package/lib/errors/index.js.map +1 -0
- package/lib/errors/network-error.d.ts +53 -0
- package/lib/errors/network-error.js +111 -0
- package/lib/errors/network-error.js.map +1 -0
- package/lib/errors/parsing-error.d.ts +41 -0
- package/lib/errors/parsing-error.js +69 -0
- package/lib/errors/parsing-error.js.map +1 -0
- package/lib/errors/validation-error-reporter.d.ts +34 -0
- package/lib/errors/validation-error-reporter.js +99 -0
- package/lib/errors/validation-error-reporter.js.map +1 -0
- package/lib/errors/validation-error.d.ts +58 -0
- package/lib/errors/validation-error.js +131 -0
- package/lib/errors/validation-error.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/lib/monitoring/performance-monitor.d.ts +98 -0
- package/lib/monitoring/performance-monitor.js +260 -0
- package/lib/monitoring/performance-monitor.js.map +1 -0
- package/lib/parsers/apex-class-parser.d.ts +47 -0
- package/lib/parsers/apex-class-parser.js +368 -0
- package/lib/parsers/apex-class-parser.js.map +1 -0
- package/lib/parsers/apex-trigger-parser.d.ts +48 -0
- package/lib/parsers/apex-trigger-parser.js +229 -0
- package/lib/parsers/apex-trigger-parser.js.map +1 -0
- package/lib/parsers/aura-parser.d.ts +55 -0
- package/lib/parsers/aura-parser.js +229 -0
- package/lib/parsers/aura-parser.js.map +1 -0
- package/lib/parsers/bot-parser.d.ts +65 -0
- package/lib/parsers/bot-parser.js +225 -0
- package/lib/parsers/bot-parser.js.map +1 -0
- package/lib/parsers/custom-metadata-parser.d.ts +94 -0
- package/lib/parsers/custom-metadata-parser.js +199 -0
- package/lib/parsers/custom-metadata-parser.js.map +1 -0
- package/lib/parsers/custom-object-parser.d.ts +62 -0
- package/lib/parsers/custom-object-parser.js +297 -0
- package/lib/parsers/custom-object-parser.js.map +1 -0
- package/lib/parsers/email-template-parser.d.ts +64 -0
- package/lib/parsers/email-template-parser.js +238 -0
- package/lib/parsers/email-template-parser.js.map +1 -0
- package/lib/parsers/error-resilient-parser.d.ts +110 -0
- package/lib/parsers/error-resilient-parser.js +277 -0
- package/lib/parsers/error-resilient-parser.js.map +1 -0
- package/lib/parsers/flexipage-parser.d.ts +64 -0
- package/lib/parsers/flexipage-parser.js +196 -0
- package/lib/parsers/flexipage-parser.js.map +1 -0
- package/lib/parsers/flow-parser.d.ts +54 -0
- package/lib/parsers/flow-parser.js +287 -0
- package/lib/parsers/flow-parser.js.map +1 -0
- package/lib/parsers/genai-prompt-parser.d.ts +67 -0
- package/lib/parsers/genai-prompt-parser.js +160 -0
- package/lib/parsers/genai-prompt-parser.js.map +1 -0
- package/lib/parsers/layout-parser.d.ts +64 -0
- package/lib/parsers/layout-parser.js +267 -0
- package/lib/parsers/layout-parser.js.map +1 -0
- package/lib/parsers/lwc-parser.d.ts +60 -0
- package/lib/parsers/lwc-parser.js +264 -0
- package/lib/parsers/lwc-parser.js.map +1 -0
- package/lib/parsers/permission-set-parser.d.ts +86 -0
- package/lib/parsers/permission-set-parser.js +152 -0
- package/lib/parsers/permission-set-parser.js.map +1 -0
- package/lib/parsers/profile-parser.d.ts +81 -0
- package/lib/parsers/profile-parser.js +141 -0
- package/lib/parsers/profile-parser.js.map +1 -0
- package/lib/parsers/visualforce-parser.d.ts +47 -0
- package/lib/parsers/visualforce-parser.js +180 -0
- package/lib/parsers/visualforce-parser.js.map +1 -0
- package/lib/provisioning/data-provisioner.d.ts +88 -0
- package/lib/provisioning/data-provisioner.js +257 -0
- package/lib/provisioning/data-provisioner.js.map +1 -0
- package/lib/scanner/custom-structure-scanner.d.ts +66 -0
- package/lib/scanner/custom-structure-scanner.js +229 -0
- package/lib/scanner/custom-structure-scanner.js.map +1 -0
- package/lib/scanner/forceignore-parser.d.ts +69 -0
- package/lib/scanner/forceignore-parser.js +195 -0
- package/lib/scanner/forceignore-parser.js.map +1 -0
- package/lib/scanner/metadata-format-scanner.d.ts +77 -0
- package/lib/scanner/metadata-format-scanner.js +282 -0
- package/lib/scanner/metadata-format-scanner.js.map +1 -0
- package/lib/scanner/monorepo-scanner.d.ts +71 -0
- package/lib/scanner/monorepo-scanner.js +225 -0
- package/lib/scanner/monorepo-scanner.js.map +1 -0
- package/lib/scanner/project-validator.d.ts +55 -0
- package/lib/scanner/project-validator.js +235 -0
- package/lib/scanner/project-validator.js.map +1 -0
- package/lib/scanner/sfdx-project-detector.d.ts +86 -0
- package/lib/scanner/sfdx-project-detector.js +240 -0
- package/lib/scanner/sfdx-project-detector.js.map +1 -0
- package/lib/scanner/structure-validator.d.ts +64 -0
- package/lib/scanner/structure-validator.js +296 -0
- package/lib/scanner/structure-validator.js.map +1 -0
- package/lib/services/metadata-scanner-service.d.ts +64 -0
- package/lib/services/metadata-scanner-service.js +651 -0
- package/lib/services/metadata-scanner-service.js.map +1 -0
- package/lib/types/agentforce.d.ts +157 -0
- package/lib/types/agentforce.js +2 -0
- package/lib/types/agentforce.js.map +1 -0
- package/lib/types/dependency.d.ts +98 -0
- package/lib/types/dependency.js +5 -0
- package/lib/types/dependency.js.map +1 -0
- package/lib/types/deployment-plan.d.ts +81 -0
- package/lib/types/deployment-plan.js +6 -0
- package/lib/types/deployment-plan.js.map +1 -0
- package/lib/types/deployment.d.ts +88 -0
- package/lib/types/deployment.js +5 -0
- package/lib/types/deployment.js.map +1 -0
- package/lib/types/graph.d.ts +35 -0
- package/lib/types/graph.js +5 -0
- package/lib/types/graph.js.map +1 -0
- package/lib/types/index.d.ts +12 -0
- package/lib/types/index.js +17 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/metadata.d.ts +101 -0
- package/lib/types/metadata.js +13 -0
- package/lib/types/metadata.js.map +1 -0
- package/lib/types/project.d.ts +156 -0
- package/lib/types/project.js +56 -0
- package/lib/types/project.js.map +1 -0
- package/lib/types/salesforce/apex.d.ts +94 -0
- package/lib/types/salesforce/apex.js +6 -0
- package/lib/types/salesforce/apex.js.map +1 -0
- package/lib/types/salesforce/aura.d.ts +150 -0
- package/lib/types/salesforce/aura.js +6 -0
- package/lib/types/salesforce/aura.js.map +1 -0
- package/lib/types/salesforce/bot.d.ts +293 -0
- package/lib/types/salesforce/bot.js +6 -0
- package/lib/types/salesforce/bot.js.map +1 -0
- package/lib/types/salesforce/common.d.ts +15 -0
- package/lib/types/salesforce/common.js +5 -0
- package/lib/types/salesforce/common.js.map +1 -0
- package/lib/types/salesforce/custom-metadata.d.ts +92 -0
- package/lib/types/salesforce/custom-metadata.js +6 -0
- package/lib/types/salesforce/custom-metadata.js.map +1 -0
- package/lib/types/salesforce/email.d.ts +56 -0
- package/lib/types/salesforce/email.js +6 -0
- package/lib/types/salesforce/email.js.map +1 -0
- package/lib/types/salesforce/flexipage.d.ts +149 -0
- package/lib/types/salesforce/flexipage.js +6 -0
- package/lib/types/salesforce/flexipage.js.map +1 -0
- package/lib/types/salesforce/flow.d.ts +516 -0
- package/lib/types/salesforce/flow.js +6 -0
- package/lib/types/salesforce/flow.js.map +1 -0
- package/lib/types/salesforce/genai.d.ts +67 -0
- package/lib/types/salesforce/genai.js +6 -0
- package/lib/types/salesforce/genai.js.map +1 -0
- package/lib/types/salesforce/index.d.ts +27 -0
- package/lib/types/salesforce/index.js +43 -0
- package/lib/types/salesforce/index.js.map +1 -0
- package/lib/types/salesforce/layout.d.ts +236 -0
- package/lib/types/salesforce/layout.js +6 -0
- package/lib/types/salesforce/layout.js.map +1 -0
- package/lib/types/salesforce/lwc.d.ts +123 -0
- package/lib/types/salesforce/lwc.js +6 -0
- package/lib/types/salesforce/lwc.js.map +1 -0
- package/lib/types/salesforce/object.d.ts +427 -0
- package/lib/types/salesforce/object.js +6 -0
- package/lib/types/salesforce/object.js.map +1 -0
- package/lib/types/salesforce/parser-types.d.ts +79 -0
- package/lib/types/salesforce/parser-types.js +80 -0
- package/lib/types/salesforce/parser-types.js.map +1 -0
- package/lib/types/salesforce/permission.d.ts +289 -0
- package/lib/types/salesforce/permission.js +6 -0
- package/lib/types/salesforce/permission.js.map +1 -0
- package/lib/types/salesforce/resource.d.ts +93 -0
- package/lib/types/salesforce/resource.js +6 -0
- package/lib/types/salesforce/resource.js.map +1 -0
- package/lib/types/salesforce/visualforce.d.ts +70 -0
- package/lib/types/salesforce/visualforce.js +6 -0
- package/lib/types/salesforce/visualforce.js.map +1 -0
- package/lib/utils/cache-manager.d.ts +158 -0
- package/lib/utils/cache-manager.js +429 -0
- package/lib/utils/cache-manager.js.map +1 -0
- package/lib/utils/deployment-plan-manager.d.ts +40 -0
- package/lib/utils/deployment-plan-manager.js +183 -0
- package/lib/utils/deployment-plan-manager.js.map +1 -0
- package/lib/utils/error-aggregator.d.ts +117 -0
- package/lib/utils/error-aggregator.js +268 -0
- package/lib/utils/error-aggregator.js.map +1 -0
- package/lib/utils/file-system.d.ts +62 -0
- package/lib/utils/file-system.js +167 -0
- package/lib/utils/file-system.js.map +1 -0
- package/lib/utils/functional.d.ts +52 -0
- package/lib/utils/functional.js +61 -0
- package/lib/utils/functional.js.map +1 -0
- package/lib/utils/graph-algorithms.d.ts +53 -0
- package/lib/utils/graph-algorithms.js +177 -0
- package/lib/utils/graph-algorithms.js.map +1 -0
- package/lib/utils/logger.d.ts +154 -0
- package/lib/utils/logger.js +327 -0
- package/lib/utils/logger.js.map +1 -0
- package/lib/utils/network-handler.d.ts +64 -0
- package/lib/utils/network-handler.js +147 -0
- package/lib/utils/network-handler.js.map +1 -0
- package/lib/utils/performance.d.ts +148 -0
- package/lib/utils/performance.js +294 -0
- package/lib/utils/performance.js.map +1 -0
- package/lib/utils/string.d.ts +197 -0
- package/lib/utils/string.js +331 -0
- package/lib/utils/string.js.map +1 -0
- package/lib/utils/xml.d.ts +97 -0
- package/lib/utils/xml.js +227 -0
- package/lib/utils/xml.js.map +1 -0
- package/lib/validators/xml-metadata-validator.d.ts +106 -0
- package/lib/validators/xml-metadata-validator.js +509 -0
- package/lib/validators/xml-metadata-validator.js.map +1 -0
- package/lib/waves/priority-wave-generator-ai.d.ts +85 -0
- package/lib/waves/priority-wave-generator-ai.js +191 -0
- package/lib/waves/priority-wave-generator-ai.js.map +1 -0
- package/lib/waves/priority-wave-generator.d.ts +47 -0
- package/lib/waves/priority-wave-generator.js +88 -0
- package/lib/waves/priority-wave-generator.js.map +1 -0
- package/lib/waves/test-optimizer.d.ts +155 -0
- package/lib/waves/test-optimizer.js +290 -0
- package/lib/waves/test-optimizer.js.map +1 -0
- package/lib/waves/wave-builder.d.ts +147 -0
- package/lib/waves/wave-builder.js +286 -0
- package/lib/waves/wave-builder.js.map +1 -0
- package/lib/waves/wave-diff-generator.d.ts +17 -0
- package/lib/waves/wave-diff-generator.js +6 -0
- package/lib/waves/wave-diff-generator.js.map +1 -0
- package/lib/waves/wave-executor.d.ts +33 -0
- package/lib/waves/wave-executor.js +50 -0
- package/lib/waves/wave-executor.js.map +1 -0
- package/lib/waves/wave-merger.d.ts +96 -0
- package/lib/waves/wave-merger.js +181 -0
- package/lib/waves/wave-merger.js.map +1 -0
- package/lib/waves/wave-metadata-generator.d.ts +13 -0
- package/lib/waves/wave-metadata-generator.js +12 -0
- package/lib/waves/wave-metadata-generator.js.map +1 -0
- package/lib/waves/wave-splitter.d.ts +154 -0
- package/lib/waves/wave-splitter.js +307 -0
- package/lib/waves/wave-splitter.js.map +1 -0
- package/lib/waves/wave-validator.d.ts +17 -0
- package/lib/waves/wave-validator.js +15 -0
- package/lib/waves/wave-validator.js.map +1 -0
- package/messages/analyze.json +18 -0
- package/messages/config.json +29 -0
- package/messages/resume.json +9 -0
- package/messages/start.json +24 -0
- package/messages/status.json +8 -0
- package/messages/validate.json +9 -0
- package/npm-shrinkwrap.json +25676 -0
- package/oclif.lock +11988 -0
- package/oclif.manifest.json +589 -0
- package/package.json +224 -0
|
@@ -0,0 +1,516 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type definitions for Salesforce Flow metadata
|
|
3
|
+
* Represents Flow-meta.xml structures
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Flow metadata (Flow-meta.xml)
|
|
7
|
+
*/
|
|
8
|
+
export type FlowMetadata = {
|
|
9
|
+
apiVersion?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
label: string;
|
|
12
|
+
processType: FlowProcessType;
|
|
13
|
+
status: FlowStatus;
|
|
14
|
+
interviewLabel?: string;
|
|
15
|
+
isTemplate?: boolean;
|
|
16
|
+
processMetadataValues?: FlowMetadataValue[];
|
|
17
|
+
start?: FlowStart;
|
|
18
|
+
actionCalls?: FlowActionCall[];
|
|
19
|
+
apexPluginCalls?: FlowApexPluginCall[];
|
|
20
|
+
assignments?: FlowAssignment[];
|
|
21
|
+
decisions?: FlowDecision[];
|
|
22
|
+
loops?: FlowLoop[];
|
|
23
|
+
recordCreates?: FlowRecordCreate[];
|
|
24
|
+
recordDeletes?: FlowRecordDelete[];
|
|
25
|
+
recordLookups?: FlowRecordLookup[];
|
|
26
|
+
recordUpdates?: FlowRecordUpdate[];
|
|
27
|
+
screens?: FlowScreen[];
|
|
28
|
+
subflows?: FlowSubflow[];
|
|
29
|
+
variables?: FlowVariable[];
|
|
30
|
+
constants?: FlowConstant[];
|
|
31
|
+
formulas?: FlowFormula[];
|
|
32
|
+
dynamicChoiceSets?: FlowDynamicChoiceSet[];
|
|
33
|
+
textTemplates?: FlowTextTemplate[];
|
|
34
|
+
stages?: FlowStage[];
|
|
35
|
+
transforms?: FlowTransform[];
|
|
36
|
+
waits?: FlowWait[];
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Flow process type
|
|
40
|
+
*/
|
|
41
|
+
export type FlowProcessType = 'AutoLaunchedFlow' | 'Flow' | 'Workflow' | 'CustomEvent' | 'InvocableProcess' | 'LoginFlow' | 'ActionPlan' | 'JourneyBuilderIntegration' | 'UserProvisioningFlow' | 'Survey' | 'SurveyEnrich' | 'Appointments' | 'FSCLending' | 'DigitalForm' | 'FieldServiceMobile' | 'OrchestrationFlow' | 'FieldServiceWeb' | 'TransactionSecurityFlow' | 'ContactRequestFlow' | 'ActionCadenceFlow' | 'ManagedContentFlow' | 'CheckoutFlow' | 'CartAsyncFlow' | 'SalesEntryExperienceFlow' | 'CustomerLifecycle' | 'Journey' | 'RecommendationStrategy' | 'Orchestrator' | 'RoutingFlow' | 'ServiceCatalogItemFlow' | 'EvaluationFlow' | 'ActionCadenceAutolaunchedFlow' | 'ActionCadenceStepFlow' | 'IndividualObjectLinkingFlow';
|
|
42
|
+
/**
|
|
43
|
+
* Flow status
|
|
44
|
+
*/
|
|
45
|
+
export type FlowStatus = 'Active' | 'Draft' | 'Obsolete' | 'InvalidDraft';
|
|
46
|
+
/**
|
|
47
|
+
* Flow metadata value
|
|
48
|
+
*/
|
|
49
|
+
export type FlowMetadataValue = {
|
|
50
|
+
name: string;
|
|
51
|
+
value: FlowElementReferenceOrValue;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Flow element reference or value
|
|
55
|
+
*/
|
|
56
|
+
export type FlowElementReferenceOrValue = {
|
|
57
|
+
stringValue?: string;
|
|
58
|
+
numberValue?: number;
|
|
59
|
+
booleanValue?: boolean;
|
|
60
|
+
dateValue?: string;
|
|
61
|
+
dateTimeValue?: string;
|
|
62
|
+
elementReference?: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Flow start element
|
|
66
|
+
*/
|
|
67
|
+
export type FlowStart = {
|
|
68
|
+
locationX: number;
|
|
69
|
+
locationY: number;
|
|
70
|
+
connector?: FlowConnector;
|
|
71
|
+
filters?: FlowRecordFilter[];
|
|
72
|
+
object?: string;
|
|
73
|
+
recordTriggerType?: FlowRecordTriggerType;
|
|
74
|
+
schedule?: FlowSchedule;
|
|
75
|
+
triggerType?: FlowTriggerType;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Flow connector
|
|
79
|
+
*/
|
|
80
|
+
export type FlowConnector = {
|
|
81
|
+
targetReference: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Flow record filter
|
|
85
|
+
*/
|
|
86
|
+
export type FlowRecordFilter = {
|
|
87
|
+
field: string;
|
|
88
|
+
operator: FlowComparisonOperator;
|
|
89
|
+
value: FlowElementReferenceOrValue;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Flow comparison operator
|
|
93
|
+
*/
|
|
94
|
+
export type FlowComparisonOperator = 'EqualTo' | 'NotEqualTo' | 'GreaterThan' | 'LessThan' | 'GreaterThanOrEqualTo' | 'LessThanOrEqualTo' | 'StartsWith' | 'EndsWith' | 'Contains' | 'IsNull' | 'IsChanged' | 'WasSelected' | 'WasSet';
|
|
95
|
+
/**
|
|
96
|
+
* Flow record trigger type
|
|
97
|
+
*/
|
|
98
|
+
export type FlowRecordTriggerType = 'Create' | 'Update' | 'CreateAndUpdate' | 'Delete';
|
|
99
|
+
/**
|
|
100
|
+
* Flow schedule
|
|
101
|
+
*/
|
|
102
|
+
export type FlowSchedule = {
|
|
103
|
+
frequency: FlowScheduleFrequency;
|
|
104
|
+
startDate?: string;
|
|
105
|
+
startTime?: string;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Flow schedule frequency
|
|
109
|
+
*/
|
|
110
|
+
export type FlowScheduleFrequency = 'Once' | 'Daily' | 'Weekly';
|
|
111
|
+
/**
|
|
112
|
+
* Flow trigger type
|
|
113
|
+
*/
|
|
114
|
+
export type FlowTriggerType = 'Scheduled' | 'RecordBeforeSave' | 'RecordAfterSave' | 'PlatformEvent';
|
|
115
|
+
/**
|
|
116
|
+
* Flow action call
|
|
117
|
+
*/
|
|
118
|
+
export type FlowActionCall = FlowNode & {
|
|
119
|
+
actionName: string;
|
|
120
|
+
actionType: FlowActionType;
|
|
121
|
+
inputParameters?: FlowActionCallInputParameter[];
|
|
122
|
+
outputParameters?: FlowActionCallOutputParameter[];
|
|
123
|
+
storeOutputAutomatically?: boolean;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Flow node (base for all flow elements)
|
|
127
|
+
*/
|
|
128
|
+
export type FlowNode = {
|
|
129
|
+
name: string;
|
|
130
|
+
label?: string;
|
|
131
|
+
locationX: number;
|
|
132
|
+
locationY: number;
|
|
133
|
+
connector?: FlowConnector;
|
|
134
|
+
faultConnector?: FlowConnector;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Flow action type
|
|
138
|
+
*/
|
|
139
|
+
export type FlowActionType = 'apex' | 'emailAlert' | 'quickAction' | 'submit' | 'thanks' | 'chatterPost' | 'component' | 'contentWorkspaceEnableFolders' | 'customNotificationAction' | 'emailSimple' | 'externalService';
|
|
140
|
+
/**
|
|
141
|
+
* Flow action call input parameter
|
|
142
|
+
*/
|
|
143
|
+
export type FlowActionCallInputParameter = {
|
|
144
|
+
name: string;
|
|
145
|
+
value: FlowElementReferenceOrValue;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Flow action call output parameter
|
|
149
|
+
*/
|
|
150
|
+
export type FlowActionCallOutputParameter = {
|
|
151
|
+
assignToReference: string;
|
|
152
|
+
name: string;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Flow apex plugin call
|
|
156
|
+
*/
|
|
157
|
+
export type FlowApexPluginCall = FlowNode & {
|
|
158
|
+
apexClass: string;
|
|
159
|
+
inputParameters?: FlowApexPluginCallInputParameter[];
|
|
160
|
+
outputParameters?: FlowApexPluginCallOutputParameter[];
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Flow apex plugin call input parameter
|
|
164
|
+
*/
|
|
165
|
+
export type FlowApexPluginCallInputParameter = {
|
|
166
|
+
name: string;
|
|
167
|
+
value: FlowElementReferenceOrValue;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* Flow apex plugin call output parameter
|
|
171
|
+
*/
|
|
172
|
+
export type FlowApexPluginCallOutputParameter = {
|
|
173
|
+
assignToReference: string;
|
|
174
|
+
name: string;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Flow assignment
|
|
178
|
+
*/
|
|
179
|
+
export type FlowAssignment = FlowNode & {
|
|
180
|
+
assignmentItems: FlowAssignmentItem[];
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Flow assignment item
|
|
184
|
+
*/
|
|
185
|
+
export type FlowAssignmentItem = {
|
|
186
|
+
assignToReference: string;
|
|
187
|
+
operator: FlowAssignmentOperator;
|
|
188
|
+
value: FlowElementReferenceOrValue;
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* Flow assignment operator
|
|
192
|
+
*/
|
|
193
|
+
export type FlowAssignmentOperator = 'Assign' | 'Add' | 'Subtract' | 'AddItem' | 'RemoveFirst' | 'RemoveBeforeFirst' | 'RemoveAfterFirst' | 'RemoveAll';
|
|
194
|
+
/**
|
|
195
|
+
* Flow decision
|
|
196
|
+
*/
|
|
197
|
+
export type FlowDecision = FlowNode & {
|
|
198
|
+
defaultConnector?: FlowConnector;
|
|
199
|
+
defaultConnectorLabel?: string;
|
|
200
|
+
rules: FlowRule[];
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Flow rule
|
|
204
|
+
*/
|
|
205
|
+
export type FlowRule = {
|
|
206
|
+
name: string;
|
|
207
|
+
conditionLogic?: string;
|
|
208
|
+
conditions: FlowCondition[];
|
|
209
|
+
connector?: FlowConnector;
|
|
210
|
+
label: string;
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Flow condition
|
|
214
|
+
*/
|
|
215
|
+
export type FlowCondition = {
|
|
216
|
+
leftValueReference: string;
|
|
217
|
+
operator: FlowComparisonOperator;
|
|
218
|
+
rightValue?: FlowElementReferenceOrValue;
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* Flow loop
|
|
222
|
+
*/
|
|
223
|
+
export type FlowLoop = FlowNode & {
|
|
224
|
+
collectionReference: string;
|
|
225
|
+
iterationOrder?: FlowIterationOrder;
|
|
226
|
+
nextValueConnector?: FlowConnector;
|
|
227
|
+
noMoreValuesConnector?: FlowConnector;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Flow iteration order
|
|
231
|
+
*/
|
|
232
|
+
export type FlowIterationOrder = 'Asc' | 'Desc';
|
|
233
|
+
/**
|
|
234
|
+
* Flow record create
|
|
235
|
+
*/
|
|
236
|
+
export type FlowRecordCreate = FlowNode & {
|
|
237
|
+
object: string;
|
|
238
|
+
inputAssignments?: FlowInputFieldAssignment[];
|
|
239
|
+
inputReference?: string;
|
|
240
|
+
storeOutputAutomatically?: boolean;
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* Flow input field assignment
|
|
244
|
+
*/
|
|
245
|
+
export type FlowInputFieldAssignment = {
|
|
246
|
+
field: string;
|
|
247
|
+
value: FlowElementReferenceOrValue;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* Flow record delete
|
|
251
|
+
*/
|
|
252
|
+
export type FlowRecordDelete = FlowNode & {
|
|
253
|
+
filters?: FlowRecordFilter[];
|
|
254
|
+
inputReference?: string;
|
|
255
|
+
object?: string;
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* Flow record lookup
|
|
259
|
+
*/
|
|
260
|
+
export type FlowRecordLookup = FlowNode & {
|
|
261
|
+
object: string;
|
|
262
|
+
filters?: FlowRecordFilter[];
|
|
263
|
+
getFirstRecordOnly?: boolean;
|
|
264
|
+
outputAssignments?: FlowOutputFieldAssignment[];
|
|
265
|
+
outputReference?: string;
|
|
266
|
+
queriedFields?: string[];
|
|
267
|
+
sortField?: string;
|
|
268
|
+
sortOrder?: FlowSortOrder;
|
|
269
|
+
storeOutputAutomatically?: boolean;
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* Flow output field assignment
|
|
273
|
+
*/
|
|
274
|
+
export type FlowOutputFieldAssignment = {
|
|
275
|
+
assignToReference: string;
|
|
276
|
+
field: string;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Flow sort order
|
|
280
|
+
*/
|
|
281
|
+
export type FlowSortOrder = 'Asc' | 'Desc';
|
|
282
|
+
/**
|
|
283
|
+
* Flow record update
|
|
284
|
+
*/
|
|
285
|
+
export type FlowRecordUpdate = FlowNode & {
|
|
286
|
+
filters?: FlowRecordFilter[];
|
|
287
|
+
inputAssignments?: FlowInputFieldAssignment[];
|
|
288
|
+
inputReference?: string;
|
|
289
|
+
object?: string;
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* Flow screen
|
|
293
|
+
*/
|
|
294
|
+
export type FlowScreen = FlowNode & {
|
|
295
|
+
allowBack?: boolean;
|
|
296
|
+
allowFinish?: boolean;
|
|
297
|
+
allowPause?: boolean;
|
|
298
|
+
fields?: FlowScreenField[];
|
|
299
|
+
helpText?: string;
|
|
300
|
+
pausedText?: string;
|
|
301
|
+
rules?: FlowScreenRule[];
|
|
302
|
+
showFooter?: boolean;
|
|
303
|
+
showHeader?: boolean;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* Flow screen field
|
|
307
|
+
*/
|
|
308
|
+
export type FlowScreenField = {
|
|
309
|
+
name: string;
|
|
310
|
+
fieldType: FlowScreenFieldType;
|
|
311
|
+
dataType?: FlowDataType;
|
|
312
|
+
defaultValue?: FlowElementReferenceOrValue;
|
|
313
|
+
extensionName?: string;
|
|
314
|
+
fieldText?: string;
|
|
315
|
+
helpText?: string;
|
|
316
|
+
inputParameters?: FlowScreenFieldInputParameter[];
|
|
317
|
+
isRequired?: boolean;
|
|
318
|
+
outputParameters?: FlowScreenFieldOutputParameter[];
|
|
319
|
+
scale?: number;
|
|
320
|
+
validationRule?: FlowInputValidationRule;
|
|
321
|
+
visibilityRule?: FlowVisibilityRule;
|
|
322
|
+
};
|
|
323
|
+
/**
|
|
324
|
+
* Flow screen field type
|
|
325
|
+
*/
|
|
326
|
+
export type FlowScreenFieldType = 'DisplayText' | 'InputField' | 'LargeTextArea' | 'PasswordField' | 'RadioButtons' | 'DropdownBox' | 'MultiSelectCheckboxes' | 'MultiSelectPicklist' | 'ComponentInstance';
|
|
327
|
+
/**
|
|
328
|
+
* Flow data type
|
|
329
|
+
*/
|
|
330
|
+
export type FlowDataType = 'Boolean' | 'Currency' | 'Date' | 'DateTime' | 'Number' | 'String' | 'Picklist' | 'MultiPicklist' | 'SObject' | 'Apex';
|
|
331
|
+
/**
|
|
332
|
+
* Flow screen field input parameter
|
|
333
|
+
*/
|
|
334
|
+
export type FlowScreenFieldInputParameter = {
|
|
335
|
+
name: string;
|
|
336
|
+
value: FlowElementReferenceOrValue;
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Flow screen field output parameter
|
|
340
|
+
*/
|
|
341
|
+
export type FlowScreenFieldOutputParameter = {
|
|
342
|
+
assignToReference: string;
|
|
343
|
+
name: string;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* Flow input validation rule
|
|
347
|
+
*/
|
|
348
|
+
export type FlowInputValidationRule = {
|
|
349
|
+
errorMessage: string;
|
|
350
|
+
formulaExpression: string;
|
|
351
|
+
};
|
|
352
|
+
/**
|
|
353
|
+
* Flow visibility rule
|
|
354
|
+
*/
|
|
355
|
+
export type FlowVisibilityRule = {
|
|
356
|
+
conditionLogic?: string;
|
|
357
|
+
conditions: FlowCondition[];
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* Flow screen rule
|
|
361
|
+
*/
|
|
362
|
+
export type FlowScreenRule = {
|
|
363
|
+
name: string;
|
|
364
|
+
conditionLogic?: string;
|
|
365
|
+
conditions: FlowCondition[];
|
|
366
|
+
label: string;
|
|
367
|
+
ruleActions: FlowScreenRuleAction[];
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* Flow screen rule action
|
|
371
|
+
*/
|
|
372
|
+
export type FlowScreenRuleAction = {
|
|
373
|
+
attribute: string;
|
|
374
|
+
fieldReference: string;
|
|
375
|
+
value: FlowElementReferenceOrValue;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* Flow subflow
|
|
379
|
+
*/
|
|
380
|
+
export type FlowSubflow = FlowNode & {
|
|
381
|
+
flowName: string;
|
|
382
|
+
inputAssignments?: FlowSubflowInputAssignment[];
|
|
383
|
+
outputAssignments?: FlowSubflowOutputAssignment[];
|
|
384
|
+
storeOutputAutomatically?: boolean;
|
|
385
|
+
};
|
|
386
|
+
/**
|
|
387
|
+
* Flow subflow input assignment
|
|
388
|
+
*/
|
|
389
|
+
export type FlowSubflowInputAssignment = {
|
|
390
|
+
name: string;
|
|
391
|
+
value: FlowElementReferenceOrValue;
|
|
392
|
+
};
|
|
393
|
+
/**
|
|
394
|
+
* Flow subflow output assignment
|
|
395
|
+
*/
|
|
396
|
+
export type FlowSubflowOutputAssignment = {
|
|
397
|
+
assignToReference: string;
|
|
398
|
+
name: string;
|
|
399
|
+
};
|
|
400
|
+
/**
|
|
401
|
+
* Flow variable
|
|
402
|
+
*/
|
|
403
|
+
export type FlowVariable = {
|
|
404
|
+
name: string;
|
|
405
|
+
dataType: FlowDataType;
|
|
406
|
+
isCollection?: boolean;
|
|
407
|
+
isInput?: boolean;
|
|
408
|
+
isOutput?: boolean;
|
|
409
|
+
objectType?: string;
|
|
410
|
+
scale?: number;
|
|
411
|
+
value?: FlowElementReferenceOrValue;
|
|
412
|
+
};
|
|
413
|
+
/**
|
|
414
|
+
* Flow constant
|
|
415
|
+
*/
|
|
416
|
+
export type FlowConstant = {
|
|
417
|
+
name: string;
|
|
418
|
+
dataType: FlowDataType;
|
|
419
|
+
value: FlowElementReferenceOrValue;
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* Flow formula
|
|
423
|
+
*/
|
|
424
|
+
export type FlowFormula = {
|
|
425
|
+
name: string;
|
|
426
|
+
dataType: FlowDataType;
|
|
427
|
+
expression: string;
|
|
428
|
+
scale?: number;
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* Flow dynamic choice set
|
|
432
|
+
*/
|
|
433
|
+
export type FlowDynamicChoiceSet = {
|
|
434
|
+
name: string;
|
|
435
|
+
dataType: FlowDataType;
|
|
436
|
+
displayField: string;
|
|
437
|
+
object: string;
|
|
438
|
+
outputAssignments?: FlowOutputFieldAssignment[];
|
|
439
|
+
picklistField?: string;
|
|
440
|
+
picklistObject?: string;
|
|
441
|
+
sortField?: string;
|
|
442
|
+
sortOrder?: FlowSortOrder;
|
|
443
|
+
valueField?: string;
|
|
444
|
+
};
|
|
445
|
+
/**
|
|
446
|
+
* Flow text template
|
|
447
|
+
*/
|
|
448
|
+
export type FlowTextTemplate = {
|
|
449
|
+
name: string;
|
|
450
|
+
text: string;
|
|
451
|
+
};
|
|
452
|
+
/**
|
|
453
|
+
* Flow stage
|
|
454
|
+
*/
|
|
455
|
+
export type FlowStage = {
|
|
456
|
+
name: string;
|
|
457
|
+
label: string;
|
|
458
|
+
isActive: boolean;
|
|
459
|
+
};
|
|
460
|
+
/**
|
|
461
|
+
* Flow transform
|
|
462
|
+
*/
|
|
463
|
+
export type FlowTransform = FlowNode & {
|
|
464
|
+
apexClass: string;
|
|
465
|
+
inputParameters?: FlowTransformInputParameter[];
|
|
466
|
+
outputParameters?: FlowTransformOutputParameter[];
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* Flow transform input parameter
|
|
470
|
+
*/
|
|
471
|
+
export type FlowTransformInputParameter = {
|
|
472
|
+
name: string;
|
|
473
|
+
value: FlowElementReferenceOrValue;
|
|
474
|
+
};
|
|
475
|
+
/**
|
|
476
|
+
* Flow transform output parameter
|
|
477
|
+
*/
|
|
478
|
+
export type FlowTransformOutputParameter = {
|
|
479
|
+
assignToReference: string;
|
|
480
|
+
name: string;
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* Flow wait
|
|
484
|
+
*/
|
|
485
|
+
export type FlowWait = FlowNode & {
|
|
486
|
+
waitEvents: FlowWaitEvent[];
|
|
487
|
+
defaultConnector?: FlowConnector;
|
|
488
|
+
defaultConnectorLabel?: string;
|
|
489
|
+
};
|
|
490
|
+
/**
|
|
491
|
+
* Flow wait event
|
|
492
|
+
*/
|
|
493
|
+
export type FlowWaitEvent = {
|
|
494
|
+
name: string;
|
|
495
|
+
label: string;
|
|
496
|
+
conditionLogic?: string;
|
|
497
|
+
conditions: FlowCondition[];
|
|
498
|
+
connector?: FlowConnector;
|
|
499
|
+
eventType: string;
|
|
500
|
+
inputParameters?: FlowWaitEventInputParameter[];
|
|
501
|
+
outputParameters?: FlowWaitEventOutputParameter[];
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* Flow wait event input parameter
|
|
505
|
+
*/
|
|
506
|
+
export type FlowWaitEventInputParameter = {
|
|
507
|
+
name: string;
|
|
508
|
+
value: FlowElementReferenceOrValue;
|
|
509
|
+
};
|
|
510
|
+
/**
|
|
511
|
+
* Flow wait event output parameter
|
|
512
|
+
*/
|
|
513
|
+
export type FlowWaitEventOutputParameter = {
|
|
514
|
+
assignToReference: string;
|
|
515
|
+
name: string;
|
|
516
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.js","sourceRoot":"","sources":["../../../src/types/salesforce/flow.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type definitions for Salesforce GenAI metadata
|
|
3
|
+
* Represents GenAI Prompt Template (.genAiPromptTemplate-meta.xml) metadata structures
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* GenAI Prompt Template metadata (.genAiPromptTemplate-meta.xml)
|
|
7
|
+
*/
|
|
8
|
+
export type GenAiPromptTemplateMetadata = {
|
|
9
|
+
activeVersion?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
developerName: string;
|
|
12
|
+
masterLabel: string;
|
|
13
|
+
relatedEntity?: string;
|
|
14
|
+
relatedField?: string;
|
|
15
|
+
status?: GenAiPromptTemplateStatus;
|
|
16
|
+
templateVersions?: GenAiPromptTemplateVersion[];
|
|
17
|
+
type?: GenAiPromptTemplateType;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* GenAI Prompt Template Status
|
|
21
|
+
*/
|
|
22
|
+
export type GenAiPromptTemplateStatus = 'Draft' | 'Published' | 'Archived';
|
|
23
|
+
/**
|
|
24
|
+
* GenAI Prompt Template Type
|
|
25
|
+
*/
|
|
26
|
+
export type GenAiPromptTemplateType = 'einstein_gpt__flex' | 'einstein_gpt__fieldCompletion' | 'einstein_gpt__recordSummary' | 'einstein_gpt__flex_v2' | 'einstein_gpt__recordScore' | 'sales_email';
|
|
27
|
+
/**
|
|
28
|
+
* GenAI Prompt Template Version
|
|
29
|
+
*/
|
|
30
|
+
export type GenAiPromptTemplateVersion = {
|
|
31
|
+
content?: string;
|
|
32
|
+
number?: number;
|
|
33
|
+
primaryModel?: string;
|
|
34
|
+
status?: GenAiPromptTemplateStatus;
|
|
35
|
+
targetVariable?: string;
|
|
36
|
+
templateDataProviders?: GenAiPromptTemplateDataProvider[];
|
|
37
|
+
templateVersionVariables?: GenAiPromptTemplateVariable[];
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* GenAI Prompt Template Data Provider
|
|
41
|
+
*/
|
|
42
|
+
export type GenAiPromptTemplateDataProvider = {
|
|
43
|
+
apiName?: string;
|
|
44
|
+
dataProviderType?: string;
|
|
45
|
+
definition?: string;
|
|
46
|
+
fields?: GenAiPromptTemplateDataProviderField[];
|
|
47
|
+
object?: string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* GenAI Prompt Template Data Provider Field
|
|
51
|
+
*/
|
|
52
|
+
export type GenAiPromptTemplateDataProviderField = {
|
|
53
|
+
apiName: string;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* GenAI Prompt Template Variable
|
|
57
|
+
*/
|
|
58
|
+
export type GenAiPromptTemplateVariable = {
|
|
59
|
+
definition?: string;
|
|
60
|
+
developerName: string;
|
|
61
|
+
isRequired?: boolean;
|
|
62
|
+
type?: GenAiPromptTemplateVariableType;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* GenAI Prompt Template Variable Type
|
|
66
|
+
*/
|
|
67
|
+
export type GenAiPromptTemplateVariableType = 'Text' | 'Number' | 'Boolean' | 'Date' | 'DateTime' | 'RecordId' | 'SObject';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"genai.js","sourceRoot":"","sources":["../../../src/types/salesforce/genai.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Salesforce Metadata Type Models
|
|
3
|
+
* Comprehensive TypeScript type definitions for Salesforce metadata
|
|
4
|
+
*
|
|
5
|
+
* This module provides type-safe models for all major Salesforce metadata types,
|
|
6
|
+
* eliminating the need for `any` types in parsers and improving code quality.
|
|
7
|
+
*
|
|
8
|
+
* @module types/salesforce
|
|
9
|
+
*/
|
|
10
|
+
export * from './common.js';
|
|
11
|
+
export * from './parser-types.js';
|
|
12
|
+
export * from './apex.js';
|
|
13
|
+
export * from './aura.js';
|
|
14
|
+
export * from './email.js';
|
|
15
|
+
export * from './flow.js';
|
|
16
|
+
export * from './lwc.js';
|
|
17
|
+
export * from './object.js';
|
|
18
|
+
export * from './custom-metadata.js';
|
|
19
|
+
export * from './layout.js';
|
|
20
|
+
export * from './flexipage.js';
|
|
21
|
+
export * from './bot.js';
|
|
22
|
+
export * from './permission.js';
|
|
23
|
+
export * from './resource.js';
|
|
24
|
+
export * from './visualforce.js';
|
|
25
|
+
export * from './flexipage.js';
|
|
26
|
+
export * from './bot.js';
|
|
27
|
+
export * from './genai.js';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Salesforce Metadata Type Models
|
|
3
|
+
* Comprehensive TypeScript type definitions for Salesforce metadata
|
|
4
|
+
*
|
|
5
|
+
* This module provides type-safe models for all major Salesforce metadata types,
|
|
6
|
+
* eliminating the need for `any` types in parsers and improving code quality.
|
|
7
|
+
*
|
|
8
|
+
* @module types/salesforce
|
|
9
|
+
*/
|
|
10
|
+
// Common Types (shared across multiple metadata types)
|
|
11
|
+
export * from './common.js';
|
|
12
|
+
// Parser Types (permissive types for parsing unknown/future metadata)
|
|
13
|
+
export * from './parser-types.js';
|
|
14
|
+
// Apex Types
|
|
15
|
+
export * from './apex.js';
|
|
16
|
+
// Aura Component Types
|
|
17
|
+
export * from './aura.js';
|
|
18
|
+
// Email Template Types
|
|
19
|
+
export * from './email.js';
|
|
20
|
+
// Flow Types
|
|
21
|
+
export * from './flow.js';
|
|
22
|
+
// Lightning Web Component Types
|
|
23
|
+
export * from './lwc.js';
|
|
24
|
+
// Custom Object and Field Types
|
|
25
|
+
export * from './object.js';
|
|
26
|
+
// Custom Metadata Type
|
|
27
|
+
export * from './custom-metadata.js';
|
|
28
|
+
export * from './layout.js';
|
|
29
|
+
export * from './flexipage.js';
|
|
30
|
+
export * from './bot.js';
|
|
31
|
+
// Permission Set and Profile Types
|
|
32
|
+
export * from './permission.js';
|
|
33
|
+
// Static Resource and Custom Label Types
|
|
34
|
+
export * from './resource.js';
|
|
35
|
+
// Visualforce Types
|
|
36
|
+
export * from './visualforce.js';
|
|
37
|
+
// FlexiPage Types
|
|
38
|
+
export * from './flexipage.js';
|
|
39
|
+
// Bot Types
|
|
40
|
+
export * from './bot.js';
|
|
41
|
+
// GenAI Types
|
|
42
|
+
export * from './genai.js';
|
|
43
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/salesforce/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,uDAAuD;AACvD,cAAc,aAAa,CAAC;AAE5B,sEAAsE;AACtE,cAAc,mBAAmB,CAAC;AAElC,aAAa;AACb,cAAc,WAAW,CAAC;AAE1B,uBAAuB;AACvB,cAAc,WAAW,CAAC;AAE1B,uBAAuB;AACvB,cAAc,YAAY,CAAC;AAE3B,aAAa;AACb,cAAc,WAAW,CAAC;AAE1B,gCAAgC;AAChC,cAAc,UAAU,CAAC;AAEzB,gCAAgC;AAChC,cAAc,aAAa,CAAC;AAE5B,uBAAuB;AACvB,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AAEzB,mCAAmC;AACnC,cAAc,iBAAiB,CAAC;AAEhC,yCAAyC;AACzC,cAAc,eAAe,CAAC;AAE9B,oBAAoB;AACpB,cAAc,kBAAkB,CAAC;AAEjC,kBAAkB;AAClB,cAAc,gBAAgB,CAAC;AAE/B,YAAY;AACZ,cAAc,UAAU,CAAC;AAEzB,cAAc;AACd,cAAc,YAAY,CAAC"}
|