@salesforce/lds-adapters-uiapi 1.308.0 → 1.309.0-dev11

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 (23) hide show
  1. package/LICENSE.txt +1 -1
  2. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsRepresentation.d.ts +7 -3
  3. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsRepresentationInterface.d.ts +37 -0
  4. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspace.d.ts +46 -0
  5. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspaceAsset.d.ts +37 -0
  6. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspaceAssetConnection.d.ts +40 -0
  7. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspaceAssetEdge.d.ts +36 -0
  8. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticDefinition.d.ts +51 -0
  9. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticSubMetricDefinitionConnection.d.ts +40 -0
  10. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticSubMetricDefinitionEdge.d.ts +36 -0
  11. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticSubMetricDefinitionRepresentation.d.ts +37 -0
  12. package/dist/es/es2018/types/src/generated/types/DirectAnswerResultRepresentation.d.ts +37 -0
  13. package/dist/es/es2018/types/src/generated/types/KeywordSearchResultsRepresentation.d.ts +4 -1
  14. package/dist/es/es2018/types/src/generated/types/SearchAnswersResultRepresentation.d.ts +8 -5
  15. package/dist/es/es2018/types/src/generated/types/SearchResultsSummaryRepresentation.d.ts +5 -1
  16. package/dist/es/es2018/uiapi-records-service.js +6380 -4830
  17. package/package.json +8 -8
  18. package/sfdc/graphqlAdapters.js +5709 -4397
  19. package/sfdc/index.js +507 -269
  20. package/sfdc/uiapi-static-functions.js +1 -1
  21. package/src/raml/api.raml +28 -2
  22. package/src/raml/luvio.raml +4 -0
  23. package/src/raml/uiapi.graphql +79 -3
@@ -95,7 +95,7 @@ var TypeCheckShapes;
95
95
  TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
96
96
  TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
97
97
  })(TypeCheckShapes || (TypeCheckShapes = {}));
98
- // engine version: 0.156.3-04c1a80e
98
+ // engine version: 0.156.4-dev1-8df86bf0
99
99
 
100
100
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
101
101
 
package/src/raml/api.raml CHANGED
@@ -566,6 +566,22 @@ types:
566
566
  label:
567
567
  description: Label
568
568
  type: string
569
+ DirectAnswerResultRepresentation:
570
+ description: Direct Answer Result Response
571
+ type: object
572
+ properties:
573
+ explanation:
574
+ description: An LLM-provided explanation for the Direct Answer response
575
+ type: string | nil
576
+ hasNoResult:
577
+ description: Indicates that no results were found
578
+ type: boolean | nil # TODO: nil hand rolled. Can be removed after W-16127536 merged
579
+ result:
580
+ description: The LLM-based Direct Answer response
581
+ type: string | nil
582
+ turnId:
583
+ description: The ID corresponding to the askCRMData invocation
584
+ type: string | nil
569
585
  DisplayLayoutAndMatchingInfoRepresentation:
570
586
  description: Search Lookups target display layout and matching info
571
587
  type: object
@@ -1301,6 +1317,9 @@ types:
1301
1317
  description: Keyword Search Results Response
1302
1318
  type: object
1303
1319
  properties:
1320
+ hasNoResult:
1321
+ description: Indicates that no results were found
1322
+ type: boolean | nil # TODO: nil hand rolled. Can be removed after W-16127536 merged
1304
1323
  results:
1305
1324
  description: List of search result collections, one for each object
1306
1325
  type: array
@@ -4399,15 +4418,18 @@ types:
4399
4418
  properties:
4400
4419
  answerType:
4401
4420
  description: The type of search answer
4402
- type: string
4421
+ type: string | nil
4403
4422
  appliedFilters:
4404
4423
  description: The list of applied filters.
4405
4424
  type: array
4406
4425
  items:
4407
4426
  type: AppliedSearchFilterOutputRepresentation
4427
+ hasNoResult:
4428
+ description: Indicates that no results were found
4429
+ type: boolean | nil # TODO: nil hand rolled. Can be removed after W-16127536 merged
4408
4430
  passage:
4409
4431
  description: The record’s snippet which includes the answer
4410
- type: string
4432
+ type: string | nil
4411
4433
  records:
4412
4434
  description: The list of records for search answer
4413
4435
  type: array
@@ -4711,6 +4733,7 @@ types:
4711
4733
  items:
4712
4734
  type: string
4713
4735
  enum:
4736
+ - DirectAnswerResult
4714
4737
  - KeywordSearchResults
4715
4738
  - QnAResult
4716
4739
  required: false #TODO: handrolled for W-10327520
@@ -4793,6 +4816,9 @@ types:
4793
4816
  configurationName:
4794
4817
  description: Configuration Name to be applied
4795
4818
  type: string | nil
4819
+ directAnswerResult:
4820
+ description: Direct Answer Response
4821
+ type: DirectAnswerResultRepresentation | nil
4796
4822
  keywordSearchResults:
4797
4823
  description: Keyword Search Results Response
4798
4824
  type: KeywordSearchResultsRepresentation | nil
@@ -613,9 +613,13 @@ types:
613
613
  patch:
614
614
  (luvio.adapter):
615
615
  name: performUpdateRecordQuickAction
616
+ coercedParams:
617
+ contextId: SalesforceRecordId18
616
618
  post:
617
619
  (luvio.adapter):
618
620
  name: performQuickAction
