@remoteoss/remote-flows 1.49.1 → 1.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (597) hide show
  1. package/README.md +1 -0
  2. package/dist/CheckboxFieldDefault-JOUZXB4Y.js +2 -0
  3. package/dist/CountryFieldDefault-IZQOFNX5.js +2 -0
  4. package/dist/DatePickerFieldDefault-AWV7LUPI.js +2 -0
  5. package/dist/FileUploadFieldDefault-NZ33IMPU.js +2 -0
  6. package/dist/ForcedValueFieldDefault-RY5AN7O6.js +2 -0
  7. package/dist/MultiSelectFieldDefault-DOZQUBEE.js +2 -0
  8. package/dist/RadioGroupFieldDefault-GFDO56LK.js +2 -0
  9. package/dist/SelectFieldDefault-E4KFZBJ7.js +2 -0
  10. package/dist/TelFieldDefault-2EPAKDTW.js +2 -0
  11. package/dist/TextAreaFieldDefault-WZIVM4RZ.js +2 -0
  12. package/dist/TextFieldDefault-YVXZO4AN.js +2 -0
  13. package/dist/TimeFieldDefault-JN4MDIO6.js +2 -0
  14. package/dist/chunk-25MUO3XP.js +2 -0
  15. package/dist/chunk-25MUO3XP.js.map +1 -0
  16. package/dist/{chunk-EQIWABAZ.js → chunk-2UH6Y56R.js} +2 -2
  17. package/dist/{chunk-D737GUYZ.js → chunk-3G4HOZCM.js} +2 -2
  18. package/dist/{chunk-G3KQCVQQ.js → chunk-3OKB5OHA.js} +2 -2
  19. package/dist/{chunk-ANZ2YYUE.js → chunk-46BOEYFO.js} +2 -2
  20. package/dist/{chunk-VYAJQ25J.js → chunk-4CNDASPA.js} +2 -2
  21. package/dist/{chunk-QSF4XFSV.js → chunk-4IGLIHGF.js} +2 -2
  22. package/dist/{chunk-WZOVZYNI.js → chunk-4WSYC3Q5.js} +2 -2
  23. package/dist/{chunk-PYNHR7NL.js → chunk-53QBSOMG.js} +2 -2
  24. package/dist/{chunk-3LELUHRO.js → chunk-5HDMU73I.js} +2 -2
  25. package/dist/{chunk-JQ3SLOUP.js → chunk-5JXLXWTD.js} +2 -2
  26. package/dist/{chunk-F3UUYQGY.js → chunk-5PUW4YCY.js} +2 -2
  27. package/dist/chunk-5YI7MY5T.js +2 -0
  28. package/dist/chunk-5YI7MY5T.js.map +1 -0
  29. package/dist/{chunk-6IQJJCQ3.js → chunk-6CBC5OAQ.js} +2 -2
  30. package/dist/{chunk-JKHJR6HK.js → chunk-753FEV2S.js} +2 -2
  31. package/dist/{chunk-JKHJR6HK.js.map → chunk-753FEV2S.js.map} +1 -1
  32. package/dist/{chunk-YRC6EEM3.js → chunk-77AA65OH.js} +2 -2
  33. package/dist/{chunk-YRC6EEM3.js.map → chunk-77AA65OH.js.map} +1 -1
  34. package/dist/{chunk-ZXGAFQXW.js → chunk-7B3ATY3M.js} +2 -2
  35. package/dist/{chunk-ZXGAFQXW.js.map → chunk-7B3ATY3M.js.map} +1 -1
  36. package/dist/{chunk-5FGYC2RF.js → chunk-7FKNXW2I.js} +2 -2
  37. package/dist/{chunk-Z7VNXKWB.js → chunk-AAXPKULB.js} +2 -2
  38. package/dist/chunk-AXZ4IDY7.js +2 -0
  39. package/dist/chunk-AXZ4IDY7.js.map +1 -0
  40. package/dist/{chunk-FDTOQHOJ.js → chunk-BB3M25A3.js} +2 -2
  41. package/dist/chunk-BHHK7QQZ.js +2 -0
  42. package/dist/chunk-BHHK7QQZ.js.map +1 -0
  43. package/dist/{chunk-OTBCLDGR.js → chunk-BLKWR77C.js} +2 -2
  44. package/dist/chunk-BTCC6PNG.js +2 -0
  45. package/dist/chunk-BTCC6PNG.js.map +1 -0
  46. package/dist/{chunk-5WTCN4WO.js → chunk-C7MVEDVY.js} +2 -2
  47. package/dist/{chunk-WDPJIOLG.js → chunk-CCGAAOXN.js} +2 -2
  48. package/dist/{chunk-EYZVDP6A.js → chunk-CD6H4MBI.js} +2 -2
  49. package/dist/{chunk-4YFJOHSM.js → chunk-CONMRDRL.js} +2 -2
  50. package/dist/{chunk-F2SGCGXL.js → chunk-CUO7OGD5.js} +2 -2
  51. package/dist/{chunk-F3DZUA7W.js → chunk-D6PMXNBM.js} +2 -2
  52. package/dist/chunk-DDMXUBCN.js +2 -0
  53. package/dist/chunk-DDMXUBCN.js.map +1 -0
  54. package/dist/{chunk-K67Q5476.js → chunk-DOPQK5RP.js} +2 -2
  55. package/dist/{chunk-C5T75DEZ.js → chunk-DP6L72YF.js} +2 -2
  56. package/dist/{chunk-ALHHN2LG.js → chunk-DYIMRD6T.js} +2 -2
  57. package/dist/{chunk-TC7EQZJK.js → chunk-E5ATCB4A.js} +2 -2
  58. package/dist/{chunk-TC7EQZJK.js.map → chunk-E5ATCB4A.js.map} +1 -1
  59. package/dist/{chunk-5TOSVOLY.js → chunk-ED35NFA6.js} +2 -2
  60. package/dist/{chunk-V3C32X6R.js → chunk-EMMFAZZC.js} +2 -2
  61. package/dist/{chunk-2GTY2DMO.js → chunk-ERBEPQJP.js} +2 -2
  62. package/dist/{chunk-2GTY2DMO.js.map → chunk-ERBEPQJP.js.map} +1 -1
  63. package/dist/{chunk-3BQVEYHE.js → chunk-EVUTX6TJ.js} +2 -2
  64. package/dist/chunk-F37FQXEZ.js +2 -0
  65. package/dist/chunk-F37FQXEZ.js.map +1 -0
  66. package/dist/chunk-FQBOMXMX.js +2 -0
  67. package/dist/chunk-FQBOMXMX.js.map +1 -0
  68. package/dist/{chunk-R2D32OB6.js → chunk-FSCAWXCB.js} +2 -2
  69. package/dist/{chunk-7XDU2VWN.js → chunk-FV6NNYDP.js} +2 -2
  70. package/dist/{chunk-JLM4O7ZW.js → chunk-G6EKGJBB.js} +2 -2
  71. package/dist/{chunk-YUUUI4FY.js → chunk-G75LPZV5.js} +2 -2
  72. package/dist/{chunk-3RQSRU7O.js → chunk-GE74QKS6.js} +2 -2
  73. package/dist/{chunk-H5OZSXSY.js → chunk-GHZABLDV.js} +2 -2
  74. package/dist/chunk-GIZQZBHB.js +2 -0
  75. package/dist/chunk-GIZQZBHB.js.map +1 -0
  76. package/dist/{chunk-BTZ57COZ.js → chunk-GTS7KFEM.js} +2 -2
  77. package/dist/{chunk-WYIU74JN.js → chunk-H47XUL2L.js} +2 -2
  78. package/dist/chunk-H6XROFQT.js +2 -0
  79. package/dist/chunk-H6XROFQT.js.map +1 -0
  80. package/dist/{chunk-VQRE3YLW.js → chunk-I4DU34BA.js} +2 -2
  81. package/dist/chunk-ICYCECFS.js +2 -0
  82. package/dist/{chunk-XFD3ULUF.js.map → chunk-ICYCECFS.js.map} +1 -1
  83. package/dist/{chunk-S2QXSX4Q.js → chunk-ILEO7LN4.js} +2 -2
  84. package/dist/{chunk-7NDAFJXR.js → chunk-ILMRP364.js} +2 -2
  85. package/dist/{chunk-J4CHUIPC.js → chunk-ITCWBZDM.js} +2 -2
  86. package/dist/{chunk-PNNOU6BC.js → chunk-JI3PAIMV.js} +2 -2
  87. package/dist/{chunk-WGDZTF7Y.js → chunk-JLZFNUBH.js} +2 -2
  88. package/dist/{chunk-IUBHVGVV.js → chunk-JVXI4RZU.js} +2 -2
  89. package/dist/{chunk-LMYJ6V44.js → chunk-JVZ5LUV4.js} +2 -2
  90. package/dist/{chunk-LMYJ6V44.js.map → chunk-JVZ5LUV4.js.map} +1 -1
  91. package/dist/{chunk-4Y2INBAI.js → chunk-KGNLBYM5.js} +2 -2
  92. package/dist/{chunk-ORP6DY5I.js → chunk-L2YOD4GP.js} +2 -2
  93. package/dist/{chunk-IAR6BWUY.js → chunk-LADLAP2S.js} +2 -2
  94. package/dist/chunk-LSUBNZ64.js +2 -0
  95. package/dist/chunk-LSUBNZ64.js.map +1 -0
  96. package/dist/{chunk-QHJ3BYJN.js → chunk-LXGL7HF5.js} +2 -2
  97. package/dist/{chunk-2LSLWFZS.js → chunk-MEYX4D5K.js} +2 -2
  98. package/dist/{chunk-LCUYP6VW.js → chunk-MXAFJYLQ.js} +2 -2
  99. package/dist/{chunk-UAEQLFPK.js → chunk-N7HCQXUM.js} +2 -2
  100. package/dist/chunk-NAFECQWK.js +2 -0
  101. package/dist/{chunk-JRRPMAUO.js → chunk-NFWKD7UR.js} +2 -2
  102. package/dist/{chunk-6S5Q2OKC.js → chunk-NTPHMYYC.js} +2 -2
  103. package/dist/chunk-NYR6FVCU.js +2 -0
  104. package/dist/{chunk-ILX6RI7K.js.map → chunk-NYR6FVCU.js.map} +1 -1
  105. package/dist/chunk-OHVXJXF4.js +1 -0
  106. package/dist/chunk-OHVXJXF4.js.map +1 -0
  107. package/dist/{chunk-POWC7LZN.js → chunk-OKBPMWVB.js} +2 -2
  108. package/dist/{chunk-BWM2MYPE.js → chunk-OWOIDZHI.js} +2 -2
  109. package/dist/{chunk-6IDUDCVS.js → chunk-P2WUHKEU.js} +2 -2
  110. package/dist/{chunk-3LMZ3SOP.js → chunk-P6FFLJDP.js} +2 -2
  111. package/dist/{chunk-MZK2U65W.js → chunk-PKJZ2N4C.js} +2 -2
  112. package/dist/{chunk-NX7MM6XR.js → chunk-PKQG25GH.js} +2 -2
  113. package/dist/{chunk-NX7MM6XR.js.map → chunk-PKQG25GH.js.map} +1 -1
  114. package/dist/{chunk-CFPKRLGM.js → chunk-QFTBKRUI.js} +2 -2
  115. package/dist/chunk-QQV5REGG.js +8 -0
  116. package/dist/chunk-QQV5REGG.js.map +1 -0
  117. package/dist/{chunk-ZQVVHVAG.js → chunk-R4ZUOFYN.js} +2 -2
  118. package/dist/chunk-R5ADEPLC.js +2 -0
  119. package/dist/chunk-R5ADEPLC.js.map +1 -0
  120. package/dist/{chunk-TXOCMI5I.js → chunk-RFMYNPR7.js} +2 -2
  121. package/dist/chunk-ROO2IFBF.js +2 -0
  122. package/dist/chunk-ROO2IFBF.js.map +1 -0
  123. package/dist/{chunk-2LR5N626.js → chunk-RYZ7TJVS.js} +2 -2
  124. package/dist/{chunk-UU2IFOXR.js → chunk-RZL44CPH.js} +2 -2
  125. package/dist/{chunk-C2HZNBMZ.js → chunk-SLRPDXK6.js} +2 -2
  126. package/dist/{chunk-5WIBTOCI.js → chunk-SRNXXOUH.js} +2 -2
  127. package/dist/{chunk-5WIBTOCI.js.map → chunk-SRNXXOUH.js.map} +1 -1
  128. package/dist/{chunk-5MH23AST.js → chunk-STHZZZRL.js} +2 -2
  129. package/dist/{chunk-CHIWBD6E.js → chunk-SUYI33NX.js} +2 -2
  130. package/dist/chunk-SVU7GWUR.js +2 -0
  131. package/dist/chunk-SVU7GWUR.js.map +1 -0
  132. package/dist/{chunk-3VTHNE4H.js → chunk-SZI67IXU.js} +2 -2
  133. package/dist/chunk-T5H35HYL.js +2 -0
  134. package/dist/{chunk-KPDYUFCB.js.map → chunk-T5H35HYL.js.map} +1 -1
  135. package/dist/chunk-TDKKCSKV.js +2 -0
  136. package/dist/{chunk-7IIQUZTH.js.map → chunk-TDKKCSKV.js.map} +1 -1
  137. package/dist/{chunk-QEHEOSJT.js → chunk-TJZ5BJV3.js} +2 -2
  138. package/dist/chunk-TRDNTXE7.js +2 -0
  139. package/dist/chunk-TRDNTXE7.js.map +1 -0
  140. package/dist/{chunk-WHDUZGVW.js → chunk-TX6RWQUR.js} +2 -2
  141. package/dist/chunk-U4H7URYB.js +2 -0
  142. package/dist/chunk-U4H7URYB.js.map +1 -0
  143. package/dist/{chunk-RKP7EEAB.js → chunk-UGQNOBQH.js} +2 -2
  144. package/dist/chunk-UWHJF45X.js +2 -0
  145. package/dist/chunk-UWHJF45X.js.map +1 -0
  146. package/dist/{chunk-BFXBFGBH.js → chunk-UYOKK4QW.js} +2 -2
  147. package/dist/{chunk-BFXBFGBH.js.map → chunk-UYOKK4QW.js.map} +1 -1
  148. package/dist/{chunk-SUVBETJS.js → chunk-V3AVEPNA.js} +2 -2
  149. package/dist/{chunk-KZ5ZQTBF.js → chunk-V6PPOGPT.js} +2 -2
  150. package/dist/{chunk-IJCTN52C.js → chunk-VDJJEIOD.js} +2 -2
  151. package/dist/{chunk-IJCTN52C.js.map → chunk-VDJJEIOD.js.map} +1 -1
  152. package/dist/chunk-VKUGCD5J.js +2 -0
  153. package/dist/chunk-VKUGCD5J.js.map +1 -0
  154. package/dist/{chunk-XTLTKB3S.js → chunk-VRPZ4GHN.js} +2 -2
  155. package/dist/{chunk-IRUWMZVH.js → chunk-VVZTXCX2.js} +2 -2
  156. package/dist/{chunk-SNGQ2MKL.js → chunk-VYTUM3RI.js} +2 -2
  157. package/dist/{chunk-FT4ZNBTA.js → chunk-WGO25FWG.js} +2 -2
  158. package/dist/{chunk-TLJXBZII.js → chunk-WKWL57L6.js} +2 -2
  159. package/dist/chunk-WRTUY6K3.js +2 -0
  160. package/dist/chunk-WRTUY6K3.js.map +1 -0
  161. package/dist/{chunk-5FJ64F6D.js → chunk-WVE2IOLY.js} +2 -2
  162. package/dist/{chunk-LCUURLXS.js → chunk-XDLVDPQ7.js} +2 -2
  163. package/dist/{chunk-WB52GW3H.js → chunk-XEVHXHHC.js} +2 -2
  164. package/dist/{chunk-JMFCG5KA.js → chunk-XMIVJW5E.js} +2 -2
  165. package/dist/{chunk-WH3QR2W5.js → chunk-XMVV6S77.js} +2 -2
  166. package/dist/{chunk-AP56UUME.js → chunk-Y2NCUO3F.js} +2 -2
  167. package/dist/{chunk-AP56UUME.js.map → chunk-Y2NCUO3F.js.map} +1 -1
  168. package/dist/{chunk-A5XRBDDO.js → chunk-YHZZHQP5.js} +2 -2
  169. package/dist/{chunk-PJTMFMRJ.js → chunk-YME2HZZJ.js} +2 -2
  170. package/dist/{chunk-B3ESNTKY.js → chunk-Z7XLK4JL.js} +2 -2
  171. package/dist/chunk-ZD4H63AL.js +2 -0
  172. package/dist/chunk-ZD4H63AL.js.map +1 -0
  173. package/dist/{chunk-5J7DLDLW.js → chunk-ZODT3MJM.js} +2 -2
  174. package/dist/{chunk-6L77BWCI.js → chunk-ZOTKZZ67.js} +2 -2
  175. package/dist/{chunk-BYTVIOOL.js → chunk-ZREW7KZA.js} +2 -2
  176. package/dist/createInvoiceSchedule-BweQB6DI.d.ts +195 -0
  177. package/dist/default-components.d.ts +2 -2
  178. package/dist/default-components.js +1 -1
  179. package/dist/default-components.js.map +1 -1
  180. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +1 -1
  181. package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +3 -3
  182. package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
  183. package/dist/flows/ContractAmendment/ContractAmendmentForm.d.ts +1 -1
  184. package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
  185. package/dist/flows/ContractAmendment/context.d.ts +4 -4
  186. package/dist/flows/ContractAmendment/hooks.d.ts +3 -3
  187. package/dist/flows/ContractAmendment/hooks.js +1 -1
  188. package/dist/flows/ContractAmendment/index.d.ts +3 -3
  189. package/dist/flows/ContractAmendment/index.js +1 -1
  190. package/dist/flows/ContractAmendment/types.d.ts +3 -3
  191. package/dist/flows/ContractAmendment/utils.d.ts +2 -2
  192. package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +6 -5
  193. package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
  194. package/dist/flows/ContractorOnboarding/api.d.ts +173 -413
  195. package/dist/flows/ContractorOnboarding/api.js +1 -1
  196. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.d.ts +4 -4
  197. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js +1 -1
  198. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.d.ts +6 -5
  199. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
  200. package/dist/flows/ContractorOnboarding/components/ContractOriginStep.d.ts +3 -3
  201. package/dist/flows/ContractorOnboarding/components/ContractOriginStep.js +1 -1
  202. package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.d.ts +2 -2
  203. package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.d.ts +2 -2
  204. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +6 -5
  205. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
  206. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +6 -5
  207. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
  208. package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.d.ts +3 -3
  209. package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.js +1 -1
  210. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.d.ts +6 -5
  211. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +1 -1
  212. package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.d.ts +6 -5
  213. package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.js +1 -1
  214. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.d.ts +3 -3
  215. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
  216. package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.d.ts +29 -0
  217. package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.js +2 -0
  218. package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.js.map +1 -0
  219. package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +6 -5
  220. package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
  221. package/dist/flows/ContractorOnboarding/components/SaveDraftButton.d.ts +3 -3
  222. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.d.ts +4 -4
  223. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +1 -1
  224. package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.d.ts +24 -0
  225. package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.js +2 -0
  226. package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.js.map +1 -0
  227. package/dist/flows/ContractorOnboarding/context.d.ts +14 -5
  228. package/dist/flows/ContractorOnboarding/hooks.d.ts +6 -5
  229. package/dist/flows/ContractorOnboarding/hooks.js +1 -1
  230. package/dist/flows/ContractorOnboarding/index.d.ts +6 -5
  231. package/dist/flows/ContractorOnboarding/index.js +1 -1
  232. package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.d.ts +1 -0
  233. package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.js +1 -1
  234. package/dist/flows/ContractorOnboarding/jsfModify.d.ts +6 -5
  235. package/dist/flows/ContractorOnboarding/jsfModify.js +1 -1
  236. package/dist/flows/ContractorOnboarding/json-schemas/contractOrigin.d.ts +3 -0
  237. package/dist/flows/ContractorOnboarding/json-schemas/contractOrigin.js +1 -1
  238. package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.d.ts +1 -103
  239. package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.js +1 -1
  240. package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.d.ts +3 -0
  241. package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.js +1 -1
  242. package/dist/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.d.ts +3 -0
  243. package/dist/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.js +1 -1
  244. package/dist/flows/ContractorOnboarding/json-schemas/signature.d.ts +3 -0
  245. package/dist/flows/ContractorOnboarding/json-schemas/signature.js +1 -1
  246. package/dist/flows/ContractorOnboarding/types.d.ts +6 -5
  247. package/dist/flows/ContractorOnboarding/utils.d.ts +31 -21
  248. package/dist/flows/ContractorOnboarding/utils.js +1 -1
  249. package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +3 -3
  250. package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
  251. package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +3 -3
  252. package/dist/flows/CostCalculator/CostCalculatorForm.js +1 -1
  253. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.d.ts +3 -3
  254. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +1 -1
  255. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +3 -3
  256. package/dist/flows/CostCalculator/api.d.ts +3 -3
  257. package/dist/flows/CostCalculator/api.js +1 -1
  258. package/dist/flows/CostCalculator/components/SalaryField.d.ts +2 -2
  259. package/dist/flows/CostCalculator/components/SalaryField.js +1 -1
  260. package/dist/flows/CostCalculator/context.d.ts +3 -3
  261. package/dist/flows/CostCalculator/hooks.d.ts +3 -3
  262. package/dist/flows/CostCalculator/hooks.js +1 -1
  263. package/dist/flows/CostCalculator/index.d.ts +3 -3
  264. package/dist/flows/CostCalculator/index.js +1 -1
  265. package/dist/flows/CostCalculator/types.d.ts +3 -3
  266. package/dist/flows/CostCalculator/utils.d.ts +3 -3
  267. package/dist/flows/CostCalculator/utils.js +1 -1
  268. package/dist/flows/CreateCompany/CreateCompany.d.ts +4 -4
  269. package/dist/flows/CreateCompany/CreateCompany.js +1 -1
  270. package/dist/flows/CreateCompany/api.d.ts +3 -3
  271. package/dist/flows/CreateCompany/api.js +1 -1
  272. package/dist/flows/CreateCompany/components/AddressDetailsStep.d.ts +4 -4
  273. package/dist/flows/CreateCompany/components/AddressDetailsStep.js +1 -1
  274. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.d.ts +4 -4
  275. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js +1 -1
  276. package/dist/flows/CreateCompany/components/CreateCompanyForm.d.ts +2 -2
  277. package/dist/flows/CreateCompany/components/CreateCompanyForm.js +1 -1
  278. package/dist/flows/CreateCompany/context.d.ts +4 -4
  279. package/dist/flows/CreateCompany/hooks.d.ts +4 -4
  280. package/dist/flows/CreateCompany/hooks.js +1 -1
  281. package/dist/flows/CreateCompany/index.d.ts +4 -4
  282. package/dist/flows/CreateCompany/index.js +1 -1
  283. package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.d.ts +3 -0
  284. package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.js +1 -1
  285. package/dist/flows/CreateCompany/types.d.ts +4 -4
  286. package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.d.ts +44 -0
  287. package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.js +2 -0
  288. package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.js.map +1 -0
  289. package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.d.ts +35 -0
  290. package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.js +2 -0
  291. package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.js.map +1 -0
  292. package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.d.ts +6 -0
  293. package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.js +2 -0
  294. package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.js.map +1 -0
  295. package/dist/flows/InvoiceSchedule/api.d.ts +47 -0
  296. package/dist/flows/InvoiceSchedule/api.js +2 -0
  297. package/dist/flows/InvoiceSchedule/api.js.map +1 -0
  298. package/dist/flows/InvoiceSchedule/components/ContractorSelectField.d.ts +20 -0
  299. package/dist/flows/InvoiceSchedule/components/ContractorSelectField.js +2 -0
  300. package/dist/flows/InvoiceSchedule/components/ContractorSelectField.js.map +1 -0
  301. package/dist/flows/InvoiceSchedule/context.d.ts +61 -0
  302. package/dist/flows/InvoiceSchedule/context.js +2 -0
  303. package/dist/flows/InvoiceSchedule/context.js.map +1 -0
  304. package/dist/flows/InvoiceSchedule/hooks.d.ts +108 -0
  305. package/dist/flows/InvoiceSchedule/hooks.js +2 -0
  306. package/dist/flows/InvoiceSchedule/hooks.js.map +1 -0
  307. package/dist/flows/InvoiceSchedule/index.d.ts +18 -0
  308. package/dist/flows/InvoiceSchedule/index.js +2 -0
  309. package/dist/flows/InvoiceSchedule/index.js.map +1 -0
  310. package/dist/flows/InvoiceSchedule/types.d.ts +78 -0
  311. package/dist/flows/InvoiceSchedule/types.js +1 -0
  312. package/dist/flows/InvoiceSchedule/types.js.map +1 -0
  313. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.d.ts +3 -3
  314. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.js +1 -1
  315. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.d.ts +2 -2
  316. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.js +1 -1
  317. package/dist/flows/JsonSchemaPlayground/context.d.ts +3 -3
  318. package/dist/flows/JsonSchemaPlayground/hooks.d.ts +3 -3
  319. package/dist/flows/JsonSchemaPlayground/index.d.ts +3 -3
  320. package/dist/flows/JsonSchemaPlayground/index.js +1 -1
  321. package/dist/flows/JsonSchemaPlayground/types.d.ts +3 -3
  322. package/dist/flows/Onboarding/OnboardingFlow.d.ts +4 -4
  323. package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
  324. package/dist/flows/Onboarding/api.d.ts +4 -4
  325. package/dist/flows/Onboarding/api.js +1 -1
  326. package/dist/flows/Onboarding/components/AnnualGrossSalary.d.ts +2 -2
  327. package/dist/flows/Onboarding/components/AnnualGrossSalary.js +1 -1
  328. package/dist/flows/Onboarding/components/BasicInformationStep.d.ts +4 -4
  329. package/dist/flows/Onboarding/components/BasicInformationStep.js +1 -1
  330. package/dist/flows/Onboarding/components/BenefitsStep.d.ts +4 -4
  331. package/dist/flows/Onboarding/components/BenefitsStep.js +1 -1
  332. package/dist/flows/Onboarding/components/ContractDetailsStep.d.ts +4 -4
  333. package/dist/flows/Onboarding/components/ContractDetailsStep.js +1 -1
  334. package/dist/flows/Onboarding/components/EmploymentAgreementInfoContent.js +1 -1
  335. package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.d.ts +4 -4
  336. package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.js +1 -1
  337. package/dist/flows/Onboarding/components/OnboardingForm.d.ts +4 -4
  338. package/dist/flows/Onboarding/components/OnboardingForm.js +1 -1
  339. package/dist/flows/Onboarding/components/OnboardingInvite.d.ts +3 -3
  340. package/dist/flows/Onboarding/components/OnboardingInvite.js +1 -1
  341. package/dist/flows/Onboarding/components/PreOnboardingRequirements.d.ts +4 -4
  342. package/dist/flows/Onboarding/components/PreOnboardingRequirements.js +1 -1
  343. package/dist/flows/Onboarding/components/PreviewEmploymentAgreementStep.js +1 -1
  344. package/dist/flows/Onboarding/components/ReviewStep.d.ts +4 -4
  345. package/dist/flows/Onboarding/components/SaveDraftButton.d.ts +3 -3
  346. package/dist/flows/Onboarding/components/SelectCountryStep.d.ts +4 -4
  347. package/dist/flows/Onboarding/components/SelectCountryStep.js +1 -1
  348. package/dist/flows/Onboarding/context.d.ts +5 -5
  349. package/dist/flows/Onboarding/hooks.d.ts +4 -4
  350. package/dist/flows/Onboarding/hooks.js +1 -1
  351. package/dist/flows/Onboarding/index.d.ts +4 -4
  352. package/dist/flows/Onboarding/index.js +1 -1
  353. package/dist/flows/Onboarding/types.d.ts +4 -4
  354. package/dist/flows/Onboarding/utils.d.ts +4 -4
  355. package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.d.ts +5 -5
  356. package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.js +1 -1
  357. package/dist/flows/PayrollAdminOnboarding/api.d.ts +2 -2
  358. package/dist/flows/PayrollAdminOnboarding/api.js +1 -1
  359. package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.d.ts +3 -3
  360. package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.js +1 -1
  361. package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.d.ts +3 -3
  362. package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.js +1 -1
  363. package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.d.ts +3 -3
  364. package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.js +1 -1
  365. package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.d.ts +2 -2
  366. package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.js +1 -1
  367. package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.d.ts +3 -3
  368. package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.js +1 -1
  369. package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.d.ts +3 -3
  370. package/dist/flows/PayrollAdminOnboarding/context.d.ts +5 -5
  371. package/dist/flows/PayrollAdminOnboarding/hooks.d.ts +6 -6
  372. package/dist/flows/PayrollAdminOnboarding/hooks.js +1 -1
  373. package/dist/flows/PayrollAdminOnboarding/index.d.ts +5 -5
  374. package/dist/flows/PayrollAdminOnboarding/index.js +1 -1
  375. package/dist/flows/PayrollAdminOnboarding/types.d.ts +5 -5
  376. package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.d.ts +5 -5
  377. package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.js +1 -1
  378. package/dist/flows/PayrollEmployeeOnboarding/api.d.ts +3 -3
  379. package/dist/flows/PayrollEmployeeOnboarding/api.js +1 -1
  380. package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.d.ts +3 -3
  381. package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.js +1 -1
  382. package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.d.ts +3 -3
  383. package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.js +1 -1
  384. package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.d.ts +3 -3
  385. package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.js +1 -1
  386. package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.d.ts +2 -2
  387. package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.js +1 -1
  388. package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.d.ts +3 -3
  389. package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.js +1 -1
  390. package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.d.ts +3 -3
  391. package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.js +1 -1
  392. package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.d.ts +3 -3
  393. package/dist/flows/PayrollEmployeeOnboarding/context.d.ts +5 -5
  394. package/dist/flows/PayrollEmployeeOnboarding/hooks.d.ts +6 -6
  395. package/dist/flows/PayrollEmployeeOnboarding/hooks.js +1 -1
  396. package/dist/flows/PayrollEmployeeOnboarding/index.d.ts +5 -5
  397. package/dist/flows/PayrollEmployeeOnboarding/index.js +1 -1
  398. package/dist/flows/PayrollEmployeeOnboarding/types.d.ts +5 -5
  399. package/dist/flows/Termination/AdditionalDetailsForm.d.ts +4 -4
  400. package/dist/flows/Termination/AdditionalDetailsForm.js +1 -1
  401. package/dist/flows/Termination/EmployeeComunicationForm.d.ts +4 -4
  402. package/dist/flows/Termination/EmployeeComunicationForm.js +1 -1
  403. package/dist/flows/Termination/PaidTimeOffForm.d.ts +4 -4
  404. package/dist/flows/Termination/PaidTimeOffForm.js +1 -1
  405. package/dist/flows/Termination/TerminationDetailsForm.d.ts +4 -4
  406. package/dist/flows/Termination/TerminationDetailsForm.js +1 -1
  407. package/dist/flows/Termination/TerminationFlow.d.ts +4 -4
  408. package/dist/flows/Termination/TerminationFlow.js +1 -1
  409. package/dist/flows/Termination/TerminationForm.d.ts +4 -4
  410. package/dist/flows/Termination/TerminationForm.js +1 -1
  411. package/dist/flows/Termination/api.d.ts +5 -5
  412. package/dist/flows/Termination/api.js +1 -1
  413. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.js +1 -1
  414. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +6 -6
  415. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +6 -6
  416. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +1 -1
  417. package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +6 -6
  418. package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +1 -1
  419. package/dist/flows/Termination/context.d.ts +4 -4
  420. package/dist/flows/Termination/hooks.d.ts +4 -4
  421. package/dist/flows/Termination/hooks.js +1 -1
  422. package/dist/flows/Termination/index.d.ts +6 -6
  423. package/dist/flows/Termination/index.js +1 -1
  424. package/dist/flows/Termination/json-schemas/additionalInformation.d.ts +3 -0
  425. package/dist/flows/Termination/json-schemas/additionalInformation.js +1 -1
  426. package/dist/flows/Termination/json-schemas/defaultSchema.d.ts +3 -0
  427. package/dist/flows/Termination/json-schemas/defaultSchema.js +1 -1
  428. package/dist/flows/Termination/json-schemas/employeeComunication.d.ts +3 -0
  429. package/dist/flows/Termination/json-schemas/employeeComunication.js +1 -1
  430. package/dist/flows/Termination/json-schemas/jsonSchema.d.ts +3 -0
  431. package/dist/flows/Termination/json-schemas/jsonSchema.js +1 -1
  432. package/dist/flows/Termination/json-schemas/paidTimeOff.d.ts +3 -0
  433. package/dist/flows/Termination/json-schemas/paidTimeOff.js +1 -1
  434. package/dist/flows/Termination/json-schemas/schema.d.ts +4 -4
  435. package/dist/flows/Termination/json-schemas/schema.js +1 -1
  436. package/dist/flows/Termination/json-schemas/terminationDetails.d.ts +3 -0
  437. package/dist/flows/Termination/json-schemas/terminationDetails.js +1 -1
  438. package/dist/flows/Termination/types.d.ts +4 -4
  439. package/dist/flows/Termination/utils.d.ts +4 -4
  440. package/dist/flows/types.d.ts +3 -3
  441. package/dist/flows/utils.d.ts +2 -2
  442. package/dist/index.css +1 -1
  443. package/dist/index.css.map +1 -1
  444. package/dist/index.d.ts +23 -15
  445. package/dist/index.js +2 -2
  446. package/dist/index.js.map +1 -1
  447. package/dist/internals.d.ts +4 -4
  448. package/dist/internals.js +1 -1
  449. package/dist/{mutations-DQjVuza-.d.ts → mutations-Dg60ZjS0.d.ts} +1 -1
  450. package/dist/{remoteFlows-B_JbhzWp.d.ts → remoteFlows-7WBvzlJt.d.ts} +1 -1
  451. package/dist/styles.css +1 -1
  452. package/dist/styles.css.map +1 -1
  453. package/dist/{types-B0iYt6RL.d.ts → types--IwjF9ei.d.ts} +68 -5
  454. package/dist/{types-Clzf4xjV.d.ts → types-1IycaCkN.d.ts} +4 -6
  455. package/dist/{types-D3U8Wi3X.d.ts → types-CI8Tx4se.d.ts} +3 -3
  456. package/dist/{types-B93nzmoE.d.ts → types-CJHW5xRl.d.ts} +1 -1
  457. package/dist/{types-1mH_uuoA.d.ts → types-CT7w2kHS.d.ts} +2 -2
  458. package/dist/{types-CdC2MYpf.d.ts → types-CgNwKzZf.d.ts} +4 -4
  459. package/dist/{types-BFzhRUSU.d.ts → types-DPlWZa2M.d.ts} +4 -4
  460. package/dist/{types-CoYsxVTI.d.ts → types-DmvLgred.d.ts} +1 -1
  461. package/dist/types.gen-Dtb8ECVb.d.ts +308 -0
  462. package/dist/{types.gen-BmtA4XNd.d.ts → types.gen-TcbORUL-.d.ts} +216 -17
  463. package/dist/{utils-DJgzqxq4.d.ts → utils-DSHROBN2.d.ts} +1 -1
  464. package/package.json +3 -3
  465. package/dist/CheckboxFieldDefault-JXNMWIRK.js +0 -2
  466. package/dist/CountryFieldDefault-SO4WS7KE.js +0 -2
  467. package/dist/DatePickerFieldDefault-AZHJN2U6.js +0 -2
  468. package/dist/FileUploadFieldDefault-K6PF6RP7.js +0 -2
  469. package/dist/ForcedValueFieldDefault-BEOC4MYU.js +0 -2
  470. package/dist/MultiSelectFieldDefault-QKXVTGF2.js +0 -2
  471. package/dist/RadioGroupFieldDefault-ZHHXDUUU.js +0 -2
  472. package/dist/SelectFieldDefault-FWQ7D6DU.js +0 -2
  473. package/dist/TelFieldDefault-RA7IBELJ.js +0 -2
  474. package/dist/TextAreaFieldDefault-NEFWXEE2.js +0 -2
  475. package/dist/TextFieldDefault-RXNU36AX.js +0 -2
  476. package/dist/TimeFieldDefault-KIJNBWYF.js +0 -2
  477. package/dist/chunk-7IIQUZTH.js +0 -2
  478. package/dist/chunk-DLIVHNTT.js +0 -2
  479. package/dist/chunk-DLIVHNTT.js.map +0 -1
  480. package/dist/chunk-FGYOG6XG.js +0 -2
  481. package/dist/chunk-FGYOG6XG.js.map +0 -1
  482. package/dist/chunk-HDFAFTHC.js +0 -2
  483. package/dist/chunk-HDFAFTHC.js.map +0 -1
  484. package/dist/chunk-ILX6RI7K.js +0 -2
  485. package/dist/chunk-IXS65MGJ.js +0 -2
  486. package/dist/chunk-IXS65MGJ.js.map +0 -1
  487. package/dist/chunk-KPDYUFCB.js +0 -2
  488. package/dist/chunk-NPVSJYM6.js +0 -2
  489. package/dist/chunk-NPVSJYM6.js.map +0 -1
  490. package/dist/chunk-QSBXRKYE.js +0 -2
  491. package/dist/chunk-UOJOO2DM.js +0 -2
  492. package/dist/chunk-UOJOO2DM.js.map +0 -1
  493. package/dist/chunk-VNMUML3T.js +0 -8
  494. package/dist/chunk-VNMUML3T.js.map +0 -1
  495. package/dist/chunk-XFD3ULUF.js +0 -2
  496. package/dist/chunk-XXQBX7ND.js +0 -2
  497. package/dist/chunk-XXQBX7ND.js.map +0 -1
  498. /package/dist/{CheckboxFieldDefault-JXNMWIRK.js.map → CheckboxFieldDefault-JOUZXB4Y.js.map} +0 -0
  499. /package/dist/{CountryFieldDefault-SO4WS7KE.js.map → CountryFieldDefault-IZQOFNX5.js.map} +0 -0
  500. /package/dist/{DatePickerFieldDefault-AZHJN2U6.js.map → DatePickerFieldDefault-AWV7LUPI.js.map} +0 -0
  501. /package/dist/{FileUploadFieldDefault-K6PF6RP7.js.map → FileUploadFieldDefault-NZ33IMPU.js.map} +0 -0
  502. /package/dist/{ForcedValueFieldDefault-BEOC4MYU.js.map → ForcedValueFieldDefault-RY5AN7O6.js.map} +0 -0
  503. /package/dist/{MultiSelectFieldDefault-QKXVTGF2.js.map → MultiSelectFieldDefault-DOZQUBEE.js.map} +0 -0
  504. /package/dist/{RadioGroupFieldDefault-ZHHXDUUU.js.map → RadioGroupFieldDefault-GFDO56LK.js.map} +0 -0
  505. /package/dist/{SelectFieldDefault-FWQ7D6DU.js.map → SelectFieldDefault-E4KFZBJ7.js.map} +0 -0
  506. /package/dist/{TelFieldDefault-RA7IBELJ.js.map → TelFieldDefault-2EPAKDTW.js.map} +0 -0
  507. /package/dist/{TextAreaFieldDefault-NEFWXEE2.js.map → TextAreaFieldDefault-WZIVM4RZ.js.map} +0 -0
  508. /package/dist/{TextFieldDefault-RXNU36AX.js.map → TextFieldDefault-YVXZO4AN.js.map} +0 -0
  509. /package/dist/{TimeFieldDefault-KIJNBWYF.js.map → TimeFieldDefault-JN4MDIO6.js.map} +0 -0
  510. /package/dist/{chunk-EQIWABAZ.js.map → chunk-2UH6Y56R.js.map} +0 -0
  511. /package/dist/{chunk-D737GUYZ.js.map → chunk-3G4HOZCM.js.map} +0 -0
  512. /package/dist/{chunk-G3KQCVQQ.js.map → chunk-3OKB5OHA.js.map} +0 -0
  513. /package/dist/{chunk-ANZ2YYUE.js.map → chunk-46BOEYFO.js.map} +0 -0
  514. /package/dist/{chunk-VYAJQ25J.js.map → chunk-4CNDASPA.js.map} +0 -0
  515. /package/dist/{chunk-QSF4XFSV.js.map → chunk-4IGLIHGF.js.map} +0 -0
  516. /package/dist/{chunk-WZOVZYNI.js.map → chunk-4WSYC3Q5.js.map} +0 -0
  517. /package/dist/{chunk-PYNHR7NL.js.map → chunk-53QBSOMG.js.map} +0 -0
  518. /package/dist/{chunk-3LELUHRO.js.map → chunk-5HDMU73I.js.map} +0 -0
  519. /package/dist/{chunk-JQ3SLOUP.js.map → chunk-5JXLXWTD.js.map} +0 -0
  520. /package/dist/{chunk-F3UUYQGY.js.map → chunk-5PUW4YCY.js.map} +0 -0
  521. /package/dist/{chunk-6IQJJCQ3.js.map → chunk-6CBC5OAQ.js.map} +0 -0
  522. /package/dist/{chunk-5FGYC2RF.js.map → chunk-7FKNXW2I.js.map} +0 -0
  523. /package/dist/{chunk-Z7VNXKWB.js.map → chunk-AAXPKULB.js.map} +0 -0
  524. /package/dist/{chunk-FDTOQHOJ.js.map → chunk-BB3M25A3.js.map} +0 -0
  525. /package/dist/{chunk-OTBCLDGR.js.map → chunk-BLKWR77C.js.map} +0 -0
  526. /package/dist/{chunk-5WTCN4WO.js.map → chunk-C7MVEDVY.js.map} +0 -0
  527. /package/dist/{chunk-WDPJIOLG.js.map → chunk-CCGAAOXN.js.map} +0 -0
  528. /package/dist/{chunk-EYZVDP6A.js.map → chunk-CD6H4MBI.js.map} +0 -0
  529. /package/dist/{chunk-4YFJOHSM.js.map → chunk-CONMRDRL.js.map} +0 -0
  530. /package/dist/{chunk-F2SGCGXL.js.map → chunk-CUO7OGD5.js.map} +0 -0
  531. /package/dist/{chunk-F3DZUA7W.js.map → chunk-D6PMXNBM.js.map} +0 -0
  532. /package/dist/{chunk-K67Q5476.js.map → chunk-DOPQK5RP.js.map} +0 -0
  533. /package/dist/{chunk-C5T75DEZ.js.map → chunk-DP6L72YF.js.map} +0 -0
  534. /package/dist/{chunk-ALHHN2LG.js.map → chunk-DYIMRD6T.js.map} +0 -0
  535. /package/dist/{chunk-5TOSVOLY.js.map → chunk-ED35NFA6.js.map} +0 -0
  536. /package/dist/{chunk-V3C32X6R.js.map → chunk-EMMFAZZC.js.map} +0 -0
  537. /package/dist/{chunk-3BQVEYHE.js.map → chunk-EVUTX6TJ.js.map} +0 -0
  538. /package/dist/{chunk-R2D32OB6.js.map → chunk-FSCAWXCB.js.map} +0 -0
  539. /package/dist/{chunk-7XDU2VWN.js.map → chunk-FV6NNYDP.js.map} +0 -0
  540. /package/dist/{chunk-JLM4O7ZW.js.map → chunk-G6EKGJBB.js.map} +0 -0
  541. /package/dist/{chunk-YUUUI4FY.js.map → chunk-G75LPZV5.js.map} +0 -0
  542. /package/dist/{chunk-3RQSRU7O.js.map → chunk-GE74QKS6.js.map} +0 -0
  543. /package/dist/{chunk-H5OZSXSY.js.map → chunk-GHZABLDV.js.map} +0 -0
  544. /package/dist/{chunk-BTZ57COZ.js.map → chunk-GTS7KFEM.js.map} +0 -0
  545. /package/dist/{chunk-WYIU74JN.js.map → chunk-H47XUL2L.js.map} +0 -0
  546. /package/dist/{chunk-VQRE3YLW.js.map → chunk-I4DU34BA.js.map} +0 -0
  547. /package/dist/{chunk-S2QXSX4Q.js.map → chunk-ILEO7LN4.js.map} +0 -0
  548. /package/dist/{chunk-7NDAFJXR.js.map → chunk-ILMRP364.js.map} +0 -0
  549. /package/dist/{chunk-J4CHUIPC.js.map → chunk-ITCWBZDM.js.map} +0 -0
  550. /package/dist/{chunk-PNNOU6BC.js.map → chunk-JI3PAIMV.js.map} +0 -0
  551. /package/dist/{chunk-WGDZTF7Y.js.map → chunk-JLZFNUBH.js.map} +0 -0
  552. /package/dist/{chunk-IUBHVGVV.js.map → chunk-JVXI4RZU.js.map} +0 -0
  553. /package/dist/{chunk-4Y2INBAI.js.map → chunk-KGNLBYM5.js.map} +0 -0
  554. /package/dist/{chunk-ORP6DY5I.js.map → chunk-L2YOD4GP.js.map} +0 -0
  555. /package/dist/{chunk-IAR6BWUY.js.map → chunk-LADLAP2S.js.map} +0 -0
  556. /package/dist/{chunk-QHJ3BYJN.js.map → chunk-LXGL7HF5.js.map} +0 -0
  557. /package/dist/{chunk-2LSLWFZS.js.map → chunk-MEYX4D5K.js.map} +0 -0
  558. /package/dist/{chunk-LCUYP6VW.js.map → chunk-MXAFJYLQ.js.map} +0 -0
  559. /package/dist/{chunk-UAEQLFPK.js.map → chunk-N7HCQXUM.js.map} +0 -0
  560. /package/dist/{chunk-QSBXRKYE.js.map → chunk-NAFECQWK.js.map} +0 -0
  561. /package/dist/{chunk-JRRPMAUO.js.map → chunk-NFWKD7UR.js.map} +0 -0
  562. /package/dist/{chunk-6S5Q2OKC.js.map → chunk-NTPHMYYC.js.map} +0 -0
  563. /package/dist/{chunk-POWC7LZN.js.map → chunk-OKBPMWVB.js.map} +0 -0
  564. /package/dist/{chunk-BWM2MYPE.js.map → chunk-OWOIDZHI.js.map} +0 -0
  565. /package/dist/{chunk-6IDUDCVS.js.map → chunk-P2WUHKEU.js.map} +0 -0
  566. /package/dist/{chunk-3LMZ3SOP.js.map → chunk-P6FFLJDP.js.map} +0 -0
  567. /package/dist/{chunk-MZK2U65W.js.map → chunk-PKJZ2N4C.js.map} +0 -0
  568. /package/dist/{chunk-CFPKRLGM.js.map → chunk-QFTBKRUI.js.map} +0 -0
  569. /package/dist/{chunk-ZQVVHVAG.js.map → chunk-R4ZUOFYN.js.map} +0 -0
  570. /package/dist/{chunk-TXOCMI5I.js.map → chunk-RFMYNPR7.js.map} +0 -0
  571. /package/dist/{chunk-2LR5N626.js.map → chunk-RYZ7TJVS.js.map} +0 -0
  572. /package/dist/{chunk-UU2IFOXR.js.map → chunk-RZL44CPH.js.map} +0 -0
  573. /package/dist/{chunk-C2HZNBMZ.js.map → chunk-SLRPDXK6.js.map} +0 -0
  574. /package/dist/{chunk-5MH23AST.js.map → chunk-STHZZZRL.js.map} +0 -0
  575. /package/dist/{chunk-CHIWBD6E.js.map → chunk-SUYI33NX.js.map} +0 -0
  576. /package/dist/{chunk-3VTHNE4H.js.map → chunk-SZI67IXU.js.map} +0 -0
  577. /package/dist/{chunk-QEHEOSJT.js.map → chunk-TJZ5BJV3.js.map} +0 -0
  578. /package/dist/{chunk-WHDUZGVW.js.map → chunk-TX6RWQUR.js.map} +0 -0
  579. /package/dist/{chunk-RKP7EEAB.js.map → chunk-UGQNOBQH.js.map} +0 -0
  580. /package/dist/{chunk-SUVBETJS.js.map → chunk-V3AVEPNA.js.map} +0 -0
  581. /package/dist/{chunk-KZ5ZQTBF.js.map → chunk-V6PPOGPT.js.map} +0 -0
  582. /package/dist/{chunk-XTLTKB3S.js.map → chunk-VRPZ4GHN.js.map} +0 -0
  583. /package/dist/{chunk-IRUWMZVH.js.map → chunk-VVZTXCX2.js.map} +0 -0
  584. /package/dist/{chunk-SNGQ2MKL.js.map → chunk-VYTUM3RI.js.map} +0 -0
  585. /package/dist/{chunk-FT4ZNBTA.js.map → chunk-WGO25FWG.js.map} +0 -0
  586. /package/dist/{chunk-TLJXBZII.js.map → chunk-WKWL57L6.js.map} +0 -0
  587. /package/dist/{chunk-5FJ64F6D.js.map → chunk-WVE2IOLY.js.map} +0 -0
  588. /package/dist/{chunk-LCUURLXS.js.map → chunk-XDLVDPQ7.js.map} +0 -0
  589. /package/dist/{chunk-WB52GW3H.js.map → chunk-XEVHXHHC.js.map} +0 -0
  590. /package/dist/{chunk-JMFCG5KA.js.map → chunk-XMIVJW5E.js.map} +0 -0
  591. /package/dist/{chunk-WH3QR2W5.js.map → chunk-XMVV6S77.js.map} +0 -0
  592. /package/dist/{chunk-A5XRBDDO.js.map → chunk-YHZZHQP5.js.map} +0 -0
  593. /package/dist/{chunk-PJTMFMRJ.js.map → chunk-YME2HZZJ.js.map} +0 -0
  594. /package/dist/{chunk-B3ESNTKY.js.map → chunk-Z7XLK4JL.js.map} +0 -0
  595. /package/dist/{chunk-5J7DLDLW.js.map → chunk-ZODT3MJM.js.map} +0 -0
  596. /package/dist/{chunk-6L77BWCI.js.map → chunk-ZOTKZZ67.js.map} +0 -0
  597. /package/dist/{chunk-BYTVIOOL.js.map → chunk-ZREW7KZA.js.map} +0 -0
