@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,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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"flexipage.js","sourceRoot":"","sources":["../../../src/types/salesforce/flexipage.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|