@socotra/ec-react-schemas 2.15.4 → 2.15.6
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 +44 -38
- package/dist/index.es.js +6 -3
- 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
|
@@ -7922,6 +7922,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
7922
7922
|
format: z.ZodOptional<z.ZodEnum<["text", "html", "pdf", "jpg", "jpeg", "doc", "docx", "xls", "xlsx", "csv", "txt", "zip"]>>;
|
|
7923
7923
|
selectionTimeBasis: z.ZodOptional<z.ZodEnum<["policyStartTime", "termStartTime", "transactionEffectiveTime", "currentTime"]>>;
|
|
7924
7924
|
trigger: z.ZodOptional<z.ZodEnum<["validated", "priced", "accepted", "issued", "underwritten", "generated"]>>;
|
|
7925
|
+
templateSnippets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7925
7926
|
rendering: z.ZodUnion<[z.ZodLiteral<"dynamic">, z.ZodLiteral<"prerendered">]>;
|
|
7926
7927
|
portrait: z.ZodOptional<z.ZodBoolean>;
|
|
7927
7928
|
pageSize: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"letter">, z.ZodLiteral<"legal">, z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">, z.ZodLiteral<"B4">, z.ZodLiteral<"B5">]>>;
|
|
@@ -7941,11 +7942,9 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
7941
7942
|
left?: number | undefined;
|
|
7942
7943
|
right?: number | undefined;
|
|
7943
7944
|
}>>;
|
|
7944
|
-
templateSnippets: z.ZodArray<z.ZodString, "many">;
|
|
7945
7945
|
}, "strip", z.ZodTypeAny, {
|
|
7946
7946
|
scope: "policy" | "invoice" | "transaction" | "segment" | "term" | "policyUnique" | "termUnique";
|
|
7947
7947
|
rendering: "dynamic" | "prerendered";
|
|
7948
|
-
templateSnippets: string[];
|
|
7949
7948
|
displayName?: string | undefined;
|
|
7950
7949
|
selectionTimeBasis?: "policyStartTime" | "termStartTime" | "transactionEffectiveTime" | "currentTime" | undefined;
|
|
7951
7950
|
format?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
@@ -7958,10 +7957,10 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
7958
7957
|
left?: number | undefined;
|
|
7959
7958
|
right?: number | undefined;
|
|
7960
7959
|
} | undefined;
|
|
7960
|
+
templateSnippets?: string[] | undefined;
|
|
7961
7961
|
}, {
|
|
7962
7962
|
scope: "policy" | "invoice" | "transaction" | "segment" | "term" | "policyUnique" | "termUnique";
|
|
7963
7963
|
rendering: "dynamic" | "prerendered";
|
|
7964
|
-
templateSnippets: string[];
|
|
7965
7964
|
displayName?: string | undefined;
|
|
7966
7965
|
selectionTimeBasis?: "policyStartTime" | "termStartTime" | "transactionEffectiveTime" | "currentTime" | undefined;
|
|
7967
7966
|
format?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
@@ -7974,6 +7973,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
7974
7973
|
left?: number | undefined;
|
|
7975
7974
|
right?: number | undefined;
|
|
7976
7975
|
} | undefined;
|
|
7976
|
+
templateSnippets?: string[] | undefined;
|
|
7977
7977
|
}>>>;
|
|
7978
7978
|
disbursements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
|
|
7979
7979
|
displayName: z.ZodString;
|
|
@@ -8218,25 +8218,25 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
8218
8218
|
dueLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
8219
8219
|
installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
8220
8220
|
maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
|
|
8221
|
-
invoiceFeeAmounts: z.ZodRecord<z.ZodString, z.ZodAny
|
|
8221
|
+
invoiceFeeAmounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8222
8222
|
}, "strip", z.ZodTypeAny, {
|
|
8223
8223
|
cadence: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays";
|
|
8224
|
-
invoiceFeeAmounts: Record<string, any>;
|
|
8225
8224
|
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
8226
8225
|
dueLeadDays?: number | undefined;
|
|
8227
8226
|
generateLeadDays?: number | undefined;
|
|
8228
8227
|
maxInstallmentsPerTerm?: number | undefined;
|
|
8229
8228
|
displayName?: string | undefined;
|
|
8230
8229
|
installmentWeights?: number[] | undefined;
|
|
8230
|
+
invoiceFeeAmounts?: Record<string, any> | undefined;
|
|
8231
8231
|
}, {
|
|
8232
8232
|
cadence: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays";
|
|
8233
|
-
invoiceFeeAmounts: Record<string, any>;
|
|
8234
8233
|
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
8235
8234
|
dueLeadDays?: number | undefined;
|
|
8236
8235
|
generateLeadDays?: number | undefined;
|
|
8237
8236
|
maxInstallmentsPerTerm?: number | undefined;
|
|
8238
8237
|
displayName?: string | undefined;
|
|
8239
8238
|
installmentWeights?: number[] | undefined;
|
|
8239
|
+
invoiceFeeAmounts?: Record<string, any> | undefined;
|
|
8240
8240
|
}>>>;
|
|
8241
8241
|
workManagement: z.ZodOptional<z.ZodObject<{
|
|
8242
8242
|
activities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -9162,7 +9162,6 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
9162
9162
|
documents?: Record<string, {
|
|
9163
9163
|
scope: "policy" | "invoice" | "transaction" | "segment" | "term" | "policyUnique" | "termUnique";
|
|
9164
9164
|
rendering: "dynamic" | "prerendered";
|
|
9165
|
-
templateSnippets: string[];
|
|
9166
9165
|
displayName?: string | undefined;
|
|
9167
9166
|
selectionTimeBasis?: "policyStartTime" | "termStartTime" | "transactionEffectiveTime" | "currentTime" | undefined;
|
|
9168
9167
|
format?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
@@ -9175,6 +9174,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
9175
9174
|
left?: number | undefined;
|
|
9176
9175
|
right?: number | undefined;
|
|
9177
9176
|
} | undefined;
|
|
9177
|
+
templateSnippets?: string[] | undefined;
|
|
9178
9178
|
}> | undefined;
|
|
9179
9179
|
defaultBillingTrigger?: string | undefined;
|
|
9180
9180
|
defaultTimeZone?: string | undefined;
|
|
@@ -9369,13 +9369,13 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
9369
9369
|
}> | undefined;
|
|
9370
9370
|
installmentPlans?: Record<string, {
|
|
9371
9371
|
cadence: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays";
|
|
9372
|
-
invoiceFeeAmounts: Record<string, any>;
|
|
9373
9372
|
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
9374
9373
|
dueLeadDays?: number | undefined;
|
|
9375
9374
|
generateLeadDays?: number | undefined;
|
|
9376
9375
|
maxInstallmentsPerTerm?: number | undefined;
|
|
9377
9376
|
displayName?: string | undefined;
|
|
9378
9377
|
installmentWeights?: number[] | undefined;
|
|
9378
|
+
invoiceFeeAmounts?: Record<string, any> | undefined;
|
|
9379
9379
|
}> | undefined;
|
|
9380
9380
|
billingPlans?: any;
|
|
9381
9381
|
payments?: Record<string, {
|
|
@@ -9612,7 +9612,6 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
9612
9612
|
documents?: Record<string, {
|
|
9613
9613
|
scope: "policy" | "invoice" | "transaction" | "segment" | "term" | "policyUnique" | "termUnique";
|
|
9614
9614
|
rendering: "dynamic" | "prerendered";
|
|
9615
|
-
templateSnippets: string[];
|
|
9616
9615
|
displayName?: string | undefined;
|
|
9617
9616
|
selectionTimeBasis?: "policyStartTime" | "termStartTime" | "transactionEffectiveTime" | "currentTime" | undefined;
|
|
9618
9617
|
format?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
@@ -9625,6 +9624,7 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
9625
9624
|
left?: number | undefined;
|
|
9626
9625
|
right?: number | undefined;
|
|
9627
9626
|
} | undefined;
|
|
9627
|
+
templateSnippets?: string[] | undefined;
|
|
9628
9628
|
}> | undefined;
|
|
9629
9629
|
defaultBillingTrigger?: string | undefined;
|
|
9630
9630
|
defaultTimeZone?: string | undefined;
|
|
@@ -9819,13 +9819,13 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
9819
9819
|
}> | undefined;
|
|
9820
9820
|
installmentPlans?: Record<string, {
|
|
9821
9821
|
cadence: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays";
|
|
9822
|
-
invoiceFeeAmounts: Record<string, any>;
|
|
9823
9822
|
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
9824
9823
|
dueLeadDays?: number | undefined;
|
|
9825
9824
|
generateLeadDays?: number | undefined;
|
|
9826
9825
|
maxInstallmentsPerTerm?: number | undefined;
|
|
9827
9826
|
displayName?: string | undefined;
|
|
9828
9827
|
installmentWeights?: number[] | undefined;
|
|
9828
|
+
invoiceFeeAmounts?: Record<string, any> | undefined;
|
|
9829
9829
|
}> | undefined;
|
|
9830
9830
|
billingPlans?: any;
|
|
9831
9831
|
payments?: Record<string, {
|
|
@@ -12184,6 +12184,8 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
12184
12184
|
createdBy: z.ZodString;
|
|
12185
12185
|
readyAt: z.ZodOptional<z.ZodString>;
|
|
12186
12186
|
renderingData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12187
|
+
consolidatedFrom: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12188
|
+
consolidatedTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12187
12189
|
}>, "strip", z.ZodTypeAny, {
|
|
12188
12190
|
locator: string;
|
|
12189
12191
|
createdBy: string;
|
|
@@ -12192,8 +12194,6 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
12192
12194
|
referenceLocator: string;
|
|
12193
12195
|
createdAt: string;
|
|
12194
12196
|
external: boolean;
|
|
12195
|
-
consolidatedFrom: string[];
|
|
12196
|
-
consolidatedTo: string[];
|
|
12197
12197
|
category?: string | undefined;
|
|
12198
12198
|
metadata?: Record<string, any> | undefined;
|
|
12199
12199
|
staticName?: string | undefined;
|
|
@@ -12207,6 +12207,8 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
12207
12207
|
documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
12208
12208
|
processingErrors?: string | undefined;
|
|
12209
12209
|
readyAt?: string | undefined;
|
|
12210
|
+
consolidatedFrom?: string[] | undefined;
|
|
12211
|
+
consolidatedTo?: string[] | undefined;
|
|
12210
12212
|
}, {
|
|
12211
12213
|
locator: string;
|
|
12212
12214
|
createdBy: string;
|
|
@@ -12215,8 +12217,6 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
12215
12217
|
referenceLocator: string;
|
|
12216
12218
|
createdAt: string;
|
|
12217
12219
|
external: boolean;
|
|
12218
|
-
consolidatedFrom: string[];
|
|
12219
|
-
consolidatedTo: string[];
|
|
12220
12220
|
category?: string | undefined;
|
|
12221
12221
|
metadata?: Record<string, any> | undefined;
|
|
12222
12222
|
staticName?: string | undefined;
|
|
@@ -12230,6 +12230,8 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
12230
12230
|
documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
12231
12231
|
processingErrors?: string | undefined;
|
|
12232
12232
|
readyAt?: string | undefined;
|
|
12233
|
+
consolidatedFrom?: string[] | undefined;
|
|
12234
|
+
consolidatedTo?: string[] | undefined;
|
|
12233
12235
|
}>;
|
|
12234
12236
|
|
|
12235
12237
|
export declare const documentInstanceResponseSchema: z.ZodObject<{
|
|
@@ -12330,6 +12332,8 @@ export declare const DocumentInstanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
12330
12332
|
createdBy: z.ZodString;
|
|
12331
12333
|
readyAt: z.ZodOptional<z.ZodString>;
|
|
12332
12334
|
renderingData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12335
|
+
consolidatedFrom: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12336
|
+
consolidatedTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12333
12337
|
}>, "strip", z.ZodTypeAny, {
|
|
12334
12338
|
locator: string;
|
|
12335
12339
|
createdBy: string;
|
|
@@ -12338,8 +12342,6 @@ export declare const DocumentInstanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
12338
12342
|
referenceLocator: string;
|
|
12339
12343
|
createdAt: string;
|
|
12340
12344
|
external: boolean;
|
|
12341
|
-
consolidatedFrom: string[];
|
|
12342
|
-
consolidatedTo: string[];
|
|
12343
12345
|
category?: string | undefined;
|
|
12344
12346
|
metadata?: Record<string, any> | undefined;
|
|
12345
12347
|
staticName?: string | undefined;
|
|
@@ -12353,6 +12355,8 @@ export declare const DocumentInstanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
12353
12355
|
documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
12354
12356
|
processingErrors?: string | undefined;
|
|
12355
12357
|
readyAt?: string | undefined;
|
|
12358
|
+
consolidatedFrom?: string[] | undefined;
|
|
12359
|
+
consolidatedTo?: string[] | undefined;
|
|
12356
12360
|
}, {
|
|
12357
12361
|
locator: string;
|
|
12358
12362
|
createdBy: string;
|
|
@@ -12361,8 +12365,6 @@ export declare const DocumentInstanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
12361
12365
|
referenceLocator: string;
|
|
12362
12366
|
createdAt: string;
|
|
12363
12367
|
external: boolean;
|
|
12364
|
-
consolidatedFrom: string[];
|
|
12365
|
-
consolidatedTo: string[];
|
|
12366
12368
|
category?: string | undefined;
|
|
12367
12369
|
metadata?: Record<string, any> | undefined;
|
|
12368
12370
|
staticName?: string | undefined;
|
|
@@ -12376,6 +12378,8 @@ export declare const DocumentInstanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
12376
12378
|
documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
12377
12379
|
processingErrors?: string | undefined;
|
|
12378
12380
|
readyAt?: string | undefined;
|
|
12381
|
+
consolidatedFrom?: string[] | undefined;
|
|
12382
|
+
consolidatedTo?: string[] | undefined;
|
|
12379
12383
|
}>;
|
|
12380
12384
|
|
|
12381
12385
|
export declare const DocumentInstanceStateEnumSchema: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
|
|
@@ -12423,6 +12427,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
12423
12427
|
createdBy: z.ZodString;
|
|
12424
12428
|
readyAt: z.ZodOptional<z.ZodString>;
|
|
12425
12429
|
renderingData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12430
|
+
consolidatedFrom: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12431
|
+
consolidatedTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12426
12432
|
}>, "strip", z.ZodTypeAny, {
|
|
12427
12433
|
locator: string;
|
|
12428
12434
|
createdBy: string;
|
|
@@ -12431,8 +12437,6 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
12431
12437
|
referenceLocator: string;
|
|
12432
12438
|
createdAt: string;
|
|
12433
12439
|
external: boolean;
|
|
12434
|
-
consolidatedFrom: string[];
|
|
12435
|
-
consolidatedTo: string[];
|
|
12436
12440
|
category?: string | undefined;
|
|
12437
12441
|
metadata?: Record<string, any> | undefined;
|
|
12438
12442
|
staticName?: string | undefined;
|
|
@@ -12446,6 +12450,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
12446
12450
|
documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
12447
12451
|
processingErrors?: string | undefined;
|
|
12448
12452
|
readyAt?: string | undefined;
|
|
12453
|
+
consolidatedFrom?: string[] | undefined;
|
|
12454
|
+
consolidatedTo?: string[] | undefined;
|
|
12449
12455
|
}, {
|
|
12450
12456
|
locator: string;
|
|
12451
12457
|
createdBy: string;
|
|
@@ -12454,8 +12460,6 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
12454
12460
|
referenceLocator: string;
|
|
12455
12461
|
createdAt: string;
|
|
12456
12462
|
external: boolean;
|
|
12457
|
-
consolidatedFrom: string[];
|
|
12458
|
-
consolidatedTo: string[];
|
|
12459
12463
|
category?: string | undefined;
|
|
12460
12464
|
metadata?: Record<string, any> | undefined;
|
|
12461
12465
|
staticName?: string | undefined;
|
|
@@ -12469,6 +12473,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
12469
12473
|
documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
12470
12474
|
processingErrors?: string | undefined;
|
|
12471
12475
|
readyAt?: string | undefined;
|
|
12476
|
+
consolidatedFrom?: string[] | undefined;
|
|
12477
|
+
consolidatedTo?: string[] | undefined;
|
|
12472
12478
|
}>, "many">;
|
|
12473
12479
|
}, "strip", z.ZodTypeAny, {
|
|
12474
12480
|
items: {
|
|
@@ -12479,8 +12485,6 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
12479
12485
|
referenceLocator: string;
|
|
12480
12486
|
createdAt: string;
|
|
12481
12487
|
external: boolean;
|
|
12482
|
-
consolidatedFrom: string[];
|
|
12483
|
-
consolidatedTo: string[];
|
|
12484
12488
|
category?: string | undefined;
|
|
12485
12489
|
metadata?: Record<string, any> | undefined;
|
|
12486
12490
|
staticName?: string | undefined;
|
|
@@ -12494,6 +12498,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
12494
12498
|
documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
12495
12499
|
processingErrors?: string | undefined;
|
|
12496
12500
|
readyAt?: string | undefined;
|
|
12501
|
+
consolidatedFrom?: string[] | undefined;
|
|
12502
|
+
consolidatedTo?: string[] | undefined;
|
|
12497
12503
|
}[];
|
|
12498
12504
|
listCompleted: boolean;
|
|
12499
12505
|
}, {
|
|
@@ -12505,8 +12511,6 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
12505
12511
|
referenceLocator: string;
|
|
12506
12512
|
createdAt: string;
|
|
12507
12513
|
external: boolean;
|
|
12508
|
-
consolidatedFrom: string[];
|
|
12509
|
-
consolidatedTo: string[];
|
|
12510
12514
|
category?: string | undefined;
|
|
12511
12515
|
metadata?: Record<string, any> | undefined;
|
|
12512
12516
|
staticName?: string | undefined;
|
|
@@ -12520,6 +12524,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
12520
12524
|
documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
12521
12525
|
processingErrors?: string | undefined;
|
|
12522
12526
|
readyAt?: string | undefined;
|
|
12527
|
+
consolidatedFrom?: string[] | undefined;
|
|
12528
|
+
consolidatedTo?: string[] | undefined;
|
|
12523
12529
|
}[];
|
|
12524
12530
|
listCompleted: boolean;
|
|
12525
12531
|
}>;
|
|
@@ -12542,6 +12548,7 @@ export declare const DocumentRefRecordSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
12542
12548
|
format: z.ZodOptional<z.ZodEnum<["text", "html", "pdf", "jpg", "jpeg", "doc", "docx", "xls", "xlsx", "csv", "txt", "zip"]>>;
|
|
12543
12549
|
selectionTimeBasis: z.ZodOptional<z.ZodEnum<["policyStartTime", "termStartTime", "transactionEffectiveTime", "currentTime"]>>;
|
|
12544
12550
|
trigger: z.ZodOptional<z.ZodEnum<["validated", "priced", "accepted", "issued", "underwritten", "generated"]>>;
|
|
12551
|
+
templateSnippets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12545
12552
|
rendering: z.ZodUnion<[z.ZodLiteral<"dynamic">, z.ZodLiteral<"prerendered">]>;
|
|
12546
12553
|
portrait: z.ZodOptional<z.ZodBoolean>;
|
|
12547
12554
|
pageSize: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"letter">, z.ZodLiteral<"legal">, z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">, z.ZodLiteral<"B4">, z.ZodLiteral<"B5">]>>;
|
|
@@ -12561,11 +12568,9 @@ export declare const DocumentRefRecordSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
12561
12568
|
left?: number | undefined;
|
|
12562
12569
|
right?: number | undefined;
|
|
12563
12570
|
}>>;
|
|
12564
|
-
templateSnippets: z.ZodArray<z.ZodString, "many">;
|
|
12565
12571
|
}, "strip", z.ZodTypeAny, {
|
|
12566
12572
|
scope: "policy" | "invoice" | "transaction" | "segment" | "term" | "policyUnique" | "termUnique";
|
|
12567
12573
|
rendering: "dynamic" | "prerendered";
|
|
12568
|
-
templateSnippets: string[];
|
|
12569
12574
|
displayName?: string | undefined;
|
|
12570
12575
|
selectionTimeBasis?: "policyStartTime" | "termStartTime" | "transactionEffectiveTime" | "currentTime" | undefined;
|
|
12571
12576
|
format?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
@@ -12578,10 +12583,10 @@ export declare const DocumentRefRecordSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
12578
12583
|
left?: number | undefined;
|
|
12579
12584
|
right?: number | undefined;
|
|
12580
12585
|
} | undefined;
|
|
12586
|
+
templateSnippets?: string[] | undefined;
|
|
12581
12587
|
}, {
|
|
12582
12588
|
scope: "policy" | "invoice" | "transaction" | "segment" | "term" | "policyUnique" | "termUnique";
|
|
12583
12589
|
rendering: "dynamic" | "prerendered";
|
|
12584
|
-
templateSnippets: string[];
|
|
12585
12590
|
displayName?: string | undefined;
|
|
12586
12591
|
selectionTimeBasis?: "policyStartTime" | "termStartTime" | "transactionEffectiveTime" | "currentTime" | undefined;
|
|
12587
12592
|
format?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
@@ -12594,6 +12599,7 @@ export declare const DocumentRefRecordSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
12594
12599
|
left?: number | undefined;
|
|
12595
12600
|
right?: number | undefined;
|
|
12596
12601
|
} | undefined;
|
|
12602
|
+
templateSnippets?: string[] | undefined;
|
|
12597
12603
|
}>>;
|
|
12598
12604
|
|
|
12599
12605
|
export declare const DocumentRefSchema: z.ZodObject<{
|
|
@@ -12602,6 +12608,7 @@ export declare const DocumentRefSchema: z.ZodObject<{
|
|
|
12602
12608
|
format: z.ZodOptional<z.ZodEnum<["text", "html", "pdf", "jpg", "jpeg", "doc", "docx", "xls", "xlsx", "csv", "txt", "zip"]>>;
|
|
12603
12609
|
selectionTimeBasis: z.ZodOptional<z.ZodEnum<["policyStartTime", "termStartTime", "transactionEffectiveTime", "currentTime"]>>;
|
|
12604
12610
|
trigger: z.ZodOptional<z.ZodEnum<["validated", "priced", "accepted", "issued", "underwritten", "generated"]>>;
|
|
12611
|
+
templateSnippets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12605
12612
|
rendering: z.ZodUnion<[z.ZodLiteral<"dynamic">, z.ZodLiteral<"prerendered">]>;
|
|
12606
12613
|
portrait: z.ZodOptional<z.ZodBoolean>;
|
|
12607
12614
|
pageSize: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"letter">, z.ZodLiteral<"legal">, z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">, z.ZodLiteral<"B4">, z.ZodLiteral<"B5">]>>;
|
|
@@ -12621,11 +12628,9 @@ export declare const DocumentRefSchema: z.ZodObject<{
|
|
|
12621
12628
|
left?: number | undefined;
|
|
12622
12629
|
right?: number | undefined;
|
|
12623
12630
|
}>>;
|
|
12624
|
-
templateSnippets: z.ZodArray<z.ZodString, "many">;
|
|
12625
12631
|
}, "strip", z.ZodTypeAny, {
|
|
12626
12632
|
scope: "policy" | "invoice" | "transaction" | "segment" | "term" | "policyUnique" | "termUnique";
|
|
12627
12633
|
rendering: "dynamic" | "prerendered";
|
|
12628
|
-
templateSnippets: string[];
|
|
12629
12634
|
displayName?: string | undefined;
|
|
12630
12635
|
selectionTimeBasis?: "policyStartTime" | "termStartTime" | "transactionEffectiveTime" | "currentTime" | undefined;
|
|
12631
12636
|
format?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
@@ -12638,10 +12643,10 @@ export declare const DocumentRefSchema: z.ZodObject<{
|
|
|
12638
12643
|
left?: number | undefined;
|
|
12639
12644
|
right?: number | undefined;
|
|
12640
12645
|
} | undefined;
|
|
12646
|
+
templateSnippets?: string[] | undefined;
|
|
12641
12647
|
}, {
|
|
12642
12648
|
scope: "policy" | "invoice" | "transaction" | "segment" | "term" | "policyUnique" | "termUnique";
|
|
12643
12649
|
rendering: "dynamic" | "prerendered";
|
|
12644
|
-
templateSnippets: string[];
|
|
12645
12650
|
displayName?: string | undefined;
|
|
12646
12651
|
selectionTimeBasis?: "policyStartTime" | "termStartTime" | "transactionEffectiveTime" | "currentTime" | undefined;
|
|
12647
12652
|
format?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
|
|
@@ -12654,6 +12659,7 @@ export declare const DocumentRefSchema: z.ZodObject<{
|
|
|
12654
12659
|
left?: number | undefined;
|
|
12655
12660
|
right?: number | undefined;
|
|
12656
12661
|
} | undefined;
|
|
12662
|
+
templateSnippets?: string[] | undefined;
|
|
12657
12663
|
}>;
|
|
12658
12664
|
|
|
12659
12665
|
export declare type DocumentScopeEnum = z.infer<typeof DocumentScopeEnumSchema>;
|
|
@@ -13504,25 +13510,25 @@ export declare const InstallmentPlanRecordSchema: z.ZodRecord<z.ZodString, z.Zod
|
|
|
13504
13510
|
dueLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
13505
13511
|
installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
13506
13512
|
maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
|
|
13507
|
-
invoiceFeeAmounts: z.ZodRecord<z.ZodString, z.ZodAny
|
|
13513
|
+
invoiceFeeAmounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13508
13514
|
}, "strip", z.ZodTypeAny, {
|
|
13509
13515
|
cadence: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays";
|
|
13510
|
-
invoiceFeeAmounts: Record<string, any>;
|
|
13511
13516
|
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
13512
13517
|
dueLeadDays?: number | undefined;
|
|
13513
13518
|
generateLeadDays?: number | undefined;
|
|
13514
13519
|
maxInstallmentsPerTerm?: number | undefined;
|
|
13515
13520
|
displayName?: string | undefined;
|
|
13516
13521
|
installmentWeights?: number[] | undefined;
|
|
13522
|
+
invoiceFeeAmounts?: Record<string, any> | undefined;
|
|
13517
13523
|
}, {
|
|
13518
13524
|
cadence: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays";
|
|
13519
|
-
invoiceFeeAmounts: Record<string, any>;
|
|
13520
13525
|
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
13521
13526
|
dueLeadDays?: number | undefined;
|
|
13522
13527
|
generateLeadDays?: number | undefined;
|
|
13523
13528
|
maxInstallmentsPerTerm?: number | undefined;
|
|
13524
13529
|
displayName?: string | undefined;
|
|
13525
13530
|
installmentWeights?: number[] | undefined;
|
|
13531
|
+
invoiceFeeAmounts?: Record<string, any> | undefined;
|
|
13526
13532
|
}>>;
|
|
13527
13533
|
|
|
13528
13534
|
export declare type InstallmentPlanRef = z.infer<typeof InstallmentPlanRefSchema>;
|
|
@@ -13535,25 +13541,25 @@ export declare const InstallmentPlanRefSchema: z.ZodObject<{
|
|
|
13535
13541
|
dueLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
13536
13542
|
installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
13537
13543
|
maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
|
|
13538
|
-
invoiceFeeAmounts: z.ZodRecord<z.ZodString, z.ZodAny
|
|
13544
|
+
invoiceFeeAmounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13539
13545
|
}, "strip", z.ZodTypeAny, {
|
|
13540
13546
|
cadence: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays";
|
|
13541
|
-
invoiceFeeAmounts: Record<string, any>;
|
|
13542
13547
|
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
13543
13548
|
dueLeadDays?: number | undefined;
|
|
13544
13549
|
generateLeadDays?: number | undefined;
|
|
13545
13550
|
maxInstallmentsPerTerm?: number | undefined;
|
|
13546
13551
|
displayName?: string | undefined;
|
|
13547
13552
|
installmentWeights?: number[] | undefined;
|
|
13553
|
+
invoiceFeeAmounts?: Record<string, any> | undefined;
|
|
13548
13554
|
}, {
|
|
13549
13555
|
cadence: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays";
|
|
13550
|
-
invoiceFeeAmounts: Record<string, any>;
|
|
13551
13556
|
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
13552
13557
|
dueLeadDays?: number | undefined;
|
|
13553
13558
|
generateLeadDays?: number | undefined;
|
|
13554
13559
|
maxInstallmentsPerTerm?: number | undefined;
|
|
13555
13560
|
displayName?: string | undefined;
|
|
13556
13561
|
installmentWeights?: number[] | undefined;
|
|
13562
|
+
invoiceFeeAmounts?: Record<string, any> | undefined;
|
|
13557
13563
|
}>;
|
|
13558
13564
|
|
|
13559
13565
|
export declare type InstallmentPreferences = z.infer<typeof InstallmentPreferencesSchema>;
|
package/dist/index.es.js
CHANGED
|
@@ -7325,7 +7325,8 @@ const ft = e.object({
|
|
|
7325
7325
|
scope: Tl,
|
|
7326
7326
|
format: ca.optional(),
|
|
7327
7327
|
selectionTimeBasis: Ln.optional(),
|
|
7328
|
-
trigger: Al.optional()
|
|
7328
|
+
trigger: Al.optional(),
|
|
7329
|
+
templateSnippets: e.array(e.string()).optional()
|
|
7329
7330
|
}), Il = e.record(Nl), Ml = e.object({
|
|
7330
7331
|
...Ya.shape,
|
|
7331
7332
|
displayName: e.string().optional(),
|
|
@@ -7335,7 +7336,7 @@ const ft = e.object({
|
|
|
7335
7336
|
dueLeadDays: e.number().optional(),
|
|
7336
7337
|
installmentWeights: e.array(e.number()).optional(),
|
|
7337
7338
|
maxInstallmentsPerTerm: e.number().optional(),
|
|
7338
|
-
invoiceFeeAmounts: w
|
|
7339
|
+
invoiceFeeAmounts: w.optional()
|
|
7339
7340
|
}), Ol = e.record(Ml), Zl = e.object({
|
|
7340
7341
|
...en.shape,
|
|
7341
7342
|
activities: e.record(e.record(El)).optional(),
|
|
@@ -9069,7 +9070,9 @@ const rr = bc.merge(
|
|
|
9069
9070
|
createdAt: g,
|
|
9070
9071
|
createdBy: _,
|
|
9071
9072
|
readyAt: g.optional(),
|
|
9072
|
-
renderingData: w.optional()
|
|
9073
|
+
renderingData: w.optional(),
|
|
9074
|
+
consolidatedFrom: e.array(e.string()).optional(),
|
|
9075
|
+
consolidatedTo: e.array(e.string()).optional()
|
|
9073
9076
|
})
|
|
9074
9077
|
), Rm = x(rr), Em = e.object({
|
|
9075
9078
|
tenantLocator: ke
|