@socotra/ec-react-schemas 2.3.0 → 2.4.0-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 CHANGED
@@ -323,6 +323,65 @@ export declare type AccountStateEnum = z.infer<typeof accountStateEnumSchema>;
323
323
 
324
324
  export declare const accountStateEnumSchema: z.ZodEnum<["draft", "validated", "discarded"]>;
325
325
 
326
+ export declare type AddChangeInstructionCreateRequest = z.infer<typeof addChangeInstructionCreateRequestSchema>;
327
+
328
+ export declare const addChangeInstructionCreateRequestSchema: z.ZodObject<{
329
+ action: z.ZodLiteral<"add">;
330
+ elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
331
+ locator: z.ZodString;
332
+ removeCoverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
333
+ removeData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
334
+ setCoverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
335
+ setData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
336
+ }, "strip", z.ZodTypeAny, {
337
+ locator: string;
338
+ removeCoverageTerms?: Record<string, unknown> | undefined;
339
+ removeData?: Record<string, unknown> | undefined;
340
+ setCoverageTerms?: Record<string, unknown> | undefined;
341
+ setData?: Record<string, unknown> | undefined;
342
+ }, {
343
+ locator: string;
344
+ removeCoverageTerms?: Record<string, unknown> | undefined;
345
+ removeData?: Record<string, unknown> | undefined;
346
+ setCoverageTerms?: Record<string, unknown> | undefined;
347
+ setData?: Record<string, unknown> | undefined;
348
+ }>, "many">>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ action: "add";
351
+ elements?: {
352
+ locator: string;
353
+ removeCoverageTerms?: Record<string, unknown> | undefined;
354
+ removeData?: Record<string, unknown> | undefined;
355
+ setCoverageTerms?: Record<string, unknown> | undefined;
356
+ setData?: Record<string, unknown> | undefined;
357
+ }[] | undefined;
358
+ }, {
359
+ action: "add";
360
+ elements?: {
361
+ locator: string;
362
+ removeCoverageTerms?: Record<string, unknown> | undefined;
363
+ removeData?: Record<string, unknown> | undefined;
364
+ setCoverageTerms?: Record<string, unknown> | undefined;
365
+ setData?: Record<string, unknown> | undefined;
366
+ }[] | undefined;
367
+ }>;
368
+
369
+ export declare type AddChangeInstructionResponse = z.infer<typeof addChangeInstructionResponseSchema>;
370
+
371
+ export declare const addChangeInstructionResponseSchema: z.ZodObject<{
372
+ locator: z.ZodString;
373
+ action: z.ZodLiteral<"add">;
374
+ elements: z.ZodArray<z.ZodType<ElementCreateRequest, z.ZodTypeDef, ElementCreateRequest>, "many">;
375
+ }, "strip", z.ZodTypeAny, {
376
+ locator: string;
377
+ elements: ElementCreateRequest[];
378
+ action: "add";
379
+ }, {
380
+ locator: string;
381
+ elements: ElementCreateRequest[];
382
+ action: "add";
383
+ }>;
384
+
326
385
  export declare const advanceLapseToSchema: z.ZodEnum<["draft", "validated", "priced", "underwritten", "accepted", "issued"]>;
327
386
 
328
387
  export declare type AnchorMode = z.infer<typeof anchorModeEnumSchema>;
@@ -358,6 +417,23 @@ export declare const autoRenewalPlanSchema: z.ZodObject<{
358
417
  renewalTransactionType?: string | undefined;
359
418
  }>;
360
419
 
