@salesforce/lds-adapters-uiapi 1.250.1 → 1.252.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.
Files changed (21) hide show
  1. package/dist/es/es2018/types/src/generated/adapters/getSearchResults.d.ts +4 -0
  2. package/dist/es/es2018/types/src/generated/resources/postUiApiSearchResults.d.ts +4 -0
  3. package/dist/es/es2018/types/src/generated/types/ListColumnInlineEditAttributesRepresentation.d.ts +31 -0
  4. package/dist/es/es2018/types/src/generated/types/ListColumnInlineEditAttributesRepresentationWrapper.d.ts +28 -0
  5. package/dist/es/es2018/types/src/generated/types/ListColumnRepresentation.d.ts +7 -3
  6. package/dist/es/es2018/types/src/generated/types/ListInfoRepresentation.d.ts +17 -4
  7. package/dist/es/es2018/types/src/generated/types/ListInlineEditDetailsRepresentation.d.ts +31 -0
  8. package/dist/es/es2018/types/src/generated/types/SearchDataCategoryInputRepresentation.d.ts +34 -0
  9. package/dist/es/es2018/types/src/generated/types/SearchDataCategoryOutputRepresentation.d.ts +34 -0
  10. package/dist/es/es2018/types/src/generated/types/SearchFilterOutputRepresentation.d.ts +34 -0
  11. package/dist/es/es2018/types/src/generated/types/SearchObjectOptionsOutputRepresentation.d.ts +33 -0
  12. package/dist/es/es2018/types/src/generated/types/SearchObjectOptionsRepresentation.d.ts +33 -0
  13. package/dist/es/es2018/types/src/generated/types/SearchRequestInputRepresentation.d.ts +9 -1
  14. package/dist/es/es2018/types/src/generated/types/SearchResultsSummaryRepresentation.d.ts +9 -1
  15. package/dist/es/es2018/uiapi-records-service.js +861 -438
  16. package/package.json +4 -4
  17. package/sfdc/graphqlAdapters.js +1 -1
  18. package/sfdc/index.js +862 -439
  19. package/sfdc/uiapi-static-functions.js +1 -1
  20. package/src/raml/api.raml +144 -0
  21. package/src/raml/luvio.raml +2 -0
@@ -1,5 +1,6 @@
1
1
  import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
2
  import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { SearchObjectOptionsRepresentation as types_SearchObjectOptionsRepresentation_SearchObjectOptionsRepresentation } from '../types/SearchObjectOptionsRepresentation';
3
4
  import { ResourceRequestConfig as resources_postUiApiSearchResults_ResourceRequestConfig } from '../resources/postUiApiSearchResults';
4
5
  import { SearchResultsSummaryRepresentation as types_SearchResultsSummaryRepresentation_SearchResultsSummaryRepresentation } from '../types/SearchResultsSummaryRepresentation';
5
6
  export declare const adapterName = "getSearchResults";
@@ -10,6 +11,9 @@ export interface GetSearchResultsConfig {
10
11
  answerTypes?: Array<string>;
11
12
  configurationName?: string;
12
13
  objectApiNames?: Array<string>;
14
+ searchObjectOptions?: {
15
+ [key: string]: types_SearchObjectOptionsRepresentation_SearchObjectOptionsRepresentation;
16
+ };
13
17
  }
14
18
  export declare const createResourceParams: (config: GetSearchResultsConfig) => resources_postUiApiSearchResults_ResourceRequestConfig;
15
19
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSearchResultsConfig): string;
@@ -1,3 +1,4 @@
1
+ import { SearchObjectOptionsRepresentation as types_SearchObjectOptionsRepresentation_SearchObjectOptionsRepresentation } from '../types/SearchObjectOptionsRepresentation';
1
2
  import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
3
  import { SearchResultsSummaryRepresentation as types_SearchResultsSummaryRepresentation_SearchResultsSummaryRepresentation } from '../types/SearchResultsSummaryRepresentation';
3
4
  export interface ResourceRequestConfig {
@@ -8,6 +9,9 @@ export interface ResourceRequestConfig {
8
9
  answerTypes?: Array<string>;
9
10
  configurationName?: string;
10
11
  objectApiNames?: Array<string>;
12
+ searchObjectOptions?: {
13
+ [key: string]: types_SearchObjectOptionsRepresentation_SearchObjectOptionsRepresentation;
14
+ };
11
15
  };
12
16
  }
