@salesforce/lds-adapters-industries-recordaggregation 1.286.0 → 1.287.0-dev10

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.
@@ -254,7 +254,6 @@ function validate$g(obj, path = 'RecordAggregationNodeInputRepresentation') {
254
254
  return v_error === undefined ? null : v_error;
255
255
  }
256
256
 
257
- const TTL$1 = 0;
258
257
  const VERSION$f = "360b76c13b79ed8a1d3522d29b8a91e1";
259
258
  function validate$f(obj, path = 'RecordAggregationCreationOutputRepresentation') {
260
259
  const v_error = (() => {
@@ -339,7 +338,7 @@ const ingest$6 = function RecordAggregationCreationOutputRepresentationIngest(in
339
338
  }
340
339
  }
341
340
  const key = keyBuilderFromType$3(luvio, input);
342
- const ttlToUse = TTL$1;
341
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
343
342
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "IndustriesRecordAggregation", VERSION$f, RepresentationType$6, equals$f);
344
343
  return createLink(key);
345
344
  };
@@ -600,7 +599,7 @@ const ingest$5 = function RecordAggregationApplicableObjectsOutputRepresentation
600
599
  }
601
600
  }
602
601
  const key = path.fullPath;
603
- const ttlToUse = path.ttl !== undefined ? path.ttl : 1000;
602
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
604
603
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "IndustriesRecordAggregation", VERSION$d, RepresentationType$5, equals$d);
605
604
  return createLink(key);
606
605
  };
@@ -743,7 +742,7 @@ const getRecordAggregationApplicableObjectsAdapterFactory = (luvio) => function
743
742
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
744
743
  };
745
744
 
746
- const VERSION$c = "d8a265f3be6d95b8f129771ad56af899";
745
+ const VERSION$c = "47b9bd810af3efccf4b2c011f8e6c7be";
747
746
  function validate$c(obj, path = 'RecordAggregationApplicableFieldOutputRepresentation') {
748
747
  const v_error = (() => {
749
748
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -764,6 +763,13 @@ function validate$c(obj, path = 'RecordAggregationApplicableFieldOutputRepresent
764
763
  if (typeof obj_isCompound !== 'boolean') {
765
764
  return new TypeError('Expected "boolean" but received "' + typeof obj_isCompound + '" (at "' + path_isCompound + '")');
766
765
  }
766
+ if (obj.isCustom !== undefined) {
767
+ const obj_isCustom = obj.isCustom;
768
+ const path_isCustom = path + '.isCustom';
769
+ if (typeof obj_isCustom !== 'boolean') {
770
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isCustom + '" (at "' + path_isCustom + '")');
771
+ }
772
+ }
767
773
  const obj_label = obj.label;
768
774
  const path_label = path + '.label';
769
775
  if (typeof obj_label !== 'string') {
@@ -790,6 +796,11 @@ const select$h = function RecordAggregationApplicableFieldOutputRepresentationSe
790
796
  name: 'isCompound',
791
797
  kind: 'Scalar'
792
798
  },
799
+ {
800
+ name: 'isCustom',
801
+ kind: 'Scalar',
802
+ required: false
803
+ },
793
804
  {
794
805
  name: 'label',
795
806
  kind: 'Scalar'
@@ -803,6 +814,19 @@ function equals$c(existing, incoming) {
803
814
  if (!(existing_isCompound === incoming_isCompound)) {
804
815
  return false;
805
816
  }
817
+ const existing_isCustom = existing.isCustom;
818
+ const incoming_isCustom = incoming.isCustom;
819
+ // if at least one of these optionals is defined
820
+ if (existing_isCustom !== undefined || incoming_isCustom !== undefined) {
821
+ // if one of these is not defined we know the other is defined and therefore
822
+ // not equal
823
+ if (existing_isCustom === undefined || incoming_isCustom === undefined) {
824
+ return false;
825
+ }
826
+ if (!(existing_isCustom === incoming_isCustom)) {
827
+ return false;
828
+ }
829
+ }
806
830
  const existing_apiName = existing.apiName;
807
831
  const incoming_apiName = incoming.apiName;
808
832
  if (!(existing_apiName === incoming_apiName)) {
@@ -943,7 +967,7 @@ const ingest$4 = function RecordAggregationEntityApplicableFieldsOutputRepresent
943
967
  }
944
968
  }
945
969
  const key = path.fullPath;
946
- const ttlToUse = path.ttl !== undefined ? path.ttl : 1000;
970
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
947
971
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "IndustriesRecordAggregation", VERSION$b, RepresentationType$4, equals$b);
948
972
  return createLink(key);
949
973
  };
@@ -1742,7 +1766,7 @@ const ingest$3 = function RADOutputRepresentationIngest(input, path, luvio, stor
1742
1766
  }
1743
1767
  }
1744
1768
  const key = path.fullPath;
1745
- const ttlToUse = path.ttl !== undefined ? path.ttl : 1000;
1769
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1746
1770
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "IndustriesRecordAggregation", VERSION$5, RepresentationType$3, equals$5);
1747
1771
  return createLink(key);
