@salesforce/lds-adapters-industries-energy-utilities 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/industries-energy-utilities.js +475 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getProgramApplications.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectEuProgramApplications.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/types/IndividualApplicationObjectOutputRepresentation.d.ts +92 -0
- package/dist/es/es2018/types/src/generated/types/IndividualApplicationStatusOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeListInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ProgramIndividualApplicationOutputRepresentation.d.ts +37 -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 +510 -0
- package/src/raml/api.raml +199 -0
- package/src/raml/luvio.raml +26 -0
|
@@ -0,0 +1,24 @@
|
|
|
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 { ProgramIndividualApplicationOutputRepresentation as types_ProgramIndividualApplicationOutputRepresentation_ProgramIndividualApplicationOutputRepresentation } from '../types/ProgramIndividualApplicationOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
accountId?: string;
|
|
6
|
+
enrolleeType?: string;
|
|
7
|
+
locationId?: string;
|
|
8
|
+
offset?: number;
|
|
9
|
+
pageSize?: number;
|
|
10
|
+
programId?: string;
|
|
11
|
+
shouldAggregateByStatus?: boolean;
|
|
12
|
+
sortBy?: string;
|
|
13
|
+
sortOrder?: string;
|
|
14
|
+
status?: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
19
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
20
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProgramIndividualApplicationOutputRepresentation_ProgramIndividualApplicationOutputRepresentation): void;
|
|
21
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProgramIndividualApplicationOutputRepresentation_ProgramIndividualApplicationOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProgramIndividualApplicationOutputRepresentation_ProgramIndividualApplicationOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProgramIndividualApplicationOutputRepresentation_ProgramIndividualApplicationOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProgramIndividualApplicationOutputRepresentation_ProgramIndividualApplicationOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProgramIndividualApplicationOutputRepresentation_ProgramIndividualApplicationOutputRepresentation, any>;
|
|
22
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProgramIndividualApplicationOutputRepresentation_ProgramIndividualApplicationOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
23
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
24
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,92 @@
|
|
|
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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 10000;
|
|
3
|
+
export declare const VERSION = "24f294d5fb84e0d70d79a993a3a2bda8";
|
|
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
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export type IndividualApplicationObjectOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialIndividualApplicationObjectOutputRepresentationNormalizedKeyMetadata = 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): IndividualApplicationObjectOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: IndividualApplicationObjectOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: IndividualApplicationObjectOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: IndividualApplicationObjectOutputRepresentation, existing: IndividualApplicationObjectOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IndividualApplicationObjectOutputRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
17
|
+
export declare function equals(existing: IndividualApplicationObjectOutputRepresentationNormalized, incoming: IndividualApplicationObjectOutputRepresentationNormalized): 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: IndividualApplicationObjectOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Output Representation of Individual Application Object
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* id (string): id
|
|
25
|
+
*/
|
|
26
|
+
export interface IndividualApplicationObjectOutputRepresentationNormalized {
|
|
27
|
+
/** The account Id of Individual Application. */
|
|
28
|
+
accountId?: string;
|
|
29
|
+
/** The account Name of Individual Application. */
|
|
30
|
+
accountName?: string;
|
|
31
|
+
/** The name of the application. */
|
|
32
|
+
applicationName?: string;
|
|
33
|
+
/** The type of application. */
|
|
34
|
+
applicationType?: string;
|
|
35
|
+
/** The applied date of application. */
|
|
36
|
+
appliedDate?: string;
|
|
37
|
+
/** The approved date of application. */
|
|
38
|
+
approvedDate?: string;
|
|
39
|
+
/** The category of application. */
|
|
40
|
+
category?: string;
|
|
41
|
+
/** The description of Individual Application. */
|
|
42
|
+
description?: string;
|
|
43
|
+
/** The external project associated with the application. */
|
|
44
|
+
externalProject?: string;
|
|
45
|
+
/** The unique Id for Individual Application. */
|
|
46
|
+
id: string;
|
|
47
|
+
/** Indicates whether the application was submitted by a third party */
|
|
48
|
+
isSubmittedByThirdParty?: boolean;
|
|
49
|
+
/** The location for which the application has been applied. */
|
|
50
|
+
locationId?: string;
|
|
51
|
+
/** The parent application associated with the application. */
|
|
52
|
+
parentApplicationId?: string;
|
|
53
|
+
/** The program of the applied application. */
|
|
54
|
+
programId?: string;
|
|
55
|
+
/** The reason the application was rejected. */
|
|
56
|
+
rejectionReason?: string;
|
|
57
|
+
/** The status of application. */
|
|
58
|
+
status?: string;
|
|
59
|
+
/** The account ID of the user who submitted the application. */
|
|
60
|
+
submittedByAccountId?: string;
|
|
61
|
+
/** The contact Id of the user who submitted the application. */
|
|
62
|
+
submittedByContactId?: string;
|
|
63
|
+
/** Indicates whether the application was returned. */
|
|
64
|
+
wasReturned?: boolean;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Output Representation of Individual Application Object
|
|
68
|
+
*
|
|
69
|
+
* Keys:
|
|
70
|
+
* id (string): id
|
|
71
|
+
*/
|
|
72
|
+
export interface IndividualApplicationObjectOutputRepresentation {
|
|
73
|
+
accountId?: string;
|
|
74
|
+
accountName?: string;
|
|
75
|
+
applicationName?: string;
|
|
76
|
+
applicationType?: string;
|
|
77
|
+
appliedDate?: string;
|
|
78
|
+
approvedDate?: string;
|
|
79
|
+
category?: string;
|
|
80
|
+
description?: string;
|
|
81
|
+
externalProject?: string;
|
|
82
|
+
id: string;
|
|
83
|
+
isSubmittedByThirdParty?: boolean;
|
|
84
|
+
locationId?: string;
|
|
85
|
+
parentApplicationId?: string;
|
|
86
|
+
programId?: string;
|
|
87
|
+
rejectionReason?: string;
|
|
88
|
+
status?: string;
|
|
89
|
+
submittedByAccountId?: string;
|
|
90
|
+
submittedByContactId?: string;
|
|
91
|
+
wasReturned?: boolean;
|
|
92
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
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';
|
|
2
|
+
export declare const TTL = 10000;
|
|
3
|
+
export declare const VERSION = "228865d2564191c2d7c67fa1b2889399";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: IndividualApplicationStatusOutputRepresentation, existing: IndividualApplicationStatusOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IndividualApplicationStatusOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: IndividualApplicationStatusOutputRepresentationNormalized, incoming: IndividualApplicationStatusOutputRepresentationNormalized): 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: IndividualApplicationStatusOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Output Representation of Aggregated Status Object
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface IndividualApplicationStatusOutputRepresentationNormalized {
|
|
18
|
+
/** The name of the status of Individual Applications. */
|
|
19
|
+
status: string;
|
|
20
|
+
/** The number of applications for a status. */
|
|
21
|
+
value: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Output Representation of Aggregated Status Object
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface IndividualApplicationStatusOutputRepresentation {
|
|
30
|
+
status: string;
|
|
31
|
+
value: number;
|
|
32
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "67a891bf6f0c74ba738fbbed08b93565";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ProductAttributeInputRepresentation, existing: ProductAttributeInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductAttributeInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ProductAttributeInputRepresentationNormalized, incoming: ProductAttributeInputRepresentationNormalized): 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: ProductAttributeInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation of the product attribute
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ProductAttributeInputRepresentationNormalized {
|
|
17
|
+
/** Attribute Definition record Id */
|
|
18
|
+
attributeDefinitionId: string;
|
|
19
|
+
/** Attribute Picklist value Id */
|
|
20
|
+
attributePicklistValueId: string;
|
|
21
|
+
/** Valid value of the Attribute */
|
|
22
|
+
attributeValue: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Input representation of the product attribute
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface ProductAttributeInputRepresentation {
|
|
31
|
+
attributeDefinitionId: string;
|
|
32
|
+
attributePicklistValueId: string;
|
|
33
|
+
attributeValue: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "a64854a2309faa9d58e53303bb0653f3";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ProductAttributeListInputRepresentation, existing: ProductAttributeListInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductAttributeListInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ProductAttributeListInputRepresentationNormalized, incoming: ProductAttributeListInputRepresentationNormalized): 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: ProductAttributeListInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation of the list of attribute associated with the Product
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ProductAttributeListInputRepresentationNormalized {
|
|
17
|
+
/** Sets the ProductAttributeInputRepresentation records */
|
|
18
|
+
records: Array<{}>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Input representation of the list of attribute associated with the Product
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface ProductAttributeListInputRepresentation {
|
|
27
|
+
records: Array<{}>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IndividualApplicationStatusOutputRepresentation as IndividualApplicationStatusOutputRepresentation_IndividualApplicationStatusOutputRepresentation } from './IndividualApplicationStatusOutputRepresentation';
|
|
2
|
+
import { IndividualApplicationObjectOutputRepresentation as IndividualApplicationObjectOutputRepresentation_IndividualApplicationObjectOutputRepresentation } from './IndividualApplicationObjectOutputRepresentation';
|
|
3
|
+
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';
|
|
4
|
+
export declare const TTL = 10000;
|
|
5
|
+
export declare const VERSION = "ec383a973177c0746f1280ceece96bf7";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export declare function normalize(input: ProgramIndividualApplicationOutputRepresentation, existing: ProgramIndividualApplicationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProgramIndividualApplicationOutputRepresentationNormalized;
|
|
9
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
10
|
+
export declare function equals(existing: ProgramIndividualApplicationOutputRepresentationNormalized, incoming: ProgramIndividualApplicationOutputRepresentationNormalized): boolean;
|
|
11
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProgramIndividualApplicationOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
13
|
+
/**
|
|
14
|
+
* Output Representation of applications
|
|
15
|
+
*
|
|
16
|
+
* Keys:
|
|
17
|
+
* (none)
|
|
18
|
+
*/
|
|
19
|
+
export interface ProgramIndividualApplicationOutputRepresentationNormalized {
|
|
20
|
+
/** The number of applications in each status. */
|
|
21
|
+
aggregateByStatus?: Array<$64$luvio_engine_StoreLink>;
|
|
22
|
+
/** The applications for a program/account */
|
|
23
|
+
applications: Array<$64$luvio_engine_StoreLink>;
|
|
24
|
+
/** The total number of applications. */
|
|
25
|
+
totalCount: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Output Representation of applications
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface ProgramIndividualApplicationOutputRepresentation {
|
|
34
|
+
aggregateByStatus?: Array<IndividualApplicationStatusOutputRepresentation_IndividualApplicationStatusOutputRepresentation>;
|
|
35
|
+
applications: Array<IndividualApplicationObjectOutputRepresentation_IndividualApplicationObjectOutputRepresentation>;
|
|
36
|
+
totalCount: number;
|
|
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 {};
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-industries-energy-utilities",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"description": "Energy & Utilities Cloud LDS Adapters",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/industries-energy-utilities.js",
|
|
7
|
+
"module": "dist/es/es2018/industries-energy-utilities.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/industries-energy-utilities.js",
|
|
18
|
+
"require": "./dist/es/es2018/industries-energy-utilities.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": "industriesEnergyUtilitiesApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"a.yadav@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-industries-energy-utilities",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-industries-energy-utilities",
|
|
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';
|