13
17
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -0,0 +1,31 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "a03b727369304f5fbdb01424bf016008";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ListColumnInlineEditAttributesRepresentation, existing: ListColumnInlineEditAttributesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListColumnInlineEditAttributesRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ListColumnInlineEditAttributesRepresentationNormalized, incoming: ListColumnInlineEditAttributesRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ListColumnInlineEditAttributesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * ListColumnInlineEditAttributesRepresentation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ListColumnInlineEditAttributesRepresentationNormalized {
17
+ /** Indicates whether the column can be inline edited. */
18
+ editable: boolean;
19
+ /** Indicates whether the colum is required to be populated when inline editing. */
20
+ required: boolean;
21
+ }
22
+ /**
23
+ * ListColumnInlineEditAttributesRepresentation
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface ListColumnInlineEditAttributesRepresentation {
29
+ editable: boolean;
30
+ required: boolean;
31
+ }
@@ -0,0 +1,28 @@
1
+ import { ListColumnInlineEditAttributesRepresentation as ListColumnInlineEditAttributesRepresentation_ListColumnInlineEditAttributesRepresentation } from './ListColumnInlineEditAttributesRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "754ee59264b3fbdb850a1802381ffeea";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: ListColumnInlineEditAttributesRepresentationWrapper, existing: ListColumnInlineEditAttributesRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListColumnInlineEditAttributesRepresentationWrapperNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: ListColumnInlineEditAttributesRepresentationWrapperNormalized, incoming: ListColumnInlineEditAttributesRepresentationWrapperNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ListColumnInlineEditAttributesRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Map of RecordTypeId -> inline edit attributes handrolled type to allow for nillable object
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface ListColumnInlineEditAttributesRepresentationWrapperNormalized {
18
+ [key: string]: ListColumnInlineEditAttributesRepresentation_ListColumnInlineEditAttributesRepresentation;
19
+ }
20
+ /**
21
+ * Map of RecordTypeId -> inline edit attributes handrolled type to allow for nillable object
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface ListColumnInlineEditAttributesRepresentationWrapper {
27
+ [key: string]: ListColumnInlineEditAttributesRepresentation_ListColumnInlineEditAttributesRepresentation;
28
+ }
@@ -1,9 +1,10 @@
1
- import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "d8917f62af39b67a54f8ff8cf7ea49c6";
1
+ import { ListColumnInlineEditAttributesRepresentationWrapper as ListColumnInlineEditAttributesRepresentationWrapper_ListColumnInlineEditAttributesRepresentationWrapper } from './ListColumnInlineEditAttributesRepresentationWrapper';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "8aff6b0baf2e60a237e860236c4e1b70";
3
4
  export declare function validate(obj: any, path?: string): TypeError | null;
4
5
  export declare const RepresentationType: string;
5
6
  export declare function normalize(input: ListColumnRepresentation, existing: ListColumnRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListColumnRepresentationNormalized;
6
- export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare const select: () => $64$luvio_engine_BaseFragment;
7
8
  export declare function equals(existing: ListColumnRepresentationNormalized, incoming: ListColumnRepresentationNormalized): boolean;
8
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
9
10
  export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ListColumnRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
@@ -16,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
17
  export interface ListColumnRepresentationNormalized {
17
18
  /** API name for the field. */
18
19
  fieldApiName: string;
20
+ /** Map of RecordTypeId -> inline edit attributes. */
21
+ inlineEditAttributes?: ListColumnInlineEditAttributesRepresentationWrapper_ListColumnInlineEditAttributesRepresentationWrapper | null;
19
22
  /** Label of the field. */
20
23
  label: string;
21
24
  /** The lookupId for the column when the field is a reference, otherwise null. */
