@levr-one/cli 0.6.1 → 0.6.3

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/cli.js CHANGED
@@ -180,7 +180,7 @@ Examples:
180
180
  aliases: { d: "device-code" }
181
181
  },
182
182
  loader: async () => {
183
- const { loginHandler } = await import("./loginHandler-BJePDkFr.js");
183
+ const { loginHandler } = await import("./loginHandler-DBWzVEjl.js");
184
184
  return loginHandler;
185
185
  }
186
186
  });
@@ -219,7 +219,7 @@ Examples:
219
219
  },
220
220
  parameters: {},
221
221
  loader: async () => {
222
- const { statusHandler } = await import("./statusHandler-g3hzHlgw.js");
222
+ const { statusHandler } = await import("./statusHandler-2MiayG0a.js");
223
223
  return statusHandler;
224
224
  }
225
225
  });
@@ -331,7 +331,7 @@ Examples:
331
331
  }
332
332
  },
333
333
  loader: async () => {
334
- const { pushHandler } = await import("./pushHandler-Bn9duk_v.js");
334
+ const { pushHandler } = await import("./pushHandler-DOd5OOac.js");
335
335
  return pushHandler;
336
336
  }
337
337
  });
@@ -443,7 +443,7 @@ Examples:
443
443
  }
444
444
  },
445
445
  loader: async () => {
446
- const { importHandler } = await import("./importHandler-PKloeMEB.js");
446
+ const { importHandler } = await import("./importHandler-CitXR9Ri.js");
447
447
  return importHandler;
448
448
  }
449
449
  });
@@ -464,7 +464,7 @@ Examples:
464
464
  },
465
465
  parameters: {},
466
466
  loader: async () => {
467
- const { listHandler } = await import("./listHandler-Cw7vOEX8.js");
467
+ const { listHandler } = await import("./listHandler-ClO7EAUO.js");
468
468
  return listHandler;
469
469
  }
470
470
  });
@@ -497,7 +497,7 @@ Examples:
497
497
  flags: {}
498
498
  },
499
499
  loader: async () => {
500
- const { selectHandler } = await import("./selectHandler--deDNSLo.js");
500
+ const { selectHandler } = await import("./selectHandler-D_8NM8xu.js");
501
501
  return selectHandler;
502
502
  }
503
503
  });
@@ -521,7 +521,7 @@ Examples:
521
521
 
522
522
  //#endregion
523
523
  //#region package.json
524
- var version = "0.6.1";
524
+ var version = "0.6.3";
525
525
 
526
526
  //#endregion
527
527
  //#region src/app.ts
@@ -1,7 +1,7 @@
1
1
  import { getApiUrl } from "./env-CHeKHu5S.js";
2
- import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-B-VzOmAI.js";
2
+ import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-BiL2IIHy.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-BQweLrDF.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-DAK85RyK.js";
5
5
  import "./token-refresh-Cu5RpkLJ.js";
6
6
  import { resolveToken } from "./resolve-token-DbQsmn03.js";
7
7
  import chalk from "chalk";
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-B-VzOmAI.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-BiL2IIHy.js";
3
3
  import { loadWorkspace } from "./workspace-store-DDOxnut1.js";
4
4
  import "./token-refresh-Cu5RpkLJ.js";
5
5
  import { resolveToken } from "./resolve-token-DbQsmn03.js";
@@ -1,7 +1,7 @@
1
1
  import { CLI_CLIENT_ID, getApiUrl, getAuthUrl, setSessionApiUrl, writeCredentials } from "./env-CHeKHu5S.js";
2
- import { configureClient } from "./sdk-client-B-VzOmAI.js";
2
+ import { configureClient } from "./sdk-client-BiL2IIHy.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-BQweLrDF.js";
4
+ import { autoSelectWorkspace } from "./resolve-workspace-DAK85RyK.js";
5
5
  import chalk from "chalk";
6
6
  import { createHash, randomBytes } from "node:crypto";
7
7
  import { createServer } from "node:http";
@@ -1,7 +1,7 @@
1
1
  import { getApiUrl, getAutomationSourceIdOverride, getSourceOverride, getTeamId } from "./env-CHeKHu5S.js";
2
- import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-B-VzOmAI.js";
2
+ import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-BiL2IIHy.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-BQweLrDF.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-DAK85RyK.js";
5
5
  import "./token-refresh-Cu5RpkLJ.js";
6
6
  import { resolveToken } from "./resolve-token-DbQsmn03.js";
