@brunyee-studio/onus-cli 2.30.1 → 2.31.0

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.
@@ -940,6 +940,15 @@ function IssuesPost200ResponsePullRequestsInnerFromJSONTyped(json, ignoreDiscrim
940
940
  };
941
941
  }
942
942
 
943
+ // src/generated/models/IssueListItem.ts
944
+ var IssueListItemStatusEnum = {
945
+ BACKLOG: "backlog",
946
+ TODO: "todo",
947
+ IN_PROGRESS: "in_progress",
948
+ DONE: "done",
949
+ CANCELED: "canceled"
950
+ };
951
+
943
952
  // src/generated/models/IssuesBulkPost200Response.ts
944
953
  function IssuesBulkPost200ResponseFromJSON(json) {
945
954
  return IssuesBulkPost200ResponseFromJSONTyped(json, false);
@@ -1207,6 +1216,183 @@ function IssuesPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
1207
1216
  };
1208
1217
  }
1209
1218
 
1219
+ // src/generated/models/KbDocsGet200ResponseDataInnerStaleness.ts
1220
+ function KbDocsGet200ResponseDataInnerStalenessFromJSON(json) {
1221
+ return KbDocsGet200ResponseDataInnerStalenessFromJSONTyped(json, false);
1222
+ }
1223
+ function KbDocsGet200ResponseDataInnerStalenessFromJSONTyped(json, ignoreDiscriminator) {
1224
+ if (json == null) {
1225
+ return json;
1226
+ }
1227
+ return {
1228
+ "stale": json["stale"],
1229
+ "confidence": json["confidence"],
1230
+ "reason": json["reason"]
1231
+ };
1232
+ }
1233
+
1234
+ // src/generated/models/KbDocsGet200ResponseDataInner.ts
1235
+ function KbDocsGet200ResponseDataInnerFromJSON(json) {
1236
+ return KbDocsGet200ResponseDataInnerFromJSONTyped(json, false);
1237
+ }
1238
+ function KbDocsGet200ResponseDataInnerFromJSONTyped(json, ignoreDiscriminator) {
1239
+ if (json == null) {
1240
+ return json;
1241
+ }
1242
+ return {
1243
+ "id": json["id"],
1244
+ "slug": json["slug"],
1245
+ "title": json["title"],
1246
+ "summary": json["summary"],
1247
+ "kind": json["kind"],
1248
+ "ownerType": json["ownerType"],
1249
+ "ownerId": json["ownerId"],
1250
+ "tags": json["tags"],
1251
+ "pathsGoverned": json["pathsGoverned"],
1252
+ "sourceType": json["sourceType"],
1253
+ "status": json["status"],
1254
+ "updatedAt": json["updatedAt"],
1255
+ "staleness": KbDocsGet200ResponseDataInnerStalenessFromJSON(json["staleness"])
1256
+ };
1257
+ }
1258
+
1259
+ // src/generated/models/KbDocsGet200Response.ts
1260
+ function KbDocsGet200ResponseFromJSON(json) {
1261
+ return KbDocsGet200ResponseFromJSONTyped(json, false);
1262
+ }
1263
+ function KbDocsGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1264
+ if (json == null) {
1265
+ return json;
1266
+ }
1267
+ return {
1268
+ "data": json["data"].map(KbDocsGet200ResponseDataInnerFromJSON),
1269
+ "next_cursor": json["next_cursor"]
1270
+ };
1271
+ }
1272
+
1273
+ // src/generated/models/KbDocsIdGet200Response.ts
1274
+ function KbDocsIdGet200ResponseFromJSON(json) {
1275
+ return KbDocsIdGet200ResponseFromJSONTyped(json, false);
1276
+ }
1277
+ function KbDocsIdGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1278
+ if (json == null) {
1279
+ return json;
1280
+ }
1281
+ return {
1282
+ "id": json["id"],
1283
+ "slug": json["slug"],
1284
+ "title": json["title"],
1285
+ "summary": json["summary"],
1286
+ "content": json["content"],
1287
+ "kind": json["kind"],
1288
+ "ownerType": json["ownerType"],
1289
+ "ownerId": json["ownerId"],
1290
+ "tags": json["tags"],
1291
+ "pathsGoverned": json["pathsGoverned"],
1292
+ "sourceType": json["sourceType"],
1293
+ "sourceCommit": json["sourceCommit"],
1294
+ "generatedAt": json["generatedAt"],
1295
+ "humanEditedAt": json["humanEditedAt"],
1296
+ "status": json["status"],
1297
+ "createdAt": json["createdAt"],
1298
+ "updatedAt": json["updatedAt"],
1299
+ "staleness": KbDocsGet200ResponseDataInnerStalenessFromJSON(json["staleness"])
1300
+ };
1301
+ }
1302
+
1303
+ // src/generated/models/KbDocsIdRelatedGet200ResponseResultsInnerMatchedChunksInner.ts
1304
+ function KbDocsIdRelatedGet200ResponseResultsInnerMatchedChunksInnerFromJSON(json) {
1305
+ return KbDocsIdRelatedGet200ResponseResultsInnerMatchedChunksInnerFromJSONTyped(json, false);
1306
+ }
1307
+ function KbDocsIdRelatedGet200ResponseResultsInnerMatchedChunksInnerFromJSONTyped(json, ignoreDiscriminator) {
1308
+ if (json == null) {
1309
+ return json;
1310
+ }
1311
+ return {
1312
+ "chunkIndex": json["chunkIndex"],
1313
+ "snippet": json["snippet"],
1314
+ "score": json["score"]
1315
+ };
1316
+ }
1317
+
1318
+ // src/generated/models/KbDocsIdRelatedGet200ResponseResultsInnerProvenanceRanks.ts
1319
+ function KbDocsIdRelatedGet200ResponseResultsInnerProvenanceRanksFromJSON(json) {
1320
+ return KbDocsIdRelatedGet200ResponseResultsInnerProvenanceRanksFromJSONTyped(json, false);
1321
+ }
1322
+ function KbDocsIdRelatedGet200ResponseResultsInnerProvenanceRanksFromJSONTyped(json, ignoreDiscriminator) {
1323
+ if (json == null) {
1324
+ return json;
1325
+ }
1326
+ return {
1327
+ "string": json["string"] == null ? void 0 : json["string"],
1328
+ "semantic": json["semantic"] == null ? void 0 : json["semantic"]
1329
+ };
1330
+ }
1331
+
1332
+ // src/generated/models/KbDocsIdRelatedGet200ResponseResultsInnerProvenance.ts
1333
+ function KbDocsIdRelatedGet200ResponseResultsInnerProvenanceFromJSON(json) {
1334
+ return KbDocsIdRelatedGet200ResponseResultsInnerProvenanceFromJSONTyped(json, false);
1335
+ }
1336
+ function KbDocsIdRelatedGet200ResponseResultsInnerProvenanceFromJSONTyped(json, ignoreDiscriminator) {
1337
+ if (json == null) {
1338
+ return json;
1339
+ }
1340
+ return {
1341
+ "sourceType": json["sourceType"],
1342
+ "sourceCommit": json["sourceCommit"],
1343
+ "generatedAt": json["generatedAt"],
1344
+ "humanEditedAt": json["humanEditedAt"],
1345
+ "ranks": json["ranks"] == null ? void 0 : KbDocsIdRelatedGet200ResponseResultsInnerProvenanceRanksFromJSON(json["ranks"]),
1346
+ "hopDistance": json["hopDistance"] == null ? void 0 : json["hopDistance"],
1347
+ "relationTypes": json["relationTypes"] == null ? void 0 : json["relationTypes"],
1348
+ "overlapPaths": json["overlapPaths"] == null ? void 0 : json["overlapPaths"],
1349
+ "routedBy": json["routedBy"] == null ? void 0 : json["routedBy"],
1350
+ "confidence": json["confidence"] == null ? void 0 : json["confidence"]
1351
+ };
1352
+ }
1353
+
1354
+ // src/generated/models/KbDocsIdRelatedGet200ResponseResultsInner.ts
1355
+ function KbDocsIdRelatedGet200ResponseResultsInnerFromJSON(json) {
1356
+ return KbDocsIdRelatedGet200ResponseResultsInnerFromJSONTyped(json, false);
1357
+ }
1358
+ function KbDocsIdRelatedGet200ResponseResultsInnerFromJSONTyped(json, ignoreDiscriminator) {
1359
+ if (json == null) {
1360
+ return json;
1361
+ }
1362
+ return {
1363
+ "docId": json["docId"],
1364
+ "slug": json["slug"],
1365
+ "title": json["title"],
1366
+ "summary": json["summary"],
1367
+ "kind": json["kind"],
1368
+ "ownerType": json["ownerType"],
1369
+ "ownerId": json["ownerId"],
1370
+ "tags": json["tags"],
1371
+ "pathsGoverned": json["pathsGoverned"],
1372
+ "score": json["score"],
1373
+ "provenance": KbDocsIdRelatedGet200ResponseResultsInnerProvenanceFromJSON(json["provenance"]),
1374
+ "matchType": json["matchType"] == null ? void 0 : json["matchType"],
1375
+ "matchedChunks": json["matchedChunks"] == null ? void 0 : json["matchedChunks"].map(KbDocsIdRelatedGet200ResponseResultsInnerMatchedChunksInnerFromJSON),
1376
+ "stale": json["stale"],
1377
+ "confidence": json["confidence"]
1378
+ };
1379
+ }
1380
+
1381
+ // src/generated/models/KbDocsIdRelatedGet200Response.ts
1382
+ function KbDocsIdRelatedGet200ResponseFromJSON(json) {
1383
+ return KbDocsIdRelatedGet200ResponseFromJSONTyped(json, false);
1384
+ }
1385
+ function KbDocsIdRelatedGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
1386
+ if (json == null) {
1387
+ return json;
1388
+ }
1389
+ return {
1390
+ "mode": json["mode"],
1391
+ "query": json["query"],
1392
+ "results": json["results"].map(KbDocsIdRelatedGet200ResponseResultsInnerFromJSON)
1393
+ };
1394
+ }
1395
+
1210
1396
  // src/generated/models/LabelsPostRequest.ts
