@socotra/ec-react-schemas 2.4.0 → 2.5.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
@@ -382,6 +382,10 @@ export declare const addChangeInstructionResponseSchema: z.ZodObject<{
382
382
  action: "add";
383
383
  }>;
384
384
 
385
+ export declare type AdvanceLapseTo = z.infer<typeof advanceLapseToEnumSchema>;
386
+
387
+ export declare const advanceLapseToEnumSchema: z.ZodEnum<["draft", "validated", "priced", "underwritten", "accepted", "issued"]>;
388
+
385
389
  export declare const advanceLapseToSchema: z.ZodEnum<["draft", "validated", "priced", "underwritten", "accepted", "issued"]>;
386
390
 
387
391
  export declare type AnchorMode = z.infer<typeof anchorModeEnumSchema>;
@@ -995,6 +999,16 @@ export declare const dataModelSchema: z.ZodObject<{
995
999
  renewalIssueLeadDays?: number | undefined;
996
1000
  renewalTransactionType?: string | undefined;
997
1001
  }>>;
1002
+ transactionTypes: z.ZodRecord<z.ZodString, z.ZodObject<{
1003
+ category: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
1004
+ costBearing: z.ZodBoolean;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
1007
+ costBearing: boolean;
1008
+ }, {
1009
+ category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
1010
+ costBearing: boolean;
1011
+ }>>;
998
1012
  policyLines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
999
1013
  displayName: z.ZodOptional<z.ZodString>;
