@salesforce/lds-adapters-industries-recordaggregation 1.344.0 → 1.346.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/industries-recordaggregation.js +324 -197
- package/dist/es/es2018/types/src/generated/adapters/performBulkRecordRollupSyncExecution.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postConnectRecordAggregationBulkRecordRollupSyncExecution.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/BulkRecordRollupSyncExecutionInputRepresentation.d.ts +7 -9
- package/dist/es/es2018/types/src/generated/types/RecordRollupResultLastUpdatedInfoOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RecordRollupResultOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/RecordRollupSyncExecutionInputRepresentation.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +293 -166
- package/src/raml/api.raml +31 -7
package/dist/es/es2018/types/src/generated/adapters/performBulkRecordRollupSyncExecution.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { RecordRollupSyncExecutionInputRepresentation as types_RecordRollupSyncExecutionInputRepresentation_RecordRollupSyncExecutionInputRepresentation } from '../types/RecordRollupSyncExecutionInputRepresentation';
|
|
3
4
|
import { ResourceRequestConfig as resources_postConnectRecordAggregationBulkRecordRollupSyncExecution_ResourceRequestConfig } from '../resources/postConnectRecordAggregationBulkRecordRollupSyncExecution';
|
|
4
5
|
import { BulkRecordRollupSyncExecutionOutputRepresentation as types_BulkRecordRollupSyncExecutionOutputRepresentation_BulkRecordRollupSyncExecutionOutputRepresentation } from '../types/BulkRecordRollupSyncExecutionOutputRepresentation';
|
|
5
6
|
export declare const adapterName = "performBulkRecordRollupSyncExecution";
|
|
6
7
|
export declare const performBulkRecordRollupSyncExecution_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
8
|
export declare const performBulkRecordRollupSyncExecution_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
9
|
export interface PerformBulkRecordRollupSyncExecutionConfig {
|
|
9
|
-
|
|
10
|
-
recordAggregationDefinitionIds: Array<string>;
|
|
10
|
+
definitions: Array<types_RecordRollupSyncExecutionInputRepresentation_RecordRollupSyncExecutionInputRepresentation>;
|
|
11
11
|
}
|
|
12
12
|
export declare const createResourceParams: (config: PerformBulkRecordRollupSyncExecutionConfig) => resources_postConnectRecordAggregationBulkRecordRollupSyncExecution_ResourceRequestConfig;
|
|
13
13
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PerformBulkRecordRollupSyncExecutionConfig>): adapter$45$utils_Untrusted<PerformBulkRecordRollupSyncExecutionConfig>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { RecordRollupSyncExecutionInputRepresentation as types_RecordRollupSyncExecutionInputRepresentation_RecordRollupSyncExecutionInputRepresentation } from '../types/RecordRollupSyncExecutionInputRepresentation';
|
|
1
2
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
3
|
import { BulkRecordRollupSyncExecutionOutputRepresentation as types_BulkRecordRollupSyncExecutionOutputRepresentation_BulkRecordRollupSyncExecutionOutputRepresentation } from '../types/BulkRecordRollupSyncExecutionOutputRepresentation';
|
|
3
4
|
export interface ResourceRequestConfig {
|
|
4
5
|
body: {
|
|
5
|
-
|
|
6
|
-
recordAggregationDefinitionIds: Array<string>;
|
|
6
|
+
definitions: Array<types_RecordRollupSyncExecutionInputRepresentation_RecordRollupSyncExecutionInputRepresentation>;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { RecordRollupSyncExecutionInputRepresentation as RecordRollupSyncExecutionInputRepresentation_RecordRollupSyncExecutionInputRepresentation } from './RecordRollupSyncExecutionInputRepresentation';
|
|
1
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "076badc979c05ec4bc7b0f7a2894873d";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
5
6
|
export declare function normalize(input: BulkRecordRollupSyncExecutionInputRepresentation, existing: BulkRecordRollupSyncExecutionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BulkRecordRollupSyncExecutionInputRepresentationNormalized;
|
|
@@ -8,24 +9,21 @@ export declare function equals(existing: BulkRecordRollupSyncExecutionInputRepre
|
|
|
8
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
10
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: BulkRecordRollupSyncExecutionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
11
|
/**
|
|
11
|
-
* Input representation of bulk record rollup sync execution
|
|
12
|
+
* Input representation of each part in the bulk record rollup sync execution request.
|
|
12
13
|
*
|
|
13
14
|
* Keys:
|
|
14
15
|
* (none)
|
|
15
16
|
*/
|
|
16
17
|
export interface BulkRecordRollupSyncExecutionInputRepresentationNormalized {
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/** List of unique record aggregation definition IDs for which rollup results must be refreshed. */
|
|
20
|
-
recordAggregationDefinitionIds: Array<string>;
|
|
18
|
+
/** List of definition details for which record rollup must be refreshed. */
|
|
19
|
+
definitions: Array<RecordRollupSyncExecutionInputRepresentation_RecordRollupSyncExecutionInputRepresentation>;
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
|
-
* Input representation of bulk record rollup sync execution
|
|
22
|
+
* Input representation of each part in the bulk record rollup sync execution request.
|
|
24
23
|
*
|
|
25
24
|
* Keys:
|
|
26
25
|
* (none)
|
|
27
26
|
*/
|
|
28
27
|
export interface BulkRecordRollupSyncExecutionInputRepresentation {
|
|
29
|
-
|
|
30
|
-
recordAggregationDefinitionIds: Array<string>;
|
|
28
|
+
definitions: Array<RecordRollupSyncExecutionInputRepresentation_RecordRollupSyncExecutionInputRepresentation>;
|
|
31
29
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "e036b26fdcac79c3bbd53942bbd5833c";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: RecordRollupResultLastUpdatedInfoOutputRepresentation, existing: RecordRollupResultLastUpdatedInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecordRollupResultLastUpdatedInfoOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: RecordRollupResultLastUpdatedInfoOutputRepresentationNormalized, incoming: RecordRollupResultLastUpdatedInfoOutputRepresentationNormalized): 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: RecordRollupResultLastUpdatedInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents the last updated information of the record rollup results.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface RecordRollupResultLastUpdatedInfoOutputRepresentationNormalized {
|
|
17
|
+
/** The epoch timestamp in milliseconds when the record rollup results were last updated for the specified definition and anchorRecordId. */
|
|
18
|
+
epochTime?: number;
|
|
19
|
+
/** The type of error associated with fetching the last updated info. */
|
|
20
|
+
errorType?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents the last updated information of the record rollup results.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface RecordRollupResultLastUpdatedInfoOutputRepresentation {
|
|
29
|
+
epochTime?: number;
|
|
30
|
+
errorType?: string;
|
|
31
|
+
}
|
package/dist/es/es2018/types/src/generated/types/RecordRollupResultOutputRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { RecordRollupResultColumnOutputRepresentation as RecordRollupResultColumnOutputRepresentation_RecordRollupResultColumnOutputRepresentation } from './RecordRollupResultColumnOutputRepresentation';
|
|
2
|
+
import { RecordRollupResultLastUpdatedInfoOutputRepresentation as RecordRollupResultLastUpdatedInfoOutputRepresentation_RecordRollupResultLastUpdatedInfoOutputRepresentation } from './RecordRollupResultLastUpdatedInfoOutputRepresentation';
|
|
2
3
|
import { RecordRollupResultRowOutputRepresentation as RecordRollupResultRowOutputRepresentation_RecordRollupResultRowOutputRepresentation } from './RecordRollupResultRowOutputRepresentation';
|
|
3
4
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "60d50a495e0c5d9bcb5c990fca7b9cd4";
|
|
5
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
7
|
export declare const RepresentationType: string;
|
|
7
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -31,6 +32,7 @@ export interface RecordRollupResultOutputRepresentationNormalized {
|
|
|
31
32
|
definitionDisplayName: string;
|
|
32
33
|
/** The epoch timestamp in milliseconds when the record rollup results were last updated for the specified definition and anchorRecordId. */
|
|
33
34
|
lastUpdatedEpochTime?: number;
|
|
35
|
+
lastUpdatedInfo?: RecordRollupResultLastUpdatedInfoOutputRepresentation_RecordRollupResultLastUpdatedInfoOutputRepresentation;
|
|
34
36
|
/** The message accompanying the HTTP response code. */
|
|
35
37
|
message: string;
|
|
36
38
|
/** List of rolled up records that are represented as rows of a table. */
|
|
@@ -50,6 +52,7 @@ export interface RecordRollupResultOutputRepresentation {
|
|
|
50
52
|
columns: Array<RecordRollupResultColumnOutputRepresentation_RecordRollupResultColumnOutputRepresentation>;
|
|
51
53
|
definitionDisplayName: string;
|
|
52
54
|
lastUpdatedEpochTime?: number;
|
|
55
|
+
lastUpdatedInfo?: RecordRollupResultLastUpdatedInfoOutputRepresentation_RecordRollupResultLastUpdatedInfoOutputRepresentation;
|
|
53
56
|
message: string;
|
|
54
57
|
rows: Array<RecordRollupResultRowOutputRepresentation_RecordRollupResultRowOutputRepresentation>;
|
|
55
58
|
statusCode: string;
|
package/dist/es/es2018/types/src/generated/types/RecordRollupSyncExecutionInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "3008e25ecca6bdd458e5542e844bc3b0";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: RecordRollupSyncExecutionInputRepresentation, existing: RecordRollupSyncExecutionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecordRollupSyncExecutionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: RecordRollupSyncExecutionInputRepresentationNormalized, incoming: RecordRollupSyncExecutionInputRepresentationNormalized): 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: RecordRollupSyncExecutionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation of record rollup sync execution request in bulk record rollup sync execution request
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface RecordRollupSyncExecutionInputRepresentationNormalized {
|
|
17
|
+
/** ID of the record to which the aggregated records are rolled up. */
|
|
18
|
+
anchorRecordId: string;
|
|
19
|
+
/** The record aggregation definition ID for which rollup results must be refreshed. */
|
|
20
|
+
id: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Input representation of record rollup sync execution request in bulk record rollup sync execution request
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface RecordRollupSyncExecutionInputRepresentation {
|
|
29
|
+
anchorRecordId: string;
|
|
30
|
+
id: string;
|
|
31
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-recordaggregation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.346.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/industries-recordaggregation.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.346.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.346.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|