@salesforce/lds-adapters-cms-orchestrator 1.100.3 → 1.100.5

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.
@@ -1164,7 +1164,7 @@ const createManagedContentOrchestrationInstanceAdapterFactory = (luvio) => {
1164
1164
  };
1165
1165
  };
1166
1166
 
1167
- const VERSION$1 = "ff1ebc5f13699d99fb6b7c63f435c216";
1167
+ const VERSION$1 = "5044bf9d6a7c23eadc7dcfa5d49edeca";
1168
1168
  function validate$1(obj, path = 'ManagedContentRunningOrchestrationHistoryEventRepresentation') {
1169
1169
  const v_error = (() => {
1170
1170
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1300,6 +1300,32 @@ function validate$1(obj, path = 'ManagedContentRunningOrchestrationHistoryEventR
1300
1300
  message += '\n' + obj_assigneeType_union1.split('\n').map((line) => '\t' + line).join('\n');
1301
1301
  return new TypeError(message);
1302
1302
  }
1303
+ const obj_comments = obj.comments;
1304
+ const path_comments = path + '.comments';
1305
+ let obj_comments_union0 = null;
1306
+ const obj_comments_union0_error = (() => {
1307
+ if (typeof obj_comments !== 'string') {
1308
+ return new TypeError('Expected "string" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
1309
+ }
1310
+ })();
1311
+ if (obj_comments_union0_error != null) {
1312
+ obj_comments_union0 = obj_comments_union0_error.message;
1313
+ }
1314
+ let obj_comments_union1 = null;
1315
+ const obj_comments_union1_error = (() => {
1316
+ if (obj_comments !== null) {
1317
+ return new TypeError('Expected "null" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
1318
+ }
1319
+ })();
1320
+ if (obj_comments_union1_error != null) {
1321
+ obj_comments_union1 = obj_comments_union1_error.message;
1322
+ }
1323
+ if (obj_comments_union0 && obj_comments_union1) {
1324
+ let message = 'Object doesn\'t match union (at "' + path_comments + '")';
1325
+ message += '\n' + obj_comments_union0.split('\n').map((line) => '\t' + line).join('\n');
1326
+ message += '\n' + obj_comments_union1.split('\n').map((line) => '\t' + line).join('\n');
1327
+ return new TypeError(message);
1328
+ }
1303
1329
  const obj_endTimestamp = obj.endTimestamp;
1304
1330
  const path_endTimestamp = path + '.endTimestamp';
1305
1331
  let obj_endTimestamp_union0 = null;
@@ -1395,6 +1421,10 @@ const select$2 = function ManagedContentRunningOrchestrationHistoryEventRepresen
1395
1421
  name: 'assigneeType',
1396
1422
  kind: 'Scalar'
1397
1423
  },
1424
+ {
1425
+ name: 'comments',
1426
+ kind: 'Scalar'
1427
+ },
1398
1428
  {
1399
1429
  name: 'endTimestamp',
1400
1430
  kind: 'Scalar'
@@ -1500,6 +1530,11 @@ function equals$1(existing, incoming) {
1500
1530
  if (!(existing_assigneeType === incoming_assigneeType)) {
1501
1531
  return false;
1502
1532
  }
1533
+ const existing_comments = existing.comments;
1534
+ const incoming_comments = incoming.comments;
1535
+ if (!(existing_comments === incoming_comments)) {
1536
+ return false;
1537
+ }
1503
1538
  const existing_endTimestamp = existing.endTimestamp;
1504
1539
  const incoming_endTimestamp = incoming.endTimestamp;
1505
1540
  if (!(existing_endTimestamp === incoming_endTimestamp)) {
@@ -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 = 1000;
3
- export declare const VERSION = "ff1ebc5f13699d99fb6b7c63f435c216";
3
+ export declare const VERSION = "5044bf9d6a7c23eadc7dcfa5d49edeca";
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: ManagedContentRunningOrchestrationHistoryEventRepresentation, existing: ManagedContentRunningOrchestrationHistoryEventRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentRunningOrchestrationHistoryEventRepresentationNormalized;
@@ -26,6 +26,8 @@ export interface ManagedContentRunningOrchestrationHistoryEventRepresentationNor
26
26
  assigneeName: string | null;
27
27
  /** Assignee Type */
28
28
  assigneeType: string | null;
29
+ /** Comments */
30
+ comments: string | null;
29
31
  /** End Timestamp */
30
32
  endTimestamp: string | null;
31
33
  /** Orchestration Name */
@@ -57,6 +59,7 @@ export interface ManagedContentRunningOrchestrationHistoryEventRepresentation {
57
59
  assigneeDevNameOrEmail: string | null;
58
60
  assigneeName: string | null;
59
61
  assigneeType: string | null;
62
+ comments: string | null;
60
63
  endTimestamp: string | null;
61
64
  orchestrationName: string;
62
65
  orchestrationVersion: number;
@@ -1168,7 +1168,7 @@
1168
1168
  };
1169
1169
  };
1170
1170
 
1171
- const VERSION$1 = "ff1ebc5f13699d99fb6b7c63f435c216";
1171
+ const VERSION$1 = "5044bf9d6a7c23eadc7dcfa5d49edeca";
1172
1172
  function validate$1(obj, path = 'ManagedContentRunningOrchestrationHistoryEventRepresentation') {
1173
1173
  const v_error = (() => {
1174
1174
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1304,6 +1304,32 @@
1304
1304
  message += '\n' + obj_assigneeType_union1.split('\n').map((line) => '\t' + line).join('\n');
1305
1305
  return new TypeError(message);
1306
1306
  }
1307
+ const obj_comments = obj.comments;
1308
+ const path_comments = path + '.comments';
1309
+ let obj_comments_union0 = null;
1310
+ const obj_comments_union0_error = (() => {
1311
+ if (typeof obj_comments !== 'string') {
1312
+ return new TypeError('Expected "string" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
1313
+ }
1314
+ })();
1315
+ if (obj_comments_union0_error != null) {
1316
+ obj_comments_union0 = obj_comments_union0_error.message;
1317
+ }
1318
+ let obj_comments_union1 = null;
1319
+ const obj_comments_union1_error = (() => {
1320
+ if (obj_comments !== null) {
1321
+ return new TypeError('Expected "null" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
1322
+ }
1323
+ })();
1324
+ if (obj_comments_union1_error != null) {
1325
+ obj_comments_union1 = obj_comments_union1_error.message;
1326
+ }
1327
+ if (obj_comments_union0 && obj_comments_union1) {
1328
+ let message = 'Object doesn\'t match union (at "' + path_comments + '")';
1329
+ message += '\n' + obj_comments_union0.split('\n').map((line) => '\t' + line).join('\n');
1330
+ message += '\n' + obj_comments_union1.split('\n').map((line) => '\t' + line).join('\n');
1331
+ return new TypeError(message);
1332
+ }
1307
1333
  const obj_endTimestamp = obj.endTimestamp;
1308
1334
  const path_endTimestamp = path + '.endTimestamp';
1309
1335
  let obj_endTimestamp_union0 = null;
@@ -1399,6 +1425,10 @@
1399
1425
  name: 'assigneeType',
1400
1426
  kind: 'Scalar'
1401
1427
  },
1428
+ {
1429
+ name: 'comments',
1430
+ kind: 'Scalar'
1431
+ },
1402
1432
  {
1403
1433
  name: 'endTimestamp',
1404
1434
  kind: 'Scalar'
@@ -1504,6 +1534,11 @@
1504
1534
  if (!(existing_assigneeType === incoming_assigneeType)) {
1505
1535
  return false;
1506
1536
  }
1537
+ const existing_comments = existing.comments;
1538
+ const incoming_comments = incoming.comments;
1539
+ if (!(existing_comments === incoming_comments)) {
1540
+ return false;
1541
+ }
1507
1542
  const existing_endTimestamp = existing.endTimestamp;
1508
1543
  const incoming_endTimestamp = incoming.endTimestamp;
1509
1544
  if (!(existing_endTimestamp === incoming_endTimestamp)) {
@@ -1173,7 +1173,7 @@
1173
1173
  };
1174
1174
  };
1175
1175
 
1176
- var VERSION$1 = "ff1ebc5f13699d99fb6b7c63f435c216";
1176
+ var VERSION$1 = "5044bf9d6a7c23eadc7dcfa5d49edeca";
1177
1177
  function validate$1(obj, path) {
1178
1178
  if (path === void 0) { path = 'ManagedContentRunningOrchestrationHistoryEventRepresentation'; }
1179
1179
  var v_error = (function () {
@@ -1310,6 +1310,32 @@
1310
1310
  message += '\n' + obj_assigneeType_union1.split('\n').map(function (line) { return '\t' + line; }).join('\n');
1311
1311
  return new TypeError(message);
1312
1312
  }
1313
+ var obj_comments = obj.comments;
1314
+ var path_comments = path + '.comments';
1315
+ var obj_comments_union0 = null;
1316
+ var obj_comments_union0_error = (function () {
1317
+ if (typeof obj_comments !== 'string') {
1318
+ return new TypeError('Expected "string" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
1319
+ }
1320
+ })();
1321
+ if (obj_comments_union0_error != null) {
1322
+ obj_comments_union0 = obj_comments_union0_error.message;
1323
+ }
1324
+ var obj_comments_union1 = null;
1325
+ var obj_comments_union1_error = (function () {
1326
+ if (obj_comments !== null) {
1327
+ return new TypeError('Expected "null" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
1328
+ }
1329
+ })();
1330
+ if (obj_comments_union1_error != null) {
1331
+ obj_comments_union1 = obj_comments_union1_error.message;
1332
+ }
1333
+ if (obj_comments_union0 && obj_comments_union1) {
1334
+ var message = 'Object doesn\'t match union (at "' + path_comments + '")';
1335
+ message += '\n' + obj_comments_union0.split('\n').map(function (line) { return '\t' + line; }).join('\n');
1336
+ message += '\n' + obj_comments_union1.split('\n').map(function (line) { return '\t' + line; }).join('\n');
1337
+ return new TypeError(message);
1338
+ }
1313
1339
  var obj_endTimestamp = obj.endTimestamp;
1314
1340
  var path_endTimestamp = path + '.endTimestamp';
1315
1341
  var obj_endTimestamp_union0 = null;
@@ -1405,6 +1431,10 @@
1405
1431
  name: 'assigneeType',
1406
1432
  kind: 'Scalar'
1407
1433
  },
1434
+ {
1435
+ name: 'comments',
1436
+ kind: 'Scalar'
1437
+ },
1408
1438
  {
1409
1439
  name: 'endTimestamp',
1410
1440
  kind: 'Scalar'
@@ -1510,6 +1540,11 @@
1510
1540
  if (!(existing_assigneeType === incoming_assigneeType)) {
1511
1541
  return false;
1512
1542
  }
1543
+ var existing_comments = existing.comments;
1544
+ var incoming_comments = incoming.comments;
1545
+ if (!(existing_comments === incoming_comments)) {
1546
+ return false;
1547
+ }
1513
1548
  var existing_endTimestamp = existing.endTimestamp;
1514
1549
  var incoming_endTimestamp = incoming.endTimestamp;
1515
1550
  if (!(existing_endTimestamp === incoming_endTimestamp)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cms-orchestrator",
3
- "version": "1.100.3",
3
+ "version": "1.100.5",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Integration between CMS and Flow Orchestrator.",
6
6
  "main": "dist/umd/es2018/cms-orchestrator.js",
@@ -52,14 +52,14 @@
52
52
  }
53
53
  },
54
54
  "dependencies": {
55
- "@salesforce/lds-bindings": "^1.100.3"
55
+ "@salesforce/lds-bindings": "^1.100.5"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@luvio/cli": "0.135.4",
59
59
  "@luvio/compiler": "0.135.4",
60
60
  "@luvio/engine": "0.135.4",
61
61
  "@luvio/lwc-luvio": "0.135.4",
62
- "@salesforce/lds-karma": "^1.100.3"
62
+ "@salesforce/lds-karma": "^1.100.5"
63
63
  },
64
64
  "volta": {
65
65
  "extends": "../../package.json"
package/sfdc/index.js CHANGED
@@ -1174,7 +1174,7 @@ const getManagedContentOrchestrationInstancesAdapterFactory = (luvio) => functio
1174
1174
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
1175
1175
  };
1176
1176
 
1177
- const VERSION$1 = "ff1ebc5f13699d99fb6b7c63f435c216";
1177
+ const VERSION$1 = "5044bf9d6a7c23eadc7dcfa5d49edeca";
1178
1178
  function validate$1(obj, path = 'ManagedContentRunningOrchestrationHistoryEventRepresentation') {
1179
1179
  const v_error = (() => {
1180
1180
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1310,6 +1310,32 @@ function validate$1(obj, path = 'ManagedContentRunningOrchestrationHistoryEventR
1310
1310
  message += '\n' + obj_assigneeType_union1.split('\n').map((line) => '\t' + line).join('\n');
1311
1311
  return new TypeError(message);
1312
1312
  }
1313
+ const obj_comments = obj.comments;
1314
+ const path_comments = path + '.comments';
1315
+ let obj_comments_union0 = null;
1316
+ const obj_comments_union0_error = (() => {
1317
+ if (typeof obj_comments !== 'string') {
1318
+ return new TypeError('Expected "string" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
1319
+ }
1320
+ })();
1321
+ if (obj_comments_union0_error != null) {
1322
+ obj_comments_union0 = obj_comments_union0_error.message;
1323
+ }
1324
+ let obj_comments_union1 = null;
1325
+ const obj_comments_union1_error = (() => {
1326
+ if (obj_comments !== null) {
1327
+ return new TypeError('Expected "null" but received "' + typeof obj_comments + '" (at "' + path_comments + '")');
1328
+ }
1329
+ })();
1330
+ if (obj_comments_union1_error != null) {
1331
+ obj_comments_union1 = obj_comments_union1_error.message;
1332
+ }
1333
+ if (obj_comments_union0 && obj_comments_union1) {
1334
+ let message = 'Object doesn\'t match union (at "' + path_comments + '")';
1335
+ message += '\n' + obj_comments_union0.split('\n').map((line) => '\t' + line).join('\n');
1336
+ message += '\n' + obj_comments_union1.split('\n').map((line) => '\t' + line).join('\n');
1337
+ return new TypeError(message);
1338
+ }
1313
1339
  const obj_endTimestamp = obj.endTimestamp;
1314
1340
  const path_endTimestamp = path + '.endTimestamp';
1315
1341
  let obj_endTimestamp_union0 = null;
@@ -1405,6 +1431,10 @@ const select$2 = function ManagedContentRunningOrchestrationHistoryEventRepresen
1405
1431
  name: 'assigneeType',
1406
1432
  kind: 'Scalar'
1407
1433
  },
1434
+ {
1435
+ name: 'comments',
1436
+ kind: 'Scalar'
1437
+ },
1408
1438
  {
1409
1439
  name: 'endTimestamp',
1410
1440
  kind: 'Scalar'
@@ -1510,6 +1540,11 @@ function equals$1(existing, incoming) {
1510
1540
  if (!(existing_assigneeType === incoming_assigneeType)) {
1511
1541
  return false;
1512
1542
  }
1543
+ const existing_comments = existing.comments;
1544
+ const incoming_comments = incoming.comments;
1545
+ if (!(existing_comments === incoming_comments)) {
1546
+ return false;
1547
+ }
1513
1548
  const existing_endTimestamp = existing.endTimestamp;
1514
1549
  const incoming_endTimestamp = incoming.endTimestamp;
1515
1550
  if (!(existing_endTimestamp === incoming_endTimestamp)) {
@@ -1821,4 +1856,4 @@ withDefaultLuvio((luvio) => {
1821
1856
  });
1822
1857
 
1823
1858
  export { createManagedContentOrchestrationInstance, getManagedContentOrchestrationDefinitions, getManagedContentOrchestrationDefinitions_imperative, getManagedContentOrchestrationInstances, getManagedContentOrchestrationInstances_imperative, getManagedContentRunningOrchestrationHistoryEvents, getManagedContentRunningOrchestrationHistoryEvents_imperative };
1824
- // version: 1.100.3-8176c84f6
1859
+ // version: 1.100.5-bd2d67d6a
package/src/raml/api.raml CHANGED
@@ -136,6 +136,9 @@ types:
136
136
  - Group
137
137
  - Queue
138
138
  - User
139
+ comments:
140
+ description: Comments
141
+ type: string | nil
139
142
  endTimestamp:
140
143
  description: End Timestamp
141
144
  type: string | nil