@levr-one/cli 0.5.5 → 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 CHANGED
@@ -180,7 +180,7 @@ Examples:
180
180
  aliases: { d: "device-code" }
181
181
  },
182
182
  loader: async () => {
183
- const { loginHandler } = await import("./loginHandler-IfdBl3eW.js");
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-Dhmy8EBe.js");
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-BJo_SH-M.js");
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-BoO3nxZi.js");
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-C8aGcmtp.js");
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-DBwdTn5M.js");
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.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-DpxzC7UN.js";
2
+ import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-DnsWyN7f.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-DvWX6sc6.js";
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-DpxzC7UN.js";
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-DpxzC7UN.js";
2
+ import { configureClient } from "./sdk-client-DnsWyN7f.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-DvWX6sc6.js";
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-DpxzC7UN.js";
2
+ import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-DnsWyN7f.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-DvWX6sc6.js";
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";
@@ -1,4 +1,4 @@
1
- import { authGetSitesV1 } from "./sdk-client-DpxzC7UN.js";
1
+ import { authGetSitesV1 } from "./sdk-client-DnsWyN7f.js";
2
2
  import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-DDOxnut1.js";
3
3
 
4
4
  //#region src/workspace/resolve-workspace.ts
@@ -2435,7 +2435,8 @@ const zArchiveListResponseDto = z.object({
2435
2435
  deleted_at: z.string().nullable().optional(),
2436
2436
  created_at: z.string(),
2437
2437
  created_by: z.string(),
2438
- deleted_by: z.string().nullable().optional()
2438
+ deleted_by: z.string().nullable().optional(),
2439
+ archived_by: z.string().nullable().optional()
2439
2440
  })),
