@salesforce/lds-adapters-industries-cib 0.1.0-dev1

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 (25) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-cib.js +1092 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getContactsInteractions.d.ts +29 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getDealParties.d.ts +28 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getInteractionInsights.d.ts +32 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -0
  9. package/dist/es/es2018/types/src/generated/resources/getConnectFinancialservicesContactsInteractions.d.ts +17 -0
  10. package/dist/es/es2018/types/src/generated/resources/getConnectFinancialservicesDealPartiesByFinancialDealId.d.ts +18 -0
  11. package/dist/es/es2018/types/src/generated/resources/getConnectFinancialservicesInteractionInsightsByAccountId.d.ts +22 -0
  12. package/dist/es/es2018/types/src/generated/types/CompanyDealPartyListRepresentation.d.ts +30 -0
  13. package/dist/es/es2018/types/src/generated/types/CompanyDealPartyRepresentation.d.ts +37 -0
  14. package/dist/es/es2018/types/src/generated/types/ContactInteractionsListRepresentation.d.ts +30 -0
  15. package/dist/es/es2018/types/src/generated/types/ContactInteractionsRepresentation.d.ts +38 -0
  16. package/dist/es/es2018/types/src/generated/types/ContactRepresentation.d.ts +37 -0
  17. package/dist/es/es2018/types/src/generated/types/ContactsRepresentation.d.ts +36 -0
  18. package/dist/es/es2018/types/src/generated/types/InteractionRepresentation.d.ts +47 -0
  19. package/dist/es/es2018/types/src/generated/types/UserRepresentation.d.ts +37 -0
  20. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  21. package/package.json +74 -0
  22. package/sfdc/index.d.ts +1 -0
  23. package/sfdc/index.js +1150 -0
  24. package/src/raml/api.raml +231 -0
  25. package/src/raml/luvio.raml +33 -0
