@insure-os/client 0.0.7 → 0.0.8

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
@@ -836,9 +836,14 @@ declare class FormStateManager {
836
836
  loadFormProgress(): Promise<FormData>;
837
837
  updatePageData(pageId: string, data: Record<string, any>): void;
838
838
  updateFieldValue(pageId: string, fieldId: string, value: any): void;
839
- updateFieldAnswer(pageId: string, fieldId: string, answer: string): void;
839
+ updateFieldAnswer(pageId: string, fieldId: string, answer: string, detailsRatingFactorId?: string): void;
840
840
  restoreFormProgress(data: FormData): void;
841
841
  restoreCalculationResult(result: CalculationResponse): void;
842
+ /**
843
+ * Get rating factor code by rating factor ID
844
+ * Searches through all form pages and fields to find the rating factor code
845
+ */
846
+ private getRatingFactorCodeById;
842
847
  private processRatingFactorMappings;
843
848
  private applyDerivationRule;
844
849
  private calculateAge;