@levr-one/cli 0.5.7 → 0.5.9

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-DPSAn1JE.js");
183
+ const { loginHandler } = await import("./loginHandler-CShXrVfN.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-BxncdEG7.js");
222
+ const { statusHandler } = await import("./statusHandler-Hm-joen5.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-B5Zm2Yx4.js");
333
+ const { pushHandler } = await import("./pushHandler-BZd332h_.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-DVH73P3Z.js");
445
+ const { importHandler } = await import("./importHandler-CUsda76b.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-asZGryNG.js");
466
+ const { listHandler } = await import("./listHandler-CwoLU-Y6.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-BqnPawbt.js");
499
+ const { selectHandler } = await import("./selectHandler-BX5-iiIz.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.7";
523
+ var version = "0.5.9";
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-DnsWyN7f.js";
2
+ import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-BR0CQRyt.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-C01ieVmc.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-CUHT7WeM.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-DnsWyN7f.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-BR0CQRyt.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-DnsWyN7f.js";
2
+ import { configureClient } from "./sdk-client-BR0CQRyt.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-C01ieVmc.js";
4
+ import { autoSelectWorkspace } from "./resolve-workspace-CUHT7WeM.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-DnsWyN7f.js";
2
+ import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-BR0CQRyt.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-C01ieVmc.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-CUHT7WeM.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-DnsWyN7f.js";
1
+ import { authGetSitesV1 } from "./sdk-client-BR0CQRyt.js";
2
2
  import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-DDOxnut1.js";
3
3
 
4
4
  //#region src/workspace/resolve-workspace.ts
@@ -9913,6 +9913,7 @@ const zCreateCycleDto = z.object({
9913
9913
  completed_scope: z.number().optional().describe(""),
9914
9914
  scope_is_mixed_unit: z.boolean().optional().describe(""),
9915
9915
  completed_at: z.unknown().optional().describe(""),
9916
+ status: z.string().optional().describe(""),
9916
9917
  rollover_processed_at: z.unknown().optional().describe(""),
9917
9918
  spoke_key: z.string().nullable().optional().describe(""),
9918
9919
  team_id: z.string(),
@@ -9931,6 +9932,7 @@ const zResponseCycleDto = z.object({
9931
9932
  completed_scope: z.number().optional().describe(""),
9932
9933
  scope_is_mixed_unit: z.boolean().optional().describe(""),
9933
9934
  completed_at: z.unknown().optional().describe(""),
9935
+ status: z.string().optional().describe(""),
9934
9936
  rollover_processed_at: z.unknown().optional().describe(""),
9935
9937
  spoke_key: z.string().nullable().optional().describe(""),
9936
9938
  team_id: z.string(),
@@ -9942,10 +9944,7 @@ const zResponseCycleDto = z.object({
9942
9944
  updated_by: z.string().describe(""),
9943
9945
  workspace_id: z.string().describe(""),
9944
9946
  deleted_at: z.unknown().describe(""),
9945
- deleted_by: z.string().nullable().describe(""),
9946
- archived_at: z.unknown().describe(""),
9947
- archived_by: z.string().nullable().describe(""),
9948
- auto_archived_at: z.unknown().describe("")
9947
+ deleted_by: z.string().nullable().describe("")
9949
9948
  });
9950
9949
  const zUpdateCycleDto = z.object({
9951
9950
  id: z.string().optional().describe(""),
@@ -9960,11 +9959,11 @@ const zUpdateCycleDto = z.object({
9960
9959
  completed_scope: z.number().optional().describe(""),
9961
9960
  scope_is_mixed_unit: z.boolean().optional().describe(""),
9962
9961
  completed_at: z.unknown().optional().describe(""),
9962
+ status: z.string().optional().describe(""),
9963
9963
  rollover_processed_at: z.unknown().optional().describe(""),
9964
9964
  spoke_key: z.string().nullable().optional().describe(""),
9965
9965
  team_id: z.string().optional(),
9966
- inherited_from_id: z.string().nullable().optional(),
9967
- archived_at: z.unknown().optional().describe("")
9966
+ inherited_from_id: z.string().nullable().optional()
9968
9967
  });
9969
9968
  const zCycleBulkOperationDto = z.object({
9970
9969
  op: z.enum([
@@ -10018,6 +10017,7 @@ const zCycleFindAllV1Data = z.object({
10018
10017
  "filter.completed_scope": z.array(z.string()).optional(),
10019
10018
  "filter.scope_is_mixed_unit": z.array(z.string()).optional(),
10020
10019
  "filter.completed_at": z.array(z.string()).optional(),
10020
+ "filter.status": z.array(z.string()).optional(),
10021
10021
  "filter.rollover_processed_at": z.array(z.string()).optional(),
10022
10022
  "filter.spoke_key": z.array(z.string()).optional(),
10023
10023
  "filter.team_id": z.array(z.string()).optional(),
@@ -10025,7 +10025,6 @@ const zCycleFindAllV1Data = z.object({
10025
10025
  "filter.created_at": z.array(z.string()).optional(),
10026
10026
  "filter.updated_at": z.array(z.string()).optional(),
10027
10027
  "filter.deleted_at": z.array(z.string()).optional(),
10028
- "filter.archived_at": z.array(z.string()).optional(),
10029
10028
  "sortBy": z.array(z.enum([
10030
10029
  "id:ASC",
10031
10030
  "id:DESC",
@@ -10049,6 +10048,8 @@ const zCycleFindAllV1Data = z.object({
10049
10048
  "completed_scope:DESC",
10050
10049
  "completed_at:ASC",
10051
10050
  "completed_at:DESC",
10051
+ "status:ASC",
10052
+ "status:DESC",
10052
10053
  "rollover_processed_at:ASC",
10053
10054
  "rollover_processed_at:DESC",
10054
10055
  "spoke_key:ASC",
@@ -10060,9 +10061,7 @@ const zCycleFindAllV1Data = z.object({
10060
10061
  "updated_at:ASC",
10061
10062
  "updated_at:DESC",
10062
10063
  "deleted_at:ASC",
10063
- "deleted_at:DESC",
10064
- "archived_at:ASC",
10065
- "archived_at:DESC"
10064
+ "deleted_at:DESC"
10066
10065
  ])).optional(),
10067
10066
  "search": z.string().optional(),
10068
10067
  "searchBy": z.array(z.string()).optional()
@@ -10070,7 +10069,6 @@ const zCycleFindAllV1Data = z.object({
10070
10069
  url: z.literal("/v1/cycle")
10071
10070
  });
10072
10071
  const zCycleFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/cycle/recently-deleted") });
10073
- const zCycleFindArchivedV1Data = z.object({ url: z.literal("/v1/cycle/archived") });
10074
10072
  const zCycleFindOneV1Data = z.object({
10075
10073
  path: z.object({ "id": z.string() }),
10076
10074
  url: z.literal("/v1/cycle/{id}")
@@ -10092,14 +10090,6 @@ const zCycleRestoreV1Data = z.object({
10092
10090
  path: z.object({ "id": z.string() }),
10093
10091
  url: z.literal("/v1/cycle/{id}/restore")
10094
10092
  });
10095
- const zCycleArchiveV1Data = z.object({
10096
- path: z.object({ "id": z.string() }),
10097
- url: z.literal("/v1/cycle/{id}/archive")
10098
- });
10099
- const zCycleUnarchiveV1Data = z.object({
10100
- path: z.object({ "id": z.string() }),
10101
- url: z.literal("/v1/cycle/{id}/unarchive")
10102
- });
10103
10093
 
10104
10094
  //#endregion
10105
10095
  //#region ../sdk/dist/gen/cycle-generation/zod.js
@@ -10111,10 +10101,16 @@ const zCycleGenerationGenerateV1Data = z.object({
10111
10101
 
10112
10102
  //#endregion
10113
10103
  //#region ../sdk/dist/gen/cycle-lifecycle/zod.js
10104
+ const zShiftCadenceDto = z.object({ start_date: z.string().describe("") });
10114
10105
  const zCycleLifecycleStartCycleV1Data = z.object({
10115
10106
  path: z.object({ "id": z.string() }),
10116
10107
  url: z.literal("/v1/cycles/{id}/start")
10117
10108
  });
10109
+ const zCycleLifecycleShiftCadenceV1Data = z.object({
10110
+ body: zShiftCadenceDto,
10111
+ path: z.object({ "id": z.string() }),
10112
+ url: z.literal("/v1/cycles/{id}/shift-cadence")
10113
+ });
10118
10114
 
10119
10115
  //#endregion
10120
10116
  //#region ../sdk/dist/gen/cycle-schedule/zod.js
@@ -19716,7 +19712,6 @@ const zCreateNotificationDto = z.object({
19716
19712
  user_id: z.string(),
19717
19713
  actor_id: z.string().nullable().optional(),
19718
19714
  issue_id: z.string().nullable().optional(),
19719
- comment_id: z.string().nullable().optional(),
19720
19715
  cycle_id: z.string().nullable().optional(),
19721
19716
  initiative_id: z.string().nullable().optional(),
19722
19717
  mention_id: z.string().nullable().optional()
@@ -19736,7 +19731,6 @@ const zResponseNotificationDto = z.object({
19736
19731
  user_id: z.string(),
19737
19732
  actor_id: z.string().nullable().optional(),
19738
19733
  issue_id: z.string().nullable().optional(),
19739
- comment_id: z.string().nullable().optional(),
19740
19734
  cycle_id: z.string().nullable().optional(),
19741
19735
  initiative_id: z.string().nullable().optional(),
19742
19736
  mention_id: z.string().nullable().optional(),
@@ -19762,7 +19756,6 @@ const zUpdateNotificationDto = z.object({
19762
19756
  user_id: z.string().optional(),
19763
19757
  actor_id: z.string().nullable().optional(),
19764
19758
  issue_id: z.string().nullable().optional(),
19765
- comment_id: z.string().nullable().optional(),
19766
19759
  cycle_id: z.string().nullable().optional(),
19767
19760
  initiative_id: z.string().nullable().optional(),
19768
19761
  mention_id: z.string().nullable().optional()
@@ -19820,7 +19813,6 @@ const zNotificationFindAllV1Data = z.object({
19820
19813
  "filter.user_id": z.array(z.string()).optional(),
19821
19814
  "filter.actor_id": z.array(z.string()).optional(),
19822
19815
  "filter.issue_id": z.array(z.string()).optional(),
19823
- "filter.comment_id": z.array(z.string()).optional(),
19824
19816
  "filter.cycle_id": z.array(z.string()).optional(),
19825
19817
  "filter.initiative_id": z.array(z.string()).optional(),
19826
19818
  "filter.mention_id": z.array(z.string()).optional(),
@@ -19851,8 +19843,6 @@ const zNotificationFindAllV1Data = z.object({
19851
19843
  "actor_id:DESC",
19852
19844
  "issue_id:ASC",
19853
19845
  "issue_id:DESC",
19854
- "comment_id:ASC",
19855
- "comment_id:DESC",
19856
19846
  "cycle_id:ASC",
19857
19847
  "cycle_id:DESC",
19858
19848
  "initiative_id:ASC",
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-DnsWyN7f.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-BR0CQRyt.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-DnsWyN7f.js";
2
+ import { authGetProfileV1, configureClient } from "./sdk-client-BR0CQRyt.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.7",
3
+ "version": "0.5.9",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",