@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.
Files changed (257) hide show
  1. package/LICENSE +29 -0
  2. package/README.md +6 -0
  3. package/lib/ai/wave-validation-service.d.ts +21 -0
  4. package/lib/ai/wave-validation-service.js +189 -114
  5. package/lib/ai/wave-validation-service.js.map +1 -1
  6. package/lib/analysis/analysis-reporter.d.ts +12 -0
  7. package/lib/analysis/analysis-reporter.js +61 -0
  8. package/lib/analysis/analysis-reporter.js.map +1 -1
  9. package/lib/analysis/analyze-artifact-service.d.ts +25 -0
  10. package/lib/analysis/analyze-artifact-service.js +50 -0
  11. package/lib/analysis/analyze-artifact-service.js.map +1 -0
  12. package/lib/analysis/analyze-context-service.d.ts +25 -0
  13. package/lib/analysis/analyze-context-service.js +28 -0
  14. package/lib/analysis/analyze-context-service.js.map +1 -0
  15. package/lib/analysis/project-analysis-service.d.ts +48 -0
  16. package/lib/analysis/project-analysis-service.js +134 -0
  17. package/lib/analysis/project-analysis-service.js.map +1 -0
  18. package/lib/commands/analyze.d.ts +0 -2
  19. package/lib/commands/analyze.js +31 -162
  20. package/lib/commands/analyze.js.map +1 -1
  21. package/lib/commands/config.d.ts +0 -4
  22. package/lib/commands/config.js +25 -95
  23. package/lib/commands/config.js.map +1 -1
  24. package/lib/commands/resume.js +6 -16
  25. package/lib/commands/resume.js.map +1 -1
  26. package/lib/commands/start.d.ts +0 -11
  27. package/lib/commands/start.js +38 -550
  28. package/lib/commands/start.js.map +1 -1
  29. package/lib/commands/status.js +36 -12
  30. package/lib/commands/status.js.map +1 -1
  31. package/lib/commands/validate.d.ts +3 -0
  32. package/lib/commands/validate.js +5 -7
  33. package/lib/commands/validate.js.map +1 -1
  34. package/lib/config/config-mutation-service.d.ts +21 -0
  35. package/lib/config/config-mutation-service.js +61 -0
  36. package/lib/config/config-mutation-service.js.map +1 -0
  37. package/lib/dependencies/circular-dependency-detector.d.ts +5 -0
  38. package/lib/dependencies/circular-dependency-detector.js +67 -72
  39. package/lib/dependencies/circular-dependency-detector.js.map +1 -1
  40. package/lib/dependencies/dependency-depth-calculator.d.ts +28 -0
  41. package/lib/dependencies/dependency-depth-calculator.js +86 -39
  42. package/lib/dependencies/dependency-depth-calculator.js.map +1 -1
  43. package/lib/dependencies/dependency-graph-builder.d.ts +45 -13
  44. package/lib/dependencies/dependency-graph-builder.js +228 -123
  45. package/lib/dependencies/dependency-graph-builder.js.map +1 -1
  46. package/lib/dependencies/dependency-impact-analyzer.d.ts +13 -0
  47. package/lib/dependencies/dependency-impact-analyzer.js +146 -102
  48. package/lib/dependencies/dependency-impact-analyzer.js.map +1 -1
  49. package/lib/dependencies/dependency-merger.d.ts +10 -0
  50. package/lib/dependencies/dependency-merger.js +123 -61
  51. package/lib/dependencies/dependency-merger.js.map +1 -1
  52. package/lib/dependencies/dependency-resolver.d.ts +34 -9
  53. package/lib/dependencies/dependency-resolver.js +181 -112
  54. package/lib/dependencies/dependency-resolver.js.map +1 -1
  55. package/lib/dependencies/dependency-semantics.d.ts +20 -0
  56. package/lib/dependencies/dependency-semantics.js +55 -0
  57. package/lib/dependencies/dependency-semantics.js.map +1 -0
  58. package/lib/dependencies/graph-visualizer.d.ts +6 -1
  59. package/lib/dependencies/graph-visualizer.js +38 -4
  60. package/lib/dependencies/graph-visualizer.js.map +1 -1
  61. package/lib/dependencies/heuristic-inference.d.ts +2 -53
  62. package/lib/dependencies/heuristic-inference.js +8 -317
  63. package/lib/dependencies/heuristic-inference.js.map +1 -1
  64. package/lib/dependencies/heuristic-patterns.d.ts +14 -0
  65. package/lib/dependencies/heuristic-patterns.js +247 -0
  66. package/lib/dependencies/heuristic-patterns.js.map +1 -0
  67. package/lib/deployment/cycle-remediation-runner.d.ts +36 -0
  68. package/lib/deployment/cycle-remediation-runner.js +262 -0
  69. package/lib/deployment/cycle-remediation-runner.js.map +1 -0
  70. package/lib/deployment/deployment-context-service.d.ts +24 -0
  71. package/lib/deployment/deployment-context-service.js +17 -0
  72. package/lib/deployment/deployment-context-service.js.map +1 -0
  73. package/lib/deployment/deployment-runner.d.ts +37 -0
  74. package/lib/deployment/deployment-runner.js +94 -0
  75. package/lib/deployment/deployment-runner.js.map +1 -0
  76. package/lib/deployment/deployment-status-service.d.ts +5 -0
  77. package/lib/deployment/deployment-status-service.js +39 -18
  78. package/lib/deployment/deployment-status-service.js.map +1 -1
  79. package/lib/deployment/deployment-validation-service.d.ts +5 -2
  80. package/lib/deployment/deployment-validation-service.js +48 -45
  81. package/lib/deployment/deployment-validation-service.js.map +1 -1
  82. package/lib/deployment/resume-deployment-service.d.ts +14 -0
  83. package/lib/deployment/resume-deployment-service.js +25 -0
  84. package/lib/deployment/resume-deployment-service.js.map +1 -0
  85. package/lib/deployment/start-execution-service.d.ts +44 -0
  86. package/lib/deployment/start-execution-service.js +94 -0
  87. package/lib/deployment/start-execution-service.js.map +1 -0
  88. package/lib/deployment/test-executor.d.ts +60 -1
  89. package/lib/deployment/test-executor.js +180 -12
  90. package/lib/deployment/test-executor.js.map +1 -1
  91. package/lib/deployment/test-plan-service.d.ts +8 -0
  92. package/lib/deployment/test-plan-service.js +26 -0
  93. package/lib/deployment/test-plan-service.js.map +1 -0
  94. package/lib/deployment/wave-manifest-service.d.ts +11 -0
  95. package/lib/deployment/wave-manifest-service.js +41 -0
  96. package/lib/deployment/wave-manifest-service.js.map +1 -0
  97. package/lib/parsers/apex-class-parser.js +180 -98
  98. package/lib/parsers/apex-class-parser.js.map +1 -1
  99. package/lib/parsers/apex-trigger-parser.js +56 -7
  100. package/lib/parsers/apex-trigger-parser.js.map +1 -1
  101. package/lib/parsers/aura-parser.js +2 -2
  102. package/lib/parsers/aura-parser.js.map +1 -1
  103. package/lib/parsers/bot-parser.js +31 -4
  104. package/lib/parsers/bot-parser.js.map +1 -1
  105. package/lib/parsers/custom-metadata-parser.js +37 -3
  106. package/lib/parsers/custom-metadata-parser.js.map +1 -1
  107. package/lib/parsers/custom-object-parser.js +284 -150
  108. package/lib/parsers/custom-object-parser.js.map +1 -1
  109. package/lib/parsers/email-template-parser.js +115 -58
  110. package/lib/parsers/email-template-parser.js.map +1 -1
  111. package/lib/parsers/flexipage-parser.js +41 -16
  112. package/lib/parsers/flexipage-parser.js.map +1 -1
  113. package/lib/parsers/flow-parser.js +73 -63
  114. package/lib/parsers/flow-parser.js.map +1 -1
  115. package/lib/parsers/genai-prompt-parser.js +16 -4
  116. package/lib/parsers/genai-prompt-parser.js.map +1 -1
  117. package/lib/parsers/layout-parser.d.ts +11 -0
  118. package/lib/parsers/layout-parser.js +143 -68
  119. package/lib/parsers/layout-parser.js.map +1 -1
  120. package/lib/parsers/lwc-parser.d.ts +0 -9
  121. package/lib/parsers/lwc-parser.js +245 -100
  122. package/lib/parsers/lwc-parser.js.map +1 -1
  123. package/lib/parsers/parser-utils.d.ts +3 -0
  124. package/lib/parsers/parser-utils.js +16 -0
  125. package/lib/parsers/parser-utils.js.map +1 -0
  126. package/lib/parsers/permission-set-parser.d.ts +6 -0
  127. package/lib/parsers/permission-set-parser.js +31 -40
  128. package/lib/parsers/permission-set-parser.js.map +1 -1
  129. package/lib/parsers/profile-parser.d.ts +13 -0
  130. package/lib/parsers/profile-parser.js +39 -34
  131. package/lib/parsers/profile-parser.js.map +1 -1
  132. package/lib/parsers/visualforce-parser.js +2 -1
  133. package/lib/parsers/visualforce-parser.js.map +1 -1
  134. package/lib/presentation/analyze-command-presenter.d.ts +10 -0
  135. package/lib/presentation/analyze-command-presenter.js +30 -0
  136. package/lib/presentation/analyze-command-presenter.js.map +1 -0
  137. package/lib/presentation/config-command-presenter.d.ts +15 -0
  138. package/lib/presentation/config-command-presenter.js +50 -0
  139. package/lib/presentation/config-command-presenter.js.map +1 -0
  140. package/lib/presentation/project-analysis-presenter.d.ts +9 -0
  141. package/lib/presentation/project-analysis-presenter.js +9 -0
  142. package/lib/presentation/project-analysis-presenter.js.map +1 -0
  143. package/lib/presentation/resume-command-presenter.d.ts +7 -0
  144. package/lib/presentation/resume-command-presenter.js +12 -0
  145. package/lib/presentation/resume-command-presenter.js.map +1 -0
  146. package/lib/presentation/start-command-presenter.d.ts +15 -0
  147. package/lib/presentation/start-command-presenter.js +29 -0
  148. package/lib/presentation/start-command-presenter.js.map +1 -0
  149. package/lib/presentation/status-command-presenter.d.ts +7 -0
  150. package/lib/presentation/status-command-presenter.js +16 -0
  151. package/lib/presentation/status-command-presenter.js.map +1 -0
  152. package/lib/presentation/validate-command-presenter.d.ts +9 -0
  153. package/lib/presentation/validate-command-presenter.js +50 -0
  154. package/lib/presentation/validate-command-presenter.js.map +1 -0
  155. package/lib/services/metadata-scanner-service.d.ts +8 -12
  156. package/lib/services/metadata-scanner-service.js +55 -533
  157. package/lib/services/metadata-scanner-service.js.map +1 -1
  158. package/lib/services/scanners/automation-ai-metadata-scanner.d.ts +4 -0
  159. package/lib/services/scanners/automation-ai-metadata-scanner.js +61 -0
  160. package/lib/services/scanners/automation-ai-metadata-scanner.js.map +1 -0
  161. package/lib/services/scanners/code-metadata-scanner.d.ts +23 -0
  162. package/lib/services/scanners/code-metadata-scanner.js +149 -0
  163. package/lib/services/scanners/code-metadata-scanner.js.map +1 -0
  164. package/lib/services/scanners/data-metadata-scanner.d.ts +3 -0
  165. package/lib/services/scanners/data-metadata-scanner.js +82 -0
  166. package/lib/services/scanners/data-metadata-scanner.js.map +1 -0
  167. package/lib/services/scanners/experience-metadata-scanner.d.ts +5 -0
  168. package/lib/services/scanners/experience-metadata-scanner.js +123 -0
  169. package/lib/services/scanners/experience-metadata-scanner.js.map +1 -0
  170. package/lib/services/scanners/scanner-runtime.d.ts +11 -0
  171. package/lib/services/scanners/scanner-runtime.js +115 -0
  172. package/lib/services/scanners/scanner-runtime.js.map +1 -0
  173. package/lib/services/scanners/security-metadata-scanner.d.ts +3 -0
  174. package/lib/services/scanners/security-metadata-scanner.js +71 -0
  175. package/lib/services/scanners/security-metadata-scanner.js.map +1 -0
  176. package/lib/types/dependency.d.ts +11 -1
  177. package/lib/types/metadata.d.ts +17 -0
  178. package/lib/types/salesforce/flow/actions.d.ts +108 -0
  179. package/lib/types/salesforce/flow/actions.js +2 -0
  180. package/lib/types/salesforce/flow/actions.js.map +1 -0
  181. package/lib/types/salesforce/flow/common.d.ts +36 -0
  182. package/lib/types/salesforce/flow/common.js +5 -0
  183. package/lib/types/salesforce/flow/common.js.map +1 -0
  184. package/lib/types/salesforce/flow/metadata.d.ts +37 -0
  185. package/lib/types/salesforce/flow/metadata.js +2 -0
  186. package/lib/types/salesforce/flow/metadata.js.map +1 -0
  187. package/lib/types/salesforce/flow/records.d.ts +38 -0
  188. package/lib/types/salesforce/flow/records.js +2 -0
  189. package/lib/types/salesforce/flow/records.js.map +1 -0
  190. package/lib/types/salesforce/flow/resources.d.ts +44 -0
  191. package/lib/types/salesforce/flow/resources.js +2 -0
  192. package/lib/types/salesforce/flow/resources.js.map +1 -0
  193. package/lib/types/salesforce/flow/screens.d.ts +56 -0
  194. package/lib/types/salesforce/flow/screens.js +2 -0
  195. package/lib/types/salesforce/flow/screens.js.map +1 -0
  196. package/lib/types/salesforce/flow/start.d.ts +24 -0
  197. package/lib/types/salesforce/flow/start.js +2 -0
  198. package/lib/types/salesforce/flow/start.js.map +1 -0
  199. package/lib/types/salesforce/flow.d.ts +9 -514
  200. package/lib/types/salesforce/flow.js +1 -1
  201. package/lib/types/salesforce/object/core.d.ts +68 -0
  202. package/lib/types/salesforce/object/core.js +5 -0
  203. package/lib/types/salesforce/object/core.js.map +1 -0
  204. package/lib/types/salesforce/object/field.d.ts +155 -0
  205. package/lib/types/salesforce/object/field.js +5 -0
  206. package/lib/types/salesforce/object/field.js.map +1 -0
  207. package/lib/types/salesforce/object/filter.d.ts +16 -0
  208. package/lib/types/salesforce/object/filter.js +5 -0
  209. package/lib/types/salesforce/object/filter.js.map +1 -0
  210. package/lib/types/salesforce/object/policy.d.ts +27 -0
  211. package/lib/types/salesforce/object/policy.js +5 -0
  212. package/lib/types/salesforce/object/policy.js.map +1 -0
  213. package/lib/types/salesforce/object/record.d.ts +44 -0
  214. package/lib/types/salesforce/object/record.js +5 -0
  215. package/lib/types/salesforce/object/record.js.map +1 -0
  216. package/lib/types/salesforce/object/view.d.ts +71 -0
  217. package/lib/types/salesforce/object/view.js +5 -0
  218. package/lib/types/salesforce/object/view.js.map +1 -0
  219. package/lib/types/salesforce/object/weblink.d.ts +70 -0
  220. package/lib/types/salesforce/object/weblink.js +5 -0
  221. package/lib/types/salesforce/object/weblink.js.map +1 -0
  222. package/lib/types/salesforce/object.d.ts +7 -423
  223. package/lib/types/salesforce/object.js +7 -1
  224. package/lib/types/salesforce/object.js.map +1 -1
  225. package/lib/utils/cache-manager.d.ts +16 -15
  226. package/lib/utils/cache-manager.js +290 -188
  227. package/lib/utils/cache-manager.js.map +1 -1
  228. package/lib/utils/logger.d.ts +8 -0
  229. package/lib/utils/logger.js +82 -69
  230. package/lib/utils/logger.js.map +1 -1
  231. package/lib/validators/xml/xml-reference-rules.d.ts +3 -0
  232. package/lib/validators/xml/xml-reference-rules.js +173 -0
  233. package/lib/validators/xml/xml-reference-rules.js.map +1 -0
  234. package/lib/validators/xml/xml-report-formatter.d.ts +2 -0
  235. package/lib/validators/xml/xml-report-formatter.js +47 -0
  236. package/lib/validators/xml/xml-report-formatter.js.map +1 -0
  237. package/lib/validators/xml/xml-schema-rules.d.ts +3 -0
  238. package/lib/validators/xml/xml-schema-rules.js +75 -0
  239. package/lib/validators/xml/xml-schema-rules.js.map +1 -0
  240. package/lib/validators/xml/xml-validation-types.d.ts +25 -0
  241. package/lib/validators/xml/xml-validation-types.js +2 -0
  242. package/lib/validators/xml/xml-validation-types.js.map +1 -0
  243. package/lib/validators/xml-metadata-validator.d.ts +2 -63
  244. package/lib/validators/xml-metadata-validator.js +7 -338
  245. package/lib/validators/xml-metadata-validator.js.map +1 -1
  246. package/lib/waves/test-optimizer.d.ts +13 -0
  247. package/lib/waves/test-optimizer.js +124 -63
  248. package/lib/waves/test-optimizer.js.map +1 -1
  249. package/lib/waves/wave-builder.d.ts +17 -21
  250. package/lib/waves/wave-builder.js +199 -135
  251. package/lib/waves/wave-builder.js.map +1 -1
  252. package/lib/waves/wave-splitter.d.ts +12 -8
  253. package/lib/waves/wave-splitter.js +156 -115
  254. package/lib/waves/wave-splitter.js.map +1 -1
  255. package/npm-shrinkwrap.json +2 -2
  256. package/oclif.manifest.json +1 -1
  257. 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,5 @@
1
+ /**
2
+ * Custom field, lookup, and value set types for Salesforce Object metadata.
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=field.js.map
@@ -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,5 @@
1
+ /**
2
+ * Filter and query condition types for Salesforce Object metadata.
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=filter.js.map
@@ -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,5 @@
1
+ /**
2
+ * Sharing, validation, and object policy types for Salesforce Object metadata.
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=policy.js.map
@@ -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,5 @@
1
+ /**
2
+ * Record type and picklist option types for Salesforce Object metadata.
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=record.js.map
@@ -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,5 @@
1
+ /**
2
+ * List view and search layout types for Salesforce Object metadata.
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=view.js.map
@@ -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,5 @@
1
+ /**
2
+ * Web link and action override types for Salesforce Object metadata.
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=weblink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"weblink.js","sourceRoot":"","sources":["../../../../src/types/salesforce/object/weblink.ts"],"names":[],"mappings":"AAAA;;GAEG"}