420
+ declare const baseElementCreateRequestSchema: z.ZodObject<{
421
+ type: z.ZodString;
422
+ parentLocator: z.ZodOptional<z.ZodString>;
423
+ coverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
424
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ type: string;
427
+ data?: Record<string, any> | undefined;
428
+ coverageTerms?: Record<string, string> | undefined;
429
+ parentLocator?: string | undefined;
430
+ }, {
431
+ type: string;
432
+ data?: Record<string, any> | undefined;
433
+ coverageTerms?: Record<string, string> | undefined;
434
+ parentLocator?: string | undefined;
435
+ }>;
436
+
361
437
  declare const baseElementResponseSchema: z.ZodObject<{
362
438
  locator: z.ZodString;
363
439
  staticLocator: z.ZodString;
@@ -374,9 +450,9 @@ declare const baseElementResponseSchema: z.ZodObject<{
374
450
  staticLocator: string;
375
451
  data?: Record<string, any> | undefined;
376
452
  coverageTerms?: Record<string, string> | undefined;
453
+ parentLocator?: string | undefined;
377
454
  rootLocator?: string | undefined;
378
455
  tenantLocator?: string | undefined;
379
- parentLocator?: string | undefined;
380
456
  originalEffectiveTime?: string | undefined;
381
457
  }, {
382
458
  locator: string;
@@ -384,9 +460,9 @@ declare const baseElementResponseSchema: z.ZodObject<{
384
460
  staticLocator: string;
385
461
  data?: Record<string, any> | undefined;
386
462
  coverageTerms?: Record<string, string> | undefined;
463
+ parentLocator?: string | undefined;
387
464
  rootLocator?: string | undefined;
388
465
  tenantLocator?: string | undefined;
389
- parentLocator?: string | undefined;
390
466
  originalEffectiveTime?: string | undefined;
391
467
  }>;
392
468
 
@@ -2051,6 +2127,35 @@ export declare type DayOfWeek = z.infer<typeof dayOfWeekEnumSchema>;
2051
2127
 
2052
2128
  export declare const dayOfWeekEnumSchema: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>;
2053
2129
 
2130
+ export declare type DeleteChangeInstructionCreateRequest = z.infer<typeof deleteChangeInstructionCreateRequestSchema>;
2131
+
2132
+ export declare const deleteChangeInstructionCreateRequestSchema: z.ZodObject<{
2133
+ action: z.ZodLiteral<"delete">;
2134
+ staticElementLocators: z.ZodArray<z.ZodString, "many">;
2135
+ }, "strip", z.ZodTypeAny, {
2136
+ action: "delete";
2137
+ staticElementLocators: string[];
2138
+ }, {
2139
+ action: "delete";
2140
+ staticElementLocators: string[];
2141
+ }>;
2142
+
2143
+ export declare type DeleteChangeInstructionResponse = z.infer<typeof deleteChangeInstructionResponseSchema>;
2144
+
2145
+ export declare const deleteChangeInstructionResponseSchema: z.ZodObject<{
2146
+ locator: z.ZodString;
2147
+ action: z.ZodLiteral<"delete">;
2148
+ staticElementLocators: z.ZodArray<z.ZodString, "many">;
2149
+ }, "strip", z.ZodTypeAny, {
2150
+ locator: string;
2151
+ action: "delete";
2152
+ staticElementLocators: string[];
2153
+ }, {
2154
+ locator: string;
2155
+ action: "delete";
2156
+ staticElementLocators: string[];
2157
+ }>;
2158
+
2054
2159
  export declare const delinquencyLevelSchema: z.ZodEnum<["policy", "invoice"]>;
2055
2160
 
2056
2161
  export declare type DelinquencyPlan = z.infer<typeof delinquencyPlanSchema>;
@@ -2099,6 +2204,67 @@ export declare type DocumentReference = z.infer<typeof documentReferenceTypeEnum
2099
2204
 
2100
2205
  export declare const documentReferenceTypeEnumSchema: z.ZodEnum<["quote", "policy", "invoice", "transaction", "segment", "term"]>;
2101
2206
 
2207
+ export declare type DocumentResponse = z.infer<typeof documentResponseSchema>;
2208
+
2209
+ export declare const documentResponseSchema: z.ZodObject<{
2210
+ locator: z.ZodString;
2211
+ referenceLocator: z.ZodString;
2212
+ state: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
2213
+ createdAt: z.ZodString;
2214
+ referenceType: z.ZodOptional<z.ZodEnum<["quote", "policy", "invoice", "transaction", "segment", "term"]>>;
2215
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2216
+ renderingData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2217
+ policyLocator: z.ZodOptional<z.ZodString>;
2218
+ referenceDocumentLocator: z.ZodOptional<z.ZodString>;
2219
+ segmentLocator: z.ZodOptional<z.ZodString>;
2220
+ termLocator: z.ZodOptional<z.ZodString>;
2221
+ transactionLocator: z.ZodOptional<z.ZodString>;
2222
+ staticName: z.ZodOptional<z.ZodString>;
2223
+ name: z.ZodOptional<z.ZodString>;
2224
+ createdBy: z.ZodOptional<z.ZodString>;
2225
+ documentFormat: z.ZodOptional<z.ZodEnum<["text", "html", "pdf"]>>;
2226
+ processingErrors: z.ZodOptional<z.ZodString>;
2227
+ readyAt: z.ZodOptional<z.ZodString>;
2228
+ }, "strip", z.ZodTypeAny, {
2229
+ locator: string;
2230
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
2231
+ createdAt: string;
2232
+ referenceLocator: string;
2233
+ policyLocator?: string | undefined;
2234
+ createdBy?: string | undefined;
2235
+ staticName?: string | undefined;
2236
+ name?: string | undefined;
2237
+ referenceType?: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term" | undefined;
2238
+ metadata?: Record<string, any> | undefined;
2239
+ renderingData?: Record<string, any> | undefined;
2240
+ referenceDocumentLocator?: string | undefined;
2241
+ segmentLocator?: string | undefined;
2242
+ termLocator?: string | undefined;
2243
+ transactionLocator?: string | undefined;
2244
+ documentFormat?: "text" | "html" | "pdf" | undefined;
2245
+ processingErrors?: string | undefined;
2246
+ readyAt?: string | undefined;
2247
+ }, {
2248
+ locator: string;
2249
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
2250
+ createdAt: string;
2251
+ referenceLocator: string;
2252
+ policyLocator?: string | undefined;
2253
+ createdBy?: string | undefined;
2254
+ staticName?: string | undefined;
2255
+ name?: string | undefined;
2256
+ referenceType?: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term" | undefined;
2257
+ metadata?: Record<string, any> | undefined;
2258
+ renderingData?: Record<string, any> | undefined;
2259
+ referenceDocumentLocator?: string | undefined;
2260
+ segmentLocator?: string | undefined;
2261
+ termLocator?: string | undefined;
2262
+ transactionLocator?: string | undefined;
2263
+ documentFormat?: "text" | "html" | "pdf" | undefined;
2264
+ processingErrors?: string | undefined;
2265
+ readyAt?: string | undefined;
2266
+ }>;
2267
+
2102
2268
  export declare type DocumentState = z.infer<typeof documentStateEnumSchema>;
2103
2269
 
2104
2270
  export declare const documentStateEnumSchema: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
@@ -2114,13 +2280,13 @@ export declare const documentSummarySchema: z.ZodObject<{
2114
2280
  }, "strip", z.ZodTypeAny, {
2115
2281
  locator: string;
2116
2282
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
2117
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
2283
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
2118
2284
  staticName?: string | undefined;
2119
2285
  name?: string | undefined;
2120
2286
  }, {
2121
2287
  locator: string;
2122
2288
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
2123
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
2289
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
2124
2290
  staticName?: string | undefined;
2125
2291
  name?: string | undefined;
2126
2292
  }>;
@@ -2345,6 +2511,12 @@ export declare const elementConfigSchema: z.ZodObject<{
2345
2511
  charges?: string[] | undefined;
2346
2512
  }>;
2347
2513
 
2514
+ export declare type ElementCreateRequest = z.infer<typeof baseElementCreateRequestSchema> & {
2515
+ elements?: ElementCreateRequest[];
2516
+ };
2517
+
2518
+ export declare const elementCreateRequestSchema: z.ZodType<ElementCreateRequest>;
2519
+
2348
2520
  export declare type ElementRequest = z.infer<typeof elementRequestSchema>;
2349
2521
 
2350
2522
  export declare const elementRequestSchema: z.ZodObject<{
@@ -2497,84 +2669,316 @@ export declare const fieldConfigSchema: z.ZodObject<{
2497
2669
  readOnly?: boolean | undefined;
2498
2670
  }>;
2499
2671
 
2500
- export declare type OptionalQuantifiers = z.infer<typeof optionalQuantifiersSchema>;
2672
+ export declare type ModifyChangeInstructionCreateRequest = z.infer<typeof modifyChangeInstructionCreateRequestSchema>;
2501
2673
 
2502
- export declare const optionalQuantifiersSchema: z.ZodEnum<["?", "*"]>;
2674
+ export declare const modifyChangeInstructionCreateRequestSchema: z.ZodObject<{
2675
+ staticLocator: z.ZodString;
2676
+ action: z.ZodLiteral<"modify">;
2677
+ removeCoverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2678
+ removeData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2679
+ setCoverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2680
+ setData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2681
+ }, "strip", z.ZodTypeAny, {
2682
+ staticLocator: string;
2683
+ action: "modify";
2684
+ removeCoverageTerms?: Record<string, any> | undefined;
2685
+ removeData?: Record<string, any> | undefined;
2686
+ setCoverageTerms?: Record<string, string> | undefined;
2687
+ setData?: Record<string, any> | undefined;
2688
+ }, {
2689
+ staticLocator: string;
2690
+ action: "modify";
2691
+ removeCoverageTerms?: Record<string, any> | undefined;
2692
+ removeData?: Record<string, any> | undefined;
2693
+ setCoverageTerms?: Record<string, string> | undefined;
2694
+ setData?: Record<string, any> | undefined;
2695
+ }>;
2503
2696
 
2504
- export declare type PolicyBillingLevel = z.infer<typeof policyBillingLevelEnumSchema>;
2697
+ export declare type ModifyChangeInstructionResponse = z.infer<typeof modifyChangeInstructionResponseSchema>;
2505
2698
 
2506
- export declare const policyBillingLevelEnumSchema: z.ZodEnum<["account", "inherit", "policy"]>;
2699
+ export declare const modifyChangeInstructionResponseSchema: z.ZodObject<{
2700
+ locator: z.ZodString;
2701
+ staticLocator: z.ZodString;
2702
+ action: z.ZodLiteral<"modify">;
2703
+ removeCoverageTerms: z.ZodRecord<z.ZodString, z.ZodAny>;
2704
+ removeData: z.ZodRecord<z.ZodString, z.ZodAny>;
2705
+ setCoverageTerms: z.ZodRecord<z.ZodString, z.ZodString>;
2706
+ setData: z.ZodRecord<z.ZodString, z.ZodAny>;
2707
+ }, "strip", z.ZodTypeAny, {
2708
+ locator: string;
2709
+ removeCoverageTerms: Record<string, any>;
2710
+ removeData: Record<string, any>;
2711
+ setCoverageTerms: Record<string, string>;
2712
+ setData: Record<string, any>;
2713
+ staticLocator: string;
2714
+ action: "modify";
2715
+ }, {
2716
+ locator: string;
2717
+ removeCoverageTerms: Record<string, any>;
2718
+ removeData: Record<string, any>;
2719
+ setCoverageTerms: Record<string, string>;
2720
+ setData: Record<string, any>;
2721
+ staticLocator: string;
2722
+ action: "modify";
2723
+ }>;
2507
2724
 
2508
- export declare type PolicyBillingTrigger = z.infer<typeof policyBillingTriggerEnumSchema>;
2725
+ export declare type OptionalQuantifiers = z.infer<typeof optionalQuantifiersSchema>;
2509
2726
 
2510
- export declare const policyBillingTriggerEnumSchema: z.ZodEnum<["accept", "issue"]>;
2727
+ export declare const optionalQuantifiersSchema: z.ZodEnum<["?", "*"]>;
2511
2728
 
2512
- export declare type PolicyDurationBasis = z.infer<typeof policyDurationBasisEnumSchema>;
2729
+ export declare type ParamsChangeInstructionCreateRequest = z.infer<typeof paramsChangeInstructionCreateRequestSchema>;
2513
2730
 
2514
- export declare const policyDurationBasisEnumSchema: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
2731
+ export declare const paramsChangeInstructionCreateRequestSchema: z.ZodObject<{
2732
+ action: z.ZodLiteral<"params">;
2733
+ effectiveTime: z.ZodString;
2734
+ billingModeChange: z.ZodOptional<z.ZodBoolean>;
2735
+ inheritSettings: z.ZodOptional<z.ZodBoolean>;
2736
+ newPolicyEndTime: z.ZodOptional<z.ZodString>;
2737
+ preferences: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
2738
+ triggerBillingChange: z.ZodOptional<z.ZodBoolean>;
2739
+ }, "strip", z.ZodTypeAny, {
2740
+ effectiveTime: string;
2741
+ action: "params";
2742
+ preferences?: {} | undefined;
2743
+ billingModeChange?: boolean | undefined;
2744
+ inheritSettings?: boolean | undefined;
2745
+ newPolicyEndTime?: string | undefined;
2746
+ triggerBillingChange?: boolean | undefined;
2747
+ }, {
2748
+ effectiveTime: string;
2749
+ action: "params";
2750
+ preferences?: {} | undefined;
2751
+ billingModeChange?: boolean | undefined;
2752
+ inheritSettings?: boolean | undefined;
2753
+ newPolicyEndTime?: string | undefined;
2754
+ triggerBillingChange?: boolean | undefined;
2755
+ }>;
2515
2756
 
2516
- export declare type PolicyResponse = z.infer<typeof policyResponseSchema>;
2757
+ export declare type ParamsChangeInstructionResponse = z.infer<typeof paramsChangeInstructionResponseSchema>;
2517
2758
 
2518
- export declare const policyResponseSchema: z.ZodObject<{
2759
+ export declare const paramsChangeInstructionResponseSchema: z.ZodObject<{
2519
2760
  locator: z.ZodString;
2520
- accountLocator: z.ZodString;
2521
- issuedTransactionLocator: z.ZodString;
2522
- latestTermLocator: z.ZodString;
2523
- productName: z.ZodString;
2524
- startTime: z.ZodString;
2525
- endTime: z.ZodString;
2526
- durationBasis: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
2527
- billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
2528
- billingTrigger: z.ZodEnum<["accept", "issue"]>;
2529
- createdAt: z.ZodOptional<z.ZodString>;
2530
- createdBy: z.ZodOptional<z.ZodString>;
2531
- currency: z.ZodOptional<z.ZodString>;
2532
- timezone: z.ZodOptional<z.ZodString>;
2533
- branchHeadTransactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2534
- static: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2535
- autoRenewalPlanName: z.ZodOptional<z.ZodString>;
2536
- delinquencyPlanName: z.ZodOptional<z.ZodString>;
2537
- validationResult: z.ZodOptional<z.ZodObject<{
2538
- validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2539
- elementType: z.ZodOptional<z.ZodString>;
2540
- locator: z.ZodOptional<z.ZodString>;
2541
- errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2761
+ action: z.ZodLiteral<"params">;
2762
+ effectiveTime: z.ZodString;
2763
+ billingModeChange: z.ZodOptional<z.ZodBoolean>;
2764
+ inheritSettings: z.ZodOptional<z.ZodBoolean>;
2765
+ newPolicyEndTime: z.ZodOptional<z.ZodString>;
2766
+ preferences: z.ZodOptional<z.ZodObject<{
2767
+ billingPreferences: z.ZodObject<{
2768
+ billingPlanName: z.ZodOptional<z.ZodString>;
2769
+ billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
2542
2770
  }, "strip", z.ZodTypeAny, {
2543
- elementType?: string | undefined;
2544
- locator?: string | undefined;
2545
- errors?: string[] | undefined;
2771
+ billingPlanName?: string | undefined;
2772
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
2546
2773
  }, {
2547
- elementType?: string | undefined;
2548
- locator?: string | undefined;
2549
- errors?: string[] | undefined;
2550
- }>, "many">>;
2551
- success: z.ZodOptional<z.ZodBoolean>;
2774
+ billingPlanName?: string | undefined;
2775
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
2776
+ }>;
2777
+ installmentPreferences: z.ZodOptional<z.ZodObject<{
2778
+ installmentPlanName: z.ZodOptional<z.ZodString>;
2779
+ anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
2780
+ anchorTime: z.ZodOptional<z.ZodString>;
2781
+ anchorType: z.ZodOptional<z.ZodEnum<["none", "dayOfMonth", "anchorTime", "dayOfWeek", "weekOfMonth"]>>;
2782
+ cadence: z.ZodOptional<z.ZodEnum<["none", "fullPay", "weekly", "everyOtherWeek", "monthly", "quarterly", "semiannually", "annually", "thirtyDays", "everyNDays"]>>;
2783
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
2784
+ dayOfWeek: z.ZodOptional<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>>;
2785
+ dueLeadDays: z.ZodOptional<z.ZodNumber>;
2786
+ generateLeadDays: z.ZodOptional<z.ZodNumber>;
2787
+ maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
2788
+ weekOfMonth: z.ZodOptional<z.ZodEnum<["none", "first", "second", "third", "fourth", "fifth"]>>;
2789
+ }, "strip", z.ZodTypeAny, {
2790
+ dayOfMonth?: number | undefined;
2791
+ anchorTime?: string | undefined;
2792
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
2793
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
2794
+ installmentPlanName?: string | undefined;
2795
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
2796
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
2797
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
2798
+ dueLeadDays?: number | undefined;
2799
+ generateLeadDays?: number | undefined;
2800
+ maxInstallmentsPerTerm?: number | undefined;
2801
+ }, {
2802
+ dayOfMonth?: number | undefined;
2803
+ anchorTime?: string | undefined;
2804
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
2805
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
2806
+ installmentPlanName?: string | undefined;
2807
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
2808
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
2809
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
2810
+ dueLeadDays?: number | undefined;
2811
+ generateLeadDays?: number | undefined;
2812
+ maxInstallmentsPerTerm?: number | undefined;
2813
+ }>>;
2552
2814
  }, "strip", z.ZodTypeAny, {
2553
- validationItems?: {
2554
- elementType?: string | undefined;
2555
- locator?: string | undefined;
2556
- errors?: string[] | undefined;
2557
- }[] | undefined;
2558
- success?: boolean | undefined;
2815
+ billingPreferences: {
2816
+ billingPlanName?: string | undefined;
2817
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
2818
+ };
2819
+ installmentPreferences?: {
2820
+ dayOfMonth?: number | undefined;
2821
+ anchorTime?: string | undefined;
2822
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
2823
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
2824
+ installmentPlanName?: string | undefined;
2825
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
2826
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
2827
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
2828
+ dueLeadDays?: number | undefined;
2829
+ generateLeadDays?: number | undefined;
2830
+ maxInstallmentsPerTerm?: number | undefined;
2831
+ } | undefined;
2559
2832
  }, {
2560
- validationItems?: {
2561
- elementType?: string | undefined;
2562
- locator?: string | undefined;
2563
- errors?: string[] | undefined;
2564
- }[] | undefined;
2565
- success?: boolean | undefined;
2566
- }>>;
2567
- }, "strip", z.ZodTypeAny, {
2568
- locator: string;
2569
- billingLevel: "account" | "inherit" | "policy";
2570
- productName: string;
2571
- startTime: string;
2572
- endTime: string;
2573
- durationBasis: "years" | "months" | "weeks" | "days" | "hours";
2574
- accountLocator: string;
2575
- billingTrigger: "accept" | "issue";
2576
- issuedTransactionLocator: string;
2577
- latestTermLocator: string;
2833
+ billingPreferences: {
2834
+ billingPlanName?: string | undefined;
2835
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
2836
+ };
2837
+ installmentPreferences?: {
2838
+ dayOfMonth?: number | undefined;
2839
+ anchorTime?: string | undefined;
2840
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
2841
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
2842
+ installmentPlanName?: string | undefined;
2843
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
2844
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
2845
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
2846
+ dueLeadDays?: number | undefined;
2847
+ generateLeadDays?: number | undefined;
2848
+ maxInstallmentsPerTerm?: number | undefined;
2849
+ } | undefined;
2850
+ }>>;
2851
+ triggerBillingChange: z.ZodOptional<z.ZodBoolean>;
2852
+ }, "strip", z.ZodTypeAny, {
2853
+ locator: string;
2854
+ effectiveTime: string;
2855
+ action: "params";
2856
+ preferences?: {
2857
+ billingPreferences: {
2858
+ billingPlanName?: string | undefined;
2859
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
2860
+ };
2861
+ installmentPreferences?: {
2862
+ dayOfMonth?: number | undefined;
2863
+ anchorTime?: string | undefined;
2864
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
2865
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
2866
+ installmentPlanName?: string | undefined;
2867
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
2868
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
2869
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
2870
+ dueLeadDays?: number | undefined;
2871
+ generateLeadDays?: number | undefined;
2872
+ maxInstallmentsPerTerm?: number | undefined;
2873
+ } | undefined;
2874
+ } | undefined;
2875
+ billingModeChange?: boolean | undefined;
2876
+ inheritSettings?: boolean | undefined;
2877
+ newPolicyEndTime?: string | undefined;
2878
+ triggerBillingChange?: boolean | undefined;
2879
+ }, {
2880
+ locator: string;
2881
+ effectiveTime: string;
2882
+ action: "params";
2883
+ preferences?: {
2884
+ billingPreferences: {
2885
+ billingPlanName?: string | undefined;
2886
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
2887
+ };
2888
+ installmentPreferences?: {
2889
+ dayOfMonth?: number | undefined;
2890
+ anchorTime?: string | undefined;
2891
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
2892
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
2893
+ installmentPlanName?: string | undefined;
2894
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
2895
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
2896
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
2897
+ dueLeadDays?: number | undefined;
2898
+ generateLeadDays?: number | undefined;
2899
+ maxInstallmentsPerTerm?: number | undefined;
2900
+ } | undefined;
2901
+ } | undefined;
2902
+ billingModeChange?: boolean | undefined;
2903
+ inheritSettings?: boolean | undefined;
2904
+ newPolicyEndTime?: string | undefined;
2905
+ triggerBillingChange?: boolean | undefined;
2906
+ }>;
2907
+
2908
+ export declare type PolicyBillingLevel = z.infer<typeof policyBillingLevelEnumSchema>;
2909
+
2910
+ export declare const policyBillingLevelEnumSchema: z.ZodEnum<["account", "inherit", "policy"]>;
2911
+
2912
+ export declare type PolicyBillingTrigger = z.infer<typeof policyBillingTriggerEnumSchema>;
2913
+
2914
+ export declare const policyBillingTriggerEnumSchema: z.ZodEnum<["accept", "issue"]>;
2915
+
2916
+ export declare type PolicyDurationBasis = z.infer<typeof policyDurationBasisEnumSchema>;
2917
+
2918
+ export declare const policyDurationBasisEnumSchema: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
2919
+
2920
+ export declare type PolicyResponse = z.infer<typeof policyResponseSchema>;
2921
+
2922
+ export declare const policyResponseSchema: z.ZodObject<{
2923
+ locator: z.ZodString;
2924
+ accountLocator: z.ZodString;
2925
+ issuedTransactionLocator: z.ZodString;
2926
+ latestTermLocator: z.ZodString;
2927
+ productName: z.ZodString;
2928
+ startTime: z.ZodString;
2929
+ endTime: z.ZodString;
2930
+ durationBasis: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
2931
+ billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
2932
+ billingTrigger: z.ZodEnum<["accept", "issue"]>;
2933
+ createdAt: z.ZodOptional<z.ZodString>;
2934
+ createdBy: z.ZodOptional<z.ZodString>;
2935
+ currency: z.ZodOptional<z.ZodString>;
2936
+ timezone: z.ZodOptional<z.ZodString>;
2937
+ branchHeadTransactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2938
+ static: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2939
+ autoRenewalPlanName: z.ZodOptional<z.ZodString>;
2940
+ delinquencyPlanName: z.ZodOptional<z.ZodString>;
2941
+ validationResult: z.ZodOptional<z.ZodObject<{
2942
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2943
+ elementType: z.ZodOptional<z.ZodString>;
2944
+ locator: z.ZodOptional<z.ZodString>;
2945
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2946
+ }, "strip", z.ZodTypeAny, {
2947
+ elementType?: string | undefined;
2948
+ locator?: string | undefined;
2949
+ errors?: string[] | undefined;
2950
+ }, {
2951
+ elementType?: string | undefined;
2952
+ locator?: string | undefined;
2953
+ errors?: string[] | undefined;
2954
+ }>, "many">>;
2955
+ success: z.ZodOptional<z.ZodBoolean>;
2956
+ }, "strip", z.ZodTypeAny, {
2957
+ validationItems?: {
2958
+ elementType?: string | undefined;
2959
+ locator?: string | undefined;
2960
+ errors?: string[] | undefined;
2961
+ }[] | undefined;
2962
+ success?: boolean | undefined;
2963
+ }, {
2964
+ validationItems?: {
2965
+ elementType?: string | undefined;
2966
+ locator?: string | undefined;
2967
+ errors?: string[] | undefined;
2968
+ }[] | undefined;
2969
+ success?: boolean | undefined;
2970
+ }>>;
2971
+ }, "strip", z.ZodTypeAny, {
2972
+ locator: string;
2973
+ billingLevel: "account" | "inherit" | "policy";
2974
+ productName: string;
2975
+ startTime: string;
2976
+ endTime: string;
2977
+ durationBasis: "years" | "months" | "weeks" | "days" | "hours";
2978
+ accountLocator: string;
2979
+ billingTrigger: "accept" | "issue";
2980
+ issuedTransactionLocator: string;
2981
+ latestTermLocator: string;
2578
2982
  delinquencyPlanName?: string | undefined;
2579
2983
  currency?: string | undefined;
2580
2984
  timezone?: string | undefined;
@@ -2728,9 +3132,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2728
3132
  staticLocator: string;
2729
3133
  data?: Record<string, any> | undefined;
2730
3134
  coverageTerms?: Record<string, string> | undefined;
3135
+ parentLocator?: string | undefined;
2731
3136
  rootLocator?: string | undefined;
2732
3137
  tenantLocator?: string | undefined;
2733
- parentLocator?: string | undefined;
2734
3138
  originalEffectiveTime?: string | undefined;
2735
3139
  } & {
2736
3140
  elements?: ({
@@ -2739,9 +3143,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2739
3143
  staticLocator: string;
2740
3144
  data?: Record<string, any> | undefined;
2741
3145
  coverageTerms?: Record<string, string> | undefined;
3146
+ parentLocator?: string | undefined;
2742
3147
  rootLocator?: string | undefined;
2743
3148
  tenantLocator?: string | undefined;
2744
- parentLocator?: string | undefined;
2745
3149
  originalEffectiveTime?: string | undefined;
2746
3150
  } & any)[];
2747
3151
  }, z.ZodTypeDef, {
@@ -2750,9 +3154,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2750
3154
  staticLocator: string;
2751
3155
  data?: Record<string, any> | undefined;
2752
3156
  coverageTerms?: Record<string, string> | undefined;
3157
+ parentLocator?: string | undefined;
2753
3158
  rootLocator?: string | undefined;
2754
3159
  tenantLocator?: string | undefined;
2755
- parentLocator?: string | undefined;
2756
3160
  originalEffectiveTime?: string | undefined;
2757
3161
  } & {
2758
3162
  elements?: ({
@@ -2761,9 +3165,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2761
3165
  staticLocator: string;
2762
3166
  data?: Record<string, any> | undefined;
2763
3167
  coverageTerms?: Record<string, string> | undefined;
3168
+ parentLocator?: string | undefined;
2764
3169
  rootLocator?: string | undefined;
2765
3170
  tenantLocator?: string | undefined;
2766
- parentLocator?: string | undefined;
2767
3171
  originalEffectiveTime?: string | undefined;
2768
3172
  } & any)[];
2769
3173
  }>;
@@ -2779,9 +3183,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2779
3183
  staticLocator: string;
2780
3184
  data?: Record<string, any> | undefined;
2781
3185
  coverageTerms?: Record<string, string> | undefined;
3186
+ parentLocator?: string | undefined;
2782
3187
  rootLocator?: string | undefined;
2783
3188
  tenantLocator?: string | undefined;
2784
- parentLocator?: string | undefined;
2785
3189
  originalEffectiveTime?: string | undefined;
2786
3190
  } & {
2787
3191
  elements?: ({
@@ -2790,9 +3194,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2790
3194
  staticLocator: string;
2791
3195
  data?: Record<string, any> | undefined;
2792
3196
  coverageTerms?: Record<string, string> | undefined;
3197
+ parentLocator?: string | undefined;
2793
3198
  rootLocator?: string | undefined;
2794
3199
  tenantLocator?: string | undefined;
2795
- parentLocator?: string | undefined;
2796
3200
  originalEffectiveTime?: string | undefined;
2797
3201
  } & any)[];
2798
3202
  };
@@ -2809,9 +3213,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2809
3213
  staticLocator: string;
2810
3214
  data?: Record<string, any> | undefined;
2811
3215
  coverageTerms?: Record<string, string> | undefined;
3216
+ parentLocator?: string | undefined;
2812
3217
  rootLocator?: string | undefined;
2813
3218
  tenantLocator?: string | undefined;
2814
- parentLocator?: string | undefined;
2815
3219
  originalEffectiveTime?: string | undefined;
2816
3220
  } & {
2817
3221
  elements?: ({
@@ -2820,9 +3224,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2820
3224
  staticLocator: string;
2821
3225
  data?: Record<string, any> | undefined;
2822
3226
  coverageTerms?: Record<string, string> | undefined;
3227
+ parentLocator?: string | undefined;
2823
3228
  rootLocator?: string | undefined;
2824
3229
  tenantLocator?: string | undefined;
2825
- parentLocator?: string | undefined;
2826
3230
  originalEffectiveTime?: string | undefined;
2827
3231
  } & any)[];
2828
3232
  };