@@ -1,336 +1,214 @@
1
1
  import * as _tanstack_query_core from '@tanstack/query-core';
2
- import { a5 as UploadFileResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, a as UnauthorizedResponse, a6 as FileParams, S as SuccessResponse, B as BadRequestResponse, F as ForbiddenResponse, Z as SignContractDocument, j as Signatory, k as ContractorContractDocumentStatus, a7 as ContractorSubscriptionsSummary, a8 as ManageContractorPlusSubscriptionOperationsParams, Y as CreateContractDocumentResponse, a9 as CreateContractDocument, aa as Country, A as File, ab as DateTimeIso8601, ac as ContractDocumentItem, ad as EligibilityQuestionnaireResponse, ae as ConflictErrorResponse, af as SubmitEligibilityQuestionnaireRequest, T as TooManyRequestsResponse, z as ConflictResponse, ag as PostV1EmploymentsEmploymentIdContractOriginData, ah as ListContractorInvoiceSchedulesResponse, ai as ContractorInvoiceSchedule, aj as CompanyAction, h as ContractorInvoiceScheduleCreateResponseFailure, i as ContractorInvoiceScheduleCreateResponseSuccess, f as ContractorInvoiceScheduleResponse } from '../../types.gen-BmtA4XNd.js';
2
+ import { Z as UploadFileResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, a as UnauthorizedResponse, _ as FileParams, $ as ListContractorInvoiceSchedulesResponse, i as ContractorInvoiceScheduleCreateResponseFailure, j as ContractorInvoiceScheduleCreateResponseSuccess, F as ForbiddenResponse, e as ContractorInvoiceSchedule, a0 as ContractorInvoicePreviewResponse, g as ContractorInvoiceScheduleResponse, S as SuccessResponse, w as BadRequestResponse, a1 as SignContractDocument, k as Signatory, l as ContractorContractDocumentStatus, a2 as ContractorSubscriptionsSummary, a3 as ManageContractorPlusSubscriptionOperationsParams, a4 as CreateContractDocumentResponse, a5 as CreateContractDocument, a6 as Country, G as File, a7 as DateTimeIso8601, a8 as ContractDocumentItem, a9 as EligibilityQuestionnaireResponse, aa as ConflictErrorResponse, ab as SubmitEligibilityQuestionnaireRequest, T as TooManyRequestsResponse, D as ConflictResponse, ac as PostV1EmploymentsEmploymentIdContractOriginData, ad as CompanyAction } from '../../types.gen-TcbORUL-.js';
3
3
  import * as _tanstack_react_query from '@tanstack/react-query';
