@salesforce/lds-adapters-industries-actionablelist 1.149.0 → 1.150.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.
@@ -146,7 +146,7 @@ function createLink(ref) {
146
146
  };
147
147
  }
148
148
 
149
- const VERSION$b = "8d304f086ca6d70241ff9dc64e1c4652";
149
+ const VERSION$b = "bf02e6b522639f3bb93ec16ccee16087";
150
150
  function validate$e(obj, path = 'ALDDatasetColumnOutputRepresentation') {
151
151
  const v_error = (() => {
152
152
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -219,6 +219,11 @@ function validate$e(obj, path = 'ALDDatasetColumnOutputRepresentation') {
219
219
  if (typeof obj_isDefault !== 'boolean') {
220
220
  return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
221
221
  }
222
+ const obj_isGroupedByListDefObj = obj.isGroupedByListDefObj;
223
+ const path_isGroupedByListDefObj = path + '.isGroupedByListDefObj';
224
+ if (typeof obj_isGroupedByListDefObj !== 'boolean') {
225
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isGroupedByListDefObj + '" (at "' + path_isGroupedByListDefObj + '")');
226
+ }
222
227
  const obj_objectName = obj.objectName;
223
228
  const path_objectName = path + '.objectName';
224
229
  let obj_objectName_union0 = null;
@@ -326,6 +331,10 @@ const select$g = function ALDDatasetColumnOutputRepresentationSelect() {
326
331
  name: 'isDefault',
327
332
  kind: 'Scalar'
328
333
  },
334
+ {
335
+ name: 'isGroupedByListDefObj',
336
+ kind: 'Scalar'
337
+ },
329
338
  {
330
339
  name: 'objectName',
331
340
  kind: 'Scalar'
@@ -347,6 +356,11 @@ function equals$b(existing, incoming) {
347
356
  if (!(existing_isDefault === incoming_isDefault)) {
348
357
  return false;
349
358
  }
359
+ const existing_isGroupedByListDefObj = existing.isGroupedByListDefObj;
360
+ const incoming_isGroupedByListDefObj = incoming.isGroupedByListDefObj;
361
+ if (!(existing_isGroupedByListDefObj === incoming_isGroupedByListDefObj)) {
362
+ return false;
363
+ }
350
364
  const existing_actionableListDefinitionId = existing.actionableListDefinitionId;
351
365
  const incoming_actionableListDefinitionId = incoming.actionableListDefinitionId;
352
366
  if (!(existing_actionableListDefinitionId === incoming_actionableListDefinitionId)) {
@@ -2209,7 +2223,7 @@ function validate$4(obj, path = 'ActionableListDatasetInputRepresentation') {
2209
2223
  return v_error === undefined ? null : v_error;
2210
2224
  }
2211
2225
 
2212
- const VERSION$3 = "0d035b8885aca0b70b9d3d7cec487492";
2226
+ const VERSION$3 = "aa13263ff52ac5e13b0a607ce970a4e0";
2213
2227
  function validate$3(obj, path = 'ActionableListDatasetColumnRepresentation') {
2214
2228
  const v_error = (() => {
2215
2229
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2267,6 +2281,11 @@ function validate$3(obj, path = 'ActionableListDatasetColumnRepresentation') {
2267
2281
  message += '\n' + obj_dataType_union1.split('\n').map((line) => '\t' + line).join('\n');
2268
2282
  return new TypeError(message);
2269
2283
  }
2284
+ const obj_id = obj.id;
2285
+ const path_id = path + '.id';
2286
+ if (typeof obj_id !== 'string') {
2287
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2288
+ }
2270
2289
  const obj_isDefault = obj.isDefault;
2271
2290
  const path_isDefault = path + '.isDefault';
2272
2291
  let obj_isDefault_union0 = null;
@@ -2293,6 +2312,32 @@ function validate$3(obj, path = 'ActionableListDatasetColumnRepresentation') {
2293
2312
  message += '\n' + obj_isDefault_union1.split('\n').map((line) => '\t' + line).join('\n');
2294
2313
  return new TypeError(message);
2295
2314
  }
2315
+ const obj_isGroupedByListDefObj = obj.isGroupedByListDefObj;
2316
+ const path_isGroupedByListDefObj = path + '.isGroupedByListDefObj';
2317
+ let obj_isGroupedByListDefObj_union0 = null;
2318
+ const obj_isGroupedByListDefObj_union0_error = (() => {
2319
+ if (typeof obj_isGroupedByListDefObj !== 'boolean') {
2320
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isGroupedByListDefObj + '" (at "' + path_isGroupedByListDefObj + '")');
2321
+ }
2322
+ })();
2323
+ if (obj_isGroupedByListDefObj_union0_error != null) {
2324
+ obj_isGroupedByListDefObj_union0 = obj_isGroupedByListDefObj_union0_error.message;
2325
+ }
2326
+ let obj_isGroupedByListDefObj_union1 = null;
2327
+ const obj_isGroupedByListDefObj_union1_error = (() => {
2328
+ if (obj_isGroupedByListDefObj !== null) {
2329
+ return new TypeError('Expected "null" but received "' + typeof obj_isGroupedByListDefObj + '" (at "' + path_isGroupedByListDefObj + '")');
2330
+ }
2331
+ })();
2332
+ if (obj_isGroupedByListDefObj_union1_error != null) {
2333
+ obj_isGroupedByListDefObj_union1 = obj_isGroupedByListDefObj_union1_error.message;
2334
+ }
2335
+ if (obj_isGroupedByListDefObj_union0 && obj_isGroupedByListDefObj_union1) {
2336
+ let message = 'Object doesn\'t match union (at "' + path_isGroupedByListDefObj + '")';
2337
+ message += '\n' + obj_isGroupedByListDefObj_union0.split('\n').map((line) => '\t' + line).join('\n');
2338
+ message += '\n' + obj_isGroupedByListDefObj_union1.split('\n').map((line) => '\t' + line).join('\n');
2339
+ return new TypeError(message);
2340
+ }
2296
2341
  const obj_objectName = obj.objectName;
2297
2342
  const path_objectName = path + '.objectName';
2298
2343
  let obj_objectName_union0 = null;
@@ -2388,10 +2433,18 @@ const select$4 = function ActionableListDatasetColumnRepresentationSelect() {
2388
2433
  name: 'dataType',
2389
2434
  kind: 'Scalar'
2390
2435
  },
2436
+ {
2437
+ name: 'id',
2438
+ kind: 'Scalar'
2439
+ },
2391
2440
  {
2392
2441
  name: 'isDefault',
2393
2442
  kind: 'Scalar'
2394
2443
  },
2444
+ {
2445
+ name: 'isGroupedByListDefObj',
2446
+ kind: 'Scalar'
2447
+ },
2395
2448
  {
2396
2449
  name: 'objectName',
2397
2450
  kind: 'Scalar'
@@ -2408,6 +2461,11 @@ const select$4 = function ActionableListDatasetColumnRepresentationSelect() {
2408
2461
  };
2409
2462
  };
2410
2463
  function equals$3(existing, incoming) {
2464
+ const existing_id = existing.id;
2465
+ const incoming_id = incoming.id;
2466
+ if (!(existing_id === incoming_id)) {
2467
+ return false;
2468
+ }
2411
2469
  const existing_dataDomain = existing.dataDomain;
2412
2470
  const incoming_dataDomain = incoming.dataDomain;
2413
2471
  if (!(existing_dataDomain === incoming_dataDomain)) {
@@ -2423,6 +2481,11 @@ function equals$3(existing, incoming) {
2423
2481
  if (!(existing_isDefault === incoming_isDefault)) {
2424
2482
  return false;
2425
2483
  }
2484
+ const existing_isGroupedByListDefObj = existing.isGroupedByListDefObj;
2485
+ const incoming_isGroupedByListDefObj = incoming.isGroupedByListDefObj;
2486
+ if (!(existing_isGroupedByListDefObj === incoming_isGroupedByListDefObj)) {
2487
+ return false;
2488
+ }
2426
2489
  const existing_objectName = existing.objectName;
2427
2490
  const incoming_objectName = incoming.objectName;
2428
2491
  if (!(existing_objectName === incoming_objectName)) {
@@ -1,6 +1,6 @@
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
2
  export declare const TTL = 100;
3
- export declare const VERSION = "8d304f086ca6d70241ff9dc64e1c4652";
3
+ export declare const VERSION = "bf02e6b522639f3bb93ec16ccee16087";
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: ALDDatasetColumnOutputRepresentation, existing: ALDDatasetColumnOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ALDDatasetColumnOutputRepresentationNormalized;
@@ -25,6 +25,8 @@ export interface ALDDatasetColumnOutputRepresentationNormalized {
25
25
  id: string;
26
26
  /** Flag to denote if this particular column has been made available or not */
27
27
  isDefault: boolean;
28
+ /** Indicates whether the dataset column is grouped by the object defined in the actionable list definition (true) or not (false). */
29
+ isGroupedByListDefObj: boolean;
28
30
  /** The object name that is mapped to the dataset column */
29
31
  objectName: string | null;
30
32
  /** The column api information from tcrm side */
@@ -44,6 +46,7 @@ export interface ALDDatasetColumnOutputRepresentation {
44
46
  dataType: string | null;
45
47
  id: string;
46
48
  isDefault: boolean;
49
+ isGroupedByListDefObj: boolean;
47
50
  objectName: string | null;
48
51
  sourceColumnApiName: string | null;
49
52
  sourceFieldName: string | null;
@@ -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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
- export declare const VERSION = "0d035b8885aca0b70b9d3d7cec487492";
2
+ export declare const VERSION = "aa13263ff52ac5e13b0a607ce970a4e0";
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: ActionableListDatasetColumnRepresentation, existing: ActionableListDatasetColumnRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDatasetColumnRepresentationNormalized;
@@ -18,8 +18,12 @@ export interface ActionableListDatasetColumnRepresentationNormalized {
18
18
  dataDomain: string | null;
19
19
  /** The data type used for formatting */
20
20
  dataType: string | null;
21
+ /** Id of actionable list definition dataset column */
22
+ id: string;
21
23
  /** flag to denote if this particular column has been made available or not */
22
24
  isDefault: boolean | null;
25
+ /** Indicates whether the dataset column is grouped by the object defined in the actionable list definition (true) or not (false). */
26
+ isGroupedByListDefObj: boolean | null;
23
27
  /** get Object Name */
24
28
  objectName: string | null;
25
29
  /** get source Column Api name */
@@ -36,7 +40,9 @@ export interface ActionableListDatasetColumnRepresentationNormalized {
36
40
  export interface ActionableListDatasetColumnRepresentation {
37
41
  dataDomain: string | null;
38
42
  dataType: string | null;
43
+ id: string;
39
44
  isDefault: boolean | null;
45
+ isGroupedByListDefObj: boolean | null;
40
46
  objectName: string | null;
41
47
  sourceColumnApiName: string | null;
42
48
  sourceFieldName: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-actionablelist",
3
- "version": "1.149.0",
3
+ "version": "1.150.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapter for actionable list connect APIs",
6
6
  "main": "dist/es/es2018/industries-actionablelist.js",
package/sfdc/index.js CHANGED
@@ -180,7 +180,7 @@ function validate$e(obj, path = 'ActionableListDefinitionCreateInputRepresentati
180
180
  return v_error === undefined ? null : v_error;
181
181
  }
182
182
 
183
- const VERSION$b = "8d304f086ca6d70241ff9dc64e1c4652";
183
+ const VERSION$b = "bf02e6b522639f3bb93ec16ccee16087";
184
184
  function validate$d(obj, path = 'ALDDatasetColumnOutputRepresentation') {
185
185
  const v_error = (() => {
186
186
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -253,6 +253,11 @@ function validate$d(obj, path = 'ALDDatasetColumnOutputRepresentation') {
253
253
  if (typeof obj_isDefault !== 'boolean') {
254
254
  return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
255
255
  }
256
+ const obj_isGroupedByListDefObj = obj.isGroupedByListDefObj;
257
+ const path_isGroupedByListDefObj = path + '.isGroupedByListDefObj';
258
+ if (typeof obj_isGroupedByListDefObj !== 'boolean') {
259
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isGroupedByListDefObj + '" (at "' + path_isGroupedByListDefObj + '")');
260
+ }
256
261
  const obj_objectName = obj.objectName;
257
262
  const path_objectName = path + '.objectName';
258
263
  let obj_objectName_union0 = null;
@@ -360,6 +365,10 @@ const select$g = function ALDDatasetColumnOutputRepresentationSelect() {
360
365
  name: 'isDefault',
361
366
  kind: 'Scalar'
362
367
  },
368
+ {
369
+ name: 'isGroupedByListDefObj',
370
+ kind: 'Scalar'
371
+ },
363
372
  {
364
373
  name: 'objectName',
365
374
  kind: 'Scalar'
@@ -381,6 +390,11 @@ function equals$b(existing, incoming) {
381
390
  if (!(existing_isDefault === incoming_isDefault)) {
382
391
  return false;
383
392
  }
393
+ const existing_isGroupedByListDefObj = existing.isGroupedByListDefObj;
394
+ const incoming_isGroupedByListDefObj = incoming.isGroupedByListDefObj;
395
+ if (!(existing_isGroupedByListDefObj === incoming_isGroupedByListDefObj)) {
396
+ return false;
397
+ }
384
398
  const existing_actionableListDefinitionId = existing.actionableListDefinitionId;
385
399
  const incoming_actionableListDefinitionId = incoming.actionableListDefinitionId;
386
400
  if (!(existing_actionableListDefinitionId === incoming_actionableListDefinitionId)) {
@@ -1185,7 +1199,7 @@ function validate$8(obj, path = 'ActionableListDatasetInputRepresentation') {
1185
1199
  return v_error === undefined ? null : v_error;
1186
1200
  }
1187
1201
 
1188
- const VERSION$6 = "0d035b8885aca0b70b9d3d7cec487492";
1202
+ const VERSION$6 = "aa13263ff52ac5e13b0a607ce970a4e0";
1189
1203
  function validate$7(obj, path = 'ActionableListDatasetColumnRepresentation') {
1190
1204
  const v_error = (() => {
1191
1205
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1243,6 +1257,11 @@ function validate$7(obj, path = 'ActionableListDatasetColumnRepresentation') {
1243
1257
  message += '\n' + obj_dataType_union1.split('\n').map((line) => '\t' + line).join('\n');
1244
1258
  return new TypeError(message);
1245
1259
  }
1260
+ const obj_id = obj.id;
1261
+ const path_id = path + '.id';
1262
+ if (typeof obj_id !== 'string') {
1263
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1264
+ }
1246
1265
  const obj_isDefault = obj.isDefault;
1247
1266
  const path_isDefault = path + '.isDefault';
1248
1267
  let obj_isDefault_union0 = null;
@@ -1269,6 +1288,32 @@ function validate$7(obj, path = 'ActionableListDatasetColumnRepresentation') {
1269
1288
  message += '\n' + obj_isDefault_union1.split('\n').map((line) => '\t' + line).join('\n');
1270
1289
  return new TypeError(message);
1271
1290
  }
1291
+ const obj_isGroupedByListDefObj = obj.isGroupedByListDefObj;
1292
+ const path_isGroupedByListDefObj = path + '.isGroupedByListDefObj';
1293
+ let obj_isGroupedByListDefObj_union0 = null;
1294
+ const obj_isGroupedByListDefObj_union0_error = (() => {
1295
+ if (typeof obj_isGroupedByListDefObj !== 'boolean') {
1296
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isGroupedByListDefObj + '" (at "' + path_isGroupedByListDefObj + '")');
1297
+ }
1298
+ })();
1299
+ if (obj_isGroupedByListDefObj_union0_error != null) {
1300
+ obj_isGroupedByListDefObj_union0 = obj_isGroupedByListDefObj_union0_error.message;
1301
+ }
1302
+ let obj_isGroupedByListDefObj_union1 = null;
1303
+ const obj_isGroupedByListDefObj_union1_error = (() => {
1304
+ if (obj_isGroupedByListDefObj !== null) {
1305
+ return new TypeError('Expected "null" but received "' + typeof obj_isGroupedByListDefObj + '" (at "' + path_isGroupedByListDefObj + '")');
1306
+ }
1307
+ })();
1308
+ if (obj_isGroupedByListDefObj_union1_error != null) {
1309
+ obj_isGroupedByListDefObj_union1 = obj_isGroupedByListDefObj_union1_error.message;
1310
+ }
1311
+ if (obj_isGroupedByListDefObj_union0 && obj_isGroupedByListDefObj_union1) {
1312
+ let message = 'Object doesn\'t match union (at "' + path_isGroupedByListDefObj + '")';
1313
+ message += '\n' + obj_isGroupedByListDefObj_union0.split('\n').map((line) => '\t' + line).join('\n');
1314
+ message += '\n' + obj_isGroupedByListDefObj_union1.split('\n').map((line) => '\t' + line).join('\n');
1315
+ return new TypeError(message);
1316
+ }
1272
1317
  const obj_objectName = obj.objectName;
1273
1318
  const path_objectName = path + '.objectName';
1274
1319
  let obj_objectName_union0 = null;
@@ -1364,10 +1409,18 @@ const select$a = function ActionableListDatasetColumnRepresentationSelect() {
1364
1409
  name: 'dataType',
1365
1410
  kind: 'Scalar'
1366
1411
  },
1412
+ {
1413
+ name: 'id',
1414
+ kind: 'Scalar'
1415
+ },
1367
1416
  {
1368
1417
  name: 'isDefault',
1369
1418
  kind: 'Scalar'
1370
1419
  },
1420
+ {
1421
+ name: 'isGroupedByListDefObj',
1422
+ kind: 'Scalar'
1423
+ },
1371
1424
  {
1372
1425
  name: 'objectName',
1373
1426
  kind: 'Scalar'
@@ -1384,6 +1437,11 @@ const select$a = function ActionableListDatasetColumnRepresentationSelect() {
1384
1437
  };
1385
1438
  };
1386
1439
  function equals$6(existing, incoming) {
1440
+ const existing_id = existing.id;
1441
+ const incoming_id = incoming.id;
1442
+ if (!(existing_id === incoming_id)) {
1443
+ return false;
1444
+ }
1387
1445
  const existing_dataDomain = existing.dataDomain;
1388
1446
  const incoming_dataDomain = incoming.dataDomain;
1389
1447
  if (!(existing_dataDomain === incoming_dataDomain)) {
@@ -1399,6 +1457,11 @@ function equals$6(existing, incoming) {
1399
1457
  if (!(existing_isDefault === incoming_isDefault)) {
1400
1458
  return false;
1401
1459
  }
1460
+ const existing_isGroupedByListDefObj = existing.isGroupedByListDefObj;
1461
+ const incoming_isGroupedByListDefObj = incoming.isGroupedByListDefObj;
1462
+ if (!(existing_isGroupedByListDefObj === incoming_isGroupedByListDefObj)) {
1463
+ return false;
1464
+ }
1402
1465
  const existing_objectName = existing.objectName;
1403
1466
  const incoming_objectName = incoming.objectName;
1404
1467
  if (!(existing_objectName === incoming_objectName)) {
@@ -3085,4 +3148,4 @@ withDefaultLuvio((luvio) => {
3085
3148
  });
3086
3149
 
3087
3150
  export { createActionableListDefinition, getActionableListDatasetInfo, getActionableListDatasetInfo_imperative, getActionableListDefinitions, getActionableListDefinitions_imperative, getActionableListMembers, getActionableListMembers_imperative, upsertActionableList };
3088
- // version: 1.149.0-69a6ce242
3151
+ // version: 1.150.0-d3d5689fc
package/src/raml/api.raml CHANGED
@@ -2,7 +2,7 @@
2
2
  securedBy:
3
3
  - OAuth2
4
4
  title: Salesforce Connect API
5
- version: '58.0'
5
+ version: '59.0'
6
6
  mediaType: application/json
7
7
  protocols:
8
8
  - https
@@ -48,6 +48,10 @@ types:
48
48
  description: Flag to denote if this particular column has been made available
49
49
  or not
50
50
  type: boolean
51
+ isGroupedByListDefObj:
52
+ description: Indicates whether the dataset column is grouped by the object
53
+ defined in the actionable list definition (true) or not (false).
54
+ type: boolean
51
55
  objectName:
52
56
  description: The object name that is mapped to the dataset column
53
57
  type: string | nil
@@ -202,10 +206,17 @@ types:
202
206
  dataType:
203
207
  description: The data type used for formatting
204
208
  type: string | nil
209
+ id:
210
+ description: Id of actionable list definition dataset column
211
+ type: string
205
212
  isDefault:
206
213
  description: flag to denote if this particular column has been made available
207
214
  or not
208
215
  type: boolean | nil
216
+ isGroupedByListDefObj:
217
+ description: Indicates whether the dataset column is grouped by the object
218
+ defined in the actionable list definition (true) or not (false).
219
+ type: boolean | nil
209
220
  objectName:
210
221
  description: get Object Name
211
222
  type: string | nil