@socotra/ec-react-utils 2.17.3-next.2 → 2.18.1-next.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.ts CHANGED
@@ -45,18 +45,18 @@ declare const advancedFieldSchema_3: z.ZodObject<{
45
45
  invoiceDocument: z.ZodOptional<z.ZodString>;
46
46
  installmentPlanName: z.ZodOptional<z.ZodString>;
47
47
  }, "strip", z.ZodTypeAny, {
48
- installmentPlanName?: string | undefined;
49
48
  billingLevel?: "account" | "inherit" | "policy" | undefined;
50
49
  delinquencyPlanName?: string | undefined;
51
50
  autoRenewalPlanName?: string | undefined;
51
+ installmentPlanName?: string | undefined;
52
52
  shortfallTolerancePlanName?: string | undefined;
53
53
  excessCreditPlanName?: string | undefined;
54
54
  invoiceDocument?: string | undefined;
55
55
  }, {
56
- installmentPlanName?: string | undefined;
57
56
  billingLevel?: "account" | "inherit" | "policy" | undefined;
58
57
  delinquencyPlanName?: string | undefined;
59
58
  autoRenewalPlanName?: string | undefined;
59
+ installmentPlanName?: string | undefined;
60
60
  shortfallTolerancePlanName?: string | undefined;
61
61
  excessCreditPlanName?: string | undefined;
62
62
  invoiceDocument?: string | undefined;
@@ -506,6 +506,8 @@ export declare function getRemoveDataFieldValues(originalObj: AnyObject, modifie
506
506
 
507
507
  export declare const getUpdatedDataFromConstraints: (newData: Record<string, PrimitiveValue>, evaluatedConstraintMap: ConstraintEvaluationResponse | undefined, elementLocator: string) => Record<string, PrimitiveValue>;
508
508
 
509
+ export declare const parseToPrimitive: (str: string) => any;
510
+
509
511
  /**
510
512
  * The type `PolicyRequestAdvancedFields` is a zod inferred type that represents the advanced fields of a policy request.
511
513
  * It follows the fields that are found on the PolicyForm in @socotra/ec-react-components