4
4
  import { JSFModify, JSONSchemaFormResultWithFieldsets, FlowOptions } from '../types.js';
5
5
  import { FieldValues } from 'react-hook-form';
6
6
  import { ProductType } from './constants.js';
7
- import '../../remoteFlows-B_JbhzWp.js';
7
+ import { C as Client } from '../../types.gen-Dtb8ECVb.js';
8
+ import { C as ContractorOption } from '../../createInvoiceSchedule-BweQB6DI.js';
9
+ import '../../remoteFlows-7WBvzlJt.js';
8
10
  import 'react';
9
11
  import 'yup';
10
12
  import '@remoteoss/remote-json-schema-form-kit';
11
- import '../../mutations-DQjVuza-.js';
13
+ import '../../mutations-Dg60ZjS0.js';
12
14
 
13
- type AuthToken = string | undefined;
14
- interface Auth {
15
- /**
16
- * Which part of the request do we use to send the auth?
17
- *
18
- * @default 'header'
19
- */
20
- in?: 'header' | 'query' | 'cookie';
21
- /**
22
- * Header or query parameter name.
23
- *
24
- * @default 'Authorization'
25
- */
26
- name?: string;
27
- scheme?: 'basic' | 'bearer';
28
- type: 'apiKey' | 'http';
29
- }
30
-
31
- interface SerializerOptions<T> {
32
- /**
33
- * @default true
34
- */
35
- explode: boolean;
36
- style: T;
37
- }
38
- type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
39
- type ObjectStyle = 'form' | 'deepObject';
40
-
41
- type QuerySerializer = (query: Record<string, unknown>) => string;
42
- type BodySerializer = (body: unknown) => unknown;
43
- type QuerySerializerOptionsObject = {
44
- allowReserved?: boolean;
45
- array?: Partial<SerializerOptions<ArrayStyle>>;
46
- object?: Partial<SerializerOptions<ObjectStyle>>;
47
- };
48
- type QuerySerializerOptions = QuerySerializerOptionsObject & {
49
- /**
50
- * Per-parameter serialization overrides. When provided, these settings
51
- * override the global array/object settings for specific parameter names.
52
- */
53
- parameters?: Record<string, QuerySerializerOptionsObject>;
54
- };
55
-
56
- type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
57
- type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
58
- /**
59
- * Returns the final request URL.
60
- */
61
- buildUrl: BuildUrlFn;
62
- getConfig: () => Config;
63
- request: RequestFn;
64
- setConfig: (config: Config) => Config;
65
- } & {
66
- [K in HttpMethod]: MethodFn;
67
- } & ([SseFn] extends [never] ? {
68
- sse?: never;
69
- } : {
70
- sse: {
71
- [K in HttpMethod]: SseFn;
72
- };
73
- });
74
- interface Config$1 {
75
- /**
76
- * Auth token or a function returning auth token. The resolved value will be
77
- * added to the request payload as defined by its `security` array.
78
- */
79
- auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
80
- /**
81
- * A function for serializing request body parameter. By default,
82
- * {@link JSON.stringify()} will be used.
83
- */
84
- bodySerializer?: BodySerializer | null;
85
- /**
86
- * An object containing any HTTP headers that you want to pre-populate your
87
- * `Headers` object with.
88
- *
89
- * {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
90
- */
91
- headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
92
- /**
93
- * The request method.
94
- *
95
- * {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
96
- */
97
- method?: Uppercase<HttpMethod>;
98
- /**
99
- * A function for serializing request query parameters. By default, arrays
100
- * will be exploded in form style, objects will be exploded in deepObject
101
- * style, and reserved characters are percent-encoded.
102
- *
103
- * This method will have no effect if the native `paramsSerializer()` Axios
104
- * API function is used.
105
- *
106
- * {@link https://swagger.io/docs/specification/serialization/#query View examples}
107
- */
108
- querySerializer?: QuerySerializer | QuerySerializerOptions;
109
- /**
110
- * A function validating request data. This is useful if you want to ensure
111
- * the request conforms to the desired shape, so it can be safely sent to
112
- * the server.
113
- */
114
- requestValidator?: (data: unknown) => Promise<unknown>;
115
- /**
116
- * A function transforming response data before it's returned. This is useful
117
- * for post-processing data, e.g., converting ISO strings into Date objects.
118
- */
119
- responseTransformer?: (data: unknown) => Promise<unknown>;
120
- /**
121
- * A function validating response data. This is useful if you want to ensure
122
- * the response conforms to the desired shape, so it can be safely passed to
123
- * the transformers and returned to the user.
124
- */
125
- responseValidator?: (data: unknown) => Promise<unknown>;
126
- }
15
+ /**
16
+ * Hook to upload a file associated with a specified employment.
17
+ * @returns A mutation result for uploading employee files.
18
+ */
19
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<({
20
+ data: UploadFileResponse;
21
+ error: undefined;
22
+ } | {
23
+ data: undefined;
24
+ error: NotFoundResponse | UnprocessableEntityResponse | UnauthorizedResponse;
25
+ }) & {
26
+ request: Request;
27
+ response: Response;
28
+ }, Error, FileParams, unknown>;
127
29
 