2440
2441
  meta: z.object({
2441
2442
  itemsPerPage: z.number(),
@@ -10108,6 +10109,13 @@ const zCycleGenerationGenerateV1Data = z.object({
10108
10109
  url: z.literal("/v1/cycle-generation")
10109
10110
  });
10110
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
+
10111
10119
  //#endregion
10112
10120
  //#region ../sdk/dist/gen/cycle-schedule/zod.js
10113
10121
  const zCreateCycleScheduleDto = z.object({
@@ -10117,6 +10125,10 @@ const zCreateCycleScheduleDto = z.object({
10117
10125
  upcoming_count: z.number().optional().describe(""),
10118
10126
  enabled: z.boolean().optional().describe(""),
10119
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(""),
10120
10132
  team_id: z.string()
10121
10133
  });
10122
10134
  const zResponseCycleScheduleDto = z.object({
@@ -10126,6 +10138,10 @@ const zResponseCycleScheduleDto = z.object({
10126
10138
  upcoming_count: z.number().optional().describe(""),
10127
10139
  enabled: z.boolean().optional().describe(""),
10128
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(""),
10129
10145
  team_id: z.string(),
10130
10146
  created_at: z.unknown().describe(""),
10131
10147
  updated_at: z.unknown().describe(""),
@@ -10141,6 +10157,10 @@ const zUpdateCycleScheduleDto = z.object({
10141
10157
  upcoming_count: z.number().optional().describe(""),
10142
10158
  enabled: z.boolean().optional().describe(""),
10143
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(""),
10144
10164
  team_id: z.string().optional()
10145
10165
  });
10146
10166
  const zCycleScheduleBulkOperationDto = z.object({
@@ -10189,6 +10209,10 @@ const zCycleScheduleFindAllV1Data = z.object({
10189
10209
  "filter.upcoming_count": z.array(z.string()).optional(),
10190
10210
  "filter.enabled": z.array(z.string()).optional(),
10191
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(),
10192
10216
  "filter.team_id": z.array(z.string()).optional(),
10193
10217
  "filter.created_at": z.array(z.string()).optional(),
10194
10218
  "filter.updated_at": z.array(z.string()).optional(),
@@ -10203,6 +10227,8 @@ const zCycleScheduleFindAllV1Data = z.object({
10203
10227
  "upcoming_count:DESC",
10204
10228
  "timezone:ASC",
10205
10229
  "timezone:DESC",
10230
+ "auto_add_active_target:ASC",
10231
+ "auto_add_active_target:DESC",
10206
10232
  "created_at:ASC",
10207
10233
  "created_at:DESC",
10208
10234
  "updated_at:ASC",
@@ -10231,13 +10257,6 @@ const zCycleScheduleBulkOperationV1Data = z.object({
10231
10257
  url: z.literal("/v1/cycle-schedule/bulk")
10232
10258
  });
10233
10259
 
10234
- //#endregion
10235
- //#region ../sdk/dist/gen/cycle-velocity/zod.js
10236
- const zCycleVelocityGetVelocityV1Data = z.object({
10237
- query: z.object({ "team_id": z.string() }).optional(),
10238
- url: z.literal("/v1/cycle-velocity")
10239
- });
10240
-
10241
10260
  //#endregion
10242
10261
  //#region ../sdk/dist/gen/data-set/zod.js
10243
10262
  const zCreateDataSetDto = z.object({
@@ -27572,9 +27591,6 @@ const zCreateTeamDto = z.object({
27572
27591
  is_private: z.boolean().optional().describe(""),
27573
27592
  issue_count: z.number().optional().describe(""),
27574
27593
  settings: z.unknown().optional().describe(""),
27575
- cycle_duration: z.number().optional().describe(""),
27576
- cycle_start_day: z.number().optional().describe(""),
27577
- cycles_enabled: z.boolean().optional().describe(""),
27578
27594
  estimation_scale: z.enum([
27579
27595
  "none",
27580
27596
  "fibonacci",
@@ -27595,9 +27611,6 @@ const zResponseTeamDto = z.object({
27595
27611
  is_private: z.boolean().optional().describe(""),
27596
27612
  issue_count: z.number().optional().describe(""),
27597
27613
  settings: z.unknown().optional().describe(""),
27598
- cycle_duration: z.number().optional().describe(""),
27599
- cycle_start_day: z.number().optional().describe(""),
27600
- cycles_enabled: z.boolean().optional().describe(""),
27601
27614
  estimation_scale: z.enum([
27602
27615
  "none",
27603
27616
  "fibonacci",
@@ -27628,9 +27641,6 @@ const zUpdateTeamDto = z.object({
27628
27641
  is_private: z.boolean().optional().describe(""),
27629
27642
  issue_count: z.number().optional().describe(""),
27630
27643
  settings: z.unknown().optional().describe(""),
27631
- cycle_duration: z.number().optional().describe(""),
27632
- cycle_start_day: z.number().optional().describe(""),
27633
- cycles_enabled: z.boolean().optional().describe(""),
27634
27644
  estimation_scale: z.enum([
27635
27645
  "none",
27636
27646
  "fibonacci",
@@ -27690,9 +27700,6 @@ const zTeamFindAllV1Data = z.object({
27690
27700
  "filter.color": z.array(z.string()).optional(),
27691
27701
  "filter.is_private": z.array(z.string()).optional(),
27692
27702
  "filter.issue_count": z.array(z.string()).optional(),
27693
- "filter.cycle_duration": z.array(z.string()).optional(),
27694
- "filter.cycle_start_day": z.array(z.string()).optional(),
27695
- "filter.cycles_enabled": z.array(z.string()).optional(),
27696
27703
  "filter.estimation_allow_zero": z.array(z.string()).optional(),
27697
27704
  "filter.estimation_unestimated_value": z.array(z.string()).optional(),
27698
27705
  "filter.is_system": z.array(z.string()).optional(),
@@ -27715,10 +27722,6 @@ const zTeamFindAllV1Data = z.object({
27715
27722
  "color:DESC",
27716
27723
  "issue_count:ASC",
27717
27724
  "issue_count:DESC",
27718
- "cycle_duration:ASC",
27719
- "cycle_duration:DESC",
27720
- "cycle_start_day:ASC",
27721
- "cycle_start_day:DESC",
27722
27725
  "estimation_unestimated_value:ASC",
27723
27726
  "estimation_unestimated_value:DESC",
27724
27727
  "created_at:ASC",
@@ -27885,6 +27888,13 @@ const zTeamMemberBulkOperationV1Data = z.object({
27885
27888
  //#region ../sdk/dist/gen/team-member-custom/zod.js
27886
27889
  const zTeamMemberCustomGetMyPrivateTeamsV1Data = z.object({ url: z.literal("/v1/team-members/my-private-teams") });
27887
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
+
27888
27898
  //#endregion
27889
27899
  //#region ../sdk/dist/gen/test/zod.js
27890
27900
  const zTestResponseDto = z.object({
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-DpxzC7UN.js";
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-DpxzC7UN.js";
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levr-one/cli",
3
- "version": "0.5.5",
3
+ "version": "0.5.7",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",