1748
1772
  };
@@ -1958,7 +1982,7 @@ const ingest$2 = function RecordAggregationDefinitionPartialUpdateOutputRepresen
1958
1982
  }
1959
1983
  }
1960
1984
  const key = keyBuilderFromType$2(luvio, input);
1961
- const ttlToUse = path.ttl !== undefined ? path.ttl : 1000;
1985
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1962
1986
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "IndustriesRecordAggregation", VERSION$4, RepresentationType$2, equals$4);
1963
1987
  return createLink(key);
1964
1988
  };
@@ -2063,7 +2087,6 @@ const patchRecordAggregationDefinitionAdapterFactory = (luvio) => {
2063
2087
  };
2064
2088
  };
2065
2089
 
2066
- const TTL = 0;
2067
2090
  const VERSION$3 = "f0ea8c85a5a54a087ec6802a512e69cd";
2068
2091
  function validate$3(obj, path = 'RecordAggregationUpdationOutputRepresentation') {
2069
2092
  const v_error = (() => {
@@ -2134,7 +2157,7 @@ const ingest$1 = function RecordAggregationUpdationOutputRepresentationIngest(in
2134
2157
  }
2135
2158
  }
2136
2159
  const key = keyBuilderFromType$1(luvio, input);
2137
- const ttlToUse = TTL;
2160
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2138
2161
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "IndustriesRecordAggregation", VERSION$3, RepresentationType$1, equals$3);
2139
2162
  return createLink(key);
2140
2163
  };
@@ -2191,6 +2214,7 @@ const putRecordAggregationDefinition_ConfigPropertyMetadata = [
2191
2214
  generateParamConfigMetadata('aggregationObjects', true, 2 /* Body */, 4 /* Unsupported */, true),
2192
2215
  generateParamConfigMetadata('definitionDescription', false, 2 /* Body */, 0 /* String */),
2193
2216
  generateParamConfigMetadata('definitionDisplayName', true, 2 /* Body */, 0 /* String */),
2217
+ generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
2194
2218
  ];
2195
2219
  const putRecordAggregationDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, putRecordAggregationDefinition_ConfigPropertyMetadata);
2196
2220
  const createResourceParams$1 = /*#__PURE__*/ createResourceParams$7(putRecordAggregationDefinition_ConfigPropertyMetadata);
@@ -2253,7 +2277,7 @@ const putRecordAggregationDefinitionAdapterFactory = (luvio) => {
2253
2277
  };
2254
2278
  };
2255
2279
 
2256
- const VERSION$2 = "f23f946a0e550dc86cae4bcf623b1386";
2280
+ const VERSION$2 = "02daf0b89e25c17101427c70217f6ffb";
2257
2281
  function validate$2(obj, path = 'RecordRollupResultColumnOutputRepresentation') {
2258
2282
  const v_error = (() => {
2259
2283
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2279,11 +2303,26 @@ function validate$2(obj, path = 'RecordRollupResultColumnOutputRepresentation')
2279
2303
  if (typeof obj_isRedirectionEnabled !== 'boolean') {
2280
2304
  return new TypeError('Expected "boolean" but received "' + typeof obj_isRedirectionEnabled + '" (at "' + path_isRedirectionEnabled + '")');
2281
2305
  }
2306
+ const obj_isSortable = obj.isSortable;
2307
+ const path_isSortable = path + '.isSortable';
2308
+ if (typeof obj_isSortable !== 'boolean') {
2309
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSortable + '" (at "' + path_isSortable + '")');
2310
+ }
2311
+ const obj_isTypeName = obj.isTypeName;
2312
+ const path_isTypeName = path + '.isTypeName';
2313
+ if (typeof obj_isTypeName !== 'boolean') {
2314
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isTypeName + '" (at "' + path_isTypeName + '")');
2315
+ }
2282
2316
  const obj_sequence = obj.sequence;
2283
2317
  const path_sequence = path + '.sequence';
2284
2318
  if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
2285
2319
  return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
2286
2320
  }
