@thera-hr/api-sdk 0.0.1449 → 0.0.1503
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/Client.d.ts +1 -1
- package/api/resources/api/client/Client.d.ts +1 -1
- package/api/resources/api/resources/services/client/Client.d.ts +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.d.ts +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/api/resources/api/resources/test/client/Client.d.ts +1 -1
- package/api/resources/api/resources/test/resources/invoices/client/Client.d.ts +1 -1
- package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/api/resources/api/resources/thera/client/Client.d.ts +4 -1
- package/api/resources/api/resources/thera/client/Client.js +7 -2
- package/api/resources/api/resources/thera/resources/bank/client/Client.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/company/client/Client.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/company/client/Client.js +7 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +20 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +99 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/index.js +17 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteContractorReq.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.js +2 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/index.js +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateContractor.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployeeInformation.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +20 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestoneDetails.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +6 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/index.js +1 -0
- package/api/resources/api/resources/thera/resources/disbursement/client/Client.d.ts +17 -0
- package/api/resources/api/resources/thera/resources/disbursement/client/Client.js +18 -0
- package/api/resources/api/resources/thera/resources/disbursement/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/disbursement/client/index.js +2 -0
- package/api/resources/api/resources/thera/resources/disbursement/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/disbursement/index.js +18 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.d.ts +20 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +94 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/index.js +17 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/requests/InvoiceWebhookRequest.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/requests/index.js +2 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/index.js +18 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.d.ts +5 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/index.js +18 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/index.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/disbursement/resources/index.js +32 -0
- package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/index.js +2 -1
- package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/api/resources/db/resources/employment/types/Employment.d.ts +5 -4
- package/api/resources/db/resources/employment/types/index.d.ts +0 -12
- package/api/resources/db/resources/employment/types/index.js +0 -12
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/model/index.d.ts +1 -0
- package/api/resources/model/index.js +17 -0
- package/api/resources/model/resources/index.d.ts +1 -0
- package/api/resources/model/resources/index.js +27 -0
- package/api/resources/model/resources/thera/index.d.ts +1 -0
- package/api/resources/model/resources/thera/index.js +17 -0
- package/api/resources/model/resources/thera/resources/employment/index.d.ts +1 -0
- package/api/resources/model/resources/thera/resources/employment/index.js +17 -0
- package/api/resources/{db → model/resources/thera}/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +2 -2
- package/{dist/api/resources/db → api/resources/model/resources/thera}/resources/employment/types/ContractDocumentType.d.ts +3 -0
- package/api/resources/model/resources/thera/resources/employment/types/ContractType.d.ts +9 -0
- package/api/resources/model/resources/thera/resources/employment/types/ContractType.js +11 -0
- package/api/resources/model/resources/thera/resources/employment/types/MonthlyPayCycleEnd.d.ts +18 -0
- package/api/resources/{db → model/resources/thera}/resources/employment/types/PayCycle.d.ts +3 -2
- package/api/resources/model/resources/thera/resources/employment/types/PayCycleEnd.d.ts +21 -0
- package/api/resources/model/resources/thera/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +17 -0
- package/api/resources/model/resources/thera/resources/employment/types/SemiMonthlyPayCycleEnd.js +5 -0
- package/api/resources/model/resources/thera/resources/employment/types/WageType.d.ts +13 -0
- package/{dist/api/resources/db → api/resources/model/resources/thera}/resources/employment/types/WageType.js +4 -0
- package/{dist/api/resources/db → api/resources/model/resources/thera}/resources/employment/types/WeeklyPayCycleEnd.d.ts +2 -2
- package/api/resources/model/resources/thera/resources/employment/types/WeeklyPayCycleEnd.js +5 -0
- package/api/resources/model/resources/thera/resources/employment/types/index.d.ts +13 -0
- package/api/resources/model/resources/thera/resources/employment/types/index.js +29 -0
- package/api/resources/model/resources/thera/resources/index.d.ts +2 -0
- package/api/resources/model/resources/thera/resources/index.js +31 -0
- package/dist/Client.d.ts +1 -1
- package/dist/api/resources/api/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/services/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/dist/api/resources/api/resources/test/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/client/Client.js +7 -2
- package/dist/api/resources/api/resources/thera/resources/bank/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/company/client/Client.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/company/client/Client.js +7 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +20 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +99 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/index.js +17 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteContractorReq.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteContractorReq.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/index.js +1 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateContractor.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateContractor.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployeeInformation.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployeeInformation.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +20 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestoneDetails.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestoneDetails.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +6 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/index.js +1 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/client/Client.d.ts +17 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/client/Client.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.d.ts +20 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +94 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/index.js +17 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/requests/InvoiceWebhookRequest.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/requests/InvoiceWebhookRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/requests/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.d.ts +5 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/index.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/index.js +32 -0
- package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/index.js +2 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/dist/api/resources/db/resources/employment/types/Employment.d.ts +5 -4
- package/dist/api/resources/db/resources/employment/types/index.d.ts +0 -12
- package/dist/api/resources/db/resources/employment/types/index.js +0 -12
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/model/index.d.ts +1 -0
- package/dist/api/resources/model/index.js +17 -0
- package/dist/api/resources/model/resources/index.d.ts +1 -0
- package/dist/api/resources/model/resources/index.js +27 -0
- package/dist/api/resources/model/resources/thera/index.d.ts +1 -0
- package/dist/api/resources/model/resources/thera/index.js +17 -0
- package/dist/api/resources/model/resources/thera/resources/employment/index.d.ts +1 -0
- package/dist/api/resources/model/resources/thera/resources/employment/index.js +17 -0
- package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +2 -2
- package/dist/api/resources/model/resources/thera/resources/employment/types/BiWeeklyPayCycleEnd.js +5 -0
- package/{api/resources/db → dist/api/resources/model/resources/thera}/resources/employment/types/ContractDocumentType.d.ts +3 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/ContractType.d.ts +9 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/ContractType.js +11 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/FifteenthAndEndOfMonth.js +5 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/LastDayOfMonth.js +5 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/MonthlyPayCycleEnd.d.ts +18 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/MonthlyPayCycleEnd.js +5 -0
- package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/PayCycle.d.ts +3 -2
- package/dist/api/resources/model/resources/thera/resources/employment/types/PayCycle.js +5 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/PayCycleEnd.d.ts +21 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/PayCycleEnd.js +5 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +17 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/SemiMonthlyPayCycleEnd.js +5 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/WageType.d.ts +13 -0
- package/{api/resources/db → dist/api/resources/model/resources/thera}/resources/employment/types/WageType.js +4 -0
- package/{api/resources/db → dist/api/resources/model/resources/thera}/resources/employment/types/WeeklyPayCycleEnd.d.ts +2 -2
- package/dist/api/resources/model/resources/thera/resources/employment/types/WeeklyPayCycleEnd.js +5 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/index.d.ts +13 -0
- package/dist/api/resources/model/resources/thera/resources/employment/types/index.js +29 -0
- package/dist/api/resources/model/resources/thera/resources/index.d.ts +2 -0
- package/dist/api/resources/model/resources/thera/resources/index.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateContractor.d.ts +15 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateContractor.js +36 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployeeInformation.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployeeInformation.js +33 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +25 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.js +46 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.d.ts +15 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.js +36 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestoneDetails.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestoneDetails.js +33 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.js +34 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +6 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +6 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.d.ts +11 -0
- package/dist/serialization/resources/{db/resources/employment/types/WageType.js → api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.js} +3 -3
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.js +38 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/index.js +18 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/index.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -1
- package/dist/serialization/resources/db/resources/employment/types/Employment.d.ts +5 -4
- package/dist/serialization/resources/db/resources/employment/types/Employment.js +5 -4
- package/dist/serialization/resources/db/resources/employment/types/index.d.ts +0 -12
- package/dist/serialization/resources/db/resources/employment/types/index.js +0 -12
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/model/index.d.ts +1 -0
- package/dist/serialization/resources/model/index.js +17 -0
- package/dist/serialization/resources/model/resources/index.d.ts +1 -0
- package/dist/serialization/resources/model/resources/index.js +27 -0
- package/dist/serialization/resources/model/resources/thera/index.d.ts +1 -0
- package/dist/serialization/resources/model/resources/thera/index.js +17 -0
- package/dist/serialization/resources/model/resources/thera/resources/employment/index.d.ts +1 -0
- package/dist/serialization/resources/model/resources/thera/resources/employment/index.js +17 -0
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +12 -0
- package/{serialization/resources/db → dist/serialization/resources/model/resources/thera}/resources/employment/types/BiWeeklyPayCycleEnd.js +2 -2
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/ContractDocumentType.d.ts +10 -0
- package/{serialization/resources/db → dist/serialization/resources/model/resources/thera}/resources/employment/types/ContractDocumentType.js +1 -1
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/ContractType.d.ts +10 -0
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/ContractType.js +31 -0
- package/dist/serialization/resources/{db → model/resources/thera}/resources/employment/types/DayOfWeek.d.ts +4 -4
- package/{serialization/resources/db → dist/serialization/resources/model/resources/thera}/resources/employment/types/DayOfWeek.js +1 -1
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/EmploymentType.d.ts +10 -0
- package/{serialization/resources/db → dist/serialization/resources/model/resources/thera}/resources/employment/types/EmploymentType.js +1 -1
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/FifteenthAndEndOfMonth.d.ts +11 -0
- package/dist/serialization/resources/{db → model/resources/thera}/resources/employment/types/FifteenthAndEndOfMonth.js +1 -1
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/LastDayOfMonth.d.ts +11 -0
- package/dist/serialization/resources/{db → model/resources/thera}/resources/employment/types/LastDayOfMonth.js +1 -1
- package/dist/serialization/resources/{db → model/resources/thera}/resources/employment/types/MonthlyPayCycleEnd.d.ts +6 -6
- package/dist/serialization/resources/{db → model/resources/thera}/resources/employment/types/MonthlyPayCycleEnd.js +3 -3
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/PayCycle.d.ts +16 -0
- package/dist/serialization/resources/{db → model/resources/thera}/resources/employment/types/PayCycle.js +3 -2
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/PayCycleEnd.d.ts +24 -0
- package/{serialization/resources/db → dist/serialization/resources/model/resources/thera}/resources/employment/types/PayCycleEnd.js +5 -5
- package/dist/serialization/resources/{db → model/resources/thera}/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +5 -5
- package/{serialization/resources/db → dist/serialization/resources/model/resources/thera}/resources/employment/types/SemiMonthlyPayCycleEnd.js +2 -2
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/WageType.d.ts +10 -0
- package/{serialization/resources/db → dist/serialization/resources/model/resources/thera}/resources/employment/types/WageType.js +2 -2
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/WeeklyPayCycleEnd.d.ts +12 -0
- package/dist/serialization/resources/{db → model/resources/thera}/resources/employment/types/WeeklyPayCycleEnd.js +2 -2
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/index.d.ts +13 -0
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/index.js +29 -0
- package/dist/serialization/resources/model/resources/thera/resources/index.d.ts +2 -0
- package/dist/serialization/resources/model/resources/thera/resources/index.js +31 -0
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateContractor.d.ts +15 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateContractor.js +36 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployeeInformation.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployeeInformation.js +33 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +25 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.js +46 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.d.ts +15 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.js +36 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestoneDetails.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestoneDetails.js +33 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.js +34 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +6 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +6 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.js +31 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.js +38 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/index.js +18 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/index.js +31 -0
- package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/index.js +2 -1
- package/serialization/resources/db/resources/employment/types/Employment.d.ts +5 -4
- package/serialization/resources/db/resources/employment/types/Employment.js +5 -4
- package/serialization/resources/db/resources/employment/types/index.d.ts +0 -12
- package/serialization/resources/db/resources/employment/types/index.js +0 -12
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/model/index.d.ts +1 -0
- package/serialization/resources/model/index.js +17 -0
- package/serialization/resources/model/resources/index.d.ts +1 -0
- package/serialization/resources/model/resources/index.js +27 -0
- package/serialization/resources/model/resources/thera/index.d.ts +1 -0
- package/serialization/resources/model/resources/thera/index.js +17 -0
- package/serialization/resources/model/resources/thera/resources/employment/index.d.ts +1 -0
- package/serialization/resources/model/resources/thera/resources/employment/index.js +17 -0
- package/serialization/resources/model/resources/thera/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +12 -0
- package/{dist/serialization/resources/db → serialization/resources/model/resources/thera}/resources/employment/types/BiWeeklyPayCycleEnd.js +2 -2
- package/serialization/resources/model/resources/thera/resources/employment/types/ContractDocumentType.d.ts +10 -0
- package/{dist/serialization/resources/db → serialization/resources/model/resources/thera}/resources/employment/types/ContractDocumentType.js +1 -1
- package/serialization/resources/model/resources/thera/resources/employment/types/ContractType.d.ts +10 -0
- package/serialization/resources/model/resources/thera/resources/employment/types/ContractType.js +31 -0
- package/serialization/resources/{db → model/resources/thera}/resources/employment/types/DayOfWeek.d.ts +4 -4
- package/{dist/serialization/resources/db → serialization/resources/model/resources/thera}/resources/employment/types/DayOfWeek.js +1 -1
- package/serialization/resources/model/resources/thera/resources/employment/types/EmploymentType.d.ts +10 -0
- package/{dist/serialization/resources/db → serialization/resources/model/resources/thera}/resources/employment/types/EmploymentType.js +1 -1
- package/serialization/resources/model/resources/thera/resources/employment/types/FifteenthAndEndOfMonth.d.ts +11 -0
- package/serialization/resources/{db → model/resources/thera}/resources/employment/types/FifteenthAndEndOfMonth.js +1 -1
- package/serialization/resources/model/resources/thera/resources/employment/types/LastDayOfMonth.d.ts +11 -0
- package/serialization/resources/{db → model/resources/thera}/resources/employment/types/LastDayOfMonth.js +1 -1
- package/serialization/resources/{db → model/resources/thera}/resources/employment/types/MonthlyPayCycleEnd.d.ts +6 -6
- package/serialization/resources/{db → model/resources/thera}/resources/employment/types/MonthlyPayCycleEnd.js +3 -3
- package/serialization/resources/model/resources/thera/resources/employment/types/PayCycle.d.ts +16 -0
- package/serialization/resources/{db → model/resources/thera}/resources/employment/types/PayCycle.js +3 -2
- package/serialization/resources/model/resources/thera/resources/employment/types/PayCycleEnd.d.ts +24 -0
- package/{dist/serialization/resources/db → serialization/resources/model/resources/thera}/resources/employment/types/PayCycleEnd.js +5 -5
- package/serialization/resources/{db → model/resources/thera}/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +5 -5
- package/{dist/serialization/resources/db → serialization/resources/model/resources/thera}/resources/employment/types/SemiMonthlyPayCycleEnd.js +2 -2
- package/serialization/resources/model/resources/thera/resources/employment/types/WageType.d.ts +10 -0
- package/serialization/resources/model/resources/thera/resources/employment/types/WageType.js +31 -0
- package/serialization/resources/model/resources/thera/resources/employment/types/WeeklyPayCycleEnd.d.ts +12 -0
- package/serialization/resources/{db → model/resources/thera}/resources/employment/types/WeeklyPayCycleEnd.js +2 -2
- package/serialization/resources/model/resources/thera/resources/employment/types/index.d.ts +13 -0
- package/serialization/resources/model/resources/thera/resources/employment/types/index.js +29 -0
- package/serialization/resources/model/resources/thera/resources/index.d.ts +2 -0
- package/serialization/resources/model/resources/thera/resources/index.js +31 -0
- package/api/resources/db/resources/employment/types/MonthlyPayCycleEnd.d.ts +0 -18
- package/api/resources/db/resources/employment/types/PayCycleEnd.d.ts +0 -21
- package/api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +0 -14
- package/api/resources/db/resources/employment/types/WageType.d.ts +0 -9
- package/dist/api/resources/db/resources/employment/types/MonthlyPayCycleEnd.d.ts +0 -18
- package/dist/api/resources/db/resources/employment/types/PayCycleEnd.d.ts +0 -21
- package/dist/api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +0 -14
- package/dist/api/resources/db/resources/employment/types/WageType.d.ts +0 -9
- package/dist/serialization/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +0 -12
- package/dist/serialization/resources/db/resources/employment/types/ContractDocumentType.d.ts +0 -10
- package/dist/serialization/resources/db/resources/employment/types/EmploymentType.d.ts +0 -10
- package/dist/serialization/resources/db/resources/employment/types/FifteenthAndEndOfMonth.d.ts +0 -11
- package/dist/serialization/resources/db/resources/employment/types/LastDayOfMonth.d.ts +0 -11
- package/dist/serialization/resources/db/resources/employment/types/PayCycle.d.ts +0 -15
- package/dist/serialization/resources/db/resources/employment/types/PayCycleEnd.d.ts +0 -24
- package/dist/serialization/resources/db/resources/employment/types/WageType.d.ts +0 -10
- package/dist/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.d.ts +0 -12
- package/serialization/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +0 -12
- package/serialization/resources/db/resources/employment/types/ContractDocumentType.d.ts +0 -10
- package/serialization/resources/db/resources/employment/types/EmploymentType.d.ts +0 -10
- package/serialization/resources/db/resources/employment/types/FifteenthAndEndOfMonth.d.ts +0 -11
- package/serialization/resources/db/resources/employment/types/LastDayOfMonth.d.ts +0 -11
- package/serialization/resources/db/resources/employment/types/PayCycle.d.ts +0 -15
- package/serialization/resources/db/resources/employment/types/PayCycleEnd.d.ts +0 -24
- package/serialization/resources/db/resources/employment/types/WageType.d.ts +0 -10
- package/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.d.ts +0 -12
- /package/api/resources/{db/resources/employment/types/BiWeeklyPayCycleEnd.js → api/resources/thera/resources/company/resources/companyApi/client/requests/InviteContractorReq.js} +0 -0
- /package/api/resources/{db/resources/employment/types/FifteenthAndEndOfMonth.js → api/resources/thera/resources/company/resources/companyApi/types/CreateContractor.js} +0 -0
- /package/api/resources/{db/resources/employment/types/LastDayOfMonth.js → api/resources/thera/resources/company/resources/companyApi/types/CreateEmployeeInformation.js} +0 -0
- /package/api/resources/{db/resources/employment/types/MonthlyPayCycleEnd.js → api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.js} +0 -0
- /package/api/resources/{db/resources/employment/types/PayCycle.js → api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.js} +0 -0
- /package/api/resources/{db/resources/employment/types/PayCycleEnd.js → api/resources/thera/resources/company/resources/companyApi/types/CreateMilestoneDetails.js} +0 -0
- /package/api/resources/{db/resources/employment/types/SemiMonthlyPayCycleEnd.js → api/resources/thera/resources/company/resources/companyApi/types/InviteContractorRequest.js} +0 -0
- /package/api/resources/{db/resources/employment/types/WeeklyPayCycleEnd.js → api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/requests/InvoiceWebhookRequest.js} +0 -0
- /package/{dist/api/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.js → api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.js} +0 -0
- /package/{dist/api/resources/db/resources/employment/types/FifteenthAndEndOfMonth.js → api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.js} +0 -0
- /package/{dist/api/resources/db/resources/employment/types/LastDayOfMonth.js → api/resources/model/resources/thera/resources/employment/types/BiWeeklyPayCycleEnd.js} +0 -0
- /package/api/resources/{db → model/resources/thera}/resources/employment/types/ContractDocumentType.js +0 -0
- /package/api/resources/{db → model/resources/thera}/resources/employment/types/DayOfWeek.d.ts +0 -0
- /package/api/resources/{db → model/resources/thera}/resources/employment/types/DayOfWeek.js +0 -0
- /package/api/resources/{db → model/resources/thera}/resources/employment/types/EmploymentType.d.ts +0 -0
- /package/api/resources/{db → model/resources/thera}/resources/employment/types/EmploymentType.js +0 -0
- /package/api/resources/{db → model/resources/thera}/resources/employment/types/FifteenthAndEndOfMonth.d.ts +0 -0
- /package/{dist/api/resources/db/resources/employment/types/MonthlyPayCycleEnd.js → api/resources/model/resources/thera/resources/employment/types/FifteenthAndEndOfMonth.js} +0 -0
- /package/api/resources/{db → model/resources/thera}/resources/employment/types/LastDayOfMonth.d.ts +0 -0
- /package/{dist/api/resources/db/resources/employment/types/PayCycle.js → api/resources/model/resources/thera/resources/employment/types/LastDayOfMonth.js} +0 -0
- /package/{dist/api/resources/db/resources/employment/types/PayCycleEnd.js → api/resources/model/resources/thera/resources/employment/types/MonthlyPayCycleEnd.js} +0 -0
- /package/{dist/api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.js → api/resources/model/resources/thera/resources/employment/types/PayCycle.js} +0 -0
- /package/{dist/api/resources/db/resources/employment/types/WeeklyPayCycleEnd.js → api/resources/model/resources/thera/resources/employment/types/PayCycleEnd.js} +0 -0
- /package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/ContractDocumentType.js +0 -0
- /package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/DayOfWeek.d.ts +0 -0
- /package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/DayOfWeek.js +0 -0
- /package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/EmploymentType.d.ts +0 -0
- /package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/EmploymentType.js +0 -0
- /package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/FifteenthAndEndOfMonth.d.ts +0 -0
- /package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/LastDayOfMonth.d.ts +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as TheraApi from "
|
|
6
|
-
import * as core from "
|
|
7
|
-
export declare const DayOfWeek: core.serialization.Schema<serializers.
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const DayOfWeek: core.serialization.Schema<serializers.model.thera.DayOfWeek.Raw, TheraApi.model.thera.DayOfWeek>;
|
|
8
8
|
export declare namespace DayOfWeek {
|
|
9
9
|
type Raw = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
10
10
|
}
|
|
@@ -27,5 +27,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.DayOfWeek = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.DayOfWeek = core.serialization.enum_(["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const EmploymentType: core.serialization.Schema<serializers.model.thera.EmploymentType.Raw, TheraApi.model.thera.EmploymentType>;
|
|
8
|
+
export declare namespace EmploymentType {
|
|
9
|
+
type Raw = "EMPLOYEE" | "CONTRACTOR";
|
|
10
|
+
}
|
|
@@ -27,5 +27,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.EmploymentType = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.EmploymentType = core.serialization.enum_(["EMPLOYEE", "CONTRACTOR"]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const FifteenthAndEndOfMonth: core.serialization.ObjectSchema<serializers.model.thera.FifteenthAndEndOfMonth.Raw, TheraApi.model.thera.FifteenthAndEndOfMonth>;
|
|
8
|
+
export declare namespace FifteenthAndEndOfMonth {
|
|
9
|
+
interface Raw {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -27,5 +27,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.FifteenthAndEndOfMonth = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.FifteenthAndEndOfMonth = core.serialization.object({});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const LastDayOfMonth: core.serialization.ObjectSchema<serializers.model.thera.LastDayOfMonth.Raw, TheraApi.model.thera.LastDayOfMonth>;
|
|
8
|
+
export declare namespace LastDayOfMonth {
|
|
9
|
+
interface Raw {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -27,5 +27,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.LastDayOfMonth = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.LastDayOfMonth = core.serialization.object({});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as TheraApi from "
|
|
6
|
-
import * as core from "
|
|
7
|
-
export declare const MonthlyPayCycleEnd: core.serialization.Schema<serializers.
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const MonthlyPayCycleEnd: core.serialization.Schema<serializers.model.thera.MonthlyPayCycleEnd.Raw, TheraApi.model.thera.MonthlyPayCycleEnd>;
|
|
8
8
|
export declare namespace MonthlyPayCycleEnd {
|
|
9
9
|
type Raw = MonthlyPayCycleEnd.DayOfMonth | MonthlyPayCycleEnd.LastDayOfMonth | MonthlyPayCycleEnd.LastDayOfWeekOfMonth;
|
|
10
10
|
interface DayOfMonth {
|
|
11
11
|
type: "dayOfMonth";
|
|
12
12
|
value: number;
|
|
13
13
|
}
|
|
14
|
-
interface LastDayOfMonth extends serializers.
|
|
14
|
+
interface LastDayOfMonth extends serializers.model.thera.LastDayOfMonth.Raw {
|
|
15
15
|
type: "lastDayOfMonth";
|
|
16
16
|
}
|
|
17
17
|
interface LastDayOfWeekOfMonth {
|
|
18
18
|
type: "lastDayOfWeekOfMonth";
|
|
19
|
-
value: serializers.
|
|
19
|
+
value: serializers.model.thera.DayOfWeek.Raw;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -27,15 +27,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.MonthlyPayCycleEnd = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.MonthlyPayCycleEnd = core.serialization
|
|
32
32
|
.union("type", {
|
|
33
33
|
dayOfMonth: core.serialization.object({
|
|
34
34
|
value: core.serialization.number(),
|
|
35
35
|
}),
|
|
36
|
-
lastDayOfMonth: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
36
|
+
lastDayOfMonth: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).model.thera.LastDayOfMonth),
|
|
37
37
|
lastDayOfWeekOfMonth: core.serialization.object({
|
|
38
|
-
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
38
|
+
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).model.thera.DayOfWeek),
|
|
39
39
|
}),
|
|
40
40
|
})
|
|
41
41
|
.transform({
|
package/dist/serialization/resources/model/resources/thera/resources/employment/types/PayCycle.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const PayCycle: core.serialization.ObjectSchema<serializers.model.thera.PayCycle.Raw, TheraApi.model.thera.PayCycle>;
|
|
8
|
+
export declare namespace PayCycle {
|
|
9
|
+
interface Raw {
|
|
10
|
+
timezone: string;
|
|
11
|
+
cycleStartDate: string;
|
|
12
|
+
cycleEnd: serializers.model.thera.PayCycleEnd.Raw;
|
|
13
|
+
paymentDueDays: number;
|
|
14
|
+
firstPayDate: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -27,10 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PayCycle = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.PayCycle = core.serialization.object({
|
|
32
32
|
timezone: core.serialization.string(),
|
|
33
33
|
cycleStartDate: core.serialization.string(),
|
|
34
|
-
cycleEnd: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
34
|
+
cycleEnd: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).model.thera.PayCycleEnd),
|
|
35
35
|
paymentDueDays: core.serialization.number(),
|
|
36
|
+
firstPayDate: core.serialization.string(),
|
|
36
37
|
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const PayCycleEnd: core.serialization.Schema<serializers.model.thera.PayCycleEnd.Raw, TheraApi.model.thera.PayCycleEnd>;
|
|
8
|
+
export declare namespace PayCycleEnd {
|
|
9
|
+
type Raw = PayCycleEnd.Weekly | PayCycleEnd.Biweekly | PayCycleEnd.Monthly | PayCycleEnd.Semimonthly;
|
|
10
|
+
interface Weekly extends serializers.model.thera.WeeklyPayCycleEnd.Raw {
|
|
11
|
+
type: "weekly";
|
|
12
|
+
}
|
|
13
|
+
interface Biweekly extends serializers.model.thera.BiWeeklyPayCycleEnd.Raw {
|
|
14
|
+
type: "biweekly";
|
|
15
|
+
}
|
|
16
|
+
interface Monthly {
|
|
17
|
+
type: "monthly";
|
|
18
|
+
value: serializers.model.thera.MonthlyPayCycleEnd.Raw;
|
|
19
|
+
}
|
|
20
|
+
interface Semimonthly {
|
|
21
|
+
type: "semimonthly";
|
|
22
|
+
value: serializers.model.thera.SemiMonthlyPayCycleEnd.Raw;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -27,16 +27,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PayCycleEnd = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.PayCycleEnd = core.serialization
|
|
32
32
|
.union("type", {
|
|
33
|
-
weekly: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
34
|
-
biweekly: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
33
|
+
weekly: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).model.thera.WeeklyPayCycleEnd),
|
|
34
|
+
biweekly: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).model.thera.BiWeeklyPayCycleEnd),
|
|
35
35
|
monthly: core.serialization.object({
|
|
36
|
-
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
36
|
+
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).model.thera.MonthlyPayCycleEnd),
|
|
37
37
|
}),
|
|
38
38
|
semimonthly: core.serialization.object({
|
|
39
|
-
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
39
|
+
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).model.thera.SemiMonthlyPayCycleEnd),
|
|
40
40
|
}),
|
|
41
41
|
})
|
|
42
42
|
.transform({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as TheraApi from "
|
|
6
|
-
import * as core from "
|
|
7
|
-
export declare const SemiMonthlyPayCycleEnd: core.serialization.Schema<serializers.
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const SemiMonthlyPayCycleEnd: core.serialization.Schema<serializers.model.thera.SemiMonthlyPayCycleEnd.Raw, TheraApi.model.thera.SemiMonthlyPayCycleEnd>;
|
|
8
8
|
export declare namespace SemiMonthlyPayCycleEnd {
|
|
9
9
|
type Raw = SemiMonthlyPayCycleEnd.FifteenthAndEndOfMonth | SemiMonthlyPayCycleEnd.DayOfMonth;
|
|
10
|
-
interface FifteenthAndEndOfMonth extends serializers.
|
|
10
|
+
interface FifteenthAndEndOfMonth extends serializers.model.thera.FifteenthAndEndOfMonth.Raw {
|
|
11
11
|
type: "fifteenthAndEndOfMonth";
|
|
12
12
|
}
|
|
13
13
|
interface DayOfMonth {
|
|
@@ -27,10 +27,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.SemiMonthlyPayCycleEnd = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.SemiMonthlyPayCycleEnd = core.serialization
|
|
32
32
|
.union("type", {
|
|
33
|
-
fifteenthAndEndOfMonth: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
33
|
+
fifteenthAndEndOfMonth: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).model.thera.FifteenthAndEndOfMonth),
|
|
34
34
|
dayOfMonth: core.serialization.object({
|
|
35
35
|
value: core.serialization.number(),
|
|
36
36
|
}),
|
package/dist/serialization/resources/model/resources/thera/resources/employment/types/WageType.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const WageType: core.serialization.Schema<serializers.model.thera.WageType.Raw, TheraApi.model.thera.WageType>;
|
|
8
|
+
export declare namespace WageType {
|
|
9
|
+
type Raw = "HOURLY" | "DAILY" | "MONTHLY" | "SEMIMONTHLY" | "BIWEEKLY" | "WEEKLY" | "MILESTONE";
|
|
10
|
+
}
|
|
@@ -27,5 +27,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WageType = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
exports.WageType = core.serialization.enum_(["HOURLY", "MONTHLY", "MILESTONE"]);
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.WageType = core.serialization.enum_(["HOURLY", "DAILY", "MONTHLY", "SEMIMONTHLY", "BIWEEKLY", "WEEKLY", "MILESTONE"]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const WeeklyPayCycleEnd: core.serialization.ObjectSchema<serializers.model.thera.WeeklyPayCycleEnd.Raw, TheraApi.model.thera.WeeklyPayCycleEnd>;
|
|
8
|
+
export declare namespace WeeklyPayCycleEnd {
|
|
9
|
+
interface Raw {
|
|
10
|
+
dayOfWeek: serializers.model.thera.DayOfWeek.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WeeklyPayCycleEnd = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.WeeklyPayCycleEnd = core.serialization.object({
|
|
32
|
-
dayOfWeek: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
32
|
+
dayOfWeek: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).model.thera.DayOfWeek),
|
|
33
33
|
});
|
package/dist/serialization/resources/model/resources/thera/resources/employment/types/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./WageType";
|
|
2
|
+
export * from "./EmploymentType";
|
|
3
|
+
export * from "./ContractDocumentType";
|
|
4
|
+
export * from "./ContractType";
|
|
5
|
+
export * from "./PayCycle";
|
|
6
|
+
export * from "./PayCycleEnd";
|
|
7
|
+
export * from "./WeeklyPayCycleEnd";
|
|
8
|
+
export * from "./BiWeeklyPayCycleEnd";
|
|
9
|
+
export * from "./MonthlyPayCycleEnd";
|
|
10
|
+
export * from "./SemiMonthlyPayCycleEnd";
|
|
11
|
+
export * from "./FifteenthAndEndOfMonth";
|
|
12
|
+
export * from "./LastDayOfMonth";
|
|
13
|
+
export * from "./DayOfWeek";
|
package/dist/serialization/resources/model/resources/thera/resources/employment/types/index.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./WageType"), exports);
|
|
18
|
+
__exportStar(require("./EmploymentType"), exports);
|
|
19
|
+
__exportStar(require("./ContractDocumentType"), exports);
|
|
20
|
+
__exportStar(require("./ContractType"), exports);
|
|
21
|
+
__exportStar(require("./PayCycle"), exports);
|
|
22
|
+
__exportStar(require("./PayCycleEnd"), exports);
|
|
23
|
+
__exportStar(require("./WeeklyPayCycleEnd"), exports);
|
|
24
|
+
__exportStar(require("./BiWeeklyPayCycleEnd"), exports);
|
|
25
|
+
__exportStar(require("./MonthlyPayCycleEnd"), exports);
|
|
26
|
+
__exportStar(require("./SemiMonthlyPayCycleEnd"), exports);
|
|
27
|
+
__exportStar(require("./FifteenthAndEndOfMonth"), exports);
|
|
28
|
+
__exportStar(require("./LastDayOfMonth"), exports);
|
|
29
|
+
__exportStar(require("./DayOfWeek"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.employment = void 0;
|
|
30
|
+
exports.employment = __importStar(require("./employment"));
|
|
31
|
+
__exportStar(require("./employment/types"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const CreateContractor: core.serialization.ObjectSchema<serializers.api.thera.company.CreateContractor.Raw, TheraApi.api.thera.company.CreateContractor>;
|
|
8
|
+
export declare namespace CreateContractor {
|
|
9
|
+
interface Raw {
|
|
10
|
+
firstName: string;
|
|
11
|
+
lastName: string;
|
|
12
|
+
email: string;
|
|
13
|
+
createEmployeeInformation: serializers.api.thera.company.CreateEmployeeInformation.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateContractor = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
exports.CreateContractor = core.serialization.object({
|
|
32
|
+
firstName: core.serialization.string(),
|
|
33
|
+
lastName: core.serialization.string(),
|
|
34
|
+
email: core.serialization.string(),
|
|
35
|
+
createEmployeeInformation: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.CreateEmployeeInformation),
|
|
36
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const CreateEmployeeInformation: core.serialization.ObjectSchema<serializers.api.thera.company.CreateEmployeeInformation.Raw, TheraApi.api.thera.company.CreateEmployeeInformation>;
|
|
8
|
+
export declare namespace CreateEmployeeInformation {
|
|
9
|
+
interface Raw {
|
|
10
|
+
country: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateEmployeeInformation = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
exports.CreateEmployeeInformation = core.serialization.object({
|
|
32
|
+
country: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const CreateEmployment: core.serialization.ObjectSchema<serializers.api.thera.company.CreateEmployment.Raw, TheraApi.api.thera.company.CreateEmployment>;
|
|
8
|
+
export declare namespace CreateEmployment {
|
|
9
|
+
interface Raw {
|
|
10
|
+
companyID: string;
|
|
11
|
+
jobTitle: string;
|
|
12
|
+
startDate: string;
|
|
13
|
+
wageType: serializers.model.thera.WageType.Raw;
|
|
14
|
+
rate: number;
|
|
15
|
+
milestoneDetails: serializers.api.thera.company.CreateMilestoneDetails.Raw;
|
|
16
|
+
currency: string;
|
|
17
|
+
contractFileID: string;
|
|
18
|
+
employmentType: serializers.model.thera.EmploymentType.Raw;
|
|
19
|
+
scopeOfWork: string;
|
|
20
|
+
contractDocumentType: serializers.model.thera.ContractDocumentType.Raw;
|
|
21
|
+
companySigningAuthorityUserId: string;
|
|
22
|
+
contractType: serializers.model.thera.ContractType.Raw;
|
|
23
|
+
payCycle: serializers.model.thera.PayCycle.Raw;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateEmployment = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
exports.CreateEmployment = core.serialization.object({
|
|
32
|
+
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
33
|
+
jobTitle: core.serialization.string(),
|
|
34
|
+
startDate: core.serialization.string(),
|
|
35
|
+
wageType: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).model.thera.WageType),
|
|
36
|
+
rate: core.serialization.number(),
|
|
37
|
+
milestoneDetails: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.CreateMilestoneDetails),
|
|
38
|
+
currency: core.serialization.string(),
|
|
39
|
+
contractFileId: core.serialization.property("contractFileID", core.serialization.string()),
|
|
40
|
+
employmentType: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).model.thera.EmploymentType),
|
|
41
|
+
scopeOfWork: core.serialization.string(),
|
|
42
|
+
contractDocumentType: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).model.thera.ContractDocumentType),
|
|
43
|
+
companySigningAuthorityUserId: core.serialization.string(),
|
|
44
|
+
contractType: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).model.thera.ContractType),
|
|
45
|
+
payCycle: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).model.thera.PayCycle),
|
|
46
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const CreateMilestone: core.serialization.ObjectSchema<serializers.api.thera.company.CreateMilestone.Raw, TheraApi.api.thera.company.CreateMilestone>;
|
|
8
|
+
export declare namespace CreateMilestone {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
amount: number;
|
|
13
|
+
fileID: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateMilestone = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
exports.CreateMilestone = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
description: core.serialization.string(),
|
|
34
|
+
amount: core.serialization.number(),
|
|
35
|
+
fileId: core.serialization.property("fileID", core.serialization.string()),
|
|
36
|
+
});
|