@justworkflowit/cdk-constructs 0.0.307 → 0.0.308

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.
@@ -40650,7 +40650,7 @@ var require_models_0 = __commonJS({
40650
40650
  "../JustWorkflowItApiClient/dist-cjs/models/models_0.js"(exports2) {
40651
40651
  "use strict";
40652
40652
  Object.defineProperty(exports2, "__esModule", { value: true });
40653
- exports2.WorkflowVersionSelector = exports2.WorkflowMetricType = exports2.TimeBucket = exports2.MetricAggregation = exports2.JobStatus = exports2.ExecutionStatus = exports2.HistorySource = exports2.OrgRole = exports2.PermissionEnum = exports2.ValidationError = exports2.UnhandledError = exports2.NotFoundError = exports2.AuthorizationError = exports2.AuthenticationError = void 0;
40653
+ exports2.WorkflowVersionSelector = exports2.WorkflowMetricType = exports2.TimeBucket = exports2.MetricAggregation = exports2.ExecutionStatus = exports2.HistorySource = exports2.OrgRole = exports2.JobStatus = exports2.PermissionEnum = exports2.ValidationError = exports2.UnhandledError = exports2.NotFoundError = exports2.AuthorizationError = exports2.AuthenticationError = void 0;
40654
40654
  var JustWorkflowItServiceException_1 = require_JustWorkflowItServiceException();
40655
40655
  var AuthenticationError = class _AuthenticationError extends JustWorkflowItServiceException_1.JustWorkflowItServiceException {
40656
40656
  name = "AuthenticationError";
@@ -40788,6 +40788,13 @@ var require_models_0 = __commonJS({
40788
40788
  WORKFLOW_VERSION_CREATE: "workflow:version:create",
40789
40789
  WORKFLOW_VERSION_READ: "workflow:version:read"
40790
40790
  };
40791
+ exports2.JobStatus = {
40792
+ CANCELLED: "CANCELLED",
40793
+ FAILED: "FAILED",
40794
+ PENDING: "PENDING",
40795
+ RUNNING: "RUNNING",
40796
+ SUCCEEDED: "SUCCEEDED"
40797
+ };
40791
40798
  exports2.OrgRole = {
40792
40799
  MEMBER: "member",
40793
40800
  OWNER: "owner"
@@ -40801,13 +40808,6 @@ var require_models_0 = __commonJS({
40801
40808
  SUCCESS: "success",
40802
40809
  SUCCESSFUL_BUT_INCOMPLETE: "successful_but_incomplete"
40803
40810
  };
40804
- exports2.JobStatus = {
40805
- CANCELLED: "CANCELLED",
40806
- FAILED: "FAILED",
40807
- PENDING: "PENDING",
40808
- RUNNING: "RUNNING",
40809
- SUCCEEDED: "SUCCEEDED"
40810
- };
40811
40811
  exports2.MetricAggregation = {
40812
40812
  AVG: "avg",
40813
40813
  COUNT: "count",
@@ -41692,7 +41692,9 @@ var require_Aws_restJson1 = __commonJS({
41692
41692
  });
41693
41693
  const data2 = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
41694
41694
  const doc = (0, smithy_client_1.take)(data2, {
41695
- "job": (_) => de_JobSummary(_, context)
41695
+ "childJobs": (_) => de_ChildJobSummaryList(_, context),
41696
+ "job": (_) => de_JobSummary(_, context),
41697
+ "parentJob": smithy_client_1._json
41696
41698
  });
41697
41699
  Object.assign(contents, doc);
41698
41700
  return contents;
@@ -42388,6 +42390,22 @@ var require_Aws_restJson1 = __commonJS({
42388
42390
  });
42389
42391
  return retVal;
42390
42392
  };
42393
+ var de_ChildJobSummary = (output, context) => {
42394
+ return (0, smithy_client_1.take)(output, {
42395
+ "createdAt": (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
42396
+ "finishedAt": (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
42397
+ "jobId": smithy_client_1.expectString,
42398
+ "parentStepName": smithy_client_1.expectString,
42399
+ "status": smithy_client_1.expectString,
42400
+ "workflowName": smithy_client_1.expectString
42401
+ });
42402
+ };
42403
+ var de_ChildJobSummaryList = (output, context) => {
42404
+ const retVal = (output || []).filter((e4) => e4 != null).map((entry) => {
42405
+ return de_ChildJobSummary(entry, context);
42406
+ });
42407
+ return retVal;
42408
+ };
42391
42409
  var de_ExecutionHistoryItem = (output, context) => {
42392
42410
  return (0, smithy_client_1.take)(output, {
42393
42411
  "endTimestamp": (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
@@ -42414,6 +42432,8 @@ var require_Aws_restJson1 = __commonJS({
42414
42432
  "createdAt": (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
42415
42433
  "finishedAt": (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
42416
42434
  "jobId": smithy_client_1.expectString,
42435
+ "parentJobId": smithy_client_1.expectString,
42436
+ "parentStepName": smithy_client_1.expectString,
42417
42437
  "startedAt": (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
42418
42438
  "status": smithy_client_1.expectString,
42419
42439
  "submittedByUser": smithy_client_1.expectString,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justworkflowit/cdk-constructs",
3
3
  "description": "",
4
- "version": "0.0.307",
4
+ "version": "0.0.308",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "publishConfig": {