@deepintel-ltd/buildlink-api-contracts 0.2.27 → 0.2.28
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/valuations.d.ts +751 -0
- package/contracts/valuations.d.ts.map +1 -1
- package/contracts/valuations.js +29 -1
- package/contracts/valuations.js.map +1 -1
- package/package.json +1 -1
- package/schemas/common.d.ts.map +1 -1
- package/schemas/common.js +1 -3
- package/schemas/common.js.map +1 -1
- package/schemas/valuations.d.ts +49 -0
- package/schemas/valuations.d.ts.map +1 -1
- package/schemas/valuations.js +13 -0
- package/schemas/valuations.js.map +1 -1
package/README.md
CHANGED
|
@@ -6060,6 +6060,10 @@ export declare const valuationsContract: {
|
|
|
6060
6060
|
amount: z.ZodNumber;
|
|
6061
6061
|
status: z.ZodEnum<["DRAFT", "SUBMITTED", "APPROVED", "REJECTED"]>;
|
|
6062
6062
|
createdById: z.ZodString;
|
|
6063
|
+
submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6064
|
+
decidedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6065
|
+
decidedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6066
|
+
decisionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6063
6067
|
createdAt: z.ZodString;
|
|
6064
6068
|
updatedAt: z.ZodString;
|
|
6065
6069
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
@@ -6073,6 +6077,10 @@ export declare const valuationsContract: {
|
|
|
6073
6077
|
createdById: string;
|
|
6074
6078
|
description?: string | null | undefined;
|
|
6075
6079
|
workPackageId?: string | null | undefined;
|
|
6080
|
+
submittedAt?: string | null | undefined;
|
|
6081
|
+
decidedById?: string | null | undefined;
|
|
6082
|
+
decidedAt?: string | null | undefined;
|
|
6083
|
+
decisionNote?: string | null | undefined;
|
|
6076
6084
|
}, {
|
|
6077
6085
|
createdAt: string;
|
|
6078
6086
|
updatedAt: string;
|
|
@@ -6084,6 +6092,10 @@ export declare const valuationsContract: {
|
|
|
6084
6092
|
createdById: string;
|
|
6085
6093
|
description?: string | null | undefined;
|
|
6086
6094
|
workPackageId?: string | null | undefined;
|
|
6095
|
+
submittedAt?: string | null | undefined;
|
|
6096
|
+
decidedById?: string | null | undefined;
|
|
6097
|
+
decidedAt?: string | null | undefined;
|
|
6098
|
+
decisionNote?: string | null | undefined;
|
|
6087
6099
|
}>;
|
|
6088
6100
|
}, "strip", z.ZodTypeAny, {
|
|
6089
6101
|
id: string;
|
|
@@ -6099,6 +6111,10 @@ export declare const valuationsContract: {
|
|
|
6099
6111
|
createdById: string;
|
|
6100
6112
|
description?: string | null | undefined;
|
|
6101
6113
|
workPackageId?: string | null | undefined;
|
|
6114
|
+
submittedAt?: string | null | undefined;
|
|
6115
|
+
decidedById?: string | null | undefined;
|
|
6116
|
+
decidedAt?: string | null | undefined;
|
|
6117
|
+
decisionNote?: string | null | undefined;
|
|
6102
6118
|
};
|
|
6103
6119
|
}, {
|
|
6104
6120
|
id: string;
|
|
@@ -6114,6 +6130,10 @@ export declare const valuationsContract: {
|
|
|
6114
6130
|
createdById: string;
|
|
6115
6131
|
description?: string | null | undefined;
|
|
6116
6132
|
workPackageId?: string | null | undefined;
|
|
6133
|
+
submittedAt?: string | null | undefined;
|
|
6134
|
+
decidedById?: string | null | undefined;
|
|
6135
|
+
decidedAt?: string | null | undefined;
|
|
6136
|
+
decisionNote?: string | null | undefined;
|
|
6117
6137
|
};
|
|
6118
6138
|
}>, "many">;
|
|
6119
6139
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -6172,6 +6192,10 @@ export declare const valuationsContract: {
|
|
|
6172
6192
|
createdById: string;
|
|
6173
6193
|
description?: string | null | undefined;
|
|
6174
6194
|
workPackageId?: string | null | undefined;
|
|
6195
|
+
submittedAt?: string | null | undefined;
|
|
6196
|
+
decidedById?: string | null | undefined;
|
|
6197
|
+
decidedAt?: string | null | undefined;
|
|
6198
|
+
decisionNote?: string | null | undefined;
|
|
6175
6199
|
};
|
|
6176
6200
|
}[];
|
|
6177
6201
|
meta?: {
|
|
@@ -6204,6 +6228,10 @@ export declare const valuationsContract: {
|
|
|
6204
6228
|
createdById: string;
|
|
6205
6229
|
description?: string | null | undefined;
|
|
6206
6230
|
workPackageId?: string | null | undefined;
|
|
6231
|
+
submittedAt?: string | null | undefined;
|
|
6232
|
+
decidedById?: string | null | undefined;
|
|
6233
|
+
decidedAt?: string | null | undefined;
|
|
6234
|
+
decisionNote?: string | null | undefined;
|
|
6207
6235
|
};
|
|
6208
6236
|
}[];
|
|
6209
6237
|
meta?: {
|
|
@@ -6330,6 +6358,10 @@ export declare const valuationsContract: {
|
|
|
6330
6358
|
amount: z.ZodNumber;
|
|
6331
6359
|
status: z.ZodEnum<["DRAFT", "SUBMITTED", "APPROVED", "REJECTED"]>;
|
|
6332
6360
|
createdById: z.ZodString;
|
|
6361
|
+
submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6362
|
+
decidedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6363
|
+
decidedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6364
|
+
decisionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6333
6365
|
createdAt: z.ZodString;
|
|
6334
6366
|
updatedAt: z.ZodString;
|
|
6335
6367
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
@@ -6343,6 +6375,10 @@ export declare const valuationsContract: {
|
|
|
6343
6375
|
createdById: string;
|
|
6344
6376
|
description?: string | null | undefined;
|
|
6345
6377
|
workPackageId?: string | null | undefined;
|
|
6378
|
+
submittedAt?: string | null | undefined;
|
|
6379
|
+
decidedById?: string | null | undefined;
|
|
6380
|
+
decidedAt?: string | null | undefined;
|
|
6381
|
+
decisionNote?: string | null | undefined;
|
|
6346
6382
|
}, {
|
|
6347
6383
|
createdAt: string;
|
|
6348
6384
|
updatedAt: string;
|
|
@@ -6354,6 +6390,10 @@ export declare const valuationsContract: {
|
|
|
6354
6390
|
createdById: string;
|
|
6355
6391
|
description?: string | null | undefined;
|
|
6356
6392
|
workPackageId?: string | null | undefined;
|
|
6393
|
+
submittedAt?: string | null | undefined;
|
|
6394
|
+
decidedById?: string | null | undefined;
|
|
6395
|
+
decidedAt?: string | null | undefined;
|
|
6396
|
+
decisionNote?: string | null | undefined;
|
|
6357
6397
|
}>;
|
|
6358
6398
|
}, "strip", z.ZodTypeAny, {
|
|
6359
6399
|
id: string;
|
|
@@ -6369,6 +6409,10 @@ export declare const valuationsContract: {
|
|
|
6369
6409
|
createdById: string;
|
|
6370
6410
|
description?: string | null | undefined;
|
|
6371
6411
|
workPackageId?: string | null | undefined;
|
|
6412
|
+
submittedAt?: string | null | undefined;
|
|
6413
|
+
decidedById?: string | null | undefined;
|
|
6414
|
+
decidedAt?: string | null | undefined;
|
|
6415
|
+
decisionNote?: string | null | undefined;
|
|
6372
6416
|
};
|
|
6373
6417
|
}, {
|
|
6374
6418
|
id: string;
|
|
@@ -6384,6 +6428,10 @@ export declare const valuationsContract: {
|
|
|
6384
6428
|
createdById: string;
|
|
6385
6429
|
description?: string | null | undefined;
|
|
6386
6430
|
workPackageId?: string | null | undefined;
|
|
6431
|
+
submittedAt?: string | null | undefined;
|
|
6432
|
+
decidedById?: string | null | undefined;
|
|
6433
|
+
decidedAt?: string | null | undefined;
|
|
6434
|
+
decisionNote?: string | null | undefined;
|
|
6387
6435
|
};
|
|
6388
6436
|
}>;
|
|
6389
6437
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -6437,6 +6485,10 @@ export declare const valuationsContract: {
|
|
|
6437
6485
|
createdById: string;
|
|
6438
6486
|
description?: string | null | undefined;
|
|
6439
6487
|
workPackageId?: string | null | undefined;
|
|
6488
|
+
submittedAt?: string | null | undefined;
|
|
6489
|
+
decidedById?: string | null | undefined;
|
|
6490
|
+
decidedAt?: string | null | undefined;
|
|
6491
|
+
decisionNote?: string | null | undefined;
|
|
6440
6492
|
};
|
|
6441
6493
|
};
|
|
6442
6494
|
meta?: Record<string, unknown> | undefined;
|
|
@@ -6468,6 +6520,10 @@ export declare const valuationsContract: {
|
|
|
6468
6520
|
createdById: string;
|
|
6469
6521
|
description?: string | null | undefined;
|
|
6470
6522
|
workPackageId?: string | null | undefined;
|
|
6523
|
+
submittedAt?: string | null | undefined;
|
|
6524
|
+
decidedById?: string | null | undefined;
|
|
6525
|
+
decidedAt?: string | null | undefined;
|
|
6526
|
+
decisionNote?: string | null | undefined;
|
|
6471
6527
|
};
|
|
6472
6528
|
};
|
|
6473
6529
|
meta?: Record<string, unknown> | undefined;
|
|
@@ -6583,6 +6639,701 @@ export declare const valuationsContract: {
|
|
|
6583
6639
|
}>;
|
|
6584
6640
|
};
|
|
6585
6641
|
};
|
|
6642
|
+
submitVariation: {
|
|
6643
|
+
pathParams: z.ZodObject<{
|
|
6644
|
+
variationId: z.ZodString;
|
|
6645
|
+
}, "strip", z.ZodTypeAny, {
|
|
6646
|
+
variationId: string;
|
|
6647
|
+
}, {
|
|
6648
|
+
variationId: string;
|
|
6649
|
+
}>;
|
|
6650
|
+
summary: "Submit a draft variation for a decision";
|
|
6651
|
+
method: "POST";
|
|
6652
|
+
body: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
6653
|
+
path: "/variations/:variationId/submit";
|
|
6654
|
+
responses: {
|
|
6655
|
+
200: z.ZodObject<{
|
|
6656
|
+
data: z.ZodObject<{
|
|
6657
|
+
type: z.ZodLiteral<"variations">;
|
|
6658
|
+
id: z.ZodString;
|
|
6659
|
+
attributes: z.ZodObject<Omit<{
|
|
6660
|
+
id: z.ZodString;
|
|
6661
|
+
projectId: z.ZodString;
|
|
6662
|
+
companyId: z.ZodString;
|
|
6663
|
+
workPackageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6664
|
+
title: z.ZodString;
|
|
6665
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6666
|
+
amount: z.ZodNumber;
|
|
6667
|
+
status: z.ZodEnum<["DRAFT", "SUBMITTED", "APPROVED", "REJECTED"]>;
|
|
6668
|
+
createdById: z.ZodString;
|
|
6669
|
+
submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6670
|
+
decidedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6671
|
+
decidedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6672
|
+
decisionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6673
|
+
createdAt: z.ZodString;
|
|
6674
|
+
updatedAt: z.ZodString;
|
|
6675
|
+
}, "id">, "strip", z.ZodTypeAny, {
|
|
6676
|
+
createdAt: string;
|
|
6677
|
+
updatedAt: string;
|
|
6678
|
+
companyId: string;
|
|
6679
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
6680
|
+
title: string;
|
|
6681
|
+
projectId: string;
|
|
6682
|
+
amount: number;
|
|
6683
|
+
createdById: string;
|
|
6684
|
+
description?: string | null | undefined;
|
|
6685
|
+
workPackageId?: string | null | undefined;
|
|
6686
|
+
submittedAt?: string | null | undefined;
|
|
6687
|
+
decidedById?: string | null | undefined;
|
|
6688
|
+
decidedAt?: string | null | undefined;
|
|
6689
|
+
decisionNote?: string | null | undefined;
|
|
6690
|
+
}, {
|
|
6691
|
+
createdAt: string;
|
|
6692
|
+
updatedAt: string;
|
|
6693
|
+
companyId: string;
|
|
6694
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
6695
|
+
title: string;
|
|
6696
|
+
projectId: string;
|
|
6697
|
+
amount: number;
|
|
6698
|
+
createdById: string;
|
|
6699
|
+
description?: string | null | undefined;
|
|
6700
|
+
workPackageId?: string | null | undefined;
|
|
6701
|
+
submittedAt?: string | null | undefined;
|
|
6702
|
+
decidedById?: string | null | undefined;
|
|
6703
|
+
decidedAt?: string | null | undefined;
|
|
6704
|
+
decisionNote?: string | null | undefined;
|
|
6705
|
+
}>;
|
|
6706
|
+
}, "strip", z.ZodTypeAny, {
|
|
6707
|
+
id: string;
|
|
6708
|
+
type: "variations";
|
|
6709
|
+
attributes: {
|
|
6710
|
+
createdAt: string;
|
|
6711
|
+
updatedAt: string;
|
|
6712
|
+
companyId: string;
|
|
6713
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
6714
|
+
title: string;
|
|
6715
|
+
projectId: string;
|
|
6716
|
+
amount: number;
|
|
6717
|
+
createdById: string;
|
|
6718
|
+
description?: string | null | undefined;
|
|
6719
|
+
workPackageId?: string | null | undefined;
|
|
6720
|
+
submittedAt?: string | null | undefined;
|
|
6721
|
+
decidedById?: string | null | undefined;
|
|
6722
|
+
decidedAt?: string | null | undefined;
|
|
6723
|
+
decisionNote?: string | null | undefined;
|
|
6724
|
+
};
|
|
6725
|
+
}, {
|
|
6726
|
+
id: string;
|
|
6727
|
+
type: "variations";
|
|
6728
|
+
attributes: {
|
|
6729
|
+
createdAt: string;
|
|
6730
|
+
updatedAt: string;
|
|
6731
|
+
companyId: string;
|
|
6732
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
6733
|
+
title: string;
|
|
6734
|
+
projectId: string;
|
|
6735
|
+
amount: number;
|
|
6736
|
+
createdById: string;
|
|
6737
|
+
description?: string | null | undefined;
|
|
6738
|
+
workPackageId?: string | null | undefined;
|
|
6739
|
+
submittedAt?: string | null | undefined;
|
|
6740
|
+
decidedById?: string | null | undefined;
|
|
6741
|
+
decidedAt?: string | null | undefined;
|
|
6742
|
+
decisionNote?: string | null | undefined;
|
|
6743
|
+
};
|
|
6744
|
+
}>;
|
|
6745
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6746
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
6747
|
+
self: z.ZodString;
|
|
6748
|
+
first: z.ZodOptional<z.ZodString>;
|
|
6749
|
+
last: z.ZodOptional<z.ZodString>;
|
|
6750
|
+
prev: z.ZodOptional<z.ZodString>;
|
|
6751
|
+
next: z.ZodOptional<z.ZodString>;
|
|
6752
|
+
}, "strip", z.ZodTypeAny, {
|
|
6753
|
+
self: string;
|
|
6754
|
+
first?: string | undefined;
|
|
6755
|
+
last?: string | undefined;
|
|
6756
|
+
prev?: string | undefined;
|
|
6757
|
+
next?: string | undefined;
|
|
6758
|
+
}, {
|
|
6759
|
+
self: string;
|
|
6760
|
+
first?: string | undefined;
|
|
6761
|
+
last?: string | undefined;
|
|
6762
|
+
prev?: string | undefined;
|
|
6763
|
+
next?: string | undefined;
|
|
6764
|
+
}>>;
|
|
6765
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6766
|
+
status: z.ZodString;
|
|
6767
|
+
title: z.ZodString;
|
|
6768
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6769
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6770
|
+
}, "strip", z.ZodTypeAny, {
|
|
6771
|
+
status: string;
|
|
6772
|
+
title: string;
|
|
6773
|
+
detail?: string | undefined;
|
|
6774
|
+
meta?: Record<string, unknown> | undefined;
|
|
6775
|
+
}, {
|
|
6776
|
+
status: string;
|
|
6777
|
+
title: string;
|
|
6778
|
+
detail?: string | undefined;
|
|
6779
|
+
meta?: Record<string, unknown> | undefined;
|
|
6780
|
+
}>, "many">>;
|
|
6781
|
+
}, "strip", z.ZodTypeAny, {
|
|
6782
|
+
data: {
|
|
6783
|
+
id: string;
|
|
6784
|
+
type: "variations";
|
|
6785
|
+
attributes: {
|
|
6786
|
+
createdAt: string;
|
|
6787
|
+
updatedAt: string;
|
|
6788
|
+
companyId: string;
|
|
6789
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
6790
|
+
title: string;
|
|
6791
|
+
projectId: string;
|
|
6792
|
+
amount: number;
|
|
6793
|
+
createdById: string;
|
|
6794
|
+
description?: string | null | undefined;
|
|
6795
|
+
workPackageId?: string | null | undefined;
|
|
6796
|
+
submittedAt?: string | null | undefined;
|
|
6797
|
+
decidedById?: string | null | undefined;
|
|
6798
|
+
decidedAt?: string | null | undefined;
|
|
6799
|
+
decisionNote?: string | null | undefined;
|
|
6800
|
+
};
|
|
6801
|
+
};
|
|
6802
|
+
meta?: Record<string, unknown> | undefined;
|
|
6803
|
+
links?: {
|
|
6804
|
+
self: string;
|
|
6805
|
+
first?: string | undefined;
|
|
6806
|
+
last?: string | undefined;
|
|
6807
|
+
prev?: string | undefined;
|
|
6808
|
+
next?: string | undefined;
|
|
6809
|
+
} | undefined;
|
|
6810
|
+
errors?: {
|
|
6811
|
+
status: string;
|
|
6812
|
+
title: string;
|
|
6813
|
+
detail?: string | undefined;
|
|
6814
|
+
meta?: Record<string, unknown> | undefined;
|
|
6815
|
+
}[] | undefined;
|
|
6816
|
+
}, {
|
|
6817
|
+
data: {
|
|
6818
|
+
id: string;
|
|
6819
|
+
type: "variations";
|
|
6820
|
+
attributes: {
|
|
6821
|
+
createdAt: string;
|
|
6822
|
+
updatedAt: string;
|
|
6823
|
+
companyId: string;
|
|
6824
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
6825
|
+
title: string;
|
|
6826
|
+
projectId: string;
|
|
6827
|
+
amount: number;
|
|
6828
|
+
createdById: string;
|
|
6829
|
+
description?: string | null | undefined;
|
|
6830
|
+
workPackageId?: string | null | undefined;
|
|
6831
|
+
submittedAt?: string | null | undefined;
|
|
6832
|
+
decidedById?: string | null | undefined;
|
|
6833
|
+
decidedAt?: string | null | undefined;
|
|
6834
|
+
decisionNote?: string | null | undefined;
|
|
6835
|
+
};
|
|
6836
|
+
};
|
|
6837
|
+
meta?: Record<string, unknown> | undefined;
|
|
6838
|
+
links?: {
|
|
6839
|
+
self: string;
|
|
6840
|
+
first?: string | undefined;
|
|
6841
|
+
last?: string | undefined;
|
|
6842
|
+
prev?: string | undefined;
|
|
6843
|
+
next?: string | undefined;
|
|
6844
|
+
} | undefined;
|
|
6845
|
+
errors?: {
|
|
6846
|
+
status: string;
|
|
6847
|
+
title: string;
|
|
6848
|
+
detail?: string | undefined;
|
|
6849
|
+
meta?: Record<string, unknown> | undefined;
|
|
6850
|
+
}[] | undefined;
|
|
6851
|
+
}>;
|
|
6852
|
+
400: z.ZodObject<{
|
|
6853
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
6854
|
+
status: z.ZodString;
|
|
6855
|
+
title: z.ZodString;
|
|
6856
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6857
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6858
|
+
}, "strip", z.ZodTypeAny, {
|
|
6859
|
+
status: string;
|
|
6860
|
+
title: string;
|
|
6861
|
+
detail?: string | undefined;
|
|
6862
|
+
meta?: Record<string, unknown> | undefined;
|
|
6863
|
+
}, {
|
|
6864
|
+
status: string;
|
|
6865
|
+
title: string;
|
|
6866
|
+
detail?: string | undefined;
|
|
6867
|
+
meta?: Record<string, unknown> | undefined;
|
|
6868
|
+
}>, "many">;
|
|
6869
|
+
}, "strip", z.ZodTypeAny, {
|
|
6870
|
+
errors: {
|
|
6871
|
+
status: string;
|
|
6872
|
+
title: string;
|
|
6873
|
+
detail?: string | undefined;
|
|
6874
|
+
meta?: Record<string, unknown> | undefined;
|
|
6875
|
+
}[];
|
|
6876
|
+
}, {
|
|
6877
|
+
errors: {
|
|
6878
|
+
status: string;
|
|
6879
|
+
title: string;
|
|
6880
|
+
detail?: string | undefined;
|
|
6881
|
+
meta?: Record<string, unknown> | undefined;
|
|
6882
|
+
}[];
|
|
6883
|
+
}>;
|
|
6884
|
+
401: z.ZodObject<{
|
|
6885
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
6886
|
+
status: z.ZodString;
|
|
6887
|
+
title: z.ZodString;
|
|
6888
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6889
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6890
|
+
}, "strip", z.ZodTypeAny, {
|
|
6891
|
+
status: string;
|
|
6892
|
+
title: string;
|
|
6893
|
+
detail?: string | undefined;
|
|
6894
|
+
meta?: Record<string, unknown> | undefined;
|
|
6895
|
+
}, {
|
|
6896
|
+
status: string;
|
|
6897
|
+
title: string;
|
|
6898
|
+
detail?: string | undefined;
|
|
6899
|
+
meta?: Record<string, unknown> | undefined;
|
|
6900
|
+
}>, "many">;
|
|
6901
|
+
}, "strip", z.ZodTypeAny, {
|
|
6902
|
+
errors: {
|
|
6903
|
+
status: string;
|
|
6904
|
+
title: string;
|
|
6905
|
+
detail?: string | undefined;
|
|
6906
|
+
meta?: Record<string, unknown> | undefined;
|
|
6907
|
+
}[];
|
|
6908
|
+
}, {
|
|
6909
|
+
errors: {
|
|
6910
|
+
status: string;
|
|
6911
|
+
title: string;
|
|
6912
|
+
detail?: string | undefined;
|
|
6913
|
+
meta?: Record<string, unknown> | undefined;
|
|
6914
|
+
}[];
|
|
6915
|
+
}>;
|
|
6916
|
+
403: z.ZodObject<{
|
|
6917
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
6918
|
+
status: z.ZodString;
|
|
6919
|
+
title: z.ZodString;
|
|
6920
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6921
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6922
|
+
}, "strip", z.ZodTypeAny, {
|
|
6923
|
+
status: string;
|
|
6924
|
+
title: string;
|
|
6925
|
+
detail?: string | undefined;
|
|
6926
|
+
meta?: Record<string, unknown> | undefined;
|
|
6927
|
+
}, {
|
|
6928
|
+
status: string;
|
|
6929
|
+
title: string;
|
|
6930
|
+
detail?: string | undefined;
|
|
6931
|
+
meta?: Record<string, unknown> | undefined;
|
|
6932
|
+
}>, "many">;
|
|
6933
|
+
}, "strip", z.ZodTypeAny, {
|
|
6934
|
+
errors: {
|
|
6935
|
+
status: string;
|
|
6936
|
+
title: string;
|
|
6937
|
+
detail?: string | undefined;
|
|
6938
|
+
meta?: Record<string, unknown> | undefined;
|
|
6939
|
+
}[];
|
|
6940
|
+
}, {
|
|
6941
|
+
errors: {
|
|
6942
|
+
status: string;
|
|
6943
|
+
title: string;
|
|
6944
|
+
detail?: string | undefined;
|
|
6945
|
+
meta?: Record<string, unknown> | undefined;
|
|
6946
|
+
}[];
|
|
6947
|
+
}>;
|
|
6948
|
+
404: z.ZodObject<{
|
|
6949
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
6950
|
+
status: z.ZodString;
|
|
6951
|
+
title: z.ZodString;
|
|
6952
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6953
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6954
|
+
}, "strip", z.ZodTypeAny, {
|
|
6955
|
+
status: string;
|
|
6956
|
+
title: string;
|
|
6957
|
+
detail?: string | undefined;
|
|
6958
|
+
meta?: Record<string, unknown> | undefined;
|
|
6959
|
+
}, {
|
|
6960
|
+
status: string;
|
|
6961
|
+
title: string;
|
|
6962
|
+
detail?: string | undefined;
|
|
6963
|
+
meta?: Record<string, unknown> | undefined;
|
|
6964
|
+
}>, "many">;
|
|
6965
|
+
}, "strip", z.ZodTypeAny, {
|
|
6966
|
+
errors: {
|
|
6967
|
+
status: string;
|
|
6968
|
+
title: string;
|
|
6969
|
+
detail?: string | undefined;
|
|
6970
|
+
meta?: Record<string, unknown> | undefined;
|
|
6971
|
+
}[];
|
|
6972
|
+
}, {
|
|
6973
|
+
errors: {
|
|
6974
|
+
status: string;
|
|
6975
|
+
title: string;
|
|
6976
|
+
detail?: string | undefined;
|
|
6977
|
+
meta?: Record<string, unknown> | undefined;
|
|
6978
|
+
}[];
|
|
6979
|
+
}>;
|
|
6980
|
+
};
|
|
6981
|
+
};
|
|
6982
|
+
decideVariation: {
|
|
6983
|
+
pathParams: z.ZodObject<{
|
|
6984
|
+
variationId: z.ZodString;
|
|
6985
|
+
}, "strip", z.ZodTypeAny, {
|
|
6986
|
+
variationId: string;
|
|
6987
|
+
}, {
|
|
6988
|
+
variationId: string;
|
|
6989
|
+
}>;
|
|
6990
|
+
summary: "Approve or reject a submitted variation (a rejection needs a note)";
|
|
6991
|
+
method: "POST";
|
|
6992
|
+
body: z.ZodEffects<z.ZodObject<{
|
|
6993
|
+
decision: z.ZodEnum<["APPROVE", "REJECT"]>;
|
|
6994
|
+
note: z.ZodOptional<z.ZodString>;
|
|
6995
|
+
}, "strip", z.ZodTypeAny, {
|
|
6996
|
+
decision: "APPROVE" | "REJECT";
|
|
6997
|
+
note?: string | undefined;
|
|
6998
|
+
}, {
|
|
6999
|
+
decision: "APPROVE" | "REJECT";
|
|
7000
|
+
note?: string | undefined;
|
|
7001
|
+
}>, {
|
|
7002
|
+
decision: "APPROVE" | "REJECT";
|
|
7003
|
+
note?: string | undefined;
|
|
7004
|
+
}, {
|
|
7005
|
+
decision: "APPROVE" | "REJECT";
|
|
7006
|
+
note?: string | undefined;
|
|
7007
|
+
}>;
|
|
7008
|
+
path: "/variations/:variationId/decision";
|
|
7009
|
+
responses: {
|
|
7010
|
+
200: z.ZodObject<{
|
|
7011
|
+
data: z.ZodObject<{
|
|
7012
|
+
type: z.ZodLiteral<"variations">;
|
|
7013
|
+
id: z.ZodString;
|
|
7014
|
+
attributes: z.ZodObject<Omit<{
|
|
7015
|
+
id: z.ZodString;
|
|
7016
|
+
projectId: z.ZodString;
|
|
7017
|
+
companyId: z.ZodString;
|
|
7018
|
+
workPackageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7019
|
+
title: z.ZodString;
|
|
7020
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7021
|
+
amount: z.ZodNumber;
|
|
7022
|
+
status: z.ZodEnum<["DRAFT", "SUBMITTED", "APPROVED", "REJECTED"]>;
|
|
7023
|
+
createdById: z.ZodString;
|
|
7024
|
+
submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7025
|
+
decidedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7026
|
+
decidedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7027
|
+
decisionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7028
|
+
createdAt: z.ZodString;
|
|
7029
|
+
updatedAt: z.ZodString;
|
|
7030
|
+
}, "id">, "strip", z.ZodTypeAny, {
|
|
7031
|
+
createdAt: string;
|
|
7032
|
+
updatedAt: string;
|
|
7033
|
+
companyId: string;
|
|
7034
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
7035
|
+
title: string;
|
|
7036
|
+
projectId: string;
|
|
7037
|
+
amount: number;
|
|
7038
|
+
createdById: string;
|
|
7039
|
+
description?: string | null | undefined;
|
|
7040
|
+
workPackageId?: string | null | undefined;
|
|
7041
|
+
submittedAt?: string | null | undefined;
|
|
7042
|
+
decidedById?: string | null | undefined;
|
|
7043
|
+
decidedAt?: string | null | undefined;
|
|
7044
|
+
decisionNote?: string | null | undefined;
|
|
7045
|
+
}, {
|
|
7046
|
+
createdAt: string;
|
|
7047
|
+
updatedAt: string;
|
|
7048
|
+
companyId: string;
|
|
7049
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
7050
|
+
title: string;
|
|
7051
|
+
projectId: string;
|
|
7052
|
+
amount: number;
|
|
7053
|
+
createdById: string;
|
|
7054
|
+
description?: string | null | undefined;
|
|
7055
|
+
workPackageId?: string | null | undefined;
|
|
7056
|
+
submittedAt?: string | null | undefined;
|
|
7057
|
+
decidedById?: string | null | undefined;
|
|
7058
|
+
decidedAt?: string | null | undefined;
|
|
7059
|
+
decisionNote?: string | null | undefined;
|
|
7060
|
+
}>;
|
|
7061
|
+
}, "strip", z.ZodTypeAny, {
|
|
7062
|
+
id: string;
|
|
7063
|
+
type: "variations";
|
|
7064
|
+
attributes: {
|
|
7065
|
+
createdAt: string;
|
|
7066
|
+
updatedAt: string;
|
|
7067
|
+
companyId: string;
|
|
7068
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
7069
|
+
title: string;
|
|
7070
|
+
projectId: string;
|
|
7071
|
+
amount: number;
|
|
7072
|
+
createdById: string;
|
|
7073
|
+
description?: string | null | undefined;
|
|
7074
|
+
workPackageId?: string | null | undefined;
|
|
7075
|
+
submittedAt?: string | null | undefined;
|
|
7076
|
+
decidedById?: string | null | undefined;
|
|
7077
|
+
decidedAt?: string | null | undefined;
|
|
7078
|
+
decisionNote?: string | null | undefined;
|
|
7079
|
+
};
|
|
7080
|
+
}, {
|
|
7081
|
+
id: string;
|
|
7082
|
+
type: "variations";
|
|
7083
|
+
attributes: {
|
|
7084
|
+
createdAt: string;
|
|
7085
|
+
updatedAt: string;
|
|
7086
|
+
companyId: string;
|
|
7087
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
7088
|
+
title: string;
|
|
7089
|
+
projectId: string;
|
|
7090
|
+
amount: number;
|
|
7091
|
+
createdById: string;
|
|
7092
|
+
description?: string | null | undefined;
|
|
7093
|
+
workPackageId?: string | null | undefined;
|
|
7094
|
+
submittedAt?: string | null | undefined;
|
|
7095
|
+
decidedById?: string | null | undefined;
|
|
7096
|
+
decidedAt?: string | null | undefined;
|
|
7097
|
+
decisionNote?: string | null | undefined;
|
|
7098
|
+
};
|
|
7099
|
+
}>;
|
|
7100
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7101
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
7102
|
+
self: z.ZodString;
|
|
7103
|
+
first: z.ZodOptional<z.ZodString>;
|
|
7104
|
+
last: z.ZodOptional<z.ZodString>;
|
|
7105
|
+
prev: z.ZodOptional<z.ZodString>;
|
|
7106
|
+
next: z.ZodOptional<z.ZodString>;
|
|
7107
|
+
}, "strip", z.ZodTypeAny, {
|
|
7108
|
+
self: string;
|
|
7109
|
+
first?: string | undefined;
|
|
7110
|
+
last?: string | undefined;
|
|
7111
|
+
prev?: string | undefined;
|
|
7112
|
+
next?: string | undefined;
|
|
7113
|
+
}, {
|
|
7114
|
+
self: string;
|
|
7115
|
+
first?: string | undefined;
|
|
7116
|
+
last?: string | undefined;
|
|
7117
|
+
prev?: string | undefined;
|
|
7118
|
+
next?: string | undefined;
|
|
7119
|
+
}>>;
|
|
7120
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7121
|
+
status: z.ZodString;
|
|
7122
|
+
title: z.ZodString;
|
|
7123
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
7124
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7125
|
+
}, "strip", z.ZodTypeAny, {
|
|
7126
|
+
status: string;
|
|
7127
|
+
title: string;
|
|
7128
|
+
detail?: string | undefined;
|
|
7129
|
+
meta?: Record<string, unknown> | undefined;
|
|
7130
|
+
}, {
|
|
7131
|
+
status: string;
|
|
7132
|
+
title: string;
|
|
7133
|
+
detail?: string | undefined;
|
|
7134
|
+
meta?: Record<string, unknown> | undefined;
|
|
7135
|
+
}>, "many">>;
|
|
7136
|
+
}, "strip", z.ZodTypeAny, {
|
|
7137
|
+
data: {
|
|
7138
|
+
id: string;
|
|
7139
|
+
type: "variations";
|
|
7140
|
+
attributes: {
|
|
7141
|
+
createdAt: string;
|
|
7142
|
+
updatedAt: string;
|
|
7143
|
+
companyId: string;
|
|
7144
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
7145
|
+
title: string;
|
|
7146
|
+
projectId: string;
|
|
7147
|
+
amount: number;
|
|
7148
|
+
createdById: string;
|
|
7149
|
+
description?: string | null | undefined;
|
|
7150
|
+
workPackageId?: string | null | undefined;
|
|
7151
|
+
submittedAt?: string | null | undefined;
|
|
7152
|
+
decidedById?: string | null | undefined;
|
|
7153
|
+
decidedAt?: string | null | undefined;
|
|
7154
|
+
decisionNote?: string | null | undefined;
|
|
7155
|
+
};
|
|
7156
|
+
};
|
|
7157
|
+
meta?: Record<string, unknown> | undefined;
|
|
7158
|
+
links?: {
|
|
7159
|
+
self: string;
|
|
7160
|
+
first?: string | undefined;
|
|
7161
|
+
last?: string | undefined;
|
|
7162
|
+
prev?: string | undefined;
|
|
7163
|
+
next?: string | undefined;
|
|
7164
|
+
} | undefined;
|
|
7165
|
+
errors?: {
|
|
7166
|
+
status: string;
|
|
7167
|
+
title: string;
|
|
7168
|
+
detail?: string | undefined;
|
|
7169
|
+
meta?: Record<string, unknown> | undefined;
|
|
7170
|
+
}[] | undefined;
|
|
7171
|
+
}, {
|
|
7172
|
+
data: {
|
|
7173
|
+
id: string;
|
|
7174
|
+
type: "variations";
|
|
7175
|
+
attributes: {
|
|
7176
|
+
createdAt: string;
|
|
7177
|
+
updatedAt: string;
|
|
7178
|
+
companyId: string;
|
|
7179
|
+
status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
|
|
7180
|
+
title: string;
|
|
7181
|
+
projectId: string;
|
|
7182
|
+
amount: number;
|
|
7183
|
+
createdById: string;
|
|
7184
|
+
description?: string | null | undefined;
|
|
7185
|
+
workPackageId?: string | null | undefined;
|
|
7186
|
+
submittedAt?: string | null | undefined;
|
|
7187
|
+
decidedById?: string | null | undefined;
|
|
7188
|
+
decidedAt?: string | null | undefined;
|
|
7189
|
+
decisionNote?: string | null | undefined;
|
|
7190
|
+
};
|
|
7191
|
+
};
|
|
7192
|
+
meta?: Record<string, unknown> | undefined;
|
|
7193
|
+
links?: {
|
|
7194
|
+
self: string;
|
|
7195
|
+
first?: string | undefined;
|
|
7196
|
+
last?: string | undefined;
|
|
7197
|
+
prev?: string | undefined;
|
|
7198
|
+
next?: string | undefined;
|
|
7199
|
+
} | undefined;
|
|
7200
|
+
errors?: {
|
|
7201
|
+
status: string;
|
|
7202
|
+
title: string;
|
|
7203
|
+
detail?: string | undefined;
|
|
7204
|
+
meta?: Record<string, unknown> | undefined;
|
|
7205
|
+
}[] | undefined;
|
|
7206
|
+
}>;
|
|
7207
|
+
400: z.ZodObject<{
|
|
7208
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
7209
|
+
status: z.ZodString;
|
|
7210
|
+
title: z.ZodString;
|
|
7211
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
7212
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7213
|
+
}, "strip", z.ZodTypeAny, {
|
|
7214
|
+
status: string;
|
|
7215
|
+
title: string;
|
|
7216
|
+
detail?: string | undefined;
|
|
7217
|
+
meta?: Record<string, unknown> | undefined;
|
|
7218
|
+
}, {
|
|
7219
|
+
status: string;
|
|
7220
|
+
title: string;
|
|
7221
|
+
detail?: string | undefined;
|
|
7222
|
+
meta?: Record<string, unknown> | undefined;
|
|
7223
|
+
}>, "many">;
|
|
7224
|
+
}, "strip", z.ZodTypeAny, {
|
|
7225
|
+
errors: {
|
|
7226
|
+
status: string;
|
|
7227
|
+
title: string;
|
|
7228
|
+
detail?: string | undefined;
|
|
7229
|
+
meta?: Record<string, unknown> | undefined;
|
|
7230
|
+
}[];
|
|
7231
|
+
}, {
|
|
7232
|
+
errors: {
|
|
7233
|
+
status: string;
|
|
7234
|
+
title: string;
|
|
7235
|
+
detail?: string | undefined;
|
|
7236
|
+
meta?: Record<string, unknown> | undefined;
|
|
7237
|
+
}[];
|
|
7238
|
+
}>;
|
|
7239
|
+
401: z.ZodObject<{
|
|
7240
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
7241
|
+
status: z.ZodString;
|
|
7242
|
+
title: z.ZodString;
|
|
7243
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
7244
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7245
|
+
}, "strip", z.ZodTypeAny, {
|
|
7246
|
+
status: string;
|
|
7247
|
+
title: string;
|
|
7248
|
+
detail?: string | undefined;
|
|
7249
|
+
meta?: Record<string, unknown> | undefined;
|
|
7250
|
+
}, {
|
|
7251
|
+
status: string;
|
|
7252
|
+
title: string;
|
|
7253
|
+
detail?: string | undefined;
|
|
7254
|
+
meta?: Record<string, unknown> | undefined;
|
|
7255
|
+
}>, "many">;
|
|
7256
|
+
}, "strip", z.ZodTypeAny, {
|
|
7257
|
+
errors: {
|
|
7258
|
+
status: string;
|
|
7259
|
+
title: string;
|
|
7260
|
+
detail?: string | undefined;
|
|
7261
|
+
meta?: Record<string, unknown> | undefined;
|
|
7262
|
+
}[];
|
|
7263
|
+
}, {
|
|
7264
|
+
errors: {
|
|
7265
|
+
status: string;
|
|
7266
|
+
title: string;
|
|
7267
|
+
detail?: string | undefined;
|
|
7268
|
+
meta?: Record<string, unknown> | undefined;
|
|
7269
|
+
}[];
|
|
7270
|
+
}>;
|
|
7271
|
+
403: z.ZodObject<{
|
|
7272
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
7273
|
+
status: z.ZodString;
|
|
7274
|
+
title: z.ZodString;
|
|
7275
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
7276
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7277
|
+
}, "strip", z.ZodTypeAny, {
|
|
7278
|
+
status: string;
|
|
7279
|
+
title: string;
|
|
7280
|
+
detail?: string | undefined;
|
|
7281
|
+
meta?: Record<string, unknown> | undefined;
|
|
7282
|
+
}, {
|
|
7283
|
+
status: string;
|
|
7284
|
+
title: string;
|
|
7285
|
+
detail?: string | undefined;
|
|
7286
|
+
meta?: Record<string, unknown> | undefined;
|
|
7287
|
+
}>, "many">;
|
|
7288
|
+
}, "strip", z.ZodTypeAny, {
|
|
7289
|
+
errors: {
|
|
7290
|
+
status: string;
|
|
7291
|
+
title: string;
|
|
7292
|
+
detail?: string | undefined;
|
|
7293
|
+
meta?: Record<string, unknown> | undefined;
|
|
7294
|
+
}[];
|
|
7295
|
+
}, {
|
|
7296
|
+
errors: {
|
|
7297
|
+
status: string;
|
|
7298
|
+
title: string;
|
|
7299
|
+
detail?: string | undefined;
|
|
7300
|
+
meta?: Record<string, unknown> | undefined;
|
|
7301
|
+
}[];
|
|
7302
|
+
}>;
|
|
7303
|
+
404: z.ZodObject<{
|
|
7304
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
7305
|
+
status: z.ZodString;
|
|
7306
|
+
title: z.ZodString;
|
|
7307
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
7308
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7309
|
+
}, "strip", z.ZodTypeAny, {
|
|
7310
|
+
status: string;
|
|
7311
|
+
title: string;
|
|
7312
|
+
detail?: string | undefined;
|
|
7313
|
+
meta?: Record<string, unknown> | undefined;
|
|
7314
|
+
}, {
|
|
7315
|
+
status: string;
|
|
7316
|
+
title: string;
|
|
7317
|
+
detail?: string | undefined;
|
|
7318
|
+
meta?: Record<string, unknown> | undefined;
|
|
7319
|
+
}>, "many">;
|
|
7320
|
+
}, "strip", z.ZodTypeAny, {
|
|
7321
|
+
errors: {
|
|
7322
|
+
status: string;
|
|
7323
|
+
title: string;
|
|
7324
|
+
detail?: string | undefined;
|
|
7325
|
+
meta?: Record<string, unknown> | undefined;
|
|
7326
|
+
}[];
|
|
7327
|
+
}, {
|
|
7328
|
+
errors: {
|
|
7329
|
+
status: string;
|
|
7330
|
+
title: string;
|
|
7331
|
+
detail?: string | undefined;
|
|
7332
|
+
meta?: Record<string, unknown> | undefined;
|
|
7333
|
+
}[];
|
|
7334
|
+
}>;
|
|
7335
|
+
};
|
|
7336
|
+
};
|
|
6586
7337
|
cashFlow: {
|
|
6587
7338
|
pathParams: z.ZodObject<{
|
|
6588
7339
|
projectId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valuations.d.ts","sourceRoot":"","sources":["../../../src/contracts/valuations.ts"],"names":[],"mappings":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sonApiErrorResponseSchema, JsonApiResponseSchema, } from '../schemas/common';
|
|
5
5
|
import { EvidenceStrengthSchema } from '../schemas/evidence';
|
|
6
|
-
import { ApproveCertificateRequestSchema, CertifyLineRequestSchema, CreateCertificateRequestSchema, CreateVariationRequestSchema, RecordPaymentRequestSchema, ReleaseCertificateRequestSchema, ReopenCertificateRequestSchema, SubmitClaimsRequestSchema, ValuationCertificateResourceSchema, ValuationPaymentResourceSchema, VariationResourceSchema, } from '../schemas/valuations';
|
|
6
|
+
import { ApproveCertificateRequestSchema, CertifyLineRequestSchema, CreateCertificateRequestSchema, CreateVariationRequestSchema, DecideVariationRequestSchema, RecordPaymentRequestSchema, ReleaseCertificateRequestSchema, ReopenCertificateRequestSchema, SubmitClaimsRequestSchema, ValuationCertificateResourceSchema, ValuationPaymentResourceSchema, VariationResourceSchema, } from '../schemas/valuations';
|
|
7
7
|
const c = initContract();
|
|
8
8
|
export const valuationsContract = c.router({
|
|
9
9
|
listCertificates: {
|
|
@@ -153,6 +153,34 @@ export const valuationsContract = c.router({
|
|
|
153
153
|
},
|
|
154
154
|
summary: 'Create a variation',
|
|
155
155
|
},
|
|
156
|
+
submitVariation: {
|
|
157
|
+
method: 'POST',
|
|
158
|
+
path: '/variations/:variationId/submit',
|
|
159
|
+
pathParams: z.object({ variationId: CuidSchema }),
|
|
160
|
+
body: z.object({}).optional(),
|
|
161
|
+
responses: {
|
|
162
|
+
200: JsonApiResponseSchema(VariationResourceSchema),
|
|
163
|
+
400: JsonApiErrorResponseSchema,
|
|
164
|
+
401: JsonApiErrorResponseSchema,
|
|
165
|
+
403: JsonApiErrorResponseSchema,
|
|
166
|
+
404: JsonApiErrorResponseSchema,
|
|
167
|
+
},
|
|
168
|
+
summary: 'Submit a draft variation for a decision',
|
|
169
|
+
},
|
|
170
|
+
decideVariation: {
|
|
171
|
+
method: 'POST',
|
|
172
|
+
path: '/variations/:variationId/decision',
|
|
173
|
+
pathParams: z.object({ variationId: CuidSchema }),
|
|
174
|
+
body: DecideVariationRequestSchema,
|
|
175
|
+
responses: {
|
|
176
|
+
200: JsonApiResponseSchema(VariationResourceSchema),
|
|
177
|
+
400: JsonApiErrorResponseSchema,
|
|
178
|
+
401: JsonApiErrorResponseSchema,
|
|
179
|
+
403: JsonApiErrorResponseSchema,
|
|
180
|
+
404: JsonApiErrorResponseSchema,
|
|
181
|
+
},
|
|
182
|
+
summary: 'Approve or reject a submitted variation (a rejection needs a note)',
|
|
183
|
+
},
|
|
156
184
|
cashFlow: {
|
|
157
185
|
method: 'GET',
|
|
158
186
|
path: '/projects/:projectId/cash-flow',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valuations.js","sourceRoot":"","sources":["../../../src/contracts/valuations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EACL,UAAU,EACV,+BAA+B,EAC/B,0BAA0B,EAC1B,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EACL,+BAA+B,EAC/B,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,0BAA0B,EAC1B,+BAA+B,EAC/B,8BAA8B,EAC9B,yBAAyB,EACzB,kCAAkC,EAClC,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,YAAY,EAAE,CAAC;AAEzB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,gBAAgB,EAAE;QAChB,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,iCAAiC;QACvC,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAA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{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/schemas/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAC;AAGH,eAAO,MAAM,kBAAkB,oFAO7B,CAAC;AAEH,eAAO,MAAM,sBAAsB,wEAOjC,CAAC;AAEH,eAAO,MAAM,wBAAwB,yHAWnC,CAAC;AAEH,eAAO,MAAM,qBAAqB,oDAAkD,CAAC;AAQrF,eAAO,MAAM,mBAAmB,+
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/schemas/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAC;AAGH,eAAO,MAAM,kBAAkB,oFAO7B,CAAC;AAEH,eAAO,MAAM,sBAAsB,wEAOjC,CAAC;AAEH,eAAO,MAAM,wBAAwB,yHAWnC,CAAC;AAEH,eAAO,MAAM,qBAAqB,oDAAkD,CAAC;AAQrF,eAAO,MAAM,mBAAmB,+LAI/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,oFAO3B,CAAC;AAEH,eAAO,MAAM,cAAc,kDAAgD,CAAC;AAE5E,eAAO,MAAM,eAAe,qEAAmE,CAAC;AAEhG,eAAO,MAAM,qBAAqB,iHAOhC,CAAC;AAEH,eAAO,MAAM,kBAAkB,mNAgB7B,CAAC;AAEH,eAAO,MAAM,iBAAiB,iDAA+C,CAAC;AAE9E,eAAO,MAAM,kBAAkB,6FAM7B,CAAC;AAEH,eAAO,MAAM,sBAAsB,kDAAgD,CAAC;AAEpF,eAAO,MAAM,oBAAoB,gEAA8D,CAAC;AAGhG,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;EAK3B,CAAC;AAEH,eAAO,MAAM,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CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC;CACpD,CAAC"}
|
package/schemas/common.js
CHANGED
|
@@ -45,9 +45,7 @@ const PROJECT_STATUS_ALIASES = {
|
|
|
45
45
|
ACTIVE: 'IN_PROGRESS',
|
|
46
46
|
PLANNING: 'PLANNED',
|
|
47
47
|
};
|
|
48
|
-
export const ProjectStatusSchema = z.preprocess(
|
|
49
|
-
? PROJECT_STATUS_ALIASES[val]
|
|
50
|
-
: val, z.enum(['PLANNED', 'IN_PROGRESS', 'ON_HOLD', 'COMPLETED', 'CANCELLED', 'ARCHIVED']));
|
|
48
|
+
export const ProjectStatusSchema = z.preprocess(val => typeof val === 'string' && PROJECT_STATUS_ALIASES[val] ? PROJECT_STATUS_ALIASES[val] : val, z.enum(['PLANNED', 'IN_PROGRESS', 'ON_HOLD', 'COMPLETED', 'CANCELLED', 'ARCHIVED']));
|
|
51
49
|
export const TaskStatusSchema = z.enum([
|
|
52
50
|
'TODO',
|
|
53
51
|
'IN_PROGRESS',
|
package/schemas/common.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/schemas/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,wCAAwC;AACxC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACvC,SAAS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AC,kBAAkB,CAAC;CACpC,CAAC,CAAC"}
|
package/schemas/valuations.d.ts
CHANGED
|
@@ -608,6 +608,10 @@ export declare const VariationSchema: z.ZodObject<{
|
|
|
608
608
|
amount: z.ZodNumber;
|
|
609
609
|
status: z.ZodEnum<["DRAFT", "SUBMITTED", "APPROVED", "REJECTED"]>;
|
|
610
610
|
createdById: z.ZodString;
|
|
611
|
+
submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
612
|
+
decidedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
613
|
+
decidedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
|
+
decisionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
611
615
|
createdAt: z.ZodString;
|
|
612
616
|
updatedAt: z.ZodString;
|
|
613
617
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -622,6 +626,10 @@ export declare const VariationSchema: z.ZodObject<{
|
|
|
622
626
|
createdById: string;
|
|
623
627
|
description?: string | null | undefined;
|
|
624
628
|
workPackageId?: string | null | undefined;
|
|
629
|
+
submittedAt?: string | null | undefined;
|
|
630
|
+
decidedById?: string | null | undefined;
|
|
631
|
+
decidedAt?: string | null | undefined;
|
|
632
|
+
decisionNote?: string | null | undefined;
|
|
625
633
|
}, {
|
|
626
634
|
id: string;
|
|
627
635
|
createdAt: string;
|
|
@@ -634,6 +642,26 @@ export declare const VariationSchema: z.ZodObject<{
|
|
|
634
642
|
createdById: string;
|
|
635
643
|
description?: string | null | undefined;
|
|
636
644
|
workPackageId?: string | null | undefined;
|
|
645
|
+
submittedAt?: string | null | undefined;
|
|
646
|
+
decidedById?: string | null | undefined;
|
|
647
|
+
decidedAt?: string | null | undefined;
|
|
648
|
+
decisionNote?: string | null | undefined;
|
|
649
|
+
}>;
|
|
650
|
+
export declare const DecideVariationRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
651
|
+
decision: z.ZodEnum<["APPROVE", "REJECT"]>;
|
|
652
|
+
note: z.ZodOptional<z.ZodString>;
|
|
653
|
+
}, "strip", z.ZodTypeAny, {
|
|
654
|
+
decision: "APPROVE" | "REJECT";
|
|
655
|
+
note?: string | undefined;
|
|
656
|
+
}, {
|
|
657
|
+
decision: "APPROVE" | "REJECT";
|
|
658
|
+
note?: string | undefined;
|
|
659
|
+
}>, {
|
|
660
|
+
decision: "APPROVE" | "REJECT";
|
|
661
|
+
note?: string | undefined;
|
|
662
|
+
}, {
|
|
663
|
+
decision: "APPROVE" | "REJECT";
|
|
664
|
+
note?: string | undefined;
|
|
637
665
|
}>;
|
|
638
666
|
export declare const CreateVariationRequestSchema: z.ZodObject<{
|
|
639
667
|
workPackageId: z.ZodOptional<z.ZodString>;
|
|
@@ -1057,6 +1085,10 @@ export declare const VariationResourceSchema: z.ZodObject<{
|
|
|
1057
1085
|
amount: z.ZodNumber;
|
|
1058
1086
|
status: z.ZodEnum<["DRAFT", "SUBMITTED", "APPROVED", "REJECTED"]>;
|
|
1059
1087
|
createdById: z.ZodString;
|
|
1088
|
+
submittedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1089
|
+
decidedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1090
|
+
decidedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1091
|
+
decisionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1060
1092
|
createdAt: z.ZodString;
|
|
1061
1093
|
updatedAt: z.ZodString;
|
|
1062
1094
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
@@ -1070,6 +1102,10 @@ export declare const VariationResourceSchema: z.ZodObject<{
|
|
|
1070
1102
|
createdById: string;
|
|
1071
1103
|
description?: string | null | undefined;
|
|
1072
1104
|
workPackageId?: string | null | undefined;
|
|
1105
|
+
submittedAt?: string | null | undefined;
|
|
1106
|
+
decidedById?: string | null | undefined;
|
|
1107
|
+
decidedAt?: string | null | undefined;
|
|
1108
|
+
decisionNote?: string | null | undefined;
|
|
1073
1109
|
}, {
|
|
1074
1110
|
createdAt: string;
|
|
1075
1111
|
updatedAt: string;
|
|
@@ -1081,6 +1117,10 @@ export declare const VariationResourceSchema: z.ZodObject<{
|
|
|
1081
1117
|
createdById: string;
|
|
1082
1118
|
description?: string | null | undefined;
|
|
1083
1119
|
workPackageId?: string | null | undefined;
|
|
1120
|
+
submittedAt?: string | null | undefined;
|
|
1121
|
+
decidedById?: string | null | undefined;
|
|
1122
|
+
decidedAt?: string | null | undefined;
|
|
1123
|
+
decisionNote?: string | null | undefined;
|
|
1084
1124
|
}>;
|
|
1085
1125
|
}, "strip", z.ZodTypeAny, {
|
|
1086
1126
|
id: string;
|
|
@@ -1096,6 +1136,10 @@ export declare const VariationResourceSchema: z.ZodObject<{
|
|
|
1096
1136
|
createdById: string;
|
|
1097
1137
|
description?: string | null | undefined;
|
|
1098
1138
|
workPackageId?: string | null | undefined;
|
|
1139
|
+
submittedAt?: string | null | undefined;
|
|
1140
|
+
decidedById?: string | null | undefined;
|
|
1141
|
+
decidedAt?: string | null | undefined;
|
|
1142
|
+
decisionNote?: string | null | undefined;
|
|
1099
1143
|
};
|
|
1100
1144
|
}, {
|
|
1101
1145
|
id: string;
|
|
@@ -1111,6 +1155,10 @@ export declare const VariationResourceSchema: z.ZodObject<{
|
|
|
1111
1155
|
createdById: string;
|
|
1112
1156
|
description?: string | null | undefined;
|
|
1113
1157
|
workPackageId?: string | null | undefined;
|
|
1158
|
+
submittedAt?: string | null | undefined;
|
|
1159
|
+
decidedById?: string | null | undefined;
|
|
1160
|
+
decidedAt?: string | null | undefined;
|
|
1161
|
+
decisionNote?: string | null | undefined;
|
|
1114
1162
|
};
|
|
1115
1163
|
}>;
|
|
1116
1164
|
export declare const ValuationPaymentSchema: z.ZodObject<{
|
|
@@ -1207,5 +1255,6 @@ export type ReopenCertificateRequest = z.infer<typeof ReopenCertificateRequestSc
|
|
|
1207
1255
|
export type RecordPaymentRequest = z.infer<typeof RecordPaymentRequestSchema>;
|
|
1208
1256
|
export type Variation = z.infer<typeof VariationSchema>;
|
|
1209
1257
|
export type CreateVariationRequest = z.infer<typeof CreateVariationRequestSchema>;
|
|
1258
|
+
export type DecideVariationRequest = z.infer<typeof DecideVariationRequestSchema>;
|
|
1210
1259
|
export type ValuationPayment = z.infer<typeof ValuationPaymentSchema>;
|
|
1211
1260
|
//# sourceMappingURL=valuations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valuations.d.ts","sourceRoot":"","sources":["../../../src/schemas/valuations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,yBAAyB,8GASpC,CAAC;AACH,eAAO,MAAM,qBAAqB,4DAA0D,CAAC;AAC7F,eAAO,MAAM,qBAAqB,2DAAyD,CAAC;AAE5F,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAenC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BrC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;EAQzC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
package/schemas/valuations.js
CHANGED
|
@@ -120,9 +120,22 @@ export const VariationSchema = z.object({
|
|
|
120
120
|
amount: z.number(),
|
|
121
121
|
status: VariationStatusSchema,
|
|
122
122
|
createdById: CuidSchema,
|
|
123
|
+
submittedAt: DateTimeSchema.nullable().optional(),
|
|
124
|
+
decidedById: CuidSchema.nullable().optional(),
|
|
125
|
+
decidedAt: DateTimeSchema.nullable().optional(),
|
|
126
|
+
decisionNote: z.string().nullable().optional(),
|
|
123
127
|
createdAt: DateTimeSchema,
|
|
124
128
|
updatedAt: DateTimeSchema,
|
|
125
129
|
});
|
|
130
|
+
export const DecideVariationRequestSchema = z
|
|
131
|
+
.object({
|
|
132
|
+
decision: z.enum(['APPROVE', 'REJECT']),
|
|
133
|
+
note: z.string().max(2000).optional(),
|
|
134
|
+
})
|
|
135
|
+
.refine(v => v.decision === 'APPROVE' || !!v.note?.trim(), {
|
|
136
|
+
message: 'A note is required when rejecting a variation',
|
|
137
|
+
path: ['note'],
|
|
138
|
+
});
|
|
126
139
|
export const CreateVariationRequestSchema = z.object({
|
|
127
140
|
workPackageId: CuidSchema.optional(),
|
|
128
141
|
title: z.string().min(1).max(200),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valuations.js","sourceRoot":"","sources":["../../../src/schemas/valuations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,UAAU,EAAE,cAA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