@levr-one/cli 0.9.9 → 0.9.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-2L-HP0-P.js → importHandler-CApWG4CC.js} +2 -2
- package/dist/{listHandler-id-02t8Q.js → listHandler-DVgHTPAo.js} +1 -1
- package/dist/{loginHandler-AdcUcVoq.js → loginHandler-DNr7BFcG.js} +2 -2
- package/dist/{pushHandler-C-42yeMr.js → pushHandler-D2pny7nf.js} +2 -2
- package/dist/{resolve-workspace-Cx09xvF7.js → resolve-workspace-CnjFhIwc.js} +1 -1
- package/dist/{sdk-client-DUw8EZvY.js → sdk-client-BGSTjArY.js} +65 -1
- package/dist/{selectHandler-Cn6PA43d.js → selectHandler-Dxcfb6Fj.js} +1 -1
- package/dist/{statusHandler-lVPPcJHb.js → statusHandler-DGPTMfrr.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-DNr7BFcG.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-DGPTMfrr.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-D2pny7nf.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-CApWG4CC.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-DVgHTPAo.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-Dxcfb6Fj.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.10";
|
|
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-BGSTjArY.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CnjFhIwc.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-BGSTjArY.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-BGSTjArY.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-CnjFhIwc.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-BGSTjArY.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CnjFhIwc.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";
|
|
@@ -27620,7 +27620,8 @@ const zStreamingCompleteV1Data = z.object({
|
|
|
27620
27620
|
const zBootstrapRequestDto = z.object({ entities: z.array(z.string()).describe("") });
|
|
27621
27621
|
const zDeltaRequestDto = z.object({
|
|
27622
27622
|
lastSyncId: z.number().describe(""),
|
|
27623
|
-
entity: z.string().optional().describe("")
|
|
27623
|
+
entity: z.string().optional().describe(""),
|
|
27624
|
+
cold_start: z.boolean().optional().describe("")
|
|
27624
27625
|
});
|
|
27625
27626
|
const zPriorityBootstrapRequestDto = z.object({
|
|
27626
27627
|
entity: z.string().describe(""),
|
|
@@ -30433,6 +30434,69 @@ const zUserPreferenceRestoreV1Data = z.object({
|
|
|
30433
30434
|
url: z.literal("/v1/user-preference/{id}/restore")
|
|
30434
30435
|
});
|
|
30435
30436
|
|
|
30437
|
+
//#endregion
|
|
30438
|
+
//#region ../sdk/dist/gen/verify/zod.js
|
|
30439
|
+
const zVerifyDigestRequestDto = z.object({
|
|
30440
|
+
entity: z.string().describe(""),
|
|
30441
|
+
level: z.union([z.number(), z.number()]).optional().describe("")
|
|
30442
|
+
});
|
|
30443
|
+
const zFoldedDigestDto = z.object({
|
|
30444
|
+
n: z.number().describe(""),
|
|
30445
|
+
maxEpoch: z.number().nullable(),
|
|
30446
|
+
xor: z.string()
|
|
30447
|
+
});
|
|
30448
|
+
const zBucketDigestDto = z.object({
|
|
30449
|
+
bucket: z.string().describe(""),
|
|
30450
|
+
n: z.number().describe(""),
|
|
30451
|
+
maxEpoch: z.number().nullable().describe(""),
|
|
30452
|
+
xor: z.string().describe("")
|
|
30453
|
+
});
|
|
30454
|
+
const zVerifyDigestResponseDto = z.object({
|
|
30455
|
+
entity: z.string(),
|
|
30456
|
+
entity_version: z.string().describe(""),
|
|
30457
|
+
version_key: z.string().describe(""),
|
|
30458
|
+
l1: zFoldedDigestDto,
|
|
30459
|
+
buckets: z.array(zBucketDigestDto).optional().describe(""),
|
|
30460
|
+
cached: z.boolean().describe("")
|
|
30461
|
+
});
|
|
30462
|
+
const zVerifyBucketRowsRequestDto = z.object({
|
|
30463
|
+
entity: z.string().describe(""),
|
|
30464
|
+
buckets: z.array(z.string()).describe(""),
|
|
30465
|
+
after: z.string().optional().describe(""),
|
|
30466
|
+
limit: z.number().optional().describe("")
|
|
30467
|
+
});
|
|
30468
|
+
const zRowRefDto = z.object({
|
|
30469
|
+
id: z.string(),
|
|
30470
|
+
epoch: z.number().nullable()
|
|
30471
|
+
});
|
|
30472
|
+
const zVerifyBucketRowsResponseDto = z.object({
|
|
30473
|
+
rows: z.array(zRowRefDto),
|
|
30474
|
+
next: z.string().nullable().describe("")
|
|
30475
|
+
});
|
|
30476
|
+
const zVerifyRowsRequestDto = z.object({
|
|
30477
|
+
entity: z.string().describe(""),
|
|
30478
|
+
ids: z.array(z.string()).describe("")
|
|
30479
|
+
});
|
|
30480
|
+
const zVerifyRowsResponseDto = z.object({
|
|
30481
|
+
entity: z.string(),
|
|
30482
|
+
entity_version: z.string(),
|
|
30483
|
+
rows: z.array(z.record(z.string(), z.unknown())).describe(""),
|
|
30484
|
+
missing: z.array(z.string()).describe(""),
|
|
30485
|
+
partial: z.boolean().describe("")
|
|
30486
|
+
});
|
|
30487
|
+
const zVerifyDigestV1Data = z.object({
|
|
30488
|
+
body: zVerifyDigestRequestDto,
|
|
30489
|
+
url: z.literal("/v1/sync/verify/digest")
|
|
30490
|
+
});
|
|
30491
|
+
const zVerifyBucketRowsV1Data = z.object({
|
|
30492
|
+
body: zVerifyBucketRowsRequestDto,
|
|
30493
|
+
url: z.literal("/v1/sync/verify/bucket-rows")
|
|
30494
|
+
});
|
|
30495
|
+
const zVerifyRowsV1Data = z.object({
|
|
30496
|
+
body: zVerifyRowsRequestDto,
|
|
30497
|
+
url: z.literal("/v1/sync/verify/rows")
|
|
30498
|
+
});
|
|
30499
|
+
|
|
30436
30500
|
//#endregion
|
|
30437
30501
|
//#region ../sdk/dist/gen/virtual/zod.js
|
|
30438
30502
|
const zCreateVirtualDto = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-BGSTjArY.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-BGSTjArY.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|