@thera-hr/api-sdk 0.0.3088 → 0.0.3110
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/api/resources/api/client/Client.d.ts +0 -3
- package/api/resources/api/client/Client.js +2 -7
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/index.d.ts +0 -1
- package/api/resources/api/resources/index.js +1 -2
- package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +16 -16
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +8 -8
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
- package/api/resources/db/resources/index.d.ts +0 -3
- package/api/resources/db/resources/index.js +1 -4
- package/dist/api/resources/api/client/Client.d.ts +0 -3
- package/dist/api/resources/api/client/Client.js +2 -7
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/index.d.ts +0 -1
- package/dist/api/resources/api/resources/index.js +1 -2
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +16 -16
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +8 -8
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
- package/dist/api/resources/db/resources/index.d.ts +0 -3
- package/dist/api/resources/db/resources/index.js +1 -4
- package/dist/serialization/resources/api/resources/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/index.js +1 -2
- package/dist/serialization/resources/db/resources/index.d.ts +0 -3
- package/dist/serialization/resources/db/resources/index.js +1 -4
- package/package.json +1 -1
- package/serialization/resources/api/resources/index.d.ts +0 -1
- package/serialization/resources/api/resources/index.js +1 -2
- package/serialization/resources/db/resources/index.d.ts +0 -3
- package/serialization/resources/db/resources/index.js +1 -4
- package/api/resources/api/resources/test/client/Client.d.ts +0 -17
- package/api/resources/api/resources/test/client/Client.js +0 -17
- package/api/resources/api/resources/test/client/index.d.ts +0 -1
- package/api/resources/api/resources/test/client/index.js +0 -2
- package/api/resources/api/resources/test/index.d.ts +0 -2
- package/api/resources/api/resources/test/index.js +0 -18
- package/api/resources/api/resources/test/resources/commons/index.d.ts +0 -1
- package/api/resources/api/resources/test/resources/commons/index.js +0 -17
- package/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +0 -4
- package/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +0 -5
- package/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +0 -4
- package/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +0 -5
- package/api/resources/api/resources/test/resources/commons/types/index.d.ts +0 -2
- package/api/resources/api/resources/test/resources/commons/types/index.js +0 -18
- package/api/resources/api/resources/test/resources/index.d.ts +0 -5
- package/api/resources/api/resources/test/resources/index.js +0 -34
- package/api/resources/api/resources/test/resources/invoices/client/Client.d.ts +0 -17
- package/api/resources/api/resources/test/resources/invoices/client/Client.js +0 -106
- package/api/resources/api/resources/test/resources/invoices/client/index.d.ts +0 -1
- package/api/resources/api/resources/test/resources/invoices/client/index.js +0 -17
- package/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +0 -6
- package/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +0 -5
- package/api/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +0 -1
- package/api/resources/api/resources/test/resources/invoices/client/requests/index.js +0 -2
- package/api/resources/api/resources/test/resources/invoices/index.d.ts +0 -2
- package/api/resources/api/resources/test/resources/invoices/index.js +0 -18
- package/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +0 -14
- package/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +0 -5
- package/api/resources/api/resources/test/resources/invoices/types/index.d.ts +0 -1
- package/api/resources/api/resources/test/resources/invoices/types/index.js +0 -17
- package/api/resources/db/resources/document/index.d.ts +0 -1
- package/api/resources/db/resources/document/index.js +0 -17
- package/api/resources/db/resources/document/types/FernDocument.d.ts +0 -10
- package/api/resources/db/resources/document/types/FernDocument.js +0 -5
- package/api/resources/db/resources/document/types/FernDocumentType.d.ts +0 -7
- package/api/resources/db/resources/document/types/FernDocumentType.js +0 -9
- package/api/resources/db/resources/document/types/FernRecipient.d.ts +0 -10
- package/api/resources/db/resources/document/types/FernRecipient.js +0 -5
- package/api/resources/db/resources/document/types/FernRole.d.ts +0 -8
- package/api/resources/db/resources/document/types/FernRole.js +0 -10
- package/api/resources/db/resources/document/types/index.d.ts +0 -4
- package/api/resources/db/resources/document/types/index.js +0 -20
- package/api/resources/db/resources/payment/index.d.ts +0 -1
- package/api/resources/db/resources/payment/index.js +0 -17
- package/api/resources/db/resources/payment/resources/index.d.ts +0 -4
- package/api/resources/db/resources/payment/resources/index.js +0 -33
- package/api/resources/db/resources/payment/resources/invoice/index.d.ts +0 -1
- package/api/resources/db/resources/payment/resources/invoice/index.js +0 -17
- package/api/resources/db/resources/payment/resources/invoice/types/FernInvoice.d.ts +0 -30
- package/api/resources/db/resources/payment/resources/invoice/types/FernInvoice.js +0 -5
- package/api/resources/db/resources/payment/resources/invoice/types/FernInvoiceStatus.d.ts +0 -12
- package/api/resources/db/resources/payment/resources/invoice/types/FernInvoiceStatus.js +0 -14
- package/api/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -2
- package/api/resources/db/resources/payment/resources/invoice/types/index.js +0 -18
- package/api/resources/db/resources/payment/resources/invoiceType/index.d.ts +0 -1
- package/api/resources/db/resources/payment/resources/invoiceType/index.js +0 -17
- package/api/resources/db/resources/payment/resources/invoiceType/types/FernInvoiceType.d.ts +0 -10
- package/api/resources/db/resources/payment/resources/invoiceType/types/FernInvoiceType.js +0 -12
- package/api/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +0 -1
- package/api/resources/db/resources/payment/resources/invoiceType/types/index.js +0 -17
- package/dist/api/resources/api/resources/test/client/Client.d.ts +0 -17
- package/dist/api/resources/api/resources/test/client/Client.js +0 -17
- package/dist/api/resources/api/resources/test/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/test/client/index.js +0 -2
- package/dist/api/resources/api/resources/test/index.d.ts +0 -2
- package/dist/api/resources/api/resources/test/index.js +0 -18
- package/dist/api/resources/api/resources/test/resources/commons/index.d.ts +0 -1
- package/dist/api/resources/api/resources/test/resources/commons/index.js +0 -17
- package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +0 -4
- package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +0 -5
- package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +0 -4
- package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +0 -5
- package/dist/api/resources/api/resources/test/resources/commons/types/index.d.ts +0 -2
- package/dist/api/resources/api/resources/test/resources/commons/types/index.js +0 -18
- package/dist/api/resources/api/resources/test/resources/index.d.ts +0 -5
- package/dist/api/resources/api/resources/test/resources/index.js +0 -34
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.d.ts +0 -17
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +0 -106
- package/dist/api/resources/api/resources/test/resources/invoices/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/test/resources/invoices/client/index.js +0 -17
- package/dist/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +0 -6
- package/dist/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +0 -5
- package/dist/api/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +0 -1
- package/dist/api/resources/api/resources/test/resources/invoices/client/requests/index.js +0 -2
- package/dist/api/resources/api/resources/test/resources/invoices/index.d.ts +0 -2
- package/dist/api/resources/api/resources/test/resources/invoices/index.js +0 -18
- package/dist/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +0 -14
- package/dist/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +0 -5
- package/dist/api/resources/api/resources/test/resources/invoices/types/index.d.ts +0 -1
- package/dist/api/resources/api/resources/test/resources/invoices/types/index.js +0 -17
- package/dist/api/resources/db/resources/document/index.d.ts +0 -1
- package/dist/api/resources/db/resources/document/index.js +0 -17
- package/dist/api/resources/db/resources/document/types/FernDocument.d.ts +0 -10
- package/dist/api/resources/db/resources/document/types/FernDocument.js +0 -5
- package/dist/api/resources/db/resources/document/types/FernDocumentType.d.ts +0 -7
- package/dist/api/resources/db/resources/document/types/FernDocumentType.js +0 -9
- package/dist/api/resources/db/resources/document/types/FernRecipient.d.ts +0 -10
- package/dist/api/resources/db/resources/document/types/FernRecipient.js +0 -5
- package/dist/api/resources/db/resources/document/types/FernRole.d.ts +0 -8
- package/dist/api/resources/db/resources/document/types/FernRole.js +0 -10
- package/dist/api/resources/db/resources/document/types/index.d.ts +0 -4
- package/dist/api/resources/db/resources/document/types/index.js +0 -20
- package/dist/api/resources/db/resources/payment/index.d.ts +0 -1
- package/dist/api/resources/db/resources/payment/index.js +0 -17
- package/dist/api/resources/db/resources/payment/resources/index.d.ts +0 -4
- package/dist/api/resources/db/resources/payment/resources/index.js +0 -33
- package/dist/api/resources/db/resources/payment/resources/invoice/index.d.ts +0 -1
- package/dist/api/resources/db/resources/payment/resources/invoice/index.js +0 -17
- package/dist/api/resources/db/resources/payment/resources/invoice/types/FernInvoice.d.ts +0 -30
- package/dist/api/resources/db/resources/payment/resources/invoice/types/FernInvoice.js +0 -5
- package/dist/api/resources/db/resources/payment/resources/invoice/types/FernInvoiceStatus.d.ts +0 -12
- package/dist/api/resources/db/resources/payment/resources/invoice/types/FernInvoiceStatus.js +0 -14
- package/dist/api/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -2
- package/dist/api/resources/db/resources/payment/resources/invoice/types/index.js +0 -18
- package/dist/api/resources/db/resources/payment/resources/invoiceType/index.d.ts +0 -1
- package/dist/api/resources/db/resources/payment/resources/invoiceType/index.js +0 -17
- package/dist/api/resources/db/resources/payment/resources/invoiceType/types/FernInvoiceType.d.ts +0 -10
- package/dist/api/resources/db/resources/payment/resources/invoiceType/types/FernInvoiceType.js +0 -12
- package/dist/api/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +0 -1
- package/dist/api/resources/db/resources/payment/resources/invoiceType/types/index.js +0 -17
- package/dist/serialization/resources/api/resources/test/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/test/index.js +0 -17
- package/dist/serialization/resources/api/resources/test/resources/commons/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/test/resources/commons/index.js +0 -17
- package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +0 -10
- package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +0 -31
- package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +0 -10
- package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +0 -31
- package/dist/serialization/resources/api/resources/test/resources/commons/types/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/test/resources/commons/types/index.js +0 -18
- package/dist/serialization/resources/api/resources/test/resources/index.d.ts +0 -5
- package/dist/serialization/resources/api/resources/test/resources/index.js +0 -34
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/index.js +0 -17
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +0 -12
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +0 -33
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/index.js +0 -5
- package/dist/serialization/resources/api/resources/test/resources/invoices/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/test/resources/invoices/index.js +0 -18
- package/dist/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +0 -16
- package/dist/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +0 -46
- package/dist/serialization/resources/api/resources/test/resources/invoices/types/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/test/resources/invoices/types/index.js +0 -17
- package/dist/serialization/resources/db/resources/document/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/document/index.js +0 -17
- package/dist/serialization/resources/db/resources/document/types/FernDocument.d.ts +0 -15
- package/dist/serialization/resources/db/resources/document/types/FernDocument.js +0 -45
- package/dist/serialization/resources/db/resources/document/types/FernDocumentType.d.ts +0 -10
- package/dist/serialization/resources/db/resources/document/types/FernDocumentType.js +0 -31
- package/dist/serialization/resources/db/resources/document/types/FernRecipient.d.ts +0 -15
- package/dist/serialization/resources/db/resources/document/types/FernRecipient.js +0 -45
- package/dist/serialization/resources/db/resources/document/types/FernRole.d.ts +0 -10
- package/dist/serialization/resources/db/resources/document/types/FernRole.js +0 -31
- package/dist/serialization/resources/db/resources/document/types/index.d.ts +0 -4
- package/dist/serialization/resources/db/resources/document/types/index.js +0 -20
- package/dist/serialization/resources/db/resources/payment/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/payment/index.js +0 -17
- package/dist/serialization/resources/db/resources/payment/resources/index.d.ts +0 -4
- package/dist/serialization/resources/db/resources/payment/resources/index.js +0 -33
- package/dist/serialization/resources/db/resources/payment/resources/invoice/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/payment/resources/invoice/index.js +0 -17
- package/dist/serialization/resources/db/resources/payment/resources/invoice/types/FernInvoice.d.ts +0 -35
- package/dist/serialization/resources/db/resources/payment/resources/invoice/types/FernInvoice.js +0 -65
- package/dist/serialization/resources/db/resources/payment/resources/invoice/types/FernInvoiceStatus.d.ts +0 -10
- package/dist/serialization/resources/db/resources/payment/resources/invoice/types/FernInvoiceStatus.js +0 -31
- package/dist/serialization/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -2
- package/dist/serialization/resources/db/resources/payment/resources/invoice/types/index.js +0 -18
- package/dist/serialization/resources/db/resources/payment/resources/invoiceType/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/payment/resources/invoiceType/index.js +0 -17
- package/dist/serialization/resources/db/resources/payment/resources/invoiceType/types/FernInvoiceType.d.ts +0 -10
- package/dist/serialization/resources/db/resources/payment/resources/invoiceType/types/FernInvoiceType.js +0 -31
- package/dist/serialization/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/payment/resources/invoiceType/types/index.js +0 -17
- package/serialization/resources/api/resources/test/index.d.ts +0 -1
- package/serialization/resources/api/resources/test/index.js +0 -17
- package/serialization/resources/api/resources/test/resources/commons/index.d.ts +0 -1
- package/serialization/resources/api/resources/test/resources/commons/index.js +0 -17
- package/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +0 -10
- package/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +0 -31
- package/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +0 -10
- package/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +0 -31
- package/serialization/resources/api/resources/test/resources/commons/types/index.d.ts +0 -2
- package/serialization/resources/api/resources/test/resources/commons/types/index.js +0 -18
- package/serialization/resources/api/resources/test/resources/index.d.ts +0 -5
- package/serialization/resources/api/resources/test/resources/index.js +0 -34
- package/serialization/resources/api/resources/test/resources/invoices/client/index.d.ts +0 -1
- package/serialization/resources/api/resources/test/resources/invoices/client/index.js +0 -17
- package/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +0 -12
- package/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +0 -33
- package/serialization/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +0 -1
- package/serialization/resources/api/resources/test/resources/invoices/client/requests/index.js +0 -5
- package/serialization/resources/api/resources/test/resources/invoices/index.d.ts +0 -2
- package/serialization/resources/api/resources/test/resources/invoices/index.js +0 -18
- package/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +0 -16
- package/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +0 -46
- package/serialization/resources/api/resources/test/resources/invoices/types/index.d.ts +0 -1
- package/serialization/resources/api/resources/test/resources/invoices/types/index.js +0 -17
- package/serialization/resources/db/resources/document/index.d.ts +0 -1
- package/serialization/resources/db/resources/document/index.js +0 -17
- package/serialization/resources/db/resources/document/types/FernDocument.d.ts +0 -15
- package/serialization/resources/db/resources/document/types/FernDocument.js +0 -45
- package/serialization/resources/db/resources/document/types/FernDocumentType.d.ts +0 -10
- package/serialization/resources/db/resources/document/types/FernDocumentType.js +0 -31
- package/serialization/resources/db/resources/document/types/FernRecipient.d.ts +0 -15
- package/serialization/resources/db/resources/document/types/FernRecipient.js +0 -45
- package/serialization/resources/db/resources/document/types/FernRole.d.ts +0 -10
- package/serialization/resources/db/resources/document/types/FernRole.js +0 -31
- package/serialization/resources/db/resources/document/types/index.d.ts +0 -4
- package/serialization/resources/db/resources/document/types/index.js +0 -20
- package/serialization/resources/db/resources/payment/index.d.ts +0 -1
- package/serialization/resources/db/resources/payment/index.js +0 -17
- package/serialization/resources/db/resources/payment/resources/index.d.ts +0 -4
- package/serialization/resources/db/resources/payment/resources/index.js +0 -33
- package/serialization/resources/db/resources/payment/resources/invoice/index.d.ts +0 -1
- package/serialization/resources/db/resources/payment/resources/invoice/index.js +0 -17
- package/serialization/resources/db/resources/payment/resources/invoice/types/FernInvoice.d.ts +0 -35
- package/serialization/resources/db/resources/payment/resources/invoice/types/FernInvoice.js +0 -65
- package/serialization/resources/db/resources/payment/resources/invoice/types/FernInvoiceStatus.d.ts +0 -10
- package/serialization/resources/db/resources/payment/resources/invoice/types/FernInvoiceStatus.js +0 -31
- package/serialization/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -2
- package/serialization/resources/db/resources/payment/resources/invoice/types/index.js +0 -18
- package/serialization/resources/db/resources/payment/resources/invoiceType/index.d.ts +0 -1
- package/serialization/resources/db/resources/payment/resources/invoiceType/index.js +0 -17
- package/serialization/resources/db/resources/payment/resources/invoiceType/types/FernInvoiceType.d.ts +0 -10
- package/serialization/resources/db/resources/payment/resources/invoiceType/types/FernInvoiceType.js +0 -31
- package/serialization/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +0 -1
- package/serialization/resources/db/resources/payment/resources/invoiceType/types/index.js +0 -17
@@ -1,34 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
-
}) : function(o, v) {
|
16
|
-
o["default"] = v;
|
17
|
-
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
-
if (mod && mod.__esModule) return mod;
|
20
|
-
var result = {};
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
-
__setModuleDefault(result, mod);
|
23
|
-
return result;
|
24
|
-
};
|
25
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
26
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.invoices = exports.commons = void 0;
|
30
|
-
exports.commons = __importStar(require("./commons"));
|
31
|
-
__exportStar(require("./commons/types"), exports);
|
32
|
-
exports.invoices = __importStar(require("./invoices"));
|
33
|
-
__exportStar(require("./invoices/types"), exports);
|
34
|
-
__exportStar(require("./invoices/client/requests"), exports);
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as core from "../../../../../../../../core";
|
5
|
-
import * as TheraApi from "../../../../../../..";
|
6
|
-
export declare namespace Invoices {
|
7
|
-
interface Options {
|
8
|
-
environment: core.Supplier<string>;
|
9
|
-
token?: core.Supplier<core.BearerToken | undefined>;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
export declare class Invoices {
|
13
|
-
protected readonly _options: Invoices.Options;
|
14
|
-
constructor(_options: Invoices.Options);
|
15
|
-
voidInvoice(invoiceId: TheraApi.api.test.DemoFernInvoiceId, request: TheraApi.api.test.VoidInvoiceRequest): Promise<TheraApi.api.test.DemoFernInvoice>;
|
16
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
17
|
-
}
|
@@ -1,106 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
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
|
-
};
|
37
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
38
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
39
|
-
};
|
40
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
41
|
-
exports.Invoices = void 0;
|
42
|
-
const core = __importStar(require("../../../../../../../../core"));
|
43
|
-
const serializers = __importStar(require("../../../../../../../../serialization"));
|
44
|
-
const url_join_1 = __importDefault(require("url-join"));
|
45
|
-
const errors = __importStar(require("../../../../../../../../errors"));
|
46
|
-
class Invoices {
|
47
|
-
constructor(_options) {
|
48
|
-
this._options = _options;
|
49
|
-
}
|
50
|
-
voidInvoice(invoiceId, request) {
|
51
|
-
return __awaiter(this, void 0, void 0, function* () {
|
52
|
-
const _response = yield core.fetcher({
|
53
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `/demo-fern-invoices/${yield serializers.api.test.DemoFernInvoiceId.jsonOrThrow(invoiceId)}/void`),
|
54
|
-
method: "POST",
|
55
|
-
headers: {
|
56
|
-
Authorization: yield this._getAuthorizationHeader(),
|
57
|
-
"X-Fern-Language": "JavaScript",
|
58
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
59
|
-
"X-Fern-SDK-Version": "0.0.3088",
|
60
|
-
},
|
61
|
-
contentType: "application/json",
|
62
|
-
body: yield serializers.api.test.VoidInvoiceRequest.jsonOrThrow(request, {
|
63
|
-
unrecognizedObjectKeys: "strip",
|
64
|
-
}),
|
65
|
-
timeoutMs: 60000,
|
66
|
-
});
|
67
|
-
if (_response.ok) {
|
68
|
-
return yield serializers.api.test.DemoFernInvoice.parseOrThrow(_response.body, {
|
69
|
-
unrecognizedObjectKeys: "passthrough",
|
70
|
-
allowUnrecognizedUnionMembers: true,
|
71
|
-
allowUnrecognizedEnumValues: true,
|
72
|
-
breadcrumbsPrefix: ["response"],
|
73
|
-
});
|
74
|
-
}
|
75
|
-
if (_response.error.reason === "status-code") {
|
76
|
-
throw new errors.TheraApiError({
|
77
|
-
statusCode: _response.error.statusCode,
|
78
|
-
body: _response.error.body,
|
79
|
-
});
|
80
|
-
}
|
81
|
-
switch (_response.error.reason) {
|
82
|
-
case "non-json":
|
83
|
-
throw new errors.TheraApiError({
|
84
|
-
statusCode: _response.error.statusCode,
|
85
|
-
body: _response.error.rawBody,
|
86
|
-
});
|
87
|
-
case "timeout":
|
88
|
-
throw new errors.TheraApiTimeoutError();
|
89
|
-
case "unknown":
|
90
|
-
throw new errors.TheraApiError({
|
91
|
-
message: _response.error.errorMessage,
|
92
|
-
});
|
93
|
-
}
|
94
|
-
});
|
95
|
-
}
|
96
|
-
_getAuthorizationHeader() {
|
97
|
-
return __awaiter(this, void 0, void 0, function* () {
|
98
|
-
const bearer = yield core.Supplier.get(this._options.token);
|
99
|
-
if (bearer != null) {
|
100
|
-
return `Bearer ${bearer}`;
|
101
|
-
}
|
102
|
-
return undefined;
|
103
|
-
});
|
104
|
-
}
|
105
|
-
}
|
106
|
-
exports.Invoices = Invoices;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./requests";
|
@@ -1,17 +0,0 @@
|
|
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("./requests"), exports);
|
@@ -1 +0,0 @@
|
|
1
|
-
export { VoidInvoiceRequest } from "./VoidInvoiceRequest";
|
@@ -1,18 +0,0 @@
|
|
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);
|
18
|
-
__exportStar(require("./client"), exports);
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as TheraApi from "../../../../../../..";
|
5
|
-
export interface DemoFernInvoice {
|
6
|
-
/** The unique id of invoice. */
|
7
|
-
id: TheraApi.api.test.DemoFernInvoiceId;
|
8
|
-
contractId: TheraApi.api.test.DemoFernContractId;
|
9
|
-
stripePaymentIntentId: string;
|
10
|
-
/** A shorter ID that clients can more easily reference. */
|
11
|
-
displayId: string;
|
12
|
-
/** Number of hours worked in this pay period. Should be present iff the contract is hourly. */
|
13
|
-
hours: number;
|
14
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./DemoFernInvoice";
|
@@ -1,17 +0,0 @@
|
|
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("./DemoFernInvoice"), exports);
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./types";
|
@@ -1,17 +0,0 @@
|
|
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);
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as TheraApi from "../../../../..";
|
5
|
-
export interface FernDocument {
|
6
|
-
id: string;
|
7
|
-
recipients: TheraApi.db.FernRecipient[];
|
8
|
-
type: TheraApi.db.FernDocumentType;
|
9
|
-
complete: boolean;
|
10
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.FernDocumentType = void 0;
|
7
|
-
exports.FernDocumentType = {
|
8
|
-
ContractorContract: "CONTRACTOR_CONTRACT",
|
9
|
-
};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.FernRole = void 0;
|
7
|
-
exports.FernRole = {
|
8
|
-
Company: "COMPANY",
|
9
|
-
Contractor: "CONTRACTOR",
|
10
|
-
};
|
@@ -1,20 +0,0 @@
|
|
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("./FernRole"), exports);
|
18
|
-
__exportStar(require("./FernDocumentType"), exports);
|
19
|
-
__exportStar(require("./FernRecipient"), exports);
|
20
|
-
__exportStar(require("./FernDocument"), exports);
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./resources";
|
@@ -1,17 +0,0 @@
|
|
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);
|
@@ -1,33 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
-
}) : function(o, v) {
|
16
|
-
o["default"] = v;
|
17
|
-
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
-
if (mod && mod.__esModule) return mod;
|
20
|
-
var result = {};
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
-
__setModuleDefault(result, mod);
|
23
|
-
return result;
|
24
|
-
};
|
25
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
26
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.invoice = exports.invoiceType = void 0;
|
30
|
-
exports.invoiceType = __importStar(require("./invoiceType"));
|
31
|
-
__exportStar(require("./invoiceType/types"), exports);
|
32
|
-
exports.invoice = __importStar(require("./invoice"));
|
33
|
-
__exportStar(require("./invoice/types"), exports);
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./types";
|
@@ -1,17 +0,0 @@
|
|
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);
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as TheraApi from "../../../../../../..";
|
5
|
-
export interface FernInvoice {
|
6
|
-
id: string;
|
7
|
-
contractId: string;
|
8
|
-
stripePaymentIntentId: string;
|
9
|
-
displayId: string;
|
10
|
-
hours: number;
|
11
|
-
rate: number;
|
12
|
-
amount: number;
|
13
|
-
subscriptionChargeAmount: number;
|
14
|
-
currency: string;
|
15
|
-
actualPaymentAmount: number;
|
16
|
-
actualPaymentCurrency: string;
|
17
|
-
createdByUserId: string;
|
18
|
-
creationTimestamp: number;
|
19
|
-
paymentTimestamp: number;
|
20
|
-
terminationTimestamp: number;
|
21
|
-
startDate: string;
|
22
|
-
endDate: string;
|
23
|
-
status: TheraApi.db.payment.FernInvoiceStatus;
|
24
|
-
voiderUserId: string;
|
25
|
-
voidReason: string;
|
26
|
-
type: TheraApi.db.payment.FernInvoiceType;
|
27
|
-
destinationCharge: boolean;
|
28
|
-
fastPayment: boolean;
|
29
|
-
milestoneId: string;
|
30
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
export declare type FernInvoiceStatus = "OPEN" | "PROCESSING" | "REQUIRES_ACTION" | "FAILED" | "SUCCEEDED" | "VOID";
|
5
|
-
export declare const FernInvoiceStatus: {
|
6
|
-
readonly Open: "OPEN";
|
7
|
-
readonly Processing: "PROCESSING";
|
8
|
-
readonly RequiresAction: "REQUIRES_ACTION";
|
9
|
-
readonly Failed: "FAILED";
|
10
|
-
readonly Succeeded: "SUCCEEDED";
|
11
|
-
readonly Void: "VOID";
|
12
|
-
};
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.FernInvoiceStatus = void 0;
|
7
|
-
exports.FernInvoiceStatus = {
|
8
|
-
Open: "OPEN",
|
9
|
-
Processing: "PROCESSING",
|
10
|
-
RequiresAction: "REQUIRES_ACTION",
|
11
|
-
Failed: "FAILED",
|
12
|
-
Succeeded: "SUCCEEDED",
|
13
|
-
Void: "VOID",
|
14
|
-
};
|
@@ -1,18 +0,0 @@
|
|
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("./FernInvoiceStatus"), exports);
|
18
|
-
__exportStar(require("./FernInvoice"), exports);
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./types";
|
@@ -1,17 +0,0 @@
|
|
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);
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
export declare type FernInvoiceType = "MONTHLY" | "HOURLY" | "MILESTONE" | "EXPENSE";
|
5
|
-
export declare const FernInvoiceType: {
|
6
|
-
readonly Monthly: "MONTHLY";
|
7
|
-
readonly Hourly: "HOURLY";
|
8
|
-
readonly Milestone: "MILESTONE";
|
9
|
-
readonly Expense: "EXPENSE";
|
10
|
-
};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.FernInvoiceType = void 0;
|
7
|
-
exports.FernInvoiceType = {
|
8
|
-
Monthly: "MONTHLY",
|
9
|
-
Hourly: "HOURLY",
|
10
|
-
Milestone: "MILESTONE",
|
11
|
-
Expense: "EXPENSE",
|
12
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./FernInvoiceType";
|