@levr-one/cli 0.5.6 → 0.5.8

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-CM1gBvrN.js");
183
+ const { loginHandler } = await import("./loginHandler-BsXad94A.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-BtBFZYxW.js");
222
+ const { statusHandler } = await import("./statusHandler-BvjEW2Ct.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-REuoBBGu.js");
333
+ const { pushHandler } = await import("./pushHandler-Dpdjm-jd.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-C7BH1gNa.js");
445
+ const { importHandler } = await import("./importHandler-dOfpWmFB.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-CxsG1ouN.js");
466
+ const { listHandler } = await import("./listHandler-CMoPHIeP.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-mAabX0wm.js");
499
+ const { selectHandler } = await import("./selectHandler-DpAiEdOL.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.6";
523
+ var version = "0.5.8";
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-2oow-cNW.js";
2
+ import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-DkZAtoOF.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-51yAO0RD.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-CEHRabJJ.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-2oow-cNW.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-DkZAtoOF.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-2oow-cNW.js";
2
+ import { configureClient } from "./sdk-client-DkZAtoOF.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-51yAO0RD.js";
4
+ import { autoSelectWorkspace } from "./resolve-workspace-CEHRabJJ.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-2oow-cNW.js";
2
+ import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-DkZAtoOF.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-51yAO0RD.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-CEHRabJJ.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-2oow-cNW.js";
1
+ import { authGetSitesV1 } from "./sdk-client-DkZAtoOF.js";
2
2
  import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-DDOxnut1.js";
3
3
 
4
4
  //#region src/workspace/resolve-workspace.ts
@@ -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({
@@ -19698,7 +19716,6 @@ const zCreateNotificationDto = z.object({
19698
19716
  user_id: z.string(),
19699
19717
  actor_id: z.string().nullable().optional(),
19700
19718
  issue_id: z.string().nullable().optional(),
19701
- comment_id: z.string().nullable().optional(),
19702
19719
  cycle_id: z.string().nullable().optional(),
19703
19720
  initiative_id: z.string().nullable().optional(),
19704
19721
  mention_id: z.string().nullable().optional()
@@ -19718,7 +19735,6 @@ const zResponseNotificationDto = z.object({
19718
19735
  user_id: z.string(),
19719
19736
  actor_id: z.string().nullable().optional(),
19720
19737
  issue_id: z.string().nullable().optional(),
19721
- comment_id: z.string().nullable().optional(),
19722
19738
  cycle_id: z.string().nullable().optional(),
19723
19739
  initiative_id: z.string().nullable().optional(),
19724
19740
  mention_id: z.string().nullable().optional(),
@@ -19744,7 +19760,6 @@ const zUpdateNotificationDto = z.object({
19744
19760
  user_id: z.string().optional(),
19745
19761
  actor_id: z.string().nullable().optional(),
19746
19762
  issue_id: z.string().nullable().optional(),
19747
- comment_id: z.string().nullable().optional(),
19748
19763
  cycle_id: z.string().nullable().optional(),
19749
19764
  initiative_id: z.string().nullable().optional(),
19750
19765
  mention_id: z.string().nullable().optional()
@@ -19802,7 +19817,6 @@ const zNotificationFindAllV1Data = z.object({
19802
19817
  "filter.user_id": z.array(z.string()).optional(),
19803
19818
  "filter.actor_id": z.array(z.string()).optional(),
19804
19819
  "filter.issue_id": z.array(z.string()).optional(),
19805
- "filter.comment_id": z.array(z.string()).optional(),
19806
19820
  "filter.cycle_id": z.array(z.string()).optional(),
19807
19821
  "filter.initiative_id": z.array(z.string()).optional(),
19808
19822
  "filter.mention_id": z.array(z.string()).optional(),
@@ -19833,8 +19847,6 @@ const zNotificationFindAllV1Data = z.object({
19833
19847
  "actor_id:DESC",
19834
19848
  "issue_id:ASC",
19835
19849
  "issue_id:DESC",
19836
- "comment_id:ASC",
19837
- "comment_id:DESC",
19838
19850
  "cycle_id:ASC",
19839
19851
  "cycle_id:DESC",
19840
19852
  "initiative_id:ASC",
@@ -27573,9 +27585,6 @@ const zCreateTeamDto = z.object({
27573
27585
  is_private: z.boolean().optional().describe(""),
27574
27586
  issue_count: z.number().optional().describe(""),
27575
27587
  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
27588
  estimation_scale: z.enum([
27580
27589
  "none",
27581
27590
  "fibonacci",
@@ -27596,9 +27605,6 @@ const zResponseTeamDto = z.object({
27596
27605
  is_private: z.boolean().optional().describe(""),
27597
27606
  issue_count: z.number().optional().describe(""),
27598
27607
  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
27608
  estimation_scale: z.enum([
27603
27609
  "none",
27604
27610
  "fibonacci",
@@ -27629,9 +27635,6 @@ const zUpdateTeamDto = z.object({
27629
27635
  is_private: z.boolean().optional().describe(""),
27630
27636
  issue_count: z.number().optional().describe(""),
27631
27637
  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
27638
  estimation_scale: z.enum([
27636
27639
  "none",
27637
27640
  "fibonacci",
@@ -27691,9 +27694,6 @@ const zTeamFindAllV1Data = z.object({
27691
27694
  "filter.color": z.array(z.string()).optional(),
27692
27695
  "filter.is_private": z.array(z.string()).optional(),
27693
27696
  "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
27697
  "filter.estimation_allow_zero": z.array(z.string()).optional(),
27698
27698
  "filter.estimation_unestimated_value": z.array(z.string()).optional(),
27699
27699
  "filter.is_system": z.array(z.string()).optional(),
@@ -27716,10 +27716,6 @@ const zTeamFindAllV1Data = z.object({
27716
27716
  "color:DESC",
27717
27717
  "issue_count:ASC",
27718
27718
  "issue_count:DESC",
27719
- "cycle_duration:ASC",
27720
- "cycle_duration:DESC",
27721
- "cycle_start_day:ASC",
27722
- "cycle_start_day:DESC",
27723
27719
  "estimation_unestimated_value:ASC",
27724
27720
  "estimation_unestimated_value:DESC",
27725
27721
  "created_at:ASC",
@@ -27886,6 +27882,13 @@ const zTeamMemberBulkOperationV1Data = z.object({
27886
27882
  //#region ../sdk/dist/gen/team-member-custom/zod.js
27887
27883
  const zTeamMemberCustomGetMyPrivateTeamsV1Data = z.object({ url: z.literal("/v1/team-members/my-private-teams") });
27888
27884
 
27885
+ //#endregion
27886
+ //#region ../sdk/dist/gen/team-velocity/zod.js
27887
+ const zTeamVelocityGetVelocityV1Data = z.object({
27888
+ query: z.object({ "team_id": z.string() }).optional(),
27889
+ url: z.literal("/v1/team-velocity")
27890
+ });
27891
+
27889
27892
  //#endregion
27890
27893
  //#region ../sdk/dist/gen/test/zod.js
27891
27894
  const zTestResponseDto = z.object({
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-2oow-cNW.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-DkZAtoOF.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-2oow-cNW.js";
2
+ import { authGetProfileV1, configureClient } from "./sdk-client-DkZAtoOF.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.6",
3
+ "version": "0.5.8",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",