@veltrosecurity/sdk 0.15.30 → 0.17.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.
package/dist/index.d.cts CHANGED
@@ -295,11 +295,6 @@ declare class ChadAuditSettings extends Resource {
295
295
  /** PUT /api/audit-settings — Update Audit Settings. */
296
296
  update<T = unknown>(options?: RequestOptions): Promise<T>;
297
297
  }
298
- /** `chad` resource `authority_revisions`. */
299
- declare class ChadAuthorityRevisions extends Resource {
300
- /** POST /api/authority/revisions — Ingest Authority Revisions. */
301
- ingest<T = unknown>(options?: RequestOptions): Promise<T>;
302
- }
303
298
  /** `chad` resource `circuit_breakers`. */
304
299
  declare class ChadCircuitBreakers extends Resource {
305
300
  /** GET /api/circuit-breakers — List Circuit Breakers. */
@@ -606,8 +601,6 @@ declare class ChadHealth extends Resource {
606
601
  clusterReindex<T = unknown>(options?: RequestOptions): Promise<T>;
607
602
  /** POST /api/health/cluster/retry-failed-shards — Cluster Retry Failed Shards. */
608
603
  clusterRetryFailedShards<T = unknown>(options?: RequestOptions): Promise<T>;
609
- /** GET /api/health/authority-revision — Get Authority Revision Health. */
610
- getAuthorityRevision<T = unknown>(options?: RequestOptions): Promise<T>;
611
604
  /** GET /api/health/cluster — Get Cluster Health. */
612
605
  getCluster<T = unknown>(options?: RequestOptions): Promise<T>;
613
606
  /** GET /api/health/indices/{data_source_id} — Get Data Source Health. */
@@ -1328,11 +1321,6 @@ declare class WardenAudit extends Resource {
1328
1321
  /** GET /api/audit/verify — Verify Audit Chain. */
1329
1322
  verifyAuditChain<T = unknown>(options?: RequestOptions): Promise<T>;
1330
1323
  }
1331
- /** `warden` resource `authority_revisions`. */
1332
- declare class WardenAuthorityRevisions extends Resource {
1333
- /** POST /api/authority/revisions — Ingest Authority Revisions. */
1334
- ingest<T = unknown>(options?: RequestOptions): Promise<T>;
1335
- }
1336
1324
  /** `warden` resource `bindings`. */
1337
1325
  declare class WardenBindings extends Resource {
1338
1326
  /** POST /api/bindings — Create Binding. */
@@ -1723,7 +1711,6 @@ declare class ChadResources {
1723
1711
  readonly attackNarratives: ChadAttackNarratives;
1724
1712
  readonly audit: ChadAudit;
1725
1713
  readonly auditSettings: ChadAuditSettings;
1726
- readonly authorityRevisions: ChadAuthorityRevisions;
1727
1714
  readonly circuitBreakers: ChadCircuitBreakers;
1728
1715
  readonly compliance: ChadCompliance;
1729
1716
  readonly contentUpdates: ChadContentUpdates;
@@ -1798,7 +1785,6 @@ declare class WardenResources {
1798
1785
  readonly alerts: WardenAlerts;
1799
1786
  readonly approvals: WardenApprovals;
1800
1787
  readonly audit: WardenAudit;
1801
- readonly authorityRevisions: WardenAuthorityRevisions;
1802
1788
  readonly bindings: WardenBindings;
1803
1789
  readonly capacity: WardenCapacity;
1804
1790
  readonly casePolicies: WardenCasePolicies;
@@ -1922,6 +1908,6 @@ declare class VeltroClient {
1922
1908
  * No runtime dependencies: the transport is `fetch`.
1923
1909
  */
1924
1910
 
1925
- declare const VERSION = "0.15.30";
1911
+ declare const VERSION = "0.17.0";
1926
1912
 
1927
1913
  export { type Auth, BearerToken, ChadClient, ChadResources, DEFAULT_MAX_RESPONSE_BYTES, DEFAULT_RETRIES, DEFAULT_TIMEOUT_MS, MissingCredentialError, NoAuth, type ProductClientOptions, type QueryValue, type RequestOptions, Resource, SESSION_COOKIE_PREFIX, SUITE_PREFIXES, SuiteSession, type SuiteSessionOptions, Transport, type TransportOptions, VERSION, VectorFlowClient, VectorflowResources, VeltroApiError, VeltroClient, type VeltroClientOptions, VeltroError, type VeltroLoginOptions, VeltroResponseTooLargeError, VeltroTransportError, WardenClient, WardenResources, quoteSegment };
package/dist/index.d.ts CHANGED
@@ -295,11 +295,6 @@ declare class ChadAuditSettings extends Resource {
295
295
  /** PUT /api/audit-settings — Update Audit Settings. */
296
296
  update<T = unknown>(options?: RequestOptions): Promise<T>;
297
297
  }
298
- /** `chad` resource `authority_revisions`. */
299
- declare class ChadAuthorityRevisions extends Resource {
300
- /** POST /api/authority/revisions — Ingest Authority Revisions. */
301
- ingest<T = unknown>(options?: RequestOptions): Promise<T>;
302
- }
303
298
  /** `chad` resource `circuit_breakers`. */
304
299
  declare class ChadCircuitBreakers extends Resource {
305
300
  /** GET /api/circuit-breakers — List Circuit Breakers. */
@@ -606,8 +601,6 @@ declare class ChadHealth extends Resource {
606
601
  clusterReindex<T = unknown>(options?: RequestOptions): Promise<T>;
607
602
  /** POST /api/health/cluster/retry-failed-shards — Cluster Retry Failed Shards. */
608
603
  clusterRetryFailedShards<T = unknown>(options?: RequestOptions): Promise<T>;
609
- /** GET /api/health/authority-revision — Get Authority Revision Health. */
610
- getAuthorityRevision<T = unknown>(options?: RequestOptions): Promise<T>;
611
604
  /** GET /api/health/cluster — Get Cluster Health. */
612
605
  getCluster<T = unknown>(options?: RequestOptions): Promise<T>;
613
606
  /** GET /api/health/indices/{data_source_id} — Get Data Source Health. */
@@ -1328,11 +1321,6 @@ declare class WardenAudit extends Resource {
1328
1321
  /** GET /api/audit/verify — Verify Audit Chain. */
1329
1322
  verifyAuditChain<T = unknown>(options?: RequestOptions): Promise<T>;
1330
1323
  }
1331
- /** `warden` resource `authority_revisions`. */
1332
- declare class WardenAuthorityRevisions extends Resource {
1333
- /** POST /api/authority/revisions — Ingest Authority Revisions. */
1334
- ingest<T = unknown>(options?: RequestOptions): Promise<T>;
1335
- }
1336
1324
  /** `warden` resource `bindings`. */
1337
1325
  declare class WardenBindings extends Resource {
1338
1326
  /** POST /api/bindings — Create Binding. */
@@ -1723,7 +1711,6 @@ declare class ChadResources {
1723
1711
  readonly attackNarratives: ChadAttackNarratives;
1724
1712
  readonly audit: ChadAudit;
1725
1713
  readonly auditSettings: ChadAuditSettings;
1726
- readonly authorityRevisions: ChadAuthorityRevisions;
1727
1714
  readonly circuitBreakers: ChadCircuitBreakers;
1728
1715
  readonly compliance: ChadCompliance;
1729
1716
  readonly contentUpdates: ChadContentUpdates;
@@ -1798,7 +1785,6 @@ declare class WardenResources {
1798
1785
  readonly alerts: WardenAlerts;
1799
1786
  readonly approvals: WardenApprovals;
1800
1787
  readonly audit: WardenAudit;
1801
- readonly authorityRevisions: WardenAuthorityRevisions;
1802
1788
  readonly bindings: WardenBindings;
1803
1789
  readonly capacity: WardenCapacity;
1804
1790
  readonly casePolicies: WardenCasePolicies;
@@ -1922,6 +1908,6 @@ declare class VeltroClient {
1922
1908
  * No runtime dependencies: the transport is `fetch`.
1923
1909
  */
1924
1910
 
1925
- declare const VERSION = "0.15.30";
1911
+ declare const VERSION = "0.17.0";
1926
1912
 
1927
1913
  export { type Auth, BearerToken, ChadClient, ChadResources, DEFAULT_MAX_RESPONSE_BYTES, DEFAULT_RETRIES, DEFAULT_TIMEOUT_MS, MissingCredentialError, NoAuth, type ProductClientOptions, type QueryValue, type RequestOptions, Resource, SESSION_COOKIE_PREFIX, SUITE_PREFIXES, SuiteSession, type SuiteSessionOptions, Transport, type TransportOptions, VERSION, VectorFlowClient, VectorflowResources, VeltroApiError, VeltroClient, type VeltroClientOptions, VeltroError, type VeltroLoginOptions, VeltroResponseTooLargeError, VeltroTransportError, WardenClient, WardenResources, quoteSegment };
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ var DEFAULT_MAX_RESPONSE_BYTES = 32 * 1024 * 1024;
4
4
  var DEFAULT_RETRIES = 2;
5
5
  var RETRY_STATUSES = /* @__PURE__ */ new Set([429, 502, 503, 504]);
6
6
  var RETRY_METHODS = /* @__PURE__ */ new Set(["GET", "HEAD", "OPTIONS", "PUT", "DELETE"]);
7
- var USER_AGENT = "veltro-sdk/0.15.30 (+https://github.com/veltrosecurity/veltro)";
7
+ var USER_AGENT = "veltro-sdk/0.17.0 (+https://github.com/veltrosecurity/veltro)";
8
8
  var VeltroError = class extends Error {
9
9
  constructor(message) {
10
10
  super(message);
@@ -698,12 +698,6 @@ var ChadAuditSettings = class extends Resource {
698
698
  return this.request("PUT", "/api/audit-settings", options);
699
699
  }
700
700
  };
701
- var ChadAuthorityRevisions = class extends Resource {
702
- /** POST /api/authority/revisions — Ingest Authority Revisions. */
703
- ingest(options = {}) {
704
- return this.request("POST", "/api/authority/revisions", options);
705
- }
706
- };
707
701
  var ChadCircuitBreakers = class extends Resource {
708
702
  /** GET /api/circuit-breakers — List Circuit Breakers. */
709
703
  list(options = {}) {
@@ -1249,10 +1243,6 @@ var ChadHealth = class extends Resource {
1249
1243
  clusterRetryFailedShards(options = {}) {
1250
1244
  return this.request("POST", "/api/health/cluster/retry-failed-shards", options);
1251
1245
  }
1252
- /** GET /api/health/authority-revision — Get Authority Revision Health. */
1253
- getAuthorityRevision(options = {}) {
1254
- return this.request("GET", "/api/health/authority-revision", options);
1255
- }
1256
1246
  /** GET /api/health/cluster — Get Cluster Health. */
1257
1247
  getCluster(options = {}) {
1258
1248
  return this.request("GET", "/api/health/cluster", options);
@@ -2496,12 +2486,6 @@ var WardenAudit = class extends Resource {
2496
2486
  return this.request("GET", "/api/audit/verify", options);
2497
2487
  }
2498
2488
  };
2499
- var WardenAuthorityRevisions = class extends Resource {
2500
- /** POST /api/authority/revisions — Ingest Authority Revisions. */
2501
- ingest(options = {}) {
2502
- return this.request("POST", "/api/authority/revisions", options);
2503
- }
2504
- };
2505
2489
  var WardenBindings = class extends Resource {
2506
2490
  /** POST /api/bindings — Create Binding. */
2507
2491
  create(options = {}) {
@@ -3177,7 +3161,6 @@ var ChadResources = class {
3177
3161
  attackNarratives;
3178
3162
  audit;
3179
3163
  auditSettings;
3180
- authorityRevisions;
3181
3164
  circuitBreakers;
3182
3165
  compliance;
3183
3166
  contentUpdates;
@@ -3235,7 +3218,6 @@ var ChadResources = class {
3235
3218
  this.attackNarratives = new ChadAttackNarratives(transport);
3236
3219
  this.audit = new ChadAudit(transport);
3237
3220
  this.auditSettings = new ChadAuditSettings(transport);
3238
- this.authorityRevisions = new ChadAuthorityRevisions(transport);
3239
3221
  this.circuitBreakers = new ChadCircuitBreakers(transport);
3240
3222
  this.compliance = new ChadCompliance(transport);
3241
3223
  this.contentUpdates = new ChadContentUpdates(transport);
@@ -3318,7 +3300,6 @@ var WardenResources = class {
3318
3300
  alerts;
3319
3301
  approvals;
3320
3302
  audit;
3321
- authorityRevisions;
3322
3303
  bindings;
3323
3304
  capacity;
3324
3305
  casePolicies;
@@ -3351,7 +3332,6 @@ var WardenResources = class {
3351
3332
  this.alerts = new WardenAlerts(transport);
3352
3333
  this.approvals = new WardenApprovals(transport);
3353
3334
  this.audit = new WardenAudit(transport);
3354
- this.authorityRevisions = new WardenAuthorityRevisions(transport);
3355
3335
  this.bindings = new WardenBindings(transport);
3356
3336
  this.capacity = new WardenCapacity(transport);
3357
3337
  this.casePolicies = new WardenCasePolicies(transport);
@@ -3498,7 +3478,7 @@ var VeltroClient = class _VeltroClient {
3498
3478
  };
3499
3479
 
3500
3480
  // src/index.ts
3501
- var VERSION = "0.15.30";
3481
+ var VERSION = "0.17.0";
3502
3482
  export {
3503
3483
  BearerToken,
3504
3484
  ChadClient,