@devhelm/sdk 0.4.0 → 0.5.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.
@@ -376,6 +376,103 @@ export interface paths {
376
376
  patch?: never;
377
377
  trace?: never;
378
378
  };
379
+ "/api/v1/forensics/incidents/{id}/timeline": {
380
+ parameters: {
381
+ query?: never;
382
+ header?: never;
383
+ path?: never;
384
+ cookie?: never;
385
+ };
386
+ /**
387
+ * Full forensic timeline for an incident
388
+ * @description Returns every state-machine transition for this incident plus the rule evaluations that caused each transition, plus the policy snapshot that triggered confirmation. Correlate evaluations to transitions via evaluation.triggeringTransitionId == transition.id.
389
+ */
390
+ get: operations["getTimeline"];
391
+ put?: never;
392
+ post?: never;
393
+ delete?: never;
394
+ options?: never;
395
+ head?: never;
396
+ patch?: never;
397
+ trace?: never;
398
+ };
399
+ "/api/v1/forensics/monitors/{id}/rule-evaluations": {
400
+ parameters: {
401
+ query?: never;
402
+ header?: never;
403
+ path?: never;
404
+ cookie?: never;
405
+ };
406
+ /**
407
+ * Paged list of rule evaluations for a monitor
408
+ * @description Filter by ruleType (e.g. consecutive_failures), region, onlyMatched=true to narrow to firing evaluations, and occurredAt window.
409
+ */
410
+ get: operations["listMonitorRuleEvaluations"];
411
+ put?: never;
412
+ post?: never;
413
+ delete?: never;
414
+ options?: never;
415
+ head?: never;
416
+ patch?: never;
417
+ trace?: never;
418
+ };
419
+ "/api/v1/forensics/monitors/{id}/transitions": {
420
+ parameters: {
421
+ query?: never;
422
+ header?: never;
423
+ path?: never;
424
+ cookie?: never;
425
+ };
426
+ /** Paged list of state transitions for a monitor (optionally time-bounded) */
427
+ get: operations["listMonitorTransitions"];
428
+ put?: never;
429
+ post?: never;
430
+ delete?: never;
431
+ options?: never;
432
+ head?: never;
433
+ patch?: never;
434
+ trace?: never;
435
+ };
436
+ "/api/v1/forensics/policy-snapshots/{hashHex}": {
437
+ parameters: {
438
+ query?: never;
439
+ header?: never;
440
+ path?: never;
441
+ cookie?: never;
442
+ };
443
+ /**
444
+ * Fetch a policy snapshot by its content hash
445
+ * @description Hash is SHA-256 over canonical policy JSON, hex-encoded. Access is gated: caller's org must have evaluated against this hash at least once.
446
+ */
447
+ get: operations["getPolicySnapshot"];
448
+ put?: never;
449
+ post?: never;
450
+ delete?: never;
451
+ options?: never;
452
+ head?: never;
453
+ patch?: never;
454
+ trace?: never;
455
+ };
456
+ "/api/v1/forensics/traces/{checkId}": {
457
+ parameters: {
458
+ query?: never;
459
+ header?: never;
460
+ path?: never;
461
+ cookie?: never;
462
+ };
463
+ /**
464
+ * Replay a single check execution
465
+ * @description Returns every rule evaluation and state transition emitted for this scheduler-minted check_id (V92), plus the policy snapshot that governed them.
466
+ */
467
+ get: operations["getTrace"];
468
+ put?: never;
469
+ post?: never;
470
+ delete?: never;
471
+ options?: never;
472
+ head?: never;
473
+ patch?: never;
474
+ trace?: never;
475
+ };
379
476
  "/api/v1/heartbeat/{token}": {
380
477
  parameters: {
381
478
  query?: never;
@@ -2621,16 +2718,15 @@ export interface components {
2621
2718
  resourceId?: string | null;
2622
2719
  /** @description Human-readable name of the affected resource */
2623
2720
  resourceName?: string | null;
2624
- /** @description Additional context about the action */
2625
- metadata?: {
2626
- [key: string]: Record<string, never> | null;
2627
- } | null;
2721
+ metadata?: Omit<components["schemas"]["AuditMetadata"], "kind"> | null;
2628
2722
  /**
2629
2723
  * Format: date-time
2630
2724
  * @description Timestamp when the action was performed
2631
2725
  */
2632
2726
  createdAt: string;
2633
2727
  };
2728
+ /** @description Typed metadata payload attached to an audit event; null for actions that carry no extra context. */
2729
+ AuditMetadata: components["schemas"]["MemberRoleChangedMetadata"] | null;
2634
2730
  /** @description Identity, organization, plan, and rate-limit info for the authenticated API key */
2635
2731
  AuthMeResponse: {
2636
2732
  key: components["schemas"]["KeyInfo"];
@@ -2827,6 +2923,18 @@ export interface components {
2827
2923
  */
2828
2924
  checkId?: string | null;
2829
2925
  };
2926
+ CheckTraceDto: {
2927
+ /**
2928
+ * Format: uuid
2929
+ * @description The check execution ID this trace is keyed by
2930
+ */
2931
+ checkId: string;
2932
+ /** @description All rule evaluations that ran for this check */
2933
+ evaluations: components["schemas"]["RuleEvaluationDto"][];
2934
+ /** @description State-machine transitions this check caused (may be empty if nothing fired) */
2935
+ transitions: components["schemas"]["IncidentStateTransitionDto"][];
2936
+ policySnapshot?: components["schemas"]["PolicySnapshotDto"] | null;
2937
+ };
2830
2938
  /** @description Check-type-specific details — polymorphic by check_type discriminator */
2831
2939
  CheckTypeDetailsDto: components["schemas"]["Http"] | components["schemas"]["Tcp"] | components["schemas"]["Icmp"] | components["schemas"]["Dns"] | components["schemas"]["McpServer"];
2832
2940
  /** @description One component's uptime contribution for the day */
@@ -4134,6 +4242,20 @@ export interface components {
4134
4242
  resourceGroupId?: string | null;
4135
4243
  /** @description Name of the resource group; populated on list responses. Omitted from JSON (undefined to SDKs) on detail responses, treat missing as null. */
4136
4244
  resourceGroupName?: string | null;
4245
+ /**
4246
+ * Format: uuid
4247
+ * @description Scheduler-minted check execution ID whose result confirmed this incident; joins to check_results, rule_evaluations, and incident_state_transitions. Omitted from JSON (undefined to SDKs) when null, treat missing as null.
4248
+ */
4249
+ triggeringCheckId?: string | null;
4250
+ /** @description Hex SHA-256 of the canonical policy snapshot that fired; combined with triggeredByRuleIndex points to the exact TriggerRule. Omitted from JSON when null, treat missing as null. */
4251
+ triggeredByRuleSnapshotHashHex?: string | null;
4252
+ /**
4253
+ * Format: int32
4254
+ * @description Index of the fired rule inside the policy's trigger_rules array. Omitted from JSON when null, treat missing as null.
4255
+ */
4256
+ triggeredByRuleIndex?: number | null;
4257
+ /** @description Detection engine semver that evaluated the rule. Omitted from JSON when null, treat missing as null. */
4258
+ engineVersion?: string | null;
4137
4259
  };
4138
4260
  IncidentFilterParams: {
4139
4261
  /**
@@ -4257,6 +4379,56 @@ export interface components {
4257
4379
  /** Format: double */
4258
4380
  mttr30d?: number | null;
4259
4381
  };
4382
+ /** @description State-machine transitions this check caused (may be empty if nothing fired) */
4383
+ IncidentStateTransitionDto: {
4384
+ /**
4385
+ * Format: uuid
4386
+ * @description Forensic row UUID
4387
+ */
4388
+ id: string;
4389
+ /**
4390
+ * Format: date-time
4391
+ * @description When the state transition occurred
4392
+ */
4393
+ occurredAt: string;
4394
+ /**
4395
+ * Format: uuid
4396
+ * @description Monitor this transition pertains to
4397
+ */
4398
+ monitorId: string;
4399
+ /**
4400
+ * Format: uuid
4401
+ * @description Incident this transition belongs to; null for pre-incident (auto-cleared) transitions
4402
+ */
4403
+ incidentId?: string | null;
4404
+ /** @description Previous status (WATCHING | TRIGGERED | CONFIRMED | RESOLVED) */
4405
+ fromStatus: string;
4406
+ /** @description New status (WATCHING | TRIGGERED | CONFIRMED | RESOLVED) */
4407
+ toStatus: string;
4408
+ /** @description Why the transition fired (trigger | confirm | resolve | auto_clear | reopen) */
4409
+ reason: string;
4410
+ /** @description rule_evaluation ids that caused this transition (may be empty for timeout-driven edges) */
4411
+ triggeringEvaluationIds: string[];
4412
+ /** @description Regions whose evaluations contributed to this transition */
4413
+ affectedRegions: string[];
4414
+ /** @description Hex-encoded hash of the policy snapshot that governed this transition */
4415
+ policySnapshotHashHex: string;
4416
+ /** @description Detection engine version that emitted this transition */
4417
+ engineVersion: string;
4418
+ /**
4419
+ * Format: uuid
4420
+ * @description Scheduler-minted check execution ID (V92) of the triggering result
4421
+ */
4422
+ checkId: string;
4423
+ details: components["schemas"]["StateTransitionDetails"];
4424
+ };
4425
+ IncidentTimelineDto: {
4426
+ /** @description State-machine transitions in chronological order */
4427
+ transitions: components["schemas"]["IncidentStateTransitionDto"][];
4428
+ /** @description Rule evaluations that caused any of the transitions above. Correlate via evaluation.triggeringTransitionId == transition.id */
4429
+ triggeringEvaluations: components["schemas"]["RuleEvaluationDto"][];
4430
+ policySnapshot?: components["schemas"]["PolicySnapshotDto"] | null;
4431
+ };
4260
4432
  IncidentUpdateDto: {
4261
4433
  /** Format: uuid */
4262
4434
  id: string;
@@ -4594,6 +4766,24 @@ export interface components {
4594
4766
  */
4595
4767
  createdAt: string;
4596
4768
  };
4769
+ /** @description Role transition recorded when an organization member's role changes. */
4770
+ MemberRoleChangedMetadata: {
4771
+ /**
4772
+ * @description discriminator enum property added by openapi-typescript
4773
+ * @enum {string}
4774
+ */
4775
+ kind: "member_role_changed";
4776
+ /**
4777
+ * @description Role the member held before the change
4778
+ * @enum {string}
4779
+ */
4780
+ oldRole: "OWNER" | "ADMIN" | "MEMBER";
4781
+ /**
4782
+ * @description Role the member holds after the change
4783
+ * @enum {string}
4784
+ */
4785
+ newRole: "OWNER" | "ADMIN" | "MEMBER";
4786
+ };
4597
4787
  MonitorAssertionDto: {
4598
4788
  /** Format: uuid */
4599
4789
  id: string;
@@ -5010,6 +5200,27 @@ export interface components {
5010
5200
  [key: string]: number;
5011
5201
  };
5012
5202
  };
5203
+ /** @description Policy snapshot used during this check (all evaluations of a single check are against one policy) */
5204
+ PolicySnapshotDto: {
5205
+ /** @description Hex-encoded SHA-256 of the canonical policy JSON */
5206
+ hashHex: string;
5207
+ /** @description Canonical policy document (snake_case, sorted keys) */
5208
+ policy: {
5209
+ [key: string]: Record<string, never>;
5210
+ };
5211
+ /** @description Detection engine version that observed this policy */
5212
+ engineVersion: string;
5213
+ /**
5214
+ * Format: date-time
5215
+ * @description First time the detection engine evaluated against this policy bytes
5216
+ */
5217
+ firstSeenAt: string;
5218
+ /**
5219
+ * Format: date-time
5220
+ * @description Most recent time the engine evaluated against this policy bytes
5221
+ */
5222
+ lastSeenAt: string;
5223
+ } | null;
5013
5224
  /** @description Aggregated poll metrics for a time bucket */
5014
5225
  PollChartBucketDto: {
5015
5226
  /**
@@ -5407,6 +5618,57 @@ export interface components {
5407
5618
  */
5408
5619
  interval: number;
5409
5620
  };
5621
+ /** @description All rule evaluations that ran for this check */
5622
+ RuleEvaluationDto: {
5623
+ /**
5624
+ * Format: uuid
5625
+ * @description Forensic row UUID
5626
+ */
5627
+ id: string;
5628
+ /**
5629
+ * Format: date-time
5630
+ * @description When the evaluation ran
5631
+ */
5632
+ occurredAt: string;
5633
+ /**
5634
+ * Format: uuid
5635
+ * @description Monitor that produced the input check result
5636
+ */
5637
+ monitorId: string;
5638
+ /** @description Probe region of the input check result */
5639
+ region: string;
5640
+ /** @description Hex-encoded hash of the policy snapshot this rule came from */
5641
+ policySnapshotHashHex: string;
5642
+ /**
5643
+ * Format: int32
5644
+ * @description Index into the policy's triggerRules array (0-based)
5645
+ */
5646
+ ruleIndex: number;
5647
+ /** @description Rule type (e.g. consecutive_failures, failures_in_window) */
5648
+ ruleType: string;
5649
+ /** @description Rule scope (per_region | multi_region) */
5650
+ ruleScope: string;
5651
+ /** @description check_results IDs that were inputs to this evaluation (newest first) */
5652
+ inputResultIds: string[];
5653
+ /** @description Whether the rule fired on this evaluation */
5654
+ outputMatched: boolean;
5655
+ /** @description Structured details (e.g. failure counts, response-time aggregates) */
5656
+ evaluationDetails: {
5657
+ [key: string]: Record<string, never>;
5658
+ };
5659
+ /** @description Detection engine version that ran this evaluation */
5660
+ engineVersion: string;
5661
+ /**
5662
+ * Format: uuid
5663
+ * @description Scheduler-minted check execution ID (V92) — the causal chain identifier
5664
+ */
5665
+ checkId: string;
5666
+ /**
5667
+ * Format: uuid
5668
+ * @description If this evaluation caused a state transition, points to that transition's id
5669
+ */
5670
+ triggeringTransitionId?: string | null;
5671
+ };
5410
5672
  /** @description A scheduled maintenance window from a vendor status page */
5411
5673
  ScheduledMaintenanceDto: {
5412
5674
  /**
@@ -5881,6 +6143,9 @@ export interface components {
5881
6143
  SingleValueResponseBulkMonitorActionResult: {
5882
6144
  data: components["schemas"]["BulkMonitorActionResult"];
5883
6145
  };
6146
+ SingleValueResponseCheckTraceDto: {
6147
+ data: components["schemas"]["CheckTraceDto"];
6148
+ };
5884
6149
  SingleValueResponseDashboardOverviewDto: {
5885
6150
  data: components["schemas"]["DashboardOverviewDto"];
5886
6151
  };
@@ -5902,6 +6167,9 @@ export interface components {
5902
6167
  SingleValueResponseIncidentPolicyDto: {
5903
6168
  data: components["schemas"]["IncidentPolicyDto"];
5904
6169
  };
6170
+ SingleValueResponseIncidentTimelineDto: {
6171
+ data: components["schemas"]["IncidentTimelineDto"];
6172
+ };
5905
6173
  SingleValueResponseInviteDto: {
5906
6174
  data: components["schemas"]["InviteDto"];
5907
6175
  };
@@ -5939,6 +6207,9 @@ export interface components {
5939
6207
  SingleValueResponseOrganizationDto: {
5940
6208
  data: components["schemas"]["OrganizationDto"];
5941
6209
  };
6210
+ SingleValueResponsePolicySnapshotDto: {
6211
+ data: components["schemas"]["PolicySnapshotDto"];
6212
+ };
5942
6213
  SingleValueResponseResourceGroupDto: {
5943
6214
  data: components["schemas"]["ResourceGroupDto"];
5944
6215
  };
@@ -6037,6 +6308,14 @@ export interface components {
6037
6308
  */
6038
6309
  minDaysRemaining: number;
6039
6310
  };
6311
+ /** @description Typed metadata about this transition (currently: actor source) */
6312
+ StateTransitionDetails: {
6313
+ /**
6314
+ * @description Actor that produced this transition (pipeline | public-api)
6315
+ * @enum {string}
6316
+ */
6317
+ source: "pipeline" | "public-api";
6318
+ };
6040
6319
  StatusCodeAssertion: {
6041
6320
  /** @enum {string} */
6042
6321
  type: "status_code";
@@ -6330,6 +6609,15 @@ export interface components {
6330
6609
  /** Format: int32 */
6331
6610
  totalPages?: number | null;
6332
6611
  };
6612
+ TableValueResultIncidentStateTransitionDto: {
6613
+ data: components["schemas"]["IncidentStateTransitionDto"][];
6614
+ hasNext: boolean;
6615
+ hasPrev: boolean;
6616
+ /** Format: int64 */
6617
+ totalElements?: number | null;
6618
+ /** Format: int32 */
6619
+ totalPages?: number | null;
6620
+ };
6333
6621
  TableValueResultIntegrationDto: {
6334
6622
  data: components["schemas"]["IntegrationDto"][];
6335
6623
  hasNext: boolean;
@@ -6420,6 +6708,15 @@ export interface components {
6420
6708
  /** Format: int32 */
6421
6709
  totalPages?: number | null;
6422
6710
  };
6711
+ TableValueResultRuleEvaluationDto: {
6712
+ data: components["schemas"]["RuleEvaluationDto"][];
6713
+ hasNext: boolean;
6714
+ hasPrev: boolean;
6715
+ /** Format: int64 */
6716
+ totalElements?: number | null;
6717
+ /** Format: int32 */
6718
+ totalPages?: number | null;
6719
+ };
6423
6720
  TableValueResultScheduledMaintenanceDto: {
6424
6721
  data: components["schemas"]["ScheduledMaintenanceDto"][];
6425
6722
  hasNext: boolean;
@@ -10006,6 +10303,487 @@ export interface operations {
10006
10303
  };
10007
10304
  };
10008
10305
  };
10306
+ getTimeline: {
10307
+ parameters: {
10308
+ query?: never;
10309
+ header?: never;
10310
+ path: {
10311
+ id: string;
10312
+ };
10313
+ cookie?: never;
10314
+ };
10315
+ requestBody?: never;
10316
+ responses: {
10317
+ /** @description OK */
10318
+ 200: {
10319
+ headers: {
10320
+ [name: string]: unknown;
10321
+ };
10322
+ content: {
10323
+ "*/*": components["schemas"]["SingleValueResponseIncidentTimelineDto"];
10324
+ };
10325
+ };
10326
+ /** @description Bad request — the payload failed validation */
10327
+ 400: {
10328
+ headers: {
10329
+ [name: string]: unknown;
10330
+ };
10331
+ content: {
10332
+ "application/json": components["schemas"]["ErrorResponse"];
10333
+ };
10334
+ };
10335
+ /** @description Unauthorized — missing or invalid credentials */
10336
+ 401: {
10337
+ headers: {
10338
+ [name: string]: unknown;
10339
+ };
10340
+ content: {
10341
+ "application/json": components["schemas"]["ErrorResponse"];
10342
+ };
10343
+ };
10344
+ /** @description Forbidden — the actor lacks permission for this resource */
10345
+ 403: {
10346
+ headers: {
10347
+ [name: string]: unknown;
10348
+ };
10349
+ content: {
10350
+ "application/json": components["schemas"]["ErrorResponse"];
10351
+ };
10352
+ };
10353
+ /** @description Not found — the requested resource does not exist */
10354
+ 404: {
10355
+ headers: {
10356
+ [name: string]: unknown;
10357
+ };
10358
+ content: {
10359
+ "application/json": components["schemas"]["ErrorResponse"];
10360
+ };
10361
+ };
10362
+ /** @description Conflict — the request collides with current resource state */
10363
+ 409: {
10364
+ headers: {
10365
+ [name: string]: unknown;
10366
+ };
10367
+ content: {
10368
+ "application/json": components["schemas"]["ErrorResponse"];
10369
+ };
10370
+ };
10371
+ /** @description Internal server error — see the message field for details */
10372
+ 500: {
10373
+ headers: {
10374
+ [name: string]: unknown;
10375
+ };
10376
+ content: {
10377
+ "application/json": components["schemas"]["ErrorResponse"];
10378
+ };
10379
+ };
10380
+ /** @description Bad gateway — an upstream provider returned an error */
10381
+ 502: {
10382
+ headers: {
10383
+ [name: string]: unknown;
10384
+ };
10385
+ content: {
10386
+ "application/json": components["schemas"]["ErrorResponse"];
10387
+ };
10388
+ };
10389
+ /** @description Service unavailable — try again shortly */
10390
+ 503: {
10391
+ headers: {
10392
+ [name: string]: unknown;
10393
+ };
10394
+ content: {
10395
+ "application/json": components["schemas"]["ErrorResponse"];
10396
+ };
10397
+ };
10398
+ };
10399
+ };
10400
+ listMonitorRuleEvaluations: {
10401
+ parameters: {
10402
+ query: {
10403
+ ruleType?: string;
10404
+ region?: string;
10405
+ onlyMatched?: boolean;
10406
+ from?: string;
10407
+ to?: string;
10408
+ pageable: components["schemas"]["Pageable"];
10409
+ };
10410
+ header?: never;
10411
+ path: {
10412
+ id: string;
10413
+ };
10414
+ cookie?: never;
10415
+ };
10416
+ requestBody?: never;
10417
+ responses: {
10418
+ /** @description OK */
10419
+ 200: {
10420
+ headers: {
10421
+ [name: string]: unknown;
10422
+ };
10423
+ content: {
10424
+ "*/*": components["schemas"]["TableValueResultRuleEvaluationDto"];
10425
+ };
10426
+ };
10427
+ /** @description Bad request — the payload failed validation */
10428
+ 400: {
10429
+ headers: {
10430
+ [name: string]: unknown;
10431
+ };
10432
+ content: {
10433
+ "application/json": components["schemas"]["ErrorResponse"];
10434
+ };
10435
+ };
10436
+ /** @description Unauthorized — missing or invalid credentials */
10437
+ 401: {
10438
+ headers: {
10439
+ [name: string]: unknown;
10440
+ };
10441
+ content: {
10442
+ "application/json": components["schemas"]["ErrorResponse"];
10443
+ };
10444
+ };
10445
+ /** @description Forbidden — the actor lacks permission for this resource */
10446
+ 403: {
10447
+ headers: {
10448
+ [name: string]: unknown;
10449
+ };
10450
+ content: {
10451
+ "application/json": components["schemas"]["ErrorResponse"];
10452
+ };
10453
+ };
10454
+ /** @description Not found — the requested resource does not exist */
10455
+ 404: {
10456
+ headers: {
10457
+ [name: string]: unknown;
10458
+ };
10459
+ content: {
10460
+ "application/json": components["schemas"]["ErrorResponse"];
10461
+ };
10462
+ };
10463
+ /** @description Conflict — the request collides with current resource state */
10464
+ 409: {
10465
+ headers: {
10466
+ [name: string]: unknown;
10467
+ };
10468
+ content: {
10469
+ "application/json": components["schemas"]["ErrorResponse"];
10470
+ };
10471
+ };
10472
+ /** @description Internal server error — see the message field for details */
10473
+ 500: {
10474
+ headers: {
10475
+ [name: string]: unknown;
10476
+ };
10477
+ content: {
10478
+ "application/json": components["schemas"]["ErrorResponse"];
10479
+ };
10480
+ };
10481
+ /** @description Bad gateway — an upstream provider returned an error */
10482
+ 502: {
10483
+ headers: {
10484
+ [name: string]: unknown;
10485
+ };
10486
+ content: {
10487
+ "application/json": components["schemas"]["ErrorResponse"];
10488
+ };
10489
+ };
10490
+ /** @description Service unavailable — try again shortly */
10491
+ 503: {
10492
+ headers: {
10493
+ [name: string]: unknown;
10494
+ };
10495
+ content: {
10496
+ "application/json": components["schemas"]["ErrorResponse"];
10497
+ };
10498
+ };
10499
+ };
10500
+ };
10501
+ listMonitorTransitions: {
10502
+ parameters: {
10503
+ query: {
10504
+ from?: string;
10505
+ to?: string;
10506
+ pageable: components["schemas"]["Pageable"];
10507
+ };
10508
+ header?: never;
10509
+ path: {
10510
+ id: string;
10511
+ };
10512
+ cookie?: never;
10513
+ };
10514
+ requestBody?: never;
10515
+ responses: {
10516
+ /** @description OK */
10517
+ 200: {
10518
+ headers: {
10519
+ [name: string]: unknown;
10520
+ };
10521
+ content: {
10522
+ "*/*": components["schemas"]["TableValueResultIncidentStateTransitionDto"];
10523
+ };
10524
+ };
10525
+ /** @description Bad request — the payload failed validation */
10526
+ 400: {
10527
+ headers: {
10528
+ [name: string]: unknown;
10529
+ };
10530
+ content: {
10531
+ "application/json": components["schemas"]["ErrorResponse"];
10532
+ };
10533
+ };
10534
+ /** @description Unauthorized — missing or invalid credentials */
10535
+ 401: {
10536
+ headers: {
10537
+ [name: string]: unknown;
10538
+ };
10539
+ content: {
10540
+ "application/json": components["schemas"]["ErrorResponse"];
10541
+ };
10542
+ };
10543
+ /** @description Forbidden — the actor lacks permission for this resource */
10544
+ 403: {
10545
+ headers: {
10546
+ [name: string]: unknown;
10547
+ };
10548
+ content: {
10549
+ "application/json": components["schemas"]["ErrorResponse"];
10550
+ };
10551
+ };
10552
+ /** @description Not found — the requested resource does not exist */
10553
+ 404: {
10554
+ headers: {
10555
+ [name: string]: unknown;
10556
+ };
10557
+ content: {
10558
+ "application/json": components["schemas"]["ErrorResponse"];
10559
+ };
10560
+ };
10561
+ /** @description Conflict — the request collides with current resource state */
10562
+ 409: {
10563
+ headers: {
10564
+ [name: string]: unknown;
10565
+ };
10566
+ content: {
10567
+ "application/json": components["schemas"]["ErrorResponse"];
10568
+ };
10569
+ };
10570
+ /** @description Internal server error — see the message field for details */
10571
+ 500: {
10572
+ headers: {
10573
+ [name: string]: unknown;
10574
+ };
10575
+ content: {
10576
+ "application/json": components["schemas"]["ErrorResponse"];
10577
+ };
10578
+ };
10579
+ /** @description Bad gateway — an upstream provider returned an error */
10580
+ 502: {
10581
+ headers: {
10582
+ [name: string]: unknown;
10583
+ };
10584
+ content: {
10585
+ "application/json": components["schemas"]["ErrorResponse"];
10586
+ };
10587
+ };
10588
+ /** @description Service unavailable — try again shortly */
10589
+ 503: {
10590
+ headers: {
10591
+ [name: string]: unknown;
10592
+ };
10593
+ content: {
10594
+ "application/json": components["schemas"]["ErrorResponse"];
10595
+ };
10596
+ };
10597
+ };
10598
+ };
10599
+ getPolicySnapshot: {
10600
+ parameters: {
10601
+ query?: never;
10602
+ header?: never;
10603
+ path: {
10604
+ hashHex: string;
10605
+ };
10606
+ cookie?: never;
10607
+ };
10608
+ requestBody?: never;
10609
+ responses: {
10610
+ /** @description OK */
10611
+ 200: {
10612
+ headers: {
10613
+ [name: string]: unknown;
10614
+ };
10615
+ content: {
10616
+ "*/*": components["schemas"]["SingleValueResponsePolicySnapshotDto"];
10617
+ };
10618
+ };
10619
+ /** @description Bad request — the payload failed validation */
10620
+ 400: {
10621
+ headers: {
10622
+ [name: string]: unknown;
10623
+ };
10624
+ content: {
10625
+ "application/json": components["schemas"]["ErrorResponse"];
10626
+ };
10627
+ };
10628
+ /** @description Unauthorized — missing or invalid credentials */
10629
+ 401: {
10630
+ headers: {
10631
+ [name: string]: unknown;
10632
+ };
10633
+ content: {
10634
+ "application/json": components["schemas"]["ErrorResponse"];
10635
+ };
10636
+ };
10637
+ /** @description Forbidden — the actor lacks permission for this resource */
10638
+ 403: {
10639
+ headers: {
10640
+ [name: string]: unknown;
10641
+ };
10642
+ content: {
10643
+ "application/json": components["schemas"]["ErrorResponse"];
10644
+ };
10645
+ };
10646
+ /** @description Not found — the requested resource does not exist */
10647
+ 404: {
10648
+ headers: {
10649
+ [name: string]: unknown;
10650
+ };
10651
+ content: {
10652
+ "application/json": components["schemas"]["ErrorResponse"];
10653
+ };
10654
+ };
10655
+ /** @description Conflict — the request collides with current resource state */
10656
+ 409: {
10657
+ headers: {
10658
+ [name: string]: unknown;
10659
+ };
10660
+ content: {
10661
+ "application/json": components["schemas"]["ErrorResponse"];
10662
+ };
10663
+ };
10664
+ /** @description Internal server error — see the message field for details */
10665
+ 500: {
10666
+ headers: {
10667
+ [name: string]: unknown;
10668
+ };
10669
+ content: {
10670
+ "application/json": components["schemas"]["ErrorResponse"];
10671
+ };
10672
+ };
10673
+ /** @description Bad gateway — an upstream provider returned an error */
10674
+ 502: {
10675
+ headers: {
10676
+ [name: string]: unknown;
10677
+ };
10678
+ content: {
10679
+ "application/json": components["schemas"]["ErrorResponse"];
10680
+ };
10681
+ };
10682
+ /** @description Service unavailable — try again shortly */
10683
+ 503: {
10684
+ headers: {
10685
+ [name: string]: unknown;
10686
+ };
10687
+ content: {
10688
+ "application/json": components["schemas"]["ErrorResponse"];
10689
+ };
10690
+ };
10691
+ };
10692
+ };
10693
+ getTrace: {
10694
+ parameters: {
10695
+ query?: never;
10696
+ header?: never;
10697
+ path: {
10698
+ checkId: string;
10699
+ };
10700
+ cookie?: never;
10701
+ };
10702
+ requestBody?: never;
10703
+ responses: {
10704
+ /** @description OK */
10705
+ 200: {
10706
+ headers: {
10707
+ [name: string]: unknown;
10708
+ };
10709
+ content: {
10710
+ "*/*": components["schemas"]["SingleValueResponseCheckTraceDto"];
10711
+ };
10712
+ };
10713
+ /** @description Bad request — the payload failed validation */
10714
+ 400: {
10715
+ headers: {
10716
+ [name: string]: unknown;
10717
+ };
10718
+ content: {
10719
+ "application/json": components["schemas"]["ErrorResponse"];
10720
+ };
10721
+ };
10722
+ /** @description Unauthorized — missing or invalid credentials */
10723
+ 401: {
10724
+ headers: {
10725
+ [name: string]: unknown;
10726
+ };
10727
+ content: {
10728
+ "application/json": components["schemas"]["ErrorResponse"];
10729
+ };
10730
+ };
10731
+ /** @description Forbidden — the actor lacks permission for this resource */
10732
+ 403: {
10733
+ headers: {
10734
+ [name: string]: unknown;
10735
+ };
10736
+ content: {
10737
+ "application/json": components["schemas"]["ErrorResponse"];
10738
+ };
10739
+ };
10740
+ /** @description Not found — the requested resource does not exist */
10741
+ 404: {
10742
+ headers: {
10743
+ [name: string]: unknown;
10744
+ };
10745
+ content: {
10746
+ "application/json": components["schemas"]["ErrorResponse"];
10747
+ };
10748
+ };
10749
+ /** @description Conflict — the request collides with current resource state */
10750
+ 409: {
10751
+ headers: {
10752
+ [name: string]: unknown;
10753
+ };
10754
+ content: {
10755
+ "application/json": components["schemas"]["ErrorResponse"];
10756
+ };
10757
+ };
10758
+ /** @description Internal server error — see the message field for details */
10759
+ 500: {
10760
+ headers: {
10761
+ [name: string]: unknown;
10762
+ };
10763
+ content: {
10764
+ "application/json": components["schemas"]["ErrorResponse"];
10765
+ };
10766
+ };
10767
+ /** @description Bad gateway — an upstream provider returned an error */
10768
+ 502: {
10769
+ headers: {
10770
+ [name: string]: unknown;
10771
+ };
10772
+ content: {
10773
+ "application/json": components["schemas"]["ErrorResponse"];
10774
+ };
10775
+ };
10776
+ /** @description Service unavailable — try again shortly */
10777
+ 503: {
10778
+ headers: {
10779
+ [name: string]: unknown;
10780
+ };
10781
+ content: {
10782
+ "application/json": components["schemas"]["ErrorResponse"];
10783
+ };
10784
+ };
10785
+ };
10786
+ };
10009
10787
  pingGet: {
10010
10788
  parameters: {
10011
10789
  query?: never;