1211
1397
  function LabelsPostRequestToJSON(json) {
1212
1398
  return LabelsPostRequestToJSONTyped(json, false);
@@ -1880,6 +2066,9 @@ var DefaultApi = class extends BaseAPI {
1880
2066
  if (requestParameters["status"] != null) {
1881
2067
  queryParameters["status"] = requestParameters["status"];
1882
2068
  }
2069
+ if (requestParameters["priority"] != null) {
2070
+ queryParameters["priority"] = requestParameters["priority"];
2071
+ }
1883
2072
  if (requestParameters["teamId"] != null) {
1884
2073
  queryParameters["team_id"] = requestParameters["teamId"];
1885
2074
  }
@@ -2549,6 +2738,231 @@ var DefaultApi = class extends BaseAPI {
2549
2738
  const response = await this.issuesPostRaw(requestParameters, initOverrides);
2550
2739
  return await response.value();
2551
2740
  }
2741
+ /**
2742
+ * List knowledge-base docs (read-only): owner/kind/tag filters, keyset pagination via next_cursor. With q, pages flow through string search and are not paginated (cursor+q → 400). Staleness rides every row. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" \'https://onus.example/v1/kb/docs?kind=area&tag=auth&limit=50\' ``` ```bash onus kb list --kind area --tag auth ```
2743
+ * List knowledge-base docs
2744
+ */
2745
+ async kbDocsGetRaw(requestParameters, initOverrides) {
2746
+ const queryParameters = {};
2747
+ if (requestParameters["ownerType"] != null) {
2748
+ queryParameters["owner_type"] = requestParameters["ownerType"];
2749
+ }
2750
+ if (requestParameters["ownerId"] != null) {
2751
+ queryParameters["owner_id"] = requestParameters["ownerId"];
2752
+ }
2753
+ if (requestParameters["kind"] != null) {
2754
+ queryParameters["kind"] = requestParameters["kind"];
2755
+ }
2756
+ if (requestParameters["tag"] != null) {
2757
+ queryParameters["tag"] = requestParameters["tag"];
2758
+ }
2759
+ if (requestParameters["slug"] != null) {
2760
+ queryParameters["slug"] = requestParameters["slug"];
2761
+ }
2762
+ if (requestParameters["q"] != null) {
2763
+ queryParameters["q"] = requestParameters["q"];
2764
+ }
2765
+ if (requestParameters["limit"] != null) {
2766
+ queryParameters["limit"] = requestParameters["limit"];
2767
+ }
2768
+ if (requestParameters["cursor"] != null) {
2769
+ queryParameters["cursor"] = requestParameters["cursor"];
2770
+ }
2771
+ const headerParameters = {};
2772
+ if (this.configuration && this.configuration.accessToken) {
2773
+ const token = this.configuration.accessToken;
2774
+ const tokenString = await token("bearerAuth", []);
2775
+ if (tokenString) {
2776
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2777
+ }
2778
+ }
2779
+ const response = await this.request({
2780
+ path: `/kb/docs`,
2781
+ method: "GET",
2782
+ headers: headerParameters,
2783
+ query: queryParameters
2784
+ }, initOverrides);
2785
+ return new JSONApiResponse(response, (jsonValue) => KbDocsGet200ResponseFromJSON(jsonValue));
2786
+ }
2787
+ /**
2788
+ * List knowledge-base docs (read-only): owner/kind/tag filters, keyset pagination via next_cursor. With q, pages flow through string search and are not paginated (cursor+q → 400). Staleness rides every row. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" \'https://onus.example/v1/kb/docs?kind=area&tag=auth&limit=50\' ``` ```bash onus kb list --kind area --tag auth ```
2789
+ * List knowledge-base docs
2790
+ */
2791
+ async kbDocsGet(requestParameters = {}, initOverrides) {
2792
+ const response = await this.kbDocsGetRaw(requestParameters, initOverrides);
2793
+ return await response.value();
2794
+ }
2795
+ /**
2796
+ * Full doc detail: markdown content, metadata, provenance timestamps and the staleness verdict. Read-only — docs regenerate on merge; there is no write surface. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" https://onus.example/v1/kb/docs/$DOC_ID ``` ```bash onus kb get $DOC_ID ```
2797
+ * Get a knowledge-base doc (content, metadata, staleness)
2798
+ */
2799
+ async kbDocsIdGetRaw(requestParameters, initOverrides) {
2800
+ if (requestParameters["id"] == null) {
2801
+ throw new RequiredError(
2802
+ "id",
2803
+ 'Required parameter "id" was null or undefined when calling kbDocsIdGet().'
2804
+ );
2805
+ }
2806
+ const queryParameters = {};
2807
+ const headerParameters = {};
2808
+ if (this.configuration && this.configuration.accessToken) {
2809
+ const token = this.configuration.accessToken;
2810
+ const tokenString = await token("bearerAuth", []);
2811
+ if (tokenString) {
2812
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2813
+ }
2814
+ }
2815
+ const response = await this.request({
2816
+ path: `/kb/docs/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
2817
+ method: "GET",
2818
+ headers: headerParameters,
2819
+ query: queryParameters
2820
+ }, initOverrides);
2821
+ return new JSONApiResponse(response, (jsonValue) => KbDocsIdGet200ResponseFromJSON(jsonValue));
2822
+ }
2823
+ /**
2824
+ * Full doc detail: markdown content, metadata, provenance timestamps and the staleness verdict. Read-only — docs regenerate on merge; there is no write surface. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" https://onus.example/v1/kb/docs/$DOC_ID ``` ```bash onus kb get $DOC_ID ```
2825
+ * Get a knowledge-base doc (content, metadata, staleness)
2826
+ */
2827
+ async kbDocsIdGet(requestParameters, initOverrides) {
2828
+ const response = await this.kbDocsIdGetRaw(requestParameters, initOverrides);
2829
+ return await response.value();
2830
+ }
2831
+ /**
2832
+ * Expand related docs from a seed doc: kb_doc_links traversal (depth ≤ 3, cycle-safe) plus paths_governed overlap. An invisible/unknown seed yields an empty result. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" \'https://onus.example/v1/kb/docs/$DOC_ID/related?depth=3\' ``` ```bash onus kb related $DOC_ID ```
2833
+ * Expand related docs from a seed doc
2834
+ */
2835
+ async kbDocsIdRelatedGetRaw(requestParameters, initOverrides) {
2836
+ if (requestParameters["id"] == null) {
2837
+ throw new RequiredError(
2838
+ "id",
2839
+ 'Required parameter "id" was null or undefined when calling kbDocsIdRelatedGet().'
2840
+ );
2841
+ }
2842
+ const queryParameters = {};
2843
+ if (requestParameters["depth"] != null) {
2844
+ queryParameters["depth"] = requestParameters["depth"];
2845
+ }
2846
+ const headerParameters = {};
2847
+ if (this.configuration && this.configuration.accessToken) {
2848
+ const token = this.configuration.accessToken;
2849
+ const tokenString = await token("bearerAuth", []);
2850
+ if (tokenString) {
2851
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2852
+ }
2853
+ }
2854
+ const response = await this.request({
2855
+ path: `/kb/docs/{id}/related`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
2856
+ method: "GET",
2857
+ headers: headerParameters,
2858
+ query: queryParameters
2859
+ }, initOverrides);
2860
+ return new JSONApiResponse(response, (jsonValue) => KbDocsIdRelatedGet200ResponseFromJSON(jsonValue));
2861
+ }
2862
+ /**
2863
+ * Expand related docs from a seed doc: kb_doc_links traversal (depth ≤ 3, cycle-safe) plus paths_governed overlap. An invisible/unknown seed yields an empty result. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" \'https://onus.example/v1/kb/docs/$DOC_ID/related?depth=3\' ``` ```bash onus kb related $DOC_ID ```
2864
+ * Expand related docs from a seed doc
2865
+ */
2866
+ async kbDocsIdRelatedGet(requestParameters, initOverrides) {
2867
+ const response = await this.kbDocsIdRelatedGetRaw(requestParameters, initOverrides);
2868
+ return await response.value();
2869
+ }
2870
+ /**
2871
+ * Agent routing: classify an issue (or raw query) into relevant docs with calibrated confidence; low confidence falls back to semantic search. Accepts exactly one of issue / q. Locate first, then read the returned docs. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" \'https://onus.example/v1/kb/locate?issue=$ISSUE_ID\' ``` ```bash onus kb locate --issue $ISSUE_ID ```
2872
+ * Locate docs for an issue or query (agent routing)
2873
+ */
2874
+ async kbLocateGetRaw(requestParameters, initOverrides) {
2875
+ const queryParameters = {};
2876
+ if (requestParameters["issue"] != null) {
2877
+ queryParameters["issue"] = requestParameters["issue"];
2878
+ }
2879
+ if (requestParameters["q"] != null) {
2880
+ queryParameters["q"] = requestParameters["q"];
2881
+ }
2882
+ const headerParameters = {};
2883
+ if (this.configuration && this.configuration.accessToken) {
2884
+ const token = this.configuration.accessToken;
2885
+ const tokenString = await token("bearerAuth", []);
2886
+ if (tokenString) {
2887
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2888
+ }
2889
+ }
2890
+ const response = await this.request({
2891
+ path: `/kb/locate`,
2892
+ method: "GET",
2893
+ headers: headerParameters,
2894
+ query: queryParameters
2895
+ }, initOverrides);
2896
+ return new JSONApiResponse(response, (jsonValue) => KbDocsIdRelatedGet200ResponseFromJSON(jsonValue));
2897
+ }
2898
+ /**
2899
+ * Agent routing: classify an issue (or raw query) into relevant docs with calibrated confidence; low confidence falls back to semantic search. Accepts exactly one of issue / q. Locate first, then read the returned docs. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" \'https://onus.example/v1/kb/locate?issue=$ISSUE_ID\' ``` ```bash onus kb locate --issue $ISSUE_ID ```
2900
+ * Locate docs for an issue or query (agent routing)
2901
+ */
2902
+ async kbLocateGet(requestParameters = {}, initOverrides) {
2903
+ const response = await this.kbLocateGetRaw(requestParameters, initOverrides);
2904
+ return await response.value();
2905
+ }
2906
+ /**
2907
+ * Search docs across modes: string (default), semantic, hybrid, related. mode=related requires doc_id (seed doc). Returns scored results with snippets, match provenance and staleness. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" \'https://onus.example/v1/kb/search?q=auth+flow&mode=hybrid&limit=10\' ``` ```bash onus kb search \"auth flow\" --mode hybrid ```
2908
+ * Search knowledge-base docs (scored results + snippets)
2909
+ */
2910
+ async kbSearchGetRaw(requestParameters, initOverrides) {
2911
+ if (requestParameters["q"] == null) {
2912
+ throw new RequiredError(
2913
+ "q",
2914
+ 'Required parameter "q" was null or undefined when calling kbSearchGet().'
2915
+ );
2916
+ }
2917
+ const queryParameters = {};
2918
+ if (requestParameters["q"] != null) {
2919
+ queryParameters["q"] = requestParameters["q"];
2920
+ }
2921
+ if (requestParameters["mode"] != null) {
2922
+ queryParameters["mode"] = requestParameters["mode"];
2923
+ }
2924
+ if (requestParameters["docId"] != null) {
2925
+ queryParameters["doc_id"] = requestParameters["docId"];
2926
+ }
2927
+ if (requestParameters["ownerType"] != null) {
2928
+ queryParameters["owner_type"] = requestParameters["ownerType"];
2929
+ }
2930
+ if (requestParameters["ownerId"] != null) {
2931
+ queryParameters["owner_id"] = requestParameters["ownerId"];
2932
+ }
2933
+ if (requestParameters["kind"] != null) {
2934
+ queryParameters["kind"] = requestParameters["kind"];
2935
+ }
2936
+ if (requestParameters["tag"] != null) {
2937
+ queryParameters["tag"] = requestParameters["tag"];
2938
+ }
2939
+ if (requestParameters["limit"] != null) {
2940
+ queryParameters["limit"] = requestParameters["limit"];
2941
+ }
2942
+ const headerParameters = {};
2943
+ if (this.configuration && this.configuration.accessToken) {
2944
+ const token = this.configuration.accessToken;
2945
+ const tokenString = await token("bearerAuth", []);
2946
+ if (tokenString) {
2947
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2948
+ }
2949
+ }
2950
+ const response = await this.request({
2951
+ path: `/kb/search`,
2952
+ method: "GET",
2953
+ headers: headerParameters,
2954
+ query: queryParameters
2955
+ }, initOverrides);
2956
+ return new JSONApiResponse(response, (jsonValue) => KbDocsIdRelatedGet200ResponseFromJSON(jsonValue));
2957
+ }
2958
+ /**
2959
+ * Search docs across modes: string (default), semantic, hybrid, related. mode=related requires doc_id (seed doc). Returns scored results with snippets, match provenance and staleness. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" \'https://onus.example/v1/kb/search?q=auth+flow&mode=hybrid&limit=10\' ``` ```bash onus kb search \"auth flow\" --mode hybrid ```
2960
+ * Search knowledge-base docs (scored results + snippets)
2961
+ */
2962
+ async kbSearchGet(requestParameters, initOverrides) {
2963
+ const response = await this.kbSearchGetRaw(requestParameters, initOverrides);
2964
+ return await response.value();
2965
+ }
2552
2966
  /**
2553
2967
  * List labels across visible teams. ```bash curl -H \"Authorization: Bearer $ONUS_TOKEN\" https://onus.example/v1/labels ``` ```bash onus label list ```
2554
2968
  * List labels
@@ -3118,6 +3532,13 @@ var DefaultApi = class extends BaseAPI {
3118
3532
  return await response.value();
3119
3533
  }
3120
3534
  };
3535
+ var IssuesGetPriorityEnum = {
3536
+ NONE: "none",
3537
+ URGENT: "urgent",
3538
+ HIGH: "high",
3539
+ MEDIUM: "medium",
3540
+ LOW: "low"
3541
+ };
3121
3542
 
3122
3543
  // src/oauth.ts
3123
3544
  import http from "http";
@@ -3630,5 +4051,7 @@ function createApiClient(options = {}) {
3630
4051
  export {
3631
4052
  cliVersion,
3632
4053
  loginWithOAuth,
4054
+ IssueListItemStatusEnum,
4055
+ IssuesGetPriorityEnum,
3633
4056
  createApiClient
3634
4057
  };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createApiClient
4
- } from "./chunk-NQJIFUZV.js";
4
+ } from "./chunk-35HNSEP2.js";
5
5
  import "./chunk-HE2HTZ3Y.js";
6
6
  export {
7
7
  createApiClient