2321
+ const obj_sortByField = obj.sortByField;
2322
+ const path_sortByField = path + '.sortByField';
2323
+ if (typeof obj_sortByField !== 'string') {
2324
+ return new TypeError('Expected "string" but received "' + typeof obj_sortByField + '" (at "' + path_sortByField + '")');
2325
+ }
2287
2326
  })();
2288
2327
  return v_error === undefined ? null : v_error;
2289
2328
  }
@@ -2309,9 +2348,21 @@ const select$3 = function RecordRollupResultColumnOutputRepresentationSelect() {
2309
2348
  name: 'isRedirectionEnabled',
2310
2349
  kind: 'Scalar'
2311
2350
  },
2351
+ {
2352
+ name: 'isSortable',
2353
+ kind: 'Scalar'
2354
+ },
2355
+ {
2356
+ name: 'isTypeName',
2357
+ kind: 'Scalar'
2358
+ },
2312
2359
  {
2313
2360
  name: 'sequence',
2314
2361
  kind: 'Scalar'
2362
+ },
2363
+ {
2364
+ name: 'sortByField',
2365
+ kind: 'Scalar'
2315
2366
  }
2316
2367
  ]
2317
2368
  };
@@ -2322,6 +2373,16 @@ function equals$2(existing, incoming) {
2322
2373
  if (!(existing_isRedirectionEnabled === incoming_isRedirectionEnabled)) {
2323
2374
  return false;
2324
2375
  }
2376
+ const existing_isSortable = existing.isSortable;
2377
+ const incoming_isSortable = incoming.isSortable;
2378
+ if (!(existing_isSortable === incoming_isSortable)) {
2379
+ return false;
2380
+ }
2381
+ const existing_isTypeName = existing.isTypeName;
2382
+ const incoming_isTypeName = incoming.isTypeName;
2383
+ if (!(existing_isTypeName === incoming_isTypeName)) {
2384
+ return false;
2385
+ }
2325
2386
  const existing_sequence = existing.sequence;
2326
2387
  const incoming_sequence = incoming.sequence;
2327
2388
  if (!(existing_sequence === incoming_sequence)) {
@@ -2342,6 +2403,11 @@ function equals$2(existing, incoming) {
2342
2403
  if (!(existing_fieldLabel === incoming_fieldLabel)) {
2343
2404
  return false;
2344
2405
  }
2406
+ const existing_sortByField = existing.sortByField;
2407
+ const incoming_sortByField = incoming.sortByField;
2408
+ if (!(existing_sortByField === incoming_sortByField)) {
2409
+ return false;
2410
+ }
2345
2411
  return true;
2346
2412
  }
2347
2413
 
@@ -2558,7 +2624,7 @@ const ingest = function RecordRollupResultOutputRepresentationIngest(input, path
2558
2624
  }
2559
2625
  }
2560
2626
  const key = keyBuilderFromType(luvio, input);
2561
- const ttlToUse = path.ttl !== undefined ? path.ttl : 1000;
2627
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2562
2628
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "IndustriesRecordAggregation", VERSION, RepresentationType, equals);
2563
2629
  return createLink(key);
2564
2630
  };
@@ -11,6 +11,7 @@ export interface PutRecordAggregationDefinitionConfig {
11
11
  aggregationObjects: Array<types_RecordAggregationNodeInputRepresentation_RecordAggregationNodeInputRepresentation>;
12
12
  definitionDescription?: string;
13
13
  definitionDisplayName: string;
14
+ status?: string;
14
15
  }
