@levr-one/cli 0.5.6 → 0.5.7
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-C7BH1gNa.js → importHandler-DVH73P3Z.js} +2 -2
- package/dist/{listHandler-CxsG1ouN.js → listHandler-asZGryNG.js} +1 -1
- package/dist/{loginHandler-CM1gBvrN.js → loginHandler-DPSAn1JE.js} +2 -2
- package/dist/{pushHandler-REuoBBGu.js → pushHandler-B5Zm2Yx4.js} +2 -2
- package/dist/{resolve-workspace-51yAO0RD.js → resolve-workspace-C01ieVmc.js} +1 -1
- package/dist/{sdk-client-2oow-cNW.js → sdk-client-DnsWyN7f.js} +32 -23
- package/dist/{selectHandler-mAabX0wm.js → selectHandler-BqnPawbt.js} +1 -1
- package/dist/{statusHandler-BtBFZYxW.js → statusHandler-BxncdEG7.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-DPSAn1JE.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-BxncdEG7.js");
|
|
223
223
|
return statusHandler;
|
|
224
224
|
}
|
|
225
225
|
});
|
|
@@ -330,7 +330,7 @@ Examples:
|
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
332
|
loader: async () => {
|
|
333
|
-
const { pushHandler } = await import("./pushHandler-
|
|
333
|
+
const { pushHandler } = await import("./pushHandler-B5Zm2Yx4.js");
|
|
334
334
|
return pushHandler;
|
|
335
335
|
}
|
|
336
336
|
});
|
|
@@ -442,7 +442,7 @@ Examples:
|
|
|
442
442
|
}
|
|
443
443
|
},
|
|
444
444
|
loader: async () => {
|
|
445
|
-
const { importHandler } = await import("./importHandler-
|
|
445
|
+
const { importHandler } = await import("./importHandler-DVH73P3Z.js");
|
|
446
446
|
return importHandler;
|
|
447
447
|
}
|
|
448
448
|
});
|
|
@@ -463,7 +463,7 @@ Examples:
|
|
|
463
463
|
},
|
|
464
464
|
parameters: {},
|
|
465
465
|
loader: async () => {
|
|
466
|
-
const { listHandler } = await import("./listHandler-
|
|
466
|
+
const { listHandler } = await import("./listHandler-asZGryNG.js");
|
|
467
467
|
return listHandler;
|
|
468
468
|
}
|
|
469
469
|
});
|
|
@@ -496,7 +496,7 @@ Examples:
|
|
|
496
496
|
flags: {}
|
|
497
497
|
},
|
|
498
498
|
loader: async () => {
|
|
499
|
-
const { selectHandler } = await import("./selectHandler-
|
|
499
|
+
const { selectHandler } = await import("./selectHandler-BqnPawbt.js");
|
|
500
500
|
return selectHandler;
|
|
501
501
|
}
|
|
502
502
|
});
|
|
@@ -520,7 +520,7 @@ Examples:
|
|
|
520
520
|
|
|
521
521
|
//#endregion
|
|
522
522
|
//#region package.json
|
|
523
|
-
var version = "0.5.
|
|
523
|
+
var version = "0.5.7";
|
|
524
524
|
|
|
525
525
|
//#endregion
|
|
526
526
|
//#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-DnsWyN7f.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-C01ieVmc.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-DnsWyN7f.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-DnsWyN7f.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-C01ieVmc.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-DnsWyN7f.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-C01ieVmc.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";
|
|
@@ -10109,6 +10109,13 @@ const zCycleGenerationGenerateV1Data = z.object({
|
|
|
10109
10109
|
url: z.literal("/v1/cycle-generation")
|
|
10110
10110
|
});
|
|
10111
10111
|
|
|
10112
|
+
//#endregion
|
|
10113
|
+
//#region ../sdk/dist/gen/cycle-lifecycle/zod.js
|
|
10114
|
+
const zCycleLifecycleStartCycleV1Data = z.object({
|
|
10115
|
+
path: z.object({ "id": z.string() }),
|
|
10116
|
+
url: z.literal("/v1/cycles/{id}/start")
|
|
10117
|
+
});
|
|
10118
|
+
|
|
10112
10119
|
//#endregion
|
|
10113
10120
|
//#region ../sdk/dist/gen/cycle-schedule/zod.js
|
|
10114
10121
|
const zCreateCycleScheduleDto = z.object({
|
|
@@ -10118,6 +10125,10 @@ const zCreateCycleScheduleDto = z.object({
|
|
|
10118
10125
|
upcoming_count: z.number().optional().describe(""),
|
|
10119
10126
|
enabled: z.boolean().optional().describe(""),
|
|
10120
10127
|
timezone: z.string().optional().describe(""),
|
|
10128
|
+
auto_add_started: z.boolean().optional().describe(""),
|
|
10129
|
+
auto_add_completed: z.boolean().optional().describe(""),
|
|
10130
|
+
auto_add_active: z.boolean().optional().describe(""),
|
|
10131
|
+
auto_add_active_target: z.string().optional().describe(""),
|
|
10121
10132
|
team_id: z.string()
|
|
10122
10133
|
});
|
|
10123
10134
|
const zResponseCycleScheduleDto = z.object({
|
|
@@ -10127,6 +10138,10 @@ const zResponseCycleScheduleDto = z.object({
|
|
|
10127
10138
|
upcoming_count: z.number().optional().describe(""),
|
|
10128
10139
|
enabled: z.boolean().optional().describe(""),
|
|
10129
10140
|
timezone: z.string().optional().describe(""),
|
|
10141
|
+
auto_add_started: z.boolean().optional().describe(""),
|
|
10142
|
+
auto_add_completed: z.boolean().optional().describe(""),
|
|
10143
|
+
auto_add_active: z.boolean().optional().describe(""),
|
|
10144
|
+
auto_add_active_target: z.string().optional().describe(""),
|
|
10130
10145
|
team_id: z.string(),
|
|
10131
10146
|
created_at: z.unknown().describe(""),
|
|
10132
10147
|
updated_at: z.unknown().describe(""),
|
|
@@ -10142,6 +10157,10 @@ const zUpdateCycleScheduleDto = z.object({
|
|
|
10142
10157
|
upcoming_count: z.number().optional().describe(""),
|
|
10143
10158
|
enabled: z.boolean().optional().describe(""),
|
|
10144
10159
|
timezone: z.string().optional().describe(""),
|
|
10160
|
+
auto_add_started: z.boolean().optional().describe(""),
|
|
10161
|
+
auto_add_completed: z.boolean().optional().describe(""),
|
|
10162
|
+
auto_add_active: z.boolean().optional().describe(""),
|
|
10163
|
+
auto_add_active_target: z.string().optional().describe(""),
|
|
10145
10164
|
team_id: z.string().optional()
|
|
10146
10165
|
});
|
|
10147
10166
|
const zCycleScheduleBulkOperationDto = z.object({
|
|
@@ -10190,6 +10209,10 @@ const zCycleScheduleFindAllV1Data = z.object({
|
|
|
10190
10209
|
"filter.upcoming_count": z.array(z.string()).optional(),
|
|
10191
10210
|
"filter.enabled": z.array(z.string()).optional(),
|
|
10192
10211
|
"filter.timezone": z.array(z.string()).optional(),
|
|
10212
|
+
"filter.auto_add_started": z.array(z.string()).optional(),
|
|
10213
|
+
"filter.auto_add_completed": z.array(z.string()).optional(),
|
|
10214
|
+
"filter.auto_add_active": z.array(z.string()).optional(),
|
|
10215
|
+
"filter.auto_add_active_target": z.array(z.string()).optional(),
|
|
10193
10216
|
"filter.team_id": z.array(z.string()).optional(),
|
|
10194
10217
|
"filter.created_at": z.array(z.string()).optional(),
|
|
10195
10218
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
@@ -10204,6 +10227,8 @@ const zCycleScheduleFindAllV1Data = z.object({
|
|
|
10204
10227
|
"upcoming_count:DESC",
|
|
10205
10228
|
"timezone:ASC",
|
|
10206
10229
|
"timezone:DESC",
|
|
10230
|
+
"auto_add_active_target:ASC",
|
|
10231
|
+
"auto_add_active_target:DESC",
|
|
10207
10232
|
"created_at:ASC",
|
|
10208
10233
|
"created_at:DESC",
|
|
10209
10234
|
"updated_at:ASC",
|
|
@@ -10232,13 +10257,6 @@ const zCycleScheduleBulkOperationV1Data = z.object({
|
|
|
10232
10257
|
url: z.literal("/v1/cycle-schedule/bulk")
|
|
10233
10258
|
});
|
|
10234
10259
|
|
|
10235
|
-
//#endregion
|
|
10236
|
-
//#region ../sdk/dist/gen/cycle-velocity/zod.js
|
|
10237
|
-
const zCycleVelocityGetVelocityV1Data = z.object({
|
|
10238
|
-
query: z.object({ "team_id": z.string() }).optional(),
|
|
10239
|
-
url: z.literal("/v1/cycle-velocity")
|
|
10240
|
-
});
|
|
10241
|
-
|
|
10242
10260
|
//#endregion
|
|
10243
10261
|
//#region ../sdk/dist/gen/data-set/zod.js
|
|
10244
10262
|
const zCreateDataSetDto = z.object({
|
|
@@ -27573,9 +27591,6 @@ const zCreateTeamDto = z.object({
|
|
|
27573
27591
|
is_private: z.boolean().optional().describe(""),
|
|
27574
27592
|
issue_count: z.number().optional().describe(""),
|
|
27575
27593
|
settings: z.unknown().optional().describe(""),
|
|
27576
|
-
cycle_duration: z.number().optional().describe(""),
|
|
27577
|
-
cycle_start_day: z.number().optional().describe(""),
|
|
27578
|
-
cycles_enabled: z.boolean().optional().describe(""),
|
|
27579
27594
|
estimation_scale: z.enum([
|
|
27580
27595
|
"none",
|
|
27581
27596
|
"fibonacci",
|
|
@@ -27596,9 +27611,6 @@ const zResponseTeamDto = z.object({
|
|
|
27596
27611
|
is_private: z.boolean().optional().describe(""),
|
|
27597
27612
|
issue_count: z.number().optional().describe(""),
|
|
27598
27613
|
settings: z.unknown().optional().describe(""),
|
|
27599
|
-
cycle_duration: z.number().optional().describe(""),
|
|
27600
|
-
cycle_start_day: z.number().optional().describe(""),
|
|
27601
|
-
cycles_enabled: z.boolean().optional().describe(""),
|
|
27602
27614
|
estimation_scale: z.enum([
|
|
27603
27615
|
"none",
|
|
27604
27616
|
"fibonacci",
|
|
@@ -27629,9 +27641,6 @@ const zUpdateTeamDto = z.object({
|
|
|
27629
27641
|
is_private: z.boolean().optional().describe(""),
|
|
27630
27642
|
issue_count: z.number().optional().describe(""),
|
|
27631
27643
|
settings: z.unknown().optional().describe(""),
|
|
27632
|
-
cycle_duration: z.number().optional().describe(""),
|
|
27633
|
-
cycle_start_day: z.number().optional().describe(""),
|
|
27634
|
-
cycles_enabled: z.boolean().optional().describe(""),
|
|
27635
27644
|
estimation_scale: z.enum([
|
|
27636
27645
|
"none",
|
|
27637
27646
|
"fibonacci",
|
|
@@ -27691,9 +27700,6 @@ const zTeamFindAllV1Data = z.object({
|
|
|
27691
27700
|
"filter.color": z.array(z.string()).optional(),
|
|
27692
27701
|
"filter.is_private": z.array(z.string()).optional(),
|
|
27693
27702
|
"filter.issue_count": z.array(z.string()).optional(),
|
|
27694
|
-
"filter.cycle_duration": z.array(z.string()).optional(),
|
|
27695
|
-
"filter.cycle_start_day": z.array(z.string()).optional(),
|
|
27696
|
-
"filter.cycles_enabled": z.array(z.string()).optional(),
|
|
27697
27703
|
"filter.estimation_allow_zero": z.array(z.string()).optional(),
|
|
27698
27704
|
"filter.estimation_unestimated_value": z.array(z.string()).optional(),
|
|
27699
27705
|
"filter.is_system": z.array(z.string()).optional(),
|
|
@@ -27716,10 +27722,6 @@ const zTeamFindAllV1Data = z.object({
|
|
|
27716
27722
|
"color:DESC",
|
|
27717
27723
|
"issue_count:ASC",
|
|
27718
27724
|
"issue_count:DESC",
|
|
27719
|
-
"cycle_duration:ASC",
|
|
27720
|
-
"cycle_duration:DESC",
|
|
27721
|
-
"cycle_start_day:ASC",
|
|
27722
|
-
"cycle_start_day:DESC",
|
|
27723
27725
|
"estimation_unestimated_value:ASC",
|
|
27724
27726
|
"estimation_unestimated_value:DESC",
|
|
27725
27727
|
"created_at:ASC",
|
|
@@ -27886,6 +27888,13 @@ const zTeamMemberBulkOperationV1Data = z.object({
|
|
|
27886
27888
|
//#region ../sdk/dist/gen/team-member-custom/zod.js
|
|
27887
27889
|
const zTeamMemberCustomGetMyPrivateTeamsV1Data = z.object({ url: z.literal("/v1/team-members/my-private-teams") });
|
|
27888
27890
|
|
|
27891
|
+
//#endregion
|
|
27892
|
+
//#region ../sdk/dist/gen/team-velocity/zod.js
|
|
27893
|
+
const zTeamVelocityGetVelocityV1Data = z.object({
|
|
27894
|
+
query: z.object({ "team_id": z.string() }).optional(),
|
|
27895
|
+
url: z.literal("/v1/team-velocity")
|
|
27896
|
+
});
|
|
27897
|
+
|
|
27889
27898
|
//#endregion
|
|
27890
27899
|
//#region ../sdk/dist/gen/test/zod.js
|
|
27891
27900
|
const zTestResponseDto = 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-DnsWyN7f.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-DnsWyN7f.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|