@insure-os/client 0.0.86 → 0.0.89

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.ts CHANGED
@@ -140,6 +140,7 @@ declare class EnhancedHttpClient {
140
140
  valid: boolean;
141
141
  quote_page_url?: string | null;
142
142
  message?: string;
143
+ requires_recalculation?: boolean;
143
144
  }>;
144
145
  /**
145
146
  * Resolve a pending payment transaction. Called by the widget's
@@ -819,6 +820,8 @@ type PaymentLinkMountConfig = BaseMountConfig & {
819
820
  type MountConfig = QuoteMountConfig | PaymentLinkMountConfig;
820
821
  type QuoteIntentState = {
821
822
  id: string;
823
+ /** Short, unguessable code for the ?q=<short_code> resume URL. */
824
+ short_code?: string;
822
825
  created_at: number;
823
826
  updated_at: number;
824
827
  expires_at: number;
@@ -1119,6 +1122,16 @@ declare class FormStateManager {
1119
1122
  hasCalculationResponse(): boolean;
1120
1123
  getCalculationResult(): CalculationResponse | undefined;
1121
1124
  getConsecutiveFailures(): number;
1125
+ /**
1126
+ * Resolve which excess tier to pre-select on checkout. Prefer the
1127
+ * engine's default_excess_id, but only when it actually exists among the
1128
+ * returned calculations — on consolidated/old quotes the persisted
1129
+ * default can reference an excess option that no longer exists, which
1130
+ * would leave the checkout with nothing selected and no payment options
1131
+ * visible. Fall back to the first calculation so an excess is always
1132
+ * pre-selected when calculation data is present.
1133
+ */
1134
+ private resolveDefaultExcessId;
1122
1135
  getSelectedExcessId(): string | null;
1123
1136
  setSelectedExcessId(excessId: string | null): void;
1124
1137
  getSelectedPaymentOption(): PaymentOption | null;