15
16
  export declare const createResourceParams: (config: PutRecordAggregationDefinitionConfig) => resources_putConnectRecordAggregationByRecordAggregationDefinitionId_ResourceRequestConfig;
16
17
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PutRecordAggregationDefinitionConfig>): adapter$45$utils_Untrusted<PutRecordAggregationDefinitionConfig>;
@@ -9,6 +9,7 @@ export interface ResourceRequestConfig {
9
9
  aggregationObjects: Array<types_RecordAggregationNodeInputRepresentation_RecordAggregationNodeInputRepresentation>;
10
10
  definitionDescription?: string;
11
11
  definitionDisplayName: string;
12
+ status?: string;
12
13
  };
13
14
  }
14
15
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -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 = "d8a265f3be6d95b8f129771ad56af899";
2
+ export declare const VERSION = "47b9bd810af3efccf4b2c011f8e6c7be";
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: RecordAggregationApplicableFieldOutputRepresentation, existing: RecordAggregationApplicableFieldOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecordAggregationApplicableFieldOutputRepresentationNormalized;
@@ -18,8 +18,10 @@ export interface RecordAggregationApplicableFieldOutputRepresentationNormalized
18
18
  apiName: string;
19
19
  /** Datatype of the field. */
20
20
  dataType: string;
21
- /** States field is part of a compound field or not. */
21
+ /** Indicates if the specified field is a compound field (true) or not (false). */
22
22
  isCompound: boolean;
23
+ /** Indicates if the specified field is a custom field (true) or not (false). */
24
+ isCustom?: boolean;
23
25
  /** The field label. */
24
26
  label: string;
25
27
  }
@@ -33,5 +35,6 @@ export interface RecordAggregationApplicableFieldOutputRepresentation {
33
35
  apiName: string;
34
36
  dataType: string;
35
37
  isCompound: boolean;
38
+ isCustom?: boolean;
36
39
  label: string;
37
40
  }
@@ -1,5 +1,4 @@
1
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 = 0;
3
2
  export declare const VERSION = "360b76c13b79ed8a1d3522d29b8a91e1";
4
3
  export declare function validate(obj: any, path?: string): TypeError | null;
5
4
  export declare const RepresentationType: string;
@@ -1,6 +1,6 @@
1
1
  import { RecordAggregationNodeInputRepresentation as RecordAggregationNodeInputRepresentation_RecordAggregationNodeInputRepresentation } from './RecordAggregationNodeInputRepresentation';
2
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';
3
- export declare const VERSION = "c1266676caecc243aefbf36bcb217b29";
3
+ export declare const VERSION = "ff23c480bde5b4c6d69060edc9edbc29";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: RecordAggregationUpdationInputRepresentation, existing: RecordAggregationUpdationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecordAggregationUpdationInputRepresentationNormalized;
@@ -21,6 +21,8 @@ export interface RecordAggregationUpdationInputRepresentationNormalized {
21
21
  definitionDescription?: string;
22
22
  /** The display name of the record aggregation definition. */
23
23
  definitionDisplayName: string;
24
+ /** Status of the record aggregation definition. */
25
+ status?: string;
24
26
  }
25
27
  /**
26
28
  * Input representation of record aggregation definition updation api
@@ -32,4 +34,5 @@ export interface RecordAggregationUpdationInputRepresentation {
32
34
  aggregationObjects: Array<RecordAggregationNodeInputRepresentation_RecordAggregationNodeInputRepresentation>;
33
35
  definitionDescription?: string;
34
36
  definitionDisplayName: string;
37
+ status?: string;
35
38
  }
@@ -1,5 +1,4 @@
1
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 = 0;
3
2
  export declare const VERSION = "f0ea8c85a5a54a087ec6802a512e69cd";
4
3
  export declare function validate(obj: any, path?: string): TypeError | null;
5
4
  export declare const RepresentationType: 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 = "f23f946a0e550dc86cae4bcf623b1386";
2
+ export declare const VERSION = "02daf0b89e25c17101427c70217f6ffb";
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: RecordRollupResultColumnOutputRepresentation, existing: RecordRollupResultColumnOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecordRollupResultColumnOutputRepresentationNormalized;
@@ -22,8 +22,14 @@ export interface RecordRollupResultColumnOutputRepresentationNormalized {
22
22
  fieldLabel: string;
23
23
  /** Indicates whether clicking on the column label redirects to the relevant record details page (true) or not (false). This field is applicable only to the Name field. */
