@socotra/ec-react-schemas 2.5.1-next.0 → 2.5.1-next.1
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 +504 -10
- package/dist/index.es.js +317 -256
- 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
|
@@ -478,6 +478,47 @@ export declare type Cadence = z.infer<typeof cadenceEnumSchema>;
|
|
|
478
478
|
|
|
479
479
|
export declare const cadenceEnumSchema: z.ZodEnum<["none", "fullPay", "weekly", "everyOtherWeek", "monthly", "quarterly", "semiannually", "annually", "thirtyDays", "everyNDays"]>;
|
|
480
480
|
|
|
481
|
+
export declare type ChargeCategory = z.infer<typeof chargeCategoryEnumSchema>;
|
|
482
|
+
|
|
483
|
+
export declare const chargeCategoryEnumSchema: z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>;
|
|
484
|
+
|
|
485
|
+
export declare type ChargeResponse = z.infer<typeof chargeResponseSchema>;
|
|
486
|
+
|
|
487
|
+
export declare const chargeResponseSchema: z.ZodObject<{
|
|
488
|
+
locator: z.ZodString;
|
|
489
|
+
elementLocator: z.ZodString;
|
|
490
|
+
elementStaticLocator: z.ZodString;
|
|
491
|
+
amount: z.ZodNumber;
|
|
492
|
+
chargeCategory: z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>;
|
|
493
|
+
chargeType: z.ZodString;
|
|
494
|
+
rate: z.ZodNumber;
|
|
495
|
+
reversalOfLocator: z.ZodOptional<z.ZodString>;
|
|
496
|
+
rateDifference: z.ZodOptional<z.ZodNumber>;
|
|
497
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
498
|
+
}, "strip", z.ZodTypeAny, {
|
|
499
|
+
locator: string;
|
|
500
|
+
elementLocator: string;
|
|
501
|
+
chargeType: string;
|
|
502
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
503
|
+
amount: number;
|
|
504
|
+
rate: number;
|
|
505
|
+
elementStaticLocator: string;
|
|
506
|
+
tag?: string | undefined;
|
|
507
|
+
rateDifference?: number | undefined;
|
|
508
|
+
reversalOfLocator?: string | undefined;
|
|
509
|
+
}, {
|
|
510
|
+
locator: string;
|
|
511
|
+
elementLocator: string;
|
|
512
|
+
chargeType: string;
|
|
513
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
514
|
+
amount: number;
|
|
515
|
+
rate: number;
|
|
516
|
+
elementStaticLocator: string;
|
|
517
|
+
tag?: string | undefined;
|
|
518
|
+
rateDifference?: number | undefined;
|
|
519
|
+
reversalOfLocator?: string | undefined;
|
|
520
|
+
}>;
|
|
521
|
+
|
|
481
522
|
export declare type CoverageTermOption = z.infer<typeof coverageTermOptionSchema>;
|
|
482
523
|
|
|
483
524
|
export declare const coverageTermOptionSchema: z.ZodObject<{
|
|
@@ -2366,8 +2407,8 @@ export declare const documentInstanceResponseSchema: z.ZodObject<{
|
|
|
2366
2407
|
createdAt: string;
|
|
2367
2408
|
documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
2368
2409
|
referenceLocator: string;
|
|
2369
|
-
policyLocator?: string | undefined;
|
|
2370
2410
|
createdBy?: string | undefined;
|
|
2411
|
+
policyLocator?: string | undefined;
|
|
2371
2412
|
staticName?: string | undefined;
|
|
2372
2413
|
name?: string | undefined;
|
|
2373
2414
|
referenceType?: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term" | undefined;
|
|
@@ -2385,8 +2426,8 @@ export declare const documentInstanceResponseSchema: z.ZodObject<{
|
|
|
2385
2426
|
createdAt: string;
|
|
2386
2427
|
documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
|
|
2387
2428
|
referenceLocator: string;
|
|
2388
|
-
policyLocator?: string | undefined;
|
|
2389
2429
|
createdBy?: string | undefined;
|
|
2430
|
+
policyLocator?: string | undefined;
|
|
2390
2431
|
staticName?: string | undefined;
|
|
2391
2432
|
name?: string | undefined;
|
|
2392
2433
|
referenceType?: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term" | undefined;
|
|
@@ -3294,6 +3335,7 @@ export declare const policyResponseSchema: z.ZodObject<{
|
|
|
3294
3335
|
billingTrigger: "accept" | "issue";
|
|
3295
3336
|
issuedTransactionLocator: string;
|
|
3296
3337
|
latestTermLocator: string;
|
|
3338
|
+
createdBy?: string | undefined;
|
|
3297
3339
|
delinquencyPlanName?: string | undefined;
|
|
3298
3340
|
timezone?: string | undefined;
|
|
3299
3341
|
validationResult?: {
|
|
@@ -3306,7 +3348,6 @@ export declare const policyResponseSchema: z.ZodObject<{
|
|
|
3306
3348
|
} | undefined;
|
|
3307
3349
|
autoRenewalPlanName?: string | undefined;
|
|
3308
3350
|
createdAt?: string | undefined;
|
|
3309
|
-
createdBy?: string | undefined;
|
|
3310
3351
|
branchHeadTransactionLocators?: string[] | undefined;
|
|
3311
3352
|
static?: Record<string, any> | undefined;
|
|
3312
3353
|
}, {
|
|
@@ -3321,6 +3362,7 @@ export declare const policyResponseSchema: z.ZodObject<{
|
|
|
3321
3362
|
billingTrigger: "accept" | "issue";
|
|
3322
3363
|
issuedTransactionLocator: string;
|
|
3323
3364
|
latestTermLocator: string;
|
|
3365
|
+
createdBy?: string | undefined;
|
|
3324
3366
|
delinquencyPlanName?: string | undefined;
|
|
3325
3367
|
timezone?: string | undefined;
|
|
3326
3368
|
validationResult?: {
|
|
@@ -3333,7 +3375,6 @@ export declare const policyResponseSchema: z.ZodObject<{
|
|
|
3333
3375
|
} | undefined;
|
|
3334
3376
|
autoRenewalPlanName?: string | undefined;
|
|
3335
3377
|
createdAt?: string | undefined;
|
|
3336
|
-
createdBy?: string | undefined;
|
|
3337
3378
|
branchHeadTransactionLocators?: string[] | undefined;
|
|
3338
3379
|
static?: Record<string, any> | undefined;
|
|
3339
3380
|
}>;
|
|
@@ -4653,9 +4694,9 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
|
|
|
4653
4694
|
}>>;
|
|
4654
4695
|
}, "strip", z.ZodTypeAny, {
|
|
4655
4696
|
locator: string;
|
|
4697
|
+
createdBy: string;
|
|
4656
4698
|
policyLocator: string;
|
|
4657
4699
|
createdAt: string;
|
|
4658
|
-
createdBy: string;
|
|
4659
4700
|
effectiveTime: string;
|
|
4660
4701
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
4661
4702
|
transactionType: string;
|
|
@@ -4739,9 +4780,9 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
|
|
|
4739
4780
|
baseTransactionLocator?: string | undefined;
|
|
4740
4781
|
}, {
|
|
4741
4782
|
locator: string;
|
|
4783
|
+
createdBy: string;
|
|
4742
4784
|
policyLocator: string;
|
|
4743
4785
|
createdAt: string;
|
|
4744
|
-
createdBy: string;
|
|
4745
4786
|
effectiveTime: string;
|
|
4746
4787
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
4747
4788
|
transactionType: string;
|
|
@@ -4826,9 +4867,9 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
|
|
|
4826
4867
|
}>, "many">>>;
|
|
4827
4868
|
}>, "strip", z.ZodTypeAny, {
|
|
4828
4869
|
locator: string;
|
|
4870
|
+
createdBy: string;
|
|
4829
4871
|
policyLocator: string;
|
|
4830
4872
|
createdAt: string;
|
|
4831
|
-
createdBy: string;
|
|
4832
4873
|
effectiveTime: string;
|
|
4833
4874
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
4834
4875
|
transactionType: string;
|
|
@@ -4912,9 +4953,9 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
|
|
|
4912
4953
|
baseTransactionLocator?: string | undefined;
|
|
4913
4954
|
aggregatedTransactions?: {
|
|
4914
4955
|
locator: string;
|
|
4956
|
+
createdBy: string;
|
|
4915
4957
|
policyLocator: string;
|
|
4916
4958
|
createdAt: string;
|
|
4917
|
-
createdBy: string;
|
|
4918
4959
|
effectiveTime: string;
|
|
4919
4960
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
4920
4961
|
transactionType: string;
|
|
@@ -4999,9 +5040,9 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
|
|
|
4999
5040
|
}[] | undefined;
|
|
5000
5041
|
}, {
|
|
5001
5042
|
locator: string;
|
|
5043
|
+
createdBy: string;
|
|
5002
5044
|
policyLocator: string;
|
|
5003
5045
|
createdAt: string;
|
|
5004
|
-
createdBy: string;
|
|
5005
5046
|
effectiveTime: string;
|
|
5006
5047
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
5007
5048
|
transactionType: string;
|
|
@@ -5085,9 +5126,9 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
|
|
|
5085
5126
|
baseTransactionLocator?: string | undefined;
|
|
5086
5127
|
aggregatedTransactions?: {
|
|
5087
5128
|
locator: string;
|
|
5129
|
+
createdBy: string;
|
|
5088
5130
|
policyLocator: string;
|
|
5089
5131
|
createdAt: string;
|
|
5090
|
-
createdBy: string;
|
|
5091
5132
|
effectiveTime: string;
|
|
5092
5133
|
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
5093
5134
|
transactionType: string;
|
|
@@ -6143,6 +6184,28 @@ export declare type QuoteState = z.infer<typeof quoteStateEnumSchema>;
|
|
|
6143
6184
|
|
|
6144
6185
|
export declare const quoteStateEnumSchema: z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>;
|
|
6145
6186
|
|
|
6187
|
+
export declare type ResetTransactionOptionsRequest = z.infer<typeof resetTransactionOptionsRequestSchema>;
|
|
6188
|
+
|
|
6189
|
+
export declare const resetTransactionOptionsRequestSchema: z.ZodObject<{
|
|
6190
|
+
deleteAllAutomaticDocuments: z.ZodOptional<z.ZodBoolean>;
|
|
6191
|
+
resetAllUnderwritingFlags: z.ZodOptional<z.ZodBoolean>;
|
|
6192
|
+
resetFlagsAction: z.ZodOptional<z.ZodEnum<["clear", "delete"]>>;
|
|
6193
|
+
deleteDocuments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6194
|
+
resetFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6195
|
+
}, "strip", z.ZodTypeAny, {
|
|
6196
|
+
deleteAllAutomaticDocuments?: boolean | undefined;
|
|
6197
|
+
resetAllUnderwritingFlags?: boolean | undefined;
|
|
6198
|
+
resetFlagsAction?: "delete" | "clear" | undefined;
|
|
6199
|
+
deleteDocuments?: string[] | undefined;
|
|
6200
|
+
resetFlags?: string[] | undefined;
|
|
6201
|
+
}, {
|
|
6202
|
+
deleteAllAutomaticDocuments?: boolean | undefined;
|
|
6203
|
+
resetAllUnderwritingFlags?: boolean | undefined;
|
|
6204
|
+
resetFlagsAction?: "delete" | "clear" | undefined;
|
|
6205
|
+
deleteDocuments?: string[] | undefined;
|
|
6206
|
+
resetFlags?: string[] | undefined;
|
|
6207
|
+
}>;
|
|
6208
|
+
|
|
6146
6209
|
export declare type SegmentResponse = z.infer<typeof segmentResponseSchema>;
|
|
6147
6210
|
|
|
6148
6211
|
export declare const segmentResponseSchema: z.ZodObject<{
|
|
@@ -6594,6 +6657,226 @@ export declare type TransactionCategory = z.infer<typeof transactionCategoryEnum
|
|
|
6594
6657
|
|
|
6595
6658
|
export declare const transactionCategoryEnumSchema: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
|
|
6596
6659
|
|
|
6660
|
+
export declare type TransactionPriceResponse = z.infer<typeof transactionPriceResponseSchema>;
|
|
6661
|
+
|
|
6662
|
+
export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
6663
|
+
locator: z.ZodString;
|
|
6664
|
+
policyLocator: z.ZodString;
|
|
6665
|
+
transactionCategory: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
|
|
6666
|
+
transactionState: z.ZodEnum<["draft", "initialized", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded", "invalidated", "reversed"]>;
|
|
6667
|
+
effectiveTime: z.ZodString;
|
|
6668
|
+
termLocator: z.ZodOptional<z.ZodString>;
|
|
6669
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
6670
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
6671
|
+
charges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6672
|
+
locator: z.ZodString;
|
|
6673
|
+
elementLocator: z.ZodString;
|
|
6674
|
+
elementStaticLocator: z.ZodString;
|
|
6675
|
+
amount: z.ZodNumber;
|
|
6676
|
+
chargeCategory: z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>;
|
|
6677
|
+
chargeType: z.ZodString;
|
|
6678
|
+
rate: z.ZodNumber;
|
|
6679
|
+
reversalOfLocator: z.ZodOptional<z.ZodString>;
|
|
6680
|
+
rateDifference: z.ZodOptional<z.ZodNumber>;
|
|
6681
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
6682
|
+
}, "strip", z.ZodTypeAny, {
|
|
6683
|
+
locator: string;
|
|
6684
|
+
elementLocator: string;
|
|
6685
|
+
chargeType: string;
|
|
6686
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
6687
|
+
amount: number;
|
|
6688
|
+
rate: number;
|
|
6689
|
+
elementStaticLocator: string;
|
|
6690
|
+
tag?: string | undefined;
|
|
6691
|
+
rateDifference?: number | undefined;
|
|
6692
|
+
reversalOfLocator?: string | undefined;
|
|
6693
|
+
}, {
|
|
6694
|
+
locator: string;
|
|
6695
|
+
elementLocator: string;
|
|
6696
|
+
chargeType: string;
|
|
6697
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
6698
|
+
amount: number;
|
|
6699
|
+
rate: number;
|
|
6700
|
+
elementStaticLocator: string;
|
|
6701
|
+
tag?: string | undefined;
|
|
6702
|
+
rateDifference?: number | undefined;
|
|
6703
|
+
reversalOfLocator?: string | undefined;
|
|
6704
|
+
}>, "many">>;
|
|
6705
|
+
}, {
|
|
6706
|
+
aggregatedTransactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6707
|
+
locator: z.ZodString;
|
|
6708
|
+
policyLocator: z.ZodString;
|
|
6709
|
+
transactionCategory: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
|
|
6710
|
+
transactionState: z.ZodEnum<["draft", "initialized", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded", "invalidated", "reversed"]>;
|
|
6711
|
+
effectiveTime: z.ZodString;
|
|
6712
|
+
termLocator: z.ZodOptional<z.ZodString>;
|
|
6713
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
6714
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
6715
|
+
charges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6716
|
+
locator: z.ZodString;
|
|
6717
|
+
elementLocator: z.ZodString;
|
|
6718
|
+
elementStaticLocator: z.ZodString;
|
|
6719
|
+
amount: z.ZodNumber;
|
|
6720
|
+
chargeCategory: z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>;
|
|
6721
|
+
chargeType: z.ZodString;
|
|
6722
|
+
rate: z.ZodNumber;
|
|
6723
|
+
reversalOfLocator: z.ZodOptional<z.ZodString>;
|
|
6724
|
+
rateDifference: z.ZodOptional<z.ZodNumber>;
|
|
6725
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
6726
|
+
}, "strip", z.ZodTypeAny, {
|
|
6727
|
+
locator: string;
|
|
6728
|
+
elementLocator: string;
|
|
6729
|
+
chargeType: string;
|
|
6730
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
6731
|
+
amount: number;
|
|
6732
|
+
rate: number;
|
|
6733
|
+
elementStaticLocator: string;
|
|
6734
|
+
tag?: string | undefined;
|
|
6735
|
+
rateDifference?: number | undefined;
|
|
6736
|
+
reversalOfLocator?: string | undefined;
|
|
6737
|
+
}, {
|
|
6738
|
+
locator: string;
|
|
6739
|
+
elementLocator: string;
|
|
6740
|
+
chargeType: string;
|
|
6741
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
6742
|
+
amount: number;
|
|
6743
|
+
rate: number;
|
|
6744
|
+
elementStaticLocator: string;
|
|
6745
|
+
tag?: string | undefined;
|
|
6746
|
+
rateDifference?: number | undefined;
|
|
6747
|
+
reversalOfLocator?: string | undefined;
|
|
6748
|
+
}>, "many">>;
|
|
6749
|
+
}, "strip", z.ZodTypeAny, {
|
|
6750
|
+
locator: string;
|
|
6751
|
+
policyLocator: string;
|
|
6752
|
+
effectiveTime: string;
|
|
6753
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
6754
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
6755
|
+
createdBy?: string | undefined;
|
|
6756
|
+
charges?: {
|
|
6757
|
+
locator: string;
|
|
6758
|
+
elementLocator: string;
|
|
6759
|
+
chargeType: string;
|
|
6760
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
6761
|
+
amount: number;
|
|
6762
|
+
rate: number;
|
|
6763
|
+
elementStaticLocator: string;
|
|
6764
|
+
tag?: string | undefined;
|
|
6765
|
+
rateDifference?: number | undefined;
|
|
6766
|
+
reversalOfLocator?: string | undefined;
|
|
6767
|
+
}[] | undefined;
|
|
6768
|
+
createdAt?: string | undefined;
|
|
6769
|
+
termLocator?: string | undefined;
|
|
6770
|
+
}, {
|
|
6771
|
+
locator: string;
|
|
6772
|
+
policyLocator: string;
|
|
6773
|
+
effectiveTime: string;
|
|
6774
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
6775
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
6776
|
+
createdBy?: string | undefined;
|
|
6777
|
+
charges?: {
|
|
6778
|
+
locator: string;
|
|
6779
|
+
elementLocator: string;
|
|
6780
|
+
chargeType: string;
|
|
6781
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
6782
|
+
amount: number;
|
|
6783
|
+
rate: number;
|
|
6784
|
+
elementStaticLocator: string;
|
|
6785
|
+
tag?: string | undefined;
|
|
6786
|
+
rateDifference?: number | undefined;
|
|
6787
|
+
reversalOfLocator?: string | undefined;
|
|
6788
|
+
}[] | undefined;
|
|
6789
|
+
createdAt?: string | undefined;
|
|
6790
|
+
termLocator?: string | undefined;
|
|
6791
|
+
}>, "many">>;
|
|
6792
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6793
|
+
locator: string;
|
|
6794
|
+
policyLocator: string;
|
|
6795
|
+
effectiveTime: string;
|
|
6796
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
6797
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
6798
|
+
createdBy?: string | undefined;
|
|
6799
|
+
charges?: {
|
|
6800
|
+
locator: string;
|
|
6801
|
+
elementLocator: string;
|
|
6802
|
+
chargeType: string;
|
|
6803
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
6804
|
+
amount: number;
|
|
6805
|
+
rate: number;
|
|
6806
|
+
elementStaticLocator: string;
|
|
6807
|
+
tag?: string | undefined;
|
|
6808
|
+
rateDifference?: number | undefined;
|
|
6809
|
+
reversalOfLocator?: string | undefined;
|
|
6810
|
+
}[] | undefined;
|
|
6811
|
+
createdAt?: string | undefined;
|
|
6812
|
+
termLocator?: string | undefined;
|
|
6813
|
+
aggregatedTransactions?: {
|
|
6814
|
+
locator: string;
|
|
6815
|
+
policyLocator: string;
|
|
6816
|
+
effectiveTime: string;
|
|
6817
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
6818
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
6819
|
+
createdBy?: string | undefined;
|
|
6820
|
+
charges?: {
|
|
6821
|
+
locator: string;
|
|
6822
|
+
elementLocator: string;
|
|
6823
|
+
chargeType: string;
|
|
6824
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
6825
|
+
amount: number;
|
|
6826
|
+
rate: number;
|
|
6827
|
+
elementStaticLocator: string;
|
|
6828
|
+
tag?: string | undefined;
|
|
6829
|
+
rateDifference?: number | undefined;
|
|
6830
|
+
reversalOfLocator?: string | undefined;
|
|
6831
|
+
}[] | undefined;
|
|
6832
|
+
createdAt?: string | undefined;
|
|
6833
|
+
termLocator?: string | undefined;
|
|
6834
|
+
}[] | undefined;
|
|
6835
|
+
}, {
|
|
6836
|
+
locator: string;
|
|
6837
|
+
policyLocator: string;
|
|
6838
|
+
effectiveTime: string;
|
|
6839
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
6840
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
6841
|
+
createdBy?: string | undefined;
|
|
6842
|
+
charges?: {
|
|
6843
|
+
locator: string;
|
|
6844
|
+
elementLocator: string;
|
|
6845
|
+
chargeType: string;
|
|
6846
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
6847
|
+
amount: number;
|
|
6848
|
+
rate: number;
|
|
6849
|
+
elementStaticLocator: string;
|
|
6850
|
+
tag?: string | undefined;
|
|
6851
|
+
rateDifference?: number | undefined;
|
|
6852
|
+
reversalOfLocator?: string | undefined;
|
|
6853
|
+
}[] | undefined;
|
|
6854
|
+
createdAt?: string | undefined;
|
|
6855
|
+
termLocator?: string | undefined;
|
|
6856
|
+
aggregatedTransactions?: {
|
|
6857
|
+
locator: string;
|
|
6858
|
+
policyLocator: string;
|
|
6859
|
+
effectiveTime: string;
|
|
6860
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
6861
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
6862
|
+
createdBy?: string | undefined;
|
|
6863
|
+
charges?: {
|
|
6864
|
+
locator: string;
|
|
6865
|
+
elementLocator: string;
|
|
6866
|
+
chargeType: string;
|
|
6867
|
+
chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
|
|
6868
|
+
amount: number;
|
|
6869
|
+
rate: number;
|
|
6870
|
+
elementStaticLocator: string;
|
|
6871
|
+
tag?: string | undefined;
|
|
6872
|
+
rateDifference?: number | undefined;
|
|
6873
|
+
reversalOfLocator?: string | undefined;
|
|
6874
|
+
}[] | undefined;
|
|
6875
|
+
createdAt?: string | undefined;
|
|
6876
|
+
termLocator?: string | undefined;
|
|
6877
|
+
}[] | undefined;
|
|
6878
|
+
}>;
|
|
6879
|
+
|
|
6597
6880
|
export declare type TransactionSnapshotResponse = z.infer<typeof transactionSnapshotResponseSchema>;
|
|
6598
6881
|
|
|
6599
6882
|
export declare const transactionSnapshotResponseSchema: z.ZodObject<{
|
|
@@ -6948,6 +7231,217 @@ export declare const transactionTypesRecordsSchema: z.ZodRecord<z.ZodString, z.Z
|
|
|
6948
7231
|
costBearing: boolean;
|
|
6949
7232
|
}>>;
|
|
6950
7233
|
|
|
7234
|
+
export declare type TransactionUnderwritingResponse = z.infer<typeof transactionUnderwritingResponseSchema>;
|
|
7235
|
+
|
|
7236
|
+
export declare const transactionUnderwritingResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
7237
|
+
locator: z.ZodString;
|
|
7238
|
+
policyLocator: z.ZodString;
|
|
7239
|
+
transactionState: z.ZodEnum<["draft", "initialized", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded", "invalidated", "reversed"]>;
|
|
7240
|
+
effectiveTime: z.ZodString;
|
|
7241
|
+
transactionCategory: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
|
|
7242
|
+
underwritingStatus: z.ZodOptional<z.ZodString>;
|
|
7243
|
+
underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7244
|
+
locator: z.ZodString;
|
|
7245
|
+
elementLocator: z.ZodString;
|
|
7246
|
+
clearedBy: z.ZodOptional<z.ZodString>;
|
|
7247
|
+
clearedTime: z.ZodOptional<z.ZodString>;
|
|
7248
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
7249
|
+
createdTime: z.ZodOptional<z.ZodString>;
|
|
7250
|
+
level: z.ZodOptional<z.ZodEnum<["info", "block", "decline", "reject", "approve"]>>;
|
|
7251
|
+
note: z.ZodOptional<z.ZodString>;
|
|
7252
|
+
}, "strip", z.ZodTypeAny, {
|
|
7253
|
+
locator: string;
|
|
7254
|
+
elementLocator: string;
|
|
7255
|
+
clearedBy?: string | undefined;
|
|
7256
|
+
clearedTime?: string | undefined;
|
|
7257
|
+
createdBy?: string | undefined;
|
|
7258
|
+
createdTime?: string | undefined;
|
|
7259
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7260
|
+
note?: string | undefined;
|
|
7261
|
+
}, {
|
|
7262
|
+
locator: string;
|
|
7263
|
+
elementLocator: string;
|
|
7264
|
+
clearedBy?: string | undefined;
|
|
7265
|
+
clearedTime?: string | undefined;
|
|
7266
|
+
createdBy?: string | undefined;
|
|
7267
|
+
createdTime?: string | undefined;
|
|
7268
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7269
|
+
note?: string | undefined;
|
|
7270
|
+
}>, "many">>;
|
|
7271
|
+
}, {
|
|
7272
|
+
aggregatedTransactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7273
|
+
locator: z.ZodString;
|
|
7274
|
+
policyLocator: z.ZodString;
|
|
7275
|
+
transactionState: z.ZodEnum<["draft", "initialized", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded", "invalidated", "reversed"]>;
|
|
7276
|
+
effectiveTime: z.ZodString;
|
|
7277
|
+
transactionCategory: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
|
|
7278
|
+
underwritingStatus: z.ZodOptional<z.ZodString>;
|
|
7279
|
+
underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7280
|
+
locator: z.ZodString;
|
|
7281
|
+
elementLocator: z.ZodString;
|
|
7282
|
+
clearedBy: z.ZodOptional<z.ZodString>;
|
|
7283
|
+
clearedTime: z.ZodOptional<z.ZodString>;
|
|
7284
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
7285
|
+
createdTime: z.ZodOptional<z.ZodString>;
|
|
7286
|
+
level: z.ZodOptional<z.ZodEnum<["info", "block", "decline", "reject", "approve"]>>;
|
|
7287
|
+
note: z.ZodOptional<z.ZodString>;
|
|
7288
|
+
}, "strip", z.ZodTypeAny, {
|
|
7289
|
+
locator: string;
|
|
7290
|
+
elementLocator: string;
|
|
7291
|
+
clearedBy?: string | undefined;
|
|
7292
|
+
clearedTime?: string | undefined;
|
|
7293
|
+
createdBy?: string | undefined;
|
|
7294
|
+
createdTime?: string | undefined;
|
|
7295
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7296
|
+
note?: string | undefined;
|
|
7297
|
+
}, {
|
|
7298
|
+
locator: string;
|
|
7299
|
+
elementLocator: string;
|
|
7300
|
+
clearedBy?: string | undefined;
|
|
7301
|
+
clearedTime?: string | undefined;
|
|
7302
|
+
createdBy?: string | undefined;
|
|
7303
|
+
createdTime?: string | undefined;
|
|
7304
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7305
|
+
note?: string | undefined;
|
|
7306
|
+
}>, "many">>;
|
|
7307
|
+
}, "strip", z.ZodTypeAny, {
|
|
7308
|
+
locator: string;
|
|
7309
|
+
policyLocator: string;
|
|
7310
|
+
effectiveTime: string;
|
|
7311
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
7312
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
7313
|
+
underwritingStatus?: string | undefined;
|
|
7314
|
+
underwritingFlags?: {
|
|
7315
|
+
locator: string;
|
|
7316
|
+
elementLocator: string;
|
|
7317
|
+
clearedBy?: string | undefined;
|
|
7318
|
+
clearedTime?: string | undefined;
|
|
7319
|
+
createdBy?: string | undefined;
|
|
7320
|
+
createdTime?: string | undefined;
|
|
7321
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7322
|
+
note?: string | undefined;
|
|
7323
|
+
}[] | undefined;
|
|
7324
|
+
}, {
|
|
7325
|
+
locator: string;
|
|
7326
|
+
policyLocator: string;
|
|
7327
|
+
effectiveTime: string;
|
|
7328
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
7329
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
7330
|
+
underwritingStatus?: string | undefined;
|
|
7331
|
+
underwritingFlags?: {
|
|
7332
|
+
locator: string;
|
|
7333
|
+
elementLocator: string;
|
|
7334
|
+
clearedBy?: string | undefined;
|
|
7335
|
+
clearedTime?: string | undefined;
|
|
7336
|
+
createdBy?: string | undefined;
|
|
7337
|
+
createdTime?: string | undefined;
|
|
7338
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7339
|
+
note?: string | undefined;
|
|
7340
|
+
}[] | undefined;
|
|
7341
|
+
}>, "many">>;
|
|
7342
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7343
|
+
locator: string;
|
|
7344
|
+
policyLocator: string;
|
|
7345
|
+
effectiveTime: string;
|
|
7346
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
7347
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
7348
|
+
underwritingStatus?: string | undefined;
|
|
7349
|
+
aggregatedTransactions?: {
|
|
7350
|
+
locator: string;
|
|
7351
|
+
policyLocator: string;
|
|
7352
|
+
effectiveTime: string;
|
|
7353
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
7354
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
7355
|
+
underwritingStatus?: string | undefined;
|
|
7356
|
+
underwritingFlags?: {
|
|
7357
|
+
locator: string;
|
|
7358
|
+
elementLocator: string;
|
|
7359
|
+
clearedBy?: string | undefined;
|
|
7360
|
+
clearedTime?: string | undefined;
|
|
7361
|
+
createdBy?: string | undefined;
|
|
7362
|
+
createdTime?: string | undefined;
|
|
7363
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7364
|
+
note?: string | undefined;
|
|
7365
|
+
}[] | undefined;
|
|
7366
|
+
}[] | undefined;
|
|
7367
|
+
underwritingFlags?: {
|
|
7368
|
+
locator: string;
|
|
7369
|
+
elementLocator: string;
|
|
7370
|
+
clearedBy?: string | undefined;
|
|
7371
|
+
clearedTime?: string | undefined;
|
|
7372
|
+
createdBy?: string | undefined;
|
|
7373
|
+
createdTime?: string | undefined;
|
|
7374
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7375
|
+
note?: string | undefined;
|
|
7376
|
+
}[] | undefined;
|
|
7377
|
+
}, {
|
|
7378
|
+
locator: string;
|
|
7379
|
+
policyLocator: string;
|
|
7380
|
+
effectiveTime: string;
|
|
7381
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
7382
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
7383
|
+
underwritingStatus?: string | undefined;
|
|
7384
|
+
aggregatedTransactions?: {
|
|
7385
|
+
locator: string;
|
|
7386
|
+
policyLocator: string;
|
|
7387
|
+
effectiveTime: string;
|
|
7388
|
+
transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
|
|
7389
|
+
transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
|
|
7390
|
+
underwritingStatus?: string | undefined;
|
|
7391
|
+
underwritingFlags?: {
|
|
7392
|
+
locator: string;
|
|
7393
|
+
elementLocator: string;
|
|
7394
|
+
clearedBy?: string | undefined;
|
|
7395
|
+
clearedTime?: string | undefined;
|
|
7396
|
+
createdBy?: string | undefined;
|
|
7397
|
+
createdTime?: string | undefined;
|
|
7398
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7399
|
+
note?: string | undefined;
|
|
7400
|
+
}[] | undefined;
|
|
7401
|
+
}[] | undefined;
|
|
7402
|
+
underwritingFlags?: {
|
|
7403
|
+
locator: string;
|
|
7404
|
+
elementLocator: string;
|
|
7405
|
+
clearedBy?: string | undefined;
|
|
7406
|
+
clearedTime?: string | undefined;
|
|
7407
|
+
createdBy?: string | undefined;
|
|
7408
|
+
createdTime?: string | undefined;
|
|
7409
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7410
|
+
note?: string | undefined;
|
|
7411
|
+
}[] | undefined;
|
|
7412
|
+
}>;
|
|
7413
|
+
|
|
7414
|
+
export declare type UnderwritingFlagResponse = z.infer<typeof underwritingFlagResponseSchema>;
|
|
7415
|
+
|
|
7416
|
+
export declare const underwritingFlagResponseSchema: z.ZodObject<{
|
|
7417
|
+
locator: z.ZodString;
|
|
7418
|
+
elementLocator: z.ZodString;
|
|
7419
|
+
clearedBy: z.ZodOptional<z.ZodString>;
|
|
7420
|
+
clearedTime: z.ZodOptional<z.ZodString>;
|
|
7421
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
7422
|
+
createdTime: z.ZodOptional<z.ZodString>;
|
|
7423
|
+
level: z.ZodOptional<z.ZodEnum<["info", "block", "decline", "reject", "approve"]>>;
|
|
7424
|
+
note: z.ZodOptional<z.ZodString>;
|
|
7425
|
+
}, "strip", z.ZodTypeAny, {
|
|
7426
|
+
locator: string;
|
|
7427
|
+
elementLocator: string;
|
|
7428
|
+
clearedBy?: string | undefined;
|
|
7429
|
+
clearedTime?: string | undefined;
|
|
7430
|
+
createdBy?: string | undefined;
|
|
7431
|
+
createdTime?: string | undefined;
|
|
7432
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7433
|
+
note?: string | undefined;
|
|
7434
|
+
}, {
|
|
7435
|
+
locator: string;
|
|
7436
|
+
elementLocator: string;
|
|
7437
|
+
clearedBy?: string | undefined;
|
|
7438
|
+
clearedTime?: string | undefined;
|
|
7439
|
+
createdBy?: string | undefined;
|
|
7440
|
+
createdTime?: string | undefined;
|
|
7441
|
+
level?: "info" | "block" | "decline" | "reject" | "approve" | undefined;
|
|
7442
|
+
note?: string | undefined;
|
|
7443
|
+
}>;
|
|
7444
|
+
|
|
6951
7445
|
export declare type ValidationItem = z.infer<typeof validationItemSchema>;
|
|
6952
7446
|
|
|
6953
7447
|
declare const validationItemSchema: z.ZodObject<{
|