@actuarial-ts/interchange 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +5 -0
  3. package/README.md +52 -0
  4. package/dist/convert/result.d.ts +45 -0
  5. package/dist/convert/result.d.ts.map +1 -0
  6. package/dist/convert/result.js +122 -0
  7. package/dist/convert/result.js.map +1 -0
  8. package/dist/convert/selection.d.ts +114 -0
  9. package/dist/convert/selection.d.ts.map +1 -0
  10. package/dist/convert/selection.js +383 -0
  11. package/dist/convert/selection.js.map +1 -0
  12. package/dist/convert/triangle.d.ts +49 -0
  13. package/dist/convert/triangle.d.ts.map +1 -0
  14. package/dist/convert/triangle.js +111 -0
  15. package/dist/convert/triangle.js.map +1 -0
  16. package/dist/envelope.d.ts +113 -0
  17. package/dist/envelope.d.ts.map +1 -0
  18. package/dist/envelope.js +139 -0
  19. package/dist/envelope.js.map +1 -0
  20. package/dist/index.d.ts +15 -0
  21. package/dist/index.d.ts.map +1 -0
  22. package/dist/index.js +15 -0
  23. package/dist/index.js.map +1 -0
  24. package/dist/parse.d.ts +38 -0
  25. package/dist/parse.d.ts.map +1 -0
  26. package/dist/parse.js +48 -0
  27. package/dist/parse.js.map +1 -0
  28. package/dist/referee/crosscheck.d.ts +38 -0
  29. package/dist/referee/crosscheck.d.ts.map +1 -0
  30. package/dist/referee/crosscheck.js +212 -0
  31. package/dist/referee/crosscheck.js.map +1 -0
  32. package/dist/referee/profiles.d.ts +36 -0
  33. package/dist/referee/profiles.d.ts.map +1 -0
  34. package/dist/referee/profiles.js +80 -0
  35. package/dist/referee/profiles.js.map +1 -0
  36. package/dist/schemas/bundle.d.ts +45 -0
  37. package/dist/schemas/bundle.d.ts.map +1 -0
  38. package/dist/schemas/bundle.js +20 -0
  39. package/dist/schemas/bundle.js.map +1 -0
  40. package/dist/schemas/crosscheck.d.ts +3567 -0
  41. package/dist/schemas/crosscheck.d.ts.map +1 -0
  42. package/dist/schemas/crosscheck.js +72 -0
  43. package/dist/schemas/crosscheck.js.map +1 -0
  44. package/dist/schemas/manifest.d.ts +43 -0
  45. package/dist/schemas/manifest.d.ts.map +1 -0
  46. package/dist/schemas/manifest.js +39 -0
  47. package/dist/schemas/manifest.js.map +1 -0
  48. package/dist/schemas/result.d.ts +2163 -0
  49. package/dist/schemas/result.d.ts.map +1 -0
  50. package/dist/schemas/result.js +95 -0
  51. package/dist/schemas/result.js.map +1 -0
  52. package/dist/schemas/selection.d.ts +10388 -0
  53. package/dist/schemas/selection.d.ts.map +1 -0
  54. package/dist/schemas/selection.js +138 -0
  55. package/dist/schemas/selection.js.map +1 -0
  56. package/dist/schemas/study.d.ts +62 -0
  57. package/dist/schemas/study.d.ts.map +1 -0
  58. package/dist/schemas/study.js +35 -0
  59. package/dist/schemas/study.js.map +1 -0
  60. package/dist/schemas/triangle.d.ts +1260 -0
  61. package/dist/schemas/triangle.d.ts.map +1 -0
  62. package/dist/schemas/triangle.js +120 -0
  63. package/dist/schemas/triangle.js.map +1 -0
  64. package/package.json +66 -0
