@workwell-global/component-library 1.1.35 → 1.1.36
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.
|
@@ -2,7 +2,7 @@ import { z } from 'zod'
|
|
|
2
2
|
|
|
3
3
|
import { SimulationToolkit } from '../../api/SSimulationAPI'
|
|
4
4
|
import { SCurrencyBFF } from './SGetEnquirySimCurrencyBFF'
|
|
5
|
-
import {
|
|
5
|
+
import { SSimDocumentBFF } from './SGetEnquirySimDocumentBFF'
|
|
6
6
|
import { SSolutionBFF } from './SGetEnquirySimSolutionBFF'
|
|
7
7
|
import { SWorkCountryBFF } from './SGetEnquirySimWorkCountryBFF'
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@ export const SGetEnquirySimBFF = SimulationToolkit.SResponseAPI.pick({
|
|
|
24
24
|
currency: SCurrencyBFF,
|
|
25
25
|
solution: SSolutionBFF,
|
|
26
26
|
solutionType: SSolutionBFF,
|
|
27
|
-
simulationDocuments: z.array(
|
|
27
|
+
simulationDocuments: z.array(SSimDocumentBFF).optional(),
|
|
28
28
|
})
|
|
29
29
|
|
|
30
30
|
export type TGetEnquirySimBFF = z.infer<typeof SGetEnquirySimBFF>
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
import { ContractorDocumentToolkit } from '../../api/SContractorDocumentAPI'
|
|
3
3
|
|
|
4
|
-
export const
|
|
4
|
+
export const SSimDocumentBFF = ContractorDocumentToolkit.SResponseAPI.pick({
|
|
5
5
|
contractorDocumentId: true,
|
|
6
6
|
name: true,
|
|
7
|
+
fileName: true,
|
|
7
8
|
}).nullish()
|
|
8
9
|
|
|
9
|
-
export type TGetEnquirySimDocumentBFF = z.infer<typeof
|
|
10
|
+
export type TGetEnquirySimDocumentBFF = z.infer<typeof SSimDocumentBFF>
|