@@ -33,6 +36,7 @@ export interface ListColumnRepresentationNormalized {
33
36
  */
34
37
  export interface ListColumnRepresentation {
35
38
  fieldApiName: string;
39
+ inlineEditAttributes?: ListColumnInlineEditAttributesRepresentationWrapper_ListColumnInlineEditAttributesRepresentationWrapper | null;
36
40
  label: string;
37
41
  lookupId: string | null;
38
42
  searchable?: boolean;
@@ -1,13 +1,14 @@
1
- import { ListColumnRepresentation as ListColumnRepresentation_ListColumnRepresentation } from './ListColumnRepresentation';
2
1
  import { ListFilterByInfoRepresentation as ListFilterByInfoRepresentation_ListFilterByInfoRepresentation } from './ListFilterByInfoRepresentation';
2
+ import { ListInlineEditDetailsRepresentation as ListInlineEditDetailsRepresentation_ListInlineEditDetailsRepresentation } from './ListInlineEditDetailsRepresentation';
3
3
  import { ListReferenceRepresentation as ListReferenceRepresentation_ListReferenceRepresentation } from './ListReferenceRepresentation';
4
4
  import { ListInfoShareCategoryRepresentation as ListInfoShareCategoryRepresentation_ListInfoShareCategoryRepresentation } from './ListInfoShareCategoryRepresentation';
5
5
  import { ListOrderByInfoRepresentation as ListOrderByInfoRepresentation_ListOrderByInfoRepresentation } from './ListOrderByInfoRepresentation';
6
6
  import { ListScopeRepresentation as ListScopeRepresentation_ListScopeRepresentation } from './ListScopeRepresentation';
7
7
  import { ListUserPreferenceRepresentation as ListUserPreferenceRepresentation_ListUserPreferenceRepresentation } from './ListUserPreferenceRepresentation';
8
- import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
8
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
9
+ import { ListColumnRepresentation as ListColumnRepresentation_ListColumnRepresentation } from './ListColumnRepresentation';
9
10
  export declare const TTL = 900000;
10
- export declare const VERSION = "6bd7c5a1bb955f37db137327c7d65f65";
11
+ export declare const VERSION = "178c8b58f78e2720fe8846a667c7b294";
11
12
  export declare function validate(obj: any, path?: string): TypeError | null;
12
13
  export declare const RepresentationType: string;
13
14
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -22,10 +23,19 @@ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio,
22
23
  export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ListInfoRepresentation): string;
23
24
  export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ListInfoRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
24
25
  export declare function normalize(input: ListInfoRepresentation, existing: ListInfoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListInfoRepresentationNormalized;
26
+ export interface DynamicIngestParams {
27
+ displayColumns: $64$luvio_engine_ResourceIngest;
28
+ }
29
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: ListInfoRepresentation, existing: ListInfoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => ListInfoRepresentationNormalized;
25
30
  export declare const select: () => $64$luvio_engine_FragmentSelection;
31
+ export interface DynamicSelectParams {
32
+ displayColumns?: $64$luvio_engine_LinkSelection;
33
+ }
34
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
26
35
  export declare function equals(existing: ListInfoRepresentationNormalized, incoming: ListInfoRepresentationNormalized): boolean;
27
36
  export declare const ingest: $64$luvio_engine_ResourceIngest;
28
37
  export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ListInfoRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
38
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
29
39
  /**
30
40
  * ListInfoRepresentation
31
41
  *
@@ -42,13 +52,15 @@ export interface ListInfoRepresentationNormalized {
42
52
  /** Indicates whether the listview can be deleted. */
43
53
  deletable: boolean;
44
54
  /** All display columns for this list view. */
45
- displayColumns: Array<ListColumnRepresentation_ListColumnRepresentation>;
55
+ displayColumns: Array<$64$luvio_engine_StoreLink>;
46
56
  /** ETag like field, readOnly, handy while caching. */
47
57
  eTag: string;
48
58
  /** This is the filter logic such as "(1 OR 2) and 3". Indexes are 1-based. */
49
59
  filterLogicString: string | null;
50
60
  /** Describes how the list view is filtered. */
51
61
  filteredByInfo: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
62
+ /** Inline edit information for this list view. */
63
+ inlineEditDetails?: ListInlineEditDetailsRepresentation_ListInlineEditDetailsRepresentation | null;
52
64
  /** The list view's display label. E.g. "All Accounts". */
53
65
  label: string | null;
54
66
  listReference: ListReferenceRepresentation_ListReferenceRepresentation;
@@ -86,6 +98,7 @@ export interface ListInfoRepresentation {
86
98
  eTag: string;
87
99
  filterLogicString: string | null;
88
100
  filteredByInfo: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
101
+ inlineEditDetails?: ListInlineEditDetailsRepresentation_ListInlineEditDetailsRepresentation | null;
89
102
  label: string | null;
90
103
  listReference: ListReferenceRepresentation_ListReferenceRepresentation;
91
104
  listShares?: Array<ListInfoShareCategoryRepresentation_ListInfoShareCategoryRepresentation>;
@@ -0,0 +1,31 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "f98dc7dec10408a9648ef8e5b37002a3";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ListInlineEditDetailsRepresentation, existing: ListInlineEditDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListInlineEditDetailsRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ListInlineEditDetailsRepresentationNormalized, incoming: ListInlineEditDetailsRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ListInlineEditDetailsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * ListInlineEditDetailsRepresentation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ListInlineEditDetailsRepresentationNormalized {
17
+ /** The message describing why inline edit is Off */
18
+ message: string | null;
19
+ /** The state of inline edit for this list view */
20
+ state: string | null;
21
+ }
22
+ /**
23
+ * ListInlineEditDetailsRepresentation
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface ListInlineEditDetailsRepresentation {
29
+ message: string | null;
30
+ state: string | null;
31
+ }
@@ -0,0 +1,34 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "e89664be2ea7436e308305596f9c149d";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SearchDataCategoryInputRepresentation, existing: SearchDataCategoryInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchDataCategoryInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SearchDataCategoryInputRepresentationNormalized, incoming: SearchDataCategoryInputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchDataCategoryInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input parameters to apply data category filters of our results
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SearchDataCategoryInputRepresentationNormalized {
17
+ /** group name of the data category */
18
+ groupName: string;
19
+ /** Operator to use on the data category filter */
20
+ operator: string;
21
+ /** Values of the data categories */
22
+ values: Array<string>;
23
+ }
24
+ /**
25
+ * Input parameters to apply data category filters of our results
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface SearchDataCategoryInputRepresentation {
31
+ groupName: string;
32
+ operator: string;
33
+ values: Array<string>;
34
+ }
@@ -0,0 +1,34 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "ebb9b7caef03d94323cacb8c0a8d8e05";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SearchDataCategoryOutputRepresentation, existing: SearchDataCategoryOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchDataCategoryOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SearchDataCategoryOutputRepresentationNormalized, incoming: SearchDataCategoryOutputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchDataCategoryOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Search data category output response.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SearchDataCategoryOutputRepresentationNormalized {
17
+ /** Group name of the data category applied */
18
+ groupName: string;
19
+ /** Operator for the data category */
20
+ operator: string;
21
+ /** Values applied for the data category */
22
+ values: Array<string>;
23
+ }
24
+ /**
25
+ * Search data category output response.
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface SearchDataCategoryOutputRepresentation {
31
+ groupName: string;
32
+ operator: string;
33
+ values: Array<string>;
34
+ }
@@ -0,0 +1,34 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "ad91d41fef86d335ecd5766a23c8634d";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SearchFilterOutputRepresentation, existing: SearchFilterOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchFilterOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SearchFilterOutputRepresentationNormalized, incoming: SearchFilterOutputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchFilterOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Search filter output response.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SearchFilterOutputRepresentationNormalized {
17
+ /** Field path where we should apply the filter */
18
+ fieldPath: string;
19
+ /** Operator for the filter */
20
+ operator: string;
21
+ /** Values applied for the filter */
22
+ values: Array<string>;
23
+ }
24
+ /**
25
+ * Search filter output response.
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface SearchFilterOutputRepresentation {
31
+ fieldPath: string;
32
+ operator: string;
33
+ values: Array<string>;
34
+ }
@@ -0,0 +1,33 @@
1
+ import { SearchDataCategoryOutputRepresentation as SearchDataCategoryOutputRepresentation_SearchDataCategoryOutputRepresentation } from './SearchDataCategoryOutputRepresentation';
2
+ import { SearchFilterOutputRepresentation as SearchFilterOutputRepresentation_SearchFilterOutputRepresentation } from './SearchFilterOutputRepresentation';
3
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
4
+ export declare const VERSION = "de195c61e2bd28d1656f4f9603ce6d27";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: SearchObjectOptionsOutputRepresentation, existing: SearchObjectOptionsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchObjectOptionsOutputRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: SearchObjectOptionsOutputRepresentationNormalized, incoming: SearchObjectOptionsOutputRepresentationNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchObjectOptionsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * search object options like filters and data categories
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface SearchObjectOptionsOutputRepresentationNormalized {
19
+ /** List of Data categories applied */
20
+ dataCategories: Array<SearchDataCategoryOutputRepresentation_SearchDataCategoryOutputRepresentation>;
21
+ /** List of filters applied */
22
+ filters: Array<SearchFilterOutputRepresentation_SearchFilterOutputRepresentation>;
23
+ }
24
+ /**
25
+ * search object options like filters and data categories
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface SearchObjectOptionsOutputRepresentation {
31
+ dataCategories: Array<SearchDataCategoryOutputRepresentation_SearchDataCategoryOutputRepresentation>;
32
+ filters: Array<SearchFilterOutputRepresentation_SearchFilterOutputRepresentation>;
33
+ }
@@ -0,0 +1,33 @@
1
+ import { SearchDataCategoryInputRepresentation as SearchDataCategoryInputRepresentation_SearchDataCategoryInputRepresentation } from './SearchDataCategoryInputRepresentation';
2
+ import { SearchFilterInputRepresentation as SearchFilterInputRepresentation_SearchFilterInputRepresentation } from './SearchFilterInputRepresentation';
3
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
4
+ export declare const VERSION = "779d7cafc5ae45253068affa652ed120";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: SearchObjectOptionsRepresentation, existing: SearchObjectOptionsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchObjectOptionsRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: SearchObjectOptionsRepresentationNormalized, incoming: SearchObjectOptionsRepresentationNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchObjectOptionsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Input parameters for search object options
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface SearchObjectOptionsRepresentationNormalized {
19
+ /** Data Categories to apply on our results */
20
+ dataCategories: Array<SearchDataCategoryInputRepresentation_SearchDataCategoryInputRepresentation>;
21
+ /** Filters to apply on our results */
22
+ filters: Array<SearchFilterInputRepresentation_SearchFilterInputRepresentation>;
23
+ }
24
+ /**
25
+ * Input parameters for search object options
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface SearchObjectOptionsRepresentation {
31
+ dataCategories: Array<SearchDataCategoryInputRepresentation_SearchDataCategoryInputRepresentation>;
32
+ filters: Array<SearchFilterInputRepresentation_SearchFilterInputRepresentation>;
33
+ }
@@ -1,5 +1,6 @@
1
+ import { SearchObjectOptionsRepresentation as SearchObjectOptionsRepresentation_SearchObjectOptionsRepresentation } from './SearchObjectOptionsRepresentation';
1
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "91639ee17b0861e5523a6bedb5592dbf";
3
+ export declare const VERSION = "3ad64f41dabd0816217f66959cf2b809";
3
4
  export declare function validate(obj: any, path?: string): TypeError | null;
4
5
  export declare const RepresentationType: string;
5
6
  export declare function normalize(input: SearchRequestInputRepresentation, existing: SearchRequestInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchRequestInputRepresentationNormalized;
@@ -20,6 +21,10 @@ export interface SearchRequestInputRepresentationNormalized {
20
21
  configurationName?: string;
21
22
  /** A list of supported objects, such as Account. */
