@levr-one/cli 0.9.22 → 0.9.24
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-CR-lOqcD.js → importHandler-DqGiV9R7.js} +2 -2
- package/dist/{listHandler-VRZS-s8e.js → listHandler-BxvAN-cP.js} +1 -1
- package/dist/{loginHandler-Cuf5Y6_g.js → loginHandler-Brmwi38t.js} +2 -2
- package/dist/{pushHandler-CeuPhyKB.js → pushHandler-_1p1pKCL.js} +2 -2
- package/dist/{resolve-workspace-D6gSTaNi.js → resolve-workspace-9klhJXr_.js} +1 -1
- package/dist/{sdk-client-CRILxtFA.js → sdk-client-Bb-v6TXH.js} +33 -20
- package/dist/{selectHandler-BeTwholg.js → selectHandler-BA30PGv1.js} +1 -1
- package/dist/{statusHandler-BWTMdVkY.js → statusHandler-BCuHHpME.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-Brmwi38t.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-BCuHHpME.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-_1p1pKCL.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-DqGiV9R7.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-BxvAN-cP.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-BA30PGv1.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.9.
|
|
565
|
+
var version = "0.9.24";
|
|
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-Bb-v6TXH.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-9klhJXr_.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-v6TXH.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-v6TXH.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-9klhJXr_.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-Bb-v6TXH.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-9klhJXr_.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";
|
|
@@ -20031,7 +20031,6 @@ const zCreateNotificationDto = z.object({
|
|
|
20031
20031
|
snoozed_until: z.unknown().optional().describe(""),
|
|
20032
20032
|
archived_at: z.unknown().optional().describe(""),
|
|
20033
20033
|
data: z.unknown().optional().describe(""),
|
|
20034
|
-
reason: z.string().nullable().optional().describe(""),
|
|
20035
20034
|
grouping_key: z.string().nullable().optional().describe(""),
|
|
20036
20035
|
grouping_priority: z.number().optional().describe(""),
|
|
20037
20036
|
user_id: z.string(),
|
|
@@ -20051,6 +20050,8 @@ const zResponseNotificationDto = z.object({
|
|
|
20051
20050
|
archived_at: z.unknown().optional().describe(""),
|
|
20052
20051
|
data: z.unknown().optional().describe(""),
|
|
20053
20052
|
reason: z.string().nullable().optional().describe(""),
|
|
20053
|
+
category: z.string().describe(""),
|
|
20054
|
+
watch_id: z.string().nullable().optional().describe(""),
|
|
20054
20055
|
grouping_key: z.string().nullable().optional().describe(""),
|
|
20055
20056
|
grouping_priority: z.number().optional().describe(""),
|
|
20056
20057
|
user_id: z.string(),
|
|
@@ -20075,7 +20076,6 @@ const zUpdateNotificationDto = z.object({
|
|
|
20075
20076
|
snoozed_until: z.unknown().optional().describe(""),
|
|
20076
20077
|
archived_at: z.unknown().optional().describe(""),
|
|
20077
20078
|
data: z.unknown().optional().describe(""),
|
|
20078
|
-
reason: z.string().nullable().optional().describe(""),
|
|
20079
20079
|
grouping_key: z.string().nullable().optional().describe(""),
|
|
20080
20080
|
grouping_priority: z.number().optional().describe(""),
|
|
20081
20081
|
user_id: z.string().optional(),
|
|
@@ -20133,6 +20133,8 @@ const zNotificationFindAllV1Data = z.object({
|
|
|
20133
20133
|
"filter.snoozed_until": z.array(z.string()).optional(),
|
|
20134
20134
|
"filter.archived_at": z.array(z.string()).optional(),
|
|
20135
20135
|
"filter.reason": z.array(z.string()).optional(),
|
|
20136
|
+
"filter.category": z.array(z.string()).optional(),
|
|
20137
|
+
"filter.watch_id": z.array(z.string()).optional(),
|
|
20136
20138
|
"filter.grouping_key": z.array(z.string()).optional(),
|
|
20137
20139
|
"filter.grouping_priority": z.array(z.string()).optional(),
|
|
20138
20140
|
"filter.user_id": z.array(z.string()).optional(),
|
|
@@ -20160,6 +20162,10 @@ const zNotificationFindAllV1Data = z.object({
|
|
|
20160
20162
|
"archived_at:DESC",
|
|
20161
20163
|
"reason:ASC",
|
|
20162
20164
|
"reason:DESC",
|
|
20165
|
+
"category:ASC",
|
|
20166
|
+
"category:DESC",
|
|
20167
|
+
"watch_id:ASC",
|
|
20168
|
+
"watch_id:DESC",
|
|
20163
20169
|
"grouping_key:ASC",
|
|
20164
20170
|
"grouping_key:DESC",
|
|
20165
20171
|
"grouping_priority:ASC",
|
|
@@ -20206,12 +20212,9 @@ const zNotificationBulkOperationV1Data = z.object({
|
|
|
20206
20212
|
//#region ../sdk/dist/gen/notification-preference/zod.js
|
|
20207
20213
|
const zCreateNotificationPreferenceDto = z.object({
|
|
20208
20214
|
id: z.string().optional().describe(""),
|
|
20209
|
-
|
|
20215
|
+
channels: z.unknown().describe(""),
|
|
20210
20216
|
email_enabled: z.boolean().optional().describe(""),
|
|
20211
20217
|
email_digest_frequency: z.string().optional().describe(""),
|
|
20212
|
-
desktop_enabled: z.boolean().optional().describe(""),
|
|
20213
|
-
slack_enabled: z.boolean().optional().describe(""),
|
|
20214
|
-
type_overrides: z.unknown().optional().describe(""),
|
|
20215
20218
|
work_hours_start: z.string().optional().describe(""),
|
|
20216
20219
|
work_hours_end: z.string().optional().describe(""),
|
|
20217
20220
|
timezone: z.string().optional().describe(""),
|
|
@@ -20219,16 +20222,14 @@ const zCreateNotificationPreferenceDto = z.object({
|
|
|
20219
20222
|
auto_subscribe_created: z.boolean().optional().describe(""),
|
|
20220
20223
|
auto_subscribe_assigned: z.boolean().optional().describe(""),
|
|
20221
20224
|
auto_subscribe_mentioned: z.boolean().optional().describe(""),
|
|
20225
|
+
auto_subscribe_commented: z.boolean().optional().describe(""),
|
|
20222
20226
|
user_id: z.string()
|
|
20223
20227
|
});
|
|
20224
20228
|
const zResponseNotificationPreferenceDto = z.object({
|
|
20225
20229
|
id: z.string().describe(""),
|
|
20226
|
-
|
|
20230
|
+
channels: z.unknown().describe(""),
|
|
20227
20231
|
email_enabled: z.boolean().optional().describe(""),
|
|
20228
20232
|
email_digest_frequency: z.string().optional().describe(""),
|
|
20229
|
-
desktop_enabled: z.boolean().optional().describe(""),
|
|
20230
|
-
slack_enabled: z.boolean().optional().describe(""),
|
|
20231
|
-
type_overrides: z.unknown().optional().describe(""),
|
|
20232
20233
|
work_hours_start: z.string().optional().describe(""),
|
|
20233
20234
|
work_hours_end: z.string().optional().describe(""),
|
|
20234
20235
|
timezone: z.string().optional().describe(""),
|
|
@@ -20236,6 +20237,7 @@ const zResponseNotificationPreferenceDto = z.object({
|
|
|
20236
20237
|
auto_subscribe_created: z.boolean().optional().describe(""),
|
|
20237
20238
|
auto_subscribe_assigned: z.boolean().optional().describe(""),
|
|
20238
20239
|
auto_subscribe_mentioned: z.boolean().optional().describe(""),
|
|
20240
|
+
auto_subscribe_commented: z.boolean().optional().describe(""),
|
|
20239
20241
|
user_id: z.string(),
|
|
20240
20242
|
created_at: z.unknown().describe(""),
|
|
20241
20243
|
updated_at: z.unknown().describe(""),
|
|
@@ -20248,12 +20250,9 @@ const zResponseNotificationPreferenceDto = z.object({
|
|
|
20248
20250
|
});
|
|
20249
20251
|
const zUpdateNotificationPreferenceDto = z.object({
|
|
20250
20252
|
id: z.string().optional().describe(""),
|
|
20251
|
-
|
|
20253
|
+
channels: z.unknown().optional().describe(""),
|
|
20252
20254
|
email_enabled: z.boolean().optional().describe(""),
|
|
20253
20255
|
email_digest_frequency: z.string().optional().describe(""),
|
|
20254
|
-
desktop_enabled: z.boolean().optional().describe(""),
|
|
20255
|
-
slack_enabled: z.boolean().optional().describe(""),
|
|
20256
|
-
type_overrides: z.unknown().optional().describe(""),
|
|
20257
20256
|
work_hours_start: z.string().optional().describe(""),
|
|
20258
20257
|
work_hours_end: z.string().optional().describe(""),
|
|
20259
20258
|
timezone: z.string().optional().describe(""),
|
|
@@ -20261,6 +20260,7 @@ const zUpdateNotificationPreferenceDto = z.object({
|
|
|
20261
20260
|
auto_subscribe_created: z.boolean().optional().describe(""),
|
|
20262
20261
|
auto_subscribe_assigned: z.boolean().optional().describe(""),
|
|
20263
20262
|
auto_subscribe_mentioned: z.boolean().optional().describe(""),
|
|
20263
|
+
auto_subscribe_commented: z.boolean().optional().describe(""),
|
|
20264
20264
|
user_id: z.string().optional()
|
|
20265
20265
|
});
|
|
20266
20266
|
const zNotificationPreferenceBulkOperationDto = z.object({
|
|
@@ -20304,11 +20304,8 @@ const zNotificationPreferenceFindAllV1Data = z.object({
|
|
|
20304
20304
|
"page": z.number().optional(),
|
|
20305
20305
|
"limit": z.number().optional(),
|
|
20306
20306
|
"filter.id": z.array(z.string()).optional(),
|
|
20307
|
-
"filter.inbox_enabled": z.array(z.string()).optional(),
|
|
20308
20307
|
"filter.email_enabled": z.array(z.string()).optional(),
|
|
20309
20308
|
"filter.email_digest_frequency": z.array(z.string()).optional(),
|
|
20310
|
-
"filter.desktop_enabled": z.array(z.string()).optional(),
|
|
20311
|
-
"filter.slack_enabled": z.array(z.string()).optional(),
|
|
20312
20309
|
"filter.work_hours_start": z.array(z.string()).optional(),
|
|
20313
20310
|
"filter.work_hours_end": z.array(z.string()).optional(),
|
|
20314
20311
|
"filter.timezone": z.array(z.string()).optional(),
|
|
@@ -20316,6 +20313,7 @@ const zNotificationPreferenceFindAllV1Data = z.object({
|
|
|
20316
20313
|
"filter.auto_subscribe_created": z.array(z.string()).optional(),
|
|
20317
20314
|
"filter.auto_subscribe_assigned": z.array(z.string()).optional(),
|
|
20318
20315
|
"filter.auto_subscribe_mentioned": z.array(z.string()).optional(),
|
|
20316
|
+
"filter.auto_subscribe_commented": z.array(z.string()).optional(),
|
|
20319
20317
|
"filter.user_id": z.array(z.string()).optional(),
|
|
20320
20318
|
"filter.created_at": z.array(z.string()).optional(),
|
|
20321
20319
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
@@ -30590,7 +30588,13 @@ const zUserPreferenceRestoreV1Data = z.object({
|
|
|
30590
30588
|
//#region ../sdk/dist/gen/verify/zod.js
|
|
30591
30589
|
const zVerifyDigestRequestDto = z.object({
|
|
30592
30590
|
entity: z.string().describe(""),
|
|
30593
|
-
level: z.union([z.number(), z.number()]).optional().describe("")
|
|
30591
|
+
level: z.union([z.number(), z.number()]).optional().describe(""),
|
|
30592
|
+
due_reason: z.enum([
|
|
30593
|
+
"interval",
|
|
30594
|
+
"dirty",
|
|
30595
|
+
"never_stamped"
|
|
30596
|
+
]).optional().describe(""),
|
|
30597
|
+
pass_id: z.string().optional().describe("")
|
|
30594
30598
|
});
|
|
30595
30599
|
const zFoldedDigestDto = z.object({
|
|
30596
30600
|
n: z.number().describe(""),
|
|
@@ -30767,7 +30771,9 @@ const zCreateWatchDto = z.object({
|
|
|
30767
30771
|
related_id: z.string().describe(""),
|
|
30768
30772
|
key: z.number().optional().describe(""),
|
|
30769
30773
|
scope: z.string().optional().describe(""),
|
|
30770
|
-
thread_id: z.string().nullable().optional().describe("")
|
|
30774
|
+
thread_id: z.string().nullable().optional().describe(""),
|
|
30775
|
+
muted_at: z.unknown().optional().describe(""),
|
|
30776
|
+
events: z.unknown().optional().describe("")
|
|
30771
30777
|
});
|
|
30772
30778
|
const zResponseWatchDto = z.object({
|
|
30773
30779
|
id: z.string().describe(""),
|
|
@@ -30776,6 +30782,8 @@ const zResponseWatchDto = z.object({
|
|
|
30776
30782
|
key: z.number().optional().describe(""),
|
|
30777
30783
|
scope: z.string().optional().describe(""),
|
|
30778
30784
|
thread_id: z.string().nullable().optional().describe(""),
|
|
30785
|
+
muted_at: z.unknown().optional().describe(""),
|
|
30786
|
+
events: z.unknown().optional().describe(""),
|
|
30779
30787
|
created_at: z.unknown().describe(""),
|
|
30780
30788
|
updated_at: z.unknown().describe(""),
|
|
30781
30789
|
epoch: z.number().describe(""),
|
|
@@ -30791,7 +30799,9 @@ const zUpdateWatchDto = z.object({
|
|
|
30791
30799
|
related_id: z.string().optional().describe(""),
|
|
30792
30800
|
key: z.number().optional().describe(""),
|
|
30793
30801
|
scope: z.string().optional().describe(""),
|
|
30794
|
-
thread_id: z.string().nullable().optional().describe("")
|
|
30802
|
+
thread_id: z.string().nullable().optional().describe(""),
|
|
30803
|
+
muted_at: z.unknown().optional().describe(""),
|
|
30804
|
+
events: z.unknown().optional().describe("")
|
|
30795
30805
|
});
|
|
30796
30806
|
const zWatchBulkOperationDto = z.object({
|
|
30797
30807
|
op: z.enum([
|
|
@@ -30839,6 +30849,7 @@ const zWatchFindAllV1Data = z.object({
|
|
|
30839
30849
|
"filter.key": z.array(z.string()).optional(),
|
|
30840
30850
|
"filter.scope": z.array(z.string()).optional(),
|
|
30841
30851
|
"filter.thread_id": z.array(z.string()).optional(),
|
|
30852
|
+
"filter.muted_at": z.array(z.string()).optional(),
|
|
30842
30853
|
"filter.created_at": z.array(z.string()).optional(),
|
|
30843
30854
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
30844
30855
|
"filter.deleted_at": z.array(z.string()).optional(),
|
|
@@ -30855,6 +30866,8 @@ const zWatchFindAllV1Data = z.object({
|
|
|
30855
30866
|
"scope:DESC",
|
|
30856
30867
|
"thread_id:ASC",
|
|
30857
30868
|
"thread_id:DESC",
|
|
30869
|
+
"muted_at:ASC",
|
|
30870
|
+
"muted_at:DESC",
|
|
30858
30871
|
"created_at:ASC",
|
|
30859
30872
|
"created_at:DESC",
|
|
30860
30873
|
"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-Bb-v6TXH.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-v6TXH.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|