@levr-one/cli 0.7.5 → 0.7.6

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-Bh_I1DDB.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-CIhKSbJ1.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-Dcze-Hyi.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-BBiGdbE-.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-Clc6PPa-.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-gIbpgar5.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.6";
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-CMIYlzY7.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-CqiOEGbw.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-9bEIfK0D.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-CMIYlzY7.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-CMIYlzY7.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-CqiOEGbw.js";
4
+ import { autoSelectWorkspace } from "./resolve-workspace-9bEIfK0D.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-CMIYlzY7.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-CqiOEGbw.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-9bEIfK0D.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-CMIYlzY7.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
@@ -16446,7 +16516,9 @@ const zResponseIssueRepositoryDto = z.object({
16446
16516
  epoch: z.number().describe(""),
16447
16517
  created_by: z.string().describe(""),
16448
16518
  updated_by: z.string().describe(""),
16449
- workspace_id: z.string().describe("")
16519
+ workspace_id: z.string().describe(""),
16520
+ deleted_at: z.unknown().describe(""),
16521
+ deleted_by: z.string().nullable().describe("")
16450
16522
  });
16451
16523
  const zUpdateIssueRepositoryDto = z.object({
16452
16524
  id: z.string().optional().describe(""),
@@ -16500,6 +16572,7 @@ const zIssueRepositoryFindAllV1Data = z.object({
16500
16572
  "filter.github_repository_id": z.array(z.string()).optional(),
16501
16573
  "filter.created_at": z.array(z.string()).optional(),
16502
16574
  "filter.updated_at": z.array(z.string()).optional(),
16575
+ "filter.deleted_at": z.array(z.string()).optional(),
16503
16576
  "sortBy": z.array(z.enum([
16504
16577
  "id:ASC",
16505
16578
  "id:DESC",
@@ -16508,13 +16581,16 @@ const zIssueRepositoryFindAllV1Data = z.object({
16508
16581
  "created_at:ASC",
16509
16582
  "created_at:DESC",
16510
16583
  "updated_at:ASC",
16511
- "updated_at:DESC"
16584
+ "updated_at:DESC",
16585
+ "deleted_at:ASC",
16586
+ "deleted_at:DESC"
16512
16587
  ])).optional(),
16513
16588
  "search": z.string().optional(),
16514
16589
  "searchBy": z.array(z.string()).optional()
16515
16590
  }).optional(),
16516
16591
  url: z.literal("/v1/issue-repository")
16517
16592
  });
16593
+ const zIssueRepositoryFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/issue-repository/recently-deleted") });
16518
16594
  const zIssueRepositoryFindOneV1Data = z.object({
16519
16595
  path: z.object({ "id": z.string() }),
16520
16596
  url: z.literal("/v1/issue-repository/{id}")
@@ -16532,6 +16608,10 @@ const zIssueRepositoryBulkOperationV1Data = z.object({
16532
16608
  body: zBulkIssueRepositoryRequestDto,
16533
16609
  url: z.literal("/v1/issue-repository/bulk")
16534
16610
  });
16611
+ const zIssueRepositoryRestoreV1Data = z.object({
16612
+ path: z.object({ "id": z.string() }),
16613
+ url: z.literal("/v1/issue-repository/{id}/restore")
16614
+ });
16535
16615
 
16536
16616
  //#endregion
16537
16617
  //#region ../sdk/dist/gen/issue-run-link/zod.js
@@ -20627,7 +20707,9 @@ const zResponsePrIssueDto = z.object({
20627
20707
  epoch: z.number().describe(""),
20628
20708
  created_by: z.string().describe(""),
20629
20709
  updated_by: z.string().describe(""),
20630
- workspace_id: z.string().describe("")
20710
+ workspace_id: z.string().describe(""),
20711
+ deleted_at: z.unknown().describe(""),
20712
+ deleted_by: z.string().nullable().describe("")
20631
20713
  });
20632
20714
  const zUpdatePrIssueDto = z.object({
20633
20715
  id: z.string().optional().describe(""),
@@ -20683,6 +20765,7 @@ const zPrIssueFindAllV1Data = z.object({
20683
20765
  "filter.issue_id": z.array(z.string()).optional(),
20684
20766
  "filter.created_at": z.array(z.string()).optional(),
20685
20767
  "filter.updated_at": z.array(z.string()).optional(),
20768
+ "filter.deleted_at": z.array(z.string()).optional(),
20686
20769
  "sortBy": z.array(z.enum([
20687
20770
  "id:ASC",
20688
20771
  "id:DESC",
@@ -20691,13 +20774,16 @@ const zPrIssueFindAllV1Data = z.object({
20691
20774
  "created_at:ASC",
20692
20775
  "created_at:DESC",
20693
20776
  "updated_at:ASC",
20694
- "updated_at:DESC"
20777
+ "updated_at:DESC",
20778
+ "deleted_at:ASC",
20779
+ "deleted_at:DESC"
20695
20780
  ])).optional(),
20696
20781
  "search": z.string().optional(),
20697
20782
  "searchBy": z.array(z.string()).optional()
20698
20783
  }).optional(),
20699
20784
  url: z.literal("/v1/pr-issue")
20700
20785
  });
20786
+ const zPrIssueFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/pr-issue/recently-deleted") });
20701
20787
  const zPrIssueFindOneV1Data = z.object({
20702
20788
  path: z.object({ "id": z.string() }),
20703
20789
  url: z.literal("/v1/pr-issue/{id}")
@@ -20715,6 +20801,10 @@ const zPrIssueBulkOperationV1Data = z.object({
20715
20801
  body: zBulkPrIssueRequestDto,
20716
20802
  url: z.literal("/v1/pr-issue/bulk")
20717
20803
  });
20804
+ const zPrIssueRestoreV1Data = z.object({
20805
+ path: z.object({ "id": z.string() }),
20806
+ url: z.literal("/v1/pr-issue/{id}/restore")
20807
+ });
20718
20808
 
20719
20809
  //#endregion
20720
20810
  //#region ../sdk/dist/gen/pr-run/zod.js
@@ -20736,7 +20826,9 @@ const zResponsePrRunDto = z.object({
20736
20826
  epoch: z.number().describe(""),
20737
20827
  created_by: z.string().describe(""),
20738
20828
  updated_by: z.string().describe(""),
20739
- workspace_id: z.string().describe("")
20829
+ workspace_id: z.string().describe(""),
20830
+ deleted_at: z.unknown().describe(""),
20831
+ deleted_by: z.string().nullable().describe("")
20740
20832
  });
20741
20833
  const zUpdatePrRunDto = z.object({
20742
20834
  id: z.string().optional().describe(""),
@@ -20792,6 +20884,7 @@ const zPrRunFindAllV1Data = z.object({
20792
20884
  "filter.automation_run_id": z.array(z.string()).optional(),
20793
20885
  "filter.created_at": z.array(z.string()).optional(),
20794
20886
  "filter.updated_at": z.array(z.string()).optional(),
20887
+ "filter.deleted_at": z.array(z.string()).optional(),
20795
20888
  "sortBy": z.array(z.enum([
20796
20889
  "id:ASC",
20797
20890
  "id:DESC",
@@ -20804,13 +20897,16 @@ const zPrRunFindAllV1Data = z.object({
20804
20897
  "created_at:ASC",
20805
20898
  "created_at:DESC",
20806
20899
  "updated_at:ASC",
20807
- "updated_at:DESC"
20900
+ "updated_at:DESC",
20901
+ "deleted_at:ASC",
20902
+ "deleted_at:DESC"
20808
20903
  ])).optional(),
20809
20904
  "search": z.string().optional(),
20810
20905
  "searchBy": z.array(z.string()).optional()
20811
20906
  }).optional(),
20812
20907
  url: z.literal("/v1/pr-run")
20813
20908
  });
20909
+ const zPrRunFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/pr-run/recently-deleted") });
20814
20910
  const zPrRunFindOneV1Data = z.object({
20815
20911
  path: z.object({ "id": z.string() }),
20816
20912
  url: z.literal("/v1/pr-run/{id}")
@@ -20828,6 +20924,10 @@ const zPrRunBulkOperationV1Data = z.object({
20828
20924
  body: zBulkPrRunRequestDto,
20829
20925
  url: z.literal("/v1/pr-run/bulk")
20830
20926
  });
20927
+ const zPrRunRestoreV1Data = z.object({
20928
+ path: z.object({ "id": z.string() }),
20929
+ url: z.literal("/v1/pr-run/{id}/restore")
20930
+ });
20831
20931
 
20832
20932
  //#endregion
20833
20933
  //#region ../sdk/dist/gen/pr-team/zod.js
@@ -20847,7 +20947,9 @@ const zResponsePrTeamDto = z.object({
20847
20947
  epoch: z.number().describe(""),
20848
20948
  created_by: z.string().describe(""),
20849
20949
  updated_by: z.string().describe(""),
20850
- workspace_id: z.string().describe("")
20950
+ workspace_id: z.string().describe(""),
20951
+ deleted_at: z.unknown().describe(""),
20952
+ deleted_by: z.string().nullable().describe("")
20851
20953
  });
20852
20954
  const zUpdatePrTeamDto = z.object({
20853
20955
  id: z.string().optional().describe(""),
@@ -20901,6 +21003,7 @@ const zPrTeamFindAllV1Data = z.object({
20901
21003
  "filter.team_id": z.array(z.string()).optional(),
20902
21004
  "filter.created_at": z.array(z.string()).optional(),
20903
21005
  "filter.updated_at": z.array(z.string()).optional(),
21006
+ "filter.deleted_at": z.array(z.string()).optional(),
20904
21007
  "sortBy": z.array(z.enum([
20905
21008
  "id:ASC",
20906
21009
  "id:DESC",
@@ -20909,13 +21012,16 @@ const zPrTeamFindAllV1Data = z.object({
20909
21012
  "created_at:ASC",
20910
21013
  "created_at:DESC",
20911
21014
  "updated_at:ASC",
20912
- "updated_at:DESC"
21015
+ "updated_at:DESC",
21016
+ "deleted_at:ASC",
21017
+ "deleted_at:DESC"
20913
21018
  ])).optional(),
20914
21019
  "search": z.string().optional(),
20915
21020
  "searchBy": z.array(z.string()).optional()
20916
21021
  }).optional(),
20917
21022
  url: z.literal("/v1/pr-team")
20918
21023
  });
21024
+ const zPrTeamFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/pr-team/recently-deleted") });
20919
21025
  const zPrTeamFindOneV1Data = z.object({
20920
21026
  path: z.object({ "id": z.string() }),
20921
21027
  url: z.literal("/v1/pr-team/{id}")
@@ -20933,6 +21039,10 @@ const zPrTeamBulkOperationV1Data = z.object({
20933
21039
  body: zBulkPrTeamRequestDto,
20934
21040
  url: z.literal("/v1/pr-team/bulk")
20935
21041
  });
21042
+ const zPrTeamRestoreV1Data = z.object({
21043
+ path: z.object({ "id": z.string() }),
21044
+ url: z.literal("/v1/pr-team/{id}/restore")
21045
+ });
20936
21046
 
20937
21047
  //#endregion
20938
21048
  //#region ../sdk/dist/gen/product-plan/zod.js
@@ -23638,7 +23748,9 @@ const zResponseReviewHealthSnapshotDto = z.object({
23638
23748
  epoch: z.number().describe(""),
23639
23749
  created_by: z.string().describe(""),
23640
23750
  updated_by: z.string().describe(""),
23641
- workspace_id: z.string().describe("")
23751
+ workspace_id: z.string().describe(""),
23752
+ deleted_at: z.unknown().describe(""),
23753
+ deleted_by: z.string().nullable().describe("")
23642
23754
  });
23643
23755
  const zCreateReviewHealthSnapshotDto = z.object({
23644
23756
  id: z.string().optional().describe(""),
@@ -23717,6 +23829,7 @@ const zReviewHealthSnapshotFindAllV1Data = z.object({
23717
23829
  "filter.github_repository_id": z.array(z.string()).optional(),
23718
23830
  "filter.created_at": z.array(z.string()).optional(),
23719
23831
  "filter.updated_at": z.array(z.string()).optional(),
23832
+ "filter.deleted_at": z.array(z.string()).optional(),
23720
23833
  "sortBy": z.array(z.enum([
23721
23834
  "id:ASC",
23722
23835
  "id:DESC",
@@ -23743,13 +23856,16 @@ const zReviewHealthSnapshotFindAllV1Data = z.object({
23743
23856
  "created_at:ASC",
23744
23857
  "created_at:DESC",
23745
23858
  "updated_at:ASC",
23746
- "updated_at:DESC"
23859
+ "updated_at:DESC",
23860
+ "deleted_at:ASC",
23861
+ "deleted_at:DESC"
23747
23862
  ])).optional(),
23748
23863
  "search": z.string().optional(),
23749
23864
  "searchBy": z.array(z.string()).optional()
23750
23865
  }).optional(),
23751
23866
  url: z.literal("/v1/review-health-snapshot")
23752
23867
  });
23868
+ const zReviewHealthSnapshotFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/review-health-snapshot/recently-deleted") });
23753
23869
  const zReviewHealthSnapshotFindOneV1Data = z.object({
23754
23870
  path: z.object({ "id": z.string() }),
23755
23871
  url: z.literal("/v1/review-health-snapshot/{id}")
@@ -23758,6 +23874,10 @@ const zReviewHealthSnapshotBulkOperationV1Data = z.object({
23758
23874
  body: zBulkReviewHealthSnapshotRequestDto,
23759
23875
  url: z.literal("/v1/review-health-snapshot/bulk")
23760
23876
  });
23877
+ const zReviewHealthSnapshotRestoreV1Data = z.object({
23878
+ path: z.object({ "id": z.string() }),
23879
+ url: z.literal("/v1/review-health-snapshot/{id}/restore")
23880
+ });
23761
23881
 
23762
23882
  //#endregion
23763
23883
  //#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-CMIYlzY7.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-CMIYlzY7.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.6",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",