@levr-one/cli 0.7.4 → 0.7.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.
package/dist/cli.js CHANGED
@@ -210,7 +210,7 @@ Examples:
210
210
  aliases: { d: "device-code" }
211
211
  },
212
212
  loader: async () => {
213
- const { loginHandler } = await import("./loginHandler-DnNgbir8.js");
213
+ const { loginHandler } = await import("./loginHandler-DK6BDWGl.js");
214
214
  return loginHandler;
215
215
  }
216
216
  });
@@ -249,7 +249,7 @@ Examples:
249
249
  },
250
250
  parameters: {},
251
251
  loader: async () => {
252
- const { statusHandler } = await import("./statusHandler-smwrCnqh.js");
252
+ const { statusHandler } = await import("./statusHandler-BCENU_VT.js");
253
253
  return statusHandler;
254
254
  }
255
255
  });
@@ -361,7 +361,7 @@ Examples:
361
361
  }
362
362
  },
363
363
  loader: async () => {
364
- const { pushHandler } = await import("./pushHandler-DFP3TcCa.js");
364
+ const { pushHandler } = await import("./pushHandler-Cre9HKXE.js");
365
365
  return pushHandler;
366
366
  }
367
367
  });
@@ -473,7 +473,7 @@ Examples:
473
473
  }
474
474
  },
475
475
  loader: async () => {
476
- const { importHandler } = await import("./importHandler-CD-Exlih.js");
476
+ const { importHandler } = await import("./importHandler-DTrMvQ1C.js");
477
477
  return importHandler;
478
478
  }
479
479
  });
@@ -494,7 +494,7 @@ Examples:
494
494
  },
495
495
  parameters: {},
496
496
  loader: async () => {
497
- const { listHandler } = await import("./listHandler-CHXHMbg1.js");
497
+ const { listHandler } = await import("./listHandler-D4bNcS7_.js");
498
498
  return listHandler;
499
499
  }
500
500
  });
@@ -527,7 +527,7 @@ Examples:
527
527
  flags: {}
528
528
  },
529
529
  loader: async () => {
530
- const { selectHandler } = await import("./selectHandler-CFYGjLTM.js");
530
+ const { selectHandler } = await import("./selectHandler-QERlY819.js");
531
531
  return selectHandler;
532
532
  }
533
533
  });
@@ -551,7 +551,7 @@ Examples:
551
551
 
552
552
  //#endregion
553
553
  //#region package.json
554
- var version = "0.7.4";
554
+ var version = "0.7.5";
555
555
 
556
556
  //#endregion
557
557
  //#region src/app.ts
@@ -1,7 +1,7 @@
1
1
  import { getApiUrl } from "./env-CHeKHu5S.js";
2
- import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-CI63vfJS.js";
2
+ import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-BEjBPgRR.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-BXmc2A5u.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-CqiOEGbw.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-CI63vfJS.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-BEjBPgRR.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-CI63vfJS.js";
2
+ import { configureClient } from "./sdk-client-BEjBPgRR.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-BXmc2A5u.js";
4
+ import { autoSelectWorkspace } from "./resolve-workspace-CqiOEGbw.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-CI63vfJS.js";
2
+ import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-BEjBPgRR.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-BXmc2A5u.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-CqiOEGbw.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-CI63vfJS.js";
1
+ import { authGetSitesV1 } from "./sdk-client-BEjBPgRR.js";
2
2
  import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-DDOxnut1.js";
3
3
 
4
4
  //#region src/workspace/resolve-workspace.ts
