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

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 +6 -3
  3. package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsRepresentationInterface.d.ts +36 -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 +35 -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 +50 -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 +6337 -4830
  17. package/package.json +8 -8
  18. package/sfdc/graphqlAdapters.js +5674 -4405
  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 +73 -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,41 @@ 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
+ AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
1642
+ }
1643
+
1644
+ type Analytics__AnalyticsRepresentation implements Analytics__AnalyticsRepresentationInterface {
1645
+ MasterLabel: StringValue
1646
+ DeveloperName: StringValue
1647
+ CreatedById: IDValue
1648
+ LastModifiedById: IDValue
1637
1649
  LastModifiedDate: DateTimeValue
1650
+ CreatedDate: DateTimeValue
1651
+ Id: ID!
1652
+ ApiName: String!
1653
+ AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
1654
+ }
1655
+
1656
+ type Analytics__SemanticDefinition implements Analytics__AnalyticsRepresentationInterface {
1657
+ MasterLabel: StringValue
1658
+ DeveloperName: StringValue
1659
+ CreatedById: IDValue
1638
1660
  LastModifiedById: IDValue
1661
+ LastModifiedDate: DateTimeValue
1662
+ CreatedDate: DateTimeValue
1639
1663
  Id: ID!
1640
1664
  ApiName: String!
1665
+ AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
1666
+ SubMetrics: Analytics__SemanticSubMetricDefinitionConnection
1641
1667
  }
1642
1668
 
1643
1669
  input Analytics__AnalyticsOrderBy {
@@ -1671,6 +1697,50 @@ input Analytics__AnalyticsFilter {
1671
1697
  not: Analytics__AnalyticsFilter
1672
1698
  }
1673
1699
 
1700
+ type Analytics__AnalyticsWorkspaceAssetConnection {
1701
+ edges: [Analytics__AnalyticsWorkspaceAssetEdge]
1702
+ totalCount: Int!
1703
+ pageResultCount: Int!
1704
+ pageInfo: PageInfo!
1705
+ }
1706
+
1707
+ type Analytics__AnalyticsWorkspaceAssetEdge {
1708
+ node: Analytics__AnalyticsWorkspaceAsset
1709
+ cursor: String!
1710
+ }
1711
+
1712
+ type Analytics__AnalyticsWorkspaceAsset {
1713
+ AnalyticsWorkspace: Analytics__AnalyticsWorkspace
1714
+ }
1715
+
1716
+ type Analytics__AnalyticsWorkspace {
1717
+ MasterLabel: StringValue
1718
+ DeveloperName: StringValue
1719
+ CreatedById: IDValue
1720
+ LastModifiedById: IDValue
1721
+ LastModifiedDate: DateTimeValue
1722
+ CreatedDate: DateTimeValue
1723
+ Id: ID!
1724
+ ApiName: String!
1725
+ }
1726
+
1727
+ type Analytics__SemanticSubMetricDefinitionConnection {
1728
+ edges: [Analytics__SemanticSubMetricDefinitionEdge]
1729
+ totalCount: Int!
1730
+ pageResultCount: Int!
1731
+ pageInfo: PageInfo!
1732
+ }
1733
+
1734
+ type Analytics__SemanticSubMetricDefinitionEdge {
1735
+ node: Analytics__SemanticSubMetricDefinitionRepresentation
1736
+ cursor: String!
1737
+ }
1738
+
1739
+ type Analytics__SemanticSubMetricDefinitionRepresentation {
1740
+ Id: ID!
1741
+ ApiName: String!
1742
+ }
1743
+
1674
1744
  directive @generic on OBJECT | INTERFACE | UNION | ENUM | INPUT_OBJECT
1675
1745
  directive @fieldCategory on FIELD_DEFINITION | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION | ENUM_VALUE
1676
- directive @category on FIELD
1746
+ directive @category(name: String!) on FIELD