24
24
  isRedirectionEnabled: boolean;
25
+ /** Indicates whether the column is sortable (true) or not (false). */
26
+ isSortable: boolean;
27
+ /** Indicates whether the field is of type Name (true) or not (false). */
28
+ isTypeName: boolean;
25
29
  /** The sequence in which the column should appear in the data table. */
26
30
  sequence: number;
31
+ /** Represents the field using which the column is sorted. */
32
+ sortByField: string;
27
33
  }
28
34
  /**
29
35
  * Represents the output for fetching Record Rollup Results
@@ -36,5 +42,8 @@ export interface RecordRollupResultColumnOutputRepresentation {
36
42
  fieldApiName: string;
37
43
  fieldLabel: string;
38
44
  isRedirectionEnabled: boolean;
45
+ isSortable: boolean;
46
+ isTypeName: boolean;
39
47
  sequence: number;
48
+ sortByField: string;
40
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-recordaggregation",
3
- "version": "1.286.0",
3
+ "version": "1.287.0-dev10",
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.286.0"
43
+ "@salesforce/lds-bindings": "^1.287.0-dev10"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.286.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.287.0-dev10"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -265,7 +265,7 @@ const ingest$6 = function RecordAggregationApplicableObjectsOutputRepresentation
265
265
  }
266
266
  }
267
267
  const key = path.fullPath;
268
- const ttlToUse = path.ttl !== undefined ? path.ttl : 1000;
268
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
269
269
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "IndustriesRecordAggregation", VERSION$e, RepresentationType$6, equals$e);
270
270
  return createLink(key);
271
271
  };
@@ -1061,7 +1061,7 @@ const ingest$5 = function RADOutputRepresentationIngest(input, path, luvio, stor
1061
1061
  }
1062
1062
  }
1063
1063
  const key = path.fullPath;
1064
- const ttlToUse = path.ttl !== undefined ? path.ttl : 1000;
1064
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1065
1065
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "IndustriesRecordAggregation", VERSION$8, RepresentationType$5, equals$8);
1066
1066
  return createLink(key);
1067
1067
  };
@@ -1207,7 +1207,7 @@ const getRecordAggregationDefinitionAdapterFactory = (luvio) => function Industr
1207
1207
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
1208
1208
  };
1209
1209
 
1210
- const VERSION$7 = "d8a265f3be6d95b8f129771ad56af899";
1210
+ const VERSION$7 = "47b9bd810af3efccf4b2c011f8e6c7be";
1211
1211
  function validate$c(obj, path = 'RecordAggregationApplicableFieldOutputRepresentation') {
1212
1212
  const v_error = (() => {
1213
1213
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1228,6 +1228,13 @@ function validate$c(obj, path = 'RecordAggregationApplicableFieldOutputRepresent
1228
1228
  if (typeof obj_isCompound !== 'boolean') {
1229
1229
  return new TypeError('Expected "boolean" but received "' + typeof obj_isCompound + '" (at "' + path_isCompound + '")');
1230
1230
  }
1231
+ if (obj.isCustom !== undefined) {
1232
+ const obj_isCustom = obj.isCustom;
1233
+ const path_isCustom = path + '.isCustom';
1234
+ if (typeof obj_isCustom !== 'boolean') {
1235
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isCustom + '" (at "' + path_isCustom + '")');
1236
+ }
1237
+ }
1231
1238
  const obj_label = obj.label;
1232
1239
  const path_label = path + '.label';
1233
1240
  if (typeof obj_label !== 'string') {
@@ -1254,6 +1261,11 @@ const select$c = function RecordAggregationApplicableFieldOutputRepresentationSe
1254
1261
  name: 'isCompound',
1255
1262
  kind: 'Scalar'
1256
1263
  },
1264
+ {
1265
+ name: 'isCustom',
1266
+ kind: 'Scalar',
1267
+ required: false
1268
+ },
1257
1269
  {
1258
1270
  name: 'label',
1259
1271
  kind: 'Scalar'
@@ -1267,6 +1279,19 @@ function equals$7(existing, incoming) {
1267
1279
  if (!(existing_isCompound === incoming_isCompound)) {
1268
1280
  return false;
1269
1281
  }
1282
+ const existing_isCustom = existing.isCustom;
1283
+ const incoming_isCustom = incoming.isCustom;
1284
+ // if at least one of these optionals is defined
1285
+ if (existing_isCustom !== undefined || incoming_isCustom !== undefined) {
1286
+ // if one of these is not defined we know the other is defined and therefore
1287
+ // not equal
1288
+ if (existing_isCustom === undefined || incoming_isCustom === undefined) {
1289
+ return false;
1290
+ }
1291
+ if (!(existing_isCustom === incoming_isCustom)) {
1292
+ return false;
1293
+ }
1294
+ }
1270
1295
  const existing_apiName = existing.apiName;
1271
1296
  const incoming_apiName = incoming.apiName;
1272
1297
  if (!(existing_apiName === incoming_apiName)) {
@@ -1407,7 +1432,7 @@ const ingest$4 = function RecordAggregationEntityApplicableFieldsOutputRepresent
1407
1432
  }
1408
1433
  }
1409
1434
  const key = path.fullPath;
1410
- const ttlToUse = path.ttl !== undefined ? path.ttl : 1000;
1435
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1411
1436
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "IndustriesRecordAggregation", VERSION$6, RepresentationType$4, equals$6);
1412
1437
  return createLink(key);
1413
1438
  };
@@ -1623,7 +1648,7 @@ const ingest$3 = function RecordAggregationDefinitionPartialUpdateOutputRepresen
1623
1648
  }
1624
1649
  }
1625
1650
  const key = keyBuilderFromType$3(luvio, input);
1626
- const ttlToUse = path.ttl !== undefined ? path.ttl : 1000;
1651
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
1627
1652
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "IndustriesRecordAggregation", VERSION$5, RepresentationType$3, equals$5);
1628
1653
  return createLink(key);
1629
1654
  };
@@ -1728,7 +1753,7 @@ const patchRecordAggregationDefinitionAdapterFactory = (luvio) => {
1728
1753
  };
1729
1754
  };
1730
1755
 
1731
- const VERSION$4 = "f23f946a0e550dc86cae4bcf623b1386";
1756
+ const VERSION$4 = "02daf0b89e25c17101427c70217f6ffb";
1732
1757
  function validate$9(obj, path = 'RecordRollupResultColumnOutputRepresentation') {
1733
1758
  const v_error = (() => {
1734
1759
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1754,11 +1779,26 @@ function validate$9(obj, path = 'RecordRollupResultColumnOutputRepresentation')
1754
1779
  if (typeof obj_isRedirectionEnabled !== 'boolean') {
1755
1780
  return new TypeError('Expected "boolean" but received "' + typeof obj_isRedirectionEnabled + '" (at "' + path_isRedirectionEnabled + '")');
1756
1781
  }
1782
+ const obj_isSortable = obj.isSortable;
1783
+ const path_isSortable = path + '.isSortable';
1784
+ if (typeof obj_isSortable !== 'boolean') {
1785
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isSortable + '" (at "' + path_isSortable + '")');
1786
+ }
1787
+ const obj_isTypeName = obj.isTypeName;
1788
+ const path_isTypeName = path + '.isTypeName';
1789
+ if (typeof obj_isTypeName !== 'boolean') {
1790
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isTypeName + '" (at "' + path_isTypeName + '")');
1791
+ }
1757
1792
  const obj_sequence = obj.sequence;
1758
1793
  const path_sequence = path + '.sequence';
1759
1794
  if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
1760
1795
  return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
1761
1796
  }
1797
+ const obj_sortByField = obj.sortByField;
1798
+ const path_sortByField = path + '.sortByField';
1799
+ if (typeof obj_sortByField !== 'string') {
1800
+ return new TypeError('Expected "string" but received "' + typeof obj_sortByField + '" (at "' + path_sortByField + '")');
1801
+ }
1762
1802
  })();
1763
1803
  return v_error === undefined ? null : v_error;
1764
1804
  }
@@ -1784,9 +1824,21 @@ const select$7 = function RecordRollupResultColumnOutputRepresentationSelect() {
1784
1824
  name: 'isRedirectionEnabled',
1785
1825
  kind: 'Scalar'
1786
1826
  },
1827
+ {
1828
+ name: 'isSortable',
1829
+ kind: 'Scalar'
1830
+ },
1831
+ {
1832
+ name: 'isTypeName',
1833
+ kind: 'Scalar'
1834
+ },
1787
1835
  {
1788
1836
  name: 'sequence',
1789
1837
  kind: 'Scalar'
1838
+ },
1839
+ {
1840
+ name: 'sortByField',
1841
+ kind: 'Scalar'
1790
1842
  }
1791
1843
  ]
1792
1844
  };
@@ -1797,6 +1849,16 @@ function equals$4(existing, incoming) {
1797
1849
  if (!(existing_isRedirectionEnabled === incoming_isRedirectionEnabled)) {
1798
1850
  return false;
1799
1851
  }
1852
+ const existing_isSortable = existing.isSortable;
1853
+ const incoming_isSortable = incoming.isSortable;
1854
+ if (!(existing_isSortable === incoming_isSortable)) {
1855
+ return false;
1856
+ }
1857
+ const existing_isTypeName = existing.isTypeName;
1858
+ const incoming_isTypeName = incoming.isTypeName;
1859
+ if (!(existing_isTypeName === incoming_isTypeName)) {
1860
+ return false;
1861
+ }
1800
1862
  const existing_sequence = existing.sequence;
1801
1863
  const incoming_sequence = incoming.sequence;
1802
1864
  if (!(existing_sequence === incoming_sequence)) {
@@ -1817,6 +1879,11 @@ function equals$4(existing, incoming) {
1817
1879
  if (!(existing_fieldLabel === incoming_fieldLabel)) {
1818
1880
  return false;
1819
1881
  }
1882
+ const existing_sortByField = existing.sortByField;
1883
+ const incoming_sortByField = incoming.sortByField;
1884
+ if (!(existing_sortByField === incoming_sortByField)) {
1885
+ return false;
1886
+ }
1820
1887
  return true;
1821
1888
  }
1822
1889
 
@@ -2033,7 +2100,7 @@ const ingest$2 = function RecordRollupResultOutputRepresentationIngest(input, pa
2033
2100
  }
2034
2101
  }
2035
2102
  const key = keyBuilderFromType$2(luvio, input);
2036
- const ttlToUse = path.ttl !== undefined ? path.ttl : 1000;
2103
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2037
2104
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "IndustriesRecordAggregation", VERSION$2, RepresentationType$2, equals$2);
2038
2105
  return createLink(key);
2039
2106
  };
@@ -2282,7 +2349,6 @@ function validate$2(obj, path = 'RecordAggregationNodeInputRepresentation') {
2282
2349
  return v_error === undefined ? null : v_error;
2283
2350
  }
2284
2351
 
2285
- const TTL$1 = 0;
2286
2352
  const VERSION$1 = "360b76c13b79ed8a1d3522d29b8a91e1";
2287
2353
  function validate$1(obj, path = 'RecordAggregationCreationOutputRepresentation') {
2288
2354
  const v_error = (() => {
@@ -2367,7 +2433,7 @@ const ingest$1 = function RecordAggregationCreationOutputRepresentationIngest(in
2367
2433
  }
2368
2434
  }
2369
2435
  const key = keyBuilderFromType$1(luvio, input);
2370
- const ttlToUse = TTL$1;
2436
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2371
2437
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "IndustriesRecordAggregation", VERSION$1, RepresentationType$1, equals$1);
2372
2438
  return createLink(key);
2373
2439
  };
@@ -2485,7 +2551,6 @@ const postRecordAggregationCreationAdapterFactory = (luvio) => {
2485
2551
  };
2486
2552
  };
2487
2553
 
2488
- const TTL = 0;
2489
2554
  const VERSION = "f0ea8c85a5a54a087ec6802a512e69cd";
2490
2555
  function validate(obj, path = 'RecordAggregationUpdationOutputRepresentation') {
2491
2556
  const v_error = (() => {
@@ -2556,7 +2621,7 @@ const ingest = function RecordAggregationUpdationOutputRepresentationIngest(inpu
2556
2621
  }
2557
2622
  }
2558
2623
  const key = keyBuilderFromType(luvio, input);
2559
- const ttlToUse = TTL;
2624
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
2560
2625
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "IndustriesRecordAggregation", VERSION, RepresentationType, equals);
2561
2626
  return createLink(key);
2562
2627
  };
@@ -2613,6 +2678,7 @@ const putRecordAggregationDefinition_ConfigPropertyMetadata = [
2613
2678
  generateParamConfigMetadata('aggregationObjects', true, 2 /* Body */, 4 /* Unsupported */, true),