128
- type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
129
- /**
130
- * Fetch API implementation. You can use this option to provide a custom
131
- * fetch instance.
132
- *
133
- * @default globalThis.fetch
134
- */
135
- fetch?: typeof fetch;
136
- /**
137
- * Implementing clients can call request interceptors inside this hook.
138
- */
139
- onRequest?: (url: string, init: RequestInit) => Promise<Request>;
30
+ /**
31
+ * Get the create invoice schedule schema with currency options from the contractor currencies endpoint.
32
+ * React Query caches the result, so multiple calls share the same data.
33
+ */
34
+ declare const useGetCreateInvoiceScheduleSchema: ({ enabled, employmentId, jsfModify, includeOneTime, isContractorOfRecord, includeContractorSelect, includeCustomDays, contractors, fieldValues, }: {
35
+ enabled?: boolean;
36
+ employmentId?: string;
37
+ jsfModify?: JSFModify;
140
38
  /**
141
- * Callback invoked when a network or parsing error occurs during streaming.
142
- *
143
- * This option applies only if the endpoint returns a stream of events.
144
- *
145
- * @param error The error that occurred.
39
+ * Offer "One time" alongside the recurring cadences. Off by default so the in-flow
40
+ * onboarding step keeps the field set it shipped with.
146
41
  */
147
- onSseError?: (error: unknown) => void;
42
+ includeOneTime?: boolean;
148
43
  /**
149
- * Callback invoked when an event is streamed from the server.
150
- *
151
- * This option applies only if the endpoint returns a stream of events.
152
- *
153
- * @param event Event streamed from the server.
154
- * @returns Nothing (void).
44
+ * Restrict to one-off only, as the platform does for Contractor of Record.
155
45
  */
156
- onSseEvent?: (event: StreamEvent<TData>) => void;
157
- serializedBody?: RequestInit['body'];
46
+ isContractorOfRecord?: boolean;
158
47
  /**
159
- * Default retry delay in milliseconds.
160
- *
161
- * This option applies only if the endpoint returns a stream of events.
162
- *
163
- * @default 3000
48
+ * Prepend a contractor picker, for the standalone screen.
164
49
  */
165
- sseDefaultRetryDelay?: number;
50
+ includeContractorSelect?: boolean;
166
51
  /**
167
- * Maximum number of retry attempts before giving up.
52
+ * Contractors to offer in the picker.
168
53
  */
169
- sseMaxRetryAttempts?: number;
54
+ contractors?: ContractorOption[];
170
55
  /**
171
- * Maximum retry delay in milliseconds.
172
- *
173
- * Applies only when exponential backoff is used.
174
- *
175
- * This option applies only if the endpoint returns a stream of events.
176
- *
177
- * @default 30000
56
+ * Offer the two semi-monthly day fields, which map to `custom_days`.
178
57
  */
179
- sseMaxRetryDelay?: number;
58
+ includeCustomDays?: boolean;
180
59
  /**
181
- * Optional sleep function for retry backoff.
182
- *
183
- * Defaults to using `setTimeout`.
60
+ * Current form values. Passed to `createHeadlessForm` so the schema's conditionals — the
61
+ * item-row reveal, and the semi-monthly day fields — re-evaluate as the user fills the
62
+ * form. Without this the form is built once against empty values and nothing ever reveals.
184
63
  */
185
- sseSleepFn?: (ms: number) => Promise<void>;
186
- url: string;
64
+ fieldValues?: Record<string, unknown>;
65
+ }) => {
66
+ data: JSONSchemaFormResultWithFieldsets | null;
67
+ isLoading: boolean;
187
68
  };
