@levr-one/cli 0.10.15 → 0.10.16
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 +8 -8
- package/dist/{importHandler-DyuUKYBD.js → importHandler-CgeFXxiV.js} +2 -2
- package/dist/{listHandler-CeCpGMsT.js → listHandler-DQPOYa_S.js} +1 -1
- package/dist/{loginHandler-DQ6Y9MNs.js → loginHandler-K18-C_ZE.js} +2 -2
- package/dist/{pushHandler-BYLnrNOV.js → pushHandler-iFO0cpmS.js} +2 -2
- package/dist/{resolve-workspace-BIaTcB92.js → resolve-workspace-eleN0cCO.js} +1 -1
- package/dist/{runHandler-Ba6FM0t1.js → runHandler-C0xOnyHp.js} +2 -2
- package/dist/{sdk-client-BQIK9Bkq.js → sdk-client-Bb_vGIsY.js} +0 -307
- package/dist/{selectHandler-CTrAYc_1.js → selectHandler-GPD-I-i6.js} +1 -1
- package/dist/{statusHandler-C34Hsy7I.js → statusHandler-c-qFFB7Z.js} +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -213,7 +213,7 @@ Examples:
|
|
|
213
213
|
aliases: { d: "device-code" }
|
|
214
214
|
},
|
|
215
215
|
loader: async () => {
|
|
216
|
-
const { loginHandler } = await import("./loginHandler-
|
|
216
|
+
const { loginHandler } = await import("./loginHandler-K18-C_ZE.js");
|
|
217
217
|
return loginHandler;
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -252,7 +252,7 @@ Examples:
|
|
|
252
252
|
},
|
|
253
253
|
parameters: {},
|
|
254
254
|
loader: async () => {
|
|
255
|
-
const { statusHandler } = await import("./statusHandler-
|
|
255
|
+
const { statusHandler } = await import("./statusHandler-c-qFFB7Z.js");
|
|
256
256
|
return statusHandler;
|
|
257
257
|
}
|
|
258
258
|
});
|
|
@@ -356,7 +356,7 @@ Examples:
|
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
358
|
loader: async () => {
|
|
359
|
-
const { pushHandler } = await import("./pushHandler-
|
|
359
|
+
const { pushHandler } = await import("./pushHandler-iFO0cpmS.js");
|
|
360
360
|
return pushHandler;
|
|
361
361
|
}
|
|
362
362
|
});
|
|
@@ -476,7 +476,7 @@ Examples:
|
|
|
476
476
|
}
|
|
477
477
|
},
|
|
478
478
|
loader: async () => {
|
|
479
|
-
const { importHandler } = await import("./importHandler-
|
|
479
|
+
const { importHandler } = await import("./importHandler-CgeFXxiV.js");
|
|
480
480
|
return importHandler;
|
|
481
481
|
}
|
|
482
482
|
});
|
|
@@ -497,7 +497,7 @@ Examples:
|
|
|
497
497
|
},
|
|
498
498
|
parameters: {},
|
|
499
499
|
loader: async () => {
|
|
500
|
-
const { listHandler } = await import("./listHandler-
|
|
500
|
+
const { listHandler } = await import("./listHandler-DQPOYa_S.js");
|
|
501
501
|
return listHandler;
|
|
502
502
|
}
|
|
503
503
|
});
|
|
@@ -530,7 +530,7 @@ Examples:
|
|
|
530
530
|
flags: {}
|
|
531
531
|
},
|
|
532
532
|
loader: async () => {
|
|
533
|
-
const { selectHandler } = await import("./selectHandler-
|
|
533
|
+
const { selectHandler } = await import("./selectHandler-GPD-I-i6.js");
|
|
534
534
|
return selectHandler;
|
|
535
535
|
}
|
|
536
536
|
});
|
|
@@ -616,14 +616,14 @@ Examples:
|
|
|
616
616
|
}
|
|
617
617
|
},
|
|
618
618
|
loader: async () => {
|
|
619
|
-
const { gatesRunHandler } = await import("./runHandler-
|
|
619
|
+
const { gatesRunHandler } = await import("./runHandler-C0xOnyHp.js");
|
|
620
620
|
return gatesRunHandler;
|
|
621
621
|
}
|
|
622
622
|
});
|
|
623
623
|
|
|
624
624
|
//#endregion
|
|
625
625
|
//#region package.json
|
|
626
|
-
var version = "0.10.
|
|
626
|
+
var version = "0.10.16";
|
|
627
627
|
|
|
628
628
|
//#endregion
|
|
629
629
|
//#region src/app.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl, getTeamId } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-
|
|
2
|
+
import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-Bb_vGIsY.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-eleN0cCO.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-Bb_vGIsY.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-Bb_vGIsY.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-eleN0cCO.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, uploadImport } from "./sdk-client-
|
|
2
|
+
import { client, configureClient, uploadImport } from "./sdk-client-Bb_vGIsY.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-eleN0cCO.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,7 +1,7 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { client, configureClient, issueFindAllV1, issueGateVerificationReportGateResultsV1, issueGateVerificationVerifyGatesV1 } from "./sdk-client-
|
|
2
|
+
import { client, configureClient, issueFindAllV1, issueGateVerificationReportGateResultsV1, issueGateVerificationVerifyGatesV1 } from "./sdk-client-Bb_vGIsY.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-eleN0cCO.js";
|
|
5
5
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
6
6
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
7
7
|
import { existsSync } from "node:fs";
|
|
@@ -13954,306 +13954,6 @@ const zGateDefinitionRestoreV1Data = z.object({
|
|
|
13954
13954
|
url: z.literal("/v1/gate-definition/{id}/restore")
|
|
13955
13955
|
});
|
|
13956
13956
|
|
|
13957
|
-
//#endregion
|
|
13958
|
-
//#region ../sdk/dist/gen/gate-instance/zod.js
|
|
13959
|
-
const zCreateGateInstanceDto = z.object({
|
|
13960
|
-
id: z.string().optional().describe(""),
|
|
13961
|
-
status: z.string().optional().describe(""),
|
|
13962
|
-
verification_rule: z.unknown().optional().describe(""),
|
|
13963
|
-
verified_at: z.unknown().optional().describe(""),
|
|
13964
|
-
waived_reason: z.string().nullable().optional().describe(""),
|
|
13965
|
-
waived_at: z.unknown().optional().describe(""),
|
|
13966
|
-
consecutive_passes: z.number().optional().describe(""),
|
|
13967
|
-
consecutive_fails: z.number().optional().describe(""),
|
|
13968
|
-
required: z.boolean().optional().describe(""),
|
|
13969
|
-
last_checked_at: z.unknown().optional().describe(""),
|
|
13970
|
-
issue_id: z.string(),
|
|
13971
|
-
issue_test_link_id: z.string().nullable().optional(),
|
|
13972
|
-
gate_definition_id: z.string(),
|
|
13973
|
-
gate_set_id: z.string().nullable().optional(),
|
|
13974
|
-
verified_by: z.string().nullable().optional(),
|
|
13975
|
-
waived_by: z.string().nullable().optional()
|
|
13976
|
-
});
|
|
13977
|
-
const zResponseGateInstanceDto = z.object({
|
|
13978
|
-
id: z.string().describe(""),
|
|
13979
|
-
status: z.string().optional().describe(""),
|
|
13980
|
-
verification_rule: z.unknown().optional().describe(""),
|
|
13981
|
-
verified_at: z.unknown().optional().describe(""),
|
|
13982
|
-
waived_reason: z.string().nullable().optional().describe(""),
|
|
13983
|
-
waived_at: z.unknown().optional().describe(""),
|
|
13984
|
-
consecutive_passes: z.number().optional().describe(""),
|
|
13985
|
-
consecutive_fails: z.number().optional().describe(""),
|
|
13986
|
-
required: z.boolean().optional().describe(""),
|
|
13987
|
-
last_checked_at: z.unknown().optional().describe(""),
|
|
13988
|
-
issue_id: z.string(),
|
|
13989
|
-
issue_test_link_id: z.string().nullable().optional(),
|
|
13990
|
-
gate_definition_id: z.string(),
|
|
13991
|
-
gate_set_id: z.string().nullable().optional(),
|
|
13992
|
-
verified_by: z.string().nullable().optional(),
|
|
13993
|
-
waived_by: z.string().nullable().optional(),
|
|
13994
|
-
created_at: z.unknown().describe(""),
|
|
13995
|
-
updated_at: z.unknown().describe(""),
|
|
13996
|
-
epoch: z.number().describe(""),
|
|
13997
|
-
created_by: z.string().describe(""),
|
|
13998
|
-
updated_by: z.string().describe(""),
|
|
13999
|
-
workspace_id: z.string().describe(""),
|
|
14000
|
-
deleted_at: z.unknown().describe(""),
|
|
14001
|
-
deleted_by: z.string().nullable().describe("")
|
|
14002
|
-
});
|
|
14003
|
-
const zUpdateGateInstanceDto = z.object({
|
|
14004
|
-
id: z.string().optional().describe(""),
|
|
14005
|
-
status: z.string().optional().describe(""),
|
|
14006
|
-
verification_rule: z.unknown().optional().describe(""),
|
|
14007
|
-
verified_at: z.unknown().optional().describe(""),
|
|
14008
|
-
waived_reason: z.string().nullable().optional().describe(""),
|
|
14009
|
-
waived_at: z.unknown().optional().describe(""),
|
|
14010
|
-
consecutive_passes: z.number().optional().describe(""),
|
|
14011
|
-
consecutive_fails: z.number().optional().describe(""),
|
|
14012
|
-
required: z.boolean().optional().describe(""),
|
|
14013
|
-
last_checked_at: z.unknown().optional().describe(""),
|
|
14014
|
-
issue_id: z.string().optional(),
|
|
14015
|
-
issue_test_link_id: z.string().nullable().optional(),
|
|
14016
|
-
gate_definition_id: z.string().optional(),
|
|
14017
|
-
gate_set_id: z.string().nullable().optional(),
|
|
14018
|
-
verified_by: z.string().nullable().optional(),
|
|
14019
|
-
waived_by: z.string().nullable().optional()
|
|
14020
|
-
});
|
|
14021
|
-
const zGateInstanceBulkOperationDto = z.object({
|
|
14022
|
-
op: z.enum([
|
|
14023
|
-
"create",
|
|
14024
|
-
"update",
|
|
14025
|
-
"delete"
|
|
14026
|
-
]).describe(""),
|
|
14027
|
-
id: z.string().optional().describe(""),
|
|
14028
|
-
data: z.union([zCreateGateInstanceDto, zUpdateGateInstanceDto]).optional().describe(""),
|
|
14029
|
-
tx_id: z.string().describe("")
|
|
14030
|
-
});
|
|
14031
|
-
const zBulkGateInstanceRequestDto = z.object({ operations: z.array(zGateInstanceBulkOperationDto).describe("") });
|
|
14032
|
-
const zBulkGateInstanceOperationResultDto = z.object({
|
|
14033
|
-
index: z.number().describe(""),
|
|
14034
|
-
tx_id: z.string().describe(""),
|
|
14035
|
-
status: z.number().describe(""),
|
|
14036
|
-
error: z.object({
|
|
14037
|
-
message: z.string().optional(),
|
|
14038
|
-
code: z.string().optional(),
|
|
14039
|
-
details: z.unknown().optional()
|
|
14040
|
-
}).optional().describe(""),
|
|
14041
|
-
response: zResponseGateInstanceDto.optional().describe("")
|
|
14042
|
-
});
|
|
14043
|
-
const zBulkGateInstanceResponseDto = z.object({
|
|
14044
|
-
results: z.array(zBulkGateInstanceOperationResultDto).describe(""),
|
|
14045
|
-
summary: z.object({
|
|
14046
|
-
total: z.number().describe(""),
|
|
14047
|
-
successful: z.number().describe(""),
|
|
14048
|
-
failed: z.number().describe(""),
|
|
14049
|
-
savepoints_used: z.number().describe("")
|
|
14050
|
-
}).describe("")
|
|
14051
|
-
});
|
|
14052
|
-
const zGateInstanceCreateV1Data = z.object({
|
|
14053
|
-
body: zCreateGateInstanceDto,
|
|
14054
|
-
url: z.literal("/v1/gate-instance")
|
|
14055
|
-
});
|
|
14056
|
-
const zGateInstanceFindAllV1Data = z.object({
|
|
14057
|
-
query: z.object({
|
|
14058
|
-
"_with": z.string().optional(),
|
|
14059
|
-
"page": z.number().optional(),
|
|
14060
|
-
"limit": z.number().optional(),
|
|
14061
|
-
"filter.id": z.array(z.string()).optional(),
|
|
14062
|
-
"filter.status": z.array(z.string()).optional(),
|
|
14063
|
-
"filter.verified_at": z.array(z.string()).optional(),
|
|
14064
|
-
"filter.waived_reason": z.array(z.string()).optional(),
|
|
14065
|
-
"filter.waived_at": z.array(z.string()).optional(),
|
|
14066
|
-
"filter.consecutive_passes": z.array(z.string()).optional(),
|
|
14067
|
-
"filter.consecutive_fails": z.array(z.string()).optional(),
|
|
14068
|
-
"filter.required": z.array(z.string()).optional(),
|
|
14069
|
-
"filter.last_checked_at": z.array(z.string()).optional(),
|
|
14070
|
-
"filter.issue_id": z.array(z.string()).optional(),
|
|
14071
|
-
"filter.issue_test_link_id": z.array(z.string()).optional(),
|
|
14072
|
-
"filter.gate_definition_id": z.array(z.string()).optional(),
|
|
14073
|
-
"filter.gate_set_id": z.array(z.string()).optional(),
|
|
14074
|
-
"filter.verified_by": z.array(z.string()).optional(),
|
|
14075
|
-
"filter.waived_by": z.array(z.string()).optional(),
|
|
14076
|
-
"filter.created_at": z.array(z.string()).optional(),
|
|
14077
|
-
"filter.updated_at": z.array(z.string()).optional(),
|
|
14078
|
-
"filter.deleted_at": z.array(z.string()).optional(),
|
|
14079
|
-
"sortBy": z.array(z.enum([
|
|
14080
|
-
"id:ASC",
|
|
14081
|
-
"id:DESC",
|
|
14082
|
-
"status:ASC",
|
|
14083
|
-
"status:DESC",
|
|
14084
|
-
"verified_at:ASC",
|
|
14085
|
-
"verified_at:DESC",
|
|
14086
|
-
"waived_reason:ASC",
|
|
14087
|
-
"waived_reason:DESC",
|
|
14088
|
-
"waived_at:ASC",
|
|
14089
|
-
"waived_at:DESC",
|
|
14090
|
-
"consecutive_passes:ASC",
|
|
14091
|
-
"consecutive_passes:DESC",
|
|
14092
|
-
"consecutive_fails:ASC",
|
|
14093
|
-
"consecutive_fails:DESC",
|
|
14094
|
-
"last_checked_at:ASC",
|
|
14095
|
-
"last_checked_at:DESC",
|
|
14096
|
-
"issue_test_link_id:ASC",
|
|
14097
|
-
"issue_test_link_id:DESC",
|
|
14098
|
-
"gate_set_id:ASC",
|
|
14099
|
-
"gate_set_id:DESC",
|
|
14100
|
-
"verified_by:ASC",
|
|
14101
|
-
"verified_by:DESC",
|
|
14102
|
-
"waived_by:ASC",
|
|
14103
|
-
"waived_by:DESC",
|
|
14104
|
-
"created_at:ASC",
|
|
14105
|
-
"created_at:DESC",
|
|
14106
|
-
"updated_at:ASC",
|
|
14107
|
-
"updated_at:DESC",
|
|
14108
|
-
"deleted_at:ASC",
|
|
14109
|
-
"deleted_at:DESC"
|
|
14110
|
-
])).optional(),
|
|
14111
|
-
"search": z.string().optional(),
|
|
14112
|
-
"searchBy": z.array(z.string()).optional()
|
|
14113
|
-
}).optional(),
|
|
14114
|
-
url: z.literal("/v1/gate-instance")
|
|
14115
|
-
});
|
|
14116
|
-
const zGateInstanceFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/gate-instance/recently-deleted") });
|
|
14117
|
-
const zGateInstanceFindOneV1Data = z.object({
|
|
14118
|
-
path: z.object({ "id": z.string() }),
|
|
14119
|
-
url: z.literal("/v1/gate-instance/{id}")
|
|
14120
|
-
});
|
|
14121
|
-
const zGateInstanceUpdateV1Data = z.object({
|
|
14122
|
-
body: zUpdateGateInstanceDto,
|
|
14123
|
-
path: z.object({ "id": z.string() }),
|
|
14124
|
-
url: z.literal("/v1/gate-instance/{id}")
|
|
14125
|
-
});
|
|
14126
|
-
const zGateInstanceRemoveV1Data = z.object({
|
|
14127
|
-
path: z.object({ "id": z.string() }),
|
|
14128
|
-
url: z.literal("/v1/gate-instance/{id}")
|
|
14129
|
-
});
|
|
14130
|
-
const zGateInstanceBulkOperationV1Data = z.object({
|
|
14131
|
-
body: zBulkGateInstanceRequestDto,
|
|
14132
|
-
url: z.literal("/v1/gate-instance/bulk")
|
|
14133
|
-
});
|
|
14134
|
-
const zGateInstanceRestoreV1Data = z.object({
|
|
14135
|
-
path: z.object({ "id": z.string() }),
|
|
14136
|
-
url: z.literal("/v1/gate-instance/{id}/restore")
|
|
14137
|
-
});
|
|
14138
|
-
|
|
14139
|
-
//#endregion
|
|
14140
|
-
//#region ../sdk/dist/gen/gate-result/zod.js
|
|
14141
|
-
const zCreateGateResultDto = z.object({
|
|
14142
|
-
id: z.string().optional().describe(""),
|
|
14143
|
-
status: z.string().describe(""),
|
|
14144
|
-
output: z.string().nullable().optional().describe(""),
|
|
14145
|
-
duration_ms: z.number().nullable().optional().describe(""),
|
|
14146
|
-
context: z.unknown().optional().describe(""),
|
|
14147
|
-
gate_instance_id: z.string(),
|
|
14148
|
-
verified_by: z.string().nullable().optional()
|
|
14149
|
-
});
|
|
14150
|
-
const zResponseGateResultDto = z.object({
|
|
14151
|
-
id: z.string().describe(""),
|
|
14152
|
-
status: z.string().describe(""),
|
|
14153
|
-
output: z.string().nullable().optional().describe(""),
|
|
14154
|
-
duration_ms: z.number().nullable().optional().describe(""),
|
|
14155
|
-
context: z.unknown().optional().describe(""),
|
|
14156
|
-
gate_instance_id: z.string(),
|
|
14157
|
-
verified_by: z.string().nullable().optional(),
|
|
14158
|
-
created_at: z.unknown().describe(""),
|
|
14159
|
-
updated_at: z.unknown().describe(""),
|
|
14160
|
-
epoch: z.number().describe(""),
|
|
14161
|
-
created_by: z.string().describe(""),
|
|
14162
|
-
updated_by: z.string().describe(""),
|
|
14163
|
-
workspace_id: z.string().describe("")
|
|
14164
|
-
});
|
|
14165
|
-
const zUpdateGateResultDto = z.object({
|
|
14166
|
-
id: z.string().optional().describe(""),
|
|
14167
|
-
status: z.string().optional().describe(""),
|
|
14168
|
-
output: z.string().nullable().optional().describe(""),
|
|
14169
|
-
duration_ms: z.number().nullable().optional().describe(""),
|
|
14170
|
-
context: z.unknown().optional().describe(""),
|
|
14171
|
-
gate_instance_id: z.string().optional(),
|
|
14172
|
-
verified_by: z.string().nullable().optional()
|
|
14173
|
-
});
|
|
14174
|
-
const zGateResultBulkOperationDto = z.object({
|
|
14175
|
-
op: z.enum([
|
|
14176
|
-
"create",
|
|
14177
|
-
"update",
|
|
14178
|
-
"delete"
|
|
14179
|
-
]).describe(""),
|
|
14180
|
-
id: z.string().optional().describe(""),
|
|
14181
|
-
data: z.union([zCreateGateResultDto, zUpdateGateResultDto]).optional().describe(""),
|
|
14182
|
-
tx_id: z.string().describe("")
|
|
14183
|
-
});
|
|
14184
|
-
const zBulkGateResultRequestDto = z.object({ operations: z.array(zGateResultBulkOperationDto).describe("") });
|
|
14185
|
-
const zBulkGateResultOperationResultDto = z.object({
|
|
14186
|
-
index: z.number().describe(""),
|
|
14187
|
-
tx_id: z.string().describe(""),
|
|
14188
|
-
status: z.number().describe(""),
|
|
14189
|
-
error: z.object({
|
|
14190
|
-
message: z.string().optional(),
|
|
14191
|
-
code: z.string().optional(),
|
|
14192
|
-
details: z.unknown().optional()
|
|
14193
|
-
}).optional().describe(""),
|
|
14194
|
-
response: zResponseGateResultDto.optional().describe("")
|
|
14195
|
-
});
|
|
14196
|
-
const zBulkGateResultResponseDto = z.object({
|
|
14197
|
-
results: z.array(zBulkGateResultOperationResultDto).describe(""),
|
|
14198
|
-
summary: z.object({
|
|
14199
|
-
total: z.number().describe(""),
|
|
14200
|
-
successful: z.number().describe(""),
|
|
14201
|
-
failed: z.number().describe(""),
|
|
14202
|
-
savepoints_used: z.number().describe("")
|
|
14203
|
-
}).describe("")
|
|
14204
|
-
});
|
|
14205
|
-
const zGateResultCreateV1Data = z.object({
|
|
14206
|
-
body: zCreateGateResultDto,
|
|
14207
|
-
url: z.literal("/v1/gate-result")
|
|
14208
|
-
});
|
|
14209
|
-
const zGateResultFindAllV1Data = z.object({
|
|
14210
|
-
query: z.object({
|
|
14211
|
-
"_with": z.string().optional(),
|
|
14212
|
-
"page": z.number().optional(),
|
|
14213
|
-
"limit": z.number().optional(),
|
|
14214
|
-
"filter.id": z.array(z.string()).optional(),
|
|
14215
|
-
"filter.status": z.array(z.string()).optional(),
|
|
14216
|
-
"filter.output": z.array(z.string()).optional(),
|
|
14217
|
-
"filter.duration_ms": z.array(z.string()).optional(),
|
|
14218
|
-
"filter.gate_instance_id": z.array(z.string()).optional(),
|
|
14219
|
-
"filter.verified_by": z.array(z.string()).optional(),
|
|
14220
|
-
"filter.created_at": z.array(z.string()).optional(),
|
|
14221
|
-
"filter.updated_at": z.array(z.string()).optional(),
|
|
14222
|
-
"sortBy": z.array(z.enum([
|
|
14223
|
-
"id:ASC",
|
|
14224
|
-
"id:DESC",
|
|
14225
|
-
"status:ASC",
|
|
14226
|
-
"status:DESC",
|
|
14227
|
-
"output:ASC",
|
|
14228
|
-
"output:DESC",
|
|
14229
|
-
"duration_ms:ASC",
|
|
14230
|
-
"duration_ms:DESC",
|
|
14231
|
-
"verified_by:ASC",
|
|
14232
|
-
"verified_by:DESC",
|
|
14233
|
-
"created_at:ASC",
|
|
14234
|
-
"created_at:DESC",
|
|
14235
|
-
"updated_at:ASC",
|
|
14236
|
-
"updated_at:DESC"
|
|
14237
|
-
])).optional(),
|
|
14238
|
-
"search": z.string().optional(),
|
|
14239
|
-
"searchBy": z.array(z.string()).optional()
|
|
14240
|
-
}).optional(),
|
|
14241
|
-
url: z.literal("/v1/gate-result")
|
|
14242
|
-
});
|
|
14243
|
-
const zGateResultFindOneV1Data = z.object({
|
|
14244
|
-
path: z.object({ "id": z.string() }),
|
|
14245
|
-
url: z.literal("/v1/gate-result/{id}")
|
|
14246
|
-
});
|
|
14247
|
-
const zGateResultUpdateV1Data = z.object({
|
|
14248
|
-
body: zUpdateGateResultDto,
|
|
14249
|
-
path: z.object({ "id": z.string() }),
|
|
14250
|
-
url: z.literal("/v1/gate-result/{id}")
|
|
14251
|
-
});
|
|
14252
|
-
const zGateResultBulkOperationV1Data = z.object({
|
|
14253
|
-
body: zBulkGateResultRequestDto,
|
|
14254
|
-
url: z.literal("/v1/gate-result/bulk")
|
|
14255
|
-
});
|
|
14256
|
-
|
|
14257
13957
|
//#endregion
|
|
14258
13958
|
//#region ../sdk/dist/gen/gate-set/zod.js
|
|
14259
13959
|
const zCreateGateSetDto = z.object({
|
|
@@ -14382,14 +14082,12 @@ const zGateSetRestoreV1Data = z.object({
|
|
|
14382
14082
|
const zCreateGateSetDefinitionDto = z.object({
|
|
14383
14083
|
id: z.string().optional().describe(""),
|
|
14384
14084
|
sort_order: z.number().optional().describe(""),
|
|
14385
|
-
override_verification_rule: z.unknown().optional().describe(""),
|
|
14386
14085
|
gate_set_id: z.string(),
|
|
14387
14086
|
gate_definition_id: z.string()
|
|
14388
14087
|
});
|
|
14389
14088
|
const zResponseGateSetDefinitionDto = z.object({
|
|
14390
14089
|
id: z.string().describe(""),
|
|
14391
14090
|
sort_order: z.number().optional().describe(""),
|
|
14392
|
-
override_verification_rule: z.unknown().optional().describe(""),
|
|
14393
14091
|
gate_set_id: z.string(),
|
|
14394
14092
|
gate_definition_id: z.string(),
|
|
14395
14093
|
created_at: z.unknown().describe(""),
|
|
@@ -14404,7 +14102,6 @@ const zResponseGateSetDefinitionDto = z.object({
|
|
|
14404
14102
|
const zUpdateGateSetDefinitionDto = z.object({
|
|
14405
14103
|
id: z.string().optional().describe(""),
|
|
14406
14104
|
sort_order: z.number().optional().describe(""),
|
|
14407
|
-
override_verification_rule: z.unknown().optional().describe(""),
|
|
14408
14105
|
gate_set_id: z.string().optional(),
|
|
14409
14106
|
gate_definition_id: z.string().optional()
|
|
14410
14107
|
});
|
|
@@ -17176,7 +16873,6 @@ const zResponseIssueTestLinkDto = z.object({
|
|
|
17176
16873
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
17177
16874
|
latest_run_result_id: z.string().nullable().optional().describe(""),
|
|
17178
16875
|
verified_at: z.unknown().optional().describe(""),
|
|
17179
|
-
gate_slot: z.string().nullable().optional().describe(""),
|
|
17180
16876
|
gate_content_hash: z.string().nullable().optional().describe(""),
|
|
17181
16877
|
gate_drifted: z.boolean().nullable().optional().describe(""),
|
|
17182
16878
|
required: z.boolean().optional().describe(""),
|
|
@@ -17278,7 +16974,6 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17278
16974
|
"filter.origin_run_result_id": z.array(z.string()).optional(),
|
|
17279
16975
|
"filter.latest_run_result_id": z.array(z.string()).optional(),
|
|
17280
16976
|
"filter.verified_at": z.array(z.string()).optional(),
|
|
17281
|
-
"filter.gate_slot": z.array(z.string()).optional(),
|
|
17282
16977
|
"filter.gate_content_hash": z.array(z.string()).optional(),
|
|
17283
16978
|
"filter.gate_drifted": z.array(z.string()).optional(),
|
|
17284
16979
|
"filter.required": z.array(z.string()).optional(),
|
|
@@ -17316,8 +17011,6 @@ const zIssueTestLinkFindAllV1Data = z.object({
|
|
|
17316
17011
|
"verified_by:DESC",
|
|
17317
17012
|
"verified_at:ASC",
|
|
17318
17013
|
"verified_at:DESC",
|
|
17319
|
-
"gate_slot:ASC",
|
|
17320
|
-
"gate_slot:DESC",
|
|
17321
17014
|
"gate_content_hash:ASC",
|
|
17322
17015
|
"gate_content_hash:DESC",
|
|
17323
17016
|
"advisory_reason: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-Bb_vGIsY.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-Bb_vGIsY.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|