M54: harden operations and demo resilience
This commit is contained in:
@@ -24,6 +24,7 @@ export const KNOWN_CODES = new Set([
|
||||
"EVENT_NOT_FOUND",
|
||||
"ISSUE_NOT_FOUND",
|
||||
"ISSUE_NOT_OPEN",
|
||||
"ISSUE_CHANGED",
|
||||
"BOOKING_NOT_ACTIVE",
|
||||
"INVALID_BOOKING_STATE",
|
||||
"NOT_RETRYABLE",
|
||||
@@ -36,6 +37,9 @@ export const KNOWN_CODES = new Set([
|
||||
"INVALID_SURVIVOR",
|
||||
"INVALID_BOOKING_REFERENCE",
|
||||
"INVALID_EVENT_ID",
|
||||
"INVALID_EVENT_CORRELATION",
|
||||
"CALLBACK_EVENT_MISMATCH",
|
||||
"CALLBACK_CORRELATION_MISMATCH",
|
||||
"INVALID_IDEMPOTENCY_KEY",
|
||||
"IDEMPOTENCY_KEY_REUSED",
|
||||
"CORRECTED_VALUE_REQUIRED",
|
||||
|
||||
@@ -245,7 +245,7 @@ export interface ReturnPreviewResult {
|
||||
}
|
||||
|
||||
export interface EntitySnapshot {
|
||||
entity_type: "customer" | "vehicle" | "booking" | "inspection";
|
||||
entity_type: "customer" | "vehicle" | "booking" | "inspection" | "maintenance";
|
||||
public_ref: string;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user