188
- interface StreamEvent<TData = unknown> {
189
- data: TData;
190
- event?: string;
191
- id?: string;
192
- retry?: number;
193
- }
194
- type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
195
- stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
69
+ /**
70
+ * Query options factory for fetching invoice schedules by employment id
71
+ * @param client - The API client
72
+ * @param employmentId - The employment ID
73
+ * @returns Query options for contractor invoice schedules
74
+ */
75
+ declare const invoiceSchedulesOptions: (client: Client, employmentId: string) => _tanstack_query_core.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
76
+ data: ListContractorInvoiceSchedulesResponse;
77
+ error: undefined;
78
+ } & {
79
+ request: Request;
80
+ response: Response;
81
+ }, Error, {
82
+ data: ListContractorInvoiceSchedulesResponse;
83
+ error: undefined;
84
+ } & {
85
+ request: Request;
86
+ response: Response;
87
+ }, readonly ["contractor-invoice-schedules", string]>, "queryFn"> & {
88
+ queryFn?: _tanstack_query_core.QueryFunction<{
89
+ data: ListContractorInvoiceSchedulesResponse;
90
+ error: undefined;
91
+ } & {
92
+ request: Request;
93
+ response: Response;
94
+ }, readonly ["contractor-invoice-schedules", string], never> | undefined;
95
+ } & {
96
+ queryKey: readonly ["contractor-invoice-schedules", string] & {
97
+ [dataTagSymbol]: {
98
+ data: ListContractorInvoiceSchedulesResponse;
99
+ error: undefined;
100
+ } & {
101
+ request: Request;
102
+ response: Response;
103
+ };
104
+ [dataTagErrorSymbol]: Error;
105
+ };
196
106
  };
