@levr-one/cli 0.7.5 → 0.7.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
@@ -210,7 +210,7 @@ Examples:
210
210
  aliases: { d: "device-code" }
211
211
  },
212
212
  loader: async () => {
213
- const { loginHandler } = await import("./loginHandler-DK6BDWGl.js");
213
+ const { loginHandler } = await import("./loginHandler-swasPGVn.js");
214
214
  return loginHandler;
215
215
  }
216
216
  });
@@ -249,7 +249,7 @@ Examples:
249
249
  },
250
250
  parameters: {},
251
251
  loader: async () => {
252
- const { statusHandler } = await import("./statusHandler-BCENU_VT.js");
252
+ const { statusHandler } = await import("./statusHandler-DBC29FE4.js");
253
253
  return statusHandler;
254
254
  }
255
255
  });
@@ -361,7 +361,7 @@ Examples:
361
361
  }
362
362
  },
363
363
  loader: async () => {
364
- const { pushHandler } = await import("./pushHandler-Cre9HKXE.js");
364
+ const { pushHandler } = await import("./pushHandler-DD18UAh3.js");
365
365
  return pushHandler;
366
366
  }
367
367
  });
@@ -473,7 +473,7 @@ Examples:
473
473
  }
474
474
  },
475
475
  loader: async () => {
476
- const { importHandler } = await import("./importHandler-DTrMvQ1C.js");
476
+ const { importHandler } = await import("./importHandler-B2zyKkUX.js");
477
477
  return importHandler;
478
478
  }
479
479
  });
@@ -494,7 +494,7 @@ Examples:
494
494
  },
495
495
  parameters: {},
496
496
  loader: async () => {
497
- const { listHandler } = await import("./listHandler-D4bNcS7_.js");
497
+ const { listHandler } = await import("./listHandler-BaXnaQkv.js");
498
498
  return listHandler;
499
499
  }
500
500
  });
@@ -527,7 +527,7 @@ Examples:
527
527
  flags: {}
528
528
  },
529
529
  loader: async () => {
530
- const { selectHandler } = await import("./selectHandler-QERlY819.js");
530
+ const { selectHandler } = await import("./selectHandler-CH0fcc2P.js");
531
531
  return selectHandler;
532
532
  }
533
533
  });
@@ -551,7 +551,7 @@ Examples:
551
551
 
552
552
  //#endregion
553
553
  //#region package.json
554
- var version = "0.7.5";
554
+ var version = "0.7.7";
555
555
 
556
556
  //#endregion
557
557
  //#region src/app.ts
@@ -1,7 +1,7 @@
1
1
  import { getApiUrl } from "./env-CHeKHu5S.js";
2
- import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-BEjBPgRR.js";
2
+ import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-BLUjDoCb.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-CqiOEGbw.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-anULXxRH.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-BEjBPgRR.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-BLUjDoCb.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-BEjBPgRR.js";
2
+ import { configureClient } from "./sdk-client-BLUjDoCb.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-CqiOEGbw.js";
4
+ import { autoSelectWorkspace } from "./resolve-workspace-anULXxRH.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-BEjBPgRR.js";
2
+ import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-BLUjDoCb.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-CqiOEGbw.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-anULXxRH.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-BEjBPgRR.js";
1
+ import { authGetSitesV1 } from "./sdk-client-BLUjDoCb.js";
2
2
  import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-DDOxnut1.js";
3
3
 
4
4
  //#region src/workspace/resolve-workspace.ts
@@ -4606,7 +4606,9 @@ const zResponseBranchIssueDto = z.object({
4606
4606
  epoch: z.number().describe(""),
4607
4607
  created_by: z.string().describe(""),
4608
4608
  updated_by: z.string().describe(""),
4609
- workspace_id: z.string().describe("")
4609
+ workspace_id: z.string().describe(""),
4610
+ deleted_at: z.unknown().describe(""),
4611
+ deleted_by: z.string().nullable().describe("")
4610
4612
  });