2614
2679
  generateParamConfigMetadata('definitionDescription', false, 2 /* Body */, 0 /* String */),
2615
2680
  generateParamConfigMetadata('definitionDisplayName', true, 2 /* Body */, 0 /* String */),
2681
+ generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
2616
2682
  ];
2617
2683
  const putRecordAggregationDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, putRecordAggregationDefinition_ConfigPropertyMetadata);
2618
2684
  const createResourceParams = /*#__PURE__*/ createResourceParams$7(putRecordAggregationDefinition_ConfigPropertyMetadata);
@@ -2740,4 +2806,4 @@ withDefaultLuvio((luvio) => {
2740
2806
  });
2741
2807
 
2742
2808
  export { getRecordAggregationApplicableObjects, getRecordAggregationApplicableObjects_imperative, getRecordAggregationDefinition, getRecordAggregationDefinition_imperative, getRecordAggregationEntityApplicableFields, getRecordAggregationEntityApplicableFields_imperative, patchRecordAggregationDefinition, postGenerateRecordRollupResult, postRecordAggregationCreation, putRecordAggregationDefinition };
2743
- // version: 1.286.0-27bef7c46
2809
+ // version: 1.287.0-dev10-32adad9f2
package/src/raml/api.raml CHANGED
@@ -155,8 +155,12 @@ types:
155
155
  description: The field label.