197
-
198
- type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
199
- type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
200
- type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
201
- declare class Interceptors<Interceptor> {
202
- fns: Array<Interceptor | null>;
203
- clear(): void;
204
- eject(id: number | Interceptor): void;
205
- exists(id: number | Interceptor): boolean;
206
- getInterceptorIndex(id: number | Interceptor): number;
207
- update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
208
- use(fn: Interceptor): number;
209
- }
210
- interface Middleware<Req, Res, Err, Options> {
211
- error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
212
- request: Interceptors<ReqInterceptor<Req, Options>>;
213
- response: Interceptors<ResInterceptor<Res, Req, Options>>;
214
- }
215
-
216
- type ResponseStyle = 'data' | 'fields';
217
- interface Config<T extends ClientOptions = ClientOptions> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
218
- /**
219
- * Base URL for all requests made by this client.
220
- */
221
- baseUrl?: T['baseUrl'];
222
- /**
223
- * Fetch API implementation. You can use this option to provide a custom
224
- * fetch instance.
225
- *
226
- * @default globalThis.fetch
227
- */
228
- fetch?: typeof fetch;
229
- /**
230
- * Please don't use the Fetch client for Next.js applications. The `next`
231
- * options won't have any effect.
232
- *
233
- * Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
234
- */
235
- next?: never;
236
- /**
237
- * Return the response data parsed in a specified format. By default, `auto`
238
- * will infer the appropriate method from the `Content-Type` response header.
239
- * You can override this behavior with any of the {@link Body} methods.
240
- * Select `stream` if you don't want to parse response data at all.
241
- *
242
- * @default 'auto'
243
- */
244
- parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
245
- /**
246
- * Should we return only data or multiple fields (data, error, response, etc.)?
247
- *
248
- * @default 'fields'
249
- */
250
- responseStyle?: ResponseStyle;
251
- /**
252
- * Throw an error instead of returning it in the response?
253
- *
254
- * @default false
255
- */
256
- throwOnError?: T['throwOnError'];
257
- }
258
- interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
259
- responseStyle: TResponseStyle;
260
- throwOnError: ThrowOnError;
261
- }>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
262
- /**
263
- * Any body that you want to add to your request.
264
- *
265
- * {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
266
- */
267
- body?: unknown;
268
- path?: Record<string, unknown>;
269
- query?: Record<string, unknown>;
270
- /**
271
- * Security mechanism(s) to use for the request.
272
- */
273
- security?: ReadonlyArray<Auth>;
274
- url: Url;
275
- }
276
- interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
277
- serializedBody?: string;
278
- }
279
- type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'fields'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
280
- data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
107
+ /**
108
+ * Get the last invoice schedule for an employment that matches specific statuses.
109
+ * This is used to determine if a schedule was previously created during onboarding.
110
+ *
111
+ * @param employmentId - The employment ID
112
+ * @param options - Query options
113
+ * @returns The last matching invoice schedule or undefined
114
+ */
115
+ declare const useGetExistingInvoiceSchedule: ({ employmentId, options, }: {
116
+ employmentId: string;
117
+ options?: {
118
+ queryOptions?: {
119
+ enabled?: boolean;
120
+ };
121
+ };
122
+ }) => _tanstack_react_query.UseQueryResult<NoInfer<ContractorInvoiceSchedule | undefined>, Error>;
123
+ /**
124
+ * Creates contractor invoice schedules
125
+ * @param employmentId - The employment ID
126
+ * @param values - The form values containing invoice schedule data
127
+ * @returns The created invoice schedules
128
+ */
129
+ declare const useCreateInvoiceSchedule: () => _tanstack_react_query.UseMutationResult<({
130
+ data: {
131
+ data: {
132
+ failures: Array<ContractorInvoiceScheduleCreateResponseFailure>;
133
+ successes: Array<ContractorInvoiceScheduleCreateResponseSuccess>;
134
+ };
135
+ } | {
136
+ data: {
137
+ failures: Array<ContractorInvoiceScheduleCreateResponseFailure>;
138
+ successes: Array<ContractorInvoiceScheduleCreateResponseSuccess>;
139
+ };
140
+ };
141
+ error: undefined;
142
+ } | {
143
+ data: undefined;
144
+ error: NotFoundResponse | ForbiddenResponse | {
145
+ data: {
146
+ failures: Array<ContractorInvoiceScheduleCreateResponseFailure>;
147
+ successes: Array<ContractorInvoiceScheduleCreateResponseSuccess>;
148
+ };
149
+ };
150
+ }) & {
281
151
  request: Request;
282
152
  response: Response;
283
- }> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
284
- data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
153
+ }, Error, {
154
+ employmentId: string;
155
+ values: FieldValues;
156
+ }, unknown>;
157
+ /**
158
+ * Updates an existing contractor invoice schedule
159
+ * @param scheduleId - The invoice schedule ID
160
+ * @param values - The form values containing invoice schedule data
161
+ * @returns The updated invoice schedule
162
+ */
163
+ declare const useUpdateInvoiceSchedule: () => _tanstack_react_query.UseMutationResult<({
164
+ data: ContractorInvoiceScheduleResponse;
285
165
  error: undefined;
286
166
  } | {
287
167
  data: undefined;
288
- error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
168
+ error: NotFoundResponse | UnprocessableEntityResponse | UnauthorizedResponse | ForbiddenResponse;
289
169
  }) & {
290
170
  request: Request;
291
171
  response: Response;
292
- }>;
293
- interface ClientOptions {
294
- baseUrl?: string;
295
- responseStyle?: ResponseStyle;
296
- throwOnError?: boolean;
297
- }
298
- type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
299
- type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<never, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
300
- type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
301
- type BuildUrlFn = <TData extends {
302
- body?: unknown;
303
- path?: Record<string, unknown>;
304
- query?: Record<string, unknown>;
305
- url: string;
306
- }>(options: TData & Options<TData>) => string;
307
- type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
308
- interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
309
- };
310
- interface TDataShape {
311
- body?: unknown;
312
- headers?: unknown;
313
- path?: unknown;
314
- query?: unknown;
315
- url: string;
316
- }
317
- type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
318
- type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
319
-
172
+ }, Error, {
173
+ scheduleId: string;
174
+ values: FieldValues;
175
+ }, unknown>;
320
176
  /**
321
- * Hook to upload a file associated with a specified employment.
322
- * @returns A mutation result for uploading employee files.
177
+ * Skips (cancels) an existing contractor invoice schedule by marking it as deleted.
178
+ * @param scheduleId - The invoice schedule ID
179
+ * @returns The updated invoice schedule
323
180
  */
