@salesforce/lds-adapters-service-ecm 1.389.2 → 1.391.0
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/dist/es/es2018/service-ecm.js +2138 -836
- package/dist/es/es2018/types/src/generated/adapters/deployTemplate.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/getEligibilityRuleMetadata.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/saveEligibilityRule.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectServiceAutomationEligibilityRuleMetadata.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationEligibilityRule.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationTemplateDeployByTemplateId.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableParameterOutputRepresentation.d.ts +64 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableSourceCriteriaOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleDetailsRepresentation.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleInputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleMetadataRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleValueInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/RuleOutputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/TemplateDependencyConfiguration.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/TemplateDeploymentInputRepresentation.d.ts +29 -0
- package/package.json +3 -3
- package/sfdc/index.js +2151 -838
- package/src/raml/api.raml +402 -0
- package/src/raml/luvio.raml +15 -0
package/src/raml/api.raml
CHANGED
|
@@ -1512,6 +1512,44 @@ types:
|
|
|
1512
1512
|
serviceProcessId:
|
|
1513
1513
|
description: Service Process Identifier
|
|
1514
1514
|
type: string
|
|
1515
|
+
TemplateDependencyConfiguration:
|
|
1516
|
+
description: Template dependency configuration with type and variables
|
|
1517
|
+
type: object
|
|
1518
|
+
properties:
|
|
1519
|
+
templateType:
|
|
1520
|
+
required: true
|
|
1521
|
+
description: Type of template (Intake, Fulfillment)
|
|
1522
|
+
type: string
|
|
1523
|
+
enum:
|
|
1524
|
+
- Intake
|
|
1525
|
+
- Fulfillment
|
|
1526
|
+
templateDependencyType:
|
|
1527
|
+
required: false
|
|
1528
|
+
description: Type of template dependency (Flow)
|
|
1529
|
+
type: string
|
|
1530
|
+
enum:
|
|
1531
|
+
- Flow
|
|
1532
|
+
templateApiName:
|
|
1533
|
+
required: true
|
|
1534
|
+
description: API name of the template
|
|
1535
|
+
type: string
|
|
1536
|
+
templateVariables:
|
|
1537
|
+
required: false
|
|
1538
|
+
description: Template variables for deployment
|
|
1539
|
+
type: object
|
|
1540
|
+
properties:
|
|
1541
|
+
//:
|
|
1542
|
+
type: any
|
|
1543
|
+
TemplateDeploymentInputRepresentation:
|
|
1544
|
+
description: Template Deployment Input Representation with flow template configurations
|
|
1545
|
+
type: object
|
|
1546
|
+
properties:
|
|
1547
|
+
flowTemplates:
|
|
1548
|
+
required: true
|
|
1549
|
+
description: Flow template configurations with type-specific variables
|
|
1550
|
+
type: array
|
|
1551
|
+
items:
|
|
1552
|
+
type: TemplateDependencyConfiguration
|
|
1515
1553
|
DeploymentOutputRepresentation:
|
|
1516
1554
|
description: Template Deployment Output Representation
|
|
1517
1555
|
type: object
|
|
@@ -1528,6 +1566,323 @@ types:
|
|
|
1528
1566
|
required: true
|
|
1529
1567
|
description: Status of the deployment (SUCCESS or FAILURE)
|
|
1530
1568
|
type: string
|
|
1569
|
+
EligibilityRuleMetadataRepresentation:
|
|
1570
|
+
description: Output representation for Decision Table metadata
|
|
1571
|
+
type: object
|
|
1572
|
+
properties:
|
|
1573
|
+
message:
|
|
1574
|
+
required: true
|
|
1575
|
+
description: Additional information in the response
|
|
1576
|
+
type: string
|
|
1577
|
+
status:
|
|
1578
|
+
required: true
|
|
1579
|
+
description: Status of the request
|
|
1580
|
+
type: string
|
|
1581
|
+
qualificationDecisionTableDetails:
|
|
1582
|
+
required: true
|
|
1583
|
+
description: Details of the qualification decision table
|
|
1584
|
+
type: array
|
|
1585
|
+
items:
|
|
1586
|
+
type: EligibilityRuleDetailsRepresentation
|
|
1587
|
+
disQualificationDecisionTableDetails:
|
|
1588
|
+
required: true
|
|
1589
|
+
description: Details of the disqualification decision table
|
|
1590
|
+
type: array
|
|
1591
|
+
items:
|
|
1592
|
+
type: EligibilityRuleDetailsRepresentation
|
|
1593
|
+
EligibilityRuleDetailsRepresentation:
|
|
1594
|
+
description: Representation for Decision Table Details.
|
|
1595
|
+
type: object
|
|
1596
|
+
properties:
|
|
1597
|
+
cellLevelCriteriaEnabled:
|
|
1598
|
+
required: true
|
|
1599
|
+
description: Indicates if criteria is enabled at the cell level (true) or not (false)
|
|
1600
|
+
type: boolean
|
|
1601
|
+
conditionCriteria:
|
|
1602
|
+
required: true
|
|
1603
|
+
description: The criteria for the condition
|
|
1604
|
+
type: string
|
|
1605
|
+
conditionType:
|
|
1606
|
+
required: true
|
|
1607
|
+
description: The type of the condition
|
|
1608
|
+
type: string
|
|
1609
|
+
enum:
|
|
1610
|
+
- All
|
|
1611
|
+
- Any
|
|
1612
|
+
- Custom
|
|
1613
|
+
description:
|
|
1614
|
+
required: true
|
|
1615
|
+
description: The description of the condition
|
|
1616
|
+
type: string
|
|
1617
|
+
decisionTableId:
|
|
1618
|
+
required: true
|
|
1619
|
+
description: The unique identifier of the decision table that's associated with the eligibility rule
|
|
1620
|
+
type: string
|
|
1621
|
+
decisionTableName:
|
|
1622
|
+
required: true
|
|
1623
|
+
description: The name of the decision table
|
|
1624
|
+
type: string
|
|
1625
|
+
parameters:
|
|
1626
|
+
required: true
|
|
1627
|
+
description: The description of the for the decision table parameters
|
|
1628
|
+
type: array
|
|
1629
|
+
items:
|
|
1630
|
+
type: DecisionTableParameterOutputRepresentation
|
|
1631
|
+
sourceCriteria:
|
|
1632
|
+
required: true
|
|
1633
|
+
description: The criteria used to filter and select a specific type rule for application
|
|
1634
|
+
type: array
|
|
1635
|
+
items:
|
|
1636
|
+
type: DecisionTableSourceCriteriaOutputRepresentation
|
|
1637
|
+
sourceObject:
|
|
1638
|
+
required: true
|
|
1639
|
+
description: Specifies the Source object used to get the necessary information
|
|
1640
|
+
type: string
|
|
1641
|
+
sourceType:
|
|
1642
|
+
required: true
|
|
1643
|
+
description: Specifies the format of the data source that the decision table uses
|
|
1644
|
+
type: string
|
|
1645
|
+
enum:
|
|
1646
|
+
- SingleSobject
|
|
1647
|
+
- MultipleSobjects
|
|
1648
|
+
- CsvUpload
|
|
1649
|
+
status:
|
|
1650
|
+
required: true
|
|
1651
|
+
description: The status of the process
|
|
1652
|
+
type: string
|
|
1653
|
+
enum:
|
|
1654
|
+
- Active
|
|
1655
|
+
- Inactive
|
|
1656
|
+
- Draft
|
|
1657
|
+
- ActivationInProgress
|
|
1658
|
+
usageType:
|
|
1659
|
+
required: true
|
|
1660
|
+
description: The usage type of the decision table to evaluate the criteria
|
|
1661
|
+
type: string
|
|
1662
|
+
enum:
|
|
1663
|
+
- ProductQualification
|
|
1664
|
+
- ProductCategoryQualification
|
|
1665
|
+
- None
|
|
1666
|
+
DecisionTableParameterOutputRepresentation:
|
|
1667
|
+
description: Represents the decision table parameter
|
|
1668
|
+
type: object
|
|
1669
|
+
properties:
|
|
1670
|
+
columnMapping:
|
|
1671
|
+
description: Specifies the source object path for the mapping to the column
|
|
1672
|
+
of an entity
|
|
1673
|
+
type: string
|
|
1674
|
+
required: false
|
|
1675
|
+
dataType:
|
|
1676
|
+
description: Data Type of the field used
|
|
1677
|
+
type: string
|
|
1678
|
+
required: false
|
|
1679
|
+
enum:
|
|
1680
|
+
- Boolean
|
|
1681
|
+
- Currency
|
|
1682
|
+
- Date
|
|
1683
|
+
- Number
|
|
1684
|
+
- Percent
|
|
1685
|
+
- String
|
|
1686
|
+
decimalScale:
|
|
1687
|
+
description: Precision of the field used
|
|
1688
|
+
type: integer
|
|
1689
|
+
required: false
|
|
1690
|
+
domainEntity:
|
|
1691
|
+
description: Specifies the entity domain field is mapped to
|
|
1692
|
+
type: string
|
|
1693
|
+
required: false
|
|
1694
|
+
fieldName:
|
|
1695
|
+
description: The name of the field to be used in the decision table
|
|
1696
|
+
type: string
|
|
1697
|
+
required: false
|
|
1698
|
+
isGroupByField:
|
|
1699
|
+
description: Indicates whether the field is used to group the business rules
|
|
1700
|
+
of the decision table
|
|
1701
|
+
type: boolean
|
|
1702
|
+
required: false
|
|
1703
|
+
isPriority:
|
|
1704
|
+
description: Whether it is priority field or not
|
|
1705
|
+
type: boolean
|
|
1706
|
+
required: false
|
|
1707
|
+
isRequired:
|
|
1708
|
+
description: Valid operators for a field based on its usage
|
|
1709
|
+
type: boolean
|
|
1710
|
+
required: false
|
|
1711
|
+
maxlength:
|
|
1712
|
+
description: Maximum length of the field used
|
|
1713
|
+
type: integer
|
|
1714
|
+
required: false
|
|
1715
|
+
operator:
|
|
1716
|
+
description: Indicates whether the field is mandatory to be provided during
|
|
1717
|
+
lookup for hashing column data
|
|
1718
|
+
type: string
|
|
1719
|
+
required: false
|
|
1720
|
+
enum:
|
|
1721
|
+
- Between
|
|
1722
|
+
- DoesNotExistIn
|
|
1723
|
+
- Equals
|
|
1724
|
+
- ExistsIn
|
|
1725
|
+
- GreaterOrEqual
|
|
1726
|
+
- GreaterThan
|
|
1727
|
+
- LessOrEqual
|
|
1728
|
+
- LessThan
|
|
1729
|
+
- Matches
|
|
1730
|
+
- NotEquals
|
|
1731
|
+
sequence:
|
|
1732
|
+
description: The sequence in which input fields are processed.
|
|
1733
|
+
type: integer
|
|
1734
|
+
required: false
|
|
1735
|
+
sortType:
|
|
1736
|
+
description: Specifies the type of sorting done on the rows of a decision
|
|
1737
|
+
table
|
|
1738
|
+
type: string
|
|
1739
|
+
required: false
|
|
1740
|
+
enum:
|
|
1741
|
+
- AscNullFirst
|
|
1742
|
+
- AscNullLast
|
|
1743
|
+
- DescNullFirst
|
|
1744
|
+
- DescNullLast
|
|
1745
|
+
- None
|
|
1746
|
+
usage:
|
|
1747
|
+
description: A picklist to select whether a particular field will be used
|
|
1748
|
+
as input or output
|
|
1749
|
+
type: string
|
|
1750
|
+
required: false
|
|
1751
|
+
enum:
|
|
1752
|
+
- Input
|
|
1753
|
+
- Output
|
|
1754
|
+
DecisionTableSourceCriteriaOutputRepresentation:
|
|
1755
|
+
description: Represents the decision table source criteria
|
|
1756
|
+
type: object
|
|
1757
|
+
properties:
|
|
1758
|
+
operator:
|
|
1759
|
+
description: Specifies the operator used in the filter criteria
|
|
1760
|
+
type: string
|
|
1761
|
+
required: false
|
|
1762
|
+
enum:
|
|
1763
|
+
- DoesNotExistIn
|
|
1764
|
+
- Equals
|
|
1765
|
+
- ExistsIn
|
|
1766
|
+
- GreaterOrEqual
|
|
1767
|
+
- GreaterThan
|
|
1768
|
+
- LessOrEqual
|
|
1769
|
+
- LessThan
|
|
1770
|
+
- Matches
|
|
1771
|
+
- NotEquals
|
|
1772
|
+
sequenceNumber:
|
|
1773
|
+
description: The sequence number of the filter criteria in the associated
|
|
1774
|
+
decision table source condition
|
|
1775
|
+
type: integer
|
|
1776
|
+
required: false
|
|
1777
|
+
sourceFieldName:
|
|
1778
|
+
description: The name of the field that's used in the filter criteria
|
|
1779
|
+
type: string
|
|
1780
|
+
required: false
|
|
1781
|
+
value:
|
|
1782
|
+
description: The expected value of the field
|
|
1783
|
+
type: string
|
|
1784
|
+
required: false
|
|
1785
|
+
valueType:
|
|
1786
|
+
description: Specifies the type of filter value
|
|
1787
|
+
type: string
|
|
1788
|
+
required: false
|
|
1789
|
+
enum:
|
|
1790
|
+
- Formula
|
|
1791
|
+
- Literal
|
|
1792
|
+
- Lookup
|
|
1793
|
+
- Parameter
|
|
1794
|
+
- PickList
|
|
1795
|
+
EligibilityRuleInputRepresentation:
|
|
1796
|
+
description: Input Representation for the Eligibility Rules.
|
|
1797
|
+
type: object
|
|
1798
|
+
properties:
|
|
1799
|
+
conditionCriteria:
|
|
1800
|
+
required: true
|
|
1801
|
+
description: Custom logic that's used to decide how the input fields are processed
|
|
1802
|
+
type: string
|
|
1803
|
+
conditionType:
|
|
1804
|
+
required: true
|
|
1805
|
+
description: Condition logic that's used for input fields
|
|
1806
|
+
type: string
|
|
1807
|
+
enum:
|
|
1808
|
+
- All
|
|
1809
|
+
- Any
|
|
1810
|
+
- Custom
|
|
1811
|
+
decisionTableId:
|
|
1812
|
+
required: true
|
|
1813
|
+
description: The unique identifier of the decision table that's associated with the eligibility rule
|
|
1814
|
+
type: string
|
|
1815
|
+
sourceObjectName:
|
|
1816
|
+
required: true
|
|
1817
|
+
description: Name of the source object associated with the decision table
|
|
1818
|
+
type: string
|
|
1819
|
+
sourceObjectRecordId:
|
|
1820
|
+
required: true
|
|
1821
|
+
description: The unique identifier of the source object record
|
|
1822
|
+
type: string
|
|
1823
|
+
ruleValue:
|
|
1824
|
+
required: false
|
|
1825
|
+
description: Details of the rule value
|
|
1826
|
+
type: array
|
|
1827
|
+
items:
|
|
1828
|
+
type: EligibilityRuleValueInputRepresentation
|
|
1829
|
+
EligibilityRuleValueInputRepresentation:
|
|
1830
|
+
description: Input Representation for the Eligibility Rule Values
|
|
1831
|
+
type: object
|
|
1832
|
+
properties:
|
|
1833
|
+
fieldName:
|
|
1834
|
+
required: true
|
|
1835
|
+
description: Name of the field in the source object
|
|
1836
|
+
type: string
|
|
1837
|
+
fieldValue:
|
|
1838
|
+
required: true
|
|
1839
|
+
description: Value of the field
|
|
1840
|
+
type: string
|
|
1841
|
+
operator:
|
|
1842
|
+
required: true
|
|
1843
|
+
description: The operator applied to an associated decision table field to filter the data
|
|
1844
|
+
type: string
|
|
1845
|
+
enum:
|
|
1846
|
+
- ExistsIn
|
|
1847
|
+
- DoesNotExistIn
|
|
1848
|
+
- Equals
|
|
1849
|
+
- NotEquals
|
|
1850
|
+
- GreaterThan
|
|
1851
|
+
- GreaterOrEqual
|
|
1852
|
+
- LessThan
|
|
1853
|
+
- LessOrEqual
|
|
1854
|
+
- Matches
|
|
1855
|
+
- DoesNotMatch
|
|
1856
|
+
- Between
|
|
1857
|
+
- Contains
|
|
1858
|
+
domainEntity:
|
|
1859
|
+
required: true
|
|
1860
|
+
description: Specifies the entity domain field is mapped t
|
|
1861
|
+
type: string
|
|
1862
|
+
domainEntityId:
|
|
1863
|
+
required: true
|
|
1864
|
+
description: Specifies the unique identifier of the entity record domain field is mapped to
|
|
1865
|
+
type: string
|
|
1866
|
+
RuleOutputRepresentation:
|
|
1867
|
+
description: Output Representation for the Eligibility Rules.
|
|
1868
|
+
type: object
|
|
1869
|
+
properties:
|
|
1870
|
+
message:
|
|
1871
|
+
required: true
|
|
1872
|
+
description: Additional information about the API request execution
|
|
1873
|
+
type: string
|
|
1874
|
+
sourceObjectRecordId:
|
|
1875
|
+
required: true
|
|
1876
|
+
description: The unique identifier of the source object used
|
|
1877
|
+
type: string
|
|
1878
|
+
createdDateTime:
|
|
1879
|
+
required: true
|
|
1880
|
+
description: Date and time when the rule was created
|
|
1881
|
+
type: string
|
|
1882
|
+
status:
|
|
1883
|
+
required: true
|
|
1884
|
+
description: Status of the request
|
|
1885
|
+
type: string
|
|
1531
1886
|
/connect/service-automation:
|
|
1532
1887
|
/catalog:
|
|
1533
1888
|
/catalog-item:
|
|
@@ -1732,9 +2087,56 @@ types:
|
|
|
1732
2087
|
post:
|
|
1733
2088
|
displayName: postTemplateDeployment
|
|
1734
2089
|
description: API to deploy a template by template ID
|
|
2090
|
+
body:
|
|
2091
|
+
application/json:
|
|
2092
|
+
type: TemplateDeploymentInputRepresentation
|
|
2093
|
+
(oas-body-name): TemplateDeploymentInput
|
|
1735
2094
|
responses:
|
|
1736
2095
|
'200':
|
|
1737
2096
|
description: Success
|
|
1738
2097
|
body:
|
|
1739
2098
|
application/json:
|
|
1740
2099
|
type: DeploymentOutputRepresentation
|
|
2100
|
+
/eligibility-rule:
|
|
2101
|
+
post:
|
|
2102
|
+
displayName: saveEligibilityRule
|
|
2103
|
+
description: API to insert/update eligibility rule data
|
|
2104
|
+
responses:
|
|
2105
|
+
'200':
|
|
2106
|
+
description: Success
|
|
2107
|
+
body:
|
|
2108
|
+
application/json:
|
|
2109
|
+
type: RuleOutputRepresentation
|
|
2110
|
+
body:
|
|
2111
|
+
application/json:
|
|
2112
|
+
type: EligibilityRuleInputRepresentation
|
|
2113
|
+
(oas-body-name): rulesInputPayload
|
|
2114
|
+
/eligibility-rule-metadata:
|
|
2115
|
+
get:
|
|
2116
|
+
displayName: getEligibilityRuleMetadata
|
|
2117
|
+
description: API to fetch Eligibility Rules Metadata
|
|
2118
|
+
responses:
|
|
2119
|
+
'200':
|
|
2120
|
+
description: Success
|
|
2121
|
+
body:
|
|
2122
|
+
application/json:
|
|
2123
|
+
type: EligibilityRuleMetadataRepresentation
|
|
2124
|
+
queryParameters:
|
|
2125
|
+
targetType:
|
|
2126
|
+
type: string
|
|
2127
|
+
required: false
|
|
2128
|
+
enum:
|
|
2129
|
+
- Product
|
|
2130
|
+
- Category
|
|
2131
|
+
expressionSetId:
|
|
2132
|
+
type: string
|
|
2133
|
+
required: false
|
|
2134
|
+
eligibilityRuleType:
|
|
2135
|
+
type: string
|
|
2136
|
+
required: false
|
|
2137
|
+
enum:
|
|
2138
|
+
- ProductQualification
|
|
2139
|
+
- ProductCategoryQualification
|
|
2140
|
+
decisionTableId:
|
|
2141
|
+
type: string
|
|
2142
|
+
required: false
|
package/src/raml/luvio.raml
CHANGED
|
@@ -49,6 +49,13 @@ types:
|
|
|
49
49
|
(luvio.ttl): 6000
|
|
50
50
|
(luvio.key):
|
|
51
51
|
templateId: templateId
|
|
52
|
+
EligibilityMetadataRepresentation:
|
|
53
|
+
(luvio.ttl): 6000
|
|
54
|
+
(luvio.opaque): true
|
|
55
|
+
RuleOutputRepresentation:
|
|
56
|
+
(luvio.ttl): 6000
|
|
57
|
+
(luvio.key):
|
|
58
|
+
sourceObjectRecordId: sourceObjectRecordId
|
|
52
59
|
/connect/service-automation/query:
|
|
53
60
|
post:
|
|
54
61
|
(luvio.method): get
|
|
@@ -106,3 +113,11 @@ types:
|
|
|
106
113
|
post:
|
|
107
114
|
(luvio.adapter):
|
|
108
115
|
name: deployTemplate
|
|
116
|
+
/connect/service-automation/eligibility-rule-metadata:
|
|
117
|
+
get:
|
|
118
|
+
(luvio.adapter):
|
|
119
|
+
name: getEligibilityRuleMetadata
|
|
120
|
+
/connect/service-automation/eligibility-rule:
|
|
121
|
+
post:
|
|
122
|
+
(luvio.adapter):
|
|
123
|
+
name: saveEligibilityRule
|