@salesforce/lds-adapters-industries-recordaggregation 1.333.0 → 1.335.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 +49 -10
- package/dist/es/es2018/types/src/generated/adapters/patchRecordAggregationDefinition.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectRecordAggregationByRecordAggregationDefinitionId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/RADOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/RecordAggregationDefinitionPartialUpdateInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/RecordRollupResultOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +50 -11
- package/src/raml/api.raml +15 -1
|
@@ -378,7 +378,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
|
|
|
378
378
|
function createResourceRequest$7(config) {
|
|
379
379
|
const headers = {};
|
|
380
380
|
return {
|
|
381
|
-
baseUri: '/services/data/
|
|
381
|
+
baseUri: '/services/data/v64.0',
|
|
382
382
|
basePath: '/connect/record-aggregation',
|
|
383
383
|
method: 'post',
|
|
384
384
|
body: config.body,
|
|
@@ -648,7 +648,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
648
648
|
function createResourceRequest$6(config) {
|
|
649
649
|
const headers = {};
|
|
650
650
|
return {
|
|
651
|
-
baseUri: '/services/data/
|
|
651
|
+
baseUri: '/services/data/v64.0',
|
|
652
652
|
basePath: '/connect/record-aggregation/utilities/applicable-objects',
|
|
653
653
|
method: 'get',
|
|
654
654
|
body: null,
|
|
@@ -1016,7 +1016,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
1016
1016
|
function createResourceRequest$5(config) {
|
|
1017
1017
|
const headers = {};
|
|
1018
1018
|
return {
|
|
1019
|
-
baseUri: '/services/data/
|
|
1019
|
+
baseUri: '/services/data/v64.0',
|
|
1020
1020
|
basePath: '/connect/record-aggregation/utilities/applicable-objects/' + config.urlParams.objectName + '/applicable-fields',
|
|
1021
1021
|
method: 'get',
|
|
1022
1022
|
body: null,
|
|
@@ -1606,7 +1606,7 @@ function equals$6(existing, incoming) {
|
|
|
1606
1606
|
return true;
|
|
1607
1607
|
}
|
|
1608
1608
|
|
|
1609
|
-
const VERSION$5 = "
|
|
1609
|
+
const VERSION$5 = "5e8dedbd6439b248770b8c6a877fa0f5";
|
|
1610
1610
|
function validate$5(obj, path = 'RADOutputRepresentation') {
|
|
1611
1611
|
const v_error = (() => {
|
|
1612
1612
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1637,6 +1637,11 @@ function validate$5(obj, path = 'RADOutputRepresentation') {
|
|
|
1637
1637
|
if (typeof obj_canEditDefinition !== 'boolean') {
|
|
1638
1638
|
return new TypeError('Expected "boolean" but received "' + typeof obj_canEditDefinition + '" (at "' + path_canEditDefinition + '")');
|
|
1639
1639
|
}
|
|
1640
|
+
const obj_canManageOnDemand = obj.canManageOnDemand;
|
|
1641
|
+
const path_canManageOnDemand = path + '.canManageOnDemand';
|
|
1642
|
+
if (typeof obj_canManageOnDemand !== 'boolean') {
|
|
1643
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_canManageOnDemand + '" (at "' + path_canManageOnDemand + '")');
|
|
1644
|
+
}
|
|
1640
1645
|
if (obj.description !== undefined) {
|
|
1641
1646
|
const obj_description = obj.description;
|
|
1642
1647
|
const path_description = path + '.description';
|
|
@@ -1649,6 +1654,11 @@ function validate$5(obj, path = 'RADOutputRepresentation') {
|
|
|
1649
1654
|
if (typeof obj_displayName !== 'string') {
|
|
1650
1655
|
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
1651
1656
|
}
|
|
1657
|
+
const obj_isOnDemandEnabled = obj.isOnDemandEnabled;
|
|
1658
|
+
const path_isOnDemandEnabled = path + '.isOnDemandEnabled';
|
|
1659
|
+
if (typeof obj_isOnDemandEnabled !== 'boolean') {
|
|
1660
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOnDemandEnabled + '" (at "' + path_isOnDemandEnabled + '")');
|
|
1661
|
+
}
|
|
1652
1662
|
const obj_message = obj.message;
|
|
1653
1663
|
const path_message = path + '.message';
|
|
1654
1664
|
if (typeof obj_message !== 'string') {
|
|
@@ -1706,6 +1716,10 @@ const select$9 = function RADOutputRepresentationSelect() {
|
|
|
1706
1716
|
name: 'canEditDefinition',
|
|
1707
1717
|
kind: 'Scalar'
|
|
1708
1718
|
},
|
|
1719
|
+
{
|
|
1720
|
+
name: 'canManageOnDemand',
|
|
1721
|
+
kind: 'Scalar'
|
|
1722
|
+
},
|
|
1709
1723
|
{
|
|
1710
1724
|
name: 'description',
|
|
1711
1725
|
kind: 'Scalar',
|
|
@@ -1715,6 +1729,10 @@ const select$9 = function RADOutputRepresentationSelect() {
|
|
|
1715
1729
|
name: 'displayName',
|
|
1716
1730
|
kind: 'Scalar'
|
|
1717
1731
|
},
|
|
1732
|
+
{
|
|
1733
|
+
name: 'isOnDemandEnabled',
|
|
1734
|
+
kind: 'Scalar'
|
|
1735
|
+
},
|
|
1718
1736
|
{
|
|
1719
1737
|
name: 'message',
|
|
1720
1738
|
kind: 'Scalar'
|
|
@@ -1745,6 +1763,16 @@ function equals$5(existing, incoming) {
|
|
|
1745
1763
|
if (!(existing_canEditDefinition === incoming_canEditDefinition)) {
|
|
1746
1764
|
return false;
|
|
1747
1765
|
}
|
|
1766
|
+
const existing_canManageOnDemand = existing.canManageOnDemand;
|
|
1767
|
+
const incoming_canManageOnDemand = incoming.canManageOnDemand;
|
|
1768
|
+
if (!(existing_canManageOnDemand === incoming_canManageOnDemand)) {
|
|
1769
|
+
return false;
|
|
1770
|
+
}
|
|
1771
|
+
const existing_isOnDemandEnabled = existing.isOnDemandEnabled;
|
|
1772
|
+
const incoming_isOnDemandEnabled = incoming.isOnDemandEnabled;
|
|
1773
|
+
if (!(existing_isOnDemandEnabled === incoming_isOnDemandEnabled)) {
|
|
1774
|
+
return false;
|
|
1775
|
+
}
|
|
1748
1776
|
const existing_description = existing.description;
|
|
1749
1777
|
const incoming_description = incoming.description;
|
|
1750
1778
|
// if at least one of these optionals is defined
|
|
@@ -1854,7 +1882,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
1854
1882
|
function createResourceRequest$4(config) {
|
|
1855
1883
|
const headers = {};
|
|
1856
1884
|
return {
|
|
1857
|
-
baseUri: '/services/data/
|
|
1885
|
+
baseUri: '/services/data/v64.0',
|
|
1858
1886
|
basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
|
|
1859
1887
|
method: 'get',
|
|
1860
1888
|
body: null,
|
|
@@ -2061,7 +2089,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
2061
2089
|
function createResourceRequest$3(config) {
|
|
2062
2090
|
const headers = {};
|
|
2063
2091
|
return {
|
|
2064
|
-
baseUri: '/services/data/
|
|
2092
|
+
baseUri: '/services/data/v64.0',
|
|
2065
2093
|
basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
|
|
2066
2094
|
method: 'patch',
|
|
2067
2095
|
body: config.body,
|
|
@@ -2078,6 +2106,7 @@ const patchRecordAggregationDefinition_ConfigPropertyMetadata = [
|
|
|
2078
2106
|
generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
|
|
2079
2107
|
generateParamConfigMetadata('definitionDisplayName', false, 2 /* Body */, 0 /* String */),
|
|
2080
2108
|
generateParamConfigMetadata('definitionDescription', false, 2 /* Body */, 0 /* String */),
|
|
2109
|
+
generateParamConfigMetadata('enableOnDemand', false, 2 /* Body */, 1 /* Boolean */),
|
|
2081
2110
|
];
|
|
2082
2111
|
const patchRecordAggregationDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, patchRecordAggregationDefinition_ConfigPropertyMetadata);
|
|
2083
2112
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$8(patchRecordAggregationDefinition_ConfigPropertyMetadata);
|
|
@@ -2238,7 +2267,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
2238
2267
|
function createResourceRequest$2(config) {
|
|
2239
2268
|
const headers = {};
|
|
2240
2269
|
return {
|
|
2241
|
-
baseUri: '/services/data/
|
|
2270
|
+
baseUri: '/services/data/v64.0',
|
|
2242
2271
|
basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
|
|
2243
2272
|
method: 'put',
|
|
2244
2273
|
body: config.body,
|
|
@@ -2338,7 +2367,7 @@ function evictSuccess(luvio, resourceParams) {
|
|
|
2338
2367
|
function createResourceRequest$1(config) {
|
|
2339
2368
|
const headers = {};
|
|
2340
2369
|
return {
|
|
2341
|
-
baseUri: '/services/data/
|
|
2370
|
+
baseUri: '/services/data/v64.0',
|
|
2342
2371
|
basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
|
|
2343
2372
|
method: 'delete',
|
|
2344
2373
|
body: null,
|
|
@@ -2587,7 +2616,7 @@ function equals$1(existing, incoming) {
|
|
|
2587
2616
|
return true;
|
|
2588
2617
|
}
|
|
2589
2618
|
|
|
2590
|
-
const VERSION = "
|
|
2619
|
+
const VERSION = "1391e902871d141b8d2cce016687b3e7";
|
|
2591
2620
|
function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
|
|
2592
2621
|
const v_error = (() => {
|
|
2593
2622
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2613,6 +2642,7 @@ function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
|
|
|
2613
2642
|
if (typeof obj_definitionDisplayName !== 'string') {
|
|
2614
2643
|
return new TypeError('Expected "string" but received "' + typeof obj_definitionDisplayName + '" (at "' + path_definitionDisplayName + '")');
|
|
2615
2644
|
}
|
|
2645
|
+
obj.lastComputed;
|
|
2616
2646
|
const obj_message = obj.message;
|
|
2617
2647
|
const path_message = path + '.message';
|
|
2618
2648
|
if (typeof obj_message !== 'string') {
|
|
@@ -2677,6 +2707,10 @@ const select$1 = function RecordRollupResultOutputRepresentationSelect() {
|
|
|
2677
2707
|
name: 'definitionDisplayName',
|
|
2678
2708
|
kind: 'Scalar'
|
|
2679
2709
|
},
|
|
2710
|
+
{
|
|
2711
|
+
name: 'lastComputed',
|
|
2712
|
+
kind: 'Scalar'
|
|
2713
|
+
},
|
|
2680
2714
|
{
|
|
2681
2715
|
name: 'message',
|
|
2682
2716
|
kind: 'Scalar'
|
|
@@ -2719,6 +2753,11 @@ function equals(existing, incoming) {
|
|
|
2719
2753
|
if (!(existing_statusCode === incoming_statusCode)) {
|
|
2720
2754
|
return false;
|
|
2721
2755
|
}
|
|
2756
|
+
const existing_lastComputed = existing.lastComputed;
|
|
2757
|
+
const incoming_lastComputed = incoming.lastComputed;
|
|
2758
|
+
if (!(existing_lastComputed === incoming_lastComputed)) {
|
|
2759
|
+
return false;
|
|
2760
|
+
}
|
|
2722
2761
|
const existing_columns = existing.columns;
|
|
2723
2762
|
const incoming_columns = incoming.columns;
|
|
2724
2763
|
const equals_columns_items = equalsArray(existing_columns, incoming_columns, (existing_columns_item, incoming_columns_item) => {
|
|
@@ -2789,7 +2828,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
2789
2828
|
function createResourceRequest(config) {
|
|
2790
2829
|
const headers = {};
|
|
2791
2830
|
return {
|
|
2792
|
-
baseUri: '/services/data/
|
|
2831
|
+
baseUri: '/services/data/v64.0',
|
|
2793
2832
|
basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '/record-rollup-results',
|
|
2794
2833
|
method: 'post',
|
|
2795
2834
|
body: config.body,
|
|
@@ -10,6 +10,7 @@ export interface PatchRecordAggregationDefinitionConfig {
|
|
|
10
10
|
status?: string;
|
|
11
11
|
definitionDisplayName?: string;
|
|
12
12
|
definitionDescription?: string;
|
|
13
|
+
enableOnDemand?: boolean;
|
|
13
14
|
}
|
|
14
15
|
export declare const createResourceParams: (config: PatchRecordAggregationDefinitionConfig) => resources_patchConnectRecordAggregationByRecordAggregationDefinitionId_ResourceRequestConfig;
|
|
15
16
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PatchRecordAggregationDefinitionConfig>): adapter$45$utils_Untrusted<PatchRecordAggregationDefinitionConfig>;
|
|
@@ -8,6 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
status?: string;
|
|
9
9
|
definitionDisplayName?: string;
|
|
10
10
|
definitionDescription?: string;
|
|
11
|
+
enableOnDemand?: boolean;
|
|
11
12
|
};
|
|
12
13
|
}
|
|
13
14
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RADNodeOutputRepresentation as RADNodeOutputRepresentation_RADNodeOutputRepresentation } from './RADNodeOutputRepresentation';
|
|
2
2
|
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';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "5e8dedbd6439b248770b8c6a877fa0f5";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -30,10 +30,14 @@ export interface RADOutputRepresentationNormalized {
|
|
|
30
30
|
canDeleteDefinition: boolean;
|
|
31
31
|
/** Indicates whether the record aggregation definition can be edited (true) or not (false). */
|
|
32
32
|
canEditDefinition: boolean;
|
|
33
|
+
/** Indicates whether on demand capability can be managed for this definition (true) or not (false). */
|
|
34
|
+
canManageOnDemand: boolean;
|
|
33
35
|
/** Description of the record aggregation definition. */
|
|
34
36
|
description?: string;
|
|
35
37
|
/** Display name of the record aggregation definition. */
|
|
36
38
|
displayName: string;
|
|
39
|
+
/** Indicates whether on demand capability has been enabled for this definition (true) or not (false). */
|
|
40
|
+
isOnDemandEnabled: boolean;
|
|
37
41
|
/** The message returned in the response. */
|
|
38
42
|
message: string;
|
|
39
43
|
/** The Id of the definition. */
|
|
@@ -53,8 +57,10 @@ export interface RADOutputRepresentation {
|
|
|
53
57
|
aggregationObjects: Array<RADNodeOutputRepresentation_RADNodeOutputRepresentation>;
|
|
54
58
|
canDeleteDefinition: boolean;
|
|
55
59
|
canEditDefinition: boolean;
|
|
60
|
+
canManageOnDemand: boolean;
|
|
56
61
|
description?: string;
|
|
57
62
|
displayName: string;
|
|
63
|
+
isOnDemandEnabled: boolean;
|
|
58
64
|
message: string;
|
|
59
65
|
recordAggregationDefinitionId: string;
|
|
60
66
|
status: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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 = "
|
|
2
|
+
export declare const VERSION = "67f17d04a8f688f5d7b59574b56b43ed";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: RecordAggregationDefinitionPartialUpdateInputRepresentation, existing: RecordAggregationDefinitionPartialUpdateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecordAggregationDefinitionPartialUpdateInputRepresentationNormalized;
|
|
@@ -18,6 +18,8 @@ export interface RecordAggregationDefinitionPartialUpdateInputRepresentationNorm
|
|
|
18
18
|
definitionDescription?: string;
|
|
19
19
|
/** The display name of the record aggregation definition. */
|
|
20
20
|
definitionDisplayName?: string;
|
|
21
|
+
/** Whether on demand should be enabled (true) for this definition, or not (false). */
|
|
22
|
+
enableOnDemand?: boolean;
|
|
21
23
|
/** Status of record aggregation definition. */
|
|
22
24
|
status?: string;
|
|
23
25
|
}
|
|
@@ -30,5 +32,6 @@ export interface RecordAggregationDefinitionPartialUpdateInputRepresentationNorm
|
|
|
30
32
|
export interface RecordAggregationDefinitionPartialUpdateInputRepresentation {
|
|
31
33
|
definitionDescription?: string;
|
|
32
34
|
definitionDisplayName?: string;
|
|
35
|
+
enableOnDemand?: boolean;
|
|
33
36
|
status?: string;
|
|
34
37
|
}
|
package/dist/es/es2018/types/src/generated/types/RecordRollupResultOutputRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RecordRollupResultColumnOutputRepresentation as RecordRollupResultColumnOutputRepresentation_RecordRollupResultColumnOutputRepresentation } from './RecordRollupResultColumnOutputRepresentation';
|
|
2
2
|
import { RecordRollupResultRowOutputRepresentation as RecordRollupResultRowOutputRepresentation_RecordRollupResultRowOutputRepresentation } from './RecordRollupResultRowOutputRepresentation';
|
|
3
3
|
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 = "
|
|
4
|
+
export declare const VERSION = "1391e902871d141b8d2cce016687b3e7";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -29,6 +29,8 @@ export interface RecordRollupResultOutputRepresentationNormalized {
|
|
|
29
29
|
columns: Array<RecordRollupResultColumnOutputRepresentation_RecordRollupResultColumnOutputRepresentation>;
|
|
30
30
|
/** The display name of the record aggregation definition. */
|
|
31
31
|
definitionDisplayName: string;
|
|
32
|
+
/** The time represented by epoch milliseconds when the record rollup results was last computed for the given definition and anchorRecordId. */
|
|
33
|
+
lastComputed: number;
|
|
32
34
|
/** The message accompanying the HTTP response code. */
|
|
33
35
|
message: string;
|
|
34
36
|
/** List of rolled up records that are represented as rows of a table. */
|
|
@@ -47,6 +49,7 @@ export interface RecordRollupResultOutputRepresentationNormalized {
|
|
|
47
49
|
export interface RecordRollupResultOutputRepresentation {
|
|
48
50
|
columns: Array<RecordRollupResultColumnOutputRepresentation_RecordRollupResultColumnOutputRepresentation>;
|
|
49
51
|
definitionDisplayName: string;
|
|
52
|
+
lastComputed: number;
|
|
50
53
|
message: string;
|
|
51
54
|
rows: Array<RecordRollupResultRowOutputRepresentation_RecordRollupResultRowOutputRepresentation>;
|
|
52
55
|
statusCode: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-recordaggregation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.335.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.335.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.335.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -615,7 +615,7 @@ function equals$b(existing, incoming) {
|
|
|
615
615
|
return true;
|
|
616
616
|
}
|
|
617
617
|
|
|
618
|
-
const VERSION$a = "
|
|
618
|
+
const VERSION$a = "5e8dedbd6439b248770b8c6a877fa0f5";
|
|
619
619
|
function validate$f(obj, path = 'RADOutputRepresentation') {
|
|
620
620
|
const v_error = (() => {
|
|
621
621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -646,6 +646,11 @@ function validate$f(obj, path = 'RADOutputRepresentation') {
|
|
|
646
646
|
if (typeof obj_canEditDefinition !== 'boolean') {
|
|
647
647
|
return new TypeError('Expected "boolean" but received "' + typeof obj_canEditDefinition + '" (at "' + path_canEditDefinition + '")');
|
|
648
648
|
}
|
|
649
|
+
const obj_canManageOnDemand = obj.canManageOnDemand;
|
|
650
|
+
const path_canManageOnDemand = path + '.canManageOnDemand';
|
|
651
|
+
if (typeof obj_canManageOnDemand !== 'boolean') {
|
|
652
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_canManageOnDemand + '" (at "' + path_canManageOnDemand + '")');
|
|
653
|
+
}
|
|
649
654
|
if (obj.description !== undefined) {
|
|
650
655
|
const obj_description = obj.description;
|
|
651
656
|
const path_description = path + '.description';
|
|
@@ -658,6 +663,11 @@ function validate$f(obj, path = 'RADOutputRepresentation') {
|
|
|
658
663
|
if (typeof obj_displayName !== 'string') {
|
|
659
664
|
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
660
665
|
}
|
|
666
|
+
const obj_isOnDemandEnabled = obj.isOnDemandEnabled;
|
|
667
|
+
const path_isOnDemandEnabled = path + '.isOnDemandEnabled';
|
|
668
|
+
if (typeof obj_isOnDemandEnabled !== 'boolean') {
|
|
669
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isOnDemandEnabled + '" (at "' + path_isOnDemandEnabled + '")');
|
|
670
|
+
}
|
|
661
671
|
const obj_message = obj.message;
|
|
662
672
|
const path_message = path + '.message';
|
|
663
673
|
if (typeof obj_message !== 'string') {
|
|
@@ -715,6 +725,10 @@ const select$h = function RADOutputRepresentationSelect() {
|
|
|
715
725
|
name: 'canEditDefinition',
|
|
716
726
|
kind: 'Scalar'
|
|
717
727
|
},
|
|
728
|
+
{
|
|
729
|
+
name: 'canManageOnDemand',
|
|
730
|
+
kind: 'Scalar'
|
|
731
|
+
},
|
|
718
732
|
{
|
|
719
733
|
name: 'description',
|
|
720
734
|
kind: 'Scalar',
|
|
@@ -724,6 +738,10 @@ const select$h = function RADOutputRepresentationSelect() {
|
|
|
724
738
|
name: 'displayName',
|
|
725
739
|
kind: 'Scalar'
|
|
726
740
|
},
|
|
741
|
+
{
|
|
742
|
+
name: 'isOnDemandEnabled',
|
|
743
|
+
kind: 'Scalar'
|
|
744
|
+
},
|
|
727
745
|
{
|
|
728
746
|
name: 'message',
|
|
729
747
|
kind: 'Scalar'
|
|
@@ -754,6 +772,16 @@ function equals$a(existing, incoming) {
|
|
|
754
772
|
if (!(existing_canEditDefinition === incoming_canEditDefinition)) {
|
|
755
773
|
return false;
|
|
756
774
|
}
|
|
775
|
+
const existing_canManageOnDemand = existing.canManageOnDemand;
|
|
776
|
+
const incoming_canManageOnDemand = incoming.canManageOnDemand;
|
|
777
|
+
if (!(existing_canManageOnDemand === incoming_canManageOnDemand)) {
|
|
778
|
+
return false;
|
|
779
|
+
}
|
|
780
|
+
const existing_isOnDemandEnabled = existing.isOnDemandEnabled;
|
|
781
|
+
const incoming_isOnDemandEnabled = incoming.isOnDemandEnabled;
|
|
782
|
+
if (!(existing_isOnDemandEnabled === incoming_isOnDemandEnabled)) {
|
|
783
|
+
return false;
|
|
784
|
+
}
|
|
757
785
|
const existing_description = existing.description;
|
|
758
786
|
const incoming_description = incoming.description;
|
|
759
787
|
// if at least one of these optionals is defined
|
|
@@ -846,7 +874,7 @@ function evictSuccess(luvio, resourceParams) {
|
|
|
846
874
|
function createResourceRequest$7(config) {
|
|
847
875
|
const headers = {};
|
|
848
876
|
return {
|
|
849
|
-
baseUri: '/services/data/
|
|
877
|
+
baseUri: '/services/data/v64.0',
|
|
850
878
|
basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
|
|
851
879
|
method: 'delete',
|
|
852
880
|
body: null,
|
|
@@ -1102,7 +1130,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
1102
1130
|
function createResourceRequest$6(config) {
|
|
1103
1131
|
const headers = {};
|
|
1104
1132
|
return {
|
|
1105
|
-
baseUri: '/services/data/
|
|
1133
|
+
baseUri: '/services/data/v64.0',
|
|
1106
1134
|
basePath: '/connect/record-aggregation/utilities/applicable-objects',
|
|
1107
1135
|
method: 'get',
|
|
1108
1136
|
body: null,
|
|
@@ -1233,7 +1261,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
1233
1261
|
function createResourceRequest$5(config) {
|
|
1234
1262
|
const headers = {};
|
|
1235
1263
|
return {
|
|
1236
|
-
baseUri: '/services/data/
|
|
1264
|
+
baseUri: '/services/data/v64.0',
|
|
1237
1265
|
basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
|
|
1238
1266
|
method: 'get',
|
|
1239
1267
|
body: null,
|
|
@@ -1640,7 +1668,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
1640
1668
|
function createResourceRequest$4(config) {
|
|
1641
1669
|
const headers = {};
|
|
1642
1670
|
return {
|
|
1643
|
-
baseUri: '/services/data/
|
|
1671
|
+
baseUri: '/services/data/v64.0',
|
|
1644
1672
|
basePath: '/connect/record-aggregation/utilities/applicable-objects/' + config.urlParams.objectName + '/applicable-fields',
|
|
1645
1673
|
method: 'get',
|
|
1646
1674
|
body: null,
|
|
@@ -1847,7 +1875,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
1847
1875
|
function createResourceRequest$3(config) {
|
|
1848
1876
|
const headers = {};
|
|
1849
1877
|
return {
|
|
1850
|
-
baseUri: '/services/data/
|
|
1878
|
+
baseUri: '/services/data/v64.0',
|
|
1851
1879
|
basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
|
|
1852
1880
|
method: 'patch',
|
|
1853
1881
|
body: config.body,
|
|
@@ -1864,6 +1892,7 @@ const patchRecordAggregationDefinition_ConfigPropertyMetadata = [
|
|
|
1864
1892
|
generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
|
|
1865
1893
|
generateParamConfigMetadata('definitionDisplayName', false, 2 /* Body */, 0 /* String */),
|
|
1866
1894
|
generateParamConfigMetadata('definitionDescription', false, 2 /* Body */, 0 /* String */),
|
|
1895
|
+
generateParamConfigMetadata('enableOnDemand', false, 2 /* Body */, 1 /* Boolean */),
|
|
1867
1896
|
];
|
|
1868
1897
|
const patchRecordAggregationDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, patchRecordAggregationDefinition_ConfigPropertyMetadata);
|
|
1869
1898
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$8(patchRecordAggregationDefinition_ConfigPropertyMetadata);
|
|
@@ -2099,7 +2128,7 @@ function equals$3(existing, incoming) {
|
|
|
2099
2128
|
return true;
|
|
2100
2129
|
}
|
|
2101
2130
|
|
|
2102
|
-
const VERSION$2 = "
|
|
2131
|
+
const VERSION$2 = "1391e902871d141b8d2cce016687b3e7";
|
|
2103
2132
|
function validate$7(obj, path = 'RecordRollupResultOutputRepresentation') {
|
|
2104
2133
|
const v_error = (() => {
|
|
2105
2134
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2125,6 +2154,7 @@ function validate$7(obj, path = 'RecordRollupResultOutputRepresentation') {
|
|
|
2125
2154
|
if (typeof obj_definitionDisplayName !== 'string') {
|
|
2126
2155
|
return new TypeError('Expected "string" but received "' + typeof obj_definitionDisplayName + '" (at "' + path_definitionDisplayName + '")');
|
|
2127
2156
|
}
|
|
2157
|
+
obj.lastComputed;
|
|
2128
2158
|
const obj_message = obj.message;
|
|
2129
2159
|
const path_message = path + '.message';
|
|
2130
2160
|
if (typeof obj_message !== 'string') {
|
|
@@ -2189,6 +2219,10 @@ const select$5 = function RecordRollupResultOutputRepresentationSelect() {
|
|
|
2189
2219
|
name: 'definitionDisplayName',
|
|
2190
2220
|
kind: 'Scalar'
|
|
2191
2221
|
},
|
|
2222
|
+
{
|
|
2223
|
+
name: 'lastComputed',
|
|
2224
|
+
kind: 'Scalar'
|
|
2225
|
+
},
|
|
2192
2226
|
{
|
|
2193
2227
|
name: 'message',
|
|
2194
2228
|
kind: 'Scalar'
|
|
@@ -2231,6 +2265,11 @@ function equals$2(existing, incoming) {
|
|
|
2231
2265
|
if (!(existing_statusCode === incoming_statusCode)) {
|
|
2232
2266
|
return false;
|
|
2233
2267
|
}
|
|
2268
|
+
const existing_lastComputed = existing.lastComputed;
|
|
2269
|
+
const incoming_lastComputed = incoming.lastComputed;
|
|
2270
|
+
if (!(existing_lastComputed === incoming_lastComputed)) {
|
|
2271
|
+
return false;
|
|
2272
|
+
}
|
|
2234
2273
|
const existing_columns = existing.columns;
|
|
2235
2274
|
const incoming_columns = incoming.columns;
|
|
2236
2275
|
const equals_columns_items = equalsArray(existing_columns, incoming_columns, (existing_columns_item, incoming_columns_item) => {
|
|
@@ -2301,7 +2340,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
2301
2340
|
function createResourceRequest$2(config) {
|
|
2302
2341
|
const headers = {};
|
|
2303
2342
|
return {
|
|
2304
|
-
baseUri: '/services/data/
|
|
2343
|
+
baseUri: '/services/data/v64.0',
|
|
2305
2344
|
basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '/record-rollup-results',
|
|
2306
2345
|
method: 'post',
|
|
2307
2346
|
body: config.body,
|
|
@@ -2634,7 +2673,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
2634
2673
|
function createResourceRequest$1(config) {
|
|
2635
2674
|
const headers = {};
|
|
2636
2675
|
return {
|
|
2637
|
-
baseUri: '/services/data/
|
|
2676
|
+
baseUri: '/services/data/v64.0',
|
|
2638
2677
|
basePath: '/connect/record-aggregation',
|
|
2639
2678
|
method: 'post',
|
|
2640
2679
|
body: config.body,
|
|
@@ -2822,7 +2861,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
2822
2861
|
function createResourceRequest(config) {
|
|
2823
2862
|
const headers = {};
|
|
2824
2863
|
return {
|
|
2825
|
-
baseUri: '/services/data/
|
|
2864
|
+
baseUri: '/services/data/v64.0',
|
|
2826
2865
|
basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
|
|
2827
2866
|
method: 'put',
|
|
2828
2867
|
body: config.body,
|
|
@@ -2972,4 +3011,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2972
3011
|
});
|
|
2973
3012
|
|
|
2974
3013
|
export { deleteRecordAggregationDefinition, getRecordAggregationApplicableObjects, getRecordAggregationApplicableObjects_imperative, getRecordAggregationDefinition, getRecordAggregationDefinitionNotifyChange, getRecordAggregationDefinition_imperative, getRecordAggregationEntityApplicableFields, getRecordAggregationEntityApplicableFields_imperative, patchRecordAggregationDefinition, postGenerateRecordRollupResult, postRecordAggregationCreation, putRecordAggregationDefinition };
|
|
2975
|
-
// version: 1.
|
|
3014
|
+
// version: 1.335.0-22a7c4d20b
|
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '61.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v64.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -147,6 +147,12 @@ types:
|
|
|
147
147
|
canDeleteDefinition:
|
|
148
148
|
description: Indicates whether the record aggregation definition can be deleted (true) or not (false).
|
|
149
149
|
type: boolean
|
|
150
|
+
canManageOnDemand:
|
|
151
|
+
description: Indicates whether on demand capability can be managed for this definition (true) or not (false).
|
|
152
|
+
type: boolean
|
|
153
|
+
isOnDemandEnabled:
|
|
154
|
+
description: Indicates whether on demand capability has been enabled for this definition (true) or not (false).
|
|
155
|
+
type: boolean
|
|
150
156
|
RecordAggregationApplicableFieldOutputRepresentation:
|
|
151
157
|
description: Output representation for applicable field
|
|
152
158
|
type: object
|
|
@@ -256,6 +262,10 @@ types:
|
|
|
256
262
|
description: The description of the record aggregation definition.
|
|
257
263
|
type: string
|
|
258
264
|
required: false
|
|
265
|
+
enableOnDemand:
|
|
266
|
+
description: Whether on demand should be enabled (true) for this definition, or not (false).
|
|
267
|
+
type: boolean
|
|
268
|
+
required: false
|
|
259
269
|
RecordAggregationDefinitionPartialUpdateOutputRepresentation:
|
|
260
270
|
description: Output representation for partial update of Record Aggregation Definition
|
|
261
271
|
type: object
|
|
@@ -458,6 +468,10 @@ types:
|
|
|
458
468
|
totalResultCount:
|
|
459
469
|
description: The total number of record rollup results.
|
|
460
470
|
type: integer
|
|
471
|
+
lastComputed:
|
|
472
|
+
description: The time represented by epoch milliseconds when the record rollup results was last computed for the given definition and anchorRecordId.
|
|
473
|
+
format: double
|
|
474
|
+
type: number
|
|
461
475
|
RecordRollupResultRowOutputRepresentation:
|
|
462
476
|
description: Represents the output for fetching Record Rollup Results
|
|
463
477
|
type: object
|