@pixerate/schemas 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2235,5 +2235,1659 @@ declare const QueueJobSchema: z.ZodObject<{
2235
2235
  payload?: Record<string, any> | undefined;
2236
2236
  }>;
2237
2237
  type QueueJob = z.infer<typeof QueueJobSchema>;
2238
+ declare const ConditionOperatorSchema: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
2239
+ type ConditionOperator = z.infer<typeof ConditionOperatorSchema>;
2240
+ declare const ConditionSchema: z.ZodObject<{
2241
+ field: z.ZodOptional<z.ZodString>;
2242
+ fieldId: z.ZodOptional<z.ZodString>;
2243
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
2244
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2245
+ }, "strip", z.ZodTypeAny, {
2246
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2247
+ value?: string | number | boolean | undefined;
2248
+ field?: string | undefined;
2249
+ fieldId?: string | undefined;
2250
+ }, {
2251
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2252
+ value?: string | number | boolean | undefined;
2253
+ field?: string | undefined;
2254
+ fieldId?: string | undefined;
2255
+ }>;
2256
+ type Condition = z.infer<typeof ConditionSchema>;
2257
+ declare const ControlValidationSchema: z.ZodObject<{
2258
+ min: z.ZodOptional<z.ZodNumber>;
2259
+ max: z.ZodOptional<z.ZodNumber>;
2260
+ minLength: z.ZodOptional<z.ZodNumber>;
2261
+ maxLength: z.ZodOptional<z.ZodNumber>;
2262
+ pattern: z.ZodOptional<z.ZodString>;
2263
+ message: z.ZodOptional<z.ZodString>;
2264
+ unit: z.ZodOptional<z.ZodString>;
2265
+ }, "strip", z.ZodTypeAny, {
2266
+ message?: string | undefined;
2267
+ min?: number | undefined;
2268
+ max?: number | undefined;
2269
+ minLength?: number | undefined;
2270
+ maxLength?: number | undefined;
2271
+ pattern?: string | undefined;
2272
+ unit?: string | undefined;
2273
+ }, {
2274
+ message?: string | undefined;
2275
+ min?: number | undefined;
2276
+ max?: number | undefined;
2277
+ minLength?: number | undefined;
2278
+ maxLength?: number | undefined;
2279
+ pattern?: string | undefined;
2280
+ unit?: string | undefined;
2281
+ }>;
2282
+ type ControlValidation = z.infer<typeof ControlValidationSchema>;
2283
+ declare const FormOptionSchema: z.ZodObject<{
2284
+ label: z.ZodString;
2285
+ value: z.ZodString;
2286
+ }, "strip", z.ZodTypeAny, {
2287
+ value: string;
2288
+ label: string;
2289
+ }, {
2290
+ value: string;
2291
+ label: string;
2292
+ }>;
2293
+ type FormOption = z.infer<typeof FormOptionSchema>;
2294
+ declare const ReferenceDataSourceSchema: z.ZodEnum<["companies", "users"]>;
2295
+ type ReferenceDataSource = z.infer<typeof ReferenceDataSourceSchema>;
2296
+ declare const FormControlTypeSchema: z.ZodEnum<["text", "textarea", "number", "select", "multiselect", "radio", "checkbox", "date", "file", "company", "user", "slider", "computed", "repeater"]>;
2297
+ type FormControlType = z.infer<typeof FormControlTypeSchema>;
2298
+ type FormControl = {
2299
+ id: string;
2300
+ type: FormControlType;
2301
+ label: string;
2302
+ description?: string;
2303
+ helperText?: string;
2304
+ placeholder?: string;
2305
+ required?: boolean;
2306
+ defaultValue?: any;
2307
+ options?: FormOption[];
2308
+ dataSource?: ReferenceDataSource;
2309
+ validation?: ControlValidation;
2310
+ pattern?: string;
2311
+ min?: number;
2312
+ max?: number;
2313
+ step?: number;
2314
+ minItems?: number;
2315
+ maxItems?: number;
2316
+ formula?: string;
2317
+ computed?: {
2318
+ formula?: string;
2319
+ };
2320
+ visibleWhen?: Condition;
2321
+ condition?: Condition;
2322
+ itemControls?: FormControl[];
2323
+ controls?: FormControl[];
2324
+ };
2325
+ declare const FormControlSchema: z.ZodType<FormControl>;
2326
+ declare const FormSectionSchema: z.ZodObject<{
2327
+ id: z.ZodString;
2328
+ title: z.ZodString;
2329
+ description: z.ZodOptional<z.ZodString>;
2330
+ controls: z.ZodArray<z.ZodType<FormControl, z.ZodTypeDef, FormControl>, "many">;
2331
+ visibleWhen: z.ZodOptional<z.ZodObject<{
2332
+ field: z.ZodOptional<z.ZodString>;
2333
+ fieldId: z.ZodOptional<z.ZodString>;
2334
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
2335
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2336
+ }, "strip", z.ZodTypeAny, {
2337
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2338
+ value?: string | number | boolean | undefined;
2339
+ field?: string | undefined;
2340
+ fieldId?: string | undefined;
2341
+ }, {
2342
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2343
+ value?: string | number | boolean | undefined;
2344
+ field?: string | undefined;
2345
+ fieldId?: string | undefined;
2346
+ }>>;
2347
+ condition: z.ZodOptional<z.ZodObject<{
2348
+ field: z.ZodOptional<z.ZodString>;
2349
+ fieldId: z.ZodOptional<z.ZodString>;
2350
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
2351
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2352
+ }, "strip", z.ZodTypeAny, {
2353
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2354
+ value?: string | number | boolean | undefined;
2355
+ field?: string | undefined;
2356
+ fieldId?: string | undefined;
2357
+ }, {
2358
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2359
+ value?: string | number | boolean | undefined;
2360
+ field?: string | undefined;
2361
+ fieldId?: string | undefined;
2362
+ }>>;
2363
+ }, "strip", z.ZodTypeAny, {
2364
+ title: string;
2365
+ id: string;
2366
+ controls: FormControl[];
2367
+ description?: string | undefined;
2368
+ visibleWhen?: {
2369
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2370
+ value?: string | number | boolean | undefined;
2371
+ field?: string | undefined;
2372
+ fieldId?: string | undefined;
2373
+ } | undefined;
2374
+ condition?: {
2375
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2376
+ value?: string | number | boolean | undefined;
2377
+ field?: string | undefined;
2378
+ fieldId?: string | undefined;
2379
+ } | undefined;
2380
+ }, {
2381
+ title: string;
2382
+ id: string;
2383
+ controls: FormControl[];
2384
+ description?: string | undefined;
2385
+ visibleWhen?: {
2386
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2387
+ value?: string | number | boolean | undefined;
2388
+ field?: string | undefined;
2389
+ fieldId?: string | undefined;
2390
+ } | undefined;
2391
+ condition?: {
2392
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2393
+ value?: string | number | boolean | undefined;
2394
+ field?: string | undefined;
2395
+ fieldId?: string | undefined;
2396
+ } | undefined;
2397
+ }>;
2398
+ type FormSection = z.infer<typeof FormSectionSchema>;
2399
+ declare const FormStageSchema: z.ZodObject<{
2400
+ id: z.ZodString;
2401
+ title: z.ZodString;
2402
+ description: z.ZodOptional<z.ZodString>;
2403
+ sections: z.ZodArray<z.ZodObject<{
2404
+ id: z.ZodString;
2405
+ title: z.ZodString;
2406
+ description: z.ZodOptional<z.ZodString>;
2407
+ controls: z.ZodArray<z.ZodType<FormControl, z.ZodTypeDef, FormControl>, "many">;
2408
+ visibleWhen: z.ZodOptional<z.ZodObject<{
2409
+ field: z.ZodOptional<z.ZodString>;
2410
+ fieldId: z.ZodOptional<z.ZodString>;
2411
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
2412
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2413
+ }, "strip", z.ZodTypeAny, {
2414
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2415
+ value?: string | number | boolean | undefined;
2416
+ field?: string | undefined;
2417
+ fieldId?: string | undefined;
2418
+ }, {
2419
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2420
+ value?: string | number | boolean | undefined;
2421
+ field?: string | undefined;
2422
+ fieldId?: string | undefined;
2423
+ }>>;
2424
+ condition: z.ZodOptional<z.ZodObject<{
2425
+ field: z.ZodOptional<z.ZodString>;
2426
+ fieldId: z.ZodOptional<z.ZodString>;
2427
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
2428
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2429
+ }, "strip", z.ZodTypeAny, {
2430
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2431
+ value?: string | number | boolean | undefined;
2432
+ field?: string | undefined;
2433
+ fieldId?: string | undefined;
2434
+ }, {
2435
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2436
+ value?: string | number | boolean | undefined;
2437
+ field?: string | undefined;
2438
+ fieldId?: string | undefined;
2439
+ }>>;
2440
+ }, "strip", z.ZodTypeAny, {
2441
+ title: string;
2442
+ id: string;
2443
+ controls: FormControl[];
2444
+ description?: string | undefined;
2445
+ visibleWhen?: {
2446
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2447
+ value?: string | number | boolean | undefined;
2448
+ field?: string | undefined;
2449
+ fieldId?: string | undefined;
2450
+ } | undefined;
2451
+ condition?: {
2452
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2453
+ value?: string | number | boolean | undefined;
2454
+ field?: string | undefined;
2455
+ fieldId?: string | undefined;
2456
+ } | undefined;
2457
+ }, {
2458
+ title: string;
2459
+ id: string;
2460
+ controls: FormControl[];
2461
+ description?: string | undefined;
2462
+ visibleWhen?: {
2463
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2464
+ value?: string | number | boolean | undefined;
2465
+ field?: string | undefined;
2466
+ fieldId?: string | undefined;
2467
+ } | undefined;
2468
+ condition?: {
2469
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2470
+ value?: string | number | boolean | undefined;
2471
+ field?: string | undefined;
2472
+ fieldId?: string | undefined;
2473
+ } | undefined;
2474
+ }>, "many">;
2475
+ gate: z.ZodOptional<z.ZodString>;
2476
+ }, "strip", z.ZodTypeAny, {
2477
+ title: string;
2478
+ id: string;
2479
+ sections: {
2480
+ title: string;
2481
+ id: string;
2482
+ controls: FormControl[];
2483
+ description?: string | undefined;
2484
+ visibleWhen?: {
2485
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2486
+ value?: string | number | boolean | undefined;
2487
+ field?: string | undefined;
2488
+ fieldId?: string | undefined;
2489
+ } | undefined;
2490
+ condition?: {
2491
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2492
+ value?: string | number | boolean | undefined;
2493
+ field?: string | undefined;
2494
+ fieldId?: string | undefined;
2495
+ } | undefined;
2496
+ }[];
2497
+ description?: string | undefined;
2498
+ gate?: string | undefined;
2499
+ }, {
2500
+ title: string;
2501
+ id: string;
2502
+ sections: {
2503
+ title: string;
2504
+ id: string;
2505
+ controls: FormControl[];
2506
+ description?: string | undefined;
2507
+ visibleWhen?: {
2508
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2509
+ value?: string | number | boolean | undefined;
2510
+ field?: string | undefined;
2511
+ fieldId?: string | undefined;
2512
+ } | undefined;
2513
+ condition?: {
2514
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2515
+ value?: string | number | boolean | undefined;
2516
+ field?: string | undefined;
2517
+ fieldId?: string | undefined;
2518
+ } | undefined;
2519
+ }[];
2520
+ description?: string | undefined;
2521
+ gate?: string | undefined;
2522
+ }>;
2523
+ type FormStage = z.infer<typeof FormStageSchema>;
2524
+ declare const DecisionGateKindSchema: z.ZodEnum<["approval", "review", "decision"]>;
2525
+ type DecisionGateKind = z.infer<typeof DecisionGateKindSchema>;
2526
+ declare const DecisionGateSchema: z.ZodObject<{
2527
+ id: z.ZodString;
2528
+ title: z.ZodString;
2529
+ description: z.ZodOptional<z.ZodString>;
2530
+ stageId: z.ZodString;
2531
+ kind: z.ZodOptional<z.ZodEnum<["approval", "review", "decision"]>>;
2532
+ trigger: z.ZodOptional<z.ZodString>;
2533
+ requiredAction: z.ZodOptional<z.ZodString>;
2534
+ consequence: z.ZodOptional<z.ZodString>;
2535
+ condition: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2536
+ field: z.ZodOptional<z.ZodString>;
2537
+ fieldId: z.ZodOptional<z.ZodString>;
2538
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
2539
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2540
+ }, "strip", z.ZodTypeAny, {
2541
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2542
+ value?: string | number | boolean | undefined;
2543
+ field?: string | undefined;
2544
+ fieldId?: string | undefined;
2545
+ }, {
2546
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2547
+ value?: string | number | boolean | undefined;
2548
+ field?: string | undefined;
2549
+ fieldId?: string | undefined;
2550
+ }>, z.ZodString]>>;
2551
+ blocking: z.ZodBoolean;
2552
+ reviewerRole: z.ZodOptional<z.ZodString>;
2553
+ }, "strip", z.ZodTypeAny, {
2554
+ title: string;
2555
+ id: string;
2556
+ stageId: string;
2557
+ blocking: boolean;
2558
+ description?: string | undefined;
2559
+ condition?: string | {
2560
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2561
+ value?: string | number | boolean | undefined;
2562
+ field?: string | undefined;
2563
+ fieldId?: string | undefined;
2564
+ } | undefined;
2565
+ kind?: "approval" | "review" | "decision" | undefined;
2566
+ trigger?: string | undefined;
2567
+ requiredAction?: string | undefined;
2568
+ consequence?: string | undefined;
2569
+ reviewerRole?: string | undefined;
2570
+ }, {
2571
+ title: string;
2572
+ id: string;
2573
+ stageId: string;
2574
+ blocking: boolean;
2575
+ description?: string | undefined;
2576
+ condition?: string | {
2577
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
2578
+ value?: string | number | boolean | undefined;
2579
+ field?: string | undefined;
2580
+ fieldId?: string | undefined;
2581
+ } | undefined;
2582
+ kind?: "approval" | "review" | "decision" | undefined;
2583
+ trigger?: string | undefined;
2584
+ requiredAction?: string | undefined;
2585
+ consequence?: string | undefined;
2586
+ reviewerRole?: string | undefined;
2587
+ }>;
2588
+ type DecisionGate = z.infer<typeof DecisionGateSchema>;
2589
+ declare const ScoringRuleSchema: z.ZodObject<{
2590
+ field: z.ZodString;
2591
+ optionPoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2592
+ ranges: z.ZodOptional<z.ZodArray<z.ZodObject<{
2593
+ min: z.ZodOptional<z.ZodNumber>;
2594
+ max: z.ZodOptional<z.ZodNumber>;
2595
+ points: z.ZodNumber;
2596
+ }, "strip", z.ZodTypeAny, {
2597
+ points: number;
2598
+ min?: number | undefined;
2599
+ max?: number | undefined;
2600
+ }, {
2601
+ points: number;
2602
+ min?: number | undefined;
2603
+ max?: number | undefined;
2604
+ }>, "many">>;
2605
+ multiplier: z.ZodOptional<z.ZodNumber>;
2606
+ truePoints: z.ZodOptional<z.ZodNumber>;
2607
+ falsePoints: z.ZodOptional<z.ZodNumber>;
2608
+ }, "strip", z.ZodTypeAny, {
2609
+ field: string;
2610
+ optionPoints?: Record<string, number> | undefined;
2611
+ ranges?: {
2612
+ points: number;
2613
+ min?: number | undefined;
2614
+ max?: number | undefined;
2615
+ }[] | undefined;
2616
+ multiplier?: number | undefined;
2617
+ truePoints?: number | undefined;
2618
+ falsePoints?: number | undefined;
2619
+ }, {
2620
+ field: string;
2621
+ optionPoints?: Record<string, number> | undefined;
2622
+ ranges?: {
2623
+ points: number;
2624
+ min?: number | undefined;
2625
+ max?: number | undefined;
2626
+ }[] | undefined;
2627
+ multiplier?: number | undefined;
2628
+ truePoints?: number | undefined;
2629
+ falsePoints?: number | undefined;
2630
+ }>;
2631
+ type ScoringRule = z.infer<typeof ScoringRuleSchema>;
2632
+ declare const ScoringDimensionSchema: z.ZodObject<{
2633
+ id: z.ZodString;
2634
+ label: z.ZodString;
2635
+ description: z.ZodOptional<z.ZodString>;
2636
+ weight: z.ZodOptional<z.ZodNumber>;
2637
+ rules: z.ZodArray<z.ZodObject<{
2638
+ field: z.ZodString;
2639
+ optionPoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2640
+ ranges: z.ZodOptional<z.ZodArray<z.ZodObject<{
2641
+ min: z.ZodOptional<z.ZodNumber>;
2642
+ max: z.ZodOptional<z.ZodNumber>;
2643
+ points: z.ZodNumber;
2644
+ }, "strip", z.ZodTypeAny, {
2645
+ points: number;
2646
+ min?: number | undefined;
2647
+ max?: number | undefined;
2648
+ }, {
2649
+ points: number;
2650
+ min?: number | undefined;
2651
+ max?: number | undefined;
2652
+ }>, "many">>;
2653
+ multiplier: z.ZodOptional<z.ZodNumber>;
2654
+ truePoints: z.ZodOptional<z.ZodNumber>;
2655
+ falsePoints: z.ZodOptional<z.ZodNumber>;
2656
+ }, "strip", z.ZodTypeAny, {
2657
+ field: string;
2658
+ optionPoints?: Record<string, number> | undefined;
2659
+ ranges?: {
2660
+ points: number;
2661
+ min?: number | undefined;
2662
+ max?: number | undefined;
2663
+ }[] | undefined;
2664
+ multiplier?: number | undefined;
2665
+ truePoints?: number | undefined;
2666
+ falsePoints?: number | undefined;
2667
+ }, {
2668
+ field: string;
2669
+ optionPoints?: Record<string, number> | undefined;
2670
+ ranges?: {
2671
+ points: number;
2672
+ min?: number | undefined;
2673
+ max?: number | undefined;
2674
+ }[] | undefined;
2675
+ multiplier?: number | undefined;
2676
+ truePoints?: number | undefined;
2677
+ falsePoints?: number | undefined;
2678
+ }>, "many">;
2679
+ }, "strip", z.ZodTypeAny, {
2680
+ id: string;
2681
+ label: string;
2682
+ rules: {
2683
+ field: string;
2684
+ optionPoints?: Record<string, number> | undefined;
2685
+ ranges?: {
2686
+ points: number;
2687
+ min?: number | undefined;
2688
+ max?: number | undefined;
2689
+ }[] | undefined;
2690
+ multiplier?: number | undefined;
2691
+ truePoints?: number | undefined;
2692
+ falsePoints?: number | undefined;
2693
+ }[];
2694
+ description?: string | undefined;
2695
+ weight?: number | undefined;
2696
+ }, {
2697
+ id: string;
2698
+ label: string;
2699
+ rules: {
2700
+ field: string;
2701
+ optionPoints?: Record<string, number> | undefined;
2702
+ ranges?: {
2703
+ points: number;
2704
+ min?: number | undefined;
2705
+ max?: number | undefined;
2706
+ }[] | undefined;
2707
+ multiplier?: number | undefined;
2708
+ truePoints?: number | undefined;
2709
+ falsePoints?: number | undefined;
2710
+ }[];
2711
+ description?: string | undefined;
2712
+ weight?: number | undefined;
2713
+ }>;
2714
+ type ScoringDimension = z.infer<typeof ScoringDimensionSchema>;
2715
+ declare const ScoreBandSchema: z.ZodObject<{
2716
+ id: z.ZodString;
2717
+ label: z.ZodString;
2718
+ min: z.ZodNumber;
2719
+ max: z.ZodOptional<z.ZodNumber>;
2720
+ }, "strip", z.ZodTypeAny, {
2721
+ id: string;
2722
+ min: number;
2723
+ label: string;
2724
+ max?: number | undefined;
2725
+ }, {
2726
+ id: string;
2727
+ min: number;
2728
+ label: string;
2729
+ max?: number | undefined;
2730
+ }>;
2731
+ type ScoreBand = z.infer<typeof ScoreBandSchema>;
2732
+ declare const ScoringConfigSchema: z.ZodObject<{
2733
+ description: z.ZodOptional<z.ZodString>;
2734
+ dimensions: z.ZodArray<z.ZodObject<{
2735
+ id: z.ZodString;
2736
+ label: z.ZodString;
2737
+ description: z.ZodOptional<z.ZodString>;
2738
+ weight: z.ZodOptional<z.ZodNumber>;
2739
+ rules: z.ZodArray<z.ZodObject<{
2740
+ field: z.ZodString;
2741
+ optionPoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2742
+ ranges: z.ZodOptional<z.ZodArray<z.ZodObject<{
2743
+ min: z.ZodOptional<z.ZodNumber>;
2744
+ max: z.ZodOptional<z.ZodNumber>;
2745
+ points: z.ZodNumber;
2746
+ }, "strip", z.ZodTypeAny, {
2747
+ points: number;
2748
+ min?: number | undefined;
2749
+ max?: number | undefined;
2750
+ }, {
2751
+ points: number;
2752
+ min?: number | undefined;
2753
+ max?: number | undefined;
2754
+ }>, "many">>;
2755
+ multiplier: z.ZodOptional<z.ZodNumber>;
2756
+ truePoints: z.ZodOptional<z.ZodNumber>;
2757
+ falsePoints: z.ZodOptional<z.ZodNumber>;
2758
+ }, "strip", z.ZodTypeAny, {
2759
+ field: string;
2760
+ optionPoints?: Record<string, number> | undefined;
2761
+ ranges?: {
2762
+ points: number;
2763
+ min?: number | undefined;
2764
+ max?: number | undefined;
2765
+ }[] | undefined;
2766
+ multiplier?: number | undefined;
2767
+ truePoints?: number | undefined;
2768
+ falsePoints?: number | undefined;
2769
+ }, {
2770
+ field: string;
2771
+ optionPoints?: Record<string, number> | undefined;
2772
+ ranges?: {
2773
+ points: number;
2774
+ min?: number | undefined;
2775
+ max?: number | undefined;
2776
+ }[] | undefined;
2777
+ multiplier?: number | undefined;
2778
+ truePoints?: number | undefined;
2779
+ falsePoints?: number | undefined;
2780
+ }>, "many">;
2781
+ }, "strip", z.ZodTypeAny, {
2782
+ id: string;
2783
+ label: string;
2784
+ rules: {
2785
+ field: string;
2786
+ optionPoints?: Record<string, number> | undefined;
2787
+ ranges?: {
2788
+ points: number;
2789
+ min?: number | undefined;
2790
+ max?: number | undefined;
2791
+ }[] | undefined;
2792
+ multiplier?: number | undefined;
2793
+ truePoints?: number | undefined;
2794
+ falsePoints?: number | undefined;
2795
+ }[];
2796
+ description?: string | undefined;
2797
+ weight?: number | undefined;
2798
+ }, {
2799
+ id: string;
2800
+ label: string;
2801
+ rules: {
2802
+ field: string;
2803
+ optionPoints?: Record<string, number> | undefined;
2804
+ ranges?: {
2805
+ points: number;
2806
+ min?: number | undefined;
2807
+ max?: number | undefined;
2808
+ }[] | undefined;
2809
+ multiplier?: number | undefined;
2810
+ truePoints?: number | undefined;
2811
+ falsePoints?: number | undefined;
2812
+ }[];
2813
+ description?: string | undefined;
2814
+ weight?: number | undefined;
2815
+ }>, "many">;
2816
+ bands: z.ZodOptional<z.ZodArray<z.ZodObject<{
2817
+ id: z.ZodString;
2818
+ label: z.ZodString;
2819
+ min: z.ZodNumber;
2820
+ max: z.ZodOptional<z.ZodNumber>;
2821
+ }, "strip", z.ZodTypeAny, {
2822
+ id: string;
2823
+ min: number;
2824
+ label: string;
2825
+ max?: number | undefined;
2826
+ }, {
2827
+ id: string;
2828
+ min: number;
2829
+ label: string;
2830
+ max?: number | undefined;
2831
+ }>, "many">>;
2832
+ }, "strip", z.ZodTypeAny, {
2833
+ dimensions: {
2834
+ id: string;
2835
+ label: string;
2836
+ rules: {
2837
+ field: string;
2838
+ optionPoints?: Record<string, number> | undefined;
2839
+ ranges?: {
2840
+ points: number;
2841
+ min?: number | undefined;
2842
+ max?: number | undefined;
2843
+ }[] | undefined;
2844
+ multiplier?: number | undefined;
2845
+ truePoints?: number | undefined;
2846
+ falsePoints?: number | undefined;
2847
+ }[];
2848
+ description?: string | undefined;
2849
+ weight?: number | undefined;
2850
+ }[];
2851
+ description?: string | undefined;
2852
+ bands?: {
2853
+ id: string;
2854
+ min: number;
2855
+ label: string;
2856
+ max?: number | undefined;
2857
+ }[] | undefined;
2858
+ }, {
2859
+ dimensions: {
2860
+ id: string;
2861
+ label: string;
2862
+ rules: {
2863
+ field: string;
2864
+ optionPoints?: Record<string, number> | undefined;
2865
+ ranges?: {
2866
+ points: number;
2867
+ min?: number | undefined;
2868
+ max?: number | undefined;
2869
+ }[] | undefined;
2870
+ multiplier?: number | undefined;
2871
+ truePoints?: number | undefined;
2872
+ falsePoints?: number | undefined;
2873
+ }[];
2874
+ description?: string | undefined;
2875
+ weight?: number | undefined;
2876
+ }[];
2877
+ description?: string | undefined;
2878
+ bands?: {
2879
+ id: string;
2880
+ min: number;
2881
+ label: string;
2882
+ max?: number | undefined;
2883
+ }[] | undefined;
2884
+ }>;
2885
+ type ScoringConfig = z.infer<typeof ScoringConfigSchema>;
2886
+ declare const DimensionScoreSchema: z.ZodObject<{
2887
+ dimensionId: z.ZodString;
2888
+ label: z.ZodString;
2889
+ points: z.ZodNumber;
2890
+ weight: z.ZodNumber;
2891
+ weighted: z.ZodNumber;
2892
+ }, "strip", z.ZodTypeAny, {
2893
+ label: string;
2894
+ points: number;
2895
+ weight: number;
2896
+ dimensionId: string;
2897
+ weighted: number;
2898
+ }, {
2899
+ label: string;
2900
+ points: number;
2901
+ weight: number;
2902
+ dimensionId: string;
2903
+ weighted: number;
2904
+ }>;
2905
+ type DimensionScore = z.infer<typeof DimensionScoreSchema>;
2906
+ declare const SubmissionScoreSchema: z.ZodObject<{
2907
+ total: z.ZodNumber;
2908
+ dimensions: z.ZodArray<z.ZodObject<{
2909
+ dimensionId: z.ZodString;
2910
+ label: z.ZodString;
2911
+ points: z.ZodNumber;
2912
+ weight: z.ZodNumber;
2913
+ weighted: z.ZodNumber;
2914
+ }, "strip", z.ZodTypeAny, {
2915
+ label: string;
2916
+ points: number;
2917
+ weight: number;
2918
+ dimensionId: string;
2919
+ weighted: number;
2920
+ }, {
2921
+ label: string;
2922
+ points: number;
2923
+ weight: number;
2924
+ dimensionId: string;
2925
+ weighted: number;
2926
+ }>, "many">;
2927
+ band: z.ZodOptional<z.ZodObject<{
2928
+ id: z.ZodString;
2929
+ label: z.ZodString;
2930
+ }, "strip", z.ZodTypeAny, {
2931
+ id: string;
2932
+ label: string;
2933
+ }, {
2934
+ id: string;
2935
+ label: string;
2936
+ }>>;
2937
+ calculatedAt: z.ZodString;
2938
+ schemaVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
2939
+ }, "strip", z.ZodTypeAny, {
2940
+ dimensions: {
2941
+ label: string;
2942
+ points: number;
2943
+ weight: number;
2944
+ dimensionId: string;
2945
+ weighted: number;
2946
+ }[];
2947
+ total: number;
2948
+ calculatedAt: string;
2949
+ schemaVersion: string | number;
2950
+ band?: {
2951
+ id: string;
2952
+ label: string;
2953
+ } | undefined;
2954
+ }, {
2955
+ dimensions: {
2956
+ label: string;
2957
+ points: number;
2958
+ weight: number;
2959
+ dimensionId: string;
2960
+ weighted: number;
2961
+ }[];
2962
+ total: number;
2963
+ calculatedAt: string;
2964
+ schemaVersion: string | number;
2965
+ band?: {
2966
+ id: string;
2967
+ label: string;
2968
+ } | undefined;
2969
+ }>;
2970
+ type SubmissionScore = z.infer<typeof SubmissionScoreSchema>;
2971
+ declare const FormValidatorSchema: z.ZodObject<{
2972
+ id: z.ZodString;
2973
+ description: z.ZodOptional<z.ZodString>;
2974
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2975
+ severity: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warning"]>, z.ZodString]>>;
2976
+ type: z.ZodOptional<z.ZodString>;
2977
+ config: z.ZodOptional<z.ZodAny>;
2978
+ }, "strip", z.ZodTypeAny, {
2979
+ id: string;
2980
+ type?: string | undefined;
2981
+ description?: string | undefined;
2982
+ config?: any;
2983
+ fields?: string[] | undefined;
2984
+ severity?: string | undefined;
2985
+ }, {
2986
+ id: string;
2987
+ type?: string | undefined;
2988
+ description?: string | undefined;
2989
+ config?: any;
2990
+ fields?: string[] | undefined;
2991
+ severity?: string | undefined;
2992
+ }>;
2993
+ type FormValidator = z.infer<typeof FormValidatorSchema>;
2994
+ declare const FormHandoffActionSchema: z.ZodObject<{
2995
+ id: z.ZodOptional<z.ZodString>;
2996
+ label: z.ZodOptional<z.ZodString>;
2997
+ destination: z.ZodOptional<z.ZodString>;
2998
+ condition: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2999
+ field: z.ZodOptional<z.ZodString>;
3000
+ fieldId: z.ZodOptional<z.ZodString>;
3001
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
3002
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3003
+ }, "strip", z.ZodTypeAny, {
3004
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3005
+ value?: string | number | boolean | undefined;
3006
+ field?: string | undefined;
3007
+ fieldId?: string | undefined;
3008
+ }, {
3009
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3010
+ value?: string | number | boolean | undefined;
3011
+ field?: string | undefined;
3012
+ fieldId?: string | undefined;
3013
+ }>, z.ZodString]>>;
3014
+ payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3015
+ type: z.ZodOptional<z.ZodString>;
3016
+ config: z.ZodOptional<z.ZodAny>;
3017
+ }, "strip", z.ZodTypeAny, {
3018
+ type?: string | undefined;
3019
+ config?: any;
3020
+ id?: string | undefined;
3021
+ label?: string | undefined;
3022
+ condition?: string | {
3023
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3024
+ value?: string | number | boolean | undefined;
3025
+ field?: string | undefined;
3026
+ fieldId?: string | undefined;
3027
+ } | undefined;
3028
+ destination?: string | undefined;
3029
+ payloadFields?: string[] | undefined;
3030
+ }, {
3031
+ type?: string | undefined;
3032
+ config?: any;
3033
+ id?: string | undefined;
3034
+ label?: string | undefined;
3035
+ condition?: string | {
3036
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3037
+ value?: string | number | boolean | undefined;
3038
+ field?: string | undefined;
3039
+ fieldId?: string | undefined;
3040
+ } | undefined;
3041
+ destination?: string | undefined;
3042
+ payloadFields?: string[] | undefined;
3043
+ }>;
3044
+ type FormHandoffAction = z.infer<typeof FormHandoffActionSchema>;
3045
+ declare const FormReviewMetaSchema: z.ZodObject<{
3046
+ humanReviewRequired: z.ZodBoolean;
3047
+ reviewAreas: z.ZodArray<z.ZodString, "many">;
3048
+ }, "strip", z.ZodTypeAny, {
3049
+ humanReviewRequired: boolean;
3050
+ reviewAreas: string[];
3051
+ }, {
3052
+ humanReviewRequired: boolean;
3053
+ reviewAreas: string[];
3054
+ }>;
3055
+ type FormReviewMeta = z.infer<typeof FormReviewMetaSchema>;
3056
+ declare const TechnicalFormSchema: z.ZodObject<{
3057
+ id: z.ZodOptional<z.ZodString>;
3058
+ title: z.ZodOptional<z.ZodString>;
3059
+ description: z.ZodOptional<z.ZodString>;
3060
+ version: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
3061
+ stages: z.ZodArray<z.ZodObject<{
3062
+ id: z.ZodString;
3063
+ title: z.ZodString;
3064
+ description: z.ZodOptional<z.ZodString>;
3065
+ sections: z.ZodArray<z.ZodObject<{
3066
+ id: z.ZodString;
3067
+ title: z.ZodString;
3068
+ description: z.ZodOptional<z.ZodString>;
3069
+ controls: z.ZodArray<z.ZodType<FormControl, z.ZodTypeDef, FormControl>, "many">;
3070
+ visibleWhen: z.ZodOptional<z.ZodObject<{
3071
+ field: z.ZodOptional<z.ZodString>;
3072
+ fieldId: z.ZodOptional<z.ZodString>;
3073
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
3074
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3075
+ }, "strip", z.ZodTypeAny, {
3076
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3077
+ value?: string | number | boolean | undefined;
3078
+ field?: string | undefined;
3079
+ fieldId?: string | undefined;
3080
+ }, {
3081
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3082
+ value?: string | number | boolean | undefined;
3083
+ field?: string | undefined;
3084
+ fieldId?: string | undefined;
3085
+ }>>;
3086
+ condition: z.ZodOptional<z.ZodObject<{
3087
+ field: z.ZodOptional<z.ZodString>;
3088
+ fieldId: z.ZodOptional<z.ZodString>;
3089
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
3090
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3091
+ }, "strip", z.ZodTypeAny, {
3092
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3093
+ value?: string | number | boolean | undefined;
3094
+ field?: string | undefined;
3095
+ fieldId?: string | undefined;
3096
+ }, {
3097
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3098
+ value?: string | number | boolean | undefined;
3099
+ field?: string | undefined;
3100
+ fieldId?: string | undefined;
3101
+ }>>;
3102
+ }, "strip", z.ZodTypeAny, {
3103
+ title: string;
3104
+ id: string;
3105
+ controls: FormControl[];
3106
+ description?: string | undefined;
3107
+ visibleWhen?: {
3108
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3109
+ value?: string | number | boolean | undefined;
3110
+ field?: string | undefined;
3111
+ fieldId?: string | undefined;
3112
+ } | undefined;
3113
+ condition?: {
3114
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3115
+ value?: string | number | boolean | undefined;
3116
+ field?: string | undefined;
3117
+ fieldId?: string | undefined;
3118
+ } | undefined;
3119
+ }, {
3120
+ title: string;
3121
+ id: string;
3122
+ controls: FormControl[];
3123
+ description?: string | undefined;
3124
+ visibleWhen?: {
3125
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3126
+ value?: string | number | boolean | undefined;
3127
+ field?: string | undefined;
3128
+ fieldId?: string | undefined;
3129
+ } | undefined;
3130
+ condition?: {
3131
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3132
+ value?: string | number | boolean | undefined;
3133
+ field?: string | undefined;
3134
+ fieldId?: string | undefined;
3135
+ } | undefined;
3136
+ }>, "many">;
3137
+ gate: z.ZodOptional<z.ZodString>;
3138
+ }, "strip", z.ZodTypeAny, {
3139
+ title: string;
3140
+ id: string;
3141
+ sections: {
3142
+ title: string;
3143
+ id: string;
3144
+ controls: FormControl[];
3145
+ description?: string | undefined;
3146
+ visibleWhen?: {
3147
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3148
+ value?: string | number | boolean | undefined;
3149
+ field?: string | undefined;
3150
+ fieldId?: string | undefined;
3151
+ } | undefined;
3152
+ condition?: {
3153
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3154
+ value?: string | number | boolean | undefined;
3155
+ field?: string | undefined;
3156
+ fieldId?: string | undefined;
3157
+ } | undefined;
3158
+ }[];
3159
+ description?: string | undefined;
3160
+ gate?: string | undefined;
3161
+ }, {
3162
+ title: string;
3163
+ id: string;
3164
+ sections: {
3165
+ title: string;
3166
+ id: string;
3167
+ controls: FormControl[];
3168
+ description?: string | undefined;
3169
+ visibleWhen?: {
3170
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3171
+ value?: string | number | boolean | undefined;
3172
+ field?: string | undefined;
3173
+ fieldId?: string | undefined;
3174
+ } | undefined;
3175
+ condition?: {
3176
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3177
+ value?: string | number | boolean | undefined;
3178
+ field?: string | undefined;
3179
+ fieldId?: string | undefined;
3180
+ } | undefined;
3181
+ }[];
3182
+ description?: string | undefined;
3183
+ gate?: string | undefined;
3184
+ }>, "many">;
3185
+ decisionGates: z.ZodOptional<z.ZodArray<z.ZodObject<{
3186
+ id: z.ZodString;
3187
+ title: z.ZodString;
3188
+ description: z.ZodOptional<z.ZodString>;
3189
+ stageId: z.ZodString;
3190
+ kind: z.ZodOptional<z.ZodEnum<["approval", "review", "decision"]>>;
3191
+ trigger: z.ZodOptional<z.ZodString>;
3192
+ requiredAction: z.ZodOptional<z.ZodString>;
3193
+ consequence: z.ZodOptional<z.ZodString>;
3194
+ condition: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3195
+ field: z.ZodOptional<z.ZodString>;
3196
+ fieldId: z.ZodOptional<z.ZodString>;
3197
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
3198
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3199
+ }, "strip", z.ZodTypeAny, {
3200
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3201
+ value?: string | number | boolean | undefined;
3202
+ field?: string | undefined;
3203
+ fieldId?: string | undefined;
3204
+ }, {
3205
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3206
+ value?: string | number | boolean | undefined;
3207
+ field?: string | undefined;
3208
+ fieldId?: string | undefined;
3209
+ }>, z.ZodString]>>;
3210
+ blocking: z.ZodBoolean;
3211
+ reviewerRole: z.ZodOptional<z.ZodString>;
3212
+ }, "strip", z.ZodTypeAny, {
3213
+ title: string;
3214
+ id: string;
3215
+ stageId: string;
3216
+ blocking: boolean;
3217
+ description?: string | undefined;
3218
+ condition?: string | {
3219
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3220
+ value?: string | number | boolean | undefined;
3221
+ field?: string | undefined;
3222
+ fieldId?: string | undefined;
3223
+ } | undefined;
3224
+ kind?: "approval" | "review" | "decision" | undefined;
3225
+ trigger?: string | undefined;
3226
+ requiredAction?: string | undefined;
3227
+ consequence?: string | undefined;
3228
+ reviewerRole?: string | undefined;
3229
+ }, {
3230
+ title: string;
3231
+ id: string;
3232
+ stageId: string;
3233
+ blocking: boolean;
3234
+ description?: string | undefined;
3235
+ condition?: string | {
3236
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3237
+ value?: string | number | boolean | undefined;
3238
+ field?: string | undefined;
3239
+ fieldId?: string | undefined;
3240
+ } | undefined;
3241
+ kind?: "approval" | "review" | "decision" | undefined;
3242
+ trigger?: string | undefined;
3243
+ requiredAction?: string | undefined;
3244
+ consequence?: string | undefined;
3245
+ reviewerRole?: string | undefined;
3246
+ }>, "many">>;
3247
+ validators: z.ZodOptional<z.ZodArray<z.ZodObject<{
3248
+ id: z.ZodString;
3249
+ description: z.ZodOptional<z.ZodString>;
3250
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3251
+ severity: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warning"]>, z.ZodString]>>;
3252
+ type: z.ZodOptional<z.ZodString>;
3253
+ config: z.ZodOptional<z.ZodAny>;
3254
+ }, "strip", z.ZodTypeAny, {
3255
+ id: string;
3256
+ type?: string | undefined;
3257
+ description?: string | undefined;
3258
+ config?: any;
3259
+ fields?: string[] | undefined;
3260
+ severity?: string | undefined;
3261
+ }, {
3262
+ id: string;
3263
+ type?: string | undefined;
3264
+ description?: string | undefined;
3265
+ config?: any;
3266
+ fields?: string[] | undefined;
3267
+ severity?: string | undefined;
3268
+ }>, "many">>;
3269
+ handoffActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3270
+ id: z.ZodOptional<z.ZodString>;
3271
+ label: z.ZodOptional<z.ZodString>;
3272
+ destination: z.ZodOptional<z.ZodString>;
3273
+ condition: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3274
+ field: z.ZodOptional<z.ZodString>;
3275
+ fieldId: z.ZodOptional<z.ZodString>;
3276
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
3277
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
3278
+ }, "strip", z.ZodTypeAny, {
3279
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3280
+ value?: string | number | boolean | undefined;
3281
+ field?: string | undefined;
3282
+ fieldId?: string | undefined;
3283
+ }, {
3284
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3285
+ value?: string | number | boolean | undefined;
3286
+ field?: string | undefined;
3287
+ fieldId?: string | undefined;
3288
+ }>, z.ZodString]>>;
3289
+ payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3290
+ type: z.ZodOptional<z.ZodString>;
3291
+ config: z.ZodOptional<z.ZodAny>;
3292
+ }, "strip", z.ZodTypeAny, {
3293
+ type?: string | undefined;
3294
+ config?: any;
3295
+ id?: string | undefined;
3296
+ label?: string | undefined;
3297
+ condition?: string | {
3298
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3299
+ value?: string | number | boolean | undefined;
3300
+ field?: string | undefined;
3301
+ fieldId?: string | undefined;
3302
+ } | undefined;
3303
+ destination?: string | undefined;
3304
+ payloadFields?: string[] | undefined;
3305
+ }, {
3306
+ type?: string | undefined;
3307
+ config?: any;
3308
+ id?: string | undefined;
3309
+ label?: string | undefined;
3310
+ condition?: string | {
3311
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3312
+ value?: string | number | boolean | undefined;
3313
+ field?: string | undefined;
3314
+ fieldId?: string | undefined;
3315
+ } | undefined;
3316
+ destination?: string | undefined;
3317
+ payloadFields?: string[] | undefined;
3318
+ }>, "many">>;
3319
+ review: z.ZodOptional<z.ZodObject<{
3320
+ humanReviewRequired: z.ZodBoolean;
3321
+ reviewAreas: z.ZodArray<z.ZodString, "many">;
3322
+ }, "strip", z.ZodTypeAny, {
3323
+ humanReviewRequired: boolean;
3324
+ reviewAreas: string[];
3325
+ }, {
3326
+ humanReviewRequired: boolean;
3327
+ reviewAreas: string[];
3328
+ }>>;
3329
+ reviewMetadata: z.ZodOptional<z.ZodObject<{
3330
+ approvers: z.ZodArray<z.ZodString, "many">;
3331
+ requirements: z.ZodArray<z.ZodString, "many">;
3332
+ }, "strip", z.ZodTypeAny, {
3333
+ approvers: string[];
3334
+ requirements: string[];
3335
+ }, {
3336
+ approvers: string[];
3337
+ requirements: string[];
3338
+ }>>;
3339
+ scoring: z.ZodOptional<z.ZodObject<{
3340
+ description: z.ZodOptional<z.ZodString>;
3341
+ dimensions: z.ZodArray<z.ZodObject<{
3342
+ id: z.ZodString;
3343
+ label: z.ZodString;
3344
+ description: z.ZodOptional<z.ZodString>;
3345
+ weight: z.ZodOptional<z.ZodNumber>;
3346
+ rules: z.ZodArray<z.ZodObject<{
3347
+ field: z.ZodString;
3348
+ optionPoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
3349
+ ranges: z.ZodOptional<z.ZodArray<z.ZodObject<{
3350
+ min: z.ZodOptional<z.ZodNumber>;
3351
+ max: z.ZodOptional<z.ZodNumber>;
3352
+ points: z.ZodNumber;
3353
+ }, "strip", z.ZodTypeAny, {
3354
+ points: number;
3355
+ min?: number | undefined;
3356
+ max?: number | undefined;
3357
+ }, {
3358
+ points: number;
3359
+ min?: number | undefined;
3360
+ max?: number | undefined;
3361
+ }>, "many">>;
3362
+ multiplier: z.ZodOptional<z.ZodNumber>;
3363
+ truePoints: z.ZodOptional<z.ZodNumber>;
3364
+ falsePoints: z.ZodOptional<z.ZodNumber>;
3365
+ }, "strip", z.ZodTypeAny, {
3366
+ field: string;
3367
+ optionPoints?: Record<string, number> | undefined;
3368
+ ranges?: {
3369
+ points: number;
3370
+ min?: number | undefined;
3371
+ max?: number | undefined;
3372
+ }[] | undefined;
3373
+ multiplier?: number | undefined;
3374
+ truePoints?: number | undefined;
3375
+ falsePoints?: number | undefined;
3376
+ }, {
3377
+ field: string;
3378
+ optionPoints?: Record<string, number> | undefined;
3379
+ ranges?: {
3380
+ points: number;
3381
+ min?: number | undefined;
3382
+ max?: number | undefined;
3383
+ }[] | undefined;
3384
+ multiplier?: number | undefined;
3385
+ truePoints?: number | undefined;
3386
+ falsePoints?: number | undefined;
3387
+ }>, "many">;
3388
+ }, "strip", z.ZodTypeAny, {
3389
+ id: string;
3390
+ label: string;
3391
+ rules: {
3392
+ field: string;
3393
+ optionPoints?: Record<string, number> | undefined;
3394
+ ranges?: {
3395
+ points: number;
3396
+ min?: number | undefined;
3397
+ max?: number | undefined;
3398
+ }[] | undefined;
3399
+ multiplier?: number | undefined;
3400
+ truePoints?: number | undefined;
3401
+ falsePoints?: number | undefined;
3402
+ }[];
3403
+ description?: string | undefined;
3404
+ weight?: number | undefined;
3405
+ }, {
3406
+ id: string;
3407
+ label: string;
3408
+ rules: {
3409
+ field: string;
3410
+ optionPoints?: Record<string, number> | undefined;
3411
+ ranges?: {
3412
+ points: number;
3413
+ min?: number | undefined;
3414
+ max?: number | undefined;
3415
+ }[] | undefined;
3416
+ multiplier?: number | undefined;
3417
+ truePoints?: number | undefined;
3418
+ falsePoints?: number | undefined;
3419
+ }[];
3420
+ description?: string | undefined;
3421
+ weight?: number | undefined;
3422
+ }>, "many">;
3423
+ bands: z.ZodOptional<z.ZodArray<z.ZodObject<{
3424
+ id: z.ZodString;
3425
+ label: z.ZodString;
3426
+ min: z.ZodNumber;
3427
+ max: z.ZodOptional<z.ZodNumber>;
3428
+ }, "strip", z.ZodTypeAny, {
3429
+ id: string;
3430
+ min: number;
3431
+ label: string;
3432
+ max?: number | undefined;
3433
+ }, {
3434
+ id: string;
3435
+ min: number;
3436
+ label: string;
3437
+ max?: number | undefined;
3438
+ }>, "many">>;
3439
+ }, "strip", z.ZodTypeAny, {
3440
+ dimensions: {
3441
+ id: string;
3442
+ label: string;
3443
+ rules: {
3444
+ field: string;
3445
+ optionPoints?: Record<string, number> | undefined;
3446
+ ranges?: {
3447
+ points: number;
3448
+ min?: number | undefined;
3449
+ max?: number | undefined;
3450
+ }[] | undefined;
3451
+ multiplier?: number | undefined;
3452
+ truePoints?: number | undefined;
3453
+ falsePoints?: number | undefined;
3454
+ }[];
3455
+ description?: string | undefined;
3456
+ weight?: number | undefined;
3457
+ }[];
3458
+ description?: string | undefined;
3459
+ bands?: {
3460
+ id: string;
3461
+ min: number;
3462
+ label: string;
3463
+ max?: number | undefined;
3464
+ }[] | undefined;
3465
+ }, {
3466
+ dimensions: {
3467
+ id: string;
3468
+ label: string;
3469
+ rules: {
3470
+ field: string;
3471
+ optionPoints?: Record<string, number> | undefined;
3472
+ ranges?: {
3473
+ points: number;
3474
+ min?: number | undefined;
3475
+ max?: number | undefined;
3476
+ }[] | undefined;
3477
+ multiplier?: number | undefined;
3478
+ truePoints?: number | undefined;
3479
+ falsePoints?: number | undefined;
3480
+ }[];
3481
+ description?: string | undefined;
3482
+ weight?: number | undefined;
3483
+ }[];
3484
+ description?: string | undefined;
3485
+ bands?: {
3486
+ id: string;
3487
+ min: number;
3488
+ label: string;
3489
+ max?: number | undefined;
3490
+ }[] | undefined;
3491
+ }>>;
3492
+ }, "strip", z.ZodTypeAny, {
3493
+ version: string | number;
3494
+ stages: {
3495
+ title: string;
3496
+ id: string;
3497
+ sections: {
3498
+ title: string;
3499
+ id: string;
3500
+ controls: FormControl[];
3501
+ description?: string | undefined;
3502
+ visibleWhen?: {
3503
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3504
+ value?: string | number | boolean | undefined;
3505
+ field?: string | undefined;
3506
+ fieldId?: string | undefined;
3507
+ } | undefined;
3508
+ condition?: {
3509
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3510
+ value?: string | number | boolean | undefined;
3511
+ field?: string | undefined;
3512
+ fieldId?: string | undefined;
3513
+ } | undefined;
3514
+ }[];
3515
+ description?: string | undefined;
3516
+ gate?: string | undefined;
3517
+ }[];
3518
+ title?: string | undefined;
3519
+ description?: string | undefined;
3520
+ id?: string | undefined;
3521
+ review?: {
3522
+ humanReviewRequired: boolean;
3523
+ reviewAreas: string[];
3524
+ } | undefined;
3525
+ decisionGates?: {
3526
+ title: string;
3527
+ id: string;
3528
+ stageId: string;
3529
+ blocking: boolean;
3530
+ description?: string | undefined;
3531
+ condition?: string | {
3532
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3533
+ value?: string | number | boolean | undefined;
3534
+ field?: string | undefined;
3535
+ fieldId?: string | undefined;
3536
+ } | undefined;
3537
+ kind?: "approval" | "review" | "decision" | undefined;
3538
+ trigger?: string | undefined;
3539
+ requiredAction?: string | undefined;
3540
+ consequence?: string | undefined;
3541
+ reviewerRole?: string | undefined;
3542
+ }[] | undefined;
3543
+ validators?: {
3544
+ id: string;
3545
+ type?: string | undefined;
3546
+ description?: string | undefined;
3547
+ config?: any;
3548
+ fields?: string[] | undefined;
3549
+ severity?: string | undefined;
3550
+ }[] | undefined;
3551
+ handoffActions?: {
3552
+ type?: string | undefined;
3553
+ config?: any;
3554
+ id?: string | undefined;
3555
+ label?: string | undefined;
3556
+ condition?: string | {
3557
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3558
+ value?: string | number | boolean | undefined;
3559
+ field?: string | undefined;
3560
+ fieldId?: string | undefined;
3561
+ } | undefined;
3562
+ destination?: string | undefined;
3563
+ payloadFields?: string[] | undefined;
3564
+ }[] | undefined;
3565
+ reviewMetadata?: {
3566
+ approvers: string[];
3567
+ requirements: string[];
3568
+ } | undefined;
3569
+ scoring?: {
3570
+ dimensions: {
3571
+ id: string;
3572
+ label: string;
3573
+ rules: {
3574
+ field: string;
3575
+ optionPoints?: Record<string, number> | undefined;
3576
+ ranges?: {
3577
+ points: number;
3578
+ min?: number | undefined;
3579
+ max?: number | undefined;
3580
+ }[] | undefined;
3581
+ multiplier?: number | undefined;
3582
+ truePoints?: number | undefined;
3583
+ falsePoints?: number | undefined;
3584
+ }[];
3585
+ description?: string | undefined;
3586
+ weight?: number | undefined;
3587
+ }[];
3588
+ description?: string | undefined;
3589
+ bands?: {
3590
+ id: string;
3591
+ min: number;
3592
+ label: string;
3593
+ max?: number | undefined;
3594
+ }[] | undefined;
3595
+ } | undefined;
3596
+ }, {
3597
+ version: string | number;
3598
+ stages: {
3599
+ title: string;
3600
+ id: string;
3601
+ sections: {
3602
+ title: string;
3603
+ id: string;
3604
+ controls: FormControl[];
3605
+ description?: string | undefined;
3606
+ visibleWhen?: {
3607
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3608
+ value?: string | number | boolean | undefined;
3609
+ field?: string | undefined;
3610
+ fieldId?: string | undefined;
3611
+ } | undefined;
3612
+ condition?: {
3613
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3614
+ value?: string | number | boolean | undefined;
3615
+ field?: string | undefined;
3616
+ fieldId?: string | undefined;
3617
+ } | undefined;
3618
+ }[];
3619
+ description?: string | undefined;
3620
+ gate?: string | undefined;
3621
+ }[];
3622
+ title?: string | undefined;
3623
+ description?: string | undefined;
3624
+ id?: string | undefined;
3625
+ review?: {
3626
+ humanReviewRequired: boolean;
3627
+ reviewAreas: string[];
3628
+ } | undefined;
3629
+ decisionGates?: {
3630
+ title: string;
3631
+ id: string;
3632
+ stageId: string;
3633
+ blocking: boolean;
3634
+ description?: string | undefined;
3635
+ condition?: string | {
3636
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3637
+ value?: string | number | boolean | undefined;
3638
+ field?: string | undefined;
3639
+ fieldId?: string | undefined;
3640
+ } | undefined;
3641
+ kind?: "approval" | "review" | "decision" | undefined;
3642
+ trigger?: string | undefined;
3643
+ requiredAction?: string | undefined;
3644
+ consequence?: string | undefined;
3645
+ reviewerRole?: string | undefined;
3646
+ }[] | undefined;
3647
+ validators?: {
3648
+ id: string;
3649
+ type?: string | undefined;
3650
+ description?: string | undefined;
3651
+ config?: any;
3652
+ fields?: string[] | undefined;
3653
+ severity?: string | undefined;
3654
+ }[] | undefined;
3655
+ handoffActions?: {
3656
+ type?: string | undefined;
3657
+ config?: any;
3658
+ id?: string | undefined;
3659
+ label?: string | undefined;
3660
+ condition?: string | {
3661
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
3662
+ value?: string | number | boolean | undefined;
3663
+ field?: string | undefined;
3664
+ fieldId?: string | undefined;
3665
+ } | undefined;
3666
+ destination?: string | undefined;
3667
+ payloadFields?: string[] | undefined;
3668
+ }[] | undefined;
3669
+ reviewMetadata?: {
3670
+ approvers: string[];
3671
+ requirements: string[];
3672
+ } | undefined;
3673
+ scoring?: {
3674
+ dimensions: {
3675
+ id: string;
3676
+ label: string;
3677
+ rules: {
3678
+ field: string;
3679
+ optionPoints?: Record<string, number> | undefined;
3680
+ ranges?: {
3681
+ points: number;
3682
+ min?: number | undefined;
3683
+ max?: number | undefined;
3684
+ }[] | undefined;
3685
+ multiplier?: number | undefined;
3686
+ truePoints?: number | undefined;
3687
+ falsePoints?: number | undefined;
3688
+ }[];
3689
+ description?: string | undefined;
3690
+ weight?: number | undefined;
3691
+ }[];
3692
+ description?: string | undefined;
3693
+ bands?: {
3694
+ id: string;
3695
+ min: number;
3696
+ label: string;
3697
+ max?: number | undefined;
3698
+ }[] | undefined;
3699
+ } | undefined;
3700
+ }>;
3701
+ type TechnicalSchema = z.infer<typeof TechnicalFormSchema>;
3702
+ declare const SemanticReviewStatusSchema: z.ZodEnum<["pass", "flagged", "unavailable"]>;
3703
+ type SemanticReviewStatus = z.infer<typeof SemanticReviewStatusSchema>;
3704
+ declare const SemanticReviewIssueSchema: z.ZodObject<{
3705
+ id: z.ZodString;
3706
+ severity: z.ZodEnum<["warning", "error"]>;
3707
+ message: z.ZodString;
3708
+ fieldId: z.ZodOptional<z.ZodString>;
3709
+ fieldLabel: z.ZodOptional<z.ZodString>;
3710
+ suggestion: z.ZodOptional<z.ZodString>;
3711
+ }, "strip", z.ZodTypeAny, {
3712
+ message: string;
3713
+ id: string;
3714
+ severity: "error" | "warning";
3715
+ fieldId?: string | undefined;
3716
+ fieldLabel?: string | undefined;
3717
+ suggestion?: string | undefined;
3718
+ }, {
3719
+ message: string;
3720
+ id: string;
3721
+ severity: "error" | "warning";
3722
+ fieldId?: string | undefined;
3723
+ fieldLabel?: string | undefined;
3724
+ suggestion?: string | undefined;
3725
+ }>;
3726
+ type SemanticReviewIssue = z.infer<typeof SemanticReviewIssueSchema>;
3727
+ declare const SemanticReviewResultSchema: z.ZodObject<{
3728
+ status: z.ZodEnum<["pass", "flagged", "unavailable"]>;
3729
+ summary: z.ZodOptional<z.ZodString>;
3730
+ issues: z.ZodArray<z.ZodObject<{
3731
+ id: z.ZodString;
3732
+ severity: z.ZodEnum<["warning", "error"]>;
3733
+ message: z.ZodString;
3734
+ fieldId: z.ZodOptional<z.ZodString>;
3735
+ fieldLabel: z.ZodOptional<z.ZodString>;
3736
+ suggestion: z.ZodOptional<z.ZodString>;
3737
+ }, "strip", z.ZodTypeAny, {
3738
+ message: string;
3739
+ id: string;
3740
+ severity: "error" | "warning";
3741
+ fieldId?: string | undefined;
3742
+ fieldLabel?: string | undefined;
3743
+ suggestion?: string | undefined;
3744
+ }, {
3745
+ message: string;
3746
+ id: string;
3747
+ severity: "error" | "warning";
3748
+ fieldId?: string | undefined;
3749
+ fieldLabel?: string | undefined;
3750
+ suggestion?: string | undefined;
3751
+ }>, "many">;
3752
+ }, "strip", z.ZodTypeAny, {
3753
+ issues: {
3754
+ message: string;
3755
+ id: string;
3756
+ severity: "error" | "warning";
3757
+ fieldId?: string | undefined;
3758
+ fieldLabel?: string | undefined;
3759
+ suggestion?: string | undefined;
3760
+ }[];
3761
+ status: "pass" | "flagged" | "unavailable";
3762
+ summary?: string | undefined;
3763
+ }, {
3764
+ issues: {
3765
+ message: string;
3766
+ id: string;
3767
+ severity: "error" | "warning";
3768
+ fieldId?: string | undefined;
3769
+ fieldLabel?: string | undefined;
3770
+ suggestion?: string | undefined;
3771
+ }[];
3772
+ status: "pass" | "flagged" | "unavailable";
3773
+ summary?: string | undefined;
3774
+ }>;
3775
+ type SemanticReviewResult = z.infer<typeof SemanticReviewResultSchema>;
3776
+ declare const FormSubmissionPayloadSchema: z.ZodObject<{
3777
+ id: z.ZodOptional<z.ZodString>;
3778
+ answers: z.ZodRecord<z.ZodString, z.ZodAny>;
3779
+ stageReviews: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3780
+ gateDecisions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3781
+ submittedAt: z.ZodOptional<z.ZodString>;
3782
+ score: z.ZodOptional<z.ZodObject<{
3783
+ total: z.ZodNumber;
3784
+ dimensions: z.ZodArray<z.ZodObject<{
3785
+ dimensionId: z.ZodString;
3786
+ label: z.ZodString;
3787
+ points: z.ZodNumber;
3788
+ weight: z.ZodNumber;
3789
+ weighted: z.ZodNumber;
3790
+ }, "strip", z.ZodTypeAny, {
3791
+ label: string;
3792
+ points: number;
3793
+ weight: number;
3794
+ dimensionId: string;
3795
+ weighted: number;
3796
+ }, {
3797
+ label: string;
3798
+ points: number;
3799
+ weight: number;
3800
+ dimensionId: string;
3801
+ weighted: number;
3802
+ }>, "many">;
3803
+ band: z.ZodOptional<z.ZodObject<{
3804
+ id: z.ZodString;
3805
+ label: z.ZodString;
3806
+ }, "strip", z.ZodTypeAny, {
3807
+ id: string;
3808
+ label: string;
3809
+ }, {
3810
+ id: string;
3811
+ label: string;
3812
+ }>>;
3813
+ calculatedAt: z.ZodString;
3814
+ schemaVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
3815
+ }, "strip", z.ZodTypeAny, {
3816
+ dimensions: {
3817
+ label: string;
3818
+ points: number;
3819
+ weight: number;
3820
+ dimensionId: string;
3821
+ weighted: number;
3822
+ }[];
3823
+ total: number;
3824
+ calculatedAt: string;
3825
+ schemaVersion: string | number;
3826
+ band?: {
3827
+ id: string;
3828
+ label: string;
3829
+ } | undefined;
3830
+ }, {
3831
+ dimensions: {
3832
+ label: string;
3833
+ points: number;
3834
+ weight: number;
3835
+ dimensionId: string;
3836
+ weighted: number;
3837
+ }[];
3838
+ total: number;
3839
+ calculatedAt: string;
3840
+ schemaVersion: string | number;
3841
+ band?: {
3842
+ id: string;
3843
+ label: string;
3844
+ } | undefined;
3845
+ }>>;
3846
+ }, "strip", z.ZodTypeAny, {
3847
+ answers: Record<string, any>;
3848
+ id?: string | undefined;
3849
+ stageReviews?: any[] | undefined;
3850
+ gateDecisions?: any[] | undefined;
3851
+ submittedAt?: string | undefined;
3852
+ score?: {
3853
+ dimensions: {
3854
+ label: string;
3855
+ points: number;
3856
+ weight: number;
3857
+ dimensionId: string;
3858
+ weighted: number;
3859
+ }[];
3860
+ total: number;
3861
+ calculatedAt: string;
3862
+ schemaVersion: string | number;
3863
+ band?: {
3864
+ id: string;
3865
+ label: string;
3866
+ } | undefined;
3867
+ } | undefined;
3868
+ }, {
3869
+ answers: Record<string, any>;
3870
+ id?: string | undefined;
3871
+ stageReviews?: any[] | undefined;
3872
+ gateDecisions?: any[] | undefined;
3873
+ submittedAt?: string | undefined;
3874
+ score?: {
3875
+ dimensions: {
3876
+ label: string;
3877
+ points: number;
3878
+ weight: number;
3879
+ dimensionId: string;
3880
+ weighted: number;
3881
+ }[];
3882
+ total: number;
3883
+ calculatedAt: string;
3884
+ schemaVersion: string | number;
3885
+ band?: {
3886
+ id: string;
3887
+ label: string;
3888
+ } | undefined;
3889
+ } | undefined;
3890
+ }>;
3891
+ type FormSubmissionPayload = z.infer<typeof FormSubmissionPayloadSchema>;
2238
3892
 
2239
- export { type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AspectRatio, AspectRatioSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type DropShadow, DropShadowSchema, type Fidelity, FidelitySchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type JsonGenerationPayload, JsonGenerationSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type TextAlignment, TextAlignmentSchema, type TextOverlayPosition, TextOverlayPositionSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoResolution, VideoResolutionSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type WatermarkPosition, WatermarkPositionSchema };
3893
+ export { type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AspectRatio, AspectRatioSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DropShadow, DropShadowSchema, type Fidelity, FidelitySchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type JsonGenerationPayload, JsonGenerationSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlayPosition, TextOverlayPositionSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoResolution, VideoResolutionSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type WatermarkPosition, WatermarkPositionSchema };