@@ -2834,8 +3238,6 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2834
3238
  transactionType: z.ZodString;
2835
3239
  }, "strip", z.ZodTypeAny, {
2836
3240
  locator: string;
2837
- issuedTime: string;
2838
- effectiveTime: string;
2839
3241
  segment: {
2840
3242
  locator: string;
2841
3243
  startTime: string;
@@ -2846,9 +3248,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2846
3248
  staticLocator: string;
2847
3249
  data?: Record<string, any> | undefined;
2848
3250
  coverageTerms?: Record<string, string> | undefined;
3251
+ parentLocator?: string | undefined;
2849
3252
  rootLocator?: string | undefined;
2850
3253
  tenantLocator?: string | undefined;
2851
- parentLocator?: string | undefined;
2852
3254
  originalEffectiveTime?: string | undefined;
2853
3255
  } & {
2854
3256
  elements?: ({
@@ -2857,9 +3259,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2857
3259
  staticLocator: string;
2858
3260
  data?: Record<string, any> | undefined;
2859
3261
  coverageTerms?: Record<string, string> | undefined;
3262
+ parentLocator?: string | undefined;
2860
3263
  rootLocator?: string | undefined;
2861
3264
  tenantLocator?: string | undefined;
2862
- parentLocator?: string | undefined;
2863
3265
  originalEffectiveTime?: string | undefined;
2864
3266
  } & any)[];
2865
3267
  };
@@ -2867,6 +3269,8 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2867
3269
  segmentType: "coverage" | "gap";
2868
3270
  basedOn?: string | undefined;
2869
3271
  };
3272
+ issuedTime: string;
3273
+ effectiveTime: string;
2870
3274
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
2871
3275
  transactionType: string;
2872
3276
  preferences?: {
@@ -2890,8 +3294,6 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2890
3294
  } | undefined;
2891
3295
  }, {
2892
3296
  locator: string;
2893
- issuedTime: string;
2894
- effectiveTime: string;
2895
3297
  segment: {
2896
3298
  locator: string;
2897
3299
  startTime: string;
@@ -2902,9 +3304,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2902
3304
  staticLocator: string;
2903
3305
  data?: Record<string, any> | undefined;
2904
3306
  coverageTerms?: Record<string, string> | undefined;
3307
+ parentLocator?: string | undefined;
2905
3308
  rootLocator?: string | undefined;
2906
3309
  tenantLocator?: string | undefined;
2907
- parentLocator?: string | undefined;
2908
3310
  originalEffectiveTime?: string | undefined;
2909
3311
  } & {
2910
3312
  elements?: ({
@@ -2913,9 +3315,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2913
3315
  staticLocator: string;
2914
3316
  data?: Record<string, any> | undefined;
2915
3317
  coverageTerms?: Record<string, string> | undefined;
3318
+ parentLocator?: string | undefined;
2916
3319
  rootLocator?: string | undefined;
2917
3320
  tenantLocator?: string | undefined;
2918
- parentLocator?: string | undefined;
2919
3321
  originalEffectiveTime?: string | undefined;
2920
3322
  } & any)[];
2921
3323
  };
@@ -2923,6 +3325,8 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2923
3325
  segmentType: "coverage" | "gap";
2924
3326
  basedOn?: string | undefined;
2925
3327
  };
3328
+ issuedTime: string;
3329
+ effectiveTime: string;
2926
3330
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
2927
3331
  transactionType: string;
