@zksecurity/zkao-sdk 0.5.0 → 0.5.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +14 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -610,7 +610,7 @@ interface components {
610
610
  ref: string;
611
611
  name: string;
612
612
  description?: string | null;
613
- /** @description 0 = use the default floor. */
613
+ /** @description Minimum budget for a launch that names no optInFlowIds. Adding a flow raises it. 0 = use the default floor. */
614
614
  minCredits: number;
615
615
  modelTier: string;
616
616
  };
@@ -842,6 +842,7 @@ interface components {
842
842
  parameters: {
843
843
  ProjectId: string;
844
844
  ScanId: string;
845
+ /** @description The finding id, or the `ZK-` label shown on the finding page (the id's last eight characters, prefix optional). A label that matches more than one finding in the project is refused with `409 conflict`; use the full id. */
845
846
  FindingId: string;
846
847
  RepositoryId: string;
847
848
  Page: number;
@@ -1184,6 +1185,7 @@ interface operations {
1184
1185
  header?: never;
1185
1186
  path: {
1186
1187
  projectId: components["parameters"]["ProjectId"];
1188
+ /** @description The finding id, or the `ZK-` label shown on the finding page (the id's last eight characters, prefix optional). A label that matches more than one finding in the project is refused with `409 conflict`; use the full id. */
1187
1189
  findingId: components["parameters"]["FindingId"];
1188
1190
  };
1189
1191
  cookie?: never;
@@ -1204,6 +1206,7 @@ interface operations {
1204
1206
  401: components["responses"]["Unauthorized"];
1205
1207
  403: components["responses"]["Forbidden"];
1206
1208
  404: components["responses"]["NotFound"];
1209
+ 409: components["responses"]["Conflict"];
1207
1210
  };
1208
1211
  };
1209
1212
  addFindingNote: {
@@ -1212,6 +1215,7 @@ interface operations {
1212
1215
  header?: never;
1213
1216
  path: {
1214
1217
  projectId: components["parameters"]["ProjectId"];
1218
+ /** @description The finding id, or the `ZK-` label shown on the finding page (the id's last eight characters, prefix optional). A label that matches more than one finding in the project is refused with `409 conflict`; use the full id. */
1215
1219
  findingId: components["parameters"]["FindingId"];
1216
1220
  };
1217
1221
  cookie?: never;
@@ -1238,6 +1242,7 @@ interface operations {
1238
1242
  401: components["responses"]["Unauthorized"];
1239
1243
  403: components["responses"]["Forbidden"];
1240
1244
  404: components["responses"]["NotFound"];
1245
+ 409: components["responses"]["Conflict"];
1241
1246
  };
1242
1247
  };
1243
1248
  pinFindingNote: {
@@ -1246,6 +1251,7 @@ interface operations {
1246
1251
  header?: never;
1247
1252
  path: {
1248
1253
  projectId: components["parameters"]["ProjectId"];
1254
+ /** @description The finding id, or the `ZK-` label shown on the finding page (the id's last eight characters, prefix optional). A label that matches more than one finding in the project is refused with `409 conflict`; use the full id. */
1249
1255
  findingId: components["parameters"]["FindingId"];
1250
1256
  noteId: string;
1251
1257
  };
@@ -1273,6 +1279,7 @@ interface operations {
1273
1279
  401: components["responses"]["Unauthorized"];
1274
1280
  403: components["responses"]["Forbidden"];
1275
1281
  404: components["responses"]["NotFound"];
1282
+ 409: components["responses"]["Conflict"];
1276
1283
  };
1277
1284
  };
1278
1285
  updateFindingSeverity: {
@@ -1281,6 +1288,7 @@ interface operations {
1281
1288
  header?: never;
1282
1289
  path: {
1283
1290
  projectId: components["parameters"]["ProjectId"];
1291
+ /** @description The finding id, or the `ZK-` label shown on the finding page (the id's last eight characters, prefix optional). A label that matches more than one finding in the project is refused with `409 conflict`; use the full id. */
1284
1292
  findingId: components["parameters"]["FindingId"];
1285
1293
  };
1286
1294
  cookie?: never;
@@ -1307,6 +1315,7 @@ interface operations {
1307
1315
  401: components["responses"]["Unauthorized"];
1308
1316
  403: components["responses"]["Forbidden"];
1309
1317
  404: components["responses"]["NotFound"];
1318
+ 409: components["responses"]["Conflict"];
1310
1319
  };
1311
1320
  };
1312
1321
  updateFindingResolution: {
@@ -1315,6 +1324,7 @@ interface operations {
1315
1324
  header?: never;
1316
1325
  path: {
1317
1326
  projectId: components["parameters"]["ProjectId"];
1327
+ /** @description The finding id, or the `ZK-` label shown on the finding page (the id's last eight characters, prefix optional). A label that matches more than one finding in the project is refused with `409 conflict`; use the full id. */
1318
1328
  findingId: components["parameters"]["FindingId"];
1319
1329
  };
1320
1330
  cookie?: never;
@@ -1342,6 +1352,7 @@ interface operations {
1342
1352
  401: components["responses"]["Unauthorized"];
1343
1353
  403: components["responses"]["Forbidden"];
1344
1354
  404: components["responses"]["NotFound"];
1355
+ 409: components["responses"]["Conflict"];
1345
1356
  };
1346
1357
  };
1347
1358
  publishFinding: {
@@ -1350,6 +1361,7 @@ interface operations {
1350
1361
  header?: never;
1351
1362
  path: {
1352
1363
  projectId: components["parameters"]["ProjectId"];
1364
+ /** @description The finding id, or the `ZK-` label shown on the finding page (the id's last eight characters, prefix optional). A label that matches more than one finding in the project is refused with `409 conflict`; use the full id. */
1353
1365
  findingId: components["parameters"]["FindingId"];
1354
1366
  };
1355
1367
  cookie?: never;
@@ -1373,6 +1385,7 @@ interface operations {
1373
1385
  401: components["responses"]["Unauthorized"];
1374
1386
  403: components["responses"]["Forbidden"];
1375
1387
  404: components["responses"]["NotFound"];
1388
+ 409: components["responses"]["Conflict"];
1376
1389
  };
1377
1390
  };
1378
1391
  publishScan: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zksecurity/zkao-sdk",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "TypeScript SDK for the zkao Project API",
5
5
  "license": "MIT",
6
6
  "author": "zkSecurity",