7
7
  import { readFileSync, statSync } from "node:fs";
@@ -1,4 +1,4 @@
1
- import { authGetSitesV1 } from "./sdk-client-B-VzOmAI.js";
1
+ import { authGetSitesV1 } from "./sdk-client-BiL2IIHy.js";
2
2
  import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-DDOxnut1.js";
3
3
 
4
4
  //#region src/workspace/resolve-workspace.ts
@@ -15750,6 +15750,35 @@ const zIssueUnarchiveV1Data = z.object({
15750
15750
  url: z.literal("/v1/issue/{id}/unarchive")
15751
15751
  });
15752
15752
 
15753
+ //#endregion
15754
+ //#region ../sdk/dist/gen/issue-assign/zod.js
15755
+ const zAssignIssueDto = z.object({
15756
+ assignee_id: z.string().nullable().describe(""),
15757
+ child_assignment: z.enum(["leave_children", "cascade_children"]).optional().describe("")
15758
+ });
15759
+ const zAssignCascadeIssueRefDto = z.object({
15760
+ id: z.string(),
15761
+ identifier: z.record(z.string(), z.unknown()).nullable(),
15762
+ title: z.record(z.string(), z.unknown()).nullable()
15763
+ });
15764
+ const zAssignCascadeSkipDto = z.object({
15765
+ issue: zAssignCascadeIssueRefDto,
15766
+ reason: z.string()
15767
+ });
15768
+ const zAssignCascadeOutcomeDto = z.object({
15769
+ cascaded: z.array(zAssignCascadeIssueRefDto),
15770
+ skipped: z.array(zAssignCascadeSkipDto)
15771
+ });
15772
+ const zAssignIssueResponseDto = z.object({
15773
+ issue: zResponseIssueDto,
15774
+ cascade: zAssignCascadeOutcomeDto
15775
+ });
15776
+ const zIssueAssignAssignV1Data = z.object({
15777
+ body: zAssignIssueDto,
15778
+ path: z.object({ "id": z.string() }),
15779
+ url: z.literal("/v1/issue/{id}/assign")
15780
+ });
15781
+
15753
15782
  //#endregion
15754
15783
  //#region ../sdk/dist/gen/issue-automation-test-evidence/zod.js
15755
15784
  const zCreateIssueAutomationTestEvidenceDto = z.object({
@@ -23953,6 +23982,10 @@ const zBulkAssignRunResultsDto = z.object({
23953
23982
  run_result_ids: z.array(z.string()),
23954
23983
  assignee_id: z.string().nullable()
23955
23984
  });
23985
+ const zBulkSetRunResultStatusDto = z.object({
23986
+ run_result_ids: z.array(z.string()),
23987
+ status_id: z.string()
23988
+ });
23956
23989
  const zRunResultVariantNodeDto = z.object({
23957
23990
  type: z.enum(["run_result_variant"]),
23958
23991
  id: z.string(),
@@ -24148,6 +24181,11 @@ const zRunApiBulkAssignRunResultsV1Data = z.object({
24148
24181
  path: z.object({ "runId": z.string() }),
24149
24182
  url: z.literal("/v1/run/{runId}/run-results/bulk-assign")
24150
24183
  });
24184
+ const zRunApiBulkSetRunResultStatusV1Data = z.object({
24185
+ body: zBulkSetRunResultStatusDto,
24186
+ path: z.object({ "runId": z.string() }),
24187
+ url: z.literal("/v1/run/{runId}/run-results/bulk-status")
24188
+ });
24151
24189
  const zRunApiFindRunResultVariantsV1Data = z.object({
24152
24190
  path: z.object({
24153
24191
  "runId": z.string(),
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-B-VzOmAI.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-BiL2IIHy.js";
3
3
  import { saveWorkspace } from "./workspace-store-DDOxnut1.js";
4
4
  import "./token-refresh-Cu5RpkLJ.js";
5
5
  import { resolveToken } from "./resolve-token-DbQsmn03.js";
@@ -1,5 +1,5 @@
1
1
  import { getApiUrl, getPatToken, readCredentials } from "./env-CHeKHu5S.js";
2
- import { authGetProfileV1, configureClient } from "./sdk-client-B-VzOmAI.js";
2
+ import { authGetProfileV1, configureClient } from "./sdk-client-BiL2IIHy.js";
3
3
  import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
4
4
  import chalk from "chalk";
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levr-one/cli",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",