@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
|
@@ -9,9 +9,6 @@ export * from "./Reimbursement";
|
|
|
9
9
|
export * from "./MilestoneStatus";
|
|
10
10
|
export * from "./Milestone";
|
|
11
11
|
export * from "./MilestoneDetails";
|
|
12
|
-
export * from "./ContractDocumentType";
|
|
13
|
-
export * from "./EmploymentType";
|
|
14
|
-
export * from "./WageType";
|
|
15
12
|
export * from "./EmploymentStatus";
|
|
16
13
|
export * from "./Employment";
|
|
17
14
|
export * from "./EorDetails";
|
|
@@ -21,12 +18,3 @@ export * from "./GenericEmploymentDocument";
|
|
|
21
18
|
export * from "./ModifyRecurrencesRequest";
|
|
22
19
|
export * from "./RecurrenceModifications";
|
|
23
20
|
export * from "./ModifyRecurrencesResponse";
|
|
24
|
-
export * from "./PayCycle";
|
|
25
|
-
export * from "./PayCycleEnd";
|
|
26
|
-
export * from "./WeeklyPayCycleEnd";
|
|
27
|
-
export * from "./BiWeeklyPayCycleEnd";
|
|
28
|
-
export * from "./MonthlyPayCycleEnd";
|
|
29
|
-
export * from "./SemiMonthlyPayCycleEnd";
|
|
30
|
-
export * from "./FifteenthAndEndOfMonth";
|
|
31
|
-
export * from "./LastDayOfMonth";
|
|
32
|
-
export * from "./DayOfWeek";
|
|
@@ -25,9 +25,6 @@ __exportStar(require("./Reimbursement"), exports);
|
|
|
25
25
|
__exportStar(require("./MilestoneStatus"), exports);
|
|
26
26
|
__exportStar(require("./Milestone"), exports);
|
|
27
27
|
__exportStar(require("./MilestoneDetails"), exports);
|
|
28
|
-
__exportStar(require("./ContractDocumentType"), exports);
|
|
29
|
-
__exportStar(require("./EmploymentType"), exports);
|
|
30
|
-
__exportStar(require("./WageType"), exports);
|
|
31
28
|
__exportStar(require("./EmploymentStatus"), exports);
|
|
32
29
|
__exportStar(require("./Employment"), exports);
|
|
33
30
|
__exportStar(require("./EorDetails"), exports);
|
|
@@ -37,12 +34,3 @@ __exportStar(require("./GenericEmploymentDocument"), exports);
|
|
|
37
34
|
__exportStar(require("./ModifyRecurrencesRequest"), exports);
|
|
38
35
|
__exportStar(require("./RecurrenceModifications"), exports);
|
|
39
36
|
__exportStar(require("./ModifyRecurrencesResponse"), exports);
|
|
40
|
-
__exportStar(require("./PayCycle"), exports);
|
|
41
|
-
__exportStar(require("./PayCycleEnd"), exports);
|
|
42
|
-
__exportStar(require("./WeeklyPayCycleEnd"), exports);
|
|
43
|
-
__exportStar(require("./BiWeeklyPayCycleEnd"), exports);
|
|
44
|
-
__exportStar(require("./MonthlyPayCycleEnd"), exports);
|
|
45
|
-
__exportStar(require("./SemiMonthlyPayCycleEnd"), exports);
|
|
46
|
-
__exportStar(require("./FifteenthAndEndOfMonth"), exports);
|
|
47
|
-
__exportStar(require("./LastDayOfMonth"), exports);
|
|
48
|
-
__exportStar(require("./DayOfWeek"), exports);
|
|
@@ -25,6 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
38
|
exports.FernInvoice = void 0;
|
|
30
39
|
const core = __importStar(require("../../../../../../../../core"));
|
|
@@ -46,10 +55,10 @@ exports.FernInvoice = core.serialization.object({
|
|
|
46
55
|
terminationTimestamp: core.serialization.number(),
|
|
47
56
|
startDate: core.serialization.string(),
|
|
48
57
|
endDate: core.serialization.string(),
|
|
49
|
-
status: core.serialization.lazy(
|
|
58
|
+
status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.payment.FernInvoiceStatus; })),
|
|
50
59
|
voiderUserId: core.serialization.property("voiderUserID", core.serialization.string()),
|
|
51
60
|
voidReason: core.serialization.string(),
|
|
52
|
-
type: core.serialization.lazy(
|
|
61
|
+
type: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.payment.FernInvoiceType; })),
|
|
53
62
|
destinationCharge: core.serialization.boolean(),
|
|
54
63
|
fastPayment: core.serialization.boolean(),
|
|
55
64
|
milestoneId: core.serialization.property("milestoneID", core.serialization.string()),
|
|
@@ -25,11 +25,20 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
38
|
exports.ComplianceDocument = void 0;
|
|
30
39
|
const core = __importStar(require("../../../../../../core"));
|
|
31
40
|
exports.ComplianceDocument = core.serialization.object({
|
|
32
|
-
type: core.serialization.lazy(
|
|
41
|
+
type: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.ComplianceDocumentType; })),
|
|
33
42
|
complianceFileId: core.serialization.property("complianceFileID", core.serialization.string()),
|
|
34
43
|
uploadDate: core.serialization.string(),
|
|
35
44
|
});
|
|
@@ -6,5 +6,5 @@ import * as TheraApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const ComplianceDocumentType: core.serialization.Schema<serializers.db.ComplianceDocumentType.Raw, TheraApi.db.ComplianceDocumentType>;
|
|
8
8
|
export declare namespace ComplianceDocumentType {
|
|
9
|
-
type Raw = "PASSPORT" | "ID" | "PASSPORT_OR_ID" | "AADHAR" | "SSN" | "LICENSE";
|
|
9
|
+
type Raw = "PASSPORT" | "ID" | "PASSPORT_OR_ID" | "AADHAR" | "SSN" | "LICENSE" | "GST_REGISTRATION_NUMBER_OR_TAN" | "TIN";
|
|
10
10
|
}
|
|
@@ -28,4 +28,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ComplianceDocumentType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.ComplianceDocumentType = core.serialization.enum_([
|
|
31
|
+
exports.ComplianceDocumentType = core.serialization.enum_([
|
|
32
|
+
"PASSPORT",
|
|
33
|
+
"ID",
|
|
34
|
+
"PASSPORT_OR_ID",
|
|
35
|
+
"AADHAR",
|
|
36
|
+
"SSN",
|
|
37
|
+
"LICENSE",
|
|
38
|
+
"GST_REGISTRATION_NUMBER_OR_TAN",
|
|
39
|
+
"TIN",
|
|
40
|
+
]);
|
|
@@ -25,9 +25,18 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
38
|
exports.ComplianceInformation = void 0;
|
|
30
39
|
const core = __importStar(require("../../../../../../core"));
|
|
31
40
|
exports.ComplianceInformation = core.serialization.object({
|
|
32
|
-
documents: core.serialization.list(core.serialization.lazyObject(
|
|
41
|
+
documents: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.ComplianceDocument; }))),
|
|
33
42
|
});
|
|
@@ -8,9 +8,10 @@ export declare const EmployeeInformation: core.serialization.ObjectSchema<serial
|
|
|
8
8
|
export declare namespace EmployeeInformation {
|
|
9
9
|
interface Raw {
|
|
10
10
|
stripeID: string;
|
|
11
|
-
|
|
11
|
+
employeeOnboardingStatus: serializers.db.EmployeeOnboardingStatus.Raw;
|
|
12
12
|
country: string;
|
|
13
|
-
address: serializers.
|
|
13
|
+
address: serializers.api.thera.address.Address.Raw;
|
|
14
14
|
complianceInformation: serializers.db.ComplianceInformation.Raw;
|
|
15
|
+
w8BenFileS3Key: string;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
@@ -25,13 +25,23 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
38
|
exports.EmployeeInformation = void 0;
|
|
30
39
|
const core = __importStar(require("../../../../../../core"));
|
|
31
40
|
exports.EmployeeInformation = core.serialization.object({
|
|
32
41
|
stripeId: core.serialization.property("stripeID", core.serialization.string()),
|
|
33
|
-
|
|
42
|
+
employeeOnboardingStatus: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.EmployeeOnboardingStatus; })),
|
|
34
43
|
country: core.serialization.string(),
|
|
35
|
-
address: core.serialization.lazyObject(
|
|
36
|
-
complianceInformation: core.serialization.lazyObject(
|
|
44
|
+
address: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).api.thera.address.Address; })),
|
|
45
|
+
complianceInformation: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.ComplianceInformation; })),
|
|
46
|
+
w8BenFileS3Key: core.serialization.string(),
|
|
37
47
|
});
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../../../../..";
|
|
5
5
|
import * as TheraApi from "../../../../../../api";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const User: core.serialization.ObjectSchema<serializers.db.User.Raw, TheraApi.db.User>;
|
|
8
|
+
export declare namespace User {
|
|
9
9
|
interface Raw {
|
|
10
10
|
userID: string;
|
|
11
11
|
companyID: string;
|
|
@@ -25,15 +25,24 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
38
|
+
exports.User = void 0;
|
|
30
39
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
40
|
+
exports.User = core.serialization.object({
|
|
32
41
|
userId: core.serialization.property("userID", core.serialization.string()),
|
|
33
42
|
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
34
43
|
email: core.serialization.string(),
|
|
35
44
|
firstName: core.serialization.string(),
|
|
36
45
|
lastName: core.serialization.string(),
|
|
37
|
-
employeeInformation: core.serialization.lazyObject(
|
|
46
|
+
employeeInformation: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../..")))).db.EmployeeInformation; })),
|
|
38
47
|
lastPosthogEventDate: core.serialization.string(),
|
|
39
48
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from "./ComplianceDocumentType";
|
|
2
2
|
export * from "./ComplianceDocument";
|
|
3
3
|
export * from "./ComplianceInformation";
|
|
4
|
-
export * from "./EmployeeInformationAddress";
|
|
5
4
|
export * from "./EmployeeOnboardingStatus";
|
|
6
5
|
export * from "./EmployeeInformation";
|
|
7
|
-
export * from "./
|
|
6
|
+
export * from "./User";
|
|
@@ -17,7 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./ComplianceDocumentType"), exports);
|
|
18
18
|
__exportStar(require("./ComplianceDocument"), exports);
|
|
19
19
|
__exportStar(require("./ComplianceInformation"), exports);
|
|
20
|
-
__exportStar(require("./EmployeeInformationAddress"), exports);
|
|
21
20
|
__exportStar(require("./EmployeeOnboardingStatus"), exports);
|
|
22
21
|
__exportStar(require("./EmployeeInformation"), exports);
|
|
23
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./User"), exports);
|
|
@@ -23,6 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.db = exports.api = void 0;
|
|
26
|
+
exports.model = exports.db = exports.api = void 0;
|
|
27
27
|
exports.api = __importStar(require("./api"));
|
|
28
28
|
exports.db = __importStar(require("./db"));
|
|
29
|
+
exports.model = __importStar(require("./model"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as thera from "./thera";
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.thera = void 0;
|
|
27
|
+
exports.thera = __importStar(require("./thera"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./types"), exports);
|
|
@@ -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 BiWeeklyPayCycleEnd: core.serialization.ObjectSchema<serializers.model.thera.BiWeeklyPayCycleEnd.Raw, TheraApi.model.thera.BiWeeklyPayCycleEnd>;
|
|
8
|
+
export declare namespace BiWeeklyPayCycleEnd {
|
|
9
|
+
interface Raw {
|
|
10
|
+
dayOfWeek: serializers.model.thera.DayOfWeek.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -25,14 +25,18 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
exports.
|
|
32
|
-
|
|
33
|
-
country: core.serialization.string(),
|
|
34
|
-
line1: core.serialization.string(),
|
|
35
|
-
line2: core.serialization.string(),
|
|
36
|
-
postalCode: core.serialization.string(),
|
|
37
|
-
state: core.serialization.string(),
|
|
38
|
+
exports.BiWeeklyPayCycleEnd = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
40
|
+
exports.BiWeeklyPayCycleEnd = core.serialization.object({
|
|
41
|
+
dayOfWeek: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../..")))).model.thera.DayOfWeek; })),
|
|
38
42
|
});
|
|
@@ -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 ContractDocumentType: core.serialization.Schema<serializers.model.thera.ContractDocumentType.Raw, TheraApi.model.thera.ContractDocumentType>;
|
|
8
|
+
export declare namespace ContractDocumentType {
|
|
9
|
+
type Raw = "NO_CONTRACT" | "USER_PROVIDED" | "CONTRACT_WIZARD";
|
|
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.ContractDocumentType = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.ContractDocumentType = core.serialization.enum_(["NO_CONTRACT", "USER_PROVIDED", "CONTRACT_WIZARD"]);
|
package/serialization/resources/model/resources/thera/resources/employment/types/ContractType.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 ContractType: core.serialization.Schema<serializers.model.thera.ContractType.Raw, TheraApi.model.thera.ContractType>;
|
|
8
|
+
export declare namespace ContractType {
|
|
9
|
+
type Raw = "FIXED_RATE" | "FLEXIBLE_RATE" | "MILESTONE";
|
|
10
|
+
}
|
package/serialization/resources/model/resources/thera/resources/employment/types/ContractType.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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.ContractType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.ContractType = core.serialization.enum_(["FIXED_RATE", "FLEXIBLE_RATE", "MILESTONE"]);
|
|
@@ -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"]);
|
package/serialization/resources/model/resources/thera/resources/employment/types/EmploymentType.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 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({});
|
package/serialization/resources/model/resources/thera/resources/employment/types/LastDayOfMonth.d.ts
ADDED
|
@@ -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
|
}
|