@levr-one/cli 0.9.15 → 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-DoNORUuK.js → importHandler-BOeatReV.js} +2 -2
- package/dist/{listHandler-EwAt3LmQ.js → listHandler-BmScgMlI.js} +1 -1
- package/dist/{loginHandler-BBxVMqia.js → loginHandler-CubmtHgD.js} +2 -2
- package/dist/{pushHandler-Dc-EvbXq.js → pushHandler-C_aoYn2d.js} +2 -2
- package/dist/{resolve-workspace-DAurGXZy.js → resolve-workspace-DLUMQYp4.js} +1 -1
- package/dist/{sdk-client-BmBVKZHM.js → sdk-client-DNDMNs0m.js} +136 -38
- package/dist/{selectHandler-CaL5YAbK.js → selectHandler-Cx7960Rx.js} +1 -1
- package/dist/{statusHandler-C_PytmAh.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(),
|
|
@@ -11363,7 +11364,8 @@ const zExplorationWithContentDto = z.object({
|
|
|
11363
11364
|
url: z.string().nullable(),
|
|
11364
11365
|
defect_status_id: z.string().nullable(),
|
|
11365
11366
|
defect_res_id: z.string().nullable()
|
|
11366
|
-
})).optional()
|
|
11367
|
+
})).optional(),
|
|
11368
|
+
linked_issue_ids: z.array(z.string()).optional().describe("")
|
|
11367
11369
|
}))
|
|
11368
11370
|
});
|
|
11369
11371
|
const zExplorationItemNodeDto = z.object({
|
|
@@ -11402,7 +11404,8 @@ const zExplorationItemNodeDto = z.object({
|
|
|
11402
11404
|
url: z.string().nullable(),
|
|
11403
11405
|
defect_status_id: z.string().nullable(),
|
|
11404
11406
|
defect_res_id: z.string().nullable()
|
|
11405
|
-
})).optional()
|
|
11407
|
+
})).optional(),
|
|
11408
|
+
linked_issue_ids: z.array(z.string()).optional().describe("")
|
|
11406
11409
|
});
|
|
11407
11410
|
const zCreateExplorationItemDto = z.object({
|
|
11408
11411
|
exploration_id: z.string().optional(),
|
|
@@ -11488,6 +11491,7 @@ const zBulkExplorationOperationResultDto = z.object({
|
|
|
11488
11491
|
success: z.boolean().describe(""),
|
|
11489
11492
|
data: zExplorationNodeDto.optional().describe(""),
|
|
11490
11493
|
error: z.string().optional().describe(""),
|
|
11494
|
+
status: z.number().optional().describe(""),
|
|
11491
11495
|
index: z.number().describe("")
|
|
11492
11496
|
});
|
|
11493
11497
|
const zBulkExplorationSummaryDto = z.object({
|
|
@@ -13842,6 +13846,7 @@ const zCreateGateInstanceDto = z.object({
|
|
|
13842
13846
|
required: z.boolean().optional().describe(""),
|
|
13843
13847
|
last_checked_at: z.unknown().optional().describe(""),
|
|
13844
13848
|
issue_id: z.string(),
|
|
13849
|
+
issue_test_link_id: z.string().nullable().optional(),
|
|
13845
13850
|
gate_definition_id: z.string(),
|
|
13846
13851
|
gate_set_id: z.string().nullable().optional(),
|
|
13847
13852
|
verified_by: z.string().nullable().optional(),
|
|
@@ -13859,6 +13864,7 @@ const zResponseGateInstanceDto = z.object({
|
|
|
13859
13864
|
required: z.boolean().optional().describe(""),
|
|
13860
13865
|
last_checked_at: z.unknown().optional().describe(""),
|
|
13861
13866
|
issue_id: z.string(),
|
|
13867
|
+
issue_test_link_id: z.string().nullable().optional(),
|
|
13862
13868
|
gate_definition_id: z.string(),
|
|
13863
13869
|
gate_set_id: z.string().nullable().optional(),
|
|
13864
13870
|
verified_by: z.string().nullable().optional(),
|
|
@@ -13884,6 +13890,7 @@ const zUpdateGateInstanceDto = z.object({
|
|
|
13884
13890
|
required: z.boolean().optional().describe(""),
|
|
13885
13891
|
last_checked_at: z.unknown().optional().describe(""),
|
|
13886
13892
|
issue_id: z.string().optional(),
|
|
13893
|
+
issue_test_link_id: z.string().nullable().optional(),
|
|
13887
13894
|
gate_definition_id: z.string().optional(),
|
|
13888
13895
|
gate_set_id: z.string().nullable().optional(),
|
|
13889
13896
|
verified_by: z.string().nullable().optional(),
|
|
@@ -13920,15 +13927,6 @@ const zBulkGateInstanceResponseDto = z.object({
|
|
|
13920
13927
|
savepoints_used: z.number().describe("")
|
|
13921
13928
|
}).describe("")
|
|
13922
13929
|
});
|
|
13923
|
-
const zGateInstanceWaiveGateV1Data = z.object({
|
|
13924
|
-
body: zGateInstanceWaiveGateV1Body,
|
|
13925
|
-
path: z.object({ "id": z.string() }),
|
|
13926
|
-
url: z.literal("/v1/gate-instance/{id}/waive")
|
|
13927
|
-
});
|
|
13928
|
-
const zGateInstanceRevokeWaiverV1Data = z.object({
|
|
13929
|
-
path: z.object({ "id": z.string() }),
|
|
13930
|
-
url: z.literal("/v1/gate-instance/{id}/revoke-waiver")
|
|
13931
|
-
});
|
|
13932
13930
|
const zGateInstanceCreateV1Data = z.object({
|
|
13933
13931
|
body: zCreateGateInstanceDto,
|
|
13934
13932
|
url: z.literal("/v1/gate-instance")
|
|
@@ -13948,6 +13946,7 @@ const zGateInstanceFindAllV1Data = z.object({
|
|
|
13948
13946
|
"filter.required": z.array(z.string()).optional(),
|
|
13949
13947
|
"filter.last_checked_at": z.array(z.string()).optional(),
|
|
13950
13948
|
"filter.issue_id": z.array(z.string()).optional(),
|
|
13949
|
+
"filter.issue_test_link_id": z.array(z.string()).optional(),
|
|
13951
13950
|
"filter.gate_definition_id": z.array(z.string()).optional(),
|
|
13952
13951
|
"filter.gate_set_id": z.array(z.string()).optional(),
|
|
13953
13952
|
"filter.verified_by": z.array(z.string()).optional(),
|
|
@@ -13972,6 +13971,8 @@ const zGateInstanceFindAllV1Data = z.object({
|
|
|
13972
13971
|
"consecutive_fails:DESC",
|
|
13973
13972
|
"last_checked_at:ASC",
|
|
13974
13973
|
"last_checked_at:DESC",
|
|
13974
|
+
"issue_test_link_id:ASC",
|
|
13975
|
+
"issue_test_link_id:DESC",
|
|
13975
13976
|
"gate_set_id:ASC",
|
|
13976
13977
|
"gate_set_id:DESC",
|
|
13977
13978
|
"verified_by:ASC",
|
|
@@ -14012,6 +14013,15 @@ const zGateInstanceRestoreV1Data = z.object({
|
|
|
14012
14013
|
path: z.object({ "id": z.string() }),
|
|
14013
14014
|
url: z.literal("/v1/gate-instance/{id}/restore")
|
|
14014
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
|
+
});
|
|
14015
14025
|
|
|
14016
14026
|
//#endregion
|
|
14017
14027
|
//#region ../sdk/dist/gen/gate-result/zod.js
|
|
@@ -15787,6 +15797,7 @@ const zIssueFindAllV1Data = z.object({
|
|
|
15787
15797
|
"filter.gate_set_id": z.array(z.string()).optional(),
|
|
15788
15798
|
"filter.milestone_id": z.array(z.string()).optional(),
|
|
15789
15799
|
"filter.spoke_key": z.array(z.string()).optional(),
|
|
15800
|
+
"filter.gate_run_id": z.array(z.string()).optional(),
|
|
15790
15801
|
"filter.assignee_id": z.array(z.string()).optional(),
|
|
15791
15802
|
"filter.parent_id": z.array(z.string()).optional(),
|
|
15792
15803
|
"filter.cycle_id": z.array(z.string()).optional(),
|
|
@@ -15867,6 +15878,8 @@ const zIssueFindAllV1Data = z.object({
|
|
|
15867
15878
|
"gate_set_id:DESC",
|
|
15868
15879
|
"milestone_id:ASC",
|
|
15869
15880
|
"milestone_id:DESC",
|
|
15881
|
+
"gate_run_id:ASC",
|
|
15882
|
+
"gate_run_id:DESC",
|
|
15870
15883
|
"created_at:ASC",
|
|
15871
15884
|
"created_at:DESC",
|
|
15872
15885
|
"updated_at:ASC",
|
|
@@ -16234,8 +16247,24 @@ const zIssueGateVerificationReportGateResultsV1Body = z.object({ results: z.arra
|
|
|
16234
16247
|
"fail",
|
|
16235
16248
|
"error"
|
|
16236
16249
|
]),
|
|
16237
|
-
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()
|
|
16238
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
|
+
});
|
|
16239
16268
|
const zIssueGateVerificationVerifyGatesV1Data = z.object({
|
|
16240
16269
|
path: z.object({ "id": z.string() }),
|
|
16241
16270
|
url: z.literal("/v1/issue/{id}/verify-gates")
|
|
@@ -16772,6 +16801,11 @@ const zResponseIssueTestEvidenceDto = z.object({
|
|
|
16772
16801
|
"blocked"
|
|
16773
16802
|
]).describe(""),
|
|
16774
16803
|
status_id: z.string().describe(""),
|
|
16804
|
+
executor_type: z.enum([
|
|
16805
|
+
"human",
|
|
16806
|
+
"agent",
|
|
16807
|
+
"ci"
|
|
16808
|
+
]).nullable().optional().describe(""),
|
|
16775
16809
|
context: z.unknown().optional().describe(""),
|
|
16776
16810
|
recorded_at: z.unknown().describe(""),
|
|
16777
16811
|
reason: z.string().nullable().optional().describe(""),
|
|
@@ -16910,7 +16944,8 @@ const zCreateIssueTestLinkDto = z.object({
|
|
|
16910
16944
|
"reproduces",
|
|
16911
16945
|
"verifies",
|
|
16912
16946
|
"accepts",
|
|
16913
|
-
"regresses"
|
|
16947
|
+
"regresses",
|
|
16948
|
+
"gates"
|
|
16914
16949
|
]).describe(""),
|
|
16915
16950
|
verification_rule: z.unknown().optional().describe(""),
|
|
16916
16951
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
@@ -16921,7 +16956,10 @@ const zCreateIssueTestLinkDto = z.object({
|
|
|
16921
16956
|
automation_test_id: z.string().nullable().optional(),
|
|
16922
16957
|
created_by_user_id: z.string().nullable().optional(),
|
|
16923
16958
|
origin_automation_run_result_id: z.string().nullable().optional(),
|
|
16924
|
-
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()
|
|
16925
16963
|
});
|
|
16926
16964
|
const zResponseIssueTestLinkDto = z.object({
|
|
16927
16965
|
id: z.string().describe(""),
|
|
@@ -16929,7 +16967,8 @@ const zResponseIssueTestLinkDto = z.object({
|
|
|
16929
16967
|
"reproduces",
|
|
16930
16968
|
"verifies",
|
|
16931
16969
|
"accepts",
|
|
16932
|
-
"regresses"
|
|
16970
|
+
"regresses",
|
|
16971
|
+
"gates"
|
|
16933
16972
|
]).describe(""),
|
|
16934
16973
|
verification_rule: z.unknown().optional().describe(""),
|
|
16935
16974
|
current_status: z.string().optional().describe(""),
|
|
@@ -16940,12 +16979,24 @@ const zResponseIssueTestLinkDto = z.object({
|
|
|
16940
16979
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
16941
16980
|
latest_run_result_id: z.string().nullable().optional().describe(""),
|
|
16942
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(""),
|
|
16943
16991
|
issue_id: z.string(),
|
|
16944
16992
|
test_id: z.string().nullable().optional(),
|
|
16945
16993
|
automation_test_id: z.string().nullable().optional(),
|
|
16946
16994
|
created_by_user_id: z.string().nullable().optional(),
|
|
16947
16995
|
origin_automation_run_result_id: z.string().nullable().optional(),
|
|
16948
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(),
|
|
16949
17000
|
created_at: z.unknown().describe(""),
|
|
16950
17001
|
updated_at: z.unknown().describe(""),
|
|
16951
17002
|
epoch: z.number().describe(""),
|
|
@@ -16959,7 +17010,8 @@ const zUpdateIssueTestLinkDto = z.object({
|
|
|
16959
17010
|
"reproduces",
|
|
16960
17011
|
"verifies",
|
|
16961
17012
|
"accepts",
|
|
16962
|
-
"regresses"
|
|
17013
|
+
"regresses",
|
|
17014
|
+
"gates"
|
|
16963
17015
|
]).optional().describe(""),
|
|
16964
17016
|
verification_rule: z.unknown().optional().describe(""),
|
|
16965
17017
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
@@ -16970,7 +17022,10 @@ const zUpdateIssueTestLinkDto = z.object({
|
|
|
16970
17022
|
automation_test_id: z.string().nullable().optional(),
|
|
16971
17023
|
created_by_user_id: z.string().nullable().optional(),
|
|
16972
17024
|
origin_automation_run_result_id: z.string().nullable().optional(),
|
|
16973
|
-
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()
|
|
16974
17029
|
});
|
|
16975
17030
|
const zIssueTestLinkBulkOperationDto = z.object({
|
|
16976
17031
|
op: z.enum([
|
|
@@ -17021,12 +17076,24 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17021
17076
|
"filter.origin_run_result_id": z.array(z.string()).optional(),
|
|
17022
17077
|
"filter.latest_run_result_id": z.array(z.string()).optional(),
|
|
17023
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(),
|
|
17024
17088
|
"filter.issue_id": z.array(z.string()).optional(),
|
|
17025
17089
|
"filter.test_id": z.array(z.string()).optional(),
|
|
17026
17090
|
"filter.automation_test_id": z.array(z.string()).optional(),
|
|
17027
17091
|
"filter.created_by_user_id": z.array(z.string()).optional(),
|
|
17028
17092
|
"filter.origin_automation_run_result_id": z.array(z.string()).optional(),
|
|
17029
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(),
|
|
17030
17097
|
"filter.created_at": z.array(z.string()).optional(),
|
|
17031
17098
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
17032
17099
|
"sortBy": z.array(z.enum([
|
|
@@ -17044,6 +17111,18 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17044
17111
|
"verified_by:DESC",
|
|
17045
17112
|
"verified_at:ASC",
|
|
17046
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",
|
|
17047
17126
|
"test_id:ASC",
|
|
17048
17127
|
"test_id:DESC",
|
|
17049
17128
|
"automation_test_id:ASC",
|
|
@@ -17058,6 +17137,12 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17058
17137
|
"origin_automation_run_result_id:DESC",
|
|
17059
17138
|
"latest_automation_run_result_id:ASC",
|
|
17060
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",
|
|
17061
17146
|
"created_at:ASC",
|
|
17062
17147
|
"created_at:DESC",
|
|
17063
17148
|
"updated_at:ASC",
|
|
@@ -28107,6 +28192,7 @@ const zTestResponseDto = z.object({
|
|
|
28107
28192
|
folder_id: z.string().nullable().optional().describe(""),
|
|
28108
28193
|
sequence: z.string().nullable().optional().describe(""),
|
|
28109
28194
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
28195
|
+
content_hash: z.string().nullable().optional().describe(""),
|
|
28110
28196
|
team_id: z.string().optional().describe(""),
|
|
28111
28197
|
created_at: z.unknown().describe(""),
|
|
28112
28198
|
updated_at: z.unknown().describe(""),
|
|
@@ -28177,8 +28263,10 @@ const zCreateTestDto = z.object({
|
|
|
28177
28263
|
folder_id: z.string().optional(),
|
|
28178
28264
|
sequence: z.string().nullable().optional().describe(""),
|
|
28179
28265
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
28266
|
+
content_hash: z.string().nullable().optional().describe(""),
|
|
28180
28267
|
team_id: z.string().optional().describe(""),
|
|
28181
28268
|
steps: z.array(z.object({
|
|
28269
|
+
type: z.enum(["guided"]).optional(),
|
|
28182
28270
|
step: z.string().optional(),
|
|
28183
28271
|
expected_result: z.string().optional(),
|
|
28184
28272
|
sequence: z.string().optional(),
|
|
@@ -28221,27 +28309,37 @@ const zUpdateTestDto = z.object({
|
|
|
28221
28309
|
]).optional(),
|
|
28222
28310
|
data_table: z.object({ rows: z.array(z.array(z.string())) }).optional()
|
|
28223
28311
|
})).optional(),
|
|
28224
|
-
steps: z.array(z.union([
|
|
28225
|
-
|
|
28226
|
-
|
|
28227
|
-
|
|
28228
|
-
|
|
28229
|
-
|
|
28230
|
-
|
|
28231
|
-
|
|
28232
|
-
|
|
28233
|
-
|
|
28234
|
-
|
|
28235
|
-
|
|
28236
|
-
|
|
28237
|
-
|
|
28238
|
-
|
|
28239
|
-
|
|
28240
|
-
|
|
28241
|
-
|
|
28242
|
-
|
|
28243
|
-
|
|
28244
|
-
|
|
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()
|
|
28245
28343
|
}).optional(),
|
|
28246
28344
|
priority: z.number().optional(),
|
|
28247
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
|
|