@@ -0,0 +1,1260 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * TriangleDoc (spec 3.2).
4
+ *
5
+ * - Measure vocabulary is closed with an escape hatch: the seven core
6
+ * TriangleKind values plus `earnedPremium` plus `custom:<label>`.
7
+ * - Cadence is the integer `originLengthMonths` (12 | 6 | 3 | 1), not an
8
+ * enum; `origins[].start` disambiguates fiscal/trailing calendars.
9
+ * - Null means unobserved, everywhere. Adapters must never let NaN→0 or
10
+ * 0→missing conversions leak through.
11
+ * - `valuesRef` is the bulk lane (spec 3.3): v1 defines the field; every
12
+ * v1 conformance fixture uses inline JSON, and this TS reader's
13
+ * converters require inline values in Phase A.
14
+ */
15
+ export declare const CORE_MEASURES: readonly ["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount"];
16
+ export type CoreMeasure = (typeof CORE_MEASURES)[number];
17
+ export declare const measureSchema: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
18
+ export type Measure = z.infer<typeof measureSchema>;
19
+ export declare const originLengthMonthsSchema: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
20
+ export type OriginLengthMonths = z.infer<typeof originLengthMonthsSchema>;
21
+ export declare const triangleOriginSchema: z.ZodObject<{
22
+ label: z.ZodString;
23
+ start: z.ZodString;
24
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25
+ label: z.ZodString;
26
+ start: z.ZodString;
27
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
28
+ label: z.ZodString;
29
+ start: z.ZodString;
30
+ }, z.ZodTypeAny, "passthrough">>;
31
+ /** Bulk-lane reference (spec 3.3). */
32
+ export declare const valuesRefSchema: z.ZodObject<{
33
+ format: z.ZodLiteral<"arrow">;
34
+ path: z.ZodString;
35
+ sha256: z.ZodString;
36
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
37
+ format: z.ZodLiteral<"arrow">;
38
+ path: z.ZodString;
39
+ sha256: z.ZodString;
40
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
41
+ format: z.ZodLiteral<"arrow">;
42
+ path: z.ZodString;
43
+ sha256: z.ZodString;
44
+ }, z.ZodTypeAny, "passthrough">>;
45
+ export declare const triangleBodySchema: z.ZodEffects<z.ZodObject<{
46
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
47
+ cumulative: z.ZodBoolean;
48
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
49
+ origins: z.ZodArray<z.ZodObject<{
50
+ label: z.ZodString;
51
+ start: z.ZodString;
52
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
53
+ label: z.ZodString;
54
+ start: z.ZodString;
55
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
56
+ label: z.ZodString;
57
+ start: z.ZodString;
58
+ }, z.ZodTypeAny, "passthrough">>, "many">;
59
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
60
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
61
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
62
+ valuesRef: z.ZodOptional<z.ZodObject<{
63
+ format: z.ZodLiteral<"arrow">;
64
+ path: z.ZodString;
65
+ sha256: z.ZodString;
66
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
67
+ format: z.ZodLiteral<"arrow">;
68
+ path: z.ZodString;
69
+ sha256: z.ZodString;
70
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
71
+ format: z.ZodLiteral<"arrow">;
72
+ path: z.ZodString;
73
+ sha256: z.ZodString;
74
+ }, z.ZodTypeAny, "passthrough">>>;
75
+ valuationDate: z.ZodString;
76
+ basis: z.ZodOptional<z.ZodObject<{
77
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
78
+ laeTreatment: z.ZodOptional<z.ZodString>;
79
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
80
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
81
+ laeTreatment: z.ZodOptional<z.ZodString>;
82
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
83
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
84
+ laeTreatment: z.ZodOptional<z.ZodString>;
85
+ }, z.ZodTypeAny, "passthrough">>>;
86
+ units: z.ZodOptional<z.ZodObject<{
87
+ currency: z.ZodOptional<z.ZodString>;
88
+ scale: z.ZodOptional<z.ZodNumber>;
89
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
90
+ currency: z.ZodOptional<z.ZodString>;
91
+ scale: z.ZodOptional<z.ZodNumber>;
92
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
93
+ currency: z.ZodOptional<z.ZodString>;
94
+ scale: z.ZodOptional<z.ZodNumber>;
95
+ }, z.ZodTypeAny, "passthrough">>>;
96
+ segment: z.ZodOptional<z.ZodObject<{
97
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
98
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
99
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
100
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
101
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
102
+ }, z.ZodTypeAny, "passthrough">>>;
103
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
105
+ cumulative: z.ZodBoolean;
106
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
107
+ origins: z.ZodArray<z.ZodObject<{
108
+ label: z.ZodString;
109
+ start: z.ZodString;
110
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
111
+ label: z.ZodString;
112
+ start: z.ZodString;
113
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
114
+ label: z.ZodString;
115
+ start: z.ZodString;
116
+ }, z.ZodTypeAny, "passthrough">>, "many">;
117
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
118
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
119
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
120
+ valuesRef: z.ZodOptional<z.ZodObject<{
121
+ format: z.ZodLiteral<"arrow">;
122
+ path: z.ZodString;
123
+ sha256: z.ZodString;
124
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
125
+ format: z.ZodLiteral<"arrow">;
126
+ path: z.ZodString;
127
+ sha256: z.ZodString;
128
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
129
+ format: z.ZodLiteral<"arrow">;
130
+ path: z.ZodString;
131
+ sha256: z.ZodString;
132
+ }, z.ZodTypeAny, "passthrough">>>;
133
+ valuationDate: z.ZodString;
134
+ basis: z.ZodOptional<z.ZodObject<{
135
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
136
+ laeTreatment: z.ZodOptional<z.ZodString>;
137
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
138
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
139
+ laeTreatment: z.ZodOptional<z.ZodString>;
140
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
141
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
142
+ laeTreatment: z.ZodOptional<z.ZodString>;
143
+ }, z.ZodTypeAny, "passthrough">>>;
144
+ units: z.ZodOptional<z.ZodObject<{
145
+ currency: z.ZodOptional<z.ZodString>;
146
+ scale: z.ZodOptional<z.ZodNumber>;
147
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
148
+ currency: z.ZodOptional<z.ZodString>;
149
+ scale: z.ZodOptional<z.ZodNumber>;
150
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
151
+ currency: z.ZodOptional<z.ZodString>;
152
+ scale: z.ZodOptional<z.ZodNumber>;
153
+ }, z.ZodTypeAny, "passthrough">>>;
154
+ segment: z.ZodOptional<z.ZodObject<{
155
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
156
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
157
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
158
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
159
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
160
+ }, z.ZodTypeAny, "passthrough">>>;
161
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
162
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
163
+ cumulative: z.ZodBoolean;
164
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
165
+ origins: z.ZodArray<z.ZodObject<{
166
+ label: z.ZodString;
167
+ start: z.ZodString;
168
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
169
+ label: z.ZodString;
170
+ start: z.ZodString;
171
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
172
+ label: z.ZodString;
173
+ start: z.ZodString;
174
+ }, z.ZodTypeAny, "passthrough">>, "many">;
175
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
176
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
177
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
178
+ valuesRef: z.ZodOptional<z.ZodObject<{
179
+ format: z.ZodLiteral<"arrow">;
180
+ path: z.ZodString;
181
+ sha256: z.ZodString;
182
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
183
+ format: z.ZodLiteral<"arrow">;
184
+ path: z.ZodString;
185
+ sha256: z.ZodString;
186
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
187
+ format: z.ZodLiteral<"arrow">;
188
+ path: z.ZodString;
189
+ sha256: z.ZodString;
190
+ }, z.ZodTypeAny, "passthrough">>>;
191
+ valuationDate: z.ZodString;
192
+ basis: z.ZodOptional<z.ZodObject<{
193
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
194
+ laeTreatment: z.ZodOptional<z.ZodString>;
195
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
196
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
197
+ laeTreatment: z.ZodOptional<z.ZodString>;
198
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
199
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
200
+ laeTreatment: z.ZodOptional<z.ZodString>;
201
+ }, z.ZodTypeAny, "passthrough">>>;
202
+ units: z.ZodOptional<z.ZodObject<{
203
+ currency: z.ZodOptional<z.ZodString>;
204
+ scale: z.ZodOptional<z.ZodNumber>;
205
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
206
+ currency: z.ZodOptional<z.ZodString>;
207
+ scale: z.ZodOptional<z.ZodNumber>;
208
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
209
+ currency: z.ZodOptional<z.ZodString>;
210
+ scale: z.ZodOptional<z.ZodNumber>;
211
+ }, z.ZodTypeAny, "passthrough">>>;
212
+ segment: z.ZodOptional<z.ZodObject<{
213
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
214
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
215
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
216
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
217
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
218
+ }, z.ZodTypeAny, "passthrough">>>;
219
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
220
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
221
+ cumulative: z.ZodBoolean;
222
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
223
+ origins: z.ZodArray<z.ZodObject<{
224
+ label: z.ZodString;
225
+ start: z.ZodString;
226
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
227
+ label: z.ZodString;
228
+ start: z.ZodString;
229
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
230
+ label: z.ZodString;
231
+ start: z.ZodString;
232
+ }, z.ZodTypeAny, "passthrough">>, "many">;
233
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
234
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
235
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
236
+ valuesRef: z.ZodOptional<z.ZodObject<{
237
+ format: z.ZodLiteral<"arrow">;
238
+ path: z.ZodString;
239
+ sha256: z.ZodString;
240
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
241
+ format: z.ZodLiteral<"arrow">;
242
+ path: z.ZodString;
243
+ sha256: z.ZodString;
244
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
245
+ format: z.ZodLiteral<"arrow">;
246
+ path: z.ZodString;
247
+ sha256: z.ZodString;
248
+ }, z.ZodTypeAny, "passthrough">>>;
249
+ valuationDate: z.ZodString;
250
+ basis: z.ZodOptional<z.ZodObject<{
251
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
252
+ laeTreatment: z.ZodOptional<z.ZodString>;
253
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
254
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
255
+ laeTreatment: z.ZodOptional<z.ZodString>;
256
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
257
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
258
+ laeTreatment: z.ZodOptional<z.ZodString>;
259
+ }, z.ZodTypeAny, "passthrough">>>;
260
+ units: z.ZodOptional<z.ZodObject<{
261
+ currency: z.ZodOptional<z.ZodString>;
262
+ scale: z.ZodOptional<z.ZodNumber>;
263
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
264
+ currency: z.ZodOptional<z.ZodString>;
265
+ scale: z.ZodOptional<z.ZodNumber>;
266
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
267
+ currency: z.ZodOptional<z.ZodString>;
268
+ scale: z.ZodOptional<z.ZodNumber>;
269
+ }, z.ZodTypeAny, "passthrough">>>;
270
+ segment: z.ZodOptional<z.ZodObject<{
271
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
272
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
273
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
274
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
275
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
276
+ }, z.ZodTypeAny, "passthrough">>>;
277
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
278
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
279
+ cumulative: z.ZodBoolean;
280
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
281
+ origins: z.ZodArray<z.ZodObject<{
282
+ label: z.ZodString;
283
+ start: z.ZodString;
284
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
285
+ label: z.ZodString;
286
+ start: z.ZodString;
287
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
288
+ label: z.ZodString;
289
+ start: z.ZodString;
290
+ }, z.ZodTypeAny, "passthrough">>, "many">;
291
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
292
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
293
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
294
+ valuesRef: z.ZodOptional<z.ZodObject<{
295
+ format: z.ZodLiteral<"arrow">;
296
+ path: z.ZodString;
297
+ sha256: z.ZodString;
298
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
299
+ format: z.ZodLiteral<"arrow">;
300
+ path: z.ZodString;
301
+ sha256: z.ZodString;
302
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
303
+ format: z.ZodLiteral<"arrow">;
304
+ path: z.ZodString;
305
+ sha256: z.ZodString;
306
+ }, z.ZodTypeAny, "passthrough">>>;
307
+ valuationDate: z.ZodString;
308
+ basis: z.ZodOptional<z.ZodObject<{
309
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
310
+ laeTreatment: z.ZodOptional<z.ZodString>;
311
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
312
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
313
+ laeTreatment: z.ZodOptional<z.ZodString>;
314
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
315
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
316
+ laeTreatment: z.ZodOptional<z.ZodString>;
317
+ }, z.ZodTypeAny, "passthrough">>>;
318
+ units: z.ZodOptional<z.ZodObject<{
319
+ currency: z.ZodOptional<z.ZodString>;
320
+ scale: z.ZodOptional<z.ZodNumber>;
321
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
322
+ currency: z.ZodOptional<z.ZodString>;
323
+ scale: z.ZodOptional<z.ZodNumber>;
324
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
325
+ currency: z.ZodOptional<z.ZodString>;
326
+ scale: z.ZodOptional<z.ZodNumber>;
327
+ }, z.ZodTypeAny, "passthrough">>>;
328
+ segment: z.ZodOptional<z.ZodObject<{
329
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
330
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
331
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
332
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
333
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
334
+ }, z.ZodTypeAny, "passthrough">>>;
335
+ }, z.ZodTypeAny, "passthrough">>;
336
+ export type TriangleBody = z.infer<typeof triangleBodySchema>;
337
+ export declare const triangleDocSchema: z.ZodObject<{
338
+ triangle: z.ZodEffects<z.ZodObject<{
339
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
340
+ cumulative: z.ZodBoolean;
341
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
342
+ origins: z.ZodArray<z.ZodObject<{
343
+ label: z.ZodString;
344
+ start: z.ZodString;
345
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
346
+ label: z.ZodString;
347
+ start: z.ZodString;
348
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
349
+ label: z.ZodString;
350
+ start: z.ZodString;
351
+ }, z.ZodTypeAny, "passthrough">>, "many">;
352
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
353
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
354
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
355
+ valuesRef: z.ZodOptional<z.ZodObject<{
356
+ format: z.ZodLiteral<"arrow">;
357
+ path: z.ZodString;
358
+ sha256: z.ZodString;
359
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
360
+ format: z.ZodLiteral<"arrow">;
361
+ path: z.ZodString;
362
+ sha256: z.ZodString;
363
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
364
+ format: z.ZodLiteral<"arrow">;
365
+ path: z.ZodString;
366
+ sha256: z.ZodString;
367
+ }, z.ZodTypeAny, "passthrough">>>;
368
+ valuationDate: z.ZodString;
369
+ basis: z.ZodOptional<z.ZodObject<{
370
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
371
+ laeTreatment: z.ZodOptional<z.ZodString>;
372
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
373
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
374
+ laeTreatment: z.ZodOptional<z.ZodString>;
375
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
376
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
377
+ laeTreatment: z.ZodOptional<z.ZodString>;
378
+ }, z.ZodTypeAny, "passthrough">>>;
379
+ units: z.ZodOptional<z.ZodObject<{
380
+ currency: z.ZodOptional<z.ZodString>;
381
+ scale: z.ZodOptional<z.ZodNumber>;
382
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
383
+ currency: z.ZodOptional<z.ZodString>;
384
+ scale: z.ZodOptional<z.ZodNumber>;
385
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
386
+ currency: z.ZodOptional<z.ZodString>;
387
+ scale: z.ZodOptional<z.ZodNumber>;
388
+ }, z.ZodTypeAny, "passthrough">>>;
389
+ segment: z.ZodOptional<z.ZodObject<{
390
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
391
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
392
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
393
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
394
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
395
+ }, z.ZodTypeAny, "passthrough">>>;
396
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
397
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
398
+ cumulative: z.ZodBoolean;
399
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
400
+ origins: z.ZodArray<z.ZodObject<{
401
+ label: z.ZodString;
402
+ start: z.ZodString;
403
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
404
+ label: z.ZodString;
405
+ start: z.ZodString;
406
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
407
+ label: z.ZodString;
408
+ start: z.ZodString;
409
+ }, z.ZodTypeAny, "passthrough">>, "many">;
410
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
411
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
412
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
413
+ valuesRef: z.ZodOptional<z.ZodObject<{
414
+ format: z.ZodLiteral<"arrow">;
415
+ path: z.ZodString;
416
+ sha256: z.ZodString;
417
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
418
+ format: z.ZodLiteral<"arrow">;
419
+ path: z.ZodString;
420
+ sha256: z.ZodString;
421
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
422
+ format: z.ZodLiteral<"arrow">;
423
+ path: z.ZodString;
424
+ sha256: z.ZodString;
425
+ }, z.ZodTypeAny, "passthrough">>>;
426
+ valuationDate: z.ZodString;
427
+ basis: z.ZodOptional<z.ZodObject<{
428
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
429
+ laeTreatment: z.ZodOptional<z.ZodString>;
430
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
431
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
432
+ laeTreatment: z.ZodOptional<z.ZodString>;
433
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
434
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
435
+ laeTreatment: z.ZodOptional<z.ZodString>;
436
+ }, z.ZodTypeAny, "passthrough">>>;
437
+ units: z.ZodOptional<z.ZodObject<{
438
+ currency: z.ZodOptional<z.ZodString>;
439
+ scale: z.ZodOptional<z.ZodNumber>;
440
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
441
+ currency: z.ZodOptional<z.ZodString>;
442
+ scale: z.ZodOptional<z.ZodNumber>;
443
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
444
+ currency: z.ZodOptional<z.ZodString>;
445
+ scale: z.ZodOptional<z.ZodNumber>;
446
+ }, z.ZodTypeAny, "passthrough">>>;
447
+ segment: z.ZodOptional<z.ZodObject<{
448
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
449
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
450
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
451
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
452
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
453
+ }, z.ZodTypeAny, "passthrough">>>;
454
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
455
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
456
+ cumulative: z.ZodBoolean;
457
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
458
+ origins: z.ZodArray<z.ZodObject<{
459
+ label: z.ZodString;
460
+ start: z.ZodString;
461
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
462
+ label: z.ZodString;
463
+ start: z.ZodString;
464
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
465
+ label: z.ZodString;
466
+ start: z.ZodString;
467
+ }, z.ZodTypeAny, "passthrough">>, "many">;
468
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
469
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
470
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
471
+ valuesRef: z.ZodOptional<z.ZodObject<{
472
+ format: z.ZodLiteral<"arrow">;
473
+ path: z.ZodString;
474
+ sha256: z.ZodString;
475
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
476
+ format: z.ZodLiteral<"arrow">;
477
+ path: z.ZodString;
478
+ sha256: z.ZodString;
479
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
480
+ format: z.ZodLiteral<"arrow">;
481
+ path: z.ZodString;
482
+ sha256: z.ZodString;
483
+ }, z.ZodTypeAny, "passthrough">>>;
484
+ valuationDate: z.ZodString;
485
+ basis: z.ZodOptional<z.ZodObject<{
486
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
487
+ laeTreatment: z.ZodOptional<z.ZodString>;
488
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
489
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
490
+ laeTreatment: z.ZodOptional<z.ZodString>;
491
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
492
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
493
+ laeTreatment: z.ZodOptional<z.ZodString>;
494
+ }, z.ZodTypeAny, "passthrough">>>;
495
+ units: z.ZodOptional<z.ZodObject<{
496
+ currency: z.ZodOptional<z.ZodString>;
497
+ scale: z.ZodOptional<z.ZodNumber>;
498
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
499
+ currency: z.ZodOptional<z.ZodString>;
500
+ scale: z.ZodOptional<z.ZodNumber>;
501
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
502
+ currency: z.ZodOptional<z.ZodString>;
503
+ scale: z.ZodOptional<z.ZodNumber>;
504
+ }, z.ZodTypeAny, "passthrough">>>;
505
+ segment: z.ZodOptional<z.ZodObject<{
506
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
507
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
508
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
509
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
510
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
511
+ }, z.ZodTypeAny, "passthrough">>>;
512
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
513
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
514
+ cumulative: z.ZodBoolean;
515
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
516
+ origins: z.ZodArray<z.ZodObject<{
517
+ label: z.ZodString;
518
+ start: z.ZodString;
519
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
520
+ label: z.ZodString;
521
+ start: z.ZodString;
522
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
523
+ label: z.ZodString;
524
+ start: z.ZodString;
525
+ }, z.ZodTypeAny, "passthrough">>, "many">;
526
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
527
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
528
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
529
+ valuesRef: z.ZodOptional<z.ZodObject<{
530
+ format: z.ZodLiteral<"arrow">;
531
+ path: z.ZodString;
532
+ sha256: z.ZodString;
533
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
534
+ format: z.ZodLiteral<"arrow">;
535
+ path: z.ZodString;
536
+ sha256: z.ZodString;
537
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
538
+ format: z.ZodLiteral<"arrow">;
539
+ path: z.ZodString;
540
+ sha256: z.ZodString;
541
+ }, z.ZodTypeAny, "passthrough">>>;
542
+ valuationDate: z.ZodString;
543
+ basis: z.ZodOptional<z.ZodObject<{
544
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
545
+ laeTreatment: z.ZodOptional<z.ZodString>;
546
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
547
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
548
+ laeTreatment: z.ZodOptional<z.ZodString>;
549
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
550
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
551
+ laeTreatment: z.ZodOptional<z.ZodString>;
552
+ }, z.ZodTypeAny, "passthrough">>>;
553
+ units: z.ZodOptional<z.ZodObject<{
554
+ currency: z.ZodOptional<z.ZodString>;
555
+ scale: z.ZodOptional<z.ZodNumber>;
556
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
557
+ currency: z.ZodOptional<z.ZodString>;
558
+ scale: z.ZodOptional<z.ZodNumber>;
559
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
560
+ currency: z.ZodOptional<z.ZodString>;
561
+ scale: z.ZodOptional<z.ZodNumber>;
562
+ }, z.ZodTypeAny, "passthrough">>>;
563
+ segment: z.ZodOptional<z.ZodObject<{
564
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
565
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
566
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
567
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
568
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
569
+ }, z.ZodTypeAny, "passthrough">>>;
570
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
571
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
572
+ cumulative: z.ZodBoolean;
573
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
574
+ origins: z.ZodArray<z.ZodObject<{
575
+ label: z.ZodString;
576
+ start: z.ZodString;
577
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
578
+ label: z.ZodString;
579
+ start: z.ZodString;
580
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
581
+ label: z.ZodString;
582
+ start: z.ZodString;
583
+ }, z.ZodTypeAny, "passthrough">>, "many">;
584
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
585
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
586
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
587
+ valuesRef: z.ZodOptional<z.ZodObject<{
588
+ format: z.ZodLiteral<"arrow">;
589
+ path: z.ZodString;
590
+ sha256: z.ZodString;
591
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
592
+ format: z.ZodLiteral<"arrow">;
593
+ path: z.ZodString;
594
+ sha256: z.ZodString;
595
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
596
+ format: z.ZodLiteral<"arrow">;
597
+ path: z.ZodString;
598
+ sha256: z.ZodString;
599
+ }, z.ZodTypeAny, "passthrough">>>;
600
+ valuationDate: z.ZodString;
601
+ basis: z.ZodOptional<z.ZodObject<{
602
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
603
+ laeTreatment: z.ZodOptional<z.ZodString>;
604
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
605
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
606
+ laeTreatment: z.ZodOptional<z.ZodString>;
607
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
608
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
609
+ laeTreatment: z.ZodOptional<z.ZodString>;
610
+ }, z.ZodTypeAny, "passthrough">>>;
611
+ units: z.ZodOptional<z.ZodObject<{
612
+ currency: z.ZodOptional<z.ZodString>;
613
+ scale: z.ZodOptional<z.ZodNumber>;
614
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
615
+ currency: z.ZodOptional<z.ZodString>;
616
+ scale: z.ZodOptional<z.ZodNumber>;
617
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
618
+ currency: z.ZodOptional<z.ZodString>;
619
+ scale: z.ZodOptional<z.ZodNumber>;
620
+ }, z.ZodTypeAny, "passthrough">>>;
621
+ segment: z.ZodOptional<z.ZodObject<{
622
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
623
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
624
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
625
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
626
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
627
+ }, z.ZodTypeAny, "passthrough">>>;
628
+ }, z.ZodTypeAny, "passthrough">>;
629
+ interchangeVersion: z.ZodString;
630
+ kind: z.ZodLiteral<"triangle">;
631
+ generator: z.ZodObject<{
632
+ name: z.ZodString;
633
+ version: z.ZodString;
634
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
635
+ name: z.ZodString;
636
+ version: z.ZodString;
637
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
638
+ name: z.ZodString;
639
+ version: z.ZodString;
640
+ }, z.ZodTypeAny, "passthrough">>;
641
+ createdAt: z.ZodString;
642
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
643
+ integrity: z.ZodString;
644
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
645
+ triangle: z.ZodEffects<z.ZodObject<{
646
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
647
+ cumulative: z.ZodBoolean;
648
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
649
+ origins: z.ZodArray<z.ZodObject<{
650
+ label: z.ZodString;
651
+ start: z.ZodString;
652
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
653
+ label: z.ZodString;
654
+ start: z.ZodString;
655
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
656
+ label: z.ZodString;
657
+ start: z.ZodString;
658
+ }, z.ZodTypeAny, "passthrough">>, "many">;
659
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
660
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
661
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
662
+ valuesRef: z.ZodOptional<z.ZodObject<{
663
+ format: z.ZodLiteral<"arrow">;
664
+ path: z.ZodString;
665
+ sha256: z.ZodString;
666
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
667
+ format: z.ZodLiteral<"arrow">;
668
+ path: z.ZodString;
669
+ sha256: z.ZodString;
670
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
671
+ format: z.ZodLiteral<"arrow">;
672
+ path: z.ZodString;
673
+ sha256: z.ZodString;
674
+ }, z.ZodTypeAny, "passthrough">>>;
675
+ valuationDate: z.ZodString;
676
+ basis: z.ZodOptional<z.ZodObject<{
677
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
678
+ laeTreatment: z.ZodOptional<z.ZodString>;
679
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
680
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
681
+ laeTreatment: z.ZodOptional<z.ZodString>;
682
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
683
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
684
+ laeTreatment: z.ZodOptional<z.ZodString>;
685
+ }, z.ZodTypeAny, "passthrough">>>;
686
+ units: z.ZodOptional<z.ZodObject<{
687
+ currency: z.ZodOptional<z.ZodString>;
688
+ scale: z.ZodOptional<z.ZodNumber>;
689
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
690
+ currency: z.ZodOptional<z.ZodString>;
691
+ scale: z.ZodOptional<z.ZodNumber>;
692
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
693
+ currency: z.ZodOptional<z.ZodString>;
694
+ scale: z.ZodOptional<z.ZodNumber>;
695
+ }, z.ZodTypeAny, "passthrough">>>;
696
+ segment: z.ZodOptional<z.ZodObject<{
697
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
698
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
699
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
700
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
701
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
702
+ }, z.ZodTypeAny, "passthrough">>>;
703
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
704
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
705
+ cumulative: z.ZodBoolean;
706
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
707
+ origins: z.ZodArray<z.ZodObject<{
708
+ label: z.ZodString;
709
+ start: z.ZodString;
710
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
711
+ label: z.ZodString;
712
+ start: z.ZodString;
713
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
714
+ label: z.ZodString;
715
+ start: z.ZodString;
716
+ }, z.ZodTypeAny, "passthrough">>, "many">;
717
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
718
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
719
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
720
+ valuesRef: z.ZodOptional<z.ZodObject<{
721
+ format: z.ZodLiteral<"arrow">;
722
+ path: z.ZodString;
723
+ sha256: z.ZodString;
724
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
725
+ format: z.ZodLiteral<"arrow">;
726
+ path: z.ZodString;
727
+ sha256: z.ZodString;
728
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
729
+ format: z.ZodLiteral<"arrow">;
730
+ path: z.ZodString;
731
+ sha256: z.ZodString;
732
+ }, z.ZodTypeAny, "passthrough">>>;
733
+ valuationDate: z.ZodString;
734
+ basis: z.ZodOptional<z.ZodObject<{
735
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
736
+ laeTreatment: z.ZodOptional<z.ZodString>;
737
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
738
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
739
+ laeTreatment: z.ZodOptional<z.ZodString>;
740
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
741
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
742
+ laeTreatment: z.ZodOptional<z.ZodString>;
743
+ }, z.ZodTypeAny, "passthrough">>>;
744
+ units: z.ZodOptional<z.ZodObject<{
745
+ currency: z.ZodOptional<z.ZodString>;
746
+ scale: z.ZodOptional<z.ZodNumber>;
747
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
748
+ currency: z.ZodOptional<z.ZodString>;
749
+ scale: z.ZodOptional<z.ZodNumber>;
750
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
751
+ currency: z.ZodOptional<z.ZodString>;
752
+ scale: z.ZodOptional<z.ZodNumber>;
753
+ }, z.ZodTypeAny, "passthrough">>>;
754
+ segment: z.ZodOptional<z.ZodObject<{
755
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
756
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
757
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
758
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
759
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
760
+ }, z.ZodTypeAny, "passthrough">>>;
761
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
762
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
763
+ cumulative: z.ZodBoolean;
764
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
765
+ origins: z.ZodArray<z.ZodObject<{
766
+ label: z.ZodString;
767
+ start: z.ZodString;
768
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
769
+ label: z.ZodString;
770
+ start: z.ZodString;
771
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
772
+ label: z.ZodString;
773
+ start: z.ZodString;
774
+ }, z.ZodTypeAny, "passthrough">>, "many">;
775
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
776
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
777
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
778
+ valuesRef: z.ZodOptional<z.ZodObject<{
779
+ format: z.ZodLiteral<"arrow">;
780
+ path: z.ZodString;
781
+ sha256: z.ZodString;
782
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
783
+ format: z.ZodLiteral<"arrow">;
784
+ path: z.ZodString;
785
+ sha256: z.ZodString;
786
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
787
+ format: z.ZodLiteral<"arrow">;
788
+ path: z.ZodString;
789
+ sha256: z.ZodString;
790
+ }, z.ZodTypeAny, "passthrough">>>;
791
+ valuationDate: z.ZodString;
792
+ basis: z.ZodOptional<z.ZodObject<{
793
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
794
+ laeTreatment: z.ZodOptional<z.ZodString>;
795
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
796
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
797
+ laeTreatment: z.ZodOptional<z.ZodString>;
798
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
799
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
800
+ laeTreatment: z.ZodOptional<z.ZodString>;
801
+ }, z.ZodTypeAny, "passthrough">>>;
802
+ units: z.ZodOptional<z.ZodObject<{
803
+ currency: z.ZodOptional<z.ZodString>;
804
+ scale: z.ZodOptional<z.ZodNumber>;
805
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
806
+ currency: z.ZodOptional<z.ZodString>;
807
+ scale: z.ZodOptional<z.ZodNumber>;
808
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
809
+ currency: z.ZodOptional<z.ZodString>;
810
+ scale: z.ZodOptional<z.ZodNumber>;
811
+ }, z.ZodTypeAny, "passthrough">>>;
812
+ segment: z.ZodOptional<z.ZodObject<{
813
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
814
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
815
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
816
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
817
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
818
+ }, z.ZodTypeAny, "passthrough">>>;
819
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
820
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
821
+ cumulative: z.ZodBoolean;
822
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
823
+ origins: z.ZodArray<z.ZodObject<{
824
+ label: z.ZodString;
825
+ start: z.ZodString;
826
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
827
+ label: z.ZodString;
828
+ start: z.ZodString;
829
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
830
+ label: z.ZodString;
831
+ start: z.ZodString;
832
+ }, z.ZodTypeAny, "passthrough">>, "many">;
833
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
834
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
835
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
836
+ valuesRef: z.ZodOptional<z.ZodObject<{
837
+ format: z.ZodLiteral<"arrow">;
838
+ path: z.ZodString;
839
+ sha256: z.ZodString;
840
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
841
+ format: z.ZodLiteral<"arrow">;
842
+ path: z.ZodString;
843
+ sha256: z.ZodString;
844
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
845
+ format: z.ZodLiteral<"arrow">;
846
+ path: z.ZodString;
847
+ sha256: z.ZodString;
848
+ }, z.ZodTypeAny, "passthrough">>>;
849
+ valuationDate: z.ZodString;
850
+ basis: z.ZodOptional<z.ZodObject<{
851
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
852
+ laeTreatment: z.ZodOptional<z.ZodString>;
853
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
854
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
855
+ laeTreatment: z.ZodOptional<z.ZodString>;
856
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
857
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
858
+ laeTreatment: z.ZodOptional<z.ZodString>;
859
+ }, z.ZodTypeAny, "passthrough">>>;
860
+ units: z.ZodOptional<z.ZodObject<{
861
+ currency: z.ZodOptional<z.ZodString>;
862
+ scale: z.ZodOptional<z.ZodNumber>;
863
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
864
+ currency: z.ZodOptional<z.ZodString>;
865
+ scale: z.ZodOptional<z.ZodNumber>;
866
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
867
+ currency: z.ZodOptional<z.ZodString>;
868
+ scale: z.ZodOptional<z.ZodNumber>;
869
+ }, z.ZodTypeAny, "passthrough">>>;
870
+ segment: z.ZodOptional<z.ZodObject<{
871
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
872
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
873
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
874
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
875
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
876
+ }, z.ZodTypeAny, "passthrough">>>;
877
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
878
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
879
+ cumulative: z.ZodBoolean;
880
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
881
+ origins: z.ZodArray<z.ZodObject<{
882
+ label: z.ZodString;
883
+ start: z.ZodString;
884
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
885
+ label: z.ZodString;
886
+ start: z.ZodString;
887
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
888
+ label: z.ZodString;
889
+ start: z.ZodString;
890
+ }, z.ZodTypeAny, "passthrough">>, "many">;
891
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
892
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
893
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
894
+ valuesRef: z.ZodOptional<z.ZodObject<{
895
+ format: z.ZodLiteral<"arrow">;
896
+ path: z.ZodString;
897
+ sha256: z.ZodString;
898
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
899
+ format: z.ZodLiteral<"arrow">;
900
+ path: z.ZodString;
901
+ sha256: z.ZodString;
902
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
903
+ format: z.ZodLiteral<"arrow">;
904
+ path: z.ZodString;
905
+ sha256: z.ZodString;
906
+ }, z.ZodTypeAny, "passthrough">>>;
907
+ valuationDate: z.ZodString;
908
+ basis: z.ZodOptional<z.ZodObject<{
909
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
910
+ laeTreatment: z.ZodOptional<z.ZodString>;
911
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
912
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
913
+ laeTreatment: z.ZodOptional<z.ZodString>;
914
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
915
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
916
+ laeTreatment: z.ZodOptional<z.ZodString>;
917
+ }, z.ZodTypeAny, "passthrough">>>;
918
+ units: z.ZodOptional<z.ZodObject<{
919
+ currency: z.ZodOptional<z.ZodString>;
920
+ scale: z.ZodOptional<z.ZodNumber>;
921
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
922
+ currency: z.ZodOptional<z.ZodString>;
923
+ scale: z.ZodOptional<z.ZodNumber>;
924
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
925
+ currency: z.ZodOptional<z.ZodString>;
926
+ scale: z.ZodOptional<z.ZodNumber>;
927
+ }, z.ZodTypeAny, "passthrough">>>;
928
+ segment: z.ZodOptional<z.ZodObject<{
929
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
930
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
931
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
932
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
933
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
934
+ }, z.ZodTypeAny, "passthrough">>>;
935
+ }, z.ZodTypeAny, "passthrough">>;
936
+ interchangeVersion: z.ZodString;
937
+ kind: z.ZodLiteral<"triangle">;
938
+ generator: z.ZodObject<{
939
+ name: z.ZodString;
940
+ version: z.ZodString;
941
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
942
+ name: z.ZodString;
943
+ version: z.ZodString;
944
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
945
+ name: z.ZodString;
946
+ version: z.ZodString;
947
+ }, z.ZodTypeAny, "passthrough">>;
948
+ createdAt: z.ZodString;
949
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
950
+ integrity: z.ZodString;
951
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
952
+ triangle: z.ZodEffects<z.ZodObject<{
953
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
954
+ cumulative: z.ZodBoolean;
955
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
956
+ origins: z.ZodArray<z.ZodObject<{
957
+ label: z.ZodString;
958
+ start: z.ZodString;
959
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
960
+ label: z.ZodString;
961
+ start: z.ZodString;
962
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
963
+ label: z.ZodString;
964
+ start: z.ZodString;
965
+ }, z.ZodTypeAny, "passthrough">>, "many">;
966
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
967
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
968
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
969
+ valuesRef: z.ZodOptional<z.ZodObject<{
970
+ format: z.ZodLiteral<"arrow">;
971
+ path: z.ZodString;
972
+ sha256: z.ZodString;
973
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
974
+ format: z.ZodLiteral<"arrow">;
975
+ path: z.ZodString;
976
+ sha256: z.ZodString;
977
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
978
+ format: z.ZodLiteral<"arrow">;
979
+ path: z.ZodString;
980
+ sha256: z.ZodString;
981
+ }, z.ZodTypeAny, "passthrough">>>;
982
+ valuationDate: z.ZodString;
983
+ basis: z.ZodOptional<z.ZodObject<{
984
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
985
+ laeTreatment: z.ZodOptional<z.ZodString>;
986
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
987
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
988
+ laeTreatment: z.ZodOptional<z.ZodString>;
989
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
990
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
991
+ laeTreatment: z.ZodOptional<z.ZodString>;
992
+ }, z.ZodTypeAny, "passthrough">>>;
993
+ units: z.ZodOptional<z.ZodObject<{
994
+ currency: z.ZodOptional<z.ZodString>;
995
+ scale: z.ZodOptional<z.ZodNumber>;
996
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
997
+ currency: z.ZodOptional<z.ZodString>;
998
+ scale: z.ZodOptional<z.ZodNumber>;
999
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1000
+ currency: z.ZodOptional<z.ZodString>;
1001
+ scale: z.ZodOptional<z.ZodNumber>;
1002
+ }, z.ZodTypeAny, "passthrough">>>;
1003
+ segment: z.ZodOptional<z.ZodObject<{
1004
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1005
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1006
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1007
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1008
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1009
+ }, z.ZodTypeAny, "passthrough">>>;
1010
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1011
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
1012
+ cumulative: z.ZodBoolean;
1013
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
1014
+ origins: z.ZodArray<z.ZodObject<{
1015
+ label: z.ZodString;
1016
+ start: z.ZodString;
1017
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1018
+ label: z.ZodString;
1019
+ start: z.ZodString;
1020
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1021
+ label: z.ZodString;
1022
+ start: z.ZodString;
1023
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1024
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
1025
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
1026
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
1027
+ valuesRef: z.ZodOptional<z.ZodObject<{
1028
+ format: z.ZodLiteral<"arrow">;
1029
+ path: z.ZodString;
1030
+ sha256: z.ZodString;
1031
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1032
+ format: z.ZodLiteral<"arrow">;
1033
+ path: z.ZodString;
1034
+ sha256: z.ZodString;
1035
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1036
+ format: z.ZodLiteral<"arrow">;
1037
+ path: z.ZodString;
1038
+ sha256: z.ZodString;
1039
+ }, z.ZodTypeAny, "passthrough">>>;
1040
+ valuationDate: z.ZodString;
1041
+ basis: z.ZodOptional<z.ZodObject<{
1042
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1043
+ laeTreatment: z.ZodOptional<z.ZodString>;
1044
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1045
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1046
+ laeTreatment: z.ZodOptional<z.ZodString>;
1047
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1048
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1049
+ laeTreatment: z.ZodOptional<z.ZodString>;
1050
+ }, z.ZodTypeAny, "passthrough">>>;
1051
+ units: z.ZodOptional<z.ZodObject<{
1052
+ currency: z.ZodOptional<z.ZodString>;
1053
+ scale: z.ZodOptional<z.ZodNumber>;
1054
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1055
+ currency: z.ZodOptional<z.ZodString>;
1056
+ scale: z.ZodOptional<z.ZodNumber>;
1057
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1058
+ currency: z.ZodOptional<z.ZodString>;
1059
+ scale: z.ZodOptional<z.ZodNumber>;
1060
+ }, z.ZodTypeAny, "passthrough">>>;
1061
+ segment: z.ZodOptional<z.ZodObject<{
1062
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1063
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1064
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1065
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1066
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1067
+ }, z.ZodTypeAny, "passthrough">>>;
1068
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1069
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
1070
+ cumulative: z.ZodBoolean;
1071
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
1072
+ origins: z.ZodArray<z.ZodObject<{
1073
+ label: z.ZodString;
1074
+ start: z.ZodString;
1075
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1076
+ label: z.ZodString;
1077
+ start: z.ZodString;
1078
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1079
+ label: z.ZodString;
1080
+ start: z.ZodString;
1081
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1082
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
1083
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
1084
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
1085
+ valuesRef: z.ZodOptional<z.ZodObject<{
1086
+ format: z.ZodLiteral<"arrow">;
1087
+ path: z.ZodString;
1088
+ sha256: z.ZodString;
1089
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1090
+ format: z.ZodLiteral<"arrow">;
1091
+ path: z.ZodString;
1092
+ sha256: z.ZodString;
1093
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1094
+ format: z.ZodLiteral<"arrow">;
1095
+ path: z.ZodString;
1096
+ sha256: z.ZodString;
1097
+ }, z.ZodTypeAny, "passthrough">>>;
1098
+ valuationDate: z.ZodString;
1099
+ basis: z.ZodOptional<z.ZodObject<{
1100
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1101
+ laeTreatment: z.ZodOptional<z.ZodString>;
1102
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1103
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1104
+ laeTreatment: z.ZodOptional<z.ZodString>;
1105
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1106
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1107
+ laeTreatment: z.ZodOptional<z.ZodString>;
1108
+ }, z.ZodTypeAny, "passthrough">>>;
1109
+ units: z.ZodOptional<z.ZodObject<{
1110
+ currency: z.ZodOptional<z.ZodString>;
1111
+ scale: z.ZodOptional<z.ZodNumber>;
1112
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1113
+ currency: z.ZodOptional<z.ZodString>;
1114
+ scale: z.ZodOptional<z.ZodNumber>;
1115
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1116
+ currency: z.ZodOptional<z.ZodString>;
1117
+ scale: z.ZodOptional<z.ZodNumber>;
1118
+ }, z.ZodTypeAny, "passthrough">>>;
1119
+ segment: z.ZodOptional<z.ZodObject<{
1120
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1121
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1122
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1123
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1124
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1125
+ }, z.ZodTypeAny, "passthrough">>>;
1126
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
1127
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
1128
+ cumulative: z.ZodBoolean;
1129
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
1130
+ origins: z.ZodArray<z.ZodObject<{
1131
+ label: z.ZodString;
1132
+ start: z.ZodString;
1133
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1134
+ label: z.ZodString;
1135
+ start: z.ZodString;
1136
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1137
+ label: z.ZodString;
1138
+ start: z.ZodString;
1139
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1140
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
1141
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
1142
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
1143
+ valuesRef: z.ZodOptional<z.ZodObject<{
1144
+ format: z.ZodLiteral<"arrow">;
1145
+ path: z.ZodString;
1146
+ sha256: z.ZodString;
1147
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1148
+ format: z.ZodLiteral<"arrow">;
1149
+ path: z.ZodString;
1150
+ sha256: z.ZodString;
1151
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1152
+ format: z.ZodLiteral<"arrow">;
1153
+ path: z.ZodString;
1154
+ sha256: z.ZodString;
1155
+ }, z.ZodTypeAny, "passthrough">>>;
1156
+ valuationDate: z.ZodString;
1157
+ basis: z.ZodOptional<z.ZodObject<{
1158
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1159
+ laeTreatment: z.ZodOptional<z.ZodString>;
1160
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1161
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1162
+ laeTreatment: z.ZodOptional<z.ZodString>;
1163
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1164
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1165
+ laeTreatment: z.ZodOptional<z.ZodString>;
1166
+ }, z.ZodTypeAny, "passthrough">>>;
1167
+ units: z.ZodOptional<z.ZodObject<{
1168
+ currency: z.ZodOptional<z.ZodString>;
1169
+ scale: z.ZodOptional<z.ZodNumber>;
1170
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1171
+ currency: z.ZodOptional<z.ZodString>;
1172
+ scale: z.ZodOptional<z.ZodNumber>;
1173
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1174
+ currency: z.ZodOptional<z.ZodString>;
1175
+ scale: z.ZodOptional<z.ZodNumber>;
1176
+ }, z.ZodTypeAny, "passthrough">>>;
1177
+ segment: z.ZodOptional<z.ZodObject<{
1178
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1179
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1180
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1181
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1182
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1183
+ }, z.ZodTypeAny, "passthrough">>>;
1184
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1185
+ measure: z.ZodUnion<[z.ZodEnum<["paid", "incurred", "caseReserve", "reportedCount", "openCount", "closedCount", "closedWithPayCount", "earnedPremium"]>, z.ZodString]>;
1186
+ cumulative: z.ZodBoolean;
1187
+ originLengthMonths: z.ZodUnion<[z.ZodLiteral<12>, z.ZodLiteral<6>, z.ZodLiteral<3>, z.ZodLiteral<1>]>;
1188
+ origins: z.ZodArray<z.ZodObject<{
1189
+ label: z.ZodString;
1190
+ start: z.ZodString;
1191
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1192
+ label: z.ZodString;
1193
+ start: z.ZodString;
1194
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1195
+ label: z.ZodString;
1196
+ start: z.ZodString;
1197
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1198
+ agesMonths: z.ZodArray<z.ZodNumber, "many">;
1199
+ /** values[originIndex][ageIndex]; null = not yet observable / missing. */
1200
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, "many">>;
1201
+ valuesRef: z.ZodOptional<z.ZodObject<{
1202
+ format: z.ZodLiteral<"arrow">;
1203
+ path: z.ZodString;
1204
+ sha256: z.ZodString;
1205
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1206
+ format: z.ZodLiteral<"arrow">;
1207
+ path: z.ZodString;
1208
+ sha256: z.ZodString;
1209
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1210
+ format: z.ZodLiteral<"arrow">;
1211
+ path: z.ZodString;
1212
+ sha256: z.ZodString;
1213
+ }, z.ZodTypeAny, "passthrough">>>;
1214
+ valuationDate: z.ZodString;
1215
+ basis: z.ZodOptional<z.ZodObject<{
1216
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1217
+ laeTreatment: z.ZodOptional<z.ZodString>;
1218
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1219
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1220
+ laeTreatment: z.ZodOptional<z.ZodString>;
1221
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1222
+ grossNet: z.ZodOptional<z.ZodEnum<["gross", "net"]>>;
1223
+ laeTreatment: z.ZodOptional<z.ZodString>;
1224
+ }, z.ZodTypeAny, "passthrough">>>;
1225
+ units: z.ZodOptional<z.ZodObject<{
1226
+ currency: z.ZodOptional<z.ZodString>;
1227
+ scale: z.ZodOptional<z.ZodNumber>;
1228
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1229
+ currency: z.ZodOptional<z.ZodString>;
1230
+ scale: z.ZodOptional<z.ZodNumber>;
1231
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1232
+ currency: z.ZodOptional<z.ZodString>;
1233
+ scale: z.ZodOptional<z.ZodNumber>;
1234
+ }, z.ZodTypeAny, "passthrough">>>;
1235
+ segment: z.ZodOptional<z.ZodObject<{
1236
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1237
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1238
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1239
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1240
+ labels: z.ZodRecord<z.ZodString, z.ZodString>;
1241
+ }, z.ZodTypeAny, "passthrough">>>;
1242
+ }, z.ZodTypeAny, "passthrough">>;
1243
+ interchangeVersion: z.ZodString;
1244
+ kind: z.ZodLiteral<"triangle">;
1245
+ generator: z.ZodObject<{
1246
+ name: z.ZodString;
1247
+ version: z.ZodString;
1248
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1249
+ name: z.ZodString;
1250
+ version: z.ZodString;
1251
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1252
+ name: z.ZodString;
1253
+ version: z.ZodString;
1254
+ }, z.ZodTypeAny, "passthrough">>;
1255
+ createdAt: z.ZodString;
1256
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1257
+ integrity: z.ZodString;
1258
+ }, z.ZodTypeAny, "passthrough">>;
1259
+ export type TriangleDoc = z.infer<typeof triangleDocSchema>;
1260
+ //# sourceMappingURL=triangle.d.ts.map