@levr-one/cli 0.9.26 → 0.9.27
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-CP-Viau3.js → importHandler-B1CGwwkp.js} +2 -2
- package/dist/{listHandler-BLPxDSr_.js → listHandler-Dymi1kt4.js} +1 -1
- package/dist/{loginHandler-nb9bumU4.js → loginHandler-CLyQKoYe.js} +2 -2
- package/dist/{pushHandler-Da1B9Nhh.js → pushHandler-anBd1pkW.js} +2 -2
- package/dist/{resolve-workspace-BzjKljLE.js → resolve-workspace-CLhu0X0z.js} +1 -1
- package/dist/{sdk-client-DTA0kLMn.js → sdk-client-DtubAZgv.js} +19 -2
- package/dist/{selectHandler-D6pGX5cn.js → selectHandler-DSNQdwPV.js} +1 -1
- package/dist/{statusHandler-BJ9PaNYa.js → statusHandler-DUW3yPTK.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-CLyQKoYe.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-DUW3yPTK.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-anBd1pkW.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-B1CGwwkp.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-Dymi1kt4.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-DSNQdwPV.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.27";
|
|
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-DtubAZgv.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CLhu0X0z.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-DtubAZgv.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-DtubAZgv.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-CLhu0X0z.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-DtubAZgv.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CLhu0X0z.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";
|
|
@@ -17662,6 +17662,10 @@ const zIssueViewRestoreV1Data = z.object({
|
|
|
17662
17662
|
|
|
17663
17663
|
//#endregion
|
|
17664
17664
|
//#region ../sdk/dist/gen/jira/zod.js
|
|
17665
|
+
const zCatalogueMapBodyDto = z.object({
|
|
17666
|
+
team_id: z.string(),
|
|
17667
|
+
is_primary: z.boolean().optional()
|
|
17668
|
+
});
|
|
17665
17669
|
const zJiraStatusV1Data = z.object({ url: z.literal("/v1/jira/status") });
|
|
17666
17670
|
const zJiraLinkV1Data = z.object({ url: z.literal("/v1/jira/link") });
|
|
17667
17671
|
const zJiraInstallationsV1Data = z.object({
|
|
@@ -17677,9 +17681,22 @@ const zJiraRefreshProjectsV1Data = z.object({
|
|
|
17677
17681
|
path: z.object({ "id": z.string() }),
|
|
17678
17682
|
url: z.literal("/v1/jira/installations/{id}/refresh-projects")
|
|
17679
17683
|
});
|
|
17680
|
-
const
|
|
17684
|
+
const zJiraSearchCatalogueV1Data = z.object({
|
|
17681
17685
|
path: z.object({ "id": z.string() }),
|
|
17682
|
-
|
|
17686
|
+
query: z.object({
|
|
17687
|
+
"query": z.string().optional(),
|
|
17688
|
+
"page": z.number().optional(),
|
|
17689
|
+
"limit": z.number().optional()
|
|
17690
|
+
}).optional(),
|
|
17691
|
+
url: z.literal("/v1/jira/installations/{id}/catalogue")
|
|
17692
|
+
});
|
|
17693
|
+
const zJiraMapCatalogueProjectV1Data = z.object({
|
|
17694
|
+
body: zCatalogueMapBodyDto,
|
|
17695
|
+
path: z.object({
|
|
17696
|
+
"id": z.string(),
|
|
17697
|
+
"catalogueId": z.string()
|
|
17698
|
+
}),
|
|
17699
|
+
url: z.literal("/v1/jira/installations/{id}/catalogue/{catalogueId}/map")
|
|
17683
17700
|
});
|
|
17684
17701
|
|
|
17685
17702
|
//#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-DtubAZgv.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-DtubAZgv.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|