@socotra/ec-react-schemas 2.20.0 → 2.21.0-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 +25 -6
- package/dist/index.es.js +9782 -9483
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2590,6 +2590,25 @@ export declare const chargeCategorySchema: z.ZodUnion<[z.ZodEnum<["premium", "ta
|
|
|
2590
2590
|
|
|
2591
2591
|
export declare type ChargeRef = z.infer<typeof ChargeRefSchema>;
|
|
2592
2592
|
|
|
2593
|
+
export declare type ChargeRefRecord = z.infer<typeof ChargeRefRecordSchema>;
|
|
2594
|
+
|
|
2595
|
+
export declare const ChargeRefRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2596
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2597
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"premium">, z.ZodLiteral<"tax">, z.ZodLiteral<"fee">, z.ZodLiteral<"credit">, z.ZodLiteral<"commission">, z.ZodLiteral<"flatPremium">, z.ZodLiteral<"flatTax">, z.ZodLiteral<"flatFee">, z.ZodLiteral<"invoiceFee">, z.ZodLiteral<"flatCommission">, z.ZodLiteral<"cededPremium">, z.ZodLiteral<"flatCededPremium">, z.ZodLiteral<"nonFinancial">, z.ZodLiteral<"surcharge">]>>;
|
|
2598
|
+
handling: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"flat">]>>;
|
|
2599
|
+
invoicing: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"next">, z.ZodLiteral<"immediate">]>>;
|
|
2600
|
+
}, "strip", z.ZodTypeAny, {
|
|
2601
|
+
displayName?: string | undefined;
|
|
2602
|
+
category?: "none" | "premium" | "tax" | "fee" | "credit" | "commission" | "flatPremium" | "flatTax" | "flatFee" | "flatCommission" | "cededPremium" | "flatCededPremium" | "nonFinancial" | "surcharge" | "invoiceFee" | undefined;
|
|
2603
|
+
handling?: "flat" | "normal" | undefined;
|
|
2604
|
+
invoicing?: "scheduled" | "next" | "immediate" | undefined;
|
|
2605
|
+
}, {
|
|
2606
|
+
displayName?: string | undefined;
|
|
2607
|
+
category?: "none" | "premium" | "tax" | "fee" | "credit" | "commission" | "flatPremium" | "flatTax" | "flatFee" | "flatCommission" | "cededPremium" | "flatCededPremium" | "nonFinancial" | "surcharge" | "invoiceFee" | undefined;
|
|
2608
|
+
handling?: "flat" | "normal" | undefined;
|
|
2609
|
+
invoicing?: "scheduled" | "next" | "immediate" | undefined;
|
|
2610
|
+
}>>;
|
|
2611
|
+
|
|
2593
2612
|
export declare const ChargeRefSchema: z.ZodObject<{
|
|
2594
2613
|
displayName: z.ZodOptional<z.ZodString>;
|
|
2595
2614
|
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"premium">, z.ZodLiteral<"tax">, z.ZodLiteral<"fee">, z.ZodLiteral<"credit">, z.ZodLiteral<"commission">, z.ZodLiteral<"flatPremium">, z.ZodLiteral<"flatTax">, z.ZodLiteral<"flatFee">, z.ZodLiteral<"invoiceFee">, z.ZodLiteral<"flatCommission">, z.ZodLiteral<"cededPremium">, z.ZodLiteral<"flatCededPremium">, z.ZodLiteral<"nonFinancial">, z.ZodLiteral<"surcharge">]>>;
|
|
@@ -7808,7 +7827,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
7808
7827
|
defaultSearchable?: boolean | undefined;
|
|
7809
7828
|
}>>>;
|
|
7810
7829
|
contactRoles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7811
|
-
charges: z.ZodOptional<z.ZodObject<{
|
|
7830
|
+
charges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7812
7831
|
displayName: z.ZodOptional<z.ZodString>;
|
|
7813
7832
|
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"premium">, z.ZodLiteral<"tax">, z.ZodLiteral<"fee">, z.ZodLiteral<"credit">, z.ZodLiteral<"commission">, z.ZodLiteral<"flatPremium">, z.ZodLiteral<"flatTax">, z.ZodLiteral<"flatFee">, z.ZodLiteral<"invoiceFee">, z.ZodLiteral<"flatCommission">, z.ZodLiteral<"cededPremium">, z.ZodLiteral<"flatCededPremium">, z.ZodLiteral<"nonFinancial">, z.ZodLiteral<"surcharge">]>>;
|
|
7814
7833
|
handling: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"flat">]>>;
|
|
@@ -7823,7 +7842,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
7823
7842
|
category?: "none" | "premium" | "tax" | "fee" | "credit" | "commission" | "flatPremium" | "flatTax" | "flatFee" | "flatCommission" | "cededPremium" | "flatCededPremium" | "nonFinancial" | "surcharge" | "invoiceFee" | undefined;
|
|
7824
7843
|
handling?: "flat" | "normal" | undefined;
|
|
7825
7844
|
invoicing?: "scheduled" | "next" | "immediate" | undefined;
|
|
7826
|
-
}
|
|
7845
|
+
}>>>;
|
|
7827
7846
|
policyLines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7828
7847
|
displayName: z.ZodOptional<z.ZodString>;
|
|
7829
7848
|
contents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -8807,12 +8826,12 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
8807
8826
|
}> | undefined;
|
|
8808
8827
|
displayName?: string | undefined;
|
|
8809
8828
|
}> | undefined;
|
|
8810
|
-
charges?: {
|
|
8829
|
+
charges?: Record<string, {
|
|
8811
8830
|
displayName?: string | undefined;
|
|
8812
8831
|
category?: "none" | "premium" | "tax" | "fee" | "credit" | "commission" | "flatPremium" | "flatTax" | "flatFee" | "flatCommission" | "cededPremium" | "flatCededPremium" | "nonFinancial" | "surcharge" | "invoiceFee" | undefined;
|
|
8813
8832
|
handling?: "flat" | "normal" | undefined;
|
|
8814
8833
|
invoicing?: "scheduled" | "next" | "immediate" | undefined;
|
|
8815
|
-
} | undefined;
|
|
8834
|
+
}> | undefined;
|
|
8816
8835
|
defaultInstallmentPlan?: string | undefined;
|
|
8817
8836
|
defaultBillingPlan?: string | undefined;
|
|
8818
8837
|
defaultTermDuration?: number | undefined;
|
|
@@ -9495,12 +9514,12 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
9495
9514
|
}> | undefined;
|
|
9496
9515
|
displayName?: string | undefined;
|
|
9497
9516
|
}> | undefined;
|
|
9498
|
-
charges?: {
|
|
9517
|
+
charges?: Record<string, {
|
|
9499
9518
|
displayName?: string | undefined;
|
|
9500
9519
|
category?: "none" | "premium" | "tax" | "fee" | "credit" | "commission" | "flatPremium" | "flatTax" | "flatFee" | "flatCommission" | "cededPremium" | "flatCededPremium" | "nonFinancial" | "surcharge" | "invoiceFee" | undefined;
|
|
9501
9520
|
handling?: "flat" | "normal" | undefined;
|
|
9502
9521
|
invoicing?: "scheduled" | "next" | "immediate" | undefined;
|
|
9503
|
-
} | undefined;
|
|
9522
|
+
}> | undefined;
|
|
9504
9523
|
defaultInstallmentPlan?: string | undefined;
|
|
9505
9524
|
defaultBillingPlan?: string | undefined;
|
|
9506
9525
|
defaultTermDuration?: number | undefined;
|