@levr-one/cli 0.9.24 → 0.9.26
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-DqGiV9R7.js → importHandler-CP-Viau3.js} +2 -2
- package/dist/{listHandler-BxvAN-cP.js → listHandler-BLPxDSr_.js} +1 -1
- package/dist/{loginHandler-Brmwi38t.js → loginHandler-nb9bumU4.js} +2 -2
- package/dist/{pushHandler-_1p1pKCL.js → pushHandler-Da1B9Nhh.js} +2 -2
- package/dist/{resolve-workspace-9klhJXr_.js → resolve-workspace-BzjKljLE.js} +1 -1
- package/dist/{sdk-client-Bb-v6TXH.js → sdk-client-DTA0kLMn.js} +80 -20
- package/dist/{selectHandler-BA30PGv1.js → selectHandler-D6pGX5cn.js} +1 -1
- package/dist/{statusHandler-BCuHHpME.js → statusHandler-BJ9PaNYa.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-nb9bumU4.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-BJ9PaNYa.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-Da1B9Nhh.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-CP-Viau3.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-BLPxDSr_.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-D6pGX5cn.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.26";
|
|
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-DTA0kLMn.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-BzjKljLE.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-DTA0kLMn.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-DTA0kLMn.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-BzjKljLE.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-DTA0kLMn.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-BzjKljLE.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";
|
|
@@ -215,6 +215,12 @@ const zCascadeSkipDto = z.object({
|
|
|
215
215
|
issue: zCascadeIssueRefDto,
|
|
216
216
|
reason: z.string()
|
|
217
217
|
});
|
|
218
|
+
const zCompletedLinkedRunDto = z.object({
|
|
219
|
+
id: z.string(),
|
|
220
|
+
name: z.record(z.string(), z.unknown()).nullable(),
|
|
221
|
+
is_gate_run: z.boolean(),
|
|
222
|
+
advisory_not_run: z.number().describe("")
|
|
223
|
+
});
|
|
218
224
|
|
|
219
225
|
//#endregion
|
|
220
226
|
//#region ../sdk/dist/runtime/client.js
|
|
@@ -13240,6 +13246,7 @@ const zBulkFolderResponseDto = z.object({
|
|
|
13240
13246
|
folder_path: z.string().optional()
|
|
13241
13247
|
}).optional(),
|
|
13242
13248
|
error: z.string().optional(),
|
|
13249
|
+
code: z.string().optional(),
|
|
13243
13250
|
index: z.number()
|
|
13244
13251
|
})),
|
|
13245
13252
|
summary: z.object({
|
|
@@ -14269,7 +14276,6 @@ const zGateSetRestoreV1Data = z.object({
|
|
|
14269
14276
|
//#region ../sdk/dist/gen/gate-set-definition/zod.js
|
|
14270
14277
|
const zCreateGateSetDefinitionDto = z.object({
|
|
14271
14278
|
id: z.string().optional().describe(""),
|
|
14272
|
-
required: z.boolean().optional().describe(""),
|
|
14273
14279
|
sort_order: z.number().optional().describe(""),
|
|
14274
14280
|
override_verification_rule: z.unknown().optional().describe(""),
|
|
14275
14281
|
gate_set_id: z.string(),
|
|
@@ -14277,7 +14283,6 @@ const zCreateGateSetDefinitionDto = z.object({
|
|
|
14277
14283
|
});
|
|
14278
14284
|
const zResponseGateSetDefinitionDto = z.object({
|
|
14279
14285
|
id: z.string().describe(""),
|
|
14280
|
-
required: z.boolean().optional().describe(""),
|
|
14281
14286
|
sort_order: z.number().optional().describe(""),
|
|
14282
14287
|
override_verification_rule: z.unknown().optional().describe(""),
|
|
14283
14288
|
gate_set_id: z.string(),
|
|
@@ -14293,7 +14298,6 @@ const zResponseGateSetDefinitionDto = z.object({
|
|
|
14293
14298
|
});
|
|
14294
14299
|
const zUpdateGateSetDefinitionDto = z.object({
|
|
14295
14300
|
id: z.string().optional().describe(""),
|
|
14296
|
-
required: z.boolean().optional().describe(""),
|
|
14297
14301
|
sort_order: z.number().optional().describe(""),
|
|
14298
14302
|
override_verification_rule: z.unknown().optional().describe(""),
|
|
14299
14303
|
gate_set_id: z.string().optional(),
|
|
@@ -14340,7 +14344,6 @@ const zGateSetDefinitionFindAllV1Data = z.object({
|
|
|
14340
14344
|
"page": z.number().optional(),
|
|
14341
14345
|
"limit": z.number().optional(),
|
|
14342
14346
|
"filter.id": z.array(z.string()).optional(),
|
|
14343
|
-
"filter.required": z.array(z.string()).optional(),
|
|
14344
14347
|
"filter.sort_order": z.array(z.string()).optional(),
|
|
14345
14348
|
"filter.gate_set_id": z.array(z.string()).optional(),
|
|
14346
14349
|
"filter.gate_definition_id": z.array(z.string()).optional(),
|
|
@@ -16250,13 +16253,35 @@ const zIssueGateVerificationReportGateResultsV1Body = z.object({ results: z.arra
|
|
|
16250
16253
|
]),
|
|
16251
16254
|
output: z.string(),
|
|
16252
16255
|
expected: z.string().optional(),
|
|
16256
|
+
step_id: z.string().optional().describe(""),
|
|
16257
|
+
rule_hash: z.string().optional().describe(""),
|
|
16253
16258
|
steps: z.array(z.object({
|
|
16254
16259
|
command: z.string(),
|
|
16255
16260
|
exit_code: z.number(),
|
|
16256
16261
|
stdout_tail: z.string(),
|
|
16257
|
-
stderr_tail: z.string()
|
|
16262
|
+
stderr_tail: z.string(),
|
|
16263
|
+
step_id: z.string().optional().describe("")
|
|
16258
16264
|
})).optional()
|
|
16259
16265
|
})) });
|
|
16266
|
+
const zIssueGateVerificationDeployGatesV1Body = z.object({
|
|
16267
|
+
root_folder_name: z.string(),
|
|
16268
|
+
child_folders: z.array(z.object({
|
|
16269
|
+
deliverable: z.number(),
|
|
16270
|
+
name: z.string()
|
|
16271
|
+
})),
|
|
16272
|
+
tests_by_deliverable: z.record(z.string(), z.array(z.object({
|
|
16273
|
+
name: z.string(),
|
|
16274
|
+
required: z.boolean().optional().describe(""),
|
|
16275
|
+
advisory_reason: z.string().optional().describe(""),
|
|
16276
|
+
data: z.record(z.string(), z.unknown()).optional()
|
|
16277
|
+
}))).describe(""),
|
|
16278
|
+
link_template: z.record(z.string(), z.string()),
|
|
16279
|
+
verification_rule: z.record(z.string(), z.unknown()).optional(),
|
|
16280
|
+
replace_existing: z.boolean().optional(),
|
|
16281
|
+
rename_reused: z.boolean().optional(),
|
|
16282
|
+
test_origin: z.string().optional(),
|
|
16283
|
+
validate: z.boolean().optional()
|
|
16284
|
+
});
|
|
16260
16285
|
const zIssueGateVerificationGateStatusV1Data = z.object({
|
|
16261
16286
|
path: z.object({ "id": z.string() }),
|
|
16262
16287
|
query: z.object({ "executor_type": z.enum([
|
|
@@ -16280,7 +16305,10 @@ const zIssueGateVerificationReportGateResultsV1Data = z.object({
|
|
|
16280
16305
|
path: z.object({ "id": z.string() }),
|
|
16281
16306
|
url: z.literal("/v1/issue/{id}/gate-results")
|
|
16282
16307
|
});
|
|
16283
|
-
const zIssueGateVerificationDeployGatesV1Data = z.object({
|
|
16308
|
+
const zIssueGateVerificationDeployGatesV1Data = z.object({
|
|
16309
|
+
body: zIssueGateVerificationDeployGatesV1Body,
|
|
16310
|
+
url: z.literal("/v1/issue/deploy-gates")
|
|
16311
|
+
});
|
|
16284
16312
|
|
|
16285
16313
|
//#endregion
|
|
16286
16314
|
//#region ../sdk/dist/gen/issue-history/zod.js
|
|
@@ -16952,6 +16980,7 @@ const zCreateIssueTestLinkDto = z.object({
|
|
|
16952
16980
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
16953
16981
|
latest_run_result_id: z.string().nullable().optional().describe(""),
|
|
16954
16982
|
verified_at: z.unknown().optional().describe(""),
|
|
16983
|
+
required: z.boolean().optional().describe(""),
|
|
16955
16984
|
issue_id: z.string(),
|
|
16956
16985
|
test_id: z.string().nullable().optional(),
|
|
16957
16986
|
automation_test_id: z.string().nullable().optional(),
|
|
@@ -16983,8 +17012,10 @@ const zResponseIssueTestLinkDto = z.object({
|
|
|
16983
17012
|
gate_slot: z.string().nullable().optional().describe(""),
|
|
16984
17013
|
gate_content_hash: z.string().nullable().optional().describe(""),
|
|
16985
17014
|
gate_drifted: z.boolean().nullable().optional().describe(""),
|
|
16986
|
-
required: z.boolean().
|
|
16987
|
-
|
|
17015
|
+
required: z.boolean().optional().describe(""),
|
|
17016
|
+
advisory_reason: z.string().nullable().optional().describe(""),
|
|
17017
|
+
required_set_at: z.unknown().optional().describe(""),
|
|
17018
|
+
required_set_by: z.string().nullable().optional().describe(""),
|
|
16988
17019
|
waived_reason: z.string().nullable().optional().describe(""),
|
|
16989
17020
|
waived_at: z.unknown().optional().describe(""),
|
|
16990
17021
|
last_attempt_at: z.unknown().optional().describe(""),
|
|
@@ -17018,6 +17049,7 @@ const zUpdateIssueTestLinkDto = z.object({
|
|
|
17018
17049
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
17019
17050
|
latest_run_result_id: z.string().nullable().optional().describe(""),
|
|
17020
17051
|
verified_at: z.unknown().optional().describe(""),
|
|
17052
|
+
required: z.boolean().optional().describe(""),
|
|
17021
17053
|
issue_id: z.string().optional(),
|
|
17022
17054
|
test_id: z.string().nullable().optional(),
|
|
17023
17055
|
automation_test_id: z.string().nullable().optional(),
|
|
@@ -17081,7 +17113,9 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17081
17113
|
"filter.gate_content_hash": z.array(z.string()).optional(),
|
|
17082
17114
|
"filter.gate_drifted": z.array(z.string()).optional(),
|
|
17083
17115
|
"filter.required": z.array(z.string()).optional(),
|
|
17084
|
-
"filter.
|
|
17116
|
+
"filter.advisory_reason": z.array(z.string()).optional(),
|
|
17117
|
+
"filter.required_set_at": z.array(z.string()).optional(),
|
|
17118
|
+
"filter.required_set_by": z.array(z.string()).optional(),
|
|
17085
17119
|
"filter.waived_reason": z.array(z.string()).optional(),
|
|
17086
17120
|
"filter.waived_at": z.array(z.string()).optional(),
|
|
17087
17121
|
"filter.last_attempt_at": z.array(z.string()).optional(),
|
|
@@ -17116,6 +17150,10 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17116
17150
|
"gate_slot:DESC",
|
|
17117
17151
|
"gate_content_hash:ASC",
|
|
17118
17152
|
"gate_content_hash:DESC",
|
|
17153
|
+
"advisory_reason:ASC",
|
|
17154
|
+
"advisory_reason:DESC",
|
|
17155
|
+
"required_set_at:ASC",
|
|
17156
|
+
"required_set_at:DESC",
|
|
17119
17157
|
"waived_reason:ASC",
|
|
17120
17158
|
"waived_reason:DESC",
|
|
17121
17159
|
"waived_at:ASC",
|
|
@@ -17142,6 +17180,8 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17142
17180
|
"gate_definition_id:DESC",
|
|
17143
17181
|
"waived_by:ASC",
|
|
17144
17182
|
"waived_by:DESC",
|
|
17183
|
+
"required_set_by:ASC",
|
|
17184
|
+
"required_set_by:DESC",
|
|
17145
17185
|
"verified_by_user_id:ASC",
|
|
17146
17186
|
"verified_by_user_id:DESC",
|
|
17147
17187
|
"created_at:ASC",
|
|
@@ -17172,6 +17212,14 @@ const zIssueTestLinkBulkOperationV1Data = z.object({
|
|
|
17172
17212
|
url: z.literal("/v1/issue-test-link/bulk")
|
|
17173
17213
|
});
|
|
17174
17214
|
|
|
17215
|
+
//#endregion
|
|
17216
|
+
//#region ../sdk/dist/gen/issue-test-link-waiver/zod.js
|
|
17217
|
+
const zRevokeLinkWaiverResponseDto = z.object({ evidence_id: z.string().describe("") });
|
|
17218
|
+
const zIssueTestLinkWaiverRevokeWaiverV1Data = z.object({
|
|
17219
|
+
path: z.object({ "id": z.string() }),
|
|
17220
|
+
url: z.literal("/v1/issue-test-link/{id}/revoke-waiver")
|
|
17221
|
+
});
|
|
17222
|
+
|
|
17175
17223
|
//#endregion
|
|
17176
17224
|
//#region ../sdk/dist/gen/issue-transition/zod.js
|
|
17177
17225
|
const zTransitionIssueDto = z.object({
|
|
@@ -17181,6 +17229,11 @@ const zTransitionIssueDto = z.object({
|
|
|
17181
17229
|
"leave_children",
|
|
17182
17230
|
"cascade_children"
|
|
17183
17231
|
]).optional().describe(""),
|
|
17232
|
+
run_completion: z.enum([
|
|
17233
|
+
"require_runs",
|
|
17234
|
+
"complete_runs",
|
|
17235
|
+
"leave_runs"
|
|
17236
|
+
]).optional().describe(""),
|
|
17184
17237
|
verification_override: z.array(z.object({
|
|
17185
17238
|
link_id: z.string(),
|
|
17186
17239
|
kind: z.enum(["override", "not_applicable"]),
|
|
@@ -24478,10 +24531,14 @@ const zCreateRunDto = z.object({
|
|
|
24478
24531
|
environment_ids: z.array(z.string()).optional(),
|
|
24479
24532
|
test_inclusions: z.array(z.object({
|
|
24480
24533
|
test_id: z.string(),
|
|
24481
|
-
folder_id: z.string().optional()
|
|
24534
|
+
folder_id: z.string().optional(),
|
|
24535
|
+
required: z.boolean().optional()
|
|
24482
24536
|
})).optional(),
|
|
24483
24537
|
folder_id: z.string().nullable(),
|
|
24484
|
-
sequence: z.string().optional()
|
|
24538
|
+
sequence: z.string().optional(),
|
|
24539
|
+
required: z.enum(["all", "none"]).optional(),
|
|
24540
|
+
required_test_ids: z.array(z.string()).optional(),
|
|
24541
|
+
not_required_test_ids: z.array(z.string()).optional()
|
|
24485
24542
|
});
|
|
24486
24543
|
const zUpdateRunDto = z.object({
|
|
24487
24544
|
name: z.string().optional(),
|
|
@@ -24570,6 +24627,7 @@ const zRunWithContentDto = z.object({
|
|
|
24570
24627
|
assignee_id: z.string().nullable(),
|
|
24571
24628
|
flakiness: z.number().nullable(),
|
|
24572
24629
|
priority: z.number().nullable(),
|
|
24630
|
+
required: z.boolean().optional(),
|
|
24573
24631
|
failure_signature_id: z.string().nullable(),
|
|
24574
24632
|
test_snapshot: z.record(z.string(), z.unknown()).nullable(),
|
|
24575
24633
|
test_data: z.record(z.string(), z.unknown()).nullable(),
|
|
@@ -24619,6 +24677,7 @@ const zRunResultNodeDto = z.object({
|
|
|
24619
24677
|
assignee_id: z.string().nullable(),
|
|
24620
24678
|
flakiness: z.number().nullable(),
|
|
24621
24679
|
priority: z.number().nullable(),
|
|
24680
|
+
required: z.boolean().optional(),
|
|
24622
24681
|
failure_signature_id: z.string().nullable(),
|
|
24623
24682
|
test_snapshot: z.record(z.string(), z.unknown()).nullable(),
|
|
24624
24683
|
test_data: z.record(z.string(), z.unknown()).nullable(),
|
|
@@ -24659,7 +24718,8 @@ const zRunResultNodeDto = z.object({
|
|
|
24659
24718
|
const zUpdateRunResultDto = z.object({
|
|
24660
24719
|
status_id: z.string().optional(),
|
|
24661
24720
|
assignee_id: z.string().nullable(),
|
|
24662
|
-
flakiness: z.number().nullable()
|
|
24721
|
+
flakiness: z.number().nullable(),
|
|
24722
|
+
required: z.boolean().optional().describe("")
|
|
24663
24723
|
});
|
|
24664
24724
|
const zBulkRemoveRunResultsDto = z.object({ run_result_ids: z.array(z.string()) });
|
|
24665
24725
|
const zBulkAssignRunResultsDto = z.object({
|
|
@@ -24719,11 +24779,16 @@ const zUpdateExecutionStepDto = z.object({
|
|
|
24719
24779
|
elapsed_time: z.number().nullable()
|
|
24720
24780
|
});
|
|
24721
24781
|
const zAddTestsToRunDto = z.object({
|
|
24722
|
-
tests: z.array(z.object({
|
|
24782
|
+
tests: z.array(z.object({
|
|
24783
|
+
test_id: z.string(),
|
|
24784
|
+
required: z.boolean().optional()
|
|
24785
|
+
})),
|
|
24723
24786
|
environment_ids: z.array(z.string()).optional(),
|
|
24724
|
-
auto_add_tests_to_team: z.boolean().optional()
|
|
24787
|
+
auto_add_tests_to_team: z.boolean().optional(),
|
|
24788
|
+
required: z.enum(["all", "none"]).optional(),
|
|
24789
|
+
required_test_ids: z.array(z.string()).optional(),
|
|
24790
|
+
not_required_test_ids: z.array(z.string()).optional()
|
|
24725
24791
|
});
|
|
24726
|
-
const zUpdateTestsEpochDto = z.object({ run_result_ids: z.array(z.string()).optional() });
|
|
24727
24792
|
const zRefreshFolderDto = z.object({
|
|
24728
24793
|
folder_id: z.string(),
|
|
24729
24794
|
auto_add_tests_to_team: z.boolean().optional()
|
|
@@ -24906,11 +24971,6 @@ const zRunApiAddTestsToRunV1Data = z.object({
|
|
|
24906
24971
|
path: z.object({ "runId": z.string() }),
|
|
24907
24972
|
url: z.literal("/v1/run/{runId}/tests")
|
|
24908
24973
|
});
|
|
24909
|
-
const zRunApiUpdateTestsEpochV1Data = z.object({
|
|
24910
|
-
body: zUpdateTestsEpochDto,
|
|
24911
|
-
path: z.object({ "runId": z.string() }),
|
|
24912
|
-
url: z.literal("/v1/run/{runId}/tests/update-epoch")
|
|
24913
|
-
});
|
|
24914
24974
|
const zRunApiRefreshRunResultV1Data = z.object({
|
|
24915
24975
|
path: z.object({
|
|
24916
24976
|
"runId": z.string(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-DTA0kLMn.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-DTA0kLMn.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|