@thera-hr/api-sdk 0.0.1452 → 0.0.1520
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 +4 -4
- package/Client.js +4 -5
- package/api/resources/api/client/Client.d.ts +4 -4
- package/api/resources/api/client/Client.js +8 -9
- package/api/resources/api/resources/services/client/Client.d.ts +4 -4
- package/api/resources/api/resources/services/client/Client.js +4 -5
- package/api/resources/api/resources/services/resources/file/client/Client.d.ts +4 -4
- package/api/resources/api/resources/services/resources/file/client/Client.js +167 -149
- package/api/resources/api/resources/test/client/Client.d.ts +4 -4
- package/api/resources/api/resources/test/client/Client.js +4 -5
- package/api/resources/api/resources/test/resources/invoices/client/Client.d.ts +4 -4
- package/api/resources/api/resources/test/resources/invoices/client/Client.js +60 -48
- package/api/resources/api/resources/thera/client/Client.d.ts +7 -4
- package/api/resources/api/resources/thera/client/Client.js +14 -10
- package/api/resources/api/resources/thera/resources/bank/client/Client.d.ts +4 -4
- package/api/resources/api/resources/thera/resources/bank/client/Client.js +4 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +168 -150
- package/api/resources/api/resources/thera/resources/company/client/Client.d.ts +7 -4
- package/api/resources/api/resources/thera/resources/company/client/Client.js +10 -6
- 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 +116 -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/InviteContractorResponse.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +7 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +4 -4
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +55 -43
- 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 +17 -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 +106 -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 +4 -4
- package/api/resources/api/resources/thera/resources/payroll/client/Client.js +4 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +4 -4
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +57 -45
- 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/db/resources/user/types/ComplianceDocumentType.d.ts +3 -1
- package/api/resources/db/resources/user/types/ComplianceDocumentType.js +2 -0
- package/api/resources/db/resources/user/types/EmployeeInformation.d.ts +3 -2
- package/{dist/api/resources/db/resources/user/types/FernUser.d.ts → api/resources/db/resources/user/types/User.d.ts} +1 -1
- package/api/resources/db/resources/user/types/index.d.ts +1 -2
- package/api/resources/db/resources/user/types/index.js +1 -2
- 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/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/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/core/fetcher/Fetcher.d.ts +5 -4
- package/core/fetcher/Fetcher.js +82 -66
- package/core/fetcher/Supplier.js +11 -2
- package/core/fetcher/index.d.ts +3 -2
- package/core/index.d.ts +1 -1
- package/core/index.js +1 -1
- package/core/schemas/builders/date/date.js +1 -4
- package/core/schemas/builders/lazy/index.d.ts +2 -1
- package/core/schemas/builders/lazy/lazy.js +21 -13
- package/core/schemas/builders/lazy/lazyObject.js +11 -11
- package/core/schemas/builders/list/list.js +51 -41
- package/core/schemas/builders/object/index.d.ts +3 -2
- package/core/schemas/builders/object/object.js +148 -140
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +17 -17
- package/core/schemas/builders/object-like/index.d.ts +1 -1
- package/core/schemas/builders/record/index.d.ts +1 -1
- package/core/schemas/builders/record/record.js +80 -75
- package/core/schemas/builders/schema-utils/JsonError.js +0 -1
- package/core/schemas/builders/schema-utils/ParseError.js +0 -1
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +23 -20
- package/core/schemas/builders/schema-utils/index.d.ts +2 -1
- package/core/schemas/builders/set/set.js +18 -11
- package/core/schemas/builders/undiscriminated-union/index.d.ts +1 -1
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +34 -26
- package/core/schemas/builders/union/index.d.ts +3 -2
- package/core/schemas/builders/union/union.js +93 -75
- package/core/schemas/index.d.ts +1 -1
- package/core/schemas/utils/createIdentitySchemaCreator.js +1 -4
- package/core/schemas/utils/maybeSkipValidation.js +14 -9
- package/dist/Client.d.ts +4 -4
- package/dist/Client.js +4 -5
- package/dist/api/resources/api/client/Client.d.ts +4 -4
- package/dist/api/resources/api/client/Client.js +8 -9
- package/dist/api/resources/api/resources/services/client/Client.d.ts +4 -4
- package/dist/api/resources/api/resources/services/client/Client.js +4 -5
- package/dist/api/resources/api/resources/services/resources/file/client/Client.d.ts +4 -4
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +167 -149
- package/dist/api/resources/api/resources/test/client/Client.d.ts +4 -4
- package/dist/api/resources/api/resources/test/client/Client.js +4 -5
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.d.ts +4 -4
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +60 -48
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +7 -4
- package/dist/api/resources/api/resources/thera/client/Client.js +14 -10
- package/dist/api/resources/api/resources/thera/resources/bank/client/Client.d.ts +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/client/Client.js +4 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +168 -150
- package/dist/api/resources/api/resources/thera/resources/company/client/Client.d.ts +7 -4
- package/dist/api/resources/api/resources/thera/resources/company/client/Client.js +10 -6
- 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 +116 -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/InviteContractorResponse.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +7 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +4 -4
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +55 -43
- 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 +17 -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 +106 -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 +4 -4
- package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +4 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +4 -4
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +57 -45
- 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/db/resources/user/types/ComplianceDocumentType.d.ts +3 -1
- package/dist/api/resources/db/resources/user/types/ComplianceDocumentType.js +2 -0
- package/dist/api/resources/db/resources/user/types/EmployeeInformation.d.ts +3 -2
- package/{api/resources/db/resources/user/types/FernUser.d.ts → dist/api/resources/db/resources/user/types/User.d.ts} +1 -1
- package/dist/api/resources/db/resources/user/types/User.js +5 -0
- package/dist/api/resources/db/resources/user/types/index.d.ts +1 -2
- package/dist/api/resources/db/resources/user/types/index.js +1 -2
- 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/core/fetcher/Fetcher.d.ts +5 -4
- package/dist/core/fetcher/Fetcher.js +82 -66
- package/dist/core/fetcher/Supplier.js +11 -2
- package/dist/core/fetcher/index.d.ts +3 -2
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/schemas/builders/date/date.js +1 -4
- package/dist/core/schemas/builders/lazy/index.d.ts +2 -1
- package/dist/core/schemas/builders/lazy/lazy.js +21 -13
- package/dist/core/schemas/builders/lazy/lazyObject.js +11 -11
- package/dist/core/schemas/builders/list/list.js +51 -41
- package/dist/core/schemas/builders/object/index.d.ts +3 -2
- package/dist/core/schemas/builders/object/object.js +148 -140
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +17 -17
- package/dist/core/schemas/builders/object-like/index.d.ts +1 -1
- package/dist/core/schemas/builders/record/index.d.ts +1 -1
- package/dist/core/schemas/builders/record/record.js +80 -75
- package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -1
- package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -1
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +23 -20
- package/dist/core/schemas/builders/schema-utils/index.d.ts +2 -1
- package/dist/core/schemas/builders/set/set.js +18 -11
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +34 -26
- package/dist/core/schemas/builders/union/index.d.ts +3 -2
- package/dist/core/schemas/builders/union/union.js +93 -75
- package/dist/core/schemas/index.d.ts +1 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +1 -4
- package/dist/core/schemas/utils/maybeSkipValidation.js +14 -9
- package/dist/errors/TheraApiError.js +14 -3
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/disbursement/types/CreateDisbursementDetail.js +11 -2
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/disbursement/types/CreateDisbursementRequest.js +10 -1
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/document/types/CreateDocumentDetail.js +10 -1
- package/dist/serialization/resources/api/resources/request/resources/thera/resources/document/types/CreateDocumentRequest.js +10 -1
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/AdditionalFields.js +10 -1
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Deduction.js +13 -4
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/EmployeeContribution.js +10 -1
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/EmployerContribution.js +10 -1
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/Disbursement.js +10 -1
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/EmployeeCheck.js +14 -5
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/reportingPeriod/types/ReportingPeriod.js +10 -1
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/shift/types/Shift.js +12 -3
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/deduction/resources/create/types/CreateDeduction.js +10 -1
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/deduction/resources/create/types/CreateDeductionDetails.js +11 -2
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/ZealEmployee.js +10 -1
- package/dist/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +11 -2
- 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 +45 -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 +55 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.d.ts +15 -0
- package/dist/serialization/resources/{db/resources/employment/types/BiWeeklyPayCycleEnd.js → api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.js} +7 -4
- 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 +42 -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 +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorResponse.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorResponse.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +7 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +7 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/OnboardW2PayrollRequest.js +11 -2
- 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/{db/resources/employment/types/PayCycleEnd.js → api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.js} +13 -11
- 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/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyResponse.js +10 -1
- package/dist/serialization/resources/db/resources/document/types/FernDocument.js +11 -2
- package/dist/serialization/resources/db/resources/document/types/FernRecipient.js +10 -1
- package/dist/serialization/resources/db/resources/employment/types/Earning.js +10 -1
- package/dist/serialization/resources/db/resources/employment/types/Employment.d.ts +5 -4
- package/dist/serialization/resources/db/resources/employment/types/Employment.js +19 -9
- package/dist/serialization/resources/db/resources/employment/types/EmploymentDocuments.js +10 -1
- package/dist/serialization/resources/db/resources/employment/types/EmploymentW2PayrollDetails.js +10 -1
- package/dist/serialization/resources/db/resources/employment/types/EorDetails.js +10 -1
- package/dist/serialization/resources/db/resources/employment/types/Frequency.js +10 -1
- package/dist/serialization/resources/db/resources/employment/types/Milestone.js +10 -1
- package/dist/serialization/resources/db/resources/employment/types/MilestoneDetails.js +10 -1
- package/dist/serialization/resources/db/resources/employment/types/ModifyRecurrencesRequest.js +10 -1
- package/dist/serialization/resources/db/resources/employment/types/Recurrence.js +11 -2
- package/dist/serialization/resources/db/resources/employment/types/RecurrenceDetails.js +11 -2
- package/dist/serialization/resources/db/resources/employment/types/RecurrenceModifications.js +11 -2
- 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/db/resources/payment/resources/invoice/types/FernInvoice.js +11 -2
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocument.js +10 -1
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocumentType.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocumentType.js +10 -1
- package/dist/serialization/resources/db/resources/user/types/ComplianceInformation.js +10 -1
- package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.d.ts +3 -2
- package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.js +13 -3
- package/dist/serialization/resources/db/resources/user/types/{FernUser.d.ts → User.d.ts} +2 -2
- package/dist/serialization/resources/db/resources/user/types/{FernUser.js → User.js} +12 -3
- package/dist/serialization/resources/db/resources/user/types/index.d.ts +1 -2
- package/dist/serialization/resources/db/resources/user/types/index.js +1 -2
- 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 +11 -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 +12 -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 +12 -2
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/PayCycleEnd.d.ts +24 -0
- package/dist/serialization/resources/model/resources/thera/resources/employment/types/PayCycleEnd.js +54 -0
- package/dist/serialization/resources/{db → model/resources/thera}/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +5 -5
- package/dist/serialization/resources/{db → model/resources/thera}/resources/employment/types/SemiMonthlyPayCycleEnd.js +11 -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/{serialization/resources/db → dist/serialization/resources/model/resources/thera}/resources/employment/types/WeeklyPayCycleEnd.js +11 -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/errors/TheraApiError.js +14 -3
- package/package.json +3 -3
- package/serialization/resources/api/resources/request/resources/thera/resources/disbursement/types/CreateDisbursementDetail.js +11 -2
- package/serialization/resources/api/resources/request/resources/thera/resources/disbursement/types/CreateDisbursementRequest.js +10 -1
- package/serialization/resources/api/resources/request/resources/thera/resources/document/types/CreateDocumentDetail.js +10 -1
- package/serialization/resources/api/resources/request/resources/thera/resources/document/types/CreateDocumentRequest.js +10 -1
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/AdditionalFields.js +10 -1
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Deduction.js +13 -4
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/EmployeeContribution.js +10 -1
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/EmployerContribution.js +10 -1
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/Disbursement.js +10 -1
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/employee/types/EmployeeCheck.js +14 -5
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/reportingPeriod/types/ReportingPeriod.js +10 -1
- package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/shift/types/Shift.js +12 -3
- package/serialization/resources/api/resources/request/resources/zeal/resources/deduction/resources/create/types/CreateDeduction.js +10 -1
- package/serialization/resources/api/resources/request/resources/zeal/resources/deduction/resources/create/types/CreateDeductionDetails.js +11 -2
- package/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/ZealEmployee.js +10 -1
- package/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +11 -2
- 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 +45 -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 +55 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.d.ts +15 -0
- package/{dist/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.js → serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateMilestone.js} +7 -4
- 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 +42 -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 +43 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorResponse.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteContractorResponse.js +43 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +7 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +7 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/types/OnboardW2PayrollRequest.js +11 -2
- 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 +47 -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/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyResponse.js +10 -1
- package/serialization/resources/db/resources/document/types/FernDocument.js +11 -2
- package/serialization/resources/db/resources/document/types/FernRecipient.js +10 -1
- package/serialization/resources/db/resources/employment/types/Earning.js +10 -1
- package/serialization/resources/db/resources/employment/types/Employment.d.ts +5 -4
- package/serialization/resources/db/resources/employment/types/Employment.js +19 -9
- package/serialization/resources/db/resources/employment/types/EmploymentDocuments.js +10 -1
- package/serialization/resources/db/resources/employment/types/EmploymentW2PayrollDetails.js +10 -1
- package/serialization/resources/db/resources/employment/types/EorDetails.js +10 -1
- package/serialization/resources/db/resources/employment/types/Frequency.js +10 -1
- package/serialization/resources/db/resources/employment/types/Milestone.js +10 -1
- package/serialization/resources/db/resources/employment/types/MilestoneDetails.js +10 -1
- package/serialization/resources/db/resources/employment/types/ModifyRecurrencesRequest.js +10 -1
- package/serialization/resources/db/resources/employment/types/Recurrence.js +11 -2
- package/serialization/resources/db/resources/employment/types/RecurrenceDetails.js +11 -2
- package/serialization/resources/db/resources/employment/types/RecurrenceModifications.js +11 -2
- 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/db/resources/payment/resources/invoice/types/FernInvoice.js +11 -2
- package/serialization/resources/db/resources/user/types/ComplianceDocument.js +10 -1
- package/serialization/resources/db/resources/user/types/ComplianceDocumentType.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/ComplianceDocumentType.js +10 -1
- package/serialization/resources/db/resources/user/types/ComplianceInformation.js +10 -1
- package/serialization/resources/db/resources/user/types/EmployeeInformation.d.ts +3 -2
- package/serialization/resources/db/resources/user/types/EmployeeInformation.js +13 -3
- package/serialization/resources/db/resources/user/types/{FernUser.d.ts → User.d.ts} +2 -2
- package/serialization/resources/db/resources/user/types/{FernUser.js → User.js} +12 -3
- package/serialization/resources/db/resources/user/types/index.d.ts +1 -2
- package/serialization/resources/db/resources/user/types/index.js +1 -2
- 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/serialization/resources/{db/resources/user/types/EmployeeInformationAddress.js → model/resources/thera/resources/employment/types/BiWeeklyPayCycleEnd.js} +13 -9
- 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 +12 -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 +12 -2
- package/serialization/resources/model/resources/thera/resources/employment/types/PayCycleEnd.d.ts +24 -0
- package/serialization/resources/model/resources/thera/resources/employment/types/PayCycleEnd.js +54 -0
- package/serialization/resources/{db → model/resources/thera}/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +5 -5
- package/serialization/resources/{db → model/resources/thera}/resources/employment/types/SemiMonthlyPayCycleEnd.js +11 -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/{dist/serialization/resources/db/resources/user/types/EmployeeInformationAddress.js → serialization/resources/model/resources/thera/resources/employment/types/WeeklyPayCycleEnd.js} +13 -9
- 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/api/resources/db/resources/user/types/EmployeeInformationAddress.d.ts +0 -11
- 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/api/resources/db/resources/user/types/EmployeeInformationAddress.d.ts +0 -11
- 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/dist/serialization/resources/db/resources/user/types/EmployeeInformationAddress.d.ts +0 -17
- 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/PayCycleEnd.js +0 -45
- 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/serialization/resources/db/resources/user/types/EmployeeInformationAddress.d.ts +0 -17
- /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/company/resources/companyApi/types/InviteContractorResponse.js} +0 -0
- /package/api/resources/{db/resources/user/types/EmployeeInformationAddress.js → api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/requests/InvoiceWebhookRequest.js} +0 -0
- /package/api/resources/{db/resources/user/types/FernUser.js → api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/CreateScheduledInvoiceEvent.js} +0 -0
- /package/{dist/api/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.js → api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/types/InvoiceWebhookEvent.js} +0 -0
- /package/{dist/api/resources/db/resources/employment/types/FifteenthAndEndOfMonth.js → api/resources/db/resources/user/types/User.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/resources/user/types/EmployeeInformationAddress.js → api/resources/model/resources/thera/resources/employment/types/SemiMonthlyPayCycleEnd.js} +0 -0
- /package/{dist/api/resources/db/resources/user/types/FernUser.js → api/resources/model/resources/thera/resources/employment/types/WeeklyPayCycleEnd.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,24 +0,0 @@
|
|
|
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.db.PayCycleEnd.Raw, TheraApi.db.PayCycleEnd>;
|
|
8
|
-
export declare namespace PayCycleEnd {
|
|
9
|
-
type Raw = PayCycleEnd.Weekly | PayCycleEnd.Biweekly | PayCycleEnd.Monthly | PayCycleEnd.Semimonthly;
|
|
10
|
-
interface Weekly extends serializers.db.WeeklyPayCycleEnd.Raw {
|
|
11
|
-
type: "weekly";
|
|
12
|
-
}
|
|
13
|
-
interface Biweekly extends serializers.db.BiWeeklyPayCycleEnd.Raw {
|
|
14
|
-
type: "biweekly";
|
|
15
|
-
}
|
|
16
|
-
interface Monthly {
|
|
17
|
-
type: "monthly";
|
|
18
|
-
value: serializers.db.MonthlyPayCycleEnd.Raw;
|
|
19
|
-
}
|
|
20
|
-
interface Semimonthly {
|
|
21
|
-
type: "semimonthly";
|
|
22
|
-
value: serializers.db.SemiMonthlyPayCycleEnd.Raw;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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.db.WageType.Raw, TheraApi.db.WageType>;
|
|
8
|
-
export declare namespace WageType {
|
|
9
|
-
type Raw = "HOURLY" | "MONTHLY" | "MILESTONE";
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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.db.WeeklyPayCycleEnd.Raw, TheraApi.db.WeeklyPayCycleEnd>;
|
|
8
|
-
export declare namespace WeeklyPayCycleEnd {
|
|
9
|
-
interface Raw {
|
|
10
|
-
dayOfWeek: serializers.db.DayOfWeek.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
package/dist/serialization/resources/db/resources/user/types/EmployeeInformationAddress.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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 EmployeeInformationAddress: core.serialization.ObjectSchema<serializers.db.EmployeeInformationAddress.Raw, TheraApi.db.EmployeeInformationAddress>;
|
|
8
|
-
export declare namespace EmployeeInformationAddress {
|
|
9
|
-
interface Raw {
|
|
10
|
-
city: string;
|
|
11
|
-
country: string;
|
|
12
|
-
line1: string;
|
|
13
|
-
line2: string;
|
|
14
|
-
postalCode: string;
|
|
15
|
-
state: string;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 BiWeeklyPayCycleEnd: core.serialization.ObjectSchema<serializers.db.BiWeeklyPayCycleEnd.Raw, TheraApi.db.BiWeeklyPayCycleEnd>;
|
|
8
|
-
export declare namespace BiWeeklyPayCycleEnd {
|
|
9
|
-
interface Raw {
|
|
10
|
-
dayOfWeek: serializers.db.DayOfWeek.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 ContractDocumentType: core.serialization.Schema<serializers.db.ContractDocumentType.Raw, TheraApi.db.ContractDocumentType>;
|
|
8
|
-
export declare namespace ContractDocumentType {
|
|
9
|
-
type Raw = "NO_CONTRACT" | "USER_PROVIDED" | "CONTRACT_WIZARD";
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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.db.EmploymentType.Raw, TheraApi.db.EmploymentType>;
|
|
8
|
-
export declare namespace EmploymentType {
|
|
9
|
-
type Raw = "EMPLOYEE" | "CONTRACTOR";
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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.db.FifteenthAndEndOfMonth.Raw, TheraApi.db.FifteenthAndEndOfMonth>;
|
|
8
|
-
export declare namespace FifteenthAndEndOfMonth {
|
|
9
|
-
interface Raw {
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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.db.LastDayOfMonth.Raw, TheraApi.db.LastDayOfMonth>;
|
|
8
|
-
export declare namespace LastDayOfMonth {
|
|
9
|
-
interface Raw {
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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.db.PayCycle.Raw, TheraApi.db.PayCycle>;
|
|
8
|
-
export declare namespace PayCycle {
|
|
9
|
-
interface Raw {
|
|
10
|
-
timezone: string;
|
|
11
|
-
cycleStartDate: string;
|
|
12
|
-
cycleEnd: serializers.db.PayCycleEnd.Raw;
|
|
13
|
-
paymentDueDays: number;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
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.db.PayCycleEnd.Raw, TheraApi.db.PayCycleEnd>;
|
|
8
|
-
export declare namespace PayCycleEnd {
|
|
9
|
-
type Raw = PayCycleEnd.Weekly | PayCycleEnd.Biweekly | PayCycleEnd.Monthly | PayCycleEnd.Semimonthly;
|
|
10
|
-
interface Weekly extends serializers.db.WeeklyPayCycleEnd.Raw {
|
|
11
|
-
type: "weekly";
|
|
12
|
-
}
|
|
13
|
-
interface Biweekly extends serializers.db.BiWeeklyPayCycleEnd.Raw {
|
|
14
|
-
type: "biweekly";
|
|
15
|
-
}
|
|
16
|
-
interface Monthly {
|
|
17
|
-
type: "monthly";
|
|
18
|
-
value: serializers.db.MonthlyPayCycleEnd.Raw;
|
|
19
|
-
}
|
|
20
|
-
interface Semimonthly {
|
|
21
|
-
type: "semimonthly";
|
|
22
|
-
value: serializers.db.SemiMonthlyPayCycleEnd.Raw;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
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.PayCycleEnd = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.PayCycleEnd = core.serialization
|
|
32
|
-
.union("type", {
|
|
33
|
-
weekly: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).db.WeeklyPayCycleEnd),
|
|
34
|
-
biweekly: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).db.BiWeeklyPayCycleEnd),
|
|
35
|
-
monthly: core.serialization.object({
|
|
36
|
-
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).db.MonthlyPayCycleEnd),
|
|
37
|
-
}),
|
|
38
|
-
semimonthly: core.serialization.object({
|
|
39
|
-
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).db.SemiMonthlyPayCycleEnd),
|
|
40
|
-
}),
|
|
41
|
-
})
|
|
42
|
-
.transform({
|
|
43
|
-
transform: (value) => value,
|
|
44
|
-
untransform: (value) => value,
|
|
45
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
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.db.WageType.Raw, TheraApi.db.WageType>;
|
|
8
|
-
export declare namespace WageType {
|
|
9
|
-
type Raw = "HOURLY" | "MONTHLY" | "MILESTONE";
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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.db.WeeklyPayCycleEnd.Raw, TheraApi.db.WeeklyPayCycleEnd>;
|
|
8
|
-
export declare namespace WeeklyPayCycleEnd {
|
|
9
|
-
interface Raw {
|
|
10
|
-
dayOfWeek: serializers.db.DayOfWeek.Raw;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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 EmployeeInformationAddress: core.serialization.ObjectSchema<serializers.db.EmployeeInformationAddress.Raw, TheraApi.db.EmployeeInformationAddress>;
|
|
8
|
-
export declare namespace EmployeeInformationAddress {
|
|
9
|
-
interface Raw {
|
|
10
|
-
city: string;
|
|
11
|
-
country: string;
|
|
12
|
-
line1: string;
|
|
13
|
-
line2: string;
|
|
14
|
-
postalCode: string;
|
|
15
|
-
state: string;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/api/resources/{db → model/resources/thera}/resources/employment/types/DayOfWeek.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/api/resources/{db → model/resources/thera}/resources/employment/types/EmploymentType.d.ts
RENAMED
|
File without changes
|
/package/api/resources/{db → model/resources/thera}/resources/employment/types/EmploymentType.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/api/resources/{db → model/resources/thera}/resources/employment/types/LastDayOfMonth.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/DayOfWeek.d.ts
RENAMED
|
File without changes
|
/package/dist/api/resources/{db → model/resources/thera}/resources/employment/types/DayOfWeek.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|