621
+ coercedParams:
622
+ contextId: SalesforceRecordId18
619
623
 
620
624
  '/overrides/{objectApiName}':
621
625
  uriParameters:
@@ -1617,7 +1617,6 @@ type Analytics__Analytics {
1617
1617
  # enum AnalyticsAssetType @generic {
1618
1618
  # }
1619
1619
 
1620
-
1621
1620
  type Analytics__AnalyticsBrowse {
1622
1621
  edges: [Analytics__AnalyticsEdge]
1623
1622
  totalCount: Int!
@@ -1630,14 +1629,44 @@ type Analytics__AnalyticsEdge {
1630
1629
  cursor: String!
1631
1630
  }
1632
1631
 
1633
- type Analytics__AnalyticsRepresentation {
1632
+ interface Analytics__AnalyticsRepresentationInterface {
1634
1633
  MasterLabel: StringValue
1634
+ DeveloperName: StringValue
1635
1635
  CreatedById: IDValue
1636
+ LastModifiedById: IDValue
1637
+ LastModifiedDate: DateTimeValue
1636
1638
  CreatedDate: DateTimeValue
1639
+ Id: ID!
1640
+ ApiName: String!
1641
+ NamespacePrefix: StringValue
1642
+ AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
1643
+ }
1644
+
1645
+ type Analytics__AnalyticsRepresentation implements Analytics__AnalyticsRepresentationInterface {
1646
+ MasterLabel: StringValue
1647
+ DeveloperName: StringValue
1648
+ CreatedById: IDValue
1649
+ LastModifiedById: IDValue
1637
1650
  LastModifiedDate: DateTimeValue
1651
+ CreatedDate: DateTimeValue
1652
+ Id: ID!
1653
+ ApiName: String!
1654
+ NamespacePrefix: StringValue
1655
+ AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
1656
+ }
1657
+
1658
+ type Analytics__SemanticDefinition implements Analytics__AnalyticsRepresentationInterface {
1659
+ MasterLabel: StringValue
1660
+ DeveloperName: StringValue
1661
+ CreatedById: IDValue
1638
1662
  LastModifiedById: IDValue
1663
+ LastModifiedDate: DateTimeValue
1664
+ CreatedDate: DateTimeValue
1639
1665
  Id: ID!
1640
1666
  ApiName: String!
1667
+ NamespacePrefix: StringValue
1668
+ AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
1669
+ SubMetrics: Analytics__SemanticSubMetricDefinitionConnection
1641
1670
  }
1642
1671
 
1643
1672
  input Analytics__AnalyticsOrderBy {
@@ -1662,6 +1691,8 @@ enum Analytics__SortEnumType {
1662
1691
  input Analytics__AnalyticsFilter {
1663
1692
  Id: Setup__IdOperators
1664
1693
  MasterLabel: StringOperators
1694
+ DeveloperName: StringOperators
1695
+ NamespacePrefix: StringOperators
1665
1696
  CreatedById: Setup__IdOperators
1666
1697
  CreatedDate: DateTimeOperators
1667
1698
  LastModifiedById: Setup__IdOperators
@@ -1671,6 +1702,51 @@ input Analytics__AnalyticsFilter {
1671
1702
  not: Analytics__AnalyticsFilter
1672
1703
  }
1673
1704
 
1705
+ type Analytics__AnalyticsWorkspaceAssetConnection {
1706
+ edges: [Analytics__AnalyticsWorkspaceAssetEdge]
1707
+ totalCount: Int!
1708
+ pageResultCount: Int!
1709
+ pageInfo: PageInfo!
1710
+ }
1711
+
1712
+ type Analytics__AnalyticsWorkspaceAssetEdge {
1713
+ node: Analytics__AnalyticsWorkspaceAsset
1714
+ cursor: String!
1715
+ }
1716
+
1717
+ type Analytics__AnalyticsWorkspaceAsset {
1718
+ AnalyticsWorkspace: Analytics__AnalyticsWorkspace
1719
+ AssetUsageType: PicklistValue
1720
+ }
1721
+
1722
+ type Analytics__AnalyticsWorkspace {
1723
+ MasterLabel: StringValue
1724
+ DeveloperName: StringValue
1725
+ CreatedById: IDValue
1726
+ LastModifiedById: IDValue
1727
+ LastModifiedDate: DateTimeValue
1728
+ CreatedDate: DateTimeValue
1729
+ Id: ID!
1730
+ ApiName: String!
1731
+ }
1732
+
1733
+ type Analytics__SemanticSubMetricDefinitionConnection {
1734
+ edges: [Analytics__SemanticSubMetricDefinitionEdge]
1735
+ totalCount: Int!
1736
+ pageResultCount: Int!
1737
+ pageInfo: PageInfo!
1738
+ }
1739
+
1740
+ type Analytics__SemanticSubMetricDefinitionEdge {
1741
+ node: Analytics__SemanticSubMetricDefinitionRepresentation
1742
+ cursor: String!
1743
+ }
1744
+
1745
+ type Analytics__SemanticSubMetricDefinitionRepresentation {
1746
+ Id: ID!
1747
+ ApiName: String!
1748
+ }
1749
+
1674
1750
  directive @generic on OBJECT | INTERFACE | UNION | ENUM | INPUT_OBJECT
1675
1751
  directive @fieldCategory on FIELD_DEFINITION | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION | ENUM_VALUE
1676
- directive @category on FIELD
1752
+ directive @category(name: String!) on FIELD