@levr-one/cli 0.8.1 → 0.9.0
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-0J_ITnPt.js → importHandler-Uo_loZAU.js} +4 -4
- package/dist/{listHandler-D2zTOxvd.js → listHandler-Bjchx7d2.js} +1 -1
- package/dist/{loginHandler-BlVzcygL.js → loginHandler-Ct1N7Elo.js} +2 -2
- package/dist/{pushHandler-B-0ByKRt.js → pushHandler-7CSPDo-o.js} +2 -2
- package/dist/{resolve-workspace-CQOjUoZ1.js → resolve-workspace-BquQJznu.js} +1 -1
- package/dist/{sdk-client-DHQhZyKU.js → sdk-client-B8v6bgC4.js} +201 -26
- package/dist/{selectHandler-QFbn-SLF.js → selectHandler-BHZw9hjM.js} +1 -1
- package/dist/{statusHandler-tGF4pMHI.js → statusHandler-DYKfY0j1.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-Ct1N7Elo.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-DYKfY0j1.js");
|
|
256
256
|
return statusHandler;
|
|
257
257
|
}
|
|
258
258
|
});
|
|
@@ -364,7 +364,7 @@ Examples:
|
|
|
364
364
|
}
|
|
365
365
|
},
|
|
366
366
|
loader: async () => {
|
|
367
|
-
const { pushHandler } = await import("./pushHandler-
|
|
367
|
+
const { pushHandler } = await import("./pushHandler-7CSPDo-o.js");
|
|
368
368
|
return pushHandler;
|
|
369
369
|
}
|
|
370
370
|
});
|
|
@@ -484,7 +484,7 @@ Examples:
|
|
|
484
484
|
}
|
|
485
485
|
},
|
|
486
486
|
loader: async () => {
|
|
487
|
-
const { importHandler } = await import("./importHandler-
|
|
487
|
+
const { importHandler } = await import("./importHandler-Uo_loZAU.js");
|
|
488
488
|
return importHandler;
|
|
489
489
|
}
|
|
490
490
|
});
|
|
@@ -505,7 +505,7 @@ Examples:
|
|
|
505
505
|
},
|
|
506
506
|
parameters: {},
|
|
507
507
|
loader: async () => {
|
|
508
|
-
const { listHandler } = await import("./listHandler-
|
|
508
|
+
const { listHandler } = await import("./listHandler-Bjchx7d2.js");
|
|
509
509
|
return listHandler;
|
|
510
510
|
}
|
|
511
511
|
});
|
|
@@ -538,7 +538,7 @@ Examples:
|
|
|
538
538
|
flags: {}
|
|
539
539
|
},
|
|
540
540
|
loader: async () => {
|
|
541
|
-
const { selectHandler } = await import("./selectHandler-
|
|
541
|
+
const { selectHandler } = await import("./selectHandler-BHZw9hjM.js");
|
|
542
542
|
return selectHandler;
|
|
543
543
|
}
|
|
544
544
|
});
|
|
@@ -562,7 +562,7 @@ Examples:
|
|
|
562
562
|
|
|
563
563
|
//#endregion
|
|
564
564
|
//#region package.json
|
|
565
|
-
var version = "0.
|
|
565
|
+
var version = "0.9.0";
|
|
566
566
|
|
|
567
567
|
//#endregion
|
|
568
568
|
//#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-B8v6bgC4.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-BquQJznu.js";
|
|
5
5
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
6
6
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -180,12 +180,12 @@ const IMPORT_TARGET_LIST = [
|
|
|
180
180
|
"folder_name",
|
|
181
181
|
"test_name",
|
|
182
182
|
"test_description",
|
|
183
|
-
"
|
|
183
|
+
"automation_status",
|
|
184
|
+
"automation_type",
|
|
184
185
|
"case_type_id",
|
|
185
186
|
"case_type_name",
|
|
186
187
|
"test_priority",
|
|
187
188
|
"estimate",
|
|
188
|
-
"is_automated",
|
|
189
189
|
"assignee_email",
|
|
190
190
|
"labels",
|
|
191
191
|
"teams",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-B8v6bgC4.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-B8v6bgC4.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-BquQJznu.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-B8v6bgC4.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-BquQJznu.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";
|
|
@@ -11606,13 +11606,11 @@ const zGenerateIssueDraftResponseDto = z.object({
|
|
|
11606
11606
|
});
|
|
11607
11607
|
const zPromoteItemToTestDto = z.object({
|
|
11608
11608
|
name: z.string().optional().describe(""),
|
|
11609
|
-
|
|
11609
|
+
automation_type: z.enum([
|
|
11610
11610
|
"manual",
|
|
11611
|
-
"
|
|
11612
|
-
"
|
|
11613
|
-
"
|
|
11614
|
-
"generic_automation",
|
|
11615
|
-
"yaml"
|
|
11611
|
+
"check",
|
|
11612
|
+
"automated",
|
|
11613
|
+
"agentic"
|
|
11616
11614
|
]).optional().describe(""),
|
|
11617
11615
|
folder_id: z.string().nullable().optional().describe(""),
|
|
11618
11616
|
description: z.string().optional().describe(""),
|
|
@@ -13115,6 +13113,8 @@ const zFolderWithChildrenDto = z.object({
|
|
|
13115
13113
|
sequence: z.string(),
|
|
13116
13114
|
labels: z.array(z.string()),
|
|
13117
13115
|
is_automated: z.boolean(),
|
|
13116
|
+
automation_status: z.string(),
|
|
13117
|
+
automation_type: z.string(),
|
|
13118
13118
|
priority: z.number(),
|
|
13119
13119
|
created_at: z.unknown(),
|
|
13120
13120
|
updated_at: z.unknown(),
|
|
@@ -13141,7 +13141,7 @@ const zFolderWithChildrenDto = z.object({
|
|
|
13141
13141
|
sequence: z.string(),
|
|
13142
13142
|
labels: z.array(z.string()),
|
|
13143
13143
|
key: z.number(),
|
|
13144
|
-
|
|
13144
|
+
ingestion_method: z.string(),
|
|
13145
13145
|
triggered_by: z.string(),
|
|
13146
13146
|
status_type: z.enum([
|
|
13147
13147
|
"Unstarted",
|
|
@@ -13155,7 +13155,6 @@ const zFolderWithChildrenDto = z.object({
|
|
|
13155
13155
|
unstarted_count: z.number(),
|
|
13156
13156
|
cancelled_count: z.number(),
|
|
13157
13157
|
is_complete: z.boolean(),
|
|
13158
|
-
is_automated: z.boolean(),
|
|
13159
13158
|
started_at: z.unknown(),
|
|
13160
13159
|
ended_at: z.unknown(),
|
|
13161
13160
|
total_duration_ms: z.number().nullable(),
|
|
@@ -13195,6 +13194,8 @@ const zRootLevelResponseDto = z.object({
|
|
|
13195
13194
|
sequence: z.string(),
|
|
13196
13195
|
labels: z.array(z.string()),
|
|
13197
13196
|
is_automated: z.boolean(),
|
|
13197
|
+
automation_status: z.string(),
|
|
13198
|
+
automation_type: z.string(),
|
|
13198
13199
|
priority: z.number(),
|
|
13199
13200
|
created_at: z.unknown(),
|
|
13200
13201
|
updated_at: z.unknown(),
|
|
@@ -13220,7 +13221,7 @@ const zRootLevelResponseDto = z.object({
|
|
|
13220
13221
|
sequence: z.string(),
|
|
13221
13222
|
labels: z.array(z.string()),
|
|
13222
13223
|
key: z.number(),
|
|
13223
|
-
|
|
13224
|
+
ingestion_method: z.string(),
|
|
13224
13225
|
triggered_by: z.string(),
|
|
13225
13226
|
status_type: z.enum([
|
|
13226
13227
|
"Unstarted",
|
|
@@ -13234,7 +13235,6 @@ const zRootLevelResponseDto = z.object({
|
|
|
13234
13235
|
unstarted_count: z.number(),
|
|
13235
13236
|
cancelled_count: z.number(),
|
|
13236
13237
|
is_complete: z.boolean(),
|
|
13237
|
-
is_automated: z.boolean(),
|
|
13238
13238
|
started_at: z.unknown(),
|
|
13239
13239
|
ended_at: z.unknown(),
|
|
13240
13240
|
total_duration_ms: z.number().nullable(),
|
|
@@ -13294,6 +13294,8 @@ const zFolderChildrenResponseDto = z.object({
|
|
|
13294
13294
|
sequence: z.string(),
|
|
13295
13295
|
labels: z.array(z.string()),
|
|
13296
13296
|
is_automated: z.boolean(),
|
|
13297
|
+
automation_status: z.string(),
|
|
13298
|
+
automation_type: z.string(),
|
|
13297
13299
|
priority: z.number(),
|
|
13298
13300
|
created_at: z.unknown(),
|
|
13299
13301
|
updated_at: z.unknown(),
|
|
@@ -13320,7 +13322,7 @@ const zFolderChildrenResponseDto = z.object({
|
|
|
13320
13322
|
sequence: z.string(),
|
|
13321
13323
|
labels: z.array(z.string()),
|
|
13322
13324
|
key: z.number(),
|
|
13323
|
-
|
|
13325
|
+
ingestion_method: z.string(),
|
|
13324
13326
|
triggered_by: z.string(),
|
|
13325
13327
|
status_type: z.enum([
|
|
13326
13328
|
"Unstarted",
|
|
@@ -13334,7 +13336,6 @@ const zFolderChildrenResponseDto = z.object({
|
|
|
13334
13336
|
unstarted_count: z.number(),
|
|
13335
13337
|
cancelled_count: z.number(),
|
|
13336
13338
|
is_complete: z.boolean(),
|
|
13337
|
-
is_automated: z.boolean(),
|
|
13338
13339
|
started_at: z.unknown(),
|
|
13339
13340
|
ended_at: z.unknown(),
|
|
13340
13341
|
total_duration_ms: z.number().nullable(),
|
|
@@ -17556,6 +17557,148 @@ const zJiraListInstallationProjectsV1Data = z.object({
|
|
|
17556
17557
|
url: z.literal("/v1/jira/installations/{id}/projects")
|
|
17557
17558
|
});
|
|
17558
17559
|
|
|
17560
|
+
//#endregion
|
|
17561
|
+
//#region ../sdk/dist/gen/jira-issue-sync-config/zod.js
|
|
17562
|
+
const zCreateJiraIssueSyncConfigDto = z.object({
|
|
17563
|
+
id: z.string().optional().describe(""),
|
|
17564
|
+
sync_direction: z.string().nullable().optional().describe(""),
|
|
17565
|
+
issue_sync_enabled: z.boolean().optional().describe(""),
|
|
17566
|
+
pull_filter: z.unknown().optional().describe(""),
|
|
17567
|
+
push_exclude_type_ids: z.string().nullable().optional().describe(""),
|
|
17568
|
+
inbound_type_label_id: z.string().nullable().optional().describe(""),
|
|
17569
|
+
sync_labels: z.boolean().optional().describe(""),
|
|
17570
|
+
sync_status: z.boolean().optional().describe(""),
|
|
17571
|
+
sync_comments: z.boolean().optional().describe(""),
|
|
17572
|
+
jira_project_id: z.string()
|
|
17573
|
+
});
|
|
17574
|
+
const zResponseJiraIssueSyncConfigDto = z.object({
|
|
17575
|
+
id: z.string().describe(""),
|
|
17576
|
+
sync_direction: z.string().nullable().optional().describe(""),
|
|
17577
|
+
issue_sync_enabled: z.boolean().optional().describe(""),
|
|
17578
|
+
pull_filter: z.unknown().optional().describe(""),
|
|
17579
|
+
push_exclude_type_ids: z.string().nullable().optional().describe(""),
|
|
17580
|
+
inbound_type_label_id: z.string().nullable().optional().describe(""),
|
|
17581
|
+
sync_labels: z.boolean().optional().describe(""),
|
|
17582
|
+
sync_status: z.boolean().optional().describe(""),
|
|
17583
|
+
sync_comments: z.boolean().optional().describe(""),
|
|
17584
|
+
jira_project_id: z.string(),
|
|
17585
|
+
created_at: z.unknown().describe(""),
|
|
17586
|
+
updated_at: z.unknown().describe(""),
|
|
17587
|
+
epoch: z.number().describe(""),
|
|
17588
|
+
created_by: z.string().describe(""),
|
|
17589
|
+
updated_by: z.string().describe(""),
|
|
17590
|
+
workspace_id: z.string().describe(""),
|
|
17591
|
+
deleted_at: z.unknown().describe(""),
|
|
17592
|
+
deleted_by: z.string().nullable().describe("")
|
|
17593
|
+
});
|
|
17594
|
+
const zUpdateJiraIssueSyncConfigDto = z.object({
|
|
17595
|
+
id: z.string().optional().describe(""),
|
|
17596
|
+
sync_direction: z.string().nullable().optional().describe(""),
|
|
17597
|
+
issue_sync_enabled: z.boolean().optional().describe(""),
|
|
17598
|
+
pull_filter: z.unknown().optional().describe(""),
|
|
17599
|
+
push_exclude_type_ids: z.string().nullable().optional().describe(""),
|
|
17600
|
+
inbound_type_label_id: z.string().nullable().optional().describe(""),
|
|
17601
|
+
sync_labels: z.boolean().optional().describe(""),
|
|
17602
|
+
sync_status: z.boolean().optional().describe(""),
|
|
17603
|
+
sync_comments: z.boolean().optional().describe(""),
|
|
17604
|
+
jira_project_id: z.string().optional()
|
|
17605
|
+
});
|
|
17606
|
+
const zJiraIssueSyncConfigBulkOperationDto = z.object({
|
|
17607
|
+
op: z.enum([
|
|
17608
|
+
"create",
|
|
17609
|
+
"update",
|
|
17610
|
+
"delete"
|
|
17611
|
+
]).describe(""),
|
|
17612
|
+
id: z.string().optional().describe(""),
|
|
17613
|
+
data: z.union([zCreateJiraIssueSyncConfigDto, zUpdateJiraIssueSyncConfigDto]).optional().describe(""),
|
|
17614
|
+
tx_id: z.string().describe("")
|
|
17615
|
+
});
|
|
17616
|
+
const zBulkJiraIssueSyncConfigRequestDto = z.object({ operations: z.array(zJiraIssueSyncConfigBulkOperationDto).describe("") });
|
|
17617
|
+
const zBulkJiraIssueSyncConfigOperationResultDto = z.object({
|
|
17618
|
+
index: z.number().describe(""),
|
|
17619
|
+
tx_id: z.string().describe(""),
|
|
17620
|
+
status: z.number().describe(""),
|
|
17621
|
+
error: z.object({
|
|
17622
|
+
message: z.string().optional(),
|
|
17623
|
+
code: z.string().optional(),
|
|
17624
|
+
details: z.unknown().optional()
|
|
17625
|
+
}).optional().describe(""),
|
|
17626
|
+
response: zResponseJiraIssueSyncConfigDto.optional().describe("")
|
|
17627
|
+
});
|
|
17628
|
+
const zBulkJiraIssueSyncConfigResponseDto = z.object({
|
|
17629
|
+
results: z.array(zBulkJiraIssueSyncConfigOperationResultDto).describe(""),
|
|
17630
|
+
summary: z.object({
|
|
17631
|
+
total: z.number().describe(""),
|
|
17632
|
+
successful: z.number().describe(""),
|
|
17633
|
+
failed: z.number().describe(""),
|
|
17634
|
+
savepoints_used: z.number().describe("")
|
|
17635
|
+
}).describe("")
|
|
17636
|
+
});
|
|
17637
|
+
const zJiraIssueSyncConfigCreateV1Data = z.object({
|
|
17638
|
+
body: zCreateJiraIssueSyncConfigDto,
|
|
17639
|
+
url: z.literal("/v1/jira-issue-sync-config")
|
|
17640
|
+
});
|
|
17641
|
+
const zJiraIssueSyncConfigFindAllV1Data = z.object({
|
|
17642
|
+
query: z.object({
|
|
17643
|
+
"_with": z.string().optional(),
|
|
17644
|
+
"page": z.number().optional(),
|
|
17645
|
+
"limit": z.number().optional(),
|
|
17646
|
+
"filter.id": z.array(z.string()).optional(),
|
|
17647
|
+
"filter.sync_direction": z.array(z.string()).optional(),
|
|
17648
|
+
"filter.issue_sync_enabled": z.array(z.string()).optional(),
|
|
17649
|
+
"filter.push_exclude_type_ids": z.array(z.string()).optional(),
|
|
17650
|
+
"filter.inbound_type_label_id": z.array(z.string()).optional(),
|
|
17651
|
+
"filter.sync_labels": z.array(z.string()).optional(),
|
|
17652
|
+
"filter.sync_status": z.array(z.string()).optional(),
|
|
17653
|
+
"filter.sync_comments": z.array(z.string()).optional(),
|
|
17654
|
+
"filter.jira_project_id": z.array(z.string()).optional(),
|
|
17655
|
+
"filter.created_at": z.array(z.string()).optional(),
|
|
17656
|
+
"filter.updated_at": z.array(z.string()).optional(),
|
|
17657
|
+
"filter.deleted_at": z.array(z.string()).optional(),
|
|
17658
|
+
"sortBy": z.array(z.enum([
|
|
17659
|
+
"id:ASC",
|
|
17660
|
+
"id:DESC",
|
|
17661
|
+
"sync_direction:ASC",
|
|
17662
|
+
"sync_direction:DESC",
|
|
17663
|
+
"push_exclude_type_ids:ASC",
|
|
17664
|
+
"push_exclude_type_ids:DESC",
|
|
17665
|
+
"inbound_type_label_id:ASC",
|
|
17666
|
+
"inbound_type_label_id:DESC",
|
|
17667
|
+
"created_at:ASC",
|
|
17668
|
+
"created_at:DESC",
|
|
17669
|
+
"updated_at:ASC",
|
|
17670
|
+
"updated_at:DESC",
|
|
17671
|
+
"deleted_at:ASC",
|
|
17672
|
+
"deleted_at:DESC"
|
|
17673
|
+
])).optional(),
|
|
17674
|
+
"search": z.string().optional(),
|
|
17675
|
+
"searchBy": z.array(z.string()).optional()
|
|
17676
|
+
}).optional(),
|
|
17677
|
+
url: z.literal("/v1/jira-issue-sync-config")
|
|
17678
|
+
});
|
|
17679
|
+
const zJiraIssueSyncConfigFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/jira-issue-sync-config/recently-deleted") });
|
|
17680
|
+
const zJiraIssueSyncConfigFindOneV1Data = z.object({
|
|
17681
|
+
path: z.object({ "id": z.string() }),
|
|
17682
|
+
url: z.literal("/v1/jira-issue-sync-config/{id}")
|
|
17683
|
+
});
|
|
17684
|
+
const zJiraIssueSyncConfigUpdateV1Data = z.object({
|
|
17685
|
+
body: zUpdateJiraIssueSyncConfigDto,
|
|
17686
|
+
path: z.object({ "id": z.string() }),
|
|
17687
|
+
url: z.literal("/v1/jira-issue-sync-config/{id}")
|
|
17688
|
+
});
|
|
17689
|
+
const zJiraIssueSyncConfigRemoveV1Data = z.object({
|
|
17690
|
+
path: z.object({ "id": z.string() }),
|
|
17691
|
+
url: z.literal("/v1/jira-issue-sync-config/{id}")
|
|
17692
|
+
});
|
|
17693
|
+
const zJiraIssueSyncConfigBulkOperationV1Data = z.object({
|
|
17694
|
+
body: zBulkJiraIssueSyncConfigRequestDto,
|
|
17695
|
+
url: z.literal("/v1/jira-issue-sync-config/bulk")
|
|
17696
|
+
});
|
|
17697
|
+
const zJiraIssueSyncConfigRestoreV1Data = z.object({
|
|
17698
|
+
path: z.object({ "id": z.string() }),
|
|
17699
|
+
url: z.literal("/v1/jira-issue-sync-config/{id}/restore")
|
|
17700
|
+
});
|
|
17701
|
+
|
|
17559
17702
|
//#endregion
|
|
17560
17703
|
//#region ../sdk/dist/gen/jira-project-team/zod.js
|
|
17561
17704
|
const zCreateJiraProjectTeamDto = z.object({
|
|
@@ -24524,7 +24667,7 @@ const zRunApiFindAllV1Data = z.object({
|
|
|
24524
24667
|
"filter.id": z.array(z.string()).optional(),
|
|
24525
24668
|
"filter.name": z.array(z.string()).optional(),
|
|
24526
24669
|
"filter.is_complete": z.array(z.string()).optional(),
|
|
24527
|
-
"filter.
|
|
24670
|
+
"filter.ingestion_method": z.array(z.string()).optional(),
|
|
24528
24671
|
"filter.status_type": z.array(z.string()).optional(),
|
|
24529
24672
|
"filter.project_id": z.array(z.string()).optional(),
|
|
24530
24673
|
"filter.team_id": z.array(z.string()).optional(),
|
|
@@ -27951,6 +28094,17 @@ const zTestResponseDto = z.object({
|
|
|
27951
28094
|
"yaml"
|
|
27952
28095
|
]).nullable().optional().describe(""),
|
|
27953
28096
|
to_automate: z.boolean().optional().describe(""),
|
|
28097
|
+
automation_status: z.enum([
|
|
28098
|
+
"not_automated",
|
|
28099
|
+
"to_automate",
|
|
28100
|
+
"automated"
|
|
28101
|
+
]).optional().describe(""),
|
|
28102
|
+
automation_type: z.enum([
|
|
28103
|
+
"manual",
|
|
28104
|
+
"check",
|
|
28105
|
+
"automated",
|
|
28106
|
+
"agentic"
|
|
28107
|
+
]).optional().describe(""),
|
|
27954
28108
|
origin: z.string().optional().describe(""),
|
|
27955
28109
|
origin_detail: z.string().nullable().optional().describe(""),
|
|
27956
28110
|
origin_model: z.string().nullable().optional().describe(""),
|
|
@@ -28023,6 +28177,17 @@ const zCreateTestDto = z.object({
|
|
|
28023
28177
|
"yaml"
|
|
28024
28178
|
]).nullable().optional().describe(""),
|
|
28025
28179
|
to_automate: z.boolean().optional().describe(""),
|
|
28180
|
+
automation_status: z.enum([
|
|
28181
|
+
"not_automated",
|
|
28182
|
+
"to_automate",
|
|
28183
|
+
"automated"
|
|
28184
|
+
]).optional().describe(""),
|
|
28185
|
+
automation_type: z.enum([
|
|
28186
|
+
"manual",
|
|
28187
|
+
"check",
|
|
28188
|
+
"automated",
|
|
28189
|
+
"agentic"
|
|
28190
|
+
]).optional().describe(""),
|
|
28026
28191
|
origin: z.string().optional().describe(""),
|
|
28027
28192
|
origin_detail: z.string().nullable().optional().describe(""),
|
|
28028
28193
|
case_type_id: z.string().nullable().optional().describe(""),
|
|
@@ -28043,6 +28208,17 @@ const zCreateTestDto = z.object({
|
|
|
28043
28208
|
});
|
|
28044
28209
|
const zUpdateTestDto = z.object({
|
|
28045
28210
|
name: z.string().optional(),
|
|
28211
|
+
automation_status: z.enum([
|
|
28212
|
+
"not_automated",
|
|
28213
|
+
"to_automate",
|
|
28214
|
+
"automated"
|
|
28215
|
+
]).optional(),
|
|
28216
|
+
automation_type: z.enum([
|
|
28217
|
+
"manual",
|
|
28218
|
+
"check",
|
|
28219
|
+
"automated",
|
|
28220
|
+
"agentic"
|
|
28221
|
+
]).optional(),
|
|
28046
28222
|
is_automated: z.boolean().optional(),
|
|
28047
28223
|
to_automate: z.boolean().optional(),
|
|
28048
28224
|
state_mask: z.number().optional(),
|
|
@@ -28145,10 +28321,9 @@ const zTestFindAllV1Data = z.object({
|
|
|
28145
28321
|
"filter.key": z.array(z.string()).optional(),
|
|
28146
28322
|
"filter.name": z.array(z.string()).optional(),
|
|
28147
28323
|
"filter.priority": z.array(z.string()).optional(),
|
|
28148
|
-
"filter.test_type": z.array(z.string()).optional(),
|
|
28149
28324
|
"filter.case_type_id": z.array(z.string()).optional(),
|
|
28150
|
-
"filter.
|
|
28151
|
-
"filter.
|
|
28325
|
+
"filter.automation_status": z.array(z.string()).optional(),
|
|
28326
|
+
"filter.automation_type": z.array(z.string()).optional(),
|
|
28152
28327
|
"filter.state_mask": z.array(z.string()).optional(),
|
|
28153
28328
|
"filter.assignee_id": z.array(z.string()).optional(),
|
|
28154
28329
|
"filter.created_at": z.array(z.string()).optional(),
|
|
@@ -28173,10 +28348,10 @@ const zTestFindAllV1Data = z.object({
|
|
|
28173
28348
|
"updated_by:DESC",
|
|
28174
28349
|
"priority:ASC",
|
|
28175
28350
|
"priority:DESC",
|
|
28176
|
-
"
|
|
28177
|
-
"
|
|
28178
|
-
"
|
|
28179
|
-
"
|
|
28351
|
+
"automation_status:ASC",
|
|
28352
|
+
"automation_status:DESC",
|
|
28353
|
+
"automation_type:ASC",
|
|
28354
|
+
"automation_type:DESC"
|
|
28180
28355
|
])).optional(),
|
|
28181
28356
|
"search": z.string().optional(),
|
|
28182
28357
|
"searchBy": z.array(z.string()).optional()
|
|
@@ -28390,12 +28565,12 @@ const zPreviewImportResponseDto = z.object({
|
|
|
28390
28565
|
"folder_name",
|
|
28391
28566
|
"test_name",
|
|
28392
28567
|
"test_description",
|
|
28393
|
-
"
|
|
28568
|
+
"automation_status",
|
|
28569
|
+
"automation_type",
|
|
28394
28570
|
"case_type_id",
|
|
28395
28571
|
"case_type_name",
|
|
28396
28572
|
"test_priority",
|
|
28397
28573
|
"estimate",
|
|
28398
|
-
"is_automated",
|
|
28399
28574
|
"assignee_email",
|
|
28400
28575
|
"labels",
|
|
28401
28576
|
"teams",
|
|
@@ -28448,12 +28623,12 @@ const zPreviewImportResponseDto = z.object({
|
|
|
28448
28623
|
"folder_name",
|
|
28449
28624
|
"test_name",
|
|
28450
28625
|
"test_description",
|
|
28451
|
-
"
|
|
28626
|
+
"automation_status",
|
|
28627
|
+
"automation_type",
|
|
28452
28628
|
"case_type_id",
|
|
28453
28629
|
"case_type_name",
|
|
28454
28630
|
"test_priority",
|
|
28455
28631
|
"estimate",
|
|
28456
|
-
"is_automated",
|
|
28457
28632
|
"assignee_email",
|
|
28458
28633
|
"labels",
|
|
28459
28634
|
"teams",
|
|
@@ -28507,12 +28682,12 @@ const zCommitImportDto = z.object({
|
|
|
28507
28682
|
"folder_name",
|
|
28508
28683
|
"test_name",
|
|
28509
28684
|
"test_description",
|
|
28510
|
-
"
|
|
28685
|
+
"automation_status",
|
|
28686
|
+
"automation_type",
|
|
28511
28687
|
"case_type_id",
|
|
28512
28688
|
"case_type_name",
|
|
28513
28689
|
"test_priority",
|
|
28514
28690
|
"estimate",
|
|
28515
|
-
"is_automated",
|
|
28516
28691
|
"assignee_email",
|
|
28517
28692
|
"labels",
|
|
28518
28693
|
"teams",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-B8v6bgC4.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-B8v6bgC4.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|