@deepintel-ltd/buildlink-api-contracts 0.2.29 → 0.2.30
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/README.md +1 -1
- package/contracts/auth.d.ts +68 -68
- package/contracts/boq.d.ts +18 -18
- package/contracts/budget.d.ts +1969 -173
- package/contracts/budget.d.ts.map +1 -1
- package/contracts/budget.js +36 -1
- package/contracts/budget.js.map +1 -1
- package/contracts/communication.d.ts +560 -0
- package/contracts/communication.d.ts.map +1 -1
- package/contracts/contractor-ledger.d.ts +508 -12
- package/contracts/contractor-ledger.d.ts.map +1 -1
- package/contracts/contractor-ledger.js +29 -1
- package/contracts/contractor-ledger.js.map +1 -1
- package/contracts/daily-logs.d.ts +1362 -74
- package/contracts/daily-logs.d.ts.map +1 -1
- package/contracts/deficiencies.d.ts +4516 -436
- package/contracts/deficiencies.d.ts.map +1 -1
- package/contracts/deficiencies.js +99 -1
- package/contracts/deficiencies.js.map +1 -1
- package/contracts/directory.d.ts +48 -48
- package/contracts/documents.d.ts +149 -149
- package/contracts/drawings.d.ts +246 -246
- package/contracts/hub.d.ts +18 -18
- package/contracts/index.d.ts +3 -2
- package/contracts/index.d.ts.map +1 -1
- package/contracts/index.js +2 -2
- package/contracts/index.js.map +1 -1
- package/contracts/maps.d.ts +42 -42
- package/contracts/packages.d.ts +24 -24
- package/contracts/projects.d.ts +610 -50
- package/contracts/projects.d.ts.map +1 -1
- package/contracts/proof.d.ts +694 -0
- package/contracts/proof.d.ts.map +1 -1
- package/contracts/proof.js +41 -1
- package/contracts/proof.js.map +1 -1
- package/contracts/qaqc.d.ts +546 -0
- package/contracts/qaqc.d.ts.map +1 -1
- package/contracts/qaqc.js +15 -1
- package/contracts/qaqc.js.map +1 -1
- package/contracts/rbac.d.ts +6 -6
- package/contracts/resources.d.ts +60 -60
- package/contracts/rfi-submittal.d.ts +128 -128
- package/contracts/safety.d.ts +2156 -162
- package/contracts/safety.d.ts.map +1 -1
- package/contracts/safety.js +44 -1
- package/contracts/safety.js.map +1 -1
- package/contracts/schedule.d.ts +84 -84
- package/contracts/specifications.d.ts +156 -156
- package/contracts/tasks.d.ts +2312 -229
- package/contracts/tasks.d.ts.map +1 -1
- package/contracts/tasks.js +55 -1
- package/contracts/tasks.js.map +1 -1
- package/contracts/timecards.d.ts +32 -32
- package/contracts/valuations.d.ts +64 -64
- package/package.json +1 -1
- package/schemas/auth.d.ts +36 -36
- package/schemas/boq.d.ts +6 -6
- package/schemas/budget.d.ts +168 -4
- package/schemas/budget.d.ts.map +1 -1
- package/schemas/budget.js +31 -1
- package/schemas/budget.js.map +1 -1
- package/schemas/common.d.ts +37 -0
- package/schemas/common.d.ts.map +1 -1
- package/schemas/common.js +34 -0
- package/schemas/common.js.map +1 -1
- package/schemas/common.person-summary.spec.d.ts +2 -0
- package/schemas/common.person-summary.spec.d.ts.map +1 -0
- package/schemas/common.person-summary.spec.js +33 -0
- package/schemas/common.person-summary.spec.js.map +1 -0
- package/schemas/communication.d.ts +94 -0
- package/schemas/communication.d.ts.map +1 -1
- package/schemas/communication.js +3 -1
- package/schemas/communication.js.map +1 -1
- package/schemas/contractor-ledger.d.ts +77 -6
- package/schemas/contractor-ledger.d.ts.map +1 -1
- package/schemas/contractor-ledger.js +13 -0
- package/schemas/contractor-ledger.js.map +1 -1
- package/schemas/daily-logs.d.ts +232 -22
- package/schemas/daily-logs.d.ts.map +1 -1
- package/schemas/daily-logs.js +7 -1
- package/schemas/daily-logs.js.map +1 -1
- package/schemas/deficiencies.d.ts +793 -100
- package/schemas/deficiencies.d.ts.map +1 -1
- package/schemas/deficiencies.js +79 -6
- package/schemas/deficiencies.js.map +1 -1
- package/schemas/directory.d.ts +20 -20
- package/schemas/documents.d.ts +3 -3
- package/schemas/drawings.d.ts +74 -74
- package/schemas/hub.d.ts +6 -6
- package/schemas/maps.d.ts +6 -6
- package/schemas/packages.d.ts +6 -6
- package/schemas/projects.d.ts +8 -8
- package/schemas/proof.d.ts +20 -0
- package/schemas/proof.d.ts.map +1 -1
- package/schemas/proof.js +7 -0
- package/schemas/proof.js.map +1 -1
- package/schemas/qaqc.d.ts +74 -0
- package/schemas/qaqc.d.ts.map +1 -1
- package/schemas/qaqc.js +26 -1
- package/schemas/qaqc.js.map +1 -1
- package/schemas/resources.d.ts +18 -18
- package/schemas/rfi.d.ts +52 -52
- package/schemas/safety.d.ts +491 -0
- package/schemas/safety.d.ts.map +1 -1
- package/schemas/safety.js +54 -1
- package/schemas/safety.js.map +1 -1
- package/schemas/schedule.d.ts +68 -68
- package/schemas/specifications.d.ts +134 -134
- package/schemas/submittal.d.ts +52 -52
- package/schemas/tasks.d.ts +111 -23
- package/schemas/tasks.d.ts.map +1 -1
- package/schemas/tasks.js +11 -2
- package/schemas/tasks.js.map +1 -1
- package/schemas/timecards.d.ts +6 -6
- package/schemas/valuations.d.ts +12 -12
package/contracts/budget.d.ts
CHANGED
|
@@ -2399,7 +2399,75 @@ export declare const budgetContract: {
|
|
|
2399
2399
|
approvedBy: z.ZodOptional<z.ZodString>;
|
|
2400
2400
|
approvedAt: z.ZodOptional<z.ZodString>;
|
|
2401
2401
|
recordedBy: z.ZodString;
|
|
2402
|
+
recorder: z.ZodOptional<z.ZodObject<{
|
|
2403
|
+
id: z.ZodString;
|
|
2404
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2405
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2406
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2407
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2408
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2409
|
+
}, "strip", z.ZodTypeAny, {
|
|
2410
|
+
id: string;
|
|
2411
|
+
firstName?: string | null | undefined;
|
|
2412
|
+
lastName?: string | null | undefined;
|
|
2413
|
+
email?: string | undefined;
|
|
2414
|
+
name?: string | undefined;
|
|
2415
|
+
avatar?: string | null | undefined;
|
|
2416
|
+
}, {
|
|
2417
|
+
id: string;
|
|
2418
|
+
firstName?: string | null | undefined;
|
|
2419
|
+
lastName?: string | null | undefined;
|
|
2420
|
+
email?: string | undefined;
|
|
2421
|
+
name?: string | undefined;
|
|
2422
|
+
avatar?: string | null | undefined;
|
|
2423
|
+
}>>;
|
|
2424
|
+
approver: z.ZodOptional<z.ZodObject<{
|
|
2425
|
+
id: z.ZodString;
|
|
2426
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2427
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2428
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2429
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2430
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2431
|
+
}, "strip", z.ZodTypeAny, {
|
|
2432
|
+
id: string;
|
|
2433
|
+
firstName?: string | null | undefined;
|
|
2434
|
+
lastName?: string | null | undefined;
|
|
2435
|
+
email?: string | undefined;
|
|
2436
|
+
name?: string | undefined;
|
|
2437
|
+
avatar?: string | null | undefined;
|
|
2438
|
+
}, {
|
|
2439
|
+
id: string;
|
|
2440
|
+
firstName?: string | null | undefined;
|
|
2441
|
+
lastName?: string | null | undefined;
|
|
2442
|
+
email?: string | undefined;
|
|
2443
|
+
name?: string | undefined;
|
|
2444
|
+
avatar?: string | null | undefined;
|
|
2445
|
+
}>>;
|
|
2402
2446
|
attachments: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2447
|
+
rejectionReason: z.ZodOptional<z.ZodString>;
|
|
2448
|
+
receiptUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2449
|
+
statusHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2450
|
+
id: z.ZodString;
|
|
2451
|
+
fromStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>>>;
|
|
2452
|
+
toStatus: z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>;
|
|
2453
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2454
|
+
actorId: z.ZodString;
|
|
2455
|
+
createdAt: z.ZodString;
|
|
2456
|
+
}, "strip", z.ZodTypeAny, {
|
|
2457
|
+
id: string;
|
|
2458
|
+
createdAt: string;
|
|
2459
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
2460
|
+
actorId: string;
|
|
2461
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
2462
|
+
reason?: string | null | undefined;
|
|
2463
|
+
}, {
|
|
2464
|
+
id: string;
|
|
2465
|
+
createdAt: string;
|
|
2466
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
2467
|
+
actorId: string;
|
|
2468
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
2469
|
+
reason?: string | null | undefined;
|
|
2470
|
+
}>, "many">>;
|
|
2403
2471
|
}, "strip", z.ZodTypeAny, {
|
|
2404
2472
|
id: string;
|
|
2405
2473
|
createdAt: string;
|
|
@@ -2424,6 +2492,32 @@ export declare const budgetContract: {
|
|
|
2424
2492
|
dueDate?: string | undefined;
|
|
2425
2493
|
approvedBy?: string | undefined;
|
|
2426
2494
|
approvedAt?: string | undefined;
|
|
2495
|
+
recorder?: {
|
|
2496
|
+
id: string;
|
|
2497
|
+
firstName?: string | null | undefined;
|
|
2498
|
+
lastName?: string | null | undefined;
|
|
2499
|
+
email?: string | undefined;
|
|
2500
|
+
name?: string | undefined;
|
|
2501
|
+
avatar?: string | null | undefined;
|
|
2502
|
+
} | undefined;
|
|
2503
|
+
approver?: {
|
|
2504
|
+
id: string;
|
|
2505
|
+
firstName?: string | null | undefined;
|
|
2506
|
+
lastName?: string | null | undefined;
|
|
2507
|
+
email?: string | undefined;
|
|
2508
|
+
name?: string | undefined;
|
|
2509
|
+
avatar?: string | null | undefined;
|
|
2510
|
+
} | undefined;
|
|
2511
|
+
rejectionReason?: string | undefined;
|
|
2512
|
+
receiptUrl?: string | null | undefined;
|
|
2513
|
+
statusHistory?: {
|
|
2514
|
+
id: string;
|
|
2515
|
+
createdAt: string;
|
|
2516
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
2517
|
+
actorId: string;
|
|
2518
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
2519
|
+
reason?: string | null | undefined;
|
|
2520
|
+
}[] | undefined;
|
|
2427
2521
|
}, {
|
|
2428
2522
|
id: string;
|
|
2429
2523
|
createdAt: string;
|
|
@@ -2447,7 +2541,33 @@ export declare const budgetContract: {
|
|
|
2447
2541
|
dueDate?: string | undefined;
|
|
2448
2542
|
approvedBy?: string | undefined;
|
|
2449
2543
|
approvedAt?: string | undefined;
|
|
2544
|
+
recorder?: {
|
|
2545
|
+
id: string;
|
|
2546
|
+
firstName?: string | null | undefined;
|
|
2547
|
+
lastName?: string | null | undefined;
|
|
2548
|
+
email?: string | undefined;
|
|
2549
|
+
name?: string | undefined;
|
|
2550
|
+
avatar?: string | null | undefined;
|
|
2551
|
+
} | undefined;
|
|
2552
|
+
approver?: {
|
|
2553
|
+
id: string;
|
|
2554
|
+
firstName?: string | null | undefined;
|
|
2555
|
+
lastName?: string | null | undefined;
|
|
2556
|
+
email?: string | undefined;
|
|
2557
|
+
name?: string | undefined;
|
|
2558
|
+
avatar?: string | null | undefined;
|
|
2559
|
+
} | undefined;
|
|
2450
2560
|
attachments?: string[] | undefined;
|
|
2561
|
+
rejectionReason?: string | undefined;
|
|
2562
|
+
receiptUrl?: string | null | undefined;
|
|
2563
|
+
statusHistory?: {
|
|
2564
|
+
id: string;
|
|
2565
|
+
createdAt: string;
|
|
2566
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
2567
|
+
actorId: string;
|
|
2568
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
2569
|
+
reason?: string | null | undefined;
|
|
2570
|
+
}[] | undefined;
|
|
2451
2571
|
}>;
|
|
2452
2572
|
}, "strip", z.ZodTypeAny, {
|
|
2453
2573
|
id: string;
|
|
@@ -2476,6 +2596,32 @@ export declare const budgetContract: {
|
|
|
2476
2596
|
dueDate?: string | undefined;
|
|
2477
2597
|
approvedBy?: string | undefined;
|
|
2478
2598
|
approvedAt?: string | undefined;
|
|
2599
|
+
recorder?: {
|
|
2600
|
+
id: string;
|
|
2601
|
+
firstName?: string | null | undefined;
|
|
2602
|
+
lastName?: string | null | undefined;
|
|
2603
|
+
email?: string | undefined;
|
|
2604
|
+
name?: string | undefined;
|
|
2605
|
+
avatar?: string | null | undefined;
|
|
2606
|
+
} | undefined;
|
|
2607
|
+
approver?: {
|
|
2608
|
+
id: string;
|
|
2609
|
+
firstName?: string | null | undefined;
|
|
2610
|
+
lastName?: string | null | undefined;
|
|
2611
|
+
email?: string | undefined;
|
|
2612
|
+
name?: string | undefined;
|
|
2613
|
+
avatar?: string | null | undefined;
|
|
2614
|
+
} | undefined;
|
|
2615
|
+
rejectionReason?: string | undefined;
|
|
2616
|
+
receiptUrl?: string | null | undefined;
|
|
2617
|
+
statusHistory?: {
|
|
2618
|
+
id: string;
|
|
2619
|
+
createdAt: string;
|
|
2620
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
2621
|
+
actorId: string;
|
|
2622
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
2623
|
+
reason?: string | null | undefined;
|
|
2624
|
+
}[] | undefined;
|
|
2479
2625
|
};
|
|
2480
2626
|
}, {
|
|
2481
2627
|
id: string;
|
|
@@ -2503,7 +2649,33 @@ export declare const budgetContract: {
|
|
|
2503
2649
|
dueDate?: string | undefined;
|
|
2504
2650
|
approvedBy?: string | undefined;
|
|
2505
2651
|
approvedAt?: string | undefined;
|
|
2652
|
+
recorder?: {
|
|
2653
|
+
id: string;
|
|
2654
|
+
firstName?: string | null | undefined;
|
|
2655
|
+
lastName?: string | null | undefined;
|
|
2656
|
+
email?: string | undefined;
|
|
2657
|
+
name?: string | undefined;
|
|
2658
|
+
avatar?: string | null | undefined;
|
|
2659
|
+
} | undefined;
|
|
2660
|
+
approver?: {
|
|
2661
|
+
id: string;
|
|
2662
|
+
firstName?: string | null | undefined;
|
|
2663
|
+
lastName?: string | null | undefined;
|
|
2664
|
+
email?: string | undefined;
|
|
2665
|
+
name?: string | undefined;
|
|
2666
|
+
avatar?: string | null | undefined;
|
|
2667
|
+
} | undefined;
|
|
2506
2668
|
attachments?: string[] | undefined;
|
|
2669
|
+
rejectionReason?: string | undefined;
|
|
2670
|
+
receiptUrl?: string | null | undefined;
|
|
2671
|
+
statusHistory?: {
|
|
2672
|
+
id: string;
|
|
2673
|
+
createdAt: string;
|
|
2674
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
2675
|
+
actorId: string;
|
|
2676
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
2677
|
+
reason?: string | null | undefined;
|
|
2678
|
+
}[] | undefined;
|
|
2507
2679
|
};
|
|
2508
2680
|
}>, "many">;
|
|
2509
2681
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -2575,6 +2747,32 @@ export declare const budgetContract: {
|
|
|
2575
2747
|
dueDate?: string | undefined;
|
|
2576
2748
|
approvedBy?: string | undefined;
|
|
2577
2749
|
approvedAt?: string | undefined;
|
|
2750
|
+
recorder?: {
|
|
2751
|
+
id: string;
|
|
2752
|
+
firstName?: string | null | undefined;
|
|
2753
|
+
lastName?: string | null | undefined;
|
|
2754
|
+
email?: string | undefined;
|
|
2755
|
+
name?: string | undefined;
|
|
2756
|
+
avatar?: string | null | undefined;
|
|
2757
|
+
} | undefined;
|
|
2758
|
+
approver?: {
|
|
2759
|
+
id: string;
|
|
2760
|
+
firstName?: string | null | undefined;
|
|
2761
|
+
lastName?: string | null | undefined;
|
|
2762
|
+
email?: string | undefined;
|
|
2763
|
+
name?: string | undefined;
|
|
2764
|
+
avatar?: string | null | undefined;
|
|
2765
|
+
} | undefined;
|
|
2766
|
+
rejectionReason?: string | undefined;
|
|
2767
|
+
receiptUrl?: string | null | undefined;
|
|
2768
|
+
statusHistory?: {
|
|
2769
|
+
id: string;
|
|
2770
|
+
createdAt: string;
|
|
2771
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
2772
|
+
actorId: string;
|
|
2773
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
2774
|
+
reason?: string | null | undefined;
|
|
2775
|
+
}[] | undefined;
|
|
2578
2776
|
};
|
|
2579
2777
|
}[];
|
|
2580
2778
|
meta?: {
|
|
@@ -2619,7 +2817,33 @@ export declare const budgetContract: {
|
|
|
2619
2817
|
dueDate?: string | undefined;
|
|
2620
2818
|
approvedBy?: string | undefined;
|
|
2621
2819
|
approvedAt?: string | undefined;
|
|
2820
|
+
recorder?: {
|
|
2821
|
+
id: string;
|
|
2822
|
+
firstName?: string | null | undefined;
|
|
2823
|
+
lastName?: string | null | undefined;
|
|
2824
|
+
email?: string | undefined;
|
|
2825
|
+
name?: string | undefined;
|
|
2826
|
+
avatar?: string | null | undefined;
|
|
2827
|
+
} | undefined;
|
|
2828
|
+
approver?: {
|
|
2829
|
+
id: string;
|
|
2830
|
+
firstName?: string | null | undefined;
|
|
2831
|
+
lastName?: string | null | undefined;
|
|
2832
|
+
email?: string | undefined;
|
|
2833
|
+
name?: string | undefined;
|
|
2834
|
+
avatar?: string | null | undefined;
|
|
2835
|
+
} | undefined;
|
|
2622
2836
|
attachments?: string[] | undefined;
|
|
2837
|
+
rejectionReason?: string | undefined;
|
|
2838
|
+
receiptUrl?: string | null | undefined;
|
|
2839
|
+
statusHistory?: {
|
|
2840
|
+
id: string;
|
|
2841
|
+
createdAt: string;
|
|
2842
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
2843
|
+
actorId: string;
|
|
2844
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
2845
|
+
reason?: string | null | undefined;
|
|
2846
|
+
}[] | undefined;
|
|
2623
2847
|
};
|
|
2624
2848
|
}[];
|
|
2625
2849
|
meta?: {
|
|
@@ -2756,6 +2980,7 @@ export declare const budgetContract: {
|
|
|
2756
2980
|
purchaseOrderNumber: z.ZodOptional<z.ZodString>;
|
|
2757
2981
|
date: z.ZodString;
|
|
2758
2982
|
dueDate: z.ZodOptional<z.ZodString>;
|
|
2983
|
+
receiptUrl: z.ZodOptional<z.ZodString>;
|
|
2759
2984
|
attachments: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2760
2985
|
}, "strip", z.ZodTypeAny, {
|
|
2761
2986
|
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
@@ -2768,6 +2993,7 @@ export declare const budgetContract: {
|
|
|
2768
2993
|
invoiceNumber?: string | undefined;
|
|
2769
2994
|
purchaseOrderNumber?: string | undefined;
|
|
2770
2995
|
dueDate?: string | undefined;
|
|
2996
|
+
receiptUrl?: string | undefined;
|
|
2771
2997
|
}, {
|
|
2772
2998
|
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
2773
2999
|
date: string;
|
|
@@ -2779,6 +3005,7 @@ export declare const budgetContract: {
|
|
|
2779
3005
|
purchaseOrderNumber?: string | undefined;
|
|
2780
3006
|
dueDate?: string | undefined;
|
|
2781
3007
|
attachments?: string[] | undefined;
|
|
3008
|
+
receiptUrl?: string | undefined;
|
|
2782
3009
|
}>;
|
|
2783
3010
|
path: "/projects/:projectId/expenses";
|
|
2784
3011
|
responses: {
|
|
@@ -2810,7 +3037,75 @@ export declare const budgetContract: {
|
|
|
2810
3037
|
approvedBy: z.ZodOptional<z.ZodString>;
|
|
2811
3038
|
approvedAt: z.ZodOptional<z.ZodString>;
|
|
2812
3039
|
recordedBy: z.ZodString;
|
|
3040
|
+
recorder: z.ZodOptional<z.ZodObject<{
|
|
3041
|
+
id: z.ZodString;
|
|
3042
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3043
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3044
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3045
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3046
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3047
|
+
}, "strip", z.ZodTypeAny, {
|
|
3048
|
+
id: string;
|
|
3049
|
+
firstName?: string | null | undefined;
|
|
3050
|
+
lastName?: string | null | undefined;
|
|
3051
|
+
email?: string | undefined;
|
|
3052
|
+
name?: string | undefined;
|
|
3053
|
+
avatar?: string | null | undefined;
|
|
3054
|
+
}, {
|
|
3055
|
+
id: string;
|
|
3056
|
+
firstName?: string | null | undefined;
|
|
3057
|
+
lastName?: string | null | undefined;
|
|
3058
|
+
email?: string | undefined;
|
|
3059
|
+
name?: string | undefined;
|
|
3060
|
+
avatar?: string | null | undefined;
|
|
3061
|
+
}>>;
|
|
3062
|
+
approver: z.ZodOptional<z.ZodObject<{
|
|
3063
|
+
id: z.ZodString;
|
|
3064
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3065
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3066
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3067
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3068
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3069
|
+
}, "strip", z.ZodTypeAny, {
|
|
3070
|
+
id: string;
|
|
3071
|
+
firstName?: string | null | undefined;
|
|
3072
|
+
lastName?: string | null | undefined;
|
|
3073
|
+
email?: string | undefined;
|
|
3074
|
+
name?: string | undefined;
|
|
3075
|
+
avatar?: string | null | undefined;
|
|
3076
|
+
}, {
|
|
3077
|
+
id: string;
|
|
3078
|
+
firstName?: string | null | undefined;
|
|
3079
|
+
lastName?: string | null | undefined;
|
|
3080
|
+
email?: string | undefined;
|
|
3081
|
+
name?: string | undefined;
|
|
3082
|
+
avatar?: string | null | undefined;
|
|
3083
|
+
}>>;
|
|
2813
3084
|
attachments: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3085
|
+
rejectionReason: z.ZodOptional<z.ZodString>;
|
|
3086
|
+
receiptUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3087
|
+
statusHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3088
|
+
id: z.ZodString;
|
|
3089
|
+
fromStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>>>;
|
|
3090
|
+
toStatus: z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>;
|
|
3091
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3092
|
+
actorId: z.ZodString;
|
|
3093
|
+
createdAt: z.ZodString;
|
|
3094
|
+
}, "strip", z.ZodTypeAny, {
|
|
3095
|
+
id: string;
|
|
3096
|
+
createdAt: string;
|
|
3097
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3098
|
+
actorId: string;
|
|
3099
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3100
|
+
reason?: string | null | undefined;
|
|
3101
|
+
}, {
|
|
3102
|
+
id: string;
|
|
3103
|
+
createdAt: string;
|
|
3104
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3105
|
+
actorId: string;
|
|
3106
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3107
|
+
reason?: string | null | undefined;
|
|
3108
|
+
}>, "many">>;
|
|
2814
3109
|
}, "strip", z.ZodTypeAny, {
|
|
2815
3110
|
id: string;
|
|
2816
3111
|
createdAt: string;
|
|
@@ -2835,6 +3130,32 @@ export declare const budgetContract: {
|
|
|
2835
3130
|
dueDate?: string | undefined;
|
|
2836
3131
|
approvedBy?: string | undefined;
|
|
2837
3132
|
approvedAt?: string | undefined;
|
|
3133
|
+
recorder?: {
|
|
3134
|
+
id: string;
|
|
3135
|
+
firstName?: string | null | undefined;
|
|
3136
|
+
lastName?: string | null | undefined;
|
|
3137
|
+
email?: string | undefined;
|
|
3138
|
+
name?: string | undefined;
|
|
3139
|
+
avatar?: string | null | undefined;
|
|
3140
|
+
} | undefined;
|
|
3141
|
+
approver?: {
|
|
3142
|
+
id: string;
|
|
3143
|
+
firstName?: string | null | undefined;
|
|
3144
|
+
lastName?: string | null | undefined;
|
|
3145
|
+
email?: string | undefined;
|
|
3146
|
+
name?: string | undefined;
|
|
3147
|
+
avatar?: string | null | undefined;
|
|
3148
|
+
} | undefined;
|
|
3149
|
+
rejectionReason?: string | undefined;
|
|
3150
|
+
receiptUrl?: string | null | undefined;
|
|
3151
|
+
statusHistory?: {
|
|
3152
|
+
id: string;
|
|
3153
|
+
createdAt: string;
|
|
3154
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3155
|
+
actorId: string;
|
|
3156
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3157
|
+
reason?: string | null | undefined;
|
|
3158
|
+
}[] | undefined;
|
|
2838
3159
|
}, {
|
|
2839
3160
|
id: string;
|
|
2840
3161
|
createdAt: string;
|
|
@@ -2858,7 +3179,33 @@ export declare const budgetContract: {
|
|
|
2858
3179
|
dueDate?: string | undefined;
|
|
2859
3180
|
approvedBy?: string | undefined;
|
|
2860
3181
|
approvedAt?: string | undefined;
|
|
3182
|
+
recorder?: {
|
|
3183
|
+
id: string;
|
|
3184
|
+
firstName?: string | null | undefined;
|
|
3185
|
+
lastName?: string | null | undefined;
|
|
3186
|
+
email?: string | undefined;
|
|
3187
|
+
name?: string | undefined;
|
|
3188
|
+
avatar?: string | null | undefined;
|
|
3189
|
+
} | undefined;
|
|
3190
|
+
approver?: {
|
|
3191
|
+
id: string;
|
|
3192
|
+
firstName?: string | null | undefined;
|
|
3193
|
+
lastName?: string | null | undefined;
|
|
3194
|
+
email?: string | undefined;
|
|
3195
|
+
name?: string | undefined;
|
|
3196
|
+
avatar?: string | null | undefined;
|
|
3197
|
+
} | undefined;
|
|
2861
3198
|
attachments?: string[] | undefined;
|
|
3199
|
+
rejectionReason?: string | undefined;
|
|
3200
|
+
receiptUrl?: string | null | undefined;
|
|
3201
|
+
statusHistory?: {
|
|
3202
|
+
id: string;
|
|
3203
|
+
createdAt: string;
|
|
3204
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3205
|
+
actorId: string;
|
|
3206
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3207
|
+
reason?: string | null | undefined;
|
|
3208
|
+
}[] | undefined;
|
|
2862
3209
|
}>;
|
|
2863
3210
|
}, "strip", z.ZodTypeAny, {
|
|
2864
3211
|
id: string;
|
|
@@ -2887,6 +3234,32 @@ export declare const budgetContract: {
|
|
|
2887
3234
|
dueDate?: string | undefined;
|
|
2888
3235
|
approvedBy?: string | undefined;
|
|
2889
3236
|
approvedAt?: string | undefined;
|
|
3237
|
+
recorder?: {
|
|
3238
|
+
id: string;
|
|
3239
|
+
firstName?: string | null | undefined;
|
|
3240
|
+
lastName?: string | null | undefined;
|
|
3241
|
+
email?: string | undefined;
|
|
3242
|
+
name?: string | undefined;
|
|
3243
|
+
avatar?: string | null | undefined;
|
|
3244
|
+
} | undefined;
|
|
3245
|
+
approver?: {
|
|
3246
|
+
id: string;
|
|
3247
|
+
firstName?: string | null | undefined;
|
|
3248
|
+
lastName?: string | null | undefined;
|
|
3249
|
+
email?: string | undefined;
|
|
3250
|
+
name?: string | undefined;
|
|
3251
|
+
avatar?: string | null | undefined;
|
|
3252
|
+
} | undefined;
|
|
3253
|
+
rejectionReason?: string | undefined;
|
|
3254
|
+
receiptUrl?: string | null | undefined;
|
|
3255
|
+
statusHistory?: {
|
|
3256
|
+
id: string;
|
|
3257
|
+
createdAt: string;
|
|
3258
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3259
|
+
actorId: string;
|
|
3260
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3261
|
+
reason?: string | null | undefined;
|
|
3262
|
+
}[] | undefined;
|
|
2890
3263
|
};
|
|
2891
3264
|
}, {
|
|
2892
3265
|
id: string;
|
|
@@ -2914,7 +3287,33 @@ export declare const budgetContract: {
|
|
|
2914
3287
|
dueDate?: string | undefined;
|
|
2915
3288
|
approvedBy?: string | undefined;
|
|
2916
3289
|
approvedAt?: string | undefined;
|
|
3290
|
+
recorder?: {
|
|
3291
|
+
id: string;
|
|
3292
|
+
firstName?: string | null | undefined;
|
|
3293
|
+
lastName?: string | null | undefined;
|
|
3294
|
+
email?: string | undefined;
|
|
3295
|
+
name?: string | undefined;
|
|
3296
|
+
avatar?: string | null | undefined;
|
|
3297
|
+
} | undefined;
|
|
3298
|
+
approver?: {
|
|
3299
|
+
id: string;
|
|
3300
|
+
firstName?: string | null | undefined;
|
|
3301
|
+
lastName?: string | null | undefined;
|
|
3302
|
+
email?: string | undefined;
|
|
3303
|
+
name?: string | undefined;
|
|
3304
|
+
avatar?: string | null | undefined;
|
|
3305
|
+
} | undefined;
|
|
2917
3306
|
attachments?: string[] | undefined;
|
|
3307
|
+
rejectionReason?: string | undefined;
|
|
3308
|
+
receiptUrl?: string | null | undefined;
|
|
3309
|
+
statusHistory?: {
|
|
3310
|
+
id: string;
|
|
3311
|
+
createdAt: string;
|
|
3312
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3313
|
+
actorId: string;
|
|
3314
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3315
|
+
reason?: string | null | undefined;
|
|
3316
|
+
}[] | undefined;
|
|
2918
3317
|
};
|
|
2919
3318
|
}>;
|
|
2920
3319
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2981,6 +3380,32 @@ export declare const budgetContract: {
|
|
|
2981
3380
|
dueDate?: string | undefined;
|
|
2982
3381
|
approvedBy?: string | undefined;
|
|
2983
3382
|
approvedAt?: string | undefined;
|
|
3383
|
+
recorder?: {
|
|
3384
|
+
id: string;
|
|
3385
|
+
firstName?: string | null | undefined;
|
|
3386
|
+
lastName?: string | null | undefined;
|
|
3387
|
+
email?: string | undefined;
|
|
3388
|
+
name?: string | undefined;
|
|
3389
|
+
avatar?: string | null | undefined;
|
|
3390
|
+
} | undefined;
|
|
3391
|
+
approver?: {
|
|
3392
|
+
id: string;
|
|
3393
|
+
firstName?: string | null | undefined;
|
|
3394
|
+
lastName?: string | null | undefined;
|
|
3395
|
+
email?: string | undefined;
|
|
3396
|
+
name?: string | undefined;
|
|
3397
|
+
avatar?: string | null | undefined;
|
|
3398
|
+
} | undefined;
|
|
3399
|
+
rejectionReason?: string | undefined;
|
|
3400
|
+
receiptUrl?: string | null | undefined;
|
|
3401
|
+
statusHistory?: {
|
|
3402
|
+
id: string;
|
|
3403
|
+
createdAt: string;
|
|
3404
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3405
|
+
actorId: string;
|
|
3406
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3407
|
+
reason?: string | null | undefined;
|
|
3408
|
+
}[] | undefined;
|
|
2984
3409
|
};
|
|
2985
3410
|
};
|
|
2986
3411
|
meta?: Record<string, unknown> | undefined;
|
|
@@ -3024,7 +3449,33 @@ export declare const budgetContract: {
|
|
|
3024
3449
|
dueDate?: string | undefined;
|
|
3025
3450
|
approvedBy?: string | undefined;
|
|
3026
3451
|
approvedAt?: string | undefined;
|
|
3452
|
+
recorder?: {
|
|
3453
|
+
id: string;
|
|
3454
|
+
firstName?: string | null | undefined;
|
|
3455
|
+
lastName?: string | null | undefined;
|
|
3456
|
+
email?: string | undefined;
|
|
3457
|
+
name?: string | undefined;
|
|
3458
|
+
avatar?: string | null | undefined;
|
|
3459
|
+
} | undefined;
|
|
3460
|
+
approver?: {
|
|
3461
|
+
id: string;
|
|
3462
|
+
firstName?: string | null | undefined;
|
|
3463
|
+
lastName?: string | null | undefined;
|
|
3464
|
+
email?: string | undefined;
|
|
3465
|
+
name?: string | undefined;
|
|
3466
|
+
avatar?: string | null | undefined;
|
|
3467
|
+
} | undefined;
|
|
3027
3468
|
attachments?: string[] | undefined;
|
|
3469
|
+
rejectionReason?: string | undefined;
|
|
3470
|
+
receiptUrl?: string | null | undefined;
|
|
3471
|
+
statusHistory?: {
|
|
3472
|
+
id: string;
|
|
3473
|
+
createdAt: string;
|
|
3474
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3475
|
+
actorId: string;
|
|
3476
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3477
|
+
reason?: string | null | undefined;
|
|
3478
|
+
}[] | undefined;
|
|
3028
3479
|
};
|
|
3029
3480
|
};
|
|
3030
3481
|
meta?: Record<string, unknown> | undefined;
|
|
@@ -3212,7 +3663,75 @@ export declare const budgetContract: {
|
|
|
3212
3663
|
approvedBy: z.ZodOptional<z.ZodString>;
|
|
3213
3664
|
approvedAt: z.ZodOptional<z.ZodString>;
|
|
3214
3665
|
recordedBy: z.ZodString;
|
|
3666
|
+
recorder: z.ZodOptional<z.ZodObject<{
|
|
3667
|
+
id: z.ZodString;
|
|
3668
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3669
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3670
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3671
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3672
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3673
|
+
}, "strip", z.ZodTypeAny, {
|
|
3674
|
+
id: string;
|
|
3675
|
+
firstName?: string | null | undefined;
|
|
3676
|
+
lastName?: string | null | undefined;
|
|
3677
|
+
email?: string | undefined;
|
|
3678
|
+
name?: string | undefined;
|
|
3679
|
+
avatar?: string | null | undefined;
|
|
3680
|
+
}, {
|
|
3681
|
+
id: string;
|
|
3682
|
+
firstName?: string | null | undefined;
|
|
3683
|
+
lastName?: string | null | undefined;
|
|
3684
|
+
email?: string | undefined;
|
|
3685
|
+
name?: string | undefined;
|
|
3686
|
+
avatar?: string | null | undefined;
|
|
3687
|
+
}>>;
|
|
3688
|
+
approver: z.ZodOptional<z.ZodObject<{
|
|
3689
|
+
id: z.ZodString;
|
|
3690
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3691
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3692
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3693
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3694
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3695
|
+
}, "strip", z.ZodTypeAny, {
|
|
3696
|
+
id: string;
|
|
3697
|
+
firstName?: string | null | undefined;
|
|
3698
|
+
lastName?: string | null | undefined;
|
|
3699
|
+
email?: string | undefined;
|
|
3700
|
+
name?: string | undefined;
|
|
3701
|
+
avatar?: string | null | undefined;
|
|
3702
|
+
}, {
|
|
3703
|
+
id: string;
|
|
3704
|
+
firstName?: string | null | undefined;
|
|
3705
|
+
lastName?: string | null | undefined;
|
|
3706
|
+
email?: string | undefined;
|
|
3707
|
+
name?: string | undefined;
|
|
3708
|
+
avatar?: string | null | undefined;
|
|
3709
|
+
}>>;
|
|
3215
3710
|
attachments: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3711
|
+
rejectionReason: z.ZodOptional<z.ZodString>;
|
|
3712
|
+
receiptUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3713
|
+
statusHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3714
|
+
id: z.ZodString;
|
|
3715
|
+
fromStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>>>;
|
|
3716
|
+
toStatus: z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>;
|
|
3717
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3718
|
+
actorId: z.ZodString;
|
|
3719
|
+
createdAt: z.ZodString;
|
|
3720
|
+
}, "strip", z.ZodTypeAny, {
|
|
3721
|
+
id: string;
|
|
3722
|
+
createdAt: string;
|
|
3723
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3724
|
+
actorId: string;
|
|
3725
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3726
|
+
reason?: string | null | undefined;
|
|
3727
|
+
}, {
|
|
3728
|
+
id: string;
|
|
3729
|
+
createdAt: string;
|
|
3730
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3731
|
+
actorId: string;
|
|
3732
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3733
|
+
reason?: string | null | undefined;
|
|
3734
|
+
}>, "many">>;
|
|
3216
3735
|
}, "strip", z.ZodTypeAny, {
|
|
3217
3736
|
id: string;
|
|
3218
3737
|
createdAt: string;
|
|
@@ -3237,6 +3756,32 @@ export declare const budgetContract: {
|
|
|
3237
3756
|
dueDate?: string | undefined;
|
|
3238
3757
|
approvedBy?: string | undefined;
|
|
3239
3758
|
approvedAt?: string | undefined;
|
|
3759
|
+
recorder?: {
|
|
3760
|
+
id: string;
|
|
3761
|
+
firstName?: string | null | undefined;
|
|
3762
|
+
lastName?: string | null | undefined;
|
|
3763
|
+
email?: string | undefined;
|
|
3764
|
+
name?: string | undefined;
|
|
3765
|
+
avatar?: string | null | undefined;
|
|
3766
|
+
} | undefined;
|
|
3767
|
+
approver?: {
|
|
3768
|
+
id: string;
|
|
3769
|
+
firstName?: string | null | undefined;
|
|
3770
|
+
lastName?: string | null | undefined;
|
|
3771
|
+
email?: string | undefined;
|
|
3772
|
+
name?: string | undefined;
|
|
3773
|
+
avatar?: string | null | undefined;
|
|
3774
|
+
} | undefined;
|
|
3775
|
+
rejectionReason?: string | undefined;
|
|
3776
|
+
receiptUrl?: string | null | undefined;
|
|
3777
|
+
statusHistory?: {
|
|
3778
|
+
id: string;
|
|
3779
|
+
createdAt: string;
|
|
3780
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3781
|
+
actorId: string;
|
|
3782
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3783
|
+
reason?: string | null | undefined;
|
|
3784
|
+
}[] | undefined;
|
|
3240
3785
|
}, {
|
|
3241
3786
|
id: string;
|
|
3242
3787
|
createdAt: string;
|
|
@@ -3260,7 +3805,33 @@ export declare const budgetContract: {
|
|
|
3260
3805
|
dueDate?: string | undefined;
|
|
3261
3806
|
approvedBy?: string | undefined;
|
|
3262
3807
|
approvedAt?: string | undefined;
|
|
3808
|
+
recorder?: {
|
|
3809
|
+
id: string;
|
|
3810
|
+
firstName?: string | null | undefined;
|
|
3811
|
+
lastName?: string | null | undefined;
|
|
3812
|
+
email?: string | undefined;
|
|
3813
|
+
name?: string | undefined;
|
|
3814
|
+
avatar?: string | null | undefined;
|
|
3815
|
+
} | undefined;
|
|
3816
|
+
approver?: {
|
|
3817
|
+
id: string;
|
|
3818
|
+
firstName?: string | null | undefined;
|
|
3819
|
+
lastName?: string | null | undefined;
|
|
3820
|
+
email?: string | undefined;
|
|
3821
|
+
name?: string | undefined;
|
|
3822
|
+
avatar?: string | null | undefined;
|
|
3823
|
+
} | undefined;
|
|
3263
3824
|
attachments?: string[] | undefined;
|
|
3825
|
+
rejectionReason?: string | undefined;
|
|
3826
|
+
receiptUrl?: string | null | undefined;
|
|
3827
|
+
statusHistory?: {
|
|
3828
|
+
id: string;
|
|
3829
|
+
createdAt: string;
|
|
3830
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3831
|
+
actorId: string;
|
|
3832
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3833
|
+
reason?: string | null | undefined;
|
|
3834
|
+
}[] | undefined;
|
|
3264
3835
|
}>;
|
|
3265
3836
|
}, "strip", z.ZodTypeAny, {
|
|
3266
3837
|
id: string;
|
|
@@ -3289,6 +3860,32 @@ export declare const budgetContract: {
|
|
|
3289
3860
|
dueDate?: string | undefined;
|
|
3290
3861
|
approvedBy?: string | undefined;
|
|
3291
3862
|
approvedAt?: string | undefined;
|
|
3863
|
+
recorder?: {
|
|
3864
|
+
id: string;
|
|
3865
|
+
firstName?: string | null | undefined;
|
|
3866
|
+
lastName?: string | null | undefined;
|
|
3867
|
+
email?: string | undefined;
|
|
3868
|
+
name?: string | undefined;
|
|
3869
|
+
avatar?: string | null | undefined;
|
|
3870
|
+
} | undefined;
|
|
3871
|
+
approver?: {
|
|
3872
|
+
id: string;
|
|
3873
|
+
firstName?: string | null | undefined;
|
|
3874
|
+
lastName?: string | null | undefined;
|
|
3875
|
+
email?: string | undefined;
|
|
3876
|
+
name?: string | undefined;
|
|
3877
|
+
avatar?: string | null | undefined;
|
|
3878
|
+
} | undefined;
|
|
3879
|
+
rejectionReason?: string | undefined;
|
|
3880
|
+
receiptUrl?: string | null | undefined;
|
|
3881
|
+
statusHistory?: {
|
|
3882
|
+
id: string;
|
|
3883
|
+
createdAt: string;
|
|
3884
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3885
|
+
actorId: string;
|
|
3886
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3887
|
+
reason?: string | null | undefined;
|
|
3888
|
+
}[] | undefined;
|
|
3292
3889
|
};
|
|
3293
3890
|
}, {
|
|
3294
3891
|
id: string;
|
|
@@ -3316,7 +3913,33 @@ export declare const budgetContract: {
|
|
|
3316
3913
|
dueDate?: string | undefined;
|
|
3317
3914
|
approvedBy?: string | undefined;
|
|
3318
3915
|
approvedAt?: string | undefined;
|
|
3916
|
+
recorder?: {
|
|
3917
|
+
id: string;
|
|
3918
|
+
firstName?: string | null | undefined;
|
|
3919
|
+
lastName?: string | null | undefined;
|
|
3920
|
+
email?: string | undefined;
|
|
3921
|
+
name?: string | undefined;
|
|
3922
|
+
avatar?: string | null | undefined;
|
|
3923
|
+
} | undefined;
|
|
3924
|
+
approver?: {
|
|
3925
|
+
id: string;
|
|
3926
|
+
firstName?: string | null | undefined;
|
|
3927
|
+
lastName?: string | null | undefined;
|
|
3928
|
+
email?: string | undefined;
|
|
3929
|
+
name?: string | undefined;
|
|
3930
|
+
avatar?: string | null | undefined;
|
|
3931
|
+
} | undefined;
|
|
3319
3932
|
attachments?: string[] | undefined;
|
|
3933
|
+
rejectionReason?: string | undefined;
|
|
3934
|
+
receiptUrl?: string | null | undefined;
|
|
3935
|
+
statusHistory?: {
|
|
3936
|
+
id: string;
|
|
3937
|
+
createdAt: string;
|
|
3938
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3939
|
+
actorId: string;
|
|
3940
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
3941
|
+
reason?: string | null | undefined;
|
|
3942
|
+
}[] | undefined;
|
|
3320
3943
|
};
|
|
3321
3944
|
}>;
|
|
3322
3945
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -3383,6 +4006,32 @@ export declare const budgetContract: {
|
|
|
3383
4006
|
dueDate?: string | undefined;
|
|
3384
4007
|
approvedBy?: string | undefined;
|
|
3385
4008
|
approvedAt?: string | undefined;
|
|
4009
|
+
recorder?: {
|
|
4010
|
+
id: string;
|
|
4011
|
+
firstName?: string | null | undefined;
|
|
4012
|
+
lastName?: string | null | undefined;
|
|
4013
|
+
email?: string | undefined;
|
|
4014
|
+
name?: string | undefined;
|
|
4015
|
+
avatar?: string | null | undefined;
|
|
4016
|
+
} | undefined;
|
|
4017
|
+
approver?: {
|
|
4018
|
+
id: string;
|
|
4019
|
+
firstName?: string | null | undefined;
|
|
4020
|
+
lastName?: string | null | undefined;
|
|
4021
|
+
email?: string | undefined;
|
|
4022
|
+
name?: string | undefined;
|
|
4023
|
+
avatar?: string | null | undefined;
|
|
4024
|
+
} | undefined;
|
|
4025
|
+
rejectionReason?: string | undefined;
|
|
4026
|
+
receiptUrl?: string | null | undefined;
|
|
4027
|
+
statusHistory?: {
|
|
4028
|
+
id: string;
|
|
4029
|
+
createdAt: string;
|
|
4030
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4031
|
+
actorId: string;
|
|
4032
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4033
|
+
reason?: string | null | undefined;
|
|
4034
|
+
}[] | undefined;
|
|
3386
4035
|
};
|
|
3387
4036
|
};
|
|
3388
4037
|
meta?: Record<string, unknown> | undefined;
|
|
@@ -3426,7 +4075,33 @@ export declare const budgetContract: {
|
|
|
3426
4075
|
dueDate?: string | undefined;
|
|
3427
4076
|
approvedBy?: string | undefined;
|
|
3428
4077
|
approvedAt?: string | undefined;
|
|
4078
|
+
recorder?: {
|
|
4079
|
+
id: string;
|
|
4080
|
+
firstName?: string | null | undefined;
|
|
4081
|
+
lastName?: string | null | undefined;
|
|
4082
|
+
email?: string | undefined;
|
|
4083
|
+
name?: string | undefined;
|
|
4084
|
+
avatar?: string | null | undefined;
|
|
4085
|
+
} | undefined;
|
|
4086
|
+
approver?: {
|
|
4087
|
+
id: string;
|
|
4088
|
+
firstName?: string | null | undefined;
|
|
4089
|
+
lastName?: string | null | undefined;
|
|
4090
|
+
email?: string | undefined;
|
|
4091
|
+
name?: string | undefined;
|
|
4092
|
+
avatar?: string | null | undefined;
|
|
4093
|
+
} | undefined;
|
|
3429
4094
|
attachments?: string[] | undefined;
|
|
4095
|
+
rejectionReason?: string | undefined;
|
|
4096
|
+
receiptUrl?: string | null | undefined;
|
|
4097
|
+
statusHistory?: {
|
|
4098
|
+
id: string;
|
|
4099
|
+
createdAt: string;
|
|
4100
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4101
|
+
actorId: string;
|
|
4102
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4103
|
+
reason?: string | null | undefined;
|
|
4104
|
+
}[] | undefined;
|
|
3430
4105
|
};
|
|
3431
4106
|
};
|
|
3432
4107
|
meta?: Record<string, unknown> | undefined;
|
|
@@ -3559,6 +4234,8 @@ export declare const budgetContract: {
|
|
|
3559
4234
|
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
3560
4235
|
dueDate: z.ZodOptional<z.ZodString>;
|
|
3561
4236
|
status: z.ZodOptional<z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>>;
|
|
4237
|
+
rejectionReason: z.ZodOptional<z.ZodString>;
|
|
4238
|
+
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3562
4239
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3563
4240
|
}, "strip", z.ZodTypeAny, {
|
|
3564
4241
|
status?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | undefined;
|
|
@@ -3568,6 +4245,8 @@ export declare const budgetContract: {
|
|
|
3568
4245
|
invoiceNumber?: string | undefined;
|
|
3569
4246
|
dueDate?: string | undefined;
|
|
3570
4247
|
attachments?: string[] | undefined;
|
|
4248
|
+
rejectionReason?: string | undefined;
|
|
4249
|
+
receiptUrl?: string | null | undefined;
|
|
3571
4250
|
}, {
|
|
3572
4251
|
status?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | undefined;
|
|
3573
4252
|
description?: string | undefined;
|
|
@@ -3576,6 +4255,8 @@ export declare const budgetContract: {
|
|
|
3576
4255
|
invoiceNumber?: string | undefined;
|
|
3577
4256
|
dueDate?: string | undefined;
|
|
3578
4257
|
attachments?: string[] | undefined;
|
|
4258
|
+
rejectionReason?: string | undefined;
|
|
4259
|
+
receiptUrl?: string | null | undefined;
|
|
3579
4260
|
}>;
|
|
3580
4261
|
path: "/expenses/:expenseId";
|
|
3581
4262
|
responses: {
|
|
@@ -3607,7 +4288,75 @@ export declare const budgetContract: {
|
|
|
3607
4288
|
approvedBy: z.ZodOptional<z.ZodString>;
|
|
3608
4289
|
approvedAt: z.ZodOptional<z.ZodString>;
|
|
3609
4290
|
recordedBy: z.ZodString;
|
|
4291
|
+
recorder: z.ZodOptional<z.ZodObject<{
|
|
4292
|
+
id: z.ZodString;
|
|
4293
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4294
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4295
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4296
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4297
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4298
|
+
}, "strip", z.ZodTypeAny, {
|
|
4299
|
+
id: string;
|
|
4300
|
+
firstName?: string | null | undefined;
|
|
4301
|
+
lastName?: string | null | undefined;
|
|
4302
|
+
email?: string | undefined;
|
|
4303
|
+
name?: string | undefined;
|
|
4304
|
+
avatar?: string | null | undefined;
|
|
4305
|
+
}, {
|
|
4306
|
+
id: string;
|
|
4307
|
+
firstName?: string | null | undefined;
|
|
4308
|
+
lastName?: string | null | undefined;
|
|
4309
|
+
email?: string | undefined;
|
|
4310
|
+
name?: string | undefined;
|
|
4311
|
+
avatar?: string | null | undefined;
|
|
4312
|
+
}>>;
|
|
4313
|
+
approver: z.ZodOptional<z.ZodObject<{
|
|
4314
|
+
id: z.ZodString;
|
|
4315
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4316
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4317
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4318
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4319
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4320
|
+
}, "strip", z.ZodTypeAny, {
|
|
4321
|
+
id: string;
|
|
4322
|
+
firstName?: string | null | undefined;
|
|
4323
|
+
lastName?: string | null | undefined;
|
|
4324
|
+
email?: string | undefined;
|
|
4325
|
+
name?: string | undefined;
|
|
4326
|
+
avatar?: string | null | undefined;
|
|
4327
|
+
}, {
|
|
4328
|
+
id: string;
|
|
4329
|
+
firstName?: string | null | undefined;
|
|
4330
|
+
lastName?: string | null | undefined;
|
|
4331
|
+
email?: string | undefined;
|
|
4332
|
+
name?: string | undefined;
|
|
4333
|
+
avatar?: string | null | undefined;
|
|
4334
|
+
}>>;
|
|
3610
4335
|
attachments: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4336
|
+
rejectionReason: z.ZodOptional<z.ZodString>;
|
|
4337
|
+
receiptUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4338
|
+
statusHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4339
|
+
id: z.ZodString;
|
|
4340
|
+
fromStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>>>;
|
|
4341
|
+
toStatus: z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>;
|
|
4342
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4343
|
+
actorId: z.ZodString;
|
|
4344
|
+
createdAt: z.ZodString;
|
|
4345
|
+
}, "strip", z.ZodTypeAny, {
|
|
4346
|
+
id: string;
|
|
4347
|
+
createdAt: string;
|
|
4348
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4349
|
+
actorId: string;
|
|
4350
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4351
|
+
reason?: string | null | undefined;
|
|
4352
|
+
}, {
|
|
4353
|
+
id: string;
|
|
4354
|
+
createdAt: string;
|
|
4355
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4356
|
+
actorId: string;
|
|
4357
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4358
|
+
reason?: string | null | undefined;
|
|
4359
|
+
}>, "many">>;
|
|
3611
4360
|
}, "strip", z.ZodTypeAny, {
|
|
3612
4361
|
id: string;
|
|
3613
4362
|
createdAt: string;
|
|
@@ -3632,6 +4381,32 @@ export declare const budgetContract: {
|
|
|
3632
4381
|
dueDate?: string | undefined;
|
|
3633
4382
|
approvedBy?: string | undefined;
|
|
3634
4383
|
approvedAt?: string | undefined;
|
|
4384
|
+
recorder?: {
|
|
4385
|
+
id: string;
|
|
4386
|
+
firstName?: string | null | undefined;
|
|
4387
|
+
lastName?: string | null | undefined;
|
|
4388
|
+
email?: string | undefined;
|
|
4389
|
+
name?: string | undefined;
|
|
4390
|
+
avatar?: string | null | undefined;
|
|
4391
|
+
} | undefined;
|
|
4392
|
+
approver?: {
|
|
4393
|
+
id: string;
|
|
4394
|
+
firstName?: string | null | undefined;
|
|
4395
|
+
lastName?: string | null | undefined;
|
|
4396
|
+
email?: string | undefined;
|
|
4397
|
+
name?: string | undefined;
|
|
4398
|
+
avatar?: string | null | undefined;
|
|
4399
|
+
} | undefined;
|
|
4400
|
+
rejectionReason?: string | undefined;
|
|
4401
|
+
receiptUrl?: string | null | undefined;
|
|
4402
|
+
statusHistory?: {
|
|
4403
|
+
id: string;
|
|
4404
|
+
createdAt: string;
|
|
4405
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4406
|
+
actorId: string;
|
|
4407
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4408
|
+
reason?: string | null | undefined;
|
|
4409
|
+
}[] | undefined;
|
|
3635
4410
|
}, {
|
|
3636
4411
|
id: string;
|
|
3637
4412
|
createdAt: string;
|
|
@@ -3655,7 +4430,33 @@ export declare const budgetContract: {
|
|
|
3655
4430
|
dueDate?: string | undefined;
|
|
3656
4431
|
approvedBy?: string | undefined;
|
|
3657
4432
|
approvedAt?: string | undefined;
|
|
4433
|
+
recorder?: {
|
|
4434
|
+
id: string;
|
|
4435
|
+
firstName?: string | null | undefined;
|
|
4436
|
+
lastName?: string | null | undefined;
|
|
4437
|
+
email?: string | undefined;
|
|
4438
|
+
name?: string | undefined;
|
|
4439
|
+
avatar?: string | null | undefined;
|
|
4440
|
+
} | undefined;
|
|
4441
|
+
approver?: {
|
|
4442
|
+
id: string;
|
|
4443
|
+
firstName?: string | null | undefined;
|
|
4444
|
+
lastName?: string | null | undefined;
|
|
4445
|
+
email?: string | undefined;
|
|
4446
|
+
name?: string | undefined;
|
|
4447
|
+
avatar?: string | null | undefined;
|
|
4448
|
+
} | undefined;
|
|
3658
4449
|
attachments?: string[] | undefined;
|
|
4450
|
+
rejectionReason?: string | undefined;
|
|
4451
|
+
receiptUrl?: string | null | undefined;
|
|
4452
|
+
statusHistory?: {
|
|
4453
|
+
id: string;
|
|
4454
|
+
createdAt: string;
|
|
4455
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4456
|
+
actorId: string;
|
|
4457
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4458
|
+
reason?: string | null | undefined;
|
|
4459
|
+
}[] | undefined;
|
|
3659
4460
|
}>;
|
|
3660
4461
|
}, "strip", z.ZodTypeAny, {
|
|
3661
4462
|
id: string;
|
|
@@ -3684,37 +4485,1112 @@ export declare const budgetContract: {
|
|
|
3684
4485
|
dueDate?: string | undefined;
|
|
3685
4486
|
approvedBy?: string | undefined;
|
|
3686
4487
|
approvedAt?: string | undefined;
|
|
4488
|
+
recorder?: {
|
|
4489
|
+
id: string;
|
|
4490
|
+
firstName?: string | null | undefined;
|
|
4491
|
+
lastName?: string | null | undefined;
|
|
4492
|
+
email?: string | undefined;
|
|
4493
|
+
name?: string | undefined;
|
|
4494
|
+
avatar?: string | null | undefined;
|
|
4495
|
+
} | undefined;
|
|
4496
|
+
approver?: {
|
|
4497
|
+
id: string;
|
|
4498
|
+
firstName?: string | null | undefined;
|
|
4499
|
+
lastName?: string | null | undefined;
|
|
4500
|
+
email?: string | undefined;
|
|
4501
|
+
name?: string | undefined;
|
|
4502
|
+
avatar?: string | null | undefined;
|
|
4503
|
+
} | undefined;
|
|
4504
|
+
rejectionReason?: string | undefined;
|
|
4505
|
+
receiptUrl?: string | null | undefined;
|
|
4506
|
+
statusHistory?: {
|
|
4507
|
+
id: string;
|
|
4508
|
+
createdAt: string;
|
|
4509
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4510
|
+
actorId: string;
|
|
4511
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4512
|
+
reason?: string | null | undefined;
|
|
4513
|
+
}[] | undefined;
|
|
4514
|
+
};
|
|
4515
|
+
}, {
|
|
4516
|
+
id: string;
|
|
4517
|
+
type: "expenses";
|
|
4518
|
+
attributes: {
|
|
4519
|
+
id: string;
|
|
4520
|
+
createdAt: string;
|
|
4521
|
+
updatedAt: string;
|
|
4522
|
+
createdBy: string;
|
|
4523
|
+
companyId: string;
|
|
4524
|
+
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
4525
|
+
date: string;
|
|
4526
|
+
projectId: string;
|
|
4527
|
+
description: string;
|
|
4528
|
+
amount: number;
|
|
4529
|
+
recordedBy: string;
|
|
4530
|
+
updatedBy?: string | undefined;
|
|
4531
|
+
isActive?: boolean | undefined;
|
|
4532
|
+
isDeleted?: boolean | undefined;
|
|
4533
|
+
status?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | undefined;
|
|
4534
|
+
budgetItemId?: string | undefined;
|
|
4535
|
+
vendor?: string | undefined;
|
|
4536
|
+
invoiceNumber?: string | undefined;
|
|
4537
|
+
purchaseOrderNumber?: string | undefined;
|
|
4538
|
+
dueDate?: string | undefined;
|
|
4539
|
+
approvedBy?: string | undefined;
|
|
4540
|
+
approvedAt?: string | undefined;
|
|
4541
|
+
recorder?: {
|
|
4542
|
+
id: string;
|
|
4543
|
+
firstName?: string | null | undefined;
|
|
4544
|
+
lastName?: string | null | undefined;
|
|
4545
|
+
email?: string | undefined;
|
|
4546
|
+
name?: string | undefined;
|
|
4547
|
+
avatar?: string | null | undefined;
|
|
4548
|
+
} | undefined;
|
|
4549
|
+
approver?: {
|
|
4550
|
+
id: string;
|
|
4551
|
+
firstName?: string | null | undefined;
|
|
4552
|
+
lastName?: string | null | undefined;
|
|
4553
|
+
email?: string | undefined;
|
|
4554
|
+
name?: string | undefined;
|
|
4555
|
+
avatar?: string | null | undefined;
|
|
4556
|
+
} | undefined;
|
|
4557
|
+
attachments?: string[] | undefined;
|
|
4558
|
+
rejectionReason?: string | undefined;
|
|
4559
|
+
receiptUrl?: string | null | undefined;
|
|
4560
|
+
statusHistory?: {
|
|
4561
|
+
id: string;
|
|
4562
|
+
createdAt: string;
|
|
4563
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4564
|
+
actorId: string;
|
|
4565
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4566
|
+
reason?: string | null | undefined;
|
|
4567
|
+
}[] | undefined;
|
|
4568
|
+
};
|
|
4569
|
+
}>;
|
|
4570
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4571
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
4572
|
+
self: z.ZodString;
|
|
4573
|
+
first: z.ZodOptional<z.ZodString>;
|
|
4574
|
+
last: z.ZodOptional<z.ZodString>;
|
|
4575
|
+
prev: z.ZodOptional<z.ZodString>;
|
|
4576
|
+
next: z.ZodOptional<z.ZodString>;
|
|
4577
|
+
}, "strip", z.ZodTypeAny, {
|
|
4578
|
+
self: string;
|
|
4579
|
+
first?: string | undefined;
|
|
4580
|
+
last?: string | undefined;
|
|
4581
|
+
prev?: string | undefined;
|
|
4582
|
+
next?: string | undefined;
|
|
4583
|
+
}, {
|
|
4584
|
+
self: string;
|
|
4585
|
+
first?: string | undefined;
|
|
4586
|
+
last?: string | undefined;
|
|
4587
|
+
prev?: string | undefined;
|
|
4588
|
+
next?: string | undefined;
|
|
4589
|
+
}>>;
|
|
4590
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4591
|
+
status: z.ZodString;
|
|
4592
|
+
title: z.ZodString;
|
|
4593
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4594
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4595
|
+
}, "strip", z.ZodTypeAny, {
|
|
4596
|
+
status: string;
|
|
4597
|
+
title: string;
|
|
4598
|
+
detail?: string | undefined;
|
|
4599
|
+
meta?: Record<string, unknown> | undefined;
|
|
4600
|
+
}, {
|
|
4601
|
+
status: string;
|
|
4602
|
+
title: string;
|
|
4603
|
+
detail?: string | undefined;
|
|
4604
|
+
meta?: Record<string, unknown> | undefined;
|
|
4605
|
+
}>, "many">>;
|
|
4606
|
+
}, "strip", z.ZodTypeAny, {
|
|
4607
|
+
data: {
|
|
4608
|
+
id: string;
|
|
4609
|
+
type: "expenses";
|
|
4610
|
+
attributes: {
|
|
4611
|
+
id: string;
|
|
4612
|
+
createdAt: string;
|
|
4613
|
+
updatedAt: string;
|
|
4614
|
+
createdBy: string;
|
|
4615
|
+
companyId: string;
|
|
4616
|
+
isActive: boolean;
|
|
4617
|
+
isDeleted: boolean;
|
|
4618
|
+
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
4619
|
+
status: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4620
|
+
date: string;
|
|
4621
|
+
projectId: string;
|
|
4622
|
+
description: string;
|
|
4623
|
+
amount: number;
|
|
4624
|
+
recordedBy: string;
|
|
4625
|
+
attachments: string[];
|
|
4626
|
+
updatedBy?: string | undefined;
|
|
4627
|
+
budgetItemId?: string | undefined;
|
|
4628
|
+
vendor?: string | undefined;
|
|
4629
|
+
invoiceNumber?: string | undefined;
|
|
4630
|
+
purchaseOrderNumber?: string | undefined;
|
|
4631
|
+
dueDate?: string | undefined;
|
|
4632
|
+
approvedBy?: string | undefined;
|
|
4633
|
+
approvedAt?: string | undefined;
|
|
4634
|
+
recorder?: {
|
|
4635
|
+
id: string;
|
|
4636
|
+
firstName?: string | null | undefined;
|
|
4637
|
+
lastName?: string | null | undefined;
|
|
4638
|
+
email?: string | undefined;
|
|
4639
|
+
name?: string | undefined;
|
|
4640
|
+
avatar?: string | null | undefined;
|
|
4641
|
+
} | undefined;
|
|
4642
|
+
approver?: {
|
|
4643
|
+
id: string;
|
|
4644
|
+
firstName?: string | null | undefined;
|
|
4645
|
+
lastName?: string | null | undefined;
|
|
4646
|
+
email?: string | undefined;
|
|
4647
|
+
name?: string | undefined;
|
|
4648
|
+
avatar?: string | null | undefined;
|
|
4649
|
+
} | undefined;
|
|
4650
|
+
rejectionReason?: string | undefined;
|
|
4651
|
+
receiptUrl?: string | null | undefined;
|
|
4652
|
+
statusHistory?: {
|
|
4653
|
+
id: string;
|
|
4654
|
+
createdAt: string;
|
|
4655
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4656
|
+
actorId: string;
|
|
4657
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4658
|
+
reason?: string | null | undefined;
|
|
4659
|
+
}[] | undefined;
|
|
4660
|
+
};
|
|
4661
|
+
};
|
|
4662
|
+
meta?: Record<string, unknown> | undefined;
|
|
4663
|
+
links?: {
|
|
4664
|
+
self: string;
|
|
4665
|
+
first?: string | undefined;
|
|
4666
|
+
last?: string | undefined;
|
|
4667
|
+
prev?: string | undefined;
|
|
4668
|
+
next?: string | undefined;
|
|
4669
|
+
} | undefined;
|
|
4670
|
+
errors?: {
|
|
4671
|
+
status: string;
|
|
4672
|
+
title: string;
|
|
4673
|
+
detail?: string | undefined;
|
|
4674
|
+
meta?: Record<string, unknown> | undefined;
|
|
4675
|
+
}[] | undefined;
|
|
4676
|
+
}, {
|
|
4677
|
+
data: {
|
|
4678
|
+
id: string;
|
|
4679
|
+
type: "expenses";
|
|
4680
|
+
attributes: {
|
|
4681
|
+
id: string;
|
|
4682
|
+
createdAt: string;
|
|
4683
|
+
updatedAt: string;
|
|
4684
|
+
createdBy: string;
|
|
4685
|
+
companyId: string;
|
|
4686
|
+
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
4687
|
+
date: string;
|
|
4688
|
+
projectId: string;
|
|
4689
|
+
description: string;
|
|
4690
|
+
amount: number;
|
|
4691
|
+
recordedBy: string;
|
|
4692
|
+
updatedBy?: string | undefined;
|
|
4693
|
+
isActive?: boolean | undefined;
|
|
4694
|
+
isDeleted?: boolean | undefined;
|
|
4695
|
+
status?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | undefined;
|
|
4696
|
+
budgetItemId?: string | undefined;
|
|
4697
|
+
vendor?: string | undefined;
|
|
4698
|
+
invoiceNumber?: string | undefined;
|
|
4699
|
+
purchaseOrderNumber?: string | undefined;
|
|
4700
|
+
dueDate?: string | undefined;
|
|
4701
|
+
approvedBy?: string | undefined;
|
|
4702
|
+
approvedAt?: string | undefined;
|
|
4703
|
+
recorder?: {
|
|
4704
|
+
id: string;
|
|
4705
|
+
firstName?: string | null | undefined;
|
|
4706
|
+
lastName?: string | null | undefined;
|
|
4707
|
+
email?: string | undefined;
|
|
4708
|
+
name?: string | undefined;
|
|
4709
|
+
avatar?: string | null | undefined;
|
|
4710
|
+
} | undefined;
|
|
4711
|
+
approver?: {
|
|
4712
|
+
id: string;
|
|
4713
|
+
firstName?: string | null | undefined;
|
|
4714
|
+
lastName?: string | null | undefined;
|
|
4715
|
+
email?: string | undefined;
|
|
4716
|
+
name?: string | undefined;
|
|
4717
|
+
avatar?: string | null | undefined;
|
|
4718
|
+
} | undefined;
|
|
4719
|
+
attachments?: string[] | undefined;
|
|
4720
|
+
rejectionReason?: string | undefined;
|
|
4721
|
+
receiptUrl?: string | null | undefined;
|
|
4722
|
+
statusHistory?: {
|
|
4723
|
+
id: string;
|
|
4724
|
+
createdAt: string;
|
|
4725
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4726
|
+
actorId: string;
|
|
4727
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4728
|
+
reason?: string | null | undefined;
|
|
4729
|
+
}[] | undefined;
|
|
4730
|
+
};
|
|
4731
|
+
};
|
|
4732
|
+
meta?: Record<string, unknown> | undefined;
|
|
4733
|
+
links?: {
|
|
4734
|
+
self: string;
|
|
4735
|
+
first?: string | undefined;
|
|
4736
|
+
last?: string | undefined;
|
|
4737
|
+
prev?: string | undefined;
|
|
4738
|
+
next?: string | undefined;
|
|
4739
|
+
} | undefined;
|
|
4740
|
+
errors?: {
|
|
4741
|
+
status: string;
|
|
4742
|
+
title: string;
|
|
4743
|
+
detail?: string | undefined;
|
|
4744
|
+
meta?: Record<string, unknown> | undefined;
|
|
4745
|
+
}[] | undefined;
|
|
4746
|
+
}>;
|
|
4747
|
+
400: z.ZodObject<{
|
|
4748
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4749
|
+
status: z.ZodString;
|
|
4750
|
+
title: z.ZodString;
|
|
4751
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4752
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4753
|
+
}, "strip", z.ZodTypeAny, {
|
|
4754
|
+
status: string;
|
|
4755
|
+
title: string;
|
|
4756
|
+
detail?: string | undefined;
|
|
4757
|
+
meta?: Record<string, unknown> | undefined;
|
|
4758
|
+
}, {
|
|
4759
|
+
status: string;
|
|
4760
|
+
title: string;
|
|
4761
|
+
detail?: string | undefined;
|
|
4762
|
+
meta?: Record<string, unknown> | undefined;
|
|
4763
|
+
}>, "many">;
|
|
4764
|
+
}, "strip", z.ZodTypeAny, {
|
|
4765
|
+
errors: {
|
|
4766
|
+
status: string;
|
|
4767
|
+
title: string;
|
|
4768
|
+
detail?: string | undefined;
|
|
4769
|
+
meta?: Record<string, unknown> | undefined;
|
|
4770
|
+
}[];
|
|
4771
|
+
}, {
|
|
4772
|
+
errors: {
|
|
4773
|
+
status: string;
|
|
4774
|
+
title: string;
|
|
4775
|
+
detail?: string | undefined;
|
|
4776
|
+
meta?: Record<string, unknown> | undefined;
|
|
4777
|
+
}[];
|
|
4778
|
+
}>;
|
|
4779
|
+
401: z.ZodObject<{
|
|
4780
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4781
|
+
status: z.ZodString;
|
|
4782
|
+
title: z.ZodString;
|
|
4783
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4784
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4785
|
+
}, "strip", z.ZodTypeAny, {
|
|
4786
|
+
status: string;
|
|
4787
|
+
title: string;
|
|
4788
|
+
detail?: string | undefined;
|
|
4789
|
+
meta?: Record<string, unknown> | undefined;
|
|
4790
|
+
}, {
|
|
4791
|
+
status: string;
|
|
4792
|
+
title: string;
|
|
4793
|
+
detail?: string | undefined;
|
|
4794
|
+
meta?: Record<string, unknown> | undefined;
|
|
4795
|
+
}>, "many">;
|
|
4796
|
+
}, "strip", z.ZodTypeAny, {
|
|
4797
|
+
errors: {
|
|
4798
|
+
status: string;
|
|
4799
|
+
title: string;
|
|
4800
|
+
detail?: string | undefined;
|
|
4801
|
+
meta?: Record<string, unknown> | undefined;
|
|
4802
|
+
}[];
|
|
4803
|
+
}, {
|
|
4804
|
+
errors: {
|
|
4805
|
+
status: string;
|
|
4806
|
+
title: string;
|
|
4807
|
+
detail?: string | undefined;
|
|
4808
|
+
meta?: Record<string, unknown> | undefined;
|
|
4809
|
+
}[];
|
|
4810
|
+
}>;
|
|
4811
|
+
403: z.ZodObject<{
|
|
4812
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4813
|
+
status: z.ZodString;
|
|
4814
|
+
title: z.ZodString;
|
|
4815
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4816
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4817
|
+
}, "strip", z.ZodTypeAny, {
|
|
4818
|
+
status: string;
|
|
4819
|
+
title: string;
|
|
4820
|
+
detail?: string | undefined;
|
|
4821
|
+
meta?: Record<string, unknown> | undefined;
|
|
4822
|
+
}, {
|
|
4823
|
+
status: string;
|
|
4824
|
+
title: string;
|
|
4825
|
+
detail?: string | undefined;
|
|
4826
|
+
meta?: Record<string, unknown> | undefined;
|
|
4827
|
+
}>, "many">;
|
|
4828
|
+
}, "strip", z.ZodTypeAny, {
|
|
4829
|
+
errors: {
|
|
4830
|
+
status: string;
|
|
4831
|
+
title: string;
|
|
4832
|
+
detail?: string | undefined;
|
|
4833
|
+
meta?: Record<string, unknown> | undefined;
|
|
4834
|
+
}[];
|
|
4835
|
+
}, {
|
|
4836
|
+
errors: {
|
|
4837
|
+
status: string;
|
|
4838
|
+
title: string;
|
|
4839
|
+
detail?: string | undefined;
|
|
4840
|
+
meta?: Record<string, unknown> | undefined;
|
|
4841
|
+
}[];
|
|
4842
|
+
}>;
|
|
4843
|
+
404: z.ZodObject<{
|
|
4844
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4845
|
+
status: z.ZodString;
|
|
4846
|
+
title: z.ZodString;
|
|
4847
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4848
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4849
|
+
}, "strip", z.ZodTypeAny, {
|
|
4850
|
+
status: string;
|
|
4851
|
+
title: string;
|
|
4852
|
+
detail?: string | undefined;
|
|
4853
|
+
meta?: Record<string, unknown> | undefined;
|
|
4854
|
+
}, {
|
|
4855
|
+
status: string;
|
|
4856
|
+
title: string;
|
|
4857
|
+
detail?: string | undefined;
|
|
4858
|
+
meta?: Record<string, unknown> | undefined;
|
|
4859
|
+
}>, "many">;
|
|
4860
|
+
}, "strip", z.ZodTypeAny, {
|
|
4861
|
+
errors: {
|
|
4862
|
+
status: string;
|
|
4863
|
+
title: string;
|
|
4864
|
+
detail?: string | undefined;
|
|
4865
|
+
meta?: Record<string, unknown> | undefined;
|
|
4866
|
+
}[];
|
|
4867
|
+
}, {
|
|
4868
|
+
errors: {
|
|
4869
|
+
status: string;
|
|
4870
|
+
title: string;
|
|
4871
|
+
detail?: string | undefined;
|
|
4872
|
+
meta?: Record<string, unknown> | undefined;
|
|
4873
|
+
}[];
|
|
4874
|
+
}>;
|
|
4875
|
+
};
|
|
4876
|
+
};
|
|
4877
|
+
rejectExpense: {
|
|
4878
|
+
pathParams: z.ZodObject<{
|
|
4879
|
+
expenseId: z.ZodString;
|
|
4880
|
+
}, "strip", z.ZodTypeAny, {
|
|
4881
|
+
expenseId: string;
|
|
4882
|
+
}, {
|
|
4883
|
+
expenseId: string;
|
|
4884
|
+
}>;
|
|
4885
|
+
summary: "Reject an expense with a required reason";
|
|
4886
|
+
method: "POST";
|
|
4887
|
+
body: z.ZodObject<{
|
|
4888
|
+
reason: z.ZodString;
|
|
4889
|
+
}, "strip", z.ZodTypeAny, {
|
|
4890
|
+
reason: string;
|
|
4891
|
+
}, {
|
|
4892
|
+
reason: string;
|
|
4893
|
+
}>;
|
|
4894
|
+
path: "/expenses/:expenseId/reject";
|
|
4895
|
+
responses: {
|
|
4896
|
+
200: z.ZodObject<{
|
|
4897
|
+
data: z.ZodObject<{
|
|
4898
|
+
type: z.ZodLiteral<"expenses">;
|
|
4899
|
+
id: z.ZodString;
|
|
4900
|
+
attributes: z.ZodObject<{
|
|
4901
|
+
id: z.ZodString;
|
|
4902
|
+
createdAt: z.ZodString;
|
|
4903
|
+
updatedAt: z.ZodString;
|
|
4904
|
+
createdBy: z.ZodString;
|
|
4905
|
+
updatedBy: z.ZodOptional<z.ZodString>;
|
|
4906
|
+
companyId: z.ZodString;
|
|
4907
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
4908
|
+
isDeleted: z.ZodDefault<z.ZodBoolean>;
|
|
4909
|
+
} & {
|
|
4910
|
+
projectId: z.ZodString;
|
|
4911
|
+
budgetItemId: z.ZodOptional<z.ZodString>;
|
|
4912
|
+
type: z.ZodEnum<["INVOICE", "PURCHASE_ORDER", "MATERIAL_COST", "LABOR_COST", "EQUIPMENT_RENTAL", "SUBCONTRACTOR_PAYMENT", "OTHER"]>;
|
|
4913
|
+
description: z.ZodString;
|
|
4914
|
+
amount: z.ZodNumber;
|
|
4915
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
4916
|
+
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
4917
|
+
purchaseOrderNumber: z.ZodOptional<z.ZodString>;
|
|
4918
|
+
date: z.ZodString;
|
|
4919
|
+
dueDate: z.ZodOptional<z.ZodString>;
|
|
4920
|
+
status: z.ZodDefault<z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>>;
|
|
4921
|
+
approvedBy: z.ZodOptional<z.ZodString>;
|
|
4922
|
+
approvedAt: z.ZodOptional<z.ZodString>;
|
|
4923
|
+
recordedBy: z.ZodString;
|
|
4924
|
+
recorder: z.ZodOptional<z.ZodObject<{
|
|
4925
|
+
id: z.ZodString;
|
|
4926
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4927
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4928
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4929
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4930
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4931
|
+
}, "strip", z.ZodTypeAny, {
|
|
4932
|
+
id: string;
|
|
4933
|
+
firstName?: string | null | undefined;
|
|
4934
|
+
lastName?: string | null | undefined;
|
|
4935
|
+
email?: string | undefined;
|
|
4936
|
+
name?: string | undefined;
|
|
4937
|
+
avatar?: string | null | undefined;
|
|
4938
|
+
}, {
|
|
4939
|
+
id: string;
|
|
4940
|
+
firstName?: string | null | undefined;
|
|
4941
|
+
lastName?: string | null | undefined;
|
|
4942
|
+
email?: string | undefined;
|
|
4943
|
+
name?: string | undefined;
|
|
4944
|
+
avatar?: string | null | undefined;
|
|
4945
|
+
}>>;
|
|
4946
|
+
approver: z.ZodOptional<z.ZodObject<{
|
|
4947
|
+
id: z.ZodString;
|
|
4948
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4949
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4950
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4951
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4952
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4953
|
+
}, "strip", z.ZodTypeAny, {
|
|
4954
|
+
id: string;
|
|
4955
|
+
firstName?: string | null | undefined;
|
|
4956
|
+
lastName?: string | null | undefined;
|
|
4957
|
+
email?: string | undefined;
|
|
4958
|
+
name?: string | undefined;
|
|
4959
|
+
avatar?: string | null | undefined;
|
|
4960
|
+
}, {
|
|
4961
|
+
id: string;
|
|
4962
|
+
firstName?: string | null | undefined;
|
|
4963
|
+
lastName?: string | null | undefined;
|
|
4964
|
+
email?: string | undefined;
|
|
4965
|
+
name?: string | undefined;
|
|
4966
|
+
avatar?: string | null | undefined;
|
|
4967
|
+
}>>;
|
|
4968
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4969
|
+
rejectionReason: z.ZodOptional<z.ZodString>;
|
|
4970
|
+
receiptUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4971
|
+
statusHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4972
|
+
id: z.ZodString;
|
|
4973
|
+
fromStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>>>;
|
|
4974
|
+
toStatus: z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>;
|
|
4975
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4976
|
+
actorId: z.ZodString;
|
|
4977
|
+
createdAt: z.ZodString;
|
|
4978
|
+
}, "strip", z.ZodTypeAny, {
|
|
4979
|
+
id: string;
|
|
4980
|
+
createdAt: string;
|
|
4981
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4982
|
+
actorId: string;
|
|
4983
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4984
|
+
reason?: string | null | undefined;
|
|
4985
|
+
}, {
|
|
4986
|
+
id: string;
|
|
4987
|
+
createdAt: string;
|
|
4988
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
4989
|
+
actorId: string;
|
|
4990
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
4991
|
+
reason?: string | null | undefined;
|
|
4992
|
+
}>, "many">>;
|
|
4993
|
+
}, "strip", z.ZodTypeAny, {
|
|
4994
|
+
id: string;
|
|
4995
|
+
createdAt: string;
|
|
4996
|
+
updatedAt: string;
|
|
4997
|
+
createdBy: string;
|
|
4998
|
+
companyId: string;
|
|
4999
|
+
isActive: boolean;
|
|
5000
|
+
isDeleted: boolean;
|
|
5001
|
+
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
5002
|
+
status: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5003
|
+
date: string;
|
|
5004
|
+
projectId: string;
|
|
5005
|
+
description: string;
|
|
5006
|
+
amount: number;
|
|
5007
|
+
recordedBy: string;
|
|
5008
|
+
attachments: string[];
|
|
5009
|
+
updatedBy?: string | undefined;
|
|
5010
|
+
budgetItemId?: string | undefined;
|
|
5011
|
+
vendor?: string | undefined;
|
|
5012
|
+
invoiceNumber?: string | undefined;
|
|
5013
|
+
purchaseOrderNumber?: string | undefined;
|
|
5014
|
+
dueDate?: string | undefined;
|
|
5015
|
+
approvedBy?: string | undefined;
|
|
5016
|
+
approvedAt?: string | undefined;
|
|
5017
|
+
recorder?: {
|
|
5018
|
+
id: string;
|
|
5019
|
+
firstName?: string | null | undefined;
|
|
5020
|
+
lastName?: string | null | undefined;
|
|
5021
|
+
email?: string | undefined;
|
|
5022
|
+
name?: string | undefined;
|
|
5023
|
+
avatar?: string | null | undefined;
|
|
5024
|
+
} | undefined;
|
|
5025
|
+
approver?: {
|
|
5026
|
+
id: string;
|
|
5027
|
+
firstName?: string | null | undefined;
|
|
5028
|
+
lastName?: string | null | undefined;
|
|
5029
|
+
email?: string | undefined;
|
|
5030
|
+
name?: string | undefined;
|
|
5031
|
+
avatar?: string | null | undefined;
|
|
5032
|
+
} | undefined;
|
|
5033
|
+
rejectionReason?: string | undefined;
|
|
5034
|
+
receiptUrl?: string | null | undefined;
|
|
5035
|
+
statusHistory?: {
|
|
5036
|
+
id: string;
|
|
5037
|
+
createdAt: string;
|
|
5038
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5039
|
+
actorId: string;
|
|
5040
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5041
|
+
reason?: string | null | undefined;
|
|
5042
|
+
}[] | undefined;
|
|
5043
|
+
}, {
|
|
5044
|
+
id: string;
|
|
5045
|
+
createdAt: string;
|
|
5046
|
+
updatedAt: string;
|
|
5047
|
+
createdBy: string;
|
|
5048
|
+
companyId: string;
|
|
5049
|
+
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
5050
|
+
date: string;
|
|
5051
|
+
projectId: string;
|
|
5052
|
+
description: string;
|
|
5053
|
+
amount: number;
|
|
5054
|
+
recordedBy: string;
|
|
5055
|
+
updatedBy?: string | undefined;
|
|
5056
|
+
isActive?: boolean | undefined;
|
|
5057
|
+
isDeleted?: boolean | undefined;
|
|
5058
|
+
status?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | undefined;
|
|
5059
|
+
budgetItemId?: string | undefined;
|
|
5060
|
+
vendor?: string | undefined;
|
|
5061
|
+
invoiceNumber?: string | undefined;
|
|
5062
|
+
purchaseOrderNumber?: string | undefined;
|
|
5063
|
+
dueDate?: string | undefined;
|
|
5064
|
+
approvedBy?: string | undefined;
|
|
5065
|
+
approvedAt?: string | undefined;
|
|
5066
|
+
recorder?: {
|
|
5067
|
+
id: string;
|
|
5068
|
+
firstName?: string | null | undefined;
|
|
5069
|
+
lastName?: string | null | undefined;
|
|
5070
|
+
email?: string | undefined;
|
|
5071
|
+
name?: string | undefined;
|
|
5072
|
+
avatar?: string | null | undefined;
|
|
5073
|
+
} | undefined;
|
|
5074
|
+
approver?: {
|
|
5075
|
+
id: string;
|
|
5076
|
+
firstName?: string | null | undefined;
|
|
5077
|
+
lastName?: string | null | undefined;
|
|
5078
|
+
email?: string | undefined;
|
|
5079
|
+
name?: string | undefined;
|
|
5080
|
+
avatar?: string | null | undefined;
|
|
5081
|
+
} | undefined;
|
|
5082
|
+
attachments?: string[] | undefined;
|
|
5083
|
+
rejectionReason?: string | undefined;
|
|
5084
|
+
receiptUrl?: string | null | undefined;
|
|
5085
|
+
statusHistory?: {
|
|
5086
|
+
id: string;
|
|
5087
|
+
createdAt: string;
|
|
5088
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5089
|
+
actorId: string;
|
|
5090
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5091
|
+
reason?: string | null | undefined;
|
|
5092
|
+
}[] | undefined;
|
|
5093
|
+
}>;
|
|
5094
|
+
}, "strip", z.ZodTypeAny, {
|
|
5095
|
+
id: string;
|
|
5096
|
+
type: "expenses";
|
|
5097
|
+
attributes: {
|
|
5098
|
+
id: string;
|
|
5099
|
+
createdAt: string;
|
|
5100
|
+
updatedAt: string;
|
|
5101
|
+
createdBy: string;
|
|
5102
|
+
companyId: string;
|
|
5103
|
+
isActive: boolean;
|
|
5104
|
+
isDeleted: boolean;
|
|
5105
|
+
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
5106
|
+
status: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5107
|
+
date: string;
|
|
5108
|
+
projectId: string;
|
|
5109
|
+
description: string;
|
|
5110
|
+
amount: number;
|
|
5111
|
+
recordedBy: string;
|
|
5112
|
+
attachments: string[];
|
|
5113
|
+
updatedBy?: string | undefined;
|
|
5114
|
+
budgetItemId?: string | undefined;
|
|
5115
|
+
vendor?: string | undefined;
|
|
5116
|
+
invoiceNumber?: string | undefined;
|
|
5117
|
+
purchaseOrderNumber?: string | undefined;
|
|
5118
|
+
dueDate?: string | undefined;
|
|
5119
|
+
approvedBy?: string | undefined;
|
|
5120
|
+
approvedAt?: string | undefined;
|
|
5121
|
+
recorder?: {
|
|
5122
|
+
id: string;
|
|
5123
|
+
firstName?: string | null | undefined;
|
|
5124
|
+
lastName?: string | null | undefined;
|
|
5125
|
+
email?: string | undefined;
|
|
5126
|
+
name?: string | undefined;
|
|
5127
|
+
avatar?: string | null | undefined;
|
|
5128
|
+
} | undefined;
|
|
5129
|
+
approver?: {
|
|
5130
|
+
id: string;
|
|
5131
|
+
firstName?: string | null | undefined;
|
|
5132
|
+
lastName?: string | null | undefined;
|
|
5133
|
+
email?: string | undefined;
|
|
5134
|
+
name?: string | undefined;
|
|
5135
|
+
avatar?: string | null | undefined;
|
|
5136
|
+
} | undefined;
|
|
5137
|
+
rejectionReason?: string | undefined;
|
|
5138
|
+
receiptUrl?: string | null | undefined;
|
|
5139
|
+
statusHistory?: {
|
|
5140
|
+
id: string;
|
|
5141
|
+
createdAt: string;
|
|
5142
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5143
|
+
actorId: string;
|
|
5144
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5145
|
+
reason?: string | null | undefined;
|
|
5146
|
+
}[] | undefined;
|
|
5147
|
+
};
|
|
5148
|
+
}, {
|
|
5149
|
+
id: string;
|
|
5150
|
+
type: "expenses";
|
|
5151
|
+
attributes: {
|
|
5152
|
+
id: string;
|
|
5153
|
+
createdAt: string;
|
|
5154
|
+
updatedAt: string;
|
|
5155
|
+
createdBy: string;
|
|
5156
|
+
companyId: string;
|
|
5157
|
+
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
5158
|
+
date: string;
|
|
5159
|
+
projectId: string;
|
|
5160
|
+
description: string;
|
|
5161
|
+
amount: number;
|
|
5162
|
+
recordedBy: string;
|
|
5163
|
+
updatedBy?: string | undefined;
|
|
5164
|
+
isActive?: boolean | undefined;
|
|
5165
|
+
isDeleted?: boolean | undefined;
|
|
5166
|
+
status?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | undefined;
|
|
5167
|
+
budgetItemId?: string | undefined;
|
|
5168
|
+
vendor?: string | undefined;
|
|
5169
|
+
invoiceNumber?: string | undefined;
|
|
5170
|
+
purchaseOrderNumber?: string | undefined;
|
|
5171
|
+
dueDate?: string | undefined;
|
|
5172
|
+
approvedBy?: string | undefined;
|
|
5173
|
+
approvedAt?: string | undefined;
|
|
5174
|
+
recorder?: {
|
|
5175
|
+
id: string;
|
|
5176
|
+
firstName?: string | null | undefined;
|
|
5177
|
+
lastName?: string | null | undefined;
|
|
5178
|
+
email?: string | undefined;
|
|
5179
|
+
name?: string | undefined;
|
|
5180
|
+
avatar?: string | null | undefined;
|
|
5181
|
+
} | undefined;
|
|
5182
|
+
approver?: {
|
|
5183
|
+
id: string;
|
|
5184
|
+
firstName?: string | null | undefined;
|
|
5185
|
+
lastName?: string | null | undefined;
|
|
5186
|
+
email?: string | undefined;
|
|
5187
|
+
name?: string | undefined;
|
|
5188
|
+
avatar?: string | null | undefined;
|
|
5189
|
+
} | undefined;
|
|
5190
|
+
attachments?: string[] | undefined;
|
|
5191
|
+
rejectionReason?: string | undefined;
|
|
5192
|
+
receiptUrl?: string | null | undefined;
|
|
5193
|
+
statusHistory?: {
|
|
5194
|
+
id: string;
|
|
5195
|
+
createdAt: string;
|
|
5196
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5197
|
+
actorId: string;
|
|
5198
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5199
|
+
reason?: string | null | undefined;
|
|
5200
|
+
}[] | undefined;
|
|
5201
|
+
};
|
|
5202
|
+
}>;
|
|
5203
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5204
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
5205
|
+
self: z.ZodString;
|
|
5206
|
+
first: z.ZodOptional<z.ZodString>;
|
|
5207
|
+
last: z.ZodOptional<z.ZodString>;
|
|
5208
|
+
prev: z.ZodOptional<z.ZodString>;
|
|
5209
|
+
next: z.ZodOptional<z.ZodString>;
|
|
5210
|
+
}, "strip", z.ZodTypeAny, {
|
|
5211
|
+
self: string;
|
|
5212
|
+
first?: string | undefined;
|
|
5213
|
+
last?: string | undefined;
|
|
5214
|
+
prev?: string | undefined;
|
|
5215
|
+
next?: string | undefined;
|
|
5216
|
+
}, {
|
|
5217
|
+
self: string;
|
|
5218
|
+
first?: string | undefined;
|
|
5219
|
+
last?: string | undefined;
|
|
5220
|
+
prev?: string | undefined;
|
|
5221
|
+
next?: string | undefined;
|
|
5222
|
+
}>>;
|
|
5223
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5224
|
+
status: z.ZodString;
|
|
5225
|
+
title: z.ZodString;
|
|
5226
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5227
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5228
|
+
}, "strip", z.ZodTypeAny, {
|
|
5229
|
+
status: string;
|
|
5230
|
+
title: string;
|
|
5231
|
+
detail?: string | undefined;
|
|
5232
|
+
meta?: Record<string, unknown> | undefined;
|
|
5233
|
+
}, {
|
|
5234
|
+
status: string;
|
|
5235
|
+
title: string;
|
|
5236
|
+
detail?: string | undefined;
|
|
5237
|
+
meta?: Record<string, unknown> | undefined;
|
|
5238
|
+
}>, "many">>;
|
|
5239
|
+
}, "strip", z.ZodTypeAny, {
|
|
5240
|
+
data: {
|
|
5241
|
+
id: string;
|
|
5242
|
+
type: "expenses";
|
|
5243
|
+
attributes: {
|
|
5244
|
+
id: string;
|
|
5245
|
+
createdAt: string;
|
|
5246
|
+
updatedAt: string;
|
|
5247
|
+
createdBy: string;
|
|
5248
|
+
companyId: string;
|
|
5249
|
+
isActive: boolean;
|
|
5250
|
+
isDeleted: boolean;
|
|
5251
|
+
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
5252
|
+
status: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5253
|
+
date: string;
|
|
5254
|
+
projectId: string;
|
|
5255
|
+
description: string;
|
|
5256
|
+
amount: number;
|
|
5257
|
+
recordedBy: string;
|
|
5258
|
+
attachments: string[];
|
|
5259
|
+
updatedBy?: string | undefined;
|
|
5260
|
+
budgetItemId?: string | undefined;
|
|
5261
|
+
vendor?: string | undefined;
|
|
5262
|
+
invoiceNumber?: string | undefined;
|
|
5263
|
+
purchaseOrderNumber?: string | undefined;
|
|
5264
|
+
dueDate?: string | undefined;
|
|
5265
|
+
approvedBy?: string | undefined;
|
|
5266
|
+
approvedAt?: string | undefined;
|
|
5267
|
+
recorder?: {
|
|
5268
|
+
id: string;
|
|
5269
|
+
firstName?: string | null | undefined;
|
|
5270
|
+
lastName?: string | null | undefined;
|
|
5271
|
+
email?: string | undefined;
|
|
5272
|
+
name?: string | undefined;
|
|
5273
|
+
avatar?: string | null | undefined;
|
|
5274
|
+
} | undefined;
|
|
5275
|
+
approver?: {
|
|
5276
|
+
id: string;
|
|
5277
|
+
firstName?: string | null | undefined;
|
|
5278
|
+
lastName?: string | null | undefined;
|
|
5279
|
+
email?: string | undefined;
|
|
5280
|
+
name?: string | undefined;
|
|
5281
|
+
avatar?: string | null | undefined;
|
|
5282
|
+
} | undefined;
|
|
5283
|
+
rejectionReason?: string | undefined;
|
|
5284
|
+
receiptUrl?: string | null | undefined;
|
|
5285
|
+
statusHistory?: {
|
|
5286
|
+
id: string;
|
|
5287
|
+
createdAt: string;
|
|
5288
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5289
|
+
actorId: string;
|
|
5290
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5291
|
+
reason?: string | null | undefined;
|
|
5292
|
+
}[] | undefined;
|
|
5293
|
+
};
|
|
5294
|
+
};
|
|
5295
|
+
meta?: Record<string, unknown> | undefined;
|
|
5296
|
+
links?: {
|
|
5297
|
+
self: string;
|
|
5298
|
+
first?: string | undefined;
|
|
5299
|
+
last?: string | undefined;
|
|
5300
|
+
prev?: string | undefined;
|
|
5301
|
+
next?: string | undefined;
|
|
5302
|
+
} | undefined;
|
|
5303
|
+
errors?: {
|
|
5304
|
+
status: string;
|
|
5305
|
+
title: string;
|
|
5306
|
+
detail?: string | undefined;
|
|
5307
|
+
meta?: Record<string, unknown> | undefined;
|
|
5308
|
+
}[] | undefined;
|
|
5309
|
+
}, {
|
|
5310
|
+
data: {
|
|
5311
|
+
id: string;
|
|
5312
|
+
type: "expenses";
|
|
5313
|
+
attributes: {
|
|
5314
|
+
id: string;
|
|
5315
|
+
createdAt: string;
|
|
5316
|
+
updatedAt: string;
|
|
5317
|
+
createdBy: string;
|
|
5318
|
+
companyId: string;
|
|
5319
|
+
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
5320
|
+
date: string;
|
|
5321
|
+
projectId: string;
|
|
5322
|
+
description: string;
|
|
5323
|
+
amount: number;
|
|
5324
|
+
recordedBy: string;
|
|
5325
|
+
updatedBy?: string | undefined;
|
|
5326
|
+
isActive?: boolean | undefined;
|
|
5327
|
+
isDeleted?: boolean | undefined;
|
|
5328
|
+
status?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | undefined;
|
|
5329
|
+
budgetItemId?: string | undefined;
|
|
5330
|
+
vendor?: string | undefined;
|
|
5331
|
+
invoiceNumber?: string | undefined;
|
|
5332
|
+
purchaseOrderNumber?: string | undefined;
|
|
5333
|
+
dueDate?: string | undefined;
|
|
5334
|
+
approvedBy?: string | undefined;
|
|
5335
|
+
approvedAt?: string | undefined;
|
|
5336
|
+
recorder?: {
|
|
5337
|
+
id: string;
|
|
5338
|
+
firstName?: string | null | undefined;
|
|
5339
|
+
lastName?: string | null | undefined;
|
|
5340
|
+
email?: string | undefined;
|
|
5341
|
+
name?: string | undefined;
|
|
5342
|
+
avatar?: string | null | undefined;
|
|
5343
|
+
} | undefined;
|
|
5344
|
+
approver?: {
|
|
5345
|
+
id: string;
|
|
5346
|
+
firstName?: string | null | undefined;
|
|
5347
|
+
lastName?: string | null | undefined;
|
|
5348
|
+
email?: string | undefined;
|
|
5349
|
+
name?: string | undefined;
|
|
5350
|
+
avatar?: string | null | undefined;
|
|
5351
|
+
} | undefined;
|
|
5352
|
+
attachments?: string[] | undefined;
|
|
5353
|
+
rejectionReason?: string | undefined;
|
|
5354
|
+
receiptUrl?: string | null | undefined;
|
|
5355
|
+
statusHistory?: {
|
|
5356
|
+
id: string;
|
|
5357
|
+
createdAt: string;
|
|
5358
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5359
|
+
actorId: string;
|
|
5360
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5361
|
+
reason?: string | null | undefined;
|
|
5362
|
+
}[] | undefined;
|
|
5363
|
+
};
|
|
5364
|
+
};
|
|
5365
|
+
meta?: Record<string, unknown> | undefined;
|
|
5366
|
+
links?: {
|
|
5367
|
+
self: string;
|
|
5368
|
+
first?: string | undefined;
|
|
5369
|
+
last?: string | undefined;
|
|
5370
|
+
prev?: string | undefined;
|
|
5371
|
+
next?: string | undefined;
|
|
5372
|
+
} | undefined;
|
|
5373
|
+
errors?: {
|
|
5374
|
+
status: string;
|
|
5375
|
+
title: string;
|
|
5376
|
+
detail?: string | undefined;
|
|
5377
|
+
meta?: Record<string, unknown> | undefined;
|
|
5378
|
+
}[] | undefined;
|
|
5379
|
+
}>;
|
|
5380
|
+
400: z.ZodObject<{
|
|
5381
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5382
|
+
status: z.ZodString;
|
|
5383
|
+
title: z.ZodString;
|
|
5384
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5385
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5386
|
+
}, "strip", z.ZodTypeAny, {
|
|
5387
|
+
status: string;
|
|
5388
|
+
title: string;
|
|
5389
|
+
detail?: string | undefined;
|
|
5390
|
+
meta?: Record<string, unknown> | undefined;
|
|
5391
|
+
}, {
|
|
5392
|
+
status: string;
|
|
5393
|
+
title: string;
|
|
5394
|
+
detail?: string | undefined;
|
|
5395
|
+
meta?: Record<string, unknown> | undefined;
|
|
5396
|
+
}>, "many">;
|
|
5397
|
+
}, "strip", z.ZodTypeAny, {
|
|
5398
|
+
errors: {
|
|
5399
|
+
status: string;
|
|
5400
|
+
title: string;
|
|
5401
|
+
detail?: string | undefined;
|
|
5402
|
+
meta?: Record<string, unknown> | undefined;
|
|
5403
|
+
}[];
|
|
5404
|
+
}, {
|
|
5405
|
+
errors: {
|
|
5406
|
+
status: string;
|
|
5407
|
+
title: string;
|
|
5408
|
+
detail?: string | undefined;
|
|
5409
|
+
meta?: Record<string, unknown> | undefined;
|
|
5410
|
+
}[];
|
|
5411
|
+
}>;
|
|
5412
|
+
401: z.ZodObject<{
|
|
5413
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5414
|
+
status: z.ZodString;
|
|
5415
|
+
title: z.ZodString;
|
|
5416
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5417
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5418
|
+
}, "strip", z.ZodTypeAny, {
|
|
5419
|
+
status: string;
|
|
5420
|
+
title: string;
|
|
5421
|
+
detail?: string | undefined;
|
|
5422
|
+
meta?: Record<string, unknown> | undefined;
|
|
5423
|
+
}, {
|
|
5424
|
+
status: string;
|
|
5425
|
+
title: string;
|
|
5426
|
+
detail?: string | undefined;
|
|
5427
|
+
meta?: Record<string, unknown> | undefined;
|
|
5428
|
+
}>, "many">;
|
|
5429
|
+
}, "strip", z.ZodTypeAny, {
|
|
5430
|
+
errors: {
|
|
5431
|
+
status: string;
|
|
5432
|
+
title: string;
|
|
5433
|
+
detail?: string | undefined;
|
|
5434
|
+
meta?: Record<string, unknown> | undefined;
|
|
5435
|
+
}[];
|
|
5436
|
+
}, {
|
|
5437
|
+
errors: {
|
|
5438
|
+
status: string;
|
|
5439
|
+
title: string;
|
|
5440
|
+
detail?: string | undefined;
|
|
5441
|
+
meta?: Record<string, unknown> | undefined;
|
|
5442
|
+
}[];
|
|
5443
|
+
}>;
|
|
5444
|
+
403: z.ZodObject<{
|
|
5445
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5446
|
+
status: z.ZodString;
|
|
5447
|
+
title: z.ZodString;
|
|
5448
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5449
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5450
|
+
}, "strip", z.ZodTypeAny, {
|
|
5451
|
+
status: string;
|
|
5452
|
+
title: string;
|
|
5453
|
+
detail?: string | undefined;
|
|
5454
|
+
meta?: Record<string, unknown> | undefined;
|
|
5455
|
+
}, {
|
|
5456
|
+
status: string;
|
|
5457
|
+
title: string;
|
|
5458
|
+
detail?: string | undefined;
|
|
5459
|
+
meta?: Record<string, unknown> | undefined;
|
|
5460
|
+
}>, "many">;
|
|
5461
|
+
}, "strip", z.ZodTypeAny, {
|
|
5462
|
+
errors: {
|
|
5463
|
+
status: string;
|
|
5464
|
+
title: string;
|
|
5465
|
+
detail?: string | undefined;
|
|
5466
|
+
meta?: Record<string, unknown> | undefined;
|
|
5467
|
+
}[];
|
|
5468
|
+
}, {
|
|
5469
|
+
errors: {
|
|
5470
|
+
status: string;
|
|
5471
|
+
title: string;
|
|
5472
|
+
detail?: string | undefined;
|
|
5473
|
+
meta?: Record<string, unknown> | undefined;
|
|
5474
|
+
}[];
|
|
5475
|
+
}>;
|
|
5476
|
+
404: z.ZodObject<{
|
|
5477
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5478
|
+
status: z.ZodString;
|
|
5479
|
+
title: z.ZodString;
|
|
5480
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5481
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5482
|
+
}, "strip", z.ZodTypeAny, {
|
|
5483
|
+
status: string;
|
|
5484
|
+
title: string;
|
|
5485
|
+
detail?: string | undefined;
|
|
5486
|
+
meta?: Record<string, unknown> | undefined;
|
|
5487
|
+
}, {
|
|
5488
|
+
status: string;
|
|
5489
|
+
title: string;
|
|
5490
|
+
detail?: string | undefined;
|
|
5491
|
+
meta?: Record<string, unknown> | undefined;
|
|
5492
|
+
}>, "many">;
|
|
5493
|
+
}, "strip", z.ZodTypeAny, {
|
|
5494
|
+
errors: {
|
|
5495
|
+
status: string;
|
|
5496
|
+
title: string;
|
|
5497
|
+
detail?: string | undefined;
|
|
5498
|
+
meta?: Record<string, unknown> | undefined;
|
|
5499
|
+
}[];
|
|
5500
|
+
}, {
|
|
5501
|
+
errors: {
|
|
5502
|
+
status: string;
|
|
5503
|
+
title: string;
|
|
5504
|
+
detail?: string | undefined;
|
|
5505
|
+
meta?: Record<string, unknown> | undefined;
|
|
5506
|
+
}[];
|
|
5507
|
+
}>;
|
|
5508
|
+
};
|
|
5509
|
+
};
|
|
5510
|
+
getExpenseHistory: {
|
|
5511
|
+
pathParams: z.ZodObject<{
|
|
5512
|
+
expenseId: z.ZodString;
|
|
5513
|
+
}, "strip", z.ZodTypeAny, {
|
|
5514
|
+
expenseId: string;
|
|
5515
|
+
}, {
|
|
5516
|
+
expenseId: string;
|
|
5517
|
+
}>;
|
|
5518
|
+
summary: "Get expense status change history";
|
|
5519
|
+
method: "GET";
|
|
5520
|
+
path: "/expenses/:expenseId/status-events";
|
|
5521
|
+
responses: {
|
|
5522
|
+
200: z.ZodObject<{
|
|
5523
|
+
data: z.ZodArray<z.ZodObject<{
|
|
5524
|
+
type: z.ZodLiteral<"expense-status-events">;
|
|
5525
|
+
id: z.ZodString;
|
|
5526
|
+
attributes: z.ZodObject<Omit<{
|
|
5527
|
+
id: z.ZodString;
|
|
5528
|
+
expenseId: z.ZodString;
|
|
5529
|
+
fromStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>>>;
|
|
5530
|
+
toStatus: z.ZodEnum<["PENDING", "APPROVED", "PAID", "REJECTED"]>;
|
|
5531
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5532
|
+
actorId: z.ZodString;
|
|
5533
|
+
createdAt: z.ZodString;
|
|
5534
|
+
}, "id">, "strip", z.ZodTypeAny, {
|
|
5535
|
+
createdAt: string;
|
|
5536
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5537
|
+
actorId: string;
|
|
5538
|
+
expenseId: string;
|
|
5539
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5540
|
+
reason?: string | null | undefined;
|
|
5541
|
+
}, {
|
|
5542
|
+
createdAt: string;
|
|
5543
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5544
|
+
actorId: string;
|
|
5545
|
+
expenseId: string;
|
|
5546
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5547
|
+
reason?: string | null | undefined;
|
|
5548
|
+
}>;
|
|
5549
|
+
}, "strip", z.ZodTypeAny, {
|
|
5550
|
+
id: string;
|
|
5551
|
+
type: "expense-status-events";
|
|
5552
|
+
attributes: {
|
|
5553
|
+
createdAt: string;
|
|
5554
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5555
|
+
actorId: string;
|
|
5556
|
+
expenseId: string;
|
|
5557
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5558
|
+
reason?: string | null | undefined;
|
|
3687
5559
|
};
|
|
3688
5560
|
}, {
|
|
3689
5561
|
id: string;
|
|
3690
|
-
type: "
|
|
5562
|
+
type: "expense-status-events";
|
|
3691
5563
|
attributes: {
|
|
3692
|
-
id: string;
|
|
3693
5564
|
createdAt: string;
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
projectId: string;
|
|
3700
|
-
description: string;
|
|
3701
|
-
amount: number;
|
|
3702
|
-
recordedBy: string;
|
|
3703
|
-
updatedBy?: string | undefined;
|
|
3704
|
-
isActive?: boolean | undefined;
|
|
3705
|
-
isDeleted?: boolean | undefined;
|
|
3706
|
-
status?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | undefined;
|
|
3707
|
-
budgetItemId?: string | undefined;
|
|
3708
|
-
vendor?: string | undefined;
|
|
3709
|
-
invoiceNumber?: string | undefined;
|
|
3710
|
-
purchaseOrderNumber?: string | undefined;
|
|
3711
|
-
dueDate?: string | undefined;
|
|
3712
|
-
approvedBy?: string | undefined;
|
|
3713
|
-
approvedAt?: string | undefined;
|
|
3714
|
-
attachments?: string[] | undefined;
|
|
5565
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5566
|
+
actorId: string;
|
|
5567
|
+
expenseId: string;
|
|
5568
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5569
|
+
reason?: string | null | undefined;
|
|
3715
5570
|
};
|
|
3716
|
-
}>;
|
|
3717
|
-
meta: z.ZodOptional<z.
|
|
5571
|
+
}>, "many">;
|
|
5572
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
5573
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
5574
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
5575
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
5576
|
+
pages: z.ZodOptional<z.ZodNumber>;
|
|
5577
|
+
hasNextPage: z.ZodOptional<z.ZodBoolean>;
|
|
5578
|
+
hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
|
|
5579
|
+
}, "strip", z.ZodTypeAny, {
|
|
5580
|
+
page?: number | undefined;
|
|
5581
|
+
total?: number | undefined;
|
|
5582
|
+
size?: number | undefined;
|
|
5583
|
+
pages?: number | undefined;
|
|
5584
|
+
hasNextPage?: boolean | undefined;
|
|
5585
|
+
hasPreviousPage?: boolean | undefined;
|
|
5586
|
+
}, {
|
|
5587
|
+
page?: number | undefined;
|
|
5588
|
+
total?: number | undefined;
|
|
5589
|
+
size?: number | undefined;
|
|
5590
|
+
pages?: number | undefined;
|
|
5591
|
+
hasNextPage?: boolean | undefined;
|
|
5592
|
+
hasPreviousPage?: boolean | undefined;
|
|
5593
|
+
}>>;
|
|
3718
5594
|
links: z.ZodOptional<z.ZodObject<{
|
|
3719
5595
|
self: z.ZodString;
|
|
3720
5596
|
first: z.ZodOptional<z.ZodString>;
|
|
@@ -3734,53 +5610,27 @@ export declare const budgetContract: {
|
|
|
3734
5610
|
prev?: string | undefined;
|
|
3735
5611
|
next?: string | undefined;
|
|
3736
5612
|
}>>;
|
|
3737
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3738
|
-
status: z.ZodString;
|
|
3739
|
-
title: z.ZodString;
|
|
3740
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
3741
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3742
|
-
}, "strip", z.ZodTypeAny, {
|
|
3743
|
-
status: string;
|
|
3744
|
-
title: string;
|
|
3745
|
-
detail?: string | undefined;
|
|
3746
|
-
meta?: Record<string, unknown> | undefined;
|
|
3747
|
-
}, {
|
|
3748
|
-
status: string;
|
|
3749
|
-
title: string;
|
|
3750
|
-
detail?: string | undefined;
|
|
3751
|
-
meta?: Record<string, unknown> | undefined;
|
|
3752
|
-
}>, "many">>;
|
|
3753
5613
|
}, "strip", z.ZodTypeAny, {
|
|
3754
5614
|
data: {
|
|
3755
5615
|
id: string;
|
|
3756
|
-
type: "
|
|
5616
|
+
type: "expense-status-events";
|
|
3757
5617
|
attributes: {
|
|
3758
|
-
id: string;
|
|
3759
5618
|
createdAt: string;
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
type: "INVOICE" | "PURCHASE_ORDER" | "OTHER" | "MATERIAL_COST" | "LABOR_COST" | "EQUIPMENT_RENTAL" | "SUBCONTRACTOR_PAYMENT";
|
|
3766
|
-
status: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
3767
|
-
date: string;
|
|
3768
|
-
projectId: string;
|
|
3769
|
-
description: string;
|
|
3770
|
-
amount: number;
|
|
3771
|
-
recordedBy: string;
|
|
3772
|
-
attachments: string[];
|
|
3773
|
-
updatedBy?: string | undefined;
|
|
3774
|
-
budgetItemId?: string | undefined;
|
|
3775
|
-
vendor?: string | undefined;
|
|
3776
|
-
invoiceNumber?: string | undefined;
|
|
3777
|
-
purchaseOrderNumber?: string | undefined;
|
|
3778
|
-
dueDate?: string | undefined;
|
|
3779
|
-
approvedBy?: string | undefined;
|
|
3780
|
-
approvedAt?: string | undefined;
|
|
5619
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5620
|
+
actorId: string;
|
|
5621
|
+
expenseId: string;
|
|
5622
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5623
|
+
reason?: string | null | undefined;
|
|
3781
5624
|
};
|
|
3782
|
-
};
|
|
3783
|
-
meta?:
|
|
5625
|
+
}[];
|
|
5626
|
+
meta?: {
|
|
5627
|
+
page?: number | undefined;
|
|
5628
|
+
total?: number | undefined;
|
|
5629
|
+
size?: number | undefined;
|
|
5630
|
+
pages?: number | undefined;
|
|
5631
|
+
hasNextPage?: boolean | undefined;
|
|
5632
|
+
hasPreviousPage?: boolean | undefined;
|
|
5633
|
+
} | undefined;
|
|
3784
5634
|
links?: {
|
|
3785
5635
|
self: string;
|
|
3786
5636
|
first?: string | undefined;
|
|
@@ -3788,43 +5638,27 @@ export declare const budgetContract: {
|
|
|
3788
5638
|
prev?: string | undefined;
|
|
3789
5639
|
next?: string | undefined;
|
|
3790
5640
|
} | undefined;
|
|
3791
|
-
errors?: {
|
|
3792
|
-
status: string;
|
|
3793
|
-
title: string;
|
|
3794
|
-
detail?: string | undefined;
|
|
3795
|
-
meta?: Record<string, unknown> | undefined;
|
|
3796
|
-
}[] | undefined;
|
|
3797
5641
|
}, {
|
|
3798
5642
|
data: {
|
|
3799
5643
|
id: string;
|
|
3800
|
-
type: "
|
|
5644
|
+
type: "expense-status-events";
|
|
3801
5645
|
attributes: {
|
|
3802
|
-
id: string;
|
|
3803
5646
|
createdAt: string;
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
projectId: string;
|
|
3810
|
-
description: string;
|
|
3811
|
-
amount: number;
|
|
3812
|
-
recordedBy: string;
|
|
3813
|
-
updatedBy?: string | undefined;
|
|
3814
|
-
isActive?: boolean | undefined;
|
|
3815
|
-
isDeleted?: boolean | undefined;
|
|
3816
|
-
status?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | undefined;
|
|
3817
|
-
budgetItemId?: string | undefined;
|
|
3818
|
-
vendor?: string | undefined;
|
|
3819
|
-
invoiceNumber?: string | undefined;
|
|
3820
|
-
purchaseOrderNumber?: string | undefined;
|
|
3821
|
-
dueDate?: string | undefined;
|
|
3822
|
-
approvedBy?: string | undefined;
|
|
3823
|
-
approvedAt?: string | undefined;
|
|
3824
|
-
attachments?: string[] | undefined;
|
|
5647
|
+
toStatus: "APPROVED" | "REJECTED" | "PENDING" | "PAID";
|
|
5648
|
+
actorId: string;
|
|
5649
|
+
expenseId: string;
|
|
5650
|
+
fromStatus?: "APPROVED" | "REJECTED" | "PENDING" | "PAID" | null | undefined;
|
|
5651
|
+
reason?: string | null | undefined;
|
|
3825
5652
|
};
|
|
3826
|
-
};
|
|
3827
|
-
meta?:
|
|
5653
|
+
}[];
|
|
5654
|
+
meta?: {
|
|
5655
|
+
page?: number | undefined;
|
|
5656
|
+
total?: number | undefined;
|
|
5657
|
+
size?: number | undefined;
|
|
5658
|
+
pages?: number | undefined;
|
|
5659
|
+
hasNextPage?: boolean | undefined;
|
|
5660
|
+
hasPreviousPage?: boolean | undefined;
|
|
5661
|
+
} | undefined;
|
|
3828
5662
|
links?: {
|
|
3829
5663
|
self: string;
|
|
3830
5664
|
first?: string | undefined;
|
|
@@ -3832,44 +5666,6 @@ export declare const budgetContract: {
|
|
|
3832
5666
|
prev?: string | undefined;
|
|
3833
5667
|
next?: string | undefined;
|
|
3834
5668
|
} | undefined;
|
|
3835
|
-
errors?: {
|
|
3836
|
-
status: string;
|
|
3837
|
-
title: string;
|
|
3838
|
-
detail?: string | undefined;
|
|
3839
|
-
meta?: Record<string, unknown> | undefined;
|
|
3840
|
-
}[] | undefined;
|
|
3841
|
-
}>;
|
|
3842
|
-
400: z.ZodObject<{
|
|
3843
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
3844
|
-
status: z.ZodString;
|
|
3845
|
-
title: z.ZodString;
|
|
3846
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
3847
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3848
|
-
}, "strip", z.ZodTypeAny, {
|
|
3849
|
-
status: string;
|
|
3850
|
-
title: string;
|
|
3851
|
-
detail?: string | undefined;
|
|
3852
|
-
meta?: Record<string, unknown> | undefined;
|
|
3853
|
-
}, {
|
|
3854
|
-
status: string;
|
|
3855
|
-
title: string;
|
|
3856
|
-
detail?: string | undefined;
|
|
3857
|
-
meta?: Record<string, unknown> | undefined;
|
|
3858
|
-
}>, "many">;
|
|
3859
|
-
}, "strip", z.ZodTypeAny, {
|
|
3860
|
-
errors: {
|
|
3861
|
-
status: string;
|
|
3862
|
-
title: string;
|
|
3863
|
-
detail?: string | undefined;
|
|
3864
|
-
meta?: Record<string, unknown> | undefined;
|
|
3865
|
-
}[];
|
|
3866
|
-
}, {
|
|
3867
|
-
errors: {
|
|
3868
|
-
status: string;
|
|
3869
|
-
title: string;
|
|
3870
|
-
detail?: string | undefined;
|
|
3871
|
-
meta?: Record<string, unknown> | undefined;
|
|
3872
|
-
}[];
|
|
3873
5669
|
}>;
|
|
3874
5670
|
401: z.ZodObject<{
|
|
3875
5671
|
errors: z.ZodArray<z.ZodObject<{
|
|
@@ -7307,8 +9103,8 @@ export declare const budgetContract: {
|
|
|
7307
9103
|
title: string;
|
|
7308
9104
|
projectId: string;
|
|
7309
9105
|
description: string;
|
|
7310
|
-
changeOrderNumber: string;
|
|
7311
9106
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9107
|
+
changeOrderNumber: string;
|
|
7312
9108
|
budgetImpact: number;
|
|
7313
9109
|
requestedBy: string;
|
|
7314
9110
|
updatedBy?: string | undefined;
|
|
@@ -7328,8 +9124,8 @@ export declare const budgetContract: {
|
|
|
7328
9124
|
title: string;
|
|
7329
9125
|
projectId: string;
|
|
7330
9126
|
description: string;
|
|
7331
|
-
changeOrderNumber: string;
|
|
7332
9127
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9128
|
+
changeOrderNumber: string;
|
|
7333
9129
|
budgetImpact: number;
|
|
7334
9130
|
requestedBy: string;
|
|
7335
9131
|
updatedBy?: string | undefined;
|
|
@@ -7361,8 +9157,8 @@ export declare const budgetContract: {
|
|
|
7361
9157
|
title: string;
|
|
7362
9158
|
projectId: string;
|
|
7363
9159
|
description: string;
|
|
7364
|
-
changeOrderNumber: string;
|
|
7365
9160
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9161
|
+
changeOrderNumber: string;
|
|
7366
9162
|
budgetImpact: number;
|
|
7367
9163
|
requestedBy: string;
|
|
7368
9164
|
updatedBy?: string | undefined;
|
|
@@ -7386,8 +9182,8 @@ export declare const budgetContract: {
|
|
|
7386
9182
|
title: string;
|
|
7387
9183
|
projectId: string;
|
|
7388
9184
|
description: string;
|
|
7389
|
-
changeOrderNumber: string;
|
|
7390
9185
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9186
|
+
changeOrderNumber: string;
|
|
7391
9187
|
budgetImpact: number;
|
|
7392
9188
|
requestedBy: string;
|
|
7393
9189
|
updatedBy?: string | undefined;
|
|
@@ -7462,8 +9258,8 @@ export declare const budgetContract: {
|
|
|
7462
9258
|
title: string;
|
|
7463
9259
|
projectId: string;
|
|
7464
9260
|
description: string;
|
|
7465
|
-
changeOrderNumber: string;
|
|
7466
9261
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9262
|
+
changeOrderNumber: string;
|
|
7467
9263
|
budgetImpact: number;
|
|
7468
9264
|
requestedBy: string;
|
|
7469
9265
|
updatedBy?: string | undefined;
|
|
@@ -7504,8 +9300,8 @@ export declare const budgetContract: {
|
|
|
7504
9300
|
title: string;
|
|
7505
9301
|
projectId: string;
|
|
7506
9302
|
description: string;
|
|
7507
|
-
changeOrderNumber: string;
|
|
7508
9303
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9304
|
+
changeOrderNumber: string;
|
|
7509
9305
|
budgetImpact: number;
|
|
7510
9306
|
requestedBy: string;
|
|
7511
9307
|
updatedBy?: string | undefined;
|
|
@@ -7659,16 +9455,16 @@ export declare const budgetContract: {
|
|
|
7659
9455
|
documents: string[];
|
|
7660
9456
|
title: string;
|
|
7661
9457
|
description: string;
|
|
7662
|
-
changeOrderNumber: string;
|
|
7663
9458
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9459
|
+
changeOrderNumber: string;
|
|
7664
9460
|
budgetImpact: number;
|
|
7665
9461
|
scheduleImpact?: number | undefined;
|
|
7666
9462
|
}, {
|
|
7667
9463
|
type: "ADDITION" | "DEDUCTION" | "MODIFICATION";
|
|
7668
9464
|
title: string;
|
|
7669
9465
|
description: string;
|
|
7670
|
-
changeOrderNumber: string;
|
|
7671
9466
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9467
|
+
changeOrderNumber: string;
|
|
7672
9468
|
budgetImpact: number;
|
|
7673
9469
|
documents?: string[] | undefined;
|
|
7674
9470
|
scheduleImpact?: number | undefined;
|
|
@@ -7719,8 +9515,8 @@ export declare const budgetContract: {
|
|
|
7719
9515
|
title: string;
|
|
7720
9516
|
projectId: string;
|
|
7721
9517
|
description: string;
|
|
7722
|
-
changeOrderNumber: string;
|
|
7723
9518
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9519
|
+
changeOrderNumber: string;
|
|
7724
9520
|
budgetImpact: number;
|
|
7725
9521
|
requestedBy: string;
|
|
7726
9522
|
updatedBy?: string | undefined;
|
|
@@ -7740,8 +9536,8 @@ export declare const budgetContract: {
|
|
|
7740
9536
|
title: string;
|
|
7741
9537
|
projectId: string;
|
|
7742
9538
|
description: string;
|
|
7743
|
-
changeOrderNumber: string;
|
|
7744
9539
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9540
|
+
changeOrderNumber: string;
|
|
7745
9541
|
budgetImpact: number;
|
|
7746
9542
|
requestedBy: string;
|
|
7747
9543
|
updatedBy?: string | undefined;
|
|
@@ -7773,8 +9569,8 @@ export declare const budgetContract: {
|
|
|
7773
9569
|
title: string;
|
|
7774
9570
|
projectId: string;
|
|
7775
9571
|
description: string;
|
|
7776
|
-
changeOrderNumber: string;
|
|
7777
9572
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9573
|
+
changeOrderNumber: string;
|
|
7778
9574
|
budgetImpact: number;
|
|
7779
9575
|
requestedBy: string;
|
|
7780
9576
|
updatedBy?: string | undefined;
|
|
@@ -7798,8 +9594,8 @@ export declare const budgetContract: {
|
|
|
7798
9594
|
title: string;
|
|
7799
9595
|
projectId: string;
|
|
7800
9596
|
description: string;
|
|
7801
|
-
changeOrderNumber: string;
|
|
7802
9597
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9598
|
+
changeOrderNumber: string;
|
|
7803
9599
|
budgetImpact: number;
|
|
7804
9600
|
requestedBy: string;
|
|
7805
9601
|
updatedBy?: string | undefined;
|
|
@@ -7869,8 +9665,8 @@ export declare const budgetContract: {
|
|
|
7869
9665
|
title: string;
|
|
7870
9666
|
projectId: string;
|
|
7871
9667
|
description: string;
|
|
7872
|
-
changeOrderNumber: string;
|
|
7873
9668
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9669
|
+
changeOrderNumber: string;
|
|
7874
9670
|
budgetImpact: number;
|
|
7875
9671
|
requestedBy: string;
|
|
7876
9672
|
updatedBy?: string | undefined;
|
|
@@ -7910,8 +9706,8 @@ export declare const budgetContract: {
|
|
|
7910
9706
|
title: string;
|
|
7911
9707
|
projectId: string;
|
|
7912
9708
|
description: string;
|
|
7913
|
-
changeOrderNumber: string;
|
|
7914
9709
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9710
|
+
changeOrderNumber: string;
|
|
7915
9711
|
budgetImpact: number;
|
|
7916
9712
|
requestedBy: string;
|
|
7917
9713
|
updatedBy?: string | undefined;
|
|
@@ -8128,8 +9924,8 @@ export declare const budgetContract: {
|
|
|
8128
9924
|
title: string;
|
|
8129
9925
|
projectId: string;
|
|
8130
9926
|
description: string;
|
|
8131
|
-
changeOrderNumber: string;
|
|
8132
9927
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9928
|
+
changeOrderNumber: string;
|
|
8133
9929
|
budgetImpact: number;
|
|
8134
9930
|
requestedBy: string;
|
|
8135
9931
|
updatedBy?: string | undefined;
|
|
@@ -8149,8 +9945,8 @@ export declare const budgetContract: {
|
|
|
8149
9945
|
title: string;
|
|
8150
9946
|
projectId: string;
|
|
8151
9947
|
description: string;
|
|
8152
|
-
changeOrderNumber: string;
|
|
8153
9948
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9949
|
+
changeOrderNumber: string;
|
|
8154
9950
|
budgetImpact: number;
|
|
8155
9951
|
requestedBy: string;
|
|
8156
9952
|
updatedBy?: string | undefined;
|
|
@@ -8182,8 +9978,8 @@ export declare const budgetContract: {
|
|
|
8182
9978
|
title: string;
|
|
8183
9979
|
projectId: string;
|
|
8184
9980
|
description: string;
|
|
8185
|
-
changeOrderNumber: string;
|
|
8186
9981
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
9982
|
+
changeOrderNumber: string;
|
|
8187
9983
|
budgetImpact: number;
|
|
8188
9984
|
requestedBy: string;
|
|
8189
9985
|
updatedBy?: string | undefined;
|
|
@@ -8207,8 +10003,8 @@ export declare const budgetContract: {
|
|
|
8207
10003
|
title: string;
|
|
8208
10004
|
projectId: string;
|
|
8209
10005
|
description: string;
|
|
8210
|
-
changeOrderNumber: string;
|
|
8211
10006
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10007
|
+
changeOrderNumber: string;
|
|
8212
10008
|
budgetImpact: number;
|
|
8213
10009
|
requestedBy: string;
|
|
8214
10010
|
updatedBy?: string | undefined;
|
|
@@ -8278,8 +10074,8 @@ export declare const budgetContract: {
|
|
|
8278
10074
|
title: string;
|
|
8279
10075
|
projectId: string;
|
|
8280
10076
|
description: string;
|
|
8281
|
-
changeOrderNumber: string;
|
|
8282
10077
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10078
|
+
changeOrderNumber: string;
|
|
8283
10079
|
budgetImpact: number;
|
|
8284
10080
|
requestedBy: string;
|
|
8285
10081
|
updatedBy?: string | undefined;
|
|
@@ -8319,8 +10115,8 @@ export declare const budgetContract: {
|
|
|
8319
10115
|
title: string;
|
|
8320
10116
|
projectId: string;
|
|
8321
10117
|
description: string;
|
|
8322
|
-
changeOrderNumber: string;
|
|
8323
10118
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10119
|
+
changeOrderNumber: string;
|
|
8324
10120
|
budgetImpact: number;
|
|
8325
10121
|
requestedBy: string;
|
|
8326
10122
|
updatedBy?: string | undefined;
|
|
@@ -8533,8 +10329,8 @@ export declare const budgetContract: {
|
|
|
8533
10329
|
title: string;
|
|
8534
10330
|
projectId: string;
|
|
8535
10331
|
description: string;
|
|
8536
|
-
changeOrderNumber: string;
|
|
8537
10332
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10333
|
+
changeOrderNumber: string;
|
|
8538
10334
|
budgetImpact: number;
|
|
8539
10335
|
requestedBy: string;
|
|
8540
10336
|
updatedBy?: string | undefined;
|
|
@@ -8554,8 +10350,8 @@ export declare const budgetContract: {
|
|
|
8554
10350
|
title: string;
|
|
8555
10351
|
projectId: string;
|
|
8556
10352
|
description: string;
|
|
8557
|
-
changeOrderNumber: string;
|
|
8558
10353
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10354
|
+
changeOrderNumber: string;
|
|
8559
10355
|
budgetImpact: number;
|
|
8560
10356
|
requestedBy: string;
|
|
8561
10357
|
updatedBy?: string | undefined;
|
|
@@ -8587,8 +10383,8 @@ export declare const budgetContract: {
|
|
|
8587
10383
|
title: string;
|
|
8588
10384
|
projectId: string;
|
|
8589
10385
|
description: string;
|
|
8590
|
-
changeOrderNumber: string;
|
|
8591
10386
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10387
|
+
changeOrderNumber: string;
|
|
8592
10388
|
budgetImpact: number;
|
|
8593
10389
|
requestedBy: string;
|
|
8594
10390
|
updatedBy?: string | undefined;
|
|
@@ -8612,8 +10408,8 @@ export declare const budgetContract: {
|
|
|
8612
10408
|
title: string;
|
|
8613
10409
|
projectId: string;
|
|
8614
10410
|
description: string;
|
|
8615
|
-
changeOrderNumber: string;
|
|
8616
10411
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10412
|
+
changeOrderNumber: string;
|
|
8617
10413
|
budgetImpact: number;
|
|
8618
10414
|
requestedBy: string;
|
|
8619
10415
|
updatedBy?: string | undefined;
|
|
@@ -8683,8 +10479,8 @@ export declare const budgetContract: {
|
|
|
8683
10479
|
title: string;
|
|
8684
10480
|
projectId: string;
|
|
8685
10481
|
description: string;
|
|
8686
|
-
changeOrderNumber: string;
|
|
8687
10482
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10483
|
+
changeOrderNumber: string;
|
|
8688
10484
|
budgetImpact: number;
|
|
8689
10485
|
requestedBy: string;
|
|
8690
10486
|
updatedBy?: string | undefined;
|
|
@@ -8724,8 +10520,8 @@ export declare const budgetContract: {
|
|
|
8724
10520
|
title: string;
|
|
8725
10521
|
projectId: string;
|
|
8726
10522
|
description: string;
|
|
8727
|
-
changeOrderNumber: string;
|
|
8728
10523
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10524
|
+
changeOrderNumber: string;
|
|
8729
10525
|
budgetImpact: number;
|
|
8730
10526
|
requestedBy: string;
|
|
8731
10527
|
updatedBy?: string | undefined;
|
|
@@ -8949,8 +10745,8 @@ export declare const budgetContract: {
|
|
|
8949
10745
|
title: string;
|
|
8950
10746
|
projectId: string;
|
|
8951
10747
|
description: string;
|
|
8952
|
-
changeOrderNumber: string;
|
|
8953
10748
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10749
|
+
changeOrderNumber: string;
|
|
8954
10750
|
budgetImpact: number;
|
|
8955
10751
|
requestedBy: string;
|
|
8956
10752
|
updatedBy?: string | undefined;
|
|
@@ -8970,8 +10766,8 @@ export declare const budgetContract: {
|
|
|
8970
10766
|
title: string;
|
|
8971
10767
|
projectId: string;
|
|
8972
10768
|
description: string;
|
|
8973
|
-
changeOrderNumber: string;
|
|
8974
10769
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10770
|
+
changeOrderNumber: string;
|
|
8975
10771
|
budgetImpact: number;
|
|
8976
10772
|
requestedBy: string;
|
|
8977
10773
|
updatedBy?: string | undefined;
|
|
@@ -9003,8 +10799,8 @@ export declare const budgetContract: {
|
|
|
9003
10799
|
title: string;
|
|
9004
10800
|
projectId: string;
|
|
9005
10801
|
description: string;
|
|
9006
|
-
changeOrderNumber: string;
|
|
9007
10802
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10803
|
+
changeOrderNumber: string;
|
|
9008
10804
|
budgetImpact: number;
|
|
9009
10805
|
requestedBy: string;
|
|
9010
10806
|
updatedBy?: string | undefined;
|
|
@@ -9028,8 +10824,8 @@ export declare const budgetContract: {
|
|
|
9028
10824
|
title: string;
|
|
9029
10825
|
projectId: string;
|
|
9030
10826
|
description: string;
|
|
9031
|
-
changeOrderNumber: string;
|
|
9032
10827
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10828
|
+
changeOrderNumber: string;
|
|
9033
10829
|
budgetImpact: number;
|
|
9034
10830
|
requestedBy: string;
|
|
9035
10831
|
updatedBy?: string | undefined;
|
|
@@ -9099,8 +10895,8 @@ export declare const budgetContract: {
|
|
|
9099
10895
|
title: string;
|
|
9100
10896
|
projectId: string;
|
|
9101
10897
|
description: string;
|
|
9102
|
-
changeOrderNumber: string;
|
|
9103
10898
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10899
|
+
changeOrderNumber: string;
|
|
9104
10900
|
budgetImpact: number;
|
|
9105
10901
|
requestedBy: string;
|
|
9106
10902
|
updatedBy?: string | undefined;
|
|
@@ -9140,8 +10936,8 @@ export declare const budgetContract: {
|
|
|
9140
10936
|
title: string;
|
|
9141
10937
|
projectId: string;
|
|
9142
10938
|
description: string;
|
|
9143
|
-
changeOrderNumber: string;
|
|
9144
10939
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
10940
|
+
changeOrderNumber: string;
|
|
9145
10941
|
budgetImpact: number;
|
|
9146
10942
|
requestedBy: string;
|
|
9147
10943
|
updatedBy?: string | undefined;
|
|
@@ -9365,8 +11161,8 @@ export declare const budgetContract: {
|
|
|
9365
11161
|
title: string;
|
|
9366
11162
|
projectId: string;
|
|
9367
11163
|
description: string;
|
|
9368
|
-
changeOrderNumber: string;
|
|
9369
11164
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
11165
|
+
changeOrderNumber: string;
|
|
9370
11166
|
budgetImpact: number;
|
|
9371
11167
|
requestedBy: string;
|
|
9372
11168
|
updatedBy?: string | undefined;
|
|
@@ -9386,8 +11182,8 @@ export declare const budgetContract: {
|
|
|
9386
11182
|
title: string;
|
|
9387
11183
|
projectId: string;
|
|
9388
11184
|
description: string;
|
|
9389
|
-
changeOrderNumber: string;
|
|
9390
11185
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
11186
|
+
changeOrderNumber: string;
|
|
9391
11187
|
budgetImpact: number;
|
|
9392
11188
|
requestedBy: string;
|
|
9393
11189
|
updatedBy?: string | undefined;
|
|
@@ -9419,8 +11215,8 @@ export declare const budgetContract: {
|
|
|
9419
11215
|
title: string;
|
|
9420
11216
|
projectId: string;
|
|
9421
11217
|
description: string;
|
|
9422
|
-
changeOrderNumber: string;
|
|
9423
11218
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
11219
|
+
changeOrderNumber: string;
|
|
9424
11220
|
budgetImpact: number;
|
|
9425
11221
|
requestedBy: string;
|
|
9426
11222
|
updatedBy?: string | undefined;
|
|
@@ -9444,8 +11240,8 @@ export declare const budgetContract: {
|
|
|
9444
11240
|
title: string;
|
|
9445
11241
|
projectId: string;
|
|
9446
11242
|
description: string;
|
|
9447
|
-
changeOrderNumber: string;
|
|
9448
11243
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
11244
|
+
changeOrderNumber: string;
|
|
9449
11245
|
budgetImpact: number;
|
|
9450
11246
|
requestedBy: string;
|
|
9451
11247
|
updatedBy?: string | undefined;
|
|
@@ -9515,8 +11311,8 @@ export declare const budgetContract: {
|
|
|
9515
11311
|
title: string;
|
|
9516
11312
|
projectId: string;
|
|
9517
11313
|
description: string;
|
|
9518
|
-
changeOrderNumber: string;
|
|
9519
11314
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
11315
|
+
changeOrderNumber: string;
|
|
9520
11316
|
budgetImpact: number;
|
|
9521
11317
|
requestedBy: string;
|
|
9522
11318
|
updatedBy?: string | undefined;
|
|
@@ -9556,8 +11352,8 @@ export declare const budgetContract: {
|
|
|
9556
11352
|
title: string;
|
|
9557
11353
|
projectId: string;
|
|
9558
11354
|
description: string;
|
|
9559
|
-
changeOrderNumber: string;
|
|
9560
11355
|
reason: "OTHER" | "SCOPE_CHANGE" | "DESIGN_CHANGE" | "UNFORESEEN_CONDITIONS" | "CLIENT_REQUEST" | "REGULATORY_REQUIREMENT";
|
|
11356
|
+
changeOrderNumber: string;
|
|
9561
11357
|
budgetImpact: number;
|
|
9562
11358
|
requestedBy: string;
|
|
9563
11359
|
updatedBy?: string | undefined;
|