@salesforce/lds-adapters-sales-people-api 1.100.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/sales-people-api.js +642 -0
- package/dist/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/types/src/generated/adapters/getParsedSignatureData.d.ts +26 -0
- package/dist/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/types/src/generated/artifacts/sfdc.d.ts +3 -0
- package/dist/types/src/generated/resources/getPeople.d.ts +15 -0
- package/dist/types/src/generated/types/NameUi.d.ts +35 -0
- package/dist/types/src/generated/types/PeopleAPIResponse.d.ts +32 -0
- package/dist/types/src/generated/types/PeopleAPIResponseCollection.d.ts +30 -0
- package/dist/types/src/generated/types/PhoneUi.d.ts +38 -0
- package/dist/types/src/generated/types/PhysAddressUi.d.ts +50 -0
- package/dist/types/src/generated/types/SignatureUi.d.ts +63 -0
- package/dist/types/src/generated/types/SocialMediaUi.d.ts +35 -0
- package/dist/types/src/generated/types/TitleUi.d.ts +35 -0
- package/dist/types/src/generated/types/type-utils.d.ts +39 -0
- package/dist/umd/es2018/sales-people-api.js +650 -0
- package/dist/umd/es5/sales-people-api.js +658 -0
- package/package.json +70 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +674 -0
- package/src/raml/api.raml +196 -0
- package/src/raml/luvio.raml +17 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
|
+
declare const ObjectKeys: {
|
|
4
|
+
(o: object): string[];
|
|
5
|
+
(o: {}): string[];
|
|
6
|
+
}, ObjectFreeze: {
|
|
7
|
+
<T extends Function>(f: T): T;
|
|
8
|
+
<T_1 extends {
|
|
9
|
+
[idx: string]: object | U | null | undefined;
|
|
10
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
11
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
12
|
+
}, ObjectCreate: {
|
|
13
|
+
(o: object | null): any;
|
|
14
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
15
|
+
};
|
|
16
|
+
export { ObjectFreeze, ObjectCreate, ObjectKeys };
|
|
17
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
18
|
+
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
19
|
+
export interface AdapterValidationConfig {
|
|
20
|
+
displayName: string;
|
|
21
|
+
parameters: {
|
|
22
|
+
required: string[];
|
|
23
|
+
optional: string[];
|
|
24
|
+
unsupported?: string[];
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Validates an adapter config is well-formed.
|
|
29
|
+
* @param config The config to validate.
|
|
30
|
+
* @param adapter The adapter validation configuration.
|
|
31
|
+
* @param oneOf The keys the config must contain at least one of.
|
|
32
|
+
* @throws A TypeError if config doesn't satisfy the adapter's config validation.
|
|
33
|
+
*/
|
|
34
|
+
export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
|
|
35
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
36
|
+
export type UncoercedConfiguration<Base, Options extends {
|
|
37
|
+
[key in keyof Base]?: any;
|
|
38
|
+
}> = {
|
|
39
|
+
[Key in keyof Base]?: Base[Key] | Options[Key];
|
|
40
|
+
};
|
|
41
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
42
|
+
export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
|
|
43
|
+
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>;
|
|
44
|
+
export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
|
|
45
|
+
export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
|
|
46
|
+
export declare const snapshotRefreshOptions: {
|
|
47
|
+
overrides: {
|
|
48
|
+
headers: {
|
|
49
|
+
'Cache-Control': string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
55
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
56
|
+
* JSON.stringify({a: 1, b: 2})
|
|
57
|
+
* "{"a":1,"b":2}"
|
|
58
|
+
* JSON.stringify({b: 2, a: 1})
|
|
59
|
+
* "{"b":2,"a":1}"
|
|
60
|
+
* @param data Data to be JSON-stringified.
|
|
61
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
62
|
+
*/
|
|
63
|
+
export declare function stableJSONStringify(node: any): string | undefined;
|
|
64
|
+
export declare function getFetchResponseStatusText(status: number): string;
|
|
65
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
66
|
+
export declare const keyPrefix = "people-api";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getPeople_ResourceRequestConfig } from '../resources/getPeople';
|
|
3
|
+
import { 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';
|
|
4
|
+
import { PeopleAPIResponseCollection as types_PeopleAPIResponseCollection_PeopleAPIResponseCollection } from '../types/PeopleAPIResponseCollection';
|
|
5
|
+
export declare const adapterName = "getParsedSignatureData";
|
|
6
|
+
export declare const getParsedSignatureData_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetParsedSignatureDataConfig {
|
|
8
|
+
emailAddresses?: Array<string>;
|
|
9
|
+
}
|
|
10
|
+
export declare function createResourceParams(config: GetParsedSignatureDataConfig): resources_getPeople_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetParsedSignatureDataConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetParsedSignatureDataConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetParsedSignatureDataConfig>): adapter$45$utils_Untrusted<GetParsedSignatureDataConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetParsedSignatureDataConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetParsedSignatureDataConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetParsedSignatureDataConfig): $64$luvio_engine_Snapshot<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetParsedSignatureDataConfig, resourceParams: resources_getPeople_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection>): Promise<import("@luvio/engine").PendingSnapshot<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection, any> | import("@luvio/engine").FulfilledSnapshot<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection, {}> | import("@luvio/engine").StaleSnapshot<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection, {}>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetParsedSignatureDataConfig, resourceParams: resources_getPeople_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetParsedSignatureDataConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetParsedSignatureDataConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection>): $64$luvio_engine_Snapshot<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection, any>;
|
|
26
|
+
export declare const getParsedSignatureDataAdapterFactory: $64$luvio_engine_AdapterFactory<GetParsedSignatureDataConfig, types_PeopleAPIResponseCollection_PeopleAPIResponseCollection>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getParsedSignatureDataAdapterFactory } from '../adapters/getParsedSignatureData';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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 { PeopleAPIResponseCollection as types_PeopleAPIResponseCollection_PeopleAPIResponseCollection } from '../types/PeopleAPIResponseCollection';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
emailAddresses?: Array<string>;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_PeopleAPIResponseCollection_PeopleAPIResponseCollection): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection>): $64$luvio_engine_FulfilledSnapshot<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection, {}> | $64$luvio_engine_StaleSnapshot<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection, {}> | $64$luvio_engine_PendingSnapshot<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_PeopleAPIResponseCollection_PeopleAPIResponseCollection>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,35 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "2d7fb3c3007f1faebf8d0bd655550bef";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: NameUi, existing: NameUiNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NameUiNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: NameUiNormalized, incoming: NameUiNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: NameUi): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: NameUi, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Representation of parsed signature data's name
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface NameUiNormalized {
|
|
18
|
+
/** The first name */
|
|
19
|
+
first: string;
|
|
20
|
+
/** The initials of this name */
|
|
21
|
+
initials: string;
|
|
22
|
+
/** The last name */
|
|
23
|
+
last: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Representation of parsed signature data's name
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface NameUi {
|
|
32
|
+
first: string;
|
|
33
|
+
initials: string;
|
|
34
|
+
last: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SignatureUi as SignatureUi_SignatureUi } from './SignatureUi';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "417042176eeef44c763e89d5c2fba6f1";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: PeopleAPIResponse, existing: PeopleAPIResponseNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PeopleAPIResponseNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: PeopleAPIResponseNormalized, incoming: PeopleAPIResponseNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: PeopleAPIResponse): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PeopleAPIResponse, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Representation of parsed signature data
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface PeopleAPIResponseNormalized {
|
|
19
|
+
/** The email address associated with this result. This is null if fetching OOO information. */
|
|
20
|
+
emailAddress: string;
|
|
21
|
+
signature: SignatureUi_SignatureUi;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Representation of parsed signature data
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface PeopleAPIResponse {
|
|
30
|
+
emailAddress: string;
|
|
31
|
+
signature: SignatureUi_SignatureUi;
|
|
32
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PeopleAPIResponse as PeopleAPIResponse_PeopleAPIResponse } from './PeopleAPIResponse';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "1acb2e7e06055d8818df0d3592d62c04";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: PeopleAPIResponseCollection, existing: PeopleAPIResponseCollectionNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PeopleAPIResponseCollectionNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: PeopleAPIResponseCollectionNormalized, incoming: PeopleAPIResponseCollectionNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: PeopleAPIResponseCollection): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PeopleAPIResponseCollection, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Representation of parsed signature / OOO data for a list of emails or contacts.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface PeopleAPIResponseCollectionNormalized {
|
|
19
|
+
/** List of responses containing parsed signature data or OOO data */
|
|
20
|
+
responses: Array<PeopleAPIResponse_PeopleAPIResponse>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Representation of parsed signature / OOO data for a list of emails or contacts.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface PeopleAPIResponseCollection {
|
|
29
|
+
responses: Array<PeopleAPIResponse_PeopleAPIResponse>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "49b1c85340e2a89e32b34f325ce67c34";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: PhoneUi, existing: PhoneUiNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PhoneUiNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: PhoneUiNormalized, incoming: PhoneUiNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: PhoneUi): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PhoneUi, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Representation of parsed signature data's phone number
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface PhoneUiNormalized {
|
|
18
|
+
/** The country code of this phone */
|
|
19
|
+
countryCode: string;
|
|
20
|
+
/** The phone extension number */
|
|
21
|
+
extension: string;
|
|
22
|
+
/** The number of this phone number, might include the extension / country code as well. */
|
|
23
|
+
number: string;
|
|
24
|
+
/** The type of phone number (e.g. cell, fax) */
|
|
25
|
+
phoneType: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Representation of parsed signature data's phone number
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface PhoneUi {
|
|
34
|
+
countryCode: string;
|
|
35
|
+
extension: string;
|
|
36
|
+
number: string;
|
|
37
|
+
phoneType: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "43056e9812f25b4a2e874b7c506a4475";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: PhysAddressUi, existing: PhysAddressUiNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PhysAddressUiNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: PhysAddressUiNormalized, incoming: PhysAddressUiNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: PhysAddressUi): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PhysAddressUi, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Representation of parsed signature data's address
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface PhysAddressUiNormalized {
|
|
18
|
+
/** The apartment number (if present) associated with the address */
|
|
19
|
+
apartment: string;
|
|
20
|
+
/** The name of the city of this address */
|
|
21
|
+
city: string;
|
|
22
|
+
/** The country/nation for this address */
|
|
23
|
+
country: string;
|
|
24
|
+
/** The house number of this address. Does not include apartment number. */
|
|
25
|
+
houseNo: string;
|
|
26
|
+
/** P.O. Box of the Address */
|
|
27
|
+
poBox: string;
|
|
28
|
+
/** Postal code of this address */
|
|
29
|
+
postalCode: string;
|
|
30
|
+
/** The state/region associated with this parsed data */
|
|
31
|
+
state: string;
|
|
32
|
+
/** The name of the street of this address, without the number */
|
|
33
|
+
street: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Representation of parsed signature data's address
|
|
37
|
+
*
|
|
38
|
+
* Keys:
|
|
39
|
+
* (none)
|
|
40
|
+
*/
|
|
41
|
+
export interface PhysAddressUi {
|
|
42
|
+
apartment: string;
|
|
43
|
+
city: string;
|
|
44
|
+
country: string;
|
|
45
|
+
houseNo: string;
|
|
46
|
+
poBox: string;
|
|
47
|
+
postalCode: string;
|
|
48
|
+
state: string;
|
|
49
|
+
street: string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { PhysAddressUi as PhysAddressUi_PhysAddressUi } from './PhysAddressUi';
|
|
2
|
+
import { NameUi as NameUi_NameUi } from './NameUi';
|
|
3
|
+
import { PhoneUi as PhoneUi_PhoneUi } from './PhoneUi';
|
|
4
|
+
import { SocialMediaUi as SocialMediaUi_SocialMediaUi } from './SocialMediaUi';
|
|
5
|
+
import { TitleUi as TitleUi_TitleUi } from './TitleUi';
|
|
6
|
+
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
7
|
+
export declare const VERSION = "d9a3047018d5abb3a9d5af8bac3a930a";
|
|
8
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
9
|
+
export declare const RepresentationType: string;
|
|
10
|
+
export declare function normalize(input: SignatureUi, existing: SignatureUiNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SignatureUiNormalized;
|
|
11
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export declare function equals(existing: SignatureUiNormalized, incoming: SignatureUiNormalized): boolean;
|
|
13
|
+
export declare function deepFreeze(input: SignatureUi): void;
|
|
14
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
15
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SignatureUi, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
16
|
+
/**
|
|
17
|
+
* Representation of parsed signature data
|
|
18
|
+
*
|
|
19
|
+
* Keys:
|
|
20
|
+
* (none)
|
|
21
|
+
*/
|
|
22
|
+
export interface SignatureUiNormalized {
|
|
23
|
+
/** List of Addresses associated with this email signature */
|
|
24
|
+
addresses: Array<PhysAddressUi_PhysAddressUi>;
|
|
25
|
+
/** The company name parsed from this email */
|
|
26
|
+
companyName: string;
|
|
27
|
+
/** The email address this signature data is associated with */
|
|
28
|
+
emailAddress: string;
|
|
29
|
+
/** Hash of the content of this signature api */
|
|
30
|
+
hash: string;
|
|
31
|
+
/** The parsed first name, initial, and last name */
|
|
32
|
+
name: NameUi_NameUi;
|
|
33
|
+
/** The list of parsed phone number information and associated metadata */
|
|
34
|
+
phones: Array<PhoneUi_PhoneUi>;
|
|
35
|
+
/** The time where this engagement was crawled */
|
|
36
|
+
receivedTime: string;
|
|
37
|
+
/** The SFDC Organization ID */
|
|
38
|
+
sfdcOrgId: string;
|
|
39
|
+
/** List of social media websites */
|
|
40
|
+
socialMediaUrls: Array<SocialMediaUi_SocialMediaUi>;
|
|
41
|
+
title: TitleUi_TitleUi;
|
|
42
|
+
/** List of URLs that were parsed from this signature */
|
|
43
|
+
webUrls: Array<string>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Representation of parsed signature data
|
|
47
|
+
*
|
|
48
|
+
* Keys:
|
|
49
|
+
* (none)
|
|
50
|
+
*/
|
|
51
|
+
export interface SignatureUi {
|
|
52
|
+
addresses: Array<PhysAddressUi_PhysAddressUi>;
|
|
53
|
+
companyName: string;
|
|
54
|
+
emailAddress: string;
|
|
55
|
+
hash: string;
|
|
56
|
+
name: NameUi_NameUi;
|
|
57
|
+
phones: Array<PhoneUi_PhoneUi>;
|
|
58
|
+
receivedTime: string;
|
|
59
|
+
sfdcOrgId: string;
|
|
60
|
+
socialMediaUrls: Array<SocialMediaUi_SocialMediaUi>;
|
|
61
|
+
title: TitleUi_TitleUi;
|
|
62
|
+
webUrls: Array<string>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "0860148a97511db7ae309e900d2666a0";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SocialMediaUi, existing: SocialMediaUiNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SocialMediaUiNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SocialMediaUiNormalized, incoming: SocialMediaUiNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: SocialMediaUi): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SocialMediaUi, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Representation of parsed signature data's social media listing
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SocialMediaUiNormalized {
|
|
18
|
+
/** The username or handle used to identify this user on this social media service */
|
|
19
|
+
handle: string;
|
|
20
|
+
/** The URL link parsed in this signature */
|
|
21
|
+
link: string;
|
|
22
|
+
/** The name of the social media service this handle is associated with */
|
|
23
|
+
service: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Representation of parsed signature data's social media listing
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface SocialMediaUi {
|
|
32
|
+
handle: string;
|
|
33
|
+
link: string;
|
|
34
|
+
service: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "2f6a127130a07d5c7cc7f62aacede3f1";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: TitleUi, existing: TitleUiNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TitleUiNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: TitleUiNormalized, incoming: TitleUiNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: TitleUi): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TitleUi, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Representation of parsed signature data's job title
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface TitleUiNormalized {
|
|
18
|
+
/** The general name of the job function without a level. */
|
|
19
|
+
function: string;
|
|
20
|
+
/** The level or rank (if present) of this job title. */
|
|
21
|
+
level: string;
|
|
22
|
+
/** The name or job title of this parsed Title information */
|
|
23
|
+
title: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Representation of parsed signature data's job title
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface TitleUi {
|
|
32
|
+
function: string;
|
|
33
|
+
level: string;
|
|
34
|
+
title: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectFreeze: {
|
|
3
|
+
<T extends Function>(f: T): T;
|
|
4
|
+
<T_1 extends {
|
|
5
|
+
[idx: string]: object | U | null | undefined;
|
|
6
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
7
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
8
|
+
}, ObjectKeys: {
|
|
9
|
+
(o: object): string[];
|
|
10
|
+
(o: {}): string[];
|
|
11
|
+
}, ObjectCreate: {
|
|
12
|
+
(o: object | null): any;
|
|
13
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
14
|
+
}, ObjectAssign: {
|
|
15
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
16
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
17
|
+
<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;
|
|
18
|
+
(target: object, ...sources: any[]): any;
|
|
19
|
+
};
|
|
20
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
21
|
+
export declare const JSONStringify: {
|
|
22
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
23
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
24
|
+
};
|
|
25
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
26
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
27
|
+
export type RecursivePartial<T> = null | {
|
|
28
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
29
|
+
};
|
|
30
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
31
|
+
export declare function equalsObject<U, V extends {
|
|
32
|
+
[key: string]: U;
|
|
33
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
34
|
+
export declare function deepFreeze(value: any): void;
|
|
35
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
36
|
+
__ref: string;
|
|
37
|
+
};
|
|
38
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
39
|
+
export {};
|