@levr-one/cli 0.7.3 → 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 +7 -7
- package/dist/{importHandler-dhigBEFY.js → importHandler-DTrMvQ1C.js} +2 -2
- package/dist/{listHandler-C1mahccW.js → listHandler-D4bNcS7_.js} +1 -1
- package/dist/{loginHandler-DlWJqsCW.js → loginHandler-DK6BDWGl.js} +2 -2
- package/dist/{pushHandler-U1DKVKqQ.js → pushHandler-Cre9HKXE.js} +2 -2
- package/dist/{resolve-workspace-2tz7TqNG.js → resolve-workspace-CqiOEGbw.js} +1 -1
- package/dist/{sdk-client-Dif5z0JV.js → sdk-client-BEjBPgRR.js} +38 -4
- package/dist/{selectHandler-Ciisve9X.js → selectHandler-QERlY819.js} +1 -1
- package/dist/{statusHandler-CUiL1y3w.js → statusHandler-BCENU_VT.js} +1 -1
- package/package.json +1 -1
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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-
|
|
2
|
+
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-BEjBPgRR.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
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-
|
|
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-
|
|
2
|
+
import { configureClient } from "./sdk-client-BEjBPgRR.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
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-
|
|
2
|
+
import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-BEjBPgRR.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
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";
|
|
@@ -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({
|
|
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(),
|
|
@@ -27387,6 +27410,7 @@ const zIngestRequestDto = z.object({
|
|
|
27387
27410
|
advance_cursor_to: z.string().optional(),
|
|
27388
27411
|
force_upsert: z.boolean().optional()
|
|
27389
27412
|
});
|
|
27413
|
+
const zSyncGetSseContextV1Data = z.object({ url: z.literal("/v1/sync/sse-context") });
|
|
27390
27414
|
const zSyncGetLastSyncIdV1Data = z.object({ url: z.literal("/v1/sync/last-sync-id") });
|
|
27391
27415
|
const zSyncBootstrapV1Data = z.object({
|
|
27392
27416
|
body: zBootstrapRequestDto,
|
|
@@ -28252,7 +28276,9 @@ const zPreviewImportResponseDto = z.object({
|
|
|
28252
28276
|
"unknown"
|
|
28253
28277
|
]).optional(),
|
|
28254
28278
|
labelPrefix: z.string().optional().describe(""),
|
|
28255
|
-
descriptionHeading: z.string().optional().describe("")
|
|
28279
|
+
descriptionHeading: z.string().optional().describe(""),
|
|
28280
|
+
teamQualifier: z.string().optional().describe(""),
|
|
28281
|
+
team_id: z.string().optional().describe("")
|
|
28256
28282
|
})),
|
|
28257
28283
|
missing_required: z.array(z.string()),
|
|
28258
28284
|
sample_rows: z.array(z.record(z.string(), z.unknown())),
|
|
@@ -28365,7 +28391,9 @@ const zCommitImportDto = z.object({
|
|
|
28365
28391
|
"unknown"
|
|
28366
28392
|
]).optional(),
|
|
28367
28393
|
labelPrefix: z.string().optional().describe(""),
|
|
28368
|
-
descriptionHeading: z.string().optional().describe("")
|
|
28394
|
+
descriptionHeading: z.string().optional().describe(""),
|
|
28395
|
+
teamQualifier: z.string().optional().describe(""),
|
|
28396
|
+
team_id: z.string().optional().describe("")
|
|
28369
28397
|
})).optional().describe(""),
|
|
28370
28398
|
assignee_plan: z.object({
|
|
28371
28399
|
role: z.enum([
|
|
@@ -28916,11 +28944,13 @@ const zTestScopeRestoreV1Data = z.object({
|
|
|
28916
28944
|
//#region ../sdk/dist/gen/test-team/zod.js
|
|
28917
28945
|
const zCreateTestTeamDto = z.object({
|
|
28918
28946
|
id: z.string().optional().describe(""),
|
|
28947
|
+
estimate: z.number().nullable().optional().describe(""),
|
|
28919
28948
|
test_id: z.string(),
|
|
28920
28949
|
team_id: z.string()
|
|
28921
28950
|
});
|
|
28922
28951
|
const zResponseTestTeamDto = z.object({
|
|
28923
28952
|
id: z.string().describe(""),
|
|
28953
|
+
estimate: z.number().nullable().optional().describe(""),
|
|
28924
28954
|
test_id: z.string(),
|
|
28925
28955
|
team_id: z.string(),
|
|
28926
28956
|
created_at: z.unknown().describe(""),
|
|
@@ -28932,6 +28962,7 @@ const zResponseTestTeamDto = z.object({
|
|
|
28932
28962
|
});
|
|
28933
28963
|
const zUpdateTestTeamDto = z.object({
|
|
28934
28964
|
id: z.string().optional().describe(""),
|
|
28965
|
+
estimate: z.number().nullable().optional().describe(""),
|
|
28935
28966
|
test_id: z.string().optional(),
|
|
28936
28967
|
team_id: z.string().optional()
|
|
28937
28968
|
});
|
|
@@ -28976,6 +29007,7 @@ const zTestTeamFindAllV1Data = z.object({
|
|
|
28976
29007
|
"page": z.number().optional(),
|
|
28977
29008
|
"limit": z.number().optional(),
|
|
28978
29009
|
"filter.id": z.array(z.string()).optional(),
|
|
29010
|
+
"filter.estimate": z.array(z.string()).optional(),
|
|
28979
29011
|
"filter.test_id": z.array(z.string()).optional(),
|
|
28980
29012
|
"filter.team_id": z.array(z.string()).optional(),
|
|
28981
29013
|
"filter.created_at": z.array(z.string()).optional(),
|
|
@@ -28983,6 +29015,8 @@ const zTestTeamFindAllV1Data = z.object({
|
|
|
28983
29015
|
"sortBy": z.array(z.enum([
|
|
28984
29016
|
"id:ASC",
|
|
28985
29017
|
"id:DESC",
|
|
29018
|
+
"estimate:ASC",
|
|
29019
|
+
"estimate:DESC",
|
|
28986
29020
|
"created_at:ASC",
|
|
28987
29021
|
"created_at:DESC",
|
|
28988
29022
|
"updated_at:ASC",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
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-
|
|
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
|
|