@@ -9919,6 +9919,9 @@ const zCreateCycleDto = z.object({
9919
9919
  scope_initial: z.number().optional().describe(""),
9920
9920
  scope_final: z.number().optional().describe(""),
9921
9921
  completed_scope: z.number().optional().describe(""),
9922
+ testing_scope_initial: z.number().optional().describe(""),
9923
+ testing_scope_final: z.number().optional().describe(""),
9924
+ testing_completed_scope: z.number().optional().describe(""),
9922
9925
  scope_is_mixed_unit: z.boolean().optional().describe(""),
9923
9926
  completed_at: z.unknown().optional().describe(""),
9924
9927
  status: z.string().optional().describe(""),
@@ -9938,6 +9941,9 @@ const zResponseCycleDto = z.object({
9938
9941
  scope_initial: z.number().optional().describe(""),
9939
9942
  scope_final: z.number().optional().describe(""),
9940
9943
  completed_scope: z.number().optional().describe(""),
9944
+ testing_scope_initial: z.number().optional().describe(""),
9945
+ testing_scope_final: z.number().optional().describe(""),
9946
+ testing_completed_scope: z.number().optional().describe(""),
9941
9947
  scope_is_mixed_unit: z.boolean().optional().describe(""),
9942
9948
  completed_at: z.unknown().optional().describe(""),
9943
9949
  status: z.string().optional().describe(""),
@@ -9966,6 +9972,9 @@ const zUpdateCycleDto = z.object({
9966
9972
  scope_initial: z.number().optional().describe(""),
9967
9973
  scope_final: z.number().optional().describe(""),
9968
9974
  completed_scope: z.number().optional().describe(""),
9975
+ testing_scope_initial: z.number().optional().describe(""),
9976
+ testing_scope_final: z.number().optional().describe(""),
9977
+ testing_completed_scope: z.number().optional().describe(""),
9969
9978
  scope_is_mixed_unit: z.boolean().optional().describe(""),
9970
9979
  completed_at: z.unknown().optional().describe(""),
9971
9980
  status: z.string().optional().describe(""),
@@ -10024,6 +10033,9 @@ const zCycleFindAllV1Data = z.object({
10024
10033
  "filter.scope_initial": z.array(z.string()).optional(),
10025
10034
  "filter.scope_final": z.array(z.string()).optional(),
10026
10035
  "filter.completed_scope": z.array(z.string()).optional(),
10036
+ "filter.testing_scope_initial": z.array(z.string()).optional(),
10037
+ "filter.testing_scope_final": z.array(z.string()).optional(),
10038
+ "filter.testing_completed_scope": z.array(z.string()).optional(),
10027
10039
  "filter.scope_is_mixed_unit": z.array(z.string()).optional(),
10028
10040
  "filter.completed_at": z.array(z.string()).optional(),
10029
10041
  "filter.status": z.array(z.string()).optional(),
@@ -10055,6 +10067,12 @@ const zCycleFindAllV1Data = z.object({
10055
10067
  "scope_final:DESC",
10056
10068
  "completed_scope:ASC",
10057
10069
  "completed_scope:DESC",
10070
+ "testing_scope_initial:ASC",
10071
+ "testing_scope_initial:DESC",
10072
+ "testing_scope_final:ASC",
10073
+ "testing_scope_final:DESC",
10074
+ "testing_completed_scope:ASC",
10075
+ "testing_completed_scope:DESC",
10058
10076
  "completed_at:ASC",
10059
10077
  "completed_at:DESC",
10060
10078
  "status:ASC",
@@ -24062,6 +24080,7 @@ const zCreateRunDto = z.object({
24062
24080
  project_id: z.string().nullable(),
24063
24081
  test_scope_id: z.string().nullable(),
24064
24082
  cycle_id: z.string().nullable(),
24083
+ auto_add_tests_to_team: z.boolean().optional(),
24065
24084
  name: z.string().optional(),
24066
24085
  run_type: z.enum([
24067
24086
  "manual",
@@ -24326,10 +24345,14 @@ const zUpdateExecutionStepDto = z.object({
24326
24345
  });
24327
24346
  const zAddTestsToRunDto = z.object({
24328
24347
  tests: z.array(z.object({ test_id: z.string() })),
24329
- environment_ids: z.array(z.string()).optional()
24348
+ environment_ids: z.array(z.string()).optional(),
24349
+ auto_add_tests_to_team: z.boolean().optional()
24330
24350
  });
24331
24351
  const zUpdateTestsEpochDto = z.object({ run_result_ids: z.array(z.string()).optional() });
24332
- const zRefreshFolderDto = z.object({ folder_id: z.string() });
24352
+ const zRefreshFolderDto = z.object({
24353
+ folder_id: z.string(),
24354
+ auto_add_tests_to_team: z.boolean().optional()
24355
+ });
24333
24356
  const zRefreshFolderResultDto = z.object({
24334
24357
  added: z.number(),
24335
24358
  removed: z.number(),
@@ -28253,7 +28276,9 @@ const zPreviewImportResponseDto = z.object({
28253
28276
  "unknown"
28254
28277
  ]).optional(),
28255
28278
  labelPrefix: z.string().optional().describe(""),
28256
- descriptionHeading: z.string().optional().describe("")
28279
+ descriptionHeading: z.string().optional().describe(""),
28280
+ teamQualifier: z.string().optional().describe(""),
28281
+ team_id: z.string().optional().describe("")
28257
28282
  })),
28258
28283
  missing_required: z.array(z.string()),
28259
28284
  sample_rows: z.array(z.record(z.string(), z.unknown())),
@@ -28366,7 +28391,9 @@ const zCommitImportDto = z.object({
28366
28391
  "unknown"
28367
28392
  ]).optional(),
28368
28393
  labelPrefix: z.string().optional().describe(""),
28369
- descriptionHeading: z.string().optional().describe("")
28394
+ descriptionHeading: z.string().optional().describe(""),
28395
+ teamQualifier: z.string().optional().describe(""),
28396
+ team_id: z.string().optional().describe("")
28370
28397
  })).optional().describe(""),
28371
28398
  assignee_plan: z.object({
28372
28399
  role: z.enum([
@@ -28917,11 +28944,13 @@ const zTestScopeRestoreV1Data = z.object({
28917
28944
  //#region ../sdk/dist/gen/test-team/zod.js
28918
28945
  const zCreateTestTeamDto = z.object({
28919
28946
  id: z.string().optional().describe(""),
28947
+ estimate: z.number().nullable().optional().describe(""),
28920
28948
  test_id: z.string(),
28921
28949
  team_id: z.string()
28922
28950
  });
28923
28951
  const zResponseTestTeamDto = z.object({
28924
28952
  id: z.string().describe(""),
28953
+ estimate: z.number().nullable().optional().describe(""),
28925
28954
  test_id: z.string(),
28926
28955
  team_id: z.string(),
28927
28956
  created_at: z.unknown().describe(""),
@@ -28933,6 +28962,7 @@ const zResponseTestTeamDto = z.object({
28933
28962
  });
28934
28963
  const zUpdateTestTeamDto = z.object({
28935
28964
  id: z.string().optional().describe(""),
28965
+ estimate: z.number().nullable().optional().describe(""),
28936
28966
  test_id: z.string().optional(),
28937
28967
  team_id: z.string().optional()
28938
28968
  });
@@ -28977,6 +29007,7 @@ const zTestTeamFindAllV1Data = z.object({
28977
29007
  "page": z.number().optional(),
28978
29008
  "limit": z.number().optional(),
28979
29009
  "filter.id": z.array(z.string()).optional(),
29010
+ "filter.estimate": z.array(z.string()).optional(),
28980
29011
  "filter.test_id": z.array(z.string()).optional(),
28981
29012
  "filter.team_id": z.array(z.string()).optional(),
28982
29013
  "filter.created_at": z.array(z.string()).optional(),
@@ -28984,6 +29015,8 @@ const zTestTeamFindAllV1Data = z.object({
28984
29015
  "sortBy": z.array(z.enum([
28985
29016
  "id:ASC",
28986
29017
  "id:DESC",
29018
+ "estimate:ASC",
29019
+ "estimate:DESC",
28987
29020
  "created_at:ASC",
28988
29021
  "created_at:DESC",
28989
29022
  "updated_at:ASC",
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-CI63vfJS.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-BEjBPgRR.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-CI63vfJS.js";
2
+ import { authGetProfileV1, configureClient } from "./sdk-client-BEjBPgRR.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.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",