156
156
  type: string
157
157
  isCompound:
158
- description: States field is part of a compound field or not.
158
+ description: Indicates if the specified field is a compound field (true) or not (false).
159
159
  type: boolean
160
+ isCustom:
161
+ description: Indicates if the specified field is a custom field (true) or not (false).
162
+ type: boolean
163
+ required: false
160
164
  RecordAggregationApplicableObjectOutputRepresentation:
161
165
  description: Output representation for applicable object in record rollups.
162
166
  type: object
@@ -355,6 +359,10 @@ types:
355
359
  definitionDisplayName:
356
360
  description: The display name of the record aggregation definition.
357
361
  type: string
362
+ status:
363
+ description: Status of the record aggregation definition.
364
+ type: string
365
+ required: false
358
366
  RecordAggregationUpdationOutputRepresentation:
359
367
  description: Represents the output for updating Record Aggregation Definition
360
368
  type: object
@@ -385,6 +393,15 @@ types:
385
393
  isRedirectionEnabled:
386
394
  description: Indicates whether clicking on the column label redirects to the relevant record details page (true) or not (false). This field is applicable only to the Name field.
387
395
  type: boolean
396
+ isSortable:
397
+ description: Indicates whether the column is sortable (true) or not (false).
398
+ type: boolean
399
+ isTypeName:
400
+ description: Indicates whether the field is of type Name (true) or not (false).
401
+ type: boolean
402
+ sortByField:
403
+ description: Represents the field using which the column is sorted.
404
+ type: string
388
405
  RecordRollupResultInputRepresentation:
389
406
  description: Input representation for fetching record aggregation result
390
407
  type: object
@@ -5,15 +5,13 @@ uses:
5
5
  luvio: luvio://annotations.raml
6
6
 
7
7
  (luvio.keyPrefix): 'IndustriesRecordAggregation'
8
- (luvio.ttl): 1000
8
+ (luvio.ttl): 100
9
9
 
10
10
  types:
11
11
  RecordAggregationCreationOutputRepresentation:
12
- (luvio.ttl): 0
13
12
  (luvio.key):
14
13
  id: recordAggregationDefinitionId
15
14
  RecordAggregationUpdationOutputRepresentation:
16
- (luvio.ttl): 0
17
15
  (luvio.key):
18
16
  id: statusCode
19
17
  RecordRollupResultOutputRepresentation: