@levr-one/cli 0.9.10 → 0.9.11
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-CApWG4CC.js → importHandler-DIQ73h08.js} +2 -2
- package/dist/{listHandler-DVgHTPAo.js → listHandler-BJxEIkd6.js} +1 -1
- package/dist/{loginHandler-DNr7BFcG.js → loginHandler-CORhO7SH.js} +2 -2
- package/dist/{pushHandler-D2pny7nf.js → pushHandler-C0U3Q8Tp.js} +2 -2
- package/dist/{resolve-workspace-CnjFhIwc.js → resolve-workspace-DCnQrM2H.js} +1 -1
- package/dist/{sdk-client-BGSTjArY.js → sdk-client-DXyc1fWZ.js} +35 -13
- package/dist/{selectHandler-Dxcfb6Fj.js → selectHandler-Asn9ElGw.js} +1 -1
- package/dist/{statusHandler-DGPTMfrr.js → statusHandler-DC1bfcrN.js} +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -213,7 +213,7 @@ Examples:
|
|
|
213
213
|
aliases: { d: "device-code" }
|
|
214
214
|
},
|
|
215
215
|
loader: async () => {
|
|
216
|
-
const { loginHandler } = await import("./loginHandler-
|
|
216
|
+
const { loginHandler } = await import("./loginHandler-CORhO7SH.js");
|
|
217
217
|
return loginHandler;
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -252,7 +252,7 @@ Examples:
|
|
|
252
252
|
},
|
|
253
253
|
parameters: {},
|
|
254
254
|
loader: async () => {
|
|
255
|
-
const { statusHandler } = await import("./statusHandler-
|
|
255
|
+
const { statusHandler } = await import("./statusHandler-DC1bfcrN.js");
|
|
256
256
|
return statusHandler;
|
|
257
257
|
}
|
|
258
258
|
});
|
|
@@ -364,7 +364,7 @@ Examples:
|
|
|
364
364
|
}
|
|
365
365
|
},
|
|
366
366
|
loader: async () => {
|
|
367
|
-
const { pushHandler } = await import("./pushHandler-
|
|
367
|
+
const { pushHandler } = await import("./pushHandler-C0U3Q8Tp.js");
|
|
368
368
|
return pushHandler;
|
|
369
369
|
}
|
|
370
370
|
});
|
|
@@ -484,7 +484,7 @@ Examples:
|
|
|
484
484
|
}
|
|
485
485
|
},
|
|
486
486
|
loader: async () => {
|
|
487
|
-
const { importHandler } = await import("./importHandler-
|
|
487
|
+
const { importHandler } = await import("./importHandler-DIQ73h08.js");
|
|
488
488
|
return importHandler;
|
|
489
489
|
}
|
|
490
490
|
});
|
|
@@ -505,7 +505,7 @@ Examples:
|
|
|
505
505
|
},
|
|
506
506
|
parameters: {},
|
|
507
507
|
loader: async () => {
|
|
508
|
-
const { listHandler } = await import("./listHandler-
|
|
508
|
+
const { listHandler } = await import("./listHandler-BJxEIkd6.js");
|
|
509
509
|
return listHandler;
|
|
510
510
|
}
|
|
511
511
|
});
|
|
@@ -538,7 +538,7 @@ Examples:
|
|
|
538
538
|
flags: {}
|
|
539
539
|
},
|
|
540
540
|
loader: async () => {
|
|
541
|
-
const { selectHandler } = await import("./selectHandler-
|
|
541
|
+
const { selectHandler } = await import("./selectHandler-Asn9ElGw.js");
|
|
542
542
|
return selectHandler;
|
|
543
543
|
}
|
|
544
544
|
});
|
|
@@ -562,7 +562,7 @@ Examples:
|
|
|
562
562
|
|
|
563
563
|
//#endregion
|
|
564
564
|
//#region package.json
|
|
565
|
-
var version = "0.9.
|
|
565
|
+
var version = "0.9.11";
|
|
566
566
|
|
|
567
567
|
//#endregion
|
|
568
568
|
//#region src/app.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl, getTeamId } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-
|
|
2
|
+
import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-DXyc1fWZ.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DCnQrM2H.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-DXyc1fWZ.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-DXyc1fWZ.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-DCnQrM2H.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-DXyc1fWZ.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DCnQrM2H.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";
|
|
@@ -12970,13 +12970,15 @@ const zFolderWithChildrenDto = z.object({
|
|
|
12970
12970
|
"Unstarted",
|
|
12971
12971
|
"Pass",
|
|
12972
12972
|
"Fail",
|
|
12973
|
-
"Cancelled"
|
|
12973
|
+
"Cancelled",
|
|
12974
|
+
"Blocked"
|
|
12974
12975
|
]),
|
|
12975
12976
|
total_results: z.number(),
|
|
12976
12977
|
pass_count: z.number(),
|
|
12977
12978
|
fail_count: z.number(),
|
|
12978
12979
|
unstarted_count: z.number(),
|
|
12979
12980
|
cancelled_count: z.number(),
|
|
12981
|
+
blocked_count: z.number(),
|
|
12980
12982
|
is_complete: z.boolean(),
|
|
12981
12983
|
started_at: z.unknown(),
|
|
12982
12984
|
ended_at: z.unknown(),
|
|
@@ -13040,13 +13042,15 @@ const zRootLevelResponseDto = z.object({
|
|
|
13040
13042
|
"Unstarted",
|
|
13041
13043
|
"Pass",
|
|
13042
13044
|
"Fail",
|
|
13043
|
-
"Cancelled"
|
|
13045
|
+
"Cancelled",
|
|
13046
|
+
"Blocked"
|
|
13044
13047
|
]),
|
|
13045
13048
|
total_results: z.number(),
|
|
13046
13049
|
pass_count: z.number(),
|
|
13047
13050
|
fail_count: z.number(),
|
|
13048
13051
|
unstarted_count: z.number(),
|
|
13049
13052
|
cancelled_count: z.number(),
|
|
13053
|
+
blocked_count: z.number(),
|
|
13050
13054
|
is_complete: z.boolean(),
|
|
13051
13055
|
started_at: z.unknown(),
|
|
13052
13056
|
ended_at: z.unknown(),
|
|
@@ -13131,13 +13135,15 @@ const zFolderChildrenResponseDto = z.object({
|
|
|
13131
13135
|
"Unstarted",
|
|
13132
13136
|
"Pass",
|
|
13133
13137
|
"Fail",
|
|
13134
|
-
"Cancelled"
|
|
13138
|
+
"Cancelled",
|
|
13139
|
+
"Blocked"
|
|
13135
13140
|
]),
|
|
13136
13141
|
total_results: z.number(),
|
|
13137
13142
|
pass_count: z.number(),
|
|
13138
13143
|
fail_count: z.number(),
|
|
13139
13144
|
unstarted_count: z.number(),
|
|
13140
13145
|
cancelled_count: z.number(),
|
|
13146
|
+
blocked_count: z.number(),
|
|
13141
13147
|
is_complete: z.boolean(),
|
|
13142
13148
|
started_at: z.unknown(),
|
|
13143
13149
|
ended_at: z.unknown(),
|
|
@@ -15935,7 +15941,8 @@ const zCreateIssueAutomationTestEvidenceDto = z.object({
|
|
|
15935
15941
|
"override",
|
|
15936
15942
|
"not_applicable",
|
|
15937
15943
|
"pending",
|
|
15938
|
-
"skipped"
|
|
15944
|
+
"skipped",
|
|
15945
|
+
"blocked"
|
|
15939
15946
|
]).describe(""),
|
|
15940
15947
|
automation_status_type: z.enum([
|
|
15941
15948
|
"passed",
|
|
@@ -15978,7 +15985,8 @@ const zResponseIssueAutomationTestEvidenceDto = z.object({
|
|
|
15978
15985
|
"override",
|
|
15979
15986
|
"not_applicable",
|
|
15980
15987
|
"pending",
|
|
15981
|
-
"skipped"
|
|
15988
|
+
"skipped",
|
|
15989
|
+
"blocked"
|
|
15982
15990
|
]).describe(""),
|
|
15983
15991
|
automation_status_type: z.enum([
|
|
15984
15992
|
"passed",
|
|
@@ -16027,7 +16035,8 @@ const zUpdateIssueAutomationTestEvidenceDto = z.object({
|
|
|
16027
16035
|
"override",
|
|
16028
16036
|
"not_applicable",
|
|
16029
16037
|
"pending",
|
|
16030
|
-
"skipped"
|
|
16038
|
+
"skipped",
|
|
16039
|
+
"blocked"
|
|
16031
16040
|
]).optional().describe(""),
|
|
16032
16041
|
automation_status_type: z.enum([
|
|
16033
16042
|
"passed",
|
|
@@ -16718,7 +16727,8 @@ const zCreateIssueTestEvidenceDto = z.object({
|
|
|
16718
16727
|
"override",
|
|
16719
16728
|
"not_applicable",
|
|
16720
16729
|
"pending",
|
|
16721
|
-
"skipped"
|
|
16730
|
+
"skipped",
|
|
16731
|
+
"blocked"
|
|
16722
16732
|
]).describe(""),
|
|
16723
16733
|
status_id: z.string().describe(""),
|
|
16724
16734
|
context: z.unknown().optional().describe(""),
|
|
@@ -16742,7 +16752,8 @@ const zResponseIssueTestEvidenceDto = z.object({
|
|
|
16742
16752
|
"override",
|
|
16743
16753
|
"not_applicable",
|
|
16744
16754
|
"pending",
|
|
16745
|
-
"skipped"
|
|
16755
|
+
"skipped",
|
|
16756
|
+
"blocked"
|
|
16746
16757
|
]).describe(""),
|
|
16747
16758
|
status_id: z.string().describe(""),
|
|
16748
16759
|
context: z.unknown().optional().describe(""),
|
|
@@ -16772,7 +16783,8 @@ const zUpdateIssueTestEvidenceDto = z.object({
|
|
|
16772
16783
|
"override",
|
|
16773
16784
|
"not_applicable",
|
|
16774
16785
|
"pending",
|
|
16775
|
-
"skipped"
|
|
16786
|
+
"skipped",
|
|
16787
|
+
"blocked"
|
|
16776
16788
|
]).optional().describe(""),
|
|
16777
16789
|
status_id: z.string().optional().describe(""),
|
|
16778
16790
|
context: z.unknown().optional().describe(""),
|
|
@@ -24262,7 +24274,8 @@ const zRunApiBatchUpdateRunResultVariantsV1Body = z.object({
|
|
|
24262
24274
|
status: z.enum([
|
|
24263
24275
|
"passed",
|
|
24264
24276
|
"failed",
|
|
24265
|
-
"blocked"
|
|
24277
|
+
"blocked",
|
|
24278
|
+
"skipped"
|
|
24266
24279
|
]),
|
|
24267
24280
|
notes: z.string().optional(),
|
|
24268
24281
|
duration_ms: z.number().optional(),
|
|
@@ -24297,12 +24310,14 @@ const zRunNodeDto = z.object({
|
|
|
24297
24310
|
fail_count: z.number().optional(),
|
|
24298
24311
|
unstarted_count: z.number().optional(),
|
|
24299
24312
|
cancelled_count: z.number().optional(),
|
|
24313
|
+
blocked_count: z.number().optional(),
|
|
24300
24314
|
status_counts: z.record(z.string(), z.unknown()).nullable(),
|
|
24301
24315
|
total_executions: z.number().optional(),
|
|
24302
24316
|
exec_pass_count: z.number().optional(),
|
|
24303
24317
|
exec_fail_count: z.number().optional(),
|
|
24304
24318
|
exec_unstarted_count: z.number().optional(),
|
|
24305
24319
|
exec_cancelled_count: z.number().optional(),
|
|
24320
|
+
exec_blocked_count: z.number().optional(),
|
|
24306
24321
|
exec_status_counts: z.record(z.string(), z.unknown()).nullable(),
|
|
24307
24322
|
total_duration_ms: z.number().nullable(),
|
|
24308
24323
|
folder_id: z.string().nullable(),
|
|
@@ -24393,12 +24408,14 @@ const zRunWithContentDto = z.object({
|
|
|
24393
24408
|
fail_count: z.number().optional(),
|
|
24394
24409
|
unstarted_count: z.number().optional(),
|
|
24395
24410
|
cancelled_count: z.number().optional(),
|
|
24411
|
+
blocked_count: z.number().optional(),
|
|
24396
24412
|
status_counts: z.record(z.string(), z.unknown()).nullable(),
|
|
24397
24413
|
total_executions: z.number().optional(),
|
|
24398
24414
|
exec_pass_count: z.number().optional(),
|
|
24399
24415
|
exec_fail_count: z.number().optional(),
|
|
24400
24416
|
exec_unstarted_count: z.number().optional(),
|
|
24401
24417
|
exec_cancelled_count: z.number().optional(),
|
|
24418
|
+
exec_blocked_count: z.number().optional(),
|
|
24402
24419
|
exec_status_counts: z.record(z.string(), z.unknown()).nullable(),
|
|
24403
24420
|
total_duration_ms: z.number().nullable(),
|
|
24404
24421
|
folder_id: z.string().nullable(),
|
|
@@ -24453,6 +24470,7 @@ const zRunWithContentDto = z.object({
|
|
|
24453
24470
|
fail_count: z.number().optional(),
|
|
24454
24471
|
unstarted_count: z.number().optional(),
|
|
24455
24472
|
cancelled_count: z.number().optional(),
|
|
24473
|
+
blocked_count: z.number().optional(),
|
|
24456
24474
|
status_counts: z.record(z.string(), z.unknown()).nullable(),
|
|
24457
24475
|
created_at: z.unknown(),
|
|
24458
24476
|
updated_at: z.unknown(),
|
|
@@ -24501,6 +24519,7 @@ const zRunResultNodeDto = z.object({
|
|
|
24501
24519
|
fail_count: z.number().optional(),
|
|
24502
24520
|
unstarted_count: z.number().optional(),
|
|
24503
24521
|
cancelled_count: z.number().optional(),
|
|
24522
|
+
blocked_count: z.number().optional(),
|
|
24504
24523
|
status_counts: z.record(z.string(), z.unknown()).nullable(),
|
|
24505
24524
|
created_at: z.unknown(),
|
|
24506
24525
|
updated_at: z.unknown(),
|
|
@@ -27381,7 +27400,8 @@ const zCreateStatusDto = z.object({
|
|
|
27381
27400
|
"Unstarted",
|
|
27382
27401
|
"Pass",
|
|
27383
27402
|
"Fail",
|
|
27384
|
-
"Cancelled"
|
|
27403
|
+
"Cancelled",
|
|
27404
|
+
"Blocked"
|
|
27385
27405
|
]).optional().describe(""),
|
|
27386
27406
|
all_projects: z.boolean().optional().describe(""),
|
|
27387
27407
|
spoke_key: z.string().nullable().optional().describe("")
|
|
@@ -27398,7 +27418,8 @@ const zResponseStatusDto = z.object({
|
|
|
27398
27418
|
"Unstarted",
|
|
27399
27419
|
"Pass",
|
|
27400
27420
|
"Fail",
|
|
27401
|
-
"Cancelled"
|
|
27421
|
+
"Cancelled",
|
|
27422
|
+
"Blocked"
|
|
27402
27423
|
]).optional().describe(""),
|
|
27403
27424
|
all_projects: z.boolean().optional().describe(""),
|
|
27404
27425
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
@@ -27423,7 +27444,8 @@ const zUpdateStatusDto = z.object({
|
|
|
27423
27444
|
"Unstarted",
|
|
27424
27445
|
"Pass",
|
|
27425
27446
|
"Fail",
|
|
27426
|
-
"Cancelled"
|
|
27447
|
+
"Cancelled",
|
|
27448
|
+
"Blocked"
|
|
27427
27449
|
]).optional().describe(""),
|
|
27428
27450
|
all_projects: z.boolean().optional().describe(""),
|
|
27429
27451
|
spoke_key: z.string().nullable().optional().describe("")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-DXyc1fWZ.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-DXyc1fWZ.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|