@levr-one/cli 0.6.2 → 0.6.4
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-x8EKMLjh.js → importHandler-DaGGp34z.js} +2 -2
- package/dist/{listHandler-BBD9ATEd.js → listHandler-B73q4Uu1.js} +1 -1
- package/dist/{loginHandler-Cn4kpa1Y.js → loginHandler-DRD6xDGX.js} +2 -2
- package/dist/{pushHandler-gDagy6nR.js → pushHandler-bru5EsMy.js} +2 -2
- package/dist/{resolve-workspace-2LU6K8Sc.js → resolve-workspace-DFSer9TZ.js} +1 -1
- package/dist/{sdk-client-CPSQ4p-n.js → sdk-client-BOrhy5fg.js} +52 -3
- package/dist/{selectHandler-DjuTbQ-k.js → selectHandler-NjaLQgHP.js} +1 -1
- package/dist/{statusHandler-BGN_0N_g.js → statusHandler-n94OcL1K.js} +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -180,7 +180,7 @@ Examples:
|
|
|
180
180
|
aliases: { d: "device-code" }
|
|
181
181
|
},
|
|
182
182
|
loader: async () => {
|
|
183
|
-
const { loginHandler } = await import("./loginHandler-
|
|
183
|
+
const { loginHandler } = await import("./loginHandler-DRD6xDGX.js");
|
|
184
184
|
return loginHandler;
|
|
185
185
|
}
|
|
186
186
|
});
|
|
@@ -219,7 +219,7 @@ Examples:
|
|
|
219
219
|
},
|
|
220
220
|
parameters: {},
|
|
221
221
|
loader: async () => {
|
|
222
|
-
const { statusHandler } = await import("./statusHandler-
|
|
222
|
+
const { statusHandler } = await import("./statusHandler-n94OcL1K.js");
|
|
223
223
|
return statusHandler;
|
|
224
224
|
}
|
|
225
225
|
});
|
|
@@ -331,7 +331,7 @@ Examples:
|
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
333
|
loader: async () => {
|
|
334
|
-
const { pushHandler } = await import("./pushHandler-
|
|
334
|
+
const { pushHandler } = await import("./pushHandler-bru5EsMy.js");
|
|
335
335
|
return pushHandler;
|
|
336
336
|
}
|
|
337
337
|
});
|
|
@@ -443,7 +443,7 @@ Examples:
|
|
|
443
443
|
}
|
|
444
444
|
},
|
|
445
445
|
loader: async () => {
|
|
446
|
-
const { importHandler } = await import("./importHandler-
|
|
446
|
+
const { importHandler } = await import("./importHandler-DaGGp34z.js");
|
|
447
447
|
return importHandler;
|
|
448
448
|
}
|
|
449
449
|
});
|
|
@@ -464,7 +464,7 @@ Examples:
|
|
|
464
464
|
},
|
|
465
465
|
parameters: {},
|
|
466
466
|
loader: async () => {
|
|
467
|
-
const { listHandler } = await import("./listHandler-
|
|
467
|
+
const { listHandler } = await import("./listHandler-B73q4Uu1.js");
|
|
468
468
|
return listHandler;
|
|
469
469
|
}
|
|
470
470
|
});
|
|
@@ -497,7 +497,7 @@ Examples:
|
|
|
497
497
|
flags: {}
|
|
498
498
|
},
|
|
499
499
|
loader: async () => {
|
|
500
|
-
const { selectHandler } = await import("./selectHandler-
|
|
500
|
+
const { selectHandler } = await import("./selectHandler-NjaLQgHP.js");
|
|
501
501
|
return selectHandler;
|
|
502
502
|
}
|
|
503
503
|
});
|
|
@@ -521,7 +521,7 @@ Examples:
|
|
|
521
521
|
|
|
522
522
|
//#endregion
|
|
523
523
|
//#region package.json
|
|
524
|
-
var version = "0.6.
|
|
524
|
+
var version = "0.6.4";
|
|
525
525
|
|
|
526
526
|
//#endregion
|
|
527
527
|
//#region src/app.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-
|
|
2
|
+
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-BOrhy5fg.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DFSer9TZ.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-BOrhy5fg.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-BOrhy5fg.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-DFSer9TZ.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-BOrhy5fg.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DFSer9TZ.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";
|
|
@@ -15750,6 +15750,35 @@ const zIssueUnarchiveV1Data = z.object({
|
|
|
15750
15750
|
url: z.literal("/v1/issue/{id}/unarchive")
|
|
15751
15751
|
});
|
|
15752
15752
|
|
|
15753
|
+
//#endregion
|
|
15754
|
+
//#region ../sdk/dist/gen/issue-assign/zod.js
|
|
15755
|
+
const zAssignIssueDto = z.object({
|
|
15756
|
+
assignee_id: z.string().nullable().describe(""),
|
|
15757
|
+
child_assignment: z.enum(["leave_children", "cascade_children"]).optional().describe("")
|
|
15758
|
+
});
|
|
15759
|
+
const zAssignCascadeIssueRefDto = z.object({
|
|
15760
|
+
id: z.string(),
|
|
15761
|
+
identifier: z.record(z.string(), z.unknown()).nullable(),
|
|
15762
|
+
title: z.record(z.string(), z.unknown()).nullable()
|
|
15763
|
+
});
|
|
15764
|
+
const zAssignCascadeSkipDto = z.object({
|
|
15765
|
+
issue: zAssignCascadeIssueRefDto,
|
|
15766
|
+
reason: z.string()
|
|
15767
|
+
});
|
|
15768
|
+
const zAssignCascadeOutcomeDto = z.object({
|
|
15769
|
+
cascaded: z.array(zAssignCascadeIssueRefDto),
|
|
15770
|
+
skipped: z.array(zAssignCascadeSkipDto)
|
|
15771
|
+
});
|
|
15772
|
+
const zAssignIssueResponseDto = z.object({
|
|
15773
|
+
issue: zResponseIssueDto,
|
|
15774
|
+
cascade: zAssignCascadeOutcomeDto
|
|
15775
|
+
});
|
|
15776
|
+
const zIssueAssignAssignV1Data = z.object({
|
|
15777
|
+
body: zAssignIssueDto,
|
|
15778
|
+
path: z.object({ "id": z.string() }),
|
|
15779
|
+
url: z.literal("/v1/issue/{id}/assign")
|
|
15780
|
+
});
|
|
15781
|
+
|
|
15753
15782
|
//#endregion
|
|
15754
15783
|
//#region ../sdk/dist/gen/issue-automation-test-evidence/zod.js
|
|
15755
15784
|
const zCreateIssueAutomationTestEvidenceDto = z.object({
|
|
@@ -19964,6 +19993,27 @@ const zDeviceApproveRequestDto = z.object({
|
|
|
19964
19993
|
user_code: z.string(),
|
|
19965
19994
|
workspace_id: z.string().optional()
|
|
19966
19995
|
});
|
|
19996
|
+
const zGrantListItemDto = z.object({
|
|
19997
|
+
id: z.number(),
|
|
19998
|
+
client_id: z.number(),
|
|
19999
|
+
client_name: z.string(),
|
|
20000
|
+
consent_type: z.enum(["workspace", "user"]),
|
|
20001
|
+
scopes: z.string().nullable(),
|
|
20002
|
+
granted_at: z.string().nullable(),
|
|
20003
|
+
granted_by: z.object({
|
|
20004
|
+
account_id: z.string(),
|
|
20005
|
+
name: z.string().nullable(),
|
|
20006
|
+
email: z.string().nullable(),
|
|
20007
|
+
avatar_url: z.string().nullable()
|
|
20008
|
+
}),
|
|
20009
|
+
principal: z.object({
|
|
20010
|
+
account_id: z.string(),
|
|
20011
|
+
name: z.string().nullable(),
|
|
20012
|
+
email: z.string().nullable(),
|
|
20013
|
+
avatar_url: z.string().nullable()
|
|
20014
|
+
}).nullable(),
|
|
20015
|
+
can_revoke: z.boolean()
|
|
20016
|
+
});
|
|
19967
20017
|
const zOAuthGetAuthorizeV1Data = z.object({
|
|
19968
20018
|
query: z.object({
|
|
19969
20019
|
"response_type": z.string(),
|
|
@@ -20014,9 +20064,8 @@ const zOAuthCheckGrantV1Data = z.object({
|
|
|
20014
20064
|
});
|
|
20015
20065
|
const zOAuthListGrantsV1Data = z.object({ url: z.literal("/v1/oauth/grants") });
|
|
20016
20066
|
const zOAuthRevokeGrantV1Data = z.object({
|
|
20017
|
-
path: z.object({ "
|
|
20018
|
-
|
|
20019
|
-
url: z.literal("/v1/oauth/grants/{client_id}")
|
|
20067
|
+
path: z.object({ "id": z.string() }),
|
|
20068
|
+
url: z.literal("/v1/oauth/grants/{id}")
|
|
20020
20069
|
});
|
|
20021
20070
|
|
|
20022
20071
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-BOrhy5fg.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-BOrhy5fg.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|