@levr-one/cli 0.9.1 → 0.9.3
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-CEkJTuIO.js → importHandler-Cu4T-M93.js} +2 -2
- package/dist/{listHandler-FY-HkjDg.js → listHandler-bGK_E1r4.js} +1 -1
- package/dist/{loginHandler-tt3zsHJ6.js → loginHandler-1lqeeqFI.js} +2 -2
- package/dist/{pushHandler-XMcjwUY_.js → pushHandler-xvgRbybb.js} +2 -2
- package/dist/{resolve-workspace-BW_qxG5P.js → resolve-workspace-Nk6hxDgw.js} +1 -1
- package/dist/{sdk-client-7Yu4mQLM.js → sdk-client-7EqfEICk.js} +38 -85
- package/dist/{selectHandler-BVyfRKT2.js → selectHandler-Dqasmzu-.js} +1 -1
- package/dist/{statusHandler-CX4ULg3s.js → statusHandler-BxJVa8EQ.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-1lqeeqFI.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-BxJVa8EQ.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-xvgRbybb.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-Cu4T-M93.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-bGK_E1r4.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-Dqasmzu-.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.3";
|
|
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-7EqfEICk.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-Nk6hxDgw.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-7EqfEICk.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-7EqfEICk.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-Nk6hxDgw.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-7EqfEICk.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-Nk6hxDgw.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";
|
|
@@ -13112,7 +13112,6 @@ const zFolderWithChildrenDto = z.object({
|
|
|
13112
13112
|
data: z.record(z.string(), z.unknown()).optional(),
|
|
13113
13113
|
sequence: z.string(),
|
|
13114
13114
|
labels: z.array(z.string()),
|
|
13115
|
-
is_automated: z.boolean(),
|
|
13116
13115
|
automation_status: z.string(),
|
|
13117
13116
|
automation_type: z.string(),
|
|
13118
13117
|
priority: z.number(),
|
|
@@ -13122,16 +13121,7 @@ const zFolderWithChildrenDto = z.object({
|
|
|
13122
13121
|
updated_by: z.string(),
|
|
13123
13122
|
epoch: z.number(),
|
|
13124
13123
|
key: z.number(),
|
|
13125
|
-
assignee_id: z.string().optional()
|
|
13126
|
-
test_type: z.enum([
|
|
13127
|
-
"manual",
|
|
13128
|
-
"text",
|
|
13129
|
-
"prometheus",
|
|
13130
|
-
"gherkin",
|
|
13131
|
-
"generic_automation",
|
|
13132
|
-
"yaml"
|
|
13133
|
-
]).nullable(),
|
|
13134
|
-
to_automate: z.boolean()
|
|
13124
|
+
assignee_id: z.string().optional()
|
|
13135
13125
|
}),
|
|
13136
13126
|
z.object({
|
|
13137
13127
|
type: z.enum(["run"]),
|
|
@@ -13193,7 +13183,6 @@ const zRootLevelResponseDto = z.object({
|
|
|
13193
13183
|
data: z.record(z.string(), z.unknown()).optional(),
|
|
13194
13184
|
sequence: z.string(),
|
|
13195
13185
|
labels: z.array(z.string()),
|
|
13196
|
-
is_automated: z.boolean(),
|
|
13197
13186
|
automation_status: z.string(),
|
|
13198
13187
|
automation_type: z.string(),
|
|
13199
13188
|
priority: z.number(),
|
|
@@ -13203,16 +13192,7 @@ const zRootLevelResponseDto = z.object({
|
|
|
13203
13192
|
updated_by: z.string(),
|
|
13204
13193
|
epoch: z.number(),
|
|
13205
13194
|
key: z.number(),
|
|
13206
|
-
assignee_id: z.string().optional()
|
|
13207
|
-
test_type: z.enum([
|
|
13208
|
-
"manual",
|
|
13209
|
-
"text",
|
|
13210
|
-
"prometheus",
|
|
13211
|
-
"gherkin",
|
|
13212
|
-
"generic_automation",
|
|
13213
|
-
"yaml"
|
|
13214
|
-
]).nullable(),
|
|
13215
|
-
to_automate: z.boolean()
|
|
13195
|
+
assignee_id: z.string().optional()
|
|
13216
13196
|
}), z.object({
|
|
13217
13197
|
type: z.enum(["run"]),
|
|
13218
13198
|
id: z.string(),
|
|
@@ -13293,7 +13273,6 @@ const zFolderChildrenResponseDto = z.object({
|
|
|
13293
13273
|
data: z.record(z.string(), z.unknown()).optional(),
|
|
13294
13274
|
sequence: z.string(),
|
|
13295
13275
|
labels: z.array(z.string()),
|
|
13296
|
-
is_automated: z.boolean(),
|
|
13297
13276
|
automation_status: z.string(),
|
|
13298
13277
|
automation_type: z.string(),
|
|
13299
13278
|
priority: z.number(),
|
|
@@ -13303,16 +13282,7 @@ const zFolderChildrenResponseDto = z.object({
|
|
|
13303
13282
|
updated_by: z.string(),
|
|
13304
13283
|
epoch: z.number(),
|
|
13305
13284
|
key: z.number(),
|
|
13306
|
-
assignee_id: z.string().optional()
|
|
13307
|
-
test_type: z.enum([
|
|
13308
|
-
"manual",
|
|
13309
|
-
"text",
|
|
13310
|
-
"prometheus",
|
|
13311
|
-
"gherkin",
|
|
13312
|
-
"generic_automation",
|
|
13313
|
-
"yaml"
|
|
13314
|
-
]).nullable(),
|
|
13315
|
-
to_automate: z.boolean()
|
|
13285
|
+
assignee_id: z.string().optional()
|
|
13316
13286
|
}),
|
|
13317
13287
|
z.object({
|
|
13318
13288
|
type: z.enum(["run"]),
|
|
@@ -16004,7 +15974,9 @@ const zCreateIssueAutomationTestEvidenceDto = z.object({
|
|
|
16004
15974
|
"regression",
|
|
16005
15975
|
"verification",
|
|
16006
15976
|
"flaky",
|
|
16007
|
-
"superseded"
|
|
15977
|
+
"superseded",
|
|
15978
|
+
"override",
|
|
15979
|
+
"not_applicable"
|
|
16008
15980
|
]).describe(""),
|
|
16009
15981
|
automation_status_type: z.enum([
|
|
16010
15982
|
"passed",
|
|
@@ -16028,6 +16000,7 @@ const zCreateIssueAutomationTestEvidenceDto = z.object({
|
|
|
16028
16000
|
]).nullable().optional().describe(""),
|
|
16029
16001
|
context: z.unknown().optional().describe(""),
|
|
16030
16002
|
recorded_at: z.unknown().describe(""),
|
|
16003
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16031
16004
|
issue_test_link_id: z.string(),
|
|
16032
16005
|
automation_run_result_id: z.string().nullable().optional(),
|
|
16033
16006
|
automation_run_id: z.string().nullable().optional(),
|
|
@@ -16042,7 +16015,9 @@ const zResponseIssueAutomationTestEvidenceDto = z.object({
|
|
|
16042
16015
|
"regression",
|
|
16043
16016
|
"verification",
|
|
16044
16017
|
"flaky",
|
|
16045
|
-
"superseded"
|
|
16018
|
+
"superseded",
|
|
16019
|
+
"override",
|
|
16020
|
+
"not_applicable"
|
|
16046
16021
|
]).describe(""),
|
|
16047
16022
|
automation_status_type: z.enum([
|
|
16048
16023
|
"passed",
|
|
@@ -16066,6 +16041,7 @@ const zResponseIssueAutomationTestEvidenceDto = z.object({
|
|
|
16066
16041
|
]).nullable().optional().describe(""),
|
|
16067
16042
|
context: z.unknown().optional().describe(""),
|
|
16068
16043
|
recorded_at: z.unknown().describe(""),
|
|
16044
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16069
16045
|
issue_test_link_id: z.string(),
|
|
16070
16046
|
automation_run_result_id: z.string().nullable().optional(),
|
|
16071
16047
|
automation_run_id: z.string().nullable().optional(),
|
|
@@ -16086,7 +16062,9 @@ const zUpdateIssueAutomationTestEvidenceDto = z.object({
|
|
|
16086
16062
|
"regression",
|
|
16087
16063
|
"verification",
|
|
16088
16064
|
"flaky",
|
|
16089
|
-
"superseded"
|
|
16065
|
+
"superseded",
|
|
16066
|
+
"override",
|
|
16067
|
+
"not_applicable"
|
|
16090
16068
|
]).optional().describe(""),
|
|
16091
16069
|
automation_status_type: z.enum([
|
|
16092
16070
|
"passed",
|
|
@@ -16110,6 +16088,7 @@ const zUpdateIssueAutomationTestEvidenceDto = z.object({
|
|
|
16110
16088
|
]).nullable().optional().describe(""),
|
|
16111
16089
|
context: z.unknown().optional().describe(""),
|
|
16112
16090
|
recorded_at: z.unknown().optional().describe(""),
|
|
16091
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16113
16092
|
issue_test_link_id: z.string().optional(),
|
|
16114
16093
|
automation_run_result_id: z.string().nullable().optional(),
|
|
16115
16094
|
automation_run_id: z.string().nullable().optional(),
|
|
@@ -16157,6 +16136,7 @@ const zIssueAutomationTestEvidenceFindAllV1Data = z.object({
|
|
|
16157
16136
|
"limit": z.number().optional(),
|
|
16158
16137
|
"filter.id": z.array(z.string()).optional(),
|
|
16159
16138
|
"filter.recorded_at": z.array(z.string()).optional(),
|
|
16139
|
+
"filter.reason": z.array(z.string()).optional(),
|
|
16160
16140
|
"filter.issue_test_link_id": z.array(z.string()).optional(),
|
|
16161
16141
|
"filter.automation_run_result_id": z.array(z.string()).optional(),
|
|
16162
16142
|
"filter.automation_run_id": z.array(z.string()).optional(),
|
|
@@ -16168,6 +16148,8 @@ const zIssueAutomationTestEvidenceFindAllV1Data = z.object({
|
|
|
16168
16148
|
"id:DESC",
|
|
16169
16149
|
"recorded_at:ASC",
|
|
16170
16150
|
"recorded_at:DESC",
|
|
16151
|
+
"reason:ASC",
|
|
16152
|
+
"reason:DESC",
|
|
16171
16153
|
"automation_run_result_id:ASC",
|
|
16172
16154
|
"automation_run_result_id:DESC",
|
|
16173
16155
|
"automation_run_id:ASC",
|
|
@@ -16769,11 +16751,14 @@ const zCreateIssueTestEvidenceDto = z.object({
|
|
|
16769
16751
|
"regression",
|
|
16770
16752
|
"verification",
|
|
16771
16753
|
"flaky",
|
|
16772
|
-
"superseded"
|
|
16754
|
+
"superseded",
|
|
16755
|
+
"override",
|
|
16756
|
+
"not_applicable"
|
|
16773
16757
|
]).describe(""),
|
|
16774
16758
|
status_id: z.string().describe(""),
|
|
16775
16759
|
context: z.unknown().optional().describe(""),
|
|
16776
16760
|
recorded_at: z.unknown().describe(""),
|
|
16761
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16777
16762
|
issue_test_link_id: z.string(),
|
|
16778
16763
|
run_result_id: z.string().nullable().optional(),
|
|
16779
16764
|
run_result_variant_id: z.string().nullable().optional(),
|
|
@@ -16788,11 +16773,14 @@ const zResponseIssueTestEvidenceDto = z.object({
|
|
|
16788
16773
|
"regression",
|
|
16789
16774
|
"verification",
|
|
16790
16775
|
"flaky",
|
|
16791
|
-
"superseded"
|
|
16776
|
+
"superseded",
|
|
16777
|
+
"override",
|
|
16778
|
+
"not_applicable"
|
|
16792
16779
|
]).describe(""),
|
|
16793
16780
|
status_id: z.string().describe(""),
|
|
16794
16781
|
context: z.unknown().optional().describe(""),
|
|
16795
16782
|
recorded_at: z.unknown().describe(""),
|
|
16783
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16796
16784
|
issue_test_link_id: z.string(),
|
|
16797
16785
|
run_result_id: z.string().nullable().optional(),
|
|
16798
16786
|
run_result_variant_id: z.string().nullable().optional(),
|
|
@@ -16813,11 +16801,14 @@ const zUpdateIssueTestEvidenceDto = z.object({
|
|
|
16813
16801
|
"regression",
|
|
16814
16802
|
"verification",
|
|
16815
16803
|
"flaky",
|
|
16816
|
-
"superseded"
|
|
16804
|
+
"superseded",
|
|
16805
|
+
"override",
|
|
16806
|
+
"not_applicable"
|
|
16817
16807
|
]).optional().describe(""),
|
|
16818
16808
|
status_id: z.string().optional().describe(""),
|
|
16819
16809
|
context: z.unknown().optional().describe(""),
|
|
16820
16810
|
recorded_at: z.unknown().optional().describe(""),
|
|
16811
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16821
16812
|
issue_test_link_id: z.string().optional(),
|
|
16822
16813
|
run_result_id: z.string().nullable().optional(),
|
|
16823
16814
|
run_result_variant_id: z.string().nullable().optional(),
|
|
@@ -16866,6 +16857,7 @@ const zIssueTestEvidenceFindAllV1Data = z.object({
|
|
|
16866
16857
|
"filter.id": z.array(z.string()).optional(),
|
|
16867
16858
|
"filter.status_id": z.array(z.string()).optional(),
|
|
16868
16859
|
"filter.recorded_at": z.array(z.string()).optional(),
|
|
16860
|
+
"filter.reason": z.array(z.string()).optional(),
|
|
16869
16861
|
"filter.issue_test_link_id": z.array(z.string()).optional(),
|
|
16870
16862
|
"filter.run_result_id": z.array(z.string()).optional(),
|
|
16871
16863
|
"filter.run_result_variant_id": z.array(z.string()).optional(),
|
|
@@ -16877,6 +16869,8 @@ const zIssueTestEvidenceFindAllV1Data = z.object({
|
|
|
16877
16869
|
"id:DESC",
|
|
16878
16870
|
"recorded_at:ASC",
|
|
16879
16871
|
"recorded_at:DESC",
|
|
16872
|
+
"reason:ASC",
|
|
16873
|
+
"reason:DESC",
|
|
16880
16874
|
"run_result_id:ASC",
|
|
16881
16875
|
"run_result_id:DESC",
|
|
16882
16876
|
"run_result_variant_id:ASC",
|
|
@@ -17114,6 +17108,11 @@ const zTransitionIssueDto = z.object({
|
|
|
17114
17108
|
"leave_children",
|
|
17115
17109
|
"cascade_children"
|
|
17116
17110
|
]).optional().describe(""),
|
|
17111
|
+
verification_override: z.array(z.object({
|
|
17112
|
+
link_id: z.string(),
|
|
17113
|
+
kind: z.enum(["override", "not_applicable"]),
|
|
17114
|
+
reason: z.string()
|
|
17115
|
+
})).optional().describe(""),
|
|
17117
17116
|
batch_scope: z.array(z.string()).optional().describe("")
|
|
17118
17117
|
});
|
|
17119
17118
|
const zIssueTransitionTransitionV1Data = z.object({
|
|
@@ -24300,12 +24299,6 @@ const zRunNodeDto = z.object({
|
|
|
24300
24299
|
original_parent_run_id: z.string().nullable(),
|
|
24301
24300
|
name: z.string(),
|
|
24302
24301
|
key: z.number().optional(),
|
|
24303
|
-
run_type: z.enum([
|
|
24304
|
-
"manual",
|
|
24305
|
-
"automated",
|
|
24306
|
-
"ci",
|
|
24307
|
-
"scheduled"
|
|
24308
|
-
]),
|
|
24309
24302
|
triggered_by: z.enum([
|
|
24310
24303
|
"user",
|
|
24311
24304
|
"ci",
|
|
@@ -24315,7 +24308,6 @@ const zRunNodeDto = z.object({
|
|
|
24315
24308
|
started_at: z.unknown(),
|
|
24316
24309
|
ended_at: z.unknown(),
|
|
24317
24310
|
is_complete: z.boolean(),
|
|
24318
|
-
is_automated: z.boolean(),
|
|
24319
24311
|
host_name: z.string().nullable(),
|
|
24320
24312
|
source: z.record(z.string(), z.unknown()).nullable(),
|
|
24321
24313
|
status_type: z.string().optional(),
|
|
@@ -24367,12 +24359,6 @@ const zCreateRunDto = z.object({
|
|
|
24367
24359
|
cycle_id: z.string().nullable(),
|
|
24368
24360
|
auto_add_tests_to_team: z.boolean().optional(),
|
|
24369
24361
|
name: z.string().optional(),
|
|
24370
|
-
run_type: z.enum([
|
|
24371
|
-
"manual",
|
|
24372
|
-
"automated",
|
|
24373
|
-
"ci",
|
|
24374
|
-
"scheduled"
|
|
24375
|
-
]).optional(),
|
|
24376
24362
|
triggered_by: z.enum([
|
|
24377
24363
|
"user",
|
|
24378
24364
|
"ci",
|
|
@@ -24380,7 +24366,6 @@ const zCreateRunDto = z.object({
|
|
|
24380
24366
|
"pr"
|
|
24381
24367
|
]).optional(),
|
|
24382
24368
|
host_name: z.string().nullable(),
|
|
24383
|
-
is_automated: z.boolean().optional(),
|
|
24384
24369
|
environment_ids: z.array(z.string()).optional(),
|
|
24385
24370
|
test_inclusions: z.array(z.object({
|
|
24386
24371
|
test_id: z.string(),
|
|
@@ -24392,7 +24377,6 @@ const zCreateRunDto = z.object({
|
|
|
24392
24377
|
const zUpdateRunDto = z.object({
|
|
24393
24378
|
name: z.string().optional(),
|
|
24394
24379
|
host_name: z.string().nullable(),
|
|
24395
|
-
is_automated: z.boolean().optional(),
|
|
24396
24380
|
is_complete: z.boolean().optional(),
|
|
24397
24381
|
project_id: z.string().nullable(),
|
|
24398
24382
|
cycle_id: z.string().nullable(),
|
|
@@ -24411,12 +24395,6 @@ const zRunWithContentDto = z.object({
|
|
|
24411
24395
|
original_parent_run_id: z.string().nullable(),
|
|
24412
24396
|
name: z.string(),
|
|
24413
24397
|
key: z.number().optional(),
|
|
24414
|
-
run_type: z.enum([
|
|
24415
|
-
"manual",
|
|
24416
|
-
"automated",
|
|
24417
|
-
"ci",
|
|
24418
|
-
"scheduled"
|
|
24419
|
-
]),
|
|
24420
24398
|
triggered_by: z.enum([
|
|
24421
24399
|
"user",
|
|
24422
24400
|
"ci",
|
|
@@ -24426,7 +24404,6 @@ const zRunWithContentDto = z.object({
|
|
|
24426
24404
|
started_at: z.unknown(),
|
|
24427
24405
|
ended_at: z.unknown(),
|
|
24428
24406
|
is_complete: z.boolean(),
|
|
24429
|
-
is_automated: z.boolean(),
|
|
24430
24407
|
host_name: z.string().nullable(),
|
|
24431
24408
|
source: z.record(z.string(), z.unknown()).nullable(),
|
|
24432
24409
|
status_type: z.string().optional(),
|
|
@@ -24506,7 +24483,6 @@ const zRunWithContentDto = z.object({
|
|
|
24506
24483
|
name: z.string(),
|
|
24507
24484
|
description: z.string().nullable(),
|
|
24508
24485
|
key: z.number(),
|
|
24509
|
-
is_automated: z.boolean(),
|
|
24510
24486
|
priority: z.number(),
|
|
24511
24487
|
epoch: z.number(),
|
|
24512
24488
|
precondition: z.string().nullable()
|
|
@@ -24555,7 +24531,6 @@ const zRunResultNodeDto = z.object({
|
|
|
24555
24531
|
name: z.string(),
|
|
24556
24532
|
description: z.string().nullable(),
|
|
24557
24533
|
key: z.number(),
|
|
24558
|
-
is_automated: z.boolean(),
|
|
24559
24534
|
priority: z.number(),
|
|
24560
24535
|
epoch: z.number(),
|
|
24561
24536
|
precondition: z.string().nullable()
|
|
@@ -28087,19 +28062,9 @@ const zTestResponseDto = z.object({
|
|
|
28087
28062
|
priority: z.number().optional(),
|
|
28088
28063
|
data: z.unknown().optional().describe(""),
|
|
28089
28064
|
assignee_id: z.string().nullable().optional().describe(""),
|
|
28090
|
-
is_automated: z.boolean().optional().describe(""),
|
|
28091
28065
|
key: z.number().optional().describe(""),
|
|
28092
28066
|
identifier: z.string().optional().describe(""),
|
|
28093
28067
|
state_mask: z.number().nullable().optional().describe(""),
|
|
28094
|
-
test_type: z.enum([
|
|
28095
|
-
"manual",
|
|
28096
|
-
"text",
|
|
28097
|
-
"prometheus",
|
|
28098
|
-
"gherkin",
|
|
28099
|
-
"generic_automation",
|
|
28100
|
-
"yaml"
|
|
28101
|
-
]).nullable().optional().describe(""),
|
|
28102
|
-
to_automate: z.boolean().optional().describe(""),
|
|
28103
28068
|
automation_status: z.enum([
|
|
28104
28069
|
"not_automated",
|
|
28105
28070
|
"to_automate",
|
|
@@ -28170,19 +28135,9 @@ const zCreateTestDto = z.object({
|
|
|
28170
28135
|
priority: z.number().optional().describe(""),
|
|
28171
28136
|
data: z.unknown().optional().describe(""),
|
|
28172
28137
|
assignee_id: z.string().nullable().optional().describe(""),
|
|
28173
|
-
is_automated: z.boolean().optional().describe(""),
|
|
28174
28138
|
key: z.number().optional().describe(""),
|
|
28175
28139
|
identifier: z.string().optional().describe(""),
|
|
28176
28140
|
state_mask: z.number().nullable().optional().describe(""),
|
|
28177
|
-
test_type: z.enum([
|
|
28178
|
-
"manual",
|
|
28179
|
-
"text",
|
|
28180
|
-
"prometheus",
|
|
28181
|
-
"gherkin",
|
|
28182
|
-
"generic_automation",
|
|
28183
|
-
"yaml"
|
|
28184
|
-
]).nullable().optional().describe(""),
|
|
28185
|
-
to_automate: z.boolean().optional().describe(""),
|
|
28186
28141
|
automation_status: z.enum([
|
|
28187
28142
|
"not_automated",
|
|
28188
28143
|
"to_automate",
|
|
@@ -28225,8 +28180,6 @@ const zUpdateTestDto = z.object({
|
|
|
28225
28180
|
"automated",
|
|
28226
28181
|
"agentic"
|
|
28227
28182
|
]).optional(),
|
|
28228
|
-
is_automated: z.boolean().optional(),
|
|
28229
|
-
to_automate: z.boolean().optional(),
|
|
28230
28183
|
state_mask: z.number().optional(),
|
|
28231
28184
|
assignee_id: z.string().optional(),
|
|
28232
28185
|
data: z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-7EqfEICk.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-7EqfEICk.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|