@salesforce/lds-adapters-marketing-prospect 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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/marketing-prospect.js +1027 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getConversionEntries.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/getPostConversionEntries.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/adapters/getProspectFieldMappings.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/saveProspectFieldMappings.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectProspectConversion.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectProspectFieldMapping.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectProspectConversion.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectProspectFieldMapping.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/ConversionEntriesRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/ConversionEntryRepresentation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/ConversionPostInputRepresentation.d.ts +86 -0
- package/dist/es/es2018/types/src/generated/types/FieldInfo.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/FieldMapping.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FieldMappingInput.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/InputObjectFieldMapping.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/OutputObjectFieldMapping.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/types/ProspectFieldMappingInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ProspectFieldMappingOutputGetRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/ProspectFieldMappingOutputPostRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +1096 -0
- package/src/raml/api.raml +309 -0
- package/src/raml/luvio.raml +62 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { FieldMapping as FieldMapping_FieldMapping } from './FieldMapping';
|
|
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, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "74451dc32cfc07ac4255a10dd2d06afc";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: InputObjectFieldMapping, existing: InputObjectFieldMappingNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InputObjectFieldMappingNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: InputObjectFieldMappingNormalized, incoming: InputObjectFieldMappingNormalized): 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: InputObjectFieldMapping, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Input representation for field mappings for a specific output object
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface InputObjectFieldMappingNormalized {
|
|
19
|
+
/** The list of mapped fields for this output object */
|
|
20
|
+
mappedFields?: Array<$64$luvio_engine_StoreLink>;
|
|
21
|
+
/** The output object name (e.g., Lead) */
|
|
22
|
+
outputObject?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Input representation for field mappings for a specific output object
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface InputObjectFieldMapping {
|
|
31
|
+
mappedFields?: Array<FieldMapping_FieldMapping>;
|
|
32
|
+
outputObject?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
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';
|
|
2
|
+
import { FieldMapping as FieldMapping_FieldMapping } from './FieldMapping';
|
|
3
|
+
import { FieldInfo as FieldInfo_FieldInfo } from './FieldInfo';
|
|
4
|
+
export declare const TTL = 1000;
|
|
5
|
+
export declare const VERSION = "3d54fd495685658a5474ae8c041c637c";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
9
|
+
outputObject: string;
|
|
10
|
+
}
|
|
11
|
+
export type OutputObjectFieldMappingNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export type PartialOutputObjectFieldMappingNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): OutputObjectFieldMappingNormalizedKeyMetadata;
|
|
15
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: OutputObjectFieldMapping): string;
|
|
16
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: OutputObjectFieldMapping): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function normalize(input: OutputObjectFieldMapping, existing: OutputObjectFieldMappingNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): OutputObjectFieldMappingNormalized;
|
|
18
|
+
export interface DynamicIngestParams {
|
|
19
|
+
mappedFields: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
unmappedInputObjectFields: $64$luvio_engine_ResourceIngest;
|
|
21
|
+
unmappedOutputObjectFields: $64$luvio_engine_ResourceIngest;
|
|
22
|
+
}
|
|
23
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: OutputObjectFieldMapping, existing: OutputObjectFieldMappingNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => OutputObjectFieldMappingNormalized;
|
|
24
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
25
|
+
export interface DynamicSelectParams {
|
|
26
|
+
mappedFields?: $64$luvio_engine_LinkSelection;
|
|
27
|
+
unmappedInputObjectFields?: $64$luvio_engine_LinkSelection;
|
|
28
|
+
unmappedOutputObjectFields?: $64$luvio_engine_LinkSelection;
|
|
29
|
+
}
|
|
30
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
31
|
+
export declare function equals(existing: OutputObjectFieldMappingNormalized, incoming: OutputObjectFieldMappingNormalized): boolean;
|
|
32
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
33
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: OutputObjectFieldMapping, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
34
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
35
|
+
/**
|
|
36
|
+
* Represents field mappings for a specific output object
|
|
37
|
+
*
|
|
38
|
+
* Keys:
|
|
39
|
+
* outputObject (string): outputObject
|
|
40
|
+
*/
|
|
41
|
+
export interface OutputObjectFieldMappingNormalized {
|
|
42
|
+
/** The list of mapped fields for this output object */
|
|
43
|
+
mappedFields: Array<$64$luvio_engine_StoreLink>;
|
|
44
|
+
/** The output object name (e.g., Lead) */
|
|
45
|
+
outputObject: string;
|
|
46
|
+
/** The list of unmapped input object fields for this output object */
|
|
47
|
+
unmappedInputObjectFields: Array<$64$luvio_engine_StoreLink>;
|
|
48
|
+
/** The list of unmapped fields for this output object */
|
|
49
|
+
unmappedOutputObjectFields: Array<$64$luvio_engine_StoreLink>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Represents field mappings for a specific output object
|
|
53
|
+
*
|
|
54
|
+
* Keys:
|
|
55
|
+
* outputObject (string): outputObject
|
|
56
|
+
*/
|
|
57
|
+
export interface OutputObjectFieldMapping {
|
|
58
|
+
mappedFields: Array<FieldMapping_FieldMapping>;
|
|
59
|
+
outputObject: string;
|
|
60
|
+
unmappedInputObjectFields: Array<FieldInfo_FieldInfo>;
|
|
61
|
+
unmappedOutputObjectFields: Array<FieldInfo_FieldInfo>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { InputObjectFieldMapping as InputObjectFieldMapping_InputObjectFieldMapping } from './InputObjectFieldMapping';
|
|
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, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "55599305d853148b270ce396b04a04fe";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: ProspectFieldMappingInputRepresentation, existing: ProspectFieldMappingInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProspectFieldMappingInputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: ProspectFieldMappingInputRepresentationNormalized, incoming: ProspectFieldMappingInputRepresentationNormalized): 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: ProspectFieldMappingInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Input Representation for saving Prospect Field Mappings
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ProspectFieldMappingInputRepresentationNormalized {
|
|
19
|
+
/** List of input object field mappings, each containing mappings for a specific output object */
|
|
20
|
+
inputObjectFieldMappings?: Array<$64$luvio_engine_StoreLink>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Input Representation for saving Prospect Field Mappings
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ProspectFieldMappingInputRepresentation {
|
|
29
|
+
inputObjectFieldMappings?: Array<InputObjectFieldMapping_InputObjectFieldMapping>;
|
|
30
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ProspectFieldMappingOutputGetRepresentation.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OutputObjectFieldMapping as OutputObjectFieldMapping_OutputObjectFieldMapping } from './OutputObjectFieldMapping';
|
|
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, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "67ce8674432bf552758d6c31fe7b1e2c";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: ProspectFieldMappingOutputGetRepresentation, existing: ProspectFieldMappingOutputGetRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProspectFieldMappingOutputGetRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: ProspectFieldMappingOutputGetRepresentationNormalized, incoming: ProspectFieldMappingOutputGetRepresentationNormalized): 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: ProspectFieldMappingOutputGetRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Represents the mappings and available fields for Prospect to Lead conversion (GET operation)
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ProspectFieldMappingOutputGetRepresentationNormalized {
|
|
19
|
+
/** API error code for detailed error categorization */
|
|
20
|
+
apiErrorCode: string;
|
|
21
|
+
/** API error message providing detailed error information */
|
|
22
|
+
apiErrorMsg: string;
|
|
23
|
+
/** HTTP status code indicating the response status: 200 (success), 204 (no content), 500 (error) */
|
|
24
|
+
httpStatusCode: string;
|
|
25
|
+
/** The list of output object field mappings with mapped and unmapped fields */
|
|
26
|
+
outputObjectFieldMappings: Array<$64$luvio_engine_StoreLink>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Represents the mappings and available fields for Prospect to Lead conversion (GET operation)
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface ProspectFieldMappingOutputGetRepresentation {
|
|
35
|
+
apiErrorCode: string;
|
|
36
|
+
apiErrorMsg: string;
|
|
37
|
+
httpStatusCode: string;
|
|
38
|
+
outputObjectFieldMappings: Array<OutputObjectFieldMapping_OutputObjectFieldMapping>;
|
|
39
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ProspectFieldMappingOutputPostRepresentation.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
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';
|
|
2
|
+
export declare const TTL = 500;
|
|
3
|
+
export declare const VERSION = "a6993f1f7ae745dc378e2bb9a1fc610b";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
httpStatusCode: string;
|
|
8
|
+
}
|
|
9
|
+
export type ProspectFieldMappingOutputPostRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialProspectFieldMappingOutputPostRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ProspectFieldMappingOutputPostRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ProspectFieldMappingOutputPostRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ProspectFieldMappingOutputPostRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: ProspectFieldMappingOutputPostRepresentation, existing: ProspectFieldMappingOutputPostRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProspectFieldMappingOutputPostRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: ProspectFieldMappingOutputPostRepresentationNormalized, incoming: ProspectFieldMappingOutputPostRepresentationNormalized): boolean;
|
|
18
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProspectFieldMappingOutputPostRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Represents the mappings and available fields for Prospect to Lead conversion (POST operation)
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* httpStatusCode (string): httpStatusCode
|
|
25
|
+
*/
|
|
26
|
+
export interface ProspectFieldMappingOutputPostRepresentationNormalized {
|
|
27
|
+
/** API error code for detailed error categorization */
|
|
28
|
+
apiErrorCode: string;
|
|
29
|
+
/** API error message providing detailed error information */
|
|
30
|
+
apiErrorMsg: string;
|
|
31
|
+
/** HTTP status code indicating the response status: 200 (success), 204 (no content), 500 (error) */
|
|
32
|
+
httpStatusCode: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Represents the mappings and available fields for Prospect to Lead conversion (POST operation)
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* httpStatusCode (string): httpStatusCode
|
|
39
|
+
*/
|
|
40
|
+
export interface ProspectFieldMappingOutputPostRepresentation {
|
|
41
|
+
apiErrorCode: string;
|
|
42
|
+
apiErrorMsg: string;
|
|
43
|
+
httpStatusCode: string;
|
|
44
|
+
}
|
|
@@ -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 {};
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-marketing-prospect",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"description": "Prospect Conversion to Leads",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/marketing-prospect.js",
|
|
7
|
+
"module": "dist/es/es2018/marketing-prospect.js",
|
|
8
|
+
"types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"sfdc",
|
|
12
|
+
"src/raml/*"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
17
|
+
"import": "./dist/es/es2018/marketing-prospect.js",
|
|
18
|
+
"require": "./dist/es/es2018/marketing-prospect.js"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"types": "./sfdc/index.d.ts",
|
|
22
|
+
"import": "./sfdc/index.js",
|
|
23
|
+
"default": "./sfdc/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"sfdc": {
|
|
27
|
+
"namespace": "lightning",
|
|
28
|
+
"module": "marketingProspectApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"sharma.namrata@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:services",
|
|
35
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
36
|
+
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
37
|
+
"clean": "rm -rf dist sfdc src/generated",
|
|
38
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-marketing-prospect",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-marketing-prospect",
|
|
40
|
+
"test:unit": "jest"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1"
|
|
47
|
+
},
|
|
48
|
+
"nx": {
|
|
49
|
+
"targets": {
|
|
50
|
+
"build": {
|
|
51
|
+
"outputs": [
|
|
52
|
+
"{projectRoot}/dist",
|
|
53
|
+
"{projectRoot}/sfdc"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"build:raml": {
|
|
57
|
+
"outputs": [
|
|
58
|
+
"{projectRoot}/src/generated"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"volta": {
|
|
64
|
+
"extends": "../../package.json"
|
|
65
|
+
}
|
|
66
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|