@levr-one/cli 0.9.22 → 0.9.23
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-Bqu-n2I0.js} +2 -2
- package/dist/{listHandler-VRZS-s8e.js → listHandler-D2qLvZ3K.js} +1 -1
- package/dist/{loginHandler-Cuf5Y6_g.js → loginHandler-DPD1W7OS.js} +2 -2
- package/dist/{pushHandler-CeuPhyKB.js → pushHandler-DpDN_d0H.js} +2 -2
- package/dist/{resolve-workspace-D6gSTaNi.js → resolve-workspace-BvVflX3F.js} +1 -1
- package/dist/{sdk-client-CRILxtFA.js → sdk-client-Dxrxhc41.js} +26 -19
- package/dist/{selectHandler-BeTwholg.js → selectHandler-CaCywIE9.js} +1 -1
- package/dist/{statusHandler-BWTMdVkY.js → statusHandler-CdyRH4An.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-DPD1W7OS.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-CdyRH4An.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-DpDN_d0H.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-Bqu-n2I0.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-D2qLvZ3K.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-CaCywIE9.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.23";
|
|
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-Dxrxhc41.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-BvVflX3F.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-Dxrxhc41.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-Dxrxhc41.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-BvVflX3F.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-Dxrxhc41.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-BvVflX3F.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(),
|
|
@@ -30767,7 +30765,9 @@ const zCreateWatchDto = z.object({
|
|
|
30767
30765
|
related_id: z.string().describe(""),
|
|
30768
30766
|
key: z.number().optional().describe(""),
|
|
30769
30767
|
scope: z.string().optional().describe(""),
|
|
30770
|
-
thread_id: z.string().nullable().optional().describe("")
|
|
30768
|
+
thread_id: z.string().nullable().optional().describe(""),
|
|
30769
|
+
muted_at: z.unknown().optional().describe(""),
|
|
30770
|
+
events: z.unknown().optional().describe("")
|
|
30771
30771
|
});
|
|
30772
30772
|
const zResponseWatchDto = z.object({
|
|
30773
30773
|
id: z.string().describe(""),
|
|
@@ -30776,6 +30776,8 @@ const zResponseWatchDto = z.object({
|
|
|
30776
30776
|
key: z.number().optional().describe(""),
|
|
30777
30777
|
scope: z.string().optional().describe(""),
|
|
30778
30778
|
thread_id: z.string().nullable().optional().describe(""),
|
|
30779
|
+
muted_at: z.unknown().optional().describe(""),
|
|
30780
|
+
events: z.unknown().optional().describe(""),
|
|
30779
30781
|
created_at: z.unknown().describe(""),
|
|
30780
30782
|
updated_at: z.unknown().describe(""),
|
|
30781
30783
|
epoch: z.number().describe(""),
|
|
@@ -30791,7 +30793,9 @@ const zUpdateWatchDto = z.object({
|
|
|
30791
30793
|
related_id: z.string().optional().describe(""),
|
|
30792
30794
|
key: z.number().optional().describe(""),
|
|
30793
30795
|
scope: z.string().optional().describe(""),
|
|
30794
|
-
thread_id: z.string().nullable().optional().describe("")
|
|
30796
|
+
thread_id: z.string().nullable().optional().describe(""),
|
|
30797
|
+
muted_at: z.unknown().optional().describe(""),
|
|
30798
|
+
events: z.unknown().optional().describe("")
|
|
30795
30799
|
});
|
|
30796
30800
|
const zWatchBulkOperationDto = z.object({
|
|
30797
30801
|
op: z.enum([
|
|
@@ -30839,6 +30843,7 @@ const zWatchFindAllV1Data = z.object({
|
|
|
30839
30843
|
"filter.key": z.array(z.string()).optional(),
|
|
30840
30844
|
"filter.scope": z.array(z.string()).optional(),
|
|
30841
30845
|
"filter.thread_id": z.array(z.string()).optional(),
|
|
30846
|
+
"filter.muted_at": z.array(z.string()).optional(),
|
|
30842
30847
|
"filter.created_at": z.array(z.string()).optional(),
|
|
30843
30848
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
30844
30849
|
"filter.deleted_at": z.array(z.string()).optional(),
|
|
@@ -30855,6 +30860,8 @@ const zWatchFindAllV1Data = z.object({
|
|
|
30855
30860
|
"scope:DESC",
|
|
30856
30861
|
"thread_id:ASC",
|
|
30857
30862
|
"thread_id:DESC",
|
|
30863
|
+
"muted_at:ASC",
|
|
30864
|
+
"muted_at:DESC",
|
|
30858
30865
|
"created_at:ASC",
|
|
30859
30866
|
"created_at:DESC",
|
|
30860
30867
|
"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-Dxrxhc41.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-Dxrxhc41.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|