@@ -0,0 +1,62 @@
1
+ import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata } from '@luvio/engine';
2
+ export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
3
+ declare const ObjectKeys: {
4
+ (o: object): string[];
5
+ (o: {}): string[];
6
+ }, ObjectCreate: {
7
+ (o: object | null): any;
8
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
9
+ };
10
+ export { ObjectCreate, ObjectKeys };
11
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
12
+ export declare const ArrayPrototypePush: (...items: any[]) => number;
13
+ export interface AdapterValidationConfig {
14
+ displayName: string;
15
+ parameters: {
16
+ required: string[];
17
+ optional: string[];
18
+ unsupported?: string[];
19
+ };
20
+ }
21
+ /**
22
+ * Validates an adapter config is well-formed.
23
+ * @param config The config to validate.
24
+ * @param adapter The adapter validation configuration.
25
+ * @param oneOf The keys the config must contain at least one of.
26
+ * @throws A TypeError if config doesn't satisfy the adapter's config validation.
27
+ */
28
+ export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
29
+ export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
30
+ export type UncoercedConfiguration<Base, Options extends {
31
+ [key in keyof Base]?: any;
32
+ }> = {
33
+ [Key in keyof Base]?: Base[Key] | Options[Key];
34
+ };
35
+ export type Untrusted<Base> = Partial<Base>;
36
+ export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
37
+ export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
38
+ export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
39
+ export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
40
+ export declare const snapshotRefreshOptions: {
41
+ overrides: {
42
+ headers: {
43
+ 'Cache-Control': string;
44
+ };
45
+ };
46
+ };
47
+ /**
48
+ * A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
49
+ * This is needed because insertion order for JSON.stringify(object) affects output:
50
+ * JSON.stringify({a: 1, b: 2})
51
+ * "{"a":1,"b":2}"
52
+ * JSON.stringify({b: 2, a: 1})
53
+ * "{"b":2,"a":1}"
54
+ * @param data Data to be JSON-stringified.
55
+ * @returns JSON.stringified value with consistent ordering of keys.
56
+ */
57
+ export declare function stableJSONStringify(node: any): string | undefined;
58
+ export declare function getFetchResponseStatusText(status: number): string;
59
+ export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
60
+ export declare function generateParamConfigMetadata(name: string, required: boolean, resourceType: $64$luvio_engine_AdapterConfigMetadata['resourceType'], typeCheckShape: $64$luvio_engine_AdapterConfigMetadata['typeCheckShape'], isArrayShape?: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
61
+ export declare function buildAdapterValidationConfig(displayName: string, paramsMeta: $64$luvio_engine_AdapterConfigMetadata[]): AdapterValidationConfig;
62
+ export declare const keyPrefix = "cib";
@@ -0,0 +1,29 @@
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
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_getConnectFinancialservicesContactsInteractions_ResourceRequestConfig } from '../resources/getConnectFinancialservicesContactsInteractions';
4
+ import { ContactInteractionsListRepresentation as types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation } from '../types/ContactInteractionsListRepresentation';
5
+ export declare const adapterName = "getContactsInteractions";
6
+ export declare const getContactsInteractions_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getContactsInteractions_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetContactsInteractionsConfig {
9
+ contactIds?: Array<string>;
10
+ relatedRecordId?: string;
11
+ systemContext?: boolean;
12
+ }
13
+ export declare const createResourceParams: (config: GetContactsInteractionsConfig) => resources_getConnectFinancialservicesContactsInteractions_ResourceRequestConfig;
14
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetContactsInteractionsConfig): string;
15
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetContactsInteractionsConfig): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetContactsInteractionsConfig>): adapter$45$utils_Untrusted<GetContactsInteractionsConfig>;
17
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetContactsInteractionsConfig | null;
18
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetContactsInteractionsConfig): $64$luvio_engine_Fragment;
19
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetContactsInteractionsConfig): $64$luvio_engine_Snapshot<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation, any>;
20
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetContactsInteractionsConfig, resourceParams: resources_getConnectFinancialservicesContactsInteractions_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation, any>>;
21
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetContactsInteractionsConfig, resourceParams: resources_getConnectFinancialservicesContactsInteractions_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
22
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetContactsInteractionsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation, any>>;
23
+ export type BuildSnapshotContext = {
24
+ luvio: $64$luvio_engine_Luvio;
25
+ config: GetContactsInteractionsConfig;
26
+ };
27
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation, any>>;
28
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation>): $64$luvio_engine_Snapshot<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation, any>;
29
+ export declare const getContactsInteractionsAdapterFactory: $64$luvio_engine_AdapterFactory<GetContactsInteractionsConfig, types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation>;
@@ -0,0 +1,28 @@
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
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_getConnectFinancialservicesDealPartiesByFinancialDealId_ResourceRequestConfig } from '../resources/getConnectFinancialservicesDealPartiesByFinancialDealId';
4
+ import { CompanyDealPartyListRepresentation as types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation } from '../types/CompanyDealPartyListRepresentation';
5
+ export declare const adapterName = "getDealParties";
6
+ export declare const getDealParties_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getDealParties_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetDealPartiesConfig {
9
+ financialDealId: string;
10
+ partyRoles?: Array<string>;
11
+ }
12
+ export declare const createResourceParams: (config: GetDealPartiesConfig) => resources_getConnectFinancialservicesDealPartiesByFinancialDealId_ResourceRequestConfig;
13
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetDealPartiesConfig): string;
14
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetDealPartiesConfig): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetDealPartiesConfig>): adapter$45$utils_Untrusted<GetDealPartiesConfig>;
16
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetDealPartiesConfig | null;
17
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetDealPartiesConfig): $64$luvio_engine_Fragment;
18
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetDealPartiesConfig): $64$luvio_engine_Snapshot<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation, any>;
19
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetDealPartiesConfig, resourceParams: resources_getConnectFinancialservicesDealPartiesByFinancialDealId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation, any>>;
20
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetDealPartiesConfig, resourceParams: resources_getConnectFinancialservicesDealPartiesByFinancialDealId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
21
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetDealPartiesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation, any>>;
22
+ export type BuildSnapshotContext = {
23
+ luvio: $64$luvio_engine_Luvio;
24
+ config: GetDealPartiesConfig;
25
+ };
26
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation, any>>;
27
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation>): $64$luvio_engine_Snapshot<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation, any>;
28
+ export declare const getDealPartiesAdapterFactory: $64$luvio_engine_AdapterFactory<GetDealPartiesConfig, types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation>;
@@ -0,0 +1,32 @@
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
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_getConnectFinancialservicesInteractionInsightsByAccountId_ResourceRequestConfig } from '../resources/getConnectFinancialservicesInteractionInsightsByAccountId';
4
+ import { ContactsRepresentation as types_ContactsRepresentation_ContactsRepresentation } from '../types/ContactsRepresentation';
5
+ export declare const adapterName = "getInteractionInsights";
6
+ export declare const getInteractionInsights_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getInteractionInsights_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetInteractionInsightsConfig {
9
+ accountId: string;
10
+ isDirectContacts?: boolean;
11
+ limit?: number;
12
+ offset?: number;
13
+ showACR?: boolean;
14
+ systemContext?: boolean;
15
+ }
16
+ export declare const createResourceParams: (config: GetInteractionInsightsConfig) => resources_getConnectFinancialservicesInteractionInsightsByAccountId_ResourceRequestConfig;
17
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetInteractionInsightsConfig): string;
18
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetInteractionInsightsConfig): $64$luvio_engine_NormalizedKeyMetadata;
19
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetInteractionInsightsConfig>): adapter$45$utils_Untrusted<GetInteractionInsightsConfig>;
20
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetInteractionInsightsConfig | null;
21
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetInteractionInsightsConfig): $64$luvio_engine_Fragment;
22
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetInteractionInsightsConfig): $64$luvio_engine_Snapshot<types_ContactsRepresentation_ContactsRepresentation, any>;
23
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetInteractionInsightsConfig, resourceParams: resources_getConnectFinancialservicesInteractionInsightsByAccountId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ContactsRepresentation_ContactsRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ContactsRepresentation_ContactsRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ContactsRepresentation_ContactsRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ContactsRepresentation_ContactsRepresentation, any>>;
24
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetInteractionInsightsConfig, resourceParams: resources_getConnectFinancialservicesInteractionInsightsByAccountId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
25
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetInteractionInsightsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ContactsRepresentation_ContactsRepresentation, any>>;
26
+ export type BuildSnapshotContext = {
27
+ luvio: $64$luvio_engine_Luvio;
28
+ config: GetInteractionInsightsConfig;
29
+ };
30
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ContactsRepresentation_ContactsRepresentation, any>>;
31
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ContactsRepresentation_ContactsRepresentation>): $64$luvio_engine_Snapshot<types_ContactsRepresentation_ContactsRepresentation, any>;
32
+ export declare const getInteractionInsightsAdapterFactory: $64$luvio_engine_AdapterFactory<GetInteractionInsightsConfig, types_ContactsRepresentation_ContactsRepresentation>;
@@ -0,0 +1,3 @@
1
+ export { getContactsInteractionsAdapterFactory } from '../adapters/getContactsInteractions';
2
+ export { getDealPartiesAdapterFactory } from '../adapters/getDealParties';
3
+ export { getInteractionInsightsAdapterFactory } from '../adapters/getInteractionInsights';
@@ -0,0 +1,7 @@
1
+ declare let getContactsInteractions: any;
2
+ declare let getDealParties: any;
3
+ declare let getInteractionInsights: any;
4
+ declare let getContactsInteractions_imperative: any;
5
+ declare let getDealParties_imperative: any;
6
+ declare let getInteractionInsights_imperative: any;
7
+ export { getContactsInteractions, getDealParties, getInteractionInsights, getContactsInteractions_imperative, getDealParties_imperative, getInteractionInsights_imperative, };
@@ -0,0 +1,17 @@
1
+ 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
+ import { ContactInteractionsListRepresentation as types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation } from '../types/ContactInteractionsListRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ queryParams: {
5
+ contactIds?: Array<string>;
6
+ relatedRecordId?: string;
7
+ systemContext?: boolean;
8
+ };
9
+ }
10
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation): void;
14
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation, any>;
15
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ContactInteractionsListRepresentation_ContactInteractionsListRepresentation>): $64$luvio_engine_ErrorSnapshot;
16
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
17
+ export default createResourceRequest;
@@ -0,0 +1,18 @@
1
+ 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
+ import { CompanyDealPartyListRepresentation as types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation } from '../types/CompanyDealPartyListRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ financialDealId: string;
6
+ };
7
+ queryParams: {
8
+ partyRoles?: Array<string>;
9
+ };
10
+ }
11
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
14
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation): void;
15
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation, any>;
16
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CompanyDealPartyListRepresentation_CompanyDealPartyListRepresentation>): $64$luvio_engine_ErrorSnapshot;
17
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
18
+ export default createResourceRequest;
@@ -0,0 +1,22 @@
1
+ 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
+ import { ContactsRepresentation as types_ContactsRepresentation_ContactsRepresentation } from '../types/ContactsRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ accountId: string;
6
+ };
7
+ queryParams: {
8
+ isDirectContacts?: boolean;
9
+ limit?: number;
10
+ offset?: number;
11
+ showACR?: boolean;
12
+ systemContext?: boolean;
13
+ };
14
+ }
15
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
16
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
17
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
18
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ContactsRepresentation_ContactsRepresentation): void;
19
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ContactsRepresentation_ContactsRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ContactsRepresentation_ContactsRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ContactsRepresentation_ContactsRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ContactsRepresentation_ContactsRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ContactsRepresentation_ContactsRepresentation, any>;
20
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ContactsRepresentation_ContactsRepresentation>): $64$luvio_engine_ErrorSnapshot;
21
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
22
+ export default createResourceRequest;
@@ -0,0 +1,30 @@
1
+ import { CompanyDealPartyRepresentation as CompanyDealPartyRepresentation_CompanyDealPartyRepresentation } from './CompanyDealPartyRepresentation';
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 TTL = 60000;
4
+ export declare const VERSION = "486ac4c33dd5ef737f23a417fce9ab94";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: CompanyDealPartyListRepresentation, existing: CompanyDealPartyListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CompanyDealPartyListRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_BaseFragment;
9
+ export declare function equals(existing: CompanyDealPartyListRepresentationNormalized, incoming: CompanyDealPartyListRepresentationNormalized): 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: CompanyDealPartyListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * List of Company deal parties
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface CompanyDealPartyListRepresentationNormalized {
19
+ /** The list of company deal parties */
20
+ data: Array<CompanyDealPartyRepresentation_CompanyDealPartyRepresentation>;
21
+ }
22
+ /**
23
+ * List of Company deal parties
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface CompanyDealPartyListRepresentation {
29
+ data: Array<CompanyDealPartyRepresentation_CompanyDealPartyRepresentation>;
30
+ }
@@ -0,0 +1,37 @@
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 = "05e83464ffb7d681904b84bd181184d2";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: CompanyDealPartyRepresentation, existing: CompanyDealPartyRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CompanyDealPartyRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: CompanyDealPartyRepresentationNormalized, incoming: CompanyDealPartyRepresentationNormalized): 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: CompanyDealPartyRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Output representation of a Company Deal Party
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface CompanyDealPartyRepresentationNormalized {
17
+ /** The list of contacts added with the party as FinancialDealParty records */
18
+ contactIds: Array<string>;
19
+ /** The name of the Party in a FinancialDealParty record */
20
+ name: string;
21
+ /** The partyId in a FinancialDealParty record */
22
+ partyId: string;
23
+ /** The roles of the Party in a FinancialDealParty record */
24
+ partyRoles: Array<string>;
25
+ }
26
+ /**
27
+ * Output representation of a Company Deal Party
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface CompanyDealPartyRepresentation {
33
+ contactIds: Array<string>;
34
+ name: string;
35
+ partyId: string;
36
+ partyRoles: Array<string>;
37
+ }
@@ -0,0 +1,30 @@
1
+ import { ContactInteractionsRepresentation as ContactInteractionsRepresentation_ContactInteractionsRepresentation } from './ContactInteractionsRepresentation';
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 TTL = 60000;
4
+ export declare const VERSION = "84ad09d24737a1d099958eeb5c3ebc1d";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: ContactInteractionsListRepresentation, existing: ContactInteractionsListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContactInteractionsListRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_BaseFragment;
9
+ export declare function equals(existing: ContactInteractionsListRepresentationNormalized, incoming: ContactInteractionsListRepresentationNormalized): 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: ContactInteractionsListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * List of contacts along with the related interactions
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface ContactInteractionsListRepresentationNormalized {
19
+ /** List of Contacts with the related Interactions */
20
+ data: Array<ContactInteractionsRepresentation_ContactInteractionsRepresentation>;
21
+ }
22
+ /**
23
+ * List of contacts along with the related interactions
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface ContactInteractionsListRepresentation {
29
+ data: Array<ContactInteractionsRepresentation_ContactInteractionsRepresentation>;
30
+ }
@@ -0,0 +1,38 @@
1
+ import { InteractionRepresentation as InteractionRepresentation_InteractionRepresentation } from './InteractionRepresentation';
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 = "c00313c1347e7647caaf4430f7b58acc";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: ContactInteractionsRepresentation, existing: ContactInteractionsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContactInteractionsRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: ContactInteractionsRepresentationNormalized, incoming: ContactInteractionsRepresentationNormalized): 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: ContactInteractionsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Shows the contact info along with the Interactions
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface ContactInteractionsRepresentationNormalized {
18
+ /** The recordId of the Contact */
19
+ contactId: string;
20
+ /** List of interactions for the given contact */
21
+ interactions: Array<InteractionRepresentation_InteractionRepresentation>;
22
+ /** The name of the Contact */
23
+ name: string | null;
24
+ /** The title of the Contact */
25
+ title: string | null;
26
+ }
27
+ /**
28
+ * Shows the contact info along with the Interactions
29
+ *
30
+ * Keys:
31
+ * (none)
32
+ */
33
+ export interface ContactInteractionsRepresentation {
34
+ contactId: string;
35
+ interactions: Array<InteractionRepresentation_InteractionRepresentation>;
36
+ name: string | null;
37
+ title: string | null;
38
+ }
@@ -0,0 +1,37 @@
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 = "2d067306ca89ba00acffcdfb673d7207";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ContactRepresentation, existing: ContactRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContactRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ContactRepresentationNormalized, incoming: ContactRepresentationNormalized): 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: ContactRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Contact record
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ContactRepresentationNormalized {
17
+ /** The record Id of the Contact */
18
+ id: string;
19
+ /** The interaction count for the Contact */
20
+ interactionsCount: number;
21
+ /** The name of the Contact */
22
+ name: string | null;
23
+ /** The title of the Contact */
24
+ title: string | null;
25
+ }
26
+ /**
27
+ * Contact record
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface ContactRepresentation {
33
+ id: string;
34
+ interactionsCount: number;
35
+ name: string | null;
36
+ title: string | null;
37
+ }
@@ -0,0 +1,36 @@
1
+ import { ContactRepresentation as ContactRepresentation_ContactRepresentation } from './ContactRepresentation';
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 TTL = 60000;
4
+ export declare const VERSION = "ae005c5c1fab63939fcd5bab74c1d960";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: ContactsRepresentation, existing: ContactsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContactsRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_BaseFragment;
9
+ export declare function equals(existing: ContactsRepresentationNormalized, incoming: ContactsRepresentationNormalized): 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: ContactsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * List of contacts
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface ContactsRepresentationNormalized {
19
+ /** List of Contacts */
20
+ contacts: Array<ContactRepresentation_ContactRepresentation>;
21
+ /** Boolean that determines if we are querying direct contacts */
22
+ isDirectContacts: boolean;
23
+ /** The next offset for querying contacts */
24
+ nextOffset: number;
25
+ }
26
+ /**
27
+ * List of contacts
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface ContactsRepresentation {
33
+ contacts: Array<ContactRepresentation_ContactRepresentation>;
34
+ isDirectContacts: boolean;
35
+ nextOffset: number;
36
+ }
@@ -0,0 +1,47 @@
1
+ import { UserRepresentation as UserRepresentation_UserRepresentation } from './UserRepresentation';
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 = "7490fe2f4a9b7e5a013cf78edde9a116";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: InteractionRepresentation, existing: InteractionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InteractionRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: InteractionRepresentationNormalized, incoming: InteractionRepresentationNormalized): 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: InteractionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Output representation of an Interaction
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface InteractionRepresentationNormalized {
18
+ /** The total number of attendees added on the interaction */
19
+ attendeesCount: number;
20
+ /** The icon of the Interaction. This could be either SLDS icon or a file url */
21
+ icon: string | null;
22
+ /** The recordId of the Interaction */
23
+ id: string | null;
24
+ /** Flag to check if Interaction is visible to current user or not */
25
+ isPrivate: boolean;
26
+ /** The name of the Interaction */
27
+ name: string | null;
28
+ /** The start date of the Interaction */
29
+ startDate: string | null;
30
+ /** List of users added as Attendee on the interaction */
31
+ users: Array<UserRepresentation_UserRepresentation>;
32
+ }
33
+ /**
34
+ * Output representation of an Interaction
35
+ *
36
+ * Keys:
37
+ * (none)
38
+ */
39
+ export interface InteractionRepresentation {
40
+ attendeesCount: number;
41
+ icon: string | null;
42
+ id: string | null;
43
+ isPrivate: boolean;
44
+ name: string | null;
45
+ startDate: string | null;
46
+ users: Array<UserRepresentation_UserRepresentation>;
47
+ }
@@ -0,0 +1,37 @@
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 = "00a1a6a924519a3c83aa46ae539ccec8";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: UserRepresentation, existing: UserRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: UserRepresentationNormalized, incoming: UserRepresentationNormalized): 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: UserRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Output representation for a user
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface UserRepresentationNormalized {
17
+ /** The recordId of the User */
18
+ id: string;
19
+ /** The name of the User */
20
+ name: string;
21
+ /** The profile photo url of the User */
22
+ photoUrl: string;
23
+ /** The title of the user */
24
+ title: string | null;
25
+ }
26
+ /**
27
+ * Output representation for a user
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface UserRepresentation {
33
+ id: string;
34
+ name: string;
35
+ photoUrl: string;
36
+ title: string | null;
37
+ }
@@ -0,0 +1,32 @@
1
+ import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const ObjectKeys: {
3
+ (o: object): string[];
4
+ (o: {}): string[];
5
+ }, ObjectCreate: {
6
+ (o: object | null): any;
7
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
8
+ }, ObjectAssign: {
9
+ <T extends {}, U>(target: T, source: U): T & U;
10
+ <T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
11
+ <T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
12
+ (target: object, ...sources: any[]): any;
13
+ };
14
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
15
+ export declare const JSONStringify: {
16
+ (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
17
+ (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
18
+ };
19
+ type AllowedPrimitives = boolean | string | number | Date | null;
20
+ type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
21
+ export type RecursivePartial<T> = null | {
22
+ [P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
23
+ };
24
+ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
25
+ export declare function equalsObject<U, V extends {
26
+ [key: string]: U;
27
+ }>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
28
+ export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
29
+ __ref: string;
30
+ };
31
+ export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
32
+ export {};