@levr-one/cli 0.7.4 → 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 +7 -7
- package/dist/{importHandler-CD-Exlih.js → importHandler-BBiGdbE-.js} +2 -2
- package/dist/{listHandler-CHXHMbg1.js → listHandler-Clc6PPa-.js} +1 -1
- package/dist/{loginHandler-DnNgbir8.js → loginHandler-Bh_I1DDB.js} +2 -2
- package/dist/{pushHandler-DFP3TcCa.js → pushHandler-Dcze-Hyi.js} +2 -2
- package/dist/{resolve-workspace-BXmc2A5u.js → resolve-workspace-9bEIfK0D.js} +1 -1
- package/dist/{sdk-client-CI63vfJS.js → sdk-client-CMIYlzY7.js} +180 -27
- package/dist/{selectHandler-CFYGjLTM.js → selectHandler-gIbpgar5.js} +1 -1
- package/dist/{statusHandler-smwrCnqh.js → statusHandler-CIhKSbJ1.js} +1 -1
- package/package.json +1 -1
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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-
|
|
2
|
+
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-CMIYlzY7.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
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-
|
|
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-
|
|
2
|
+
import { configureClient } from "./sdk-client-CMIYlzY7.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
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-
|
|
2
|
+
import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-CMIYlzY7.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
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";
|
|
@@ -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
|
|
@@ -9919,6 +9959,9 @@ const zCreateCycleDto = z.object({
|
|
|
9919
9959
|
scope_initial: z.number().optional().describe(""),
|
|
9920
9960
|
scope_final: z.number().optional().describe(""),
|
|
9921
9961
|
completed_scope: z.number().optional().describe(""),
|
|
9962
|
+
testing_scope_initial: z.number().optional().describe(""),
|
|
9963
|
+
testing_scope_final: z.number().optional().describe(""),
|
|
9964
|
+
testing_completed_scope: z.number().optional().describe(""),
|
|
9922
9965
|
scope_is_mixed_unit: z.boolean().optional().describe(""),
|
|
9923
9966
|
completed_at: z.unknown().optional().describe(""),
|
|
9924
9967
|
status: z.string().optional().describe(""),
|
|
@@ -9938,6 +9981,9 @@ const zResponseCycleDto = z.object({
|
|
|
9938
9981
|
scope_initial: z.number().optional().describe(""),
|
|
9939
9982
|
scope_final: z.number().optional().describe(""),
|
|
9940
9983
|
completed_scope: z.number().optional().describe(""),
|
|
9984
|
+
testing_scope_initial: z.number().optional().describe(""),
|
|
9985
|
+
testing_scope_final: z.number().optional().describe(""),
|
|
9986
|
+
testing_completed_scope: z.number().optional().describe(""),
|
|
9941
9987
|
scope_is_mixed_unit: z.boolean().optional().describe(""),
|
|
9942
9988
|
completed_at: z.unknown().optional().describe(""),
|
|
9943
9989
|
status: z.string().optional().describe(""),
|
|
@@ -9966,6 +10012,9 @@ const zUpdateCycleDto = z.object({
|
|
|
9966
10012
|
scope_initial: z.number().optional().describe(""),
|
|
9967
10013
|
scope_final: z.number().optional().describe(""),
|
|
9968
10014
|
completed_scope: z.number().optional().describe(""),
|
|
10015
|
+
testing_scope_initial: z.number().optional().describe(""),
|
|
10016
|
+
testing_scope_final: z.number().optional().describe(""),
|
|
10017
|
+
testing_completed_scope: z.number().optional().describe(""),
|
|
9969
10018
|
scope_is_mixed_unit: z.boolean().optional().describe(""),
|
|
9970
10019
|
completed_at: z.unknown().optional().describe(""),
|
|
9971
10020
|
status: z.string().optional().describe(""),
|
|
@@ -10024,6 +10073,9 @@ const zCycleFindAllV1Data = z.object({
|
|
|
10024
10073
|
"filter.scope_initial": z.array(z.string()).optional(),
|
|
10025
10074
|
"filter.scope_final": z.array(z.string()).optional(),
|
|
10026
10075
|
"filter.completed_scope": z.array(z.string()).optional(),
|
|
10076
|
+
"filter.testing_scope_initial": z.array(z.string()).optional(),
|
|
10077
|
+
"filter.testing_scope_final": z.array(z.string()).optional(),
|
|
10078
|
+
"filter.testing_completed_scope": z.array(z.string()).optional(),
|
|
10027
10079
|
"filter.scope_is_mixed_unit": z.array(z.string()).optional(),
|
|
10028
10080
|
"filter.completed_at": z.array(z.string()).optional(),
|
|
10029
10081
|
"filter.status": z.array(z.string()).optional(),
|
|
@@ -10055,6 +10107,12 @@ const zCycleFindAllV1Data = z.object({
|
|
|
10055
10107
|
"scope_final:DESC",
|
|
10056
10108
|
"completed_scope:ASC",
|
|
10057
10109
|
"completed_scope:DESC",
|
|
10110
|
+
"testing_scope_initial:ASC",
|
|
10111
|
+
"testing_scope_initial:DESC",
|
|
10112
|
+
"testing_scope_final:ASC",
|
|
10113
|
+
"testing_scope_final:DESC",
|
|
10114
|
+
"testing_completed_scope:ASC",
|
|
10115
|
+
"testing_completed_scope:DESC",
|
|
10058
10116
|
"completed_at:ASC",
|
|
10059
10117
|
"completed_at:DESC",
|
|
10060
10118
|
"status:ASC",
|
|
@@ -14501,7 +14559,9 @@ const zResponseGithubIssueCommentLinkDto = z.object({
|
|
|
14501
14559
|
epoch: z.number().describe(""),
|
|
14502
14560
|
created_by: z.string().describe(""),
|
|
14503
14561
|
updated_by: z.string().describe(""),
|
|
14504
|
-
workspace_id: z.string().describe("")
|
|
14562
|
+
workspace_id: z.string().describe(""),
|
|
14563
|
+
deleted_at: z.unknown().describe(""),
|
|
14564
|
+
deleted_by: z.string().nullable().describe("")
|
|
14505
14565
|
});
|
|
14506
14566
|
const zUpdateGithubIssueCommentLinkDto = z.object({
|
|
14507
14567
|
id: z.string().optional().describe(""),
|
|
@@ -14561,6 +14621,7 @@ const zGithubIssueCommentLinkFindAllV1Data = z.object({
|
|
|
14561
14621
|
"filter.tq_comment_id": z.array(z.string()).optional(),
|
|
14562
14622
|
"filter.created_at": z.array(z.string()).optional(),
|
|
14563
14623
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
14624
|
+
"filter.deleted_at": z.array(z.string()).optional(),
|
|
14564
14625
|
"sortBy": z.array(z.enum([
|
|
14565
14626
|
"id:ASC",
|
|
14566
14627
|
"id:DESC",
|
|
@@ -14573,13 +14634,16 @@ const zGithubIssueCommentLinkFindAllV1Data = z.object({
|
|
|
14573
14634
|
"created_at:ASC",
|
|
14574
14635
|
"created_at:DESC",
|
|
14575
14636
|
"updated_at:ASC",
|
|
14576
|
-
"updated_at:DESC"
|
|
14637
|
+
"updated_at:DESC",
|
|
14638
|
+
"deleted_at:ASC",
|
|
14639
|
+
"deleted_at:DESC"
|
|
14577
14640
|
])).optional(),
|
|
14578
14641
|
"search": z.string().optional(),
|
|
14579
14642
|
"searchBy": z.array(z.string()).optional()
|
|
14580
14643
|
}).optional(),
|
|
14581
14644
|
url: z.literal("/v1/github-issue-comment-link")
|
|
14582
14645
|
});
|
|
14646
|
+
const zGithubIssueCommentLinkFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/github-issue-comment-link/recently-deleted") });
|
|
14583
14647
|
const zGithubIssueCommentLinkFindOneV1Data = z.object({
|
|
14584
14648
|
path: z.object({ "id": z.string() }),
|
|
14585
14649
|
url: z.literal("/v1/github-issue-comment-link/{id}")
|
|
@@ -14597,6 +14661,10 @@ const zGithubIssueCommentLinkBulkOperationV1Data = z.object({
|
|
|
14597
14661
|
body: zBulkGithubIssueCommentLinkRequestDto,
|
|
14598
14662
|
url: z.literal("/v1/github-issue-comment-link/bulk")
|
|
14599
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
|
+
});
|
|
14600
14668
|
|
|
14601
14669
|
//#endregion
|
|
14602
14670
|
//#region ../sdk/dist/gen/github-issue-link/zod.js
|
|
@@ -14785,7 +14853,9 @@ const zResponseGithubIssueSyncConfigDto = z.object({
|
|
|
14785
14853
|
epoch: z.number().describe(""),
|
|
14786
14854
|
created_by: z.string().describe(""),
|
|
14787
14855
|
updated_by: z.string().describe(""),
|
|
14788
|
-
workspace_id: z.string().describe("")
|
|
14856
|
+
workspace_id: z.string().describe(""),
|
|
14857
|
+
deleted_at: z.unknown().describe(""),
|
|
14858
|
+
deleted_by: z.string().nullable().describe("")
|
|
14789
14859
|
});
|
|
14790
14860
|
const zUpdateGithubIssueSyncConfigDto = z.object({
|
|
14791
14861
|
id: z.string().optional().describe(""),
|
|
@@ -14856,6 +14926,7 @@ const zGithubIssueSyncConfigFindAllV1Data = z.object({
|
|
|
14856
14926
|
"filter.github_repository_id": z.array(z.string()).optional(),
|
|
14857
14927
|
"filter.created_at": z.array(z.string()).optional(),
|
|
14858
14928
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
14929
|
+
"filter.deleted_at": z.array(z.string()).optional(),
|
|
14859
14930
|
"sortBy": z.array(z.enum([
|
|
14860
14931
|
"id:ASC",
|
|
14861
14932
|
"id:DESC",
|
|
@@ -14872,13 +14943,16 @@ const zGithubIssueSyncConfigFindAllV1Data = z.object({
|
|
|
14872
14943
|
"created_at:ASC",
|
|
14873
14944
|
"created_at:DESC",
|
|
14874
14945
|
"updated_at:ASC",
|
|
14875
|
-
"updated_at:DESC"
|
|
14946
|
+
"updated_at:DESC",
|
|
14947
|
+
"deleted_at:ASC",
|
|
14948
|
+
"deleted_at:DESC"
|
|
14876
14949
|
])).optional(),
|
|
14877
14950
|
"search": z.string().optional(),
|
|
14878
14951
|
"searchBy": z.array(z.string()).optional()
|
|
14879
14952
|
}).optional(),
|
|
14880
14953
|
url: z.literal("/v1/github-issue-sync-config")
|
|
14881
14954
|
});
|
|
14955
|
+
const zGithubIssueSyncConfigFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/github-issue-sync-config/recently-deleted") });
|
|
14882
14956
|
const zGithubIssueSyncConfigFindOneV1Data = z.object({
|
|
14883
14957
|
path: z.object({ "id": z.string() }),
|
|
14884
14958
|
url: z.literal("/v1/github-issue-sync-config/{id}")
|
|
@@ -14896,6 +14970,10 @@ const zGithubIssueSyncConfigBulkOperationV1Data = z.object({
|
|
|
14896
14970
|
body: zBulkGithubIssueSyncConfigRequestDto,
|
|
14897
14971
|
url: z.literal("/v1/github-issue-sync-config/bulk")
|
|
14898
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
|
+
});
|
|
14899
14977
|
|
|
14900
14978
|
//#endregion
|
|
14901
14979
|
//#region ../sdk/dist/gen/github-pull-request/zod.js
|
|
@@ -14928,6 +15006,8 @@ const zResponseGithubPullRequestDto = z.object({
|
|
|
14928
15006
|
created_by: z.string().describe(""),
|
|
14929
15007
|
updated_by: z.string().describe(""),
|
|
14930
15008
|
workspace_id: z.string().describe(""),
|
|
15009
|
+
deleted_at: z.unknown().describe(""),
|
|
15010
|
+
deleted_by: z.string().nullable().describe(""),
|
|
14931
15011
|
web_url: z.string().nullable().optional().describe("")
|
|
14932
15012
|
});
|
|
14933
15013
|
const zGithubPullRequestFindAllV1Data = z.object({
|
|
@@ -14959,6 +15039,7 @@ const zGithubPullRequestFindAllV1Data = z.object({
|
|
|
14959
15039
|
"filter.github_branch_id": z.array(z.string()).optional(),
|
|
14960
15040
|
"filter.created_at": z.array(z.string()).optional(),
|
|
14961
15041
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
15042
|
+
"filter.deleted_at": z.array(z.string()).optional(),
|
|
14962
15043
|
"sortBy": z.array(z.enum([
|
|
14963
15044
|
"id:ASC",
|
|
14964
15045
|
"id:DESC",
|
|
@@ -15003,17 +15084,24 @@ const zGithubPullRequestFindAllV1Data = z.object({
|
|
|
15003
15084
|
"created_at:ASC",
|
|
15004
15085
|
"created_at:DESC",
|
|
15005
15086
|
"updated_at:ASC",
|
|
15006
|
-
"updated_at:DESC"
|
|
15087
|
+
"updated_at:DESC",
|
|
15088
|
+
"deleted_at:ASC",
|
|
15089
|
+
"deleted_at:DESC"
|
|
15007
15090
|
])).optional(),
|
|
15008
15091
|
"search": z.string().optional(),
|
|
15009
15092
|
"searchBy": z.array(z.string()).optional()
|
|
15010
15093
|
}).optional(),
|
|
15011
15094
|
url: z.literal("/v1/github-pull-request")
|
|
15012
15095
|
});
|
|
15096
|
+
const zGithubPullRequestFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/github-pull-request/recently-deleted") });
|
|
15013
15097
|
const zGithubPullRequestFindOneV1Data = z.object({
|
|
15014
15098
|
path: z.object({ "id": z.string() }),
|
|
15015
15099
|
url: z.literal("/v1/github-pull-request/{id}")
|
|
15016
15100
|
});
|
|
15101
|
+
const zGithubPullRequestRestoreV1Data = z.object({
|
|
15102
|
+
path: z.object({ "id": z.string() }),
|
|
15103
|
+
url: z.literal("/v1/github-pull-request/{id}/restore")
|
|
15104
|
+
});
|
|
15017
15105
|
|
|
15018
15106
|
//#endregion
|
|
15019
15107
|
//#region ../sdk/dist/gen/github-status/zod.js
|
|
@@ -16428,7 +16516,9 @@ const zResponseIssueRepositoryDto = z.object({
|
|
|
16428
16516
|
epoch: z.number().describe(""),
|
|
16429
16517
|
created_by: z.string().describe(""),
|
|
16430
16518
|
updated_by: z.string().describe(""),
|
|
16431
|
-
workspace_id: z.string().describe("")
|
|
16519
|
+
workspace_id: z.string().describe(""),
|
|
16520
|
+
deleted_at: z.unknown().describe(""),
|
|
16521
|
+
deleted_by: z.string().nullable().describe("")
|
|
16432
16522
|
});
|
|
16433
16523
|
const zUpdateIssueRepositoryDto = z.object({
|
|
16434
16524
|
id: z.string().optional().describe(""),
|
|
@@ -16482,6 +16572,7 @@ const zIssueRepositoryFindAllV1Data = z.object({
|
|
|
16482
16572
|
"filter.github_repository_id": z.array(z.string()).optional(),
|
|
16483
16573
|
"filter.created_at": z.array(z.string()).optional(),
|
|
16484
16574
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
16575
|
+
"filter.deleted_at": z.array(z.string()).optional(),
|
|
16485
16576
|
"sortBy": z.array(z.enum([
|
|
16486
16577
|
"id:ASC",
|
|
16487
16578
|
"id:DESC",
|
|
@@ -16490,13 +16581,16 @@ const zIssueRepositoryFindAllV1Data = z.object({
|
|
|
16490
16581
|
"created_at:ASC",
|
|
16491
16582
|
"created_at:DESC",
|
|
16492
16583
|
"updated_at:ASC",
|
|
16493
|
-
"updated_at:DESC"
|
|
16584
|
+
"updated_at:DESC",
|
|
16585
|
+
"deleted_at:ASC",
|
|
16586
|
+
"deleted_at:DESC"
|
|
16494
16587
|
])).optional(),
|
|
16495
16588
|
"search": z.string().optional(),
|
|
16496
16589
|
"searchBy": z.array(z.string()).optional()
|
|
16497
16590
|
}).optional(),
|
|
16498
16591
|
url: z.literal("/v1/issue-repository")
|
|
16499
16592
|
});
|
|
16593
|
+
const zIssueRepositoryFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/issue-repository/recently-deleted") });
|
|
16500
16594
|
const zIssueRepositoryFindOneV1Data = z.object({
|
|
16501
16595
|
path: z.object({ "id": z.string() }),
|
|
16502
16596
|
url: z.literal("/v1/issue-repository/{id}")
|
|
@@ -16514,6 +16608,10 @@ const zIssueRepositoryBulkOperationV1Data = z.object({
|
|
|
16514
16608
|
body: zBulkIssueRepositoryRequestDto,
|
|
16515
16609
|
url: z.literal("/v1/issue-repository/bulk")
|
|
16516
16610
|
});
|
|
16611
|
+
const zIssueRepositoryRestoreV1Data = z.object({
|
|
16612
|
+
path: z.object({ "id": z.string() }),
|
|
16613
|
+
url: z.literal("/v1/issue-repository/{id}/restore")
|
|
16614
|
+
});
|
|
16517
16615
|
|
|
16518
16616
|
//#endregion
|
|
16519
16617
|
//#region ../sdk/dist/gen/issue-run-link/zod.js
|
|
@@ -20609,7 +20707,9 @@ const zResponsePrIssueDto = z.object({
|
|
|
20609
20707
|
epoch: z.number().describe(""),
|
|
20610
20708
|
created_by: z.string().describe(""),
|
|
20611
20709
|
updated_by: z.string().describe(""),
|
|
20612
|
-
workspace_id: z.string().describe("")
|
|
20710
|
+
workspace_id: z.string().describe(""),
|
|
20711
|
+
deleted_at: z.unknown().describe(""),
|
|
20712
|
+
deleted_by: z.string().nullable().describe("")
|
|
20613
20713
|
});
|
|
20614
20714
|
const zUpdatePrIssueDto = z.object({
|
|
20615
20715
|
id: z.string().optional().describe(""),
|
|
@@ -20665,6 +20765,7 @@ const zPrIssueFindAllV1Data = z.object({
|
|
|
20665
20765
|
"filter.issue_id": z.array(z.string()).optional(),
|
|
20666
20766
|
"filter.created_at": z.array(z.string()).optional(),
|
|
20667
20767
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
20768
|
+
"filter.deleted_at": z.array(z.string()).optional(),
|
|
20668
20769
|
"sortBy": z.array(z.enum([
|
|
20669
20770
|
"id:ASC",
|
|
20670
20771
|
"id:DESC",
|
|
@@ -20673,13 +20774,16 @@ const zPrIssueFindAllV1Data = z.object({
|
|
|
20673
20774
|
"created_at:ASC",
|
|
20674
20775
|
"created_at:DESC",
|
|
20675
20776
|
"updated_at:ASC",
|
|
20676
|
-
"updated_at:DESC"
|
|
20777
|
+
"updated_at:DESC",
|
|
20778
|
+
"deleted_at:ASC",
|
|
20779
|
+
"deleted_at:DESC"
|
|
20677
20780
|
])).optional(),
|
|
20678
20781
|
"search": z.string().optional(),
|
|
20679
20782
|
"searchBy": z.array(z.string()).optional()
|
|
20680
20783
|
}).optional(),
|
|
20681
20784
|
url: z.literal("/v1/pr-issue")
|
|
20682
20785
|
});
|
|
20786
|
+
const zPrIssueFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/pr-issue/recently-deleted") });
|
|
20683
20787
|
const zPrIssueFindOneV1Data = z.object({
|
|
20684
20788
|
path: z.object({ "id": z.string() }),
|
|
20685
20789
|
url: z.literal("/v1/pr-issue/{id}")
|
|
@@ -20697,6 +20801,10 @@ const zPrIssueBulkOperationV1Data = z.object({
|
|
|
20697
20801
|
body: zBulkPrIssueRequestDto,
|
|
20698
20802
|
url: z.literal("/v1/pr-issue/bulk")
|
|
20699
20803
|
});
|
|
20804
|
+
const zPrIssueRestoreV1Data = z.object({
|
|
20805
|
+
path: z.object({ "id": z.string() }),
|
|
20806
|
+
url: z.literal("/v1/pr-issue/{id}/restore")
|
|
20807
|
+
});
|
|
20700
20808
|
|
|
20701
20809
|
//#endregion
|
|
20702
20810
|
//#region ../sdk/dist/gen/pr-run/zod.js
|
|
@@ -20718,7 +20826,9 @@ const zResponsePrRunDto = z.object({
|
|
|
20718
20826
|
epoch: z.number().describe(""),
|
|
20719
20827
|
created_by: z.string().describe(""),
|
|
20720
20828
|
updated_by: z.string().describe(""),
|
|
20721
|
-
workspace_id: z.string().describe("")
|
|
20829
|
+
workspace_id: z.string().describe(""),
|
|
20830
|
+
deleted_at: z.unknown().describe(""),
|
|
20831
|
+
deleted_by: z.string().nullable().describe("")
|
|
20722
20832
|
});
|
|
20723
20833
|
const zUpdatePrRunDto = z.object({
|
|
20724
20834
|
id: z.string().optional().describe(""),
|
|
@@ -20774,6 +20884,7 @@ const zPrRunFindAllV1Data = z.object({
|
|
|
20774
20884
|
"filter.automation_run_id": z.array(z.string()).optional(),
|
|
20775
20885
|
"filter.created_at": z.array(z.string()).optional(),
|
|
20776
20886
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
20887
|
+
"filter.deleted_at": z.array(z.string()).optional(),
|
|
20777
20888
|
"sortBy": z.array(z.enum([
|
|
20778
20889
|
"id:ASC",
|
|
20779
20890
|
"id:DESC",
|
|
@@ -20786,13 +20897,16 @@ const zPrRunFindAllV1Data = z.object({
|
|
|
20786
20897
|
"created_at:ASC",
|
|
20787
20898
|
"created_at:DESC",
|
|
20788
20899
|
"updated_at:ASC",
|
|
20789
|
-
"updated_at:DESC"
|
|
20900
|
+
"updated_at:DESC",
|
|
20901
|
+
"deleted_at:ASC",
|
|
20902
|
+
"deleted_at:DESC"
|
|
20790
20903
|
])).optional(),
|
|
20791
20904
|
"search": z.string().optional(),
|
|
20792
20905
|
"searchBy": z.array(z.string()).optional()
|
|
20793
20906
|
}).optional(),
|
|
20794
20907
|
url: z.literal("/v1/pr-run")
|
|
20795
20908
|
});
|
|
20909
|
+
const zPrRunFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/pr-run/recently-deleted") });
|
|
20796
20910
|
const zPrRunFindOneV1Data = z.object({
|
|
20797
20911
|
path: z.object({ "id": z.string() }),
|
|
20798
20912
|
url: z.literal("/v1/pr-run/{id}")
|
|
@@ -20810,6 +20924,10 @@ const zPrRunBulkOperationV1Data = z.object({
|
|
|
20810
20924
|
body: zBulkPrRunRequestDto,
|
|
20811
20925
|
url: z.literal("/v1/pr-run/bulk")
|
|
20812
20926
|
});
|
|
20927
|
+
const zPrRunRestoreV1Data = z.object({
|
|
20928
|
+
path: z.object({ "id": z.string() }),
|
|
20929
|
+
url: z.literal("/v1/pr-run/{id}/restore")
|
|
20930
|
+
});
|
|
20813
20931
|
|
|
20814
20932
|
//#endregion
|
|
20815
20933
|
//#region ../sdk/dist/gen/pr-team/zod.js
|
|
@@ -20829,7 +20947,9 @@ const zResponsePrTeamDto = z.object({
|
|
|
20829
20947
|
epoch: z.number().describe(""),
|
|
20830
20948
|
created_by: z.string().describe(""),
|
|
20831
20949
|
updated_by: z.string().describe(""),
|
|
20832
|
-
workspace_id: z.string().describe("")
|
|
20950
|
+
workspace_id: z.string().describe(""),
|
|
20951
|
+
deleted_at: z.unknown().describe(""),
|
|
20952
|
+
deleted_by: z.string().nullable().describe("")
|
|
20833
20953
|
});
|
|
20834
20954
|
const zUpdatePrTeamDto = z.object({
|
|
20835
20955
|
id: z.string().optional().describe(""),
|
|
@@ -20883,6 +21003,7 @@ const zPrTeamFindAllV1Data = z.object({
|
|
|
20883
21003
|
"filter.team_id": z.array(z.string()).optional(),
|
|
20884
21004
|
"filter.created_at": z.array(z.string()).optional(),
|
|
20885
21005
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
21006
|
+
"filter.deleted_at": z.array(z.string()).optional(),
|
|
20886
21007
|
"sortBy": z.array(z.enum([
|
|
20887
21008
|
"id:ASC",
|
|
20888
21009
|
"id:DESC",
|
|
@@ -20891,13 +21012,16 @@ const zPrTeamFindAllV1Data = z.object({
|
|
|
20891
21012
|
"created_at:ASC",
|
|
20892
21013
|
"created_at:DESC",
|
|
20893
21014
|
"updated_at:ASC",
|
|
20894
|
-
"updated_at:DESC"
|
|
21015
|
+
"updated_at:DESC",
|
|
21016
|
+
"deleted_at:ASC",
|
|
21017
|
+
"deleted_at:DESC"
|
|
20895
21018
|
])).optional(),
|
|
20896
21019
|
"search": z.string().optional(),
|
|
20897
21020
|
"searchBy": z.array(z.string()).optional()
|
|
20898
21021
|
}).optional(),
|
|
20899
21022
|
url: z.literal("/v1/pr-team")
|
|
20900
21023
|
});
|
|
21024
|
+
const zPrTeamFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/pr-team/recently-deleted") });
|
|
20901
21025
|
const zPrTeamFindOneV1Data = z.object({
|
|
20902
21026
|
path: z.object({ "id": z.string() }),
|
|
20903
21027
|
url: z.literal("/v1/pr-team/{id}")
|
|
@@ -20915,6 +21039,10 @@ const zPrTeamBulkOperationV1Data = z.object({
|
|
|
20915
21039
|
body: zBulkPrTeamRequestDto,
|
|
20916
21040
|
url: z.literal("/v1/pr-team/bulk")
|
|
20917
21041
|
});
|
|
21042
|
+
const zPrTeamRestoreV1Data = z.object({
|
|
21043
|
+
path: z.object({ "id": z.string() }),
|
|
21044
|
+
url: z.literal("/v1/pr-team/{id}/restore")
|
|
21045
|
+
});
|
|
20918
21046
|
|
|
20919
21047
|
//#endregion
|
|
20920
21048
|
//#region ../sdk/dist/gen/product-plan/zod.js
|
|
@@ -23620,7 +23748,9 @@ const zResponseReviewHealthSnapshotDto = z.object({
|
|
|
23620
23748
|
epoch: z.number().describe(""),
|
|
23621
23749
|
created_by: z.string().describe(""),
|
|
23622
23750
|
updated_by: z.string().describe(""),
|
|
23623
|
-
workspace_id: z.string().describe("")
|
|
23751
|
+
workspace_id: z.string().describe(""),
|
|
23752
|
+
deleted_at: z.unknown().describe(""),
|
|
23753
|
+
deleted_by: z.string().nullable().describe("")
|
|
23624
23754
|
});
|
|
23625
23755
|
const zCreateReviewHealthSnapshotDto = z.object({
|
|
23626
23756
|
id: z.string().optional().describe(""),
|
|
@@ -23699,6 +23829,7 @@ const zReviewHealthSnapshotFindAllV1Data = z.object({
|
|
|
23699
23829
|
"filter.github_repository_id": z.array(z.string()).optional(),
|
|
23700
23830
|
"filter.created_at": z.array(z.string()).optional(),
|
|
23701
23831
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
23832
|
+
"filter.deleted_at": z.array(z.string()).optional(),
|
|
23702
23833
|
"sortBy": z.array(z.enum([
|
|
23703
23834
|
"id:ASC",
|
|
23704
23835
|
"id:DESC",
|
|
@@ -23725,13 +23856,16 @@ const zReviewHealthSnapshotFindAllV1Data = z.object({
|
|
|
23725
23856
|
"created_at:ASC",
|
|
23726
23857
|
"created_at:DESC",
|
|
23727
23858
|
"updated_at:ASC",
|
|
23728
|
-
"updated_at:DESC"
|
|
23859
|
+
"updated_at:DESC",
|
|
23860
|
+
"deleted_at:ASC",
|
|
23861
|
+
"deleted_at:DESC"
|
|
23729
23862
|
])).optional(),
|
|
23730
23863
|
"search": z.string().optional(),
|
|
23731
23864
|
"searchBy": z.array(z.string()).optional()
|
|
23732
23865
|
}).optional(),
|
|
23733
23866
|
url: z.literal("/v1/review-health-snapshot")
|
|
23734
23867
|
});
|
|
23868
|
+
const zReviewHealthSnapshotFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/review-health-snapshot/recently-deleted") });
|
|
23735
23869
|
const zReviewHealthSnapshotFindOneV1Data = z.object({
|
|
23736
23870
|
path: z.object({ "id": z.string() }),
|
|
23737
23871
|
url: z.literal("/v1/review-health-snapshot/{id}")
|
|
@@ -23740,6 +23874,10 @@ const zReviewHealthSnapshotBulkOperationV1Data = z.object({
|
|
|
23740
23874
|
body: zBulkReviewHealthSnapshotRequestDto,
|
|
23741
23875
|
url: z.literal("/v1/review-health-snapshot/bulk")
|
|
23742
23876
|
});
|
|
23877
|
+
const zReviewHealthSnapshotRestoreV1Data = z.object({
|
|
23878
|
+
path: z.object({ "id": z.string() }),
|
|
23879
|
+
url: z.literal("/v1/review-health-snapshot/{id}/restore")
|
|
23880
|
+
});
|
|
23743
23881
|
|
|
23744
23882
|
//#endregion
|
|
23745
23883
|
//#region ../sdk/dist/gen/role/zod.js
|
|
@@ -24062,6 +24200,7 @@ const zCreateRunDto = z.object({
|
|
|
24062
24200
|
project_id: z.string().nullable(),
|
|
24063
24201
|
test_scope_id: z.string().nullable(),
|
|
24064
24202
|
cycle_id: z.string().nullable(),
|
|
24203
|
+
auto_add_tests_to_team: z.boolean().optional(),
|
|
24065
24204
|
name: z.string().optional(),
|
|
24066
24205
|
run_type: z.enum([
|
|
24067
24206
|
"manual",
|
|
@@ -24326,10 +24465,14 @@ const zUpdateExecutionStepDto = z.object({
|
|
|
24326
24465
|
});
|
|
24327
24466
|
const zAddTestsToRunDto = z.object({
|
|
24328
24467
|
tests: z.array(z.object({ test_id: z.string() })),
|
|
24329
|
-
environment_ids: z.array(z.string()).optional()
|
|
24468
|
+
environment_ids: z.array(z.string()).optional(),
|
|
24469
|
+
auto_add_tests_to_team: z.boolean().optional()
|
|
24330
24470
|
});
|
|
24331
24471
|
const zUpdateTestsEpochDto = z.object({ run_result_ids: z.array(z.string()).optional() });
|
|
24332
|
-
const zRefreshFolderDto = z.object({
|
|
24472
|
+
const zRefreshFolderDto = z.object({
|
|
24473
|
+
folder_id: z.string(),
|
|
24474
|
+
auto_add_tests_to_team: z.boolean().optional()
|
|
24475
|
+
});
|
|
24333
24476
|
const zRefreshFolderResultDto = z.object({
|
|
24334
24477
|
added: z.number(),
|
|
24335
24478
|
removed: z.number(),
|
|
@@ -28253,7 +28396,9 @@ const zPreviewImportResponseDto = z.object({
|
|
|
28253
28396
|
"unknown"
|
|
28254
28397
|
]).optional(),
|
|
28255
28398
|
labelPrefix: z.string().optional().describe(""),
|
|
28256
|
-
descriptionHeading: z.string().optional().describe("")
|
|
28399
|
+
descriptionHeading: z.string().optional().describe(""),
|
|
28400
|
+
teamQualifier: z.string().optional().describe(""),
|
|
28401
|
+
team_id: z.string().optional().describe("")
|
|
28257
28402
|
})),
|
|
28258
28403
|
missing_required: z.array(z.string()),
|
|
28259
28404
|
sample_rows: z.array(z.record(z.string(), z.unknown())),
|
|
@@ -28366,7 +28511,9 @@ const zCommitImportDto = z.object({
|
|
|
28366
28511
|
"unknown"
|
|
28367
28512
|
]).optional(),
|
|
28368
28513
|
labelPrefix: z.string().optional().describe(""),
|
|
28369
|
-
descriptionHeading: z.string().optional().describe("")
|
|
28514
|
+
descriptionHeading: z.string().optional().describe(""),
|
|
28515
|
+
teamQualifier: z.string().optional().describe(""),
|
|
28516
|
+
team_id: z.string().optional().describe("")
|
|
28370
28517
|
})).optional().describe(""),
|
|
28371
28518
|
assignee_plan: z.object({
|
|
28372
28519
|
role: z.enum([
|
|
@@ -28917,11 +29064,13 @@ const zTestScopeRestoreV1Data = z.object({
|
|
|
28917
29064
|
//#region ../sdk/dist/gen/test-team/zod.js
|
|
28918
29065
|
const zCreateTestTeamDto = z.object({
|
|
28919
29066
|
id: z.string().optional().describe(""),
|
|
29067
|
+
estimate: z.number().nullable().optional().describe(""),
|
|
28920
29068
|
test_id: z.string(),
|
|
28921
29069
|
team_id: z.string()
|
|
28922
29070
|
});
|
|
28923
29071
|
const zResponseTestTeamDto = z.object({
|
|
28924
29072
|
id: z.string().describe(""),
|
|
29073
|
+
estimate: z.number().nullable().optional().describe(""),
|
|
28925
29074
|
test_id: z.string(),
|
|
28926
29075
|
team_id: z.string(),
|
|
28927
29076
|
created_at: z.unknown().describe(""),
|
|
@@ -28933,6 +29082,7 @@ const zResponseTestTeamDto = z.object({
|
|
|
28933
29082
|
});
|
|
28934
29083
|
const zUpdateTestTeamDto = z.object({
|
|
28935
29084
|
id: z.string().optional().describe(""),
|
|
29085
|
+
estimate: z.number().nullable().optional().describe(""),
|
|
28936
29086
|
test_id: z.string().optional(),
|
|
28937
29087
|
team_id: z.string().optional()
|
|
28938
29088
|
});
|
|
@@ -28977,6 +29127,7 @@ const zTestTeamFindAllV1Data = z.object({
|
|
|
28977
29127
|
"page": z.number().optional(),
|
|
28978
29128
|
"limit": z.number().optional(),
|
|
28979
29129
|
"filter.id": z.array(z.string()).optional(),
|
|
29130
|
+
"filter.estimate": z.array(z.string()).optional(),
|
|
28980
29131
|
"filter.test_id": z.array(z.string()).optional(),
|
|
28981
29132
|
"filter.team_id": z.array(z.string()).optional(),
|
|
28982
29133
|
"filter.created_at": z.array(z.string()).optional(),
|
|
@@ -28984,6 +29135,8 @@ const zTestTeamFindAllV1Data = z.object({
|
|
|
28984
29135
|
"sortBy": z.array(z.enum([
|
|
28985
29136
|
"id:ASC",
|
|
28986
29137
|
"id:DESC",
|
|
29138
|
+
"estimate:ASC",
|
|
29139
|
+
"estimate:DESC",
|
|
28987
29140
|
"created_at:ASC",
|
|
28988
29141
|
"created_at:DESC",
|
|
28989
29142
|
"updated_at:ASC",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
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-
|
|
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
|
|