22
23
  objectApiNames?: Array<string>;
24
+ /** A map of search objects to pass additional options like explicit filters */
25
+ searchObjectOptions?: {
26
+ [key: string]: SearchObjectOptionsRepresentation_SearchObjectOptionsRepresentation;
27
+ };
23
28
  }
24
29
  /**
25
30
  * Input parameters to request on Search
@@ -31,4 +36,7 @@ export interface SearchRequestInputRepresentation {
31
36
  answerTypes?: Array<string>;
32
37
  configurationName?: string;
33
38
  objectApiNames?: Array<string>;
39
+ searchObjectOptions?: {
40
+ [key: string]: SearchObjectOptionsRepresentation_SearchObjectOptionsRepresentation;
41
+ };
34
42
  }
@@ -1,8 +1,9 @@
1
1
  import { KeywordSearchResultsRepresentation as KeywordSearchResultsRepresentation_KeywordSearchResultsRepresentation } from './KeywordSearchResultsRepresentation';
2
2
  import { SearchAnswersResultRepresentation as SearchAnswersResultRepresentation_SearchAnswersResultRepresentation } from './SearchAnswersResultRepresentation';
3
+ import { SearchObjectOptionsOutputRepresentation as SearchObjectOptionsOutputRepresentation_SearchObjectOptionsOutputRepresentation } from './SearchObjectOptionsOutputRepresentation';
3
4
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
4
5
  export declare const TTL = 200;
5
- export declare const VERSION = "877ca614d967f458099a6ae606b1cd1b";
6
+ export declare const VERSION = "c3b86b51e83e00857929bc3dd6742a85";
6
7
  export declare function validate(obj: any, path?: string): TypeError | null;
7
8
  export declare const RepresentationType: string;
8
9
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -38,6 +39,10 @@ export interface SearchResultsSummaryRepresentationNormalized {
38
39
  query: string;
39
40
  /** Search’s request ID */
40
41
  queryId: string;
42
+ /** Search object options applied */
43
+ searchObjectOptions: {
44
+ [key: string]: SearchObjectOptionsOutputRepresentation_SearchObjectOptionsOutputRepresentation;
45
+ };
41
46
  }
42
47
  /**
43
48
  * Root of the search response
@@ -52,4 +57,7 @@ export interface SearchResultsSummaryRepresentation {
52
57
  qnaResult: SearchAnswersResultRepresentation_SearchAnswersResultRepresentation | null;
53
58
  query: string;
54
59
  queryId: string;
60
+ searchObjectOptions: {
61
+ [key: string]: SearchObjectOptionsOutputRepresentation_SearchObjectOptionsOutputRepresentation;
62
+ };
55
63
  }