1000
1014
  contents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1430,7 +1444,6 @@ export declare const dataModelSchema: z.ZodObject<{
1430
1444
  defaultBillingLevel: z.ZodOptional<z.ZodString>;
1431
1445
  defaultShortfallTolerancePlan: z.ZodOptional<z.ZodString>;
1432
1446
  charges: z.ZodAny;
1433
- transactionTypes: z.ZodAny;
1434
1447
  installmentPlans: z.ZodAny;
1435
1448
  billingPlans: z.ZodAny;
1436
1449
  payments: z.ZodAny;
@@ -1555,6 +1568,10 @@ export declare const dataModelSchema: z.ZodObject<{
1555
1568
  renewalIssueLeadDays?: number | undefined;
1556
1569
  renewalTransactionType?: string | undefined;
1557
1570
  }>;
1571
+ transactionTypes: Record<string, {
1572
+ category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
1573
+ costBearing: boolean;
1574
+ }>;
1558
1575
  charges?: any;
1559
1576
  defaultTimeZone?: string | undefined;
1560
1577
  defaultCurrency?: string | undefined;
@@ -1672,7 +1689,6 @@ export declare const dataModelSchema: z.ZodObject<{
1672
1689
  defaultBackdatedInstallmentsBilling?: string | undefined;
1673
1690
  defaultExcessCreditPlan?: string | undefined;
1674
1691
  defaultBillingPlan?: string | undefined;
1675
- transactionTypes?: any;
1676
1692
  installmentPlans?: any;
1677
1693
  billingPlans?: any;
1678
1694
  payments?: any;
@@ -1795,6 +1811,10 @@ export declare const dataModelSchema: z.ZodObject<{
1795
1811
  renewalIssueLeadDays?: number | undefined;
1796
1812
  renewalTransactionType?: string | undefined;
1797
1813
  }>;
1814
+ transactionTypes: Record<string, {
1815
+ category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
1816
+ costBearing: boolean;
1817
+ }>;
1798
1818
  charges?: any;
1799
1819
  defaultTimeZone?: string | undefined;
1800
1820
  defaultCurrency?: string | undefined;
@@ -1912,7 +1932,6 @@ export declare const dataModelSchema: z.ZodObject<{
1912
1932
  defaultBackdatedInstallmentsBilling?: string | undefined;
1913
1933
  defaultExcessCreditPlan?: string | undefined;
1914
1934
  defaultBillingPlan?: string | undefined;
1915
- transactionTypes?: any;
1916
1935
  installmentPlans?: any;
1917
1936
  billingPlans?: any;
1918
1937
  payments?: any;
@@ -2156,6 +2175,10 @@ export declare const deleteChangeInstructionResponseSchema: z.ZodObject<{
2156
2175
  staticElementLocators: string[];
2157
2176
  }>;
2158
2177
 
2178
+ export declare type DelinquencyLevel = z.infer<typeof delinquencyLevelEnumSchema>;
2179
+
2180
+ export declare const delinquencyLevelEnumSchema: z.ZodEnum<["policy", "invoice"]>;
2181
+
2159
2182
  export declare const delinquencyLevelSchema: z.ZodEnum<["policy", "invoice"]>;
2160
2183
 
2161
2184
  export declare type DelinquencyPlan = z.infer<typeof delinquencyPlanSchema>;
@@ -2200,6 +2223,123 @@ export declare const delinquencyPlanSchema: z.ZodObject<{
2200
2223
  lapseTransactionType?: string | undefined;
2201
2224
  }>;
2202
2225
 
2226
+ export declare type DelinquencyReference = z.infer<typeof delinquencyReferenceSchema>;
2227
+
2228
+ export declare const delinquencyReferenceSchema: z.ZodObject<{
2229
+ locator: z.ZodString;
2230
+ delinquencyLocator: z.ZodString;
2231
+ referenceLocator: z.ZodString;
2232
+ referenceType: z.ZodEnum<["policy", "quote", "invoice"]>;
2233
+ preemptingLapseTransactionLocator: z.ZodOptional<z.ZodString>;
2234
+ transactionLocator: z.ZodOptional<z.ZodString>;
2235
+ }, "strip", z.ZodTypeAny, {
2236
+ locator: string;
2237
+ referenceType: "policy" | "quote" | "invoice";
2238
+ referenceLocator: string;
2239
+ delinquencyLocator: string;
2240
+ transactionLocator?: string | undefined;
2241
+ preemptingLapseTransactionLocator?: string | undefined;
2242
+ }, {
2243
+ locator: string;
2244
+ referenceType: "policy" | "quote" | "invoice";
2245
+ referenceLocator: string;
2246
+ delinquencyLocator: string;
2247
+ transactionLocator?: string | undefined;
2248
+ preemptingLapseTransactionLocator?: string | undefined;
2249
+ }>;
2250
+
2251
+ export declare type DelinquencyReferenceType = z.infer<typeof delinquencyReferenceTypeEnumSchema>;
2252
+
2253
+ export declare const delinquencyReferenceTypeEnumSchema: z.ZodEnum<["policy", "quote", "invoice"]>;
2254
+
2255
+ export declare type DelinquencyResponse = z.infer<typeof delinquencyResponseSchema>;
2256
+
2257
+ export declare const delinquencyResponseSchema: z.ZodObject<{
2258
+ locator: z.ZodString;
2259
+ accountLocator: z.ZodString;
2260
+ delinquencyState: z.ZodEnum<["preGrace", "inGrace", "lapseTriggered", "settled"]>;
2261
+ createdAt: z.ZodString;
2262
+ settings: z.ZodObject<{
2263
+ advanceLapseTo: z.ZodEnum<["draft", "validated", "priced", "underwritten", "accepted", "issued"]>;
2264
+ gracePeriodDays: z.ZodNumber;
2265
+ lapseTransactionType: z.ZodString;
2266
+ delinquencyLevel: z.ZodOptional<z.ZodEnum<["policy", "invoice"]>>;
2267
+ }, "strip", z.ZodTypeAny, {
2268
+ gracePeriodDays: number;
2269
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
2270
+ lapseTransactionType: string;
2271
+ delinquencyLevel?: "policy" | "invoice" | undefined;
2272
+ }, {
2273
+ gracePeriodDays: number;
2274
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
2275
+ lapseTransactionType: string;
2276
+ delinquencyLevel?: "policy" | "invoice" | undefined;
2277
+ }>;
2278
+ timezone: z.ZodString;
2279
+ updatedAt: z.ZodString;
2280
+ graceEndAt: z.ZodOptional<z.ZodString>;
2281
+ graceStartedAt: z.ZodOptional<z.ZodString>;
2282
+ lapseTransactionEffectiveDate: z.ZodOptional<z.ZodString>;
2283
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
2284
+ }, "strip", z.ZodTypeAny, {
2285
+ locator: string;
2286
+ timezone: string;
2287
+ accountLocator: string;
2288
+ createdAt: string;
2289
+ delinquencyState: "settled" | "preGrace" | "inGrace" | "lapseTriggered";
2290
+ settings: {
2291
+ gracePeriodDays: number;
2292
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
2293
+ lapseTransactionType: string;
2294
+ delinquencyLevel?: "policy" | "invoice" | undefined;
2295
+ };
2296
+ updatedAt: string;
2297
+ graceEndAt?: string | undefined;
2298
+ graceStartedAt?: string | undefined;
2299
+ lapseTransactionEffectiveDate?: string | undefined;
2300
+ references?: {}[] | undefined;
2301
+ }, {
2302
+ locator: string;
2303
+ timezone: string;
2304
+ accountLocator: string;
2305
+ createdAt: string;
2306
+ delinquencyState: "settled" | "preGrace" | "inGrace" | "lapseTriggered";
2307
+ settings: {
2308
+ gracePeriodDays: number;
2309
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
2310
+ lapseTransactionType: string;
2311
+ delinquencyLevel?: "policy" | "invoice" | undefined;
2312
+ };
2313
+ updatedAt: string;
2314
+ graceEndAt?: string | undefined;
2315
+ graceStartedAt?: string | undefined;
2316
+ lapseTransactionEffectiveDate?: string | undefined;
2317
+ references?: {}[] | undefined;
2318
+ }>;
2319
+
2320
+ export declare type DelinquencySettings = z.infer<typeof delinquencySettingsSchema>;
2321
+
2322
+ export declare const delinquencySettingsSchema: z.ZodObject<{
2323
+ advanceLapseTo: z.ZodEnum<["draft", "validated", "priced", "underwritten", "accepted", "issued"]>;
2324
+ gracePeriodDays: z.ZodNumber;
2325
+ lapseTransactionType: z.ZodString;
2326
+ delinquencyLevel: z.ZodOptional<z.ZodEnum<["policy", "invoice"]>>;
2327
+ }, "strip", z.ZodTypeAny, {
2328
+ gracePeriodDays: number;
2329
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
2330
+ lapseTransactionType: string;
2331
+ delinquencyLevel?: "policy" | "invoice" | undefined;
2332
+ }, {
2333
+ gracePeriodDays: number;
2334
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
2335
+ lapseTransactionType: string;
2336
+ delinquencyLevel?: "policy" | "invoice" | undefined;
2337
+ }>;
2338
+
2339
+ export declare type DelinquencyState = z.infer<typeof delinquencyStateEnumSchema>;
2340
+
2341
+ export declare const delinquencyStateEnumSchema: z.ZodEnum<["preGrace", "inGrace", "lapseTriggered", "settled"]>;
2342
+
2203
2343
  export declare type DocumentInstanceResponse = z.infer<typeof documentInstanceResponseSchema>;
2204
2344
 
2205
2345
  export declare const documentInstanceResponseSchema: z.ZodObject<{
@@ -2224,8 +2364,8 @@ export declare const documentInstanceResponseSchema: z.ZodObject<{
2224
2364
  }, "strip", z.ZodTypeAny, {
2225
2365
  locator: string;
2226
2366
  createdAt: string;
2227
- referenceLocator: string;
2228
2367
  documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
2368
+ referenceLocator: string;
2229
2369
  policyLocator?: string | undefined;
2230
2370
  createdBy?: string | undefined;
2231
2371
  staticName?: string | undefined;
@@ -2243,8 +2383,8 @@ export declare const documentInstanceResponseSchema: z.ZodObject<{
2243
2383
  }, {
2244
2384
  locator: string;
2245
2385
  createdAt: string;
2246
- referenceLocator: string;
2247
2386
  documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
2387
+ referenceLocator: string;
2248
2388
  policyLocator?: string | undefined;
2249
2389
  createdBy?: string | undefined;
2250
2390
  staticName?: string | undefined;
@@ -2275,17 +2415,17 @@ export declare const documentSummarySchema: z.ZodObject<{
2275
2415
  locator: z.ZodString;
2276
2416
  staticName: z.ZodOptional<z.ZodString>;
2277
2417
  name: z.ZodOptional<z.ZodString>;
2278
- state: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
2418
+ documentInstanceState: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
2279
2419
  referenceType: z.ZodEnum<["quote", "policy", "invoice", "transaction", "segment", "term"]>;
2280
2420
  }, "strip", z.ZodTypeAny, {
2281
2421
  locator: string;
2282
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
2422
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
2283
2423
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
2284
2424
  staticName?: string | undefined;
2285
2425
  name?: string | undefined;
2286
2426
  }, {
2287
2427
  locator: string;
2288
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
2428
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
2289
2429
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
2290
2430
  staticName?: string | undefined;
2291
2431
  name?: string | undefined;
@@ -2669,6 +2809,180 @@ export declare const fieldConfigSchema: z.ZodObject<{
2669
2809
  readOnly?: boolean | undefined;
2670
2810
  }>;
2671
2811
 
2812
+ export declare type InvoiceItemResponse = z.infer<typeof invoiceItemResponseSchema>;
2813
+
2814
+ export declare const invoiceItemResponseSchema: z.ZodObject<{
2815
+ locator: z.ZodString;
2816
+ elementStaticLocator: z.ZodString;
2817
+ invoiceLocator: z.ZodString;
2818
+ amount: z.ZodNumber;
2819
+ chargeCategory: z.ZodString;
2820
+ chargeType: z.ZodString;
2821
+ timezone: z.ZodString;
2822
+ installmentItemLocators: z.ZodArray<z.ZodString, "many">;
2823
+ policyLocator: z.ZodOptional<z.ZodString>;
2824
+ quoteLocator: z.ZodOptional<z.ZodString>;
2825
+ transactionLocator: z.ZodOptional<z.ZodString>;
2826
+ elementType: z.ZodOptional<z.ZodString>;
2827
+ remainingAmount: z.ZodOptional<z.ZodNumber>;
2828
+ settlementTime: z.ZodOptional<z.ZodString>;
2829
+ }, "strip", z.ZodTypeAny, {
2830
+ locator: string;
2831
+ timezone: string;
2832
+ chargeType: string;
2833
+ chargeCategory: string;
2834
+ amount: number;
2835
+ elementStaticLocator: string;
2836
+ invoiceLocator: string;
2837
+ installmentItemLocators: string[];
2838
+ elementType?: string | undefined;
2839
+ policyLocator?: string | undefined;
2840
+ quoteLocator?: string | undefined;
2841
+ transactionLocator?: string | undefined;
2842
+ remainingAmount?: number | undefined;
2843
+ settlementTime?: string | undefined;
2844
+ }, {
2845
+ locator: string;
2846
+ timezone: string;
2847
+ chargeType: string;
2848
+ chargeCategory: string;
2849
+ amount: number;
2850
+ elementStaticLocator: string;
2851
+ invoiceLocator: string;
2852
+ installmentItemLocators: string[];
2853
+ elementType?: string | undefined;
2854
+ policyLocator?: string | undefined;
2855
+ quoteLocator?: string | undefined;
2856
+ transactionLocator?: string | undefined;
2857
+ remainingAmount?: number | undefined;
2858
+ settlementTime?: string | undefined;
2859
+ }>;
2860
+
2861
+ export declare type InvoiceResponse = z.infer<typeof invoiceResponseSchema>;
2862
+
2863
+ export declare const invoiceResponseSchema: z.ZodObject<{
2864
+ locator: z.ZodString;
2865
+ accountLocator: z.ZodString;
2866
+ startTime: z.ZodString;
2867
+ endTime: z.ZodString;
2868
+ invoiceState: z.ZodEnum<["open", "settled"]>;
2869
+ currency: z.ZodString;
2870
+ dueTime: z.ZodString;
2871
+ generatedTime: z.ZodString;
2872
+ timezone: z.ZodString;
2873
+ invoiceItems: z.ZodArray<z.ZodObject<{
2874
+ locator: z.ZodString;
2875
+ elementStaticLocator: z.ZodString;
2876
+ invoiceLocator: z.ZodString;
2877
+ amount: z.ZodNumber;
2878
+ chargeCategory: z.ZodString;
2879
+ chargeType: z.ZodString;
2880
+ timezone: z.ZodString;
2881
+ installmentItemLocators: z.ZodArray<z.ZodString, "many">;
2882
+ policyLocator: z.ZodOptional<z.ZodString>;
2883
+ quoteLocator: z.ZodOptional<z.ZodString>;
2884
+ transactionLocator: z.ZodOptional<z.ZodString>;
2885
+ elementType: z.ZodOptional<z.ZodString>;
2886
+ remainingAmount: z.ZodOptional<z.ZodNumber>;
2887
+ settlementTime: z.ZodOptional<z.ZodString>;
2888
+ }, "strip", z.ZodTypeAny, {
2889
+ locator: string;
2890
+ timezone: string;
2891
+ chargeType: string;
2892
+ chargeCategory: string;
2893
+ amount: number;
2894
+ elementStaticLocator: string;
2895
+ invoiceLocator: string;
2896
+ installmentItemLocators: string[];
2897
+ elementType?: string | undefined;
2898
+ policyLocator?: string | undefined;
2899
+ quoteLocator?: string | undefined;
2900
+ transactionLocator?: string | undefined;
2901
+ remainingAmount?: number | undefined;
2902
+ settlementTime?: string | undefined;
2903
+ }, {
2904
+ locator: string;
2905
+ timezone: string;
2906
+ chargeType: string;
2907
+ chargeCategory: string;
2908
+ amount: number;
2909
+ elementStaticLocator: string;
2910
+ invoiceLocator: string;
2911
+ installmentItemLocators: string[];
2912
+ elementType?: string | undefined;
2913
+ policyLocator?: string | undefined;
2914
+ quoteLocator?: string | undefined;
2915
+ transactionLocator?: string | undefined;
2916
+ remainingAmount?: number | undefined;
2917
+ settlementTime?: string | undefined;
2918
+ }>, "many">;
2919
+ totalAmount: z.ZodOptional<z.ZodNumber>;
2920
+ totalRemainingAmount: z.ZodOptional<z.ZodNumber>;
2921
+ unsettledTime: z.ZodOptional<z.ZodString>;
2922
+ }, "strip", z.ZodTypeAny, {
2923
+ locator: string;
2924
+ startTime: string;
2925
+ endTime: string;
2926
+ currency: string;
2927
+ timezone: string;
2928
+ accountLocator: string;
2929
+ invoiceState: "open" | "settled";
2930
+ dueTime: string;
2931
+ generatedTime: string;
2932
+ invoiceItems: {
2933
+ locator: string;
2934
+ timezone: string;
2935
+ chargeType: string;
2936
+ chargeCategory: string;
2937
+ amount: number;
2938
+ elementStaticLocator: string;
2939
+ invoiceLocator: string;
2940
+ installmentItemLocators: string[];
2941
+ elementType?: string | undefined;
2942
+ policyLocator?: string | undefined;
2943
+ quoteLocator?: string | undefined;
2944
+ transactionLocator?: string | undefined;
2945
+ remainingAmount?: number | undefined;
2946
+ settlementTime?: string | undefined;
2947
+ }[];
2948
+ totalAmount?: number | undefined;
2949
+ totalRemainingAmount?: number | undefined;
2950
+ unsettledTime?: string | undefined;
2951
+ }, {
2952
+ locator: string;
2953
+ startTime: string;
2954
+ endTime: string;
2955
+ currency: string;
2956
+ timezone: string;
2957
+ accountLocator: string;
2958
+ invoiceState: "open" | "settled";
2959
+ dueTime: string;
2960
+ generatedTime: string;
2961
+ invoiceItems: {
2962
+ locator: string;
2963
+ timezone: string;
2964
+ chargeType: string;
2965
+ chargeCategory: string;
2966
+ amount: number;
2967
+ elementStaticLocator: string;
2968
+ invoiceLocator: string;
2969
+ installmentItemLocators: string[];
2970
+ elementType?: string | undefined;
2971
+ policyLocator?: string | undefined;
2972
+ quoteLocator?: string | undefined;
2973
+ transactionLocator?: string | undefined;
2974
+ remainingAmount?: number | undefined;
2975
+ settlementTime?: string | undefined;
2976
+ }[];
2977
+ totalAmount?: number | undefined;
2978
+ totalRemainingAmount?: number | undefined;
2979
+ unsettledTime?: string | undefined;
2980
+ }>;
2981
+
2982
+ export declare type InvoiceState = z.infer<typeof invoiceStateEnumSchema>;
2983
+
2984
+ export declare const invoiceStateEnumSchema: z.ZodEnum<["open", "settled"]>;
2985
+
2672
2986
  export declare type ModifyChangeInstructionCreateRequest = z.infer<typeof modifyChangeInstructionCreateRequestSchema>;
2673
2987
 
2674
2988
  export declare const modifyChangeInstructionCreateRequestSchema: z.ZodObject<{
@@ -2764,7 +3078,7 @@ export declare const paramsChangeInstructionResponseSchema: z.ZodObject<{
2764
3078
  inheritSettings: z.ZodOptional<z.ZodBoolean>;
2765
3079
  newPolicyEndTime: z.ZodOptional<z.ZodString>;
2766
3080
  preferences: z.ZodOptional<z.ZodObject<{
2767
- billingPreferences: z.ZodObject<{
3081
+ billingPreferences: z.ZodOptional<z.ZodObject<{
2768
3082
  billingPlanName: z.ZodOptional<z.ZodString>;
2769
3083
  billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
2770
3084
  }, "strip", z.ZodTypeAny, {
@@ -2773,7 +3087,7 @@ export declare const paramsChangeInstructionResponseSchema: z.ZodObject<{
2773
3087
  }, {
2774
3088
  billingPlanName?: string | undefined;
2775
3089
  billingLevel?: "account" | "inherit" | "policy" | undefined;
2776
- }>;
3090
+ }>>;
2777
3091
  installmentPreferences: z.ZodOptional<z.ZodObject<{
2778
3092
  installmentPlanName: z.ZodOptional<z.ZodString>;
2779
3093
  anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
@@ -2812,10 +3126,10 @@ export declare const paramsChangeInstructionResponseSchema: z.ZodObject<{
2812
3126
  maxInstallmentsPerTerm?: number | undefined;
2813
3127
  }>>;
2814
3128
  }, "strip", z.ZodTypeAny, {
2815
- billingPreferences: {
3129
+ billingPreferences?: {
2816
3130
  billingPlanName?: string | undefined;
2817
3131
  billingLevel?: "account" | "inherit" | "policy" | undefined;
2818
- };
3132
+ } | undefined;
2819
3133
  installmentPreferences?: {
2820
3134
  dayOfMonth?: number | undefined;
2821
3135
  anchorTime?: string | undefined;
@@ -2830,10 +3144,10 @@ export declare const paramsChangeInstructionResponseSchema: z.ZodObject<{
2830
3144
  maxInstallmentsPerTerm?: number | undefined;
2831
3145
  } | undefined;
2832
3146
  }, {
2833
- billingPreferences: {
3147
+ billingPreferences?: {
2834
3148
  billingPlanName?: string | undefined;
2835
3149
  billingLevel?: "account" | "inherit" | "policy" | undefined;
2836
- };
3150
+ } | undefined;
2837
3151
  installmentPreferences?: {
2838
3152
  dayOfMonth?: number | undefined;
2839
3153
  anchorTime?: string | undefined;
@@ -2854,10 +3168,10 @@ export declare const paramsChangeInstructionResponseSchema: z.ZodObject<{
2854
3168
  effectiveTime: string;
2855
3169
  action: "params";
2856
3170
  preferences?: {
2857
- billingPreferences: {
3171
+ billingPreferences?: {
2858
3172
  billingPlanName?: string | undefined;
2859
3173
  billingLevel?: "account" | "inherit" | "policy" | undefined;
2860
- };
3174
+ } | undefined;
2861
3175
  installmentPreferences?: {
2862
3176
  dayOfMonth?: number | undefined;
2863
3177
  anchorTime?: string | undefined;
@@ -2881,10 +3195,10 @@ export declare const paramsChangeInstructionResponseSchema: z.ZodObject<{
2881
3195
  effectiveTime: string;
2882
3196
  action: "params";
2883
3197
  preferences?: {
2884
- billingPreferences: {
3198
+ billingPreferences?: {
2885
3199
  billingPlanName?: string | undefined;
2886
3200
  billingLevel?: "account" | "inherit" | "policy" | undefined;
2887
- };
3201
+ } | undefined;
2888
3202
  installmentPreferences?: {
2889
3203
  dayOfMonth?: number | undefined;
2890
3204
  anchorTime?: string | undefined;
@@ -2932,7 +3246,7 @@ export declare const policyResponseSchema: z.ZodObject<{
2932
3246
  billingTrigger: z.ZodEnum<["accept", "issue"]>;
2933
3247
  createdAt: z.ZodOptional<z.ZodString>;
2934
3248
  createdBy: z.ZodOptional<z.ZodString>;
2935
- currency: z.ZodOptional<z.ZodString>;
3249
+ currency: z.ZodString;
2936
3250
  timezone: z.ZodOptional<z.ZodString>;
2937
3251
  branchHeadTransactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2938
3252
  static: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -2974,13 +3288,13 @@ export declare const policyResponseSchema: z.ZodObject<{
2974
3288
  productName: string;
2975
3289
  startTime: string;
2976
3290
  endTime: string;
3291
+ currency: string;
2977
3292
  durationBasis: "years" | "months" | "weeks" | "days" | "hours";
2978
3293
  accountLocator: string;
2979
3294
  billingTrigger: "accept" | "issue";
2980
3295
  issuedTransactionLocator: string;
2981
3296
  latestTermLocator: string;
2982
3297
  delinquencyPlanName?: string | undefined;
2983
- currency?: string | undefined;
2984
3298
  timezone?: string | undefined;
2985
3299
  validationResult?: {
2986
3300
  validationItems?: {
@@ -3001,13 +3315,13 @@ export declare const policyResponseSchema: z.ZodObject<{
3001
3315
  productName: string;
3002
3316
  startTime: string;
3003
3317
  endTime: string;
3318
+ currency: string;
3004
3319
  durationBasis: "years" | "months" | "weeks" | "days" | "hours";
3005
3320
  accountLocator: string;
3006
3321
  billingTrigger: "accept" | "issue";
3007
3322
  issuedTransactionLocator: string;
3008
3323
  latestTermLocator: string;
3009
3324
  delinquencyPlanName?: string | undefined;
3010
- currency?: string | undefined;
3011
3325
  timezone?: string | undefined;
3012
3326
  validationResult?: {
3013
3327
  validationItems?: {
@@ -3037,7 +3351,7 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
3037
3351
  issuedTime: z.ZodString;
3038
3352
  effectiveTime: z.ZodString;
3039
3353
  preferences: z.ZodOptional<z.ZodObject<{
3040
- billingPreferences: z.ZodObject<{
3354
+ billingPreferences: z.ZodOptional<z.ZodObject<{
3041
3355
  billingPlanName: z.ZodOptional<z.ZodString>;
3042
3356
  billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
3043
3357
  }, "strip", z.ZodTypeAny, {
@@ -3046,7 +3360,7 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
3046
3360
  }, {
3047
3361
  billingPlanName?: string | undefined;
3048
3362
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3049
- }>;
3363
+ }>>;
3050
3364
  installmentPreferences: z.ZodOptional<z.ZodObject<{
3051
3365
  installmentPlanName: z.ZodOptional<z.ZodString>;
3052
3366
  anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
@@ -3085,10 +3399,10 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
3085
3399
  maxInstallmentsPerTerm?: number | undefined;
3086
3400
  }>>;
3087
3401
  }, "strip", z.ZodTypeAny, {
3088
- billingPreferences: {
3402
+ billingPreferences?: {
3089
3403
  billingPlanName?: string | undefined;
3090
3404
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3091
- };
3405
+ } | undefined;
3092
3406
  installmentPreferences?: {
3093
3407
  dayOfMonth?: number | undefined;
3094
3408
  anchorTime?: string | undefined;
@@ -3103,10 +3417,10 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
3103
3417
  maxInstallmentsPerTerm?: number | undefined;
3104
3418
  } | undefined;
3105
3419
  }, {
3106
- billingPreferences: {
3420
+ billingPreferences?: {
3107
3421
  billingPlanName?: string | undefined;
3108
3422
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3109
- };
3423
+ } | undefined;
3110
3424
  installmentPreferences?: {
3111
3425
  dayOfMonth?: number | undefined;
3112
3426
  anchorTime?: string | undefined;
@@ -3274,10 +3588,10 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
3274
3588
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
3275
3589
  transactionType: string;
3276
3590
  preferences?: {
3277
- billingPreferences: {
3591
+ billingPreferences?: {
3278
3592
  billingPlanName?: string | undefined;
3279
3593
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3280
- };
3594
+ } | undefined;
3281
3595
  installmentPreferences?: {
3282
3596
  dayOfMonth?: number | undefined;
3283
3597
  anchorTime?: string | undefined;
@@ -3330,10 +3644,10 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
3330
3644
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
3331
3645
  transactionType: string;
3332
3646
  preferences?: {
3333
- billingPreferences: {
3647
+ billingPreferences?: {
3334
3648
  billingPlanName?: string | undefined;
3335
3649
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3336
- };
3650
+ } | undefined;
3337
3651
  installmentPreferences?: {
3338
3652
  dayOfMonth?: number | undefined;
3339
3653
  anchorTime?: string | undefined;
@@ -3391,10 +3705,10 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
3391
3705
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
3392
3706
  transactionType: string;
3393
3707
  preferences?: {
3394
- billingPreferences: {
3708
+ billingPreferences?: {
3395
3709
  billingPlanName?: string | undefined;
3396
3710
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3397
- };
3711
+ } | undefined;
3398
3712
  installmentPreferences?: {
3399
3713
  dayOfMonth?: number | undefined;
3400
3714
  anchorTime?: string | undefined;
@@ -3456,10 +3770,10 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
3456
3770
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
3457
3771
  transactionType: string;
3458
3772
  preferences?: {
3459
- billingPreferences: {
3773
+ billingPreferences?: {
3460
3774
  billingPlanName?: string | undefined;
3461
3775
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3462
- };
3776
+ } | undefined;
3463
3777
  installmentPreferences?: {
3464
3778
  dayOfMonth?: number | undefined;
3465
3779
  anchorTime?: string | undefined;
@@ -3547,18 +3861,44 @@ export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendS
3547
3861
  locator: string;
3548
3862
  staticLocator: string;
3549
3863
  name: string;
3550
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3551
3864
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3865
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3552
3866
  }, {
3553
3867
  locator: string;
3554
3868
  staticLocator: string;
3555
3869
  name: string;
3556
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3557
3870
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3871
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3872
+ }>, "many">;
3873
+ elements: z.ZodArray<z.ZodObject<{
3874
+ locator: z.ZodString;
3875
+ staticLocator: z.ZodString;
3876
+ type: z.ZodString;
3877
+ chargeSummaries: z.ZodRecord<z.ZodString, z.ZodNumber>;
3878
+ data: z.ZodRecord<z.ZodString, z.ZodAny>;
3879
+ }, "strip", z.ZodTypeAny, {
3880
+ locator: string;
3881
+ type: string;
3882
+ data: Record<string, any>;
3883
+ staticLocator: string;
3884
+ chargeSummaries: Record<string, number>;
3885
+ }, {
3886
+ locator: string;
3887
+ type: string;
3888
+ data: Record<string, any>;
3889
+ staticLocator: string;
3890
+ chargeSummaries: Record<string, number>;
3558
3891
  }>, "many">;
3559
3892
  }, "strip", z.ZodTypeAny, {
3560
3893
  locator: string;
3561
3894
  type: "coverage" | "gap";
3895
+ elements: {
3896
+ locator: string;
3897
+ type: string;
3898
+ data: Record<string, any>;
3899
+ staticLocator: string;
3900
+ chargeSummaries: Record<string, number>;
3901
+ }[];
3562
3902
  startTime: string;
3563
3903
  endTime: string;
3564
3904
  duration: number;
@@ -3567,12 +3907,19 @@ export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendS
3567
3907
  locator: string;
3568
3908
  staticLocator: string;
3569
3909
  name: string;
3570
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3571
3910
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3911
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3572
3912
  }[];
3573
3913
  }, {
3574
3914
  locator: string;
3575
3915
  type: "coverage" | "gap";
3916
+ elements: {
3917
+ locator: string;
3918
+ type: string;
3919
+ data: Record<string, any>;
3920
+ staticLocator: string;
3921
+ chargeSummaries: Record<string, number>;
3922
+ }[];
3576
3923
  startTime: string;
3577
3924
  endTime: string;
3578
3925
  duration: number;
@@ -3581,8 +3928,8 @@ export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendS
3581
3928
  locator: string;
3582
3929
  staticLocator: string;
3583
3930
  name: string;
3584
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3585
3931
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3932
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3586
3933
  }[];
3587
3934
  }>, "many">;
3588
3935
  }>, "strip", z.ZodTypeAny, {
@@ -3597,6 +3944,13 @@ export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendS
3597
3944
  subsegments: {
3598
3945
  locator: string;
3599
3946
  type: "coverage" | "gap";
3947
+ elements: {
3948
+ locator: string;
3949
+ type: string;
3950
+ data: Record<string, any>;
3951
+ staticLocator: string;
3952
+ chargeSummaries: Record<string, number>;
3953
+ }[];
3600
3954
  startTime: string;
3601
3955
  endTime: string;
3602
3956
  duration: number;
@@ -3605,8 +3959,8 @@ export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendS
3605
3959
  locator: string;
3606
3960
  staticLocator: string;
3607
3961
  name: string;
3608
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3609
3962
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3963
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3610
3964
  }[];
3611
3965
  }[];
3612
3966
  }, {
@@ -3621,6 +3975,13 @@ export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendS
3621
3975
  subsegments: {
3622
3976
  locator: string;
3623
3977
  type: "coverage" | "gap";
3978
+ elements: {
3979
+ locator: string;
3980
+ type: string;
3981
+ data: Record<string, any>;
3982
+ staticLocator: string;
3983
+ chargeSummaries: Record<string, number>;
3984
+ }[];
3624
3985
  startTime: string;
3625
3986
  endTime: string;
3626
3987
  duration: number;
@@ -3629,8 +3990,8 @@ export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendS
3629
3990
  locator: string;
3630
3991
  staticLocator: string;
3631
3992
  name: string;
3632
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3633
3993
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3994
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3634
3995
  }[];
3635
3996
  }[];
3636
3997
  }>;
@@ -3691,7 +4052,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
3691
4052
  inheritSettings: z.ZodOptional<z.ZodBoolean>;
3692
4053
  newPolicyEndTime: z.ZodOptional<z.ZodString>;
3693
4054
  preferences: z.ZodOptional<z.ZodObject<{
3694
- billingPreferences: z.ZodObject<{
4055
+ billingPreferences: z.ZodOptional<z.ZodObject<{
3695
4056
  billingPlanName: z.ZodOptional<z.ZodString>;
3696
4057
  billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
3697
4058
  }, "strip", z.ZodTypeAny, {
@@ -3700,7 +4061,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
3700
4061
  }, {
3701
4062
  billingPlanName?: string | undefined;
3702
4063
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3703
- }>;
4064
+ }>>;
3704
4065
  installmentPreferences: z.ZodOptional<z.ZodObject<{
3705
4066
  installmentPlanName: z.ZodOptional<z.ZodString>;
3706
4067
  anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
@@ -3739,10 +4100,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
3739
4100
  maxInstallmentsPerTerm?: number | undefined;
3740
4101
  }>>;
3741
4102
  }, "strip", z.ZodTypeAny, {
3742
- billingPreferences: {
4103
+ billingPreferences?: {
3743
4104
  billingPlanName?: string | undefined;
3744
4105
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3745
- };
4106
+ } | undefined;
3746
4107
  installmentPreferences?: {
3747
4108
  dayOfMonth?: number | undefined;
3748
4109
  anchorTime?: string | undefined;
@@ -3757,10 +4118,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
3757
4118
  maxInstallmentsPerTerm?: number | undefined;
3758
4119
  } | undefined;
3759
4120
  }, {
3760
- billingPreferences: {
4121
+ billingPreferences?: {
3761
4122
  billingPlanName?: string | undefined;
3762
4123
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3763
- };
4124
+ } | undefined;
3764
4125
  installmentPreferences?: {
3765
4126
  dayOfMonth?: number | undefined;
3766
4127
  anchorTime?: string | undefined;
@@ -3781,10 +4142,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
3781
4142
  effectiveTime: string;
3782
4143
  action: "params";
3783
4144
  preferences?: {
3784
- billingPreferences: {
4145
+ billingPreferences?: {
3785
4146
  billingPlanName?: string | undefined;
3786
4147
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3787
- };
4148
+ } | undefined;
3788
4149
  installmentPreferences?: {
3789
4150
  dayOfMonth?: number | undefined;
3790
4151
  anchorTime?: string | undefined;
@@ -3808,10 +4169,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
3808
4169
  effectiveTime: string;
3809
4170
  action: "params";
3810
4171
  preferences?: {
3811
- billingPreferences: {
4172
+ billingPreferences?: {
3812
4173
  billingPlanName?: string | undefined;
3813
4174
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3814
- };
4175
+ } | undefined;
3815
4176
  installmentPreferences?: {
3816
4177
  dayOfMonth?: number | undefined;
3817
4178
  anchorTime?: string | undefined;
@@ -3848,7 +4209,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
3848
4209
  issuedTime: z.ZodOptional<z.ZodString>;
3849
4210
  billingTrigger: z.ZodOptional<z.ZodEnum<["accept", "issue"]>>;
3850
4211
  preferences: z.ZodOptional<z.ZodObject<{
3851
- billingPreferences: z.ZodObject<{
4212
+ billingPreferences: z.ZodOptional<z.ZodObject<{
3852
4213
  billingPlanName: z.ZodOptional<z.ZodString>;
3853
4214
  billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
3854
4215
  }, "strip", z.ZodTypeAny, {
@@ -3857,7 +4218,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
3857
4218
  }, {
3858
4219
  billingPlanName?: string | undefined;
3859
4220
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3860
- }>;
4221
+ }>>;
3861
4222
  installmentPreferences: z.ZodOptional<z.ZodObject<{
3862
4223
  installmentPlanName: z.ZodOptional<z.ZodString>;
3863
4224
  anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
@@ -3896,10 +4257,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
3896
4257
  maxInstallmentsPerTerm?: number | undefined;
3897
4258
  }>>;
3898
4259
  }, "strip", z.ZodTypeAny, {
3899
- billingPreferences: {
4260
+ billingPreferences?: {
3900
4261
  billingPlanName?: string | undefined;
3901
4262
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3902
- };
4263
+ } | undefined;
3903
4264
  installmentPreferences?: {
3904
4265
  dayOfMonth?: number | undefined;
3905
4266
  anchorTime?: string | undefined;
@@ -3914,10 +4275,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
3914
4275
  maxInstallmentsPerTerm?: number | undefined;
3915
4276
  } | undefined;
3916
4277
  }, {
3917
- billingPreferences: {
4278
+ billingPreferences?: {
3918
4279
  billingPlanName?: string | undefined;
3919
4280
  billingLevel?: "account" | "inherit" | "policy" | undefined;
3920
- };
4281
+ } | undefined;
3921
4282
  installmentPreferences?: {
3922
4283
  dayOfMonth?: number | undefined;
3923
4284
  anchorTime?: string | undefined;
@@ -4018,7 +4379,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4018
4379
  inheritSettings: z.ZodOptional<z.ZodBoolean>;
4019
4380
  newPolicyEndTime: z.ZodOptional<z.ZodString>;
4020
4381
  preferences: z.ZodOptional<z.ZodObject<{
4021
- billingPreferences: z.ZodObject<{
4382
+ billingPreferences: z.ZodOptional<z.ZodObject<{
4022
4383
  billingPlanName: z.ZodOptional<z.ZodString>;
4023
4384
  billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
4024
4385
  }, "strip", z.ZodTypeAny, {
@@ -4027,7 +4388,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4027
4388
  }, {
4028
4389
  billingPlanName?: string | undefined;
4029
4390
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4030
- }>;
4391
+ }>>;
4031
4392
  installmentPreferences: z.ZodOptional<z.ZodObject<{
4032
4393
  installmentPlanName: z.ZodOptional<z.ZodString>;
4033
4394
  anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
@@ -4066,10 +4427,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4066
4427
  maxInstallmentsPerTerm?: number | undefined;
4067
4428
  }>>;
4068
4429
  }, "strip", z.ZodTypeAny, {
4069
- billingPreferences: {
4430
+ billingPreferences?: {
4070
4431
  billingPlanName?: string | undefined;
4071
4432
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4072
- };
4433
+ } | undefined;
4073
4434
  installmentPreferences?: {
4074
4435
  dayOfMonth?: number | undefined;
4075
4436
  anchorTime?: string | undefined;
@@ -4084,10 +4445,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4084
4445
  maxInstallmentsPerTerm?: number | undefined;
4085
4446
  } | undefined;
4086
4447
  }, {
4087
- billingPreferences: {
4448
+ billingPreferences?: {
4088
4449
  billingPlanName?: string | undefined;
4089
4450
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4090
- };
4451
+ } | undefined;
4091
4452
  installmentPreferences?: {
4092
4453
  dayOfMonth?: number | undefined;
4093
4454
  anchorTime?: string | undefined;
@@ -4108,10 +4469,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4108
4469
  effectiveTime: string;
4109
4470
  action: "params";
4110
4471
  preferences?: {
4111
- billingPreferences: {
4472
+ billingPreferences?: {
4112
4473
  billingPlanName?: string | undefined;
4113
4474
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4114
- };
4475
+ } | undefined;
4115
4476
  installmentPreferences?: {
4116
4477
  dayOfMonth?: number | undefined;
4117
4478
  anchorTime?: string | undefined;
@@ -4135,10 +4496,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4135
4496
  effectiveTime: string;
4136
4497
  action: "params";
4137
4498
  preferences?: {
4138
- billingPreferences: {
4499
+ billingPreferences?: {
4139
4500
  billingPlanName?: string | undefined;
4140
4501
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4141
- };
4502
+ } | undefined;
4142
4503
  installmentPreferences?: {
4143
4504
  dayOfMonth?: number | undefined;
4144
4505
  anchorTime?: string | undefined;
@@ -4175,7 +4536,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4175
4536
  issuedTime: z.ZodOptional<z.ZodString>;
4176
4537
  billingTrigger: z.ZodOptional<z.ZodEnum<["accept", "issue"]>>;
4177
4538
  preferences: z.ZodOptional<z.ZodObject<{
4178
- billingPreferences: z.ZodObject<{
4539
+ billingPreferences: z.ZodOptional<z.ZodObject<{
4179
4540
  billingPlanName: z.ZodOptional<z.ZodString>;
4180
4541
  billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
4181
4542
  }, "strip", z.ZodTypeAny, {
@@ -4184,7 +4545,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4184
4545
  }, {
4185
4546
  billingPlanName?: string | undefined;
4186
4547
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4187
- }>;
4548
+ }>>;
4188
4549
  installmentPreferences: z.ZodOptional<z.ZodObject<{
4189
4550
  installmentPlanName: z.ZodOptional<z.ZodString>;
4190
4551
  anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
@@ -4223,10 +4584,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4223
4584
  maxInstallmentsPerTerm?: number | undefined;
4224
4585
  }>>;
4225
4586
  }, "strip", z.ZodTypeAny, {
4226
- billingPreferences: {
4587
+ billingPreferences?: {
4227
4588
  billingPlanName?: string | undefined;
4228
4589
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4229
- };
4590
+ } | undefined;
4230
4591
  installmentPreferences?: {
4231
4592
  dayOfMonth?: number | undefined;
4232
4593
  anchorTime?: string | undefined;
@@ -4241,10 +4602,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4241
4602
  maxInstallmentsPerTerm?: number | undefined;
4242
4603
  } | undefined;
4243
4604
  }, {
4244
- billingPreferences: {
4605
+ billingPreferences?: {
4245
4606
  billingPlanName?: string | undefined;
4246
4607
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4247
- };
4608
+ } | undefined;
4248
4609
  installmentPreferences?: {
4249
4610
  dayOfMonth?: number | undefined;
4250
4611
  anchorTime?: string | undefined;
@@ -4301,10 +4662,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4301
4662
  termLocator: string;
4302
4663
  transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4303
4664
  preferences?: {
4304
- billingPreferences: {
4665
+ billingPreferences?: {
4305
4666
  billingPlanName?: string | undefined;
4306
4667
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4307
- };
4668
+ } | undefined;
4308
4669
  installmentPreferences?: {
4309
4670
  dayOfMonth?: number | undefined;
4310
4671
  anchorTime?: string | undefined;
@@ -4347,10 +4708,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4347
4708
  effectiveTime: string;
4348
4709
  action: "params";
4349
4710
  preferences?: {
4350
- billingPreferences: {
4711
+ billingPreferences?: {
4351
4712
  billingPlanName?: string | undefined;
4352
4713
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4353
- };
4714
+ } | undefined;
4354
4715
  installmentPreferences?: {
4355
4716
  dayOfMonth?: number | undefined;
4356
4717
  anchorTime?: string | undefined;
@@ -4387,10 +4748,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4387
4748
  termLocator: string;
4388
4749
  transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4389
4750
  preferences?: {
4390
- billingPreferences: {
4751
+ billingPreferences?: {
4391
4752
  billingPlanName?: string | undefined;
4392
4753
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4393
- };
4754
+ } | undefined;
4394
4755
  installmentPreferences?: {
4395
4756
  dayOfMonth?: number | undefined;
4396
4757
  anchorTime?: string | undefined;
@@ -4433,10 +4794,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4433
4794
  effectiveTime: string;
4434
4795
  action: "params";
4435
4796
  preferences?: {
4436
- billingPreferences: {
4797
+ billingPreferences?: {
4437
4798
  billingPlanName?: string | undefined;
4438
4799
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4439
- };
4800
+ } | undefined;
4440
4801
  installmentPreferences?: {
4441
4802
  dayOfMonth?: number | undefined;
4442
4803
  anchorTime?: string | undefined;
@@ -4474,10 +4835,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4474
4835
  termLocator: string;
4475
4836
  transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4476
4837
  preferences?: {
4477
- billingPreferences: {
4838
+ billingPreferences?: {
4478
4839
  billingPlanName?: string | undefined;
4479
4840
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4480
- };
4841
+ } | undefined;
4481
4842
  installmentPreferences?: {
4482
4843
  dayOfMonth?: number | undefined;
4483
4844
  anchorTime?: string | undefined;
@@ -4520,10 +4881,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4520
4881
  effectiveTime: string;
4521
4882
  action: "params";
4522
4883
  preferences?: {
4523
- billingPreferences: {
4884
+ billingPreferences?: {
4524
4885
  billingPlanName?: string | undefined;
4525
4886
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4526
- };
4887
+ } | undefined;
4527
4888
  installmentPreferences?: {
4528
4889
  dayOfMonth?: number | undefined;
4529
4890
  anchorTime?: string | undefined;
@@ -4560,10 +4921,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4560
4921
  termLocator: string;
4561
4922
  transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4562
4923
  preferences?: {
4563
- billingPreferences: {
4924
+ billingPreferences?: {
4564
4925
  billingPlanName?: string | undefined;
4565
4926
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4566
- };
4927
+ } | undefined;
4567
4928
  installmentPreferences?: {
4568
4929
  dayOfMonth?: number | undefined;
4569
4930
  anchorTime?: string | undefined;
@@ -4606,10 +4967,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4606
4967
  effectiveTime: string;
4607
4968
  action: "params";
4608
4969
  preferences?: {
4609
- billingPreferences: {
4970
+ billingPreferences?: {
4610
4971
  billingPlanName?: string | undefined;
4611
4972
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4612
- };
4973
+ } | undefined;
4613
4974
  installmentPreferences?: {
4614
4975
  dayOfMonth?: number | undefined;
4615
4976
  anchorTime?: string | undefined;
@@ -4647,10 +5008,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4647
5008
  termLocator: string;
4648
5009
  transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4649
5010
  preferences?: {
4650
- billingPreferences: {
5011
+ billingPreferences?: {
4651
5012
  billingPlanName?: string | undefined;
4652
5013
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4653
- };
5014
+ } | undefined;
4654
5015
  installmentPreferences?: {
4655
5016
  dayOfMonth?: number | undefined;
4656
5017
  anchorTime?: string | undefined;
@@ -4693,10 +5054,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4693
5054
  effectiveTime: string;
4694
5055
  action: "params";
4695
5056
  preferences?: {
4696
- billingPreferences: {
5057
+ billingPreferences?: {
4697
5058
  billingPlanName?: string | undefined;
4698
5059
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4699
- };
5060
+ } | undefined;
4700
5061
  installmentPreferences?: {
4701
5062
  dayOfMonth?: number | undefined;
4702
5063
  anchorTime?: string | undefined;
@@ -4733,10 +5094,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4733
5094
  termLocator: string;
4734
5095
  transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4735
5096
  preferences?: {
4736
- billingPreferences: {
5097
+ billingPreferences?: {
4737
5098
  billingPlanName?: string | undefined;
4738
5099
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4739
- };
5100
+ } | undefined;
4740
5101
  installmentPreferences?: {
4741
5102
  dayOfMonth?: number | undefined;
4742
5103
  anchorTime?: string | undefined;
@@ -4779,10 +5140,10 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4779
5140
  effectiveTime: string;
4780
5141
  action: "params";
4781
5142
  preferences?: {
4782
- billingPreferences: {
5143
+ billingPreferences?: {
4783
5144
  billingPlanName?: string | undefined;
4784
5145
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4785
- };
5146
+ } | undefined;
4786
5147
  installmentPreferences?: {
4787
5148
  dayOfMonth?: number | undefined;
4788
5149
  anchorTime?: string | undefined;
@@ -4814,7 +5175,7 @@ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.e
4814
5175
  export declare type PreferencesResponse = z.infer<typeof preferencesResponseSchema>;
4815
5176
 
4816
5177
  export declare const preferencesResponseSchema: z.ZodObject<{
4817
- billingPreferences: z.ZodObject<{
5178
+ billingPreferences: z.ZodOptional<z.ZodObject<{
4818
5179
  billingPlanName: z.ZodOptional<z.ZodString>;
4819
5180
  billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
4820
5181
  }, "strip", z.ZodTypeAny, {
@@ -4823,7 +5184,7 @@ export declare const preferencesResponseSchema: z.ZodObject<{
4823
5184
  }, {
4824
5185
  billingPlanName?: string | undefined;
4825
5186
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4826
- }>;
5187
+ }>>;
4827
5188
  installmentPreferences: z.ZodOptional<z.ZodObject<{
4828
5189
  installmentPlanName: z.ZodOptional<z.ZodString>;
4829
5190
  anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
@@ -4862,10 +5223,10 @@ export declare const preferencesResponseSchema: z.ZodObject<{
4862
5223
  maxInstallmentsPerTerm?: number | undefined;
4863
5224
  }>>;
4864
5225
  }, "strip", z.ZodTypeAny, {
4865
- billingPreferences: {
5226
+ billingPreferences?: {
4866
5227
  billingPlanName?: string | undefined;
4867
5228
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4868
- };
5229
+ } | undefined;
4869
5230
  installmentPreferences?: {
4870
5231
  dayOfMonth?: number | undefined;
4871
5232
  anchorTime?: string | undefined;
@@ -4880,10 +5241,10 @@ export declare const preferencesResponseSchema: z.ZodObject<{
4880
5241
  maxInstallmentsPerTerm?: number | undefined;
4881
5242
  } | undefined;
4882
5243
  }, {
4883
- billingPreferences: {
5244
+ billingPreferences?: {
4884
5245
  billingPlanName?: string | undefined;
4885
5246
  billingLevel?: "account" | "inherit" | "policy" | undefined;
4886
- };
5247
+ } | undefined;
4887
5248
  installmentPreferences?: {
4888
5249
  dayOfMonth?: number | undefined;
4889
5250
  anchorTime?: string | undefined;
@@ -5911,17 +6272,17 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
5911
6272
  locator: z.ZodString;
5912
6273
  staticName: z.ZodOptional<z.ZodString>;
5913
6274
  name: z.ZodOptional<z.ZodString>;
5914
- state: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
6275
+ documentInstanceState: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
5915
6276
  referenceType: z.ZodEnum<["quote", "policy", "invoice", "transaction", "segment", "term"]>;
5916
6277
  }, "strip", z.ZodTypeAny, {
5917
6278
  locator: string;
5918
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6279
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
5919
6280
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
5920
6281
  staticName?: string | undefined;
5921
6282
  name?: string | undefined;
5922
6283
  }, {
5923
6284
  locator: string;
5924
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6285
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
5925
6286
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
5926
6287
  staticName?: string | undefined;
5927
6288
  name?: string | undefined;
@@ -5961,7 +6322,7 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
5961
6322
  basedOn?: string | undefined;
5962
6323
  documentSummary?: {
5963
6324
  locator: string;
5964
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6325
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
5965
6326
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
5966
6327
  staticName?: string | undefined;
5967
6328
  name?: string | undefined;
@@ -5982,7 +6343,7 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
5982
6343
  basedOn?: string | undefined;
5983
6344
  documentSummary?: {
5984
6345
  locator: string;
5985
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6346
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
5986
6347
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
5987
6348
  staticName?: string | undefined;
5988
6349
  name?: string | undefined;
@@ -6051,17 +6412,17 @@ export declare const termSummarySchema: z.ZodObject<{
6051
6412
  locator: z.ZodString;
6052
6413
  staticName: z.ZodOptional<z.ZodString>;
6053
6414
  name: z.ZodOptional<z.ZodString>;
6054
- state: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
6415
+ documentInstanceState: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
6055
6416
  referenceType: z.ZodEnum<["quote", "policy", "invoice", "transaction", "segment", "term"]>;
6056
6417
  }, "strip", z.ZodTypeAny, {
6057
6418
  locator: string;
6058
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6419
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6059
6420
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
6060
6421
  staticName?: string | undefined;
6061
6422
  name?: string | undefined;
6062
6423
  }, {
6063
6424
  locator: string;
6064
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6425
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6065
6426
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
6066
6427
  staticName?: string | undefined;
6067
6428
  name?: string | undefined;
@@ -6101,7 +6462,7 @@ export declare const termSummarySchema: z.ZodObject<{
6101
6462
  basedOn?: string | undefined;
6102
6463
  documentSummary?: {
6103
6464
  locator: string;
6104
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6465
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6105
6466
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
6106
6467
  staticName?: string | undefined;
6107
6468
  name?: string | undefined;
@@ -6122,7 +6483,7 @@ export declare const termSummarySchema: z.ZodObject<{
6122
6483
  basedOn?: string | undefined;
6123
6484
  documentSummary?: {
6124
6485
  locator: string;
6125
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6486
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6126
6487
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
6127
6488
  staticName?: string | undefined;
6128
6489
  name?: string | undefined;
@@ -6132,17 +6493,17 @@ export declare const termSummarySchema: z.ZodObject<{
6132
6493
  locator: z.ZodString;
6133
6494
  staticName: z.ZodOptional<z.ZodString>;
6134
6495
  name: z.ZodOptional<z.ZodString>;
6135
- state: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
6496
+ documentInstanceState: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
6136
6497
  referenceType: z.ZodEnum<["quote", "policy", "invoice", "transaction", "segment", "term"]>;
6137
6498
  }, "strip", z.ZodTypeAny, {
6138
6499
  locator: string;
6139
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6500
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6140
6501
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
6141
6502
  staticName?: string | undefined;
6142
6503
  name?: string | undefined;
6143
6504
  }, {
6144
6505
  locator: string;
6145
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6506
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6146
6507
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
6147
6508
  staticName?: string | undefined;
6148
6509
  name?: string | undefined;
@@ -6172,7 +6533,7 @@ export declare const termSummarySchema: z.ZodObject<{
6172
6533
  basedOn?: string | undefined;
6173
6534
  documentSummary?: {
6174
6535
  locator: string;
6175
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6536
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6176
6537
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
6177
6538
  staticName?: string | undefined;
6178
6539
  name?: string | undefined;
@@ -6180,7 +6541,7 @@ export declare const termSummarySchema: z.ZodObject<{
6180
6541
  }[];
6181
6542
  documentSummary?: {
6182
6543
  locator: string;
6183
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6544
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6184
6545
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
6185
6546
  staticName?: string | undefined;
6186
6547
  name?: string | undefined;
@@ -6210,7 +6571,7 @@ export declare const termSummarySchema: z.ZodObject<{
6210
6571
  basedOn?: string | undefined;
6211
6572
  documentSummary?: {
6212
6573
  locator: string;
6213
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6574
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6214
6575
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
6215
6576
  staticName?: string | undefined;
6216
6577
  name?: string | undefined;
@@ -6218,7 +6579,7 @@ export declare const termSummarySchema: z.ZodObject<{
6218
6579
  }[];
6219
6580
  documentSummary?: {
6220
6581
  locator: string;
6221
- state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6582
+ documentInstanceState: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
6222
6583
  referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
6223
6584
  staticName?: string | undefined;
6224
6585
  name?: string | undefined;
@@ -6240,7 +6601,7 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
6240
6601
  issuedTime: z.ZodString;
6241
6602
  effectiveTime: z.ZodString;
6242
6603
  preferences: z.ZodOptional<z.ZodObject<{
6243
- billingPreferences: z.ZodObject<{
6604
+ billingPreferences: z.ZodOptional<z.ZodObject<{
6244
6605
  billingPlanName: z.ZodOptional<z.ZodString>;
6245
6606
  billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
6246
6607
  }, "strip", z.ZodTypeAny, {
@@ -6249,7 +6610,7 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
6249
6610
  }, {
6250
6611
  billingPlanName?: string | undefined;
6251
6612
  billingLevel?: "account" | "inherit" | "policy" | undefined;
6252
- }>;
6613
+ }>>;
6253
6614
  installmentPreferences: z.ZodOptional<z.ZodObject<{
6254
6615
  installmentPlanName: z.ZodOptional<z.ZodString>;
6255
6616
  anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
@@ -6288,10 +6649,10 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
6288
6649
  maxInstallmentsPerTerm?: number | undefined;
6289
6650
  }>>;
6290
6651
  }, "strip", z.ZodTypeAny, {
6291
- billingPreferences: {
6652
+ billingPreferences?: {
6292
6653
  billingPlanName?: string | undefined;
6293
6654
  billingLevel?: "account" | "inherit" | "policy" | undefined;
6294
- };
6655
+ } | undefined;
6295
6656
  installmentPreferences?: {
6296
6657
  dayOfMonth?: number | undefined;
6297
6658
  anchorTime?: string | undefined;
@@ -6306,10 +6667,10 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
6306
6667
  maxInstallmentsPerTerm?: number | undefined;
6307
6668
  } | undefined;
6308
6669
  }, {
6309
- billingPreferences: {
6670
+ billingPreferences?: {
6310
6671
  billingPlanName?: string | undefined;
6311
6672
  billingLevel?: "account" | "inherit" | "policy" | undefined;
6312
- };
6673
+ } | undefined;
6313
6674
  installmentPreferences?: {
6314
6675
  dayOfMonth?: number | undefined;
6315
6676
  anchorTime?: string | undefined;
@@ -6477,10 +6838,10 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
6477
6838
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
6478
6839
  transactionType: string;
6479
6840
  preferences?: {
6480
- billingPreferences: {
6841
+ billingPreferences?: {
6481
6842
  billingPlanName?: string | undefined;
6482
6843
  billingLevel?: "account" | "inherit" | "policy" | undefined;
6483
- };
6844
+ } | undefined;
6484
6845
  installmentPreferences?: {
6485
6846
  dayOfMonth?: number | undefined;
6486
6847
  anchorTime?: string | undefined;
@@ -6533,10 +6894,10 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
6533
6894
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
6534
6895
  transactionType: string;
6535
6896
  preferences?: {
6536
- billingPreferences: {
6897
+ billingPreferences?: {
6537
6898
  billingPlanName?: string | undefined;
6538
6899
  billingLevel?: "account" | "inherit" | "policy" | undefined;
6539
- };
6900
+ } | undefined;
6540
6901
  installmentPreferences?: {
6541
6902
  dayOfMonth?: number | undefined;
6542
6903
  anchorTime?: string | undefined;
@@ -6557,6 +6918,36 @@ export declare type TransactionState = z.infer<typeof transactionStateEnumSchema
6557
6918
 
6558
6919
  export declare const transactionStateEnumSchema: z.ZodEnum<["draft", "initialized", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded", "invalidated", "reversed"]>;
6559
6920
 
6921
+ export declare type TransactionType = z.infer<typeof transactionTypeSchema>;
6922
+
6923
+ export declare type TransactionTypeCategory = z.infer<typeof transactionTypeCategorySchema>;
6924
+
6925
+ export declare const transactionTypeCategorySchema: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
6926
+
6927
+ export declare type TransactionTypeConfigRecord = z.infer<typeof transactionTypesRecordsSchema>;
6928
+
6929
+ export declare const transactionTypeSchema: z.ZodObject<{
6930
+ category: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
6931
+ costBearing: z.ZodBoolean;
6932
+ }, "strip", z.ZodTypeAny, {
6933
+ category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
6934
+ costBearing: boolean;
6935
+ }, {
6936
+ category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
6937
+ costBearing: boolean;
6938
+ }>;
6939
+
6940
+ export declare const transactionTypesRecordsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
6941
+ category: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
6942
+ costBearing: z.ZodBoolean;
6943
+ }, "strip", z.ZodTypeAny, {
6944
+ category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
6945
+ costBearing: boolean;
6946
+ }, {
6947
+ category: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
6948
+ costBearing: boolean;
6949
+ }>>;
6950
+
6560
6951
  export declare type ValidationItem = z.infer<typeof validationItemSchema>;
6561
6952
 
6562
6953
  declare const validationItemSchema: z.ZodObject<{