@levr-one/cli 0.5.8 → 0.5.10
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-dOfpWmFB.js → importHandler-CSymzrKs.js} +2 -2
- package/dist/{listHandler-CMoPHIeP.js → listHandler-DJkyQWFK.js} +1 -1
- package/dist/{loginHandler-BsXad94A.js → loginHandler-CEMdXi4w.js} +2 -2
- package/dist/{pushHandler-Dpdjm-jd.js → pushHandler-QdmpPPt5.js} +2 -2
- package/dist/{resolve-workspace-CEHRabJJ.js → resolve-workspace-D3cyw4NZ.js} +1 -1
- package/dist/{sdk-client-DkZAtoOF.js → sdk-client-853JZ0H8.js} +17 -20
- package/dist/{selectHandler-DpAiEdOL.js → selectHandler-oH1uKvxU.js} +1 -1
- package/dist/{statusHandler-BvjEW2Ct.js → statusHandler-W_0aZlD1.js} +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -180,7 +180,7 @@ Examples:
|
|
|
180
180
|
aliases: { d: "device-code" }
|
|
181
181
|
},
|
|
182
182
|
loader: async () => {
|
|
183
|
-
const { loginHandler } = await import("./loginHandler-
|
|
183
|
+
const { loginHandler } = await import("./loginHandler-CEMdXi4w.js");
|
|
184
184
|
return loginHandler;
|
|
185
185
|
}
|
|
186
186
|
});
|
|
@@ -219,7 +219,7 @@ Examples:
|
|
|
219
219
|
},
|
|
220
220
|
parameters: {},
|
|
221
221
|
loader: async () => {
|
|
222
|
-
const { statusHandler } = await import("./statusHandler-
|
|
222
|
+
const { statusHandler } = await import("./statusHandler-W_0aZlD1.js");
|
|
223
223
|
return statusHandler;
|
|
224
224
|
}
|
|
225
225
|
});
|
|
@@ -330,7 +330,7 @@ Examples:
|
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
332
|
loader: async () => {
|
|
333
|
-
const { pushHandler } = await import("./pushHandler-
|
|
333
|
+
const { pushHandler } = await import("./pushHandler-QdmpPPt5.js");
|
|
334
334
|
return pushHandler;
|
|
335
335
|
}
|
|
336
336
|
});
|
|
@@ -442,7 +442,7 @@ Examples:
|
|
|
442
442
|
}
|
|
443
443
|
},
|
|
444
444
|
loader: async () => {
|
|
445
|
-
const { importHandler } = await import("./importHandler-
|
|
445
|
+
const { importHandler } = await import("./importHandler-CSymzrKs.js");
|
|
446
446
|
return importHandler;
|
|
447
447
|
}
|
|
448
448
|
});
|
|
@@ -463,7 +463,7 @@ Examples:
|
|
|
463
463
|
},
|
|
464
464
|
parameters: {},
|
|
465
465
|
loader: async () => {
|
|
466
|
-
const { listHandler } = await import("./listHandler-
|
|
466
|
+
const { listHandler } = await import("./listHandler-DJkyQWFK.js");
|
|
467
467
|
return listHandler;
|
|
468
468
|
}
|
|
469
469
|
});
|
|
@@ -496,7 +496,7 @@ Examples:
|
|
|
496
496
|
flags: {}
|
|
497
497
|
},
|
|
498
498
|
loader: async () => {
|
|
499
|
-
const { selectHandler } = await import("./selectHandler-
|
|
499
|
+
const { selectHandler } = await import("./selectHandler-oH1uKvxU.js");
|
|
500
500
|
return selectHandler;
|
|
501
501
|
}
|
|
502
502
|
});
|
|
@@ -520,7 +520,7 @@ Examples:
|
|
|
520
520
|
|
|
521
521
|
//#endregion
|
|
522
522
|
//#region package.json
|
|
523
|
-
var version = "0.5.
|
|
523
|
+
var version = "0.5.10";
|
|
524
524
|
|
|
525
525
|
//#endregion
|
|
526
526
|
//#region src/app.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-
|
|
2
|
+
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-853JZ0H8.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-D3cyw4NZ.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-853JZ0H8.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-853JZ0H8.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-D3cyw4NZ.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-853JZ0H8.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-D3cyw4NZ.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";
|
|
@@ -2494,7 +2494,8 @@ const zArchiveFindAllV1Data = z.object({
|
|
|
2494
2494
|
"sortDir": z.enum(["asc", "desc"]).optional(),
|
|
2495
2495
|
"entityType": z.array(z.string()).optional(),
|
|
2496
2496
|
"ownerId": z.array(z.string()).optional(),
|
|
2497
|
-
"deletedById": z.array(z.string()).optional()
|
|
2497
|
+
"deletedById": z.array(z.string()).optional(),
|
|
2498
|
+
"entityId": z.array(z.string()).optional()
|
|
2498
2499
|
}).optional(),
|
|
2499
2500
|
url: z.literal("/v1/archives")
|
|
2500
2501
|
});
|
|
@@ -9913,6 +9914,7 @@ const zCreateCycleDto = z.object({
|
|
|
9913
9914
|
completed_scope: z.number().optional().describe(""),
|
|
9914
9915
|
scope_is_mixed_unit: z.boolean().optional().describe(""),
|
|
9915
9916
|
completed_at: z.unknown().optional().describe(""),
|
|
9917
|
+
status: z.string().optional().describe(""),
|
|
9916
9918
|
rollover_processed_at: z.unknown().optional().describe(""),
|
|
9917
9919
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
9918
9920
|
team_id: z.string(),
|
|
@@ -9931,6 +9933,7 @@ const zResponseCycleDto = z.object({
|
|
|
9931
9933
|
completed_scope: z.number().optional().describe(""),
|
|
9932
9934
|
scope_is_mixed_unit: z.boolean().optional().describe(""),
|
|
9933
9935
|
completed_at: z.unknown().optional().describe(""),
|
|
9936
|
+
status: z.string().optional().describe(""),
|
|
9934
9937
|
rollover_processed_at: z.unknown().optional().describe(""),
|
|
9935
9938
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
9936
9939
|
team_id: z.string(),
|
|
@@ -9942,10 +9945,7 @@ const zResponseCycleDto = z.object({
|
|
|
9942
9945
|
updated_by: z.string().describe(""),
|
|
9943
9946
|
workspace_id: z.string().describe(""),
|
|
9944
9947
|
deleted_at: z.unknown().describe(""),
|
|
9945
|
-
deleted_by: z.string().nullable().describe("")
|
|
9946
|
-
archived_at: z.unknown().describe(""),
|
|
9947
|
-
archived_by: z.string().nullable().describe(""),
|
|
9948
|
-
auto_archived_at: z.unknown().describe("")
|
|
9948
|
+
deleted_by: z.string().nullable().describe("")
|
|
9949
9949
|
});
|
|
9950
9950
|
const zUpdateCycleDto = z.object({
|
|
9951
9951
|
id: z.string().optional().describe(""),
|
|
@@ -9960,11 +9960,11 @@ const zUpdateCycleDto = z.object({
|
|
|
9960
9960
|
completed_scope: z.number().optional().describe(""),
|
|
9961
9961
|
scope_is_mixed_unit: z.boolean().optional().describe(""),
|
|
9962
9962
|
completed_at: z.unknown().optional().describe(""),
|
|
9963
|
+
status: z.string().optional().describe(""),
|
|
9963
9964
|
rollover_processed_at: z.unknown().optional().describe(""),
|
|
9964
9965
|
spoke_key: z.string().nullable().optional().describe(""),
|
|
9965
9966
|
team_id: z.string().optional(),
|
|
9966
|
-
inherited_from_id: z.string().nullable().optional()
|
|
9967
|
-
archived_at: z.unknown().optional().describe("")
|
|
9967
|
+
inherited_from_id: z.string().nullable().optional()
|
|
9968
9968
|
});
|
|
9969
9969
|
const zCycleBulkOperationDto = z.object({
|
|
9970
9970
|
op: z.enum([
|
|
@@ -10018,6 +10018,7 @@ const zCycleFindAllV1Data = z.object({
|
|
|
10018
10018
|
"filter.completed_scope": z.array(z.string()).optional(),
|
|
10019
10019
|
"filter.scope_is_mixed_unit": z.array(z.string()).optional(),
|
|
10020
10020
|
"filter.completed_at": z.array(z.string()).optional(),
|
|
10021
|
+
"filter.status": z.array(z.string()).optional(),
|
|
10021
10022
|
"filter.rollover_processed_at": z.array(z.string()).optional(),
|
|
10022
10023
|
"filter.spoke_key": z.array(z.string()).optional(),
|
|
10023
10024
|
"filter.team_id": z.array(z.string()).optional(),
|
|
@@ -10025,7 +10026,6 @@ const zCycleFindAllV1Data = z.object({
|
|
|
10025
10026
|
"filter.created_at": z.array(z.string()).optional(),
|
|
10026
10027
|
"filter.updated_at": z.array(z.string()).optional(),
|
|
10027
10028
|
"filter.deleted_at": z.array(z.string()).optional(),
|
|
10028
|
-
"filter.archived_at": z.array(z.string()).optional(),
|
|
10029
10029
|
"sortBy": z.array(z.enum([
|
|
10030
10030
|
"id:ASC",
|
|
10031
10031
|
"id:DESC",
|
|
@@ -10049,6 +10049,8 @@ const zCycleFindAllV1Data = z.object({
|
|
|
10049
10049
|
"completed_scope:DESC",
|
|
10050
10050
|
"completed_at:ASC",
|
|
10051
10051
|
"completed_at:DESC",
|
|
10052
|
+
"status:ASC",
|
|
10053
|
+
"status:DESC",
|
|
10052
10054
|
"rollover_processed_at:ASC",
|
|
10053
10055
|
"rollover_processed_at:DESC",
|
|
10054
10056
|
"spoke_key:ASC",
|
|
@@ -10060,9 +10062,7 @@ const zCycleFindAllV1Data = z.object({
|
|
|
10060
10062
|
"updated_at:ASC",
|
|
10061
10063
|
"updated_at:DESC",
|
|
10062
10064
|
"deleted_at:ASC",
|
|
10063
|
-
"deleted_at:DESC"
|
|
10064
|
-
"archived_at:ASC",
|
|
10065
|
-
"archived_at:DESC"
|
|
10065
|
+
"deleted_at:DESC"
|
|
10066
10066
|
])).optional(),
|
|
10067
10067
|
"search": z.string().optional(),
|
|
10068
10068
|
"searchBy": z.array(z.string()).optional()
|
|
@@ -10070,7 +10070,6 @@ const zCycleFindAllV1Data = z.object({
|
|
|
10070
10070
|
url: z.literal("/v1/cycle")
|
|
10071
10071
|
});
|
|
10072
10072
|
const zCycleFindRecentlyDeletedV1Data = z.object({ url: z.literal("/v1/cycle/recently-deleted") });
|
|
10073
|
-
const zCycleFindArchivedV1Data = z.object({ url: z.literal("/v1/cycle/archived") });
|
|
10074
10073
|
const zCycleFindOneV1Data = z.object({
|
|
10075
10074
|
path: z.object({ "id": z.string() }),
|
|
10076
10075
|
url: z.literal("/v1/cycle/{id}")
|
|
@@ -10092,14 +10091,6 @@ const zCycleRestoreV1Data = z.object({
|
|
|
10092
10091
|
path: z.object({ "id": z.string() }),
|
|
10093
10092
|
url: z.literal("/v1/cycle/{id}/restore")
|
|
10094
10093
|
});
|
|
10095
|
-
const zCycleArchiveV1Data = z.object({
|
|
10096
|
-
path: z.object({ "id": z.string() }),
|
|
10097
|
-
url: z.literal("/v1/cycle/{id}/archive")
|
|
10098
|
-
});
|
|
10099
|
-
const zCycleUnarchiveV1Data = z.object({
|
|
10100
|
-
path: z.object({ "id": z.string() }),
|
|
10101
|
-
url: z.literal("/v1/cycle/{id}/unarchive")
|
|
10102
|
-
});
|
|
10103
10094
|
|
|
10104
10095
|
//#endregion
|
|
10105
10096
|
//#region ../sdk/dist/gen/cycle-generation/zod.js
|
|
@@ -10111,10 +10102,16 @@ const zCycleGenerationGenerateV1Data = z.object({
|
|
|
10111
10102
|
|
|
10112
10103
|
//#endregion
|
|
10113
10104
|
//#region ../sdk/dist/gen/cycle-lifecycle/zod.js
|
|
10105
|
+
const zShiftCadenceDto = z.object({ start_date: z.string().describe("") });
|
|
10114
10106
|
const zCycleLifecycleStartCycleV1Data = z.object({
|
|
10115
10107
|
path: z.object({ "id": z.string() }),
|
|
10116
10108
|
url: z.literal("/v1/cycles/{id}/start")
|
|
10117
10109
|
});
|
|
10110
|
+
const zCycleLifecycleShiftCadenceV1Data = z.object({
|
|
10111
|
+
body: zShiftCadenceDto,
|
|
10112
|
+
path: z.object({ "id": z.string() }),
|
|
10113
|
+
url: z.literal("/v1/cycles/{id}/shift-cadence")
|
|
10114
|
+
});
|
|
10118
10115
|
|
|
10119
10116
|
//#endregion
|
|
10120
10117
|
//#region ../sdk/dist/gen/cycle-schedule/zod.js
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-853JZ0H8.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-853JZ0H8.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|