@remoteoss/remote-flows 1.14.0 → 1.16.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.
- package/README.md +10 -9
- package/dist/ButtonDefault-6LBHWUQH.js +2 -0
- package/dist/CheckboxFieldDefault-X4DYVQCE.js +2 -0
- package/dist/CountryFieldDefault-JZDE75HS.js +2 -0
- package/dist/DatePickerFieldDefault-LJV4QSEP.js +2 -0
- package/dist/DrawerDefault-FLNSDSMB.js +2 -0
- package/dist/EmailFieldDefault-T6HHE5RL.js +2 -0
- package/dist/FieldsetToggleButtonDefault-MXBQJ55Q.js +2 -0
- package/dist/FileUploadFieldDefault-5NW3ZFXD.js +2 -0
- package/dist/MultiSelectFieldDefault-OQ6SNNBI.js +2 -0
- package/dist/NumberFieldDefault-IVUTWJS5.js +2 -0
- package/dist/PDFPreviewDefault-RJNE7QSF.js +2 -0
- package/dist/RadioGroupFieldDefault-CXY33ONT.js +2 -0
- package/dist/SelectFieldDefault-66GGFDX3.js +2 -0
- package/dist/StatementDefault-DORMITL7.js +2 -0
- package/dist/TableFieldDefault-URJVK7YR.js +2 -0
- package/dist/TextAreaFieldDefault-5H34RRBA.js +2 -0
- package/dist/TextFieldDefault-VHIF2KLF.js +2 -0
- package/dist/WorkScheduleFieldDefault-T7IP52VU.js +2 -0
- package/dist/ZendeskDrawerDefault-YSBMA2ZH.js +2 -0
- package/dist/chunk-246D2A55.js +2 -0
- package/dist/{chunk-43UKWTHS.js.map → chunk-246D2A55.js.map} +1 -1
- package/dist/chunk-2NDVHQRP.js +2 -0
- package/dist/chunk-2NDVHQRP.js.map +1 -0
- package/dist/chunk-37RMY44V.js +2 -0
- package/dist/chunk-37RMY44V.js.map +1 -0
- package/dist/{chunk-CWHIIHQP.js → chunk-3B6XXK5H.js} +2 -2
- package/dist/{chunk-AFJIZDZG.js → chunk-3BBQDNZD.js} +2 -2
- package/dist/{chunk-CD6F3H7B.js → chunk-3DMWQJ5W.js} +2 -2
- package/dist/chunk-42R2H2DW.js +2 -0
- package/dist/{chunk-UXHMIIOB.js → chunk-44RIEWXA.js} +2 -2
- package/dist/{chunk-BOWNQTTR.js → chunk-4EMAROPQ.js} +2 -2
- package/dist/{chunk-HCJP6RDC.js → chunk-4N4MQECC.js} +2 -2
- package/dist/{chunk-UBYT2TI4.js → chunk-4UO7KLRK.js} +2 -2
- package/dist/chunk-5KMUUL7U.js +1 -0
- package/dist/chunk-5KMUUL7U.js.map +1 -0
- package/dist/chunk-5WIBTOCI.js +2 -0
- package/dist/chunk-5WIBTOCI.js.map +1 -0
- package/dist/chunk-62O3CKKH.js +2 -0
- package/dist/chunk-62O3CKKH.js.map +1 -0
- package/dist/{chunk-ZIXR3VSB.js → chunk-6AAV34CT.js} +2 -2
- package/dist/chunk-76ZDXC2T.js +2 -0
- package/dist/chunk-76ZDXC2T.js.map +1 -0
- package/dist/chunk-7ENB7H4E.js +6 -0
- package/dist/chunk-7ENB7H4E.js.map +1 -0
- package/dist/{chunk-ZPDZ6V5R.js → chunk-7G5JSUZU.js} +2 -2
- package/dist/{chunk-JYYCK5IN.js → chunk-7PWZAW7M.js} +2 -2
- package/dist/{chunk-T7CGGZOK.js → chunk-7RP5F62S.js} +2 -2
- package/dist/chunk-7WGZGAQY.js +2 -0
- package/dist/chunk-7WGZGAQY.js.map +1 -0
- package/dist/{chunk-I3J7LKY3.js → chunk-A232PIG7.js} +2 -2
- package/dist/chunk-A3LRPGV3.js +2 -0
- package/dist/chunk-A3LRPGV3.js.map +1 -0
- package/dist/{chunk-BZ5XEZCL.js → chunk-A7CLJBJI.js} +2 -2
- package/dist/{chunk-FI2MVRZR.js → chunk-AJCKNHZB.js} +2 -2
- package/dist/{chunk-4HVLMGRA.js → chunk-AJIDQALB.js} +2 -2
- package/dist/{chunk-UXP2IITO.js → chunk-ALVZNFB7.js} +2 -2
- package/dist/chunk-AW7JELYX.js +2 -0
- package/dist/chunk-AW7JELYX.js.map +1 -0
- package/dist/{chunk-OCTMRR2C.js → chunk-B66V5QEC.js} +2 -2
- package/dist/{chunk-5RFDYBDY.js → chunk-B7EJ2OAA.js} +2 -2
- package/dist/{chunk-QE62LRON.js → chunk-BG66XH5L.js} +2 -2
- package/dist/{chunk-Q5LU2ZBL.js → chunk-BGRX3DBF.js} +2 -2
- package/dist/{chunk-2TPHCOVE.js → chunk-BVFQ6LFD.js} +2 -2
- package/dist/{chunk-RM7W6QA7.js → chunk-C6KWUSCU.js} +2 -2
- package/dist/{chunk-Y7NHXFRX.js → chunk-CARPUKT7.js} +2 -2
- package/dist/{chunk-BWMATZIU.js → chunk-DFAY4TWC.js} +2 -2
- package/dist/{chunk-O5ENJKI6.js → chunk-DNDYXEZ6.js} +2 -2
- package/dist/{chunk-46QJ44CZ.js → chunk-DXIJUMLU.js} +2 -2
- package/dist/{chunk-I4CH573Y.js → chunk-E2LBPO5Z.js} +2 -2
- package/dist/{chunk-CB7T2SPX.js → chunk-EDLQ3JNY.js} +2 -2
- package/dist/{chunk-TZCNONDA.js → chunk-EHD2YB5F.js} +2 -2
- package/dist/{chunk-IAIHITHL.js → chunk-ERSP6CZ3.js} +2 -2
- package/dist/chunk-EWL6BSEP.js +2 -0
- package/dist/chunk-EWL6BSEP.js.map +1 -0
- package/dist/{chunk-TUJXQF4Q.js → chunk-FJVQQ4XB.js} +2 -2
- package/dist/{chunk-YA2G4A3K.js → chunk-FRCFJ64I.js} +2 -2
- package/dist/chunk-FSK2DR6Z.js +2 -0
- package/dist/{chunk-L622FFV6.js.map → chunk-FSK2DR6Z.js.map} +1 -1
- package/dist/{chunk-5R66NDTQ.js → chunk-FUGPVPYX.js} +2 -2
- package/dist/{chunk-JRUJLG27.js → chunk-G7EVUAYE.js} +2 -2
- package/dist/{chunk-ZSJ6YADQ.js → chunk-H2JFQGQJ.js} +2 -2
- package/dist/{chunk-ZURHNW3D.js → chunk-H3BUOBWO.js} +2 -2
- package/dist/{chunk-MCGUHRQL.js → chunk-HKNK5Z6N.js} +2 -2
- package/dist/{chunk-NFLKVFAD.js → chunk-HOR3KPOZ.js} +2 -2
- package/dist/chunk-HQAHUE5P.js +2 -0
- package/dist/chunk-HQAHUE5P.js.map +1 -0
- package/dist/{chunk-WLMHGJWB.js → chunk-HUZBKPGP.js} +2 -2
- package/dist/chunk-HYYILYKU.js +2 -0
- package/dist/chunk-HYYILYKU.js.map +1 -0
- package/dist/{chunk-7SVSJ7NG.js → chunk-I3TP6JKM.js} +2 -2
- package/dist/{chunk-XGECMN4V.js → chunk-IF42CZJH.js} +2 -2
- package/dist/{chunk-D67Z4NEP.js → chunk-IGLKMXWJ.js} +2 -2
- package/dist/{chunk-3EK647EG.js → chunk-IZGSVS3I.js} +2 -2
- package/dist/{chunk-ZKS7DJDT.js → chunk-J2BTEUAM.js} +2 -2
- package/dist/{chunk-BKVBDV6E.js → chunk-JGJTFYHN.js} +2 -2
- package/dist/{chunk-PPY77NYV.js → chunk-JI4CYPLW.js} +2 -2
- package/dist/{chunk-OV7TLEE6.js → chunk-KQKH3H6S.js} +2 -2
- package/dist/{chunk-6VQEAU6A.js → chunk-KRSUSMJK.js} +2 -2
- package/dist/{chunk-FBE7F5HU.js → chunk-L3LOATSG.js} +2 -2
- package/dist/{chunk-3PVZEAGI.js → chunk-L5DII4MV.js} +2 -2
- package/dist/{chunk-HRK4FJGT.js → chunk-LVXV3GHT.js} +2 -2
- package/dist/{chunk-7RC7EB47.js → chunk-MHAY555P.js} +2 -2
- package/dist/{chunk-3YKLEDVY.js → chunk-MLVB5MYU.js} +2 -2
- package/dist/{chunk-CU3WQ2KN.js → chunk-MSBCYMSH.js} +2 -2
- package/dist/chunk-NAH5PAUK.js +2 -0
- package/dist/chunk-NAH5PAUK.js.map +1 -0
- package/dist/{chunk-2DCJODMR.js → chunk-NEWXVHFX.js} +2 -2
- package/dist/{chunk-2UKAVWUS.js → chunk-OENTT2KT.js} +2 -2
- package/dist/{chunk-HPBYZOPP.js → chunk-OEXY56S2.js} +2 -2
- package/dist/chunk-PHPCCABU.js +2 -0
- package/dist/chunk-PHPCCABU.js.map +1 -0
- package/dist/{chunk-AS4ND5IO.js → chunk-PKK2EEXH.js} +2 -2
- package/dist/{chunk-HMMFY4PV.js → chunk-Q73675NI.js} +2 -2
- package/dist/chunk-QECFSTI4.js +2 -0
- package/dist/chunk-QECFSTI4.js.map +1 -0
- package/dist/chunk-QPN6X6UA.js +2 -0
- package/dist/chunk-QPN6X6UA.js.map +1 -0
- package/dist/{chunk-VON7RTMD.js → chunk-R7BHA5RA.js} +2 -2
- package/dist/{chunk-IUCFOQAD.js → chunk-RAH453TV.js} +2 -2
- package/dist/{chunk-4YPJKEHT.js → chunk-RJY6AEJB.js} +2 -2
- package/dist/chunk-SLD227LM.js +2 -0
- package/dist/chunk-SLD227LM.js.map +1 -0
- package/dist/{chunk-UP27IEE4.js → chunk-SLLDKJ7K.js} +2 -2
- package/dist/{chunk-JEULZR34.js → chunk-SNBAM7SA.js} +2 -2
- package/dist/{chunk-ZPG6GRAX.js → chunk-SNECOPBD.js} +2 -2
- package/dist/{chunk-BDMCADQ6.js → chunk-SS2FAFUZ.js} +2 -2
- package/dist/{chunk-JJEFWMLY.js → chunk-TFSRZOMP.js} +2 -2
- package/dist/{chunk-W5EXVAEO.js → chunk-TNN3W5TU.js} +2 -2
- package/dist/{chunk-D5NBOIPS.js → chunk-TOQPDTGG.js} +2 -2
- package/dist/{chunk-6IFPFK23.js → chunk-TPGN6QTL.js} +2 -2
- package/dist/{chunk-OJ3HJ7QL.js → chunk-TQXCLXWH.js} +2 -2
- package/dist/{chunk-RQRODRCR.js → chunk-TRBEYNRN.js} +2 -2
- package/dist/{chunk-JHMIAK67.js → chunk-TVIUQXLE.js} +2 -2
- package/dist/{chunk-OK3CYSHV.js → chunk-TXQWBDNF.js} +2 -2
- package/dist/chunk-TXSUZLOI.js +2 -0
- package/dist/chunk-TXSUZLOI.js.map +1 -0
- package/dist/chunk-UB6PYKNX.js +2 -0
- package/dist/chunk-UB6PYKNX.js.map +1 -0
- package/dist/{chunk-4ZQ7NOAL.js → chunk-ULP5B6DG.js} +2 -2
- package/dist/{chunk-OPWMRKZP.js → chunk-UMVA4SIV.js} +2 -2
- package/dist/{chunk-GSSC5OVG.js → chunk-UMVMNUPH.js} +2 -2
- package/dist/{chunk-NKPRRBFG.js → chunk-VBQVXR4U.js} +2 -2
- package/dist/{chunk-3PIJOIYR.js → chunk-VIGKOVHP.js} +2 -2
- package/dist/{chunk-3PIJOIYR.js.map → chunk-VIGKOVHP.js.map} +1 -1
- package/dist/{chunk-W2PJUNWX.js → chunk-VLSOHNT2.js} +2 -2
- package/dist/{chunk-AGUAPUCU.js → chunk-W4ECFBIA.js} +2 -2
- package/dist/{chunk-LWGNRGU3.js → chunk-WD2JGIDK.js} +2 -2
- package/dist/{chunk-CE4ZEIWI.js → chunk-WEAO46EO.js} +2 -2
- package/dist/{chunk-K6WWMYKM.js → chunk-WEOIHTBU.js} +2 -2
- package/dist/{chunk-DG3T5KLP.js → chunk-WO54IG4S.js} +2 -2
- package/dist/{chunk-MKT4MPUT.js → chunk-XHAJ544L.js} +2 -2
- package/dist/{chunk-RE2IHPDB.js → chunk-XNAFFHZH.js} +2 -2
- package/dist/{chunk-KCTY6YAP.js → chunk-XU3B7N3C.js} +2 -2
- package/dist/{chunk-ZYLVMO7E.js → chunk-YHROBX2M.js} +2 -2
- package/dist/{chunk-BMFFLDYL.js → chunk-YPUP5LNV.js} +2 -2
- package/dist/{chunk-P4GE72PQ.js → chunk-YWZHBXEI.js} +2 -2
- package/dist/{chunk-DZGLLSY7.js → chunk-Z3EAYQ5D.js} +2 -2
- package/dist/{chunk-5GAFQRDA.js → chunk-ZAFGVOU5.js} +2 -2
- package/dist/{chunk-EPLPD54O.js → chunk-ZWIH53GL.js} +2 -2
- package/dist/default-components.d.ts +2 -2
- package/dist/default-components.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +3 -3
- package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentForm.d.ts +1 -1
- package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
- package/dist/flows/ContractAmendment/context.d.ts +3 -3
- package/dist/flows/ContractAmendment/hooks.d.ts +3 -3
- package/dist/flows/ContractAmendment/hooks.js +1 -1
- package/dist/flows/ContractAmendment/index.d.ts +3 -3
- package/dist/flows/ContractAmendment/index.js +1 -1
- package/dist/flows/ContractAmendment/types.d.ts +2 -2
- package/dist/flows/ContractAmendment/utils.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
- package/dist/flows/ContractorOnboarding/api.d.ts +186 -23
- package/dist/flows/ContractorOnboarding/api.js +1 -1
- package/dist/flows/ContractorOnboarding/components/BasicInformationStep.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ChooseAlternativePlanStep.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/ChooseAlternativePlanStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.d.ts +2 -2
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
- package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.d.ts +3 -3
- package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
- package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
- package/dist/flows/ContractorOnboarding/components/SelectCountryStep.d.ts +4 -4
- package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/ContractorOnboarding/components/StatementOfWorkDisclaimer.js +1 -1
- package/dist/flows/ContractorOnboarding/context.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/hooks.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/hooks.js +1 -1
- package/dist/flows/ContractorOnboarding/index.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/index.js +1 -1
- package/dist/flows/ContractorOnboarding/jsfModify.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/jsfModify.js +1 -1
- package/dist/flows/ContractorOnboarding/types.d.ts +5 -5
- package/dist/flows/ContractorOnboarding/utils.d.ts +5 -4
- package/dist/flows/ContractorOnboarding/utils.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +3 -3
- package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +3 -3
- package/dist/flows/CostCalculator/CostCalculatorForm.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorResetButton.js +1 -1
- package/dist/flows/CostCalculator/CostCalculatorSubmitButton.js +1 -1
- package/dist/flows/CostCalculator/EstimationResults/EstimationResults.d.ts +2 -2
- package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +1 -1
- package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +2 -2
- package/dist/flows/CostCalculator/SummaryResults/SummaryResults.js +1 -1
- package/dist/flows/CostCalculator/api.d.ts +2 -2
- package/dist/flows/CostCalculator/api.js +1 -1
- package/dist/flows/CostCalculator/components/SalaryField.d.ts +2 -2
- package/dist/flows/CostCalculator/components/SalaryField.js +1 -1
- package/dist/flows/CostCalculator/context.d.ts +3 -3
- package/dist/flows/CostCalculator/hooks.d.ts +3 -3
- package/dist/flows/CostCalculator/hooks.js +1 -1
- package/dist/flows/CostCalculator/index.d.ts +3 -3
- package/dist/flows/CostCalculator/index.js +1 -1
- package/dist/flows/CostCalculator/types.d.ts +2 -2
- package/dist/flows/CostCalculator/utils.d.ts +3 -3
- package/dist/flows/CostCalculator/utils.js +1 -1
- package/dist/flows/CreateCompany/CreateCompany.d.ts +18 -0
- package/dist/flows/CreateCompany/CreateCompany.js +2 -0
- package/dist/flows/CreateCompany/CreateCompany.js.map +1 -0
- package/dist/flows/CreateCompany/api.d.ts +81 -0
- package/dist/flows/CreateCompany/api.js +2 -0
- package/dist/flows/CreateCompany/api.js.map +1 -0
- package/dist/flows/CreateCompany/components/AddressDetailsStep.d.ts +14 -0
- package/dist/flows/CreateCompany/components/AddressDetailsStep.js +2 -0
- package/dist/flows/CreateCompany/components/AddressDetailsStep.js.map +1 -0
- package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.d.ts +14 -0
- package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js +2 -0
- package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js.map +1 -0
- package/dist/flows/CreateCompany/components/CreateCompanyForm.d.ts +17 -0
- package/dist/flows/CreateCompany/components/CreateCompanyForm.js +2 -0
- package/dist/flows/CreateCompany/components/CreateCompanyForm.js.map +1 -0
- package/dist/flows/CreateCompany/components/CreateCompanySubmit.d.ts +6 -0
- package/dist/flows/CreateCompany/components/CreateCompanySubmit.js +2 -0
- package/dist/flows/CreateCompany/components/CreateCompanySubmit.js.map +1 -0
- package/dist/flows/CreateCompany/context.d.ts +82 -0
- package/dist/flows/CreateCompany/context.js +2 -0
- package/dist/flows/CreateCompany/context.js.map +1 -0
- package/dist/flows/CreateCompany/hooks.d.ts +14 -0
- package/dist/flows/CreateCompany/hooks.js +2 -0
- package/dist/flows/CreateCompany/hooks.js.map +1 -0
- package/dist/flows/CreateCompany/index.d.ts +15 -0
- package/dist/flows/CreateCompany/index.js +2 -0
- package/dist/flows/CreateCompany/index.js.map +1 -0
- package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.d.ts +73 -0
- package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.js +2 -0
- package/dist/flows/CreateCompany/json-schemas/companyBasicInformationStep.js.map +1 -0
- package/dist/flows/CreateCompany/types.d.ts +14 -0
- package/dist/flows/CreateCompany/types.js +1 -0
- package/dist/flows/CreateCompany/types.js.map +1 -0
- package/dist/flows/CreateCompany/utils.d.ts +8 -0
- package/dist/flows/CreateCompany/utils.js +2 -0
- package/dist/flows/CreateCompany/utils.js.map +1 -0
- package/dist/flows/Onboarding/OnboardingFlow.d.ts +4 -4
- package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
- package/dist/flows/Onboarding/api.d.ts +4 -4
- package/dist/flows/Onboarding/api.js +1 -1
- package/dist/flows/Onboarding/components/AnnualGrossSalary.d.ts +2 -2
- package/dist/flows/Onboarding/components/AnnualGrossSalary.js +1 -1
- package/dist/flows/Onboarding/components/BasicInformationStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/BasicInformationStep.js +1 -1
- package/dist/flows/Onboarding/components/BenefitsStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/BenefitsStep.js +1 -1
- package/dist/flows/Onboarding/components/ContractDetailsStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/ContractDetailsStep.js +1 -1
- package/dist/flows/Onboarding/components/OnboardingForm.d.ts +4 -4
- package/dist/flows/Onboarding/components/OnboardingForm.js +1 -1
- package/dist/flows/Onboarding/components/OnboardingInvite.d.ts +3 -3
- package/dist/flows/Onboarding/components/OnboardingInvite.js +1 -1
- package/dist/flows/Onboarding/components/ReviewStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/SaveDraftButton.d.ts +3 -3
- package/dist/flows/Onboarding/components/SelectCountryStep.d.ts +4 -4
- package/dist/flows/Onboarding/components/SelectCountryStep.js +1 -1
- package/dist/flows/Onboarding/context.d.ts +4 -4
- package/dist/flows/Onboarding/hooks.d.ts +4 -4
- package/dist/flows/Onboarding/hooks.js +1 -1
- package/dist/flows/Onboarding/index.d.ts +4 -4
- package/dist/flows/Onboarding/index.js +1 -1
- package/dist/flows/Onboarding/types.d.ts +4 -4
- package/dist/flows/Onboarding/utils.d.ts +4 -4
- package/dist/flows/Termination/AdditionalDetailsForm.d.ts +4 -4
- package/dist/flows/Termination/AdditionalDetailsForm.js +1 -1
- package/dist/flows/Termination/EmployeeComunicationForm.d.ts +4 -4
- package/dist/flows/Termination/EmployeeComunicationForm.js +1 -1
- package/dist/flows/Termination/PaidTimeOffForm.d.ts +4 -4
- package/dist/flows/Termination/PaidTimeOffForm.js +1 -1
- package/dist/flows/Termination/TerminationDetailsForm.d.ts +4 -4
- package/dist/flows/Termination/TerminationDetailsForm.js +1 -1
- package/dist/flows/Termination/TerminationFlow.d.ts +4 -4
- package/dist/flows/Termination/TerminationFlow.js +1 -1
- package/dist/flows/Termination/TerminationForm.d.ts +4 -4
- package/dist/flows/Termination/TerminationForm.js +1 -1
- package/dist/flows/Termination/api.d.ts +5 -5
- package/dist/flows/Termination/api.js +1 -1
- package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformation.js +1 -1
- package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +6 -6
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +6 -6
- package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +1 -1
- package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +6 -6
- package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +1 -1
- package/dist/flows/Termination/components/TerminationReasonsDetailContent/TerminationReasonsDetailContent.js +1 -1
- package/dist/flows/Termination/context.d.ts +4 -4
- package/dist/flows/Termination/hooks.d.ts +4 -4
- package/dist/flows/Termination/hooks.js +1 -1
- package/dist/flows/Termination/index.d.ts +6 -6
- package/dist/flows/Termination/index.js +1 -1
- package/dist/flows/Termination/json-schemas/jsonSchema.js +1 -1
- package/dist/flows/Termination/json-schemas/schema.d.ts +4 -4
- package/dist/flows/Termination/json-schemas/schema.js +1 -1
- package/dist/flows/Termination/types.d.ts +4 -4
- package/dist/flows/Termination/utils.d.ts +4 -4
- package/dist/flows/Termination/utils.js +1 -1
- package/dist/flows/types.d.ts +2 -2
- package/dist/index.d.ts +15 -11
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/internals.d.ts +3 -3
- package/dist/internals.js +1 -1
- package/dist/{mutations-Cviv4PN1.d.ts → mutations-DfpgjZty.d.ts} +1 -1
- package/dist/{remoteFlows-C41d3S6K.d.ts → remoteFlows-PN8ksydr.d.ts} +12 -2
- package/dist/{types-SHZYNK7B.d.ts → types-BK2JZJKy.d.ts} +3 -3
- package/dist/types-BOd-0F3b.d.ts +248 -0
- package/dist/{types-C2Jm8UUR.d.ts → types-BxoBKn3U.d.ts} +1 -1
- package/dist/{types-B3j6CHqF.d.ts → types-D9-E_Ywz.d.ts} +4 -4
- package/dist/{types-DGsUn7MK.d.ts → types-kzU5HUpO.d.ts} +2 -2
- package/dist/{types.gen-f6p9DLeW.d.ts → types.gen-COTll5I0.d.ts} +254 -1
- package/dist/{utils-4FdXJdn7.d.ts → utils-CfntV90o.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/ButtonDefault-C5BX67YU.js +0 -2
- package/dist/CheckboxFieldDefault-HEIDOSI7.js +0 -2
- package/dist/CountryFieldDefault-SFTKBP6V.js +0 -2
- package/dist/DatePickerFieldDefault-GHHRA5MC.js +0 -2
- package/dist/DrawerDefault-I7PMYMPK.js +0 -2
- package/dist/EmailFieldDefault-T7YHR6EN.js +0 -2
- package/dist/FieldsetToggleButtonDefault-4JT4HGZ5.js +0 -2
- package/dist/FileUploadFieldDefault-66JYQDRY.js +0 -2
- package/dist/MultiSelectFieldDefault-ZECWDTTO.js +0 -2
- package/dist/NumberFieldDefault-IOL6KD5M.js +0 -2
- package/dist/PDFPreviewDefault-LVWCRQ6A.js +0 -2
- package/dist/RadioGroupFieldDefault-WSWNB62Y.js +0 -2
- package/dist/SelectFieldDefault-HYT2DRK4.js +0 -2
- package/dist/StatementDefault-HUOZEIEC.js +0 -2
- package/dist/TableFieldDefault-OACG7RGJ.js +0 -2
- package/dist/TextAreaFieldDefault-KCPQWVZX.js +0 -2
- package/dist/TextFieldDefault-MUGUO7GT.js +0 -2
- package/dist/WorkScheduleFieldDefault-CHW2ODQK.js +0 -2
- package/dist/ZendeskDrawerDefault-NYESVAZM.js +0 -2
- package/dist/chunk-3FCX7SWN.js +0 -2
- package/dist/chunk-3FCX7SWN.js.map +0 -1
- package/dist/chunk-43UKWTHS.js +0 -2
- package/dist/chunk-4TJ2QZ7P.js +0 -2
- package/dist/chunk-4TJ2QZ7P.js.map +0 -1
- package/dist/chunk-6CASSN2Z.js +0 -2
- package/dist/chunk-FD2FTALC.js +0 -2
- package/dist/chunk-FD2FTALC.js.map +0 -1
- package/dist/chunk-L622FFV6.js +0 -2
- package/dist/chunk-OPQTTZBK.js +0 -2
- package/dist/chunk-OPQTTZBK.js.map +0 -1
- package/dist/chunk-RXP4X2CU.js +0 -2
- package/dist/chunk-RXP4X2CU.js.map +0 -1
- package/dist/chunk-YAJJJ2JV.js +0 -6
- package/dist/chunk-YAJJJ2JV.js.map +0 -1
- package/dist/chunk-YHP23JNL.js +0 -2
- package/dist/chunk-YHP23JNL.js.map +0 -1
- package/dist/chunk-Z7A4LTSB.js +0 -2
- package/dist/chunk-Z7A4LTSB.js.map +0 -1
- /package/dist/{ButtonDefault-C5BX67YU.js.map → ButtonDefault-6LBHWUQH.js.map} +0 -0
- /package/dist/{CheckboxFieldDefault-HEIDOSI7.js.map → CheckboxFieldDefault-X4DYVQCE.js.map} +0 -0
- /package/dist/{CountryFieldDefault-SFTKBP6V.js.map → CountryFieldDefault-JZDE75HS.js.map} +0 -0
- /package/dist/{DatePickerFieldDefault-GHHRA5MC.js.map → DatePickerFieldDefault-LJV4QSEP.js.map} +0 -0
- /package/dist/{DrawerDefault-I7PMYMPK.js.map → DrawerDefault-FLNSDSMB.js.map} +0 -0
- /package/dist/{EmailFieldDefault-T7YHR6EN.js.map → EmailFieldDefault-T6HHE5RL.js.map} +0 -0
- /package/dist/{FieldsetToggleButtonDefault-4JT4HGZ5.js.map → FieldsetToggleButtonDefault-MXBQJ55Q.js.map} +0 -0
- /package/dist/{FileUploadFieldDefault-66JYQDRY.js.map → FileUploadFieldDefault-5NW3ZFXD.js.map} +0 -0
- /package/dist/{MultiSelectFieldDefault-ZECWDTTO.js.map → MultiSelectFieldDefault-OQ6SNNBI.js.map} +0 -0
- /package/dist/{NumberFieldDefault-IOL6KD5M.js.map → NumberFieldDefault-IVUTWJS5.js.map} +0 -0
- /package/dist/{PDFPreviewDefault-LVWCRQ6A.js.map → PDFPreviewDefault-RJNE7QSF.js.map} +0 -0
- /package/dist/{RadioGroupFieldDefault-WSWNB62Y.js.map → RadioGroupFieldDefault-CXY33ONT.js.map} +0 -0
- /package/dist/{SelectFieldDefault-HYT2DRK4.js.map → SelectFieldDefault-66GGFDX3.js.map} +0 -0
- /package/dist/{StatementDefault-HUOZEIEC.js.map → StatementDefault-DORMITL7.js.map} +0 -0
- /package/dist/{TableFieldDefault-OACG7RGJ.js.map → TableFieldDefault-URJVK7YR.js.map} +0 -0
- /package/dist/{TextAreaFieldDefault-KCPQWVZX.js.map → TextAreaFieldDefault-5H34RRBA.js.map} +0 -0
- /package/dist/{TextFieldDefault-MUGUO7GT.js.map → TextFieldDefault-VHIF2KLF.js.map} +0 -0
- /package/dist/{WorkScheduleFieldDefault-CHW2ODQK.js.map → WorkScheduleFieldDefault-T7IP52VU.js.map} +0 -0
- /package/dist/{ZendeskDrawerDefault-NYESVAZM.js.map → ZendeskDrawerDefault-YSBMA2ZH.js.map} +0 -0
- /package/dist/{chunk-CWHIIHQP.js.map → chunk-3B6XXK5H.js.map} +0 -0
- /package/dist/{chunk-AFJIZDZG.js.map → chunk-3BBQDNZD.js.map} +0 -0
- /package/dist/{chunk-CD6F3H7B.js.map → chunk-3DMWQJ5W.js.map} +0 -0
- /package/dist/{chunk-6CASSN2Z.js.map → chunk-42R2H2DW.js.map} +0 -0
- /package/dist/{chunk-UXHMIIOB.js.map → chunk-44RIEWXA.js.map} +0 -0
- /package/dist/{chunk-BOWNQTTR.js.map → chunk-4EMAROPQ.js.map} +0 -0
- /package/dist/{chunk-HCJP6RDC.js.map → chunk-4N4MQECC.js.map} +0 -0
- /package/dist/{chunk-UBYT2TI4.js.map → chunk-4UO7KLRK.js.map} +0 -0
- /package/dist/{chunk-ZIXR3VSB.js.map → chunk-6AAV34CT.js.map} +0 -0
- /package/dist/{chunk-ZPDZ6V5R.js.map → chunk-7G5JSUZU.js.map} +0 -0
- /package/dist/{chunk-JYYCK5IN.js.map → chunk-7PWZAW7M.js.map} +0 -0
- /package/dist/{chunk-T7CGGZOK.js.map → chunk-7RP5F62S.js.map} +0 -0
- /package/dist/{chunk-I3J7LKY3.js.map → chunk-A232PIG7.js.map} +0 -0
- /package/dist/{chunk-BZ5XEZCL.js.map → chunk-A7CLJBJI.js.map} +0 -0
- /package/dist/{chunk-FI2MVRZR.js.map → chunk-AJCKNHZB.js.map} +0 -0
- /package/dist/{chunk-4HVLMGRA.js.map → chunk-AJIDQALB.js.map} +0 -0
- /package/dist/{chunk-UXP2IITO.js.map → chunk-ALVZNFB7.js.map} +0 -0
- /package/dist/{chunk-OCTMRR2C.js.map → chunk-B66V5QEC.js.map} +0 -0
- /package/dist/{chunk-5RFDYBDY.js.map → chunk-B7EJ2OAA.js.map} +0 -0
- /package/dist/{chunk-QE62LRON.js.map → chunk-BG66XH5L.js.map} +0 -0
- /package/dist/{chunk-Q5LU2ZBL.js.map → chunk-BGRX3DBF.js.map} +0 -0
- /package/dist/{chunk-2TPHCOVE.js.map → chunk-BVFQ6LFD.js.map} +0 -0
- /package/dist/{chunk-RM7W6QA7.js.map → chunk-C6KWUSCU.js.map} +0 -0
- /package/dist/{chunk-Y7NHXFRX.js.map → chunk-CARPUKT7.js.map} +0 -0
- /package/dist/{chunk-BWMATZIU.js.map → chunk-DFAY4TWC.js.map} +0 -0
- /package/dist/{chunk-O5ENJKI6.js.map → chunk-DNDYXEZ6.js.map} +0 -0
- /package/dist/{chunk-46QJ44CZ.js.map → chunk-DXIJUMLU.js.map} +0 -0
- /package/dist/{chunk-I4CH573Y.js.map → chunk-E2LBPO5Z.js.map} +0 -0
- /package/dist/{chunk-CB7T2SPX.js.map → chunk-EDLQ3JNY.js.map} +0 -0
- /package/dist/{chunk-TZCNONDA.js.map → chunk-EHD2YB5F.js.map} +0 -0
- /package/dist/{chunk-IAIHITHL.js.map → chunk-ERSP6CZ3.js.map} +0 -0
- /package/dist/{chunk-TUJXQF4Q.js.map → chunk-FJVQQ4XB.js.map} +0 -0
- /package/dist/{chunk-YA2G4A3K.js.map → chunk-FRCFJ64I.js.map} +0 -0
- /package/dist/{chunk-5R66NDTQ.js.map → chunk-FUGPVPYX.js.map} +0 -0
- /package/dist/{chunk-JRUJLG27.js.map → chunk-G7EVUAYE.js.map} +0 -0
- /package/dist/{chunk-ZSJ6YADQ.js.map → chunk-H2JFQGQJ.js.map} +0 -0
- /package/dist/{chunk-ZURHNW3D.js.map → chunk-H3BUOBWO.js.map} +0 -0
- /package/dist/{chunk-MCGUHRQL.js.map → chunk-HKNK5Z6N.js.map} +0 -0
- /package/dist/{chunk-NFLKVFAD.js.map → chunk-HOR3KPOZ.js.map} +0 -0
- /package/dist/{chunk-WLMHGJWB.js.map → chunk-HUZBKPGP.js.map} +0 -0
- /package/dist/{chunk-7SVSJ7NG.js.map → chunk-I3TP6JKM.js.map} +0 -0
- /package/dist/{chunk-XGECMN4V.js.map → chunk-IF42CZJH.js.map} +0 -0
- /package/dist/{chunk-D67Z4NEP.js.map → chunk-IGLKMXWJ.js.map} +0 -0
- /package/dist/{chunk-3EK647EG.js.map → chunk-IZGSVS3I.js.map} +0 -0
- /package/dist/{chunk-ZKS7DJDT.js.map → chunk-J2BTEUAM.js.map} +0 -0
- /package/dist/{chunk-BKVBDV6E.js.map → chunk-JGJTFYHN.js.map} +0 -0
- /package/dist/{chunk-PPY77NYV.js.map → chunk-JI4CYPLW.js.map} +0 -0
- /package/dist/{chunk-OV7TLEE6.js.map → chunk-KQKH3H6S.js.map} +0 -0
- /package/dist/{chunk-6VQEAU6A.js.map → chunk-KRSUSMJK.js.map} +0 -0
- /package/dist/{chunk-FBE7F5HU.js.map → chunk-L3LOATSG.js.map} +0 -0
- /package/dist/{chunk-3PVZEAGI.js.map → chunk-L5DII4MV.js.map} +0 -0
- /package/dist/{chunk-HRK4FJGT.js.map → chunk-LVXV3GHT.js.map} +0 -0
- /package/dist/{chunk-7RC7EB47.js.map → chunk-MHAY555P.js.map} +0 -0
- /package/dist/{chunk-3YKLEDVY.js.map → chunk-MLVB5MYU.js.map} +0 -0
- /package/dist/{chunk-CU3WQ2KN.js.map → chunk-MSBCYMSH.js.map} +0 -0
- /package/dist/{chunk-2DCJODMR.js.map → chunk-NEWXVHFX.js.map} +0 -0
- /package/dist/{chunk-2UKAVWUS.js.map → chunk-OENTT2KT.js.map} +0 -0
- /package/dist/{chunk-HPBYZOPP.js.map → chunk-OEXY56S2.js.map} +0 -0
- /package/dist/{chunk-AS4ND5IO.js.map → chunk-PKK2EEXH.js.map} +0 -0
- /package/dist/{chunk-HMMFY4PV.js.map → chunk-Q73675NI.js.map} +0 -0
- /package/dist/{chunk-VON7RTMD.js.map → chunk-R7BHA5RA.js.map} +0 -0
- /package/dist/{chunk-IUCFOQAD.js.map → chunk-RAH453TV.js.map} +0 -0
- /package/dist/{chunk-4YPJKEHT.js.map → chunk-RJY6AEJB.js.map} +0 -0
- /package/dist/{chunk-UP27IEE4.js.map → chunk-SLLDKJ7K.js.map} +0 -0
- /package/dist/{chunk-JEULZR34.js.map → chunk-SNBAM7SA.js.map} +0 -0
- /package/dist/{chunk-ZPG6GRAX.js.map → chunk-SNECOPBD.js.map} +0 -0
- /package/dist/{chunk-BDMCADQ6.js.map → chunk-SS2FAFUZ.js.map} +0 -0
- /package/dist/{chunk-JJEFWMLY.js.map → chunk-TFSRZOMP.js.map} +0 -0
- /package/dist/{chunk-W5EXVAEO.js.map → chunk-TNN3W5TU.js.map} +0 -0
- /package/dist/{chunk-D5NBOIPS.js.map → chunk-TOQPDTGG.js.map} +0 -0
- /package/dist/{chunk-6IFPFK23.js.map → chunk-TPGN6QTL.js.map} +0 -0
- /package/dist/{chunk-OJ3HJ7QL.js.map → chunk-TQXCLXWH.js.map} +0 -0
- /package/dist/{chunk-RQRODRCR.js.map → chunk-TRBEYNRN.js.map} +0 -0
- /package/dist/{chunk-JHMIAK67.js.map → chunk-TVIUQXLE.js.map} +0 -0
- /package/dist/{chunk-OK3CYSHV.js.map → chunk-TXQWBDNF.js.map} +0 -0
- /package/dist/{chunk-4ZQ7NOAL.js.map → chunk-ULP5B6DG.js.map} +0 -0
- /package/dist/{chunk-OPWMRKZP.js.map → chunk-UMVA4SIV.js.map} +0 -0
- /package/dist/{chunk-GSSC5OVG.js.map → chunk-UMVMNUPH.js.map} +0 -0
- /package/dist/{chunk-NKPRRBFG.js.map → chunk-VBQVXR4U.js.map} +0 -0
- /package/dist/{chunk-W2PJUNWX.js.map → chunk-VLSOHNT2.js.map} +0 -0
- /package/dist/{chunk-AGUAPUCU.js.map → chunk-W4ECFBIA.js.map} +0 -0
- /package/dist/{chunk-LWGNRGU3.js.map → chunk-WD2JGIDK.js.map} +0 -0
- /package/dist/{chunk-CE4ZEIWI.js.map → chunk-WEAO46EO.js.map} +0 -0
- /package/dist/{chunk-K6WWMYKM.js.map → chunk-WEOIHTBU.js.map} +0 -0
- /package/dist/{chunk-DG3T5KLP.js.map → chunk-WO54IG4S.js.map} +0 -0
- /package/dist/{chunk-MKT4MPUT.js.map → chunk-XHAJ544L.js.map} +0 -0
- /package/dist/{chunk-RE2IHPDB.js.map → chunk-XNAFFHZH.js.map} +0 -0
- /package/dist/{chunk-KCTY6YAP.js.map → chunk-XU3B7N3C.js.map} +0 -0
- /package/dist/{chunk-ZYLVMO7E.js.map → chunk-YHROBX2M.js.map} +0 -0
- /package/dist/{chunk-BMFFLDYL.js.map → chunk-YPUP5LNV.js.map} +0 -0
- /package/dist/{chunk-P4GE72PQ.js.map → chunk-YWZHBXEI.js.map} +0 -0
- /package/dist/{chunk-DZGLLSY7.js.map → chunk-Z3EAYQ5D.js.map} +0 -0
- /package/dist/{chunk-5GAFQRDA.js.map → chunk-ZAFGVOU5.js.map} +0 -0
- /package/dist/{chunk-EPLPD54O.js.map → chunk-ZWIH53GL.js.map} +0 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { m as CompanyResponse, N as NotFoundResponse, U as UnprocessableEntityResponse, T as TooManyRequestsResponse, B as BadRequestResponse, a as UnauthorizedResponse } from './types.gen-COTll5I0.js';
|
|
2
|
+
import { F as FieldError, N as NormalizedFieldError } from './mutations-DfpgjZty.js';
|
|
3
|
+
import * as React$1 from 'react';
|
|
4
|
+
import { FieldValues } from 'react-hook-form';
|
|
5
|
+
import { J as JSFFields, M as Meta, a as JSFFieldset } from './remoteFlows-PN8ksydr.js';
|
|
6
|
+
import { ValidationResult } from '@remoteoss/remote-json-schema-form-kit';
|
|
7
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
|
+
import { FlowOptions, JSFModify } from './flows/types.js';
|
|
9
|
+
import { CreateCompanySubmit } from './flows/CreateCompany/components/CreateCompanySubmit.js';
|
|
10
|
+
import { STEPS } from './flows/CreateCompany/utils.js';
|
|
11
|
+
import { Step } from './flows/useStepState.js';
|
|
12
|
+
|
|
13
|
+
type useCreateCompanyProps = Omit<CreateCompanyFlowProps, 'render'>;
|
|
14
|
+
/**
|
|
15
|
+
* Main hook for the CreateCompany flow
|
|
16
|
+
* Manages the two-step flow: company creation and address details
|
|
17
|
+
* @param countryCode - Optional initial country code
|
|
18
|
+
* @param options - Flow options including jsfModify and jsonSchemaVersion
|
|
19
|
+
* @returns CreateCompany bag with all flow state and methods
|
|
20
|
+
*/
|
|
21
|
+
declare const useCreateCompany: ({ countryCode, options, initialValues: createCompanyInitialValues, }: useCreateCompanyProps) => {
|
|
22
|
+
/**
|
|
23
|
+
* Loading state indicating if the flow is loading data
|
|
24
|
+
*/
|
|
25
|
+
isLoading: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Loading state indicating if the company creation or update mutation is in progress
|
|
28
|
+
*/
|
|
29
|
+
isSubmitting: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Current state of the form fields for the current step.
|
|
32
|
+
*/
|
|
33
|
+
fieldValues: FieldValues;
|
|
34
|
+
/**
|
|
35
|
+
* Current step state containing the current step and total number of steps
|
|
36
|
+
*/
|
|
37
|
+
stepState: {
|
|
38
|
+
currentStep: Step<"address_details" | "company_basic_information">;
|
|
39
|
+
totalSteps: number;
|
|
40
|
+
values: {
|
|
41
|
+
address_details: FieldValues;
|
|
42
|
+
company_basic_information: FieldValues;
|
|
43
|
+
} | null;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Function to update the current form field values
|
|
47
|
+
* @param values - New form values to set
|
|
48
|
+
*/
|
|
49
|
+
checkFieldUpdates: React$1.Dispatch<React$1.SetStateAction<FieldValues>>;
|
|
50
|
+
/**
|
|
51
|
+
* Function to handle going back to the previous step
|
|
52
|
+
* @returns {void}
|
|
53
|
+
*/
|
|
54
|
+
back: () => void;
|
|
55
|
+
/**
|
|
56
|
+
* Function to handle going to the next step
|
|
57
|
+
* @returns {void}
|
|
58
|
+
*/
|
|
59
|
+
next: () => void;
|
|
60
|
+
/**
|
|
61
|
+
* Function to handle going to a specific step
|
|
62
|
+
* @param step The step to go to.
|
|
63
|
+
* @returns {void}
|
|
64
|
+
*/
|
|
65
|
+
goTo: (step: keyof typeof STEPS) => void;
|
|
66
|
+
/**
|
|
67
|
+
* Function to handle form submission
|
|
68
|
+
* @param values - Form values to submit
|
|
69
|
+
* @returns Promise resolving to the mutation result
|
|
70
|
+
*/
|
|
71
|
+
onSubmit: (values: FieldValues) => Promise<{
|
|
72
|
+
data: {
|
|
73
|
+
countryCode: any;
|
|
74
|
+
companyOwnerEmail: any;
|
|
75
|
+
companyOwnerName: any;
|
|
76
|
+
desiredCurrency: any;
|
|
77
|
+
name: any;
|
|
78
|
+
phoneNumber: any;
|
|
79
|
+
taxNumber: any;
|
|
80
|
+
};
|
|
81
|
+
} | {
|
|
82
|
+
data: null;
|
|
83
|
+
error: Error;
|
|
84
|
+
rawError: Record<string, unknown>;
|
|
85
|
+
fieldErrors: FieldError[];
|
|
86
|
+
} | {
|
|
87
|
+
data: ({
|
|
88
|
+
data: CompanyResponse;
|
|
89
|
+
error: undefined;
|
|
90
|
+
} | {
|
|
91
|
+
data: undefined;
|
|
92
|
+
error: NotFoundResponse | UnprocessableEntityResponse | TooManyRequestsResponse | BadRequestResponse | UnauthorizedResponse;
|
|
93
|
+
}) & {
|
|
94
|
+
request: Request;
|
|
95
|
+
response: Response;
|
|
96
|
+
};
|
|
97
|
+
}>;
|
|
98
|
+
/**
|
|
99
|
+
* Array of form fields from the onboarding schema
|
|
100
|
+
*/
|
|
101
|
+
fields: JSFFields;
|
|
102
|
+
/**
|
|
103
|
+
* Fields metadata for each step
|
|
104
|
+
*/
|
|
105
|
+
meta: {
|
|
106
|
+
fields: {
|
|
107
|
+
company_basic_information: Meta;
|
|
108
|
+
address_details: Meta;
|
|
109
|
+
};
|
|
110
|
+
fieldsets: JSFFieldset | null | undefined;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Function to parse form values before submission
|
|
114
|
+
* @param values - Form values to parse
|
|
115
|
+
* @returns Parsed form values
|
|
116
|
+
*/
|
|
117
|
+
parseFormValues: (values: FieldValues) => Promise<Record<string, any>>;
|
|
118
|
+
/**
|
|
119
|
+
* Function to validate form values against the onboarding schema
|
|
120
|
+
* @param values - Form values to validate
|
|
121
|
+
* @returns Validation result or null if no schema is available
|
|
122
|
+
*/
|
|
123
|
+
handleValidation: (values: FieldValues) => Promise<ValidationResult | null>;
|
|
124
|
+
/**
|
|
125
|
+
* Initial form values
|
|
126
|
+
*/
|
|
127
|
+
initialValues: {
|
|
128
|
+
company_basic_information: Record<string, unknown>;
|
|
129
|
+
address_details: Record<string, unknown>;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
type CompanyBasicInformationStepProps = {
|
|
134
|
+
/**
|
|
135
|
+
* The function is called when the form is submitted. It receives the form values as an argument.
|
|
136
|
+
*/
|
|
137
|
+
onSubmit?: (payload: CompanyBasicInfoFormPayload) => void | Promise<void>;
|
|
138
|
+
/**
|
|
139
|
+
* The function is called when the form submission is successful.
|
|
140
|
+
*/
|
|
141
|
+
onSuccess?: (data: CompanyBasicInfoSuccess) => void | Promise<void>;
|
|
142
|
+
/**
|
|
143
|
+
* The function is called when an error occurs during form submission.
|
|
144
|
+
*/
|
|
145
|
+
onError?: ({ error, rawError, fieldErrors, }: {
|
|
146
|
+
error: Error;
|
|
147
|
+
rawError: Record<string, unknown>;
|
|
148
|
+
fieldErrors: NormalizedFieldError[];
|
|
149
|
+
}) => void;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* CompanyBasicInformationStep component for the first step of company creation
|
|
153
|
+
* Handles company basic information form submission
|
|
154
|
+
*/
|
|
155
|
+
declare function CompanyBasicInformationStep({ onSubmit, onSuccess, onError, }: CompanyBasicInformationStepProps): react_jsx_runtime.JSX.Element;
|
|
156
|
+
|
|
157
|
+
type AddressDetailsStepProps = {
|
|
158
|
+
/**
|
|
159
|
+
* The function is called when the form is submitted. It receives the form values as an argument.
|
|
160
|
+
*/
|
|
161
|
+
onSubmit?: (payload: CompanyAddressDetailsFormPayload) => void | Promise<void>;
|
|
162
|
+
/**
|
|
163
|
+
* The function is called when the form submission is successful.
|
|
164
|
+
*/
|
|
165
|
+
onSuccess?: (data: CompanyAddressDetailsSuccess) => void | Promise<void>;
|
|
166
|
+
/**
|
|
167
|
+
* The function is called when an error occurs during form submission.
|
|
168
|
+
*/
|
|
169
|
+
onError?: ({ error, rawError, fieldErrors, }: {
|
|
170
|
+
error: Error;
|
|
171
|
+
rawError: Record<string, unknown>;
|
|
172
|
+
fieldErrors: NormalizedFieldError[];
|
|
173
|
+
}) => void;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* AddressDetailsStep component for the second step of company creation
|
|
177
|
+
* Handles address details form submission and company update
|
|
178
|
+
*/
|
|
179
|
+
declare function AddressDetailsStep({ onSubmit, onSuccess, onError, }: AddressDetailsStepProps): react_jsx_runtime.JSX.Element;
|
|
180
|
+
|
|
181
|
+
type CountryFormFields = {
|
|
182
|
+
countryCode: string;
|
|
183
|
+
companyOwnerEmail: string;
|
|
184
|
+
companyOwnerName: string;
|
|
185
|
+
desiredCurrency: string;
|
|
186
|
+
name: string;
|
|
187
|
+
phoneNumber: string;
|
|
188
|
+
taxNumber: string;
|
|
189
|
+
};
|
|
190
|
+
type CompanyBasicInfoFormPayload = CountryFormFields;
|
|
191
|
+
type CompanyBasicInfoSuccess = CountryFormFields;
|
|
192
|
+
type CompanyAddressDetailsFormPayload = Record<string, unknown>;
|
|
193
|
+
type CompanyAddressDetailsSuccess = Record<string, unknown>;
|
|
194
|
+
type CreateCompanyRenderProps = {
|
|
195
|
+
/**
|
|
196
|
+
* The create company bag returned by the useCreateCompany hook.
|
|
197
|
+
* This bag contains all the methods and properties needed to handle the create company flow.
|
|
198
|
+
* @see {@link useCreateCompany}
|
|
199
|
+
*/
|
|
200
|
+
createCompanyBag: ReturnType<typeof useCreateCompany>;
|
|
201
|
+
/**
|
|
202
|
+
* The components used in the create company flow.
|
|
203
|
+
* @see {@link CompanyBasicInformationStep}
|
|
204
|
+
* @see {@link AddressDetailsStep}
|
|
205
|
+
*/
|
|
206
|
+
components: {
|
|
207
|
+
CompanyBasicInformationStep: typeof CompanyBasicInformationStep;
|
|
208
|
+
AddressDetailsStep: typeof AddressDetailsStep;
|
|
209
|
+
SubmitButton: typeof CreateCompanySubmit;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
type CreateCompanyFlowProps = {
|
|
213
|
+
/**
|
|
214
|
+
* The country code to use for the onboarding.
|
|
215
|
+
*/
|
|
216
|
+
countryCode?: string;
|
|
217
|
+
/**
|
|
218
|
+
* The render prop function with the params passed by the useCreateCompany hook and the components available to use for this flow
|
|
219
|
+
*/
|
|
220
|
+
render: ({ createCompanyBag, components, }: CreateCompanyRenderProps) => React.ReactNode;
|
|
221
|
+
/**
|
|
222
|
+
* The options for the create company flow.
|
|
223
|
+
*/
|
|
224
|
+
options?: Omit<FlowOptions, 'jsfModify'> & {
|
|
225
|
+
jsfModify?: {
|
|
226
|
+
company_basic_information?: JSFModify;
|
|
227
|
+
address_details?: JSFModify;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* Initial values to pre-populate the form fields.
|
|
232
|
+
* These are flat field values that will be automatically mapped to the correct step.
|
|
233
|
+
* Server data will override these values. This happens when you pass employmentId and the server returns an employment object.
|
|
234
|
+
*/
|
|
235
|
+
initialValues?: Record<string, unknown>;
|
|
236
|
+
};
|
|
237
|
+
type BasicInformationFormPayload = {
|
|
238
|
+
company_owner_email: string;
|
|
239
|
+
company_owner_name: string;
|
|
240
|
+
country_code: string;
|
|
241
|
+
desired_currency: string;
|
|
242
|
+
name: string;
|
|
243
|
+
phone_number: string;
|
|
244
|
+
tax_number: string;
|
|
245
|
+
tax_servicing_countries: string[];
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
export { AddressDetailsStep as A, type BasicInformationFormPayload as B, type CreateCompanyFlowProps as C, type CreateCompanyRenderProps as a, type CompanyBasicInfoSuccess as b, type CompanyAddressDetailsSuccess as c, CompanyBasicInformationStep as d, type CompanyBasicInfoFormPayload as e, type CompanyAddressDetailsFormPayload as f, useCreateCompany as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a3 as ListTimeoffResponse, a4 as TimeoffStatus, a5 as TimeoffType, a6 as ListLeavePoliciesSummaryResponse, E as Employment } from './types.gen-COTll5I0.js';
|
|
2
2
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
3
3
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
4
4
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as EmploymentCreationResponse, S as SuccessResponse, e as EmploymentResponse, f as CreateContractDocumentResponse, g as EligibilityQuestionnaire, E as Employment, h as Signatory, i as CompanyLegalEntity,
|
|
1
|
+
import { d as EmploymentCreationResponse, S as SuccessResponse, e as EmploymentResponse, f as CreateContractDocumentResponse, g as EligibilityQuestionnaire, E as Employment, h as Signatory, i as CompanyLegalEntity, L as SignContractDocument } from './types.gen-COTll5I0.js';
|
|
2
2
|
import { OnboardingBack } from './flows/ContractorOnboarding/components/OnboardingBack.js';
|
|
3
3
|
import { OnboardingSubmit } from './flows/ContractorOnboarding/components/OnboardingSubmit.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import { C as Components, J as JSFFields, M as Meta, a as JSFFieldset, $ as $TSFixMe } from './remoteFlows-
|
|
6
|
-
import { N as NormalizedFieldError } from './mutations-
|
|
5
|
+
import { C as Components, J as JSFFields, M as Meta, a as JSFFieldset, $ as $TSFixMe } from './remoteFlows-PN8ksydr.js';
|
|
6
|
+
import { N as NormalizedFieldError } from './mutations-DfpgjZty.js';
|
|
7
7
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
8
8
|
import * as React$1 from 'react';
|
|
9
9
|
import { Step } from './flows/useStepState.js';
|
|
@@ -11,7 +11,7 @@ import { FieldValues } from 'react-hook-form';
|
|
|
11
11
|
import { ValidationResult } from '@remoteoss/remote-json-schema-form-kit';
|
|
12
12
|
import { StepKeys } from './flows/ContractorOnboarding/utils.js';
|
|
13
13
|
import { BasicInformationStep } from './flows/ContractorOnboarding/components/BasicInformationStep.js';
|
|
14
|
-
import { g as SelectCountryStep } from './types-
|
|
14
|
+
import { g as SelectCountryStep } from './types-BK2JZJKy.js';
|
|
15
15
|
import { FlowOptions, JSFModify } from './flows/types.js';
|
|
16
16
|
import { OnboardingInvite } from './flows/Onboarding/components/OnboardingInvite.js';
|
|
17
17
|
import { ContractReviewButton } from './flows/ContractorOnboarding/components/ContractReviewButton.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as OffboardingResponse,
|
|
1
|
+
import { O as OffboardingResponse, ad as PayrollCalendarEor, E as Employment, I as TerminationDetailsParams, N as NotFoundResponse, U as UnprocessableEntityResponse, T as TooManyRequestsResponse, B as BadRequestResponse, a as UnauthorizedResponse, R as RequestError } from './types.gen-COTll5I0.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { E as ErrorResponse, S as SuccessResponse } from './mutations-
|
|
3
|
+
import { E as ErrorResponse, S as SuccessResponse } from './mutations-DfpgjZty.js';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import * as _remoteoss_json_schema_form from '@remoteoss/json-schema-form';
|
|
6
6
|
import * as _remoteoss_json_schema_form_v0_deprecated from '@remoteoss/json-schema-form-v0-deprecated';
|
|
@@ -348,6 +348,38 @@ type EmploymentBasicResponse = {
|
|
|
348
348
|
* Optional UTC date time in YYYY-MM-DDTHH:mm:ss format
|
|
349
349
|
*/
|
|
350
350
|
type NullableDateTime = string | null;
|
|
351
|
+
/**
|
|
352
|
+
* ClientCredentialsResponse
|
|
353
|
+
*/
|
|
354
|
+
type ClientCredentialsResponse = BaseTokenResponse;
|
|
355
|
+
/**
|
|
356
|
+
* AuthorizationCodeResponse
|
|
357
|
+
*/
|
|
358
|
+
type AuthorizationCodeResponse = BaseTokenResponse & {
|
|
359
|
+
/**
|
|
360
|
+
* The ID of the connected company.
|
|
361
|
+
*/
|
|
362
|
+
company_id?: string;
|
|
363
|
+
/**
|
|
364
|
+
* The refresh token. This token must be stored and used for issuing new access tokens for managing the company's resources.
|
|
365
|
+
*/
|
|
366
|
+
refresh_token?: string;
|
|
367
|
+
/**
|
|
368
|
+
* The ID of the user who connected the company.
|
|
369
|
+
*/
|
|
370
|
+
user_id?: string;
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* CompanyAlreadyExistsErrorResponse
|
|
374
|
+
*
|
|
375
|
+
* Error returned when a company with matching criteria already exists
|
|
376
|
+
*/
|
|
377
|
+
type CompanyAlreadyExistsErrorResponse = {
|
|
378
|
+
code?: string;
|
|
379
|
+
message?: string;
|
|
380
|
+
resource_id?: string;
|
|
381
|
+
resource_type?: string;
|
|
382
|
+
};
|
|
351
383
|
/**
|
|
352
384
|
* CostCalculatorEmploymentParam
|
|
353
385
|
*/
|
|
@@ -388,6 +420,10 @@ type LimitedDaysandHoursResponse = {
|
|
|
388
420
|
type Country = {
|
|
389
421
|
alpha_2_code: string;
|
|
390
422
|
code: string;
|
|
423
|
+
/**
|
|
424
|
+
* Contractor product names available for this country
|
|
425
|
+
*/
|
|
426
|
+
contractor_products_available?: Array<'standard' | 'plus' | 'cor'>;
|
|
391
427
|
country_subdivisions?: Array<CountrySubdivision> | null;
|
|
392
428
|
eor_onboarding?: boolean;
|
|
393
429
|
locked_benefits?: string;
|
|
@@ -413,6 +449,12 @@ type CreateOffboardingParams = {
|
|
|
413
449
|
* The status of the user
|
|
414
450
|
*/
|
|
415
451
|
type UserStatus = 'active' | 'created' | 'initiated' | 'cancelled' | 'inactive' | 'deleted';
|
|
452
|
+
/**
|
|
453
|
+
* CompanyCreationResponse
|
|
454
|
+
*/
|
|
455
|
+
type CompanyCreationResponse = {
|
|
456
|
+
data?: CompanyResponse | CompanyWithTokensResponse;
|
|
457
|
+
};
|
|
416
458
|
/**
|
|
417
459
|
* CostCalculatorEstimateParams
|
|
418
460
|
*/
|
|
@@ -660,6 +702,15 @@ type OffboardingFile = {
|
|
|
660
702
|
*/
|
|
661
703
|
name: string;
|
|
662
704
|
};
|
|
705
|
+
/**
|
|
706
|
+
* RefreshTokenResponse
|
|
707
|
+
*/
|
|
708
|
+
type RefreshTokenResponse = BaseTokenResponse & {
|
|
709
|
+
/**
|
|
710
|
+
* The refresh token
|
|
711
|
+
*/
|
|
712
|
+
refresh_token?: string;
|
|
713
|
+
};
|
|
663
714
|
/**
|
|
664
715
|
* UnprocessableEntityResponse
|
|
665
716
|
*/
|
|
@@ -720,6 +771,10 @@ type CostCalculatorCost = {
|
|
|
720
771
|
zendesk_article_id: string | null;
|
|
721
772
|
zendesk_article_url: string | null;
|
|
722
773
|
};
|
|
774
|
+
/**
|
|
775
|
+
* OAuth2Tokens
|
|
776
|
+
*/
|
|
777
|
+
type OAuth2Tokens = AuthorizationCodeResponse | ClientCredentialsResponse | RefreshTokenResponse;
|
|
723
778
|
/**
|
|
724
779
|
* CostCalculatorCosts
|
|
725
780
|
*/
|
|
@@ -817,6 +872,25 @@ type Product = {
|
|
|
817
872
|
short_name?: string;
|
|
818
873
|
tier: string;
|
|
819
874
|
};
|
|
875
|
+
/**
|
|
876
|
+
* CompanyResponse
|
|
877
|
+
*
|
|
878
|
+
* Shows a company
|
|
879
|
+
*/
|
|
880
|
+
type CompanyResponse = {
|
|
881
|
+
data: {
|
|
882
|
+
company?: Company;
|
|
883
|
+
};
|
|
884
|
+
};
|
|
885
|
+
/**
|
|
886
|
+
* CompanyWithTokensResponse
|
|
887
|
+
*
|
|
888
|
+
* Shows a company with its refresh and access tokens. Please contact Remote if you need the tokens when creating a company.
|
|
889
|
+
*/
|
|
890
|
+
type CompanyWithTokensResponse = {
|
|
891
|
+
company?: Company;
|
|
892
|
+
tokens?: OAuth2Tokens;
|
|
893
|
+
};
|
|
820
894
|
/**
|
|
821
895
|
* ListLeavePoliciesSummaryResponse
|
|
822
896
|
*
|
|
@@ -1001,6 +1075,10 @@ type CreateContractDocument = {
|
|
|
1001
1075
|
contract_document: {
|
|
1002
1076
|
[key: string]: unknown;
|
|
1003
1077
|
};
|
|
1078
|
+
/**
|
|
1079
|
+
* When true, skips AI-based compliance checks (e.g. services and deliverables classification). Defaults to false.
|
|
1080
|
+
*/
|
|
1081
|
+
skip_ai_checks?: boolean;
|
|
1004
1082
|
};
|
|
1005
1083
|
/**
|
|
1006
1084
|
* ValidationError
|
|
@@ -1054,6 +1132,10 @@ type Signatory = {
|
|
|
1054
1132
|
type NullableCountry = {
|
|
1055
1133
|
alpha_2_code: string;
|
|
1056
1134
|
code: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* Contractor product names available for this country
|
|
1137
|
+
*/
|
|
1138
|
+
contractor_products_available?: Array<'standard' | 'plus' | 'cor'>;
|
|
1057
1139
|
country_subdivisions?: Array<CountrySubdivision> | null;
|
|
1058
1140
|
eor_onboarding?: boolean;
|
|
1059
1141
|
locked_benefits?: string;
|
|
@@ -1205,10 +1287,103 @@ type CostCalculatorEmployment = {
|
|
|
1205
1287
|
region: MinimalRegion;
|
|
1206
1288
|
regional_currency_costs: CostCalculatorCosts;
|
|
1207
1289
|
};
|
|
1290
|
+
/**
|
|
1291
|
+
* CreateCompanyParams
|
|
1292
|
+
*/
|
|
1293
|
+
type CreateCompanyParams = {
|
|
1294
|
+
/**
|
|
1295
|
+
* Fields can vary depending on the country. Please, check the required fields structure using the [Show form schema endpoint](#operation/get_show_form_country).
|
|
1296
|
+
* Use the desired country and `address_details` as the form name for the placeholders.
|
|
1297
|
+
* The response complies with the [JSON Schema](https://developer.remote.com/docs/how-json-schemas-work) specification.
|
|
1298
|
+
*
|
|
1299
|
+
*/
|
|
1300
|
+
address_details?: {
|
|
1301
|
+
[key: string]: unknown;
|
|
1302
|
+
};
|
|
1303
|
+
/**
|
|
1304
|
+
* Fields can vary depending on the country. Please, check the required fields structure using the [Show form schema endpoint](#operation/get_show_form_country).
|
|
1305
|
+
* Use the desired country and `bank_account_details` as the form name for the placeholders.
|
|
1306
|
+
* The response complies with the [JSON Schema](https://developer.remote.com/docs/how-json-schemas-work) specification.
|
|
1307
|
+
*
|
|
1308
|
+
*/
|
|
1309
|
+
bank_account_details?: {
|
|
1310
|
+
[key: string]: unknown;
|
|
1311
|
+
};
|
|
1312
|
+
/**
|
|
1313
|
+
* The company owner email.
|
|
1314
|
+
*
|
|
1315
|
+
* This value cannot be changed once set.
|
|
1316
|
+
*
|
|
1317
|
+
*/
|
|
1318
|
+
company_owner_email: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* The company owner name.
|
|
1321
|
+
*
|
|
1322
|
+
* This value cannot be changed from the Remote API once set.
|
|
1323
|
+
*
|
|
1324
|
+
*/
|
|
1325
|
+
company_owner_name: string;
|
|
1326
|
+
/**
|
|
1327
|
+
* 3-letter country code of the country the company address is located in.
|
|
1328
|
+
*
|
|
1329
|
+
* For a list of countries supported through the Remote API, make a call to the [list countries endpoint](#tag/Countries/operation/get_supported_country). This endpoint will also include the 3-letter country codes you can use for this field.
|
|
1330
|
+
*
|
|
1331
|
+
*/
|
|
1332
|
+
country_code: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Desired currency for invoicing and displaying converted salaries in Remote UI regardless of the employee's country.
|
|
1335
|
+
*/
|
|
1336
|
+
desired_currency: 'AUD' | 'CAD' | 'CHF' | 'DKK' | 'EUR' | 'GBP' | 'JPY' | 'NOK' | 'NZD' | 'SEK' | 'SGD' | 'USD';
|
|
1337
|
+
/**
|
|
1338
|
+
* The domain of the company. Use this field to specify the company domain name when it's different from the domain in the company owner's email.
|
|
1339
|
+
*/
|
|
1340
|
+
email_domain?: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* Id of the company as represented in the external partner system.
|
|
1343
|
+
*/
|
|
1344
|
+
external_id?: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* The company name
|
|
1347
|
+
*/
|
|
1348
|
+
name: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* A phone number the company can be contacted with.
|
|
1351
|
+
*/
|
|
1352
|
+
phone_number?: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* The company registration number. This field or `tax_number` (but not both) should be submitted.
|
|
1355
|
+
*/
|
|
1356
|
+
registration_number?: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* The tax identifier of the company. This field or `registration_number` (but not both) should be submitted.
|
|
1359
|
+
*/
|
|
1360
|
+
tax_number?: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* Date and time the Terms of Service were accepted. To ensure users read the most recent version of Remote's Terms of Service, their action cannot have been done more than fifteen minutes ago. The UTC offset must be included in the ISO 8601 format: `YYYY-MM-DD HOURS:MINUTES:SECONDSZ`
|
|
1363
|
+
*/
|
|
1364
|
+
terms_of_service_accepted_at: string;
|
|
1365
|
+
};
|
|
1208
1366
|
/**
|
|
1209
1367
|
* UuidSlug
|
|
1210
1368
|
*/
|
|
1211
1369
|
type UuidSlug = string;
|
|
1370
|
+
/**
|
|
1371
|
+
* BaseTokenResponse
|
|
1372
|
+
*/
|
|
1373
|
+
type BaseTokenResponse = {
|
|
1374
|
+
/**
|
|
1375
|
+
* A JWT token.
|
|
1376
|
+
*/
|
|
1377
|
+
access_token?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Number of seconds until token is expired.
|
|
1380
|
+
*/
|
|
1381
|
+
expires_in?: number;
|
|
1382
|
+
/**
|
|
1383
|
+
* The type of the token. For now, always `Bearer`.
|
|
1384
|
+
*/
|
|
1385
|
+
token_type?: string;
|
|
1386
|
+
};
|
|
1212
1387
|
/**
|
|
1213
1388
|
* SuccessResponse
|
|
1214
1389
|
*/
|
|
@@ -1427,6 +1602,10 @@ type ContractorSubscriptionsSummary = {
|
|
|
1427
1602
|
is_termination_fees_enabled?: boolean;
|
|
1428
1603
|
price: {
|
|
1429
1604
|
amount?: number;
|
|
1605
|
+
/**
|
|
1606
|
+
* The price after applying the company discount, in cents
|
|
1607
|
+
*/
|
|
1608
|
+
final_amount?: number;
|
|
1430
1609
|
};
|
|
1431
1610
|
product: Product;
|
|
1432
1611
|
total_amount: number | null;
|
|
@@ -1524,6 +1703,63 @@ type UnauthorizedResponse = {
|
|
|
1524
1703
|
type PricingPlanDetails = {
|
|
1525
1704
|
frequency: 'annually' | 'monthly';
|
|
1526
1705
|
};
|
|
1706
|
+
/**
|
|
1707
|
+
* UpdateCompanyParams
|
|
1708
|
+
*/
|
|
1709
|
+
type UpdateCompanyParams = {
|
|
1710
|
+
/**
|
|
1711
|
+
* Fields can vary depending on the country. Please, check the required fields structure using the [Show form schema endpoint](#operation/get_show_form_country).
|
|
1712
|
+
* Use the desired country and `address_details` as the form name for the placeholders.
|
|
1713
|
+
* The response complies with the [JSON Schema](https://developer.remote.com/docs/how-json-schemas-work) specification.
|
|
1714
|
+
*
|
|
1715
|
+
*/
|
|
1716
|
+
address_details?: {
|
|
1717
|
+
[key: string]: unknown;
|
|
1718
|
+
};
|
|
1719
|
+
/**
|
|
1720
|
+
* Fields can vary depending on the country. Please, check the required fields structure using the [Show form schema endpoint](#operation/get_show_form_country).
|
|
1721
|
+
* Use the desired country and `bank_account_details` as the form name for the placeholders.
|
|
1722
|
+
* The response complies with the [JSON Schema](https://developer.remote.com/docs/how-json-schemas-work) specification.
|
|
1723
|
+
*
|
|
1724
|
+
*/
|
|
1725
|
+
bank_account_details?: {
|
|
1726
|
+
[key: string]: unknown;
|
|
1727
|
+
};
|
|
1728
|
+
/**
|
|
1729
|
+
* Country of company address
|
|
1730
|
+
*/
|
|
1731
|
+
country_code?: string;
|
|
1732
|
+
/**
|
|
1733
|
+
* Desired currency for invoicing and displaying converted salaries in Remote UI regardless of the employee's country.
|
|
1734
|
+
*
|
|
1735
|
+
* This field is only accepted if company is in status `pending`. Please contact Remote if you wish to update it.
|
|
1736
|
+
*
|
|
1737
|
+
*/
|
|
1738
|
+
desired_currency?: 'AUD' | 'CAD' | 'CHF' | 'DKK' | 'EUR' | 'GBP' | 'JPY' | 'NOK' | 'NZD' | 'SEK' | 'SGD' | 'USD';
|
|
1739
|
+
/**
|
|
1740
|
+
* This field is only accepted if company is in status `pending`. Please contact Remote if you wish to update it.
|
|
1741
|
+
*
|
|
1742
|
+
*/
|
|
1743
|
+
name?: string;
|
|
1744
|
+
/**
|
|
1745
|
+
* A phone number the company can be contacted with.
|
|
1746
|
+
*/
|
|
1747
|
+
phone_number?: string;
|
|
1748
|
+
/**
|
|
1749
|
+
* The company registration number. This field or tax_number (but not both) should be submitted.
|
|
1750
|
+
*
|
|
1751
|
+
* This field is only accepted if company is in status `pending`.
|
|
1752
|
+
*
|
|
1753
|
+
*/
|
|
1754
|
+
registration_number?: string;
|
|
1755
|
+
/**
|
|
1756
|
+
* The tax identifier of the company. This field or registration_number (but not both) should be submitted.
|
|
1757
|
+
*
|
|
1758
|
+
* This field is only accepted if company is in status `pending`.
|
|
1759
|
+
*
|
|
1760
|
+
*/
|
|
1761
|
+
tax_number?: string;
|
|
1762
|
+
};
|
|
1527
1763
|
/**
|
|
1528
1764
|
* SignContractDocument
|
|
1529
1765
|
*
|
|
@@ -1702,6 +1938,17 @@ type Decimal = string;
|
|
|
1702
1938
|
type MessageResponse = {
|
|
1703
1939
|
message: string;
|
|
1704
1940
|
};
|
|
1941
|
+
/**
|
|
1942
|
+
* CompanyNotEligibleForCreationErrorResponse
|
|
1943
|
+
*
|
|
1944
|
+
* Error returned when the company already have employees in countries supported by the integration.
|
|
1945
|
+
*/
|
|
1946
|
+
type CompanyNotEligibleForCreationErrorResponse = {
|
|
1947
|
+
code?: string;
|
|
1948
|
+
message?: string;
|
|
1949
|
+
resource_id?: string;
|
|
1950
|
+
resource_type?: string;
|
|
1951
|
+
};
|
|
1705
1952
|
/**
|
|
1706
1953
|
* SalaryDecreaseDetails
|
|
1707
1954
|
*
|
|
@@ -1825,6 +2072,12 @@ type HelpCenterArticle = {
|
|
|
1825
2072
|
*/
|
|
1826
2073
|
zendesk_id: number;
|
|
1827
2074
|
};
|
|
2075
|
+
/**
|
|
2076
|
+
* CompanyCreationConflictErrorResponse
|
|
2077
|
+
*/
|
|
2078
|
+
type CompanyCreationConflictErrorResponse = {
|
|
2079
|
+
message?: CompanyAlreadyExistsErrorResponse | CompanyNotEligibleForCreationErrorResponse;
|
|
2080
|
+
};
|
|
1828
2081
|
/**
|
|
1829
2082
|
* EmploymentResponse
|
|
1830
2083
|
*
|
|
@@ -1912,4 +2165,4 @@ type PostAutomatableContractAmendmentErrors = {
|
|
|
1912
2165
|
};
|
|
1913
2166
|
type PostAutomatableContractAmendmentError = PostAutomatableContractAmendmentErrors[keyof PostAutomatableContractAmendmentErrors];
|
|
1914
2167
|
|
|
1915
|
-
export type {
|
|
2168
|
+
export type { ContractDocumentItem as $, UnifiedEmploymentUpsertBenefitOffersRequest as A, BadRequestResponse as B, ContractAmendmentAutomatableResponse as C, ConvertCurrencyResponse as D, Employment as E, ForbiddenResponse as F, ConvertCurrencyParams as G, CreateContractEligibilityParams as H, TerminationDetailsParams as I, UploadFileResponse as J, FileParams as K, SignContractDocument as L, MinimalRegion as M, NotFoundResponse as N, OffboardingResponse as O, PostCreateContractAmendmentError as P, ContractorSubscriptionsSummary as Q, RequestError as R, SuccessResponse as S, TooManyRequestsResponse as T, UnprocessableEntityResponse as U, ValidationError as V, ManageContractorPlusSubscriptionOperationsParams as W, CreateContractDocument as X, Country as Y, File as Z, DateTimeIso8601 as _, UnauthorizedResponse as a, EligibilityQuestionnaireResponse as a0, ConflictErrorResponse as a1, SubmitEligibilityQuestionnaireRequest as a2, ListTimeoffResponse as a3, TimeoffStatus as a4, TimeoffType as a5, ListLeavePoliciesSummaryResponse as a6, CreateOffboardingParams as a7, MagicLinkResponse as a8, MagicLinkParams as a9, GetShowEmploymentResponse as aa, Currency as ab, HelpCenterArticle as ac, PayrollCalendarEor as ad, ContractAmendmentResponse as b, PostAutomatableContractAmendmentError as c, EmploymentCreationResponse as d, EmploymentResponse as e, CreateContractDocumentResponse as f, EligibilityQuestionnaire as g, Signatory as h, CompanyLegalEntity as i, CompanyCreationResponse as j, CompanyCreationConflictErrorResponse as k, CreateCompanyParams as l, CompanyResponse as m, UpdateCompanyParams as n, CostCalculatorEstimateResponse as o, CostCalculatorEstimatePdfResponse as p, CostCalculatorEstimateParams as q, CostCalculatorEstimateCsvResponse as r, MinimalCountry as s, EmploymentTermType as t, CostCalculatorEmployment as u, PostCreateEstimationError as v, Company as w, ConflictResponse as x, EmploymentCreateParams as y, EmploymentFullParams as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
2
|
import { ValidationError } from 'yup';
|
|
3
|
-
import './remoteFlows-
|
|
3
|
+
import './remoteFlows-PN8ksydr.js';
|
|
4
4
|
|
|
5
5
|
declare function cn(...inputs: ClassValue[]): string;
|
|
6
6
|
type YupError = Pick<ValidationError, 'type' | 'errors'> & {
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-WLMHGJWB.js";import"./chunk-ZSJ6YADQ.js";import"./chunk-7SVSJ7NG.js";import"./chunk-2DCJODMR.js";import"./chunk-3PIJOIYR.js";import"./chunk-X6ZAR7ZL.js";import"./chunk-P37U34EQ.js";export{a as CheckboxFieldDefault};
|
|
2
|
-
//# sourceMappingURL=CheckboxFieldDefault-HEIDOSI7.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-AGUAPUCU.js";import"./chunk-BWMATZIU.js";import"./chunk-T7CGGZOK.js";import"./chunk-CU3WQ2KN.js";import"./chunk-I3J7LKY3.js";import"./chunk-ZSJ6YADQ.js";import"./chunk-YAJJJ2JV.js";import"./chunk-OK3CYSHV.js";import"./chunk-AS4ND5IO.js";import"./chunk-4YPJKEHT.js";import"./chunk-2DCJODMR.js";import"./chunk-3PIJOIYR.js";import"./chunk-X6ZAR7ZL.js";import"./chunk-KQPDXXG3.js";import"./chunk-P37U34EQ.js";export{a as CountryFieldDefault};
|
|
2
|
-
//# sourceMappingURL=CountryFieldDefault-SFTKBP6V.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-5RFDYBDY.js";import"./chunk-BWMATZIU.js";import"./chunk-CU3WQ2KN.js";import"./chunk-I3J7LKY3.js";import"./chunk-ZSJ6YADQ.js";import"./chunk-YAJJJ2JV.js";import"./chunk-4YPJKEHT.js";import"./chunk-2DCJODMR.js";import"./chunk-3PIJOIYR.js";import"./chunk-X6ZAR7ZL.js";import"./chunk-KQPDXXG3.js";import"./chunk-P37U34EQ.js";export{a as DatePickerFieldDefault};
|
|
2
|
-
//# sourceMappingURL=DatePickerFieldDefault-GHHRA5MC.js.map
|