2928
3332
  preferences?: {
@@ -2949,14 +3353,73 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2949
3353
  delinquencyPlanName: z.ZodOptional<z.ZodString>;
2950
3354
  }, "strip", z.ZodTypeAny, {
2951
3355
  locator: string;
3356
+ transaction: {
3357
+ locator: string;
3358
+ segment: {
3359
+ locator: string;
3360
+ startTime: string;
3361
+ endTime: string;
3362
+ element: {
3363
+ locator: string;
3364
+ type: string;
3365
+ staticLocator: string;
3366
+ data?: Record<string, any> | undefined;
3367
+ coverageTerms?: Record<string, string> | undefined;
3368
+ parentLocator?: string | undefined;
3369
+ rootLocator?: string | undefined;
3370
+ tenantLocator?: string | undefined;
3371
+ originalEffectiveTime?: string | undefined;
3372
+ } & {
3373
+ elements?: ({
3374
+ locator: string;
3375
+ type: string;
3376
+ staticLocator: string;
3377
+ data?: Record<string, any> | undefined;
3378
+ coverageTerms?: Record<string, string> | undefined;
3379
+ parentLocator?: string | undefined;
3380
+ rootLocator?: string | undefined;
3381
+ tenantLocator?: string | undefined;
3382
+ originalEffectiveTime?: string | undefined;
3383
+ } & any)[];
3384
+ };
3385
+ duration: number;
3386
+ segmentType: "coverage" | "gap";
3387
+ basedOn?: string | undefined;
3388
+ };
3389
+ issuedTime: string;
3390
+ effectiveTime: string;
3391
+ transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
3392
+ transactionType: string;
3393
+ preferences?: {
3394
+ billingPreferences: {
3395
+ billingPlanName?: string | undefined;
3396
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3397
+ };
3398
+ installmentPreferences?: {
3399
+ dayOfMonth?: number | undefined;
3400
+ anchorTime?: string | undefined;
3401
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3402
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3403
+ installmentPlanName?: string | undefined;
3404
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3405
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3406
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3407
+ dueLeadDays?: number | undefined;
3408
+ generateLeadDays?: number | undefined;
3409
+ maxInstallmentsPerTerm?: number | undefined;
3410
+ } | undefined;
3411
+ } | undefined;
3412
+ };
2952
3413
  productName: string;
2953
3414
  currency: string;
2954
3415
  timezone: string;
2955
3416
  accountLocator: string;
3417
+ delinquencyPlanName?: string | undefined;
3418
+ static?: Record<string, any> | undefined;
3419
+ }, {
3420
+ locator: string;
2956
3421
  transaction: {
2957
3422
  locator: string;
2958
- issuedTime: string;
2959
- effectiveTime: string;
2960
3423
  segment: {
2961
3424
  locator: string;
2962
3425
  startTime: string;
@@ -2967,9 +3430,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2967
3430
  staticLocator: string;
2968
3431
  data?: Record<string, any> | undefined;
2969
3432
  coverageTerms?: Record<string, string> | undefined;
3433
+ parentLocator?: string | undefined;
2970
3434
  rootLocator?: string | undefined;
2971
3435
  tenantLocator?: string | undefined;
2972
- parentLocator?: string | undefined;
2973
3436
  originalEffectiveTime?: string | undefined;
2974
3437
  } & {
2975
3438
  elements?: ({
@@ -2978,9 +3441,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2978
3441
  staticLocator: string;
2979
3442
  data?: Record<string, any> | undefined;
2980
3443
  coverageTerms?: Record<string, string> | undefined;
3444
+ parentLocator?: string | undefined;
2981
3445
  rootLocator?: string | undefined;
2982
3446
  tenantLocator?: string | undefined;
2983
- parentLocator?: string | undefined;
2984
3447
  originalEffectiveTime?: string | undefined;
2985
3448
  } & any)[];
2986
3449
  };
@@ -2988,8 +3451,1114 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
2988
3451
  segmentType: "coverage" | "gap";
2989
3452
  basedOn?: string | undefined;
2990
3453
  };
3454
+ issuedTime: string;
3455
+ effectiveTime: string;
3456
+ transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
3457
+ transactionType: string;
3458
+ preferences?: {
3459
+ billingPreferences: {
3460
+ billingPlanName?: string | undefined;
3461
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3462
+ };
3463
+ installmentPreferences?: {
3464
+ dayOfMonth?: number | undefined;
3465
+ anchorTime?: string | undefined;
3466
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3467
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3468
+ installmentPlanName?: string | undefined;
3469
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3470
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3471
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3472
+ dueLeadDays?: number | undefined;
3473
+ generateLeadDays?: number | undefined;
3474
+ maxInstallmentsPerTerm?: number | undefined;
3475
+ } | undefined;
3476
+ } | undefined;
3477
+ };
3478
+ productName: string;
3479
+ currency: string;
3480
+ timezone: string;
3481
+ accountLocator: string;
3482
+ delinquencyPlanName?: string | undefined;
3483
+ static?: Record<string, any> | undefined;
3484
+ }>;
3485
+
3486
+ export declare type PolicyTermResponse = z.infer<typeof policyTermResponseSchema>;
3487
+
3488
+ export declare const policyTermResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
3489
+ locator: z.ZodString;
3490
+ staticLocator: z.ZodString;
3491
+ policyLocator: z.ZodString;
3492
+ startTime: z.ZodString;
3493
+ endTime: z.ZodString;
3494
+ }, {
3495
+ number: z.ZodNumber;
3496
+ autoRenewalLocator: z.ZodOptional<z.ZodString>;
3497
+ previousTermLocator: z.ZodOptional<z.ZodString>;
3498
+ supersedesTermLocator: z.ZodOptional<z.ZodString>;
3499
+ }>, "strip", z.ZodTypeAny, {
3500
+ number: number;
3501
+ locator: string;
3502
+ startTime: string;
3503
+ endTime: string;
3504
+ staticLocator: string;
3505
+ policyLocator: string;
3506
+ autoRenewalLocator?: string | undefined;
3507
+ previousTermLocator?: string | undefined;
3508
+ supersedesTermLocator?: string | undefined;
3509
+ }, {
3510
+ number: number;
3511
+ locator: string;
3512
+ startTime: string;
3513
+ endTime: string;
3514
+ staticLocator: string;
3515
+ policyLocator: string;
3516
+ autoRenewalLocator?: string | undefined;
3517
+ previousTermLocator?: string | undefined;
3518
+ supersedesTermLocator?: string | undefined;
3519
+ }>;
3520
+
3521
+ export declare type PolicyTermSummaryResponse = z.infer<typeof policyTermSummaryResponse>;
3522
+
3523
+ export declare const policyTermSummaryResponse: z.ZodObject<z.objectUtil.extendShape<{
3524
+ locator: z.ZodString;
3525
+ staticLocator: z.ZodString;
3526
+ policyLocator: z.ZodString;
3527
+ startTime: z.ZodString;
3528
+ endTime: z.ZodString;
3529
+ }, {
3530
+ duration: z.ZodNumber;
3531
+ durationBasis: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
3532
+ termNumber: z.ZodNumber;
3533
+ subsegments: z.ZodArray<z.ZodObject<{
3534
+ locator: z.ZodString;
3535
+ startTime: z.ZodString;
3536
+ endTime: z.ZodString;
3537
+ duration: z.ZodNumber;
3538
+ basedOn: z.ZodString;
3539
+ type: z.ZodEnum<["coverage", "gap"]>;
3540
+ documentSummary: z.ZodArray<z.ZodObject<{
3541
+ locator: z.ZodString;
3542
+ staticLocator: z.ZodString;
3543
+ name: z.ZodString;
3544
+ state: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
3545
+ referenceType: z.ZodEnum<["quote", "policy", "invoice", "transaction", "segment", "term"]>;
3546
+ }, "strip", z.ZodTypeAny, {
3547
+ locator: string;
3548
+ staticLocator: string;
3549
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3550
+ name: string;
3551
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3552
+ }, {
3553
+ locator: string;
3554
+ staticLocator: string;
3555
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3556
+ name: string;
3557
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3558
+ }>, "many">;
3559
+ }, "strip", z.ZodTypeAny, {
3560
+ locator: string;
3561
+ type: "coverage" | "gap";
3562
+ startTime: string;
3563
+ endTime: string;
3564
+ duration: number;
3565
+ basedOn: string;
3566
+ documentSummary: {
3567
+ locator: string;
3568
+ staticLocator: string;
3569
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3570
+ name: string;
3571
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3572
+ }[];
3573
+ }, {
3574
+ locator: string;
3575
+ type: "coverage" | "gap";
3576
+ startTime: string;
3577
+ endTime: string;
3578
+ duration: number;
3579
+ basedOn: string;
3580
+ documentSummary: {
3581
+ locator: string;
3582
+ staticLocator: string;
3583
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3584
+ name: string;
3585
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3586
+ }[];
3587
+ }>, "many">;
3588
+ }>, "strip", z.ZodTypeAny, {
3589
+ locator: string;
3590
+ startTime: string;
3591
+ endTime: string;
3592
+ durationBasis: "years" | "months" | "weeks" | "days" | "hours";
3593
+ staticLocator: string;
3594
+ duration: number;
3595
+ policyLocator: string;
3596
+ termNumber: number;
3597
+ subsegments: {
3598
+ locator: string;
3599
+ type: "coverage" | "gap";
3600
+ startTime: string;
3601
+ endTime: string;
3602
+ duration: number;
3603
+ basedOn: string;
3604
+ documentSummary: {
3605
+ locator: string;
3606
+ staticLocator: string;
3607
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3608
+ name: string;
3609
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3610
+ }[];
3611
+ }[];
3612
+ }, {
3613
+ locator: string;
3614
+ startTime: string;
3615
+ endTime: string;
3616
+ durationBasis: "years" | "months" | "weeks" | "days" | "hours";
3617
+ staticLocator: string;
3618
+ duration: number;
3619
+ policyLocator: string;
3620
+ termNumber: number;
3621
+ subsegments: {
3622
+ locator: string;
3623
+ type: "coverage" | "gap";
3624
+ startTime: string;
3625
+ endTime: string;
3626
+ duration: number;
3627
+ basedOn: string;
3628
+ documentSummary: {
3629
+ locator: string;
3630
+ staticLocator: string;
3631
+ state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
3632
+ name: string;
3633
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
3634
+ }[];
3635
+ }[];
3636
+ }>;
3637
+
3638
+ export declare type PolicyTransactionResponse = z.infer<typeof policyTransactionResponseSchema>;
3639
+
3640
+ export declare const policyTransactionResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
3641
+ locator: z.ZodString;
3642
+ policyLocator: z.ZodString;
3643
+ termLocator: z.ZodString;
3644
+ transactionState: z.ZodEnum<["draft", "initialized", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded", "invalidated", "reversed"]>;
3645
+ createdAt: z.ZodString;
3646
+ createdBy: z.ZodString;
3647
+ effectiveTime: z.ZodString;
3648
+ transactionCategory: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
3649
+ transactionType: z.ZodString;
3650
+ changeInstructions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
3651
+ locator: z.ZodString;
3652
+ action: z.ZodLiteral<"add">;
3653
+ elements: z.ZodArray<z.ZodType<ElementCreateRequest, z.ZodTypeDef, ElementCreateRequest>, "many">;
3654
+ }, "strip", z.ZodTypeAny, {
3655
+ locator: string;
3656
+ elements: ElementCreateRequest[];
3657
+ action: "add";
3658
+ }, {
3659
+ locator: string;
3660
+ elements: ElementCreateRequest[];
3661
+ action: "add";
3662
+ }>, z.ZodObject<{
3663
+ locator: z.ZodString;
3664
+ staticLocator: z.ZodString;
3665
+ action: z.ZodLiteral<"modify">;
3666
+ removeCoverageTerms: z.ZodRecord<z.ZodString, z.ZodAny>;
3667
+ removeData: z.ZodRecord<z.ZodString, z.ZodAny>;
3668
+ setCoverageTerms: z.ZodRecord<z.ZodString, z.ZodString>;
3669
+ setData: z.ZodRecord<z.ZodString, z.ZodAny>;
3670
+ }, "strip", z.ZodTypeAny, {
3671
+ locator: string;
3672
+ removeCoverageTerms: Record<string, any>;
3673
+ removeData: Record<string, any>;
3674
+ setCoverageTerms: Record<string, string>;
3675
+ setData: Record<string, any>;
3676
+ staticLocator: string;
3677
+ action: "modify";
3678
+ }, {
3679
+ locator: string;
3680
+ removeCoverageTerms: Record<string, any>;
3681
+ removeData: Record<string, any>;
3682
+ setCoverageTerms: Record<string, string>;
3683
+ setData: Record<string, any>;
3684
+ staticLocator: string;
3685
+ action: "modify";
3686
+ }>, z.ZodObject<{
3687
+ locator: z.ZodString;
3688
+ action: z.ZodLiteral<"params">;
3689
+ effectiveTime: z.ZodString;
3690
+ billingModeChange: z.ZodOptional<z.ZodBoolean>;
3691
+ inheritSettings: z.ZodOptional<z.ZodBoolean>;
3692
+ newPolicyEndTime: z.ZodOptional<z.ZodString>;
3693
+ preferences: z.ZodOptional<z.ZodObject<{
3694
+ billingPreferences: z.ZodObject<{
3695
+ billingPlanName: z.ZodOptional<z.ZodString>;
3696
+ billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
3697
+ }, "strip", z.ZodTypeAny, {
3698
+ billingPlanName?: string | undefined;
3699
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3700
+ }, {
3701
+ billingPlanName?: string | undefined;
3702
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3703
+ }>;
3704
+ installmentPreferences: z.ZodOptional<z.ZodObject<{
3705
+ installmentPlanName: z.ZodOptional<z.ZodString>;
3706
+ anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
3707
+ anchorTime: z.ZodOptional<z.ZodString>;
3708
+ anchorType: z.ZodOptional<z.ZodEnum<["none", "dayOfMonth", "anchorTime", "dayOfWeek", "weekOfMonth"]>>;
3709
+ cadence: z.ZodOptional<z.ZodEnum<["none", "fullPay", "weekly", "everyOtherWeek", "monthly", "quarterly", "semiannually", "annually", "thirtyDays", "everyNDays"]>>;
3710
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
3711
+ dayOfWeek: z.ZodOptional<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>>;
3712
+ dueLeadDays: z.ZodOptional<z.ZodNumber>;
3713
+ generateLeadDays: z.ZodOptional<z.ZodNumber>;
3714
+ maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
3715
+ weekOfMonth: z.ZodOptional<z.ZodEnum<["none", "first", "second", "third", "fourth", "fifth"]>>;
3716
+ }, "strip", z.ZodTypeAny, {
3717
+ dayOfMonth?: number | undefined;
3718
+ anchorTime?: string | undefined;
3719
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3720
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3721
+ installmentPlanName?: string | undefined;
3722
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3723
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3724
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3725
+ dueLeadDays?: number | undefined;
3726
+ generateLeadDays?: number | undefined;
3727
+ maxInstallmentsPerTerm?: number | undefined;
3728
+ }, {
3729
+ dayOfMonth?: number | undefined;
3730
+ anchorTime?: string | undefined;
3731
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3732
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3733
+ installmentPlanName?: string | undefined;
3734
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3735
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3736
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3737
+ dueLeadDays?: number | undefined;
3738
+ generateLeadDays?: number | undefined;
3739
+ maxInstallmentsPerTerm?: number | undefined;
3740
+ }>>;
3741
+ }, "strip", z.ZodTypeAny, {
3742
+ billingPreferences: {
3743
+ billingPlanName?: string | undefined;
3744
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3745
+ };
3746
+ installmentPreferences?: {
3747
+ dayOfMonth?: number | undefined;
3748
+ anchorTime?: string | undefined;
3749
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3750
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3751
+ installmentPlanName?: string | undefined;
3752
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3753
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3754
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3755
+ dueLeadDays?: number | undefined;
3756
+ generateLeadDays?: number | undefined;
3757
+ maxInstallmentsPerTerm?: number | undefined;
3758
+ } | undefined;
3759
+ }, {
3760
+ billingPreferences: {
3761
+ billingPlanName?: string | undefined;
3762
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3763
+ };
3764
+ installmentPreferences?: {
3765
+ dayOfMonth?: number | undefined;
3766
+ anchorTime?: string | undefined;
3767
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3768
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3769
+ installmentPlanName?: string | undefined;
3770
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3771
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3772
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3773
+ dueLeadDays?: number | undefined;
3774
+ generateLeadDays?: number | undefined;
3775
+ maxInstallmentsPerTerm?: number | undefined;
3776
+ } | undefined;
3777
+ }>>;
3778
+ triggerBillingChange: z.ZodOptional<z.ZodBoolean>;
3779
+ }, "strip", z.ZodTypeAny, {
3780
+ locator: string;
3781
+ effectiveTime: string;
3782
+ action: "params";
3783
+ preferences?: {
3784
+ billingPreferences: {
3785
+ billingPlanName?: string | undefined;
3786
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3787
+ };
3788
+ installmentPreferences?: {
3789
+ dayOfMonth?: number | undefined;
3790
+ anchorTime?: string | undefined;
3791
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3792
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3793
+ installmentPlanName?: string | undefined;
3794
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3795
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3796
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3797
+ dueLeadDays?: number | undefined;
3798
+ generateLeadDays?: number | undefined;
3799
+ maxInstallmentsPerTerm?: number | undefined;
3800
+ } | undefined;
3801
+ } | undefined;
3802
+ billingModeChange?: boolean | undefined;
3803
+ inheritSettings?: boolean | undefined;
3804
+ newPolicyEndTime?: string | undefined;
3805
+ triggerBillingChange?: boolean | undefined;
3806
+ }, {
3807
+ locator: string;
3808
+ effectiveTime: string;
3809
+ action: "params";
3810
+ preferences?: {
3811
+ billingPreferences: {
3812
+ billingPlanName?: string | undefined;
3813
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3814
+ };
3815
+ installmentPreferences?: {
3816
+ dayOfMonth?: number | undefined;
3817
+ anchorTime?: string | undefined;
3818
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3819
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3820
+ installmentPlanName?: string | undefined;
3821
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3822
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3823
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3824
+ dueLeadDays?: number | undefined;
3825
+ generateLeadDays?: number | undefined;
3826
+ maxInstallmentsPerTerm?: number | undefined;
3827
+ } | undefined;
3828
+ } | undefined;
3829
+ billingModeChange?: boolean | undefined;
3830
+ inheritSettings?: boolean | undefined;
3831
+ newPolicyEndTime?: string | undefined;
3832
+ triggerBillingChange?: boolean | undefined;
3833
+ }>, z.ZodObject<{
3834
+ locator: z.ZodString;
3835
+ action: z.ZodLiteral<"delete">;
3836
+ staticElementLocators: z.ZodArray<z.ZodString, "many">;
3837
+ }, "strip", z.ZodTypeAny, {
3838
+ locator: string;
3839
+ action: "delete";
3840
+ staticElementLocators: string[];
3841
+ }, {
3842
+ locator: string;
3843
+ action: "delete";
3844
+ staticElementLocators: string[];
3845
+ }>]>, "many">>;
3846
+ aggregateTransactionLocator: z.ZodOptional<z.ZodString>;
3847
+ baseTransactionLocator: z.ZodOptional<z.ZodString>;
3848
+ issuedTime: z.ZodOptional<z.ZodString>;
3849
+ billingTrigger: z.ZodOptional<z.ZodEnum<["accept", "issue"]>>;
3850
+ preferences: z.ZodOptional<z.ZodObject<{
3851
+ billingPreferences: z.ZodObject<{
3852
+ billingPlanName: z.ZodOptional<z.ZodString>;
3853
+ billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
3854
+ }, "strip", z.ZodTypeAny, {
3855
+ billingPlanName?: string | undefined;
3856
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3857
+ }, {
3858
+ billingPlanName?: string | undefined;
3859
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3860
+ }>;
3861
+ installmentPreferences: z.ZodOptional<z.ZodObject<{
3862
+ installmentPlanName: z.ZodOptional<z.ZodString>;
3863
+ anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
3864
+ anchorTime: z.ZodOptional<z.ZodString>;
3865
+ anchorType: z.ZodOptional<z.ZodEnum<["none", "dayOfMonth", "anchorTime", "dayOfWeek", "weekOfMonth"]>>;
3866
+ cadence: z.ZodOptional<z.ZodEnum<["none", "fullPay", "weekly", "everyOtherWeek", "monthly", "quarterly", "semiannually", "annually", "thirtyDays", "everyNDays"]>>;
3867
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
3868
+ dayOfWeek: z.ZodOptional<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>>;
3869
+ dueLeadDays: z.ZodOptional<z.ZodNumber>;
3870
+ generateLeadDays: z.ZodOptional<z.ZodNumber>;
3871
+ maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
3872
+ weekOfMonth: z.ZodOptional<z.ZodEnum<["none", "first", "second", "third", "fourth", "fifth"]>>;
3873
+ }, "strip", z.ZodTypeAny, {
3874
+ dayOfMonth?: number | undefined;
3875
+ anchorTime?: string | undefined;
3876
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3877
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3878
+ installmentPlanName?: string | undefined;
3879
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3880
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3881
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3882
+ dueLeadDays?: number | undefined;
3883
+ generateLeadDays?: number | undefined;
3884
+ maxInstallmentsPerTerm?: number | undefined;
3885
+ }, {
3886
+ dayOfMonth?: number | undefined;
3887
+ anchorTime?: string | undefined;
3888
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3889
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3890
+ installmentPlanName?: string | undefined;
3891
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3892
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3893
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3894
+ dueLeadDays?: number | undefined;
3895
+ generateLeadDays?: number | undefined;
3896
+ maxInstallmentsPerTerm?: number | undefined;
3897
+ }>>;
3898
+ }, "strip", z.ZodTypeAny, {
3899
+ billingPreferences: {
3900
+ billingPlanName?: string | undefined;
3901
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3902
+ };
3903
+ installmentPreferences?: {
3904
+ dayOfMonth?: number | undefined;
3905
+ anchorTime?: string | undefined;
3906
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3907
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3908
+ installmentPlanName?: string | undefined;
3909
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3910
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3911
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3912
+ dueLeadDays?: number | undefined;
3913
+ generateLeadDays?: number | undefined;
3914
+ maxInstallmentsPerTerm?: number | undefined;
3915
+ } | undefined;
3916
+ }, {
3917
+ billingPreferences: {
3918
+ billingPlanName?: string | undefined;
3919
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3920
+ };
3921
+ installmentPreferences?: {
3922
+ dayOfMonth?: number | undefined;
3923
+ anchorTime?: string | undefined;
3924
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
3925
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
3926
+ installmentPlanName?: string | undefined;
3927
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
3928
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
3929
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
3930
+ dueLeadDays?: number | undefined;
3931
+ generateLeadDays?: number | undefined;
3932
+ maxInstallmentsPerTerm?: number | undefined;
3933
+ } | undefined;
3934
+ }>>;
3935
+ underwritingStatus: z.ZodOptional<z.ZodString>;
3936
+ validationResult: z.ZodOptional<z.ZodObject<{
3937
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
3938
+ elementType: z.ZodOptional<z.ZodString>;
3939
+ locator: z.ZodOptional<z.ZodString>;
3940
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3941
+ }, "strip", z.ZodTypeAny, {
3942
+ elementType?: string | undefined;
3943
+ locator?: string | undefined;
3944
+ errors?: string[] | undefined;
3945
+ }, {
3946
+ elementType?: string | undefined;
3947
+ locator?: string | undefined;
3948
+ errors?: string[] | undefined;
3949
+ }>, "many">>;
3950
+ success: z.ZodOptional<z.ZodBoolean>;
3951
+ }, "strip", z.ZodTypeAny, {
3952
+ validationItems?: {
3953
+ elementType?: string | undefined;
3954
+ locator?: string | undefined;
3955
+ errors?: string[] | undefined;
3956
+ }[] | undefined;
3957
+ success?: boolean | undefined;
3958
+ }, {
3959
+ validationItems?: {
3960
+ elementType?: string | undefined;
3961
+ locator?: string | undefined;
3962
+ errors?: string[] | undefined;
3963
+ }[] | undefined;
3964
+ success?: boolean | undefined;
3965
+ }>>;
3966
+ }, {
3967
+ aggregatedTransactions: z.ZodLazy<z.ZodOptional<z.ZodArray<z.ZodObject<{
3968
+ locator: z.ZodString;
3969
+ policyLocator: z.ZodString;
3970
+ termLocator: z.ZodString;
3971
+ transactionState: z.ZodEnum<["draft", "initialized", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded", "invalidated", "reversed"]>;
3972
+ createdAt: z.ZodString;
3973
+ createdBy: z.ZodString;
3974
+ effectiveTime: z.ZodString;
3975
+ transactionCategory: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
3976
+ transactionType: z.ZodString;
3977
+ changeInstructions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
3978
+ locator: z.ZodString;
3979
+ action: z.ZodLiteral<"add">;
3980
+ elements: z.ZodArray<z.ZodType<ElementCreateRequest, z.ZodTypeDef, ElementCreateRequest>, "many">;
3981
+ }, "strip", z.ZodTypeAny, {
3982
+ locator: string;
3983
+ elements: ElementCreateRequest[];
3984
+ action: "add";
3985
+ }, {
3986
+ locator: string;
3987
+ elements: ElementCreateRequest[];
3988
+ action: "add";
3989
+ }>, z.ZodObject<{
3990
+ locator: z.ZodString;
3991
+ staticLocator: z.ZodString;
3992
+ action: z.ZodLiteral<"modify">;
3993
+ removeCoverageTerms: z.ZodRecord<z.ZodString, z.ZodAny>;
3994
+ removeData: z.ZodRecord<z.ZodString, z.ZodAny>;
3995
+ setCoverageTerms: z.ZodRecord<z.ZodString, z.ZodString>;
3996
+ setData: z.ZodRecord<z.ZodString, z.ZodAny>;
3997
+ }, "strip", z.ZodTypeAny, {
3998
+ locator: string;
3999
+ removeCoverageTerms: Record<string, any>;
4000
+ removeData: Record<string, any>;
4001
+ setCoverageTerms: Record<string, string>;
4002
+ setData: Record<string, any>;
4003
+ staticLocator: string;
4004
+ action: "modify";
4005
+ }, {
4006
+ locator: string;
4007
+ removeCoverageTerms: Record<string, any>;
4008
+ removeData: Record<string, any>;
4009
+ setCoverageTerms: Record<string, string>;
4010
+ setData: Record<string, any>;
4011
+ staticLocator: string;
4012
+ action: "modify";
4013
+ }>, z.ZodObject<{
4014
+ locator: z.ZodString;
4015
+ action: z.ZodLiteral<"params">;
4016
+ effectiveTime: z.ZodString;
4017
+ billingModeChange: z.ZodOptional<z.ZodBoolean>;
4018
+ inheritSettings: z.ZodOptional<z.ZodBoolean>;
4019
+ newPolicyEndTime: z.ZodOptional<z.ZodString>;
4020
+ preferences: z.ZodOptional<z.ZodObject<{
4021
+ billingPreferences: z.ZodObject<{
4022
+ billingPlanName: z.ZodOptional<z.ZodString>;
4023
+ billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
4024
+ }, "strip", z.ZodTypeAny, {
4025
+ billingPlanName?: string | undefined;
4026
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4027
+ }, {
4028
+ billingPlanName?: string | undefined;
4029
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4030
+ }>;
4031
+ installmentPreferences: z.ZodOptional<z.ZodObject<{
4032
+ installmentPlanName: z.ZodOptional<z.ZodString>;
4033
+ anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
4034
+ anchorTime: z.ZodOptional<z.ZodString>;
4035
+ anchorType: z.ZodOptional<z.ZodEnum<["none", "dayOfMonth", "anchorTime", "dayOfWeek", "weekOfMonth"]>>;
4036
+ cadence: z.ZodOptional<z.ZodEnum<["none", "fullPay", "weekly", "everyOtherWeek", "monthly", "quarterly", "semiannually", "annually", "thirtyDays", "everyNDays"]>>;
4037
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
4038
+ dayOfWeek: z.ZodOptional<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>>;
4039
+ dueLeadDays: z.ZodOptional<z.ZodNumber>;
4040
+ generateLeadDays: z.ZodOptional<z.ZodNumber>;
4041
+ maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
4042
+ weekOfMonth: z.ZodOptional<z.ZodEnum<["none", "first", "second", "third", "fourth", "fifth"]>>;
4043
+ }, "strip", z.ZodTypeAny, {
4044
+ dayOfMonth?: number | undefined;
4045
+ anchorTime?: string | undefined;
4046
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4047
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4048
+ installmentPlanName?: string | undefined;
4049
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4050
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4051
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4052
+ dueLeadDays?: number | undefined;
4053
+ generateLeadDays?: number | undefined;
4054
+ maxInstallmentsPerTerm?: number | undefined;
4055
+ }, {
4056
+ dayOfMonth?: number | undefined;
4057
+ anchorTime?: string | undefined;
4058
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4059
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4060
+ installmentPlanName?: string | undefined;
4061
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4062
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4063
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4064
+ dueLeadDays?: number | undefined;
4065
+ generateLeadDays?: number | undefined;
4066
+ maxInstallmentsPerTerm?: number | undefined;
4067
+ }>>;
4068
+ }, "strip", z.ZodTypeAny, {
4069
+ billingPreferences: {
4070
+ billingPlanName?: string | undefined;
4071
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4072
+ };
4073
+ installmentPreferences?: {
4074
+ dayOfMonth?: number | undefined;
4075
+ anchorTime?: string | undefined;
4076
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4077
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4078
+ installmentPlanName?: string | undefined;
4079
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4080
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4081
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4082
+ dueLeadDays?: number | undefined;
4083
+ generateLeadDays?: number | undefined;
4084
+ maxInstallmentsPerTerm?: number | undefined;
4085
+ } | undefined;
4086
+ }, {
4087
+ billingPreferences: {
4088
+ billingPlanName?: string | undefined;
4089
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4090
+ };
4091
+ installmentPreferences?: {
4092
+ dayOfMonth?: number | undefined;
4093
+ anchorTime?: string | undefined;
4094
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4095
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4096
+ installmentPlanName?: string | undefined;
4097
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4098
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4099
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4100
+ dueLeadDays?: number | undefined;
4101
+ generateLeadDays?: number | undefined;
4102
+ maxInstallmentsPerTerm?: number | undefined;
4103
+ } | undefined;
4104
+ }>>;
4105
+ triggerBillingChange: z.ZodOptional<z.ZodBoolean>;
4106
+ }, "strip", z.ZodTypeAny, {
4107
+ locator: string;
4108
+ effectiveTime: string;
4109
+ action: "params";
4110
+ preferences?: {
4111
+ billingPreferences: {
4112
+ billingPlanName?: string | undefined;
4113
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4114
+ };
4115
+ installmentPreferences?: {
4116
+ dayOfMonth?: number | undefined;
4117
+ anchorTime?: string | undefined;
4118
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4119
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4120
+ installmentPlanName?: string | undefined;
4121
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4122
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4123
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4124
+ dueLeadDays?: number | undefined;
4125
+ generateLeadDays?: number | undefined;
4126
+ maxInstallmentsPerTerm?: number | undefined;
4127
+ } | undefined;
4128
+ } | undefined;
4129
+ billingModeChange?: boolean | undefined;
4130
+ inheritSettings?: boolean | undefined;
4131
+ newPolicyEndTime?: string | undefined;
4132
+ triggerBillingChange?: boolean | undefined;
4133
+ }, {
4134
+ locator: string;
4135
+ effectiveTime: string;
4136
+ action: "params";
4137
+ preferences?: {
4138
+ billingPreferences: {
4139
+ billingPlanName?: string | undefined;
4140
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4141
+ };
4142
+ installmentPreferences?: {
4143
+ dayOfMonth?: number | undefined;
4144
+ anchorTime?: string | undefined;
4145
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4146
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4147
+ installmentPlanName?: string | undefined;
4148
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4149
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4150
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4151
+ dueLeadDays?: number | undefined;
4152
+ generateLeadDays?: number | undefined;
4153
+ maxInstallmentsPerTerm?: number | undefined;
4154
+ } | undefined;
4155
+ } | undefined;
4156
+ billingModeChange?: boolean | undefined;
4157
+ inheritSettings?: boolean | undefined;
4158
+ newPolicyEndTime?: string | undefined;
4159
+ triggerBillingChange?: boolean | undefined;
4160
+ }>, z.ZodObject<{
4161
+ locator: z.ZodString;
4162
+ action: z.ZodLiteral<"delete">;
4163
+ staticElementLocators: z.ZodArray<z.ZodString, "many">;
4164
+ }, "strip", z.ZodTypeAny, {
4165
+ locator: string;
4166
+ action: "delete";
4167
+ staticElementLocators: string[];
4168
+ }, {
4169
+ locator: string;
4170
+ action: "delete";
4171
+ staticElementLocators: string[];
4172
+ }>]>, "many">>;
4173
+ aggregateTransactionLocator: z.ZodOptional<z.ZodString>;
4174
+ baseTransactionLocator: z.ZodOptional<z.ZodString>;
4175
+ issuedTime: z.ZodOptional<z.ZodString>;
4176
+ billingTrigger: z.ZodOptional<z.ZodEnum<["accept", "issue"]>>;
4177
+ preferences: z.ZodOptional<z.ZodObject<{
4178
+ billingPreferences: z.ZodObject<{
4179
+ billingPlanName: z.ZodOptional<z.ZodString>;
4180
+ billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
4181
+ }, "strip", z.ZodTypeAny, {
4182
+ billingPlanName?: string | undefined;
4183
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4184
+ }, {
4185
+ billingPlanName?: string | undefined;
4186
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4187
+ }>;
4188
+ installmentPreferences: z.ZodOptional<z.ZodObject<{
4189
+ installmentPlanName: z.ZodOptional<z.ZodString>;
4190
+ anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
4191
+ anchorTime: z.ZodOptional<z.ZodString>;
4192
+ anchorType: z.ZodOptional<z.ZodEnum<["none", "dayOfMonth", "anchorTime", "dayOfWeek", "weekOfMonth"]>>;
4193
+ cadence: z.ZodOptional<z.ZodEnum<["none", "fullPay", "weekly", "everyOtherWeek", "monthly", "quarterly", "semiannually", "annually", "thirtyDays", "everyNDays"]>>;
4194
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
4195
+ dayOfWeek: z.ZodOptional<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>>;
4196
+ dueLeadDays: z.ZodOptional<z.ZodNumber>;
4197
+ generateLeadDays: z.ZodOptional<z.ZodNumber>;
4198
+ maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
4199
+ weekOfMonth: z.ZodOptional<z.ZodEnum<["none", "first", "second", "third", "fourth", "fifth"]>>;
4200
+ }, "strip", z.ZodTypeAny, {
4201
+ dayOfMonth?: number | undefined;
4202
+ anchorTime?: string | undefined;
4203
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4204
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4205
+ installmentPlanName?: string | undefined;
4206
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4207
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4208
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4209
+ dueLeadDays?: number | undefined;
4210
+ generateLeadDays?: number | undefined;
4211
+ maxInstallmentsPerTerm?: number | undefined;
4212
+ }, {
4213
+ dayOfMonth?: number | undefined;
4214
+ anchorTime?: string | undefined;
4215
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4216
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4217
+ installmentPlanName?: string | undefined;
4218
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4219
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4220
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4221
+ dueLeadDays?: number | undefined;
4222
+ generateLeadDays?: number | undefined;
4223
+ maxInstallmentsPerTerm?: number | undefined;
4224
+ }>>;
4225
+ }, "strip", z.ZodTypeAny, {
4226
+ billingPreferences: {
4227
+ billingPlanName?: string | undefined;
4228
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4229
+ };
4230
+ installmentPreferences?: {
4231
+ dayOfMonth?: number | undefined;
4232
+ anchorTime?: string | undefined;
4233
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4234
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4235
+ installmentPlanName?: string | undefined;
4236
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4237
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4238
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4239
+ dueLeadDays?: number | undefined;
4240
+ generateLeadDays?: number | undefined;
4241
+ maxInstallmentsPerTerm?: number | undefined;
4242
+ } | undefined;
4243
+ }, {
4244
+ billingPreferences: {
4245
+ billingPlanName?: string | undefined;
4246
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4247
+ };
4248
+ installmentPreferences?: {
4249
+ dayOfMonth?: number | undefined;
4250
+ anchorTime?: string | undefined;
4251
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4252
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4253
+ installmentPlanName?: string | undefined;
4254
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4255
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4256
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4257
+ dueLeadDays?: number | undefined;
4258
+ generateLeadDays?: number | undefined;
4259
+ maxInstallmentsPerTerm?: number | undefined;
4260
+ } | undefined;
4261
+ }>>;
4262
+ underwritingStatus: z.ZodOptional<z.ZodString>;
4263
+ validationResult: z.ZodOptional<z.ZodObject<{
4264
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
4265
+ elementType: z.ZodOptional<z.ZodString>;
4266
+ locator: z.ZodOptional<z.ZodString>;
4267
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4268
+ }, "strip", z.ZodTypeAny, {
4269
+ elementType?: string | undefined;
4270
+ locator?: string | undefined;
4271
+ errors?: string[] | undefined;
4272
+ }, {
4273
+ elementType?: string | undefined;
4274
+ locator?: string | undefined;
4275
+ errors?: string[] | undefined;
4276
+ }>, "many">>;
4277
+ success: z.ZodOptional<z.ZodBoolean>;
4278
+ }, "strip", z.ZodTypeAny, {
4279
+ validationItems?: {
4280
+ elementType?: string | undefined;
4281
+ locator?: string | undefined;
4282
+ errors?: string[] | undefined;
4283
+ }[] | undefined;
4284
+ success?: boolean | undefined;
4285
+ }, {
4286
+ validationItems?: {
4287
+ elementType?: string | undefined;
4288
+ locator?: string | undefined;
4289
+ errors?: string[] | undefined;
4290
+ }[] | undefined;
4291
+ success?: boolean | undefined;
4292
+ }>>;
4293
+ }, "strip", z.ZodTypeAny, {
4294
+ locator: string;
4295
+ policyLocator: string;
4296
+ createdAt: string;
4297
+ createdBy: string;
4298
+ effectiveTime: string;
4299
+ transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4300
+ transactionType: string;
4301
+ termLocator: string;
4302
+ transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4303
+ preferences?: {
4304
+ billingPreferences: {
4305
+ billingPlanName?: string | undefined;
4306
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4307
+ };
4308
+ installmentPreferences?: {
4309
+ dayOfMonth?: number | undefined;
4310
+ anchorTime?: string | undefined;
4311
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4312
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4313
+ installmentPlanName?: string | undefined;
4314
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4315
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4316
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4317
+ dueLeadDays?: number | undefined;
4318
+ generateLeadDays?: number | undefined;
4319
+ maxInstallmentsPerTerm?: number | undefined;
4320
+ } | undefined;
4321
+ } | undefined;
4322
+ underwritingStatus?: string | undefined;
4323
+ issuedTime?: string | undefined;
4324
+ validationResult?: {
4325
+ validationItems?: {
4326
+ elementType?: string | undefined;
4327
+ locator?: string | undefined;
4328
+ errors?: string[] | undefined;
4329
+ }[] | undefined;
4330
+ success?: boolean | undefined;
4331
+ } | undefined;
4332
+ billingTrigger?: "accept" | "issue" | undefined;
4333
+ changeInstructions?: ({
4334
+ locator: string;
4335
+ elements: ElementCreateRequest[];
4336
+ action: "add";
4337
+ } | {
4338
+ locator: string;
4339
+ removeCoverageTerms: Record<string, any>;
4340
+ removeData: Record<string, any>;
4341
+ setCoverageTerms: Record<string, string>;
4342
+ setData: Record<string, any>;
4343
+ staticLocator: string;
4344
+ action: "modify";
4345
+ } | {
4346
+ locator: string;
4347
+ effectiveTime: string;
4348
+ action: "params";
4349
+ preferences?: {
4350
+ billingPreferences: {
4351
+ billingPlanName?: string | undefined;
4352
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4353
+ };
4354
+ installmentPreferences?: {
4355
+ dayOfMonth?: number | undefined;
4356
+ anchorTime?: string | undefined;
4357
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4358
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4359
+ installmentPlanName?: string | undefined;
4360
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4361
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4362
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4363
+ dueLeadDays?: number | undefined;
4364
+ generateLeadDays?: number | undefined;
4365
+ maxInstallmentsPerTerm?: number | undefined;
4366
+ } | undefined;
4367
+ } | undefined;
4368
+ billingModeChange?: boolean | undefined;
4369
+ inheritSettings?: boolean | undefined;
4370
+ newPolicyEndTime?: string | undefined;
4371
+ triggerBillingChange?: boolean | undefined;
4372
+ } | {
4373
+ locator: string;
4374
+ action: "delete";
4375
+ staticElementLocators: string[];
4376
+ })[] | undefined;
4377
+ aggregateTransactionLocator?: string | undefined;
4378
+ baseTransactionLocator?: string | undefined;
4379
+ }, {
4380
+ locator: string;
4381
+ policyLocator: string;
4382
+ createdAt: string;
4383
+ createdBy: string;
4384
+ effectiveTime: string;
4385
+ transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4386
+ transactionType: string;
4387
+ termLocator: string;
4388
+ transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4389
+ preferences?: {
4390
+ billingPreferences: {
4391
+ billingPlanName?: string | undefined;
4392
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4393
+ };
4394
+ installmentPreferences?: {
4395
+ dayOfMonth?: number | undefined;
4396
+ anchorTime?: string | undefined;
4397
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4398
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4399
+ installmentPlanName?: string | undefined;
4400
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4401
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4402
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4403
+ dueLeadDays?: number | undefined;
4404
+ generateLeadDays?: number | undefined;
4405
+ maxInstallmentsPerTerm?: number | undefined;
4406
+ } | undefined;
4407
+ } | undefined;
4408
+ underwritingStatus?: string | undefined;
4409
+ issuedTime?: string | undefined;
4410
+ validationResult?: {
4411
+ validationItems?: {
4412
+ elementType?: string | undefined;
4413
+ locator?: string | undefined;
4414
+ errors?: string[] | undefined;
4415
+ }[] | undefined;
4416
+ success?: boolean | undefined;
4417
+ } | undefined;
4418
+ billingTrigger?: "accept" | "issue" | undefined;
4419
+ changeInstructions?: ({
4420
+ locator: string;
4421
+ elements: ElementCreateRequest[];
4422
+ action: "add";
4423
+ } | {
4424
+ locator: string;
4425
+ removeCoverageTerms: Record<string, any>;
4426
+ removeData: Record<string, any>;
4427
+ setCoverageTerms: Record<string, string>;
4428
+ setData: Record<string, any>;
4429
+ staticLocator: string;
4430
+ action: "modify";
4431
+ } | {
4432
+ locator: string;
4433
+ effectiveTime: string;
4434
+ action: "params";
4435
+ preferences?: {
4436
+ billingPreferences: {
4437
+ billingPlanName?: string | undefined;
4438
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4439
+ };
4440
+ installmentPreferences?: {
4441
+ dayOfMonth?: number | undefined;
4442
+ anchorTime?: string | undefined;
4443
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4444
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4445
+ installmentPlanName?: string | undefined;
4446
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4447
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4448
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4449
+ dueLeadDays?: number | undefined;
4450
+ generateLeadDays?: number | undefined;
4451
+ maxInstallmentsPerTerm?: number | undefined;
4452
+ } | undefined;
4453
+ } | undefined;
4454
+ billingModeChange?: boolean | undefined;
4455
+ inheritSettings?: boolean | undefined;
4456
+ newPolicyEndTime?: string | undefined;
4457
+ triggerBillingChange?: boolean | undefined;
4458
+ } | {
4459
+ locator: string;
4460
+ action: "delete";
4461
+ staticElementLocators: string[];
4462
+ })[] | undefined;
4463
+ aggregateTransactionLocator?: string | undefined;
4464
+ baseTransactionLocator?: string | undefined;
4465
+ }>, "many">>>;
4466
+ }>, "strip", z.ZodTypeAny, {
4467
+ locator: string;
4468
+ policyLocator: string;
4469
+ createdAt: string;
4470
+ createdBy: string;
4471
+ effectiveTime: string;
4472
+ transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4473
+ transactionType: string;
4474
+ termLocator: string;
4475
+ transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4476
+ preferences?: {
4477
+ billingPreferences: {
4478
+ billingPlanName?: string | undefined;
4479
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4480
+ };
4481
+ installmentPreferences?: {
4482
+ dayOfMonth?: number | undefined;
4483
+ anchorTime?: string | undefined;
4484
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4485
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4486
+ installmentPlanName?: string | undefined;
4487
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4488
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4489
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4490
+ dueLeadDays?: number | undefined;
4491
+ generateLeadDays?: number | undefined;
4492
+ maxInstallmentsPerTerm?: number | undefined;
4493
+ } | undefined;
4494
+ } | undefined;
4495
+ underwritingStatus?: string | undefined;
4496
+ issuedTime?: string | undefined;
4497
+ validationResult?: {
4498
+ validationItems?: {
4499
+ elementType?: string | undefined;
4500
+ locator?: string | undefined;
4501
+ errors?: string[] | undefined;
4502
+ }[] | undefined;
4503
+ success?: boolean | undefined;
4504
+ } | undefined;
4505
+ billingTrigger?: "accept" | "issue" | undefined;
4506
+ changeInstructions?: ({
4507
+ locator: string;
4508
+ elements: ElementCreateRequest[];
4509
+ action: "add";
4510
+ } | {
4511
+ locator: string;
4512
+ removeCoverageTerms: Record<string, any>;
4513
+ removeData: Record<string, any>;
4514
+ setCoverageTerms: Record<string, string>;
4515
+ setData: Record<string, any>;
4516
+ staticLocator: string;
4517
+ action: "modify";
4518
+ } | {
4519
+ locator: string;
4520
+ effectiveTime: string;
4521
+ action: "params";
4522
+ preferences?: {
4523
+ billingPreferences: {
4524
+ billingPlanName?: string | undefined;
4525
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4526
+ };
4527
+ installmentPreferences?: {
4528
+ dayOfMonth?: number | undefined;
4529
+ anchorTime?: string | undefined;
4530
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4531
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4532
+ installmentPlanName?: string | undefined;
4533
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4534
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4535
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4536
+ dueLeadDays?: number | undefined;
4537
+ generateLeadDays?: number | undefined;
4538
+ maxInstallmentsPerTerm?: number | undefined;
4539
+ } | undefined;
4540
+ } | undefined;
4541
+ billingModeChange?: boolean | undefined;
4542
+ inheritSettings?: boolean | undefined;
4543
+ newPolicyEndTime?: string | undefined;
4544
+ triggerBillingChange?: boolean | undefined;
4545
+ } | {
4546
+ locator: string;
4547
+ action: "delete";
4548
+ staticElementLocators: string[];
4549
+ })[] | undefined;
4550
+ aggregateTransactionLocator?: string | undefined;
4551
+ baseTransactionLocator?: string | undefined;
4552
+ aggregatedTransactions?: {
4553
+ locator: string;
4554
+ policyLocator: string;
4555
+ createdAt: string;
4556
+ createdBy: string;
4557
+ effectiveTime: string;
2991
4558
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
2992
4559
  transactionType: string;
4560
+ termLocator: string;
4561
+ transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
2993
4562
  preferences?: {
2994
4563
  billingPreferences: {
2995
4564
  billingPlanName?: string | undefined;
@@ -3009,52 +4578,160 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
3009
4578
  maxInstallmentsPerTerm?: number | undefined;
3010
4579
  } | undefined;
3011
4580
  } | undefined;
3012
- };
3013
- delinquencyPlanName?: string | undefined;
3014
- static?: Record<string, any> | undefined;
4581
+ underwritingStatus?: string | undefined;
4582
+ issuedTime?: string | undefined;
4583
+ validationResult?: {
4584
+ validationItems?: {
4585
+ elementType?: string | undefined;
4586
+ locator?: string | undefined;
4587
+ errors?: string[] | undefined;
4588
+ }[] | undefined;
4589
+ success?: boolean | undefined;
4590
+ } | undefined;
4591
+ billingTrigger?: "accept" | "issue" | undefined;
4592
+ changeInstructions?: ({
4593
+ locator: string;
4594
+ elements: ElementCreateRequest[];
4595
+ action: "add";
4596
+ } | {
4597
+ locator: string;
4598
+ removeCoverageTerms: Record<string, any>;
4599
+ removeData: Record<string, any>;
4600
+ setCoverageTerms: Record<string, string>;
4601
+ setData: Record<string, any>;
4602
+ staticLocator: string;
4603
+ action: "modify";
4604
+ } | {
4605
+ locator: string;
4606
+ effectiveTime: string;
4607
+ action: "params";
4608
+ preferences?: {
4609
+ billingPreferences: {
4610
+ billingPlanName?: string | undefined;
4611
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4612
+ };
4613
+ installmentPreferences?: {
4614
+ dayOfMonth?: number | undefined;
4615
+ anchorTime?: string | undefined;
4616
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4617
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4618
+ installmentPlanName?: string | undefined;
4619
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4620
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4621
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4622
+ dueLeadDays?: number | undefined;
4623
+ generateLeadDays?: number | undefined;
4624
+ maxInstallmentsPerTerm?: number | undefined;
4625
+ } | undefined;
4626
+ } | undefined;
4627
+ billingModeChange?: boolean | undefined;
4628
+ inheritSettings?: boolean | undefined;
4629
+ newPolicyEndTime?: string | undefined;
4630
+ triggerBillingChange?: boolean | undefined;
4631
+ } | {
4632
+ locator: string;
4633
+ action: "delete";
4634
+ staticElementLocators: string[];
4635
+ })[] | undefined;
4636
+ aggregateTransactionLocator?: string | undefined;
4637
+ baseTransactionLocator?: string | undefined;
4638
+ }[] | undefined;
3015
4639
  }, {
3016
4640
  locator: string;
3017
- productName: string;
3018
- currency: string;
3019
- timezone: string;
3020
- accountLocator: string;
3021
- transaction: {
4641
+ policyLocator: string;
4642
+ createdAt: string;
4643
+ createdBy: string;
4644
+ effectiveTime: string;
4645
+ transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4646
+ transactionType: string;
4647
+ termLocator: string;
4648
+ transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
4649
+ preferences?: {
4650
+ billingPreferences: {
4651
+ billingPlanName?: string | undefined;
4652
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4653
+ };
4654
+ installmentPreferences?: {
4655
+ dayOfMonth?: number | undefined;
4656
+ anchorTime?: string | undefined;
4657
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4658
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4659
+ installmentPlanName?: string | undefined;
4660
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4661
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4662
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4663
+ dueLeadDays?: number | undefined;
4664
+ generateLeadDays?: number | undefined;
4665
+ maxInstallmentsPerTerm?: number | undefined;
4666
+ } | undefined;
4667
+ } | undefined;
4668
+ underwritingStatus?: string | undefined;
4669
+ issuedTime?: string | undefined;
4670
+ validationResult?: {
4671
+ validationItems?: {
4672
+ elementType?: string | undefined;
4673
+ locator?: string | undefined;
4674
+ errors?: string[] | undefined;
4675
+ }[] | undefined;
4676
+ success?: boolean | undefined;
4677
+ } | undefined;
4678
+ billingTrigger?: "accept" | "issue" | undefined;
4679
+ changeInstructions?: ({
4680
+ locator: string;
4681
+ elements: ElementCreateRequest[];
4682
+ action: "add";
4683
+ } | {
4684
+ locator: string;
4685
+ removeCoverageTerms: Record<string, any>;
4686
+ removeData: Record<string, any>;
4687
+ setCoverageTerms: Record<string, string>;
4688
+ setData: Record<string, any>;
4689
+ staticLocator: string;
4690
+ action: "modify";
4691
+ } | {
3022
4692
  locator: string;
3023
- issuedTime: string;
3024
4693
  effectiveTime: string;
3025
- segment: {
3026
- locator: string;
3027
- startTime: string;
3028
- endTime: string;
3029
- element: {
3030
- locator: string;
3031
- type: string;
3032
- staticLocator: string;
3033
- data?: Record<string, any> | undefined;
3034
- coverageTerms?: Record<string, string> | undefined;
3035
- rootLocator?: string | undefined;
3036
- tenantLocator?: string | undefined;
3037
- parentLocator?: string | undefined;
3038
- originalEffectiveTime?: string | undefined;
3039
- } & {
3040
- elements?: ({
3041
- locator: string;
3042
- type: string;
3043
- staticLocator: string;
3044
- data?: Record<string, any> | undefined;
3045
- coverageTerms?: Record<string, string> | undefined;
3046
- rootLocator?: string | undefined;
3047
- tenantLocator?: string | undefined;
3048
- parentLocator?: string | undefined;
3049
- originalEffectiveTime?: string | undefined;
3050
- } & any)[];
4694
+ action: "params";
4695
+ preferences?: {
4696
+ billingPreferences: {
4697
+ billingPlanName?: string | undefined;
4698
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
3051
4699
  };
3052
- duration: number;
3053
- segmentType: "coverage" | "gap";
3054
- basedOn?: string | undefined;
3055
- };
4700
+ installmentPreferences?: {
4701
+ dayOfMonth?: number | undefined;
4702
+ anchorTime?: string | undefined;
4703
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4704
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4705
+ installmentPlanName?: string | undefined;
4706
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4707
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4708
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4709
+ dueLeadDays?: number | undefined;
4710
+ generateLeadDays?: number | undefined;
4711
+ maxInstallmentsPerTerm?: number | undefined;
4712
+ } | undefined;
4713
+ } | undefined;
4714
+ billingModeChange?: boolean | undefined;
4715
+ inheritSettings?: boolean | undefined;
4716
+ newPolicyEndTime?: string | undefined;
4717
+ triggerBillingChange?: boolean | undefined;
4718
+ } | {
4719
+ locator: string;
4720
+ action: "delete";
4721
+ staticElementLocators: string[];
4722
+ })[] | undefined;
4723
+ aggregateTransactionLocator?: string | undefined;
4724
+ baseTransactionLocator?: string | undefined;
4725
+ aggregatedTransactions?: {
4726
+ locator: string;
4727
+ policyLocator: string;
4728
+ createdAt: string;
4729
+ createdBy: string;
4730
+ effectiveTime: string;
3056
4731
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
3057
4732
  transactionType: string;
4733
+ termLocator: string;
4734
+ transactionState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded" | "initialized" | "invalidated" | "reversed";
3058
4735
  preferences?: {
3059
4736
  billingPreferences: {
3060
4737
  billingPlanName?: string | undefined;
@@ -3074,9 +4751,64 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
3074
4751
  maxInstallmentsPerTerm?: number | undefined;
3075
4752
  } | undefined;
3076
4753
  } | undefined;
3077
- };
3078
- delinquencyPlanName?: string | undefined;
3079
- static?: Record<string, any> | undefined;
4754
+ underwritingStatus?: string | undefined;
4755
+ issuedTime?: string | undefined;
4756
+ validationResult?: {
4757
+ validationItems?: {
4758
+ elementType?: string | undefined;
4759
+ locator?: string | undefined;
4760
+ errors?: string[] | undefined;
4761
+ }[] | undefined;
4762
+ success?: boolean | undefined;
4763
+ } | undefined;
4764
+ billingTrigger?: "accept" | "issue" | undefined;
4765
+ changeInstructions?: ({
4766
+ locator: string;
4767
+ elements: ElementCreateRequest[];
4768
+ action: "add";
4769
+ } | {
4770
+ locator: string;
4771
+ removeCoverageTerms: Record<string, any>;
4772
+ removeData: Record<string, any>;
4773
+ setCoverageTerms: Record<string, string>;
4774
+ setData: Record<string, any>;
4775
+ staticLocator: string;
4776
+ action: "modify";
4777
+ } | {
4778
+ locator: string;
4779
+ effectiveTime: string;
4780
+ action: "params";
4781
+ preferences?: {
4782
+ billingPreferences: {
4783
+ billingPlanName?: string | undefined;
4784
+ billingLevel?: "account" | "inherit" | "policy" | undefined;
4785
+ };
4786
+ installmentPreferences?: {
4787
+ dayOfMonth?: number | undefined;
4788
+ anchorTime?: string | undefined;
4789
+ dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
4790
+ weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
4791
+ installmentPlanName?: string | undefined;
4792
+ anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
4793
+ anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
4794
+ cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
4795
+ dueLeadDays?: number | undefined;
4796
+ generateLeadDays?: number | undefined;
4797
+ maxInstallmentsPerTerm?: number | undefined;
4798
+ } | undefined;
4799
+ } | undefined;
4800
+ billingModeChange?: boolean | undefined;
4801
+ inheritSettings?: boolean | undefined;
4802
+ newPolicyEndTime?: string | undefined;
4803
+ triggerBillingChange?: boolean | undefined;
4804
+ } | {
4805
+ locator: string;
4806
+ action: "delete";
4807
+ staticElementLocators: string[];
4808
+ })[] | undefined;
4809
+ aggregateTransactionLocator?: string | undefined;
4810
+ baseTransactionLocator?: string | undefined;
4811
+ }[] | undefined;
3080
4812
  }>;
3081
4813
 
3082
4814
  export declare type PreferencesResponse = z.infer<typeof preferencesResponseSchema>;
@@ -3542,8 +5274,8 @@ export declare const quotePriceResponseSchema: z.ZodObject<{
3542
5274
  productName: z.ZodString;
3543
5275
  startTime: z.ZodString;
3544
5276
  endTime: z.ZodString;
3545
- duration: z.ZodNumber;
3546
- durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
5277
+ duration: z.ZodOptional<z.ZodNumber>;
5278
+ durationBasis: z.ZodOptional<z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>>;
3547
5279
  items: z.ZodOptional<z.ZodArray<z.ZodObject<{
3548
5280
  locator: z.ZodString;
3549
5281
  elementLocator: z.ZodString;
@@ -3585,11 +5317,11 @@ export declare const quotePriceResponseSchema: z.ZodObject<{
3585
5317
  productName: string;
3586
5318
  startTime: string;
3587
5319
  endTime: string;
3588
- durationBasis: "none" | "years" | "months" | "monthsE360" | "weeks" | "days" | "hours";
3589
5320
  quoteState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded";
3590
5321
  accountLocator: string;
3591
- duration: number;
3592
5322
  quoteLocator: string;
5323
+ durationBasis?: "none" | "years" | "months" | "monthsE360" | "weeks" | "days" | "hours" | undefined;
5324
+ duration?: number | undefined;
3593
5325
  items?: {
3594
5326
  locator: string;
3595
5327
  elementLocator: string;
@@ -3607,11 +5339,11 @@ export declare const quotePriceResponseSchema: z.ZodObject<{
3607
5339
  productName: string;
3608
5340
  startTime: string;
3609
5341
  endTime: string;
3610
- durationBasis: "none" | "years" | "months" | "monthsE360" | "weeks" | "days" | "hours";
3611
5342
  quoteState: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "declined" | "rejected" | "refused" | "discarded";
3612
5343
  accountLocator: string;
3613
- duration: number;
3614
5344
  quoteLocator: string;
5345
+ durationBasis?: "none" | "years" | "months" | "monthsE360" | "weeks" | "days" | "hours" | undefined;
5346
+ duration?: number | undefined;
3615
5347
  items?: {
3616
5348
  locator: string;
3617
5349
  elementLocator: string;
@@ -3754,6 +5486,13 @@ export declare const quoteRequestSchema: z.ZodObject<{
3754
5486
  }>>;
3755
5487
  }, "strip", z.ZodTypeAny, {
3756
5488
  defaultTermDuration?: string | undefined;
5489
+ elements?: {
5490
+ locator: string;
5491
+ removeCoverageTerms?: Record<string, unknown> | undefined;
5492
+ removeData?: Record<string, unknown> | undefined;
5493
+ setCoverageTerms?: Record<string, unknown> | undefined;
5494
+ setData?: Record<string, unknown> | undefined;
5495
+ }[] | undefined;
3757
5496
  setCoverageTerms?: Record<string, unknown> | undefined;
3758
5497
  setData?: Record<string, unknown> | undefined;
3759
5498
  productName?: string | undefined;
@@ -3762,13 +5501,6 @@ export declare const quoteRequestSchema: z.ZodObject<{
3762
5501
  endTime?: string | undefined;
3763
5502
  currency?: string | undefined;
3764
5503
  expirationTime?: string | undefined;
3765
- elements?: {
3766
- locator: string;
3767
- removeCoverageTerms?: Record<string, unknown> | undefined;
3768
- removeData?: Record<string, unknown> | undefined;
3769
- setCoverageTerms?: Record<string, unknown> | undefined;
3770
- setData?: Record<string, unknown> | undefined;
3771
- }[] | undefined;
3772
5504
  timezone?: string | undefined;
3773
5505
  billingPlan?: string | undefined;
3774
5506
  installmentPlan?: string | undefined;
@@ -3795,6 +5527,13 @@ export declare const quoteRequestSchema: z.ZodObject<{
3795
5527
  } | undefined;
3796
5528
  }, {
3797
5529
  defaultTermDuration?: string | undefined;
5530
+ elements?: {
5531
+ locator: string;
5532
+ removeCoverageTerms?: Record<string, unknown> | undefined;
5533
+ removeData?: Record<string, unknown> | undefined;
5534
+ setCoverageTerms?: Record<string, unknown> | undefined;
5535
+ setData?: Record<string, unknown> | undefined;
5536
+ }[] | undefined;
3798
5537
  setCoverageTerms?: Record<string, unknown> | undefined;
3799
5538
  setData?: Record<string, unknown> | undefined;
3800
5539
  productName?: string | undefined;
@@ -3803,13 +5542,6 @@ export declare const quoteRequestSchema: z.ZodObject<{
3803
5542
  endTime?: string | undefined;
3804
5543
  currency?: string | undefined;
3805
5544
  expirationTime?: string | undefined;
3806
- elements?: {
3807
- locator: string;
3808
- removeCoverageTerms?: Record<string, unknown> | undefined;
3809
- removeData?: Record<string, unknown> | undefined;
3810
- setCoverageTerms?: Record<string, unknown> | undefined;
3811
- setData?: Record<string, unknown> | undefined;
3812
- }[] | undefined;
3813
5545
  timezone?: string | undefined;
3814
5546
  billingPlan?: string | undefined;
3815
5547
  installmentPlan?: string | undefined;
@@ -3855,9 +5587,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
3855
5587
  staticLocator: string;
3856
5588
  data?: Record<string, any> | undefined;
3857
5589
  coverageTerms?: Record<string, string> | undefined;
5590
+ parentLocator?: string | undefined;
3858
5591
  rootLocator?: string | undefined;
3859
5592
  tenantLocator?: string | undefined;
3860
- parentLocator?: string | undefined;
3861
5593
  originalEffectiveTime?: string | undefined;
3862
5594
  } & {
3863
5595
  elements?: ({
@@ -3866,9 +5598,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
3866
5598
  staticLocator: string;
3867
5599
  data?: Record<string, any> | undefined;
3868
5600
  coverageTerms?: Record<string, string> | undefined;
5601
+ parentLocator?: string | undefined;
3869
5602
  rootLocator?: string | undefined;
3870
5603
  tenantLocator?: string | undefined;
3871
- parentLocator?: string | undefined;
3872
5604
  originalEffectiveTime?: string | undefined;
3873
5605
  } & any)[];
3874
5606
  }, z.ZodTypeDef, {
@@ -3877,9 +5609,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
3877
5609
  staticLocator: string;
3878
5610
  data?: Record<string, any> | undefined;
3879
5611
  coverageTerms?: Record<string, string> | undefined;
5612
+ parentLocator?: string | undefined;
3880
5613
  rootLocator?: string | undefined;
3881
5614
  tenantLocator?: string | undefined;
3882
- parentLocator?: string | undefined;
3883
5615
  originalEffectiveTime?: string | undefined;
3884
5616
  } & {
3885
5617
  elements?: ({
@@ -3888,9 +5620,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
3888
5620
  staticLocator: string;
3889
5621
  data?: Record<string, any> | undefined;
3890
5622
  coverageTerms?: Record<string, string> | undefined;
5623
+ parentLocator?: string | undefined;
3891
5624
  rootLocator?: string | undefined;
3892
5625
  tenantLocator?: string | undefined;
3893
- parentLocator?: string | undefined;
3894
5626
  originalEffectiveTime?: string | undefined;
3895
5627
  } & any)[];
3896
5628
  }>>;
@@ -3959,9 +5691,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
3959
5691
  staticLocator: string;
3960
5692
  data?: Record<string, any> | undefined;
3961
5693
  coverageTerms?: Record<string, string> | undefined;
5694
+ parentLocator?: string | undefined;
3962
5695
  rootLocator?: string | undefined;
3963
5696
  tenantLocator?: string | undefined;
3964
- parentLocator?: string | undefined;
3965
5697
  originalEffectiveTime?: string | undefined;
3966
5698
  } & {
3967
5699
  elements?: ({
@@ -3970,9 +5702,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
3970
5702
  staticLocator: string;
3971
5703
  data?: Record<string, any> | undefined;
3972
5704
  coverageTerms?: Record<string, string> | undefined;
5705
+ parentLocator?: string | undefined;
3973
5706
  rootLocator?: string | undefined;
3974
5707
  tenantLocator?: string | undefined;
3975
- parentLocator?: string | undefined;
3976
5708
  originalEffectiveTime?: string | undefined;
3977
5709
  } & any)[];
3978
5710
  }) | undefined;
@@ -4013,9 +5745,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
4013
5745
  staticLocator: string;
4014
5746
  data?: Record<string, any> | undefined;
4015
5747
  coverageTerms?: Record<string, string> | undefined;
5748
+ parentLocator?: string | undefined;
4016
5749
  rootLocator?: string | undefined;
4017
5750
  tenantLocator?: string | undefined;
4018
- parentLocator?: string | undefined;
4019
5751
  originalEffectiveTime?: string | undefined;
4020
5752
  } & {
4021
5753
  elements?: ({
@@ -4024,9 +5756,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
4024
5756
  staticLocator: string;
4025
5757
  data?: Record<string, any> | undefined;
4026
5758
  coverageTerms?: Record<string, string> | undefined;
5759
+ parentLocator?: string | undefined;
4027
5760
  rootLocator?: string | undefined;
4028
5761
  tenantLocator?: string | undefined;
4029
- parentLocator?: string | undefined;
4030
5762
  originalEffectiveTime?: string | undefined;
4031
5763
  } & any)[];
4032
5764
  }) | undefined;
@@ -4063,9 +5795,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
4063
5795
  staticLocator: string;
4064
5796
  data?: Record<string, any> | undefined;
4065
5797
  coverageTerms?: Record<string, string> | undefined;
5798
+ parentLocator?: string | undefined;
4066
5799
  rootLocator?: string | undefined;
4067
5800
  tenantLocator?: string | undefined;
4068
- parentLocator?: string | undefined;
4069
5801
  originalEffectiveTime?: string | undefined;
4070
5802
  } & {
4071
5803
  elements?: ({
@@ -4074,9 +5806,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
4074
5806
  staticLocator: string;
4075
5807
  data?: Record<string, any> | undefined;
4076
5808
  coverageTerms?: Record<string, string> | undefined;
5809
+ parentLocator?: string | undefined;
4077
5810
  rootLocator?: string | undefined;
4078
5811
  tenantLocator?: string | undefined;
4079
- parentLocator?: string | undefined;
4080
5812
  originalEffectiveTime?: string | undefined;
4081
5813
  } & any)[];
4082
5814
  }, z.ZodTypeDef, {
@@ -4085,9 +5817,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
4085
5817
  staticLocator: string;
4086
5818
  data?: Record<string, any> | undefined;
4087
5819
  coverageTerms?: Record<string, string> | undefined;
5820
+ parentLocator?: string | undefined;
4088
5821
  rootLocator?: string | undefined;
4089
5822
  tenantLocator?: string | undefined;
4090
- parentLocator?: string | undefined;
4091
5823
  originalEffectiveTime?: string | undefined;
4092
5824
  } & {
4093
5825
  elements?: ({
@@ -4096,9 +5828,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
4096
5828
  staticLocator: string;
4097
5829
  data?: Record<string, any> | undefined;
4098
5830
  coverageTerms?: Record<string, string> | undefined;
5831
+ parentLocator?: string | undefined;
4099
5832
  rootLocator?: string | undefined;
4100
5833
  tenantLocator?: string | undefined;
4101
- parentLocator?: string | undefined;
4102
5834
  originalEffectiveTime?: string | undefined;
4103
5835
  } & any)[];
4104
5836
  }>;
@@ -4114,9 +5846,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
4114
5846
  staticLocator: string;
4115
5847
  data?: Record<string, any> | undefined;
4116
5848
  coverageTerms?: Record<string, string> | undefined;
5849
+ parentLocator?: string | undefined;
4117
5850
  rootLocator?: string | undefined;
4118
5851
  tenantLocator?: string | undefined;
4119
- parentLocator?: string | undefined;
4120
5852
  originalEffectiveTime?: string | undefined;
4121
5853
  } & {
4122
5854
  elements?: ({
@@ -4125,9 +5857,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
4125
5857
  staticLocator: string;
4126
5858
  data?: Record<string, any> | undefined;
4127
5859
  coverageTerms?: Record<string, string> | undefined;
5860
+ parentLocator?: string | undefined;
4128
5861
  rootLocator?: string | undefined;
4129
5862
  tenantLocator?: string | undefined;
4130
- parentLocator?: string | undefined;
4131
5863
  originalEffectiveTime?: string | undefined;
4132
5864
  } & any)[];
4133
5865
  };
@@ -4144,9 +5876,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
4144
5876
  staticLocator: string;
4145
5877
  data?: Record<string, any> | undefined;
4146
5878
  coverageTerms?: Record<string, string> | undefined;
5879
+ parentLocator?: string | undefined;
4147
5880
  rootLocator?: string | undefined;
4148
5881
  tenantLocator?: string | undefined;
4149
- parentLocator?: string | undefined;
4150
5882
  originalEffectiveTime?: string | undefined;
4151
5883
  } & {
4152
5884
  elements?: ({
@@ -4155,9 +5887,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
4155
5887
  staticLocator: string;
4156
5888
  data?: Record<string, any> | undefined;
4157
5889
  coverageTerms?: Record<string, string> | undefined;
5890
+ parentLocator?: string | undefined;
4158
5891
  rootLocator?: string | undefined;
4159
5892
  tenantLocator?: string | undefined;
4160
- parentLocator?: string | undefined;
4161
5893
  originalEffectiveTime?: string | undefined;
4162
5894
  } & any)[];
4163
5895
  };
@@ -4184,13 +5916,13 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
4184
5916
  }, "strip", z.ZodTypeAny, {
4185
5917
  locator: string;
4186
5918
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4187
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
5919
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4188
5920
  staticName?: string | undefined;
4189
5921
  name?: string | undefined;
4190
5922
  }, {
4191
5923
  locator: string;
4192
5924
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4193
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
5925
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4194
5926
  staticName?: string | undefined;
4195
5927
  name?: string | undefined;
4196
5928
  }>, "many">>;
