@thera-hr/api-sdk 0.0.769 → 0.0.1002
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 +17 -0
- package/Client.js +18 -0
- package/api/resources/api/client/Client.d.ts +20 -0
- package/api/resources/api/client/Client.js +23 -0
- package/api/resources/api/client/index.d.ts +1 -0
- package/api/resources/api/client/index.js +2 -0
- package/api/resources/api/index.d.ts +1 -0
- package/api/resources/api/index.js +1 -0
- package/api/resources/api/resources/index.d.ts +2 -0
- package/api/resources/api/resources/index.js +3 -1
- package/api/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.d.ts +1 -1
- package/api/resources/api/resources/services/client/Client.d.ts +17 -0
- package/api/resources/api/resources/services/client/Client.js +18 -0
- package/api/resources/api/resources/services/client/index.d.ts +1 -0
- package/api/resources/api/resources/services/client/index.js +2 -0
- package/api/resources/api/resources/services/index.d.ts +2 -0
- package/api/resources/api/resources/services/index.js +18 -0
- package/api/resources/api/resources/services/resources/file/client/Client.d.ts +18 -0
- package/api/resources/api/resources/services/resources/file/client/Client.js +128 -0
- package/api/resources/api/resources/services/resources/file/client/index.d.ts +1 -0
- package/api/resources/api/resources/services/resources/file/client/index.js +17 -0
- package/api/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.d.ts +9 -0
- package/api/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.js +5 -0
- package/api/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.d.ts +6 -0
- package/api/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.js +5 -0
- package/api/resources/api/resources/services/resources/file/client/requests/index.d.ts +2 -0
- package/api/resources/api/resources/services/resources/file/client/requests/index.js +2 -0
- package/api/resources/api/resources/services/resources/file/index.d.ts +1 -0
- package/api/resources/api/resources/services/resources/file/index.js +17 -0
- package/api/resources/api/resources/services/resources/index.d.ts +2 -0
- package/api/resources/api/resources/services/resources/index.js +31 -0
- package/api/resources/api/resources/test/client/Client.d.ts +17 -0
- package/api/resources/api/resources/test/client/Client.js +18 -0
- package/api/resources/api/resources/test/client/index.d.ts +1 -0
- package/api/resources/api/resources/test/client/index.js +2 -0
- package/api/resources/api/resources/test/index.d.ts +2 -0
- package/api/resources/api/resources/test/index.js +18 -0
- package/api/resources/api/resources/test/resources/commons/index.d.ts +1 -0
- package/api/resources/api/resources/test/resources/commons/index.js +17 -0
- package/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +4 -0
- package/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +5 -0
- package/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +4 -0
- package/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +5 -0
- package/api/resources/api/resources/test/resources/commons/types/index.d.ts +2 -0
- package/api/resources/api/resources/test/resources/commons/types/index.js +18 -0
- package/api/resources/api/resources/test/resources/index.d.ts +5 -0
- package/api/resources/api/resources/test/resources/index.js +34 -0
- package/api/resources/api/resources/test/resources/invoices/client/Client.d.ts +17 -0
- package/api/resources/api/resources/test/resources/invoices/client/Client.js +94 -0
- package/api/resources/api/resources/test/resources/invoices/client/index.d.ts +1 -0
- package/api/resources/api/resources/test/resources/invoices/client/index.js +17 -0
- package/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +6 -0
- package/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +5 -0
- package/api/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/test/resources/invoices/client/requests/index.js +2 -0
- package/api/resources/api/resources/test/resources/invoices/index.d.ts +2 -0
- package/api/resources/api/resources/test/resources/invoices/index.js +18 -0
- package/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +14 -0
- package/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +5 -0
- package/api/resources/api/resources/test/resources/invoices/types/index.d.ts +1 -0
- package/api/resources/api/resources/test/resources/invoices/types/index.js +17 -0
- package/api/resources/db/resources/employment/types/Employment.d.ts +2 -0
- package/api/resources/db/resources/employment/types/EmploymentDocuments.d.ts +7 -0
- package/api/resources/db/resources/employment/types/EmploymentDocuments.js +5 -0
- package/api/resources/db/resources/employment/types/index.d.ts +1 -0
- package/api/resources/db/resources/employment/types/index.js +1 -0
- package/api/resources/db/resources/index.d.ts +1 -0
- package/api/resources/db/resources/index.js +2 -1
- package/api/resources/db/resources/payment/resources/index.d.ts +2 -0
- package/api/resources/db/resources/payment/resources/index.js +3 -1
- package/api/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -1
- package/api/resources/db/resources/payment/resources/invoice/types/index.js +0 -1
- package/api/resources/db/resources/payment/resources/invoiceType/index.d.ts +1 -0
- package/api/resources/db/resources/payment/resources/invoiceType/index.js +17 -0
- package/api/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +1 -0
- package/api/resources/db/resources/payment/resources/invoiceType/types/index.js +17 -0
- package/api/resources/db/resources/test/index.d.ts +1 -0
- package/api/resources/db/resources/test/index.js +17 -0
- package/api/resources/db/resources/test/resources/employment/index.d.ts +1 -0
- package/api/resources/db/resources/test/resources/employment/index.js +17 -0
- package/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +9 -0
- package/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +11 -0
- package/api/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +6 -0
- package/api/resources/db/resources/test/resources/employment/types/FernDeduction.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +10 -0
- package/api/resources/db/resources/test/resources/employment/types/FernEarning.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +26 -0
- package/api/resources/db/resources/test/resources/employment/types/FernEmployment.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +8 -0
- package/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +10 -0
- package/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +8 -0
- package/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +10 -0
- package/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +7 -0
- package/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +10 -0
- package/api/resources/db/resources/test/resources/employment/types/FernFrequency.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +11 -0
- package/api/resources/db/resources/test/resources/employment/types/FernMilestone.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +7 -0
- package/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +8 -0
- package/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js +10 -0
- package/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +6 -0
- package/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +8 -0
- package/api/resources/db/resources/test/resources/employment/types/FernRecurrence.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +14 -0
- package/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +7 -0
- package/api/resources/db/resources/test/resources/employment/types/FernReimbursement.js +5 -0
- package/api/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +9 -0
- package/api/resources/db/resources/test/resources/employment/types/FernWageType.js +11 -0
- package/api/resources/db/resources/test/resources/employment/types/index.d.ts +16 -0
- package/api/resources/db/resources/test/resources/employment/types/index.js +32 -0
- package/api/resources/db/resources/test/resources/index.d.ts +2 -0
- package/api/resources/db/resources/test/resources/index.js +31 -0
- package/core/auth/BasicAuth.d.ts +8 -0
- package/core/auth/BasicAuth.js +26 -0
- package/core/auth/BearerToken.d.ts +5 -0
- package/core/auth/BearerToken.js +15 -0
- package/core/auth/index.d.ts +2 -0
- package/core/auth/index.js +7 -0
- package/core/fetcher/APIResponse.d.ts +9 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/Fetcher.d.ts +37 -0
- package/core/fetcher/Fetcher.js +90 -0
- package/core/fetcher/Supplier.d.ts +4 -0
- package/core/fetcher/Supplier.js +13 -0
- package/core/fetcher/index.d.ts +3 -0
- package/core/fetcher/index.js +7 -0
- package/core/index.d.ts +2 -0
- package/core/index.js +5 -0
- package/dist/Client.d.ts +17 -0
- package/dist/Client.js +18 -0
- package/dist/api/resources/api/client/Client.d.ts +20 -0
- package/dist/api/resources/api/client/Client.js +23 -0
- package/dist/api/resources/api/client/index.d.ts +1 -0
- package/dist/api/resources/api/client/index.js +2 -0
- package/dist/api/resources/api/index.d.ts +1 -0
- package/dist/api/resources/api/index.js +1 -0
- package/dist/api/resources/api/resources/index.d.ts +2 -0
- package/dist/api/resources/api/resources/index.js +3 -1
- package/dist/api/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.d.ts +1 -1
- package/dist/api/resources/api/resources/services/client/Client.d.ts +17 -0
- package/dist/api/resources/api/resources/services/client/Client.js +18 -0
- package/dist/api/resources/api/resources/services/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/services/client/index.js +2 -0
- package/dist/api/resources/api/resources/services/index.d.ts +2 -0
- package/dist/api/resources/api/resources/services/index.js +18 -0
- package/dist/api/resources/api/resources/services/resources/file/client/Client.d.ts +18 -0
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +128 -0
- package/dist/api/resources/api/resources/services/resources/file/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/services/resources/file/client/index.js +17 -0
- package/dist/api/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.d.ts +9 -0
- package/dist/api/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.js +5 -0
- package/dist/api/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.d.ts +6 -0
- package/dist/api/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.js +5 -0
- package/dist/api/resources/api/resources/services/resources/file/client/requests/index.d.ts +2 -0
- package/dist/api/resources/api/resources/services/resources/file/client/requests/index.js +2 -0
- package/dist/api/resources/api/resources/services/resources/file/index.d.ts +1 -0
- package/dist/api/resources/api/resources/services/resources/file/index.js +17 -0
- package/dist/api/resources/api/resources/services/resources/index.d.ts +2 -0
- package/dist/api/resources/api/resources/services/resources/index.js +31 -0
- package/dist/api/resources/api/resources/test/client/Client.d.ts +17 -0
- package/dist/api/resources/api/resources/test/client/Client.js +18 -0
- package/dist/api/resources/api/resources/test/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/test/client/index.js +2 -0
- package/dist/api/resources/api/resources/test/index.d.ts +2 -0
- package/dist/api/resources/api/resources/test/index.js +18 -0
- package/dist/api/resources/api/resources/test/resources/commons/index.d.ts +1 -0
- package/dist/api/resources/api/resources/test/resources/commons/index.js +17 -0
- package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +4 -0
- package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +5 -0
- package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +4 -0
- package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +5 -0
- package/dist/api/resources/api/resources/test/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/test/resources/commons/types/index.js +18 -0
- package/dist/api/resources/api/resources/test/resources/index.d.ts +5 -0
- package/dist/api/resources/api/resources/test/resources/index.js +34 -0
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.d.ts +17 -0
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +94 -0
- package/dist/api/resources/api/resources/test/resources/invoices/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/test/resources/invoices/client/index.js +17 -0
- package/dist/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +6 -0
- package/dist/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +5 -0
- package/dist/api/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/test/resources/invoices/client/requests/index.js +2 -0
- package/dist/api/resources/api/resources/test/resources/invoices/index.d.ts +2 -0
- package/dist/api/resources/api/resources/test/resources/invoices/index.js +18 -0
- package/dist/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +14 -0
- package/dist/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +5 -0
- package/dist/api/resources/api/resources/test/resources/invoices/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/test/resources/invoices/types/index.js +17 -0
- package/dist/api/resources/db/resources/employment/types/Employment.d.ts +2 -0
- package/dist/api/resources/db/resources/employment/types/EmploymentDocuments.d.ts +7 -0
- package/dist/api/resources/db/resources/employment/types/EmploymentDocuments.js +5 -0
- package/dist/api/resources/db/resources/employment/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/employment/types/index.js +1 -0
- package/dist/api/resources/db/resources/index.d.ts +1 -0
- package/dist/api/resources/db/resources/index.js +2 -1
- package/dist/api/resources/db/resources/payment/resources/index.d.ts +2 -0
- package/dist/api/resources/db/resources/payment/resources/index.js +3 -1
- package/dist/api/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -1
- package/dist/api/resources/db/resources/payment/resources/invoice/types/index.js +0 -1
- package/dist/api/resources/db/resources/payment/resources/invoiceType/index.d.ts +1 -0
- package/dist/api/resources/db/resources/payment/resources/invoiceType/index.js +17 -0
- package/dist/api/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/payment/resources/invoiceType/types/index.js +17 -0
- package/dist/api/resources/db/resources/test/index.d.ts +1 -0
- package/dist/api/resources/db/resources/test/index.js +17 -0
- package/dist/api/resources/db/resources/test/resources/employment/index.d.ts +1 -0
- package/dist/api/resources/db/resources/test/resources/employment/index.js +17 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +9 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +11 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +6 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernDeduction.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +10 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEarning.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +26 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmployment.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +8 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +10 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +8 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +10 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +7 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +10 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernFrequency.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +11 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestone.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +7 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +8 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js +10 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +6 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +8 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrence.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +14 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +7 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernReimbursement.js +5 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +9 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/FernWageType.js +11 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/index.d.ts +16 -0
- package/dist/api/resources/db/resources/test/resources/employment/types/index.js +32 -0
- package/dist/api/resources/db/resources/test/resources/index.d.ts +2 -0
- package/dist/api/resources/db/resources/test/resources/index.js +31 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BasicAuth.js +26 -0
- package/dist/core/auth/BearerToken.d.ts +5 -0
- package/dist/core/auth/BearerToken.js +15 -0
- package/dist/core/auth/index.d.ts +2 -0
- package/dist/core/auth/index.js +7 -0
- package/dist/core/fetcher/APIResponse.d.ts +9 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/Fetcher.d.ts +37 -0
- package/dist/core/fetcher/Fetcher.js +90 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +13 -0
- package/dist/core/fetcher/index.d.ts +3 -0
- package/dist/core/fetcher/index.js +7 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/serialization/resources/api/resources/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/index.js +3 -1
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.d.ts +1 -1
- package/dist/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.js +1 -1
- package/dist/serialization/resources/api/resources/services/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/services/index.js +17 -0
- package/dist/serialization/resources/api/resources/services/resources/file/client/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/services/resources/file/client/index.js +17 -0
- package/dist/serialization/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.d.ts +13 -0
- package/dist/serialization/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.js +34 -0
- package/dist/serialization/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.d.ts +12 -0
- package/dist/serialization/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.js +33 -0
- package/dist/serialization/resources/api/resources/services/resources/file/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/services/resources/file/client/requests/index.js +7 -0
- package/dist/serialization/resources/api/resources/services/resources/file/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/services/resources/file/index.js +17 -0
- package/dist/serialization/resources/api/resources/services/resources/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/services/resources/index.js +31 -0
- package/dist/serialization/resources/api/resources/test/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/test/index.js +17 -0
- package/dist/serialization/resources/api/resources/test/resources/commons/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/test/resources/commons/index.js +17 -0
- package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +10 -0
- package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +31 -0
- package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +10 -0
- package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +31 -0
- package/dist/serialization/resources/api/resources/test/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/test/resources/commons/types/index.js +18 -0
- package/dist/serialization/resources/api/resources/test/resources/index.d.ts +5 -0
- package/dist/serialization/resources/api/resources/test/resources/index.js +34 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/index.js +17 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +12 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +33 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/index.js +5 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/index.js +18 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +16 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +37 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/test/resources/invoices/types/index.js +17 -0
- package/dist/serialization/resources/db/resources/employment/types/Employment.d.ts +2 -0
- package/dist/serialization/resources/db/resources/employment/types/Employment.js +2 -0
- package/dist/serialization/resources/db/resources/employment/types/EmploymentDocuments.d.ts +12 -0
- package/dist/serialization/resources/db/resources/employment/types/EmploymentDocuments.js +33 -0
- package/dist/serialization/resources/db/resources/employment/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/employment/types/index.js +1 -0
- package/dist/serialization/resources/db/resources/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/index.js +2 -1
- package/dist/serialization/resources/db/resources/payment/resources/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/payment/resources/index.js +3 -1
- package/dist/serialization/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/payment/resources/invoice/types/index.js +0 -1
- package/dist/serialization/resources/db/resources/payment/resources/invoiceType/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/payment/resources/invoiceType/index.js +17 -0
- package/dist/serialization/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/payment/resources/invoiceType/types/index.js +17 -0
- package/dist/serialization/resources/db/resources/test/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/test/index.js +17 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/index.js +17 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +10 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +31 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +12 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.js +33 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +13 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEarning.js +38 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +31 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.js +52 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +10 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +31 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +10 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +31 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +12 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js +33 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +13 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.js +38 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +16 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.js +37 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +12 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +33 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +10 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js +31 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +12 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +33 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +13 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.js +34 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +17 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +41 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +13 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.js +34 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +10 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernWageType.js +31 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/index.d.ts +16 -0
- package/dist/serialization/resources/db/resources/test/resources/employment/types/index.js +32 -0
- package/dist/serialization/resources/db/resources/test/resources/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/test/resources/index.js +31 -0
- package/index.d.ts +1 -0
- package/index.js +3 -1
- package/package.json +8 -1
- package/serialization/resources/api/resources/index.d.ts +2 -0
- package/serialization/resources/api/resources/index.js +3 -1
- package/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.d.ts +1 -1
- package/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.js +1 -1
- package/serialization/resources/api/resources/services/index.d.ts +1 -0
- package/serialization/resources/api/resources/services/index.js +17 -0
- package/serialization/resources/api/resources/services/resources/file/client/index.d.ts +1 -0
- package/serialization/resources/api/resources/services/resources/file/client/index.js +17 -0
- package/serialization/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.d.ts +13 -0
- package/serialization/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.js +34 -0
- package/serialization/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.d.ts +12 -0
- package/serialization/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.js +33 -0
- package/serialization/resources/api/resources/services/resources/file/client/requests/index.d.ts +2 -0
- package/serialization/resources/api/resources/services/resources/file/client/requests/index.js +7 -0
- package/serialization/resources/api/resources/services/resources/file/index.d.ts +1 -0
- package/serialization/resources/api/resources/services/resources/file/index.js +17 -0
- package/serialization/resources/api/resources/services/resources/index.d.ts +2 -0
- package/serialization/resources/api/resources/services/resources/index.js +31 -0
- package/serialization/resources/api/resources/test/index.d.ts +1 -0
- package/serialization/resources/api/resources/test/index.js +17 -0
- package/serialization/resources/api/resources/test/resources/commons/index.d.ts +1 -0
- package/serialization/resources/api/resources/test/resources/commons/index.js +17 -0
- package/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +10 -0
- package/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +31 -0
- package/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +10 -0
- package/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +31 -0
- package/serialization/resources/api/resources/test/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/test/resources/commons/types/index.js +18 -0
- package/serialization/resources/api/resources/test/resources/index.d.ts +5 -0
- package/serialization/resources/api/resources/test/resources/index.js +34 -0
- package/serialization/resources/api/resources/test/resources/invoices/client/index.d.ts +1 -0
- package/serialization/resources/api/resources/test/resources/invoices/client/index.js +17 -0
- package/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +12 -0
- package/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +33 -0
- package/serialization/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +1 -0
- package/serialization/resources/api/resources/test/resources/invoices/client/requests/index.js +5 -0
- package/serialization/resources/api/resources/test/resources/invoices/index.d.ts +2 -0
- package/serialization/resources/api/resources/test/resources/invoices/index.js +18 -0
- package/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +16 -0
- package/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +37 -0
- package/serialization/resources/api/resources/test/resources/invoices/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/test/resources/invoices/types/index.js +17 -0
- package/serialization/resources/db/resources/employment/types/Employment.d.ts +2 -0
- package/serialization/resources/db/resources/employment/types/Employment.js +2 -0
- package/serialization/resources/db/resources/employment/types/EmploymentDocuments.d.ts +12 -0
- package/serialization/resources/db/resources/employment/types/EmploymentDocuments.js +33 -0
- package/serialization/resources/db/resources/employment/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/employment/types/index.js +1 -0
- package/serialization/resources/db/resources/index.d.ts +1 -0
- package/serialization/resources/db/resources/index.js +2 -1
- package/serialization/resources/db/resources/payment/resources/index.d.ts +2 -0
- package/serialization/resources/db/resources/payment/resources/index.js +3 -1
- package/serialization/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -1
- package/serialization/resources/db/resources/payment/resources/invoice/types/index.js +0 -1
- package/serialization/resources/db/resources/payment/resources/invoiceType/index.d.ts +1 -0
- package/serialization/resources/db/resources/payment/resources/invoiceType/index.js +17 -0
- package/serialization/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/payment/resources/invoiceType/types/index.js +17 -0
- package/serialization/resources/db/resources/test/index.d.ts +1 -0
- package/serialization/resources/db/resources/test/index.js +17 -0
- package/serialization/resources/db/resources/test/resources/employment/index.d.ts +1 -0
- package/serialization/resources/db/resources/test/resources/employment/index.js +17 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +10 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +31 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +12 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.js +33 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +13 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernEarning.js +38 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +31 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.js +52 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +10 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +31 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +10 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +31 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +12 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js +33 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +13 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.js +38 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +16 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.js +37 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +12 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +33 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +10 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js +31 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +12 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +33 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +13 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.js +34 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +17 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +41 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +13 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.js +34 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +10 -0
- package/serialization/resources/db/resources/test/resources/employment/types/FernWageType.js +31 -0
- package/serialization/resources/db/resources/test/resources/employment/types/index.d.ts +16 -0
- package/serialization/resources/db/resources/test/resources/employment/types/index.js +32 -0
- package/serialization/resources/db/resources/test/resources/index.d.ts +2 -0
- package/serialization/resources/db/resources/test/resources/index.js +31 -0
- /package/api/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.d.ts +0 -0
- /package/api/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.js +0 -0
- /package/dist/api/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.d.ts +0 -0
- /package/dist/api/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.js +0 -0
- /package/dist/serialization/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.d.ts +0 -0
- /package/dist/serialization/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.js +0 -0
- /package/serialization/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.d.ts +0 -0
- /package/serialization/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.js +0 -0
package/dist/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts
ADDED
|
@@ -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 FernDeduction: core.serialization.ObjectSchema<serializers.db.test.FernDeduction.Raw, TheraApi.db.test.FernDeduction>;
|
|
8
|
+
export declare namespace FernDeduction {
|
|
9
|
+
interface Raw {
|
|
10
|
+
deductionTemplateId: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
package/dist/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.FernDeduction = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernDeduction = core.serialization.object({
|
|
32
|
+
deductionTemplateId: core.serialization.string(),
|
|
33
|
+
});
|
package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEarning.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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 FernEarning: core.serialization.Schema<serializers.db.test.FernEarning.Raw, TheraApi.db.test.FernEarning>;
|
|
8
|
+
export declare namespace FernEarning {
|
|
9
|
+
type Raw = FernEarning.Reimbursement;
|
|
10
|
+
interface Reimbursement extends serializers.db.test.FernReimbursement.Raw {
|
|
11
|
+
type: "reimbursement";
|
|
12
|
+
}
|
|
13
|
+
}
|
package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEarning.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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.FernEarning = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernEarning = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
reimbursement: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernReimbursement),
|
|
34
|
+
})
|
|
35
|
+
.transform({
|
|
36
|
+
transform: (value) => value,
|
|
37
|
+
untransform: (value) => value,
|
|
38
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
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 FernEmployment: core.serialization.ObjectSchema<serializers.db.test.FernEmployment.Raw, TheraApi.db.test.FernEmployment>;
|
|
8
|
+
export declare namespace FernEmployment {
|
|
9
|
+
interface Raw {
|
|
10
|
+
companyID: string;
|
|
11
|
+
employeeUserID: string;
|
|
12
|
+
id: string;
|
|
13
|
+
zealEmployeeID: string;
|
|
14
|
+
zealCompanyID: string;
|
|
15
|
+
jobTitle: string;
|
|
16
|
+
employmentStatus: serializers.db.test.FernEmploymentStatus.Raw;
|
|
17
|
+
startDate: string;
|
|
18
|
+
wageType: serializers.db.test.FernWageType.Raw;
|
|
19
|
+
rate: number;
|
|
20
|
+
contractCurrency: string;
|
|
21
|
+
milestoneDetails: serializers.db.test.FernMilestoneDetails.Raw;
|
|
22
|
+
contractFileID: string;
|
|
23
|
+
lastPayDate: string;
|
|
24
|
+
scopeOfWork: string;
|
|
25
|
+
type: serializers.db.test.FernEmploymentType.Raw;
|
|
26
|
+
contractDocumentType: serializers.db.test.FernContractDocumentType.Raw;
|
|
27
|
+
contractDocumentID: string;
|
|
28
|
+
contractDocumentsRequired: boolean;
|
|
29
|
+
w2Payroll: serializers.db.test.FernEmploymentW2PayrollDetails.Raw;
|
|
30
|
+
}
|
|
31
|
+
}
|
package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
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.FernEmployment = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernEmployment = core.serialization.object({
|
|
32
|
+
companyId: core.serialization.property("companyID", core.serialization.string()),
|
|
33
|
+
employeeUserId: core.serialization.property("employeeUserID", core.serialization.string()),
|
|
34
|
+
id: core.serialization.string(),
|
|
35
|
+
zealEmployeeId: core.serialization.property("zealEmployeeID", core.serialization.string()),
|
|
36
|
+
zealCompanyId: core.serialization.property("zealCompanyID", core.serialization.string()),
|
|
37
|
+
jobTitle: core.serialization.string(),
|
|
38
|
+
employmentStatus: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernEmploymentStatus),
|
|
39
|
+
startDate: core.serialization.string(),
|
|
40
|
+
wageType: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernWageType),
|
|
41
|
+
rate: core.serialization.number(),
|
|
42
|
+
contractCurrency: core.serialization.string(),
|
|
43
|
+
milestoneDetails: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernMilestoneDetails),
|
|
44
|
+
contractFileId: core.serialization.property("contractFileID", core.serialization.string()),
|
|
45
|
+
lastPayDate: core.serialization.string(),
|
|
46
|
+
scopeOfWork: core.serialization.string(),
|
|
47
|
+
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernEmploymentType),
|
|
48
|
+
contractDocumentType: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernContractDocumentType),
|
|
49
|
+
contractDocumentId: core.serialization.property("contractDocumentID", core.serialization.string()),
|
|
50
|
+
contractDocumentsRequired: core.serialization.boolean(),
|
|
51
|
+
w2Payroll: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernEmploymentW2PayrollDetails),
|
|
52
|
+
});
|
|
@@ -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 FernEmploymentStatus: core.serialization.Schema<serializers.db.test.FernEmploymentStatus.Raw, TheraApi.db.test.FernEmploymentStatus>;
|
|
8
|
+
export declare namespace FernEmploymentStatus {
|
|
9
|
+
type Raw = "ACTIVE" | "INACTIVE";
|
|
10
|
+
}
|
|
@@ -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.FernEmploymentStatus = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernEmploymentStatus = core.serialization.enum_(["ACTIVE", "INACTIVE"]);
|
|
@@ -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 FernEmploymentType: core.serialization.Schema<serializers.db.test.FernEmploymentType.Raw, TheraApi.db.test.FernEmploymentType>;
|
|
8
|
+
export declare namespace FernEmploymentType {
|
|
9
|
+
type Raw = "EMPLOYEE" | "CONTRACTOR";
|
|
10
|
+
}
|
|
@@ -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.FernEmploymentType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernEmploymentType = core.serialization.enum_(["EMPLOYEE", "CONTRACTOR"]);
|
|
@@ -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 FernEmploymentW2PayrollDetails: core.serialization.ObjectSchema<serializers.db.test.FernEmploymentW2PayrollDetails.Raw, TheraApi.db.test.FernEmploymentW2PayrollDetails>;
|
|
8
|
+
export declare namespace FernEmploymentW2PayrollDetails {
|
|
9
|
+
interface Raw {
|
|
10
|
+
recurrences: Record<string, serializers.db.test.FernRecurrence.Raw>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.FernEmploymentW2PayrollDetails = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernEmploymentW2PayrollDetails = core.serialization.object({
|
|
32
|
+
recurrences: core.serialization.record(core.serialization.string(), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernRecurrence)),
|
|
33
|
+
});
|
package/dist/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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 FernFrequency: core.serialization.Schema<serializers.db.test.FernFrequency.Raw, TheraApi.db.test.FernFrequency>;
|
|
8
|
+
export declare namespace FernFrequency {
|
|
9
|
+
type Raw = FernFrequency.PerPaycheck;
|
|
10
|
+
interface PerPaycheck extends serializers.db.test.FernPerPaycheckFrequency.Raw {
|
|
11
|
+
type: "perPaycheck";
|
|
12
|
+
}
|
|
13
|
+
}
|
package/dist/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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.FernFrequency = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernFrequency = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
perPaycheck: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernPerPaycheckFrequency),
|
|
34
|
+
})
|
|
35
|
+
.transform({
|
|
36
|
+
transform: (value) => value,
|
|
37
|
+
untransform: (value) => value,
|
|
38
|
+
});
|
package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const FernMilestone: core.serialization.ObjectSchema<serializers.db.test.FernMilestone.Raw, TheraApi.db.test.FernMilestone>;
|
|
8
|
+
export declare namespace FernMilestone {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
amount: number;
|
|
13
|
+
fileID: string;
|
|
14
|
+
status: serializers.db.test.FernMilestoneStatus.Raw;
|
|
15
|
+
}
|
|
16
|
+
}
|
package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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.FernMilestone = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernMilestone = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
description: core.serialization.string(),
|
|
34
|
+
amount: core.serialization.number(),
|
|
35
|
+
fileId: core.serialization.property("fileID", core.serialization.string()),
|
|
36
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernMilestoneStatus),
|
|
37
|
+
});
|
|
@@ -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 FernMilestoneDetails: core.serialization.ObjectSchema<serializers.db.test.FernMilestoneDetails.Raw, TheraApi.db.test.FernMilestoneDetails>;
|
|
8
|
+
export declare namespace FernMilestoneDetails {
|
|
9
|
+
interface Raw {
|
|
10
|
+
milestones: Record<string, serializers.db.test.FernMilestone.Raw>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.FernMilestoneDetails = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernMilestoneDetails = core.serialization.object({
|
|
32
|
+
milestones: core.serialization.record(core.serialization.string(), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernMilestone)),
|
|
33
|
+
});
|
|
@@ -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 FernMilestoneStatus: core.serialization.Schema<serializers.db.test.FernMilestoneStatus.Raw, TheraApi.db.test.FernMilestoneStatus>;
|
|
8
|
+
export declare namespace FernMilestoneStatus {
|
|
9
|
+
type Raw = "CREATED" | "COMPLETE";
|
|
10
|
+
}
|
|
@@ -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.FernMilestoneStatus = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernMilestoneStatus = core.serialization.enum_(["CREATED", "COMPLETE"]);
|
|
@@ -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 FernPerPaycheckFrequency: core.serialization.ObjectSchema<serializers.db.test.FernPerPaycheckFrequency.Raw, TheraApi.db.test.FernPerPaycheckFrequency>;
|
|
8
|
+
export declare namespace FernPerPaycheckFrequency {
|
|
9
|
+
interface Raw {
|
|
10
|
+
metadata: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.FernPerPaycheckFrequency = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernPerPaycheckFrequency = core.serialization.object({
|
|
32
|
+
metadata: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 FernRecurrence: core.serialization.ObjectSchema<serializers.db.test.FernRecurrence.Raw, TheraApi.db.test.FernRecurrence>;
|
|
8
|
+
export declare namespace FernRecurrence {
|
|
9
|
+
interface Raw {
|
|
10
|
+
frequency: serializers.db.test.FernFrequency.Raw;
|
|
11
|
+
details: serializers.db.test.FernRecurrenceDetails.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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.FernRecurrence = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.FernRecurrence = core.serialization.object({
|
|
32
|
+
frequency: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernFrequency),
|
|
33
|
+
details: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernRecurrenceDetails),
|
|
34
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
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 FernRecurrenceDetails: core.serialization.Schema<serializers.db.test.FernRecurrenceDetails.Raw, TheraApi.db.test.FernRecurrenceDetails>;
|
|
8
|
+
export declare namespace FernRecurrenceDetails {
|
|
9
|
+
type Raw = FernRecurrenceDetails.Deduction | FernRecurrenceDetails.Earning;
|
|
10
|
+
interface Deduction extends serializers.db.test.FernDeduction.Raw {
|
|
11
|
+
type: "deduction";
|
|
12
|
+
}
|
|
13
|
+
interface Earning {
|
|
14
|
+
type: "earning";
|
|
15
|
+
value: serializers.db.test.FernEarning.Raw;
|
|
16
|
+
}
|
|
17
|
+
}
|