@levr-one/cli 0.9.16 → 0.9.17
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-CsMiEAD7.js → importHandler-BOeatReV.js} +2 -2
- package/dist/{listHandler-ItVPaAzR.js → listHandler-BmScgMlI.js} +1 -1
- package/dist/{loginHandler-C8f4O_GL.js → loginHandler-CubmtHgD.js} +2 -2
- package/dist/{pushHandler-B-GGC-Qc.js → pushHandler-C_aoYn2d.js} +2 -2
- package/dist/{resolve-workspace-D0xYKcDn.js → resolve-workspace-DLUMQYp4.js} +1 -1
- package/dist/{sdk-client-pfFJmNaX.js → sdk-client-DNDMNs0m.js} +131 -36
- package/dist/{selectHandler-BZ8uzy81.js → selectHandler-Cx7960Rx.js} +1 -1
- package/dist/{statusHandler-BZbHhWmF.js → statusHandler-tNFnC0fb.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-CubmtHgD.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-tNFnC0fb.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-C_aoYn2d.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-BOeatReV.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-BmScgMlI.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-Cx7960Rx.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.17";
|
|
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-DNDMNs0m.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DLUMQYp4.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-DNDMNs0m.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-DNDMNs0m.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-DLUMQYp4.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-DNDMNs0m.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DLUMQYp4.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";
|
|
@@ -37,6 +37,7 @@ const zResponseIssueDto = z.object({
|
|
|
37
37
|
gate_set_id: z.string().nullable().optional().describe(""),
|
|
38
38
|
milestone_id: z.string().nullable().optional().describe(""),
|
|
39
39
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
40
|
+
gate_run_id: z.string().nullable().optional().describe(""),
|
|
40
41
|
project_id: z.string().nullable().optional(),
|
|
41
42
|
assignee_id: z.string().nullable().optional(),
|
|
42
43
|
parent_id: z.string().nullable().optional(),
|
|
@@ -13845,6 +13846,7 @@ const zCreateGateInstanceDto = z.object({
|
|
|
13845
13846
|
required: z.boolean().optional().describe(""),
|
|
13846
13847
|
last_checked_at: z.unknown().optional().describe(""),
|
|
13847
13848
|
issue_id: z.string(),
|
|
13849
|
+
issue_test_link_id: z.string().nullable().optional(),
|
|
13848
13850
|
gate_definition_id: z.string(),
|
|
13849
13851
|
gate_set_id: z.string().nullable().optional(),
|
|
13850
13852
|
verified_by: z.string().nullable().optional(),
|
|
@@ -13862,6 +13864,7 @@ const zResponseGateInstanceDto = z.object({
|
|
|
13862
13864
|
required: z.boolean().optional().describe(""),
|
|
13863
13865
|
last_checked_at: z.unknown().optional().describe(""),
|
|
13864
13866
|
issue_id: z.string(),
|
|
13867
|
+
issue_test_link_id: z.string().nullable().optional(),
|
|
13865
13868
|
gate_definition_id: z.string(),
|
|
13866
13869
|
gate_set_id: z.string().nullable().optional(),
|
|
13867
13870
|
verified_by: z.string().nullable().optional(),
|
|
@@ -13887,6 +13890,7 @@ const zUpdateGateInstanceDto = z.object({
|
|
|
13887
13890
|
required: z.boolean().optional().describe(""),
|
|
13888
13891
|
last_checked_at: z.unknown().optional().describe(""),
|
|
13889
13892
|
issue_id: z.string().optional(),
|
|
13893
|
+
issue_test_link_id: z.string().nullable().optional(),
|
|
13890
13894
|
gate_definition_id: z.string().optional(),
|
|
13891
13895
|
gate_set_id: z.string().nullable().optional(),
|
|
13892
13896
|
verified_by: z.string().nullable().optional(),
|
|
@@ -13923,15 +13927,6 @@ const zBulkGateInstanceResponseDto = z.object({
|
|
|
13923
13927
|
savepoints_used: z.number().describe("")
|
|
13924
13928
|
}).describe("")
|
|
13925
13929
|
});
|
|
13926
|
-
const zGateInstanceWaiveGateV1Data = z.object({
|
|
13927
|
-
body: zGateInstanceWaiveGateV1Body,
|
|
13928
|
-
path: z.object({ "id": z.string() }),
|
|
13929
|
-
url: z.literal("/v1/gate-instance/{id}/waive")
|
|
13930
|
-
});
|
|
13931
|
-
const zGateInstanceRevokeWaiverV1Data = z.object({
|
|
13932
|
-
path: z.object({ "id": z.string() }),
|
|
13933
|
-
url: z.literal("/v1/gate-instance/{id}/revoke-waiver")
|
|
13934
|
-
});
|
|
13935
13930
|
const zGateInstanceCreateV1Data = z.object({
|
|
13936
13931
|
body: zCreateGateInstanceDto,
|
|
13937
13932
|
url: z.literal("/v1/gate-instance")
|
|
@@ -13951,6 +13946,7 @@ const zGateInstanceFindAllV1Data = z.object({
|
|
|
13951
13946
|
"filter.required": z.array(z.string()).optional(),
|
|
13952
13947
|
"filter.last_checked_at": z.array(z.string()).optional(),
|
|
13953
13948
|
"filter.issue_id": z.array(z.string()).optional(),
|
|
13949
|
+
"filter.issue_test_link_id": z.array(z.string()).optional(),
|
|
13954
13950
|
"filter.gate_definition_id": z.array(z.string()).optional(),
|
|
13955
13951
|
"filter.gate_set_id": z.array(z.string()).optional(),
|
|
13956
13952
|
"filter.verified_by": z.array(z.string()).optional(),
|
|
@@ -13975,6 +13971,8 @@ const zGateInstanceFindAllV1Data = z.object({
|
|
|
13975
13971
|
"consecutive_fails:DESC",
|
|
13976
13972
|
"last_checked_at:ASC",
|
|
13977
13973
|
"last_checked_at:DESC",
|
|
13974
|
+
"issue_test_link_id:ASC",
|
|
13975
|
+
"issue_test_link_id:DESC",
|
|
13978
13976
|
"gate_set_id:ASC",
|
|
13979
13977
|
"gate_set_id:DESC",
|
|
13980
13978
|
"verified_by:ASC",
|
|
@@ -14015,6 +14013,15 @@ const zGateInstanceRestoreV1Data = z.object({
|
|
|
14015
14013
|
path: z.object({ "id": z.string() }),
|
|
14016
14014
|
url: z.literal("/v1/gate-instance/{id}/restore")
|
|
14017
14015
|
});
|
|
14016
|
+
const zGateInstanceWaiveGateV1Data = z.object({
|
|
14017
|
+
body: zGateInstanceWaiveGateV1Body,
|
|
14018
|
+
path: z.object({ "id": z.string() }),
|
|
14019
|
+
url: z.literal("/v1/gate-instance/{id}/waive")
|
|
14020
|
+
});
|
|
14021
|
+
const zGateInstanceRevokeWaiverV1Data = z.object({
|
|
14022
|
+
path: z.object({ "id": z.string() }),
|
|
14023
|
+
url: z.literal("/v1/gate-instance/{id}/revoke-waiver")
|
|
14024
|
+
});
|
|
14018
14025
|
|
|
14019
14026
|
//#endregion
|
|
14020
14027
|
//#region ../sdk/dist/gen/gate-result/zod.js
|
|
@@ -15790,6 +15797,7 @@ const zIssueFindAllV1Data = z.object({
|
|
|
15790
15797
|
"filter.gate_set_id": z.array(z.string()).optional(),
|
|
15791
15798
|
"filter.milestone_id": z.array(z.string()).optional(),
|
|
15792
15799
|
"filter.spoke_key": z.array(z.string()).optional(),
|
|
15800
|
+
"filter.gate_run_id": z.array(z.string()).optional(),
|
|
15793
15801
|
"filter.assignee_id": z.array(z.string()).optional(),
|
|
15794
15802
|
"filter.parent_id": z.array(z.string()).optional(),
|
|
15795
15803
|
"filter.cycle_id": z.array(z.string()).optional(),
|
|
@@ -15870,6 +15878,8 @@ const zIssueFindAllV1Data = z.object({
|
|
|
15870
15878
|
"gate_set_id:DESC",
|
|
15871
15879
|
"milestone_id:ASC",
|
|
15872
15880
|
"milestone_id:DESC",
|
|
15881
|
+
"gate_run_id:ASC",
|
|
15882
|
+
"gate_run_id:DESC",
|
|
15873
15883
|
"created_at:ASC",
|
|
15874
15884
|
"created_at:DESC",
|
|
15875
15885
|
"updated_at:ASC",
|
|
@@ -16237,8 +16247,24 @@ const zIssueGateVerificationReportGateResultsV1Body = z.object({ results: z.arra
|
|
|
16237
16247
|
"fail",
|
|
16238
16248
|
"error"
|
|
16239
16249
|
]),
|
|
16240
|
-
output: z.string()
|
|
16250
|
+
output: z.string(),
|
|
16251
|
+
expected: z.string().optional(),
|
|
16252
|
+
steps: z.array(z.object({
|
|
16253
|
+
command: z.string(),
|
|
16254
|
+
exit_code: z.number(),
|
|
16255
|
+
stdout_tail: z.string(),
|
|
16256
|
+
stderr_tail: z.string()
|
|
16257
|
+
})).optional()
|
|
16241
16258
|
})) });
|
|
16259
|
+
const zIssueGateVerificationGateStatusV1Data = z.object({
|
|
16260
|
+
path: z.object({ "id": z.string() }),
|
|
16261
|
+
query: z.object({ "executor_type": z.enum([
|
|
16262
|
+
"human",
|
|
16263
|
+
"agent",
|
|
16264
|
+
"ci"
|
|
16265
|
+
]).optional() }).optional(),
|
|
16266
|
+
url: z.literal("/v1/issue/{id}/gate-status")
|
|
16267
|
+
});
|
|
16242
16268
|
const zIssueGateVerificationVerifyGatesV1Data = z.object({
|
|
16243
16269
|
path: z.object({ "id": z.string() }),
|
|
16244
16270
|
url: z.literal("/v1/issue/{id}/verify-gates")
|
|
@@ -16775,6 +16801,11 @@ const zResponseIssueTestEvidenceDto = z.object({
|
|
|
16775
16801
|
"blocked"
|
|
16776
16802
|
]).describe(""),
|
|
16777
16803
|
status_id: z.string().describe(""),
|
|
16804
|
+
executor_type: z.enum([
|
|
16805
|
+
"human",
|
|
16806
|
+
"agent",
|
|
16807
|
+
"ci"
|
|
16808
|
+
]).nullable().optional().describe(""),
|
|
16778
16809
|
context: z.unknown().optional().describe(""),
|
|
16779
16810
|
recorded_at: z.unknown().describe(""),
|
|
16780
16811
|
reason: z.string().nullable().optional().describe(""),
|
|
@@ -16913,7 +16944,8 @@ const zCreateIssueTestLinkDto = z.object({
|
|
|
16913
16944
|
"reproduces",
|
|
16914
16945
|
"verifies",
|
|
16915
16946
|
"accepts",
|
|
16916
|
-
"regresses"
|
|
16947
|
+
"regresses",
|
|
16948
|
+
"gates"
|
|
16917
16949
|
]).describe(""),
|
|
16918
16950
|
verification_rule: z.unknown().optional().describe(""),
|
|
16919
16951
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
@@ -16924,7 +16956,10 @@ const zCreateIssueTestLinkDto = z.object({
|
|
|
16924
16956
|
automation_test_id: z.string().nullable().optional(),
|
|
16925
16957
|
created_by_user_id: z.string().nullable().optional(),
|
|
16926
16958
|
origin_automation_run_result_id: z.string().nullable().optional(),
|
|
16927
|
-
latest_automation_run_result_id: z.string().nullable().optional()
|
|
16959
|
+
latest_automation_run_result_id: z.string().nullable().optional(),
|
|
16960
|
+
gate_definition_id: z.string().nullable().optional(),
|
|
16961
|
+
waived_by: z.string().nullable().optional(),
|
|
16962
|
+
verified_by_user_id: z.string().nullable().optional()
|
|
16928
16963
|
});
|
|
16929
16964
|
const zResponseIssueTestLinkDto = z.object({
|
|
16930
16965
|
id: z.string().describe(""),
|
|
@@ -16932,7 +16967,8 @@ const zResponseIssueTestLinkDto = z.object({
|
|
|
16932
16967
|
"reproduces",
|
|
16933
16968
|
"verifies",
|
|
16934
16969
|
"accepts",
|
|
16935
|
-
"regresses"
|
|
16970
|
+
"regresses",
|
|
16971
|
+
"gates"
|
|
16936
16972
|
]).describe(""),
|
|
16937
16973
|
verification_rule: z.unknown().optional().describe(""),
|
|
16938
16974
|
current_status: z.string().optional().describe(""),
|
|
@@ -16943,12 +16979,24 @@ const zResponseIssueTestLinkDto = z.object({
|
|
|
16943
16979
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
16944
16980
|
latest_run_result_id: z.string().nullable().optional().describe(""),
|
|
16945
16981
|
verified_at: z.unknown().optional().describe(""),
|
|
16982
|
+
gate_slot: z.string().nullable().optional().describe(""),
|
|
16983
|
+
gate_content_hash: z.string().nullable().optional().describe(""),
|
|
16984
|
+
gate_drifted: z.boolean().nullable().optional().describe(""),
|
|
16985
|
+
required: z.boolean().nullable().optional().describe(""),
|
|
16986
|
+
required_override: z.boolean().nullable().optional().describe(""),
|
|
16987
|
+
waived_reason: z.string().nullable().optional().describe(""),
|
|
16988
|
+
waived_at: z.unknown().optional().describe(""),
|
|
16989
|
+
last_attempt_at: z.unknown().optional().describe(""),
|
|
16990
|
+
last_executor_type: z.string().nullable().optional().describe(""),
|
|
16946
16991
|
issue_id: z.string(),
|
|
16947
16992
|
test_id: z.string().nullable().optional(),
|
|
16948
16993
|
automation_test_id: z.string().nullable().optional(),
|
|
16949
16994
|
created_by_user_id: z.string().nullable().optional(),
|
|
16950
16995
|
origin_automation_run_result_id: z.string().nullable().optional(),
|
|
16951
16996
|
latest_automation_run_result_id: z.string().nullable().optional(),
|
|
16997
|
+
gate_definition_id: z.string().nullable().optional(),
|
|
16998
|
+
waived_by: z.string().nullable().optional(),
|
|
16999
|
+
verified_by_user_id: z.string().nullable().optional(),
|
|
16952
17000
|
created_at: z.unknown().describe(""),
|
|
16953
17001
|
updated_at: z.unknown().describe(""),
|
|
16954
17002
|
epoch: z.number().describe(""),
|
|
@@ -16962,7 +17010,8 @@ const zUpdateIssueTestLinkDto = z.object({
|
|
|
16962
17010
|
"reproduces",
|
|
16963
17011
|
"verifies",
|
|
16964
17012
|
"accepts",
|
|
16965
|
-
"regresses"
|
|
17013
|
+
"regresses",
|
|
17014
|
+
"gates"
|
|
16966
17015
|
]).optional().describe(""),
|
|
16967
17016
|
verification_rule: z.unknown().optional().describe(""),
|
|
16968
17017
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
@@ -16973,7 +17022,10 @@ const zUpdateIssueTestLinkDto = z.object({
|
|
|
16973
17022
|
automation_test_id: z.string().nullable().optional(),
|
|
16974
17023
|
created_by_user_id: z.string().nullable().optional(),
|
|
16975
17024
|
origin_automation_run_result_id: z.string().nullable().optional(),
|
|
16976
|
-
latest_automation_run_result_id: z.string().nullable().optional()
|
|
17025
|
+
latest_automation_run_result_id: z.string().nullable().optional(),
|
|
17026
|
+
gate_definition_id: z.string().nullable().optional(),
|
|
17027
|
+
waived_by: z.string().nullable().optional(),
|
|
17028
|
+
verified_by_user_id: z.string().nullable().optional()
|
|
16977
17029
|
});
|
|
16978
17030
|
const zIssueTestLinkBulkOperationDto = z.object({
|
|
16979
17031
|
op: z.enum([
|
|
@@ -17024,12 +17076,24 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17024
17076
|
"filter.origin_run_result_id": z.array(z.string()).optional(),
|
|
17025
17077
|
"filter.latest_run_result_id": z.array(z.string()).optional(),
|
|
17026
17078
|
"filter.verified_at": z.array(z.string()).optional(),
|
|
17079
|
+
"filter.gate_slot": z.array(z.string()).optional(),
|
|
17080
|
+
"filter.gate_content_hash": z.array(z.string()).optional(),
|
|
17081
|
+
"filter.gate_drifted": z.array(z.string()).optional(),
|
|
17082
|
+
"filter.required": z.array(z.string()).optional(),
|
|
17083
|
+
"filter.required_override": z.array(z.string()).optional(),
|
|
17084
|
+
"filter.waived_reason": z.array(z.string()).optional(),
|
|
17085
|
+
"filter.waived_at": z.array(z.string()).optional(),
|
|
17086
|
+
"filter.last_attempt_at": z.array(z.string()).optional(),
|
|
17087
|
+
"filter.last_executor_type": z.array(z.string()).optional(),
|
|
17027
17088
|
"filter.issue_id": z.array(z.string()).optional(),
|
|
17028
17089
|
"filter.test_id": z.array(z.string()).optional(),
|
|
17029
17090
|
"filter.automation_test_id": z.array(z.string()).optional(),
|
|
17030
17091
|
"filter.created_by_user_id": z.array(z.string()).optional(),
|
|
17031
17092
|
"filter.origin_automation_run_result_id": z.array(z.string()).optional(),
|
|
17032
17093
|
"filter.latest_automation_run_result_id": z.array(z.string()).optional(),
|
|
17094
|
+
"filter.gate_definition_id": z.array(z.string()).optional(),
|
|
17095
|
+
"filter.waived_by": z.array(z.string()).optional(),
|
|
17096
|
+
"filter.verified_by_user_id": z.array(z.string()).optional(),
|
|
17033
17097
|
"filter.created_at": z.array(z.string()).optional(),
|
|
17034
17098
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
17035
17099
|
"sortBy": z.array(z.enum([
|
|
@@ -17047,6 +17111,18 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17047
17111
|
"verified_by:DESC",
|
|
17048
17112
|
"verified_at:ASC",
|
|
17049
17113
|
"verified_at:DESC",
|
|
17114
|
+
"gate_slot:ASC",
|
|
17115
|
+
"gate_slot:DESC",
|
|
17116
|
+
"gate_content_hash:ASC",
|
|
17117
|
+
"gate_content_hash:DESC",
|
|
17118
|
+
"waived_reason:ASC",
|
|
17119
|
+
"waived_reason:DESC",
|
|
17120
|
+
"waived_at:ASC",
|
|
17121
|
+
"waived_at:DESC",
|
|
17122
|
+
"last_attempt_at:ASC",
|
|
17123
|
+
"last_attempt_at:DESC",
|
|
17124
|
+
"last_executor_type:ASC",
|
|
17125
|
+
"last_executor_type:DESC",
|
|
17050
17126
|
"test_id:ASC",
|
|
17051
17127
|
"test_id:DESC",
|
|
17052
17128
|
"automation_test_id:ASC",
|
|
@@ -17061,6 +17137,12 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17061
17137
|
"origin_automation_run_result_id:DESC",
|
|
17062
17138
|
"latest_automation_run_result_id:ASC",
|
|
17063
17139
|
"latest_automation_run_result_id:DESC",
|
|
17140
|
+
"gate_definition_id:ASC",
|
|
17141
|
+
"gate_definition_id:DESC",
|
|
17142
|
+
"waived_by:ASC",
|
|
17143
|
+
"waived_by:DESC",
|
|
17144
|
+
"verified_by_user_id:ASC",
|
|
17145
|
+
"verified_by_user_id:DESC",
|
|
17064
17146
|
"created_at:ASC",
|
|
17065
17147
|
"created_at:DESC",
|
|
17066
17148
|
"updated_at:ASC",
|
|
@@ -28110,6 +28192,7 @@ const zTestResponseDto = z.object({
|
|
|
28110
28192
|
folder_id: z.string().nullable().optional().describe(""),
|
|
28111
28193
|
sequence: z.string().nullable().optional().describe(""),
|
|
28112
28194
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
28195
|
+
content_hash: z.string().nullable().optional().describe(""),
|
|
28113
28196
|
team_id: z.string().optional().describe(""),
|
|
28114
28197
|
created_at: z.unknown().describe(""),
|
|
28115
28198
|
updated_at: z.unknown().describe(""),
|
|
@@ -28180,8 +28263,10 @@ const zCreateTestDto = z.object({
|
|
|
28180
28263
|
folder_id: z.string().optional(),
|
|
28181
28264
|
sequence: z.string().nullable().optional().describe(""),
|
|
28182
28265
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
28266
|
+
content_hash: z.string().nullable().optional().describe(""),
|
|
28183
28267
|
team_id: z.string().optional().describe(""),
|
|
28184
28268
|
steps: z.array(z.object({
|
|
28269
|
+
type: z.enum(["guided"]).optional(),
|
|
28185
28270
|
step: z.string().optional(),
|
|
28186
28271
|
expected_result: z.string().optional(),
|
|
28187
28272
|
sequence: z.string().optional(),
|
|
@@ -28224,27 +28309,37 @@ const zUpdateTestDto = z.object({
|
|
|
28224
28309
|
]).optional(),
|
|
28225
28310
|
data_table: z.object({ rows: z.array(z.array(z.string())) }).optional()
|
|
28226
28311
|
})).optional(),
|
|
28227
|
-
steps: z.array(z.union([
|
|
28228
|
-
|
|
28229
|
-
|
|
28230
|
-
|
|
28231
|
-
|
|
28232
|
-
|
|
28233
|
-
|
|
28234
|
-
|
|
28235
|
-
|
|
28236
|
-
|
|
28237
|
-
|
|
28238
|
-
|
|
28239
|
-
|
|
28240
|
-
|
|
28241
|
-
|
|
28242
|
-
|
|
28243
|
-
|
|
28244
|
-
|
|
28245
|
-
|
|
28246
|
-
|
|
28247
|
-
|
|
28312
|
+
steps: z.array(z.union([
|
|
28313
|
+
z.object({
|
|
28314
|
+
id: z.string().optional(),
|
|
28315
|
+
type: z.enum(["guided"]),
|
|
28316
|
+
step: z.string(),
|
|
28317
|
+
expected_result: z.string().optional(),
|
|
28318
|
+
result: z.string().optional()
|
|
28319
|
+
}),
|
|
28320
|
+
z.object({
|
|
28321
|
+
id: z.string().optional(),
|
|
28322
|
+
method: z.string(),
|
|
28323
|
+
expected_result: z.string().optional(),
|
|
28324
|
+
shared_step_id: z.string().optional(),
|
|
28325
|
+
keyword: z.enum([
|
|
28326
|
+
"Given",
|
|
28327
|
+
"When",
|
|
28328
|
+
"Then",
|
|
28329
|
+
"And",
|
|
28330
|
+
"But",
|
|
28331
|
+
"*"
|
|
28332
|
+
]).optional(),
|
|
28333
|
+
data_table: z.object({ rows: z.array(z.array(z.string())) }).optional()
|
|
28334
|
+
}),
|
|
28335
|
+
z.object({
|
|
28336
|
+
id: z.string().optional(),
|
|
28337
|
+
type: z.string(),
|
|
28338
|
+
params: z.record(z.string(), z.unknown()).optional(),
|
|
28339
|
+
expected_result: z.string().optional(),
|
|
28340
|
+
layer: z.string().optional()
|
|
28341
|
+
})
|
|
28342
|
+
])).optional()
|
|
28248
28343
|
}).optional(),
|
|
28249
28344
|
priority: z.number().optional(),
|
|
28250
28345
|
case_type_id: z.string().nullable().optional(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-DNDMNs0m.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-DNDMNs0m.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|