@levr-one/cli 0.9.21 → 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-Dm4dIhn0.js → importHandler-Bqu-n2I0.js} +2 -2
- package/dist/{listHandler-yoJkavik.js → listHandler-D2qLvZ3K.js} +1 -1
- package/dist/{loginHandler-CJZWj3Jl.js → loginHandler-DPD1W7OS.js} +2 -2
- package/dist/{pushHandler-Loh9g7f9.js → pushHandler-DpDN_d0H.js} +2 -2
- package/dist/{resolve-workspace-D3YenS8w.js → resolve-workspace-BvVflX3F.js} +1 -1
- package/dist/{sdk-client-CJDVWX9i.js → sdk-client-Dxrxhc41.js} +38 -19
- package/dist/{selectHandler-kmpKOxmH.js → selectHandler-CaCywIE9.js} +1 -1
- package/dist/{statusHandler-hmfFzKOl.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";
|
|
@@ -17904,10 +17904,22 @@ const zJiraSettingsPutStatusMapV1Data = z.object({
|
|
|
17904
17904
|
path: z.object({ "id": z.string() }),
|
|
17905
17905
|
url: z.literal("/v1/jira/projects/{id}/status-map")
|
|
17906
17906
|
});
|
|
17907
|
+
const zJiraSettingsDeleteStatusMapRowV1Data = z.object({
|
|
17908
|
+
path: z.object({
|
|
17909
|
+
"id": z.string(),
|
|
17910
|
+
"rowId": z.string()
|
|
17911
|
+
}),
|
|
17912
|
+
url: z.literal("/v1/jira/projects/{id}/status-map/{rowId}")
|
|
17913
|
+
});
|
|
17907
17914
|
const zJiraSettingsGetJiraStatusesV1Data = z.object({
|
|
17908
17915
|
path: z.object({ "id": z.string() }),
|
|
17909
17916
|
url: z.literal("/v1/jira/projects/{id}/jira-statuses")
|
|
17910
17917
|
});
|
|
17918
|
+
const zJiraSettingsGetJiraTransitionsV1Data = z.object({
|
|
17919
|
+
path: z.object({ "id": z.string() }),
|
|
17920
|
+
query: z.object({ "refresh": z.string() }).optional(),
|
|
17921
|
+
url: z.literal("/v1/jira/projects/{id}/jira-transitions")
|
|
17922
|
+
});
|
|
17911
17923
|
|
|
17912
17924
|
//#endregion
|
|
17913
17925
|
//#region ../sdk/dist/gen/label/zod.js
|
|
@@ -20019,7 +20031,6 @@ const zCreateNotificationDto = z.object({
|
|
|
20019
20031
|
snoozed_until: z.unknown().optional().describe(""),
|
|
20020
20032
|
archived_at: z.unknown().optional().describe(""),
|
|
20021
20033
|
data: z.unknown().optional().describe(""),
|
|
20022
|
-
reason: z.string().nullable().optional().describe(""),
|
|
20023
20034
|
grouping_key: z.string().nullable().optional().describe(""),
|
|
20024
20035
|
grouping_priority: z.number().optional().describe(""),
|
|
20025
20036
|
user_id: z.string(),
|
|
@@ -20039,6 +20050,8 @@ const zResponseNotificationDto = z.object({
|
|
|
20039
20050
|
archived_at: z.unknown().optional().describe(""),
|
|
20040
20051
|
data: z.unknown().optional().describe(""),
|
|
20041
20052
|
reason: z.string().nullable().optional().describe(""),
|
|
20053
|
+
category: z.string().describe(""),
|
|
20054
|
+
watch_id: z.string().nullable().optional().describe(""),
|
|
20042
20055
|
grouping_key: z.string().nullable().optional().describe(""),
|
|
20043
20056
|
grouping_priority: z.number().optional().describe(""),
|
|
20044
20057
|
user_id: z.string(),
|
|
@@ -20063,7 +20076,6 @@ const zUpdateNotificationDto = z.object({
|
|
|
20063
20076
|
snoozed_until: z.unknown().optional().describe(""),
|
|
20064
20077
|
archived_at: z.unknown().optional().describe(""),
|
|
20065
20078
|
data: z.unknown().optional().describe(""),
|
|
20066
|
-
reason: z.string().nullable().optional().describe(""),
|
|
20067
20079
|
grouping_key: z.string().nullable().optional().describe(""),
|
|
20068
20080
|
grouping_priority: z.number().optional().describe(""),
|
|
20069
20081
|
user_id: z.string().optional(),
|
|
@@ -20121,6 +20133,8 @@ const zNotificationFindAllV1Data = z.object({
|
|
|
20121
20133
|
"filter.snoozed_until": z.array(z.string()).optional(),
|
|
20122
20134
|
"filter.archived_at": z.array(z.string()).optional(),
|
|
20123
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(),
|
|
20124
20138
|
"filter.grouping_key": z.array(z.string()).optional(),
|
|
20125
20139
|
"filter.grouping_priority": z.array(z.string()).optional(),
|
|
20126
20140
|
"filter.user_id": z.array(z.string()).optional(),
|
|
@@ -20148,6 +20162,10 @@ const zNotificationFindAllV1Data = z.object({
|
|
|
20148
20162
|
"archived_at:DESC",
|
|
20149
20163
|
"reason:ASC",
|
|
20150
20164
|
"reason:DESC",
|
|
20165
|
+
"category:ASC",
|
|
20166
|
+
"category:DESC",
|
|
20167
|
+
"watch_id:ASC",
|
|
20168
|
+
"watch_id:DESC",
|
|
20151
20169
|
"grouping_key:ASC",
|
|
20152
20170
|
"grouping_key:DESC",
|
|
20153
20171
|
"grouping_priority:ASC",
|
|
@@ -20194,12 +20212,9 @@ const zNotificationBulkOperationV1Data = z.object({
|
|
|
20194
20212
|
//#region ../sdk/dist/gen/notification-preference/zod.js
|
|
20195
20213
|
const zCreateNotificationPreferenceDto = z.object({
|
|
20196
20214
|
id: z.string().optional().describe(""),
|
|
20197
|
-
|
|
20215
|
+
channels: z.unknown().describe(""),
|
|
20198
20216
|
email_enabled: z.boolean().optional().describe(""),
|
|
20199
20217
|
email_digest_frequency: z.string().optional().describe(""),
|
|
20200
|
-
desktop_enabled: z.boolean().optional().describe(""),
|
|
20201
|
-
slack_enabled: z.boolean().optional().describe(""),
|
|
20202
|
-
type_overrides: z.unknown().optional().describe(""),
|
|
20203
20218
|
work_hours_start: z.string().optional().describe(""),
|
|
20204
20219
|
work_hours_end: z.string().optional().describe(""),
|
|
20205
20220
|
timezone: z.string().optional().describe(""),
|
|
@@ -20207,16 +20222,14 @@ const zCreateNotificationPreferenceDto = z.object({
|
|
|
20207
20222
|
auto_subscribe_created: z.boolean().optional().describe(""),
|
|
20208
20223
|
auto_subscribe_assigned: z.boolean().optional().describe(""),
|
|
20209
20224
|
auto_subscribe_mentioned: z.boolean().optional().describe(""),
|
|
20225
|
+
auto_subscribe_commented: z.boolean().optional().describe(""),
|
|
20210
20226
|
user_id: z.string()
|
|
20211
20227
|
});
|
|
20212
20228
|
const zResponseNotificationPreferenceDto = z.object({
|
|
20213
20229
|
id: z.string().describe(""),
|
|
20214
|
-
|
|
20230
|
+
channels: z.unknown().describe(""),
|
|
20215
20231
|
email_enabled: z.boolean().optional().describe(""),
|
|
20216
20232
|
email_digest_frequency: z.string().optional().describe(""),
|
|
20217
|
-
desktop_enabled: z.boolean().optional().describe(""),
|
|
20218
|
-
slack_enabled: z.boolean().optional().describe(""),
|
|
20219
|
-
type_overrides: z.unknown().optional().describe(""),
|
|
20220
20233
|
work_hours_start: z.string().optional().describe(""),
|
|
20221
20234
|
work_hours_end: z.string().optional().describe(""),
|
|
20222
20235
|
timezone: z.string().optional().describe(""),
|
|
@@ -20224,6 +20237,7 @@ const zResponseNotificationPreferenceDto = z.object({
|
|
|
20224
20237
|
auto_subscribe_created: z.boolean().optional().describe(""),
|
|
20225
20238
|
auto_subscribe_assigned: z.boolean().optional().describe(""),
|
|
20226
20239
|
auto_subscribe_mentioned: z.boolean().optional().describe(""),
|
|
20240
|
+
auto_subscribe_commented: z.boolean().optional().describe(""),
|
|
20227
20241
|
user_id: z.string(),
|
|
20228
20242
|
created_at: z.unknown().describe(""),
|
|
20229
20243
|
updated_at: z.unknown().describe(""),
|
|
@@ -20236,12 +20250,9 @@ const zResponseNotificationPreferenceDto = z.object({
|
|
|
20236
20250
|
});
|
|
20237
20251
|
const zUpdateNotificationPreferenceDto = z.object({
|
|
20238
20252
|
id: z.string().optional().describe(""),
|
|
20239
|
-
|
|
20253
|
+
channels: z.unknown().optional().describe(""),
|
|
20240
20254
|
email_enabled: z.boolean().optional().describe(""),
|
|
20241
20255
|
email_digest_frequency: z.string().optional().describe(""),
|
|
20242
|
-
desktop_enabled: z.boolean().optional().describe(""),
|
|
20243
|
-
slack_enabled: z.boolean().optional().describe(""),
|
|
20244
|
-
type_overrides: z.unknown().optional().describe(""),
|
|
20245
20256
|
work_hours_start: z.string().optional().describe(""),
|
|
20246
20257
|
work_hours_end: z.string().optional().describe(""),
|
|
20247
20258
|
timezone: z.string().optional().describe(""),
|
|
@@ -20249,6 +20260,7 @@ const zUpdateNotificationPreferenceDto = z.object({
|
|
|
20249
20260
|
auto_subscribe_created: z.boolean().optional().describe(""),
|
|
20250
20261
|
auto_subscribe_assigned: z.boolean().optional().describe(""),
|
|
20251
20262
|
auto_subscribe_mentioned: z.boolean().optional().describe(""),
|
|
20263
|
+
auto_subscribe_commented: z.boolean().optional().describe(""),
|
|
20252
20264
|
user_id: z.string().optional()
|
|
20253
20265
|
});
|
|
20254
20266
|
const zNotificationPreferenceBulkOperationDto = z.object({
|
|
@@ -20292,11 +20304,8 @@ const zNotificationPreferenceFindAllV1Data = z.object({
|
|
|
20292
20304
|
"page": z.number().optional(),
|
|
20293
20305
|
"limit": z.number().optional(),
|
|
20294
20306
|
"filter.id": z.array(z.string()).optional(),
|
|
20295
|
-
"filter.inbox_enabled": z.array(z.string()).optional(),
|
|
20296
20307
|
"filter.email_enabled": z.array(z.string()).optional(),
|
|
20297
20308
|
"filter.email_digest_frequency": z.array(z.string()).optional(),
|
|
20298
|
-
"filter.desktop_enabled": z.array(z.string()).optional(),
|
|
20299
|
-
"filter.slack_enabled": z.array(z.string()).optional(),
|
|
20300
20309
|
"filter.work_hours_start": z.array(z.string()).optional(),
|
|
20301
20310
|
"filter.work_hours_end": z.array(z.string()).optional(),
|
|
20302
20311
|
"filter.timezone": z.array(z.string()).optional(),
|
|
@@ -20304,6 +20313,7 @@ const zNotificationPreferenceFindAllV1Data = z.object({
|
|
|
20304
20313
|
"filter.auto_subscribe_created": z.array(z.string()).optional(),
|
|
20305
20314
|
"filter.auto_subscribe_assigned": z.array(z.string()).optional(),
|
|
20306
20315
|
"filter.auto_subscribe_mentioned": z.array(z.string()).optional(),
|
|
20316
|
+
"filter.auto_subscribe_commented": z.array(z.string()).optional(),
|
|
20307
20317
|
"filter.user_id": z.array(z.string()).optional(),
|
|
20308
20318
|
"filter.created_at": z.array(z.string()).optional(),
|
|
20309
20319
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
@@ -30755,7 +30765,9 @@ const zCreateWatchDto = z.object({
|
|
|
30755
30765
|
related_id: z.string().describe(""),
|
|
30756
30766
|
key: z.number().optional().describe(""),
|
|
30757
30767
|
scope: z.string().optional().describe(""),
|
|
30758
|
-
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("")
|
|
30759
30771
|
});
|
|
30760
30772
|
const zResponseWatchDto = z.object({
|
|
30761
30773
|
id: z.string().describe(""),
|
|
@@ -30764,6 +30776,8 @@ const zResponseWatchDto = z.object({
|
|
|
30764
30776
|
key: z.number().optional().describe(""),
|
|
30765
30777
|
scope: z.string().optional().describe(""),
|
|
30766
30778
|
thread_id: z.string().nullable().optional().describe(""),
|
|
30779
|
+
muted_at: z.unknown().optional().describe(""),
|
|
30780
|
+
events: z.unknown().optional().describe(""),
|
|
30767
30781
|
created_at: z.unknown().describe(""),
|
|
30768
30782
|
updated_at: z.unknown().describe(""),
|
|
30769
30783
|
epoch: z.number().describe(""),
|
|
@@ -30779,7 +30793,9 @@ const zUpdateWatchDto = z.object({
|
|
|
30779
30793
|
related_id: z.string().optional().describe(""),
|
|
30780
30794
|
key: z.number().optional().describe(""),
|
|
30781
30795
|
scope: z.string().optional().describe(""),
|
|
30782
|
-
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("")
|
|
30783
30799
|
});
|
|
30784
30800
|
const zWatchBulkOperationDto = z.object({
|
|
30785
30801
|
op: z.enum([
|
|
@@ -30827,6 +30843,7 @@ const zWatchFindAllV1Data = z.object({
|
|
|
30827
30843
|
"filter.key": z.array(z.string()).optional(),
|
|
30828
30844
|
"filter.scope": z.array(z.string()).optional(),
|
|
30829
30845
|
"filter.thread_id": z.array(z.string()).optional(),
|
|
30846
|
+
"filter.muted_at": z.array(z.string()).optional(),
|
|
30830
30847
|
"filter.created_at": z.array(z.string()).optional(),
|
|
30831
30848
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
30832
30849
|
"filter.deleted_at": z.array(z.string()).optional(),
|
|
@@ -30843,6 +30860,8 @@ const zWatchFindAllV1Data = z.object({
|
|
|
30843
30860
|
"scope:DESC",
|
|
30844
30861
|
"thread_id:ASC",
|
|
30845
30862
|
"thread_id:DESC",
|
|
30863
|
+
"muted_at:ASC",
|
|
30864
|
+
"muted_at:DESC",
|
|
30846
30865
|
"created_at:ASC",
|
|
30847
30866
|
"created_at:DESC",
|
|
30848
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
|
|