@levr-one/cli 0.9.9 → 0.9.11

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 CHANGED
@@ -213,7 +213,7 @@ Examples:
213
213
  aliases: { d: "device-code" }
214
214
  },
215
215
  loader: async () => {
216
- const { loginHandler } = await import("./loginHandler-AdcUcVoq.js");
216
+ const { loginHandler } = await import("./loginHandler-CORhO7SH.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-lVPPcJHb.js");
255
+ const { statusHandler } = await import("./statusHandler-DC1bfcrN.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-C-42yeMr.js");
367
+ const { pushHandler } = await import("./pushHandler-C0U3Q8Tp.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-2L-HP0-P.js");
487
+ const { importHandler } = await import("./importHandler-DIQ73h08.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-id-02t8Q.js");
508
+ const { listHandler } = await import("./listHandler-BJxEIkd6.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-Cn6PA43d.js");
541
+ const { selectHandler } = await import("./selectHandler-Asn9ElGw.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.9";
565
+ var version = "0.9.11";
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-DUw8EZvY.js";
2
+ import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-DXyc1fWZ.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-Cx09xvF7.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-DCnQrM2H.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-DUw8EZvY.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-DXyc1fWZ.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-DUw8EZvY.js";
2
+ import { configureClient } from "./sdk-client-DXyc1fWZ.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-Cx09xvF7.js";
4
+ import { autoSelectWorkspace } from "./resolve-workspace-DCnQrM2H.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-DUw8EZvY.js";
2
+ import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-DXyc1fWZ.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-Cx09xvF7.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-DCnQrM2H.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";
@@ -1,4 +1,4 @@
1
- import { authGetSitesV1 } from "./sdk-client-DUw8EZvY.js";
1
+ import { authGetSitesV1 } from "./sdk-client-DXyc1fWZ.js";
2
2
  import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-DDOxnut1.js";
3
3
 
4
4
  //#region src/workspace/resolve-workspace.ts
@@ -12970,13 +12970,15 @@ const zFolderWithChildrenDto = z.object({
12970
12970
  "Unstarted",
12971
12971
  "Pass",
12972
12972
  "Fail",
12973
- "Cancelled"
12973
+ "Cancelled",
12974
+ "Blocked"
12974
12975
  ]),
12975
12976
  total_results: z.number(),
12976
12977
  pass_count: z.number(),
12977
12978
  fail_count: z.number(),
12978
12979
  unstarted_count: z.number(),
12979
12980
  cancelled_count: z.number(),
12981
+ blocked_count: z.number(),
12980
12982
  is_complete: z.boolean(),
12981
12983
  started_at: z.unknown(),
12982
12984
  ended_at: z.unknown(),
@@ -13040,13 +13042,15 @@ const zRootLevelResponseDto = z.object({
13040
13042
  "Unstarted",
13041
13043
  "Pass",
13042
13044
  "Fail",
13043
- "Cancelled"
13045
+ "Cancelled",
13046
+ "Blocked"
13044
13047
  ]),
13045
13048
  total_results: z.number(),
13046
13049
  pass_count: z.number(),
13047
13050
  fail_count: z.number(),
13048
13051
  unstarted_count: z.number(),
13049
13052
  cancelled_count: z.number(),
13053
+ blocked_count: z.number(),
13050
13054
  is_complete: z.boolean(),
13051
13055
  started_at: z.unknown(),
13052
13056
  ended_at: z.unknown(),
@@ -13131,13 +13135,15 @@ const zFolderChildrenResponseDto = z.object({
13131
13135
  "Unstarted",
13132
13136
  "Pass",
13133
13137
  "Fail",
13134
- "Cancelled"
13138
+ "Cancelled",
13139
+ "Blocked"
13135
13140
  ]),
13136
13141
  total_results: z.number(),
13137
13142
  pass_count: z.number(),
13138
13143
  fail_count: z.number(),
13139
13144
  unstarted_count: z.number(),
13140
13145
  cancelled_count: z.number(),
13146
+ blocked_count: z.number(),
13141
13147
  is_complete: z.boolean(),
13142
13148
  started_at: z.unknown(),
13143
13149
  ended_at: z.unknown(),
@@ -15935,7 +15941,8 @@ const zCreateIssueAutomationTestEvidenceDto = z.object({
15935
15941
  "override",
15936
15942
  "not_applicable",
15937
15943
  "pending",
15938
- "skipped"
15944
+ "skipped",
15945
+ "blocked"
15939
15946
  ]).describe(""),
15940
15947
  automation_status_type: z.enum([
15941
15948
  "passed",
@@ -15978,7 +15985,8 @@ const zResponseIssueAutomationTestEvidenceDto = z.object({
15978
15985
  "override",
15979
15986
  "not_applicable",
15980
15987
  "pending",
15981
- "skipped"
15988
+ "skipped",
15989
+ "blocked"
15982
15990
  ]).describe(""),
15983
15991
  automation_status_type: z.enum([
15984
15992
  "passed",
@@ -16027,7 +16035,8 @@ const zUpdateIssueAutomationTestEvidenceDto = z.object({
16027
16035
  "override",
16028
16036
  "not_applicable",
16029
16037
  "pending",
16030
- "skipped"
16038
+ "skipped",
16039
+ "blocked"
16031
16040
  ]).optional().describe(""),
16032
16041
  automation_status_type: z.enum([
16033
16042
  "passed",
@@ -16718,7 +16727,8 @@ const zCreateIssueTestEvidenceDto = z.object({
16718
16727
  "override",
16719
16728
  "not_applicable",
16720
16729
  "pending",
16721
- "skipped"
16730
+ "skipped",
16731
+ "blocked"
16722
16732
  ]).describe(""),
16723
16733
  status_id: z.string().describe(""),
16724
16734
  context: z.unknown().optional().describe(""),
@@ -16742,7 +16752,8 @@ const zResponseIssueTestEvidenceDto = z.object({
16742
16752
  "override",
16743
16753
  "not_applicable",
16744
16754
  "pending",
16745
- "skipped"
16755
+ "skipped",
16756
+ "blocked"
16746
16757
  ]).describe(""),
16747
16758
  status_id: z.string().describe(""),
16748
16759
  context: z.unknown().optional().describe(""),
@@ -16772,7 +16783,8 @@ const zUpdateIssueTestEvidenceDto = z.object({
16772
16783
  "override",
16773
16784
  "not_applicable",
16774
16785
  "pending",
16775
- "skipped"
16786
+ "skipped",
16787
+ "blocked"
16776
16788
  ]).optional().describe(""),
16777
16789
  status_id: z.string().optional().describe(""),
16778
16790
  context: z.unknown().optional().describe(""),
@@ -24262,7 +24274,8 @@ const zRunApiBatchUpdateRunResultVariantsV1Body = z.object({
24262
24274
  status: z.enum([
24263
24275
  "passed",
24264
24276
  "failed",
24265
- "blocked"
24277
+ "blocked",
24278
+ "skipped"
24266
24279
  ]),
24267
24280
  notes: z.string().optional(),
24268
24281
  duration_ms: z.number().optional(),
@@ -24297,12 +24310,14 @@ const zRunNodeDto = z.object({
24297
24310
  fail_count: z.number().optional(),
24298
24311
  unstarted_count: z.number().optional(),
24299
24312
  cancelled_count: z.number().optional(),
24313
+ blocked_count: z.number().optional(),
24300
24314
  status_counts: z.record(z.string(), z.unknown()).nullable(),
24301
24315
  total_executions: z.number().optional(),
24302
24316
  exec_pass_count: z.number().optional(),
24303
24317
  exec_fail_count: z.number().optional(),
24304
24318
  exec_unstarted_count: z.number().optional(),
24305
24319
  exec_cancelled_count: z.number().optional(),
24320
+ exec_blocked_count: z.number().optional(),
24306
24321
  exec_status_counts: z.record(z.string(), z.unknown()).nullable(),
24307
24322
  total_duration_ms: z.number().nullable(),
24308
24323
  folder_id: z.string().nullable(),
@@ -24393,12 +24408,14 @@ const zRunWithContentDto = z.object({
24393
24408
  fail_count: z.number().optional(),
24394
24409
  unstarted_count: z.number().optional(),
24395
24410
  cancelled_count: z.number().optional(),
24411
+ blocked_count: z.number().optional(),
24396
24412
  status_counts: z.record(z.string(), z.unknown()).nullable(),
24397
24413
  total_executions: z.number().optional(),
24398
24414
  exec_pass_count: z.number().optional(),
24399
24415
  exec_fail_count: z.number().optional(),
24400
24416
  exec_unstarted_count: z.number().optional(),
24401
24417
  exec_cancelled_count: z.number().optional(),
24418
+ exec_blocked_count: z.number().optional(),
24402
24419
  exec_status_counts: z.record(z.string(), z.unknown()).nullable(),
24403
24420
  total_duration_ms: z.number().nullable(),
24404
24421
  folder_id: z.string().nullable(),
@@ -24453,6 +24470,7 @@ const zRunWithContentDto = z.object({
24453
24470
  fail_count: z.number().optional(),
24454
24471
  unstarted_count: z.number().optional(),
24455
24472
  cancelled_count: z.number().optional(),
24473
+ blocked_count: z.number().optional(),
24456
24474
  status_counts: z.record(z.string(), z.unknown()).nullable(),
24457
24475
  created_at: z.unknown(),
24458
24476
  updated_at: z.unknown(),
@@ -24501,6 +24519,7 @@ const zRunResultNodeDto = z.object({
24501
24519
  fail_count: z.number().optional(),
24502
24520
  unstarted_count: z.number().optional(),
24503
24521
  cancelled_count: z.number().optional(),
24522
+ blocked_count: z.number().optional(),
24504
24523
  status_counts: z.record(z.string(), z.unknown()).nullable(),
24505
24524
  created_at: z.unknown(),
24506
24525
  updated_at: z.unknown(),
@@ -27381,7 +27400,8 @@ const zCreateStatusDto = z.object({
27381
27400
  "Unstarted",
27382
27401
  "Pass",
27383
27402
  "Fail",
27384
- "Cancelled"
27403
+ "Cancelled",
27404
+ "Blocked"
27385
27405
  ]).optional().describe(""),
27386
27406
  all_projects: z.boolean().optional().describe(""),
27387
27407
  spoke_key: z.string().nullable().optional().describe("")
@@ -27398,7 +27418,8 @@ const zResponseStatusDto = z.object({
27398
27418
  "Unstarted",
27399
27419
  "Pass",
27400
27420
  "Fail",
27401
- "Cancelled"
27421
+ "Cancelled",
27422
+ "Blocked"
27402
27423
  ]).optional().describe(""),
27403
27424
  all_projects: z.boolean().optional().describe(""),
27404
27425
  spoke_key: z.string().nullable().optional().describe(""),
@@ -27423,7 +27444,8 @@ const zUpdateStatusDto = z.object({
27423
27444
  "Unstarted",
27424
27445
  "Pass",
27425
27446
  "Fail",
27426
- "Cancelled"
27447
+ "Cancelled",
27448
+ "Blocked"
27427
27449
  ]).optional().describe(""),
27428
27450
  all_projects: z.boolean().optional().describe(""),
27429
27451
  spoke_key: z.string().nullable().optional().describe("")
@@ -27620,7 +27642,8 @@ const zStreamingCompleteV1Data = z.object({
27620
27642
  const zBootstrapRequestDto = z.object({ entities: z.array(z.string()).describe("") });
27621
27643
  const zDeltaRequestDto = z.object({
27622
27644
  lastSyncId: z.number().describe(""),
27623
- entity: z.string().optional().describe("")
27645
+ entity: z.string().optional().describe(""),
27646
+ cold_start: z.boolean().optional().describe("")
27624
27647
  });
27625
27648
  const zPriorityBootstrapRequestDto = z.object({
27626
27649
  entity: z.string().describe(""),
@@ -30433,6 +30456,69 @@ const zUserPreferenceRestoreV1Data = z.object({
30433
30456
  url: z.literal("/v1/user-preference/{id}/restore")
30434
30457
  });
30435
30458
 
30459
+ //#endregion
30460
+ //#region ../sdk/dist/gen/verify/zod.js
30461
+ const zVerifyDigestRequestDto = z.object({
30462
+ entity: z.string().describe(""),
30463
+ level: z.union([z.number(), z.number()]).optional().describe("")
30464
+ });
30465
+ const zFoldedDigestDto = z.object({
30466
+ n: z.number().describe(""),
30467
+ maxEpoch: z.number().nullable(),
30468
+ xor: z.string()
30469
+ });
30470
+ const zBucketDigestDto = z.object({
30471
+ bucket: z.string().describe(""),
30472
+ n: z.number().describe(""),
30473
+ maxEpoch: z.number().nullable().describe(""),
30474
+ xor: z.string().describe("")
30475
+ });
30476
+ const zVerifyDigestResponseDto = z.object({
30477
+ entity: z.string(),
30478
+ entity_version: z.string().describe(""),
30479
+ version_key: z.string().describe(""),
30480
+ l1: zFoldedDigestDto,
30481
+ buckets: z.array(zBucketDigestDto).optional().describe(""),
30482
+ cached: z.boolean().describe("")
30483
+ });
30484
+ const zVerifyBucketRowsRequestDto = z.object({
30485
+ entity: z.string().describe(""),
30486
+ buckets: z.array(z.string()).describe(""),
30487
+ after: z.string().optional().describe(""),
30488
+ limit: z.number().optional().describe("")
30489
+ });
30490
+ const zRowRefDto = z.object({
30491
+ id: z.string(),
30492
+ epoch: z.number().nullable()
30493
+ });
30494
+ const zVerifyBucketRowsResponseDto = z.object({
30495
+ rows: z.array(zRowRefDto),
30496
+ next: z.string().nullable().describe("")
30497
+ });
30498
+ const zVerifyRowsRequestDto = z.object({
30499
+ entity: z.string().describe(""),
30500
+ ids: z.array(z.string()).describe("")
30501
+ });
30502
+ const zVerifyRowsResponseDto = z.object({
30503
+ entity: z.string(),
30504
+ entity_version: z.string(),
30505
+ rows: z.array(z.record(z.string(), z.unknown())).describe(""),
30506
+ missing: z.array(z.string()).describe(""),
30507
+ partial: z.boolean().describe("")
30508
+ });
30509
+ const zVerifyDigestV1Data = z.object({
30510
+ body: zVerifyDigestRequestDto,
30511
+ url: z.literal("/v1/sync/verify/digest")
30512
+ });
30513
+ const zVerifyBucketRowsV1Data = z.object({
30514
+ body: zVerifyBucketRowsRequestDto,
30515
+ url: z.literal("/v1/sync/verify/bucket-rows")
30516
+ });
30517
+ const zVerifyRowsV1Data = z.object({
30518
+ body: zVerifyRowsRequestDto,
30519
+ url: z.literal("/v1/sync/verify/rows")
30520
+ });
30521
+
30436
30522
  //#endregion
30437
30523
  //#region ../sdk/dist/gen/virtual/zod.js
30438
30524
  const zCreateVirtualDto = z.object({
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-DUw8EZvY.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-DXyc1fWZ.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-DUw8EZvY.js";
2
+ import { authGetProfileV1, configureClient } from "./sdk-client-DXyc1fWZ.js";
3
3
  import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
4
4
  import chalk from "chalk";
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levr-one/cli",
3
- "version": "0.9.9",
3
+ "version": "0.9.11",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",