4611
4613
  const zUpdateBranchIssueDto = z.object({
4612
4614
  id: z.string().optional().describe(""),
@@ -4660,6 +4662,7 @@ const zBranchIssueFindAllV1Data = z.object({
4660
4662
  "filter.issue_id": z.array(z.string()).optional(),
4661
4663
  "filter.created_at": z.array(z.string()).optional(),
4662
4664
  "filter.updated_at": z.array(z.string()).optional(),
4665
+ "filter.deleted_at": z.array(z.string()).optional(),
4663
4666
  "sortBy": z.array(z.enum([
4664
4667
  "id:ASC",
4665
4668
  "id:DESC",
@@ -4668,13 +4671,16 @@ const zBranchIssueFindAllV1Data = z.object({
4668
4671
  "created_at:ASC",
4669
4672
  "created_at:DESC",
4670
4673
  "updated_at:ASC",
4671
- "updated_at:DESC"
4674
+ "updated_at:DESC",
4675
+ "deleted_at:ASC",
4676
+ "deleted_at:DESC"
4672
4677
  ])).optional(),
4673
4678
  "search": z.string().optional(),
4674
4679
  "searchBy": z.array(z.string()).optional()
4675
4680
  }).optional(),
4676
4681
  url: z.literal("/v1/branch-issue")
4677
4682
  });
4683
+ const zBranchIssueFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/branch-issue/recently-deleted") });
4678
4684
  const zBranchIssueFindOneV1Data = z.object({
4679
4685
  path: z.object({ "id": z.string() }),
4680
4686
  url: z.literal("/v1/branch-issue/{id}")
@@ -4692,6 +4698,10 @@ const zBranchIssueBulkOperationV1Data = z.object({
4692
4698
  body: zBulkBranchIssueRequestDto,
4693
4699
  url: z.literal("/v1/branch-issue/bulk")
4694
4700
  });
4701
+ const zBranchIssueRestoreV1Data = z.object({
4702
+ path: z.object({ "id": z.string() }),
4703
+ url: z.literal("/v1/branch-issue/{id}/restore")
4704
+ });
4695
4705
 
4696
4706
  //#endregion
4697
4707
  //#region ../sdk/dist/gen/branch-run/zod.js
@@ -4713,7 +4723,9 @@ const zResponseBranchRunDto = z.object({
4713
4723
  epoch: z.number().describe(""),
4714
4724
  created_by: z.string().describe(""),
4715
4725
  updated_by: z.string().describe(""),
4716
- workspace_id: z.string().describe("")
4726
+ workspace_id: z.string().describe(""),
4727
+ deleted_at: z.unknown().describe(""),
4728
+ deleted_by: z.string().nullable().describe("")
4717
4729
  });
4718
4730
  const zUpdateBranchRunDto = z.object({
4719
4731
  id: z.string().optional().describe(""),
@@ -4769,6 +4781,7 @@ const zBranchRunFindAllV1Data = z.object({
4769
4781
  "filter.automation_run_id": z.array(z.string()).optional(),
4770
4782
  "filter.created_at": z.array(z.string()).optional(),
4771
4783
  "filter.updated_at": z.array(z.string()).optional(),
4784
+ "filter.deleted_at": z.array(z.string()).optional(),
4772
4785
  "sortBy": z.array(z.enum([
4773
4786
  "id:ASC",
4774
4787
  "id:DESC",
@@ -4781,13 +4794,16 @@ const zBranchRunFindAllV1Data = z.object({
4781
4794
  "created_at:ASC",
4782
4795
  "created_at:DESC",
4783
4796
  "updated_at:ASC",
4784
- "updated_at:DESC"
4797
+ "updated_at:DESC",
4798
+ "deleted_at:ASC",
4799
+ "deleted_at:DESC"
4785
4800
  ])).optional(),
4786
4801
  "search": z.string().optional(),
4787
4802
  "searchBy": z.array(z.string()).optional()
4788
4803
  }).optional(),
4789
4804
  url: z.literal("/v1/branch-run")
4790
4805
  });
4806
+ const zBranchRunFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/branch-run/recently-deleted") });
4791
4807
  const zBranchRunFindOneV1Data = z.object({
4792
4808
  path: z.object({ "id": z.string() }),
4793
4809
  url: z.literal("/v1/branch-run/{id}")
@@ -4805,6 +4821,10 @@ const zBranchRunBulkOperationV1Data = z.object({
4805
4821
  body: zBulkBranchRunRequestDto,
4806
4822
  url: z.literal("/v1/branch-run/bulk")
4807
4823
  });
4824
+ const zBranchRunRestoreV1Data = z.object({
4825
+ path: z.object({ "id": z.string() }),
4826
+ url: z.literal("/v1/branch-run/{id}/restore")
4827
+ });
4808
4828
 
4809
4829
  //#endregion
4810
4830
  //#region ../sdk/dist/gen/brief/zod.js
@@ -9706,7 +9726,9 @@ const zResponseCommitIssueDto = z.object({
9706
9726
  epoch: z.number().describe(""),
9707
9727
  created_by: z.string().describe(""),
9708
9728
  updated_by: z.string().describe(""),
9709
- workspace_id: z.string().describe("")
9729
+ workspace_id: z.string().describe(""),
9730
+ deleted_at: z.unknown().describe(""),
9731
+ deleted_by: z.string().nullable().describe("")
9710
9732
  });
9711
9733
  const zUpdateCommitIssueDto = z.object({
9712
9734
  id: z.string().optional().describe(""),
@@ -9760,6 +9782,7 @@ const zCommitIssueFindAllV1Data = z.object({
9760
9782
  "filter.issue_id": z.array(z.string()).optional(),
9761
9783
  "filter.created_at": z.array(z.string()).optional(),
9762
9784
  "filter.updated_at": z.array(z.string()).optional(),
9785
+ "filter.deleted_at": z.array(z.string()).optional(),
9763
9786
  "sortBy": z.array(z.enum([
9764
9787
  "id:ASC",
9765
9788
  "id:DESC",
@@ -9768,13 +9791,16 @@ const zCommitIssueFindAllV1Data = z.object({
9768
9791
  "created_at:ASC",
9769
9792
  "created_at:DESC",
9770
9793
  "updated_at:ASC",
9771
- "updated_at:DESC"
9794
+ "updated_at:DESC",
9795
+ "deleted_at:ASC",
9796
+ "deleted_at:DESC"
9772
9797
  ])).optional(),
9773
9798
  "search": z.string().optional(),
9774
9799
  "searchBy": z.array(z.string()).optional()
9775
9800
  }).optional(),
9776
9801
  url: z.literal("/v1/commit-issue")
9777
9802
  });
9803
+ const zCommitIssueFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/commit-issue/recently-deleted") });
9778
9804
  const zCommitIssueFindOneV1Data = z.object({
9779
9805
  path: z.object({ "id": z.string() }),
9780
9806
  url: z.literal("/v1/commit-issue/{id}")
@@ -9792,6 +9818,10 @@ const zCommitIssueBulkOperationV1Data = z.object({
9792
9818
  body: zBulkCommitIssueRequestDto,
9793
9819
  url: z.literal("/v1/commit-issue/bulk")
9794
9820
  });
9821
+ const zCommitIssueRestoreV1Data = z.object({
9822
+ path: z.object({ "id": z.string() }),
9823
+ url: z.literal("/v1/commit-issue/{id}/restore")
9824
+ });
9795
9825
 
9796
9826
  //#endregion
9797
9827
  //#region ../sdk/dist/gen/commit-run/zod.js
@@ -9813,7 +9843,9 @@ const zResponseCommitRunDto = z.object({
9813
9843
  epoch: z.number().describe(""),
9814
9844
  created_by: z.string().describe(""),
9815
9845
  updated_by: z.string().describe(""),
9816
- workspace_id: z.string().describe("")
9846
+ workspace_id: z.string().describe(""),
9847
+ deleted_at: z.unknown().describe(""),
9848
+ deleted_by: z.string().nullable().describe("")
9817
9849
  });
9818
9850
  const zUpdateCommitRunDto = z.object({
9819
9851
  id: z.string().optional().describe(""),
@@ -9869,6 +9901,7 @@ const zCommitRunFindAllV1Data = z.object({
9869
9901
  "filter.automation_run_id": z.array(z.string()).optional(),
9870
9902
  "filter.created_at": z.array(z.string()).optional(),
9871
9903
  "filter.updated_at": z.array(z.string()).optional(),
9904
+ "filter.deleted_at": z.array(z.string()).optional(),
9872
9905
  "sortBy": z.array(z.enum([
9873
9906
  "id:ASC",
9874
9907
  "id:DESC",
@@ -9881,13 +9914,16 @@ const zCommitRunFindAllV1Data = z.object({
9881
9914
  "created_at:ASC",
9882
9915
  "created_at:DESC",
9883
9916
  "updated_at:ASC",
9884
- "updated_at:DESC"
9917
+ "updated_at:DESC",
9918
+ "deleted_at:ASC",
9919
+ "deleted_at:DESC"
9885
9920
  ])).optional(),
9886
9921
  "search": z.string().optional(),
9887
9922
  "searchBy": z.array(z.string()).optional()
9888
9923
  }).optional(),
9889
9924
  url: z.literal("/v1/commit-run")
9890
9925
  });
9926
+ const zCommitRunFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/commit-run/recently-deleted") });
9891
9927
  const zCommitRunFindOneV1Data = z.object({
9892
9928
  path: z.object({ "id": z.string() }),
9893
9929
  url: z.literal("/v1/commit-run/{id}")
@@ -9905,6 +9941,10 @@ const zCommitRunBulkOperationV1Data = z.object({
9905
9941
  body: zBulkCommitRunRequestDto,
9906
9942
  url: z.literal("/v1/commit-run/bulk")
9907
9943
  });
9944
+ const zCommitRunRestoreV1Data = z.object({
9945
+ path: z.object({ "id": z.string() }),
9946
+ url: z.literal("/v1/commit-run/{id}/restore")
9947
+ });
9908
9948
 
9909
9949
  //#endregion
9910
9950
  //#region ../sdk/dist/gen/cycle/zod.js
@@ -14519,7 +14559,9 @@ const zResponseGithubIssueCommentLinkDto = z.object({
14519
14559
  epoch: z.number().describe(""),
14520
14560
  created_by: z.string().describe(""),
14521
14561
  updated_by: z.string().describe(""),
14522
- workspace_id: z.string().describe("")
14562
+ workspace_id: z.string().describe(""),
14563
+ deleted_at: z.unknown().describe(""),
14564
+ deleted_by: z.string().nullable().describe("")
14523
14565
  });
14524
14566
  const zUpdateGithubIssueCommentLinkDto = z.object({
14525
14567
  id: z.string().optional().describe(""),
@@ -14579,6 +14621,7 @@ const zGithubIssueCommentLinkFindAllV1Data = z.object({
14579
14621
  "filter.tq_comment_id": z.array(z.string()).optional(),
14580
14622
  "filter.created_at": z.array(z.string()).optional(),
14581
14623
  "filter.updated_at": z.array(z.string()).optional(),
14624
+ "filter.deleted_at": z.array(z.string()).optional(),
14582
14625
  "sortBy": z.array(z.enum([
14583
14626
  "id:ASC",
14584
14627
  "id:DESC",
@@ -14591,13 +14634,16 @@ const zGithubIssueCommentLinkFindAllV1Data = z.object({
14591
14634
  "created_at:ASC",
14592
14635
  "created_at:DESC",
14593
14636
  "updated_at:ASC",
14594
- "updated_at:DESC"
14637
+ "updated_at:DESC",
14638
+ "deleted_at:ASC",
14639
+ "deleted_at:DESC"
14595
14640
  ])).optional(),
14596
14641
  "search": z.string().optional(),
14597
14642
  "searchBy": z.array(z.string()).optional()
14598
14643
  }).optional(),
14599
14644
  url: z.literal("/v1/github-issue-comment-link")
14600
14645
  });
14646
+ const zGithubIssueCommentLinkFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/github-issue-comment-link/recently-deleted") });
14601
14647
  const zGithubIssueCommentLinkFindOneV1Data = z.object({
14602
14648
  path: z.object({ "id": z.string() }),
14603
14649
  url: z.literal("/v1/github-issue-comment-link/{id}")
@@ -14615,6 +14661,10 @@ const zGithubIssueCommentLinkBulkOperationV1Data = z.object({
14615
14661
  body: zBulkGithubIssueCommentLinkRequestDto,
14616
14662
  url: z.literal("/v1/github-issue-comment-link/bulk")
14617
14663
  });
14664
+ const zGithubIssueCommentLinkRestoreV1Data = z.object({
14665
+ path: z.object({ "id": z.string() }),
14666
+ url: z.literal("/v1/github-issue-comment-link/{id}/restore")
14667
+ });
14618
14668
 
14619
14669
  //#endregion
14620
14670
  //#region ../sdk/dist/gen/github-issue-link/zod.js
@@ -14803,7 +14853,9 @@ const zResponseGithubIssueSyncConfigDto = z.object({
14803
14853
  epoch: z.number().describe(""),
14804
14854
  created_by: z.string().describe(""),
14805
14855
  updated_by: z.string().describe(""),
14806
- workspace_id: z.string().describe("")
14856
+ workspace_id: z.string().describe(""),
14857
+ deleted_at: z.unknown().describe(""),
14858
+ deleted_by: z.string().nullable().describe("")
14807
14859
  });
14808
14860
  const zUpdateGithubIssueSyncConfigDto = z.object({
14809
14861
  id: z.string().optional().describe(""),
@@ -14874,6 +14926,7 @@ const zGithubIssueSyncConfigFindAllV1Data = z.object({
14874
14926
  "filter.github_repository_id": z.array(z.string()).optional(),
14875
14927
  "filter.created_at": z.array(z.string()).optional(),
14876
14928
  "filter.updated_at": z.array(z.string()).optional(),
14929
+ "filter.deleted_at": z.array(z.string()).optional(),
14877
14930
  "sortBy": z.array(z.enum([
14878
14931
  "id:ASC",
14879
14932
  "id:DESC",
@@ -14890,13 +14943,16 @@ const zGithubIssueSyncConfigFindAllV1Data = z.object({
14890
14943
  "created_at:ASC",
14891
14944
  "created_at:DESC",
14892
14945
  "updated_at:ASC",
14893
- "updated_at:DESC"
14946
+ "updated_at:DESC",
14947
+ "deleted_at:ASC",
14948
+ "deleted_at:DESC"
14894
14949
  ])).optional(),
14895
14950
  "search": z.string().optional(),
14896
14951
  "searchBy": z.array(z.string()).optional()
14897
14952
  }).optional(),
14898
14953
  url: z.literal("/v1/github-issue-sync-config")
14899
14954
  });
14955
+ const zGithubIssueSyncConfigFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/github-issue-sync-config/recently-deleted") });
14900
14956
  const zGithubIssueSyncConfigFindOneV1Data = z.object({
14901
14957
  path: z.object({ "id": z.string() }),
14902
14958
  url: z.literal("/v1/github-issue-sync-config/{id}")
@@ -14914,6 +14970,10 @@ const zGithubIssueSyncConfigBulkOperationV1Data = z.object({
14914
14970
  body: zBulkGithubIssueSyncConfigRequestDto,
14915
14971
  url: z.literal("/v1/github-issue-sync-config/bulk")
14916
14972
  });
14973
+ const zGithubIssueSyncConfigRestoreV1Data = z.object({
14974
+ path: z.object({ "id": z.string() }),
14975
+ url: z.literal("/v1/github-issue-sync-config/{id}/restore")
14976
+ });
14917
14977
 
14918
14978
  //#endregion
14919
14979
  //#region ../sdk/dist/gen/github-pull-request/zod.js
@@ -14946,6 +15006,8 @@ const zResponseGithubPullRequestDto = z.object({
14946
15006
  created_by: z.string().describe(""),
14947
15007
  updated_by: z.string().describe(""),
14948
15008
  workspace_id: z.string().describe(""),
15009
+ deleted_at: z.unknown().describe(""),
15010
+ deleted_by: z.string().nullable().describe(""),
14949
15011
  web_url: z.string().nullable().optional().describe("")
14950
15012
  });
14951
15013
  const zGithubPullRequestFindAllV1Data = z.object({
@@ -14977,6 +15039,7 @@ const zGithubPullRequestFindAllV1Data = z.object({
14977
15039
  "filter.github_branch_id": z.array(z.string()).optional(),
14978
15040
  "filter.created_at": z.array(z.string()).optional(),
14979
15041
  "filter.updated_at": z.array(z.string()).optional(),
15042
+ "filter.deleted_at": z.array(z.string()).optional(),
14980
15043
  "sortBy": z.array(z.enum([
14981
15044
  "id:ASC",
14982
15045
  "id:DESC",
@@ -15021,17 +15084,24 @@ const zGithubPullRequestFindAllV1Data = z.object({
15021
15084
  "created_at:ASC",
15022
15085
  "created_at:DESC",
15023
15086
  "updated_at:ASC",
15024
- "updated_at:DESC"
15087
+ "updated_at:DESC",
15088
+ "deleted_at:ASC",
15089
+ "deleted_at:DESC"
15025
15090
  ])).optional(),
15026
15091
  "search": z.string().optional(),
15027
15092
  "searchBy": z.array(z.string()).optional()
15028
15093
  }).optional(),
15029
15094
  url: z.literal("/v1/github-pull-request")
15030
15095
  });
15096
+ const zGithubPullRequestFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/github-pull-request/recently-deleted") });
15031
15097
  const zGithubPullRequestFindOneV1Data = z.object({
15032
15098
  path: z.object({ "id": z.string() }),
15033
15099
  url: z.literal("/v1/github-pull-request/{id}")
15034
15100
  });
15101
+ const zGithubPullRequestRestoreV1Data = z.object({
15102
+ path: z.object({ "id": z.string() }),
15103
+ url: z.literal("/v1/github-pull-request/{id}/restore")
15104
+ });
15035
15105
 
15036
15106
  //#endregion
15037
15107
  //#region ../sdk/dist/gen/github-status/zod.js
@@ -15929,7 +15999,8 @@ const zCreateIssueAutomationTestEvidenceDto = z.object({
15929
15999
  "fail",
15930
16000
  "regression",
15931
16001
  "verification",
15932
- "flaky"
16002
+ "flaky",
16003
+ "superseded"
15933
16004
  ]).describe(""),
15934
16005
  automation_status_type: z.enum([
15935
16006
  "passed",
@@ -15966,7 +16037,8 @@ const zResponseIssueAutomationTestEvidenceDto = z.object({
15966
16037
  "fail",
15967
16038
  "regression",
15968
16039
  "verification",
15969
- "flaky"
16040
+ "flaky",
16041
+ "superseded"
15970
16042
  ]).describe(""),
15971
16043
  automation_status_type: z.enum([
15972
16044
  "passed",
@@ -16009,7 +16081,8 @@ const zUpdateIssueAutomationTestEvidenceDto = z.object({
16009
16081
  "fail",
16010
16082
  "regression",
16011
16083
  "verification",
16012
- "flaky"
16084
+ "flaky",
16085
+ "superseded"
16013
16086
  ]).optional().describe(""),
16014
16087
  automation_status_type: z.enum([
16015
16088
  "passed",
@@ -16446,7 +16519,9 @@ const zResponseIssueRepositoryDto = z.object({
16446
16519
  epoch: z.number().describe(""),
16447
16520
  created_by: z.string().describe(""),
16448
16521
  updated_by: z.string().describe(""),
16449
- workspace_id: z.string().describe("")
16522
+ workspace_id: z.string().describe(""),
16523
+ deleted_at: z.unknown().describe(""),
16524
+ deleted_by: z.string().nullable().describe("")
16450
16525
  });
16451
16526
  const zUpdateIssueRepositoryDto = z.object({
16452
16527
  id: z.string().optional().describe(""),
@@ -16500,6 +16575,7 @@ const zIssueRepositoryFindAllV1Data = z.object({
16500
16575
  "filter.github_repository_id": z.array(z.string()).optional(),
16501
16576
  "filter.created_at": z.array(z.string()).optional(),
16502
16577
  "filter.updated_at": z.array(z.string()).optional(),
16578
+ "filter.deleted_at": z.array(z.string()).optional(),
16503
16579
  "sortBy": z.array(z.enum([
16504
16580
  "id:ASC",
16505
16581
  "id:DESC",
@@ -16508,13 +16584,16 @@ const zIssueRepositoryFindAllV1Data = z.object({
16508
16584
  "created_at:ASC",
16509
16585
  "created_at:DESC",
16510
16586
  "updated_at:ASC",
16511
- "updated_at:DESC"
16587
+ "updated_at:DESC",
16588
+ "deleted_at:ASC",
16589
+ "deleted_at:DESC"
16512
16590
  ])).optional(),
16513
16591
  "search": z.string().optional(),
16514
16592
  "searchBy": z.array(z.string()).optional()
16515
16593
  }).optional(),
16516
16594
  url: z.literal("/v1/issue-repository")
16517
16595
  });
16596
+ const zIssueRepositoryFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/issue-repository/recently-deleted") });
16518
16597
  const zIssueRepositoryFindOneV1Data = z.object({
16519
16598
  path: z.object({ "id": z.string() }),
16520
16599
  url: z.literal("/v1/issue-repository/{id}")
@@ -16532,6 +16611,10 @@ const zIssueRepositoryBulkOperationV1Data = z.object({
16532
16611
  body: zBulkIssueRepositoryRequestDto,
16533
16612
  url: z.literal("/v1/issue-repository/bulk")
16534
16613
  });
16614
+ const zIssueRepositoryRestoreV1Data = z.object({
16615
+ path: z.object({ "id": z.string() }),
16616
+ url: z.literal("/v1/issue-repository/{id}/restore")
16617
+ });
16535
16618
 
16536
16619
  //#endregion
16537
16620
  //#region ../sdk/dist/gen/issue-run-link/zod.js
@@ -16681,7 +16764,8 @@ const zCreateIssueTestEvidenceDto = z.object({
16681
16764
  "fail",
16682
16765
  "regression",
16683
16766
  "verification",
16684
- "flaky"
16767
+ "flaky",
16768
+ "superseded"
16685
16769
  ]).describe(""),
16686
16770
  status_id: z.string().describe(""),
16687
16771
  context: z.unknown().optional().describe(""),
@@ -16699,7 +16783,8 @@ const zResponseIssueTestEvidenceDto = z.object({
16699
16783
  "fail",
16700
16784
  "regression",
16701
16785
  "verification",
16702
- "flaky"
16786
+ "flaky",
16787
+ "superseded"
16703
16788
  ]).describe(""),
16704
16789
  status_id: z.string().describe(""),
16705
16790
  context: z.unknown().optional().describe(""),
@@ -16723,7 +16808,8 @@ const zUpdateIssueTestEvidenceDto = z.object({
16723
16808
  "fail",
16724
16809
  "regression",
16725
16810
  "verification",
16726
- "flaky"
16811
+ "flaky",
16812
+ "superseded"
16727
16813
  ]).optional().describe(""),
16728
16814
  status_id: z.string().optional().describe(""),
16729
16815
  context: z.unknown().optional().describe(""),
@@ -20627,7 +20713,9 @@ const zResponsePrIssueDto = z.object({
20627
20713
  epoch: z.number().describe(""),
20628
20714
  created_by: z.string().describe(""),
20629
20715
  updated_by: z.string().describe(""),
20630
- workspace_id: z.string().describe("")
20716
+ workspace_id: z.string().describe(""),
20717
+ deleted_at: z.unknown().describe(""),
20718
+ deleted_by: z.string().nullable().describe("")
20631
20719
  });
20632
20720
  const zUpdatePrIssueDto = z.object({
20633
20721
  id: z.string().optional().describe(""),
@@ -20683,6 +20771,7 @@ const zPrIssueFindAllV1Data = z.object({
20683
20771
  "filter.issue_id": z.array(z.string()).optional(),
20684
20772
  "filter.created_at": z.array(z.string()).optional(),
20685
20773
  "filter.updated_at": z.array(z.string()).optional(),
20774
+ "filter.deleted_at": z.array(z.string()).optional(),
20686
20775
  "sortBy": z.array(z.enum([
20687
20776
  "id:ASC",
20688
20777
  "id:DESC",
@@ -20691,13 +20780,16 @@ const zPrIssueFindAllV1Data = z.object({
20691
20780
  "created_at:ASC",
20692
20781
  "created_at:DESC",
20693
20782
  "updated_at:ASC",
20694
- "updated_at:DESC"
20783
+ "updated_at:DESC",
20784
+ "deleted_at:ASC",
20785
+ "deleted_at:DESC"
20695
20786
  ])).optional(),
20696
20787
  "search": z.string().optional(),
20697
20788
  "searchBy": z.array(z.string()).optional()
20698
20789
  }).optional(),
20699
20790
  url: z.literal("/v1/pr-issue")
20700
20791
  });
20792
+ const zPrIssueFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/pr-issue/recently-deleted") });
20701
20793
  const zPrIssueFindOneV1Data = z.object({
20702
20794
  path: z.object({ "id": z.string() }),
20703
20795
  url: z.literal("/v1/pr-issue/{id}")
@@ -20715,6 +20807,10 @@ const zPrIssueBulkOperationV1Data = z.object({
20715
20807
  body: zBulkPrIssueRequestDto,
20716
20808
  url: z.literal("/v1/pr-issue/bulk")
20717
20809
  });
20810
+ const zPrIssueRestoreV1Data = z.object({
20811
+ path: z.object({ "id": z.string() }),
20812
+ url: z.literal("/v1/pr-issue/{id}/restore")
20813
+ });
20718
20814
 
20719
20815
  //#endregion
20720
20816
  //#region ../sdk/dist/gen/pr-run/zod.js
@@ -20736,7 +20832,9 @@ const zResponsePrRunDto = z.object({
20736
20832
  epoch: z.number().describe(""),
20737
20833
  created_by: z.string().describe(""),
20738
20834
  updated_by: z.string().describe(""),
20739
- workspace_id: z.string().describe("")
20835
+ workspace_id: z.string().describe(""),
20836
+ deleted_at: z.unknown().describe(""),
20837
+ deleted_by: z.string().nullable().describe("")
20740
20838
  });
20741
20839
  const zUpdatePrRunDto = z.object({
20742
20840
  id: z.string().optional().describe(""),
@@ -20792,6 +20890,7 @@ const zPrRunFindAllV1Data = z.object({
20792
20890
  "filter.automation_run_id": z.array(z.string()).optional(),
20793
20891
  "filter.created_at": z.array(z.string()).optional(),
20794
20892
  "filter.updated_at": z.array(z.string()).optional(),
20893
+ "filter.deleted_at": z.array(z.string()).optional(),
20795
20894
  "sortBy": z.array(z.enum([
20796
20895
  "id:ASC",
20797
20896
  "id:DESC",
@@ -20804,13 +20903,16 @@ const zPrRunFindAllV1Data = z.object({
20804
20903
  "created_at:ASC",
20805
20904
  "created_at:DESC",
20806
20905
  "updated_at:ASC",
20807
- "updated_at:DESC"
20906
+ "updated_at:DESC",
20907
+ "deleted_at:ASC",
20908
+ "deleted_at:DESC"
20808
20909
  ])).optional(),
20809
20910
  "search": z.string().optional(),
20810
20911
  "searchBy": z.array(z.string()).optional()
20811
20912
  }).optional(),
20812
20913
  url: z.literal("/v1/pr-run")
20813
20914
  });
20915
+ const zPrRunFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/pr-run/recently-deleted") });
20814
20916
  const zPrRunFindOneV1Data = z.object({
20815
20917
  path: z.object({ "id": z.string() }),
20816
20918
  url: z.literal("/v1/pr-run/{id}")
@@ -20828,6 +20930,10 @@ const zPrRunBulkOperationV1Data = z.object({
20828
20930
  body: zBulkPrRunRequestDto,
20829
20931
  url: z.literal("/v1/pr-run/bulk")
20830
20932
  });
20933
+ const zPrRunRestoreV1Data = z.object({
20934
+ path: z.object({ "id": z.string() }),
20935
+ url: z.literal("/v1/pr-run/{id}/restore")
20936
+ });
20831
20937
 
20832
20938
  //#endregion
20833
20939
  //#region ../sdk/dist/gen/pr-team/zod.js
@@ -20847,7 +20953,9 @@ const zResponsePrTeamDto = z.object({
20847
20953
  epoch: z.number().describe(""),
20848
20954
  created_by: z.string().describe(""),
20849
20955
  updated_by: z.string().describe(""),
20850
- workspace_id: z.string().describe("")
20956
+ workspace_id: z.string().describe(""),
20957
+ deleted_at: z.unknown().describe(""),
20958
+ deleted_by: z.string().nullable().describe("")
20851
20959
  });
20852
20960
  const zUpdatePrTeamDto = z.object({
20853
20961
  id: z.string().optional().describe(""),
@@ -20901,6 +21009,7 @@ const zPrTeamFindAllV1Data = z.object({
20901
21009
  "filter.team_id": z.array(z.string()).optional(),
20902
21010
  "filter.created_at": z.array(z.string()).optional(),
20903
21011
  "filter.updated_at": z.array(z.string()).optional(),
21012
+ "filter.deleted_at": z.array(z.string()).optional(),
20904
21013
  "sortBy": z.array(z.enum([
20905
21014
  "id:ASC",
20906
21015
  "id:DESC",
@@ -20909,13 +21018,16 @@ const zPrTeamFindAllV1Data = z.object({
20909
21018
  "created_at:ASC",
20910
21019
  "created_at:DESC",
20911
21020
  "updated_at:ASC",
20912
- "updated_at:DESC"
21021
+ "updated_at:DESC",
21022
+ "deleted_at:ASC",
21023
+ "deleted_at:DESC"
20913
21024
  ])).optional(),
20914
21025
  "search": z.string().optional(),
20915
21026
  "searchBy": z.array(z.string()).optional()
20916
21027
  }).optional(),
20917
21028
  url: z.literal("/v1/pr-team")
20918
21029
  });
21030
+ const zPrTeamFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/pr-team/recently-deleted") });
20919
21031
  const zPrTeamFindOneV1Data = z.object({
20920
21032
  path: z.object({ "id": z.string() }),
20921
21033
  url: z.literal("/v1/pr-team/{id}")
@@ -20933,6 +21045,10 @@ const zPrTeamBulkOperationV1Data = z.object({
20933
21045
  body: zBulkPrTeamRequestDto,
20934
21046
  url: z.literal("/v1/pr-team/bulk")
20935
21047
  });
21048
+ const zPrTeamRestoreV1Data = z.object({
21049
+ path: z.object({ "id": z.string() }),
21050
+ url: z.literal("/v1/pr-team/{id}/restore")
21051
+ });
20936
21052
 
20937
21053
  //#endregion
20938
21054
  //#region ../sdk/dist/gen/product-plan/zod.js
@@ -23638,7 +23754,9 @@ const zResponseReviewHealthSnapshotDto = z.object({
23638
23754
  epoch: z.number().describe(""),
23639
23755
  created_by: z.string().describe(""),
23640
23756
  updated_by: z.string().describe(""),
23641
- workspace_id: z.string().describe("")
23757
+ workspace_id: z.string().describe(""),
23758
+ deleted_at: z.unknown().describe(""),
23759
+ deleted_by: z.string().nullable().describe("")
23642
23760
  });
23643
23761
  const zCreateReviewHealthSnapshotDto = z.object({
23644
23762
  id: z.string().optional().describe(""),
@@ -23717,6 +23835,7 @@ const zReviewHealthSnapshotFindAllV1Data = z.object({
23717
23835
  "filter.github_repository_id": z.array(z.string()).optional(),
23718
23836
  "filter.created_at": z.array(z.string()).optional(),
23719
23837
  "filter.updated_at": z.array(z.string()).optional(),
23838
+ "filter.deleted_at": z.array(z.string()).optional(),
23720
23839
  "sortBy": z.array(z.enum([
23721
23840
  "id:ASC",
23722
23841
  "id:DESC",
@@ -23743,13 +23862,16 @@ const zReviewHealthSnapshotFindAllV1Data = z.object({
23743
23862
  "created_at:ASC",
23744
23863
  "created_at:DESC",
23745
23864
  "updated_at:ASC",
23746
- "updated_at:DESC"
23865
+ "updated_at:DESC",
23866
+ "deleted_at:ASC",
23867
+ "deleted_at:DESC"
23747
23868
  ])).optional(),
23748
23869
  "search": z.string().optional(),
23749
23870
  "searchBy": z.array(z.string()).optional()
23750
23871
  }).optional(),
23751
23872
  url: z.literal("/v1/review-health-snapshot")
23752
23873
  });
23874
+ const zReviewHealthSnapshotFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/review-health-snapshot/recently-deleted") });
23753
23875
  const zReviewHealthSnapshotFindOneV1Data = z.object({
23754
23876
  path: z.object({ "id": z.string() }),
23755
23877
  url: z.literal("/v1/review-health-snapshot/{id}")
@@ -23758,6 +23880,10 @@ const zReviewHealthSnapshotBulkOperationV1Data = z.object({
23758
23880
  body: zBulkReviewHealthSnapshotRequestDto,
23759
23881
  url: z.literal("/v1/review-health-snapshot/bulk")
23760
23882
  });
23883
+ const zReviewHealthSnapshotRestoreV1Data = z.object({
23884
+ path: z.object({ "id": z.string() }),
23885
+ url: z.literal("/v1/review-health-snapshot/{id}/restore")
23886
+ });
23761
23887
 
23762
23888
  //#endregion
23763
23889
  //#region ../sdk/dist/gen/role/zod.js
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-BEjBPgRR.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-BLUjDoCb.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-BEjBPgRR.js";
2
+ import { authGetProfileV1, configureClient } from "./sdk-client-BLUjDoCb.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.7.5",
3
+ "version": "0.7.7",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",