@remoteoss/remote-flows 1.55.0 → 1.56.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 (1285) hide show
  1. package/dist/ButtonDefault-Dr1uPypn.js +2 -0
  2. package/dist/ButtonDefault-Dr1uPypn.js.map +1 -0
  3. package/dist/CheckBoxField-DSq9Qf8u.js +2 -0
  4. package/dist/CheckBoxField-DSq9Qf8u.js.map +1 -0
  5. package/dist/CheckboxFieldDefault-DjffkXJJ.js +2 -0
  6. package/dist/CheckboxFieldDefault-DjffkXJJ.js.map +1 -0
  7. package/dist/ContractAmendment-DxUe6jzs.js +2 -0
  8. package/dist/ContractAmendment-DxUe6jzs.js.map +1 -0
  9. package/dist/ContractDocument-isTSjaPh.js +2 -0
  10. package/dist/ContractDocument-isTSjaPh.js.map +1 -0
  11. package/dist/ContractorOnboarding-QSgRChZR.js +2 -0
  12. package/dist/ContractorOnboarding-QSgRChZR.js.map +1 -0
  13. package/dist/CostCalculator-CoUCw59l.js +2 -0
  14. package/dist/CostCalculator-CoUCw59l.js.map +1 -0
  15. package/dist/CountryFieldDefault-CY7EZdM8.js +2 -0
  16. package/dist/CountryFieldDefault-CY7EZdM8.js.map +1 -0
  17. package/dist/CreateCompany-BiSCCH_S.js +2 -0
  18. package/dist/CreateCompany-BiSCCH_S.js.map +1 -0
  19. package/dist/CurrencyConversionField-DMi3ydBX.js +2 -0
  20. package/dist/CurrencyConversionField-DMi3ydBX.js.map +1 -0
  21. package/dist/DatePickerFieldDefault-DirN5nuB.js +2 -0
  22. package/dist/DatePickerFieldDefault-DirN5nuB.js.map +1 -0
  23. package/dist/Drawer-BBXMyvwR.js +2 -0
  24. package/dist/Drawer-BBXMyvwR.js.map +1 -0
  25. package/dist/DrawerDefault-CadLGBmQ.js +2 -0
  26. package/dist/DrawerDefault-CadLGBmQ.js.map +1 -0
  27. package/dist/EmailFieldDefault-B0L_D4D9.js +2 -0
  28. package/dist/EmailFieldDefault-B0L_D4D9.js.map +1 -0
  29. package/dist/FileUploadFieldDefault-B0cz44f6.js +2 -0
  30. package/dist/FileUploadFieldDefault-B0cz44f6.js.map +1 -0
  31. package/dist/ForcedValueFieldDefault-Bp_ipb0c.js +2 -0
  32. package/dist/ForcedValueFieldDefault-Bp_ipb0c.js.map +1 -0
  33. package/dist/HelpCenter-DUyZK5NH.js +2 -0
  34. package/dist/HelpCenter-DUyZK5NH.js.map +1 -0
  35. package/dist/InvoiceSchedule-DxWc0xu-.js +2 -0
  36. package/dist/InvoiceSchedule-DxWc0xu-.js.map +1 -0
  37. package/dist/JSONSchemaForm-DehMm5lM.js +2 -0
  38. package/dist/JSONSchemaForm-DehMm5lM.js.map +1 -0
  39. package/dist/JsonSchemaPlayground-CTwG5Y1Q.js +2 -0
  40. package/dist/JsonSchemaPlayground-CTwG5Y1Q.js.map +1 -0
  41. package/dist/MultiSelectFieldDefault-Bt5bdhNg.js +2 -0
  42. package/dist/MultiSelectFieldDefault-Bt5bdhNg.js.map +1 -0
  43. package/dist/NumberFieldDefault-BGYFkaSl.js +2 -0
  44. package/dist/NumberFieldDefault-BGYFkaSl.js.map +1 -0
  45. package/dist/Onboarding-axVT9XVh.js +2 -0
  46. package/dist/Onboarding-axVT9XVh.js.map +1 -0
  47. package/dist/PDFPreviewDefault-DFTUnKAv.js +2 -0
  48. package/dist/PDFPreviewDefault-DFTUnKAv.js.map +1 -0
  49. package/dist/PayrollAdminOnboarding-Byn90Nuf.js +2 -0
  50. package/dist/PayrollAdminOnboarding-Byn90Nuf.js.map +1 -0
  51. package/dist/PayrollEmployeeOnboarding-BQjn-7oA.js +2 -0
  52. package/dist/PayrollEmployeeOnboarding-BQjn-7oA.js.map +1 -0
  53. package/dist/RadioGroupFieldDefault-s-2o9vOe.js +2 -0
  54. package/dist/RadioGroupFieldDefault-s-2o9vOe.js.map +1 -0
  55. package/dist/SelectFieldDefault-OYOYuCIs.js +2 -0
  56. package/dist/SelectFieldDefault-OYOYuCIs.js.map +1 -0
  57. package/dist/StatementDefault-Bc0RsZ_4.js +2 -0
  58. package/dist/StatementDefault-Bc0RsZ_4.js.map +1 -0
  59. package/dist/TableFieldDefault-BOrfv3dp.js +2 -0
  60. package/dist/TableFieldDefault-BOrfv3dp.js.map +1 -0
  61. package/dist/TelFieldDefault-Dd2Kf1yP.js +2 -0
  62. package/dist/TelFieldDefault-Dd2Kf1yP.js.map +1 -0
  63. package/dist/Termination-sjnHMs8m.js +2 -0
  64. package/dist/Termination-sjnHMs8m.js.map +1 -0
  65. package/dist/TextAreaFieldDefault-D5rn1dmT.js +2 -0
  66. package/dist/TextAreaFieldDefault-D5rn1dmT.js.map +1 -0
  67. package/dist/TextFieldDefault-BS6xccU-.js +2 -0
  68. package/dist/TextFieldDefault-BS6xccU-.js.map +1 -0
  69. package/dist/TimeFieldDefault-Bd0k6ctZ.js +2 -0
  70. package/dist/TimeFieldDefault-Bd0k6ctZ.js.map +1 -0
  71. package/dist/WorkScheduleFieldDefault-O5iYdTl0.js +2 -0
  72. package/dist/WorkScheduleFieldDefault-O5iYdTl0.js.map +1 -0
  73. package/dist/ZendeskDrawerDefault-Cfb4bGsf.js +2 -0
  74. package/dist/ZendeskDrawerDefault-Cfb4bGsf.js.map +1 -0
  75. package/dist/ZendeskTriggerButtonDefault-Cs2NQKyk.js +2 -0
  76. package/dist/ZendeskTriggerButtonDefault-Cs2NQKyk.js.map +1 -0
  77. package/dist/alert-CRHuNoGl.js +2 -0
  78. package/dist/alert-CRHuNoGl.js.map +1 -0
  79. package/dist/api-C6Xa3W-_.js +2 -0
  80. package/dist/api-C6Xa3W-_.js.map +1 -0
  81. package/dist/api-CsVWNT2E.js +2 -0
  82. package/dist/api-CsVWNT2E.js.map +1 -0
  83. package/dist/api-D3v21Bid.js +2 -0
  84. package/dist/api-D3v21Bid.js.map +1 -0
  85. package/dist/basic-tooltip-Dr-_TRDa.js +2 -0
  86. package/dist/basic-tooltip-Dr-_TRDa.js.map +1 -0
  87. package/dist/checkbox-_YWwA7wV.js +2 -0
  88. package/dist/checkbox-_YWwA7wV.js.map +1 -0
  89. package/dist/countries-BiKsglKy.js +2 -0
  90. package/dist/countries-BiKsglKy.js.map +1 -0
  91. package/dist/dates-CD1yZ0Ni.js +2 -0
  92. package/dist/dates-CD1yZ0Ni.js.map +1 -0
  93. package/dist/default-components.d.ts +5 -9
  94. package/dist/default-components.js +1 -1
  95. package/dist/default-components.js.map +1 -1
  96. package/dist/employment-Ddl1RWTS.js +2 -0
  97. package/dist/employment-Ddl1RWTS.js.map +1 -0
  98. package/dist/flows/ContractAmendment/index.d.ts +2 -18
  99. package/dist/flows/ContractAmendment/index.js +1 -2
  100. package/dist/flows/ContractDocument/index.d.ts +2 -7
  101. package/dist/flows/ContractDocument/index.js +1 -2
  102. package/dist/flows/ContractorOnboarding/index.d.ts +3 -32
  103. package/dist/flows/ContractorOnboarding/index.js +1 -2
  104. package/dist/flows/CostCalculator/index.d.ts +2 -20
  105. package/dist/flows/CostCalculator/index.js +1 -2
  106. package/dist/flows/CreateCompany/index.d.ts +2 -13
  107. package/dist/flows/CreateCompany/index.js +1 -2
  108. package/dist/flows/InvoiceSchedule/index.d.ts +2 -16
  109. package/dist/flows/InvoiceSchedule/index.js +1 -2
  110. package/dist/flows/JsonSchemaPlayground/index.d.ts +2 -13
  111. package/dist/flows/JsonSchemaPlayground/index.js +1 -2
  112. package/dist/flows/Onboarding/index.d.ts +4 -19
  113. package/dist/flows/Onboarding/index.js +1 -2
  114. package/dist/flows/PayrollAdminOnboarding/index.d.ts +3 -14
  115. package/dist/flows/PayrollAdminOnboarding/index.js +1 -2
  116. package/dist/flows/PayrollEmployeeOnboarding/index.d.ts +3 -14
  117. package/dist/flows/PayrollEmployeeOnboarding/index.js +1 -2
  118. package/dist/flows/Termination/index.d.ts +2 -32
  119. package/dist/flows/Termination/index.js +1 -2
  120. package/dist/gpOnboarding-BeH-l_v0.js +2 -0
  121. package/dist/gpOnboarding-BeH-l_v0.js.map +1 -0
  122. package/dist/index-BZYxe7c7.d.ts +103 -0
  123. package/dist/index-Bdw5R9SK.d.ts +248 -0
  124. package/dist/index-Bfp0Dih3.d.ts +416 -0
  125. package/dist/index-CpUmq5t-.d.ts +408 -0
  126. package/dist/index-CtaBzbkN.d.ts +9 -0
  127. package/dist/index-DSNiRSgk.d.ts +111 -0
  128. package/dist/index-DZOv3Kqg.d.ts +3071 -0
  129. package/dist/index-DqbaX4JJ.d.ts +210 -0
  130. package/dist/index-DsnJn9oQ.d.ts +443 -0
  131. package/dist/index-Zkya1HrW.d.ts +191 -0
  132. package/dist/index-pnWfqMqx.d.ts +664 -0
  133. package/dist/index-xjEJT03m.d.ts +51 -0
  134. package/dist/index.css +1 -2
  135. package/dist/index.d.ts +17 -267
  136. package/dist/index.js +3 -3
  137. package/dist/index.js.map +1 -1
  138. package/dist/internals-CzDL30xI.js +2 -0
  139. package/dist/internals-CzDL30xI.js.map +1 -0
  140. package/dist/internals.d.ts +141 -127
  141. package/dist/internals.js +1 -2
  142. package/dist/json-schema-form-AtvQYqTV.d.ts +6 -0
  143. package/dist/multi-select-DhP6T9xS.js +2 -0
  144. package/dist/multi-select-DhP6T9xS.js.map +1 -0
  145. package/dist/mutations-BtF_JHC1.d.ts +26 -0
  146. package/dist/popover-DwWAD4cG.js +2 -0
  147. package/dist/popover-DwWAD4cG.js.map +1 -0
  148. package/dist/remoteFlows-DzjJtmiU.d.ts +558 -0
  149. package/dist/rolldown-runtime-hePW80VL.js +1 -0
  150. package/dist/sdk.gen-C7MLoCMc.js +8 -0
  151. package/dist/sdk.gen-C7MLoCMc.js.map +1 -0
  152. package/dist/styles.css +1 -2
  153. package/dist/styles.d.ts +1 -2
  154. package/dist/styles.js +1 -2
  155. package/dist/{types-DvsjrBmu.d.ts → types-CAZgciMr.d.ts} +9 -7
  156. package/dist/types-DM3hjkjw.d.ts +899 -0
  157. package/dist/types-PZPLLCvV.d.ts +72 -0
  158. package/dist/types-d7RBqkQv.d.ts +170 -0
  159. package/dist/uploadConfig-fhh8D6_J.js +2 -0
  160. package/dist/uploadConfig-fhh8D6_J.js.map +1 -0
  161. package/dist/useErrorReporting-BC2ObW1s.js +2 -0
  162. package/dist/useErrorReporting-BC2ObW1s.js.map +1 -0
  163. package/dist/useJSONSchemaForm-CiLms2z5.js +2 -0
  164. package/dist/useJSONSchemaForm-CiLms2z5.js.map +1 -0
  165. package/dist/useStepState-BmZF37pW.js +2 -0
  166. package/dist/useStepState-BmZF37pW.js.map +1 -0
  167. package/dist/useStepState-DPuZ-xcq.d.ts +10 -0
  168. package/package.json +8 -5
  169. package/dist/ButtonDefault-N32RTG32.js +0 -2
  170. package/dist/ButtonDefault-N32RTG32.js.map +0 -1
  171. package/dist/CheckboxFieldDefault-X5SIWA6P.js +0 -2
  172. package/dist/CheckboxFieldDefault-X5SIWA6P.js.map +0 -1
  173. package/dist/CountryFieldDefault-AZOQXIVV.js +0 -2
  174. package/dist/CountryFieldDefault-AZOQXIVV.js.map +0 -1
  175. package/dist/DatePickerFieldDefault-NZL3TD4C.js +0 -2
  176. package/dist/DatePickerFieldDefault-NZL3TD4C.js.map +0 -1
  177. package/dist/DrawerDefault-E67XIROQ.js +0 -2
  178. package/dist/DrawerDefault-E67XIROQ.js.map +0 -1
  179. package/dist/EmailFieldDefault-R7LQD4WN.js +0 -2
  180. package/dist/EmailFieldDefault-R7LQD4WN.js.map +0 -1
  181. package/dist/FieldsetToggleButtonDefault-SHDKV2VO.js +0 -2
  182. package/dist/FieldsetToggleButtonDefault-SHDKV2VO.js.map +0 -1
  183. package/dist/FileUploadFieldDefault-A74OEKR7.js +0 -2
  184. package/dist/FileUploadFieldDefault-A74OEKR7.js.map +0 -1
  185. package/dist/ForcedValueFieldDefault-WD6FPQPF.js +0 -2
  186. package/dist/ForcedValueFieldDefault-WD6FPQPF.js.map +0 -1
  187. package/dist/MultiSelectFieldDefault-4RDSLVXE.js +0 -2
  188. package/dist/MultiSelectFieldDefault-4RDSLVXE.js.map +0 -1
  189. package/dist/NumberFieldDefault-U5SJAHHQ.js +0 -2
  190. package/dist/NumberFieldDefault-U5SJAHHQ.js.map +0 -1
  191. package/dist/PDFPreviewDefault-T6YPWXGY.js +0 -2
  192. package/dist/PDFPreviewDefault-T6YPWXGY.js.map +0 -1
  193. package/dist/RadioGroupFieldDefault-RMLMHLRP.js +0 -2
  194. package/dist/RadioGroupFieldDefault-RMLMHLRP.js.map +0 -1
  195. package/dist/SelectFieldDefault-LMCEGGY5.js +0 -2
  196. package/dist/SelectFieldDefault-LMCEGGY5.js.map +0 -1
  197. package/dist/StatementDefault-33EDZARR.js +0 -2
  198. package/dist/StatementDefault-33EDZARR.js.map +0 -1
  199. package/dist/TableFieldDefault-BJIHEN3V.js +0 -2
  200. package/dist/TableFieldDefault-BJIHEN3V.js.map +0 -1
  201. package/dist/TelFieldDefault-6327HAAP.js +0 -2
  202. package/dist/TelFieldDefault-6327HAAP.js.map +0 -1
  203. package/dist/TextAreaFieldDefault-ULWPOPSP.js +0 -2
  204. package/dist/TextAreaFieldDefault-ULWPOPSP.js.map +0 -1
  205. package/dist/TextFieldDefault-LEKXVZP4.js +0 -2
  206. package/dist/TextFieldDefault-LEKXVZP4.js.map +0 -1
  207. package/dist/TimeFieldDefault-EDFT5XUB.js +0 -2
  208. package/dist/TimeFieldDefault-EDFT5XUB.js.map +0 -1
  209. package/dist/WorkScheduleFieldDefault-YFHD6UUW.js +0 -2
  210. package/dist/WorkScheduleFieldDefault-YFHD6UUW.js.map +0 -1
  211. package/dist/ZendeskDrawerDefault-DC4SUPEC.js +0 -2
  212. package/dist/ZendeskDrawerDefault-DC4SUPEC.js.map +0 -1
  213. package/dist/ZendeskTriggerButtonDefault-L4BVVXHA.js +0 -2
  214. package/dist/ZendeskTriggerButtonDefault-L4BVVXHA.js.map +0 -1
  215. package/dist/chunk-2HLKH3BT.js +0 -2
  216. package/dist/chunk-2HLKH3BT.js.map +0 -1
  217. package/dist/chunk-2I3BUFQJ.js +0 -2
  218. package/dist/chunk-2I3BUFQJ.js.map +0 -1
  219. package/dist/chunk-2QSJKNZO.js +0 -2
  220. package/dist/chunk-2QSJKNZO.js.map +0 -1
  221. package/dist/chunk-2QVO3BVI.js +0 -2
  222. package/dist/chunk-2QVO3BVI.js.map +0 -1
  223. package/dist/chunk-2UD2ZFSN.js +0 -2
  224. package/dist/chunk-2UD2ZFSN.js.map +0 -1
  225. package/dist/chunk-2UEZACSE.js +0 -2
  226. package/dist/chunk-2UEZACSE.js.map +0 -1
  227. package/dist/chunk-2W354SK7.js +0 -2
  228. package/dist/chunk-2W354SK7.js.map +0 -1
  229. package/dist/chunk-36DZMQHH.js +0 -2
  230. package/dist/chunk-36DZMQHH.js.map +0 -1
  231. package/dist/chunk-36JXX3VA.js +0 -2
  232. package/dist/chunk-36JXX3VA.js.map +0 -1
  233. package/dist/chunk-3UDRMQNE.js +0 -2
  234. package/dist/chunk-3UDRMQNE.js.map +0 -1
  235. package/dist/chunk-4LQUD36G.js +0 -2
  236. package/dist/chunk-4LQUD36G.js.map +0 -1
  237. package/dist/chunk-4MI7BMM5.js +0 -2
  238. package/dist/chunk-4MI7BMM5.js.map +0 -1
  239. package/dist/chunk-4QEPM5MQ.js +0 -2
  240. package/dist/chunk-4QEPM5MQ.js.map +0 -1
  241. package/dist/chunk-54EKTCFE.js +0 -2
  242. package/dist/chunk-54EKTCFE.js.map +0 -1
  243. package/dist/chunk-55CB7X5W.js +0 -2
  244. package/dist/chunk-55CB7X5W.js.map +0 -1
  245. package/dist/chunk-5DCPSSPR.js +0 -2
  246. package/dist/chunk-5DCPSSPR.js.map +0 -1
  247. package/dist/chunk-5FEJD2N7.js +0 -2
  248. package/dist/chunk-5FEJD2N7.js.map +0 -1
  249. package/dist/chunk-5HFK7EMV.js +0 -2
  250. package/dist/chunk-5HFK7EMV.js.map +0 -1
  251. package/dist/chunk-5HXGF3IA.js +0 -2
  252. package/dist/chunk-5HXGF3IA.js.map +0 -1
  253. package/dist/chunk-5IIFCA3F.js +0 -2
  254. package/dist/chunk-5IIFCA3F.js.map +0 -1
  255. package/dist/chunk-5JKUOW3P.js +0 -2
  256. package/dist/chunk-5JKUOW3P.js.map +0 -1
  257. package/dist/chunk-5KMUUL7U.js +0 -1
  258. package/dist/chunk-5KMUUL7U.js.map +0 -1
  259. package/dist/chunk-5WFWHEXV.js +0 -2
  260. package/dist/chunk-5WFWHEXV.js.map +0 -1
  261. package/dist/chunk-5X2OXK7T.js +0 -2
  262. package/dist/chunk-5X2OXK7T.js.map +0 -1
  263. package/dist/chunk-62EFEBHN.js +0 -2
  264. package/dist/chunk-62EFEBHN.js.map +0 -1
  265. package/dist/chunk-64PDV5NF.js +0 -2
  266. package/dist/chunk-64PDV5NF.js.map +0 -1
  267. package/dist/chunk-677YKNHH.js +0 -2
  268. package/dist/chunk-677YKNHH.js.map +0 -1
  269. package/dist/chunk-6AMPXS3F.js +0 -2
  270. package/dist/chunk-6AMPXS3F.js.map +0 -1
  271. package/dist/chunk-6DHV4GT6.js +0 -2
  272. package/dist/chunk-6DHV4GT6.js.map +0 -1
  273. package/dist/chunk-6FLU37JM.js +0 -2
  274. package/dist/chunk-6FLU37JM.js.map +0 -1
  275. package/dist/chunk-6HBIQAF2.js +0 -2
  276. package/dist/chunk-6HBIQAF2.js.map +0 -1
  277. package/dist/chunk-744REBZC.js +0 -2
  278. package/dist/chunk-744REBZC.js.map +0 -1
  279. package/dist/chunk-753FEV2S.js +0 -2
  280. package/dist/chunk-753FEV2S.js.map +0 -1
  281. package/dist/chunk-76ZDXC2T.js +0 -2
  282. package/dist/chunk-76ZDXC2T.js.map +0 -1
  283. package/dist/chunk-7BB24CX5.js +0 -2
  284. package/dist/chunk-7BB24CX5.js.map +0 -1
  285. package/dist/chunk-7LP2MXCW.js +0 -2
  286. package/dist/chunk-7LP2MXCW.js.map +0 -1
  287. package/dist/chunk-7LQEU3B4.js +0 -2
  288. package/dist/chunk-7LQEU3B4.js.map +0 -1
  289. package/dist/chunk-7TCY4ON2.js +0 -2
  290. package/dist/chunk-7TCY4ON2.js.map +0 -1
  291. package/dist/chunk-7TRSA2OH.js +0 -2
  292. package/dist/chunk-7TRSA2OH.js.map +0 -1
  293. package/dist/chunk-A3LRPGV3.js +0 -2
  294. package/dist/chunk-A3LRPGV3.js.map +0 -1
  295. package/dist/chunk-A7ZJQCNU.js +0 -1
  296. package/dist/chunk-A7ZJQCNU.js.map +0 -1
  297. package/dist/chunk-AC5CQ6HL.js +0 -2
  298. package/dist/chunk-AC5CQ6HL.js.map +0 -1
  299. package/dist/chunk-ADXTCKMJ.js +0 -2
  300. package/dist/chunk-ADXTCKMJ.js.map +0 -1
  301. package/dist/chunk-AFTFDGSD.js +0 -2
  302. package/dist/chunk-AFTFDGSD.js.map +0 -1
  303. package/dist/chunk-AJ5AKHYP.js +0 -2
  304. package/dist/chunk-AJ5AKHYP.js.map +0 -1
  305. package/dist/chunk-AOE6FXVP.js +0 -2
  306. package/dist/chunk-AOE6FXVP.js.map +0 -1
  307. package/dist/chunk-AP6FKWKX.js +0 -2
  308. package/dist/chunk-AP6FKWKX.js.map +0 -1
  309. package/dist/chunk-APUJLKUM.js +0 -2
  310. package/dist/chunk-APUJLKUM.js.map +0 -1
  311. package/dist/chunk-ASKPQZY2.js +0 -2
  312. package/dist/chunk-ASKPQZY2.js.map +0 -1
  313. package/dist/chunk-AVBV7L5E.js +0 -2
  314. package/dist/chunk-AVBV7L5E.js.map +0 -1
  315. package/dist/chunk-AXZ4IDY7.js +0 -2
  316. package/dist/chunk-AXZ4IDY7.js.map +0 -1
  317. package/dist/chunk-B3MEKP45.js +0 -2
  318. package/dist/chunk-B3MEKP45.js.map +0 -1
  319. package/dist/chunk-B7BJXPGT.js +0 -2
  320. package/dist/chunk-B7BJXPGT.js.map +0 -1
  321. package/dist/chunk-BHHK7QQZ.js +0 -2
  322. package/dist/chunk-BHHK7QQZ.js.map +0 -1
  323. package/dist/chunk-BHTFKQJO.js +0 -2
  324. package/dist/chunk-BHTFKQJO.js.map +0 -1
  325. package/dist/chunk-BOVUSO4A.js +0 -2
  326. package/dist/chunk-BOVUSO4A.js.map +0 -1
  327. package/dist/chunk-BTAKGADS.js +0 -2
  328. package/dist/chunk-BTAKGADS.js.map +0 -1
  329. package/dist/chunk-BUR3X6FL.js +0 -2
  330. package/dist/chunk-BUR3X6FL.js.map +0 -1
  331. package/dist/chunk-BXR3EF3L.js +0 -2
  332. package/dist/chunk-BXR3EF3L.js.map +0 -1
  333. package/dist/chunk-BZ7YOEB6.js +0 -2
  334. package/dist/chunk-BZ7YOEB6.js.map +0 -1
  335. package/dist/chunk-C4HFMTSB.js +0 -2
  336. package/dist/chunk-C4HFMTSB.js.map +0 -1
  337. package/dist/chunk-CEFPQAKH.js +0 -2
  338. package/dist/chunk-CEFPQAKH.js.map +0 -1
  339. package/dist/chunk-CEFR62S6.js +0 -2
  340. package/dist/chunk-CEFR62S6.js.map +0 -1
  341. package/dist/chunk-CGILHL4U.js +0 -2
  342. package/dist/chunk-CGILHL4U.js.map +0 -1
  343. package/dist/chunk-CW7CHRMN.js +0 -2
  344. package/dist/chunk-CW7CHRMN.js.map +0 -1
  345. package/dist/chunk-CX57A6WK.js +0 -2
  346. package/dist/chunk-CX57A6WK.js.map +0 -1
  347. package/dist/chunk-CYAISKZB.js +0 -2
  348. package/dist/chunk-CYAISKZB.js.map +0 -1
  349. package/dist/chunk-D7F3QKN5.js +0 -2
  350. package/dist/chunk-D7F3QKN5.js.map +0 -1
  351. package/dist/chunk-D7MYOH3P.js +0 -2
  352. package/dist/chunk-D7MYOH3P.js.map +0 -1
  353. package/dist/chunk-DB4JHJ3Z.js +0 -2
  354. package/dist/chunk-DB4JHJ3Z.js.map +0 -1
  355. package/dist/chunk-DC4ZTOZE.js +0 -2
  356. package/dist/chunk-DC4ZTOZE.js.map +0 -1
  357. package/dist/chunk-DFJNVGK4.js +0 -2
  358. package/dist/chunk-DFJNVGK4.js.map +0 -1
  359. package/dist/chunk-DFTTDXJ5.js +0 -2
  360. package/dist/chunk-DFTTDXJ5.js.map +0 -1
  361. package/dist/chunk-DSJXT5ZP.js +0 -2
  362. package/dist/chunk-DSJXT5ZP.js.map +0 -1
  363. package/dist/chunk-ECD2RHON.js +0 -2
  364. package/dist/chunk-ECD2RHON.js.map +0 -1
  365. package/dist/chunk-EEGKPPQK.js +0 -2
  366. package/dist/chunk-EEGKPPQK.js.map +0 -1
  367. package/dist/chunk-EOOCBFPJ.js +0 -1
  368. package/dist/chunk-EOOCBFPJ.js.map +0 -1
  369. package/dist/chunk-EUQLCVA5.js +0 -2
  370. package/dist/chunk-EUQLCVA5.js.map +0 -1
  371. package/dist/chunk-EW6UABH3.js +0 -2
  372. package/dist/chunk-EW6UABH3.js.map +0 -1
  373. package/dist/chunk-EWRSIBE2.js +0 -2
  374. package/dist/chunk-EWRSIBE2.js.map +0 -1
  375. package/dist/chunk-F37FQXEZ.js +0 -2
  376. package/dist/chunk-F37FQXEZ.js.map +0 -1
  377. package/dist/chunk-F62JZXCH.js +0 -2
  378. package/dist/chunk-F62JZXCH.js.map +0 -1
  379. package/dist/chunk-F6NFCJYW.js +0 -2
  380. package/dist/chunk-F6NFCJYW.js.map +0 -1
  381. package/dist/chunk-FB3PEQTO.js +0 -2
  382. package/dist/chunk-FB3PEQTO.js.map +0 -1
  383. package/dist/chunk-FGBEOUQK.js +0 -1
  384. package/dist/chunk-FGBEOUQK.js.map +0 -1
  385. package/dist/chunk-FHYOWPXB.js +0 -2
  386. package/dist/chunk-FHYOWPXB.js.map +0 -1
  387. package/dist/chunk-FIOX5JX5.js +0 -2
  388. package/dist/chunk-FIOX5JX5.js.map +0 -1
  389. package/dist/chunk-FIPWWOZY.js +0 -2
  390. package/dist/chunk-FIPWWOZY.js.map +0 -1
  391. package/dist/chunk-FJD5GFO4.js +0 -2
  392. package/dist/chunk-FJD5GFO4.js.map +0 -1
  393. package/dist/chunk-FPCF4TH2.js +0 -8
  394. package/dist/chunk-FPCF4TH2.js.map +0 -1
  395. package/dist/chunk-FPP5ZANJ.js +0 -2
  396. package/dist/chunk-FPP5ZANJ.js.map +0 -1
  397. package/dist/chunk-FSGFBJJF.js +0 -2
  398. package/dist/chunk-FSGFBJJF.js.map +0 -1
  399. package/dist/chunk-FZ7FWFJX.js +0 -1
  400. package/dist/chunk-FZ7FWFJX.js.map +0 -1
  401. package/dist/chunk-G6F6ZZES.js +0 -2
  402. package/dist/chunk-G6F6ZZES.js.map +0 -1
  403. package/dist/chunk-GA7B6FUD.js +0 -1
  404. package/dist/chunk-GA7B6FUD.js.map +0 -1
  405. package/dist/chunk-GIQIO4GI.js +0 -2
  406. package/dist/chunk-GIQIO4GI.js.map +0 -1
  407. package/dist/chunk-GMXL2Z5N.js +0 -2
  408. package/dist/chunk-GMXL2Z5N.js.map +0 -1
  409. package/dist/chunk-GNW6DGUS.js +0 -2
  410. package/dist/chunk-GNW6DGUS.js.map +0 -1
  411. package/dist/chunk-GPWQPJQ7.js +0 -2
  412. package/dist/chunk-GPWQPJQ7.js.map +0 -1
  413. package/dist/chunk-GYMFEHNM.js +0 -2
  414. package/dist/chunk-GYMFEHNM.js.map +0 -1
  415. package/dist/chunk-H2O4CVKF.js +0 -2
  416. package/dist/chunk-H2O4CVKF.js.map +0 -1
  417. package/dist/chunk-H3GKCPVS.js +0 -2
  418. package/dist/chunk-H3GKCPVS.js.map +0 -1
  419. package/dist/chunk-H3Y7IISD.js +0 -2
  420. package/dist/chunk-H3Y7IISD.js.map +0 -1
  421. package/dist/chunk-H5M3D6CI.js +0 -2
  422. package/dist/chunk-H5M3D6CI.js.map +0 -1
  423. package/dist/chunk-H66IKMI4.js +0 -2
  424. package/dist/chunk-H66IKMI4.js.map +0 -1
  425. package/dist/chunk-H6XROFQT.js +0 -2
  426. package/dist/chunk-H6XROFQT.js.map +0 -1
  427. package/dist/chunk-HBONR7VY.js +0 -2
  428. package/dist/chunk-HBONR7VY.js.map +0 -1
  429. package/dist/chunk-HDFNGXCV.js +0 -2
  430. package/dist/chunk-HDFNGXCV.js.map +0 -1
  431. package/dist/chunk-HI6GH4J7.js +0 -2
  432. package/dist/chunk-HI6GH4J7.js.map +0 -1
  433. package/dist/chunk-HN5HLFTB.js +0 -2
  434. package/dist/chunk-HN5HLFTB.js.map +0 -1
  435. package/dist/chunk-I757RN7F.js +0 -2
  436. package/dist/chunk-I757RN7F.js.map +0 -1
  437. package/dist/chunk-IBOSDGWK.js +0 -2
  438. package/dist/chunk-IBOSDGWK.js.map +0 -1
  439. package/dist/chunk-IBQVGZMF.js +0 -2
  440. package/dist/chunk-IBQVGZMF.js.map +0 -1
  441. package/dist/chunk-IFDFCKT4.js +0 -2
  442. package/dist/chunk-IFDFCKT4.js.map +0 -1
  443. package/dist/chunk-IFIJ7OVJ.js +0 -2
  444. package/dist/chunk-IFIJ7OVJ.js.map +0 -1
  445. package/dist/chunk-IJAV22PE.js +0 -2
  446. package/dist/chunk-IJAV22PE.js.map +0 -1
  447. package/dist/chunk-IROMMYZS.js +0 -2
  448. package/dist/chunk-IROMMYZS.js.map +0 -1
  449. package/dist/chunk-IZRM26GZ.js +0 -2
  450. package/dist/chunk-IZRM26GZ.js.map +0 -1
  451. package/dist/chunk-J23IEAZ2.js +0 -2
  452. package/dist/chunk-J23IEAZ2.js.map +0 -1
  453. package/dist/chunk-JCES7EE2.js +0 -2
  454. package/dist/chunk-JCES7EE2.js.map +0 -1
  455. package/dist/chunk-JCKH3UYE.js +0 -2
  456. package/dist/chunk-JCKH3UYE.js.map +0 -1
  457. package/dist/chunk-JGKYFH4L.js +0 -2
  458. package/dist/chunk-JGKYFH4L.js.map +0 -1
  459. package/dist/chunk-JIGRVBQS.js +0 -2
  460. package/dist/chunk-JIGRVBQS.js.map +0 -1
  461. package/dist/chunk-JJUOWS3K.js +0 -2
  462. package/dist/chunk-JJUOWS3K.js.map +0 -1
  463. package/dist/chunk-JK4CPPN4.js +0 -2
  464. package/dist/chunk-JK4CPPN4.js.map +0 -1
  465. package/dist/chunk-JMBQAG6H.js +0 -2
  466. package/dist/chunk-JMBQAG6H.js.map +0 -1
  467. package/dist/chunk-JNPESWI7.js +0 -2
  468. package/dist/chunk-JNPESWI7.js.map +0 -1
  469. package/dist/chunk-JO5D2522.js +0 -2
  470. package/dist/chunk-JO5D2522.js.map +0 -1
  471. package/dist/chunk-JRMI5S74.js +0 -2
  472. package/dist/chunk-JRMI5S74.js.map +0 -1
  473. package/dist/chunk-JXPMQMTT.js +0 -2
  474. package/dist/chunk-JXPMQMTT.js.map +0 -1
  475. package/dist/chunk-K3QDNFF5.js +0 -2
  476. package/dist/chunk-K3QDNFF5.js.map +0 -1
  477. package/dist/chunk-KF52YXGI.js +0 -2
  478. package/dist/chunk-KF52YXGI.js.map +0 -1
  479. package/dist/chunk-KFYWUBRS.js +0 -2
  480. package/dist/chunk-KFYWUBRS.js.map +0 -1
  481. package/dist/chunk-KGSH67IW.js +0 -2
  482. package/dist/chunk-KGSH67IW.js.map +0 -1
  483. package/dist/chunk-KMLI4ISS.js +0 -2
  484. package/dist/chunk-KMLI4ISS.js.map +0 -1
  485. package/dist/chunk-KQ2ZXMJF.js +0 -2
  486. package/dist/chunk-KQ2ZXMJF.js.map +0 -1
  487. package/dist/chunk-KSHK3ZPX.js +0 -2
  488. package/dist/chunk-KSHK3ZPX.js.map +0 -1
  489. package/dist/chunk-KUQJG26N.js +0 -2
  490. package/dist/chunk-KUQJG26N.js.map +0 -1
  491. package/dist/chunk-KVUKJU5U.js +0 -2
  492. package/dist/chunk-KVUKJU5U.js.map +0 -1
  493. package/dist/chunk-L2GAD6S5.js +0 -2
  494. package/dist/chunk-L2GAD6S5.js.map +0 -1
  495. package/dist/chunk-L74V3INS.js +0 -2
  496. package/dist/chunk-L74V3INS.js.map +0 -1
  497. package/dist/chunk-LFUMRNDK.js +0 -2
  498. package/dist/chunk-LFUMRNDK.js.map +0 -1
  499. package/dist/chunk-LKHRHBFP.js +0 -2
  500. package/dist/chunk-LKHRHBFP.js.map +0 -1
  501. package/dist/chunk-LVYZIOOZ.js +0 -2
  502. package/dist/chunk-LVYZIOOZ.js.map +0 -1
  503. package/dist/chunk-LWGSXQKI.js +0 -1
  504. package/dist/chunk-LWGSXQKI.js.map +0 -1
  505. package/dist/chunk-M3TA5X2H.js +0 -2
  506. package/dist/chunk-M3TA5X2H.js.map +0 -1
  507. package/dist/chunk-MAEAZFMR.js +0 -1
  508. package/dist/chunk-MAEAZFMR.js.map +0 -1
  509. package/dist/chunk-MBGHSHR6.js +0 -2
  510. package/dist/chunk-MBGHSHR6.js.map +0 -1
  511. package/dist/chunk-MRYRNB7Y.js +0 -2
  512. package/dist/chunk-MRYRNB7Y.js.map +0 -1
  513. package/dist/chunk-MWBEA2NI.js +0 -2
  514. package/dist/chunk-MWBEA2NI.js.map +0 -1
  515. package/dist/chunk-MZM26I3S.js +0 -2
  516. package/dist/chunk-MZM26I3S.js.map +0 -1
  517. package/dist/chunk-NEVSZEMH.js +0 -2
  518. package/dist/chunk-NEVSZEMH.js.map +0 -1
  519. package/dist/chunk-NILEOD3X.js +0 -2
  520. package/dist/chunk-NILEOD3X.js.map +0 -1
  521. package/dist/chunk-NP3RMRKZ.js +0 -2
  522. package/dist/chunk-NP3RMRKZ.js.map +0 -1
  523. package/dist/chunk-NW3D7CPK.js +0 -2
  524. package/dist/chunk-NW3D7CPK.js.map +0 -1
  525. package/dist/chunk-NXSRNOBC.js +0 -2
  526. package/dist/chunk-NXSRNOBC.js.map +0 -1
  527. package/dist/chunk-OCZ5EG5J.js +0 -2
  528. package/dist/chunk-OCZ5EG5J.js.map +0 -1
  529. package/dist/chunk-ODRR3US4.js +0 -2
  530. package/dist/chunk-ODRR3US4.js.map +0 -1
  531. package/dist/chunk-OGDYY2TK.js +0 -2
  532. package/dist/chunk-OGDYY2TK.js.map +0 -1
  533. package/dist/chunk-OHVXJXF4.js +0 -1
  534. package/dist/chunk-OHVXJXF4.js.map +0 -1
  535. package/dist/chunk-OL5C4QEH.js +0 -2
  536. package/dist/chunk-OL5C4QEH.js.map +0 -1
  537. package/dist/chunk-ONELHWYF.js +0 -2
  538. package/dist/chunk-ONELHWYF.js.map +0 -1
  539. package/dist/chunk-OUVSBTOE.js +0 -2
  540. package/dist/chunk-OUVSBTOE.js.map +0 -1
  541. package/dist/chunk-OV4ARZIX.js +0 -2
  542. package/dist/chunk-OV4ARZIX.js.map +0 -1
  543. package/dist/chunk-P37U34EQ.js +0 -2
  544. package/dist/chunk-P37U34EQ.js.map +0 -1
  545. package/dist/chunk-P4LSZLTJ.js +0 -2
  546. package/dist/chunk-P4LSZLTJ.js.map +0 -1
  547. package/dist/chunk-PB6UQ4A4.js +0 -2
  548. package/dist/chunk-PB6UQ4A4.js.map +0 -1
  549. package/dist/chunk-PE2UM2SW.js +0 -2
  550. package/dist/chunk-PE2UM2SW.js.map +0 -1
  551. package/dist/chunk-PGS35CGC.js +0 -2
  552. package/dist/chunk-PGS35CGC.js.map +0 -1
  553. package/dist/chunk-PGWKJ6FK.js +0 -2
  554. package/dist/chunk-PGWKJ6FK.js.map +0 -1
  555. package/dist/chunk-POA6NSFQ.js +0 -2
  556. package/dist/chunk-POA6NSFQ.js.map +0 -1
  557. package/dist/chunk-PUX6FYHV.js +0 -2
  558. package/dist/chunk-PUX6FYHV.js.map +0 -1
  559. package/dist/chunk-PVORGGT3.js +0 -2
  560. package/dist/chunk-PVORGGT3.js.map +0 -1
  561. package/dist/chunk-Q3ALCPJN.js +0 -2
  562. package/dist/chunk-Q3ALCPJN.js.map +0 -1
  563. package/dist/chunk-QATHYZUV.js +0 -2
  564. package/dist/chunk-QATHYZUV.js.map +0 -1
  565. package/dist/chunk-QETOBZUA.js +0 -2
  566. package/dist/chunk-QETOBZUA.js.map +0 -1
  567. package/dist/chunk-QRSWXKRV.js +0 -2
  568. package/dist/chunk-QRSWXKRV.js.map +0 -1
  569. package/dist/chunk-QTEQCA5N.js +0 -2
  570. package/dist/chunk-QTEQCA5N.js.map +0 -1
  571. package/dist/chunk-QXW2MAFG.js +0 -2
  572. package/dist/chunk-QXW2MAFG.js.map +0 -1
  573. package/dist/chunk-QYA7D7ZQ.js +0 -2
  574. package/dist/chunk-QYA7D7ZQ.js.map +0 -1
  575. package/dist/chunk-R4E37FVX.js +0 -2
  576. package/dist/chunk-R4E37FVX.js.map +0 -1
  577. package/dist/chunk-R5Y7AZWB.js +0 -2
  578. package/dist/chunk-R5Y7AZWB.js.map +0 -1
  579. package/dist/chunk-RADQBXMO.js +0 -2
  580. package/dist/chunk-RADQBXMO.js.map +0 -1
  581. package/dist/chunk-RJXFAG4D.js +0 -2
  582. package/dist/chunk-RJXFAG4D.js.map +0 -1
  583. package/dist/chunk-RQZ5QNCM.js +0 -2
  584. package/dist/chunk-RQZ5QNCM.js.map +0 -1
  585. package/dist/chunk-S64P7IA7.js +0 -2
  586. package/dist/chunk-S64P7IA7.js.map +0 -1
  587. package/dist/chunk-SDF4QRJ2.js +0 -2
  588. package/dist/chunk-SDF4QRJ2.js.map +0 -1
  589. package/dist/chunk-SGE4DLC3.js +0 -2
  590. package/dist/chunk-SGE4DLC3.js.map +0 -1
  591. package/dist/chunk-SIVFXETC.js +0 -2
  592. package/dist/chunk-SIVFXETC.js.map +0 -1
  593. package/dist/chunk-SLEK47CR.js +0 -2
  594. package/dist/chunk-SLEK47CR.js.map +0 -1
  595. package/dist/chunk-SRLBVFNQ.js +0 -2
  596. package/dist/chunk-SRLBVFNQ.js.map +0 -1
  597. package/dist/chunk-SRNXXOUH.js +0 -2
  598. package/dist/chunk-SRNXXOUH.js.map +0 -1
  599. package/dist/chunk-SS2SYDCB.js +0 -2
  600. package/dist/chunk-SS2SYDCB.js.map +0 -1
  601. package/dist/chunk-SSUL5J5I.js +0 -2
  602. package/dist/chunk-SSUL5J5I.js.map +0 -1
  603. package/dist/chunk-SWCZJY6I.js +0 -2
  604. package/dist/chunk-SWCZJY6I.js.map +0 -1
  605. package/dist/chunk-SWLNTVAX.js +0 -2
  606. package/dist/chunk-SWLNTVAX.js.map +0 -1
  607. package/dist/chunk-SXW4FROO.js +0 -2
  608. package/dist/chunk-SXW4FROO.js.map +0 -1
  609. package/dist/chunk-SYZIGZ2F.js +0 -2
  610. package/dist/chunk-SYZIGZ2F.js.map +0 -1
  611. package/dist/chunk-TDKKCSKV.js +0 -2
  612. package/dist/chunk-TDKKCSKV.js.map +0 -1
  613. package/dist/chunk-TDUPMUA2.js +0 -2
  614. package/dist/chunk-TDUPMUA2.js.map +0 -1
  615. package/dist/chunk-TJOQF7N6.js +0 -2
  616. package/dist/chunk-TJOQF7N6.js.map +0 -1
  617. package/dist/chunk-TKJQB2O2.js +0 -2
  618. package/dist/chunk-TKJQB2O2.js.map +0 -1
  619. package/dist/chunk-TNWH6PVQ.js +0 -2
  620. package/dist/chunk-TNWH6PVQ.js.map +0 -1
  621. package/dist/chunk-TSR7O3QD.js +0 -2
  622. package/dist/chunk-TSR7O3QD.js.map +0 -1
  623. package/dist/chunk-TVZAFTPT.js +0 -2
  624. package/dist/chunk-TVZAFTPT.js.map +0 -1
  625. package/dist/chunk-U7JAGEOV.js +0 -2
  626. package/dist/chunk-U7JAGEOV.js.map +0 -1
  627. package/dist/chunk-UDF7IJTE.js +0 -2
  628. package/dist/chunk-UDF7IJTE.js.map +0 -1
  629. package/dist/chunk-UGU2ENUA.js +0 -2
  630. package/dist/chunk-UGU2ENUA.js.map +0 -1
  631. package/dist/chunk-UKEIM24T.js +0 -2
  632. package/dist/chunk-UKEIM24T.js.map +0 -1
  633. package/dist/chunk-UYOKK4QW.js +0 -2
  634. package/dist/chunk-UYOKK4QW.js.map +0 -1
  635. package/dist/chunk-UYUPSPOE.js +0 -1
  636. package/dist/chunk-UYUPSPOE.js.map +0 -1
  637. package/dist/chunk-UZ4TEF73.js +0 -1
  638. package/dist/chunk-UZ4TEF73.js.map +0 -1
  639. package/dist/chunk-VAIBLWOY.js +0 -2
  640. package/dist/chunk-VAIBLWOY.js.map +0 -1
  641. package/dist/chunk-VC3W5YDI.js +0 -2
  642. package/dist/chunk-VC3W5YDI.js.map +0 -1
  643. package/dist/chunk-VDJJEIOD.js +0 -2
  644. package/dist/chunk-VDJJEIOD.js.map +0 -1
  645. package/dist/chunk-VDRNNOVA.js +0 -2
  646. package/dist/chunk-VDRNNOVA.js.map +0 -1
  647. package/dist/chunk-VEQWK7QQ.js +0 -2
  648. package/dist/chunk-VEQWK7QQ.js.map +0 -1
  649. package/dist/chunk-VPFTBK24.js +0 -2
  650. package/dist/chunk-VPFTBK24.js.map +0 -1
  651. package/dist/chunk-VSK4KV55.js +0 -2
  652. package/dist/chunk-VSK4KV55.js.map +0 -1
  653. package/dist/chunk-VVMBSA4F.js +0 -2
  654. package/dist/chunk-VVMBSA4F.js.map +0 -1
  655. package/dist/chunk-W5WYIDDY.js +0 -2
  656. package/dist/chunk-W5WYIDDY.js.map +0 -1
  657. package/dist/chunk-WBKBVV3X.js +0 -2
  658. package/dist/chunk-WBKBVV3X.js.map +0 -1
  659. package/dist/chunk-WC7TWLA7.js +0 -2
  660. package/dist/chunk-WC7TWLA7.js.map +0 -1
  661. package/dist/chunk-WCJZAOZR.js +0 -2
  662. package/dist/chunk-WCJZAOZR.js.map +0 -1
  663. package/dist/chunk-WMKJCDHA.js +0 -2
  664. package/dist/chunk-WMKJCDHA.js.map +0 -1
  665. package/dist/chunk-WQFBJPV2.js +0 -2
  666. package/dist/chunk-WQFBJPV2.js.map +0 -1
  667. package/dist/chunk-WSRH5UQP.js +0 -2
  668. package/dist/chunk-WSRH5UQP.js.map +0 -1
  669. package/dist/chunk-WYP2CB4I.js +0 -2
  670. package/dist/chunk-WYP2CB4I.js.map +0 -1
  671. package/dist/chunk-X2CSXDCG.js +0 -2
  672. package/dist/chunk-X2CSXDCG.js.map +0 -1
  673. package/dist/chunk-X4IBNXCR.js +0 -2
  674. package/dist/chunk-X4IBNXCR.js.map +0 -1
  675. package/dist/chunk-XLAXG4H6.js +0 -2
  676. package/dist/chunk-XLAXG4H6.js.map +0 -1
  677. package/dist/chunk-XLBZIIHS.js +0 -2
  678. package/dist/chunk-XLBZIIHS.js.map +0 -1
  679. package/dist/chunk-XNV6ZN7J.js +0 -2
  680. package/dist/chunk-XNV6ZN7J.js.map +0 -1
  681. package/dist/chunk-XPCQ5QJV.js +0 -2
  682. package/dist/chunk-XPCQ5QJV.js.map +0 -1
  683. package/dist/chunk-Y25ROTI4.js +0 -2
  684. package/dist/chunk-Y25ROTI4.js.map +0 -1
  685. package/dist/chunk-Y2NCUO3F.js +0 -2
  686. package/dist/chunk-Y2NCUO3F.js.map +0 -1
  687. package/dist/chunk-YBHHWAOI.js +0 -2
  688. package/dist/chunk-YBHHWAOI.js.map +0 -1
  689. package/dist/chunk-YE6NRJ2L.js +0 -2
  690. package/dist/chunk-YE6NRJ2L.js.map +0 -1
  691. package/dist/chunk-YP6UTKJJ.js +0 -2
  692. package/dist/chunk-YP6UTKJJ.js.map +0 -1
  693. package/dist/chunk-YPBPOUGX.js +0 -2
  694. package/dist/chunk-YPBPOUGX.js.map +0 -1
  695. package/dist/chunk-YTK3CQEH.js +0 -2
  696. package/dist/chunk-YTK3CQEH.js.map +0 -1
  697. package/dist/chunk-YUNA3QKT.js +0 -2
  698. package/dist/chunk-YUNA3QKT.js.map +0 -1
  699. package/dist/chunk-YZMAY2I6.js +0 -2
  700. package/dist/chunk-YZMAY2I6.js.map +0 -1
  701. package/dist/chunk-Z23FQVGN.js +0 -1
  702. package/dist/chunk-Z23FQVGN.js.map +0 -1
  703. package/dist/chunk-Z4Q2UO2Y.js +0 -2
  704. package/dist/chunk-Z4Q2UO2Y.js.map +0 -1
  705. package/dist/chunk-ZDHGJ3FH.js +0 -2
  706. package/dist/chunk-ZDHGJ3FH.js.map +0 -1
  707. package/dist/chunk-ZE3YT3Q6.js +0 -2
  708. package/dist/chunk-ZE3YT3Q6.js.map +0 -1
  709. package/dist/chunk-ZI7EPJT7.js +0 -2
  710. package/dist/chunk-ZI7EPJT7.js.map +0 -1
  711. package/dist/chunk-ZNHBMI37.js +0 -2
  712. package/dist/chunk-ZNHBMI37.js.map +0 -1
  713. package/dist/chunk-ZZXFTUY7.js +0 -2
  714. package/dist/chunk-ZZXFTUY7.js.map +0 -1
  715. package/dist/flows/ContractAmendment/ContractAmendmentBack.d.ts +0 -6
  716. package/dist/flows/ContractAmendment/ContractAmendmentBack.js +0 -2
  717. package/dist/flows/ContractAmendment/ContractAmendmentBack.js.map +0 -1
  718. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +0 -30
  719. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js +0 -2
  720. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js.map +0 -1
  721. package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +0 -46
  722. package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +0 -2
  723. package/dist/flows/ContractAmendment/ContractAmendmentFlow.js.map +0 -1
  724. package/dist/flows/ContractAmendment/ContractAmendmentForm.d.ts +0 -33
  725. package/dist/flows/ContractAmendment/ContractAmendmentForm.js +0 -2
  726. package/dist/flows/ContractAmendment/ContractAmendmentForm.js.map +0 -1
  727. package/dist/flows/ContractAmendment/ContractAmendmentSubmit.d.ts +0 -6
  728. package/dist/flows/ContractAmendment/ContractAmendmentSubmit.js +0 -2
  729. package/dist/flows/ContractAmendment/ContractAmendmentSubmit.js.map +0 -1
  730. package/dist/flows/ContractAmendment/context.d.ts +0 -65
  731. package/dist/flows/ContractAmendment/context.js +0 -2
  732. package/dist/flows/ContractAmendment/context.js.map +0 -1
  733. package/dist/flows/ContractAmendment/hooks.d.ts +0 -99
  734. package/dist/flows/ContractAmendment/hooks.js +0 -2
  735. package/dist/flows/ContractAmendment/hooks.js.map +0 -1
  736. package/dist/flows/ContractAmendment/index.js.map +0 -1
  737. package/dist/flows/ContractAmendment/types.d.ts +0 -16
  738. package/dist/flows/ContractAmendment/types.js +0 -1
  739. package/dist/flows/ContractAmendment/types.js.map +0 -1
  740. package/dist/flows/ContractAmendment/utils.d.ts +0 -12
  741. package/dist/flows/ContractAmendment/utils.js +0 -2
  742. package/dist/flows/ContractAmendment/utils.js.map +0 -1
  743. package/dist/flows/ContractDocument/ContractDocumentFlow.d.ts +0 -14
  744. package/dist/flows/ContractDocument/ContractDocumentFlow.js +0 -2
  745. package/dist/flows/ContractDocument/ContractDocumentFlow.js.map +0 -1
  746. package/dist/flows/ContractDocument/context.d.ts +0 -45
  747. package/dist/flows/ContractDocument/context.js +0 -2
  748. package/dist/flows/ContractDocument/context.js.map +0 -1
  749. package/dist/flows/ContractDocument/hooks.d.ts +0 -6
  750. package/dist/flows/ContractDocument/hooks.js +0 -2
  751. package/dist/flows/ContractDocument/hooks.js.map +0 -1
  752. package/dist/flows/ContractDocument/index.js.map +0 -1
  753. package/dist/flows/ContractDocument/types.d.ts +0 -6
  754. package/dist/flows/ContractDocument/types.js +0 -1
  755. package/dist/flows/ContractDocument/types.js.map +0 -1
  756. package/dist/flows/ContractDocument/utils.d.ts +0 -16
  757. package/dist/flows/ContractDocument/utils.js +0 -2
  758. package/dist/flows/ContractDocument/utils.js.map +0 -1
  759. package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +0 -35
  760. package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +0 -2
  761. package/dist/flows/ContractorOnboarding/ContractorOnboarding.js.map +0 -1
  762. package/dist/flows/ContractorOnboarding/api.d.ts +0 -1019
  763. package/dist/flows/ContractorOnboarding/api.js +0 -2
  764. package/dist/flows/ContractorOnboarding/api.js.map +0 -1
  765. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.d.ts +0 -30
  766. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js +0 -2
  767. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js.map +0 -1
  768. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.d.ts +0 -31
  769. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +0 -2
  770. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js.map +0 -1
  771. package/dist/flows/ContractorOnboarding/components/ContractOriginStep.d.ts +0 -27
  772. package/dist/flows/ContractorOnboarding/components/ContractOriginStep.js +0 -2
  773. package/dist/flows/ContractorOnboarding/components/ContractOriginStep.js.map +0 -1
  774. package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.d.ts +0 -9
  775. package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.js +0 -2
  776. package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.js.map +0 -1
  777. package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.d.ts +0 -12
  778. package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.js +0 -2
  779. package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.js.map +0 -1
  780. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +0 -31
  781. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +0 -2
  782. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js.map +0 -1
  783. package/dist/flows/ContractorOnboarding/components/ContractReviewButton.d.ts +0 -11
  784. package/dist/flows/ContractorOnboarding/components/ContractReviewButton.js +0 -2
  785. package/dist/flows/ContractorOnboarding/components/ContractReviewButton.js.map +0 -1
  786. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +0 -41
  787. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +0 -2
  788. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js.map +0 -1
  789. package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.d.ts +0 -23
  790. package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.js +0 -2
  791. package/dist/flows/ContractorOnboarding/components/CreateInvoiceScheduleStep.js.map +0 -1
  792. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.d.ts +0 -31
  793. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +0 -2
  794. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js.map +0 -1
  795. package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.d.ts +0 -31
  796. package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.js +0 -2
  797. package/dist/flows/ContractorOnboarding/components/InvoiceScheduleStep.js.map +0 -1
  798. package/dist/flows/ContractorOnboarding/components/OnboardingBack.d.ts +0 -7
  799. package/dist/flows/ContractorOnboarding/components/OnboardingBack.js +0 -2
  800. package/dist/flows/ContractorOnboarding/components/OnboardingBack.js.map +0 -1
  801. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.d.ts +0 -26
  802. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +0 -2
  803. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js.map +0 -1
  804. package/dist/flows/ContractorOnboarding/components/OnboardingSubmit.d.ts +0 -6
  805. package/dist/flows/ContractorOnboarding/components/OnboardingSubmit.js +0 -2
  806. package/dist/flows/ContractorOnboarding/components/OnboardingSubmit.js.map +0 -1
  807. package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.d.ts +0 -31
  808. package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.js +0 -2
  809. package/dist/flows/ContractorOnboarding/components/PreviewInvoiceButton.js.map +0 -1
  810. package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +0 -31
  811. package/dist/flows/ContractorOnboarding/components/PricingPlan.js +0 -2
  812. package/dist/flows/ContractorOnboarding/components/PricingPlan.js.map +0 -1
  813. package/dist/flows/ContractorOnboarding/components/SaveDraftButton.d.ts +0 -19
  814. package/dist/flows/ContractorOnboarding/components/SaveDraftButton.js +0 -2
  815. package/dist/flows/ContractorOnboarding/components/SaveDraftButton.js.map +0 -1
  816. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.d.ts +0 -30
  817. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +0 -2
  818. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js.map +0 -1
  819. package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.d.ts +0 -24
  820. package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.js +0 -2
  821. package/dist/flows/ContractorOnboarding/components/SkipInvoiceScheduleButton.js.map +0 -1
  822. package/dist/flows/ContractorOnboarding/components/StatementOfWorkDisclaimer.d.ts +0 -7
  823. package/dist/flows/ContractorOnboarding/components/StatementOfWorkDisclaimer.js +0 -2
  824. package/dist/flows/ContractorOnboarding/components/StatementOfWorkDisclaimer.js.map +0 -1
  825. package/dist/flows/ContractorOnboarding/constants.d.ts +0 -56
  826. package/dist/flows/ContractorOnboarding/constants.js +0 -2
  827. package/dist/flows/ContractorOnboarding/constants.js.map +0 -1
  828. package/dist/flows/ContractorOnboarding/context.d.ts +0 -171
  829. package/dist/flows/ContractorOnboarding/context.js +0 -2
  830. package/dist/flows/ContractorOnboarding/context.js.map +0 -1
  831. package/dist/flows/ContractorOnboarding/hooks.d.ts +0 -31
  832. package/dist/flows/ContractorOnboarding/hooks.js +0 -2
  833. package/dist/flows/ContractorOnboarding/hooks.js.map +0 -1
  834. package/dist/flows/ContractorOnboarding/index.js.map +0 -1
  835. package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.d.ts +0 -16
  836. package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.js +0 -2
  837. package/dist/flows/ContractorOnboarding/invoiceScheduleConstants.js.map +0 -1
  838. package/dist/flows/ContractorOnboarding/jsfModify.d.ts +0 -55
  839. package/dist/flows/ContractorOnboarding/jsfModify.js +0 -2
  840. package/dist/flows/ContractorOnboarding/jsfModify.js.map +0 -1
  841. package/dist/flows/ContractorOnboarding/json-schemas/contractOrigin.d.ts +0 -25
  842. package/dist/flows/ContractorOnboarding/json-schemas/contractOrigin.js +0 -2
  843. package/dist/flows/ContractorOnboarding/json-schemas/contractOrigin.js.map +0 -1
  844. package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.d.ts +0 -177
  845. package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.js +0 -2
  846. package/dist/flows/ContractorOnboarding/json-schemas/createInvoiceSchedule.js.map +0 -1
  847. package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.d.ts +0 -31
  848. package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.js +0 -2
  849. package/dist/flows/ContractorOnboarding/json-schemas/invoiceSchedule.js.map +0 -1
  850. package/dist/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.d.ts +0 -26
  851. package/dist/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.js +0 -2
  852. package/dist/flows/ContractorOnboarding/json-schemas/selectContractorSubscriptionStep.js.map +0 -1
  853. package/dist/flows/ContractorOnboarding/json-schemas/signature.d.ts +0 -48
  854. package/dist/flows/ContractorOnboarding/json-schemas/signature.js +0 -2
  855. package/dist/flows/ContractorOnboarding/json-schemas/signature.js.map +0 -1
  856. package/dist/flows/ContractorOnboarding/types.d.ts +0 -31
  857. package/dist/flows/ContractorOnboarding/types.js +0 -1
  858. package/dist/flows/ContractorOnboarding/types.js.map +0 -1
  859. package/dist/flows/ContractorOnboarding/utils.d.ts +0 -111
  860. package/dist/flows/ContractorOnboarding/utils.js +0 -2
  861. package/dist/flows/ContractorOnboarding/utils.js.map +0 -1
  862. package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +0 -70
  863. package/dist/flows/CostCalculator/CostCalculatorFlow.js +0 -2
  864. package/dist/flows/CostCalculator/CostCalculatorFlow.js.map +0 -1
  865. package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +0 -48
  866. package/dist/flows/CostCalculator/CostCalculatorForm.js +0 -2
  867. package/dist/flows/CostCalculator/CostCalculatorForm.js.map +0 -1
  868. package/dist/flows/CostCalculator/CostCalculatorResetButton.d.ts +0 -6
  869. package/dist/flows/CostCalculator/CostCalculatorResetButton.js +0 -2
  870. package/dist/flows/CostCalculator/CostCalculatorResetButton.js.map +0 -1
  871. package/dist/flows/CostCalculator/CostCalculatorSubmitButton.d.ts +0 -6
  872. package/dist/flows/CostCalculator/CostCalculatorSubmitButton.js +0 -2
  873. package/dist/flows/CostCalculator/CostCalculatorSubmitButton.js.map +0 -1
  874. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.d.ts +0 -51
  875. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +0 -2
  876. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js.map +0 -1
  877. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +0 -25
  878. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.js +0 -2
  879. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.js.map +0 -1
  880. package/dist/flows/CostCalculator/api.d.ts +0 -91
  881. package/dist/flows/CostCalculator/api.js +0 -2
  882. package/dist/flows/CostCalculator/api.js.map +0 -1
  883. package/dist/flows/CostCalculator/components/SalaryField.d.ts +0 -23
  884. package/dist/flows/CostCalculator/components/SalaryField.js +0 -2
  885. package/dist/flows/CostCalculator/components/SalaryField.js.map +0 -1
  886. package/dist/flows/CostCalculator/constants.d.ts +0 -16
  887. package/dist/flows/CostCalculator/constants.js +0 -2
  888. package/dist/flows/CostCalculator/constants.js.map +0 -1
  889. package/dist/flows/CostCalculator/context.d.ts +0 -57
  890. package/dist/flows/CostCalculator/context.js +0 -2
  891. package/dist/flows/CostCalculator/context.js.map +0 -1
  892. package/dist/flows/CostCalculator/hooks.d.ts +0 -110
  893. package/dist/flows/CostCalculator/hooks.js +0 -2
  894. package/dist/flows/CostCalculator/hooks.js.map +0 -1
  895. package/dist/flows/CostCalculator/index.js.map +0 -1
  896. package/dist/flows/CostCalculator/jsonSchema.d.ts +0 -134
  897. package/dist/flows/CostCalculator/jsonSchema.js +0 -2
  898. package/dist/flows/CostCalculator/jsonSchema.js.map +0 -1
  899. package/dist/flows/CostCalculator/types.d.ts +0 -109
  900. package/dist/flows/CostCalculator/types.js +0 -1
  901. package/dist/flows/CostCalculator/types.js.map +0 -1
  902. package/dist/flows/CostCalculator/utils.d.ts +0 -26
  903. package/dist/flows/CostCalculator/utils.js +0 -2
  904. package/dist/flows/CostCalculator/utils.js.map +0 -1
  905. package/dist/flows/CreateCompany/CreateCompany.d.ts +0 -16
  906. package/dist/flows/CreateCompany/CreateCompany.js +0 -2
  907. package/dist/flows/CreateCompany/CreateCompany.js.map +0 -1
  908. package/dist/flows/CreateCompany/api.d.ts +0 -73
  909. package/dist/flows/CreateCompany/api.js +0 -2
  910. package/dist/flows/CreateCompany/api.js.map +0 -1
  911. package/dist/flows/CreateCompany/components/AddressDetailsStep.d.ts +0 -12
  912. package/dist/flows/CreateCompany/components/AddressDetailsStep.js +0 -2
  913. package/dist/flows/CreateCompany/components/AddressDetailsStep.js.map +0 -1
  914. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.d.ts +0 -12
  915. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js +0 -2
  916. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js.map +0 -1
  917. package/dist/flows/CreateCompany/components/CreateCompanyForm.d.ts +0 -15
  918. package/dist/flows/CreateCompany/components/CreateCompanyForm.js +0 -2
  919. package/dist/flows/CreateCompany/components/CreateCompanyForm.js.map +0 -1
  920. package/dist/flows/CreateCompany/components/CreateCompanySubmit.d.ts +0 -6
  921. package/dist/flows/CreateCompany/components/CreateCompanySubmit.js +0 -2
  922. package/dist/flows/CreateCompany/components/CreateCompanySubmit.js.map +0 -1
  923. package/dist/flows/CreateCompany/context.d.ts +0 -81
  924. package/dist/flows/CreateCompany/context.js +0 -2
  925. package/dist/flows/CreateCompany/context.js.map +0 -1
  926. package/dist/flows/CreateCompany/hooks.d.ts +0 -12
  927. package/dist/flows/CreateCompany/hooks.js +0 -2
  928. package/dist/flows/CreateCompany/hooks.js.map +0 -1
  929. package/dist/flows/CreateCompany/index.js.map +0 -1
  930. package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.d.ts +0 -76
  931. package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.js +0 -2
  932. package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.js.map +0 -1
  933. package/dist/flows/CreateCompany/types.d.ts +0 -12
  934. package/dist/flows/CreateCompany/types.js +0 -1
  935. package/dist/flows/CreateCompany/types.js.map +0 -1
  936. package/dist/flows/CreateCompany/utils.d.ts +0 -8
  937. package/dist/flows/CreateCompany/utils.js +0 -2
  938. package/dist/flows/CreateCompany/utils.js.map +0 -1
  939. package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.d.ts +0 -36
  940. package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.js +0 -2
  941. package/dist/flows/InvoiceSchedule/InvoiceScheduleFlow.js.map +0 -1
  942. package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.d.ts +0 -31
  943. package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.js +0 -2
  944. package/dist/flows/InvoiceSchedule/InvoiceScheduleForm.js.map +0 -1
  945. package/dist/flows/InvoiceSchedule/InvoiceSchedulePreviewButton.d.ts +0 -33
  946. package/dist/flows/InvoiceSchedule/InvoiceSchedulePreviewButton.js +0 -2
  947. package/dist/flows/InvoiceSchedule/InvoiceSchedulePreviewButton.js.map +0 -1
  948. package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.d.ts +0 -6
  949. package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.js +0 -2
  950. package/dist/flows/InvoiceSchedule/InvoiceScheduleSubmitButton.js.map +0 -1
  951. package/dist/flows/InvoiceSchedule/context.d.ts +0 -51
  952. package/dist/flows/InvoiceSchedule/context.js +0 -2
  953. package/dist/flows/InvoiceSchedule/context.js.map +0 -1
  954. package/dist/flows/InvoiceSchedule/hooks.d.ts +0 -100
  955. package/dist/flows/InvoiceSchedule/hooks.js +0 -2
  956. package/dist/flows/InvoiceSchedule/hooks.js.map +0 -1
  957. package/dist/flows/InvoiceSchedule/index.js.map +0 -1
  958. package/dist/flows/InvoiceSchedule/types.d.ts +0 -51
  959. package/dist/flows/InvoiceSchedule/types.js +0 -1
  960. package/dist/flows/InvoiceSchedule/types.js.map +0 -1
  961. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.d.ts +0 -18
  962. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.js +0 -2
  963. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.js.map +0 -1
  964. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.d.ts +0 -15
  965. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.js +0 -2
  966. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.js.map +0 -1
  967. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundResetButton.d.ts +0 -6
  968. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundResetButton.js +0 -2
  969. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundResetButton.js.map +0 -1
  970. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundSubmitButton.d.ts +0 -6
  971. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundSubmitButton.js +0 -2
  972. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundSubmitButton.js.map +0 -1
  973. package/dist/flows/JsonSchemaPlayground/context.d.ts +0 -20
  974. package/dist/flows/JsonSchemaPlayground/context.js +0 -2
  975. package/dist/flows/JsonSchemaPlayground/context.js.map +0 -1
  976. package/dist/flows/JsonSchemaPlayground/hooks.d.ts +0 -11
  977. package/dist/flows/JsonSchemaPlayground/hooks.js +0 -2
  978. package/dist/flows/JsonSchemaPlayground/hooks.js.map +0 -1
  979. package/dist/flows/JsonSchemaPlayground/index.js.map +0 -1
  980. package/dist/flows/JsonSchemaPlayground/types.d.ts +0 -11
  981. package/dist/flows/JsonSchemaPlayground/types.js +0 -1
  982. package/dist/flows/JsonSchemaPlayground/types.js.map +0 -1
  983. package/dist/flows/Onboarding/OnboardingFlow.d.ts +0 -21
  984. package/dist/flows/Onboarding/OnboardingFlow.js +0 -2
  985. package/dist/flows/Onboarding/OnboardingFlow.js.map +0 -1
  986. package/dist/flows/Onboarding/api.d.ts +0 -17
  987. package/dist/flows/Onboarding/api.js +0 -2
  988. package/dist/flows/Onboarding/api.js.map +0 -1
  989. package/dist/flows/Onboarding/components/AnnualGrossSalary.d.ts +0 -18
  990. package/dist/flows/Onboarding/components/AnnualGrossSalary.js +0 -2
  991. package/dist/flows/Onboarding/components/AnnualGrossSalary.js.map +0 -1
  992. package/dist/flows/Onboarding/components/BasicInformationStep.d.ts +0 -17
  993. package/dist/flows/Onboarding/components/BasicInformationStep.js +0 -2
  994. package/dist/flows/Onboarding/components/BasicInformationStep.js.map +0 -1
  995. package/dist/flows/Onboarding/components/BenefitsStep.d.ts +0 -17
  996. package/dist/flows/Onboarding/components/BenefitsStep.js +0 -2
  997. package/dist/flows/Onboarding/components/BenefitsStep.js.map +0 -1
  998. package/dist/flows/Onboarding/components/ContractDetailsStep.d.ts +0 -17
  999. package/dist/flows/Onboarding/components/ContractDetailsStep.js +0 -2
  1000. package/dist/flows/Onboarding/components/ContractDetailsStep.js.map +0 -1
  1001. package/dist/flows/Onboarding/components/DailySchedule/DailySchedule.d.ts +0 -11
  1002. package/dist/flows/Onboarding/components/DailySchedule/DailySchedule.js +0 -2
  1003. package/dist/flows/Onboarding/components/DailySchedule/DailySchedule.js.map +0 -1
  1004. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleContainer.d.ts +0 -16
  1005. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleContainer.js +0 -2
  1006. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleContainer.js.map +0 -1
  1007. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleEditForm.d.ts +0 -15
  1008. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleEditForm.js +0 -2
  1009. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleEditForm.js.map +0 -1
  1010. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleHoursErrorBanner.d.ts +0 -12
  1011. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleHoursErrorBanner.js +0 -2
  1012. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleHoursErrorBanner.js.map +0 -1
  1013. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleSummaryBody.d.ts +0 -13
  1014. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleSummaryBody.js +0 -2
  1015. package/dist/flows/Onboarding/components/DailySchedule/DailyScheduleSummaryBody.js.map +0 -1
  1016. package/dist/flows/Onboarding/components/DailySchedule/EditEmployeeWorkingHoursDialog.d.ts +0 -21
  1017. package/dist/flows/Onboarding/components/DailySchedule/EditEmployeeWorkingHoursDialog.js +0 -2
  1018. package/dist/flows/Onboarding/components/DailySchedule/EditEmployeeWorkingHoursDialog.js.map +0 -1
  1019. package/dist/flows/Onboarding/components/DailySchedule/constants.d.ts +0 -10
  1020. package/dist/flows/Onboarding/components/DailySchedule/constants.js +0 -2
  1021. package/dist/flows/Onboarding/components/DailySchedule/constants.js.map +0 -1
  1022. package/dist/flows/Onboarding/components/DailySchedule/types.d.ts +0 -164
  1023. package/dist/flows/Onboarding/components/DailySchedule/types.js +0 -1
  1024. package/dist/flows/Onboarding/components/DailySchedule/types.js.map +0 -1
  1025. package/dist/flows/Onboarding/components/DailySchedule/useDailyScheduleEditForm.d.ts +0 -54
  1026. package/dist/flows/Onboarding/components/DailySchedule/useDailyScheduleEditForm.js +0 -2
  1027. package/dist/flows/Onboarding/components/DailySchedule/useDailyScheduleEditForm.js.map +0 -1
  1028. package/dist/flows/Onboarding/components/DailySchedule/utils.d.ts +0 -69
  1029. package/dist/flows/Onboarding/components/DailySchedule/utils.js +0 -2
  1030. package/dist/flows/Onboarding/components/DailySchedule/utils.js.map +0 -1
  1031. package/dist/flows/Onboarding/components/EmploymentAgreementInfoContent.d.ts +0 -5
  1032. package/dist/flows/Onboarding/components/EmploymentAgreementInfoContent.js +0 -2
  1033. package/dist/flows/Onboarding/components/EmploymentAgreementInfoContent.js.map +0 -1
  1034. package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.d.ts +0 -17
  1035. package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.js +0 -2
  1036. package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.js.map +0 -1
  1037. package/dist/flows/Onboarding/components/EquityPriceDetails.d.ts +0 -17
  1038. package/dist/flows/Onboarding/components/EquityPriceDetails.js +0 -2
  1039. package/dist/flows/Onboarding/components/EquityPriceDetails.js.map +0 -1
  1040. package/dist/flows/Onboarding/components/OnboardingBack.d.ts +0 -7
  1041. package/dist/flows/Onboarding/components/OnboardingBack.js +0 -2
  1042. package/dist/flows/Onboarding/components/OnboardingBack.js.map +0 -1
  1043. package/dist/flows/Onboarding/components/OnboardingForm.d.ts +0 -27
  1044. package/dist/flows/Onboarding/components/OnboardingForm.js +0 -2
  1045. package/dist/flows/Onboarding/components/OnboardingForm.js.map +0 -1
  1046. package/dist/flows/Onboarding/components/OnboardingInvite.d.ts +0 -26
  1047. package/dist/flows/Onboarding/components/OnboardingInvite.js +0 -2
  1048. package/dist/flows/Onboarding/components/OnboardingInvite.js.map +0 -1
  1049. package/dist/flows/Onboarding/components/OnboardingSubmit.d.ts +0 -6
  1050. package/dist/flows/Onboarding/components/OnboardingSubmit.js +0 -2
  1051. package/dist/flows/Onboarding/components/OnboardingSubmit.js.map +0 -1
  1052. package/dist/flows/Onboarding/components/PreOnboardingRequirements.d.ts +0 -17
  1053. package/dist/flows/Onboarding/components/PreOnboardingRequirements.js +0 -2
  1054. package/dist/flows/Onboarding/components/PreOnboardingRequirements.js.map +0 -1
  1055. package/dist/flows/Onboarding/components/PreviewEmploymentAgreementStep.d.ts +0 -5
  1056. package/dist/flows/Onboarding/components/PreviewEmploymentAgreementStep.js +0 -2
  1057. package/dist/flows/Onboarding/components/PreviewEmploymentAgreementStep.js.map +0 -1
  1058. package/dist/flows/Onboarding/components/ReviewStep.d.ts +0 -17
  1059. package/dist/flows/Onboarding/components/ReviewStep.js +0 -2
  1060. package/dist/flows/Onboarding/components/ReviewStep.js.map +0 -1
  1061. package/dist/flows/Onboarding/components/SaveDraftButton.d.ts +0 -19
  1062. package/dist/flows/Onboarding/components/SaveDraftButton.js +0 -2
  1063. package/dist/flows/Onboarding/components/SaveDraftButton.js.map +0 -1
  1064. package/dist/flows/Onboarding/components/SelectCountryStep.d.ts +0 -17
  1065. package/dist/flows/Onboarding/components/SelectCountryStep.js +0 -2
  1066. package/dist/flows/Onboarding/components/SelectCountryStep.js.map +0 -1
  1067. package/dist/flows/Onboarding/context.d.ts +0 -156
  1068. package/dist/flows/Onboarding/context.js +0 -2
  1069. package/dist/flows/Onboarding/context.js.map +0 -1
  1070. package/dist/flows/Onboarding/hooks.d.ts +0 -17
  1071. package/dist/flows/Onboarding/hooks.js +0 -2
  1072. package/dist/flows/Onboarding/hooks.js.map +0 -1
  1073. package/dist/flows/Onboarding/index.js.map +0 -1
  1074. package/dist/flows/Onboarding/types.d.ts +0 -17
  1075. package/dist/flows/Onboarding/types.js +0 -1
  1076. package/dist/flows/Onboarding/types.js.map +0 -1
  1077. package/dist/flows/Onboarding/utils.d.ts +0 -17
  1078. package/dist/flows/Onboarding/utils.js +0 -2
  1079. package/dist/flows/Onboarding/utils.js.map +0 -1
  1080. package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.d.ts +0 -17
  1081. package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.js +0 -2
  1082. package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.js.map +0 -1
  1083. package/dist/flows/PayrollAdminOnboarding/api.d.ts +0 -82
  1084. package/dist/flows/PayrollAdminOnboarding/api.js +0 -2
  1085. package/dist/flows/PayrollAdminOnboarding/api.js.map +0 -1
  1086. package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.d.ts +0 -12
  1087. package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.js +0 -2
  1088. package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.js.map +0 -1
  1089. package/dist/flows/PayrollAdminOnboarding/components/BackButton.d.ts +0 -6
  1090. package/dist/flows/PayrollAdminOnboarding/components/BackButton.js +0 -2
  1091. package/dist/flows/PayrollAdminOnboarding/components/BackButton.js.map +0 -1
  1092. package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.d.ts +0 -12
  1093. package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.js +0 -2
  1094. package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.js.map +0 -1
  1095. package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.d.ts +0 -16
  1096. package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.js +0 -2
  1097. package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.js.map +0 -1
  1098. package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.d.ts +0 -13
  1099. package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.js +0 -2
  1100. package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.js.map +0 -1
  1101. package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.d.ts +0 -12
  1102. package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.js +0 -2
  1103. package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.js.map +0 -1
  1104. package/dist/flows/PayrollAdminOnboarding/components/SubmitButton.d.ts +0 -6
  1105. package/dist/flows/PayrollAdminOnboarding/components/SubmitButton.js +0 -2
  1106. package/dist/flows/PayrollAdminOnboarding/components/SubmitButton.js.map +0 -1
  1107. package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.d.ts +0 -12
  1108. package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.js +0 -2
  1109. package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.js.map +0 -1
  1110. package/dist/flows/PayrollAdminOnboarding/context.d.ts +0 -24
  1111. package/dist/flows/PayrollAdminOnboarding/context.js +0 -2
  1112. package/dist/flows/PayrollAdminOnboarding/context.js.map +0 -1
  1113. package/dist/flows/PayrollAdminOnboarding/hooks.d.ts +0 -13
  1114. package/dist/flows/PayrollAdminOnboarding/hooks.js +0 -2
  1115. package/dist/flows/PayrollAdminOnboarding/hooks.js.map +0 -1
  1116. package/dist/flows/PayrollAdminOnboarding/index.js.map +0 -1
  1117. package/dist/flows/PayrollAdminOnboarding/json-schemas/selectCountryStep.d.ts +0 -25
  1118. package/dist/flows/PayrollAdminOnboarding/json-schemas/selectCountryStep.js +0 -2
  1119. package/dist/flows/PayrollAdminOnboarding/json-schemas/selectCountryStep.js.map +0 -1
  1120. package/dist/flows/PayrollAdminOnboarding/types.d.ts +0 -13
  1121. package/dist/flows/PayrollAdminOnboarding/types.js +0 -1
  1122. package/dist/flows/PayrollAdminOnboarding/types.js.map +0 -1
  1123. package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.d.ts +0 -17
  1124. package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.js +0 -2
  1125. package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.js.map +0 -1
  1126. package/dist/flows/PayrollEmployeeOnboarding/api.d.ts +0 -69
  1127. package/dist/flows/PayrollEmployeeOnboarding/api.js +0 -2
  1128. package/dist/flows/PayrollEmployeeOnboarding/api.js.map +0 -1
  1129. package/dist/flows/PayrollEmployeeOnboarding/components/BackButton.d.ts +0 -6
  1130. package/dist/flows/PayrollEmployeeOnboarding/components/BackButton.js +0 -2
  1131. package/dist/flows/PayrollEmployeeOnboarding/components/BackButton.js.map +0 -1
  1132. package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.d.ts +0 -17
  1133. package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.js +0 -2
  1134. package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.js.map +0 -1
  1135. package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.d.ts +0 -18
  1136. package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.js +0 -2
  1137. package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.js.map +0 -1
  1138. package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.d.ts +0 -12
  1139. package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.js +0 -2
  1140. package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.js.map +0 -1
  1141. package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.d.ts +0 -13
  1142. package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.js +0 -2
  1143. package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.js.map +0 -1
  1144. package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.d.ts +0 -12
  1145. package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.js +0 -2
  1146. package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.js.map +0 -1
  1147. package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.d.ts +0 -18
  1148. package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.js +0 -2
  1149. package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.js.map +0 -1
  1150. package/dist/flows/PayrollEmployeeOnboarding/components/SubmitButton.d.ts +0 -6
  1151. package/dist/flows/PayrollEmployeeOnboarding/components/SubmitButton.js +0 -2
  1152. package/dist/flows/PayrollEmployeeOnboarding/components/SubmitButton.js.map +0 -1
  1153. package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.d.ts +0 -12
  1154. package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.js +0 -2
  1155. package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.js.map +0 -1
  1156. package/dist/flows/PayrollEmployeeOnboarding/context.d.ts +0 -24
  1157. package/dist/flows/PayrollEmployeeOnboarding/context.js +0 -2
  1158. package/dist/flows/PayrollEmployeeOnboarding/context.js.map +0 -1
  1159. package/dist/flows/PayrollEmployeeOnboarding/hooks.d.ts +0 -13
  1160. package/dist/flows/PayrollEmployeeOnboarding/hooks.js +0 -2
  1161. package/dist/flows/PayrollEmployeeOnboarding/hooks.js.map +0 -1
  1162. package/dist/flows/PayrollEmployeeOnboarding/index.js.map +0 -1
  1163. package/dist/flows/PayrollEmployeeOnboarding/taxErrors.d.ts +0 -12
  1164. package/dist/flows/PayrollEmployeeOnboarding/taxErrors.js +0 -2
  1165. package/dist/flows/PayrollEmployeeOnboarding/taxErrors.js.map +0 -1
  1166. package/dist/flows/PayrollEmployeeOnboarding/types.d.ts +0 -13
  1167. package/dist/flows/PayrollEmployeeOnboarding/types.js +0 -1
  1168. package/dist/flows/PayrollEmployeeOnboarding/types.js.map +0 -1
  1169. package/dist/flows/Termination/AdditionalDetailsForm.d.ts +0 -14
  1170. package/dist/flows/Termination/AdditionalDetailsForm.js +0 -2
  1171. package/dist/flows/Termination/AdditionalDetailsForm.js.map +0 -1
  1172. package/dist/flows/Termination/EmployeeComunicationForm.d.ts +0 -14
  1173. package/dist/flows/Termination/EmployeeComunicationForm.js +0 -2
  1174. package/dist/flows/Termination/EmployeeComunicationForm.js.map +0 -1
  1175. package/dist/flows/Termination/PaidTimeOffForm.d.ts +0 -14
  1176. package/dist/flows/Termination/PaidTimeOffForm.js +0 -2
  1177. package/dist/flows/Termination/PaidTimeOffForm.js.map +0 -1
  1178. package/dist/flows/Termination/TerminationBack.d.ts +0 -6
  1179. package/dist/flows/Termination/TerminationBack.js +0 -2
  1180. package/dist/flows/Termination/TerminationBack.js.map +0 -1
  1181. package/dist/flows/Termination/TerminationDetailsForm.d.ts +0 -14
  1182. package/dist/flows/Termination/TerminationDetailsForm.js +0 -2
  1183. package/dist/flows/Termination/TerminationDetailsForm.js.map +0 -1
  1184. package/dist/flows/Termination/TerminationFlow.d.ts +0 -18
  1185. package/dist/flows/Termination/TerminationFlow.js +0 -2
  1186. package/dist/flows/Termination/TerminationFlow.js.map +0 -1
  1187. package/dist/flows/Termination/TerminationForm.d.ts +0 -23
  1188. package/dist/flows/Termination/TerminationForm.js +0 -2
  1189. package/dist/flows/Termination/TerminationForm.js.map +0 -1
  1190. package/dist/flows/Termination/TerminationSubmit.d.ts +0 -6
  1191. package/dist/flows/Termination/TerminationSubmit.js +0 -2
  1192. package/dist/flows/Termination/TerminationSubmit.js.map +0 -1
  1193. package/dist/flows/Termination/api.d.ts +0 -106
  1194. package/dist/flows/Termination/api.js +0 -2
  1195. package/dist/flows/Termination/api.js.map +0 -1
  1196. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInfomationContainer.d.ts +0 -10
  1197. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInfomationContainer.js +0 -2
  1198. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInfomationContainer.js.map +0 -1
  1199. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformation.d.ts +0 -11
  1200. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformation.js +0 -2
  1201. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformation.js.map +0 -1
  1202. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.d.ts +0 -18
  1203. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.js +0 -2
  1204. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.js.map +0 -1
  1205. package/dist/flows/Termination/components/AcknowledgeInformation/constants.d.ts +0 -12
  1206. package/dist/flows/Termination/components/AcknowledgeInformation/constants.js +0 -2
  1207. package/dist/flows/Termination/components/AcknowledgeInformation/constants.js.map +0 -1
  1208. package/dist/flows/Termination/components/AcknowledgeInformation/types.d.ts +0 -11
  1209. package/dist/flows/Termination/components/AcknowledgeInformation/types.js +0 -1
  1210. package/dist/flows/Termination/components/AcknowledgeInformation/types.js.map +0 -1
  1211. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +0 -36
  1212. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.js +0 -2
  1213. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.js.map +0 -1
  1214. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +0 -36
  1215. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +0 -2
  1216. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js.map +0 -1
  1217. package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +0 -24
  1218. package/dist/flows/Termination/components/PaidTimeOff/types.js +0 -1
  1219. package/dist/flows/Termination/components/PaidTimeOff/types.js.map +0 -1
  1220. package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.d.ts +0 -5
  1221. package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +0 -2
  1222. package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js.map +0 -1
  1223. package/dist/flows/Termination/components/TerminationReasonsDetailContent/TerminationReasonsDetailContent.d.ts +0 -5
  1224. package/dist/flows/Termination/components/TerminationReasonsDetailContent/TerminationReasonsDetailContent.js +0 -2
  1225. package/dist/flows/Termination/components/TerminationReasonsDetailContent/TerminationReasonsDetailContent.js.map +0 -1
  1226. package/dist/flows/Termination/context.d.ts +0 -82
  1227. package/dist/flows/Termination/context.js +0 -2
  1228. package/dist/flows/Termination/context.js.map +0 -1
  1229. package/dist/flows/Termination/hooks.d.ts +0 -14
  1230. package/dist/flows/Termination/hooks.js +0 -2
  1231. package/dist/flows/Termination/hooks.js.map +0 -1
  1232. package/dist/flows/Termination/index.js.map +0 -1
  1233. package/dist/flows/Termination/json-schemas/additionalInformation.d.ts +0 -45
  1234. package/dist/flows/Termination/json-schemas/additionalInformation.js +0 -2
  1235. package/dist/flows/Termination/json-schemas/additionalInformation.js.map +0 -1
  1236. package/dist/flows/Termination/json-schemas/defaultSchema.d.ts +0 -18
  1237. package/dist/flows/Termination/json-schemas/defaultSchema.js +0 -2
  1238. package/dist/flows/Termination/json-schemas/defaultSchema.js.map +0 -1
  1239. package/dist/flows/Termination/json-schemas/employeeComunication.d.ts +0 -137
  1240. package/dist/flows/Termination/json-schemas/employeeComunication.js +0 -2
  1241. package/dist/flows/Termination/json-schemas/employeeComunication.js.map +0 -1
  1242. package/dist/flows/Termination/json-schemas/jsonSchema.d.ts +0 -372
  1243. package/dist/flows/Termination/json-schemas/jsonSchema.js +0 -2
  1244. package/dist/flows/Termination/json-schemas/jsonSchema.js.map +0 -1
  1245. package/dist/flows/Termination/json-schemas/paidTimeOff.d.ts +0 -101
  1246. package/dist/flows/Termination/json-schemas/paidTimeOff.js +0 -2
  1247. package/dist/flows/Termination/json-schemas/paidTimeOff.js.map +0 -1
  1248. package/dist/flows/Termination/json-schemas/schema.d.ts +0 -18
  1249. package/dist/flows/Termination/json-schemas/schema.js +0 -2
  1250. package/dist/flows/Termination/json-schemas/schema.js.map +0 -1
  1251. package/dist/flows/Termination/json-schemas/terminationDetails.d.ts +0 -146
  1252. package/dist/flows/Termination/json-schemas/terminationDetails.js +0 -2
  1253. package/dist/flows/Termination/json-schemas/terminationDetails.js.map +0 -1
  1254. package/dist/flows/Termination/types.d.ts +0 -14
  1255. package/dist/flows/Termination/types.js +0 -1
  1256. package/dist/flows/Termination/types.js.map +0 -1
  1257. package/dist/flows/Termination/utils.d.ts +0 -14
  1258. package/dist/flows/Termination/utils.js +0 -2
  1259. package/dist/flows/Termination/utils.js.map +0 -1
  1260. package/dist/flows/types.d.ts +0 -109
  1261. package/dist/flows/types.js +0 -1
  1262. package/dist/flows/types.js.map +0 -1
  1263. package/dist/flows/useStepState.d.ts +0 -63
  1264. package/dist/flows/useStepState.js +0 -2
  1265. package/dist/flows/useStepState.js.map +0 -1
  1266. package/dist/flows/utils.d.ts +0 -28
  1267. package/dist/flows/utils.js +0 -2
  1268. package/dist/flows/utils.js.map +0 -1
  1269. package/dist/index.css.map +0 -1
  1270. package/dist/internals.js.map +0 -1
  1271. package/dist/mutations-CP-6Q1qD.d.ts +0 -24
  1272. package/dist/remoteFlows-XC0Ss0fy.d.ts +0 -554
  1273. package/dist/styles.css.map +0 -1
  1274. package/dist/styles.js.map +0 -1
  1275. package/dist/types-6A_DAOTw.d.ts +0 -91
  1276. package/dist/types-BiZEYxvl.d.ts +0 -224
  1277. package/dist/types-BnNeE0Fd.d.ts +0 -946
  1278. package/dist/types-CASxD27i.d.ts +0 -120
  1279. package/dist/types-Cgl9btOl.d.ts +0 -247
  1280. package/dist/types-DUb6Xtze.d.ts +0 -128
  1281. package/dist/types-DoJBHy3H.d.ts +0 -498
  1282. package/dist/types-UQad9Aui.d.ts +0 -95
  1283. package/dist/types-iOFkkiK3.d.ts +0 -93
  1284. package/dist/types.gen-ClcXnZQX.d.ts +0 -3676
  1285. package/dist/utils-B8OKS73W.d.ts +0 -24
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdk.gen-C7MLoCMc.js","names":[],"sources":["../src/context.ts","../src/client/core/bodySerializer.gen.ts","../src/client/core/serverSentEvents.gen.ts","../src/client/core/pathSerializer.gen.ts","../src/client/core/utils.gen.ts","../src/client/core/auth.gen.ts","../src/client/client/utils.gen.ts","../src/client/client/client.gen.ts","../src/client/client.gen.ts","../src/client/sdk.gen.ts"],"sourcesContent":["import { Client } from '@/src/client/client';\nimport { createContext, useContext } from 'react';\nimport { Components } from './types/remoteFlows';\n\nexport const FormFieldsContext = createContext<{\n components: Components;\n transformHtmlToComponents?: (htmlContent: string) => React.ReactNode;\n} | null>(null);\n\nexport const useFormFields = () => {\n const context = useContext(FormFieldsContext);\n if (!context?.components) {\n throw new Error('useFormFields must be used within a FormFieldsProvider');\n }\n\n return {\n components: context.components,\n };\n};\n\n// Internal hook for accessing transformer (used during field processing and in FormDescription/FieldSetField)\nexport const useTransformer = () => {\n const context = useContext(FormFieldsContext);\n return context?.transformHtmlToComponents;\n};\n\nexport const RemoteFlowContext = createContext<{ client: Client | null }>({\n client: null,\n});\n\nexport const useClient = () => useContext(RemoteFlowContext);\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport type {\n ArrayStyle,\n ObjectStyle,\n SerializerOptions,\n} from './pathSerializer.gen';\n\nexport type QuerySerializer = (query: Record<string, unknown>) => string;\n\nexport type BodySerializer = (body: unknown) => unknown;\n\ntype QuerySerializerOptionsObject = {\n allowReserved?: boolean;\n array?: Partial<SerializerOptions<ArrayStyle>>;\n object?: Partial<SerializerOptions<ObjectStyle>>;\n};\n\nexport type QuerySerializerOptions = QuerySerializerOptionsObject & {\n /**\n * Per-parameter serialization overrides. When provided, these settings\n * override the global array/object settings for specific parameter names.\n */\n parameters?: Record<string, QuerySerializerOptionsObject>;\n};\n\nconst serializeFormDataPair = (\n data: FormData,\n key: string,\n value: unknown,\n): void => {\n if (typeof value === 'string' || value instanceof Blob) {\n data.append(key, value);\n } else if (value instanceof Date) {\n data.append(key, value.toISOString());\n } else {\n data.append(key, JSON.stringify(value));\n }\n};\n\nconst serializeUrlSearchParamsPair = (\n data: URLSearchParams,\n key: string,\n value: unknown,\n): void => {\n if (typeof value === 'string') {\n data.append(key, value);\n } else {\n data.append(key, JSON.stringify(value));\n }\n};\n\nexport const formDataBodySerializer = {\n bodySerializer: (body: unknown): FormData => {\n const data = new FormData();\n\n Object.entries(body as Record<string, unknown>).forEach(([key, value]) => {\n if (value === undefined || value === null) {\n return;\n }\n if (Array.isArray(value)) {\n value.forEach((v) => serializeFormDataPair(data, key, v));\n } else {\n serializeFormDataPair(data, key, value);\n }\n });\n\n return data;\n },\n};\n\nexport const jsonBodySerializer = {\n bodySerializer: (body: unknown): string =>\n JSON.stringify(body, (_key, value) =>\n typeof value === 'bigint' ? value.toString() : value,\n ),\n};\n\nexport const urlSearchParamsBodySerializer = {\n bodySerializer: (body: unknown): string => {\n const data = new URLSearchParams();\n\n Object.entries(body as Record<string, unknown>).forEach(([key, value]) => {\n if (value === undefined || value === null) {\n return;\n }\n if (Array.isArray(value)) {\n value.forEach((v) => serializeUrlSearchParamsPair(data, key, v));\n } else {\n serializeUrlSearchParamsPair(data, key, value);\n }\n });\n\n return data.toString();\n },\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { Config } from './types.gen';\n\nexport type ServerSentEventsOptions<TData = unknown> = Omit<\n RequestInit,\n 'method'\n> &\n Pick<Config, 'method' | 'responseTransformer' | 'responseValidator'> & {\n /**\n * Fetch API implementation. You can use this option to provide a custom\n * fetch instance.\n *\n * @default globalThis.fetch\n */\n fetch?: typeof fetch;\n /**\n * Implementing clients can call request interceptors inside this hook.\n */\n onRequest?: (url: string, init: RequestInit) => Promise<Request>;\n /**\n * Callback invoked when a network or parsing error occurs during streaming.\n *\n * This option applies only if the endpoint returns a stream of events.\n *\n * @param error The error that occurred.\n */\n onSseError?: (error: unknown) => void;\n /**\n * Callback invoked when an event is streamed from the server.\n *\n * This option applies only if the endpoint returns a stream of events.\n *\n * @param event Event streamed from the server.\n * @returns Nothing (void).\n */\n onSseEvent?: (event: StreamEvent<TData>) => void;\n serializedBody?: RequestInit['body'];\n /**\n * Default retry delay in milliseconds.\n *\n * This option applies only if the endpoint returns a stream of events.\n *\n * @default 3000\n */\n sseDefaultRetryDelay?: number;\n /**\n * Maximum number of retry attempts before giving up.\n */\n sseMaxRetryAttempts?: number;\n /**\n * Maximum retry delay in milliseconds.\n *\n * Applies only when exponential backoff is used.\n *\n * This option applies only if the endpoint returns a stream of events.\n *\n * @default 30000\n */\n sseMaxRetryDelay?: number;\n /**\n * Optional sleep function for retry backoff.\n *\n * Defaults to using `setTimeout`.\n */\n sseSleepFn?: (ms: number) => Promise<void>;\n url: string;\n };\n\nexport interface StreamEvent<TData = unknown> {\n data: TData;\n event?: string;\n id?: string;\n retry?: number;\n}\n\nexport type ServerSentEventsResult<\n TData = unknown,\n TReturn = void,\n TNext = unknown,\n> = {\n stream: AsyncGenerator<\n TData extends Record<string, unknown> ? TData[keyof TData] : TData,\n TReturn,\n TNext\n >;\n};\n\nexport const createSseClient = <TData = unknown>({\n onRequest,\n onSseError,\n onSseEvent,\n responseTransformer,\n responseValidator,\n sseDefaultRetryDelay,\n sseMaxRetryAttempts,\n sseMaxRetryDelay,\n sseSleepFn,\n url,\n ...options\n}: ServerSentEventsOptions): ServerSentEventsResult<TData> => {\n let lastEventId: string | undefined;\n\n const sleep =\n sseSleepFn ??\n ((ms: number) => new Promise((resolve) => setTimeout(resolve, ms)));\n\n const createStream = async function* () {\n let retryDelay: number = sseDefaultRetryDelay ?? 3000;\n let attempt = 0;\n const signal = options.signal ?? new AbortController().signal;\n\n while (true) {\n if (signal.aborted) break;\n\n attempt++;\n\n const headers =\n options.headers instanceof Headers\n ? options.headers\n : new Headers(options.headers as Record<string, string> | undefined);\n\n if (lastEventId !== undefined) {\n headers.set('Last-Event-ID', lastEventId);\n }\n\n try {\n const requestInit: RequestInit = {\n redirect: 'follow',\n ...options,\n body: options.serializedBody,\n headers,\n signal,\n };\n let request = new Request(url, requestInit);\n if (onRequest) {\n request = await onRequest(url, requestInit);\n }\n // fetch must be assigned here, otherwise it would throw the error:\n // TypeError: Failed to execute 'fetch' on 'Window': Illegal invocation\n const _fetch = options.fetch ?? globalThis.fetch;\n const response = await _fetch(request);\n\n if (!response.ok)\n throw new Error(\n `SSE failed: ${response.status} ${response.statusText}`,\n );\n\n if (!response.body) throw new Error('No body in SSE response');\n\n const reader = response.body\n .pipeThrough(new TextDecoderStream())\n .getReader();\n\n let buffer = '';\n\n const abortHandler = () => {\n try {\n reader.cancel();\n } catch {\n // noop\n }\n };\n\n signal.addEventListener('abort', abortHandler);\n\n try {\n while (true) {\n const { done, value } = await reader.read();\n if (done) break;\n buffer += value;\n // Normalize line endings: CRLF -> LF, then CR -> LF\n buffer = buffer.replace(/\\r\\n/g, '\\n').replace(/\\r/g, '\\n');\n\n const chunks = buffer.split('\\n\\n');\n buffer = chunks.pop() ?? '';\n\n for (const chunk of chunks) {\n const lines = chunk.split('\\n');\n const dataLines: Array<string> = [];\n let eventName: string | undefined;\n\n for (const line of lines) {\n if (line.startsWith('data:')) {\n dataLines.push(line.replace(/^data:\\s*/, ''));\n } else if (line.startsWith('event:')) {\n eventName = line.replace(/^event:\\s*/, '');\n } else if (line.startsWith('id:')) {\n lastEventId = line.replace(/^id:\\s*/, '');\n } else if (line.startsWith('retry:')) {\n const parsed = Number.parseInt(\n line.replace(/^retry:\\s*/, ''),\n 10,\n );\n if (!Number.isNaN(parsed)) {\n retryDelay = parsed;\n }\n }\n }\n\n let data: unknown;\n let parsedJson = false;\n\n if (dataLines.length) {\n const rawData = dataLines.join('\\n');\n try {\n data = JSON.parse(rawData);\n parsedJson = true;\n } catch {\n data = rawData;\n }\n }\n\n if (parsedJson) {\n if (responseValidator) {\n await responseValidator(data);\n }\n\n if (responseTransformer) {\n data = await responseTransformer(data);\n }\n }\n\n onSseEvent?.({\n data,\n event: eventName,\n id: lastEventId,\n retry: retryDelay,\n });\n\n if (dataLines.length) {\n yield data as any;\n }\n }\n }\n } finally {\n signal.removeEventListener('abort', abortHandler);\n reader.releaseLock();\n }\n\n break; // exit loop on normal completion\n } catch (error) {\n // connection failed or aborted; retry after delay\n onSseError?.(error);\n\n if (\n sseMaxRetryAttempts !== undefined &&\n attempt >= sseMaxRetryAttempts\n ) {\n break; // stop after firing error\n }\n\n // exponential backoff: double retry each attempt, cap at 30s\n const backoff = Math.min(\n retryDelay * 2 ** (attempt - 1),\n sseMaxRetryDelay ?? 30000,\n );\n await sleep(backoff);\n }\n }\n };\n\n const stream = createStream();\n\n return { stream };\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\ninterface SerializeOptions<T>\n extends SerializePrimitiveOptions, SerializerOptions<T> {}\n\ninterface SerializePrimitiveOptions {\n allowReserved?: boolean;\n name: string;\n}\n\nexport interface SerializerOptions<T> {\n /**\n * @default true\n */\n explode: boolean;\n style: T;\n}\n\nexport type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';\nexport type ArraySeparatorStyle = ArrayStyle | MatrixStyle;\ntype MatrixStyle = 'label' | 'matrix' | 'simple';\nexport type ObjectStyle = 'form' | 'deepObject';\ntype ObjectSeparatorStyle = ObjectStyle | MatrixStyle;\n\ninterface SerializePrimitiveParam extends SerializePrimitiveOptions {\n value: string;\n}\n\nexport const separatorArrayExplode = (style: ArraySeparatorStyle) => {\n switch (style) {\n case 'label':\n return '.';\n case 'matrix':\n return ';';\n case 'simple':\n return ',';\n default:\n return '&';\n }\n};\n\nexport const separatorArrayNoExplode = (style: ArraySeparatorStyle) => {\n switch (style) {\n case 'form':\n return ',';\n case 'pipeDelimited':\n return '|';\n case 'spaceDelimited':\n return '%20';\n default:\n return ',';\n }\n};\n\nexport const separatorObjectExplode = (style: ObjectSeparatorStyle) => {\n switch (style) {\n case 'label':\n return '.';\n case 'matrix':\n return ';';\n case 'simple':\n return ',';\n default:\n return '&';\n }\n};\n\nexport const serializeArrayParam = ({\n allowReserved,\n explode,\n name,\n style,\n value,\n}: SerializeOptions<ArraySeparatorStyle> & {\n value: unknown[];\n}) => {\n if (!explode) {\n const joinedValues = (\n allowReserved ? value : value.map((v) => encodeURIComponent(v as string))\n ).join(separatorArrayNoExplode(style));\n switch (style) {\n case 'label':\n return `.${joinedValues}`;\n case 'matrix':\n return `;${name}=${joinedValues}`;\n case 'simple':\n return joinedValues;\n default:\n return `${name}=${joinedValues}`;\n }\n }\n\n const separator = separatorArrayExplode(style);\n const joinedValues = value\n .map((v) => {\n if (style === 'label' || style === 'simple') {\n return allowReserved ? v : encodeURIComponent(v as string);\n }\n\n return serializePrimitiveParam({\n allowReserved,\n name,\n value: v as string,\n });\n })\n .join(separator);\n return style === 'label' || style === 'matrix'\n ? separator + joinedValues\n : joinedValues;\n};\n\nexport const serializePrimitiveParam = ({\n allowReserved,\n name,\n value,\n}: SerializePrimitiveParam) => {\n if (value === undefined || value === null) {\n return '';\n }\n\n if (typeof value === 'object') {\n throw new Error(\n 'Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.',\n );\n }\n\n return `${name}=${allowReserved ? value : encodeURIComponent(value)}`;\n};\n\nexport const serializeObjectParam = ({\n allowReserved,\n explode,\n name,\n style,\n value,\n valueOnly,\n}: SerializeOptions<ObjectSeparatorStyle> & {\n value: Record<string, unknown> | Date;\n valueOnly?: boolean;\n}) => {\n if (value instanceof Date) {\n return valueOnly ? value.toISOString() : `${name}=${value.toISOString()}`;\n }\n\n if (style !== 'deepObject' && !explode) {\n let values: string[] = [];\n Object.entries(value).forEach(([key, v]) => {\n values = [\n ...values,\n key,\n allowReserved ? (v as string) : encodeURIComponent(v as string),\n ];\n });\n const joinedValues = values.join(',');\n switch (style) {\n case 'form':\n return `${name}=${joinedValues}`;\n case 'label':\n return `.${joinedValues}`;\n case 'matrix':\n return `;${name}=${joinedValues}`;\n default:\n return joinedValues;\n }\n }\n\n const separator = separatorObjectExplode(style);\n const joinedValues = Object.entries(value)\n .map(([key, v]) =>\n serializePrimitiveParam({\n allowReserved,\n name: style === 'deepObject' ? `${name}[${key}]` : key,\n value: v as string,\n }),\n )\n .join(separator);\n return style === 'label' || style === 'matrix'\n ? separator + joinedValues\n : joinedValues;\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport type { BodySerializer, QuerySerializer } from './bodySerializer.gen';\nimport {\n type ArraySeparatorStyle,\n serializeArrayParam,\n serializeObjectParam,\n serializePrimitiveParam,\n} from './pathSerializer.gen';\n\nexport interface PathSerializer {\n path: Record<string, unknown>;\n url: string;\n}\n\nexport const PATH_PARAM_RE = /\\{[^{}]+\\}/g;\n\nexport const defaultPathSerializer = ({ path, url: _url }: PathSerializer) => {\n let url = _url;\n const matches = _url.match(PATH_PARAM_RE);\n if (matches) {\n for (const match of matches) {\n let explode = false;\n let name = match.substring(1, match.length - 1);\n let style: ArraySeparatorStyle = 'simple';\n\n if (name.endsWith('*')) {\n explode = true;\n name = name.substring(0, name.length - 1);\n }\n\n if (name.startsWith('.')) {\n name = name.substring(1);\n style = 'label';\n } else if (name.startsWith(';')) {\n name = name.substring(1);\n style = 'matrix';\n }\n\n const value = path[name];\n\n if (value === undefined || value === null) {\n continue;\n }\n\n if (Array.isArray(value)) {\n url = url.replace(\n match,\n serializeArrayParam({ explode, name, style, value }),\n );\n continue;\n }\n\n if (typeof value === 'object') {\n url = url.replace(\n match,\n serializeObjectParam({\n explode,\n name,\n style,\n value: value as Record<string, unknown>,\n valueOnly: true,\n }),\n );\n continue;\n }\n\n if (style === 'matrix') {\n url = url.replace(\n match,\n `;${serializePrimitiveParam({\n name,\n value: value as string,\n })}`,\n );\n continue;\n }\n\n const replaceValue = encodeURIComponent(\n style === 'label' ? `.${value as string}` : (value as string),\n );\n url = url.replace(match, replaceValue);\n }\n }\n return url;\n};\n\nexport const getUrl = ({\n baseUrl,\n path,\n query,\n querySerializer,\n url: _url,\n}: {\n baseUrl?: string;\n path?: Record<string, unknown>;\n query?: Record<string, unknown>;\n querySerializer: QuerySerializer;\n url: string;\n}) => {\n const pathUrl = _url.startsWith('/') ? _url : `/${_url}`;\n let url = (baseUrl ?? '') + pathUrl;\n if (path) {\n url = defaultPathSerializer({ path, url });\n }\n let search = query ? querySerializer(query) : '';\n if (search.startsWith('?')) {\n search = search.substring(1);\n }\n if (search) {\n url += `?${search}`;\n }\n return url;\n};\n\nexport function getValidRequestBody(options: {\n body?: unknown;\n bodySerializer?: BodySerializer | null;\n serializedBody?: unknown;\n}) {\n const hasBody = options.body !== undefined;\n const isSerializedBody = hasBody && options.bodySerializer;\n\n if (isSerializedBody) {\n if ('serializedBody' in options) {\n const hasSerializedBody =\n options.serializedBody !== undefined && options.serializedBody !== '';\n\n return hasSerializedBody ? options.serializedBody : null;\n }\n\n // not all clients implement a serializedBody property (i.e., client-axios)\n return options.body !== '' ? options.body : null;\n }\n\n // plain/text body\n if (hasBody) {\n return options.body;\n }\n\n // no body was provided\n return undefined;\n}\n","// This file is auto-generated by @hey-api/openapi-ts\n\nexport type AuthToken = string | undefined;\n\nexport interface Auth {\n /**\n * Which part of the request do we use to send the auth?\n *\n * @default 'header'\n */\n in?: 'header' | 'query' | 'cookie';\n /**\n * Header or query parameter name.\n *\n * @default 'Authorization'\n */\n name?: string;\n scheme?: 'basic' | 'bearer';\n type: 'apiKey' | 'http';\n}\n\nexport const getAuthToken = async (\n auth: Auth,\n callback: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken,\n): Promise<string | undefined> => {\n const token =\n typeof callback === 'function' ? await callback(auth) : callback;\n\n if (!token) {\n return;\n }\n\n if (auth.scheme === 'bearer') {\n return `Bearer ${token}`;\n }\n\n if (auth.scheme === 'basic') {\n return `Basic ${btoa(token)}`;\n }\n\n return token;\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport { getAuthToken } from '../core/auth.gen';\nimport type { QuerySerializerOptions } from '../core/bodySerializer.gen';\nimport { jsonBodySerializer } from '../core/bodySerializer.gen';\nimport {\n serializeArrayParam,\n serializeObjectParam,\n serializePrimitiveParam,\n} from '../core/pathSerializer.gen';\nimport { getUrl } from '../core/utils.gen';\nimport type {\n Client,\n ClientOptions,\n Config,\n RequestOptions,\n} from './types.gen';\n\nexport const createQuerySerializer = <T = unknown>({\n parameters = {},\n ...args\n}: QuerySerializerOptions = {}) => {\n const querySerializer = (queryParams: T) => {\n const search: string[] = [];\n if (queryParams && typeof queryParams === 'object') {\n for (const name in queryParams) {\n const value = queryParams[name];\n\n if (value === undefined || value === null) {\n continue;\n }\n\n const options = parameters[name] || args;\n\n if (Array.isArray(value)) {\n const serializedArray = serializeArrayParam({\n allowReserved: options.allowReserved,\n explode: true,\n name,\n style: 'form',\n value,\n ...options.array,\n });\n if (serializedArray) search.push(serializedArray);\n } else if (typeof value === 'object') {\n const serializedObject = serializeObjectParam({\n allowReserved: options.allowReserved,\n explode: true,\n name,\n style: 'deepObject',\n value: value as Record<string, unknown>,\n ...options.object,\n });\n if (serializedObject) search.push(serializedObject);\n } else {\n const serializedPrimitive = serializePrimitiveParam({\n allowReserved: options.allowReserved,\n name,\n value: value as string,\n });\n if (serializedPrimitive) search.push(serializedPrimitive);\n }\n }\n }\n return search.join('&');\n };\n return querySerializer;\n};\n\n/**\n * Infers parseAs value from provided Content-Type header.\n */\nexport const getParseAs = (\n contentType: string | null,\n): Exclude<Config['parseAs'], 'auto'> => {\n if (!contentType) {\n // If no Content-Type header is provided, the best we can do is return the raw response body,\n // which is effectively the same as the 'stream' option.\n return 'stream';\n }\n\n const cleanContent = contentType.split(';')[0]?.trim();\n\n if (!cleanContent) {\n return;\n }\n\n if (\n cleanContent.startsWith('application/json') ||\n cleanContent.endsWith('+json')\n ) {\n return 'json';\n }\n\n if (cleanContent === 'multipart/form-data') {\n return 'formData';\n }\n\n if (\n ['application/', 'audio/', 'image/', 'video/'].some((type) =>\n cleanContent.startsWith(type),\n )\n ) {\n return 'blob';\n }\n\n if (cleanContent.startsWith('text/')) {\n return 'text';\n }\n\n return;\n};\n\nconst checkForExistence = (\n options: Pick<RequestOptions, 'auth' | 'query'> & {\n headers: Headers;\n },\n name?: string,\n): boolean => {\n if (!name) {\n return false;\n }\n if (\n options.headers.has(name) ||\n options.query?.[name] ||\n options.headers.get('Cookie')?.includes(`${name}=`)\n ) {\n return true;\n }\n return false;\n};\n\nexport const setAuthParams = async ({\n security,\n ...options\n}: Pick<Required<RequestOptions>, 'security'> &\n Pick<RequestOptions, 'auth' | 'query'> & {\n headers: Headers;\n }) => {\n for (const auth of security) {\n if (checkForExistence(options, auth.name)) {\n continue;\n }\n\n const token = await getAuthToken(auth, options.auth);\n\n if (!token) {\n continue;\n }\n\n const name = auth.name ?? 'Authorization';\n\n switch (auth.in) {\n case 'query':\n if (!options.query) {\n options.query = {};\n }\n options.query[name] = token;\n break;\n case 'cookie':\n options.headers.append('Cookie', `${name}=${token}`);\n break;\n case 'header':\n default:\n options.headers.set(name, token);\n break;\n }\n }\n};\n\nexport const buildUrl: Client['buildUrl'] = (options) =>\n getUrl({\n baseUrl: options.baseUrl as string,\n path: options.path,\n query: options.query,\n querySerializer:\n typeof options.querySerializer === 'function'\n ? options.querySerializer\n : createQuerySerializer(options.querySerializer),\n url: options.url,\n });\n\nexport const mergeConfigs = (a: Config, b: Config): Config => {\n const config = { ...a, ...b };\n if (config.baseUrl?.endsWith('/')) {\n config.baseUrl = config.baseUrl.substring(0, config.baseUrl.length - 1);\n }\n config.headers = mergeHeaders(a.headers, b.headers);\n return config;\n};\n\nconst headersEntries = (headers: Headers): Array<[string, string]> => {\n const entries: Array<[string, string]> = [];\n headers.forEach((value, key) => {\n entries.push([key, value]);\n });\n return entries;\n};\n\nexport const mergeHeaders = (\n ...headers: Array<Required<Config>['headers'] | undefined>\n): Headers => {\n const mergedHeaders = new Headers();\n for (const header of headers) {\n if (!header) {\n continue;\n }\n\n const iterator =\n header instanceof Headers\n ? headersEntries(header)\n : Object.entries(header);\n\n for (const [key, value] of iterator) {\n if (value === null) {\n mergedHeaders.delete(key);\n } else if (Array.isArray(value)) {\n for (const v of value) {\n mergedHeaders.append(key, v as string);\n }\n } else if (value !== undefined) {\n // assume object headers are meant to be JSON stringified, i.e., their\n // content value in OpenAPI specification is 'application/json'\n mergedHeaders.set(\n key,\n typeof value === 'object' ? JSON.stringify(value) : (value as string),\n );\n }\n }\n }\n return mergedHeaders;\n};\n\ntype ErrInterceptor<Err, Res, Req, Options> = (\n error: Err,\n response: Res,\n request: Req,\n options: Options,\n) => Err | Promise<Err>;\n\ntype ReqInterceptor<Req, Options> = (\n request: Req,\n options: Options,\n) => Req | Promise<Req>;\n\ntype ResInterceptor<Res, Req, Options> = (\n response: Res,\n request: Req,\n options: Options,\n) => Res | Promise<Res>;\n\nclass Interceptors<Interceptor> {\n fns: Array<Interceptor | null> = [];\n\n clear(): void {\n this.fns = [];\n }\n\n eject(id: number | Interceptor): void {\n const index = this.getInterceptorIndex(id);\n if (this.fns[index]) {\n this.fns[index] = null;\n }\n }\n\n exists(id: number | Interceptor): boolean {\n const index = this.getInterceptorIndex(id);\n return Boolean(this.fns[index]);\n }\n\n getInterceptorIndex(id: number | Interceptor): number {\n if (typeof id === 'number') {\n return this.fns[id] ? id : -1;\n }\n return this.fns.indexOf(id);\n }\n\n update(\n id: number | Interceptor,\n fn: Interceptor,\n ): number | Interceptor | false {\n const index = this.getInterceptorIndex(id);\n if (this.fns[index]) {\n this.fns[index] = fn;\n return id;\n }\n return false;\n }\n\n use(fn: Interceptor): number {\n this.fns.push(fn);\n return this.fns.length - 1;\n }\n}\n\nexport interface Middleware<Req, Res, Err, Options> {\n error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;\n request: Interceptors<ReqInterceptor<Req, Options>>;\n response: Interceptors<ResInterceptor<Res, Req, Options>>;\n}\n\nexport const createInterceptors = <Req, Res, Err, Options>(): Middleware<\n Req,\n Res,\n Err,\n Options\n> => ({\n error: new Interceptors<ErrInterceptor<Err, Res, Req, Options>>(),\n request: new Interceptors<ReqInterceptor<Req, Options>>(),\n response: new Interceptors<ResInterceptor<Res, Req, Options>>(),\n});\n\nconst defaultQuerySerializer = createQuerySerializer({\n allowReserved: false,\n array: {\n explode: true,\n style: 'form',\n },\n object: {\n explode: true,\n style: 'deepObject',\n },\n});\n\nconst defaultHeaders = {\n 'Content-Type': 'application/json',\n};\n\nexport const createConfig = <T extends ClientOptions = ClientOptions>(\n override: Config<Omit<ClientOptions, keyof T> & T> = {},\n): Config<Omit<ClientOptions, keyof T> & T> => ({\n ...jsonBodySerializer,\n headers: defaultHeaders,\n parseAs: 'auto',\n querySerializer: defaultQuerySerializer,\n ...override,\n});\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport { createSseClient } from '../core/serverSentEvents.gen';\nimport type { HttpMethod } from '../core/types.gen';\nimport { getValidRequestBody } from '../core/utils.gen';\nimport type {\n Client,\n Config,\n RequestOptions,\n ResolvedRequestOptions,\n} from './types.gen';\nimport {\n buildUrl,\n createConfig,\n createInterceptors,\n getParseAs,\n mergeConfigs,\n mergeHeaders,\n setAuthParams,\n} from './utils.gen';\n\ntype ReqInit = Omit<RequestInit, 'body' | 'headers'> & {\n body?: any;\n headers: ReturnType<typeof mergeHeaders>;\n};\n\nexport const createClient = (config: Config = {}): Client => {\n let _config = mergeConfigs(createConfig(), config);\n\n const getConfig = (): Config => ({ ..._config });\n\n const setConfig = (config: Config): Config => {\n _config = mergeConfigs(_config, config);\n return getConfig();\n };\n\n const interceptors = createInterceptors<\n Request,\n Response,\n unknown,\n ResolvedRequestOptions\n >();\n\n const beforeRequest = async <\n TData = unknown,\n TResponseStyle extends 'data' | 'fields' = 'fields',\n ThrowOnError extends boolean = boolean,\n Url extends string = string,\n >(\n options: RequestOptions<TData, TResponseStyle, ThrowOnError, Url>,\n ) => {\n const opts = {\n ..._config,\n ...options,\n fetch: options.fetch ?? _config.fetch ?? globalThis.fetch,\n headers: mergeHeaders(_config.headers, options.headers),\n serializedBody: undefined as string | undefined,\n };\n\n if (opts.security) {\n await setAuthParams({\n ...opts,\n security: opts.security,\n });\n }\n\n if (opts.requestValidator) {\n await opts.requestValidator(opts);\n }\n\n if (opts.body !== undefined && opts.bodySerializer) {\n opts.serializedBody = opts.bodySerializer(opts.body) as\n | string\n | undefined;\n }\n\n // remove Content-Type header if body is empty to avoid sending invalid requests\n if (opts.body === undefined || opts.serializedBody === '') {\n opts.headers.delete('Content-Type');\n }\n\n const resolvedOpts = opts as typeof opts &\n ResolvedRequestOptions<TResponseStyle, ThrowOnError, Url>;\n const url = buildUrl(resolvedOpts);\n\n return { opts: resolvedOpts, url };\n };\n\n const request: Client['request'] = async (options) => {\n const { opts, url } = await beforeRequest(options);\n const requestInit: ReqInit = {\n redirect: 'follow',\n ...opts,\n body: getValidRequestBody(opts),\n };\n\n let request = new Request(url, requestInit);\n\n for (const fn of interceptors.request.fns) {\n if (fn) {\n request = await fn(request, opts);\n }\n }\n\n // fetch must be assigned here, otherwise it would throw the error:\n // TypeError: Failed to execute 'fetch' on 'Window': Illegal invocation\n const _fetch = opts.fetch!;\n let response: Response;\n\n try {\n response = await _fetch(request);\n } catch (error) {\n // Handle fetch exceptions (AbortError, network errors, etc.)\n let finalError = error;\n\n for (const fn of interceptors.error.fns) {\n if (fn) {\n finalError = (await fn(\n error,\n undefined as any,\n request,\n opts,\n )) as unknown;\n }\n }\n\n finalError = finalError || ({} as unknown);\n\n if (opts.throwOnError) {\n throw finalError;\n }\n\n // Return error response\n return opts.responseStyle === 'data'\n ? undefined\n : {\n error: finalError,\n request,\n response: undefined as any,\n };\n }\n\n for (const fn of interceptors.response.fns) {\n if (fn) {\n response = await fn(response, request, opts);\n }\n }\n\n const result = {\n request,\n response,\n };\n\n if (response.ok) {\n const parseAs =\n (opts.parseAs === 'auto'\n ? getParseAs(response.headers.get('Content-Type'))\n : opts.parseAs) ?? 'json';\n\n if (\n response.status === 204 ||\n response.headers.get('Content-Length') === '0'\n ) {\n let emptyData: any;\n switch (parseAs) {\n case 'arrayBuffer':\n case 'blob':\n case 'text':\n emptyData = await response[parseAs]();\n break;\n case 'formData':\n emptyData = new FormData();\n break;\n case 'stream':\n emptyData = response.body;\n break;\n case 'json':\n default:\n emptyData = {};\n break;\n }\n return opts.responseStyle === 'data'\n ? emptyData\n : {\n data: emptyData,\n ...result,\n };\n }\n\n let data: any;\n switch (parseAs) {\n case 'arrayBuffer':\n case 'blob':\n case 'formData':\n case 'text':\n data = await response[parseAs]();\n break;\n case 'json': {\n // Some servers return 200 with no Content-Length and empty body.\n // response.json() would throw; read as text and parse if non-empty.\n const text = await response.text();\n data = text ? JSON.parse(text) : {};\n break;\n }\n case 'stream':\n return opts.responseStyle === 'data'\n ? response.body\n : {\n data: response.body,\n ...result,\n };\n }\n\n if (parseAs === 'json') {\n if (opts.responseValidator) {\n await opts.responseValidator(data);\n }\n\n if (opts.responseTransformer) {\n data = await opts.responseTransformer(data);\n }\n }\n\n return opts.responseStyle === 'data'\n ? data\n : {\n data,\n ...result,\n };\n }\n\n const textError = await response.text();\n let jsonError: unknown;\n\n try {\n jsonError = JSON.parse(textError);\n } catch {\n // noop\n }\n\n const error = jsonError ?? textError;\n let finalError = error;\n\n for (const fn of interceptors.error.fns) {\n if (fn) {\n finalError = (await fn(error, response, request, opts)) as string;\n }\n }\n\n finalError = finalError || ({} as string);\n\n if (opts.throwOnError) {\n throw finalError;\n }\n\n // TODO: we probably want to return error and improve types\n return opts.responseStyle === 'data'\n ? undefined\n : {\n error: finalError,\n ...result,\n };\n };\n\n const makeMethodFn =\n (method: Uppercase<HttpMethod>) => (options: RequestOptions) =>\n request({ ...options, method });\n\n const makeSseFn =\n (method: Uppercase<HttpMethod>) => async (options: RequestOptions) => {\n const { opts, url } = await beforeRequest(options);\n return createSseClient({\n ...opts,\n body: opts.body as BodyInit | null | undefined,\n headers: opts.headers as unknown as Record<string, string>,\n method,\n onRequest: async (url, init) => {\n let request = new Request(url, init);\n for (const fn of interceptors.request.fns) {\n if (fn) {\n request = await fn(request, opts);\n }\n }\n return request;\n },\n serializedBody: getValidRequestBody(opts) as\n | BodyInit\n | null\n | undefined,\n url,\n });\n };\n\n const _buildUrl: Client['buildUrl'] = (options) =>\n buildUrl({ ..._config, ...options });\n\n return {\n buildUrl: _buildUrl,\n connect: makeMethodFn('CONNECT'),\n delete: makeMethodFn('DELETE'),\n get: makeMethodFn('GET'),\n getConfig,\n head: makeMethodFn('HEAD'),\n interceptors,\n options: makeMethodFn('OPTIONS'),\n patch: makeMethodFn('PATCH'),\n post: makeMethodFn('POST'),\n put: makeMethodFn('PUT'),\n request,\n setConfig,\n sse: {\n connect: makeSseFn('CONNECT'),\n delete: makeSseFn('DELETE'),\n get: makeSseFn('GET'),\n head: makeSseFn('HEAD'),\n options: makeSseFn('OPTIONS'),\n patch: makeSseFn('PATCH'),\n post: makeSseFn('POST'),\n put: makeSseFn('PUT'),\n trace: makeSseFn('TRACE'),\n },\n trace: makeMethodFn('TRACE'),\n } as Client;\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport {\n type ClientOptions,\n type Config,\n createClient,\n createConfig,\n} from './client';\nimport type { ClientOptions as ClientOptions2 } from './types.gen';\n\n/**\n * The `createClientConfig()` function will be called on client initialization\n * and the returned object will become the client's initial configuration.\n *\n * You may want to initialize your client this way instead of calling\n * `setConfig()`. This is useful for example if you're using Next.js\n * to ensure your client always has the correct values.\n */\nexport type CreateClientConfig<T extends ClientOptions = ClientOptions2> = (\n override?: Config<ClientOptions & T>,\n) => Config<Required<ClientOptions> & T>;\n\nexport const client = createClient(\n createConfig<ClientOptions2>({ baseUrl: 'https://gateway.remote.com/' }),\n);\n","// This file is auto-generated by @hey-api/openapi-ts\n\nimport {\n type Client,\n formDataBodySerializer,\n type Options as Options2,\n type TDataShape,\n} from './client';\nimport { client } from './client.gen';\nimport type {\n DeleteV1CompanyManagersUserIdData,\n DeleteV1CompanyManagersUserIdErrors,\n DeleteV1CompanyManagersUserIdResponses,\n DeleteV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionData,\n DeleteV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionErrors,\n DeleteV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionResponses,\n DeleteV1IncentivesIdData,\n DeleteV1IncentivesIdErrors,\n DeleteV1IncentivesIdResponses,\n DeleteV1IncentivesRecurringIdData,\n DeleteV1IncentivesRecurringIdErrors,\n DeleteV1IncentivesRecurringIdResponses,\n DeleteV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeData,\n DeleteV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeErrors,\n DeleteV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeResponses,\n DeleteV1PayItemsIdData,\n DeleteV1PayItemsIdErrors,\n DeleteV1PayItemsIdResponses,\n DeleteV1SandboxEmploymentsEmploymentIdData,\n DeleteV1SandboxEmploymentsEmploymentIdErrors,\n DeleteV1SandboxEmploymentsEmploymentIdResponses,\n DeleteV1WebhookCallbacksIdData,\n DeleteV1WebhookCallbacksIdErrors,\n DeleteV1WebhookCallbacksIdResponses,\n GetV1AdpSubscriptionCancellationsData,\n GetV1AdpSubscriptionCancellationsErrors,\n GetV1AdpSubscriptionCancellationsResponses,\n GetV1AdpSubscriptionChangesData,\n GetV1AdpSubscriptionChangesErrors,\n GetV1AdpSubscriptionChangesResponses,\n GetV1AdpSubscriptionOrdersData,\n GetV1AdpSubscriptionOrdersErrors,\n GetV1AdpSubscriptionOrdersResponses,\n GetV1AdpSubscriptionStatusData,\n GetV1AdpSubscriptionStatusErrors,\n GetV1AdpSubscriptionStatusResponses,\n GetV1AdpUserAssignmentsData,\n GetV1AdpUserAssignmentsErrors,\n GetV1AdpUserAssignmentsResponses,\n GetV1AdpUserUnassignmentsData,\n GetV1AdpUserUnassignmentsErrors,\n GetV1AdpUserUnassignmentsResponses,\n GetV1BenefitOffersCountrySummariesData,\n GetV1BenefitOffersCountrySummariesErrors,\n GetV1BenefitOffersCountrySummariesResponses,\n GetV1BenefitOffersData,\n GetV1BenefitOffersErrors,\n GetV1BenefitOffersResponses,\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdData,\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdErrors,\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdResponses,\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdSchemaData,\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdSchemaErrors,\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdSchemaResponses,\n GetV1BenefitRenewalRequestsData,\n GetV1BenefitRenewalRequestsErrors,\n GetV1BenefitRenewalRequestsResponses,\n GetV1BillingDocumentsBillingDocumentIdBreakdownData,\n GetV1BillingDocumentsBillingDocumentIdBreakdownErrors,\n GetV1BillingDocumentsBillingDocumentIdBreakdownResponses,\n GetV1BillingDocumentsBillingDocumentIdData,\n GetV1BillingDocumentsBillingDocumentIdErrors,\n GetV1BillingDocumentsBillingDocumentIdPdfData,\n GetV1BillingDocumentsBillingDocumentIdPdfErrors,\n GetV1BillingDocumentsBillingDocumentIdPdfResponses,\n GetV1BillingDocumentsBillingDocumentIdResponses,\n GetV1BillingDocumentsData,\n GetV1BillingDocumentsErrors,\n GetV1BillingDocumentsResponses,\n GetV1BulkEmploymentJobsJobIdData,\n GetV1BulkEmploymentJobsJobIdErrors,\n GetV1BulkEmploymentJobsJobIdResponses,\n GetV1BulkEmploymentJobsJobIdRowsData,\n GetV1BulkEmploymentJobsJobIdRowsErrors,\n GetV1BulkEmploymentJobsJobIdRowsResponses,\n GetV1CompaniesCompanyIdActionsData,\n GetV1CompaniesCompanyIdActionsErrors,\n GetV1CompaniesCompanyIdActionsResponses,\n GetV1CompaniesCompanyIdComplianceProfileData,\n GetV1CompaniesCompanyIdComplianceProfileErrors,\n GetV1CompaniesCompanyIdComplianceProfileResponses,\n GetV1CompaniesCompanyIdData,\n GetV1CompaniesCompanyIdEmploymentsEmploymentIdOnboardingReservesStatusData,\n GetV1CompaniesCompanyIdEmploymentsEmploymentIdOnboardingReservesStatusErrors,\n GetV1CompaniesCompanyIdEmploymentsEmploymentIdOnboardingReservesStatusResponses,\n GetV1CompaniesCompanyIdErrors,\n GetV1CompaniesCompanyIdLegalEntitiesData,\n GetV1CompaniesCompanyIdLegalEntitiesErrors,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsData,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsErrors,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsResponses,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdContractorEligibilityData,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdContractorEligibilityErrors,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdContractorEligibilityResponses,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdPayCodesData,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdPayCodesErrors,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdPayCodesResponses,\n GetV1CompaniesCompanyIdLegalEntitiesResponses,\n GetV1CompaniesCompanyIdPricingPlansData,\n GetV1CompaniesCompanyIdPricingPlansErrors,\n GetV1CompaniesCompanyIdPricingPlansResponses,\n GetV1CompaniesCompanyIdProductPricesData,\n GetV1CompaniesCompanyIdProductPricesErrors,\n GetV1CompaniesCompanyIdProductPricesResponses,\n GetV1CompaniesCompanyIdResponses,\n GetV1CompaniesCompanyIdWebhookCallbacksData,\n GetV1CompaniesCompanyIdWebhookCallbacksErrors,\n GetV1CompaniesCompanyIdWebhookCallbacksResponses,\n GetV1CompaniesData,\n GetV1CompaniesErrors,\n GetV1CompaniesResponses,\n GetV1CompaniesSchemaData,\n GetV1CompaniesSchemaErrors,\n GetV1CompaniesSchemaResponses,\n GetV1CompanyCompanyIdCostCenterAllocationsData,\n GetV1CompanyCompanyIdCostCenterAllocationsErrors,\n GetV1CompanyCompanyIdCostCenterAllocationsResponses,\n GetV1CompanyCurrenciesData,\n GetV1CompanyCurrenciesErrors,\n GetV1CompanyCurrenciesResponses,\n GetV1CompanyDepartmentsData,\n GetV1CompanyDepartmentsErrors,\n GetV1CompanyDepartmentsResponses,\n GetV1CompanyManagersData,\n GetV1CompanyManagersErrors,\n GetV1CompanyManagersResponses,\n GetV1CompanyManagersUserIdData,\n GetV1CompanyManagersUserIdErrors,\n GetV1CompanyManagersUserIdResponses,\n GetV1ContractAmendmentsData,\n GetV1ContractAmendmentsErrors,\n GetV1ContractAmendmentsIdData,\n GetV1ContractAmendmentsIdErrors,\n GetV1ContractAmendmentsIdResponses,\n GetV1ContractAmendmentsResponses,\n GetV1ContractAmendmentsSchemaData,\n GetV1ContractAmendmentsSchemaErrors,\n GetV1ContractAmendmentsSchemaResponses,\n GetV1ContractorInvoiceSchedulesData,\n GetV1ContractorInvoiceSchedulesErrors,\n GetV1ContractorInvoiceSchedulesIdData,\n GetV1ContractorInvoiceSchedulesIdErrors,\n GetV1ContractorInvoiceSchedulesIdResponses,\n GetV1ContractorInvoiceSchedulesResponses,\n GetV1ContractorInvoicesData,\n GetV1ContractorInvoicesErrors,\n GetV1ContractorInvoicesIdData,\n GetV1ContractorInvoicesIdErrors,\n GetV1ContractorInvoicesIdResponses,\n GetV1ContractorInvoicesResponses,\n GetV1ContractorsCorTerminationRequestsData,\n GetV1ContractorsCorTerminationRequestsErrors,\n GetV1ContractorsCorTerminationRequestsResponses,\n GetV1ContractorsEmploymentsEmploymentIdContractDocumentsIdData,\n GetV1ContractorsEmploymentsEmploymentIdContractDocumentsIdErrors,\n GetV1ContractorsEmploymentsEmploymentIdContractDocumentsIdResponses,\n GetV1ContractorsEmploymentsEmploymentIdContractorCurrenciesData,\n GetV1ContractorsEmploymentsEmploymentIdContractorCurrenciesErrors,\n GetV1ContractorsEmploymentsEmploymentIdContractorCurrenciesResponses,\n GetV1ContractorsEmploymentsEmploymentIdContractorSubscriptionsData,\n GetV1ContractorsEmploymentsEmploymentIdContractorSubscriptionsErrors,\n GetV1ContractorsEmploymentsEmploymentIdContractorSubscriptionsResponses,\n GetV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsTerminationRequestIdData,\n GetV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsTerminationRequestIdErrors,\n GetV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsTerminationRequestIdResponses,\n GetV1ContractorsEmploymentsEmploymentIdRatesData,\n GetV1ContractorsEmploymentsEmploymentIdRatesErrors,\n GetV1ContractorsEmploymentsEmploymentIdRatesResponses,\n GetV1ContractorsSchemasEligibilityQuestionnaireData,\n GetV1ContractorsSchemasEligibilityQuestionnaireErrors,\n GetV1ContractorsSchemasEligibilityQuestionnaireResponses,\n GetV1CostCalculatorCountriesData,\n GetV1CostCalculatorCountriesResponses,\n GetV1CostCalculatorRegionsSlugFieldsData,\n GetV1CostCalculatorRegionsSlugFieldsErrors,\n GetV1CostCalculatorRegionsSlugFieldsResponses,\n GetV1CountriesCountryCodeContractorContractDetailsData,\n GetV1CountriesCountryCodeContractorContractDetailsErrors,\n GetV1CountriesCountryCodeContractorContractDetailsResponses,\n GetV1CountriesCountryCodeFormData,\n GetV1CountriesCountryCodeFormErrors,\n GetV1CountriesCountryCodeFormResponses,\n GetV1CountriesCountryCodeHolidaysYearData,\n GetV1CountriesCountryCodeHolidaysYearErrors,\n GetV1CountriesCountryCodeHolidaysYearResponses,\n GetV1CountriesCountryCodeLegalEntityFormsFormData,\n GetV1CountriesCountryCodeLegalEntityFormsFormErrors,\n GetV1CountriesCountryCodeLegalEntityFormsFormResponses,\n GetV1CountriesData,\n GetV1CountriesErrors,\n GetV1CountriesResponses,\n GetV1CustomFieldsCustomFieldIdValuesEmploymentIdData,\n GetV1CustomFieldsCustomFieldIdValuesEmploymentIdErrors,\n GetV1CustomFieldsCustomFieldIdValuesEmploymentIdResponses,\n GetV1CustomFieldsData,\n GetV1CustomFieldsErrors,\n GetV1CustomFieldsResponses,\n GetV1DirectOffboardingsData,\n GetV1DirectOffboardingsErrors,\n GetV1DirectOffboardingsResponses,\n GetV1EmployeeAddressData,\n GetV1EmployeeAddressErrors,\n GetV1EmployeeAddressResponses,\n GetV1EmployeeBankAccountData,\n GetV1EmployeeBankAccountErrors,\n GetV1EmployeeBankAccountResponses,\n GetV1EmployeeCurrentData,\n GetV1EmployeeCurrentErrors,\n GetV1EmployeeCurrentResponses,\n GetV1EmployeeDocumentsData,\n GetV1EmployeeDocumentsErrors,\n GetV1EmployeeDocumentsIdData,\n GetV1EmployeeDocumentsIdErrors,\n GetV1EmployeeDocumentsIdResponses,\n GetV1EmployeeDocumentsResponses,\n GetV1EmployeeEmergencyContactData,\n GetV1EmployeeEmergencyContactErrors,\n GetV1EmployeeEmergencyContactResponses,\n GetV1EmployeeExpenseCategoriesData,\n GetV1EmployeeExpenseCategoriesErrors,\n GetV1EmployeeExpenseCategoriesResponses,\n GetV1EmployeeExpensesData,\n GetV1EmployeeExpensesErrors,\n GetV1EmployeeExpensesResponses,\n GetV1EmployeeIncentivesData,\n GetV1EmployeeIncentivesErrors,\n GetV1EmployeeIncentivesResponses,\n GetV1EmployeeLeavePoliciesData,\n GetV1EmployeeLeavePoliciesErrors,\n GetV1EmployeeLeavePoliciesResponses,\n GetV1EmployeeLeavePoliciesSummaryData,\n GetV1EmployeeLeavePoliciesSummaryErrors,\n GetV1EmployeeLeavePoliciesSummaryResponses,\n GetV1EmployeePayslipFilesData,\n GetV1EmployeePayslipFilesErrors,\n GetV1EmployeePayslipFilesResponses,\n GetV1EmployeePayslipsData,\n GetV1EmployeePayslipsErrors,\n GetV1EmployeePayslipsResponses,\n GetV1EmployeePersonalDetailsData,\n GetV1EmployeePersonalDetailsErrors,\n GetV1EmployeePersonalDetailsResponses,\n GetV1EmployeePersonalInformationData,\n GetV1EmployeePersonalInformationErrors,\n GetV1EmployeePersonalInformationResponses,\n GetV1EmployeeTimeoffData,\n GetV1EmployeeTimeoffErrors,\n GetV1EmployeeTimeoffResponses,\n GetV1EmployeeTimesheetsData,\n GetV1EmployeeTimesheetsErrors,\n GetV1EmployeeTimesheetsResponses,\n GetV1EmploymentContractsData,\n GetV1EmploymentContractsEmploymentIdPendingChangesData,\n GetV1EmploymentContractsEmploymentIdPendingChangesErrors,\n GetV1EmploymentContractsEmploymentIdPendingChangesResponses,\n GetV1EmploymentContractsErrors,\n GetV1EmploymentContractsResponses,\n GetV1EmploymentsBulkData,\n GetV1EmploymentsBulkErrors,\n GetV1EmploymentsBulkResponses,\n GetV1EmploymentsData,\n GetV1EmploymentsEmploymentIdBackgroundChecksBackgroundCheckIdData,\n GetV1EmploymentsEmploymentIdBackgroundChecksBackgroundCheckIdErrors,\n GetV1EmploymentsEmploymentIdBackgroundChecksBackgroundCheckIdResponses,\n GetV1EmploymentsEmploymentIdBenefitOffersData,\n GetV1EmploymentsEmploymentIdBenefitOffersErrors,\n GetV1EmploymentsEmploymentIdBenefitOffersResponses,\n GetV1EmploymentsEmploymentIdBenefitOffersSchemaData,\n GetV1EmploymentsEmploymentIdBenefitOffersSchemaErrors,\n GetV1EmploymentsEmploymentIdBenefitOffersSchemaResponses,\n GetV1EmploymentsEmploymentIdCompanyStructureNodesData,\n GetV1EmploymentsEmploymentIdCompanyStructureNodesErrors,\n GetV1EmploymentsEmploymentIdCompanyStructureNodesResponses,\n GetV1EmploymentsEmploymentIdContractDocumentsData,\n GetV1EmploymentsEmploymentIdContractDocumentsErrors,\n GetV1EmploymentsEmploymentIdContractDocumentsResponses,\n GetV1EmploymentsEmploymentIdCostCenterAllocationsData,\n GetV1EmploymentsEmploymentIdCostCenterAllocationsErrors,\n GetV1EmploymentsEmploymentIdCostCenterAllocationsResponses,\n GetV1EmploymentsEmploymentIdCustomFieldsData,\n GetV1EmploymentsEmploymentIdCustomFieldsErrors,\n GetV1EmploymentsEmploymentIdCustomFieldsResponses,\n GetV1EmploymentsEmploymentIdData,\n GetV1EmploymentsEmploymentIdEmploymentAgreementDownloadData,\n GetV1EmploymentsEmploymentIdEmploymentAgreementDownloadErrors,\n GetV1EmploymentsEmploymentIdEmploymentAgreementDownloadResponses,\n GetV1EmploymentsEmploymentIdEmploymentAgreementPreviewData,\n GetV1EmploymentsEmploymentIdEmploymentAgreementPreviewErrors,\n GetV1EmploymentsEmploymentIdEmploymentAgreementPreviewResponses,\n GetV1EmploymentsEmploymentIdEngagementAgreementDetailsData,\n GetV1EmploymentsEmploymentIdEngagementAgreementDetailsErrors,\n GetV1EmploymentsEmploymentIdEngagementAgreementDetailsResponses,\n GetV1EmploymentsEmploymentIdErrors,\n GetV1EmploymentsEmploymentIdFilesData,\n GetV1EmploymentsEmploymentIdFilesErrors,\n GetV1EmploymentsEmploymentIdFilesResponses,\n GetV1EmploymentsEmploymentIdJobData,\n GetV1EmploymentsEmploymentIdJobErrors,\n GetV1EmploymentsEmploymentIdJobResponses,\n GetV1EmploymentsEmploymentIdOnboardingStepsData,\n GetV1EmploymentsEmploymentIdOnboardingStepsErrors,\n GetV1EmploymentsEmploymentIdOnboardingStepsResponses,\n GetV1EmploymentsEmploymentIdResponses,\n GetV1EmploymentsErrors,\n GetV1EmploymentsResponses,\n GetV1ExpensesCategoriesData,\n GetV1ExpensesCategoriesErrors,\n GetV1ExpensesCategoriesResponses,\n GetV1ExpensesData,\n GetV1ExpensesErrors,\n GetV1ExpensesExpenseIdReceiptData,\n GetV1ExpensesExpenseIdReceiptErrors,\n GetV1ExpensesExpenseIdReceiptResponses,\n GetV1ExpensesExpenseIdReceiptsReceiptIdData,\n GetV1ExpensesExpenseIdReceiptsReceiptIdErrors,\n GetV1ExpensesExpenseIdReceiptsReceiptIdResponses,\n GetV1ExpensesIdData,\n GetV1ExpensesIdErrors,\n GetV1ExpensesIdResponses,\n GetV1ExpensesResponses,\n GetV1FilesIdData,\n GetV1FilesIdErrors,\n GetV1FilesIdResponses,\n GetV1HelpCenterArticlesIdData,\n GetV1HelpCenterArticlesIdErrors,\n GetV1HelpCenterArticlesIdResponses,\n GetV1IdentityCurrentData,\n GetV1IdentityCurrentErrors,\n GetV1IdentityCurrentResponses,\n GetV1IdentityVerificationEmploymentIdData,\n GetV1IdentityVerificationEmploymentIdErrors,\n GetV1IdentityVerificationEmploymentIdResponses,\n GetV1IncentivesData,\n GetV1IncentivesErrors,\n GetV1IncentivesIdData,\n GetV1IncentivesIdErrors,\n GetV1IncentivesIdResponses,\n GetV1IncentivesRecurringData,\n GetV1IncentivesRecurringErrors,\n GetV1IncentivesRecurringResponses,\n GetV1IncentivesResponses,\n GetV1JobTitleScreeningsIdData,\n GetV1JobTitleScreeningsIdErrors,\n GetV1JobTitleScreeningsIdResponses,\n GetV1LeavePoliciesDetailsEmploymentIdData,\n GetV1LeavePoliciesDetailsEmploymentIdErrors,\n GetV1LeavePoliciesDetailsEmploymentIdResponses,\n GetV1LeavePoliciesSummaryEmploymentIdData,\n GetV1LeavePoliciesSummaryEmploymentIdErrors,\n GetV1LeavePoliciesSummaryEmploymentIdResponses,\n GetV1OffboardingsData,\n GetV1OffboardingsEmploymentsEmploymentIdData,\n GetV1OffboardingsEmploymentsEmploymentIdErrors,\n GetV1OffboardingsEmploymentsEmploymentIdResponses,\n GetV1OffboardingsErrors,\n GetV1OffboardingsIdData,\n GetV1OffboardingsIdErrors,\n GetV1OffboardingsIdResponses,\n GetV1OffboardingsResponses,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentRequirementsData,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentRequirementsErrors,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentRequirementsResponses,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdData,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdErrors,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdResponses,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsData,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsErrors,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsResponses,\n GetV1PayItemsData,\n GetV1PayItemsErrors,\n GetV1PayItemsResponses,\n GetV1PayrollCalendarsCycleData,\n GetV1PayrollCalendarsCycleErrors,\n GetV1PayrollCalendarsCycleResponses,\n GetV1PayrollCalendarsData,\n GetV1PayrollCalendarsErrors,\n GetV1PayrollCalendarsResponses,\n GetV1PayrollRunsData,\n GetV1PayrollRunsErrors,\n GetV1PayrollRunsPayrollRunIdData,\n GetV1PayrollRunsPayrollRunIdEmployeeDetailsData,\n GetV1PayrollRunsPayrollRunIdEmployeeDetailsErrors,\n GetV1PayrollRunsPayrollRunIdEmployeeDetailsResponses,\n GetV1PayrollRunsPayrollRunIdErrors,\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdData,\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdDownloadData,\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdDownloadErrors,\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdDownloadResponses,\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdErrors,\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdResponses,\n GetV1PayrollRunsPayrollRunIdResponses,\n GetV1PayrollRunsResponses,\n GetV1PayslipsData,\n GetV1PayslipsErrors,\n GetV1PayslipsPayslipIdPdfData,\n GetV1PayslipsPayslipIdPdfErrors,\n GetV1PayslipsPayslipIdPdfResponses,\n GetV1PayslipsResponses,\n GetV1PricingPlanPartnerTemplatesData,\n GetV1PricingPlanPartnerTemplatesErrors,\n GetV1PricingPlanPartnerTemplatesResponses,\n GetV1ProbationCompletionLetterIdData,\n GetV1ProbationCompletionLetterIdErrors,\n GetV1ProbationCompletionLetterIdResponses,\n GetV1ProbationExtensionsIdData,\n GetV1ProbationExtensionsIdErrors,\n GetV1ProbationExtensionsIdResponses,\n GetV1ProjectsData,\n GetV1ProjectsErrors,\n GetV1ProjectsIdData,\n GetV1ProjectsIdErrors,\n GetV1ProjectsIdResponses,\n GetV1ProjectsResponses,\n GetV1ResignationsOffboardingRequestIdData,\n GetV1ResignationsOffboardingRequestIdErrors,\n GetV1ResignationsOffboardingRequestIdResignationLetterData,\n GetV1ResignationsOffboardingRequestIdResignationLetterErrors,\n GetV1ResignationsOffboardingRequestIdResignationLetterResponses,\n GetV1ResignationsOffboardingRequestIdResponses,\n GetV1ScimV2GroupsData,\n GetV1ScimV2GroupsErrors,\n GetV1ScimV2GroupsIdData,\n GetV1ScimV2GroupsIdErrors,\n GetV1ScimV2GroupsIdResponses,\n GetV1ScimV2GroupsResponses,\n GetV1ScimV2UsersData,\n GetV1ScimV2UsersErrors,\n GetV1ScimV2UsersIdData,\n GetV1ScimV2UsersIdErrors,\n GetV1ScimV2UsersIdResponses,\n GetV1ScimV2UsersResponses,\n GetV1SsoConfigurationData,\n GetV1SsoConfigurationDetailsData,\n GetV1SsoConfigurationDetailsErrors,\n GetV1SsoConfigurationDetailsResponses,\n GetV1SsoConfigurationErrors,\n GetV1SsoConfigurationResponses,\n GetV1TestSchemaData,\n GetV1TestSchemaResponses,\n GetV1TimeoffBalancesEmploymentIdData,\n GetV1TimeoffBalancesEmploymentIdErrors,\n GetV1TimeoffBalancesEmploymentIdResponses,\n GetV1TimeoffData,\n GetV1TimeoffErrors,\n GetV1TimeoffIdData,\n GetV1TimeoffIdErrors,\n GetV1TimeoffIdResponses,\n GetV1TimeoffResponses,\n GetV1TimeoffTypesData,\n GetV1TimeoffTypesErrors,\n GetV1TimeoffTypesResponses,\n GetV1TimesheetsData,\n GetV1TimesheetsErrors,\n GetV1TimesheetsIdData,\n GetV1TimesheetsIdErrors,\n GetV1TimesheetsIdResponses,\n GetV1TimesheetsResponses,\n GetV1TravelLetterRequestsData,\n GetV1TravelLetterRequestsErrors,\n GetV1TravelLetterRequestsIdData,\n GetV1TravelLetterRequestsIdErrors,\n GetV1TravelLetterRequestsIdResponses,\n GetV1TravelLetterRequestsResponses,\n GetV1WebhookEventsData,\n GetV1WebhookEventsErrors,\n GetV1WebhookEventsResponses,\n GetV1WorkAuthorizationRequestsData,\n GetV1WorkAuthorizationRequestsErrors,\n GetV1WorkAuthorizationRequestsIdData,\n GetV1WorkAuthorizationRequestsIdErrors,\n GetV1WorkAuthorizationRequestsIdResponses,\n GetV1WorkAuthorizationRequestsResponses,\n GetV2EmploymentsEmploymentIdBasicInformationData,\n GetV2EmploymentsEmploymentIdBasicInformationErrors,\n GetV2EmploymentsEmploymentIdBasicInformationResponses,\n GetV2EmploymentsEmploymentIdEngagementAgreementDetailsData,\n GetV2EmploymentsEmploymentIdEngagementAgreementDetailsErrors,\n GetV2EmploymentsEmploymentIdEngagementAgreementDetailsResponses,\n GetV2OffboardingsData,\n GetV2OffboardingsErrors,\n GetV2OffboardingsIdData,\n GetV2OffboardingsIdErrors,\n GetV2OffboardingsIdResponses,\n GetV2OffboardingsResponses,\n PatchV1CompaniesCompanyId2Data,\n PatchV1CompaniesCompanyId2Errors,\n PatchV1CompaniesCompanyId2Responses,\n PatchV1CompaniesCompanyIdData,\n PatchV1CompaniesCompanyIdErrors,\n PatchV1CompaniesCompanyIdResponses,\n PatchV1CompanyManagersUserId2Data,\n PatchV1CompanyManagersUserId2Errors,\n PatchV1CompanyManagersUserId2Responses,\n PatchV1CompanyManagersUserIdData,\n PatchV1CompanyManagersUserIdErrors,\n PatchV1CompanyManagersUserIdResponses,\n PatchV1ContractorInvoiceSchedulesId2Data,\n PatchV1ContractorInvoiceSchedulesId2Errors,\n PatchV1ContractorInvoiceSchedulesId2Responses,\n PatchV1ContractorInvoiceSchedulesIdData,\n PatchV1ContractorInvoiceSchedulesIdErrors,\n PatchV1ContractorInvoiceSchedulesIdResponses,\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentId2Data,\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentId2Errors,\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentId2Responses,\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentIdData,\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentIdErrors,\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentIdResponses,\n PatchV1EmployeeTimeoffId2Data,\n PatchV1EmployeeTimeoffId2Errors,\n PatchV1EmployeeTimeoffId2Responses,\n PatchV1EmployeeTimeoffIdData,\n PatchV1EmployeeTimeoffIdErrors,\n PatchV1EmployeeTimeoffIdResponses,\n PatchV1EmploymentsEmploymentId2Data,\n PatchV1EmploymentsEmploymentId2Errors,\n PatchV1EmploymentsEmploymentId2Responses,\n PatchV1EmploymentsEmploymentIdData,\n PatchV1EmploymentsEmploymentIdErrors,\n PatchV1EmploymentsEmploymentIdResponses,\n PatchV1ExpensesId2Data,\n PatchV1ExpensesId2Errors,\n PatchV1ExpensesId2Responses,\n PatchV1ExpensesIdData,\n PatchV1ExpensesIdErrors,\n PatchV1ExpensesIdResponses,\n PatchV1IncentivesId2Data,\n PatchV1IncentivesId2Errors,\n PatchV1IncentivesId2Responses,\n PatchV1IncentivesIdData,\n PatchV1IncentivesIdErrors,\n PatchV1IncentivesIdResponses,\n PatchV1PayItemsIdData,\n PatchV1PayItemsIdErrors,\n PatchV1PayItemsIdResponses,\n PatchV1ProjectsIdData,\n PatchV1ProjectsIdErrors,\n PatchV1ProjectsIdResponses,\n PatchV1SandboxEmploymentsEmploymentId2Data,\n PatchV1SandboxEmploymentsEmploymentId2Errors,\n PatchV1SandboxEmploymentsEmploymentId2Responses,\n PatchV1SandboxEmploymentsEmploymentIdData,\n PatchV1SandboxEmploymentsEmploymentIdErrors,\n PatchV1SandboxEmploymentsEmploymentIdResponses,\n PatchV1TimeoffId2Data,\n PatchV1TimeoffId2Errors,\n PatchV1TimeoffId2Responses,\n PatchV1TimeoffIdData,\n PatchV1TimeoffIdErrors,\n PatchV1TimeoffIdResponses,\n PatchV1TravelLetterRequestsId2Data,\n PatchV1TravelLetterRequestsId2Errors,\n PatchV1TravelLetterRequestsId2Responses,\n PatchV1TravelLetterRequestsIdData,\n PatchV1TravelLetterRequestsIdErrors,\n PatchV1TravelLetterRequestsIdResponses,\n PatchV1WebhookCallbacksIdData,\n PatchV1WebhookCallbacksIdErrors,\n PatchV1WebhookCallbacksIdResponses,\n PatchV1WorkAuthorizationRequestsId2Data,\n PatchV1WorkAuthorizationRequestsId2Errors,\n PatchV1WorkAuthorizationRequestsId2Responses,\n PatchV1WorkAuthorizationRequestsIdData,\n PatchV1WorkAuthorizationRequestsIdErrors,\n PatchV1WorkAuthorizationRequestsIdResponses,\n PatchV2EmploymentsEmploymentId2Data,\n PatchV2EmploymentsEmploymentId2Errors,\n PatchV2EmploymentsEmploymentId2Responses,\n PatchV2EmploymentsEmploymentIdData,\n PatchV2EmploymentsEmploymentIdErrors,\n PatchV2EmploymentsEmploymentIdResponses,\n PostAuthOauth2TokenData,\n PostAuthOauth2TokenErrors,\n PostAuthOauth2TokenResponses,\n PostV1BenefitRenewalRequestsBenefitRenewalRequestIdData,\n PostV1BenefitRenewalRequestsBenefitRenewalRequestIdErrors,\n PostV1BenefitRenewalRequestsBenefitRenewalRequestIdResponses,\n PostV1BulkEmploymentJobsData,\n PostV1BulkEmploymentJobsErrors,\n PostV1BulkEmploymentJobsResponses,\n PostV1CancelOnboardingEmploymentIdData,\n PostV1CancelOnboardingEmploymentIdErrors,\n PostV1CancelOnboardingEmploymentIdResponses,\n PostV1CompaniesCompanyIdCreateTokenData,\n PostV1CompaniesCompanyIdCreateTokenErrors,\n PostV1CompaniesCompanyIdCreateTokenResponses,\n PostV1CompaniesCompanyIdPricingPlansData,\n PostV1CompaniesCompanyIdPricingPlansErrors,\n PostV1CompaniesCompanyIdPricingPlansResponses,\n PostV1CompaniesData,\n PostV1CompaniesErrors,\n PostV1CompaniesResponses,\n PostV1CompanyDepartmentsData,\n PostV1CompanyDepartmentsErrors,\n PostV1CompanyDepartmentsResponses,\n PostV1CompanyManagersData,\n PostV1CompanyManagersErrors,\n PostV1CompanyManagersResponses,\n PostV1ContractAmendmentsAutomatableData,\n PostV1ContractAmendmentsAutomatableErrors,\n PostV1ContractAmendmentsAutomatableResponses,\n PostV1ContractAmendmentsData,\n PostV1ContractAmendmentsErrors,\n PostV1ContractAmendmentsResponses,\n PostV1ContractorInvoiceSchedulesData,\n PostV1ContractorInvoiceSchedulesErrors,\n PostV1ContractorInvoiceSchedulesResponses,\n PostV1ContractorsEligibilityQuestionnaireData,\n PostV1ContractorsEligibilityQuestionnaireErrors,\n PostV1ContractorsEligibilityQuestionnaireResponses,\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsContractDocumentIdSignData,\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsContractDocumentIdSignErrors,\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsContractDocumentIdSignResponses,\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsData,\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsErrors,\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsResponses,\n PostV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionData,\n PostV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionErrors,\n PostV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionResponses,\n PostV1ContractorsEmploymentsEmploymentIdContractorPlusSubscriptionData,\n PostV1ContractorsEmploymentsEmploymentIdContractorPlusSubscriptionErrors,\n PostV1ContractorsEmploymentsEmploymentIdContractorPlusSubscriptionResponses,\n PostV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsData,\n PostV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsErrors,\n PostV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsResponses,\n PostV1ContractorsEmploymentsEmploymentIdTerminateCorEmploymentData,\n PostV1ContractorsEmploymentsEmploymentIdTerminateCorEmploymentErrors,\n PostV1ContractorsEmploymentsEmploymentIdTerminateCorEmploymentResponses,\n PostV1ContractorsEmploymentsEmploymentIdTimesheetsData,\n PostV1ContractorsEmploymentsEmploymentIdTimesheetsErrors,\n PostV1ContractorsEmploymentsEmploymentIdTimesheetsResponses,\n PostV1CostCalculatorEstimationCsvData,\n PostV1CostCalculatorEstimationCsvErrors,\n PostV1CostCalculatorEstimationCsvResponses,\n PostV1CostCalculatorEstimationData,\n PostV1CostCalculatorEstimationErrors,\n PostV1CostCalculatorEstimationPdfData,\n PostV1CostCalculatorEstimationPdfErrors,\n PostV1CostCalculatorEstimationPdfResponses,\n PostV1CostCalculatorEstimationResponses,\n PostV1CurrencyConverterEffective2Data,\n PostV1CurrencyConverterEffective2Errors,\n PostV1CurrencyConverterEffective2Responses,\n PostV1CurrencyConverterEffectiveData,\n PostV1CurrencyConverterEffectiveErrors,\n PostV1CurrencyConverterEffectiveResponses,\n PostV1CurrencyConverterRawData,\n PostV1CurrencyConverterRawErrors,\n PostV1CurrencyConverterRawResponses,\n PostV1CustomFieldsData,\n PostV1CustomFieldsErrors,\n PostV1CustomFieldsResponses,\n PostV1DocumentsData,\n PostV1DocumentsErrors,\n PostV1DocumentsResponses,\n PostV1EmployeeDocumentsData,\n PostV1EmployeeDocumentsErrors,\n PostV1EmployeeDocumentsResponses,\n PostV1EmployeeExpensesData,\n PostV1EmployeeExpensesErrors,\n PostV1EmployeeExpensesResponses,\n PostV1EmployeeTimeoffData,\n PostV1EmployeeTimeoffErrors,\n PostV1EmployeeTimeoffIdCancelData,\n PostV1EmployeeTimeoffIdCancelErrors,\n PostV1EmployeeTimeoffIdCancelResponses,\n PostV1EmployeeTimeoffResponses,\n PostV1EmploymentsData,\n PostV1EmploymentsEmploymentIdContractEligibilityData,\n PostV1EmploymentsEmploymentIdContractEligibilityErrors,\n PostV1EmploymentsEmploymentIdContractEligibilityResponses,\n PostV1EmploymentsEmploymentIdContractOriginData,\n PostV1EmploymentsEmploymentIdContractOriginErrors,\n PostV1EmploymentsEmploymentIdContractOriginResponses,\n PostV1EmploymentsEmploymentIdContractorInvoicesPreviewData,\n PostV1EmploymentsEmploymentIdContractorInvoicesPreviewErrors,\n PostV1EmploymentsEmploymentIdContractorInvoicesPreviewResponses,\n PostV1EmploymentsEmploymentIdEngagementAgreementDetailsData,\n PostV1EmploymentsEmploymentIdEngagementAgreementDetailsErrors,\n PostV1EmploymentsEmploymentIdEngagementAgreementDetailsResponses,\n PostV1EmploymentsEmploymentIdInviteData,\n PostV1EmploymentsEmploymentIdInviteErrors,\n PostV1EmploymentsEmploymentIdInviteResponses,\n PostV1EmploymentsEmploymentIdRiskReserveProofOfPaymentsData,\n PostV1EmploymentsEmploymentIdRiskReserveProofOfPaymentsErrors,\n PostV1EmploymentsEmploymentIdRiskReserveProofOfPaymentsResponses,\n PostV1EmploymentsErrors,\n PostV1EmploymentsResponses,\n PostV1ExpensesData,\n PostV1ExpensesErrors,\n PostV1ExpensesResponses,\n PostV1IdentityVerificationEmploymentIdDeclineData,\n PostV1IdentityVerificationEmploymentIdDeclineErrors,\n PostV1IdentityVerificationEmploymentIdDeclineResponses,\n PostV1IdentityVerificationEmploymentIdVerifyData,\n PostV1IdentityVerificationEmploymentIdVerifyErrors,\n PostV1IdentityVerificationEmploymentIdVerifyResponses,\n PostV1IncentivesData,\n PostV1IncentivesErrors,\n PostV1IncentivesRecurringData,\n PostV1IncentivesRecurringErrors,\n PostV1IncentivesRecurringResponses,\n PostV1IncentivesResponses,\n PostV1JobTitleScreeningsData,\n PostV1JobTitleScreeningsErrors,\n PostV1JobTitleScreeningsResponses,\n PostV1MagicLinkData,\n PostV1MagicLinkErrors,\n PostV1MagicLinkResponses,\n PostV1OffboardingsData,\n PostV1OffboardingsErrors,\n PostV1OffboardingsResponses,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsData,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsErrors,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdSignData,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdSignErrors,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdSignResponses,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsResponses,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeData,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeErrors,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeResponses,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugDocumentsData,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugDocumentsErrors,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugDocumentsResponses,\n PostV1PayItemsBulkData,\n PostV1PayItemsBulkErrors,\n PostV1PayItemsBulkResponses,\n PostV1PayrollRunsPayrollRunIdGlReportsData,\n PostV1PayrollRunsPayrollRunIdGlReportsErrors,\n PostV1PayrollRunsPayrollRunIdGlReportsResponses,\n PostV1ProbationCompletionLetterData,\n PostV1ProbationCompletionLetterErrors,\n PostV1ProbationCompletionLetterResponses,\n PostV1ProbationExtensionsData,\n PostV1ProbationExtensionsErrors,\n PostV1ProbationExtensionsResponses,\n PostV1ReadyData,\n PostV1ReadyErrors,\n PostV1ReadyResponses,\n PostV1RiskReserveData,\n PostV1RiskReserveErrors,\n PostV1RiskReserveResponses,\n PostV1SandboxBenefitRenewalRequestsData,\n PostV1SandboxBenefitRenewalRequestsErrors,\n PostV1SandboxBenefitRenewalRequestsResponses,\n PostV1SandboxCompaniesCompanyIdBypassEligibilityChecksData,\n PostV1SandboxCompaniesCompanyIdBypassEligibilityChecksErrors,\n PostV1SandboxCompaniesCompanyIdBypassEligibilityChecksResponses,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesData,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesErrors,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdActivateGlobalPayrollData,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdActivateGlobalPayrollErrors,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdActivateGlobalPayrollResponses,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdSetCreditRiskStatusData,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdSetCreditRiskStatusErrors,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdSetCreditRiskStatusResponses,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesResponses,\n PostV1SandboxContractorsEmploymentsEmploymentIdRatesData,\n PostV1SandboxContractorsEmploymentsEmploymentIdRatesErrors,\n PostV1SandboxContractorsEmploymentsEmploymentIdRatesResponses,\n PostV1SandboxEmploymentsData,\n PostV1SandboxEmploymentsEmploymentIdRiskReserveProofOfPaymentsApproveData,\n PostV1SandboxEmploymentsEmploymentIdRiskReserveProofOfPaymentsApproveErrors,\n PostV1SandboxEmploymentsEmploymentIdRiskReserveProofOfPaymentsApproveResponses,\n PostV1SandboxEmploymentsErrors,\n PostV1SandboxEmploymentsResponses,\n PostV1SandboxWebhookCallbacksTriggerData,\n PostV1SandboxWebhookCallbacksTriggerErrors,\n PostV1SandboxWebhookCallbacksTriggerResponses,\n PostV1SdkTelemetryErrorsData,\n PostV1SdkTelemetryErrorsErrors,\n PostV1SdkTelemetryErrorsResponses,\n PostV1SsoConfigurationData,\n PostV1SsoConfigurationErrors,\n PostV1SsoConfigurationResponses,\n PostV1TimeoffData,\n PostV1TimeoffErrors,\n PostV1TimeoffResponses,\n PostV1TimeoffTimeoffIdApproveData,\n PostV1TimeoffTimeoffIdApproveErrors,\n PostV1TimeoffTimeoffIdApproveResponses,\n PostV1TimeoffTimeoffIdCancelData,\n PostV1TimeoffTimeoffIdCancelErrors,\n PostV1TimeoffTimeoffIdCancelRequestApproveData,\n PostV1TimeoffTimeoffIdCancelRequestApproveErrors,\n PostV1TimeoffTimeoffIdCancelRequestApproveResponses,\n PostV1TimeoffTimeoffIdCancelRequestDeclineData,\n PostV1TimeoffTimeoffIdCancelRequestDeclineErrors,\n PostV1TimeoffTimeoffIdCancelRequestDeclineResponses,\n PostV1TimeoffTimeoffIdCancelResponses,\n PostV1TimeoffTimeoffIdDeclineData,\n PostV1TimeoffTimeoffIdDeclineErrors,\n PostV1TimeoffTimeoffIdDeclineResponses,\n PostV1TimesheetsTimesheetIdApproveData,\n PostV1TimesheetsTimesheetIdApproveErrors,\n PostV1TimesheetsTimesheetIdApproveResponses,\n PostV1TimesheetsTimesheetIdSendBackData,\n PostV1TimesheetsTimesheetIdSendBackErrors,\n PostV1TimesheetsTimesheetIdSendBackResponses,\n PostV1WebhookCallbacksData,\n PostV1WebhookCallbacksErrors,\n PostV1WebhookCallbacksResponses,\n PostV1WebhookEventsReplayData,\n PostV1WebhookEventsReplayErrors,\n PostV1WebhookEventsReplayResponses,\n PostV2EmploymentsEmploymentIdEngagementAgreementDetailsData,\n PostV2EmploymentsEmploymentIdEngagementAgreementDetailsErrors,\n PostV2EmploymentsEmploymentIdEngagementAgreementDetailsResponses,\n PostV2EmploymentsEmploymentIdJobTitleEligibilityCheckData,\n PostV2EmploymentsEmploymentIdJobTitleEligibilityCheckErrors,\n PostV2EmploymentsEmploymentIdJobTitleEligibilityCheckResponses,\n PutV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsData,\n PutV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsErrors,\n PutV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsResponses,\n PutV1EmployeeAddressData,\n PutV1EmployeeAddressErrors,\n PutV1EmployeeAddressResponses,\n PutV1EmployeeBankAccountData,\n PutV1EmployeeBankAccountErrors,\n PutV1EmployeeBankAccountResponses,\n PutV1EmployeeEmergencyContactData,\n PutV1EmployeeEmergencyContactErrors,\n PutV1EmployeeEmergencyContactResponses,\n PutV1EmployeeFederalTaxesData,\n PutV1EmployeeFederalTaxesErrors,\n PutV1EmployeeFederalTaxesResponses,\n PutV1EmployeePersonalDetailsData,\n PutV1EmployeePersonalDetailsErrors,\n PutV1EmployeePersonalDetailsResponses,\n PutV1EmployeeStateTaxesJurisdictionData,\n PutV1EmployeeStateTaxesJurisdictionErrors,\n PutV1EmployeeStateTaxesJurisdictionResponses,\n PutV1EmploymentsEmploymentIdBasicInformationData,\n PutV1EmploymentsEmploymentIdBasicInformationErrors,\n PutV1EmploymentsEmploymentIdBasicInformationResponses,\n PutV1EmploymentsEmploymentIdBenefitOffersData,\n PutV1EmploymentsEmploymentIdBenefitOffersErrors,\n PutV1EmploymentsEmploymentIdBenefitOffersResponses,\n PutV1EmploymentsEmploymentIdFederalTaxesData,\n PutV1EmploymentsEmploymentIdFederalTaxesErrors,\n PutV1EmploymentsEmploymentIdFederalTaxesResponses,\n PutV1EmploymentsEmploymentIdPersonalDetailsData,\n PutV1EmploymentsEmploymentIdPersonalDetailsErrors,\n PutV1EmploymentsEmploymentIdPersonalDetailsResponses,\n PutV1ResignationsOffboardingRequestIdValidateData,\n PutV1ResignationsOffboardingRequestIdValidateErrors,\n PutV1ResignationsOffboardingRequestIdValidateResponses,\n PutV1SandboxCompaniesCompanyIdDefaultLegalEntityLegalEntityIdData,\n PutV1SandboxCompaniesCompanyIdDefaultLegalEntityLegalEntityIdErrors,\n PutV1SandboxCompaniesCompanyIdDefaultLegalEntityLegalEntityIdResponses,\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdApproveData,\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdApproveErrors,\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdApproveResponses,\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdCancelData,\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdCancelErrors,\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdCancelResponses,\n PutV2EmploymentsEmploymentIdAddressDetailsData,\n PutV2EmploymentsEmploymentIdAddressDetailsErrors,\n PutV2EmploymentsEmploymentIdAddressDetailsResponses,\n PutV2EmploymentsEmploymentIdAdministrativeDetailsData,\n PutV2EmploymentsEmploymentIdAdministrativeDetailsErrors,\n PutV2EmploymentsEmploymentIdAdministrativeDetailsResponses,\n PutV2EmploymentsEmploymentIdBankAccountDetailsData,\n PutV2EmploymentsEmploymentIdBankAccountDetailsErrors,\n PutV2EmploymentsEmploymentIdBankAccountDetailsResponses,\n PutV2EmploymentsEmploymentIdBasicInformationData,\n PutV2EmploymentsEmploymentIdBasicInformationErrors,\n PutV2EmploymentsEmploymentIdBasicInformationResponses,\n PutV2EmploymentsEmploymentIdBillingAddressDetailsData,\n PutV2EmploymentsEmploymentIdBillingAddressDetailsErrors,\n PutV2EmploymentsEmploymentIdBillingAddressDetailsResponses,\n PutV2EmploymentsEmploymentIdContractDetailsData,\n PutV2EmploymentsEmploymentIdContractDetailsErrors,\n PutV2EmploymentsEmploymentIdContractDetailsResponses,\n PutV2EmploymentsEmploymentIdEmergencyContactData,\n PutV2EmploymentsEmploymentIdEmergencyContactErrors,\n PutV2EmploymentsEmploymentIdEmergencyContactResponses,\n PutV2EmploymentsEmploymentIdFederalTaxesData,\n PutV2EmploymentsEmploymentIdFederalTaxesErrors,\n PutV2EmploymentsEmploymentIdFederalTaxesResponses,\n PutV2EmploymentsEmploymentIdPersonalDetailsData,\n PutV2EmploymentsEmploymentIdPersonalDetailsErrors,\n PutV2EmploymentsEmploymentIdPersonalDetailsResponses,\n PutV2EmploymentsEmploymentIdPricingPlanDetailsData,\n PutV2EmploymentsEmploymentIdPricingPlanDetailsErrors,\n PutV2EmploymentsEmploymentIdPricingPlanDetailsResponses,\n} from './types.gen';\n\nexport type Options<\n TData extends TDataShape = TDataShape,\n ThrowOnError extends boolean = boolean,\n TResponse = unknown,\n> = Options2<TData, ThrowOnError, TResponse> & {\n /**\n * You can provide a client instance returned by `createClient()` instead of\n * individual options. This might be also useful if you want to implement a\n * custom client.\n */\n client?: Client;\n /**\n * You can pass arbitrary values through the `meta` object. This can be\n * used to access values that aren't defined as part of the SDK function.\n */\n meta?: Record<string, unknown>;\n};\n\n/**\n * List Offboarding\n *\n * Lists Offboarding requests.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View offboarding requests (`offboarding:read`) | Manage offboarding (`offboarding:write`) |\n */\nexport const getV1Offboardings = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1OffboardingsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1OffboardingsResponses,\n GetV1OffboardingsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/offboardings',\n ...options,\n });\n\n/**\n * Create Offboarding\n *\n * Creates an Offboarding request\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage offboarding (`offboarding:write`) |\n */\nexport const postV1Offboardings = <ThrowOnError extends boolean = false>(\n options?: Options<PostV1OffboardingsData, ThrowOnError>,\n) =>\n (options?.client ?? client).post<\n PostV1OffboardingsResponses,\n PostV1OffboardingsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/offboardings',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * List Offboardings (v2). Requires a token issued via the authorization_code grant (company_manager role) — not usable with a client_credentials (integration) token.\n *\n * Lists offboardings for a company.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View offboarding requests (`offboarding:read`) | Manage offboarding (`offboarding:write`) |\n */\nexport const getV2Offboardings = <ThrowOnError extends boolean = false>(\n options?: Options<GetV2OffboardingsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV2OffboardingsResponses,\n GetV2OffboardingsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/offboardings',\n ...options,\n });\n\n/**\n * Update pricing plan details\n *\n * Updates the pricing plan for an employment. The frequency determines how often Remote bills the\n * employer for management fees. Annual billing typically offers a discount.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV2EmploymentsEmploymentIdPricingPlanDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV2EmploymentsEmploymentIdPricingPlanDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV2EmploymentsEmploymentIdPricingPlanDetailsResponses,\n PutV2EmploymentsEmploymentIdPricingPlanDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/pricing-plan-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show timesheet\n *\n * Shows a timesheet by its ID.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timesheets (`timesheet:read`) | Manage timesheets (`timesheet:write`) |\n */\nexport const getV1TimesheetsId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1TimesheetsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1TimesheetsIdResponses,\n GetV1TimesheetsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timesheets/{id}',\n ...options,\n });\n\n/**\n * Cancel onboarding\n *\n * Cancel onboarding.\n *\n * Requirements for the cancellation to succeed:\n *\n * * Employment has to be in `invited`, `created`, `created_awaiting_reserve`, `created_reserve_paid`, `pre_hire` status\n * * Employee must not have signed the employment contract\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage onboarding (`onboarding:write`) |\n */\nexport const postV1CancelOnboardingEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1CancelOnboardingEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CancelOnboardingEmploymentIdResponses,\n PostV1CancelOnboardingEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/cancel-onboarding/{employment_id}',\n ...options,\n });\n\n/**\n * Show form schema\n *\n * Returns the json schema of the `contract_amendment` form for a specific employment.\n * This endpoint requires a company access token, as forms are dependent on certain\n * properties of companies and their current employments.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View contract amendments (`contract_amendment:read`) | Manage contract amendments (`contract_amendment:write`) |\n */\nexport const getV1ContractAmendmentsSchema = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1ContractAmendmentsSchemaData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ContractAmendmentsSchemaResponses,\n GetV1ContractAmendmentsSchemaErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contract-amendments/schema',\n ...options,\n });\n\n/**\n * Bulk Create Pay Items\n *\n * Bulk creates pay items for employments. Supports up to 500 items per request.\n * Each item must supply exactly one of `code` or `external_import_code` to identify the pay element.\n * Integration-specific fields (shift code, currency, pay amount, etc.) go in the `provider_data` object.\n * Only Global Payroll employments are supported. Non-GP employments are returned as `employment_not_global_payroll`.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | - | Manage pay items (`pay_item:write`) |\n */\nexport const postV1PayItemsBulk = <ThrowOnError extends boolean = false>(\n options: Options<PostV1PayItemsBulkData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1PayItemsBulkResponses,\n PostV1PayItemsBulkErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/pay-items/bulk',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show Offboarding (v2)\n *\n * Returns a single offboarding by its ID.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View offboarding requests (`offboarding:read`) | Manage offboarding (`offboarding:write`) |\n */\nexport const getV2OffboardingsId = <ThrowOnError extends boolean = false>(\n options: Options<GetV2OffboardingsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV2OffboardingsIdResponses,\n GetV2OffboardingsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/offboardings/{id}',\n ...options,\n });\n\n/**\n * Update address details\n *\n * Updates employment's address details.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-form) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV2EmploymentsEmploymentIdAddressDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV2EmploymentsEmploymentIdAddressDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV2EmploymentsEmploymentIdAddressDetailsResponses,\n PutV2EmploymentsEmploymentIdAddressDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/address-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List pricing plans\n *\n * List all pricing plans for a company.\n * Currently the endpoint only returns the pricing plans for the EOR monthly product and the contractor products (Standard, Plus and COR).\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage companies (`company_management`) | View pricing plans (`pricing_plan:read`) | Manage pricing plans (`pricing_plan:write`) |\n */\nexport const getV1CompaniesCompanyIdPricingPlans = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1CompaniesCompanyIdPricingPlansData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdPricingPlansResponses,\n GetV1CompaniesCompanyIdPricingPlansErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}/pricing-plans',\n ...options,\n });\n\n/**\n * Create a pricing plan for a company\n *\n * Create a pricing plan for a company, in order to do that we have 2 ways:\n *\n * 1. Create a pricing plan from a partner template\n * 2. Create a pricing plan from a product price\n *\n * The pricing plan is always created in the company's desired currency.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage companies (`company_management`) | - | Manage pricing plans (`pricing_plan:write`) |\n */\nexport const postV1CompaniesCompanyIdPricingPlans = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1CompaniesCompanyIdPricingPlansData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CompaniesCompanyIdPricingPlansResponses,\n PostV1CompaniesCompanyIdPricingPlansErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/companies/{company_id}/pricing-plans',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show probation completion letter\n *\n * Show a single probation completion letter.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View probation documents (`probation_document:read`) | Manage probation documents (`probation_document:write`) |\n */\nexport const getV1ProbationCompletionLetterId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1ProbationCompletionLetterIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ProbationCompletionLetterIdResponses,\n GetV1ProbationCompletionLetterIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/probation-completion-letter/{id}',\n ...options,\n });\n\n/**\n * Show Contractor Invoice\n *\n * Shows a single Contractor Invoice record.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | View invoices (`invoices:read`) | Manage invoices (`invoices:write`) |\n */\nexport const getV1ContractorInvoicesId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1ContractorInvoicesIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ContractorInvoicesIdResponses,\n GetV1ContractorInvoicesIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractor-invoices/{id}',\n ...options,\n });\n\n/**\n * Convert currency using flat rates\n *\n * Convert currency using FX rates used in Remote’s estimation tools.\n * These rates are not guaranteed to match final onboarding or contract rates.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client token** (`ClientToken`) — a partner `client_token`, accepted only on marketing endpoints. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | Convert currencies (`convert_currency:read`) | - |\n */\nexport const postV1CurrencyConverterRaw = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1CurrencyConverterRawData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CurrencyConverterRawResponses,\n PostV1CurrencyConverterRawErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/currency-converter/raw',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show contractor contract details\n *\n * Returns the contract details JSON Schema for contractors given a country.\n *\n * When `employment_id` refers to a contractor employment, the schema's fields carry\n * `default` values sourced from the contractor's current contract — the payment terms\n * from the stored contract details or, absent those, the contractor's rate — so a new\n * contract document form can be prefilled with them.\n *\n * Those defaults are compensation data and require one of `documents-management:create`,\n * `people-contracts:create` or `hiring:update`. Without them the schema is returned\n * without `default` values, so the form renders blank rather than failing.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View forms (`form:read`) | - |\n */\nexport const getV1CountriesCountryCodeContractorContractDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1CountriesCountryCodeContractorContractDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1CountriesCountryCodeContractorContractDetailsResponses,\n GetV1CountriesCountryCodeContractorContractDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/countries/{country_code}/contractor-contract-details',\n ...options,\n });\n\n/**\n * List incentives for the authenticated employee\n *\n * Returns all incentives for the authenticated employee.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | View incentives (`incentive:read`) | Manage incentives (`incentive:write`) |\n */\nexport const getV1EmployeeIncentives = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmployeeIncentivesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeIncentivesResponses,\n GetV1EmployeeIncentivesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/incentives',\n ...options,\n });\n\n/**\n * List employments\n *\n * Lists all employments, except for the deleted ones.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1Employments = <ThrowOnError extends boolean = false>(\n options: Options<GetV1EmploymentsData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsResponses,\n GetV1EmploymentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments',\n ...options,\n });\n\n/**\n * Create employment\n *\n * Creates an employment. We support creating employees and contractors.\n *\n * ## Global Payroll Employees\n *\n * To create a Global Payroll employee, pass `global_payroll_employee` as the `type` parameter,\n * and provide the id of the specific legal entity that the employee will be engaged by and billed to as the `engaged_by_legal_entity_id` parameter.\n *\n * ## HRIS Employees\n *\n * To create a HRIS employee, pass `hris` as the `type` parameter.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV1Employments = <ThrowOnError extends boolean = false>(\n options: Options<PostV1EmploymentsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1EmploymentsResponses,\n PostV1EmploymentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Get Onboarding Reserves Status for Employment\n *\n * Returns the onboarding reserves status for a specific employment.\n *\n * The status is the same as the credit risk status but takes the onboarding reserves policies into account.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1CompaniesCompanyIdEmploymentsEmploymentIdOnboardingReservesStatus =\n <ThrowOnError extends boolean = false>(\n options: Options<\n GetV1CompaniesCompanyIdEmploymentsEmploymentIdOnboardingReservesStatusData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdEmploymentsEmploymentIdOnboardingReservesStatusResponses,\n GetV1CompaniesCompanyIdEmploymentsEmploymentIdOnboardingReservesStatusErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}/employments/{employment_id}/onboarding-reserves-status',\n ...options,\n });\n\n/**\n * Show employee bank account\n *\n * Returns the authenticated employee's bank account details.\n *\n * This endpoint requires and returns country-specific data. The exact fields vary depending on which\n * country the authenticated employee's employment is in. Query the\n * [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint with `bank_account_details`\n * as the form name to discover the schema for a given country.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View bank accounts (`bank_account:read`) | Manage bank accounts (`bank_account:write`) |\n */\nexport const getV1EmployeeBankAccount = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmployeeBankAccountData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeBankAccountResponses,\n GetV1EmployeeBankAccountErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/bank-account',\n ...options,\n });\n\n/**\n * Update employee bank account\n *\n * Upserts the authenticated employee's bank account details.\n *\n * This endpoint requires and returns country-specific data. The exact fields vary depending on which\n * country the authenticated employee's employment is in. Query the\n * [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint with `bank_account_details`\n * as the form name to discover the schema for a given country.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage bank accounts (`bank_account:write`) |\n */\nexport const putV1EmployeeBankAccount = <ThrowOnError extends boolean = false>(\n options?: Options<PutV1EmployeeBankAccountData, ThrowOnError>,\n) =>\n (options?.client ?? client).put<\n PutV1EmployeeBankAccountResponses,\n PutV1EmployeeBankAccountErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/bank-account',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * Get Help Center Article\n *\n * Get a help center article by its ID\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View help articles (`help_center_article:read`) | - |\n */\nexport const getV1HelpCenterArticlesId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1HelpCenterArticlesIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1HelpCenterArticlesIdResponses,\n GetV1HelpCenterArticlesIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/help-center-articles/{id}',\n ...options,\n });\n\n/**\n * Get user by ID via SCIM v2.0\n *\n * Retrieves a single user for the authenticated company by user ID\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const getV1ScimV2UsersId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1ScimV2UsersIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ScimV2UsersIdResponses,\n GetV1ScimV2UsersIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/scim/v2/Users/{id}',\n ...options,\n });\n\n/**\n * Get engagement agreement details\n *\n * Returns the engagement agreement details for an employment.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV2EmploymentsEmploymentIdEngagementAgreementDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV2EmploymentsEmploymentIdEngagementAgreementDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV2EmploymentsEmploymentIdEngagementAgreementDetailsResponses,\n GetV2EmploymentsEmploymentIdEngagementAgreementDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/engagement-agreement-details',\n ...options,\n });\n\n/**\n * Upsert engagement agreement details\n *\n * Creates or updates the engagement agreement details for an employment.\n *\n * This endpoint requires country-specific data. The exact required fields will vary depending on\n * which country the employment is in. To see the list of parameters for each country, see the\n * **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that compliance requirements for each country are subject to change according to local laws.\n * Using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) is recommended\n * to avoid compliance issues and to have the latest version of a country's requirements.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV2EmploymentsEmploymentIdEngagementAgreementDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV2EmploymentsEmploymentIdEngagementAgreementDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV2EmploymentsEmploymentIdEngagementAgreementDetailsResponses,\n PostV2EmploymentsEmploymentIdEngagementAgreementDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/engagement-agreement-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Download a document for the employee\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n */\nexport const getV1EmployeeDocumentsId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1EmployeeDocumentsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1EmployeeDocumentsIdResponses,\n GetV1EmployeeDocumentsIdErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/documents/{id}',\n ...options,\n });\n\n/**\n * List company projects\n *\n * Lists a company's contractor projects.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View projects (`project:read`) | Manage projects (`project:write`) |\n */\nexport const getV1Projects = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1ProjectsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1ProjectsResponses,\n GetV1ProjectsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/projects',\n ...options,\n });\n\n/**\n * List Contractor Invoices. Requires a token issued via the authorization_code grant (company_manager role) — not usable with a client_credentials (integration) token.\n *\n * Lists Contractor Invoice records.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | View invoices (`invoices:read`) | Manage invoices (`invoices:write`) |\n */\nexport const getV1ContractorInvoices = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1ContractorInvoicesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1ContractorInvoicesResponses,\n GetV1ContractorInvoicesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractor-invoices',\n ...options,\n });\n\n/**\n * Report SDK errors\n *\n * Receives error telemetry from the frontend SDK.\n * Errors are logged to observability backend for monitoring and debugging.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client token** (`ClientToken`) — a partner `client_token`, accepted only on marketing endpoints. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const postV1SdkTelemetryErrors = <ThrowOnError extends boolean = false>(\n options: Options<PostV1SdkTelemetryErrorsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1SdkTelemetryErrorsResponses,\n PostV1SdkTelemetryErrorsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sdk/telemetry-errors',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show the SSO Configuration Details\n *\n * Shows the SSO Configuration details for the company.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage SSO (`sso_configuration:write`) |\n */\nexport const getV1SsoConfigurationDetails = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1SsoConfigurationDetailsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1SsoConfigurationDetailsResponses,\n GetV1SsoConfigurationDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sso-configuration/details',\n ...options,\n });\n\n/**\n * Creates a cost estimation of employments\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n * - **Client token** (`ClientToken`) — a partner `client_token`, accepted only on marketing endpoints. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const postV1CostCalculatorEstimation = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1CostCalculatorEstimationData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CostCalculatorEstimationResponses,\n PostV1CostCalculatorEstimationErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/cost-calculator/estimation',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show form schema\n *\n * Returns the json schema of the requested company form.\n * Currently only supports the `address_details` form.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View companies (`company:read`) | Manage companies (`company:write`) |\n */\nexport const getV1CompaniesSchema = <ThrowOnError extends boolean = false>(\n options: Options<GetV1CompaniesSchemaData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompaniesSchemaResponses,\n GetV1CompaniesSchemaErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/companies/schema',\n ...options,\n });\n\n/**\n * Seed a contractor rate\n *\n * Creates or replaces the contractor's rate, so that the rate endpoints can be exercised without\n * going through contract signature.\n *\n * The currency is derived from the legal entity the contractor is paid in by. A rate in a\n * currency the contractor cannot be paid in is rejected with `422`.\n *\n * This endpoint is only available in Sandbox, otherwise it will respond with a 404.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const postV1SandboxContractorsEmploymentsEmploymentIdRates = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1SandboxContractorsEmploymentsEmploymentIdRatesData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1SandboxContractorsEmploymentsEmploymentIdRatesResponses,\n PostV1SandboxContractorsEmploymentsEmploymentIdRatesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/contractors/employments/{employment_id}/rates',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Get employment benefit offers\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View benefit offers (`benefit_offer:read`) | Manage benefit offers (`benefit_offer:write`) |\n */\nexport const getV1EmploymentsEmploymentIdBenefitOffers = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1EmploymentsEmploymentIdBenefitOffersData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdBenefitOffersResponses,\n GetV1EmploymentsEmploymentIdBenefitOffersErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/benefit-offers',\n ...options,\n });\n\n/**\n * Upserts employment benefit offers\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage benefit offers (`benefit_offer:write`) |\n */\nexport const putV1EmploymentsEmploymentIdBenefitOffers = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PutV1EmploymentsEmploymentIdBenefitOffersData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PutV1EmploymentsEmploymentIdBenefitOffersResponses,\n PutV1EmploymentsEmploymentIdBenefitOffersErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/benefit-offers',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Get Employment Profile\n *\n * Gets necessary information to perform the identity verification of an employee.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View identity verification (`identity_verification:read`) | Manage identity verification (`identity_verification:write`) |\n */\nexport const getV1IdentityVerificationEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1IdentityVerificationEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1IdentityVerificationEmploymentIdResponses,\n GetV1IdentityVerificationEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/identity-verification/{employment_id}',\n ...options,\n });\n\n/**\n * List contractor subscriptions\n *\n * Endpoint that can be used to list contractor subscriptions.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1ContractorsEmploymentsEmploymentIdContractorSubscriptions = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1ContractorsEmploymentsEmploymentIdContractorSubscriptionsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1ContractorsEmploymentsEmploymentIdContractorSubscriptionsResponses,\n GetV1ContractorsEmploymentsEmploymentIdContractorSubscriptionsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/contractor-subscriptions',\n ...options,\n });\n\n/**\n * List approved payslip files for the authenticated employee\n *\n * Returns a paginated list of payslip files belonging to the current employee.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payslips (`payslip:read`) | - |\n */\nexport const getV1EmployeePayslips = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmployeePayslipsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeePayslipsResponses,\n GetV1EmployeePayslipsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/payslips',\n ...options,\n });\n\n/**\n * List the rates of a contractor\n *\n * Lists the rates configured for a contractor, whatever the origin of their contract: rates agreed\n * through a Remote-managed services agreement and statement of work, and rates recorded by the\n * company on its own paper, are returned in the same shape.\n *\n * What the response contains:\n *\n * - The **configured** rate — not amounts that were scheduled, invoiced, or paid.\n * - **Effective** rates only. Terms of a statement of work that has not been signed yet are not included.\n * - The stored rate, even when the contractor's contract has already expired.\n *\n * `contract_start_date` and `contract_expiration_date` describe the contract the rate is paid under,\n * not where the rate came from. `type` and `pay_frequency` are open enums, so treat an unrecognised\n * value as opaque rather than an error. See the field descriptions for how each is derived.\n *\n * A contractor with no rate, and an employment that is not a contractor, both return an empty list.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1ContractorsEmploymentsEmploymentIdRates = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1ContractorsEmploymentsEmploymentIdRatesData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1ContractorsEmploymentsEmploymentIdRatesResponses,\n GetV1ContractorsEmploymentsEmploymentIdRatesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/rates',\n ...options,\n });\n\n/**\n * List contractor of record (COR) termination requests\n *\n * Lists Contractor of Record termination requests for your company,\n * optionally filtered by employment and status.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1ContractorsCorTerminationRequests = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1ContractorsCorTerminationRequestsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1ContractorsCorTerminationRequestsResponses,\n GetV1ContractorsCorTerminationRequestsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/cor-termination-requests',\n ...options,\n });\n\n/**\n * List Webhook Events\n *\n * List all webhook events\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View webhooks (`webhook:read`) | Manage webhooks (`webhook:write`) |\n */\nexport const getV1WebhookEvents = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1WebhookEventsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1WebhookEventsResponses,\n GetV1WebhookEventsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/webhook-events',\n ...options,\n });\n\n/**\n * Pass KYB\n *\n * Pass KYB and credit risk for a company without the intervention of a Remote admin.\n *\n * This endpoint is only available in Sandbox, otherwise it will respond with a 404.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const postV1SandboxCompaniesCompanyIdBypassEligibilityChecks = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1SandboxCompaniesCompanyIdBypassEligibilityChecksData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1SandboxCompaniesCompanyIdBypassEligibilityChecksResponses,\n PostV1SandboxCompaniesCompanyIdBypassEligibilityChecksErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/companies/{company_id}/bypass-eligibility-checks',\n ...options,\n });\n\n/**\n * Approve risk reserve proof of payment\n *\n * Approves a risk reserve proof of payment without the intervention of a Remote admin.\n *\n * Triggers an `employment.cor_hiring.proof_of_payment_accepted` webhook event.\n *\n * This endpoint is only available in Sandbox, otherwise it will respond with a 404.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const postV1SandboxEmploymentsEmploymentIdRiskReserveProofOfPaymentsApprove =\n <ThrowOnError extends boolean = false>(\n options: Options<\n PostV1SandboxEmploymentsEmploymentIdRiskReserveProofOfPaymentsApproveData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).post<\n PostV1SandboxEmploymentsEmploymentIdRiskReserveProofOfPaymentsApproveResponses,\n PostV1SandboxEmploymentsEmploymentIdRiskReserveProofOfPaymentsApproveErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/employments/{employment_id}/risk-reserve-proof-of-payments/approve',\n ...options,\n });\n\n/**\n * Get a mock JSON Schema\n *\n * Get a mock JSON Schema for testing purposes\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1TestSchema = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1TestSchemaData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1TestSchemaResponses,\n unknown,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/test-schema',\n ...options,\n });\n\n/**\n * List all holidays of a country\n *\n * List all holidays of a country for a specific year. Optionally, it can be filtered by country subdivision.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View countries (`country:read`) | - |\n */\nexport const getV1CountriesCountryCodeHolidaysYear = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1CountriesCountryCodeHolidaysYearData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CountriesCountryCodeHolidaysYearResponses,\n GetV1CountriesCountryCodeHolidaysYearErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/countries/{country_code}/holidays/{year}',\n ...options,\n });\n\n/**\n * Cancel Time Off\n *\n * Cancel a time off request that was already approved.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const postV1TimeoffTimeoffIdCancel = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1TimeoffTimeoffIdCancelData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1TimeoffTimeoffIdCancelResponses,\n PostV1TimeoffTimeoffIdCancelErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff/{timeoff_id}/cancel',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show employment job\n *\n * Shows an employment job details.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1EmploymentsEmploymentIdJob = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1EmploymentsEmploymentIdJobData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdJobResponses,\n GetV1EmploymentsEmploymentIdJobErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/job',\n ...options,\n });\n\n/**\n * List pricing plan partner templates\n *\n * List all pricing plan partner templates.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage companies (`company_management`) | View pricing plans (`pricing_plan:read`) | Manage pricing plans (`pricing_plan:write`) |\n */\nexport const getV1PricingPlanPartnerTemplates = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1PricingPlanPartnerTemplatesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1PricingPlanPartnerTemplatesResponses,\n GetV1PricingPlanPartnerTemplatesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/pricing-plan-partner-templates',\n ...options,\n });\n\n/**\n * List EOR Payroll Calendar\n *\n * List all active payroll calendars for EOR.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payroll calendars (`payroll_calendar:read`) | - |\n */\nexport const getV1PayrollCalendars = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1PayrollCalendarsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1PayrollCalendarsResponses,\n GetV1PayrollCalendarsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/payroll-calendars',\n ...options,\n });\n\n/**\n * Update Time Off as Employee\n *\n * Updates a Time Off record as Employee\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const patchV1EmployeeTimeoffId2 = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1EmployeeTimeoffId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1EmployeeTimeoffId2Responses,\n PatchV1EmployeeTimeoffId2Errors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/timeoff/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update Time Off as Employee\n *\n * Updates a Time Off record as Employee\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const patchV1EmployeeTimeoffId = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1EmployeeTimeoffIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1EmployeeTimeoffIdResponses,\n PatchV1EmployeeTimeoffIdErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/timeoff/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List Recurring Incentive\n *\n * List all Recurring Incentives of a company.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | View incentives (`incentive:read`) | Manage incentives (`incentive:write`) |\n */\nexport const getV1IncentivesRecurring = <ThrowOnError extends boolean = false>(\n options: Options<GetV1IncentivesRecurringData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1IncentivesRecurringResponses,\n GetV1IncentivesRecurringErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/incentives/recurring',\n ...options,\n });\n\n/**\n * Create Recurring Incentive\n *\n * Create a Recurring Incentive, that is, a monthly paid incentive.\n *\n * Incentives use the currency of the employment specified provided in the `employment_id` field.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | - | Manage incentives (`incentive:write`) |\n */\nexport const postV1IncentivesRecurring = <ThrowOnError extends boolean = false>(\n options: Options<PostV1IncentivesRecurringData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1IncentivesRecurringResponses,\n PostV1IncentivesRecurringErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/incentives/recurring',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Creates a Benefit Renewal Request\n *\n * Creates a Benefit Renewal Request for a specific Benefit Group.\n * This endpoint is only available in Sandbox, otherwise it will respond with a 404.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const postV1SandboxBenefitRenewalRequests = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1SandboxBenefitRenewalRequestsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1SandboxBenefitRenewalRequestsResponses,\n PostV1SandboxBenefitRenewalRequestsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/benefit-renewal-requests',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Return a base64 encoded version of the contract document\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n */\nexport const getV1ContractorsEmploymentsEmploymentIdContractDocumentsId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1ContractorsEmploymentsEmploymentIdContractDocumentsIdData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1ContractorsEmploymentsEmploymentIdContractDocumentsIdResponses,\n GetV1ContractorsEmploymentsEmploymentIdContractDocumentsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/contract-documents/{id}',\n ...options,\n });\n\n/**\n * List contract documents for an employment\n *\n * Only contractor employment types are supported. Lists contract documents for a specific employment with pagination, filtering by status, and sorted by updated_at descending (latest first).\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n */\nexport const getV1EmploymentsEmploymentIdContractDocuments = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1EmploymentsEmploymentIdContractDocumentsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdContractDocumentsResponses,\n GetV1EmploymentsEmploymentIdContractDocumentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/contract-documents',\n ...options,\n });\n\n/**\n * Remove a pre-onboarding acknowledgement\n *\n * Removes a previously recorded acknowledgement. Rejected once a requirement that depends on\n * this acknowledgement has been signed/completed.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage documents (`document:write`) |\n */\nexport const deleteV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledge =\n <ThrowOnError extends boolean = false>(\n options: Options<\n DeleteV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).delete<\n DeleteV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeResponses,\n DeleteV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/onboarding/employments/{employment_id}/pre-onboarding-requirements/{requirement_slug}/acknowledge',\n ...options,\n });\n\n/**\n * Acknowledge a pre-onboarding acknowledgement requirement\n *\n * Records an acknowledgement for an acknowledgement requirement. Rejected if the requirement\n * is blocked by an unmet dependency or has already been acknowledged.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage documents (`document:write`) |\n */\nexport const postV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledge =\n <ThrowOnError extends boolean = false>(\n options: Options<\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).post<\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeResponses,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugAcknowledgeErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/onboarding/employments/{employment_id}/pre-onboarding-requirements/{requirement_slug}/acknowledge',\n ...options,\n });\n\n/**\n * List expenses\n *\n * Lists all expenses records\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n */\nexport const getV1Expenses = <ThrowOnError extends boolean = false>(\n options: Options<GetV1ExpensesData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ExpensesResponses,\n GetV1ExpensesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/expenses',\n ...options,\n });\n\n/**\n * Create expense\n *\n * Creates an **approved** expense\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |\n */\nexport const postV1Expenses = <ThrowOnError extends boolean = false>(\n options: Options<PostV1ExpensesData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1ExpensesResponses,\n PostV1ExpensesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/expenses',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show the current SSO Configuration\n *\n * Shows the current SSO Configuration for the company.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View SSO configuration (`sso_configuration:read`) | Manage SSO (`sso_configuration:write`) |\n */\nexport const getV1SsoConfiguration = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1SsoConfigurationData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1SsoConfigurationResponses,\n GetV1SsoConfigurationErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sso-configuration',\n ...options,\n });\n\n/**\n * Create the SSO Configuration\n *\n * Creates the SSO Configuration for the company.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage SSO (`sso_configuration:write`) |\n */\nexport const postV1SsoConfiguration = <ThrowOnError extends boolean = false>(\n options: Options<PostV1SsoConfigurationData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1SsoConfigurationResponses,\n PostV1SsoConfigurationErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sso-configuration',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Create a contractor timesheet\n *\n * Creates a timesheet on behalf of a contractor employment.\n *\n * The submitted hours are immediately available to the contractor in the Remote UI for\n * self-serve invoice creation (Invoices → Create invoice → \"Use Time Tracking\").\n *\n * This endpoint is restricted to contractor employments. Calls against EOR or Global Payroll\n * employments are rejected with `422`.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timesheets (`timesheet:write`) |\n */\nexport const postV1ContractorsEmploymentsEmploymentIdTimesheets = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1ContractorsEmploymentsEmploymentIdTimesheetsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1ContractorsEmploymentsEmploymentIdTimesheetsResponses,\n PostV1ContractorsEmploymentsEmploymentIdTimesheetsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/timesheets',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Approve Contract Amendment\n *\n * Approves a contract amendment request without the intervention of a Remote admin.\n * Approvals done via this endpoint are effective immediately,\n * regardless of the effective date entered on the contract amendment creation.\n *\n * This endpoint is only available in Sandbox, otherwise it will respond with a 404.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const putV1SandboxContractAmendmentsContractAmendmentRequestIdApprove = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdApproveData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdApproveResponses,\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdApproveErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/contract-amendments/{contract_amendment_request_id}/approve',\n ...options,\n });\n\n/**\n * Receive an ADP Marketplace user-assignment event\n *\n * Called by ADP Marketplace when a user is assigned to manage the subscription.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1AdpUserAssignments = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1AdpUserAssignmentsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1AdpUserAssignmentsResponses,\n GetV1AdpUserAssignmentsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/adp/user-assignments',\n ...options,\n });\n\n/**\n * Create a GL report\n *\n * Triggers generation of a General Ledger report for the given payroll run and type.\n * Returns immediately with a `pending` report — poll `show` until `status` is `completed`,\n * then call `download`.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payroll runs (`payroll_run:read`) | - |\n */\nexport const postV1PayrollRunsPayrollRunIdGlReports = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1PayrollRunsPayrollRunIdGlReportsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1PayrollRunsPayrollRunIdGlReportsResponses,\n PostV1PayrollRunsPayrollRunIdGlReportsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/payroll-runs/{payroll_run_id}/gl-reports',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List Employee Leave Policies\n *\n * List the leave policies for the current employee\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timeoffs (`timeoff:read`) | Manage timeoffs (`timeoff:write`) |\n */\nexport const getV1EmployeeLeavePolicies = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1EmployeeLeavePoliciesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeLeavePoliciesResponses,\n GetV1EmployeeLeavePoliciesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/leave-policies',\n ...options,\n });\n\n/**\n * List all currencies for the contractor\n *\n * The currencies are listed in the following order:\n * 1. billing currency of the company\n * 2. currencies of contractor’s existing withdrawal methods\n * 3. currency of the contractor’s country\n * 4. the rest, alphabetical.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1ContractorsEmploymentsEmploymentIdContractorCurrencies = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1ContractorsEmploymentsEmploymentIdContractorCurrenciesData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1ContractorsEmploymentsEmploymentIdContractorCurrenciesResponses,\n GetV1ContractorsEmploymentsEmploymentIdContractorCurrenciesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/contractor-currencies',\n ...options,\n });\n\n/**\n * Show a single company project\n *\n * Shows a single contractor project by its ID.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View projects (`project:read`) | Manage projects (`project:write`) |\n */\nexport const getV1ProjectsId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1ProjectsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ProjectsIdResponses,\n GetV1ProjectsIdErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/projects/{id}',\n ...options,\n });\n\n/**\n * Update a company project\n *\n * Updates a single contractor project by its ID.\n *\n * Omitted fields are left unchanged. `lead_ids` and `team_member_ids` are replaced wholesale\n * when present, so send the complete desired list rather than only the additions, and send an\n * empty list to remove everyone. Read the project first to get its current membership.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage projects (`project:write`) |\n */\nexport const patchV1ProjectsId = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1ProjectsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1ProjectsIdResponses,\n PatchV1ProjectsIdErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/projects/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Replay Webhook Events\n *\n * Replay webhook events\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage webhooks (`webhook:write`) |\n */\nexport const postV1WebhookEventsReplay = <ThrowOnError extends boolean = false>(\n options: Options<PostV1WebhookEventsReplayData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1WebhookEventsReplayResponses,\n PostV1WebhookEventsReplayErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/webhook-events/replay',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Create a contractor of record (COR) termination request\n *\n * Initiates a termination request for a Contractor of Record employment.\n * When a termination request is sent, a stop work order is issued and the contractor remains active until a final invoice is paid or waived.\n * Currently, only Contractor of Record employments can be terminated.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV1ContractorsEmploymentsEmploymentIdCorTerminationRequests = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsResponses,\n PostV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/cor-termination-requests',\n ...options,\n });\n\n/**\n * Show Background Check\n *\n * Show Background Check details for a given employment and background check request.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View background checks (`background_check:read`) | - |\n */\nexport const getV1EmploymentsEmploymentIdBackgroundChecksBackgroundCheckId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1EmploymentsEmploymentIdBackgroundChecksBackgroundCheckIdData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdBackgroundChecksBackgroundCheckIdResponses,\n GetV1EmploymentsEmploymentIdBackgroundChecksBackgroundCheckIdErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employments/{employment_id}/background-checks/{background_check_id}',\n ...options,\n });\n\n/**\n * Show benefit renewal request schema\n *\n * Returns the json schema of the `benefit_renewal_request` form for a specific request.\n * This endpoint requires a company access token, as forms are dependent on certain\n * properties of companies and their current employments.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View benefit renewals (`benefit_renewal:read`) | Manage benefit renewals (`benefit_renewal:write`) |\n */\nexport const getV1BenefitRenewalRequestsBenefitRenewalRequestIdSchema = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdSchemaData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdSchemaResponses,\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdSchemaErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/benefit-renewal-requests/{benefit_renewal_request_id}/schema',\n ...options,\n });\n\n/**\n * Magic links generator\n *\n * Generates a magic link for a passwordless authentication.\n * To create a magic link for a company admin, you need to provide the `user_id` parameter.\n * To create a magic link for an employee, you need to provide the `employment_id` parameter.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Create magic links (`magic_link:write`) |\n */\nexport const postV1MagicLink = <ThrowOnError extends boolean = false>(\n options: Options<PostV1MagicLinkData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1MagicLinkResponses,\n PostV1MagicLinkErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/magic-link',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Delete a Recurring Incentive\n *\n * Delete a Recurring Incentive, that is, a monthly paid incentive.\n *\n * Internally, Remote schedules upcoming incentives. As such, when you attempt to\n * delete a recurring incentive, Remote will **ONLY** delete scheduled incentives\n * with the `pending` status.\n *\n * Incentives payments that are already scheduled and cannot be deleted will be\n * included in the response, in case you need to reference them.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | - | Manage incentives (`incentive:write`) |\n */\nexport const deleteV1IncentivesRecurringId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<DeleteV1IncentivesRecurringIdData, ThrowOnError>,\n) =>\n (options.client ?? client).delete<\n DeleteV1IncentivesRecurringIdResponses,\n DeleteV1IncentivesRecurringIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/incentives/recurring/{id}',\n ...options,\n });\n\n/**\n * List Incentives\n *\n * Lists all Incentives of a company\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | View incentives (`incentive:read`) | Manage incentives (`incentive:write`) |\n */\nexport const getV1Incentives = <ThrowOnError extends boolean = false>(\n options: Options<GetV1IncentivesData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1IncentivesResponses,\n GetV1IncentivesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/incentives',\n ...options,\n });\n\n/**\n * Create Incentive\n *\n * Creates an Incentive.\n *\n * Incentives use the currency of the employment specified provided in the `employment_id` field.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | - | Manage incentives (`incentive:write`) |\n */\nexport const postV1Incentives = <ThrowOnError extends boolean = false>(\n options: Options<PostV1IncentivesData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1IncentivesResponses,\n PostV1IncentivesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/incentives',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Create probation completion letter\n *\n * Create a new probation completion letter request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage probation documents (`probation_document:write`) |\n */\nexport const postV1ProbationCompletionLetter = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1ProbationCompletionLetterData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1ProbationCompletionLetterResponses,\n PostV1ProbationCompletionLetterErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/probation-completion-letter',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show Contractor Invoice Schedule\n *\n * Shows a single Contractor Invoice Schedule record\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | View invoices (`invoices:read`) | Manage invoices (`invoices:write`) |\n */\nexport const getV1ContractorInvoiceSchedulesId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1ContractorInvoiceSchedulesIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ContractorInvoiceSchedulesIdResponses,\n GetV1ContractorInvoiceSchedulesIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractor-invoice-schedules/{id}',\n ...options,\n });\n\n/**\n * Updates Contractor Invoice Schedule\n *\n * Updates a contractor invoice schedule record\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | - | Manage invoices (`invoices:write`) |\n */\nexport const patchV1ContractorInvoiceSchedulesId2 = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1ContractorInvoiceSchedulesId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1ContractorInvoiceSchedulesId2Responses,\n PatchV1ContractorInvoiceSchedulesId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractor-invoice-schedules/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Updates Contractor Invoice Schedule\n *\n * Updates a contractor invoice schedule record\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | - | Manage invoices (`invoices:write`) |\n */\nexport const patchV1ContractorInvoiceSchedulesId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1ContractorInvoiceSchedulesIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1ContractorInvoiceSchedulesIdResponses,\n PatchV1ContractorInvoiceSchedulesIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractor-invoice-schedules/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List pre-onboarding document requirements for an employment\n *\n * Returns the list of pre-onboarding document requirements (e.g. master service agreements,\n * individual labour agreements) that must be fulfilled before the given employment can be onboarded.\n *\n * Deprecated: use `GET /onboarding/employments/:employment_id/pre-onboarding-requirements` instead,\n * which returns both document and acknowledgement requirements.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n *\n * @deprecated\n */\nexport const getV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentRequirements =\n <ThrowOnError extends boolean = false>(\n options: Options<\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentRequirementsData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).get<\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentRequirementsResponses,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentRequirementsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/onboarding/employments/{employment_id}/pre-onboarding-document-requirements',\n ...options,\n });\n\n/**\n * Show a GL report\n *\n * Returns the current status of a GL report. Poll until `status` is `completed`, then call `download`.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payroll runs (`payroll_run:read`) | - |\n */\nexport const getV1PayrollRunsPayrollRunIdGlReportsGlReportId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdResponses,\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/payroll-runs/{payroll_run_id}/gl-reports/{gl_report_id}',\n ...options,\n });\n\n/**\n * Show Billing Document\n *\n * Shows a billing document details.\n *\n * Please contact api-support@remote.com to request access to this endpoint.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | View invoices (`invoices:read`) | Manage invoices (`invoices:write`) |\n */\nexport const getV1BillingDocumentsBillingDocumentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1BillingDocumentsBillingDocumentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1BillingDocumentsBillingDocumentIdResponses,\n GetV1BillingDocumentsBillingDocumentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/billing-documents/{billing_document_id}',\n ...options,\n });\n\n/**\n * Creates PDF cost estimation of employments\n *\n * Creates a PDF cost estimation of employments based on the provided parameters.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n * - **Client token** (`ClientToken`) — a partner `client_token`, accepted only on marketing endpoints. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const postV1CostCalculatorEstimationPdf = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<PostV1CostCalculatorEstimationPdfData, ThrowOnError>,\n) =>\n (options?.client ?? client).post<\n PostV1CostCalculatorEstimationPdfResponses,\n PostV1CostCalculatorEstimationPdfErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/cost-calculator/estimation-pdf',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * Bulk list employments\n *\n * Lists full-detail employments for the company scope, page-by-page via an opaque cursor.\n * Each employment is the same shape returned by Show employment, except files are excluded\n * to avoid a per-employment file lookup; use the Show employment endpoint to fetch files for\n * a specific employment. The `files` field is always `null` on this endpoint.\n *\n * Pass the `next_cursor` value from a page's response as the `cursor` query parameter to fetch\n * the next page. `next_cursor` is `null` once the last page has been reached.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1EmploymentsBulk = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmploymentsBulkData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmploymentsBulkResponses,\n GetV1EmploymentsBulkErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/bulk',\n ...options,\n });\n\n/**\n * List cost center allocations for an employment\n *\n * Lists the cost center allocations for an employment. Each allocation includes the cost center,\n * the allocated percentage, and its effective period. An employment with no cost center assigned\n * returns an empty list.\n *\n * Use the `status` query parameter to return only `active`, `scheduled`, or `expired` allocations.\n * When omitted, all allocations are returned.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1EmploymentsEmploymentIdCostCenterAllocations = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1EmploymentsEmploymentIdCostCenterAllocationsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdCostCenterAllocationsResponses,\n GetV1EmploymentsEmploymentIdCostCenterAllocationsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/cost-center-allocations',\n ...options,\n });\n\n/**\n * Show work authorization request\n *\n * Show a single work authorization request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View work authorizations (`work_authorization:read`) | Manage work authorizations (`work_authorization:write`) |\n */\nexport const getV1WorkAuthorizationRequestsId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1WorkAuthorizationRequestsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1WorkAuthorizationRequestsIdResponses,\n GetV1WorkAuthorizationRequestsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/work-authorization-requests/{id}',\n ...options,\n });\n\n/**\n * Update work authorization request\n *\n * Updates a work authorization request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage work authorizations (`work_authorization:write`) |\n */\nexport const patchV1WorkAuthorizationRequestsId2 = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1WorkAuthorizationRequestsId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1WorkAuthorizationRequestsId2Responses,\n PatchV1WorkAuthorizationRequestsId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/work-authorization-requests/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update work authorization request\n *\n * Updates a work authorization request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage work authorizations (`work_authorization:write`) |\n */\nexport const patchV1WorkAuthorizationRequestsId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1WorkAuthorizationRequestsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1WorkAuthorizationRequestsIdResponses,\n PatchV1WorkAuthorizationRequestsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/work-authorization-requests/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List Employee Leave Policies Summary\n *\n * List the leave policies summary (balances and entitlements) for the current employee\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timeoffs (`timeoff:read`) | Manage timeoffs (`timeoff:write`) |\n */\nexport const getV1EmployeeLeavePoliciesSummary = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1EmployeeLeavePoliciesSummaryData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeLeavePoliciesSummaryResponses,\n GetV1EmployeeLeavePoliciesSummaryErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/leave-policies/summary',\n ...options,\n });\n\n/**\n * Update federal taxes\n *\n * Updates employment's federal taxes.\n *\n * Requirements to update federal taxes successfully:\n * * Employment should be Global Payroll\n * * Employment should be in the post-enrollment state\n * * Employment should belong to USA\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV2EmploymentsEmploymentIdFederalTaxes = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PutV2EmploymentsEmploymentIdFederalTaxesData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PutV2EmploymentsEmploymentIdFederalTaxesResponses,\n PutV2EmploymentsEmploymentIdFederalTaxesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/federal-taxes',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Create Probation Extension\n *\n * Create a probation extension request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage probation documents (`probation_document:write`) |\n */\nexport const postV1ProbationExtensions = <ThrowOnError extends boolean = false>(\n options: Options<PostV1ProbationExtensionsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1ProbationExtensionsResponses,\n PostV1ProbationExtensionsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/probation-extensions',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Create risk reserve\n *\n * Create a new risk reserve\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage risk reserves (`risk_reserve:write`) |\n */\nexport const postV1RiskReserve = <ThrowOnError extends boolean = false>(\n options: Options<PostV1RiskReserveData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1RiskReserveResponses,\n PostV1RiskReserveErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/risk-reserve',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Submit risk reserve proof of payment\n *\n * Submits a proof of payment document for a risk reserve associated with an employment.\n *\n * Triggers an `employment.cor_hiring.proof_of_payment_submitted` webhook event.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage risk reserves (`risk_reserve:write`) |\n */\nexport const postV1EmploymentsEmploymentIdRiskReserveProofOfPayments = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1EmploymentsEmploymentIdRiskReserveProofOfPaymentsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1EmploymentsEmploymentIdRiskReserveProofOfPaymentsResponses,\n PostV1EmploymentsEmploymentIdRiskReserveProofOfPaymentsErrors,\n ThrowOnError\n >({\n ...formDataBodySerializer,\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/risk-reserve-proof-of-payments',\n ...options,\n headers: {\n 'Content-Type': null,\n ...options.headers,\n },\n });\n\n/**\n * Get Company Compliance Profile\n *\n * Returns the KYB and credit risk status for the company's default legal entity.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View companies (`company:read`) | Manage companies (`company:write`) |\n */\nexport const getV1CompaniesCompanyIdComplianceProfile = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1CompaniesCompanyIdComplianceProfileData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdComplianceProfileResponses,\n GetV1CompaniesCompanyIdComplianceProfileErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}/compliance-profile',\n ...options,\n });\n\n/**\n * Show product prices in the company's desired currency\n *\n * list product prices in the company's desired currency.\n * the endpoint currently only returns the product prices for the EOR monthly product and the contractor products (Standard, Plus and COR).\n * the product prices are then used to create a pricing plan for the company.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage companies (`company_management`) | View pricing plans (`pricing_plan:read`) | Manage pricing plans (`pricing_plan:write`) |\n */\nexport const getV1CompaniesCompanyIdProductPrices = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1CompaniesCompanyIdProductPricesData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdProductPricesResponses,\n GetV1CompaniesCompanyIdProductPricesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/companies/{company_id}/product-prices',\n ...options,\n });\n\n/**\n * Show a company\n *\n * Given an ID, shows a company.\n *\n * If the used access token was issued by the OAuth 2.0 Authorization Code flow,\n * then only the associated company can be accessed through the endpoint.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View companies (`company:read`) | Manage companies (`company:write`) |\n */\nexport const getV1CompaniesCompanyId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1CompaniesCompanyIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdResponses,\n GetV1CompaniesCompanyIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}',\n ...options,\n });\n\n/**\n * Update a company\n *\n * Given an ID and a request object with new information, updates a company.\n *\n * ### Getting a company and its owner to `active` status\n * If you created a company using the\n * [create a company endpoint](#tag/Companies/operation/post_create_company) without all the required\n * request body parameters, you can use this endpoint to provide the missing data. Once the company\n * and its owner have all the necessary data, both their statuses will be set to `active` and the company\n * onboarding will be marked as \"completed\".\n *\n * The following constitutes a company with \"all the necessary data\":\n * * Complete `address`, with valid `address`, `postal_code`, `country` and `state` parameters (Varies by country. Use the\n * [show form schema endpoint](#tag/Countries/operation/get_show_form_country) to see which address parameters\n * are required).\n * * Company `tax_number` or `registration_number` is not nil\n * * Company `name` is not nil (already required when creating the company)\n * * Company has a `desired_currency` in their bank account (already required when creating the company)\n * * Company has accepted terms of service (already required when creating the company)\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage companies (`company_management`) | - | Manage companies (`company:write`) |\n */\nexport const patchV1CompaniesCompanyId2 = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1CompaniesCompanyId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1CompaniesCompanyId2Responses,\n PatchV1CompaniesCompanyId2Errors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/companies/{company_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update a company\n *\n * Given an ID and a request object with new information, updates a company.\n *\n * ### Getting a company and its owner to `active` status\n * If you created a company using the\n * [create a company endpoint](#tag/Companies/operation/post_create_company) without all the required\n * request body parameters, you can use this endpoint to provide the missing data. Once the company\n * and its owner have all the necessary data, both their statuses will be set to `active` and the company\n * onboarding will be marked as \"completed\".\n *\n * The following constitutes a company with \"all the necessary data\":\n * * Complete `address`, with valid `address`, `postal_code`, `country` and `state` parameters (Varies by country. Use the\n * [show form schema endpoint](#tag/Countries/operation/get_show_form_country) to see which address parameters\n * are required).\n * * Company `tax_number` or `registration_number` is not nil\n * * Company `name` is not nil (already required when creating the company)\n * * Company has a `desired_currency` in their bank account (already required when creating the company)\n * * Company has accepted terms of service (already required when creating the company)\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage companies (`company_management`) | - | Manage companies (`company:write`) |\n */\nexport const patchV1CompaniesCompanyId = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1CompaniesCompanyIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1CompaniesCompanyIdResponses,\n PatchV1CompaniesCompanyIdErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/companies/{company_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show employee address\n *\n * Returns the authenticated employee's residential address.\n *\n * The employment is derived from the access token's subject — there is no\n * employment id in the path.\n *\n * This endpoint requires country-specific data. The exact required fields vary depending on which\n * country the authenticated employee's employment is in. Query the\n * [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint with `address_details`\n * as the form name to discover the schema for a given country.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View addresses (`address:read`) | Manage addresses (`address:write`) |\n */\nexport const getV1EmployeeAddress = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmployeeAddressData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeAddressResponses,\n GetV1EmployeeAddressErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/address',\n ...options,\n });\n\n/**\n * Update employee address\n *\n * Updates the authenticated employee's residential address.\n *\n * The employment is derived from the access token's subject — there is no\n * employment id in the path. The token must be an employee-role token\n * (typically obtained via the OAuth2 assertion grant with subject\n * `urn:remote-api:employee:employment:<employment_id>`).\n *\n * This endpoint requires country-specific data. The exact required fields vary depending on which\n * country the authenticated employee's employment is in. Query the\n * [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint with `address_details`\n * as the form name to discover the schema for a given country.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage addresses (`address:write`) |\n */\nexport const putV1EmployeeAddress = <ThrowOnError extends boolean = false>(\n options?: Options<PutV1EmployeeAddressData, ThrowOnError>,\n) =>\n (options?.client ?? client).put<\n PutV1EmployeeAddressResponses,\n PutV1EmployeeAddressErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/address',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * Download a resignation letter\n *\n * Downloads a resignation letter from an employment request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View resignation letters (`resignation_letter:read`) | - |\n */\nexport const getV1ResignationsOffboardingRequestIdResignationLetter = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1ResignationsOffboardingRequestIdResignationLetterData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1ResignationsOffboardingRequestIdResignationLetterResponses,\n GetV1ResignationsOffboardingRequestIdResignationLetterErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/resignations/{offboarding_request_id}/resignation-letter',\n ...options,\n });\n\n/**\n * Get basic information\n *\n * Returns the employment's basic information.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV2EmploymentsEmploymentIdBasicInformation = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV2EmploymentsEmploymentIdBasicInformationData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV2EmploymentsEmploymentIdBasicInformationResponses,\n GetV2EmploymentsEmploymentIdBasicInformationErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/basic-information',\n ...options,\n });\n\n/**\n * Update basic information\n *\n * Updates employment's basic information.\n *\n * Supported employment statuses: `created`, `job_title_review`, `created_reserve_paid`, `created_awaiting_reserve`.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV2EmploymentsEmploymentIdBasicInformation = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV2EmploymentsEmploymentIdBasicInformationData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV2EmploymentsEmploymentIdBasicInformationResponses,\n PutV2EmploymentsEmploymentIdBasicInformationErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/basic-information',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update federal taxes\n *\n * Updates employment's federal taxes.\n *\n * Requirements to update federal taxes successfully:\n * * Employment should be Global Payroll\n * * Employment should be in the post-enrollment state\n * * Employment should belong to USA\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV1EmploymentsEmploymentIdFederalTaxes = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PutV1EmploymentsEmploymentIdFederalTaxesData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PutV1EmploymentsEmploymentIdFederalTaxesResponses,\n PutV1EmploymentsEmploymentIdFederalTaxesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/federal-taxes',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Receive an ADP Marketplace subscription-change event\n *\n * Called by ADP Marketplace when a customer changes their subscription (e.g. edition or user count).\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1AdpSubscriptionChanges = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1AdpSubscriptionChangesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1AdpSubscriptionChangesResponses,\n GetV1AdpSubscriptionChangesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/adp/subscription-changes',\n ...options,\n });\n\n/**\n * List Contract Amendment. Requires a token issued via the authorization_code grant (company_manager role) — not usable with a client_credentials (integration) token.\n *\n * List Contract Amendment requests.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View contract amendments (`contract_amendment:read`) | Manage contract amendments (`contract_amendment:write`) |\n */\nexport const getV1ContractAmendments = <ThrowOnError extends boolean = false>(\n options: Options<GetV1ContractAmendmentsData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ContractAmendmentsResponses,\n GetV1ContractAmendmentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contract-amendments',\n ...options,\n });\n\n/**\n * Create Contract Amendment\n *\n * Creates a Contract Amendment request.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Contract Amendments](#tag/Contract-Amendments) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage contract amendments (`contract_amendment:write`) |\n */\nexport const postV1ContractAmendments = <ThrowOnError extends boolean = false>(\n options: Options<PostV1ContractAmendmentsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1ContractAmendmentsResponses,\n PostV1ContractAmendmentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contract-amendments',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Download the Employment Agreement for an employment\n *\n * Downloads a PDF of the auto-generated Employment Agreement for an employment.\n *\n * The document is rendered as a draft (no signatures) and is not persisted. EA preview is only\n * available for countries that have a published Employment Agreement automation template — see the\n * `employment_agreement_preview_available` flag on the [Countries](#tag/Countries) endpoint.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n */\nexport const getV1EmploymentsEmploymentIdEmploymentAgreementDownload = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1EmploymentsEmploymentIdEmploymentAgreementDownloadData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdEmploymentAgreementDownloadResponses,\n GetV1EmploymentsEmploymentIdEmploymentAgreementDownloadErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/employment-agreement/download',\n ...options,\n });\n\n/**\n * Show Company Payroll Runs\n *\n * Given an ID, shows a payroll run.\n * `employee_details` field is deprecated in favour of the `employee_details` endpoint and will be removed in the future.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payroll runs (`payroll_run:read`) | - |\n */\nexport const getV1PayrollRunsPayrollRunId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1PayrollRunsPayrollRunIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1PayrollRunsPayrollRunIdResponses,\n GetV1PayrollRunsPayrollRunIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/payroll-runs/{payroll_run_id}',\n ...options,\n });\n\n/**\n * Download a receipt\n *\n * Downloads an expense receipt.\n *\n * Deprecated since late February 2024 in favour of **[Download a receipt by id](#tag/Expenses/operation/get_download_by_id_expense_receipt)** endpoint.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n *\n * @deprecated\n */\nexport const getV1ExpensesExpenseIdReceipt = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1ExpensesExpenseIdReceiptData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ExpensesExpenseIdReceiptResponses,\n GetV1ExpensesExpenseIdReceiptErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/expenses/{expense_id}/receipt',\n ...options,\n });\n\n/**\n * Show travel letter request\n *\n * Show a single travel letter request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View travel letters (`travel_letter:read`) | Manage travel letters (`travel_letter:write`) |\n */\nexport const getV1TravelLetterRequestsId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1TravelLetterRequestsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1TravelLetterRequestsIdResponses,\n GetV1TravelLetterRequestsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/travel-letter-requests/{id}',\n ...options,\n });\n\n/**\n * Updates a travel letter request\n *\n * Updates a travel letter request\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage travel letters (`travel_letter:write`) |\n */\nexport const patchV1TravelLetterRequestsId2 = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1TravelLetterRequestsId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1TravelLetterRequestsId2Responses,\n PatchV1TravelLetterRequestsId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/travel-letter-requests/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Updates a travel letter request\n *\n * Updates a travel letter request\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage travel letters (`travel_letter:write`) |\n */\nexport const patchV1TravelLetterRequestsId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1TravelLetterRequestsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1TravelLetterRequestsIdResponses,\n PatchV1TravelLetterRequestsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/travel-letter-requests/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show Time Off Balance\n *\n * Shows the time off balance for the given employment_id.\n *\n * Deprecated since February 2025 in favour of **[List Leave Policies Summary](#tag/Leave-Policies/operation/get_index_leave_policies_summary)** endpoint.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timeoffs (`timeoff:read`) | Manage timeoffs (`timeoff:write`) |\n *\n * @deprecated\n */\nexport const getV1TimeoffBalancesEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1TimeoffBalancesEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1TimeoffBalancesEmploymentIdResponses,\n GetV1TimeoffBalancesEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff-balances/{employment_id}',\n ...options,\n });\n\n/**\n * Find or create a document for a pre-onboarding requirement\n *\n * Finds an existing unsigned pre-onboarding document for the given document requirement, or\n * creates a new one. Idempotent: repeated calls return the same document until it is signed.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage documents (`document:write`) |\n */\nexport const postV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugDocuments =\n <ThrowOnError extends boolean = false>(\n options: Options<\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugDocumentsData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).post<\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugDocumentsResponses,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsRequirementSlugDocumentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/onboarding/employments/{employment_id}/pre-onboarding-requirements/{requirement_slug}/documents',\n ...options,\n });\n\n/**\n * List expense categories\n *\n * Lists the effective hierarchy of expense categories. At least one of employment_id, expense_id, or country_code must be provided.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const getV1ExpensesCategories = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1ExpensesCategoriesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1ExpensesCategoriesResponses,\n GetV1ExpensesCategoriesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/expenses/categories',\n ...options,\n });\n\n/**\n * Cancel Time Off as Employee\n *\n * Cancels a Time Off record as Employee\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const postV1EmployeeTimeoffIdCancel = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1EmployeeTimeoffIdCancelData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1EmployeeTimeoffIdCancelResponses,\n PostV1EmployeeTimeoffIdCancelErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/timeoff/{id}/cancel',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show form schema\n *\n * Returns the json schema of a supported form. Possible form names are:\n * ```\n * - address_details\n * - administrative_details\n * - bank_account_details\n * - employment_basic_information\n * - contractor_basic_information\n * - contractor_contract_details\n * - billing_address_details\n * - contract_details\n * - emergency_contact\n * - emergency_contact_details\n * - employment_document_details\n * - engagement_agreement_details\n * - personal_details\n * - pricing_plan_details\n * - company_basic_information\n * - global_payroll_administrative_details\n * - global_payroll_bank_account_details\n * - global_payroll_basic_information\n * - global_payroll_contract_details\n * - global_payroll_federal_taxes\n * - global_payroll_state_taxes\n * - global_payroll_personal_details\n * - benefit_renewal_request\n * - hris_personal_details\n *\n * ```\n *\n * Most forms require a company access token, as they are dependent on certain\n * properties of companies and their current employments. However, the `address_details`\n * and `company_basic_information` forms can be accessed using client_credentials\n * authentication (without a company).\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View forms (`form:read`) | - |\n */\nexport const getV1CountriesCountryCodeForm = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1CountriesCountryCodeFormData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CountriesCountryCodeFormResponses,\n GetV1CountriesCountryCodeFormErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/countries/{country_code}/{form}',\n ...options,\n });\n\n/**\n * Download file\n *\n * Downloads a file.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n */\nexport const getV1FilesId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1FilesIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1FilesIdResponses,\n GetV1FilesIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/files/{id}',\n ...options,\n });\n\n/**\n * Show Contract Amendment\n *\n * Show a single Contract Amendment request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View contract amendments (`contract_amendment:read`) | Manage contract amendments (`contract_amendment:write`) |\n */\nexport const getV1ContractAmendmentsId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1ContractAmendmentsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ContractAmendmentsIdResponses,\n GetV1ContractAmendmentsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contract-amendments/{id}',\n ...options,\n });\n\n/**\n * List Company Managers\n *\n * List all company managers of an integration. If filtered by the company_id param,\n * it lists only company managers belonging to the specified company.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View managers (`company_manager:read`) | Manage managers (`company_manager:write`) |\n */\nexport const getV1CompanyManagers = <ThrowOnError extends boolean = false>(\n options: Options<GetV1CompanyManagersData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompanyManagersResponses,\n GetV1CompanyManagersErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/company-managers',\n ...options,\n });\n\n/**\n * Create and invite a Company Manager\n *\n * Create a Company Manager and sends the invitation email for signing in to the Remote Platform.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage managers (`company_manager:write`) |\n */\nexport const postV1CompanyManagers = <ThrowOnError extends boolean = false>(\n options: Options<PostV1CompanyManagersData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CompanyManagersResponses,\n PostV1CompanyManagersErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/company-managers',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List countries for Cost Calculator\n *\n * Lists countries available for cost calculation\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n * - **Client token** (`ClientToken`) — a partner `client_token`, accepted only on marketing endpoints. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1CostCalculatorCountries = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1CostCalculatorCountriesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1CostCalculatorCountriesResponses,\n unknown,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/cost-calculator/countries',\n ...options,\n });\n\n/**\n * Decline Identity Verification\n *\n * Declines the identity verification of an employee.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage identity verification (`identity_verification:write`) |\n */\nexport const postV1IdentityVerificationEmploymentIdDecline = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1IdentityVerificationEmploymentIdDeclineData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1IdentityVerificationEmploymentIdDeclineResponses,\n PostV1IdentityVerificationEmploymentIdDeclineErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/identity-verification/{employment_id}/decline',\n ...options,\n });\n\n/**\n * Retrieve a pre-onboarding document with its rendered PDF content\n *\n * Returns the rendered contract PDF (base64-encoded) and the list of signatories for the given\n * pre-onboarding document. The `content` field is prefixed with `data:application/pdf;base64,` so\n * it can be embedded directly in a document viewer.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n */\nexport const getV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdResponses,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/onboarding/employments/{employment_id}/pre-onboarding-documents/{id}',\n ...options,\n });\n\n/**\n * List Billing Documents\n *\n * List billing documents for a company\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | View invoices (`invoices:read`) | Manage invoices (`invoices:write`) |\n */\nexport const getV1BillingDocuments = <ThrowOnError extends boolean = false>(\n options: Options<GetV1BillingDocumentsData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1BillingDocumentsResponses,\n GetV1BillingDocumentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/billing-documents',\n ...options,\n });\n\n/**\n * Delete a Webhook Callback\n *\n * Delete a callback previously registered for webhooks\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage webhooks (`webhook:write`) |\n */\nexport const deleteV1WebhookCallbacksId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<DeleteV1WebhookCallbacksIdData, ThrowOnError>,\n) =>\n (options.client ?? client).delete<\n DeleteV1WebhookCallbacksIdResponses,\n DeleteV1WebhookCallbacksIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/webhook-callbacks/{id}',\n ...options,\n });\n\n/**\n * Update a Webhook Callback\n *\n * Update a callback previously registered for webhooks\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage webhooks (`webhook:write`) |\n */\nexport const patchV1WebhookCallbacksId = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1WebhookCallbacksIdData, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1WebhookCallbacksIdResponses,\n PatchV1WebhookCallbacksIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/webhook-callbacks/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Submit employee federal taxes\n *\n * Submits the authenticated employee's US federal tax (W-4) details.\n *\n * Available for US Global Payroll employees once they reach the\n * post-enrollment state. Calls made before then return a 404.\n *\n * This endpoint requires country-specific data. Query the\n * [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint with `global_payroll_federal_taxes`\n * as the form name to discover the schema for a given country.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage personal details (`personal_detail:write`) |\n */\nexport const putV1EmployeeFederalTaxes = <ThrowOnError extends boolean = false>(\n options?: Options<PutV1EmployeeFederalTaxesData, ThrowOnError>,\n) =>\n (options?.client ?? client).put<\n PutV1EmployeeFederalTaxesResponses,\n PutV1EmployeeFederalTaxesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/federal-taxes',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * List timesheets for the authenticated employee\n *\n * Returns a paginated list of timesheets for the authenticated employee.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timesheets (`timesheet:read`) | Manage timesheets (`timesheet:write`) |\n */\nexport const getV1EmployeeTimesheets = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmployeeTimesheetsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeTimesheetsResponses,\n GetV1EmployeeTimesheetsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/timesheets',\n ...options,\n });\n\n/**\n * List Pay Codes\n *\n * Lists pay codes available for a legal entity.\n * Pay codes represent the allowed pay element types that can be submitted via `POST /v1/pay-items/bulk`.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View pay items (`pay_item:read`) | Manage pay items (`pay_item:write`) |\n */\nexport const getV1CompaniesCompanyIdLegalEntitiesLegalEntityIdPayCodes = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdPayCodesData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdPayCodesResponses,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdPayCodesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}/legal-entities/{legal_entity_id}/pay-codes',\n ...options,\n });\n\n/**\n * Update emergency contact\n *\n * Updates the employment's emergency contact details.\n *\n * This endpoint requires country-specific data. Query the **Show form schema** endpoint\n * passing the country code and `emergency_contact_details` as path parameters to see\n * the required fields for a given country.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV2EmploymentsEmploymentIdEmergencyContact = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV2EmploymentsEmploymentIdEmergencyContactData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV2EmploymentsEmploymentIdEmergencyContactResponses,\n PutV2EmploymentsEmploymentIdEmergencyContactErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/emergency-contact',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List travel letter requests\n *\n * List travel letter requests.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View travel letters (`travel_letter:read`) | Manage travel letters (`travel_letter:write`) |\n */\nexport const getV1TravelLetterRequests = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1TravelLetterRequestsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1TravelLetterRequestsResponses,\n GetV1TravelLetterRequestsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/travel-letter-requests',\n ...options,\n });\n\n/**\n * List Benefit Renewal Requests\n *\n * List Benefit Renewal Requests for each country.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View benefit renewals (`benefit_renewal:read`) | Manage benefit renewals (`benefit_renewal:write`) |\n */\nexport const getV1BenefitRenewalRequests = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1BenefitRenewalRequestsData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1BenefitRenewalRequestsResponses,\n GetV1BenefitRenewalRequestsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/benefit-renewal-requests',\n ...options,\n });\n\n/**\n * Create a Webhook Callback\n *\n * Register a callback to be used for webhooks\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage webhooks (`webhook:write`) |\n */\nexport const postV1WebhookCallbacks = <ThrowOnError extends boolean = false>(\n options: Options<PostV1WebhookCallbacksData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1WebhookCallbacksResponses,\n PostV1WebhookCallbacksErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/webhook-callbacks',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Approve timesheet\n *\n * Approves the given timesheet.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timesheets (`timesheet:write`) |\n */\nexport const postV1TimesheetsTimesheetIdApprove = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1TimesheetsTimesheetIdApproveData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1TimesheetsTimesheetIdApproveResponses,\n PostV1TimesheetsTimesheetIdApproveErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timesheets/{timesheet_id}/approve',\n ...options,\n });\n\n/**\n * List Leave Policies Summary\n *\n * List all the data related to time off for a given employment\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timeoffs (`timeoff:read`) | Manage timeoffs (`timeoff:write`) |\n */\nexport const getV1LeavePoliciesSummaryEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1LeavePoliciesSummaryEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1LeavePoliciesSummaryEmploymentIdResponses,\n GetV1LeavePoliciesSummaryEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/leave-policies/summary/{employment_id}',\n ...options,\n });\n\n/**\n * List expense categories for the authenticated employee\n *\n * Returns the flat list of expense categories applicable to the current employee. Only active categories are returned, filtered by the employee's country / legal-entity visibility rules. Leaf nodes have `is_selectable: true`; parent nodes are excluded unless `include_parents=true`.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n */\nexport const getV1EmployeeExpenseCategories = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1EmployeeExpenseCategoriesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeExpenseCategoriesResponses,\n GetV1EmployeeExpenseCategoriesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/expense-categories',\n ...options,\n });\n\n/**\n * List Company Departments\n *\n * Lists all departments for the authorized company specified in the request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View departments (`company_department:read`) | Manage departments (`company_department:write`) |\n */\nexport const getV1CompanyDepartments = <ThrowOnError extends boolean = false>(\n options: Options<GetV1CompanyDepartmentsData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompanyDepartmentsResponses,\n GetV1CompanyDepartmentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/company-departments',\n ...options,\n });\n\n/**\n * Create New Department\n *\n * Creates a new department in the specified company. Department names may be non-unique and must be non-empty with no more than 255 characters (Unicode code points).\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage departments (`company_department:write`) |\n */\nexport const postV1CompanyDepartments = <ThrowOnError extends boolean = false>(\n options: Options<PostV1CompanyDepartmentsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CompanyDepartmentsResponses,\n PostV1CompanyDepartmentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/company-departments',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List Offboardings for Employment\n *\n * Lists Offboarding requests for a specific employment.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View offboarding requests (`offboarding:read`) | Manage offboarding (`offboarding:write`) |\n */\nexport const getV1OffboardingsEmploymentsEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1OffboardingsEmploymentsEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1OffboardingsEmploymentsEmploymentIdResponses,\n GetV1OffboardingsEmploymentsEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/offboardings/employments/{employment_id}',\n ...options,\n });\n\n/**\n * Decline a time off cancellation request\n *\n * Decline a time off cancellation request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const postV1TimeoffTimeoffIdCancelRequestDecline = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1TimeoffTimeoffIdCancelRequestDeclineData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1TimeoffTimeoffIdCancelRequestDeclineResponses,\n PostV1TimeoffTimeoffIdCancelRequestDeclineErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff/{timeoff_id}/cancel-request/decline',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update basic information\n *\n * Updates employment's basic information.\n *\n * Supported employment statuses: `created`, `job_title_review`, `created_reserve_paid`, `created_awaiting_reserve`.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV1EmploymentsEmploymentIdBasicInformation = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV1EmploymentsEmploymentIdBasicInformationData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV1EmploymentsEmploymentIdBasicInformationResponses,\n PutV1EmploymentsEmploymentIdBasicInformationErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/basic-information',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Get a employment benefit offers JSON schema\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View benefit offers (`benefit_offer:read`) | Manage benefit offers (`benefit_offer:write`) |\n */\nexport const getV1EmploymentsEmploymentIdBenefitOffersSchema = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1EmploymentsEmploymentIdBenefitOffersSchemaData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdBenefitOffersSchemaResponses,\n GetV1EmploymentsEmploymentIdBenefitOffersSchemaErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/benefit-offers/schema',\n ...options,\n });\n\n/**\n * Create a job title screening\n *\n * Screens a batch of job titles for EOR hiring eligibility, before any company or\n * employment exists. Callable with an integration (client credentials) token or a\n * company-scoped token issued through the integration; screenings belong to the\n * integration either way. Returns immediately with a `processing` screening — poll the\n * show endpoint until `status` is `completed`. Verdicts are advisory and reflect the\n * eligibility policy at the time of screening: the policy evolves over time and the same\n * checks re-run during onboarding, so the onboarding outcome may differ from an earlier\n * screening verdict for the same title.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const postV1JobTitleScreenings = <ThrowOnError extends boolean = false>(\n options?: Options<PostV1JobTitleScreeningsData, ThrowOnError>,\n) =>\n (options?.client ?? client).post<\n PostV1JobTitleScreeningsResponses,\n PostV1JobTitleScreeningsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/job-title-screenings',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * Show a job title screening\n *\n * Shows a job title screening and its per-item verdicts.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1JobTitleScreeningsId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1JobTitleScreeningsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1JobTitleScreeningsIdResponses,\n GetV1JobTitleScreeningsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/job-title-screenings/{id}',\n ...options,\n });\n\n/**\n * Submit eligibility questionnaire\n *\n * Submits an eligibility questionnaire for a contractor employment.\n *\n * The questionnaire determines if the contractor is eligible for certain products or features.\n * The responses are validated against the JSON schema for the questionnaire type.\n *\n * **Requirements:**\n * - Employment must be of type `contractor`\n * - Employment must be in `created` status\n * - Responses must conform to the questionnaire JSON schema\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV1ContractorsEligibilityQuestionnaire = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1ContractorsEligibilityQuestionnaireData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1ContractorsEligibilityQuestionnaireResponses,\n PostV1ContractorsEligibilityQuestionnaireErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/eligibility-questionnaire',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show personal information for the authenticated employee\n *\n * Returns personal information for the authenticated employee.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View personal details (`personal_detail:read`) | Manage personal details (`personal_detail:write`) |\n */\nexport const getV1EmployeePersonalInformation = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1EmployeePersonalInformationData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeePersonalInformationResponses,\n GetV1EmployeePersonalInformationErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/personal-information',\n ...options,\n });\n\n/**\n * List timesheets\n *\n * Lists all timesheets.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timesheets (`timesheet:read`) | Manage timesheets (`timesheet:write`) |\n */\nexport const getV1Timesheets = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1TimesheetsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1TimesheetsResponses,\n GetV1TimesheetsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timesheets',\n ...options,\n });\n\n/**\n * Create a legal entity\n *\n * Create a new legal entity for a company in a given country, with KYB automatically passed.\n *\n * The entity is created with active status and can be set as the company's default\n * using the reassign default entity endpoint.\n * This endpoint is only available in Sandbox, otherwise it will respond with a 404.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const postV1SandboxCompaniesCompanyIdLegalEntities = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1SandboxCompaniesCompanyIdLegalEntitiesData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1SandboxCompaniesCompanyIdLegalEntitiesResponses,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/companies/{company_id}/legal-entities',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show employment\n *\n * Shows all the information of an employment.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1EmploymentsEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1EmploymentsEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdResponses,\n GetV1EmploymentsEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}',\n ...options,\n });\n\n/**\n * Update employment\n *\n * Updates an employment.\n *\n * **For `created` employments:** You can change all basic params and onboarding tasks or perform a per onboarding task update. You can also update basic_information.\n *\n * **For `active` employments:** You can update the manager (`manager_id` field), emergency_contact_details, address_details and work_email.\n *\n * **For `invited` employments:** You can update the work_email.\n *\n * After onboarding, only a limited set of employment data will be available for updates, such as `emergency_contact_details`.\n * If you want to provide additional information for an employment, please make sure to do so **before** the employee is invited.\n * We block updates to some employment data because employees need to agree to amendments in certain cases, such as when there are changes to their contract_details.\n * Currently, these amendments can only be done through the Remote UI.\n *\n * It is possible to update the `external_id` of the employment for all employment statuses.\n *\n * The same applies to `partner_external_id`, the reference code private to the calling integration. Omit the field to leave it unchanged; send `null` to clear it.\n *\n * ## Global Payroll Employees\n *\n * To update a Global Payment employment your input data must comply with the global payroll json schemas.\n *\n * **For `active` employments:** In addition to the above list, you can update personal_details.\n *\n * ## Direct Employees\n *\n * To update an HRIS employment your input data must comply with the HRIS json schemas.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n *\n * Please contact Remote if you need to update contractors via API since it's currently not supported.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const patchV1EmploymentsEmploymentId2 = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1EmploymentsEmploymentId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1EmploymentsEmploymentId2Responses,\n PatchV1EmploymentsEmploymentId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update employment\n *\n * Updates an employment.\n *\n * **For `created` employments:** You can change all basic params and onboarding tasks or perform a per onboarding task update. You can also update basic_information.\n *\n * **For `active` employments:** You can update the manager (`manager_id` field), emergency_contact_details, address_details and work_email.\n *\n * **For `invited` employments:** You can update the work_email.\n *\n * After onboarding, only a limited set of employment data will be available for updates, such as `emergency_contact_details`.\n * If you want to provide additional information for an employment, please make sure to do so **before** the employee is invited.\n * We block updates to some employment data because employees need to agree to amendments in certain cases, such as when there are changes to their contract_details.\n * Currently, these amendments can only be done through the Remote UI.\n *\n * It is possible to update the `external_id` of the employment for all employment statuses.\n *\n * The same applies to `partner_external_id`, the reference code private to the calling integration. Omit the field to leave it unchanged; send `null` to clear it.\n *\n * ## Global Payroll Employees\n *\n * To update a Global Payment employment your input data must comply with the global payroll json schemas.\n *\n * **For `active` employments:** In addition to the above list, you can update personal_details.\n *\n * ## Direct Employees\n *\n * To update an HRIS employment your input data must comply with the HRIS json schemas.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n *\n * Please contact Remote if you need to update contractors via API since it's currently not supported.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const patchV1EmploymentsEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1EmploymentsEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1EmploymentsEmploymentIdResponses,\n PatchV1EmploymentsEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List users via SCIM v2.0\n *\n * Retrieves a list of users for the authenticated company following SCIM 2.0 standard\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const getV1ScimV2Users = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1ScimV2UsersData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1ScimV2UsersResponses,\n GetV1ScimV2UsersErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/scim/v2/Users',\n ...options,\n });\n\n/**\n * List Company Payroll Calendar\n *\n * List all payroll calendars for the company within the requested cycle.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payroll calendars (`payroll_calendar:read`) | - |\n */\nexport const getV1PayrollCalendarsCycle = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1PayrollCalendarsCycleData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1PayrollCalendarsCycleResponses,\n GetV1PayrollCalendarsCycleErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/payroll-calendars/{cycle}',\n ...options,\n });\n\n/**\n * List cost center allocations for a company\n *\n * Lists all employments under a company with their cost center allocations, grouped by employment.\n * Each entry includes the employment's legal entity IDs and the list of cost center allocations\n * assigned to it, with each allocation's cost center, allocated percentage, and effective period.\n * Employments with no cost center allocations are included with an empty list.\n *\n * Use the `status` query parameter to return only `active`, `scheduled`, or `expired` allocations.\n * When omitted, all allocations are returned.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1CompanyCompanyIdCostCenterAllocations = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1CompanyCompanyIdCostCenterAllocationsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1CompanyCompanyIdCostCenterAllocationsResponses,\n GetV1CompanyCompanyIdCostCenterAllocationsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/company/{company_id}/cost-center-allocations',\n ...options,\n });\n\n/**\n * Show Legal Entity Administrative details\n *\n * Show administrative details of legal entity for the authorized company specified in the request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View companies (`company:read`) | Manage companies (`company:write`) |\n */\nexport const getV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetails =\n <ThrowOnError extends boolean = false>(\n options: Options<\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsResponses,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}/legal-entities/{legal_entity_id}/administrative-details',\n ...options,\n });\n\n/**\n * Update Legal Entity Administrative details\n *\n * Update administrative details of legal entity for the authorized company specified in the request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage companies (`company_management`) | - | Manage companies (`company:write`) |\n */\nexport const putV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetails =\n <ThrowOnError extends boolean = false>(\n options: Options<\n PutV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).put<\n PutV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsResponses,\n PutV1CompaniesCompanyIdLegalEntitiesLegalEntityIdAdministrativeDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}/legal-entities/{legal_entity_id}/administrative-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show region fields\n *\n * Returns required fields JSON Schema for a given region. These are required in order to calculate\n * the cost of employment for the region. These fields are based on employer contributions that are associated\n * with the region or any of it's parent regions.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n * - **Client token** (`ClientToken`) — a partner `client_token`, accepted only on marketing endpoints. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1CostCalculatorRegionsSlugFields = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1CostCalculatorRegionsSlugFieldsData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CostCalculatorRegionsSlugFieldsResponses,\n GetV1CostCalculatorRegionsSlugFieldsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/cost-calculator/regions/{slug}/fields',\n ...options,\n });\n\n/**\n * Show Offboarding\n *\n * Shows an Offboarding request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View offboarding requests (`offboarding:read`) | Manage offboarding (`offboarding:write`) |\n */\nexport const getV1OffboardingsId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1OffboardingsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1OffboardingsIdResponses,\n GetV1OffboardingsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/offboardings/{id}',\n ...options,\n });\n\n/**\n * Get Employee Details for a Payroll Run\n *\n * Gets the employee details for a payroll run\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payroll runs (`payroll_run:read`) | - |\n */\nexport const getV1PayrollRunsPayrollRunIdEmployeeDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1PayrollRunsPayrollRunIdEmployeeDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1PayrollRunsPayrollRunIdEmployeeDetailsResponses,\n GetV1PayrollRunsPayrollRunIdEmployeeDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/payroll-runs/{payroll_run_id}/employee-details',\n ...options,\n });\n\n/**\n * List bulk employment rows\n *\n * Returns grouped bulk employment rows, including field-level validation errors in `errors`, row-level failures in `row_errors`, and submission-phase failures in `submission_errors`. If a row passes validation but later fails during Global Payroll activation, that failure is surfaced here after submission rather than in the initial create response.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1BulkEmploymentJobsJobIdRows = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1BulkEmploymentJobsJobIdRowsData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1BulkEmploymentJobsJobIdRowsResponses,\n GetV1BulkEmploymentJobsJobIdRowsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/bulk-employment-jobs/{job_id}/rows',\n ...options,\n });\n\n/**\n * Show employee emergency contact\n *\n * Returns the authenticated employee's emergency contact.\n *\n * The employment is derived from the access token's subject — there is no\n * employment id in the path.\n *\n * This endpoint requires country-specific data. The exact required fields vary depending on which\n * country the authenticated employee's employment is in. Query the\n * [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint with `emergency_contact_details`\n * as the form name to discover the schema for a given country.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View emergency contacts (`emergency_contact:read`) | Manage emergency contacts (`emergency_contact:write`) |\n */\nexport const getV1EmployeeEmergencyContact = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1EmployeeEmergencyContactData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeEmergencyContactResponses,\n GetV1EmployeeEmergencyContactErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/emergency-contact',\n ...options,\n });\n\n/**\n * Update employee emergency contact\n *\n * Updates the authenticated employee's emergency contact.\n *\n * The employment is derived from the access token's subject — there is no\n * employment id in the path. The token must be an employee-role token\n * (typically obtained via the OAuth2 assertion grant with subject\n * `urn:remote-api:employee:employment:<employment_id>`).\n *\n * This endpoint requires country-specific data. The exact required fields vary depending on which\n * country the authenticated employee's employment is in. Query the\n * [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint with `emergency_contact_details`\n * as the form name to discover the schema for a given country.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage emergency contacts (`emergency_contact:write`) |\n */\nexport const putV1EmployeeEmergencyContact = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<PutV1EmployeeEmergencyContactData, ThrowOnError>,\n) =>\n (options?.client ?? client).put<\n PutV1EmployeeEmergencyContactResponses,\n PutV1EmployeeEmergencyContactErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/emergency-contact',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * Create employment\n *\n * Creates an employment without provisional_start_date validation.\n *\n * This endpoint is only available in Sandbox and allows creating employments which\n * `provisional_start_date` is in the past. This is especially helpful for:\n * * Testing the Timeoff Balance endpoints\n * * Testing the Offboarding endpoints\n * * Testing features around probation periods\n *\n * This endpoint will respond with a 404 outside of the Sandbox environment.\n *\n * For creating an employment's parameters outside of testing purposes, use [this\n * Employment create endpoint](#operation/post_create_employment)\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const postV1SandboxEmployments = <ThrowOnError extends boolean = false>(\n options: Options<PostV1SandboxEmploymentsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1SandboxEmploymentsResponses,\n PostV1SandboxEmploymentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/employments',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Create contract eligibility\n *\n * Create contract eligibility for an employment.\n *\n * This will create a new contract eligibility for the employment.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage contract eligibility (`contract_eligibility:write`) |\n */\nexport const postV1EmploymentsEmploymentIdContractEligibility = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1EmploymentsEmploymentIdContractEligibilityData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1EmploymentsEmploymentIdContractEligibilityResponses,\n PostV1EmploymentsEmploymentIdContractEligibilityErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/contract-eligibility',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List countries\n *\n * Returns the countries supported by Remote API, alphabetically ordered.\n * The supported list accounts for creating employment with basic information and it does not imply fully onboarding employment via JSON Schema.\n * The countries present in the list are the ones where creating a company is allowed.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View countries (`country:read`) | - |\n */\nexport const getV1Countries = <ThrowOnError extends boolean = false>(\n options: Options<GetV1CountriesData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CountriesResponses,\n GetV1CountriesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/countries',\n ...options,\n });\n\n/**\n * Update contract details\n *\n * Updates employment's contract details.\n *\n * A job title eligibility check verdict is required before contract details can be\n * submitted. Run `POST /api/eor/v2/employments/{employment_id}/job-title-eligibility-check`\n * first and send the `check_id` it returns as `additional_job_title_eligibility_check_slug`.\n * A missing verdict, or one recorded against a different job title or role answer, is\n * rejected — the check is never evaluated as part of this request.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-form) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV2EmploymentsEmploymentIdContractDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV2EmploymentsEmploymentIdContractDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV2EmploymentsEmploymentIdContractDetailsResponses,\n PutV2EmploymentsEmploymentIdContractDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/contract-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List payslip files for the authenticated employee\n *\n * Returns a paginated list of payslip files belonging to the current employee.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payslips (`payslip:read`) | - |\n */\nexport const getV1EmployeePayslipFiles = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmployeePayslipFilesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeePayslipFilesResponses,\n GetV1EmployeePayslipFilesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/payslip-files',\n ...options,\n });\n\n/**\n * Create a new token for a company\n *\n * Creates new tokens for a given company\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const postV1CompaniesCompanyIdCreateToken = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1CompaniesCompanyIdCreateTokenData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CompaniesCompanyIdCreateTokenResponses,\n PostV1CompaniesCompanyIdCreateTokenErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/companies/{company_id}/create-token',\n ...options,\n });\n\n/**\n * List Company Legal Entities\n *\n * Lists all active legal entities for the authorized company specified in the request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View companies (`company:read`) | Manage companies (`company:write`) |\n */\nexport const getV1CompaniesCompanyIdLegalEntities = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1CompaniesCompanyIdLegalEntitiesData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdLegalEntitiesResponses,\n GetV1CompaniesCompanyIdLegalEntitiesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}/legal-entities',\n ...options,\n });\n\n/**\n * Complete onboarding\n *\n * Completes the employee onboarding. When all tasks are completed, the employee is marked as in `review` status\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n *\n * @deprecated\n */\nexport const postV1Ready = <ThrowOnError extends boolean = false>(\n options: Options<PostV1ReadyData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1ReadyResponses,\n PostV1ReadyErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/ready',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List Leave Policies Details\n *\n * Describe the leave policies (custom or not) for a given employment\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timeoffs (`timeoff:read`) | Manage timeoffs (`timeoff:write`) |\n */\nexport const getV1LeavePoliciesDetailsEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1LeavePoliciesDetailsEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1LeavePoliciesDetailsEmploymentIdResponses,\n GetV1LeavePoliciesDetailsEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/leave-policies/details/{employment_id}',\n ...options,\n });\n\n/**\n * Set contract origin for a contractor employment\n *\n * Sets the `contract_origin` for a contractor employment.\n *\n * * `remote_contract` — Remote provides and manages the contract (a contract document is created)\n * * `custom_remote_contract` — A customised Remote contract is used (a contract document is created)\n * * `provided_by_customer` — The employer provides their own contract (no contract document is created)\n *\n * When `provided_by_customer` is selected, the contractor can be invited without completing the\n * `contract_details` onboarding step.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV1EmploymentsEmploymentIdContractOrigin = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1EmploymentsEmploymentIdContractOriginData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1EmploymentsEmploymentIdContractOriginResponses,\n PostV1EmploymentsEmploymentIdContractOriginErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/contract-origin',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Receive an ADP Marketplace subscription-order event\n *\n * Called by ADP Marketplace when a customer subscribes to Remote's listing.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1AdpSubscriptionOrders = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1AdpSubscriptionOrdersData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1AdpSubscriptionOrdersResponses,\n GetV1AdpSubscriptionOrdersErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/adp/subscription-orders',\n ...options,\n });\n\n/**\n * List Time Off Types\n *\n * Lists all time off types that can be used for the `timeoff_type` parameter.\n *\n * **Backward compatibility:** Calling this endpoint without the `type` query parameter returns the same response as before (time off types for full-time employments). Existing integrations do not need to change.\n *\n * Optionally, pass `type=contractor` to get time off types for contractor employments, or `type=full_time` for full-time employments (same as omitting the parameter).\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timeoffs (`timeoff:read`) | Manage timeoffs (`timeoff:write`) |\n */\nexport const getV1TimeoffTypes = <ThrowOnError extends boolean = false>(\n options: Options<GetV1TimeoffTypesData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1TimeoffTypesResponses,\n GetV1TimeoffTypesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff/types',\n ...options,\n });\n\n/**\n * Creates a CSV cost estimation of employments\n *\n * Creates CSV cost estimation of employments\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n * - **Client token** (`ClientToken`) — a partner `client_token`, accepted only on marketing endpoints. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const postV1CostCalculatorEstimationCsv = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<PostV1CostCalculatorEstimationCsvData, ThrowOnError>,\n) =>\n (options?.client ?? client).post<\n PostV1CostCalculatorEstimationCsvResponses,\n PostV1CostCalculatorEstimationCsvErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/cost-calculator/estimation-csv',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * Activate Global Payroll for a legal entity\n *\n * Enables the Global Payroll product on a legal entity so that GP employees can be created against it.\n *\n * Performs three idempotent steps:\n * * Adds the Global Payroll product to the company.\n * * Flips `global_payroll_enabled` on the legal entity's settings.\n * * Ensures a Global Payroll pricing plan exists for the legal entity's country.\n *\n * This endpoint is only available in Sandbox, otherwise it will respond with a 404.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const postV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdActivateGlobalPayroll =\n <ThrowOnError extends boolean = false>(\n options: Options<\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdActivateGlobalPayrollData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).post<\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdActivateGlobalPayrollResponses,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdActivateGlobalPayrollErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/companies/{company_id}/legal-entities/{legal_entity_id}/activate-global-payroll',\n ...options,\n });\n\n/**\n * Show employee personal details\n *\n * Returns the authenticated employee's personal details.\n *\n * This endpoint requires country-specific data. Query the\n * [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint with `personal_details`\n * as the form name to discover the schema for a given country.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View personal details (`personal_detail:read`) | Manage personal details (`personal_detail:write`) |\n */\nexport const getV1EmployeePersonalDetails = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1EmployeePersonalDetailsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeePersonalDetailsResponses,\n GetV1EmployeePersonalDetailsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/personal-details',\n ...options,\n });\n\n/**\n * Update employee personal details\n *\n * Updates the authenticated employee's personal details (date of birth,\n * national ID, nationality, etc.).\n *\n * This endpoint requires country-specific data. Query the\n * [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint with `personal_details`\n * as the form name to discover the schema for a given country.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage personal details (`personal_detail:write`) |\n */\nexport const putV1EmployeePersonalDetails = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<PutV1EmployeePersonalDetailsData, ThrowOnError>,\n) =>\n (options?.client ?? client).put<\n PutV1EmployeePersonalDetailsResponses,\n PutV1EmployeePersonalDetailsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/personal-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * List groups via SCIM v2.0\n *\n * Retrieves a list of groups (departments) for the authenticated company following SCIM 2.0 standard\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const getV1ScimV2Groups = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1ScimV2GroupsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1ScimV2GroupsResponses,\n GetV1ScimV2GroupsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/scim/v2/Groups',\n ...options,\n });\n\n/**\n * Create a contract document for a contractor\n *\n * Create a contract document for a contractor.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage documents (`document:write`) |\n */\nexport const postV1ContractorsEmploymentsEmploymentIdContractDocuments = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsResponses,\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/contract-documents',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Trigger a Webhook\n *\n * Triggers a callback previously registered for webhooks. Use this endpoint to\n * emit a webhook for testing in the Sandbox environment. This endpoint will\n * respond with a 404 outside of the Sandbox environment.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const postV1SandboxWebhookCallbacksTrigger = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<PostV1SandboxWebhookCallbacksTriggerData, ThrowOnError>,\n) =>\n (options?.client ?? client).post<\n PostV1SandboxWebhookCallbacksTriggerResponses,\n PostV1SandboxWebhookCallbacksTriggerErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/webhook-callbacks/trigger',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * Download payslip in the PDF format\n *\n * Given a Payslip ID, downloads a payslip.\n * It is important to note that each country has a different payslip format and they are not authored by Remote.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payslips (`payslip:read`) | - |\n */\nexport const getV1PayslipsPayslipIdPdf = <ThrowOnError extends boolean = false>(\n options: Options<GetV1PayslipsPayslipIdPdfData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1PayslipsPayslipIdPdfResponses,\n GetV1PayslipsPayslipIdPdfErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/payslips/{payslip_id}/pdf',\n ...options,\n });\n\n/**\n * Delete a Pay Item\n *\n * Archives a pay item. Cannot delete pay items linked to a payroll adjustment, salary pay items, pay items automatically created from an external source, or pay items whose payroll run is no longer in preparation.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | - | Manage pay items (`pay_item:write`) |\n */\nexport const deleteV1PayItemsId = <ThrowOnError extends boolean = false>(\n options: Options<DeleteV1PayItemsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).delete<\n DeleteV1PayItemsIdResponses,\n DeleteV1PayItemsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/pay-items/{id}',\n ...options,\n });\n\n/**\n * Update a Pay Item\n *\n * Updates a pay item. Editing a pay item archives the existing one and creates a new one with a new `id` — use the response's `replaced_ids` to reconcile with the id you had stored. Only the fields provided are changed.\n * Cannot update pay items linked to a payroll adjustment, salary pay items, pay items automatically created from an external source, or pay items whose payroll run is no longer in preparation.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | - | Manage pay items (`pay_item:write`) |\n */\nexport const patchV1PayItemsId = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1PayItemsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1PayItemsIdResponses,\n PatchV1PayItemsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/pay-items/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Convert currency using dynamic rates\n *\n * Convert currency using the rates Remote applies during employment creation and invoicing.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client token** (`ClientToken`) — a partner `client_token`, accepted only on marketing endpoints. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | Convert currencies (`convert_currency:read`) | - |\n */\nexport const postV1CurrencyConverterEffective = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1CurrencyConverterEffectiveData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CurrencyConverterEffectiveResponses,\n PostV1CurrencyConverterEffectiveErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/currency-converter/effective',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Download a GL report\n *\n * Downloads the generated GL report as a CSV file. The report must have `status: completed` before calling this endpoint.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payroll runs (`payroll_run:read`) | - |\n */\nexport const getV1PayrollRunsPayrollRunIdGlReportsGlReportIdDownload = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdDownloadData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdDownloadResponses,\n GetV1PayrollRunsPayrollRunIdGlReportsGlReportIdDownloadErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/payroll-runs/{payroll_run_id}/gl-reports/{gl_report_id}/download',\n ...options,\n });\n\n/**\n * Show Time Off\n *\n * Shows a single Time Off record\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timeoffs (`timeoff:read`) | Manage timeoffs (`timeoff:write`) |\n */\nexport const getV1TimeoffId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1TimeoffIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1TimeoffIdResponses,\n GetV1TimeoffIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff/{id}',\n ...options,\n });\n\n/**\n * Update Time Off\n *\n * Updates a Time Off record.\n * Warning: Updating the status of a time off through this endpoint is deprecated and will be removed on January 13, 2025.\n * To approve or cancel an approved time off, use the `/approve` and `/cancel` endpoints instead.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const patchV1TimeoffId2 = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1TimeoffId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1TimeoffId2Responses,\n PatchV1TimeoffId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update Time Off\n *\n * Updates a Time Off record.\n * Warning: Updating the status of a time off through this endpoint is deprecated and will be removed on January 13, 2025.\n * To approve or cancel an approved time off, use the `/approve` and `/cancel` endpoints instead.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const patchV1TimeoffId = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1TimeoffIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1TimeoffIdResponses,\n PatchV1TimeoffIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Decline Time Off\n *\n * Decline a time off request. Please note that only time off requests on the `requested` status can be declined.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const postV1TimeoffTimeoffIdDecline = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1TimeoffTimeoffIdDeclineData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1TimeoffTimeoffIdDeclineResponses,\n PostV1TimeoffTimeoffIdDeclineErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff/{timeoff_id}/decline',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Automatable Contract Amendment\n *\n * Check if a contract amendment request is automatable.\n * If the contract amendment request is automatable, then after submission, it will instantly amend the employee's contract\n * and send them an updated document.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Contract Amendments](#tag/Contract-Amendments) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage contract amendments (`contract_amendment:write`) |\n */\nexport const postV1ContractAmendmentsAutomatable = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1ContractAmendmentsAutomatableData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1ContractAmendmentsAutomatableResponses,\n PostV1ContractAmendmentsAutomatableErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contract-amendments/automatable',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Approve Time Off\n *\n * Approve a time off request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const postV1TimeoffTimeoffIdApprove = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1TimeoffTimeoffIdApproveData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1TimeoffTimeoffIdApproveResponses,\n PostV1TimeoffTimeoffIdApproveErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff/{timeoff_id}/approve',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List employment files\n *\n * Lists files associated with a specific employment.\n *\n * Supports filtering by file type and sub_type.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n */\nexport const getV1EmploymentsEmploymentIdFiles = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1EmploymentsEmploymentIdFilesData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdFilesResponses,\n GetV1EmploymentsEmploymentIdFilesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/files',\n ...options,\n });\n\n/**\n * Lists custom fields definitions\n *\n * Returns custom fields definitions\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View custom fields (`custom_field:read`) | Manage custom fields (`custom_field:write`) |\n */\nexport const getV1CustomFields = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1CustomFieldsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1CustomFieldsResponses,\n GetV1CustomFieldsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/custom-fields',\n ...options,\n });\n\n/**\n * Create Custom Field Definition\n *\n * Creates a new custom field definition.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View custom fields (`custom_field:read`) | Manage custom fields (`custom_field:write`) |\n */\nexport const postV1CustomFields = <ThrowOnError extends boolean = false>(\n options: Options<PostV1CustomFieldsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CustomFieldsResponses,\n PostV1CustomFieldsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/custom-fields',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List company supported currencies\n *\n * List company supported currencies\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client token** (`ClientToken`) — a partner `client_token`, accepted only on marketing endpoints. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View company currencies (`company_currencies:read`) | - |\n */\nexport const getV1CompanyCurrencies = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1CompanyCurrenciesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1CompanyCurrenciesResponses,\n GetV1CompanyCurrenciesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/company-currencies',\n ...options,\n });\n\n/**\n * Archive employment\n *\n * Archives an employment, setting its status to `archived`.\n *\n * This endpoint is only available in Sandbox and allows partners to clean up test\n * employees during automated E2E testing without requiring Remote manual intervention.\n *\n * This endpoint will respond with a 404 outside of the Sandbox environment.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const deleteV1SandboxEmploymentsEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<DeleteV1SandboxEmploymentsEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).delete<\n DeleteV1SandboxEmploymentsEmploymentIdResponses,\n DeleteV1SandboxEmploymentsEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/employments/{employment_id}',\n ...options,\n });\n\n/**\n * Update employment\n *\n * Updates an employment. Use this endpoint to:\n * - modify employment states for testing\n * - Backdate employment start dates\n *\n * This endpoint will respond with a 404 outside of the Sandbox environment.\n *\n * `partner_external_id` cannot be updated here and is ignored if sent, like any other\n * unsupported field. Set it with `PATCH /api/eor/v1/employments/{employment_id}` instead.\n *\n * For updating an employment's parameters outside of testing purposes, use [this Employment update endpoint](#operation/patch_update_employment).\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const patchV1SandboxEmploymentsEmploymentId2 = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1SandboxEmploymentsEmploymentId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1SandboxEmploymentsEmploymentId2Responses,\n PatchV1SandboxEmploymentsEmploymentId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/employments/{employment_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update employment\n *\n * Updates an employment. Use this endpoint to:\n * - modify employment states for testing\n * - Backdate employment start dates\n *\n * This endpoint will respond with a 404 outside of the Sandbox environment.\n *\n * `partner_external_id` cannot be updated here and is ignored if sent, like any other\n * unsupported field. Set it with `PATCH /api/eor/v1/employments/{employment_id}` instead.\n *\n * For updating an employment's parameters outside of testing purposes, use [this Employment update endpoint](#operation/patch_update_employment).\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const patchV1SandboxEmploymentsEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1SandboxEmploymentsEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1SandboxEmploymentsEmploymentIdResponses,\n PatchV1SandboxEmploymentsEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/employments/{employment_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Get employment contract pending changes\n *\n * Get all the pending changes (waiting for aproval or signature) for the employment contract.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View contracts (`contract:read`) | - |\n */\nexport const getV1EmploymentContractsEmploymentIdPendingChanges = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1EmploymentContractsEmploymentIdPendingChangesData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentContractsEmploymentIdPendingChangesResponses,\n GetV1EmploymentContractsEmploymentIdPendingChangesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employment-contracts/{employment_id}/pending-changes',\n ...options,\n });\n\n/**\n * Show Resignation\n *\n * Shows the details of a resignation with status `submitted`.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View resignations (`resignation:read`) | Manage resignations (`resignation:write`) |\n */\nexport const getV1ResignationsOffboardingRequestId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1ResignationsOffboardingRequestIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ResignationsOffboardingRequestIdResponses,\n GetV1ResignationsOffboardingRequestIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/resignations/{offboarding_request_id}',\n ...options,\n });\n\n/**\n * Upload file\n *\n * Uploads a file associated with a specified employment.\n *\n * Please contact api-support@remote.com to request access to this endpoint.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage documents (`document:write`) |\n */\nexport const postV1Documents = <ThrowOnError extends boolean = false>(\n options: Options<PostV1DocumentsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1DocumentsResponses,\n PostV1DocumentsErrors,\n ThrowOnError\n >({\n ...formDataBodySerializer,\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/documents',\n ...options,\n headers: {\n 'Content-Type': null,\n ...options.headers,\n },\n });\n\n/**\n * Invite employment\n *\n * Invite an employment to start the self-enrollment.\n *\n * Requirements for the invitation to succeed:\n *\n * * Employment needs to have the following JSON Schema forms filled: `contract_details` and `pricing_plan_details`\n * * `provisional_start_date` must consider the minimum onboarding time of the employment's country\n *\n * If there are validations errors, they are returned with a Conflict HTTP Status (409) and a descriptive message.\n * HTTP Status OK (200) is returned in case of success.\n *\n * In case of the following error message:\n * `\"Please reselect benefits - the previous selection is no longer available\"`\n * it means that the benefit options have been updated and the employment's benefits are no longer compliant with the new schema.\n *\n * In this case, reselect benefits by updating `contract_details` JSON Schema form.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV1EmploymentsEmploymentIdInvite = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1EmploymentsEmploymentIdInviteData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1EmploymentsEmploymentIdInviteResponses,\n PostV1EmploymentsEmploymentIdInviteErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/invite',\n ...options,\n });\n\n/**\n * Show expense\n *\n * Shows a single expense record\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n */\nexport const getV1ExpensesId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1ExpensesIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ExpensesIdResponses,\n GetV1ExpensesIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/expenses/{id}',\n ...options,\n });\n\n/**\n * Update an expense\n *\n * Updates an expense\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |\n */\nexport const patchV1ExpensesId2 = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1ExpensesId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1ExpensesId2Responses,\n PatchV1ExpensesId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/expenses/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update an expense\n *\n * Updates an expense\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |\n */\nexport const patchV1ExpensesId = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1ExpensesIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1ExpensesIdResponses,\n PatchV1ExpensesIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/expenses/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update bank account details\n *\n * Updates employment's bank account details.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-form) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV2EmploymentsEmploymentIdBankAccountDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV2EmploymentsEmploymentIdBankAccountDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV2EmploymentsEmploymentIdBankAccountDetailsResponses,\n PutV2EmploymentsEmploymentIdBankAccountDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/bank-account-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show Benefit Renewal Request\n *\n * Show Benefit Renewal Request details.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View benefit renewals (`benefit_renewal:read`) | Manage benefit renewals (`benefit_renewal:write`) |\n */\nexport const getV1BenefitRenewalRequestsBenefitRenewalRequestId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdResponses,\n GetV1BenefitRenewalRequestsBenefitRenewalRequestIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/benefit-renewal-requests/{benefit_renewal_request_id}',\n ...options,\n });\n\n/**\n * Updates a Benefit Renewal Request Response\n *\n * Updates a Benefit Renewal Request with the given response.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage benefit renewals (`benefit_renewal:write`) |\n */\nexport const postV1BenefitRenewalRequestsBenefitRenewalRequestId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1BenefitRenewalRequestsBenefitRenewalRequestIdData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1BenefitRenewalRequestsBenefitRenewalRequestIdResponses,\n PostV1BenefitRenewalRequestsBenefitRenewalRequestIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/benefit-renewal-requests/{benefit_renewal_request_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show onboarding steps for an employment\n *\n * Returns onboarding steps and substeps in a hierarchical, ordered structure.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1EmploymentsEmploymentIdOnboardingSteps = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1EmploymentsEmploymentIdOnboardingStepsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdOnboardingStepsResponses,\n GetV1EmploymentsEmploymentIdOnboardingStepsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/onboarding-steps',\n ...options,\n });\n\n/**\n * Receive an ADP Marketplace subscription-status event\n *\n * Called by ADP Marketplace when a subscription's status changes (e.g. trial ended, suspended).\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1AdpSubscriptionStatus = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1AdpSubscriptionStatusData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1AdpSubscriptionStatusResponses,\n GetV1AdpSubscriptionStatusErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/adp/subscription-status',\n ...options,\n });\n\n/**\n * Get employee token identity\n *\n * Returns user and company information for the authenticated employee.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1EmployeeCurrent = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmployeeCurrentData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeCurrentResponses,\n GetV1EmployeeCurrentErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/current',\n ...options,\n });\n\n/**\n * List company structure nodes\n *\n * Shows all the company structure nodes of an employment.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View company structure (`company_structure:read`) | - |\n */\nexport const getV1EmploymentsEmploymentIdCompanyStructureNodes = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1EmploymentsEmploymentIdCompanyStructureNodesData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdCompanyStructureNodesResponses,\n GetV1EmploymentsEmploymentIdCompanyStructureNodesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/company-structure-nodes',\n ...options,\n });\n\n/**\n * Set company credit risk status\n *\n * Sets the credit risk status of a specific legal entity to any valid credit risk status.\n *\n * Use this endpoint to test hiring flows affected by credit risk, without needing Remote admin intervention.\n *\n * This endpoint is only available in Sandbox, otherwise it will respond with a 404.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const postV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdSetCreditRiskStatus =\n <ThrowOnError extends boolean = false>(\n options: Options<\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdSetCreditRiskStatusData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).post<\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdSetCreditRiskStatusResponses,\n PostV1SandboxCompaniesCompanyIdLegalEntitiesLegalEntityIdSetCreditRiskStatusErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/companies/{company_id}/legal-entities/{legal_entity_id}/set-credit-risk-status',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List custom field value for an employment\n *\n * Returns a list of custom field values for a given employment\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View custom field values (`custom_field_value:read`) | Manage custom field values (`custom_field_value:write`) |\n */\nexport const getV1EmploymentsEmploymentIdCustomFields = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1EmploymentsEmploymentIdCustomFieldsData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdCustomFieldsResponses,\n GetV1EmploymentsEmploymentIdCustomFieldsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/custom-fields',\n ...options,\n });\n\n/**\n * Validate resignation request\n *\n * Validates a resignation employment request\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage resignations (`resignation:write`) |\n */\nexport const putV1ResignationsOffboardingRequestIdValidate = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV1ResignationsOffboardingRequestIdValidateData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV1ResignationsOffboardingRequestIdValidateResponses,\n PutV1ResignationsOffboardingRequestIdValidateErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/resignations/{offboarding_request_id}/validate',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Reassign default legal entity\n *\n * Set a different legal entity as the company's default entity.\n *\n * The default entity is used when creating new employments without an explicit entity.\n * This endpoint is only available in Sandbox, otherwise it will respond with a 404.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const putV1SandboxCompaniesCompanyIdDefaultLegalEntityLegalEntityId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV1SandboxCompaniesCompanyIdDefaultLegalEntityLegalEntityIdData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV1SandboxCompaniesCompanyIdDefaultLegalEntityLegalEntityIdResponses,\n PutV1SandboxCompaniesCompanyIdDefaultLegalEntityLegalEntityIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/companies/{company_id}/default-legal-entity/{legal_entity_id}',\n ...options,\n });\n\n/**\n * List Webhook Callbacks\n *\n * List callbacks for a given company\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View webhooks (`webhook:read`) | Manage webhooks (`webhook:write`) |\n */\nexport const getV1CompaniesCompanyIdWebhookCallbacks = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1CompaniesCompanyIdWebhookCallbacksData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdWebhookCallbacksResponses,\n GetV1CompaniesCompanyIdWebhookCallbacksErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}/webhook-callbacks',\n ...options,\n });\n\n/**\n * Show contractor eligibility and COR-supported countries for legal entity\n *\n * Returns which contractor products (standard, plus, cor) the legal entity is eligible to use,\n * and the list of country codes where COR is supported for this legal entity.\n * COR-supported countries exclude sanctioned and signup-prevented countries and apply entity rules (same-country, local-to-local).\n * When the legal entity is not COR-eligible, `cor_supported_country_codes` is an empty list.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View companies (`company:read`) | Manage companies (`company:write`) |\n */\nexport const getV1CompaniesCompanyIdLegalEntitiesLegalEntityIdContractorEligibility =\n <ThrowOnError extends boolean = false>(\n options: Options<\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdContractorEligibilityData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdContractorEligibilityResponses,\n GetV1CompaniesCompanyIdLegalEntitiesLegalEntityIdContractorEligibilityErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}/legal-entities/{legal_entity_id}/contractor-eligibility',\n ...options,\n });\n\n/**\n * Show a custom field value\n *\n * Returns a custom field value for a given employment\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View custom field values (`custom_field_value:read`) | Manage custom field values (`custom_field_value:write`) |\n */\nexport const getV1CustomFieldsCustomFieldIdValuesEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1CustomFieldsCustomFieldIdValuesEmploymentIdData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1CustomFieldsCustomFieldIdValuesEmploymentIdResponses,\n GetV1CustomFieldsCustomFieldIdValuesEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/custom-fields/{custom_field_id}/values/{employment_id}',\n ...options,\n });\n\n/**\n * Update a Custom Field Value\n *\n * Updates a custom field value for a given employment.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage custom field values (`custom_field_value:write`) |\n */\nexport const patchV1CustomFieldsCustomFieldIdValuesEmploymentId2 = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentId2Data,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).patch<\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentId2Responses,\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/custom-fields/{custom_field_id}/values/{employment_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update a Custom Field Value\n *\n * Updates a custom field value for a given employment.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage custom field values (`custom_field_value:write`) |\n */\nexport const patchV1CustomFieldsCustomFieldIdValuesEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentIdData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentIdResponses,\n PatchV1CustomFieldsCustomFieldIdValuesEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/custom-fields/{custom_field_id}/values/{employment_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show a contractor of record (COR) termination request\n *\n * Retrieves a Contractor of Record termination request by ID.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsTerminationRequestId =\n <ThrowOnError extends boolean = false>(\n options: Options<\n GetV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsTerminationRequestIdData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).get<\n GetV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsTerminationRequestIdResponses,\n GetV1ContractorsEmploymentsEmploymentIdCorTerminationRequestsTerminationRequestIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/cor-termination-requests/{termination_request_id}',\n ...options,\n });\n\n/**\n * Terminate contractor of record employment\n *\n * **Deprecated.** Use `POST /contractors/employments/{employment_id}/cor-termination-requests` instead.\n *\n * Initiates a termination request for a Contractor of Record employment.\n * When a termination request is sent, a stop work order is issued and the contractor remains active until a final invoice is paid or waived.\n * Currently, only Contractor of Record employments can be terminated.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n *\n * @deprecated\n */\nexport const postV1ContractorsEmploymentsEmploymentIdTerminateCorEmployment = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1ContractorsEmploymentsEmploymentIdTerminateCorEmploymentData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1ContractorsEmploymentsEmploymentIdTerminateCorEmploymentResponses,\n PostV1ContractorsEmploymentsEmploymentIdTerminateCorEmploymentErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/terminate-cor-employment',\n ...options,\n });\n\n/**\n * Sign a document for a contractor\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage documents (`document:write`) |\n */\nexport const postV1ContractorsEmploymentsEmploymentIdContractDocumentsContractDocumentIdSign =\n <ThrowOnError extends boolean = false>(\n options: Options<\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsContractDocumentIdSignData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).post<\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsContractDocumentIdSignResponses,\n PostV1ContractorsEmploymentsEmploymentIdContractDocumentsContractDocumentIdSignErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/contract-documents/{contract_document_id}/sign',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Get token identity\n *\n * Shows information about the entities that can be controlled by the current auth token.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const getV1IdentityCurrent = <ThrowOnError extends boolean = false>(\n options: Options<GetV1IdentityCurrentData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1IdentityCurrentResponses,\n GetV1IdentityCurrentErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/identity/current',\n ...options,\n });\n\n/**\n * Delete an Incentive\n *\n * Delete an incentive.\n *\n * `one_time` incentives that have the following status **CANNOT** be deleted:\n * * `processing`\n * * `paid`\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | - | Manage incentives (`incentive:write`) |\n */\nexport const deleteV1IncentivesId = <ThrowOnError extends boolean = false>(\n options: Options<DeleteV1IncentivesIdData, ThrowOnError>,\n) =>\n (options.client ?? client).delete<\n DeleteV1IncentivesIdResponses,\n DeleteV1IncentivesIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/incentives/{id}',\n ...options,\n });\n\n/**\n * Show Incentive\n *\n * Show an Incentive's details\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | View incentives (`incentive:read`) | Manage incentives (`incentive:write`) |\n */\nexport const getV1IncentivesId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1IncentivesIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1IncentivesIdResponses,\n GetV1IncentivesIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/incentives/{id}',\n ...options,\n });\n\n/**\n * Update Incentive\n *\n * Updates an Incentive.\n *\n * Incentives use the currency of the employment specified provided in the `employment_id` field.\n *\n * The API doesn't support updating paid incentives.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | - | Manage incentives (`incentive:write`) |\n */\nexport const patchV1IncentivesId2 = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1IncentivesId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1IncentivesId2Responses,\n PatchV1IncentivesId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/incentives/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update Incentive\n *\n * Updates an Incentive.\n *\n * Incentives use the currency of the employment specified provided in the `employment_id` field.\n *\n * The API doesn't support updating paid incentives.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | - | Manage incentives (`incentive:write`) |\n */\nexport const patchV1IncentivesId = <ThrowOnError extends boolean = false>(\n options: Options<PatchV1IncentivesIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1IncentivesIdResponses,\n PatchV1IncentivesIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/incentives/{id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Get eligibility questionnaire schema\n *\n * Returns the JSON schema for the eligibility questionnaire by type.\n *\n * The schema defines the structure and validation rules for the questionnaire responses.\n * Supports versioning to allow for schema evolution while maintaining backwards compatibility.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1ContractorsSchemasEligibilityQuestionnaire = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1ContractorsSchemasEligibilityQuestionnaireData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1ContractorsSchemasEligibilityQuestionnaireResponses,\n GetV1ContractorsSchemasEligibilityQuestionnaireErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/schemas/eligibility-questionnaire',\n ...options,\n });\n\n/**\n * List work authorization requests\n *\n * List work authorization requests.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View work authorizations (`work_authorization:read`) | Manage work authorizations (`work_authorization:write`) |\n */\nexport const getV1WorkAuthorizationRequests = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1WorkAuthorizationRequestsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1WorkAuthorizationRequestsResponses,\n GetV1WorkAuthorizationRequestsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/work-authorization-requests',\n ...options,\n });\n\n/**\n * Receive an ADP Marketplace user-unassignment event\n *\n * Called by ADP Marketplace when a user is unassigned from managing the subscription.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1AdpUserUnassignments = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1AdpUserUnassignmentsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1AdpUserUnassignmentsResponses,\n GetV1AdpUserUnassignmentsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/adp/user-unassignments',\n ...options,\n });\n\n/**\n * Show bulk employment job\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1BulkEmploymentJobsJobId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1BulkEmploymentJobsJobIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1BulkEmploymentJobsJobIdResponses,\n GetV1BulkEmploymentJobsJobIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/bulk-employment-jobs/{job_id}',\n ...options,\n });\n\n/**\n * List Pay Items\n *\n * Lists pay items for a company with optional filtering by employment, date range, and pagination.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View pay items (`pay_item:read`) | Manage pay items (`pay_item:write`) |\n */\nexport const getV1PayItems = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1PayItemsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1PayItemsResponses,\n GetV1PayItemsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/pay-items',\n ...options,\n });\n\n/**\n * List Direct Offboardings\n *\n * Lists offboardings for global payroll employments, optionally filtered by employment ID.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View offboarding requests (`offboarding:read`) | Manage offboarding (`offboarding:write`) |\n */\nexport const getV1DirectOffboardings = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1DirectOffboardingsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1DirectOffboardingsResponses,\n GetV1DirectOffboardingsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/direct-offboardings',\n ...options,\n });\n\n/**\n * List Benefit Offers\n *\n * List benefit offers for each country.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View benefit offers (`benefit_offer:read`) | Manage benefit offers (`benefit_offer:write`) |\n */\nexport const getV1BenefitOffersCountrySummaries = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1BenefitOffersCountrySummariesData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1BenefitOffersCountrySummariesResponses,\n GetV1BenefitOffersCountrySummariesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/benefit-offers/country-summaries',\n ...options,\n });\n\n/**\n * List Benefit Offers By Employment\n *\n * List benefit offers by employment.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View benefit offers (`benefit_offer:read`) | Manage benefit offers (`benefit_offer:write`) |\n */\nexport const getV1BenefitOffers = <ThrowOnError extends boolean = false>(\n options: Options<GetV1BenefitOffersData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1BenefitOffersResponses,\n GetV1BenefitOffersErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/benefit-offers',\n ...options,\n });\n\n/**\n * Cancel Contract Amendment\n *\n * Use this endpoint to cancel an existing contract amendment request.\n *\n * This endpoint is only available in Sandbox, otherwise it will respond with a 404.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const putV1SandboxContractAmendmentsContractAmendmentRequestIdCancel = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdCancelData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdCancelResponses,\n PutV1SandboxContractAmendmentsContractAmendmentRequestIdCancelErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/sandbox/contract-amendments/{contract_amendment_request_id}/cancel',\n ...options,\n });\n\n/**\n * List employee time offs\n *\n * Lists the current employee's time off records\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timeoffs (`timeoff:read`) | Manage timeoffs (`timeoff:write`) |\n */\nexport const getV1EmployeeTimeoff = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmployeeTimeoffData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeTimeoffResponses,\n GetV1EmployeeTimeoffErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/timeoff',\n ...options,\n });\n\n/**\n * Create a Pending Time Off\n *\n * Creates a pending Time Off record\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const postV1EmployeeTimeoff = <ThrowOnError extends boolean = false>(\n options: Options<PostV1EmployeeTimeoffData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1EmployeeTimeoffResponses,\n PostV1EmployeeTimeoffErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/timeoff',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update employment\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const patchV2EmploymentsEmploymentId2 = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV2EmploymentsEmploymentId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV2EmploymentsEmploymentId2Responses,\n PatchV2EmploymentsEmploymentId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update employment\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const patchV2EmploymentsEmploymentId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV2EmploymentsEmploymentIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV2EmploymentsEmploymentIdResponses,\n PatchV2EmploymentsEmploymentIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update personal details\n *\n * Updates employment's personal details.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-form) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV2EmploymentsEmploymentIdPersonalDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV2EmploymentsEmploymentIdPersonalDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV2EmploymentsEmploymentIdPersonalDetailsResponses,\n PutV2EmploymentsEmploymentIdPersonalDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/personal-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Show Probation Extension\n *\n * Shows a Probation Extension Request.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View probation documents (`probation_document:read`) | Manage probation documents (`probation_document:write`) |\n */\nexport const getV1ProbationExtensionsId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1ProbationExtensionsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ProbationExtensionsIdResponses,\n GetV1ProbationExtensionsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/probation-extensions/{id}',\n ...options,\n });\n\n/**\n * List payslips\n *\n * Lists all payslips belonging to a company. Can also filter for a single employment belonging\n * to that company.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payslips (`payslip:read`) | - |\n */\nexport const getV1Payslips = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1PayslipsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1PayslipsResponses,\n GetV1PayslipsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/payslips',\n ...options,\n });\n\n/**\n * Download a receipt by id\n *\n * Download a receipt by id.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n */\nexport const getV1ExpensesExpenseIdReceiptsReceiptId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1ExpensesExpenseIdReceiptsReceiptIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ExpensesExpenseIdReceiptsReceiptIdResponses,\n GetV1ExpensesExpenseIdReceiptsReceiptIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/expenses/{expense_id}/receipts/{receipt_id}',\n ...options,\n });\n\n/**\n * Token\n *\n * Endpoint to exchange tokens in the Authorization Code, Assertion Flow, Client Credentials and Refresh Token flows\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Basic authentication** (`BasicAuth`) — using the `CLIENT_ID` as login and the `CLIENT_SECRET` as password. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const postAuthOauth2Token = <ThrowOnError extends boolean = false>(\n options?: Options<PostAuthOauth2TokenData, ThrowOnError>,\n) =>\n (options?.client ?? client).post<\n PostAuthOauth2TokenResponses,\n PostAuthOauth2TokenErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'basic', type: 'http' }],\n url: '/auth/oauth2/token',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * Show legal entity administrative details form schema\n *\n * Returns the json schema of a supported form. Possible form names are:\n * ```\n * - administrative_details\n * ```\n *\n * Most forms require a company access token, as they are dependent on certain\n * properties of companies and their current employments.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View forms (`form:read`) | - |\n */\nexport const getV1CountriesCountryCodeLegalEntityFormsForm = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1CountriesCountryCodeLegalEntityFormsFormData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1CountriesCountryCodeLegalEntityFormsFormResponses,\n GetV1CountriesCountryCodeLegalEntityFormsFormErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/countries/{country_code}/legal_entity_forms/{form}',\n ...options,\n });\n\n/**\n * Manage contractor plus subscription\n *\n * Endpoint that can be used to upgrade, assign or downgrade a contractor's subscription.\n * This can be used when company admins desire to assign someone to the Contractor Plus plan,\n * but also to change the contractor's subscription between Plus and Standard.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV1ContractorsEmploymentsEmploymentIdContractorPlusSubscription =\n <ThrowOnError extends boolean = false>(\n options: Options<\n PostV1ContractorsEmploymentsEmploymentIdContractorPlusSubscriptionData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).post<\n PostV1ContractorsEmploymentsEmploymentIdContractorPlusSubscriptionResponses,\n PostV1ContractorsEmploymentsEmploymentIdContractorPlusSubscriptionErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/contractor-plus-subscription',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List Time Off\n *\n * Lists all Time Off records.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | View timeoffs (`timeoff:read`) | Manage timeoffs (`timeoff:write`) |\n */\nexport const getV1Timeoff = <ThrowOnError extends boolean = false>(\n options: Options<GetV1TimeoffData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1TimeoffResponses,\n GetV1TimeoffErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff',\n ...options,\n });\n\n/**\n * Create Time Off\n *\n * Creates a Time Off record\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const postV1Timeoff = <ThrowOnError extends boolean = false>(\n options: Options<PostV1TimeoffData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1TimeoffResponses,\n PostV1TimeoffErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List Company Payroll Runs\n *\n * Lists all payroll runs for a company\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage payroll runs (`payroll`) | View payroll runs (`payroll_run:read`) | - |\n */\nexport const getV1PayrollRuns = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1PayrollRunsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1PayrollRunsResponses,\n GetV1PayrollRunsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/payroll-runs',\n ...options,\n });\n\n/**\n * Find or create a pre-onboarding document for an employment\n *\n * Finds an existing unsigned pre-onboarding document for the given requirement, or creates a new one.\n * Idempotent: repeated calls with the same `pre_onboarding_document_requirement_slug` return the same\n * document until it is signed.\n *\n * Deprecated: use\n * `POST /onboarding/employments/:employment_id/pre-onboarding-requirements/:requirement_slug/documents` instead.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage documents (`document:write`) |\n *\n * @deprecated\n */\nexport const postV1OnboardingEmploymentsEmploymentIdPreOnboardingDocuments = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsResponses,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/onboarding/employments/{employment_id}/pre-onboarding-documents',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List a company's pending actions\n *\n * Given a company ID, returns the company-level actions still pending for the company — for\n * example company verification and Remote Payments setup. The list can be empty or contain one\n * or more actions; `setup_remote_payments` is returned once per legal entity that needs it.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View companies (`company:read`) | Manage companies (`company:write`) |\n */\nexport const getV1CompaniesCompanyIdActions = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1CompaniesCompanyIdActionsData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompaniesCompanyIdActionsResponses,\n GetV1CompaniesCompanyIdActionsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/companies/{company_id}/actions',\n ...options,\n });\n\n/**\n * Get group by ID via SCIM v2.0\n *\n * Retrieves a single group (department) for the authenticated company by group ID\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n */\nexport const getV1ScimV2GroupsId = <ThrowOnError extends boolean = false>(\n options: Options<GetV1ScimV2GroupsIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1ScimV2GroupsIdResponses,\n GetV1ScimV2GroupsIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/scim/v2/Groups/{id}',\n ...options,\n });\n\n/**\n * List Employment Contract.\n *\n * Get the employment contract history for a given employment. If `only_active` is true, it will return only the active or last active contract.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View contracts (`contract:read`) | - |\n */\nexport const getV1EmploymentContracts = <ThrowOnError extends boolean = false>(\n options: Options<GetV1EmploymentContractsData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentContractsResponses,\n GetV1EmploymentContractsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employment-contracts',\n ...options,\n });\n\n/**\n * Convert currency using dynamic rates\n *\n * Convert currency using the rates Remote applies during employment creation and invoicing.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Client token** (`ClientToken`) — a partner `client_token`, accepted only on marketing endpoints. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | Convert currencies (`convert_currency:read`) | - |\n */\nexport const postV1CurrencyConverterEffective2 = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1CurrencyConverterEffective2Data, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CurrencyConverterEffective2Responses,\n PostV1CurrencyConverterEffective2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/currency-converter',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List all companies\n *\n * List all companies that authorized your integration to act on their behalf. In other words, these are all the companies that your integration can manage. Any company that has completed the authorization flow for your integration will be included in the response.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View companies (`company:read`) | Manage companies (`company:write`) |\n */\nexport const getV1Companies = <ThrowOnError extends boolean = false>(\n options: Options<GetV1CompaniesData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompaniesResponses,\n GetV1CompaniesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/companies',\n ...options,\n });\n\n/**\n * Create a company\n *\n * Creates a new company.\n *\n * ### Creating a company with only the required request body parameters\n * When you call this endpoint and omit all the optional parameters in the request body,\n * the following resources get created upon a successful response:\n * * A new company with status `pending`.\n * * A company owner for the new company with status `initiated`.\n *\n * See the [update a company endpoint](#tag/Companies/operation/patch_update_company) for\n * more details on how to get your company and its owner to `active` status.\n *\n * If you'd like to create a company and its owner with `active` status in a single request,\n * please provide the optional `address_details` parameter as well.\n *\n * ### Accepting the Terms of Service\n *\n * A required step for creating a company in Remote is to accept our Terms of Service (ToS).\n *\n * Company managers need to be aware of our Terms of Service and Privacy Policy,\n * hence **it's the responsibility of our partners to advise and ensure company managers read\n * and accept the ToS**. The terms have to be accepted only once, before creating a company,\n * and the Remote API will collect the acceptance timestamp as its confirmation.\n *\n * To ensure users read the most recent version of Remote's Terms of Service, their **acceptance\n * must be done within the last fifteen minutes prior the company creation action**.\n *\n * To retrieve this information, partners can provide an element with any text and a description\n * explaining that by performing that action they are accepting Remote's Term of Service. For\n * instance, the partner can add a checkbox or a \"Create Remote Account\" button followed by a\n * description saying \"By creating an account, you agree to\n * [Remote's Terms of Service](https://remote.com/terms-of-service). Also see Remote's\n * [Privacy Policy](https://remote.com/privacy-policy)\".\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage companies (`company_management`) | - | Manage companies (`company:write`) |\n */\nexport const postV1Companies = <ThrowOnError extends boolean = false>(\n options: Options<PostV1CompaniesData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1CompaniesResponses,\n PostV1CompaniesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/companies',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update billing address details\n *\n * Updates employment's billing address details.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-form) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV2EmploymentsEmploymentIdBillingAddressDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV2EmploymentsEmploymentIdBillingAddressDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV2EmploymentsEmploymentIdBillingAddressDetailsResponses,\n PutV2EmploymentsEmploymentIdBillingAddressDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/billing-address-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Create bulk employment job\n *\n * Creates a job to bulk-create employments for multiple employees at once. Each employee payload must match the employment schema for the selected country.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV1BulkEmploymentJobs = <ThrowOnError extends boolean = false>(\n options?: Options<PostV1BulkEmploymentJobsData, ThrowOnError>,\n) =>\n (options?.client ?? client).post<\n PostV1BulkEmploymentJobsResponses,\n PostV1BulkEmploymentJobsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/bulk-employment-jobs',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * Preview a Contractor Invoice\n *\n * Returns a base64-encoded PDF preview of a contractor invoice built from the given parameters.\n *\n * The document is a draft and is not persisted.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | View invoices (`invoices:read`) | Manage invoices (`invoices:write`) |\n */\nexport const postV1EmploymentsEmploymentIdContractorInvoicesPreview = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1EmploymentsEmploymentIdContractorInvoicesPreviewData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1EmploymentsEmploymentIdContractorInvoicesPreviewResponses,\n PostV1EmploymentsEmploymentIdContractorInvoicesPreviewErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/contractor-invoices/preview',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Send back a timesheet for review or modification\n *\n * Sends the given timesheet back to the employee for review or modification.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timesheets (`timesheet:write`) |\n */\nexport const postV1TimesheetsTimesheetIdSendBack = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1TimesheetsTimesheetIdSendBackData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1TimesheetsTimesheetIdSendBackResponses,\n PostV1TimesheetsTimesheetIdSendBackErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timesheets/{timesheet_id}/send-back',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Check job title eligibility\n *\n * Checks whether Remote can employ the given job title and role for this employment, and\n * returns the verdict without changing anything.\n *\n * Call this before submitting contract details. The verdict tells you whether the\n * submission will succeed, be rejected, need a risk acknowledgement, or place the\n * employment into a human review; and the returned `check_id` lets the submission reuse\n * the verdict instead of recalculating it.\n *\n * Calling this repeatedly with the same job title and role answers is cheap: the recorded\n * check is reused. Changing any of them produces a fresh verdict.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV2EmploymentsEmploymentIdJobTitleEligibilityCheck = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV2EmploymentsEmploymentIdJobTitleEligibilityCheckData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV2EmploymentsEmploymentIdJobTitleEligibilityCheckResponses,\n PostV2EmploymentsEmploymentIdJobTitleEligibilityCheckErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/job-title-eligibility-check',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Deletes a Company Manager user\n *\n * Deletes a Company Manager user\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage managers (`company_manager:write`) |\n */\nexport const deleteV1CompanyManagersUserId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<DeleteV1CompanyManagersUserIdData, ThrowOnError>,\n) =>\n (options.client ?? client).delete<\n DeleteV1CompanyManagersUserIdResponses,\n DeleteV1CompanyManagersUserIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/company-managers/{user_id}',\n ...options,\n });\n\n/**\n * Show company manager user\n *\n * Shows a single company manager user\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | View managers (`company_manager:read`) | Manage managers (`company_manager:write`) |\n */\nexport const getV1CompanyManagersUserId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1CompanyManagersUserIdData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1CompanyManagersUserIdResponses,\n GetV1CompanyManagersUserIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/company-managers/{user_id}',\n ...options,\n });\n\n/**\n * Update a Company Manager's billing contact assignment\n *\n * Assigns or unassigns a Company Manager as the billing contact (primary or additional)\n * for one or more legal entities.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage managers (`company_manager:write`) |\n */\nexport const patchV1CompanyManagersUserId2 = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1CompanyManagersUserId2Data, ThrowOnError>,\n) =>\n (options.client ?? client).patch<\n PatchV1CompanyManagersUserId2Responses,\n PatchV1CompanyManagersUserId2Errors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/company-managers/{user_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update a Company Manager's billing contact assignment\n *\n * Assigns or unassigns a Company Manager as the billing contact (primary or additional)\n * for one or more legal entities.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage company resources (`company_admin`) | - | Manage managers (`company_manager:write`) |\n */\nexport const patchV1CompanyManagersUserId = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PatchV1CompanyManagersUserIdData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PatchV1CompanyManagersUserIdResponses,\n PatchV1CompanyManagersUserIdErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/company-managers/{user_id}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Update personal details\n *\n * Updates employment's personal details.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-form) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV1EmploymentsEmploymentIdPersonalDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV1EmploymentsEmploymentIdPersonalDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV1EmploymentsEmploymentIdPersonalDetailsResponses,\n PutV1EmploymentsEmploymentIdPersonalDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/personal-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List expenses for the authenticated employee\n *\n * Returns a paginated list of expenses belonging to the current employee.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | View expenses (`expense:read`) | Manage expenses (`expense:write`) |\n */\nexport const getV1EmployeeExpenses = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmployeeExpensesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeExpensesResponses,\n GetV1EmployeeExpensesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/expenses',\n ...options,\n });\n\n/**\n * Create an expense for the authenticated employee\n *\n * Creates a new expense record for the current employee.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage expenses (`employment_payments`) | - | Manage expenses (`expense:write`) |\n */\nexport const postV1EmployeeExpenses = <ThrowOnError extends boolean = false>(\n options?: Options<PostV1EmployeeExpensesData, ThrowOnError>,\n) =>\n (options?.client ?? client).post<\n PostV1EmployeeExpensesResponses,\n PostV1EmployeeExpensesErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/expenses',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n/**\n * Receive an ADP Marketplace subscription-cancel event\n *\n * Called by ADP Marketplace when a customer cancels their subscription.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n */\nexport const getV1AdpSubscriptionCancellations = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1AdpSubscriptionCancellationsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1AdpSubscriptionCancellationsResponses,\n GetV1AdpSubscriptionCancellationsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/adp/subscription-cancellations',\n ...options,\n });\n\n/**\n * Delete contractor of record subscription intent\n *\n * Deletes Contractor of Record subscription intent.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const deleteV1ContractorsEmploymentsEmploymentIdContractorCorSubscription =\n <ThrowOnError extends boolean = false>(\n options: Options<\n DeleteV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).delete<\n DeleteV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionResponses,\n DeleteV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/contractor-cor-subscription',\n ...options,\n });\n\n/**\n * Create contractor of record subscription intent\n *\n * Assigns Contractor of Record subscription in pending state to employment.\n * Once risk analysis is performed, subscription may start upon contract signing,\n * or might be denied.\n *\n * Requires a non-blocking eligibility questionnaire to be submitted before creating the subscription intent.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV1ContractorsEmploymentsEmploymentIdContractorCorSubscription =\n <ThrowOnError extends boolean = false>(\n options: Options<\n PostV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).post<\n PostV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionResponses,\n PostV1ContractorsEmploymentsEmploymentIdContractorCorSubscriptionErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractors/employments/{employment_id}/contractor-cor-subscription',\n ...options,\n });\n\n/**\n * Sign a pre-onboarding document\n *\n * Signs the latest contract document associated with the given pre-onboarding document on behalf\n * of the company signatory.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage documents (`document:write`) |\n */\nexport const postV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdSign =\n <ThrowOnError extends boolean = false>(\n options: Options<\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdSignData,\n ThrowOnError\n >,\n ) =>\n (options.client ?? client).post<\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdSignResponses,\n PostV1OnboardingEmploymentsEmploymentIdPreOnboardingDocumentsIdSignErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/onboarding/employments/{employment_id}/pre-onboarding-documents/{id}/sign',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * List Contractor Invoice Schedules\n *\n * Lists Contractor Invoice Schedule records.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | - | Manage invoices (`invoices:write`) |\n */\nexport const getV1ContractorInvoiceSchedules = <\n ThrowOnError extends boolean = false,\n>(\n options?: Options<GetV1ContractorInvoiceSchedulesData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1ContractorInvoiceSchedulesResponses,\n GetV1ContractorInvoiceSchedulesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractor-invoice-schedules',\n ...options,\n });\n\n/**\n * Create Contractor Invoice Schedules\n *\n * Creates many invoice schedules records.\n * It's supposed to return two lists: one containing created records, and another one containing the schedules that failed to be inserted.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | - | Manage invoices (`invoices:write`) |\n */\nexport const postV1ContractorInvoiceSchedules = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PostV1ContractorInvoiceSchedulesData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1ContractorInvoiceSchedulesResponses,\n PostV1ContractorInvoiceSchedulesErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/contractor-invoice-schedules',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Submit employee state taxes\n *\n * Submits the authenticated employee's US state tax withholding answers for a\n * single jurisdiction (e.g. `NY`).\n *\n * Available for US Global Payroll employees once they reach the post-enrollment\n * state, at which point the per-jurisdiction state tax task exists.\n *\n * This endpoint requires country/jurisdiction-specific data. Query the\n * [Show form schema](#tag/Countries/operation/get_show_form_country) endpoint with `global_payroll_state_taxes`\n * as the form name to discover the schema for a given country.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage personal details (`personal_detail:write`) |\n */\nexport const putV1EmployeeStateTaxesJurisdiction = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<PutV1EmployeeStateTaxesJurisdictionData, ThrowOnError>,\n) =>\n (options.client ?? client).put<\n PutV1EmployeeStateTaxesJurisdictionResponses,\n PutV1EmployeeStateTaxesJurisdictionErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/state-taxes/{jurisdiction}',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Get engagement agreement details\n *\n * Returns the engagement agreement details for an employment.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | View employments (`employment:read`) | Manage employments (`employment:write`) |\n */\nexport const getV1EmploymentsEmploymentIdEngagementAgreementDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1EmploymentsEmploymentIdEngagementAgreementDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdEngagementAgreementDetailsResponses,\n GetV1EmploymentsEmploymentIdEngagementAgreementDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/engagement-agreement-details',\n ...options,\n });\n\n/**\n * Upsert engagement agreement details\n *\n * Creates or updates the engagement agreement details for an employment.\n *\n * This endpoint requires country-specific data. The exact required fields will vary depending on\n * which country the employment is in. To see the list of parameters for each country, see the\n * **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that compliance requirements for each country are subject to change according to local laws.\n * Using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) is recommended\n * to avoid compliance issues and to have the latest version of a country's requirements.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const postV1EmploymentsEmploymentIdEngagementAgreementDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1EmploymentsEmploymentIdEngagementAgreementDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1EmploymentsEmploymentIdEngagementAgreementDetailsResponses,\n PostV1EmploymentsEmploymentIdEngagementAgreementDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/engagement-agreement-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Get Billing Document Breakdown. Requires a token issued via the authorization_code grant (company_manager role) — not usable with a client_credentials (integration) token.\n *\n * Get billing document breakdown\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | View invoices (`invoices:read`) | Manage invoices (`invoices:write`) |\n */\nexport const getV1BillingDocumentsBillingDocumentIdBreakdown = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1BillingDocumentsBillingDocumentIdBreakdownData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1BillingDocumentsBillingDocumentIdBreakdownResponses,\n GetV1BillingDocumentsBillingDocumentIdBreakdownErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/billing-documents/{billing_document_id}/breakdown',\n ...options,\n });\n\n/**\n * Preview the Employment Agreement for an employment\n *\n * Returns a base64-encoded PDF preview of the auto-generated Employment Agreement for an employment.\n *\n * The document is rendered as a draft (no signatures) and is not persisted. EA preview is only\n * available for countries that have a published Employment Agreement automation template — see the\n * `employment_agreement_preview_available` flag on the [Countries](#tag/Countries) endpoint.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n */\nexport const getV1EmploymentsEmploymentIdEmploymentAgreementPreview = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1EmploymentsEmploymentIdEmploymentAgreementPreviewData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1EmploymentsEmploymentIdEmploymentAgreementPreviewResponses,\n GetV1EmploymentsEmploymentIdEmploymentAgreementPreviewErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/employments/{employment_id}/employment-agreement/preview',\n ...options,\n });\n\n/**\n * Update administrative details\n *\n * Updates employment's administrative details.\n *\n * This endpoint requires and returns country-specific data. The exact required and returned fields will\n * vary depending on which country the employment is in. To see the list of parameters for each country,\n * see the **Show form schema** endpoint under the [Countries](#tag/Countries) category.\n *\n * Please note that the compliance requirements for each country are subject to change according to local\n * laws. Given its continual updates, using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) should be considered in order to avoid\n * compliance issues and to have the latest version of a country requirements.\n *\n * If you are using this endpoint to build an integration, make sure you are dynamically collecting or\n * displaying the latest parameters for each country by querying the _\"Show form schema\"_ endpoint.\n *\n * For more information on JSON Schemas, see the **How JSON Schemas work** documentation.\n *\n * To learn how you can dynamically generate forms to display in your UI, see the documentation for\n * the [json-schema-form](https://developer.remote.com/docs/how-json-schemas-form) tool.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employments (`employments`) | - | Manage employments (`employment:write`) |\n */\nexport const putV2EmploymentsEmploymentIdAdministrativeDetails = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PutV2EmploymentsEmploymentIdAdministrativeDetailsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).put<\n PutV2EmploymentsEmploymentIdAdministrativeDetailsResponses,\n PutV2EmploymentsEmploymentIdAdministrativeDetailsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v2/employments/{employment_id}/administrative-details',\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options.headers,\n },\n });\n\n/**\n * Indexes all the documents for the employee\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n */\nexport const getV1EmployeeDocuments = <ThrowOnError extends boolean = false>(\n options?: Options<GetV1EmployeeDocumentsData, ThrowOnError>,\n) =>\n (options?.client ?? client).get<\n GetV1EmployeeDocumentsResponses,\n GetV1EmployeeDocumentsErrors,\n ThrowOnError\n >({\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/documents',\n ...options,\n });\n\n/**\n * Upload employee file\n *\n * Uploads a file owned by the authenticated employee, for example\n * identity documents or tax forms.\n *\n * ## Authentication\n *\n * This endpoint requires the following token type:\n *\n * - **Employee-scoped access token** (`OAuth2Assertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage documents (`document:write`) |\n */\nexport const postV1EmployeeDocuments = <ThrowOnError extends boolean = false>(\n options: Options<PostV1EmployeeDocumentsData, ThrowOnError>,\n) =>\n (options.client ?? client).post<\n PostV1EmployeeDocumentsResponses,\n PostV1EmployeeDocumentsErrors,\n ThrowOnError\n >({\n ...formDataBodySerializer,\n security: [{ scheme: 'bearer', type: 'http' }],\n url: '/v1/employee/documents',\n ...options,\n headers: {\n 'Content-Type': null,\n ...options.headers,\n },\n });\n\n/**\n * Approve a time off cancellation request\n *\n * Approve a time off cancellation request.\n * In order to approve a time off cancellation request, the timeoff status must be `cancel_requested`.\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage timeoffs (`time_and_attendance`) | - | Manage timeoffs (`timeoff:write`) |\n */\nexport const postV1TimeoffTimeoffIdCancelRequestApprove = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1TimeoffTimeoffIdCancelRequestApproveData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1TimeoffTimeoffIdCancelRequestApproveResponses,\n PostV1TimeoffTimeoffIdCancelRequestApproveErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/timeoff/{timeoff_id}/cancel-request/approve',\n ...options,\n });\n\n/**\n * Verify Employment Identity\n *\n * Endpoint to confirms the employment profile is from the actual employee\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | - | Manage identity verification (`identity_verification:write`) |\n */\nexport const postV1IdentityVerificationEmploymentIdVerify = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n PostV1IdentityVerificationEmploymentIdVerifyData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).post<\n PostV1IdentityVerificationEmploymentIdVerifyResponses,\n PostV1IdentityVerificationEmploymentIdVerifyErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/identity-verification/{employment_id}/verify',\n ...options,\n });\n\n/**\n * Download a billing document PDF\n *\n * Downloads a billing document PDF\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage invoices (`invoices`) | View invoices (`invoices:read`) | Manage invoices (`invoices:write`) |\n */\nexport const getV1BillingDocumentsBillingDocumentIdPdf = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<GetV1BillingDocumentsBillingDocumentIdPdfData, ThrowOnError>,\n) =>\n (options.client ?? client).get<\n GetV1BillingDocumentsBillingDocumentIdPdfResponses,\n GetV1BillingDocumentsBillingDocumentIdPdfErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/billing-documents/{billing_document_id}/pdf',\n ...options,\n });\n\n/**\n * List pre-onboarding requirements for an employment\n *\n * Returns the list of pre-onboarding requirements — both documents (e.g. master service\n * agreements, individual labour agreements) and acknowledgements — that must be fulfilled\n * before the given employment can be onboarded. Each requirement carries its `type`, current\n * `status`, and the requirement it `depends_on` (if any).\n *\n * ## Authentication\n *\n * This endpoint accepts any one of the following token types:\n *\n * - **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).\n * - **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).\n *\n * ## Scopes\n *\n * | Category | Read only Scope | Write only Scope (read access implicit) |\n * |---|---|---|\n * | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |\n */\nexport const getV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirements = <\n ThrowOnError extends boolean = false,\n>(\n options: Options<\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsData,\n ThrowOnError\n >,\n) =>\n (options.client ?? client).get<\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsResponses,\n GetV1OnboardingEmploymentsEmploymentIdPreOnboardingRequirementsErrors,\n ThrowOnError\n >({\n security: [\n { scheme: 'bearer', type: 'http' },\n { scheme: 'bearer', type: 'http' },\n ],\n url: '/v1/onboarding/employments/{employment_id}/pre-onboarding-requirements',\n ...options,\n });\n"],"mappings":"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"}