@levr-one/cli 0.9.0 → 0.9.2
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-Uo_loZAU.js → importHandler-DMHRqTfy.js} +2 -2
- package/dist/{listHandler-Bjchx7d2.js → listHandler-BKPnBfyP.js} +1 -1
- package/dist/{loginHandler-Ct1N7Elo.js → loginHandler-JJ19zYDT.js} +2 -2
- package/dist/{pushHandler-7CSPDo-o.js → pushHandler-BgKV89Xk.js} +2 -2
- package/dist/{resolve-workspace-BquQJznu.js → resolve-workspace-93SQuXLH.js} +1 -1
- package/dist/{sdk-client-B8v6bgC4.js → sdk-client-B3k8Urzu.js} +41 -6
- package/dist/{selectHandler-BHZw9hjM.js → selectHandler-DpIbLw9Z.js} +1 -1
- package/dist/{statusHandler-DYKfY0j1.js → statusHandler-BqRdQjND.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-JJ19zYDT.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-BqRdQjND.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-BgKV89Xk.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-DMHRqTfy.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-BKPnBfyP.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-DpIbLw9Z.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.2";
|
|
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-B3k8Urzu.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-93SQuXLH.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-B3k8Urzu.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-B3k8Urzu.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-93SQuXLH.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-B3k8Urzu.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-93SQuXLH.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";
|
|
@@ -16004,7 +16004,9 @@ const zCreateIssueAutomationTestEvidenceDto = z.object({
|
|
|
16004
16004
|
"regression",
|
|
16005
16005
|
"verification",
|
|
16006
16006
|
"flaky",
|
|
16007
|
-
"superseded"
|
|
16007
|
+
"superseded",
|
|
16008
|
+
"override",
|
|
16009
|
+
"not_applicable"
|
|
16008
16010
|
]).describe(""),
|
|
16009
16011
|
automation_status_type: z.enum([
|
|
16010
16012
|
"passed",
|
|
@@ -16028,6 +16030,7 @@ const zCreateIssueAutomationTestEvidenceDto = z.object({
|
|
|
16028
16030
|
]).nullable().optional().describe(""),
|
|
16029
16031
|
context: z.unknown().optional().describe(""),
|
|
16030
16032
|
recorded_at: z.unknown().describe(""),
|
|
16033
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16031
16034
|
issue_test_link_id: z.string(),
|
|
16032
16035
|
automation_run_result_id: z.string().nullable().optional(),
|
|
16033
16036
|
automation_run_id: z.string().nullable().optional(),
|
|
@@ -16042,7 +16045,9 @@ const zResponseIssueAutomationTestEvidenceDto = z.object({
|
|
|
16042
16045
|
"regression",
|
|
16043
16046
|
"verification",
|
|
16044
16047
|
"flaky",
|
|
16045
|
-
"superseded"
|
|
16048
|
+
"superseded",
|
|
16049
|
+
"override",
|
|
16050
|
+
"not_applicable"
|
|
16046
16051
|
]).describe(""),
|
|
16047
16052
|
automation_status_type: z.enum([
|
|
16048
16053
|
"passed",
|
|
@@ -16066,6 +16071,7 @@ const zResponseIssueAutomationTestEvidenceDto = z.object({
|
|
|
16066
16071
|
]).nullable().optional().describe(""),
|
|
16067
16072
|
context: z.unknown().optional().describe(""),
|
|
16068
16073
|
recorded_at: z.unknown().describe(""),
|
|
16074
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16069
16075
|
issue_test_link_id: z.string(),
|
|
16070
16076
|
automation_run_result_id: z.string().nullable().optional(),
|
|
16071
16077
|
automation_run_id: z.string().nullable().optional(),
|
|
@@ -16086,7 +16092,9 @@ const zUpdateIssueAutomationTestEvidenceDto = z.object({
|
|
|
16086
16092
|
"regression",
|
|
16087
16093
|
"verification",
|
|
16088
16094
|
"flaky",
|
|
16089
|
-
"superseded"
|
|
16095
|
+
"superseded",
|
|
16096
|
+
"override",
|
|
16097
|
+
"not_applicable"
|
|
16090
16098
|
]).optional().describe(""),
|
|
16091
16099
|
automation_status_type: z.enum([
|
|
16092
16100
|
"passed",
|
|
@@ -16110,6 +16118,7 @@ const zUpdateIssueAutomationTestEvidenceDto = z.object({
|
|
|
16110
16118
|
]).nullable().optional().describe(""),
|
|
16111
16119
|
context: z.unknown().optional().describe(""),
|
|
16112
16120
|
recorded_at: z.unknown().optional().describe(""),
|
|
16121
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16113
16122
|
issue_test_link_id: z.string().optional(),
|
|
16114
16123
|
automation_run_result_id: z.string().nullable().optional(),
|
|
16115
16124
|
automation_run_id: z.string().nullable().optional(),
|
|
@@ -16157,6 +16166,7 @@ const zIssueAutomationTestEvidenceFindAllV1Data = z.object({
|
|
|
16157
16166
|
"limit": z.number().optional(),
|
|
16158
16167
|
"filter.id": z.array(z.string()).optional(),
|
|
16159
16168
|
"filter.recorded_at": z.array(z.string()).optional(),
|
|
16169
|
+
"filter.reason": z.array(z.string()).optional(),
|
|
16160
16170
|
"filter.issue_test_link_id": z.array(z.string()).optional(),
|
|
16161
16171
|
"filter.automation_run_result_id": z.array(z.string()).optional(),
|
|
16162
16172
|
"filter.automation_run_id": z.array(z.string()).optional(),
|
|
@@ -16168,6 +16178,8 @@ const zIssueAutomationTestEvidenceFindAllV1Data = z.object({
|
|
|
16168
16178
|
"id:DESC",
|
|
16169
16179
|
"recorded_at:ASC",
|
|
16170
16180
|
"recorded_at:DESC",
|
|
16181
|
+
"reason:ASC",
|
|
16182
|
+
"reason:DESC",
|
|
16171
16183
|
"automation_run_result_id:ASC",
|
|
16172
16184
|
"automation_run_result_id:DESC",
|
|
16173
16185
|
"automation_run_id:ASC",
|
|
@@ -16769,11 +16781,14 @@ const zCreateIssueTestEvidenceDto = z.object({
|
|
|
16769
16781
|
"regression",
|
|
16770
16782
|
"verification",
|
|
16771
16783
|
"flaky",
|
|
16772
|
-
"superseded"
|
|
16784
|
+
"superseded",
|
|
16785
|
+
"override",
|
|
16786
|
+
"not_applicable"
|
|
16773
16787
|
]).describe(""),
|
|
16774
16788
|
status_id: z.string().describe(""),
|
|
16775
16789
|
context: z.unknown().optional().describe(""),
|
|
16776
16790
|
recorded_at: z.unknown().describe(""),
|
|
16791
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16777
16792
|
issue_test_link_id: z.string(),
|
|
16778
16793
|
run_result_id: z.string().nullable().optional(),
|
|
16779
16794
|
run_result_variant_id: z.string().nullable().optional(),
|
|
@@ -16788,11 +16803,14 @@ const zResponseIssueTestEvidenceDto = z.object({
|
|
|
16788
16803
|
"regression",
|
|
16789
16804
|
"verification",
|
|
16790
16805
|
"flaky",
|
|
16791
|
-
"superseded"
|
|
16806
|
+
"superseded",
|
|
16807
|
+
"override",
|
|
16808
|
+
"not_applicable"
|
|
16792
16809
|
]).describe(""),
|
|
16793
16810
|
status_id: z.string().describe(""),
|
|
16794
16811
|
context: z.unknown().optional().describe(""),
|
|
16795
16812
|
recorded_at: z.unknown().describe(""),
|
|
16813
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16796
16814
|
issue_test_link_id: z.string(),
|
|
16797
16815
|
run_result_id: z.string().nullable().optional(),
|
|
16798
16816
|
run_result_variant_id: z.string().nullable().optional(),
|
|
@@ -16813,11 +16831,14 @@ const zUpdateIssueTestEvidenceDto = z.object({
|
|
|
16813
16831
|
"regression",
|
|
16814
16832
|
"verification",
|
|
16815
16833
|
"flaky",
|
|
16816
|
-
"superseded"
|
|
16834
|
+
"superseded",
|
|
16835
|
+
"override",
|
|
16836
|
+
"not_applicable"
|
|
16817
16837
|
]).optional().describe(""),
|
|
16818
16838
|
status_id: z.string().optional().describe(""),
|
|
16819
16839
|
context: z.unknown().optional().describe(""),
|
|
16820
16840
|
recorded_at: z.unknown().optional().describe(""),
|
|
16841
|
+
reason: z.string().nullable().optional().describe(""),
|
|
16821
16842
|
issue_test_link_id: z.string().optional(),
|
|
16822
16843
|
run_result_id: z.string().nullable().optional(),
|
|
16823
16844
|
run_result_variant_id: z.string().nullable().optional(),
|
|
@@ -16866,6 +16887,7 @@ const zIssueTestEvidenceFindAllV1Data = z.object({
|
|
|
16866
16887
|
"filter.id": z.array(z.string()).optional(),
|
|
16867
16888
|
"filter.status_id": z.array(z.string()).optional(),
|
|
16868
16889
|
"filter.recorded_at": z.array(z.string()).optional(),
|
|
16890
|
+
"filter.reason": z.array(z.string()).optional(),
|
|
16869
16891
|
"filter.issue_test_link_id": z.array(z.string()).optional(),
|
|
16870
16892
|
"filter.run_result_id": z.array(z.string()).optional(),
|
|
16871
16893
|
"filter.run_result_variant_id": z.array(z.string()).optional(),
|
|
@@ -16877,6 +16899,8 @@ const zIssueTestEvidenceFindAllV1Data = z.object({
|
|
|
16877
16899
|
"id:DESC",
|
|
16878
16900
|
"recorded_at:ASC",
|
|
16879
16901
|
"recorded_at:DESC",
|
|
16902
|
+
"reason:ASC",
|
|
16903
|
+
"reason:DESC",
|
|
16880
16904
|
"run_result_id:ASC",
|
|
16881
16905
|
"run_result_id:DESC",
|
|
16882
16906
|
"run_result_variant_id:ASC",
|
|
@@ -17114,6 +17138,11 @@ const zTransitionIssueDto = z.object({
|
|
|
17114
17138
|
"leave_children",
|
|
17115
17139
|
"cascade_children"
|
|
17116
17140
|
]).optional().describe(""),
|
|
17141
|
+
verification_override: z.array(z.object({
|
|
17142
|
+
link_id: z.string(),
|
|
17143
|
+
kind: z.enum(["override", "not_applicable"]),
|
|
17144
|
+
reason: z.string()
|
|
17145
|
+
})).optional().describe(""),
|
|
17117
17146
|
batch_scope: z.array(z.string()).optional().describe("")
|
|
17118
17147
|
});
|
|
17119
17148
|
const zIssueTransitionTransitionV1Data = z.object({
|
|
@@ -27671,6 +27700,8 @@ const zPriorityBootstrapRequestDto = z.object({
|
|
|
27671
27700
|
column: z.string().describe(""),
|
|
27672
27701
|
value: z.string().describe("")
|
|
27673
27702
|
});
|
|
27703
|
+
const zEntityPresenceRequestDto = z.object({ entities: z.array(z.string()).describe("") });
|
|
27704
|
+
const zEntityPresenceResponseDto = z.object({ present: z.record(z.string(), z.boolean()).describe("") });
|
|
27674
27705
|
const zTransactionOperationDto = z.object({
|
|
27675
27706
|
op: z.enum([
|
|
27676
27707
|
"create",
|
|
@@ -27710,6 +27741,10 @@ const zSyncPriorityBootstrapV1Data = z.object({
|
|
|
27710
27741
|
url: z.literal("/v1/sync/priority-bootstrap")
|
|
27711
27742
|
});
|
|
27712
27743
|
const zSyncSchemaVersionsV1Data = z.object({ url: z.literal("/v1/sync/schema-versions") });
|
|
27744
|
+
const zSyncEntityPresenceV1Data = z.object({
|
|
27745
|
+
body: zEntityPresenceRequestDto,
|
|
27746
|
+
url: z.literal("/v1/sync/entity-presence")
|
|
27747
|
+
});
|
|
27713
27748
|
const zSyncProcessBulkTransactionsV1Data = z.object({
|
|
27714
27749
|
body: zBulkTransactionRequestDto,
|
|
27715
27750
|
url: z.literal("/v1/sync/transactions")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-B3k8Urzu.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-B3k8Urzu.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|