324
- declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<({
325
- data: UploadFileResponse;
181
+ declare const useSkipInvoiceSchedule: () => _tanstack_react_query.UseMutationResult<({
182
+ data: ContractorInvoiceScheduleResponse;
326
183
  error: undefined;
327
184
  } | {
328
185
  data: undefined;
329
- error: NotFoundResponse | UnprocessableEntityResponse | UnauthorizedResponse;
186
+ error: NotFoundResponse | UnprocessableEntityResponse | UnauthorizedResponse | ForbiddenResponse;
330
187
  }) & {
331
188
  request: Request;
332
189
  response: Response;
333
- }, Error, FileParams, unknown>;
190
+ }, Error, {
191
+ scheduleId: string;
192
+ }, unknown>;
193
+ /**
194
+ * Previews a contractor invoice as a draft PDF, without persisting it.
195
+ * @param employmentId - The employment ID
196
+ * @param values - The form values containing invoice details
197
+ * @returns The base64-encoded PDF preview
198
+ */
199
+ declare const usePreviewContractorInvoice: () => _tanstack_react_query.UseMutationResult<({
200
+ data: ContractorInvoicePreviewResponse;
201
+ error: undefined;
202
+ } | {
203
+ data: undefined;
204
+ error: NotFoundResponse | UnprocessableEntityResponse | UnauthorizedResponse | ForbiddenResponse;
205
+ }) & {
206
+ request: Request;
207
+ response: Response;
208
+ }, Error, {
209
+ employmentId: string;
210
+ values: FieldValues;
211
+ }, unknown>;
334
212
 
335
213
  /**
336
214
  * Get the contract document signature schema
@@ -823,76 +701,11 @@ declare const useGetContractOriginSchema: ({ fieldValues, options, }: {
823
701
  jsfModify?: JSFModify;
824
702
  };
825
703
  }) => _tanstack_react_query.UseQueryResult<NoInfer<JSONSchemaFormResultWithFieldsets>, Error>;
704
+
826
705
  declare const useGetInvoiceScheduleSchema: ({ enabled, jsfModify, }: {
827
706
  enabled?: boolean;
828
707
  jsfModify?: JSFModify;
829
708
  }) => JSONSchemaFormResultWithFieldsets | null;
830
- /**
831
- * Get the create invoice schedule schema with currency options from the contractor currencies endpoint.
832
- * React Query caches the result, so multiple calls share the same data.
833
- */
834
- declare const useGetCreateInvoiceScheduleSchema: ({ enabled, employmentId, jsfModify, }: {
835
- enabled?: boolean;
836
- employmentId?: string;
837
- jsfModify?: JSFModify;
838
- }) => {
839
- data: JSONSchemaFormResultWithFieldsets | null;
840
- isLoading: boolean;
841
- };
842
- /**
843
- * Query options factory for fetching invoice schedules by employment id
844
- * @param client - The API client
845
- * @param employmentId - The employment ID
846
- * @returns Query options for contractor invoice schedules
847
- */
848
- declare const invoiceSchedulesOptions: (client: Client, employmentId: string) => _tanstack_query_core.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
849
- data: ListContractorInvoiceSchedulesResponse;
850
- error: undefined;
851
- } & {
852
- request: Request;
853
- response: Response;
854
- }, Error, {
855
- data: ListContractorInvoiceSchedulesResponse;
856
- error: undefined;
857
- } & {
858
- request: Request;
859
- response: Response;
860
- }, readonly ["contractor-invoice-schedules", string]>, "queryFn"> & {
861
- queryFn?: _tanstack_query_core.QueryFunction<{
862
- data: ListContractorInvoiceSchedulesResponse;
863
- error: undefined;
864
- } & {
865
- request: Request;
866
- response: Response;
867
- }, readonly ["contractor-invoice-schedules", string], never> | undefined;
868
- } & {
869
- queryKey: readonly ["contractor-invoice-schedules", string] & {
870
- [dataTagSymbol]: {
871
- data: ListContractorInvoiceSchedulesResponse;
872
- error: undefined;
873
- } & {
874
- request: Request;
875
- response: Response;
876
- };
877
- [dataTagErrorSymbol]: Error;
878
- };
879
- };
880
- /**
881
- * Get the last invoice schedule for an employment that matches specific statuses.
882
- * This is used to determine if a schedule was previously created during onboarding.
883
- *
884
- * @param employmentId - The employment ID
885
- * @param options - Query options
886
- * @returns The last matching invoice schedule or undefined
887
- */
888
- declare const useGetExistingInvoiceSchedule: ({ employmentId, options, }: {
889
- employmentId: string;
890
- options?: {
891
- queryOptions?: {
892
- enabled?: boolean;
893
- };
894
- };
895
- }) => _tanstack_react_query.UseQueryResult<NoInfer<ContractorInvoiceSchedule | undefined>, Error>;
896
709
  declare const useCountriesSchemaField: (options?: Omit<FlowOptions, "jsonSchemaVersion"> & {
897
710
  queryOptions?: {
898
711
  enabled?: boolean;
@@ -914,58 +727,5 @@ declare const useCompanyOpenTasks: ({ options, }?: {
914
727
  };
915
728
  };
916
729
  }) => _tanstack_react_query.UseQueryResult<NoInfer<CompanyAction[]>, Error>;
917
- /**
918
- * Creates contractor invoice schedules
919
- * @param employmentId - The employment ID
920
- * @param values - The form values containing invoice schedule data
921
- * @returns The created invoice schedules
922
- */
923
- declare const useCreateInvoiceSchedule: () => _tanstack_react_query.UseMutationResult<({
924
- data: {
925
- data: {
926
- failures: Array<ContractorInvoiceScheduleCreateResponseFailure>;
927
- successes: Array<ContractorInvoiceScheduleCreateResponseSuccess>;
928
- };
929
- } | {
930
- data: {
931
- failures: Array<ContractorInvoiceScheduleCreateResponseFailure>;
932
- successes: Array<ContractorInvoiceScheduleCreateResponseSuccess>;
933
- };
934
- };
935
- error: undefined;
936
- } | {
937
- data: undefined;
938
- error: NotFoundResponse | ForbiddenResponse | {
939
- data: {
940
- failures: Array<ContractorInvoiceScheduleCreateResponseFailure>;
941
- successes: Array<ContractorInvoiceScheduleCreateResponseSuccess>;
942
- };
943
- };
944
- }) & {
945
- request: Request;
946
- response: Response;
947
- }, Error, {
948
- employmentId: string;
949
- values: FieldValues;
950
- }, unknown>;
951
- /**
952
- * Updates an existing contractor invoice schedule
953
- * @param scheduleId - The invoice schedule ID
954
- * @param values - The form values containing invoice schedule data
955
- * @returns The updated invoice schedule
956
- */
957
- declare const useUpdateInvoiceSchedule: () => _tanstack_react_query.UseMutationResult<({
958
- data: ContractorInvoiceScheduleResponse;
959
- error: undefined;
960
- } | {
961
- data: undefined;
962
- error: NotFoundResponse | UnprocessableEntityResponse | UnauthorizedResponse | ForbiddenResponse;
963
- }) & {
964
- request: Request;
965
- response: Response;
966
- }, Error, {
967
- scheduleId: string;
968
- values: FieldValues;
969
- }, unknown>;
970
730
 
971
- export { CONTRACT_PRODUCT_TITLES, invoiceSchedulesOptions, useCompanyOpenTasks, useContractorSubscriptionSchemaField, useCountriesSchemaField, useCreateContractorContractDocument, useCreateInvoiceSchedule, useDeleteContractorCorSubscription, useGetContractDocumentSignatureSchema, useGetContractDocuments, useGetContractOriginSchema, useGetContractorSubscriptions, useGetCreateInvoiceScheduleSchema, useGetEligibilityQuestionnaire, useGetExistingInvoiceSchedule, useGetIR35File, useGetInvoiceScheduleSchema, useGetShowContractDocument, useHasCompanySignedContract, usePostCreateEligibilityQuestionnaire, usePostManageContractorCorSubscription, usePostManageContractorSubscriptions, useSetContractOrigin, useSignContractDocument, useUpdateInvoiceSchedule, useUpdateUKandSaudiFields };
731
+ export { CONTRACT_PRODUCT_TITLES, invoiceSchedulesOptions, useCompanyOpenTasks, useContractorSubscriptionSchemaField, useCountriesSchemaField, useCreateContractorContractDocument, useCreateInvoiceSchedule, useDeleteContractorCorSubscription, useGetContractDocumentSignatureSchema, useGetContractDocuments, useGetContractOriginSchema, useGetContractorSubscriptions, useGetCreateInvoiceScheduleSchema, useGetEligibilityQuestionnaire, useGetExistingInvoiceSchedule, useGetIR35File, useGetInvoiceScheduleSchema, useGetShowContractDocument, useHasCompanySignedContract, usePostCreateEligibilityQuestionnaire, usePostManageContractorCorSubscription, usePostManageContractorSubscriptions, usePreviewContractorInvoice, useSetContractOrigin, useSignContractDocument, useSkipInvoiceSchedule, useUpdateInvoiceSchedule, useUpdateUKandSaudiFields };