@@ -4216,8 +5948,6 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
4216
5948
  }, "strip", z.ZodTypeAny, {
4217
5949
  locator: string;
4218
5950
  type: "coverage" | "gap";
4219
- startTime: string;
4220
- endTime: string;
4221
5951
  elements: {
4222
5952
  locator: string;
4223
5953
  type: string;
@@ -4225,20 +5955,20 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
4225
5955
  data?: Record<string, any> | undefined;
4226
5956
  chargeSummaries?: Record<string, number> | undefined;
4227
5957
  }[];
5958
+ startTime: string;
5959
+ endTime: string;
4228
5960
  duration: number;
4229
5961
  basedOn?: string | undefined;
4230
5962
  documentSummary?: {
4231
5963
  locator: string;
4232
5964
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4233
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
5965
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4234
5966
  staticName?: string | undefined;
4235
5967
  name?: string | undefined;
4236
5968
  }[] | undefined;
4237
5969
  }, {
4238
5970
  locator: string;
4239
5971
  type: "coverage" | "gap";
4240
- startTime: string;
4241
- endTime: string;
4242
5972
  elements: {
4243
5973
  locator: string;
4244
5974
  type: string;
@@ -4246,12 +5976,14 @@ export declare const subsegmentSummarySchema: z.ZodObject<{
4246
5976
  data?: Record<string, any> | undefined;
4247
5977
  chargeSummaries?: Record<string, number> | undefined;
4248
5978
  }[];
5979
+ startTime: string;
5980
+ endTime: string;
4249
5981
  duration: number;
4250
5982
  basedOn?: string | undefined;
4251
5983
  documentSummary?: {
4252
5984
  locator: string;
4253
5985
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4254
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
5986
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4255
5987
  staticName?: string | undefined;
4256
5988
  name?: string | undefined;
4257
5989
  }[] | undefined;
@@ -4324,13 +6056,13 @@ export declare const termSummarySchema: z.ZodObject<{
4324
6056
  }, "strip", z.ZodTypeAny, {
4325
6057
  locator: string;
4326
6058
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4327
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
6059
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4328
6060
  staticName?: string | undefined;
4329
6061
  name?: string | undefined;
4330
6062
  }, {
4331
6063
  locator: string;
4332
6064
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4333
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
6065
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4334
6066
  staticName?: string | undefined;
4335
6067
  name?: string | undefined;
4336
6068
  }>, "many">>;
@@ -4356,8 +6088,6 @@ export declare const termSummarySchema: z.ZodObject<{
4356
6088
  }, "strip", z.ZodTypeAny, {
4357
6089
  locator: string;
4358
6090
  type: "coverage" | "gap";
4359
- startTime: string;
4360
- endTime: string;
4361
6091
  elements: {
4362
6092
  locator: string;
4363
6093
  type: string;
@@ -4365,20 +6095,20 @@ export declare const termSummarySchema: z.ZodObject<{
4365
6095
  data?: Record<string, any> | undefined;
4366
6096
  chargeSummaries?: Record<string, number> | undefined;
4367
6097
  }[];
6098
+ startTime: string;
6099
+ endTime: string;
4368
6100
  duration: number;
4369
6101
  basedOn?: string | undefined;
4370
6102
  documentSummary?: {
4371
6103
  locator: string;
4372
6104
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4373
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
6105
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4374
6106
  staticName?: string | undefined;
4375
6107
  name?: string | undefined;
4376
6108
  }[] | undefined;
4377
6109
  }, {
4378
6110
  locator: string;
4379
6111
  type: "coverage" | "gap";
4380
- startTime: string;
4381
- endTime: string;
4382
6112
  elements: {
4383
6113
  locator: string;
4384
6114
  type: string;
@@ -4386,12 +6116,14 @@ export declare const termSummarySchema: z.ZodObject<{
4386
6116
  data?: Record<string, any> | undefined;
4387
6117
  chargeSummaries?: Record<string, number> | undefined;
4388
6118
  }[];
6119
+ startTime: string;
6120
+ endTime: string;
4389
6121
  duration: number;
4390
6122
  basedOn?: string | undefined;
4391
6123
  documentSummary?: {
4392
6124
  locator: string;
4393
6125
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4394
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
6126
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4395
6127
  staticName?: string | undefined;
4396
6128
  name?: string | undefined;
4397
6129
  }[] | undefined;
@@ -4405,13 +6137,13 @@ export declare const termSummarySchema: z.ZodObject<{
4405
6137
  }, "strip", z.ZodTypeAny, {
4406
6138
  locator: string;
4407
6139
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4408
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
6140
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4409
6141
  staticName?: string | undefined;
4410
6142
  name?: string | undefined;
4411
6143
  }, {
4412
6144
  locator: string;
4413
6145
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4414
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
6146
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4415
6147
  staticName?: string | undefined;
4416
6148
  name?: string | undefined;
4417
6149
  }>, "many">>;
@@ -4427,8 +6159,6 @@ export declare const termSummarySchema: z.ZodObject<{
4427
6159
  subsegments: {
4428
6160
  locator: string;
4429
6161
  type: "coverage" | "gap";
4430
- startTime: string;
4431
- endTime: string;
4432
6162
  elements: {
4433
6163
  locator: string;
4434
6164
  type: string;
@@ -4436,12 +6166,14 @@ export declare const termSummarySchema: z.ZodObject<{
4436
6166
  data?: Record<string, any> | undefined;
4437
6167
  chargeSummaries?: Record<string, number> | undefined;
4438
6168
  }[];
6169
+ startTime: string;
6170
+ endTime: string;
4439
6171
  duration: number;
4440
6172
  basedOn?: string | undefined;
4441
6173
  documentSummary?: {
4442
6174
  locator: string;
4443
6175
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4444
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
6176
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4445
6177
  staticName?: string | undefined;
4446
6178
  name?: string | undefined;
4447
6179
  }[] | undefined;
@@ -4449,7 +6181,7 @@ export declare const termSummarySchema: z.ZodObject<{
4449
6181
  documentSummary?: {
4450
6182
  locator: string;
4451
6183
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4452
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
6184
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4453
6185
  staticName?: string | undefined;
4454
6186
  name?: string | undefined;
4455
6187
  }[] | undefined;
@@ -4465,8 +6197,6 @@ export declare const termSummarySchema: z.ZodObject<{
4465
6197
  subsegments: {
4466
6198
  locator: string;
4467
6199
  type: "coverage" | "gap";
4468
- startTime: string;
4469
- endTime: string;
4470
6200
  elements: {
4471
6201
  locator: string;
4472
6202
  type: string;
@@ -4474,12 +6204,14 @@ export declare const termSummarySchema: z.ZodObject<{
4474
6204
  data?: Record<string, any> | undefined;
4475
6205
  chargeSummaries?: Record<string, number> | undefined;
4476
6206
  }[];
6207
+ startTime: string;
6208
+ endTime: string;
4477
6209
  duration: number;
4478
6210
  basedOn?: string | undefined;
4479
6211
  documentSummary?: {
4480
6212
  locator: string;
4481
6213
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4482
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
6214
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4483
6215
  staticName?: string | undefined;
4484
6216
  name?: string | undefined;
4485
6217
  }[] | undefined;
@@ -4487,7 +6219,7 @@ export declare const termSummarySchema: z.ZodObject<{
4487
6219
  documentSummary?: {
4488
6220
  locator: string;
4489
6221
  state: "draft" | "dataReady" | "ready" | "dataError" | "renderError" | "conversionError";
4490
- referenceType: "policy" | "invoice" | "segment" | "quote" | "transaction" | "term";
6222
+ referenceType: "policy" | "quote" | "invoice" | "transaction" | "segment" | "term";
4491
6223
  staticName?: string | undefined;
4492
6224
  name?: string | undefined;
4493
6225
  }[] | undefined;
@@ -4603,9 +6335,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4603
6335
  staticLocator: string;
4604
6336
  data?: Record<string, any> | undefined;
4605
6337
  coverageTerms?: Record<string, string> | undefined;
6338
+ parentLocator?: string | undefined;
4606
6339
  rootLocator?: string | undefined;
4607
6340
  tenantLocator?: string | undefined;
4608
- parentLocator?: string | undefined;
4609
6341
  originalEffectiveTime?: string | undefined;
4610
6342
  } & {
4611
6343
  elements?: ({
@@ -4614,9 +6346,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4614
6346
  staticLocator: string;
4615
6347
  data?: Record<string, any> | undefined;
4616
6348
  coverageTerms?: Record<string, string> | undefined;
6349
+ parentLocator?: string | undefined;
4617
6350
  rootLocator?: string | undefined;
4618
6351
  tenantLocator?: string | undefined;
4619
- parentLocator?: string | undefined;
4620
6352
  originalEffectiveTime?: string | undefined;
4621
6353
  } & any)[];
4622
6354
  }, z.ZodTypeDef, {
@@ -4625,9 +6357,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4625
6357
  staticLocator: string;
4626
6358
  data?: Record<string, any> | undefined;
4627
6359
  coverageTerms?: Record<string, string> | undefined;
6360
+ parentLocator?: string | undefined;
4628
6361
  rootLocator?: string | undefined;
4629
6362
  tenantLocator?: string | undefined;
4630
- parentLocator?: string | undefined;
4631
6363
  originalEffectiveTime?: string | undefined;
4632
6364
  } & {
4633
6365
  elements?: ({
@@ -4636,9 +6368,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4636
6368
  staticLocator: string;
4637
6369
  data?: Record<string, any> | undefined;
4638
6370
  coverageTerms?: Record<string, string> | undefined;
6371
+ parentLocator?: string | undefined;
4639
6372
  rootLocator?: string | undefined;
4640
6373
  tenantLocator?: string | undefined;
4641
- parentLocator?: string | undefined;
4642
6374
  originalEffectiveTime?: string | undefined;
4643
6375
  } & any)[];
4644
6376
  }>;
@@ -4654,9 +6386,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4654
6386
  staticLocator: string;
4655
6387
  data?: Record<string, any> | undefined;
4656
6388
  coverageTerms?: Record<string, string> | undefined;
6389
+ parentLocator?: string | undefined;
4657
6390
  rootLocator?: string | undefined;
4658
6391
  tenantLocator?: string | undefined;
4659
- parentLocator?: string | undefined;
4660
6392
  originalEffectiveTime?: string | undefined;
4661
6393
  } & {
4662
6394
  elements?: ({
@@ -4665,9 +6397,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4665
6397
  staticLocator: string;
4666
6398
  data?: Record<string, any> | undefined;
4667
6399
  coverageTerms?: Record<string, string> | undefined;
6400
+ parentLocator?: string | undefined;
4668
6401
  rootLocator?: string | undefined;
4669
6402
  tenantLocator?: string | undefined;
4670
- parentLocator?: string | undefined;
4671
6403
  originalEffectiveTime?: string | undefined;
4672
6404
  } & any)[];
4673
6405
  };
@@ -4684,9 +6416,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4684
6416
  staticLocator: string;
4685
6417
  data?: Record<string, any> | undefined;
4686
6418
  coverageTerms?: Record<string, string> | undefined;
6419
+ parentLocator?: string | undefined;
4687
6420
  rootLocator?: string | undefined;
4688
6421
  tenantLocator?: string | undefined;
4689
- parentLocator?: string | undefined;
4690
6422
  originalEffectiveTime?: string | undefined;
4691
6423
  } & {
4692
6424
  elements?: ({
@@ -4695,9 +6427,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4695
6427
  staticLocator: string;
4696
6428
  data?: Record<string, any> | undefined;
4697
6429
  coverageTerms?: Record<string, string> | undefined;
6430
+ parentLocator?: string | undefined;
4698
6431
  rootLocator?: string | undefined;
4699
6432
  tenantLocator?: string | undefined;
4700
- parentLocator?: string | undefined;
4701
6433
  originalEffectiveTime?: string | undefined;
4702
6434
  } & any)[];
4703
6435
  };
@@ -4709,8 +6441,6 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4709
6441
  transactionType: z.ZodString;
4710
6442
  }, "strip", z.ZodTypeAny, {
4711
6443
  locator: string;
4712
- issuedTime: string;
4713
- effectiveTime: string;
4714
6444
  segment: {
4715
6445
  locator: string;
4716
6446
  startTime: string;
@@ -4721,9 +6451,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4721
6451
  staticLocator: string;
4722
6452
  data?: Record<string, any> | undefined;
4723
6453
  coverageTerms?: Record<string, string> | undefined;
6454
+ parentLocator?: string | undefined;
4724
6455
  rootLocator?: string | undefined;
4725
6456
  tenantLocator?: string | undefined;
4726
- parentLocator?: string | undefined;
4727
6457
  originalEffectiveTime?: string | undefined;
4728
6458
  } & {
4729
6459
  elements?: ({
@@ -4732,9 +6462,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4732
6462
  staticLocator: string;
4733
6463
  data?: Record<string, any> | undefined;
4734
6464
  coverageTerms?: Record<string, string> | undefined;
6465
+ parentLocator?: string | undefined;
4735
6466
  rootLocator?: string | undefined;
4736
6467
  tenantLocator?: string | undefined;
4737
- parentLocator?: string | undefined;
4738
6468
  originalEffectiveTime?: string | undefined;
4739
6469
  } & any)[];
4740
6470
  };
@@ -4742,6 +6472,8 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4742
6472
  segmentType: "coverage" | "gap";
4743
6473
  basedOn?: string | undefined;
4744
6474
  };
6475
+ issuedTime: string;
6476
+ effectiveTime: string;
4745
6477
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4746
6478
  transactionType: string;
4747
6479
  preferences?: {
@@ -4765,8 +6497,6 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4765
6497
  } | undefined;
4766
6498
  }, {
4767
6499
  locator: string;
4768
- issuedTime: string;
4769
- effectiveTime: string;
4770
6500
  segment: {
4771
6501
  locator: string;
4772
6502
  startTime: string;
@@ -4777,9 +6507,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4777
6507
  staticLocator: string;
4778
6508
  data?: Record<string, any> | undefined;
4779
6509
  coverageTerms?: Record<string, string> | undefined;
6510
+ parentLocator?: string | undefined;
4780
6511
  rootLocator?: string | undefined;
4781
6512
  tenantLocator?: string | undefined;
4782
- parentLocator?: string | undefined;
4783
6513
  originalEffectiveTime?: string | undefined;
4784
6514
  } & {
4785
6515
  elements?: ({
@@ -4788,9 +6518,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4788
6518
  staticLocator: string;
4789
6519
  data?: Record<string, any> | undefined;
4790
6520
  coverageTerms?: Record<string, string> | undefined;
6521
+ parentLocator?: string | undefined;
4791
6522
  rootLocator?: string | undefined;
4792
6523
  tenantLocator?: string | undefined;
4793
- parentLocator?: string | undefined;
4794
6524
  originalEffectiveTime?: string | undefined;
4795
6525
  } & any)[];
4796
6526
  };
@@ -4798,6 +6528,8 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4798
6528
  segmentType: "coverage" | "gap";
4799
6529
  basedOn?: string | undefined;
4800
6530
  };
6531
+ issuedTime: string;
6532
+ effectiveTime: string;
4801
6533
  transactionCategory: "issuance" | "change" | "renewal" | "cancellation" | "reinstatement" | "reversal" | "aggregate";
4802
6534
  transactionType: string;
4803
6535
  preferences?: {
@@ -4821,6 +6553,10 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
4821
6553
  } | undefined;
4822
6554
  }>;
4823
6555
 
6556
+ export declare type TransactionState = z.infer<typeof transactionStateEnumSchema>;
6557
+
6558
+ export declare const transactionStateEnumSchema: z.ZodEnum<["draft", "initialized", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded", "invalidated", "reversed"]>;
6559
+
4824
6560
  export declare type ValidationItem = z.infer<typeof validationItemSchema>;
4825
6561
 
4826
6562
  declare const validationItemSchema: z.ZodObject<{