@jterrats/smart-deployment 1.0.3 → 1.0.4
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/LICENSE +29 -0
- package/README.md +6 -0
- package/lib/ai/wave-validation-service.d.ts +21 -0
- package/lib/ai/wave-validation-service.js +189 -114
- package/lib/ai/wave-validation-service.js.map +1 -1
- package/lib/analysis/analysis-reporter.d.ts +12 -0
- package/lib/analysis/analysis-reporter.js +61 -0
- package/lib/analysis/analysis-reporter.js.map +1 -1
- package/lib/analysis/analyze-artifact-service.d.ts +25 -0
- package/lib/analysis/analyze-artifact-service.js +50 -0
- package/lib/analysis/analyze-artifact-service.js.map +1 -0
- package/lib/analysis/analyze-context-service.d.ts +25 -0
- package/lib/analysis/analyze-context-service.js +28 -0
- package/lib/analysis/analyze-context-service.js.map +1 -0
- package/lib/analysis/project-analysis-service.d.ts +48 -0
- package/lib/analysis/project-analysis-service.js +134 -0
- package/lib/analysis/project-analysis-service.js.map +1 -0
- package/lib/commands/analyze.d.ts +0 -2
- package/lib/commands/analyze.js +31 -162
- package/lib/commands/analyze.js.map +1 -1
- package/lib/commands/config.d.ts +0 -4
- package/lib/commands/config.js +25 -95
- package/lib/commands/config.js.map +1 -1
- package/lib/commands/resume.js +6 -16
- package/lib/commands/resume.js.map +1 -1
- package/lib/commands/start.d.ts +0 -11
- package/lib/commands/start.js +38 -550
- package/lib/commands/start.js.map +1 -1
- package/lib/commands/status.js +36 -12
- package/lib/commands/status.js.map +1 -1
- package/lib/commands/validate.d.ts +3 -0
- package/lib/commands/validate.js +5 -7
- package/lib/commands/validate.js.map +1 -1
- package/lib/config/config-mutation-service.d.ts +21 -0
- package/lib/config/config-mutation-service.js +61 -0
- package/lib/config/config-mutation-service.js.map +1 -0
- package/lib/dependencies/circular-dependency-detector.d.ts +5 -0
- package/lib/dependencies/circular-dependency-detector.js +67 -72
- package/lib/dependencies/circular-dependency-detector.js.map +1 -1
- package/lib/dependencies/dependency-depth-calculator.d.ts +28 -0
- package/lib/dependencies/dependency-depth-calculator.js +86 -39
- package/lib/dependencies/dependency-depth-calculator.js.map +1 -1
- package/lib/dependencies/dependency-graph-builder.d.ts +45 -13
- package/lib/dependencies/dependency-graph-builder.js +228 -123
- package/lib/dependencies/dependency-graph-builder.js.map +1 -1
- package/lib/dependencies/dependency-impact-analyzer.d.ts +13 -0
- package/lib/dependencies/dependency-impact-analyzer.js +146 -102
- package/lib/dependencies/dependency-impact-analyzer.js.map +1 -1
- package/lib/dependencies/dependency-merger.d.ts +10 -0
- package/lib/dependencies/dependency-merger.js +123 -61
- package/lib/dependencies/dependency-merger.js.map +1 -1
- package/lib/dependencies/dependency-resolver.d.ts +34 -9
- package/lib/dependencies/dependency-resolver.js +181 -112
- package/lib/dependencies/dependency-resolver.js.map +1 -1
- package/lib/dependencies/dependency-semantics.d.ts +20 -0
- package/lib/dependencies/dependency-semantics.js +55 -0
- package/lib/dependencies/dependency-semantics.js.map +1 -0
- package/lib/dependencies/graph-visualizer.d.ts +6 -1
- package/lib/dependencies/graph-visualizer.js +38 -4
- package/lib/dependencies/graph-visualizer.js.map +1 -1
- package/lib/dependencies/heuristic-inference.d.ts +2 -53
- package/lib/dependencies/heuristic-inference.js +8 -317
- package/lib/dependencies/heuristic-inference.js.map +1 -1
- package/lib/dependencies/heuristic-patterns.d.ts +14 -0
- package/lib/dependencies/heuristic-patterns.js +247 -0
- package/lib/dependencies/heuristic-patterns.js.map +1 -0
- package/lib/deployment/cycle-remediation-runner.d.ts +36 -0
- package/lib/deployment/cycle-remediation-runner.js +262 -0
- package/lib/deployment/cycle-remediation-runner.js.map +1 -0
- package/lib/deployment/deployment-context-service.d.ts +24 -0
- package/lib/deployment/deployment-context-service.js +17 -0
- package/lib/deployment/deployment-context-service.js.map +1 -0
- package/lib/deployment/deployment-runner.d.ts +37 -0
- package/lib/deployment/deployment-runner.js +94 -0
- package/lib/deployment/deployment-runner.js.map +1 -0
- package/lib/deployment/deployment-status-service.d.ts +5 -0
- package/lib/deployment/deployment-status-service.js +39 -18
- package/lib/deployment/deployment-status-service.js.map +1 -1
- package/lib/deployment/deployment-validation-service.d.ts +5 -2
- package/lib/deployment/deployment-validation-service.js +48 -45
- package/lib/deployment/deployment-validation-service.js.map +1 -1
- package/lib/deployment/resume-deployment-service.d.ts +14 -0
- package/lib/deployment/resume-deployment-service.js +25 -0
- package/lib/deployment/resume-deployment-service.js.map +1 -0
- package/lib/deployment/start-execution-service.d.ts +44 -0
- package/lib/deployment/start-execution-service.js +94 -0
- package/lib/deployment/start-execution-service.js.map +1 -0
- package/lib/deployment/test-executor.d.ts +60 -1
- package/lib/deployment/test-executor.js +180 -12
- package/lib/deployment/test-executor.js.map +1 -1
- package/lib/deployment/test-plan-service.d.ts +8 -0
- package/lib/deployment/test-plan-service.js +26 -0
- package/lib/deployment/test-plan-service.js.map +1 -0
- package/lib/deployment/wave-manifest-service.d.ts +11 -0
- package/lib/deployment/wave-manifest-service.js +41 -0
- package/lib/deployment/wave-manifest-service.js.map +1 -0
- package/lib/parsers/apex-class-parser.js +180 -98
- package/lib/parsers/apex-class-parser.js.map +1 -1
- package/lib/parsers/apex-trigger-parser.js +56 -7
- package/lib/parsers/apex-trigger-parser.js.map +1 -1
- package/lib/parsers/aura-parser.js +2 -2
- package/lib/parsers/aura-parser.js.map +1 -1
- package/lib/parsers/bot-parser.js +31 -4
- package/lib/parsers/bot-parser.js.map +1 -1
- package/lib/parsers/custom-metadata-parser.js +37 -3
- package/lib/parsers/custom-metadata-parser.js.map +1 -1
- package/lib/parsers/custom-object-parser.js +284 -150
- package/lib/parsers/custom-object-parser.js.map +1 -1
- package/lib/parsers/email-template-parser.js +115 -58
- package/lib/parsers/email-template-parser.js.map +1 -1
- package/lib/parsers/flexipage-parser.js +41 -16
- package/lib/parsers/flexipage-parser.js.map +1 -1
- package/lib/parsers/flow-parser.js +73 -63
- package/lib/parsers/flow-parser.js.map +1 -1
- package/lib/parsers/genai-prompt-parser.js +16 -4
- package/lib/parsers/genai-prompt-parser.js.map +1 -1
- package/lib/parsers/layout-parser.d.ts +11 -0
- package/lib/parsers/layout-parser.js +143 -68
- package/lib/parsers/layout-parser.js.map +1 -1
- package/lib/parsers/lwc-parser.d.ts +0 -9
- package/lib/parsers/lwc-parser.js +245 -100
- package/lib/parsers/lwc-parser.js.map +1 -1
- package/lib/parsers/parser-utils.d.ts +3 -0
- package/lib/parsers/parser-utils.js +16 -0
- package/lib/parsers/parser-utils.js.map +1 -0
- package/lib/parsers/permission-set-parser.d.ts +6 -0
- package/lib/parsers/permission-set-parser.js +31 -40
- package/lib/parsers/permission-set-parser.js.map +1 -1
- package/lib/parsers/profile-parser.d.ts +13 -0
- package/lib/parsers/profile-parser.js +39 -34
- package/lib/parsers/profile-parser.js.map +1 -1
- package/lib/parsers/visualforce-parser.js +2 -1
- package/lib/parsers/visualforce-parser.js.map +1 -1
- package/lib/presentation/analyze-command-presenter.d.ts +10 -0
- package/lib/presentation/analyze-command-presenter.js +30 -0
- package/lib/presentation/analyze-command-presenter.js.map +1 -0
- package/lib/presentation/config-command-presenter.d.ts +15 -0
- package/lib/presentation/config-command-presenter.js +50 -0
- package/lib/presentation/config-command-presenter.js.map +1 -0
- package/lib/presentation/project-analysis-presenter.d.ts +9 -0
- package/lib/presentation/project-analysis-presenter.js +9 -0
- package/lib/presentation/project-analysis-presenter.js.map +1 -0
- package/lib/presentation/resume-command-presenter.d.ts +7 -0
- package/lib/presentation/resume-command-presenter.js +12 -0
- package/lib/presentation/resume-command-presenter.js.map +1 -0
- package/lib/presentation/start-command-presenter.d.ts +15 -0
- package/lib/presentation/start-command-presenter.js +29 -0
- package/lib/presentation/start-command-presenter.js.map +1 -0
- package/lib/presentation/status-command-presenter.d.ts +7 -0
- package/lib/presentation/status-command-presenter.js +16 -0
- package/lib/presentation/status-command-presenter.js.map +1 -0
- package/lib/presentation/validate-command-presenter.d.ts +9 -0
- package/lib/presentation/validate-command-presenter.js +50 -0
- package/lib/presentation/validate-command-presenter.js.map +1 -0
- package/lib/services/metadata-scanner-service.d.ts +8 -12
- package/lib/services/metadata-scanner-service.js +55 -533
- package/lib/services/metadata-scanner-service.js.map +1 -1
- package/lib/services/scanners/automation-ai-metadata-scanner.d.ts +4 -0
- package/lib/services/scanners/automation-ai-metadata-scanner.js +61 -0
- package/lib/services/scanners/automation-ai-metadata-scanner.js.map +1 -0
- package/lib/services/scanners/code-metadata-scanner.d.ts +23 -0
- package/lib/services/scanners/code-metadata-scanner.js +149 -0
- package/lib/services/scanners/code-metadata-scanner.js.map +1 -0
- package/lib/services/scanners/data-metadata-scanner.d.ts +3 -0
- package/lib/services/scanners/data-metadata-scanner.js +82 -0
- package/lib/services/scanners/data-metadata-scanner.js.map +1 -0
- package/lib/services/scanners/experience-metadata-scanner.d.ts +5 -0
- package/lib/services/scanners/experience-metadata-scanner.js +123 -0
- package/lib/services/scanners/experience-metadata-scanner.js.map +1 -0
- package/lib/services/scanners/scanner-runtime.d.ts +11 -0
- package/lib/services/scanners/scanner-runtime.js +115 -0
- package/lib/services/scanners/scanner-runtime.js.map +1 -0
- package/lib/services/scanners/security-metadata-scanner.d.ts +3 -0
- package/lib/services/scanners/security-metadata-scanner.js +71 -0
- package/lib/services/scanners/security-metadata-scanner.js.map +1 -0
- package/lib/types/dependency.d.ts +11 -1
- package/lib/types/metadata.d.ts +17 -0
- package/lib/types/salesforce/flow/actions.d.ts +108 -0
- package/lib/types/salesforce/flow/actions.js +2 -0
- package/lib/types/salesforce/flow/actions.js.map +1 -0
- package/lib/types/salesforce/flow/common.d.ts +36 -0
- package/lib/types/salesforce/flow/common.js +5 -0
- package/lib/types/salesforce/flow/common.js.map +1 -0
- package/lib/types/salesforce/flow/metadata.d.ts +37 -0
- package/lib/types/salesforce/flow/metadata.js +2 -0
- package/lib/types/salesforce/flow/metadata.js.map +1 -0
- package/lib/types/salesforce/flow/records.d.ts +38 -0
- package/lib/types/salesforce/flow/records.js +2 -0
- package/lib/types/salesforce/flow/records.js.map +1 -0
- package/lib/types/salesforce/flow/resources.d.ts +44 -0
- package/lib/types/salesforce/flow/resources.js +2 -0
- package/lib/types/salesforce/flow/resources.js.map +1 -0
- package/lib/types/salesforce/flow/screens.d.ts +56 -0
- package/lib/types/salesforce/flow/screens.js +2 -0
- package/lib/types/salesforce/flow/screens.js.map +1 -0
- package/lib/types/salesforce/flow/start.d.ts +24 -0
- package/lib/types/salesforce/flow/start.js +2 -0
- package/lib/types/salesforce/flow/start.js.map +1 -0
- package/lib/types/salesforce/flow.d.ts +9 -514
- package/lib/types/salesforce/flow.js +1 -1
- package/lib/types/salesforce/object/core.d.ts +68 -0
- package/lib/types/salesforce/object/core.js +5 -0
- package/lib/types/salesforce/object/core.js.map +1 -0
- package/lib/types/salesforce/object/field.d.ts +155 -0
- package/lib/types/salesforce/object/field.js +5 -0
- package/lib/types/salesforce/object/field.js.map +1 -0
- package/lib/types/salesforce/object/filter.d.ts +16 -0
- package/lib/types/salesforce/object/filter.js +5 -0
- package/lib/types/salesforce/object/filter.js.map +1 -0
- package/lib/types/salesforce/object/policy.d.ts +27 -0
- package/lib/types/salesforce/object/policy.js +5 -0
- package/lib/types/salesforce/object/policy.js.map +1 -0
- package/lib/types/salesforce/object/record.d.ts +44 -0
- package/lib/types/salesforce/object/record.js +5 -0
- package/lib/types/salesforce/object/record.js.map +1 -0
- package/lib/types/salesforce/object/view.d.ts +71 -0
- package/lib/types/salesforce/object/view.js +5 -0
- package/lib/types/salesforce/object/view.js.map +1 -0
- package/lib/types/salesforce/object/weblink.d.ts +70 -0
- package/lib/types/salesforce/object/weblink.js +5 -0
- package/lib/types/salesforce/object/weblink.js.map +1 -0
- package/lib/types/salesforce/object.d.ts +7 -423
- package/lib/types/salesforce/object.js +7 -1
- package/lib/types/salesforce/object.js.map +1 -1
- package/lib/utils/cache-manager.d.ts +16 -15
- package/lib/utils/cache-manager.js +290 -188
- package/lib/utils/cache-manager.js.map +1 -1
- package/lib/utils/logger.d.ts +8 -0
- package/lib/utils/logger.js +82 -69
- package/lib/utils/logger.js.map +1 -1
- package/lib/validators/xml/xml-reference-rules.d.ts +3 -0
- package/lib/validators/xml/xml-reference-rules.js +173 -0
- package/lib/validators/xml/xml-reference-rules.js.map +1 -0
- package/lib/validators/xml/xml-report-formatter.d.ts +2 -0
- package/lib/validators/xml/xml-report-formatter.js +47 -0
- package/lib/validators/xml/xml-report-formatter.js.map +1 -0
- package/lib/validators/xml/xml-schema-rules.d.ts +3 -0
- package/lib/validators/xml/xml-schema-rules.js +75 -0
- package/lib/validators/xml/xml-schema-rules.js.map +1 -0
- package/lib/validators/xml/xml-validation-types.d.ts +25 -0
- package/lib/validators/xml/xml-validation-types.js +2 -0
- package/lib/validators/xml/xml-validation-types.js.map +1 -0
- package/lib/validators/xml-metadata-validator.d.ts +2 -63
- package/lib/validators/xml-metadata-validator.js +7 -338
- package/lib/validators/xml-metadata-validator.js.map +1 -1
- package/lib/waves/test-optimizer.d.ts +13 -0
- package/lib/waves/test-optimizer.js +124 -63
- package/lib/waves/test-optimizer.js.map +1 -1
- package/lib/waves/wave-builder.d.ts +17 -21
- package/lib/waves/wave-builder.js +199 -135
- package/lib/waves/wave-builder.js.map +1 -1
- package/lib/waves/wave-splitter.d.ts +12 -8
- package/lib/waves/wave-splitter.js +156 -115
- package/lib/waves/wave-splitter.js.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom field, lookup, and value set types for Salesforce Object metadata.
|
|
3
|
+
*/
|
|
4
|
+
import type { FilterItem } from './filter.js';
|
|
5
|
+
/**
|
|
6
|
+
* Custom Field metadata
|
|
7
|
+
*/
|
|
8
|
+
export type CustomField = {
|
|
9
|
+
fullName: string;
|
|
10
|
+
label: string;
|
|
11
|
+
type: FieldType;
|
|
12
|
+
businessOwnerGroup?: string;
|
|
13
|
+
businessOwnerUser?: string;
|
|
14
|
+
businessStatus?: string;
|
|
15
|
+
caseSensitive?: boolean;
|
|
16
|
+
complianceGroup?: string;
|
|
17
|
+
customDataType?: string;
|
|
18
|
+
defaultValue?: string;
|
|
19
|
+
deleteConstraint?: DeleteConstraint;
|
|
20
|
+
deprecated?: boolean;
|
|
21
|
+
description?: string;
|
|
22
|
+
displayFormat?: string;
|
|
23
|
+
displayLocationInDecimal?: boolean;
|
|
24
|
+
encrypted?: boolean;
|
|
25
|
+
encryptionScheme?: EncryptionScheme;
|
|
26
|
+
externalDeveloperName?: string;
|
|
27
|
+
externalId?: boolean;
|
|
28
|
+
fieldManageability?: FieldManageability;
|
|
29
|
+
formula?: string;
|
|
30
|
+
formulaTreatBlanksAs?: TreatBlanksAs;
|
|
31
|
+
inlineHelpText?: string;
|
|
32
|
+
isAIPredictionField?: boolean;
|
|
33
|
+
isConversationIntelligenceField?: boolean;
|
|
34
|
+
isFilteringDisabled?: boolean;
|
|
35
|
+
isNameField?: boolean;
|
|
36
|
+
isSortingDisabled?: boolean;
|
|
37
|
+
length?: number;
|
|
38
|
+
lookupFilter?: LookupFilter;
|
|
39
|
+
maskChar?: MaskChar;
|
|
40
|
+
maskType?: MaskType;
|
|
41
|
+
metadataRelationshipControllingField?: string;
|
|
42
|
+
populateExistingRows?: boolean;
|
|
43
|
+
precision?: number;
|
|
44
|
+
referenceTo?: string[];
|
|
45
|
+
referenceTargetField?: string;
|
|
46
|
+
relationshipLabel?: string;
|
|
47
|
+
relationshipName?: string;
|
|
48
|
+
relationshipOrder?: number;
|
|
49
|
+
reparentableMasterDetail?: boolean;
|
|
50
|
+
required?: boolean;
|
|
51
|
+
scale?: number;
|
|
52
|
+
securityClassification?: string;
|
|
53
|
+
startingNumber?: number;
|
|
54
|
+
stripMarkup?: boolean;
|
|
55
|
+
summarizedField?: string;
|
|
56
|
+
summaryFilterItems?: FilterItem[];
|
|
57
|
+
summaryForeignKey?: string;
|
|
58
|
+
summaryOperation?: SummaryOperations;
|
|
59
|
+
trackFeedHistory?: boolean;
|
|
60
|
+
trackHistory?: boolean;
|
|
61
|
+
trackTrending?: boolean;
|
|
62
|
+
translateData?: boolean;
|
|
63
|
+
unique?: boolean;
|
|
64
|
+
valueSet?: ValueSet;
|
|
65
|
+
visibleLines?: number;
|
|
66
|
+
writeRequiresMasterRead?: boolean;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Field type
|
|
70
|
+
*/
|
|
71
|
+
export type FieldType = 'AutoNumber' | 'Lookup' | 'MasterDetail' | 'MetadataRelationship' | 'Checkbox' | 'Currency' | 'Date' | 'DateTime' | 'Email' | 'EncryptedText' | 'ExternalLookup' | 'IndirectLookup' | 'Number' | 'Percent' | 'Phone' | 'Picklist' | 'MultiselectPicklist' | 'Summary' | 'Text' | 'TextArea' | 'LongTextArea' | 'Html' | 'Url' | 'Hierarchy' | 'File' | 'Location' | 'Time';
|
|
72
|
+
/**
|
|
73
|
+
* Delete constraint
|
|
74
|
+
*/
|
|
75
|
+
export type DeleteConstraint = 'Cascade' | 'Restrict' | 'SetNull';
|
|
76
|
+
/**
|
|
77
|
+
* Encryption scheme
|
|
78
|
+
*/
|
|
79
|
+
export type EncryptionScheme = 'None' | 'ProbabilisticEncryption' | 'CaseSensitiveDeterministicEncryption' | 'CaseInsensitiveDeterministicEncryption';
|
|
80
|
+
/**
|
|
81
|
+
* Field manageability
|
|
82
|
+
*/
|
|
83
|
+
export type FieldManageability = 'DeveloperControlled' | 'SubscriberControlled' | 'Locked';
|
|
84
|
+
/**
|
|
85
|
+
* Treat blanks as
|
|
86
|
+
*/
|
|
87
|
+
export type TreatBlanksAs = 'BlankAsBlank' | 'BlankAsZero';
|
|
88
|
+
/**
|
|
89
|
+
* Mask char
|
|
90
|
+
*/
|
|
91
|
+
export type MaskChar = 'asterisk' | 'X';
|
|
92
|
+
/**
|
|
93
|
+
* Mask type
|
|
94
|
+
*/
|
|
95
|
+
export type MaskType = 'all' | 'creditCard' | 'ssn' | 'lastFour' | 'sin' | 'nino';
|
|
96
|
+
/**
|
|
97
|
+
* Summary operations
|
|
98
|
+
*/
|
|
99
|
+
export type SummaryOperations = 'count' | 'min' | 'max' | 'sum';
|
|
100
|
+
/**
|
|
101
|
+
* Lookup filter
|
|
102
|
+
*/
|
|
103
|
+
export type LookupFilter = {
|
|
104
|
+
active: boolean;
|
|
105
|
+
booleanFilter?: string;
|
|
106
|
+
errorMessage?: string;
|
|
107
|
+
filterItems?: FilterItem[];
|
|
108
|
+
infoMessage?: string;
|
|
109
|
+
isOptional: boolean;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Value set
|
|
113
|
+
*/
|
|
114
|
+
export type ValueSet = {
|
|
115
|
+
controllingField?: string;
|
|
116
|
+
restricted?: boolean;
|
|
117
|
+
valueSetDefinition?: ValueSetDefinition;
|
|
118
|
+
valueSetName?: string;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Value set definition
|
|
122
|
+
*/
|
|
123
|
+
export type ValueSetDefinition = {
|
|
124
|
+
sorted: boolean;
|
|
125
|
+
value: CustomValue[];
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Custom value (picklist value)
|
|
129
|
+
*/
|
|
130
|
+
export type CustomValue = {
|
|
131
|
+
fullName: string;
|
|
132
|
+
default: boolean;
|
|
133
|
+
label: string;
|
|
134
|
+
color?: string;
|
|
135
|
+
isActive?: boolean;
|
|
136
|
+
description?: string;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Field set
|
|
140
|
+
*/
|
|
141
|
+
export type FieldSet = {
|
|
142
|
+
fullName: string;
|
|
143
|
+
availableFields?: FieldSetItem[];
|
|
144
|
+
description?: string;
|
|
145
|
+
displayedFields: FieldSetItem[];
|
|
146
|
+
label: string;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Field set item
|
|
150
|
+
*/
|
|
151
|
+
export type FieldSetItem = {
|
|
152
|
+
field: string;
|
|
153
|
+
isFieldManaged?: boolean;
|
|
154
|
+
isRequired?: boolean;
|
|
155
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.js","sourceRoot":"","sources":["../../../../src/types/salesforce/object/field.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Filter and query condition types for Salesforce Object metadata.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Filter item
|
|
6
|
+
*/
|
|
7
|
+
export type FilterItem = {
|
|
8
|
+
field: string;
|
|
9
|
+
operation: FilterOperation;
|
|
10
|
+
value?: string;
|
|
11
|
+
valueField?: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Filter operation
|
|
15
|
+
*/
|
|
16
|
+
export type FilterOperation = 'equals' | 'notEqual' | 'lessThan' | 'greaterThan' | 'lessOrEqual' | 'greaterOrEqual' | 'contains' | 'notContain' | 'startsWith' | 'includes' | 'excludes' | 'within';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../../../src/types/salesforce/object/filter.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sharing, validation, and object policy types for Salesforce Object metadata.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Sharing reason
|
|
6
|
+
*/
|
|
7
|
+
export type SharingReason = {
|
|
8
|
+
fullName: string;
|
|
9
|
+
label: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Sharing recalculation
|
|
13
|
+
*/
|
|
14
|
+
export type SharingRecalculation = {
|
|
15
|
+
className: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Validation rule
|
|
19
|
+
*/
|
|
20
|
+
export type ValidationRule = {
|
|
21
|
+
fullName: string;
|
|
22
|
+
active: boolean;
|
|
23
|
+
description?: string;
|
|
24
|
+
errorConditionFormula: string;
|
|
25
|
+
errorDisplayField?: string;
|
|
26
|
+
errorMessage: string;
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../../../src/types/salesforce/object/policy.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Record type and picklist option types for Salesforce Object metadata.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Record type
|
|
6
|
+
*/
|
|
7
|
+
export type RecordType = {
|
|
8
|
+
fullName: string;
|
|
9
|
+
active: boolean;
|
|
10
|
+
businessProcess?: string;
|
|
11
|
+
compactLayoutAssignment?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
label: string;
|
|
14
|
+
picklistValues?: RecordTypePicklistValue[];
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Record type picklist value
|
|
18
|
+
*/
|
|
19
|
+
export type RecordTypePicklistValue = {
|
|
20
|
+
picklist: string;
|
|
21
|
+
values: PicklistValue[];
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Picklist value
|
|
25
|
+
*/
|
|
26
|
+
export type PicklistValue = {
|
|
27
|
+
fullName: string;
|
|
28
|
+
default: boolean;
|
|
29
|
+
allowEmail?: boolean;
|
|
30
|
+
closed?: boolean;
|
|
31
|
+
controllingFieldValues?: string[];
|
|
32
|
+
converted?: boolean;
|
|
33
|
+
cssExposed?: boolean;
|
|
34
|
+
forecastCategory?: ForecastCategories;
|
|
35
|
+
highPriority?: boolean;
|
|
36
|
+
probability?: number;
|
|
37
|
+
reverseRole?: string;
|
|
38
|
+
reviewed?: boolean;
|
|
39
|
+
won?: boolean;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Forecast categories
|
|
43
|
+
*/
|
|
44
|
+
export type ForecastCategories = 'Omitted' | 'Pipeline' | 'BestCase' | 'Forecast' | 'Closed';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../../src/types/salesforce/object/record.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List view and search layout types for Salesforce Object metadata.
|
|
3
|
+
*/
|
|
4
|
+
import type { FilterOperation } from './filter.js';
|
|
5
|
+
/**
|
|
6
|
+
* List view
|
|
7
|
+
*/
|
|
8
|
+
export type ListView = {
|
|
9
|
+
fullName: string;
|
|
10
|
+
booleanFilter?: string;
|
|
11
|
+
columns: string[];
|
|
12
|
+
division?: string;
|
|
13
|
+
filterScope: FilterScope;
|
|
14
|
+
filters?: ListViewFilter[];
|
|
15
|
+
label: string;
|
|
16
|
+
language?: string;
|
|
17
|
+
queue?: string;
|
|
18
|
+
sharedTo?: SharedTo;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Filter scope
|
|
22
|
+
*/
|
|
23
|
+
export type FilterScope = 'Everything' | 'Mine' | 'Queue' | 'Delegated' | 'MyTerritory' | 'MyTeamTerritory' | 'Team' | 'AssignedToMe' | 'MineAndMyGroups';
|
|
24
|
+
/**
|
|
25
|
+
* List view filter
|
|
26
|
+
*/
|
|
27
|
+
export type ListViewFilter = {
|
|
28
|
+
field: string;
|
|
29
|
+
operation: FilterOperation;
|
|
30
|
+
value?: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Shared to
|
|
34
|
+
*/
|
|
35
|
+
export type SharedTo = {
|
|
36
|
+
allCustomerPortalUsers?: string;
|
|
37
|
+
allInternalUsers?: string;
|
|
38
|
+
allPartnerUsers?: string;
|
|
39
|
+
channelProgramGroup?: string[];
|
|
40
|
+
channelProgramGroups?: string[];
|
|
41
|
+
group?: string[];
|
|
42
|
+
groups?: string[];
|
|
43
|
+
managerSubordinates?: string[];
|
|
44
|
+
managers?: string[];
|
|
45
|
+
portalRole?: string[];
|
|
46
|
+
portalRoleAndSubordinates?: string[];
|
|
47
|
+
queue?: string[];
|
|
48
|
+
role?: string[];
|
|
49
|
+
roleAndSubordinates?: string[];
|
|
50
|
+
roleAndSubordinatesInternal?: string[];
|
|
51
|
+
roles?: string[];
|
|
52
|
+
rolesAndSubordinates?: string[];
|
|
53
|
+
territories?: string[];
|
|
54
|
+
territoriesAndSubordinates?: string[];
|
|
55
|
+
territory?: string[];
|
|
56
|
+
territoryAndSubordinates?: string[];
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Search layouts
|
|
60
|
+
*/
|
|
61
|
+
export type SearchLayouts = {
|
|
62
|
+
customTabListAdditionalFields?: string[];
|
|
63
|
+
excludedStandardButtons?: string[];
|
|
64
|
+
listViewButtons?: string[];
|
|
65
|
+
lookupDialogsAdditionalFields?: string[];
|
|
66
|
+
lookupFilterFields?: string[];
|
|
67
|
+
lookupPhoneDialogsAdditionalFields?: string[];
|
|
68
|
+
searchFilterFields?: string[];
|
|
69
|
+
searchResultsAdditionalFields?: string[];
|
|
70
|
+
searchResultsCustomButtons?: string[];
|
|
71
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../../src/types/salesforce/object/view.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web link and action override types for Salesforce Object metadata.
|
|
3
|
+
*/
|
|
4
|
+
import type { Encoding } from '../common.js';
|
|
5
|
+
/**
|
|
6
|
+
* Action override
|
|
7
|
+
*/
|
|
8
|
+
export type ActionOverride = {
|
|
9
|
+
actionName: string;
|
|
10
|
+
comment?: string;
|
|
11
|
+
content?: string;
|
|
12
|
+
formFactor?: FormFactor;
|
|
13
|
+
skipRecordTypeSelect?: boolean;
|
|
14
|
+
type: ActionOverrideType;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Form factor
|
|
18
|
+
*/
|
|
19
|
+
export type FormFactor = 'Small' | 'Medium' | 'Large';
|
|
20
|
+
/**
|
|
21
|
+
* Action override type
|
|
22
|
+
*/
|
|
23
|
+
export type ActionOverrideType = 'Default' | 'Standard' | 'Scontrol' | 'Visualforce' | 'Flexipage' | 'LightningComponent';
|
|
24
|
+
/**
|
|
25
|
+
* Web link
|
|
26
|
+
*/
|
|
27
|
+
export type WebLink = {
|
|
28
|
+
fullName: string;
|
|
29
|
+
availability: WebLinkAvailability;
|
|
30
|
+
description?: string;
|
|
31
|
+
displayType: WebLinkDisplayType;
|
|
32
|
+
encodingKey?: Encoding;
|
|
33
|
+
hasMenubar?: boolean;
|
|
34
|
+
hasScrollbars?: boolean;
|
|
35
|
+
hasToolbar?: boolean;
|
|
36
|
+
height?: number;
|
|
37
|
+
isResizable?: boolean;
|
|
38
|
+
linkType: WebLinkType;
|
|
39
|
+
masterLabel?: string;
|
|
40
|
+
openType: WebLinkWindowType;
|
|
41
|
+
page?: string;
|
|
42
|
+
position?: WebLinkPosition;
|
|
43
|
+
protected: boolean;
|
|
44
|
+
requireRowSelection?: boolean;
|
|
45
|
+
scontrol?: string;
|
|
46
|
+
showsLocation?: boolean;
|
|
47
|
+
showsStatus?: boolean;
|
|
48
|
+
url?: string;
|
|
49
|
+
width?: number;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Web link availability
|
|
53
|
+
*/
|
|
54
|
+
export type WebLinkAvailability = 'online' | 'offline';
|
|
55
|
+
/**
|
|
56
|
+
* Web link display type
|
|
57
|
+
*/
|
|
58
|
+
export type WebLinkDisplayType = 'link' | 'button' | 'massActionButton';
|
|
59
|
+
/**
|
|
60
|
+
* Web link type
|
|
61
|
+
*/
|
|
62
|
+
export type WebLinkType = 'url' | 'sControl' | 'javascript' | 'page' | 'flow';
|
|
63
|
+
/**
|
|
64
|
+
* Web link window type
|
|
65
|
+
*/
|
|
66
|
+
export type WebLinkWindowType = 'newWindow' | 'sidebar' | 'noSidebar' | 'replace' | 'onClickJavaScript';
|
|
67
|
+
/**
|
|
68
|
+
* Web link position
|
|
69
|
+
*/
|
|
70
|
+
export type WebLinkPosition = 'fullScreen' | 'none' | 'topLeft';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weblink.js","sourceRoot":"","sources":["../../../../src/types/salesforce/object/weblink.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|