@@ -233,16 +233,50 @@ type SfDuplicateRule struct {
233233 IsActive bool `xml:"isActive"`
234234 MasterLabel string `xml:"masterLabel"`
235235 Description string `xml:"description"`
236+ ActionOnInsert string `xml:"actionOnInsert"`
237+ ActionOnUpdate string `xml:"actionOnUpdate"`
238+ AlertText string `xml:"alertText"`
239+ SecurityOption string `xml:"securityOption"`
240+ SortOrder int `xml:"sortOrder"`
241+ DuplicateRuleFilter DuplicateRuleFilter `xml:"duplicateRuleFilter"`
242+ OperationsOnInsert []string `xml:"operationsOnInsert"`
243+ OperationsOnUpdate []string `xml:"operationsOnUpdate"`
236244 DuplicateRuleMatchRules []SfDuplicateRuleMatchRule `xml:"duplicateRuleMatchRules"`
237245}
238246
247+ type DuplicateRuleFilter struct {
248+ BooleanFilter string `xml:"booleanFilter"`
249+ DuplicateRuleFilterItems []DuplicateRuleFilterItem `xml:"duplicateRuleFilterItems"`
250+ }
251+
252+ type DuplicateRuleFilterItem struct {
253+ SfFilterItem
254+ SortOrder int `xml:"sortOrder"`
255+ Table string `xml:"table"`
256+ }
257+
239258type SfDuplicateRuleMatchRule struct {
240259 MatchRuleSObjectType string `xml:"matchRuleSObjectType"`
241260 MatchingRule string `xml:"matchingRule"`
242261}
243262
244263type SfMatchingRules struct {
245- XMLName xml.Name `xml:"MatchingRules"`
264+ XMLName xml.Name `xml:"MatchingRules"`
265+ MatchingRules []SfMatchingRule `xml:"matchingRules"`
266+ }
267+
268+ type SfMatchingRule struct {
269+ FullName string `xml:"fullName"`
270+ Description string `xml:"description"`
271+ Label string `xml:"label"`
272+ MatchingRuleItems []SfMatchingRuleItem `xml:"matchingRuleItems"`
273+ RuleStatus string `xml:"ruleStatus"`
274+ }
275+
276+ type SfMatchingRuleItem struct {
277+ BlankValueBehavior string `xml:"blankValueBehavior"`
278+ FieldName string `xml:"fieldName"`
279+ MatchingMethod string `xml:"matchingMethod"`
246280}
247281
248282type SfFlow struct {
0 commit comments